插件目录 / Developer / dsh-queue-director
dsh-queue-director
已验证 · 实测可装 loklamlok
功能简介
DSH web plugin: reorder queued messages (up / down / top / bottom) before the agent processes them.
可用 — 实测通过,早期项目
DSH web plugin: reorder queued messages (up / down / top / bottom) before the agent processes them. 实测能干净安装、正常启动。早期项目,但功能可用。
「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。
README
dsh-queue-director
A DeepSeek Harness web plugin that lets you reorder queued messages (up / down / top / bottom) before the agent processes them — handy when writing long articles or running a batch of prompts in your own preferred order.
Features
- Each queued message gains
↑/↓buttons; when the queue is expanded, Move to top / Move to bottom chips appear as well. - Drag to reorder: grab a message row (or its
⠿handle) and drop it anywhere in the queue. - Send all now: promote every queued message to the AI at once (works while the task is running).
- Clear queue: remove all pending messages in one click (with a two-step confirm to prevent accidents).
- Built-in queue behaviors are preserved: preview, inline edit, remove, and send-now (steer).
- No server restart needed after an update: DSH's client HMR pushes the new bundle automatically (a hard refresh of the page is enough).
How it works
- Host half (
lib/index.js): registers one trusted HTTP endpointPOST /queue-director/api/reorder, which reorders pending inbox items viaagent.inbox.splice— the same durable path the built-insession.updateQueueRPC uses, so the client snapshot refreshes automatically. The route uses the same browser-trust fence as dsh-better-sidebar (loopback / trusted hosts + same-origin checks). - Client half (
lib/client.js): shadows the built-inconversation.input.dockentry (id: "queue",priority: -1— lowest renders), redrawing the queue strip with the extra reorder controls. - No DSH source is modified; the plugin mounts as a bundle via
dsh.profile.bundles.
Requirements
- DeepSeek Harness web profile (
@deepseek-ai/dsh-web-app),dshlauncher - Node.js ≥ 20
Install
The plugin is not published to npm yet, so install it from source:
# 1. Clone the repository anywhere you like
git clone https://github.com/loklamlok/dsh-queue-director
# 2. In your DSH web profile directory ($DSH_HOME/profiles/web),
# add the dependency (adjust the path to your clone):
# "dependencies": { "dsh-queue-director": "link:<path-to-repo>" }
# 3. Register the bundle in package.json:
# "dsh": { "profile": { "bundles": [..., "dsh-queue-director"] } }
# 4. Install and restart
pnpm install
# restart `dsh web`, then hard-refresh the page (Cmd/Ctrl+Shift+R)
Uninstall
cd "$DSH_HOME/profiles/web" && pnpm remove dsh-queue-director
# and remove "dsh-queue-director" from dsh.profile.bundles in package.json
Development
lib/index.js— host half (route + reorder logic;reorderInboxis exported for tests)lib/client.js— client half (window.__ModuleLoader__.loadfactory, no build step)cordis.patch.yml— bundle patch (inserts the plugin entry into the loader)
License
安装
装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:
dsh plugin add dshbase-catalog 然后对 agent 说「帮我装 dsh-queue-director」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。
该插件是 GitHub 源码(未发 npm)——直接从仓库装:
Web profile:
dsh plugin --profile web add github:loklamlok/dsh-queue-director Headless(CLI)profile:
dsh plugin --profile headless add github:loklamlok/dsh-queue-director 实测报告
验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。