返回 CodeWhale
DSH_COMPATIBILITY.md
根目录 / docs / DSH_COMPATIBILITY.md
1 # Published DeepSeek Harness packages in Codewhale
2
3 On the `0.10.5` source build (`6f093967ae3`, macOS arm64, default network
4 policy, no model provider calls). Except for the first bullet, these figures
5 were measured at that commit, not at current `main`; the pinned lifecycle table
6 is still due for requalification before 0.10.5:
7
8 - **Requalification on the DSH `0.2.2-rc.5` build (`aace1d6c470`, 2026-11-30):**
9 despite the `0.2.2-rc.2..rc.5` host and importer changes since the figures
10 below (`@deepseek-ai/dsh-error`, the guard and attachment shims, the
11 importer's version range), the direct cold-activate survey over the same 36
12 tarballs reproduces them exactly: **15 of 36** activate, 1 has no server entry, 20
13 fail on the same causes (missing third-party npm packages, policy
14 boundaries). `@deepseek-harness-tui/dsh-tui` `0.20.2` (peer ranges list
15 `0.2.2-rc.2..rc.5`) passes peer resolution and stops, like `0.19.0`, only on
16 the third-party `emoji-regex` package. Extension-host suites: Node 534
17 passed, 0 failed; Bun 535 passed, 0 failed. The pinned lifecycle table was
18 not rerun on this build.
19 - **Pinned 33-row Engine lifecycle (`dsh_acceptance.py run`):** **13 of 33**
20 packages pass every local Engine lifecycle step (`admission.preview`,
21 `install`, `trust`, `enable`, `restart_retained`, `revoke`, `uninstall`, and
22 `security.no_key_leak`; provider and desktop slot steps remain `UNAVAILABLE`),
23 **3 of 33** match their pinned `BLOCKED` admission refusals
24 (`dsh-agent-squad`, `dsh-im`, `dsh-archive-manager`), and **17 of 33** stop
25 cleanly at `registry.npmjs.org` network approval (**0** stop at the 2 MiB
26 scan limit).
27 - **Direct plugin-host cold-activate (all 36 surveyed tarballs, without
28 `npm install`):** **15 of 36** activate cleanly in the plugin host,
29 registering **18 tools**, **9 commands**, and **2 hooks** (`dsh-image-gen` 6
30 tools, `dsh-client-ui-task-board` 8 tools + 1 hook, `modsearch` 2 tools,
31 `modlens` 1 tool, `dsh-code-review` 1 tool + 3 commands, `dsh-btw` 3 commands
32 + 1 hook, `dsh-pet` 3 commands, plus 8 zero-registration plugins). Of the
33 remaining 21: **14** fail only on missing third-party npm packages in the raw
34 tarball (zero missing `@deepseek-ai/*` peers prior to npm staging), **6** hit
35 explicit policy or runtime boundaries, and **1** (`dsh-web-ui`) has no server
36 entry.
37 - **Prior `0.10.3` scripted-turn check:** `@michengai/dsh-code-review` 1.0.9
38 ran its `dsh_code_review` tool end to end in one terminal turn against a
39 scripted local model (starting its reviewer sub-agent and returning its
40 report). Review quality with a real model was not tested.
41
42 This page lists the published DeepSeek Harness (DSH) packages we qualified,
43 unmodified, in Codewhale. The services and limits behind each row are in
44 [DSH plugin compatibility](DSH_PLUGIN_COMPAT.md).
45
46 ## How this was tested
47
48 Built from source on 2026-11-24 (`0.10.5` wave-3 build `6f093967ae3`, macOS
49 arm64, Node runtime). Two checks ran with zero model-provider calls:
50
51 1. **Pinned 33-row Engine lifecycle:** `scripts/dsh-plugin-acceptance/dsh_acceptance.py`
52 (`selftest` 15/15 passed; `pins` 33/33 SHA-256 verified) drove every pinned
53 row through `/v1/apps/plugins` on a throwaway `CODEWHALE_HOME` with
54 `--enable extension_host` and default network policy (no `--allow-provider`).
55 2. **Direct plugin-host cold-activate:** each of the 36 SHA-256-pinned
56 survey tarballs was extracted without `npm install` and activated directly
57 against `crates/engine/extension-host/dist/codewhale-extension-host.mjs`
58 with an isolated `data_dir`.
59
60 Earlier `0.10.3` npm-approved terminal checks and the scripted local-model turn
61 for `dsh-code-review` are marked where carried forward. Nothing here was run on
62 Windows, Linux, Bun, or live Desktop slot mounts.
63
64 ## What the columns mean
65
66 **Status in the terminal** is what happens on this build with the default
67 network policy:
68
69 - **activates**: the plugin host logs the plugin as active.
70 - **fails: …**: import, review, trust and enable succeed, but the plugin does
71 not activate, and the host log names what it is missing.
72 - **stops at import review: …**: `codewhale plugins import dsh` refuses
73 before anything is installed.
74
75 **Where it belongs** is our reading of the package and its failure:
76
77 - **terminal**: it has a headless part a terminal can host.
78 - **desktop or web only**: its main purpose is a web panel or client UI that
79 a terminal cannot show. This means the package was designed for a desktop or
80 web host. It does not mean it works in the Codewhale desktop app: none of
81 these packages was verified there, and the Engine's plugin web server route
82 exists but no package's panel has been verified through it in those clients.
83 - **refused by policy**: it needs an authority Codewhale keeps in its core,
84 and the policy is named.
85 - **needs a host service not built yet**: it needs a service or module the
86 plugin host does not provide, named in the row.
87
88 **Checked** says where the status comes from: **this build** means the
89 package was run again on the build described above; **0.10.3 survey** means
90 the status is from the 0.10.3 run, carried forward because the cause is in
91 code this change did not touch, with the changed wording of its message
92 predicted from the code.
93
94 ## Packages
95
96 Counts on `0.10.5` (`6f093967ae3`, default network policy, no provider calls),
97 measured at that commit. `main` has moved on since, and the counts are due for
98 requalification before 0.10.5 ships:
99 in the pinned 33-row Engine lifecycle, **13** pass full local lifecycle, **3**
100 match pinned `BLOCKED` admission refusals (`dsh-agent-squad`, `dsh-im`,
101 `dsh-archive-manager`), and **17** stop cleanly at `registry.npmjs.org` network
102 approval (**0** at the 2 MiB scan limit). In direct plugin-host
103 cold-activate across all 36 tarballs (no `npm install`), **15** activate,
104 **14** fail only on missing third-party npm packages, **6** hit explicit
105 policy/runtime boundaries, and **1** (`dsh-web-ui`) has no server entry.
106
107 The Runtime plugin list and detail include `native_service_state` for plugins with native entries. Desktop can read the exact UI revision with `GET /v1/apps/plugins/{selector}/service` and the quoted `If-Match` grant. This loopback read returns `revision` and `state` without starting code. A stale grant returns HTTP 412. An enabled plugin can serve reviewed UI assets before its backend starts. The first route request using that UI revision starts the matching reviewed service. A failed backend reports `failed`. A user plugin with an active service in another workspace reports `workspace_conflict` until that attachment retires. A fresh revision requires a new grant. `@nanmicoder/dsh-agent-teams` 0.1.29 ships bundled as a first-party default plugin (enabled by default with an off switch) and activates cleanly with owner-scoped subagent delivery, continuable setup, `agent/pre-step`, and root prompt sections; third-party plugins keep the shared `subagents` refusal.
108
109 | Package | Version | Status in `0.10.5` (default network policy) | Where it belongs | Checked |
110 | --- | --- | --- | --- | --- |
111 | `@michengai/dsh-code-review` | 1.0.9 | passes local Engine lifecycle; cold-activates (1 tool `dsh_code_review`, 3 commands; `/review` renamed to avoid built-in collision; Chinese UI because no host language setting is exposed) | terminal | 0.10.5 build (+ 0.10.3 scripted tool turn) |
112 | `dsh-anchored-standard` | 1.2.1 | passes local Engine lifecycle; cold-activates and registers nothing (preset installer) | terminal | 0.10.5 build |
113 | `dsh-plugin-model-proxy` | 0.1.6 | stops at import review: npm network approval (`undici` missing offline). With npm approved (0.10.3): activates and registers nothing | terminal | 0.10.5 build + 0.10.3 npm approved |
114 | `@michengai/dsh-btw` | 1.3.7 | passes local Engine lifecycle; cold-activates registering 3 commands and 1 hook (`ctx.tools.guard` blocker cleared; `fork` sub-agent provider still not implemented) | terminal | 0.10.5 build |
115 | `@linxin666/dsh-liangshen` | 0.4.16 | passes local Engine lifecycle; cold-activates (`agentPresets` service now provided; registers no tools/commands) | terminal | 0.10.5 build |
116 | `@michengai/dsh-automation` | 1.0.22 | passes local Engine lifecycle; direct cold-activate fails on `@deepseek-ai/dsh-user-approval` (`@deepseek-ai/dsh-workspace` blocker cleared) | refused by policy: scheduled runs set approval policy to `never`, and approval authority stays with Codewhale core | 0.10.5 build |
117 | `@nanmicoder/dsh-agent-teams` | 0.1.29 | bundled first-party default plugin (enabled by default with off switch; third-party installs keep the `subagents` refusal) | terminal + desktop/web panel | 0.10.5 build |
118 | `dsh-context` | 0.83.0 | stops at import review: npm network approval (`zod` missing offline). Pure `deriveEventMessage` export is now provided in `0.10.5` | needs npm approval (`zod`) | 0.10.5 build |
119 | `dsh-whale-widget` | 0.4.2 | passes local Engine lifecycle; cold-activates (0 tools/commands; balance widget UI still requires desktop/web client slot) | desktop or web only | 0.10.5 build |
120 | `@michengai/dsh-codex-ui` | 2.0.21 | passes local Engine lifecycle; cold-activates (0 tools/commands; UI skin requires desktop/web client slot) | desktop or web only | 0.10.5 build |
121 | `@linxin666/dsh-client-ui-skill-explorer` | 0.4.16 | passes local Engine lifecycle; cold-activates (0 tools/commands; web panel requires desktop/web client slot) | desktop or web only | 0.10.5 build |
122 | `@linxin666/dsh-client-ui-git-graph` | 0.4.14 | passes local Engine lifecycle; direct cold-activate fails: requires `subprocess` (core-owned) | refused by policy: `subprocess` belongs to Codewhale core | 0.10.5 build |
123 | `@linxin666/dsh-client-ui-task-board` | 0.4.16 | passes local Engine lifecycle; cold-activates registering **8 tools** and **1 hook** (`ReasoningEffortId` and `typertGateway`/`workspaceRegistry` blockers cleared) | terminal + desktop/web panel | 0.10.5 build |
124 | `dsh-image-gen` | 0.11.1 | passes local Engine lifecycle; cold-activates registering **6 tools** (`attachments` blocker cleared) | terminal | 0.10.5 build |
125 | `dsh-cost-meter` | 1.9.62 | stops at import review: npm network approval (`acorn` missing offline) | needs npm approval | 0.10.5 build |
126 | `@anionex/dsh-vision-toolkit` | 0.1.49 | stops at import review: npm network approval (`tar` missing offline) | needs npm approval | 0.10.5 build |
127 | `@dfy-plugins/dsh-image-generation` | 0.1.4 | stops at import review: npm network approval (`@dfy-plugins/resource-core` missing offline) | needs npm approval | 0.10.5 build |
128 | `@goodandready/dsh-image-gen` | 0.12.27 | stops at import review: npm network approval (`sharp` missing offline) | needs npm approval | 0.10.5 build |
129 | `@michengai/dsh-agency-agents` | 1.2.27 | stops at import review: npm network approval (`zod` missing offline) | needs npm approval | 0.10.5 build |
130 | `@liustack/modsearch` | 5.10.12 | stops at import review: npm network approval; direct cold-activate passes registering **2 tools** | terminal (needs npm approval on import) | 0.10.5 build |
131 | `@liustack/modlens` | 3.27.3 | stops at import review: npm network approval; direct cold-activate passes registering **1 tool** | terminal (needs npm approval on import) | 0.10.5 build |
132 | `@michengai/dsh-im-connect` | 1.0.34 | stops at import review: npm network approval (`undici` missing offline) | needs npm approval | 0.10.5 build |
133 | `dsh-mnemon` | 0.5.43 | stops at import review: npm network approval (`dsh-mnemon-source-memory-spaces` missing offline) | needs npm approval | 0.10.5 build |
134 | `@deepseek-harness-tui/dsh-tui` | 0.19.0 | stops at import review: npm network approval (`emoji-regex` missing offline) | needs npm approval | 0.10.5 build |
135 | `@michengai/dsh-skills-manager` | 1.4.0 | stops at import review: npm network approval (`fflate` missing offline) | desktop or web only | 0.10.5 build |
136 | `dsh-pocket` | 2.12.0 | stops at import review: npm network approval; direct cold-activate passes (0 tools/commands) | desktop or web only | 0.10.5 build |
137 | `dshmarket` | 1.73.17 | stops at import review: npm network approval (`js-yaml` missing offline) | desktop or web only | 0.10.5 build |
138 | `dsh-better-sidebar` | 0.30.1 | stops at import review: npm network approval (`ws` missing offline) | desktop or web only | 0.10.5 build |
139 | `@linxin666/dsh-web-all` | 0.4.16 | direct cold-activate passes (0 tools/commands; not in 33-row `pins.json`) | desktop or web only | 0.10.5 build |
140 | `dsh-pet` | 0.4.7 | stops at import review: npm network approval (2 MiB scan-limit refusal cleared); direct cold-activate passes registering **3 commands** | desktop or web only | 0.10.5 build |
141 | `dsh-univer-office` | 0.4.0 | stops at import review: npm network approval (2 MiB scan-limit refusal cleared; `@puppeteer/browsers` missing offline) | desktop or web only | 0.10.5 build |
142 | `@changfenhuang/dsh-genui` | 0.16.0 | passes local Engine lifecycle (2 MiB scan-limit refusal cleared); direct cold-activate fails: system prompt sections are only available on a child agent's `agent/created` context | refused by policy: root-agent system prompt sections | 0.10.5 build |
143
144 Pinned `BLOCKED` admission refusals (all 3 verified matching exact pinned basis
145 in `0.10.5`): `dsh-agent-squad` (direct cold-activate also refused on root
146 `systemPrompt.section`), `dsh-im` (direct cold-activate passes with 0
147 registrations), and `dsh-archive-manager` (direct cold-activate throws
148 `TypeError`). Client-only without server entry: `DamonKoy-dsh-web-ui`
149 (`dsh-web-ui` 0.1.1).
150
150 lines MARKDOWN