dsh-shell-card-plus
用自定义 Shell 命令卡片替换 DSH Web 原版 bash/pwsh 工具行:长命令自动换行带行号不再截断,并提供独立的复制命令/复制输出按钮。
Replaces the stock bash/pwsh terminal rows in the DSH web UI with shell command cards: long commands soft-wrap with line numbers instead of truncating, plus separate copy-command and copy-output buttons.
怎么安装
dsh plugin add dsh-shell-card-plus 简介
dsh-shell-card-plus DSH Web 里 bash / pwsh 命令卡片的增强插件。装完即用,不改任何命令执行逻辑。 解决什么问题 DSH Web 原版的 bash/pwsh 命令卡片有两个日常痛点: | 痛点 | 原版 | 本插件 | |---|---|---| | 长命令看不全 | 命令单行**截断**(超出部分直接看不见,连滚动都没有) | 命令**自动折行**,带行号,一眼看全 | | 没有复制命令按钮 | 只有"复制输出",复制命令得手动划选 | **复制命令**、**复制输出**两个独立按钮 | 状态显示对齐官方规范:正常时安静(只有一个状态点),失败时才显示红色 退出码 N / 信号 X。 功能 完全替换官方 bash/pwsh 工具行:折叠行样式与官方一致,展开后是自定义卡片 **head**:状态点 + cwd(子目录名)+ 复制命令/复制输出按钮 **命令区**:完整命令,自动折行 + 行号 **输出区**:横向滚动,保留原版阅读习惯 仅接管 bash/pwsh,其他工具(read/write/search 等)不受影响 安装 sh 从 npm 安装(推荐,免构建白名单配置) dsh plugin --profile web add dsh-shell-card-plus 或从 GitHub dsh plugin --profile web …
推荐参考
信息
- 协议
- MIT
- 语言
- TypeScript
- GitHub 星标
- 0
- 月下载
- –
- 最近更新
- 2026-09-02
- 创建于
- 2026-08-28
基础安全检查
- 检查结果
- 无
- 收录来源
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- 主题标签
- cordis, deepseek-harness, dsh-plugin
同类推荐
dsh-desktop
anywhere-labs/deepseek-harness-desktop
为 DeepSeek Harness (DSH) 生态打造的现代化桌面端体验
dsh-status-rotator
01Virex/dsh-status-rotator
把回合状态那句 "Deep diving..." 替换成更有梗的自定义文案,按阶段轮换,支持打字机与流动渐变。