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
@@ -36,39 +36,18 @@ export declare const searchOp: import("./define-operation.js").DefinedOperation<
36
36
  gate: "gate";
37
37
  mode: "mode";
38
38
  artefact: "artefact";
39
- artefact_flow: "artefact_flow";
40
39
  decision: "decision";
41
40
  change: "change";
42
41
  view: "view";
43
42
  milestone: "milestone";
44
- version: "version";
45
43
  }> & {
46
- 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";
44
+ is(value: unknown): value is "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "decision" | "change" | "view" | "milestone";
47
45
  };
48
46
  name: z.ZodString;
49
47
  description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
50
48
  is(value: unknown): value is string | string[];
51
49
  }>;
52
- status: z.ZodOptional<z.ZodEnum<{
53
- deprecated: "deprecated";
54
- proposed: "proposed";
55
- accepted: "accepted";
56
- active: "active";
57
- implemented: "implemented";
58
- adopted: "adopted";
59
- defined: "defined";
60
- introduced: "introduced";
61
- in_progress: "in_progress";
62
- complete: "complete";
63
- consolidated: "consolidated";
64
- experimental: "experimental";
65
- retired: "retired";
66
- superseded: "superseded";
67
- abandoned: "abandoned";
68
- deferred: "deferred";
69
- }> & {
70
- is(value: unknown): value is "deprecated" | "proposed" | "accepted" | "active" | "implemented" | "adopted" | "defined" | "introduced" | "in_progress" | "complete" | "consolidated" | "experimental" | "retired" | "superseded" | "abandoned" | "deferred";
71
- }>;
50
+ status: z.ZodOptional<z.ZodNever>;
72
51
  lifecycle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>>;
73
52
  context: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
74
53
  is(value: unknown): value is string | string[];
@@ -123,8 +102,6 @@ export declare const searchOp: import("./define-operation.js").DefinedOperation<
123
102
  }>>;
124
103
  propagation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
125
104
  includes: z.ZodOptional<z.ZodArray<z.ZodString>>;
126
- input: z.ZodOptional<z.ZodString>;
127
- output: z.ZodOptional<z.ZodString>;
128
105
  external_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
129
106
  role: z.ZodEnum<{
130
107
  output: "output";
@@ -168,27 +145,14 @@ export declare const searchOp: import("./define-operation.js").DefinedOperation<
168
145
  affects: "affects";
169
146
  supersedes: "supersedes";
170
147
  must_preserve: "must_preserve";
171
- performs: "performs";
172
148
  part_of: "part_of";
173
149
  precedes: "precedes";
174
150
  must_follow: "must_follow";
175
- blocks: "blocks";
176
- routes_to: "routes_to";
177
- orchestrates: "orchestrates";
178
151
  governed_by: "governed_by";
179
152
  modifies: "modifies";
180
- triggered_by: "triggered_by";
181
- applies_to: "applies_to";
182
153
  produces: "produces";
183
- consumes: "consumes";
184
- transforms_into: "transforms_into";
185
- selects: "selects";
186
- requires: "requires";
187
- disables: "disables";
188
- influence: "influence";
189
- justifies: "justifies";
190
154
  }> & {
191
- 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";
155
+ 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";
192
156
  };
193
157
  description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
194
158
  is(value: unknown): value is string | string[];
@@ -207,7 +171,7 @@ export declare const searchOp: import("./define-operation.js").DefinedOperation<
207
171
  [x: string]: unknown;
208
172
  from: string;
209
173
  to: string;
210
- 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";
174
+ type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
211
175
  description?: string | string[] | undefined;
212
176
  polarity?: "positive" | "negative" | "neutral" | "uncertain" | undefined;
213
177
  strength?: number | undefined;
