@wowok/agent-mcp 2.3.16 → 2.3.18

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 (106) hide show
  1. package/dist/customer/index.d.ts +9 -0
  2. package/dist/customer/index.js +9 -0
  3. package/dist/customer/industry-risks.d.ts +4 -0
  4. package/dist/customer/industry-risks.js +14 -0
  5. package/dist/customer/user-preferences.d.ts +3 -0
  6. package/dist/customer/user-preferences.js +9 -0
  7. package/dist/experience/realtime-feedback.js +17 -0
  8. package/dist/index.js +360 -273
  9. package/dist/knowledge/acquisition-flywheel.d.ts +3 -0
  10. package/dist/knowledge/acquisition-flywheel.js +9 -0
  11. package/dist/knowledge/guard-ledger.d.ts +19 -0
  12. package/dist/knowledge/guard-ledger.js +219 -0
  13. package/dist/knowledge/guard-puzzle.d.ts +93 -0
  14. package/dist/knowledge/guard-puzzle.js +278 -0
  15. package/dist/knowledge/guard-risk.d.ts +60 -0
  16. package/dist/knowledge/guard-risk.js +474 -0
  17. package/dist/knowledge/guard-translation.d.ts +46 -0
  18. package/dist/knowledge/guard-translation.js +487 -0
  19. package/dist/knowledge/index.d.ts +13 -0
  20. package/dist/knowledge/index.js +13 -0
  21. package/dist/knowledge/industry-registry.d.ts +1 -2
  22. package/dist/knowledge/industry-registry.js +23 -3
  23. package/dist/knowledge/safety-rules.js +61 -0
  24. package/dist/knowledge/tool-constraints.js +12 -22
  25. package/dist/safety/confirm-gate.d.ts +4 -2
  26. package/dist/safety/confirm-gate.js +48 -4
  27. package/dist/schema/call/allocation.d.ts +24 -14
  28. package/dist/schema/call/arbitration.d.ts +142 -132
  29. package/dist/schema/call/base.d.ts +901 -43
  30. package/dist/schema/call/base.js +66 -2
  31. package/dist/schema/call/bridge-handler.js +15 -2
  32. package/dist/schema/call/bridge.d.ts +769 -1
  33. package/dist/schema/call/bridge.js +37 -0
  34. package/dist/schema/call/contact.d.ts +10 -0
  35. package/dist/schema/call/demand.d.ts +10 -0
  36. package/dist/schema/call/guard.d.ts +76 -46
  37. package/dist/schema/call/handler.js +46 -14
  38. package/dist/schema/call/machine.d.ts +158 -138
  39. package/dist/schema/call/order.d.ts +10 -0
  40. package/dist/schema/call/payment.d.ts +10 -0
  41. package/dist/schema/call/permission.d.ts +232 -222
  42. package/dist/schema/call/personal.d.ts +10 -0
  43. package/dist/schema/call/progress.d.ts +10 -0
  44. package/dist/schema/call/proof.d.ts +20 -0
  45. package/dist/schema/call/repository.d.ts +32 -22
  46. package/dist/schema/call/reward.d.ts +10 -0
  47. package/dist/schema/call/semantic.d.ts +9 -2
  48. package/dist/schema/call/semantic.js +409 -21
  49. package/dist/schema/call/service.d.ts +20 -10
  50. package/dist/schema/call/treasury.d.ts +10 -0
  51. package/dist/schema/config/index.d.ts +18 -0
  52. package/dist/schema/config/index.js +17 -0
  53. package/dist/schema/index.d.ts +6 -0
  54. package/dist/schema/index.js +5 -0
  55. package/dist/schema/local/index.d.ts +9 -9
  56. package/dist/schema/local/index.js +9 -0
  57. package/dist/schema/messenger/index.d.ts +350 -29
  58. package/dist/schema/messenger/index.js +17 -17
  59. package/dist/schema/operations.d.ts +1667 -545
  60. package/dist/schema/operations.js +91 -96
  61. package/dist/schema/project/index.d.ts +21 -0
  62. package/dist/schema/project/index.js +32 -0
  63. package/dist/schema/query/index.d.ts +1074 -168
  64. package/dist/schema/query/index.js +8 -8
  65. package/dist/schema/schema-query/index.d.ts +33 -0
  66. package/dist/schema/schema-query/index.js +36 -0
  67. package/dist/schema/schema-version.d.ts +25 -0
  68. package/dist/schema/schema-version.js +76 -0
  69. package/dist/schema/trust/index.d.ts +407 -0
  70. package/dist/schema/trust/index.js +113 -0
  71. package/dist/schemas/bridge_operation.output.json +224 -0
  72. package/dist/schemas/bridge_operation.schema.json +67 -8
  73. package/dist/schemas/config_operation.output.json +18 -0
  74. package/dist/schemas/config_operation.schema.json +34 -0
  75. package/dist/schemas/guard-node-schema.json +82 -0
  76. package/dist/schemas/guard2file.schema.json +8 -0
  77. package/dist/schemas/index.json +19 -1
  78. package/dist/schemas/machineNode2file.schema.json +8 -0
  79. package/dist/schemas/messenger_operation.output.json +224 -0
  80. package/dist/schemas/onchain_events.output.json +718 -0
  81. package/dist/schemas/onchain_operations.output.json +277 -2
  82. package/dist/schemas/onchain_operations.schema.json +19 -16
  83. package/dist/schemas/onchain_operations_allocation.schema.json +8 -0
  84. package/dist/schemas/onchain_operations_arbitration.schema.json +8 -0
  85. package/dist/schemas/onchain_operations_contact.schema.json +8 -0
  86. package/dist/schemas/onchain_operations_demand.schema.json +8 -0
  87. package/dist/schemas/onchain_operations_gen_passport.schema.json +16 -0
  88. package/dist/schemas/onchain_operations_guard.schema.json +11 -16
  89. package/dist/schemas/onchain_operations_machine.schema.json +8 -0
  90. package/dist/schemas/onchain_operations_order.schema.json +8 -0
  91. package/dist/schemas/onchain_operations_payment.schema.json +8 -0
  92. package/dist/schemas/onchain_operations_permission.schema.json +8 -0
  93. package/dist/schemas/onchain_operations_personal.schema.json +8 -0
  94. package/dist/schemas/onchain_operations_progress.schema.json +8 -0
  95. package/dist/schemas/onchain_operations_repository.schema.json +8 -0
  96. package/dist/schemas/onchain_operations_reward.schema.json +8 -0
  97. package/dist/schemas/onchain_operations_service.schema.json +8 -0
  98. package/dist/schemas/onchain_operations_treasury.schema.json +8 -0
  99. package/dist/schemas/onchain_table_data.output.json +718 -0
  100. package/dist/schemas/project_operation.output.json +18 -0
  101. package/dist/schemas/project_operation.schema.json +42 -0
  102. package/dist/schemas/query_toolkit.schema.json +360 -368
  103. package/dist/schemas/schema_query.schema.json +6 -3
  104. package/dist/schemas/trust_score.output.json +327 -0
  105. package/dist/schemas/trust_score.schema.json +46 -0
  106. package/package.json +2 -2
