@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
@@ -170,22 +170,22 @@ export declare const adminWSDeviceSchema: z.ZodObject<{
170
170
  role: z.ZodOptional<z.ZodString>;
171
171
  }, "strip", z.ZodTypeAny, {
172
172
  status: "pending" | "approved";
173
- name: string;
174
173
  id: string;
174
+ name: string;
175
175
  lastSeen: string;
176
- clientId?: string | undefined;
177
- platform?: string | undefined;
178
176
  ip?: string | undefined;
177
+ platform?: string | undefined;
178
+ clientId?: string | undefined;
179
179
  clientMode?: string | undefined;
180
180
  role?: string | undefined;
181
181
  }, {
182
182
  status: "pending" | "approved";
183
- name: string;
184
183
  id: string;
184
+ name: string;
185
185
  lastSeen: string;
186
- clientId?: string | undefined;
187
- platform?: string | undefined;
188
186
  ip?: string | undefined;
187
+ platform?: string | undefined;
188
+ clientId?: string | undefined;
189
189
  clientMode?: string | undefined;
190
190
  role?: string | undefined;
191
191
  }>;
@@ -211,12 +211,12 @@ export declare const adminWSGatewayStatusSchema: z.ZodObject<{
211
211
  port: z.ZodNumber;
212
212
  }, "strip", z.ZodTypeAny, {
213
213
  running: boolean;
214
- port: number;
215
214
  pid: number | null;
215
+ port: number;
216
216
  }, {
217
217
  running: boolean;
218
- port: number;
219
218
  pid: number | null;
219
+ port: number;
220
220
  }>;