@@ -247,10 +211,10 @@ export declare const searchOp: import("./define-operation.js").DefinedOperation<
247
211
  nodes: {
248
212
  [x: string]: unknown;
249
213
  id: string;
250
- type: "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "artefact_flow" | "decision" | "change" | "view" | "milestone" | "version";
214
+ type: "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "decision" | "change" | "view" | "milestone";
251
215
  name: string;
252
216
  description?: string | string[] | undefined;
253
- status?: "deprecated" | "proposed" | "accepted" | "active" | "implemented" | "adopted" | "defined" | "introduced" | "in_progress" | "complete" | "consolidated" | "experimental" | "retired" | "superseded" | "abandoned" | "deferred" | undefined;
217
+ status?: undefined;
254
218
  lifecycle?: Record<string, string | boolean> | undefined;
255
219
  context?: string | string[] | undefined;
256
220
  options?: {
@@ -274,8 +238,6 @@ export declare const searchOp: import("./define-operation.js").DefinedOperation<
274
238
  }[] | undefined;
275
239
  propagation?: Record<string, boolean> | undefined;
276
240
  includes?: string[] | undefined;
277
- input?: string | undefined;
278
- output?: string | undefined;
279
241
  external_references?: {
280
242
  role: "output" | "input" | "context" | "evidence" | "source" | "standard" | "prior_art";
281
243
  identifier: string;
@@ -298,7 +260,7 @@ export declare const searchOp: import("./define-operation.js").DefinedOperation<
298
260
  [x: string]: unknown;
299
261
  from: string;
300
262
  to: string;
301
- 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";
263
+ type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
302
264
  description?: string | string[] | undefined;
303
265
  polarity?: "positive" | "negative" | "neutral" | "uncertain" | undefined;
304
266
  strength?: number | undefined;
@@ -330,39 +292,18 @@ export declare const searchOp: import("./define-operation.js").DefinedOperation<
330
292
  gate: "gate";
331
293
  mode: "mode";
332
294
  artefact: "artefact";
333
- artefact_flow: "artefact_flow";
334
295
  decision: "decision";
335
296
  change: "change";
336
297
  view: "view";
337
298
  milestone: "milestone";
338
- version: "version";
339
299
  }> & {
340
- 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";
300
+ is(value: unknown): value is "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "decision" | "change" | "view" | "milestone";
341
301
  };
342
302
  name: z.ZodString;
343
303
  description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
344
304
  is(value: unknown): value is string | string[];
345
305
  }>;
346
- status: z.ZodOptional<z.ZodEnum<{
347
- deprecated: "deprecated";
348
- proposed: "proposed";
349
- accepted: "accepted";
350
- active: "active";
351
- implemented: "implemented";
352
- adopted: "adopted";
353
- defined: "defined";
354
- introduced: "introduced";
355
- in_progress: "in_progress";
356
- complete: "complete";
357
- consolidated: "consolidated";
358
- experimental: "experimental";
359
- retired: "retired";
360
- superseded: "superseded";
361
- abandoned: "abandoned";
362
- deferred: "deferred";
363
- }> & {
364
- is(value: unknown): value is "deprecated" | "proposed" | "accepted" | "active" | "implemented" | "adopted" | "defined" | "introduced" | "in_progress" | "complete" | "consolidated" | "experimental" | "retired" | "superseded" | "abandoned" | "deferred";
365
- }>;
306
+ status: z.ZodOptional<z.ZodNever>;
366
307
  lifecycle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>>;
367
308
  context: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
368
309
  is(value: unknown): value is string | string[];
@@ -417,8 +358,6 @@ export declare const searchOp: import("./define-operation.js").DefinedOperation<
417
358
  }>>;
418
359
  propagation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
419
360
  includes: z.ZodOptional<z.ZodArray<z.ZodString>>;
420
- input: z.ZodOptional<z.ZodString>;
421
- output: z.ZodOptional<z.ZodString>;
422
361
  external_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
