kerwin2046/dsh-pin-recall
DeepSeek Harness 插件:固定助手回复并在模型回合中调取它们
项目介绍Project Overview
dsh-pin-recall 是 DeepSeek Harness 的 Web 插件,用于在会话中固定助手回复、工具结果或自定义文本,并通过卡片按钮或 /recall 命令把这些固定内容注入下一轮模型输入、唤醒代理。适用于需要保留证据、跨轮引用关键信息的场景。固定项以会话事件持久化,含这些事件的会话需保持安装本插件才能恢复。
dsh-pin-recall is a DeepSeek Harness Web plugin that pins assistant replies, tool results, or free-form text in a session, then recalls them into the model turn via a card button or /recall commands, optionally waking the agent. Use it to preserve evidence or key context across turns. Pins are stored as durable session events, so the plugin must remain installed to resume sessions containing them.
请帮我了解并安装插件:【dsh-pin-recall】【https://github.com/kerwin2046/dsh-pin-recall】
把上面这条消息直接发给当前会话里的 DSH,让它帮你了解并安装。安装命令不一定准确,发给 DSH 更稳。Send this message to DSH in your current session. CLI install commands may not be accurate across systems — DSH will figure it out for you.
或使用命令行安装(适合开发者)Or use CLI install (for developers)
命令行安装CLI Install
dsh plugin --profile web add github:YOUR_USER/dsh-pin-recall
把 kerwin2046/dsh-pin-recall 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-pin-recall
Pin assistant replies (or tool/text evidence) in a DeepSeek Harness session, then recall them into the model turn — with a Web card button.
Install
# from a built checkout
dsh plugin --profile web add /absolute/path/to/dsh-pin-recall
# or from GitHub (after you publish)
dsh plugin --profile web add github:YOUR_USER/dsh-pin-recall
Restart dsh --profile web (or pnpm dsh web from a harness checkout). Open the Web UI and hard-refresh.
Requires Node.js and a profile that already stacks @deepseek-ai/dsh-base + @deepseek-ai/dsh-web-app.
Web UI
On a finished assistant message, the bottom action row shows:
| Control | Action |
|---|---|
| Outline star | Toggle pin / unpin for that reply (fills when pinned; state hydrates from the session) |
| Corner-down-left icon | Inject all pins and wake the agent (title: 召回…) |
Commands
| Command | Effect |
|---|---|
/pin · /pin last |
Pin newest tool result or assistant message |
/pin tool · /pin assistant |
Pin newest of that kind |
/pin msg <messageId> |
Toggle pin for one assistant message (Web card) |
/pin status <messageId> |
Report whether that assistant message is pinned |
/pin text … |
Pin free-form text |
/pins |
List active pins |
/recall |
Queue all pins and wake the agent |
/recall p1 |
Queue one pin and wake |
/recall quiet |
Queue without waking (send a message yourself) |
/unpin p1 · /unpin all |
Remove pins |
Pins are durable session events (pin/set, pin/remove). Keep this plugin installed to resume sessions that contain them.
Develop
npm install
npm run build
lib/index.js is the Host half; lib/client.js is the ModuleLoader browser bundle.
Sibling layout expected when typechecking against a local harness is optional — this package uses ambient shims.
License
MIT
nexu-io/open-design
freestylefly/awesome-gpt-image-2
anywhere-labs/dsh-desktop
walkinglabs/learn-harness-engineering
awesome-dsh-plugin/awesome-dsh-plugin
MemTensor/MemOS