@wowok/agent-mcp 2.3.13 → 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 (194) 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/harness/checkpoint.d.ts +8 -0
  36. package/dist/harness/checkpoint.js +129 -0
  37. package/dist/harness/index.d.ts +33 -0
  38. package/dist/harness/index.js +75 -0
  39. package/dist/harness/plan.d.ts +18 -0
  40. package/dist/harness/plan.js +252 -0
  41. package/dist/harness/recover.d.ts +17 -0
  42. package/dist/harness/recover.js +139 -0
  43. package/dist/harness/types.d.ts +137 -0
  44. package/dist/harness/types.js +1 -0
  45. package/dist/harness/verify.d.ts +42 -0
  46. package/dist/harness/verify.js +237 -0
  47. package/dist/index.js +667 -201
  48. package/dist/knowledge/acquisition-flywheel.d.ts +50 -0
  49. package/dist/knowledge/acquisition-flywheel.js +183 -0
  50. package/dist/knowledge/arbitration-trust.d.ts +24 -0
  51. package/dist/knowledge/arbitration-trust.js +117 -0
  52. package/dist/knowledge/audit-rules.d.ts +28 -0
  53. package/dist/knowledge/audit-rules.js +141 -0
  54. package/dist/knowledge/demand-matching.d.ts +29 -0
  55. package/dist/knowledge/demand-matching.js +132 -0
  56. package/dist/knowledge/dynamic-pricing.d.ts +31 -0
  57. package/dist/knowledge/dynamic-pricing.js +87 -0
  58. package/dist/knowledge/flywheel-loop.d.ts +87 -0
  59. package/dist/knowledge/flywheel-loop.js +378 -0
  60. package/dist/knowledge/glossary.d.ts +18 -0
  61. package/dist/knowledge/glossary.js +209 -0
  62. package/dist/knowledge/index.d.ts +64 -0
  63. package/dist/knowledge/index.js +66 -0
  64. package/dist/knowledge/industry-evolution.d.ts +82 -0
  65. package/dist/knowledge/industry-evolution.js +323 -0
  66. package/dist/knowledge/industry-generalizer.d.ts +17 -0
  67. package/dist/knowledge/industry-generalizer.js +381 -0
  68. package/dist/knowledge/industry-registry.d.ts +49 -0
  69. package/dist/knowledge/industry-registry.js +167 -0
  70. package/dist/knowledge/intent-metrics.d.ts +42 -0
  71. package/dist/knowledge/intent-metrics.js +566 -0
  72. package/dist/knowledge/process-model.d.ts +24 -0
  73. package/dist/knowledge/process-model.js +160 -0
  74. package/dist/knowledge/reputation-rules.d.ts +42 -0
  75. package/dist/knowledge/reputation-rules.js +99 -0
  76. package/dist/knowledge/reward-templates.d.ts +25 -0
  77. package/dist/knowledge/reward-templates.js +125 -0
  78. package/dist/knowledge/safety-rules.d.ts +36 -0
  79. package/dist/knowledge/safety-rules.js +171 -0
  80. package/dist/knowledge/tool-constraints.d.ts +30 -0
  81. package/dist/knowledge/tool-constraints.js +185 -0
  82. package/dist/knowledge/trust-metrics.d.ts +37 -0
  83. package/dist/knowledge/trust-metrics.js +138 -0
  84. package/dist/loop-engineering/aggregate.d.ts +50 -0
  85. package/dist/loop-engineering/aggregate.js +132 -0
  86. package/dist/loop-engineering/diagnose.d.ts +22 -0
  87. package/dist/loop-engineering/diagnose.js +273 -0
  88. package/dist/loop-engineering/improve.d.ts +26 -0
  89. package/dist/loop-engineering/improve.js +229 -0
  90. package/dist/loop-engineering/index.d.ts +4 -0
  91. package/dist/loop-engineering/index.js +4 -0
  92. package/dist/loop-engineering/pipeline.d.ts +17 -0
  93. package/dist/loop-engineering/pipeline.js +56 -0
  94. package/dist/mode-market/index.d.ts +3 -0
  95. package/dist/mode-market/index.js +3 -0
  96. package/dist/mode-market/registry.d.ts +53 -0
  97. package/dist/mode-market/registry.js +124 -0
  98. package/dist/mode-market/review.d.ts +27 -0
  99. package/dist/mode-market/review.js +214 -0
  100. package/dist/mode-market/submission.d.ts +25 -0
  101. package/dist/mode-market/submission.js +85 -0
  102. package/dist/project/graph.d.ts +71 -0
  103. package/dist/project/graph.js +314 -0
  104. package/dist/project/index.d.ts +62 -0
  105. package/dist/project/index.js +167 -0
  106. package/dist/project/namespace.d.ts +62 -0
  107. package/dist/project/namespace.js +181 -0
  108. package/dist/project/query.d.ts +40 -0
  109. package/dist/project/query.js +110 -0
  110. package/dist/safety/confirm-gate.d.ts +15 -0
  111. package/dist/safety/confirm-gate.js +44 -0
  112. package/dist/safety/index.d.ts +3 -0
  113. package/dist/safety/index.js +3 -0
  114. package/dist/safety/preview.d.ts +2 -0
  115. package/dist/safety/preview.js +36 -0
  116. package/dist/schema/call/allocation.d.ts +55 -40
  117. package/dist/schema/call/arbitration.d.ts +201 -186
  118. package/dist/schema/call/base.d.ts +2104 -24
  119. package/dist/schema/call/base.js +168 -22
  120. package/dist/schema/call/bridge-handler.js +36 -18
  121. package/dist/schema/call/bridge.d.ts +777 -120
  122. package/dist/schema/call/bridge.js +13 -2
  123. package/dist/schema/call/contact.d.ts +15 -0
  124. package/dist/schema/call/demand.d.ts +69 -54
  125. package/dist/schema/call/guard.d.ts +125 -80
  126. package/dist/schema/call/handler.d.ts +5 -1
  127. package/dist/schema/call/handler.js +108 -3
  128. package/dist/schema/call/index.d.ts +1 -0
  129. package/dist/schema/call/index.js +1 -0
  130. package/dist/schema/call/machine.d.ts +830 -800
  131. package/dist/schema/call/order.d.ts +27 -12
  132. package/dist/schema/call/payment.d.ts +15 -0
  133. package/dist/schema/call/permission.d.ts +15 -0
  134. package/dist/schema/call/personal.d.ts +15 -0
  135. package/dist/schema/call/progress.d.ts +21 -6
  136. package/dist/schema/call/proof.d.ts +42 -12
  137. package/dist/schema/call/proof.js +3 -3
  138. package/dist/schema/call/repository.d.ts +91 -76
  139. package/dist/schema/call/reward.d.ts +51 -36
  140. package/dist/schema/call/semantic.d.ts +24 -0
  141. package/dist/schema/call/semantic.js +981 -0
  142. package/dist/schema/call/service.d.ts +444 -429
  143. package/dist/schema/call/treasury.d.ts +219 -204
  144. package/dist/schema/common/index.js +3 -3
  145. package/dist/schema/local/index.d.ts +341 -74
  146. package/dist/schema/local/index.js +44 -7
  147. package/dist/schema/messenger/index.d.ts +1034 -92
  148. package/dist/schema/messenger/index.js +18 -0
  149. package/dist/schema/operations.d.ts +2634 -1817
  150. package/dist/schema/operations.js +16 -5
  151. package/dist/schema/query/index.d.ts +2293 -2289
  152. package/dist/schema/query/index.js +34 -28
  153. package/dist/schemas/account_operation.output.json +28 -16
  154. package/dist/schemas/account_operation.schema.json +2 -2
  155. package/dist/schemas/bridge_operation.output.json +520 -0
  156. package/dist/schemas/bridge_operation.schema.json +15 -0
  157. package/dist/schemas/guard2file.schema.json +15 -0
  158. package/dist/schemas/index.json +1 -1
  159. package/dist/schemas/local_info_operation.output.json +26 -0
  160. package/dist/schemas/local_info_operation.schema.json +1 -1
  161. package/dist/schemas/local_mark_operation.output.json +27 -1
  162. package/dist/schemas/local_mark_operation.schema.json +4 -4
  163. package/dist/schemas/machineNode2file.schema.json +15 -0
  164. package/dist/schemas/messenger_operation.output.json +549 -0
  165. package/dist/schemas/messenger_operation.schema.json +21 -0
  166. package/dist/schemas/onchain_events.output.json +3 -0
  167. package/dist/schemas/onchain_operations.output.json +814 -37
  168. package/dist/schemas/onchain_operations.schema.json +117 -40
  169. package/dist/schemas/onchain_operations_allocation.schema.json +26 -9
  170. package/dist/schemas/onchain_operations_arbitration.schema.json +26 -9
  171. package/dist/schemas/onchain_operations_contact.schema.json +26 -9
  172. package/dist/schemas/onchain_operations_demand.schema.json +26 -9
  173. package/dist/schemas/onchain_operations_gen_passport.schema.json +51 -17
  174. package/dist/schemas/onchain_operations_guard.schema.json +26 -9
  175. package/dist/schemas/onchain_operations_machine.schema.json +92 -32
  176. package/dist/schemas/onchain_operations_order.schema.json +26 -9
  177. package/dist/schemas/onchain_operations_payment.schema.json +26 -9
  178. package/dist/schemas/onchain_operations_permission.schema.json +26 -9
  179. package/dist/schemas/onchain_operations_personal.schema.json +26 -9
  180. package/dist/schemas/onchain_operations_progress.schema.json +26 -9
  181. package/dist/schemas/onchain_operations_repository.schema.json +26 -9
  182. package/dist/schemas/onchain_operations_reward.schema.json +26 -9
  183. package/dist/schemas/onchain_operations_service.schema.json +26 -9
  184. package/dist/schemas/onchain_operations_treasury.schema.json +26 -9
  185. package/dist/schemas/onchain_table_data.output.json +224 -69
  186. package/dist/schemas/onchain_table_data.schema.json +2 -2
  187. package/dist/schemas/query_toolkit.schema.json +5 -1
  188. package/dist/telemetry/index.d.ts +19 -0
  189. package/dist/telemetry/index.js +112 -0
  190. package/dist/telemetry/redact.d.ts +2 -0
  191. package/dist/telemetry/redact.js +23 -0
  192. package/dist/telemetry/storage.d.ts +8 -0
  193. package/dist/telemetry/storage.js +80 -0
  194. package/package.json +6 -3