423
362
  role: z.ZodEnum<{
424
363
  output: "output";
@@ -479,27 +418,14 @@ export declare const searchOp: import("./define-operation.js").DefinedOperation<
479
418
  affects: "affects";
480
419
  supersedes: "supersedes";
481
420
  must_preserve: "must_preserve";
482
- performs: "performs";
483
421
  part_of: "part_of";
484
422
  precedes: "precedes";
485
423
  must_follow: "must_follow";
486
- blocks: "blocks";
487
- routes_to: "routes_to";
488
- orchestrates: "orchestrates";
489
424
  governed_by: "governed_by";
490
425
  modifies: "modifies";
491
- triggered_by: "triggered_by";
492
- applies_to: "applies_to";
493
426
  produces: "produces";
494
- consumes: "consumes";
495
- transforms_into: "transforms_into";
496
- selects: "selects";
497
- requires: "requires";
498
- disables: "disables";
499
- influence: "influence";
500
- justifies: "justifies";
501
427
  }> & {
502
- 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";
428
+ 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";
503
429
  };
504
430
  description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
505
431
  is(value: unknown): value is string | string[];
@@ -518,7 +444,7 @@ export declare const searchOp: import("./define-operation.js").DefinedOperation<
518
444
  [x: string]: unknown;
519
445
  from: string;
520
446
  to: string;
521
- 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";
447
+ type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
522
448
  description?: string | string[] | undefined;
523
449
  polarity?: "positive" | "negative" | "neutral" | "uncertain" | undefined;
524
450
  strength?: number | undefined;
@@ -558,10 +484,10 @@ export declare const searchOp: import("./define-operation.js").DefinedOperation<
558
484
  is(value: unknown): value is {
559
485
  [x: string]: unknown;
560
486
  id: string;
561
- type: "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "artefact_flow" | "decision" | "change" | "view" | "milestone" | "version";
487
+ type: "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "decision" | "change" | "view" | "milestone";
562
488
  name: string;
563
489
  description?: string | string[] | undefined;
564
- status?: "deprecated" | "proposed" | "accepted" | "active" | "implemented" | "adopted" | "defined" | "introduced" | "in_progress" | "complete" | "consolidated" | "experimental" | "retired" | "superseded" | "abandoned" | "deferred" | undefined;
490
+ status?: undefined;
565
491
  lifecycle?: Record<string, string | boolean> | undefined;
566
492
  context?: string | string[] | undefined;
567
493
  options?: {
@@ -585,8 +511,6 @@ export declare const searchOp: import("./define-operation.js").DefinedOperation<
585
511
  }[] | undefined;
586
512
  propagation?: Record<string, boolean> | undefined;
587
513
  includes?: string[] | undefined;
588
- input?: string | undefined;
589
- output?: string | undefined;
590
514
  external_references?: {
591
515
  role: "output" | "input" | "context" | "evidence" | "source" | "standard" | "prior_art";
592
516
  identifier: string;
@@ -609,7 +533,7 @@ export declare const searchOp: import("./define-operation.js").DefinedOperation<
609
533
  [x: string]: unknown;
610
534
  from: string;
611
535
  to: string;
612
- 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";
536
+ type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
613
537
  description?: string | string[] | undefined;
614
538
  polarity?: "positive" | "negative" | "neutral" | "uncertain" | undefined;
615
539
  strength?: number | undefined;
@@ -54,39 +54,18 @@ export declare const speckitDiffOp: import("./define-operation.js").DefinedOpera
54
54
  gate: "gate";
55
55
  mode: "mode";
56
56
  artefact: "artefact";
57
- artefact_flow: "artefact_flow";
58
57
  decision: "decision";
59
58
  change: "change";
60
59
  view: "view";
61
60
  milestone: "milestone";
62
- version: "version";
63
61
  }> & {
64
- 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";
62
+ is(value: unknown): value is "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "decision" | "change" | "view" | "milestone";
65
63
  };
66
64
  name: z.ZodString;
67
65
  description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
68
66
  is(value: unknown): value is string | string[];
69
67
  }>;
