@treeseed/sdk 0.13.0-rc.16 → 0.13.0-rc.18
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/agent-capacity/validation/agent-definition-schema.d.ts +84 -84
- package/dist/agent-capacity/validation/agent-lab-forensics-schema.d.ts +1 -1
- package/dist/content/validation/agent-operational-content-schemas.d.ts +30 -30
- package/dist/content/validation/auxiliary-content-schemas.d.ts +8 -8
- package/dist/content/validation/content-model-schemas.d.ts +205 -205
- package/dist/content/validation/portable-content-data.d.ts +22 -22
- package/dist/entrypoints/clients/control-plane-client.d.ts +2 -0
- package/dist/entrypoints/clients/control-plane-client.js +8 -2
- package/dist/operator-contracts/canonical-command-tree.js +64 -4
- package/dist/operator-contracts/command-tree.d.ts +28 -0
- package/dist/operator-contracts/command-tree.js +49 -0
- package/dist/operator-contracts/control-plane-operations.d.ts +2 -2
- package/dist/operator-contracts/control-plane-operations.js +4 -4
- package/dist/operator-contracts/mcp.d.ts +5 -0
- package/dist/operator-contracts/mcp.js +61 -0
- package/package.json +1 -1
|
@@ -17,8 +17,8 @@ export declare const agentActivityQuerySchema: z.ZodObject<{
|
|
|
17
17
|
severity?: string | string[] | undefined;
|
|
18
18
|
}, {
|
|
19
19
|
type?: string | string[] | undefined;
|
|
20
|
-
agent?: string | string[] | undefined;
|
|
21
20
|
limit?: number | undefined;
|
|
21
|
+
agent?: string | string[] | undefined;
|
|
22
22
|
agentClass?: string | string[] | undefined;
|
|
23
23
|
severity?: string | string[] | undefined;
|
|
24
24
|
after?: number | undefined;
|
|
@@ -43,9 +43,9 @@ export declare const agentContextQueryContentSchema: z.ZodObject<{
|
|
|
43
43
|
id: string;
|
|
44
44
|
required: boolean;
|
|
45
45
|
description: string;
|
|
46
|
+
query: string;
|
|
46
47
|
title: string;
|
|
47
48
|
revision: number;
|
|
48
|
-
query: string;
|
|
49
49
|
filters: Record<string, unknown>;
|
|
50
50
|
target: {
|
|
51
51
|
kind: "code" | "content" | "mixed" | "graph";
|
|
@@ -68,9 +68,9 @@ export declare const agentContextQueryContentSchema: z.ZodObject<{
|
|
|
68
68
|
}, {
|
|
69
69
|
id: string;
|
|
70
70
|
description: string;
|
|
71
|
+
query: string;
|
|
71
72
|
title: string;
|
|
72
73
|
revision: number;
|
|
73
|
-
query: string;
|
|
74
74
|
target: {
|
|
75
75
|
kind: "code" | "content" | "mixed" | "graph";
|
|
76
76
|
paths?: string[] | undefined;
|
|
@@ -141,7 +141,7 @@ export declare const agentInstructionTemplateContentSchema: z.ZodObject<{
|
|
|
141
141
|
appliesToProfiles: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
142
142
|
}, "strict", z.ZodTypeAny, {
|
|
143
143
|
id: string;
|
|
144
|
-
kind: "message" | "summary" | "
|
|
144
|
+
kind: "message" | "summary" | "status" | "plan";
|
|
145
145
|
description: string;
|
|
146
146
|
title: string;
|
|
147
147
|
revision: number;
|
|
@@ -151,7 +151,7 @@ export declare const agentInstructionTemplateContentSchema: z.ZodObject<{
|
|
|
151
151
|
outputSkeleton?: string | undefined;
|
|
152
152
|
}, {
|
|
153
153
|
id: string;
|
|
154
|
-
kind: "message" | "summary" | "
|
|
154
|
+
kind: "message" | "summary" | "status" | "plan";
|
|
155
155
|
description: string;
|
|
156
156
|
title: string;
|
|
157
157
|
revision: number;
|
|
@@ -257,15 +257,15 @@ export declare const assignmentPlanContentSchema: z.ZodObject<{
|
|
|
257
257
|
id: string;
|
|
258
258
|
status: "active" | "completed" | "ready" | "superseded" | "draft";
|
|
259
259
|
projectId: string;
|
|
260
|
+
teamId: string;
|
|
261
|
+
objective: string;
|
|
260
262
|
completed: {
|
|
261
263
|
id: string;
|
|
262
264
|
description: string;
|
|
263
265
|
title: string;
|
|
264
266
|
}[];
|
|
265
|
-
teamId: string;
|
|
266
267
|
title: string;
|
|
267
268
|
revision: number;
|
|
268
|
-
objective: string;
|
|
269
269
|
createdAt: Date;
|
|
270
270
|
remaining: {
|
|
271
271
|
id: string;
|
|
@@ -293,19 +293,19 @@ export declare const assignmentPlanContentSchema: z.ZodObject<{
|
|
|
293
293
|
status: "active" | "completed" | "ready" | "superseded" | "draft";
|
|
294
294
|
projectId: string;
|
|
295
295
|
teamId: string;
|
|
296
|
+
objective: string;
|
|
296
297
|
title: string;
|
|
297
298
|
revision: number;
|
|
298
|
-
objective: string;
|
|
299
299
|
createdAt: Date;
|
|
300
300
|
description?: string | undefined;
|
|
301
|
+
decisionId?: string | undefined;
|
|
302
|
+
capacityPlanId?: string | undefined;
|
|
303
|
+
assignmentId?: string | undefined;
|
|
301
304
|
completed?: {
|
|
302
305
|
id: string;
|
|
303
306
|
description: string;
|
|
304
307
|
title: string;
|
|
305
308
|
}[] | undefined;
|
|
306
|
-
decisionId?: string | undefined;
|
|
307
|
-
capacityPlanId?: string | undefined;
|
|
308
|
-
assignmentId?: string | undefined;
|
|
309
309
|
updatedAt?: Date | undefined;
|
|
310
310
|
workdayId?: string | undefined;
|
|
311
311
|
remaining?: {
|
|
@@ -360,10 +360,10 @@ export declare const assignmentStatusContentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
360
360
|
sequence: number;
|
|
361
361
|
phase: string;
|
|
362
362
|
description?: string | undefined;
|
|
363
|
+
reason?: string | undefined;
|
|
363
364
|
assignmentId?: string | undefined;
|
|
364
365
|
updatedAt?: Date | undefined;
|
|
365
366
|
workdayId?: string | undefined;
|
|
366
|
-
reason?: string | undefined;
|
|
367
367
|
previousStatusRef?: {
|
|
368
368
|
id: string;
|
|
369
369
|
revision: number;
|
|
@@ -379,10 +379,10 @@ export declare const assignmentStatusContentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
379
379
|
sequence: number;
|
|
380
380
|
phase: string;
|
|
381
381
|
description?: string | undefined;
|
|
382
|
+
reason?: string | undefined;
|
|
382
383
|
assignmentId?: string | undefined;
|
|
383
384
|
updatedAt?: Date | undefined;
|
|
384
385
|
workdayId?: string | undefined;
|
|
385
|
-
reason?: string | undefined;
|
|
386
386
|
previousStatusRef?: {
|
|
387
387
|
id: string;
|
|
388
388
|
revision: number;
|
|
@@ -398,10 +398,10 @@ export declare const assignmentStatusContentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
398
398
|
sequence: number;
|
|
399
399
|
phase: string;
|
|
400
400
|
description?: string | undefined;
|
|
401
|
+
reason?: string | undefined;
|
|
401
402
|
assignmentId?: string | undefined;
|
|
402
403
|
updatedAt?: Date | undefined;
|
|
403
404
|
workdayId?: string | undefined;
|
|
404
|
-
reason?: string | undefined;
|
|
405
405
|
previousStatusRef?: {
|
|
406
406
|
id: string;
|
|
407
407
|
revision: number;
|
|
@@ -417,10 +417,10 @@ export declare const assignmentStatusContentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
417
417
|
sequence: number;
|
|
418
418
|
phase: string;
|
|
419
419
|
description?: string | undefined;
|
|
420
|
+
reason?: string | undefined;
|
|
420
421
|
assignmentId?: string | undefined;
|
|
421
422
|
updatedAt?: Date | undefined;
|
|
422
423
|
workdayId?: string | undefined;
|
|
423
|
-
reason?: string | undefined;
|
|
424
424
|
previousStatusRef?: {
|
|
425
425
|
id: string;
|
|
426
426
|
revision: number;
|
|
@@ -470,8 +470,8 @@ export declare const assignmentSummaryContentSchema: z.ZodObject<{
|
|
|
470
470
|
}, "strict", z.ZodTypeAny, {
|
|
471
471
|
id: string;
|
|
472
472
|
summary: string;
|
|
473
|
-
blockers: string[];
|
|
474
473
|
status: "completed" | "cancelled" | "failed" | "suspended";
|
|
474
|
+
blockers: string[];
|
|
475
475
|
projectId: string;
|
|
476
476
|
teamId: string;
|
|
477
477
|
title: string;
|
|
@@ -713,9 +713,9 @@ export declare const agentOperationalContentSchemas: {
|
|
|
713
713
|
id: string;
|
|
714
714
|
required: boolean;
|
|
715
715
|
description: string;
|
|
716
|
+
query: string;
|
|
716
717
|
title: string;
|
|
717
718
|
revision: number;
|
|
718
|
-
query: string;
|
|
719
719
|
filters: Record<string, unknown>;
|
|
720
720
|
target: {
|
|
721
721
|
kind: "code" | "content" | "mixed" | "graph";
|
|
@@ -738,9 +738,9 @@ export declare const agentOperationalContentSchemas: {
|
|
|
738
738
|
}, {
|
|
739
739
|
id: string;
|
|
740
740
|
description: string;
|
|
741
|
+
query: string;
|
|
741
742
|
title: string;
|
|
742
743
|
revision: number;
|
|
743
|
-
query: string;
|
|
744
744
|
target: {
|
|
745
745
|
kind: "code" | "content" | "mixed" | "graph";
|
|
746
746
|
paths?: string[] | undefined;
|
|
@@ -811,7 +811,7 @@ export declare const agentOperationalContentSchemas: {
|
|
|
811
811
|
appliesToProfiles: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
812
812
|
}, "strict", z.ZodTypeAny, {
|
|
813
813
|
id: string;
|
|
814
|
-
kind: "message" | "summary" | "
|
|
814
|
+
kind: "message" | "summary" | "status" | "plan";
|
|
815
815
|
description: string;
|
|
816
816
|
title: string;
|
|
817
817
|
revision: number;
|
|
@@ -821,7 +821,7 @@ export declare const agentOperationalContentSchemas: {
|
|
|
821
821
|
outputSkeleton?: string | undefined;
|
|
822
822
|
}, {
|
|
823
823
|
id: string;
|
|
824
|
-
kind: "message" | "summary" | "
|
|
824
|
+
kind: "message" | "summary" | "status" | "plan";
|
|
825
825
|
description: string;
|
|
826
826
|
title: string;
|
|
827
827
|
revision: number;
|
|
@@ -927,15 +927,15 @@ export declare const agentOperationalContentSchemas: {
|
|
|
927
927
|
id: string;
|
|
928
928
|
status: "active" | "completed" | "ready" | "superseded" | "draft";
|
|
929
929
|
projectId: string;
|
|
930
|
+
teamId: string;
|
|
931
|
+
objective: string;
|
|
930
932
|
completed: {
|
|
931
933
|
id: string;
|
|
932
934
|
description: string;
|
|
933
935
|
title: string;
|
|
934
936
|
}[];
|
|
935
|
-
teamId: string;
|
|
936
937
|
title: string;
|
|
937
938
|
revision: number;
|
|
938
|
-
objective: string;
|
|
939
939
|
createdAt: Date;
|
|
940
940
|
remaining: {
|
|
941
941
|
id: string;
|
|
@@ -963,19 +963,19 @@ export declare const agentOperationalContentSchemas: {
|
|
|
963
963
|
status: "active" | "completed" | "ready" | "superseded" | "draft";
|
|
964
964
|
projectId: string;
|
|
965
965
|
teamId: string;
|
|
966
|
+
objective: string;
|
|
966
967
|
title: string;
|
|
967
968
|
revision: number;
|
|
968
|
-
objective: string;
|
|
969
969
|
createdAt: Date;
|
|
970
970
|
description?: string | undefined;
|
|
971
|
+
decisionId?: string | undefined;
|
|
972
|
+
capacityPlanId?: string | undefined;
|
|
973
|
+
assignmentId?: string | undefined;
|
|
971
974
|
completed?: {
|
|
972
975
|
id: string;
|
|
973
976
|
description: string;
|
|
974
977
|
title: string;
|
|
975
978
|
}[] | undefined;
|
|
976
|
-
decisionId?: string | undefined;
|
|
977
|
-
capacityPlanId?: string | undefined;
|
|
978
|
-
assignmentId?: string | undefined;
|
|
979
979
|
updatedAt?: Date | undefined;
|
|
980
980
|
workdayId?: string | undefined;
|
|
981
981
|
remaining?: {
|
|
@@ -1030,10 +1030,10 @@ export declare const agentOperationalContentSchemas: {
|
|
|
1030
1030
|
sequence: number;
|
|
1031
1031
|
phase: string;
|
|
1032
1032
|
description?: string | undefined;
|
|
1033
|
+
reason?: string | undefined;
|
|
1033
1034
|
assignmentId?: string | undefined;
|
|
1034
1035
|
updatedAt?: Date | undefined;
|
|
1035
1036
|
workdayId?: string | undefined;
|
|
1036
|
-
reason?: string | undefined;
|
|
1037
1037
|
previousStatusRef?: {
|
|
1038
1038
|
id: string;
|
|
1039
1039
|
revision: number;
|
|
@@ -1049,10 +1049,10 @@ export declare const agentOperationalContentSchemas: {
|
|
|
1049
1049
|
sequence: number;
|
|
1050
1050
|
phase: string;
|
|
1051
1051
|
description?: string | undefined;
|
|
1052
|
+
reason?: string | undefined;
|
|
1052
1053
|
assignmentId?: string | undefined;
|
|
1053
1054
|
updatedAt?: Date | undefined;
|
|
1054
1055
|
workdayId?: string | undefined;
|
|
1055
|
-
reason?: string | undefined;
|
|
1056
1056
|
previousStatusRef?: {
|
|
1057
1057
|
id: string;
|
|
1058
1058
|
revision: number;
|
|
@@ -1068,10 +1068,10 @@ export declare const agentOperationalContentSchemas: {
|
|
|
1068
1068
|
sequence: number;
|
|
1069
1069
|
phase: string;
|
|
1070
1070
|
description?: string | undefined;
|
|
1071
|
+
reason?: string | undefined;
|
|
1071
1072
|
assignmentId?: string | undefined;
|
|
1072
1073
|
updatedAt?: Date | undefined;
|
|
1073
1074
|
workdayId?: string | undefined;
|
|
1074
|
-
reason?: string | undefined;
|
|
1075
1075
|
previousStatusRef?: {
|
|
1076
1076
|
id: string;
|
|
1077
1077
|
revision: number;
|
|
@@ -1087,10 +1087,10 @@ export declare const agentOperationalContentSchemas: {
|
|
|
1087
1087
|
sequence: number;
|
|
1088
1088
|
phase: string;
|
|
1089
1089
|
description?: string | undefined;
|
|
1090
|
+
reason?: string | undefined;
|
|
1090
1091
|
assignmentId?: string | undefined;
|
|
1091
1092
|
updatedAt?: Date | undefined;
|
|
1092
1093
|
workdayId?: string | undefined;
|
|
1093
|
-
reason?: string | undefined;
|
|
1094
1094
|
previousStatusRef?: {
|
|
1095
1095
|
id: string;
|
|
1096
1096
|
revision: number;
|
|
@@ -1140,8 +1140,8 @@ export declare const agentOperationalContentSchemas: {
|
|
|
1140
1140
|
}, "strict", z.ZodTypeAny, {
|
|
1141
1141
|
id: string;
|
|
1142
1142
|
summary: string;
|
|
1143
|
-
blockers: string[];
|
|
1144
1143
|
status: "completed" | "cancelled" | "failed" | "suspended";
|
|
1144
|
+
blockers: string[];
|
|
1145
1145
|
projectId: string;
|
|
1146
1146
|
teamId: string;
|
|
1147
1147
|
title: string;
|
|
@@ -36,19 +36,19 @@ export declare const workdayContentSchema: z.ZodObject<{
|
|
|
36
36
|
model: string;
|
|
37
37
|
priority: number;
|
|
38
38
|
status?: string | undefined;
|
|
39
|
+
reason?: string | undefined;
|
|
39
40
|
title?: string | undefined;
|
|
40
41
|
slug?: string | undefined;
|
|
41
42
|
estimatedCredits?: number | undefined;
|
|
42
|
-
reason?: string | undefined;
|
|
43
43
|
}, {
|
|
44
44
|
id: string;
|
|
45
45
|
model: string;
|
|
46
46
|
priority: number;
|
|
47
47
|
status?: string | undefined;
|
|
48
|
+
reason?: string | undefined;
|
|
48
49
|
title?: string | undefined;
|
|
49
50
|
slug?: string | undefined;
|
|
50
51
|
estimatedCredits?: number | undefined;
|
|
51
|
-
reason?: string | undefined;
|
|
52
52
|
}>, "many">>;
|
|
53
53
|
totalTasks: z.ZodDefault<z.ZodNumber>;
|
|
54
54
|
completedTasks: z.ZodDefault<z.ZodNumber>;
|
|
@@ -162,10 +162,10 @@ export declare const workdayContentSchema: z.ZodObject<{
|
|
|
162
162
|
model: string;
|
|
163
163
|
priority: number;
|
|
164
164
|
status?: string | undefined;
|
|
165
|
+
reason?: string | undefined;
|
|
165
166
|
title?: string | undefined;
|
|
166
167
|
slug?: string | undefined;
|
|
167
168
|
estimatedCredits?: number | undefined;
|
|
168
|
-
reason?: string | undefined;
|
|
169
169
|
}[];
|
|
170
170
|
totalTasks: number;
|
|
171
171
|
completedTasks: number;
|
|
@@ -235,10 +235,10 @@ export declare const workdayContentSchema: z.ZodObject<{
|
|
|
235
235
|
model: string;
|
|
236
236
|
priority: number;
|
|
237
237
|
status?: string | undefined;
|
|
238
|
+
reason?: string | undefined;
|
|
238
239
|
title?: string | undefined;
|
|
239
240
|
slug?: string | undefined;
|
|
240
241
|
estimatedCredits?: number | undefined;
|
|
241
|
-
reason?: string | undefined;
|
|
242
242
|
}[] | undefined;
|
|
243
243
|
totalTasks?: number | undefined;
|
|
244
244
|
completedTasks?: number | undefined;
|
|
@@ -1244,19 +1244,19 @@ export declare const auxiliaryContentSchemas: {
|
|
|
1244
1244
|
model: string;
|
|
1245
1245
|
priority: number;
|
|
1246
1246
|
status?: string | undefined;
|
|
1247
|
+
reason?: string | undefined;
|
|
1247
1248
|
title?: string | undefined;
|
|
1248
1249
|
slug?: string | undefined;
|
|
1249
1250
|
estimatedCredits?: number | undefined;
|
|
1250
|
-
reason?: string | undefined;
|
|
1251
1251
|
}, {
|
|
1252
1252
|
id: string;
|
|
1253
1253
|
model: string;
|
|
1254
1254
|
priority: number;
|
|
1255
1255
|
status?: string | undefined;
|
|
1256
|
+
reason?: string | undefined;
|
|
1256
1257
|
title?: string | undefined;
|
|
1257
1258
|
slug?: string | undefined;
|
|
1258
1259
|
estimatedCredits?: number | undefined;
|
|
1259
|
-
reason?: string | undefined;
|
|
1260
1260
|
}>, "many">>;
|
|
1261
1261
|
totalTasks: z.ZodDefault<z.ZodNumber>;
|
|
1262
1262
|
completedTasks: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1370,10 +1370,10 @@ export declare const auxiliaryContentSchemas: {
|
|
|
1370
1370
|
model: string;
|
|
1371
1371
|
priority: number;
|
|
1372
1372
|
status?: string | undefined;
|
|
1373
|
+
reason?: string | undefined;
|
|
1373
1374
|
title?: string | undefined;
|
|
1374
1375
|
slug?: string | undefined;
|
|
1375
1376
|
estimatedCredits?: number | undefined;
|
|
1376
|
-
reason?: string | undefined;
|
|
1377
1377
|
}[];
|
|
1378
1378
|
totalTasks: number;
|
|
1379
1379
|
completedTasks: number;
|
|
@@ -1443,10 +1443,10 @@ export declare const auxiliaryContentSchemas: {
|
|
|
1443
1443
|
model: string;
|
|
1444
1444
|
priority: number;
|
|
1445
1445
|
status?: string | undefined;
|
|
1446
|
+
reason?: string | undefined;
|
|
1446
1447
|
title?: string | undefined;
|
|
1447
1448
|
slug?: string | undefined;
|
|
1448
1449
|
estimatedCredits?: number | undefined;
|
|
1449
|
-
reason?: string | undefined;
|
|
1450
1450
|
}[] | undefined;
|
|
1451
1451
|
totalTasks?: number | undefined;
|
|
1452
1452
|
completedTasks?: number | undefined;
|