dshbase

Plugin directory / UI & Skins / dsh-compaction-current-model

dsh-compaction-current-model

Verified · install-tested on dsh JK-LIL

✓ Actively maintained

View on GitHub ↗ ← Back to plugin directory

0Stars
0Forks
0Open issues
—Language
2026-08-19Last push
Cross-platformPlatform

What it does

DSH bundle: route manual /compact summarization to the frontend current model

✅
Our take
Works — verified, early-stage project

DSH bundle: route manual /compact summarization to the frontend current model It installs cleanly and boots without issues in our testing. It's early-stage but functional.

“Verified” means our automated CI actually ran dsh plugin add in a clean profile and it booted — nothing more. Feature descriptions and version compatibility are the author’s claims. This is not a security audit and not an endorsement of third-party code.

README

@dsh-external/dsh-compaction-current-model

DSH host bundle that fixes a manual-compaction model-selection bug for
DeepSeek Harness 0.1.0-rc.7:

  • Before the fix, /compact(手动压缩)summarization could use the session's
    last routed model even after the frontend model picker changed.
  • This plugin tracks the durable manual-compaction span
    (compaction/start with turn: null) and rewrites the summarization
    llm/stream to agentDefaultModel.currentSelection() — the model the
    frontend currently shows.

Automatic compaction, ordinary chat requests, and frozen LLM requests are
never rewritten.

Install

dsh plugin --profile web add github:JK-LIL/dsh-compaction-current-model

or from a local tarball:

dsh plugin --profile web add ./dsh-compaction-current-model-0.1.0.tgz

then restart the web profile and run /compact after switching models.

Compatibility

  • Built against DeepSeek Harness 0.1.0-rc.7 (source mode or installed build).
  • Runtime-import-free: the plugin only calls the Cordis context and standard
    session/LLM events, so it has no package dependencies of its own.
  • If a future DSH version changes the compaction/start owner marker,
    llm/stream request shape, or agentDefaultModel, review this plugin before
    upgrading.

Uninstall

dsh plugin --profile web remove @dsh-external/dsh-compaction-current-model

Verification

From the plugin package:

npm run typecheck
npm run build

Runtime acceptance: start DSH web, switch the model picker to a model different
from the last routed request, then run /compact and confirm the recorded
compaction/summary provider/model matches the frontend selection.

More

Install

🧩 Let your agent install it (recommended)

Install the catalog once, then DeepSeek Harness can find and install any plugin from this site automatically:

dsh plugin add dshbase-catalog

Then say "install dsh-compaction-current-model for me" — your agent finds it in the directory and installs it. Docs: dshbase-catalog · verified packs.

This plugin is GitHub source (not published to npm) — install it straight from the repo:

Web profile:

dsh plugin --profile web add github:JK-LIL/dsh-compaction-current-model

Headless (CLI) profile:

dsh plugin --profile headless add github:JK-LIL/dsh-compaction-current-model

Test report

Verified: L1 install + L2 load + L3 runtime from GitHub source on dsh 0.1.0-rc.6.

Security: not yet scanned — our daily static scan will cover it shortly.

Share this badge

More in UI & Skins

Browse all 7819 plugins →