221
221
  export declare const adminWSCoreFileSchema: z.ZodObject<{
222
222
  name: z.ZodString;
@@ -250,22 +250,22 @@ export declare const adminWSFullStateSchema: z.ZodObject<{
250
250
  role: z.ZodOptional<z.ZodString>;
251
251
  }, "strip", z.ZodTypeAny, {
252
252
  status: "pending" | "approved";
253
- name: string;
254
253
  id: string;
254
+ name: string;
255
255
  lastSeen: string;
256
- clientId?: string | undefined;
257
- platform?: string | undefined;
258
256
  ip?: string | undefined;
257
+ platform?: string | undefined;
258
+ clientId?: string | undefined;
259
259
  clientMode?: string | undefined;
260
260
  role?: string | undefined;
261
261
  }, {
262
262
  status: "pending" | "approved";
263
- name: string;
264
263
  id: string;
264
+ name: string;
265
265
  lastSeen: string;
266
- clientId?: string | undefined;
267
- platform?: string | undefined;
268
266
  ip?: string | undefined;
267
+ platform?: string | undefined;
268
+ clientId?: string | undefined;
269
269
  clientMode?: string | undefined;
270
270
  role?: string | undefined;
271
271
  }>, "many">;
@@ -335,12 +335,12 @@ export declare const adminWSFullStateSchema: z.ZodObject<{
335
335
  port: z.ZodNumber;
336
336
  }, "strip", z.ZodTypeAny, {
337
337
  running: boolean;
338
- port: number;
339
338
  pid: number | null;
339
+ port: number;
340
340
  }, {
341
341
  running: boolean;
342
- port: number;
343
342
  pid: number | null;
343
+ port: number;
344
344
  }>;
345
345
  files: z.ZodOptional<z.ZodArray<z.ZodObject<{
346
346
  name: z.ZodString;
@@ -364,12 +364,12 @@ export declare const adminWSFullStateSchema: z.ZodObject<{
364
364
  }, "strip", z.ZodTypeAny, {
365
365
  devices: {
366
366
  status: "pending" | "approved";
367
- name: string;
368
367
  id: string;
368
+ name: string;
369
369
  lastSeen: string;
370
- clientId?: string | undefined;
371
- platform?: string | undefined;
372
370
  ip?: string | undefined;
371
+ platform?: string | undefined;
372
+ clientId?: string | undefined;
373
373
  clientMode?: string | undefined;
374
374
  role?: string | undefined;
375
375
  }[];
@@ -389,8 +389,8 @@ export declare const adminWSFullStateSchema: z.ZodObject<{
389
389
  };
390
390
  gateway: {
391
391
  running: boolean;
392
- port: number;
393
392
  pid: number | null;
393
+ port: number;
394
394
  };
395
395
  files?: {
396
396
  path: string;
@@ -402,12 +402,12 @@ export declare const adminWSFullStateSchema: z.ZodObject<{
402
402
  }, {
403
403
  devices: {
404
404
  status: "pending" | "approved";
405
- name: string;
406
405
  id: string;
406
+ name: string;
407
407
  lastSeen: string;
408
- clientId?: string | undefined;
409
- platform?: string | undefined;
410
408
  ip?: string | undefined;
409
+ platform?: string | undefined;
410
+ clientId?: string | undefined;
411
411
  clientMode?: string | undefined;
412
412
  role?: string | undefined;
413
413
  }[];
@@ -427,8 +427,8 @@ export declare const adminWSFullStateSchema: z.ZodObject<{
427
427
  };
428
428
  gateway: {
429
429
  running: boolean;
430
- port: number;
431
430
  pid: number | null;
431
+ port: number;
432
432
  };
433
433
  files?: {
434
434
  path: string;
@@ -463,22 +463,22 @@ export declare const adminWSFullStateMessageSchema: z.ZodObject<{
463
463
  role: z.ZodOptional<z.ZodString>;
464
464
  }, "strip", z.ZodTypeAny, {
465
465
  status: "pending" | "approved";
466
- name: string;
467
466
  id: string;
467
+ name: string;
468
468
  lastSeen: string;
469
- clientId?: string | undefined;
470
- platform?: string | undefined;
471
469
  ip?: string | undefined;
470
+ platform?: string | undefined;
471
+ clientId?: string | undefined;
472
472
  clientMode?: string | undefined;
473
473
  role?: string | undefined;
474
474
  }, {
475
475
  status: "pending" | "approved";
476
- name: string;
477
476
  id: string;
477
+ name: string;
478
478
  lastSeen: string;
479
- clientId?: string | undefined;
480
- platform?: string | undefined;
481
479
  ip?: string | undefined;
480
+ platform?: string | undefined;
481
+ clientId?: string | undefined;
482
482
  clientMode?: string | undefined;
483
483
  role?: string | undefined;
484
484
  }>, "many">;
@@ -548,12 +548,12 @@ export declare const adminWSFullStateMessageSchema: z.ZodObject<{
548
548
  port: z.ZodNumber;
549
549
  }, "strip", z.ZodTypeAny, {
550
550
  running: boolean;
551
- port: number;
552
551
  pid: number | null;
552
+ port: number;
553
553
  }, {
554
554
  running: boolean;
555
- port: number;
556
555
  pid: number | null;
556
+ port: number;
557
557
  }>;
558
558
  files: z.ZodOptional<z.ZodArray<z.ZodObject<{
559
559
  name: z.ZodString;
@@ -577,12 +577,12 @@ export declare const adminWSFullStateMessageSchema: z.ZodObject<{
577
577
  }, "strip", z.ZodTypeAny, {
578
578
  devices: {
579
579
  status: "pending" | "approved";
580
- name: string;
581
580
  id: string;
581
+ name: string;
582
582
  lastSeen: string;
583
- clientId?: string | undefined;
584
- platform?: string | undefined;
585
583
  ip?: string | undefined;
584
+ platform?: string | undefined;
585
+ clientId?: string | undefined;
586
586
  clientMode?: string | undefined;
587
587
  role?: string | undefined;
588
588
  }[];
@@ -602,8 +602,8 @@ export declare const adminWSFullStateMessageSchema: z.ZodObject<{
602
602
  };
603
603
  gateway: {
604
604
  running: boolean;
605
- port: number;
606
605
  pid: number | null;
606
+ port: number;
607
607
  };
608
608
  files?: {
609
609
  path: string;
@@ -615,12 +615,12 @@ export declare const adminWSFullStateMessageSchema: z.ZodObject<{
615
615
  }, {
616
616
  devices: {
617
617
  status: "pending" | "approved";
618
- name: string;
619
618
  id: string;
619
+ name: string;
620
620
  lastSeen: string;
621
- clientId?: string | undefined;
622
- platform?: string | undefined;
623
621
  ip?: string | undefined;
622
+ platform?: string | undefined;
623
+ clientId?: string | undefined;
624
624
  clientMode?: string | undefined;
625
625
  role?: string | undefined;
626
626
  }[];
@@ -640,8 +640,8 @@ export declare const adminWSFullStateMessageSchema: z.ZodObject<{
640
640
  };
641
641
  gateway: {
642
642
  running: boolean;
643
- port: number;
644
643
  pid: number | null;
644
+ port: number;
645
645
  };
646
646
  files?: {
647
647
  path: string;
@@ -656,12 +656,12 @@ export declare const adminWSFullStateMessageSchema: z.ZodObject<{
656
656
  data: {
657
657
  devices: {
658
658
  status: "pending" | "approved";
659
- name: string;
660
659
  id: string;
660
+ name: string;
661
661
  lastSeen: string;
662
- clientId?: string | undefined;
663
- platform?: string | undefined;
664
662
  ip?: string | undefined;
663
+ platform?: string | undefined;
664
+ clientId?: string | undefined;
665
665
  clientMode?: string | undefined;
666
666
  role?: string | undefined;
667
667
  }[];
@@ -681,8 +681,8 @@ export declare const adminWSFullStateMessageSchema: z.ZodObject<{
681
681
  };
682
682
  gateway: {
683
683
  running: boolean;
684
- port: number;
685
684
  pid: number | null;
685
+ port: number;
686
686
  };
687
687
  files?: {
688
688
  path: string;
@@ -697,12 +697,12 @@ export declare const adminWSFullStateMessageSchema: z.ZodObject<{
697
697
  data: {
698
698
  devices: {
699
699
  status: "pending" | "approved";
700
- name: string;
701
700
  id: string;
701
+ name: string;
702
702
  lastSeen: string;
703
- clientId?: string | undefined;
704
- platform?: string | undefined;
705
703
  ip?: string | undefined;
704
+ platform?: string | undefined;
705
+ clientId?: string | undefined;
706
706
  clientMode?: string | undefined;
707
707
  role?: string | undefined;
708
708
  }[];
@@ -722,8 +722,8 @@ export declare const adminWSFullStateMessageSchema: z.ZodObject<{
722
722
  };
723
723
  gateway: {
724
724
  running: boolean;
725
- port: number;
726
725
  pid: number | null;
726
+ port: number;
727
727
  };
728
728
  files?: {
729
729
  path: string;
@@ -748,22 +748,22 @@ export declare const adminWSDevicesMessageSchema: z.ZodObject<{
748
748
  role: z.ZodOptional<z.ZodString>;
749
749
  }, "strip", z.ZodTypeAny, {
750
750
  status: "pending" | "approved";
751
- name: string;
752
751
  id: string;
752
+ name: string;
753
753
  lastSeen: string;
754
- clientId?: string | undefined;
755
- platform?: string | undefined;
756
754
  ip?: string | undefined;
755
+ platform?: string | undefined;
756
+ clientId?: string | undefined;
757
757
  clientMode?: string | undefined;
758
758
  role?: string | undefined;
759
759
  }, {
760
760
  status: "pending" | "approved";
761
- name: string;
762
761
  id: string;
762
+ name: string;
763
763
  lastSeen: string;
764
- clientId?: string | undefined;
765
- platform?: string | undefined;
766
764
  ip?: string | undefined;
765
+ platform?: string | undefined;
766
+ clientId?: string | undefined;
767
767
  clientMode?: string | undefined;
768
768
  role?: string | undefined;
769
769
  }>, "many">;
@@ -771,12 +771,12 @@ export declare const adminWSDevicesMessageSchema: z.ZodObject<{
771
771
  type: "state:devices";
772
772
  data: {
773
773
  status: "pending" | "approved";
774
- name: string;
775
774
  id: string;
775
+ name: string;
776
776
  lastSeen: string;
777
- clientId?: string | undefined;
778
- platform?: string | undefined;
779
777
  ip?: string | undefined;
778
+ platform?: string | undefined;
779
+ clientId?: string | undefined;
780
780
  clientMode?: string | undefined;
781
781
  role?: string | undefined;
782
782
  }[];
@@ -784,12 +784,12 @@ export declare const adminWSDevicesMessageSchema: z.ZodObject<{
784
784
  type: "state:devices";
785
785
  data: {
786
786
  status: "pending" | "approved";
787
- name: string;
788
787
  id: string;
788
+ name: string;
789
789
  lastSeen: string;
790
- clientId?: string | undefined;
791
- platform?: string | undefined;
792
790
  ip?: string | undefined;
791
+ platform?: string | undefined;
792
+ clientId?: string | undefined;
793
793
  clientMode?: string | undefined;
794
794
  role?: string | undefined;
795
795
  }[];
@@ -897,26 +897,26 @@ export declare const adminWSGatewayMessageSchema: z.ZodObject<{
897
897
  port: z.ZodNumber;
898
898
  }, "strip", z.ZodTypeAny, {
899
899
  running: boolean;
900
- port: number;
901
900
  pid: number | null;
901
+ port: number;
902
902
  }, {
903
903
  running: boolean;
904
- port: number;
905
904
  pid: number | null;
905
+ port: number;
906
906
  }>;
907
907
  }, "strip", z.ZodTypeAny, {
908
908
  type: "state:gateway";
909
909
  data: {
910
910
  running: boolean;
911
- port: number;
912
911
  pid: number | null;
912
+ port: number;
913
913
  };
914
914
  }, {
915
915
  type: "state:gateway";
916
916
  data: {
917
917
  running: boolean;
918
- port: number;
919
918
  pid: number | null;
919
+ port: number;
920
920
  };
921
921
  }>;
922
922
  export declare const adminWSPingMessageSchema: z.ZodObject<{
@@ -1025,22 +1025,22 @@ export declare const adminWSServerMessageSchema: z.ZodDiscriminatedUnion<"type",
1025
1025
  role: z.ZodOptional<z.ZodString>;
1026
1026
  }, "strip", z.ZodTypeAny, {
1027
1027
  status: "pending" | "approved";
1028
- name: string;
1029
1028
  id: string;
1029
+ name: string;
1030
1030
  lastSeen: string;
1031
- clientId?: string | undefined;
1032
- platform?: string | undefined;
1033
1031
  ip?: string | undefined;
1032
+ platform?: string | undefined;
1033
+ clientId?: string | undefined;
1034
1034
  clientMode?: string | undefined;
1035
1035
  role?: string | undefined;
1036
1036
  }, {
1037
1037
  status: "pending" | "approved";
1038
- name: string;
1039
1038
  id: string;
1039
+ name: string;
1040
1040
  lastSeen: string;
1041
- clientId?: string | undefined;
1042
- platform?: string | undefined;
1043
1041
  ip?: string | undefined;
1042
+ platform?: string | undefined;
1043
+ clientId?: string | undefined;
1044
1044
  clientMode?: string | undefined;
1045
1045
  role?: string | undefined;
1046
1046
  }>, "many">;
@@ -1110,12 +1110,12 @@ export declare const adminWSServerMessageSchema: z.ZodDiscriminatedUnion<"type",
1110
1110
  port: z.ZodNumber;
1111
1111
  }, "strip", z.ZodTypeAny, {
1112
1112
  running: boolean;
1113
- port: number;
1114
1113
  pid: number | null;
1114
+ port: number;
1115
1115
  }, {
1116
1116
  running: boolean;
1117
- port: number;
1118
1117
  pid: number | null;
1118
+ port: number;
1119
1119
  }>;
1120
1120
  files: z.ZodOptional<z.ZodArray<z.ZodObject<{
1121
1121
  name: z.ZodString;
@@ -1139,12 +1139,12 @@ export declare const adminWSServerMessageSchema: z.ZodDiscriminatedUnion<"type",
1139
1139
  }, "strip", z.ZodTypeAny, {
1140
1140
  devices: {
1141
1141
  status: "pending" | "approved";
1142
- name: string;
1143
1142
  id: string;
1143
+ name: string;
1144
1144
  lastSeen: string;
1145
- clientId?: string | undefined;
1146
- platform?: string | undefined;
1147
1145
  ip?: string | undefined;
1146
+ platform?: string | undefined;
1147
+ clientId?: string | undefined;
1148
1148
  clientMode?: string | undefined;
1149
1149
  role?: string | undefined;
1150
1150
  }[];
@@ -1164,8 +1164,8 @@ export declare const adminWSServerMessageSchema: z.ZodDiscriminatedUnion<"type",
1164
1164
  };
1165
1165
  gateway: {
1166
1166
  running: boolean;
1167
- port: number;
1168
1167
  pid: number | null;
1168
+ port: number;
1169
1169
  };
1170
1170
  files?: {
1171
1171
  path: string;
@@ -1177,12 +1177,12 @@ export declare const adminWSServerMessageSchema: z.ZodDiscriminatedUnion<"type",
1177
1177
  }, {
1178
1178
  devices: {
1179
1179
  status: "pending" | "approved";
1180
- name: string;
1181
1180
  id: string;
1181
+ name: string;
1182
1182
  lastSeen: string;
1183
- clientId?: string | undefined;
1184
- platform?: string | undefined;
1185
1183
  ip?: string | undefined;
1184
+ platform?: string | undefined;
1185
+ clientId?: string | undefined;
1186
1186
  clientMode?: string | undefined;
1187
1187
  role?: string | undefined;
1188
1188
  }[];
@@ -1202,8 +1202,8 @@ export declare const adminWSServerMessageSchema: z.ZodDiscriminatedUnion<"type",
1202
1202
  };
1203
1203
  gateway: {
1204
1204
  running: boolean;
1205
- port: number;
1206
1205
  pid: number | null;
1206
+ port: number;
1207
1207
  };
1208
1208
  files?: {
1209
1209
  path: string;
@@ -1218,12 +1218,12 @@ export declare const adminWSServerMessageSchema: z.ZodDiscriminatedUnion<"type",
1218
1218
  data: {
1219
1219
  devices: {
1220
1220
  status: "pending" | "approved";
1221
- name: string;
1222
1221
  id: string;
1222
+ name: string;
1223
1223
  lastSeen: string;
1224
- clientId?: string | undefined;
1225
- platform?: string | undefined;
1226
1224
  ip?: string | undefined;
1225
+ platform?: string | undefined;
1226
+ clientId?: string | undefined;
1227
1227
  clientMode?: string | undefined;
1228
1228
  role?: string | undefined;
1229
1229
  }[];
@@ -1243,8 +1243,8 @@ export declare const adminWSServerMessageSchema: z.ZodDiscriminatedUnion<"type",
1243
1243
  };
1244
1244
  gateway: {
1245
1245
  running: boolean;
1246
- port: number;
1247
1246
  pid: number | null;
1247
+ port: number;
1248
1248
  };
1249
1249
  files?: {
1250
1250
  path: string;
@@ -1259,12 +1259,12 @@ export declare const adminWSServerMessageSchema: z.ZodDiscriminatedUnion<"type",
1259
1259
  data: {
1260
1260
  devices: {
1261
1261
  status: "pending" | "approved";
1262
- name: string;
1263
1262
  id: string;
1263
+ name: string;
1264
1264
  lastSeen: string;
1265
- clientId?: string | undefined;
1266
- platform?: string | undefined;
1267
1265
  ip?: string | undefined;
1266
+ platform?: string | undefined;
1267
+ clientId?: string | undefined;
1268
1268
  clientMode?: string | undefined;
1269
1269
  role?: string | undefined;
1270
1270
  }[];
@@ -1284,8 +1284,8 @@ export declare const adminWSServerMessageSchema: z.ZodDiscriminatedUnion<"type",
1284
1284
  };
1285
1285
  gateway: {
1286
1286
  running: boolean;
1287
- port: number;
1288
1287
  pid: number | null;
1288
+ port: number;
1289
1289
  };
1290
1290
  files?: {
1291
1291
  path: string;
@@ -1309,22 +1309,22 @@ export declare const adminWSServerMessageSchema: z.ZodDiscriminatedUnion<"type",
1309
1309
  role: z.ZodOptional<z.ZodString>;
1310
1310
  }, "strip", z.ZodTypeAny, {
1311
1311
  status: "pending" | "approved";
1312
- name: string;
1313
1312
  id: string;
1313
+ name: string;
1314
1314
  lastSeen: string;
1315
- clientId?: string | undefined;
1316
- platform?: string | undefined;
1317
1315
  ip?: string | undefined;
1316
+ platform?: string | undefined;
1317
+ clientId?: string | undefined;
1318
1318
  clientMode?: string | undefined;
1319
1319
  role?: string | undefined;
1320
1320
  }, {
1321
1321
  status: "pending" | "approved";
1322
- name: string;
1323
1322
  id: string;
1323
+ name: string;
1324
1324
  lastSeen: string;
1325
- clientId?: string | undefined;
1326
- platform?: string | undefined;
1327
1325
  ip?: string | undefined;
1326
+ platform?: string | undefined;
1327
+ clientId?: string | undefined;
1328
1328
  clientMode?: string | undefined;
1329
1329
  role?: string | undefined;
1330
1330
  }>, "many">;
@@ -1332,12 +1332,12 @@ export declare const adminWSServerMessageSchema: z.ZodDiscriminatedUnion<"type",
1332
1332
  type: "state:devices";
1333
1333
  data: {
1334
1334
  status: "pending" | "approved";
1335
- name: string;
1336
1335
  id: string;
1336
+ name: string;
1337
1337
  lastSeen: string;
1338
- clientId?: string | undefined;
1339
- platform?: string | undefined;
1340
1338
  ip?: string | undefined;
1339
+ platform?: string | undefined;
1340
+ clientId?: string | undefined;
1341
1341
  clientMode?: string | undefined;
1342
1342
  role?: string | undefined;
1343
1343
  }[];
@@ -1345,12 +1345,12 @@ export declare const adminWSServerMessageSchema: z.ZodDiscriminatedUnion<"type",
1345
1345
  type: "state:devices";
1346
1346
  data: {
1347
1347
  status: "pending" | "approved";
1348
- name: string;
1349
1348
  id: string;
1349
+ name: string;
1350
1350
  lastSeen: string;
1351
- clientId?: string | undefined;
1352
- platform?: string | undefined;
1353
1351
  ip?: string | undefined;
1352
+ platform?: string | undefined;
1353
+ clientId?: string | undefined;
1354
1354
  clientMode?: string | undefined;
1355
1355
  role?: string | undefined;
1356
1356
  }[];
@@ -1456,26 +1456,26 @@ export declare const adminWSServerMessageSchema: z.ZodDiscriminatedUnion<"type",
1456
1456
  port: z.ZodNumber;
1457
1457
  }, "strip", z.ZodTypeAny, {
1458
1458
  running: boolean;
1459
- port: number;
1460
1459
  pid: number | null;
1460
+ port: number;
1461
1461
  }, {
1462
1462
  running: boolean;
1463
- port: number;
1464
1463
  pid: number | null;
1464
+ port: number;
1465
1465
  }>;
1466
1466
  }, "strip", z.ZodTypeAny, {
1467
1467
  type: "state:gateway";
1468
1468
  data: {
1469
1469
  running: boolean;
1470
- port: number;
1471
1470
  pid: number | null;
1471
+ port: number;
1472
1472
  };
1473
1473
  }, {
1474
1474
  type: "state:gateway";
1475
1475
  data: {
1476
1476
  running: boolean;
1477
- port: number;
1478
1477
  pid: number | null;
1478
+ port: number;
1479
1479
  };
1480
1480
  }>, z.ZodObject<{
1481
1481
  type: z.ZodLiteral<"state:files">;
@@ -1579,14 +1579,14 @@ export declare const adminWSApprovePairingCommandSchema: z.ZodObject<{
1579
1579
  }, "strip", z.ZodTypeAny, {
1580
1580
  code: string;
1581
1581
  type: "command:approve-pairing";
1582
- requestId: string;
1583
1582
  channel: string;
1583
+ requestId: string;
1584
1584
  pairingId: string;
1585
1585
  }, {
1586
1586
  code: string;
1587
1587
  type: "command:approve-pairing";
1588
- requestId: string;
1589
1588
  channel: string;
1589
+ requestId: string;
1590
1590
  pairingId: string;
1591
1591
  }>;
1592
1592
  export declare const adminWSApproveDeviceCommandSchema: z.ZodObject<{
@@ -1640,13 +1640,13 @@ export declare const adminWSWriteFileCommandSchema: z.ZodObject<{
1640
1640
  }, "strip", z.ZodTypeAny, {
1641
1641
  path: string;
1642
1642
  type: "command:write-file";
1643
- requestId: string;
1644
1643
  content: string;
1644
+ requestId: string;
1645
1645
  }, {
1646
1646
  path: string;
1647
1647
  type: "command:write-file";
1648
- requestId: string;
1649
1648
  content: string;
1649
+ requestId: string;
1650
1650
  }>;
1651
1651
  export declare const adminWSResetAgentCommandSchema: z.ZodObject<{
1652
1652
  type: z.ZodLiteral<"command:reset-agent">;
@@ -1677,14 +1677,14 @@ export declare const adminWSCommandSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
1677
1677
  }, "strip", z.ZodTypeAny, {
1678
1678
  code: string;
1679
1679
  type: "command:approve-pairing";
1680
- requestId: string;
1681
1680
  channel: string;
1681
+ requestId: string;
1682
1682
  pairingId: string;
1683
1683
  }, {
1684
1684
  code: string;
1685
1685
  type: "command:approve-pairing";
1686
- requestId: string;
1687
1686
  channel: string;
1687
+ requestId: string;
1688
1688
  pairingId: string;
1689
1689
  }>, z.ZodObject<{
1690
1690
  type: z.ZodLiteral<"command:approve-device">;
@@ -1733,13 +1733,13 @@ export declare const adminWSCommandSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
1733
1733
  }, "strip", z.ZodTypeAny, {
1734
1734
  path: string;
1735
1735
  type: "command:write-file";
1736
- requestId: string;
1737
1736
  content: string;
1737
+ requestId: string;
1738
1738
  }, {
1739
1739
  path: string;
1740
1740
  type: "command:write-file";
1741
- requestId: string;
1742
1741
  content: string;
1742
+ requestId: string;
1743
1743
  }>, z.ZodObject<{
1744
1744
  type: z.ZodLiteral<"command:reset-agent">;
1745
1745
  requestId: z.ZodString;
@@ -1780,14 +1780,14 @@ export declare const adminWSClientMessageSchema: z.ZodDiscriminatedUnion<"type",
1780
1780
  }, "strip", z.ZodTypeAny, {
1781
1781
  code: string;
1782
1782
  type: "command:approve-pairing";
1783
- requestId: string;
1784
1783
  channel: string;
1784
+ requestId: string;
1785
1785
  pairingId: string;
1786
1786
  }, {
1787
1787
  code: string;
1788
1788
  type: "command:approve-pairing";
1789
- requestId: string;
1790
1789
  channel: string;
1790
+ requestId: string;
1791
1791
  pairingId: string;
1792
1792
  }>, z.ZodObject<{
1793
1793
  type: z.ZodLiteral<"command:approve-device">;
@@ -1836,13 +1836,13 @@ export declare const adminWSClientMessageSchema: z.ZodDiscriminatedUnion<"type",
1836
1836
  }, "strip", z.ZodTypeAny, {
1837
1837
  path: string;
1838
1838
  type: "command:write-file";
1839
- requestId: string;
1840
1839
  content: string;
1840
+ requestId: string;
1841
1841
  }, {
1842
1842
  path: string;
1843
1843
  type: "command:write-file";
1844
- requestId: string;
1845
1844
  content: string;
1845
+ requestId: string;
1846
1846
  }>, z.ZodObject<{
1847
1847
  type: z.ZodLiteral<"command:reset-agent">;
1848
1848
  requestId: z.ZodString;