sysprom 1.19.0 → 1.21.0

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.
Files changed (75) hide show
  1. package/README.md +3 -0
  2. package/dist/schema.json +4 -43
  3. package/dist/src/cli/commands/add.js +6 -2
  4. package/dist/src/cli/commands/query.js +5 -3
  5. package/dist/src/cli/commands/speckit.js +2 -2
  6. package/dist/src/cli/commands/update.js +6 -4
  7. package/dist/src/endpoint-types.d.ts +4 -0
  8. package/dist/src/endpoint-types.js +22 -116
  9. package/dist/src/json-to-md.js +2 -16
  10. package/dist/src/lifecycle-state.d.ts +9 -0
  11. package/dist/src/lifecycle-state.js +22 -0
  12. package/dist/src/mcp/server.js +3 -6
  13. package/dist/src/md-to-json.js +1 -19
  14. package/dist/src/operations/add-node.d.ts +21 -132
  15. package/dist/src/operations/add-plan-task.d.ts +14 -88
  16. package/dist/src/operations/add-relationship.d.ts +16 -102
  17. package/dist/src/operations/check.d.ts +7 -44
  18. package/dist/src/operations/graph-decision.d.ts +7 -44
  19. package/dist/src/operations/graph-decision.js +0 -1
  20. package/dist/src/operations/graph-dependency.d.ts +7 -44
  21. package/dist/src/operations/graph-dependency.js +3 -23
  22. package/dist/src/operations/graph-refinement.d.ts +7 -44
  23. package/dist/src/operations/graph-shared.js +1 -3
  24. package/dist/src/operations/graph.d.ts +7 -44
  25. package/dist/src/operations/infer-completeness.d.ts +10 -53
  26. package/dist/src/operations/infer-derived.d.ts +7 -44
  27. package/dist/src/operations/infer-derived.js +28 -4
  28. package/dist/src/operations/infer-impact.d.ts +49 -308
  29. package/dist/src/operations/infer-impact.js +22 -3
  30. package/dist/src/operations/infer-lifecycle.d.ts +8 -105
  31. package/dist/src/operations/infer-lifecycle.js +4 -10
  32. package/dist/src/operations/init-document.d.ts +7 -44
  33. package/dist/src/operations/json-to-markdown.d.ts +7 -44
  34. package/dist/src/operations/mark-task-done.d.ts +14 -88
  35. package/dist/src/operations/mark-task-undone.d.ts +14 -88
  36. package/dist/src/operations/markdown-to-json.d.ts +7 -44
  37. package/dist/src/operations/next-id.d.ts +8 -47
  38. package/dist/src/operations/node-history.d.ts +7 -44
  39. package/dist/src/operations/plan-add-task.d.ts +14 -88
  40. package/dist/src/operations/plan-gate.d.ts +7 -44
  41. package/dist/src/operations/plan-init.d.ts +7 -44
  42. package/dist/src/operations/plan-progress.d.ts +7 -44
  43. package/dist/src/operations/plan-status.d.ts +7 -44
  44. package/dist/src/operations/query-node.d.ts +29 -188
  45. package/dist/src/operations/query-nodes.d.ts +15 -89
  46. package/dist/src/operations/query-nodes.js +6 -4
  47. package/dist/src/operations/query-relationships.d.ts +9 -58
  48. package/dist/src/operations/remove-node.d.ts +21 -132
  49. package/dist/src/operations/remove-node.js +11 -1
  50. package/dist/src/operations/remove-relationship.d.ts +15 -101
  51. package/dist/src/operations/rename.d.ts +14 -88
  52. package/dist/src/operations/search.d.ts +14 -88
  53. package/dist/src/operations/speckit-diff.d.ts +7 -44
  54. package/dist/src/operations/speckit-export.d.ts +7 -44
  55. package/dist/src/operations/speckit-import.d.ts +7 -44
  56. package/dist/src/operations/speckit-sync.d.ts +22 -133
  57. package/dist/src/operations/speckit-sync.js +3 -3
  58. package/dist/src/operations/state-at.d.ts +7 -44
  59. package/dist/src/operations/stats.d.ts +7 -44
  60. package/dist/src/operations/sync.d.ts +21 -132
  61. package/dist/src/operations/task-list.d.ts +7 -44
  62. package/dist/src/operations/timeline.d.ts +7 -44
  63. package/dist/src/operations/trace-from-node.d.ts +21 -132
  64. package/dist/src/operations/update-metadata.d.ts +14 -88
  65. package/dist/src/operations/update-node.d.ts +20 -152
  66. package/dist/src/operations/update-plan-task.d.ts +14 -88
  67. package/dist/src/operations/validate.d.ts +7 -44
  68. package/dist/src/operations/validate.js +8 -6
  69. package/dist/src/schema.d.ts +22 -159
  70. package/dist/src/schema.js +4 -26
  71. package/dist/src/speckit/generate.js +10 -7
  72. package/dist/src/speckit/parse.js +6 -3
  73. package/dist/src/speckit/plan.js +1 -1
  74. package/package.json +12 -1
  75. package/schema.json +4 -43
