DSH Plugins Marketplace

DSH Plugins

Plugins

/

UI & Experience

/

dsh-plan-compact-execute

S

dsh-plan-compact-execute

Manifest valid★ 2

Add a third option, "Execute After Compression", to the plan mode approval card for the DSH Web client: first compress the context prior to plan submission into a single summary checkpoint, then approve the plan, and the model begins execution with the verbatim-preserved plan.

UI (client)hasBundlePatch

dsh-plan-compact-execute

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

Listed on dsh-plugin.org

中文 | English

它做什么

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

安装

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

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

配置

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

License

MIT

Versions

Latest versionPublishedSize
0.1.2——
0.1.0——
0.1.1——

Comments

Loading…

From the same category

dsh-desktop

by anywhere-labs

为 DeepSeek Harness (DSH) 插件生态打造的现代化桌面端解决方案。万物皆「插件」,桌面本身也是「插件」。

UI & ExperienceManifest valid

★ 30.4k

↓ 108/wk

MIT

TypeScript

Oct 10, 2026

dsh plugin --profile web add dsh-plugin-desktop

by zhu1090093659

DeepSeek Harness (DSH) Web Plugin Aggregation Ecosystem · Everything is a plugin, distributed via the Creative Workshop

UI & ExperienceManifest valid

★ 8.6k

↓ 125/wk

Apache-2.0

TypeScript

Oct 10, 2026

dsh plugin --profile web add dsh-web

A collection of independent Web UI plugins and skins, including task boards, Git graphs, mobile access, and live token stats.

UI & ExperienceManifest valid

★ 7.6k

↓ 119/wk

Apache-2.0

TypeScript

dsh plugin --profile web add dsh-web

by omdsh-dev

开放的侧边栏底座,支持三方拓展注册新侧边栏页面。内置文件渲染编辑/终端/侧边对话/Git/子代理页面 | Open sidebar foundation, supports third-party extensions to register new sidebar pages. Built-in file rendering/editing, terminal, side chat, Git,

UI & ExperienceManifest valid

★ 4.1k

↓ 38.1k/wk

MIT

TypeScript

Oct 9, 2026

dsh plugin --profile web add dsh-better-sidebar

by bowenliang123

The best DeepSeek Harness plugin for context insight and management, with context dashboard / browser / sidebar and context command, for context statistics, composition, breakdown, evolution details,

Tools & CapabilitiesTerminal & ClientsUI & ExperienceManifest valid

★ 2k

↓ 34.4k/wk

Apache-2.0

TypeScript

Oct 11, 2026

dsh plugin --profile web add dsh-context

by shaobeichen

把 DeepSeek Harness 装进你的口袋:电脑上跑 dsh web,手机扫码即同步访问(局域网 + 公网,实时同屏)Put DeepSeek Harness in your pocket: run dsh web on your computer and access it synchronously by scanning a QR code on your phone (LAN +

UI & ExperienceManifest valid

★ 1.6k

↓ 3.2k/wk

GPL-2.0

JavaScript

Sep 16, 2026

dsh plugin --profile web add dsh-pocket