@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.
Files changed (166) hide show
  1. package/README.md +63 -57
  2. package/cordis.patch.yml +5 -3
  3. package/cordis.yml +3 -2
  4. package/guide/dsh-tui-guide/configuration.en.md +1 -1
  5. package/guide/dsh-tui-guide/configuration.md +1 -1
  6. package/guide/dsh-tui-guide/getting-started.en.md +2 -2
  7. package/guide/dsh-tui-guide/getting-started.md +2 -2
  8. package/guide/dsh-tui-guide/user-guide.en.md +7 -2
  9. package/guide/dsh-tui-guide/user-guide.md +7 -2
  10. package/lib/settings.json +24 -8
  11. package/lib/types/adapter/ports/channel-view.d.ts +39 -3
  12. package/lib/types/adapter/ports/channel-view.d.ts.map +1 -1
  13. package/lib/types/agent/events.d.ts +3 -1
  14. package/lib/types/agent/events.d.ts.map +1 -1
  15. package/lib/types/backends/claude/tools.d.ts.map +1 -1
  16. package/lib/types/backends/claude/tools.js +8 -3
  17. package/lib/types/backends/codex/translate/presentation.d.ts.map +1 -1
  18. package/lib/types/backends/codex/translate/presentation.js +5 -2
  19. package/lib/types/channel/interaction.d.ts.map +1 -1
  20. package/lib/types/channel/interaction.js +1 -0
  21. package/lib/types/channel/permissions.d.ts +15 -0
  22. package/lib/types/channel/permissions.d.ts.map +1 -1
  23. package/lib/types/channel/permissions.js +28 -0
  24. package/lib/types/channel/projection.d.ts.map +1 -1
  25. package/lib/types/channel/projection.js +11 -1
  26. package/lib/types/channel/questions.d.ts +26 -0
  27. package/lib/types/channel/questions.d.ts.map +1 -1
  28. package/lib/types/channel/questions.js +43 -0
  29. package/lib/types/commands.js +1 -1
  30. package/lib/types/components/MessageList.d.ts.map +1 -1
  31. package/lib/types/components/MessageList.js +3 -3
  32. package/lib/types/components/SplitDiffView.d.ts.map +1 -1
  33. package/lib/types/components/SplitDiffView.js +3 -2
  34. package/lib/types/components/StarPrompt.d.ts +5 -3
  35. package/lib/types/components/StarPrompt.d.ts.map +1 -1
  36. package/lib/types/components/StarPrompt.js +56 -6
  37. package/lib/types/components/SubagentCard.d.ts.map +1 -1
  38. package/lib/types/components/SubagentCard.js +1 -1
  39. package/lib/types/components/SubagentDashboard.d.ts.map +1 -1
  40. package/lib/types/components/SubagentDashboard.js +3 -2
  41. package/lib/types/components/SubagentDetailScene.d.ts.map +1 -1
  42. package/lib/types/components/SubagentDetailScene.js +1 -1
  43. package/lib/types/components/messages/AssistantToolUseMessage.d.ts.map +1 -1
  44. package/lib/types/components/messages/AssistantToolUseMessage.js +121 -23
  45. package/lib/types/components/teamRoster.d.ts +6 -3
  46. package/lib/types/components/teamRoster.d.ts.map +1 -1
  47. package/lib/types/dsh-adapter/approvals.d.ts +19 -0
  48. package/lib/types/dsh-adapter/approvals.d.ts.map +1 -1
  49. package/lib/types/dsh-adapter/approvals.js +17 -1
  50. package/lib/types/dsh-adapter/backend/translate.d.ts.map +1 -1
  51. package/lib/types/dsh-adapter/backend/translate.js +15 -3
  52. package/lib/types/dsh-adapter/channel/extensions.d.ts.map +1 -1
  53. package/lib/types/dsh-adapter/channel/extensions.js +7 -4
  54. package/lib/types/dsh-adapter/channel/local-actions.d.ts.map +1 -1
  55. package/lib/types/dsh-adapter/channel/local-actions.js +7 -3
  56. package/lib/types/dsh-adapter/channel/projection-helpers.d.ts.map +1 -1
  57. package/lib/types/dsh-adapter/channel/projection-helpers.js +4 -2
  58. package/lib/types/dsh-adapter/channel/settings-host.d.ts.map +1 -1
  59. package/lib/types/dsh-adapter/channel/settings-host.js +179 -33
  60. package/lib/types/dsh-adapter/channel/subagent-projection.d.ts +55 -4
  61. package/lib/types/dsh-adapter/channel/subagent-projection.d.ts.map +1 -1
  62. package/lib/types/dsh-adapter/channel/subagent-projection.js +80 -16
  63. package/lib/types/dsh-adapter/channel/subagent-transcript.d.ts +1 -1
  64. package/lib/types/dsh-adapter/channel/subagent-transcript.d.ts.map +1 -1
  65. package/lib/types/dsh-adapter/channel/subagent-transcript.js +6 -5
  66. package/lib/types/dsh-adapter/channel/task-completion.js +2 -10
  67. package/lib/types/dsh-adapter/compat/compaction-previews.d.ts +11 -0
  68. package/lib/types/dsh-adapter/compat/compaction-previews.d.ts.map +1 -0
  69. package/lib/types/dsh-adapter/compat/compaction-previews.js +38 -0
  70. package/lib/types/dsh-adapter/compat/messages.d.ts +1 -1
  71. package/lib/types/dsh-adapter/compat/messages.d.ts.map +1 -1
  72. package/lib/types/dsh-adapter/compat/messages.js +2 -2
  73. package/lib/types/dsh-adapter/contract.d.ts +7 -4
  74. package/lib/types/dsh-adapter/contract.d.ts.map +1 -1
  75. package/lib/types/dsh-adapter/contract.js +8 -4
  76. package/lib/types/dsh-adapter/experimental-bundles.d.ts +5 -0
  77. package/lib/types/dsh-adapter/experimental-bundles.d.ts.map +1 -1
  78. package/lib/types/dsh-adapter/experimental-bundles.js +0 -2
  79. package/lib/types/dsh-adapter/host-contract.d.ts +1 -1
  80. package/lib/types/dsh-adapter/host-contract.js +2 -2
  81. package/lib/types/dsh-adapter/host-dsh.d.ts +2 -0
  82. package/lib/types/dsh-adapter/host-dsh.d.ts.map +1 -1
  83. package/lib/types/dsh-adapter/host-dsh.js +3 -0
  84. package/lib/types/dsh-adapter/index.d.ts +9 -1
  85. package/lib/types/dsh-adapter/index.d.ts.map +1 -1
  86. package/lib/types/dsh-adapter/index.js +5 -0
  87. package/lib/types/dsh-adapter/oauth/account-notifications.d.ts +73 -0
  88. package/lib/types/dsh-adapter/oauth/account-notifications.d.ts.map +1 -0
  89. package/lib/types/dsh-adapter/oauth/account-notifications.js +250 -0
  90. package/lib/types/dsh-adapter/oauth/bonus.d.ts +34 -9
  91. package/lib/types/dsh-adapter/oauth/bonus.d.ts.map +1 -1
  92. package/lib/types/dsh-adapter/oauth/bonus.js +47 -5
  93. package/lib/types/dsh-adapter/oauth/deepseek.d.ts +7 -2
  94. package/lib/types/dsh-adapter/oauth/deepseek.d.ts.map +1 -1
  95. package/lib/types/dsh-adapter/oauth/deepseek.js +6 -1
  96. package/lib/types/dsh-adapter/oauth/index.d.ts.map +1 -1
  97. package/lib/types/dsh-adapter/oauth/index.js +44 -0
  98. package/lib/types/dsh-adapter/oauth/service.d.ts.map +1 -1
  99. package/lib/types/dsh-adapter/oauth/service.js +5 -6
  100. package/lib/types/dsh-adapter/plugin-manage.d.ts +6 -4
  101. package/lib/types/dsh-adapter/plugin-manage.d.ts.map +1 -1
  102. package/lib/types/dsh-adapter/plugin-manage.js +3 -2
  103. package/lib/types/dsh-adapter/plugin.d.ts +237 -6
  104. package/lib/types/dsh-adapter/plugin.d.ts.map +1 -1
  105. package/lib/types/dsh-adapter/plugin.js +608 -23
  106. package/lib/types/dsh-adapter/session-projection-store.d.ts +1 -1
  107. package/lib/types/dsh-adapter/session-projection-store.d.ts.map +1 -1
  108. package/lib/types/dsh-adapter/session-projection-store.js +30 -23
  109. package/lib/types/dsh-adapter/sessionTree.d.ts.map +1 -1
  110. package/lib/types/dsh-adapter/sessionTree.js +4 -1
  111. package/lib/types/dsh-adapter/subagents.d.ts +1 -0
  112. package/lib/types/dsh-adapter/subagents.d.ts.map +1 -1
  113. package/lib/types/dsh-adapter/subagents.js +10 -2
  114. package/lib/types/dsh-adapter/team-mode.d.ts +29 -17
  115. package/lib/types/dsh-adapter/team-mode.d.ts.map +1 -1
  116. package/lib/types/dsh-adapter/team-mode.js +138 -17
  117. package/lib/types/dsh-adapter/team-roster.d.ts +53 -18
  118. package/lib/types/dsh-adapter/team-roster.d.ts.map +1 -1
  119. package/lib/types/dsh-adapter/team-roster.js +206 -39
  120. package/lib/types/dsh-adapter/team-tools.d.ts +25 -12
  121. package/lib/types/dsh-adapter/team-tools.d.ts.map +1 -1
  122. package/lib/types/dsh-adapter/team-tools.js +81 -26
  123. package/lib/types/i18n.d.ts +65 -9
  124. package/lib/types/i18n.d.ts.map +1 -1
  125. package/lib/types/i18n.js +29 -8
  126. package/lib/types/ink/dom.d.ts.map +1 -1
  127. package/lib/types/ink/dom.js +13 -3
  128. package/lib/types/ink/flush-tick.d.ts +6 -0
  129. package/lib/types/ink/flush-tick.d.ts.map +1 -1
  130. package/lib/types/ink/flush-tick.js +31 -0
  131. package/lib/types/ink/hooks/use-terminal-title.d.ts +15 -0
  132. package/lib/types/ink/hooks/use-terminal-title.d.ts.map +1 -1
  133. package/lib/types/ink/hooks/use-terminal-title.js +23 -3
  134. package/lib/types/ink/ink.js +2 -2
  135. package/lib/types/ink/jumpback-state.d.ts +33 -0
  136. package/lib/types/ink/jumpback-state.d.ts.map +1 -0
  137. package/lib/types/ink/jumpback-state.js +51 -0
  138. package/lib/types/ink/jumpback.d.ts +78 -0
  139. package/lib/types/ink/jumpback.d.ts.map +1 -0
  140. package/lib/types/ink/jumpback.js +515 -0
  141. package/lib/types/ink/log-update.js +37 -14
  142. package/lib/types/ink/notify-helper/activate.cs +836 -0
  143. package/lib/types/ink/notify-helper/compile.d.ts +30 -0
  144. package/lib/types/ink/notify-helper/compile.d.ts.map +1 -0
  145. package/lib/types/ink/notify-helper/compile.js +235 -0
  146. package/lib/types/ink/terminal-notification-windows.d.ts +8 -4
  147. package/lib/types/ink/terminal-notification-windows.d.ts.map +1 -1
  148. package/lib/types/ink/terminal-notification-windows.js +14 -21
  149. package/lib/types/ink/terminal-notification.d.ts +31 -2
  150. package/lib/types/ink/terminal-notification.d.ts.map +1 -1
  151. package/lib/types/ink/terminal-notification.js +51 -0
  152. package/lib/types/ink/terminal.d.ts +2 -1
  153. package/lib/types/ink/terminal.d.ts.map +1 -1
  154. package/lib/types/ink/terminal.js +9 -4
  155. package/lib/types/screens/AgentTranscriptScene.d.ts.map +1 -1
  156. package/lib/types/screens/AgentTranscriptScene.js +1 -1
  157. package/lib/types/screens/Chat.d.ts +4 -3
  158. package/lib/types/screens/Chat.d.ts.map +1 -1
  159. package/lib/types/screens/Chat.js +38 -9
  160. package/lib/types/settings/definitions.d.ts +12 -0
  161. package/lib/types/settings/definitions.d.ts.map +1 -1
  162. package/lib/types/settings/definitions.js +15 -7
  163. package/package.json +112 -112
  164. package/presets/liangshen/agent.cordis.yml +4 -0
  165. package/tui-profile/feed/README.md +1 -1
  166. package/tui-profile/feed/first-party.json +1 -1
