pi2dsh 0.26.0 → 0.27.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -15
- package/README.zh.md +6 -0
- package/package.json +43 -43
package/README.md
CHANGED
|
@@ -23,6 +23,8 @@ Version support is explicit:
|
|
|
23
23
|
|
|
24
24
|
| pi2dsh | DSH host | Maintenance |
|
|
25
25
|
|---|---|---|
|
|
26
|
+
| 0.27.1 | 0.2.1-rc.2 / 0.2.1-rc.3 | [Acceptance and release status](community/release-0.27.1/README.md) |
|
|
27
|
+
| 0.27.0 | 0.2.1-rc.2 | [Acceptance and release status](community/release-0.27.0/README.md) |
|
|
26
28
|
| 0.26.0 | 0.2.0-rc.2 | [Release verification](community/release-0.26.0/README.md) |
|
|
27
29
|
| 0.25.2 | 0.1.5-rc.2 | Frozen checkpoint: [release evidence](community/release-0.25.2/README.md) |
|
|
28
30
|
|
|
@@ -31,6 +33,11 @@ validated current DSH line; historical fixes start from their release tag when
|
|
|
31
33
|
needed. DSH owns stored-session format migration. An untested host version is
|
|
32
34
|
not included in the compatibility declaration.
|
|
33
35
|
|
|
36
|
+
For either supported DSH version, the validated terminal packages are
|
|
37
|
+
`@deepseek-harness-tui/dsh-tui@0.17.0` and `@xmoon76/dsh-pi-tui@0.5.3`.
|
|
38
|
+
The older dsh-pi-tui 0.5.1 still references removed host components; upgrade
|
|
39
|
+
that terminal rather than bypassing compatibility checks with `allow-version`.
|
|
40
|
+
|
|
34
41
|
## Why this exists
|
|
35
42
|
|
|
36
43
|
[DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) is built
|
|
@@ -150,18 +157,9 @@ dsh plugin --profile dsh-tui add pi2dsh
|
|
|
150
157
|
dsh plugin --profile dsh-tui add pi-mcp-adapter
|
|
151
158
|
```
|
|
152
159
|
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
dsh plugin --profile pi-tui add @xmoon76/dsh-pi-tui
|
|
157
|
-
dsh plugin --profile pi-tui add pi2dsh pi-mcp-adapter @tintinweb/pi-subagents
|
|
158
|
-
dsh --profile pi-tui
|
|
159
|
-
```
|
|
160
|
-
|
|
161
|
-
That composition keeps dsh-pi-tui's native `/login` and projects Pi OAuth
|
|
162
|
-
flows into it, mounts the original MCP manager through the public
|
|
163
|
-
`piTuiExtensions` surface, and exposes the original Pi subagent flow at
|
|
164
|
-
`/agents`. See [`examples/pi-tui-ecosystem`](examples/pi-tui-ecosystem/).
|
|
160
|
+
The alternative [`dsh-pi-tui` example](examples/pi-tui-ecosystem/) is a
|
|
161
|
+
historical DSH 0.2.0-rc.2 / pi2dsh 0.26.0 checkpoint, not an alternative
|
|
162
|
+
installation for the current 0.2.1 host. Its upstream terminal needs an update.
|
|
165
163
|
|
|
166
164
|
Then restart `dsh` — plugins mount at startup.
|
|
167
165
|
|
|
@@ -220,8 +218,8 @@ it work. **This is the list to trust.**
|
|
|
220
218
|
| [`@crazygit/pi-codex-image-gen`](https://www.npmjs.com/package/@crazygit/pi-codex-image-gen) | ChatGPT/Codex OAuth → `gpt-image-2` generation; local reference-image upload through DSH approval; image edit; native attachment storage and inline Web rendering | CLI + web | [`codex-image-gen`](examples/codex-image-gen/) |
|
|
221
219
|
| [`pi-btw`](https://www.npmjs.com/package/pi-btw) | `/btw <question>` as a real child session in DSH's subagent UI; `/btw-inject`; `/btw --save`; main thread stays clean | CLI + web | [`side-conversation`](examples/side-conversation/) |
|
|
222
220
|
| [`pi-powerline-footer`](https://www.npmjs.com/package/pi-powerline-footer) | A terminal status line — model, thinking level, project, context usage — drawn as a floating status pill in DSH web, colour included | web | [`presentation-surfaces`](examples/presentation-surfaces/) |
|
|
223
|
-
| [`pi-mcp-adapter`](https://www.npmjs.com/package/pi-mcp-adapter) | Original full-screen manager; stdio/Streamable HTTP/SSE; discovery, direct/proxy/scripted calls, resources, prompts, images, structured content, MCP Apps, approval, elicitation, sampling, cancellation and restart through DSH runtimes | CLI + web + dsh-TUI
|
|
224
|
-
| [`@tintinweb/pi-subagents`](https://www.npmjs.com/package/@tintinweb/pi-subagents) | The model delegates to autonomous subagents: spawn (with real host-native tools), background + completion notify, mid-run steer, wait-for-result, resume with memory, stop that stays stopped, interactive manager, and cross-restart reopen by archive identity — every child a native DSH session | CLI + dsh-TUI
|
|
221
|
+
| [`pi-mcp-adapter`](https://www.npmjs.com/package/pi-mcp-adapter) | Original full-screen manager; stdio/Streamable HTTP/SSE; discovery, direct/proxy/scripted calls, resources, prompts, images, structured content, MCP Apps, approval, elicitation, sampling, cancellation and restart through DSH runtimes | CLI + web + dsh-TUI | [`tui-mcp`](examples/tui-mcp/) · [`mcp-at-scale`](examples/mcp-at-scale/) · [`pi-tui-ecosystem`](examples/pi-tui-ecosystem/) · [evidence matrix](docs/mcp-compatibility.md) |
|
|
222
|
+
| [`@tintinweb/pi-subagents`](https://www.npmjs.com/package/@tintinweb/pi-subagents) | The model delegates to autonomous subagents: spawn (with real host-native tools), background + completion notify, mid-run steer, wait-for-result, resume with memory, stop that stays stopped, interactive manager, and cross-restart reopen by archive identity — every child a native DSH session | CLI + dsh-TUI | [`subagents`](examples/subagents/) · [`pi-tui-ecosystem`](examples/pi-tui-ecosystem/) · [acceptance report](community/subagents-acceptance-report.md) |
|
|
225
223
|
| [`pi-provider-alibaba`](https://www.npmjs.com/package/pi-provider-alibaba) | Alibaba Token Plan (CN) with its plan-specific key: live catalog, cold-start dynamic model, complete tool loop and restart. The package also declares Coding/API routes, but each requires its own non-interchangeable credential | CLI + web | [`alibaba-token-plan`](examples/alibaba-token-plan/) |
|
|
226
224
|
| [`@ff-labs/pi-fff`](https://www.npmjs.com/package/@ff-labs/pi-fff) + [`pi-lens`](https://www.npmjs.com/package/pi-lens) | Code navigation for the model: `ffgrep` content search finds a marker that exists in exactly one file, and `lsp_diagnostics` reports a planted TS2322 through a real local `typescript-language-server` — both asserted from the tools’ own results in the session log | CLI + web | [`code-navigation`](examples/code-navigation/) |
|
|
227
225
|
| [`pi-vision-tool`](https://www.npmjs.com/package/pi-vision-tool) | Tool registration through a JSON-Schema shape DSH had to convert (`anyOf` → `oneOf`) | CLI + web | — |
|
|
@@ -493,7 +491,7 @@ in one has actually been executed against a real DSH loop before landing.
|
|
|
493
491
|
| [`persistent-memory`](examples/persistent-memory/) | pi-hermes-memory across two real sessions: save a fact in one, recall it in a fresh one — with the build-approval step (`better-sqlite3`) the install actually needs |
|
|
494
492
|
| [`background-tasks`](examples/background-tasks/) | pi-background-tasks: start a long shell job in the background and read its output while it is still running — the live-tracking property asserted from the tool's own results |
|
|
495
493
|
| [`subagents`](examples/subagents/) | The model runs a small team: delegate, background, steer mid-run, collect, resume with memory, stop for real, manage via `/pi-agents`, reopen across restarts |
|
|
496
|
-
| [`pi-tui-ecosystem`](examples/pi-tui-ecosystem/) |
|
|
494
|
+
| [`pi-tui-ecosystem`](examples/pi-tui-ecosystem/) | Historical DSH 0.2.0-rc.2 proof; this terminal is currently incompatible with DSH 0.2.1-rc.2 |
|
|
497
495
|
|
|
498
496
|
## Other tools
|
|
499
497
|
|
package/README.zh.md
CHANGED
|
@@ -20,6 +20,8 @@ elicitation、sampling、cancellation——经 DSH 自己的审批和渲染跑
|
|
|
20
20
|
|
|
21
21
|
| pi2dsh | DSH 宿主 | 维护状态 |
|
|
22
22
|
|---|---|---|
|
|
23
|
+
| 0.27.1 | 0.2.1-rc.2 / 0.2.1-rc.3 | [验收与发布状态](community/release-0.27.1/README.md) |
|
|
24
|
+
| 0.27.0 | 0.2.1-rc.2 | [验收与发布状态](community/release-0.27.0/README.md) |
|
|
23
25
|
| 0.26.0 | 0.2.0-rc.2 | [发布验收与缺凭证项目](community/release-0.26.0/README.md) |
|
|
24
26
|
| 0.25.2 | 0.1.5-rc.2 | 保留检查点:[发布验收](community/release-0.25.2/README.md) |
|
|
25
27
|
|
|
@@ -27,6 +29,10 @@ Pi 扩展语义仍固定在 0.84.1。新版引擎只针对已验证的当前 DSH
|
|
|
27
29
|
旧版收到具体故障后,从对应发布 tag 分支修复。存量会话格式迁移由 DSH 负责。
|
|
28
30
|
未经验证的新宿主版本不会自动写入兼容声明。
|
|
29
31
|
|
|
32
|
+
两版宿主验证使用的终端为 `@deepseek-harness-tui/dsh-tui@0.17.0` 和
|
|
33
|
+
`@xmoon76/dsh-pi-tui@0.5.3`。旧 dsh-pi-tui 0.5.1 仍引用已删除的宿主组件,
|
|
34
|
+
请升级终端,不要用 `allow-version` 绕过。
|
|
35
|
+
|
|
30
36
|
## 为什么有这个项目
|
|
31
37
|
|
|
32
38
|
[DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness)(DSH)的
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi2dsh",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.27.1",
|
|
4
4
|
"description": "Bridge the Pi and DeepSeek Harness ecosystems: a general Pi Host ABI that runs unmodified Pi extensions as native DSH plugins, with compatibility inspection and Pi-to-DSH MCP config translation.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -43,6 +43,7 @@
|
|
|
43
43
|
"audit:community": "pnpm build && node scripts/audit-community.mjs",
|
|
44
44
|
"build": "tsdown",
|
|
45
45
|
"check": "tsc --noEmit",
|
|
46
|
+
"check:host": "node scripts/check-host-dependencies.mjs",
|
|
46
47
|
"check:docs": "pnpm build && node scripts/generate-capability-docs.mjs --check",
|
|
47
48
|
"check:pack": "pnpm build && publint && node scripts/check-pack.mjs",
|
|
48
49
|
"docs:capabilities": "node scripts/generate-capability-docs.mjs",
|
|
@@ -56,7 +57,7 @@
|
|
|
56
57
|
"test:live": "pnpm build && node scripts/verify-live-deepseek.mjs community/live-deepseek-results.json",
|
|
57
58
|
"test:pi-tui": "pnpm build && node scripts/verify-pi-tui-ecosystem-e2e.mjs",
|
|
58
59
|
"test:seams": "pnpm build && node scripts/verify-step-seams-e2e.mjs",
|
|
59
|
-
"verify": "pnpm check && pnpm test:coverage && pnpm check:docs && pnpm check:pack",
|
|
60
|
+
"verify": "pnpm check:host && pnpm check && pnpm test:coverage && pnpm check:docs && pnpm check:pack",
|
|
60
61
|
"verify:release": "pnpm verify && PI2DSH_ENGINE_SPEC=pi2dsh@$(node -p \"require('./package.json').version\") node scripts/verify-examples-e2e.mjs && node scripts/verify-step-seams-e2e.mjs && PI2DSH_ENGINE_SPEC=pi2dsh@$(node -p \"require('./package.json').version\") node scripts/verify-pi-tui-ecosystem-e2e.mjs",
|
|
61
62
|
"test:pi-code": "pnpm build && node scripts/verify-pi-code-headless-e2e.mjs && node scripts/verify-pi-code-web-e2e.mjs"
|
|
62
63
|
},
|
|
@@ -98,22 +99,22 @@
|
|
|
98
99
|
"yaml": "^2.8.1"
|
|
99
100
|
},
|
|
100
101
|
"peerDependencies": {
|
|
101
|
-
"@deepseek-ai/cordis": "^4.0.
|
|
102
|
-
"@deepseek-ai/dsh-agent-instructions": "0.2.0-rc.
|
|
103
|
-
"@deepseek-ai/dsh-attachment": "0.2.0-rc.
|
|
104
|
-
"@deepseek-ai/dsh-commands": "0.2.0-rc.
|
|
105
|
-
"@deepseek-ai/dsh-credentials": "0.2.0-rc.
|
|
106
|
-
"@deepseek-ai/dsh-llm": "0.2.0-rc.
|
|
107
|
-
"@deepseek-ai/dsh-scope": "0.2.0-rc.
|
|
108
|
-
"@deepseek-ai/dsh-session": "0.2.0-rc.
|
|
109
|
-
"@deepseek-ai/dsh-skill-filesystem": "0.2.0-rc.
|
|
110
|
-
"@deepseek-ai/dsh-subprocess": "0.2.0-rc.
|
|
111
|
-
"@deepseek-ai/dsh-system-prompt": "0.2.0-rc.
|
|
112
|
-
"@deepseek-ai/dsh-tools": "0.2.0-rc.
|
|
113
|
-
"@deepseek-ai/dsh-user-questions": "0.2.0-rc.
|
|
102
|
+
"@deepseek-ai/cordis": "^4.0.5",
|
|
103
|
+
"@deepseek-ai/dsh-agent-instructions": "0.2.1-rc.2 || 0.2.1-rc.3",
|
|
104
|
+
"@deepseek-ai/dsh-attachment": "0.2.1-rc.2 || 0.2.1-rc.3",
|
|
105
|
+
"@deepseek-ai/dsh-commands": "0.2.1-rc.2 || 0.2.1-rc.3",
|
|
106
|
+
"@deepseek-ai/dsh-credentials": "0.2.1-rc.2 || 0.2.1-rc.3",
|
|
107
|
+
"@deepseek-ai/dsh-llm": "0.2.1-rc.2 || 0.2.1-rc.3",
|
|
108
|
+
"@deepseek-ai/dsh-scope": "0.2.1-rc.2 || 0.2.1-rc.3",
|
|
109
|
+
"@deepseek-ai/dsh-session": "0.2.1-rc.2 || 0.2.1-rc.3",
|
|
110
|
+
"@deepseek-ai/dsh-skill-filesystem": "0.2.1-rc.2 || 0.2.1-rc.3",
|
|
111
|
+
"@deepseek-ai/dsh-subprocess": "0.2.1-rc.2 || 0.2.1-rc.3",
|
|
112
|
+
"@deepseek-ai/dsh-system-prompt": "0.2.1-rc.2 || 0.2.1-rc.3",
|
|
113
|
+
"@deepseek-ai/dsh-tools": "0.2.1-rc.2 || 0.2.1-rc.3",
|
|
114
|
+
"@deepseek-ai/dsh-user-questions": "0.2.1-rc.2 || 0.2.1-rc.3",
|
|
114
115
|
"@xmoon76/dsh-pi-tui": "^0.5.1",
|
|
115
116
|
"typescript": "^5",
|
|
116
|
-
"@deepseek-ai/dsh-subprocess-local": "0.2.0-rc.
|
|
117
|
+
"@deepseek-ai/dsh-subprocess-local": "0.2.1-rc.2 || 0.2.1-rc.3"
|
|
117
118
|
},
|
|
118
119
|
"peerDependenciesMeta": {
|
|
119
120
|
"@deepseek-ai/dsh-commands": {
|
|
@@ -148,31 +149,30 @@
|
|
|
148
149
|
}
|
|
149
150
|
},
|
|
150
151
|
"devDependencies": {
|
|
151
|
-
"@deepseek-ai/cordis": "4.0.
|
|
152
|
-
"@deepseek-ai/dsh-agent": "0.2.
|
|
153
|
-
"@deepseek-ai/dsh-agent-loop": "0.2.
|
|
154
|
-
"@deepseek-ai/dsh-attachment": "0.2.
|
|
155
|
-
"@deepseek-ai/dsh-attachment-local": "0.2.
|
|
156
|
-
"@deepseek-ai/dsh-authorization": "0.2.
|
|
157
|
-
"@deepseek-ai/dsh-commands": "0.2.
|
|
158
|
-
"@deepseek-ai/dsh-credentials": "0.2.
|
|
159
|
-
"@deepseek-ai/dsh-credentials-local": "0.2.
|
|
160
|
-
"@deepseek-ai/dsh-agent-instructions": "0.2.
|
|
161
|
-
"@deepseek-ai/dsh-
|
|
162
|
-
"@deepseek-ai/dsh-
|
|
163
|
-
"@deepseek-ai/dsh-llm": "0.2.
|
|
164
|
-
"@deepseek-ai/dsh-
|
|
165
|
-
"@deepseek-ai/dsh-
|
|
166
|
-
"@deepseek-ai/dsh-
|
|
167
|
-
"@deepseek-ai/dsh-
|
|
168
|
-
"@deepseek-ai/dsh-skill": "0.2.
|
|
169
|
-
"@deepseek-ai/dsh-
|
|
170
|
-
"@deepseek-ai/dsh-subprocess": "0.2.
|
|
171
|
-
"@deepseek-ai/dsh-
|
|
172
|
-
"@deepseek-ai/dsh-
|
|
173
|
-
"@deepseek-ai/dsh-
|
|
174
|
-
"@deepseek-ai/dsh-
|
|
175
|
-
"@deepseek-ai/dsh-user-questions": "0.2.0-rc.2",
|
|
152
|
+
"@deepseek-ai/cordis": "4.0.5",
|
|
153
|
+
"@deepseek-ai/dsh-agent": "0.2.1-rc.3",
|
|
154
|
+
"@deepseek-ai/dsh-agent-loop": "0.2.1-rc.3",
|
|
155
|
+
"@deepseek-ai/dsh-attachment": "0.2.1-rc.3",
|
|
156
|
+
"@deepseek-ai/dsh-attachment-local": "0.2.1-rc.3",
|
|
157
|
+
"@deepseek-ai/dsh-authorization": "0.2.1-rc.3",
|
|
158
|
+
"@deepseek-ai/dsh-commands": "0.2.1-rc.3",
|
|
159
|
+
"@deepseek-ai/dsh-credentials": "0.2.1-rc.3",
|
|
160
|
+
"@deepseek-ai/dsh-credentials-local": "0.2.1-rc.3",
|
|
161
|
+
"@deepseek-ai/dsh-agent-instructions": "0.2.1-rc.3",
|
|
162
|
+
"@deepseek-ai/dsh-launch-environment": "0.2.1-rc.3",
|
|
163
|
+
"@deepseek-ai/dsh-llm": "0.2.1-rc.3",
|
|
164
|
+
"@deepseek-ai/dsh-llm-pi-ai": "0.2.1-rc.3",
|
|
165
|
+
"@deepseek-ai/dsh-scope": "0.2.1-rc.3",
|
|
166
|
+
"@deepseek-ai/dsh-session": "0.2.1-rc.3",
|
|
167
|
+
"@deepseek-ai/dsh-settings": "0.2.1-rc.3",
|
|
168
|
+
"@deepseek-ai/dsh-skill": "0.2.1-rc.3",
|
|
169
|
+
"@deepseek-ai/dsh-skill-filesystem": "0.2.1-rc.3",
|
|
170
|
+
"@deepseek-ai/dsh-subprocess": "0.2.1-rc.3",
|
|
171
|
+
"@deepseek-ai/dsh-subprocess-local": "0.2.1-rc.3",
|
|
172
|
+
"@deepseek-ai/dsh-system-prompt": "0.2.1-rc.3",
|
|
173
|
+
"@deepseek-ai/dsh-timeout": "0.2.1-rc.3",
|
|
174
|
+
"@deepseek-ai/dsh-tools": "0.2.1-rc.3",
|
|
175
|
+
"@deepseek-ai/dsh-user-questions": "0.2.1-rc.3",
|
|
176
176
|
"@earendil-works/pi-ai": "0.84.1",
|
|
177
177
|
"@earendil-works/pi-coding-agent": "0.84.1",
|
|
178
178
|
"@types/node": "^24.10.0",
|
|
@@ -183,8 +183,8 @@
|
|
|
183
183
|
"tsdown": "^0.22.14",
|
|
184
184
|
"undici": "^8.10.0",
|
|
185
185
|
"vitest": "^4.1.10",
|
|
186
|
-
"@deepseek-ai/dsh-session-projection": "0.2.
|
|
187
|
-
"@deepseek-ai/dsh-session-persistence": "0.2.
|
|
186
|
+
"@deepseek-ai/dsh-session-projection": "0.2.1-rc.3",
|
|
187
|
+
"@deepseek-ai/dsh-session-persistence": "0.2.1-rc.3"
|
|
188
188
|
},
|
|
189
189
|
"dsh": {
|
|
190
190
|
"bundle": {
|