DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

Plugin Edit Message — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
P

dsh-plugin-edit-message

Plugin Edit Message

DSH 网页插件:停止一轮响应后,将用户的上一条消息重新编辑到输入框

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

npx -y @deepseek-ai/dsh plugin --profile web add github:WyxBUPT-22/dsh-plugin-edit-message#5eed3870761234f93b378108abf35063ffcd6f52
README兼容性版本

兼容性与来源证明

Plugin Edit Message 以 dsh-plugin-edit-message 发布,当前版本为 0.1.5。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

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

版本

0.1.5stable
2026/9/11
0.1.4stable
2026/9/10
0.1.3stable
2026/8/27

相关插件

正在加载相关插件…

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

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

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

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

认领这个 Plugin →
报告问题

相关插件

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

Memory Plugin@openviking/dsh-memory-plugin适用于 DeepSeek Harness 的 OpenViking 记忆与上下文套件Contextdsh-context用于上下文洞察和管理的 DeepSeek Harness 插件,提供上下文仪表板和上下文命令,帮助了解上下文的构成及其演变过程。Weknora@wxg-prc-cpg/dsh-weknora适用于 DeepSeek Harness (dsh) 的 WeKnora 知识检索工具:通过自有知识库进行语义搜索、文档阅读以及 RAG/代理回答。Memsearch Dsh@zilliz/memsearch-dsh适用于 DeepSeek Harness 的 MemSearch 插件:在多个代理之间共享 Markdown 记忆,支持捕获、步骤前上下文注入、记忆召回技能和技能候选审核面板。

README

dsh-plugin-edit-message

English · 中文

DSH (DeepSeek Harness) Web GUI plugin: edit the last user message back into the composer after stopping a turn — no more retyping from scratch.

Why

Sending a message, stopping the reply, and wanting to re-ask with a small change currently means typing the whole prompt again. This plugin adds an "Edit last message" button to the composer tool row: it restores the tail user message text and focuses the input, ready to edit and send.

It is a client-side plugin — the conversation log stays append-only. Sending the edited text appends a new turn (the original message and the interrupted reply remain in the transcript). It never touches the host, the session log, or the agent loop.

Install

The plugin bundles as a dsh.bundle + dsh.client package. It works on any DSH setup that loads third-party bundles (source dsh web, DSH Desktop, custom profiles).

From npm (published — recommended)

dsh plugin --profile web add dsh-plugin-edit-message

Restart the GUI (fully quit and reopen) after installing — client plugin bundles register at startup.

DSH Desktop users: Desktop's DSH_HOME lives under %APPDATA%\dsh-desktop\harness, so target that explicitly:

DSH_HOME="${APPDATA}/dsh-desktop/harness" \
dsh plugin --profile web add dsh-plugin-edit-message

Then quit and reopen DSH Desktop.

From GitHub or a local checkout (unpublished builds)

# GitHub repository
dsh plugin --profile web add git+https://github.com/WyxBUPT-22/dsh-plugin-edit-message.git

# local checkout (pnpm install && pnpm run build first)
dsh plugin --profile web add /path/to/dsh-plugin-edit-message

From this source checkout

The repository is self-contained: devDependencies resolve the official harness client packages from the npm registry, so no deepseek-harness checkout is needed.

pnpm install     # pulls the official client packages from npm
pnpm run build   # emits lib/index.js + lib/client.js + lib/types
dsh plugin --profile <name> add /path/to/dsh-plugin-edit-message
dsh --profile <name>

Uninstall with dsh plugin --profile <name> remove dsh-plugin-edit-message. See docs/user/develop/basic/publish.md in the harness checkout for the dsh plugin workflow.

How it works

  • Registers one client plugin (dsh.client manifest, platform: web) that contributes an entry to the official conversation.input.left composer tool-row slot (a documented multi-plugin list slot — zero official changes).
  • The button renders only while the session is idle, a tail user/steering message exists, and that message is plain text (draft images are browser File-backed and cannot be resurrected from the durable log).
  • On click: inputActions.setDraft(text) restores the text and the composer is focused. The plugin prefers inputActions.focus when the deployed runtime exposes it, otherwise it focuses the editable surface — [data-composer-input] on harness 0.1.2+ (a Lexical-driven contenteditable), with the legacy composer <textarea> as the last fallback.
  • If you remove the plugin (dsh plugin remove dsh-plugin-edit-message), the surface disappears entirely — the tool row reverts to official chrome.

Compatibility

The plugin tracks the harness client contract, which was reshaped twice inside the 0.1.2 line:

  1. 0.1.2-alpha split the monolithic @deepseek-ai/dsh-client-runtime into dsh-client-store + the dsh-client-ui-* family, and moved the transcript off SessionSnapshot (whose chat field no longer exists) onto the Chat target published per Conversation binding, reached through the useChat standard hook.
  2. 0.1.2-rc.1 stopped handing the composer tool row its InputZone owner props: the responder now calls renderSlot("conversation.input.left", {}). Session lifecycle therefore comes from the useSession standard hook, which ui-session contributes for every session-scoped slot on every 0.1.2 build.
PluginHarness / DSH DesktopReads
0.1.5+0.1.2-alpha.1 … 0.1.2-rc.1 (Desktop 0.7.x / 0.8.x)useChat + useSession; no owner props
0.1.40.1.2-alpha.1 … 0.1.2-alpha.5 (Desktop 0.7.x)useChat + the InputZone owner prop
≤ 0.1.30.1.0-rc.x (Desktop ≤ 0.5.0)session.chat

Both 0.1.2 breaking changes fail the slot silently for older builds — the button simply never appears, with the crash below in the console:

slot entry crashed in 'conversation.input.left':
  TypeError: Cannot read properties of undefined (reading 'order')   // <= 0.1.3 on 0.1.2-alpha
  TypeError: Cannot read properties of undefined (reading 'running') // 0.1.4 on 0.1.2-rc.1

Differences from in-transcript editing (Codex style)

In-place replacement with a rewind of the log tail is a larger design (log-truncation semantics, compaction checkpoints, session log format, dual SDK projections) and is intentionally out of scope. This plugin provides the interaction value — edit the text, resend — with zero blast radius.

Develop

pnpm run typecheck   # tsc --noEmit (strict)
pnpm run test        # vitest (logic matrix + component behavior)
pnpm run build       # tsdown → lib/client.js + types

pnpm publish runs prepublishOnly (typecheck + test + build) first.

License

MIT

Friends

https://linux.do