package/README.md CHANGED
@@ -44,7 +44,7 @@ Resuming a DSH session preserves its recorded reasoning effort (or its live sele
44
44
  - **Pixel whale pet** — three startup intros, click to wake; freezes after the first task.
45
45
  - **Launchpad and first-run guide** — every ordinary launch lands on a landing page with a **real input box** (big text + whale + quick actions, dropping whole blocks on short/narrow terminals; whale-girl images use a compact native-canvas footprint instead of leaving a large gap before the title; on by default — /settings `launchpad` off boots straight into chat); command completion matches chat: `Tab` fills the input, `Enter` runs the command and clears it. The first run walks a four-step wizard (accounts & models / language+theme / model+workspace / shortcuts), re-runnable with `/setup`; its first step signs in to a subscription and catches the models it brings in (none → no question, one → that one, several → you choose), or adds an API key through the `/provider` wizard, which asks which of the enabled models to switch to or keeps the current one.
46
46
  - **Terminal-native UI** — streaming Markdown, tool cards, `/` and `@` completion, `#L12-14` ranges, history search, zh/en UI.
47
- - **Task completion notifications** — DSH, Claude and Codex notify after successful live work settles, with no queued follow-up or active goal. The title is “dsh-TUI · Task complete”; the body shows the latest settled reply as a single-line plain-text preview (Markdown formatting removed, up to 200 characters). OSC 777/9 apply an additional 2048-byte sequence budget, including title and protocol bytes, preserving whole graphemes. No reply shows only the title; BEL only rings. `/settings` → Conversation: `taskNotifications` = `unfocused` (default), `always`, or `off`; `notificationMethod` = `auto` (default), `osc9`, `bel`, or `windows`. Auto uses separate title/body fields on Ghostty/WezTerm (OSC 777) and Kitty (OSC 99); iTerm2/Warp and explicit `osc9` use a title prefix; other terminals ring the bell; delivery follows your terminal's notification/bell settings. On local Windows, `auto` resolves to `windows`, the system's native notifications: a task-completion toast. The first toast registers that user's AppUserModelID under HKCU, the toast appears about 3 seconds after the task ends (the PowerShell cold start that buys the no-extra-install route), and for DSH sessions an enabled, active external DSH notification plugin in the running profile makes dsh-TUI yield to it (no toast, no bell); an installed but disabled plugin does not suppress notifications; if that AppUserModelID cannot be written, the notification falls back to the bell instead of going silent. SSH sessions keep the attached terminal's notification protocol in `auto` mode; explicit `windows` still selects the host's native transport. tmux requires `set -g allow-passthrough on` for OSC notifications and `set -g focus-events on` for focus reporting. Terminals without focus reporting need `always`. Replay, cancellation and failures do not notify. Works in inline and fullscreen modes.
47
+ - **Notifications** — one switch covers four system notifications: task completion, a tool approval waiting for your decision, a question waiting for your answer, and a plan review waiting for your decision. Task completion: DSH, Claude and Codex notify after successful live work settles, with no queued follow-up or active goal. The title is “dsh-TUI · Task complete”; the body shows the latest settled reply as a single-line plain-text preview (Markdown formatting removed, up to 200 characters). OSC 777/9 apply an additional 2048-byte sequence budget, including title and protocol bytes, preserving whole graphemes. No reply shows only the title; BEL only rings. `/settings` → Conversation: `taskNotifications` = `unfocused` (default), `always`, or `off`; `notificationMethod` = `auto` (default), `osc9`, `bel`, or `windows`. Auto uses separate title/body fields on Ghostty/WezTerm (OSC 777) and Kitty (OSC 99); iTerm2/Warp and explicit `osc9` use a title prefix; other terminals ring the bell; delivery follows your terminal's notification/bell settings. On local Windows, `auto` resolves to `windows`, the system's native notifications: a task-completion toast. The first toast registers that user's AppUserModelID under HKCU, the toast appears about 3 seconds after the task ends (the PowerShell cold start that buys the no-extra-install route), and for DSH sessions an enabled, active external DSH notification plugin in the running profile makes dsh-TUI yield to it (no toast, no bell); an installed but disabled plugin does not suppress notifications; if that AppUserModelID cannot be written, the notification falls back to the bell instead of going silent. `jumpBack` (Windows, off by default) turns these toasts into a way back to the pane that raised them; it needs the native toast path (`notificationMethod` = `windows`, which `auto` picks on local Windows). With `/settings` → Conversation → `jumpBack` on, the pane title ends with `[dsh-tui:<16 hex>]`, one marker for the life of the process; switching it off removes the suffix at once. While it is on, this process refreshes a marker file at `~/.dsh-tui/notify/jumpback/<session>.json` (`schemaVersion: 1`, `marker`, `pid`, `startedAt`) when the setting is turned on and before each notification it sends, and the first toast that can promise a jump registers the per-user protocol handler (`URL Protocol` plus `shell\open\command`) under `HKCU\Software\Classes\dsh-tui`; a normal exit removes the file, and removes the key once no other live instance still needs it. Only a pre-send probe that finds exactly one target pane (or tab title) puts an activation URI on the toast; clicking it re-runs five checks — same pane, keyboard focus, marker still in the title, foreground window, not minimized — and refuses rather than jumping anywhere else when any of them fails. A click whose target has gone away changes nothing. Layouts that cannot be verified — a pane in an unselected tab that is not that tab's focused pane, profiles using `suppressApplicationTitle`, and terminals other than Windows Terminal (tested on Windows Terminal 1.24) — get a plain toast whose click changes nothing. The probe adds about half a second before each toast; the first one after enabling can also wait for the helper to compile (a few seconds, once), and a machine whose in-box compiler keeps failing retries it at most every five minutes. External notification senders can read the same marker file and point their own toast at `dsh-tui:activate?m=<marker>`; the URI and file format are a read-only contract, and this release ships no plugin-side implementation. SSH sessions keep the attached terminal's notification protocol in `auto` mode; explicit `windows` still selects the host's native transport. tmux requires `set -g allow-passthrough on` for OSC notifications and `set -g focus-events on` for focus reporting. Terminals without focus reporting need `always`. Replay, cancellation and failures do not notify. Works in inline and fullscreen modes. A tool approval adds its own notification: the title is “dsh-TUI · Approval needed”; the body carries the session name, the tool name and the asker's reason. The reason is host-provided text (the model's own justification can appear verbatim), so it is normalized to one plain line and length-capped, but the body makes no redaction promise; the tool call's arguments are never read for it. A native toast still being prepared is dropped if the switch turns off, the session is no longer the attached one, or the approval, question or plan review is no longer waiting. Every approval notifies, and only the current session’s does; background sessions and subagents stay quiet. The switch covers all four, so `off` silences approvals, questions and plan reviews along with completions. An enabled, active external DSH notification plugin still makes dsh-TUI yield for completions, approvals and questions; a plan review never yields, and outside local Windows (or in SSH) the existing terminal notification protocol or bell is used. An ordinary question adds its own notification: the title is “dsh-TUI · Waiting for your answer” and the body carries the first question's header and question; options and detail stay in the panel. Local wizard and sign-in questionnaires announce the same way; a subagent's question stays in the panel in this release; the 0.2.2 approval-intent asks are announced the same way as an ordinary question. A plan review is announced as “dsh-TUI · Plan review” and carries the question header and question, never the plan itself, and it is the one notice that does not yield: an external notifier maps approvals and ordinary questions to its own notification but not a plan review, so yielding would leave only its generic idle notice, which never says a plan review is waiting.
48
48
  - **Native cursor** — focused text inputs inherit your terminal's cursor shape, color, blinking, and enabled animation or trail effects in both inline and fullscreen modes. The `/model` picker shows the same cursor during movement between provider tabs, model rows, and effort levels, then hides it after **0.5 seconds at rest**; clipped regions fall back to the model row. The session manager also moves this cursor between the workspace rail, session rows, and search box; typing claims the search caret, and navigation returns it to the focused row. Configure animation and trail effects in your terminal.
