@wowok/agent-mcp 2.3.13 → 2.3.14

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 (92) hide show
  1. package/dist/harness/checkpoint.d.ts +8 -0
  2. package/dist/harness/checkpoint.js +129 -0
  3. package/dist/harness/index.d.ts +33 -0
  4. package/dist/harness/index.js +75 -0
  5. package/dist/harness/plan.d.ts +18 -0
  6. package/dist/harness/plan.js +252 -0
  7. package/dist/harness/recover.d.ts +17 -0
  8. package/dist/harness/recover.js +139 -0
  9. package/dist/harness/types.d.ts +137 -0
  10. package/dist/harness/types.js +1 -0
  11. package/dist/harness/verify.d.ts +42 -0
  12. package/dist/harness/verify.js +237 -0
  13. package/dist/index.js +134 -52
  14. package/dist/loop-engineering/aggregate.d.ts +50 -0
  15. package/dist/loop-engineering/aggregate.js +132 -0
  16. package/dist/loop-engineering/diagnose.d.ts +21 -0
  17. package/dist/loop-engineering/diagnose.js +179 -0
  18. package/dist/loop-engineering/improve.d.ts +26 -0
  19. package/dist/loop-engineering/improve.js +178 -0
  20. package/dist/loop-engineering/index.d.ts +4 -0
  21. package/dist/loop-engineering/index.js +4 -0
  22. package/dist/loop-engineering/pipeline.d.ts +17 -0
  23. package/dist/loop-engineering/pipeline.js +56 -0
  24. package/dist/mode-market/index.d.ts +3 -0
  25. package/dist/mode-market/index.js +3 -0
  26. package/dist/mode-market/registry.d.ts +53 -0
  27. package/dist/mode-market/registry.js +124 -0
  28. package/dist/mode-market/review.d.ts +27 -0
  29. package/dist/mode-market/review.js +214 -0
  30. package/dist/mode-market/submission.d.ts +25 -0
  31. package/dist/mode-market/submission.js +85 -0
  32. package/dist/schema/call/allocation.d.ts +40 -40
  33. package/dist/schema/call/arbitration.d.ts +90 -90
  34. package/dist/schema/call/base.d.ts +1054 -0
  35. package/dist/schema/call/base.js +100 -22
  36. package/dist/schema/call/bridge-handler.js +36 -18
  37. package/dist/schema/call/bridge.d.ts +115 -115
  38. package/dist/schema/call/handler.d.ts +2 -1
  39. package/dist/schema/call/handler.js +94 -3
  40. package/dist/schema/call/index.d.ts +1 -0
  41. package/dist/schema/call/index.js +1 -0
  42. package/dist/schema/call/machine.d.ts +144 -144
  43. package/dist/schema/call/order.d.ts +12 -12
  44. package/dist/schema/call/progress.d.ts +6 -6
  45. package/dist/schema/call/reward.d.ts +6 -6
  46. package/dist/schema/call/semantic.d.ts +23 -0
  47. package/dist/schema/call/semantic.js +764 -0
  48. package/dist/schema/call/service.d.ts +142 -142
  49. package/dist/schema/call/treasury.d.ts +204 -204
  50. package/dist/schema/local/index.d.ts +113 -2
  51. package/dist/schema/local/index.js +11 -1
  52. package/dist/schema/messenger/index.d.ts +416 -92
  53. package/dist/schema/messenger/index.js +9 -0
  54. package/dist/schema/operations.d.ts +988 -495
  55. package/dist/schema/operations.js +14 -3
  56. package/dist/schema/query/index.d.ts +346 -342
  57. package/dist/schema/query/index.js +4 -1
  58. package/dist/schemas/account_operation.output.json +3 -0
  59. package/dist/schemas/account_operation.schema.json +1 -1
  60. package/dist/schemas/index.json +1 -1
  61. package/dist/schemas/local_info_operation.output.json +3 -0
  62. package/dist/schemas/local_mark_operation.output.json +3 -0
  63. package/dist/schemas/messenger_operation.output.json +21 -0
  64. package/dist/schemas/messenger_operation.schema.json +21 -0
  65. package/dist/schemas/onchain_events.output.json +3 -0
  66. package/dist/schemas/onchain_operations.output.json +464 -21
  67. package/dist/schemas/onchain_operations.schema.json +21 -17
  68. package/dist/schemas/onchain_operations_allocation.schema.json +11 -9
  69. package/dist/schemas/onchain_operations_arbitration.schema.json +11 -9
  70. package/dist/schemas/onchain_operations_contact.schema.json +11 -9
  71. package/dist/schemas/onchain_operations_demand.schema.json +11 -9
  72. package/dist/schemas/onchain_operations_gen_passport.schema.json +21 -17
  73. package/dist/schemas/onchain_operations_guard.schema.json +11 -9
  74. package/dist/schemas/onchain_operations_machine.schema.json +11 -9
  75. package/dist/schemas/onchain_operations_order.schema.json +11 -9
  76. package/dist/schemas/onchain_operations_payment.schema.json +11 -9
  77. package/dist/schemas/onchain_operations_permission.schema.json +11 -9
  78. package/dist/schemas/onchain_operations_personal.schema.json +11 -9
  79. package/dist/schemas/onchain_operations_progress.schema.json +11 -9
  80. package/dist/schemas/onchain_operations_repository.schema.json +11 -9
  81. package/dist/schemas/onchain_operations_reward.schema.json +11 -9
  82. package/dist/schemas/onchain_operations_service.schema.json +11 -9
  83. package/dist/schemas/onchain_operations_treasury.schema.json +11 -9
  84. package/dist/schemas/onchain_table_data.output.json +3 -0
  85. package/dist/schemas/query_toolkit.schema.json +5 -1
  86. package/dist/telemetry/index.d.ts +19 -0
  87. package/dist/telemetry/index.js +112 -0
  88. package/dist/telemetry/redact.d.ts +2 -0
  89. package/dist/telemetry/redact.js +23 -0
  90. package/dist/telemetry/storage.d.ts +8 -0
  91. package/dist/telemetry/storage.js +80 -0
  92. 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>>>;
