@waterwx/dsh-novel-forge 2.1.0-alpha → 2.1.2-alpha

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.js CHANGED
@@ -10534,13 +10534,13 @@ function assistantSystemPrompt(project) {
10534
10534
  "- assets_set_progression:{\"name\": \"模式名\", \"driver\": \"驱动力\", \"primary\": true/false}。设置主/辅助推进模式。",
10535
10535
  "- assets_add_rule:{\"name\": \"规则名(可选)\", \"avoid\": \"要避免的表达问题\", \"fix\": \"修正方向(可选)}。新增反 AI 规则。",
10536
10536
  "- book_analysis:{\"scope\": \"recent|full|volume:N\"(可选)}。拆书:提炼本书卖点/结构/可借鉴/风险(分析当前书,不照搬外部作品)。",
10537
- "- director_advice:{\"focus\": \"聚焦方向(可选)\"}。自动导演:基于全书给出下一阶段剧情节点/节奏板/风险/修复建议。",
10537
+ "- director_advice:{\"focus\": \"聚焦方向(可选)\"}。自动编辑:基于全书给出下一阶段剧情节点/节奏板/风险/修复建议。",
10538
10538
  "- knowledge_add:{\"title\": \"标题\", \"content\": \"内容\"}。往本书知识库加一条自由参考文档(生成时会被检索注入)。",
10539
10539
  "- knowledge_search:{\"query\": \"关键词\"}。在本书知识库检索相关内容。",
10540
10540
  "- plotline_list:无参数。查看本书当前剧情线。",
10541
10541
  "- plotline_add:{\"name\": \"线名\", \"goal\": \"目标\", \"kind\": \"main|branch|character|mystery(可选)\"}。新增一条剧情线。",
10542
- "- director_todo_add:{\"text\": \"待办内容\", \"source\": \"risk|fix(可选)\"}。把一条风险/修复记成导演待办。",
10543
- "- director_todo_list:无参数。查看本书导演待办。",
10542
+ "- director_todo_add:{\"text\": \"待办内容\", \"source\": \"risk|fix(可选)\"}。把一条风险/修复记成编辑待办。",
10543
+ "- director_todo_list:无参数。查看本书编辑待办。",
10544
10544
  "- knowledge_list:无参数。**列出本书全部知识库文档**(标题+内容)。作者说\"收集/汇总/列出所有知识库\"时调用它。",
10545
10545
  "- breakdown:{\"scope\": \"recent|all|volume:N\"(可选,默认 recent), \"preset\": \"quick|standard\"(可选)}。书内拆书分析:对本书已写章节做结构/人物/文风/卖点体检。",
10546
10546
  "- audit:无参数。全书一致性质检(分批扫描章节+设定+事实库,聚合矛盾)。",
@@ -10812,7 +10812,7 @@ async function* executeAction(ctx, config, project, outputDir, name, args) {
10812
10812
  case "director_advice": {
10813
10813
  const result = await runDirectorAdvice(ctx, config, project, { focus: str(args.focus) });
10814
10814
  return [
10815
- "自动导演建议:",
10815
+ "自动编辑建议:",
10816
10816
  `总体判断:${result.summary}`,
10817
10817
  "下一阶段节点:",
10818
10818
  ...(result.nextArc ?? []).map((s) => `- ${s}`),
@@ -10898,12 +10898,12 @@ async function* executeAction(ctx, config, project, outputDir, name, args) {
10898
10898
  });
10899
10899
  project.updatedAt = (/* @__PURE__ */ new Date()).toISOString();
10900
10900
  saveProject(outputDir, project);
10901
- return `已加入导演待办「${text.slice(0, 30)}」(当前 ${project.todos.length} 条)`;
10901
+ return `已加入编辑待办「${text.slice(0, 30)}」(当前 ${project.todos.length} 条)`;
10902
10902
  }
10903
10903
  case "director_todo_list": {
10904
10904
  const todos = project.todos ?? [];
10905
- if (todos.length === 0) return "还没有导演待办。";
10906
- return `导演待办(${todos.length} 条):\n` + todos.map((t) => `- ${t.done ? "[已处理]" : "[待处理]"} ${t.text}`).join("\n");
10905
+ if (todos.length === 0) return "还没有编辑待办。";
10906
+ return `编辑待办(${todos.length} 条):\n` + todos.map((t) => `- ${t.done ? "[已处理]" : "[待处理]"} ${t.text}`).join("\n");
10907
10907
  }
10908
10908
  case "knowledge_list": {
10909
10909
  const docs = project.knowledgeDocs ?? [];
package/package.json CHANGED
@@ -1,8 +1,19 @@
1
1
  {
2
2
  "name": "@waterwx/dsh-novel-forge",
3
3
  "description": "AI 编译小说工作台 for the dsh web GUI: import a novel outline (docx/text), plan chapters with LLM, generate chapter by chapter (3000-4000 chars each), and save every chapter as Markdown into your chosen output folder.",
4
- "version": "2.1.0-alpha",
4
+ "version": "2.1.2-alpha",
5
5
  "type": "module",
6
+ "author": "waterwx",
7
+ "keywords": [
8
+ "dsh",
9
+ "dsh-plugin",
10
+ "deepseek-harness",
11
+ "小说工坊",
12
+ "novel-forge",
13
+ "ai-novel-writing",
14
+ "novel-writing",
15
+ "写作助手"
16
+ ],
6
17
  "engines": {
7
18
  "node": "^22.19.0 || >=24.0.0"
8
19
  },
@@ -78,7 +89,6 @@
78
89
  "lib/**/*.d.ts",
79
90
  "src",
80
91
  "assets/styles",
81
- "skills",
82
92
  "scripts/patch-schemastery.mjs",
83
93
  "cordis.patch.yml",
84
94
  "README.md"