@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
@@ -218,18 +218,27 @@ export declare const CallEnvSchema: z.ZodObject<{
218
218
  no_cache: z.ZodOptional<z.ZodBoolean>;
219
219
  network: z.ZodOptional<z.ZodEnum<[ENTRYPOINT.Localnet, ENTRYPOINT.Testnet, ENTRYPOINT.Mainnet]>>;
220
220
  referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
221
+ confirmed: z.ZodOptional<z.ZodBoolean>;
222
+ user_intent_phrases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
223
+ project: z.ZodOptional<z.ZodString>;
221
224
  }, "strict", z.ZodTypeAny, {
222
225
  account: string;
223
226
  no_cache?: boolean | undefined;
224
227
  network?: ENTRYPOINT | undefined;
225
228
  permission_guard?: string[] | undefined;
226
229
  referrer?: string | undefined;
230
+ confirmed?: boolean | undefined;
231
+ user_intent_phrases?: string[] | undefined;
232
+ project?: string | undefined;
227
233
  }, {
228
234
  no_cache?: boolean | undefined;
229
235
  network?: ENTRYPOINT | undefined;
230
236
  account?: string | undefined;
231
237
  permission_guard?: string[] | undefined;
232
238
  referrer?: string | undefined;
239
+ confirmed?: boolean | undefined;
240
+ user_intent_phrases?: string[] | undefined;
241
+ project?: string | undefined;
233
242
  }>;
234
243
  export declare const ObjectsOpSchema: z.ZodUnion<[z.ZodObject<{
235
244
  op: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"set">, z.ZodLiteral<"add">]>, z.ZodLiteral<"remove">]>;
@@ -552,6 +561,161 @@ export declare const EventSemanticSchema: z.ZodObject<{
552
561
  related_object?: string | undefined;
553
562
  side_effect?: string | undefined;
554
563
  }>;
