DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Plan Compact Execute — DSH Plugin for DeepSeek Harness
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins

dsh-plan-compact-execute

Plan Compact Execute

Adds a Compact-and-run option to the DSH Web plan-review card: compact the history submitted before the plan, then approve it.

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add dsh-plan-compact-execute@0.1.2
READMECompatibilityVersions

Compatibility and provenance

Plan Compact Execute is published as dsh-plan-compact-execute and currently resolves to version 0.1.2. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
npm
Registry updated
10/2/2026

Versions

0.1.2stable
10/2/2026
0.1.1stable
9/29/2026
0.1.0stable
9/29/2026

Related plugins

Loading related plugins…

Latest
0.1.2
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
108.8 kB
Files
11
Surface
web
License
MIT
Source
npm
GitHub
★ 2
Weekly downloads
0
Last push
10/2/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

Related plugins

More verified plugins in agents-orchestration.

Headless@deepseek-ai/dsh-headlessThe dsh one-shot bundle: a direct core Agent/Session runner over dsh-base with no Host, HTTP, or browser layerExperimental Agent Team Profile@deepseek-ai/dsh-experimental-agent-team-profileAgent Teams collaboration, tools, and Web UI in one experimental bundleExperimental Ralph Bundle@deepseek-ai/dsh-experimental-ralph-bundleRun explicitly requested repeated work with fresh agents.Hindsight Coding Agents@vectorize-io/hindsight-coding-agentsReflect-only Hindsight long-term memory for coding agents (harness-pluggable: opencode, …), with automatic background ingestion (no setup CLI).

README

dsh-plan-compact-execute

为 DSH Web 客户端的 plan 模式审批卡片增加第三个选项「压缩后执行」:先把计划提交之前的上下文压缩成一条摘要检查点,再批准计划,模型带着逐字保留的计划开始执行。

中文 | English

它做什么

View image

  • 在审批卡片的标题行增加一个「压缩后执行」按钮。
  • 按钮左侧的圆环显示当前上下文占用(悬停显示具体数值)。
  • 点它以后先把该会话中计划提交之前的历史压成摘要,再以问题自带的批准标签(exit_plan_mode 的 Approve)回答挂起的问题,计划模式随即退出。
  • 计划正文、审批原文与未完成的工具批次逐字保留;计划之前的探索历史被替换成摘要检查点(对话流里显示为「已压缩」)。
  • 压缩期间整张审阅卡会被一张进度卡替换,避免第二次决策在宿主改写历史的中途落地。

安装

CLI安装

dsh plugin --profile web add dsh-plan-compact-execute

网页版/桌面版插件管理安装

官方插件面板->右上角 +添加插件->填入插件名(dsh-plan-compact-execute)或仓库地址

https://github.com/SpookyWaste/dsh-plan-compact-execute
要求值
Node24(测试套件下限 22.15)
DSH0.1.7-rc.2 / 0.2.0-rc.2
  • 宿主半区是加载的 JS 产物,改动后需要重启网关
  • 客户端束由 dsh-client-modules 监视,会热替换

为什么不是 /compact

/compact 走 ctx.compaction.compactNow(),它抢占 agent 的真正空闲相位;而计划审批发生在 exit_plan_mode 工具调用内部,agent 正处于 turn 中,那条路必然失败。

本插件走 ctx.compaction.compactRegion(...) —— 与自动压力压缩同一条「turn 内压缩」路径:压缩三元组落在工具调用与其批准回执之间(实测 call seq=37 < compaction seq=38 < result seq=42),也就是「先压缩、后批准」。

/compact 的保留策略只留最后一条表面事件,用在审批卡片上会把计划本身一起遮蔽进摘要;本插件保留到未完成工具批次为止,计划因此保持逐字可见。

计划不会被压缩

「压缩后执行」的跨度是待审工具批次之前的全部历史,所以计划正文、审批原文与那条未回答的 exit_plan_mode 调用始终在跨度之外:压缩只会把更早的探索历史(以及更早的检查点本身)换成摘要。

配置

字段默认含义
minShadowedTokens2000可压缩区间按路由计价至少要有这么多 token,否则直接批准(宿主记一条日志)
- id: plan-compact-execute
  name: dsh-plan-compact-execute
  config:
    minShadowedTokens: 4000

License

MIT