fix: [Feature] 支持使用 /workspacelist 序号切换工作区 (#87)

This commit is contained in:
yusuke8h 2026-09-01 12:29:05 +09:00
parent 840e5aa857
commit 91f49a603b
12 changed files with 49 additions and 23 deletions

View file

@ -120,7 +120,8 @@ export default {
'{label}机器人已连接 DeepSeek Harness。': 'The {label} bot is connected to DeepSeek Harness.',
'/new 开启一个全新会话': '/new Start a brand-new session',
'/compact 压缩当前会话的较早上下文': '/compact Compact the earlier context of the current session',
'/workspace 工作区绝对路径 切换工作区': '/workspace <absolute workspace path> Switch workspace',
'/workspace 工作区序号或绝对路径 切换工作区':
'/workspace <workspace index or absolute path> Switch workspace',
'/workspacelist 列出工作区绝对路径': '/workspacelist List absolute workspace paths',
'/sessionlist [工作区序号或绝对路径] 列出会话 ID 和标题':
'/sessionlist [workspace index or absolute path] List session IDs and titles',

View file

@ -17,7 +17,8 @@ export default {
'当前 Harness Host 上存在的工作区({count}):':
'Workspaces on the current Harness Host ({count}):',
'(当前)': '(current)',
'切换用法:/workspace 工作区绝对路径': 'To switch: /workspace Workspace absolute path',
'切换用法:/workspace 工作区序号或绝对路径':
'To switch: /workspace Workspace index or absolute path',
'查看会话:/sessionlist 工作区序号或绝对路径':
'To view Sessions: /sessionlist Workspace index or absolute path',
'机器人正在移除或已重新接入,无法列出原会话的工作区。':
@ -80,10 +81,12 @@ export default {
'归档:{archived}': 'Archived: {archived}',
'是': 'Yes',
'否': 'No',
'用法:/workspace 工作区绝对路径': 'Usage: /workspace Workspace absolute path',
'用法:/workspace 工作区序号或绝对路径':
'Usage: /workspace Workspace index or absolute path',
'当前机器人暂不支持切换工作区。': 'This bot does not support switching Workspaces yet.',
'工作区已切换为:{workspace}': 'Workspace switched to: {workspace}',
'{message}\n用法:/workspace 工作区绝对路径': '{message}\nUsage: /workspace Workspace absolute path',
'{message}\n用法:/workspace 工作区序号或绝对路径':
'{message}\nUsage: /workspace Workspace index or absolute path',
'机器人正在移除或已重新接入,无法切换原会话的工作区。':
'The bot is being removed or has been reconnected; cannot switch the Workspace of the original Session.',