70
- status: z.ZodOptional<z.ZodEnum<{
71
- deprecated: "deprecated";
72
- proposed: "proposed";
73
- accepted: "accepted";
74
- active: "active";
75
- implemented: "implemented";
76
- adopted: "adopted";
77
- defined: "defined";
78
- introduced: "introduced";
79
- in_progress: "in_progress";
80
- complete: "complete";
81
- consolidated: "consolidated";
82
- experimental: "experimental";
83
- retired: "retired";
84
- superseded: "superseded";
85
- abandoned: "abandoned";
86
- deferred: "deferred";
87
- }> & {
88
- is(value: unknown): value is "deprecated" | "proposed" | "accepted" | "active" | "implemented" | "adopted" | "defined" | "introduced" | "in_progress" | "complete" | "consolidated" | "experimental" | "retired" | "superseded" | "abandoned" | "deferred";
89
- }>;
68
+ status: z.ZodOptional<z.ZodNever>;
90
69
  lifecycle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>>;
91
70
  context: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
92
71
  is(value: unknown): value is string | string[];
@@ -141,8 +120,6 @@ export declare const speckitDiffOp: import("./define-operation.js").DefinedOpera
141
120
  }>>;
142
121
  propagation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
143
122
  includes: z.ZodOptional<z.ZodArray<z.ZodString>>;
144
- input: z.ZodOptional<z.ZodString>;
145
- output: z.ZodOptional<z.ZodString>;
146
123
  external_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
147
124
  role: z.ZodEnum<{
148
125
  output: "output";
@@ -186,27 +163,14 @@ export declare const speckitDiffOp: import("./define-operation.js").DefinedOpera
186
163
  affects: "affects";
187
164
  supersedes: "supersedes";
188
165
  must_preserve: "must_preserve";
189
- performs: "performs";
190
166
  part_of: "part_of";
191
167
  precedes: "precedes";
192
168
  must_follow: "must_follow";
193
- blocks: "blocks";
194
- routes_to: "routes_to";
195
- orchestrates: "orchestrates";
196
169
  governed_by: "governed_by";
197
170
  modifies: "modifies";
198
- triggered_by: "triggered_by";
199
- applies_to: "applies_to";
200
171
  produces: "produces";
201
- consumes: "consumes";
202
- transforms_into: "transforms_into";
203
- selects: "selects";
204
- requires: "requires";
205
- disables: "disables";
206
- influence: "influence";
207
- justifies: "justifies";
208
172
  }> & {
209
- 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";
173
+ 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";
210
174
  };
211
175
  description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
212
176
  is(value: unknown): value is string | string[];
@@ -225,7 +189,7 @@ export declare const speckitDiffOp: import("./define-operation.js").DefinedOpera
225
189
  [x: string]: unknown;
226
190
  from: string;
227
191
  to: string;
228
- 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";
192
+ type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
229
193
  description?: string | string[] | undefined;
230
194
  polarity?: "positive" | "negative" | "neutral" | "uncertain" | undefined;
231
195
  strength?: number | undefined;
