Notes and folder reader in the main panel: a file tree with pinned files, closeable tabs, Markdown split edit/preview with synced scrolling, plain-text editing, manual save, and drag-to-move. Deleting a file moves it to the system trash where one exists (macOS, Linux), falling back to an in-folder dsh-notes-trash directory; Windows has no delete entry.
Install
# from npm (prebuilt)
dsh plugin --profile web add dsh-client-ui-notes
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:Zxy0902/dsh-notes-plugin
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
This plugin publishes its README in Chinese only.
在 DeepSeek Harness 里当备忘录 + 目录阅读器用:左侧栏一个「笔记」按钮,点开后 主面板变成阅读器 —— 左边文件夹树 + 置顶区,右边浏览器式标签页,Markdown 左编辑右 实时预览。
纯外部插件:只通过官方 Slot 机制接入,不改动 DSH 任何源码。
核心功能
| 能力 | 说明 |
|---|---|
| 目录阅读 | 任选文件夹作为根,目录懒加载;点文件即在右侧打开 |
| 标签页 | 浏览器式:切换、关闭、中键关闭、拖动排序、右键批量关闭;未保存有小圆点 |
| Markdown | 左编辑右实时预览,可分栏 / 仅编辑 / 仅预览(会被记住为默认) |
| 纯文本 | txt 单栏编辑,不显示无意义的预览栏 |
| 代码染色 | .sql/.java/.py 这类代码文件按语法着色,带行号;染色只是一层,照样能编辑 |
| 手动保存 | ⌘S 或保存按钮。关闭还没保存的标签页会先问「保存并关闭 / 不保存 / 取消」 |
| 字数 | 底部状态栏显示正文字数(不计空白与换行) |
| 撤销 / 重做 | ⌘Z / Ctrl+Z 撤销,⌘⇧Z / Ctrl+Y 重做,多步可回;连续打字合一步、按回车分步,中文输入法整段只算一步 |
| 自动换行 | 底栏「换行」按钮切换,默认开;中文标点不放行首、长链接也断得开,只改显示不写文件 |
| 文档内查找 | 文档头放大镜,编辑与预览都支持;不占用 ⌘F,把快捷键留给其他插件 |
| 大纲 | 长文档右侧列出目录,点一下跳过去,读到哪里哪条亮起 |
| 置顶 | 最多 6 个,可拖动排序,双栏 / 单栏切换 |
| 文件操作 | 新建、行内重命名、拖拽移动、删除(进系统回收站)、在访达中定位 |
| 状态记忆 | 标签页、置顶、展开的目录、滚动位置、未保存草稿都会保留 |
| 技能浏览 | 内置 / 自定义技能列表,可只读查看 SKILL.md 与它所在的文件夹 |
| agent 指令 | 查看与编辑给模型看的规则文件(如 ~/.dsh/AGENTS.md) |
| 打开方式 | .doc/.pdf 这类不塞进编辑器,而是给出「用 XX 打开」控件 |
| 长文件名 | 被截断的名字,鼠标停一下就显示全名 |
安装
前置:这是图形界面插件,只在 Web GUI 里有界面(桌面应用,或自己跑的 dsh web)。
dsh headless、SDK 这类纯终端场景装了不会报错,但也不会有任何界面。
桌面应用(macOS / Windows)
左侧栏打开**「插件」面板** → 点**「添加插件」** → 填 dsh-client-ui-notes → 安装。
终端 / Linux(自建 profile)
dsh --profile notes --from-default-profile web --dump-config > /dev/null
dsh plugin --profile notes add dsh-client-ui-notes
dsh --profile notes web
第 1 步不能省:直接
dsh plugin add建出来的是 base profile,没有 Web 界面层, 插件装上了也不会显示。
首次使用
- 点左上角的文件夹按钮,选一个目录作为笔记根目录;
- 文件树默认只显示「可编辑」的文本文件,想看
.doc/.pdf就切到「全部」。
更新
| 方式 | 怎么用 |
|---|---|
| 插件详情页 | 侧栏「插件」→ 点本插件卡片 → 「版本」区块里点「更新」 |
| 插件市场 | 市场里搜到本插件后点「更新」 |
| 命令行 | dsh plugin --profile <名字> add dsh-client-ui-notes@latest |
升级入口由 DSH 自己提供,本插件不自带「检查更新」按钮。
兼容性
| macOS | Windows | Linux | |
|---|---|---|---|
| 桌面应用 | ✅ | ✅ | ❌ 官方未发布 |
自建 dsh web |
✅ | ✅ | ✅ |
| 删除文件 | ✅ 系统废纸篓 | ❌ 不提供 | ✅ XDG 回收站 |
为什么 Windows 没有删除:它没有可移植的用户态回收站,做不到「可还原的删除」, 所以干脆不显示这个入口 —— 而不是把文件挪进一个你以为是回收站的目录。
目标 DSH >=0.2.0-rc.1。插件零三方运行时依赖,只使用 DSH 的平台基线模块;
所有槽位注册都包在 slots.inject() 里 —— DSH 未来删掉某个席位时,插件只是不显示,
不会启动失败。
更多文档
| 文档 | 内容 |
|---|---|
| CHANGELOG.md | 每个版本改了什么 |
| DEVELOPMENT.md | 工程结构、安全设计、实现过程中踩过的坑 |
| VERIFICATION.md | 各项功能在真实环境里的实测记录 |
反馈与新需求
用下来觉得哪里别扭、或者想要什么功能,欢迎到 Issues 提。我会看,合适的会酌情加进来。
Links
More in this category
tt-a1i/archify#integrations/deepseek-harness★ 102624
Generate validated, self-contained interactive architecture, workflow, sequence, data-flow, and lifecycle diagrams from repositories or system descriptions.
dream-num/dsh-univer-office★ 774
Give DeepSeek Harness a real office environment. Univer Office Plugin brings spreadsheets, docs, slides, canvases, relational tables, and more into one runtime — with connected data, validation, versioned changes, and isolated worktrees for multi-agent collaboration.
ECNU/EduWork#dsh-knowledge-studio★ 461
A workspace-based Studio for source-grounded reports, slides, tables, mind maps, quizzes, flashcards, audio and video, using DSH models and shared artifact services. Office generation requires Python 3.12+ with its dependencies and DSH_OFFICE_PYTHON configured; media rendering requires Chromium, and local ASR additionally requires whisper.cpp and a model.
Roland0511/dsh-marktext★ 423
WYSIWYG Markdown editor in the DSH right sidebar, built on MarkText's muya engine: open a .md file, edit it as a rendered document, and save back through ctx.fs with a version guard.
PerryLink/dsh-industry-research★ 228
Deterministic industry research reports for DeepSeek Harness — company and industry research flows produce structured, verifiable reports from staged evidence.
joeseesun/qiaomu-ui-learn-dsh★ 123
Browse UI design references and interaction examples, take design quizzes, and export learning notes as Markdown.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.