Introduction¶
In DeepSeek Harness (DSH) sessions, assistant replies, tool results, and temporary texts are continuously added. If later model rounds need to reference specific items, they usually have to be manually restated or copied and pasted. dsh-pin-recall provides a more direct plugin approach: first pin the target content, and then inject these pins into the next round of model context via /recall or Web card actions.
What is it?¶
dsh-pin-recall is an MIT-licensed DSH plugin maintained by kerwin2046. It is designed for DeepSeek Harness sessions, supporting the pinning of assistant replies, tool results, or free text, and the recall of pinned content into model rounds.
In the Web UI, buttons at the bottom of completed assistant messages are provided to toggle the pin status of that message or perform recall actions.
Core Capabilities¶
- Supports pinning based on the latest tool results, latest assistant messages, specific
messageId, or free text. - Supports commands such as
/pin,/pins,/recall, and/unpin. /recallqueues all pins and wakes the agent;/recall quietqueues only and does not wake the agent./unpincan remove specific pins or all pins.- Pins are saved as persistent session events with event types
pin/setandpin/remove. - Web cards can toggle the pin on completed assistant messages or inject all pins and wake the agent.
Installation and Activation¶
First, confirm the environment: Node.js is required, and the target profile must have @deepseek-ai/dsh-base and @deepseek-ai/dsh-web-app stacked.
Install from the local build directory:
dsh plugin --profile web add /absolute/path/to/dsh-pin-recall
The README also provides a command to install from GitHub; this command uses a placeholder user, which needs to be replaced with the actual owner at the time of release:
dsh plugin --profile web add github:YOUR_USER/dsh-pin-recall
Restart the Web service after installation:
dsh --profile web
If running from a harness checkout:
pnpm dsh web
Then open the Web UI and perform a hard refresh.
Typical Usage¶
Pin the latest tool result or assistant message:
/pin
/pin last
Pin the latest item of a specific category:
/pin tool
/pin assistant
Toggle the pin for a specific assistant message, suitable for Web card scenarios:
/pin msg <messageId>
Check if a specific assistant message is pinned:
/pin status <messageId>
Pin free text:
/pin text …
List current pins:
/pins
Queue all pins and wake the agent:
/recall
Queue all pins only, without waking the agent:
/recall quiet
Remove specific pins or all pins:
/unpin p1
/unpin all
Applicable Scenarios and Notes¶
Suitable for scenarios in DSH Web sessions where a specific assistant reply, tool result, or temporary text needs to be preserved, and subsequent model rounds need to explicitly reference it.
Notes:
- The plugin runs with the permissions of the current
dshprocess; you should check the source code, build artifacts, and license before installing. - When restoring a session containing pin events, this plugin must be installed.
package.jsonmarks@deepseek-ai/cordis,@deepseek-ai/dsh-agent,@deepseek-ai/dsh-commands,@deepseek-ai/dsh-llm,@deepseek-ai/dsh-session, andreactas optional peer dependencies.- The GitHub owner in the installation command is a placeholder and cannot be used directly as the actual owner; please replace it according to the release source.
Links¶
GitHub:
https://github.com/kerwin2046/dsh-pin-recall
Independent Plugin Directory Page: