DSH Plugins Marketplace

DSH Plugins

Plugins

/

UI & Experience

/

dsh-shell-card-plus

a

dsh-shell-card-plus

Manifest valid★ 1

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 butto

UI (client)hasBundlePatch

中文 | English

dsh-shell-card-plus

Awesome DSH Plugin License dsh

DSH Web 里 bash / pwsh 命令卡片的增强插件。装完即用,不改任何命令执行逻辑。

解决什么问题

DSH Web 原版的 bash/pwsh 命令卡片有两个日常痛点:

痛点原版本插件
长命令看不全命令单行截断(超出部分直接看不见,连滚动都没有)命令自动折行,带行号,一眼看全
没有复制命令按钮只有"复制输出",复制命令得手动划选复制命令、复制输出两个独立按钮

状态显示对齐官方规范:正常时安静(只有一个状态点),失败时才显示红色 退出码 N / 信号 X。

原版展开卡片 本插件展开卡片
左:原版展开卡片 · 右:本插件展开卡片

功能

  • 完全替换官方 bash/pwsh 工具行:折叠行样式与官方一致,展开后是自定义卡片
    • head:状态点 + cwd(子目录名)+ 复制命令/复制输出按钮
    • 命令区:完整命令,自动折行 + 行号
    • 输出区:横向滚动,保留原版阅读习惯
  • 仅接管 bash/pwsh,其他工具(read/write/search 等)不受影响

安装

# 从 npm 安装(推荐,免构建白名单配置)
dsh plugin --profile web add dsh-shell-card-plus

# 或从 GitHub
dsh plugin --profile web add github:antnesswcm/dsh-shell-card-plus

# 或本地目录
dsh plugin --profile web add ./dsh-shell-card-plus

装完重启 dsh web(或浏览器 Ctrl+F5)生效。要求 dsh ≥ 0.1.0-rc.5。

工作方式

通过官方 tool.call.toolview 插槽注册 bash/pwsh 两个 key,替换官方对该工具行的渲染。命令、cwd、输出、退出码全部来自官方已有的 ToolCallBlock 数据,插件是纯展示层,不引入任何新事件或 host 改动。实现细节见 CLAUDE.md。

开发

npm install
npm run build   # 生产构建(lib/ 已入库,用户装包不需要构建)
npm run dev     # watch + 热重载

开发与接手文档见 CLAUDE.md。

License

MIT

Compatibility

DSH 0.2.1-alpha.1: failedDSH 0.2.1-alpha.2: failedDSH 0.2.1-alpha.3: failed

Versions

Latest versionPublishedSize
0.3.1——
0.3.2——

Comments

Loading…

Similar plugins

dsh-bash-terminal-ts

DSH plugin: one shell tool that runs commands through PowerShell, Git Bash, MSYS2, or WSL on Windows, with a user-chosen default terminal in the Web UI settings. TypeScript rewrite of MAXeaglet/dsh-bash-terminal with working MSYS2/MINGW64 support.

Tools & CapabilitiesTerminal & ClientsManifest valid

★ 0

dsh plugin --profile web add dsh-bash-terminal-ts

by xing-shuyin

Developer tools panel for the DSH web UI: file browser with preview, edit, and path-only file mentions; multi-tab terminals with quick commands; Git panel with commit, push, pull, and branch switching

UI & ExperienceManifest valid

★ 6

↓ 142/wk

JavaScript

Aug 19, 2026

dsh plugin --profile web add dsh-ui-tools

by beartackler

Slash commands ported from other coding agents (setup, connect, install, trust, browse, doctor, status, model, memory, compact, resume, review, mcp, init, suggest, improve, refactor), a zero-dependenc

Tools & CapabilitiesDevelopment & InfrastructureManifest valid

★ 1

↓ 506/wk

MIT

TypeScript

Aug 30, 2026

dsh plugin --profile web add dsh-bridge

by WongYuYe

Per-turn file-change card for DSH Desktop: +N −M badges, aligned diffs, and Mac/Windows file open (system app, Finder/Explorer, VS Code).

UI & ExperienceDevelopment & InfrastructureTerminal & ClientsManifest valid

★ 2

↓ 103/wk

MIT

TypeScript

Sep 15, 2026

dsh plugin --profile web add dsh-diff-card

by Isanti2016

Slash-command console for dsh: /web start|stop|restart|status, /tunnel SSH forward management, one-shot /ask, and a console TUI launcher.

Tools & CapabilitiesTerminal & ClientsManifest valid

★ 0

MIT

JavaScript

Aug 16, 2026

dsh plugin --profile web add dsh-console

by SanYe-SanJiu

Windows-only process control for the harness: a sidebar button that shuts DSH down through the host's own graceful exit path, an app-window / normal-tab switch on the Plugins card that rewrites the de

UI & ExperienceManifest valid

★ 0

MIT

JavaScript

Oct 21, 2026

dsh plugin --profile web add dsh-power-switch