@@ -426,7 +426,7 @@ export declare const ConversationsFilterSchema: z.ZodObject<{
426
426
  endTime?: number | undefined;
427
427
  previewMessageCount?: number | undefined;
428
428
  sortBy?: "lastMessageAt" | "messageCount" | "unreadCount" | undefined;
429
- sortOrder?: "asc" | "desc" | undefined;
429
+ sortOrder?: "desc" | "asc" | undefined;
430
430
  skipAutoMarkViewed?: boolean | undefined;
431
431
  }, {
432
432
  account?: string | undefined;
@@ -435,7 +435,7 @@ export declare const ConversationsFilterSchema: z.ZodObject<{
435
435
  endTime?: number | undefined;
436
436
  previewMessageCount?: number | undefined;
437
437
  sortBy?: "lastMessageAt" | "messageCount" | "unreadCount" | undefined;
438
- sortOrder?: "asc" | "desc" | undefined;
438
+ sortOrder?: "desc" | "asc" | undefined;
439
439
  skipAutoMarkViewed?: boolean | undefined;
440
440
  }>;
441
441
  export declare const MessageFilterSchema: z.ZodObject<{
@@ -507,7 +507,7 @@ export declare const MessageFilterSchema: z.ZodObject<{
507
507
  } | undefined;
508
508
  startTime?: number | undefined;
509
509
  endTime?: number | undefined;
510
- sortOrder?: "asc" | "desc" | undefined;
510
+ sortOrder?: "desc" | "asc" | undefined;
511
511
  skipAutoMarkViewed?: boolean | undefined;
512
512
  decryptedOnly?: boolean | undefined;
513
513
  confirmedOnly?: boolean | undefined;
@@ -549,7 +549,7 @@ export declare const MessageFilterSchema: z.ZodObject<{
549
549
  } | undefined;
550
550
  startTime?: number | undefined;
551
551
  endTime?: number | undefined;
552
- sortOrder?: "asc" | "desc" | undefined;
552
+ sortOrder?: "desc" | "asc" | undefined;
553
553
  skipAutoMarkViewed?: boolean | undefined;
554
554
  decryptedOnly?: boolean | undefined;
555
555
  confirmedOnly?: boolean | undefined;
@@ -1429,7 +1429,7 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
1429
1429
  endTime?: number | undefined;
1430
1430
  previewMessageCount?: number | undefined;
1431
1431
  sortBy?: "lastMessageAt" | "messageCount" | "unreadCount" | undefined;
1432
- sortOrder?: "asc" | "desc" | undefined;
1432
+ sortOrder?: "desc" | "asc" | undefined;
1433
1433
  skipAutoMarkViewed?: boolean | undefined;
1434
1434
  }, {
1435
1435
  account?: string | undefined;
@@ -1438,10 +1438,10 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
1438
1438
  endTime?: number | undefined;
1439
1439
  previewMessageCount?: number | undefined;
1440
1440
  sortBy?: "lastMessageAt" | "messageCount" | "unreadCount" | undefined;
1441
- sortOrder?: "asc" | "desc" | undefined;
1441
+ sortOrder?: "desc" | "asc" | undefined;
1442
1442
  skipAutoMarkViewed?: boolean | undefined;
1443
1443
  }>>;
1444
- }, "strip", z.ZodTypeAny, {
1444
+ }, "strict", z.ZodTypeAny, {
1445
1445
  operation: "watch_conversations";
1446
1446
  filter?: {
1447
1447
  account?: string | undefined;
@@ -1450,7 +1450,7 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
1450
1450
  endTime?: number | undefined;
1451
1451
  previewMessageCount?: number | undefined;
1452
1452
  sortBy?: "lastMessageAt" | "messageCount" | "unreadCount" | undefined;
1453
- sortOrder?: "asc" | "desc" | undefined;
1453
+ sortOrder?: "desc" | "asc" | undefined;
1454
1454
  skipAutoMarkViewed?: boolean | undefined;
1455
1455
  } | undefined;
1456
1456
  }, {
@@ -1462,7 +1462,7 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
1462
1462
  endTime?: number | undefined;
1463
1463
  previewMessageCount?: number | undefined;
1464
1464
  sortBy?: "lastMessageAt" | "messageCount" | "unreadCount" | undefined;
1465
- sortOrder?: "asc" | "desc" | undefined;
1465
+ sortOrder?: "desc" | "asc" | undefined;
1466
1466
  skipAutoMarkViewed?: boolean | undefined;
1467
1467
  } | undefined;
