@treeseed/sdk 0.13.0-rc.24 → 0.13.0-rc.25
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 +48 -48
- package/dist/capacity-provider/client.d.ts +9 -0
- package/dist/capacity-provider/client.js +3 -0
- package/dist/content/validation/agent-operational-content-schemas.d.ts +48 -48
- package/dist/content/validation/auxiliary-content-schemas.d.ts +8 -8
- package/dist/content/validation/content-model-schemas.d.ts +159 -159
- package/dist/content/validation/portable-content-data.d.ts +19 -19
- package/dist/operator-contracts/canonical-command-tree.js +2 -0
- package/dist/operator-contracts/catalog/communication-operations.d.ts +90 -0
- package/dist/operator-contracts/catalog/communication-operations.js +38 -0
- package/dist/operator-contracts/communication/contracts.d.ts +250 -0
- package/dist/operator-contracts/communication/contracts.js +64 -0
- package/dist/operator-contracts/control-plane-operations.d.ts +89 -1
- package/dist/operator-contracts/control-plane-operations.js +3 -0
- package/dist/operator-contracts/index.d.ts +1 -0
- package/dist/operator-contracts/index.js +1 -0
- package/package.json +1 -1
|
@@ -707,9 +707,9 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
707
707
|
agentSlug: z.ZodOptional<z.ZodString>;
|
|
708
708
|
}, "strict", z.ZodTypeAny, {
|
|
709
709
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
710
|
+
teamId?: string | undefined;
|
|
710
711
|
projectId?: string | undefined;
|
|
711
712
|
agentSlug?: string | undefined;
|
|
712
|
-
teamId?: string | undefined;
|
|
713
713
|
requiredRoles?: string[] | undefined;
|
|
714
714
|
allowedRoles?: string[] | undefined;
|
|
715
715
|
allowedAgentIds?: string[] | undefined;
|
|
@@ -718,9 +718,9 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
718
718
|
teamMemberId?: string | undefined;
|
|
719
719
|
}, {
|
|
720
720
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
721
|
+
teamId?: string | undefined;
|
|
721
722
|
projectId?: string | undefined;
|
|
722
723
|
agentSlug?: string | undefined;
|
|
723
|
-
teamId?: string | undefined;
|
|
724
724
|
requiredRoles?: string[] | undefined;
|
|
725
725
|
allowedRoles?: string[] | undefined;
|
|
726
726
|
allowedAgentIds?: string[] | undefined;
|
|
@@ -731,9 +731,9 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
731
731
|
}, "strict", z.ZodTypeAny, {
|
|
732
732
|
defaultAnswerPolicy?: {
|
|
733
733
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
734
|
+
teamId?: string | undefined;
|
|
734
735
|
projectId?: string | undefined;
|
|
735
736
|
agentSlug?: string | undefined;
|
|
736
|
-
teamId?: string | undefined;
|
|
737
737
|
requiredRoles?: string[] | undefined;
|
|
738
738
|
allowedRoles?: string[] | undefined;
|
|
739
739
|
allowedAgentIds?: string[] | undefined;
|
|
@@ -745,9 +745,9 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
745
745
|
}, {
|
|
746
746
|
defaultAnswerPolicy?: {
|
|
747
747
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
748
|
+
teamId?: string | undefined;
|
|
748
749
|
projectId?: string | undefined;
|
|
749
750
|
agentSlug?: string | undefined;
|
|
750
|
-
teamId?: string | undefined;
|
|
751
751
|
requiredRoles?: string[] | undefined;
|
|
752
752
|
allowedRoles?: string[] | undefined;
|
|
753
753
|
allowedAgentIds?: string[] | undefined;
|
|
@@ -990,9 +990,9 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
990
990
|
questionPolicy?: {
|
|
991
991
|
defaultAnswerPolicy?: {
|
|
992
992
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
993
|
+
teamId?: string | undefined;
|
|
993
994
|
projectId?: string | undefined;
|
|
994
995
|
agentSlug?: string | undefined;
|
|
995
|
-
teamId?: string | undefined;
|
|
996
996
|
requiredRoles?: string[] | undefined;
|
|
997
997
|
allowedRoles?: string[] | undefined;
|
|
998
998
|
allowedAgentIds?: string[] | undefined;
|
|
@@ -1163,9 +1163,9 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1163
1163
|
questionPolicy?: {
|
|
1164
1164
|
defaultAnswerPolicy?: {
|
|
1165
1165
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
1166
|
+
teamId?: string | undefined;
|
|
1166
1167
|
projectId?: string | undefined;
|
|
1167
1168
|
agentSlug?: string | undefined;
|
|
1168
|
-
teamId?: string | undefined;
|
|
1169
1169
|
requiredRoles?: string[] | undefined;
|
|
1170
1170
|
allowedRoles?: string[] | undefined;
|
|
1171
1171
|
allowedAgentIds?: string[] | undefined;
|
|
@@ -1336,9 +1336,9 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1336
1336
|
questionPolicy?: {
|
|
1337
1337
|
defaultAnswerPolicy?: {
|
|
1338
1338
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
1339
|
+
teamId?: string | undefined;
|
|
1339
1340
|
projectId?: string | undefined;
|
|
1340
1341
|
agentSlug?: string | undefined;
|
|
1341
|
-
teamId?: string | undefined;
|
|
1342
1342
|
requiredRoles?: string[] | undefined;
|
|
1343
1343
|
allowedRoles?: string[] | undefined;
|
|
1344
1344
|
allowedAgentIds?: string[] | undefined;
|
|
@@ -1509,9 +1509,9 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1509
1509
|
questionPolicy?: {
|
|
1510
1510
|
defaultAnswerPolicy?: {
|
|
1511
1511
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
1512
|
+
teamId?: string | undefined;
|
|
1512
1513
|
projectId?: string | undefined;
|
|
1513
1514
|
agentSlug?: string | undefined;
|
|
1514
|
-
teamId?: string | undefined;
|
|
1515
1515
|
requiredRoles?: string[] | undefined;
|
|
1516
1516
|
allowedRoles?: string[] | undefined;
|
|
1517
1517
|
allowedAgentIds?: string[] | undefined;
|
|
@@ -2229,9 +2229,9 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2229
2229
|
agentSlug: z.ZodOptional<z.ZodString>;
|
|
2230
2230
|
}, "strict", z.ZodTypeAny, {
|
|
2231
2231
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
2232
|
+
teamId?: string | undefined;
|
|
2232
2233
|
projectId?: string | undefined;
|
|
2233
2234
|
agentSlug?: string | undefined;
|
|
2234
|
-
teamId?: string | undefined;
|
|
2235
2235
|
requiredRoles?: string[] | undefined;
|
|
2236
2236
|
allowedRoles?: string[] | undefined;
|
|
2237
2237
|
allowedAgentIds?: string[] | undefined;
|
|
@@ -2240,9 +2240,9 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2240
2240
|
teamMemberId?: string | undefined;
|
|
2241
2241
|
}, {
|
|
2242
2242
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
2243
|
+
teamId?: string | undefined;
|
|
2243
2244
|
projectId?: string | undefined;
|
|
2244
2245
|
agentSlug?: string | undefined;
|
|
2245
|
-
teamId?: string | undefined;
|
|
2246
2246
|
requiredRoles?: string[] | undefined;
|
|
2247
2247
|
allowedRoles?: string[] | undefined;
|
|
2248
2248
|
allowedAgentIds?: string[] | undefined;
|
|
@@ -2253,9 +2253,9 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2253
2253
|
}, "strict", z.ZodTypeAny, {
|
|
2254
2254
|
defaultAnswerPolicy?: {
|
|
2255
2255
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
2256
|
+
teamId?: string | undefined;
|
|
2256
2257
|
projectId?: string | undefined;
|
|
2257
2258
|
agentSlug?: string | undefined;
|
|
2258
|
-
teamId?: string | undefined;
|
|
2259
2259
|
requiredRoles?: string[] | undefined;
|
|
2260
2260
|
allowedRoles?: string[] | undefined;
|
|
2261
2261
|
allowedAgentIds?: string[] | undefined;
|
|
@@ -2267,9 +2267,9 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2267
2267
|
}, {
|
|
2268
2268
|
defaultAnswerPolicy?: {
|
|
2269
2269
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
2270
|
+
teamId?: string | undefined;
|
|
2270
2271
|
projectId?: string | undefined;
|
|
2271
2272
|
agentSlug?: string | undefined;
|
|
2272
|
-
teamId?: string | undefined;
|
|
2273
2273
|
requiredRoles?: string[] | undefined;
|
|
2274
2274
|
allowedRoles?: string[] | undefined;
|
|
2275
2275
|
allowedAgentIds?: string[] | undefined;
|
|
@@ -2512,9 +2512,9 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2512
2512
|
questionPolicy?: {
|
|
2513
2513
|
defaultAnswerPolicy?: {
|
|
2514
2514
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
2515
|
+
teamId?: string | undefined;
|
|
2515
2516
|
projectId?: string | undefined;
|
|
2516
2517
|
agentSlug?: string | undefined;
|
|
2517
|
-
teamId?: string | undefined;
|
|
2518
2518
|
requiredRoles?: string[] | undefined;
|
|
2519
2519
|
allowedRoles?: string[] | undefined;
|
|
2520
2520
|
allowedAgentIds?: string[] | undefined;
|
|
@@ -2685,9 +2685,9 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2685
2685
|
questionPolicy?: {
|
|
2686
2686
|
defaultAnswerPolicy?: {
|
|
2687
2687
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
2688
|
+
teamId?: string | undefined;
|
|
2688
2689
|
projectId?: string | undefined;
|
|
2689
2690
|
agentSlug?: string | undefined;
|
|
2690
|
-
teamId?: string | undefined;
|
|
2691
2691
|
requiredRoles?: string[] | undefined;
|
|
2692
2692
|
allowedRoles?: string[] | undefined;
|
|
2693
2693
|
allowedAgentIds?: string[] | undefined;
|
|
@@ -2858,9 +2858,9 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2858
2858
|
questionPolicy?: {
|
|
2859
2859
|
defaultAnswerPolicy?: {
|
|
2860
2860
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
2861
|
+
teamId?: string | undefined;
|
|
2861
2862
|
projectId?: string | undefined;
|
|
2862
2863
|
agentSlug?: string | undefined;
|
|
2863
|
-
teamId?: string | undefined;
|
|
2864
2864
|
requiredRoles?: string[] | undefined;
|
|
2865
2865
|
allowedRoles?: string[] | undefined;
|
|
2866
2866
|
allowedAgentIds?: string[] | undefined;
|
|
@@ -3031,9 +3031,9 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3031
3031
|
questionPolicy?: {
|
|
3032
3032
|
defaultAnswerPolicy?: {
|
|
3033
3033
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
3034
|
+
teamId?: string | undefined;
|
|
3034
3035
|
projectId?: string | undefined;
|
|
3035
3036
|
agentSlug?: string | undefined;
|
|
3036
|
-
teamId?: string | undefined;
|
|
3037
3037
|
requiredRoles?: string[] | undefined;
|
|
3038
3038
|
allowedRoles?: string[] | undefined;
|
|
3039
3039
|
allowedAgentIds?: string[] | undefined;
|
|
@@ -3751,9 +3751,9 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3751
3751
|
agentSlug: z.ZodOptional<z.ZodString>;
|
|
3752
3752
|
}, "strict", z.ZodTypeAny, {
|
|
3753
3753
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
3754
|
+
teamId?: string | undefined;
|
|
3754
3755
|
projectId?: string | undefined;
|
|
3755
3756
|
agentSlug?: string | undefined;
|
|
3756
|
-
teamId?: string | undefined;
|
|
3757
3757
|
requiredRoles?: string[] | undefined;
|
|
3758
3758
|
allowedRoles?: string[] | undefined;
|
|
3759
3759
|
allowedAgentIds?: string[] | undefined;
|
|
@@ -3762,9 +3762,9 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3762
3762
|
teamMemberId?: string | undefined;
|
|
3763
3763
|
}, {
|
|
3764
3764
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
3765
|
+
teamId?: string | undefined;
|
|
3765
3766
|
projectId?: string | undefined;
|
|
3766
3767
|
agentSlug?: string | undefined;
|
|
3767
|
-
teamId?: string | undefined;
|
|
3768
3768
|
requiredRoles?: string[] | undefined;
|
|
3769
3769
|
allowedRoles?: string[] | undefined;
|
|
3770
3770
|
allowedAgentIds?: string[] | undefined;
|
|
@@ -3775,9 +3775,9 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3775
3775
|
}, "strict", z.ZodTypeAny, {
|
|
3776
3776
|
defaultAnswerPolicy?: {
|
|
3777
3777
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
3778
|
+
teamId?: string | undefined;
|
|
3778
3779
|
projectId?: string | undefined;
|
|
3779
3780
|
agentSlug?: string | undefined;
|
|
3780
|
-
teamId?: string | undefined;
|
|
3781
3781
|
requiredRoles?: string[] | undefined;
|
|
3782
3782
|
allowedRoles?: string[] | undefined;
|
|
3783
3783
|
allowedAgentIds?: string[] | undefined;
|
|
@@ -3789,9 +3789,9 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3789
3789
|
}, {
|
|
3790
3790
|
defaultAnswerPolicy?: {
|
|
3791
3791
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
3792
|
+
teamId?: string | undefined;
|
|
3792
3793
|
projectId?: string | undefined;
|
|
3793
3794
|
agentSlug?: string | undefined;
|
|
3794
|
-
teamId?: string | undefined;
|
|
3795
3795
|
requiredRoles?: string[] | undefined;
|
|
3796
3796
|
allowedRoles?: string[] | undefined;
|
|
3797
3797
|
allowedAgentIds?: string[] | undefined;
|
|
@@ -4034,9 +4034,9 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4034
4034
|
questionPolicy?: {
|
|
4035
4035
|
defaultAnswerPolicy?: {
|
|
4036
4036
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
4037
|
+
teamId?: string | undefined;
|
|
4037
4038
|
projectId?: string | undefined;
|
|
4038
4039
|
agentSlug?: string | undefined;
|
|
4039
|
-
teamId?: string | undefined;
|
|
4040
4040
|
requiredRoles?: string[] | undefined;
|
|
4041
4041
|
allowedRoles?: string[] | undefined;
|
|
4042
4042
|
allowedAgentIds?: string[] | undefined;
|
|
@@ -4207,9 +4207,9 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4207
4207
|
questionPolicy?: {
|
|
4208
4208
|
defaultAnswerPolicy?: {
|
|
4209
4209
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
4210
|
+
teamId?: string | undefined;
|
|
4210
4211
|
projectId?: string | undefined;
|
|
4211
4212
|
agentSlug?: string | undefined;
|
|
4212
|
-
teamId?: string | undefined;
|
|
4213
4213
|
requiredRoles?: string[] | undefined;
|
|
4214
4214
|
allowedRoles?: string[] | undefined;
|
|
4215
4215
|
allowedAgentIds?: string[] | undefined;
|
|
@@ -4380,9 +4380,9 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4380
4380
|
questionPolicy?: {
|
|
4381
4381
|
defaultAnswerPolicy?: {
|
|
4382
4382
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
4383
|
+
teamId?: string | undefined;
|
|
4383
4384
|
projectId?: string | undefined;
|
|
4384
4385
|
agentSlug?: string | undefined;
|
|
4385
|
-
teamId?: string | undefined;
|
|
4386
4386
|
requiredRoles?: string[] | undefined;
|
|
4387
4387
|
allowedRoles?: string[] | undefined;
|
|
4388
4388
|
allowedAgentIds?: string[] | undefined;
|
|
@@ -4553,9 +4553,9 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4553
4553
|
questionPolicy?: {
|
|
4554
4554
|
defaultAnswerPolicy?: {
|
|
4555
4555
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
4556
|
+
teamId?: string | undefined;
|
|
4556
4557
|
projectId?: string | undefined;
|
|
4557
4558
|
agentSlug?: string | undefined;
|
|
4558
|
-
teamId?: string | undefined;
|
|
4559
4559
|
requiredRoles?: string[] | undefined;
|
|
4560
4560
|
allowedRoles?: string[] | undefined;
|
|
4561
4561
|
allowedAgentIds?: string[] | undefined;
|
|
@@ -5273,9 +5273,9 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5273
5273
|
agentSlug: z.ZodOptional<z.ZodString>;
|
|
5274
5274
|
}, "strict", z.ZodTypeAny, {
|
|
5275
5275
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
5276
|
+
teamId?: string | undefined;
|
|
5276
5277
|
projectId?: string | undefined;
|
|
5277
5278
|
agentSlug?: string | undefined;
|
|
5278
|
-
teamId?: string | undefined;
|
|
5279
5279
|
requiredRoles?: string[] | undefined;
|
|
5280
5280
|
allowedRoles?: string[] | undefined;
|
|
5281
5281
|
allowedAgentIds?: string[] | undefined;
|
|
@@ -5284,9 +5284,9 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5284
5284
|
teamMemberId?: string | undefined;
|
|
5285
5285
|
}, {
|
|
5286
5286
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
5287
|
+
teamId?: string | undefined;
|
|
5287
5288
|
projectId?: string | undefined;
|
|
5288
5289
|
agentSlug?: string | undefined;
|
|
5289
|
-
teamId?: string | undefined;
|
|
5290
5290
|
requiredRoles?: string[] | undefined;
|
|
5291
5291
|
allowedRoles?: string[] | undefined;
|
|
5292
5292
|
allowedAgentIds?: string[] | undefined;
|
|
@@ -5297,9 +5297,9 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5297
5297
|
}, "strict", z.ZodTypeAny, {
|
|
5298
5298
|
defaultAnswerPolicy?: {
|
|
5299
5299
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
5300
|
+
teamId?: string | undefined;
|
|
5300
5301
|
projectId?: string | undefined;
|
|
5301
5302
|
agentSlug?: string | undefined;
|
|
5302
|
-
teamId?: string | undefined;
|
|
5303
5303
|
requiredRoles?: string[] | undefined;
|
|
5304
5304
|
allowedRoles?: string[] | undefined;
|
|
5305
5305
|
allowedAgentIds?: string[] | undefined;
|
|
@@ -5311,9 +5311,9 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5311
5311
|
}, {
|
|
5312
5312
|
defaultAnswerPolicy?: {
|
|
5313
5313
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
5314
|
+
teamId?: string | undefined;
|
|
5314
5315
|
projectId?: string | undefined;
|
|
5315
5316
|
agentSlug?: string | undefined;
|
|
5316
|
-
teamId?: string | undefined;
|
|
5317
5317
|
requiredRoles?: string[] | undefined;
|
|
5318
5318
|
allowedRoles?: string[] | undefined;
|
|
5319
5319
|
allowedAgentIds?: string[] | undefined;
|
|
@@ -5556,9 +5556,9 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5556
5556
|
questionPolicy?: {
|
|
5557
5557
|
defaultAnswerPolicy?: {
|
|
5558
5558
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
5559
|
+
teamId?: string | undefined;
|
|
5559
5560
|
projectId?: string | undefined;
|
|
5560
5561
|
agentSlug?: string | undefined;
|
|
5561
|
-
teamId?: string | undefined;
|
|
5562
5562
|
requiredRoles?: string[] | undefined;
|
|
5563
5563
|
allowedRoles?: string[] | undefined;
|
|
5564
5564
|
allowedAgentIds?: string[] | undefined;
|
|
@@ -5729,9 +5729,9 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5729
5729
|
questionPolicy?: {
|
|
5730
5730
|
defaultAnswerPolicy?: {
|
|
5731
5731
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
5732
|
+
teamId?: string | undefined;
|
|
5732
5733
|
projectId?: string | undefined;
|
|
5733
5734
|
agentSlug?: string | undefined;
|
|
5734
|
-
teamId?: string | undefined;
|
|
5735
5735
|
requiredRoles?: string[] | undefined;
|
|
5736
5736
|
allowedRoles?: string[] | undefined;
|
|
5737
5737
|
allowedAgentIds?: string[] | undefined;
|
|
@@ -5902,9 +5902,9 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5902
5902
|
questionPolicy?: {
|
|
5903
5903
|
defaultAnswerPolicy?: {
|
|
5904
5904
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
5905
|
+
teamId?: string | undefined;
|
|
5905
5906
|
projectId?: string | undefined;
|
|
5906
5907
|
agentSlug?: string | undefined;
|
|
5907
|
-
teamId?: string | undefined;
|
|
5908
5908
|
requiredRoles?: string[] | undefined;
|
|
5909
5909
|
allowedRoles?: string[] | undefined;
|
|
5910
5910
|
allowedAgentIds?: string[] | undefined;
|
|
@@ -6075,9 +6075,9 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6075
6075
|
questionPolicy?: {
|
|
6076
6076
|
defaultAnswerPolicy?: {
|
|
6077
6077
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
6078
|
+
teamId?: string | undefined;
|
|
6078
6079
|
projectId?: string | undefined;
|
|
6079
6080
|
agentSlug?: string | undefined;
|
|
6080
|
-
teamId?: string | undefined;
|
|
6081
6081
|
requiredRoles?: string[] | undefined;
|
|
6082
6082
|
allowedRoles?: string[] | undefined;
|
|
6083
6083
|
allowedAgentIds?: string[] | undefined;
|
|
@@ -6795,9 +6795,9 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6795
6795
|
agentSlug: z.ZodOptional<z.ZodString>;
|
|
6796
6796
|
}, "strict", z.ZodTypeAny, {
|
|
6797
6797
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
6798
|
+
teamId?: string | undefined;
|
|
6798
6799
|
projectId?: string | undefined;
|
|
6799
6800
|
agentSlug?: string | undefined;
|
|
6800
|
-
teamId?: string | undefined;
|
|
6801
6801
|
requiredRoles?: string[] | undefined;
|
|
6802
6802
|
allowedRoles?: string[] | undefined;
|
|
6803
6803
|
allowedAgentIds?: string[] | undefined;
|
|
@@ -6806,9 +6806,9 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6806
6806
|
teamMemberId?: string | undefined;
|
|
6807
6807
|
}, {
|
|
6808
6808
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
6809
|
+
teamId?: string | undefined;
|
|
6809
6810
|
projectId?: string | undefined;
|
|
6810
6811
|
agentSlug?: string | undefined;
|
|
6811
|
-
teamId?: string | undefined;
|
|
6812
6812
|
requiredRoles?: string[] | undefined;
|
|
6813
6813
|
allowedRoles?: string[] | undefined;
|
|
6814
6814
|
allowedAgentIds?: string[] | undefined;
|
|
@@ -6819,9 +6819,9 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6819
6819
|
}, "strict", z.ZodTypeAny, {
|
|
6820
6820
|
defaultAnswerPolicy?: {
|
|
6821
6821
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
6822
|
+
teamId?: string | undefined;
|
|
6822
6823
|
projectId?: string | undefined;
|
|
6823
6824
|
agentSlug?: string | undefined;
|
|
6824
|
-
teamId?: string | undefined;
|
|
6825
6825
|
requiredRoles?: string[] | undefined;
|
|
6826
6826
|
allowedRoles?: string[] | undefined;
|
|
6827
6827
|
allowedAgentIds?: string[] | undefined;
|
|
@@ -6833,9 +6833,9 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6833
6833
|
}, {
|
|
6834
6834
|
defaultAnswerPolicy?: {
|
|
6835
6835
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
6836
|
+
teamId?: string | undefined;
|
|
6836
6837
|
projectId?: string | undefined;
|
|
6837
6838
|
agentSlug?: string | undefined;
|
|
6838
|
-
teamId?: string | undefined;
|
|
6839
6839
|
requiredRoles?: string[] | undefined;
|
|
6840
6840
|
allowedRoles?: string[] | undefined;
|
|
6841
6841
|
allowedAgentIds?: string[] | undefined;
|
|
@@ -7078,9 +7078,9 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7078
7078
|
questionPolicy?: {
|
|
7079
7079
|
defaultAnswerPolicy?: {
|
|
7080
7080
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
7081
|
+
teamId?: string | undefined;
|
|
7081
7082
|
projectId?: string | undefined;
|
|
7082
7083
|
agentSlug?: string | undefined;
|
|
7083
|
-
teamId?: string | undefined;
|
|
7084
7084
|
requiredRoles?: string[] | undefined;
|
|
7085
7085
|
allowedRoles?: string[] | undefined;
|
|
7086
7086
|
allowedAgentIds?: string[] | undefined;
|
|
@@ -7251,9 +7251,9 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7251
7251
|
questionPolicy?: {
|
|
7252
7252
|
defaultAnswerPolicy?: {
|
|
7253
7253
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
7254
|
+
teamId?: string | undefined;
|
|
7254
7255
|
projectId?: string | undefined;
|
|
7255
7256
|
agentSlug?: string | undefined;
|
|
7256
|
-
teamId?: string | undefined;
|
|
7257
7257
|
requiredRoles?: string[] | undefined;
|
|
7258
7258
|
allowedRoles?: string[] | undefined;
|
|
7259
7259
|
allowedAgentIds?: string[] | undefined;
|
|
@@ -7424,9 +7424,9 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7424
7424
|
questionPolicy?: {
|
|
7425
7425
|
defaultAnswerPolicy?: {
|
|
7426
7426
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
7427
|
+
teamId?: string | undefined;
|
|
7427
7428
|
projectId?: string | undefined;
|
|
7428
7429
|
agentSlug?: string | undefined;
|
|
7429
|
-
teamId?: string | undefined;
|
|
7430
7430
|
requiredRoles?: string[] | undefined;
|
|
7431
7431
|
allowedRoles?: string[] | undefined;
|
|
7432
7432
|
allowedAgentIds?: string[] | undefined;
|
|
@@ -7597,9 +7597,9 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7597
7597
|
questionPolicy?: {
|
|
7598
7598
|
defaultAnswerPolicy?: {
|
|
7599
7599
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
7600
|
+
teamId?: string | undefined;
|
|
7600
7601
|
projectId?: string | undefined;
|
|
7601
7602
|
agentSlug?: string | undefined;
|
|
7602
|
-
teamId?: string | undefined;
|
|
7603
7603
|
requiredRoles?: string[] | undefined;
|
|
7604
7604
|
allowedRoles?: string[] | undefined;
|
|
7605
7605
|
allowedAgentIds?: string[] | undefined;
|
|
@@ -8321,9 +8321,9 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
8321
8321
|
agentSlug: z.ZodOptional<z.ZodString>;
|
|
8322
8322
|
}, "strict", z.ZodTypeAny, {
|
|
8323
8323
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
8324
|
+
teamId?: string | undefined;
|
|
8324
8325
|
projectId?: string | undefined;
|
|
8325
8326
|
agentSlug?: string | undefined;
|
|
8326
|
-
teamId?: string | undefined;
|
|
8327
8327
|
requiredRoles?: string[] | undefined;
|
|
8328
8328
|
allowedRoles?: string[] | undefined;
|
|
8329
8329
|
allowedAgentIds?: string[] | undefined;
|
|
@@ -8332,9 +8332,9 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
8332
8332
|
teamMemberId?: string | undefined;
|
|
8333
8333
|
}, {
|
|
8334
8334
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
8335
|
+
teamId?: string | undefined;
|
|
8335
8336
|
projectId?: string | undefined;
|
|
8336
8337
|
agentSlug?: string | undefined;
|
|
8337
|
-
teamId?: string | undefined;
|
|
8338
8338
|
requiredRoles?: string[] | undefined;
|
|
8339
8339
|
allowedRoles?: string[] | undefined;
|
|
8340
8340
|
allowedAgentIds?: string[] | undefined;
|
|
@@ -8345,9 +8345,9 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
8345
8345
|
}, "strict", z.ZodTypeAny, {
|
|
8346
8346
|
defaultAnswerPolicy?: {
|
|
8347
8347
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
8348
|
+
teamId?: string | undefined;
|
|
8348
8349
|
projectId?: string | undefined;
|
|
8349
8350
|
agentSlug?: string | undefined;
|
|
8350
|
-
teamId?: string | undefined;
|
|
8351
8351
|
requiredRoles?: string[] | undefined;
|
|
8352
8352
|
allowedRoles?: string[] | undefined;
|
|
8353
8353
|
allowedAgentIds?: string[] | undefined;
|
|
@@ -8359,9 +8359,9 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
8359
8359
|
}, {
|
|
8360
8360
|
defaultAnswerPolicy?: {
|
|
8361
8361
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
8362
|
+
teamId?: string | undefined;
|
|
8362
8363
|
projectId?: string | undefined;
|
|
8363
8364
|
agentSlug?: string | undefined;
|
|
8364
|
-
teamId?: string | undefined;
|
|
8365
8365
|
requiredRoles?: string[] | undefined;
|
|
8366
8366
|
allowedRoles?: string[] | undefined;
|
|
8367
8367
|
allowedAgentIds?: string[] | undefined;
|
|
@@ -8604,9 +8604,9 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
8604
8604
|
questionPolicy?: {
|
|
8605
8605
|
defaultAnswerPolicy?: {
|
|
8606
8606
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
8607
|
+
teamId?: string | undefined;
|
|
8607
8608
|
projectId?: string | undefined;
|
|
8608
8609
|
agentSlug?: string | undefined;
|
|
8609
|
-
teamId?: string | undefined;
|
|
8610
8610
|
requiredRoles?: string[] | undefined;
|
|
8611
8611
|
allowedRoles?: string[] | undefined;
|
|
8612
8612
|
allowedAgentIds?: string[] | undefined;
|
|
@@ -8777,9 +8777,9 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
8777
8777
|
questionPolicy?: {
|
|
8778
8778
|
defaultAnswerPolicy?: {
|
|
8779
8779
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
8780
|
+
teamId?: string | undefined;
|
|
8780
8781
|
projectId?: string | undefined;
|
|
8781
8782
|
agentSlug?: string | undefined;
|
|
8782
|
-
teamId?: string | undefined;
|
|
8783
8783
|
requiredRoles?: string[] | undefined;
|
|
8784
8784
|
allowedRoles?: string[] | undefined;
|
|
8785
8785
|
allowedAgentIds?: string[] | undefined;
|
|
@@ -8950,9 +8950,9 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
8950
8950
|
questionPolicy?: {
|
|
8951
8951
|
defaultAnswerPolicy?: {
|
|
8952
8952
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
8953
|
+
teamId?: string | undefined;
|
|
8953
8954
|
projectId?: string | undefined;
|
|
8954
8955
|
agentSlug?: string | undefined;
|
|
8955
|
-
teamId?: string | undefined;
|
|
8956
8956
|
requiredRoles?: string[] | undefined;
|
|
8957
8957
|
allowedRoles?: string[] | undefined;
|
|
8958
8958
|
allowedAgentIds?: string[] | undefined;
|
|
@@ -9123,9 +9123,9 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
9123
9123
|
questionPolicy?: {
|
|
9124
9124
|
defaultAnswerPolicy?: {
|
|
9125
9125
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
9126
|
+
teamId?: string | undefined;
|
|
9126
9127
|
projectId?: string | undefined;
|
|
9127
9128
|
agentSlug?: string | undefined;
|
|
9128
|
-
teamId?: string | undefined;
|
|
9129
9129
|
requiredRoles?: string[] | undefined;
|
|
9130
9130
|
allowedRoles?: string[] | undefined;
|
|
9131
9131
|
allowedAgentIds?: string[] | undefined;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { ProviderAssignmentLifecycleRequest, ProviderAssignmentLifecycleResult, ProviderNextAssignmentRequest } from '../capacity/agents/agent-capacity.js';
|
|
2
2
|
import type { ProviderRuntimeEventInput } from '../agent-capacity/contracts/capacity/workdays/workday-records.js';
|
|
3
3
|
import type { CapacityProviderIdentity, CapacityProviderIdentityRotationRequest, CapacityProviderSignedProof, ProviderAccessTokenIssue, ProviderAvailabilitySession, ProviderCredentialIssuanceAuthorization, ProviderRegistrationRequest, ProviderRegistrationSubmission, ProviderTeamCredentialIssue } from './contracts/index.js';
|
|
4
|
+
import type { ProviderDiscussionResponseRequest } from '../operator-contracts/communication/contracts.js';
|
|
4
5
|
export interface ProviderProtocolClientOptions {
|
|
5
6
|
controlPlaneUrl: string;
|
|
6
7
|
accessToken?: string;
|
|
@@ -43,6 +44,14 @@ export declare class ProviderProtocolClient {
|
|
|
43
44
|
startAssignmentExecution(assignmentId: string, request: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
44
45
|
startAssignmentCloseout(assignmentId: string, request: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
45
46
|
preflightAssignmentCompletion(assignmentId: string, request: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
47
|
+
respondToAssignmentDiscussion(assignmentId: string, request: ProviderDiscussionResponseRequest, idempotencyKey: string): Promise<{
|
|
48
|
+
schemaVersion: "treeseed.provider-discussion-response-receipt/v1";
|
|
49
|
+
status: "responded";
|
|
50
|
+
assignmentId: string;
|
|
51
|
+
invocationId: string;
|
|
52
|
+
messageRef: string;
|
|
53
|
+
settledAt: string;
|
|
54
|
+
}>;
|
|
46
55
|
returnAssignment(assignmentId: string, request?: ProviderAssignmentLifecycleRequest): Promise<ProviderAssignmentLifecycleResult>;
|
|
47
56
|
completeAssignment(assignmentId: string, request?: ProviderAssignmentLifecycleRequest): Promise<ProviderAssignmentLifecycleResult>;
|
|
48
57
|
failAssignment(assignmentId: string, request?: ProviderAssignmentLifecycleRequest): Promise<ProviderAssignmentLifecycleResult>;
|
|
@@ -126,6 +126,9 @@ class ProviderProtocolClient {
|
|
|
126
126
|
preflightAssignmentCompletion(assignmentId, request) {
|
|
127
127
|
return this.invoke(CONTROL_PLANE_OPERATIONS.providers.completionPreflight, { path: { assignmentId }, body: request });
|
|
128
128
|
}
|
|
129
|
+
respondToAssignmentDiscussion(assignmentId, request, idempotencyKey) {
|
|
130
|
+
return this.invoke(CONTROL_PLANE_OPERATIONS.providers.discussionResponse, { path: { assignmentId }, body: request }, { idempotencyKey });
|
|
131
|
+
}
|
|
129
132
|
returnAssignment(assignmentId, request = {}) {
|
|
130
133
|
return this.invoke(CONTROL_PLANE_OPERATIONS.providers.returnAssignment, { path: { assignmentId }, body: request });
|
|
131
134
|
}
|