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.
- package/dist/schema.json +4 -44
- package/dist/src/cli/commands/add.js +6 -2
- package/dist/src/cli/commands/query.js +5 -3
- package/dist/src/cli/commands/speckit.js +2 -2
- package/dist/src/cli/commands/update.js +6 -4
- package/dist/src/endpoint-types.d.ts +4 -0
- package/dist/src/endpoint-types.js +22 -121
- package/dist/src/json-to-md.js +2 -16
- package/dist/src/lifecycle-state.d.ts +9 -0
- package/dist/src/lifecycle-state.js +22 -0
- package/dist/src/mcp/server.js +3 -6
- package/dist/src/md-to-json.js +1 -19
- package/dist/src/operations/add-node.d.ts +21 -135
- package/dist/src/operations/add-plan-task.d.ts +14 -90
- package/dist/src/operations/add-relationship.d.ts +16 -105
- package/dist/src/operations/check.d.ts +7 -45
- package/dist/src/operations/graph-decision.d.ts +7 -45
- package/dist/src/operations/graph-decision.js +0 -1
- package/dist/src/operations/graph-dependency.d.ts +7 -45
- package/dist/src/operations/graph-dependency.js +3 -23
- package/dist/src/operations/graph-refinement.d.ts +7 -45
- package/dist/src/operations/graph-shared.js +1 -3
- package/dist/src/operations/graph.d.ts +7 -45
- package/dist/src/operations/infer-completeness.d.ts +10 -54
- package/dist/src/operations/infer-derived.d.ts +7 -45
- package/dist/src/operations/infer-derived.js +28 -4
- package/dist/src/operations/infer-impact.d.ts +49 -315
- package/dist/src/operations/infer-impact.js +22 -3
- package/dist/src/operations/infer-lifecycle.d.ts +8 -106
- package/dist/src/operations/infer-lifecycle.js +4 -10
- package/dist/src/operations/init-document.d.ts +7 -45
- package/dist/src/operations/json-to-markdown.d.ts +7 -45
- package/dist/src/operations/mark-task-done.d.ts +14 -90
- package/dist/src/operations/mark-task-undone.d.ts +14 -90
- package/dist/src/operations/markdown-to-json.d.ts +7 -45
- package/dist/src/operations/next-id.d.ts +8 -48
- package/dist/src/operations/node-history.d.ts +7 -45
- package/dist/src/operations/plan-add-task.d.ts +14 -90
- package/dist/src/operations/plan-gate.d.ts +7 -45
- package/dist/src/operations/plan-init.d.ts +7 -45
- package/dist/src/operations/plan-progress.d.ts +7 -45
- package/dist/src/operations/plan-status.d.ts +7 -45
- package/dist/src/operations/query-node.d.ts +29 -195
- package/dist/src/operations/query-nodes.d.ts +15 -91
- package/dist/src/operations/query-nodes.js +6 -4
- package/dist/src/operations/query-relationships.d.ts +9 -60
- package/dist/src/operations/remove-node.d.ts +21 -135
- package/dist/src/operations/remove-node.js +11 -1
- package/dist/src/operations/remove-relationship.d.ts +15 -104
- package/dist/src/operations/rename.d.ts +14 -90
- package/dist/src/operations/search.d.ts +14 -90
- package/dist/src/operations/speckit-diff.d.ts +7 -45
- package/dist/src/operations/speckit-export.d.ts +7 -45
- package/dist/src/operations/speckit-import.d.ts +7 -45
- package/dist/src/operations/speckit-sync.d.ts +22 -136
- package/dist/src/operations/speckit-sync.js +3 -3
- package/dist/src/operations/state-at.d.ts +7 -45
- package/dist/src/operations/stats.d.ts +7 -45
- package/dist/src/operations/sync.d.ts +21 -135
- package/dist/src/operations/task-list.d.ts +7 -45
- package/dist/src/operations/timeline.d.ts +7 -45
- package/dist/src/operations/trace-from-node.d.ts +21 -135
- package/dist/src/operations/update-metadata.d.ts +14 -90
- package/dist/src/operations/update-node.d.ts +20 -155
- package/dist/src/operations/update-plan-task.d.ts +14 -90
- package/dist/src/operations/validate.d.ts +7 -45
- package/dist/src/operations/validate.js +8 -6
- package/dist/src/schema.d.ts +22 -164
- package/dist/src/schema.js +4 -27
- package/dist/src/speckit/generate.js +10 -7
- package/dist/src/speckit/parse.js +6 -3
- package/dist/src/speckit/plan.js +1 -1
- package/package.json +13 -2
- package/schema.json +4 -44
|
@@ -39,39 +39,18 @@ export declare const addRelationshipOp: import("./define-operation.js").DefinedO
|
|
|
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" | "
|
|
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.
|
|
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 addRelationshipOp: import("./define-operation.js").DefinedO
|
|
|
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 addRelationshipOp: import("./define-operation.js").DefinedO
|
|
|
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" | "
|
|
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 addRelationshipOp: import("./define-operation.js").DefinedO
|
|
|
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" | "
|
|
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 addRelationshipOp: import("./define-operation.js").DefinedO
|
|
|
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" | "
|
|
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?:
|
|
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 addRelationshipOp: import("./define-operation.js").DefinedO
|
|
|
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 addRelationshipOp: import("./define-operation.js").DefinedO
|
|
|
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" | "
|
|
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;
|
|
@@ -327,27 +289,14 @@ export declare const addRelationshipOp: import("./define-operation.js").DefinedO
|
|
|
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" | "
|
|
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 addRelationshipOp: import("./define-operation.js").DefinedO
|
|
|
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" | "
|
|
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;
|
|
@@ -407,39 +356,18 @@ export declare const addRelationshipOp: import("./define-operation.js").DefinedO
|
|
|
407
356
|
gate: "gate";
|
|
408
357
|
mode: "mode";
|
|
409
358
|
artefact: "artefact";
|
|
410
|
-
artefact_flow: "artefact_flow";
|
|
411
359
|
decision: "decision";
|
|
412
360
|
change: "change";
|
|
413
361
|
view: "view";
|
|
414
362
|
milestone: "milestone";
|
|
415
|
-
version: "version";
|
|
416
363
|
}> & {
|
|
417
|
-
is(value: unknown): value is "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "
|
|
364
|
+
is(value: unknown): value is "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "decision" | "change" | "view" | "milestone";
|
|
418
365
|
};
|
|
419
366
|
name: z.ZodString;
|
|
420
367
|
description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
|
|
421
368
|
is(value: unknown): value is string | string[];
|
|
422
369
|
}>;
|
|
423
|
-
status: z.ZodOptional<z.
|
|
424
|
-
deprecated: "deprecated";
|
|
425
|
-
proposed: "proposed";
|
|
426
|
-
accepted: "accepted";
|
|
427
|
-
active: "active";
|
|
428
|
-
implemented: "implemented";
|
|
429
|
-
adopted: "adopted";
|
|
430
|
-
defined: "defined";
|
|
431
|
-
introduced: "introduced";
|
|
432
|
-
in_progress: "in_progress";
|
|
433
|
-
complete: "complete";
|
|
434
|
-
consolidated: "consolidated";
|
|
435
|
-
experimental: "experimental";
|
|
436
|
-
retired: "retired";
|
|
437
|
-
superseded: "superseded";
|
|
438
|
-
abandoned: "abandoned";
|
|
439
|
-
deferred: "deferred";
|
|
440
|
-
}> & {
|
|
441
|
-
is(value: unknown): value is "deprecated" | "proposed" | "accepted" | "active" | "implemented" | "adopted" | "defined" | "introduced" | "in_progress" | "complete" | "consolidated" | "experimental" | "retired" | "superseded" | "abandoned" | "deferred";
|
|
442
|
-
}>;
|
|
370
|
+
status: z.ZodOptional<z.ZodNever>;
|
|
443
371
|
lifecycle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>>;
|
|
444
372
|
context: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
|
|
445
373
|
is(value: unknown): value is string | string[];
|
|
@@ -494,8 +422,6 @@ export declare const addRelationshipOp: import("./define-operation.js").DefinedO
|
|
|
494
422
|
}>>;
|
|
495
423
|
propagation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
496
424
|
includes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
497
|
-
input: z.ZodOptional<z.ZodString>;
|
|
498
|
-
output: z.ZodOptional<z.ZodString>;
|
|
499
425
|
external_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
500
426
|
role: z.ZodEnum<{
|
|
501
427
|
output: "output";
|
|
@@ -539,27 +465,14 @@ export declare const addRelationshipOp: import("./define-operation.js").DefinedO
|
|
|
539
465
|
affects: "affects";
|
|
540
466
|
supersedes: "supersedes";
|
|
541
467
|
must_preserve: "must_preserve";
|
|
542
|
-
performs: "performs";
|
|
543
468
|
part_of: "part_of";
|
|
544
469
|
precedes: "precedes";
|
|
545
470
|
must_follow: "must_follow";
|
|
546
|
-
blocks: "blocks";
|
|
547
|
-
routes_to: "routes_to";
|
|
548
|
-
orchestrates: "orchestrates";
|
|
549
471
|
governed_by: "governed_by";
|
|
550
472
|
modifies: "modifies";
|
|
551
|
-
triggered_by: "triggered_by";
|
|
552
|
-
applies_to: "applies_to";
|
|
553
473
|
produces: "produces";
|
|
554
|
-
consumes: "consumes";
|
|
555
|
-
transforms_into: "transforms_into";
|
|
556
|
-
selects: "selects";
|
|
557
|
-
requires: "requires";
|
|
558
|
-
disables: "disables";
|
|
559
|
-
influence: "influence";
|
|
560
|
-
justifies: "justifies";
|
|
561
474
|
}> & {
|
|
562
|
-
is(value: unknown): value is "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "
|
|
475
|
+
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";
|
|
563
476
|
};
|
|
564
477
|
description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
|
|
565
478
|
is(value: unknown): value is string | string[];
|
|
@@ -578,7 +491,7 @@ export declare const addRelationshipOp: import("./define-operation.js").DefinedO
|
|
|
578
491
|
[x: string]: unknown;
|
|
579
492
|
from: string;
|
|
580
493
|
to: string;
|
|
581
|
-
type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "
|
|
494
|
+
type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
|
|
582
495
|
description?: string | string[] | undefined;
|
|
583
496
|
polarity?: "positive" | "negative" | "neutral" | "uncertain" | undefined;
|
|
584
497
|
strength?: number | undefined;
|
|
@@ -618,10 +531,10 @@ export declare const addRelationshipOp: import("./define-operation.js").DefinedO
|
|
|
618
531
|
nodes: {
|
|
619
532
|
[x: string]: unknown;
|
|
620
533
|
id: string;
|
|
621
|
-
type: "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "
|
|
534
|
+
type: "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "decision" | "change" | "view" | "milestone";
|
|
622
535
|
name: string;
|
|
623
536
|
description?: string | string[] | undefined;
|
|
624
|
-
status?:
|
|
537
|
+
status?: undefined;
|
|
625
538
|
lifecycle?: Record<string, string | boolean> | undefined;
|
|
626
539
|
context?: string | string[] | undefined;
|
|
627
540
|
options?: {
|
|
@@ -645,8 +558,6 @@ export declare const addRelationshipOp: import("./define-operation.js").DefinedO
|
|
|
645
558
|
}[] | undefined;
|
|
646
559
|
propagation?: Record<string, boolean> | undefined;
|
|
647
560
|
includes?: string[] | undefined;
|
|
648
|
-
input?: string | undefined;
|
|
649
|
-
output?: string | undefined;
|
|
650
561
|
external_references?: {
|
|
651
562
|
role: "output" | "input" | "context" | "evidence" | "source" | "standard" | "prior_art";
|
|
652
563
|
identifier: string;
|
|
@@ -669,7 +580,7 @@ export declare const addRelationshipOp: import("./define-operation.js").DefinedO
|
|
|
669
580
|
[x: string]: unknown;
|
|
670
581
|
from: string;
|
|
671
582
|
to: string;
|
|
672
|
-
type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "
|
|
583
|
+
type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
|
|
673
584
|
description?: string | string[] | undefined;
|
|
674
585
|
polarity?: "positive" | "negative" | "neutral" | "uncertain" | undefined;
|
|
675
586
|
strength?: number | undefined;
|
|
@@ -40,39 +40,18 @@ export declare const checkOp: import("./define-operation.js").DefinedOperation<z
|
|
|
40
40
|
gate: "gate";
|
|
41
41
|
mode: "mode";
|
|
42
42
|
artefact: "artefact";
|
|
43
|
-
artefact_flow: "artefact_flow";
|
|
44
43
|
decision: "decision";
|
|
45
44
|
change: "change";
|
|
46
45
|
view: "view";
|
|
47
46
|
milestone: "milestone";
|
|
48
|
-
version: "version";
|
|
49
47
|
}> & {
|
|
50
|
-
is(value: unknown): value is "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "
|
|
48
|
+
is(value: unknown): value is "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "decision" | "change" | "view" | "milestone";
|
|
51
49
|
};
|
|
52
50
|
name: z.ZodString;
|
|
53
51
|
description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
|
|
54
52
|
is(value: unknown): value is string | string[];
|
|
55
53
|
}>;
|
|
56
|
-
status: z.ZodOptional<z.
|
|
57
|
-
deprecated: "deprecated";
|
|
58
|
-
proposed: "proposed";
|
|
59
|
-
accepted: "accepted";
|
|
60
|
-
active: "active";
|
|
61
|
-
implemented: "implemented";
|
|
62
|
-
adopted: "adopted";
|
|
63
|
-
defined: "defined";
|
|
64
|
-
introduced: "introduced";
|
|
65
|
-
in_progress: "in_progress";
|
|
66
|
-
complete: "complete";
|
|
67
|
-
consolidated: "consolidated";
|
|
68
|
-
experimental: "experimental";
|
|
69
|
-
retired: "retired";
|
|
70
|
-
superseded: "superseded";
|
|
71
|
-
abandoned: "abandoned";
|
|
72
|
-
deferred: "deferred";
|
|
73
|
-
}> & {
|
|
74
|
-
is(value: unknown): value is "deprecated" | "proposed" | "accepted" | "active" | "implemented" | "adopted" | "defined" | "introduced" | "in_progress" | "complete" | "consolidated" | "experimental" | "retired" | "superseded" | "abandoned" | "deferred";
|
|
75
|
-
}>;
|
|
54
|
+
status: z.ZodOptional<z.ZodNever>;
|
|
76
55
|
lifecycle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>>;
|
|
77
56
|
context: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
|
|
78
57
|
is(value: unknown): value is string | string[];
|
|
@@ -127,8 +106,6 @@ export declare const checkOp: import("./define-operation.js").DefinedOperation<z
|
|
|
127
106
|
}>>;
|
|
128
107
|
propagation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
129
108
|
includes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
130
|
-
input: z.ZodOptional<z.ZodString>;
|
|
131
|
-
output: z.ZodOptional<z.ZodString>;
|
|
132
109
|
external_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
133
110
|
role: z.ZodEnum<{
|
|
134
111
|
output: "output";
|
|
@@ -172,27 +149,14 @@ export declare const checkOp: import("./define-operation.js").DefinedOperation<z
|
|
|
172
149
|
affects: "affects";
|
|
173
150
|
supersedes: "supersedes";
|
|
174
151
|
must_preserve: "must_preserve";
|
|
175
|
-
performs: "performs";
|
|
176
152
|
part_of: "part_of";
|
|
177
153
|
precedes: "precedes";
|
|
178
154
|
must_follow: "must_follow";
|
|
179
|
-
blocks: "blocks";
|
|
180
|
-
routes_to: "routes_to";
|
|
181
|
-
orchestrates: "orchestrates";
|
|
182
155
|
governed_by: "governed_by";
|
|
183
156
|
modifies: "modifies";
|
|
184
|
-
triggered_by: "triggered_by";
|
|
185
|
-
applies_to: "applies_to";
|
|
186
157
|
produces: "produces";
|
|
187
|
-
consumes: "consumes";
|
|
188
|
-
transforms_into: "transforms_into";
|
|
189
|
-
selects: "selects";
|
|
190
|
-
requires: "requires";
|
|
191
|
-
disables: "disables";
|
|
192
|
-
influence: "influence";
|
|
193
|
-
justifies: "justifies";
|
|
194
158
|
}> & {
|
|
195
|
-
is(value: unknown): value is "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "
|
|
159
|
+
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";
|
|
196
160
|
};
|
|
197
161
|
description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
|
|
198
162
|
is(value: unknown): value is string | string[];
|
|
@@ -211,7 +175,7 @@ export declare const checkOp: import("./define-operation.js").DefinedOperation<z
|
|
|
211
175
|
[x: string]: unknown;
|
|
212
176
|
from: string;
|
|
213
177
|
to: string;
|
|
214
|
-
type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "
|
|
178
|
+
type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
|
|
215
179
|
description?: string | string[] | undefined;
|
|
216
180
|
polarity?: "positive" | "negative" | "neutral" | "uncertain" | undefined;
|
|
217
181
|
strength?: number | undefined;
|
|
@@ -251,10 +215,10 @@ export declare const checkOp: import("./define-operation.js").DefinedOperation<z
|
|
|
251
215
|
nodes: {
|
|
252
216
|
[x: string]: unknown;
|
|
253
217
|
id: string;
|
|
254
|
-
type: "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "
|
|
218
|
+
type: "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "decision" | "change" | "view" | "milestone";
|
|
255
219
|
name: string;
|
|
256
220
|
description?: string | string[] | undefined;
|
|
257
|
-
status?:
|
|
221
|
+
status?: undefined;
|
|
258
222
|
lifecycle?: Record<string, string | boolean> | undefined;
|
|
259
223
|
context?: string | string[] | undefined;
|
|
260
224
|
options?: {
|
|
@@ -278,8 +242,6 @@ export declare const checkOp: import("./define-operation.js").DefinedOperation<z
|
|
|
278
242
|
}[] | undefined;
|
|
279
243
|
propagation?: Record<string, boolean> | undefined;
|
|
280
244
|
includes?: string[] | undefined;
|
|
281
|
-
input?: string | undefined;
|
|
282
|
-
output?: string | undefined;
|
|
283
245
|
external_references?: {
|
|
284
246
|
role: "output" | "input" | "context" | "evidence" | "source" | "standard" | "prior_art";
|
|
285
247
|
identifier: string;
|
|
@@ -302,7 +264,7 @@ export declare const checkOp: import("./define-operation.js").DefinedOperation<z
|
|
|
302
264
|
[x: string]: unknown;
|
|
303
265
|
from: string;
|
|
304
266
|
to: string;
|
|
305
|
-
type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "
|
|
267
|
+
type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
|
|
306
268
|
description?: string | string[] | undefined;
|
|
307
269
|
polarity?: "positive" | "negative" | "neutral" | "uncertain" | undefined;
|
|
308
270
|
strength?: number | undefined;
|
|
@@ -36,39 +36,18 @@ export declare const graphDecisionOp: 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" | "
|
|
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.
|
|
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 graphDecisionOp: 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 graphDecisionOp: 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" | "
|
|
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 graphDecisionOp: 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" | "
|
|
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 graphDecisionOp: 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" | "
|
|
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?:
|
|
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 graphDecisionOp: 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 graphDecisionOp: 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" | "
|
|
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;
|
|
@@ -3,7 +3,6 @@ import { defineOperation } from "./define-operation.js";
|
|
|
3
3
|
import { SysProMDocument } from "../schema.js";
|
|
4
4
|
import { sanitiseMermaidId, mermaidShapeForNode, renderMermaidNode, renderMermaidClassDefs, mermaidClassForNode, dotNodeAttrsWithMode, renderRelationshipLabel, } from "./graph-shared.js";
|
|
5
5
|
const DECISION_REL_TYPES = new Set([
|
|
6
|
-
"selects",
|
|
7
6
|
"must_preserve",
|
|
8
7
|
"affects",
|
|
9
8
|
"constrained_by",
|