xiaoxianyu-office/dsh-router-flash
DSH bundle 插件:V4 Flash 神模式(opencode-go)agent preset 分发包,dsh plugin add 安装后自动同步 router-flash preset。
Project Overview项目介绍
This repository is a DSH-native bundle plugin package that provides an optimized agent preset for the deepseek-v4-flash model hosted on opencode-go. It addresses the common "ghost mode" issue where the Flash model produces shallow, low-quality outputs without proper prompting. By adding pre-configured personas and deep thinking anchors, it helps the model produce more thoughtful, high-quality outputs. To install, you run the dsh plugin command from your terminal, add the GitHub repository reference with the correct version tag, then edit your DSH settings.yaml to set this preset as the default. It automatically adapts to Linux, macOS, and Windows, matching the correct shell for your operating system out of the box.
After installation and configuration, you just restart DSH and any new session will automatically load the router-flash preset paired with the deepseek-v4-flash model. You can submit your task directly, and the preset will inject five thinking anchors: classification, review, off-topic correction, deep thinking, and decision closure. This optimizes the model's output process before it starts working on your request. The preset is especially well-suited for complex build tasks like creating large projects from scratch, as it helps the model plan thoroughly and reduce common errors that come from shallow thinking. Non-Flash models are not affected and will still use the original routing logic.
This project is open source under the MIT license, and it requires DSH version rc.6 or newer to work, along with access to the deepseek-v4-flash model from opencode-go. It fixes several issues found in the original routing preset, including broken dynamic injection and timing problems, by merging all prompts statically which makes it more simple and reliable. When you uninstall the plugin bundle, it does not automatically delete the installed preset files, which prevents accidental deletion of any custom changes you may have made. If you want to completely remove the preset, you will need to manually delete the directory and update your DSH settings file.
这是一个专为DeepSeek Harness(DSH)打造的原生bundle插件包,用于适配opencode-go提供的deepseek-v4-flash模型。它解决了Flash模型默认引导条件不佳导致的「鬼模式」问题,通过注入最优的深度思考引导提示,让模型切换到高质量输出的「神模式」。用户可通过DSH自带的插件命令一键安装,安装后修改配置文件即可启用,支持Linux、macOS、Windows三平台自动适配。
安装配置完成并重启DSH后,新建会话会自动加载router-flash预设配合deepseek-v4-flash模型使用。用户只需要直接提交任务,预设会自动注入分类、回顾、深度思考、决策闭环五个思考锚点,优化模型的输出流程。这个预设特别适合处理从零开始开发大型项目这类复杂构建任务,能有效提升交付质量,减少低级错误。
本项目基于MIT许可证开源,依赖DSH rc.6以上版本,以及opencode-go提供的deepseek-v4-flash模型。它修复了原版router preset存在的动态注入时序问题,改为静态合并引导,更加简单可靠。卸载插件时不会自动删除已安装的预设文件,避免用户自定义修改被误删,如需彻底移除需要手动操作。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-router-flash(xiaoxianyu-office/dsh-router-flash)
仓库:https://github.com/xiaoxianyu-office/dsh-router-flash
本站详情页:https://www.yhbd.top/plugins/xiaoxianyu-office-dsh-router-flash/
本站登记:类型 bundle · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 12 · 最近提交 2026-08-15 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- 12 stars - an early-stage project星标 12,属于早期项目
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add -w github:xiaoxianyu-office/dsh-router-flash#v0.1.0
把 xiaoxianyu-office/dsh-router-flash 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
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...
跨平台支持
本 preset 三平台通用,dsh 会自动选择 shell 工具:
| 系统 | shell | 状态 |
|---|---|---|
| Linux | bash | ✅ 实测 |
| macOS | bash | ✅ 自动适配 |
| Windows | pwsh(PowerShell) | ✅ 自动适配 |
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
Flyvhidbwo/dsh-vision-proxy
WNJXYK/dsh-codex-oauth
rinDBeans/dsh-miraculous-standard
v587d/dsh-opencode-go-usage
sheep-programmer/dsh-web-search-free