DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Composer Input History — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
C

dsh-composer-input-history

Composer Input History

DSH 撰写器的 Shell 风格输入历史:按向上箭头可调出已发送的消息,按向下箭头可向前浏览并恢复草稿。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:liumorrisclaw/dsh-composer-input-history#f4cdfaef8f63ebba3d51077bed5bd85e02dbfa72
README兼容性版本

兼容性与来源证明

Composer Input History 以 dsh-composer-input-history 发布,当前版本为 0.1.1。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/10/8

版本

0.1.1stable
2026/10/8
0.1.0stable
2026/10/8

相关插件

正在加载相关插件…

最新版
0.1.1
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/10/8
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 memory-context 分类下经过校验的插件。

Hindsight Coding Agents@vectorize-io/hindsight-coding-agents面向编程代理的仅反思式 Hindsight 长期记忆(可插拔支持多种运行框架:opencode、……),自动在后台导入(无需设置 CLI)。Memsearch Dsh@zilliz/memsearch-dsh适用于 DeepSeek Harness 的 MemSearch 插件:在多个代理之间共享 Markdown 记忆,支持捕获、步骤前上下文注入、记忆召回技能和技能候选审核面板。Memory@furongjun1999/dsh-memory灵枢(Lingshu·líng shū)DeepSeek Harness 插件:完整大脑——长期记忆/知识飞轮/自我认知/递归反思接入 DSH,对话自动沉淀进 md_cg 认知图(md 文档)Archive Manager@michengai/dsh-archive-manager归档、恢复、收藏和永久删除会话,并诊断损坏的会话日志。

README

dsh-composer-input-history

Shell-style input history for the DeepSeek Harness Web composer — the behaviour you know from opencode and other terminal agents.

Press ↑ in the composer to pull back a message you already sent in this Session. Press ↓ to walk forward again; past the newest message your original draft comes back.

What it does

GestureBehaviour
↑ with an empty draftrecalls the newest sent message
↑ againwalks one message older each time
↑ on the first line of a single-line draftrecalls; the draft you were writing is remembered
↑ inside a multi-line draft, below the first lineleft to the editor, so the caret still moves
↓ while browsingwalks one message newer
↓ past the newest messagerestores the draft you were writing before browsing
typing anything while browsingleaves browse mode; the recalled text becomes your draft

History is what you sent in this Session, oldest to newest, read from the Chat node store the view itself renders (snapshot.nodes, ordered by anchor sequence): ordinary user messages, steering messages, and the message that woke a turn. Skipped: hidden nodes (compacted or interrupted), attachment-only messages, and everything the Harness authors on your behalf — goal rounds, skill catalogs, runtime snapshots, job notices, model notices, approval answers, and compaction checkpoints.

Why it is a keyboard observer

The Harness composer deliberately leaves ↑/↓ to its shell-owned Lexical editor, so no slot or command seam owns them. This plugin therefore:

  • registers an invisible Session-scoped occupant in conversation.composer.dock;
  • reads the Session's Chat nodes through the standard useChat hook (snapshot.nodes) and the draft through the standard useInput hook;
  • writes the recalled text through the standard inputActions.setDraft API, so the edit stays part of the composer's own draft history;
  • watches the key on two paths: a document-level keydown listener and the shortcuts service's observeFixedInput seam. The document listener runs after the composer's own keymap, so a slash menu or an IME that already handled the key still wins; the fixed-input seam covers compositions where a native Desktop adapter owns the DOM feed. Exactly one path acts, because the first one to act cancels the event.

A key is declined when the slash/reference menu already consumed it, when an IME is composing, when a modifier is held, when the event is outside the composer editor, or when the composer is submitting/adjudicating. The plugin imports no Harness Client package and styles nothing.

Install

From this repository (available now):

dsh plugin --profile web add https://github.com/liumorrisclaw/dsh-composer-input-history

Once the package is on npm, the short form is:

dsh plugin --profile web add dsh-composer-input-history

Or add it in the Web UI's Plugins page, or list the package directory with the plugin manager. The bundle ships off until the profile selects it.

For a local checkout, install by path:

dsh plugin --profile web add /absolute/path/to/dsh-composer-input-history

Relationship to other plugins

The npm name dsh-input-history is already taken by a different community plugin that also recalls prompts with ↑/↓. The two differ in mechanism and behaviour:

dsh-composer-input-history (this plugin)dsh-input-history
History sourcethe Session transcript the Chat view already loadsa separate local store of submitted prompts
Non-empty draftrecalls and remembers the draft, restoring it below the newest messagerecalls only from an empty composer
Attachmentsnot part of the recalled textpersists and re-attaches them
Menu/IMEyields the key to an open slash/reference menu and to IME composition—

Pick this one if you want recall driven by the conversation you can see, including from a draft you are already typing.

Compatibility

Developed and verified against @deepseek-ai/dsh 0.2.0-rc.2. The plugin uses only documented seams: ctx.slots, the Session standard props (useChat, useInput, inputActions), and ctx.shortcuts.observeFixedInput. It declares dsh.client.inject on dsh-client-ui-conversation, dsh-client-ui-chat, and dsh-client-shortcuts so activation order is deterministic.

Verified

  • 27 unit tests over the pure history reader and browse state machine (npm test), run on every push by .github/workflows/ci.yml on Node 20 and 22.
  • The composed profile contains the bundle row (dsh --profile <name> --dump-config).
  • The browser boot graph announces the bundle with its inject list and immediately: true, and the web host serves the bundle body byte-for-byte.

Not yet verified by automated browser control: the in-page interaction itself. Pressing ↑ in a running composer is the acceptance check.

Limitations

  • History is per Session. Cross-session recall (recent Sessions' inputs) is not implemented yet.
  • History reflects the loaded transcript window; messages hidden by compaction are not recalled.
  • The recalled text is plain text: reference chips and attachments from the original message are not restored.
  • One resident composer per Web page is assumed, matching the shell's own design.

License

MIT