@wowok/agent-mcp 2.6.0 → 2.6.1

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 (133) hide show
  1. package/README.md +5 -3
  2. package/dist/extensions/capability-manifest.d.ts +125 -0
  3. package/dist/extensions/capability-manifest.js +594 -0
  4. package/dist/extensions/constraint-registry.d.ts +24 -0
  5. package/dist/extensions/constraint-registry.js +196 -0
  6. package/dist/extensions/index.d.ts +12 -0
  7. package/dist/extensions/index.js +6 -0
  8. package/dist/extensions/metric-registry.d.ts +26 -0
  9. package/dist/extensions/metric-registry.js +257 -0
  10. package/dist/extensions/mode-evaluator.d.ts +15 -0
  11. package/dist/extensions/mode-evaluator.js +170 -0
  12. package/dist/extensions/modes.d.ts +2 -0
  13. package/dist/extensions/modes.js +407 -0
  14. package/dist/extensions/registry.d.ts +48 -0
  15. package/dist/extensions/registry.js +629 -0
  16. package/dist/extensions/types.d.ts +218 -0
  17. package/dist/extensions/types.js +1 -0
  18. package/dist/knowledge/deployment-scanner.d.ts +3 -0
  19. package/dist/knowledge/deployment-scanner.js +64 -3
  20. package/dist/knowledge/guard-risk.d.ts +13 -0
  21. package/dist/knowledge/guard-risk.js +57 -0
  22. package/dist/knowledge/guard-templates.js +278 -0
  23. package/dist/knowledge/machine-templates.js +20 -1
  24. package/dist/knowledge/service-confirm.d.ts +14 -5
  25. package/dist/knowledge/service-confirm.js +116 -8
  26. package/dist/knowledge/tool-constraints.js +6 -2
  27. package/dist/project/deployment-bridge.d.ts +1 -1
  28. package/dist/project/deployment-bridge.js +27 -4
  29. package/dist/project/deployment-doc.d.ts +3 -0
  30. package/dist/project/deployment-doc.js +72 -10
  31. package/dist/project/evaluation.d.ts +2 -0
  32. package/dist/project/evaluation.js +569 -84
  33. package/dist/project/graph-builder.d.ts +4 -1
  34. package/dist/project/graph-builder.js +126 -61
  35. package/dist/project/graph.d.ts +1 -0
  36. package/dist/project/handlers.d.ts +219 -5
  37. package/dist/project/handlers.js +819 -9
  38. package/dist/project/stage-gate.d.ts +4 -0
  39. package/dist/project/stage-gate.js +64 -5
  40. package/dist/project/task-tracker.d.ts +26 -0
  41. package/dist/project/task-tracker.js +78 -0
  42. package/dist/safety/preview.js +16 -0
  43. package/dist/schema/call/allocation.d.ts +16 -16
  44. package/dist/schema/call/base.d.ts +21 -13
  45. package/dist/schema/call/base.js +27 -6
  46. package/dist/schema/call/bridge.d.ts +5 -5
  47. package/dist/schema/call/bridge.js +3 -1
  48. package/dist/schema/call/demand.d.ts +23 -31
  49. package/dist/schema/call/guard.js +1 -1
  50. package/dist/schema/call/machine.d.ts +402 -376
  51. package/dist/schema/call/order.d.ts +149 -228
  52. package/dist/schema/call/order.js +7 -3
  53. package/dist/schema/call/payment.d.ts +183 -3
  54. package/dist/schema/call/payment.js +21 -3
  55. package/dist/schema/call/personal.d.ts +241 -52
  56. package/dist/schema/call/progress.d.ts +53 -61
  57. package/dist/schema/call/progress.js +18 -4
  58. package/dist/schema/call/repository.d.ts +23 -31
  59. package/dist/schema/call/semantic.d.ts +1 -1
  60. package/dist/schema/call/semantic.js +30 -1
  61. package/dist/schema/call/service.d.ts +95 -119
  62. package/dist/schema/call/service.js +22 -1
  63. package/dist/schema/common/index.d.ts +11 -2
  64. package/dist/schema/common/index.js +43 -14
  65. package/dist/schema/local/index.d.ts +32 -35
  66. package/dist/schema/local/index.js +23 -5
  67. package/dist/schema/messenger/index.d.ts +274 -46
  68. package/dist/schema/operations.d.ts +680 -539
  69. package/dist/schema/operations.js +22 -0
  70. package/dist/schema/project/index.d.ts +1796 -80
  71. package/dist/schema/project/index.js +304 -14
  72. package/dist/schema/query/index.d.ts +705 -349
  73. package/dist/schema/query/index.js +164 -31
  74. package/dist/schema/schema-query/index.d.ts +15 -3
  75. package/dist/schema/schema-query/index.js +23 -5
  76. package/dist/schema/utils/node-parser.js +7 -4
  77. package/dist/schema-query/index.d.ts +7 -1
  78. package/dist/schema-query/index.js +204 -4
  79. package/dist/schemas/account_operation.output.json +7 -1
  80. package/dist/schemas/account_operation.schema.json +2 -2
  81. package/dist/schemas/bridge_operation.output.json +6 -0
  82. package/dist/schemas/bridge_operation.schema.json +1 -1
  83. package/dist/schemas/guard-templates.json +379 -0
  84. package/dist/schemas/guard2file.schema.json +1 -1
  85. package/dist/schemas/index.json +1 -1
  86. package/dist/schemas/local_info_operation.output.json +6 -0
  87. package/dist/schemas/local_mark_operation.output.json +7 -1
  88. package/dist/schemas/local_mark_operation.schema.json +1 -1
  89. package/dist/schemas/machineNode2file.schema.json +1 -1
  90. package/dist/schemas/messenger_operation.schema.json +4 -4
  91. package/dist/schemas/onchain_events.output.json +1 -1
  92. package/dist/schemas/onchain_operations.schema.json +348 -296
  93. package/dist/schemas/onchain_operations_allocation.schema.json +34 -25
  94. package/dist/schemas/onchain_operations_arbitration.schema.json +8 -8
  95. package/dist/schemas/onchain_operations_contact.schema.json +8 -8
  96. package/dist/schemas/onchain_operations_demand.schema.json +8 -8
  97. package/dist/schemas/onchain_operations_gen_passport.schema.json +14 -14
  98. package/dist/schemas/onchain_operations_gen_proof.schema.json +2 -2
  99. package/dist/schemas/onchain_operations_guard.schema.json +1 -1
  100. package/dist/schemas/onchain_operations_machine.schema.json +41 -33
  101. package/dist/schemas/onchain_operations_order.schema.json +71 -77
  102. package/dist/schemas/onchain_operations_payment.schema.json +141 -111
  103. package/dist/schemas/onchain_operations_permission.schema.json +2 -2
  104. package/dist/schemas/onchain_operations_personal.schema.json +7 -7
  105. package/dist/schemas/onchain_operations_progress.schema.json +8 -8
  106. package/dist/schemas/onchain_operations_proof.schema.json +7 -7
  107. package/dist/schemas/onchain_operations_repository.schema.json +8 -8
  108. package/dist/schemas/onchain_operations_reward.schema.json +10 -10
  109. package/dist/schemas/onchain_operations_service.schema.json +46 -35
  110. package/dist/schemas/onchain_operations_treasury.schema.json +8 -8
  111. package/dist/schemas/onchain_table_data.output.json +33 -25
  112. package/dist/schemas/onchain_table_data.schema.json +12 -12
  113. package/dist/schemas/project_operation.output.json +1175 -23
  114. package/dist/schemas/project_operation.schema.json +40 -4
  115. package/dist/schemas/query_toolkit.output.json +104 -76
  116. package/dist/schemas/query_toolkit.schema.json +9 -9
  117. package/dist/schemas/schema_query.output.json +7 -3
  118. package/dist/schemas/schema_query.schema.json +17 -3
  119. package/dist/tools/handlers/local.js +20 -5
  120. package/dist/tools/handlers/onchain.js +23 -0
  121. package/dist/tools/handlers/project.js +52 -3
  122. package/dist/tools/handlers/query.js +27 -0
  123. package/dist/tools/handlers/schema-query.js +19 -0
  124. package/dist/tools/handlers/task-status.d.ts +170 -0
  125. package/dist/tools/handlers/task-status.js +55 -0
  126. package/dist/tools/handlers/wip.js +47 -1
  127. package/dist/tools/index.js +211 -7
  128. package/dist/tools/retry.d.ts +8 -0
  129. package/dist/tools/retry.js +85 -0
  130. package/dist/tools/wip-deploy-assist.d.ts +28 -0
  131. package/dist/tools/wip-deploy-assist.js +278 -0
  132. package/package.json +2 -2
  133. package/dist/schemas/guard-node-examples.md +0 -199
