baisama-cloud/dsh-composer-history
Web UI 输入框命令历史:按 ↑/↓ 浏览此前发送的指令,回到历史末尾时恢复原草稿。
这是一个 DeepSeek Harness(DSH)插件。本站汇总其 GitHub README、安装信息、维护状态与公开安全信号。
dsh-composer-history
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.
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 textarea 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 to reach the composer textarea, draft state (props.input.draft), the write action (props.inputActions.setDraft), and the session messages (props.session.nodes)cordis.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
安全与安装证据
该分数只基于公开仓库元数据与本站登记的安装证据,不等同于代码安全审计。
来自公开插件目录,并链接到公开 GitHub 仓库。
仓库声明 MIT 许可证。
最近 180 天内有代码更新。
尚未登记可复验的精确安装元数据,请按仓库说明手动检查。
已检查的包元数据未声明安装生命周期脚本。