@@ -45,39 +45,18 @@ export declare const addNodeOp: import("./define-operation.js").DefinedOperation
45
45
  gate: "gate";
46
46
  mode: "mode";
47
47
  artefact: "artefact";
48
- artefact_flow: "artefact_flow";
49
48
  decision: "decision";
50
49
  change: "change";
51
50
  view: "view";
52
51
  milestone: "milestone";
53
- version: "version";
54
52
  }> & {
55
- is(value: unknown): value is "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "artefact_flow" | "decision" | "change" | "view" | "milestone" | "version";
53
+ is(value: unknown): value is "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "decision" | "change" | "view" | "milestone";
56
54
  };
57
55
  name: z.ZodString;
58
56
  description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
59
57
  is(value: unknown): value is string | string[];
60
58
  }>;
61
- status: z.ZodOptional<z.ZodEnum<{
62
- deprecated: "deprecated";
63
- proposed: "proposed";
64
- accepted: "accepted";
65
- active: "active";
66
- implemented: "implemented";
67
- adopted: "adopted";
68
- defined: "defined";
69
- introduced: "introduced";
70
- in_progress: "in_progress";
71
- complete: "complete";
72
- consolidated: "consolidated";
73
- experimental: "experimental";
74
- retired: "retired";
75
- superseded: "superseded";
76
- abandoned: "abandoned";
77
- deferred: "deferred";
78
- }> & {
79
- is(value: unknown): value is "deprecated" | "proposed" | "accepted" | "active" | "implemented" | "adopted" | "defined" | "introduced" | "in_progress" | "complete" | "consolidated" | "experimental" | "retired" | "superseded" | "abandoned" | "deferred";
80
- }>;
59
+ status: z.ZodOptional<z.ZodNever>;
81
60
  lifecycle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>>;
82
61
  context: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
83
62
  is(value: unknown): value is string | string[];
@@ -132,8 +111,6 @@ export declare const addNodeOp: import("./define-operation.js").DefinedOperation
132
111
  }>>;
133
112
  propagation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
134
113
  includes: z.ZodOptional<z.ZodArray<z.ZodString>>;
135
- input: z.ZodOptional<z.ZodString>;
136
- output: z.ZodOptional<z.ZodString>;
137
114
  external_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
138
115
  role: z.ZodEnum<{
139
116
  output: "output";
@@ -177,26 +154,14 @@ export declare const addNodeOp: import("./define-operation.js").DefinedOperation
177
154
  affects: "affects";
178
155
  supersedes: "supersedes";
179
156
  must_preserve: "must_preserve";
180
- performs: "performs";
181
157
  part_of: "part_of";
182
158
  precedes: "precedes";
183
159
  must_follow: "must_follow";
184
- blocks: "blocks";
185
- routes_to: "routes_to";
186
160
  governed_by: "governed_by";
187
161
  modifies: "modifies";
188
- triggered_by: "triggered_by";
189
- applies_to: "applies_to";
190
162
  produces: "produces";
191
- consumes: "consumes";
192
- transforms_into: "transforms_into";
193
- selects: "selects";
194
- requires: "requires";
195
- disables: "disables";
196
- influence: "influence";
197
- justifies: "justifies";
198
163
  }> & {
199
- is(value: unknown): value is "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "performs" | "part_of" | "precedes" | "must_follow" | "blocks" | "routes_to" | "governed_by" | "modifies" | "triggered_by" | "applies_to" | "produces" | "consumes" | "transforms_into" | "selects" | "requires" | "disables" | "influence" | "justifies";
164
+ is(value: unknown): value is "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
200
165
  };
201
166
  description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
202
167
  is(value: unknown): value is string | string[];
@@ -215,7 +180,7 @@ export declare const addNodeOp: import("./define-operation.js").DefinedOperation
215
180
  [x: string]: unknown;
216
181
  from: string;
217
182
  to: string;
218
- type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "performs" | "part_of" | "precedes" | "must_follow" | "blocks" | "routes_to" | "governed_by" | "modifies" | "triggered_by" | "applies_to" | "produces" | "consumes" | "transforms_into" | "selects" | "requires" | "disables" | "influence" | "justifies";
183
+ type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
219
184
  description?: string | string[] | undefined;
