feat(dsh): adapt to DSH 0.1.5-rc.2 (baseline pin advance, v0.19.1)

The pinned baseline moves to DSH 0.1.5-rc.2 (npm `next`; `latest` is still
rc.1) while the plugin's peer floor stays ^0.1.5-rc.1, so rc.1 hosts need no
DSH upgrade to run this version. Nothing in the rc.1 -> rc.2 delta touches
this plugin: of 300 changed upstream files, the overwhelming majority are
single-line `version` bumps in per-package package.json files, and the only
real code edits are the message-feedback dialog, deliverables card CSS and
the CodeFileIcon SVG artwork split (`code-file-icon-artwork.ts`). There are
zero changes under packages/api|host|session|agent and zero type-surface
changes beyond one line in message-feedback/types.ts, so the adaptation is
the pin itself — devDependencies, the CI mount lane and
SIDEBAR_SERVICE_VERSION — with no plugin-side code change and no runtime
compatibility layer.

- package.json: devDependency pins 0.1.5-rc.1 -> 0.1.5-rc.2 (including
  dsh-client-locale, which is still published on the DSH tuple); peers keep
  the ^0.1.5-rc.1 floor; version -> 0.19.1
- dsh.plugin.json: version -> 0.19.1; engines.dsh keeps >=0.1.5-rc.1 (same
  supported range as the peer floor — the two must not fork)
- pnpm-lock.yaml: lockfile realigned to rc.2
- src/client/service.ts: SIDEBAR_SERVICE_VERSION -> 0.19.1 (tests/service.spec.ts
  asserts it equals package.json's version)

Verified locally on macOS arm64 against the rc.2 tree: pnpm install clean,
`pnpm peers check` reports no peer dependency issues, typecheck / lint /
check:consumer-types green, `pnpm test` 126 files / 1312 passed / 9 skipped.
The real-mount smoke (scripts/e2e-mount.sh with DSH_CMD pinned to rc.2) and
the aggregate double-mount lane both pass — evidence recorded in
docs/plans/2026-09-10-dsh-0.1.5-rc.2-adaptation.md.
This commit is contained in:
Menghuan1918
2026-09-11 12:02:31 +08:00
parent 0a2f1ac018
commit 52a7e6a553
4 changed files with 309 additions and 308 deletions
+25 -24
View File
@@ -1,6 +1,6 @@
{
"name": "dsh-better-sidebar",
"version": "0.19.0",
"version": "0.19.1",
"description": "DSH web plugin: a VSCode-like right sidebar (explorer / editor / terminal / git / browser), isolated per conversation session. Exposes a service for other plugins to register sidebar tabs and file viewers.",
"type": "module",
"repository": {
@@ -80,6 +80,7 @@
"watch": "tsdown --watch",
"prepare": "tsdown",
"test": "vitest run",
"test:windows": "vitest run --maxWorkers=2",
"test:mount": "bash scripts/e2e-mount.sh",
"test:mount:aggregate": "bash scripts/e2e-aggregate-mount.sh",
"clean": "node -e \"require('node:fs').rmSync('lib',{recursive:true,force:true})\"",
@@ -149,29 +150,29 @@
},
"devDependencies": {
"@cordisjs/plugin-loader": "^1.0.0-rc.5",
"@deepseek-ai/dsh-agent": "0.1.5-rc.1",
"@deepseek-ai/dsh-agent-loop": "0.1.5-rc.1",
"@deepseek-ai/dsh-attachment": "0.1.5-rc.1",
"@deepseek-ai/dsh-client-locale": "0.1.5-rc.1",
"@deepseek-ai/dsh-client-ui-conversation": "0.1.5-rc.1",
"@deepseek-ai/dsh-client-ui-primitives": "0.1.5-rc.1",
"@deepseek-ai/dsh-client-ui-settings": "0.1.5-rc.1",
"@deepseek-ai/dsh-client-ui-sidebar-right": "0.1.5-rc.1",
"@deepseek-ai/dsh-client-ui-slots": "0.1.5-rc.1",
"@deepseek-ai/dsh-code-runtime": "0.1.5-rc.1",
"@deepseek-ai/dsh-host-webserver": "0.1.5-rc.1",
"@deepseek-ai/dsh-invariants": "0.1.5-rc.1",
"@deepseek-ai/dsh-llm": "0.1.5-rc.1",
"@deepseek-ai/dsh-scope": "0.1.5-rc.1",
"@deepseek-ai/dsh-session": "0.1.5-rc.1",
"@deepseek-ai/dsh-session-persistence": "0.1.5-rc.1",
"@deepseek-ai/dsh-session-projection": "0.1.5-rc.1",
"@deepseek-ai/dsh-settings": "0.1.5-rc.1",
"@deepseek-ai/dsh-subagent": "0.1.5-rc.1",
"@deepseek-ai/dsh-system-prompt": "0.1.5-rc.1",
"@deepseek-ai/dsh-tools": "0.1.5-rc.1",
"@deepseek-ai/dsh-user-approval": "0.1.5-rc.1",
"@deepseek-ai/dsh-util-time": "0.1.5-rc.1",
"@deepseek-ai/dsh-agent": "0.1.5-rc.2",
"@deepseek-ai/dsh-agent-loop": "0.1.5-rc.2",
"@deepseek-ai/dsh-attachment": "0.1.5-rc.2",
"@deepseek-ai/dsh-client-locale": "0.1.5-rc.2",
"@deepseek-ai/dsh-client-ui-conversation": "0.1.5-rc.2",
"@deepseek-ai/dsh-client-ui-primitives": "0.1.5-rc.2",
"@deepseek-ai/dsh-client-ui-settings": "0.1.5-rc.2",
"@deepseek-ai/dsh-client-ui-sidebar-right": "0.1.5-rc.2",
"@deepseek-ai/dsh-client-ui-slots": "0.1.5-rc.2",
"@deepseek-ai/dsh-code-runtime": "0.1.5-rc.2",
"@deepseek-ai/dsh-host-webserver": "0.1.5-rc.2",
"@deepseek-ai/dsh-invariants": "0.1.5-rc.2",
"@deepseek-ai/dsh-llm": "0.1.5-rc.2",
"@deepseek-ai/dsh-scope": "0.1.5-rc.2",
"@deepseek-ai/dsh-session": "0.1.5-rc.2",
"@deepseek-ai/dsh-session-persistence": "0.1.5-rc.2",
"@deepseek-ai/dsh-session-projection": "0.1.5-rc.2",
"@deepseek-ai/dsh-settings": "0.1.5-rc.2",
"@deepseek-ai/dsh-subagent": "0.1.5-rc.2",
"@deepseek-ai/dsh-system-prompt": "0.1.5-rc.2",
"@deepseek-ai/dsh-tools": "0.1.5-rc.2",
"@deepseek-ai/dsh-user-approval": "0.1.5-rc.2",
"@deepseek-ai/dsh-util-time": "0.1.5-rc.2",
"@huanlin/dsh-plugin-better-locale": "^0.1.0",
"@playwright/test": "^1.62.1",
"@shikijs/langs": "^4.3.1",