sysprom 1.21.1 → 1.22.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 +0 -31
- package/dist/src/cli/commands/plan.js +54 -3
- package/dist/src/cli/commands/speckit.js +0 -1
- package/dist/src/cli/program.js +0 -2
- package/dist/src/index.d.ts +2 -2
- package/dist/src/index.js +2 -2
- package/dist/src/json-to-md.js +0 -8
- package/dist/src/mcp/server.js +0 -1
- package/dist/src/md-to-json.js +0 -10
- package/dist/src/operations/add-node.d.ts +0 -51
- package/dist/src/operations/add-relationship.d.ts +0 -34
- package/dist/src/operations/check.d.ts +0 -17
- package/dist/src/operations/graph-decision.d.ts +0 -17
- package/dist/src/operations/graph-dependency.d.ts +0 -17
- package/dist/src/operations/graph-refinement.d.ts +0 -17
- package/dist/src/operations/graph.d.ts +0 -17
- package/dist/src/operations/index.d.ts +3 -5
- package/dist/src/operations/index.js +3 -5
- package/dist/src/operations/infer-completeness.d.ts +0 -17
- package/dist/src/operations/infer-completeness.js +0 -4
- package/dist/src/operations/infer-derived.d.ts +0 -17
- package/dist/src/operations/infer-impact.d.ts +0 -119
- package/dist/src/operations/infer-lifecycle.d.ts +0 -17
- package/dist/src/operations/init-document.d.ts +0 -17
- package/dist/src/operations/json-to-markdown.d.ts +0 -17
- package/dist/src/operations/markdown-to-json.d.ts +0 -17
- package/dist/src/operations/next-id.d.ts +0 -17
- package/dist/src/operations/node-history.d.ts +0 -17
- package/dist/src/operations/plan-add-task.d.ts +0 -34
- package/dist/src/operations/{mark-task-done.d.ts → plan-complete-task.d.ts} +4 -41
- package/dist/src/operations/plan-complete-task.js +18 -0
- package/dist/src/operations/plan-gate.d.ts +0 -17
- package/dist/src/operations/plan-init.d.ts +0 -17
- package/dist/src/operations/plan-progress.d.ts +18 -17
- package/dist/src/operations/plan-progress.js +6 -0
- package/dist/src/operations/{mark-task-undone.d.ts → plan-reopen-task.d.ts} +4 -41
- package/dist/src/operations/plan-reopen-task.js +18 -0
- package/dist/src/operations/{add-plan-task.d.ts → plan-start-task.d.ts} +4 -41
- package/dist/src/operations/plan-start-task.js +18 -0
- package/dist/src/operations/plan-status.d.ts +22 -17
- package/dist/src/operations/plan-status.js +8 -0
- package/dist/src/operations/query-node.d.ts +0 -51
- package/dist/src/operations/query-nodes.d.ts +0 -34
- package/dist/src/operations/query-relationships.d.ts +0 -17
- package/dist/src/operations/remove-node.d.ts +0 -51
- package/dist/src/operations/remove-relationship.d.ts +0 -34
- package/dist/src/operations/rename.d.ts +0 -34
- package/dist/src/operations/search.d.ts +0 -34
- package/dist/src/operations/speckit-diff.d.ts +0 -17
- package/dist/src/operations/speckit-export.d.ts +0 -17
- package/dist/src/operations/speckit-import.d.ts +0 -17
- package/dist/src/operations/speckit-sync.d.ts +0 -51
- package/dist/src/operations/speckit-sync.js +0 -1
- package/dist/src/operations/state-at.d.ts +0 -17
- package/dist/src/operations/stats.d.ts +0 -17
- package/dist/src/operations/sync.d.ts +0 -51
- package/dist/src/operations/timeline.d.ts +0 -17
- package/dist/src/operations/trace-from-node.d.ts +0 -51
- package/dist/src/operations/update-metadata.d.ts +0 -34
- package/dist/src/operations/update-node.d.ts +0 -58
- package/dist/src/operations/validate.d.ts +0 -17
- package/dist/src/operations/validate.js +71 -0
- package/dist/src/schema.d.ts +0 -61
- package/dist/src/schema.js +0 -11
- package/dist/src/speckit/generate.js +17 -20
- package/dist/src/speckit/index.d.ts +1 -1
- package/dist/src/speckit/index.js +1 -1
- package/dist/src/speckit/parse.d.ts +1 -1
- package/dist/src/speckit/parse.js +20 -14
- package/dist/src/speckit/plan.d.ts +29 -7
- package/dist/src/speckit/plan.js +181 -47
- package/package.json +3 -3
- package/schema.json +0 -31
- package/dist/src/cli/commands/task.d.ts +0 -2
- package/dist/src/cli/commands/task.js +0 -157
- package/dist/src/operations/add-plan-task.js +0 -29
- package/dist/src/operations/mark-task-done.js +0 -30
- package/dist/src/operations/mark-task-undone.js +0 -30
- package/dist/src/operations/task-list.d.ts +0 -288
- package/dist/src/operations/task-list.js +0 -49
- package/dist/src/operations/update-plan-task.d.ts +0 -555
- package/dist/src/operations/update-plan-task.js +0 -35
|
@@ -1,10 +1,19 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
export declare const PhaseProgressSchema: z.ZodObject<{
|
|
3
3
|
phase: z.ZodNumber;
|
|
4
|
+
id: z.ZodString;
|
|
4
5
|
name: z.ZodString;
|
|
5
6
|
done: z.ZodNumber;
|
|
6
7
|
total: z.ZodNumber;
|
|
7
8
|
percent: z.ZodNumber;
|
|
9
|
+
blocked: z.ZodBoolean;
|
|
10
|
+
blockageReasons: z.ZodArray<z.ZodObject<{
|
|
11
|
+
kind: z.ZodEnum<{
|
|
12
|
+
dependency_unmet: "dependency_unmet";
|
|
13
|
+
gate_not_ready: "gate_not_ready";
|
|
14
|
+
}>;
|
|
15
|
+
nodeId: z.ZodString;
|
|
16
|
+
}, z.core.$strip>>;
|
|
8
17
|
}, z.core.$strip>;
|
|
9
18
|
/** Per-phase progress metrics: task counts and completion percentage. */
|
|
10
19
|
export type PhaseProgressResult = z.infer<typeof PhaseProgressSchema>;
|
|
@@ -97,18 +106,6 @@ export declare const planProgressOp: import("./define-operation.js").DefinedOper
|
|
|
97
106
|
description?: string | string[] | undefined;
|
|
98
107
|
};
|
|
99
108
|
}>>;
|
|
100
|
-
plan: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
101
|
-
description: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
|
|
102
|
-
is(value: unknown): value is string | string[];
|
|
103
|
-
};
|
|
104
|
-
done: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
105
|
-
}, z.core.$loose> & {
|
|
106
|
-
is(value: unknown): value is {
|
|
107
|
-
[x: string]: unknown;
|
|
108
|
-
description: string | string[];
|
|
109
|
-
done?: boolean | undefined;
|
|
110
|
-
};
|
|
111
|
-
}>>;
|
|
112
109
|
propagation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
113
110
|
includes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
114
111
|
external_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -240,11 +237,6 @@ export declare const planProgressOp: import("./define-operation.js").DefinedOper
|
|
|
240
237
|
target?: string | undefined;
|
|
241
238
|
description?: string | string[] | undefined;
|
|
242
239
|
}[] | undefined;
|
|
243
|
-
plan?: {
|
|
244
|
-
[x: string]: unknown;
|
|
245
|
-
description: string | string[];
|
|
246
|
-
done?: boolean | undefined;
|
|
247
|
-
}[] | undefined;
|
|
248
240
|
propagation?: Record<string, boolean> | undefined;
|
|
249
241
|
includes?: string[] | undefined;
|
|
250
242
|
external_references?: {
|
|
@@ -286,8 +278,17 @@ export declare const planProgressOp: import("./define-operation.js").DefinedOper
|
|
|
286
278
|
prefix: z.ZodString;
|
|
287
279
|
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
288
280
|
phase: z.ZodNumber;
|
|
281
|
+
id: z.ZodString;
|
|
289
282
|
name: z.ZodString;
|
|
290
283
|
done: z.ZodNumber;
|
|
291
284
|
total: z.ZodNumber;
|
|
292
285
|
percent: z.ZodNumber;
|
|
286
|
+
blocked: z.ZodBoolean;
|
|
287
|
+
blockageReasons: z.ZodArray<z.ZodObject<{
|
|
288
|
+
kind: z.ZodEnum<{
|
|
289
|
+
dependency_unmet: "dependency_unmet";
|
|
290
|
+
gate_not_ready: "gate_not_ready";
|
|
291
|
+
}>;
|
|
292
|
+
nodeId: z.ZodString;
|
|
293
|
+
}, z.core.$strip>>;
|
|
293
294
|
}, z.core.$strip>>>;
|
|
@@ -4,10 +4,16 @@ import { SysProMDocument } from "../schema.js";
|
|
|
4
4
|
import { planProgress } from "../speckit/plan.js";
|
|
5
5
|
export const PhaseProgressSchema = z.object({
|
|
6
6
|
phase: z.number(),
|
|
7
|
+
id: z.string(),
|
|
7
8
|
name: z.string(),
|
|
8
9
|
done: z.number(),
|
|
9
10
|
total: z.number(),
|
|
10
11
|
percent: z.number(),
|
|
12
|
+
blocked: z.boolean(),
|
|
13
|
+
blockageReasons: z.array(z.object({
|
|
14
|
+
kind: z.enum(["dependency_unmet", "gate_not_ready"]),
|
|
15
|
+
nodeId: z.string(),
|
|
16
|
+
})),
|
|
11
17
|
});
|
|
12
18
|
/** Compute per-phase progress breakdown for a plan — task completion counts and percentages for each phase. */
|
|
13
19
|
export const planProgressOp = defineOperation({
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
|
-
/**
|
|
3
|
-
|
|
4
|
-
* @throws {Error} If the change node is not found or the task index is out of range.
|
|
5
|
-
*/
|
|
6
|
-
export declare const markTaskUndoneOp: import("./define-operation.js").DefinedOperation<z.ZodObject<{
|
|
2
|
+
/** Reopen a completed plan task by clearing lifecycle complete and marking in_progress. */
|
|
3
|
+
export declare const planReopenTaskOp: import("./define-operation.js").DefinedOperation<z.ZodObject<{
|
|
7
4
|
doc: z.ZodObject<{
|
|
8
5
|
$schema: z.ZodOptional<z.ZodString>;
|
|
9
6
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
@@ -91,18 +88,6 @@ export declare const markTaskUndoneOp: import("./define-operation.js").DefinedOp
|
|
|
91
88
|
description?: string | string[] | undefined;
|
|
92
89
|
};
|
|
93
90
|
}>>;
|
|
94
|
-
plan: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
95
|
-
description: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
|
|
96
|
-
is(value: unknown): value is string | string[];
|
|
97
|
-
};
|
|
98
|
-
done: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
99
|
-
}, z.core.$loose> & {
|
|
100
|
-
is(value: unknown): value is {
|
|
101
|
-
[x: string]: unknown;
|
|
102
|
-
description: string | string[];
|
|
103
|
-
done?: boolean | undefined;
|
|
104
|
-
};
|
|
105
|
-
}>>;
|
|
106
91
|
propagation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
107
92
|
includes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
108
93
|
external_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -234,11 +219,6 @@ export declare const markTaskUndoneOp: import("./define-operation.js").DefinedOp
|
|
|
234
219
|
target?: string | undefined;
|
|
235
220
|
description?: string | string[] | undefined;
|
|
236
221
|
}[] | undefined;
|
|
237
|
-
plan?: {
|
|
238
|
-
[x: string]: unknown;
|
|
239
|
-
description: string | string[];
|
|
240
|
-
done?: boolean | undefined;
|
|
241
|
-
}[] | undefined;
|
|
242
222
|
propagation?: Record<string, boolean> | undefined;
|
|
243
223
|
includes?: string[] | undefined;
|
|
244
224
|
external_references?: {
|
|
@@ -277,8 +257,8 @@ export declare const markTaskUndoneOp: import("./define-operation.js").DefinedOp
|
|
|
277
257
|
}[] | undefined;
|
|
278
258
|
};
|
|
279
259
|
};
|
|
280
|
-
|
|
281
|
-
|
|
260
|
+
prefix: z.ZodString;
|
|
261
|
+
taskId: z.ZodString;
|
|
282
262
|
}, z.core.$strip>, z.ZodObject<{
|
|
283
263
|
$schema: z.ZodOptional<z.ZodString>;
|
|
284
264
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
@@ -366,18 +346,6 @@ export declare const markTaskUndoneOp: import("./define-operation.js").DefinedOp
|
|
|
366
346
|
description?: string | string[] | undefined;
|
|
367
347
|
};
|
|
368
348
|
}>>;
|
|
369
|
-
plan: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
370
|
-
description: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
|
|
371
|
-
is(value: unknown): value is string | string[];
|
|
372
|
-
};
|
|
373
|
-
done: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
374
|
-
}, z.core.$loose> & {
|
|
375
|
-
is(value: unknown): value is {
|
|
376
|
-
[x: string]: unknown;
|
|
377
|
-
description: string | string[];
|
|
378
|
-
done?: boolean | undefined;
|
|
379
|
-
};
|
|
380
|
-
}>>;
|
|
381
349
|
propagation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
382
350
|
includes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
383
351
|
external_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -509,11 +477,6 @@ export declare const markTaskUndoneOp: import("./define-operation.js").DefinedOp
|
|
|
509
477
|
target?: string | undefined;
|
|
510
478
|
description?: string | string[] | undefined;
|
|
511
479
|
}[] | undefined;
|
|
512
|
-
plan?: {
|
|
513
|
-
[x: string]: unknown;
|
|
514
|
-
description: string | string[];
|
|
515
|
-
done?: boolean | undefined;
|
|
516
|
-
}[] | undefined;
|
|
517
480
|
propagation?: Record<string, boolean> | undefined;
|
|
518
481
|
includes?: string[] | undefined;
|
|
519
482
|
external_references?: {
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { defineOperation } from "./define-operation.js";
|
|
3
|
+
import { SysProMDocument } from "../schema.js";
|
|
4
|
+
import { setTaskLifecycle } from "../speckit/plan.js";
|
|
5
|
+
/** Reopen a completed plan task by clearing lifecycle complete and marking in_progress. */
|
|
6
|
+
export const planReopenTaskOp = defineOperation({
|
|
7
|
+
name: "planReopenTask",
|
|
8
|
+
description: "Reopen a plan task",
|
|
9
|
+
input: z.object({
|
|
10
|
+
doc: SysProMDocument,
|
|
11
|
+
prefix: z.string().describe("Plan prefix"),
|
|
12
|
+
taskId: z.string().describe("Task change node ID"),
|
|
13
|
+
}),
|
|
14
|
+
output: SysProMDocument,
|
|
15
|
+
fn({ doc, prefix, taskId }) {
|
|
16
|
+
return setTaskLifecycle(doc, prefix, taskId, "reopen");
|
|
17
|
+
},
|
|
18
|
+
});
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
|
-
/**
|
|
3
|
-
|
|
4
|
-
* @throws {Error} If the change node is not found.
|
|
5
|
-
*/
|
|
6
|
-
export declare const addPlanTaskOp: import("./define-operation.js").DefinedOperation<z.ZodObject<{
|
|
2
|
+
/** Mark a plan task as started by setting lifecycle introduced/in_progress. */
|
|
3
|
+
export declare const planStartTaskOp: import("./define-operation.js").DefinedOperation<z.ZodObject<{
|
|
7
4
|
doc: z.ZodObject<{
|
|
8
5
|
$schema: z.ZodOptional<z.ZodString>;
|
|
9
6
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
@@ -91,18 +88,6 @@ export declare const addPlanTaskOp: import("./define-operation.js").DefinedOpera
|
|
|
91
88
|
description?: string | string[] | undefined;
|
|
92
89
|
};
|
|
93
90
|
}>>;
|
|
94
|
-
plan: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
95
|
-
description: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
|
|
96
|
-
is(value: unknown): value is string | string[];
|
|
97
|
-
};
|
|
98
|
-
done: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
99
|
-
}, z.core.$loose> & {
|
|
100
|
-
is(value: unknown): value is {
|
|
101
|
-
[x: string]: unknown;
|
|
102
|
-
description: string | string[];
|
|
103
|
-
done?: boolean | undefined;
|
|
104
|
-
};
|
|
105
|
-
}>>;
|
|
106
91
|
propagation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
107
92
|
includes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
108
93
|
external_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -234,11 +219,6 @@ export declare const addPlanTaskOp: import("./define-operation.js").DefinedOpera
|
|
|
234
219
|
target?: string | undefined;
|
|
235
220
|
description?: string | string[] | undefined;
|
|
236
221
|
}[] | undefined;
|
|
237
|
-
plan?: {
|
|
238
|
-
[x: string]: unknown;
|
|
239
|
-
description: string | string[];
|
|
240
|
-
done?: boolean | undefined;
|
|
241
|
-
}[] | undefined;
|
|
242
222
|
propagation?: Record<string, boolean> | undefined;
|
|
243
223
|
includes?: string[] | undefined;
|
|
244
224
|
external_references?: {
|
|
@@ -277,8 +257,8 @@ export declare const addPlanTaskOp: import("./define-operation.js").DefinedOpera
|
|
|
277
257
|
}[] | undefined;
|
|
278
258
|
};
|
|
279
259
|
};
|
|
280
|
-
|
|
281
|
-
|
|
260
|
+
prefix: z.ZodString;
|
|
261
|
+
taskId: z.ZodString;
|
|
282
262
|
}, z.core.$strip>, z.ZodObject<{
|
|
283
263
|
$schema: z.ZodOptional<z.ZodString>;
|
|
284
264
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
@@ -366,18 +346,6 @@ export declare const addPlanTaskOp: import("./define-operation.js").DefinedOpera
|
|
|
366
346
|
description?: string | string[] | undefined;
|
|
367
347
|
};
|
|
368
348
|
}>>;
|
|
369
|
-
plan: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
370
|
-
description: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
|
|
371
|
-
is(value: unknown): value is string | string[];
|
|
372
|
-
};
|
|
373
|
-
done: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
374
|
-
}, z.core.$loose> & {
|
|
375
|
-
is(value: unknown): value is {
|
|
376
|
-
[x: string]: unknown;
|
|
377
|
-
description: string | string[];
|
|
378
|
-
done?: boolean | undefined;
|
|
379
|
-
};
|
|
380
|
-
}>>;
|
|
381
349
|
propagation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
382
350
|
includes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
383
351
|
external_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -509,11 +477,6 @@ export declare const addPlanTaskOp: import("./define-operation.js").DefinedOpera
|
|
|
509
477
|
target?: string | undefined;
|
|
510
478
|
description?: string | string[] | undefined;
|
|
511
479
|
}[] | undefined;
|
|
512
|
-
plan?: {
|
|
513
|
-
[x: string]: unknown;
|
|
514
|
-
description: string | string[];
|
|
515
|
-
done?: boolean | undefined;
|
|
516
|
-
}[] | undefined;
|
|
517
480
|
propagation?: Record<string, boolean> | undefined;
|
|
518
481
|
includes?: string[] | undefined;
|
|
519
482
|
external_references?: {
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { defineOperation } from "./define-operation.js";
|
|
3
|
+
import { SysProMDocument } from "../schema.js";
|
|
4
|
+
import { setTaskLifecycle } from "../speckit/plan.js";
|
|
5
|
+
/** Mark a plan task as started by setting lifecycle introduced/in_progress. */
|
|
6
|
+
export const planStartTaskOp = defineOperation({
|
|
7
|
+
name: "planStartTask",
|
|
8
|
+
description: "Mark a plan task as started",
|
|
9
|
+
input: z.object({
|
|
10
|
+
doc: SysProMDocument,
|
|
11
|
+
prefix: z.string().describe("Plan prefix"),
|
|
12
|
+
taskId: z.string().describe("Task change node ID"),
|
|
13
|
+
}),
|
|
14
|
+
output: SysProMDocument,
|
|
15
|
+
fn({ doc, prefix, taskId }) {
|
|
16
|
+
return setTaskLifecycle(doc, prefix, taskId, "start");
|
|
17
|
+
},
|
|
18
|
+
});
|
|
@@ -16,6 +16,17 @@ export declare const PlanStatusSchema: z.ZodObject<{
|
|
|
16
16
|
tasks: z.ZodObject<{
|
|
17
17
|
total: z.ZodNumber;
|
|
18
18
|
done: z.ZodNumber;
|
|
19
|
+
blocked: z.ZodNumber;
|
|
20
|
+
blockedTasks: z.ZodArray<z.ZodObject<{
|
|
21
|
+
taskId: z.ZodString;
|
|
22
|
+
reasons: z.ZodArray<z.ZodObject<{
|
|
23
|
+
kind: z.ZodEnum<{
|
|
24
|
+
dependency_unmet: "dependency_unmet";
|
|
25
|
+
gate_not_ready: "gate_not_ready";
|
|
26
|
+
}>;
|
|
27
|
+
nodeId: z.ZodString;
|
|
28
|
+
}, z.core.$strip>>;
|
|
29
|
+
}, z.core.$strip>>;
|
|
19
30
|
}, z.core.$strip>;
|
|
20
31
|
checklist: z.ZodObject<{
|
|
21
32
|
defined: z.ZodBoolean;
|
|
@@ -115,18 +126,6 @@ export declare const planStatusOp: import("./define-operation.js").DefinedOperat
|
|
|
115
126
|
description?: string | string[] | undefined;
|
|
116
127
|
};
|
|
117
128
|
}>>;
|
|
118
|
-
plan: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
119
|
-
description: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
|
|
120
|
-
is(value: unknown): value is string | string[];
|
|
121
|
-
};
|
|
122
|
-
done: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
123
|
-
}, z.core.$loose> & {
|
|
124
|
-
is(value: unknown): value is {
|
|
125
|
-
[x: string]: unknown;
|
|
126
|
-
description: string | string[];
|
|
127
|
-
done?: boolean | undefined;
|
|
128
|
-
};
|
|
129
|
-
}>>;
|
|
130
129
|
propagation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
131
130
|
includes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
132
131
|
external_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -258,11 +257,6 @@ export declare const planStatusOp: import("./define-operation.js").DefinedOperat
|
|
|
258
257
|
target?: string | undefined;
|
|
259
258
|
description?: string | string[] | undefined;
|
|
260
259
|
}[] | undefined;
|
|
261
|
-
plan?: {
|
|
262
|
-
[x: string]: unknown;
|
|
263
|
-
description: string | string[];
|
|
264
|
-
done?: boolean | undefined;
|
|
265
|
-
}[] | undefined;
|
|
266
260
|
propagation?: Record<string, boolean> | undefined;
|
|
267
261
|
includes?: string[] | undefined;
|
|
268
262
|
external_references?: {
|
|
@@ -319,6 +313,17 @@ export declare const planStatusOp: import("./define-operation.js").DefinedOperat
|
|
|
319
313
|
tasks: z.ZodObject<{
|
|
320
314
|
total: z.ZodNumber;
|
|
321
315
|
done: z.ZodNumber;
|
|
316
|
+
blocked: z.ZodNumber;
|
|
317
|
+
blockedTasks: z.ZodArray<z.ZodObject<{
|
|
318
|
+
taskId: z.ZodString;
|
|
319
|
+
reasons: z.ZodArray<z.ZodObject<{
|
|
320
|
+
kind: z.ZodEnum<{
|
|
321
|
+
dependency_unmet: "dependency_unmet";
|
|
322
|
+
gate_not_ready: "gate_not_ready";
|
|
323
|
+
}>;
|
|
324
|
+
nodeId: z.ZodString;
|
|
325
|
+
}, z.core.$strip>>;
|
|
326
|
+
}, z.core.$strip>>;
|
|
322
327
|
}, z.core.$strip>;
|
|
323
328
|
checklist: z.ZodObject<{
|
|
324
329
|
defined: z.ZodBoolean;
|
|
@@ -19,6 +19,14 @@ export const PlanStatusSchema = z.object({
|
|
|
19
19
|
tasks: z.object({
|
|
20
20
|
total: z.number(),
|
|
21
21
|
done: z.number(),
|
|
22
|
+
blocked: z.number(),
|
|
23
|
+
blockedTasks: z.array(z.object({
|
|
24
|
+
taskId: z.string(),
|
|
25
|
+
reasons: z.array(z.object({
|
|
26
|
+
kind: z.enum(["dependency_unmet", "gate_not_ready"]),
|
|
27
|
+
nodeId: z.string(),
|
|
28
|
+
})),
|
|
29
|
+
})),
|
|
22
30
|
}),
|
|
23
31
|
checklist: z.object({
|
|
24
32
|
defined: z.boolean(),
|
|
@@ -70,18 +70,6 @@ export declare const NodeDetail: z.ZodNullable<z.ZodObject<{
|
|
|
70
70
|
description?: string | string[] | undefined;
|
|
71
71
|
};
|
|
72
72
|
}>>;
|
|
73
|
-
plan: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
74
|
-
description: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
|
|
75
|
-
is(value: unknown): value is string | string[];
|
|
76
|
-
};
|
|
77
|
-
done: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
78
|
-
}, z.core.$loose> & {
|
|
79
|
-
is(value: unknown): value is {
|
|
80
|
-
[x: string]: unknown;
|
|
81
|
-
description: string | string[];
|
|
82
|
-
done?: boolean | undefined;
|
|
83
|
-
};
|
|
84
|
-
}>>;
|
|
85
73
|
propagation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
86
74
|
includes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
87
75
|
external_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -230,11 +218,6 @@ export declare const NodeDetail: z.ZodNullable<z.ZodObject<{
|
|
|
230
218
|
target?: string | undefined;
|
|
231
219
|
description?: string | string[] | undefined;
|
|
232
220
|
}[] | undefined;
|
|
233
|
-
plan?: {
|
|
234
|
-
[x: string]: unknown;
|
|
235
|
-
description: string | string[];
|
|
236
|
-
done?: boolean | undefined;
|
|
237
|
-
}[] | undefined;
|
|
238
221
|
propagation?: Record<string, boolean> | undefined;
|
|
239
222
|
includes?: string[] | undefined;
|
|
240
223
|
external_references?: {
|
|
@@ -454,18 +437,6 @@ export declare const queryNodeOp: import("./define-operation.js").DefinedOperati
|
|
|
454
437
|
description?: string | string[] | undefined;
|
|
455
438
|
};
|
|
456
439
|
}>>;
|
|
457
|
-
plan: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
458
|
-
description: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
|
|
459
|
-
is(value: unknown): value is string | string[];
|
|
460
|
-
};
|
|
461
|
-
done: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
462
|
-
}, z.core.$loose> & {
|
|
463
|
-
is(value: unknown): value is {
|
|
464
|
-
[x: string]: unknown;
|
|
465
|
-
description: string | string[];
|
|
466
|
-
done?: boolean | undefined;
|
|
467
|
-
};
|
|
468
|
-
}>>;
|
|
469
440
|
propagation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
470
441
|
includes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
471
442
|
external_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -597,11 +568,6 @@ export declare const queryNodeOp: import("./define-operation.js").DefinedOperati
|
|
|
597
568
|
target?: string | undefined;
|
|
598
569
|
description?: string | string[] | undefined;
|
|
599
570
|
}[] | undefined;
|
|
600
|
-
plan?: {
|
|
601
|
-
[x: string]: unknown;
|
|
602
|
-
description: string | string[];
|
|
603
|
-
done?: boolean | undefined;
|
|
604
|
-
}[] | undefined;
|
|
605
571
|
propagation?: Record<string, boolean> | undefined;
|
|
606
572
|
includes?: string[] | undefined;
|
|
607
573
|
external_references?: {
|
|
@@ -711,18 +677,6 @@ export declare const queryNodeOp: import("./define-operation.js").DefinedOperati
|
|
|
711
677
|
description?: string | string[] | undefined;
|
|
712
678
|
};
|
|
713
679
|
}>>;
|
|
714
|
-
plan: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
715
|
-
description: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
|
|
716
|
-
is(value: unknown): value is string | string[];
|
|
717
|
-
};
|
|
718
|
-
done: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
719
|
-
}, z.core.$loose> & {
|
|
720
|
-
is(value: unknown): value is {
|
|
721
|
-
[x: string]: unknown;
|
|
722
|
-
description: string | string[];
|
|
723
|
-
done?: boolean | undefined;
|
|
724
|
-
};
|
|
725
|
-
}>>;
|
|
726
680
|
propagation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
727
681
|
includes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
728
682
|
external_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -871,11 +825,6 @@ export declare const queryNodeOp: import("./define-operation.js").DefinedOperati
|
|
|
871
825
|
target?: string | undefined;
|
|
872
826
|
description?: string | string[] | undefined;
|
|
873
827
|
}[] | undefined;
|
|
874
|
-
plan?: {
|
|
875
|
-
[x: string]: unknown;
|
|
876
|
-
description: string | string[];
|
|
877
|
-
done?: boolean | undefined;
|
|
878
|
-
}[] | undefined;
|
|
879
828
|
propagation?: Record<string, boolean> | undefined;
|
|
880
829
|
includes?: string[] | undefined;
|
|
881
830
|
external_references?: {
|
|
@@ -88,18 +88,6 @@ export declare const queryNodesOp: import("./define-operation.js").DefinedOperat
|
|
|
88
88
|
description?: string | string[] | undefined;
|
|
89
89
|
};
|
|
90
90
|
}>>;
|
|
91
|
-
plan: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
92
|
-
description: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
|
|
93
|
-
is(value: unknown): value is string | string[];
|
|
94
|
-
};
|
|
95
|
-
done: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
96
|
-
}, z.core.$loose> & {
|
|
97
|
-
is(value: unknown): value is {
|
|
98
|
-
[x: string]: unknown;
|
|
99
|
-
description: string | string[];
|
|
100
|
-
done?: boolean | undefined;
|
|
101
|
-
};
|
|
102
|
-
}>>;
|
|
103
91
|
propagation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
104
92
|
includes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
105
93
|
external_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -231,11 +219,6 @@ export declare const queryNodesOp: import("./define-operation.js").DefinedOperat
|
|
|
231
219
|
target?: string | undefined;
|
|
232
220
|
description?: string | string[] | undefined;
|
|
233
221
|
}[] | undefined;
|
|
234
|
-
plan?: {
|
|
235
|
-
[x: string]: unknown;
|
|
236
|
-
description: string | string[];
|
|
237
|
-
done?: boolean | undefined;
|
|
238
|
-
}[] | undefined;
|
|
239
222
|
propagation?: Record<string, boolean> | undefined;
|
|
240
223
|
includes?: string[] | undefined;
|
|
241
224
|
external_references?: {
|
|
@@ -345,18 +328,6 @@ export declare const queryNodesOp: import("./define-operation.js").DefinedOperat
|
|
|
345
328
|
description?: string | string[] | undefined;
|
|
346
329
|
};
|
|
347
330
|
}>>;
|
|
348
|
-
plan: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
349
|
-
description: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
|
|
350
|
-
is(value: unknown): value is string | string[];
|
|
351
|
-
};
|
|
352
|
-
done: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
353
|
-
}, z.core.$loose> & {
|
|
354
|
-
is(value: unknown): value is {
|
|
355
|
-
[x: string]: unknown;
|
|
356
|
-
description: string | string[];
|
|
357
|
-
done?: boolean | undefined;
|
|
358
|
-
};
|
|
359
|
-
}>>;
|
|
360
331
|
propagation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
361
332
|
includes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
362
333
|
external_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -505,11 +476,6 @@ export declare const queryNodesOp: import("./define-operation.js").DefinedOperat
|
|
|
505
476
|
target?: string | undefined;
|
|
506
477
|
description?: string | string[] | undefined;
|
|
507
478
|
}[] | undefined;
|
|
508
|
-
plan?: {
|
|
509
|
-
[x: string]: unknown;
|
|
510
|
-
description: string | string[];
|
|
511
|
-
done?: boolean | undefined;
|
|
512
|
-
}[] | undefined;
|
|
513
479
|
propagation?: Record<string, boolean> | undefined;
|
|
514
480
|
includes?: string[] | undefined;
|
|
515
481
|
external_references?: {
|
|
@@ -88,18 +88,6 @@ export declare const queryRelationshipsOp: import("./define-operation.js").Defin
|
|
|
88
88
|
description?: string | string[] | undefined;
|
|
89
89
|
};
|
|
90
90
|
}>>;
|
|
91
|
-
plan: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
92
|
-
description: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
|
|
93
|
-
is(value: unknown): value is string | string[];
|
|
94
|
-
};
|
|
95
|
-
done: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
96
|
-
}, z.core.$loose> & {
|
|
97
|
-
is(value: unknown): value is {
|
|
98
|
-
[x: string]: unknown;
|
|
99
|
-
description: string | string[];
|
|
100
|
-
done?: boolean | undefined;
|
|
101
|
-
};
|
|
102
|
-
}>>;
|
|
103
91
|
propagation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
104
92
|
includes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
105
93
|
external_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -231,11 +219,6 @@ export declare const queryRelationshipsOp: import("./define-operation.js").Defin
|
|
|
231
219
|
target?: string | undefined;
|
|
232
220
|
description?: string | string[] | undefined;
|
|
233
221
|
}[] | undefined;
|
|
234
|
-
plan?: {
|
|
235
|
-
[x: string]: unknown;
|
|
236
|
-
description: string | string[];
|
|
237
|
-
done?: boolean | undefined;
|
|
238
|
-
}[] | undefined;
|
|
239
222
|
propagation?: Record<string, boolean> | undefined;
|
|
240
223
|
includes?: string[] | undefined;
|
|
241
224
|
external_references?: {
|
|
@@ -88,18 +88,6 @@ export declare const RemoveResult: z.ZodObject<{
|
|
|
88
88
|
description?: string | string[] | undefined;
|
|
89
89
|
};
|
|
90
90
|
}>>;
|
|
91
|
-
plan: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
92
|
-
description: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
|
|
93
|
-
is(value: unknown): value is string | string[];
|
|
94
|
-
};
|
|
95
|
-
done: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
96
|
-
}, z.core.$loose> & {
|
|
97
|
-
is(value: unknown): value is {
|
|
98
|
-
[x: string]: unknown;
|
|
99
|
-
description: string | string[];
|
|
100
|
-
done?: boolean | undefined;
|
|
101
|
-
};
|
|
102
|
-
}>>;
|
|
103
91
|
propagation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
104
92
|
includes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
105
93
|
external_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -231,11 +219,6 @@ export declare const RemoveResult: z.ZodObject<{
|
|
|
231
219
|
target?: string | undefined;
|
|
232
220
|
description?: string | string[] | undefined;
|
|
233
221
|
}[] | undefined;
|
|
234
|
-
plan?: {
|
|
235
|
-
[x: string]: unknown;
|
|
236
|
-
description: string | string[];
|
|
237
|
-
done?: boolean | undefined;
|
|
238
|
-
}[] | undefined;
|
|
239
222
|
propagation?: Record<string, boolean> | undefined;
|
|
240
223
|
includes?: string[] | undefined;
|
|
241
224
|
external_references?: {
|
|
@@ -371,18 +354,6 @@ export declare const removeNodeOp: import("./define-operation.js").DefinedOperat
|
|
|
371
354
|
description?: string | string[] | undefined;
|
|
372
355
|
};
|
|
373
356
|
}>>;
|
|
374
|
-
plan: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
375
|
-
description: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
|
|
376
|
-
is(value: unknown): value is string | string[];
|
|
377
|
-
};
|
|
378
|
-
done: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
379
|
-
}, z.core.$loose> & {
|
|
380
|
-
is(value: unknown): value is {
|
|
381
|
-
[x: string]: unknown;
|
|
382
|
-
description: string | string[];
|
|
383
|
-
done?: boolean | undefined;
|
|
384
|
-
};
|
|
385
|
-
}>>;
|
|
386
357
|
propagation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
387
358
|
includes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
388
359
|
external_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -514,11 +485,6 @@ export declare const removeNodeOp: import("./define-operation.js").DefinedOperat
|
|
|
514
485
|
target?: string | undefined;
|
|
515
486
|
description?: string | string[] | undefined;
|
|
516
487
|
}[] | undefined;
|
|
517
|
-
plan?: {
|
|
518
|
-
[x: string]: unknown;
|
|
519
|
-
description: string | string[];
|
|
520
|
-
done?: boolean | undefined;
|
|
521
|
-
}[] | undefined;
|
|
522
488
|
propagation?: Record<string, boolean> | undefined;
|
|
523
489
|
includes?: string[] | undefined;
|
|
524
490
|
external_references?: {
|
|
@@ -649,18 +615,6 @@ export declare const removeNodeOp: import("./define-operation.js").DefinedOperat
|
|
|
649
615
|
description?: string | string[] | undefined;
|
|
650
616
|
};
|
|
651
617
|
}>>;
|
|
652
|
-
plan: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
653
|
-
description: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
|
|
654
|
-
is(value: unknown): value is string | string[];
|
|
655
|
-
};
|
|
656
|
-
done: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
657
|
-
}, z.core.$loose> & {
|
|
658
|
-
is(value: unknown): value is {
|
|
659
|
-
[x: string]: unknown;
|
|
660
|
-
description: string | string[];
|
|
661
|
-
done?: boolean | undefined;
|
|
662
|
-
};
|
|
663
|
-
}>>;
|
|
664
618
|
propagation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
665
619
|
includes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
666
620
|
external_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -792,11 +746,6 @@ export declare const removeNodeOp: import("./define-operation.js").DefinedOperat
|
|
|
792
746
|
target?: string | undefined;
|
|
793
747
|
description?: string | string[] | undefined;
|
|
794
748
|
}[] | undefined;
|
|
795
|
-
plan?: {
|
|
796
|
-
[x: string]: unknown;
|
|
797
|
-
description: string | string[];
|
|
798
|
-
done?: boolean | undefined;
|
|
799
|
-
}[] | undefined;
|
|
800
749
|
propagation?: Record<string, boolean> | undefined;
|
|
801
750
|
includes?: string[] | undefined;
|
|
802
751
|
external_references?: {
|