dsh-edit-panel

DSH PLUGIN记忆与知识

仓库 MathieuPortmann/dsh-edit-panel

记忆与知识 L5 · 运行验证通过 安全审查:低风险 可信度:金 可安装插件
安装这个插件

dsh-edit-panel 是 MathieuPortmann 维护的 记忆与知识 类 DSH 可安装插件, 仓库为 MathieuPortmann/dsh-edit-panel,许可证 MIT。 下面按「装什么、怎么装、验没验过、跑起来要注意什么」逐项列出。

一句话选型结论

按资料字段整理

dsh-edit-panel 是记忆与知识类的 DSH 可安装插件,验证等级 L5 · 运行验证通过,安全审查为低风险,有可直接复制的安装命令。验证通过不等于安全:插件会读写文件、执行命令或联网,装前先到仓库确认它做了什么;涉及密钥或系统权限的,建议先在隔离环境试装。

分类记忆与知识 收录类型可安装插件 验证等级L5 · 运行验证通过 安全审查低风险
验证等级 L5 L5 · 运行验证通过
GitHub 星标 0 复刻 0 · 未关闭 issue 0
最近更新 2026-10-25 创建于 2026-10-25
README 7.8 KB 正文体量,越大说明说明书写得越细

安装

可安装插件
在 DSH 里执行,装完用 dsh plugin list 确认已挂上;标了 L4 / L5 的命令已在沙盒里真实跑通
dsh plugin --profile web add github:MathieuPortmann/dsh-edit-panel#v0.1.0
  1. 1
    确认版本与运行环境

    仓库没有标注兼容版本与 Node.js 要求,先确认你的 DSH 版本能装,再继续。

  2. 2
    执行安装命令

    在 DSH 里执行上面的命令;多包仓库要注意区分具体子包名,别装错包。

  3. 3
    确认已挂载

    用 dsh plugin list 查看列表里是否出现这个插件,出现即挂载成功。

  4. 4
    试跑并检查权限

    加载后跑一个最小用例,确认它能正常工作;同时看它申请了哪些文件、命令或网络权限。

兼容 DSH 版本未标注版本不匹配时安装会报错
Node.js 要求未标注来自仓库 package.json 的 engines 字段
前置依赖无需要同时安装的同级依赖
npm 包名未发布到 npm可用 npm view 查看包信息

能做什么

记忆与知识
字段来自项目仓库与公开索引,中文说明由本站标注

适用场景

内容创作文件读写

上游标签

co-editingdeepseek-harnessdsh-plugineditormarkdownprosemirror

验证等级与安全审查

L5 · 运行验证通过
自动化流程结论,不是人工审核
验证等级L5 · 运行验证通过在 dsh 沙盒中完成安装与运行冒烟——装得上、跑得起来
安全审查低风险静态分析结论,未标注不代表已通过审查
仓库健康度活跃按仓库活跃度与最近更新时间给出
可信度金综合仓库活跃度与验证结果

选择建议

装之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 验证等级 L5:安装和运行都在沙盒里跑通过,装完能直接用的概率高。
  • 静态安全审查为低风险,没有发现明显可疑行为。
  • 有可直接复制的安装命令,不用自己翻文档找入口。

先想清楚的地方

  • 没有声明 Node.js 版本要求,版本不匹配可能装不上。
  • 验证通过不等于安全:插件会读写文件、执行命令或联网,装前先到仓库确认它做了什么。

更适合

  • 需要在记忆与知识场景里给 DSH 补能力的人。
  • 想装完就能用、不想自己排依赖的人。
  • 能接受在本地装依赖、愿意自己确认权限的人。

不太适合

  • 只使用 DSH 官方内置能力、不接受第三方插件的人。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
插件验证等级安全审查星标兼容版本安装命令
dsh-edit-panel当前 L5 · 运行验证通过 低风险 0 未标注 有
ruflo L3 · 安装规范通过 低风险 7.4 万 未标注 无
OpenViking L3 · 安装规范通过 低风险 3.9 万 未标注 无
WeKnora L4 · 沙盒安装通过 低风险 3.3 万 未标注 有
distilly L4 · 沙盒安装通过 低风险 2.5 万 未标注 有
EverOS L4 · 沙盒安装通过 低风险 1.3 万 未标注 有

仓库档案

