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.
- 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 +12 -1
- package/schema.json +4 -44
|
@@ -36,39 +36,18 @@ export declare const updateMetadataOp: import("./define-operation.js").DefinedOp
|
|
|
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 updateMetadataOp: import("./define-operation.js").DefinedOp
|
|
|
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 updateMetadataOp: import("./define-operation.js").DefinedOp
|
|
|
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 updateMetadataOp: import("./define-operation.js").DefinedOp
|
|
|
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 updateMetadataOp: import("./define-operation.js").DefinedOp
|
|
|
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 updateMetadataOp: import("./define-operation.js").DefinedOp
|
|
|
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 updateMetadataOp: import("./define-operation.js").DefinedOp
|
|
|
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;
|
|
@@ -348,39 +310,18 @@ export declare const updateMetadataOp: import("./define-operation.js").DefinedOp
|
|
|
348
310
|
gate: "gate";
|
|
349
311
|
mode: "mode";
|
|
350
312
|
artefact: "artefact";
|
|
351
|
-
artefact_flow: "artefact_flow";
|
|
352
313
|
decision: "decision";
|
|
353
314
|
change: "change";
|
|
354
315
|
view: "view";
|
|
355
316
|
milestone: "milestone";
|
|
356
|
-
version: "version";
|
|
357
317
|
}> & {
|
|
358
|
-
is(value: unknown): value is "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "
|
|
318
|
+
is(value: unknown): value is "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "decision" | "change" | "view" | "milestone";
|
|
359
319
|
};
|
|
360
320
|
name: z.ZodString;
|
|
361
321
|
description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
|
|
362
322
|
is(value: unknown): value is string | string[];
|
|
363
323
|
}>;
|
|
364
|
-
status: z.ZodOptional<z.
|
|
365
|
-
deprecated: "deprecated";
|
|
366
|
-
proposed: "proposed";
|
|
367
|
-
accepted: "accepted";
|
|
368
|
-
active: "active";
|
|
369
|
-
implemented: "implemented";
|
|
370
|
-
adopted: "adopted";
|
|
371
|
-
defined: "defined";
|
|
372
|
-
introduced: "introduced";
|
|
373
|
-
in_progress: "in_progress";
|
|
374
|
-
complete: "complete";
|
|
375
|
-
consolidated: "consolidated";
|
|
376
|
-
experimental: "experimental";
|
|
377
|
-
retired: "retired";
|
|
378
|
-
superseded: "superseded";
|
|
379
|
-
abandoned: "abandoned";
|
|
380
|
-
deferred: "deferred";
|
|
381
|
-
}> & {
|
|
382
|
-
is(value: unknown): value is "deprecated" | "proposed" | "accepted" | "active" | "implemented" | "adopted" | "defined" | "introduced" | "in_progress" | "complete" | "consolidated" | "experimental" | "retired" | "superseded" | "abandoned" | "deferred";
|
|
383
|
-
}>;
|
|
324
|
+
status: z.ZodOptional<z.ZodNever>;
|
|
384
325
|
lifecycle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>>;
|
|
385
326
|
context: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
|
|
386
327
|
is(value: unknown): value is string | string[];
|
|
@@ -435,8 +376,6 @@ export declare const updateMetadataOp: import("./define-operation.js").DefinedOp
|
|
|
435
376
|
}>>;
|
|
436
377
|
propagation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
437
378
|
includes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
438
|
-
input: z.ZodOptional<z.ZodString>;
|
|
439
|
-
output: z.ZodOptional<z.ZodString>;
|
|
440
379
|
external_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
441
380
|
role: z.ZodEnum<{
|
|
442
381
|
output: "output";
|
|
@@ -480,27 +419,14 @@ export declare const updateMetadataOp: import("./define-operation.js").DefinedOp
|
|
|
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" | "
|
|
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 updateMetadataOp: import("./define-operation.js").DefinedOp
|
|
|
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" | "
|
|
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 updateMetadataOp: import("./define-operation.js").DefinedOp
|
|
|
559
485
|
nodes: {
|
|
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" | "
|
|
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?:
|
|
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 updateMetadataOp: import("./define-operation.js").DefinedOp
|
|
|
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 updateMetadataOp: import("./define-operation.js").DefinedOp
|
|
|
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" | "
|
|
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;
|