x2802490130-prog/dsh-client-ui-writing

DeepSeek Harness 客户端写作面板:项目、资料库、全文搜索、迭代差异和 SVG 线程图。

Project Overview项目介绍

This is a native plugin built specifically for the DeepSeek Harness (DSH) web client, designed to add a dedicated writing workbench for long-form web novel creation. It serves as the browser-side frontend component of a three-part novel writing toolkit, providing a sidebar writing panel and an in-conversation full book index view. The plugin only displays its UI in DSH sessions marked with the “writing” agent preset, and stays fully hidden in other sessions to avoid clutter. You can install it via the DSH CLI with the command dsh plugin --profile web add dsh-client-ui-writing, or install it directly via npm.

This plugin is built for long-form fiction writers, and it organizes core features into four tabs on the sidebar. The tabs cover project outline management, full book library browsing, combined full-text search across projects and the library, and viewing evolution chains of story settings and characters. It also adds a full book index tab next to the default conversation and trace tabs in writing sessions, letting users jump directly to any chapter via number input, or search for specific content with customizable keyboard shortcuts. The index supports touch gestures like swiping to switch between sections, making it easy to use on both desktop and mobile devices.

This plugin only handles read-only data display and workflow triggering, all heavy content generation work is done by the host-side components in the three-part toolkit. Before you install this plugin, you must first install the host-side dependencies dsh-writing-remote and dsh-tool-writing, and the writing engine requires a separate API key configuration to work properly. The plugin is released under the open-source MIT license, and it relies on all peer dependencies including React 18.2.0 or higher, and official DSH client runtime and UI slots packages, which are not bundled with this plugin.

这是DeepSeek Harness(DSH)Web客户端原生的「写作」工作台插件,专门为长篇网文创作提供侧边栏写作面板与会话内全书索引视图功能,属于长篇小说写作三件套中的浏览器前端包。用户可以通过DSH插件命令行dsh plugin --profile web add dsh-client-ui-writing或直接使用npm install命令完成安装,插件仅在DSH标记为写作预设的会话中显示界面,其他会话自动隐身不占用资源。

它面向需要创作长篇网络小说的创作者,在侧边栏提供四个功能标签页,分别支持项目分卷章节目录管理、书库浏览、全文检索和设定人物演化查看,还支持一键触发章末编排流程。会话内额外新增了全书索引视图,支持快速定位章节、搜索跳转,适配快捷键操作和触摸滑动切换,创作者可以在创作过程中随时梳理全书结构、检索过往设定。

本插件仅负责只读展示和编排触发,正文生成等核心工作由同系列的host侧引擎完成,安装前需要先安装host侧的dsh-writing-remote和dsh-tool-writing两个依赖包,引擎还需要单独配置API密钥。本插件采用MIT许可证开源,依赖React 18.2以上版本以及DSH官方的客户端运行时和插槽包,不会内嵌这些依赖。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 5 stars - very few users, little community feedback星标只有 5,几乎没人在用,遇到问题缺少社区反馈
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 dsh-client-ui-writing

把 x2802490130-prog/dsh-client-ui-writing 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-client-ui-writing

npm version license

DeepSeek Harness(DSH)Web 客户端的「写作」工作台:为长篇网文创作提供侧边栏写作面板 + 会话内全书索引视图。是三件套的前端——引擎本体是 dsh-tool-writing,host 侧数据通道是 dsh-writing-remote。

三件套分工

🖥️  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 关闭;触摸/拖拽左右滑动切换模块
  • 快捷键总线在插件加载时以捕获阶段挂到 window,先于应用拿到按键;切出写作会话后组件卸载、处理器自动失效

模式门控

只在「写作」预设(agentPreset === "writing")的会话显示面板与索引视图,其他会话完全隐身。

安装

dsh plugin --profile web add dsh-client-ui-writing
# 或
npm install dsh-client-ui-writing

前置:host 侧需安装 dsh-writing-remote(它依赖 dsh-tool-writing);引擎需要独立的 DSH_WRITING_API_KEY(见 tool-writing 的 README)。

peerDependencies:react@^18.2.0、@deepseek-ai/dsh-client-runtime、@deepseek-ai/dsh-client-ui-slots(官方包走 peer,不内嵌)。

许可证

MIT。

← 上一个 Prev dsh-auto-retry 下一个 Next AriaAgent →