@@ -265,10 +229,10 @@ export declare const speckitDiffOp: import("./define-operation.js").DefinedOpera
265
229
  nodes: {
266
230
  [x: string]: unknown;
267
231
  id: string;
268
- type: "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "artefact_flow" | "decision" | "change" | "view" | "milestone" | "version";
232
+ type: "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "decision" | "change" | "view" | "milestone";
269
233
  name: string;
270
234
  description?: string | string[] | undefined;
271
- status?: "deprecated" | "proposed" | "accepted" | "active" | "implemented" | "adopted" | "defined" | "introduced" | "in_progress" | "complete" | "consolidated" | "experimental" | "retired" | "superseded" | "abandoned" | "deferred" | undefined;
235
+ status?: undefined;
272
236
  lifecycle?: Record<string, string | boolean> | undefined;
273
237
  context?: string | string[] | undefined;
274
238
  options?: {
@@ -292,8 +256,6 @@ export declare const speckitDiffOp: import("./define-operation.js").DefinedOpera
292
256
  }[] | undefined;
293
257
  propagation?: Record<string, boolean> | undefined;
294
258
  includes?: string[] | undefined;
295
- input?: string | undefined;
296
- output?: string | undefined;
297
259
  external_references?: {
298
260
  role: "output" | "input" | "context" | "evidence" | "source" | "standard" | "prior_art";
299
261
  identifier: string;
@@ -316,7 +278,7 @@ export declare const speckitDiffOp: import("./define-operation.js").DefinedOpera
316
278
  [x: string]: unknown;
317
279
  from: string;
318
280
  to: string;
319
- 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";
281
+ type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
320
282
  description?: string | string[] | undefined;
321
283
  polarity?: "positive" | "negative" | "neutral" | "uncertain" | undefined;
322
284
  strength?: number | undefined;
@@ -36,39 +36,18 @@ export declare const speckitExportOp: import("./define-operation.js").DefinedOpe
36
36
  gate: "gate";
37
37
  mode: "mode";
38
38
  artefact: "artefact";
39
- artefact_flow: "artefact_flow";
40
39
  decision: "decision";
41
40
  change: "change";
42
41
  view: "view";
43
42
  milestone: "milestone";
44
- version: "version";
45
43
  }> & {
46
- 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";
44
+ is(value: unknown): value is "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "decision" | "change" | "view" | "milestone";
47
45
  };
48
46
  name: z.ZodString;
49
47
  description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
50
48
  is(value: unknown): value is string | string[];
51
49
  }>;
52
- status: z.ZodOptional<z.ZodEnum<{
53
- deprecated: "deprecated";
54
- proposed: "proposed";
55
- accepted: "accepted";
56
- active: "active";
57
- implemented: "implemented";
58
- adopted: "adopted";
59
- defined: "defined";
60
- introduced: "introduced";
61
- in_progress: "in_progress";
62
- complete: "complete";
63
- consolidated: "consolidated";
64
- experimental: "experimental";
65
- retired: "retired";
66
- superseded: "superseded";
67
- abandoned: "abandoned";
68
- deferred: "deferred";
69
- }> & {
70
- is(value: unknown): value is "deprecated" | "proposed" | "accepted" | "active" | "implemented" | "adopted" | "defined" | "introduced" | "in_progress" | "complete" | "consolidated" | "experimental" | "retired" | "superseded" | "abandoned" | "deferred";
71
- }>;
50
+ status: z.ZodOptional<z.ZodNever>;
72
51
  lifecycle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>>;
73
52
  context: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
74
53
  is(value: unknown): value is string | string[];
@@ -123,8 +102,6 @@ export declare const speckitExportOp: import("./define-operation.js").DefinedOpe
123
102
  }>>;
124
103
  propagation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
125
104
  includes: z.ZodOptional<z.ZodArray<z.ZodString>>;
126
- input: z.ZodOptional<z.ZodString>;
127
- output: z.ZodOptional<z.ZodString>;
128
105
  external_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
129
106
  role: z.ZodEnum<{
130
107
  output: "output";
@@ -168,27 +145,14 @@ export declare const speckitExportOp: import("./define-operation.js").DefinedOpe
168
145
  affects: "affects";
169
146
  supersedes: "supersedes";
170
147
  must_preserve: "must_preserve";
171
- performs: "performs";
172
148
  part_of: "part_of";
173
149
  precedes: "precedes";
174
150
  must_follow: "must_follow";
175
- blocks: "blocks";
176
- routes_to: "routes_to";
177
- orchestrates: "orchestrates";
178
151
  governed_by: "governed_by";
179
152
  modifies: "modifies";
180
- triggered_by: "triggered_by";
181
- applies_to: "applies_to";
182
153
  produces: "produces";
183
- consumes: "consumes";
184
- transforms_into: "transforms_into";
185
- selects: "selects";
186
- requires: "requires";
187
- disables: "disables";
188
- influence: "influence";
189
- justifies: "justifies";
190
154
  }> & {
191
- 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";
155
+ 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";
192
156
  };
