chore(baseline): target DSH 0.1.6-alpha.2 and drop 0.1.5-rc support

The peer floor had to move: semver's prerelease rule needs a comparator on the
same [major,minor,patch] tuple, so `^0.1.5-rc.1` can never match any 0.1.6
prerelease. The floor becomes `^0.1.6-alpha.2` (which does admit 0.1.6 alpha/rc
prereleases and excludes 0.1.5), and `engines.dsh` follows. This is a deliberate
support-line break, matching how v0.19.0 dropped 0.1.2: 0.1.5-rc hosts stay on
0.19.1.

Three upstream changes actually reach this plugin and are adapted here:

- `IconSendOutline16` no longer exists in ui-primitives (only
  `IconSendOutline14`).
- `TerminalBlockLabels` gained a required `noExitCode` pill text.
- `ConnectionIndicator` dropped `reconnectLabel`: the outage label is now the
  one static label that already names the retry action, so the label copy moves
  there, matching the host's own '连接异常,点击立即重连'.

ui-primitives still declares no `dependencies` while its bundle bare-imports
more than it used to: `diff` and `simple-icons` were previously satisfied only
transitively and had to be hoisted into devDependencies, exactly like the
anser/shiki/katex group before them. `@deepseek-ai/dsh-code-runtime` is gone
upstream (the package no longer exists) and leaves the dev tree.

The e2e fallback npx spec is pinned rather than version-less: an unpinned
`npx @deepseek-ai/dsh` resolves npm's `latest`, which is still the 0.1.5 line
this plugin no longer supports.
This commit is contained in:
Menghuan1918
2026-09-21 20:22:16 +08:00
parent 58ba17d462
commit d60899841d
27 changed files with 447 additions and 349 deletions
+48 -46
View File
@@ -1,6 +1,6 @@
{
"name": "dsh-better-sidebar",
"version": "0.19.1",
"version": "0.20.0",
"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": {
@@ -53,7 +53,8 @@
"@deepseek-ai/dsh-client-modules"
],
"platform": "web"
}
},
"manifestVersion": 1
},
"files": [
"lib/index.js",
@@ -90,20 +91,20 @@
"license": "MIT",
"peerDependencies": {
"@deepseek-ai/cordis": "^4.0.2",
"@deepseek-ai/dsh-agent": "^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-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-session": "^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-tools": "^0.1.5-rc.1",
"@deepseek-ai/dsh-agent": "^0.1.6-alpha.2",
"@deepseek-ai/dsh-client-locale": "^0.1.6-alpha.2",
"@deepseek-ai/dsh-client-ui-conversation": "^0.1.6-alpha.2",
"@deepseek-ai/dsh-client-ui-primitives": "^0.1.6-alpha.2",
"@deepseek-ai/dsh-client-ui-settings": "^0.1.6-alpha.2",
"@deepseek-ai/dsh-client-ui-sidebar-right": "^0.1.6-alpha.2",
"@deepseek-ai/dsh-client-ui-slots": "^0.1.6-alpha.2",
"@deepseek-ai/dsh-host-webserver": "^0.1.6-alpha.2",
"@deepseek-ai/dsh-invariants": "^0.1.6-alpha.2",
"@deepseek-ai/dsh-llm": "^0.1.6-alpha.2",
"@deepseek-ai/dsh-session": "^0.1.6-alpha.2",
"@deepseek-ai/dsh-settings": "^0.1.6-alpha.2",
"@deepseek-ai/dsh-subagent": "^0.1.6-alpha.2",
"@deepseek-ai/dsh-tools": "^0.1.6-alpha.2",
"@huanlin/dsh-plugin-better-locale": "^0.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
@@ -150,29 +151,29 @@
},
"devDependencies": {
"@cordisjs/plugin-loader": "^1.0.0-rc.5",
"@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",
"@deepseek-ai/dsh-agent": "0.1.6-alpha.2",
"@deepseek-ai/dsh-agent-loop": "0.1.6-alpha.2",
"@deepseek-ai/dsh-attachment": "0.1.6-alpha.2",
"@deepseek-ai/dsh-client-locale": "0.1.6-alpha.2",
"@deepseek-ai/dsh-client-ui-conversation": "0.1.6-alpha.2",
"@deepseek-ai/dsh-client-ui-primitives": "0.1.6-alpha.2",
"@deepseek-ai/dsh-client-ui-settings": "0.1.6-alpha.2",
"@deepseek-ai/dsh-client-ui-sidebar-right": "0.1.6-alpha.2",
"@deepseek-ai/dsh-client-ui-slots": "0.1.6-alpha.2",
"@deepseek-ai/dsh-host-webserver": "0.1.6-alpha.2",
"@deepseek-ai/dsh-invariants": "0.1.6-alpha.2",
"@deepseek-ai/dsh-llm": "0.1.6-alpha.2",
"@deepseek-ai/dsh-scope": "0.1.6-alpha.2",
"@deepseek-ai/dsh-session": "0.1.6-alpha.2",
"@deepseek-ai/dsh-session-persistence": "0.1.6-alpha.2",
"@deepseek-ai/dsh-session-projection": "0.1.6-alpha.2",
"@deepseek-ai/dsh-settings": "0.1.6-alpha.2",
"@deepseek-ai/dsh-subagent": "0.1.6-alpha.2",
"@deepseek-ai/dsh-system-prompt": "0.1.6-alpha.2",
"@deepseek-ai/dsh-tools": "0.1.6-alpha.2",
"@deepseek-ai/dsh-user-approval": "0.1.6-alpha.2",
"@deepseek-ai/dsh-util-time": "0.1.6-alpha.2",
"@eslint/js": "^10.0.1",
"@huanlin/dsh-plugin-better-locale": "^0.1.0",
"@playwright/test": "^1.62.1",
"@shikijs/langs": "^4.3.1",
@@ -185,6 +186,10 @@
"@xterm/xterm": "^5.5.0",
"anser": "^2.3.5",
"cordis": "^4.0.0-rc.8",
"diff": "^9.0.0",
"eslint": "^10.9.1",
"eslint-plugin-react-hooks": "^7.1.1",
"globals": "^17.12.0",
"jsdom": "^29.1.1",
"katex": "^0.16.47",
"lightningcss": "^1.32.0",
@@ -200,17 +205,14 @@
"micromark-util-sanitize-uri": "^2.0.1",
"micromark-util-symbol": "^2.0.1",
"micromark-util-types": "^2.0.2",
"shiki": "^4.3.1",
"react": "^18.2.0",
"react-dom": "18.2.0",
"shiki": "^4.3.1",
"simple-icons": "^16.32.0",
"tsdown": "^0.22.2",
"typescript": "^5.6.0",
"typescript-eslint": "^8.69.0",
"unrun": "^0.2.39",
"vitest": "^4.1.8",
"@eslint/js": "^10.0.1",
"eslint": "^10.9.1",
"eslint-plugin-react-hooks": "^7.1.1",
"globals": "^17.12.0",
"typescript-eslint": "^8.69.0"
"vitest": "^4.1.8"
}
}