220
185
  polarity?: "positive" | "negative" | "neutral" | "uncertain" | undefined;
221
186
  strength?: number | undefined;
@@ -255,10 +220,10 @@ export declare const addNodeOp: import("./define-operation.js").DefinedOperation
255
220
  nodes: {
256
221
  [x: string]: unknown;
257
222
  id: string;
258
- type: "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "artefact_flow" | "decision" | "change" | "view" | "milestone" | "version";
223
+ type: "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "decision" | "change" | "view" | "milestone";
259
224
  name: string;
260
225
  description?: string | string[] | undefined;
261
- status?: "deprecated" | "proposed" | "accepted" | "active" | "implemented" | "adopted" | "defined" | "introduced" | "in_progress" | "complete" | "consolidated" | "experimental" | "retired" | "superseded" | "abandoned" | "deferred" | undefined;
226
+ status?: undefined;
262
227
  lifecycle?: Record<string, string | boolean> | undefined;
263
228
  context?: string | string[] | undefined;
264
229
  options?: {
@@ -282,8 +247,6 @@ export declare const addNodeOp: import("./define-operation.js").DefinedOperation
282
247
  }[] | undefined;
283
248
  propagation?: Record<string, boolean> | undefined;
284
249
  includes?: string[] | undefined;
285
- input?: string | undefined;
286
- output?: string | undefined;
287
250
  external_references?: {
288
251
  role: "output" | "input" | "context" | "evidence" | "source" | "standard" | "prior_art";
289
252
  identifier: string;
@@ -306,7 +269,7 @@ export declare const addNodeOp: import("./define-operation.js").DefinedOperation
306
269
  [x: string]: unknown;
307
270
  from: string;
308
271
  to: string;
309
- type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "performs" | "part_of" | "precedes" | "must_follow" | "blocks" | "routes_to" | "governed_by" | "modifies" | "triggered_by" | "applies_to" | "produces" | "consumes" | "transforms_into" | "selects" | "requires" | "disables" | "influence" | "justifies";
272
+ type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
310
273
  description?: string | string[] | undefined;
311
274
  polarity?: "positive" | "negative" | "neutral" | "uncertain" | undefined;
312
275
  strength?: number | undefined;
@@ -337,39 +300,18 @@ export declare const addNodeOp: import("./define-operation.js").DefinedOperation
337
300
  gate: "gate";
338
301
  mode: "mode";
339
302
  artefact: "artefact";
340
- artefact_flow: "artefact_flow";
341
303
  decision: "decision";
342
304
  change: "change";
343
305
  view: "view";
344
306
  milestone: "milestone";
345
- version: "version";
346
307
  }> & {
347
- is(value: unknown): value is "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "artefact_flow" | "decision" | "change" | "view" | "milestone" | "version";
308
+ is(value: unknown): value is "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "decision" | "change" | "view" | "milestone";
348
309
  };
349
310
  name: z.ZodString;
350
311
  description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
351
312
  is(value: unknown): value is string | string[];
352
313
  }>;
353
- status: z.ZodOptional<z.ZodEnum<{
354
- deprecated: "deprecated";
355
- proposed: "proposed";
356
- accepted: "accepted";
357
- active: "active";
358
- implemented: "implemented";
359
- adopted: "adopted";
360
- defined: "defined";
361
- introduced: "introduced";
362
- in_progress: "in_progress";
363
- complete: "complete";
364
- consolidated: "consolidated";
365
- experimental: "experimental";
366
- retired: "retired";
367
- superseded: "superseded";
368
- abandoned: "abandoned";
369
- deferred: "deferred";
370
- }> & {
371
- is(value: unknown): value is "deprecated" | "proposed" | "accepted" | "active" | "implemented" | "adopted" | "defined" | "introduced" | "in_progress" | "complete" | "consolidated" | "experimental" | "retired" | "superseded" | "abandoned" | "deferred";
372
- }>;
314
+ status: z.ZodOptional<z.ZodNever>;
373
315
  lifecycle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>>;
374
316
  context: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
375
317
  is(value: unknown): value is string | string[];
@@ -424,8 +366,6 @@ export declare const addNodeOp: import("./define-operation.js").DefinedOperation
424
366
  }>>;
425
367
  propagation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
426
368
  includes: z.ZodOptional<z.ZodArray<z.ZodString>>;
427
- input: z.ZodOptional<z.ZodString>;
428
- output: z.ZodOptional<z.ZodString>;
429
369
  external_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
