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.
Install
# from npm (prebuilt)
dsh plugin --profile web add dsh-shell-card-plus
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:antnesswcm/dsh-shell-card-plus
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
dsh-shell-card-plus
Enhanced command cards for bash / pwsh in the DSH web UI. Works out of the box; never touches how commands execute.
What it fixes
The stock bash/pwsh card in DSH Web has two daily annoyances:
| Problem | Stock | This plugin |
|---|---|---|
| Long commands unreadable | Command is a single line, truncated with an ellipsis — anything past it is simply invisible | Command soft-wraps with line numbers, fully visible |
| No way to copy the command | Only a copy-output button exists; copying the command means manual text selection | Separate copy command and copy output buttons |
Status display follows the official convention: quiet when normal (just a status dot), a red exit N / Signal X pill only on failure.
Features
- Fully replaces the official bash/pwsh tool row: the collapsed row keeps the official style; the expanded card is custom
- head: status dot + cwd (subdirectory name) + copy-command / copy-output buttons
- command area: full command, soft-wrapped with line numbers
- output area: horizontal scroll, same reading habit as the original
- Only takes over bash/pwsh; other tools (read/write/search etc.) are untouched
Install
# From npm (recommended — no allowBuilds setup needed)
dsh plugin --profile web add dsh-shell-card-plus
# From GitHub
dsh plugin --profile web add github:antnesswcm/dsh-shell-card-plus
# Or from a local directory
dsh plugin --profile web add ./dsh-shell-card-plus
Restart dsh web (or hard-refresh the browser, Ctrl+F5) after installing. Requires dsh ≥ 0.1.0-rc.5.
How it works
Registers the bash/pwsh keys on the official tool.call.toolview slot to replace the official rendering of those tool rows. Command, cwd, output and exit status all come from the existing official ToolCallBlock data — the plugin is a pure presentation layer with no new events and no host changes. Implementation details: CLAUDE.md.
Development
npm install
npm run build # production build (lib/ is committed; users don't build)
npm run dev # watch + hot reload
See CLAUDE.md for development and handover docs.
License
MIT
Links
More in this category
zhu1090093659/dsh-web#packages/dsh-task-board★ 8801
Task board for the dsh web GUI: a sidebar multi-column kanban whose cards run in real DSH agent sessions and can also be scheduled with cron expressions, executed host-side even with the browser closed.
zhu1090093659/dsh-web#packages/dsh-web-all★ 8801
Plugin and skin collection for the DSH Web UI: task board, Git graph, right-side panel, remote mobile UI, pet, live token stats, and a skin center.
MeteorNOX/DeepSeek-Balance-Whale-Widget★ 4908
A fixed-corner whale widget for the DSH web GUI — balance, today's usage and per-turn cost with peak/off-peak pricing, editable balance-alert and daily-budget bubbles, a module-based custom bubble queue with A/B weighted choices and random lines or images, 30+ vendor templates (OpenAI, OpenRouter, Kimi, SiliconFlow, Ark, Zhipu, MiniMax and more) with per-model balance and subscription quota, plus task-end sound, imported audio, custom roles and a resource manager. Local-only, no telemetry.
ccch1mneyyy/dsh-TUI★ 4640
Claude Code-style full-screen terminal UI: pixel-whale header, live status line, and streaming thought expansion.
omdsh-dev/DSH-better-sidebar★ 4198
Full sidebar workbench with file rendering and editing, terminal, Git, and subagents; third-party plugins can register new tabs.
Devin-AXIS/deepseek-design#deepseek-idesign★ 1463
Visual design studio for websites, app prototypes, posters, cards, reports, and magazines, with templates, direct element editing, selection-aware AI draft handoff, and export.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.