@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.
Files changed (44) hide show
  1. package/dist/agent-deployment-utils.d.ts +20 -0
  2. package/dist/agent-deployment-utils.js +37 -0
  3. package/dist/agent-deployment.d.ts +19 -19
  4. package/dist/agent-deployment.js +2 -1
  5. package/dist/agentshield-api/admin-schemas.d.ts +2 -2
  6. package/dist/agentshield-api/schemas.d.ts +462 -462
  7. package/dist/audit/index.d.ts +24 -24
  8. package/dist/cli.d.ts +44 -44
  9. package/dist/compute-binding.d.ts +6 -6
  10. package/dist/compute.d.ts +27 -8
  11. package/dist/compute.js +6 -0
  12. package/dist/config/identity.d.ts +98 -98
  13. package/dist/consent/schemas.d.ts +72 -72
  14. package/dist/dashboard-config/schemas.d.ts +2191 -2191
  15. package/dist/delegation/constraints.d.ts +32 -32
  16. package/dist/delegation/schemas.d.ts +610 -610
  17. package/dist/deploy/schemas.d.ts +84 -84
  18. package/dist/gateway/index.d.ts +579 -0
  19. package/dist/gateway/index.js +103 -0
  20. package/dist/handshake.d.ts +42 -42
  21. package/dist/index.d.ts +1 -0
  22. package/dist/index.js +2 -0
  23. package/dist/molti/admin-ws.d.ts +116 -116
  24. package/dist/molti/schemas.d.ts +98 -98
  25. package/dist/openclaw/index.d.ts +20 -0
  26. package/dist/openclaw/index.js +28 -0
  27. package/dist/openclaw/types.d.ts +714 -0
  28. package/dist/openclaw/types.js +122 -0
  29. package/dist/pairing/index.d.ts +44 -0
  30. package/dist/pairing/index.js +11 -0
  31. package/dist/policy/schemas.d.ts +553 -553
  32. package/dist/proof/proof-record.d.ts +48 -48
  33. package/dist/proof/signing-spec.d.ts +8 -8
  34. package/dist/proof.d.ts +68 -68
  35. package/dist/registry.d.ts +24 -24
  36. package/dist/reputation/api.d.ts +156 -156
  37. package/dist/reputation/credentials.d.ts +48 -48
  38. package/dist/reputation/schemas.d.ts +48 -48
  39. package/dist/test.d.ts +22 -22
  40. package/dist/tlkrc/rotation.d.ts +12 -12
  41. package/dist/tool-protection/index.d.ts +22 -22
  42. package/dist/verifier.d.ts +17 -17
  43. package/dist/well-known/index.d.ts +72 -72
  44. package/package.json +10 -2
@@ -69,8 +69,8 @@ export declare const ReputationCredentialSubjectSchema: z.ZodObject<{
69
69
  priorWeight: number;
70
70
  }>>;
