@deepseek-harness-tui/dsh-tui 0.17.0 → 0.18.0
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/README.md +10 -8
- package/cli/adapters/dsh/index.mjs +2 -2
- package/guide/dsh-tui-guide/cli.en.md +1 -1
- package/guide/dsh-tui-guide/cli.md +1 -1
- package/guide/dsh-tui-guide/configuration.en.md +3 -2
- package/guide/dsh-tui-guide/configuration.md +3 -2
- package/guide/dsh-tui-guide/getting-started.en.md +6 -2
- package/guide/dsh-tui-guide/getting-started.md +4 -1
- package/guide/dsh-tui-guide/interaction.en.md +28 -7
- package/guide/dsh-tui-guide/interaction.md +17 -5
- package/guide/dsh-tui-guide/plugins.en.md +28 -7
- package/guide/dsh-tui-guide/plugins.md +18 -5
- package/guide/dsh-tui-guide/user-guide.en.md +29 -15
- package/guide/dsh-tui-guide/user-guide.md +20 -10
- package/lib/settings.json +3 -3
- package/lib/types/adapter/channel/ui-policy.d.ts +1 -0
- package/lib/types/adapter/channel/ui-policy.d.ts.map +1 -1
- package/lib/types/adapter/channel/ui-policy.js +1 -0
- package/lib/types/adapter/ports/channel-ui.d.ts +5 -0
- package/lib/types/adapter/ports/channel-ui.d.ts.map +1 -1
- package/lib/types/adapter/ports/channel-view.d.ts +3 -0
- package/lib/types/adapter/ports/channel-view.d.ts.map +1 -1
- package/lib/types/adapter/standard/grants.d.ts +60 -0
- package/lib/types/adapter/standard/grants.d.ts.map +1 -1
- package/lib/types/adapter/standard/grants.js +74 -0
- package/lib/types/agent/events.d.ts +7 -1
- package/lib/types/agent/events.d.ts.map +1 -1
- package/lib/types/commands.js +1 -1
- package/lib/types/components/GoalTodoPanel.d.ts +71 -6
- package/lib/types/components/GoalTodoPanel.d.ts.map +1 -1
- package/lib/types/components/GoalTodoPanel.js +165 -17
- package/lib/types/components/MessageList.d.ts.map +1 -1
- package/lib/types/components/MessageList.js +3 -2
- package/lib/types/components/PluginGrantList.d.ts +45 -0
- package/lib/types/components/PluginGrantList.d.ts.map +1 -0
- package/lib/types/components/PluginGrantList.js +126 -0
- package/lib/types/components/PluginInstallPane.d.ts.map +1 -1
- package/lib/types/components/PluginInstallPane.js +35 -6
- package/lib/types/components/PluginManagePane.d.ts.map +1 -1
- package/lib/types/components/PluginManagePane.js +65 -8
- package/lib/types/components/PromptInput.js +2 -2
- package/lib/types/components/SubagentDashboard.d.ts.map +1 -1
- package/lib/types/components/SubagentDashboard.js +10 -0
- package/lib/types/components/SubagentDetailScene.d.ts.map +1 -1
- package/lib/types/components/SubagentDetailScene.js +12 -0
- package/lib/types/components/messages/AssistantToolUseMessage.d.ts +2 -1
- package/lib/types/components/messages/AssistantToolUseMessage.d.ts.map +1 -1
- package/lib/types/components/messages/AssistantToolUseMessage.js +11 -5
- package/lib/types/components/onboardingModel.d.ts +2 -2
- package/lib/types/components/onboardingModel.js +3 -3
- package/lib/types/components/onboardingProviderPlan.d.ts +110 -0
- package/lib/types/components/onboardingProviderPlan.d.ts.map +1 -0
- package/lib/types/components/onboardingProviderPlan.js +78 -0
- package/lib/types/components/sidePanel/btw/BtwComposer.d.ts +7 -0
- package/lib/types/components/sidePanel/btw/BtwComposer.d.ts.map +1 -1
- package/lib/types/components/sidePanel/btw/BtwComposer.js +16 -0
- package/lib/types/components/sidePanel/btw/BtwPanelAdapter.d.ts.map +1 -1
- package/lib/types/components/sidePanel/btw/BtwPanelAdapter.js +8 -1
- package/lib/types/components/sidePanel/btw/BtwThreadScene.d.ts +7 -1
- package/lib/types/components/sidePanel/btw/BtwThreadScene.d.ts.map +1 -1
- package/lib/types/components/sidePanel/btw/BtwThreadScene.js +8 -1
- package/lib/types/components/sidePanel/btw/useBtwComposerPaste.d.ts +30 -0
- package/lib/types/components/sidePanel/btw/useBtwComposerPaste.d.ts.map +1 -0
- package/lib/types/components/sidePanel/btw/useBtwComposerPaste.js +94 -0
- package/lib/types/components/sidePanel/builtinPanels.d.ts.map +1 -1
- package/lib/types/components/sidePanel/builtinPanels.js +14 -2
- package/lib/types/components/sidePanel/types.d.ts +2 -0
- package/lib/types/components/sidePanel/types.d.ts.map +1 -1
- package/lib/types/components/sidePanel/useSidePanel.d.ts.map +1 -1
- package/lib/types/components/sidePanel/useSidePanel.js +15 -1
- package/lib/types/dsh-adapter/backend/session.d.ts +7 -1
- package/lib/types/dsh-adapter/backend/session.d.ts.map +1 -1
- package/lib/types/dsh-adapter/backend/session.js +62 -6
- package/lib/types/dsh-adapter/backend/translate.d.ts.map +1 -1
- package/lib/types/dsh-adapter/backend/translate.js +9 -5
- package/lib/types/dsh-adapter/channel/agent-view-projection.d.ts +1 -1
- package/lib/types/dsh-adapter/channel/agent-view-projection.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/agent-view-projection.js +3 -1
- package/lib/types/dsh-adapter/channel/composer-images.d.ts +2 -0
- package/lib/types/dsh-adapter/channel/composer-images.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/composer-images.js +10 -2
- package/lib/types/dsh-adapter/channel/composer-mentions.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/composer-mentions.js +22 -7
- package/lib/types/dsh-adapter/channel/context-bookkeeping.d.ts +1 -1
- package/lib/types/dsh-adapter/channel/context-bookkeeping.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/context-bookkeeping.js +9 -5
- package/lib/types/dsh-adapter/channel/core/binding-feed.d.ts +6 -0
- package/lib/types/dsh-adapter/channel/core/binding-feed.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/core/binding-feed.js +35 -1
- package/lib/types/dsh-adapter/channel/core/compose.d.ts +1 -1
- package/lib/types/dsh-adapter/channel/core/compose.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/core/compose.js +5 -0
- package/lib/types/dsh-adapter/channel/input-actions.d.ts +2 -2
- package/lib/types/dsh-adapter/channel/input-actions.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/input-actions.js +30 -0
- package/lib/types/dsh-adapter/channel/input-delivery.d.ts +1 -1
- package/lib/types/dsh-adapter/channel/input-delivery.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/input-delivery.js +8 -4
- package/lib/types/dsh-adapter/channel/mentions.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/mentions.js +21 -7
- package/lib/types/dsh-adapter/channel/paths.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/paths.js +11 -9
- package/lib/types/dsh-adapter/channel/session-live-adoption.d.ts +1 -1
- package/lib/types/dsh-adapter/channel/session-live-adoption.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/session-live-adoption.js +6 -1
- package/lib/types/dsh-adapter/channel/session-reset.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/session-reset.js +3 -1
- package/lib/types/dsh-adapter/channel/session-resume.d.ts +1 -1
- package/lib/types/dsh-adapter/channel/session-resume.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/session-resume.js +10 -3
- package/lib/types/dsh-adapter/channel/session-rewind.d.ts +1 -1
- package/lib/types/dsh-adapter/channel/session-rewind.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/session-rewind.js +3 -1
- package/lib/types/dsh-adapter/channel/session-tree-actions.d.ts +1 -1
- package/lib/types/dsh-adapter/channel/session-tree-actions.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/session-tree-actions.js +3 -1
- package/lib/types/dsh-adapter/contract.d.ts +4 -3
- package/lib/types/dsh-adapter/contract.d.ts.map +1 -1
- package/lib/types/dsh-adapter/contract.js +6 -3
- package/lib/types/dsh-adapter/entry-slot.d.ts +6 -0
- package/lib/types/dsh-adapter/entry-slot.d.ts.map +1 -1
- package/lib/types/dsh-adapter/experimental-bundles.d.ts +3 -0
- package/lib/types/dsh-adapter/experimental-bundles.d.ts.map +1 -1
- package/lib/types/dsh-adapter/experimental-bundles.js +4 -0
- package/lib/types/dsh-adapter/grant-file.d.ts +70 -0
- package/lib/types/dsh-adapter/grant-file.d.ts.map +1 -0
- package/lib/types/dsh-adapter/grant-file.js +178 -0
- package/lib/types/dsh-adapter/host-access.d.ts +4 -0
- package/lib/types/dsh-adapter/host-access.d.ts.map +1 -1
- package/lib/types/dsh-adapter/host-access.js +54 -4
- package/lib/types/dsh-adapter/host-contract.d.ts +1 -1
- package/lib/types/dsh-adapter/host-contract.js +2 -2
- package/lib/types/dsh-adapter/host-dsh.js +3 -3
- package/lib/types/dsh-adapter/index.d.ts.map +1 -1
- package/lib/types/dsh-adapter/index.js +8 -5
- package/lib/types/dsh-adapter/panels.d.ts +7 -1
- package/lib/types/dsh-adapter/panels.d.ts.map +1 -1
- package/lib/types/dsh-adapter/plugin-declaration.d.ts +28 -0
- package/lib/types/dsh-adapter/plugin-declaration.d.ts.map +1 -1
- package/lib/types/dsh-adapter/plugin-declaration.js +43 -1
- package/lib/types/dsh-adapter/plugin-install.d.ts +28 -1
- package/lib/types/dsh-adapter/plugin-install.d.ts.map +1 -1
- package/lib/types/dsh-adapter/plugin-install.js +160 -13
- package/lib/types/dsh-adapter/plugin-manage.d.ts +53 -10
- package/lib/types/dsh-adapter/plugin-manage.d.ts.map +1 -1
- package/lib/types/dsh-adapter/plugin-manage.js +240 -51
- package/lib/types/dsh-adapter/plugin.d.ts.map +1 -1
- package/lib/types/dsh-adapter/plugin.js +64 -18
- package/lib/types/dsh-adapter/plugins-info.d.ts +6 -7
- package/lib/types/dsh-adapter/plugins-info.d.ts.map +1 -1
- package/lib/types/dsh-adapter/plugins-info.js +34 -21
- package/lib/types/dsh-adapter/presets.d.ts +6 -2
- package/lib/types/dsh-adapter/presets.d.ts.map +1 -1
- package/lib/types/dsh-adapter/presets.js +23 -5
- package/lib/types/dsh-adapter/process-exit.d.ts +1 -1
- package/lib/types/dsh-adapter/process-exit.js +1 -1
- package/lib/types/dsh-adapter/providerWizard.d.ts +2 -0
- package/lib/types/dsh-adapter/providerWizard.d.ts.map +1 -1
- package/lib/types/dsh-adapter/providerWizard.js +11 -5
- package/lib/types/dsh-adapter/row-attachment.d.ts +30 -0
- package/lib/types/dsh-adapter/row-attachment.d.ts.map +1 -0
- package/lib/types/dsh-adapter/row-attachment.js +29 -0
- package/lib/types/dsh-adapter/worktree-tool.d.ts +27 -0
- package/lib/types/dsh-adapter/worktree-tool.d.ts.map +1 -0
- package/lib/types/dsh-adapter/worktree-tool.js +87 -0
- package/lib/types/heldInputs.d.ts +36 -0
- package/lib/types/heldInputs.d.ts.map +1 -0
- package/lib/types/heldInputs.js +173 -0
- package/lib/types/i18n.d.ts +352 -25
- package/lib/types/i18n.d.ts.map +1 -1
- package/lib/types/i18n.js +171 -18
- package/lib/types/onboardingDraft.d.ts +143 -0
- package/lib/types/onboardingDraft.d.ts.map +1 -0
- package/lib/types/onboardingDraft.js +71 -0
- package/lib/types/screens/Chat.d.ts.map +1 -1
- package/lib/types/screens/Chat.js +90 -30
- package/lib/types/screens/Onboarding.d.ts +22 -3
- package/lib/types/screens/Onboarding.d.ts.map +1 -1
- package/lib/types/screens/Onboarding.js +606 -36
- package/lib/types/settings/definitions.js +2 -2
- package/lib/types/utils/paths.d.ts +15 -0
- package/lib/types/utils/paths.d.ts.map +1 -1
- package/lib/types/utils/paths.js +25 -0
- package/package.json +111 -108
- package/tui-profile/feed/README.md +1 -1
- package/tui-profile/feed/first-party.json +1 -1
package/lib/types/i18n.js
CHANGED
|
@@ -178,6 +178,9 @@ const dict = {
|
|
|
178
178
|
'input-images-staged-adapted': { zh: '已附加 {{count}} 张图片 · {{adapted}} 张已适配', en: { one: 'Attached {{count}} image · {{adapted}} adapted', other: 'Attached {{count}} images · {{adapted}} adapted' } },
|
|
179
179
|
'send-failed': { zh: '发送失败 · {{err}}', en: 'Send failed · {{err}}' },
|
|
180
180
|
'input-not-accepted': { zh: '后端没有接受这条消息,请重试或检查会话状态', en: 'The backend did not accept this message; retry or check the session state' },
|
|
181
|
+
'input-refused-held': { zh: '{{reason}}。消息已暂存:按 ↑ 编辑', en: '{{reason}}. The message is held: ↑ to edit' },
|
|
182
|
+
'session-reattached': { zh: '会话服务已恢复,已重新打开这个会话', en: 'The session services are back; this session was reopened' },
|
|
183
|
+
'input-session-disposed': { zh: '这个会话已经结束,/new 开新会话或 /restart 恢复该会话', en: 'This session has ended; /new starts a new one, /restart resumes it' },
|
|
181
184
|
// ── agent team: 用户发给子代理的消息,由父代理转发(模型可见) ──────
|
|
182
185
|
'agent-message-native-envelope': { zh: '请通过 {{tool}} 将下面的消息发送给子代理 {{name}}(id: {{id}})。不要代替子代理回复。\n\n{{text}}', en: 'Use {{tool}} to send the following message to subagent {{name}} (id: {{id}}). Do not answer on behalf of the subagent.\n\n{{text}}' },
|
|
183
186
|
'agent-message-envelope': {
|
|
@@ -219,7 +222,7 @@ const dict = {
|
|
|
219
222
|
'interrupt-failed': { zh: '打断请求失败:排队消息没有撤回,仍会在下一回合发送;已取消暂存,避免重复发送', en: 'The interrupt request failed: the queued messages were not withdrawn and will still run next turn; they are no longer held, so nothing is sent twice' },
|
|
220
223
|
'interrupt-unconfirmed': { zh: '无法确认排队消息已撤回:它们仍会在下一回合发送,不再暂存', en: 'Could not confirm the queued messages were withdrawn: they will still run next turn and are no longer held' },
|
|
221
224
|
'interrupt-pending': { zh: '中断请求已发出,正在等待回合停止……', en: 'Interrupt requested; waiting for the turn to stop…' },
|
|
222
|
-
'interrupt-stuck': { zh: '中断迟迟没有生效(工具可能没有响应中断)。可用 /restart
|
|
225
|
+
'interrupt-stuck': { zh: '中断迟迟没有生效(工具可能没有响应中断)。可用 /restart:它会中断当前回合并尝试重启;若进程无法正常收尾,退出后会打印恢复本会话的命令,并注明排队输入保存在哪里。', en: 'The interrupt is not taking effect (a tool may be ignoring it). Use /restart: it interrupts this turn and tries to restart; if the process cannot shut down cleanly it exits and prints the command that resumes this session and where the queued input is kept.' },
|
|
223
226
|
'cmd-unavailable-backend': { zh: '/{{cmd}} 在 {{backend}} 内核下不可用', en: '/{{cmd}} is not available on the {{backend}} kernel' },
|
|
224
227
|
'export-user-section': { zh: '## 用户', en: '## User' },
|
|
225
228
|
'export-thinking-section': { zh: '## 思考', en: '## Thinking' },
|
|
@@ -757,7 +760,7 @@ const dict = {
|
|
|
757
760
|
'reload-kind-activity': { zh: '活动指示', en: 'activity' },
|
|
758
761
|
// ── /restart (process restart with session resume) ────────────────────
|
|
759
762
|
'restart-starting': { zh: '正在重启 dsh-tui,完成后自动恢复当前会话……', en: 'Restarting dsh-tui. The session resumes when it comes back…' },
|
|
760
|
-
'restart-during-turn': { zh: '
|
|
763
|
+
'restart-during-turn': { zh: '当前回合仍在运行,正在中断重启;排队输入会在重启后暂存(仅保留文字,图片不保留),不会自动发送。若进程无法正常收尾,退出后会打印恢复本会话的命令,并注明排队输入保存在哪里。', en: 'The current turn is still running; interrupting and restarting. Queued input is held after the restart (text only, images are not kept), not sent automatically. If the process cannot shut down cleanly it exits and prints the command that resumes this session and where the queued input is kept.' },
|
|
761
764
|
'restart-unavailable': { zh: '当前运行方式不支持进程内重启(未挂载重启通道)。', en: 'Restart is unavailable in this launch mode (no restart channel mounted).' },
|
|
762
765
|
'streaming-folded': { zh: '…(前 {{count}} 字符流式期间已折叠,落定后完整显示)', en: '…(first {{count}} chars folded while streaming; full text renders once the turn settles)' },
|
|
763
766
|
'mermaid-too-wide': { zh: '(图需要 {{width}} 列,当前宽度不足,显示源码)', en: '(diagram needs {{width}} columns; showing the source)' },
|
|
@@ -1016,11 +1019,18 @@ const dict = {
|
|
|
1016
1019
|
'input-pending-steer-label': { zh: '插话 · 下一步送达', en: 'Steer · delivered next' },
|
|
1017
1020
|
'input-pending-queue-label': { zh: '排队 · 回合结束后送达', en: 'Queued · delivered after the turn' },
|
|
1018
1021
|
'input-pending-actions-hint': { zh: '撤回 · Esc 打断并暂存排队消息', en: 'Retract · Esc interrupts and holds the queue' },
|
|
1022
|
+
'input-pending-actions-hint-disposed': { zh: '撤回', en: 'Retract' },
|
|
1019
1023
|
'input-pending-dock-label': { zh: '已暂存 · 打断后保留,不会自动发送', en: 'Held · kept after the interrupt, not sent automatically' },
|
|
1024
|
+
'input-pending-orphan-label': { zh: '已暂存 · 未送达,不会自动发送', en: 'Held · not delivered, not sent automatically' },
|
|
1020
1025
|
'input-pending-dock-hint': { zh: '按 ↑ 编辑排队消息,⏎ 立即发送', en: 'Press ↑ to edit queued messages, ⏎ to send now' },
|
|
1026
|
+
'input-pending-dock-hint-disposed': { zh: '会话已结束:/new 或 /restart 后,⏎ 发送暂存消息,↑ 编辑', en: 'Session ended: after /new or /restart, ⏎ sends the held messages and ↑ edits them' },
|
|
1021
1027
|
'input-pending-dock-hint-working': { zh: '按 ↑ 编辑排队消息,回合结束后 ⏎ 发送', en: 'Press ↑ to edit queued messages, ⏎ sends after the turn' },
|
|
1022
1028
|
'input-dock-sent': { zh: '已发送 {{n}} 条暂存消息', en: 'Sent {{n}} held message(s)' },
|
|
1023
1029
|
'input-dock-swapped': { zh: '已交换:草稿暂存,所点消息回到输入框(Ctrl+Z 换回)', en: 'Swapped: the draft is held and the picked message is back in the input (Ctrl+Z swaps back)' },
|
|
1030
|
+
// No ⏎ here: whether ⏎ sends now or only after /new depends on the session,
|
|
1031
|
+
// and the dock hint below says which (#1651).
|
|
1032
|
+
'input-orphans-held': { zh: '{{count}} 条排队消息没有送达,已暂存:按 ↑ 编辑', en: { one: '{{count}} queued message was not delivered and is held: ↑ to edit', other: '{{count}} queued messages were not delivered and are held: ↑ to edit' } },
|
|
1033
|
+
'input-dock-session-disposed': { zh: '会话已结束,暂存消息仍保留;/new 开新会话或 /restart 恢复该会话后按 ⏎ 发送', en: 'This session has ended; held messages are kept. After /new or /restart, ⏎ sends them' },
|
|
1024
1034
|
'input-dock-confirming': { zh: '{{n}} 条暂存消息还在等打断完成,稍后再发送或编辑', en: '{{n}} held message(s) are waiting for the interrupt to finish; send or edit again in a moment' },
|
|
1025
1035
|
// U+30FB (not U+00B7): the separator participates in the folded-chip
|
|
1026
1036
|
// width arithmetic; U+00B7 is EA-ambiguous and paints 2 cells on CJK
|
|
@@ -1077,6 +1087,7 @@ const dict = {
|
|
|
1077
1087
|
'tool-live-omitted': { zh: '… 已省略 {{count}} 行', en: { one: '… {{count}} line omitted', other: '… {{count}} lines omitted' } },
|
|
1078
1088
|
// 搜索结果截断行(search 卡 paths 形态):
|
|
1079
1089
|
'search-results-total': { zh: '…(共 {{n}} 条)', en: '… ({{n}} total)' },
|
|
1090
|
+
'worktree-result-base': { zh: '基于 {{from}}({{commit}})', en: 'from {{from}} ({{commit}})' },
|
|
1080
1091
|
// 按行折叠的溢出提示:卡片正文行预算(capLines)、终端卡多行命令折叠
|
|
1081
1092
|
// (foldTerminalCommand)、分屏 diff 隐藏行(SplitDiffView)。按字符折叠
|
|
1082
1093
|
// 的行内标记见 long-line-folded。
|
|
@@ -1424,6 +1435,10 @@ const dict = {
|
|
|
1424
1435
|
zh: '用途:Agent 能翻本工作区的历史会话',
|
|
1425
1436
|
en: 'Use: agents can browse past sessions in this workspace',
|
|
1426
1437
|
},
|
|
1438
|
+
'plugins-experimental-worktree-hint': {
|
|
1439
|
+
zh: '用途:Agent 新开 Git 分支与工作树,转到里面干活',
|
|
1440
|
+
en: 'Use: agents start a new Git branch and worktree and move into it',
|
|
1441
|
+
},
|
|
1427
1442
|
'plugins-bundles-header': { zh: '已装 bundle(数据来自 profile 插件服务):', en: 'Installed bundles (from the profile plugin service):' },
|
|
1428
1443
|
'plugins-bundles-official': { zh: '安装自带', en: 'Official (installation-supplied)' },
|
|
1429
1444
|
'plugins-bundles-installed': { zh: 'profile 依赖', en: 'Profile dependencies' },
|
|
@@ -1465,6 +1480,10 @@ const dict = {
|
|
|
1465
1480
|
zh: '回合正在运行,先结束它(或 /new)再装插件:安装会改动 profile 并触发应用/热重载',
|
|
1466
1481
|
en: 'A turn is running; finish it (or /new) before installing: an install changes the profile and applies or hot-reloads plugins',
|
|
1467
1482
|
},
|
|
1483
|
+
'plugins-install-grant-busy': {
|
|
1484
|
+
zh: '回合正在运行,先结束它(或 /new)再授予:授权会在下一次决策立即生效',
|
|
1485
|
+
en: 'A turn is running; finish it (or /new) before granting: the grant takes effect on the next decision',
|
|
1486
|
+
},
|
|
1468
1487
|
'plugins-install-inspect': { zh: '将要安装:{{spec}}({{kind}} · {{bundle}})', en: 'About to install: {{spec}} ({{kind}} · {{bundle}})' },
|
|
1469
1488
|
'plugins-install-trusted': {
|
|
1470
1489
|
zh: '嫡系(feed 命中):{{name}}@{{version}} —— 跳过装包信任确认;仍记 effect ledger,仍在 /plugin 列表可见',
|
|
@@ -1536,10 +1555,60 @@ const dict = {
|
|
|
1536
1555
|
zh: '提醒:注册表里的包在装上之前无法判定是否声明了 TUI 贡献;若未声明,它不会作为后端/贡献出现,并会在 /plugin 列表里带常驻标签。',
|
|
1537
1556
|
en: 'Heads up: a registry package’s declaration cannot be read before it lands; if it declares none, it will not appear as a backend/contribution and /plugin will tag it.',
|
|
1538
1557
|
},
|
|
1558
|
+
// ── 授权写入(grant-file.ts / 装链路 / 启停链路共用)──
|
|
1559
|
+
'plugins-grant-reason-corrupt': { zh: '授权文件无法解析', en: 'the grants file cannot be parsed' },
|
|
1560
|
+
'plugins-grant-reason-unreadable': { zh: '授权文件无法读取', en: 'the grants file cannot be read' },
|
|
1561
|
+
'plugins-grant-reason-write-failed': { zh: '授权文件写入失败', en: 'the grants file could not be written' },
|
|
1562
|
+
'plugins-grant-write-refused': {
|
|
1563
|
+
zh: '授权未写入({{reason}}):{{file}} —— 安装/启用继续进行,授权可在 /plugin 的授权矩阵里手工补齐。',
|
|
1564
|
+
en: 'No grant was written ({{reason}}): {{file}} — the install/enable goes on; add the rule by hand from the /plugin grant matrix.',
|
|
1565
|
+
},
|
|
1566
|
+
'plugins-grant-unknown-skipped': { zh: '跳过宿主不认识的权限:{{names}}', en: 'Skipped permissions this host does not know: {{names}}' },
|
|
1567
|
+
'plugins-install-granted': { zh: '已按声明授予 {{count}} 项权限({{id}})', en: 'Granted {{count}} declared permission(s) ({{id}})' },
|
|
1568
|
+
'plugins-install-granted-silent': {
|
|
1569
|
+
zh: '已按包内声明自动授予 {{count}} 项权限({{id}})',
|
|
1570
|
+
en: 'Granted {{count}} declared permission(s) automatically ({{id}})',
|
|
1571
|
+
},
|
|
1572
|
+
'plugins-grant-unapplied': {
|
|
1573
|
+
zh: '以下授权已写入但未生效(scope 不被接受或被 deny 覆盖):{{scopes}}',
|
|
1574
|
+
en: 'These rules were written but do not take effect (unsupported scope, or outranked by a deny): {{scopes}}',
|
|
1575
|
+
},
|
|
1576
|
+
'plugins-grant-rolled-back': { zh: '已回滚本次写入的授权', en: 'The grant written for this run was rolled back' },
|
|
1577
|
+
'plugins-grant-rollback-failed': {
|
|
1578
|
+
zh: '授权已写入但未能回滚:文件已被改动,请到 /plugin 的授权矩阵核对。',
|
|
1579
|
+
en: 'The grant was written but could not be rolled back: the file changed meanwhile; check the /plugin grant matrix.',
|
|
1580
|
+
},
|
|
1581
|
+
'plugins-install-grant-ask': {
|
|
1582
|
+
zh: '该组件({{id}})已装上。下面这些权限写在包内声明里:现在授予吗?(授权是行为约束,不是安全隔离)',
|
|
1583
|
+
en: 'The component ({{id}}) is installed. These are the permissions it declares: grant them now? (Grants are behavioural constraints, not a security boundary.)',
|
|
1584
|
+
},
|
|
1585
|
+
'plugins-grant-list-title': {
|
|
1586
|
+
zh: '要授予的权限(按包内声明,逐字使用其 scope)',
|
|
1587
|
+
en: 'Permissions to grant (as declared, with the declared scope verbatim)',
|
|
1588
|
+
},
|
|
1589
|
+
'plugins-grant-list-title-revoke': {
|
|
1590
|
+
zh: '将撤销的权限(按包内声明,按权限名撤销)',
|
|
1591
|
+
en: 'Permissions to revoke (declared names; every scope of each)',
|
|
1592
|
+
},
|
|
1593
|
+
'plugins-grant-default-allow': { zh: '默认允许', en: 'default allow' },
|
|
1594
|
+
'plugins-grant-default-deny': { zh: '默认拒绝', en: 'default deny' },
|
|
1595
|
+
'plugins-grant-granted': { zh: '✓已授权', en: '✓granted' },
|
|
1596
|
+
'plugins-grant-not-granted': { zh: '·未授权', en: '·not granted' },
|
|
1597
|
+
'plugins-grant-more': { zh: '还有 {{count}} 项…', en: 'and {{count}} more…' },
|
|
1598
|
+
'plugins-grant-hidden': {
|
|
1599
|
+
zh: '共 {{count}} 项权限(此处未逐行显示)',
|
|
1600
|
+
en: '{{count}} permission(s) not listed here',
|
|
1601
|
+
},
|
|
1602
|
+
'plugins-grant-unknown-line': {
|
|
1603
|
+
zh: '宿主不认识、将跳过:{{names}}(共 {{count}} 项)',
|
|
1604
|
+
en: 'Unknown to this host and skipped: {{names}} ({{count}} total)',
|
|
1605
|
+
},
|
|
1606
|
+
'plugins-install-key-grant': { zh: '⏎ 授予 {{count}} 项 · esc 跳过(安装保留)', en: '⏎ grant {{count}} · esc skip (install stays)' },
|
|
1539
1607
|
'plugins-install-builds-title': { zh: '以下构建脚本需要批准(写进 profile 的 allowBuilds):', en: 'These build scripts need approval (written to the profile allowBuilds):' },
|
|
1540
1608
|
'plugins-install-incompatible-title': { zh: '版本不兼容的包:', en: 'Incompatible packages:' },
|
|
1541
1609
|
'plugins-install-exemptions-title': { zh: '已登记的精确版本豁免:', en: 'Exact-version exemptions recorded:' },
|
|
1542
1610
|
'plugins-install-key-confirm': { zh: '⏎ 安装 · esc 取消', en: '⏎ install · esc cancel' },
|
|
1611
|
+
'plugins-install-key-confirm-grant': { zh: '⏎ 安装并授权 {{count}} 项 · esc 取消', en: '⏎ install and grant {{count}} · esc cancel' },
|
|
1543
1612
|
'plugins-install-key-builds': { zh: '⏎ 允许这些脚本并重试 · esc 取消', en: '⏎ allow these scripts and retry · esc cancel' },
|
|
1544
1613
|
'plugins-install-key-incompatible': { zh: '⏎ 接受风险并重试 · esc 取消', en: '⏎ accept the risk and retry · esc cancel' },
|
|
1545
1614
|
'plugins-install-key-cancel': { zh: 'esc 取消安装', en: 'esc cancel the install' },
|
|
@@ -1588,6 +1657,10 @@ const dict = {
|
|
|
1588
1657
|
'plugins-manage-enabled': { zh: '已启用 {{target}}:{{state}}', en: 'Enabled {{target}}: {{state}}' },
|
|
1589
1658
|
'plugins-manage-disabled': { zh: '已关闭 {{target}}:{{state}}', en: 'Disabled {{target}}: {{state}}' },
|
|
1590
1659
|
'plugins-manage-failed': { zh: '操作失败:{{reason}}', en: 'The action failed: {{reason}}' },
|
|
1660
|
+
'plugins-manage-enable-persisted': {
|
|
1661
|
+
zh: 'profile 已记录这次启用,但运行中的宿主拒绝了重载:授权已保留,重启后生效。',
|
|
1662
|
+
en: 'The profile recorded this enable, but the running host refused the reload: the grant is kept and takes effect after a restart.',
|
|
1663
|
+
},
|
|
1591
1664
|
'plugins-manage-incompatible': {
|
|
1592
1665
|
zh: '版本不兼容:{{packages}}——要强行启用,先接受风险:dsh plugin --profile {{profile}} allow-version <包@版本> <当前版本> --accept-risk',
|
|
1593
1666
|
en: 'Incompatible version: {{packages}} — to force it, accept the risk first: dsh plugin --profile {{profile}} allow-version <package@version> <running version> --accept-risk',
|
|
@@ -1604,14 +1677,42 @@ const dict = {
|
|
|
1604
1677
|
zh: '用户数据仍在:{{paths}} —— 不再需要时可手动删除。',
|
|
1605
1678
|
en: 'Your own data is still there: {{paths}} — delete it by hand when you no longer need it.',
|
|
1606
1679
|
},
|
|
1607
|
-
'plugins-manage-residue-
|
|
1608
|
-
zh: '{{id}}
|
|
1609
|
-
en: '{{id}}
|
|
1680
|
+
'plugins-manage-residue-ledger': {
|
|
1681
|
+
zh: '效果台账仍有 {{id}} 的记录(审计保留):{{file}}',
|
|
1682
|
+
en: 'The effect ledger still records {{id}} (kept for audit): {{file}}',
|
|
1683
|
+
},
|
|
1684
|
+
'plugins-manage-residue-storage': {
|
|
1685
|
+
zh: '存储目录里仍有 {{id}} 的命名空间(用户数据保留):{{file}}',
|
|
1686
|
+
en: 'A storage namespace for {{id}} is still on disk (your data is kept): {{file}}',
|
|
1610
1687
|
},
|
|
1611
1688
|
'plugins-manage-residue-unjudged': {
|
|
1612
1689
|
zh: '读不到 {{target}} 的包内声明,无法判断它是否留下了用户数据(不猜)。',
|
|
1613
1690
|
en: 'The declaration inside {{target}} could not be read, so what data it left behind cannot be judged (nothing is guessed).',
|
|
1614
1691
|
},
|
|
1692
|
+
'plugins-manage-grant-granted': { zh: '已按声明授予 {{count}} 项权限({{id}})', en: 'Granted {{count}} declared permission(s) ({{id}})' },
|
|
1693
|
+
'plugins-manage-grant-forgotten': { zh: '已删除该组件的授权与 deny 条目({{id}})', en: 'Removed this component\'s grant and deny entries ({{id}})' },
|
|
1694
|
+
'plugins-manage-grant-forget-failed': {
|
|
1695
|
+
zh: '⚠ 该组件的授权条目未能删除({{reason}}):{{id}} · {{file}} —— 复用同一 id 的包可能继承这组授权,请到 /plugin 的授权矩阵手工清理。',
|
|
1696
|
+
en: '⚠ This component\'s grant entries could not be removed ({{reason}}): {{id}} · {{file}} — a package reusing the same id may inherit them; clear them by hand from the /plugin grant matrix.',
|
|
1697
|
+
},
|
|
1698
|
+
'plugins-manage-grant-unhandled': {
|
|
1699
|
+
zh: '读不到 {{target}} 的包内声明,或它不是本 profile 能接受的声明:无法确定组件 id,授权条目未处理(不猜)。',
|
|
1700
|
+
en: 'The declaration inside {{target}} could not be read, or is not one this profile accepts: its component id was not used, and grant entries were left alone (nothing is guessed).',
|
|
1701
|
+
},
|
|
1702
|
+
'plugins-manage-grant-revoked': { zh: '已撤销 {{count}} 项授权({{id}})', en: 'Revoked {{count}} permission grant(s) ({{id}})' },
|
|
1703
|
+
'plugins-manage-grant-revoke-failed': {
|
|
1704
|
+
zh: '已关闭,但授权条目未能撤销({{reason}}):{{id}} · {{file}} —— 见 /plugin 的授权矩阵。',
|
|
1705
|
+
en: 'Disabled, but the grant entries could not be revoked ({{reason}}): {{id}} · {{file}} — see the /plugin grant matrix.',
|
|
1706
|
+
},
|
|
1707
|
+
'plugins-manage-key-enable-grant': { zh: '⏎ 启用并授权 {{count}} 项 · esc 返回', en: '⏎ enable and grant {{count}} · esc back' },
|
|
1708
|
+
'plugins-manage-key-disable-revoke': {
|
|
1709
|
+
zh: '⏎ 关闭并撤销 {{count}} 项授权 · esc 返回',
|
|
1710
|
+
en: '⏎ disable and revoke {{count}} grant(s) · esc back',
|
|
1711
|
+
},
|
|
1712
|
+
'plugins-manage-remove-grant-facts': {
|
|
1713
|
+
zh: '该组件的授权与 deny 条目会被删除(不可恢复);重新安装后需要再授权一次。',
|
|
1714
|
+
en: 'This component\'s grant and deny entries are deleted (not recoverable); a reinstall asks for them again.',
|
|
1715
|
+
},
|
|
1615
1716
|
'plugins-manage-usage': { zh: '用法:/plugin {{sub}} <bundle 名 | 行 id>', en: 'Usage: /plugin {{sub}} <bundle name | row id>' },
|
|
1616
1717
|
'plugins-manage-pane-title': { zh: '插件生命周期', en: 'Plugin lifecycle' },
|
|
1617
1718
|
'plugins-manage-action-remove': { zh: '卸载', en: 'remove' },
|
|
@@ -1624,8 +1725,8 @@ const dict = {
|
|
|
1624
1725
|
en: 'This is destructive: it changes the profile\'s package.json and lockfile (rolled back if the service fails) and drops its {{rows}} rows / {{overrides}} overrides. Your own data is not deleted (any residue is reported separately).',
|
|
1625
1726
|
},
|
|
1626
1727
|
'plugins-manage-trust-facts': {
|
|
1627
|
-
zh: '
|
|
1628
|
-
en: 'The installed code\'s source cannot be verified:
|
|
1728
|
+
zh: '无法验证已装代码的来源:启用后它在本进程内运行、无沙箱。本页列出的权限就是要授予的内容;授权是行为约束,不是安全隔离。',
|
|
1729
|
+
en: 'The installed code\'s source cannot be verified: it runs in-process with no sandbox. What this pane lists is what Enter grants; grants are behavioural constraints, not a security boundary.',
|
|
1629
1730
|
},
|
|
1630
1731
|
'plugins-manage-host-row-facts': {
|
|
1631
1732
|
zh: '这一行属于宿主层(dsh-base):关掉它会卸载本应用注入的服务,本应用可能重启或退出。',
|
|
@@ -2075,9 +2176,10 @@ const dict = {
|
|
|
2075
2176
|
'provider-cancelled': { zh: '已取消添加 provider', en: 'Provider setup cancelled' },
|
|
2076
2177
|
'provider-success': { zh: 'provider {{route}} 已添加', en: 'Provider {{route}} added' },
|
|
2077
2178
|
'provider-switch-hint': { zh: '运行 /model 可切换到新 provider 的模型', en: 'Run /model to switch to the new provider’s models' },
|
|
2078
|
-
'provider-q-switch': { zh: '
|
|
2179
|
+
'provider-q-switch': { zh: '要切换到新 provider 的哪个模型?', en: 'Switch to which model from the new provider?' },
|
|
2079
2180
|
'provider-opt-switch-now': { zh: '切换到 {{model}}', en: 'Switch to {{model}}' },
|
|
2080
2181
|
'provider-opt-switch-keep': { zh: '保持当前模型', en: 'Keep the current model' },
|
|
2182
|
+
'provider-opt-switch-keep-desc': { zh: '当前:{{model}}', en: 'Current: {{model}}' },
|
|
2081
2183
|
// /provider OAuth 分支(内置 OAuth 模块挂载 ctx.dshAuth 时出现)
|
|
2082
2184
|
'provider-opt-oauth': { zh: '账号登录(OAuth)', en: 'Account sign-in (OAuth)' },
|
|
2083
2185
|
'provider-opt-oauth-desc': { zh: '使用当前宿主支持的账号登录,无需 API key', en: 'Sign in with an account supported by this host — no API key' },
|
|
@@ -2662,10 +2764,10 @@ const dict = {
|
|
|
2662
2764
|
// ── screens/Onboarding.tsx(首次引导:四步把常用配置配好)────────────────
|
|
2663
2765
|
'onboarding-title': { zh: '欢迎使用 dsh-TUI', en: 'Welcome to dsh-TUI' },
|
|
2664
2766
|
'onboarding-step-progress': { zh: '第 {{n}} / {{total}} 步', en: 'Step {{n}} of {{total}}' },
|
|
2665
|
-
'onboarding-step-
|
|
2666
|
-
'onboarding-step-
|
|
2667
|
-
zh: '
|
|
2668
|
-
en: '
|
|
2767
|
+
'onboarding-step-access-title': { zh: '账号与模型接入', en: 'Accounts and models' },
|
|
2768
|
+
'onboarding-step-access-desc': {
|
|
2769
|
+
zh: '登录订阅账号或加一个 API key,再把接入进来的模型选一个作为默认。',
|
|
2770
|
+
en: 'Sign in to a subscription or add an API key, then pick one of the models it brings in as the default.',
|
|
2669
2771
|
},
|
|
2670
2772
|
'onboarding-step-look-title': { zh: '语言与主题', en: 'Language and theme' },
|
|
2671
2773
|
'onboarding-step-look-desc': {
|
|
@@ -2682,23 +2784,74 @@ const dict = {
|
|
|
2682
2784
|
zh: '几个最省时间的键和最常用的命令,每一张都能直接点开试试。',
|
|
2683
2785
|
en: 'The few keys and commands that save the most time — click any card to try it.',
|
|
2684
2786
|
},
|
|
2685
|
-
//
|
|
2686
|
-
//
|
|
2787
|
+
// 第一步:账号与模型接入。上半是状态(凭证 + 订阅登录,只报掩码事实),
|
|
2788
|
+
// 下半是动作行——登录与"加 API key"都由 Chat 交给既有流程执行。
|
|
2687
2789
|
'onboarding-key-checking': { zh: '正在读取凭证…', en: 'Reading credentials…' },
|
|
2688
2790
|
'onboarding-key-configured': { zh: '已检测到 DEEPSEEK_API_KEY', en: 'DEEPSEEK_API_KEY detected' },
|
|
2689
2791
|
'onboarding-key-source-env': { zh: '来源:环境变量', en: 'Source: environment variable' },
|
|
2690
2792
|
'onboarding-key-source-config': { zh: '来源:配置文件', en: 'Source: config file' },
|
|
2691
2793
|
'onboarding-key-source-unknown': { zh: '来源:未知', en: 'Source: unknown' },
|
|
2692
2794
|
'onboarding-key-missing': { zh: '还没检测到 DEEPSEEK_API_KEY', en: 'No DEEPSEEK_API_KEY yet' },
|
|
2795
|
+
'onboarding-key-optional': { zh: '未配置 DEEPSEEK_API_KEY(只有 DeepSeek 官方 API 需要)', en: 'DEEPSEEK_API_KEY is not set (only the DeepSeek official API needs it)' },
|
|
2693
2796
|
'onboarding-key-shape': { zh: '形如 sk-…(只判断存在与否,永远不显示完整值)', en: 'Looks like sk-… (presence only — the value is never printed)' },
|
|
2694
|
-
'onboarding-
|
|
2695
|
-
'onboarding-
|
|
2696
|
-
'onboarding-
|
|
2797
|
+
'onboarding-access-oauth-in': { zh: '已登录:{{providers}}(共 {{n}} 个账号)', en: 'Signed in: {{providers}} ({{n}} accounts)' },
|
|
2798
|
+
'onboarding-access-oauth-none': { zh: '还没有登录任何订阅账号', en: 'No subscription account signed in yet' },
|
|
2799
|
+
'onboarding-access-action-signin': { zh: '登录订阅账号(OAuth)', en: 'Sign in to a subscription (OAuth)' },
|
|
2800
|
+
'onboarding-access-action-signin-desc': {
|
|
2801
|
+
zh: 'ChatGPT / Claude / Grok 等订阅,或 DeepSeek 账号浏览器授权(已登录 {{signed}} / {{total}})',
|
|
2802
|
+
en: 'ChatGPT / Claude / Grok subscriptions, or DeepSeek account browser sign-in ({{signed}} / {{total}} signed in)',
|
|
2803
|
+
},
|
|
2804
|
+
'onboarding-access-action-add': { zh: '添加模型提供方(API key)', en: 'Add a model provider (API key)' },
|
|
2805
|
+
'onboarding-access-action-add-desc': {
|
|
2806
|
+
zh: '内置目录或自定义端点,密钥写进 DSH 凭据库(与 /provider 同一条路)',
|
|
2807
|
+
en: 'A built-in catalog or a custom endpoint; the key goes into the DSH credential store (the same path as /provider)',
|
|
2808
|
+
},
|
|
2809
|
+
'onboarding-access-action-recheck': { zh: '重新检查', en: 'Check again' },
|
|
2810
|
+
'onboarding-access-action-recheck-desc': {
|
|
2811
|
+
zh: '重读凭证、登录状态与可用模型',
|
|
2812
|
+
en: 'Re-read credentials, sign-in state and available models',
|
|
2813
|
+
},
|
|
2814
|
+
'onboarding-access-action-next': { zh: '跳过这一步', en: 'Skip this step' },
|
|
2815
|
+
'onboarding-access-action-next-desc': {
|
|
2816
|
+
zh: '之后随时可用 /provider 或 /auth 配置',
|
|
2817
|
+
en: 'You can configure it later with /provider or /auth',
|
|
2818
|
+
},
|
|
2819
|
+
'onboarding-access-fallback': { zh: '当前组合里没有可用的接入入口,也可以手工配置:', en: 'No in-app access route is available in this composition; you can also configure it by hand:' },
|
|
2820
|
+
'onboarding-access-fallback-signin': { zh: '当前组合里订阅登录不可用', en: 'Subscription sign-in is not available in this composition' },
|
|
2821
|
+
'onboarding-access-fallback-provider': { zh: '/provider 需要经 dsh profile 启动', en: '/provider needs a launch through a dsh profile' },
|
|
2822
|
+
'onboarding-access-fallback-env': { zh: '环境变量(重启生效):', en: 'Environment variable (takes effect after a restart):' },
|
|
2823
|
+
'onboarding-access-fallback-powershell': { zh: 'PowerShell: [Environment]::SetEnvironmentVariable(\'DEEPSEEK_API_KEY\',\'sk-…\',\'User\')', en: 'PowerShell: [Environment]::SetEnvironmentVariable(\'DEEPSEEK_API_KEY\',\'sk-…\',\'User\')' },
|
|
2824
|
+
'onboarding-access-fallback-cmd': { zh: 'cmd: setx DEEPSEEK_API_KEY "sk-…"', en: 'cmd: setx DEEPSEEK_API_KEY "sk-…"' },
|
|
2825
|
+
'onboarding-access-fallback-store': { zh: '或写进 DSH 凭据库的 refs 段(默认位置):', en: 'Or write it into the DSH credential store\'s refs block (default location):' },
|
|
2826
|
+
'onboarding-access-fallback-store-path': { zh: '~/.dsh/.credentials.yaml(DSH_HOME 覆盖时随之改变)', en: '~/.dsh/.credentials.yaml (moves with a DSH_HOME override)' },
|
|
2827
|
+
'onboarding-access-signin-title': { zh: '选择要登录的账号', en: 'Choose an account to sign in' },
|
|
2828
|
+
'onboarding-access-signin-hint': { zh: '**↑/↓** 选账号 · **Enter** 登录 · **Esc** 返回', en: '**↑/↓** pick · **Enter** sign in · **Esc** back' },
|
|
2829
|
+
'onboarding-access-oauth-row': { zh: '{{provider}} — {{state}}', en: '{{provider}} — {{state}}' },
|
|
2830
|
+
'onboarding-access-back': { zh: '← 返回', en: '← Back' },
|
|
2831
|
+
'onboarding-access-in-flight': { zh: '上一项配置还在进行:接下来的问题会在问答面板里弹出,结束后这里显示结果', en: 'A configuration is still in progress: its next questions open in the question panel, and the result shows here when it ends' },
|
|
2832
|
+
'onboarding-access-action-busy-desc': { zh: '上一项配置结束前不能再发起', en: 'Unavailable until the current configuration ends' },
|
|
2833
|
+
'onboarding-access-cancelled': { zh: '已取消,没有写入任何东西', en: 'Cancelled — nothing was written' },
|
|
2834
|
+
'onboarding-access-action-failed': { zh: '这次配置没有完成,可以重试或换一种方式', en: 'That configuration did not complete — retry, or use another route' },
|
|
2835
|
+
'onboarding-access-action-failed-reason': { zh: '这次配置没有完成:{{reason}}', en: 'That configuration did not complete: {{reason}}' },
|
|
2836
|
+
'onboarding-access-changed': { zh: '设置已更新,没有新增模型', en: 'Settings updated; no models were added' },
|
|
2837
|
+
'onboarding-access-added-none': { zh: '这次没有新增可用模型(若取消了登录,可再试一次)', en: 'No new models this time (if you cancelled the sign-in, try again)' },
|
|
2838
|
+
'onboarding-access-added-none-for': { zh: '{{provider}} 这次没有新增可用模型', en: '{{provider}} brought in no new models this time' },
|
|
2839
|
+
'onboarding-access-added-auto': { zh: '已接入 {{provider}},默认模型设为 {{name}}', en: 'Adopted {{provider}}; default model set to {{name}}' },
|
|
2840
|
+
'onboarding-access-added-provider': { zh: '已接入 {{provider}} 的 {{n}} 个模型;默认模型:{{model}}', en: 'Added {{n}} models from {{provider}}; default model: {{model}}' },
|
|
2841
|
+
'onboarding-access-adopt-title': { zh: '{{provider}} 接入 {{n}} 个可用模型', en: '{{provider}} brought in {{n}} models' },
|
|
2842
|
+
'onboarding-access-adopt-title-multi': { zh: '接入 {{n}} 个可用模型({{providers}} 个 provider)', en: '{{n}} models became available ({{providers}} providers)' },
|
|
2843
|
+
'onboarding-access-adopt-note': {
|
|
2844
|
+
zh: '登录后这些模型都已可用(/model 里随时能换);这里只选一个作为默认模型。',
|
|
2845
|
+
en: 'All of these are usable now that you are signed in (switch anytime in /model); this only picks the default model.',
|
|
2846
|
+
},
|
|
2847
|
+
'onboarding-access-adopt-hint': { zh: '**↑/↓** 移动 · **Enter** 设为默认 · **Esc** 保持当前模型', en: '**↑/↓** moves · **Enter** sets the default · **Esc** keeps the current model' },
|
|
2848
|
+
'onboarding-access-adopt-cancelled': { zh: '已保持当前模型;新模型都已可用,随时可在 /model 里切换', en: 'Kept the current model; the new models are all available and can be switched in /model anytime' },
|
|
2697
2849
|
'onboarding-conn-running': { zh: '正在连接 DeepSeek…', en: 'Connecting to DeepSeek…' },
|
|
2698
2850
|
'onboarding-conn-ok': { zh: '连通正常', en: 'Connected' },
|
|
2699
2851
|
'onboarding-conn-models': { zh: '{{count}} 个可用模型', en: '{{count}} models available' },
|
|
2700
2852
|
'onboarding-conn-balance': { zh: '余额 {{amount}}', en: 'Balance {{amount}}' },
|
|
2701
2853
|
'onboarding-conn-balance-none': { zh: '本次没有返回余额信息', en: 'No balance returned this time' },
|
|
2854
|
+
'onboarding-conn-skipped': { zh: '已跳过 DeepSeek 余额检查(它只针对 DeepSeek 官方 key);已接入:{{providers}}', en: 'Skipped the DeepSeek balance check (it only covers the DeepSeek official key); connected: {{providers}}' },
|
|
2702
2855
|
'onboarding-conn-fail-no-key': { zh: '没有可用的凭证,连通性检查没法开始', en: 'No usable credential, so the check cannot start' },
|
|
2703
2856
|
'onboarding-conn-fail-network': { zh: '网络不通:检查代理、防火墙或离线环境', en: 'Network unreachable: check proxy, firewall or offline setup' },
|
|
2704
2857
|
'onboarding-conn-fail-unauthorized': { zh: '凭证被拒绝:检查 key 是否复制完整、是否已失效', en: 'Credential rejected: check the key is complete and still valid' },
|
|
@@ -2744,7 +2897,7 @@ const dict = {
|
|
|
2744
2897
|
zh: '这次引导没能记进 ~/.dsh-tui/onboarding.json,下次启动可能还会再问一次',
|
|
2745
2898
|
en: 'Could not record the guide in ~/.dsh-tui/onboarding.json, so it may ask again next launch',
|
|
2746
2899
|
},
|
|
2747
|
-
'cmd-desc-setup': { zh: '
|
|
2900
|
+
'cmd-desc-setup': { zh: '重跑首次引导(账号与模型接入 / 语言主题 / 模型工作区 / 快捷键)' },
|
|
2748
2901
|
};
|
|
2749
2902
|
/** The active language, module-level so non-React modules (channel.ts,
|
|
2750
2903
|
* loaded-context.ts) resolve strings without a context. Defaults to `zh`
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* In-process progress for the first-run guide, at module scope.
|
|
3
|
+
*
|
|
4
|
+
* Not a persisted preference and deliberately not part of `onboardingPrefs`
|
|
5
|
+
* (that file owns the one-shot accounting, and a process that dies mid-guide
|
|
6
|
+
* must not burn the installation's only first run). This store exists for one
|
|
7
|
+
* mechanical reason:
|
|
8
|
+
*
|
|
9
|
+
* The question and approval panels share the interrupt lane with every
|
|
10
|
+
* full-screen surface — while a panel is pending the screen is UNMOUNTED
|
|
11
|
+
* and remounted once the answer lands (`Chat.tsx`, the `interruptPanel &&
|
|
12
|
+
* screenOpen` branch; `screenOpen` includes `onboardingOpen`). An access
|
|
13
|
+
* step that opens a panel (API-key entry, an OAuth device code or authorize
|
|
14
|
+
* URL) therefore loses all of its React state at exactly the moment the
|
|
15
|
+
* flow has something to report back.
|
|
16
|
+
*
|
|
17
|
+
* So the guide keeps the mechanical facts here: which step and row the user
|
|
18
|
+
* was on, the catalog snapshot taken BEFORE the action (the diff baseline for
|
|
19
|
+
* `onboardingProviderPlan`), the action that is in flight, and the one-line
|
|
20
|
+
* notice to restore. Everything else stays in component state.
|
|
21
|
+
*
|
|
22
|
+
* Lifecycle: written on change, read on mount, cleared when the guide closes
|
|
23
|
+
* either way (finish or skip) — a stale draft must never steer the next
|
|
24
|
+
* `/setup`. The slot is in-process only: nothing is serialized, so there is no
|
|
25
|
+
* stored shape to parse or normalize, and a fresh process starts at step 0.
|
|
26
|
+
*
|
|
27
|
+
* @module @deepseek-harness-tui/dsh-tui/onboardingDraft
|
|
28
|
+
*/
|
|
29
|
+
import type { ProviderModelRef } from './components/onboardingProviderPlan.js';
|
|
30
|
+
/**
|
|
31
|
+
* The access action whose result the guide is waiting for.
|
|
32
|
+
*
|
|
33
|
+
* `id` is what makes completions unambiguous: closing the guide clears the
|
|
34
|
+
* draft but cannot cancel the provider flow, so a leftover promise can finish
|
|
35
|
+
* after the user reopened `/setup` and started a NEW action. Without an id that
|
|
36
|
+
* late callback would overwrite the new `pending` record with its own
|
|
37
|
+
* `completed` one — the guide would settle the abandoned action and the live
|
|
38
|
+
* one would lose its result.
|
|
39
|
+
*/
|
|
40
|
+
export interface OnboardingPendingAction {
|
|
41
|
+
/** Monotonic id allocated when the action starts (see {@link nextOnboardingActionId}). */
|
|
42
|
+
readonly id: number;
|
|
43
|
+
readonly kind: 'sign-in' | 'add-provider';
|
|
44
|
+
/** Provider id for `sign-in`; absent for the add-provider wizard. */
|
|
45
|
+
readonly provider?: string | undefined;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* How an in-flight access action ended. The neutral vocabulary the guide
|
|
49
|
+
* consumes; the adapter's richer outcome union is mapped onto it at the write
|
|
50
|
+
* site. `changed` is a flow that finished without adding anything by intent
|
|
51
|
+
* (a sign-out, a route edit or delete), so the guide must not report it as an
|
|
52
|
+
* add that brought nothing.
|
|
53
|
+
*/
|
|
54
|
+
export type OnboardingCompletionStatus = 'added' | 'changed' | 'cancelled' | 'failed';
|
|
55
|
+
/** The finished action's result, written by whoever ran it. */
|
|
56
|
+
export interface OnboardingCompletion extends OnboardingPendingAction {
|
|
57
|
+
readonly status: OnboardingCompletionStatus;
|
|
58
|
+
/**
|
|
59
|
+
* The flow's newest notification since the action started — a failure's
|
|
60
|
+
* cause, or what a change did. The flows report only through the
|
|
61
|
+
* notification bar, which the full-screen guide covers, so the guide
|
|
62
|
+
* repeats it.
|
|
63
|
+
*/
|
|
64
|
+
readonly notice?: string | undefined;
|
|
65
|
+
}
|
|
66
|
+
/** Mechanical guide progress (see the module doc for why it exists). */
|
|
67
|
+
export interface OnboardingDraft {
|
|
68
|
+
/** Zero-based step index, already clamped by the caller. */
|
|
69
|
+
readonly step: number;
|
|
70
|
+
/** Focus row inside the current step/layer. */
|
|
71
|
+
readonly focus: number;
|
|
72
|
+
/**
|
|
73
|
+
* Stable focus identity for step 1's action list (`'signin' | 'add' | …`).
|
|
74
|
+
* The list grows asynchronously, so an index alone would restore the wrong
|
|
75
|
+
* action: the same index means a different row once sign-in/add are present.
|
|
76
|
+
*/
|
|
77
|
+
readonly focusId: string | undefined;
|
|
78
|
+
/**
|
|
79
|
+
* Catalog snapshot taken before the in-flight action; the diff baseline.
|
|
80
|
+
* Empty when no action has run, which makes the first diff "everything is
|
|
81
|
+
* new" — only reachable if a caller reads the plan without an action, and
|
|
82
|
+
* the callers never do.
|
|
83
|
+
*/
|
|
84
|
+
readonly baseline: readonly ProviderModelRef[];
|
|
85
|
+
/**
|
|
86
|
+
* The action in flight. Stays set for the WHOLE run — a question panel can
|
|
87
|
+
* close between two questions (model discovery, profile write) and remount
|
|
88
|
+
* the guide while the flow is still working, and settling then would read a
|
|
89
|
+
* catalog that has not changed yet and drop the result.
|
|
90
|
+
*/
|
|
91
|
+
readonly pending: OnboardingPendingAction | undefined;
|
|
92
|
+
/**
|
|
93
|
+
* Set by the runner when the action ends. Settling requires this: the
|
|
94
|
+
* remount that happens mid-run must wait for it, and a late completion must
|
|
95
|
+
* still be able to reach the instance that is on screen.
|
|
96
|
+
*/
|
|
97
|
+
readonly completed: OnboardingCompletion | undefined;
|
|
98
|
+
/** Notice line to restore after a remount. */
|
|
99
|
+
readonly notice: OnboardingNotice | undefined;
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* The guide's one-line notice. The tone travels with the text: a failure or a
|
|
103
|
+
* cancellation restored after a remount must not come back in the success
|
|
104
|
+
* colour.
|
|
105
|
+
*/
|
|
106
|
+
export interface OnboardingNotice {
|
|
107
|
+
readonly text: string;
|
|
108
|
+
readonly tone: 'success' | 'warning' | 'error';
|
|
109
|
+
}
|
|
110
|
+
/** What `readOnboardingDraft` answers when nothing is in flight. */
|
|
111
|
+
export declare const EMPTY_ONBOARDING_DRAFT: OnboardingDraft;
|
|
112
|
+
/**
|
|
113
|
+
* Allocate the id for a starting action.
|
|
114
|
+
*
|
|
115
|
+
* @returns A positive, strictly increasing id (1-based).
|
|
116
|
+
*/
|
|
117
|
+
export declare function nextOnboardingActionId(): number;
|
|
118
|
+
/**
|
|
119
|
+
* Observe draft writes. The guide subscribes so a completion that lands while
|
|
120
|
+
* it is mounted (or after a remount) settles there, instead of being lost to
|
|
121
|
+
* the instance that started the action.
|
|
122
|
+
*
|
|
123
|
+
* @param listener - Called after every write and clear.
|
|
124
|
+
* @returns Unsubscribe.
|
|
125
|
+
*/
|
|
126
|
+
export declare function subscribeOnboardingDraft(listener: () => void): () => void;
|
|
127
|
+
/**
|
|
128
|
+
* Read the draft in flight.
|
|
129
|
+
*
|
|
130
|
+
* @returns The stored draft, or `undefined` when the guide has no progress to
|
|
131
|
+
* restore (first mount, or after {@link clearOnboardingDraft}).
|
|
132
|
+
*/
|
|
133
|
+
export declare function readOnboardingDraft(): OnboardingDraft | undefined;
|
|
134
|
+
/**
|
|
135
|
+
* Merge a patch into the draft, creating it on first write.
|
|
136
|
+
*
|
|
137
|
+
* @param patch - Fields to replace.
|
|
138
|
+
* @returns The stored draft after the write.
|
|
139
|
+
*/
|
|
140
|
+
export declare function writeOnboardingDraft(patch: Partial<OnboardingDraft>): OnboardingDraft;
|
|
141
|
+
/** Drop the draft; called on both guide exits (finish and skip). */
|
|
142
|
+
export declare function clearOnboardingDraft(): void;
|
|
143
|
+
//# sourceMappingURL=onboardingDraft.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"onboardingDraft.d.ts","sourceRoot":"","sources":["../../src/onboardingDraft.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAA;AAE9E;;;;;;;;;GASG;AACH,MAAM,WAAW,uBAAuB;IACtC,0FAA0F;IAC1F,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAA;IACnB,QAAQ,CAAC,IAAI,EAAE,SAAS,GAAG,cAAc,CAAA;IACzC,qEAAqE;IACrE,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CACvC;AAED;;;;;;GAMG;AACH,MAAM,MAAM,0BAA0B,GAAG,OAAO,GAAG,SAAS,GAAG,WAAW,GAAG,QAAQ,CAAA;AAErF,+DAA+D;AAC/D,MAAM,WAAW,oBAAqB,SAAQ,uBAAuB;IACnE,QAAQ,CAAC,MAAM,EAAE,0BAA0B,CAAA;IAC3C;;;;;OAKG;IACH,QAAQ,CA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answers when nothing is in flight. */
|
|
2
|
+
export const EMPTY_ONBOARDING_DRAFT = {
|
|
3
|
+
step: 0,
|
|
4
|
+
focus: 0,
|
|
5
|
+
focusId: undefined,
|
|
6
|
+
baseline: [],
|
|
7
|
+
pending: undefined,
|
|
8
|
+
completed: undefined,
|
|
9
|
+
notice: undefined,
|
|
10
|
+
};
|
|
11
|
+
let current;
|
|
12
|
+
let actionSeq = 0;
|
|
13
|
+
const listeners = new Set();
|
|
14
|
+
/**
|
|
15
|
+
* Allocate the id for a starting action.
|
|
16
|
+
*
|
|
17
|
+
* @returns A positive, strictly increasing id (1-based).
|
|
18
|
+
*/
|
|
19
|
+
export function nextOnboardingActionId() {
|
|
20
|
+
actionSeq += 1;
|
|
21
|
+
return actionSeq;
|
|
22
|
+
}
|
|
23
|
+
function emit() {
|
|
24
|
+
for (const listener of [...listeners]) {
|
|
25
|
+
try {
|
|
26
|
+
listener();
|
|
27
|
+
}
|
|
28
|
+
catch {
|
|
29
|
+
// A listener must never break the write that notified it.
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Observe draft writes. The guide subscribes so a completion that lands while
|
|
35
|
+
* it is mounted (or after a remount) settles there, instead of being lost to
|
|
36
|
+
* the instance that started the action.
|
|
37
|
+
*
|
|
38
|
+
* @param listener - Called after every write and clear.
|
|
39
|
+
* @returns Unsubscribe.
|
|
40
|
+
*/
|
|
41
|
+
export function subscribeOnboardingDraft(listener) {
|
|
42
|
+
listeners.add(listener);
|
|
43
|
+
return () => {
|
|
44
|
+
listeners.delete(listener);
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Read the draft in flight.
|
|
49
|
+
*
|
|
50
|
+
* @returns The stored draft, or `undefined` when the guide has no progress to
|
|
51
|
+
* restore (first mount, or after {@link clearOnboardingDraft}).
|
|
52
|
+
*/
|
|
53
|
+
export function readOnboardingDraft() {
|
|
54
|
+
return current;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Merge a patch into the draft, creating it on first write.
|
|
58
|
+
*
|
|
59
|
+
* @param patch - Fields to replace.
|
|
60
|
+
* @returns The stored draft after the write.
|
|
61
|
+
*/
|
|
62
|
+
export function writeOnboardingDraft(patch) {
|
|
63
|
+
current = { ...(current ?? EMPTY_ONBOARDING_DRAFT), ...patch };
|
|
64
|
+
emit();
|
|
65
|
+
return current;
|
|
66
|
+
}
|
|
67
|
+
/** Drop the draft; called on both guide exits (finish and skip). */
|
|
68
|
+
export function clearOnboardingDraft() {
|
|
69
|
+
current = undefined;
|
|
70
|
+
emit();
|
|
71
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Chat.d.ts","sourceRoot":"","sources":["../../../src/screens/Chat.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AA6BzB,OAAO,KAAK,EAAE,SAAS,IAAI,OAAO,EAAE,MAAM,iCAAiC,CAAA;AAE3E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAA;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAC1D,OAAO,EAAE,cAAc,EAAwB,MAAM,0BAA0B,CAAA;AAC/E,OAAO,EAAE,aAAa,EAAe,MAAM,kCAAkC,CAAA;AAW7E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAA;AAClE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAO5D,OAAO,EAAmB,KAAK,qBAAqB,EAAE,MAAM,2BAA2B,CAAA;AAkBvF,OAAO,EAAiC,KAAK,WAAW,EAAE,MAAM,6BAA6B,CAAA;AAC7F,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAA;AAQrE,OAAO,EAAyC,KAAK,gBAAgB,EAAE,MAAM,8BAA8B,CAAA;AAO3G,OAAO,KAAK,EAAE,gBAAgB,EAAE,MA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