sysprom 1.20.0 → 1.21.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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 +13 -2
  74. package/schema.json +4 -44
@@ -1,5 +1,5 @@
1
1
  import * as z from "zod";
2
- /** Query nodes from a SysProM document with optional filters for type and status. */
2
+ /** Query nodes from a SysProM document with optional filters for type and lifecycle state. */
3
3
  export declare const queryNodesOp: import("./define-operation.js").DefinedOperation<z.ZodObject<{
4
4
  doc: z.ZodObject<{
5
5
  $schema: z.ZodOptional<z.ZodString>;
@@ -36,39 +36,18 @@ export declare const queryNodesOp: import("./define-operation.js").DefinedOperat
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 queryNodesOp: import("./define-operation.js").DefinedOperat
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 queryNodesOp: import("./define-operation.js").DefinedOperat
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 queryNodesOp: import("./define-operation.js").DefinedOperat
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 queryNodesOp: import("./define-operation.js").DefinedOperat
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 queryNodesOp: import("./define-operation.js").DefinedOperat
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 queryNodesOp: import("./define-operation.js").DefinedOperat
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;
@@ -331,39 +293,18 @@ export declare const queryNodesOp: import("./define-operation.js").DefinedOperat
331
293
  gate: "gate";
332
294
  mode: "mode";
333
295
  artefact: "artefact";
334
- artefact_flow: "artefact_flow";
335
296
  decision: "decision";
336
297
  change: "change";
337
298
  view: "view";
338
299
  milestone: "milestone";
339
- version: "version";
340
300
  }> & {
341
- 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";
301
+ is(value: unknown): value is "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "decision" | "change" | "view" | "milestone";
342
302
  };
343
303
  name: z.ZodString;
344
304
  description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
345
305
  is(value: unknown): value is string | string[];
346
306
  }>;
347
- status: z.ZodOptional<z.ZodEnum<{
348
- deprecated: "deprecated";
349
- proposed: "proposed";
350
- accepted: "accepted";
351
- active: "active";
352
- implemented: "implemented";
353
- adopted: "adopted";
354
- defined: "defined";
355
- introduced: "introduced";
356
- in_progress: "in_progress";
357
- complete: "complete";
358
- consolidated: "consolidated";
359
- experimental: "experimental";
360
- retired: "retired";
361
- superseded: "superseded";
362
- abandoned: "abandoned";
363
- deferred: "deferred";
364
- }> & {
365
- is(value: unknown): value is "deprecated" | "proposed" | "accepted" | "active" | "implemented" | "adopted" | "defined" | "introduced" | "in_progress" | "complete" | "consolidated" | "experimental" | "retired" | "superseded" | "abandoned" | "deferred";
366
- }>;
307
+ status: z.ZodOptional<z.ZodNever>;
367
308
  lifecycle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>>;
368
309
  context: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
369
310
  is(value: unknown): value is string | string[];
@@ -418,8 +359,6 @@ export declare const queryNodesOp: import("./define-operation.js").DefinedOperat
418
359
  }>>;
419
360
  propagation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
420
361
  includes: z.ZodOptional<z.ZodArray<z.ZodString>>;
421
- input: z.ZodOptional<z.ZodString>;
422
- output: z.ZodOptional<z.ZodString>;
423
362
  external_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
424
363
  role: z.ZodEnum<{
425
364
  output: "output";
@@ -480,27 +419,14 @@ export declare const queryNodesOp: import("./define-operation.js").DefinedOperat
480
419
  affects: "affects";
481
420
  supersedes: "supersedes";
482
421
  must_preserve: "must_preserve";
483
- performs: "performs";
484
422
  part_of: "part_of";
485
423
  precedes: "precedes";
486
424
  must_follow: "must_follow";
487
- blocks: "blocks";
488
- routes_to: "routes_to";
489
- orchestrates: "orchestrates";
490
425
  governed_by: "governed_by";
491
426
  modifies: "modifies";
492
- triggered_by: "triggered_by";
493
- applies_to: "applies_to";
494
427
  produces: "produces";
495
- consumes: "consumes";
496
- transforms_into: "transforms_into";
497
- selects: "selects";
498
- requires: "requires";
499
- disables: "disables";
500
- influence: "influence";
501
- justifies: "justifies";
502
428
  }> & {
503
- 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";
429
+ 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";
504
430
  };
505
431
  description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
506
432
  is(value: unknown): value is string | string[];
@@ -519,7 +445,7 @@ export declare const queryNodesOp: import("./define-operation.js").DefinedOperat
519
445
  [x: string]: unknown;
520
446
  from: string;
521
447
  to: string;
522
- 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";
448
+ type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
523
449
  description?: string | string[] | undefined;
524
450
  polarity?: "positive" | "negative" | "neutral" | "uncertain" | undefined;
525
451
  strength?: number | undefined;
