DeepSeek Harness · module reference
@deepseek-ai/dsh-client-web-react
Lifecycle of this module across published shells, and the known fix when a plugin requires it.
该模块在各已发布 shell 上的生命周期,以及插件 require 它时的已知修法。
Module history模块历史
@deepseek-ai/dsh-client-web-reactpresent since 0.0.1-rc.5自 0.0.1-rc.5 起Status状态
removed-in 0.1.0-rc.8
Known fix已知修法
Bundle it statically (react must stay external); or migrate to @deepseek-ai/dsh-client-ui-primitives, which is in the module table
静态打包进自己的 bundle(react 必须保持 external);或迁移到模块表内的 @deepseek-ai/dsh-client-ui-primitives
What it breaks它会导致什么
client-modules: require("…") missed the module table— the error a plugin gets when it requires a module the shell lacksDeepSeek API request to https://api.deepseek.com failed— dsh loads fine and a run still dies: a different problem
client-modules: require("…") missed the module table—— 插件 require 一个 shell 没有的模块时得到的报错DeepSeek API request to https://api.deepseek.com failed—— dsh 加载正常但 run 挂了:完全另一类问题