49
49
  - **Images** — Kitty/Sixel thumbnails, centered preview with zoom and pan, paste-time fitting, text fallback. Kitty images scale to the reserved cells' physical pixels, including on HiDPI terminals.
50
50
  - **Mermaid diagrams** — ````mermaid ```` fences drawn as Unicode diagrams.
@@ -54,6 +54,7 @@ Resuming a DSH session preserves its recorded reasoning effort (or its live sele
54
54
  - **Live state** — activity animation, context bar, TPS, cache hit rate, effort, tokens, session cost estimate (main + subagents), Git and session metadata. Title, trajectory-strip and session-state animations update independently of the transcript and pause when idle or unfocused.
55
55
  Context-bar fill follows backend occupancy; colors estimate content composition. Compaction clears obsolete estimates, and missing composition displays a single used block with a measured used count in both hover details.
56
56
  - **One session manager** — `/resume` `/home` `/agentview` `/bg` `⌸`.
57
+ - Live Compact partial checkpoints appear as folded summaries in chat and summary entries in `/tree`; they do not reset the whole context composition. Occupancy follows the host token meter. Folded previews use the durable summary with the same compactionId; expansion retains the complete text, which is also the fallback when the summary event is missing.
57
58
  - **Session workflow** — `/new` `/compact` `/export` `/btw`, model hot-switch, fork, rewind, vim, fullscreen draft editor.
58
59
  `/btw` uses an overlay when its sidebar cannot render. Main-task questionnaires and the fullscreen draft editor take priority while preserving the side question and draft.
59
60
  - **IDE selection channel** — a VS Code selection lands in the prompt.
@@ -129,10 +130,18 @@ The `deepseek-official` API-key route needs `DEEPSEEK_API_KEY`. On DSH
129
130
  and select the separate account route through `/model`. Other supported
130
131
  accounts can sign in through `/provider` or `/auth` after startup.
131
132
 
132
- The primary compatibility target is DSH `0.2.2-rc.1`. This adapter supports its
133
+ The primary compatibility target is DSH `0.2.2-rc.2`. This adapter supports its
133
134
  Shell API, V4 session messages, declarative presets, and profile-backed settings;
134
135
  older supported hosts retain their compatibility paths. See [configuration](docs/configuration.en.md).
135
136
 
137
+ DSH account notices use the existing account card. A notification with complete
138
+ coupon metadata keeps the coupon presentation; otherwise the card shows the
139
+ server's title and message without inventing an amount. The card refreshes its
140
+ language and follows the server's display deadline. Enter or Esc dismisses it;
141
+ account-page actions point to the official DSH account page and are not executed
142
+ inside this TUI. Older hosts keep their original bonus API.
143
+
144
+
136
145
  On DSH 0.2.1-rc.2 and later, `/settings` also selects DeepSeek Search / Fetch APIs and edits their
137
146
  endpoint and result limits, supporting custom Loader entry IDs and a masked API
138
147
  key input saved through DSH's credential store. Official Flash model labels show the `1017` release
@@ -349,61 +358,58 @@ Using ChatGPT subscription tokens in third-party clients is subject to
349
358
  OpenAI’s terms. Full instructions and current boundaries:
350
359
  [Codex backend](docs/codex-backend.en.md).
351
360
 
352
- ### Experimental: DSH Agent Teams
353
-
354
- DSH's experimental Agent Teams lets the session's agent (the Lead) create
355
- named teammates that share the working directory, message each other and
356
- coordinate on a shared task board. It ships with dsh, is off by default, and
357
- `/plugin list` advertises it. Switch it on:
358
-
359
- ```sh
360
- /plugin enable @deepseek-ai/dsh-experimental-agent-team-profile
361
- ```
361
+ ### DSH Agent Teams
362
+
363
+ DSH Agent Teams lets the session's agent (the Lead) delegate to named
364
+ subagents that share the working directory, message each other and coordinate
365
+ on a shared task board. Since DSH `0.2.2-rc.2` it ships inside `dsh-base`:
366
+ there is no plugin to install and no bundle to enable. It is off by default
367
+ per root session — `/team on` enables it for this session and its whole
368
+ subagent tree (the choice survives restarts), and `/team off` switches it off
369
+ while keeping the subagents and the task board. `/team` (or `/team status`)
370
+ reports the saved selection, the service and this session's subagents. When
371
+ subagents are still running, `/team off` asks first (`/team off force`): they
372
+ keep running — only the task tools and the Team guidance stop.
373
+
374
+ Members are the root session's named subagents: `subagent` / `subagent_fork`
375
+ take an optional `name` (the root is `lead`, descendants are paths such as
376
+ `reviewer/checker`) and are the delegation tools — there is no
377
+ `spawn_teammate` any more. The four `team_task_*` tools are the shared task
378
+ board. Control tools address agents by name: `send_message({agent, message})`,
379
+ `interrupt_agent({agent})`, `list_agents` rows `{name, status, description?}`,
380
+ and `wait_agent` reports `{timedOut}`. Their calls and results render as
381
+ one-line cards (`send_message` with its target and `sent`, `list_agents` with
382
+ named rows), and a message between agents as a `✉ <sender>` bubble in the
383
+ receiving session. The agents dashboard (Ctrl+A) and the agents side panel
384
+ show a team view: the Lead line, members under their catalog name with
385
+ `running` / `idle` status, the remaining subagents, a read-only task board
386
+ (status, owner, `blocked`, write-scope warnings) and a banner when the team
387
+ record was rejected. A root with Team off still shows its read-only board with
388
+ a note, and an empty one falls back to the plain subagent view.
389
+
390
+ An older DSH line (`0.2.2-rc.1` and earlier) mounts the retired experimental
391
+ bundle instead, and TUI keeps that behavior there: the switch stays
392
+ `/plugin enable|disable @deepseek-ai/dsh-experimental-agent-team-profile`
393
+ (`/team` points at it; a launch without the profile plugin service gets the
394
+ `dsh plugin --profile dsh-tui add <bundle>@<dsh-version>` CLI route), the
395
+ durable roster comes from the projection, `spawn_teammate` is the delegation
396
+ tool (with `subagent` / `subagent_fork` removed while it is present), and
397
+ disabling the bundle while teammates run asks first. Those packages ship in
398
+ lockstep with DSH and pin their peers exactly, so the version must match.
399
+
400
+ Limits: on `0.2.2-rc.1` and earlier the switch covers the whole profile, not
401
+ one session; there is no "enter teammate session" yet, and `/export` leaves
402
+ team messages out. Upstream limits apply: teammates share one working
403
+ directory, a team lives in one process, and a task owner is never released
404
+ automatically. Upgrade every process that opens the same session store
405
+ together: catalogs written by `0.2.2-rc.2` subagents cannot be opened by older
406
+ DSH.
407
+
408
+ A delegation provider whose settled runs fail at least twice and at least half
409
+ the time gets one degraded-channel line above the agents list; the built-in
410
+ `subagent` route, workflow members and per-type Claude children are excluded
411
+ because there is no provider to switch to.
362
412
 
363
- The switch enables or disables the bundle in the profile, so it persists
364
- across restarts, and on a `dsh --profile` launch it applies at once — running
365
- sessions included: the model is told which tools came and went. `/team` appears
366
- in Help and `/` completion only once the team service is mounted, and only
367
- reports: `/team` (or `/team status`) shows the bundle, the service and this
368
- session's teammates. `/team on|off` was removed; typing it points at
369
- `/plugin enable|disable`. Turning the bundle off while teammates run asks
370
- first, and switching off stops them: the team service releases the teammates
371
- still running as it unloads. Inside a teammate session the other teammates'
372
- runs are not visible, so the question counts them as possibly running. The
373
- team record stays in the session and comes back when the bundle is enabled
374
- again.
375
-
376
- If the running DSH does not ship the bundle (`/plugin list` stays silent),
377
- switch DSH to one of the supported lines first (`0.2.2-rc.1`, `0.2.1-rc.5`, `0.2.1-rc.4`, `0.2.1-rc.3`,
378
- `0.2.1-rc.2`, `0.2.1-alpha.5`, `0.2.0-rc.1` or `0.2.0-rc.2`). To install it into the profile explicitly,
379
- run `dsh plugin --profile dsh-tui add @deepseek-ai/dsh-experimental-agent-team-profile@<your-dsh-version>`:
380
- the team packages ship in lockstep with DSH and pin their DSH peers exactly,
381
- so the version must match.
382
-
383
- While a request carries `spawn_teammate`, dsh-TUI drops `subagent` /
384
- `subagent_fork` from it, and the team's `send_message` / `list_agents` /
385
- `interrupt_agent` / `wait_agent` take the place of the legacy controls of the
386
- same names, so `spawn_teammate` is the delegation tool; with the team off
387
- the legacy tools are back. Subagents that are not team members (workflow,
388
- ralph) keep `subagent`. A teammate shows up as a subagent row, a message between
389
- members as a `✉ <sender>` bubble in the receiving session (a teammate's
390
- received messages show on its subagent detail as agent messages), and the
391
- other team tools as one-line cards (`send_message` with its target and
392
- `sent`). The agents dashboard (Ctrl+A) and the agents side
393
- panel switch to a team view: each teammate under its member name with
394
- `running` / `idle` / `provisioning` / `failed` (a teammate whose turn ended
395
- is idle — a message wakes it — not done), the Lead line, the remaining
396
- subagents, a read-only task board (status, owner, `blocked`, write-scope
397
- warnings) and a banner when the team record was rejected. A delegation
398
- provider whose settled runs fail at least twice and at least half the time
399
- gets one degraded-channel line above the list; the built-in `subagent` route,
400
- workflow members and per-type Claude children are excluded because there is
401
- no provider to switch to.
402
-
403
- Limits: the switch covers the whole profile, not one session (a launch
404
- without the profile plugin service, or without hot reload, needs `dsh plugin`
405
- and a restart); there is no "enter teammate session" yet, and `/export` leaves team messages out. Upstream limits apply: teammates share one working directory, a
406
- team lives in one process, and a task owner is never released automatically.
407
413
  Subagent failure badges and the Companion error state share session-scoped unread
408
414
  status. Opening that child’s detail or main view acknowledges only that failure;
409
415
  a new run or failure alerts again. Acknowledgements survive panel remounts and
@@ -642,7 +648,7 @@ Managing what is installed: `/plugin remove <bundle>`, `/plugin enable <name | r
642
648
 
643
649
  These three actions have no cancellation — the service offers none — so `esc` only closes the pane while the write finishes and reports itself into the transcript. Enable and disable have no CLI verb either (the service writes them into the profile's own files). **Grants follow the lifecycle**: `enable` enables and grants the declared permissions, `disable` disables and revokes the permissions that component declared, and `remove` **deletes the component's `grants`/`denies` entries** after the removal — grants are keyed by component id, so leaving them behind lets any later package reusing that id inherit them silently; a reinstall asks again. Backend data directories, storage namespaces and the effect ledger stay, and the residue report names each source by its path. A failed grant write never blocks an install or enable — it is reported instead. Grants are behavioural constraints, not a security boundary.
644
650
 
645
- `/plugin list` also advertises the experimental features DSH ships, leaves off by default, and this app knows how to drive (currently Agent Teams, Auto review, Session search and Git worktrees), each with its switch and usage line. A DSH installation that does not ship one shows no such section.
651
+ `/plugin list` also advertises the experimental features DSH ships, leaves off by default, and this app knows how to drive (currently Auto review, Session search and Git worktrees), each with its switch and usage line. A DSH installation that does not ship one shows no such section. Agent Teams is no longer one of them: `0.2.2-rc.2` builds it into `dsh-base`, so it is switched per session with `/team on|off` instead of a bundle.
646
652
 
647
653
  ## Documentation
648
654
 
package/cordis.patch.yml CHANGED
@@ -381,7 +381,8 @@
381
381
  const require = process.getBuiltinModule('node:module').createRequire(ctx.baseUrl)
382
382
  try { require.resolve('@deepseek-ai/dsh-host-webserver/package.json') } catch { return true }
383
383
  const entries = [...ctx.loader.entries()]
384
- return !entries.some(entry => entry.options.name === '@deepseek-ai/dsh-deepseek-account-platform' && !entry.disabled)
384
+ return !entries.some(entry => (entry.options.name === '@deepseek-ai/dsh-deepseek-account'
385
+ || entry.options.name === '@deepseek-ai/dsh-deepseek-account-platform') && !entry.disabled)
385
386
  || entries.some(entry => entry.options.id === 'webserver' && entry.options.name === '@deepseek-ai/dsh-host-webserver' && !entry.disabled)
386
387
  })()
387
388
  config:
@@ -437,11 +438,12 @@
437
438
  terminalImages: true
438
439
  # diffLayout: auto
439
440
  # mermaidDiagrams: true
440
- # 任务完成通知:off / unfocused(默认)/ always;方式:auto(默认)/ osc9 / bel / windows。
441
+ # 通知(任务完成、等待授权、等待回答与计划评审):off / unfocused(默认)/ always;方式:auto(默认)/ osc9 / bel / windows。
441
442
  # taskNotifications: unfocused
442
443
  # notificationMethod: auto
443
444
  # windows 档:Windows 主机原生 toast(首次注册当前用户的 HKCU 标识,约延迟 3 秒)。
444
- # auto 在 Windows 本地会话用此档,SSH 改走客户端终端;仅 DSH 会话且 cc-dsh-notifier 已启用、正在运行时让位。
445
+ # auto 在 Windows 本地会话用此档,SSH 改走客户端终端;DSH 会话遇到已启用、正在运行的 cc-dsh-notifier 时,完成、审批与提问让位,计划评审不让位。
446
+ # jumpBack: false(默认关);开启后窗格标题末尾追加 [dsh-tui:<16 hex>] 标记,完成、等待授权、等待回答与计划评审通知都可点击跳回,第一条能承诺跳回的 toast 注册 HKCU 协议键。
445
447
  # 回复中 LaTeX 公式的显示方式:auto(默认,目前为 Unicode)/ image(支持图形的终端里块级公式显示为图片)/ unicode / source(保留源码)。/settings 可实时改。
446
448
  # mathRendering: auto
447
449
  # 每个请求实际生效的推理强度,按当前路由的 adapter 档位校验
package/cordis.yml CHANGED
@@ -64,11 +64,12 @@
64
64
  # 以下为 /settings 可改的显示设置;每项说明与默认值见应用内 /settings 屏。
65
65
  terminalImages: true
66
66
  # mermaidDiagrams: true
67
- # 任务完成通知:off / unfocused(默认)/ always;方式:auto(默认)/ osc9 / bel / windows。
67
+ # 通知(任务完成、等待授权、等待回答与计划评审):off / unfocused(默认)/ always;方式:auto(默认)/ osc9 / bel / windows。
68
68
  # taskNotifications: unfocused
69
69
  # notificationMethod: auto
70
70
  # windows 档:Windows 主机原生 toast(首次注册当前用户的 HKCU 标识,约延迟 3 秒)。
71
- # auto 在 Windows 本地会话用此档,SSH 改走客户端终端;仅 DSH 会话且 cc-dsh-notifier 已启用、正在运行时让位。
71
+ # auto 在 Windows 本地会话用此档,SSH 改走客户端终端;DSH 会话遇到已启用、正在运行的 cc-dsh-notifier 时,完成、审批与提问让位,计划评审不让位。
72
+ # jumpBack: false(默认关);开启后窗格标题末尾追加 [dsh-tui:<16 hex>] 标记,完成、等待授权、等待回答与计划评审通知都可点击跳回,第一条能承诺跳回的 toast 注册 HKCU 协议键。
72
73
  # 回复中 LaTeX 公式的显示方式:auto(默认,目前为 Unicode)/ image(支持图形的终端里块级公式显示为图片)/ unicode / source(保留源码)。/settings 可实时改。
73
74
  # mathRendering: auto
74
75
  # Reasoning effort applied to every request, validated against the live
@@ -482,7 +482,7 @@ The `/provider` add branch signs in to ChatGPT/Codex (`openai-codex`), Claude
482
482
  (`anthropic`), or Grok (`xai`) subscriptions. When the installed host's pi-ai
483
483
  catalog ships the corresponding flows, it also offers OpenAI direct ChatGPT sign-in
484
484
  (`openai`, using the OpenAI API rather than the legacy Codex backend) and Meta
485
- Muse (`meta`). The primary validated DSH `0.2.2-rc.1` development fixture resolves pi-ai
485
+ Muse (`meta`). The primary validated DSH `0.2.2-rc.2` development fixture resolves pi-ai
486
486
  `1.2.0`, which includes Meta Muse and OpenAI direct sign-in.
487
487
  `/auth status`, `/auth login [provider]`, and `/auth logout <provider>` use
488
488
  that credential store for these pi-ai routes. Browser authorization tries to open the page
@@ -421,7 +421,7 @@ Profile 模式不再使用旧的 `DSH_TUI_COMPACT_RATIO`、`DSH_TUI_COMPACT_RETA
421
421
  `dsh-auth` 插件包**。`/provider` 的添加分支提供 ChatGPT/Codex(`openai-codex`)、
422
422
  Claude(`anthropic`)、Grok(`xai`)订阅账号登录。宿主 pi-ai catalog 提供相应流程
423
423
  时还可使用 OpenAI 直连 ChatGPT 登录(`openai`,使用 OpenAI API 而非旧版 Codex
424
- 后端)和 Meta Muse(`meta`)。当前主验证线 DSH `0.2.2-rc.1` 的开发依赖解析到 pi-ai
424
+ 后端)和 Meta Muse(`meta`)。当前主验证线 DSH `0.2.2-rc.2` 的开发依赖解析到 pi-ai
425
425
  `1.2.0`,包含 Meta Muse 与 OpenAI 直连登录。`/auth status`、`/auth login [provider]`、
426
426
  `/auth logout <provider>` 对这些 pi-ai 路由操作同一套凭据。浏览器授权会尝试自动打开页面,并在同一
427
427
  问卷中提供授权链接与手动粘贴回调 URL/代码的输入;设备码流程在轮询期间显示可复制的
@@ -301,10 +301,10 @@ downgrade; for an unpublished release it only asks you to wait):
301
301
  # TUI only
302
302
  dsh plugin --profile dsh-tui add @deepseek-harness-tui/dsh-tui@latest
303
303
  # engine
304
- npm install -g @deepseek-ai/dsh@0.2.2-rc.1
304
+ npm install -g @deepseek-ai/dsh@0.2.2-rc.2
305
305
  # or, for a pnpm global layout (first confirm the global group holds dsh
306
306
  # alone; a one-package install replaces the whole group and its other commands):
307
- pnpm add -g @deepseek-ai/dsh@0.2.2-rc.1
307
+ pnpm add -g @deepseek-ai/dsh@0.2.2-rc.2
308
308
  # global launcher
309
309
  npm install -g --legacy-peer-deps @deepseek-harness-tui/dsh-tui@latest
310
310
  # or, only after confirming the pnpm global group contains this package alone:
@@ -262,10 +262,10 @@ pnpm 轮换全局安装组后,直接 DSH 启动路径会重新解析并探测
262
262
  # 只对齐 TUI
