需要你做的 UI 验收(重启后逐项过一遍) 1. 书本图标右侧出现四角星按钮:细线空心、四角顶点小圆点、浅灰,与相邻按钮同尺寸,深色主题正常 2. 悬浮显示「优化并细化当前用户输入」 3. 权限下拉切 Read Only → 按钮置灰;切回恢复 4. 空输入点击 → Toast「请先输入内容再进行优化细化」 5. 有文本点击 → loading 旋转 → 全文覆盖(非追加)→ 光标在末尾可直接续写 6. 优化质量抽查:保留原意、逻辑通顺、无废话、语气一致、无解释性前后缀 7. 机器回复运行中按钮置灰;+新增/Read Only/书本图标/发送等原功能无回归
What it doesAI
Adds a button to polish and refine the current user input, replacing the text with an optimized version.
- Adds star button beside book icon to polish user input
- Overwrites input with refined text after loading state
- Disabled when empty, read-only, or machine reply running
AI-generated from the repo README — for reference only.
Installation
dsh plugin --profile web add github:zhangxingong/dsh-polishsecurity scan passed · default branch source
Install method: GitHub · sandbox install verified (L4)
Verification & Compatibility
L1–L3 are registry / install-spec static checks — constant across dsh versions.
External credentials (plugin-level): none detected
dsh 0.1.2-alpha.1currentL5 · verified
- • Node.js: v24.14.0
- • DSH: 0.1.2-alpha.1
ID: dsh-polish-20260902T232746Z · profile: l5-web-smoke
Issued: 2026-09-02 · expires: 2026-12-01
View checks & evidence
↳ carried from earlier record dsh-polish-20260902T044820Z (l3-fullscan)
↳ carried from earlier record dsh-polish-20260902T044820Z (l3-fullscan)
↳ carried from earlier record dsh-polish-20260902T044820Z (l3-fullscan)
active in loader tree (149 entries)
Author badges
Embed the official badges in your README to showcase security & install-test status:
`[](https://www.dsh.so/artifact/dsh-polish/)``[](https://www.dsh.so/artifact/dsh-polish/)`Security Report
Automated static scan, not manual review.
Vet static analysis found no suspicious behavior — verdict is clean.
0.1.0dsh manifest9c597811a38e2026-09-029c597811a38eclean · gitscore 100Vet is an AST static scan (npm artifact or git source).
Disclaimer: automated static analysis, not a security guarantee. Always review what you install.
Risk details
Activity
Last commit 2026-09-02 · activity: Active
• Repo created: 2026-09-02
• Stars: ★ 0 · Forks: 0
• Health: Active — committed within last 30 days
Source
Author README
View on GitHub ↗The author's original README.md from the repository — fetched live, unedited.
