kerwin2046/dsh-pin-recall1

dsh-pin-recall

Pin tool results or assistant replies, then recall them into the next model turn via /pin /pins /recall /unpin and Web card actions.

AI 分析

核心用途是允许用户手动“钉住”关键上下文或工具输出,并在后续对话中精准召回。适合处理长文本、需要精细控制上下文关联的复杂任务。

パッケージ
dsh-pin-recall
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/08/14

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:kerwin2046/dsh-pin-recall

ドキュメント

README 全文を読む ↗

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:

ControlAction
Outline starToggle pin / unpin for that reply (fills when pinned)
Corner-down-left iconInject all pins and wake the agent (title: 召回…)

Commands

CommandEffect
/pin · /pin lastPin newest tool result or assistant message
/pin tool · /pin assistantPin newest of that kind
/pin msg Toggle pin for one assistant message (Web card)
/pin text …Pin free-form text
/pinsList active pins
/recallQueue all pins and wake the agent
/recall p1Queue one pin and wake
/recall quietQueue without waking (send a message yourself)
/unpin p1 · /unpin allRemove 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