@treeseed/sdk 0.13.0-rc.54 → 0.13.0-rc.56
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/contracts/capacity/providers/supply-policy.d.ts +0 -2
- package/dist/agent-capacity/contracts/configuration/configuration.js +1 -1
- package/dist/agent-capacity/validation/activity-profile.js +18 -9
- package/dist/agent-capacity/validation/agent-definition-schema.d.ts +715 -793
- package/dist/agent-capacity/validation/agent-definition-schema.js +8 -28
- package/dist/agent-capacity/validation/agent-lab-forensics-schema.d.ts +12 -12
- package/dist/capacity-provider/capability-ontology.d.ts +1211 -0
- package/dist/capacity-provider/capability-ontology.js +200 -0
- package/dist/capacity-provider/client.d.ts +3 -3
- package/dist/capacity-provider/contracts/governance.d.ts +63 -1
- package/dist/capacity-provider/core-capability-catalog.d.ts +47 -0
- package/dist/capacity-provider/core-capability-catalog.js +63 -0
- package/dist/capacity-provider/environment-catalog.d.ts +877 -0
- package/dist/capacity-provider/environment-catalog.js +116 -0
- package/dist/capacity-provider/index.d.ts +4 -0
- package/dist/capacity-provider/index.js +4 -0
- package/dist/capacity-provider/sandbox-contracts.d.ts +543 -0
- package/dist/capacity-provider/sandbox-contracts.js +86 -0
- package/dist/capacity-provider/validation.d.ts +3 -1
- package/dist/capacity-provider/validation.js +56 -0
- package/dist/content/validation/agent-operational-content-schemas.d.ts +76 -76
- package/dist/content/validation/auxiliary-content-schemas.d.ts +16 -16
- package/dist/content/validation/content-model-schemas.d.ts +1462 -1605
- package/dist/content/validation/portable-content-data.d.ts +139 -152
- package/dist/deployment/ai-mode.d.ts +4 -4
- package/dist/deployment/schemas.d.ts +410 -92
- package/dist/deployment/schemas.js +23 -1
- package/dist/development/schemas.d.ts +22 -22
- package/dist/operator-contracts/canonical-command-tree.js +45 -0
- package/dist/operator-contracts/catalog/capability-ontology-operations.d.ts +164 -0
- package/dist/operator-contracts/catalog/capability-ontology-operations.js +24 -0
- package/dist/operator-contracts/catalog/communication-operations.d.ts +50 -50
- package/dist/operator-contracts/catalog/control-plane-catalog.d.ts +6 -0
- package/dist/operator-contracts/catalog/control-plane-catalog.js +18 -0
- package/dist/operator-contracts/catalog/inbox-operations.d.ts +25 -25
- package/dist/operator-contracts/communication/contracts.d.ts +139 -139
- package/dist/operator-contracts/control-plane-operations.d.ts +588 -420
- package/dist/operator-contracts/control-plane-operations.js +7 -10
- package/dist/operator-contracts/inbox/contracts.d.ts +77 -77
- package/dist/operator-contracts/index.d.ts +1 -0
- package/dist/operator-contracts/index.js +1 -0
- package/dist/security/encrypted-envelope.d.ts +177 -0
- package/dist/security/encrypted-envelope.js +34 -0
- package/dist/security/envelope-codec.d.ts +38 -0
- package/dist/security/envelope-codec.js +96 -0
- package/dist/security/index.d.ts +2 -0
- package/dist/security/index.js +2 -0
- package/dist/types/agents/agent-activity-profile.d.ts +15 -33
- package/package.json +5 -1
|
@@ -197,6 +197,43 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
197
197
|
id: string;
|
|
198
198
|
revision: number;
|
|
199
199
|
}[]>>;
|
|
200
|
+
capabilityRequirements: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
201
|
+
capabilityId: import("zod").ZodString;
|
|
202
|
+
versionRange: import("zod").ZodString;
|
|
203
|
+
requirement: import("zod").ZodEnum<["required", "preferred"]>;
|
|
204
|
+
alternativeGroup: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
205
|
+
requiredFeatures: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodArray<import("zod").ZodString, "many">, string[], string[]>>;
|
|
206
|
+
configuration: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
|
207
|
+
value: import("zod").ZodUnknown;
|
|
208
|
+
requirement: import("zod").ZodEnum<["required", "preferred"]>;
|
|
209
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
210
|
+
requirement: "required" | "preferred";
|
|
211
|
+
value?: unknown;
|
|
212
|
+
}, {
|
|
213
|
+
requirement: "required" | "preferred";
|
|
214
|
+
value?: unknown;
|
|
215
|
+
}>>>;
|
|
216
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
217
|
+
capabilityId: string;
|
|
218
|
+
requirement: "required" | "preferred";
|
|
219
|
+
versionRange: string;
|
|
220
|
+
configuration?: Record<string, {
|
|
221
|
+
requirement: "required" | "preferred";
|
|
222
|
+
value?: unknown;
|
|
223
|
+
}> | undefined;
|
|
224
|
+
alternativeGroup?: string | null | undefined;
|
|
225
|
+
requiredFeatures?: string[] | undefined;
|
|
226
|
+
}, {
|
|
227
|
+
capabilityId: string;
|
|
228
|
+
requirement: "required" | "preferred";
|
|
229
|
+
versionRange: string;
|
|
230
|
+
configuration?: Record<string, {
|
|
231
|
+
requirement: "required" | "preferred";
|
|
232
|
+
value?: unknown;
|
|
233
|
+
}> | undefined;
|
|
234
|
+
alternativeGroup?: string | null | undefined;
|
|
235
|
+
requiredFeatures?: string[] | undefined;
|
|
236
|
+
}>, "many">>;
|
|
200
237
|
permissions: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
201
238
|
content: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
|
202
239
|
operations: import("zod").ZodEffects<import("zod").ZodArray<import("zod").ZodString, "many">, string[], string[]>;
|
|
@@ -328,52 +365,6 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
328
365
|
requiredArtifactKinds?: string[] | undefined;
|
|
329
366
|
blockOnOpenQuestions?: boolean | undefined;
|
|
330
367
|
}>>;
|
|
331
|
-
providerOverrides: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
332
|
-
requiredCapabilities: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodArray<import("zod").ZodString, "many">, string[], string[]>>;
|
|
333
|
-
disallowedProviderIds: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodArray<import("zod").ZodString, "many">, string[], string[]>>;
|
|
334
|
-
promptRef: import("zod").ZodOptional<import("zod").ZodString>;
|
|
335
|
-
instructionTemplateRefs: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodArray<import("zod").ZodObject<{
|
|
336
|
-
id: import("zod").ZodString;
|
|
337
|
-
revision: import("zod").ZodNumber;
|
|
338
|
-
}, "strict", import("zod").ZodTypeAny, {
|
|
339
|
-
id: string;
|
|
340
|
-
revision: number;
|
|
341
|
-
}, {
|
|
342
|
-
id: string;
|
|
343
|
-
revision: number;
|
|
344
|
-
}>, "many">, {
|
|
345
|
-
id: string;
|
|
346
|
-
revision: number;
|
|
347
|
-
}[], {
|
|
348
|
-
id: string;
|
|
349
|
-
revision: number;
|
|
350
|
-
}[]>>;
|
|
351
|
-
maxRuntimeSeconds: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
352
|
-
maxTotalTokens: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
353
|
-
maxCostAmount: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
354
|
-
}, "strict", import("zod").ZodTypeAny, {
|
|
355
|
-
requiredCapabilities?: string[] | undefined;
|
|
356
|
-
instructionTemplateRefs?: {
|
|
357
|
-
id: string;
|
|
358
|
-
revision: number;
|
|
359
|
-
}[] | undefined;
|
|
360
|
-
maxRuntimeSeconds?: number | undefined;
|
|
361
|
-
maxTotalTokens?: number | undefined;
|
|
362
|
-
maxCostAmount?: number | undefined;
|
|
363
|
-
disallowedProviderIds?: string[] | undefined;
|
|
364
|
-
promptRef?: string | undefined;
|
|
365
|
-
}, {
|
|
366
|
-
requiredCapabilities?: string[] | undefined;
|
|
367
|
-
instructionTemplateRefs?: {
|
|
368
|
-
id: string;
|
|
369
|
-
revision: number;
|
|
370
|
-
}[] | undefined;
|
|
371
|
-
maxRuntimeSeconds?: number | undefined;
|
|
372
|
-
maxTotalTokens?: number | undefined;
|
|
373
|
-
maxCostAmount?: number | undefined;
|
|
374
|
-
disallowedProviderIds?: string[] | undefined;
|
|
375
|
-
promptRef?: string | undefined;
|
|
376
|
-
}>>;
|
|
377
368
|
tools: import("zod").ZodObject<{
|
|
378
369
|
allowed: import("zod").ZodEffects<import("zod").ZodArray<import("zod").ZodString, "many">, string[], string[]>;
|
|
379
370
|
denied: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodArray<import("zod").ZodString, "many">, string[], string[]>>;
|
|
@@ -727,8 +718,8 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
727
718
|
agentSlug: import("zod").ZodOptional<import("zod").ZodString>;
|
|
728
719
|
}, "strict", import("zod").ZodTypeAny, {
|
|
729
720
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
730
|
-
projectId?: string | undefined;
|
|
731
721
|
teamId?: string | undefined;
|
|
722
|
+
projectId?: string | undefined;
|
|
732
723
|
agentSlug?: string | undefined;
|
|
733
724
|
requiredRoles?: string[] | undefined;
|
|
734
725
|
allowedRoles?: string[] | undefined;
|
|
@@ -738,8 +729,8 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
738
729
|
teamMemberId?: string | undefined;
|
|
739
730
|
}, {
|
|
740
731
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
741
|
-
projectId?: string | undefined;
|
|
742
732
|
teamId?: string | undefined;
|
|
733
|
+
projectId?: string | undefined;
|
|
743
734
|
agentSlug?: string | undefined;
|
|
744
735
|
requiredRoles?: string[] | undefined;
|
|
745
736
|
allowedRoles?: string[] | undefined;
|
|
@@ -751,8 +742,8 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
751
742
|
}, "strict", import("zod").ZodTypeAny, {
|
|
752
743
|
defaultAnswerPolicy?: {
|
|
753
744
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
754
|
-
projectId?: string | undefined;
|
|
755
745
|
teamId?: string | undefined;
|
|
746
|
+
projectId?: string | undefined;
|
|
756
747
|
agentSlug?: string | undefined;
|
|
757
748
|
requiredRoles?: string[] | undefined;
|
|
758
749
|
allowedRoles?: string[] | undefined;
|
|
@@ -765,8 +756,8 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
765
756
|
}, {
|
|
766
757
|
defaultAnswerPolicy?: {
|
|
767
758
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
768
|
-
projectId?: string | undefined;
|
|
769
759
|
teamId?: string | undefined;
|
|
760
|
+
projectId?: string | undefined;
|
|
770
761
|
agentSlug?: string | undefined;
|
|
771
762
|
requiredRoles?: string[] | undefined;
|
|
772
763
|
allowedRoles?: string[] | undefined;
|
|
@@ -812,6 +803,11 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
812
803
|
closeoutSeconds?: number | undefined;
|
|
813
804
|
closeoutWarningSeconds?: number | undefined;
|
|
814
805
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
806
|
+
nativeLimits?: {
|
|
807
|
+
amount: number;
|
|
808
|
+
unit: string;
|
|
809
|
+
enforceable?: boolean | undefined;
|
|
810
|
+
}[] | undefined;
|
|
815
811
|
maxRuntimeSeconds?: number | undefined;
|
|
816
812
|
maxRetries?: number | undefined;
|
|
817
813
|
verificationRequired?: boolean | undefined;
|
|
@@ -819,11 +815,6 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
819
815
|
warningTokens?: number | undefined;
|
|
820
816
|
maxCostAmount?: number | undefined;
|
|
821
817
|
costCurrency?: string | undefined;
|
|
822
|
-
nativeLimits?: {
|
|
823
|
-
amount: number;
|
|
824
|
-
unit: string;
|
|
825
|
-
enforceable?: boolean | undefined;
|
|
826
|
-
}[] | undefined;
|
|
827
818
|
pricingGeneration?: string | undefined;
|
|
828
819
|
allowedPaths?: string[] | undefined;
|
|
829
820
|
forbiddenPaths?: string[] | undefined;
|
|
@@ -833,6 +824,11 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
833
824
|
closeoutSeconds?: number | undefined;
|
|
834
825
|
closeoutWarningSeconds?: number | undefined;
|
|
835
826
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
827
|
+
nativeLimits?: {
|
|
828
|
+
amount: number;
|
|
829
|
+
unit: string;
|
|
830
|
+
enforceable?: boolean | undefined;
|
|
831
|
+
}[] | undefined;
|
|
836
832
|
maxRuntimeSeconds?: number | undefined;
|
|
837
833
|
maxRetries?: number | undefined;
|
|
838
834
|
verificationRequired?: boolean | undefined;
|
|
@@ -840,11 +836,6 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
840
836
|
warningTokens?: number | undefined;
|
|
841
837
|
maxCostAmount?: number | undefined;
|
|
842
838
|
costCurrency?: string | undefined;
|
|
843
|
-
nativeLimits?: {
|
|
844
|
-
amount: number;
|
|
845
|
-
unit: string;
|
|
846
|
-
enforceable?: boolean | undefined;
|
|
847
|
-
}[] | undefined;
|
|
848
839
|
pricingGeneration?: string | undefined;
|
|
849
840
|
allowedPaths?: string[] | undefined;
|
|
850
841
|
forbiddenPaths?: string[] | undefined;
|
|
@@ -881,6 +872,11 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
881
872
|
closeoutSeconds?: number | undefined;
|
|
882
873
|
closeoutWarningSeconds?: number | undefined;
|
|
883
874
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
875
|
+
nativeLimits?: {
|
|
876
|
+
amount: number;
|
|
877
|
+
unit: string;
|
|
878
|
+
enforceable?: boolean | undefined;
|
|
879
|
+
}[] | undefined;
|
|
884
880
|
maxRuntimeSeconds?: number | undefined;
|
|
885
881
|
maxRetries?: number | undefined;
|
|
886
882
|
verificationRequired?: boolean | undefined;
|
|
@@ -888,11 +884,6 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
888
884
|
warningTokens?: number | undefined;
|
|
889
885
|
maxCostAmount?: number | undefined;
|
|
890
886
|
costCurrency?: string | undefined;
|
|
891
|
-
nativeLimits?: {
|
|
892
|
-
amount: number;
|
|
893
|
-
unit: string;
|
|
894
|
-
enforceable?: boolean | undefined;
|
|
895
|
-
}[] | undefined;
|
|
896
887
|
pricingGeneration?: string | undefined;
|
|
897
888
|
allowedPaths?: string[] | undefined;
|
|
898
889
|
forbiddenPaths?: string[] | undefined;
|
|
@@ -910,6 +901,17 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
910
901
|
id: string;
|
|
911
902
|
revision: number;
|
|
912
903
|
}[] | undefined;
|
|
904
|
+
capabilityRequirements?: {
|
|
905
|
+
capabilityId: string;
|
|
906
|
+
requirement: "required" | "preferred";
|
|
907
|
+
versionRange: string;
|
|
908
|
+
configuration?: Record<string, {
|
|
909
|
+
requirement: "required" | "preferred";
|
|
910
|
+
value?: unknown;
|
|
911
|
+
}> | undefined;
|
|
912
|
+
alternativeGroup?: string | null | undefined;
|
|
913
|
+
requiredFeatures?: string[] | undefined;
|
|
914
|
+
}[] | undefined;
|
|
913
915
|
permissions?: {
|
|
914
916
|
repository?: {
|
|
915
917
|
allowCodeMutation?: boolean | undefined;
|
|
@@ -945,18 +947,6 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
945
947
|
requiredArtifactKinds?: string[] | undefined;
|
|
946
948
|
blockOnOpenQuestions?: boolean | undefined;
|
|
947
949
|
} | undefined;
|
|
948
|
-
providerOverrides?: {
|
|
949
|
-
requiredCapabilities?: string[] | undefined;
|
|
950
|
-
instructionTemplateRefs?: {
|
|
951
|
-
id: string;
|
|
952
|
-
revision: number;
|
|
953
|
-
}[] | undefined;
|
|
954
|
-
maxRuntimeSeconds?: number | undefined;
|
|
955
|
-
maxTotalTokens?: number | undefined;
|
|
956
|
-
maxCostAmount?: number | undefined;
|
|
957
|
-
disallowedProviderIds?: string[] | undefined;
|
|
958
|
-
promptRef?: string | undefined;
|
|
959
|
-
} | undefined;
|
|
960
950
|
signals?: {
|
|
961
951
|
subscribesTo?: {
|
|
962
952
|
contract: string;
|
|
@@ -1010,8 +1000,8 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1010
1000
|
questionPolicy?: {
|
|
1011
1001
|
defaultAnswerPolicy?: {
|
|
1012
1002
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
1013
|
-
projectId?: string | undefined;
|
|
1014
1003
|
teamId?: string | undefined;
|
|
1004
|
+
projectId?: string | undefined;
|
|
1015
1005
|
agentSlug?: string | undefined;
|
|
1016
1006
|
requiredRoles?: string[] | undefined;
|
|
1017
1007
|
allowedRoles?: string[] | undefined;
|
|
@@ -1054,6 +1044,11 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1054
1044
|
closeoutSeconds?: number | undefined;
|
|
1055
1045
|
closeoutWarningSeconds?: number | undefined;
|
|
1056
1046
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
1047
|
+
nativeLimits?: {
|
|
1048
|
+
amount: number;
|
|
1049
|
+
unit: string;
|
|
1050
|
+
enforceable?: boolean | undefined;
|
|
1051
|
+
}[] | undefined;
|
|
1057
1052
|
maxRuntimeSeconds?: number | undefined;
|
|
1058
1053
|
maxRetries?: number | undefined;
|
|
1059
1054
|
verificationRequired?: boolean | undefined;
|
|
@@ -1061,11 +1056,6 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1061
1056
|
warningTokens?: number | undefined;
|
|
1062
1057
|
maxCostAmount?: number | undefined;
|
|
1063
1058
|
costCurrency?: string | undefined;
|
|
1064
|
-
nativeLimits?: {
|
|
1065
|
-
amount: number;
|
|
1066
|
-
unit: string;
|
|
1067
|
-
enforceable?: boolean | undefined;
|
|
1068
|
-
}[] | undefined;
|
|
1069
1059
|
pricingGeneration?: string | undefined;
|
|
1070
1060
|
allowedPaths?: string[] | undefined;
|
|
1071
1061
|
forbiddenPaths?: string[] | undefined;
|
|
@@ -1083,6 +1073,17 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1083
1073
|
id: string;
|
|
1084
1074
|
revision: number;
|
|
1085
1075
|
}[] | undefined;
|
|
1076
|
+
capabilityRequirements?: {
|
|
1077
|
+
capabilityId: string;
|
|
1078
|
+
requirement: "required" | "preferred";
|
|
1079
|
+
versionRange: string;
|
|
1080
|
+
configuration?: Record<string, {
|
|
1081
|
+
requirement: "required" | "preferred";
|
|
1082
|
+
value?: unknown;
|
|
1083
|
+
}> | undefined;
|
|
1084
|
+
alternativeGroup?: string | null | undefined;
|
|
1085
|
+
requiredFeatures?: string[] | undefined;
|
|
1086
|
+
}[] | undefined;
|
|
1086
1087
|
permissions?: {
|
|
1087
1088
|
repository?: {
|
|
1088
1089
|
allowCodeMutation?: boolean | undefined;
|
|
@@ -1118,18 +1119,6 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1118
1119
|
requiredArtifactKinds?: string[] | undefined;
|
|
1119
1120
|
blockOnOpenQuestions?: boolean | undefined;
|
|
1120
1121
|
} | undefined;
|
|
1121
|
-
providerOverrides?: {
|
|
1122
|
-
requiredCapabilities?: string[] | undefined;
|
|
1123
|
-
instructionTemplateRefs?: {
|
|
1124
|
-
id: string;
|
|
1125
|
-
revision: number;
|
|
1126
|
-
}[] | undefined;
|
|
1127
|
-
maxRuntimeSeconds?: number | undefined;
|
|
1128
|
-
maxTotalTokens?: number | undefined;
|
|
1129
|
-
maxCostAmount?: number | undefined;
|
|
1130
|
-
disallowedProviderIds?: string[] | undefined;
|
|
1131
|
-
promptRef?: string | undefined;
|
|
1132
|
-
} | undefined;
|
|
1133
1122
|
signals?: {
|
|
1134
1123
|
subscribesTo?: {
|
|
1135
1124
|
contract: string;
|
|
@@ -1183,8 +1172,8 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1183
1172
|
questionPolicy?: {
|
|
1184
1173
|
defaultAnswerPolicy?: {
|
|
1185
1174
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
1186
|
-
projectId?: string | undefined;
|
|
1187
1175
|
teamId?: string | undefined;
|
|
1176
|
+
projectId?: string | undefined;
|
|
1188
1177
|
agentSlug?: string | undefined;
|
|
1189
1178
|
requiredRoles?: string[] | undefined;
|
|
1190
1179
|
allowedRoles?: string[] | undefined;
|
|
@@ -1227,6 +1216,11 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1227
1216
|
closeoutSeconds?: number | undefined;
|
|
1228
1217
|
closeoutWarningSeconds?: number | undefined;
|
|
1229
1218
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
1219
|
+
nativeLimits?: {
|
|
1220
|
+
amount: number;
|
|
1221
|
+
unit: string;
|
|
1222
|
+
enforceable?: boolean | undefined;
|
|
1223
|
+
}[] | undefined;
|
|
1230
1224
|
maxRuntimeSeconds?: number | undefined;
|
|
1231
1225
|
maxRetries?: number | undefined;
|
|
1232
1226
|
verificationRequired?: boolean | undefined;
|
|
@@ -1234,11 +1228,6 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1234
1228
|
warningTokens?: number | undefined;
|
|
1235
1229
|
maxCostAmount?: number | undefined;
|
|
1236
1230
|
costCurrency?: string | undefined;
|
|
1237
|
-
nativeLimits?: {
|
|
1238
|
-
amount: number;
|
|
1239
|
-
unit: string;
|
|
1240
|
-
enforceable?: boolean | undefined;
|
|
1241
|
-
}[] | undefined;
|
|
1242
1231
|
pricingGeneration?: string | undefined;
|
|
1243
1232
|
allowedPaths?: string[] | undefined;
|
|
1244
1233
|
forbiddenPaths?: string[] | undefined;
|
|
@@ -1256,6 +1245,17 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1256
1245
|
id: string;
|
|
1257
1246
|
revision: number;
|
|
1258
1247
|
}[] | undefined;
|
|
1248
|
+
capabilityRequirements?: {
|
|
1249
|
+
capabilityId: string;
|
|
1250
|
+
requirement: "required" | "preferred";
|
|
1251
|
+
versionRange: string;
|
|
1252
|
+
configuration?: Record<string, {
|
|
1253
|
+
requirement: "required" | "preferred";
|
|
1254
|
+
value?: unknown;
|
|
1255
|
+
}> | undefined;
|
|
1256
|
+
alternativeGroup?: string | null | undefined;
|
|
1257
|
+
requiredFeatures?: string[] | undefined;
|
|
1258
|
+
}[] | undefined;
|
|
1259
1259
|
permissions?: {
|
|
1260
1260
|
repository?: {
|
|
1261
1261
|
allowCodeMutation?: boolean | undefined;
|
|
@@ -1291,18 +1291,6 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1291
1291
|
requiredArtifactKinds?: string[] | undefined;
|
|
1292
1292
|
blockOnOpenQuestions?: boolean | undefined;
|
|
1293
1293
|
} | undefined;
|
|
1294
|
-
providerOverrides?: {
|
|
1295
|
-
requiredCapabilities?: string[] | undefined;
|
|
1296
|
-
instructionTemplateRefs?: {
|
|
1297
|
-
id: string;
|
|
1298
|
-
revision: number;
|
|
1299
|
-
}[] | undefined;
|
|
1300
|
-
maxRuntimeSeconds?: number | undefined;
|
|
1301
|
-
maxTotalTokens?: number | undefined;
|
|
1302
|
-
maxCostAmount?: number | undefined;
|
|
1303
|
-
disallowedProviderIds?: string[] | undefined;
|
|
1304
|
-
promptRef?: string | undefined;
|
|
1305
|
-
} | undefined;
|
|
1306
1294
|
signals?: {
|
|
1307
1295
|
subscribesTo?: {
|
|
1308
1296
|
contract: string;
|
|
@@ -1356,8 +1344,8 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1356
1344
|
questionPolicy?: {
|
|
1357
1345
|
defaultAnswerPolicy?: {
|
|
1358
1346
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
1359
|
-
projectId?: string | undefined;
|
|
1360
1347
|
teamId?: string | undefined;
|
|
1348
|
+
projectId?: string | undefined;
|
|
1361
1349
|
agentSlug?: string | undefined;
|
|
1362
1350
|
requiredRoles?: string[] | undefined;
|
|
1363
1351
|
allowedRoles?: string[] | undefined;
|
|
@@ -1400,6 +1388,11 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1400
1388
|
closeoutSeconds?: number | undefined;
|
|
1401
1389
|
closeoutWarningSeconds?: number | undefined;
|
|
1402
1390
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
1391
|
+
nativeLimits?: {
|
|
1392
|
+
amount: number;
|
|
1393
|
+
unit: string;
|
|
1394
|
+
enforceable?: boolean | undefined;
|
|
1395
|
+
}[] | undefined;
|
|
1403
1396
|
maxRuntimeSeconds?: number | undefined;
|
|
1404
1397
|
maxRetries?: number | undefined;
|
|
1405
1398
|
verificationRequired?: boolean | undefined;
|
|
@@ -1407,11 +1400,6 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1407
1400
|
warningTokens?: number | undefined;
|
|
1408
1401
|
maxCostAmount?: number | undefined;
|
|
1409
1402
|
costCurrency?: string | undefined;
|
|
1410
|
-
nativeLimits?: {
|
|
1411
|
-
amount: number;
|
|
1412
|
-
unit: string;
|
|
1413
|
-
enforceable?: boolean | undefined;
|
|
1414
|
-
}[] | undefined;
|
|
1415
1403
|
pricingGeneration?: string | undefined;
|
|
1416
1404
|
allowedPaths?: string[] | undefined;
|
|
1417
1405
|
forbiddenPaths?: string[] | undefined;
|
|
@@ -1429,6 +1417,17 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1429
1417
|
id: string;
|
|
1430
1418
|
revision: number;
|
|
1431
1419
|
}[] | undefined;
|
|
1420
|
+
capabilityRequirements?: {
|
|
1421
|
+
capabilityId: string;
|
|
1422
|
+
requirement: "required" | "preferred";
|
|
1423
|
+
versionRange: string;
|
|
1424
|
+
configuration?: Record<string, {
|
|
1425
|
+
requirement: "required" | "preferred";
|
|
1426
|
+
value?: unknown;
|
|
1427
|
+
}> | undefined;
|
|
1428
|
+
alternativeGroup?: string | null | undefined;
|
|
1429
|
+
requiredFeatures?: string[] | undefined;
|
|
1430
|
+
}[] | undefined;
|
|
1432
1431
|
permissions?: {
|
|
1433
1432
|
repository?: {
|
|
1434
1433
|
allowCodeMutation?: boolean | undefined;
|
|
@@ -1464,18 +1463,6 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1464
1463
|
requiredArtifactKinds?: string[] | undefined;
|
|
1465
1464
|
blockOnOpenQuestions?: boolean | undefined;
|
|
1466
1465
|
} | undefined;
|
|
1467
|
-
providerOverrides?: {
|
|
1468
|
-
requiredCapabilities?: string[] | undefined;
|
|
1469
|
-
instructionTemplateRefs?: {
|
|
1470
|
-
id: string;
|
|
1471
|
-
revision: number;
|
|
1472
|
-
}[] | undefined;
|
|
1473
|
-
maxRuntimeSeconds?: number | undefined;
|
|
1474
|
-
maxTotalTokens?: number | undefined;
|
|
1475
|
-
maxCostAmount?: number | undefined;
|
|
1476
|
-
disallowedProviderIds?: string[] | undefined;
|
|
1477
|
-
promptRef?: string | undefined;
|
|
1478
|
-
} | undefined;
|
|
1479
1466
|
signals?: {
|
|
1480
1467
|
subscribesTo?: {
|
|
1481
1468
|
contract: string;
|
|
@@ -1529,8 +1516,8 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1529
1516
|
questionPolicy?: {
|
|
1530
1517
|
defaultAnswerPolicy?: {
|
|
1531
1518
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
1532
|
-
projectId?: string | undefined;
|
|
1533
1519
|
teamId?: string | undefined;
|
|
1520
|
+
projectId?: string | undefined;
|
|
1534
1521
|
agentSlug?: string | undefined;
|
|
1535
1522
|
requiredRoles?: string[] | undefined;
|
|
1536
1523
|
allowedRoles?: string[] | undefined;
|
|
@@ -1597,8 +1584,8 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1597
1584
|
releases: {
|
|
1598
1585
|
status: string;
|
|
1599
1586
|
deploymentKind: string;
|
|
1600
|
-
id?: string | undefined;
|
|
1601
1587
|
createdAt?: Date | undefined;
|
|
1588
|
+
id?: string | undefined;
|
|
1602
1589
|
startedAt?: Date | undefined;
|
|
1603
1590
|
commitSha?: string | null | undefined;
|
|
1604
1591
|
finishedAt?: Date | undefined;
|
|
@@ -1607,8 +1594,8 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1607
1594
|
}[];
|
|
1608
1595
|
scaleDecision: Record<string, unknown>;
|
|
1609
1596
|
scaleResult: Record<string, unknown>;
|
|
1610
|
-
createdAt?: Date | undefined;
|
|
1611
1597
|
teamId?: string | undefined;
|
|
1598
|
+
createdAt?: Date | undefined;
|
|
1612
1599
|
endedAt?: Date | null | undefined;
|
|
1613
1600
|
prioritySnapshotId?: string | null | undefined;
|
|
1614
1601
|
} | {
|
|
@@ -1706,6 +1693,7 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1706
1693
|
} | undefined;
|
|
1707
1694
|
maxLatencyMs?: number | undefined;
|
|
1708
1695
|
} | {
|
|
1696
|
+
purpose: string;
|
|
1709
1697
|
id: string;
|
|
1710
1698
|
target: {
|
|
1711
1699
|
kind: "code" | "content" | "mixed" | "graph";
|
|
@@ -1714,11 +1702,11 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1714
1702
|
};
|
|
1715
1703
|
required: boolean;
|
|
1716
1704
|
revision: number;
|
|
1705
|
+
format: "map" | "summary" | "list" | "full" | "brief" | "sources";
|
|
1717
1706
|
description: string;
|
|
1718
1707
|
query: string;
|
|
1719
1708
|
depth: number;
|
|
1720
1709
|
title: string;
|
|
1721
|
-
purpose: string;
|
|
1722
1710
|
filters: Record<string, unknown>;
|
|
1723
1711
|
maturity: "draft" | "validated" | "simulated" | "proven";
|
|
1724
1712
|
relations: import("../../sdk-types/support/sdk-search-request.js").SdkGraphDslRelation[];
|
|
@@ -1728,7 +1716,6 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1728
1716
|
maxCharacters?: number | undefined;
|
|
1729
1717
|
};
|
|
1730
1718
|
tokenBudget: number;
|
|
1731
|
-
format: "map" | "summary" | "list" | "full" | "brief" | "sources";
|
|
1732
1719
|
scope?: string | undefined;
|
|
1733
1720
|
codeScopes?: string[] | undefined;
|
|
1734
1721
|
} | {
|
|
@@ -1760,12 +1747,12 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1760
1747
|
groupIds: string[];
|
|
1761
1748
|
parentTopicId?: string | undefined;
|
|
1762
1749
|
} | {
|
|
1750
|
+
teamId: string;
|
|
1763
1751
|
status: "ready" | "active" | "completed" | "superseded" | "draft";
|
|
1752
|
+
createdAt: Date;
|
|
1764
1753
|
id: string;
|
|
1765
1754
|
projectId: string;
|
|
1766
|
-
createdAt: Date;
|
|
1767
1755
|
revision: number;
|
|
1768
|
-
teamId: string;
|
|
1769
1756
|
objective: string;
|
|
1770
1757
|
completed: {
|
|
1771
1758
|
id: string;
|
|
@@ -1783,10 +1770,10 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1783
1770
|
description: string;
|
|
1784
1771
|
title: string;
|
|
1785
1772
|
}[];
|
|
1773
|
+
assignmentId?: string | undefined;
|
|
1786
1774
|
description?: string | undefined;
|
|
1787
1775
|
decisionId?: string | undefined;
|
|
1788
1776
|
capacityPlanId?: string | undefined;
|
|
1789
|
-
assignmentId?: string | undefined;
|
|
1790
1777
|
updatedAt?: Date | undefined;
|
|
1791
1778
|
workdayId?: string | undefined;
|
|
1792
1779
|
resumeState?: {
|
|
@@ -1795,17 +1782,17 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1795
1782
|
contextRefs: string[];
|
|
1796
1783
|
} | undefined;
|
|
1797
1784
|
} | {
|
|
1785
|
+
teamId: string;
|
|
1786
|
+
sequence: number;
|
|
1798
1787
|
status: "pending" | "failed" | "running" | "completed" | "cancelled" | "admitted" | "suspended" | "waiting" | "leased";
|
|
1788
|
+
createdAt: Date;
|
|
1799
1789
|
id: string;
|
|
1800
1790
|
projectId: string;
|
|
1801
|
-
createdAt: Date;
|
|
1802
|
-
teamId: string;
|
|
1803
|
-
sequence: number;
|
|
1804
1791
|
title: string;
|
|
1805
1792
|
phase: string;
|
|
1793
|
+
assignmentId?: string | undefined;
|
|
1806
1794
|
reason?: string | undefined;
|
|
1807
1795
|
description?: string | undefined;
|
|
1808
|
-
assignmentId?: string | undefined;
|
|
1809
1796
|
updatedAt?: Date | undefined;
|
|
1810
1797
|
workdayId?: string | undefined;
|
|
1811
1798
|
previousStatusRef?: {
|
|
@@ -1814,13 +1801,13 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1814
1801
|
} | undefined;
|
|
1815
1802
|
progress?: number | undefined;
|
|
1816
1803
|
} | {
|
|
1804
|
+
teamId: string;
|
|
1817
1805
|
status: "failed" | "completed" | "cancelled" | "suspended";
|
|
1806
|
+
createdAt: Date;
|
|
1818
1807
|
id: string;
|
|
1819
1808
|
projectId: string;
|
|
1820
|
-
createdAt: Date;
|
|
1821
1809
|
blockers: string[];
|
|
1822
1810
|
summary: string;
|
|
1823
|
-
teamId: string;
|
|
1824
1811
|
title: string;
|
|
1825
1812
|
artifactRefs: string[];
|
|
1826
1813
|
lessons: string[];
|
|
@@ -1829,8 +1816,8 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1829
1816
|
metrics: Record<string, number>;
|
|
1830
1817
|
};
|
|
1831
1818
|
verificationRefs: string[];
|
|
1832
|
-
description?: string | undefined;
|
|
1833
1819
|
assignmentId?: string | undefined;
|
|
1820
|
+
description?: string | undefined;
|
|
1834
1821
|
updatedAt?: Date | undefined;
|
|
1835
1822
|
workdayId?: string | undefined;
|
|
1836
1823
|
resumeState?: {
|
|
@@ -1839,11 +1826,11 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1839
1826
|
contextRefs: string[];
|
|
1840
1827
|
} | undefined;
|
|
1841
1828
|
} | {
|
|
1829
|
+
teamId: string;
|
|
1842
1830
|
status: string;
|
|
1831
|
+
createdAt: Date;
|
|
1843
1832
|
id: string;
|
|
1844
1833
|
projectId: string;
|
|
1845
|
-
createdAt: Date;
|
|
1846
|
-
teamId: string;
|
|
1847
1834
|
outcome: "passed" | "failed" | "needs-revision";
|
|
1848
1835
|
title: string;
|
|
1849
1836
|
contextQueryRefs: {
|
|
@@ -1871,8 +1858,8 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1871
1858
|
evidenceRefs: string[];
|
|
1872
1859
|
notes?: string | undefined;
|
|
1873
1860
|
}[];
|
|
1874
|
-
description?: string | undefined;
|
|
1875
1861
|
assignmentId?: string | undefined;
|
|
1862
|
+
description?: string | undefined;
|
|
1876
1863
|
updatedAt?: Date | undefined;
|
|
1877
1864
|
workdayId?: string | undefined;
|
|
1878
1865
|
score?: number | undefined;
|
|
@@ -2000,10 +1987,10 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
2000
1987
|
decision_type?: "approved" | "rejected" | "deferred" | "superseded" | "request_changes" | undefined;
|
|
2001
1988
|
rationale?: string | undefined;
|
|
2002
1989
|
} | {
|
|
1990
|
+
schemaVersion: "treeseed.book/v2";
|
|
2003
1991
|
status: "review" | "archived" | "draft" | "published";
|
|
2004
1992
|
id: string;
|
|
2005
1993
|
visibility: "project" | "team" | "public" | "admin" | "authenticated";
|
|
2006
|
-
schemaVersion: "treeseed.book/v2";
|
|
2007
1994
|
order: number;
|
|
2008
1995
|
summary: string;
|
|
2009
1996
|
slug: string;
|
|
@@ -2013,10 +2000,10 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
2013
2000
|
groupIds?: string[] | undefined;
|
|
2014
2001
|
relatedBookIds?: string[] | undefined;
|
|
2015
2002
|
} | {
|
|
2003
|
+
schemaVersion: "treeseed.knowledge-page/v1";
|
|
2016
2004
|
status: "review" | "archived" | "draft" | "published";
|
|
2017
2005
|
id: string;
|
|
2018
2006
|
visibility: "project" | "team" | "public" | "admin" | "authenticated";
|
|
2019
|
-
schemaVersion: "treeseed.knowledge-page/v1";
|
|
2020
2007
|
summary: string;
|
|
2021
2008
|
slug: string;
|
|
2022
2009
|
title: string;
|
|
@@ -2046,7 +2033,7 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
2046
2033
|
participant_ids?: string[] | undefined;
|
|
2047
2034
|
agent_ids?: string[] | undefined;
|
|
2048
2035
|
parent_workday_id?: string | undefined;
|
|
2049
|
-
legacy_status?: "
|
|
2036
|
+
legacy_status?: "resolved" | "open" | undefined;
|
|
2050
2037
|
} | {
|
|
2051
2038
|
title: string;
|
|
2052
2039
|
created_at?: Date | undefined;
|
|
@@ -19,13 +19,13 @@ export declare const aiModeRequestSchema: z.ZodObject<{
|
|
|
19
19
|
idempotencyKey: z.ZodString;
|
|
20
20
|
drainTimeoutSeconds: z.ZodDefault<z.ZodNumber>;
|
|
21
21
|
}, "strict", z.ZodTypeAny, {
|
|
22
|
-
target: "awake" | "sleep";
|
|
23
22
|
schemaVersion: "treeseed.ai-mode-request/v1";
|
|
23
|
+
target: "awake" | "sleep";
|
|
24
24
|
idempotencyKey: string;
|
|
25
25
|
drainTimeoutSeconds: number;
|
|
26
26
|
}, {
|
|
27
|
-
target: "awake" | "sleep";
|
|
28
27
|
schemaVersion: "treeseed.ai-mode-request/v1";
|
|
28
|
+
target: "awake" | "sleep";
|
|
29
29
|
idempotencyKey: string;
|
|
30
30
|
drainTimeoutSeconds?: number | undefined;
|
|
31
31
|
}>;
|
|
@@ -421,8 +421,8 @@ export declare const aiModeInternalControlSchema: z.ZodObject<{
|
|
|
421
421
|
requestSchema: z.ZodLiteral<"treeseed.ai-mode-request/v1">;
|
|
422
422
|
receiptSchema: z.ZodLiteral<"treeseed.ai-mode-transition-receipt/v1">;
|
|
423
423
|
}, "strict", z.ZodTypeAny, {
|
|
424
|
-
path: string;
|
|
425
424
|
schemaVersion: "treeseed.ai-mode-internal-control/v1";
|
|
425
|
+
path: string;
|
|
426
426
|
transport: "mtls";
|
|
427
427
|
clientCommonName: "client-ai-lab-mode";
|
|
428
428
|
method: "POST";
|
|
@@ -435,8 +435,8 @@ export declare const aiModeInternalControlSchema: z.ZodObject<{
|
|
|
435
435
|
requestSchema: "treeseed.ai-mode-request/v1";
|
|
436
436
|
receiptSchema: "treeseed.ai-mode-transition-receipt/v1";
|
|
437
437
|
}, {
|
|
438
|
-
path: string;
|
|
439
438
|
schemaVersion: "treeseed.ai-mode-internal-control/v1";
|
|
439
|
+
path: string;
|
|
440
440
|
transport: "mtls";
|
|
441
441
|
clientCommonName: "client-ai-lab-mode";
|
|
442
442
|
method: "POST";
|