@wowok/agent-mcp 2.3.14 → 2.3.16

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 (156) hide show
  1. package/dist/config/index.d.ts +1 -0
  2. package/dist/config/index.js +1 -0
  3. package/dist/config/runtime.d.ts +26 -0
  4. package/dist/config/runtime.js +217 -0
  5. package/dist/customer/industry-risks.d.ts +36 -0
  6. package/dist/customer/industry-risks.js +424 -0
  7. package/dist/customer/info-puzzle.d.ts +102 -0
  8. package/dist/customer/info-puzzle.js +312 -0
  9. package/dist/customer/order-monitor.d.ts +75 -0
  10. package/dist/customer/order-monitor.js +327 -0
  11. package/dist/customer/order-strategy.d.ts +36 -0
  12. package/dist/customer/order-strategy.js +373 -0
  13. package/dist/customer/post-purchase.d.ts +42 -0
  14. package/dist/customer/post-purchase.js +350 -0
  15. package/dist/customer/reminder-system.d.ts +42 -0
  16. package/dist/customer/reminder-system.js +295 -0
  17. package/dist/customer/risk-assessment.d.ts +8 -0
  18. package/dist/customer/risk-assessment.js +337 -0
  19. package/dist/customer/types.d.ts +193 -0
  20. package/dist/customer/types.js +13 -0
  21. package/dist/customer/user-preferences.d.ts +67 -0
  22. package/dist/customer/user-preferences.js +451 -0
  23. package/dist/experience/experience-reuse.d.ts +10 -0
  24. package/dist/experience/experience-reuse.js +103 -0
  25. package/dist/experience/index.d.ts +6 -0
  26. package/dist/experience/index.js +5 -0
  27. package/dist/experience/intent-distill.d.ts +3 -0
  28. package/dist/experience/intent-distill.js +83 -0
  29. package/dist/experience/realtime-feedback.d.ts +5 -0
  30. package/dist/experience/realtime-feedback.js +77 -0
  31. package/dist/experience/types.d.ts +50 -0
  32. package/dist/experience/types.js +1 -0
  33. package/dist/experience/user-profile.d.ts +25 -0
  34. package/dist/experience/user-profile.js +171 -0
  35. package/dist/index.js +570 -186
  36. package/dist/knowledge/acquisition-flywheel.d.ts +50 -0
  37. package/dist/knowledge/acquisition-flywheel.js +183 -0
  38. package/dist/knowledge/arbitration-trust.d.ts +24 -0
  39. package/dist/knowledge/arbitration-trust.js +117 -0
  40. package/dist/knowledge/audit-rules.d.ts +28 -0
  41. package/dist/knowledge/audit-rules.js +141 -0
  42. package/dist/knowledge/demand-matching.d.ts +29 -0
  43. package/dist/knowledge/demand-matching.js +132 -0
  44. package/dist/knowledge/dynamic-pricing.d.ts +31 -0
  45. package/dist/knowledge/dynamic-pricing.js +87 -0
  46. package/dist/knowledge/flywheel-loop.d.ts +87 -0
  47. package/dist/knowledge/flywheel-loop.js +378 -0
  48. package/dist/knowledge/glossary.d.ts +18 -0
  49. package/dist/knowledge/glossary.js +209 -0
  50. package/dist/knowledge/index.d.ts +64 -0
  51. package/dist/knowledge/index.js +66 -0
  52. package/dist/knowledge/industry-evolution.d.ts +82 -0
  53. package/dist/knowledge/industry-evolution.js +323 -0
  54. package/dist/knowledge/industry-generalizer.d.ts +17 -0
  55. package/dist/knowledge/industry-generalizer.js +381 -0
  56. package/dist/knowledge/industry-registry.d.ts +49 -0
  57. package/dist/knowledge/industry-registry.js +167 -0
  58. package/dist/knowledge/intent-metrics.d.ts +42 -0
  59. package/dist/knowledge/intent-metrics.js +566 -0
  60. package/dist/knowledge/process-model.d.ts +24 -0
  61. package/dist/knowledge/process-model.js +160 -0
  62. package/dist/knowledge/reputation-rules.d.ts +42 -0
  63. package/dist/knowledge/reputation-rules.js +99 -0
  64. package/dist/knowledge/reward-templates.d.ts +25 -0
  65. package/dist/knowledge/reward-templates.js +125 -0
  66. package/dist/knowledge/safety-rules.d.ts +36 -0
  67. package/dist/knowledge/safety-rules.js +171 -0
  68. package/dist/knowledge/tool-constraints.d.ts +30 -0
  69. package/dist/knowledge/tool-constraints.js +185 -0
  70. package/dist/knowledge/trust-metrics.d.ts +37 -0
  71. package/dist/knowledge/trust-metrics.js +138 -0
  72. package/dist/loop-engineering/diagnose.d.ts +3 -2
  73. package/dist/loop-engineering/diagnose.js +94 -0
  74. package/dist/loop-engineering/improve.d.ts +1 -1
  75. package/dist/loop-engineering/improve.js +52 -1
  76. package/dist/project/graph.d.ts +71 -0
  77. package/dist/project/graph.js +314 -0
  78. package/dist/project/index.d.ts +62 -0
  79. package/dist/project/index.js +167 -0
  80. package/dist/project/namespace.d.ts +62 -0
  81. package/dist/project/namespace.js +181 -0
  82. package/dist/project/query.d.ts +40 -0
  83. package/dist/project/query.js +110 -0
  84. package/dist/safety/confirm-gate.d.ts +15 -0
  85. package/dist/safety/confirm-gate.js +44 -0
  86. package/dist/safety/index.d.ts +3 -0
  87. package/dist/safety/index.js +3 -0
  88. package/dist/safety/preview.d.ts +2 -0
  89. package/dist/safety/preview.js +36 -0
  90. package/dist/schema/call/allocation.d.ts +15 -0
  91. package/dist/schema/call/arbitration.d.ts +111 -96
  92. package/dist/schema/call/base.d.ts +1070 -44
  93. package/dist/schema/call/base.js +69 -1
  94. package/dist/schema/call/bridge.d.ts +709 -52
  95. package/dist/schema/call/bridge.js +13 -2
  96. package/dist/schema/call/contact.d.ts +15 -0
  97. package/dist/schema/call/demand.d.ts +69 -54
  98. package/dist/schema/call/guard.d.ts +125 -80
  99. package/dist/schema/call/handler.d.ts +3 -0
  100. package/dist/schema/call/handler.js +14 -0
  101. package/dist/schema/call/machine.d.ts +830 -800
  102. package/dist/schema/call/order.d.ts +15 -0
  103. package/dist/schema/call/payment.d.ts +15 -0
  104. package/dist/schema/call/permission.d.ts +15 -0
  105. package/dist/schema/call/personal.d.ts +15 -0
  106. package/dist/schema/call/progress.d.ts +15 -0
  107. package/dist/schema/call/proof.d.ts +42 -12
  108. package/dist/schema/call/proof.js +3 -3
  109. package/dist/schema/call/repository.d.ts +91 -76
  110. package/dist/schema/call/reward.d.ts +45 -30
  111. package/dist/schema/call/semantic.d.ts +1 -0
  112. package/dist/schema/call/semantic.js +217 -0
  113. package/dist/schema/call/service.d.ts +407 -392
  114. package/dist/schema/call/treasury.d.ts +15 -0
  115. package/dist/schema/common/index.js +3 -3
  116. package/dist/schema/local/index.d.ts +228 -72
  117. package/dist/schema/local/index.js +33 -6
  118. package/dist/schema/messenger/index.d.ts +668 -50
  119. package/dist/schema/messenger/index.js +9 -0
  120. package/dist/schema/operations.d.ts +1693 -1369
  121. package/dist/schema/operations.js +2 -2
  122. package/dist/schema/query/index.d.ts +1614 -1614
  123. package/dist/schema/query/index.js +30 -27
  124. package/dist/schemas/account_operation.output.json +25 -16
  125. package/dist/schemas/account_operation.schema.json +1 -1
  126. package/dist/schemas/bridge_operation.output.json +520 -0
  127. package/dist/schemas/bridge_operation.schema.json +15 -0
  128. package/dist/schemas/guard2file.schema.json +15 -0
  129. package/dist/schemas/index.json +1 -1
  130. package/dist/schemas/local_info_operation.output.json +23 -0
  131. package/dist/schemas/local_info_operation.schema.json +1 -1
  132. package/dist/schemas/local_mark_operation.output.json +24 -1
  133. package/dist/schemas/local_mark_operation.schema.json +4 -4
  134. package/dist/schemas/machineNode2file.schema.json +15 -0
  135. package/dist/schemas/messenger_operation.output.json +528 -0
  136. package/dist/schemas/onchain_operations.output.json +350 -16
  137. package/dist/schemas/onchain_operations.schema.json +96 -23
  138. package/dist/schemas/onchain_operations_allocation.schema.json +15 -0
  139. package/dist/schemas/onchain_operations_arbitration.schema.json +15 -0
  140. package/dist/schemas/onchain_operations_contact.schema.json +15 -0
  141. package/dist/schemas/onchain_operations_demand.schema.json +15 -0
  142. package/dist/schemas/onchain_operations_gen_passport.schema.json +30 -0
  143. package/dist/schemas/onchain_operations_guard.schema.json +15 -0
  144. package/dist/schemas/onchain_operations_machine.schema.json +81 -23
  145. package/dist/schemas/onchain_operations_order.schema.json +15 -0
  146. package/dist/schemas/onchain_operations_payment.schema.json +15 -0
  147. package/dist/schemas/onchain_operations_permission.schema.json +15 -0
  148. package/dist/schemas/onchain_operations_personal.schema.json +15 -0
  149. package/dist/schemas/onchain_operations_progress.schema.json +15 -0
  150. package/dist/schemas/onchain_operations_repository.schema.json +15 -0
  151. package/dist/schemas/onchain_operations_reward.schema.json +15 -0
  152. package/dist/schemas/onchain_operations_service.schema.json +15 -0
  153. package/dist/schemas/onchain_operations_treasury.schema.json +15 -0
  154. package/dist/schemas/onchain_table_data.output.json +221 -69
  155. package/dist/schemas/onchain_table_data.schema.json +2 -2
  156. package/package.json +2 -2