1468
1468
  }>, z.ZodObject<{
@@ -1498,7 +1498,7 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
1498
1498
  force?: boolean | undefined;
1499
1499
  new_messenger_name?: string | undefined;
1500
1500
  }>>;
1501
- }, "strip", z.ZodTypeAny, {
1501
+ }, "strict", z.ZodTypeAny, {
1502
1502
  content: string;
1503
1503
  to: string | {
1504
1504
  name_or_address?: string | undefined;
@@ -1567,7 +1567,7 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
1567
1567
  force?: boolean | undefined;
1568
1568
  new_messenger_name?: string | undefined;
1569
1569
  }>>;
1570
- }, "strip", z.ZodTypeAny, {
1570
+ }, "strict", z.ZodTypeAny, {
1571
1571
  filePath: string;
1572
1572
  to: string | {
1573
1573
  name_or_address?: string | undefined;
@@ -1672,7 +1672,7 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
1672
1672
  } | undefined;
1673
1673
  startTime?: number | undefined;
1674
1674
  endTime?: number | undefined;
1675
- sortOrder?: "asc" | "desc" | undefined;
1675
+ sortOrder?: "desc" | "asc" | undefined;
1676
1676
  skipAutoMarkViewed?: boolean | undefined;
1677
1677
  decryptedOnly?: boolean | undefined;
1678
1678
  confirmedOnly?: boolean | undefined;
@@ -1714,7 +1714,7 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
1714
1714
  } | undefined;
1715
1715
  startTime?: number | undefined;
1716
1716
  endTime?: number | undefined;
1717
- sortOrder?: "asc" | "desc" | undefined;
1717
+ sortOrder?: "desc" | "asc" | undefined;
1718
1718
  skipAutoMarkViewed?: boolean | undefined;
1719
1719
  decryptedOnly?: boolean | undefined;
1720
1720
  confirmedOnly?: boolean | undefined;
@@ -1744,7 +1744,7 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
1744
1744
  viewedAtStart?: number | undefined;
1745
1745
  viewedAtEnd?: number | undefined;
