DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Context Compression Improved — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins

dsh-context-compression-improved

Context Compression Improved

DSH 插件 dsh-context-compression-improved

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add dsh-context-compression-improved@0.1.1
README兼容性版本
Context Compression Selector settings UI

说明

DSH 插件 dsh-context-compression-improved

兼容性与来源证明

Context Compression Improved 以 dsh-context-compression-improved 发布,当前版本为 0.1.1。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
npm
Registry 更新时间
2026/9/20

版本

0.1.1stable
2026/9/15

相关插件

正在加载相关插件…

最新版
0.1.1
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
12.8 MB
文件数
28
Surface
web
许可证
MIT
发布源
npm
GitHub
★ 1
周下载
786
安全扫描
✓ v0.1.1 扫描通过
最近提交
2026/9/19
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

README

dsh-context-compression-improved

The installable Product Bundle for the unofficial community DeepSeek Harness context-compression selector.

0.1.0 highlights: DeepSeek V4 Flash Vision's official tokenizer is included; users can choose the model-driven Auto Compact threshold; standard profile watermarks and compression parameters follow that choice.

dsh plugin --profile web add dsh-context-compression-improved@latest
dsh --profile web --dump-config

This one command installs the Bundle and its pinned @huggingface/tokenizers dependency; there is no separate runtime package. The Bundle contributes Host settings, the Web UI, and a reversible preset overlay. All presets except the exact built-in minimal id receive the compression stack; switching non-Minimal presets preserves the saved selector settings. Minimal pauses plugin compression without deleting the setting.

What it provides

It provides deterministic Fresh, Aggregate, History, Native tool-result, and Custom TailTrim compression; a plugin-owned context_compression_retrieve recovery tool; structured audit records; and a pinned offline DeepSeek V4 tokenizer. It uses only public DeepSeek Harness APIs and supports both 0.1.1-rc.2 and 0.1.2-alpha.5; it does not patch Harness core.

Lossy rewrites require exact same-revision counts before and after replacement. Verified model ids are deepseek-v4-flash, deepseek-v4-pro, and deepseek-v4-flash-vision-exp. Vision text counting uses the separately pinned deepseek-ai/DeepSeek-V4-Flash-Vision-Exp tokenizer. Vision images use the official image-processor arithmetic validated against official golden fixtures and are reported as tokenizer-estimate: the four alignment residues over valid intrinsic dimensions are collapsed to their midpoint, with 384 tokens retained as the per-image upper bound; malformed or unevaluable dimensions use a fixed 256-token fallback. The estimate is not exact because the absolute prompt position and the adapter's final image projection are not publicly observable. Image-bearing tool-result candidates remain exact-ineligible and intact; unknown models, unavailable tokenizer assets, unsafe tool groups, and incomplete text measurements still fail open.

Audit log records use the prefix context-compression audit and distinguish policy snapshots, skipped/disabled components, committed rewrites, fail-open errors, and observed core compaction/summary events. No audit record contains prompt or tool-result content.

The first policy-frozen record carries the complete settings/deployment snapshot. It is emitted through the Harness logger, so its retention follows the configured log sink; standard prune/replacement Session events remain the durable proof of committed rewrites. This package does not hard-code a private path below ~/.dsh.

Verified compatibility: DeepSeek Harness dsh-v0.1.1-rc.2 and dsh-v0.1.2-alpha.5, Node ^22.19.0 || >=24. No Harness core patch is required.

See the full README for profiles, defaults, audit evidence, Adaptive/cache limitations, upgrade/removal, and security guidance. Tokenizer provenance and checksums are in assets/deepseek-v4/manifest.json and assets/deepseek-v4-vision-exp/manifest.json, summarized in THIRD_PARTY_NOTICES.md. This package is not affiliated with or endorsed by DeepSeek.

相关插件

继续浏览 memory-context 分类下经过校验的插件。

Memory Plugin@openviking/dsh-memory-plugin适用于 DeepSeek Harness 的 OpenViking 记忆与上下文套件Contextdsh-context用于上下文洞察和管理的 DeepSeek Harness 插件,提供上下文仪表板和上下文命令,帮助了解上下文的构成及其演变过程。Weknora@wxg-prc-cpg/dsh-weknora适用于 DeepSeek Harness (dsh) 的 WeKnora 知识检索工具:通过自有知识库进行语义搜索、文档阅读以及 RAG/代理回答。Memsearch Dsh@zilliz/memsearch-dsh适用于 DeepSeek Harness 的 MemSearch 插件:在多个代理之间共享 Markdown 记忆,支持捕获、步骤前上下文注入、记忆召回技能和技能候选审核面板。