dsh-notepad
Manifest validDSH Web GUI Persistent Notepad on the Right: A sticky note panel pinned to the far right of the page, automatically saved to `~/.dsh/notepad/notes.md`, which the Agent can read and write via `notepad_read`/`notepad_write`.
dsh-notepad
钉在 DeepSeek Harness Web GUI 的常驻记事本插件(可拖动、可固定)。
- 双作用域:全局页(所有会话共享)+ 本会话隔离页,可切换或分屏同看
- 输入自动保存到
~/.dsh/notepad/(UTF-8 BOM、原子写、revision 乐观锁、冲突可合并/覆盖) - 保存失败自动重试;刷新后检测到未保存内容可一键恢复
- SSE 实时推送 + 轮询兜底;Markdown 预览(勾选框可点击)、完成率统计、时间戳插入、全文搜索、历史快照(每次保存前自动存档 20 份)、复制/下载导出
- Agent 工具:
notepad_read/notepad_write(append 按行去重、可选时间戳)/notepad_search(跨作用域) - 窗口可拖到任意位置、可锁定固定;宽度可调;窄屏自动收起;
Ctrl+Enter立即保存、Esc收起 - 纯客户端样式,只用
--dsw-*主题 token,跟随明暗主题
安装
dsh plugin --profile web add dsh-notepad
重启 dsh web 后刷新页面即可。卸载:dsh plugin --profile web remove dsh-notepad(便签文件默认保留)。
本地开发
源码放在 ~/.dsh/profiles/ 树内(link: 安装按插件的 realpath 向上解析依赖,
放在树外会够不到 profiles/node_modules 里宿主自带的 @deepseek-ai/*):
# <yourProfileDir> 为 ~/.dsh/profiles/ 下的实际路径
dsh plugin --profile web add link:<yourProfileDir>/dsh-notepad
结构
dsh-notepad/
├── package.json # dsh.bundle + dsh.client(浏览器半区)
├── cordis.patch.yml # 把宿主行插入组合的 patch
├── lib/
│ ├── index.js # 宿主办:存储/API/SSE + 模型工具
│ └── client.js # 浏览器半区:shell.overlay 常驻面板
HTTP API
| 方法 | 路径 | 说明 |
|---|---|---|
| GET | /api/notepad | ?scope=global|session&sessionId=&since= 读取(未变返回 text:null) |
| PUT | /api/notepad | body { scope, sessionId?, text, baseRevision?, force? },冲突返回 409 |
| GET | /api/notepad/stream | SSE 推送:{ scope, revision } 变更广播 |
| GET | /api/notepad/history | ?scope=&sessionId= 历史快照列表 |
| GET | /api/notepad/history/<id> | 载入单份快照 |
Comments
Loading…
From the same category
by ccch1mneyyy
DSH 官方公众号收录的 TUI 补位插件:Claude Code 风,鲸鱼顶栏/实时状态/流式思考/双击 Esc 回滚/上下文进度+TPS。npm 一键装。 DSH official WeChat featured TUI plugin — Claude Code style: whale bar, live status, streaming thoughts, double-Esc rol
★ 4.3k
↓ 10.9k/wk
MIT
TypeScript
Oct 11, 2026
dsh plugin --profile terminal add @deepseek-harness-tui/dsh-tuiby strukto-ai
The World's First Virtual Terminal for AI Agents
★ 3.7k
↓ 355/wk
Apache-2.0
TypeScript
Oct 11, 2026
dsh plugin --profile agent add @struktoai/mirage-dshby bowenliang123
The best DeepSeek Harness plugin for context insight and management, with context dashboard / browser / sidebar and context command, for context statistics, composition, breakdown, evolution details,
★ 2k
↓ 34.4k/wk
Apache-2.0
TypeScript
Oct 11, 2026
dsh plugin --profile web add dsh-contextby huiliyi37
官方 DeepSeek Harness 的交互式终端 UI 插件:自研 ANSI 极简交互渲染、流式 Markdown/工具卡、16+ 主题、slash 命令与选择器、输入历史与本地偏好持久化、LSP 诊断、memory记忆,很丝滑的开发体验。
★ 287
↓ 462/wk
Apache-2.0
TypeScript
Sep 30, 2026
dsh plugin --profile terminal add @huiliyi37/dsh-tianshu-tuiby Hilbert-beinghappy
面向 DeepSeek Harness 的 Claude Code 风格终端界面,支持 Windows、macOS 与 Linux,兼容透明终端、VS Code 主题和自定义配色。
★ 197
↓ 108/wk
MIT
TypeScript
Oct 1, 2026
dsh plugin --profile web add seekttyby T-Auto
deepseek-harness Plugin Access and Implementation Standards / deepseek-harness交互生态插件规范与实施标准
★ 83
MIT
JavaScript
Oct 10, 2026