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

  1. Supports pinning based on the latest tool results, latest assistant messages, specific messageId, or free text.
  2. Supports commands such as /pin, /pins, /recall, and /unpin.
  3. /recall queues all pins and wakes the agent; /recall quiet queues only and does not wake the agent.
  4. /unpin can remove specific pins or all pins.
  5. Pins are saved as persistent session events with event types pin/set and pin/remove.
  6. 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:

  1. The plugin runs with the permissions of the current dsh process; you should check the source code, build artifacts, and license before installing.
  2. When restoring a session containing pin events, this plugin must be installed.
  3. package.json marks @deepseek-ai/cordis, @deepseek-ai/dsh-agent, @deepseek-ai/dsh-commands, @deepseek-ai/dsh-llm, @deepseek-ai/dsh-session, and react as optional peer dependencies.
  4. 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:

https://www.skillhub.cn/plugins/kerwin2046/dsh-pin-recall