@xmoon76/dsh-pi-tui 0.5.4 → 0.5.6
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.en.md +46 -42
- package/README.md +46 -27
- package/cordis.patch.yml +77 -7
- package/dist/bootstrap-DQ4YPL-7.mjs +113583 -0
- package/dist/builtins.mjs +3 -9
- package/dist/{runtime-vc4mdr-R.mjs → client-bootstrap-Cr1JCaF5.mjs} +3670 -2277
- package/dist/disposal-BYBbEpVY.mjs +54 -0
- package/dist/dist-CIsR7cz4.mjs +15717 -0
- package/dist/{entry-control-DvSrndWd.mjs → entry-control-DnduyDiw.mjs} +12 -31
- package/dist/{extensions-CcuMY4n2.mjs → extensions-Bp0L37lP.mjs} +1239 -271
- package/dist/extensions.mjs +1 -1
- package/dist/host-bootstrap-DilsvA6f.mjs +281 -0
- package/dist/host-foundation-probe--5jtvHVe.mjs +413 -0
- package/dist/host-runtime.d.mts +30 -0
- package/dist/host-runtime.mjs +1317 -0
- package/dist/index.d.mts +19 -18
- package/dist/index.mjs +18410 -8836
- package/dist/local-client.mjs +2027 -187
- package/dist/local-discovery-C9VMjc0K.mjs +759 -0
- package/dist/local-discovery-CDaQHA_R.mjs +2 -0
- package/dist/local-host.mjs +1088 -87
- package/dist/local-transport-BVwFYq_Y.mjs +513 -0
- package/dist/{context-summary-DAisTA_7.mjs → pasted-path-range-CMnxuGPx.mjs} +7613 -216
- package/dist/pasted-path-range-r6qzV_tC.mjs +17510 -0
- package/dist/performance-host.d.mts +2 -2
- package/dist/performance-host.mjs +258 -1
- package/dist/pi-tui-remote-contribution-B0EQsP0N.mjs +85 -0
- package/dist/pi-tui-terminal-progress-contract-CdBH9j78.mjs +70 -0
- package/dist/pi-tui-terminal-progress-contract-MLXZ-i3t.mjs +905 -0
- package/dist/pi-tui-web-access-contract-BN8Cc_Ho.mjs +118 -0
- package/dist/{runtime-status-0lp9CM0V.mjs → runtime-status-Cj1nFOdS.mjs} +72 -214
- package/dist/session-BKGXyh80.mjs +15794 -0
- package/dist/{session-tdJHLnJR.mjs → session-CPt_U8_f.mjs} +10707 -3657
- package/dist/{startup-JaVZoTIl.mjs → startup-7BYWuvBU.mjs} +124 -8
- package/dist/startup.d.mts +1 -1
- package/dist/startup.mjs +1 -1
- package/dist/{client-bootstrap-F5DHFI9t.mjs → terminal-progress-source-DrqQhtT8.mjs} +3653 -2969
- package/dist/visual-tools.d.mts +2 -2
- package/dist/visual-tools.mjs +26 -31
- package/dist/web-preferences.d.mts +29 -0
- package/dist/web-preferences.mjs +15 -0
- package/dist/web-roster-CjqnUXNk.mjs +285 -0
- package/generated/dsh-presets/cordis.patch.yml +5 -3
- package/generated/dsh-presets/ptc.patch.yml +7 -7
- package/generated/dsh-presets/standard.patch.yml +6 -4
- package/package.json +195 -172
- package/dist/host-bootstrap-DAgKknbY.mjs +0 -119
- package/dist/performance-host-CcDJjjVA.mjs +0 -266
- package/dist/rolldown-runtime-8H4AJuhK.mjs +0 -14
- package/dist/terminal-progress-source-xor3vakJ.mjs +0 -2256
package/README.en.md
CHANGED
|
@@ -24,6 +24,16 @@ dsh plugin --profile pi-tui -- add @xmoon76/dsh-pi-tui@latest
|
|
|
24
24
|
dsh --profile pi-tui
|
|
25
25
|
```
|
|
26
26
|
|
|
27
|
+
### Exact version pairing (0.5.6)
|
|
28
|
+
|
|
29
|
+
This release requires DSH `>=0.2.2-rc.1`, targets `0.2.2-rc.1` for exact validation, and requires Node.js `>=24.9.0`. Finish Agent turns and exit the old TUI/Host normally before installing or upgrading; hot upgrade is not supported.
|
|
30
|
+
|
|
31
|
+
```sh
|
|
32
|
+
npm install -g --allow-scripts=@deepseek-ai/dsh-subprocess-local,koffi,node-pty @deepseek-ai/dsh@0.2.2-rc.1
|
|
33
|
+
dsh plugin --profile pi-tui -- add @xmoon76/dsh-pi-tui@0.5.6
|
|
34
|
+
dsh --profile pi-tui
|
|
35
|
+
```
|
|
36
|
+
|
|
27
37
|
### Next / npm line (validation)
|
|
28
38
|
|
|
29
39
|
Preview installation uses the DSH `alpha` channel and the TUI `next` channel.
|
|
@@ -35,15 +45,7 @@ dsh plugin --profile pi-tui -- add @xmoon76/dsh-pi-tui@next
|
|
|
35
45
|
dsh --profile pi-tui
|
|
36
46
|
```
|
|
37
47
|
|
|
38
|
-
> **
|
|
39
|
-
> channel pointers only: `@deepseek-ai/dsh@alpha` currently resolves to
|
|
40
|
-
> `0.2.1-alpha.5`, while `@xmoon76/dsh-pi-tui@next` still resolves to
|
|
41
|
-
> `0.5.2-rc.1` (peer floor `>=0.2.0-rc.2`, and npm semver excludes a
|
|
42
|
-
> different-major.minor.patch prerelease). Use the pairing table below and
|
|
43
|
-
> [compatibility guide](docs/guides/dsh-compatibility.md) for the matching rules; the
|
|
44
|
-
> stable `0.5.4` publishes to `@latest`, not `@next`, so no installable compatible
|
|
45
|
-
> combination exists on those two moving channels. Validate this exact checkout
|
|
46
|
-
> with `pnpm compat:dsh:npm`.
|
|
48
|
+
> **Next/alpha are independent moving pointers, not a guaranteed installable DSH/TUI pair.** Check the actual published versions and their peer/engines ranges before installing; do not mix incompatible DSH families. Use the pinned commands above for the exact 0.5.6 pairing. To qualify this checkout, run `pnpm compat:dsh:npm`.
|
|
47
49
|
|
|
48
50
|
Use the isolated npm driver (it installs the exact DSH version declared by this
|
|
49
51
|
checkout and exercises the full build/test/package path):
|
|
@@ -58,44 +60,26 @@ next compatibility range, and fallback paths.
|
|
|
58
60
|
### Requirements
|
|
59
61
|
|
|
60
62
|
* DeepSeek Harness
|
|
61
|
-
* Node.js
|
|
63
|
+
* Node.js `>=24.9.0`
|
|
62
64
|
|
|
63
65
|
### DSH/TUI version pairing (important)
|
|
64
66
|
|
|
65
67
|
| TUI package line | Official DSH tags for the pairing | Notes |
|
|
66
68
|
|---|---|---|
|
|
67
|
-
| `0.5.
|
|
69
|
+
| `0.5.6` (stable / `@latest`) | `dsh-v0.2.2-rc.1` | Current stable release; minimum and exact validation target DSH is `0.2.2-rc.1`, Node.js `>=24.9.0`; incompatible with `0.2.1-rc.*` |
|
|
70
|
+
| `0.5.5` (previous stable) | `dsh-v0.2.1-rc.2`, `dsh-v0.2.1-rc.3`, `dsh-v0.2.1-rc.4`, `dsh-v0.2.1-rc.5` | Previous stable release; minimum DSH version `0.2.1-rc.2` |
|
|
71
|
+
| `0.5.4` (stable, previous) | `dsh-v0.2.1-rc.2`, `dsh-v0.2.1-rc.3`, `dsh-v0.2.1-rc.4` | Previous stable line; the minimum DSH version is 0.2.1-rc.2, and it passes the official preset assembly on all three DSH versions |
|
|
68
72
|
| `0.5.3` (stable, previous) | `dsh-v0.2.1-rc.2`, `dsh-v0.2.1-rc.3`, `dsh-v0.2.1-rc.4` | Previous stable line; the minimum DSH version is 0.2.1-rc.2, and it passes the official preset assembly on all three DSH versions |
|
|
69
73
|
| `0.5.1` (stable, previous) | `dsh-v0.2.0-rc.2` | Previous stable line; both the minimum and the exact validation target are the 0.2.0-rc.2 family |
|
|
70
74
|
| `0.5.2-rc.1` (published next-channel preview) | `dsh-v0.2.0-rc.2` | Previous next preview: published to the npm `next` dist-tag on 2026-10-17; its whole peer floor stays `>=0.2.0-rc.2`, so it does not cover 0.2.1-rc.2 |
|
|
71
|
-
| `dsh-v0.2.1-rc.1` (no paired TUI) | none | No released TUI in this matrix claims that intermediate release; never reuse `0.5.
|
|
75
|
+
| `dsh-v0.2.1-rc.1` (no paired TUI) | none | No released TUI in this matrix claims that intermediate release; never reuse `0.5.5` for it |
|
|
72
76
|
| `0.5.0` (stable, previous) | `dsh-v0.1.7-rc.2`, `dsh-v0.2.0-rc.1` | Previous stable; 0.1.7-rc.2 minimum, exact validation target 0.2.0-rc.1 |
|
|
73
77
|
| `0.4.9` (stable, previous) | `dsh-v0.1.7-rc.2` | Previous stable; the compatible TUI for a 0.1.7-rc.2 runtime |
|
|
74
78
|
| `0.4.8` (stable, previous) | `dsh-v0.1.7-rc.1` | Previous stable; the compatible TUI for a 0.1.7-rc.1 runtime |
|
|
75
79
|
| `0.4.6` (stable, previous) | `dsh-v0.1.5-rc.1`, `dsh-v0.1.5-rc.2` | Previous stable; the compatible TUI for a 0.1.5 runtime |
|
|
76
80
|
| `0.4.7-alpha.2` (next, previous) | `dsh-v0.1.6-alpha.2` | Previous next line; the compatible TUI for a 0.1.6-alpha.2 runtime |
|
|
77
81
|
|
|
78
|
-
Do not mix the stable and `@next` prerelease lines. `0.5.
|
|
79
|
-
stable release: its minimum DSH version (peer floor) stays the `0.2.1-rc.2`
|
|
80
|
-
family, and this checkout's exact validation target is `0.2.1-rc.4`. The
|
|
81
|
-
published `0.5.3` is the previous stable line and also pairs with `0.2.1-rc.2`,
|
|
82
|
-
`0.2.1-rc.3` and `0.2.1-rc.4`. The intermediate
|
|
83
|
-
`dsh-v0.2.1-rc.1` has no paired TUI, and `0.5.2-rc.1` is the previous preview
|
|
84
|
-
published to the npm `next` channel (its pairing, 0.2.0-rc.2, stays in the table
|
|
85
|
-
above; it does not cover 0.2.1-rc.2). The previous stable
|
|
86
|
-
`0.5.1` keeps pairing with 0.2.0-rc.2: it lifts the whole DSH peer floor to
|
|
87
|
-
`>=0.2.0-rc.2` (the Question lifecycle consumes contracts published only in
|
|
88
|
-
that rc.2 family). The previous stable `0.5.0`
|
|
89
|
-
line keeps its `>=0.1.7-rc.2` floor (exact validation target 0.2.0-rc.1);
|
|
90
|
-
older runtimes fail at the normal
|
|
91
|
-
incompatible-runtime boundary, so install the paired TUI line from the table
|
|
92
|
-
above. The startup notice
|
|
93
|
-
is best-effort rather than a Loader startup-order guarantee. The pairing table
|
|
94
|
-
above is the published-line summary; see the [compatibility
|
|
95
|
-
guide](docs/guides/dsh-compatibility.md) for general matching, fallback and
|
|
96
|
-
diagnosis, and the [latest `next`
|
|
97
|
-
README](https://github.com/XMoon/dsh-pi-tui/blob/next/README.md) for the current
|
|
98
|
-
integration status.
|
|
82
|
+
Do not mix the stable and `@next` prerelease lines. `0.5.6` is the current stable release: it requires DSH `>=0.2.2-rc.1` and is not compatible with `0.2.1-rc.*`. Before upgrading, let turns and background work finish, exit the old TUI/Host normally, and back up the Profile/patch, raw Session logs, Workspace and necessary Host resources or credential references. Hot upgrade is not supported. Data written under 0.2.2 semantics is not guaranteed readable by rc5 in place; restore a backup to a separate directory and use the matching old DSH/TUI pair to roll back. Historical pairings are in the table above. See the [compatibility guide](docs/guides/dsh-compatibility.md) for matching and diagnosis, and the [next branch README](https://github.com/XMoon/dsh-pi-tui/blob/next/README.md) for its integration status.
|
|
99
83
|
|
|
100
84
|
New agent sessions use the official roster's selected preset id. A custom DSH
|
|
101
85
|
preset literally named `code` is valid and remains `code` when it exists in the
|
|
@@ -147,6 +131,9 @@ dsh --profile pi-tui --session <session-id>
|
|
|
147
131
|
* Chart/SVG tools, `present_visual` publication and inline final-answer rendering
|
|
148
132
|
* Delivered-files tail and the `/deliverables` browser
|
|
149
133
|
* Experimental TSP renderer: native tool cards, Work Hub, images and published figures
|
|
134
|
+
* Host-wide Scheduled Task management in PiTui Direct
|
|
135
|
+
* Plugin Manager: inspect and update third-party Registry bundles marked updatable by the Host
|
|
136
|
+
* Agent guidance for file links, image references and `present` deliveries
|
|
150
137
|
* Plan Review
|
|
151
138
|
* Todo / Goal status
|
|
152
139
|
* Human-readable terminal window titles
|
|
@@ -179,7 +166,7 @@ Supports persisted DSH Sessions, including:
|
|
|
179
166
|
* Rewind
|
|
180
167
|
* Session lineage
|
|
181
168
|
* `/export` — full Session archive (descendants + attachments) saved to a Client-local directory
|
|
182
|
-
* `/transcript` —
|
|
169
|
+
* `/transcript` — official DSH Session Markdown in Direct mode, saved to a Client-local directory
|
|
183
170
|
|
|
184
171
|
Use:
|
|
185
172
|
|
|
@@ -191,9 +178,13 @@ Use:
|
|
|
191
178
|
/transcript
|
|
192
179
|
```
|
|
193
180
|
|
|
181
|
+
In Direct mode, `/transcript` reads official Host Session Markdown and saves a local `.md` file; user messages are blockquotes and process activity may be inside `<details>`. `/export` remains a separate ZIP archive.
|
|
182
|
+
|
|
194
183
|
When the Agent is idle and the editor is empty, pressing `Esc` twice quickly also opens Rewind.
|
|
195
184
|
|
|
196
|
-
Rewind creates a new Child Session from a selected historical User Turn and restores that Prompt into the editor. The original Session is
|
|
185
|
+
Rewind creates a new Child Session from a selected historical User Turn and restores that Prompt into the editor. The original Session is unchanged. Ordinary Fork/Rewind Sessions are independent, not parent/child lineage; Session lineage represents Subagents.
|
|
186
|
+
|
|
187
|
+
In PiTui, `/sessions`, `/search` and `/resume` open the fullscreen Session Workspace, grouped into Needs attention, Working and Recent. Filter by Current, a Workspace or Unassigned; `Space` opens a read-only Peek and `Enter` switches Sessions. In Direct mode, new Sessions including `/new` use the official Host Workspace. When the main editor owns the keyboard and the draft is strictly empty, two unmodified `←` presses within 600 ms open All workspaces; the first remains ordinary cursor movement.
|
|
197
188
|
|
|
198
189
|
### Input history
|
|
199
190
|
|
|
@@ -246,11 +237,7 @@ again needs six real business-body rows, otherwise it degrades to one column; be
|
|
|
246
237
|
76 columns it is one column. Install, dangerous confirmations and Diagnostics
|
|
247
238
|
always take the full width so risk text is never squeezed. Settings paints the
|
|
248
239
|
shared header/metadata/rule/pane header and the single last-row action bar; the
|
|
249
|
-
plugin page contributes only its business body. Search, status filters,
|
|
250
|
-
provenance/status facts, official catalog installs, enablement and removal are
|
|
251
|
-
available from the page; the actual Host-reported version, restart requirement
|
|
252
|
-
and errors are shown verbatim. The `dsh-pi-tui` bundle currently providing the
|
|
253
|
-
surface is read-only and cannot be disabled or removed from its own screen. The
|
|
240
|
+
plugin page contributes only its business body. Search, status filters, provenance/status facts, official catalog installs, enablement and removal are available from the page; third-party Registry Profile bundles marked updatable by the Host can show available versions and be updated after explicit confirmation. The actual Host-reported version, restart requirement and errors are shown verbatim. The `dsh-pi-tui` bundle currently providing the surface is read-only and cannot be updated, disabled or removed from its own screen. The
|
|
254
241
|
category preview and `/plugins` share one page instance and one background
|
|
255
242
|
install request: `Esc` from the List returns to the Settings category and a
|
|
256
243
|
second `Esc` closes the workspace. Press `d` inside the page
|
|
@@ -393,7 +380,7 @@ Typing `@` opens workspace file search and completion:
|
|
|
393
380
|
@"path with spaces/file.ts"
|
|
394
381
|
```
|
|
395
382
|
|
|
396
|
-
`/attach <path>` is the unified Client-local image/file intake; `/image <path>` keeps its image-only compatibility semantics. Both complete files and directories; paths with spaces, quotes
|
|
383
|
+
`/attach <path>` is the unified Client-local image/file intake; `/image <path>` keeps its image-only compatibility semantics. Both complete files and directories; paths with spaces, quotes or Windows separators preserve the input dialect, and directories can be expanded further. In terminals with bracketed-paste support, a recognized local absolute image path can be staged as an attachment; sending is blocked while it is read, and a failed read keeps the path text.
|
|
397
384
|
|
|
398
385
|
Resolvable relative paths are canonicalized before submission.
|
|
399
386
|
|
|
@@ -407,6 +394,7 @@ Common entry points:
|
|
|
407
394
|
|
|
408
395
|
```text
|
|
409
396
|
/model
|
|
397
|
+
/schedule
|
|
410
398
|
/settings
|
|
411
399
|
/status
|
|
412
400
|
/deliverables
|
|
@@ -422,6 +410,8 @@ Common entry points:
|
|
|
422
410
|
|
|
423
411
|
Model selection, Reasoning Effort, permission presets, Plan, and Goal all keep the corresponding DSH runtime semantics. `/model` candidates come only from the Host catalog: `deepseek-flash` is identified by the exact `(provider, model)` pair (the display name `DeepSeek-V4.1-Flash` is never the ID), and a selection writes the official Session/global default. A deployment catalog that no longer offers the ID shows no invented row.
|
|
424
412
|
|
|
413
|
+
In PiTui Direct, `/schedule` opens the Host-wide task workspace without a Session. The Host owns its timer; stopping the Host stops background delivery.
|
|
414
|
+
|
|
425
415
|
`/settings` and `/status` open the same full-screen settings workspace on the
|
|
426
416
|
About home. Wide and medium terminals show a category rail plus the content
|
|
427
417
|
column; narrow terminals (under 76 columns) show About directly. The fixed
|
|
@@ -515,6 +505,20 @@ Images in user messages, assistant messages and tool results are shown inside th
|
|
|
515
505
|
|
|
516
506
|
The rightmost three cells of a fullscreen image info row are `[-]`/`[+]`, folding only that image; clicking its body opens the read-only viewer. `/view-image` lists the images of the currently mounted transcript window; `Enter` views one and `Esc back` returns to the same list.
|
|
517
507
|
|
|
508
|
+
### Image protocol selection
|
|
509
|
+
|
|
510
|
+
The default is `auto` (Direct/Zellij use Kitty > SIXEL > text; tmux keeps its live U1/Sxl relative priority). Choose a protocol explicitly at startup with the same `PI_IMAGE_PROTOCOL` variable:
|
|
511
|
+
|
|
512
|
+
```sh
|
|
513
|
+
PI_IMAGE_PROTOCOL=auto # default; strict local Zellij + Windows Terminal avoids the known startup Kitty false positive
|
|
514
|
+
PI_IMAGE_PROTOCOL=kitty # only an admitted Kitty transport, otherwise text
|
|
515
|
+
PI_IMAGE_PROTOCOL=sixel # only an admitted SIXEL transport (Direct needs real DA1; Zellij/tmux keep their own gates), otherwise text
|
|
516
|
+
PI_IMAGE_PROTOCOL=iterm2 # Direct legacy iTerm2 only; multiplexers never pretend to forward it
|
|
517
|
+
PI_IMAGE_PROTOCOL=none # disable image pixels for every renderer; 0 is equivalent
|
|
518
|
+
```
|
|
519
|
+
|
|
520
|
+
An explicit value is a protocol **selection**, not a promise for an unsupported terminal: tmux live-client/Sxl/U1 checks, Zellij DA1/version/Screen readiness and DCS ownership still apply. Invalid values fail startup. `none` only disables terminal pixel previews; image attachments, model input and sending are unchanged. The experimental TSP renderer's native images follow the same switch.
|
|
521
|
+
|
|
518
522
|
### TSP renderer (experimental)
|
|
519
523
|
|
|
520
524
|
Set `DSH_PI_TUI_RENDERER=tsp` to enable the experimental Tern TSP renderer:
|
|
@@ -818,7 +822,7 @@ The published package already contains the Pi TUI fork required at runtime. No s
|
|
|
818
822
|
|
|
819
823
|
### CI validation policy
|
|
820
824
|
|
|
821
|
-
CI follows the tracked `test/compat/dsh-mode.json` policy for pushes to `next` and pull requests targeting `next`; `main` and every tag use npm Mode. Source Mode reads the source target from `test/compat/dsh-source.json` and validates the complete official DSH tarball family, TUI presets, and the old-runtime boundary; npm Mode uses the DSH version declared by the checkout's `package.json` and frozen lockfile to run the registry lane. The published `pi2dsh` ecosystem check
|
|
825
|
+
CI follows the tracked `test/compat/dsh-mode.json` policy for pushes to `next` and pull requests targeting `next`; `main` and every tag use npm Mode. Source Mode reads the source target from `test/compat/dsh-source.json` and validates the complete official DSH tarball family, TUI presets, and the old-runtime boundary; npm Mode uses the DSH version declared by the checkout's `package.json` and frozen lockfile to run the registry lane. The published `pi2dsh` ecosystem check is independent of the selected mode and always targets the published ecosystem (every run resolves `pi2dsh@latest` and the highest published DSH intersection from the registry); it does not accept a source pack and refuses `--distribution` with a non-zero error rather than reporting a pass. See [`docs/guides/dsh-compatibility.md`](docs/guides/dsh-compatibility.md) for the compatibility method.
|
|
822
826
|
|
|
823
827
|
## Repository layout
|
|
824
828
|
|
package/README.md
CHANGED
|
@@ -23,6 +23,16 @@ dsh plugin --profile pi-tui -- add @xmoon76/dsh-pi-tui@latest
|
|
|
23
23
|
dsh --profile pi-tui
|
|
24
24
|
```
|
|
25
25
|
|
|
26
|
+
### 精确版本配对(0.5.6)
|
|
27
|
+
|
|
28
|
+
本版要求 DSH `>=0.2.2-rc.1`,精确验证目标为 `0.2.2-rc.1`,并要求 Node.js `>=24.9.0`。安装或升级前先正常结束 Agent 回合、退出旧 TUI/Host;不支持热升级。
|
|
29
|
+
|
|
30
|
+
```sh
|
|
31
|
+
npm install -g --allow-scripts=@deepseek-ai/dsh-subprocess-local,koffi,node-pty @deepseek-ai/dsh@0.2.2-rc.1
|
|
32
|
+
dsh plugin --profile pi-tui -- add @xmoon76/dsh-pi-tui@0.5.6
|
|
33
|
+
dsh --profile pi-tui
|
|
34
|
+
```
|
|
35
|
+
|
|
26
36
|
### Next / npm 线(验证)
|
|
27
37
|
|
|
28
38
|
预览安装使用 DSH 的 `alpha` channel 与 TUI 的 `next` channel;安装 DSH
|
|
@@ -34,13 +44,7 @@ dsh plugin --profile pi-tui -- add @xmoon76/dsh-pi-tui@next
|
|
|
34
44
|
dsh --profile pi-tui
|
|
35
45
|
```
|
|
36
46
|
|
|
37
|
-
>
|
|
38
|
-
> `@deepseek-ai/dsh@alpha` 指向 `0.2.1-alpha.5`,而 `@xmoon76/dsh-pi-tui@next`
|
|
39
|
-
> 仍指向 `0.5.2-rc.1`(peer floor `>=0.2.0-rc.2`,npm semver 不接受不同
|
|
40
|
-
> major.minor.patch tuple 的 prerelease)。请以下方版本对应表和
|
|
41
|
-
> [兼容性指南](docs/guides/dsh-compatibility.md) 的通用匹配原则为准;稳定版 `0.5.4` 发布在
|
|
42
|
-
> `@latest` 而不是 `@next`,因此这两个移动 channel 上没有可安装的兼容组合。
|
|
43
|
-
> 本 checkout 的精确验证请使用 `pnpm compat:dsh:npm`。
|
|
47
|
+
> **Next/alpha 是独立移动指针,不保证构成可安装的 DSH/TUI 配对。** 安装前请核对两个包实际发布的版本及 peer/engines 范围,不要混用不兼容的 DSH 系列。确定的 0.5.6 配对见上方命令;验证当前 checkout 可运行 `pnpm compat:dsh:npm`。
|
|
44
48
|
|
|
45
49
|
隔离的 npm 驱动仍按本 checkout 声明的精确 DSH 版本运行,并执行完整的
|
|
46
50
|
build/test/package 路径:
|
|
@@ -54,35 +58,26 @@ pnpm compat:dsh:npm
|
|
|
54
58
|
### 环境要求
|
|
55
59
|
|
|
56
60
|
* DeepSeek Harness
|
|
57
|
-
* Node.js
|
|
61
|
+
* Node.js `>=24.9.0`
|
|
58
62
|
|
|
59
63
|
### DSH 与 TUI 版本对应(重要)
|
|
60
64
|
|
|
61
65
|
| TUI 包版本 | 对应的官方 DSH tags | 说明 |
|
|
62
66
|
|---|---|---|
|
|
63
|
-
| `0.5.
|
|
67
|
+
| `0.5.6`(stable / `@latest`) | `dsh-v0.2.2-rc.1` | 当前正式版;最低与精确验证目标为 DSH `0.2.2-rc.1`,Node.js `>=24.9.0`;不兼容 `0.2.1-rc.*` |
|
|
68
|
+
| `0.5.5`(stable,历史) | `dsh-v0.2.1-rc.2`、`dsh-v0.2.1-rc.3`、`dsh-v0.2.1-rc.4`、`dsh-v0.2.1-rc.5` | 上一正式版;最低 DSH 版本为 `0.2.1-rc.2` |
|
|
69
|
+
| `0.5.4`(stable,历史) | `dsh-v0.2.1-rc.2`、`dsh-v0.2.1-rc.3`、`dsh-v0.2.1-rc.4` | 上一稳定版;最低 DSH 版本为 0.2.1-rc.2,已在该三个 DSH 版本通过官方 preset assembly |
|
|
64
70
|
| `0.5.3`(stable,历史) | `dsh-v0.2.1-rc.2`、`dsh-v0.2.1-rc.3`、`dsh-v0.2.1-rc.4` | 上一稳定版;最低 DSH 版本为 0.2.1-rc.2,已在该三个 DSH 版本通过官方 preset assembly |
|
|
65
71
|
| `0.5.1`(stable,历史) | `dsh-v0.2.0-rc.2` | 上一稳定版;最低与精确验证目标均为 0.2.0-rc.2 family |
|
|
66
72
|
| `0.5.2-rc.1`(next 通道预览,已发布) | `dsh-v0.2.0-rc.2` | 上一轮 next 预览:已发布到 npm `next` 通道(2026-10-17);整套 peer floor 仍是 `>=0.2.0-rc.2`,不覆盖 0.2.1-rc.2 |
|
|
67
|
-
| `dsh-v0.2.1-rc.1`(无配对 TUI) | 无 | 该中间版本没有本矩阵宣称兼容的已发布 TUI;不要为它复用 `0.5.
|
|
73
|
+
| `dsh-v0.2.1-rc.1`(无配对 TUI) | 无 | 该中间版本没有本矩阵宣称兼容的已发布 TUI;不要为它复用 `0.5.5` |
|
|
68
74
|
| `0.5.0`(stable,历史) | `dsh-v0.1.7-rc.2`、`dsh-v0.2.0-rc.1` | 上一稳定版;最低 0.1.7-rc.2,精确验证目标 0.2.0-rc.1 |
|
|
69
75
|
| `0.4.9`(stable,历史) | `dsh-v0.1.7-rc.2` | 上一稳定版;0.1.7-rc.2 runtime 的兼容 TUI |
|
|
70
76
|
| `0.4.8`(stable,历史) | `dsh-v0.1.7-rc.1` | 上一稳定版;0.1.7-rc.1 runtime 的兼容 TUI |
|
|
71
77
|
| `0.4.6`(stable,历史) | `dsh-v0.1.5-rc.1`、`dsh-v0.1.5-rc.2` | 上一稳定版;0.1.5 runtime 的兼容 TUI |
|
|
72
78
|
| `0.4.7-alpha.2`(next,历史) | `dsh-v0.1.6-alpha.2` | 上一条 next 线;0.1.6-alpha.2 runtime 的兼容 TUI |
|
|
73
79
|
|
|
74
|
-
|
|
75
|
-
版本(peer floor)仍是 `0.2.1-rc.2` family,本仓库当前 checkout 的精确验证目标
|
|
76
|
-
是 `0.2.1-rc.4`。已发布的 `0.5.3` 是上一稳定版,同样可与 `0.2.1-rc.2`、
|
|
77
|
-
`0.2.1-rc.3`、`0.2.1-rc.4` 配对使用。中间的
|
|
78
|
-
`dsh-v0.2.1-rc.1` 没有配对 TUI,`0.5.2-rc.1` 是上一轮已发布到 npm `next` 通道的
|
|
79
|
-
预览身份(配对 0.2.0-rc.2;它不覆盖 0.2.1-rc.2)。上一稳定版 `0.5.1` 继续配对
|
|
80
|
-
0.2.0-rc.2:它把整个 DSH peer floor 提升到 `>=0.2.0-rc.2`(Question 生命周期消费
|
|
81
|
-
rc.2 才发布的公开契约)。更早的 `0.5.0`
|
|
82
|
-
保持 `>=0.1.7-rc.2` floor 不变(精确验证目标 0.2.0-rc.1);旧 runtime 会在正常的
|
|
83
|
-
不兼容边界以非零状态失败,请按上表安装配对的 TUI 线。上方的版本对应表是已发布
|
|
84
|
-
线的摘要;通用版本匹配原则与回退/诊断流程见[兼容性指南](docs/guides/dsh-compatibility.md);要查看 `@next` 的最新集成
|
|
85
|
-
状态,请看 [next 分支 README](https://github.com/XMoon/dsh-pi-tui/blob/next/README.md)。
|
|
80
|
+
不要混装稳定线与 `@next` 预发布线。`0.5.6` 是当前正式版,要求 DSH `>=0.2.2-rc.1`,且不兼容 `0.2.1-rc.*`。升级前让回合和后台任务结束,正常退出旧 TUI/Host,并备份 Profile/patch、Session 原始日志、Workspace 及所需 Host 资源与凭据引用;不支持热升级。0.2.2 写入的数据不保证能由 rc5 原地读取,回退时须恢复到独立目录并使用匹配的旧版 DSH/TUI。历史配对见上表;通用匹配和诊断方式见[兼容性指南](docs/guides/dsh-compatibility.md),`@next` 集成状态见 [next 分支 README](https://github.com/XMoon/dsh-pi-tui/blob/next/README.md)。
|
|
86
81
|
|
|
87
82
|
新的 Agent preset 使用当前 roster 中选定的 id。DSH 允许合法的自定义
|
|
88
83
|
`code` preset;只要当前 roster 存在它,显式输入和持久化状态都会保留 `code`。
|
|
@@ -133,6 +128,9 @@ dsh --profile pi-tui --session <session-id>
|
|
|
133
128
|
* 图表/SVG 工具、`present_visual` 发布与最终回答内联显示
|
|
134
129
|
* 交付文件尾部与 `/deliverables` 浏览器
|
|
135
130
|
* 实验性 TSP renderer:原生工具卡、Work Hub、图片与已发布图
|
|
131
|
+
* Host-wide Scheduled Task 管理(PiTui Direct)
|
|
132
|
+
* Plugin Manager:检查并更新 Host 标记可更新的第三方 Registry bundle
|
|
133
|
+
* Agent 文件链接、图片引用与 `present` 交付指导
|
|
136
134
|
* Plan Review
|
|
137
135
|
* Todo / Goal 状态展示
|
|
138
136
|
* 可读的终端窗口标题
|
|
@@ -165,7 +163,7 @@ dsh --profile pi-tui --session <session-id>
|
|
|
165
163
|
* Rewind
|
|
166
164
|
* Session lineage
|
|
167
165
|
* `/export` — 完整 Session 归档(含子代理与附件),保存到 Client 本地目录
|
|
168
|
-
* `/transcript` —
|
|
166
|
+
* `/transcript` — 官方 DSH Session Markdown(Direct),保存到 Client 本地目录
|
|
169
167
|
|
|
170
168
|
使用:
|
|
171
169
|
|
|
@@ -177,9 +175,13 @@ dsh --profile pi-tui --session <session-id>
|
|
|
177
175
|
/transcript
|
|
178
176
|
```
|
|
179
177
|
|
|
178
|
+
`/transcript` 在 Direct 下读取官方 Host Session Markdown 并保存为本地 `.md`;用户消息使用引用块,过程内容可折叠在 `<details>` 中。`/export` 仍是独立 ZIP 归档。
|
|
179
|
+
|
|
180
180
|
空闲且编辑器为空时也可以快速按两次 `Esc` 打开 Rewind。
|
|
181
181
|
|
|
182
|
-
Rewind 会从选中的历史 User Turn 创建新的 Child Session,并把对应 Prompt 放回编辑器。原 Session
|
|
182
|
+
Rewind 会从选中的历史 User Turn 创建新的 Child Session,并把对应 Prompt 放回编辑器。原 Session 不会被修改。普通 Fork/Rewind 创建独立 Session,不形成父子 lineage;Session lineage 用于显示 Subagent 关系。
|
|
183
|
+
|
|
184
|
+
PiTui 的 `/sessions`、`/search` 和 `/resume` 打开全屏 Session Workspace,按 Needs attention、Working、Recent 分组,可按 Current、各 Workspace 或 Unassigned 筛选。`Space` 查看只读 Peek,`Enter` 才切换。Direct 下新建 Session(包括 `/new`)依据官方 Host Workspace 确定归属。主编辑器持有键盘且草稿严格为空时,600ms 内连续两次无修饰 `←` 打开 All workspaces;第一次仍是普通左移。
|
|
183
185
|
|
|
184
186
|
### 输入历史
|
|
185
187
|
|
|
@@ -201,7 +203,7 @@ Rewind 会从选中的历史 User Turn 创建新的 Child Session,并把对应
|
|
|
201
203
|
|
|
202
204
|
Task Center 的 `ACTIVE` / `TRACKED` 是展示范围:`ACTIVE` 只显示当前活动项,`TRACKED` 显示当前跟踪源(Job Registry / Subagent catalog)仍列出的全部项;`TRACKED` 不是 Session 执行历史。DSH `0.1.7` 会在普通前台 `bash` / `pwsh` 执行期间临时注册 Job,使其可以在 Task Center 中观察和停止;如果命令在前台等待内完成,DSH 会移除该临时记录,最终结果仍保留在 Transcript 的 tool card 中。显式 `run_in_background: true` 或被提升为后台的 Job 在完成后,只要 Job Registry 继续保留其记录,就仍可在 `TRACKED` 中查看。
|
|
203
205
|
|
|
204
|
-
`/plugins` 是 `/settings → Plugins` 的深链:两者使用同一个 Settings 全屏 lease 与同一个 Plugin Manager 页面,不再有独立的插件全屏界面,也不会新建或切换 Session。目录固定为 TUI & Extensions / Official DSH / Third-party / Experimental
|
|
206
|
+
`/plugins` 是 `/settings → Plugins` 的深链:两者使用同一个 Settings 全屏 lease 与同一个 Plugin Manager 页面,不再有独立的插件全屏界面,也不会新建或切换 Session。目录固定为 TUI & Extensions / Official DSH / Third-party / Experimental(实验组最后),可搜索、筛选、查看来源与状态,并从官方目录执行安装、启用/禁用与删除;Host 标记可更新的第三方 Registry Profile bundle 还可查看可用版本并经确认更新;结果以 Host 实际返回的版本、重启要求和错误为准。≥120 列且能留出至少 6 行真实业务正文时同屏显示 `类别 | 插件列表 | 详情`;76–119 列按键盘焦点显示 `类别 | 列表` 或 `列表 | 详情`(`列表 | 详情` 同样要求至少 6 行真实业务正文,不足则退化为单栏),<76 列单栏;安装、危险确认与 Diagnostics 始终占满整宽,以免压缩风险文案。顶部身份/元数据/分隔线/面栏和最后一行操作栏由 Settings 统一绘制,插件只占业务正文。正在提供当前界面的 `dsh-pi-tui` 只读,不能从自身界面更新、禁用或移除。从 Settings 的 `Plugins` 分类预览或 `/plugins` 进入都保留同一个页面实例与后台安装请求:Esc 从列表回到 Settings 分类,再按一次 Esc 关闭。页面内按 `d` 打开只读的 **Diagnostics**:按 owner 分组显示 extension 贡献的 `active/failed/shadowed` 状态与完整 `lastError`、各 registry 计数、实际 capabilities,以及无法证明 Loader entry 归属的贡献(单列 `Unassociated extension contributions`);`c` 复制所选事实、`C` 复制全部、`r` 重新读取、Esc 返回。Diagnostics 只读 extension ledger,不把 Host 包安装状态或安装日志混入其中;`copy` 仍只证明已发送,不证明操作系统剪贴板已收到。
|
|
205
207
|
|
|
206
208
|
Experimental 组的 14 个官方 rc.2 实验包在 Detail 中给出固定的终端可用面与限制/风险说明(Web-only、Host-only、B04 的 WEB_ONLY/Host 行未挂载(Owner 已接受)、B13/B14 的已验证 one-shot/provider 边界等),这些说明只随精确官方包身份出现,不随启用状态伪装成 Host 能力通过;升级指引按 Host 事实区分「随 DSH 发行升级」「profile 包先 Remove 再显式 Install」「官方 on-demand 目标」和「当前 TUI 由外部管理」,不提供原地更新、版本选择器或静默重装。
|
|
207
209
|
|
|
@@ -310,7 +312,7 @@ product-model 官方署名 + Assisted-By: <provider>/<model>
|
|
|
310
312
|
@"path with spaces/file.ts"
|
|
311
313
|
```
|
|
312
314
|
|
|
313
|
-
`/attach <path>` 是统一的 Client-local 图片/文件入口;`/image <path>` 保持图片专用兼容语义。两者都支持文件与目录补全;带空格、引号或 Windows
|
|
315
|
+
`/attach <path>` 是统一的 Client-local 图片/文件入口;`/image <path>` 保持图片专用兼容语义。两者都支持文件与目录补全;带空格、引号或 Windows 分隔符的路径会保留输入方言,目录可以继续展开。支持括号粘贴的终端中,粘贴可识别的本地绝对图片路径可直接暂存为图片附件;读取未完成时不能发送,读取失败会保留原路径文字。
|
|
314
316
|
|
|
315
317
|
能够解析的相对路径会在提交时转换为明确的文件路径。
|
|
316
318
|
|
|
@@ -324,6 +326,7 @@ TUI 使用 DSH 提供的模型和设置服务。
|
|
|
324
326
|
|
|
325
327
|
```text
|
|
326
328
|
/model
|
|
329
|
+
/schedule
|
|
327
330
|
/settings
|
|
328
331
|
/status
|
|
329
332
|
/deliverables
|
|
@@ -339,6 +342,8 @@ TUI 使用 DSH 提供的模型和设置服务。
|
|
|
339
342
|
|
|
340
343
|
模型切换、Reasoning Effort、权限 Preset、Plan 和 Goal 都沿用 DSH 对应的运行时语义。`/model` 的候选完全来自 Host 的模型目录:`deepseek-flash` 以精确 `(provider, model)` 身份出现(显示名 `DeepSeek-V4.1-Flash` 不当作 ID),选择后写回官方 Session/global 默认;部署覆盖目录不再提供该 ID 时不会凭空显示。
|
|
341
344
|
|
|
345
|
+
`/schedule` 在 PiTui Direct 中打开 Host-wide 任务工作区,不需要 Session;定时任务由 Host 持有,停止 Host 后不再后台执行。
|
|
346
|
+
|
|
342
347
|
`/settings` 与 `/status` 打开同一个全屏设置工作区,默认落在 About。宽/中屏为分类栏
|
|
343
348
|
+ 内容栏,窄屏(<76 列)直接显示 About;一级分类固定为 About / Models / Account /
|
|
344
349
|
Agent / Appearance / Conversation / Input & Terminal / Tools / Plugins,只有扩展设置
|
|
@@ -412,6 +417,20 @@ Ctrl+V 会读取系统剪贴板:剪贴板里是图片时得到规范占位符
|
|
|
412
417
|
|
|
413
418
|
全屏图片信息行最右 3 格 `[-]`/`[+]` 只折叠该图片;点击图片正文打开只读查看器。`/view-image` 列出当前已挂载 transcript window 的图片,`Enter` 查看、`Esc back` 返回原列表。
|
|
414
419
|
|
|
420
|
+
### 图片协议选择
|
|
421
|
+
|
|
422
|
+
默认按 `auto` 自动协商(Direct/Zellij 为 Kitty > SIXEL > 文本;tmux 保留其 live U1/Sxl 相对优先级)。可在启动时用同一个 `PI_IMAGE_PROTOCOL` 显式选择:
|
|
423
|
+
|
|
424
|
+
```sh
|
|
425
|
+
PI_IMAGE_PROTOCOL=auto # 默认自动协商;严格识别的 Zellij + Windows Terminal 会避开已知的 Kitty 启动期假阳性
|
|
426
|
+
PI_IMAGE_PROTOCOL=kitty # 只使用已准入的 Kitty 传输,否则文本
|
|
427
|
+
PI_IMAGE_PROTOCOL=sixel # 只使用已准入的 SIXEL 传输(Direct 需真实 DA1;Zellij/tmux 仍走各自安全门),否则文本
|
|
428
|
+
PI_IMAGE_PROTOCOL=iterm2 # 仅 Direct 的 legacy iTerm2 路径;Multiplexer 不假装转发
|
|
429
|
+
PI_IMAGE_PROTOCOL=none # 关闭所有渲染后端的图片像素;0 等价
|
|
430
|
+
```
|
|
431
|
+
|
|
432
|
+
显式值是对协议**选择**,不是对不支持终端的保证:tmux 的 live client/Sxl/U1、Zellij 的 DA1/版本/Screen 就绪以及 DCS 所有权检查仍然生效。非法值会在启动时报错。`none` 只关闭终端像素预览,不影响图片附件、模型输入或发送;实验性 TSP renderer 的原生图片也遵循同一开关。
|
|
433
|
+
|
|
415
434
|
### TSP renderer(实验性)
|
|
416
435
|
|
|
417
436
|
设置 `DSH_PI_TUI_RENDERER=tsp` 后启用实验性 Tern TSP renderer:支持原生工具卡、
|
|
@@ -699,7 +718,7 @@ symlink 写入发布 package。
|
|
|
699
718
|
|
|
700
719
|
### CI 验证策略
|
|
701
720
|
|
|
702
|
-
CI 对 push 到 `next` 以及目标为 `next` 的 PR 遵循跟踪的 `test/compat/dsh-mode.json` 策略;`main` 和所有 tag 使用 npm Mode。Source Mode 从 `test/compat/dsh-source.json` 读取 source target 并验证完整的官方 DSH tarball family、TUI 预设和旧 runtime 边界;npm Mode 则使用 checkout 的 `package.json`/冻结 lockfile 中声明的 DSH 版本运行 registry lane。已发布 `pi2dsh`
|
|
721
|
+
CI 对 push 到 `next` 以及目标为 `next` 的 PR 遵循跟踪的 `test/compat/dsh-mode.json` 策略;`main` 和所有 tag 使用 npm Mode。Source Mode 从 `test/compat/dsh-source.json` 读取 source target 并验证完整的官方 DSH tarball family、TUI 预设和旧 runtime 边界;npm Mode 则使用 checkout 的 `package.json`/冻结 lockfile 中声明的 DSH 版本运行 registry lane。已发布 `pi2dsh` 的生态检查独立于模式选择,始终针对已发布生态(每次运行解析 `pi2dsh@latest` 与已发布 DSH 的最高交集);它不接受 source pack,传入 `--distribution` 会以非零错误拒绝而不是伪装成通过。详细流程见 [`docs/guides/dsh-compatibility.md`](docs/guides/dsh-compatibility.md)。
|
|
703
722
|
|
|
704
723
|
## 项目结构
|
|
705
724
|
|
package/cordis.patch.yml
CHANGED
|
@@ -68,6 +68,15 @@
|
|
|
68
68
|
name: '@xmoon76/dsh-pi-tui/visual-tools'
|
|
69
69
|
inject: [tools, agents, sessionQuery, sessionProjections]
|
|
70
70
|
|
|
71
|
+
# The profile-owned Web startup preference (M5-W PR-C): ONE durable boolean,
|
|
72
|
+
# `autoStart`, that a NEW Split Host reads BEFORE it becomes Ready. The row
|
|
73
|
+
# performs no work; it exists so the official Settings service projects the
|
|
74
|
+
# section and the Loader persists the user patch. It is deliberately NOT
|
|
75
|
+
# gated on `tuiStartup`: a Direct process also loads the profile and must be
|
|
76
|
+
# able to edit the preference for the Split Host it may start later.
|
|
77
|
+
- id: pi-tui-web-preferences
|
|
78
|
+
name: '@xmoon76/dsh-pi-tui/web-preferences'
|
|
79
|
+
|
|
71
80
|
# The OFFICIAL Host browser-callback listener for DeepSeek Account sign-in.
|
|
72
81
|
# The account provider registers `/oauth/callback` on this instance while an
|
|
73
82
|
# attempt is waiting for the browser; it is mounted here because the dsh-base
|
|
@@ -132,6 +141,64 @@
|
|
|
132
141
|
- id: workspace
|
|
133
142
|
name: '@deepseek-ai/dsh-workspace'
|
|
134
143
|
|
|
144
|
+
# The ONE Host Workspace commands/follow owner over the registry above
|
|
145
|
+
# (`ctx.workspaceController`, Typert namespace `workspace`): the same
|
|
146
|
+
# official row ID the web bundle mounts, so a Direct Host and a Host-only
|
|
147
|
+
# Split Host expose one Workspace Remote authority instead of two. Gating on
|
|
148
|
+
# `tuiStartup` is Direct's command-line admission only (`--help` starts no
|
|
149
|
+
# Host mutation); the Host-only overlay removes exactly that dependency in
|
|
150
|
+
# place, and the class's own `static inject` still supplies
|
|
151
|
+
# `remoteAccess`/`typert`/`workspaceRegistry`. Mounting it registers the
|
|
152
|
+
# generated `workspace` Remote namespace; it creates no Workspace and no
|
|
153
|
+
# directory by itself.
|
|
154
|
+
- id: workspace-controller
|
|
155
|
+
name: '@deepseek-ai/dsh-api-workspace-controller'
|
|
156
|
+
inject: [tuiStartup]
|
|
157
|
+
|
|
158
|
+
# ── Host Schedule management (S5-PR4) ──────────────────────────────────
|
|
159
|
+
# ONE Host Schedule domain shared by Direct and the Host-only Split
|
|
160
|
+
# overlay: the official durable task store, the single timer, the session
|
|
161
|
+
# FIFO and the delivery receipts all belong to this row. The Host-only
|
|
162
|
+
# overlay removes only the `tuiStartup` gate IN PLACE (`inject:
|
|
163
|
+
# [sessionController]`) and never inserts a second copy.
|
|
164
|
+
#
|
|
165
|
+
# `sessionController` is injected as a readiness barrier, not as a second
|
|
166
|
+
# owner: the Schedule runtime creates a `new`/`new_once` target Session
|
|
167
|
+
# through the one official Host Session controller, so the row must not
|
|
168
|
+
# arm its timer before that provider exists. The class's own inject still
|
|
169
|
+
# supplies agents/sessions/storageDomain/sessionPersistence, and
|
|
170
|
+
# `--help` (no tuiStartup) mounts neither this row nor the three Direct
|
|
171
|
+
# prerequisites below.
|
|
172
|
+
- id: pi-tui-schedule
|
|
173
|
+
name: '@deepseek-ai/dsh-schedule'
|
|
174
|
+
inject: [tuiStartup, sessionController]
|
|
175
|
+
|
|
176
|
+
# The three OFFICIAL Direct activation prerequisites of a Schedule target
|
|
177
|
+
# that creates Sessions, declared exactly once for the Direct graph:
|
|
178
|
+
# `SessionController` injects `fileUploads`, and `FileUploads` injects the
|
|
179
|
+
# Host `connection`. They are the same packages the web bundle and the
|
|
180
|
+
# Split Host-only overlay mount; the Split overlay disables exactly these
|
|
181
|
+
# three Direct rows so one Host PID never holds two Connections, two
|
|
182
|
+
# FileUploads or two Session controllers. `trustedHosts: []` keeps the
|
|
183
|
+
# loopback listener and the listener's own bind IP as the only accepted
|
|
184
|
+
# authorities, and `nativeOpen: false` keeps the controller from opening a
|
|
185
|
+
# host-side native surface for a Remote client.
|
|
186
|
+
- id: pi-tui-direct-connection
|
|
187
|
+
name: '@deepseek-ai/dsh-client-connection'
|
|
188
|
+
inject: [tuiStartup, credentials, webServer]
|
|
189
|
+
config:
|
|
190
|
+
trustedHosts: []
|
|
191
|
+
|
|
192
|
+
- id: pi-tui-direct-file-upload
|
|
193
|
+
name: '@deepseek-ai/dsh-client-file-upload'
|
|
194
|
+
inject: [tuiStartup, agents, attachments, commands, connection]
|
|
195
|
+
|
|
196
|
+
- id: pi-tui-direct-session-controller
|
|
197
|
+
name: '@deepseek-ai/dsh-api-session-controller'
|
|
198
|
+
inject: [tuiStartup, agentDefaultModel, agents, attachments, fileUploads, fs, llm, remoteAccess, sessions, sessionProjections, sessionQuery, typert, typertGateway, workspaceRegistry]
|
|
199
|
+
config:
|
|
200
|
+
nativeOpen: false
|
|
201
|
+
|
|
135
202
|
# The OFFICIAL Host `@`-file reference authority (M3-3A): this row is
|
|
136
203
|
# the same one the official web bundle mounts. It provides
|
|
137
204
|
# `ctx.fileReferences` (the discovery service the Session Controller's
|
|
@@ -145,6 +212,11 @@
|
|
|
145
212
|
- id: file-reference-local
|
|
146
213
|
name: '@deepseek-ai/dsh-file-reference-local'
|
|
147
214
|
|
|
215
|
+
# Shared Host prompt guidance for delivered file links and present results.
|
|
216
|
+
# Independent of Web serving; inherited unchanged by Direct and Split Host.
|
|
217
|
+
- id: deliverable-file-references
|
|
218
|
+
name: '@deepseek-ai/dsh-deliverable-file-references'
|
|
219
|
+
|
|
148
220
|
# The 0.1.7 declarative preset registry: preset identity, revisions and
|
|
149
221
|
# default/selection policy are registry-owned (deployment `default` here;
|
|
150
222
|
# the user's `selectedDefault` rides the profile form). The four shipped
|
|
@@ -159,8 +231,9 @@
|
|
|
159
231
|
default: standard
|
|
160
232
|
|
|
161
233
|
# The official standard preset composes its `subagent` tool with
|
|
162
|
-
# `
|
|
163
|
-
# service — the row is required for the standard
|
|
234
|
+
# `modelSelection: true` + `modelDiscovery: true`, which injects this
|
|
235
|
+
# Host-owned setting service — the row is required for the standard
|
|
236
|
+
# composition to mount.
|
|
164
237
|
# Mounting the service ALONE enables nothing: it only owns the
|
|
165
238
|
# `subagent-model-selection` settings section (default enabled=false,
|
|
166
239
|
# empty allowlist). Each NEW session samples that section at
|
|
@@ -194,8 +267,8 @@
|
|
|
194
267
|
# their host infrastructure, `permission`, `approval`, `sandbox*`,
|
|
195
268
|
# `fs-observation-policy`, `spill*`, `timeout-policy`, `repeat-tool-reminder`,
|
|
196
269
|
# `session-*`, `token-meter`. The base's official `ptc-runtime` row also stays:
|
|
197
|
-
# it provides `ptcRuntime`, which the `ptc` preset's `tool-
|
|
198
|
-
#
|
|
270
|
+
# it provides `ptcRuntime`, which the `ptc` preset's `tool-executor-ptc` row
|
|
271
|
+
# injects, and this overlay owns no second PTC runtime.
|
|
199
272
|
# `command-goal` is disabled below and reintroduced
|
|
200
273
|
# only by presets that own that command in their scoped composition.
|
|
201
274
|
|
|
@@ -241,9 +314,6 @@
|
|
|
241
314
|
- id: tool-subagent-control
|
|
242
315
|
disabled: true
|
|
243
316
|
|
|
244
|
-
- id: tool-subagent-list-agents
|
|
245
|
-
disabled: true
|
|
246
|
-
|
|
247
317
|
- id: tool-subagent
|
|
248
318
|
disabled: true
|
|
249
319
|
|