@deepseek-harness-tui/dsh-tui 0.8.6 → 0.8.7
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 +13 -3
- package/bin/dsh-tui.js +269 -218
- package/cordis.patch.yml +48 -22
- package/lib/types/cc/figures.d.ts.map +1 -1
- package/lib/types/cc/figures.js +14 -13
- package/lib/types/cc/syntaxRuns.d.ts +16 -0
- package/lib/types/cc/syntaxRuns.d.ts.map +1 -0
- package/lib/types/cc/syntaxRuns.js +79 -0
- package/lib/types/commands.d.ts +14 -0
- package/lib/types/commands.d.ts.map +1 -1
- package/lib/types/commands.js +20 -1
- package/lib/types/components/Chat/SubagentMessage.d.ts +19 -0
- package/lib/types/components/Chat/SubagentMessage.d.ts.map +1 -0
- package/lib/types/components/Chat/SubagentMessage.js +75 -0
- package/lib/types/components/EffortInputBorder.d.ts.map +1 -1
- package/lib/types/components/EffortInputBorder.js +2 -2
- package/lib/types/components/EffortTierBadge.js +1 -1
- package/lib/types/components/HelpMenu.d.ts +8 -1
- package/lib/types/components/HelpMenu.d.ts.map +1 -1
- package/lib/types/components/HelpMenu.js +15 -4
- package/lib/types/components/LogoV2.d.ts +3 -1
- package/lib/types/components/LogoV2.d.ts.map +1 -1
- package/lib/types/components/LogoV2.js +2 -2
- package/lib/types/components/MessageList.d.ts +6 -2
- package/lib/types/components/MessageList.d.ts.map +1 -1
- package/lib/types/components/MessageList.js +17 -6
- package/lib/types/components/ModelPicker.js +2 -2
- package/lib/types/components/PromptInput.d.ts +1 -1
- package/lib/types/components/PromptInput.d.ts.map +1 -1
- package/lib/types/components/PromptInput.js +75 -15
- package/lib/types/components/SkillsPicker.js +2 -2
- package/lib/types/components/SplitDiffView.d.ts +1 -13
- package/lib/types/components/SplitDiffView.d.ts.map +1 -1
- package/lib/types/components/SplitDiffView.js +6 -105
- package/lib/types/components/SubagentCard.d.ts +9 -0
- package/lib/types/components/SubagentCard.d.ts.map +1 -0
- package/lib/types/components/SubagentCard.js +26 -0
- package/lib/types/components/SubagentDashboard.d.ts +13 -0
- package/lib/types/components/SubagentDashboard.d.ts.map +1 -0
- package/lib/types/components/SubagentDashboard.js +50 -0
- package/lib/types/components/SubagentDetailScene.d.ts +16 -0
- package/lib/types/components/SubagentDetailScene.d.ts.map +1 -0
- package/lib/types/components/SubagentDetailScene.js +141 -0
- package/lib/types/components/SyntaxText.d.ts +15 -0
- package/lib/types/components/SyntaxText.d.ts.map +1 -0
- package/lib/types/components/SyntaxText.js +34 -0
- package/lib/types/components/ThinkingToggle.d.ts +3 -10
- package/lib/types/components/ThinkingToggle.d.ts.map +1 -1
- package/lib/types/components/ThinkingToggle.js +4 -9
- package/lib/types/components/design-system/ListItem.d.ts.map +1 -1
- package/lib/types/components/design-system/ListItem.js +1 -1
- package/lib/types/components/messages/AssistantThinkingMessage.d.ts.map +1 -1
- package/lib/types/components/messages/AssistantThinkingMessage.js +18 -7
- package/lib/types/components/messages/AssistantToolUseMessage.d.ts +2 -0
- package/lib/types/components/messages/AssistantToolUseMessage.d.ts.map +1 -1
- package/lib/types/components/messages/AssistantToolUseMessage.js +42 -6
- package/lib/types/components/messages/UserPromptMessage.d.ts.map +1 -1
- package/lib/types/components/messages/UserPromptMessage.js +15 -2
- package/lib/types/dsh-adapter/channel.d.ts +53 -2
- package/lib/types/dsh-adapter/channel.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel.js +294 -7
- package/lib/types/dsh-adapter/contract.d.ts +27 -4
- package/lib/types/dsh-adapter/contract.d.ts.map +1 -1
- package/lib/types/dsh-adapter/contract.js +56 -10
- package/lib/types/dsh-adapter/index.d.ts.map +1 -1
- package/lib/types/dsh-adapter/index.js +9 -3
- package/lib/types/dsh-adapter/plugin.d.ts.map +1 -1
- package/lib/types/dsh-adapter/plugin.js +38 -0
- package/lib/types/dsh-adapter/shortcuts.js +3 -3
- package/lib/types/dsh-adapter/subagents.d.ts +87 -0
- package/lib/types/dsh-adapter/subagents.d.ts.map +1 -0
- package/lib/types/dsh-adapter/subagents.js +204 -0
- package/lib/types/herdr.d.ts +28 -0
- package/lib/types/herdr.d.ts.map +1 -0
- package/lib/types/herdr.js +133 -0
- package/lib/types/i18n.d.ts +215 -31
- package/lib/types/i18n.d.ts.map +1 -1
- package/lib/types/i18n.js +65 -14
- package/lib/types/ink/ink.d.ts +4 -0
- package/lib/types/ink/ink.d.ts.map +1 -1
- package/lib/types/ink/ink.js +46 -15
- package/lib/types/minimalMode.d.ts +13 -0
- package/lib/types/minimalMode.d.ts.map +1 -0
- package/lib/types/minimalMode.js +17 -0
- package/lib/types/screens/Chat.d.ts +1 -1
- package/lib/types/screens/Chat.d.ts.map +1 -1
- package/lib/types/screens/Chat.js +94 -43
- package/lib/types/screens/StatusLine.d.ts.map +1 -1
- package/lib/types/screens/StatusLine.js +6 -2
- package/lib/types/screens/TrajectoryScene.d.ts.map +1 -1
- package/lib/types/screens/TrajectoryScene.js +4 -2
- package/lib/types/theme.d.ts +8 -0
- package/lib/types/theme.d.ts.map +1 -1
- package/lib/types/theme.js +38 -14
- package/lib/types/tips.js +3 -3
- package/lib/types/update.d.ts +18 -0
- package/lib/types/update.d.ts.map +1 -1
- package/lib/types/update.js +73 -2
- package/lib/types/utils/execFileNoThrow.d.ts +3 -20
- package/lib/types/utils/execFileNoThrow.d.ts.map +1 -1
- package/lib/types/utils/execFileNoThrow.js +53 -32
- package/lib/types/utils/externalEditor.d.ts +12 -11
- package/lib/types/utils/externalEditor.d.ts.map +1 -1
- package/lib/types/utils/externalEditor.js +11 -11
- package/package.json +64 -58
package/lib/types/i18n.d.ts
CHANGED
|
@@ -263,6 +263,26 @@ declare const dict: {
|
|
|
263
263
|
readonly zh: "查询失败 · {{err}}";
|
|
264
264
|
readonly en: "Query failed · {{err}}";
|
|
265
265
|
};
|
|
266
|
+
readonly 'subagent-tools': {
|
|
267
|
+
readonly zh: "工具";
|
|
268
|
+
readonly en: "Tools";
|
|
269
|
+
};
|
|
270
|
+
readonly 'subagent-expand-hint': {
|
|
271
|
+
readonly zh: "按 Enter 展开完整输出";
|
|
272
|
+
readonly en: "Press Enter to expand full output";
|
|
273
|
+
};
|
|
274
|
+
readonly 'subagent-status-running': {
|
|
275
|
+
readonly zh: "运行中";
|
|
276
|
+
readonly en: "running";
|
|
277
|
+
};
|
|
278
|
+
readonly 'subagent-status-completed': {
|
|
279
|
+
readonly zh: "已完成";
|
|
280
|
+
readonly en: "completed";
|
|
281
|
+
};
|
|
282
|
+
readonly 'subagent-status-failed': {
|
|
283
|
+
readonly zh: "失败";
|
|
284
|
+
readonly en: "failed";
|
|
285
|
+
};
|
|
266
286
|
readonly 'agent-preset-switched': {
|
|
267
287
|
readonly zh: "Agent preset 已切换:{{preset}}";
|
|
268
288
|
readonly en: "Agent preset switched: {{preset}}";
|
|
@@ -884,16 +904,16 @@ declare const dict: {
|
|
|
884
904
|
readonly en: "/{{name}}: no such command";
|
|
885
905
|
};
|
|
886
906
|
readonly 'thinking-toggled': {
|
|
887
|
-
readonly zh: "
|
|
888
|
-
readonly en: "Thinking {{state}}";
|
|
907
|
+
readonly zh: "思考过程:{{state}}";
|
|
908
|
+
readonly en: "Thinking display: {{state}}";
|
|
889
909
|
};
|
|
890
910
|
readonly 'thinking-on': {
|
|
891
|
-
readonly zh: "
|
|
892
|
-
readonly en: "
|
|
911
|
+
readonly zh: "显示";
|
|
912
|
+
readonly en: "shown";
|
|
893
913
|
};
|
|
894
914
|
readonly 'thinking-off': {
|
|
895
|
-
readonly zh: "
|
|
896
|
-
readonly en: "
|
|
915
|
+
readonly zh: "隐藏";
|
|
916
|
+
readonly en: "hidden";
|
|
897
917
|
};
|
|
898
918
|
readonly 'tokens-usage': {
|
|
899
919
|
readonly zh: "Tokens:{{in}} 输入 · {{out}} 输出";
|
|
@@ -1036,8 +1056,8 @@ declare const dict: {
|
|
|
1036
1056
|
readonly en: "Clipboard is empty";
|
|
1037
1057
|
};
|
|
1038
1058
|
readonly 'input-editor-unavailable': {
|
|
1039
|
-
readonly zh: "
|
|
1040
|
-
readonly en: "No editor
|
|
1059
|
+
readonly zh: "错误:未配置编辑器。请设置 $VISUAL 或 $EDITOR 环境变量。";
|
|
1060
|
+
readonly en: "Error: No editor configured. Set $VISUAL or $EDITOR environment variable.";
|
|
1041
1061
|
};
|
|
1042
1062
|
readonly 'input-editor-failed': {
|
|
1043
1063
|
readonly zh: "外部编辑器失败:{{name}}";
|
|
@@ -1180,13 +1200,17 @@ declare const dict: {
|
|
|
1180
1200
|
readonly en: "shift+tab to cycle mode";
|
|
1181
1201
|
};
|
|
1182
1202
|
readonly 'help-open-editor': {
|
|
1183
|
-
readonly zh: "ctrl+
|
|
1184
|
-
readonly en: "ctrl+
|
|
1203
|
+
readonly zh: "ctrl+g 打开编辑器";
|
|
1204
|
+
readonly en: "ctrl+g to open editor";
|
|
1185
1205
|
};
|
|
1186
1206
|
readonly 'help-commands-title': {
|
|
1187
1207
|
readonly zh: "命令:";
|
|
1188
1208
|
readonly en: "commands:";
|
|
1189
1209
|
};
|
|
1210
|
+
readonly 'help-scroll-hint': {
|
|
1211
|
+
readonly zh: "↑/↓ 滚动 · PgUp/PgDn 翻页 · Home/End 首尾 · Esc 关闭";
|
|
1212
|
+
readonly en: "↑/↓ scroll · PgUp/PgDn page · Home/End jump · Esc close";
|
|
1213
|
+
};
|
|
1190
1214
|
readonly 'tips-title': {
|
|
1191
1215
|
readonly zh: "使用技巧(快捷键 · 命令 · 工作流 · 个性化 · 避坑)";
|
|
1192
1216
|
readonly en: "Usage tips (shortcuts · commands · workflow · display · gotchas)";
|
|
@@ -1748,36 +1772,28 @@ declare const dict: {
|
|
|
1748
1772
|
readonly en: "No";
|
|
1749
1773
|
};
|
|
1750
1774
|
readonly 'thinking-title': {
|
|
1751
|
-
readonly zh: "
|
|
1752
|
-
readonly en: "
|
|
1775
|
+
readonly zh: "思考过程显示";
|
|
1776
|
+
readonly en: "Thinking display";
|
|
1753
1777
|
};
|
|
1754
1778
|
readonly 'thinking-subtitle': {
|
|
1755
|
-
readonly zh: "
|
|
1756
|
-
readonly en: "
|
|
1779
|
+
readonly zh: "只控制思考过程是否显示,不改变模型的思考行为。";
|
|
1780
|
+
readonly en: "Only controls whether reasoning is shown; it does not change model behavior.";
|
|
1757
1781
|
};
|
|
1758
1782
|
readonly 'thinking-enabled': {
|
|
1759
|
-
readonly zh: "
|
|
1760
|
-
readonly en: "
|
|
1783
|
+
readonly zh: "显示";
|
|
1784
|
+
readonly en: "Shown";
|
|
1761
1785
|
};
|
|
1762
1786
|
readonly 'thinking-enabled-desc': {
|
|
1763
|
-
readonly zh: "DeepSeek
|
|
1764
|
-
readonly en: "DeepSeek
|
|
1787
|
+
readonly zh: "在对话中显示 DeepSeek 的思考过程";
|
|
1788
|
+
readonly en: "Show DeepSeek's reasoning in the conversation";
|
|
1765
1789
|
};
|
|
1766
1790
|
readonly 'thinking-disabled': {
|
|
1767
|
-
readonly zh: "
|
|
1768
|
-
readonly en: "
|
|
1791
|
+
readonly zh: "隐藏";
|
|
1792
|
+
readonly en: "Hidden";
|
|
1769
1793
|
};
|
|
1770
1794
|
readonly 'thinking-disabled-desc': {
|
|
1771
|
-
readonly zh: "
|
|
1772
|
-
readonly en: "
|
|
1773
|
-
};
|
|
1774
|
-
readonly 'thinking-mid-warning': {
|
|
1775
|
-
readonly zh: "在对话中途切换思考模式会增加延迟,并可能降低质量。建议在会话开始时设置。";
|
|
1776
|
-
readonly en: "Changing thinking mode mid-conversation will increase latency and may reduce quality. For best results, set this at the start of a session.";
|
|
1777
|
-
};
|
|
1778
|
-
readonly 'thinking-proceed': {
|
|
1779
|
-
readonly zh: "要继续吗?";
|
|
1780
|
-
readonly en: "Do you want to proceed?";
|
|
1795
|
+
readonly zh: "隐藏思考过程;模型仍会照常思考";
|
|
1796
|
+
readonly en: "Hide reasoning; the model will still think as usual";
|
|
1781
1797
|
};
|
|
1782
1798
|
readonly 'thinking-label': {
|
|
1783
1799
|
readonly zh: "思考";
|
|
@@ -1959,6 +1975,114 @@ declare const dict: {
|
|
|
1959
1975
|
readonly zh: "↑/↓ 选择 · Enter 确认 · Esc 拒绝";
|
|
1960
1976
|
readonly en: "↑/↓ select · Enter confirm · Esc reject";
|
|
1961
1977
|
};
|
|
1978
|
+
readonly 'subagent-model': {
|
|
1979
|
+
readonly zh: "模型";
|
|
1980
|
+
readonly en: "Model";
|
|
1981
|
+
};
|
|
1982
|
+
readonly 'subagent-duration': {
|
|
1983
|
+
readonly zh: "时长";
|
|
1984
|
+
readonly en: "Duration";
|
|
1985
|
+
};
|
|
1986
|
+
readonly 'subagent-status-label': {
|
|
1987
|
+
readonly zh: "状态";
|
|
1988
|
+
readonly en: "Status";
|
|
1989
|
+
};
|
|
1990
|
+
readonly 'subagent-status-cancelled': {
|
|
1991
|
+
readonly zh: "已取消";
|
|
1992
|
+
readonly en: "Cancelled";
|
|
1993
|
+
};
|
|
1994
|
+
readonly 'subagent-count-running': {
|
|
1995
|
+
readonly zh: "运行中";
|
|
1996
|
+
readonly en: "running";
|
|
1997
|
+
};
|
|
1998
|
+
readonly 'subagent-count-completed': {
|
|
1999
|
+
readonly zh: "已完成";
|
|
2000
|
+
readonly en: "completed";
|
|
2001
|
+
};
|
|
2002
|
+
readonly 'subagent-count-failed': {
|
|
2003
|
+
readonly zh: "失败";
|
|
2004
|
+
readonly en: "failed";
|
|
2005
|
+
};
|
|
2006
|
+
readonly 'subagent-running-label': {
|
|
2007
|
+
readonly zh: "运行中";
|
|
2008
|
+
readonly en: "Running";
|
|
2009
|
+
};
|
|
2010
|
+
readonly 'subagent-started': {
|
|
2011
|
+
readonly zh: "开始时间";
|
|
2012
|
+
readonly en: "Started";
|
|
2013
|
+
};
|
|
2014
|
+
readonly 'subagent-completed': {
|
|
2015
|
+
readonly zh: "完成时间";
|
|
2016
|
+
readonly en: "Completed";
|
|
2017
|
+
};
|
|
2018
|
+
readonly 'subagent-id': {
|
|
2019
|
+
readonly zh: "ID";
|
|
2020
|
+
readonly en: "ID";
|
|
2021
|
+
};
|
|
2022
|
+
readonly 'subagent-error-label': {
|
|
2023
|
+
readonly zh: "错误";
|
|
2024
|
+
readonly en: "Error";
|
|
2025
|
+
};
|
|
2026
|
+
readonly 'subagent-output-label': {
|
|
2027
|
+
readonly zh: "输出";
|
|
2028
|
+
readonly en: "Output";
|
|
2029
|
+
};
|
|
2030
|
+
readonly 'subagent-no-output': {
|
|
2031
|
+
readonly zh: "暂无输出";
|
|
2032
|
+
readonly en: "No output yet";
|
|
2033
|
+
};
|
|
2034
|
+
readonly 'subagent-dashboard-title': {
|
|
2035
|
+
readonly zh: " 子代理面板 ";
|
|
2036
|
+
readonly en: " Subagent Dashboard ";
|
|
2037
|
+
};
|
|
2038
|
+
readonly 'subagent-dashboard-hint-basic': {
|
|
2039
|
+
readonly zh: "↑/↓ 浏览 · Esc 关闭";
|
|
2040
|
+
readonly en: "↑/↓ browse · Esc close";
|
|
2041
|
+
};
|
|
2042
|
+
readonly 'subagent-dashboard-hint-detail': {
|
|
2043
|
+
readonly zh: "↑/↓ 选择 · Enter 查看详情 · Esc 关闭";
|
|
2044
|
+
readonly en: "↑/↓ select · Enter view detail · Esc close";
|
|
2045
|
+
};
|
|
2046
|
+
readonly 'subagent-detail-hint-basic': {
|
|
2047
|
+
readonly zh: "↑/↓ 滚动 · Enter/Esc 返回";
|
|
2048
|
+
readonly en: "↑/↓ scroll · Enter/Esc back";
|
|
2049
|
+
};
|
|
2050
|
+
readonly 'subagent-detail-hint-enhanced': {
|
|
2051
|
+
readonly zh: "↑/↓ 滚动 · X 中断 · Esc 返回";
|
|
2052
|
+
readonly en: "↑/↓ scroll · X interrupt · Esc back";
|
|
2053
|
+
};
|
|
2054
|
+
readonly 'subagent-card-prefix': {
|
|
2055
|
+
readonly zh: "子代理:";
|
|
2056
|
+
readonly en: "Subagent: ";
|
|
2057
|
+
};
|
|
2058
|
+
readonly 'subagent-tab-summary': {
|
|
2059
|
+
readonly zh: "摘要";
|
|
2060
|
+
readonly en: "Summary";
|
|
2061
|
+
};
|
|
2062
|
+
readonly 'subagent-no-summary': {
|
|
2063
|
+
readonly zh: "暂无摘要";
|
|
2064
|
+
readonly en: "No summary yet";
|
|
2065
|
+
};
|
|
2066
|
+
readonly 'subagent-no-tools': {
|
|
2067
|
+
readonly zh: "暂无工具调用";
|
|
2068
|
+
readonly en: "No tool calls";
|
|
2069
|
+
};
|
|
2070
|
+
readonly 'subagent-hint-page': {
|
|
2071
|
+
readonly zh: "切页";
|
|
2072
|
+
readonly en: "page";
|
|
2073
|
+
};
|
|
2074
|
+
readonly 'subagent-hint-scroll': {
|
|
2075
|
+
readonly zh: "滚动";
|
|
2076
|
+
readonly en: "scroll";
|
|
2077
|
+
};
|
|
2078
|
+
readonly 'subagent-hint-back': {
|
|
2079
|
+
readonly zh: "返回";
|
|
2080
|
+
readonly en: "back";
|
|
2081
|
+
};
|
|
2082
|
+
readonly 'subagent-empty-hint': {
|
|
2083
|
+
readonly zh: "让主代理发起 Task 后,子代理会出现在这里";
|
|
2084
|
+
readonly en: "Subagents appear here once the main agent starts Task delegations";
|
|
2085
|
+
};
|
|
1962
2086
|
readonly 'plan-review-fallback-header': {
|
|
1963
2087
|
readonly zh: "计划评审";
|
|
1964
2088
|
readonly en: "Plan review";
|
|
@@ -2230,7 +2354,7 @@ declare const dict: {
|
|
|
2230
2354
|
readonly zh: "查看当前模型";
|
|
2231
2355
|
};
|
|
2232
2356
|
readonly 'cmd-desc-thinking': {
|
|
2233
|
-
readonly zh: "
|
|
2357
|
+
readonly zh: "显示或隐藏思考过程";
|
|
2234
2358
|
};
|
|
2235
2359
|
readonly 'cmd-desc-tokens': {
|
|
2236
2360
|
readonly zh: "查看会话 token 用量";
|
|
@@ -2441,6 +2565,66 @@ declare const dict: {
|
|
|
2441
2565
|
readonly zh: "{{key}} 看完整轨迹";
|
|
2442
2566
|
readonly en: "{{key}} for the full trajectory";
|
|
2443
2567
|
};
|
|
2568
|
+
readonly 'subagent.unnamed': {
|
|
2569
|
+
readonly zh: "未命名子代理";
|
|
2570
|
+
readonly en: "Unnamed subagent";
|
|
2571
|
+
};
|
|
2572
|
+
readonly 'subagent.no-model': {
|
|
2573
|
+
readonly zh: "未知模型";
|
|
2574
|
+
readonly en: "Unknown model";
|
|
2575
|
+
};
|
|
2576
|
+
readonly 'subagent.status.running': {
|
|
2577
|
+
readonly zh: "运行中";
|
|
2578
|
+
readonly en: "Running";
|
|
2579
|
+
};
|
|
2580
|
+
readonly 'subagent.status.completed': {
|
|
2581
|
+
readonly zh: "已完成";
|
|
2582
|
+
readonly en: "Completed";
|
|
2583
|
+
};
|
|
2584
|
+
readonly 'subagent.status.failed': {
|
|
2585
|
+
readonly zh: "失败";
|
|
2586
|
+
readonly en: "Failed";
|
|
2587
|
+
};
|
|
2588
|
+
readonly 'subagent.status.pending': {
|
|
2589
|
+
readonly zh: "等待中";
|
|
2590
|
+
readonly en: "Pending";
|
|
2591
|
+
};
|
|
2592
|
+
readonly 'subagent.dashboard.title': {
|
|
2593
|
+
readonly zh: "子代理面板";
|
|
2594
|
+
readonly en: "Subagent Dashboard";
|
|
2595
|
+
};
|
|
2596
|
+
readonly 'subagent.dashboard.stats': {
|
|
2597
|
+
readonly zh: "运行中: {{running}} · 已完成: {{completed}} · 失败: {{failed}}";
|
|
2598
|
+
readonly en: "Running: {{running}} · Completed: {{completed}} · Failed: {{failed}}";
|
|
2599
|
+
};
|
|
2600
|
+
readonly 'subagent.dashboard.empty': {
|
|
2601
|
+
readonly zh: "暂无子代理";
|
|
2602
|
+
readonly en: "No subagents yet";
|
|
2603
|
+
};
|
|
2604
|
+
readonly 'subagent.dashboard.help': {
|
|
2605
|
+
readonly zh: "↑↓ 选择 · Enter 查看详情 · Esc 返回";
|
|
2606
|
+
readonly en: "↑↓ select · Enter view details · Esc back";
|
|
2607
|
+
};
|
|
2608
|
+
readonly 'subagent.detail.not-found': {
|
|
2609
|
+
readonly zh: "子代理未找到";
|
|
2610
|
+
readonly en: "Subagent not found";
|
|
2611
|
+
};
|
|
2612
|
+
readonly 'subagent.detail.press-esc': {
|
|
2613
|
+
readonly zh: "按 Esc 返回";
|
|
2614
|
+
readonly en: "Press Esc to go back";
|
|
2615
|
+
};
|
|
2616
|
+
readonly 'subagent.detail.output': {
|
|
2617
|
+
readonly zh: "输出";
|
|
2618
|
+
readonly en: "Output";
|
|
2619
|
+
};
|
|
2620
|
+
readonly 'subagent.detail.no-output': {
|
|
2621
|
+
readonly zh: "暂无输出";
|
|
2622
|
+
readonly en: "No output yet";
|
|
2623
|
+
};
|
|
2624
|
+
readonly 'subagent.detail.help': {
|
|
2625
|
+
readonly zh: "Esc 返回面板";
|
|
2626
|
+
readonly en: "Esc back to dashboard";
|
|
2627
|
+
};
|
|
2444
2628
|
};
|
|
2445
2629
|
export type I18nKey = keyof typeof dict;
|
|
2446
2630
|
export type I18nParams = Record<string, string | number>;
|
package/lib/types/i18n.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../src/i18n.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAMH,MAAM,MAAM,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAI9B,+DAA+D;AAC/D,eAAO,MAAM,KAAK,uBAAwB,CAAA;AAE1C,QAAA,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../src/i18n.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAMH,MAAM,MAAM,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAI9B,+DAA+D;AAC/D,eAAO,MAAM,KAAK,uBAAwB,CAAA;AAE1C,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AGzD;AAID;;;GAGG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAS5D;AAED,wEAAwE;AACxE,wBAAgB,YAAY,CAAC,GAAG,GAAE,MAAkB,GAAG,IAAI,GAAG,SAAS,CAMtE;AAED,iDAAiD;AACjD,wBAAgB,aAAa,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,GAAE,MAAkB,GAAG,OAAO,CAQ1E;AAED;;;;;;;;GAQG;AACH,wBAAgB,gBAAgB,IAAI,IAAI,CAavC;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,IAAI,IAAI,CAIzC"}
|
package/lib/types/i18n.js
CHANGED
|
@@ -84,6 +84,11 @@ const dict = {
|
|
|
84
84
|
'subagent-running': { zh: ' 运行中', en: ' running' },
|
|
85
85
|
'subagent-archived': { zh: ' 已归档', en: ' archived' },
|
|
86
86
|
'subagent-query-failed': { zh: '查询失败 · {{err}}', en: 'Query failed · {{err}}' },
|
|
87
|
+
'subagent-tools': { zh: '工具', en: 'Tools' },
|
|
88
|
+
'subagent-expand-hint': { zh: '按 Enter 展开完整输出', en: 'Press Enter to expand full output' },
|
|
89
|
+
'subagent-status-running': { zh: '运行中', en: 'running' },
|
|
90
|
+
'subagent-status-completed': { zh: '已完成', en: 'completed' },
|
|
91
|
+
'subagent-status-failed': { zh: '失败', en: 'failed' },
|
|
87
92
|
'agent-preset-switched': { zh: 'Agent preset 已切换:{{preset}}', en: 'Agent preset switched: {{preset}}' },
|
|
88
93
|
'context-low-warning': { zh: '上下文即将耗尽(剩余 {{percent}}%)· 运行 /clear 或新建会话', en: 'Context low ({{percent}}% remaining) · Run /clear or start a new session' },
|
|
89
94
|
'rewind-unavailable': { zh: '回退不可用——会话服务未加载', en: 'Rewind unavailable — session services not loaded' },
|
|
@@ -243,9 +248,9 @@ const dict = {
|
|
|
243
248
|
'esc-again-clear': { zh: '再次按 Esc 清空', en: 'Press Esc again to clear' },
|
|
244
249
|
'new-session-started': { zh: '已新建会话', en: 'New session started' },
|
|
245
250
|
'command-not-found': { zh: '/{{name}}:没有这个命令', en: '/{{name}}: no such command' },
|
|
246
|
-
'thinking-toggled': { zh: '
|
|
247
|
-
'thinking-on': { zh: '
|
|
248
|
-
'thinking-off': { zh: '
|
|
251
|
+
'thinking-toggled': { zh: '思考过程:{{state}}', en: 'Thinking display: {{state}}' },
|
|
252
|
+
'thinking-on': { zh: '显示', en: 'shown' },
|
|
253
|
+
'thinking-off': { zh: '隐藏', en: 'hidden' },
|
|
249
254
|
'tokens-usage': { zh: 'Tokens:{{in}} 输入 · {{out}} 输出', en: 'Tokens: {{in}} in · {{out}} out' },
|
|
250
255
|
'tokens-usage-context': { zh: '{{usage}} · 上下文 {{percent}}%', en: '{{usage}} · {{percent}}% of context' },
|
|
251
256
|
// ── plugin.ts — boot-time rename notices (issue #120) ───────────────
|
|
@@ -298,7 +303,7 @@ const dict = {
|
|
|
298
303
|
'input-empty': { zh: '输入为空,没有可发送的内容', en: 'Empty input, nothing to send' },
|
|
299
304
|
'input-interrupt-immediate': { zh: '已打断当前回合,正在立即处理', en: 'Interrupted current turn, processing immediately' },
|
|
300
305
|
'input-clipboard-empty': { zh: '剪贴板为空', en: 'Clipboard is empty' },
|
|
301
|
-
'input-editor-unavailable': { zh: '
|
|
306
|
+
'input-editor-unavailable': { zh: '错误:未配置编辑器。请设置 $VISUAL 或 $EDITOR 环境变量。', en: 'Error: No editor configured. Set $VISUAL or $EDITOR environment variable.' },
|
|
302
307
|
'input-editor-failed': { zh: '外部编辑器失败:{{name}}', en: 'External editor failed: {{name}}' },
|
|
303
308
|
'input-clipboard-read-failed': { zh: '读取剪贴板失败', en: 'Failed to read the clipboard' },
|
|
304
309
|
'input-clipboard-unavailable': { zh: '无法读取剪贴板:没有可用的 wl-paste / xclip / xsel(未安装或会话不可连接)', en: 'Cannot read clipboard: no usable wl-paste / xclip / xsel (not installed or session unreachable)' },
|
|
@@ -336,8 +341,12 @@ const dict = {
|
|
|
336
341
|
'help-word-jumps': { zh: '{{mod}}←/→ 按词跳转', en: '{{mod}}←/→ for word jumps' },
|
|
337
342
|
'help-complete-command': { zh: 'tab 补全命令', en: 'tab to complete command' },
|
|
338
343
|
'help-cycle-mode': { zh: 'shift+tab 切换模式', en: 'shift+tab to cycle mode' },
|
|
339
|
-
'help-open-editor': { zh: 'ctrl+
|
|
344
|
+
'help-open-editor': { zh: 'ctrl+g 打开编辑器', en: 'ctrl+g to open editor' },
|
|
340
345
|
'help-commands-title': { zh: '命令:', en: 'commands:' },
|
|
346
|
+
'help-scroll-hint': {
|
|
347
|
+
zh: '↑/↓ 滚动 · PgUp/PgDn 翻页 · Home/End 首尾 · Esc 关闭',
|
|
348
|
+
en: '↑/↓ scroll · PgUp/PgDn page · Home/End jump · Esc close',
|
|
349
|
+
},
|
|
341
350
|
'tips-title': { zh: '使用技巧(快捷键 · 命令 · 工作流 · 个性化 · 避坑)', en: 'Usage tips (shortcuts · commands · workflow · display · gotchas)' },
|
|
342
351
|
'tips-hint': { zh: '↑/↓ 滚动 · Esc 关闭', en: '↑/↓ scroll · Esc to close' },
|
|
343
352
|
// ── components/InterruptedByUser.tsx ────────────────────────────────
|
|
@@ -501,14 +510,12 @@ const dict = {
|
|
|
501
510
|
'ext-dialog-yes': { zh: '是', en: 'Yes' },
|
|
502
511
|
'ext-dialog-no': { zh: '否', en: 'No' },
|
|
503
512
|
// ── components/ThinkingToggle.tsx + messages/AssistantThinkingMessage.tsx ──
|
|
504
|
-
'thinking-title': { zh: '
|
|
505
|
-
'thinking-subtitle': { zh: '
|
|
506
|
-
'thinking-enabled': { zh: '
|
|
507
|
-
'thinking-enabled-desc': { zh: 'DeepSeek
|
|
508
|
-
'thinking-disabled': { zh: '
|
|
509
|
-
'thinking-disabled-desc': { zh: '
|
|
510
|
-
'thinking-mid-warning': { zh: '在对话中途切换思考模式会增加延迟,并可能降低质量。建议在会话开始时设置。', en: 'Changing thinking mode mid-conversation will increase latency and may reduce quality. For best results, set this at the start of a session.' },
|
|
511
|
-
'thinking-proceed': { zh: '要继续吗?', en: 'Do you want to proceed?' },
|
|
513
|
+
'thinking-title': { zh: '思考过程显示', en: 'Thinking display' },
|
|
514
|
+
'thinking-subtitle': { zh: '只控制思考过程是否显示,不改变模型的思考行为。', en: 'Only controls whether reasoning is shown; it does not change model behavior.' },
|
|
515
|
+
'thinking-enabled': { zh: '显示', en: 'Shown' },
|
|
516
|
+
'thinking-enabled-desc': { zh: '在对话中显示 DeepSeek 的思考过程', en: "Show DeepSeek's reasoning in the conversation" },
|
|
517
|
+
'thinking-disabled': { zh: '隐藏', en: 'Hidden' },
|
|
518
|
+
'thinking-disabled-desc': { zh: '隐藏思考过程;模型仍会照常思考', en: 'Hide reasoning; the model will still think as usual' },
|
|
512
519
|
'thinking-label': { zh: '思考', en: 'Thinking' },
|
|
513
520
|
// ── components/HistorySearchDialog.tsx ──────────────────────────────
|
|
514
521
|
'history-search-title': { zh: '搜索历史', en: 'Search history' },
|
|
@@ -560,6 +567,34 @@ const dict = {
|
|
|
560
567
|
'approval-yes': { zh: '允许(仅本次)', en: 'Yes, allow once' },
|
|
561
568
|
'approval-no': { zh: '拒绝', en: 'No' },
|
|
562
569
|
'approval-hint': { zh: '↑/↓ 选择 · Enter 确认 · Esc 拒绝', en: '↑/↓ select · Enter confirm · Esc reject' },
|
|
570
|
+
// ── components/Subagent*.tsx ────────────────────────────────────────
|
|
571
|
+
'subagent-model': { zh: '模型', en: 'Model' },
|
|
572
|
+
'subagent-duration': { zh: '时长', en: 'Duration' },
|
|
573
|
+
'subagent-status-label': { zh: '状态', en: 'Status' },
|
|
574
|
+
'subagent-status-cancelled': { zh: '已取消', en: 'Cancelled' },
|
|
575
|
+
'subagent-count-running': { zh: '运行中', en: 'running' },
|
|
576
|
+
'subagent-count-completed': { zh: '已完成', en: 'completed' },
|
|
577
|
+
'subagent-count-failed': { zh: '失败', en: 'failed' },
|
|
578
|
+
'subagent-running-label': { zh: '运行中', en: 'Running' },
|
|
579
|
+
'subagent-started': { zh: '开始时间', en: 'Started' },
|
|
580
|
+
'subagent-completed': { zh: '完成时间', en: 'Completed' },
|
|
581
|
+
'subagent-id': { zh: 'ID', en: 'ID' },
|
|
582
|
+
'subagent-error-label': { zh: '错误', en: 'Error' },
|
|
583
|
+
'subagent-output-label': { zh: '输出', en: 'Output' },
|
|
584
|
+
'subagent-no-output': { zh: '暂无输出', en: 'No output yet' },
|
|
585
|
+
'subagent-dashboard-title': { zh: ' 子代理面板 ', en: ' Subagent Dashboard ' },
|
|
586
|
+
'subagent-dashboard-hint-basic': { zh: '↑/↓ 浏览 · Esc 关闭', en: '↑/↓ browse · Esc close' },
|
|
587
|
+
'subagent-dashboard-hint-detail': { zh: '↑/↓ 选择 · Enter 查看详情 · Esc 关闭', en: '↑/↓ select · Enter view detail · Esc close' },
|
|
588
|
+
'subagent-detail-hint-basic': { zh: '↑/↓ 滚动 · Enter/Esc 返回', en: '↑/↓ scroll · Enter/Esc back' },
|
|
589
|
+
'subagent-detail-hint-enhanced': { zh: '↑/↓ 滚动 · X 中断 · Esc 返回', en: '↑/↓ scroll · X interrupt · Esc back' },
|
|
590
|
+
'subagent-card-prefix': { zh: '子代理:', en: 'Subagent: ' },
|
|
591
|
+
'subagent-tab-summary': { zh: '摘要', en: 'Summary' },
|
|
592
|
+
'subagent-no-summary': { zh: '暂无摘要', en: 'No summary yet' },
|
|
593
|
+
'subagent-no-tools': { zh: '暂无工具调用', en: 'No tool calls' },
|
|
594
|
+
'subagent-hint-page': { zh: '切页', en: 'page' },
|
|
595
|
+
'subagent-hint-scroll': { zh: '滚动', en: 'scroll' },
|
|
596
|
+
'subagent-hint-back': { zh: '返回', en: 'back' },
|
|
597
|
+
'subagent-empty-hint': { zh: '让主代理发起 Task 后,子代理会出现在这里', en: 'Subagents appear here once the main agent starts Task delegations' },
|
|
563
598
|
// ── components/questions/PlanReviewPanel.tsx ────────────────────────
|
|
564
599
|
'plan-review-fallback-header': { zh: '计划评审', en: 'Plan review' },
|
|
565
600
|
'plan-review-feedback-placeholder': { zh: '输入反馈,告诉模型要改什么…', en: 'Tell the model what to change…' },
|
|
@@ -644,7 +679,7 @@ const dict = {
|
|
|
644
679
|
'cmd-desc-theme': { zh: '切换配色主题(auto 跟随系统,或内置/自定义)' },
|
|
645
680
|
'cmd-desc-lang': { zh: '切换界面语言(en / zh)' },
|
|
646
681
|
'cmd-desc-model': { zh: '查看当前模型' },
|
|
647
|
-
'cmd-desc-thinking': { zh: '
|
|
682
|
+
'cmd-desc-thinking': { zh: '显示或隐藏思考过程' },
|
|
648
683
|
'cmd-desc-tokens': { zh: '查看会话 token 用量' },
|
|
649
684
|
// Account / policy
|
|
650
685
|
'cmd-desc-provider': { zh: '添加模型提供方(内置目录或自定义 API 端点)' },
|
|
@@ -725,6 +760,22 @@ const dict = {
|
|
|
725
760
|
},
|
|
726
761
|
'traj-empty': { zh: '暂无轨迹事件', en: 'No trajectory events yet' },
|
|
727
762
|
'traj-hint-failure': { zh: '{{key}} 看完整轨迹', en: '{{key}} for the full trajectory' },
|
|
763
|
+
// ── subagent UI ──────────────────────────────────────────────────────
|
|
764
|
+
'subagent.unnamed': { zh: '未命名子代理', en: 'Unnamed subagent' },
|
|
765
|
+
'subagent.no-model': { zh: '未知模型', en: 'Unknown model' },
|
|
766
|
+
'subagent.status.running': { zh: '运行中', en: 'Running' },
|
|
767
|
+
'subagent.status.completed': { zh: '已完成', en: 'Completed' },
|
|
768
|
+
'subagent.status.failed': { zh: '失败', en: 'Failed' },
|
|
769
|
+
'subagent.status.pending': { zh: '等待中', en: 'Pending' },
|
|
770
|
+
'subagent.dashboard.title': { zh: '子代理面板', en: 'Subagent Dashboard' },
|
|
771
|
+
'subagent.dashboard.stats': { zh: '运行中: {{running}} · 已完成: {{completed}} · 失败: {{failed}}', en: 'Running: {{running}} · Completed: {{completed}} · Failed: {{failed}}' },
|
|
772
|
+
'subagent.dashboard.empty': { zh: '暂无子代理', en: 'No subagents yet' },
|
|
773
|
+
'subagent.dashboard.help': { zh: '↑↓ 选择 · Enter 查看详情 · Esc 返回', en: '↑↓ select · Enter view details · Esc back' },
|
|
774
|
+
'subagent.detail.not-found': { zh: '子代理未找到', en: 'Subagent not found' },
|
|
775
|
+
'subagent.detail.press-esc': { zh: '按 Esc 返回', en: 'Press Esc to go back' },
|
|
776
|
+
'subagent.detail.output': { zh: '输出', en: 'Output' },
|
|
777
|
+
'subagent.detail.no-output': { zh: '暂无输出', en: 'No output yet' },
|
|
778
|
+
'subagent.detail.help': { zh: 'Esc 返回面板', en: 'Esc back to dashboard' },
|
|
728
779
|
};
|
|
729
780
|
/** The active language, module-level so non-React modules (channel.ts,
|
|
730
781
|
* loaded-context.ts) resolve strings without a context. Defaults to `zh`
|
package/lib/types/ink/ink.d.ts
CHANGED
|
@@ -40,6 +40,8 @@ export default class Ink {
|
|
|
40
40
|
private backFrame;
|
|
41
41
|
private lastPoolResetTime;
|
|
42
42
|
private drainTimer;
|
|
43
|
+
private renderGeneration;
|
|
44
|
+
private pendingRenderGeneration;
|
|
43
45
|
private lastYogaCounters;
|
|
44
46
|
private altScreenParkPatch;
|
|
45
47
|
readonly selection: SelectionState;
|
|
@@ -95,6 +97,8 @@ export default class Ink {
|
|
|
95
97
|
* burn the flag before the real frame lands.
|
|
96
98
|
*/
|
|
97
99
|
reanchorViewport(): void;
|
|
100
|
+
/** Render synchronously and invalidate older trailing/drain callbacks. */
|
|
101
|
+
private renderNow;
|
|
98
102
|
onRender(): void;
|
|
99
103
|
pause(): void;
|
|
100
104
|
resume(): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ink.d.ts","sourceRoot":"","sources":["../../../src/ink/ink.tsx"],"names":[],"mappings":"AAIA,OAAc,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAa9C,OAAO,KAAK,GAAG,MAAM,UAAU,CAAC;AAEhC,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,EAA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