xiaoxianyu-office/dsh-router-flash ↗★ 1
dsh-router-flash
DSH agent preset 分发包:V4 Flash 神模式(opencode-go)——启动时自动把 router-flash preset 安装到 ~/.dsh/.agent-presets。
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:xiaoxianyu-office/dsh-router-flash说明文档
阅读完整 README ↗dsh-router-flash
让 opencode-go 的 DeepSeek V4 Flash 从「鬼模式」切换到「神模式」的 dsh agent preset 标准分发包。
标准 DSH bundle 插件包:安装后自动把 router-flash preset 同步到 ~/.dsh/.agent-presets/router-flash,重启 DSH 即生效。原 install.sh 手动复制方式已由本 bundle 替代。
这是什么
一个 DeepSeek Harness(dsh)的 agent preset 分发包。它把 dsh-router-standard 研究里为 Flash 标定的最优引导(w7 persona + 深度思考锚)适配到 opencode-go provider 的 deepseek-v4-flash 上。
核心问题:Flash 在默认(无引导)条件下会进入「鬼模式」——思考浅、草草动手、质量差。这不是 Flash 能力不行,而是引导条件不对。补上正确的引导(分类 + 回顾 + 反跑题 + 深度思考 + 决策闭环),Flash 就能进入「神模式」——深度规划、高质量交付、自测零错误。
安装
dsh plugin --profile web add -w github:xiaoxianyu-office/dsh-router-flash#v0.1.0
安装后重启 DSH:router-flash preset 会被自动安装到 ~/.dsh/.agent-presets/router-flash。
然后编辑 ~/.dsh/settings.yaml,把默认 agent preset 指向它(模型也需指向 Flash):
agent-default-model:
provider: opencode-go
model: deepseek-v4-flash
reasoningEffort: max
agent-presets:
default: router-flash
再次重启 dsh,新会话即使用 router-flash preset + deepseek-v4-flash 模型。
升级
重复 add 并指定最新 tag,不要使用 update 选择 Git 引用:
dsh plugin --profile web add -w github:xiaoxianyu-office/dsh-router-flash#v0.1.0
重启 DSH 后,包内变更的 preset 文件会自动覆盖到 ~/.dsh/.agent-presets/router-flash。
卸载
dsh plugin --profile web remove dsh-router-flash
卸载后重启 DSH。注意:bundle 安装的 preset 文件(~/.dsh/.agent-presets/router-flash)会保留,如需彻底移除可手动删除该目录,并在 ~/.dsh/settings.yaml 中移除 agent-presets.default 指向。
使用
- 安装并配置后重启 dsh,新会话会自动使用
router-flashpreset +deepseek-v4-flash模型。 - 直接提交任务即可。persona 会自动注入「分类 + 回顾 + 反跑题 + 深度思考 + 决策闭环」五个锚。
- 会话启动后,模型的 system prompt 应包含:
You are a helpful assistant. Before acting, decide the task type (build or fix)... Before acting, briefly review what you have already done... Do not run environment checks (echo, whoami, uname...)... Think deeply about the architecture, edge cases... Produce when your information is complete...