
x2802490130-prog/dsh-writing-remote
30Last commit Aug 15, 2026
dsh-writing-remote DSH plugin
dsh-writing-remote is a standalone package that bridges the dsh-tool-writing engine (running on host Node.js) and the dsh-client-ui-writing panel (running in browser). It provides read-only data access and orchestration triggers through Typert remote methods, keeping all write operations on the host side.
How to install the dsh-writing-remote DSH plugin
dsh plugin --profile web add dsh-writing-remoteCopying does not run this command. Review the repository and version before installing the dsh-writing-remote DSH plugin.
dsh-writing-remote DSH plugin data source
dsh-writing-remote DSH plugin snapshot date: Aug 16, 2026
discovered
What the dsh-writing-remote DSH plugin can do
- Return workspace index with volume directory, word count, status, summary, and plot log tail
- Provide project status including manifest, volume groups, total word count, and chapter count
- List chapters and retrieve chapter text with truncated preview
- Browse lore files categorized by characters, world, timeline, foreshadowing, and other
- Full-text search across project using SQLite FTS5
- List library entries and search within the library
- Show evolution entries with optional subject filtering
- Generate multi-thread narrative clue graph data for SVG rendering
- Trigger chapter-end auto orchestration (summary, extraction, evolution, foreshadowing reminders)
- Non-destructive scaffolding initialization (idempotent, one-click init for empty directory)
Where the dsh-writing-remote DSH plugin fits
- Display project index and volume overview in the writing panel
- Search across project content and library from the panel
- Browse and manage lore settings by category
- Track evolution versions and narrative thread graphs
- Trigger chapter orchestration and scaffolding actions remotely
Who the dsh-writing-remote DSH plugin is for
- Authors using DSH writing tools and client panel
- Developers building custom UIs that need to access DSH writing engine data
dsh-writing-remote DSH plugin limitations
- Read-only data access; no write capabilities exposed to the client
- Requires dsh-tool-writing@0.3.0 and @deepseek-ai/dsh-typert-protocol as peer dependencies
- Only works on host side (Node.js); not compatible with browser-only environments
- Configuration is limited to libraryRoot; other settings managed by the engine
dsh-writing-remote DSH plugin: from the repository README
Quoted from the x2802490130-prog/dsh-writing-remote README, the upstream source of the dsh-writing-remote DSH plugin. Copyright remains with the original authors.
DeepSeek Harness(DSH)写作三件套的 **host 侧数据通道**:把 [dsh-tool-writing](https://github.com/x2802490130-prog/dsh-tool-writing) 引擎的项目/书库/检索数据,以 [Typert remote](https://www.npmjs.com/package/@deepseek-ai/dsh-typert-protocol) 的形式暴露给客户端 [dsh-client-ui-writing](https://github.com/x2802490130-prog/dsh-client-ui-writing) 面板。 ## 为什么单独一个包 引擎跑在 host(Node),面板跑在浏览器,两者之间隔着 Typert 协议。remote 就是那层适配:面板要什么,remote 就提供什么——**只读数据 + 编排触发**,所有写操作仍在 host 侧引擎里完成,不把生成能力暴露给客户端。 ## Remote 方法 | 方法 | 返回 | 面板用途 | |---|---|---| | `workspaceIndex` | 分卷目录(字数/状态/摘要)+ 全书统计 + 情节日志尾部 | 索引视图、项目 tab | | `projectStatus` | manifest、分卷分组、总字数、章数 | 项目概览 | | `chaptersList` / `chapterText` | 章节列表 / 单章正文(截断预览) | 目录与预览 | | `loreList` | 设定文件按分类(characters/world/timeline/foreshadowing/other) | 设定浏览 | | `projectSearch` | 项目全文检索(SQLite FTS5) | 搜索 tab | | `libraryList` / `librarySearch` | 书库列表 / 书库检索 | 书库 tab | | `evolutionList` | 演化条目(可按主体过滤) | 演化版本链 | | `threadGraph` | 多线叙事线索图谱数据 | SVG 线程图 | | `syncNow` | 章末自动编排(摘要+抽取+演化+伏笔提醒) | 「章末编排」按钮 | | `scaffoldNow` | 非破坏式铺骨架(幂等,空目录一键初始化) | 「一键初始化」按钮 | 所有方法都以 `projectRoot` 为第一参数定位小说工程,面板传当前工作区,host 侧实例化对应引擎。 ## 安装与配置 ```bash dsh plugin --profile web add dsh-writing-remote # 或 npm install dsh-wr
Read the full READMERepository license: MIT
dsh-writing-remote DSH plugin questions
How do I install dsh-writing-remote?
You can install it using the DSH plugin command: `dsh plugin --profile web add dsh-writing-remote`. Alternatively, install it via npm: `npm install dsh-writing-remote`. Make sure you have the peer dependencies dsh-tool-writing@0.3.0 and @deepseek-ai/dsh-typert-protocol installed.
What are the dependencies for dsh-writing-remote?
The package requires dsh-tool-writing@0.3.0 (the engine) and @deepseek-ai/dsh-typert-protocol (Typert protocol) as peer dependencies. You need to install them separately or ensure they are present in your project. The configuration is minimal: only `libraryRoot` (default `$DSH_HOME/writing-library`) is required.
Can I use dsh-writing-remote without the writing engine?
No, dsh-writing-remote is designed to work as a data channel for the dsh-tool-writing engine. It provides remote methods that rely on the engine to read project data, lore, and perform searches. Without the engine installed and configured, the plugin will not function.
How do I use the remote methods listed in the README?
The remote methods (e.g., workspaceIndex, projectStatus, chaptersList) are exposed via Typert protocol. They are meant to be called by a client panel (like dsh-client-ui-writing) that connects to the host. Each method takes `projectRoot` as the first parameter to locate the novel project. You do not call them directly in code; they are used by the panel's UI.
Is dsh-writing-remote compatible with all DSH profiles?
The installation command uses `--profile web`, suggesting it is intended for web-based profiles. The plugin itself is a host-side remote that communicates with browser clients via Typert. It should work with any DSH profile that supports Typert protocol and has the writing engine installed.