klarkxy/dsh-editor
基于 DeepSeek Harness 的桌面写作应用,提供稿纸编辑、AI 写作辅助与可选插件。
Project Overview项目介绍
DSH Editor is an Electron-based desktop writing application that ships native installers for Windows (portable EXE plus a setup installer) and macOS (DMG and ZIP builds targeting Apple Silicon). The product exists exclusively for DSH: its name, packaging, and monorepo layout are all built around the DeepSeek Harness runtime, and the embedded DSH is pinned to 0.1.7-alpha.1. The core layout pairs a manuscript-style main editor pane with a sidebar AI partner that proposes completions, rewrites, discussion threads, and file-level suggestions; every change must be confirmed by the author before being written back to disk, so the work itself stays as an ordinary local folder rather than a proprietary database.
Typical sessions involve picking a dialog mode (general writing, novel composition, article/self-media drafting, or technical documentation) and writing inside the manuscript view while the assistant operates from the sidebar. Built-in tooling covers find-and-replace, chapter navigation, proofreading, version rollback, and export to Markdown, TXT, DOCX, and EPUB. Six AI capabilities ship pre-installed and enabled out of the box, covering web search, model routing, long-term memory, agent checkpoints, requirement clarification, and self-improvement notes, and additional DSH packages can be installed independently from npm per each package's README.
First-run caveats include unsigned binaries that may trigger Windows SmartScreen or Gatekeeper warnings, an in-app updater reachable from Settings → About, and the requirement that Node 24.16.0 with pnpm 10.14.0 be installed for contributors running pnpm install --frozen-lockfile, pnpm dev, pnpm build, pnpm typecheck, and pnpm test. Two plugins, dsh-manuscript and dsh-proofread, are not yet on npm and must be consumed as local tarballs. The repository is released under SATA 2.1 (Star And Thank Author License), so users and redistributors must read and follow that license's conditions before adoption.
DSH Editor 是一款基于 Electron 的桌面写作应用,提供 Windows 与 macOS(Apple Silicon)原生包,仅作为 DSH 的专属客户端存在,仓库整体命名与定位都围绕 DSH。核心形态是稿纸式正文编辑器加 AI 侧栏:作者在主稿纸上撰写正文,AI 搭档在侧栏负责补全、改写、讨论和文件提案,所有修改需经作者手动确认后才写入磁盘,作品以普通本地文件夹形式保存,避免锁定专有格式。
典型使用流程包含在侧栏切换通用写作、小说创作、文章与自媒体、技术文档等对话模式,配合内置的查找替换、章节导航、校对、版本回滚,以及 Markdown、TXT、DOCX、EPUB 多种导出格式。随桌面版预装了 6 个 AI 功能(涵盖搜索、模型路由、记忆、检查点、需求澄清、自我改进等),也可通过 npm 单独安装其余 DSH 插件。
依赖方面需 Node 24.16.0 与 pnpm 10.14.0,内置 DSH 固定为 0.1.7-alpha.1。应用未签名,首次运行需在系统安全提示中放行;更新通过「设置 → 关于」完成。项目以 SATA 2.1(Star And Thank Author License)授权,使用前需遵守相应条款。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-editor(klarkxy/dsh-editor)
仓库:https://github.com/klarkxy/dsh-editor
本站详情页:https://www.yhbd.top/plugins/klarkxy-dsh-editor/
本站登记:类型 client · 归类 原生 DSH 插件 · 许可证 NOASSERTION · ⭐ 13 · 最近提交 2026-09-27 · 主语言 TypeScript · 未检测到 DSH 插件清单
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- 13 stars - an early-stage project星标 13,属于早期项目
- No DSH plugin manifest detected - it may only carry the dsh-plugin topic, so the install method must be confirmed on the spot未检测到 DSH 插件清单:可能只是打了 dsh-plugin 话题,安装方式要现场确认
- Desktop client: installation downloads an executable - verify the publisher and checksums桌面客户端:安装会下载可执行文件,请核对发布者与校验和
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add github:klarkxy/dsh-editor
把 klarkxy/dsh-editor 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
DSH Editor
Windows / macOS 桌面写作应用。作者在稿纸上写正文,AI 搭档在侧栏提供补全、改写、讨论与文件提案;修改经作者确认后写入。作品是普通的本地文件夹。
支持查找替换、章节导航、校对、版本回滚和 Markdown / TXT / DOCX / EPUB 导出。新对话可选通用写作、小说创作、文章与自媒体、技术文档。
安装
Windows 提供便携版 EXE 和安装器,macOS 提供 Apple Silicon 的 dmg / zip。应用未签名,首次运行可能出现系统安全提示。更新入口在「设置 → 关于」,操作见使用指南。
插件
| 插件 | 用途 | 安装来源 |
|---|---|---|
| @klarkxy/dsh-zhihu | 知乎搜索与知识库 | npm |
| @klarkxy/dsh-web-search-manager | 网络搜索与网页读取 | npm |
| @klarkxy/dsh-ai-services | 插件共用的模型路由与用量服务 | npm |
| @klarkxy/dsh-current-title | 按当前任务更新会话标题 | npm |
| @klarkxy/dsh-mood | 需求澄清 | npm |
| @klarkxy/dsh-recap | 后台回顾与 Agent 检查点 | npm |
| @klarkxy/dsh-memory | 长期记忆与闲时整理 | npm |
| @klarkxy/dsh-self-improvement | 教训摘录与技能草稿导出 | npm |
| @klarkxy/dsh-model-center | 模型档位与用途配置 | npm |
| @klarkxy/dsh-fusion | Fusion 协作:主助手委派任务、持久执笔搭档产出候选,作者采用后写入 | npm |
| dsh-manuscript | 稿纸编辑 | 本地 tarball,尚未发布到 npm |
| dsh-proofread | 中文文本校对 | 本地 tarball,尚未发布到 npm |
六个 AI 功能均随桌面版预装并默认启用,可分别停用;Fusion 协作同样预装但默认关闭,可在「设置 → 插件」开启。记忆的 Dream 可单独关闭;回顾与 Agent 检查点随回顾插件统一开关。独立 DSH 可按各包说明从 npm 安装,见 使用与实现说明。
安装步骤在各包目录。仓库根目录是桌面应用 workspace,不能作为单个 DSH 插件安装。全部包与发布说明见 packages/。
开发
使用 Node 24.16.0、pnpm 10.14.0,内置 DSH 固定为 0.1.7-rc.2。
pnpm install --frozen-lockfile
pnpm dev
检查用 pnpm build、pnpm typecheck、pnpm test;打包与端到端命令见 package.json。
桌面入口在 apps/desktop/,插件在 packages/,开发约定与跨包架构见文档索引。
许可
SATA 2.1(Star And Thank Author License)。
shaobeichen/dsh-pocket
ningbainb/deepseek-harness-desktop
vibeinging/dsh-desktop
chokwinlee/deepseek-harness-desktop
zuorn/Tydora
skymecode/deepseek-harness-for-vscode
SCSpotato/dsh-remote
dclichang2022/dsh-green-meter