430
370
  role: z.ZodEnum<{
431
371
  output: "output";
@@ -486,26 +426,14 @@ export declare const addNodeOp: import("./define-operation.js").DefinedOperation
486
426
  affects: "affects";
487
427
  supersedes: "supersedes";
488
428
  must_preserve: "must_preserve";
489
- performs: "performs";
490
429
  part_of: "part_of";
491
430
  precedes: "precedes";
492
431
  must_follow: "must_follow";
493
- blocks: "blocks";
494
- routes_to: "routes_to";
495
432
  governed_by: "governed_by";
496
433
  modifies: "modifies";
497
- triggered_by: "triggered_by";
498
- applies_to: "applies_to";
499
434
  produces: "produces";
500
- consumes: "consumes";
501
- transforms_into: "transforms_into";
502
- selects: "selects";
503
- requires: "requires";
504
- disables: "disables";
505
- influence: "influence";
506
- justifies: "justifies";
507
435
  }> & {
508
- is(value: unknown): value is "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "performs" | "part_of" | "precedes" | "must_follow" | "blocks" | "routes_to" | "governed_by" | "modifies" | "triggered_by" | "applies_to" | "produces" | "consumes" | "transforms_into" | "selects" | "requires" | "disables" | "influence" | "justifies";
436
+ is(value: unknown): value is "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
509
437
  };
510
438
  description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
511
439
  is(value: unknown): value is string | string[];
@@ -524,7 +452,7 @@ export declare const addNodeOp: import("./define-operation.js").DefinedOperation
524
452
  [x: string]: unknown;
525
453
  from: string;
526
454
  to: string;
527
- type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "performs" | "part_of" | "precedes" | "must_follow" | "blocks" | "routes_to" | "governed_by" | "modifies" | "triggered_by" | "applies_to" | "produces" | "consumes" | "transforms_into" | "selects" | "requires" | "disables" | "influence" | "justifies";
455
+ type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
528
456
  description?: string | string[] | undefined;
529
457
  polarity?: "positive" | "negative" | "neutral" | "uncertain" | undefined;
530
458
  strength?: number | undefined;
@@ -564,10 +492,10 @@ export declare const addNodeOp: import("./define-operation.js").DefinedOperation
564
492
  is(value: unknown): value is {
565
493
  [x: string]: unknown;
566
494
  id: string;
567
- type: "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "artefact_flow" | "decision" | "change" | "view" | "milestone" | "version";
495
+ type: "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "decision" | "change" | "view" | "milestone";
568
496
  name: string;
569
497
  description?: string | string[] | undefined;
570
- status?: "deprecated" | "proposed" | "accepted" | "active" | "implemented" | "adopted" | "defined" | "introduced" | "in_progress" | "complete" | "consolidated" | "experimental" | "retired" | "superseded" | "abandoned" | "deferred" | undefined;
498
+ status?: undefined;
571
499
  lifecycle?: Record<string, string | boolean> | undefined;
572
500
  context?: string | string[] | undefined;
573
501
  options?: {
@@ -591,8 +519,6 @@ export declare const addNodeOp: import("./define-operation.js").DefinedOperation
591
519
  }[] | undefined;
592
520
  propagation?: Record<string, boolean> | undefined;
593
521
  includes?: string[] | undefined;
594
- input?: string | undefined;
595
- output?: string | undefined;
596
522
  external_references?: {
597
523
  role: "output" | "input" | "context" | "evidence" | "source" | "standard" | "prior_art";
598
524
  identifier: string;
@@ -615,7 +541,7 @@ export declare const addNodeOp: import("./define-operation.js").DefinedOperation
615
541
  [x: string]: unknown;
616
542
  from: string;
617
543
  to: string;
618
- type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "performs" | "part_of" | "precedes" | "must_follow" | "blocks" | "routes_to" | "governed_by" | "modifies" | "triggered_by" | "applies_to" | "produces" | "consumes" | "transforms_into" | "selects" | "requires" | "disables" | "influence" | "justifies";
544
+ type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
619
545
  description?: string | string[] | undefined;
620
546
  polarity?: "positive" | "negative" | "neutral" | "uncertain" | undefined;
621
547
  strength?: number | undefined;
@@ -668,39 +594,18 @@ export declare const addNodeOp: import("./define-operation.js").DefinedOperation
668
594
  gate: "gate";
669
595
  mode: "mode";
670
596
  artefact: "artefact";
671
- artefact_flow: "artefact_flow";
672
597
  decision: "decision";
673
598
  change: "change";
674
599
  view: "view";
675
600
  milestone: "milestone";
676
- version: "version";
677
601
  }> & {
678
- is(value: unknown): value is "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "artefact_flow" | "decision" | "change" | "view" | "milestone" | "version";
602
+ is(value: unknown): value is "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "decision" | "change" | "view" | "milestone";
679
603
  };
680
604
  name: z.ZodString;
681
605
  description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
682
606
  is(value: unknown): value is string | string[];
683
607
  }>;
