x2802490130-prog/dsh-tool-writing ↗★ 0
dsh-tool-writing
Writing engine plugin for the DeepSeek Harness: long-form web-novel orchestration with a separate DeepSeek key for parallel fan-out generation, lore management, semantic vector retrieval, and corpus library.
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:x2802490130-prog/dsh-tool-writing说明文档
阅读完整 README ↗dsh-tool-writing
面向 DeepSeek Harness 的「写文引擎」插件:让 harness 具备长篇网络小说的创作能力,并用一把独立的 DeepSeek key 承担「子线程 / 分流 / 多线并行」的生成与检索任务。
设计定位
- 主 Agent(harness 自身模型):总调度,负责主线叙事、结构、设定、以及「新奇的、出其不意的想法」的决策。
- 本插件(独立 key):把重活分流出去——并发生成多章草稿、批量出点子、批量扩写细纲,以及资料检索与一致性筛查。
- 饲料区(书库):导入并管理多本小说,建立全文索引,供考据、风格参考与设定借鉴。
工具集
创作核心
| 工具 | 作用 |
|---|---|
| `novel_init` | 初始化小说项目(元信息 + 目录骨架) |
| `novel_outline` | 生成/展开主线、分卷、章节细纲(可并行) |
| `novel_lore` | 人物/世界观/时间线/伏笔的增删改查 |
| `novel_brainstorm` | 并发生成 N 个新奇点子 |
| `novel_draft` | 起草一章正文(综合设定+大纲+前文,支持分卷) |
| `novel_continue` | 从最近章节自动续写下一章 |
| `novel_batch` | 并发生成多章草稿(分流/多线) |
| `novel_polish` | 润色/改写 |
| `novel_review` | 一致性审校(检索前文+设定,筛查矛盾) |
| `novel_research` | 资料检索/考据,归纳成笔记 |
| `novel_status` | 查看项目进度(分卷/章节/字数) |
| `novel_export` | 导出全书为单个 Markdown/TXT |
| `novel_summarize` | 生成章节情节摘要,写入可检索的情节日志 |
| `novel_setting_extract` | 从正文自动抽取人物/世界观/伏笔到 lore/ |
| `novel_foreshadow` | 伏笔回收追踪(登记/回收/查未回收) |
| `novel_brief` | 模糊需求一键开书(一句话 → 完整方案) |
| `novel_distill` | 蒸馏文本为精华 + 保留校验(项目/书库,含全书语义召回) |
| `novel_handbook` | 生成给人读的导航手册(含语义召回名场面) |
| `novel_simulate` | 深度推演引擎(心理/因果/交汇/反常识意外) |
| `novel_semantic` | 混合语义检索(向量召回+字面召回+LLM 重排,按含义而非字面) |
| `novel_vsearch` | 纯向量语义检索(cosine 相似度,免 LLM,快速看命中) |
| `novel_embed` | 构建/补全语义向量索引(增量、断点续传、内容变更自动重嵌) |
| `novel_evolution` | 设定/人物演化追踪(auto 检测 + 手动 + 历史 + 版本 diff 陈旧检测) |