@lingjingai/scriptctl 0.9.8 → 0.10.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.
package/dist/help-text.js CHANGED
@@ -6,14 +6,12 @@ const HELP_ENTRIES = [
6
6
  Usage
7
7
  - scriptctl <verb> <address> [flags] # 编辑(多态 verb 按 address 格式分发)
8
8
  - scriptctl <plural-noun> [flags] # 查询
9
- - scriptctl direct <command> [flags] # 直转 workflow
9
+ - scriptctl import <command> [flags] # 素材导入 workflow
10
10
  - scriptctl write <command> [flags] # 逐集写作 workflow
11
11
 
12
12
  Workflow groups
13
- - direct init Build the initial direct-conversion script.
14
- - direct validate Validate the current initial script.
15
- - direct inspect Inspect episodes, assets, or issues.
16
- - direct export Store the final script through Gateway after validation.
13
+ - import init Parse existing material into the initial script.
14
+ - import push Publish the script to the DB (validation is advisory).
17
15
  - write init Scaffold workspace/episodes/ + meta.json template.
18
16
  - write draft <n> Draft + lint + assemble-validate + auto-commit a single episode.
19
17
  - write batch Draft a range of episodes in one go.
@@ -102,17 +100,18 @@ Checks
102
100
  `,
103
101
  ],
104
102
  [
105
- ["direct"],
106
- `scriptctl direct converts existing scripts without using ep*.md.
103
+ ["import"],
104
+ `scriptctl import structures existing script material and publishes it.
107
105
 
108
106
  Usage
109
- - scriptctl direct <command> [options]
107
+ - scriptctl import <command> [options]
110
108
 
111
109
  Commands
112
110
  - init Build source manifest, episode plan, initial script, validation.
113
- - validate Validate script.initial.json.
114
- - inspect Inspect episode, asset, or issue summaries.
115
- - export Export script.initial.json to the final script store.
111
+ - push Publish the initial script to the final script store (validation advisory).
112
+
113
+ After push, self-review and repair the published DB script with the top-level
114
+ read/edit verbs (validate / issues / replace / type / actor / ...).
116
115
 
117
116
  Options
118
117
  - --json Print machine-readable JSON.
@@ -123,15 +122,15 @@ Exit codes
123
122
  - 64 usage or arguments error
124
123
  - 66 input file unavailable
125
124
  - 70 provider or runtime failure
126
- - 78 validation failed; agent repair needed
125
+ - 78 initial script written but agent repair is needed
127
126
  `,
128
127
  ],
129
128
  [
130
- ["direct", "init"],
129
+ ["import", "init"],
131
130
  `Build an initial structured script from an existing script file.
132
131
 
133
132
  Usage
134
- - scriptctl direct init --source-path <file> [options]
133
+ - scriptctl import init --source-path <file> [options]
135
134
 
136
135
  Required
137
136
  - --source-path Existing source file. Supported: txt, md, docx, xlsx, pdf, json.
@@ -174,71 +173,15 @@ Exit codes
174
173
  `,
175
174
  ],
