dsh-polish

需要你做的 UI 验收(重启后逐项过一遍) 1. 书本图标右侧出现四角星按钮:细线空心、四角顶点小圆点、浅灰,与相邻按钮同尺寸,深色主题正常 2. 悬浮显示「优化并细化当前用户输入」 3. 权限下拉切 Read Only → 按钮置灰;切回恢复 4. 空输入点击 → Toast「请先输入内容再进行优化细化」 5. 有文本点击 → loading 旋转 → 全文覆盖(非追加)→ 光标在末尾可直接续写 6. 优化质量抽查:保留原意、逻辑通顺、无废话、语气一致、无解释性前后缀 7. 机器回复运行中按钮置灰;+新增/Read Only/书本图标/发送等原功能无回归

插件介绍

需要你做的 UI 验收(重启后逐项过一遍) 1. 书本图标右侧出现四角星按钮:细线空心、四角顶点小圆点、浅灰,与相邻按钮同尺寸,深色主题正常 2. 悬浮显示「优化并细化当前用户输入」 3. 权限下拉切 Read Only → 按钮置灰;切回恢复 4. 空输入点击 → Toast「请先输入内容再进行优化细化」 5. 有文本点击 → loading 旋转 → 全文覆盖(非追加)→ 光标在末尾可直接续写 6. 优化质量抽查:保留原意、逻辑通顺、无废话、语气一致、无解释性前后缀 7. 机器回复运行中按钮置灰;+新增/Read Only/书本图标/发送等原功能无回归

安装方式

通过 npm 安装

dsh plugin --profile web add dsh-polish

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:zhangxingong/dsh-polish

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.

版本兼容情况

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

安装提示

  • 可能调用终端命令