684
- status: z.ZodOptional<z.ZodEnum<{
685
- deprecated: "deprecated";
686
- proposed: "proposed";
687
- accepted: "accepted";
688
- active: "active";
689
- implemented: "implemented";
690
- adopted: "adopted";
691
- defined: "defined";
692
- introduced: "introduced";
693
- in_progress: "in_progress";
694
- complete: "complete";
695
- consolidated: "consolidated";
696
- experimental: "experimental";
697
- retired: "retired";
698
- superseded: "superseded";
699
- abandoned: "abandoned";
700
- deferred: "deferred";
701
- }> & {
702
- is(value: unknown): value is "deprecated" | "proposed" | "accepted" | "active" | "implemented" | "adopted" | "defined" | "introduced" | "in_progress" | "complete" | "consolidated" | "experimental" | "retired" | "superseded" | "abandoned" | "deferred";
703
- }>;
608
+ status: z.ZodOptional<z.ZodNever>;
704
609
  lifecycle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>>;
705
610
  context: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
706
611
  is(value: unknown): value is string | string[];
@@ -755,8 +660,6 @@ export declare const addNodeOp: import("./define-operation.js").DefinedOperation
755
660
  }>>;
756
661
  propagation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
757
662
  includes: z.ZodOptional<z.ZodArray<z.ZodString>>;
758
- input: z.ZodOptional<z.ZodString>;
759
- output: z.ZodOptional<z.ZodString>;
760
663
  external_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
761
664
  role: z.ZodEnum<{
762
665
  output: "output";
@@ -800,26 +703,14 @@ export declare const addNodeOp: import("./define-operation.js").DefinedOperation
800
703
  affects: "affects";
801
704
  supersedes: "supersedes";
802
705
  must_preserve: "must_preserve";
803
- performs: "performs";
804
706
  part_of: "part_of";
805
707
  precedes: "precedes";
806
708
  must_follow: "must_follow";
807
- blocks: "blocks";
808
- routes_to: "routes_to";
809
709
  governed_by: "governed_by";
810
710
  modifies: "modifies";
811
- triggered_by: "triggered_by";
812
- applies_to: "applies_to";
813
711
  produces: "produces";
814
- consumes: "consumes";
815
- transforms_into: "transforms_into";
816
- selects: "selects";
817
- requires: "requires";
818
- disables: "disables";
819
- influence: "influence";
820
- justifies: "justifies";
821
712
  }> & {
822
- is(value: unknown): value is "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "performs" | "part_of" | "precedes" | "must_follow" | "blocks" | "routes_to" | "governed_by" | "modifies" | "triggered_by" | "applies_to" | "produces" | "consumes" | "transforms_into" | "selects" | "requires" | "disables" | "influence" | "justifies";
713
+ is(value: unknown): value is "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
823
714
  };
824
715
  description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
825
716
  is(value: unknown): value is string | string[];
@@ -838,7 +729,7 @@ export declare const addNodeOp: import("./define-operation.js").DefinedOperation
838
729
  [x: string]: unknown;
839
730
  from: string;
840
731
  to: string;
841
- type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "performs" | "part_of" | "precedes" | "must_follow" | "blocks" | "routes_to" | "governed_by" | "modifies" | "triggered_by" | "applies_to" | "produces" | "consumes" | "transforms_into" | "selects" | "requires" | "disables" | "influence" | "justifies";
732
+ type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
842
733
  description?: string | string[] | undefined;
843
734
  polarity?: "positive" | "negative" | "neutral" | "uncertain" | undefined;
844
735
  strength?: number | undefined;