记忆与知识
字段来自项目仓库与公开索引,中文说明由本站标注
作者 / 维护方MathieuPortmann仓库 dsh-edit-panel · 默认分支 main
分类记忆与知识knowledge
收录类型可安装插件声明了 dsh.bundle、可用 dsh plugin add 安装的条目
开发语言未标注仓库主语言
许可证MIT商用或二次分发前请确认条款原文
星标 / 复刻 / issue0 / 0 / 0收录时的数值,非实时
创建 / 更新2026-10-25 · 2026-10-25最后推送 2026-10-25
本站收录2026-10-30首次进入本站目录的时间

README 全文

7.8 KB
作者原文,中文版优先;只做安全转义,不改内容

dsh-edit-panel

Live writing of text files for DeepSeek Harness (DSH):
the AI writes a text or Markdown file section by section into an editor in the right sidebar, and
you can type in the same file at the same time.

> Maintenance: best-effort. Issues may go unanswered; forks are welcome.

What it adds

  • Five tools for the model, in every conversation:
  • edit_begin(path, outline, title?) creates the file with its headings and opens the panel;
  • edit_write_section(section, content) writes one section, saved to disk at once;
  • edit_status() says what is written, what you changed, and what to do next;
  • edit_finish() ends the draft;
  • edit_open(path) shows an existing file in the panel without changing it.
  • The panel (a right-sidebar tab, Live writing): each section in a small word-processor editor
    (bold, italic, headings, lists, quotes, links, undo; read and written as Markdown). What you type is
    saved after a short pause, and the AI cannot overwrite a section while you are typing in it.
  • Proposals instead of overwrites: when the AI rewrites a section that already has text, the
    file does not change; the panel shows its proposal word by word (added in green, removed struck in
    red), and you keep or refuse each change, or all of them.
  • Existing files are safe: an existing file is drafted in .draft and replaces the original
    only when you press Finish (the original is copied to the backup folder first); Cancel
    discards the draft. A file opened with edit_open is edited in place, after a backup copy.
  • Ask the AI about a passage: select text, then the ✦ Ask the AI pill (or Ctrl+K) puts the
    passage, with its section, in the message box, with quick actions (shorten, rephrase, fix,
    translate).
  • Documents of the conversation: a drawer above the message box lists the files opened in this
    conversation; a click reopens one. A click on a text file link [name](/path/file.md) in the
    conversation opens it in the panel.
  • Your instructions per section and your decisions are given back to the model as runtime context,
    so they survive compaction.

Files: .md, .markdown, .txt, .text, .tex, .org, .rst, .qmd, .rmd, inside your home
folder and not in a hidden folder. In Markdown files, sections are the ## headings.

The interface is in English, and in French when DSH's language is French (tables en and fr at
the top of client.js).

Install

dsh plugin --profile web add github:MathieuPortmann/dsh-edit-panel

Restart the profile afterwards. Requires Node ^22.19.0 || >=24 and DSH >=0.2.0-rc.2 <0.3.0 (see
Compatibility). Once the package is on npm, dsh plugin --profile web add dsh-edit-panel works too.

Configuration

Options of the edit-panel row:

Option Default Meaning
dataDir /edit-panel state of the drafts (one JSON per conversation) and the document list
backupDir /backups/edit-panel copies of files before they are replaced or opened
announce true one line in every conversation telling the model that text files are written through the panel; set false to use the tools only when asked

How it works

  • lib/draft.js holds the drafts: it renders the file from its sections, reads it back to see
    what you changed (a fingerprint per section), keeps proposals waiting, locks a section for 30 s
    while you type, and replaces or restores files with backups. lib/docs.js keeps the document
    list. Both are pure Node.js and covered by tests/.
  • index.js (host side) registers the tools, sends the draft state as runtime context, and serves
    the panel through an RPC channel at /edit-api/, behind DSH's own connection check.
  • client.js (page side) draws the tab, the drawer and the editors. The editor itself
    (web/editor.js) is a bundle of ProseMirror and
    markdown-it built from web-src/editor.js; the
    page receives it from the host and loads it once.

Compatibility

Component Supported
Node.js ^22.19.0 \|\| >=24.0.0 (engines.node)
DSH >=0.2.0-rc.2 <0.3.0; declared as optional peerDependencies on @deepseek-ai/dsh-tools and @deepseek-ai/schemastery, the only DSH packages the host side imports
Platform Linux (tested); pure JavaScript, no native addon
Page DSH's web UI with the right sidebar; the drawer finds the message box by its editable area and may need an update when the page changes

Tested with DSH 0.2.0-rc.2 on Node 22.23 (see Verification).

Permissions and external services

Everything the plugin can touch, and what happens when it fails:

Capability Where Used for If it fails
Files lib/draft.js, lib/docs.js writes the text files the model drafts and the files you open in the panel, only inside your home folder, never in hidden folders, only the text extensions above; .draft working copies; backup copies in backupDir; state in dataDir the tool or the panel shows the error; nothing is written
Network none nothing leaves the computer n/a
Commands none no child process, no shell n/a
Tools for the model index.js edit_open, edit_begin, edit_write_section, edit_status, edit_finish (see above) an error text is returned to the model
HTTP route index.js (ctx.webServer.register) POST /edit-api/ for the panel, behind ctx.connection.admit() (DSH's Host/Origin fence and token); JSON bodies only, limited to 1 MiB non-admitted requests get 401/403; other errors are returned in the RPC envelope
Dynamic module loading index.js (importFromDsh) loads @deepseek-ai/dsh-tools and @deepseek-ai/schemastery from the DSH installation that runs the plugin. Nothing is downloaded the plugin fails to load
Code evaluation in the page client.js (loadLib) the editor bundle, read by the host from this package's web/editor.js, is turned into code with new Function once (or, under a strict content policy, loaded as a blob script). No other text is ever evaluated, and nothing comes from the network the panel shows "Editor unavailable" and the sections as plain text
Interface client.js a right-sidebar tab, a drawer above the message box, a click handler on text file links of the conversation, the font choice saved in the browser's localStorage; registers a French dictionary and language entry with DSH's locale service no panel

Verification

Checked on a disposable profile (DSH_HOME pointing at a temporary folder, so the real profile is
never touched):

npm pack
dsh plugin --profile t add file:$PWD/dsh-edit-panel-0.1.0.tgz   # install
dsh t --port 3095 --no-open                                      # start: plugin loads, no error
dsh plugin --profile t remove dsh-edit-panel                      # uninstall

npm test runs 9 standalone tests (drafts: new and existing files, the user's edits, locks,
proposals kept, merged or refused, open in place, cancel, duplicate headings, path rules; the
document list) with no DSH installation needed.

web/editor.js is reproducible: cd web-src && npm ci && npm run build rebuilds it byte for byte
with the versions pinned in web-src/package-lock.json (esbuild 0.28.2). The bundled libraries and
their licenses are listed in THIRD_PARTY_NOTICES.md.

Develop

npm test
cd web-src && npm ci && npm run build   # after changing web-src/editor.js

License

MIT for this plugin. The bundled libraries keep their own licenses (MIT, and BSD-2-Clause for
entities), see THIRD_PARTY_NOTICES.md.

常见问题

6 问
答案由本站依据条目字段整理,不引用上游原文
dsh-edit-panel 怎么安装?

在 DSH 里执行 `dsh plugin --profile web add github:MathieuPortmann/dsh-edit-panel#v0.1.0` 即可。

dsh-edit-panel 的验证等级是什么意思?

L5 · 运行验证通过。在 dsh 沙盒中完成安装与运行冒烟——装得上、跑得起来

dsh-edit-panel 安全吗?

低风险。

dsh-edit-panel 装之前要先确认什么?

先看它会读写哪些文件、执行哪些命令、连接哪些网络地址;验证等级只说明装得上、跑得起来,不等于安全。涉及密钥或系统权限的,建议先在隔离环境试装。

dsh-edit-panel 用的是什么许可证?

上游标注为 MIT。商用或二次分发前请到仓库确认许可证原文。

这条记录的数据可靠吗?

本站按仓库名去重后合并整理,字段以作者仓库与 npm 元数据为准;安装命令、仓库地址与 README 保持原文,带 L4 / L5 标记的安装命令已在隔离沙盒里真实跑通。

记忆与知识
按星标排序,可作替代方案

ruflo

ruflo

L3 · 安装规范通过 7.4 万 星

OpenViking

OpenViking

面向 DeepSeek Harness 的 OpenViking 记忆与上下文插件:pre-step 自动召回与画像注入、会话捕获、`vik

L3 · 安装规范通过 3.9 万 星

WeKnora

WeKnora

把 WeKnora 知识库接入 dsh 的四个只读工具:列出知识库、混合检索原文片段、按顺序还原单篇文档,以及直接取用 WeKnora 自己

L4 · 沙盒安装通过 3.3 万 星

distilly

distilly

Distilly — Distill how they think into reusable Skills for any Agent o

L4 · 沙盒安装通过 2.5 万 星

EverOS

EverOS

L4 · 沙盒安装通过 1.3 万 星

MemOS

MemOS

L4 · 沙盒安装通过 1.2 万 星

MathieuPortmann 的其它插件

6 个

插件的元信息来自作者仓库;分类、验证等级与安全结论的中文说明为中文整理,最近核验 —。