DeepSeek Harness · module reference
@deepseek-ai/dsh-client-runtime
Lifecycle of this module across published shells, and the known fix when a plugin requires it.
该模块在各已发布 shell 上的生命周期,以及插件 require 它时的已知修法。
Module history模块历史
@deepseek-ai/dsh-client-runtimenever shipped in any shell module table从未进入任何 shell 模块表Status状态
never-seeded(15 个已发布 shell 的模块表都没有它)
Known fix已知修法
Migrate to @deepseek-ai/dsh-client-store (in the module table since 0.1.2-alpha.2, exports the same-named createSnapshotStore/defineStore — usually a one-line swap); wrap in try/catch when older shells must keep working (note: falling back to dsh-client-runtime inside the catch is dead code — declaring engines.dsh >= 0.1.2-alpha.2 is cleaner)
迁移到 @deepseek-ai/dsh-client-store(0.1.2-alpha.2 起在模块表,导出同名 createSnapshotStore/defineStore,多数情况一行替换);需要支持旧 shell 时 try/catch 兜底(注意:catch 里回退到 runtime 是死代码,更干净的做法是声明 engines.dsh >= 0.1.2-alpha.2)
Fisfzy/dsh-ego-browser — main/v0.8.1 already migrated to dsh-client-store — only the npm publish is missing —— main/v0.8.1 已迁移到 dsh-client-store,只差 npm publishhttps://github.com/Fisfzy/dsh-ego-browser/issues/32
RevolutionLA/dsh-dream-skin — store-first + try/catch fallback; loads fine on >= 0.1.2-alpha.2 —— store-first + try/catch 兜底写法,在 ≥0.1.2-alpha.2 上加载正常https://github.com/RevolutionLA/dsh-dream-skin/issues/47#issuecomment-5601034304