dsh-mode-exchange

模式交换(也叫模式切换、切换模式):在已存在的 DSH 会话中就地换掉 Agent 模式,不新建会话,系统提示词与工具集在运行时替换。也可做模式迁移(会话迁移):按目标模式重建会话并真导入原生事件序列,迁移有幂等台账、可续跑,并生成每次迁移的报告。

插件介绍

模式交换(也叫模式切换、切换模式):在已存在的 DSH 会话中就地换掉 Agent 模式,不新建会话,系统提示词与工具集在运行时替换。也可做模式迁移(会话迁移):按目标模式重建会话并真导入原生事件序列,迁移有幂等台账、可续跑,并生成每次迁移的报告。

安装方式

通过 npm 安装

dsh plugin --profile web add dsh-mode-exchange

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

从 GitHub 安装

dsh plugin --profile web add github:dasuda13/dsh-mode-exchange

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。