Introduction¶
When orchestrating multi-turn conversations, DeepSeek Harness (DSH) often needs to temporarily store messages and adjust the order of subsequent processing. Hardcoding such logic directly into Agent code leads to escalating maintenance costs as conversation complexity grows. dsh-inbox-manager provides “message queue ordering” and “draft” capabilities for DSH, extracting queue operations and draft management from business code through a set of tools.
Plugin Positioning¶
dsh-inbox-manager is a plugin that provides message queue management and draft tools for DeepSeek Harness. It is maintained by inquark7-cmd and currently has 0 stars. The plugin falls under the “Workflow” category in the DSH ecosystem. Its core value lies in enabling an Agent to manage pending messages and unsent drafts in an orderly fashion at runtime.
Core Features¶
The plugin provides 9 tools for the current session’s pending message queue and unsent drafts. They read and write the active agent’s persistent inbox via agent.inbox.nextTurn / agent.inbox.nextStep and the inbox splice API, and are scoped only to the session that drives them.
The tools are as follows:
| Tool | Purpose |
|---|---|
list_inbox_queue |
List pending follow-up turns (next_turn) and next-step steering prompts (next_step), each with an index and a truncated preview |
get_inbox_message |
Read the full content of a pending message by id |
reorder_inbox_message |
Move a pending message to a new position (within the same list or across lists) |
remove_inbox_message |
Permanently cancel a pending message |
draft_save |
Create or update an unsent draft |
draft_list |
List all drafts (summaries) |
draft_get |
Read the full content of a draft by id |
draft_delete |
Delete a draft by id |
draft_send |
Enqueue a draft (into followup/next-turn or steer/next-step) and delete it |
Installation & Activation¶
Install this directory as a local bundle or distribute it as a tarball via DSH’s “Plugins → Add plugin” menu. The plugin requires DSH version >=0.2.0-rc.0.
Typical Usage¶
- Call
list_inbox_queuein the Agent to view pending messages and steering steps. - Use
get_inbox_messageto read the full content, orreorder_inbox_messageto adjust the order. - When temporary storage is needed, call
draft_saveto create a draft. - Use
draft_listto view all drafts, anddraft_getto read a specific draft’s content. - Call
draft_sendto enqueue the draft; it is automatically deleted upon completion.
Drafts are persisted in the inbox-drafts table within the storage domain. In environments lacking a storage domain or running an older Harness version, drafts fall back to in-process in-memory storage, while queue tools continue to work normally.
Use Cases & Notes¶
- Suited for Agent scenarios requiring multi-turn conversation ordering, draft staging, and deferred processing.
- Queue operations only affect pending inputs that the active agent has not yet picked up.
draft_senddispatches messages with the plugin’s own source tag (inbox-draft), so they will not be mistaken for direct human instructions.- Drafts are not written into the session event log; they exist solely as persisted data.
Before installing, it is recommended to review the plugin source code and license. The plugin relies only on stable public services dsh-agent, dsh-tools, and dsh-llm, which are foundational infrastructure mounted in every 0.2.x profile.
Summary¶
dsh-inbox-manager provides DSH developers with a lightweight set of message queue and draft management capabilities, making Agent logic clearer and more maintainable. Through 9 tools, pending message ordering and draft staging/sending can be accomplished without intruding into business code.
- Plugin directory: https://www.skillhub.cn/plugins/inquark7-cmd/dsh-inbox-manager
- GitHub: https://github.com/inquark7-cmd/dsh-inbox-manager