@compass-labs/api-sdk 0.2.1 → 0.2.2

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 (233) hide show
  1. package/README.md +4 -0
  2. package/bin/mcp-server.js +887 -333
  3. package/bin/mcp-server.js.map +29 -12
  4. package/dist/commonjs/funcs/pendleMarkets.d.ts +18 -0
  5. package/dist/commonjs/funcs/pendleMarkets.d.ts.map +1 -0
  6. package/dist/commonjs/funcs/pendleMarkets.js +121 -0
  7. package/dist/commonjs/funcs/pendleMarkets.js.map +1 -0
  8. package/dist/commonjs/funcs/pendlePositions.d.ts +18 -0
  9. package/dist/commonjs/funcs/pendlePositions.d.ts.map +1 -0
  10. package/dist/commonjs/funcs/pendlePositions.js +122 -0
  11. package/dist/commonjs/funcs/pendlePositions.js.map +1 -0
  12. package/dist/commonjs/lib/config.d.ts +2 -2
  13. package/dist/commonjs/lib/config.js +2 -2
  14. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  15. package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
  16. package/dist/commonjs/mcp-server/server.js +5 -1
  17. package/dist/commonjs/mcp-server/server.js.map +1 -1
  18. package/dist/commonjs/mcp-server/tools/pendleMarkets.d.ts +8 -0
  19. package/dist/commonjs/mcp-server/tools/pendleMarkets.d.ts.map +1 -0
  20. package/dist/commonjs/mcp-server/tools/pendleMarkets.js +64 -0
  21. package/dist/commonjs/mcp-server/tools/pendleMarkets.js.map +1 -0
  22. package/dist/commonjs/mcp-server/tools/pendlePositions.d.ts +8 -0
  23. package/dist/commonjs/mcp-server/tools/pendlePositions.d.ts.map +1 -0
  24. package/dist/commonjs/mcp-server/tools/pendlePositions.js +64 -0
  25. package/dist/commonjs/mcp-server/tools/pendlePositions.js.map +1 -0
  26. package/dist/commonjs/models/components/compassapibackendmodelsgenericreadresponseportfoliotokenbalance.d.ts +63 -0
  27. package/dist/commonjs/models/components/compassapibackendmodelsgenericreadresponseportfoliotokenbalance.d.ts.map +1 -0
  28. package/dist/commonjs/models/components/{tokenbalance.js → compassapibackendmodelsgenericreadresponseportfoliotokenbalance.js} +19 -17
  29. package/dist/commonjs/models/components/compassapibackendmodelsgenericreadresponseportfoliotokenbalance.js.map +1 -0
  30. package/dist/commonjs/models/components/compassapibackendmodelspendlereadresponsepositionstokenbalance.d.ts +31 -0
  31. package/dist/commonjs/models/components/compassapibackendmodelspendlereadresponsepositionstokenbalance.d.ts.map +1 -0
  32. package/dist/commonjs/models/components/compassapibackendmodelspendlereadresponsepositionstokenbalance.js +73 -0
  33. package/dist/commonjs/models/components/compassapibackendmodelspendlereadresponsepositionstokenbalance.js.map +1 -0
  34. package/dist/commonjs/models/components/details.d.ts +45 -0
  35. package/dist/commonjs/models/components/details.d.ts.map +1 -0
  36. package/dist/commonjs/models/components/details.js +85 -0
  37. package/dist/commonjs/models/components/details.js.map +1 -0
  38. package/dist/commonjs/models/components/index.d.ts +12 -1
  39. package/dist/commonjs/models/components/index.d.ts.map +1 -1
  40. package/dist/commonjs/models/components/index.js +12 -1
  41. package/dist/commonjs/models/components/index.js.map +1 -1
  42. package/dist/commonjs/models/components/lpbalance.d.ts +33 -0
  43. package/dist/commonjs/models/components/lpbalance.d.ts.map +1 -0
  44. package/dist/commonjs/models/components/lpbalance.js +73 -0
  45. package/dist/commonjs/models/components/lpbalance.js.map +1 -0
  46. package/dist/commonjs/models/components/movement10percent.d.ts +35 -0
  47. package/dist/commonjs/models/components/movement10percent.d.ts.map +1 -0
  48. package/dist/commonjs/models/components/movement10percent.js +75 -0
  49. package/dist/commonjs/models/components/movement10percent.js.map +1 -0
  50. package/dist/commonjs/models/components/openposition.d.ts +37 -0
  51. package/dist/commonjs/models/components/openposition.d.ts.map +1 -0
  52. package/dist/commonjs/models/components/openposition.js +77 -0
  53. package/dist/commonjs/models/components/openposition.js.map +1 -0
  54. package/dist/commonjs/models/components/pendlelistmarketsresponse.d.ts +33 -0
  55. package/dist/commonjs/models/components/pendlelistmarketsresponse.d.ts.map +1 -0
  56. package/dist/commonjs/models/components/pendlelistmarketsresponse.js +70 -0
  57. package/dist/commonjs/models/components/pendlelistmarketsresponse.js.map +1 -0
  58. package/dist/commonjs/models/components/pendlelistuserpositionsresponse.d.ts +33 -0
  59. package/dist/commonjs/models/components/pendlelistuserpositionsresponse.d.ts.map +1 -0
  60. package/dist/commonjs/models/components/pendlelistuserpositionsresponse.js +70 -0
  61. package/dist/commonjs/models/components/pendlelistuserpositionsresponse.js.map +1 -0
  62. package/dist/commonjs/models/components/pendlemarket.d.ts +50 -0
  63. package/dist/commonjs/models/components/pendlemarket.d.ts.map +1 -0
  64. package/dist/commonjs/models/components/pendlemarket.js +90 -0
  65. package/dist/commonjs/models/components/pendlemarket.js.map +1 -0
  66. package/dist/commonjs/models/components/portfolio.d.ts +3 -3
  67. package/dist/commonjs/models/components/portfolio.d.ts.map +1 -1
  68. package/dist/commonjs/models/components/portfolio.js +3 -3
  69. package/dist/commonjs/models/components/portfolio.js.map +1 -1
  70. package/dist/commonjs/models/components/position.d.ts +45 -0
  71. package/dist/commonjs/models/components/position.d.ts.map +1 -0
  72. package/dist/commonjs/models/components/position.js +85 -0
  73. package/dist/commonjs/models/components/position.js.map +1 -0
  74. package/dist/commonjs/models/components/syposition.d.ts +31 -0
  75. package/dist/commonjs/models/components/syposition.d.ts.map +1 -0
  76. package/dist/commonjs/models/components/syposition.js +71 -0
  77. package/dist/commonjs/models/components/syposition.js.map +1 -0
  78. package/dist/commonjs/models/components/yieldrange.d.ts +31 -0
  79. package/dist/commonjs/models/components/yieldrange.d.ts.map +1 -0
  80. package/dist/commonjs/models/components/yieldrange.js +71 -0
  81. package/dist/commonjs/models/components/yieldrange.js.map +1 -0
  82. package/dist/commonjs/models/operations/index.d.ts +2 -0
  83. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  84. package/dist/commonjs/models/operations/index.js +2 -0
  85. package/dist/commonjs/models/operations/index.js.map +1 -1
  86. package/dist/commonjs/models/operations/pendlemarket.js +2 -2
  87. package/dist/commonjs/models/operations/pendlemarkets.d.ts +72 -0
  88. package/dist/commonjs/models/operations/pendlemarkets.d.ts.map +1 -0
  89. package/dist/commonjs/models/operations/pendlemarkets.js +94 -0
  90. package/dist/commonjs/models/operations/pendlemarkets.js.map +1 -0
  91. package/dist/commonjs/models/operations/pendleposition.js +2 -2
  92. package/dist/commonjs/models/operations/pendlepositions.d.ts +77 -0
  93. package/dist/commonjs/models/operations/pendlepositions.d.ts.map +1 -0
  94. package/dist/commonjs/models/operations/pendlepositions.js +105 -0
  95. package/dist/commonjs/models/operations/pendlepositions.js.map +1 -0
  96. package/dist/commonjs/sdk/pendle.d.ts +14 -0
  97. package/dist/commonjs/sdk/pendle.d.ts.map +1 -1
  98. package/dist/commonjs/sdk/pendle.js +20 -0
  99. package/dist/commonjs/sdk/pendle.js.map +1 -1
  100. package/dist/esm/funcs/pendleMarkets.d.ts +18 -0
  101. package/dist/esm/funcs/pendleMarkets.d.ts.map +1 -0
  102. package/dist/esm/funcs/pendleMarkets.js +85 -0
  103. package/dist/esm/funcs/pendleMarkets.js.map +1 -0
  104. package/dist/esm/funcs/pendlePositions.d.ts +18 -0
  105. package/dist/esm/funcs/pendlePositions.d.ts.map +1 -0
  106. package/dist/esm/funcs/pendlePositions.js +86 -0
  107. package/dist/esm/funcs/pendlePositions.js.map +1 -0
  108. package/dist/esm/lib/config.d.ts +2 -2
  109. package/dist/esm/lib/config.js +2 -2
  110. package/dist/esm/mcp-server/mcp-server.js +1 -1
  111. package/dist/esm/mcp-server/server.d.ts.map +1 -1
  112. package/dist/esm/mcp-server/server.js +5 -1
  113. package/dist/esm/mcp-server/server.js.map +1 -1
  114. package/dist/esm/mcp-server/tools/pendleMarkets.d.ts +8 -0
  115. package/dist/esm/mcp-server/tools/pendleMarkets.d.ts.map +1 -0
  116. package/dist/esm/mcp-server/tools/pendleMarkets.js +28 -0
  117. package/dist/esm/mcp-server/tools/pendleMarkets.js.map +1 -0
  118. package/dist/esm/mcp-server/tools/pendlePositions.d.ts +8 -0
  119. package/dist/esm/mcp-server/tools/pendlePositions.d.ts.map +1 -0
  120. package/dist/esm/mcp-server/tools/pendlePositions.js +28 -0
  121. package/dist/esm/mcp-server/tools/pendlePositions.js.map +1 -0
  122. package/dist/esm/models/components/compassapibackendmodelsgenericreadresponseportfoliotokenbalance.d.ts +63 -0
  123. package/dist/esm/models/components/compassapibackendmodelsgenericreadresponseportfoliotokenbalance.d.ts.map +1 -0
  124. package/dist/esm/models/components/compassapibackendmodelsgenericreadresponseportfoliotokenbalance.js +57 -0
  125. package/dist/esm/models/components/compassapibackendmodelsgenericreadresponseportfoliotokenbalance.js.map +1 -0
  126. package/dist/esm/models/components/compassapibackendmodelspendlereadresponsepositionstokenbalance.d.ts +31 -0
  127. package/dist/esm/models/components/compassapibackendmodelspendlereadresponsepositionstokenbalance.d.ts.map +1 -0
  128. package/dist/esm/models/components/compassapibackendmodelspendlereadresponsepositionstokenbalance.js +35 -0
  129. package/dist/esm/models/components/compassapibackendmodelspendlereadresponsepositionstokenbalance.js.map +1 -0
  130. package/dist/esm/models/components/details.d.ts +45 -0
  131. package/dist/esm/models/components/details.d.ts.map +1 -0
  132. package/dist/esm/models/components/details.js +47 -0
  133. package/dist/esm/models/components/details.js.map +1 -0
  134. package/dist/esm/models/components/index.d.ts +12 -1
  135. package/dist/esm/models/components/index.d.ts.map +1 -1
  136. package/dist/esm/models/components/index.js +12 -1
  137. package/dist/esm/models/components/index.js.map +1 -1
  138. package/dist/esm/models/components/lpbalance.d.ts +33 -0
  139. package/dist/esm/models/components/lpbalance.d.ts.map +1 -0
  140. package/dist/esm/models/components/lpbalance.js +35 -0
  141. package/dist/esm/models/components/lpbalance.js.map +1 -0
  142. package/dist/esm/models/components/movement10percent.d.ts +35 -0
  143. package/dist/esm/models/components/movement10percent.d.ts.map +1 -0
  144. package/dist/esm/models/components/movement10percent.js +37 -0
  145. package/dist/esm/models/components/movement10percent.js.map +1 -0
  146. package/dist/esm/models/components/openposition.d.ts +37 -0
  147. package/dist/esm/models/components/openposition.d.ts.map +1 -0
  148. package/dist/esm/models/components/openposition.js +39 -0
  149. package/dist/esm/models/components/openposition.js.map +1 -0
  150. package/dist/esm/models/components/pendlelistmarketsresponse.d.ts +33 -0
  151. package/dist/esm/models/components/pendlelistmarketsresponse.d.ts.map +1 -0
  152. package/dist/esm/models/components/pendlelistmarketsresponse.js +32 -0
  153. package/dist/esm/models/components/pendlelistmarketsresponse.js.map +1 -0
  154. package/dist/esm/models/components/pendlelistuserpositionsresponse.d.ts +33 -0
  155. package/dist/esm/models/components/pendlelistuserpositionsresponse.d.ts.map +1 -0
  156. package/dist/esm/models/components/pendlelistuserpositionsresponse.js +32 -0
  157. package/dist/esm/models/components/pendlelistuserpositionsresponse.js.map +1 -0
  158. package/dist/esm/models/components/pendlemarket.d.ts +50 -0
  159. package/dist/esm/models/components/pendlemarket.d.ts.map +1 -0
  160. package/dist/esm/models/components/pendlemarket.js +52 -0
  161. package/dist/esm/models/components/pendlemarket.js.map +1 -0
  162. package/dist/esm/models/components/portfolio.d.ts +3 -3
  163. package/dist/esm/models/components/portfolio.d.ts.map +1 -1
  164. package/dist/esm/models/components/portfolio.js +3 -3
  165. package/dist/esm/models/components/portfolio.js.map +1 -1
  166. package/dist/esm/models/components/position.d.ts +45 -0
  167. package/dist/esm/models/components/position.d.ts.map +1 -0
  168. package/dist/esm/models/components/position.js +47 -0
  169. package/dist/esm/models/components/position.js.map +1 -0
  170. package/dist/esm/models/components/syposition.d.ts +31 -0
  171. package/dist/esm/models/components/syposition.d.ts.map +1 -0
  172. package/dist/esm/models/components/syposition.js +33 -0
  173. package/dist/esm/models/components/syposition.js.map +1 -0
  174. package/dist/esm/models/components/yieldrange.d.ts +31 -0
  175. package/dist/esm/models/components/yieldrange.d.ts.map +1 -0
  176. package/dist/esm/models/components/yieldrange.js +33 -0
  177. package/dist/esm/models/components/yieldrange.js.map +1 -0
  178. package/dist/esm/models/operations/index.d.ts +2 -0
  179. package/dist/esm/models/operations/index.d.ts.map +1 -1
  180. package/dist/esm/models/operations/index.js +2 -0
  181. package/dist/esm/models/operations/index.js.map +1 -1
  182. package/dist/esm/models/operations/pendlemarket.js +2 -2
  183. package/dist/esm/models/operations/pendlemarkets.d.ts +72 -0
  184. package/dist/esm/models/operations/pendlemarkets.d.ts.map +1 -0
  185. package/dist/esm/models/operations/pendlemarkets.js +56 -0
  186. package/dist/esm/models/operations/pendlemarkets.js.map +1 -0
  187. package/dist/esm/models/operations/pendleposition.js +2 -2
  188. package/dist/esm/models/operations/pendlepositions.d.ts +77 -0
  189. package/dist/esm/models/operations/pendlepositions.d.ts.map +1 -0
  190. package/dist/esm/models/operations/pendlepositions.js +67 -0
  191. package/dist/esm/models/operations/pendlepositions.js.map +1 -0
  192. package/dist/esm/sdk/pendle.d.ts +14 -0
  193. package/dist/esm/sdk/pendle.d.ts.map +1 -1
  194. package/dist/esm/sdk/pendle.js +20 -0
  195. package/dist/esm/sdk/pendle.js.map +1 -1
  196. package/docs/sdks/pendle/README.md +162 -4
  197. package/jsr.json +1 -1
  198. package/package.json +1 -1
  199. package/src/funcs/pendleMarkets.ts +169 -0
  200. package/src/funcs/pendlePositions.ts +170 -0
  201. package/src/lib/config.ts +2 -2
  202. package/src/mcp-server/mcp-server.ts +1 -1
  203. package/src/mcp-server/server.ts +5 -1
  204. package/src/mcp-server/tools/pendleMarkets.ts +37 -0
  205. package/src/mcp-server/tools/pendlePositions.ts +37 -0
  206. package/src/models/components/compassapibackendmodelsgenericreadresponseportfoliotokenbalance.ts +140 -0
  207. package/src/models/components/compassapibackendmodelspendlereadresponsepositionstokenbalance.ts +83 -0
  208. package/src/models/components/details.ts +99 -0
  209. package/src/models/components/index.ts +12 -1
  210. package/src/models/components/lpbalance.ts +70 -0
  211. package/src/models/components/movement10percent.ts +78 -0
  212. package/src/models/components/openposition.ts +90 -0
  213. package/src/models/components/pendlelistmarketsresponse.ts +75 -0
  214. package/src/models/components/pendlelistuserpositionsresponse.ts +77 -0
  215. package/src/models/components/pendlemarket.ts +108 -0
  216. package/src/models/components/portfolio.ts +17 -9
  217. package/src/models/components/position.ts +102 -0
  218. package/src/models/components/syposition.ts +66 -0
  219. package/src/models/components/yieldrange.ts +66 -0
  220. package/src/models/operations/index.ts +2 -0
  221. package/src/models/operations/pendlemarket.ts +2 -2
  222. package/src/models/operations/pendlemarkets.ts +111 -0
  223. package/src/models/operations/pendleposition.ts +2 -2
  224. package/src/models/operations/pendlepositions.ts +129 -0
  225. package/src/sdk/pendle.ts +36 -0
  226. package/dist/commonjs/models/components/tokenbalance.d.ts +0 -63
  227. package/dist/commonjs/models/components/tokenbalance.d.ts.map +0 -1
  228. package/dist/commonjs/models/components/tokenbalance.js.map +0 -1
  229. package/dist/esm/models/components/tokenbalance.d.ts +0 -63
  230. package/dist/esm/models/components/tokenbalance.d.ts.map +0 -1
  231. package/dist/esm/models/components/tokenbalance.js +0 -55
  232. package/dist/esm/models/components/tokenbalance.js.map +0 -1
  233. package/src/models/components/tokenbalance.ts +0 -123
