@xmoon76/dsh-pi-tui 0.5.7 → 0.5.8
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 +13 -11
- package/README.md +13 -11
- package/dist/{bootstrap-C9nl6e13.mjs → bootstrap-CMIjGyuk.mjs} +532 -416
- package/dist/builtins.mjs +2 -2
- package/dist/{client-bootstrap-CGezi85O.mjs → client-bootstrap-BjGPc-DM.mjs} +826 -3
- package/dist/{daemon-launcher-H_1r5Cqs.mjs → daemon-launcher-Dult7Jxv.mjs} +121 -4
- package/dist/daemon-launcher.mjs +1 -1
- package/dist/{entry-control-jBfKn1qO.mjs → entry-control-DjNsE3I0.mjs} +1 -1
- package/dist/{extensions-6a5vvJUT.mjs → extensions-B4uLpSTv.mjs} +1 -4
- package/dist/extensions.mjs +1 -1
- package/dist/{host-foundation-probe-DK7n5jDu.mjs → host-foundation-probe-DMNTmNrH.mjs} +1 -1
- package/dist/index.mjs +532 -298
- package/dist/{local-acp-listener-CNkguN5-.mjs → local-acp-listener-B65J0Bx4.mjs} +561 -12
- package/dist/local-client.mjs +442 -45
- package/dist/{local-daemon-control-Cu_4FIdd.mjs → local-daemon-control-C14q9KnD.mjs} +5 -2
- package/dist/{local-daemon-control-Bg9s2aYi.mjs → local-daemon-control-TCnERL7n.mjs} +3 -3
- package/dist/{local-discovery-Bq3jLAn1.mjs → local-discovery-DOSsCh9q.mjs} +1 -1
- package/dist/{local-discovery-BMoNXZjJ.mjs → local-discovery-egN4_gsQ.mjs} +1 -1
- package/dist/{local-discovery-BPZw1wEd.mjs → local-discovery-uOBfFq5j.mjs} +1 -1
- package/dist/local-host.mjs +24 -6
- package/dist/local-profile-daemon-admin-BmQSdzT0.mjs +210 -0
- package/dist/{local-scope-DEuGAy8l.mjs → local-scope-DamiMqPd.mjs} +118 -1
- package/dist/{local-transport-X4ZCe2uE.mjs → local-transport-Iwo0mtu3.mjs} +2 -2
- package/dist/{local-web-control-DKWtXIkr.mjs → local-web-control-DMrjwCkl.mjs} +2 -2
- package/dist/{session-DC0XQr5O.mjs → session-C6tSs86s.mjs} +2 -2
- package/dist/{session-Cihe8PPS.mjs → session-CstInGIA.mjs} +1 -1
- package/dist/{startup-CARqn3kV.mjs → startup-EG5UqIcd.mjs} +3 -3
- package/dist/startup.mjs +1 -1
- package/dist/{terminal-progress-source-D4DHyXDo.mjs → terminal-progress-source-CpfpQO_h.mjs} +3 -6
- package/dist/{transcript-view-hvNVkPtv.mjs → transcript-view-C1YtJ49Y.mjs} +191 -192
- package/dist/{transcript-view-a7cROAaI.mjs → transcript-view-CuJYWkhp.mjs} +190 -191
- package/package.json +6 -6
- package/dist/local-profile-daemon-admin-AXgVH-6y.mjs +0 -91
package/README.en.md
CHANGED
|
@@ -7,7 +7,7 @@ English | [简体中文](README.md)
|
|
|
7
7
|
|
|
8
8
|
**A terminal frontend for DeepSeek Harness. One Host, with TUI, Web and ACP clients accessing the same Agent Session.**
|
|
9
9
|
|
|
10
|
-
**Direct** remains the default, ready-to-use mode. Starting in **0.5.
|
|
10
|
+
**Direct** remains the default, ready-to-use mode. Starting in **0.5.8**, Linux/macOS users can explicitly choose a **Daemon**: an independent local Host retains sessions and ongoing work as terminal Clients disconnect and reconnect. Other TUIs, the official Web frontend and an opt-in local ACP client can access sessions belonging to that same Host.
|
|
11
11
|
|
|
12
12
|
[DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) remains the authority for the Agent Loop, models, tools, persistence, permissions and concurrent writes. `dsh-pi-tui` is a third-party frontend, not a second Agent Runtime.
|
|
13
13
|
|
|
@@ -21,7 +21,7 @@ English | [简体中文](README.md)
|
|
|
21
21
|
|
|
22
22
|
### Stable / latest
|
|
23
23
|
|
|
24
|
-
**0.5.
|
|
24
|
+
**0.5.8 is the current stable release (npm `@latest`).** The recommended DSH pairing is **0.2.2-rc.5**. Install DeepSeek Harness first, then the TUI bundle into the `pi-tui` profile:
|
|
25
25
|
|
|
26
26
|
~~~sh
|
|
27
27
|
npm install -g --allow-scripts=@deepseek-ai/dsh-subprocess-local,koffi,node-pty @deepseek-ai/dsh@0.2.2-rc.5
|
|
@@ -29,22 +29,24 @@ dsh plugin --profile pi-tui -- add @xmoon76/dsh-pi-tui@latest
|
|
|
29
29
|
dsh --profile pi-tui
|
|
30
30
|
~~~
|
|
31
31
|
|
|
32
|
-
### Exact version pairing (0.5.
|
|
32
|
+
### Exact version pairing (0.5.8)
|
|
33
33
|
|
|
34
|
-
**0.5.
|
|
34
|
+
**0.5.8 requires Node.js ≥24.9.0 and DSH ≥0.2.2-rc.3. DSH 0.2.2-rc.5 is recommended** (the exact qualification target for this release). For a reproducible installation, pin both package versions:
|
|
35
35
|
|
|
36
36
|
~~~sh
|
|
37
37
|
npm install -g --allow-scripts=@deepseek-ai/dsh-subprocess-local,koffi,node-pty @deepseek-ai/dsh@0.2.2-rc.5
|
|
38
|
-
dsh plugin --profile pi-tui -- add @xmoon76/dsh-pi-tui@0.5.
|
|
38
|
+
dsh plugin --profile pi-tui -- add @xmoon76/dsh-pi-tui@0.5.8
|
|
39
39
|
dsh --profile pi-tui
|
|
40
40
|
~~~
|
|
41
41
|
|
|
42
42
|
| TUI | DSH | Status |
|
|
43
43
|
|---|---|---|
|
|
44
|
-
| `0.5.
|
|
44
|
+
| `0.5.8` | `>=0.2.2-rc.3`; recommended `0.2.2-rc.5` | **Current latest** |
|
|
45
45
|
| `0.5.6` | `0.2.2-rc.1` | Previous release |
|
|
46
46
|
|
|
47
|
-
**
|
|
47
|
+
**Fresh 0.5.8 install:** The DSH plugin command above installs the TUI without manually adding `@deepseek-ai/dsh-client-store`, `zustand` or `immer`. A failed Daemon Client startup reports its own `$DSH_HOME/logs/pi-tui-client/startup-*.log` file; `daemon logs` covers Host logs only.
|
|
48
|
+
|
|
49
|
+
**Upgrade precaution:** Before changing the DSH Runtime, finish in-flight Turns/Jobs, stop the previous Host and back up Profiles, Sessions and required data. Cross-DSH schema downgrade in place is not guaranteed. Do not pair 0.5.8 with rc.2 or earlier. See the [compatibility guide](docs/guides/dsh-compatibility.md) for historical pairs and recovery.
|
|
48
50
|
|
|
49
51
|
### Next / npm line (validation)
|
|
50
52
|
|
|
@@ -60,7 +62,7 @@ dsh --profile pi-tui
|
|
|
60
62
|
|
|
61
63
|
### Two modes, one DSH Session authority
|
|
62
64
|
|
|
63
|
-
| | Direct (default) | Daemon (opt-in from 0.5.
|
|
65
|
+
| | Direct (default) | Daemon (opt-in from 0.5.8) |
|
|
64
66
|
|---|---|---|
|
|
65
67
|
| Launch | `dsh --profile pi-tui` | `DSH_PI_TUI_BACKEND=daemon dsh --profile pi-tui` |
|
|
66
68
|
| Process | TUI and Host in one process | Independent Host; TUI is a detachable Client |
|
|
@@ -95,7 +97,7 @@ You can also save `Daemon` under `/settings → General → Backend` for the **n
|
|
|
95
97
|
| `Ctrl+C` · `Ctrl+D` | Cancel while busy, or follow idle exit confirmation |
|
|
96
98
|
| `!` · `!!` | Host Shell with / without Session persistence |
|
|
97
99
|
|
|
98
|
-
These are default mappings and common entries; `/
|
|
100
|
+
These are default mappings and common entries; `/keybindings` shows the **effective** keys after customizations. Type `/` to search and select commands and available Skills; use `/skill <name> [args]` to invoke a Skill explicitly (including when a same-named command would otherwise win), while bare `/skill` only prints its usage. `/transcript` currently uses the official Direct Markdown export; `/export` creates a separate ZIP archive saved on the Client filesystem. `PI_IMAGE_PROTOCOL=none` disables pixel previews, not attachments.
|
|
99
101
|
|
|
100
102
|
## Daemon quick start (Linux / macOS)
|
|
101
103
|
|
|
@@ -139,9 +141,9 @@ When launched inside [Herdr](https://github.com/herdrdev/herdr), the TUI can rep
|
|
|
139
141
|
|
|
140
142
|
## Settings, extensions and development
|
|
141
143
|
|
|
142
|
-
`/settings` is the shared fullscreen Settings workspace; `/plugins`, `/footer` and `/keybindings` open its relevant pages. Host configuration writes use official authoritative readback; a package enabled in the Host is not necessarily an ACTIVE `./tui` extension in the current Client.
|
|
144
|
+
`/settings` is the shared fullscreen Settings workspace; `/plugins`, `/footer` and `/keybindings` open its relevant pages. `/keybindings conflicts` opens the same Keyboard shortcuts page directly in its Conflicts view; when the settings document cannot be read or that page cannot open, the command returns an error carrying the current conflict diagnostics. Host configuration writes use official authoritative readback; a package enabled in the Host is not necessarily an ACTIVE `./tui` extension in the current Client.
|
|
143
145
|
|
|
144
|
-
Public extensions have **Stable / Advanced / Unstable** tiers: see the [authoring guide](docs/extensions/authoring.md), [Stable API](docs/extensions/stable.md) and [tier contract](docs/extensions/tiers.md). Version 0.5.
|
|
146
|
+
Public extensions have **Stable / Advanced / Unstable** tiers: see the [authoring guide](docs/extensions/authoring.md), [Stable API](docs/extensions/stable.md) and [tier contract](docs/extensions/tiers.md). Version 0.5.8 adds Client-local `./tui` loading and per-package persisted settings, but **does not deliver Forge or a Plugin Marketplace**.
|
|
145
147
|
|
|
146
148
|
For development:
|
|
147
149
|
|
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
**面向 DeepSeek Harness 的终端交互界面;一个 Host,让终端、Web 和 ACP 客户端访问同一个 Agent Session。**
|
|
9
9
|
|
|
10
|
-
默认以 **Direct** 模式运行,开箱即用;从 **0.5.
|
|
10
|
+
默认以 **Direct** 模式运行,开箱即用;从 **0.5.8** 起,可在 Linux/macOS 显式选择 **Daemon**:独立的本地 Host 持有 Session 和执行中的工作,终端 Client 可以断开、重新连接;其他 TUI、官方 Web 与本地 ACP 客户端也可以访问同一 Host 的会话。
|
|
11
11
|
|
|
12
12
|
Agent Loop、模型、工具、持久化、权限和并发写入权威都属于 [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness);`dsh-pi-tui` 是第三方前端,而不是另一套 Agent Runtime。
|
|
13
13
|
|
|
@@ -21,7 +21,7 @@ Agent Loop、模型、工具、持久化、权限和并发写入权威都属于
|
|
|
21
21
|
|
|
22
22
|
### Stable / latest
|
|
23
23
|
|
|
24
|
-
**0.5.
|
|
24
|
+
**0.5.8 是当前最新稳定版(npm `@latest`)**。推荐搭配 **DSH 0.2.2-rc.5**;先安装 DeepSeek Harness,再将 TUI 添加到 `pi-tui` Profile:
|
|
25
25
|
|
|
26
26
|
~~~sh
|
|
27
27
|
npm install -g --allow-scripts=@deepseek-ai/dsh-subprocess-local,koffi,node-pty @deepseek-ai/dsh@0.2.2-rc.5
|
|
@@ -29,22 +29,24 @@ dsh plugin --profile pi-tui -- add @xmoon76/dsh-pi-tui@latest
|
|
|
29
29
|
dsh --profile pi-tui
|
|
30
30
|
~~~
|
|
31
31
|
|
|
32
|
-
### 精确版本配对(0.5.
|
|
32
|
+
### 精确版本配对(0.5.8)
|
|
33
33
|
|
|
34
|
-
**0.5.
|
|
34
|
+
**0.5.8 要求 Node.js ≥24.9.0、DSH ≥0.2.2-rc.3,推荐使用 DSH 0.2.2-rc.5**(本版本的精确验证目标)。需要可复现安装时,固定两个包的版本:
|
|
35
35
|
|
|
36
36
|
~~~sh
|
|
37
37
|
npm install -g --allow-scripts=@deepseek-ai/dsh-subprocess-local,koffi,node-pty @deepseek-ai/dsh@0.2.2-rc.5
|
|
38
|
-
dsh plugin --profile pi-tui -- add @xmoon76/dsh-pi-tui@0.5.
|
|
38
|
+
dsh plugin --profile pi-tui -- add @xmoon76/dsh-pi-tui@0.5.8
|
|
39
39
|
dsh --profile pi-tui
|
|
40
40
|
~~~
|
|
41
41
|
|
|
42
42
|
| TUI | DSH | 状态 |
|
|
43
43
|
|---|---|---|
|
|
44
|
-
| `0.5.
|
|
44
|
+
| `0.5.8` | `>=0.2.2-rc.3`;推荐 `0.2.2-rc.5` | **当前 latest** |
|
|
45
45
|
| `0.5.6` | `0.2.2-rc.1` | 上一版本 |
|
|
46
46
|
|
|
47
|
-
|
|
47
|
+
**0.5.8 干净安装**:只需执行上面的 DSH 插件安装命令,不需要手动安装 `@deepseek-ai/dsh-client-store`、`zustand` 或 `immer`。Daemon Client 自身启动失败时会提供 `$DSH_HOME/logs/pi-tui-client/startup-*.log` 诊断文件位置;`daemon logs` 仅查看 Host 日志。
|
|
48
|
+
|
|
49
|
+
**升级注意**:跨 DSH Runtime 升级必须先完成正在运行的 Turn/Job、停止旧 Host 并备份 Profile、Session 与所需数据;不保证跨 DSH 数据 Schema 的原地回退。不要将 0.5.8 配到 DSH rc.2 或更早版本。完整配对和恢复方法见[兼容性指南](docs/guides/dsh-compatibility.md)。
|
|
48
50
|
|
|
49
51
|
### Next / npm 线(验证)
|
|
50
52
|
|
|
@@ -60,7 +62,7 @@ dsh --profile pi-tui
|
|
|
60
62
|
|
|
61
63
|
### 两种运行方式,同一套 DSH 会话语义
|
|
62
64
|
|
|
63
|
-
| | Direct(默认) | Daemon(0.5.
|
|
65
|
+
| | Direct(默认) | Daemon(0.5.8 起,可选) |
|
|
64
66
|
|---|---|---|
|
|
65
67
|
| 启动 | `dsh --profile pi-tui` | `DSH_PI_TUI_BACKEND=daemon dsh --profile pi-tui` |
|
|
66
68
|
| 进程 | TUI 与 Host 同进程 | Host 独立运行,TUI 是可断开的 Client |
|
|
@@ -95,7 +97,7 @@ Daemon 的选择也可以在 `/settings → General → Backend` 保存,**下
|
|
|
95
97
|
| `Ctrl+C` · `Ctrl+D` | 工作中取消、或空闲时遵循实际键位/确认退出 |
|
|
96
98
|
| `!` · `!!` | Host Shell:结果入 Session / 不入 Session |
|
|
97
99
|
|
|
98
|
-
这里列出的是默认键位和常见入口;自定义后以 `/
|
|
100
|
+
这里列出的是默认键位和常见入口;自定义后以 `/keybindings` 显示的**实际生效键位**为准。输入 `/` 可搜索并选择命令与可用的 Skills;需要显式调用某个 Skill(包括与同名命令冲突时)使用 `/skill <name> [args]`,裸 `/skill` 只显示用法。`/transcript` 当前的官方 Markdown 导出路径属于 Direct;`/export` 是独立的 ZIP 归档,产物落在 Client 本地目录。`PI_IMAGE_PROTOCOL=none` 只禁止像素预览,不影响附件发送。
|
|
99
101
|
|
|
100
102
|
## Daemon 快速上手(Linux / macOS)
|
|
101
103
|
|
|
@@ -139,9 +141,9 @@ dsh --profile pi-tui web status
|
|
|
139
141
|
|
|
140
142
|
## 设置、扩展与开发
|
|
141
143
|
|
|
142
|
-
`/settings` 是统一的全屏设置入口;`/plugins`、`/footer`、`/keybindings`
|
|
144
|
+
`/settings` 是统一的全屏设置入口;`/plugins`、`/footer`、`/keybindings` 是对应页面的快捷入口。`/keybindings conflicts` 直接进入同一个 Keyboard shortcuts 页面的 Conflicts 视图;设置文档不可读或该页面无法打开时,命令返回包含当前冲突诊断的错误。Host 配置写入会经过官方回读确认;当前 Client 的插件 `./tui` 激活状态与 Host 包是否启用是不同事实。
|
|
143
145
|
|
|
144
|
-
扩展按 **Stable / Advanced / Unstable** 三层发布,详见 [扩展作者指南](docs/extensions/authoring.md)、[Stable API](docs/extensions/stable.md) 和 [兼容性分层](docs/extensions/tiers.md)。0.5.
|
|
146
|
+
扩展按 **Stable / Advanced / Unstable** 三层发布,详见 [扩展作者指南](docs/extensions/authoring.md)、[Stable API](docs/extensions/stable.md) 和 [兼容性分层](docs/extensions/tiers.md)。0.5.8 增加了 Client-local `./tui` 加载与按包持久设置,但**不代表 Forge 或 Plugin Marketplace 已交付**。
|
|
145
147
|
|
|
146
148
|
从源码开发:
|
|
147
149
|
|