问题描述
DeepSeek Harness 从 0.1.0-rc.6 升级到 0.1.2-alpha.3 之后,推理强度滑块(输入框下方的"模型 + 强度"入口)不再出现/不再工作。
插件目前仍把 @deepseek-ai/dsh-client-runtime 声明为 peerDependency,并从它导入 ClientContext / SnapshotStore,但该包在 DSH 0.1.2-alpha.3 中已被移除/重构。
环境
- DeepSeek Harness:
0.1.2-alpha.3(web profile,Windows 11 x64)
- 插件:
dsh-reasoning-effort@0.6.2(并已对照最新 main = 0.7.0 确认同样存在问题)
- 安装方式:
dsh plugin --profile web add(本地 file: 依赖,源自 GitHub main)
根因
DSH 0.1.2-alpha.3 对客户端架构做了重构:
| 旧版 (rc.6) |
新版 (0.1.2-alpha.3) |
@deepseek-ai/dsh-client-runtime 包 |
已移除 — Context 改从 @deepseek-ai/cordis 导入;快照/存储契约迁移至 @deepseek-ai/dsh-client-store |
SnapshotStore(来自 dsh-client-runtime/client) |
SnapshotStore 由 @deepseek-ai/dsh-client-store 导出 |
ClientContext(来自 dsh-client-runtime/client) |
Context as ClientContext(来自 @deepseek-ai/cordis) |
服务注入 ['slots','modelDirectories','connection'] |
新版客户端生态改用 remote / remote.<namespace> 注入(如 ui-model-selection 注入 ['commandUi','locale','sessions','slots','remote','remote.session']),不再注入 connection |
ModelDirectory(store 分离) |
ModelDirectory 内部自带 store(controller.store),select() 返回 Promise<void> |
ModelDirectoryState 字段 |
新增 routable、failures,status 新增 'selecting' |
插件的 src/client/index.tsx 目前仍导入:
import type { ClientContext } from '@deepseek-ai/dsh-client-runtime/client'
import type { SnapshotStore } from '@deepseek-ai/dsh-client-runtime/client'
package.json 仍声明 peerDependency @deepseek-ai/dsh-client-runtime: ^0.1.0-rc.6,dsh.client.inject 中也仍包含 @deepseek-ai/dsh-client-runtime。
预期行为
在 DSH 0.1.2-alpha.3 上推理强度滑块恢复可用,即插件迁移到新版客户端 API(@deepseek-ai/dsh-client-store、cordis Context、remote 系列 RPC)。
补充说明
0.7.0(2026-09-01)只增加了 i18n(中/英),没有改动客户端 API 面,因此在 DSH 0.1.2-alpha.3 上滑块依然失效。
- 如果你推送适配分支/版本,我可以帮忙测试;需要控制台报错或其他诊断信息也可以提供。
(大肥鱼写的)
问题描述
DeepSeek Harness 从
0.1.0-rc.6升级到0.1.2-alpha.3之后,推理强度滑块(输入框下方的"模型 + 强度"入口)不再出现/不再工作。插件目前仍把
@deepseek-ai/dsh-client-runtime声明为 peerDependency,并从它导入ClientContext/SnapshotStore,但该包在 DSH 0.1.2-alpha.3 中已被移除/重构。环境
0.1.2-alpha.3(web profile,Windows 11 x64)dsh-reasoning-effort@0.6.2(并已对照最新main=0.7.0确认同样存在问题)dsh plugin --profile web add(本地 file: 依赖,源自 GitHub main)根因
DSH
0.1.2-alpha.3对客户端架构做了重构:@deepseek-ai/dsh-client-runtime包Context改从@deepseek-ai/cordis导入;快照/存储契约迁移至@deepseek-ai/dsh-client-storeSnapshotStore(来自dsh-client-runtime/client)SnapshotStore由@deepseek-ai/dsh-client-store导出ClientContext(来自dsh-client-runtime/client)Context as ClientContext(来自@deepseek-ai/cordis)['slots','modelDirectories','connection']remote/remote.<namespace>注入(如 ui-model-selection 注入['commandUi','locale','sessions','slots','remote','remote.session']),不再注入connectionModelDirectory(store 分离)ModelDirectory内部自带store(controller.store),select()返回Promise<void>ModelDirectoryState字段routable、failures,status新增'selecting'插件的
src/client/index.tsx目前仍导入:package.json仍声明 peerDependency@deepseek-ai/dsh-client-runtime: ^0.1.0-rc.6,dsh.client.inject中也仍包含@deepseek-ai/dsh-client-runtime。预期行为
在 DSH
0.1.2-alpha.3上推理强度滑块恢复可用,即插件迁移到新版客户端 API(@deepseek-ai/dsh-client-store、cordisContext、remote系列 RPC)。补充说明
0.7.0(2026-09-01)只增加了 i18n(中/英),没有改动客户端 API 面,因此在 DSH 0.1.2-alpha.3 上滑块依然失效。(大肥鱼写的)