71
71
  }, "strip", z.ZodTypeAny, {
72
- confidence: number;
73
72
  score: number;
73
+ confidence: number;
74
74
  confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
75
75
  level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
76
76
  isProvisional: boolean;
@@ -82,8 +82,8 @@ export declare const ReputationCredentialSubjectSchema: z.ZodObject<{
82
82
  priorWeight: number;
83
83
  } | undefined;
84
84
  }, {
85
- confidence: number;
86
85
  score: number;
86
+ confidence: number;
87
87
  confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
88
88
  level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
89
89
  isProvisional: boolean;
@@ -105,18 +105,18 @@ export declare const ReputationCredentialSubjectSchema: z.ZodObject<{
105
105
  region: z.ZodOptional<z.ZodString>;
106
106
  }, "strip", z.ZodTypeAny, {
107
107
  scope: string;
108
- region?: string | undefined;
109
108
  domain?: string | undefined;
110
- }, {
111
109
  region?: string | undefined;
110
+ }, {
112
111
  scope?: string | undefined;
113
112
  domain?: string | undefined;
113
+ region?: string | undefined;
114
114
  }>>;
115
115
  }, "strip", z.ZodTypeAny, {
116
116
  id: string;
117
117
  reputation: {
118
- confidence: number;
119
118
  score: number;
119
+ confidence: number;
120
120
  confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
121
121
  level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
122
122
  isProvisional: boolean;
@@ -130,14 +130,14 @@ export declare const ReputationCredentialSubjectSchema: z.ZodObject<{
130
130
  };
131
131
  context?: {
132
132
  scope: string;
133
- region?: string | undefined;
134
133
  domain?: string | undefined;
134
+ region?: string | undefined;
135
135
  } | undefined;
136
136
  }, {
137
137
  id: string;
138
138
  reputation: {
139
- confidence: number;
140
139
  score: number;
140
+ confidence: number;
141
141
  confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
142
142
  level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
143
143
  isProvisional: boolean;
@@ -150,9 +150,9 @@ export declare const ReputationCredentialSubjectSchema: z.ZodObject<{
150
150
  } | undefined;
151
151
  };
152
152
  context?: {
153
- region?: string | undefined;
154
153
  scope?: string | undefined;
155
154
  domain?: string | undefined;
155
+ region?: string | undefined;
156
156
  } | undefined;
157
157
  }>;
158
158
  export type ReputationCredentialSubject = z.infer<typeof ReputationCredentialSubjectSchema>;
@@ -221,8 +221,8 @@ export declare const ReputationCredentialSchema: z.ZodObject<{
221
221
  priorWeight: number;
222
222
  }>>;
223
223
  }, "strip", z.ZodTypeAny, {
224
- confidence: number;
225
224
  score: number;
225
+ confidence: number;
226
226
  confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
227
227
  level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
228
228
  isProvisional: boolean;
@@ -234,8 +234,8 @@ export declare const ReputationCredentialSchema: z.ZodObject<{
234
234
  priorWeight: number;
235
235
  } | undefined;
236
236
  }, {
237
- confidence: number;
238
237
  score: number;
238
+ confidence: number;
239
239
  confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
240
240
  level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
241
241
  isProvisional: boolean;
@@ -257,18 +257,18 @@ export declare const ReputationCredentialSchema: z.ZodObject<{
257
257
  region: z.ZodOptional<z.ZodString>;
258
258
  }, "strip", z.ZodTypeAny, {
259
259
  scope: string;
260
- region?: string | undefined;
261
260
  domain?: string | undefined;
262
- }, {
263
261
  region?: string | undefined;
262
+ }, {
264
263
  scope?: string | undefined;
265
264
  domain?: string | undefined;
265
+ region?: string | undefined;
266
266
  }>>;
267
267
  }, "strip", z.ZodTypeAny, {
268
268
  id: string;
269
269
  reputation: {
270
- confidence: number;
271
270
  score: number;
271
+ confidence: number;
272
272
  confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
273
273
  level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
274
274
  isProvisional: boolean;
@@ -282,14 +282,14 @@ export declare const ReputationCredentialSchema: z.ZodObject<{
282
282
  };
283
283
  context?: {
284
284
  scope: string;
285
- region?: string | undefined;
286
285
  domain?: string | undefined;
286
+ region?: string | undefined;
287
287
  } | undefined;
288
288
  }, {
289
289
  id: string;
290
290
  reputation: {
291
- confidence: number;
292
291
  score: number;
292
+ confidence: number;
293
293
  confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
294
294
  level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
295
295
  isProvisional: boolean;
@@ -302,9 +302,9 @@ export declare const ReputationCredentialSchema: z.ZodObject<{
302
302
  } | undefined;
303
303
  };
304
304
  context?: {
305
- region?: string | undefined;
306
305
  scope?: string | undefined;
307
306
  domain?: string | undefined;
307
+ region?: string | undefined;
308
308
  } | undefined;
309
309
  }>;
310
310
  credentialStatus: z.ZodOptional<z.ZodObject<{
@@ -391,8 +391,8 @@ export declare const ReputationCredentialSchema: z.ZodObject<{
391
391
  priorWeight: number;
392
392
  }>>;
393
393
  }, "strip", z.ZodTypeAny, {
394
- confidence: number;
395
394
  score: number;
395
+ confidence: number;
396
396
  confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
397
397
  level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
398
398
  isProvisional: boolean;
@@ -404,8 +404,8 @@ export declare const ReputationCredentialSchema: z.ZodObject<{
404
404
  priorWeight: number;
405
405
  } | undefined;
406
406
  }, {
407
- confidence: number;
408
407
  score: number;
408
+ confidence: number;
409
409
  confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
410
410
  level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
411
411
  isProvisional: boolean;
@@ -427,18 +427,18 @@ export declare const ReputationCredentialSchema: z.ZodObject<{
427
427
  region: z.ZodOptional<z.ZodString>;
428
428
  }, "strip", z.ZodTypeAny, {
429
429
  scope: string;
430
- region?: string | undefined;
431
430
  domain?: string | undefined;
432
- }, {
433
431
  region?: string | undefined;
432
+ }, {
434
433
  scope?: string | undefined;
435
434
  domain?: string | undefined;
435
+ region?: string | undefined;
436
436
  }>>;
437
437
  }, "strip", z.ZodTypeAny, {
438
438
  id: string;
439
439
  reputation: {
440
- confidence: number;
441
440
  score: number;
441
+ confidence: number;
442
442
  confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
443
443
  level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
444
444
  isProvisional: boolean;
@@ -452,14 +452,14 @@ export declare const ReputationCredentialSchema: z.ZodObject<{
452
452
  };
453
453
  context?: {
454
454
  scope: string;
455
- region?: string | undefined;
456
455
  domain?: string | undefined;
456
+ region?: string | undefined;
457
457
  } | undefined;
458
458
  }, {
459
459
  id: string;
460
460
  reputation: {
461
- confidence: number;
462
461
  score: number;
462
+ confidence: number;
463
463
  confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
464
464
  level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
465
465
  isProvisional: boolean;
@@ -472,9 +472,9 @@ export declare const ReputationCredentialSchema: z.ZodObject<{
472
472
  } | undefined;
473
473
  };
474
474
  context?: {
475
- region?: string | undefined;
476
475
  scope?: string | undefined;
477
476
  domain?: string | undefined;
477
+ region?: string | undefined;
478
478
  } | undefined;
479
479
  }>;
480
480
  credentialStatus: z.ZodOptional<z.ZodObject<{
@@ -561,8 +561,8 @@ export declare const ReputationCredentialSchema: z.ZodObject<{
561
561
  priorWeight: number;
562
562
  }>>;
563
563
  }, "strip", z.ZodTypeAny, {
564
- confidence: number;
565
564
  score: number;
565
+ confidence: number;
566
566
  confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
567
567
  level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
568
568
  isProvisional: boolean;
@@ -574,8 +574,8 @@ export declare const ReputationCredentialSchema: z.ZodObject<{
574
574
  priorWeight: number;
575
575
  } | undefined;
576
576
  }, {
577
- confidence: number;
578
577
  score: number;
578
+ confidence: number;
579
579
  confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
580
580
  level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
581
581
  isProvisional: boolean;
@@ -597,18 +597,18 @@ export declare const ReputationCredentialSchema: z.ZodObject<{
597
597
  region: z.ZodOptional<z.ZodString>;
598
598
  }, "strip", z.ZodTypeAny, {
599
599
  scope: string;
600
- region?: string | undefined;
601
600
  domain?: string | undefined;
602
- }, {
603
601
  region?: string | undefined;
602
+ }, {
604
603
  scope?: string | undefined;
605
604
  domain?: string | undefined;
605
+ region?: string | undefined;
606
606
  }>>;
607
607
  }, "strip", z.ZodTypeAny, {
608
608
  id: string;
609
609
  reputation: {
610
- confidence: number;
611
610
  score: number;
611
+ confidence: number;
612
612
  confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
613
613
  level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
614
614
  isProvisional: boolean;
@@ -622,14 +622,14 @@ export declare const ReputationCredentialSchema: z.ZodObject<{
622
622
  };
623
623
  context?: {
624
624
  scope: string;
625
- region?: string | undefined;
626
625
  domain?: string | undefined;
626
+ region?: string | undefined;
627
627
  } | undefined;
628
628
  }, {
629
629
  id: string;
630
630
  reputation: {
631
- confidence: number;
632
631
  score: number;
632
+ confidence: number;
633
633
  confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
634
634
  level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
635
635
  isProvisional: boolean;
@@ -642,9 +642,9 @@ export declare const ReputationCredentialSchema: z.ZodObject<{
642
642
  } | undefined;
643
643
  };
644
644
  context?: {
645
- region?: string | undefined;
646
645
  scope?: string | undefined;
647
646
  domain?: string | undefined;
647
+ region?: string | undefined;
648
648
  } | undefined;
649
649
  }>;
650
650
  credentialStatus: z.ZodOptional<z.ZodObject<{
@@ -996,8 +996,8 @@ export declare function validateReputationCredential(credential: unknown): z.Saf
996
996
  priorWeight: number;
997
997
  }>>;
998
998
  }, "strip", z.ZodTypeAny, {
999
- confidence: number;
1000
999
  score: number;
1000
+ confidence: number;
1001
1001
  confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
1002
1002
  level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
1003
1003
  isProvisional: boolean;
@@ -1009,8 +1009,8 @@ export declare function validateReputationCredential(credential: unknown): z.Saf
1009
1009
  priorWeight: number;
1010
1010
  } | undefined;
1011
1011
  }, {
1012
- confidence: number;
1013
1012
  score: number;
1013
+ confidence: number;
1014
1014
  confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
1015
1015
  level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
1016
1016
  isProvisional: boolean;
@@ -1032,18 +1032,18 @@ export declare function validateReputationCredential(credential: unknown): z.Saf
1032
1032
  region: z.ZodOptional<z.ZodString>;
1033
1033
  }, "strip", z.ZodTypeAny, {
1034
1034
  scope: string;
1035
- region?: string | undefined;
1036
1035
  domain?: string | undefined;
1037
- }, {
1038
1036
  region?: string | undefined;
1037
+ }, {
1039
1038
  scope?: string | undefined;
1040
1039
  domain?: string | undefined;
1040
+ region?: string | undefined;
1041
1041
  }>>;
1042
1042
  }, "strip", z.ZodTypeAny, {
1043
1043
  id: string;
1044
1044
  reputation: {
1045
- confidence: number;
1046
1045
  score: number;
1046
+ confidence: number;
1047
1047
  confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
1048
1048
  level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
1049
1049
  isProvisional: boolean;
@@ -1057,14 +1057,14 @@ export declare function validateReputationCredential(credential: unknown): z.Saf
1057
1057
  };
1058
1058
  context?: {
1059
1059
  scope: string;
1060
- region?: string | undefined;
1061
1060
  domain?: string | undefined;
1061
+ region?: string | undefined;
1062
1062
  } | undefined;
1063
1063
  }, {
1064
1064
  id: string;
1065
1065
  reputation: {
1066
- confidence: number;
1067
1066
  score: number;
1067
+ confidence: number;
1068
1068
  confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
1069
1069
  level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
1070
1070
  isProvisional: boolean;
@@ -1077,9 +1077,9 @@ export declare function validateReputationCredential(credential: unknown): z.Saf
1077
1077
  } | undefined;
1078
1078
  };
