Skip to content

Releases

v0.4.1

Choose a tag to compare

@a903067276-rgb a903067276-rgb released this 29 Sep 01:05

Fix

  • DSH 0.2 support. Since 0.2 the host gates profile bundles on peer compatibility: a plugin whose declared peer range misses the running host is skipped entirely (skipping profile bundle), which silently removes its tools and routes. The @deepseek-ai/dsh peer is now ^0.1.7-rc.1 || ^0.2.0-rc.1, and dsh.compatibility.dshReleases declares "0.2.0-rc.1": "compatible" after verification on a real 0.2.0-rc.1 host and a shadow instance.

Version compatibility

  • DSH 0.1.7 and later (including 0.2.0-rc.1) — this release (v0.4.1): peer range ^0.1.7-rc.1 || ^0.2.0-rc.1; dsh.compatibility.dshReleases marks 0.1.7-rc.1 / 0.1.7-rc.2 / 0.2.0-rc.1 as compatible.
  • DSH 0.1.5 and older — previous tag v0.3.2 (dsh plugin add github:a903067276-rgb/plan-switch#v0.3.2): keeps the old behavior and uses no 0.1.7-only API.
  • Compatibility with older DSH versions is best-effort only; this plugin tracks the latest DSH releases.

中文说明

  • 兼容 DSH 0.2。 0.2 起宿主按 peer 范围门禁 profile bundle:范围不覆盖当前运行时的插件会被整包跳过(日志 skipping profile bundle),插件工具与路由会一起静默消失。现将 @deepseek-ai/dsh peer 改为 ^0.1.7-rc.1 || ^0.2.0-rc.1,并在 dsh.compatibility.dshReleases 声明 "0.2.0-rc.1": "compatible"(已在 0.2.0-rc.1 真机与影子实例上验证)。

版本兼容

  • DSH 0.1.7 及以后(含 0.2.0-rc.1)—— 装本版(v0.4.1):peer 范围 ^0.1.7-rc.1 || ^0.2.0-rc.1;矩阵中 0.1.7-rc.1 / 0.1.7-rc.2 / 0.2.0-rc.1 均为 compatible。
  • DSH 0.1.5 及更早 —— 装上一版 tag v0.3.2:保持旧行为,不含 0.1.7 专用 API。
  • 旧版 DSH 兼容为 best-effort(尽力而为、不保证);本插件跟随 DSH 最新版本演进。

Plan Switch v0.4.0 — DSH 0.1.7 ready

Choose a tag to compare

@a903067276-rgb a903067276-rgb released this 24 Sep 01:18

DSH 0.1.7+ only. This release declares peerDependencies: {"@deepseek-ai/dsh": ">=0.1.7-rc.1 <0.2.0"} — a mismatched host refuses to load it with an explicit reason instead of failing quietly.
On DSH ≤ 0.1.5 install v0.3.2 instead (unchanged behavior, no 0.1.7-only API).

What changed

  • Metadata only: localized title/description + icon for the official plugin manager, plus an explicit peer range. No behavior change.

Verification

  • Tested in a shadow instance (DSH 0.1.7-rc.1 + all seven plugins): load, settings cards, live config writes, disable/enable, real turn.
  • main is intentionally not merged yet; that happens after the host upgrade (install from this tag, or from main once merged).

仅支持 DSH 0.1.7 及以上:本版声明 peerDependencies: {"@deepseek-ai/dsh": ">=0.1.7-rc.1 <0.2.0"},宿主不匹配会明确拒绝加载并说明原因,不再静默出错。
DSH ≤ 0.1.5 请装 v0.3.2(行为不变,不含 0.1.7 专用 API)。

  • 只补元数据:本地化名称/描述 + 图标(官方插件管理页显示),加 peer 兼容声明。无行为变化。

已在影子实例(0.1.7-rc.1 + 七个插件)实测:加载、设置卡、免重启改配置、停用/启用、真实回合。main 暂不合并,等正本升级后再合。

v0.3.2

Choose a tag to compare

@a903067276-rgb a903067276-rgb released this 22 Aug 00:49

Features / 新功能

  • commands.execute 自适应:先按 rc.8+ 的 3 参契约调用,rc.6/rc.7 报参数错误时自动降级 2 参重试——rc.6/rc.7 用户从此可直接装 main,无需 v0.3.0

Version compatibility / 版本兼容

  • DSH >= 0.1.0-rc.6(含 0.1.1-rc.1/rc.2):安装 main(全功能)

Features

  • Auto-adaptive commands.execute: calls with the 3-argument contract (rc.8+) and degrades to the 2-argument one on rc.6/rc.7 — main works everywhere, v0.3.0 is no longer needed

Version compatibility

  • DSH >= 0.1.0-rc.6 (incl. 0.1.1-rc.1/rc.2): install main (full features)

v0.3.1

Choose a tag to compare

@a903067276-rgb a903067276-rgb released this 21 Aug 15:33

Docs

  • README (EN/ZH): version compatibility table — DSH 0.1.0-rc.8 and newer (incl. 0.1.1-rc.1) → main (v0.3.1+); DSH 0.1.0-rc.6 – 0.1.0-rc.7 → v0.3.0 (2-argument commands.execute contract, dsh plugin add github:a903067276-rgb/dsh-plan-switch#v0.3.0).
  • Minimum supported DSH is now 0.1.0-rc.8 — the current code calls the official commands.execute with its 3-argument contract (added in rc.8; rc.6/rc.7 use 2 arguments and reject the call); documented the 3-argument call in How it works.

文档

  • README(中/英)版本对照表:DSH 0.1.0-rc.8 及以上(含 0.1.1-rc.1) → main(v0.3.1+);DSH 0.1.0-rc.6 – 0.1.0-rc.7 → v0.3.0(2 参 commands.execute 契约,dsh plugin add github:a903067276-rgb/dsh-plan-switch#v0.3.0)。
  • 最低支持 DSH 声明改为 0.1.0-rc.8——当前代码调用官方 commands.execute 的 3 参契约(rc.8 起;rc.6/rc.7 是 2 参,会被拒绝);工作原理段补 3 参调用说明。

v0.3.0

Choose a tag to compare

@a903067276-rgb a903067276-rgb released this 18 Aug 08:51

Features

  • Official dsw-styled plan toggle button (28px, theme-aware)
  • Button hides while Plan mode is active — official Plan card takes over (no double indicator)

中文说明

切换按钮换官方 dsw 图标样式;Plan 模式激活时按钮隐藏,由官方卡片接管(避免双指示)。