package/bin/mcp-server.js CHANGED
@@ -34205,9 +34205,9 @@ var init_config = __esm(() => {
34205
34205
  SDK_METADATA = {
34206
34206
  language: "typescript",
34207
34207
  openapiDocVersion: "0.0.1",
34208
- sdkVersion: "0.2.1",
34208
+ sdkVersion: "0.2.2",
34209
34209
  genVersion: "2.610.0",
34210
- userAgent: "speakeasy-sdk/typescript 0.2.1 2.610.0 0.0.1 @compass-labs/api-sdk"
34210
+ userAgent: "speakeasy-sdk/typescript 0.2.2 2.610.0 0.0.1 @compass-labs/api-sdk"
34211
34211
  };
34212
34212
  });
34213
34213
 
@@ -38678,6 +38678,46 @@ var init_chaininfo = __esm(() => {
38678
38678
  })(ChainInfo$ ||= {});
38679
38679
  });
38680
38680
 
38681
+ // src/models/components/compassapibackendmodelsgenericreadresponseportfoliotokenbalance.ts
38682
+ var CompassApiBackendModelsGenericReadResponsePortfolioTokenBalance$inboundSchema, CompassApiBackendModelsGenericReadResponsePortfolioTokenBalance$outboundSchema, CompassApiBackendModelsGenericReadResponsePortfolioTokenBalance$;
38683
+ var init_compassapibackendmodelsgenericreadresponseportfoliotokenbalance = __esm(() => {
38684
+ init_esm();
38685
+ init_primitives();
38686
+ init_tokenenum();
38687
+ CompassApiBackendModelsGenericReadResponsePortfolioTokenBalance$inboundSchema = objectType({
38688
+ amount: stringType(),
38689
+ decimals: numberType().int(),
38690
+ token_symbol: TokenEnum$inboundSchema,
38691
+ token_address: stringType(),
38692
+ price: stringType(),
38693
+ token_value_in_usd: stringType()
38694
+ }).transform((v2) => {
38695
+ return remap(v2, {
38696
+ token_symbol: "tokenSymbol",
38697
+ token_address: "tokenAddress",
38698
+ token_value_in_usd: "tokenValueInUsd"
38699
+ });
38700
+ });
38701
+ CompassApiBackendModelsGenericReadResponsePortfolioTokenBalance$outboundSchema = objectType({
38702
+ amount: stringType(),
38703
+ decimals: numberType().int(),
38704
+ tokenSymbol: TokenEnum$outboundSchema,
38705
+ tokenAddress: stringType(),
38706
+ price: stringType(),
38707
+ tokenValueInUsd: stringType()
38708
+ }).transform((v2) => {
38709
+ return remap(v2, {
38710
+ tokenSymbol: "token_symbol",
38711
+ tokenAddress: "token_address",
38712
+ tokenValueInUsd: "token_value_in_usd"
38713
+ });
38714
+ });
38715
+ ((CompassApiBackendModelsGenericReadResponsePortfolioTokenBalance$) => {
38716
+ CompassApiBackendModelsGenericReadResponsePortfolioTokenBalance$.inboundSchema = CompassApiBackendModelsGenericReadResponsePortfolioTokenBalance$inboundSchema;
38717
+ CompassApiBackendModelsGenericReadResponsePortfolioTokenBalance$.outboundSchema = CompassApiBackendModelsGenericReadResponsePortfolioTokenBalance$outboundSchema;
38718
+ })(CompassApiBackendModelsGenericReadResponsePortfolioTokenBalance$ ||= {});
38719
+ });
38720
+
38681
38721
  // src/models/components/compassapibackendmodelsmorphoreadresponsecheckuserpositionapydata.ts
38682
38722
  var CompassApiBackendModelsMorphoReadResponseCheckUserPositionApyData$inboundSchema, CompassApiBackendModelsMorphoReadResponseCheckUserPositionApyData$outboundSchema, CompassApiBackendModelsMorphoReadResponseCheckUserPositionApyData$;
38683
38723
  var init_compassapibackendmodelsmorphoreadresponsecheckuserpositionapydata = __esm(() => {
@@ -39027,6 +39067,24 @@ var init_compassapibackendmodelsmorphoreadresponsegetvaultvaultstate = __esm(()
39027
39067
  })(CompassApiBackendModelsMorphoReadResponseGetVaultVaultState$ ||= {});
39028
39068
  });
39029
39069
 
39070
+ // src/models/components/compassapibackendmodelspendlereadresponsepositionstokenbalance.ts
39071
+ var CompassApiBackendModelsPendleReadResponsePositionsTokenBalance$inboundSchema, CompassApiBackendModelsPendleReadResponsePositionsTokenBalance$outboundSchema, CompassApiBackendModelsPendleReadResponsePositionsTokenBalance$;
39072
+ var init_compassapibackendmodelspendlereadresponsepositionstokenbalance = __esm(() => {
39073
+ init_esm();
39074
+ CompassApiBackendModelsPendleReadResponsePositionsTokenBalance$inboundSchema = objectType({
39075
+ valuation: numberType(),
39076
+ balance: stringType()
39077
+ });
39078
+ CompassApiBackendModelsPendleReadResponsePositionsTokenBalance$outboundSchema = objectType({
39079
+ valuation: numberType(),
39080
+ balance: stringType()
39081
+ });
39082
+ ((CompassApiBackendModelsPendleReadResponsePositionsTokenBalance$) => {
39083
+ CompassApiBackendModelsPendleReadResponsePositionsTokenBalance$.inboundSchema = CompassApiBackendModelsPendleReadResponsePositionsTokenBalance$inboundSchema;
39084
+ CompassApiBackendModelsPendleReadResponsePositionsTokenBalance$.outboundSchema = CompassApiBackendModelsPendleReadResponsePositionsTokenBalance$outboundSchema;
39085
+ })(CompassApiBackendModelsPendleReadResponsePositionsTokenBalance$ ||= {});
39086
+ });
39087
+
39030
39088
  // src/models/components/curator.ts
39031
39089
  var Curator$inboundSchema, Curator$outboundSchema, Curator$;
39032
39090
  var init_curator = __esm(() => {
@@ -39049,6 +39107,78 @@ var init_curator = __esm(() => {
39049
39107
  })(Curator$ ||= {});
39050
39108
  });
39051
39109
 
39110
+ // src/models/components/movement10percent.ts
39111
+ var Movement10Percent$inboundSchema, Movement10Percent$outboundSchema, Movement10Percent$;
39112
+ var init_movement10percent = __esm(() => {
39113
+ init_esm();
39114
+ Movement10Percent$inboundSchema = objectType({
39115
+ ptMovementUpUsd: numberType(),
39116
+ ptMovementDownUsd: numberType(),
39117
+ ytMovementUpUsd: numberType(),
39118
+ ytMovementDownUsd: numberType()
39119
+ });
39120
+ Movement10Percent$outboundSchema = objectType({
39121
+ ptMovementUpUsd: numberType(),
39122
+ ptMovementDownUsd: numberType(),
39123
+ ytMovementUpUsd: numberType(),
39124
+ ytMovementDownUsd: numberType()
39125
+ });
39126
+ ((Movement10Percent$) => {
39127
+ Movement10Percent$.inboundSchema = Movement10Percent$inboundSchema;
39128
+ Movement10Percent$.outboundSchema = Movement10Percent$outboundSchema;
39129
+ })(Movement10Percent$ ||= {});
39130
+ });
39131
+
39132
+ // src/models/components/yieldrange.ts
39133
+ var YieldRange$inboundSchema, YieldRange$outboundSchema, YieldRange$;
39134
+ var init_yieldrange = __esm(() => {
39135
+ init_esm();
39136
+ YieldRange$inboundSchema = objectType({
39137
+ min: numberType(),
39138
+ max: numberType()
39139
+ });
39140
+ YieldRange$outboundSchema = objectType({
39141
+ min: numberType(),
39142
+ max: numberType()
39143
+ });
39144
+ ((YieldRange$) => {
39145
+ YieldRange$.inboundSchema = YieldRange$inboundSchema;
39146
+ YieldRange$.outboundSchema = YieldRange$outboundSchema;
39147
+ })(YieldRange$ ||= {});
39148
+ });
39149
+
39150
+ // src/models/components/details.ts
39151
+ var Details$inboundSchema, Details$outboundSchema, Details$;
39152
+ var init_details = __esm(() => {
39153
+ init_esm();
39154
+ init_movement10percent();
39155
+ init_yieldrange();
39156
+ Details$inboundSchema = objectType({
39157
+ liquidity: numberType(),
39158
+ pendleApy: numberType(),
39159
+ impliedApy: numberType(),
39160
+ feeRate: numberType(),
39161
+ movement10Percent: Movement10Percent$inboundSchema,
39162
+ yieldRange: YieldRange$inboundSchema,
39163
+ aggregatedApy: numberType(),
39164
+ maxBoostedApy: numberType()
39165
+ });
39166
+ Details$outboundSchema = objectType({
39167
+ liquidity: numberType(),
39168
+ pendleApy: numberType(),
39169
+ impliedApy: numberType(),
39170
+ feeRate: numberType(),
39171
+ movement10Percent: Movement10Percent$outboundSchema,
39172
+ yieldRange: YieldRange$outboundSchema,
39173
+ aggregatedApy: numberType(),
39174
+ maxBoostedApy: numberType()
39175
+ });
39176
+ ((Details$) => {
39177
+ Details$.inboundSchema = Details$inboundSchema;
39178
+ Details$.outboundSchema = Details$outboundSchema;
39179
+ })(Details$ ||= {});
39180
+ });
39181
+
39052
39182
  // src/models/components/ensnameinforesponse.ts
39053
39183
  var EnsNameInfoResponse$inboundSchema, EnsNameInfoResponse$outboundSchema, EnsNameInfoResponse$;
39054
39184
  var init_ensnameinforesponse = __esm(() => {
@@ -39190,6 +39320,26 @@ var init_liquidity = __esm(() => {
39190
39320
  })(Liquidity$ ||= {});
39191
39321
  });
39192
39322
 
39323
+ // src/models/components/lpbalance.ts
39324
+ var LpBalance$inboundSchema, LpBalance$outboundSchema, LpBalance$;
39325
+ var init_lpbalance = __esm(() => {
39326
+ init_esm();
39327
+ LpBalance$inboundSchema = objectType({
39328
+ valuation: numberType(),
39329
+ balance: stringType(),
39330
+ activeBalance: stringType()
39331
+ });
39332
+ LpBalance$outboundSchema = objectType({
39333
+ valuation: numberType(),
39334
+ balance: stringType(),
39335
+ activeBalance: stringType()
39336
+ });
39337
+ ((LpBalance$) => {
39338
+ LpBalance$.inboundSchema = LpBalance$inboundSchema;
39339
+ LpBalance$.outboundSchema = LpBalance$outboundSchema;
39340
+ })(LpBalance$ ||= {});
39341
+ });
39342
+
39193
39343
  // src/models/components/market.ts
39194
39344
  var Market$inboundSchema, Market$outboundSchema, Market$;
39195
39345
  var init_market = __esm(() => {
@@ -40043,6 +40193,30 @@ var init_multicallexecuterequest = __esm(() => {
40043
40193
  })(MulticallExecuteRequest$ ||= {});
40044
40194
  });
40045
40195
 
40196
+ // src/models/components/openposition.ts
40197
+ var OpenPosition$inboundSchema, OpenPosition$outboundSchema, OpenPosition$;
40198
+ var init_openposition = __esm(() => {
40199
+ init_esm();
40200
+ init_compassapibackendmodelspendlereadresponsepositionstokenbalance();
40201
+ init_lpbalance();
40202
+ OpenPosition$inboundSchema = objectType({
40203
+ marketId: stringType(),
40204
+ pt: CompassApiBackendModelsPendleReadResponsePositionsTokenBalance$inboundSchema,
40205
+ yt: CompassApiBackendModelsPendleReadResponsePositionsTokenBalance$inboundSchema,
40206
+ lp: LpBalance$inboundSchema
40207
+ });
40208
+ OpenPosition$outboundSchema = objectType({
40209
+ marketId: stringType(),
40210
+ pt: CompassApiBackendModelsPendleReadResponsePositionsTokenBalance$outboundSchema,
40211
+ yt: CompassApiBackendModelsPendleReadResponsePositionsTokenBalance$outboundSchema,
40212
+ lp: LpBalance$outboundSchema
40213
+ });
40214
+ ((OpenPosition$) => {
40215
+ OpenPosition$.inboundSchema = OpenPosition$inboundSchema;
40216
+ OpenPosition$.outboundSchema = OpenPosition$outboundSchema;
40217
+ })(OpenPosition$ ||= {});
40218
+ });
40219
+
40046
40220
  // src/models/components/pendlegetmarketresponse.ts
40047
40221
  var PendleGetMarketResponse$inboundSchema, PendleGetMarketResponse$outboundSchema, PendleGetMarketResponse$;
40048
40222
  var init_pendlegetmarketresponse = __esm(() => {
@@ -40136,44 +40310,125 @@ var init_pendlegetuserpositionresponse = __esm(() => {
40136
40310
  })(PendleGetUserPositionResponse$ ||= {});
40137
40311
  });
40138
40312
 
