Skip to content

Releases

v0.5.11 — 统一为 dsh-plugin-trim(合并 0.3.1–0.5.9)

Choose a tag to compare

@github-actions github-actions released this 29 Nov 01:28

v0.5.11 — 统一为 dsh-plugin-trim,拆出 recipe,合并 0.3.1–0.5.9

这是 2026-11-20 至 11-22 之间 20 个碎版本的合并发布。仓库在 20 天里发了 28 个版本,
碎版本曲线会把“维护活跃”读成“发布失控”,因此把 v0.3.1–v0.5.9 的 tag 与 Release
合并为一次 v0.5.11;npm 上这些旧版本仍然存在且可安装,映射表见
docs/release-history.md。

为什么是 0.5.11

原本计划发布 0.5.10,但发布过程中 npm registry 反复返回 409(“previously published /
previously staged”)。该版本号随后被以 0.5.11 重新发布,0.5.10 在 registry 里留下了一个
短暂发布、没有 release 对应的空壳版本;安装请用 latest(0.5.11),不要固定到 0.5.10。

安装

npm i dsh-plugin-trim

装完打开 设置 → 插件体检;如果没出现,重启 DSH 并确认当前工作区已安装该依赖。

本次变化

  • 改名:GitHub 仓库统一为 dsh-plugin-trim(旧链接自动重定向);README、文档、
    市场索引、宣传站全部换到新名字与新 URL。内部 API 前缀与数据目录保持不变,
    已有安装、快照和审计历史不受影响。
  • 拆仓:工作流蓝图 dsh-plugin-recipe 迁到
    独立仓库,冻结在 0.3.11;
    主仓不再构建、不再发布该包。
  • 发布治理:pnpm verify 增加命名检查;release 工作流增加 tag 与包版本一致性检查。

0.3.1–0.5.9 的主要用户可见变化

  • 四维体检结论驾驶舱(加载 / 兼容 / 上下文 / 压缩链路),结论可点击下钻。
  • 只读压缩链路审计:双后端、缺后端、阈值冲突直接告警,活跃后端受保护。
  • 应用后实测收益:应用前记录基线,重启后结算差值;负收益标“优化后反而增加”并可一键回滚。
  • 体检历史趋势、类别构成、宿主基线、一键复制 Markdown 报告。
  • 上下文预算、后台更新、5 步教程、简洁 / 完整视图。
  • 默认 conservative 建议策略;应用仍需 confirm + 宿主审批 allowed-once。

兼容性

  • DSH >=0.2.2-rc.1 <0.3.0,Node >=20,许可证 AGPL-3.0-only。
  • 内部 API(/api/dsh-experience-optimizer/*)与数据目录($DSH_HOME/experience-optimizer/)
    未变,旧版本写入的快照与审计继续可读。

v0.2.7

Choose a tag to compare

@github-actions github-actions released this 20 Nov 01:30
  • Republished 0.2.6 as 0.2.7 because the npm registry served a persistent 404 for the dsh-plugin-trim-0.2.6.tgz tarball while its metadata and latest tag were already visibl…
  • No runtime code changes.

安装:npm i dsh-plugin-trim

v0.2.5

Choose a tag to compare

@github-actions github-actions released this 20 Nov 00:43
  • npm is now the primary install source everywhere: README, package READMEs, market copy, and the format-1 DSH market index.
  • The market index now uses source.type: "npm" for both plugins; install targets are dsh-plugin-trim@0.2.5 and dsh-plugin-recipe@0.2.5.
  • No runtime code changes.

安装:npm i dsh-plugin-trim

v0.2.4

Choose a tag to compare

@github-actions github-actions released this 14 Nov 13:04
  • Web console APIs now fail closed: if the DSH Connection service is missing, lacks requestRejection, or throws, the request is rejected with 401. They no longer fall back t…

安装:npm i dsh-plugin-trim

v0.2.3

Choose a tag to compare

@github-actions github-actions released this 14 Nov 12:50
  • A top-level 体验优化 settings section directly below Agent presets, with a clear sliders icon. Users can open the console without going through Built-in plugins → tabs.
  • The existing Built-in plugins tab remains available.

安装:npm i dsh-plugin-trim

v0.2.2

Choose a tag to compare

@github-actions github-actions released this 08 Nov 06:52
  • Redesigned the Web console to follow the native DSH settings language: removed the orange hero/orb, gradient cards, and colored metric bars; native typography, .5px borders, c…

安装:npm i dsh-plugin-trim

v0.2.1

Choose a tag to compare

@github-actions github-actions released this 08 Nov 06:22
  • The Web console's slim-suggestion list now hides protected keep rows, so a profile with many protected plugins shows only actionable suggestions; an empty state explains when …
  • Metric cards use auto-fit columns so four cards do not get cramped inside the Settings modal.

安装:npm i dsh-plugin-trim

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 08 Nov 06:17
  • Web console for dsh-plugin-trim, registered as the Settings → Plugins → 体验优化 tab: context and compatibility overview; explainable slim suggestions with low-risk selection …
  • Same-origin host APIs: /api/dsh-experience-optimizer/overview|suggest|apply|rollback; /api/dsh-experience-optimizer/recipe/plan|export.
  • dsh-shared-meta/http.ts for origin checks, bounded JSON bodies, and JSON responses.
  • dsh.client / exports["./client"] packaging for the browser half; packaging verification now checks the client bundle.
  • UI APIs validate the DSH browser session through Connection requestRejection() and reject cross-site requests; unauthenticated calls return 401.
  • Apply still requires confirm: true, low-risk items only, snapshots, and automatic rollback on failure.
  • 其余 3 项见 CHANGELOG.md

安装:npm i dsh-plugin-trim

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 08 Nov 05:26
  • dsh-plugin-trim host bundle: read-only plugin/context scan with real prompt section/tool token estimates; compatibility matrix for plugin↔plugin, plugin↔DSH/Node/platform, and…
  • dsh-plugin-recipe host bundle: four-question wizard that translates a business goal into a workflow blueprint; weekly-report and generic templates; validation for dependencies…
  • dsh-shared-meta private workspace package, inlined into both plugin bundles.
  • Format-1 DSH plugin market index generator and submission packet.
  • Promotional banner/social image and localized marketing copy.
  • GitHub Actions CI and tag-based npm release workflow.
  • 其余 1 项见 CHANGELOG.md

安装:npm i dsh-plugin-trim