@treeseed/sdk 0.13.0-rc.25 → 0.13.0-rc.26
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 +362 -362
- package/dist/capacity-provider/client.d.ts +1 -1
- package/dist/content/validation/agent-operational-content-schemas.d.ts +50 -50
- package/dist/content/validation/auxiliary-content-schemas.d.ts +46 -46
- package/dist/content/validation/content-model-schemas.d.ts +875 -875
- package/dist/content/validation/portable-content-data.d.ts +99 -99
- package/dist/deployment/canonical.d.ts +2 -0
- package/dist/deployment/canonical.js +17 -0
- package/dist/deployment/catalog.d.ts +16 -0
- package/dist/deployment/catalog.js +38 -0
- package/dist/deployment/index.d.ts +3 -0
- package/dist/deployment/index.js +3 -0
- package/dist/deployment/schemas.d.ts +2743 -0
- package/dist/deployment/schemas.js +179 -0
- package/dist/operator-contracts/canonical-command-tree.js +35 -0
- package/dist/operator-contracts/catalog/communication-operations.d.ts +11 -11
- package/dist/operator-contracts/communication/contracts.d.ts +24 -24
- package/dist/operator-contracts/control-plane-operations.d.ts +11 -11
- package/package.json +5 -1
|
@@ -45,8 +45,8 @@ export declare class ProviderProtocolClient {
|
|
|
45
45
|
startAssignmentCloseout(assignmentId: string, request: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
46
46
|
preflightAssignmentCompletion(assignmentId: string, request: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
47
47
|
respondToAssignmentDiscussion(assignmentId: string, request: ProviderDiscussionResponseRequest, idempotencyKey: string): Promise<{
|
|
48
|
-
schemaVersion: "treeseed.provider-discussion-response-receipt/v1";
|
|
49
48
|
status: "responded";
|
|
49
|
+
schemaVersion: "treeseed.provider-discussion-response-receipt/v1";
|
|
50
50
|
assignmentId: string;
|
|
51
51
|
invocationId: string;
|
|
52
52
|
messageRef: string;
|
|
@@ -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" | "
|
|
144
|
+
kind: "message" | "status" | "summary" | "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" | "
|
|
154
|
+
kind: "message" | "status" | "summary" | "plan";
|
|
155
155
|
description: string;
|
|
156
156
|
title: string;
|
|
157
157
|
revision: number;
|
|
@@ -169,9 +169,9 @@ export declare const discussionTopicContentSchema: z.ZodObject<{
|
|
|
169
169
|
parentTopicId: z.ZodOptional<z.ZodString>;
|
|
170
170
|
status: z.ZodDefault<z.ZodEnum<["active", "archived"]>>;
|
|
171
171
|
}, "strict", z.ZodTypeAny, {
|
|
172
|
+
status: "active" | "archived";
|
|
172
173
|
id: string;
|
|
173
174
|
description: string;
|
|
174
|
-
status: "active" | "archived";
|
|
175
175
|
title: string;
|
|
176
176
|
slug: string;
|
|
177
177
|
groupIds: string[];
|
|
@@ -254,8 +254,9 @@ export declare const assignmentPlanContentSchema: z.ZodObject<{
|
|
|
254
254
|
decisionId: z.ZodOptional<z.ZodString>;
|
|
255
255
|
capacityPlanId: z.ZodOptional<z.ZodString>;
|
|
256
256
|
}, "strict", z.ZodTypeAny, {
|
|
257
|
-
id: string;
|
|
258
257
|
status: "active" | "completed" | "ready" | "superseded" | "draft";
|
|
258
|
+
id: string;
|
|
259
|
+
createdAt: Date;
|
|
259
260
|
teamId: string;
|
|
260
261
|
projectId: string;
|
|
261
262
|
objective: string;
|
|
@@ -264,7 +265,6 @@ export declare const assignmentPlanContentSchema: z.ZodObject<{
|
|
|
264
265
|
description: string;
|
|
265
266
|
title: string;
|
|
266
267
|
}[];
|
|
267
|
-
createdAt: Date;
|
|
268
268
|
title: string;
|
|
269
269
|
revision: number;
|
|
270
270
|
remaining: {
|
|
@@ -289,12 +289,12 @@ export declare const assignmentPlanContentSchema: z.ZodObject<{
|
|
|
289
289
|
contextRefs: string[];
|
|
290
290
|
} | undefined;
|
|
291
291
|
}, {
|
|
292
|
-
id: string;
|
|
293
292
|
status: "active" | "completed" | "ready" | "superseded" | "draft";
|
|
293
|
+
id: string;
|
|
294
|
+
createdAt: Date;
|
|
294
295
|
teamId: string;
|
|
295
296
|
projectId: string;
|
|
296
297
|
objective: string;
|
|
297
|
-
createdAt: Date;
|
|
298
298
|
title: string;
|
|
299
299
|
revision: number;
|
|
300
300
|
description?: string | undefined;
|
|
@@ -351,11 +351,11 @@ export declare const assignmentStatusContentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
351
351
|
reason: z.ZodOptional<z.ZodString>;
|
|
352
352
|
progress: z.ZodOptional<z.ZodNumber>;
|
|
353
353
|
}, "strict", z.ZodTypeAny, {
|
|
354
|
+
status: "failed" | "pending" | "running" | "completed" | "cancelled" | "admitted" | "suspended" | "waiting" | "leased";
|
|
354
355
|
id: string;
|
|
355
|
-
|
|
356
|
+
createdAt: Date;
|
|
356
357
|
teamId: string;
|
|
357
358
|
projectId: string;
|
|
358
|
-
createdAt: Date;
|
|
359
359
|
title: string;
|
|
360
360
|
sequence: number;
|
|
361
361
|
phase: string;
|
|
@@ -370,11 +370,11 @@ export declare const assignmentStatusContentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
370
370
|
} | undefined;
|
|
371
371
|
progress?: number | undefined;
|
|
372
372
|
}, {
|
|
373
|
+
status: "failed" | "pending" | "running" | "completed" | "cancelled" | "admitted" | "suspended" | "waiting" | "leased";
|
|
373
374
|
id: string;
|
|
374
|
-
|
|
375
|
+
createdAt: Date;
|
|
375
376
|
teamId: string;
|
|
376
377
|
projectId: string;
|
|
377
|
-
createdAt: Date;
|
|
378
378
|
title: string;
|
|
379
379
|
sequence: number;
|
|
380
380
|
phase: string;
|
|
@@ -389,11 +389,11 @@ export declare const assignmentStatusContentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
389
389
|
} | undefined;
|
|
390
390
|
progress?: number | undefined;
|
|
391
391
|
}>, {
|
|
392
|
+
status: "failed" | "pending" | "running" | "completed" | "cancelled" | "admitted" | "suspended" | "waiting" | "leased";
|
|
392
393
|
id: string;
|
|
393
|
-
|
|
394
|
+
createdAt: Date;
|
|
394
395
|
teamId: string;
|
|
395
396
|
projectId: string;
|
|
396
|
-
createdAt: Date;
|
|
397
397
|
title: string;
|
|
398
398
|
sequence: number;
|
|
399
399
|
phase: string;
|
|
@@ -408,11 +408,11 @@ export declare const assignmentStatusContentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
408
408
|
} | undefined;
|
|
409
409
|
progress?: number | undefined;
|
|
410
410
|
}, {
|
|
411
|
+
status: "failed" | "pending" | "running" | "completed" | "cancelled" | "admitted" | "suspended" | "waiting" | "leased";
|
|
411
412
|
id: string;
|
|
412
|
-
|
|
413
|
+
createdAt: Date;
|
|
413
414
|
teamId: string;
|
|
414
415
|
projectId: string;
|
|
415
|
-
createdAt: Date;
|
|
416
416
|
title: string;
|
|
417
417
|
sequence: number;
|
|
418
418
|
phase: string;
|
|
@@ -468,13 +468,13 @@ export declare const assignmentSummaryContentSchema: z.ZodObject<{
|
|
|
468
468
|
artifactRefs: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
469
469
|
verificationRefs: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
470
470
|
}, "strict", z.ZodTypeAny, {
|
|
471
|
+
status: "failed" | "completed" | "cancelled" | "suspended";
|
|
471
472
|
id: string;
|
|
472
|
-
|
|
473
|
-
status: "completed" | "cancelled" | "failed" | "suspended";
|
|
473
|
+
createdAt: Date;
|
|
474
474
|
blockers: string[];
|
|
475
|
+
summary: string;
|
|
475
476
|
teamId: string;
|
|
476
477
|
projectId: string;
|
|
477
|
-
createdAt: Date;
|
|
478
478
|
title: string;
|
|
479
479
|
artifactRefs: string[];
|
|
480
480
|
lessons: string[];
|
|
@@ -493,19 +493,19 @@ export declare const assignmentSummaryContentSchema: z.ZodObject<{
|
|
|
493
493
|
contextRefs: string[];
|
|
494
494
|
} | undefined;
|
|
495
495
|
}, {
|
|
496
|
+
status: "failed" | "completed" | "cancelled" | "suspended";
|
|
496
497
|
id: string;
|
|
498
|
+
createdAt: Date;
|
|
497
499
|
summary: string;
|
|
498
|
-
status: "completed" | "cancelled" | "failed" | "suspended";
|
|
499
500
|
teamId: string;
|
|
500
501
|
projectId: string;
|
|
501
|
-
createdAt: Date;
|
|
502
502
|
title: string;
|
|
503
503
|
performance: {
|
|
504
504
|
outcome: string;
|
|
505
505
|
metrics?: Record<string, number> | undefined;
|
|
506
506
|
};
|
|
507
|
-
description?: string | undefined;
|
|
508
507
|
blockers?: string[] | undefined;
|
|
508
|
+
description?: string | undefined;
|
|
509
509
|
assignmentId?: string | undefined;
|
|
510
510
|
updatedAt?: Date | undefined;
|
|
511
511
|
workdayId?: string | undefined;
|
|
@@ -592,11 +592,11 @@ export declare const agentEvaluationContentSchema: z.ZodObject<{
|
|
|
592
592
|
evidenceRefs?: string[] | undefined;
|
|
593
593
|
}>, "many">;
|
|
594
594
|
}, "strict", z.ZodTypeAny, {
|
|
595
|
-
id: string;
|
|
596
595
|
status: string;
|
|
596
|
+
id: string;
|
|
597
|
+
createdAt: Date;
|
|
597
598
|
teamId: string;
|
|
598
599
|
projectId: string;
|
|
599
|
-
createdAt: Date;
|
|
600
600
|
title: string;
|
|
601
601
|
contextQueryRefs: {
|
|
602
602
|
id: string;
|
|
@@ -630,11 +630,11 @@ export declare const agentEvaluationContentSchema: z.ZodObject<{
|
|
|
630
630
|
workdayId?: string | undefined;
|
|
631
631
|
score?: number | undefined;
|
|
632
632
|
}, {
|
|
633
|
-
id: string;
|
|
634
633
|
status: string;
|
|
634
|
+
id: string;
|
|
635
|
+
createdAt: Date;
|
|
635
636
|
teamId: string;
|
|
636
637
|
projectId: string;
|
|
637
|
-
createdAt: Date;
|
|
638
638
|
title: string;
|
|
639
639
|
agentId: string;
|
|
640
640
|
outcome: "failed" | "passed" | "needs-revision";
|
|
@@ -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" | "
|
|
814
|
+
kind: "message" | "status" | "summary" | "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" | "
|
|
824
|
+
kind: "message" | "status" | "summary" | "plan";
|
|
825
825
|
description: string;
|
|
826
826
|
title: string;
|
|
827
827
|
revision: number;
|
|
@@ -839,9 +839,9 @@ export declare const agentOperationalContentSchemas: {
|
|
|
839
839
|
parentTopicId: z.ZodOptional<z.ZodString>;
|
|
840
840
|
status: z.ZodDefault<z.ZodEnum<["active", "archived"]>>;
|
|
841
841
|
}, "strict", z.ZodTypeAny, {
|
|
842
|
+
status: "active" | "archived";
|
|
842
843
|
id: string;
|
|
843
844
|
description: string;
|
|
844
|
-
status: "active" | "archived";
|
|
845
845
|
title: string;
|
|
846
846
|
slug: string;
|
|
847
847
|
groupIds: string[];
|
|
@@ -924,8 +924,9 @@ export declare const agentOperationalContentSchemas: {
|
|
|
924
924
|
decisionId: z.ZodOptional<z.ZodString>;
|
|
925
925
|
capacityPlanId: z.ZodOptional<z.ZodString>;
|
|
926
926
|
}, "strict", z.ZodTypeAny, {
|
|
927
|
-
id: string;
|
|
928
927
|
status: "active" | "completed" | "ready" | "superseded" | "draft";
|
|
928
|
+
id: string;
|
|
929
|
+
createdAt: Date;
|
|
929
930
|
teamId: string;
|
|
930
931
|
projectId: string;
|
|
931
932
|
objective: string;
|
|
@@ -934,7 +935,6 @@ export declare const agentOperationalContentSchemas: {
|
|
|
934
935
|
description: string;
|
|
935
936
|
title: string;
|
|
936
937
|
}[];
|
|
937
|
-
createdAt: Date;
|
|
938
938
|
title: string;
|
|
939
939
|
revision: number;
|
|
940
940
|
remaining: {
|
|
@@ -959,12 +959,12 @@ export declare const agentOperationalContentSchemas: {
|
|
|
959
959
|
contextRefs: string[];
|
|
960
960
|
} | undefined;
|
|
961
961
|
}, {
|
|
962
|
-
id: string;
|
|
963
962
|
status: "active" | "completed" | "ready" | "superseded" | "draft";
|
|
963
|
+
id: string;
|
|
964
|
+
createdAt: Date;
|
|
964
965
|
teamId: string;
|
|
965
966
|
projectId: string;
|
|
966
967
|
objective: string;
|
|
967
|
-
createdAt: Date;
|
|
968
968
|
title: string;
|
|
969
969
|
revision: number;
|
|
970
970
|
description?: string | undefined;
|
|
@@ -1021,11 +1021,11 @@ export declare const agentOperationalContentSchemas: {
|
|
|
1021
1021
|
reason: z.ZodOptional<z.ZodString>;
|
|
1022
1022
|
progress: z.ZodOptional<z.ZodNumber>;
|
|
1023
1023
|
}, "strict", z.ZodTypeAny, {
|
|
1024
|
+
status: "failed" | "pending" | "running" | "completed" | "cancelled" | "admitted" | "suspended" | "waiting" | "leased";
|
|
1024
1025
|
id: string;
|
|
1025
|
-
|
|
1026
|
+
createdAt: Date;
|
|
1026
1027
|
teamId: string;
|
|
1027
1028
|
projectId: string;
|
|
1028
|
-
createdAt: Date;
|
|
1029
1029
|
title: string;
|
|
1030
1030
|
sequence: number;
|
|
1031
1031
|
phase: string;
|
|
@@ -1040,11 +1040,11 @@ export declare const agentOperationalContentSchemas: {
|
|
|
1040
1040
|
} | undefined;
|
|
1041
1041
|
progress?: number | undefined;
|
|
1042
1042
|
}, {
|
|
1043
|
+
status: "failed" | "pending" | "running" | "completed" | "cancelled" | "admitted" | "suspended" | "waiting" | "leased";
|
|
1043
1044
|
id: string;
|
|
1044
|
-
|
|
1045
|
+
createdAt: Date;
|
|
1045
1046
|
teamId: string;
|
|
1046
1047
|
projectId: string;
|
|
1047
|
-
createdAt: Date;
|
|
1048
1048
|
title: string;
|
|
1049
1049
|
sequence: number;
|
|
1050
1050
|
phase: string;
|
|
@@ -1059,11 +1059,11 @@ export declare const agentOperationalContentSchemas: {
|
|
|
1059
1059
|
} | undefined;
|
|
1060
1060
|
progress?: number | undefined;
|
|
1061
1061
|
}>, {
|
|
1062
|
+
status: "failed" | "pending" | "running" | "completed" | "cancelled" | "admitted" | "suspended" | "waiting" | "leased";
|
|
1062
1063
|
id: string;
|
|
1063
|
-
|
|
1064
|
+
createdAt: Date;
|
|
1064
1065
|
teamId: string;
|
|
1065
1066
|
projectId: string;
|
|
1066
|
-
createdAt: Date;
|
|
1067
1067
|
title: string;
|
|
1068
1068
|
sequence: number;
|
|
1069
1069
|
phase: string;
|
|
@@ -1078,11 +1078,11 @@ export declare const agentOperationalContentSchemas: {
|
|
|
1078
1078
|
} | undefined;
|
|
1079
1079
|
progress?: number | undefined;
|
|
1080
1080
|
}, {
|
|
1081
|
+
status: "failed" | "pending" | "running" | "completed" | "cancelled" | "admitted" | "suspended" | "waiting" | "leased";
|
|
1081
1082
|
id: string;
|
|
1082
|
-
|
|
1083
|
+
createdAt: Date;
|
|
1083
1084
|
teamId: string;
|
|
1084
1085
|
projectId: string;
|
|
1085
|
-
createdAt: Date;
|
|
1086
1086
|
title: string;
|
|
1087
1087
|
sequence: number;
|
|
1088
1088
|
phase: string;
|
|
@@ -1138,13 +1138,13 @@ export declare const agentOperationalContentSchemas: {
|
|
|
1138
1138
|
artifactRefs: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
1139
1139
|
verificationRefs: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
1140
1140
|
}, "strict", z.ZodTypeAny, {
|
|
1141
|
+
status: "failed" | "completed" | "cancelled" | "suspended";
|
|
1141
1142
|
id: string;
|
|
1142
|
-
|
|
1143
|
-
status: "completed" | "cancelled" | "failed" | "suspended";
|
|
1143
|
+
createdAt: Date;
|
|
1144
1144
|
blockers: string[];
|
|
1145
|
+
summary: string;
|
|
1145
1146
|
teamId: string;
|
|
1146
1147
|
projectId: string;
|
|
1147
|
-
createdAt: Date;
|
|
1148
1148
|
title: string;
|
|
1149
1149
|
artifactRefs: string[];
|
|
1150
1150
|
lessons: string[];
|
|
@@ -1163,19 +1163,19 @@ export declare const agentOperationalContentSchemas: {
|
|
|
1163
1163
|
contextRefs: string[];
|
|
1164
1164
|
} | undefined;
|
|
1165
1165
|
}, {
|
|
1166
|
+
status: "failed" | "completed" | "cancelled" | "suspended";
|
|
1166
1167
|
id: string;
|
|
1168
|
+
createdAt: Date;
|
|
1167
1169
|
summary: string;
|
|
1168
|
-
status: "completed" | "cancelled" | "failed" | "suspended";
|
|
1169
1170
|
teamId: string;
|
|
1170
1171
|
projectId: string;
|
|
1171
|
-
createdAt: Date;
|
|
1172
1172
|
title: string;
|
|
1173
1173
|
performance: {
|
|
1174
1174
|
outcome: string;
|
|
1175
1175
|
metrics?: Record<string, number> | undefined;
|
|
1176
1176
|
};
|
|
1177
|
-
description?: string | undefined;
|
|
1178
1177
|
blockers?: string[] | undefined;
|
|
1178
|
+
description?: string | undefined;
|
|
1179
1179
|
assignmentId?: string | undefined;
|
|
1180
1180
|
updatedAt?: Date | undefined;
|
|
1181
1181
|
workdayId?: string | undefined;
|
|
@@ -1262,11 +1262,11 @@ export declare const agentOperationalContentSchemas: {
|
|
|
1262
1262
|
evidenceRefs?: string[] | undefined;
|
|
1263
1263
|
}>, "many">;
|
|
1264
1264
|
}, "strict", z.ZodTypeAny, {
|
|
1265
|
-
id: string;
|
|
1266
1265
|
status: string;
|
|
1266
|
+
id: string;
|
|
1267
|
+
createdAt: Date;
|
|
1267
1268
|
teamId: string;
|
|
1268
1269
|
projectId: string;
|
|
1269
|
-
createdAt: Date;
|
|
1270
1270
|
title: string;
|
|
1271
1271
|
contextQueryRefs: {
|
|
1272
1272
|
id: string;
|
|
@@ -1300,11 +1300,11 @@ export declare const agentOperationalContentSchemas: {
|
|
|
1300
1300
|
workdayId?: string | undefined;
|
|
1301
1301
|
score?: number | undefined;
|
|
1302
1302
|
}, {
|
|
1303
|
-
id: string;
|
|
1304
1303
|
status: string;
|
|
1304
|
+
id: string;
|
|
1305
|
+
createdAt: Date;
|
|
1305
1306
|
teamId: string;
|
|
1306
1307
|
projectId: string;
|
|
1307
|
-
createdAt: Date;
|
|
1308
1308
|
title: string;
|
|
1309
1309
|
agentId: string;
|
|
1310
1310
|
outcome: "failed" | "passed" | "needs-revision";
|