@@ -821,6 +821,49 @@ export declare const CallTreasury_DataSchema: z.ZodObject<{
821
821
  } | undefined;
822
822
  };
823
823
  description?: string | undefined;
824
+ deposit?: {
825
+ coin: {
826
+ balance: string | number;
827
+ } | {
828
+ coin: string;
829
+ };
830
+ payment_info: {
831
+ index: string | number;
832
+ remark: string;
833
+ for_object?: string | null | undefined;
834
+ for_guard?: string | null | undefined;
835
+ };
836
+ by_external_deposit_guard?: string | undefined;
837
+ namedNewPayment?: {
838
+ name?: string | undefined;
839
+ replaceExistName?: boolean | undefined;
840
+ tags?: string[] | undefined;
841
+ onChain?: boolean | undefined;
842
+ } | undefined;
843
+ } | undefined;
844
+ withdraw?: {
845
+ amount: {
846
+ fixed: string | number;
847
+ } | {
848
+ by_external_withdraw_guard: string;
849
+ };
850
+ recipient: {
851
+ name_or_address?: string | undefined;
852
+ local_mark_first?: boolean | undefined;
853
+ };
854
+ payment_info: {
855
+ index: string | number;
856
+ remark: string;
857
+ for_object?: string | null | undefined;
858
+ for_guard?: string | null | undefined;
859
+ };
860
+ namedNewPayment?: {
861
+ name?: string | undefined;
862
+ replaceExistName?: boolean | undefined;
863
+ tags?: string[] | undefined;
864
+ onChain?: boolean | undefined;
865
+ } | undefined;
866
+ } | undefined;
824
867
  owner_receive?: {
825
868
  received: {
826
869
  id: string;
@@ -884,6 +927,22 @@ export declare const CallTreasury_DataSchema: z.ZodObject<{
884
927
  balance: string | number;
885
928
  token_type: string;
886
929
  } | "recently" | undefined;
930
+ }, {
931
+ object: string | {
932
+ name?: string | undefined;
933
+ replaceExistName?: boolean | undefined;
934
+ tags?: string[] | undefined;
935
+ onChain?: boolean | undefined;
936
+ type_parameter?: string | undefined;
937
+ permission?: string | {
938
+ name?: string | undefined;
939
+ description?: string | undefined;
940
+ replaceExistName?: boolean | undefined;
941
+ tags?: string[] | undefined;
942
+ onChain?: boolean | undefined;
943
+ } | undefined;
944
+ };
945
+ description?: string | undefined;
887
946
  deposit?: {
888
947
  coin: {
889
948
  balance: string | number;
@@ -927,22 +986,6 @@ export declare const CallTreasury_DataSchema: z.ZodObject<{
927
986
  onChain?: boolean | undefined;
928
987
  } | undefined;
929
988
  } | undefined;
930
- }, {
931
- object: string | {
932
- name?: string | undefined;
933
- replaceExistName?: boolean | undefined;
934
- tags?: string[] | undefined;
935
- onChain?: boolean | undefined;
936
- type_parameter?: string | undefined;
937
- permission?: string | {
938
- name?: string | undefined;
939
- description?: string | undefined;
940
- replaceExistName?: boolean | undefined;
941
- tags?: string[] | undefined;
942
- onChain?: boolean | undefined;
943
- } | undefined;
944
- };
945
- description?: string | undefined;
946
989
  owner_receive?: {
947
990
  received: {
948
991
  id: string;
@@ -1006,49 +1049,6 @@ export declare const CallTreasury_DataSchema: z.ZodObject<{
1006
1049
  balance: string | number;
1007
1050
  token_type: string;
1008
1051
  } | "recently" | undefined;
1009
- deposit?: {
1010
- coin: {
1011
- balance: string | number;
1012
- } | {
1013
- coin: string;
1014
- };
1015
- payment_info: {
1016
- index: string | number;
1017
- remark: string;
1018
- for_object?: string | null | undefined;
1019
- for_guard?: string | null | undefined;
1020
- };
1021
- by_external_deposit_guard?: string | undefined;
1022
- namedNewPayment?: {
1023
- name?: string | undefined;
1024
- replaceExistName?: boolean | undefined;
1025
- tags?: string[] | undefined;
1026
- onChain?: boolean | undefined;
1027
- } | undefined;
1028
- } | undefined;
1029
- withdraw?: {
1030
- amount: {
1031
- fixed: string | number;
1032
- } | {
1033
- by_external_withdraw_guard: string;
1034
- };
1035
- recipient: {
1036
- name_or_address?: string | undefined;
1037
- local_mark_first?: boolean | undefined;
1038
- };
1039
- payment_info: {
1040
- index: string | number;
1041
- remark: string;
1042
- for_object?: string | null | undefined;
1043
- for_guard?: string | null | undefined;
1044
- };
1045
- namedNewPayment?: {
1046
- name?: string | undefined;
1047
- replaceExistName?: boolean | undefined;
1048
- tags?: string[] | undefined;
1049
- onChain?: boolean | undefined;
1050
- } | undefined;
1051
- } | undefined;
1052
1052
  }>;
1053
1053
  export declare const CallTreasury_InputSchema: z.ZodObject<{
1054
1054
  data: z.ZodObject<{
@@ -1538,6 +1538,49 @@ export declare const CallTreasury_InputSchema: z.ZodObject<{
1538
1538
  } | undefined;
1539
1539
  };
1540
1540
  description?: string | undefined;
1541
+ deposit?: {
1542
+ coin: {
1543
+ balance: string | number;
1544
+ } | {
1545
+ coin: string;
1546
+ };
1547
+ payment_info: {
1548
+ index: string | number;
1549
+ remark: string;
1550
+ for_object?: string | null | undefined;
1551
+ for_guard?: string | null | undefined;
1552
+ };
1553
+ by_external_deposit_guard?: string | undefined;
1554
+ namedNewPayment?: {
1555
+ name?: string | undefined;
1556
+ replaceExistName?: boolean | undefined;
1557
+ tags?: string[] | undefined;
1558
+ onChain?: boolean | undefined;
1559
+ } | undefined;
1560
+ } | undefined;
1561
+ withdraw?: {
1562
+ amount: {
1563
+ fixed: string | number;
1564
+ } | {
1565
+ by_external_withdraw_guard: string;
1566
+ };
1567
+ recipient: {
1568
+ name_or_address?: string | undefined;
1569
+ local_mark_first?: boolean | undefined;
1570
+ };
1571
+ payment_info: {
1572
+ index: string | number;
1573
+ remark: string;
1574
+ for_object?: string | null | undefined;
1575
+ for_guard?: string | null | undefined;
1576
+ };
1577
+ namedNewPayment?: {
1578
+ name?: string | undefined;
1579
+ replaceExistName?: boolean | undefined;
1580
+ tags?: string[] | undefined;
1581
+ onChain?: boolean | undefined;
1582
+ } | undefined;
1583
+ } | undefined;
1541
1584
  owner_receive?: {
1542
1585
  received: {
1543
1586
  id: string;
@@ -1601,6 +1644,22 @@ export declare const CallTreasury_InputSchema: z.ZodObject<{
1601
1644
  balance: string | number;
1602
1645
  token_type: string;
1603
1646
  } | "recently" | undefined;
1647
+ }, {
1648
+ object: string | {
1649
+ name?: string | undefined;
1650
+ replaceExistName?: boolean | undefined;
1651
+ tags?: string[] | undefined;
1652
+ onChain?: boolean | undefined;
1653
+ type_parameter?: string | undefined;
1654
+ permission?: string | {
1655
+ name?: string | undefined;
1656
+ description?: string | undefined;
1657
+ replaceExistName?: boolean | undefined;
1658
+ tags?: string[] | undefined;
1659
+ onChain?: boolean | undefined;
1660
+ } | undefined;
1661
+ };
1662
+ description?: string | undefined;
1604
1663
  deposit?: {
1605
1664
  coin: {
1606
1665
  balance: string | number;
@@ -1644,22 +1703,6 @@ export declare const CallTreasury_InputSchema: z.ZodObject<{
1644
1703
  onChain?: boolean | undefined;
1645
1704
  } | undefined;
1646
1705
  } | undefined;
1647
- }, {
1648
- object: string | {
1649
- name?: string | undefined;
1650
- replaceExistName?: boolean | undefined;
1651
- tags?: string[] | undefined;
1652
- onChain?: boolean | undefined;
1653
- type_parameter?: string | undefined;
1654
- permission?: string | {
1655
- name?: string | undefined;
1656
- description?: string | undefined;
1657
- replaceExistName?: boolean | undefined;
1658
- tags?: string[] | undefined;
1659
- onChain?: boolean | undefined;
1660
- } | undefined;
1661
- };
1662
- description?: string | undefined;
1663
1706
  owner_receive?: {
1664
1707
  received: {
1665
1708
  id: string;
@@ -1723,49 +1766,6 @@ export declare const CallTreasury_InputSchema: z.ZodObject<{
1723
1766
  balance: string | number;
1724
1767
  token_type: string;
1725
1768
  } | "recently" | undefined;
1726
- deposit?: {
1727
- coin: {
1728
- balance: string | number;
1729
- } | {
1730
- coin: string;
1731
- };
1732
- payment_info: {
1733
- index: string | number;
1734
- remark: string;
1735
- for_object?: string | null | undefined;
1736
- for_guard?: string | null | undefined;
1737
- };
1738
- by_external_deposit_guard?: string | undefined;
1739
- namedNewPayment?: {
1740
- name?: string | undefined;
1741
- replaceExistName?: boolean | undefined;
1742
- tags?: string[] | undefined;
1743
- onChain?: boolean | undefined;
1744
- } | undefined;
1745
- } | undefined;
1746
- withdraw?: {
1747
- amount: {
1748
- fixed: string | number;
1749
- } | {
1750
- by_external_withdraw_guard: string;
1751
- };
1752
- recipient: {
1753
- name_or_address?: string | undefined;
1754
- local_mark_first?: boolean | undefined;
1755
- };
1756
- payment_info: {
1757
- index: string | number;
1758
- remark: string;
1759
- for_object?: string | null | undefined;
1760
- for_guard?: string | null | undefined;
1761
- };
1762
- namedNewPayment?: {
1763
- name?: string | undefined;
1764
- replaceExistName?: boolean | undefined;
1765
- tags?: string[] | undefined;
1766
- onChain?: boolean | undefined;
1767
- } | undefined;
1768
- } | undefined;
1769
1769
  }>;
1770
1770
  env: z.ZodOptional<z.ZodObject<{
1771
1771
  account: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
@@ -1773,18 +1773,27 @@ export declare const CallTreasury_InputSchema: z.ZodObject<{
1773
1773
  no_cache: z.ZodOptional<z.ZodBoolean>;
1774
1774
  network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet, import("@wowok/wowok").ENTRYPOINT.Mainnet]>>;
1775
1775
  referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1776
+ confirmed: z.ZodOptional<z.ZodBoolean>;
1777
+ user_intent_phrases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1778
+ project: z.ZodOptional<z.ZodString>;
1776
1779
  }, "strict", z.ZodTypeAny, {
1777
1780
  account: string;
1778
1781
  no_cache?: boolean | undefined;
1779
1782
  network?: import("@wowok/wowok").ENTRYPOINT | undefined;
1780
1783
  permission_guard?: string[] | undefined;
1781
1784
  referrer?: string | undefined;
1785
+ confirmed?: boolean | undefined;
1786
+ user_intent_phrases?: string[] | undefined;
1787
+ project?: string | undefined;
1782
1788
  }, {
1783
1789
  no_cache?: boolean | undefined;
1784
1790
  network?: import("@wowok/wowok").ENTRYPOINT | undefined;
1785
1791
  account?: string | undefined;
1786
1792
  permission_guard?: string[] | undefined;
1787
1793
  referrer?: string | undefined;
1794
+ confirmed?: boolean | undefined;
1795
+ user_intent_phrases?: string[] | undefined;
1796
+ project?: string | undefined;
1788
1797
  }>>;
1789
1798
  submission: z.ZodOptional<z.ZodObject<{
1790
1799
  type: z.ZodLiteral<"submission">;
@@ -1983,6 +1992,49 @@ export declare const CallTreasury_InputSchema: z.ZodObject<{
1983
1992
  } | undefined;
1984
1993
  };
1985
1994
  description?: string | undefined;
1995
+ deposit?: {
1996
+ coin: {
1997
+ balance: string | number;
1998
+ } | {
1999
+ coin: string;
2000
+ };
2001
+ payment_info: {
2002
+ index: string | number;
2003
+ remark: string;
2004
+ for_object?: string | null | undefined;
2005
+ for_guard?: string | null | undefined;
2006
+ };
2007
+ by_external_deposit_guard?: string | undefined;
2008
+ namedNewPayment?: {
2009
+ name?: string | undefined;
2010
+ replaceExistName?: boolean | undefined;
2011
+ tags?: string[] | undefined;
2012
+ onChain?: boolean | undefined;
2013
+ } | undefined;
2014
+ } | undefined;
2015
+ withdraw?: {
2016
+ amount: {
2017
+ fixed: string | number;
2018
+ } | {
2019
+ by_external_withdraw_guard: string;
2020
+ };
2021
+ recipient: {
2022
+ name_or_address?: string | undefined;
2023
+ local_mark_first?: boolean | undefined;
2024
+ };
2025
+ payment_info: {
2026
+ index: string | number;
2027
+ remark: string;
2028
+ for_object?: string | null | undefined;
2029
+ for_guard?: string | null | undefined;
2030
+ };
2031
+ namedNewPayment?: {
2032
+ name?: string | undefined;
2033
+ replaceExistName?: boolean | undefined;
2034
+ tags?: string[] | undefined;
2035
+ onChain?: boolean | undefined;
2036
+ } | undefined;
2037
+ } | undefined;
1986
2038
  owner_receive?: {
1987
2039
  received: {
1988
2040
  id: string;
@@ -2046,49 +2098,6 @@ export declare const CallTreasury_InputSchema: z.ZodObject<{
2046
2098
  balance: string | number;
2047
2099
  token_type: string;
2048
2100
  } | "recently" | undefined;
2049
- deposit?: {
2050
- coin: {
2051
- balance: string | number;
2052
- } | {
2053
- coin: string;
2054
- };
2055
- payment_info: {
2056
- index: string | number;
2057
- remark: string;
2058
- for_object?: string | null | undefined;
2059
- for_guard?: string | null | undefined;
2060
- };
2061
- by_external_deposit_guard?: string | undefined;
2062
- namedNewPayment?: {
2063
- name?: string | undefined;
2064
- replaceExistName?: boolean | undefined;
2065
- tags?: string[] | undefined;
2066
- onChain?: boolean | undefined;
2067
- } | undefined;
2068
- } | undefined;
2069
- withdraw?: {
2070
- amount: {
2071
- fixed: string | number;
2072
- } | {
2073
- by_external_withdraw_guard: string;
2074
- };
2075
- recipient: {
2076
- name_or_address?: string | undefined;
2077
- local_mark_first?: boolean | undefined;
2078
- };
2079
- payment_info: {
2080
- index: string | number;
2081
- remark: string;
2082
- for_object?: string | null | undefined;
2083
- for_guard?: string | null | undefined;
2084
- };
2085
- namedNewPayment?: {
2086
- name?: string | undefined;
2087
- replaceExistName?: boolean | undefined;
2088
- tags?: string[] | undefined;
2089
- onChain?: boolean | undefined;
2090
- } | undefined;
2091
- } | undefined;
2092
2101
  };
2093
2102
  submission?: {
2094
2103
  type: "submission";
@@ -2123,6 +2132,9 @@ export declare const CallTreasury_InputSchema: z.ZodObject<{
2123
2132
  network?: import("@wowok/wowok").ENTRYPOINT | undefined;
2124
2133
  permission_guard?: string[] | undefined;
2125
2134
  referrer?: string | undefined;
2135
+ confirmed?: boolean | undefined;
2136
+ user_intent_phrases?: string[] | undefined;
2137
+ project?: string | undefined;
2126
2138
  } | undefined;
2127
2139
  }, {
2128
2140
  data: {
@@ -2141,6 +2153,49 @@ export declare const CallTreasury_InputSchema: z.ZodObject<{
2141
2153
  } | undefined;
2142
2154
  };
2143
2155
  description?: string | undefined;
2156
+ deposit?: {
2157
+ coin: {
2158
+ balance: string | number;
2159
+ } | {
2160
+ coin: string;
2161
+ };
2162
+ payment_info: {
2163
+ index: string | number;
2164
+ remark: string;
2165
+ for_object?: string | null | undefined;
2166
+ for_guard?: string | null | undefined;
2167
+ };
2168
+ by_external_deposit_guard?: string | undefined;
2169
+ namedNewPayment?: {
2170
+ name?: string | undefined;
2171
+ replaceExistName?: boolean | undefined;
2172
+ tags?: string[] | undefined;
2173
+ onChain?: boolean | undefined;
2174
+ } | undefined;
2175
+ } | undefined;
2176
+ withdraw?: {
2177
+ amount: {
2178
+ fixed: string | number;
2179
+ } | {
2180
+ by_external_withdraw_guard: string;
2181
+ };
2182
+ recipient: {
2183
+ name_or_address?: string | undefined;
2184
+ local_mark_first?: boolean | undefined;
2185
+ };
2186
+ payment_info: {
2187
+ index: string | number;
2188
+ remark: string;
2189
+ for_object?: string | null | undefined;
2190
+ for_guard?: string | null | undefined;
2191
+ };
2192
+ namedNewPayment?: {
2193
+ name?: string | undefined;
2194
+ replaceExistName?: boolean | undefined;
2195
+ tags?: string[] | undefined;
2196
+ onChain?: boolean | undefined;
2197
+ } | undefined;
2198
+ } | undefined;
2144
2199
  owner_receive?: {
2145
2200
  received: {
2146
2201
  id: string;
@@ -2204,49 +2259,6 @@ export declare const CallTreasury_InputSchema: z.ZodObject<{
2204
2259
  balance: string | number;
2205
2260
  token_type: string;
2206
2261
  } | "recently" | undefined;
2207
- deposit?: {
2208
- coin: {
2209
- balance: string | number;
2210
- } | {
2211
- coin: string;
2212
- };
2213
- payment_info: {
2214
- index: string | number;
2215
- remark: string;
2216
- for_object?: string | null | undefined;
2217
- for_guard?: string | null | undefined;
2218
- };
2219
- by_external_deposit_guard?: string | undefined;
2220
- namedNewPayment?: {
2221
- name?: string | undefined;
2222
- replaceExistName?: boolean | undefined;
2223
- tags?: string[] | undefined;
2224
- onChain?: boolean | undefined;
2225
- } | undefined;
2226
- } | undefined;
2227
- withdraw?: {
2228
- amount: {
2229
- fixed: string | number;
2230
- } | {
2231
- by_external_withdraw_guard: string;
2232
- };
2233
- recipient: {
2234
- name_or_address?: string | undefined;
2235
- local_mark_first?: boolean | undefined;
2236
- };
2237
- payment_info: {
2238
- index: string | number;
2239
- remark: string;
2240
- for_object?: string | null | undefined;
2241
- for_guard?: string | null | undefined;
2242
- };
2243
- namedNewPayment?: {
2244
- name?: string | undefined;
2245
- replaceExistName?: boolean | undefined;
2246
- tags?: string[] | undefined;
2247
- onChain?: boolean | undefined;
2248
- } | undefined;
2249
- } | undefined;
2250
2262
  };
2251
2263
  submission?: {
2252
2264
  type: "submission";
@@ -2281,5 +2293,8 @@ export declare const CallTreasury_InputSchema: z.ZodObject<{
2281
2293
  account?: string | undefined;
2282
2294
  permission_guard?: string[] | undefined;
2283
2295
  referrer?: string | undefined;
2296
+ confirmed?: boolean | undefined;
2297
+ user_intent_phrases?: string[] | undefined;
2298
+ project?: string | undefined;
2284
2299
  } | undefined;
2285
2300
  }>;
@@ -28,7 +28,7 @@ export const WowAddressSchema = z
28
28
  .refine(isValidAddress, {
29
29
  message: "Invalid ID format: must be '0x' prefix followed by 64 hex characters"
30
30
  })
31
- .describe("Valid ID: 0x prefix + 64 hex characters, or builtin ID (0x5-0x9, @0xaaa, @0xaab, @0x403, @0xacc, @0xc)");
31
+ .describe("Valid ID: 0x prefix + 64 hex characters, or builtin ID (0x5-0x9, 0xa, 0xc, 0xd, 0x403, 0xaaa, 0xaab, 0xacc)");
32
32
  const WOW_TOKEN_TYPE = "0x2::wow::WOW";
33
33
  export const TokenTypeSchema = z
34
34
  .string()
@@ -61,13 +61,13 @@ export const NotEmptyNameSchema = z.string().nonempty()
61
61
  export const NameOrAddressSchema = z
62
62
  .string()
63
63
  .refine((val) => {
64
- if (isValidWowAddress(val))
64
+ if (isValidAddress(val))
65
65
  return true;
66
66
  if (isValidName(val))
67
67
  return true;
68
68
  return false;
69
69
  }, {
70
- message: "Invalid ID format: must be '0x' prefix, or a builtin ID (0x5-0x9, @0xaaa, @0xaab, @0x403, @0xacc, @0xc)"
70
+ message: "Invalid ID format: must be '0x' prefix, or a builtin ID (0x5-0x9, 0xa, 0xc, 0xd, 0x403, 0xaaa, 0xaab, 0xacc)"
71
71
  }).describe("Account/Object name or ID. If specifying an account, use empty string '' for the default account. " +
72
72
  "If it starts with '0x', it will be treated as an ID. " +
73
73
  "Otherwise, it will be treated as a name (max 64 bcs characters).");