@@ -80,13 +80,13 @@ export declare const BridgeQueryTransferListDataSchema: z.ZodObject<{
80
80
  token: z.ZodOptional<z.ZodEnum<["ETH", "WETH", "WBTC", "USDC", "USDT"]>>;
81
81
  limit: z.ZodOptional<z.ZodNumber>;
82
82
  }, "strict", z.ZodTypeAny, {
83
- status?: "success" | "failed" | "in_progress" | "pending" | undefined;
83
+ status?: "success" | "in_progress" | "failed" | "pending" | undefined;
84
84
  limit?: number | undefined;
85
85
  token?: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC" | undefined;
86
86
  onlyActive?: boolean | undefined;
87
87
  direction?: "withdraw" | "wow_to_evm" | "evm_to_wow" | undefined;
88
88
  }, {
89
- status?: "success" | "failed" | "in_progress" | "pending" | undefined;
89
+ status?: "success" | "in_progress" | "failed" | "pending" | undefined;
90
90
  limit?: number | undefined;
91
91
  token?: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC" | undefined;
92
92
  onlyActive?: boolean | undefined;
@@ -181,18 +181,27 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
181
181
  no_cache: z.ZodOptional<z.ZodBoolean>;
182
182
  network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet, import("@wowok/wowok").ENTRYPOINT.Mainnet]>>;
183
183
  referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
184
+ confirmed: z.ZodOptional<z.ZodBoolean>;
185
+ user_intent_phrases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
186
+ project: z.ZodOptional<z.ZodString>;
184
187
  }, "strict", z.ZodTypeAny, {
185
188
  account: string;
186
189
  no_cache?: boolean | undefined;
187
190
  network?: import("@wowok/wowok").ENTRYPOINT | undefined;
188
191
  permission_guard?: string[] | undefined;
189
192
  referrer?: string | undefined;
193
+ confirmed?: boolean | undefined;
194
+ user_intent_phrases?: string[] | undefined;
195
+ project?: string | undefined;
190
196
  }, {
191
197
  no_cache?: boolean | undefined;
192
198
  network?: import("@wowok/wowok").ENTRYPOINT | undefined;
193
199
  account?: string | undefined;
194
200
  permission_guard?: string[] | undefined;
195
201
  referrer?: string | undefined;
202
+ confirmed?: boolean | undefined;
203
+ user_intent_phrases?: string[] | undefined;
204
+ project?: string | undefined;
196
205
  }>>;
197
206
  }, "strip", z.ZodTypeAny, {
198
207
  data: {
@@ -207,6 +216,9 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
207
216
  network?: import("@wowok/wowok").ENTRYPOINT | undefined;
208
217
  permission_guard?: string[] | undefined;
209
218
  referrer?: string | undefined;
219
+ confirmed?: boolean | undefined;
220
+ user_intent_phrases?: string[] | undefined;
221
+ project?: string | undefined;
210
222
  } | undefined;
211
223
  }, {
212
224
  data: {
@@ -221,6 +233,9 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
221
233
  account?: string | undefined;
222
234
  permission_guard?: string[] | undefined;
223
235
  referrer?: string | undefined;
236
+ confirmed?: boolean | undefined;
237
+ user_intent_phrases?: string[] | undefined;
238
+ project?: string | undefined;
224
239
  } | undefined;
225
240
  }>, z.ZodObject<{
226
241
  operation_type: z.ZodLiteral<"cross_chain_evm_to_wow">;
@@ -243,18 +258,27 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
243
258
  no_cache: z.ZodOptional<z.ZodBoolean>;
244
259
  network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet, import("@wowok/wowok").ENTRYPOINT.Mainnet]>>;
245
260
  referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
261
+ confirmed: z.ZodOptional<z.ZodBoolean>;
262
+ user_intent_phrases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
263
+ project: z.ZodOptional<z.ZodString>;
246
264
  }, "strict", z.ZodTypeAny, {
247
265
  account: string;
248
266
  no_cache?: boolean | undefined;
249
267
  network?: import("@wowok/wowok").ENTRYPOINT | undefined;
250
268
  permission_guard?: string[] | undefined;
251
269
  referrer?: string | undefined;
270
+ confirmed?: boolean | undefined;
271
+ user_intent_phrases?: string[] | undefined;
272
+ project?: string | undefined;
252
273
  }, {
253
274
  no_cache?: boolean | undefined;
254
275
  network?: import("@wowok/wowok").ENTRYPOINT | undefined;
255
276
  account?: string | undefined;
256
277
  permission_guard?: string[] | undefined;
257
278
  referrer?: string | undefined;
279
+ confirmed?: boolean | undefined;
280
+ user_intent_phrases?: string[] | undefined;
281
+ project?: string | undefined;
258
282
  }>>;
259
283
  }, "strip", z.ZodTypeAny, {
260
284
  data: {
@@ -269,6 +293,9 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
269
293
  network?: import("@wowok/wowok").ENTRYPOINT | undefined;
270
294
  permission_guard?: string[] | undefined;
271
295
  referrer?: string | undefined;
296
+ confirmed?: boolean | undefined;
297
+ user_intent_phrases?: string[] | undefined;
298
+ project?: string | undefined;
272
299
  } | undefined;
273
300
  }, {
274
301
  data: {
@@ -283,6 +310,9 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
283
310
  account?: string | undefined;
284
311
  permission_guard?: string[] | undefined;
285
312
  referrer?: string | undefined;
313
+ confirmed?: boolean | undefined;
314
+ user_intent_phrases?: string[] | undefined;
315
+ project?: string | undefined;
286
316
  } | undefined;
287
317
  }>, z.ZodObject<{
288
318
  operation_type: z.ZodLiteral<"claim_wow_to_evm">;
@@ -299,18 +329,27 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
299
329
  no_cache: z.ZodOptional<z.ZodBoolean>;
300
330
  network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet, import("@wowok/wowok").ENTRYPOINT.Mainnet]>>;
301
331
  referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
332
+ confirmed: z.ZodOptional<z.ZodBoolean>;
333
+ user_intent_phrases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
334
+ project: z.ZodOptional<z.ZodString>;
302
335
  }, "strict", z.ZodTypeAny, {
303
336
  account: string;
304
337
  no_cache?: boolean | undefined;
305
338
  network?: import("@wowok/wowok").ENTRYPOINT | undefined;
306
339
  permission_guard?: string[] | undefined;
307
340
  referrer?: string | undefined;
341
+ confirmed?: boolean | undefined;
342
+ user_intent_phrases?: string[] | undefined;
343
+ project?: string | undefined;
308
344
  }, {
309
345
  no_cache?: boolean | undefined;
310
346
  network?: import("@wowok/wowok").ENTRYPOINT | undefined;
311
347
  account?: string | undefined;
312
348
  permission_guard?: string[] | undefined;
313
349
  referrer?: string | undefined;
350
+ confirmed?: boolean | undefined;
351
+ user_intent_phrases?: string[] | undefined;
352
+ project?: string | undefined;
314
353
  }>>;