1079
1079
  context?: {
1080
- region?: string | undefined;
1081
1080
  scope?: string | undefined;
1082
1081
  domain?: string | undefined;
1082
+ region?: string | undefined;
1083
1083
  } | undefined;
1084
1084
  }>;
1085
1085
  credentialStatus: z.ZodOptional<z.ZodObject<{
@@ -1166,8 +1166,8 @@ export declare function validateReputationCredential(credential: unknown): z.Saf
1166
1166
  priorWeight: number;
1167
1167
  }>>;
1168
1168
  }, "strip", z.ZodTypeAny, {
1169
- confidence: number;
1170
1169
  score: number;
1170
+ confidence: number;
1171
1171
  confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
1172
1172
  level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
1173
1173
  isProvisional: boolean;
@@ -1179,8 +1179,8 @@ export declare function validateReputationCredential(credential: unknown): z.Saf
1179
1179
  priorWeight: number;
1180
1180
  } | undefined;
1181
1181
  }, {
1182
- confidence: number;
1183
1182
  score: number;
1183
+ confidence: number;
1184
1184
  confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
1185
1185
  level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
1186
1186
  isProvisional: boolean;
@@ -1202,18 +1202,18 @@ export declare function validateReputationCredential(credential: unknown): z.Saf
1202
1202
  region: z.ZodOptional<z.ZodString>;
1203
1203
  }, "strip", z.ZodTypeAny, {
1204
1204
  scope: string;
1205
- region?: string | undefined;
1206
1205
  domain?: string | undefined;
1207
- }, {
1208
1206
  region?: string | undefined;
1207
+ }, {
1209
1208
  scope?: string | undefined;
1210
1209
  domain?: string | undefined;
1210
+ region?: string | undefined;
1211
1211
  }>>;
