@kya-os/contracts 1.7.26 → 1.7.32
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-deployment-utils.d.ts +20 -0
- package/dist/agent-deployment-utils.js +37 -0
- package/dist/agent-deployment.d.ts +19 -19
- package/dist/agent-deployment.js +2 -1
- package/dist/agentshield-api/admin-schemas.d.ts +2 -2
- package/dist/agentshield-api/schemas.d.ts +462 -462
- package/dist/audit/index.d.ts +24 -24
- package/dist/cli.d.ts +44 -44
- package/dist/compute-binding.d.ts +6 -6
- package/dist/compute.d.ts +27 -8
- package/dist/compute.js +6 -0
- package/dist/config/identity.d.ts +98 -98
- package/dist/consent/schemas.d.ts +72 -72
- package/dist/dashboard-config/schemas.d.ts +2191 -2191
- package/dist/delegation/constraints.d.ts +32 -32
- package/dist/delegation/schemas.d.ts +610 -610
- package/dist/deploy/schemas.d.ts +84 -84
- package/dist/gateway/index.d.ts +579 -0
- package/dist/gateway/index.js +103 -0
- package/dist/handshake.d.ts +42 -42
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -0
- package/dist/molti/admin-ws.d.ts +116 -116
- package/dist/molti/schemas.d.ts +98 -98
- package/dist/openclaw/index.d.ts +20 -0
- package/dist/openclaw/index.js +28 -0
- package/dist/openclaw/types.d.ts +714 -0
- package/dist/openclaw/types.js +122 -0
- package/dist/pairing/index.d.ts +44 -0
- package/dist/pairing/index.js +11 -0
- package/dist/policy/schemas.d.ts +553 -553
- package/dist/proof/proof-record.d.ts +48 -48
- package/dist/proof/signing-spec.d.ts +8 -8
- package/dist/proof.d.ts +68 -68
- package/dist/registry.d.ts +24 -24
- package/dist/reputation/api.d.ts +156 -156
- package/dist/reputation/credentials.d.ts +48 -48
- package/dist/reputation/schemas.d.ts +48 -48
- package/dist/test.d.ts +22 -22
- package/dist/tlkrc/rotation.d.ts +12 -12
- package/dist/tool-protection/index.d.ts +22 -22
- package/dist/verifier.d.ts +17 -17
- package/dist/well-known/index.d.ts +72 -72
- package/package.json +10 -2
|
@@ -94,11 +94,11 @@ export declare const CrispScopeSchema: z.ZodObject<{
|
|
|
94
94
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
95
95
|
}, "strip", z.ZodTypeAny, {
|
|
96
96
|
resource: string;
|
|
97
|
-
matcher: "exact" | "
|
|
97
|
+
matcher: "exact" | "regex" | "prefix";
|
|
98
98
|
constraints?: Record<string, any> | undefined;
|
|
99
99
|
}, {
|
|
100
100
|
resource: string;
|
|
101
|
-
matcher: "exact" | "
|
|
101
|
+
matcher: "exact" | "regex" | "prefix";
|
|
102
102
|
constraints?: Record<string, any> | undefined;
|
|
103
103
|
}>;
|
|
104
104
|
export type CrispScope = z.infer<typeof CrispScopeSchema>;
|
|
@@ -166,11 +166,11 @@ export declare const DelegationConstraintsSchema: z.ZodObject<{
|
|
|
166
166
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
167
167
|
}, "strip", z.ZodTypeAny, {
|
|
168
168
|
resource: string;
|
|
169
|
-
matcher: "exact" | "
|
|
169
|
+
matcher: "exact" | "regex" | "prefix";
|
|
170
170
|
constraints?: Record<string, any> | undefined;
|
|
171
171
|
}, {
|
|
172
172
|
resource: string;
|
|
173
|
-
matcher: "exact" | "
|
|
173
|
+
matcher: "exact" | "regex" | "prefix";
|
|
174
174
|
constraints?: Record<string, any> | undefined;
|
|
175
175
|
}>, "many">;
|
|
176
176
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -218,11 +218,11 @@ export declare const DelegationConstraintsSchema: z.ZodObject<{
|
|
|
218
218
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
219
219
|
}, "strip", z.ZodTypeAny, {
|
|
220
220
|
resource: string;
|
|
221
|
-
matcher: "exact" | "
|
|
221
|
+
matcher: "exact" | "regex" | "prefix";
|
|
222
222
|
constraints?: Record<string, any> | undefined;
|
|
223
223
|
}, {
|
|
224
224
|
resource: string;
|
|
225
|
-
matcher: "exact" | "
|
|
225
|
+
matcher: "exact" | "regex" | "prefix";
|
|
226
226
|
constraints?: Record<string, any> | undefined;
|
|
227
227
|
}>, "many">;
|
|
228
228
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -270,11 +270,11 @@ export declare const DelegationConstraintsSchema: z.ZodObject<{
|
|
|
270
270
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
271
271
|
}, "strip", z.ZodTypeAny, {
|
|
272
272
|
resource: string;
|
|
273
|
-
matcher: "exact" | "
|
|
273
|
+
matcher: "exact" | "regex" | "prefix";
|
|
274
274
|
constraints?: Record<string, any> | undefined;
|
|
275
275
|
}, {
|
|
276
276
|
resource: string;
|
|
277
|
-
matcher: "exact" | "
|
|
277
|
+
matcher: "exact" | "regex" | "prefix";
|
|
278
278
|
constraints?: Record<string, any> | undefined;
|
|
279
279
|
}>, "many">;
|
|
280
280
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -337,11 +337,11 @@ export declare const DelegationConstraintsSchema: z.ZodObject<{
|
|
|
337
337
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
338
338
|
}, "strip", z.ZodTypeAny, {
|
|
339
339
|
resource: string;
|
|
340
|
-
matcher: "exact" | "
|
|
340
|
+
matcher: "exact" | "regex" | "prefix";
|
|
341
341
|
constraints?: Record<string, any> | undefined;
|
|
342
342
|
}, {
|
|
343
343
|
resource: string;
|
|
344
|
-
matcher: "exact" | "
|
|
344
|
+
matcher: "exact" | "regex" | "prefix";
|
|
345
345
|
constraints?: Record<string, any> | undefined;
|
|
346
346
|
}>, "many">;
|
|
347
347
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -389,11 +389,11 @@ export declare const DelegationConstraintsSchema: z.ZodObject<{
|
|
|
389
389
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
390
390
|
}, "strip", z.ZodTypeAny, {
|
|
391
391
|
resource: string;
|
|
392
|
-
matcher: "exact" | "
|
|
392
|
+
matcher: "exact" | "regex" | "prefix";
|
|
393
393
|
constraints?: Record<string, any> | undefined;
|
|
394
394
|
}, {
|
|
395
395
|
resource: string;
|
|
396
|
-
matcher: "exact" | "
|
|
396
|
+
matcher: "exact" | "regex" | "prefix";
|
|
397
397
|
constraints?: Record<string, any> | undefined;
|
|
398
398
|
}>, "many">;
|
|
399
399
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -441,11 +441,11 @@ export declare const DelegationConstraintsSchema: z.ZodObject<{
|
|
|
441
441
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
442
442
|
}, "strip", z.ZodTypeAny, {
|
|
443
443
|
resource: string;
|
|
444
|
-
matcher: "exact" | "
|
|
444
|
+
matcher: "exact" | "regex" | "prefix";
|
|
445
445
|
constraints?: Record<string, any> | undefined;
|
|
446
446
|
}, {
|
|
447
447
|
resource: string;
|
|
448
|
-
matcher: "exact" | "
|
|
448
|
+
matcher: "exact" | "regex" | "prefix";
|
|
449
449
|
constraints?: Record<string, any> | undefined;
|
|
450
450
|
}>, "many">;
|
|
451
451
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -508,11 +508,11 @@ export declare const DelegationConstraintsSchema: z.ZodObject<{
|
|
|
508
508
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
509
509
|
}, "strip", z.ZodTypeAny, {
|
|
510
510
|
resource: string;
|
|
511
|
-
matcher: "exact" | "
|
|
511
|
+
matcher: "exact" | "regex" | "prefix";
|
|
512
512
|
constraints?: Record<string, any> | undefined;
|
|
513
513
|
}, {
|
|
514
514
|
resource: string;
|
|
515
|
-
matcher: "exact" | "
|
|
515
|
+
matcher: "exact" | "regex" | "prefix";
|
|
516
516
|
constraints?: Record<string, any> | undefined;
|
|
517
517
|
}>, "many">;
|
|
518
518
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -560,11 +560,11 @@ export declare const DelegationConstraintsSchema: z.ZodObject<{
|
|
|
560
560
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
561
561
|
}, "strip", z.ZodTypeAny, {
|
|
562
562
|
resource: string;
|
|
563
|
-
matcher: "exact" | "
|
|
563
|
+
matcher: "exact" | "regex" | "prefix";
|
|
564
564
|
constraints?: Record<string, any> | undefined;
|
|
565
565
|
}, {
|
|
566
566
|
resource: string;
|
|
567
|
-
matcher: "exact" | "
|
|
567
|
+
matcher: "exact" | "regex" | "prefix";
|
|
568
568
|
constraints?: Record<string, any> | undefined;
|
|
569
569
|
}>, "many">;
|
|
570
570
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -612,11 +612,11 @@ export declare const DelegationConstraintsSchema: z.ZodObject<{
|
|
|
612
612
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
613
613
|
}, "strip", z.ZodTypeAny, {
|
|
614
614
|
resource: string;
|
|
615
|
-
matcher: "exact" | "
|
|
615
|
+
matcher: "exact" | "regex" | "prefix";
|
|
616
616
|
constraints?: Record<string, any> | undefined;
|
|
617
617
|
}, {
|
|
618
618
|
resource: string;
|
|
619
|
-
matcher: "exact" | "
|
|
619
|
+
matcher: "exact" | "regex" | "prefix";
|
|
620
620
|
constraints?: Record<string, any> | undefined;
|
|
621
621
|
}>, "many">;
|
|
622
622
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -690,11 +690,11 @@ export declare function validateDelegationConstraints(constraints: unknown): z.S
|
|
|
690
690
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
691
691
|
}, "strip", z.ZodTypeAny, {
|
|
692
692
|
resource: string;
|
|
693
|
-
matcher: "exact" | "
|
|
693
|
+
matcher: "exact" | "regex" | "prefix";
|
|
694
694
|
constraints?: Record<string, any> | undefined;
|
|
695
695
|
}, {
|
|
696
696
|
resource: string;
|
|
697
|
-
matcher: "exact" | "
|
|
697
|
+
matcher: "exact" | "regex" | "prefix";
|
|
698
698
|
constraints?: Record<string, any> | undefined;
|
|
699
699
|
}>, "many">;
|
|
700
700
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -742,11 +742,11 @@ export declare function validateDelegationConstraints(constraints: unknown): z.S
|
|
|
742
742
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
743
743
|
}, "strip", z.ZodTypeAny, {
|
|
744
744
|
resource: string;
|
|
745
|
-
matcher: "exact" | "
|
|
745
|
+
matcher: "exact" | "regex" | "prefix";
|
|
746
746
|
constraints?: Record<string, any> | undefined;
|
|
747
747
|
}, {
|
|
748
748
|
resource: string;
|
|
749
|
-
matcher: "exact" | "
|
|
749
|
+
matcher: "exact" | "regex" | "prefix";
|
|
750
750
|
constraints?: Record<string, any> | undefined;
|
|
751
751
|
}>, "many">;
|
|
752
752
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -794,11 +794,11 @@ export declare function validateDelegationConstraints(constraints: unknown): z.S
|
|
|
794
794
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
795
795
|
}, "strip", z.ZodTypeAny, {
|
|
796
796
|
resource: string;
|
|
797
|
-
matcher: "exact" | "
|
|
797
|
+
matcher: "exact" | "regex" | "prefix";
|
|
798
798
|
constraints?: Record<string, any> | undefined;
|
|
799
799
|
}, {
|
|
800
800
|
resource: string;
|
|
801
|
-
matcher: "exact" | "
|
|
801
|
+
matcher: "exact" | "regex" | "prefix";
|
|
802
802
|
constraints?: Record<string, any> | undefined;
|
|
803
803
|
}>, "many">;
|
|
804
804
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -861,11 +861,11 @@ export declare function validateDelegationConstraints(constraints: unknown): z.S
|
|
|
861
861
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
862
862
|
}, "strip", z.ZodTypeAny, {
|
|
863
863
|
resource: string;
|
|
864
|
-
matcher: "exact" | "
|
|
864
|
+
matcher: "exact" | "regex" | "prefix";
|
|
865
865
|
constraints?: Record<string, any> | undefined;
|
|
866
866
|
}, {
|
|
867
867
|
resource: string;
|
|
868
|
-
matcher: "exact" | "
|
|
868
|
+
matcher: "exact" | "regex" | "prefix";
|
|
869
869
|
constraints?: Record<string, any> | undefined;
|
|
870
870
|
}>, "many">;
|
|
871
871
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -913,11 +913,11 @@ export declare function validateDelegationConstraints(constraints: unknown): z.S
|
|
|
913
913
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
914
914
|
}, "strip", z.ZodTypeAny, {
|
|
915
915
|
resource: string;
|
|
916
|
-
matcher: "exact" | "
|
|
916
|
+
matcher: "exact" | "regex" | "prefix";
|
|
917
917
|
constraints?: Record<string, any> | undefined;
|
|
918
918
|
}, {
|
|
919
919
|
resource: string;
|
|
920
|
-
matcher: "exact" | "
|
|
920
|
+
matcher: "exact" | "regex" | "prefix";
|
|
921
921
|
constraints?: Record<string, any> | undefined;
|
|
922
922
|
}>, "many">;
|
|
923
923
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -965,11 +965,11 @@ export declare function validateDelegationConstraints(constraints: unknown): z.S
|
|
|
965
965
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
966
966
|
}, "strip", z.ZodTypeAny, {
|
|
967
967
|
resource: string;
|
|
968
|
-
matcher: "exact" | "
|
|
968
|
+
matcher: "exact" | "regex" | "prefix";
|
|
969
969
|
constraints?: Record<string, any> | undefined;
|
|
970
970
|
}, {
|
|
971
971
|
resource: string;
|
|
972
|
-
matcher: "exact" | "
|
|
972
|
+
matcher: "exact" | "regex" | "prefix";
|
|
973
973
|
constraints?: Record<string, any> | undefined;
|
|
974
974
|
}>, "many">;
|
|
975
975
|
}, z.ZodTypeAny, "passthrough">>>;
|