dsh-novel-write-engine 0.1.0 → 0.1.1

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.
@@ -333,6 +333,8 @@ export interface PipelineState {
333
333
  digest: string;
334
334
  }>;
335
335
  blocking: BlockingItem[];
336
+ /** Hash of the review document last written by submitReview/submitRevision. */
337
+ review_digest?: string;
336
338
  last_action: {
337
339
  op: string;
338
340
  at: string;
@@ -599,7 +601,10 @@ export interface StatusReport {
599
601
  platform: Platform;
600
602
  root: string;
601
603
  };
604
+ /** The chapter requested for metrics; may be historical. */
602
605
  chapter: number;
606
+ /** The chapter the pipeline is currently working on. */
607
+ active_chapter: number;
603
608
  stage: Stage;
604
609
  rounds: RoundCounters;
605
610
  blocking: BlockingItem[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-novel-write-engine",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Novel writing engine for DeepSeek Harness: state machine, gates, rulepacks and ledgers moved from prompts into code.",
5
5
  "keywords": [
6
6
  "dsh-plugin",
@@ -69,7 +69,7 @@
69
69
  },
70
70
  "engines": {
71
71
  "node": ">=24.9.0",
72
- "dsh": ">=0.2.1-rc.2 <0.3.0"
72
+ "dsh": ">=0.2.1-rc.2 <0.3.0-0"
73
73
  },
74
74
  "scripts": {
75
75
  "build": "tsdown && tsdown -c tsdown.client.config.ts && tsc -p tsconfig.client.json",
@@ -83,6 +83,7 @@
83
83
  "check:pack": "node scripts/check-pack.mjs",
84
84
  "check:artifacts": "node scripts/check-artifacts.mjs",
85
85
  "check:install": "node scripts/check-install.mjs",
86
+ "check:host": "node scripts/check-host.mjs",
86
87
  "check:hygiene": "node scripts/check-hygiene.mjs"
87
88
  },
88
89
  "dependencies": {
package/skills/entry.md CHANGED
@@ -29,7 +29,7 @@ description: 引擎版小说创作流程——状态、门控、字数与写盘
29
29
  | ready_to_archive | `novel_brief P8` | `novel_archive` |
30
30
  | done | — | 下一章从 P1 开始 |
31
31
 
32
- 拿不准就走 `novel_pipeline`,它直接告诉你调什么、传什么。
32
+ 拿不准就走 `novel_pipeline`,它直接告诉你调什么、传什么。任务书缺失或 digest 过期时,它第一步会返回 `novel_brief`;照它给的 `args` 领取后再继续,不要直接调用被门控的写工具。
33
33
 
34
34
  ## 工具速查
35
35