@@ -1983,6 +1983,49 @@ export declare const CallTreasury_InputSchema: z.ZodObject<{
1983
1983
  } | undefined;
1984
1984
  };
1985
1985
  description?: string | undefined;
1986
+ deposit?: {
1987
+ coin: {
1988
+ balance: string | number;
1989
+ } | {
1990
+ coin: string;
1991
+ };
1992
+ payment_info: {
1993
+ index: string | number;
1994
+ remark: string;
1995
+ for_object?: string | null | undefined;
1996
+ for_guard?: string | null | undefined;
1997
+ };
1998
+ by_external_deposit_guard?: string | undefined;
1999
+ namedNewPayment?: {
2000
+ name?: string | undefined;
2001
+ replaceExistName?: boolean | undefined;
2002
+ tags?: string[] | undefined;
2003
+ onChain?: boolean | undefined;
2004
+ } | undefined;
2005
+ } | undefined;
2006
+ withdraw?: {
2007
+ amount: {
2008
+ fixed: string | number;
2009
+ } | {
2010
+ by_external_withdraw_guard: string;
2011
+ };
2012
+ recipient: {
2013
+ name_or_address?: string | undefined;
2014
+ local_mark_first?: boolean | undefined;
2015
+ };
2016
+ payment_info: {
2017
+ index: string | number;
2018
+ remark: string;
2019
+ for_object?: string | null | undefined;
2020
+ for_guard?: string | null | undefined;
2021
+ };
2022
+ namedNewPayment?: {
2023
+ name?: string | undefined;
2024
+ replaceExistName?: boolean | undefined;
2025
+ tags?: string[] | undefined;
2026
+ onChain?: boolean | undefined;
2027
+ } | undefined;
2028
+ } | undefined;
1986
2029
  owner_receive?: {
1987
2030
  received: {
1988
2031
  id: string;
@@ -2046,49 +2089,6 @@ export declare const CallTreasury_InputSchema: z.ZodObject<{
2046
2089
  balance: string | number;
2047
2090
  token_type: string;
2048
2091
  } | "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
2092
  };
2093
2093
  submission?: {
2094
2094
  type: "submission";
@@ -2141,6 +2141,49 @@ export declare const CallTreasury_InputSchema: z.ZodObject<{
2141
2141
  } | undefined;
2142
2142
  };
2143
2143
  description?: string | undefined;
2144
+ deposit?: {
2145
+ coin: {
2146
+ balance: string | number;
2147
+ } | {
2148
+ coin: string;
2149
+ };
2150
+ payment_info: {
2151
+ index: string | number;
2152
+ remark: string;
2153
+ for_object?: string | null | undefined;
2154
+ for_guard?: string | null | undefined;
2155
+ };
2156
+ by_external_deposit_guard?: string | undefined;
2157
+ namedNewPayment?: {
2158
+ name?: string | undefined;
2159
+ replaceExistName?: boolean | undefined;
2160
+ tags?: string[] | undefined;
2161
+ onChain?: boolean | undefined;
2162
+ } | undefined;
2163
+ } | undefined;
2164
+ withdraw?: {
2165
+ amount: {
2166
+ fixed: string | number;
2167
+ } | {
2168
+ by_external_withdraw_guard: string;
2169
+ };
2170
+ recipient: {
2171
+ name_or_address?: string | undefined;
2172
+ local_mark_first?: boolean | undefined;
2173
+ };
2174
+ payment_info: {
2175
+ index: string | number;
2176
+ remark: string;
2177
+ for_object?: string | null | undefined;
2178
+ for_guard?: string | null | undefined;
2179
+ };
2180
+ namedNewPayment?: {
2181
+ name?: string | undefined;
2182
+ replaceExistName?: boolean | undefined;
2183
+ tags?: string[] | undefined;
2184
+ onChain?: boolean | undefined;
2185
+ } | undefined;
2186
+ } | undefined;
2144
2187
  owner_receive?: {
2145
2188
  received: {
2146
2189
  id: string;
@@ -2204,49 +2247,6 @@ export declare const CallTreasury_InputSchema: z.ZodObject<{
2204
2247
  balance: string | number;
2205
2248
  token_type: string;
2206
2249
  } | "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
2250
  };
2251
2251
  submission?: {
2252
2252
  type: "submission";