@adea-ai/sdk 1.3.3 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/operations.d.ts +38 -2
- package/dist/operations.d.ts.map +1 -1
- package/openapi/control-plane.v3.json +265 -77
- package/package.json +2 -2
package/dist/operations.d.ts
CHANGED
|
@@ -894,7 +894,7 @@ export declare const ControlApiOperations: Readonly<{
|
|
|
894
894
|
payloadHash: import("zod").ZodString;
|
|
895
895
|
operation: import("zod").ZodLiteral<"execution.validate">;
|
|
896
896
|
issuedAt: import("zod").ZodISODateTime;
|
|
897
|
-
payload: import("zod").ZodObject<{
|
|
897
|
+
payload: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
898
898
|
taskId: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"task ID">, string>>;
|
|
899
899
|
agentId: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"Agent ID">, string>>;
|
|
900
900
|
profileVersionId: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"profile-version ID">, string>>;
|
|
@@ -904,12 +904,30 @@ export declare const ControlApiOperations: Readonly<{
|
|
|
904
904
|
projectId: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"project ID">, string>>;
|
|
905
905
|
revision: import("zod").ZodNumber;
|
|
906
906
|
}, import("zod/v4/core").$strip>;
|
|
907
|
+
policySnapshot: import("zod").ZodObject<{
|
|
908
|
+
policySnapshotId: import("zod").ZodString;
|
|
909
|
+
revision: import("zod").ZodNumber;
|
|
910
|
+
contentDigest: import("zod").ZodString;
|
|
911
|
+
}, import("zod/v4/core").$strip>;
|
|
912
|
+
runtimeRequirements: import("zod").ZodArray<import("zod").ZodString>;
|
|
913
|
+
outputContractRef: import("zod").ZodString;
|
|
907
914
|
contextPackage: import("zod").ZodObject<{
|
|
908
915
|
contextPackageId: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"ContextPackage ID">, string>>;
|
|
909
916
|
contentDigest: import("zod").ZodString;
|
|
910
917
|
schemaVersion: import("zod").ZodNumber;
|
|
911
918
|
compilerVersion: import("zod").ZodString;
|
|
912
919
|
}, import("zod/v4/core").$strip>;
|
|
920
|
+
contextInputs: import("zod").ZodOptional<import("zod").ZodNever>;
|
|
921
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
922
|
+
taskId: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"task ID">, string>>;
|
|
923
|
+
agentId: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"Agent ID">, string>>;
|
|
924
|
+
profileVersionId: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"profile-version ID">, string>>;
|
|
925
|
+
skillVersionIds: import("zod").ZodArray<import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"skill-version ID">, string>>>;
|
|
926
|
+
projectState: import("zod").ZodObject<{
|
|
927
|
+
workspaceId: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"workspace ID">, string>>;
|
|
928
|
+
projectId: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"project ID">, string>>;
|
|
929
|
+
revision: import("zod").ZodNumber;
|
|
930
|
+
}, import("zod/v4/core").$strip>;
|
|
913
931
|
policySnapshot: import("zod").ZodObject<{
|
|
914
932
|
policySnapshotId: import("zod").ZodString;
|
|
915
933
|
revision: import("zod").ZodNumber;
|
|
@@ -917,7 +935,25 @@ export declare const ControlApiOperations: Readonly<{
|
|
|
917
935
|
}, import("zod/v4/core").$strip>;
|
|
918
936
|
runtimeRequirements: import("zod").ZodArray<import("zod").ZodString>;
|
|
919
937
|
outputContractRef: import("zod").ZodString;
|
|
920
|
-
|
|
938
|
+
contextPackage: import("zod").ZodOptional<import("zod").ZodNever>;
|
|
939
|
+
contextInputs: import("zod").ZodObject<{
|
|
940
|
+
objective: import("zod").ZodString;
|
|
941
|
+
candidates: import("zod").ZodArray<import("zod").ZodObject<{
|
|
942
|
+
itemId: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"ProjectState-item ID">, string>>;
|
|
943
|
+
itemRevision: import("zod").ZodNumber;
|
|
944
|
+
required: import("zod").ZodBoolean;
|
|
945
|
+
priority: import("zod").ZodNumber;
|
|
946
|
+
}, import("zod/v4/core").$strict>>;
|
|
947
|
+
successCriteria: import("zod").ZodArray<import("zod").ZodString>;
|
|
948
|
+
returnContract: import("zod").ZodObject<{
|
|
949
|
+
contractRef: import("zod").ZodString;
|
|
950
|
+
}, import("zod/v4/core").$strict>;
|
|
951
|
+
budgets: import("zod").ZodObject<{
|
|
952
|
+
maximumBytes: import("zod").ZodNumber;
|
|
953
|
+
maximumTokens: import("zod").ZodNumber;
|
|
954
|
+
}, import("zod/v4/core").$strict>;
|
|
955
|
+
}, import("zod/v4/core").$strict>;
|
|
956
|
+
}, import("zod/v4/core").$strip>]>;
|
|
921
957
|
}, import("zod/v4/core").$strip>;
|
|
922
958
|
readonly responseSchema: import("zod").ZodObject<{
|
|
923
959
|
contractVersion: import("zod").ZodObject<{
|
package/dist/operations.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../src/operations.ts"],"names":[],"mappings":"AA6BA,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../src/operations.ts"],"names":[],"mappings":"AA6BA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4FtB,CAAA;AAEX,MAAM,MAAM,uBAAuB,GAAG,MAAM,OAAO,oBAAoB,CAAA"}
|
|
@@ -868,100 +868,288 @@
|
|
|
868
868
|
},
|
|
869
869
|
"operation": { "const": "execution.validate", "type": "string" },
|
|
870
870
|
"payload": {
|
|
871
|
-
"
|
|
872
|
-
|
|
873
|
-
"contextPackage": {
|
|
871
|
+
"anyOf": [
|
|
872
|
+
{
|
|
874
873
|
"properties": {
|
|
875
|
-
"
|
|
876
|
-
|
|
877
|
-
"contextPackageId": {
|
|
878
|
-
"pattern": "^ctx_[0-9A-HJKMNP-TV-Z]{26}$",
|
|
874
|
+
"agentId": {
|
|
875
|
+
"pattern": "^agt_[0-9A-HJKMNP-TV-Z]{26}$",
|
|
879
876
|
"type": "string"
|
|
880
877
|
},
|
|
881
|
-
"
|
|
882
|
-
|
|
883
|
-
"
|
|
884
|
-
|
|
885
|
-
|
|
878
|
+
"contextInputs": { "not": {} },
|
|
879
|
+
"contextPackage": {
|
|
880
|
+
"properties": {
|
|
881
|
+
"compilerVersion": {
|
|
882
|
+
"maxLength": 64,
|
|
883
|
+
"minLength": 1,
|
|
884
|
+
"type": "string"
|
|
885
|
+
},
|
|
886
|
+
"contentDigest": {
|
|
887
|
+
"pattern": "^sha256:[a-f0-9]{64}$",
|
|
888
|
+
"type": "string"
|
|
889
|
+
},
|
|
890
|
+
"contextPackageId": {
|
|
891
|
+
"pattern": "^ctx_[0-9A-HJKMNP-TV-Z]{26}$",
|
|
892
|
+
"type": "string"
|
|
893
|
+
},
|
|
894
|
+
"schemaVersion": {
|
|
895
|
+
"exclusiveMinimum": 0,
|
|
896
|
+
"maximum": 9007199254740991,
|
|
897
|
+
"type": "integer"
|
|
898
|
+
}
|
|
899
|
+
},
|
|
900
|
+
"required": [
|
|
901
|
+
"contextPackageId",
|
|
902
|
+
"contentDigest",
|
|
903
|
+
"schemaVersion",
|
|
904
|
+
"compilerVersion"
|
|
905
|
+
],
|
|
906
|
+
"type": "object"
|
|
907
|
+
},
|
|
908
|
+
"outputContractRef": {
|
|
909
|
+
"maxLength": 512,
|
|
910
|
+
"minLength": 1,
|
|
911
|
+
"type": "string"
|
|
912
|
+
},
|
|
913
|
+
"policySnapshot": {
|
|
914
|
+
"properties": {
|
|
915
|
+
"contentDigest": {
|
|
916
|
+
"pattern": "^sha256:[a-f0-9]{64}$",
|
|
917
|
+
"type": "string"
|
|
918
|
+
},
|
|
919
|
+
"policySnapshotId": {
|
|
920
|
+
"maxLength": 256,
|
|
921
|
+
"minLength": 1,
|
|
922
|
+
"type": "string"
|
|
923
|
+
},
|
|
924
|
+
"revision": {
|
|
925
|
+
"exclusiveMinimum": 0,
|
|
926
|
+
"maximum": 9007199254740991,
|
|
927
|
+
"type": "integer"
|
|
928
|
+
}
|
|
929
|
+
},
|
|
930
|
+
"required": ["policySnapshotId", "revision", "contentDigest"],
|
|
931
|
+
"type": "object"
|
|
932
|
+
},
|
|
933
|
+
"profileVersionId": {
|
|
934
|
+
"pattern": "^pfv_[0-9A-HJKMNP-TV-Z]{26}$",
|
|
935
|
+
"type": "string"
|
|
936
|
+
},
|
|
937
|
+
"projectState": {
|
|
938
|
+
"properties": {
|
|
939
|
+
"projectId": {
|
|
940
|
+
"pattern": "^prj_[0-9A-HJKMNP-TV-Z]{26}$",
|
|
941
|
+
"type": "string"
|
|
942
|
+
},
|
|
943
|
+
"revision": {
|
|
944
|
+
"maximum": 9007199254740991,
|
|
945
|
+
"minimum": 0,
|
|
946
|
+
"type": "integer"
|
|
947
|
+
},
|
|
948
|
+
"workspaceId": {
|
|
949
|
+
"pattern": "^wsp_[0-9A-HJKMNP-TV-Z]{26}$",
|
|
950
|
+
"type": "string"
|
|
951
|
+
}
|
|
952
|
+
},
|
|
953
|
+
"required": ["workspaceId", "projectId", "revision"],
|
|
954
|
+
"type": "object"
|
|
955
|
+
},
|
|
956
|
+
"runtimeRequirements": {
|
|
957
|
+
"items": {
|
|
958
|
+
"maxLength": 128,
|
|
959
|
+
"minLength": 1,
|
|
960
|
+
"pattern": "^[a-z][a-z0-9.-]*$",
|
|
961
|
+
"type": "string"
|
|
962
|
+
},
|
|
963
|
+
"maxItems": 128,
|
|
964
|
+
"type": "array"
|
|
965
|
+
},
|
|
966
|
+
"skillVersionIds": {
|
|
967
|
+
"items": {
|
|
968
|
+
"pattern": "^skv_[0-9A-HJKMNP-TV-Z]{26}$",
|
|
969
|
+
"type": "string"
|
|
970
|
+
},
|
|
971
|
+
"maxItems": 128,
|
|
972
|
+
"type": "array"
|
|
973
|
+
},
|
|
974
|
+
"taskId": { "pattern": "^tsk_[0-9A-HJKMNP-TV-Z]{26}$", "type": "string" }
|
|
886
975
|
},
|
|
887
976
|
"required": [
|
|
888
|
-
"
|
|
889
|
-
"
|
|
890
|
-
"
|
|
891
|
-
"
|
|
977
|
+
"taskId",
|
|
978
|
+
"agentId",
|
|
979
|
+
"profileVersionId",
|
|
980
|
+
"skillVersionIds",
|
|
981
|
+
"projectState",
|
|
982
|
+
"policySnapshot",
|
|
983
|
+
"runtimeRequirements",
|
|
984
|
+
"outputContractRef",
|
|
985
|
+
"contextPackage"
|
|
892
986
|
],
|
|
893
987
|
"type": "object"
|
|
894
988
|
},
|
|
895
|
-
|
|
896
|
-
"policySnapshot": {
|
|
989
|
+
{
|
|
897
990
|
"properties": {
|
|
898
|
-
"
|
|
899
|
-
|
|
900
|
-
"maxLength": 256,
|
|
901
|
-
"minLength": 1,
|
|
991
|
+
"agentId": {
|
|
992
|
+
"pattern": "^agt_[0-9A-HJKMNP-TV-Z]{26}$",
|
|
902
993
|
"type": "string"
|
|
903
994
|
},
|
|
904
|
-
"
|
|
905
|
-
"
|
|
906
|
-
"
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
995
|
+
"contextInputs": {
|
|
996
|
+
"additionalProperties": false,
|
|
997
|
+
"properties": {
|
|
998
|
+
"budgets": {
|
|
999
|
+
"additionalProperties": false,
|
|
1000
|
+
"properties": {
|
|
1001
|
+
"maximumBytes": {
|
|
1002
|
+
"exclusiveMinimum": 0,
|
|
1003
|
+
"maximum": 9007199254740991,
|
|
1004
|
+
"type": "integer"
|
|
1005
|
+
},
|
|
1006
|
+
"maximumTokens": {
|
|
1007
|
+
"exclusiveMinimum": 0,
|
|
1008
|
+
"maximum": 9007199254740991,
|
|
1009
|
+
"type": "integer"
|
|
1010
|
+
}
|
|
1011
|
+
},
|
|
1012
|
+
"required": ["maximumBytes", "maximumTokens"],
|
|
1013
|
+
"type": "object"
|
|
1014
|
+
},
|
|
1015
|
+
"candidates": {
|
|
1016
|
+
"items": {
|
|
1017
|
+
"additionalProperties": false,
|
|
1018
|
+
"properties": {
|
|
1019
|
+
"itemId": {
|
|
1020
|
+
"pattern": "^psi_[0-9A-HJKMNP-TV-Z]{26}$",
|
|
1021
|
+
"type": "string"
|
|
1022
|
+
},
|
|
1023
|
+
"itemRevision": {
|
|
1024
|
+
"exclusiveMinimum": 0,
|
|
1025
|
+
"maximum": 9007199254740991,
|
|
1026
|
+
"type": "integer"
|
|
1027
|
+
},
|
|
1028
|
+
"priority": {
|
|
1029
|
+
"maximum": 9007199254740991,
|
|
1030
|
+
"minimum": -9007199254740991,
|
|
1031
|
+
"type": "integer"
|
|
1032
|
+
},
|
|
1033
|
+
"required": { "type": "boolean" }
|
|
1034
|
+
},
|
|
1035
|
+
"required": ["itemId", "itemRevision", "required", "priority"],
|
|
1036
|
+
"type": "object"
|
|
1037
|
+
},
|
|
1038
|
+
"maxItems": 10000,
|
|
1039
|
+
"type": "array"
|
|
1040
|
+
},
|
|
1041
|
+
"objective": { "maxLength": 16384, "minLength": 1, "type": "string" },
|
|
1042
|
+
"returnContract": {
|
|
1043
|
+
"additionalProperties": false,
|
|
1044
|
+
"properties": {
|
|
1045
|
+
"contractRef": {
|
|
1046
|
+
"maxLength": 512,
|
|
1047
|
+
"minLength": 1,
|
|
1048
|
+
"type": "string"
|
|
1049
|
+
}
|
|
1050
|
+
},
|
|
1051
|
+
"required": ["contractRef"],
|
|
1052
|
+
"type": "object"
|
|
1053
|
+
},
|
|
1054
|
+
"successCriteria": {
|
|
1055
|
+
"items": { "maxLength": 4096, "minLength": 1, "type": "string" },
|
|
1056
|
+
"maxItems": 128,
|
|
1057
|
+
"minItems": 1,
|
|
1058
|
+
"type": "array"
|
|
1059
|
+
}
|
|
1060
|
+
},
|
|
1061
|
+
"required": [
|
|
1062
|
+
"objective",
|
|
1063
|
+
"candidates",
|
|
1064
|
+
"successCriteria",
|
|
1065
|
+
"returnContract",
|
|
1066
|
+
"budgets"
|
|
1067
|
+
],
|
|
1068
|
+
"type": "object"
|
|
1069
|
+
},
|
|
1070
|
+
"contextPackage": { "not": {} },
|
|
1071
|
+
"outputContractRef": {
|
|
1072
|
+
"maxLength": 512,
|
|
1073
|
+
"minLength": 1,
|
|
921
1074
|
"type": "string"
|
|
922
1075
|
},
|
|
923
|
-
"
|
|
924
|
-
"
|
|
925
|
-
|
|
926
|
-
|
|
1076
|
+
"policySnapshot": {
|
|
1077
|
+
"properties": {
|
|
1078
|
+
"contentDigest": {
|
|
1079
|
+
"pattern": "^sha256:[a-f0-9]{64}$",
|
|
1080
|
+
"type": "string"
|
|
1081
|
+
},
|
|
1082
|
+
"policySnapshotId": {
|
|
1083
|
+
"maxLength": 256,
|
|
1084
|
+
"minLength": 1,
|
|
1085
|
+
"type": "string"
|
|
1086
|
+
},
|
|
1087
|
+
"revision": {
|
|
1088
|
+
"exclusiveMinimum": 0,
|
|
1089
|
+
"maximum": 9007199254740991,
|
|
1090
|
+
"type": "integer"
|
|
1091
|
+
}
|
|
1092
|
+
},
|
|
1093
|
+
"required": ["policySnapshotId", "revision", "contentDigest"],
|
|
1094
|
+
"type": "object"
|
|
927
1095
|
},
|
|
928
|
-
"
|
|
929
|
-
"pattern": "^
|
|
1096
|
+
"profileVersionId": {
|
|
1097
|
+
"pattern": "^pfv_[0-9A-HJKMNP-TV-Z]{26}$",
|
|
930
1098
|
"type": "string"
|
|
931
|
-
}
|
|
1099
|
+
},
|
|
1100
|
+
"projectState": {
|
|
1101
|
+
"properties": {
|
|
1102
|
+
"projectId": {
|
|
1103
|
+
"pattern": "^prj_[0-9A-HJKMNP-TV-Z]{26}$",
|
|
1104
|
+
"type": "string"
|
|
1105
|
+
},
|
|
1106
|
+
"revision": {
|
|
1107
|
+
"maximum": 9007199254740991,
|
|
1108
|
+
"minimum": 0,
|
|
1109
|
+
"type": "integer"
|
|
1110
|
+
},
|
|
1111
|
+
"workspaceId": {
|
|
1112
|
+
"pattern": "^wsp_[0-9A-HJKMNP-TV-Z]{26}$",
|
|
1113
|
+
"type": "string"
|
|
1114
|
+
}
|
|
1115
|
+
},
|
|
1116
|
+
"required": ["workspaceId", "projectId", "revision"],
|
|
1117
|
+
"type": "object"
|
|
1118
|
+
},
|
|
1119
|
+
"runtimeRequirements": {
|
|
1120
|
+
"items": {
|
|
1121
|
+
"maxLength": 128,
|
|
1122
|
+
"minLength": 1,
|
|
1123
|
+
"pattern": "^[a-z][a-z0-9.-]*$",
|
|
1124
|
+
"type": "string"
|
|
1125
|
+
},
|
|
1126
|
+
"maxItems": 128,
|
|
1127
|
+
"type": "array"
|
|
1128
|
+
},
|
|
1129
|
+
"skillVersionIds": {
|
|
1130
|
+
"items": {
|
|
1131
|
+
"pattern": "^skv_[0-9A-HJKMNP-TV-Z]{26}$",
|
|
1132
|
+
"type": "string"
|
|
1133
|
+
},
|
|
1134
|
+
"maxItems": 128,
|
|
1135
|
+
"type": "array"
|
|
1136
|
+
},
|
|
1137
|
+
"taskId": { "pattern": "^tsk_[0-9A-HJKMNP-TV-Z]{26}$", "type": "string" }
|
|
932
1138
|
},
|
|
933
|
-
"required": [
|
|
1139
|
+
"required": [
|
|
1140
|
+
"taskId",
|
|
1141
|
+
"agentId",
|
|
1142
|
+
"profileVersionId",
|
|
1143
|
+
"skillVersionIds",
|
|
1144
|
+
"projectState",
|
|
1145
|
+
"policySnapshot",
|
|
1146
|
+
"runtimeRequirements",
|
|
1147
|
+
"outputContractRef",
|
|
1148
|
+
"contextInputs"
|
|
1149
|
+
],
|
|
934
1150
|
"type": "object"
|
|
935
|
-
}
|
|
936
|
-
|
|
937
|
-
"items": {
|
|
938
|
-
"maxLength": 128,
|
|
939
|
-
"minLength": 1,
|
|
940
|
-
"pattern": "^[a-z][a-z0-9.-]*$",
|
|
941
|
-
"type": "string"
|
|
942
|
-
},
|
|
943
|
-
"maxItems": 128,
|
|
944
|
-
"type": "array"
|
|
945
|
-
},
|
|
946
|
-
"skillVersionIds": {
|
|
947
|
-
"items": { "pattern": "^skv_[0-9A-HJKMNP-TV-Z]{26}$", "type": "string" },
|
|
948
|
-
"maxItems": 128,
|
|
949
|
-
"type": "array"
|
|
950
|
-
},
|
|
951
|
-
"taskId": { "pattern": "^tsk_[0-9A-HJKMNP-TV-Z]{26}$", "type": "string" }
|
|
952
|
-
},
|
|
953
|
-
"required": [
|
|
954
|
-
"taskId",
|
|
955
|
-
"agentId",
|
|
956
|
-
"profileVersionId",
|
|
957
|
-
"skillVersionIds",
|
|
958
|
-
"projectState",
|
|
959
|
-
"contextPackage",
|
|
960
|
-
"policySnapshot",
|
|
961
|
-
"runtimeRequirements",
|
|
962
|
-
"outputContractRef"
|
|
963
|
-
],
|
|
964
|
-
"type": "object"
|
|
1151
|
+
}
|
|
1152
|
+
]
|
|
965
1153
|
},
|
|
966
1154
|
"payloadHash": { "pattern": "^[a-f0-9]{64}$", "type": "string" },
|
|
967
1155
|
"projectId": { "pattern": "^prj_[0-9A-HJKMNP-TV-Z]{26}$", "type": "string" },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adea-ai/sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"description": "Typed client for the Control Plane API with transport, response mapping, OpenAPI baseline, and testing helpers.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agents",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"test": "bun test src/*.test.mjs"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@adea-ai/contracts": "^1.
|
|
52
|
+
"@adea-ai/contracts": "^1.6.0"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"zod": "4.5.4"
|