unnnnoooo/dsh-cue-plugin
Cross-session cue plug-in for DeepSeek Harness
dsh-cue-plugin adds cross-session node reference ('cue') to DeepSeek Harness: in conversation A, click the cue button in the composer's tool row, pick a target session by title, select its user nodes (click to toggle, drag to box-select, batch select/clear; agent replies are collapsed and never selectable), and confirm — the selection becomes chips in the composer with context snapshots captured at that moment. On send, a host agent/pre-step listener parses the dsh-cue: mentions, rewrites them to a readable marker, and prepends a wrapped session-reference recall message so the model reads the cued context as a persistent 'Session recall' node with source label and retained/omitted counts.
Install
dsh plugin add github:unnnnoooo/dsh-cue-pluginGitHub install per README (bilingual, English section): dsh plugin add github:unnnnoooo/dsh-cue-plugin (local checkout: dsh plugin add ./path/to/dsh-cue-plugin). lib/ is committed, so git install uses prebuilt artifacts with no build step. One package, two halves: lib/index.js is the host half (agent/pre-step hook), lib/client.js is the browser half (toolbar button, selector, chips) registered via the dsh.client manifest and window.ModuleLoader.load. Build from source: pnpm install && pnpm build (tsc --noEmit typecheck + tsdown → lib/index.js, lib/client.js).
Compatibility
DeepSeek Harness (bilingual repo; English section). Cross-session node reference: in conversation A, pick user nodes from conversation B and inject their captured context into A for the model — without the model searching for anything itself. Capture happens at cue time (the browser reads the source session the moment the user confirms; the host never re-reads a source session and the model never performs the extraction). Dedup: each selected node ships with a small context window (itself + preceding user/agent turns); adjacent selections merge automatically. The recall message rides the harness's first-class cross-session form (source.kind 'session-reference' + form 'recall'). Known limit: reading sessions written by other harness versions may fail (log formats are not cross-version).
Details
- Repo: unnnnoooo/dsh-cue-plugin
- Category: Agent Capabilities
- Stars: 6
- Version: GitHub install github:unnnnoooo/dsh-cue-plugin (README-documented)
- Last push: 2026-08-13
- First seen: 2026-08-13
Recent updates
The current bilingual README (English section) documents: install, usage (4 steps), design notes (capture at cue not at send, dedup, one package two halves), known limitations (no custom cards, cross-version session reading, @cue trigger registers only the codec), and build.
FAQ
- When is the context captured?
- At cue time, not at send: the browser reads the source session the moment you confirm the selection and ships the context snapshot inside each chip. The host never re-reads a source session and the model never performs the extraction.
- How does the model see the referenced context?
- A host agent/pre-step listener rewrites the dsh-cue: mentions into a readable marker and prepends a wrapped session-reference recall message — the transcript renders a persistent 'Session recall' node with the source label and retained/omitted counts.
- Can I select agent replies as nodes?
- No — agent replies are shown collapsed and are never selectable; only user messages become cue-able nodes.
Alternatives
Nwflower/dsh-chat-import · jjxjjjjiik-bot/dsh-chat-timeline · heartmove/dsh-side-chat