315
354
  }, "strip", z.ZodTypeAny, {
316
355
  data: {
@@ -323,6 +362,9 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
323
362
  network?: import("@wowok/wowok").ENTRYPOINT | undefined;
324
363
  permission_guard?: string[] | undefined;
325
364
  referrer?: string | undefined;
365
+ confirmed?: boolean | undefined;
366
+ user_intent_phrases?: string[] | undefined;
367
+ project?: string | undefined;
326
368
  } | undefined;
327
369
  }, {
328
370
  data: {
@@ -335,6 +377,9 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
335
377
  account?: string | undefined;
336
378
  permission_guard?: string[] | undefined;
337
379
  referrer?: string | undefined;
380
+ confirmed?: boolean | undefined;
381
+ user_intent_phrases?: string[] | undefined;
382
+ project?: string | undefined;
338
383
  } | undefined;
339
384
  }>, z.ZodObject<{
340
385
  operation_type: z.ZodLiteral<"withdraw">;
@@ -433,13 +478,13 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
433
478
  token: z.ZodOptional<z.ZodEnum<["ETH", "WETH", "WBTC", "USDC", "USDT"]>>;
434
479
  limit: z.ZodOptional<z.ZodNumber>;
435
480
  }, "strict", z.ZodTypeAny, {
436
- status?: "success" | "failed" | "in_progress" | "pending" | undefined;
481
+ status?: "success" | "in_progress" | "failed" | "pending" | undefined;
437
482
  limit?: number | undefined;
438
483
  token?: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC" | undefined;
439
484
  onlyActive?: boolean | undefined;
440
485
  direction?: "withdraw" | "wow_to_evm" | "evm_to_wow" | undefined;
441
486
  }, {
442
- status?: "success" | "failed" | "in_progress" | "pending" | undefined;
487
+ status?: "success" | "in_progress" | "failed" | "pending" | undefined;
443
488
  limit?: number | undefined;
444
489
  token?: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC" | undefined;
445
490
  onlyActive?: boolean | undefined;
@@ -448,7 +493,7 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
448
493
  }, "strip", z.ZodTypeAny, {
449
494
  operation_type: "query_transfer_list";
450
495
  data?: {
451
- status?: "success" | "failed" | "in_progress" | "pending" | undefined;
496
+ status?: "success" | "in_progress" | "failed" | "pending" | undefined;
452
497
  limit?: number | undefined;
453
498
  token?: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC" | undefined;
454
499
  onlyActive?: boolean | undefined;
@@ -457,7 +502,7 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
457
502
  }, {
458
503
  operation_type: "query_transfer_list";
459
504
  data?: {
460
- status?: "success" | "failed" | "in_progress" | "pending" | undefined;
505
+ status?: "success" | "in_progress" | "failed" | "pending" | undefined;
461
506
  limit?: number | undefined;
462
507
  token?: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC" | undefined;
463
508
  onlyActive?: boolean | undefined;
@@ -604,6 +649,9 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
604
649
  network?: import("@wowok/wowok").ENTRYPOINT | undefined;
605
650
  permission_guard?: string[] | undefined;
606
651
  referrer?: string | undefined;
652
+ confirmed?: boolean | undefined;
653
+ user_intent_phrases?: string[] | undefined;
654
+ project?: string | undefined;
607
655
  } | undefined;
608
656
  } | {
609
657
  data: {
@@ -618,6 +666,9 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
618
666
  network?: import("@wowok/wowok").ENTRYPOINT | undefined;
619
667
  permission_guard?: string[] | undefined;
620
668
  referrer?: string | undefined;
669
+ confirmed?: boolean | undefined;
670
+ user_intent_phrases?: string[] | undefined;
671
+ project?: string | undefined;
621
672
  } | undefined;
622
673
  } | {
623
674
  data: {
@@ -630,6 +681,9 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
630
681
  network?: import("@wowok/wowok").ENTRYPOINT | undefined;
631
682
  permission_guard?: string[] | undefined;
632
683
  referrer?: string | undefined;
684
+ confirmed?: boolean | undefined;
685
+ user_intent_phrases?: string[] | undefined;
686
+ project?: string | undefined;
633
687
  } | undefined;
634
688
  } | {
635
689
  data: {
@@ -656,7 +710,7 @@ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnio
656
710
  } | {
657
711
  operation_type: "query_transfer_list";
658
712
  data?: {
659
- status?: "success" | "failed" | "in_progress" | "pending" | undefined;
713
+ status?: "success" | "in_progress" | "failed" | "pending" | undefined;
660
714
  limit?: number | undefined;
661
715
  token?: "USDT" | "USDC" | "ETH" | "WETH" | "WBTC" | undefined;
662
716
  onlyActive?: boolean | undefined;
@@ -707,7 +761,7 @@ export declare const BridgeLatestStateSchema: z.ZodObject<{
707
761
  hint: z.ZodOptional<z.ZodString>;
708
762
  updatedAt: z.ZodOptional<z.ZodNumber>;
709
763
  }, "strip", z.ZodTypeAny, {
710
- status: "failed" | "completed" | "pending" | "not_started" | "confirmed" | "signatures_ready" | "claiming";
764
+ status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
711
765
  step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
712
766
  error?: string | undefined;
713
767
  updatedAt?: number | undefined;
@@ -722,7 +776,7 @@ export declare const BridgeLatestStateSchema: z.ZodObject<{
722
776
  wowReceipt?: any;
723
777
  hint?: string | undefined;
724
778
  }, {
725
- status: "failed" | "completed" | "pending" | "not_started" | "confirmed" | "signatures_ready" | "claiming";
779
+ status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
726
780
  step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
727
781
  error?: string | undefined;
728
782
  updatedAt?: number | undefined;
@@ -772,7 +826,7 @@ export declare const BridgeTransferRecordSchema: z.ZodObject<{
772
826
  hint: z.ZodOptional<z.ZodString>;
773
827
  updatedAt: z.ZodOptional<z.ZodNumber>;
774
828
  }, "strip", z.ZodTypeAny, {
775
- status: "failed" | "completed" | "pending" | "not_started" | "confirmed" | "signatures_ready" | "claiming";
829
+ status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
776
830
  step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
777
831
  error?: string | undefined;
778
832
  updatedAt?: number | undefined;
@@ -787,7 +841,7 @@ export declare const BridgeTransferRecordSchema: z.ZodObject<{
787
841
  wowReceipt?: any;
788
842
  hint?: string | undefined;
789
843
  }, {
790
- status: "failed" | "completed" | "pending" | "not_started" | "confirmed" | "signatures_ready" | "claiming";
844
+ status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
791
845
  step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
792
846
  error?: string | undefined;
793
847
  updatedAt?: number | undefined;
@@ -803,7 +857,7 @@ export declare const BridgeTransferRecordSchema: z.ZodObject<{
803
857
  hint?: string | undefined;
804
858
  }>>;
805
859
  }, "strict", z.ZodTypeAny, {
806
- status: "success" | "failed" | "in_progress" | "pending";
860
+ status: "success" | "in_progress" | "failed" | "pending";
807
861
  amount: string;
808
862
  createdAt: number;
809
863
  updatedAt: number;
@@ -822,7 +876,7 @@ export declare const BridgeTransferRecordSchema: z.ZodObject<{
822
876
  claimTxHash?: string | undefined;
823
877
  withdrawTxHash?: string | undefined;
824
878
  latestState?: {
825
- status: "failed" | "completed" | "pending" | "not_started" | "confirmed" | "signatures_ready" | "claiming";
879
+ status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
826
880
  step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
827
881
  error?: string | undefined;
828
882
  updatedAt?: number | undefined;
@@ -838,7 +892,7 @@ export declare const BridgeTransferRecordSchema: z.ZodObject<{
838
892
  hint?: string | undefined;
839
893
  } | undefined;
840
894
  }, {
841
- status: "success" | "failed" | "in_progress" | "pending";
895
+ status: "success" | "in_progress" | "failed" | "pending";
842
896
  amount: string;
843
897
  createdAt: number;
844
898
  updatedAt: number;
@@ -857,7 +911,7 @@ export declare const BridgeTransferRecordSchema: z.ZodObject<{
857
911
  claimTxHash?: string | undefined;
858
912
  withdrawTxHash?: string | undefined;
859
913
  latestState?: {
860
- status: "failed" | "completed" | "pending" | "not_started" | "confirmed" | "signatures_ready" | "claiming";
914
+ status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
861
915
  step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
862
916
  error?: string | undefined;
863
917
  updatedAt?: number | undefined;
@@ -1094,7 +1148,7 @@ export declare const BridgeQueryTransferListResultSchema: z.ZodArray<z.ZodObject
1094
1148
  hint: z.ZodOptional<z.ZodString>;
1095
1149
  updatedAt: z.ZodOptional<z.ZodNumber>;
1096
1150
  }, "strip", z.ZodTypeAny, {
1097
- status: "failed" | "completed" | "pending" | "not_started" | "confirmed" | "signatures_ready" | "claiming";
1151
+ status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
1098
1152
  step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1099
1153
  error?: string | undefined;
1100
1154
  updatedAt?: number | undefined;
@@ -1109,7 +1163,7 @@ export declare const BridgeQueryTransferListResultSchema: z.ZodArray<z.ZodObject
1109
1163
  wowReceipt?: any;
1110
1164
  hint?: string | undefined;
1111
1165
  }, {
1112
- status: "failed" | "completed" | "pending" | "not_started" | "confirmed" | "signatures_ready" | "claiming";
1166
+ status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
1113
1167
  step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1114
1168
  error?: string | undefined;
1115
1169
  updatedAt?: number | undefined;
@@ -1125,7 +1179,7 @@ export declare const BridgeQueryTransferListResultSchema: z.ZodArray<z.ZodObject
1125
1179
  hint?: string | undefined;
1126
1180
  }>>;
1127
1181
  }, "strict", z.ZodTypeAny, {
1128
- status: "success" | "failed" | "in_progress" | "pending";
1182
+ status: "success" | "in_progress" | "failed" | "pending";
1129
1183
  amount: string;
1130
1184
  createdAt: number;
1131
1185
  updatedAt: number;
@@ -1144,7 +1198,7 @@ export declare const BridgeQueryTransferListResultSchema: z.ZodArray<z.ZodObject
1144
1198
  claimTxHash?: string | undefined;
1145
1199
  withdrawTxHash?: string | undefined;
1146
1200
  latestState?: {
1147
- status: "failed" | "completed" | "pending" | "not_started" | "confirmed" | "signatures_ready" | "claiming";
1201
+ status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
1148
1202
  step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1149
1203
  error?: string | undefined;
1150
1204
  updatedAt?: number | undefined;
@@ -1160,7 +1214,7 @@ export declare const BridgeQueryTransferListResultSchema: z.ZodArray<z.ZodObject
1160
1214
  hint?: string | undefined;
1161
1215
  } | undefined;
1162
1216
  }, {
1163
- status: "success" | "failed" | "in_progress" | "pending";
1217
+ status: "success" | "in_progress" | "failed" | "pending";
1164
1218
  amount: string;
1165
1219
  createdAt: number;
1166
1220
  updatedAt: number;
@@ -1179,7 +1233,7 @@ export declare const BridgeQueryTransferListResultSchema: z.ZodArray<z.ZodObject
1179
1233
  claimTxHash?: string | undefined;
1180
1234
  withdrawTxHash?: string | undefined;
1181
1235
  latestState?: {
1182
- status: "failed" | "completed" | "pending" | "not_started" | "confirmed" | "signatures_ready" | "claiming";
1236
+ status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
1183
1237
  step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1184
1238
  error?: string | undefined;
1185
1239
  updatedAt?: number | undefined;
@@ -1230,7 +1284,7 @@ export declare const BridgeQueryTransferStatusResultSchema: z.ZodNullable<z.ZodO
1230
1284
  hint: z.ZodOptional<z.ZodString>;
1231
1285
  updatedAt: z.ZodOptional<z.ZodNumber>;
1232
1286
  }, "strip", z.ZodTypeAny, {
1233
- status: "failed" | "completed" | "pending" | "not_started" | "confirmed" | "signatures_ready" | "claiming";
1287
+ status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
1234
1288
  step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1235
1289
  error?: string | undefined;
1236
1290
  updatedAt?: number | undefined;
@@ -1245,7 +1299,7 @@ export declare const BridgeQueryTransferStatusResultSchema: z.ZodNullable<z.ZodO
1245
1299
  wowReceipt?: any;
1246
1300
  hint?: string | undefined;
1247
1301
  }, {
1248
- status: "failed" | "completed" | "pending" | "not_started" | "confirmed" | "signatures_ready" | "claiming";
1302
+ status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
1249
1303
  step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1250
1304
  error?: string | undefined;
1251
1305
  updatedAt?: number | undefined;
@@ -1261,7 +1315,7 @@ export declare const BridgeQueryTransferStatusResultSchema: z.ZodNullable<z.ZodO
1261
1315
  hint?: string | undefined;
1262
1316
  }>>;
1263
1317
  }, "strict", z.ZodTypeAny, {
1264
- status: "success" | "failed" | "in_progress" | "pending";
1318
+ status: "success" | "in_progress" | "failed" | "pending";
1265
1319
  amount: string;
1266
1320
  createdAt: number;
1267
1321
  updatedAt: number;
@@ -1280,7 +1334,7 @@ export declare const BridgeQueryTransferStatusResultSchema: z.ZodNullable<z.ZodO
1280
1334
  claimTxHash?: string | undefined;
1281
1335
  withdrawTxHash?: string | undefined;
1282
1336
  latestState?: {
1283
- status: "failed" | "completed" | "pending" | "not_started" | "confirmed" | "signatures_ready" | "claiming";
1337
+ status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
1284
1338
  step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1285
1339
  error?: string | undefined;
1286
1340
  updatedAt?: number | undefined;
@@ -1296,7 +1350,7 @@ export declare const BridgeQueryTransferStatusResultSchema: z.ZodNullable<z.ZodO
1296
1350
  hint?: string | undefined;
1297
1351
  } | undefined;
1298
1352
  }, {
1299
- status: "success" | "failed" | "in_progress" | "pending";
1353
+ status: "success" | "in_progress" | "failed" | "pending";
1300
1354
  amount: string;
1301
1355
  createdAt: number;
1302
1356
  updatedAt: number;
@@ -1315,7 +1369,7 @@ export declare const BridgeQueryTransferStatusResultSchema: z.ZodNullable<z.ZodO
1315
1369
  claimTxHash?: string | undefined;
1316
1370
  withdrawTxHash?: string | undefined;
1317
1371
  latestState?: {
1318
- status: "failed" | "completed" | "pending" | "not_started" | "confirmed" | "signatures_ready" | "claiming";
1372
+ status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
1319
1373
  step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1320
1374
  error?: string | undefined;
1321
1375
  updatedAt?: number | undefined;
@@ -1738,7 +1792,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
1738
1792
  hint: z.ZodOptional<z.ZodString>;
1739
1793
  updatedAt: z.ZodOptional<z.ZodNumber>;
1740
1794
  }, "strip", z.ZodTypeAny, {
1741
- status: "failed" | "completed" | "pending" | "not_started" | "confirmed" | "signatures_ready" | "claiming";
1795
+ status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
1742
1796
  step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1743
1797
  error?: string | undefined;
1744
1798
  updatedAt?: number | undefined;
@@ -1753,7 +1807,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
1753
1807
  wowReceipt?: any;
1754
1808
  hint?: string | undefined;
1755
1809
  }, {
1756
- status: "failed" | "completed" | "pending" | "not_started" | "confirmed" | "signatures_ready" | "claiming";
1810
+ status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
1757
1811
  step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1758
1812
  error?: string | undefined;
1759
1813
  updatedAt?: number | undefined;
@@ -1769,7 +1823,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
1769
1823
  hint?: string | undefined;
1770
1824
  }>>;
1771
1825
  }, "strict", z.ZodTypeAny, {
1772
- status: "success" | "failed" | "in_progress" | "pending";
1826
+ status: "success" | "in_progress" | "failed" | "pending";
1773
1827
  amount: string;
1774
1828
  createdAt: number;
1775
1829
  updatedAt: number;
@@ -1788,7 +1842,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
1788
1842
  claimTxHash?: string | undefined;
1789
1843
  withdrawTxHash?: string | undefined;
1790
1844
  latestState?: {
1791
- status: "failed" | "completed" | "pending" | "not_started" | "confirmed" | "signatures_ready" | "claiming";
1845
+ status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
1792
1846
  step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1793
1847
  error?: string | undefined;
1794
1848
  updatedAt?: number | undefined;
@@ -1804,7 +1858,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
1804
1858
  hint?: string | undefined;
1805
1859
  } | undefined;
1806
1860
  }, {
1807
- status: "success" | "failed" | "in_progress" | "pending";
1861
+ status: "success" | "in_progress" | "failed" | "pending";
1808
1862
  amount: string;
1809
1863
  createdAt: number;
1810
1864
  updatedAt: number;
@@ -1823,7 +1877,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
1823
1877
  claimTxHash?: string | undefined;
1824
1878
  withdrawTxHash?: string | undefined;
1825
1879
  latestState?: {
1826
- status: "failed" | "completed" | "pending" | "not_started" | "confirmed" | "signatures_ready" | "claiming";
1880
+ status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
1827
1881
  step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1828
1882
  error?: string | undefined;
1829
1883
  updatedAt?: number | undefined;
@@ -1842,7 +1896,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
1842
1896
  message: z.ZodOptional<z.ZodString>;
1843
1897
  }, "strip", z.ZodTypeAny, {
1844
1898
  result: {
1845
- status: "success" | "failed" | "in_progress" | "pending";
1899
+ status: "success" | "in_progress" | "failed" | "pending";
1846
1900
  amount: string;
1847
1901
  createdAt: number;
1848
1902
  updatedAt: number;
@@ -1861,7 +1915,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
1861
1915
  claimTxHash?: string | undefined;
1862
1916
  withdrawTxHash?: string | undefined;
1863
1917
  latestState?: {
1864
- status: "failed" | "completed" | "pending" | "not_started" | "confirmed" | "signatures_ready" | "claiming";
1918
+ status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
1865
1919
  step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1866
1920
  error?: string | undefined;
1867
1921
  updatedAt?: number | undefined;
@@ -1881,7 +1935,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
1881
1935
  message?: string | undefined;
1882
1936
  }, {
1883
1937
  result: {
1884
- status: "success" | "failed" | "in_progress" | "pending";
1938
+ status: "success" | "in_progress" | "failed" | "pending";
1885
1939
  amount: string;
1886
1940
  createdAt: number;
1887
1941
  updatedAt: number;
@@ -1900,7 +1954,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
1900
1954
  claimTxHash?: string | undefined;
1901
1955
  withdrawTxHash?: string | undefined;
1902
1956
  latestState?: {
1903
- status: "failed" | "completed" | "pending" | "not_started" | "confirmed" | "signatures_ready" | "claiming";
1957
+ status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
1904
1958
  step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1905
1959
  error?: string | undefined;
1906
1960
  updatedAt?: number | undefined;
@@ -1955,7 +2009,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
1955
2009
  hint: z.ZodOptional<z.ZodString>;
1956
2010
  updatedAt: z.ZodOptional<z.ZodNumber>;
1957
2011
  }, "strip", z.ZodTypeAny, {
1958
- status: "failed" | "completed" | "pending" | "not_started" | "confirmed" | "signatures_ready" | "claiming";
2012
+ status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
1959
2013
  step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1960
2014
  error?: string | undefined;
1961
2015
  updatedAt?: number | undefined;
@@ -1970,7 +2024,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
1970
2024
  wowReceipt?: any;
1971
2025
  hint?: string | undefined;
1972
2026
  }, {
1973
- status: "failed" | "completed" | "pending" | "not_started" | "confirmed" | "signatures_ready" | "claiming";
2027
+ status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
1974
2028
  step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1975
2029
  error?: string | undefined;
1976
2030
  updatedAt?: number | undefined;
@@ -1986,7 +2040,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
1986
2040
  hint?: string | undefined;
1987
2041
  }>>;
1988
2042
  }, "strict", z.ZodTypeAny, {
1989
- status: "success" | "failed" | "in_progress" | "pending";
2043
+ status: "success" | "in_progress" | "failed" | "pending";
1990
2044
  amount: string;
1991
2045
  createdAt: number;
1992
2046
  updatedAt: number;
@@ -2005,7 +2059,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
2005
2059
  claimTxHash?: string | undefined;
2006
2060
  withdrawTxHash?: string | undefined;
2007
2061
  latestState?: {
2008
- status: "failed" | "completed" | "pending" | "not_started" | "confirmed" | "signatures_ready" | "claiming";
2062
+ status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
2009
2063
  step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
2010
2064
  error?: string | undefined;
2011
2065
  updatedAt?: number | undefined;
@@ -2021,7 +2075,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
2021
2075
  hint?: string | undefined;
2022
2076
  } | undefined;
2023
2077
  }, {
2024
- status: "success" | "failed" | "in_progress" | "pending";
2078
+ status: "success" | "in_progress" | "failed" | "pending";
2025
2079
  amount: string;
2026
2080
  createdAt: number;
2027
2081
  updatedAt: number;
@@ -2040,7 +2094,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
2040
2094
  claimTxHash?: string | undefined;
2041
2095
  withdrawTxHash?: string | undefined;
2042
2096
  latestState?: {
2043
- status: "failed" | "completed" | "pending" | "not_started" | "confirmed" | "signatures_ready" | "claiming";
2097
+ status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
2044
2098
  step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
2045
2099
  error?: string | undefined;
2046
2100
  updatedAt?: number | undefined;
@@ -2059,7 +2113,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
2059
2113
  message: z.ZodOptional<z.ZodString>;
2060
2114
  }, "strip", z.ZodTypeAny, {
2061
2115
  result: {
2062
- status: "success" | "failed" | "in_progress" | "pending";
2116
+ status: "success" | "in_progress" | "failed" | "pending";
2063
2117
  amount: string;
2064
2118
  createdAt: number;
2065
2119
  updatedAt: number;
@@ -2078,7 +2132,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
2078
2132
  claimTxHash?: string | undefined;
2079
2133
  withdrawTxHash?: string | undefined;
2080
2134
  latestState?: {
2081
- status: "failed" | "completed" | "pending" | "not_started" | "confirmed" | "signatures_ready" | "claiming";
2135
+ status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
2082
2136
  step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
2083
2137
  error?: string | undefined;
2084
2138
  updatedAt?: number | undefined;
@@ -2098,7 +2152,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
2098
2152
  message?: string | undefined;
2099
2153
  }, {
2100
2154
  result: {
2101
- status: "success" | "failed" | "in_progress" | "pending";
2155
+ status: "success" | "in_progress" | "failed" | "pending";
2102
2156
  amount: string;
2103
2157
  createdAt: number;
2104
2158
  updatedAt: number;
@@ -2117,7 +2171,7 @@ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type
2117
2171
  claimTxHash?: string | undefined;
2118
2172
  withdrawTxHash?: string | undefined;
2119
2173
  latestState?: {
2120
- status: "failed" | "completed" | "pending" | "not_started" | "confirmed" | "signatures_ready" | "claiming";
2174
+ status: "confirmed" | "failed" | "completed" | "pending" | "not_started" | "signatures_ready" | "claiming";
2121
2175
  step: "failed" | "completed" | "not_started" | "signatures_ready" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
2122
2176
  error?: string | undefined;
2123
2177
  updatedAt?: number | undefined;
@@ -2172,41 +2226,644 @@ export declare const BridgeCallOutputSchema: z.ZodObject<{
2172
2226
  message: z.ZodOptional<z.ZodString>;
2173
2227
  result: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2174
2228
  type: z.ZodLiteral<"data">;
2175
- data: z.ZodAny;
2229
+ data: z.ZodUnknown;
2176
2230
  }, "strip", z.ZodTypeAny, {
2177
2231
  type: "data";
2178
- data?: any;
2232
+ data?: unknown;
2179
2233
  }, {
2180
2234
  type: "data";
2181
- data?: any;
2235
+ data?: unknown;
2182
2236
  }>, z.ZodObject<{
2183
2237
  type: z.ZodLiteral<"error">;
2184
2238
  error: z.ZodString;
2239
+ error_code: z.ZodOptional<z.ZodEnum<["invalid_parameter", "guard_rejected", "state_conflict", "insufficient_balance", "object_not_found", "permission_denied", "immutable_violation", "network_error", "unknown"]>>;
2240
+ retryable: z.ZodOptional<z.ZodBoolean>;
2241
+ recovery_hint: z.ZodOptional<z.ZodString>;
2185
2242
  }, "strip", z.ZodTypeAny, {
2186
2243
  type: "error";
2187
2244
  error: string;
2245
+ error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
2246
+ retryable?: boolean | undefined;
2247
+ recovery_hint?: string | undefined;
2188
2248
  }, {
2189
2249
  type: "error";
2190
2250
  error: string;
2251
+ error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
2252
+ retryable?: boolean | undefined;
2253
+ recovery_hint?: string | undefined;
2191
2254
  }>]>;
2255
+ semantic: z.ZodOptional<z.ZodObject<{
2256
+ intent: z.ZodString;
2257
+ status: z.ZodEnum<["success", "partial", "failed", "pending_input"]>;
2258
+ summary: z.ZodString;
2259
+ created: z.ZodOptional<z.ZodArray<z.ZodObject<{
2260
+ id: z.ZodString;
2261
+ name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
2262
+ role: z.ZodEnum<["Permission", "Guard", "Machine", "Progress", "Service", "Order", "Allocation", "Arbitration", "ArbCase", "Messenger", "Contact", "Demand", "Reward", "Personal", "Repository", "Treasury", "Discount", "Other"]>;
2263
+ relation: z.ZodOptional<z.ZodObject<{
2264
+ parent: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
2265
+ relation_type: z.ZodOptional<z.ZodEnum<["machine_of", "guard_of", "allocator_of", "permission_of", "progress_of", "allocation_of", "arb_of", "other"]>>;
2266
+ }, "strip", z.ZodTypeAny, {
2267
+ parent?: string | null | undefined;
2268
+ relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
2269
+ }, {
2270
+ parent?: string | null | undefined;
2271
+ relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
2272
+ }>>;
2273
+ immutable: z.ZodOptional<z.ZodBoolean>;
2274
+ }, "strict", z.ZodTypeAny, {
2275
+ id: string;
2276
+ role: "Permission" | "Guard" | "Machine" | "Progress" | "Service" | "Order" | "Allocation" | "Arbitration" | "ArbCase" | "Messenger" | "Contact" | "Demand" | "Reward" | "Personal" | "Repository" | "Treasury" | "Discount" | "Other";
2277
+ name?: string | null | undefined;
2278
+ relation?: {
2279
+ parent?: string | null | undefined;
2280
+ relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
2281
+ } | undefined;
2282
+ immutable?: boolean | undefined;
2283
+ }, {
2284
+ id: string;
2285
+ role: "Permission" | "Guard" | "Machine" | "Progress" | "Service" | "Order" | "Allocation" | "Arbitration" | "ArbCase" | "Messenger" | "Contact" | "Demand" | "Reward" | "Personal" | "Repository" | "Treasury" | "Discount" | "Other";
2286
+ name?: string | null | undefined;
2287
+ relation?: {
2288
+ parent?: string | null | undefined;
2289
+ relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
2290
+ } | undefined;
2291
+ immutable?: boolean | undefined;
2292
+ }>, "many">>;
2293
+ modified: z.ZodOptional<z.ZodArray<z.ZodObject<{
2294
+ id: z.ZodString;
2295
+ name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
2296
+ role: z.ZodEnum<["Permission", "Guard", "Machine", "Progress", "Service", "Order", "Allocation", "Arbitration", "ArbCase", "Messenger", "Contact", "Demand", "Reward", "Personal", "Repository", "Treasury", "Discount", "Other"]>;
2297
+ relation: z.ZodOptional<z.ZodObject<{
2298
+ parent: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
2299
+ relation_type: z.ZodOptional<z.ZodEnum<["machine_of", "guard_of", "allocator_of", "permission_of", "progress_of", "allocation_of", "arb_of", "other"]>>;
2300
+ }, "strip", z.ZodTypeAny, {
2301
+ parent?: string | null | undefined;
2302
+ relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
2303
+ }, {
2304
+ parent?: string | null | undefined;
2305
+ relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
2306
+ }>>;
2307
+ immutable: z.ZodOptional<z.ZodBoolean>;
2308
+ }, "strict", z.ZodTypeAny, {
2309
+ id: string;
2310
+ role: "Permission" | "Guard" | "Machine" | "Progress" | "Service" | "Order" | "Allocation" | "Arbitration" | "ArbCase" | "Messenger" | "Contact" | "Demand" | "Reward" | "Personal" | "Repository" | "Treasury" | "Discount" | "Other";
2311
+ name?: string | null | undefined;
2312
+ relation?: {
2313
+ parent?: string | null | undefined;
2314
+ relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
2315
+ } | undefined;
2316
+ immutable?: boolean | undefined;
2317
+ }, {
2318
+ id: string;
2319
+ role: "Permission" | "Guard" | "Machine" | "Progress" | "Service" | "Order" | "Allocation" | "Arbitration" | "ArbCase" | "Messenger" | "Contact" | "Demand" | "Reward" | "Personal" | "Repository" | "Treasury" | "Discount" | "Other";
2320
+ name?: string | null | undefined;
2321
+ relation?: {
2322
+ parent?: string | null | undefined;
2323
+ relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
2324
+ } | undefined;
2325
+ immutable?: boolean | undefined;
2326
+ }>, "many">>;
2327
+ released: z.ZodOptional<z.ZodArray<z.ZodObject<{
2328
+ amount: z.ZodString;
2329
+ coinType: z.ZodString;
2330
+ role: z.ZodEnum<["payment", "refund", "change", "compensation", "reward", "gas", "deposit", "release", "other"]>;
2331
+ from: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2332
+ to: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2333
+ }, "strict", z.ZodTypeAny, {
2334
+ coinType: string;
2335
+ amount: string;
2336
+ role: "payment" | "change" | "other" | "refund" | "compensation" | "reward" | "gas" | "deposit" | "release";
2337
+ from?: string | null | undefined;
2338
+ to?: string | null | undefined;
2339
+ }, {
2340
+ coinType: string;
2341
+ amount: string;
2342
+ role: "payment" | "change" | "other" | "refund" | "compensation" | "reward" | "gas" | "deposit" | "release";
2343
+ from?: string | null | undefined;
2344
+ to?: string | null | undefined;
2345
+ }>, "many">>;
2346
+ events: z.ZodOptional<z.ZodArray<z.ZodObject<{
2347
+ event_type: z.ZodString;
2348
+ business_meaning: z.ZodString;
2349
+ category: z.ZodEnum<["lifecycle", "state_change", "fund_flow", "permission", "guard", "other"]>;
2350
+ related_object: z.ZodOptional<z.ZodString>;
2351
+ side_effect: z.ZodOptional<z.ZodString>;
2352
+ }, "strict", z.ZodTypeAny, {
2353
+ event_type: string;
2354
+ business_meaning: string;
2355
+ category: "permission" | "other" | "lifecycle" | "state_change" | "fund_flow" | "guard";
2356
+ related_object?: string | undefined;
2357
+ side_effect?: string | undefined;
2358
+ }, {
2359
+ event_type: string;
2360
+ business_meaning: string;
2361
+ category: "permission" | "other" | "lifecycle" | "state_change" | "fund_flow" | "guard";
2362
+ related_object?: string | undefined;
2363
+ side_effect?: string | undefined;
2364
+ }>, "many">>;
2365
+ next_actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
2366
+ action: z.ZodString;
2367
+ reason: z.ZodString;
2368
+ tool: z.ZodOptional<z.ZodString>;
2369
+ prerequisite: z.ZodOptional<z.ZodString>;
2370
+ priority: z.ZodEnum<["required", "recommended", "optional"]>;
2371
+ }, "strict", z.ZodTypeAny, {
2372
+ action: string;
2373
+ reason: string;
2374
+ priority: "required" | "recommended" | "optional";
2375
+ tool?: string | undefined;
2376
+ prerequisite?: string | undefined;
2377
+ }, {
2378
+ action: string;
2379
+ reason: string;
2380
+ priority: "required" | "recommended" | "optional";
2381
+ tool?: string | undefined;
2382
+ prerequisite?: string | undefined;
2383
+ }>, "many">>;
2384
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2385
+ experience: z.ZodOptional<z.ZodObject<{
2386
+ advice: z.ZodOptional<z.ZodString>;
2387
+ avoid: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2388
+ relevance: z.ZodOptional<z.ZodNumber>;
2389
+ matched_scenario: z.ZodOptional<z.ZodString>;
2390
+ }, "strict", z.ZodTypeAny, {
2391
+ advice?: string | undefined;
2392
+ avoid?: string[] | undefined;
2393
+ relevance?: number | undefined;
2394
+ matched_scenario?: string | undefined;
2395
+ }, {
2396
+ advice?: string | undefined;
2397
+ avoid?: string[] | undefined;
2398
+ relevance?: number | undefined;
2399
+ matched_scenario?: string | undefined;
2400
+ }>>;
2401
+ service_status: z.ZodOptional<z.ZodObject<{
2402
+ active: z.ZodArray<z.ZodString, "many">;
2403
+ inactive: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2404
+ }, "strict", z.ZodTypeAny, {
2405
+ active: string[];
2406
+ inactive?: string[] | undefined;
2407
+ }, {
2408
+ active: string[];
2409
+ inactive?: string[] | undefined;
2410
+ }>>;
2411
+ customer_advice: z.ZodOptional<z.ZodObject<{
2412
+ risk_score: z.ZodOptional<z.ZodNumber>;
2413
+ risk_level: z.ZodOptional<z.ZodEnum<["low", "medium_low", "medium_high", "high"]>>;
2414
+ recommendations: z.ZodArray<z.ZodString, "many">;
2415
+ reminders: z.ZodArray<z.ZodObject<{
2416
+ id: z.ZodString;
2417
+ stage: z.ZodEnum<["browse", "evaluate", "preorder", "in_progress", "complete", "after_sale"]>;
2418
+ priority: z.ZodEnum<["required", "recommended", "info", "reminder"]>;
2419
+ message: z.ZodString;
2420
+ action: z.ZodOptional<z.ZodString>;
2421
+ }, "strict", z.ZodTypeAny, {
2422
+ message: string;
2423
+ id: string;
2424
+ priority: "required" | "recommended" | "info" | "reminder";
2425
+ stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
2426
+ action?: string | undefined;
2427
+ }, {
2428
+ message: string;
2429
+ id: string;
2430
+ priority: "required" | "recommended" | "info" | "reminder";
2431
+ stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
2432
+ action?: string | undefined;
2433
+ }>, "many">;
2434
+ preference_match: z.ZodOptional<z.ZodObject<{
2435
+ score: z.ZodNumber;
2436
+ matches: z.ZodArray<z.ZodString, "many">;
2437
+ mismatches: z.ZodArray<z.ZodString, "many">;
2438
+ }, "strict", z.ZodTypeAny, {
2439
+ score: number;
2440
+ matches: string[];
2441
+ mismatches: string[];
2442
+ }, {
2443
+ score: number;
2444
+ matches: string[];
2445
+ mismatches: string[];
2446
+ }>>;
2447
+ }, "strict", z.ZodTypeAny, {
2448
+ recommendations: string[];
2449
+ reminders: {
2450
+ message: string;
2451
+ id: string;
2452
+ priority: "required" | "recommended" | "info" | "reminder";
2453
+ stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
2454
+ action?: string | undefined;
2455
+ }[];
2456
+ risk_score?: number | undefined;
2457
+ risk_level?: "low" | "medium_low" | "medium_high" | "high" | undefined;
2458
+ preference_match?: {
2459
+ score: number;
2460
+ matches: string[];
2461
+ mismatches: string[];
2462
+ } | undefined;
2463
+ }, {
2464
+ recommendations: string[];
2465
+ reminders: {
2466
+ message: string;
2467
+ id: string;
2468
+ priority: "required" | "recommended" | "info" | "reminder";
2469
+ stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
2470
+ action?: string | undefined;
2471
+ }[];
2472
+ risk_score?: number | undefined;
2473
+ risk_level?: "low" | "medium_low" | "medium_high" | "high" | undefined;
2474
+ preference_match?: {
2475
+ score: number;
2476
+ matches: string[];
2477
+ mismatches: string[];
2478
+ } | undefined;
2479
+ }>>;
2480
+ evolution_context: z.ZodOptional<z.ZodObject<{
2481
+ industry_signal: z.ZodOptional<z.ZodString>;
2482
+ evolution_advice: z.ZodOptional<z.ZodString>;
2483
+ confidence: z.ZodNumber;
2484
+ health_score: z.ZodOptional<z.ZodNumber>;
2485
+ pending_suggestions: z.ZodOptional<z.ZodNumber>;
2486
+ intent: z.ZodOptional<z.ZodEnum<["default", "growth", "retention", "compliance", "efficiency", "trust_building", "custom"]>>;
2487
+ role_advice: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2488
+ role: z.ZodOptional<z.ZodEnum<["user", "merchant", "arbitrator"]>>;
2489
+ }, "strict", z.ZodTypeAny, {
2490
+ confidence: number;
2491
+ role?: "user" | "merchant" | "arbitrator" | undefined;
2492
+ industry_signal?: string | undefined;
2493
+ evolution_advice?: string | undefined;
2494
+ health_score?: number | undefined;
2495
+ pending_suggestions?: number | undefined;
2496
+ intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
2497
+ role_advice?: string[] | undefined;
2498
+ }, {
2499
+ confidence: number;
2500
+ role?: "user" | "merchant" | "arbitrator" | undefined;
2501
+ industry_signal?: string | undefined;
2502
+ evolution_advice?: string | undefined;
2503
+ health_score?: number | undefined;
2504
+ pending_suggestions?: number | undefined;
2505
+ intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
2506
+ role_advice?: string[] | undefined;
2507
+ }>>;
2508
+ }, "strict", z.ZodTypeAny, {
2509
+ status: "success" | "partial" | "failed" | "pending_input";
2510
+ intent: string;
2511
+ summary: string;
2512
+ created?: {
2513
+ id: string;
2514
+ role: "Permission" | "Guard" | "Machine" | "Progress" | "Service" | "Order" | "Allocation" | "Arbitration" | "ArbCase" | "Messenger" | "Contact" | "Demand" | "Reward" | "Personal" | "Repository" | "Treasury" | "Discount" | "Other";
2515
+ name?: string | null | undefined;
2516
+ relation?: {
2517
+ parent?: string | null | undefined;
2518
+ relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
2519
+ } | undefined;
2520
+ immutable?: boolean | undefined;
2521
+ }[] | undefined;
2522
+ events?: {
2523
+ event_type: string;
2524
+ business_meaning: string;
2525
+ category: "permission" | "other" | "lifecycle" | "state_change" | "fund_flow" | "guard";
2526
+ related_object?: string | undefined;
2527
+ side_effect?: string | undefined;
2528
+ }[] | undefined;
2529
+ modified?: {
2530
+ id: string;
2531
+ role: "Permission" | "Guard" | "Machine" | "Progress" | "Service" | "Order" | "Allocation" | "Arbitration" | "ArbCase" | "Messenger" | "Contact" | "Demand" | "Reward" | "Personal" | "Repository" | "Treasury" | "Discount" | "Other";
2532
+ name?: string | null | undefined;
2533
+ relation?: {
2534
+ parent?: string | null | undefined;
2535
+ relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
2536
+ } | undefined;
2537
+ immutable?: boolean | undefined;
2538
+ }[] | undefined;
2539
+ released?: {
2540
+ coinType: string;
2541
+ amount: string;
2542
+ role: "payment" | "change" | "other" | "refund" | "compensation" | "reward" | "gas" | "deposit" | "release";
2543
+ from?: string | null | undefined;
2544
+ to?: string | null | undefined;
2545
+ }[] | undefined;
2546
+ next_actions?: {
2547
+ action: string;
2548
+ reason: string;
2549
+ priority: "required" | "recommended" | "optional";
2550
+ tool?: string | undefined;
2551
+ prerequisite?: string | undefined;
2552
+ }[] | undefined;
2553
+ warnings?: string[] | undefined;
2554
+ experience?: {
2555
+ advice?: string | undefined;
2556
+ avoid?: string[] | undefined;
2557
+ relevance?: number | undefined;
2558
+ matched_scenario?: string | undefined;
2559
+ } | undefined;
2560
+ service_status?: {
2561
+ active: string[];
2562
+ inactive?: string[] | undefined;
2563
+ } | undefined;
2564
+ customer_advice?: {
2565
+ recommendations: string[];
2566
+ reminders: {
2567
+ message: string;
2568
+ id: string;
2569
+ priority: "required" | "recommended" | "info" | "reminder";
2570
+ stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
2571
+ action?: string | undefined;
2572
+ }[];
2573
+ risk_score?: number | undefined;
2574
+ risk_level?: "low" | "medium_low" | "medium_high" | "high" | undefined;
2575
+ preference_match?: {
2576
+ score: number;
2577
+ matches: string[];
2578
+ mismatches: string[];
2579
+ } | undefined;
2580
+ } | undefined;
2581
+ evolution_context?: {
2582
+ confidence: number;
2583
+ role?: "user" | "merchant" | "arbitrator" | undefined;
2584
+ industry_signal?: string | undefined;
2585
+ evolution_advice?: string | undefined;
2586
+ health_score?: number | undefined;
2587
+ pending_suggestions?: number | undefined;
2588
+ intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
2589
+ role_advice?: string[] | undefined;
2590
+ } | undefined;
2591
+ }, {
2592
+ status: "success" | "partial" | "failed" | "pending_input";
2593
+ intent: string;
2594
+ summary: string;
2595
+ created?: {
2596
+ id: string;
2597
+ role: "Permission" | "Guard" | "Machine" | "Progress" | "Service" | "Order" | "Allocation" | "Arbitration" | "ArbCase" | "Messenger" | "Contact" | "Demand" | "Reward" | "Personal" | "Repository" | "Treasury" | "Discount" | "Other";
2598
+ name?: string | null | undefined;
2599
+ relation?: {
2600
+ parent?: string | null | undefined;
2601
+ relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
2602
+ } | undefined;
2603
+ immutable?: boolean | undefined;
2604
+ }[] | undefined;
2605
+ events?: {
2606
+ event_type: string;
2607
+ business_meaning: string;
2608
+ category: "permission" | "other" | "lifecycle" | "state_change" | "fund_flow" | "guard";
2609
+ related_object?: string | undefined;
2610
+ side_effect?: string | undefined;
2611
+ }[] | undefined;
2612
+ modified?: {
2613
+ id: string;
2614
+ role: "Permission" | "Guard" | "Machine" | "Progress" | "Service" | "Order" | "Allocation" | "Arbitration" | "ArbCase" | "Messenger" | "Contact" | "Demand" | "Reward" | "Personal" | "Repository" | "Treasury" | "Discount" | "Other";
2615
+ name?: string | null | undefined;
2616
+ relation?: {
2617
+ parent?: string | null | undefined;
2618
+ relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
2619
+ } | undefined;
2620
+ immutable?: boolean | undefined;
2621
+ }[] | undefined;
2622
+ released?: {
2623
+ coinType: string;
2624
+ amount: string;
2625
+ role: "payment" | "change" | "other" | "refund" | "compensation" | "reward" | "gas" | "deposit" | "release";
2626
+ from?: string | null | undefined;
2627
+ to?: string | null | undefined;
2628
+ }[] | undefined;
2629
+ next_actions?: {
2630
+ action: string;
2631
+ reason: string;
2632
+ priority: "required" | "recommended" | "optional";
2633
+ tool?: string | undefined;
2634
+ prerequisite?: string | undefined;
2635
+ }[] | undefined;
2636
+ warnings?: string[] | undefined;
2637
+ experience?: {
2638
+ advice?: string | undefined;
2639
+ avoid?: string[] | undefined;
2640
+ relevance?: number | undefined;
2641
+ matched_scenario?: string | undefined;
2642
+ } | undefined;
2643
+ service_status?: {
2644
+ active: string[];
2645
+ inactive?: string[] | undefined;
2646
+ } | undefined;
2647
+ customer_advice?: {
2648
+ recommendations: string[];
2649
+ reminders: {
2650
+ message: string;
2651
+ id: string;
2652
+ priority: "required" | "recommended" | "info" | "reminder";
2653
+ stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
2654
+ action?: string | undefined;
2655
+ }[];
2656
+ risk_score?: number | undefined;
2657
+ risk_level?: "low" | "medium_low" | "medium_high" | "high" | undefined;
2658
+ preference_match?: {
2659
+ score: number;
2660
+ matches: string[];
2661
+ mismatches: string[];
2662
+ } | undefined;
2663
+ } | undefined;
2664
+ evolution_context?: {
2665
+ confidence: number;
2666
+ role?: "user" | "merchant" | "arbitrator" | undefined;
2667
+ industry_signal?: string | undefined;
2668
+ evolution_advice?: string | undefined;
2669
+ health_score?: number | undefined;
2670
+ pending_suggestions?: number | undefined;
2671
+ intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
2672
+ role_advice?: string[] | undefined;
2673
+ } | undefined;
2674
+ }>>;
2192
2675
  }, "strip", z.ZodTypeAny, {
2193
2676
  result: {
2194
2677
  type: "data";
2195
- data?: any;
2678
+ data?: unknown;
2196
2679
  } | {
2197
2680
  type: "error";
2198
2681
  error: string;
2682
+ error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
2683
+ retryable?: boolean | undefined;
2684
+ recovery_hint?: string | undefined;
2199
2685
  };
2200
2686
  message?: string | undefined;
2687
+ semantic?: {
2688
+ status: "success" | "partial" | "failed" | "pending_input";
2689
+ intent: string;
2690
+ summary: string;
2691
+ created?: {
2692
+ id: string;
2693
+ role: "Permission" | "Guard" | "Machine" | "Progress" | "Service" | "Order" | "Allocation" | "Arbitration" | "ArbCase" | "Messenger" | "Contact" | "Demand" | "Reward" | "Personal" | "Repository" | "Treasury" | "Discount" | "Other";
2694
+ name?: string | null | undefined;
2695
+ relation?: {
2696
+ parent?: string | null | undefined;
2697
+ relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
2698
+ } | undefined;
2699
+ immutable?: boolean | undefined;
2700
+ }[] | undefined;
2701
+ events?: {
2702
+ event_type: string;
2703
+ business_meaning: string;
2704
+ category: "permission" | "other" | "lifecycle" | "state_change" | "fund_flow" | "guard";
2705
+ related_object?: string | undefined;
2706
+ side_effect?: string | undefined;
2707
+ }[] | undefined;
2708
+ modified?: {
2709
+ id: string;
2710
+ role: "Permission" | "Guard" | "Machine" | "Progress" | "Service" | "Order" | "Allocation" | "Arbitration" | "ArbCase" | "Messenger" | "Contact" | "Demand" | "Reward" | "Personal" | "Repository" | "Treasury" | "Discount" | "Other";
2711
+ name?: string | null | undefined;
2712
+ relation?: {
2713
+ parent?: string | null | undefined;
2714
+ relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
2715
+ } | undefined;
2716
+ immutable?: boolean | undefined;
2717
+ }[] | undefined;
2718
+ released?: {
2719
+ coinType: string;
2720
+ amount: string;
2721
+ role: "payment" | "change" | "other" | "refund" | "compensation" | "reward" | "gas" | "deposit" | "release";
2722
+ from?: string | null | undefined;
2723
+ to?: string | null | undefined;
2724
+ }[] | undefined;
2725
+ next_actions?: {
2726
+ action: string;
2727
+ reason: string;
2728
+ priority: "required" | "recommended" | "optional";
2729
+ tool?: string | undefined;
2730
+ prerequisite?: string | undefined;
2731
+ }[] | undefined;
2732
+ warnings?: string[] | undefined;
2733
+ experience?: {
2734
+ advice?: string | undefined;
2735
+ avoid?: string[] | undefined;
2736
+ relevance?: number | undefined;
2737
+ matched_scenario?: string | undefined;
2738
+ } | undefined;
2739
+ service_status?: {
2740
+ active: string[];
2741
+ inactive?: string[] | undefined;
2742
+ } | undefined;
2743
+ customer_advice?: {
2744
+ recommendations: string[];
2745
+ reminders: {
2746
+ message: string;
2747
+ id: string;
2748
+ priority: "required" | "recommended" | "info" | "reminder";
2749
+ stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
2750
+ action?: string | undefined;
2751
+ }[];
2752
+ risk_score?: number | undefined;
2753
+ risk_level?: "low" | "medium_low" | "medium_high" | "high" | undefined;
2754
+ preference_match?: {
2755
+ score: number;
2756
+ matches: string[];
2757
+ mismatches: string[];
2758
+ } | undefined;
2759
+ } | undefined;
2760
+ evolution_context?: {
2761
+ confidence: number;
2762
+ role?: "user" | "merchant" | "arbitrator" | undefined;
2763
+ industry_signal?: string | undefined;
2764
+ evolution_advice?: string | undefined;
2765
+ health_score?: number | undefined;
2766
+ pending_suggestions?: number | undefined;
2767
+ intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
2768
+ role_advice?: string[] | undefined;
2769
+ } | undefined;
2770
+ } | undefined;
2201
2771
  }, {
2202
2772
  result: {
2203
2773
  type: "data";
2204
- data?: any;
2774
+ data?: unknown;
2205
2775
  } | {
2206
2776
  type: "error";
2207
2777
  error: string;
2778
+ error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
2779
+ retryable?: boolean | undefined;
2780
+ recovery_hint?: string | undefined;
2208
2781
  };
2209
2782
  message?: string | undefined;
2783
+ semantic?: {
2784
+ status: "success" | "partial" | "failed" | "pending_input";
2785
+ intent: string;
2786
+ summary: string;
2787
+ created?: {
2788
+ id: string;
2789
+ role: "Permission" | "Guard" | "Machine" | "Progress" | "Service" | "Order" | "Allocation" | "Arbitration" | "ArbCase" | "Messenger" | "Contact" | "Demand" | "Reward" | "Personal" | "Repository" | "Treasury" | "Discount" | "Other";
2790
+ name?: string | null | undefined;
2791
+ relation?: {
2792
+ parent?: string | null | undefined;
2793
+ relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
2794
+ } | undefined;
2795
+ immutable?: boolean | undefined;
2796
+ }[] | undefined;
2797
+ events?: {
2798
+ event_type: string;
2799
+ business_meaning: string;
2800
+ category: "permission" | "other" | "lifecycle" | "state_change" | "fund_flow" | "guard";
2801
+ related_object?: string | undefined;
2802
+ side_effect?: string | undefined;
2803
+ }[] | undefined;
2804
+ modified?: {
2805
+ id: string;
2806
+ role: "Permission" | "Guard" | "Machine" | "Progress" | "Service" | "Order" | "Allocation" | "Arbitration" | "ArbCase" | "Messenger" | "Contact" | "Demand" | "Reward" | "Personal" | "Repository" | "Treasury" | "Discount" | "Other";
2807
+ name?: string | null | undefined;
2808
+ relation?: {
2809
+ parent?: string | null | undefined;
2810
+ relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
2811
+ } | undefined;
2812
+ immutable?: boolean | undefined;
2813
+ }[] | undefined;
2814
+ released?: {
2815
+ coinType: string;
2816
+ amount: string;
2817
+ role: "payment" | "change" | "other" | "refund" | "compensation" | "reward" | "gas" | "deposit" | "release";
2818
+ from?: string | null | undefined;
2819
+ to?: string | null | undefined;
2820
+ }[] | undefined;
2821
+ next_actions?: {
2822
+ action: string;
2823
+ reason: string;
2824
+ priority: "required" | "recommended" | "optional";
2825
+ tool?: string | undefined;
2826
+ prerequisite?: string | undefined;
2827
+ }[] | undefined;
2828
+ warnings?: string[] | undefined;
2829
+ experience?: {
2830
+ advice?: string | undefined;
2831
+ avoid?: string[] | undefined;
2832
+ relevance?: number | undefined;
2833
+ matched_scenario?: string | undefined;
2834
+ } | undefined;
2835
+ service_status?: {
2836
+ active: string[];
2837
+ inactive?: string[] | undefined;
2838
+ } | undefined;
2839
+ customer_advice?: {
2840
+ recommendations: string[];
2841
+ reminders: {
2842
+ message: string;
2843
+ id: string;
2844
+ priority: "required" | "recommended" | "info" | "reminder";
2845
+ stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
2846
+ action?: string | undefined;
2847
+ }[];
2848
+ risk_score?: number | undefined;
2849
+ risk_level?: "low" | "medium_low" | "medium_high" | "high" | undefined;
2850
+ preference_match?: {
2851
+ score: number;
2852
+ matches: string[];
2853
+ mismatches: string[];
2854
+ } | undefined;
2855
+ } | undefined;
2856
+ evolution_context?: {
2857
+ confidence: number;
2858
+ role?: "user" | "merchant" | "arbitrator" | undefined;
2859
+ industry_signal?: string | undefined;
2860
+ evolution_advice?: string | undefined;
2861
+ health_score?: number | undefined;
2862
+ pending_suggestions?: number | undefined;
2863
+ intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
2864
+ role_advice?: string[] | undefined;
2865
+ } | undefined;
2866
+ } | undefined;
2210
2867
  }>;
2211
2868
  export type BridgeOperations = z.infer<typeof BridgeOperationsSchema>;
2212
2869
  export type BridgeOutput = z.infer<typeof BridgeOutputSchema>;