263
263
  dsh plugin --profile dsh-tui add @deepseek-harness-tui/dsh-tui@latest
264
264
  # 对齐引擎
265
- npm install -g @deepseek-ai/dsh@0.2.2-rc.1
265
+ npm install -g @deepseek-ai/dsh@0.2.2-rc.2
266
266
  # 或(pnpm 全局布局;先确认 dsh 所在全局组只有它自己,
267
267
  # 否则单包安装会替换整组并移除同组其他命令)
268
- pnpm add -g @deepseek-ai/dsh@0.2.2-rc.1
268
+ pnpm add -g @deepseek-ai/dsh@0.2.2-rc.2
269
269
  # 对齐全局启动器
270
270
  npm install -g --legacy-peer-deps @deepseek-harness-tui/dsh-tui@latest
271
271
  # 或(确认 pnpm 全局组内只有本包时;刚发布的版本见下面「pnpm 延迟」一条)
@@ -30,7 +30,7 @@ dsh-tui
30
30
  - `dsh-tui safe`: safe mode — read-only environment view, lists profile plugins, suggests fixes, and can create a clean rescue profile (see §5.5).
31
31
  - `dsh --profile dsh-tui`: manual launch, equivalent to `dsh-tui` (`/update` only works this way).
32
32
  - The `deepseek-official` route needs `DEEPSEEK_API_KEY`; on DSH 0.2.0-rc.1+ the standard profile can use the separate `deepseek-account` browser-authorization route. Other supported subscriptions use built-in OAuth sign-in. Run `/doctor` to check the environment.
33
- - Primary verified dsh engine version: `0.2.2-rc.1`. See `ADAPTER.md` for compatibility lines; versions outside that list show a drift note and the command to align on the logo page.
33
+ - Primary verified dsh engine version: `0.2.2-rc.2`. See `ADAPTER.md` for compatibility lines; versions outside that list show a drift note and the command to align on the logo page.
34
34
  - If the logo page shows a ⚠ version-drift warning, align the dsh engine:
35
35
  `npm i -g @deepseek-ai/dsh@<版本>`
36
36
 
@@ -387,7 +387,7 @@ The command menu = built-in commands (aliases included) + DSH registry commands
387
387
  | `/migrate` | `[agent] [--dry-run]` | import conversation history from other coding agents (claude-code/codex/omp/zcode/grok-build); runs in a child process — see [Session migration](migrate.en.md) |
388
388
  | `/init` | none | create `AGENTS.md` in the working directory (created / exists / failed) |
389
389
  | `/agents` | none | subagent list for this session |
390
- | `/team` | `status` (default) | experimental Agent Teams status; appears in Help and `/` completion only while the team service runs, reporting the bundle, the service and this session's teammates. Switch with `/plugin enable\|disable @deepseek-ai/dsh-experimental-agent-team-profile` (a typed `/team` while the service is absent gives the enable route) |
390
+ | `/team` | `status` (default) \| `on` \| `off [force]` | Agent Teams: `/team` (or `/team status`) reports the session's saved selection, the service and this session's subagents; `/team on` / `/team off` save the Team selection for this root session and its whole subagent tree (it survives restarts). Switching off neither stops subagents nor deletes tasks; while subagents are still running, `off` asks first — confirm with `/team off force`. On an older host (`0.2.2-rc.1` and earlier) the switch stays `/plugin enable\|disable @deepseek-ai/dsh-experimental-agent-team-profile`, and `/team` only reports plus points there |
391
391
  | `/jobs` | none | background-task panel: status/runtime/exit-code tracking, `↑/↓` select, `k` stop; while open, `Esc` **closes only the panel** and won't interrupt the turn (close the panel first, then `Ctrl+C`) |
392
392
  | `/settings` | none | open the plugin settings editor (namespace read/edit) |
393
393
  | `/setup` | none | re-run the first-run guide (accounts & models / language+theme / model+workspace / shortcuts) — same screen as the very first launch |
@@ -524,6 +524,9 @@ Keys are in §2.7. Key points:
524
524
  - Plan review **approve must have no feedback text**.
525
525
  - When an approval and a questionnaire hang at once, **approval wins**.
526
526
  - A background-session approval is tagged `来自后台会话 <会话 id 前 8 位>`.
