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 许可协议开源,免费供个人和商业使用,无需额外付费。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • 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 一个三档输入交通管制

English · 中文 · 日本語 · 한국어

MIT License dsh-plugin Public beta dsh-input-traffic

dsh-input-traffic

▼ 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 在该版本被整体删除(commit be531688f3),它发布的 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 →

← 上一个 Prev dsh-skills-marketplace 下一个 Next dsh-session-persistence-mysql →