1746
1746
  }>>;
1747
- }, "strip", z.ZodTypeAny, {
1747
+ }, "strict", z.ZodTypeAny, {
1748
1748
  operation: "watch_messages";
1749
1749
  filter?: {
1750
1750
  status?: "confirmed" | "failed" | "pending" | "read" | "rejected" | "decrypted" | "decrypt_failed" | undefined;
@@ -1759,7 +1759,7 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
1759
1759
  } | undefined;
1760
1760
  startTime?: number | undefined;
1761
1761
  endTime?: number | undefined;
1762
- sortOrder?: "asc" | "desc" | undefined;
1762
+ sortOrder?: "desc" | "asc" | undefined;
1763
1763
  skipAutoMarkViewed?: boolean | undefined;
1764
1764
  decryptedOnly?: boolean | undefined;
1765
1765
  confirmedOnly?: boolean | undefined;
@@ -1804,7 +1804,7 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
1804
1804
  } | undefined;
1805
1805
  startTime?: number | undefined;
1806
1806
  endTime?: number | undefined;
1807
- sortOrder?: "asc" | "desc" | undefined;
1807
+ sortOrder?: "desc" | "asc" | undefined;
1808
1808
  skipAutoMarkViewed?: boolean | undefined;
1809
1809
  decryptedOnly?: boolean | undefined;
1810
1810
  confirmedOnly?: boolean | undefined;
@@ -1980,7 +1980,7 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
1980
1980
  viewedAt?: number | undefined;
1981
1981
  }>]>, "many">;
1982
1982
  outputDir: z.ZodString;
1983
- }, "strip", z.ZodTypeAny, {
1983
+ }, "strict", z.ZodTypeAny, {
1984
1984
  operation: "extract_zip_messages";
1985
1985
  outputDir: string;
1986
1986
  messages: (string | {
@@ -2164,7 +2164,7 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
2164
2164
  } | undefined;
2165
2165
  excludePlaintext?: boolean | undefined;
2166
2166
  }>;
2167
- }, "strip", z.ZodTypeAny, {
2167
+ }, "strict", z.ZodTypeAny, {
2168
2168
  params: {
2169
2169
  myAccount: string;
2170
2170
  peerAccount: string | {
@@ -2215,7 +2215,7 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
2215
2215
  }>, z.ZodObject<{
2216
2216
  operation: z.ZodLiteral<"verify_wts">;
2217
2217
  wtsFilePath: z.ZodString;
2218
- }, "strip", z.ZodTypeAny, {
2218
+ }, "strict", z.ZodTypeAny, {
2219
2219
  operation: "verify_wts";
2220
2220
  wtsFilePath: string;
2221
2221
  }, {
@@ -2226,7 +2226,7 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
2226
2226
  wtsFilePath: z.ZodString;
2227
2227
  account: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2228
2228
  outputPath: z.ZodOptional<z.ZodString>;
2229
- }, "strip", z.ZodTypeAny, {
2229
+ }, "strict", z.ZodTypeAny, {
2230
2230
  operation: "sign_wts";
2231
2231
  wtsFilePath: string;
2232
2232
  account?: string | undefined;
@@ -2252,7 +2252,7 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
2252
2252
  theme?: "light" | "dark" | undefined;
2253
2253
  outputPath?: string | undefined;
2254
2254
  }>>;
2255
- }, "strip", z.ZodTypeAny, {
2255
+ }, "strict", z.ZodTypeAny, {
2256
2256
  operation: "wts2html";
2257
2257
  wtsPath: string;
2258
2258
  options?: {
@@ -2273,7 +2273,7 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
2273
2273
  account: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2274
2274
  messageId: z.ZodString;
2275
2275
  network: z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet, import("@wowok/wowok").ENTRYPOINT.Mainnet]>;
2276
- }, "strip", z.ZodTypeAny, {
2276
+ }, "strict", z.ZodTypeAny, {
2277
2277
  network: import("@wowok/wowok").ENTRYPOINT;
2278
2278
  operation: "proof_message";
2279
2279
  messageId: string;
@@ -2434,7 +2434,7 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
2434
2434
  check_all_founded?: boolean | undefined;
2435
2435
  } | string[];
2436
2436
  }>]>;
2437
- }, "strip", z.ZodTypeAny, {
2437
+ }, "strict", z.ZodTypeAny, {
2438
2438
  operation: "blacklist";
2439
2439
  blacklist: {
2440
2440
  op: "add";
@@ -2655,7 +2655,7 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
2655
2655
  check_all_founded?: boolean | undefined;
2656
2656
  } | string[];
2657
2657
  }>]>;
