Skip to content

x2802490130-prog/dsh-client-ui-writing

30Last commit Aug 15, 2026

dsh-client-ui-writing DSH plugin

dsh-client-ui-writing is a DSH plugin that adds a sidebar writing panel with four tabs (Project, Library, Search, Evolution) and a session-level full-book index view. It works only in the 'writing' preset sessions, providing read-only data and triggering orchestration on the host side via dsh-writing-remote and dsh-tool-writing.

How to install the dsh-client-ui-writing DSH plugin

dsh plugin --profile web add dsh-client-ui-writing

Copying does not run this command. Review the repository and version before installing the dsh-client-ui-writing DSH plugin.

dsh-client-ui-writing DSH plugin data source

dsh-client-ui-writing DSH plugin snapshot date: Aug 16, 2026

discovered

What the dsh-client-ui-writing DSH plugin can do

  • Sidebar panel with Project, Library, Search, and Evolution tabs for managing novel structure, imported novels, full-text search, and character/setting evolution.
  • One-click chapter-end orchestration (novel_sync) to generate chapter summaries, extract settings, detect evolution, and flag loose ends.
  • Full-book index view within writing sessions, including volume/chapter directory, word count, and quick navigation via keyboard shortcuts (Ctrl+/ or Alt+K, arrow keys).
  • Mode-gated: only visible in sessions with agentPreset set to 'writing'; completely hidden in other presets.

Where the dsh-client-ui-writing DSH plugin fits

  • Organize and manage a long novel's chapters, volumes, and word counts from the sidebar.
  • Search across the project and imported novel library for characters, settings, or plot points using FTS5.
  • Track character and setting evolution with version chains and inline diffs, visualize narrative threads with SVG thread diagrams.
  • Quickly jump to any chapter from the index view using number input or keyboard shortcuts.

Who the dsh-client-ui-writing DSH plugin is for

  • Authors writing long-form web novels using DSH with the 'writing' preset.
  • Users who want a structured, searchable overview of their novel content directly within the chat interface.

dsh-client-ui-writing DSH plugin limitations

  • Only activates in sessions with the 'writing' preset; completely invisible in other presets.
  • Requires host-side installation of dsh-writing-remote and dsh-tool-writing, plus a separate DSH_WRITING_API_KEY for the engine.
  • Peer dependencies: react@^18.2.0, @deepseek-ai/dsh-client-runtime, @deepseek-ai/dsh-client-ui-slots must be available in the host project.

dsh-client-ui-writing DSH plugin: from the repository README

Quoted from the x2802490130-prog/dsh-client-ui-writing README, the upstream source of the dsh-client-ui-writing DSH plugin. Copyright remains with the original authors.

DeepSeek Harness(DSH)Web 客户端的「写作」工作台:为长篇网文创作提供侧边栏写作面板 + 会话内全书索引视图。是三件套的前端——引擎本体是 [dsh-tool-writing](https://github.com/x2802490130-prog/dsh-tool-writing),host 侧数据通道是 [dsh-writing-remote](https://github.com/x2802490130-prog/dsh-writing-remote)。 ## 三件套分工 ```text 🖥️ dsh-client-ui-writing —— 浏览器侧(本包)    侧边栏写作面板 · 会话内索引视图 · 快捷键总线     ↓ Typert remote(只读 + 编排触发) 📡 dsh-writing-remote —— host 侧数据服务    项目 / 书库 / 检索 / 演化 / 线索     ↓ ✍️ dsh-tool-writing —— host 侧写文引擎    生成 / 检索 / 书库 / 编排 ``` 面板**只读数据 + 触发编排**,不直接生成正文;所有重活都在 host 侧由引擎完成。 ## 功能 ### 侧边栏「写作」面板 挂在侧边栏底部,四个 tab: | tab | 内容 | |---|---| | **项目** | 分卷/章节目录(字数、状态、摘要);全书统计(章数/总字数/未回收伏笔/演化记录);情节日志尾部预览;空项目一键初始化写作工程(`scaffoldNow`,幂等不破坏) | | **书库** | 饲料区所有小说:书名/作者/分类/章数/字数;空时提示用 `novel_library_import` 导入 | | **搜索** | 项目 + 书库联合全文检索(SQLite FTS5),搜人名/设定/情节,命中直达对应章节 | | **演化** | 设定/人物演化版本链:主体列表(按主体去重)→ 点击看该主体的完整版本链内联 diff;线索图谱(SVG 线程图,多线叙事的交汇点可视化);空时提示跑 `novel_sync` / `novel_threads` 登记 | 面板头部还有「章末编排」按钮:一键触发 `novel_sync`(章节摘要 + 设定抽取 + 演化检测 + 伏笔提醒)。 ### 会话内全书索引视图 在「写作」预设的会话里,顶部「对话/轨迹」旁多一个索引 tab: - 全书索引:分卷目录、字数/状态/摘要、快速定位、章节预览、打开原文 - 纯数字直达第 N 章;`/ ` 或 `Ctrl+/ `、`Alt+K` 聚焦搜索框 - `↑↓` 选择、`Enter` 预览、`Esc` 关闭;触摸/拖拽左右滑动切换模块 - 快捷键总线在插件加载时以捕

Read the full READMERepository license: MIT

dsh-client-ui-writing DSH plugin questions

The writing panel doesn't show up. What should I do?

Make sure you are using a session with the 'writing' preset. The plugin is mode-gated and only appears when agentPreset is set to 'writing'. Also verify that you have installed both dsh-writing-remote and dsh-tool-writing on the host side, and set the DSH_WRITING_API_KEY environment variable.

How do I install the plugin?

Run `dsh plugin --profile web add dsh-client-ui-writing` in your terminal, or install it via npm with `npm install dsh-client-ui-writing`. Ensure you have the required peer dependencies: react@^18.2.0, @deepseek-ai/dsh-client-runtime, and @deepseek-ai/dsh-client-ui-slots.

Can I use this plugin without the 'writing' preset?

No. The plugin is specifically designed for the 'writing' preset. It will not render in any other session preset (e.g., 'chat', 'code'). You must create a session with agentPreset = 'writing' to see the panel and index view.

What is the keyboard shortcut to open the search box?

Press Ctrl+/ (or Cmd+/ on Mac) or Alt+K to focus the search input in the full-book index view. You can then use arrow keys to navigate results, Enter to preview, and Esc to close.

How do I initialize my writing project?

In the Project tab, if the project is empty, click the 'scaffoldNow' button to initialize the writing engineering structure. It is idempotent and won't destroy existing data. Alternatively, you can use the host-side tool dsh-tool-writing commands to set up the project.