sysprom 1.15.0 → 1.16.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 +18 -1
- package/dist/src/cli/commands/infer.js +31 -2
- package/dist/src/endpoint-types.js +23 -0
- package/dist/src/index.d.ts +2 -2
- package/dist/src/index.js +2 -2
- package/dist/src/mcp/server.js +42 -4
- package/dist/src/operations/add-node.d.ts +51 -9
- package/dist/src/operations/add-plan-task.d.ts +34 -6
- package/dist/src/operations/add-relationship.d.ts +48 -8
- package/dist/src/operations/check.d.ts +17 -3
- package/dist/src/operations/graph.d.ts +17 -3
- package/dist/src/operations/index.d.ts +1 -1
- package/dist/src/operations/index.js +1 -1
- package/dist/src/operations/infer-completeness.d.ts +17 -3
- package/dist/src/operations/infer-derived.d.ts +17 -3
- package/dist/src/operations/infer-impact.d.ts +1066 -13
- package/dist/src/operations/infer-impact.js +157 -39
- package/dist/src/operations/infer-lifecycle.d.ts +17 -3
- package/dist/src/operations/init-document.d.ts +17 -3
- package/dist/src/operations/json-to-markdown.d.ts +17 -3
- package/dist/src/operations/mark-task-done.d.ts +34 -6
- package/dist/src/operations/mark-task-undone.d.ts +34 -6
- package/dist/src/operations/markdown-to-json.d.ts +17 -3
- package/dist/src/operations/next-id.d.ts +17 -3
- package/dist/src/operations/node-history.d.ts +17 -3
- package/dist/src/operations/plan-add-task.d.ts +34 -6
- package/dist/src/operations/plan-gate.d.ts +17 -3
- package/dist/src/operations/plan-init.d.ts +17 -3
- package/dist/src/operations/plan-progress.d.ts +17 -3
- package/dist/src/operations/plan-status.d.ts +17 -3
- package/dist/src/operations/query-node.d.ts +107 -17
- package/dist/src/operations/query-nodes.d.ts +34 -6
- package/dist/src/operations/query-relationships.d.ts +31 -5
- package/dist/src/operations/remove-node.d.ts +51 -9
- package/dist/src/operations/remove-relationship.d.ts +36 -7
- package/dist/src/operations/rename.d.ts +34 -6
- package/dist/src/operations/search.d.ts +34 -6
- package/dist/src/operations/speckit-diff.d.ts +17 -3
- package/dist/src/operations/speckit-export.d.ts +17 -3
- package/dist/src/operations/speckit-import.d.ts +17 -3
- package/dist/src/operations/speckit-sync.d.ts +51 -9
- package/dist/src/operations/state-at.d.ts +17 -3
- package/dist/src/operations/stats.d.ts +17 -3
- package/dist/src/operations/sync.d.ts +51 -9
- package/dist/src/operations/task-list.d.ts +17 -3
- package/dist/src/operations/timeline.d.ts +17 -3
- package/dist/src/operations/trace-from-node.d.ts +51 -9
- package/dist/src/operations/update-metadata.d.ts +34 -6
- package/dist/src/operations/update-node.d.ts +48 -8
- package/dist/src/operations/update-plan-task.d.ts +34 -6
- package/dist/src/operations/validate.d.ts +17 -3
- package/dist/src/schema.d.ts +70 -10
- package/dist/src/schema.js +21 -0
- package/package.json +1 -1
- package/schema.json +18 -1
|
@@ -188,19 +188,31 @@ export declare const checkOp: import("./define-operation.js").DefinedOperation<z
|
|
|
188
188
|
selects: "selects";
|
|
189
189
|
requires: "requires";
|
|
190
190
|
disables: "disables";
|
|
191
|
+
influence: "influence";
|
|
191
192
|
}> & {
|
|
192
|
-
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" | "governed_by" | "modifies" | "triggered_by" | "applies_to" | "produces" | "consumes" | "transforms_into" | "selects" | "requires" | "disables";
|
|
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" | "governed_by" | "modifies" | "triggered_by" | "applies_to" | "produces" | "consumes" | "transforms_into" | "selects" | "requires" | "disables" | "influence";
|
|
193
194
|
};
|
|
194
195
|
description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
|
|
195
196
|
is(value: unknown): value is string | string[];
|
|
196
197
|
}>;
|
|
198
|
+
polarity: z.ZodOptional<z.ZodEnum<{
|
|
199
|
+
positive: "positive";
|
|
200
|
+
negative: "negative";
|
|
201
|
+
neutral: "neutral";
|
|
202
|
+
uncertain: "uncertain";
|
|
203
|
+
}> & {
|
|
204
|
+
is(value: unknown): value is "positive" | "negative" | "neutral" | "uncertain";
|
|
205
|
+
}>;
|
|
206
|
+
strength: z.ZodOptional<z.ZodNumber>;
|
|
197
207
|
}, z.core.$loose> & {
|
|
198
208
|
is(value: unknown): value is {
|
|
199
209
|
[x: string]: unknown;
|
|
200
210
|
from: string;
|
|
201
211
|
to: string;
|
|
202
|
-
type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "performs" | "part_of" | "precedes" | "must_follow" | "blocks" | "routes_to" | "governed_by" | "modifies" | "triggered_by" | "applies_to" | "produces" | "consumes" | "transforms_into" | "selects" | "requires" | "disables";
|
|
212
|
+
type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "performs" | "part_of" | "precedes" | "must_follow" | "blocks" | "routes_to" | "governed_by" | "modifies" | "triggered_by" | "applies_to" | "produces" | "consumes" | "transforms_into" | "selects" | "requires" | "disables" | "influence";
|
|
203
213
|
description?: string | string[] | undefined;
|
|
214
|
+
polarity?: "positive" | "negative" | "neutral" | "uncertain" | undefined;
|
|
215
|
+
strength?: number | undefined;
|
|
204
216
|
};
|
|
205
217
|
}>>;
|
|
206
218
|
external_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -288,8 +300,10 @@ export declare const checkOp: import("./define-operation.js").DefinedOperation<z
|
|
|
288
300
|
[x: string]: unknown;
|
|
289
301
|
from: string;
|
|
290
302
|
to: string;
|
|
291
|
-
type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "performs" | "part_of" | "precedes" | "must_follow" | "blocks" | "routes_to" | "governed_by" | "modifies" | "triggered_by" | "applies_to" | "produces" | "consumes" | "transforms_into" | "selects" | "requires" | "disables";
|
|
303
|
+
type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "performs" | "part_of" | "precedes" | "must_follow" | "blocks" | "routes_to" | "governed_by" | "modifies" | "triggered_by" | "applies_to" | "produces" | "consumes" | "transforms_into" | "selects" | "requires" | "disables" | "influence";
|
|
292
304
|
description?: string | string[] | undefined;
|
|
305
|
+
polarity?: "positive" | "negative" | "neutral" | "uncertain" | undefined;
|
|
306
|
+
strength?: number | undefined;
|
|
293
307
|
}[] | undefined;
|
|
294
308
|
external_references?: {
|
|
295
309
|
role: "output" | "input" | "context" | "evidence" | "source" | "standard" | "prior_art";
|
|
@@ -184,19 +184,31 @@ export declare const graphOp: import("./define-operation.js").DefinedOperation<z
|
|
|
184
184
|
selects: "selects";
|
|
185
185
|
requires: "requires";
|
|
186
186
|
disables: "disables";
|
|
187
|
+
influence: "influence";
|
|
187
188
|
}> & {
|
|
188
|
-
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" | "governed_by" | "modifies" | "triggered_by" | "applies_to" | "produces" | "consumes" | "transforms_into" | "selects" | "requires" | "disables";
|
|
189
|
+
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" | "governed_by" | "modifies" | "triggered_by" | "applies_to" | "produces" | "consumes" | "transforms_into" | "selects" | "requires" | "disables" | "influence";
|
|
189
190
|
};
|
|
190
191
|
description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
|
|
191
192
|
is(value: unknown): value is string | string[];
|
|
192
193
|
}>;
|
|
194
|
+
polarity: z.ZodOptional<z.ZodEnum<{
|
|
195
|
+
positive: "positive";
|
|
196
|
+
negative: "negative";
|
|
197
|
+
neutral: "neutral";
|
|
198
|
+
uncertain: "uncertain";
|
|
199
|
+
}> & {
|
|
200
|
+
is(value: unknown): value is "positive" | "negative" | "neutral" | "uncertain";
|
|
201
|
+
}>;
|
|
202
|
+
strength: z.ZodOptional<z.ZodNumber>;
|
|
193
203
|
}, z.core.$loose> & {
|
|
194
204
|
is(value: unknown): value is {
|
|
195
205
|
[x: string]: unknown;
|
|
196
206
|
from: string;
|
|
197
207
|
to: string;
|
|
198
|
-
type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "performs" | "part_of" | "precedes" | "must_follow" | "blocks" | "routes_to" | "governed_by" | "modifies" | "triggered_by" | "applies_to" | "produces" | "consumes" | "transforms_into" | "selects" | "requires" | "disables";
|
|
208
|
+
type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "performs" | "part_of" | "precedes" | "must_follow" | "blocks" | "routes_to" | "governed_by" | "modifies" | "triggered_by" | "applies_to" | "produces" | "consumes" | "transforms_into" | "selects" | "requires" | "disables" | "influence";
|
|
199
209
|
description?: string | string[] | undefined;
|
|
210
|
+
polarity?: "positive" | "negative" | "neutral" | "uncertain" | undefined;
|
|
211
|
+
strength?: number | undefined;
|
|
200
212
|
};
|
|
201
213
|
}>>;
|
|
202
214
|
external_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -284,8 +296,10 @@ export declare const graphOp: import("./define-operation.js").DefinedOperation<z
|
|
|
284
296
|
[x: string]: unknown;
|
|
285
297
|
from: string;
|
|
286
298
|
to: string;
|
|
287
|
-
type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "performs" | "part_of" | "precedes" | "must_follow" | "blocks" | "routes_to" | "governed_by" | "modifies" | "triggered_by" | "applies_to" | "produces" | "consumes" | "transforms_into" | "selects" | "requires" | "disables";
|
|
299
|
+
type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "performs" | "part_of" | "precedes" | "must_follow" | "blocks" | "routes_to" | "governed_by" | "modifies" | "triggered_by" | "applies_to" | "produces" | "consumes" | "transforms_into" | "selects" | "requires" | "disables" | "influence";
|
|
288
300
|
description?: string | string[] | undefined;
|
|
301
|
+
polarity?: "positive" | "negative" | "neutral" | "uncertain" | undefined;
|
|
302
|
+
strength?: number | undefined;
|
|
289
303
|
}[] | undefined;
|
|
290
304
|
external_references?: {
|
|
291
305
|
role: "output" | "input" | "context" | "evidence" | "source" | "standard" | "prior_art";
|
|
@@ -39,5 +39,5 @@ export { speckitSyncOp, type SyncResult } from "./speckit-sync.js";
|
|
|
39
39
|
export { speckitDiffOp, type DiffResult } from "./speckit-diff.js";
|
|
40
40
|
export { inferCompletenessOp, type CompletenessResult, type CompletenessOutput, } from "./infer-completeness.js";
|
|
41
41
|
export { inferLifecycleOp, type LifecycleResult, type LifecycleOutput, } from "./infer-lifecycle.js";
|
|
42
|
-
export { inferImpactOp, type ImpactNode, type ImpactOutput, } from "./infer-impact.js";
|
|
42
|
+
export { inferImpactOp, impactSummaryOp, type ImpactNode, type ImpactOutput, type ImpactSummaryOutput, } from "./infer-impact.js";
|
|
43
43
|
export { inferDerivedOp, type DerivedRelationship, type DerivedOutput, } from "./infer-derived.js";
|
|
@@ -48,5 +48,5 @@ export { speckitDiffOp } from "./speckit-diff.js";
|
|
|
48
48
|
// Inference operations
|
|
49
49
|
export { inferCompletenessOp, } from "./infer-completeness.js";
|
|
50
50
|
export { inferLifecycleOp, } from "./infer-lifecycle.js";
|
|
51
|
-
export { inferImpactOp, } from "./infer-impact.js";
|
|
51
|
+
export { inferImpactOp, impactSummaryOp, } from "./infer-impact.js";
|
|
52
52
|
export { inferDerivedOp, } from "./infer-derived.js";
|
|
@@ -264,19 +264,31 @@ export declare const inferCompletenessOp: import("./define-operation.js").Define
|
|
|
264
264
|
selects: "selects";
|
|
265
265
|
requires: "requires";
|
|
266
266
|
disables: "disables";
|
|
267
|
+
influence: "influence";
|
|
267
268
|
}> & {
|
|
268
|
-
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" | "governed_by" | "modifies" | "triggered_by" | "applies_to" | "produces" | "consumes" | "transforms_into" | "selects" | "requires" | "disables";
|
|
269
|
+
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" | "governed_by" | "modifies" | "triggered_by" | "applies_to" | "produces" | "consumes" | "transforms_into" | "selects" | "requires" | "disables" | "influence";
|
|
269
270
|
};
|
|
270
271
|
description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
|
|
271
272
|
is(value: unknown): value is string | string[];
|
|
272
273
|
}>;
|
|
274
|
+
polarity: z.ZodOptional<z.ZodEnum<{
|
|
275
|
+
positive: "positive";
|
|
276
|
+
negative: "negative";
|
|
277
|
+
neutral: "neutral";
|
|
278
|
+
uncertain: "uncertain";
|
|
279
|
+
}> & {
|
|
280
|
+
is(value: unknown): value is "positive" | "negative" | "neutral" | "uncertain";
|
|
281
|
+
}>;
|
|
282
|
+
strength: z.ZodOptional<z.ZodNumber>;
|
|
273
283
|
}, z.core.$loose> & {
|
|
274
284
|
is(value: unknown): value is {
|
|
275
285
|
[x: string]: unknown;
|
|
276
286
|
from: string;
|
|
277
287
|
to: string;
|
|
278
|
-
type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "performs" | "part_of" | "precedes" | "must_follow" | "blocks" | "routes_to" | "governed_by" | "modifies" | "triggered_by" | "applies_to" | "produces" | "consumes" | "transforms_into" | "selects" | "requires" | "disables";
|
|
288
|
+
type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "performs" | "part_of" | "precedes" | "must_follow" | "blocks" | "routes_to" | "governed_by" | "modifies" | "triggered_by" | "applies_to" | "produces" | "consumes" | "transforms_into" | "selects" | "requires" | "disables" | "influence";
|
|
279
289
|
description?: string | string[] | undefined;
|
|
290
|
+
polarity?: "positive" | "negative" | "neutral" | "uncertain" | undefined;
|
|
291
|
+
strength?: number | undefined;
|
|
280
292
|
};
|
|
281
293
|
}>>;
|
|
282
294
|
external_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -364,8 +376,10 @@ export declare const inferCompletenessOp: import("./define-operation.js").Define
|
|
|
364
376
|
[x: string]: unknown;
|
|
365
377
|
from: string;
|
|
366
378
|
to: string;
|
|
367
|
-
type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "performs" | "part_of" | "precedes" | "must_follow" | "blocks" | "routes_to" | "governed_by" | "modifies" | "triggered_by" | "applies_to" | "produces" | "consumes" | "transforms_into" | "selects" | "requires" | "disables";
|
|
379
|
+
type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "performs" | "part_of" | "precedes" | "must_follow" | "blocks" | "routes_to" | "governed_by" | "modifies" | "triggered_by" | "applies_to" | "produces" | "consumes" | "transforms_into" | "selects" | "requires" | "disables" | "influence";
|
|
368
380
|
description?: string | string[] | undefined;
|
|
381
|
+
polarity?: "positive" | "negative" | "neutral" | "uncertain" | undefined;
|
|
382
|
+
strength?: number | undefined;
|
|
369
383
|
}[] | undefined;
|
|
370
384
|
external_references?: {
|
|
371
385
|
role: "output" | "input" | "context" | "evidence" | "source" | "standard" | "prior_art";
|
|
@@ -237,19 +237,31 @@ export declare const inferDerivedOp: import("./define-operation.js").DefinedOper
|
|
|
237
237
|
selects: "selects";
|
|
238
238
|
requires: "requires";
|
|
239
239
|
disables: "disables";
|
|
240
|
+
influence: "influence";
|
|
240
241
|
}> & {
|
|
241
|
-
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" | "governed_by" | "modifies" | "triggered_by" | "applies_to" | "produces" | "consumes" | "transforms_into" | "selects" | "requires" | "disables";
|
|
242
|
+
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" | "governed_by" | "modifies" | "triggered_by" | "applies_to" | "produces" | "consumes" | "transforms_into" | "selects" | "requires" | "disables" | "influence";
|
|
242
243
|
};
|
|
243
244
|
description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
|
|
244
245
|
is(value: unknown): value is string | string[];
|
|
245
246
|
}>;
|
|
247
|
+
polarity: z.ZodOptional<z.ZodEnum<{
|
|
248
|
+
positive: "positive";
|
|
249
|
+
negative: "negative";
|
|
250
|
+
neutral: "neutral";
|
|
251
|
+
uncertain: "uncertain";
|
|
252
|
+
}> & {
|
|
253
|
+
is(value: unknown): value is "positive" | "negative" | "neutral" | "uncertain";
|
|
254
|
+
}>;
|
|
255
|
+
strength: z.ZodOptional<z.ZodNumber>;
|
|
246
256
|
}, z.core.$loose> & {
|
|
247
257
|
is(value: unknown): value is {
|
|
248
258
|
[x: string]: unknown;
|
|
249
259
|
from: string;
|
|
250
260
|
to: string;
|
|
251
|
-
type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "performs" | "part_of" | "precedes" | "must_follow" | "blocks" | "routes_to" | "governed_by" | "modifies" | "triggered_by" | "applies_to" | "produces" | "consumes" | "transforms_into" | "selects" | "requires" | "disables";
|
|
261
|
+
type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "performs" | "part_of" | "precedes" | "must_follow" | "blocks" | "routes_to" | "governed_by" | "modifies" | "triggered_by" | "applies_to" | "produces" | "consumes" | "transforms_into" | "selects" | "requires" | "disables" | "influence";
|
|
252
262
|
description?: string | string[] | undefined;
|
|
263
|
+
polarity?: "positive" | "negative" | "neutral" | "uncertain" | undefined;
|
|
264
|
+
strength?: number | undefined;
|
|
253
265
|
};
|
|
254
266
|
}>>;
|
|
255
267
|
external_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -337,8 +349,10 @@ export declare const inferDerivedOp: import("./define-operation.js").DefinedOper
|
|
|
337
349
|
[x: string]: unknown;
|
|
338
350
|
from: string;
|
|
339
351
|
to: string;
|
|
340
|
-
type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "performs" | "part_of" | "precedes" | "must_follow" | "blocks" | "routes_to" | "governed_by" | "modifies" | "triggered_by" | "applies_to" | "produces" | "consumes" | "transforms_into" | "selects" | "requires" | "disables";
|
|
352
|
+
type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "performs" | "part_of" | "precedes" | "must_follow" | "blocks" | "routes_to" | "governed_by" | "modifies" | "triggered_by" | "applies_to" | "produces" | "consumes" | "transforms_into" | "selects" | "requires" | "disables" | "influence";
|
|
341
353
|
description?: string | string[] | undefined;
|
|
354
|
+
polarity?: "positive" | "negative" | "neutral" | "uncertain" | undefined;
|
|
355
|
+
strength?: number | undefined;
|
|
342
356
|
}[] | undefined;
|
|
343
357
|
external_references?: {
|
|
344
358
|
role: "output" | "input" | "context" | "evidence" | "source" | "standard" | "prior_art";
|