564
+ export declare const ExperienceSchema: z.ZodObject<{
565
+ advice: z.ZodOptional<z.ZodString>;
566
+ avoid: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
567
+ relevance: z.ZodOptional<z.ZodNumber>;
568
+ matched_scenario: z.ZodOptional<z.ZodString>;
569
+ }, "strict", z.ZodTypeAny, {
570
+ advice?: string | undefined;
571
+ avoid?: string[] | undefined;
572
+ relevance?: number | undefined;
573
+ matched_scenario?: string | undefined;
574
+ }, {
575
+ advice?: string | undefined;
576
+ avoid?: string[] | undefined;
577
+ relevance?: number | undefined;
578
+ matched_scenario?: string | undefined;
579
+ }>;
580
+ export declare const ServiceStatusSchema: z.ZodObject<{
581
+ active: z.ZodArray<z.ZodString, "many">;
582
+ inactive: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
583
+ }, "strict", z.ZodTypeAny, {
584
+ active: string[];
585
+ inactive?: string[] | undefined;
586
+ }, {
587
+ active: string[];
588
+ inactive?: string[] | undefined;
589
+ }>;
590
+ export declare const CustomerReminderSchema: z.ZodObject<{
591
+ id: z.ZodString;
592
+ stage: z.ZodEnum<["browse", "evaluate", "preorder", "in_progress", "complete", "after_sale"]>;
593
+ priority: z.ZodEnum<["required", "recommended", "info", "reminder"]>;
594
+ message: z.ZodString;
595
+ action: z.ZodOptional<z.ZodString>;
596
+ }, "strict", z.ZodTypeAny, {
597
+ message: string;
598
+ id: string;
599
+ priority: "required" | "recommended" | "info" | "reminder";
600
+ stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
601
+ action?: string | undefined;
602
+ }, {
603
+ message: string;
604
+ id: string;
605
+ priority: "required" | "recommended" | "info" | "reminder";
606
+ stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
607
+ action?: string | undefined;
608
+ }>;
609
+ export declare const PreferenceMatchSchema: z.ZodObject<{
610
+ score: z.ZodNumber;
611
+ matches: z.ZodArray<z.ZodString, "many">;
612
+ mismatches: z.ZodArray<z.ZodString, "many">;
613
+ }, "strict", z.ZodTypeAny, {
614
+ score: number;
615
+ matches: string[];
616
+ mismatches: string[];
617
+ }, {
618
+ score: number;
619
+ matches: string[];
620
+ mismatches: string[];
621
+ }>;
622
+ export declare const CustomerAdviceSchema: z.ZodObject<{
623
+ risk_score: z.ZodOptional<z.ZodNumber>;
624
+ risk_level: z.ZodOptional<z.ZodEnum<["low", "medium_low", "medium_high", "high"]>>;
625
+ recommendations: z.ZodArray<z.ZodString, "many">;
626
+ reminders: z.ZodArray<z.ZodObject<{
627
+ id: z.ZodString;
628
+ stage: z.ZodEnum<["browse", "evaluate", "preorder", "in_progress", "complete", "after_sale"]>;
629
+ priority: z.ZodEnum<["required", "recommended", "info", "reminder"]>;
630
+ message: z.ZodString;
631
+ action: z.ZodOptional<z.ZodString>;
632
+ }, "strict", z.ZodTypeAny, {
633
+ message: string;
634
+ id: string;
635
+ priority: "required" | "recommended" | "info" | "reminder";
636
+ stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
637
+ action?: string | undefined;
638
+ }, {
639
+ message: string;
640
+ id: string;
641
+ priority: "required" | "recommended" | "info" | "reminder";
642
+ stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
643
+ action?: string | undefined;
644
+ }>, "many">;
645
+ preference_match: z.ZodOptional<z.ZodObject<{
646
+ score: z.ZodNumber;
647
+ matches: z.ZodArray<z.ZodString, "many">;
648
+ mismatches: z.ZodArray<z.ZodString, "many">;
649
+ }, "strict", z.ZodTypeAny, {
650
+ score: number;
651
+ matches: string[];
652
+ mismatches: string[];
653
+ }, {
654
+ score: number;
655
+ matches: string[];
656
+ mismatches: string[];
657
+ }>>;
658
+ }, "strict", z.ZodTypeAny, {
659
+ recommendations: string[];
660
+ reminders: {
661
+ message: string;
662
+ id: string;
663
+ priority: "required" | "recommended" | "info" | "reminder";
664
+ stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
665
+ action?: string | undefined;
666
+ }[];
667
+ risk_score?: number | undefined;
668
+ risk_level?: "low" | "medium_low" | "medium_high" | "high" | undefined;
669
+ preference_match?: {
670
+ score: number;
671
+ matches: string[];
672
+ mismatches: string[];
673
+ } | undefined;
674
+ }, {
675
+ recommendations: string[];
676
+ reminders: {
677
+ message: string;
678
+ id: string;
679
+ priority: "required" | "recommended" | "info" | "reminder";
680
+ stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
681
+ action?: string | undefined;
682
+ }[];
683
+ risk_score?: number | undefined;
684
+ risk_level?: "low" | "medium_low" | "medium_high" | "high" | undefined;
685
+ preference_match?: {
686
+ score: number;
687
+ matches: string[];
688
+ mismatches: string[];
689
+ } | undefined;
690
+ }>;
691
+ export declare const EvolutionContextSchema: z.ZodObject<{
692
+ industry_signal: z.ZodOptional<z.ZodString>;
693
+ evolution_advice: z.ZodOptional<z.ZodString>;
694
+ confidence: z.ZodNumber;
695
+ health_score: z.ZodOptional<z.ZodNumber>;
696
+ pending_suggestions: z.ZodOptional<z.ZodNumber>;
697
+ intent: z.ZodOptional<z.ZodEnum<["default", "growth", "retention", "compliance", "efficiency", "trust_building", "custom"]>>;
698
+ role_advice: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
699
+ role: z.ZodOptional<z.ZodEnum<["user", "merchant", "arbitrator"]>>;
700
+ }, "strict", z.ZodTypeAny, {
701
+ confidence: number;
702
+ role?: "user" | "merchant" | "arbitrator" | undefined;
703
+ industry_signal?: string | undefined;
704
+ evolution_advice?: string | undefined;
705
+ health_score?: number | undefined;
706
+ pending_suggestions?: number | undefined;
707
+ intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
708
+ role_advice?: string[] | undefined;
709
+ }, {
710
+ confidence: number;
711
+ role?: "user" | "merchant" | "arbitrator" | undefined;
712
+ industry_signal?: string | undefined;
713
+ evolution_advice?: string | undefined;
714
+ health_score?: number | undefined;
715
+ pending_suggestions?: number | undefined;
716
+ intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
717
+ role_advice?: string[] | undefined;
718
+ }>;
555
719
  export declare const SemanticSummarySchema: z.ZodObject<{
556
720
  intent: z.ZodString;
557
721
  status: z.ZodEnum<["success", "partial", "failed", "pending_input"]>;
@@ -682,6 +846,129 @@ export declare const SemanticSummarySchema: z.ZodObject<{
682
846
  prerequisite?: string | undefined;
683
847
  }>, "many">>;
684
848
  warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
849
+ experience: z.ZodOptional<z.ZodObject<{
850
+ advice: z.ZodOptional<z.ZodString>;
851
+ avoid: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
852
+ relevance: z.ZodOptional<z.ZodNumber>;
853
+ matched_scenario: z.ZodOptional<z.ZodString>;
854
+ }, "strict", z.ZodTypeAny, {
855
+ advice?: string | undefined;
856
+ avoid?: string[] | undefined;
857
+ relevance?: number | undefined;
858
+ matched_scenario?: string | undefined;
859
+ }, {
860
+ advice?: string | undefined;
861
+ avoid?: string[] | undefined;
862
+ relevance?: number | undefined;
863
+ matched_scenario?: string | undefined;
864
+ }>>;
865
+ service_status: z.ZodOptional<z.ZodObject<{
866
+ active: z.ZodArray<z.ZodString, "many">;
867
+ inactive: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
868
+ }, "strict", z.ZodTypeAny, {
869
+ active: string[];
870
+ inactive?: string[] | undefined;
871
+ }, {
872
+ active: string[];
873
+ inactive?: string[] | undefined;
874
+ }>>;
875
+ customer_advice: z.ZodOptional<z.ZodObject<{
876
+ risk_score: z.ZodOptional<z.ZodNumber>;
877
+ risk_level: z.ZodOptional<z.ZodEnum<["low", "medium_low", "medium_high", "high"]>>;
878
+ recommendations: z.ZodArray<z.ZodString, "many">;
879
+ reminders: z.ZodArray<z.ZodObject<{
880
+ id: z.ZodString;
881
+ stage: z.ZodEnum<["browse", "evaluate", "preorder", "in_progress", "complete", "after_sale"]>;
882
+ priority: z.ZodEnum<["required", "recommended", "info", "reminder"]>;
883
+ message: z.ZodString;
884
+ action: z.ZodOptional<z.ZodString>;
885
+ }, "strict", z.ZodTypeAny, {
886
+ message: string;
887
+ id: string;
888
+ priority: "required" | "recommended" | "info" | "reminder";
889
+ stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
890
+ action?: string | undefined;
891
+ }, {
892
+ message: string;
893
+ id: string;
894
+ priority: "required" | "recommended" | "info" | "reminder";
895
+ stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
896
+ action?: string | undefined;
897
+ }>, "many">;
898
+ preference_match: z.ZodOptional<z.ZodObject<{
899
+ score: z.ZodNumber;
900
+ matches: z.ZodArray<z.ZodString, "many">;
901
+ mismatches: z.ZodArray<z.ZodString, "many">;
902
+ }, "strict", z.ZodTypeAny, {
903
+ score: number;
904
+ matches: string[];
905
+ mismatches: string[];
906
+ }, {
907
+ score: number;
908
+ matches: string[];
909
+ mismatches: string[];
910
+ }>>;
911
+ }, "strict", z.ZodTypeAny, {
912
+ recommendations: string[];
913
+ reminders: {
914
+ message: string;
915
+ id: string;
916
+ priority: "required" | "recommended" | "info" | "reminder";
917
+ stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
918
+ action?: string | undefined;
919
+ }[];
920
+ risk_score?: number | undefined;
921
+ risk_level?: "low" | "medium_low" | "medium_high" | "high" | undefined;
922
+ preference_match?: {
923
+ score: number;
924
+ matches: string[];
925
+ mismatches: string[];
926
+ } | undefined;
927
+ }, {
928
+ recommendations: string[];
929
+ reminders: {
930
+ message: string;
931
+ id: string;
932
+ priority: "required" | "recommended" | "info" | "reminder";
933
+ stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
934
+ action?: string | undefined;
935
+ }[];
936
+ risk_score?: number | undefined;
937
+ risk_level?: "low" | "medium_low" | "medium_high" | "high" | undefined;
938
+ preference_match?: {
939
+ score: number;
940
+ matches: string[];
941
+ mismatches: string[];
942
+ } | undefined;
943
+ }>>;
944
+ evolution_context: z.ZodOptional<z.ZodObject<{
945
+ industry_signal: z.ZodOptional<z.ZodString>;
946
+ evolution_advice: z.ZodOptional<z.ZodString>;
947
+ confidence: z.ZodNumber;
948
+ health_score: z.ZodOptional<z.ZodNumber>;
949
+ pending_suggestions: z.ZodOptional<z.ZodNumber>;
950
+ intent: z.ZodOptional<z.ZodEnum<["default", "growth", "retention", "compliance", "efficiency", "trust_building", "custom"]>>;
951
+ role_advice: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
952
+ role: z.ZodOptional<z.ZodEnum<["user", "merchant", "arbitrator"]>>;
953
+ }, "strict", z.ZodTypeAny, {
954
+ confidence: number;
955
+ role?: "user" | "merchant" | "arbitrator" | undefined;
956
+ industry_signal?: string | undefined;
957
+ evolution_advice?: string | undefined;
958
+ health_score?: number | undefined;
959
+ pending_suggestions?: number | undefined;
960
+ intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
961
+ role_advice?: string[] | undefined;
962
+ }, {
963
+ confidence: number;
964
+ role?: "user" | "merchant" | "arbitrator" | undefined;
965
+ industry_signal?: string | undefined;
966
+ evolution_advice?: string | undefined;
967
+ health_score?: number | undefined;
968
+ pending_suggestions?: number | undefined;
969
+ intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
970
+ role_advice?: string[] | undefined;
971
+ }>>;
685
972
  }, "strict", z.ZodTypeAny, {
686
973
  status: "success" | "partial" | "failed" | "pending_input";
687
974
  intent: string;
@@ -728,6 +1015,43 @@ export declare const SemanticSummarySchema: z.ZodObject<{
728
1015
  prerequisite?: string | undefined;
729
1016
  }[] | undefined;
730
1017
  warnings?: string[] | undefined;
1018
+ experience?: {
1019
+ advice?: string | undefined;
1020
+ avoid?: string[] | undefined;
1021
+ relevance?: number | undefined;
1022
+ matched_scenario?: string | undefined;
1023
+ } | undefined;
1024
+ service_status?: {
1025
+ active: string[];
1026
+ inactive?: string[] | undefined;
1027
+ } | undefined;
1028
+ customer_advice?: {
1029
+ recommendations: string[];
1030
+ reminders: {
1031
+ message: string;
1032
+ id: string;
1033
+ priority: "required" | "recommended" | "info" | "reminder";
1034
+ stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
1035
+ action?: string | undefined;
1036
+ }[];
1037
+ risk_score?: number | undefined;
1038
+ risk_level?: "low" | "medium_low" | "medium_high" | "high" | undefined;
1039
+ preference_match?: {
1040
+ score: number;
1041
+ matches: string[];
1042
+ mismatches: string[];
1043
+ } | undefined;
1044
+ } | undefined;
1045
+ evolution_context?: {
1046
+ confidence: number;
1047
+ role?: "user" | "merchant" | "arbitrator" | undefined;
1048
+ industry_signal?: string | undefined;
1049
+ evolution_advice?: string | undefined;
1050
+ health_score?: number | undefined;
1051
+ pending_suggestions?: number | undefined;
1052
+ intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
1053
+ role_advice?: string[] | undefined;
1054
+ } | undefined;
731
1055
  }, {
732
1056
  status: "success" | "partial" | "failed" | "pending_input";
733
1057
  intent: string;
@@ -774,6 +1098,43 @@ export declare const SemanticSummarySchema: z.ZodObject<{
774
1098
  prerequisite?: string | undefined;
775
1099
  }[] | undefined;
776
1100
  warnings?: string[] | undefined;
1101
+ experience?: {
1102
+ advice?: string | undefined;
1103
+ avoid?: string[] | undefined;
1104
+ relevance?: number | undefined;
1105
+ matched_scenario?: string | undefined;
1106
+ } | undefined;
1107
+ service_status?: {
1108
+ active: string[];
1109
+ inactive?: string[] | undefined;
1110
+ } | undefined;
1111
+ customer_advice?: {
1112
+ recommendations: string[];
1113
+ reminders: {
1114
+ message: string;
1115
+ id: string;
1116
+ priority: "required" | "recommended" | "info" | "reminder";
1117
+ stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
1118
+ action?: string | undefined;
1119
+ }[];
1120
+ risk_score?: number | undefined;
1121
+ risk_level?: "low" | "medium_low" | "medium_high" | "high" | undefined;
1122
+ preference_match?: {
1123
+ score: number;
1124
+ matches: string[];
1125
+ mismatches: string[];
1126
+ } | undefined;
1127
+ } | undefined;
1128
+ evolution_context?: {
1129
+ confidence: number;
1130
+ role?: "user" | "merchant" | "arbitrator" | undefined;
1131
+ industry_signal?: string | undefined;
1132
+ evolution_advice?: string | undefined;
1133
+ health_score?: number | undefined;
1134
+ pending_suggestions?: number | undefined;
1135
+ intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
1136
+ role_advice?: string[] | undefined;
1137
+ } | undefined;
777
1138
  }>;
