keyiadiannao/dsh-queue-merge

keyiadiannao★ 0TypeScriptLast synced: 2026-08-16

Open on GitHub

Queue Consolidation for DeepSeek Harness: merge queued follow-up messages into one consolidated formal prompt for the next turn instead of piecemeal one-message-per-turn rework.

README excerpt

dsh-queue-merge Queue Consolidation for DeepSeek Harness — when the agent is busy and you queue several follow-up messages, the next turn runs with one consolidated formal prompt instead of the agent replaying your messages one by one (do a bit → get corrected → redo → get corrected again). Why The official DSH agent loop consumes one queued prompt per turn . If you queue four follow-ups while the agent is mid-task: …they become four separate turns, which invites piecemeal rework. This plugin adds a third queue-consumption policy: How it works Key properties: - Consolidation, not a side-note. The queued messages are rewritten into a single new official user prompt — the agent acts on the consolidated version, and the raw messages do not appear in the turn. Corrections win over earlier messages on the same thing; unrelated requests are kept as separate points. - Transactional zero-loss. The consolidation LLM call runs BEFORE the inbox is touched. If it fails, the queued messages stay put and the official one-message-per-turn loop takes over — nothing is ever spliced out and dropped. (Note: consolidation itself is a lossy rewrite by design — the model's integrated understanding repla…

View full README on GitHub →
Agentsai-agentsdeepseek-harnessdshdsh-pluginllmmergequeueagent

Category