2658
- }, "strip", z.ZodTypeAny, {
2658
+ }, "strict", z.ZodTypeAny, {
2659
2659
  operation: "friendslist";
2660
2660
  friendslist: {
2661
2661
  op: "add";
@@ -2768,7 +2768,7 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
2768
2768
  }, {
2769
2769
  op: "get";
2770
2770
  }>]>;
2771
- }, "strip", z.ZodTypeAny, {
2771
+ }, "strict", z.ZodTypeAny, {
2772
2772
  operation: "guardlist";
2773
2773
  guardlist: {
2774
2774
  op: "add";
@@ -2820,7 +2820,7 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
2820
2820
  allowStrangerMessages?: boolean | undefined;
2821
2821
  maxInboxSize?: number | undefined;
2822
2822
  }>]>;
2823
- }, "strip", z.ZodTypeAny, {
2823
+ }, "strict", z.ZodTypeAny, {
2824
2824
  operation: "settings";
2825
2825
  settings: {
2826
2826
  op: "get";
@@ -2844,7 +2844,7 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
2844
2844
  operation: z.ZodLiteral<"mark_messages_as_viewed">;
2845
2845
  account: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2846
2846
  messageIds: z.ZodArray<z.ZodString, "many">;
2847
- }, "strip", z.ZodTypeAny, {
2847
+ }, "strict", z.ZodTypeAny, {
2848
2848
  operation: "mark_messages_as_viewed";
2849
2849
  messageIds: string[];
2850
2850
  account?: string | undefined;
@@ -2865,7 +2865,7 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
2865
2865
  name_or_address?: string | undefined;
2866
2866
  local_mark_first?: boolean | undefined;
2867
2867
  }>]>;
