dsh-pin-recall
其他 活跃维护

dsh-pin-recall

kerwin2046/dsh-pin-recall

轻量级对话辅助插件,支持钉选指定助手回复内容,在后续对话中可自动将其召回并注入模型轮次,方便复用关键信息,操作简单无需复杂配置。

2
Stars 标星
0
Forks 分支
2
Watchers 关注
0
Open Issues
TypeScript
主要语言
MIT
开源协议
27 KB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:kerwin2046/dsh-pin-recall
git clone https://github.com/kerwin2046/dsh-pin-recall.git
git clone git@github.com:kerwin2046/dsh-pin-recall.git
README.md main

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