DeepSHPlugins
dsh-composer-history 專案預覽
GITHUB / COMMUNITY PROJECT

dsh-composer-history

UI 增強JavaScriptMIT

Web UI 輸入框命令歷史:按 ↑/ 瀏覽此前傳送的指令,回到歷史末尾時恢復原草稿。

4 Starsbaisama-cloud 更新時間 2026-08-19
訪問 GitHub 倉庫
dsh-composer-history 專案預覽

專案介紹

中文

Web UI 輸入框命令歷史:按 ↑/ 瀏覽此前傳送的指令,回到歷史末尾時恢復原草稿。

English

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.

專案資訊與收錄訊號

快照 2026-09-11
作者 / 組織
baisama-cloud
倉庫
baisama-cloud/dsh-composer-history
GitHub Stars
4
Forks
0
開發語言
JavaScript
許可證
MIT
最近推送
2026-08-19
Manifest
資料中檢測到宣告

公開倉庫不自動等於可商用;許可證與當前相容性以原專案文件為準。Manifest 和資料評分不構成安裝安全認證。

資料評分

59/ 100
維護活躍
85
文件與實用資訊
92
生態關注度
20
安裝便捷訊號
75
專案宣告訊號
100

近 23 天仍在更新;README 含完整安裝與使用說明;關注度尚低(4)。

評分來自已有資料快照的五維模型,僅作瀏覽參考,不是實際使用評測或安全檢測結論。

安裝與使用

所有專案資料與許可均以對應 GitHub 倉庫為準。

dsh plugin --profile web add github:baisama-cloud/dsh-composer-history

複製命令不會自動執行。請先閱讀倉庫文件,確認環境要求與許可證。

專案截圖

倉庫 README

GitHub 原文

已儲存的倉庫文件快照;文件抓取時間未記錄,可能與上方目錄介紹處於不同版本。安裝前請核對當前倉庫說明。

儲存庫檔案保留原文,指令與授權文字不作自動改寫。

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

使用前核對

安裝步驟、相容版本與授權範圍以原專案當前文件為準。Stars 和評分是快照中的導航訊號。

安裝與排錯 · 專案問題反饋

同類專案