176
175
  [
177
- ["direct", "validate"],
178
- `Validate the current initial structured script.
179
-
180
- Usage
181
- - scriptctl direct validate [options]
182
-
183
- Required
184
- - none
185
-
186
- Options
187
- - --workspace-path Workspace directory. Default: workspace
188
- - --script-path Script JSON to validate. Default: workspace/draft/scriptctl/direct/script.initial.json
189
- - --json Print machine-readable JSON.
190
- - --help Show this help.
191
-
192
- Reads
193
- - workspace/source.txt
194
- - workspace/draft/scriptctl/direct/episode_plan.json
195
- - script.initial.json or --script-path
196
-
197
- Writes
198
- - workspace/draft/scriptctl/direct/validation.json
176
+ ["import", "push"],
177
+ `Publish the initial script to the final script store through Gateway.
199
178
 
200
- Exit codes
201
- - 0 validation passed
202
- - 64 usage or arguments error
203
- - 66 required artifact unavailable
204
- - 78 validation failed; agent repair needed
205
- `,
206
- ],
207
- [
208
- ["direct", "inspect"],
209
- `Inspect episodes, assets, validation issues, or do a side-by-side review.
210
-
211
- Usage
212
- - scriptctl direct inspect --target <episode|asset|issue|review> [options]
213
-
214
- Required
215
- - --target One of: episode, asset, issue, review.
216
-
217
- Options
218
- - --workspace-path Workspace directory. Default: workspace
219
- - --id Optional episode_id, actor_id, location_id, prop_id, or issue code.
220
- - --episode Required for --target review. Comma-separated episode numbers, e.g. 1 or 1,15,30.
221
- - --json Print machine-readable JSON.
222
- - --help Show this help.
223
-
224
- Reads
225
- - workspace/draft/scriptctl/direct/script.initial.json
226
- - workspace/draft/scriptctl/direct/validation.json
227
- - workspace/draft/scriptctl/direct/episode_plan.json (review)
228
- - workspace/source.txt (review)
229
-
230
- Exit codes
231
- - 0 inspection available
232
- - 64 usage or arguments error
233
- - 66 required artifact unavailable
234
- `,
235
- ],
236
- [
237
- ["direct", "export"],
238
- `Export the current initial script to the final script store through Gateway.
179
+ Validation is advisory: push always publishes so the agent can self-review and
180
+ repair on the DB script afterwards. Only a mock-provider result or a malformed
181
+ script.initial.json blocks the write.
239
182
 
240
183
  Usage
241
- - scriptctl direct export [options]
184
+ - scriptctl import push [options]
242
185
 
243
186
  Required
244
187
  - none
@@ -246,9 +189,7 @@ Required
246
189
  Options
247
190
  - --workspace-path Workspace directory. Default: workspace
248
191
  - --project-group-no Project group no. Default: SANDBOX_PROJECT_GROUP_NO
249
- - --request-id Optional idempotency key. Default: scriptctl-direct-export:<script-sha256>
250
- - --output-path Deprecated; accepted for old invocations, no local file is written.
251
- - --force Export with non-error validation issues only; errors still block.
192
+ - --request-id Optional idempotency key. Default: scriptctl:import.push:<content-sha256>
252
193
  - --json Print machine-readable JSON.
253
194
  - --help Show this help.
254
195
 
@@ -261,10 +202,10 @@ Writes
261
202
  - workspace/draft/scriptctl/direct/validation.json
262
203
 
263
204
  Exit codes
264
- - 0 script exported
205
+ - 0 script pushed
265
206
  - 64 usage or arguments error
266
207
  - 66 required artifact unavailable
267
- - 78 validation, provider, or agent review blocks export
208
+ - 78 mock-provider result; rerun with a real provider
268
209
  `,
269
210
  ],
270
211
  [
@@ -391,7 +332,7 @@ Options
391
332
  to see the exact spec-md grammar before writing by hand.
392
333
  - --provider Writer provider. Production: gemini (default; omit the flag).
393
334
  For tests only: mock. Claude does NOT write episode bodies —
394
- it stays on direct-init structured extraction.
335
+ it stays on import-init structured extraction.
395
336
  - --model Override the Gemini model (default: gemini-2.5-pro).
396
337
  - --max-tokens Override max_tokens for this draft.
397
338
  - --regen Archive the existing ep<n>.md to ep<n>.history/ and roll
@@ -469,7 +410,7 @@ Options
469
410
  Behavior
470
411
  - Scans episodes with .done-<NN> marker only — blocked (collision / lint) drafts
471
412
  are skipped so a half-broken draft can never enter the merged script.
472
- - Assembles using direct-core's mergeEpisodeResults (same shape as direct export).
413
+ - Assembles using direct-core's mergeEpisodeResults (same shape as import push).
473
414
  - Re-runs validateScript (defense-in-depth — catches hand-edited ep<n>.json).
474
415
  - On success: writes script.json + merge-receipt.json (sha256 of script, meta,
475
416
  each ep<n>.json). \`episode push\` later re-verifies these hashes before uploading.
@@ -591,7 +532,6 @@ Usage
591
532
 
592
533
  Options
593
534
  - --project-group-no Project group no. Default: SANDBOX_PROJECT_GROUP_NO
594
- - --script-path Local intermediate script JSON. Omit to use DB-backed script.
595
535
  - --workspace-path Workspace directory. Default: workspace
596
536
  - --json Print machine-readable JSON. Avoid unless parsing.
597
537
  - --help Show this help.
@@ -610,7 +550,7 @@ Options
610
550
  - --id <ep_id> Filter to one episode.
611
551
  - --min-chars <n> Only episodes with total chars >= N.
612
552
  - --max-chars <n> Only episodes with total chars <= N.
613
- - --project-group-no / --script-path / --workspace-path / --json / --help
553
+ - --project-group-no / --workspace-path / --json / --help
614
554
 
615
555
  Output line
616
556
  - ep_NNN: scenes=N, actions=N, chars=N (dialogue=N, action=N), title=...
@@ -633,7 +573,7 @@ Options
633
573
  - --has-actor <id> Only scenes whose context references this actor.
634
574
  - --has-location <id> Only scenes whose context references this location.
635
575
  - --has-prop <id> Only scenes whose context references this prop.
636
- - --project-group-no / --script-path / --workspace-path / --json / --help
576
+ - --project-group-no / --workspace-path / --json / --help
637
577
 
638
578
  Output line
639
579
  - ep_NNN/scn_NNN [space time] location=loc_NNN(name) actors=... props=... actions=N
@@ -659,7 +599,7 @@ Options
659
599
  - --speaker <id> Actions where this speaker appears.
660
600
  - --has <kind> state-changes | transition | lines (filter by structural feature).
661
601
  - --context <n> Include N actions before/after each hit (for context windows).
662
- - --project-group-no / --script-path / --workspace-path / --json / --help
602
+ - --project-group-no / --workspace-path / --json / --help
663
603
 
664
604
  Requires at least one of: --in, --grep, --type, --actor, --speaker, --has. Bare \`scriptctl actions\`
665
605
  errors out — dumping every action across all episodes is too large.
@@ -685,7 +625,7 @@ Options
685
625
  - --id <actor_id> Filter to one actor.
686
626
  - --name <substr> Match name substring (case-sensitive).
687
627
  - --in <addr> Restrict to actors referenced under this address (ep/scn/action).
688
- - --project-group-no / --script-path / --workspace-path / --json / --help
628
+ - --project-group-no / --workspace-path / --json / --help
689
629
 
690
630
  Examples
691
631
  - scriptctl actors --name "陈"
@@ -733,7 +673,7 @@ Options
733
673
  - --id <id> Filter by id.
734
674
  - --name <substr> Match name substring.
735
675
  - --in <addr> Restrict to assets referenced under this address.
736
- - --project-group-no / --script-path / --workspace-path / --json / --help
676
+ - --project-group-no / --workspace-path / --json / --help
737
677
 
738
678
  Examples
739
679
  - scriptctl assets --name "陈"
@@ -751,7 +691,7 @@ Options
751
691
  - --id <speaker_id> Filter to one speaker.
752
692
  - --name <substr> Match display_name substring.
753
693
  - --kind <kind> Filter by source_kind (actor / location / prop / system / broadcast / group / other).
754
- - --project-group-no / --script-path / --workspace-path / --json / --help
694
+ - --project-group-no / --workspace-path / --json / --help
755
695
 
756
696
  Examples
757
697
  - scriptctl speakers --kind system
@@ -768,7 +708,7 @@ Usage
768
708
  Options
769
709
  - --severity <severity> Filter by severity (error / warning / info / blocking).
770
710
  - --code <code> Filter by issue code (e.g. STATE_NOT_FOUND).
771
- - --project-group-no / --script-path / --workspace-path / --json / --help
711
+ - --project-group-no / --workspace-path / --json / --help
772
712
 
773
713
  Output line
774
714
  - <severity> <code>: <summary> [<location>]
@@ -792,7 +732,7 @@ Address forms
792
732
 
793
733
  Options
794
734
  - --level <scene|action> Restrict to scene-level or action-level refs only.
795
- - --project-group-no / --script-path / --workspace-path / --json / --help
735
+ - --project-group-no / --workspace-path / --json / --help
796
736
 
797
737
  Output line
798
738
  - <location> [<role>] (e.g. ep_001/scn_001#3.actor_id [action_actor])
@@ -812,7 +752,7 @@ Usage
812
752
  - scriptctl validate [options]
813
753
 
814
754
  Options
815
- - --project-group-no / --script-path / --workspace-path / --json / --help
755
+ - --project-group-no / --workspace-path / --json / --help
816
756
 
817
757
  Exit codes
818
758
  - 0 passed
@@ -836,7 +776,7 @@ Required
836
776
  Options
837
777
  - --to Replacement text. Default: "" (delete the substring).
838
778
  - --all Replace every occurrence in the action. Without it, multiple matches reject.
839
- - --project-group-no / --script-path / --workspace-path / --request-id / --json / --help
779
+ - --project-group-no / --workspace-path / --request-id / --json / --help
840
780
 
841
781
  Refuses overlap dialogue actions — use \`scriptctl overlap\` to rewrite their lines.
842
782
 
@@ -1225,7 +1165,7 @@ Use \`scriptctl patch --schema\` to see every supported op + its required fields
1225
1165
  Options
1226
1166
  - --schema [<op>] Dump op schema (JSON) instead of applying. With <op>, dump just that op.
1227
1167
  - --dry-run Apply to an in-memory copy, run validate, do NOT write to gateway.
1228
- - --project-group-no / --script-path / --workspace-path / --request-id / --json / --help
1168
+ - --project-group-no / --workspace-path / --request-id / --json / --help
1229
1169
 
1230
1170
  Examples
1231
1171
  - scriptctl patch changes.json
@@ -1 +1 @@
1
- {"version":3,"file":"help-text.js","sourceRoot":"","sources":["../src/help-text.ts"],"names":[],"mappings":"AAAA,MAAM,YAAY,GAAuC;IACvD;QACE,EAAE;QACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+EH;KACE;IACD;QACE,CAAC,QAAQ,CAAC;QACV;;;;;;;;;;;;;;;CAeH;KACE;IACD;QACE,CAAC,QAAQ,CAAC;QACV;;;;;;;;;;;;;;;;;;;;;CAqBH;KACE;IACD;QACE,CAAC,QAAQ,EAAE,MAAM,CAAC;QAClB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2CH;KACE;IACD;QACE,CAAC,QAAQ,EAAE,UAAU,CAAC;QACtB;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BH;KACE;IACD;QACE,CAAC,QAAQ,EAAE,SAAS,CAAC;QACrB;;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;IACD;QACE,CAAC,SAAS,CAAC;QACX;;;;;;;;;CASH;KACE;IACD;QACE,CAAC,aAAa,CAAC;QACf;;;;;;;;;;;;;;;;;CAiBH;KACE;IAED,4EAA4E;IAC5E,6BAA6B;IAC7B,4EAA4E;IAE5E;QACE,CAAC,OAAO,CAAC;QACT;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4BH;KACE;CACF,CAAC;AAEF,SAAS,KAAK,CAAC,OAA0B;IACvC,OAAO,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC3B,CAAC;AAED,MAAM,QAAQ,GAAwB,IAAI,GAAG,CAC3C,YAAY,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,EAAE,IAAI,CAAC,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,IAAI,CAAC,CAAC,CACtD,CAAC;AAEF,MAAM,UAAU,OAAO,CAAC,OAA0B;IAChD,OAAO,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;AACtC,CAAC;AAED,MAAM,CAAC,MAAM,IAAI,GAAG,QAAQ,CAAC"}
@@ -11,7 +11,7 @@
11
11
  * 1. Loads the .md at module-init time.
12
12
  * 2. Substitutes the `<!-- MARKDOWN_BATCH_PROMPT_SPEC -->` placeholder with the
13
13
  * authoritative spec from `common.ts` (single source of truth for the
14
- * parser-acceptable grammar — same spec consumed by `direct init`).
14
+ * parser-acceptable grammar — same spec consumed by `import init`).
15
15
  *
16
16
  * The .md is copied to `dist/infra/` by the package's build script so the
17
17
  * shipped npm package contains it; vitest reads the source .md directly.
@@ -11,7 +11,7 @@
11
11
  * 1. Loads the .md at module-init time.
12
12
  * 2. Substitutes the `<!-- MARKDOWN_BATCH_PROMPT_SPEC -->` placeholder with the
13
13
  * authoritative spec from `common.ts` (single source of truth for the
14
- * parser-acceptable grammar — same spec consumed by `direct init`).
14
+ * parser-acceptable grammar — same spec consumed by `import init`).
15
15
  *
16
16
  * The .md is copied to `dist/infra/` by the package's build script so the
17
17
  * shipped npm package contains it; vitest reads the source .md directly.
@@ -2,15 +2,9 @@ import { type Report } from "../common.js";
2
2
  type Dict = Record<string, unknown>;
3
3
  export declare function updateRunState(workspace: string, updates: Dict): Dict;
4
4
  export declare function readRunState(workspace: string): Dict;
5
- export declare function addInspectedTarget(workspace: string, target: string): Dict;
6
- export declare function markPatched(workspace: string, count: number): Dict;
7
- export declare function markMetadataConfidenceReviewed(workspace: string, operations: Dict[]): void;
8
- export declare function reviewBlockers(state: Dict): string[];
9
5
  export declare function initCheckpoint(sourceText: string, plan: Dict): Dict;
10
6
  export declare function initBatchCheckpoint(sourceText: string, batchPlan: Dict): Dict;
11
7
  export declare function mergeBatchResultsForEpisode(episode: Dict, batchResults: Dict[]): Dict;
12
8
  export declare function commandInit(opts: Dict): Promise<[Report, number]>;
13
9
  export declare function summarizeIssues(issues: Dict[]): string[];
14
- export declare function commandValidate(opts: Dict): [Report, number];
15
- export declare function commandInspect(opts: Dict): [Report, number];
16
10
  export {};