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.

Compact Selected Model — DSH Plugin for DeepSeek Harness
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins

dsh-compact-selected-model

Compact Selected Model

DeepSeek Harness plugin: /compact and auto-compaction summarize with the model currently selected in the session, not the model that finished the last turn

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

npx -y @deepseek-ai/dsh plugin --profile web add dsh-compact-selected-model@0.1.1
READMECompatibilityVersions

Compatibility and provenance

Compact Selected Model is published as dsh-compact-selected-model and currently resolves to version 0.1.1. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
any
Release source
npm
Registry updated
10/16/2026

Versions

0.1.1stable
10/12/2026
0.1.0stable
10/9/2026

Related plugins

Loading related plugins…

Latest
0.1.1
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
8.2 kB
Files
5
Surface
any
License
MIT
Source
npm
GitHub
★ 0
Weekly downloads
354
Security scan
✓ v0.1.1 scan passed
Last push
10/11/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

Related plugins

More verified plugins in memory-context.

Mnemondsh-mnemonComposable, view-based memory for DeepSeek Harness. Pluggable sources and strategies, with layered memory out of the box.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.Memory@furongjun1999/dsh-memoryLingshu (Lingshu·líng shū) DeepSeek Harness plugin: a complete brain—long-term memory/knowledge flywheel/self-awareness/recursive reflection integrated with DSH, with conversations automatically distilled into the md_cg cognitive graph (md documents)Archive Manager@michengai/dsh-archive-manager归档、恢复、收藏和永久删除会话,并诊断损坏的会话日志。 · Archive, restore, favorite, and permanently delete sessions, and diagnose damaged session logs.

README

dsh-compact-selected-model

By default, DeepSeek Harness compacts a session with the model that answered the last turn. If you switch models in the picker and then run /compact, the old model still writes the summary. With this plugin, the summary is written by the model you have selected now.

Works with dsh 0.1.7-rc.2 through 0.2.x.

Install

npx @deepseek-ai/dsh plugin --profile web add dsh-compact-selected-model

Then restart dsh web.

How it works

Picking a model in the web UI adds a model/selection event to the session. That choice stays pending until the next request uses it. The plugin hooks llm/stream. When a request has purpose: 'compaction' and the session has a pending model, the plugin sends the request to that model. Nothing else in the request changes.

The plugin leaves the request alone if compaction-basic has an explicit summarizationModel set. Other requests are never touched.

If the selected model fails, for example because of a rate limit or a context window that is too small, the compaction fails too. Switch back to a working model and run /compact again.

Caveats

  • The compaction/summary event in the session log still names the old model, because compaction-basic writes that record itself. The host log shows where the request actually went.
  • The auto-compaction threshold is still based on the context window of the previous model.
  • This needs the modelSelection projection from the session controller, so it does nothing in headless runs.

Development

node smoke.mjs runs an offline check against a stub LLM service.

License

MIT