dsh-cue-plugin: Cross-session Node Reference for DeepSeek Harness

unnnnoooo/dsh-cue-plugin

Memory & ContextVerified
Listed on 2026-08-20
Page last updated 2026-08-20

A DSH plugin for cross-session cueing, injecting context snapshots of nodes from other sessions into the current conversation for the model to read.

Reference user messages from other sessions and inject their context snapshots into the current conversation, so the model never has to search for history itself.

install
dsh plugin --profile web add github:unnnnoooo/dsh-cue-plugin
Category
Memory & Context
Platform
DSH-Plugin
Author
unnnnoooo
Distribution
Plugin

dsh-cue-plugin Key Features

Cross-session node cueingContext snapshot injectionDedup & merge windowsNative Session recall

dsh-cue-plugin Repository

unnnnoooo
Publisher
unnnnoooo
Repository
unnnnoooo/dsh-cue-plugin
6
Stars
0
Forks
0
Watchers
0
Open issues
LanguageTypeScript
License
Website
Repo last push2026-08-14 04:50:33
Repo created2026-08-13 23:02:24
Topics
dshdsh-plugindsh-plugins
Default branchmain

dsh-cue-plugin Repo Summary

dsh-cue-plugin is a cross-session reference (cue) plugin (DSH plugin) for DeepSeek Harness, maintained by unnnnoooo, written in TypeScript, and last updated in 2026-08. It solves the problem of reusing context across sessions: in conversation A, you can pick user messages (called 'nodes') from conversation B and inject their captured context into A for the model to read, without the model having to search for anything itself. Core capabilities include: a composer toolbar button to trigger the picker, selecting a target session by title, selecting user nodes (click to toggle, drag to box-select, or select-all/clear), confirming to generate chips and capture context snapshots, and a host-side agent/pre-step listener that parses dsh-cue: mentions and injects a session-reference recall message.

What core features does the dsh-cue-plugin DSH plugin support?

  • Capture timing: The context snapshot is captured by the browser the moment the user confirms the cue; 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 plus the preceding 3 turns); windows of adjacent selections are merged so consecutive nodes' context is never repeated.
  • Two halves: lib/index.js is the host half (pre-step hook); lib/client.js is the browser half (composer trigger, picker, chips), registered through the dsh.client manifest and window.__ModuleLoader__.load.
  • Native integration: The recall message rides the harness's first-class cross-session form (source.kind: 'session-reference' + form: 'recall'), rendering a persistent "Session recall" row in the transcript.

How to install dsh-cue-plugin?

Install command (local paths also supported):

bash
dsh plugin --profile web add github:unnnnoooo/dsh-cue-plugin

Local checkout: dsh plugin add ./path/to/dsh-cue-plugin. The lib/ directory is committed, so git installs use prebuilt artifacts without any build step.

How to use dsh-cue-plugin?

  1. In the composer's tool row, click the cue button.
  2. Pick a target session by title, then select its user nodes (agent replies are never selectable).
  3. Click cue 这些结点 to confirm: the selection becomes chips in the composer, and consecutive nodes merge into one chip automatically.
  4. Send the message; the host parses the mentions and injects the recall message.

What are the known limitations of dsh-cue-plugin?

  • No custom cue card beyond the harness-native "Session recall" context row.
  • Reading sessions written by other harness versions may fail (log format is not cross-version).
  • The @cue trigger only registers a codec; the picker is driven by the button, not the @ menu.

How to build dsh-cue-plugin?

bash
pnpm install
pnpm build   # tsc --noEmit type check + tsdown → lib/index.js, lib/client.js

See more DSH plugins at dsh-plugin.org

DSH-Plugin FAQ