PerryLink/dsh-fast

DeepSeek Harness 的只读性能诊断:会话加载(打开/恢复)计时、溢出命中计数、压缩次数及触发条件、上下文注入量(AGENTS.md/技能/工具模式令牌占比),以及 LLM 缓存命中率,通过 /fast 命令和 fast_report 工具呈现,并保存为可重建状态。

Project Overview项目介绍

dsh-fast is a native read-only performance diagnostic plugin built exclusively for DeepSeek Harness (DSH). It observes DSH’s session event stream without touching the model’s hot execution path, collecting data on where latency is incurred and how context budget is consumed, then generates clear diagnostic reports. Users can install it via multiple standard DSH workflows: adding it from the built-in DSH Desktop Market, installing via npm with the dsh plugin add command, or pulling a specific commit from GitHub. Installing via the dsh1024 global npm package counts your installation toward the deepseek1024.com public ranking.

This plugin is targeted at DSH plugin developers and end users who want to tune their DSH session performance. It outputs a wide range of actionable performance metrics, including publication-to-first-request latency, number of events in restored sessions, tool result spill statistics, compaction counts, context volume breakdown by type, and LLM cache hit rate. It also provides automatic optimization suggestions based on configured thresholds, such as trimming unused skills, tightening tool schemas, or enabling prompt caching, to help users quickly resolve performance bottlenecks.

dsh-fast requires Node.js version ^22.19.0 or >=24.0.0, and it is ESM-only. It is officially verified to work with DSH v0.1.5-rc.2 and newer, but includes a structural fallback that maintains compatibility with older DSH versions back to 0.1.2-rc.1. All configuration options are exposed via Schemastery schema validation, so invalid configurations will throw clear errors during profile load. dsh-fast is released under the permissive open-source Apache 2.0 license, which allows free use, modification, and redistribution.

这是一款专为DeepSeek Harness(DSH)开发的原生只读性能诊断插件,仅监听DSH的会话事件流,不会干扰模型的运行路径,能够统计延迟分布和上下文预算的实际消耗情况,并输出诊断报告。通过npm i -g dsh1024安装后还会计入deepseek1024.com的安装排名,用户也可通过npm、指定git commit哈希或DSH内置桌面市场来源完成安装。

该插件面向DSH插件开发者和需要调优会话性能的用户,可输出多项关键性能指标,包括发布到首次请求的延迟、已恢复会话的事件数、工具结果溢出统计、上下文压缩次数、不同部分上下文占比、大模型缓存命中率等。它会基于预设阈值给出优化建议,帮助用户快速定位会话性能瓶颈,调整配置优化运行效率。

该插件要求Node.js版本为^22.19.0或>=24.0.0,仅支持ESM模块,适配DSH v0.1.5-rc.2及以上版本,同时对旧版本DSH做了结构回退兼容。采用Apache 2.0开源协议,所有配置项均可通过DSH配置文件修改,非法配置会在配置加载阶段抛出明确报错。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 6 stars - very few users, little community feedback星标只有 6,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile demo add dsh-fast

把 PerryLink/dsh-fast 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

⚡ dsh-fast

  • 1024 store channel: npm i -g dsh1024 once, then dsh1024 plugin --profile web add dsh-fast (counts toward the deepseek1024.com install ranking). Gitee dshfind OpenSSF Scorecard

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.

License DSH plugin dsh-doctor DSH Market Node CI Version npm version npm downloads

English · 简体中文 · Español · Português · हिन्दी

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-automode 下一个 Next dsh-hermes-link →