@@ -878,10 +769,10 @@ export declare const addNodeOp: import("./define-operation.js").DefinedOperation
878
769
  nodes: {
879
770
  [x: string]: unknown;
880
771
  id: string;
881
- type: "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "artefact_flow" | "decision" | "change" | "view" | "milestone" | "version";
772
+ type: "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "decision" | "change" | "view" | "milestone";
882
773
  name: string;
883
774
  description?: string | string[] | undefined;
884
- status?: "deprecated" | "proposed" | "accepted" | "active" | "implemented" | "adopted" | "defined" | "introduced" | "in_progress" | "complete" | "consolidated" | "experimental" | "retired" | "superseded" | "abandoned" | "deferred" | undefined;
775
+ status?: undefined;
885
776
  lifecycle?: Record<string, string | boolean> | undefined;
886
777
  context?: string | string[] | undefined;
887
778
  options?: {
@@ -905,8 +796,6 @@ export declare const addNodeOp: import("./define-operation.js").DefinedOperation
905
796
  }[] | undefined;
906
797
  propagation?: Record<string, boolean> | undefined;
907
798
  includes?: string[] | undefined;
908
- input?: string | undefined;
909
- output?: string | undefined;
910
799
  external_references?: {
911
800
  role: "output" | "input" | "context" | "evidence" | "source" | "standard" | "prior_art";
912
801
  identifier: string;
@@ -929,7 +818,7 @@ export declare const addNodeOp: import("./define-operation.js").DefinedOperation
929
818
  [x: string]: unknown;
930
819
  from: string;
931
820
  to: string;
932
- type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "performs" | "part_of" | "precedes" | "must_follow" | "blocks" | "routes_to" | "governed_by" | "modifies" | "triggered_by" | "applies_to" | "produces" | "consumes" | "transforms_into" | "selects" | "requires" | "disables" | "influence" | "justifies";
821
+ type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
933
822
  description?: string | string[] | undefined;
934
823
  polarity?: "positive" | "negative" | "neutral" | "uncertain" | undefined;
935
824
  strength?: number | undefined;
@@ -39,39 +39,18 @@ export declare const addPlanTaskOp: import("./define-operation.js").DefinedOpera
39
39
  gate: "gate";
40
40
  mode: "mode";
41
41
  artefact: "artefact";
42
- artefact_flow: "artefact_flow";
43
42
  decision: "decision";
44
43
  change: "change";
45
44
  view: "view";
46
45
  milestone: "milestone";
47
- version: "version";
48
46
  }> & {
49
- is(value: unknown): value is "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "artefact_flow" | "decision" | "change" | "view" | "milestone" | "version";
47
+ is(value: unknown): value is "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "decision" | "change" | "view" | "milestone";
50
48
  };
51
49
  name: z.ZodString;
52
50
  description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
53
51
  is(value: unknown): value is string | string[];
54
52
  }>;
55
- status: z.ZodOptional<z.ZodEnum<{
56
- deprecated: "deprecated";
57
- proposed: "proposed";
58
- accepted: "accepted";
59
- active: "active";
60
- implemented: "implemented";
61
- adopted: "adopted";
62
- defined: "defined";
63
- introduced: "introduced";
64
- in_progress: "in_progress";
65
- complete: "complete";
66
- consolidated: "consolidated";
67
- experimental: "experimental";
68
- retired: "retired";
69
- superseded: "superseded";
70
- abandoned: "abandoned";
71
- deferred: "deferred";
72
- }> & {
73
- is(value: unknown): value is "deprecated" | "proposed" | "accepted" | "active" | "implemented" | "adopted" | "defined" | "introduced" | "in_progress" | "complete" | "consolidated" | "experimental" | "retired" | "superseded" | "abandoned" | "deferred";
74
- }>;
53
+ status: z.ZodOptional<z.ZodNever>;
75
54
  lifecycle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>>;
76
55
  context: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
77
56
  is(value: unknown): value is string | string[];
@@ -126,8 +105,6 @@ export declare const addPlanTaskOp: import("./define-operation.js").DefinedOpera
126
105
  }>>;
127
106
  propagation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
128
107
  includes: z.ZodOptional<z.ZodArray<z.ZodString>>;
129
- input: z.ZodOptional<z.ZodString>;
130
- output: z.ZodOptional<z.ZodString>;
131
108
  external_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
132
109
  role: z.ZodEnum<{
133
110
  output: "output";
@@ -171,26 +148,14 @@ export declare const addPlanTaskOp: import("./define-operation.js").DefinedOpera
171
148
  affects: "affects";
172
149
  supersedes: "supersedes";
173
150
  must_preserve: "must_preserve";
174
- performs: "performs";
175
151
  part_of: "part_of";
176
152
  precedes: "precedes";
177
153
  must_follow: "must_follow";
178
- blocks: "blocks";
179
- routes_to: "routes_to";
180
154
  governed_by: "governed_by";
181
155
  modifies: "modifies";
182
- triggered_by: "triggered_by";
183
- applies_to: "applies_to";
184
156
  produces: "produces";
185
- consumes: "consumes";
186
- transforms_into: "transforms_into";
187
- selects: "selects";
188
- requires: "requires";
189
- disables: "disables";
190
- influence: "influence";
191
- justifies: "justifies";
192
157
  }> & {
193
- is(value: unknown): value is "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "performs" | "part_of" | "precedes" | "must_follow" | "blocks" | "routes_to" | "governed_by" | "modifies" | "triggered_by" | "applies_to" | "produces" | "consumes" | "transforms_into" | "selects" | "requires" | "disables" | "influence" | "justifies";
158
+ is(value: unknown): value is "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
194
159
  };
