dsh-web
zhu1090093659/dsh-webDeepSeek Harness(DSH)Web 插件聚合生态包 · 一切皆插件,创意工坊分发(dsh-market.com)
本插件通过 dsh-plugin.json 声明标准 host facet;lib/index.js 发布 plugins.starpivot.dev/v1 HostPlugin,lib/host.js 保留业务策略并接收 adapter API。 有浏览器界面的插件另声明 LocalModule,使用私有 WebPlugin surface。
执行 ./install.sh 会先验证全部九个自制插件的组合、Web 界面与 CodeCarry 原生 Remote,再备份并复制部署;失败不替换生产插件。需先安装同级 dsh-std 维护仓库及其依赖。部署后在没有活跃任务时重启 dsh,并刷新 Web。
不要把 lib/index.js 直接作为 Cordis 插件挂载;原插件的 cordis insert 行由 共享部署器移除,配置迁入 adapter.componentConfigs。不要链接运行时插件目录。 标准协议不承诺未来版本永久兼容;native ctx/hooks 的变化由候选门禁和集中 adapter 维护控制。Web 界面不会自动出现在原生 Android 中。
下方保留业务说明和历史修复记录;涉及旧式直接挂载、导入和安装步骤的内容, 以本节为准。
重启 dsh web 后,自动把最近 24 小时内被崩溃/重启打断的用户根对话冷恢复,并让模型继续干活。
通用设置 → 重启后续跑 可关(默认开)。
cwd。interrupted(含未闭合轮次),打断时间在 24 小时内。agents.resume 并挂上会话记录的 preset,再发一条 plugin 来源的 Continue 通知。session.list 只列会话,不会自动续跑。同一会话每轮启动最多一条 Continue;旧日志里若已有 dsh-host-apiproxy 通知也跳过。Continue 文案沿用 Host 的 “Continue the work that was interrupted by a restart.”,并提醒:先看工作区;只读/幂等可重试;有副作用先核对,不要盲目重放。
./install.sh
# ~/.dsh/profiles/web/cordis.patch.yml:
# - insert:
# - id: restart-continue
# name: '@wuxie/dsh-restart-continue'
# 重启 dsh web(host 半)
# 刷新页面(设置行)
node scripts/qualify.test.mjsnode --check lib/client.js;ESM 的 index.js / logic.js 复制为 .mjs 再查cd ~/.dsh/profiles/web && node -e "await import('@wuxie/dsh-restart-continue')"pm2 logs dsh-web --lines 80 --nostream | grep restart-continue