778
1139
  export declare const CallResponseErrorSchema: z.ZodObject<{
779
1140
  type: z.ZodLiteral<"error">;
@@ -786,16 +1147,170 @@ export declare const CallResponseErrorSchema: z.ZodObject<{
786
1147
  type: "error";
787
1148
  error: string;
788
1149
  error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
789
- related_object?: string | undefined;
790
1150
  retryable?: boolean | undefined;
791
1151
  recovery_hint?: string | undefined;
1152
+ related_object?: string | undefined;
792
1153
  }, {
793
1154
  type: "error";
794
1155
  error: string;
795
1156
  error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
796
- related_object?: string | undefined;
797
1157
  retryable?: boolean | undefined;
798
1158
  recovery_hint?: string | undefined;
1159
+ related_object?: string | undefined;
1160
+ }>;
1161
+ export declare const OperationPreviewSchema: z.ZodObject<{
1162
+ level: z.ZodEnum<["none", "standard", "amount", "publish", "irreversible"]>;
1163
+ operation: z.ZodString;
1164
+ object: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodNull]>>;
1165
+ network: z.ZodOptional<z.ZodString>;
1166
+ account: z.ZodOptional<z.ZodString>;
1167
+ amount: z.ZodOptional<z.ZodObject<{
1168
+ value: z.ZodString;
1169
+ token: z.ZodString;
1170
+ human_readable: z.ZodString;
1171
+ recipient: z.ZodOptional<z.ZodString>;
1172
+ }, "strip", z.ZodTypeAny, {
1173
+ value: string;
1174
+ token: string;
1175
+ human_readable: string;
1176
+ recipient?: string | undefined;
1177
+ }, {
1178
+ value: string;
1179
+ token: string;
1180
+ human_readable: string;
1181
+ recipient?: string | undefined;
1182
+ }>>;
1183
+ immutable_after: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1184
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1185
+ irreversible: z.ZodOptional<z.ZodBoolean>;
1186
+ }, "strict", z.ZodTypeAny, {
1187
+ level: "amount" | "none" | "standard" | "publish" | "irreversible";
1188
+ operation: string;
1189
+ object?: string | Record<string, any> | null | undefined;
1190
+ network?: string | undefined;
1191
+ account?: string | undefined;
1192
+ amount?: {
1193
+ value: string;
1194
+ token: string;
1195
+ human_readable: string;
1196
+ recipient?: string | undefined;
1197
+ } | undefined;
1198
+ warnings?: string[] | undefined;
1199
+ irreversible?: boolean | undefined;
1200
+ immutable_after?: string[] | undefined;
1201
+ }, {
1202
+ level: "amount" | "none" | "standard" | "publish" | "irreversible";
1203
+ operation: string;
1204
+ object?: string | Record<string, any> | null | undefined;
1205
+ network?: string | undefined;
1206
+ account?: string | undefined;
1207
+ amount?: {
1208
+ value: string;
1209
+ token: string;
1210
+ human_readable: string;
1211
+ recipient?: string | undefined;
1212
+ } | undefined;
1213
+ warnings?: string[] | undefined;
1214
+ irreversible?: boolean | undefined;
1215
+ immutable_after?: string[] | undefined;
1216
+ }>;
1217
+ export declare const CallPendingConfirmationSchema: z.ZodObject<{
1218
+ type: z.ZodLiteral<"pending_confirmation">;
1219
+ preview: z.ZodObject<{
1220
+ level: z.ZodEnum<["none", "standard", "amount", "publish", "irreversible"]>;
1221
+ operation: z.ZodString;
1222
+ object: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodNull]>>;
1223
+ network: z.ZodOptional<z.ZodString>;
1224
+ account: z.ZodOptional<z.ZodString>;
1225
+ amount: z.ZodOptional<z.ZodObject<{
1226
+ value: z.ZodString;
1227
+ token: z.ZodString;
1228
+ human_readable: z.ZodString;
1229
+ recipient: z.ZodOptional<z.ZodString>;
1230
+ }, "strip", z.ZodTypeAny, {
1231
+ value: string;
1232
+ token: string;
1233
+ human_readable: string;
1234
+ recipient?: string | undefined;
1235
+ }, {
1236
+ value: string;
1237
+ token: string;
1238
+ human_readable: string;
1239
+ recipient?: string | undefined;
1240
+ }>>;
1241
+ immutable_after: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1242
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1243
+ irreversible: z.ZodOptional<z.ZodBoolean>;
1244
+ }, "strict", z.ZodTypeAny, {
1245
+ level: "amount" | "none" | "standard" | "publish" | "irreversible";
1246
+ operation: string;
1247
+ object?: string | Record<string, any> | null | undefined;
1248
+ network?: string | undefined;
1249
+ account?: string | undefined;
1250
+ amount?: {
1251
+ value: string;
1252
+ token: string;
1253
+ human_readable: string;
1254
+ recipient?: string | undefined;
1255
+ } | undefined;
1256
+ warnings?: string[] | undefined;
1257
+ irreversible?: boolean | undefined;
1258
+ immutable_after?: string[] | undefined;
1259
+ }, {
1260
+ level: "amount" | "none" | "standard" | "publish" | "irreversible";
1261
+ operation: string;
1262
+ object?: string | Record<string, any> | null | undefined;
1263
+ network?: string | undefined;
1264
+ account?: string | undefined;
1265
+ amount?: {
1266
+ value: string;
1267
+ token: string;
1268
+ human_readable: string;
1269
+ recipient?: string | undefined;
1270
+ } | undefined;
1271
+ warnings?: string[] | undefined;
1272
+ irreversible?: boolean | undefined;
1273
+ immutable_after?: string[] | undefined;
1274
+ }>;
1275
+ rule_id: z.ZodOptional<z.ZodString>;
1276
+ }, "strip", z.ZodTypeAny, {
1277
+ type: "pending_confirmation";
1278
+ preview: {
1279
+ level: "amount" | "none" | "standard" | "publish" | "irreversible";
1280
+ operation: string;
1281
+ object?: string | Record<string, any> | null | undefined;
1282
+ network?: string | undefined;
1283
+ account?: string | undefined;
1284
+ amount?: {
1285
+ value: string;
1286
+ token: string;
1287
+ human_readable: string;
1288
+ recipient?: string | undefined;
1289
+ } | undefined;
1290
+ warnings?: string[] | undefined;
1291
+ irreversible?: boolean | undefined;
1292
+ immutable_after?: string[] | undefined;
1293
+ };
1294
+ rule_id?: string | undefined;
1295
+ }, {
1296
+ type: "pending_confirmation";
1297
+ preview: {
1298
+ level: "amount" | "none" | "standard" | "publish" | "irreversible";
1299
+ operation: string;
1300
+ object?: string | Record<string, any> | null | undefined;
1301
+ network?: string | undefined;
1302
+ account?: string | undefined;
1303
+ amount?: {
1304
+ value: string;
1305
+ token: string;
1306
+ human_readable: string;
1307
+ recipient?: string | undefined;
1308
+ } | undefined;
1309
+ warnings?: string[] | undefined;
1310
+ irreversible?: boolean | undefined;
1311
+ immutable_after?: string[] | undefined;
1312
+ };
1313
+ rule_id?: string | undefined;
799
1314
  }>;
800
1315
  export declare const GuardSubmissionToFillSchema: z.ZodObject<{
801
1316
  guard: z.ZodEffects<z.ZodString, string, string>;
@@ -2293,7 +2808,7 @@ export declare const CallResultSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
2293
2808
  txDigest: string;
2294
2809
  }>;
2295
2810
  packageId: z.ZodString;
2296
- parsedJson: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
2811
+ parsedJson: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2297
2812
  sender: z.ZodString;
2298
2813
  timestampMs: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
2299
2814
  transactionModule: z.ZodString;
@@ -2308,7 +2823,7 @@ export declare const CallResultSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
2308
2823
  };
2309
2824
  bcsEncoding: "base64";
2310
2825
  packageId: string;
2311
- parsedJson: Record<string, string | number | boolean | null>;
2826
+ parsedJson: Record<string, unknown>;
2312
2827
  sender: string;
2313
2828
  transactionModule: string;
2314
2829
  bcs: string;
@@ -2321,7 +2836,7 @@ export declare const CallResultSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
2321
2836
  };
2322
2837
  bcsEncoding: "base64";
2323
2838
  packageId: string;
2324
- parsedJson: Record<string, string | number | boolean | null>;
2839
+ parsedJson: Record<string, unknown>;
2325
2840
  sender: string;
2326
2841
  transactionModule: string;
2327
2842
  bcs: string;
@@ -2338,7 +2853,7 @@ export declare const CallResultSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
2338
2853
  txDigest: string;
2339
2854
  }>;
2340
2855
  packageId: z.ZodString;
