Apache-2.0, read-only DeepSeek Harness plugin: one `/fast` shows session load time, spill hits, compaction count, context budget split and LLM cache hit rate, sampled off the model path and persisted in the `dsh_fast` storage domain.
DSH integration
Native runtime
Author-claimed
Safety audit
Unaudited
Last verified
2026-11-25
License
Apache-2.0
01What can it help you accomplish?
See where one DSH session loses its time, in one screen
A `/fast` performance report: session load (open vs restore, time to first request), spilled tool results, compaction count and trigger, context volume split into system prompt / tool schema / surface, LLM cache hit rate and threshold-driven suggestions
DSH users tuning context budgets and prompt caching on long sessions
Watch a session's cost trend instead of a single snapshot
`/fast --history [n]` prints the last n samples the sampling timer persisted for that session in the `dsh_fast` domain (10 by default)
People who need to know whether compaction or context growth is getting worse over a session
Give the model the same numbers as structured JSON
The `fast_report` tool returns the identical report as JSON for reasoning, plus a human-readable text rendering
Users who want the agent to reason about session performance instead of reading a screenshot
02How to install into DeepSeek Harness
Prerequisites
- DeepSeek Harness within the declared range — the README badge says ≥0.1.2 <0.3.0, and the README was last verified against `dsh-v0.2.3-alpha.1` (2026-11-22)
- Node ^22.19.0 or >=24.0.0 (the README requirement table); the package is pure ESM (`"type": "module"`)
- Peer packages `@deepseek-ai/cordis ^4.0.2`, `@deepseek-ai/schemastery ^3.18.4` and the dsh-session / dsh-tools / dsh-commands / dsh-compaction / dsh-session-query / dsh-storage-domain peers named in the README
Installation steps
- 01
Install from the npm channel: `dsh plugin --profile web add dsh-fast` — or from the git channel: `dsh plugin --profile web add github:PerryLink/dsh-fast` (pin with `#v0.2.30`)
$ dsh plugin --profile web add dsh-fast
- 02
Optional: override thresholds in the `dsh-fast` row of the profile patch (for example `surfaceTokens: 60000`); the defaults work as-is
- 03
Restart the profile — both channels put the bundle line into `dsh.profile.bundles`, which only takes effect after a restart
Verify the integration
- `dsh --profile demo --dump-config | grep -A2 'id: dsh-fast'` confirms the plugin line and your values landed in the profile
- After a restart, run `/fast` in any session — the first line `performance report` means the plugin is mounted
Rollback
- `dsh plugin --profile demo remove dsh-fast`, or delete the `dsh-fast` row from the profile patch
03DSH integration and capability boundaries
Native DSH bundle: `dsh plugin --profile <name> add dsh-fast` puts the bundle line into the profile's `dsh.profile.bundles` stack, and after a restart the plugin registers exactly one command (`/fast`), one tool (`fast_report`), three read-only `session/*` listeners and a `dsh_fast` storage domain — no service, no client slot, no HTTP route.
/fast session report
the `/fast` slash command in any session→A text report: session load kind and time to first request, spilled-result count, compaction count with manual/automatic split and shadow tokens, context volume ranking, cache hit rate and suggestions
the report is assembled only when the command is invokedPersisted sampling history
`/fast --history [n]`→The last n samples the sampling timer wrote for that session into the `dsh_fast` storage domain (10 by default)
samples live in the `dsh_fast` storage domain, not in the session logfast_report tool
a tool call from the agent→The same report as structured JSON for model reasoning, with a human-readable text rendering
Context volume and cache accounting
session events, plus the optional `tokenMeter` / `systemPrompt` / `sessionQuery` services→Token counts and shares for the system prompt (AGENTS.md + skills + persona), tool schemas and the conversation surface, plus input / cache-read / cache-write / output tokens and hit rate from provider usage
without `tokenMeter` the plugin falls back to heuristic token pricing and announces the downgrade once per processThreshold-driven suggestions
the thresholds in the plugin config (system prompt, tool schema, surface, cache hit floor, compaction count and shadow tokens)→Concrete advice such as trimming skills, tightening tool schemas, compacting earlier, enabling prompt caching or enabling a spill policy
invalid config values fail loudly at profile load instead of being clamped
04Who is it for? When not to use it?
Good for
- DSH users tuning context budgets and prompt caching on long sessions
- People who need to know whether compaction or context growth is getting worse over a session
- Users who want the agent to reason about session performance instead of reading a screenshot
Not for
- Both sides are pinned: the README badge declares DSH ≥0.1.2 <0.3.0 and the README was verified against `dsh-v0.2.3-alpha.1`; the package needs Node `^22.19.0 || >=24.0.0` and is pure ESM.
- Known conflict in the host client command namespace: if another plugin also registers a **client** `commandUi` contribution named `fast`, the host slash-command menu may drop the whole `/` source. The plugin cannot rename itself at runtime — disable or rename the other plugin's `fast` client command, or remove one of the two.
05Compatibility, maintenance and safety notes
- Both sides are pinned: the README badge declares DSH ≥0.1.2 <0.3.0 and the README was verified against `dsh-v0.2.3-alpha.1`; the package needs Node `^22.19.0 || >=24.0.0` and is pure ESM.
- Known conflict in the host client command namespace: if another plugin also registers a **client** `commandUi` contribution named `fast`, the host slash-command menu may drop the whole `/` source. The plugin cannot rename itself at runtime — disable or rename the other plugin's `fast` client command, or remove one of the two.
- Metrics are written to the `dsh_fast` storage domain (a bounded per-session history) rather than to session events, and the session log is never touched; the session id is redacted and the working directory only appears when `privacy.includeCwd` is turned on.
- Some numbers are approximations: spilled results are detected heuristically from the persisted spill marker, the assembled system prompt is reported as a single bucket, and load time is measured from publish to first request because the restore-time disk read happens before `session/created`.
Apache-2.0 · actively maintained (latest release v0.2.31, published 2026-11-23); README verified against DeepSeek Harness dsh-v0.2.3-alpha.1 on 2026-11-22
06Frequently asked questions
How do I install dsh-fast in DeepSeek Harness?
Run `dsh plugin --profile <name> add dsh-fast` for the published npm version, or `dsh plugin --profile web add github:PerryLink/dsh-fast` for the latest main (pin a tag with `#v0.2.30`). Both channels put the bundle line into the profile's `dsh.profile.bundles` stack, so restart the profile afterwards. Check with `dsh --profile demo --dump-config | grep -A2 'id: dsh-fast'`, then run `/fast` in any session — the first line `performance report` means it is mounted.
Does the plugin slow the model down?
No. Folding hangs off `session/event` and is O(1) per event; snapshots are built on the `snapshotIntervalMs` timer (60 seconds by default), never on the append path or the model request path, and `/fast` plus `fast_report` assemble the report only when called. It registers no waterfall listeners and changes neither model requests, tool results nor the session surface.
Where do the metrics live, and do they leak anything?
Snapshots go to the `dsh_fast` storage domain — a bounded per-session history, 20 samples by default — and never into the session log. The session id in the report is redacted, `cwd` is absent unless `privacy.includeCwd: true` (and then only a truncated path), and control characters are stripped before display and persistence. The plugin makes no network requests and handles no credentials.
What can it not measure accurately?
Three things are approximations: spill detection is a heuristic that reads the persisted spill marker rather than a dedicated session event, the assembled system prompt (AGENTS.md, skills and persona) is reported as one bucket, and load time is measured from publish to first request because the restore-time disk read happens before `session/created`. Hosts missing optional services degrade loudly — the fallback is announced once per process instead of silently changing what the numbers mean.
How do I remove it?
Run `dsh plugin --profile demo remove dsh-fast`, or delete the `dsh-fast` row from the profile patch. All contributions are registered through `ctx.effect()` / `ctx.on()` / `register()`, so uninstall and hot reload are clean.
07Related DSH workflows
dsh-our-free-model
by ebony-vinyl
Adds model choices, availability checks, usage panels, and a local OpenAI-compatible forwarder.
dsh-routing-suite
by yjh051108
dsh-routing-suite — injector + router-standard kit: install the runtime injector first, then the task-aware reasoning-mode router preset (measured P1-P23).
dsh-ops
by t-auto
Run Bash and PowerShell commands, search and edit local files, and manage long-running background jobs from DSH.
dsh-connect-workbuddy
by dingminhua
Connect locally signed-in WorkBuddy models to DeepSeek Harness with a read-only credits overview and model management.
08Data and sources
面向 DeepSeek Harness 的只读性能诊断插件:只观察会话事件流,不碰模型热路径,把会话加载、spill、compaction、上下文注入与 LLM 缓存的开销拆开给你看。
两条通道都会把 bundle 行(见 [`cordis.patch.yml`](cordis.patch.yml))装进 profile 的 `dsh.profile.bundles` 栈,重启后生效。
本插件只注册一个命令(`/fast`)、一个工具(`fast_report`)、三个只读监听器(`session/created`、`session/event`、`session/disposed`)与一块 `dsh_fast` 存储域
This page is generated from the project’s public documentation, repository metadata and a structured parse of DSH Plugins; last verified on 2026-11-25. Found an error? Submit a correction.
Best DeepSeek Harness Plugins
Twelve plugins worth installing first — picked from the whole catalog, across every category.