193
157
  description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
194
158
  is(value: unknown): value is string | string[];
@@ -207,7 +171,7 @@ export declare const speckitExportOp: import("./define-operation.js").DefinedOpe
207
171
  [x: string]: unknown;
208
172
  from: string;
209
173
  to: string;
210
- 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";
174
+ type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
211
175
  description?: string | string[] | undefined;
212
176
  polarity?: "positive" | "negative" | "neutral" | "uncertain" | undefined;
213
177
  strength?: number | undefined;
@@ -247,10 +211,10 @@ export declare const speckitExportOp: import("./define-operation.js").DefinedOpe
247
211
  nodes: {
248
212
  [x: string]: unknown;
249
213
  id: string;
250
- type: "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "artefact_flow" | "decision" | "change" | "view" | "milestone" | "version";
214
+ type: "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "decision" | "change" | "view" | "milestone";
251
215
  name: string;
252
216
  description?: string | string[] | undefined;
253
- status?: "deprecated" | "proposed" | "accepted" | "active" | "implemented" | "adopted" | "defined" | "introduced" | "in_progress" | "complete" | "consolidated" | "experimental" | "retired" | "superseded" | "abandoned" | "deferred" | undefined;
217
+ status?: undefined;
254
218
  lifecycle?: Record<string, string | boolean> | undefined;
255
219
  context?: string | string[] | undefined;
256
220
  options?: {
@@ -274,8 +238,6 @@ export declare const speckitExportOp: import("./define-operation.js").DefinedOpe
274
238
  }[] | undefined;
275
239
  propagation?: Record<string, boolean> | undefined;
276
240
  includes?: string[] | undefined;
277
- input?: string | undefined;
278
- output?: string | undefined;
279
241
  external_references?: {
280
242
  role: "output" | "input" | "context" | "evidence" | "source" | "standard" | "prior_art";
281
243
  identifier: string;
@@ -298,7 +260,7 @@ export declare const speckitExportOp: import("./define-operation.js").DefinedOpe
298
260
  [x: string]: unknown;
299
261
  from: string;
300
262
  to: string;
301
- 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";
263
+ type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
302
264
  description?: string | string[] | undefined;
303
265
  polarity?: "positive" | "negative" | "neutral" | "uncertain" | undefined;
304
266
  strength?: number | undefined;
@@ -38,39 +38,18 @@ export declare const speckitImportOp: import("./define-operation.js").DefinedOpe
38
38
  gate: "gate";
39
39
  mode: "mode";
40
40
  artefact: "artefact";
41
- artefact_flow: "artefact_flow";
42
41
  decision: "decision";
43
42
  change: "change";
44
43
  view: "view";
45
44
  milestone: "milestone";
46
- version: "version";
47
45
  }> & {
48
- 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";
46
+ is(value: unknown): value is "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "decision" | "change" | "view" | "milestone";
49
47
  };
50
48
  name: z.ZodString;
51
49
  description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
52
50
  is(value: unknown): value is string | string[];
53
51
  }>;
54
- status: z.ZodOptional<z.ZodEnum<{
55
- deprecated: "deprecated";
56
- proposed: "proposed";
57
- accepted: "accepted";
58
- active: "active";
59
- implemented: "implemented";
60
- adopted: "adopted";
61
- defined: "defined";
62
- introduced: "introduced";
63
- in_progress: "in_progress";
64
- complete: "complete";
65
- consolidated: "consolidated";
66
- experimental: "experimental";
67
- retired: "retired";
68
- superseded: "superseded";
69
- abandoned: "abandoned";
70
- deferred: "deferred";
71
- }> & {
72
- is(value: unknown): value is "deprecated" | "proposed" | "accepted" | "active" | "implemented" | "adopted" | "defined" | "introduced" | "in_progress" | "complete" | "consolidated" | "experimental" | "retired" | "superseded" | "abandoned" | "deferred";
73
- }>;
52
+ status: z.ZodOptional<z.ZodNever>;
74
53
  lifecycle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>>;
