dshbase

插件目录 / Knowledge / dsh-pin-recall

dsh-pin-recall

已验证 · 实测可装 kerwin2046

✓ 持续维护 基于 5 个官方 DSH 包 纯 TypeScript

查看 GitHub ↗ ← 返回插件目录

1Stars
0Forks
0未关闭 issue
TypeScript语言
2026-08-15最近推送
跨平台平台

功能简介

固定助手回复并召回

✅
我们的评价
可用 — 实测通过,早期项目

固定助手回复并召回 实测能干净安装、正常启动。早期项目,但功能可用。

「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

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:

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

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 dsh-pin-recall」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:kerwin2046/dsh-pin-recall

Headless(CLI)profile:

dsh plugin --profile headless add github:kerwin2046/dsh-pin-recall

实测报告

验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。

使用场景

给 agent 一套记忆、知识库或检索层,让它不再跨会话丢上下文。

适合谁

跑长项目、想让 agent 记住决策、文档和偏好而不用每次重讲的人。

二次开发建议

记忆/检索后端是缝——插新存储、调蒸馏策略,或加引用与审计轨迹。

安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Knowledge 里更多

浏览全部 7797 个插件 →