@adea-ai/sdk 1.9.0 → 1.10.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 +55 -15
- package/dist/operations.d.ts.map +1 -1
- package/openapi/control-plane.v3.json +281 -65
- package/package.json +2 -2
package/dist/operations.d.ts
CHANGED
|
@@ -34,15 +34,23 @@ export declare const ControlApiOperations: Readonly<{
|
|
|
34
34
|
all: "all";
|
|
35
35
|
any: "any";
|
|
36
36
|
}>>;
|
|
37
|
-
operation: import("zod").ZodObject<{
|
|
37
|
+
operation: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
38
38
|
kind: import("zod").ZodEnum<{
|
|
39
39
|
delegation: "delegation";
|
|
40
40
|
model: "model";
|
|
41
41
|
runtime: "runtime";
|
|
42
|
-
tool: "tool";
|
|
43
42
|
}>;
|
|
44
43
|
name: import("zod").ZodString;
|
|
45
|
-
}, import("zod/v4/core").$strict
|
|
44
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
45
|
+
kind: import("zod").ZodLiteral<"tool">;
|
|
46
|
+
name: import("zod").ZodString;
|
|
47
|
+
toolPin: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
48
|
+
toolDefinitionId: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"tool-definition ID">, string>>;
|
|
49
|
+
toolVersionId: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"tool-version ID">, string>>;
|
|
50
|
+
contentDigest: import("zod").ZodString;
|
|
51
|
+
operation: import("zod").ZodString;
|
|
52
|
+
}, import("zod/v4/core").$strict>>;
|
|
53
|
+
}, import("zod/v4/core").$strict>], "kind">;
|
|
46
54
|
}, import("zod/v4/core").$strict>>;
|
|
47
55
|
edges: import("zod").ZodArray<import("zod").ZodObject<{
|
|
48
56
|
from: import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodLiteral<"__start__">]>;
|
|
@@ -100,15 +108,23 @@ export declare const ControlApiOperations: Readonly<{
|
|
|
100
108
|
all: "all";
|
|
101
109
|
any: "any";
|
|
102
110
|
}>>;
|
|
103
|
-
operation: import("zod").ZodObject<{
|
|
111
|
+
operation: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
104
112
|
kind: import("zod").ZodEnum<{
|
|
105
113
|
delegation: "delegation";
|
|
106
114
|
model: "model";
|
|
107
115
|
runtime: "runtime";
|
|
108
|
-
tool: "tool";
|
|
109
116
|
}>;
|
|
110
117
|
name: import("zod").ZodString;
|
|
111
|
-
}, import("zod/v4/core").$strict
|
|
118
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
119
|
+
kind: import("zod").ZodLiteral<"tool">;
|
|
120
|
+
name: import("zod").ZodString;
|
|
121
|
+
toolPin: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
122
|
+
toolDefinitionId: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"tool-definition ID">, string>>;
|
|
123
|
+
toolVersionId: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"tool-version ID">, string>>;
|
|
124
|
+
contentDigest: import("zod").ZodString;
|
|
125
|
+
operation: import("zod").ZodString;
|
|
126
|
+
}, import("zod/v4/core").$strict>>;
|
|
127
|
+
}, import("zod/v4/core").$strict>], "kind">;
|
|
112
128
|
}, import("zod/v4/core").$strict>>;
|
|
113
129
|
edges: import("zod").ZodArray<import("zod").ZodObject<{
|
|
114
130
|
from: import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodLiteral<"__start__">]>;
|
|
@@ -205,15 +221,23 @@ export declare const ControlApiOperations: Readonly<{
|
|
|
205
221
|
all: "all";
|
|
206
222
|
any: "any";
|
|
207
223
|
}>>;
|
|
208
|
-
operation: import("zod").ZodObject<{
|
|
224
|
+
operation: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
209
225
|
kind: import("zod").ZodEnum<{
|
|
210
226
|
delegation: "delegation";
|
|
211
227
|
model: "model";
|
|
212
228
|
runtime: "runtime";
|
|
213
|
-
tool: "tool";
|
|
214
229
|
}>;
|
|
215
230
|
name: import("zod").ZodString;
|
|
216
|
-
}, import("zod/v4/core").$strict
|
|
231
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
232
|
+
kind: import("zod").ZodLiteral<"tool">;
|
|
233
|
+
name: import("zod").ZodString;
|
|
234
|
+
toolPin: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
235
|
+
toolDefinitionId: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"tool-definition ID">, string>>;
|
|
236
|
+
toolVersionId: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"tool-version ID">, string>>;
|
|
237
|
+
contentDigest: import("zod").ZodString;
|
|
238
|
+
operation: import("zod").ZodString;
|
|
239
|
+
}, import("zod/v4/core").$strict>>;
|
|
240
|
+
}, import("zod/v4/core").$strict>], "kind">;
|
|
217
241
|
}, import("zod/v4/core").$strict>>;
|
|
218
242
|
edges: import("zod").ZodArray<import("zod").ZodObject<{
|
|
219
243
|
from: import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodLiteral<"__start__">]>;
|
|
@@ -310,15 +334,23 @@ export declare const ControlApiOperations: Readonly<{
|
|
|
310
334
|
all: "all";
|
|
311
335
|
any: "any";
|
|
312
336
|
}>>;
|
|
313
|
-
operation: import("zod").ZodObject<{
|
|
337
|
+
operation: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
314
338
|
kind: import("zod").ZodEnum<{
|
|
315
339
|
delegation: "delegation";
|
|
316
340
|
model: "model";
|
|
317
341
|
runtime: "runtime";
|
|
318
|
-
tool: "tool";
|
|
319
342
|
}>;
|
|
320
343
|
name: import("zod").ZodString;
|
|
321
|
-
}, import("zod/v4/core").$strict
|
|
344
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
345
|
+
kind: import("zod").ZodLiteral<"tool">;
|
|
346
|
+
name: import("zod").ZodString;
|
|
347
|
+
toolPin: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
348
|
+
toolDefinitionId: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"tool-definition ID">, string>>;
|
|
349
|
+
toolVersionId: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"tool-version ID">, string>>;
|
|
350
|
+
contentDigest: import("zod").ZodString;
|
|
351
|
+
operation: import("zod").ZodString;
|
|
352
|
+
}, import("zod/v4/core").$strict>>;
|
|
353
|
+
}, import("zod/v4/core").$strict>], "kind">;
|
|
322
354
|
}, import("zod/v4/core").$strict>>;
|
|
323
355
|
edges: import("zod").ZodArray<import("zod").ZodObject<{
|
|
324
356
|
from: import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodLiteral<"__start__">]>;
|
|
@@ -410,15 +442,23 @@ export declare const ControlApiOperations: Readonly<{
|
|
|
410
442
|
all: "all";
|
|
411
443
|
any: "any";
|
|
412
444
|
}>>;
|
|
413
|
-
operation: import("zod").ZodObject<{
|
|
445
|
+
operation: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
414
446
|
kind: import("zod").ZodEnum<{
|
|
415
447
|
delegation: "delegation";
|
|
416
448
|
model: "model";
|
|
417
449
|
runtime: "runtime";
|
|
418
|
-
tool: "tool";
|
|
419
450
|
}>;
|
|
420
451
|
name: import("zod").ZodString;
|
|
421
|
-
}, import("zod/v4/core").$strict
|
|
452
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
453
|
+
kind: import("zod").ZodLiteral<"tool">;
|
|
454
|
+
name: import("zod").ZodString;
|
|
455
|
+
toolPin: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
456
|
+
toolDefinitionId: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"tool-definition ID">, string>>;
|
|
457
|
+
toolVersionId: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@adea-ai/contracts").OpaqueIdentifier<"tool-version ID">, string>>;
|
|
458
|
+
contentDigest: import("zod").ZodString;
|
|
459
|
+
operation: import("zod").ZodString;
|
|
460
|
+
}, import("zod/v4/core").$strict>>;
|
|
461
|
+
}, import("zod/v4/core").$strict>], "kind">;
|
|
422
462
|
}, import("zod/v4/core").$strict>>;
|
|
423
463
|
edges: import("zod").ZodArray<import("zod").ZodObject<{
|
|
424
464
|
from: import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodLiteral<"__start__">]>;
|
package/dist/operations.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../src/operations.ts"],"names":[],"mappings":"AAwCA,eAAO,MAAM,oBAAoB;;iBAE7B,SAAS,EAAE,eAAe;iBAC1B,MAAM,EAAE,MAAM;iBACd,IAAI,EAAE,oBAAoB;iBAC1B,aAAa
|
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../src/operations.ts"],"names":[],"mappings":"AAwCA,eAAO,MAAM,oBAAoB;;iBAE7B,SAAS,EAAE,eAAe;iBAC1B,MAAM,EAAE,MAAM;iBACd,IAAI,EAAE,oBAAoB;iBAC1B,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBACb,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAGd,SAA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I,EAAE,yBAAyB;iBAC/B,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBACb,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAGd,SAAS,EAAE,0BAA0B;iBACrC,MAAM,EAAE,MAAM;iBACd,IAAI,EAAE,8BAA8B;iBACpC,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBACb,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEP,CAAA;AAEX,MAAM,MAAM,uBAAuB,GAAG,MAAM,OAAO,oBAAoB,CAAA"}
|
|
@@ -2866,21 +2866,63 @@
|
|
|
2866
2866
|
"type": "string"
|
|
2867
2867
|
},
|
|
2868
2868
|
"operation": {
|
|
2869
|
-
"
|
|
2870
|
-
|
|
2871
|
-
|
|
2872
|
-
"
|
|
2873
|
-
|
|
2869
|
+
"oneOf": [
|
|
2870
|
+
{
|
|
2871
|
+
"additionalProperties": false,
|
|
2872
|
+
"properties": {
|
|
2873
|
+
"kind": {
|
|
2874
|
+
"enum": ["runtime", "model", "delegation"],
|
|
2875
|
+
"type": "string"
|
|
2876
|
+
},
|
|
2877
|
+
"name": {
|
|
2878
|
+
"maxLength": 256,
|
|
2879
|
+
"minLength": 1,
|
|
2880
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]*$",
|
|
2881
|
+
"type": "string"
|
|
2882
|
+
}
|
|
2883
|
+
},
|
|
2884
|
+
"required": ["kind", "name"],
|
|
2885
|
+
"type": "object"
|
|
2874
2886
|
},
|
|
2875
|
-
|
|
2876
|
-
"
|
|
2877
|
-
"
|
|
2878
|
-
|
|
2879
|
-
|
|
2887
|
+
{
|
|
2888
|
+
"additionalProperties": false,
|
|
2889
|
+
"properties": {
|
|
2890
|
+
"kind": { "const": "tool", "type": "string" },
|
|
2891
|
+
"name": {
|
|
2892
|
+
"maxLength": 256,
|
|
2893
|
+
"minLength": 1,
|
|
2894
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]*$",
|
|
2895
|
+
"type": "string"
|
|
2896
|
+
},
|
|
2897
|
+
"toolPin": {
|
|
2898
|
+
"additionalProperties": false,
|
|
2899
|
+
"properties": {
|
|
2900
|
+
"contentDigest": {
|
|
2901
|
+
"pattern": "^sha256:[a-f0-9]{64}$",
|
|
2902
|
+
"type": "string"
|
|
2903
|
+
},
|
|
2904
|
+
"operation": {
|
|
2905
|
+
"maxLength": 128,
|
|
2906
|
+
"minLength": 1,
|
|
2907
|
+
"pattern": "^[a-z][a-z0-9.-]*$",
|
|
2908
|
+
"type": "string"
|
|
2909
|
+
},
|
|
2910
|
+
"toolDefinitionId": {},
|
|
2911
|
+
"toolVersionId": {}
|
|
2912
|
+
},
|
|
2913
|
+
"required": [
|
|
2914
|
+
"toolDefinitionId",
|
|
2915
|
+
"toolVersionId",
|
|
2916
|
+
"contentDigest",
|
|
2917
|
+
"operation"
|
|
2918
|
+
],
|
|
2919
|
+
"type": "object"
|
|
2920
|
+
}
|
|
2921
|
+
},
|
|
2922
|
+
"required": ["kind", "name"],
|
|
2923
|
+
"type": "object"
|
|
2880
2924
|
}
|
|
2881
|
-
|
|
2882
|
-
"required": ["kind", "name"],
|
|
2883
|
-
"type": "object"
|
|
2925
|
+
]
|
|
2884
2926
|
}
|
|
2885
2927
|
},
|
|
2886
2928
|
"required": ["node", "operation"],
|
|
@@ -3273,21 +3315,69 @@
|
|
|
3273
3315
|
"type": "string"
|
|
3274
3316
|
},
|
|
3275
3317
|
"operation": {
|
|
3276
|
-
"
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
"
|
|
3280
|
-
|
|
3318
|
+
"oneOf": [
|
|
3319
|
+
{
|
|
3320
|
+
"additionalProperties": false,
|
|
3321
|
+
"properties": {
|
|
3322
|
+
"kind": {
|
|
3323
|
+
"enum": ["runtime", "model", "delegation"],
|
|
3324
|
+
"type": "string"
|
|
3325
|
+
},
|
|
3326
|
+
"name": {
|
|
3327
|
+
"maxLength": 256,
|
|
3328
|
+
"minLength": 1,
|
|
3329
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]*$",
|
|
3330
|
+
"type": "string"
|
|
3331
|
+
}
|
|
3332
|
+
},
|
|
3333
|
+
"required": ["kind", "name"],
|
|
3334
|
+
"type": "object"
|
|
3281
3335
|
},
|
|
3282
|
-
|
|
3283
|
-
"
|
|
3284
|
-
"
|
|
3285
|
-
|
|
3286
|
-
|
|
3336
|
+
{
|
|
3337
|
+
"additionalProperties": false,
|
|
3338
|
+
"properties": {
|
|
3339
|
+
"kind": { "const": "tool", "type": "string" },
|
|
3340
|
+
"name": {
|
|
3341
|
+
"maxLength": 256,
|
|
3342
|
+
"minLength": 1,
|
|
3343
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]*$",
|
|
3344
|
+
"type": "string"
|
|
3345
|
+
},
|
|
3346
|
+
"toolPin": {
|
|
3347
|
+
"additionalProperties": false,
|
|
3348
|
+
"properties": {
|
|
3349
|
+
"contentDigest": {
|
|
3350
|
+
"pattern": "^sha256:[a-f0-9]{64}$",
|
|
3351
|
+
"type": "string"
|
|
3352
|
+
},
|
|
3353
|
+
"operation": {
|
|
3354
|
+
"maxLength": 128,
|
|
3355
|
+
"minLength": 1,
|
|
3356
|
+
"pattern": "^[a-z][a-z0-9.-]*$",
|
|
3357
|
+
"type": "string"
|
|
3358
|
+
},
|
|
3359
|
+
"toolDefinitionId": {
|
|
3360
|
+
"pattern": "^tld_[0-9A-HJKMNP-TV-Z]{26}$",
|
|
3361
|
+
"type": "string"
|
|
3362
|
+
},
|
|
3363
|
+
"toolVersionId": {
|
|
3364
|
+
"pattern": "^tlv_[0-9A-HJKMNP-TV-Z]{26}$",
|
|
3365
|
+
"type": "string"
|
|
3366
|
+
}
|
|
3367
|
+
},
|
|
3368
|
+
"required": [
|
|
3369
|
+
"toolDefinitionId",
|
|
3370
|
+
"toolVersionId",
|
|
3371
|
+
"contentDigest",
|
|
3372
|
+
"operation"
|
|
3373
|
+
],
|
|
3374
|
+
"type": "object"
|
|
3375
|
+
}
|
|
3376
|
+
},
|
|
3377
|
+
"required": ["kind", "name"],
|
|
3378
|
+
"type": "object"
|
|
3287
3379
|
}
|
|
3288
|
-
|
|
3289
|
-
"required": ["kind", "name"],
|
|
3290
|
-
"type": "object"
|
|
3380
|
+
]
|
|
3291
3381
|
}
|
|
3292
3382
|
},
|
|
3293
3383
|
"required": ["node", "operation"],
|
|
@@ -3534,21 +3624,63 @@
|
|
|
3534
3624
|
"type": "string"
|
|
3535
3625
|
},
|
|
3536
3626
|
"operation": {
|
|
3537
|
-
"
|
|
3538
|
-
|
|
3539
|
-
|
|
3540
|
-
"
|
|
3541
|
-
|
|
3627
|
+
"oneOf": [
|
|
3628
|
+
{
|
|
3629
|
+
"additionalProperties": false,
|
|
3630
|
+
"properties": {
|
|
3631
|
+
"kind": {
|
|
3632
|
+
"enum": ["runtime", "model", "delegation"],
|
|
3633
|
+
"type": "string"
|
|
3634
|
+
},
|
|
3635
|
+
"name": {
|
|
3636
|
+
"maxLength": 256,
|
|
3637
|
+
"minLength": 1,
|
|
3638
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]*$",
|
|
3639
|
+
"type": "string"
|
|
3640
|
+
}
|
|
3641
|
+
},
|
|
3642
|
+
"required": ["kind", "name"],
|
|
3643
|
+
"type": "object"
|
|
3542
3644
|
},
|
|
3543
|
-
|
|
3544
|
-
"
|
|
3545
|
-
"
|
|
3546
|
-
|
|
3547
|
-
|
|
3645
|
+
{
|
|
3646
|
+
"additionalProperties": false,
|
|
3647
|
+
"properties": {
|
|
3648
|
+
"kind": { "const": "tool", "type": "string" },
|
|
3649
|
+
"name": {
|
|
3650
|
+
"maxLength": 256,
|
|
3651
|
+
"minLength": 1,
|
|
3652
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]*$",
|
|
3653
|
+
"type": "string"
|
|
3654
|
+
},
|
|
3655
|
+
"toolPin": {
|
|
3656
|
+
"additionalProperties": false,
|
|
3657
|
+
"properties": {
|
|
3658
|
+
"contentDigest": {
|
|
3659
|
+
"pattern": "^sha256:[a-f0-9]{64}$",
|
|
3660
|
+
"type": "string"
|
|
3661
|
+
},
|
|
3662
|
+
"operation": {
|
|
3663
|
+
"maxLength": 128,
|
|
3664
|
+
"minLength": 1,
|
|
3665
|
+
"pattern": "^[a-z][a-z0-9.-]*$",
|
|
3666
|
+
"type": "string"
|
|
3667
|
+
},
|
|
3668
|
+
"toolDefinitionId": {},
|
|
3669
|
+
"toolVersionId": {}
|
|
3670
|
+
},
|
|
3671
|
+
"required": [
|
|
3672
|
+
"toolDefinitionId",
|
|
3673
|
+
"toolVersionId",
|
|
3674
|
+
"contentDigest",
|
|
3675
|
+
"operation"
|
|
3676
|
+
],
|
|
3677
|
+
"type": "object"
|
|
3678
|
+
}
|
|
3679
|
+
},
|
|
3680
|
+
"required": ["kind", "name"],
|
|
3681
|
+
"type": "object"
|
|
3548
3682
|
}
|
|
3549
|
-
|
|
3550
|
-
"required": ["kind", "name"],
|
|
3551
|
-
"type": "object"
|
|
3683
|
+
]
|
|
3552
3684
|
}
|
|
3553
3685
|
},
|
|
3554
3686
|
"required": ["node", "operation"],
|
|
@@ -4016,21 +4148,63 @@
|
|
|
4016
4148
|
"type": "string"
|
|
4017
4149
|
},
|
|
4018
4150
|
"operation": {
|
|
4019
|
-
"
|
|
4020
|
-
|
|
4021
|
-
|
|
4022
|
-
"
|
|
4023
|
-
|
|
4151
|
+
"oneOf": [
|
|
4152
|
+
{
|
|
4153
|
+
"additionalProperties": false,
|
|
4154
|
+
"properties": {
|
|
4155
|
+
"kind": {
|
|
4156
|
+
"enum": ["runtime", "model", "delegation"],
|
|
4157
|
+
"type": "string"
|
|
4158
|
+
},
|
|
4159
|
+
"name": {
|
|
4160
|
+
"maxLength": 256,
|
|
4161
|
+
"minLength": 1,
|
|
4162
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]*$",
|
|
4163
|
+
"type": "string"
|
|
4164
|
+
}
|
|
4165
|
+
},
|
|
4166
|
+
"required": ["kind", "name"],
|
|
4167
|
+
"type": "object"
|
|
4024
4168
|
},
|
|
4025
|
-
|
|
4026
|
-
"
|
|
4027
|
-
"
|
|
4028
|
-
|
|
4029
|
-
|
|
4169
|
+
{
|
|
4170
|
+
"additionalProperties": false,
|
|
4171
|
+
"properties": {
|
|
4172
|
+
"kind": { "const": "tool", "type": "string" },
|
|
4173
|
+
"name": {
|
|
4174
|
+
"maxLength": 256,
|
|
4175
|
+
"minLength": 1,
|
|
4176
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]*$",
|
|
4177
|
+
"type": "string"
|
|
4178
|
+
},
|
|
4179
|
+
"toolPin": {
|
|
4180
|
+
"additionalProperties": false,
|
|
4181
|
+
"properties": {
|
|
4182
|
+
"contentDigest": {
|
|
4183
|
+
"pattern": "^sha256:[a-f0-9]{64}$",
|
|
4184
|
+
"type": "string"
|
|
4185
|
+
},
|
|
4186
|
+
"operation": {
|
|
4187
|
+
"maxLength": 128,
|
|
4188
|
+
"minLength": 1,
|
|
4189
|
+
"pattern": "^[a-z][a-z0-9.-]*$",
|
|
4190
|
+
"type": "string"
|
|
4191
|
+
},
|
|
4192
|
+
"toolDefinitionId": {},
|
|
4193
|
+
"toolVersionId": {}
|
|
4194
|
+
},
|
|
4195
|
+
"required": [
|
|
4196
|
+
"toolDefinitionId",
|
|
4197
|
+
"toolVersionId",
|
|
4198
|
+
"contentDigest",
|
|
4199
|
+
"operation"
|
|
4200
|
+
],
|
|
4201
|
+
"type": "object"
|
|
4202
|
+
}
|
|
4203
|
+
},
|
|
4204
|
+
"required": ["kind", "name"],
|
|
4205
|
+
"type": "object"
|
|
4030
4206
|
}
|
|
4031
|
-
|
|
4032
|
-
"required": ["kind", "name"],
|
|
4033
|
-
"type": "object"
|
|
4207
|
+
]
|
|
4034
4208
|
}
|
|
4035
4209
|
},
|
|
4036
4210
|
"required": ["node", "operation"],
|
|
@@ -4515,21 +4689,63 @@
|
|
|
4515
4689
|
"type": "string"
|
|
4516
4690
|
},
|
|
4517
4691
|
"operation": {
|
|
4518
|
-
"
|
|
4519
|
-
|
|
4520
|
-
|
|
4521
|
-
"
|
|
4522
|
-
|
|
4692
|
+
"oneOf": [
|
|
4693
|
+
{
|
|
4694
|
+
"additionalProperties": false,
|
|
4695
|
+
"properties": {
|
|
4696
|
+
"kind": {
|
|
4697
|
+
"enum": ["runtime", "model", "delegation"],
|
|
4698
|
+
"type": "string"
|
|
4699
|
+
},
|
|
4700
|
+
"name": {
|
|
4701
|
+
"maxLength": 256,
|
|
4702
|
+
"minLength": 1,
|
|
4703
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]*$",
|
|
4704
|
+
"type": "string"
|
|
4705
|
+
}
|
|
4706
|
+
},
|
|
4707
|
+
"required": ["kind", "name"],
|
|
4708
|
+
"type": "object"
|
|
4523
4709
|
},
|
|
4524
|
-
|
|
4525
|
-
"
|
|
4526
|
-
"
|
|
4527
|
-
|
|
4528
|
-
|
|
4710
|
+
{
|
|
4711
|
+
"additionalProperties": false,
|
|
4712
|
+
"properties": {
|
|
4713
|
+
"kind": { "const": "tool", "type": "string" },
|
|
4714
|
+
"name": {
|
|
4715
|
+
"maxLength": 256,
|
|
4716
|
+
"minLength": 1,
|
|
4717
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]*$",
|
|
4718
|
+
"type": "string"
|
|
4719
|
+
},
|
|
4720
|
+
"toolPin": {
|
|
4721
|
+
"additionalProperties": false,
|
|
4722
|
+
"properties": {
|
|
4723
|
+
"contentDigest": {
|
|
4724
|
+
"pattern": "^sha256:[a-f0-9]{64}$",
|
|
4725
|
+
"type": "string"
|
|
4726
|
+
},
|
|
4727
|
+
"operation": {
|
|
4728
|
+
"maxLength": 128,
|
|
4729
|
+
"minLength": 1,
|
|
4730
|
+
"pattern": "^[a-z][a-z0-9.-]*$",
|
|
4731
|
+
"type": "string"
|
|
4732
|
+
},
|
|
4733
|
+
"toolDefinitionId": {},
|
|
4734
|
+
"toolVersionId": {}
|
|
4735
|
+
},
|
|
4736
|
+
"required": [
|
|
4737
|
+
"toolDefinitionId",
|
|
4738
|
+
"toolVersionId",
|
|
4739
|
+
"contentDigest",
|
|
4740
|
+
"operation"
|
|
4741
|
+
],
|
|
4742
|
+
"type": "object"
|
|
4743
|
+
}
|
|
4744
|
+
},
|
|
4745
|
+
"required": ["kind", "name"],
|
|
4746
|
+
"type": "object"
|
|
4529
4747
|
}
|
|
4530
|
-
|
|
4531
|
-
"required": ["kind", "name"],
|
|
4532
|
-
"type": "object"
|
|
4748
|
+
]
|
|
4533
4749
|
}
|
|
4534
4750
|
},
|
|
4535
4751
|
"required": ["node", "operation"],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adea-ai/sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.10.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.13.0"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"zod": "4.6.5"
|