75
54
  context: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
76
55
  is(value: unknown): value is string | string[];
@@ -125,8 +104,6 @@ export declare const speckitImportOp: import("./define-operation.js").DefinedOpe
125
104
  }>>;
126
105
  propagation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
127
106
  includes: z.ZodOptional<z.ZodArray<z.ZodString>>;
128
- input: z.ZodOptional<z.ZodString>;
129
- output: z.ZodOptional<z.ZodString>;
130
107
  external_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
131
108
  role: z.ZodEnum<{
132
109
  output: "output";
@@ -170,27 +147,14 @@ export declare const speckitImportOp: import("./define-operation.js").DefinedOpe
170
147
  affects: "affects";
171
148
  supersedes: "supersedes";
172
149
  must_preserve: "must_preserve";
173
- performs: "performs";
174
150
  part_of: "part_of";
175
151
  precedes: "precedes";
176
152
  must_follow: "must_follow";
177
- blocks: "blocks";
178
- routes_to: "routes_to";
179
- orchestrates: "orchestrates";
180
153
  governed_by: "governed_by";
181
154
  modifies: "modifies";
182
- triggered_by: "triggered_by";
183
- applies_to: "applies_to";
184
155
  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
156
  }> & {
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" | "orchestrates" | "governed_by" | "modifies" | "triggered_by" | "applies_to" | "produces" | "consumes" | "transforms_into" | "selects" | "requires" | "disables" | "influence" | "justifies";
157
+ 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
158
  };
195
159
  description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
196
160
  is(value: unknown): value is string | string[];
@@ -209,7 +173,7 @@ export declare const speckitImportOp: import("./define-operation.js").DefinedOpe
209
173
  [x: string]: unknown;
210
174
  from: string;
211
175
  to: string;
212
- 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";
176
+ type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
213
177
  description?: string | string[] | undefined;
214
178
  polarity?: "positive" | "negative" | "neutral" | "uncertain" | undefined;
215
179
  strength?: number | undefined;
@@ -249,10 +213,10 @@ export declare const speckitImportOp: import("./define-operation.js").DefinedOpe
249
213
  nodes: {
250
214
  [x: string]: unknown;
251
215
  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";
216
+ type: "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "decision" | "change" | "view" | "milestone";
253
217
  name: string;
254
218
  description?: string | string[] | undefined;
255
- status?: "deprecated" | "proposed" | "accepted" | "active" | "implemented" | "adopted" | "defined" | "introduced" | "in_progress" | "complete" | "consolidated" | "experimental" | "retired" | "superseded" | "abandoned" | "deferred" | undefined;
219
+ status?: undefined;
256
220
  lifecycle?: Record<string, string | boolean> | undefined;
257
221
  context?: string | string[] | undefined;
258
222
  options?: {
@@ -276,8 +240,6 @@ export declare const speckitImportOp: import("./define-operation.js").DefinedOpe
276
240
  }[] | undefined;
277
241
  propagation?: Record<string, boolean> | undefined;
278
242
  includes?: string[] | undefined;
279
- input?: string | undefined;
280
- output?: string | undefined;
281
243
  external_references?: {
282
244
  role: "output" | "input" | "context" | "evidence" | "source" | "standard" | "prior_art";
283
245
  identifier: string;
@@ -300,7 +262,7 @@ export declare const speckitImportOp: import("./define-operation.js").DefinedOpe
300
262
  [x: string]: unknown;
301
263
  from: string;
302
264
  to: string;
303
- 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";
265
+ type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
304
266
  description?: string | string[] | undefined;
305
267
  polarity?: "positive" | "negative" | "neutral" | "uncertain" | undefined;
306
268
  strength?: number | undefined;