2868
- }, "strip", z.ZodTypeAny, {
2868
+ }, "strict", z.ZodTypeAny, {
2869
2869
  operation: "mark_conversation_as_viewed";
2870
2870
  peerAddress: string | {
2871
2871
  name_or_address?: string | undefined;
@@ -2883,7 +2883,7 @@ export declare const MessengerOperationInputSchema: z.ZodDiscriminatedUnion<"ope
2883
2883
  operation: z.ZodLiteral<"pull_messages">;
2884
2884
  account: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2885
2885
  limit: z.ZodOptional<z.ZodNumber>;
2886
- }, "strip", z.ZodTypeAny, {
2886
+ }, "strict", z.ZodTypeAny, {
2887
2887
  operation: "pull_messages";
2888
2888
  account?: string | undefined;
2889
2889
  limit?: number | undefined;
@@ -4693,6 +4693,171 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
4693
4693
  intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
4694
4694
  role_advice?: string[] | undefined;
4695
4695
  }>>;
4696
+ guard_advice: z.ZodOptional<z.ZodObject<{
4697
+ current_round: z.ZodOptional<z.ZodEnum<["R1", "R2", "R3", "R4", "R5", "R6", "R7", "R8", "R9", "R10"]>>;
4698
+ puzzle_status: z.ZodOptional<z.ZodObject<{
4699
+ intent: z.ZodBoolean;
4700
+ binding: z.ZodBoolean;
4701
+ data: z.ZodBoolean;
4702
+ query: z.ZodBoolean;
4703
+ logic: z.ZodBoolean;
4704
+ constraints: z.ZodBoolean;
4705
+ }, "strict", z.ZodTypeAny, {
4706
+ data: boolean;
4707
+ intent: boolean;
4708
+ binding: boolean;
4709
+ query: boolean;
4710
+ logic: boolean;
4711
+ constraints: boolean;
4712
+ }, {
4713
+ data: boolean;
4714
+ intent: boolean;
4715
+ binding: boolean;
4716
+ query: boolean;
4717
+ logic: boolean;
4718
+ constraints: boolean;
4719
+ }>>;
4720
+ matched_scene: z.ZodOptional<z.ZodString>;
4721
+ scene_description: z.ZodOptional<z.ZodString>;
4722
+ scene_constraints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4723
+ suggested_patterns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4724
+ available_queries: z.ZodOptional<z.ZodArray<z.ZodObject<{
4725
+ id: z.ZodNumber;
4726
+ name: z.ZodString;
4727
+ objectType: z.ZodString;
4728
+ returnType: z.ZodString;
4729
+ description: z.ZodOptional<z.ZodString>;
4730
+ }, "strict", z.ZodTypeAny, {
4731
+ name: string;
4732
+ id: number;
4733
+ objectType: string;
4734
+ returnType: string;
4735
+ description?: string | undefined;
4736
+ }, {
4737
+ name: string;
4738
+ id: number;
4739
+ objectType: string;
4740
+ returnType: string;
4741
+ description?: string | undefined;
4742
+ }>, "many">>;
4743
+ risk_warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4744
+ pending_questions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4745
+ confirmation_text: z.ZodOptional<z.ZodString>;
4746
+ test_result: z.ZodOptional<z.ZodObject<{
4747
+ status: z.ZodEnum<["pass", "fail", "not_tested"]>;
4748
+ failure_node: z.ZodOptional<z.ZodString>;
4749
+ passport_id: z.ZodOptional<z.ZodString>;
4750
+ }, "strip", z.ZodTypeAny, {
4751
+ status: "pass" | "fail" | "not_tested";
4752
+ failure_node?: string | undefined;
4753
+ passport_id?: string | undefined;
4754
+ }, {
4755
+ status: "pass" | "fail" | "not_tested";
4756
+ failure_node?: string | undefined;
4757
+ passport_id?: string | undefined;
4758
+ }>>;
4759
+ risk_assessment: z.ZodOptional<z.ZodObject<{
4760
+ overall_risk: z.ZodEnum<["critical", "high", "medium", "low", "info"]>;
4761
+ risk_count: z.ZodNumber;
4762
+ critical_count: z.ZodNumber;
4763
+ high_count: z.ZodNumber;
4764
+ needs_human_review: z.ZodBoolean;
4765
+ top_risks: z.ZodArray<z.ZodString, "many">;
4766
+ stakeholder_advice: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
4767
+ }, "strip", z.ZodTypeAny, {
4768
+ overall_risk: "info" | "low" | "high" | "critical" | "medium";
4769
+ risk_count: number;
4770
+ critical_count: number;
4771
+ high_count: number;
4772
+ needs_human_review: boolean;
4773
+ top_risks: string[];
4774
+ stakeholder_advice?: Record<string, string[]> | undefined;
4775
+ }, {
4776
+ overall_risk: "info" | "low" | "high" | "critical" | "medium";
4777
+ risk_count: number;
4778
+ critical_count: number;
4779
+ high_count: number;
4780
+ needs_human_review: boolean;
4781
+ top_risks: string[];
4782
+ stakeholder_advice?: Record<string, string[]> | undefined;
4783
+ }>>;
4784
+ }, "strict", z.ZodTypeAny, {
4785
+ current_round?: "R1" | "R2" | "R3" | "R4" | "R5" | "R6" | "R7" | "R8" | "R9" | "R10" | undefined;
4786
+ puzzle_status?: {
4787
+ data: boolean;
4788
+ intent: boolean;
4789
+ binding: boolean;
4790
+ query: boolean;
4791
+ logic: boolean;
4792
+ constraints: boolean;
4793
+ } | undefined;
4794
+ matched_scene?: string | undefined;
4795
+ scene_description?: string | undefined;
4796
+ scene_constraints?: string[] | undefined;
4797
+ suggested_patterns?: string[] | undefined;
4798
+ available_queries?: {
4799
+ name: string;
4800
+ id: number;
4801
+ objectType: string;
4802
+ returnType: string;
4803
+ description?: string | undefined;
4804
+ }[] | undefined;
4805
+ risk_warnings?: string[] | undefined;
4806
+ pending_questions?: string[] | undefined;
4807
+ confirmation_text?: string | undefined;
4808
+ test_result?: {
4809
+ status: "pass" | "fail" | "not_tested";
4810
+ failure_node?: string | undefined;
4811
+ passport_id?: string | undefined;
4812
+ } | undefined;
4813
+ risk_assessment?: {
4814
+ overall_risk: "info" | "low" | "high" | "critical" | "medium";
4815
+ risk_count: number;
4816
+ critical_count: number;
4817
+ high_count: number;
4818
+ needs_human_review: boolean;
4819
+ top_risks: string[];
4820
+ stakeholder_advice?: Record<string, string[]> | undefined;
4821
+ } | undefined;
4822
+ }, {
4823
+ current_round?: "R1" | "R2" | "R3" | "R4" | "R5" | "R6" | "R7" | "R8" | "R9" | "R10" | undefined;
4824
+ puzzle_status?: {
4825
+ data: boolean;
4826
+ intent: boolean;
4827
+ binding: boolean;
4828
+ query: boolean;
4829
+ logic: boolean;
4830
+ constraints: boolean;
4831
+ } | undefined;
4832
+ matched_scene?: string | undefined;
4833
+ scene_description?: string | undefined;
4834
+ scene_constraints?: string[] | undefined;
4835
+ suggested_patterns?: string[] | undefined;
4836
+ available_queries?: {
4837
+ name: string;
4838
+ id: number;
4839
+ objectType: string;
4840
+ returnType: string;
4841
+ description?: string | undefined;
4842
+ }[] | undefined;
4843
+ risk_warnings?: string[] | undefined;
4844
+ pending_questions?: string[] | undefined;
4845
+ confirmation_text?: string | undefined;
4846
+ test_result?: {
4847
+ status: "pass" | "fail" | "not_tested";
4848
+ failure_node?: string | undefined;
4849
+ passport_id?: string | undefined;
4850
+ } | undefined;
4851
+ risk_assessment?: {
4852
+ overall_risk: "info" | "low" | "high" | "critical" | "medium";
4853
+ risk_count: number;
4854
+ critical_count: number;
4855
+ high_count: number;
4856
+ needs_human_review: boolean;
4857
+ top_risks: string[];
4858
+ stakeholder_advice?: Record<string, string[]> | undefined;
4859
+ } | undefined;
4860
+ }>>;
4696
4861
  }, "strict", z.ZodTypeAny, {
4697
4862
  status: "success" | "partial" | "failed" | "pending_input";
4698
4863
  intent: string;
@@ -4776,6 +4941,45 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
4776
4941
  intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
4777
4942
  role_advice?: string[] | undefined;
4778
4943
  } | undefined;
