Skip to content
This repository was archived by the owner on Oct 28, 2026. It is now read-only.

v0.4.1 - One-Click CLI Switcher & Zero-Risk Patch Management / 内置一键切换 CLI 与零风险补丁管理

Choose a tag to compare

@Jaylor-Wang Jaylor-Wang released this 25 Oct 16:58
· 20 commits to main since this release

English

Highlights in v0.4.1

  • Built-in Global CLI Switcher (dsh-fast-loop): Added an out-of-the-box command-line tool allowing users to effortlessly toggle between Fast Loop and the official Agent Loop (dsh-fast-loop enable, dsh-fast-loop disable, dsh-fast-loop status).
  • Surgical, Non-Destructive YAML Patching: The switcher surgically toggles the disabled state in cordis.patch.yml while strictly preserving all existing comments, other plugin configurations, and !!js expressions, completely eliminating YAML indentation and corruption risks.
  • Immediate Live HMR Integration: Seamlessly cooperates with DSH's live patch reload mechanism, applying loop switches without needing manual text editor intervention.

中文 (Chinese)

v0.4.1 核心更新

  • 内置全局一键开关 CLI(dsh-fast-loop):引入原生命令行工具,支持在任意终端直接运行 dsh-fast-loop enable、dsh-fast-loop disable 与 dsh-fast-loop status,实现高性能内核与官方原生内核之间的无缝秒级切换。
  • 外科手术式非破坏性 YAML 补丁:自动定位 ~/.dsh/profiles/web/cordis.patch.yml,精准切换目标服务的 disabled 状态,100% 完整保留原有文件的所有注释、其他插件配置与 !!js 表达式,彻底消除手写 YAML 缩进错误风险。
  • 无缝对接 DSH Live HMR:与 DSH 官方热重载机制完美融合,执行命令后系统即刻平滑热重载生效。