claude-ws 0.3.97 → 0.3.99
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/locales/de.json +374 -12
- package/locales/en.json +374 -12
- package/locales/es.json +398 -11
- package/locales/fr.json +398 -11
- package/locales/ja.json +398 -11
- package/locales/ko.json +398 -11
- package/locales/vi.json +374 -12
- package/locales/zh.json +398 -11
- package/package.json +1 -1
- package/server.ts +283 -6
- package/src/app/[locale]/not-found.tsx +6 -3
- package/src/app/[locale]/page.tsx +14 -4
- package/src/app/api/attempts/[id]/workflow/route.ts +76 -0
- package/src/app/api/questions/answer/route.ts +58 -0
- package/src/app/api/questions/route.ts +68 -0
- package/src/app/api/tasks/[id]/compact/route.ts +62 -0
- package/src/components/access-anywhere/api-access-key-setup-modal.tsx +2 -2
- package/src/components/access-anywhere/tunnel-settings-dialog.tsx +6 -6
- package/src/components/access-anywhere/wizard-step-ctunnel.tsx +8 -8
- package/src/components/agent-factory/dependency-tree.tsx +5 -3
- package/src/components/agent-factory/discovery-dialog.tsx +26 -22
- package/src/components/agent-factory/plugin-detail-dialog.tsx +41 -38
- package/src/components/agent-factory/plugin-form-dialog.tsx +23 -20
- package/src/components/agent-factory/plugin-list.tsx +20 -17
- package/src/components/agent-factory/upload-dialog.tsx +17 -14
- package/src/components/auth/agent-provider-dialog.tsx +67 -65
- package/src/components/auth/api-key-dialog.tsx +14 -11
- package/src/components/auth/auth-error-message.tsx +6 -3
- package/src/components/editor/code-editor-with-inline-edit.tsx +4 -2
- package/src/components/editor/file-diff-resolver-modal.tsx +31 -26
- package/src/components/editor/inline-edit-dialog.tsx +9 -6
- package/src/components/editor/selection-mention-popup.tsx +3 -1
- package/src/components/header/project-selector.tsx +7 -4
- package/src/components/header.tsx +70 -4
- package/src/components/kanban/column.tsx +11 -0
- package/src/components/kanban/task-card.tsx +70 -4
- package/src/components/project-settings/component-selector.tsx +3 -1
- package/src/components/project-settings/plugin-upload-dialog.tsx +7 -5
- package/src/components/project-settings/project-settings-dialog.tsx +5 -3
- package/src/components/questions/questions-panel.tsx +136 -0
- package/src/components/settings/folder-browser-dialog.tsx +29 -25
- package/src/components/settings/settings-page.tsx +64 -18
- package/src/components/settings/setup-dialog.tsx +26 -23
- package/src/components/setup/unified-setup-wizard.tsx +12 -9
- package/src/components/sidebar/file-browser/file-create-buttons.tsx +7 -3
- package/src/components/sidebar/file-browser/file-tab-content.tsx +19 -15
- package/src/components/sidebar/file-browser/file-tabs-panel.tsx +7 -4
- package/src/components/sidebar/file-browser/file-tree.tsx +3 -1
- package/src/components/sidebar/git-changes/branch-checkout-modal.tsx +6 -4
- package/src/components/sidebar/git-changes/commit-details-modal.tsx +5 -3
- package/src/components/sidebar/git-changes/diff-tabs-panel.tsx +3 -1
- package/src/components/sidebar/git-changes/git-file-item.tsx +8 -6
- package/src/components/sidebar/git-changes/git-graph.tsx +8 -5
- package/src/components/sidebar/git-changes/git-panel.tsx +28 -27
- package/src/components/sidebar/git-changes/git-section.tsx +5 -3
- package/src/components/sidebar/shells/shell-panel.tsx +3 -1
- package/src/components/task/attachment-bar.tsx +4 -1
- package/src/components/task/attempt-item.tsx +7 -5
- package/src/components/task/conversation-view.tsx +21 -13
- package/src/components/task/floating-chat-window.tsx +14 -5
- package/src/components/task/interactive-command/checkpoint-list.tsx +5 -3
- package/src/components/task/interactive-command/confirm-dialog.tsx +9 -4
- package/src/components/task/interactive-command/interactive-command-overlay.tsx +23 -9
- package/src/components/task/interactive-command/question-prompt.tsx +12 -8
- package/src/components/task/pending-question-indicator.tsx +5 -3
- package/src/components/task/prompt-input.tsx +1 -1
- package/src/components/task/shell-log-view.tsx +3 -1
- package/src/components/task/status-line.tsx +84 -23
- package/src/components/task/task-detail-panel.tsx +27 -27
- package/src/components/task/task-shell-indicator.tsx +10 -6
- package/src/components/terminal/terminal-context-menu.tsx +6 -4
- package/src/components/terminal/terminal-instance.tsx +11 -3
- package/src/components/terminal/terminal-panel.tsx +6 -3
- package/src/components/terminal/terminal-shortcut-bar.tsx +3 -1
- package/src/components/terminal/terminal-tab-bar.tsx +5 -3
- package/src/components/workflow/workflow-panel.tsx +181 -0
- package/src/hooks/use-attempt-stream.ts +96 -3
- package/src/lib/agent-manager.ts +89 -3
- package/src/lib/db/index.ts +18 -0
- package/src/lib/db/schema.ts +29 -0
- package/src/lib/process-manager.ts +28 -7
- package/src/lib/session-manager.ts +60 -0
- package/src/lib/usage-tracker.ts +19 -19
- package/src/lib/workflow-tracker.ts +118 -20
- package/src/stores/questions-store.ts +76 -0
- package/src/stores/workflow-store.ts +71 -0
package/locales/zh.json
CHANGED
|
@@ -37,7 +37,38 @@
|
|
|
37
37
|
"newTask": "新任务",
|
|
38
38
|
"agentFactory": "Agent Factory",
|
|
39
39
|
"agentProvider": "Agent Provider",
|
|
40
|
-
"accessAnywhere": "随处访问"
|
|
40
|
+
"accessAnywhere": "随处访问",
|
|
41
|
+
"unsavedChangesConfirm": "\"{fileName}\"有未保存的更改。仍然关闭吗?",
|
|
42
|
+
"paste": "粘贴",
|
|
43
|
+
"clearTerminal": "清除终端",
|
|
44
|
+
"configured": "已配置",
|
|
45
|
+
"default": "默认",
|
|
46
|
+
"noProjectsConfigured": "未配置项目",
|
|
47
|
+
"setUpProject": "设置项目",
|
|
48
|
+
"loadingApp": "正在加载 Claude.WS",
|
|
49
|
+
"allProjects": "所有项目",
|
|
50
|
+
"noProjectsYet": "暂无项目",
|
|
51
|
+
"selectProject": "选择项目",
|
|
52
|
+
"clearSearch": "清除搜索",
|
|
53
|
+
"no": "否",
|
|
54
|
+
"yes": "是",
|
|
55
|
+
"browse": "浏览",
|
|
56
|
+
"creating": "正在创建...",
|
|
57
|
+
"opening": "正在打开...",
|
|
58
|
+
"saving": "正在保存...",
|
|
59
|
+
"verifying": "正在验证...",
|
|
60
|
+
"generating": "正在生成...",
|
|
61
|
+
"scanning": "正在扫描...",
|
|
62
|
+
"importing": "正在导入...",
|
|
63
|
+
"checking": "正在检查...",
|
|
64
|
+
"renaming": "正在重命名...",
|
|
65
|
+
"rename": "重命名",
|
|
66
|
+
"new": "新建",
|
|
67
|
+
"refresh": "刷新",
|
|
68
|
+
"discover": "发现",
|
|
69
|
+
"upload": "上传",
|
|
70
|
+
"create": "创建",
|
|
71
|
+
"editTitle": "编辑标题"
|
|
41
72
|
},
|
|
42
73
|
"header": {
|
|
43
74
|
"projects": "项目",
|
|
@@ -76,7 +107,9 @@
|
|
|
76
107
|
"messageRequired": "消息是必填项",
|
|
77
108
|
"pleaseSelectProject": "请选择一个项目",
|
|
78
109
|
"waitFileUpload": "请等待文件上传完成",
|
|
79
|
-
"failedToCreate": "创建任务失败"
|
|
110
|
+
"failedToCreate": "创建任务失败",
|
|
111
|
+
"dragToReorder": "拖动以重新排序",
|
|
112
|
+
"deleteTask": "删除任务"
|
|
80
113
|
},
|
|
81
114
|
"task": {
|
|
82
115
|
"title": "标题",
|
|
@@ -95,7 +128,35 @@
|
|
|
95
128
|
"runAgain": "再次运行",
|
|
96
129
|
"viewDiff": "查看差异",
|
|
97
130
|
"checkpoint": "检查点",
|
|
98
|
-
"restore": "恢复"
|
|
131
|
+
"restore": "恢复",
|
|
132
|
+
"noAttemptRunning": "没有正在运行的尝试。发送消息以开始。",
|
|
133
|
+
"waitingForTracking": "等待跟踪数据...",
|
|
134
|
+
"tokens": "令牌",
|
|
135
|
+
"turn": "轮",
|
|
136
|
+
"turns": "轮",
|
|
137
|
+
"file": "文件",
|
|
138
|
+
"files": "文件",
|
|
139
|
+
"questionsPending": "{count} 个问题待处理",
|
|
140
|
+
"moreQuestions": "+{count} 个更多问题",
|
|
141
|
+
"open": "打开",
|
|
142
|
+
"stopShell": "停止 shell (K)",
|
|
143
|
+
"runningBackgroundTasks": "{count} 个后台任务运行中",
|
|
144
|
+
"navigateHint": "导航",
|
|
145
|
+
"viewLogsHint": "查看日志",
|
|
146
|
+
"killHint": "终止",
|
|
147
|
+
"closeHint": "关闭",
|
|
148
|
+
"loadingQuestion": "加载问题...",
|
|
149
|
+
"statusRunning": "运行中",
|
|
150
|
+
"statusCompleted": "已完成",
|
|
151
|
+
"statusFailed": "失败",
|
|
152
|
+
"statusCancelled": "已取消",
|
|
153
|
+
"deleteTaskConfirm": "删除任务 \"{title}\"?",
|
|
154
|
+
"dragToReorder": "拖动以重新排序",
|
|
155
|
+
"submitAnswers": "提交答案",
|
|
156
|
+
"reviewAnswers": "检查你的答案",
|
|
157
|
+
"notAllAnswered": "你还没有回答所有问题",
|
|
158
|
+
"readyToSubmit": "准备提交你的答案?",
|
|
159
|
+
"typeSomething": "输入内容。"
|
|
99
160
|
},
|
|
100
161
|
"editor": {
|
|
101
162
|
"openFile": "打开文件",
|
|
@@ -105,7 +166,55 @@
|
|
|
105
166
|
"find": "查找",
|
|
106
167
|
"replace": "替换",
|
|
107
168
|
"format": "格式化",
|
|
108
|
-
"toggleWordWrap": "切换自动换行"
|
|
169
|
+
"toggleWordWrap": "切换自动换行",
|
|
170
|
+
"closeAllTabs": "关闭所有标签",
|
|
171
|
+
"searchPlaceholder": "搜索...",
|
|
172
|
+
"previousMatch": "上一个",
|
|
173
|
+
"nextMatch": "下一个",
|
|
174
|
+
"undo": "撤销",
|
|
175
|
+
"redo": "重做",
|
|
176
|
+
"showSourceCode": "显示源代码",
|
|
177
|
+
"showPreview": "显示预览",
|
|
178
|
+
"export": "导出",
|
|
179
|
+
"checkingForChanges": "正在检查更改...",
|
|
180
|
+
"externalChangesDetected": "检测到外部更改 - 点击解决",
|
|
181
|
+
"addLinesToChat": "将L{startLine}-{endLine}行添加到聊天",
|
|
182
|
+
"addFileToChat": "将文件添加到聊天",
|
|
183
|
+
"fileChangedExternally": "文件被外部修改",
|
|
184
|
+
"hasBeenModified": "已在磁盘上被修改。点击",
|
|
185
|
+
"toInsertRemoteLines": "以将远程行插入您的版本。",
|
|
186
|
+
"differences": "差异:",
|
|
187
|
+
"newInRemote": "远程新增",
|
|
188
|
+
"onlyInLocal": "仅在本地",
|
|
189
|
+
"filesIdentical": "文件内容相同",
|
|
190
|
+
"modifiedFromOriginal": "已从原始内容修改",
|
|
191
|
+
"local": "本地",
|
|
192
|
+
"modified": "(已修改)",
|
|
193
|
+
"copyLocalContent": "复制本地内容",
|
|
194
|
+
"remoteDisk": "远程(磁盘)",
|
|
195
|
+
"copyRemoteContent": "复制远程内容",
|
|
196
|
+
"keepLocalOnly": "仅保留本地",
|
|
197
|
+
"acceptRemoteOnly": "仅接受远程",
|
|
198
|
+
"applyMerged": "应用合并",
|
|
199
|
+
"lineInserted": "已插入带标记的行",
|
|
200
|
+
"linesInserted": "已插入 {count} 行(带标记)",
|
|
201
|
+
"deletionMarkersInserted": "已插入删除标记",
|
|
202
|
+
"deletionMarkerInserted": "已插入删除标记",
|
|
203
|
+
"keptLocalChanges": "已保留本地更改",
|
|
204
|
+
"acceptedRemoteChanges": "已接受远程更改",
|
|
205
|
+
"appliedMergedChanges": "已应用合并更改",
|
|
206
|
+
"copiedToClipboard": "已复制 {label} 到剪贴板",
|
|
207
|
+
"linesInRemote": "远程有 {count} 行",
|
|
208
|
+
"insertAllLines": "插入全部 {count} 行",
|
|
209
|
+
"linesDeletedInRemote": "远程已删除 {count} 行",
|
|
210
|
+
"markAsDeleted": "标记为已删除",
|
|
211
|
+
"insertLineIntoLocal": "将此行插入本地",
|
|
212
|
+
"selectTaskFirst": "请先选择一个任务以添加上下文",
|
|
213
|
+
"accept": "接受",
|
|
214
|
+
"reject": "拒绝",
|
|
215
|
+
"describeChange": "描述您想要的更改...",
|
|
216
|
+
"error": "错误",
|
|
217
|
+
"addMoreFiles": "添加更多文件"
|
|
109
218
|
},
|
|
110
219
|
"sidebar": {
|
|
111
220
|
"files": "文件",
|
|
@@ -205,7 +314,40 @@
|
|
|
205
314
|
"noChangesToCommit": "没有要提交的更改",
|
|
206
315
|
"noChanges": "无更改",
|
|
207
316
|
"enterCommitMessage": "输入提交信息",
|
|
208
|
-
"staged": "已暂存"
|
|
317
|
+
"staged": "已暂存",
|
|
318
|
+
"discardChangesConfirm": "丢弃对 {filePath} 的更改?",
|
|
319
|
+
"discardAllConfirm": "丢弃所有更改?此操作无法撤销!",
|
|
320
|
+
"failedToAddGitignore": "添加到 .gitignore 失败",
|
|
321
|
+
"failedToCommit": "提交失败",
|
|
322
|
+
"failedToGenerateCommit": "生成提交信息失败",
|
|
323
|
+
"failedToPush": "推送更改失败",
|
|
324
|
+
"failedToFetchBranches": "获取分支失败",
|
|
325
|
+
"clickToSwitchBranches": "点击切换分支",
|
|
326
|
+
"noBranch": "无分支",
|
|
327
|
+
"changes": "更改",
|
|
328
|
+
"discardAllChanges": "丢弃所有更改",
|
|
329
|
+
"stageAllChanges": "暂存所有更改",
|
|
330
|
+
"unstageAllChanges": "取消暂存所有更改",
|
|
331
|
+
"commitTitle": "提交标题",
|
|
332
|
+
"descriptionOptional": "描述(可选)",
|
|
333
|
+
"syncChanges": "同步更改",
|
|
334
|
+
"commitChanges": "提交更改",
|
|
335
|
+
"noChangesToGenerate": "没有可生成提交信息的更改",
|
|
336
|
+
"generateCommitMessage": "使用 AI 生成提交信息",
|
|
337
|
+
"workingTreeClean": "工作树干净",
|
|
338
|
+
"addToGitignore": "添加到 .gitignore",
|
|
339
|
+
"unstageChanges": "取消暂存更改",
|
|
340
|
+
"discardChanges": "丢弃更改",
|
|
341
|
+
"stageChanges": "暂存更改",
|
|
342
|
+
"showAllBranches": "显示所有分支",
|
|
343
|
+
"showCurrentBranchOnly": "仅显示当前分支",
|
|
344
|
+
"fetch": "拉取",
|
|
345
|
+
"searchBranches": "搜索分支...",
|
|
346
|
+
"copyFullHash": "复制完整哈希值",
|
|
347
|
+
"checkoutCommit": "检出此提交(分离 HEAD 状态)",
|
|
348
|
+
"createBranchFromCommit": "从此提交创建新分支",
|
|
349
|
+
"closeAllTabs": "关闭所有标签",
|
|
350
|
+
"newFile": "新建"
|
|
209
351
|
},
|
|
210
352
|
"settings": {
|
|
211
353
|
"title": "设置",
|
|
@@ -222,14 +364,73 @@
|
|
|
222
364
|
"agentFactory": "Agent Factory",
|
|
223
365
|
"plugins": "插件",
|
|
224
366
|
"installPlugin": "安装插件",
|
|
225
|
-
"managePlugins": "管理插件"
|
|
367
|
+
"managePlugins": "管理插件",
|
|
368
|
+
"createFailed": "创建失败",
|
|
369
|
+
"manageSettings": "管理您的项目设置和偏好。",
|
|
370
|
+
"currentProject": "当前项目",
|
|
371
|
+
"claudeApiConfig": "Claude API 配置",
|
|
372
|
+
"providerConfigured": "已配置 Provider",
|
|
373
|
+
"noProviderConfigured": "未配置 Provider",
|
|
374
|
+
"configure": "配置",
|
|
375
|
+
"apiAccessKey": "API 访问密钥",
|
|
376
|
+
"remoteAccessAuth": "远程访问身份验证",
|
|
377
|
+
"apiKeyConfigured": "已配置 API 访问密钥",
|
|
378
|
+
"noApiKeyConfigured": "未配置 API 访问密钥",
|
|
379
|
+
"setUpProject": "设置项目",
|
|
380
|
+
"selectExistingDescription": "选择一个现有项目文件夹以打开。",
|
|
381
|
+
"configureNewDescription": "配置一个项目文件夹以与 Claude Code 一起使用。",
|
|
382
|
+
"openExisting": "打开现有项目",
|
|
383
|
+
"createNew": "创建新项目",
|
|
384
|
+
"projectFolder": "项目文件夹",
|
|
385
|
+
"openProject": "打开项目",
|
|
386
|
+
"rootFolder": "根目录",
|
|
387
|
+
"createProject": "创建项目",
|
|
388
|
+
"projectNameRequired": "项目名称为必填项",
|
|
389
|
+
"rootFolderRequired": "根目录为必填项",
|
|
390
|
+
"projectNameAlphanumeric": "项目名称必须包含至少一个字母或数字字符",
|
|
391
|
+
"projectPathRequired": "项目路径为必填项",
|
|
392
|
+
"enterAbsolutePath": "请输入绝对路径",
|
|
393
|
+
"autoDetected": "(自动检测)",
|
|
394
|
+
"folderNameHint": "这将作为项目文件夹名称",
|
|
395
|
+
"selectParentFolder": "选择项目将在其中创建的父文件夹",
|
|
396
|
+
"projectCreatedAt": "项目将创建于:",
|
|
397
|
+
"selectFolder": "选择文件夹",
|
|
398
|
+
"navigateAndSelect": "导航并选择您的项目文件夹",
|
|
399
|
+
"up": "上级",
|
|
400
|
+
"home": "主目录",
|
|
401
|
+
"noSubdirectories": "无子目录",
|
|
402
|
+
"renameFolderTitle": "重命名文件夹",
|
|
403
|
+
"selectThisFolder": "选择此文件夹",
|
|
404
|
+
"createNewFolder": "创建新文件夹",
|
|
405
|
+
"enterFolderNameIn": "在以下位置输入新文件夹名称",
|
|
406
|
+
"folderName": "文件夹名称",
|
|
407
|
+
"renameFolder": "重命名文件夹",
|
|
408
|
+
"enterNewNameFor": "输入新名称",
|
|
409
|
+
"newName": "新名称",
|
|
410
|
+
"folderCreated": "文件夹已创建",
|
|
411
|
+
"folderRenamed": "文件夹已重命名",
|
|
412
|
+
"renameFailed": "重命名失败",
|
|
413
|
+
"setUpWorkspace": "设置您的工作区",
|
|
414
|
+
"setUpWorkspaceDescription": "配置您工作区的基本设置。您可以随时在设置中更改这些内容。",
|
|
415
|
+
"configureAuthDescription": "配置 Claude API 的身份验证方式",
|
|
416
|
+
"setUpRemoteAccess": "为远程访问设置身份验证",
|
|
417
|
+
"projectSettings": "项目设置",
|
|
418
|
+
"noProjectsAvailable": "没有可用的项目"
|
|
226
419
|
},
|
|
227
420
|
"auth": {
|
|
228
421
|
"apiKeyRequired": "需要 API 密钥",
|
|
229
422
|
"enterApiKey": "输入您的 API 密钥以继续",
|
|
230
423
|
"apiKey": "API 密钥",
|
|
231
424
|
"verify": "验证",
|
|
232
|
-
"invalidApiKey": "无效的 API 密钥"
|
|
425
|
+
"invalidApiKey": "无效的 API 密钥",
|
|
426
|
+
"apiKeyIsRequired": "API 密钥为必填项",
|
|
427
|
+
"failedToVerifyApiKey": "验证 API 密钥失败",
|
|
428
|
+
"serverRequiresApiKey": "此服务器需要 API 密钥才能访问。请输入您的密钥以继续。",
|
|
429
|
+
"enterYourApiKey": "输入您的 API 密钥",
|
|
430
|
+
"apiKeyStoredLocally": "您的 API 密钥将本地存储在浏览器中",
|
|
431
|
+
"pressEnterOrSubmit": "按 Enter 或点击提交以验证",
|
|
432
|
+
"authenticationError": "身份验证错误",
|
|
433
|
+
"configAgentProvider": "配置 Agent Provider"
|
|
233
434
|
},
|
|
234
435
|
"agentFactory": {
|
|
235
436
|
"title": "代理工厂",
|
|
@@ -242,7 +443,88 @@
|
|
|
242
443
|
"viewFiles": "查看文件",
|
|
243
444
|
"compare": "比较",
|
|
244
445
|
"import": "导入",
|
|
245
|
-
"export": "导出"
|
|
446
|
+
"export": "导出",
|
|
447
|
+
"description": "这是您的插件池。要将插件安装到特定项目,请前往项目设置并选择要安装的插件。",
|
|
448
|
+
"searchPlugins": "搜索插件...",
|
|
449
|
+
"loadingPlugins": "正在加载插件...",
|
|
450
|
+
"noDescription": "暂无描述",
|
|
451
|
+
"noPluginsFound": "未找到插件",
|
|
452
|
+
"adjustFilters": "尝试调整筛选条件或搜索词",
|
|
453
|
+
"getStartedDiscover": "从发现现有插件或创建新插件开始",
|
|
454
|
+
"deletePluginConfirm": "您确定要删除此插件吗?",
|
|
455
|
+
"skills": "技能",
|
|
456
|
+
"commands": "命令",
|
|
457
|
+
"agents": "代理",
|
|
458
|
+
"agentSets": "代理集",
|
|
459
|
+
"all": "全部",
|
|
460
|
+
"discoverPlugins": "发现插件",
|
|
461
|
+
"scanDescription": "扫描您的文件系统以查找现有 Claude 插件并将其导入 Agent Factory。",
|
|
462
|
+
"clickScanToSearch": "点击扫描按钮搜索插件",
|
|
463
|
+
"scan": "扫描",
|
|
464
|
+
"scanningForPlugins": "正在扫描插件...",
|
|
465
|
+
"noPluginsFoundScan": "在 /skills、/commands 或 /agents 中未找到插件",
|
|
466
|
+
"rescan": "重新扫描",
|
|
467
|
+
"pluginsFound": "个插件已找到",
|
|
468
|
+
"newStatus": "新",
|
|
469
|
+
"updates": "有更新",
|
|
470
|
+
"current": "最新",
|
|
471
|
+
"importAll": "全部导入",
|
|
472
|
+
"importSelected": "导入已选择的 {count} 个",
|
|
473
|
+
"editPlugin": "编辑插件",
|
|
474
|
+
"createNewPlugin": "创建新插件",
|
|
475
|
+
"updatePluginDescription": "在下方更新插件详情。",
|
|
476
|
+
"addPluginDescription": "向 Agent Factory 注册表添加新插件。",
|
|
477
|
+
"type": "类型",
|
|
478
|
+
"skill": "技能",
|
|
479
|
+
"command": "命令",
|
|
480
|
+
"agent": "代理",
|
|
481
|
+
"name": "名称",
|
|
482
|
+
"pluginName": "插件名称",
|
|
483
|
+
"pluginDescription": "插件的简要描述",
|
|
484
|
+
"sourcePath": "源路径",
|
|
485
|
+
"pathAutoGenerated": "路径将根据插件类型和名称自动生成",
|
|
486
|
+
"storageType": "存储类型",
|
|
487
|
+
"local": "本地",
|
|
488
|
+
"imported": "已导入",
|
|
489
|
+
"external": "外部",
|
|
490
|
+
"update": "更新",
|
|
491
|
+
"details": "详情",
|
|
492
|
+
"files": "文件",
|
|
493
|
+
"noFilesFound": "未找到文件",
|
|
494
|
+
"reResolve": "重新解析",
|
|
495
|
+
"reResolving": "正在重新解析...",
|
|
496
|
+
"noDependenciesFound": "未找到依赖项",
|
|
497
|
+
"libraryDependencies": "库依赖项",
|
|
498
|
+
"noExternalLibraries": "未找到外部库",
|
|
499
|
+
"installScripts": "安装脚本",
|
|
500
|
+
"pluginDependencies": "插件依赖项",
|
|
501
|
+
"noPluginDependencies": "未找到插件依赖项",
|
|
502
|
+
"circularDependencies": "检测到循环依赖",
|
|
503
|
+
"discovered": "已发现",
|
|
504
|
+
"pluginDetails": "插件详情与文件",
|
|
505
|
+
"discoveredPluginDetails": "发现的插件详情与文件",
|
|
506
|
+
"metadata": "元数据",
|
|
507
|
+
"storage": "存储:",
|
|
508
|
+
"failedToLoadFiles": "加载文件失败",
|
|
509
|
+
"failedToLoadFile": "加载文件失败",
|
|
510
|
+
"failedToLoadDependencies": "加载依赖项失败",
|
|
511
|
+
"failedToReResolveDependencies": "重新解析依赖项失败",
|
|
512
|
+
"failedToAnalyzeDependencies": "分析依赖项失败",
|
|
513
|
+
"failedToUninstallComponent": "卸载组件失败",
|
|
514
|
+
"cycle": "循环",
|
|
515
|
+
"missing": "缺失",
|
|
516
|
+
"maxDepth": "最大深度",
|
|
517
|
+
"confirmImport": "确认导入",
|
|
518
|
+
"importFromArchive": "从压缩包导入插件",
|
|
519
|
+
"analyzingArchive": "正在分析压缩包...",
|
|
520
|
+
"clickToUploadOrDrag": "点击上传或拖放",
|
|
521
|
+
"supportedFormats": ".zip、.tar、.gz、.gzip 或 .tgz 文件",
|
|
522
|
+
"invalidFileType": "文件类型无效。请上传 .zip、.tar、.gz、.gzip 或 .tgz 文件。",
|
|
523
|
+
"automaticOrganization": "自动组织:",
|
|
524
|
+
"itemsToImport": "待导入项目",
|
|
525
|
+
"archiveAnalyzed": "压缩包分析成功。点击导入以将这些插件添加到您的 Agent Factory。",
|
|
526
|
+
"importingPlugins": "正在导入插件...",
|
|
527
|
+
"importGlobally": "全局导入"
|
|
246
528
|
},
|
|
247
529
|
"shells": {
|
|
248
530
|
"newShell": "新建 Shell",
|
|
@@ -250,7 +532,17 @@
|
|
|
250
532
|
"exited": "已退出",
|
|
251
533
|
"restart": "重启",
|
|
252
534
|
"kill": "终止",
|
|
253
|
-
"clearOutput": "清除输出"
|
|
535
|
+
"clearOutput": "清除输出",
|
|
536
|
+
"creatingTerminal": "正在创建终端...",
|
|
537
|
+
"failedToCreateTerminal": "创建终端失败",
|
|
538
|
+
"copiedToClipboard": "已复制到剪贴板",
|
|
539
|
+
"failedToCopy": "复制失败",
|
|
540
|
+
"stopShell": "停止Shell",
|
|
541
|
+
"selectionMode": "选择模式",
|
|
542
|
+
"newTerminal": "新建终端",
|
|
543
|
+
"sendCtrlC": "发送 Ctrl+C (SIGINT)",
|
|
544
|
+
"closePanel": "关闭面板",
|
|
545
|
+
"clipboardDenied": "剪贴板访问被拒绝——在移动设备上请使用快捷栏的粘贴按钮"
|
|
254
546
|
},
|
|
255
547
|
"chat": {
|
|
256
548
|
"taskCompleted": "任务完成!",
|
|
@@ -289,7 +581,71 @@
|
|
|
289
581
|
"commandsHint": "命令",
|
|
290
582
|
"filesHint": "文件",
|
|
291
583
|
"pasteImageHint": "粘贴图片",
|
|
292
|
-
"cancelled": "已取消"
|
|
584
|
+
"cancelled": "已取消",
|
|
585
|
+
"detachToFloating": "分离为浮动窗口",
|
|
586
|
+
"maximizeToPanel": "最大化为面板",
|
|
587
|
+
"clearConversation": "清除对话",
|
|
588
|
+
"clearConversationConfirm": "您确定要清除所有消息吗?此操作无法撤销。",
|
|
589
|
+
"compactConversation": "压缩对话",
|
|
590
|
+
"compactConversationConfirm": "这将对对话进行摘要以节省上下文空间。是否继续?",
|
|
591
|
+
"compact": "压缩",
|
|
592
|
+
"typeYourAnswer": "输入您的回答...",
|
|
593
|
+
"rewoundToCheckpoint": "已将对话和文件回滚到检查点",
|
|
594
|
+
"rewoundConversationOnly": "仅回滚了对话",
|
|
595
|
+
"rewoundConversation": "已将对话回滚到检查点",
|
|
596
|
+
"waitForUpload": "请等待文件上传完成"
|
|
597
|
+
},
|
|
598
|
+
"agentProvider": {
|
|
599
|
+
"configureTitle": "配置 Agent Provider",
|
|
600
|
+
"configureDescription": "选择您希望如何通过 Claude API 进行身份验证:",
|
|
601
|
+
"reloadShowConfig": "重新加载并显示",
|
|
602
|
+
"hideConfig": "隐藏",
|
|
603
|
+
"currentConfiguration": "当前配置",
|
|
604
|
+
"loading": "加载中...",
|
|
605
|
+
"activeProcessEnv": "活动的 process.env 值:",
|
|
606
|
+
"noProviderConfig": "未加载 Provider 配置",
|
|
607
|
+
"loginWithClaude": "使用 Claude 账户登录",
|
|
608
|
+
"forClaudeSubscribers": "适用于 Claude Pro、Max、Team 或 Enterprise 订阅用户",
|
|
609
|
+
"anthropicConsole": "Anthropic Console 账户",
|
|
610
|
+
"payAsYouGo": "按量计费的 API 使用",
|
|
611
|
+
"claudeCodeSettings": "Claude Code 设置",
|
|
612
|
+
"useSettingsJson": "使用 settings.json 配置",
|
|
613
|
+
"customApiKey": "自定义 API 密钥",
|
|
614
|
+
"useOwnApiKey": "使用您自己的 Anthropic API 密钥",
|
|
615
|
+
"howToLoginOAuth": "如何使用 OAuth 登录:",
|
|
616
|
+
"ensureSubscription": "请确保您拥有 Claude Pro、Max、Team 或 Enterprise 订阅",
|
|
617
|
+
"openTerminal": "在您的服务器上打开终端",
|
|
618
|
+
"runClaudeLogin": "运行:",
|
|
619
|
+
"chooseOAuthOption": "1. 使用订阅的 Claude 账户 · Pro、Max、Team 或 Enterprise",
|
|
620
|
+
"followAuthFlow": "按照浏览器身份验证流程操作",
|
|
621
|
+
"restartAfterLogin": "登录后重启应用程序",
|
|
622
|
+
"loggedInReload": "我已登录 - 重新加载",
|
|
623
|
+
"howToUseConsole": "如何使用 Anthropic Console 账户:",
|
|
624
|
+
"chooseConsoleOption": "2. Anthropic Console 账户 · API 按量计费",
|
|
625
|
+
"usingClaudeCodeSettings": "使用 Claude Code 设置",
|
|
626
|
+
"settingsFileDescription": "此方法使用您 Claude Code 设置文件中的配置:",
|
|
627
|
+
"linuxMacOs": "Linux/macOS:",
|
|
628
|
+
"windows": "Windows:",
|
|
629
|
+
"envVarsDescription": "以下环境变量从 env 部分读取:",
|
|
630
|
+
"required": "必填",
|
|
631
|
+
"settingsConfigured": "Settings.json 已配置,将用于身份验证。",
|
|
632
|
+
"settingsNotConfigured": "Settings.json 中不包含 ANTHROPIC_AUTH_TOKEN。请添加以使用此方法。",
|
|
633
|
+
"reloadToApply": "重新加载以应用",
|
|
634
|
+
"leaveEmptyToKeep": "留空以保留现有密钥",
|
|
635
|
+
"existingKeyHint": "已配置 API 密钥。留空以保留,或输入新密钥以替换。",
|
|
636
|
+
"fillDefaultValues": "填充默认值",
|
|
637
|
+
"baseUrl": "基础 URL",
|
|
638
|
+
"defaultModel": "默认模型",
|
|
639
|
+
"haikuModel": "Haiku 模型",
|
|
640
|
+
"sonnetModel": "Sonnet 模型",
|
|
641
|
+
"opusModel": "Opus 模型",
|
|
642
|
+
"apiTimeout": "API 超时(毫秒)",
|
|
643
|
+
"configSavedToEnv": "配置将保存到应用目录中的 .env 文件。空字段将使用默认值。",
|
|
644
|
+
"dismissProvider": "忽略此 Provider",
|
|
645
|
+
"areYouSure": "您确定吗?",
|
|
646
|
+
"yesDismiss": "是的,忽略",
|
|
647
|
+
"saveConfiguration": "保存配置",
|
|
648
|
+
"afterLoginHint": "在 claude.ai 上登录后,在终端中运行 \"claude login\" 以完成身份验证。"
|
|
293
649
|
},
|
|
294
650
|
"accessAnywhere": {
|
|
295
651
|
"title": "随处访问",
|
|
@@ -370,6 +726,37 @@
|
|
|
370
726
|
"configureTunnel": "配置隧道",
|
|
371
727
|
"addDnsRecord": "添加 DNS 记录",
|
|
372
728
|
"runTunnel": "运行隧道",
|
|
373
|
-
"orInstallAsService": "或作为服务安装:"
|
|
729
|
+
"orInstallAsService": "或作为服务安装:",
|
|
730
|
+
"apiAccessKeyRequired": "需要 API 访问密钥",
|
|
731
|
+
"apiAccessKeyDescription": "要启用随处访问,您需要设置 API 访问密钥。此密钥将在工作区暴露于互联网时保护其免受未授权访问。",
|
|
732
|
+
"apiAccessKeyWarning": "请妥善保管此密钥!您需要它来远程访问工作区。密钥将存储在 .env 文件中。",
|
|
733
|
+
"generatedApiKey": "API 访问密钥",
|
|
734
|
+
"enterCustomKey": "输入您的自定义密钥...",
|
|
735
|
+
"copyKey": "复制密钥",
|
|
736
|
+
"copied": "已复制!",
|
|
737
|
+
"regenerateKey": "生成新密钥",
|
|
738
|
+
"useCustomKey": "使用自定义密钥",
|
|
739
|
+
"apiKeyStorageNote": "此密钥将保存到 .env 文件中,名为 API_ACCESS_KEY。您可能需要重启服务器以使更改完全生效。",
|
|
740
|
+
"apiKeyMinLength": "API 密钥至少需要 16 个字符",
|
|
741
|
+
"apiKeyRequired": "API 密钥是必需的",
|
|
742
|
+
"cancel": "取消",
|
|
743
|
+
"saving": "正在保存...",
|
|
744
|
+
"saveAndContinue": "保存并继续",
|
|
745
|
+
"failedToSaveApiKey": "保存 API 密钥失败",
|
|
746
|
+
"noTunnelConfig": "未找到隧道配置。请先设置随处访问。",
|
|
747
|
+
"failedToStartTunnel": "启动隧道失败",
|
|
748
|
+
"failedToRegisterSubdomain": "注册子域名失败",
|
|
749
|
+
"failedToConfirmSubdomain": "确认子域名失败",
|
|
750
|
+
"confirmationCodeIsRequired": "确认码为必填项"
|
|
751
|
+
},
|
|
752
|
+
"notFound": {
|
|
753
|
+
"title": "404 - 页面未找到",
|
|
754
|
+
"description": "您所查找的页面不存在。",
|
|
755
|
+
"goHome": "返回首页"
|
|
756
|
+
},
|
|
757
|
+
"globalError": {
|
|
758
|
+
"title": "出现错误!",
|
|
759
|
+
"fallbackMessage": "发生了意外错误",
|
|
760
|
+
"tryAgain": "重试"
|
|
374
761
|
}
|
|
375
762
|
}
|