527
+ - A waiting tool approval follows the Notifications switch to a system notification (title “dsh-TUI · Approval needed”; see `taskNotifications` in §5.3). With `jumpBack` on, clicking that notification returns to the pane; a native toast still queued is cancelled if the switch turns off, the session changes, or the approval is answered first.
528
+ - A pending question follows the Notifications switch the same way (title “dsh-TUI · Waiting for your answer”; the body carries the first question's header and question while the options stay in the panel; see `taskNotifications` in §5.3). Local wizard and sign-in questionnaires announce the same way; a subagent's question stays in the panel in this release; the 0.2.2 approval-intent asks are announced the same way. With `jumpBack` on, clicking that notification returns to the pane; a native toast still queued is cancelled if the switch turns off, the session changes, or the question is answered first.
529
+ - A plan review follows the Notifications switch too (title “dsh-TUI · Plan review”; the body carries the question header and question, never the plan or its options; see `taskNotifications` in §5.3). It is the one notice that does not yield: the external notifier maps approvals and ordinary questions to its own notification but not a plan review, so yielding would leave only its generic idle notice, which never says a plan review is waiting. With `jumpBack` on, clicking that notification returns to the pane; a native toast still queued is cancelled if the switch turns off, the session changes, or the plan review is resolved first.
527
530
 
528
531
  ### 4.8 Skills / registry / Goals-Todos
529
532
 
@@ -661,6 +664,7 @@ Common items below, full list on the /settings screen. Most topics (**Appearance
661
664
  | effortDefault | default reasoning effort: Auto plus the current backend/model’s declared tiers (including custom IDs). Saved unsupported values remain readable; only Auto is selectable while loading or unavailable |
662
665
  | smoothStreaming | smooth streaming output (default on): replies/thinking/tool-card text reveal at ~30fps; replay/history always direct |
663
666
  | toolBackground | tool-card background emphasis: none / subtle / strong; also applies when expanded |
667
+ | taskNotifications | Notifications (default “When unfocused”): one switch for the task-completion, tool-approval, waiting-question and plan-review system notifications. Completions are titled “dsh-TUI · Task complete” with the latest reply as a one-line plain-text preview; approvals are titled “dsh-TUI · Approval needed” and carry the session name, the tool name and the host-provided reason (normalized and length-capped; the model's own justification can appear verbatim, and the tool call's arguments are never read); questions are titled “dsh-TUI · Waiting for your answer” and carry only the first question's header and question, never the options or detail (every questionnaire — including local wizard and sign-in prompts — uses the same notice; the 0.2.2 approval-intent asks do too; a subagent's question stays in the panel in this release); plan reviews are titled “dsh-TUI · Plan review” and carry the question header and question, never the plan, and are the one notice that never yields. A native toast still queued is dropped when the switch turns off, the session changes, or the approval, question or plan review is resolved. Every approval notifies, and only the current session’s does (background sessions and subagents stay quiet). Delivery follows `notificationMethod`; a native toast that cannot be delivered falls back to the bell, and an enabled, active external DSH notification plugin makes dsh-TUI yield for completions, approvals and questions, while a plan review never yields. Applies immediately |
664
668
  | turnUsageRow | Turn-usage row (default off): show a per-turn summary of tokens, cache, duration and retries; `/tokens`, `/status` and the footer token hover are unaffected |
665
669
  | mermaidDiagrams | Mermaid diagrams (default on): ```` ```mermaid ```` blocks render as character diagrams, forming while streaming; too-wide or unsupported types keep source with the required columns. Applies immediately |
666
670
  | mathRendering | LaTeX math (default `auto`; lives on the **Formula** subpage of `/settings`): how `$…$` / `\(…\)` inline and `$$…$$` / `\[…\]` / bare display-environment (`\begin{align}` …) block formulas in replies show. `auto` uses the best available renderer (today Unicode text, with fractions and limits stacked in blocks), `image` typesets formulas with MathJax as terminal images when the terminal has graphics — the Kitty graphics protocol (Kitty, Ghostty, WezTerm, iTerm2…) or Sixel (Windows Terminal 1.22+, xterm, foot, WezTerm) — in the theme's text color (block formulas up to 16 rows; inline formulas as one-row images when a single row can hold them legibly; still-streaming formulas, dimmed thinking, terminals without graphics, formulas too small on one row, and any render failure fall back to Unicode), `unicode` pins Unicode text, `source` keeps the TeX. Unsupported, still-streaming, or too-wide formulas keep their source (a too-wide block first falls back to one line). Prices (`$5`), shell variables (`$HOME`), and `$` in code are left alone. The older `latexMath: false` still means `source`. **Click a formula image** to open the preview card: it re-typesets at twice the cell size, zooms 100–800%, pans, closes on `Esc` or a click outside, and titles itself with the formula's TeX. On Sixel the formulas carry **no backing** (only their strokes), so the terminal background or wallpaper shows through. Illustrations that ship with their own transparent margins — the `whaleGirl` raster — float the same way; photographs, screenshots, and images inside cards still composite onto a colour, because Sixel cannot express soft alpha. Applies immediately |
@@ -670,6 +674,7 @@ Common items below, full list on the /settings screen. Most topics (**Appearance
670
674
  | foldTerminalCommand | fold terminal commands (default off): multi-line commands on terminal cards (Bash/PowerShell) fold to first line + count; `Ctrl+O` or click to expand |
671
675
  | expandEditor | full-screen draft editor (default on): `⛶` at the input line end or `Ctrl+Shift+E` expands to a full-screen editor; `Ctrl+Enter` send, `Esc` collapse (draft kept); off hides both entries |
672
676
  | statusBar.* | all status-bar toggles above (compact/model/thinking/cwd/contextUsage/cache/tokens/cost/tps/gitBranch/sessionTitle/sessionId/mode/contextBar/activity/trajectory/pluginFields/pluginFieldsOrder; statusBar.sessionId is the bottom-bar display toggle, unrelated to cordis startup sessionId; pluginFieldsOrder is the plugin field list: `''`=none, `*`=all, `a,b;c;d`=three groups and three slots) |
677
+ | jumpBack | jump back from notifications (Windows, default off; completion, waiting approval, waiting question and plan review): the pane title gains a `[dsh-tui:<16 hex>]` suffix; clicking this session's completion, waiting-approval, waiting-question or plan-review toast returns to exactly this pane, and layouts it cannot verify fall back to a plain toast. The first toast that can promise a jump registers a per-user HKCU protocol key. Applies immediately |
673
678
 
674
679
  **effortDefault**: when the model lacks that level, choose the nearest lower offered tier or the model default and show a notice. On DSH, priority is settings user layer > the last `/effort`
675
680
  (effort.json, the level the last session ran) > cordis `effort` (deployment default) > model default. Claude/Codex apply edits through their own controls and backend preferences; Auto at startup and resumed sessions preserve the selection, while explicitly choosing Auto resets the model default.
@@ -30,7 +30,7 @@ dsh-tui
30
30
  - `dsh-tui safe`:安全模式——只读查看环境、列出 profile 插件并给出修复建议,还能创建干净的救援 profile(见 §5.5)。
31
31
  - `dsh --profile dsh-tui`:与 `dsh-tui` 等价的手工启动方式(`/update` 仅此方式可用)。
32
32
  - `deepseek-official` 路由需要 `DEEPSEEK_API_KEY`;DSH 0.2.0-rc.1+ 可用标准 profile 的 `deepseek-account` 浏览器授权路由。其他支持的订阅模型可用内置 OAuth 登录。环境自检用 `/doctor`。
33
- - 主验证 dsh 引擎版本 `0.2.2-rc.1`;兼容列表以 `ADAPTER.md` 为准,列表之外的版本在 logo 页提示版本漂移与对齐命令。
33
+ - 主验证 dsh 引擎版本 `0.2.2-rc.2`;兼容列表以 `ADAPTER.md` 为准,列表之外的版本在 logo 页提示版本漂移与对齐命令。
34
34
  - 如果 logo 页出现 ⚠ 版本漂移警告,按提示执行 `npm i -g @deepseek-ai/dsh@<版本>` 对齐 dsh 引擎。
35
35
 
36
36
  ### 1.2 首次启动你会看到
@@ -347,7 +347,7 @@ dsh-tui
347
347
  | `/migrate` | `[agent] [--dry-run]` | 从其他编程代理(claude-code/codex/omp/zcode/grok-build)导入对话历史,子进程运行不卡界面,详见[会话迁移](migrate.md) |
348
348
  | `/init` | 无 | 在工作目录创建 `AGENTS.md`(created / exists / failed 三态提示) |
349
349
  | `/agents` | 无 | 本会话子代理列表 |
350
- | `/team` | `status`(默认) | 实验性 Agent Teams 的状态报告;只在团队服务运行后出现在帮助与 `/` 补全里,报告 bundle、服务与本会话 teammate。开关改用 `/plugin enable\|disable @deepseek-ai/dsh-experimental-agent-team-profile`(服务未运行时手敲 `/team` 会给出开启提示) |
350
+ | `/team` | `status`(默认)\| `on` \| `off [force]` | Agent Teams:`/team`(或 `/team status`)报告会话级选择、服务与本会话子代理;`/team on` / `/team off` 写入本会话(根会话及其整棵子代理树)的团队选择,跨重启保持。关闭不停止子代理也不删任务;仍有子代理在运行时 `off` 会先提示,确认用 `/team off force`。旧宿主(0.2.2-rc.1 及更早)上开关仍是 `/plugin enable\|disable @deepseek-ai/dsh-experimental-agent-team-profile`,`/team` 只报告并给出迁移提示 |
351
351
  | `/jobs` | 无 | 后台任务面板:状态/运行时长/退出码实时跟踪,`↑/↓` 选择、`k` 停止;面板打开时 `Esc` **只关面板**不打断回合(想中断先关面板再 `Ctrl+C`) |
352
352
  | `/settings` | 无 | 打开插件设置编辑器(命名空间读取/编辑) |
353
353
  | `/setup` | 无 | 重跑首次引导向导(账号与模型接入 / 语言主题 / 模型工作区 / 快捷键),与首次启动是同一个界面 |
@@ -480,6 +480,9 @@ dsh-TUI 不预装通用技能;`/skills` 浏览 DSH 发现的技能,可直调
480
480
  - 问卷**最后一行是自由输入行**(直接打字连同选项标签一起提交)。
481
481
  - 计划评审**批准必须无反馈文本**。
482
482
  - 审批与问卷同时挂起时**审批优先**;后台会话发起的审批会标注 `来自后台会话 <会话 id 前 8 位>`。
483
+ - 等待中的工具授权会随「通知」开关走系统通知(标题「dsh-TUI · 等待授权」,见 §5.3 的 `taskNotifications`);开启 `jumpBack` 后点击这条通知会回到对应窗格,原生 toast 排队期间若开关关闭、会话已切换或审批已答完则取消。
484
+ - 等待中的提问会随「通知」开关走系统通知(标题「dsh-TUI · 等待回答」,正文是首个问题的标题与问题本身,选项留在面板里;见 §5.3 的 `taskNotifications`);本地向导与登录流程里的问卷提问同样提醒,子代理的提问只进面板,上游 0.2.2 的 approval intent 提问按普通等待回答提醒。开启 `jumpBack` 后点击这条通知也会回到对应窗格,原生 toast 排队期间若开关关闭、会话已切换或提问已答完则取消。
485
+ - 计划评审也会随「通知」开关走系统通知(标题「dsh-TUI · 计划评审」,正文只含问题标题与问题本身,不含整份计划与选项;见 §5.3 的 `taskNotifications`);它是唯一不让位的一类:外部通知插件只把审批与普通提问映射成通知,计划评审不在其中,让位就只剩它那条不区分事件的「等待输入」,不会标明是计划评审在等你。开启 `jumpBack` 后点击这条通知也会回到对应窗格,原生 toast 排队期间若开关关闭、会话切换或计划评审已处理则取消。
483
486
 
484
487
  ### 4.8 技能 / 注册表 / Goals-Todos
485
488
 
@@ -599,6 +602,7 @@ dsh-tui 自身区块在 0.1.7 写入当前 profile 的 `cordis.patch.yml`,旧
599
602
  | effortDefault | 默认推理强度:自动及当前后端/模型声明的档位(包括自定义 ID)。未支持的已存值仍可读;加载中或不可用时仅可选自动 |
600
603
  | smoothStreaming | 流式平滑输出(默认开):回复/思考/工具卡正文按 ~30fps 匀速揭示;回放/历史完整直出 |
601
604
  | toolBackground | 工具卡背景强调:none / subtle / strong;展开后也生效 |
605
+ | taskNotifications | 通知(默认「仅失焦时」):一个开关同时管四类系统通知——任务完成、等待工具授权、等待回答与计划评审。完成通知标题「dsh-TUI · 任务已完成」,正文为本轮回复的单行纯文本摘要;审批通知标题「dsh-TUI · 等待授权」,正文只含会话名、工具名与宿主给出的理由(已归一化并限长,模型写的理由会原样出现,不读取工具调用的参数);提问通知标题「dsh-TUI · 等待回答」,正文只含首个问题的标题与问题,不含选项与详情(模型提问与本地向导/登录等经问卷面板的提问都算;上游 0.2.2 的 approval intent 提问按这条提醒;子代理的提问本版只进面板);计划评审标题「dsh-TUI · 计划评审」,正文只含问题标题与问题本身、不含整份计划与选项,且是唯一不让位的一类;原生 toast 排队投递期间,开关关闭、会话切换或审批/提问/计划评审已处理都会取消。每条审批各提醒一条,且只提醒当前会话(后台会话与子代理不提醒)。投递方式由 `notificationMethod` 决定,原生 toast 投不出去时回落到响铃;外部 DSH 通知插件已启用并处于 active 时,完成、审批与提问让位,计划评审不让位。立即生效 |
602
606
  | turnUsageRow | 回合用量行(默认关闭):在每回合末显示 token、缓存、耗时与重试摘要;`/tokens`、`/status` 和底栏 token 悬停不受此开关影响 |
603
607
  | mermaidDiagrams | Mermaid 图表(默认开):回复中的 ```` ```mermaid ```` 代码块画成字符图,流式期间逐步成形;比终端宽或类型不支持的图保留源码并注明所需列数。立即生效 |
604
608
  | mathRendering | LaTeX 公式(默认 `auto`,在 `/settings` 的**公式设置**子页里):回复中的 `$…$`、`\(…\)` 行内公式,`$$…$$`、`\[…\]` 与单独成行的 `\begin{align}` 等显示环境块级公式的显示方式。`auto` 用当前最好的渲染方式(目前是 Unicode 文本,块级公式里的分数与上下限竖排),`image` 在支持图形的终端里用 MathJax 把公式排版成图片——Kitty 图形协议(Kitty、Ghostty、WezTerm、iTerm2 等)或 Sixel(Windows Terminal 1.22+、xterm、foot、WezTerm)(颜色跟随主题文字色;块级公式最多 16 行,行内公式在能压成一行且不糊时也显示为一行高的图片;流式中的公式、暗色的思考区、不支持图形的终端、压成一行太小以及任何渲染失败都退回 Unicode),`unicode` 固定用 Unicode 文本,`source` 保留原始 TeX。不支持、仍在流式输出或比终端宽的公式保留源码(过宽的块级公式先退成单行)。价格(`$5`)、shell 变量(`$HOME`)与代码里的 `$` 不受影响。旧的 `latexMath: false` 仍等同 `source`。**点击公式图片**打开预览卡:按 2 倍单元格尺寸重排,可 100%–800% 缩放、拖拽平移,`Esc` 或点击卡片外关闭,标题即该公式的 TeX。Sixel 下公式**不带衬底**(只画笔画),终端底色或壁纸会透出来。标题立绘这类自带透明留白的插图同样不带衬底(`whaleGirl` 的真图就是这个行为);照片、截图与卡片内的图像仍合成到底色上,因为 Sixel 表达不了软 alpha。立即生效 |
@@ -608,6 +612,7 @@ dsh-tui 自身区块在 0.1.7 写入当前 profile 的 `cordis.patch.yml`,旧
608
612
  | foldTerminalCommand | 折叠终端命令(默认关):终端卡(Bash/PowerShell)多行命令折成首行 + 计数;`Ctrl+O` 或点击卡片展开 |
609
613
  | expandEditor | 全屏草稿编辑(默认开):输入行尾 `⛶` 或 `Ctrl+Shift+E` 展开成整屏编辑器;`Ctrl+Enter` 发送、`Esc` 收起(草稿还在);关掉后入口不显示 |
610
614
  | statusBar.* | 上表全部状态栏开关(compact/model/thinking/cwd/contextUsage/cache/tokens/cost/tps/gitBranch/sessionTitle/sessionId/mode/contextBar/activity/trajectory/pluginFields/pluginFieldsOrder;statusBar.sessionId 是底栏显示开关,与 cordis 的启动 sessionId 无关;pluginFieldsOrder 是插件字段名单:`''`=不显示、`*`=全部、`a,b;c;d`=三组即三槽) |
615
+ | jumpBack | 通知跳回(Windows,默认关,管完成、等待授权、等待回答与计划评审):开启后窗格标题末尾追加 `[dsh-tui:<16 位十六进制>]` 标记;点击本会话的完成、等待授权、等待回答或计划评审通知回到这个窗格,无法核验的布局降级为普通通知。第一条能承诺跳回的 toast 会注册当前用户的 HKCU 协议键。立即生效 |
611
616
 
612
617
  **effortDefault**:模型没有该档时向下选择最近的可用档位,否则回到模型默认,并弹提示。DSH 的优先级为 settings 用户层 > 上次 `/effort`
613
618
  (effort.json,即上次实际运行的档位)> cordis `effort`(部署默认值)> 模型默认。Claude/Codex 通过自身控制接口和后端偏好应用修改;启动采用自动模式或恢复会话时保留原有选择,在设置中主动选择自动会重置为模型默认。
package/lib/settings.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "package": "@deepseek-harness-tui/dsh-tui",
4
- "packageVersion": "0.19.0",
4
+ "packageVersion": "0.20.0",
5
5
  "namespace": "dsh-tui",
6
6
  "groups": [
7
7
  {
@@ -410,6 +410,22 @@
410
410
  "restartRequired": false,
411
411
  "deprecated": false
412
412
  },
413
+ {
414
+ "key": "jumpBack",
415
+ "kind": "boolean",
416
+ "group": "conversation",
417
+ "label": {
418
+ "en": "Jump back from notifications",
419
+ "zh": "点击通知跳回窗格"
420
+ },
421
+ "description": {
422
+ "en": "On: the pane title gains a ` [dsh-tui:<16 hex>]` suffix, so clicking a completion, waiting-approval, waiting-question or plan-review notification for this session returns to exactly this pane; the first toast that can promise a jump also registers a per-user HKCU protocol key, and layouts it cannot verify fall back to a plain toast. Off (default): the title stays unchanged and nothing is registered. Windows only; applies immediately.",
423
+ "zh": "开启后会改标题:窗格标题末尾追加 ` [dsh-tui:<16 位十六进制>]` 标记,点击本会话的完成、等待授权、等待回答或计划评审通知即可回到这个窗格;第一条能承诺跳回的 toast 还会注册当前用户的 HKCU 协议键,无法核验的布局降级为普通通知。关闭(默认):标题保持原样,也不注册任何东西。仅 Windows;立即生效。"
424
+ },
425
+ "default": null,
426
+ "restartRequired": false,
427
+ "deprecated": false
428
+ },
413
429
  {
414
430
  "key": "lang",
415
431
  "kind": "select",
@@ -616,8 +632,8 @@
616
632
  "zh": "通知方式"
617
633
  },
618
634
  "description": {
619
- "en": "Auto uses a native toast in local Windows sessions and the client terminal protocol over SSH. Ghostty/WezTerm use OSC 777, Kitty OSC 99, and iTerm2/Warp OSC 9 with a title prefix; other terminals ring the bell. Explicit Windows uses a toast on the Windows host, including over SSH. The first toast registers a per-user HKCU ID and can take about 3 seconds. It yields only for DSH sessions with an enabled, active cc-dsh-notifier; a failed toast falls back to the bell. Terminal settings still apply; tmux OSC notifications need allow-passthrough. Applies immediately.",
620
- "zh": "自动:Windows 本地会话用系统 toast,SSH 会话改走客户端终端协议。Ghostty/WezTerm 用 OSC 777,Kitty 用 OSC 99,iTerm2/Warp 用带标题前缀的 OSC 9,其他终端响铃。显式 Windows 仍在 Windows 主机弹窗,包括 SSH。首次 toast 会注册当前用户的 HKCU 标识,约延迟 3 秒;仅 DSH 会话遇到已启用、正在运行的 cc-dsh-notifier 时让位;弹窗失败回落响铃。实际效果依终端设置;tmux 的 OSC 通知需 allow-passthrough。立即生效。"
635
+ "en": "Auto uses a native toast in local Windows sessions and the client terminal protocol over SSH. Ghostty/WezTerm use OSC 777, Kitty OSC 99, and iTerm2/Warp OSC 9 with a title prefix; other terminals ring the bell. Explicit Windows uses a toast on the Windows host, including over SSH. The first toast registers a per-user HKCU ID and can take about 3 seconds. It yields for DSH sessions with an enabled, active cc-dsh-notifier for completions, approvals and questions; a plan review never yields. A failed toast falls back to the bell. Terminal settings still apply; tmux OSC notifications need allow-passthrough. Applies immediately.",
636
+ "zh": "自动:Windows 本地会话用系统 toast,SSH 会话改走客户端终端协议。Ghostty/WezTerm 用 OSC 777,Kitty 用 OSC 99,iTerm2/Warp 用带标题前缀的 OSC 9,其他终端响铃。显式 Windows 仍在 Windows 主机弹窗,包括 SSH。首次 toast 会注册当前用户的 HKCU 标识,约延迟 3 秒;DSH 会话遇到已启用、正在运行的 cc-dsh-notifier 时,完成、审批与提问让位,计划评审不让位;弹窗失败回落响铃。实际效果依终端设置;tmux 的 OSC 通知需 allow-passthrough。立即生效。"
621
637
  },
622
638
  "default": null,
623
639
  "options": [
@@ -1567,12 +1583,12 @@
1567
1583
  "kind": "select",
1568
1584
  "group": "conversation",
1569
1585
  "label": {
1570
- "en": "Task completion notifications",
1571
- "zh": "任务完成通知"
1586
+ "en": "Notifications",
1587
+ "zh": "通知"
1572
1588
  },
1573
1589
  "description": {
1574
- "en": "Notify when successful live work finishes with no queued follow-up or active goal. The title is dsh-TUI · Task complete; the body previews the latest reply as plain text in one line, with Markdown formatting removed, up to 200 characters. OSC 777/9 may shorten it further to fit a 2048-byte sequence budget without splitting characters. No reply shows only the title; BEL only rings. Default: only while the terminal is unfocused. Off disables notifications; Always also notifies while focused or when focus reporting is unavailable. Replay, cancellation and errors stay quiet. Applies immediately.",
1575
- "zh": "实时任务成功结束、没有排队的后续输入或活动目标时提醒。标题为「dsh-TUI · 任务已完成」,正文显示最新回复的单行纯文本摘要,去掉 Markdown 样式,最多 200 字符;OSC 777/9 还会按完整序列的 2048 字节预算截短,不拆字符;没有回复时只显示标题,BEL 只响铃。默认仅在终端失去焦点时通知;关闭可禁用,每次完成则在终端聚焦或不支持焦点报告时也通知。回放、取消和失败不通知。立即生效。"
1590
+ "en": "Control the system notifications for task completion, a tool approval waiting on you, a question waiting for your answer, and a plan review waiting for your decision. Task completion: the title is dsh-TUI · Task complete; the body previews the latest reply as one plain-text line (Markdown formatting removed, up to 200 characters); no reply shows only the title. Tool approval: the title is dsh-TUI · Approval needed; the body carries the session name, the tool name and the host-provided reason (normalized to one line and length-capped; the model's justification can appear verbatim, and the tool call's arguments are never read). Waiting question: the title is dsh-TUI · Waiting for your answer; the body carries the first question's header and question, never the options or detail (every questionnaire - including local wizard and sign-in prompts - uses the same notice; the 0.2.2 approval-intent asks do too; a subagent's question stays in the panel in this release). Plan review: the title is dsh-TUI · Plan review; the body carries the question header and question, never the plan or its options, and it is the one notice that does not yield to an external notifier. A queued native toast is dropped when the switch turns off, the session changes, or the wait is resolved. Delivery follows the notification method setting; when a native toast cannot be delivered, the bell rings instead. Levels: When unfocused (default) notifies only while the terminal is unfocused; Always also notifies while focused or when focus reporting is unavailable; Off disables all four. Replay, cancellation and errors stay quiet. Applies immediately.",
1591
+ "zh": "控制任务完成、等待工具授权、等待回答的提问与等待决策的计划评审时的系统通知。任务完成:标题为「dsh-TUI · 任务已完成」,正文显示本轮回复的单行纯文本摘要(去掉 Markdown 样式,最多 200 字符),没有回复时只显示标题。等待授权:标题为「dsh-TUI · 等待授权」,正文只含会话名、工具名与宿主给出的理由(已归一化并限长,模型写的理由会原样出现;不读取工具调用的参数)。等待提问:标题为「dsh-TUI · 等待回答」,正文为首个问题的标题与问题本身,不含选项与详情(模型提问与本地向导/登录等经问卷面板的提问都算;上游 0.2.2 的 approval intent 提问按这条提醒;子代理的提问本版只进面板)。计划评审:标题为「dsh-TUI · 计划评审」,正文只含问题标题与问题本身、不含整份计划与选项,且是唯一不让位给外部通知插件的一类。排队中的原生 toast 在开关关闭、会话切换或对应等待已处理时取消。投递方式由通知方式(notificationMethod)设置决定;原生 toast 投不出去时回落到响铃。档位:「仅失焦时」(默认)只在终端失去焦点时通知;「总是」在终端聚焦或不支持焦点报告时也通知;「关闭」四类都不通知。回放、取消和失败不通知。立即生效。"
1576
1592
  },
1577
1593
  "default": null,
1578
1594
  "options": [
@@ -1587,7 +1603,7 @@
1587
1603
  "value": "always",
1588
1604
  "label": {
1589
1605
  "en": "Always",
1590
- "zh": "每次完成"
1606
+ "zh": "总是"
1591
1607
  }
1592
1608
  },
1593
1609
  {
@@ -107,6 +107,8 @@ export interface ChatRow {
107
107
  /** Actual execution location for `!command` rows. */
108
108
  executionTarget?: string;
109
109
  text: string;
110
+ /** Summary-only preview for folded compact rows; text remains complete. */
111
+ compactPreview?: string;
110
112
  /** Durable session image blocks, loaded lazily through the attachment store. */
111
113
  images?: readonly TranscriptImage[];
112
114
  /** True while an assistant step is still streaming chunks. */
@@ -229,9 +231,18 @@ export interface ToolViewMeta {
229
231
  */
230
232
  export type ToolFileDiff = {
231
233
  readonly path: string;
232
- /** Prior content, or null for a new file / no before-image. */
234
+ /** Prior content. `null` means no before-image was available (a new
235
+ * file, or a call-time overwrite whose prior content the presenter
236
+ * cannot read) — it does not imply the old file was empty. */
233
237
  readonly oldText: string | null;
234
238
  readonly newText: string;
239
+ /** 1-based file line the text's first line sits on, set only when the
240
+ * producer knows the text is a whole-file image (or a known slice).
241
+ * Absent means the position is unknown: the unified card renders the
242
+ * hunks but prints no file line numbers rather than inventing them
243
+ * (#250 P2-3, #1777). */
244
+ readonly oldStart?: number;
245
+ readonly newStart?: number;
235
246
  } | {
236
247
  readonly path: string;
237
248
  readonly patch: string;
@@ -290,6 +301,10 @@ export interface SubagentRow {
290
301
  agentId: string;
291
302
  runId?: string;
292
303
  description: string;
304
+ /** Model-facing name from the parent catalog (rc.2 payload v3): the root is
305
+ * `lead`, descendant paths look like `reviewer/checker`. Absent for
306
+ * historical children recorded before names existed. */
307
+ name?: string;
293
308
  /** Durable creation mode from the kernel catalog event; absent before the
294
309
  * parent log's `subagent/catalog` fact arrives (bus-only discovery). */
295
310
  mode?: 'one-shot' | 'continuable' | 'unknown';
@@ -323,6 +338,10 @@ export interface SubagentState {
323
338
  agentId: string;
324
339
  runId?: string;
325
340
  description: string;
341
+ /** Model-facing name from the parent catalog (rc.2 payload v3): the root is
342
+ * `lead`, descendant paths look like `reviewer/checker`. Absent for
343
+ * historical children recorded before names existed. */
344
+ name?: string;
326
345
  /** Durable creation mode from `subagent/catalog` (one-shot burns out;
327
346
  * continuable survives epochs and can take later prompts). */
328
347
  mode?: 'one-shot' | 'continuable' | 'unknown';
@@ -1364,6 +1383,9 @@ export interface TeamMember {
1364
1383
  /** Durable lifecycle only; whether a turn is running comes from the
1365
1384
  * member's own session (the subagent row for a teammate). */
1366
1385
  readonly phase: 'provisioning' | 'active' | 'failed';
1386
+ /** The child's creation label (`subagent/catalog` label), when the backend
1387
+ * supplies one. The task board and the subagent row own the live text. */
1388
+ readonly description?: string;
1367
1389
  readonly error?: string;
1368
1390
  }
1369
1391
  /** One non-deleted shared task of an Agent Team. */
@@ -1384,12 +1406,26 @@ export interface TeamTask {
1384
1406
  /**
1385
1407
  * The Agent Team rooted at the Lead session of the session on screen, as its
1386
1408
  * backend publishes it. Present only when there is a team to show: at least
1387
- * one teammate, a task, or a projection failure — a session's implicit
1388
- * one-member team (just the Lead) reads as none.
1409
+ * one teammate, a task, a saved selection, or a projection failure — a
1410
+ * legacy session's implicit one-member team (just the Lead) reads as none.
1389
1411
  */
1390
1412
  export interface TeamView {
1391
1413
  /** The Lead session id; differs from the bound session inside a teammate. */
1392
1414
  readonly leadSessionId: string;
1415
+ /**
1416
+ * How the backend supplies the team. `roster` is the legacy wire that
1417
+ * carries durable members (`0.2.2-rc.1` and earlier); `switch` is the
1418
+ * per-session selection wire (`{enabled, tasks, failure}`), whose members
1419
+ * are the Lead's current subagents, joined by the UI.
1420
+ */
1421
+ readonly mode: 'roster' | 'switch';
1422
+ /**
1423
+ * The root session's saved Team selection. A `roster` backend only mounts
1424
+ * the service while the feature is on, so its view is always enabled; a
1425
+ * `switch` backend can publish a disabled root whose task board remains
1426
+ * readable.
1427
+ */
1428
+ readonly enabled: boolean;
1393
1429
  readonly members: readonly TeamMember[];
1394
1430
  readonly tasks: readonly TeamTask[];
1395
1431
  /** The first rejected persisted record; members and tasks are then the