DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

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

@local/dsh-vcc

Vcc

用于 DeepSeek Harness 的确定性、无需 LLM 的对话压缩(VCC),支持无损(#N)召回;改编自 pi-vcc(MIT)。

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

npx -y @deepseek-ai/dsh plugin --profile web add github:mpetruc/dsh-vcc#268fb610f55358be0a9ac723091964b83cded612
README兼容性版本

兼容性与来源证明

Vcc 以 @local/dsh-vcc 发布,当前版本为 1.0.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
any
发布来源
github
Registry 更新时间
2026/9/26

版本

1.0.0stable
2026/9/26

相关插件

正在加载相关插件…

最新版
1.0.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
any
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/9/28
查看源码 ↗
README Badge

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

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

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

认领这个 Plugin →
报告问题

相关插件

继续浏览 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/代理回答。Mnemondsh-mnemon适用于 DeepSeek Harness 的可组合、基于视图的记忆。支持可插拔的数据源和策略,并开箱即用地提供分层记忆。

README

dsh-vcc

Deterministic, no-LLM conversation compaction for DeepSeek Harness, with lossless recall — adapted from pi-vcc's view-oriented compiler approach.

When a session grows past its window, instead of paying an LLM to compress the history, dsh-vcc compiles the conversation into a structured, stable summary:

  • [Session Goal] / [Files And Changes] / [Commits] / [Outstanding Context] / [User Preferences] header sections, merged across compactions (dedup, cross-compaction file merge, volatile sections rebuilt fresh);
  • a ranked brief transcript (--- separated) whose messages keep lossless (#N) references into the session log.

(#N) is the event seq — the same index vcc_recall searches — so anything compaction drops stays one deterministic call away:

vcc_recall(query: "redis cache decision")     → ranked, paged hits (#N)
vcc_recall(expand: [42])                       → full untruncated content
vcc_recall(query: "#42:auth.ts")               → drill into a file from an entry
vcc_recall(query: "#42:auth.ts:full")          → all lines of that file content
vcc_recall(mode: "touched")                    → files worked on, with entry indices
vcc_recall(scope: "all")                       → also reach edited/retried branches

Also ships /vcc (preview the summary the next compaction would write, with no mutation) and /vcc-recall (the tool as a human command).

Layout

PathRole
index.jsDshVccCompactionEngine (default export) — extends the basic backend, overrides its summarize hook with the deterministic pipeline; registers the recall tool and commands.
lib/dsh-adapter.jsDSH message → pi message shape (tool-call id→name correlation, reasoning policy).
lib/session-source.jsSession events → message streams (lineage = live surface, all = full log).
lib/engine-util.jsseq alignment for (#N) refs; previous-summary extraction.
lib/drill-down-dsh.js#N:path drill-down, re-rooted on session events.
lib/recall-tool.jsvcc_recall tool + shared recall algorithm.
lib/commands.js/vcc and /vcc-recall human commands.
src/The pi-vcc core pipeline compiled to ESM (MIT, see NOTICE): normalize, filter-noise, sections, rank, build-sections, summarize, search-entries, render-entries, format-recall, recall-scope, extract/*.
cordis.patch.ymlEnables the engine inside the preset's compaction group and disables the preset's stock LLM backend.
node_modules/@deepseek-ai/*Symlink farm to the harness checkout packages the bundle imports at module-eval time (see below).

How it works

  • The bundle mounts one service row (dsh-vcc) into the cordis agent preset's compaction group and disables the preset's stock compaction-basic row in the same group. Preset sessions then resolve ctx.compaction to DshVccCompactionEngine — a subclass of the basic backend that keeps all of its machinery (threshold/overflow auto triggers, region selection, (maxTokens) shrink gate, retry backoff, durable session mutation, compaction/summary events) and replaces only the summarize hook with compileRanked from the ported pi-vcc core.
  • Alignment: buildSummarizationInput hands the engine the exact messages it plans to shadow; messages are the durable surface objects, so an identity map (Map<Message, seq> built from session.surface.nodes) recovers each message's event seq, fail-closed. The summary's (#N) refs and vcc_recall's indices are the same seqs — self-consistent by construction.
  • The compiled result is returned as { summary, rawOutput, provider: 'dsh-vcc', model: 'deterministic' } with no llmStreamCall — the non-LLM branch of the backend's SummaryResult. An empty compile throws, so the backend treats it like a summarizer that produced nothing (retry/error path).

Install & verify

plugin_manager  →  install_bundle  →  target: /home/user1/dsh-compaction/dsh-vcc
  • install_bundle records @local/dsh-vcc: link:<this dir> in the profile's package.json and applies cordis.patch.yml; no restart is needed on first install.
  • Confirm: cordis_inspect_query (Host Config / Tool / Service), then run /vcc in a cordis-preset session to see the live deterministic preview, and /compact to compact. vcc_recall then answers questions about the shadowed history.
  • Replacing an already-installed version of the same package still needs a profile restart to load the new module generation.

Known scope (v1)

  • Activates for the cordis preset only (the patch targets the last-occurring rows in the composed profile). standard / ptc / minimal presets keep their stock compaction backend.
  • Deterministic by design: no LLM calls, no network, no nondeterminism — identical input always produces identical output.
  • Only the current session is searchable; earlier sessions are not.

Attribution

dsh-vcc is a port of pi-vcc (MIT) — itself derived from pi-blackhole (by k0valik, MIT) and invisible-continue (by monotykamary, MIT). The compiled core under src/ is the pi-vcc pipeline (normalize, filter-noise, build-sections, rank, summarize, extract/*, search/render/format-recall, recall-scope) with only its load-messages/JSONL layer replaced by lib/session-source.js and its drill-down re-rooted on session events. See NOTICE for the full license texts.