DeepSeek Harness 插件

dsh-composer-history

Web UI 输入框命令历史:按 ↑/↓ 浏览此前发送的指令,回到历史末尾时恢复原草稿。

跳到安装方式

来源信息

GitHub 仓库
baisama-cloud/dsh-composer-history
最近更新
2026年8月20日
分类
界面增强
GitHub stars
0

安装

默认先复制一段 Prompt,让 Agent 读页面和仓库;需要自己装时再切到命令。

复制这段 Prompt,发给 DSH、Codex 或其他 Agent,让它先读页面和仓库。

请先不要安装。阅读这个 DeepSeek Harness 插件,说明它解决什么问题、会访问哪些文件、网络或密钥,以及如何安装和卸载。

插件页面:https://deepseekplugins.org/zh/plugins/baisama-cloud/dsh-composer-history
GitHub:https://github.com/baisama-cloud/dsh-composer-history
插件名:dsh-composer-history
作者:baisama-cloud
安装命令:dsh plugin --profile web add github:baisama-cloud/dsh-composer-history

确认前不要执行安装命令。

检查来源文件

安装前先看这个插件目录里的 README 和其他文件。

文件资源管理器3 个文件
README.md来源说明 · 只读预览

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 / 使用

1. Click into the composer textarea in any session. 2. Press to step back through previously sent commands; press to move forward, and once past the newest entry your original draft returns. 3. 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 via window.__ModuleLoader__.load; it hooks the conversation.input.left slot 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