1212
1212
  }, "strip", z.ZodTypeAny, {
1213
1213
  id: string;
1214
1214
  reputation: {
1215
- confidence: number;
1216
1215
  score: number;
1216
+ confidence: number;
1217
1217
  confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
1218
1218
  level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
1219
1219
  isProvisional: boolean;
@@ -1227,14 +1227,14 @@ export declare function validateReputationCredential(credential: unknown): z.Saf
1227
1227
  };
1228
1228
  context?: {
1229
1229
  scope: string;
1230
- region?: string | undefined;
1231
1230
  domain?: string | undefined;
1231
+ region?: string | undefined;
1232
1232
  } | undefined;
1233
1233
  }, {
1234
1234
  id: string;
1235
1235
  reputation: {
1236
- confidence: number;
1237
1236
  score: number;
1237
+ confidence: number;
1238
1238
  confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
1239
1239
  level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
1240
1240
  isProvisional: boolean;
@@ -1247,9 +1247,9 @@ export declare function validateReputationCredential(credential: unknown): z.Saf
1247
1247
  } | undefined;
1248
1248
  };
1249
1249
  context?: {
1250
- region?: string | undefined;
1251
1250
  scope?: string | undefined;
1252
1251
  domain?: string | undefined;
1252
+ region?: string | undefined;
1253
1253
  } | undefined;
1254
1254
  }>;
1255
1255
  credentialStatus: z.ZodOptional<z.ZodObject<{