195
160
  description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
196
161
  is(value: unknown): value is string | string[];
@@ -209,7 +174,7 @@ export declare const addPlanTaskOp: import("./define-operation.js").DefinedOpera
209
174
  [x: string]: unknown;
210
175
  from: string;
211
176
  to: string;
212
- type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "performs" | "part_of" | "precedes" | "must_follow" | "blocks" | "routes_to" | "governed_by" | "modifies" | "triggered_by" | "applies_to" | "produces" | "consumes" | "transforms_into" | "selects" | "requires" | "disables" | "influence" | "justifies";
177
+ type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
213
178
  description?: string | string[] | undefined;
214
179
  polarity?: "positive" | "negative" | "neutral" | "uncertain" | undefined;
215
180
  strength?: number | undefined;
@@ -249,10 +214,10 @@ export declare const addPlanTaskOp: import("./define-operation.js").DefinedOpera
249
214
  nodes: {
250
215
  [x: string]: unknown;
251
216
  id: string;
252
- type: "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "artefact_flow" | "decision" | "change" | "view" | "milestone" | "version";
217
+ type: "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "decision" | "change" | "view" | "milestone";
253
218
  name: string;
254
219
  description?: string | string[] | undefined;
255
- status?: "deprecated" | "proposed" | "accepted" | "active" | "implemented" | "adopted" | "defined" | "introduced" | "in_progress" | "complete" | "consolidated" | "experimental" | "retired" | "superseded" | "abandoned" | "deferred" | undefined;
220
+ status?: undefined;
256
221
  lifecycle?: Record<string, string | boolean> | undefined;
257
222
  context?: string | string[] | undefined;
258
223
  options?: {
@@ -276,8 +241,6 @@ export declare const addPlanTaskOp: import("./define-operation.js").DefinedOpera
276
241
  }[] | undefined;
277
242
  propagation?: Record<string, boolean> | undefined;
278
243
  includes?: string[] | undefined;
279
- input?: string | undefined;
280
- output?: string | undefined;
281
244
  external_references?: {
282
245
  role: "output" | "input" | "context" | "evidence" | "source" | "standard" | "prior_art";
283
246
  identifier: string;
@@ -300,7 +263,7 @@ export declare const addPlanTaskOp: import("./define-operation.js").DefinedOpera
300
263
  [x: string]: unknown;
301
264
  from: string;
302
265
  to: string;
303
- type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "performs" | "part_of" | "precedes" | "must_follow" | "blocks" | "routes_to" | "governed_by" | "modifies" | "triggered_by" | "applies_to" | "produces" | "consumes" | "transforms_into" | "selects" | "requires" | "disables" | "influence" | "justifies";
266
+ type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
304
267
  description?: string | string[] | undefined;
305
268
  polarity?: "positive" | "negative" | "neutral" | "uncertain" | undefined;
306
269
  strength?: number | undefined;
@@ -351,39 +314,18 @@ export declare const addPlanTaskOp: import("./define-operation.js").DefinedOpera
351
314
  gate: "gate";
352
315
  mode: "mode";
353
316
  artefact: "artefact";
354
- artefact_flow: "artefact_flow";
355
317
  decision: "decision";
356
318
  change: "change";
357
319
  view: "view";
358
320
  milestone: "milestone";
359
- version: "version";
360
321
  }> & {
361
- is(value: unknown): value is "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "artefact_flow" | "decision" | "change" | "view" | "milestone" | "version";
322
+ is(value: unknown): value is "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "decision" | "change" | "view" | "milestone";
362
323
  };
363
324
  name: z.ZodString;
364
325
  description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
365
326
  is(value: unknown): value is string | string[];
366
327
  }>;
367
- status: z.ZodOptional<z.ZodEnum<{
368
- deprecated: "deprecated";
369
- proposed: "proposed";
370
- accepted: "accepted";
371
- active: "active";
372
- implemented: "implemented";
373
- adopted: "adopted";
374
- defined: "defined";
375
- introduced: "introduced";
376
- in_progress: "in_progress";
377
- complete: "complete";
378
- consolidated: "consolidated";
379
- experimental: "experimental";
380
- retired: "retired";
381
- superseded: "superseded";
382
- abandoned: "abandoned";
383
- deferred: "deferred";
384
- }> & {
385
- is(value: unknown): value is "deprecated" | "proposed" | "accepted" | "active" | "implemented" | "adopted" | "defined" | "introduced" | "in_progress" | "complete" | "consolidated" | "experimental" | "retired" | "superseded" | "abandoned" | "deferred";
386
- }>;
328
+ status: z.ZodOptional<z.ZodNever>;
387
329
  lifecycle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>>;
388
330
  context: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
