
unnnnoooo/dsh-cue-plugin
50Last commit Aug 13, 2026
dsh-cue-plugin DSH plugin
This plugin allows you to select user nodes from a different conversation session and inject their context snapshots into the current conversation. The context is captured at the moment of selection, and the host automatically wraps it into a session-reference recall message, so the model can read it without searching. It provides a browser-side picker and a host-side pre-step hook, all in one bundle.
How to install the dsh-cue-plugin DSH plugin
dsh plugin add github:unnnnoooo/dsh-cue-pluginCopying does not run this command. Review the repository and version before installing the dsh-cue-plugin DSH plugin.
dsh-cue-plugin DSH plugin data source
dsh-cue-plugin DSH plugin snapshot date: Aug 16, 2026
discovered
What the dsh-cue-plugin DSH plugin can do
- Click the cue button in the composer tool row to open a session picker.
- Select user nodes by clicking, drag-boxing, or using batch select/deselect; agent replies are collapsed and unselectable.
- Context snapshot is captured at cue time (when user confirms selection), not at send time.
- Consecutive selected nodes are automatically merged into one chip to avoid duplicate context.
- Host-side agent/pre-step listener parses dsh-cue: mentions, rewrites to readable markers, and prepends a session-reference recall message.
- The recall message uses harness-native session-reference form with 'Session recall' transcript row.
Where the dsh-cue-plugin DSH plugin fits
- Reference a specific user message from a previous conversation to provide context to the model.
- Combine multiple relevant nodes from a different session to inform the current dialogue.
- Avoid having the model search through other sessions by directly injecting the needed context.
Who the dsh-cue-plugin DSH plugin is for
- DeepSeek Harness users who work with multiple conversation sessions.
- Advanced users needing cross-session context injection without manual copy-paste.
dsh-cue-plugin DSH plugin limitations
- No custom cue card beyond the native 'Session recall' context row; standalone bundles cannot append custom session events.
- Reading sessions written by a different harness version may fail (log format not cross-version); the picker shows a friendly error.
- The @cue trigger only registers a codec; the picker is button-driven, not menu-driven.
dsh-cue-plugin DSH plugin: from the repository README
Quoted from the unnnnoooo/dsh-cue-plugin README, the upstream source of the dsh-cue-plugin DSH plugin. Copyright remains with the original authors.
跨会话结点引用(cue)插件 / Cross-session node reference plugin for DeepSeek Harness. --- # 中文 在对话 A 中,从对话 B 里挑选「结点」(用户消息),把它们的上下文快照注入到 A 给模型阅读——模型不需要自己去翻找任何内容。 ## 安装 ```sh dsh plugin add github:unnnnoooo/dsh-cue-plugin ``` (本地路径同样支持:`dsh plugin add ./path/to/dsh-cue-plugin`。) ## 用法 1. 在输入框工具条点击 **cue** 按钮。 2. 按标题选择目标会话,再勾选它的用户结点——单击切换、拖拽框选,或用 **全选 / 清空** 批量操作。agent 回复折叠展示且不可选,只有用户消息会成为结点。 3. 点 **cue 这些结点** 确认:所选结点立即变成输入框里的 chip,上下文快照在 **确认这一刻** 由固定程序捕获并写进 chip 载荷;相邻的结点自动合并成一个 chip。 4. 发送消息。宿主端 `agent/pre-step` 监听器解析 `dsh-cue:` 引用,把它改写为 可读标记 `[cue 引用:@标题 #序号…]`(让模型知道这是一次引用),并在前面注入 包装好的 `session-reference` 召回消息: ```text ## Cued nodes from <title> 用户 cue 引用了以下结点,请把它们作为跨会话参考上下文阅读: ... ``` 这条消息使用 harness 原生的跨会话形式(`source.kind: 'session-reference'` + `form: 'recall'`),转录中会呈现为持久的「Session recall」行,带来源标题和 保留/省略条数——模型和用户都能一眼把它和本会话内容区分开。 ## 设计要点 - **捕获在 cue 时,不在发送时。** 用户确认的瞬间由浏览器端读取源会话;宿主端 从不重读源会话,模型也从不自己做提取。 - **去重。** 每个选中结点附带一个小上下文窗口(自身 + 前 3 条用户/agent 记录); 相邻选区的窗口自动合并,连续结点的上下文绝不重复。 - **一个包,两半。** `lib/index.js` 是宿主半(pre-step 钩子);`lib/client.js` 是浏览器半(工具条按钮、选择器、chips),通过 `dsh.client` 清单和 `window.__ModuleLoader__.load` 注册。 ## 已知限制 - 除 harness 原
Read the full READMEThe repository declares no license. Check with the authors before using it.
dsh-cue-plugin DSH plugin questions
How do I install dsh-cue-plugin?
Run `dsh plugin add github:unnnnoooo/dsh-cue-plugin` in your terminal. If you have a local checkout, you can use `dsh plugin add ./path/to/dsh-cue-plugin`.
How do I select nodes from another session?
Click the 'cue' button in the composer tool row. Then pick a target session by title, and select user nodes using click, drag-box, or the batch select/deselect buttons. Agent replies are collapsed and cannot be selected.
Why does the injected context show as 'Session recall' instead of a custom card?
The plugin uses the harness-native session-reference form. Standalone bundles cannot append custom session events with ignorable flags, so the recall row is the durable presentation. There is no custom card support.
Can I use this plugin with sessions created by a different version of DeepSeek Harness?
It may fail because the log format is not guaranteed to be cross-version. The picker will show a friendly error if the session cannot be read. For best results, use sessions from the same harness version.
Does the @cue trigger work with the chat menu?
The @cue trigger only registers a codec. The actual picker is button-driven (the cue button), not accessible via the @ menu. You must use the button to open the picker.