@@ -559,10 +485,10 @@ export declare const queryNodesOp: import("./define-operation.js").DefinedOperat
559
485
  is(value: unknown): value is {
560
486
  [x: string]: unknown;
561
487
  id: string;
562
- type: "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "artefact_flow" | "decision" | "change" | "view" | "milestone" | "version";
488
+ type: "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "decision" | "change" | "view" | "milestone";
563
489
  name: string;
564
490
  description?: string | string[] | undefined;
565
- status?: "deprecated" | "proposed" | "accepted" | "active" | "implemented" | "adopted" | "defined" | "introduced" | "in_progress" | "complete" | "consolidated" | "experimental" | "retired" | "superseded" | "abandoned" | "deferred" | undefined;
491
+ status?: undefined;
566
492
  lifecycle?: Record<string, string | boolean> | undefined;
567
493
  context?: string | string[] | undefined;
568
494
  options?: {
@@ -586,8 +512,6 @@ export declare const queryNodesOp: import("./define-operation.js").DefinedOperat
586
512
  }[] | undefined;
587
513
  propagation?: Record<string, boolean> | undefined;
588
514
  includes?: string[] | undefined;
589
- input?: string | undefined;
590
- output?: string | undefined;
591
515
  external_references?: {
592
516
  role: "output" | "input" | "context" | "evidence" | "source" | "standard" | "prior_art";
593
517
  identifier: string;
@@ -610,7 +534,7 @@ export declare const queryNodesOp: import("./define-operation.js").DefinedOperat
610
534
  [x: string]: unknown;
611
535
  from: string;
612
536
  to: string;
613
- 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";
537
+ type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
614
538
  description?: string | string[] | undefined;
615
539
  polarity?: "positive" | "negative" | "neutral" | "uncertain" | undefined;
616
540
  strength?: number | undefined;
@@ -1,10 +1,11 @@
1
1
  import * as z from "zod";
2
2
  import { defineOperation } from "./define-operation.js";
3
3
  import { Node, SysProMDocument } from "../schema.js";
4
- /** Query nodes from a SysProM document with optional filters for type and status. */
4
+ import { hasLifecycleState } from "../lifecycle-state.js";
5
+ /** Query nodes from a SysProM document with optional filters for type and lifecycle state. */
5
6
  export const queryNodesOp = defineOperation({
6
7
  name: "query-nodes",
7
- description: "Query nodes with optional filters for type and status",
8
+ description: "Query nodes with optional filters for type and lifecycle state",
8
9
  input: z.object({
9
10
  doc: SysProMDocument,
10
11
  type: z.string().optional(),
@@ -16,8 +17,9 @@ export const queryNodesOp = defineOperation({
16
17
  if (input.type) {
17
18
  nodes = nodes.filter((n) => n.type === input.type);
18
19
  }
19
- if (input.status) {
20
- nodes = nodes.filter((n) => n.status === input.status);
20
+ const lifecycleState = input.status;
21
+ if (lifecycleState) {
22
+ nodes = nodes.filter((n) => hasLifecycleState(n, lifecycleState));
21
23
  }
22
24
  return nodes;
23
25
  },
@@ -36,39 +36,18 @@ export declare const queryRelationshipsOp: import("./define-operation.js").Defin
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 queryRelationshipsOp: import("./define-operation.js").Defin
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 queryRelationshipsOp: import("./define-operation.js").Defin
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 queryRelationshipsOp: import("./define-operation.js").Defin
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 queryRelationshipsOp: import("./define-operation.js").Defin
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 queryRelationshipsOp: import("./define-operation.js").Defin
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 queryRelationshipsOp: import("./define-operation.js").Defin
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;
@@ -327,27 +289,14 @@ export declare const queryRelationshipsOp: import("./define-operation.js").Defin
327
289
  affects: "affects";
328
290
  supersedes: "supersedes";
329
291
  must_preserve: "must_preserve";
330
- performs: "performs";
331
292
  part_of: "part_of";
332
293
  precedes: "precedes";
333
294
  must_follow: "must_follow";
334
- blocks: "blocks";
335
- routes_to: "routes_to";
336
- orchestrates: "orchestrates";
337
295
  governed_by: "governed_by";
338
296
  modifies: "modifies";
339
- triggered_by: "triggered_by";
340
- applies_to: "applies_to";
341
297
  produces: "produces";
342
- consumes: "consumes";
343
- transforms_into: "transforms_into";
344
- selects: "selects";
345
- requires: "requires";
346
- disables: "disables";
347
- influence: "influence";
348
- justifies: "justifies";
349
298
  }> & {
350
- 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";
299
+ 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";
351
300
  };
352
301
  description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
353
302
  is(value: unknown): value is string | string[];
@@ -366,7 +315,7 @@ export declare const queryRelationshipsOp: import("./define-operation.js").Defin
366
315
  [x: string]: unknown;
367
316
  from: string;
368
317
  to: string;
369
- 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";
318
+ type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
370
319
  description?: string | string[] | undefined;
371
320
  polarity?: "positive" | "negative" | "neutral" | "uncertain" | undefined;
372
321
  strength?: number | undefined;