@omdsh-dev/dsh-bang-shell
Manifest validRun !-prefixed commands directly from the DeepSeek Harness Web composer without sending them to the model.
dsh-bang-shell
中文 | English
Run a shell command directly from the DeepSeek Harness Web composer with a leading ! — the command is not sent to the model. It executes in the current session workspace and lands in the conversation as a durable command card.
Highlights
- Typing the first
!instantly switches the line to terminal colors (an amber!prompt glyph plus green command text, no background tint, light/dark theme aware) — the mode change is visible from the first keystroke; - Enter executes it: stdout / stderr / timeout & signal markers / exit code render as a persistent command card visible across tabs, with zero model tokens spent.
Usage
!pwd
!git status
!pnpm test
- Only a message whose first non-whitespace character is
!is intercepted; inline!never triggers; - A bare
!keeps the draft and asks for a command; - Commands run through DSH's active
ctx.shellexecutor, inheriting its timeout and sandbox policy; - A non-zero exit renders an error command card — never an AI turn.
Install
Prerequisite: a DSH core that includes the ! trigger extension (TriggerChar, detectTrigger, input adjudication; see "Core companion changes" below). On a checkout that has it:
dsh plugin --profile web add /path/to/dsh-bang-shell
Restart dsh web, then refresh the browser page.
Core companion changes
The ! trigger character requires a small extension (~20 lines, all test-first) to the DeepSeek Harness input pipeline:
packages/client/ui-input-trigger:TriggerChargains'!';detectTriggerrecognizes!packages/client/ui-conversation:InputMachine.onEnterroutes!drafts into adjudication; the decoration core gains abangrange; InputBar renders it dual-color (amber!+ green command, no background)
Development
DSH_CHECKOUT=/path/to/deepseek-harness npm run build
npm test
The build reuses the DSH checkout's toolchain (tsc + tsdown + the clientBundle preset) with zero extra npm dependencies.
Known limitations
- Depends on the core
!trigger extension; the browser half stays inert on DSH builds without it; - Output renders through the generic command card (
command/donetext); no dedicated terminal block yet; - Multi-line drafts submit as one line; shell history expansion (
!!) is not supported.
License
Comments
Loading…
From the same category
by zhu1090093659
DeepSeek Harness (DSH) Web Plugin Aggregation Ecosystem · Everything is a plugin, distributed via the Creative Workshop
★ 8.2k
↓ 134/wk
Apache-2.0
TypeScript
Oct 1, 2026
dsh plugin --profile web add dsh-webby ccch1mneyyy
DSH 官方公众号收录的 TUI 补位插件:Claude Code 风,鲸鱼顶栏/实时状态/流式思考/双击 Esc 回滚/上下文进度+TPS。npm 一键装。 DSH official WeChat featured TUI plugin — Claude Code style: whale bar, live status, streaming thoughts, double-Esc rol
★ 3.9k
↓ 11.6k/wk
MIT
TypeScript
Oct 1, 2026
dsh plugin --profile terminal add @deepseek-harness-tui/dsh-tuiby YuJunZhiXue
DeepSeek Harness 破甲:让所有模型都能破甲,不同模型可换不同提示词;默认提示词面向国模「小码酱」。Jailbreak for every model — swap prompts per model. 求 Star 收藏 ⭐
★ 2.9k
MIT
JavaScript
Oct 1, 2026
dsh plugin --profile web add dsh-purgeby bowenliang123
The best DeepSeek Harness plugin for context insight and management, with context dashboard / browser / sidebar and context command, for context statistics, composition, breakdown, evolution details,
★ 1.8k
↓ 32k/wk
Apache-2.0
TypeScript
Sep 30, 2026
dsh plugin --profile web add dsh-contextby agentrq
AgentRQ: Human-in-loop realtime conversational task manager for AI Agents. Self-hosted! Control your own agents from wherever you want Mobile, Web, Desktop. Designed to work well with your own Claude
★ 1.1k
↓ 56/wk
Apache-2.0
JavaScript
Oct 1, 2026
dsh plugin --profile web add @agentrq/dsh-plugin-agentrqby vshulcz
One memory shared by Claude Code, Codex, Cursor, Copilot CLI, OpenClaw and 20 more coding agents, built from the session history already on disk. A fix found in one agent comes back in any of them, in
★ 1.1k
↓ 1.2k/wk
MIT
Go
Oct 1, 2026
dsh plugin --profile web add dsh-deja