@deepseek-harness-tui/dsh-tui 0.19.0 → 0.20.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 +63 -57
- package/cordis.patch.yml +5 -3
- package/cordis.yml +3 -2
- package/guide/dsh-tui-guide/configuration.en.md +1 -1
- package/guide/dsh-tui-guide/configuration.md +1 -1
- package/guide/dsh-tui-guide/getting-started.en.md +2 -2
- package/guide/dsh-tui-guide/getting-started.md +2 -2
- package/guide/dsh-tui-guide/user-guide.en.md +7 -2
- package/guide/dsh-tui-guide/user-guide.md +7 -2
- package/lib/settings.json +24 -8
- package/lib/types/adapter/ports/channel-view.d.ts +39 -3
- package/lib/types/adapter/ports/channel-view.d.ts.map +1 -1
- package/lib/types/agent/events.d.ts +3 -1
- package/lib/types/agent/events.d.ts.map +1 -1
- package/lib/types/backends/claude/tools.d.ts.map +1 -1
- package/lib/types/backends/claude/tools.js +8 -3
- package/lib/types/backends/codex/translate/presentation.d.ts.map +1 -1
- package/lib/types/backends/codex/translate/presentation.js +5 -2
- package/lib/types/channel/interaction.d.ts.map +1 -1
- package/lib/types/channel/interaction.js +1 -0
- package/lib/types/channel/permissions.d.ts +15 -0
- package/lib/types/channel/permissions.d.ts.map +1 -1
- package/lib/types/channel/permissions.js +28 -0
- package/lib/types/channel/projection.d.ts.map +1 -1
- package/lib/types/channel/projection.js +11 -1
- package/lib/types/channel/questions.d.ts +26 -0
- package/lib/types/channel/questions.d.ts.map +1 -1
- package/lib/types/channel/questions.js +43 -0
- package/lib/types/commands.js +1 -1
- package/lib/types/components/MessageList.d.ts.map +1 -1
- package/lib/types/components/MessageList.js +3 -3
- package/lib/types/components/SplitDiffView.d.ts.map +1 -1
- package/lib/types/components/SplitDiffView.js +3 -2
- package/lib/types/components/StarPrompt.d.ts +5 -3
- package/lib/types/components/StarPrompt.d.ts.map +1 -1
- package/lib/types/components/StarPrompt.js +56 -6
- package/lib/types/components/SubagentCard.d.ts.map +1 -1
- package/lib/types/components/SubagentCard.js +1 -1
- package/lib/types/components/SubagentDashboard.d.ts.map +1 -1
- package/lib/types/components/SubagentDashboard.js +3 -2
- package/lib/types/components/SubagentDetailScene.d.ts.map +1 -1
- package/lib/types/components/SubagentDetailScene.js +1 -1
- package/lib/types/components/messages/AssistantToolUseMessage.d.ts.map +1 -1
- package/lib/types/components/messages/AssistantToolUseMessage.js +121 -23
- package/lib/types/components/teamRoster.d.ts +6 -3
- package/lib/types/components/teamRoster.d.ts.map +1 -1
- package/lib/types/dsh-adapter/approvals.d.ts +19 -0
- package/lib/types/dsh-adapter/approvals.d.ts.map +1 -1
- package/lib/types/dsh-adapter/approvals.js +17 -1
- package/lib/types/dsh-adapter/backend/translate.d.ts.map +1 -1
- package/lib/types/dsh-adapter/backend/translate.js +15 -3
- package/lib/types/dsh-adapter/channel/extensions.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/extensions.js +7 -4
- package/lib/types/dsh-adapter/channel/local-actions.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/local-actions.js +7 -3
- package/lib/types/dsh-adapter/channel/projection-helpers.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/projection-helpers.js +4 -2
- package/lib/types/dsh-adapter/channel/settings-host.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/settings-host.js +179 -33
- package/lib/types/dsh-adapter/channel/subagent-projection.d.ts +55 -4
- package/lib/types/dsh-adapter/channel/subagent-projection.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/subagent-projection.js +80 -16
- package/lib/types/dsh-adapter/channel/subagent-transcript.d.ts +1 -1
- package/lib/types/dsh-adapter/channel/subagent-transcript.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/subagent-transcript.js +6 -5
- package/lib/types/dsh-adapter/channel/task-completion.js +2 -10
- package/lib/types/dsh-adapter/compat/compaction-previews.d.ts +11 -0
- package/lib/types/dsh-adapter/compat/compaction-previews.d.ts.map +1 -0
- package/lib/types/dsh-adapter/compat/compaction-previews.js +38 -0
- package/lib/types/dsh-adapter/compat/messages.d.ts +1 -1
- package/lib/types/dsh-adapter/compat/messages.d.ts.map +1 -1
- package/lib/types/dsh-adapter/compat/messages.js +2 -2
- package/lib/types/dsh-adapter/contract.d.ts +7 -4
- package/lib/types/dsh-adapter/contract.d.ts.map +1 -1
- package/lib/types/dsh-adapter/contract.js +8 -4
- package/lib/types/dsh-adapter/experimental-bundles.d.ts +5 -0
- package/lib/types/dsh-adapter/experimental-bundles.d.ts.map +1 -1
- package/lib/types/dsh-adapter/experimental-bundles.js +0 -2
- 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.d.ts +2 -0
- package/lib/types/dsh-adapter/host-dsh.d.ts.map +1 -1
- package/lib/types/dsh-adapter/host-dsh.js +3 -0
- package/lib/types/dsh-adapter/index.d.ts +9 -1
- package/lib/types/dsh-adapter/index.d.ts.map +1 -1
- package/lib/types/dsh-adapter/index.js +5 -0
- package/lib/types/dsh-adapter/oauth/account-notifications.d.ts +73 -0
- package/lib/types/dsh-adapter/oauth/account-notifications.d.ts.map +1 -0
- package/lib/types/dsh-adapter/oauth/account-notifications.js +250 -0
- package/lib/types/dsh-adapter/oauth/bonus.d.ts +34 -9
- package/lib/types/dsh-adapter/oauth/bonus.d.ts.map +1 -1
- package/lib/types/dsh-adapter/oauth/bonus.js +47 -5
- package/lib/types/dsh-adapter/oauth/deepseek.d.ts +7 -2
- package/lib/types/dsh-adapter/oauth/deepseek.d.ts.map +1 -1
- package/lib/types/dsh-adapter/oauth/deepseek.js +6 -1
- package/lib/types/dsh-adapter/oauth/index.d.ts.map +1 -1
- package/lib/types/dsh-adapter/oauth/index.js +44 -0
- package/lib/types/dsh-adapter/oauth/service.d.ts.map +1 -1
- package/lib/types/dsh-adapter/oauth/service.js +5 -6
- package/lib/types/dsh-adapter/plugin-manage.d.ts +6 -4
- package/lib/types/dsh-adapter/plugin-manage.d.ts.map +1 -1
- package/lib/types/dsh-adapter/plugin-manage.js +3 -2
- package/lib/types/dsh-adapter/plugin.d.ts +237 -6
- package/lib/types/dsh-adapter/plugin.d.ts.map +1 -1
- package/lib/types/dsh-adapter/plugin.js +608 -23
- package/lib/types/dsh-adapter/session-projection-store.d.ts +1 -1
- package/lib/types/dsh-adapter/session-projection-store.d.ts.map +1 -1
- package/lib/types/dsh-adapter/session-projection-store.js +30 -23
- package/lib/types/dsh-adapter/sessionTree.d.ts.map +1 -1
- package/lib/types/dsh-adapter/sessionTree.js +4 -1
- package/lib/types/dsh-adapter/subagents.d.ts +1 -0
- package/lib/types/dsh-adapter/subagents.d.ts.map +1 -1
- package/lib/types/dsh-adapter/subagents.js +10 -2
- package/lib/types/dsh-adapter/team-mode.d.ts +29 -17
- package/lib/types/dsh-adapter/team-mode.d.ts.map +1 -1
- package/lib/types/dsh-adapter/team-mode.js +138 -17
- package/lib/types/dsh-adapter/team-roster.d.ts +53 -18
- package/lib/types/dsh-adapter/team-roster.d.ts.map +1 -1
- package/lib/types/dsh-adapter/team-roster.js +206 -39
- package/lib/types/dsh-adapter/team-tools.d.ts +25 -12
- package/lib/types/dsh-adapter/team-tools.d.ts.map +1 -1
- package/lib/types/dsh-adapter/team-tools.js +81 -26
- package/lib/types/i18n.d.ts +65 -9
- package/lib/types/i18n.d.ts.map +1 -1
- package/lib/types/i18n.js +29 -8
- package/lib/types/ink/dom.d.ts.map +1 -1
- package/lib/types/ink/dom.js +13 -3
- package/lib/types/ink/flush-tick.d.ts +6 -0
- package/lib/types/ink/flush-tick.d.ts.map +1 -1
- package/lib/types/ink/flush-tick.js +31 -0
- package/lib/types/ink/hooks/use-terminal-title.d.ts +15 -0
- package/lib/types/ink/hooks/use-terminal-title.d.ts.map +1 -1
- package/lib/types/ink/hooks/use-terminal-title.js +23 -3
- package/lib/types/ink/ink.js +2 -2
- package/lib/types/ink/jumpback-state.d.ts +33 -0
- package/lib/types/ink/jumpback-state.d.ts.map +1 -0
- package/lib/types/ink/jumpback-state.js +51 -0
- package/lib/types/ink/jumpback.d.ts +78 -0
- package/lib/types/ink/jumpback.d.ts.map +1 -0
- package/lib/types/ink/jumpback.js +515 -0
- package/lib/types/ink/log-update.js +37 -14
- package/lib/types/ink/notify-helper/activate.cs +836 -0
- package/lib/types/ink/notify-helper/compile.d.ts +30 -0
- package/lib/types/ink/notify-helper/compile.d.ts.map +1 -0
- package/lib/types/ink/notify-helper/compile.js +235 -0
- package/lib/types/ink/terminal-notification-windows.d.ts +8 -4
- package/lib/types/ink/terminal-notification-windows.d.ts.map +1 -1
- package/lib/types/ink/terminal-notification-windows.js +14 -21
- package/lib/types/ink/terminal-notification.d.ts +31 -2
- package/lib/types/ink/terminal-notification.d.ts.map +1 -1
- package/lib/types/ink/terminal-notification.js +51 -0
- package/lib/types/ink/terminal.d.ts +2 -1
- package/lib/types/ink/terminal.d.ts.map +1 -1
- package/lib/types/ink/terminal.js +9 -4
- package/lib/types/screens/AgentTranscriptScene.d.ts.map +1 -1
- package/lib/types/screens/AgentTranscriptScene.js +1 -1
- package/lib/types/screens/Chat.d.ts +4 -3
- package/lib/types/screens/Chat.d.ts.map +1 -1
- package/lib/types/screens/Chat.js +38 -9
- package/lib/types/settings/definitions.d.ts +12 -0
- package/lib/types/settings/definitions.d.ts.map +1 -1
- package/lib/types/settings/definitions.js +15 -7
- package/package.json +112 -112
- package/presets/liangshen/agent.cordis.yml +4 -0
- package/tui-profile/feed/README.md +1 -1
- package/tui-profile/feed/first-party.json +1 -1
package/lib/types/i18n.d.ts
CHANGED
|
@@ -746,6 +746,22 @@ declare const dict: {
|
|
|
746
746
|
readonly zh: "dsh-TUI · 任务已完成";
|
|
747
747
|
readonly en: "dsh-TUI · Task complete";
|
|
748
748
|
};
|
|
749
|
+
readonly 'approval-notification': {
|
|
750
|
+
readonly zh: "dsh-TUI · 等待授权";
|
|
751
|
+
readonly en: "dsh-TUI · Approval needed";
|
|
752
|
+
};
|
|
753
|
+
readonly 'question-notification': {
|
|
754
|
+
readonly zh: "dsh-TUI · 等待回答";
|
|
755
|
+
readonly en: "dsh-TUI · Waiting for your answer";
|
|
756
|
+
};
|
|
757
|
+
readonly 'plan-review-notification': {
|
|
758
|
+
readonly zh: "dsh-TUI · 计划评审";
|
|
759
|
+
readonly en: "dsh-TUI · Plan review";
|
|
760
|
+
};
|
|
761
|
+
readonly 'untitled-session': {
|
|
762
|
+
readonly zh: "未命名会话";
|
|
763
|
+
readonly en: "Untitled session";
|
|
764
|
+
};
|
|
749
765
|
readonly 'subagent-background': {
|
|
750
766
|
readonly zh: "后台";
|
|
751
767
|
readonly en: "background";
|
|
@@ -3168,6 +3184,18 @@ declare const dict: {
|
|
|
3168
3184
|
readonly zh: "Deepy提醒:这张券 {{month}} 月 {{day}} 日 {{time}} 就要过期啦,别忘记用掉哦~";
|
|
3169
3185
|
readonly en: "Deepy says: this coupon expires on {{month}}/{{day}} at {{time}}. Do not forget to use it ~";
|
|
3170
3186
|
};
|
|
3187
|
+
readonly 'account-notice-hint': {
|
|
3188
|
+
readonly zh: "Enter / Esc {{label}} · ↑↓ 滚动";
|
|
3189
|
+
readonly en: "Enter / Esc {{label}} · ↑↓ scroll";
|
|
3190
|
+
};
|
|
3191
|
+
readonly 'account-notice-close': {
|
|
3192
|
+
readonly zh: "关闭";
|
|
3193
|
+
readonly en: "Dismiss";
|
|
3194
|
+
};
|
|
3195
|
+
readonly 'account-notice-account-route': {
|
|
3196
|
+
readonly zh: "“{{label}}”需在 DSH 账号页面操作;此处可阅读并关闭消息。";
|
|
3197
|
+
readonly en: "“{{label}}” is available on the DSH account page; this view supports reading and dismissing the message.";
|
|
3198
|
+
};
|
|
3171
3199
|
readonly 'coupon-modal-hint': {
|
|
3172
3200
|
readonly zh: "**Enter** / **Esc** 收好鲸鱼券";
|
|
3173
3201
|
readonly en: "**Enter** / **Esc** to tuck it away";
|
|
@@ -3987,8 +4015,8 @@ declare const dict: {
|
|
|
3987
4015
|
readonly en: "Credential {{ref}} is reserved by the host; write rejected: third-party settings sections cannot overwrite host-shared credentials";
|
|
3988
4016
|
};
|
|
3989
4017
|
readonly 'settings-web-key-changed': {
|
|
3990
|
-
readonly zh: "
|
|
3991
|
-
readonly en: "
|
|
4018
|
+
readonly zh: "搜索/抓取密钥设置已变化(端点、密钥引用或提供者),请重新打开设置后输入密钥";
|
|
4019
|
+
readonly en: "Search/Fetch key settings changed (endpoint, key reference, or provider). Reopen settings and enter the key again.";
|
|
3992
4020
|
};
|
|
3993
4021
|
readonly 'settings-panels-unclaimed': {
|
|
3994
4022
|
readonly zh: "暂无面板使用此 id:先保留,等插件注册后生效";
|
|
@@ -4565,10 +4593,6 @@ declare const dict: {
|
|
|
4565
4593
|
readonly zh: "关闭:/plugin disable {{bundle}}";
|
|
4566
4594
|
readonly en: "Disable: /plugin disable {{bundle}}";
|
|
4567
4595
|
};
|
|
4568
|
-
readonly 'plugins-experimental-team-hint': {
|
|
4569
|
-
readonly zh: "用途:Agent 分工合作,/team status 看状态";
|
|
4570
|
-
readonly en: "Use: agents divide the work; /team status shows the roster";
|
|
4571
|
-
};
|
|
4572
4596
|
readonly 'plugins-experimental-auto-review-hint': {
|
|
4573
4597
|
readonly zh: "用途:/permission auto,模型自主审批";
|
|
4574
4598
|
readonly en: "Use: /permission auto — the model approves on its own";
|
|
@@ -5675,6 +5699,14 @@ declare const dict: {
|
|
|
5675
5699
|
readonly zh: " 代理团队 ";
|
|
5676
5700
|
readonly en: " Agent Team ";
|
|
5677
5701
|
};
|
|
5702
|
+
readonly 'team-dashboard-title-off': {
|
|
5703
|
+
readonly zh: " 代理团队(已关闭) ";
|
|
5704
|
+
readonly en: " Agent Team (off) ";
|
|
5705
|
+
};
|
|
5706
|
+
readonly 'team-mode-off-note': {
|
|
5707
|
+
readonly zh: "团队已关闭:任务板只读,子代理继续运行;/team on 重新开启。";
|
|
5708
|
+
readonly en: "Team is off: the task board is read-only and subagents keep running; /team on enables it again.";
|
|
5709
|
+
};
|
|
5678
5710
|
readonly 'team-status-provisioning': {
|
|
5679
5711
|
readonly zh: "准备中";
|
|
5680
5712
|
readonly en: "provisioning";
|
|
@@ -5744,8 +5776,32 @@ declare const dict: {
|
|
|
5744
5776
|
readonly en: "The current kernel has no Agent Teams.";
|
|
5745
5777
|
};
|
|
5746
5778
|
readonly 'team-cmd-usage': {
|
|
5747
|
-
readonly zh: "未知子命令「{{sub}}」。用法:/team [status]";
|
|
5748
|
-
readonly en: "Unknown subcommand \"{{sub}}\". Usage: /team [status]";
|
|
5779
|
+
readonly zh: "未知子命令「{{sub}}」。用法:/team [status|on|off]";
|
|
5780
|
+
readonly en: "Unknown subcommand \"{{sub}}\". Usage: /team [status|on|off]";
|
|
5781
|
+
};
|
|
5782
|
+
readonly 'team-cmd-mode': {
|
|
5783
|
+
readonly zh: "团队模式:{{state}}";
|
|
5784
|
+
readonly en: "Team mode: {{state}}";
|
|
5785
|
+
};
|
|
5786
|
+
readonly 'team-cmd-mode-unavailable': {
|
|
5787
|
+
readonly zh: "团队模式:无法读取(取不到本会话的根 Agent)";
|
|
5788
|
+
readonly en: "Team mode: unreadable (the root agent of this session is unavailable)";
|
|
5789
|
+
};
|
|
5790
|
+
readonly 'team-cmd-use-switch': {
|
|
5791
|
+
readonly zh: "切换:/team on · /team off";
|
|
5792
|
+
readonly en: "Switch: /team on · /team off";
|
|
5793
|
+
};
|
|
5794
|
+
readonly 'team-cmd-switch-confirm': {
|
|
5795
|
+
readonly zh: "本会话有 {{members}} 个子代理在运行或可能仍在运行:关闭团队不会停止它们(任务工具停止,任务板与子代理保留)。确认关闭请执行 /team off force。";
|
|
5796
|
+
readonly en: "{{members}} subagent(s) in this session are running or may still be running: switching Team off does not stop them (task tools stop; the task board and subagents stay). Run /team off force to confirm.";
|
|
5797
|
+
};
|
|
5798
|
+
readonly 'team-cmd-switch-failed': {
|
|
5799
|
+
readonly zh: "切换团队模式失败:{{reason}}";
|
|
5800
|
+
readonly en: "Switching Team mode failed: {{reason}}";
|
|
5801
|
+
};
|
|
5802
|
+
readonly 'team-cmd-switch-unavailable': {
|
|
5803
|
+
readonly zh: "当前启动取不到绑定会话的根 Agent,不能在会话内切换团队模式;/team 仍可查看状态。";
|
|
5804
|
+
readonly en: "This launch cannot resolve the bound session's root agent, so Team mode cannot be switched here; /team still reports status.";
|
|
5749
5805
|
};
|
|
5750
5806
|
readonly 'team-cmd-switch-moved': {
|
|
5751
5807
|
readonly zh: "团队开关已改为 /plugin enable|disable {{bundle}};/team 只报告状态。";
|
|
@@ -7142,7 +7198,7 @@ declare const dict: {
|
|
|
7142
7198
|
readonly zh: "查看本会话的子代理";
|
|
7143
7199
|
};
|
|
7144
7200
|
readonly 'cmd-desc-team': {
|
|
7145
|
-
readonly zh: "
|
|
7201
|
+
readonly zh: "团队模式:查看状态;开关方式见 /team";
|
|
7146
7202
|
};
|
|
7147
7203
|
readonly 'cmd-desc-jobs': {
|
|
7148
7204
|
readonly zh: "查看本会话的后台任务";
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsDG;AAOH,MAAM,MAAM,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAI9B,+DAA+D;AAC/D,eAAO,MAAM,KAAK,uBAAwB,CAAA;AAE1C;;;;;GAKG;AACH,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAA;AAE9D,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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E,MAAM,GAAE,UAAe,GAAG,MAAM,CAG/D;AAwBD;;;;;;;;;GASG;AACH,wBAAgB,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,GAAE,UAAe,GAAG,MAAM,CAGlF;AAED,4EAA4E;AAC5E,eAAO,MAAM,QAAQ,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE;IAAE,QAAQ,CAAC,EAAE,CAAC,EAAE,QAAQ,CAAC;IAAC,QAAQ,CAAC,EAAE,CAAC,EAAE,QAAQ,CAAA;CAAE,CAAC,CAAQ,CAAA;AAI1G;;;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,CAU1E;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,gBAAgB,IAAI,IAAI,CAWvC;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,IAAI,IAAI,CAIzC"}
|
package/lib/types/i18n.js
CHANGED
|
@@ -262,6 +262,10 @@ const dict = {
|
|
|
262
262
|
'subagent-status-unknown': { zh: '状态未知', en: 'status unknown' },
|
|
263
263
|
'subagent-task-fallback': { zh: '{{kind}} 任务', en: '{{kind}} task' },
|
|
264
264
|
'task-complete-notification': { zh: 'dsh-TUI · 任务已完成', en: 'dsh-TUI · Task complete' },
|
|
265
|
+
'approval-notification': { zh: 'dsh-TUI · 等待授权', en: 'dsh-TUI · Approval needed' },
|
|
266
|
+
'question-notification': { zh: 'dsh-TUI · 等待回答', en: 'dsh-TUI · Waiting for your answer' },
|
|
267
|
+
'plan-review-notification': { zh: 'dsh-TUI · 计划评审', en: 'dsh-TUI · Plan review' },
|
|
268
|
+
'untitled-session': { zh: '未命名会话', en: 'Untitled session' },
|
|
265
269
|
'subagent-background': { zh: '后台', en: 'background' },
|
|
266
270
|
'subagent-interrupt-failed': { zh: '无法停止子代理 {{id}}(已结束或被拒绝)', en: 'Could not stop subagent {{id}} (already finished or refused)' },
|
|
267
271
|
'agent-preset-switched': { zh: 'Agent preset 已切换:{{preset}}', en: 'Agent preset switched: {{preset}}' },
|
|
@@ -1023,6 +1027,9 @@ const dict = {
|
|
|
1023
1027
|
'coupon-modal-title': { zh: '鲸鱼券', en: 'Whale coupon' },
|
|
1024
1028
|
'coupon-modal-received': { zh: 'DeepSeek 送你的 {{amount}} {{unit}}鲸鱼券到账啦~', en: 'Your {{amount}} {{unit}} whale coupon from DeepSeek is here ~' },
|
|
1025
1029
|
'coupon-modal-expiry': { zh: 'Deepy提醒:这张券 {{month}} 月 {{day}} 日 {{time}} 就要过期啦,别忘记用掉哦~', en: 'Deepy says: this coupon expires on {{month}}/{{day}} at {{time}}. Do not forget to use it ~' },
|
|
1030
|
+
'account-notice-hint': { zh: 'Enter / Esc {{label}} · ↑↓ 滚动', en: 'Enter / Esc {{label}} · ↑↓ scroll' },
|
|
1031
|
+
'account-notice-close': { zh: '关闭', en: 'Dismiss' },
|
|
1032
|
+
'account-notice-account-route': { zh: '“{{label}}”需在 DSH 账号页面操作;此处可阅读并关闭消息。', en: '“{{label}}” is available on the DSH account page; this view supports reading and dismissing the message.' },
|
|
1026
1033
|
'coupon-modal-hint': { zh: '**Enter** / **Esc** 收好鲸鱼券', en: '**Enter** / **Esc** to tuck it away' },
|
|
1027
1034
|
'logo-tip-prefix': { zh: '提示:', en: 'Tip: ' },
|
|
1028
1035
|
'logo-tip-more': { zh: '更多技巧', en: 'more tips' },
|
|
@@ -1282,7 +1289,7 @@ const dict = {
|
|
|
1282
1289
|
'settings-saved': { zh: '已保存 {{ns}}', en: 'Saved {{ns}}' },
|
|
1283
1290
|
'settings-save-failed': { zh: '保存 {{ns}} 失败——请重试', en: 'Saving {{ns}} failed — please retry' },
|
|
1284
1291
|
'settings-secret-ref-reserved': { zh: '凭据 {{ref}} 由宿主保留,写入被拒绝:第三方设置区块不能覆盖宿主共享凭据', en: 'Credential {{ref}} is reserved by the host; write rejected: third-party settings sections cannot overwrite host-shared credentials' },
|
|
1285
|
-
'settings-web-key-changed': { zh: '
|
|
1292
|
+
'settings-web-key-changed': { zh: '搜索/抓取密钥设置已变化(端点、密钥引用或提供者),请重新打开设置后输入密钥', en: 'Search/Fetch key settings changed (endpoint, key reference, or provider). Reopen settings and enter the key again.' },
|
|
1286
1293
|
// /settings 里 sidePanel.panels 的勾选列表。
|
|
1287
1294
|
'settings-panels-unclaimed': { zh: '暂无面板使用此 id:先保留,等插件注册后生效', en: 'No panel uses this id yet; kept until a plugin registers it' },
|
|
1288
1295
|
'settings-panels-temporary': { zh: '临时面板 #{{n}} · 仅本次运行,不保存', en: 'Temporary panel #{{n}} · this run only, not saved' },
|
|
@@ -1477,10 +1484,6 @@ const dict = {
|
|
|
1477
1484
|
},
|
|
1478
1485
|
// 「用途」一行只回答「开完多出什么」,命令只留躲不掉的那一个:机制(索引在内存、
|
|
1479
1486
|
// 极简模式如何取舍)与迁移细节都属于 README,这一屏是目录而不是说明书。
|
|
1480
|
-
'plugins-experimental-team-hint': {
|
|
1481
|
-
zh: '用途:Agent 分工合作,/team status 看状态',
|
|
1482
|
-
en: 'Use: agents divide the work; /team status shows the roster',
|
|
1483
|
-
},
|
|
1484
1487
|
'plugins-experimental-auto-review-hint': {
|
|
1485
1488
|
zh: '用途:/permission auto,模型自主审批',
|
|
1486
1489
|
en: 'Use: /permission auto — the model approves on its own',
|
|
@@ -1943,6 +1946,11 @@ const dict = {
|
|
|
1943
1946
|
'subagent-empty-hint': { zh: '让主代理发起 Task 后,子代理会出现在这里', en: 'Subagents appear here once the main agent starts Task delegations' },
|
|
1944
1947
|
// ── Agent Teams:代理面板的团队模式(components/SubagentDashboard.tsx)──
|
|
1945
1948
|
'team-dashboard-title': { zh: ' 代理团队 ', en: ' Agent Team ' },
|
|
1949
|
+
'team-dashboard-title-off': { zh: ' 代理团队(已关闭) ', en: ' Agent Team (off) ' },
|
|
1950
|
+
'team-mode-off-note': {
|
|
1951
|
+
zh: '团队已关闭:任务板只读,子代理继续运行;/team on 重新开启。',
|
|
1952
|
+
en: 'Team is off: the task board is read-only and subagents keep running; /team on enables it again.',
|
|
1953
|
+
},
|
|
1946
1954
|
'team-status-provisioning': { zh: '准备中', en: 'provisioning' },
|
|
1947
1955
|
'team-status-running': { zh: '运行中', en: 'running' },
|
|
1948
1956
|
'team-status-idle': { zh: '空闲', en: 'idle' },
|
|
@@ -1959,9 +1967,22 @@ const dict = {
|
|
|
1959
1967
|
'team-last-run-failed': { zh: '上一轮失败 {{error}}', en: 'last run failed {{error}}' },
|
|
1960
1968
|
'team-task-blocked': { zh: '阻塞', en: 'blocked' },
|
|
1961
1969
|
'team-failure': { zh: '团队记录被拒:{{failure}}', en: 'Team record rejected: {{failure}}' },
|
|
1962
|
-
// ── /team
|
|
1970
|
+
// ── /team:团队状态与开关。旧宿主(≤0.2.2-rc.1)开关是 /plugin enable|disable;
|
|
1971
|
+
// rc.2+ 由 /team on|off 写会话级选择(见 docs/agent-teams-design.md「开关机制」)──
|
|
1963
1972
|
'team-cmd-unavailable': { zh: '当前内核没有 Agent Teams。', en: 'The current kernel has no Agent Teams.' },
|
|
1964
|
-
'team-cmd-usage': { zh: '未知子命令「{{sub}}」。用法:/team [status]', en: 'Unknown subcommand "{{sub}}". Usage: /team [status]' },
|
|
1973
|
+
'team-cmd-usage': { zh: '未知子命令「{{sub}}」。用法:/team [status|on|off]', en: 'Unknown subcommand "{{sub}}". Usage: /team [status|on|off]' },
|
|
1974
|
+
'team-cmd-mode': { zh: '团队模式:{{state}}', en: 'Team mode: {{state}}' },
|
|
1975
|
+
'team-cmd-mode-unavailable': { zh: '团队模式:无法读取(取不到本会话的根 Agent)', en: 'Team mode: unreadable (the root agent of this session is unavailable)' },
|
|
1976
|
+
'team-cmd-use-switch': { zh: '切换:/team on · /team off', en: 'Switch: /team on · /team off' },
|
|
1977
|
+
'team-cmd-switch-confirm': {
|
|
1978
|
+
zh: '本会话有 {{members}} 个子代理在运行或可能仍在运行:关闭团队不会停止它们(任务工具停止,任务板与子代理保留)。确认关闭请执行 /team off force。',
|
|
1979
|
+
en: '{{members}} subagent(s) in this session are running or may still be running: switching Team off does not stop them (task tools stop; the task board and subagents stay). Run /team off force to confirm.',
|
|
1980
|
+
},
|
|
1981
|
+
'team-cmd-switch-failed': { zh: '切换团队模式失败:{{reason}}', en: 'Switching Team mode failed: {{reason}}' },
|
|
1982
|
+
'team-cmd-switch-unavailable': {
|
|
1983
|
+
zh: '当前启动取不到绑定会话的根 Agent,不能在会话内切换团队模式;/team 仍可查看状态。',
|
|
1984
|
+
en: 'This launch cannot resolve the bound session\'s root agent, so Team mode cannot be switched here; /team still reports status.',
|
|
1985
|
+
},
|
|
1965
1986
|
'team-cmd-switch-moved': {
|
|
1966
1987
|
zh: '团队开关已改为 /plugin enable|disable {{bundle}};/team 只报告状态。',
|
|
1967
1988
|
en: 'The team switch moved to /plugin enable|disable {{bundle}}; /team only reports status.',
|
|
@@ -2367,7 +2388,7 @@ const dict = {
|
|
|
2367
2388
|
'cmd-desc-migrate': { zh: '从其他编程代理导入对话(claude-code/codex/omp/zcode/grok-build)' },
|
|
2368
2389
|
'cmd-desc-init': { zh: '在工作目录创建 AGENTS.md' },
|
|
2369
2390
|
'cmd-desc-agents': { zh: '查看本会话的子代理' },
|
|
2370
|
-
'cmd-desc-team': { zh: '
|
|
2391
|
+
'cmd-desc-team': { zh: '团队模式:查看状态;开关方式见 /team' },
|
|
2371
2392
|
'cmd-desc-jobs': { zh: '查看本会话的后台任务' },
|
|
2372
2393
|
'cmd-desc-panel': { zh: '侧栏面板:开关 / 聚焦 / 缩放 / 切换', en: 'Side panel: toggle / focus / zoom / switch' },
|
|
2373
2394
|
'cmd-desc-kernel': { zh: '选择内核(切换后重启进入)', en: 'Choose the kernel (restarts into it)' },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dom.d.ts","sourceRoot":"","sources":["../../../src/ink/dom.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAE9C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAOlD,OAAO,KAAK,EAAE,MAAM,EAAkB,UAAU,EAAE,MAAM,aAAa,CAAA;AAKrE,KAAK,OAAO,GAAG;IACb,UAAU,EAAE,UAAU,GAAG,SAAS,CAAA;IAClC,QAAQ,CAAC,EAAE,UAAU,CAAA;IACrB,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,OAAO,CAAA;AAC9B;;GAEG;AACH,MAAM,MAAM,YAAY,GACpB,UAAU,GACV,SAAS,GACT,UAAU,GACV,kBAAkB,GAClB,UAAU,GACV,cAAc,GACd,WAAW,GACX,cAAc,CAAA;AAElB;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,YAAY,GAAG,QAAQ,CAAA;AAE/C;;;GAGG;AACH,MAAM,MAAM,UAAU,GAAG;IACvB,QAAQ,EAAE,YAAY,CAAA;IACtB,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAA;IAC5C,UAAU,EAAE,OAAO,EAAE,CAAA;IACrB,UAAU,CAAC,EAAE,UAAU,CAAA;IAGvB,eAAe,CAAC,EAAE,MAAM,IAAI,CAAA;IAC5B,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;IACrB,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAA;IAE9B,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAG5B,KAAK,EAAE,OAAO,CAAA;IAEd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAIlB,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,O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AA;AA6BD;;;;GAIG;AACH,eAAO,MAAM,cAAc,GAAI,MAAM,MAAM,KAAG,QAY7C,CAAA;AAwLD;;;;GAIG;AACH,eAAO,MAAM,SAAS,GAAI,OAAO,OAAO,KAAG,IAuB1C,CAAA;AAED;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,aAAa,GAAI,OAAO,OAAO,KAAG,IAkB9C,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB,GAAI,OAAO,OAAO,KAAG,IAInD,CAAA;AAED;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,GAAI,MAAM,QAAQ,EAAE,MAAM,MAAM,KAAG,IAY/D,CAAA;AAMD;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB,GAAI,MAAM,UAAU,GAAG,QAAQ,KAAG,IAOrE,CAAA;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,UAAU,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAmBzE"}
|
package/lib/types/ink/dom.js
CHANGED
|
@@ -322,10 +322,20 @@ function measureTextDimensions(text, width, widthMode, textWrap) {
|
|
|
322
322
|
return dimensions;
|
|
323
323
|
}
|
|
324
324
|
// This is happening when <Box> is shrinking child nodes and layout asks
|
|
325
|
-
// if we can fit this text node in a <1px space
|
|
326
|
-
|
|
327
|
-
|
|
325
|
+
// if we can fit this text node in a <1px space. Truncated text never wraps:
|
|
326
|
+
// below one column the drawing path cuts the whole string — newlines
|
|
327
|
+
// included — to nothing, so the node paints exactly one row. The `dimensions`
|
|
328
|
+
// measured above are instead the WRAPPED count of the untruncated text (a `~`
|
|
329
|
+
// measured at 0.16 columns reports height 7), and a footer row that keeps that
|
|
330
|
+
// height paints one line plus six blank ones — the narrow-footer blank band
|
|
331
|
+
// (#1883/#1926). Width keeps reporting the natural extent so the parent still
|
|
332
|
+
// sees "does not fit" and keeps shrinking.
|
|
333
|
+
if (textWrap.startsWith('truncate') && dimensions.width >= 1 && width > 0 && width < 1) {
|
|
334
|
+
return { width: dimensions.width, height: 1 };
|
|
328
335
|
}
|
|
336
|
+
// Wrapping modes must reach wrapText below: paint still wraps at this
|
|
337
|
+
// fractional width (one grapheme per row), so the wrapped count of the
|
|
338
|
+
// untruncated text is not the height the node occupies (#1933).
|
|
329
339
|
// For text with embedded newlines (pre-wrapped content), avoid re-wrapping
|
|
330
340
|
// at measurement width when layout is asking for intrinsic size (Undefined mode).
|
|
331
341
|
// This prevents height inflation during min/max size checks.
|
|
@@ -20,6 +20,12 @@
|
|
|
20
20
|
* after writeDiffToTerminal; test harnesses that bypass ink and write
|
|
21
21
|
* frames directly may call it manually to keep consumers in step. */
|
|
22
22
|
export declare function noteTerminalFlush(): void;
|
|
23
|
+
/** Capture this frame's presentation waiters before enqueueing its write.
|
|
24
|
+
* Later commits cannot claim an older queued frame's completion. */
|
|
25
|
+
export declare function takeTerminalFlushWaiters(stdout: NodeJS.WriteStream): ((error?: Error | null) => void) | undefined;
|
|
26
|
+
/** Subscribe during React's mutation phase, before resetAfterCommit can flush.
|
|
27
|
+
* Cleanup also cancels a queued callback if a newer commit removes the card. */
|
|
28
|
+
export declare function afterNextTerminalFlush(stdout: NodeJS.WriteStream, callback: () => void): () => void;
|
|
23
29
|
/** Current flush tick. Consumers capture it when they widen state and only
|
|
24
30
|
* tighten again once the tick has advanced (a frame flushed since). */
|
|
25
31
|
export declare function getTerminalFlushTick(): number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flush-tick.d.ts","sourceRoot":"","sources":["../../../src/ink/flush-tick.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAKH;;sEAEsE;AACtE,wBAAgB,iBAAiB,IAAI,IAAI,CAExC;AAED;wEACwE;AACxE,wBAAgB,oBAAoB,IAAI,MAAM,CAE7C"}
|
|
1
|
+
{"version":3,"file":"flush-tick.d.ts","sourceRoot":"","sources":["../../../src/ink/flush-tick.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAKH;;sEAEsE;AACtE,wBAAgB,iBAAiB,IAAI,IAAI,CAExC;AAED;oEACoE;AACpE,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,MAAM,CAAC,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,EAAE,KAAK,GAAG,IAAI,KAAK,IAAI,CAAC,GAAG,SAAS,CAQjH;AAMD;gFACgF;AAChF,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,MAAM,CAAC,WAAW,EAAE,QAAQ,EAAE,MAAM,IAAI,GAAG,MAAM,IAAI,CAOnG;AAED;wEACwE;AACxE,wBAAgB,oBAAoB,IAAI,MAAM,CAE7C"}
|
|
@@ -24,6 +24,37 @@ let flushTick = 0;
|
|
|
24
24
|
export function noteTerminalFlush() {
|
|
25
25
|
flushTick++;
|
|
26
26
|
}
|
|
27
|
+
/** Capture this frame's presentation waiters before enqueueing its write.
|
|
28
|
+
* Later commits cannot claim an older queued frame's completion. */
|
|
29
|
+
export function takeTerminalFlushWaiters(stdout) {
|
|
30
|
+
const pending = flushWaiters.get(stdout);
|
|
31
|
+
if (pending === undefined || pending.size === 0)
|
|
32
|
+
return undefined;
|
|
33
|
+
flushWaiters.delete(stdout);
|
|
34
|
+
return error => {
|
|
35
|
+
if (error !== undefined && error !== null)
|
|
36
|
+
return;
|
|
37
|
+
for (const notify of pending)
|
|
38
|
+
notify();
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
// Scoped to the renderer's output: another app's frame cannot acknowledge this
|
|
42
|
+
// app's content. A waiter is consumed by one completed terminal write only.
|
|
43
|
+
const flushWaiters = new WeakMap();
|
|
44
|
+
/** Subscribe during React's mutation phase, before resetAfterCommit can flush.
|
|
45
|
+
* Cleanup also cancels a queued callback if a newer commit removes the card. */
|
|
46
|
+
export function afterNextTerminalFlush(stdout, callback) {
|
|
47
|
+
let active = true;
|
|
48
|
+
const notify = () => { queueMicrotask(() => { if (active)
|
|
49
|
+
callback(); }); };
|
|
50
|
+
let pending = flushWaiters.get(stdout);
|
|
51
|
+
if (pending === undefined) {
|
|
52
|
+
pending = new Set();
|
|
53
|
+
flushWaiters.set(stdout, pending);
|
|
54
|
+
}
|
|
55
|
+
pending.add(notify);
|
|
56
|
+
return () => { active = false; pending.delete(notify); };
|
|
57
|
+
}
|
|
27
58
|
/** Current flush tick. Consumers capture it when they widen state and only
|
|
28
59
|
* tighten again once the tick has advanced (a frame flushed since). */
|
|
29
60
|
export function getTerminalFlushTick() {
|
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
import { type JumpBackState } from '../jumpback-state.js';
|
|
2
|
+
/**
|
|
3
|
+
* The pane-title suffix that names this pane to the jump-back helper, or ''
|
|
4
|
+
* when the marker must not appear — disabled, not minted yet, or not Windows
|
|
5
|
+
* (no other host can resolve it).
|
|
6
|
+
* @param state - the published jump-back state.
|
|
7
|
+
* @param platform - the host platform; injectable for verification.
|
|
8
|
+
* @returns `' [dsh-tui:<16 hex>]'` when the marker belongs in the title.
|
|
9
|
+
*/
|
|
10
|
+
export declare function jumpBackTitleSuffix(state: JumpBackState, platform?: NodeJS.Platform): string;
|
|
1
11
|
/**
|
|
2
12
|
* Declaratively set the terminal tab/window title.
|
|
3
13
|
*
|
|
@@ -8,6 +18,11 @@
|
|
|
8
18
|
*
|
|
9
19
|
* On Windows, uses `process.title` (classic conhost doesn't support OSC).
|
|
10
20
|
* Elsewhere, writes OSC 0 (set title+icon) via Ink's stdout.
|
|
21
|
+
*
|
|
22
|
+
* When jump-back is enabled on Windows, the pane marker is appended after
|
|
23
|
+
* ANSI stripping. The hook subscribes to the jump-back state so flipping the
|
|
24
|
+
* setting rewrites the title immediately, and the marker it appends is the
|
|
25
|
+
* same published value the activation URI carries.
|
|
11
26
|
* @param title - the title to set, or null to opt out.
|
|
12
27
|
*/
|
|
13
28
|
export declare function useTerminalTitle(title: string | null): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-terminal-title.d.ts","sourceRoot":"","sources":["../../../../src/ink/hooks/use-terminal-title.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-terminal-title.d.ts","sourceRoot":"","sources":["../../../../src/ink/hooks/use-terminal-title.ts"],"names":[],"mappings":"AAEA,OAAO,EAAuC,KAAK,aAAa,EAAE,MAAM,sBAAsB,CAAA;AAI9F;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,aAAa,EACpB,QAAQ,GAAE,MAAM,CAAC,QAA2B,GAC3C,MAAM,CAGR;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,CAe3D"}
|
|
@@ -1,7 +1,21 @@
|
|
|
1
|
-
import { useContext, useEffect } from 'react';
|
|
1
|
+
import { useContext, useEffect, useSyncExternalStore } from 'react';
|
|
2
2
|
import stripAnsi from 'strip-ansi';
|
|
3
|
+
import { getJumpBackState, subscribeJumpBack } from '../jumpback-state.js';
|
|
3
4
|
import { OSC, osc } from '../termio/osc.js';
|
|
4
5
|
import { TerminalWriteContext } from '../useTerminalNotification.js';
|
|
6
|
+
/**
|
|
7
|
+
* The pane-title suffix that names this pane to the jump-back helper, or ''
|
|
8
|
+
* when the marker must not appear — disabled, not minted yet, or not Windows
|
|
9
|
+
* (no other host can resolve it).
|
|
10
|
+
* @param state - the published jump-back state.
|
|
11
|
+
* @param platform - the host platform; injectable for verification.
|
|
12
|
+
* @returns `' [dsh-tui:<16 hex>]'` when the marker belongs in the title.
|
|
13
|
+
*/
|
|
14
|
+
export function jumpBackTitleSuffix(state, platform = process.platform) {
|
|
15
|
+
if (platform !== 'win32' || !state.enabled || state.marker === null)
|
|
16
|
+
return '';
|
|
17
|
+
return ` [dsh-tui:${state.marker}]`;
|
|
18
|
+
}
|
|
5
19
|
/**
|
|
6
20
|
* Declaratively set the terminal tab/window title.
|
|
7
21
|
*
|
|
@@ -12,19 +26,25 @@ import { TerminalWriteContext } from '../useTerminalNotification.js';
|
|
|
12
26
|
*
|
|
13
27
|
* On Windows, uses `process.title` (classic conhost doesn't support OSC).
|
|
14
28
|
* Elsewhere, writes OSC 0 (set title+icon) via Ink's stdout.
|
|
29
|
+
*
|
|
30
|
+
* When jump-back is enabled on Windows, the pane marker is appended after
|
|
31
|
+
* ANSI stripping. The hook subscribes to the jump-back state so flipping the
|
|
32
|
+
* setting rewrites the title immediately, and the marker it appends is the
|
|
33
|
+
* same published value the activation URI carries.
|
|
15
34
|
* @param title - the title to set, or null to opt out.
|
|
16
35
|
*/
|
|
17
36
|
export function useTerminalTitle(title) {
|
|
18
37
|
const writeRaw = useContext(TerminalWriteContext);
|
|
38
|
+
const jumpBack = useSyncExternalStore(subscribeJumpBack, getJumpBackState);
|
|
19
39
|
useEffect(() => {
|
|
20
40
|
if (title === null || !writeRaw)
|
|
21
41
|
return;
|
|
22
|
-
const clean = stripAnsi(title);
|
|
42
|
+
const clean = stripAnsi(title) + jumpBackTitleSuffix(jumpBack);
|
|
23
43
|
if (process.platform === 'win32') {
|
|
24
44
|
process.title = clean;
|
|
25
45
|
}
|
|
26
46
|
else {
|
|
27
47
|
writeRaw(osc(OSC.SET_TITLE_AND_ICON, clean));
|
|
28
48
|
}
|
|
29
|
-
}, [title, writeRaw]);
|
|
49
|
+
}, [title, writeRaw, jumpBack]);
|
|
30
50
|
}
|
package/lib/types/ink/ink.js
CHANGED
|
@@ -22,7 +22,7 @@ import { FocusManager } from './focus.js';
|
|
|
22
22
|
import { emptyFrame } from './frame.js';
|
|
23
23
|
import { dispatchClick, dispatchContextMenu, dispatchDragEvent as bubbleDragEvent, dispatchHover, dispatchWheel, findClickTarget, findDragTarget, clearHovered, invalidateNoInterestRect } from './hit-test.js';
|
|
24
24
|
import { logMouseDebug } from '../utils/debug.js';
|
|
25
|
-
import { noteTerminalFlush } from './flush-tick.js';
|
|
25
|
+
import { noteTerminalFlush, takeTerminalFlushWaiters } from './flush-tick.js';
|
|
26
26
|
import instances from './instances.js';
|
|
27
27
|
import { suppressInputFor } from './input-suppression.js';
|
|
28
28
|
import { LogUpdate } from './log-update.js';
|
|
@@ -1204,7 +1204,7 @@ export default class Ink {
|
|
|
1204
1204
|
}
|
|
1205
1205
|
}
|
|
1206
1206
|
const tWrite = performance.now();
|
|
1207
|
-
writeDiffToTerminal(this.terminal, optimized, this.altScreenActive && !SYNC_OUTPUT_SUPPORTED);
|
|
1207
|
+
writeDiffToTerminal(this.terminal, optimized, this.altScreenActive && !SYNC_OUTPUT_SUPPORTED, takeTerminalFlushWaiters(this.options.stdout));
|
|
1208
1208
|
const writeMs = performance.now() - tWrite;
|
|
1209
1209
|
// One frame reached the terminal. Components holding a widened mount
|
|
1210
1210
|
// window until its content is actually flushed (MessageList's paint
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/** Published jump-back state; the object identity changes only when the state does. */
|
|
2
|
+
export interface JumpBackState {
|
|
3
|
+
/** True when the user opted into jump-back. Consumers gate every effect on it. */
|
|
4
|
+
readonly enabled: boolean;
|
|
5
|
+
/** 16 lowercase hex characters naming this pane; null until the first enable. */
|
|
6
|
+
readonly marker: string | null;
|
|
7
|
+
/**
|
|
8
|
+
* The enable generation. Every enable or disable publishes a new value, so an
|
|
9
|
+
* asynchronous preparation that started under an older generation can tell it
|
|
10
|
+
* has been superseded before it reaches the registry.
|
|
11
|
+
*/
|
|
12
|
+
readonly generation: number;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* The current jump-back state, for `useSyncExternalStore` and for consumers
|
|
16
|
+
* that need the marker.
|
|
17
|
+
* @returns the published state; the same object until the state changes.
|
|
18
|
+
*/
|
|
19
|
+
export declare function getJumpBackState(): JumpBackState;
|
|
20
|
+
/**
|
|
21
|
+
* Subscribe to jump-back state changes, for `useSyncExternalStore`.
|
|
22
|
+
* @param cb - invoked synchronously after every published change.
|
|
23
|
+
* @returns a function that unsubscribes the callback.
|
|
24
|
+
*/
|
|
25
|
+
export declare function subscribeJumpBack(cb: () => void): () => void;
|
|
26
|
+
/**
|
|
27
|
+
* Publish the user's jump-back choice. Enabling mints the marker once and
|
|
28
|
+
* keeps it afterwards, so toggling the setting cannot change an identity that
|
|
29
|
+
* a documented JSON file or an already-delivered toast refers to.
|
|
30
|
+
* @param enabled - the resolved `jumpBack` setting.
|
|
31
|
+
*/
|
|
32
|
+
export declare function setJumpBackEnabled(enabled: boolean): void;
|
|
33
|
+
//# sourceMappingURL=jumpback-state.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jumpback-state.d.ts","sourceRoot":"","sources":["../../../src/ink/jumpback-state.ts"],"names":[],"mappings":"AAaA,uFAAuF;AACvF,MAAM,WAAW,aAAa;IAC5B,kFAAkF;IAClF,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAA;IACzB,iFAAiF;IACjF,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;IAC9B;;;;OAIG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAA;CAC5B;AAKD;;;;GAIG;AACH,wBAAgB,gBAAgB,IAAI,aAAa,CAEhD;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,EAAE,EAAE,MAAM,IAAI,GAAG,MAAM,IAAI,CAK5D;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAUzD"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Jump-back identity for this process: whether the user opted into pane
|
|
3
|
+
* jump-back, and the marker that names this pane.
|
|
4
|
+
*
|
|
5
|
+
* The marker is published here instead of being derived by each consumer.
|
|
6
|
+
* The pane-title writer, the pre-toast probe and the documented JSON contract
|
|
7
|
+
* all read this one value, so the title and the activation URI can never
|
|
8
|
+
* disagree about who this pane is. It is minted on the first enable
|
|
9
|
+
* and kept for the rest of the process, which is the stability the title
|
|
10
|
+
* contract asks for.
|
|
11
|
+
*/
|
|
12
|
+
import { randomBytes } from 'node:crypto';
|
|
13
|
+
let state = { enabled: false, marker: null, generation: 0 };
|
|
14
|
+
const subscribers = new Set();
|
|
15
|
+
/**
|
|
16
|
+
* The current jump-back state, for `useSyncExternalStore` and for consumers
|
|
17
|
+
* that need the marker.
|
|
18
|
+
* @returns the published state; the same object until the state changes.
|
|
19
|
+
*/
|
|
20
|
+
export function getJumpBackState() {
|
|
21
|
+
return state;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Subscribe to jump-back state changes, for `useSyncExternalStore`.
|
|
25
|
+
* @param cb - invoked synchronously after every published change.
|
|
26
|
+
* @returns a function that unsubscribes the callback.
|
|
27
|
+
*/
|
|
28
|
+
export function subscribeJumpBack(cb) {
|
|
29
|
+
subscribers.add(cb);
|
|
30
|
+
return () => {
|
|
31
|
+
subscribers.delete(cb);
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Publish the user's jump-back choice. Enabling mints the marker once and
|
|
36
|
+
* keeps it afterwards, so toggling the setting cannot change an identity that
|
|
37
|
+
* a documented JSON file or an already-delivered toast refers to.
|
|
38
|
+
* @param enabled - the resolved `jumpBack` setting.
|
|
39
|
+
*/
|
|
40
|
+
export function setJumpBackEnabled(enabled) {
|
|
41
|
+
if (enabled === state.enabled)
|
|
42
|
+
return;
|
|
43
|
+
state = {
|
|
44
|
+
enabled,
|
|
45
|
+
marker: enabled && state.marker === null ? randomBytes(8).toString('hex') : state.marker,
|
|
46
|
+
generation: state.generation + 1,
|
|
47
|
+
};
|
|
48
|
+
for (const cb of subscribers) {
|
|
49
|
+
cb();
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Jump-back orchestration (D4/D7/D8): the single place that asks whether this
|
|
3
|
+
* pane can be promised a jump, registers the `dsh-tui:` protocol a toast click
|
|
4
|
+
* comes back through, and keeps the documented marker files truthful. The UIA
|
|
5
|
+
* work itself belongs to the helper under `notify-helper/`.
|
|
6
|
+
*
|
|
7
|
+
* Every system side effect sits behind the win32 guard and behind the injected
|
|
8
|
+
* ports, so a POSIX process neither writes the registry nor leaves marker files.
|
|
9
|
+
* Nothing here throws: a failure answers "not capable", the caller degrades to a
|
|
10
|
+
* plain toast, and the stage and reason stay in the debug log (AC-3/AC-9).
|
|
11
|
+
*/
|
|
12
|
+
import { execFileNoThrow } from '../utils/execFileNoThrow.js';
|
|
13
|
+
/**
|
|
14
|
+
* The URI scheme root (D7): Windows hands `dsh-tui:` to a handler only when this
|
|
15
|
+
* key carries the named value `URL Protocol`; the click command sits below it.
|
|
16
|
+
*/
|
|
17
|
+
export declare const JUMP_BACK_PROTOCOL_KEY = "HKCU\\Software\\Classes\\dsh-tui";
|
|
18
|
+
/**
|
|
19
|
+
* The command a toast click runs (D7). It quotes both the helper and the data
|
|
20
|
+
* directory: the shell starts the handler with none of our environment, so the
|
|
21
|
+
* helper must be told where the profile lives explicitly.
|
|
22
|
+
*/
|
|
23
|
+
export declare const JUMP_BACK_PROTOCOL_COMMAND_KEY = "HKCU\\Software\\Classes\\dsh-tui\\shell\\open\\command";
|
|
24
|
+
/** True when the id can name a marker file; `writeMarker` enforces the same rule. */
|
|
25
|
+
export declare function isMarkerFileSession(sessionId: string): boolean;
|
|
26
|
+
/** Why a probe did not promise a jump; each one is a degradation, never a throw. */
|
|
27
|
+
export type JumpBackProbeStage = 'not-win32' | 'marker' | 'helper' | 'probe' | 'unexpected';
|
|
28
|
+
/** The pre-toast answer (D4): capable only when the helper exited 0. */
|
|
29
|
+
export type JumpBackProbe = {
|
|
30
|
+
readonly capable: true;
|
|
31
|
+
readonly helperPath: string;
|
|
32
|
+
} | {
|
|
33
|
+
readonly capable: false;
|
|
34
|
+
readonly stage: JumpBackProbeStage;
|
|
35
|
+
readonly reason: string;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* The ports a regression injects: each production default is named in its
|
|
39
|
+
* comment, so the suite drives the whole orchestration without the registry,
|
|
40
|
+
* csc or the real profile directory.
|
|
41
|
+
*/
|
|
42
|
+
export interface JumpBackPorts {
|
|
43
|
+
/** Platform override for the regression; production is `process.platform`. */
|
|
44
|
+
platform?: NodeJS.Platform;
|
|
45
|
+
/** Environment for the `%WINDIR%` lookup; defaults to `process.env`. */
|
|
46
|
+
env?: Record<string, string | undefined>;
|
|
47
|
+
/** Process runner for `reg.exe` and the helper; defaults to `execFileNoThrow`. */
|
|
48
|
+
run?: typeof execFileNoThrow;
|
|
49
|
+
/** Clock for `startedAt` and the stale sweep; defaults to `Date.now`. */
|
|
50
|
+
now?: () => number;
|
|
51
|
+
/** Data directory (`~/.dsh-tui` normally); defaults to {@link DATA_DIR}. */
|
|
52
|
+
dataDir?: string;
|
|
53
|
+
/** Liveness for marker owners; defaults to {@link pidAlive} (D8 sweep and cleanup). */
|
|
54
|
+
pidAlive?: (pid: number) => boolean;
|
|
55
|
+
/** Resolves the compiled helper; defaults to {@link ensureHelper}, the only compiler. */
|
|
56
|
+
helperPath?: () => Promise<string | undefined>;
|
|
57
|
+
}
|
|
58
|
+
/** The jump-back orchestration one process owns. */
|
|
59
|
+
export interface JumpBack {
|
|
60
|
+
/** Decide before a toast whether a click can be promised to land on this pane (D4). */
|
|
61
|
+
probe(marker: string): Promise<JumpBackProbe>;
|
|
62
|
+
/** Register the protocol key, or prove the cached registration is still ours (D7). */
|
|
63
|
+
ensureProtocol(helperPath: string): Promise<boolean>;
|
|
64
|
+
/** Remove the protocol key; a missing key is not an error (D7). */
|
|
65
|
+
unregisterProtocol(): Promise<void>;
|
|
66
|
+
/** Write the documented read-only marker file for one session (D8). */
|
|
67
|
+
writeMarker(sessionId: string, marker: string): string | undefined;
|
|
68
|
+
/** Remove its marker files, and the key unless another live instance still needs it (D7). */
|
|
69
|
+
cleanup(): Promise<void>;
|
|
70
|
+
/** Remove marker files whose owner is gone or older than a week (D8 startup cleanup). */
|
|
71
|
+
sweepStale(): void;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Create the orchestration for one process.
|
|
75
|
+
* @returns The jump-back orchestration.
|
|
76
|
+
*/
|
|
77
|
+
export declare function createJumpBack(ports?: JumpBackPorts): JumpBack;
|
|
78
|
+
//# sourceMappingURL=jumpback.d.ts.map
|