Command history for the Web UI composer: press Up/Down to cycle through previously sent instructions, then restore the draft at the end of the history.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:baisama-cloud/dsh-composer-history
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
This plugin publishes its README in Chinese only.
Command history for the DeepSeek Harness (DSH) web GUI composer — press ↑ / ↓ to cycle through your previously sent instructions, then restore the draft you were editing when you reach the end of the history.
DSH Web 界面输入框的命令历史插件:↑ / ↓ 上下方向键逐一浏览此前发送的指令,回到历史末尾时恢复你编辑前的草稿。
Features / 功能
- ↑ switches to an older sent instruction, ↓ to a newer one — the current draft is preserved underneath.
- When you reach the newest entry and press ↓ again, the draft you were editing is restored.
- Only finished user messages count; system-injected reminders are skipped.
- Multi-line drafts are safe: ↑ is taken over only on the first line, ↓ only on the last line.
- Never triggers during IME composition, with text selected, or with Ctrl / Cmd / Alt / Shift held.
- Works in both the official desktop app (Lexical
contenteditablecomposer) and web-profile builds (textareacomposer).
Install / 安装
dsh plugin --profile web add github:<owner>/dsh-composer-history
or in DSH settings → Plugins market, add the repository. 或在 DSH 设置 → 插件市场中添加本仓库安装。
Usage / 使用
- Click into the composer in any session.
- Press ↑ to step back through previously sent commands; press ↓ to move forward, and once past the newest entry your original draft returns.
- Edit a recalled command and send it as usual.
Development / 开发
This is a standard DSH bundle:
lib/index.js— host half (intentionally empty; all behavior is client-side)lib/client.js— browser half, a Cordis plugin registered viawindow.__ModuleLoader__.load; it hooks theconversation.input.leftslot, locates the composer editor (atextareain web-profile builds, the official desktop app's[data-composer-input]contenteditable), reads the draft throughuseInput/inputActions, and collects user messages fromuseChat(desktop),session.chat(web profile), or the older flatsession.nodesshapecordis.patch.yml— loader row inserting the plugin
Build the npm tarball with:
npm pack
Requires react and @deepseek-ai/cordis as peer dependencies (provided by the DSH installation).
License / 许可证
MIT
Links
More in this category
zhu1090093659/dsh-web#packages/dsh-task-board★ 8334
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★ 8334
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.
ccch1mneyyy/dsh-TUI★ 3989
Claude Code-style full-screen terminal UI: pixel-whale header, live status line, and streaming thought expansion.
omdsh-dev/DSH-better-sidebar★ 3981
Full sidebar workbench with file rendering and editing, terminal, Git, and subagents; third-party plugins can register new tabs.
MeteorNOX/DeepSeek-Balance-Whale-Widget★ 3944
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.
Devin-AXIS/deepseek-design#deepseek-idesign★ 1412
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.