@@ -442,7 +442,10 @@ export declare const MessageFilterSchema: z.ZodObject<{
442
442
  account: z.ZodOptional<z.ZodString>;
443
443
  direction: z.ZodOptional<z.ZodEnum<["sent", "received"]>>;
444
444
  status: z.ZodOptional<z.ZodEnum<["pending", "confirmed", "read", "failed", "rejected", "decrypted", "decrypt_failed"]>>;
445
- peerAddress: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
445
+ peerAddress: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, {
446
+ name_or_address: string;
447
+ local_mark_first: boolean;
448
+ }, string>, z.ZodObject<{
446
449
  name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
447
450
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
448
451
  }, "strict", z.ZodTypeAny, {
@@ -501,9 +504,12 @@ export declare const MessageFilterSchema: z.ZodObject<{
501
504
  direction?: "received" | "sent" | undefined;
502
505
  contentType?: "text" | "wip" | "wts" | "zip" | undefined;
503
506
  msgType?: 1 | 3 | undefined;
504
- peerAddress?: string | {
507
+ peerAddress?: {
505
508
  name_or_address?: string | undefined;
506
509
  local_mark_first?: boolean | undefined;
510
+ } | {
511
+ name_or_address: string;
512
+ local_mark_first: boolean;
507
513
  } | undefined;
508
514
  startTime?: number | undefined;
509
515
  endTime?: number | undefined;
@@ -755,7 +761,10 @@ export declare const WtsRangeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
755
761
  }>]>;
756
762
  export declare const WtsGenerationParamsSchema: z.ZodObject<{
757
763
  myAccount: z.ZodEffects<z.ZodString, string, string>;
758
- peerAccount: z.ZodUnion<[z.ZodString, z.ZodObject<{
764
+ peerAccount: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, {
765
+ name_or_address: string;
766
+ local_mark_first: boolean;
767
+ }, string>, z.ZodObject<{
759
768
  name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
760
769
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
761
770
  }, "strict", z.ZodTypeAny, {
@@ -806,9 +815,12 @@ export declare const WtsGenerationParamsSchema: z.ZodObject<{
806
815
  outputDir: z.ZodString;
807
816
  }, "strip", z.ZodTypeAny, {
808
817
  myAccount: string;
809
- peerAccount: string | {
818
+ peerAccount: {
810
819
  name_or_address?: string | undefined;
811
820
  local_mark_first?: boolean | undefined;
821
+ } | {
822
+ name_or_address: string;
823
+ local_mark_first: boolean;
812
824
  };
813
825
  outputDir: string;
814
826
  range?: {
@@ -1029,7 +1041,13 @@ export declare const ListOperationResponseSchema: z.ZodObject<{
1029
1041
  }>;
1030
1042
  export declare const BlacklistOperationSchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
1031
1043
  op: z.ZodLiteral<"add">;
1032
- users: z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
1044
+ users: z.ZodUnion<[z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, {
1045
+ entities: {
1046
+ name_or_address: string;
1047
+ local_mark_first: boolean;
1048
+ }[];
1049
+ check_all_founded: boolean;
1050
+ }, string[]>, z.ZodObject<{
1033
1051
  entities: z.ZodArray<z.ZodObject<{
1034
1052
  name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1035
1053
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
@@ -1062,7 +1080,13 @@ export declare const BlacklistOperationSchema: z.ZodDiscriminatedUnion<"op", [z.
1062
1080
  local_mark_first?: boolean | undefined;
1063
1081
  }[];
1064
1082
  check_all_founded?: boolean | undefined;
1065
- } | string[];
1083
+ } | {
1084
+ entities: {
1085
+ name_or_address: string;
1086
+ local_mark_first: boolean;
1087
+ }[];
1088
+ check_all_founded: boolean;
1089
+ };
1066
1090
  }, {
1067
1091
  op: "add";
1068
1092
  users: {
@@ -1074,7 +1098,13 @@ export declare const BlacklistOperationSchema: z.ZodDiscriminatedUnion<"op", [z.
1074
1098
  } | string[];
1075
1099
  }>, z.ZodObject<{
1076
1100
  op: z.ZodLiteral<"remove">;
1077
- users: z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
1101
+ users: z.ZodUnion<[z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, {
1102
+ entities: {
1103
+ name_or_address: string;
1104
+ local_mark_first: boolean;
1105
+ }[];
1106
+ check_all_founded: boolean;
1107
+ }, string[]>, z.ZodObject<{
1078
1108
  entities: z.ZodArray<z.ZodObject<{
1079
1109
  name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1080
1110
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
@@ -1107,7 +1137,13 @@ export declare const BlacklistOperationSchema: z.ZodDiscriminatedUnion<"op", [z.
1107
1137
  local_mark_first?: boolean | undefined;
1108
1138
  }[];
1109
1139
  check_all_founded?: boolean | undefined;
1110
- } | string[];
1140
+ } | {
1141
+ entities: {
1142
+ name_or_address: string;
1143
+ local_mark_first: boolean;
1144
+ }[];
1145
+ check_all_founded: boolean;
1146
+ };
1111
1147
  }, {
1112
1148
  op: "remove";
1113
1149
  users: {
@@ -1131,7 +1167,13 @@ export declare const BlacklistOperationSchema: z.ZodDiscriminatedUnion<"op", [z.
1131
1167
  op: "get";
1132
1168
  }>, z.ZodObject<{
1133
1169
  op: z.ZodLiteral<"exist">;
1134
- users: z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
1170
+ users: z.ZodUnion<[z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, {
1171
+ entities: {
1172
+ name_or_address: string;
1173
+ local_mark_first: boolean;
1174
+ }[];
1175
+ check_all_founded: boolean;
1176
+ }, string[]>, z.ZodObject<{
1135
1177
  entities: z.ZodArray<z.ZodObject<{
1136
1178
  name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1137
1179
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
@@ -1164,7 +1206,13 @@ export declare const BlacklistOperationSchema: z.ZodDiscriminatedUnion<"op", [z.
1164
1206
  local_mark_first?: boolean | undefined;
1165
1207
  }[];
1166
1208
  check_all_founded?: boolean | undefined;
1167
- } | string[];
1209
+ } | {
1210
+ entities: {
1211
+ name_or_address: string;
1212
+ local_mark_first: boolean;
1213
+ }[];
1214
+ check_all_founded: boolean;
1215
+ };
1168
1216
  }, {
1169
1217
  op: "exist";
1170
1218
  users: {
@@ -1177,7 +1225,13 @@ export declare const BlacklistOperationSchema: z.ZodDiscriminatedUnion<"op", [z.
1177
1225
  }>]>;
1178
1226
  export declare const FriendslistOperationSchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
1179
1227
  op: z.ZodLiteral<"add">;
1180
- users: z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
1228
+ users: z.ZodUnion<[z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, {
1229
+ entities: {
1230
+ name_or_address: string;
1231
+ local_mark_first: boolean;
1232
+ }[];
1233
+ check_all_founded: boolean;
1234
+ }, string[]>, z.ZodObject<{
1181
1235
  entities: z.ZodArray<z.ZodObject<{
1182
1236
  name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1183
1237
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
@@ -1210,7 +1264,13 @@ export declare const FriendslistOperationSchema: z.ZodDiscriminatedUnion<"op", [
1210
1264
  local_mark_first?: boolean | undefined;
1211
1265
  }[];
1212
1266
  check_all_founded?: boolean | undefined;
1213
- } | string[];
1267
+ } | {
1268
+ entities: {
1269
+ name_or_address: string;
1270
+ local_mark_first: boolean;
1271
+ }[];
1272
+ check_all_founded: boolean;
1273
+ };
1214
1274
  }, {
1215
1275
  op: "add";
1216
1276
  users: {
@@ -1222,7 +1282,13 @@ export declare const FriendslistOperationSchema: z.ZodDiscriminatedUnion<"op", [
1222
1282
  } | string[];
1223
1283
  }>, z.ZodObject<{
1224
1284
  op: z.ZodLiteral<"remove">;
1225
- users: z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
1285
+ users: z.ZodUnion<[z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, {
1286
+ entities: {
1287
+ name_or_address: string;
1288
+ local_mark_first: boolean;
1289
+ }[];
1290
+ check_all_founded: boolean;
1291
+ }, string[]>, z.ZodObject<{
1226
1292
  entities: z.ZodArray<z.ZodObject<{
1227
1293
  name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1228
1294
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
@@ -1255,7 +1321,13 @@ export declare const FriendslistOperationSchema: z.ZodDiscriminatedUnion<"op", [
1255
1321
  local_mark_first?: boolean | undefined;
1256
1322
  }[];
1257
1323
  check_all_founded?: boolean | undefined;
1258
- } | string[];
1324
+ } | {
1325
+ entities: {
1326
+ name_or_address: string;
1327
+ local_mark_first: boolean;
1328
+ }[];
1329
+ check_all_founded: boolean;
1330
+ };
1259
1331
  }, {
1260
1332
  op: "remove";
1261
1333
  users: {
@@ -1279,7 +1351,13 @@ export declare const FriendslistOperationSchema: z.ZodDiscriminatedUnion<"op", [
1279
1351
  op: "get";
1280
1352
  }>, z.ZodObject<{
1281
1353
  op: z.ZodLiteral<"exist">;
1282
- users: z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
1354
+ users: z.ZodUnion<[z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, {
1355
+ entities: {
1356
+ name_or_address: string;
1357
+ local_mark_first: boolean;
1358
+ }[];
1359
+ check_all_founded: boolean;
1360
+ }, string[]>, z.ZodObject<{
1283
1361
  entities: z.ZodArray<z.ZodObject<{
1284
1362
  name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1285
1363
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
@@ -1312,7 +1390,13 @@ export declare const FriendslistOperationSchema: z.ZodDiscriminatedUnion<"op", [
1312
1390
  local_mark_first?: boolean | undefined;
1313
1391
  }[];
1314
1392
  check_all_founded?: boolean | undefined;
1315
- } | string[];
1393
+ } | {
1394
+ entities: {
1395
+ name_or_address: string;
1396
+ local_mark_first: boolean;
1397
+ }[];
1398
+ check_all_founded: boolean;
1399
+ };
1316
1400
  }, {
1317
1401
  op: "exist";
1318
1402
  users: {
@@ -1468,7 +1552,10 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
1468
1552
  }>, z.ZodObject<{
1469
1553
  operation: z.ZodLiteral<"send_message">;
1470
1554
  from: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1471
- to: z.ZodUnion<[z.ZodString, z.ZodObject<{
1555
+ to: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, {
1556
+ name_or_address: string;
1557
+ local_mark_first: boolean;
1558
+ }, string>, z.ZodObject<{
1472
1559
  name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1473
1560
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
1474
1561
  }, "strict", z.ZodTypeAny, {
@@ -1500,9 +1587,12 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
1500
1587
  }>>;
1501
1588
  }, "strict", z.ZodTypeAny, {
1502
1589
  content: string;
1503
- to: string | {
1590
+ to: {
1504
1591
  name_or_address?: string | undefined;
1505
1592
  local_mark_first?: boolean | undefined;
1593
+ } | {
1594
+ name_or_address: string;
1595
+ local_mark_first: boolean;
1506
1596
  };
1507
1597
  operation: "send_message";
1508
1598
  options?: {
@@ -1531,7 +1621,10 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
1531
1621
  }>, z.ZodObject<{
1532
1622
  operation: z.ZodLiteral<"send_file">;
1533
1623
  from: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1534
- to: z.ZodUnion<[z.ZodString, z.ZodObject<{
1624
+ to: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, {
1625
+ name_or_address: string;
1626
+ local_mark_first: boolean;
1627
+ }, string>, z.ZodObject<{
1535
1628
  name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1536
1629
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
1537
1630
  }, "strict", z.ZodTypeAny, {
@@ -1569,9 +1662,12 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
1569
1662
  }>>;
1570
1663
  }, "strict", z.ZodTypeAny, {
1571
1664
  filePath: string;
1572
- to: string | {
1665
+ to: {
1573
1666
  name_or_address?: string | undefined;
1574
1667
  local_mark_first?: boolean | undefined;
1668
+ } | {
1669
+ name_or_address: string;
1670
+ local_mark_first: boolean;
1575
1671
  };
1576
1672
  operation: "send_file";
1577
1673
  options?: {
@@ -1607,7 +1703,10 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
1607
1703
  account: z.ZodOptional<z.ZodString>;
1608
1704
  direction: z.ZodOptional<z.ZodEnum<["sent", "received"]>>;
1609
1705
  status: z.ZodOptional<z.ZodEnum<["pending", "confirmed", "read", "failed", "rejected", "decrypted", "decrypt_failed"]>>;
1610
- peerAddress: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
1706
+ peerAddress: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, {
1707
+ name_or_address: string;
1708
+ local_mark_first: boolean;
1709
+ }, string>, z.ZodObject<{
1611
1710
  name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1612
1711
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
1613
1712
  }, "strict", z.ZodTypeAny, {
@@ -1666,9 +1765,12 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
1666
1765
  direction?: "received" | "sent" | undefined;
1667
1766
  contentType?: "text" | "wip" | "wts" | "zip" | undefined;
1668
1767
  msgType?: 1 | 3 | undefined;
1669
- peerAddress?: string | {
1768
+ peerAddress?: {
1670
1769
  name_or_address?: string | undefined;
1671
1770
  local_mark_first?: boolean | undefined;
1771
+ } | {
1772
+ name_or_address: string;
1773
+ local_mark_first: boolean;
1672
1774
  } | undefined;
1673
1775
  startTime?: number | undefined;
1674
1776
  endTime?: number | undefined;
@@ -1753,9 +1855,12 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
1753
1855
  direction?: "received" | "sent" | undefined;
1754
1856
  contentType?: "text" | "wip" | "wts" | "zip" | undefined;
1755
1857
  msgType?: 1 | 3 | undefined;
1756
- peerAddress?: string | {
1858
+ peerAddress?: {
1757
1859
  name_or_address?: string | undefined;
1758
1860
  local_mark_first?: boolean | undefined;
1861
+ } | {
1862
+ name_or_address: string;
1863
+ local_mark_first: boolean;
1759
1864
  } | undefined;
1760
1865
  startTime?: number | undefined;
1761
1866
  endTime?: number | undefined;
@@ -2072,7 +2177,10 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
2072
2177
  operation: z.ZodLiteral<"generate_wts">;
2073
2178
  params: z.ZodObject<{
2074
2179
  myAccount: z.ZodEffects<z.ZodString, string, string>;
2075
- peerAccount: z.ZodUnion<[z.ZodString, z.ZodObject<{
2180
+ peerAccount: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, {
2181
+ name_or_address: string;
2182
+ local_mark_first: boolean;
2183
+ }, string>, z.ZodObject<{
2076
2184
  name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2077
2185
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
2078
2186
  }, "strict", z.ZodTypeAny, {
@@ -2123,9 +2231,12 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
2123
2231
  outputDir: z.ZodString;
2124
2232
  }, "strip", z.ZodTypeAny, {
2125
2233
  myAccount: string;
2126
- peerAccount: string | {
2234
+ peerAccount: {
2127
2235
  name_or_address?: string | undefined;
2128
2236
  local_mark_first?: boolean | undefined;
2237
+ } | {
2238
+ name_or_address: string;
2239
+ local_mark_first: boolean;
2129
2240
  };
2130
2241
  outputDir: string;
2131
2242
  range?: {
@@ -2167,9 +2278,12 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
2167
2278
  }, "strict", z.ZodTypeAny, {
2168
2279
  params: {
2169
2280
  myAccount: string;
2170
- peerAccount: string | {
2281
+ peerAccount: {
2171
2282
  name_or_address?: string | undefined;
2172
2283
  local_mark_first?: boolean | undefined;
2284
+ } | {
2285
+ name_or_address: string;
2286
+ local_mark_first: boolean;
2173
2287
  };
2174
2288
  outputDir: string;
2175
2289
  range?: {
@@ -2288,7 +2402,13 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
2288
2402
  account: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2289
2403
  blacklist: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
2290
2404
  op: z.ZodLiteral<"add">;
2291
- users: z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
2405
+ users: z.ZodUnion<[z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, {
2406
+ entities: {
2407
+ name_or_address: string;
2408
+ local_mark_first: boolean;
2409
+ }[];
2410
+ check_all_founded: boolean;
2411
+ }, string[]>, z.ZodObject<{
2292
2412
  entities: z.ZodArray<z.ZodObject<{
2293
2413
  name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2294
2414
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
@@ -2321,7 +2441,13 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
2321
2441
  local_mark_first?: boolean | undefined;
2322
2442
  }[];
2323
2443
  check_all_founded?: boolean | undefined;
2324
- } | string[];
2444
+ } | {
2445
+ entities: {
2446
+ name_or_address: string;
2447
+ local_mark_first: boolean;
2448
+ }[];
2449
+ check_all_founded: boolean;
2450
+ };
2325
2451
  }, {
2326
2452
  op: "add";
2327
2453
  users: {
@@ -2333,7 +2459,13 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
2333
2459
  } | string[];
2334
2460
  }>, z.ZodObject<{
2335
2461
  op: z.ZodLiteral<"remove">;
2336
- users: z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
2462
+ users: z.ZodUnion<[z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, {
2463
+ entities: {
2464
+ name_or_address: string;
2465
+ local_mark_first: boolean;
2466
+ }[];
2467
+ check_all_founded: boolean;
2468
+ }, string[]>, z.ZodObject<{
2337
2469
  entities: z.ZodArray<z.ZodObject<{
2338
2470
  name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2339
2471
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
@@ -2366,7 +2498,13 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
2366
2498
  local_mark_first?: boolean | undefined;
2367
2499
  }[];
2368
2500
  check_all_founded?: boolean | undefined;
2369
- } | string[];
2501
+ } | {
2502
+ entities: {
2503
+ name_or_address: string;
2504
+ local_mark_first: boolean;
2505
+ }[];
2506
+ check_all_founded: boolean;
2507
+ };
2370
2508
  }, {
2371
2509
  op: "remove";
2372
2510
  users: {
@@ -2390,7 +2528,13 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
2390
2528
  op: "get";
2391
2529
  }>, z.ZodObject<{
2392
2530
  op: z.ZodLiteral<"exist">;
2393
- users: z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
2531
+ users: z.ZodUnion<[z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, {
2532
+ entities: {
2533
+ name_or_address: string;
2534
+ local_mark_first: boolean;
2535
+ }[];
2536
+ check_all_founded: boolean;
2537
+ }, string[]>, z.ZodObject<{
2394
2538
  entities: z.ZodArray<z.ZodObject<{
2395
2539
  name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2396
2540
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
@@ -2423,7 +2567,13 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
2423
2567
  local_mark_first?: boolean | undefined;
2424
2568
  }[];
2425
2569
  check_all_founded?: boolean | undefined;
2426
- } | string[];
2570
+ } | {
2571
+ entities: {
2572
+ name_or_address: string;
2573
+ local_mark_first: boolean;
2574
+ }[];
2575
+ check_all_founded: boolean;
2576
+ };
2427
2577
  }, {
2428
2578
  op: "exist";
2429
2579
  users: {
@@ -2444,7 +2594,13 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
2444
2594
  local_mark_first?: boolean | undefined;
2445
2595
  }[];
2446
2596
  check_all_founded?: boolean | undefined;
2447
- } | string[];
2597
+ } | {
2598
+ entities: {
2599
+ name_or_address: string;
2600
+ local_mark_first: boolean;
2601
+ }[];
2602
+ check_all_founded: boolean;
2603
+ };
2448
2604
  } | {
2449
2605
  op: "remove";
2450
2606
  users: {
@@ -2453,7 +2609,13 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
2453
2609
  local_mark_first?: boolean | undefined;
2454
2610
  }[];
2455
2611
  check_all_founded?: boolean | undefined;
2456
- } | string[];
2612
+ } | {
2613
+ entities: {
2614
+ name_or_address: string;
2615
+ local_mark_first: boolean;
2616
+ }[];
2617
+ check_all_founded: boolean;
2618
+ };
2457
2619
  } | {
2458
2620
  op: "clear";
2459
2621
  } | {
@@ -2466,7 +2628,13 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
2466
2628
  local_mark_first?: boolean | undefined;
2467
2629
  }[];
2468
2630
  check_all_founded?: boolean | undefined;
2469
- } | string[];
2631
+ } | {
2632
+ entities: {
2633
+ name_or_address: string;
2634
+ local_mark_first: boolean;
2635
+ }[];
2636
+ check_all_founded: boolean;
2637
+ };
2470
2638
  };
2471
2639
  account?: string | undefined;
2472
2640
  }, {
@@ -2509,7 +2677,13 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
2509
2677
  account: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2510
2678
  friendslist: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
2511
2679
  op: z.ZodLiteral<"add">;
2512
- users: z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
2680
+ users: z.ZodUnion<[z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, {
2681
+ entities: {
2682
+ name_or_address: string;
2683
+ local_mark_first: boolean;
2684
+ }[];
2685
+ check_all_founded: boolean;
2686
+ }, string[]>, z.ZodObject<{
2513
2687
  entities: z.ZodArray<z.ZodObject<{
2514
2688
  name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2515
2689
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
@@ -2542,7 +2716,13 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
2542
2716
  local_mark_first?: boolean | undefined;
2543
2717
  }[];
2544
2718
  check_all_founded?: boolean | undefined;
2545
- } | string[];
2719
+ } | {
2720
+ entities: {
2721
+ name_or_address: string;
2722
+ local_mark_first: boolean;
2723
+ }[];
2724
+ check_all_founded: boolean;
2725
+ };
2546
2726
  }, {
2547
2727
  op: "add";
2548
2728
  users: {
@@ -2554,7 +2734,13 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
2554
2734
  } | string[];
2555
2735
  }>, z.ZodObject<{
2556
2736
  op: z.ZodLiteral<"remove">;
2557
- users: z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
2737
+ users: z.ZodUnion<[z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, {
2738
+ entities: {
2739
+ name_or_address: string;
2740
+ local_mark_first: boolean;
2741
+ }[];
2742
+ check_all_founded: boolean;
2743
+ }, string[]>, z.ZodObject<{
2558
2744
  entities: z.ZodArray<z.ZodObject<{
2559
2745
  name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2560
2746
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
@@ -2587,7 +2773,13 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
2587
2773
  local_mark_first?: boolean | undefined;
2588
2774
  }[];
2589
2775
  check_all_founded?: boolean | undefined;
2590
- } | string[];
2776
+ } | {
2777
+ entities: {
2778
+ name_or_address: string;
2779
+ local_mark_first: boolean;
2780
+ }[];
2781
+ check_all_founded: boolean;
2782
+ };
2591
2783
  }, {
2592
2784
  op: "remove";
2593
2785
  users: {
@@ -2611,7 +2803,13 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
2611
2803
  op: "get";
2612
2804
  }>, z.ZodObject<{
2613
2805
  op: z.ZodLiteral<"exist">;
2614
- users: z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
2806
+ users: z.ZodUnion<[z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, {
2807
+ entities: {
2808
+ name_or_address: string;
2809
+ local_mark_first: boolean;
2810
+ }[];
2811
+ check_all_founded: boolean;
2812
+ }, string[]>, z.ZodObject<{
2615
2813
  entities: z.ZodArray<z.ZodObject<{
2616
2814
  name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2617
2815
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
@@ -2644,7 +2842,13 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
2644
2842
  local_mark_first?: boolean | undefined;
2645
2843
  }[];
2646
2844
  check_all_founded?: boolean | undefined;
2647
- } | string[];
2845
+ } | {
2846
+ entities: {
2847
+ name_or_address: string;
2848
+ local_mark_first: boolean;
2849
+ }[];
2850
+ check_all_founded: boolean;
2851
+ };
2648
2852
  }, {
2649
2853
  op: "exist";
2650
2854
  users: {
@@ -2665,7 +2869,13 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
2665
2869
  local_mark_first?: boolean | undefined;
2666
2870
  }[];
2667
2871
  check_all_founded?: boolean | undefined;
2668
- } | string[];
2872
+ } | {
2873
+ entities: {
2874
+ name_or_address: string;
2875
+ local_mark_first: boolean;
2876
+ }[];
2877
+ check_all_founded: boolean;
2878
+ };
2669
2879
  } | {
2670
2880
  op: "remove";
2671
2881
  users: {
@@ -2674,7 +2884,13 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
2674
2884
  local_mark_first?: boolean | undefined;
2675
2885
  }[];
2676
2886
  check_all_founded?: boolean | undefined;
2677
- } | string[];
2887
+ } | {
2888
+ entities: {
2889
+ name_or_address: string;
2890
+ local_mark_first: boolean;
2891
+ }[];
2892
+ check_all_founded: boolean;
2893
+ };
2678
2894
  } | {
2679
2895
  op: "clear";
2680
2896
  } | {
@@ -2687,7 +2903,13 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
2687
2903
  local_mark_first?: boolean | undefined;
2688
2904
  }[];
2689
2905
  check_all_founded?: boolean | undefined;
2690
- } | string[];
2906
+ } | {
2907
+ entities: {
2908
+ name_or_address: string;
2909
+ local_mark_first: boolean;
2910
+ }[];
2911
+ check_all_founded: boolean;
2912
+ };
2691
2913
  };
2692
2914
  account?: string | undefined;
2693
2915
  }, {
@@ -2855,7 +3077,10 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
2855
3077
  }>, z.ZodObject<{
2856
3078
  operation: z.ZodLiteral<"mark_conversation_as_viewed">;
2857
3079
  account: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2858
- peerAddress: z.ZodUnion<[z.ZodString, z.ZodObject<{
3080
+ peerAddress: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, {
3081
+ name_or_address: string;
3082
+ local_mark_first: boolean;
3083
+ }, string>, z.ZodObject<{
2859
3084
  name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2860
3085
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
2861
3086
  }, "strict", z.ZodTypeAny, {
@@ -2867,9 +3092,12 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
2867
3092
  }>]>;
2868
3093
  }, "strict", z.ZodTypeAny, {
2869
3094
  operation: "mark_conversation_as_viewed";
2870
- peerAddress: string | {
3095
+ peerAddress: {
2871
3096
  name_or_address?: string | undefined;
2872
3097
  local_mark_first?: boolean | undefined;
3098
+ } | {
3099
+ name_or_address: string;
3100
+ local_mark_first: boolean;
2873
3101
  };
2874
3102
  account?: string | undefined;
2875
3103
  }, {