389
331
  is(value: unknown): value is string | string[];
@@ -438,8 +380,6 @@ export declare const addPlanTaskOp: import("./define-operation.js").DefinedOpera
438
380
  }>>;
439
381
  propagation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
440
382
  includes: z.ZodOptional<z.ZodArray<z.ZodString>>;
441
- input: z.ZodOptional<z.ZodString>;
442
- output: z.ZodOptional<z.ZodString>;
443
383
  external_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
444
384
  role: z.ZodEnum<{
445
385
  output: "output";
@@ -483,26 +423,14 @@ export declare const addPlanTaskOp: import("./define-operation.js").DefinedOpera
483
423
  affects: "affects";
484
424
  supersedes: "supersedes";
485
425
  must_preserve: "must_preserve";
486
- performs: "performs";
487
426
  part_of: "part_of";
488
427
  precedes: "precedes";
489
428
  must_follow: "must_follow";
490
- blocks: "blocks";
491
- routes_to: "routes_to";
492
429
  governed_by: "governed_by";
493
430
  modifies: "modifies";
494
- triggered_by: "triggered_by";
495
- applies_to: "applies_to";
496
431
  produces: "produces";
497
- consumes: "consumes";
498
- transforms_into: "transforms_into";
499
- selects: "selects";
500
- requires: "requires";
501
- disables: "disables";
502
- influence: "influence";
503
- justifies: "justifies";
504
432
  }> & {
505
- is(value: unknown): value is "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "performs" | "part_of" | "precedes" | "must_follow" | "blocks" | "routes_to" | "governed_by" | "modifies" | "triggered_by" | "applies_to" | "produces" | "consumes" | "transforms_into" | "selects" | "requires" | "disables" | "influence" | "justifies";
433
+ is(value: unknown): value is "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
506
434
  };
507
435
  description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
508
436
  is(value: unknown): value is string | string[];
@@ -521,7 +449,7 @@ export declare const addPlanTaskOp: import("./define-operation.js").DefinedOpera
521
449
  [x: string]: unknown;
522
450
  from: string;
523
451
  to: string;
524
- type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "performs" | "part_of" | "precedes" | "must_follow" | "blocks" | "routes_to" | "governed_by" | "modifies" | "triggered_by" | "applies_to" | "produces" | "consumes" | "transforms_into" | "selects" | "requires" | "disables" | "influence" | "justifies";
452
+ type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
525
453
  description?: string | string[] | undefined;
526
454
  polarity?: "positive" | "negative" | "neutral" | "uncertain" | undefined;
527
455
  strength?: number | undefined;
@@ -561,10 +489,10 @@ export declare const addPlanTaskOp: import("./define-operation.js").DefinedOpera
561
489
  nodes: {
562
490
  [x: string]: unknown;
563
491
  id: string;
564
- type: "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "artefact_flow" | "decision" | "change" | "view" | "milestone" | "version";
492
+ type: "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "decision" | "change" | "view" | "milestone";
565
493
  name: string;
566
494
  description?: string | string[] | undefined;
567
- status?: "deprecated" | "proposed" | "accepted" | "active" | "implemented" | "adopted" | "defined" | "introduced" | "in_progress" | "complete" | "consolidated" | "experimental" | "retired" | "superseded" | "abandoned" | "deferred" | undefined;
495
+ status?: undefined;
568
496
  lifecycle?: Record<string, string | boolean> | undefined;
569
497
  context?: string | string[] | undefined;
570
498
  options?: {
@@ -588,8 +516,6 @@ export declare const addPlanTaskOp: import("./define-operation.js").DefinedOpera
588
516
  }[] | undefined;
589
517
  propagation?: Record<string, boolean> | undefined;
590
518
  includes?: string[] | undefined;
591
- input?: string | undefined;
592
- output?: string | undefined;
593
519
  external_references?: {
594
520
  role: "output" | "input" | "context" | "evidence" | "source" | "standard" | "prior_art";
595
521
  identifier: string;
@@ -612,7 +538,7 @@ export declare const addPlanTaskOp: import("./define-operation.js").DefinedOpera
612
538
  [x: string]: unknown;
613
539
  from: string;
614
540
  to: string;
615
- type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "performs" | "part_of" | "precedes" | "must_follow" | "blocks" | "routes_to" | "governed_by" | "modifies" | "triggered_by" | "applies_to" | "produces" | "consumes" | "transforms_into" | "selects" | "requires" | "disables" | "influence" | "justifies";
541
+ type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
616
542
  description?: string | string[] | undefined;
617
543
  polarity?: "positive" | "negative" | "neutral" | "uncertain" | undefined;
618
544
  strength?: number | undefined;