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