akira399/dsh-novel-writer 预览 preview

akira399/dsh-novel-writer

大肥鱼的小说工坊 — DSH 网络小说创作插件:九阶段门禁式创作流程 + 世界书设定注入 + 本地书籍导入 + AI 一键润色 + 去AI味 + 黄金三章诊断 + 百万字一致性 + 市场调研与模板复制。

Project Overview项目介绍

dsh-novel-writer is a native plugin built exclusively for DeepSeek Harness (DSH) that enables AI-assisted web novel writing. To install the plugin, you must already have a working installation of the latest DSH with Node.js 18 or higher running on Windows, macOS, or Linux. You can install it via AI-assisted command execution, manual download of the latest release tgz file, or building from source with Node.js 22 and Git. Once installed, you just need to refresh the DSH page with Ctrl+Shift+R to see the sidebar entry.

This plugin supports a full range of web novel creation workflows, from initial topic selection and setting building to outlining, drafting, revision, and final export. It caters to both new and experienced web novel authors, whether you are starting a brand new book from scratch or importing an existing local TXT or Markdown file to continue writing or polish. It includes features like gated stage checks to prevent the model from skipping required steps, automatic consistency checks for long works, and one-click polishing with previewable diffs. Authors can export finished works in TXT, Markdown, or platform-specific formats ready for submission.

This plugin is released under the open-source MIT license, and all user creation data is stored locally on the user’s machine, never uploaded to any external server. It reuses DSH’s existing main model routing, so it does not require users to input a separate API key. First-time users need to send an initial chat message to activate the model routing before they can start writing or polishing chapters. All write operations are logged for auditing, and the plugin includes CSRF protection for its GUI routes to prevent security issues.

这是一款专为DeepSeek Harness(DSH)打造的原生网络小说创作插件,提供九阶段门禁式创作流程、世界书(lorebook)设定注入、本地书籍导入、AI一键润色、去AI味、黄金三章诊断等功能,能保障百万字长文的设定一致性。插件自带DSH侧边栏GUI工作台,内置41个创作相关agent工具,还附赠专属创作模式agent预设,安装后新建会话选择预设即可一键进入创作状态。

适合网文作者从零创作、续写已有文稿、给作品做质量诊断或润色。用户可以从零创建新书,也可以导入本地txt/md格式的已有网文,自动分章后直接续写润色。创作过程中,世界书固化设定,事实账本自动记录人物、物品、地点状态,一致性巡检会自动检测设定冲突,避免长文创作出现设定崩裂的问题。

本插件采用MIT许可开源,完全免费使用,所有创作数据都仅存储在用户本地,不会上传到外网。安装要求用户已经安装了最新版DSH,Node.js版本不低于18,可以通过AI辅助安装、手动下载安装或源码构建安装三种方式安装。首次使用需要先发起一次对话让模型路由就绪,之后即可正常使用所有功能。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 no risk signal found未发现风险信号
  • This site's static screen found no obvious risk signal (stars, license, activity, manifest)本站静态筛查没发现明显风险信号(星标、许可证、更新活跃度、清单完整度)
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:akira399/dsh-novel-writer

把 akira399/dsh-novel-writer 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

大肥鱼的小说工坊 — DSH 网络小说创作插件

大肥鱼的小说工坊(dsh-novel-writer)

一个面向 DeepSeek Harness(DSH)的网络小说创作插件: 九阶段门禁式创作流程 + 世界书(lorebook)设定注入 + 本地书籍导入 + AI 一键润色 + 去 AI 味 + 黄金三章诊断 + 百万字一致性保障。

大肥鱼的小说工坊 Logo

让 DSH 像一位专业的网文编辑与你协同:从选题、设定、人设、大纲到分章、正文、修订、完本,每一步有模板、有门禁、可校验、可回滚;并有世界书把你的设定固化下来,确保百万字不崩设定。


✨ 功能特性

九阶段门禁式创作流程

选题 → 设定 → 人设 → 大纲 → 分卷 → 细纲 → 正文 → 修订 → 完本

  • 阶段门禁:未批准不能跳阶段(可用户显式放行/回退),杜绝模型"口头跳阶段"
  • 产物版本快照:每阶段每次提交留档 versions/<phase>/v<n>,可回退任意历史版本
  • 审计日志:每次 commit / 放行 / 回滚写入 audit.jsonl

世界书(lorebook)设定注入

  • 关键词 / 正则触发 + 常驻注入,条目按书绑定(每本书独立栏目)
  • 导入支持 Operit / SillyTavern / 角色卡 三格式,自动兼容警告
  • 导出到酒馆:世界书面板点「导出到酒馆」直接下载 SillyTavern 原生 lorebook JSON({entries:[...]})即可在酒馆「Import」导入作前置设定;也可用 lorebook_export_entries format=sillytavern 走对话导出
  • AI 一键生成设定:按书名+题材自动生成 4-6 条核心设定并绑定本书
  • 注入 token 预算裁剪,长上下文不爆窗

世界书(设定注入)面板

质量保障

  • AI 味检测与去除:内置 234 词 5 类词库 + 密度评分 + 一键改写
  • 黄金三章诊断:规则层离线必出分(钩子/开场/冲突/灌输/字数/对话)+ 可选模型层深度诊断
  • 四族校验:结构/内容/剧情/一致性,提交即检(字数/标题/禁用词/视角/钩子/细纲覆盖/账本冲突)

百万字一致性

  • 事实账本:章节内 <JSONPatch> 自动落账(人物境界/物品/地点状态),冲突检测与巡检
  • 时间线:书内时间归一 + 倒挂检测;伏笔登记与回收跟踪;世界书自动沉淀建议
  • 上下文包三层记忆(L1 全书设定 + L2 卷章细纲前文 + L3 摘要/变量/世界书)预算恒定(压测 100 万字 0 超限)

一键写作与润色

  • 一键写章:host 直写(上下文包 → 正文 → 自动落盘),章节统计/账本/审计联动;写作指令强调严格遵循本章细纲/全书设定/前文事实,避免自创冲突
  • 一键润色:AI 做重构式润色——整句重写、大胆扩写、可在段后添加细节描写(只守情节/人物/设定底线),改动按段落拆成建议,每条可单独采纳/拒绝(也可全部采纳/全部拒绝),只保存你选中的改动
  • 采纳即预览:点「采纳这条」→ 顶部原文视图中该段立即显示润色文并标绿,新增段实时插入,取消采纳立即恢复——所见即所得
  • 字级 diff 标亮:每条建议段内标出具体改动(删除线=删,黄底=新增/改写处)
  • 逐条可定位:每条建议带「📍 定位」跳到原文对应段落
  • 逐步撤销:可撤销 AI 润色与手动编辑,还原到任意历史状态

一键写章界面 一键润色 + diff 标亮预览

本地导入 & 配套工具

  • 导入本地书籍:txt/md 自动识别章节并建书(含 md frontmatter 题材/书名)
  • 27 类题材标签(玄幻/仙侠/武侠/西幻/都市/现实/科幻/悬疑/言情/轻小说/流派向…)
  • 修订(校对/节奏/文风三模式)、导出(txt/markdown/平台排版)
  • 市场调研辅助(web_search 引导 + 落盘 reports/market.md)、模板复制(克隆完本品为模板)、灵感库/伏笔/术语表/账本查询

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-endfield-ui 下一个 Next dsh-auto-memory →