chore(dsh): adapt to DSH 0.2.3-alpha.2 and drop pre-0.2.3 compatibility

Raise the whole baseline to the alpha line and stop carrying code that only
exists for older hosts (no runtime compatibility layer, per AGENTS §4):

- peers/engines: 14 DSH peers and engines.dsh -> 0.2.3-alpha.2, Cordis ->
  4.2.0-alpha.1, group/include 1.2.0-alpha.1, schemastery 3.20.0-alpha.1;
  dev pins and CI/e2e/install scripts move with them; plugin version
  0.34.0-alpha.0.
- admission: DSH 0.2.3 deleted `requestRejection`, so only the injected
  `connection.authentication` provider can call `admit`; the legacy branch
  and the direct-admit fallback are gone and the fence fails loudly.
- directory events: the projection authority is `workspace-root/change`;
  the side-chat cwd stamp emits it and the worktree scan no longer reads
  the retired `working-directory/change`.
- llm types: `@deepseek-ai/dsh-llm` no longer exports `./brand`, so
  MessageId comes from `./types`.
- client anchors: only `[data-slot="main.conversation"]`; the alpha.1
  `conversation` key is retired. `webServer.getOrigin` is called directly.

Gates: peers check, typecheck, lint, test (366 files / 4615 passed),
build, check:consumer-types.
This commit is contained in:
Menghuan1918 committed 2026-11-25 01:03:57 +08:00
1 parent d7e525471e
commit 795beabe22
39 files changed
+973 -973

No files matched your search

+2 -2
View File
@@ -171,14 +171,14 @@ jobs:
- name: Install dependencies
run: pnpm install --frozen-lockfile
# Pin the exact 0.2.2-rc.2 host CLI; never use a dist-tag.
# Pin the exact 0.2.3-alpha.2 host CLI; never use a dist-tag.
# Keep peer resolution ON: do not add --legacy-peer-deps; it skips boot peers.
# The lanes speak the slash-only RPC dialect (tests/e2e/host-protocol.ts).
# NODE_OPTIONS below preserves the heap budget needed for prerelease peer resolution.
- name: Install dsh CLI (pinned)
env:
NODE_OPTIONS: --max-old-space-size=4096
run: npm install -g @deepseek-ai/dsh@0.2.2-rc.3
run: npm install -g @deepseek-ai/dsh@0.2.3-alpha.2
# lib/ is gitignored; the tarball is produced from this build.
- name: Build and pack the npm tarball