40139
- // src/models/components/tokenbalance.ts
40140
- var TokenBalance$inboundSchema, TokenBalance$outboundSchema, TokenBalance$;
40141
- var init_tokenbalance = __esm(() => {
40313
+ // src/models/components/pendlemarket.ts
40314
+ var PendleMarket$inboundSchema, PendleMarket$outboundSchema, PendleMarket$;
40315
+ var init_pendlemarket = __esm(() => {
40142
40316
  init_esm();
40143
- init_primitives();
40144
- init_tokenenum();
40145
- TokenBalance$inboundSchema = objectType({
40146
- amount: stringType(),
40147
- decimals: numberType().int(),
40148
- token_symbol: TokenEnum$inboundSchema,
40149
- token_address: stringType(),
40150
- price: stringType(),
40151
- token_value_in_usd: stringType()
40152
- }).transform((v2) => {
40153
- return remap(v2, {
40154
- token_symbol: "tokenSymbol",
40155
- token_address: "tokenAddress",
40156
- token_value_in_usd: "tokenValueInUsd"
40157
- });
40317
+ init_details();
40318
+ PendleMarket$inboundSchema = objectType({
40319
+ name: stringType(),
40320
+ address: stringType(),
40321
+ expiry: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
40322
+ pt: stringType(),
40323
+ yt: stringType(),
40324
+ sy: stringType(),
40325
+ underlyingAsset: stringType(),
40326
+ details: Details$inboundSchema,
40327
+ isNew: booleanType(),
40328
+ isPrime: booleanType(),
40329
+ timestamp: stringType().datetime({ offset: true }).transform((v2) => new Date(v2))
40330
+ });
40331
+ PendleMarket$outboundSchema = objectType({
40332
+ name: stringType(),
40333
+ address: stringType(),
40334
+ expiry: dateType().transform((v2) => v2.toISOString()),
40335
+ pt: stringType(),
40336
+ yt: stringType(),
40337
+ sy: stringType(),
40338
+ underlyingAsset: stringType(),
40339
+ details: Details$outboundSchema,
40340
+ isNew: booleanType(),
40341
+ isPrime: booleanType(),
40342
+ timestamp: dateType().transform((v2) => v2.toISOString())
40343
+ });
40344
+ ((PendleMarket$) => {
40345
+ PendleMarket$.inboundSchema = PendleMarket$inboundSchema;
40346
+ PendleMarket$.outboundSchema = PendleMarket$outboundSchema;
40347
+ })(PendleMarket$ ||= {});
40348
+ });
40349
+
40350
+ // src/models/components/pendlelistmarketsresponse.ts
40351
+ var PendleListMarketsResponse$inboundSchema, PendleListMarketsResponse$outboundSchema, PendleListMarketsResponse$;
40352
+ var init_pendlelistmarketsresponse = __esm(() => {
40353
+ init_esm();
40354
+ init_pendlemarket();
40355
+ PendleListMarketsResponse$inboundSchema = objectType({
40356
+ markets: arrayType(PendleMarket$inboundSchema)
40158
40357
  });
40159
- TokenBalance$outboundSchema = objectType({
40160
- amount: stringType(),
40161
- decimals: numberType().int(),
40162
- tokenSymbol: TokenEnum$outboundSchema,
40163
- tokenAddress: stringType(),
40164
- price: stringType(),
40165
- tokenValueInUsd: stringType()
40166
- }).transform((v2) => {
40167
- return remap(v2, {
40168
- tokenSymbol: "token_symbol",
40169
- tokenAddress: "token_address",
40170
- tokenValueInUsd: "token_value_in_usd"
40171
- });
40358
+ PendleListMarketsResponse$outboundSchema = objectType({
40359
+ markets: arrayType(PendleMarket$outboundSchema)
40360
+ });
40361
+ ((PendleListMarketsResponse$) => {
40362
+ PendleListMarketsResponse$.inboundSchema = PendleListMarketsResponse$inboundSchema;
40363
+ PendleListMarketsResponse$.outboundSchema = PendleListMarketsResponse$outboundSchema;
40364
+ })(PendleListMarketsResponse$ ||= {});
40365
+ });
40366
+
40367
+ // src/models/components/syposition.ts
40368
+ var SyPosition$inboundSchema, SyPosition$outboundSchema, SyPosition$;
40369
+ var init_syposition = __esm(() => {
40370
+ init_esm();
40371
+ SyPosition$inboundSchema = objectType({
40372
+ syId: stringType(),
40373
+ balance: stringType()
40374
+ });
40375
+ SyPosition$outboundSchema = objectType({
40376
+ syId: stringType(),
40377
+ balance: stringType()
40378
+ });
40379
+ ((SyPosition$) => {
40380
+ SyPosition$.inboundSchema = SyPosition$inboundSchema;
40381
+ SyPosition$.outboundSchema = SyPosition$outboundSchema;
40382
+ })(SyPosition$ ||= {});
40383
+ });
40384
+
40385
+ // src/models/components/position.ts
40386
+ var Position$inboundSchema, Position$outboundSchema, Position$;
40387
+ var init_position = __esm(() => {
40388
+ init_esm();
40389
+ init_openposition();
40390
+ init_syposition();
40391
+ Position$inboundSchema = objectType({
40392
+ chainId: numberType().int(),
40393
+ totalOpen: numberType().int(),
40394
+ totalClosed: numberType().int(),
40395
+ totalSy: numberType().int(),
40396
+ openPositions: arrayType(OpenPosition$inboundSchema),
40397
+ closedPositions: arrayType(OpenPosition$inboundSchema),
40398
+ syPositions: arrayType(SyPosition$inboundSchema),
40399
+ updatedAt: stringType().datetime({ offset: true }).transform((v2) => new Date(v2))
40400
+ });
40401
+ Position$outboundSchema = objectType({
40402
+ chainId: numberType().int(),
40403
+ totalOpen: numberType().int(),
40404
+ totalClosed: numberType().int(),
40405
+ totalSy: numberType().int(),
40406
+ openPositions: arrayType(OpenPosition$outboundSchema),
40407
+ closedPositions: arrayType(OpenPosition$outboundSchema),
40408
+ syPositions: arrayType(SyPosition$outboundSchema),
40409
+ updatedAt: dateType().transform((v2) => v2.toISOString())
40410
+ });
40411
+ ((Position$) => {
40412
+ Position$.inboundSchema = Position$inboundSchema;
40413
+ Position$.outboundSchema = Position$outboundSchema;
40414
+ })(Position$ ||= {});
40415
+ });
40416
+
40417
+ // src/models/components/pendlelistuserpositionsresponse.ts
40418
+ var PendleListUserPositionsResponse$inboundSchema, PendleListUserPositionsResponse$outboundSchema, PendleListUserPositionsResponse$;
40419
+ var init_pendlelistuserpositionsresponse = __esm(() => {
40420
+ init_esm();
40421
+ init_position();
40422
+ PendleListUserPositionsResponse$inboundSchema = objectType({
40423
+ positions: arrayType(Position$inboundSchema)
40424
+ });
40425
+ PendleListUserPositionsResponse$outboundSchema = objectType({
40426
+ positions: arrayType(Position$outboundSchema)
40172
40427
  });
40173
- ((TokenBalance$) => {
40174
- TokenBalance$.inboundSchema = TokenBalance$inboundSchema;
40175
- TokenBalance$.outboundSchema = TokenBalance$outboundSchema;
40176
- })(TokenBalance$ ||= {});
40428
+ ((PendleListUserPositionsResponse$) => {
40429
+ PendleListUserPositionsResponse$.inboundSchema = PendleListUserPositionsResponse$inboundSchema;
40430
+ PendleListUserPositionsResponse$.outboundSchema = PendleListUserPositionsResponse$outboundSchema;
40431
+ })(PendleListUserPositionsResponse$ ||= {});
40177
40432
  });
40178
40433
 
40179
40434
  // src/models/components/portfolio.ts
@@ -40181,10 +40436,10 @@ var Portfolio$inboundSchema, Portfolio$outboundSchema, Portfolio$;
40181
40436
  var init_portfolio = __esm(() => {
40182
40437
  init_esm();
40183
40438
  init_primitives();
40184
- init_tokenbalance();
40439
+ init_compassapibackendmodelsgenericreadresponseportfoliotokenbalance();
40185
40440
  Portfolio$inboundSchema = objectType({
40186
40441
  total_value_in_usd: stringType(),
40187
- token_balances: arrayType(TokenBalance$inboundSchema)
40442
+ token_balances: arrayType(CompassApiBackendModelsGenericReadResponsePortfolioTokenBalance$inboundSchema)
40188
40443
  }).transform((v2) => {
40189
40444
  return remap(v2, {
40190
40445
  total_value_in_usd: "totalValueInUsd",
@@ -40193,7 +40448,7 @@ var init_portfolio = __esm(() => {
40193
40448
  });
40194
40449
  Portfolio$outboundSchema = objectType({
40195
40450
  totalValueInUsd: stringType(),
40196
- tokenBalances: arrayType(TokenBalance$outboundSchema)
40451
+ tokenBalances: arrayType(CompassApiBackendModelsGenericReadResponsePortfolioTokenBalance$outboundSchema)
40197
40452
  }).transform((v2) => {
40198
40453
  return remap(v2, {
40199
40454
  totalValueInUsd: "total_value_in_usd",
@@ -41231,6 +41486,7 @@ var init_components = __esm(() => {
41231
41486
  init_borrow();
41232
41487
  init_chain();
41233
41488
  init_chaininfo();
41489
+ init_compassapibackendmodelsgenericreadresponseportfoliotokenbalance();
41234
41490
  init_compassapibackendmodelsmorphoreadresponsecheckuserpositionapydata();
41235
41491
  init_compassapibackendmodelsmorphoreadresponsecheckuserpositionasset();
41236
41492
  init_compassapibackendmodelsmorphoreadresponsecheckuserpositionmarketstate();
@@ -41244,8 +41500,10 @@ var init_components = __esm(() => {
41244
41500
  init_compassapibackendmodelsmorphoreadresponsegetvaultsasset();
41245
41501
  init_compassapibackendmodelsmorphoreadresponsegetvaultsvaultstate();
41246
41502
  init_compassapibackendmodelsmorphoreadresponsegetvaultvaultstate();
41503
+ init_compassapibackendmodelspendlereadresponsepositionstokenbalance();
41247
41504
  init_contractname();
41248
41505
  init_curator();
41506
+ init_details();
41249
41507
  init_ensnameinforesponse();
41250
41508
  init_erc20data();
41251
41509
  init_feeenum();
@@ -41256,6 +41514,7 @@ var init_components = __esm(() => {
41256
41514
  init_interestratemode();
41257
41515
  init_liquidationcall();
41258
41516
  init_liquidity();
41517
+ init_lpbalance();
41259
41518
  init_market();
41260
41519
  init_marketposition();
41261
41520
  init_metadata();
@@ -41282,13 +41541,19 @@ var init_components = __esm(() => {
41282
41541
  init_morphowithdrawcollateralrequest();
41283
41542
  init_morphowithdrawparams();
41284
41543
  init_morphowithdrawrequest();
41544
+ init_movement10percent();
41285
41545
  init_multicallactiontype();
41286
41546
  init_multicallauthorizationrequest();
41287
41547
  init_multicallauthorizationresponse();
41288
41548
  init_multicallexecuterequest();
41549
+ init_openposition();
41289
41550
  init_pendlegetmarketresponse();
41290
41551
  init_pendlegetuserpositionresponse();
41552
+ init_pendlelistmarketsresponse();
41553
+ init_pendlelistuserpositionsresponse();
41554
+ init_pendlemarket();
41291
41555
  init_portfolio();
41556
+ init_position();
41292
41557
  init_redeemunderlying();
41293
41558
  init_repay();
41294
41559
  init_reserve();
@@ -41305,8 +41570,8 @@ var init_components = __esm(() => {
41305
41570
  init_skywithdrawrequest();
41306
41571
  init_supply();
41307
41572
  init_swapborrowrate();
41573
+ init_syposition();
41308
41574
  init_tokenaddressresponse();
41309
- init_tokenbalance();
41310
41575
  init_tokenbalanceresponse();
41311
41576
  init_tokenenum();
41312
41577
  init_tokeninfo();
@@ -41344,6 +41609,7 @@ var init_components = __esm(() => {
41344
41609
  init_weeklyapys();
41345
41610
  init_wrapethparams();
41346
41611
  init_wrapethrequest();
41612
+ init_yieldrange();
41347
41613
  });
41348
41614
 
41349
41615
  // src/models/errors/httpvalidationerror.ts
@@ -42778,7 +43044,7 @@ var init_morphovaults = __esm(() => {
42778
43044
 
42779
43045
  // src/models/operations/pendlemarket.ts
42780
43046
  var PendleMarketChain, PendleMarketChain$inboundSchema, PendleMarketChain$outboundSchema, PendleMarketChain$, PendleMarketRequest$inboundSchema, PendleMarketRequest$outboundSchema, PendleMarketRequest$;
42781
- var init_pendlemarket = __esm(() => {
43047
+ var init_pendlemarket2 = __esm(() => {
42782
43048
  init_esm();
42783
43049
  init_primitives();
42784
43050
  PendleMarketChain = {
@@ -42796,7 +43062,7 @@ var init_pendlemarket = __esm(() => {
42796
43062
  chain: PendleMarketChain$inboundSchema.default("ethereum:mainnet"),
42797
43063
  block: nullableType(numberType().int()).optional(),
42798
43064
  user_address: stringType().default("0xa829B388A3DF7f581cE957a95edbe419dd146d1B"),
42799
- market_address: stringType().default("0xdace1121e10500e9e29d071f01593fd76b000f08")
43065
+ market_address: stringType().default("0xc374f7ec85f8c7de3207a10bb1978ba104bda3b2")
42800
43066
  }).transform((v2) => {
42801
43067
  return remap(v2, {
42802
43068
  user_address: "userAddress",
@@ -42807,7 +43073,7 @@ var init_pendlemarket = __esm(() => {
42807
43073
  chain: PendleMarketChain$outboundSchema.default("ethereum:mainnet"),
42808
43074
  block: nullableType(numberType().int()).optional(),
42809
43075
  userAddress: stringType().default("0xa829B388A3DF7f581cE957a95edbe419dd146d1B"),
42810
- marketAddress: stringType().default("0xdace1121e10500e9e29d071f01593fd76b000f08")
43076
+ marketAddress: stringType().default("0xc374f7ec85f8c7de3207a10bb1978ba104bda3b2")
42811
43077
  }).transform((v2) => {
42812
43078
  return remap(v2, {
42813
43079
  userAddress: "user_address",
@@ -42820,6 +43086,35 @@ var init_pendlemarket = __esm(() => {
42820
43086
  })(PendleMarketRequest$ ||= {});
42821
43087
  });
42822
43088
 
43089
+ // src/models/operations/pendlemarkets.ts
43090
+ var PendleMarketsChain, PendleMarketsChain$inboundSchema, PendleMarketsChain$outboundSchema, PendleMarketsChain$, PendleMarketsRequest$inboundSchema, PendleMarketsRequest$outboundSchema, PendleMarketsRequest$;
43091
+ var init_pendlemarkets = __esm(() => {
43092
+ init_esm();
43093
+ PendleMarketsChain = {
43094
+ BaseMainnet: "base:mainnet",
43095
+ EthereumMainnet: "ethereum:mainnet",
43096
+ ArbitrumMainnet: "arbitrum:mainnet"
43097
+ };
43098
+ PendleMarketsChain$inboundSchema = nativeEnumType(PendleMarketsChain);
43099
+ PendleMarketsChain$outboundSchema = PendleMarketsChain$inboundSchema;
43100
+ ((PendleMarketsChain$) => {
43101
+ PendleMarketsChain$.inboundSchema = PendleMarketsChain$inboundSchema;
43102
+ PendleMarketsChain$.outboundSchema = PendleMarketsChain$outboundSchema;
43103
+ })(PendleMarketsChain$ ||= {});
43104
+ PendleMarketsRequest$inboundSchema = objectType({
43105
+ chain: PendleMarketsChain$inboundSchema.default("ethereum:mainnet"),
43106
+ block: nullableType(numberType().int()).optional()
43107
+ });
43108
+ PendleMarketsRequest$outboundSchema = objectType({
43109
+ chain: PendleMarketsChain$outboundSchema.default("ethereum:mainnet"),
43110
+ block: nullableType(numberType().int()).optional()
43111
+ });
43112
+ ((PendleMarketsRequest$) => {
43113
+ PendleMarketsRequest$.inboundSchema = PendleMarketsRequest$inboundSchema;
43114
+ PendleMarketsRequest$.outboundSchema = PendleMarketsRequest$outboundSchema;
43115
+ })(PendleMarketsRequest$ ||= {});
43116
+ });
43117
+
42823
43118
  // src/models/operations/pendleposition.ts
42824
43119
  var PendlePositionChain, PendlePositionChain$inboundSchema, PendlePositionChain$outboundSchema, PendlePositionChain$, PendlePositionRequest$inboundSchema, PendlePositionRequest$outboundSchema, PendlePositionRequest$;
42825
43120
  var init_pendleposition = __esm(() => {
@@ -42840,7 +43135,7 @@ var init_pendleposition = __esm(() => {
42840
43135
  chain: PendlePositionChain$inboundSchema.default("ethereum:mainnet"),
42841
43136
  block: nullableType(numberType().int()).optional(),
42842
43137
  user_address: stringType().default("0xa829B388A3DF7f581cE957a95edbe419dd146d1B"),
42843
- market_address: stringType().default("0xdace1121e10500e9e29d071f01593fd76b000f08")
43138
+ market_address: stringType().default("0xc374f7ec85f8c7de3207a10bb1978ba104bda3b2")
42844
43139
  }).transform((v2) => {
42845
43140
  return remap(v2, {
42846
43141
  user_address: "userAddress",
@@ -42851,7 +43146,7 @@ var init_pendleposition = __esm(() => {
42851
43146
  chain: PendlePositionChain$outboundSchema.default("ethereum:mainnet"),
42852
43147
  block: nullableType(numberType().int()).optional(),
42853
43148
  userAddress: stringType().default("0xa829B388A3DF7f581cE957a95edbe419dd146d1B"),
42854
- marketAddress: stringType().default("0xdace1121e10500e9e29d071f01593fd76b000f08")
43149
+ marketAddress: stringType().default("0xc374f7ec85f8c7de3207a10bb1978ba104bda3b2")
42855
43150
  }).transform((v2) => {
42856
43151
  return remap(v2, {
42857
43152
  userAddress: "user_address",
@@ -42864,6 +43159,46 @@ var init_pendleposition = __esm(() => {
42864
43159
  })(PendlePositionRequest$ ||= {});
42865
43160
  });
42866
43161
 
43162
+ // src/models/operations/pendlepositions.ts
43163
+ var PendlePositionsChain, PendlePositionsChain$inboundSchema, PendlePositionsChain$outboundSchema, PendlePositionsChain$, PendlePositionsRequest$inboundSchema, PendlePositionsRequest$outboundSchema, PendlePositionsRequest$;
43164
+ var init_pendlepositions = __esm(() => {
43165
+ init_esm();
43166
+ init_primitives();
43167
+ PendlePositionsChain = {
43168
+ BaseMainnet: "base:mainnet",
43169
+ EthereumMainnet: "ethereum:mainnet",
43170
+ ArbitrumMainnet: "arbitrum:mainnet"
43171
+ };
43172
+ PendlePositionsChain$inboundSchema = nativeEnumType(PendlePositionsChain);
43173
+ PendlePositionsChain$outboundSchema = PendlePositionsChain$inboundSchema;
43174
+ ((PendlePositionsChain$) => {
43175
+ PendlePositionsChain$.inboundSchema = PendlePositionsChain$inboundSchema;
43176
+ PendlePositionsChain$.outboundSchema = PendlePositionsChain$outboundSchema;
43177
+ })(PendlePositionsChain$ ||= {});
43178
+ PendlePositionsRequest$inboundSchema = objectType({
43179
+ chain: PendlePositionsChain$inboundSchema.default("ethereum:mainnet"),
43180
+ block: nullableType(numberType().int()).optional(),
43181
+ user_address: stringType().default("0xa829B388A3DF7f581cE957a95edbe419dd146d1B")
43182
+ }).transform((v2) => {
43183
+ return remap(v2, {
43184
+ user_address: "userAddress"
43185
+ });
43186
+ });
43187
+ PendlePositionsRequest$outboundSchema = objectType({
43188
+ chain: PendlePositionsChain$outboundSchema.default("ethereum:mainnet"),
43189
+ block: nullableType(numberType().int()).optional(),
43190
+ userAddress: stringType().default("0xa829B388A3DF7f581cE957a95edbe419dd146d1B")
43191
+ }).transform((v2) => {
43192
+ return remap(v2, {
43193
+ userAddress: "user_address"
43194
+ });
43195
+ });
43196
+ ((PendlePositionsRequest$) => {
43197
+ PendlePositionsRequest$.inboundSchema = PendlePositionsRequest$inboundSchema;
43198
+ PendlePositionsRequest$.outboundSchema = PendlePositionsRequest$outboundSchema;
43199
+ })(PendlePositionsRequest$ ||= {});
43200
+ });
43201
+
42867
43202
  // src/models/operations/skyposition.ts
42868
43203
  var SkyPositionRequest$inboundSchema, SkyPositionRequest$outboundSchema, SkyPositionRequest$;
42869
43204
  var init_skyposition = __esm(() => {
@@ -42978,7 +43313,7 @@ var init_tokenaddress = __esm(() => {
42978
43313
 
42979
43314
  // src/models/operations/tokenbalance.ts
42980
43315
  var TokenBalanceChain, TokenBalanceChain$inboundSchema, TokenBalanceChain$outboundSchema, TokenBalanceChain$, TokenBalanceToken$inboundSchema, TokenBalanceToken$outboundSchema, TokenBalanceToken$, TokenBalanceRequest$inboundSchema, TokenBalanceRequest$outboundSchema, TokenBalanceRequest$;
42981
- var init_tokenbalance2 = __esm(() => {
43316
+ var init_tokenbalance = __esm(() => {
42982
43317
  init_esm();
42983
43318
  init_components();
42984
43319
  TokenBalanceChain = {
@@ -43699,11 +44034,13 @@ var init_operations = __esm(() => {
43699
44034
  init_morphovault2();
43700
44035
  init_morphovaultposition();
43701
44036
  init_morphovaults();
43702
- init_pendlemarket();
44037
+ init_pendlemarket2();
44038
+ init_pendlemarkets();
43703
44039
  init_pendleposition();
44040
+ init_pendlepositions();
43704
44041
  init_skyposition();
43705
44042
  init_tokenaddress();
43706
- init_tokenbalance2();
44043
+ init_tokenbalance();
43707
44044
  init_tokenprice();
43708
44045
  init_uniswapliquidityprovisioninrange();
43709
44046
  init_uniswapliquidityprovisionpositions();
@@ -47615,23 +47952,21 @@ Get the market's implied APY, maturity date and the associated token data.`,
47615
47952
  };
47616
47953
  });
47617
47954
 
47618
- // src/funcs/pendlePosition.ts
47619
- function pendlePosition(client, request, options) {
47955
+ // src/funcs/pendleMarkets.ts
47956
+ function pendleMarkets(client, request, options) {
47620
47957
  return new APIPromise($do36(client, request, options));
47621
47958
  }
47622
47959
  async function $do36(client, request, options) {
47623
- const parsed = safeParse(request, (value) => PendlePositionRequest$outboundSchema.parse(value), "Input validation failed");
47960
+ const parsed = safeParse(request, (value) => PendleMarketsRequest$outboundSchema.parse(value), "Input validation failed");
47624
47961
  if (!parsed.ok) {
47625
47962
  return [parsed, { status: "invalid" }];
47626
47963
  }
47627
47964
  const payload = parsed.value;
47628
47965
  const body = null;
47629
- const path = pathToFunc("/v0/pendle/position")();
47966
+ const path = pathToFunc("/v0/pendle/markets")();
47630
47967
  const query = encodeFormQuery({
47631
47968
  block: payload.block,
47632
- chain: payload.chain,
47633
- market_address: payload.market_address,
47634
- user_address: payload.user_address
47969
+ chain: payload.chain
47635
47970
  });
47636
47971
  const headers = new Headers(compactMap({
47637
47972
  Accept: "application/json"
@@ -47641,7 +47976,7 @@ async function $do36(client, request, options) {
47641
47976
  const requestSecurity = resolveGlobalSecurity(securityInput);
47642
47977
  const context = {
47643
47978
  baseURL: options?.serverURL ?? client._baseURL ?? "",
47644
- operationID: "pendle_position",
47979
+ operationID: "pendle_markets",
47645
47980
  oAuth2Scopes: [],
47646
47981
  resolvedSecurity: requestSecurity,
47647
47982
  securitySource: client._options.apiKeyAuth,
@@ -47675,13 +48010,13 @@ async function $do36(client, request, options) {
47675
48010
  const responseFields = {
47676
48011
  HttpMeta: { Response: response, Request: req }
47677
48012
  };
47678
- const [result] = await match(json(200, PendleGetUserPositionResponse$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
48013
+ const [result] = await match(json(200, PendleListMarketsResponse$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
47679
48014
  if (!result.ok) {
47680
48015
  return [result, { status: "complete", request: req, response }];
47681
48016
  }
47682
48017
  return [result, { status: "complete", request: req, response }];
47683
48018
  }
47684
- var init_pendlePosition = __esm(() => {
48019
+ var init_pendleMarkets = __esm(() => {
47685
48020
  init_encodings();
47686
48021
  init_matchers();
47687
48022
  init_primitives();
@@ -47694,23 +48029,23 @@ var init_pendlePosition = __esm(() => {
47694
48029
  init_async();
47695
48030
  });
47696
48031
 
47697
- // src/mcp-server/tools/pendlePosition.ts
47698
- var args36, tool$pendlePosition;
47699
- var init_pendlePosition2 = __esm(() => {
47700
- init_pendlePosition();
48032
+ // src/mcp-server/tools/pendleMarkets.ts
48033
+ var args36, tool$pendleMarkets;
48034
+ var init_pendleMarkets2 = __esm(() => {
48035
+ init_pendleMarkets();
47701
48036
  init_operations();
47702
48037
  init_tools();
47703
48038
  args36 = {
47704
- request: PendlePositionRequest$inboundSchema
48039
+ request: PendleMarketsRequest$inboundSchema
47705
48040
  };
47706
- tool$pendlePosition = {
47707
- name: "pendle-position",
47708
- description: `Check User's Market Position
48041
+ tool$pendleMarkets = {
48042
+ name: "pendle-markets",
48043
+ description: `List Market Data
47709
48044
 
47710
- Check the SY, PT, YT and Underlying Token positions for a given market.`,
48045
+ Get a list of active markets.`,
47711
48046
  args: args36,
47712
48047
  tool: async (client, args37, ctx) => {
47713
- const [result, apiCall] = await pendlePosition(client, args37.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48048
+ const [result, apiCall] = await pendleMarkets(client, args37.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47714
48049
  if (!result.ok) {
47715
48050
  return {
47716
48051
  content: [{ type: "text", text: result.error.message }],
@@ -47723,20 +48058,25 @@ Check the SY, PT, YT and Underlying Token positions for a given market.`,
47723
48058
  };
47724
48059
  });
47725
48060
 
47726
- // src/funcs/skyBuy.ts
47727
- function skyBuy(client, request, options) {
48061
+ // src/funcs/pendlePosition.ts
48062
+ function pendlePosition(client, request, options) {
47728
48063
  return new APIPromise($do37(client, request, options));
47729
48064
  }
47730
48065
  async function $do37(client, request, options) {
47731
- const parsed = safeParse(request, (value) => SkyBuyRequest$outboundSchema.parse(value), "Input validation failed");
48066
+ const parsed = safeParse(request, (value) => PendlePositionRequest$outboundSchema.parse(value), "Input validation failed");
47732
48067
  if (!parsed.ok) {
47733
48068
  return [parsed, { status: "invalid" }];
47734
48069
  }
47735
48070
  const payload = parsed.value;
47736
- const body = encodeJSON("body", payload, { explode: true });
47737
- const path = pathToFunc("/v0/sky/buy")();
48071
+ const body = null;
48072
+ const path = pathToFunc("/v0/pendle/position")();
48073
+ const query = encodeFormQuery({
48074
+ block: payload.block,
48075
+ chain: payload.chain,
48076
+ market_address: payload.market_address,
48077
+ user_address: payload.user_address
48078
+ });
47738
48079
  const headers = new Headers(compactMap({
47739
- "Content-Type": "application/json",
47740
48080
  Accept: "application/json"
47741
48081
  }));
47742
48082
  const secConfig = await extractSecurity(client._options.apiKeyAuth);
@@ -47744,7 +48084,7 @@ async function $do37(client, request, options) {
47744
48084
  const requestSecurity = resolveGlobalSecurity(securityInput);
47745
48085
  const context = {
47746
48086
  baseURL: options?.serverURL ?? client._baseURL ?? "",
47747
- operationID: "sky_buy",
48087
+ operationID: "pendle_position",
47748
48088
  oAuth2Scopes: [],
47749
48089
  resolvedSecurity: requestSecurity,
47750
48090
  securitySource: client._options.apiKeyAuth,
@@ -47753,10 +48093,11 @@ async function $do37(client, request, options) {
47753
48093
  };
47754
48094
  const requestRes = client._createRequest(context, {
47755
48095
  security: requestSecurity,
47756
- method: "POST",
48096
+ method: "GET",
47757
48097
  baseURL: options?.serverURL,
47758
48098
  path,
47759
48099
  headers,
48100
+ query,
47760
48101
  body,
47761
48102
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
47762
48103
  }, options);
@@ -47777,13 +48118,13 @@ async function $do37(client, request, options) {
47777
48118
  const responseFields = {
47778
48119
  HttpMeta: { Response: response, Request: req }
47779
48120
  };
47780
- const [result] = await match(json(200, TxResponse$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
48121
+ const [result] = await match(json(200, PendleGetUserPositionResponse$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
47781
48122
  if (!result.ok) {
47782
48123
  return [result, { status: "complete", request: req, response }];
47783
48124
  }
47784
48125
  return [result, { status: "complete", request: req, response }];
47785
48126
  }
47786
- var init_skyBuy = __esm(() => {
48127
+ var init_pendlePosition = __esm(() => {
47787
48128
  init_encodings();
47788
48129
  init_matchers();
47789
48130
  init_primitives();
@@ -47792,32 +48133,27 @@ var init_skyBuy = __esm(() => {
47792
48133
  init_url();
47793
48134
  init_components();
47794
48135
  init_errors2();
48136
+ init_operations();
47795
48137
  init_async();
47796
48138
  });
47797
48139
 
47798
- // src/mcp-server/tools/skyBuy.ts
47799
- var args37, tool$skyBuy;
47800
- var init_skyBuy2 = __esm(() => {
47801
- init_skyBuy();
47802
- init_components();
48140
+ // src/mcp-server/tools/pendlePosition.ts
48141
+ var args37, tool$pendlePosition;
48142
+ var init_pendlePosition2 = __esm(() => {
48143
+ init_pendlePosition();
48144
+ init_operations();
47803
48145
  init_tools();
47804
48146
  args37 = {
47805
- request: SkyBuyRequest$inboundSchema
48147
+ request: PendlePositionRequest$inboundSchema
47806
48148
  };
47807
- tool$skyBuy = {
47808
- name: "sky-buy",
47809
- description: `Buy USDS
47810
-
47811
- Buy USDS with DAI or USDC on a 1:1 basis. There are no fees.
47812
-
47813
- If buying with DAI, user will need to set an allowance on the DAI contract for the
47814
- 'SkyDaiUsdsConverter' contract beforehand.
48149
+ tool$pendlePosition = {
48150
+ name: "pendle-position",
48151
+ description: `Check User's Market Position
47815
48152
 
47816
- If buying with USDC, user will need to set an allowance on the USDC contract for the
47817
- 'SkyDaiUsdsConverter' contract beforehand.`,
48153
+ Check the SY, PT, YT and Underlying Token positions for a given market.`,
47818
48154
  args: args37,
47819
48155
  tool: async (client, args38, ctx) => {
47820
- const [result, apiCall] = await skyBuy(client, args38.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48156
+ const [result, apiCall] = await pendlePosition(client, args38.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47821
48157
  if (!result.ok) {
47822
48158
  return {
47823
48159
  content: [{ type: "text", text: result.error.message }],
@@ -47830,20 +48166,24 @@ If buying with USDC, user will need to set an allowance on the USDC contract for
47830
48166
  };
47831
48167
  });
47832
48168
 
47833
- // src/funcs/skyDeposit.ts
47834
- function skyDeposit(client, request, options) {
48169
+ // src/funcs/pendlePositions.ts
48170
+ function pendlePositions(client, request, options) {
47835
48171
  return new APIPromise($do38(client, request, options));
47836
48172
  }
47837
48173
  async function $do38(client, request, options) {
47838
- const parsed = safeParse(request, (value) => SkyDepositRequest$outboundSchema.parse(value), "Input validation failed");
48174
+ const parsed = safeParse(request, (value) => PendlePositionsRequest$outboundSchema.parse(value), "Input validation failed");
47839
48175
  if (!parsed.ok) {
47840
48176
  return [parsed, { status: "invalid" }];
47841
48177
  }
47842
48178
  const payload = parsed.value;
47843
- const body = encodeJSON("body", payload, { explode: true });
47844
- const path = pathToFunc("/v0/sky/deposit")();
48179
+ const body = null;
48180
+ const path = pathToFunc("/v0/pendle/positions")();
48181
+ const query = encodeFormQuery({
48182
+ block: payload.block,
48183
+ chain: payload.chain,
48184
+ user_address: payload.user_address
48185
+ });
47845
48186
  const headers = new Headers(compactMap({
47846
- "Content-Type": "application/json",
47847
48187
  Accept: "application/json"
47848
48188
  }));
47849
48189
  const secConfig = await extractSecurity(client._options.apiKeyAuth);
@@ -47851,7 +48191,7 @@ async function $do38(client, request, options) {
47851
48191
  const requestSecurity = resolveGlobalSecurity(securityInput);
47852
48192
  const context = {
47853
48193
  baseURL: options?.serverURL ?? client._baseURL ?? "",
47854
- operationID: "sky_deposit",
48194
+ operationID: "pendle_positions",
47855
48195
  oAuth2Scopes: [],
47856
48196
  resolvedSecurity: requestSecurity,
47857
48197
  securitySource: client._options.apiKeyAuth,
@@ -47860,10 +48200,11 @@ async function $do38(client, request, options) {
47860
48200
  };
47861
48201
  const requestRes = client._createRequest(context, {
47862
48202
  security: requestSecurity,
47863
- method: "POST",
48203
+ method: "GET",
47864
48204
  baseURL: options?.serverURL,
47865
48205
  path,
47866
48206
  headers,
48207
+ query,
47867
48208
  body,
47868
48209
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
47869
48210
  }, options);
@@ -47884,13 +48225,13 @@ async function $do38(client, request, options) {
47884
48225
  const responseFields = {
47885
48226
  HttpMeta: { Response: response, Request: req }
47886
48227
  };
47887
- const [result] = await match(json(200, TxResponse$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
48228
+ const [result] = await match(json(200, PendleListUserPositionsResponse$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
47888
48229
  if (!result.ok) {
47889
48230
  return [result, { status: "complete", request: req, response }];
47890
48231
  }
47891
48232
  return [result, { status: "complete", request: req, response }];
47892
48233
  }
47893
- var init_skyDeposit = __esm(() => {
48234
+ var init_pendlePositions = __esm(() => {
47894
48235
  init_encodings();
47895
48236
  init_matchers();
47896
48237
  init_primitives();
@@ -47899,28 +48240,27 @@ var init_skyDeposit = __esm(() => {
47899
48240
  init_url();
47900
48241
  init_components();
47901
48242
  init_errors2();
48243
+ init_operations();
47902
48244
  init_async();
47903
48245
  });
47904
48246
 
47905
- // src/mcp-server/tools/skyDeposit.ts
47906
- var args38, tool$skyDeposit;
47907
- var init_skyDeposit2 = __esm(() => {
47908
- init_skyDeposit();
47909
- init_components();
48247
+ // src/mcp-server/tools/pendlePositions.ts
48248
+ var args38, tool$pendlePositions;
48249
+ var init_pendlePositions2 = __esm(() => {
48250
+ init_pendlePositions();
48251
+ init_operations();
47910
48252
  init_tools();
47911
48253
  args38 = {
47912
- request: SkyDepositRequest$inboundSchema
48254
+ request: PendlePositionsRequest$inboundSchema
47913
48255
  };
47914
- tool$skyDeposit = {
47915
- name: "sky-deposit",
47916
- description: `Deposit USDS
47917
-
47918
- Deposit USDS for sUSDS to earn yield.
48256
+ tool$pendlePositions = {
48257
+ name: "pendle-positions",
48258
+ description: `List User's Market Positions
47919
48259
 
47920
- There are no fees.`,
48260
+ List the user's SY, PT, YT and LP positions for all markets on a given chain.`,
47921
48261
  args: args38,
47922
48262
  tool: async (client, args39, ctx) => {
47923
- const [result, apiCall] = await skyDeposit(client, args39.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48263
+ const [result, apiCall] = await pendlePositions(client, args39.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47924
48264
  if (!result.ok) {
47925
48265
  return {
47926
48266
  content: [{ type: "text", text: result.error.message }],
@@ -47933,23 +48273,233 @@ There are no fees.`,
47933
48273
  };
47934
48274
  });
47935
48275
 
47936
- // src/funcs/skyPosition.ts
47937
- function skyPosition(client, request, options) {
48276
+ // src/funcs/skyBuy.ts
48277
+ function skyBuy(client, request, options) {
47938
48278
  return new APIPromise($do39(client, request, options));
47939
48279
  }
47940
48280
  async function $do39(client, request, options) {
47941
- const parsed = safeParse(request, (value) => SkyPositionRequest$outboundSchema.parse(value), "Input validation failed");
48281
+ const parsed = safeParse(request, (value) => SkyBuyRequest$outboundSchema.parse(value), "Input validation failed");
47942
48282
  if (!parsed.ok) {
47943
48283
  return [parsed, { status: "invalid" }];
47944
48284
  }
47945
48285
  const payload = parsed.value;
47946
- const body = null;
47947
- const path = pathToFunc("/v0/sky/position")();
47948
- const query = encodeFormQuery({
47949
- block: payload.block,
47950
- chain: payload.chain,
47951
- user_address: payload.user_address
47952
- });
48286
+ const body = encodeJSON("body", payload, { explode: true });
48287
+ const path = pathToFunc("/v0/sky/buy")();
48288
+ const headers = new Headers(compactMap({
48289
+ "Content-Type": "application/json",
48290
+ Accept: "application/json"
48291
+ }));
48292
+ const secConfig = await extractSecurity(client._options.apiKeyAuth);
48293
+ const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
48294
+ const requestSecurity = resolveGlobalSecurity(securityInput);
48295
+ const context = {
48296
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
48297
+ operationID: "sky_buy",
48298
+ oAuth2Scopes: [],
48299
+ resolvedSecurity: requestSecurity,
48300
+ securitySource: client._options.apiKeyAuth,
48301
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
48302
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
48303
+ };
48304
+ const requestRes = client._createRequest(context, {
48305
+ security: requestSecurity,
48306
+ method: "POST",
48307
+ baseURL: options?.serverURL,
48308
+ path,
48309
+ headers,
48310
+ body,
48311
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
48312
+ }, options);
48313
+ if (!requestRes.ok) {
48314
+ return [requestRes, { status: "invalid" }];
48315
+ }
48316
+ const req = requestRes.value;
48317
+ const doResult = await client._do(req, {
48318
+ context,
48319
+ errorCodes: ["422", "4XX", "5XX"],
48320
+ retryConfig: context.retryConfig,
48321
+ retryCodes: context.retryCodes
48322
+ });
48323
+ if (!doResult.ok) {
48324
+ return [doResult, { status: "request-error", request: req }];
48325
+ }
48326
+ const response = doResult.value;
48327
+ const responseFields = {
48328
+ HttpMeta: { Response: response, Request: req }
48329
+ };
48330
+ const [result] = await match(json(200, TxResponse$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
48331
+ if (!result.ok) {
48332
+ return [result, { status: "complete", request: req, response }];
48333
+ }
48334
+ return [result, { status: "complete", request: req, response }];
48335
+ }
48336
+ var init_skyBuy = __esm(() => {
48337
+ init_encodings();
48338
+ init_matchers();
48339
+ init_primitives();
48340
+ init_schemas();
48341
+ init_security();
48342
+ init_url();
48343
+ init_components();
48344
+ init_errors2();
48345
+ init_async();
48346
+ });
48347
+
48348
+ // src/mcp-server/tools/skyBuy.ts
48349
+ var args39, tool$skyBuy;
48350
+ var init_skyBuy2 = __esm(() => {
48351
+ init_skyBuy();
48352
+ init_components();
48353
+ init_tools();
48354
+ args39 = {
48355
+ request: SkyBuyRequest$inboundSchema
48356
+ };
48357
+ tool$skyBuy = {
48358
+ name: "sky-buy",
48359
+ description: `Buy USDS
48360
+
48361
+ Buy USDS with DAI or USDC on a 1:1 basis. There are no fees.
48362
+
48363
+ If buying with DAI, user will need to set an allowance on the DAI contract for the
48364
+ 'SkyDaiUsdsConverter' contract beforehand.
48365
+
48366
+ If buying with USDC, user will need to set an allowance on the USDC contract for the
48367
+ 'SkyDaiUsdsConverter' contract beforehand.`,
48368
+ args: args39,
48369
+ tool: async (client, args40, ctx) => {
48370
+ const [result, apiCall] = await skyBuy(client, args40.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48371
+ if (!result.ok) {
48372
+ return {
48373
+ content: [{ type: "text", text: result.error.message }],
48374
+ isError: true
48375
+ };
48376
+ }
48377
+ const value = result.value;
48378
+ return formatResult(value, apiCall);
48379
+ }
48380
+ };
48381
+ });
48382
+
48383
+ // src/funcs/skyDeposit.ts
48384
+ function skyDeposit(client, request, options) {
48385
+ return new APIPromise($do40(client, request, options));
48386
+ }
48387
+ async function $do40(client, request, options) {
48388
+ const parsed = safeParse(request, (value) => SkyDepositRequest$outboundSchema.parse(value), "Input validation failed");
48389
+ if (!parsed.ok) {
48390
+ return [parsed, { status: "invalid" }];
48391
+ }
48392
+ const payload = parsed.value;
48393
+ const body = encodeJSON("body", payload, { explode: true });
48394
+ const path = pathToFunc("/v0/sky/deposit")();
48395
+ const headers = new Headers(compactMap({
48396
+ "Content-Type": "application/json",
48397
+ Accept: "application/json"
48398
+ }));
48399
+ const secConfig = await extractSecurity(client._options.apiKeyAuth);
48400
+ const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
48401
+ const requestSecurity = resolveGlobalSecurity(securityInput);
48402
+ const context = {
48403
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
48404
+ operationID: "sky_deposit",
48405
+ oAuth2Scopes: [],
48406
+ resolvedSecurity: requestSecurity,
48407
+ securitySource: client._options.apiKeyAuth,
48408
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
48409
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
48410
+ };
48411
+ const requestRes = client._createRequest(context, {
48412
+ security: requestSecurity,
48413
+ method: "POST",
48414
+ baseURL: options?.serverURL,
48415
+ path,
48416
+ headers,
48417
+ body,
48418
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
48419
+ }, options);
48420
+ if (!requestRes.ok) {
48421
+ return [requestRes, { status: "invalid" }];
48422
+ }
48423
+ const req = requestRes.value;
48424
+ const doResult = await client._do(req, {
48425
+ context,
48426
+ errorCodes: ["422", "4XX", "5XX"],
48427
+ retryConfig: context.retryConfig,
48428
+ retryCodes: context.retryCodes
48429
+ });
48430
+ if (!doResult.ok) {
48431
+ return [doResult, { status: "request-error", request: req }];
48432
+ }
48433
+ const response = doResult.value;
48434
+ const responseFields = {
48435
+ HttpMeta: { Response: response, Request: req }
48436
+ };
48437
+ const [result] = await match(json(200, TxResponse$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
48438
+ if (!result.ok) {
48439
+ return [result, { status: "complete", request: req, response }];
48440
+ }
48441
+ return [result, { status: "complete", request: req, response }];
48442
+ }
48443
+ var init_skyDeposit = __esm(() => {
48444
+ init_encodings();
48445
+ init_matchers();
48446
+ init_primitives();
48447
+ init_schemas();
48448
+ init_security();
48449
+ init_url();
48450
+ init_components();
48451
+ init_errors2();
48452
+ init_async();
48453
+ });
48454
+
48455
+ // src/mcp-server/tools/skyDeposit.ts
48456
+ var args40, tool$skyDeposit;
48457
+ var init_skyDeposit2 = __esm(() => {
48458
+ init_skyDeposit();
48459
+ init_components();
48460
+ init_tools();
48461
+ args40 = {
48462
+ request: SkyDepositRequest$inboundSchema
48463
+ };
48464
+ tool$skyDeposit = {
48465
+ name: "sky-deposit",
48466
+ description: `Deposit USDS
48467
+
48468
+ Deposit USDS for sUSDS to earn yield.
48469
+
48470
+ There are no fees.`,
48471
+ args: args40,
48472
+ tool: async (client, args41, ctx) => {
48473
+ const [result, apiCall] = await skyDeposit(client, args41.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48474
+ if (!result.ok) {
48475
+ return {
48476
+ content: [{ type: "text", text: result.error.message }],
48477
+ isError: true
48478
+ };
48479
+ }
48480
+ const value = result.value;
48481
+ return formatResult(value, apiCall);
48482
+ }
48483
+ };
48484
+ });
48485
+
48486
+ // src/funcs/skyPosition.ts
48487
+ function skyPosition(client, request, options) {
48488
+ return new APIPromise($do41(client, request, options));
48489
+ }
48490
+ async function $do41(client, request, options) {
48491
+ const parsed = safeParse(request, (value) => SkyPositionRequest$outboundSchema.parse(value), "Input validation failed");
48492
+ if (!parsed.ok) {
48493
+ return [parsed, { status: "invalid" }];
48494
+ }
48495
+ const payload = parsed.value;
48496
+ const body = null;
48497
+ const path = pathToFunc("/v0/sky/position")();
48498
+ const query = encodeFormQuery({
48499
+ block: payload.block,
48500
+ chain: payload.chain,
48501
+ user_address: payload.user_address
48502
+ });
47953
48503
  const headers = new Headers(compactMap({
47954
48504
  Accept: "application/json"
47955
48505
  }));
@@ -48012,12 +48562,12 @@ var init_skyPosition = __esm(() => {
48012
48562
  });
48013
48563
 
48014
48564
  // src/mcp-server/tools/skyPosition.ts
48015
- var args39, tool$skyPosition;
48565
+ var args41, tool$skyPosition;
48016
48566
  var init_skyPosition2 = __esm(() => {
48017
48567
  init_skyPosition();
48018
48568
  init_operations();
48019
48569
  init_tools();
48020
- args39 = {
48570
+ args41 = {
48021
48571
  request: SkyPositionRequest$inboundSchema
48022
48572
  };
48023
48573
  tool$skyPosition = {
@@ -48025,9 +48575,9 @@ var init_skyPosition2 = __esm(() => {
48025
48575
  description: `Check USDS Position
48026
48576
 
48027
48577
  Check the USDS overall position.`,
48028
- args: args39,
48029
- tool: async (client, args40, ctx) => {
48030
- const [result, apiCall] = await skyPosition(client, args40.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48578
+ args: args41,
48579
+ tool: async (client, args42, ctx) => {
48580
+ const [result, apiCall] = await skyPosition(client, args42.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48031
48581
  if (!result.ok) {
48032
48582
  return {
48033
48583
  content: [{ type: "text", text: result.error.message }],
@@ -48042,9 +48592,9 @@ Check the USDS overall position.`,
48042
48592
 
48043
48593
  // src/funcs/skySell.ts
48044
48594
  function skySell(client, request, options) {
48045
- return new APIPromise($do40(client, request, options));
48595
+ return new APIPromise($do42(client, request, options));
48046
48596
  }
48047
- async function $do40(client, request, options) {
48597
+ async function $do42(client, request, options) {
48048
48598
  const parsed = safeParse(request, (value) => SkySellRequest$outboundSchema.parse(value), "Input validation failed");
48049
48599
  if (!parsed.ok) {
48050
48600
  return [parsed, { status: "invalid" }];
@@ -48113,12 +48663,12 @@ var init_skySell = __esm(() => {
48113
48663
  });
48114
48664
 
48115
48665
  // src/mcp-server/tools/skySell.ts
48116
- var args40, tool$skySell;
48666
+ var args42, tool$skySell;
48117
48667
  var init_skySell2 = __esm(() => {
48118
48668
  init_skySell();
48119
48669
  init_components();
48120
48670
  init_tools();
48121
- args40 = {
48671
+ args42 = {
48122
48672
  request: SkySellRequest$inboundSchema
48123
48673
  };
48124
48674
  tool$skySell = {
@@ -48132,9 +48682,9 @@ If swapping to DAI, user will need to set an allowance on the USDS contract for
48132
48682
 
48133
48683
  If swapping to USDC, user will need to set an allowance on the USDS contract for the
48134
48684
  'SkyUsdcUsdsConverter' contract beforehand.`,
48135
- args: args40,
48136
- tool: async (client, args41, ctx) => {
48137
- const [result, apiCall] = await skySell(client, args41.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48685
+ args: args42,
48686
+ tool: async (client, args43, ctx) => {
48687
+ const [result, apiCall] = await skySell(client, args43.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48138
48688
  if (!result.ok) {
48139
48689
  return {
48140
48690
  content: [{ type: "text", text: result.error.message }],
@@ -48149,9 +48699,9 @@ If swapping to USDC, user will need to set an allowance on the USDS contract for
48149
48699
 
48150
48700
  // src/funcs/skyWithdraw.ts
48151
48701
  function skyWithdraw(client, request, options) {
48152
- return new APIPromise($do41(client, request, options));
48702
+ return new APIPromise($do43(client, request, options));
48153
48703
  }
48154
- async function $do41(client, request, options) {
48704
+ async function $do43(client, request, options) {
48155
48705
  const parsed = safeParse(request, (value) => SkyWithdrawRequest$outboundSchema.parse(value), "Input validation failed");
48156
48706
  if (!parsed.ok) {
48157
48707
  return [parsed, { status: "invalid" }];
@@ -48220,12 +48770,12 @@ var init_skyWithdraw = __esm(() => {
48220
48770
  });
48221
48771
 
48222
48772
  // src/mcp-server/tools/skyWithdraw.ts
48223
- var args41, tool$skyWithdraw;
48773
+ var args43, tool$skyWithdraw;
48224
48774
  var init_skyWithdraw2 = __esm(() => {
48225
48775
  init_skyWithdraw();
48226
48776
  init_components();
48227
48777
  init_tools();
48228
- args41 = {
48778
+ args43 = {
48229
48779
  request: SkyWithdrawRequest$inboundSchema
48230
48780
  };
48231
48781
  tool$skyWithdraw = {
@@ -48233,9 +48783,9 @@ var init_skyWithdraw2 = __esm(() => {
48233
48783
  description: `Withdraw USDS
48234
48784
 
48235
48785
  Withdraw USDS for sUSDS to stop earning yield.`,
48236
- args: args41,
48237
- tool: async (client, args42, ctx) => {
48238
- const [result, apiCall] = await skyWithdraw(client, args42.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48786
+ args: args43,
48787
+ tool: async (client, args44, ctx) => {
48788
+ const [result, apiCall] = await skyWithdraw(client, args44.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48239
48789
  if (!result.ok) {
48240
48790
  return {
48241
48791
  content: [{ type: "text", text: result.error.message }],
@@ -48250,9 +48800,9 @@ Withdraw USDS for sUSDS to stop earning yield.`,
48250
48800
 
48251
48801
  // src/funcs/smartAccountAccountBatchedUserOperations.ts
48252
48802
  function smartAccountAccountBatchedUserOperations(client, request, options) {
48253
- return new APIPromise($do42(client, request, options));
48803
+ return new APIPromise($do44(client, request, options));
48254
48804
  }
48255
- async function $do42(client, request, options) {
48805
+ async function $do44(client, request, options) {
48256
48806
  const parsed = safeParse(request, (value) => BatchedUserOperationsRequest$outboundSchema.parse(value), "Input validation failed");
48257
48807
  if (!parsed.ok) {
48258
48808
  return [parsed, { status: "invalid" }];
@@ -48321,12 +48871,12 @@ var init_smartAccountAccountBatchedUserOperations = __esm(() => {
48321
48871
  });
48322
48872
 
48323
48873
  // src/mcp-server/tools/smartAccountAccountBatchedUserOperations.ts
48324
- var args42, tool$smartAccountAccountBatchedUserOperations;
48874
+ var args44, tool$smartAccountAccountBatchedUserOperations;
48325
48875
  var init_smartAccountAccountBatchedUserOperations2 = __esm(() => {
48326
48876
  init_smartAccountAccountBatchedUserOperations();
48327
48877
  init_components();
48328
48878
  init_tools();
48329
- args42 = {
48879
+ args44 = {
48330
48880
  request: BatchedUserOperationsRequest$inboundSchema
48331
48881
  };
48332
48882
  tool$smartAccountAccountBatchedUserOperations = {
@@ -48334,9 +48884,9 @@ var init_smartAccountAccountBatchedUserOperations2 = __esm(() => {
48334
48884
  description: `Get Smart Account Batched User Operations
48335
48885
 
48336
48886
  Generate a list of user operations for smart account batching.`,
48337
- args: args42,
48338
- tool: async (client, args43, ctx) => {
48339
- const [result, apiCall] = await smartAccountAccountBatchedUserOperations(client, args43.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48887
+ args: args44,
48888
+ tool: async (client, args45, ctx) => {
48889
+ const [result, apiCall] = await smartAccountAccountBatchedUserOperations(client, args45.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48340
48890
  if (!result.ok) {
48341
48891
  return {
48342
48892
  content: [{ type: "text", text: result.error.message }],
@@ -48351,9 +48901,9 @@ Generate a list of user operations for smart account batching.`,
48351
48901
 
48352
48902
  // src/funcs/tokenAddress.ts
48353
48903
  function tokenAddress(client, request, options) {
48354
- return new APIPromise($do43(client, request, options));
48904
+ return new APIPromise($do45(client, request, options));
48355
48905
  }
48356
- async function $do43(client, request, options) {
48906
+ async function $do45(client, request, options) {
48357
48907
  const parsed = safeParse(request, (value) => TokenAddressRequest$outboundSchema.parse(value), "Input validation failed");
48358
48908
  if (!parsed.ok) {
48359
48909
  return [parsed, { status: "invalid" }];
@@ -48428,12 +48978,12 @@ var init_tokenAddress = __esm(() => {
48428
48978
  });
48429
48979
 
48430
48980
  // src/mcp-server/tools/tokenAddress.ts
48431
- var args43, tool$tokenAddress;
48981
+ var args45, tool$tokenAddress;
48432
48982
  var init_tokenAddress2 = __esm(() => {
48433
48983
  init_tokenAddress();
48434
48984
  init_operations();
48435
48985
  init_tools();
48436
- args43 = {
48986
+ args45 = {
48437
48987
  request: TokenAddressRequest$inboundSchema
48438
48988
  };
48439
48989
  tool$tokenAddress = {
@@ -48441,9 +48991,9 @@ var init_tokenAddress2 = __esm(() => {
48441
48991
  description: `Token Address
48442
48992
 
48443
48993
  This endpoint retrieves the address for a token supported by us.`,
48444
- args: args43,
48445
- tool: async (client, args44, ctx) => {
48446
- const [result, apiCall] = await tokenAddress(client, args44.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48994
+ args: args45,
48995
+ tool: async (client, args46, ctx) => {
48996
+ const [result, apiCall] = await tokenAddress(client, args46.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48447
48997
  if (!result.ok) {
48448
48998
  return {
48449
48999
  content: [{ type: "text", text: result.error.message }],
@@ -48458,9 +49008,9 @@ This endpoint retrieves the address for a token supported by us.`,
48458
49008
 
48459
49009
  // src/funcs/tokenBalance.ts
48460
49010
  function tokenBalance(client, request, options) {
48461
- return new APIPromise($do44(client, request, options));
49011
+ return new APIPromise($do46(client, request, options));
48462
49012
  }
48463
- async function $do44(client, request, options) {
49013
+ async function $do46(client, request, options) {
48464
49014
  const parsed = safeParse(request, (value) => TokenBalanceRequest$outboundSchema.parse(value), "Input validation failed");
48465
49015
  if (!parsed.ok) {
48466
49016
  return [parsed, { status: "invalid" }];
@@ -48536,12 +49086,12 @@ var init_tokenBalance = __esm(() => {
48536
49086
  });
48537
49087
 
48538
49088
  // src/mcp-server/tools/tokenBalance.ts
48539
- var args44, tool$tokenBalance;
49089
+ var args46, tool$tokenBalance;
48540
49090
  var init_tokenBalance2 = __esm(() => {
48541
49091
  init_tokenBalance();
48542
49092
  init_operations();
48543
49093
  init_tools();
48544
- args44 = {
49094
+ args46 = {
48545
49095
  request: TokenBalanceRequest$inboundSchema
48546
49096
  };
48547
49097
  tool$tokenBalance = {
@@ -48549,9 +49099,9 @@ var init_tokenBalance2 = __esm(() => {
48549
49099
  description: `Token Balance
48550
49100
 
48551
49101
  Returns the balance of a specific ERC20 token for a given user address.`,
48552
- args: args44,
48553
- tool: async (client, args45, ctx) => {
48554
- const [result, apiCall] = await tokenBalance(client, args45.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49102
+ args: args46,
49103
+ tool: async (client, args47, ctx) => {
49104
+ const [result, apiCall] = await tokenBalance(client, args47.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48555
49105
  if (!result.ok) {
48556
49106
  return {
48557
49107
  content: [{ type: "text", text: result.error.message }],
@@ -48566,9 +49116,9 @@ Returns the balance of a specific ERC20 token for a given user address.`,
48566
49116
 
48567
49117
  // src/funcs/tokenPrice.ts
48568
49118
  function tokenPrice(client, request, options) {
48569
- return new APIPromise($do45(client, request, options));
49119
+ return new APIPromise($do47(client, request, options));
48570
49120
  }
48571
- async function $do45(client, request, options) {
49121
+ async function $do47(client, request, options) {
48572
49122
  const parsed = safeParse(request, (value) => TokenPriceRequest$outboundSchema.parse(value), "Input validation failed");
48573
49123
  if (!parsed.ok) {
48574
49124
  return [parsed, { status: "invalid" }];
@@ -48642,12 +49192,12 @@ var init_tokenPrice = __esm(() => {
48642
49192
  });
48643
49193
 
48644
49194
  // src/mcp-server/tools/tokenPrice.ts
48645
- var args45, tool$tokenPrice;
49195
+ var args47, tool$tokenPrice;
48646
49196
  var init_tokenPrice2 = __esm(() => {
48647
49197
  init_tokenPrice();
48648
49198
  init_operations();
48649
49199
  init_tools();
48650
- args45 = {
49200
+ args47 = {
48651
49201
  request: TokenPriceRequest$inboundSchema
48652
49202
  };
48653
49203
  tool$tokenPrice = {
@@ -48659,9 +49209,9 @@ Retrieves the price of a token in USD using Chainlink's on-chain price feeds.
48659
49209
  Chainlink is a decentralized oracle that aggregates price data from off-chain
48660
49210
  sources. This ensures the price is tamper-resistant but the price might be stale
48661
49211
  with the update frequency of the oracle.`,
48662
- args: args45,
48663
- tool: async (client, args46, ctx) => {
48664
- const [result, apiCall] = await tokenPrice(client, args46.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49212
+ args: args47,
49213
+ tool: async (client, args48, ctx) => {
49214
+ const [result, apiCall] = await tokenPrice(client, args48.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48665
49215
  if (!result.ok) {
48666
49216
  return {
48667
49217
  content: [{ type: "text", text: result.error.message }],
@@ -48676,9 +49226,9 @@ with the update frequency of the oracle.`,
48676
49226
 
48677
49227
  // src/funcs/tokenTransfer.ts
48678
49228
  function tokenTransfer(client, request, options) {
48679
- return new APIPromise($do46(client, request, options));
49229
+ return new APIPromise($do48(client, request, options));
48680
49230
  }
48681
- async function $do46(client, request, options) {
49231
+ async function $do48(client, request, options) {
48682
49232
  const parsed = safeParse(request, (value) => TokenTransferRequest$outboundSchema.parse(value), "Input validation failed");
48683
49233
  if (!parsed.ok) {
48684
49234
  return [parsed, { status: "invalid" }];
@@ -48747,12 +49297,12 @@ var init_tokenTransfer = __esm(() => {
48747
49297
  });
48748
49298
 
48749
49299
  // src/mcp-server/tools/tokenTransfer.ts
48750
- var args46, tool$tokenTransfer;
49300
+ var args48, tool$tokenTransfer;
48751
49301
  var init_tokenTransfer2 = __esm(() => {
48752
49302
  init_tokenTransfer();
48753
49303
  init_components();
48754
49304
  init_tools();
48755
- args46 = {
49305
+ args48 = {
48756
49306
  request: TokenTransferRequest$inboundSchema
48757
49307
  };
48758
49308
  tool$tokenTransfer = {
@@ -48760,9 +49310,9 @@ var init_tokenTransfer2 = __esm(() => {
48760
49310
  description: `Transfer ETH or ERC20 Tokens.
48761
49311
 
48762
49312
  Sends native ETH or ERC20 tokens from the sender's address to another address.`,
48763
- args: args46,
48764
- tool: async (client, args47, ctx) => {
48765
- const [result, apiCall] = await tokenTransfer(client, args47.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49313
+ args: args48,
49314
+ tool: async (client, args49, ctx) => {
49315
+ const [result, apiCall] = await tokenTransfer(client, args49.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48766
49316
  if (!result.ok) {
48767
49317
  return {
48768
49318
  content: [{ type: "text", text: result.error.message }],
@@ -48777,9 +49327,9 @@ Sends native ETH or ERC20 tokens from the sender's address to another address.`,
48777
49327
 
48778
49328
  // src/funcs/transactionBatchingAaveLoop.ts
48779
49329
  function transactionBatchingAaveLoop(client, request, options) {
48780
- return new APIPromise($do47(client, request, options));
49330
+ return new APIPromise($do49(client, request, options));
48781
49331
  }
48782
- async function $do47(client, request, options) {
49332
+ async function $do49(client, request, options) {
48783
49333
  const parsed = safeParse(request, (value) => AaveLoopRequest$outboundSchema.parse(value), "Input validation failed");
48784
49334
  if (!parsed.ok) {
48785
49335
  return [parsed, { status: "invalid" }];
@@ -48848,12 +49398,12 @@ var init_transactionBatchingAaveLoop = __esm(() => {
48848
49398
  });
48849
49399
 
48850
49400
  // src/mcp-server/tools/transactionBatchingAaveLoop.ts
48851
- var args47, tool$transactionBatchingAaveLoop;
49401
+ var args49, tool$transactionBatchingAaveLoop;
48852
49402
  var init_transactionBatchingAaveLoop2 = __esm(() => {
48853
49403
  init_transactionBatchingAaveLoop();
48854
49404
  init_components();
48855
49405
  init_tools();
48856
- args47 = {
49406
+ args49 = {
48857
49407
  request: AaveLoopRequest$inboundSchema
48858
49408
  };
48859
49409
  tool$transactionBatchingAaveLoop = {
@@ -48871,9 +49421,9 @@ This endpoint creates a multicall transaction that performs a series of operatio
48871
49421
  - Supplies the swapped tokens
48872
49422
 
48873
49423
  The transaction must be authorized using the /authorization endpoint to prevent replay attacks.`,
48874
- args: args47,
48875
- tool: async (client, args48, ctx) => {
48876
- const [result, apiCall] = await transactionBatchingAaveLoop(client, args48.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49424
+ args: args49,
49425
+ tool: async (client, args50, ctx) => {
49426
+ const [result, apiCall] = await transactionBatchingAaveLoop(client, args50.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48877
49427
  if (!result.ok) {
48878
49428
  return {
48879
49429
  content: [{ type: "text", text: result.error.message }],
@@ -48888,9 +49438,9 @@ The transaction must be authorized using the /authorization endpoint to prevent
48888
49438
 
48889
49439
  // src/funcs/transactionBatchingAuthorization.ts
48890
49440
  function transactionBatchingAuthorization(client, request, options) {
48891
- return new APIPromise($do48(client, request, options));
49441
+ return new APIPromise($do50(client, request, options));
48892
49442
  }
48893
- async function $do48(client, request, options) {
49443
+ async function $do50(client, request, options) {
48894
49444
  const parsed = safeParse(request, (value) => MulticallAuthorizationRequest$outboundSchema.parse(value), "Input validation failed");
48895
49445
  if (!parsed.ok) {
48896
49446
  return [parsed, { status: "invalid" }];
@@ -48959,12 +49509,12 @@ var init_transactionBatchingAuthorization = __esm(() => {
48959
49509
  });
48960
49510
 
48961
49511
  // src/mcp-server/tools/transactionBatchingAuthorization.ts
48962
- var args48, tool$transactionBatchingAuthorization;
49512
+ var args50, tool$transactionBatchingAuthorization;
48963
49513
  var init_transactionBatchingAuthorization2 = __esm(() => {
48964
49514
  init_transactionBatchingAuthorization();
48965
49515
  init_components();
48966
49516
  init_tools();
48967
- args48 = {
49517
+ args50 = {
48968
49518
  request: MulticallAuthorizationRequest$inboundSchema
48969
49519
  };
48970
49520
  tool$transactionBatchingAuthorization = {
@@ -48977,9 +49527,9 @@ This authorization is required to prevent replay attacks and ensure transaction
48977
49527
  ordering when batching multiple actions into a single transaction. The authorization
48978
49528
  includes a nonce and chain ID to guarantee transaction uniqueness and proper network
48979
49529
  targeting.`,
48980
- args: args48,
48981
- tool: async (client, args49, ctx) => {
48982
- const [result, apiCall] = await transactionBatchingAuthorization(client, args49.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49530
+ args: args50,
49531
+ tool: async (client, args51, ctx) => {
49532
+ const [result, apiCall] = await transactionBatchingAuthorization(client, args51.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48983
49533
  if (!result.ok) {
48984
49534
  return {
48985
49535
  content: [{ type: "text", text: result.error.message }],
@@ -48994,9 +49544,9 @@ targeting.`,
48994
49544
 
48995
49545
  // src/funcs/transactionBatchingExecute.ts
48996
49546
  function transactionBatchingExecute(client, request, options) {
48997
- return new APIPromise($do49(client, request, options));
49547
+ return new APIPromise($do51(client, request, options));
48998
49548
  }
48999
- async function $do49(client, request, options) {
49549
+ async function $do51(client, request, options) {
49000
49550
  const parsed = safeParse(request, (value) => MulticallExecuteRequest$outboundSchema.parse(value), "Input validation failed");
49001
49551
  if (!parsed.ok) {
49002
49552
  return [parsed, { status: "invalid" }];
@@ -49065,12 +49615,12 @@ var init_transactionBatchingExecute = __esm(() => {
49065
49615
  });
49066
49616
 
49067
49617
  // src/mcp-server/tools/transactionBatchingExecute.ts
49068
- var args49, tool$transactionBatchingExecute;
49618
+ var args51, tool$transactionBatchingExecute;
49069
49619
  var init_transactionBatchingExecute2 = __esm(() => {
49070
49620
  init_transactionBatchingExecute();
49071
49621
  init_components();
49072
49622
  init_tools();
49073
- args49 = {
49623
+ args51 = {
49074
49624
  request: MulticallExecuteRequest$inboundSchema
49075
49625
  };
49076
49626
  tool$transactionBatchingExecute = {
@@ -49083,9 +49633,9 @@ This endpoint allows bundling multiple contract calls into a single atomic
49083
49633
  transaction, reducing gas costs and ensuring all operations succeed or fail
49084
49634
  together. The transaction must be authorized using the /authorization endpoint to
49085
49635
  prevent replay attacks.`,
49086
- args: args49,
49087
- tool: async (client, args50, ctx) => {
49088
- const [result, apiCall] = await transactionBatchingExecute(client, args50.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49636
+ args: args51,
49637
+ tool: async (client, args52, ctx) => {
49638
+ const [result, apiCall] = await transactionBatchingExecute(client, args52.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49089
49639
  if (!result.ok) {
49090
49640
  return {
49091
49641
  content: [{ type: "text", text: result.error.message }],
@@ -49100,9 +49650,9 @@ prevent replay attacks.`,
49100
49650
 
49101
49651
  // src/funcs/uniswapV3LiquidityProvisionIncrease.ts
49102
49652
  function uniswapV3LiquidityProvisionIncrease(client, request, options) {
49103
- return new APIPromise($do50(client, request, options));
49653
+ return new APIPromise($do52(client, request, options));
49104
49654
  }
49105
- async function $do50(client, request, options) {
49655
+ async function $do52(client, request, options) {
49106
49656
  const parsed = safeParse(request, (value) => UniswapIncreaseLiquidityProvisionRequest$outboundSchema.parse(value), "Input validation failed");
49107
49657
  if (!parsed.ok) {
49108
49658
  return [parsed, { status: "invalid" }];
@@ -49171,12 +49721,12 @@ var init_uniswapV3LiquidityProvisionIncrease = __esm(() => {
49171
49721
  });
49172
49722
 
49173
49723
  // src/mcp-server/tools/uniswapV3LiquidityProvisionIncrease.ts
49174
- var args50, tool$uniswapV3LiquidityProvisionIncrease;
49724
+ var args52, tool$uniswapV3LiquidityProvisionIncrease;
49175
49725
  var init_uniswapV3LiquidityProvisionIncrease2 = __esm(() => {
49176
49726
  init_uniswapV3LiquidityProvisionIncrease();
49177
49727
  init_components();
49178
49728
  init_tools();
49179
- args50 = {
49729
+ args52 = {
49180
49730
  request: UniswapIncreaseLiquidityProvisionRequest$inboundSchema
49181
49731
  };
49182
49732
  tool$uniswapV3LiquidityProvisionIncrease = {
@@ -49192,9 +49742,9 @@ beneficial for users who wish to enhance their potential earnings from trading f
49192
49742
  within the pool. The endpoint requires details such as the token pair, additional
49193
49743
  amount to be added, and any other parameters necessary for the liquidity increase
49194
49744
  process.`,
49195
- args: args50,
49196
- tool: async (client, args51, ctx) => {
49197
- const [result, apiCall] = await uniswapV3LiquidityProvisionIncrease(client, args51.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49745
+ args: args52,
49746
+ tool: async (client, args53, ctx) => {
49747
+ const [result, apiCall] = await uniswapV3LiquidityProvisionIncrease(client, args53.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49198
49748
  if (!result.ok) {
49199
49749
  return {
49200
49750
  content: [{ type: "text", text: result.error.message }],
@@ -49209,9 +49759,9 @@ process.`,
49209
49759
 
49210
49760
  // src/funcs/uniswapV3LiquidityProvisionInRange.ts
49211
49761
  function uniswapV3LiquidityProvisionInRange(client, request, options) {
49212
- return new APIPromise($do51(client, request, options));
49762
+ return new APIPromise($do53(client, request, options));
49213
49763
  }
49214
- async function $do51(client, request, options) {
49764
+ async function $do53(client, request, options) {
49215
49765
  const parsed = safeParse(request, (value) => UniswapLiquidityProvisionInRangeRequest$outboundSchema.parse(value), "Input validation failed");
49216
49766
  if (!parsed.ok) {
49217
49767
  return [parsed, { status: "invalid" }];
@@ -49286,12 +49836,12 @@ var init_uniswapV3LiquidityProvisionInRange = __esm(() => {
49286
49836
  });
49287
49837
 
49288
49838
  // src/mcp-server/tools/uniswapV3LiquidityProvisionInRange.ts
49289
- var args51, tool$uniswapV3LiquidityProvisionInRange;
49839
+ var args53, tool$uniswapV3LiquidityProvisionInRange;
49290
49840
  var init_uniswapV3LiquidityProvisionInRange2 = __esm(() => {
49291
49841
  init_uniswapV3LiquidityProvisionInRange();
49292
49842
  init_operations();
49293
49843
  init_tools();
49294
- args51 = {
49844
+ args53 = {
49295
49845
  request: UniswapLiquidityProvisionInRangeRequest$inboundSchema
49296
49846
  };
49297
49847
  tool$uniswapV3LiquidityProvisionInRange = {
@@ -49306,9 +49856,9 @@ position is currently within the tick range where trading occurs. this informati
49306
49856
  is essential for users to monitor the status of their lp positions and ensure that
49307
49857
  they are actively participating in the trading activities within the liquidity pool
49308
49858
  and earning trading fees.`,
49309
- args: args51,
49310
- tool: async (client, args52, ctx) => {
49311
- const [result, apiCall] = await uniswapV3LiquidityProvisionInRange(client, args52.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49859
+ args: args53,
49860
+ tool: async (client, args54, ctx) => {
49861
+ const [result, apiCall] = await uniswapV3LiquidityProvisionInRange(client, args54.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49312
49862
  if (!result.ok) {
49313
49863
  return {
49314
49864
  content: [{ type: "text", text: result.error.message }],
@@ -49323,9 +49873,9 @@ and earning trading fees.`,
49323
49873
 
49324
49874
  // src/funcs/uniswapV3LiquidityProvisionMint.ts
49325
49875
  function uniswapV3LiquidityProvisionMint(client, request, options) {
49326
- return new APIPromise($do52(client, request, options));
49876
+ return new APIPromise($do54(client, request, options));
49327
49877
  }
49328
- async function $do52(client, request, options) {
49878
+ async function $do54(client, request, options) {
49329
49879
  const parsed = safeParse(request, (value) => UniswapMintLiquidityProvisionRequest$outboundSchema.parse(value), "Input validation failed");
49330
49880
  if (!parsed.ok) {
49331
49881
  return [parsed, { status: "invalid" }];
@@ -49394,12 +49944,12 @@ var init_uniswapV3LiquidityProvisionMint = __esm(() => {
49394
49944
  });
49395
49945
 
49396
49946
  // src/mcp-server/tools/uniswapV3LiquidityProvisionMint.ts
49397
- var args52, tool$uniswapV3LiquidityProvisionMint;
49947
+ var args54, tool$uniswapV3LiquidityProvisionMint;
49398
49948
  var init_uniswapV3LiquidityProvisionMint2 = __esm(() => {
49399
49949
  init_uniswapV3LiquidityProvisionMint();
49400
49950
  init_components();
49401
49951
  init_tools();
49402
- args52 = {
49952
+ args54 = {
49403
49953
  request: UniswapMintLiquidityProvisionRequest$inboundSchema
49404
49954
  };
49405
49955
  tool$uniswapV3LiquidityProvisionMint = {
@@ -49415,9 +49965,9 @@ This operation is essential for users looking to participate in liquidity provis
49415
49965
  enabling them to earn fees from trades that occur within the pool. The endpoint
49416
49966
  requires details such as the token pair, amount, and any additional parameters
49417
49967
  needed for the minting process.`,
49418
- args: args52,
49419
- tool: async (client, args53, ctx) => {
49420
- const [result, apiCall] = await uniswapV3LiquidityProvisionMint(client, args53.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49968
+ args: args54,
49969
+ tool: async (client, args55, ctx) => {
49970
+ const [result, apiCall] = await uniswapV3LiquidityProvisionMint(client, args55.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49421
49971
  if (!result.ok) {
49422
49972
  return {
49423
49973
  content: [{ type: "text", text: result.error.message }],
@@ -49432,9 +49982,9 @@ needed for the minting process.`,
49432
49982
 
49433
49983
  // src/funcs/uniswapV3LiquidityProvisionPositions.ts
49434
49984
  function uniswapV3LiquidityProvisionPositions(client, request, options) {
49435
- return new APIPromise($do53(client, request, options));
49985
+ return new APIPromise($do55(client, request, options));
49436
49986
  }
49437
- async function $do53(client, request, options) {
49987
+ async function $do55(client, request, options) {
49438
49988
  const parsed = safeParse(request, (value) => UniswapLiquidityProvisionPositionsRequest$outboundSchema.parse(value), "Input validation failed");
49439
49989
  if (!parsed.ok) {
49440
49990
  return [parsed, { status: "invalid" }];
@@ -49509,12 +50059,12 @@ var init_uniswapV3LiquidityProvisionPositions = __esm(() => {
49509
50059
  });
49510
50060
 
49511
50061
  // src/mcp-server/tools/uniswapV3LiquidityProvisionPositions.ts
49512
- var args53, tool$uniswapV3LiquidityProvisionPositions;
50062
+ var args55, tool$uniswapV3LiquidityProvisionPositions;
49513
50063
  var init_uniswapV3LiquidityProvisionPositions2 = __esm(() => {
49514
50064
  init_uniswapV3LiquidityProvisionPositions();
49515
50065
  init_operations();
49516
50066
  init_tools();
49517
- args53 = {
50067
+ args55 = {
49518
50068
  request: UniswapLiquidityProvisionPositionsRequest$inboundSchema
49519
50069
  };
49520
50070
  tool$uniswapV3LiquidityProvisionPositions = {
@@ -49528,9 +50078,9 @@ Users can query this endpoint to obtain detailed information about their LP
49528
50078
  positions, including the total number of positions and relevant metadata. This
49529
50079
  information is crucial for users to manage and analyze their liquidity provision
49530
50080
  activities effectively.`,
49531
- args: args53,
49532
- tool: async (client, args54, ctx) => {
49533
- const [result, apiCall] = await uniswapV3LiquidityProvisionPositions(client, args54.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50081
+ args: args55,
50082
+ tool: async (client, args56, ctx) => {
50083
+ const [result, apiCall] = await uniswapV3LiquidityProvisionPositions(client, args56.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49534
50084
  if (!result.ok) {
49535
50085
  return {
49536
50086
  content: [{ type: "text", text: result.error.message }],
@@ -49545,9 +50095,9 @@ activities effectively.`,
49545
50095
 
49546
50096
  // src/funcs/uniswapV3LiquidityProvisionWithdraw.ts
49547
50097
  function uniswapV3LiquidityProvisionWithdraw(client, request, options) {
49548
- return new APIPromise($do54(client, request, options));
50098
+ return new APIPromise($do56(client, request, options));
49549
50099
  }
49550
- async function $do54(client, request, options) {
50100
+ async function $do56(client, request, options) {
49551
50101
  const parsed = safeParse(request, (value) => UniswapWithdrawLiquidityProvisionRequest$outboundSchema.parse(value), "Input validation failed");
49552
50102
  if (!parsed.ok) {
49553
50103
  return [parsed, { status: "invalid" }];
@@ -49616,12 +50166,12 @@ var init_uniswapV3LiquidityProvisionWithdraw = __esm(() => {
49616
50166
  });
49617
50167
 
49618
50168
  // src/mcp-server/tools/uniswapV3LiquidityProvisionWithdraw.ts
49619
- var args54, tool$uniswapV3LiquidityProvisionWithdraw;
50169
+ var args56, tool$uniswapV3LiquidityProvisionWithdraw;
49620
50170
  var init_uniswapV3LiquidityProvisionWithdraw2 = __esm(() => {
49621
50171
  init_uniswapV3LiquidityProvisionWithdraw();
49622
50172
  init_components();
49623
50173
  init_tools();
49624
- args54 = {
50174
+ args56 = {
49625
50175
  request: UniswapWithdrawLiquidityProvisionRequest$inboundSchema
49626
50176
  };
49627
50177
  tool$uniswapV3LiquidityProvisionWithdraw = {
@@ -49638,9 +50188,9 @@ pools or investments. The endpoint requires details such as the token pair, the
49638
50188
  amount to be withdrawn, and any additional parameters needed for the withdrawal
49639
50189
  process. Users should ensure they meet any protocol requirements or conditions
49640
50190
  before initiating a withdrawal to avoid potential issues or penalties.`,
49641
- args: args54,
49642
- tool: async (client, args55, ctx) => {
49643
- const [result, apiCall] = await uniswapV3LiquidityProvisionWithdraw(client, args55.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50191
+ args: args56,
50192
+ tool: async (client, args57, ctx) => {
50193
+ const [result, apiCall] = await uniswapV3LiquidityProvisionWithdraw(client, args57.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49644
50194
  if (!result.ok) {
49645
50195
  return {
49646
50196
  content: [{ type: "text", text: result.error.message }],
@@ -49655,9 +50205,9 @@ before initiating a withdrawal to avoid potential issues or penalties.`,
49655
50205
 
49656
50206
  // src/funcs/uniswapV3PoolPrice.ts
49657
50207
  function uniswapV3PoolPrice(client, request, options) {
49658
- return new APIPromise($do55(client, request, options));
50208
+ return new APIPromise($do57(client, request, options));
49659
50209
  }
49660
- async function $do55(client, request, options) {
50210
+ async function $do57(client, request, options) {
49661
50211
  const parsed = safeParse(request, (value) => UniswapPoolPriceRequest$outboundSchema.parse(value), "Input validation failed");
49662
50212
  if (!parsed.ok) {
49663
50213
  return [parsed, { status: "invalid" }];
@@ -49734,12 +50284,12 @@ var init_uniswapV3PoolPrice = __esm(() => {
49734
50284
  });
49735
50285
 
49736
50286
  // src/mcp-server/tools/uniswapV3PoolPrice.ts
49737
- var args55, tool$uniswapV3PoolPrice;
50287
+ var args57, tool$uniswapV3PoolPrice;
49738
50288
  var init_uniswapV3PoolPrice2 = __esm(() => {
49739
50289
  init_uniswapV3PoolPrice();
49740
50290
  init_operations();
49741
50291
  init_tools();
49742
- args55 = {
50292
+ args57 = {
49743
50293
  request: UniswapPoolPriceRequest$inboundSchema
49744
50294
  };
49745
50295
  tool$uniswapV3PoolPrice = {
@@ -49749,9 +50299,9 @@ var init_uniswapV3PoolPrice2 = __esm(() => {
49749
50299
  This endpoint calculates the price of a token in a Uniswap pool.
49750
50300
 
49751
50301
  The price is calculated based on the current pool state and the specified fee tier.`,
49752
- args: args55,
49753
- tool: async (client, args56, ctx) => {
49754
- const [result, apiCall] = await uniswapV3PoolPrice(client, args56.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50302
+ args: args57,
50303
+ tool: async (client, args58, ctx) => {
50304
+ const [result, apiCall] = await uniswapV3PoolPrice(client, args58.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49755
50305
  if (!result.ok) {
49756
50306
  return {
49757
50307
  content: [{ type: "text", text: result.error.message }],
@@ -49766,9 +50316,9 @@ The price is calculated based on the current pool state and the specified fee ti
49766
50316
 
49767
50317
  // src/funcs/uniswapV3QuoteBuyExactly.ts
49768
50318
  function uniswapV3QuoteBuyExactly(client, request, options) {
49769
- return new APIPromise($do56(client, request, options));
50319
+ return new APIPromise($do58(client, request, options));
49770
50320
  }
49771
- async function $do56(client, request, options) {
50321
+ async function $do58(client, request, options) {
49772
50322
  const parsed = safeParse(request, (value) => UniswapQuoteBuyExactlyRequest$outboundSchema.parse(value), "Input validation failed");
49773
50323
  if (!parsed.ok) {
49774
50324
  return [parsed, { status: "invalid" }];
@@ -49846,12 +50396,12 @@ var init_uniswapV3QuoteBuyExactly = __esm(() => {
49846
50396
  });
49847
50397
 
49848
50398
  // src/mcp-server/tools/uniswapV3QuoteBuyExactly.ts
49849
- var args56, tool$uniswapV3QuoteBuyExactly;
50399
+ var args58, tool$uniswapV3QuoteBuyExactly;
49850
50400
  var init_uniswapV3QuoteBuyExactly2 = __esm(() => {
49851
50401
  init_uniswapV3QuoteBuyExactly();
49852
50402
  init_operations();
49853
50403
  init_tools();
49854
- args56 = {
50404
+ args58 = {
49855
50405
  request: UniswapQuoteBuyExactlyRequest$inboundSchema
49856
50406
  };
49857
50407
  tool$uniswapV3QuoteBuyExactly = {
@@ -49863,9 +50413,9 @@ specified amount of output tokens from a Uniswap pool.
49863
50413
 
49864
50414
  It also provides the resulting price after the transaction. The calculation takes
49865
50415
  into account the current pool state and the specified fee tier.`,
49866
- args: args56,
49867
- tool: async (client, args57, ctx) => {
49868
- const [result, apiCall] = await uniswapV3QuoteBuyExactly(client, args57.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50416
+ args: args58,
50417
+ tool: async (client, args59, ctx) => {
50418
+ const [result, apiCall] = await uniswapV3QuoteBuyExactly(client, args59.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49869
50419
  if (!result.ok) {
49870
50420
  return {
49871
50421
  content: [{ type: "text", text: result.error.message }],
@@ -49880,9 +50430,9 @@ into account the current pool state and the specified fee tier.`,
49880
50430
 
49881
50431
  // src/funcs/uniswapV3QuoteSellExactly.ts
49882
50432
  function uniswapV3QuoteSellExactly(client, request, options) {
49883
- return new APIPromise($do57(client, request, options));
50433
+ return new APIPromise($do59(client, request, options));
49884
50434
  }
49885
- async function $do57(client, request, options) {
50435
+ async function $do59(client, request, options) {
49886
50436
  const parsed = safeParse(request, (value) => UniswapQuoteSellExactlyRequest$outboundSchema.parse(value), "Input validation failed");
49887
50437
  if (!parsed.ok) {
49888
50438
  return [parsed, { status: "invalid" }];
@@ -49960,12 +50510,12 @@ var init_uniswapV3QuoteSellExactly = __esm(() => {
49960
50510
  });
49961
50511
 
49962
50512
  // src/mcp-server/tools/uniswapV3QuoteSellExactly.ts
49963
- var args57, tool$uniswapV3QuoteSellExactly;
50513
+ var args59, tool$uniswapV3QuoteSellExactly;
49964
50514
  var init_uniswapV3QuoteSellExactly2 = __esm(() => {
49965
50515
  init_uniswapV3QuoteSellExactly();
49966
50516
  init_operations();
49967
50517
  init_tools();
49968
- args57 = {
50518
+ args59 = {
49969
50519
  request: UniswapQuoteSellExactlyRequest$inboundSchema
49970
50520
  };
49971
50521
  tool$uniswapV3QuoteSellExactly = {
@@ -49977,9 +50527,9 @@ specified amount of output tokens from a Uniswap pool.
49977
50527
 
49978
50528
  It also provides the resulting price after the transaction. The calculation takes
49979
50529
  into account the current pool state and the specified fee tier.`,
49980
- args: args57,
49981
- tool: async (client, args58, ctx) => {
49982
- const [result, apiCall] = await uniswapV3QuoteSellExactly(client, args58.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50530
+ args: args59,
50531
+ tool: async (client, args60, ctx) => {
50532
+ const [result, apiCall] = await uniswapV3QuoteSellExactly(client, args60.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49983
50533
  if (!result.ok) {
49984
50534
  return {
49985
50535
  content: [{ type: "text", text: result.error.message }],
@@ -49994,9 +50544,9 @@ into account the current pool state and the specified fee tier.`,
49994
50544
 
49995
50545
  // src/funcs/uniswapV3SwapBuyExactly.ts
49996
50546
  function uniswapV3SwapBuyExactly(client, request, options) {
49997
- return new APIPromise($do58(client, request, options));
50547
+ return new APIPromise($do60(client, request, options));
49998
50548
  }
49999
- async function $do58(client, request, options) {
50549
+ async function $do60(client, request, options) {
50000
50550
  const parsed = safeParse(request, (value) => UniswapBuyExactlyRequest$outboundSchema.parse(value), "Input validation failed");
50001
50551
  if (!parsed.ok) {
50002
50552
  return [parsed, { status: "invalid" }];
@@ -50065,12 +50615,12 @@ var init_uniswapV3SwapBuyExactly = __esm(() => {
50065
50615
  });
50066
50616
 
50067
50617
  // src/mcp-server/tools/uniswapV3SwapBuyExactly.ts
50068
- var args58, tool$uniswapV3SwapBuyExactly;
50618
+ var args60, tool$uniswapV3SwapBuyExactly;
50069
50619
  var init_uniswapV3SwapBuyExactly2 = __esm(() => {
50070
50620
  init_uniswapV3SwapBuyExactly();
50071
50621
  init_components();
50072
50622
  init_tools();
50073
- args58 = {
50623
+ args60 = {
50074
50624
  request: UniswapBuyExactlyRequest$inboundSchema
50075
50625
  };
50076
50626
  tool$uniswapV3SwapBuyExactly = {
@@ -50084,9 +50634,9 @@ The transaction is executed on the specified blockchain network, and the user mu
50084
50634
  provide the necessary transaction details, including the token to buy, the token to
50085
50635
  pay with, and the exact amount to receive. If the token being paid with is WETH and
50086
50636
  needs to be wrapped, the appropriate amount will be wrapped automatically.`,
50087
- args: args58,
50088
- tool: async (client, args59, ctx) => {
50089
- const [result, apiCall] = await uniswapV3SwapBuyExactly(client, args59.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50637
+ args: args60,
50638
+ tool: async (client, args61, ctx) => {
50639
+ const [result, apiCall] = await uniswapV3SwapBuyExactly(client, args61.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50090
50640
  if (!result.ok) {
50091
50641
  return {
50092
50642
  content: [{ type: "text", text: result.error.message }],
@@ -50101,9 +50651,9 @@ needs to be wrapped, the appropriate amount will be wrapped automatically.`,
50101
50651
 
50102
50652
  // src/funcs/uniswapV3SwapSellExactly.ts
50103
50653
  function uniswapV3SwapSellExactly(client, request, options) {
50104
- return new APIPromise($do59(client, request, options));
50654
+ return new APIPromise($do61(client, request, options));
50105
50655
  }
50106
- async function $do59(client, request, options) {
50656
+ async function $do61(client, request, options) {
50107
50657
  const parsed = safeParse(request, (value) => UniswapSellExactlyRequest$outboundSchema.parse(value), "Input validation failed");
50108
50658
  if (!parsed.ok) {
50109
50659
  return [parsed, { status: "invalid" }];
@@ -50172,12 +50722,12 @@ var init_uniswapV3SwapSellExactly = __esm(() => {
50172
50722
  });
50173
50723
 
50174
50724
  // src/mcp-server/tools/uniswapV3SwapSellExactly.ts
50175
- var args59, tool$uniswapV3SwapSellExactly;
50725
+ var args61, tool$uniswapV3SwapSellExactly;
50176
50726
  var init_uniswapV3SwapSellExactly2 = __esm(() => {
50177
50727
  init_uniswapV3SwapSellExactly();
50178
50728
  init_components();
50179
50729
  init_tools();
50180
- args59 = {
50730
+ args61 = {
50181
50731
  request: UniswapSellExactlyRequest$inboundSchema
50182
50732
  };
50183
50733
  tool$uniswapV3SwapSellExactly = {
@@ -50191,9 +50741,9 @@ The transaction is executed on the specified blockchain network, and the user mu
50191
50741
  provide the necessary transaction details, including the token to sell, the token to
50192
50742
  receive, and the amount to sell. If the token being sold is WETH and needs to be
50193
50743
  wrapped, the appropriate amount will be wrapped automatically.`,
50194
- args: args59,
50195
- tool: async (client, args60, ctx) => {
50196
- const [result, apiCall] = await uniswapV3SwapSellExactly(client, args60.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50744
+ args: args61,
50745
+ tool: async (client, args62, ctx) => {
50746
+ const [result, apiCall] = await uniswapV3SwapSellExactly(client, args62.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50197
50747
  if (!result.ok) {
50198
50748
  return {
50199
50749
  content: [{ type: "text", text: result.error.message }],
@@ -50208,9 +50758,9 @@ wrapped, the appropriate amount will be wrapped automatically.`,
50208
50758
 
50209
50759
  // src/funcs/universalAllowance.ts
50210
50760
  function universalAllowance(client, request, options) {
50211
- return new APIPromise($do60(client, request, options));
50761
+ return new APIPromise($do62(client, request, options));
50212
50762
  }
50213
- async function $do60(client, request, options) {
50763
+ async function $do62(client, request, options) {
50214
50764
  const parsed = safeParse(request, (value) => GenericAllowanceRequest$outboundSchema.parse(value), "Input validation failed");
50215
50765
  if (!parsed.ok) {
50216
50766
  return [parsed, { status: "invalid" }];
@@ -50287,12 +50837,12 @@ var init_universalAllowance = __esm(() => {
50287
50837
  });
50288
50838
 
50289
50839
  // src/mcp-server/tools/universalAllowance.ts
50290
- var args60, tool$universalAllowance;
50840
+ var args62, tool$universalAllowance;
50291
50841
  var init_universalAllowance2 = __esm(() => {
50292
50842
  init_universalAllowance();
50293
50843
  init_operations();
50294
50844
  init_tools();
50295
- args60 = {
50845
+ args62 = {
50296
50846
  request: GenericAllowanceRequest$inboundSchema
50297
50847
  };
50298
50848
  tool$universalAllowance = {
@@ -50306,9 +50856,9 @@ tokens on their behalf.
50306
50856
  This is a crucial step before engaging in any transactions or operations within
50307
50857
  these protocols, ensuring that the protocol has the necessary permissions to manage
50308
50858
  the user's tokens securely and efficiently.`,
50309
- args: args60,
50310
- tool: async (client, args61, ctx) => {
50311
- const [result, apiCall] = await universalAllowance(client, args61.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50859
+ args: args62,
50860
+ tool: async (client, args63, ctx) => {
50861
+ const [result, apiCall] = await universalAllowance(client, args63.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50312
50862
  if (!result.ok) {
50313
50863
  return {
50314
50864
  content: [{ type: "text", text: result.error.message }],
@@ -50323,9 +50873,9 @@ the user's tokens securely and efficiently.`,
50323
50873
 
50324
50874
  // src/funcs/universalAllowanceSet.ts
50325
50875
  function universalAllowanceSet(client, request, options) {
50326
- return new APIPromise($do61(client, request, options));
50876
+ return new APIPromise($do63(client, request, options));
50327
50877
  }
50328
- async function $do61(client, request, options) {
50878
+ async function $do63(client, request, options) {
50329
50879
  const parsed = safeParse(request, (value) => IncreaseAllowanceRequest$outboundSchema.parse(value), "Input validation failed");
50330
50880
  if (!parsed.ok) {
50331
50881
  return [parsed, { status: "invalid" }];
@@ -50394,12 +50944,12 @@ var init_universalAllowanceSet = __esm(() => {
50394
50944
  });
50395
50945
 
50396
50946
  // src/mcp-server/tools/universalAllowanceSet.ts
50397
- var args61, tool$universalAllowanceSet;
50947
+ var args63, tool$universalAllowanceSet;
50398
50948
  var init_universalAllowanceSet2 = __esm(() => {
50399
50949
  init_universalAllowanceSet();
50400
50950
  init_components();
50401
50951
  init_tools();
50402
- args61 = {
50952
+ args63 = {
50403
50953
  request: IncreaseAllowanceRequest$inboundSchema
50404
50954
  };
50405
50955
  tool$universalAllowanceSet = {
@@ -50413,9 +50963,9 @@ authorize a protocol to spend a specified amount of tokens on behalf of the user
50413
50963
  This operation is crucial for ensuring that the protocol can manage the user's
50414
50964
  tokens securely and efficiently, enabling seamless transactions and operations
50415
50965
  within the DeFi ecosystem.`,
50416
- args: args61,
50417
- tool: async (client, args62, ctx) => {
50418
- const [result, apiCall] = await universalAllowanceSet(client, args62.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50966
+ args: args63,
50967
+ tool: async (client, args64, ctx) => {
50968
+ const [result, apiCall] = await universalAllowanceSet(client, args64.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50419
50969
  if (!result.ok) {
50420
50970
  return {
50421
50971
  content: [{ type: "text", text: result.error.message }],
@@ -50430,9 +50980,9 @@ within the DeFi ecosystem.`,
50430
50980
 
50431
50981
  // src/funcs/universalEns.ts
50432
50982
  function universalEns(client, request, options) {
50433
- return new APIPromise($do62(client, request, options));
50983
+ return new APIPromise($do64(client, request, options));
50434
50984
  }
50435
- async function $do62(client, request, options) {
50985
+ async function $do64(client, request, options) {
50436
50986
  const parsed = safeParse(request, (value) => GenericEnsRequest$outboundSchema.parse(value), "Input validation failed");
50437
50987
  if (!parsed.ok) {
50438
50988
  return [parsed, { status: "invalid" }];
@@ -50507,12 +51057,12 @@ var init_universalEns = __esm(() => {
50507
51057
  });
50508
51058
 
50509
51059
  // src/mcp-server/tools/universalEns.ts
50510
- var args62, tool$universalEns;
51060
+ var args64, tool$universalEns;
50511
51061
  var init_universalEns2 = __esm(() => {
50512
51062
  init_universalEns();
50513
51063
  init_operations();
50514
51064
  init_tools();
50515
- args62 = {
51065
+ args64 = {
50516
51066
  request: GenericEnsRequest$inboundSchema
50517
51067
  };
50518
51068
  tool$universalEns = {
@@ -50523,9 +51073,9 @@ An ENS name is a string ending in \`.eth\`.
50523
51073
 
50524
51074
  E.g. \`vitalik.eth\`. This endpoint can be used to
50525
51075
  query the actual ethereum wallet address behind the ENS name.`,
50526
- args: args62,
50527
- tool: async (client, args63, ctx) => {
50528
- const [result, apiCall] = await universalEns(client, args63.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51076
+ args: args64,
51077
+ tool: async (client, args65, ctx) => {
51078
+ const [result, apiCall] = await universalEns(client, args65.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50529
51079
  if (!result.ok) {
50530
51080
  return {
50531
51081
  content: [{ type: "text", text: result.error.message }],
@@ -50540,9 +51090,9 @@ query the actual ethereum wallet address behind the ENS name.`,
50540
51090
 
50541
51091
  // src/funcs/universalPortfolio.ts
50542
51092
  function universalPortfolio(client, request, options) {
50543
- return new APIPromise($do63(client, request, options));
51093
+ return new APIPromise($do65(client, request, options));
50544
51094
  }
50545
- async function $do63(client, request, options) {
51095
+ async function $do65(client, request, options) {
50546
51096
  const parsed = safeParse(request, (value) => GenericPortfolioRequest$outboundSchema.parse(value), "Input validation failed");
50547
51097
  if (!parsed.ok) {
50548
51098
  return [parsed, { status: "invalid" }];
@@ -50617,12 +51167,12 @@ var init_universalPortfolio = __esm(() => {
50617
51167
  });
50618
51168
 
50619
51169
  // src/mcp-server/tools/universalPortfolio.ts
50620
- var args63, tool$universalPortfolio;
51170
+ var args65, tool$universalPortfolio;
50621
51171
  var init_universalPortfolio2 = __esm(() => {
50622
51172
  init_universalPortfolio();
50623
51173
  init_operations();
50624
51174
  init_tools();
50625
- args63 = {
51175
+ args65 = {
50626
51176
  request: GenericPortfolioRequest$inboundSchema
50627
51177
  };
50628
51178
  tool$universalPortfolio = {
@@ -50633,9 +51183,9 @@ Fetch the detailed portfolio of a specific wallet address on a given blockchain.
50633
51183
 
50634
51184
  This includes the total value of the portfolio in USD and a breakdown of token
50635
51185
  balances, including their respective values and quantities.`,
50636
- args: args63,
50637
- tool: async (client, args64, ctx) => {
50638
- const [result, apiCall] = await universalPortfolio(client, args64.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51186
+ args: args65,
51187
+ tool: async (client, args66, ctx) => {
51188
+ const [result, apiCall] = await universalPortfolio(client, args66.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50639
51189
  if (!result.ok) {
50640
51190
  return {
50641
51191
  content: [{ type: "text", text: result.error.message }],
@@ -50650,9 +51200,9 @@ balances, including their respective values and quantities.`,
50650
51200
 
50651
51201
  // src/funcs/universalSupportedTokens.ts
50652
51202
  function universalSupportedTokens(client, request, options) {
50653
- return new APIPromise($do64(client, request, options));
51203
+ return new APIPromise($do66(client, request, options));
50654
51204
  }
50655
- async function $do64(client, request, options) {
51205
+ async function $do66(client, request, options) {
50656
51206
  const parsed = safeParse(request, (value) => GenericSupportedTokensRequest$outboundSchema.parse(value), "Input validation failed");
50657
51207
  if (!parsed.ok) {
50658
51208
  return [parsed, { status: "invalid" }];
@@ -50726,12 +51276,12 @@ var init_universalSupportedTokens = __esm(() => {
50726
51276
  });
50727
51277
 
50728
51278
  // src/mcp-server/tools/universalSupportedTokens.ts
50729
- var args64, tool$universalSupportedTokens;
51279
+ var args66, tool$universalSupportedTokens;
50730
51280
  var init_universalSupportedTokens2 = __esm(() => {
50731
51281
  init_universalSupportedTokens();
50732
51282
  init_operations();
50733
51283
  init_tools();
50734
- args64 = {
51284
+ args66 = {
50735
51285
  request: GenericSupportedTokensRequest$inboundSchema
50736
51286
  };
50737
51287
  tool$universalSupportedTokens = {
@@ -50739,9 +51289,9 @@ var init_universalSupportedTokens2 = __esm(() => {
50739
51289
  description: `List supported tokens
50740
51290
 
50741
51291
  Get the list of supported tokens on a chain by the Compass API.`,
50742
- args: args64,
50743
- tool: async (client, args65, ctx) => {
50744
- const [result, apiCall] = await universalSupportedTokens(client, args65.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51292
+ args: args66,
51293
+ tool: async (client, args67, ctx) => {
51294
+ const [result, apiCall] = await universalSupportedTokens(client, args67.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50745
51295
  if (!result.ok) {
50746
51296
  return {
50747
51297
  content: [{ type: "text", text: result.error.message }],
@@ -50756,9 +51306,9 @@ Get the list of supported tokens on a chain by the Compass API.`,
50756
51306
 
50757
51307
  // src/funcs/universalUnwrapWeth.ts
50758
51308
  function universalUnwrapWeth(client, request, options) {
50759
- return new APIPromise($do65(client, request, options));
51309
+ return new APIPromise($do67(client, request, options));
50760
51310
  }
50761
- async function $do65(client, request, options) {
51311
+ async function $do67(client, request, options) {
50762
51312
  const parsed = safeParse(request, (value) => UnwrapWethRequest$outboundSchema.parse(value), "Input validation failed");
50763
51313
  if (!parsed.ok) {
50764
51314
  return [parsed, { status: "invalid" }];
@@ -50827,12 +51377,12 @@ var init_universalUnwrapWeth = __esm(() => {
50827
51377
  });
50828
51378
 
50829
51379
  // src/mcp-server/tools/universalUnwrapWeth.ts
50830
- var args65, tool$universalUnwrapWeth;
51380
+ var args67, tool$universalUnwrapWeth;
50831
51381
  var init_universalUnwrapWeth2 = __esm(() => {
50832
51382
  init_universalUnwrapWeth();
50833
51383
  init_components();
50834
51384
  init_tools();
50835
- args65 = {
51385
+ args67 = {
50836
51386
  request: UnwrapWethRequest$inboundSchema
50837
51387
  };
50838
51388
  tool$universalUnwrapWeth = {
@@ -50841,9 +51391,9 @@ var init_universalUnwrapWeth2 = __esm(() => {
50841
51391
 
50842
51392
  Unwrapping WETH converts the ERC-20 compliant form of ETH back to native ETH that
50843
51393
  can be used for gas and other native purposes.`,
50844
- args: args65,
50845
- tool: async (client, args66, ctx) => {
50846
- const [result, apiCall] = await universalUnwrapWeth(client, args66.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51394
+ args: args67,
51395
+ tool: async (client, args68, ctx) => {
51396
+ const [result, apiCall] = await universalUnwrapWeth(client, args68.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50847
51397
  if (!result.ok) {
50848
51398
  return {
50849
51399
  content: [{ type: "text", text: result.error.message }],
@@ -50858,9 +51408,9 @@ can be used for gas and other native purposes.`,
50858
51408
 
50859
51409
  // src/funcs/universalVisualizePortfolio.ts
50860
51410
  function universalVisualizePortfolio(client, request, options) {
50861
- return new APIPromise($do66(client, request, options));
51411
+ return new APIPromise($do68(client, request, options));
50862
51412
  }
50863
- async function $do66(client, request, options) {
51413
+ async function $do68(client, request, options) {
50864
51414
  const parsed = safeParse(request, (value) => GenericVisualizePortfolioRequest$outboundSchema.parse(value), "Input validation failed");
50865
51415
  if (!parsed.ok) {
50866
51416
  return [parsed, { status: "invalid" }];
@@ -50935,12 +51485,12 @@ var init_universalVisualizePortfolio = __esm(() => {
50935
51485
  });
50936
51486
 
50937
51487
  // src/mcp-server/tools/universalVisualizePortfolio.ts
50938
- var args66, tool$universalVisualizePortfolio;
51488
+ var args68, tool$universalVisualizePortfolio;
50939
51489
  var init_universalVisualizePortfolio2 = __esm(() => {
50940
51490
  init_universalVisualizePortfolio();
50941
51491
  init_operations();
50942
51492
  init_tools();
50943
- args66 = {
51493
+ args68 = {
50944
51494
  request: GenericVisualizePortfolioRequest$inboundSchema
50945
51495
  };
50946
51496
  tool$universalVisualizePortfolio = {
@@ -50952,9 +51502,9 @@ Generate a visual representation of the token portfolio for a wallet address.
50952
51502
  The response is an SVG image of a pie chart depicting the relative distribution of
50953
51503
  tokens held, colored and labeled with token symbols, percentages and token values in
50954
51504
  USD.`,
50955
- args: args66,
50956
- tool: async (client, args67, ctx) => {
50957
- const [result, apiCall] = await universalVisualizePortfolio(client, args67.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51505
+ args: args68,
51506
+ tool: async (client, args69, ctx) => {
51507
+ const [result, apiCall] = await universalVisualizePortfolio(client, args69.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50958
51508
  if (!result.ok) {
50959
51509
  return {
50960
51510
  content: [{ type: "text", text: result.error.message }],
@@ -50969,9 +51519,9 @@ USD.`,
50969
51519
 
50970
51520
  // src/funcs/universalWrapEth.ts
50971
51521
  function universalWrapEth(client, request, options) {
50972
- return new APIPromise($do67(client, request, options));
51522
+ return new APIPromise($do69(client, request, options));
50973
51523
  }
50974
- async function $do67(client, request, options) {
51524
+ async function $do69(client, request, options) {
50975
51525
  const parsed = safeParse(request, (value) => WrapEthRequest$outboundSchema.parse(value), "Input validation failed");
50976
51526
  if (!parsed.ok) {
50977
51527
  return [parsed, { status: "invalid" }];
@@ -51040,12 +51590,12 @@ var init_universalWrapEth = __esm(() => {
51040
51590
  });
51041
51591
 
51042
51592
  // src/mcp-server/tools/universalWrapEth.ts
51043
- var args67, tool$universalWrapEth;
51593
+ var args69, tool$universalWrapEth;
51044
51594
  var init_universalWrapEth2 = __esm(() => {
51045
51595
  init_universalWrapEth();
51046
51596
  init_components();
51047
51597
  init_tools();
51048
- args67 = {
51598
+ args69 = {
51049
51599
  request: WrapEthRequest$inboundSchema
51050
51600
  };
51051
51601
  tool$universalWrapEth = {
@@ -51054,9 +51604,9 @@ var init_universalWrapEth2 = __esm(() => {
51054
51604
 
51055
51605
  Wrapping ETH creates an ERC20 compliant form of ETH that is typically needed for
51056
51606
  it to be traded on DeFi protocols.`,
51057
- args: args67,
51058
- tool: async (client, args68, ctx) => {
51059
- const [result, apiCall] = await universalWrapEth(client, args68.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51607
+ args: args69,
51608
+ tool: async (client, args70, ctx) => {
51609
+ const [result, apiCall] = await universalWrapEth(client, args70.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51060
51610
  if (!result.ok) {
51061
51611
  return {
51062
51612
  content: [{ type: "text", text: result.error.message }],
@@ -51073,7 +51623,7 @@ it to be traded on DeFi protocols.`,
51073
51623
  function createMCPServer(deps) {
51074
51624
  const server = new McpServer({
51075
51625
  name: "CompassApiSDK",
51076
- version: "0.2.1"
51626
+ version: "0.2.2"
51077
51627
  });
51078
51628
  const client = new CompassApiSDKCore({
51079
51629
  apiKeyAuth: deps.apiKeyAuth,
@@ -51149,6 +51699,8 @@ function createMCPServer(deps) {
51149
51699
  tool(tool$universalUnwrapWeth);
51150
51700
  tool(tool$universalAllowanceSet);
51151
51701
  tool(tool$pendlePosition);
51702
+ tool(tool$pendlePositions);
51703
+ tool(tool$pendleMarkets);
51152
51704
  tool(tool$pendleMarket);
51153
51705
  tool(tool$transactionBatchingAuthorization);
51154
51706
  tool(tool$transactionBatchingExecute);
@@ -51196,7 +51748,9 @@ var init_server2 = __esm(() => {
51196
51748
  init_morphoWithdraw2();
51197
51749
  init_morphoWithdrawCollateral2();
51198
51750
  init_pendleMarket2();
51751
+ init_pendleMarkets2();
51199
51752
  init_pendlePosition2();
51753
+ init_pendlePositions2();
51200
51754
  init_skyBuy2();
51201
51755
  init_skyDeposit2();
51202
51756
  init_skyPosition2();
@@ -52418,7 +52972,7 @@ var routes = an({
52418
52972
  var app = He(routes, {
52419
52973
  name: "mcp",
52420
52974
  versionInfo: {
52421
- currentVersion: "0.2.1"
52975
+ currentVersion: "0.2.2"
52422
52976
  }
52423
52977
  });
52424
52978
  zt(app, process3.argv.slice(2), buildContext(process3));
@@ -52426,5 +52980,5 @@ export {
52426
52980
  app
52427
52981
  };
52428
52982
 
52429
- //# debugId=FD713C394D344D6D64756E2164756E21
52983
+ //# debugId=B8AE0993EC2B030F64756E2164756E21
52430
52984
  //# sourceMappingURL=mcp-server.js.map