drscrewdriver/dsh-input-traffic
Busy-time input queue for the DeepSeek Harness web GUI: three-tier (now/next/later) planning, queue editing with drag-to-reorder and concurrency protection, interject (steer) and interrupt, batch clear with confirm, session freeze. A cordis client plugin, no dsh source changes, no PR required.
Project Overview项目介绍
This repository is a native plugin built exclusively for DeepSeek Harness (DSH), adding three-level input traffic control to the DSH Web GUI. When the DSH agent is busy processing a request, users can choose between three priority options for new inputs: interrupt immediately for red (now) priority, insert next round for yellow (next) priority, or queue for later processing for green (later) priority. This solves the limitation of only being able to interrupt or queue all inputs in vanilla DSH, and it also adds a session freezing feature to help users avoid DeepSeek’s peak pricing, cutting API costs by up to 50%. It only supports DSH v0.1.2 and newer, and does not require modifying any official DSH source code.
All queued inputs can be edited directly in the queue area, with an auto-expanding textarea that fits longer content. You can reorder entries, delete individual messages, or clear the entire queue in one click. If an edit fails because the message was already claimed by the agent, the edited content is automatically returned to the main input box without being lost, and it will not overwrite any existing content there. Session freeze states are isolated by session ID, so freezing one session does not affect any other active sessions. All data is stored locally in browser memory and the plugin never uploads any user content or session data to external servers.
This plugin follows the official DSH plugin creation convention and uses official DSH APIs to add its features, so it does not require any changes to the core DSH source code. It can be installed directly via the dsh plugin command from the DSH CLI. It currently includes localized support for four languages: Simplified Chinese, English, Japanese, and Korean. Note that Japanese and Korean locales will only work after official DSH adds support for those locale IDs. The project is released under the open source MIT license, free for personal and commercial use, and is listed in the DSH plugin directory dshfind.com for easy discovery.
这是一款专为 DeepSeek Harness (DSH) 开发的原生插件,为 DSH Web 界面提供三档输入流量管制功能。当智能体处于忙碌状态时,用户可选择立即打断插入、下一轮插入或是排队延后处理,解决了原有只能打断或排队的问题。它还支持冻结会话以避开 DeepSeek 的峰谷计费高峰时段,最多可帮助用户节省 50% 的 API 调用成本。本插件仅支持 DSH v0.1.2 及以上版本,无需修改官方源码,可通过 dsh plugin 命令安装。
本插件支持队列内容编辑、顺序调整、单个删除以及批量清空操作,已排入队列的消息可直接在队列区修改,支持自动扩展的多行编辑框。编辑若失败(比如消息已被智能体认领),内容会自动退回主输入框不会丢失,也不会覆盖已有输入内容。所有冻结队列按会话 ID 隔离,冻结单个会话不会影响其他会话,状态仅保存在本地浏览器内存,不对外上传任何用户数据。
插件采用 Cordis 客户端架构开发,遵循 DSH 插件创建规约,通过官方提供的接口实现功能,不会修改任何官方源码。当前已发布公开测试版,支持简体中文、英文、日语和韩语,但日语和韩语需要 DSH 官方添加对应 locale 后才能正常使用。本插件采用 MIT 许可协议开源,免费供个人和商业使用,无需额外付费。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-input-traffic(drscrewdriver/dsh-input-traffic)
仓库:https://github.com/drscrewdriver/dsh-input-traffic
本站详情页:https://www.yhbd.top/plugins/drscrewdriver-dsh-input-traffic/
本站登记:类型 bundle · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 3 · 最近提交 2026-09-29 · 主语言 TypeScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【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 更稳。
- Only 3 stars - very few users, little community feedback星标只有 3,几乎没人在用,遇到问题缺少社区反馈
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 dsh-input-traffic -w
把 drscrewdriver/dsh-input-traffic 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
给 DeepSeek Harness Web GUI 一个三档输入交通管制
dsh-input-traffic
- English README
- 中文 README
- 日本語 README
- 한국어 README
- Installation guide
- 中文安装指南
- 日本語インストールガイド
- 한국어 설치 안내
- Changelog
- 日本語 changelog
- 한국어 changelog
▼ DSH 版本适配
本插件 仅支持 DSH v0.1.2+。
DSH 版本 状态 说明 ≥ 0.1.2-alpha.1 ✅ 支持 覆盖 0.1.2 / 0.1.3 / 0.1.4 / 0.1.5 系列 < 0.1.2-alpha.1 ⚠️ 不建议 请留在旧版插件(0.2.10-beta.2 及更早);不要在 v0.1.2+ 的 DSH 上运行旧版插件,请升级
- 分界点在 0.1.2-alpha.1:
@deepseek-ai/dsh-client-runtime在该版本被整体删除(commitbe531688f3),它发布的ClientContext/SessionId不再存在。本版本起改为从@deepseek-ai/cordis引入Context、从@deepseek-ai/dsh-session/types引入SessionId,与官方客户端插件一致。- 旧版为什么不能配新版 DSH:旧版产物中的
.d.ts仍引用已删除的@deepseek-ai/dsh-client-runtime/client,在 v0.1.2+ 上做类型检查会解析失败。运行时 bundle 虽自包含,仍请一律升级到本版本。- 队列条位置:注册
order: 1000,排在conversation.input.dock带内所有已知条目(todo 0 / goal 10 / 官方 queue 20 / dsh-perm-gate 提示 30)之后,紧贴输入卡片。DSH 没有 "last" 语义,这是约定而非结构性保证——第三方插件若注册更大的order仍可能插到它下面。
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
titanwings/dsh-automation
linhut/gongwen-skill
Jungod1121/dsh-anchored-standard
omdsh-dev/dsh-advisor
wlj521/dsh-ui-tweaks
Moeblack/deepseek-manners