2341
- parsedJson: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
2856
+ parsedJson: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2342
2857
  sender: z.ZodString;
2343
2858
  timestampMs: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
2344
2859
  transactionModule: z.ZodString;
@@ -2353,7 +2868,7 @@ export declare const CallResultSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
2353
2868
  };
2354
2869
  bcsEncoding: "base58";
2355
2870
  packageId: string;
2356
- parsedJson: Record<string, string | number | boolean | null>;
2871
+ parsedJson: Record<string, unknown>;
2357
2872
  sender: string;
2358
2873
  transactionModule: string;
2359
2874
  bcs: string;
@@ -2366,7 +2881,7 @@ export declare const CallResultSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
2366
2881
  };
2367
2882
  bcsEncoding: "base58";
2368
2883
  packageId: string;
2369
- parsedJson: Record<string, string | number | boolean | null>;
2884
+ parsedJson: Record<string, unknown>;
2370
2885
  sender: string;
2371
2886
  transactionModule: string;
2372
2887
  bcs: string;
@@ -3046,7 +3561,7 @@ export declare const CallResultSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
3046
3561
  };
3047
3562
  bcsEncoding: "base64";
3048
3563
  packageId: string;
3049
- parsedJson: Record<string, string | number | boolean | null>;
3564
+ parsedJson: Record<string, unknown>;
3050
3565
  sender: string;
3051
3566
  transactionModule: string;
3052
3567
  bcs: string;
@@ -3059,7 +3574,7 @@ export declare const CallResultSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
3059
3574
  };
3060
3575
  bcsEncoding: "base58";
3061
3576
  packageId: string;
3062
- parsedJson: Record<string, string | number | boolean | null>;
3577
+ parsedJson: Record<string, unknown>;
3063
3578
  sender: string;
3064
3579
  transactionModule: string;
3065
3580
  bcs: string;
@@ -3336,7 +3851,7 @@ export declare const CallResultSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
3336
3851
  };
3337
3852
  bcsEncoding: "base64";
3338
3853
  packageId: string;
3339
- parsedJson: Record<string, string | number | boolean | null>;
3854
+ parsedJson: Record<string, unknown>;
3340
3855
  sender: string;
3341
3856
  transactionModule: string;
3342
3857
  bcs: string;
@@ -3349,7 +3864,7 @@ export declare const CallResultSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
3349
3864
  };
3350
3865
  bcsEncoding: "base58";
3351
3866
  packageId: string;
3352
- parsedJson: Record<string, string | number | boolean | null>;
3867
+ parsedJson: Record<string, unknown>;
3353
3868
  sender: string;
3354
3869
  transactionModule: string;
3355
3870
  bcs: string;
@@ -3451,16 +3966,16 @@ export declare const CallResultSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
3451
3966
  type: "error";
3452
3967
  error: string;
3453
3968
  error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
3454
- related_object?: string | undefined;
3455
3969
  retryable?: boolean | undefined;
3456
3970
  recovery_hint?: string | undefined;
3971
+ related_object?: string | undefined;
3457
3972
  }, {
3458
3973
  type: "error";
3459
3974
  error: string;
3460
3975
  error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
3461
- related_object?: string | undefined;
3462
3976
  retryable?: boolean | undefined;
3463
3977
  recovery_hint?: string | undefined;
3978
+ related_object?: string | undefined;
3464
3979
  }>, z.ZodObject<{
3465
3980
  type: z.ZodLiteral<"data">;
3466
3981
  data: z.ZodArray<z.ZodObject<{
@@ -3831,6 +4346,103 @@ export declare const CallResultSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
3831
4346
  type: "null";
3832
4347
  }, {
3833
4348
  type: "null";
4349
+ }>, z.ZodObject<{
4350
+ type: z.ZodLiteral<"pending_confirmation">;
4351
+ preview: z.ZodObject<{
4352
+ level: z.ZodEnum<["none", "standard", "amount", "publish", "irreversible"]>;
4353
+ operation: z.ZodString;
4354
+ object: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodNull]>>;
4355
+ network: z.ZodOptional<z.ZodString>;
4356
+ account: z.ZodOptional<z.ZodString>;
4357
+ amount: z.ZodOptional<z.ZodObject<{
4358
+ value: z.ZodString;
4359
+ token: z.ZodString;
4360
+ human_readable: z.ZodString;
4361
+ recipient: z.ZodOptional<z.ZodString>;
4362
+ }, "strip", z.ZodTypeAny, {
4363
+ value: string;
4364
+ token: string;
4365
+ human_readable: string;
4366
+ recipient?: string | undefined;
4367
+ }, {
4368
+ value: string;
4369
+ token: string;
4370
+ human_readable: string;
4371
+ recipient?: string | undefined;
4372
+ }>>;
4373
+ immutable_after: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4374
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4375
+ irreversible: z.ZodOptional<z.ZodBoolean>;
4376
+ }, "strict", z.ZodTypeAny, {
4377
+ level: "amount" | "none" | "standard" | "publish" | "irreversible";
4378
+ operation: string;
4379
+ object?: string | Record<string, any> | null | undefined;
4380
+ network?: string | undefined;
4381
+ account?: string | undefined;
4382
+ amount?: {
4383
+ value: string;
4384
+ token: string;
4385
+ human_readable: string;
4386
+ recipient?: string | undefined;
4387
+ } | undefined;
4388
+ warnings?: string[] | undefined;
4389
+ irreversible?: boolean | undefined;
4390
+ immutable_after?: string[] | undefined;
4391
+ }, {
4392
+ level: "amount" | "none" | "standard" | "publish" | "irreversible";
4393
+ operation: string;
4394
+ object?: string | Record<string, any> | null | undefined;
4395
+ network?: string | undefined;
4396
+ account?: string | undefined;
4397
+ amount?: {
4398
+ value: string;
4399
+ token: string;
4400
+ human_readable: string;
4401
+ recipient?: string | undefined;
4402
+ } | undefined;
4403
+ warnings?: string[] | undefined;
4404
+ irreversible?: boolean | undefined;
4405
+ immutable_after?: string[] | undefined;
4406
+ }>;
4407
+ rule_id: z.ZodOptional<z.ZodString>;
4408
+ }, "strip", z.ZodTypeAny, {
4409
+ type: "pending_confirmation";
4410
+ preview: {
4411
+ level: "amount" | "none" | "standard" | "publish" | "irreversible";
4412
+ operation: string;
4413
+ object?: string | Record<string, any> | null | undefined;
4414
+ network?: string | undefined;
4415
+ account?: string | undefined;
4416
+ amount?: {
4417
+ value: string;
4418
+ token: string;
4419
+ human_readable: string;
4420
+ recipient?: string | undefined;
4421
+ } | undefined;
4422
+ warnings?: string[] | undefined;
4423
+ irreversible?: boolean | undefined;
4424
+ immutable_after?: string[] | undefined;
4425
+ };
4426
+ rule_id?: string | undefined;
4427
+ }, {
4428
+ type: "pending_confirmation";
4429
+ preview: {
4430
+ level: "amount" | "none" | "standard" | "publish" | "irreversible";
4431
+ operation: string;
4432
+ object?: string | Record<string, any> | null | undefined;
4433
+ network?: string | undefined;
4434
+ account?: string | undefined;
4435
+ amount?: {
4436
+ value: string;
4437
+ token: string;
4438
+ human_readable: string;
4439
+ recipient?: string | undefined;
4440
+ } | undefined;
4441
+ warnings?: string[] | undefined;
4442
+ irreversible?: boolean | undefined;
4443
+ immutable_after?: string[] | undefined;
4444
+ };
4445
+ rule_id?: string | undefined;
3834
4446
  }>]>;
