DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Highlightpin — DSH Plugin for DeepSeek Harness
← Plugins

dsh-highlightpin

Highlightpin

Three-level source-text pins: recall, resident background, and highlighted constraints for DeepSeek Harness.

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add dsh-highlightpin@0.1.2
READMECompatibilityVersions

Compatibility and provenance

Highlightpin is published as dsh-highlightpin and currently resolves to version 0.1.2. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
npm
Registry updated
10/14/2026

Versions

0.1.2stable
10/14/2026
0.1.1stable
10/13/2026
0.1.0stable
10/13/2026

Related plugins

Loading related plugins…

Latest
0.1.2
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
199.9 kB
Files
41
Surface
web
License
MIT
Source
npm
GitHub
★ 1
Weekly downloads
0
Last push
10/14/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in

Related plugins

More verified plugins in memory-context.

Hindsight Coding Agents@vectorize-io/hindsight-coding-agentsReflect-only Hindsight long-term memory for coding agents (harness-pluggable: opencode, …), with automatic background ingestion (no setup CLI).Ab Memorydsh-ab-memory--- description: "The dsh-ab-memory package: a cross-session, file-backed agent memory with five tools (remember / recall / forget / load_skill / distill) and an always-on light injection." kind: "package-reference" ---Contextdsh-contextA DeepSeek Harness plugin for context insight and management, with context dashboard and context command, for understanding how the context is made of, and how it evolves.Memsearch Dsh@zilliz/memsearch-dshMemSearch plugin for DeepSeek Harness: shared markdown memory across agents, with capture, pre-step context injection, memory-recall skill, and a skill-candidate review panel.

README

highlightpin

Pin any selected passage; compaction cannot take it away.

中文 · Design · Evaluation · Live evidence

A DeepSeek Harness (DSH) plugin. Select any stretch of text in a conversation — a constraint, a number, a formula, a piece of code — and pin it with one click. From then on, no matter how the context is compacted, what the model receives is that source text, not a summary.

Three levels

Each pin carries its own level:

LevelBehaviourGood forCost
pin (default)Does nothing while the text is still in context; once compaction drops it, the extract text is re-inserted verbatim near the tail before the next requestMost pinsNever touches the system prompt, so it does not break the prefix cache on its own
residentLives in the system prompt with neutral wording: "consult it when relevant; no need to bring it up"Important background: you want the model to match on it the moment it matters, without you mentioning it every turnCosts one prefix-cache invalidation when you switch levels
highlightLives in the system prompt with emphatic wording: "follow it when relevant; if it conflicts with your latest explicit instruction, the latest instruction wins"Constraints and priorities the model must keep honouringSame as above; emphasis also raises how often the model brings it up on its own

resident and highlight are deliberately two separate levels. "The model can always find it" and "the model always keeps it in mind" are different things, and emphasis has side effects of its own — so the choice is yours.

Installation

From npm (published releases):

dsh plugin --profile desktop add dsh-highlightpin@0.1.2

Or straight from the GitHub source:

dsh plugin --profile desktop add 'https://codeload.github.com/sbearbug/dsh-highlightpin/tar.gz/v0.1.2'

On the web profile, replace desktop with web. After installing or upgrading, fully quit and restart DSH, then refresh the page, so that host and client both load the new version. Existing pins survive.

Compatible DSH versions

peerDependencies declares >=0.1.7-rc.1 <0.2.0-0 || >=0.2.0-rc.1 <0.3.0-0. The DSH plugin manager checks these peers with semver.satisfies(runtimeVersion, range, { includePrerelease: true }) and blocks installation and activation on a mismatch.

The range carries an explicit prerelease branch on purpose: under ordinary semver semantics a single >=0.1.7-rc.1 <0.3.0-0 does not match the 0.2.0-rc.* builds, because node-semver admits a prerelease only when some comparator in the range shares its exact major.minor.patch tuple and itself carries a prerelease tag.