4944
+ guard_advice?: {
4945
+ current_round?: "R1" | "R2" | "R3" | "R4" | "R5" | "R6" | "R7" | "R8" | "R9" | "R10" | undefined;
4946
+ puzzle_status?: {
4947
+ data: boolean;
4948
+ intent: boolean;
4949
+ binding: boolean;
4950
+ query: boolean;
4951
+ logic: boolean;
4952
+ constraints: boolean;
4953
+ } | undefined;
4954
+ matched_scene?: string | undefined;
4955
+ scene_description?: string | undefined;
4956
+ scene_constraints?: string[] | undefined;
4957
+ suggested_patterns?: string[] | undefined;
4958
+ available_queries?: {
4959
+ name: string;
4960
+ id: number;
4961
+ objectType: string;
4962
+ returnType: string;
4963
+ description?: string | undefined;
4964
+ }[] | undefined;
4965
+ risk_warnings?: string[] | undefined;
4966
+ pending_questions?: string[] | undefined;
4967
+ confirmation_text?: string | undefined;
4968
+ test_result?: {
4969
+ status: "pass" | "fail" | "not_tested";
4970
+ failure_node?: string | undefined;
4971
+ passport_id?: string | undefined;
4972
+ } | undefined;
4973
+ risk_assessment?: {
4974
+ overall_risk: "info" | "low" | "high" | "critical" | "medium";
4975
+ risk_count: number;
4976
+ critical_count: number;
4977
+ high_count: number;
4978
+ needs_human_review: boolean;
4979
+ top_risks: string[];
4980
+ stakeholder_advice?: Record<string, string[]> | undefined;
4981
+ } | undefined;
4982
+ } | undefined;
4779
4983
  }, {
4780
4984
  status: "success" | "partial" | "failed" | "pending_input";
4781
4985
  intent: string;
@@ -4859,6 +5063,45 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
4859
5063
  intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
4860
5064
  role_advice?: string[] | undefined;
4861
5065
  } | undefined;
5066
+ guard_advice?: {
5067
+ current_round?: "R1" | "R2" | "R3" | "R4" | "R5" | "R6" | "R7" | "R8" | "R9" | "R10" | undefined;
5068
+ puzzle_status?: {
5069
+ data: boolean;
5070
+ intent: boolean;
5071
+ binding: boolean;
5072
+ query: boolean;
5073
+ logic: boolean;
5074
+ constraints: boolean;
5075
+ } | undefined;
5076
+ matched_scene?: string | undefined;
5077
+ scene_description?: string | undefined;
5078
+ scene_constraints?: string[] | undefined;
5079
+ suggested_patterns?: string[] | undefined;
5080
+ available_queries?: {
5081
+ name: string;
5082
+ id: number;
5083
+ objectType: string;
5084
+ returnType: string;
5085
+ description?: string | undefined;
5086
+ }[] | undefined;
5087
+ risk_warnings?: string[] | undefined;
5088
+ pending_questions?: string[] | undefined;
5089
+ confirmation_text?: string | undefined;
5090
+ test_result?: {
5091
+ status: "pass" | "fail" | "not_tested";
5092
+ failure_node?: string | undefined;
5093
+ passport_id?: string | undefined;
5094
+ } | undefined;
5095
+ risk_assessment?: {
5096
+ overall_risk: "info" | "low" | "high" | "critical" | "medium";
5097
+ risk_count: number;
5098
+ critical_count: number;
5099
+ high_count: number;
5100
+ needs_human_review: boolean;
5101
+ top_risks: string[];
5102
+ stakeholder_advice?: Record<string, string[]> | undefined;
5103
+ } | undefined;
5104
+ } | undefined;
4862
5105
  }>>;