3835
4447
  export declare const ObjectsSchema: z.ZodUnion<[z.ZodObject<{
3836
4448
  op: z.ZodUnion<[z.ZodLiteral<"add">, z.ZodLiteral<"set">]>;
@@ -3901,7 +4513,6 @@ export declare const VerifyReportSchema: z.ZodObject<{
3901
4513
  timestamp: z.ZodString;
3902
4514
  }, "strip", z.ZodTypeAny, {
3903
4515
  status: "pass" | "warn" | "fail";
3904
- summary: string;
3905
4516
  mismatches: {
3906
4517
  expected: string;
3907
4518
  dimension: "created" | "modified" | "released" | "state" | "event";
@@ -3909,10 +4520,10 @@ export declare const VerifyReportSchema: z.ZodObject<{
3909
4520
  severity: "pass" | "warn" | "fail";
3910
4521
  detail: string;
3911
4522
  }[];
4523
+ summary: string;
3912
4524
  timestamp: string;
3913
4525
  }, {
3914
4526
  status: "pass" | "warn" | "fail";
3915
- summary: string;
3916
4527
  mismatches: {
3917
4528
  expected: string;
3918
4529
  dimension: "created" | "modified" | "released" | "state" | "event";
@@ -3920,6 +4531,7 @@ export declare const VerifyReportSchema: z.ZodObject<{
3920
4531
  severity: "pass" | "warn" | "fail";
3921
4532
  detail: string;
3922
4533
  }[];
4534
+ summary: string;
3923
4535
  timestamp: string;
3924
4536
  }>;
3925
4537
  export declare const RecoveryActionSchema: z.ZodObject<{
@@ -3973,7 +4585,6 @@ export declare const HarnessReportSchema: z.ZodObject<{
3973
4585
  timestamp: z.ZodString;
3974
4586
  }, "strip", z.ZodTypeAny, {
3975
4587
  status: "pass" | "warn" | "fail";
3976
- summary: string;
3977
4588
  mismatches: {
3978
4589
  expected: string;
3979
4590
  dimension: "created" | "modified" | "released" | "state" | "event";
@@ -3981,10 +4592,10 @@ export declare const HarnessReportSchema: z.ZodObject<{
3981
4592
  severity: "pass" | "warn" | "fail";
3982
4593
  detail: string;
3983
4594
  }[];
4595
+ summary: string;
3984
4596
  timestamp: string;
3985
4597
  }, {
3986
4598
  status: "pass" | "warn" | "fail";
3987
- summary: string;
3988
4599
  mismatches: {
3989
4600
  expected: string;
3990
4601
  dimension: "created" | "modified" | "released" | "state" | "event";
@@ -3992,6 +4603,7 @@ export declare const HarnessReportSchema: z.ZodObject<{
3992
4603
  severity: "pass" | "warn" | "fail";
3993
4604
  detail: string;
3994
4605
  }[];
4606
+ summary: string;
3995
4607
  timestamp: string;
3996
4608
  }>;
3997
4609
  recovery: z.ZodOptional<z.ZodObject<{
@@ -4022,7 +4634,6 @@ export declare const HarnessReportSchema: z.ZodObject<{
4022
4634
  }, "strip", z.ZodTypeAny, {
4023
4635
  verify: {
4024
4636
  status: "pass" | "warn" | "fail";
4025
- summary: string;
4026
4637
  mismatches: {
4027
4638
  expected: string;
4028
4639
  dimension: "created" | "modified" | "released" | "state" | "event";
@@ -4030,6 +4641,7 @@ export declare const HarnessReportSchema: z.ZodObject<{
4030
4641
  severity: "pass" | "warn" | "fail";
4031
4642
  detail: string;
4032
4643
  }[];
4644
+ summary: string;
4033
4645
  timestamp: string;
4034
4646
  };
4035
4647
  recovery?: {
@@ -4044,7 +4656,6 @@ export declare const HarnessReportSchema: z.ZodObject<{
4044
4656
  }, {
4045
4657
  verify: {
4046
4658
  status: "pass" | "warn" | "fail";
4047
- summary: string;
4048
4659
  mismatches: {
4049
4660
  expected: string;
4050
4661
  dimension: "created" | "modified" | "released" | "state" | "event";
@@ -4052,6 +4663,7 @@ export declare const HarnessReportSchema: z.ZodObject<{
4052
4663
  severity: "pass" | "warn" | "fail";
4053
4664
  detail: string;
4054
4665
  }[];
4666
+ summary: string;
4055
4667
  timestamp: string;
4056
4668
  };
4057
4669
  recovery?: {
@@ -5140,7 +5752,7 @@ export declare const CallOutputSchema: z.ZodObject<{
5140
5752
  txDigest: string;
5141
5753
  }>;
5142
5754
  packageId: z.ZodString;
5143
- parsedJson: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
5755
+ parsedJson: z.ZodRecord<z.ZodString, z.ZodUnknown>;
5144
5756
  sender: z.ZodString;
5145
5757
  timestampMs: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
5146
5758
  transactionModule: z.ZodString;
@@ -5155,7 +5767,7 @@ export declare const CallOutputSchema: z.ZodObject<{
5155
5767
  };
5156
5768
  bcsEncoding: "base64";
5157
5769
  packageId: string;
5158
- parsedJson: Record<string, string | number | boolean | null>;
5770
+ parsedJson: Record<string, unknown>;
5159
5771
  sender: string;
5160
5772
  transactionModule: string;
5161
5773
  bcs: string;
@@ -5168,7 +5780,7 @@ export declare const CallOutputSchema: z.ZodObject<{
5168
5780
  };
5169
5781
  bcsEncoding: "base64";
5170
5782
  packageId: string;
5171
- parsedJson: Record<string, string | number | boolean | null>;
5783
+ parsedJson: Record<string, unknown>;
5172
5784
  sender: string;
5173
5785
  transactionModule: string;
5174
5786
  bcs: string;
@@ -5185,7 +5797,7 @@ export declare const CallOutputSchema: z.ZodObject<{
5185
5797
  txDigest: string;
5186
5798
  }>;
5187
5799
  packageId: z.ZodString;
5188
- parsedJson: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
5800
+ parsedJson: z.ZodRecord<z.ZodString, z.ZodUnknown>;
5189
5801
  sender: z.ZodString;
5190
5802
  timestampMs: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
5191
5803
  transactionModule: z.ZodString;
@@ -5200,7 +5812,7 @@ export declare const CallOutputSchema: z.ZodObject<{
5200
5812
  };
5201
5813
  bcsEncoding: "base58";
5202
5814
  packageId: string;
5203
- parsedJson: Record<string, string | number | boolean | null>;
5815
+ parsedJson: Record<string, unknown>;
5204
5816
  sender: string;
5205
5817
  transactionModule: string;
5206
5818
  bcs: string;
@@ -5213,7 +5825,7 @@ export declare const CallOutputSchema: z.ZodObject<{
5213
5825
  };
5214
5826
  bcsEncoding: "base58";
5215
5827
  packageId: string;
5216
- parsedJson: Record<string, string | number | boolean | null>;
5828
+ parsedJson: Record<string, unknown>;
5217
5829
  sender: string;
5218
5830
  transactionModule: string;
5219
5831
  bcs: string;
@@ -5893,7 +6505,7 @@ export declare const CallOutputSchema: z.ZodObject<{
5893
6505
  };
5894
6506
  bcsEncoding: "base64";
5895
6507
  packageId: string;
5896
- parsedJson: Record<string, string | number | boolean | null>;
6508
+ parsedJson: Record<string, unknown>;
5897
6509
  sender: string;
5898
6510
  transactionModule: string;
5899
6511
  bcs: string;
@@ -5906,7 +6518,7 @@ export declare const CallOutputSchema: z.ZodObject<{
5906
6518
  };
5907
6519
  bcsEncoding: "base58";
5908
6520
  packageId: string;
5909
- parsedJson: Record<string, string | number | boolean | null>;
6521
+ parsedJson: Record<string, unknown>;
5910
6522
  sender: string;
5911
6523
  transactionModule: string;
5912
6524
  bcs: string;
@@ -6183,7 +6795,7 @@ export declare const CallOutputSchema: z.ZodObject<{
6183
6795
  };
6184
6796
  bcsEncoding: "base64";
6185
6797
  packageId: string;
6186
- parsedJson: Record<string, string | number | boolean | null>;
6798
+ parsedJson: Record<string, unknown>;
6187
6799
  sender: string;
6188
6800
  transactionModule: string;
6189
6801
  bcs: string;
@@ -6196,7 +6808,7 @@ export declare const CallOutputSchema: z.ZodObject<{
6196
6808
  };
6197
6809
  bcsEncoding: "base58";
6198
6810
  packageId: string;
6199
- parsedJson: Record<string, string | number | boolean | null>;
6811
+ parsedJson: Record<string, unknown>;
6200
6812
  sender: string;
6201
6813
  transactionModule: string;
6202
6814
  bcs: string;
@@ -6298,16 +6910,16 @@ export declare const CallOutputSchema: z.ZodObject<{
6298
6910
  type: "error";
6299
6911
  error: string;
6300
6912
  error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
6301
- related_object?: string | undefined;
6302
6913
  retryable?: boolean | undefined;
6303
6914
  recovery_hint?: string | undefined;
6915
+ related_object?: string | undefined;
6304
6916
  }, {
6305
6917
  type: "error";
6306
6918
  error: string;
6307
6919
  error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
6308
- related_object?: string | undefined;
6309
6920
  retryable?: boolean | undefined;
6310
6921
  recovery_hint?: string | undefined;
6922
+ related_object?: string | undefined;
6311
6923
  }>, z.ZodObject<{
6312
6924
  type: z.ZodLiteral<"data">;
6313
6925
  data: z.ZodArray<z.ZodObject<{
@@ -6678,6 +7290,103 @@ export declare const CallOutputSchema: z.ZodObject<{
6678
7290
  type: "null";
6679
7291
  }, {
6680
7292
  type: "null";
7293
+ }>, z.ZodObject<{
7294
+ type: z.ZodLiteral<"pending_confirmation">;
7295
+ preview: z.ZodObject<{
7296
+ level: z.ZodEnum<["none", "standard", "amount", "publish", "irreversible"]>;
7297
+ operation: z.ZodString;
7298
+ object: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodNull]>>;
7299
+ network: z.ZodOptional<z.ZodString>;
7300
+ account: z.ZodOptional<z.ZodString>;
7301
+ amount: z.ZodOptional<z.ZodObject<{
7302
+ value: z.ZodString;
7303
+ token: z.ZodString;
7304
+ human_readable: z.ZodString;
7305
+ recipient: z.ZodOptional<z.ZodString>;
7306
+ }, "strip", z.ZodTypeAny, {
7307
+ value: string;
7308
+ token: string;
7309
+ human_readable: string;
7310
+ recipient?: string | undefined;
7311
+ }, {
7312
+ value: string;
7313
+ token: string;
7314
+ human_readable: string;
7315
+ recipient?: string | undefined;
7316
+ }>>;
7317
+ immutable_after: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7318
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7319
+ irreversible: z.ZodOptional<z.ZodBoolean>;
7320
+ }, "strict", z.ZodTypeAny, {
7321
+ level: "amount" | "none" | "standard" | "publish" | "irreversible";
7322
+ operation: string;
7323
+ object?: string | Record<string, any> | null | undefined;
7324
+ network?: string | undefined;
7325
+ account?: string | undefined;
7326
+ amount?: {
7327
+ value: string;
7328
+ token: string;
7329
+ human_readable: string;
7330
+ recipient?: string | undefined;
7331
+ } | undefined;
7332
+ warnings?: string[] | undefined;
7333
+ irreversible?: boolean | undefined;
7334
+ immutable_after?: string[] | undefined;
7335
+ }, {
7336
+ level: "amount" | "none" | "standard" | "publish" | "irreversible";
7337
+ operation: string;
7338
+ object?: string | Record<string, any> | null | undefined;
7339
+ network?: string | undefined;
7340
+ account?: string | undefined;
7341
+ amount?: {
7342
+ value: string;
7343
+ token: string;
7344
+ human_readable: string;
7345
+ recipient?: string | undefined;
7346
+ } | undefined;
7347
+ warnings?: string[] | undefined;
7348
+ irreversible?: boolean | undefined;
7349
+ immutable_after?: string[] | undefined;
7350
+ }>;
7351
+ rule_id: z.ZodOptional<z.ZodString>;
7352
+ }, "strip", z.ZodTypeAny, {
7353
+ type: "pending_confirmation";
7354
+ preview: {
7355
+ level: "amount" | "none" | "standard" | "publish" | "irreversible";
7356
+ operation: string;
7357
+ object?: string | Record<string, any> | null | undefined;
7358
+ network?: string | undefined;
7359
+ account?: string | undefined;
7360
+ amount?: {
7361
+ value: string;
7362
+ token: string;
7363
+ human_readable: string;
7364
+ recipient?: string | undefined;
7365
+ } | undefined;
7366
+ warnings?: string[] | undefined;
7367
+ irreversible?: boolean | undefined;
7368
+ immutable_after?: string[] | undefined;
7369
+ };
7370
+ rule_id?: string | undefined;
7371
+ }, {
7372
+ type: "pending_confirmation";
7373
+ preview: {
7374
+ level: "amount" | "none" | "standard" | "publish" | "irreversible";
7375
+ operation: string;
7376
+ object?: string | Record<string, any> | null | undefined;
7377
+ network?: string | undefined;
7378
+ account?: string | undefined;
7379
+ amount?: {
7380
+ value: string;
7381
+ token: string;
7382
+ human_readable: string;
7383
+ recipient?: string | undefined;
7384
+ } | undefined;
7385
+ warnings?: string[] | undefined;
7386
+ irreversible?: boolean | undefined;
7387
+ immutable_after?: string[] | undefined;
7388
+ };
7389
+ rule_id?: string | undefined;
6681
7390
  }>]>;
6682
7391
  message: z.ZodOptional<z.ZodString>;
6683
7392
  semantic: z.ZodOptional<z.ZodObject<{
@@ -6810,6 +7519,129 @@ export declare const CallOutputSchema: z.ZodObject<{
6810
7519
  prerequisite?: string | undefined;
6811
7520
  }>, "many">>;
6812
7521
  warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7522
+ experience: z.ZodOptional<z.ZodObject<{
7523
+ advice: z.ZodOptional<z.ZodString>;
7524
+ avoid: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7525
+ relevance: z.ZodOptional<z.ZodNumber>;
7526
+ matched_scenario: z.ZodOptional<z.ZodString>;
7527
+ }, "strict", z.ZodTypeAny, {
7528
+ advice?: string | undefined;
7529
+ avoid?: string[] | undefined;
7530
+ relevance?: number | undefined;
7531
+ matched_scenario?: string | undefined;
7532
+ }, {
7533
+ advice?: string | undefined;
7534
+ avoid?: string[] | undefined;
7535
+ relevance?: number | undefined;
7536
+ matched_scenario?: string | undefined;
7537
+ }>>;
7538
+ service_status: z.ZodOptional<z.ZodObject<{
7539
+ active: z.ZodArray<z.ZodString, "many">;
7540
+ inactive: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7541
+ }, "strict", z.ZodTypeAny, {
7542
+ active: string[];
7543
+ inactive?: string[] | undefined;
7544
+ }, {
7545
+ active: string[];
7546
+ inactive?: string[] | undefined;
7547
+ }>>;
7548
+ customer_advice: z.ZodOptional<z.ZodObject<{
7549
+ risk_score: z.ZodOptional<z.ZodNumber>;
7550
+ risk_level: z.ZodOptional<z.ZodEnum<["low", "medium_low", "medium_high", "high"]>>;
7551
+ recommendations: z.ZodArray<z.ZodString, "many">;
7552
+ reminders: z.ZodArray<z.ZodObject<{
7553
+ id: z.ZodString;
7554
+ stage: z.ZodEnum<["browse", "evaluate", "preorder", "in_progress", "complete", "after_sale"]>;
7555
+ priority: z.ZodEnum<["required", "recommended", "info", "reminder"]>;
7556
+ message: z.ZodString;
7557
+ action: z.ZodOptional<z.ZodString>;
7558
+ }, "strict", z.ZodTypeAny, {
7559
+ message: string;
7560
+ id: string;
7561
+ priority: "required" | "recommended" | "info" | "reminder";
7562
+ stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
7563
+ action?: string | undefined;
7564
+ }, {
7565
+ message: string;
7566
+ id: string;
7567
+ priority: "required" | "recommended" | "info" | "reminder";
7568
+ stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
7569
+ action?: string | undefined;
7570
+ }>, "many">;
7571
+ preference_match: z.ZodOptional<z.ZodObject<{
7572
+ score: z.ZodNumber;
7573
+ matches: z.ZodArray<z.ZodString, "many">;
7574
+ mismatches: z.ZodArray<z.ZodString, "many">;
7575
+ }, "strict", z.ZodTypeAny, {
7576
+ score: number;
7577
+ matches: string[];
7578
+ mismatches: string[];
7579
+ }, {
7580
+ score: number;
7581
+ matches: string[];
7582
+ mismatches: string[];
7583
+ }>>;
7584
+ }, "strict", z.ZodTypeAny, {
7585
+ recommendations: string[];
7586
+ reminders: {
7587
+ message: string;
7588
+ id: string;
7589
+ priority: "required" | "recommended" | "info" | "reminder";
7590
+ stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
7591
+ action?: string | undefined;
7592
+ }[];
7593
+ risk_score?: number | undefined;
7594
+ risk_level?: "low" | "medium_low" | "medium_high" | "high" | undefined;
7595
+ preference_match?: {
7596
+ score: number;
7597
+ matches: string[];
7598
+ mismatches: string[];
7599
+ } | undefined;
7600
+ }, {
7601
+ recommendations: string[];
7602
+ reminders: {
7603
+ message: string;
7604
+ id: string;
7605
+ priority: "required" | "recommended" | "info" | "reminder";
7606
+ stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
7607
+ action?: string | undefined;
7608
+ }[];
7609
+ risk_score?: number | undefined;
7610
+ risk_level?: "low" | "medium_low" | "medium_high" | "high" | undefined;
7611
+ preference_match?: {
7612
+ score: number;
7613
+ matches: string[];
7614
+ mismatches: string[];
7615
+ } | undefined;
7616
+ }>>;
7617
+ evolution_context: z.ZodOptional<z.ZodObject<{
7618
+ industry_signal: z.ZodOptional<z.ZodString>;
7619
+ evolution_advice: z.ZodOptional<z.ZodString>;
7620
+ confidence: z.ZodNumber;
7621
+ health_score: z.ZodOptional<z.ZodNumber>;
7622
+ pending_suggestions: z.ZodOptional<z.ZodNumber>;
7623
+ intent: z.ZodOptional<z.ZodEnum<["default", "growth", "retention", "compliance", "efficiency", "trust_building", "custom"]>>;
7624
+ role_advice: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7625
+ role: z.ZodOptional<z.ZodEnum<["user", "merchant", "arbitrator"]>>;
7626
+ }, "strict", z.ZodTypeAny, {
7627
+ confidence: number;
7628
+ role?: "user" | "merchant" | "arbitrator" | undefined;
7629
+ industry_signal?: string | undefined;
7630
+ evolution_advice?: string | undefined;
7631
+ health_score?: number | undefined;
7632
+ pending_suggestions?: number | undefined;
7633
+ intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
7634
+ role_advice?: string[] | undefined;
7635
+ }, {
7636
+ confidence: number;
7637
+ role?: "user" | "merchant" | "arbitrator" | undefined;
7638
+ industry_signal?: string | undefined;
7639
+ evolution_advice?: string | undefined;
7640
+ health_score?: number | undefined;
7641
+ pending_suggestions?: number | undefined;
7642
+ intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
7643
+ role_advice?: string[] | undefined;
7644
+ }>>;
6813
7645
  }, "strict", z.ZodTypeAny, {
6814
7646
  status: "success" | "partial" | "failed" | "pending_input";
6815
7647
  intent: string;
@@ -6856,6 +7688,43 @@ export declare const CallOutputSchema: z.ZodObject<{
6856
7688
  prerequisite?: string | undefined;
6857
7689
  }[] | undefined;
6858
7690
  warnings?: string[] | undefined;
7691
+ experience?: {
7692
+ advice?: string | undefined;
7693
+ avoid?: string[] | undefined;
7694
+ relevance?: number | undefined;
7695
+ matched_scenario?: string | undefined;
7696
+ } | undefined;
7697
+ service_status?: {
7698
+ active: string[];
7699
+ inactive?: string[] | undefined;
7700
+ } | undefined;
7701
+ customer_advice?: {
7702
+ recommendations: string[];
7703
+ reminders: {
7704
+ message: string;
7705
+ id: string;
7706
+ priority: "required" | "recommended" | "info" | "reminder";
7707
+ stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
7708
+ action?: string | undefined;
7709
+ }[];
7710
+ risk_score?: number | undefined;
7711
+ risk_level?: "low" | "medium_low" | "medium_high" | "high" | undefined;
7712
+ preference_match?: {
7713
+ score: number;
7714
+ matches: string[];
7715
+ mismatches: string[];
7716
+ } | undefined;
7717
+ } | undefined;
7718
+ evolution_context?: {
7719
+ confidence: number;
7720
+ role?: "user" | "merchant" | "arbitrator" | undefined;
7721
+ industry_signal?: string | undefined;
7722
+ evolution_advice?: string | undefined;
7723
+ health_score?: number | undefined;
7724
+ pending_suggestions?: number | undefined;
7725
+ intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
7726
+ role_advice?: string[] | undefined;
7727
+ } | undefined;
6859
7728
  }, {
6860
7729
  status: "success" | "partial" | "failed" | "pending_input";
6861
7730
  intent: string;
@@ -6902,6 +7771,43 @@ export declare const CallOutputSchema: z.ZodObject<{
6902
7771
  prerequisite?: string | undefined;
6903
7772
  }[] | undefined;
6904
7773
  warnings?: string[] | undefined;
7774
+ experience?: {
7775
+ advice?: string | undefined;
7776
+ avoid?: string[] | undefined;
7777
+ relevance?: number | undefined;
7778
+ matched_scenario?: string | undefined;
7779
+ } | undefined;
7780
+ service_status?: {
7781
+ active: string[];
7782
+ inactive?: string[] | undefined;
7783
+ } | undefined;
7784
+ customer_advice?: {
7785
+ recommendations: string[];
7786
+ reminders: {
7787
+ message: string;
7788
+ id: string;
7789
+ priority: "required" | "recommended" | "info" | "reminder";
7790
+ stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
7791
+ action?: string | undefined;
7792
+ }[];
7793
+ risk_score?: number | undefined;
7794
+ risk_level?: "low" | "medium_low" | "medium_high" | "high" | undefined;
7795
+ preference_match?: {
7796
+ score: number;
7797
+ matches: string[];
7798
+ mismatches: string[];
7799
+ } | undefined;
7800
+ } | undefined;
7801
+ evolution_context?: {
7802
+ confidence: number;
7803
+ role?: "user" | "merchant" | "arbitrator" | undefined;
7804
+ industry_signal?: string | undefined;
7805
+ evolution_advice?: string | undefined;
7806
+ health_score?: number | undefined;
7807
+ pending_suggestions?: number | undefined;
7808
+ intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
7809
+ role_advice?: string[] | undefined;
7810
+ } | undefined;
6905
7811
  }>>;
6906
7812
  harness_report: z.ZodOptional<z.ZodObject<{
6907
7813
  verify: z.ZodObject<{
@@ -6929,7 +7835,6 @@ export declare const CallOutputSchema: z.ZodObject<{
6929
7835
  timestamp: z.ZodString;
6930
7836
  }, "strip", z.ZodTypeAny, {
6931
7837
  status: "pass" | "warn" | "fail";
6932
- summary: string;
6933
7838
  mismatches: {
6934
7839
  expected: string;
6935
7840
  dimension: "created" | "modified" | "released" | "state" | "event";
@@ -6937,10 +7842,10 @@ export declare const CallOutputSchema: z.ZodObject<{
6937
7842
  severity: "pass" | "warn" | "fail";
6938
7843
  detail: string;
6939
7844
  }[];
7845
+ summary: string;
6940
7846
  timestamp: string;
6941
7847
  }, {
6942
7848
  status: "pass" | "warn" | "fail";
6943
- summary: string;
6944
7849
  mismatches: {
6945
7850
  expected: string;
6946
7851
  dimension: "created" | "modified" | "released" | "state" | "event";
@@ -6948,6 +7853,7 @@ export declare const CallOutputSchema: z.ZodObject<{
6948
7853
  severity: "pass" | "warn" | "fail";
6949
7854
  detail: string;
6950
7855
  }[];
7856
+ summary: string;
6951
7857
  timestamp: string;
6952
7858
  }>;
6953
7859
  recovery: z.ZodOptional<z.ZodObject<{
@@ -6978,7 +7884,6 @@ export declare const CallOutputSchema: z.ZodObject<{
6978
7884
  }, "strip", z.ZodTypeAny, {
6979
7885
  verify: {
6980
7886
  status: "pass" | "warn" | "fail";
6981
- summary: string;
6982
7887
  mismatches: {
6983
7888
  expected: string;
6984
7889
  dimension: "created" | "modified" | "released" | "state" | "event";
@@ -6986,6 +7891,7 @@ export declare const CallOutputSchema: z.ZodObject<{
6986
7891
  severity: "pass" | "warn" | "fail";
6987
7892
  detail: string;
6988
7893
  }[];
7894
+ summary: string;
6989
7895
  timestamp: string;
6990
7896
  };
6991
7897
  recovery?: {
@@ -7000,7 +7906,6 @@ export declare const CallOutputSchema: z.ZodObject<{
7000
7906
  }, {
7001
7907
  verify: {
7002
7908
  status: "pass" | "warn" | "fail";
7003
- summary: string;
7004
7909
  mismatches: {
7005
7910
  expected: string;
7006
7911
  dimension: "created" | "modified" | "released" | "state" | "event";
@@ -7008,6 +7913,7 @@ export declare const CallOutputSchema: z.ZodObject<{
7008
7913
  severity: "pass" | "warn" | "fail";
7009
7914
  detail: string;
7010
7915
  }[];
7916
+ summary: string;
7011
7917
  timestamp: string;
7012
7918
  };
7013
7919
  recovery?: {
@@ -7025,9 +7931,28 @@ export declare const CallOutputSchema: z.ZodObject<{
7025
7931
  type: "error";
7026
7932
  error: string;
7027
7933
  error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
7028
- related_object?: string | undefined;
7029
7934
  retryable?: boolean | undefined;
7030
7935
  recovery_hint?: string | undefined;
7936
+ related_object?: string | undefined;
7937
+ } | {
7938
+ type: "pending_confirmation";
7939
+ preview: {
7940
+ level: "amount" | "none" | "standard" | "publish" | "irreversible";
7941
+ operation: string;
7942
+ object?: string | Record<string, any> | null | undefined;
7943
+ network?: string | undefined;
7944
+ account?: string | undefined;
7945
+ amount?: {
7946
+ value: string;
7947
+ token: string;
7948
+ human_readable: string;
7949
+ recipient?: string | undefined;
7950
+ } | undefined;
7951
+ warnings?: string[] | undefined;
7952
+ irreversible?: boolean | undefined;
7953
+ immutable_after?: string[] | undefined;
7954
+ };
7955
+ rule_id?: string | undefined;
7031
7956
  } | {
7032
7957
  type: "submission";
7033
7958
  guard: {
@@ -7240,7 +8165,7 @@ export declare const CallOutputSchema: z.ZodObject<{
7240
8165
  };
7241
8166
  bcsEncoding: "base64";
7242
8167
  packageId: string;
7243
- parsedJson: Record<string, string | number | boolean | null>;
8168
+ parsedJson: Record<string, unknown>;
7244
8169
  sender: string;
7245
8170
  transactionModule: string;
7246
8171
  bcs: string;
@@ -7253,7 +8178,7 @@ export declare const CallOutputSchema: z.ZodObject<{
7253
8178
  };
7254
8179
  bcsEncoding: "base58";
7255
8180
  packageId: string;
7256
- parsedJson: Record<string, string | number | boolean | null>;
8181
+ parsedJson: Record<string, unknown>;
7257
8182
  sender: string;
7258
8183
  transactionModule: string;
7259
8184
  bcs: string;
@@ -7468,11 +8393,47 @@ export declare const CallOutputSchema: z.ZodObject<{
7468
8393
  prerequisite?: string | undefined;
7469
8394
  }[] | undefined;
7470
8395
  warnings?: string[] | undefined;
8396
+ experience?: {
8397
+ advice?: string | undefined;
8398
+ avoid?: string[] | undefined;
8399
+ relevance?: number | undefined;
8400
+ matched_scenario?: string | undefined;
8401
+ } | undefined;
8402
+ service_status?: {
8403
+ active: string[];
8404
+ inactive?: string[] | undefined;
8405
+ } | undefined;
8406
+ customer_advice?: {
8407
+ recommendations: string[];
8408
+ reminders: {
8409
+ message: string;
8410
+ id: string;
8411
+ priority: "required" | "recommended" | "info" | "reminder";
8412
+ stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
8413
+ action?: string | undefined;
8414
+ }[];
8415
+ risk_score?: number | undefined;
8416
+ risk_level?: "low" | "medium_low" | "medium_high" | "high" | undefined;
8417
+ preference_match?: {
8418
+ score: number;
8419
+ matches: string[];
8420
+ mismatches: string[];
8421
+ } | undefined;
8422
+ } | undefined;
8423
+ evolution_context?: {
8424
+ confidence: number;
8425
+ role?: "user" | "merchant" | "arbitrator" | undefined;
8426
+ industry_signal?: string | undefined;
8427
+ evolution_advice?: string | undefined;
8428
+ health_score?: number | undefined;
8429
+ pending_suggestions?: number | undefined;
8430
+ intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
8431
+ role_advice?: string[] | undefined;
8432
+ } | undefined;
7471
8433
  } | undefined;
7472
8434
  harness_report?: {
7473
8435
  verify: {
7474
8436
  status: "pass" | "warn" | "fail";
7475
- summary: string;
7476
8437
  mismatches: {
7477
8438
  expected: string;
7478
8439
  dimension: "created" | "modified" | "released" | "state" | "event";
@@ -7480,6 +8441,7 @@ export declare const CallOutputSchema: z.ZodObject<{
7480
8441
  severity: "pass" | "warn" | "fail";
7481
8442
  detail: string;
7482
8443
  }[];
8444
+ summary: string;
7483
8445
  timestamp: string;
7484
8446
  };
7485
8447
  recovery?: {
@@ -7497,9 +8459,28 @@ export declare const CallOutputSchema: z.ZodObject<{
7497
8459
  type: "error";
7498
8460
  error: string;
7499
8461
  error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
7500
- related_object?: string | undefined;
7501
8462
  retryable?: boolean | undefined;
7502
8463
  recovery_hint?: string | undefined;
8464
+ related_object?: string | undefined;
8465
+ } | {
8466
+ type: "pending_confirmation";
8467
+ preview: {
8468
+ level: "amount" | "none" | "standard" | "publish" | "irreversible";
8469
+ operation: string;
8470
+ object?: string | Record<string, any> | null | undefined;
8471
+ network?: string | undefined;
8472
+ account?: string | undefined;
8473
+ amount?: {
8474
+ value: string;
8475
+ token: string;
8476
+ human_readable: string;
8477
+ recipient?: string | undefined;
8478
+ } | undefined;
8479
+ warnings?: string[] | undefined;
8480
+ irreversible?: boolean | undefined;
8481
+ immutable_after?: string[] | undefined;
8482
+ };
8483
+ rule_id?: string | undefined;
7503
8484
  } | {
7504
8485
  type: "submission";
7505
8486
  guard: {
@@ -7712,7 +8693,7 @@ export declare const CallOutputSchema: z.ZodObject<{
7712
8693
  };
7713
8694
  bcsEncoding: "base64";
7714
8695
  packageId: string;
7715
- parsedJson: Record<string, string | number | boolean | null>;
8696
+ parsedJson: Record<string, unknown>;
7716
8697
  sender: string;
7717
8698
  transactionModule: string;
7718
8699
  bcs: string;
@@ -7725,7 +8706,7 @@ export declare const CallOutputSchema: z.ZodObject<{
7725
8706
  };
7726
8707
  bcsEncoding: "base58";
7727
8708
  packageId: string;
7728
- parsedJson: Record<string, string | number | boolean | null>;
8709
+ parsedJson: Record<string, unknown>;
7729
8710
  sender: string;
7730
8711
  transactionModule: string;
7731
8712
  bcs: string;
@@ -7940,11 +8921,47 @@ export declare const CallOutputSchema: z.ZodObject<{
7940
8921
  prerequisite?: string | undefined;
7941
8922
  }[] | undefined;
7942
8923
  warnings?: string[] | undefined;
8924
+ experience?: {
8925
+ advice?: string | undefined;
8926
+ avoid?: string[] | undefined;
8927
+ relevance?: number | undefined;
8928
+ matched_scenario?: string | undefined;
8929
+ } | undefined;
8930
+ service_status?: {
8931
+ active: string[];
8932
+ inactive?: string[] | undefined;
8933
+ } | undefined;
8934
+ customer_advice?: {
8935
+ recommendations: string[];
8936
+ reminders: {
8937
+ message: string;
8938
+ id: string;
8939
+ priority: "required" | "recommended" | "info" | "reminder";
8940
+ stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
8941
+ action?: string | undefined;
8942
+ }[];
8943
+ risk_score?: number | undefined;
8944
+ risk_level?: "low" | "medium_low" | "medium_high" | "high" | undefined;
8945
+ preference_match?: {
8946
+ score: number;
8947
+ matches: string[];
8948
+ mismatches: string[];
8949
+ } | undefined;
8950
+ } | undefined;
8951
+ evolution_context?: {
8952
+ confidence: number;
8953
+ role?: "user" | "merchant" | "arbitrator" | undefined;
8954
+ industry_signal?: string | undefined;
8955
+ evolution_advice?: string | undefined;
8956
+ health_score?: number | undefined;
8957
+ pending_suggestions?: number | undefined;
8958
+ intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
8959
+ role_advice?: string[] | undefined;
8960
+ } | undefined;
7943
8961
  } | undefined;
7944
8962
  harness_report?: {
7945
8963
  verify: {
7946
8964
  status: "pass" | "warn" | "fail";
7947
- summary: string;
7948
8965
  mismatches: {
7949
8966
  expected: string;
7950
8967
  dimension: "created" | "modified" | "released" | "state" | "event";
@@ -7952,6 +8969,7 @@ export declare const CallOutputSchema: z.ZodObject<{
7952
8969
  severity: "pass" | "warn" | "fail";
7953
8970
  detail: string;
7954
8971
  }[];
8972
+ summary: string;
7955
8973
  timestamp: string;
7956
8974
  };
7957
8975
  recovery?: {
@@ -7988,8 +9006,16 @@ export type ObjectRole = z.infer<typeof ObjectRoleSchema>;
7988
9006
  export type FundRole = z.infer<typeof FundRoleSchema>;
7989
9007
  export type NextAction = z.infer<typeof NextActionSchema>;
7990
9008
  export type EventSemantic = z.infer<typeof EventSemanticSchema>;
9009
+ export type Experience = z.infer<typeof ExperienceSchema>;
9010
+ export type ServiceStatus = z.infer<typeof ServiceStatusSchema>;
7991
9011
  export type SemanticSummary = z.infer<typeof SemanticSummarySchema>;
9012
+ export type CustomerReminder = z.infer<typeof CustomerReminderSchema>;
9013
+ export type PreferenceMatch = z.infer<typeof PreferenceMatchSchema>;
9014
+ export type CustomerAdvice = z.infer<typeof CustomerAdviceSchema>;
9015
+ export type EvolutionContext = z.infer<typeof EvolutionContextSchema>;
7992
9016
  export type VerifyMismatch = z.infer<typeof VerifyMismatchSchema>;
7993
9017
  export type VerifyReport = z.infer<typeof VerifyReportSchema>;
7994
9018
  export type RecoveryAction = z.infer<typeof RecoveryActionSchema>;
7995
9019
  export type HarnessReport = z.infer<typeof HarnessReportSchema>;
9020
+ export type OperationPreview = z.infer<typeof OperationPreviewSchema>;
9021
+ export type CallPendingConfirmation = z.infer<typeof CallPendingConfirmationSchema>;