DSH versionStatus
0.2.0-rc.2Verified live — development and real-machine checks both ran on this version
0.1.7-rc.1 / 0.1.7-rc.2Offline suite passes; CI re-runs the same suite against this line on every push
Other 0.2.xInferred from the APIs used, not verified individually
≤ 0.1.6Unsupported: CommandDefinitionId does not exist at 0.1.5 and below, and the 0.1.6 line's session-event validation already differs
≥ 0.3.0Not claimed

Usage

  1. Select text inside one finished user or assistant message.
  2. Click the pin above the composer.
  3. Click the arrow beside it to open the details panel: switch each pin between "recall / resident / highlight", check budget usage, or unpin.

When you select inside a formula, the selection is expanded to the whole formula and what gets stored is the TeX source. Select the rendered $\nabla_\theta J(\theta)$ and the plugin stores $\nabla_\theta J(\theta)$ — not the glyphs on screen. Selections inside code keep their indentation and line breaks.

Everything is also available from the command line:

CommandEffect
/hlpin listList every pin, its level and budget usage
/hlpin lastPin the most recent assistant reply in full
/hlpin show <n>Show one pin's full text
/hlpin drop <n>Unpin
/hlpin level <n> pin|resident|highlightChange a pin's level

Design notes

  • What is stored is source text, not screen text. The client serialises the selection first (formulas back to TeX, copy buttons and line numbers stripped out), and the host then locates the matching source substring in the session log. Alignment reports one of three fidelities: source-exact (a clean hit), source-normalized (matched after whitespace and Markdown normalisation, but still storing a source slice), or rendered (no match — it stores the display text and tells you so).
  • pin only re-inserts after the original is gone. Right after pinning, the text is already in context, so re-injecting it would be pointless. It comes back only once compaction has shadowed it — and at that moment the prefix cache was already invalidated. So the default level cannot break caching by construction.
  • The decision is a pure function that keeps no ledger. Every step re-decides from "is this text still in context", and records nothing like "already re-inserted". A rejected step, a plugin restart, or the recall notice itself being compacted later therefore cannot lose a pin.
  • The resident section and the recall notice never duplicate each other. Each step records which pins actually went into the system prompt for that step, and the recall path excludes them. With no such record it re-inserts as usual: better to duplicate than to lose.
  • Over budget means rejection, not truncation. pin, resident and highlight each have their own character pool. Adding or promoting past a pool's budget is rejected outright with an error code; demotion is always allowed. The plugin never quietly truncates, evicts, or demotes a pin.
  • The session log format is left alone. Pins live in the official storageDomain, and recall uses a message type the host already has, so a session can never become unloadable from an unknown event. The HTTP API is origin-checked and accepts JSON only from the local page.

The full set of trade-offs is in DESIGN.md.

Verification status

  • Live: "pin → /compact → next message" has been run end-to-end in DSH. The shadowed source text appeared in the next request's input, byte-identical to what was stored, with a matching SHA-256. Evidence: docs/PROBES.md and docs/m1-live-0.1.4.json.
  • Offline: alignment, selection serialisation, the decision function, all three injection paths, budgets, routes, commands and React interaction are covered by tests, run by CI on every push.

Configuration

{ "maxPinChars": 16000, "maxResidentChars": 6000, "maxHighlightChars": 2000, "holdSubagents": false }
SettingDefaultMeaning
maxPinChars16000Total source characters across pin pins
maxResidentChars6000Total source characters across resident pins
maxHighlightChars2000Total source characters across highlight pins
holdSubagentsfalseWhether subagent sessions are covered too (off by default, to avoid wasting tokens)

Characters are counted in UTF-16 units. Neither the number of pins nor the length of a single pin is capped; only the total per level is.

Limitations

  • Selections must stay within a single message; cross-message selections are not supported.
  • Streaming messages, reasoning content and tool output are not supported.
  • Pins belong to one session; forked sessions do not inherit them.
  • One writer host per profile is supported.
  • "Highlight" here is an emphasis level in the model input; it does not draw a visual highlight on the original message.

Development

npm ci
npm run check   # build the client + run all tests + loader check
npm run eval    # controlled fixture: byte-exact preservation through all three levels

License

MIT