Skip to content

Releases

v0.5.9

Choose a tag to compare

@github-actions github-actions released this 22 Nov 04:27
  • Draft items and the confirmation dialog show the exact enablement transition (enabled → disabled / disabled → enabled).
  • The draft toolbar can select strong evidence only before applying.
  • The context-budget field has quick presets (Off / 20k / 50k / 100k).

安装:npm i dsh-plugin-trim

v0.5.8

Choose a tag to compare

@github-actions github-actions released this 22 Nov 04:20
  • A user-owned context budget (contextBudget, default 0 = off): when attributable context exceeds the budget, the context verdict turns amber and the metric shows budget usa…
  • Over-budget context now adds a “查看上下文” action to the verdict, and the copied report includes budget usage.
  • The settings apply bar is sticky at the bottom, so it stays reachable after editing fields near the top.

安装:npm i dsh-plugin-trim

v0.5.7

Choose a tag to compare

@github-actions github-actions released this 22 Nov 04:09
  • The compaction card names the single effective backend and explicitly says “undetermined” when multiple backends are active instead of guessing from load order.
  • The draft summary and apply confirmation show the estimated token release for selected low-risk items (character estimate, clearly labelled).
  • The settings page defaults to a simple view: healthy/advanced cards (inventory, empty compatibility, capability with no items, diagnostics) are hidden until “完整视图” is enable…

安装:npm i dsh-plugin-trim

v0.5.6

Choose a tag to compare

@github-actions github-actions released this 22 Nov 03:56
  • The verdict’s “Build slim plan” action now generates the draft directly instead of only scrolling to the draft card.
  • The copied checkup report follows the current UI language; English reports no longer contain Chinese headings.
  • About page and generated promo banners use the current “先体检,再决定关什么” positioning instead of the old tagline.

安装:npm i dsh-plugin-trim

v0.5.5

Choose a tag to compare

@github-actions github-actions released this 22 Nov 03:45
  • The checkup history now includes an install receipt: newly added bundles are shown with their current attributable token cost, and newly added capability groups are called o…
  • The context card can expand “unattributed” into its top sections/tools, with a note that unattributed tokens never become close suggestions and can be mapped through toolOwners.
  • Unified the four first-run paths around one story: read the verdict, check the compaction stack, build a plan, apply, then measure after restart.
  • Refreshed the tutorial/main guide/activation counts and copy so they no longer point at the old “scan first” or workflow-recipe path.
  • The first-run guide now sizes its step list to the number of steps, so the eight-step path is not clipped in a 180px scroll box.
  • Added a two-frame (4-second loop, 800×900) walkthrough GIF, a sharper README positioning section, and a complete promotional copy pack.

安装:npm i dsh-plugin-trim

v0.5.4

Choose a tag to compare

@github-actions github-actions released this 22 Nov 03:06
  • Optional peer dependencies no longer produce PP_MISSING_PEER_BUNDLE warnings when the user has not installed them.
  • An unsupported optional bundle is now a warning instead of a blocking error; it no longer turns the whole verdict red on platforms that simply skip it.
  • The capability surface no longer lists official base-layer !!js wiring as a third-party capability; only non-core patch layers are shown.
  • The verdict banner is a two-row grid, keeping the check pills horizontal and the action buttons aligned at 760px panel width.
  • Replaced the stale console preview with real screenshots of the current verdict, compaction stack, capability, and context view.

安装:npm i dsh-plugin-trim

v0.5.3

Choose a tag to compare

@github-actions github-actions released this 22 Nov 02:50
  • Ecosystem category rollup: the context card groups attributable tokens by core / UI / context-memory / tools / workflow / integration / other, so users can see which categor…
  • Copy checkup report: one click copies a Markdown summary (verdict, context, compaction stack, capability surface, findings, history, measured result) for sharing in an issue…
  • Host baseline: the context card shows host RSS and uptime, explicitly labelled process-level and not attributable to a single plugin.
  • An apply no longer fails if the baseline scan or the verification receipt cannot be written; verification is best-effort and never rolls back a successful apply.

安装:npm i dsh-plugin-trim

v0.5.2

Choose a tag to compare

@github-actions github-actions released this 22 Nov 02:40
  • Checkup history: a real sparkline and a “since last checkup” diff (added/removed bundles and attributable-token delta). Snapshots are throttled to one per 10 minutes, capped…
  • Clear the measured receipt after rollback: a rolled-back apply no longer shows an outdated “saved tokens” result.
  • Label the settled result as 上次实测 / Last measured so it is not read as a live, current measurement.

安装:npm i dsh-plugin-trim

v0.5.1

Choose a tag to compare

@github-actions github-actions released this 22 Nov 02:32
  • Apply verification: before an apply, trim records attributable tokens and the enabled bundle set; after the restart, the next checkup settles the measured delta and marks th…
  • Capability surface: a read-only card lists shell, file-write, network, MCP, and !!js patch capabilities. It is explicitly a static surface, not a security audit, and never…
  • The context card now shows the last measured apply result next to the context mix, and the apply-result card shows the pending baseline.
  • GET /overview returns verification and capability.
  • Versioning is now patch-first: minor/major requires explicit user approval and at least 1000 net lines of code change (or a breaking API).

安装:npm i dsh-plugin-trim

v0.5.0

Choose a tag to compare

@github-actions github-actions released this 22 Nov 02:15
  • 体检结论: GET /overview now returns a four-check verdict (load, compatibility, context, compaction). The settings page shows one summary bar with status pills and action butto…
  • 压缩链路体检: a read-only compaction stack audit classifies backends, tool-result pruners, image offload, /compact, threshold owners, archives, and other participants. It warns …
  • Backend protection: active compaction backends are added to the trim protection set, so the checkup never suggests disabling the only backend.
  • Issue-aware composer warning: the composer reminder now speaks only when the verdict needs attention (for example two compaction backends); otherwise it keeps the existing o…
  • CompatReport gains an optional compaction stack; GET /overview returns verdict, compaction, and recipeAvailable.
  • New compatibility codes: PP_COMPACTION_BACKEND_DUPLICATE, PP_COMPACTION_BACKEND_MISSING, PP_COMPACTION_THRESHOLD_CONFLICT, PP_COMPACTION_THRESHOLD_OUT_OF_RANGE, `PP_COMP…

安装:npm i dsh-plugin-trim