Bundle
dsh-message-collapse
用户消息超过12行自动折叠,保留产品默认气泡样式与操作按钮,支持 HMR 热重载
- Source
- masknull
- License
- MIT
- Updated
- Updated 2 days ago
Readme
# dsh-message-collapse DSH Web 用户消息折叠插件。发送的消息超过 10 行自动折叠,点击「展开全部」查看完整内容。 ## 安装 ```bash dsh plugin --profile web add github:masknull/dsh-message-collapse ``` 安装后**重启 DSH** 生效。 ## 使用 无需任何配置。给助手发一条长消息,消息气泡右下角会出现「展开全部」按钮: - 单击「展开全部」→ 显示完整内容,按钮变为「收起」 - 单击「收起」→ 恢复折叠 - 短消息(≤10 行)不显示按钮,与默认行为一致 ## 卸载 ```bash dsh plugin --profile web remove dsh-message-collapse ``` 重启 DSH 后恢复默认。 ## License [MIT](./LICENSE)
Install
dsh plugin --profile web add github:masknull/dsh-message-collapse
Profile: web
With the hub plugin installed, ask your agent to install it by name — it resolves the same plan shown here.
dsh plugin --profile web add github:stvlynn/dsh.fish#path:packages/dsh-plugin-hub
install dsh-message-collapse from the hub
- This source has no pinned commit, so a later push upstream changes what installs. Prefer pinning a commit.