At a glance
What it does
Read-only DeepSeek Harness diagnostics for session latency, context use, compaction, spills, and LLM cache performance.
Deepseek Harness Profile
0.1.2-rc.1 and 0.1.5-rc.1 declared; peer range >=0.1.2-rc.1 <0.2.0 or >=0.1.5-alpha.1 <0.2.0
Evidence-verified
Checked Sep 10, 2026, 2:05 PM UTC
Code-evidenced contributions
What it adds to DSH
Shows current-session load timing, spill and compaction metrics, context-token shares, cache hit rate, and threshold suggestions.
Mechanism evidence ↗Returns the same diagnostics as structured JSON plus a readable report for model use.
Mechanism evidence ↗Before you choose it
Mount this bundle in a DeepSeek Harness profile, restart the profile, then use /fast or fast_report to inspect where the current session’s time and token budget are going. It reports load timing, compactions, spilled-result signals, context-token shares, cache hit rate, and threshold-based suggestions.
Best for
DeepSeek Harness users tuning slow, context-heavy, or frequently compacted sessions.
Common tasks
- Find whether session load was an open or restore path and compare timing.
- Identify oversized system prompts, tool schemas, or conversation surfaces.
- Review compaction frequency, spill signals, and LLM cache hit rate before changing profile settings.
Permissions and data
The manifest declares session read/write permissions; repository documentation describes read-only observation of session and agent events.
Permissions- session:read
- session:write
- native-code:none
- Declared metrics are persisted as bounded per-session history in the dsh_fast storage domain.
- The optional sanitized working directory is disabled by default.
- Repository documentation states that report identity and optional working-directory values are sanitized before display or durable write.
- Repository documentation states that the plugin makes no outbound requests.
- No credential requirement is declared in the supplied evidence.
Limitations
- Spill detection is documented as a best-effort heuristic based on a durable spill notice.
- System-prompt reporting combines AGENTS.md, skills, and persona rather than providing per-section accounting.
- Reported restore timing begins at publication and excludes an earlier disk-read portion.
- Installation requires a DeepSeek Harness profile restart to activate.
What DSHub checked
- Pinned source commit and bundle patch structure were verified.
- The package declares a transactional profile-bundle installation model, Node ^22.19.0 or >=24.0.0, and DeepSeek Harness compatibility context.
- Apache-2.0 is declared.
What DSHub did not check
- This curation did not execute installation, restart, /fast, fast_report, or runtime diagnostics.
- Registry package contents were not audited.
Pinned install
Install dsh-fast
This plugin bundle does not have a DSH Plugin install action. Use its source documentation for the delivery method.
Maintainer source
Project README
⚡ dsh-fast
- 1024 store channel:
npm i -g dsh1024once, thendsh1024 plugin --profile web add dsh-fast(counts toward the deepseek1024.com install ranking).
Read-only performance diagnostics for DeepSeek Harness.
Observes the session event stream — never the model hot path — and reports where latency and context budget actually go.
Official repository. This is the only official repository of dsh-fast, maintained by PerryLink. Same-name repositories under other accounts are not affiliated.
English · 简体中文 · Español · Português · हिन्दी
</div>Compatibility
- DeepSeek Harness
dsh-v0.1.5-rc.1(adapted 2026-09-09; public tag commit183f08e9c6): the system prompt is surface node 0 (asystem/message) instead of a request-envelope field, so the report reads it from the surface and prices the meter's surface net of it. Verified 2026-09-10 with the published0.1.5-rc.1peers (full local gate chain); the monthly compat workflow re-runs the profile install smoke against the same pins. - Node
^22.19.0 || >=24.0.0, ESM only ("type": "module"). - Peer dependencies:
@deepseek-ai/cordis ^4.0.2,@deepseek-ai/schemastery ^3.18.2, and@deepseek-ai/dsh-session,@deepseek-ai/dsh-tools,@deepseek-ai/dsh-commands,@deepseek-ai/dsh-compaction,@deepseek-ai/dsh-storage-domainat>=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0(devDependencies pin0.1.5-rc.1); the0.1.2-rc.1line stays supported at runtime through a structural fallback to the pre-0.1.5header.system.
What you get
- Session load timing — publication-to-first-request latency, classified
open(fresh) vsrestore(seeded/resumed), plus the restored seed-event count. - Spill-hit statistics — how many tool results were spilled to a session-scoped artifact (detected from the durable spill notice).
- Compaction count and trigger — total compactions, split
manual(slash command) vsautomatic(pressure), and total shadowed tokens. - Context-injection volume — system-prompt (AGENTS.md + skills + persona), tool-schema, and surface tokens with their shares of the total; the surface bucket is conversation history only (the meter's surface includes the system node on
0.1.5-alpha.1, which dsh-fast subtracts). - LLM cache hit rate — input / cache-read / cache-write / output tokens aggregated from provider usage, plus the derived hit rate.
- Optimization suggestions — threshold-driven notes (trim skills, tighten tool schemas, compact earlier, enable prompt caching, enable spill-policy, …).
- Async sampling — metrics are folded O(1) per event and snapshotted on a timer, never on the append path.
Quick start
git channel
# From a scratch profile (pins the commit; runs the self-contained `prepare` build)
dsh plugin --profile demo add "github:YOUR_ORG/dsh-fast#<sha>"
# The profile's pnpm-workspace.yaml gains an allowBuilds entry for dsh-fast on first add.
npm channel
dsh plugin --profile demo add dsh-fast
Both channels install the bundle row (see cordis.patch.yml) into the profile's dsh.profile.bundles stack and take effect on restart.
Install & uninstall
dsh plugin --profile demo add dsh-fast # install
dsh plugin --profile demo remove dsh-fast # uninstall
Verify the row mounts: dsh --profile demo --dump-config | grep dsh-fast.
Configuration
All tunables are Schemastery Config fields; invalid values fail the profile load loudly.
| Key | Default | Description |
|---|---|---|
enabled |
true |
Master switch; false mounts nothing. |
privacy.includeCwd |
false |
Include the sanitized session working directory in reports. |
sampling.snapshotIntervalMs |
60000 |
How often active sessions are sampled (ms). |
sampling.maxHistorySamples |
20 |
Samples retained per session in the durable history. |
thresholds.systemPromptTokens |
20000 |
Warn when the system prompt exceeds this many tokens. |
thresholds.toolSchemaTokens |
8000 |
Warn when the tool schema exceeds this many tokens. |
thresholds.surfaceTokens |
60000 |
Warn when the conversation surface exceeds this many tokens. |
thresholds.cacheHitRateFloor |
0.1 |
Warn when the cache hit rate falls below this (0..1). |
thresholds.compactionCountWarn |
10 |
Warn once this many compactions have triggered. |
thresholds.compactionShadowTokens |
40000 |
Warn when the average shadowed token count per summary exceeds this. |
spill.detectSpilledResults |
true |
Detect spilled tool results from the durable notice marker. |
Tools & surfaces
/fast— a human slash command that prints the current session's health report: load timing, spill, compaction, context-volume ranking, cache hit rate, and suggestions.fast_report— a model tool returning the same report as structured JSON (so the model can reason over it), with a human-readable text render.
Permissions & data
dsh-fast consumes only public seams: session/* and agent/* events, the optional ctx.tokenMeter, ctx.storageDomain, ctx.commands, and ctx.tools. It is strictly read-only over the session log — it never mutates the model request, tool results, or the session surface. Metrics are persisted to the dsh_fast storage domain (one bounded history per session), not to the session log. Report identity and the optional working directory are sanitized before any display or durable write.
Security boundaries
- Read-only, zero model-path overhead — folding is O(1) per event; sampling runs on a timer.
- No network, no credential handling — the plugin makes no outbound requests and stores nothing sensitive.
- Fail-loud configuration — every tunable is validated at mount; invalid bounds throw.
- Sanitized display/durable data — control characters are stripped and strings are budgeted;
cwdis off by default and path-truncated when enabled. - Reversible registrations — every contribution goes through
ctx.effect()/ctx.on()/register(), so uninstall and hot reload are clean.
Known limitations
- Storage domain, not session events — rc.2
Session.appendoffers noignorablemarker and no external event-registration surface, so a customfast/*session event would make the persistence coordinator refuse the log on restore. Metrics are therefore persisted to the storage domain; the raw events remain the reconstructable source of truth. - Spill detection is heuristic — it reads the durable spill notice (
Full … stored at:); no dedicated session event exists. - System prompt is one bucket — AGENTS.md, skill directory, and persona are all part of the assembled system prompt; since
0.1.5-alpha.1it is surface node 0 (asystem/message) and carries no per-section token accounting, so they are reported together. - Load timing starts at publication — the disk-read portion of a restore happens before
session/created(owned bysessionPersistence) and is not observable from this plugin's allowed events; the reported duration is publication-to-first-request.
Development
pnpm install
pnpm run typecheck && pnpm run typecheck:ci
pnpm test
pnpm run build
pnpm run verify:self-contained && pnpm run verify:artifacts
node scripts/check-readme-sync.mjs
pnpm pack
Topics
dsh, dsh-plugin, deepseek-harness, deepseek, cordis, performance, diagnostics, profiling, context-engineering, llm-cache
Contributors
Thanks to everyone who has contributed to dsh-fast:
- PerryLink — author and maintainer: designed and built the read-only diagnostics (session-load timing, spill-hit counts, compaction metrics, context-injection volume, LLM cache hit rate), the
/fastcommand andfast_reporttool, thedsh_faststorage domain, and the five-language documentation.
PerryLink DSH Plugin Family
This project is one of the 37 DeepSeek Harness plugins maintained by PerryLink. If this one helps you, the others likely will too:
| Plugin | One-liner |
|---|---|
| dsh-auto-review | Second-model auto-review on the approval chain, fail-closed by default |
| dsh-background-agents | Durable background child agents with a Web UI sidebar, messaging and interrupt |
| dsh-budget | Cost governance for DeepSeek Harness: budgets, carbon, and latency in one panel. |
| dsh-checkpoint-rewind | Claude Code /rewind-equivalent: snapshots, session forks, one-shot restore |
| dsh-claude-move | Migrate Claude Code sessions, memory, skills and CLAUDE.md into DSH |
| dsh-click | Cross-platform native desktop control for DeepSeek Harness — Windows first. |
| dsh-composer-history | Terminal-style input history for the web composer: arrows, Ctrl+R search |
| dsh-data-quality | Dataset quality checks and citation cross-checks (the optional numeric bridge consumed here) |
| dsh-defend | Prompt-injection, jailbreak, and secret-leak defense for DeepSeek Harness. |
| dsh-doublecheck | Engineering-discipline guard: requirements grill, test gates, adversary review |
| dsh-draw | Unified static-image generation routing for DeepSeek Harness. |
| dsh-fund-research | Deterministic research reports for Chinese public mutual funds |
| dsh-github | GitHub PR/issues integration for DSH, every write gated by approval |
| dsh-industry-research | Industry research orchestration that seals its deliverables through this plugin's ctx.researchReport.assemble |
| dsh-library | Local document knowledge base for DeepSeek Harness. |
| dsh-local-ai | Local-model (Ollama) integration for DeepSeek Harness. |
| dsh-lsp-actions | LSP diagnostics, formatting, completion, code actions and rename over language servers |
| dsh-mask | PII masking middleware: anonymize at the model boundary, restore at the display layer |
| dsh-mcp-panel | Read-only MCP runtime panel: /mcp command + Settings tab with status, tools and errors |
| dsh-memento | Approval-gated cross-session memory: ctx.memory seam + SQLite + memory tool |
| dsh-observe | OpenTelemetry and Langfuse observability exporter for DeepSeek Harness. |
| dsh-output-styles | Claude Code outputStyles-equivalent runtime style switching |
| dsh-reach | Multi-channel approval/question bridge: WeChat/Telegram/Feishu, session console |
| dsh-permission-rules | Claude Code-style declarative allow/deny/ask permission rules with audit |
| dsh-personal-directive | Personal directive injector with top-bar toggle (framework edition) |
| dsh-plugin-guide | Plugin-development knowledge base as an on-demand agent skill |
| dsh-research-report | Verifiable research-report engine: content-addressed evidence ledger and sealed versions |
| dsh-score | Multi-dimensional quality scoring for DeepSeek Harness plugins. |
| dsh-session-pin | Pin sessions in the Web sidebar with durable ordering |
| dsh-session-sync | Cross-device session sync for DeepSeek Harness — a dedicated git mirror of your session store. |
| dsh-skill-pack-security | Security-audit skill pack: secret scan, dependency and supply-chain review |
| dsh-talk | Voice-first session loop for DeepSeek Harness: talk to it, hear it answer. |
| dsh-test-drive | Isolated install-and-smoke test drives for DeepSeek Harness plugins. |
| dsh-ticktick | TickTick/Dida365 task bridge: session-header panel + 11 tools |
| dsh-translate | Vendor parameter translation and deterministic JSON repair for DeepSeek Harness. |
| dsh-wechat | WeChat ↔ DSH bridge (Tencent iLink bot): text/image/file/voice, approvals in chat |
Install from the DSH Desktop Market
All PerryLink plugins are browsable in the built-in DSH Desktop Market: Market → Sources → add source → paste https://perrylink-dsh-catalog.perrylink.workers.dev/catalog-source.json → select it. Installation still goes through the Market's npm-identity verification and your confirmation.
License
Apache-2.0 — see LICENSE.
Operate deliberately
Install and manage
Prerequisites and target Profile
Target: Deepseek Harness Profile
Delivery: Dsh Bundle Git — PerryLink/dsh-fast#f03dec1b84234601298bb6ab20cbf6d93444beec。
Verify, update, and remove
Show lifecycle commands
dsh plugin --profile deepseek-harness listCompatibility and access
DeepSeek Harness plugin; restart Profile activation declared: 0.1.2-rc.1 and 0.1.5-rc.1 declared; peer range >=0.1.2-rc.1 <0.2.0 or >=0.1.5-alpha.1 <0.2.0。
Review compatibility evidence ↗
Risk facts
Stores bounded per-session diagnostic history in the dsh_fast storage domain.
Evidence ↗Package declares a prepare lifecycle script used during installation/build workflows.
Evidence ↗Evidence and editorial reviewManifest, Bundle patch, distribution and freshness
Immutable evidence
Review status and source activity
Use the pinned Git bundle when reproducibility matters; review the declared storage behavior and lifecycle build step under your local profile policy.
AI reviewed Sep 10, 2026, 2:06 PM UTC。GitHub facts last checked Sep 10, 2026, 2:06 PM UTC。
No material source change has been recorded since this evidence baseline.