Preface¶
In the development workflow of DeepSeek Harness (DSH), the order of the message queue directly determines the execution logic of the agent. When you need to process a batch of prompts or build a long-form text, manually sending them one by one is time-consuming and can easily interrupt your flow. The dsh-queue-director plugin intervenes directly in the web interface, allowing you to reorder the queue before the agent processes the messages.
What Is This?¶
dsh-queue-director is a DSH web plugin maintained by loklamlok, designed to solve the problem of a fixed queue message order. It does not modify the DSH source code; instead, it is mounted through dsh.profile.bundles and runs as a plugin.
Core Features¶
- Ordering Controls: Each message in the queue gets
↑/↓buttons; after expanding the queue, “Move to Top” and “Move to Bottom” labels appear. You can also drag a message row directly, or use its⠿handle, to reorder. - Batch Operations: Provides a “Send All Now” action that pushes all pending messages to the AI at once; provides a “Clear Queue” action with a mandatory two-step confirmation to prevent accidental operations.
- Integration: The plugin preserves DSH’s built-in queue behavior, including preview, inline editing, removal, and immediate sending (Steer).
- Hot Updates: After a plugin update, the DSH service does not need to be restarted. Client-side HMR automatically takes effect after a new bundle is pushed; refreshing the page is enough.
Installation and Enablement¶
The plugin has not yet been published to npm and must be installed from source. In the DSH web configuration directory, mount the plugin through dsh.profile.bundles.
# 1. 克隆仓库
git clone https://github.com/loklamlok/dsh-queue-director
# 2. 在 $DSH_HOME/profiles/web 的 package.json 中添加依赖
# "dependencies": { "dsh-queue-director": "link:<path-to-repo>" }
# 3. 在 package.json 中注册 bundle
# "dsh": { "profile": { "bundles": [..., "dsh-queue-director"] } }
# 4. 安装并重启
pnpm install
# 重启 `dsh web`,然后硬刷新页面 (Cmd/Ctrl+Shift+R)
Typical Usage¶
When you need to run a batch of prompts in a specific order, or adjust the sending order of paragraphs while writing a long article, you can use this plugin to adjust the queue order before the agent processes them.
Use Cases and Notes¶
- Environment Requirements: Requires Node.js ≥ 20, and should be used with the DeepSeek Harness Web Profile (
@deepseek-ai/dsh-web-app) and thedshlauncher. - Permission and Security: The plugin is mounted through
dsh.profile.bundlesand does not modify the DSH source code. - Ecosystem Context: DSH’s philosophy is that “everything is a plugin.” This plugin is maintained by a community developer and is not an official DeepSeek product.
dsh-queue-director simplifies the queue management workflow through interface-based operations. For more details and source code, refer to GitHub.