4863
5106
  }, "strip", z.ZodTypeAny, {
4864
5107
  result: {
@@ -5233,6 +5476,45 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
5233
5476
  intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
5234
5477
  role_advice?: string[] | undefined;
5235
5478
  } | undefined;
5479
+ guard_advice?: {
5480
+ current_round?: "R1" | "R2" | "R3" | "R4" | "R5" | "R6" | "R7" | "R8" | "R9" | "R10" | undefined;
5481
+ puzzle_status?: {
5482
+ data: boolean;
5483
+ intent: boolean;
5484
+ binding: boolean;
5485
+ query: boolean;
5486
+ logic: boolean;
5487
+ constraints: boolean;
5488
+ } | undefined;
5489
+ matched_scene?: string | undefined;
5490
+ scene_description?: string | undefined;
5491
+ scene_constraints?: string[] | undefined;
5492
+ suggested_patterns?: string[] | undefined;
5493
+ available_queries?: {
5494
+ name: string;
5495
+ id: number;
5496
+ objectType: string;
5497
+ returnType: string;
5498
+ description?: string | undefined;
5499
+ }[] | undefined;
5500
+ risk_warnings?: string[] | undefined;
5501
+ pending_questions?: string[] | undefined;
5502
+ confirmation_text?: string | undefined;
5503
+ test_result?: {
5504
+ status: "pass" | "fail" | "not_tested";
5505
+ failure_node?: string | undefined;
5506
+ passport_id?: string | undefined;
5507
+ } | undefined;
5508
+ risk_assessment?: {
5509
+ overall_risk: "info" | "low" | "high" | "critical" | "medium";
5510
+ risk_count: number;
5511
+ critical_count: number;
5512
+ high_count: number;
5513
+ needs_human_review: boolean;
5514
+ top_risks: string[];
5515
+ stakeholder_advice?: Record<string, string[]> | undefined;
5516
+ } | undefined;
5517
+ } | undefined;
5236
5518
  } | undefined;
5237
5519
  }, {
5238
5520
  result: {
@@ -5607,6 +5889,45 @@ export declare const MessengerOperationOutputSchema: z.ZodObject<{
5607
5889
  intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
5608
5890
  role_advice?: string[] | undefined;
5609
5891
  } | undefined;
5892
+ guard_advice?: {
5893
+ current_round?: "R1" | "R2" | "R3" | "R4" | "R5" | "R6" | "R7" | "R8" | "R9" | "R10" | undefined;
5894
+ puzzle_status?: {
5895
+ data: boolean;
5896
+ intent: boolean;
5897
+ binding: boolean;
5898
+ query: boolean;
5899
+ logic: boolean;
5900
+ constraints: boolean;
5901
+ } | undefined;
5902
+ matched_scene?: string | undefined;
5903
+ scene_description?: string | undefined;
5904
+ scene_constraints?: string[] | undefined;
5905
+ suggested_patterns?: string[] | undefined;
5906
+ available_queries?: {
5907
+ name: string;
5908
+ id: number;
5909
+ objectType: string;
5910
+ returnType: string;
5911
+ description?: string | undefined;
5912
+ }[] | undefined;
5913
+ risk_warnings?: string[] | undefined;
5914
+ pending_questions?: string[] | undefined;
5915
+ confirmation_text?: string | undefined;
5916
+ test_result?: {
5917
+ status: "pass" | "fail" | "not_tested";
5918
+ failure_node?: string | undefined;
5919
+ passport_id?: string | undefined;
5920
+ } | undefined;
5921
+ risk_assessment?: {
5922
+ overall_risk: "info" | "low" | "high" | "critical" | "medium";
5923
+ risk_count: number;
5924
+ critical_count: number;
5925
+ high_count: number;
5926
+ needs_human_review: boolean;
5927
+ top_risks: string[];
5928
+ stakeholder_advice?: Record<string, string[]> | undefined;
5929
+ } | undefined;
5930
+ } | undefined;
5610
5931
  } | undefined;
5611
5932
  }>;
5612
5933
  export type MessengerOperationInput = z.infer<typeof MessengerOperationInputSchema>;