@continuumdao/ctm-mpc-defi 0.2.11 → 0.2.13

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 (64) hide show
  1. package/dist/agent/catalog.cjs +137 -51
  2. package/dist/agent/catalog.cjs.map +1 -1
  3. package/dist/agent/catalog.d.ts +895 -347
  4. package/dist/agent/catalog.js +136 -52
  5. package/dist/agent/catalog.js.map +1 -1
  6. package/dist/agent/skills/morpho/SKILL.md +11 -17
  7. package/dist/chains/evm/index.cjs +1 -1
  8. package/dist/chains/evm/index.cjs.map +1 -1
  9. package/dist/chains/evm/index.js +1 -1
  10. package/dist/chains/evm/index.js.map +1 -1
  11. package/dist/core/index.cjs +1 -1
  12. package/dist/core/index.cjs.map +1 -1
  13. package/dist/core/index.d.ts +1 -1
  14. package/dist/core/index.js +1 -1
  15. package/dist/core/index.js.map +1 -1
  16. package/dist/index.cjs +1 -1
  17. package/dist/index.cjs.map +1 -1
  18. package/dist/index.js +1 -1
  19. package/dist/index.js.map +1 -1
  20. package/dist/protocols/evm/aave-v4/index.cjs +1 -1
  21. package/dist/protocols/evm/aave-v4/index.cjs.map +1 -1
  22. package/dist/protocols/evm/aave-v4/index.js +1 -1
  23. package/dist/protocols/evm/aave-v4/index.js.map +1 -1
  24. package/dist/protocols/evm/curve-dao/index.cjs +1 -1
  25. package/dist/protocols/evm/curve-dao/index.cjs.map +1 -1
  26. package/dist/protocols/evm/curve-dao/index.js +1 -1
  27. package/dist/protocols/evm/curve-dao/index.js.map +1 -1
  28. package/dist/protocols/evm/ethena/index.cjs +1 -1
  29. package/dist/protocols/evm/ethena/index.cjs.map +1 -1
  30. package/dist/protocols/evm/ethena/index.js +1 -1
  31. package/dist/protocols/evm/ethena/index.js.map +1 -1
  32. package/dist/protocols/evm/euler-v2/index.cjs +1 -1
  33. package/dist/protocols/evm/euler-v2/index.cjs.map +1 -1
  34. package/dist/protocols/evm/euler-v2/index.js +1 -1
  35. package/dist/protocols/evm/euler-v2/index.js.map +1 -1
  36. package/dist/protocols/evm/gmx/index.cjs +1 -1
  37. package/dist/protocols/evm/gmx/index.cjs.map +1 -1
  38. package/dist/protocols/evm/gmx/index.js +1 -1
  39. package/dist/protocols/evm/gmx/index.js.map +1 -1
  40. package/dist/protocols/evm/hyperliquid/index.cjs +1 -1
  41. package/dist/protocols/evm/hyperliquid/index.cjs.map +1 -1
  42. package/dist/protocols/evm/hyperliquid/index.js +1 -1
  43. package/dist/protocols/evm/hyperliquid/index.js.map +1 -1
  44. package/dist/protocols/evm/lido/index.cjs +1 -1
  45. package/dist/protocols/evm/lido/index.cjs.map +1 -1
  46. package/dist/protocols/evm/lido/index.js +1 -1
  47. package/dist/protocols/evm/lido/index.js.map +1 -1
  48. package/dist/protocols/evm/maple/index.cjs +1 -1
  49. package/dist/protocols/evm/maple/index.cjs.map +1 -1
  50. package/dist/protocols/evm/maple/index.js +1 -1
  51. package/dist/protocols/evm/maple/index.js.map +1 -1
  52. package/dist/protocols/evm/morpho/index.cjs +1 -1
  53. package/dist/protocols/evm/morpho/index.cjs.map +1 -1
  54. package/dist/protocols/evm/morpho/index.js +1 -1
  55. package/dist/protocols/evm/morpho/index.js.map +1 -1
  56. package/dist/protocols/evm/sky/index.cjs +1 -1
  57. package/dist/protocols/evm/sky/index.cjs.map +1 -1
  58. package/dist/protocols/evm/sky/index.js +1 -1
  59. package/dist/protocols/evm/sky/index.js.map +1 -1
  60. package/dist/protocols/evm/uniswap-v4/index.cjs +1 -1
  61. package/dist/protocols/evm/uniswap-v4/index.cjs.map +1 -1
  62. package/dist/protocols/evm/uniswap-v4/index.js +1 -1
  63. package/dist/protocols/evm/uniswap-v4/index.js.map +1 -1
  64. package/package.json +1 -1
@@ -413,6 +413,14 @@ var MULTISIGN_SUBMIT_OUTPUT_DOC = {
413
413
  requestId: {
414
414
  type: "string",
415
415
  description: "Sign request id from POST /multiSignRequest."
416
+ },
417
+ status: {
418
+ type: "string",
419
+ description: "submitted when POST succeeded \u2014 do not call the same build tool again."
420
+ },
421
+ followUp: {
422
+ type: "string",
423
+ description: "Lifecycle next steps (wait_for_sign_request_ready \u2192 agree \u2192 trigger \u2192 broadcast)."
416
424
  }
417
425
  }
418
426
  };
@@ -481,6 +489,22 @@ function withMultisignSubmitMcpMeta(description, followUp = MCP_MULTISIGN_SUBMIT
481
489
  followUp: [...followUp]
482
490
  };
483
491
  }
492
+ var MULTISIGN_SERVER_RESOLVED_KEYS = /* @__PURE__ */ new Set([
493
+ "keyGen",
494
+ "rpcUrl",
495
+ "executorAddress",
496
+ "chainDetail",
497
+ "customGasChainDetails"
498
+ ]);
499
+ function agentFacingMultisignJsonSchema(schema) {
500
+ const raw = zodSchemaToMcpJsonSchema(schema);
501
+ const prevRequired = Array.isArray(raw.required) ? [...raw.required] : [];
502
+ const agentRequired = prevRequired.filter((k) => !MULTISIGN_SERVER_RESOLVED_KEYS.has(k));
503
+ if (!agentRequired.includes("keyGenId")) {
504
+ agentRequired.unshift("keyGenId");
505
+ }
506
+ return { ...raw, required: agentRequired };
507
+ }
484
508
  function zodSchemaToMcpJsonSchema(schema) {
485
509
  const raw = zodToJsonSchema(schema, {
486
510
  target: "openApi3",
@@ -500,6 +524,41 @@ function zodSchemaToMcpJsonSchema(schema) {
500
524
  }
501
525
  return raw;
502
526
  }
527
+ function parseAgentBoolean(raw, defaultValue = false) {
528
+ if (raw === void 0 || raw === null) return defaultValue;
529
+ if (typeof raw === "boolean") return raw;
530
+ if (typeof raw === "number") return raw !== 0;
531
+ if (typeof raw === "string") {
532
+ const t = raw.trim().toLowerCase();
533
+ if (t === "true" || t === "1" || t === "yes") return true;
534
+ if (t === "false" || t === "0" || t === "no" || t === "") return false;
535
+ }
536
+ return Boolean(raw);
537
+ }
538
+ var CHAIN_ID_DECIMAL_HEX_TYPOS = {
539
+ 33875: 8453
540
+ };
541
+ function parseAgentEvmChainId(raw) {
542
+ if (typeof raw === "number" && Number.isInteger(raw) && raw > 0) return raw;
543
+ if (typeof raw !== "string") return Number.NaN;
544
+ const t = raw.trim();
545
+ if (!t) return Number.NaN;
546
+ if (t.toLowerCase().startsWith("0x")) {
547
+ const hexVal = Number.parseInt(t, 16);
548
+ if (!Number.isFinite(hexVal) || hexVal <= 0) return Number.NaN;
549
+ return CHAIN_ID_DECIMAL_HEX_TYPOS[hexVal] ?? hexVal;
550
+ }
551
+ const dec = Number.parseInt(t, 10);
552
+ return Number.isFinite(dec) && dec > 0 ? dec : Number.NaN;
553
+ }
554
+ var agentBooleanSchema = (defaultValue = false) => z.preprocess((val) => parseAgentBoolean(val, defaultValue), z.boolean());
555
+ var agentOptionalBooleanSchema = () => z.preprocess((val) => val === void 0 || val === null ? void 0 : parseAgentBoolean(val, false), z.boolean().optional());
556
+ var agentEvmChainIdSchema = z.preprocess(
557
+ (val) => parseAgentEvmChainId(val),
558
+ z.number().int().positive().describe("EVM chain id (decimal, e.g. 8453 for Base \u2014 not 0x8453).")
559
+ );
560
+
561
+ // src/agent/schemas/common.ts
503
562
  var evmAddressSchema = z.string().min(1).describe("EVM address (0x-prefixed, 40 hex nibbles)");
504
563
  var keyGenSchema = z.object({
505
564
  pubkeyhex: z.string().min(1).describe("MPC secp256k1 public key hex (required for multiSignRequest pubKey)"),
@@ -521,23 +580,30 @@ var chainDetailSchema = z.object({
521
580
  );
522
581
  var evmMultisignCommonInputSchema = z.object({
523
582
  keyGenId: z.string().min(1).optional().describe(
524
- "KeyGen request id from get_preferred_key_gen / conversation context. MCP server resolves keyGen, executorAddress, rpcUrl, and chainDetail \u2014 do not pass those fields when keyGenId is set."
583
+ "KeyGen request id from get_preferred_key_gen / conversation context. MCP server resolves keyGen, executorAddress, rpcUrl, and chainDetail \u2014 agents must pass keyGenId only."
525
584
  ),
526
- keyGen: keyGenSchema,
585
+ keyGen: keyGenSchema.optional().describe("Server-filled from keyGenId. Agents must not pass keyGen."),
527
586
  purposeText: z.string().min(1).describe(
528
587
  "Human-readable purpose for the sign request. Stored in bodyForSign.purpose (may be appended with an automatic batch suffix)."
529
588
  ),
530
- useCustomGas: z.boolean().describe(
531
- "When true, apply Custom Gas Config from chainDetail / customGasChainDetails. Omitted baseFee/priorityFee is valid \u2014 builder uses live RPC fees; configured values are optional floors/multipliers. When false, use live RPC estimates only."
589
+ useCustomGas: agentBooleanSchema(false).describe(
590
+ "JSON boolean only: false = live RPC fees (default), true = chain registry Custom Gas Config. Omitted baseFee/priorityFee is valid when true."
532
591
  ),
533
- chainId: z.number().int().positive().describe("EVM chain id (decimal). Becomes destinationChainID on the sign request."),
534
- rpcUrl: z.string().min(1).describe("HTTPS JSON-RPC URL for gas estimation, nonce, and allowance reads."),
535
- executorAddress: evmAddressSchema.describe(
536
- "MPC wallet address (from keyGen ethereumaddress) \u2014 tx sender for estimates and approvals."
537
- ),
538
- chainDetail: chainDetailSchema,
592
+ chainId: agentEvmChainIdSchema,
593
+ rpcUrl: z.string().min(1).optional().describe("Server-filled from chain registry when keyGenId is set. Agents must not pass rpcUrl."),
594
+ executorAddress: evmAddressSchema.optional().describe("Server-filled MPC wallet from keyGenId. Agents must not pass executorAddress."),
595
+ chainDetail: chainDetailSchema.optional().describe("Server-filled gas row from chain registry when keyGenId is set."),
539
596
  customGasChainDetails: z.record(z.unknown()).optional().describe("Snapshot written to extraJSON.customGasChainDetails when useCustomGas is true.")
540
597
  });
598
+ function withMultisignKeySourceRefine(schema) {
599
+ return schema.refine(
600
+ (d) => Boolean(d.keyGenId?.trim()) || Boolean(d.keyGen?.pubkeyhex?.trim() && d.executorAddress?.trim() && d.rpcUrl?.trim()),
601
+ {
602
+ message: "keyGenId is required for MCP agents (or pass keyGen + executorAddress + rpcUrl for manual calls).",
603
+ path: ["keyGenId"]
604
+ }
605
+ );
606
+ }
541
607
  var multisignOutputSchema = z.object({
542
608
  bodyForSign: z.record(z.unknown()).describe(
543
609
  "POST body fields without clientSig: keyList, pubKey, msgHash, msgRaw, destinationChainID, purpose, extraJSON, proposalTxParams (batch), messageHashes/messageRawBatch when N>1 txs."
@@ -585,18 +651,20 @@ var mcpUniswapV4CreateSwapOutputSchema = z.object({
585
651
  gasFee: z.string().optional()
586
652
  }).passthrough().describe("{ swap: TransactionRequest, requestId?, gasFee? }");
587
653
  var swapTxRequestSchema = jsonObjectSchema.describe("swap field from create_swap response (to, data, value)");
588
- var mcpUniswapV4BuildSwapMultisignInputSchema = evmMultisignCommonInputSchema.extend({
589
- tokenIn: evmAddressSchema.describe("Token in; 0x0 for native ETH"),
590
- swap: swapTxRequestSchema,
591
- createSwapResponse: z.object({
654
+ var mcpUniswapV4BuildSwapMultisignInputSchema = withMultisignKeySourceRefine(
655
+ evmMultisignCommonInputSchema.extend({
656
+ tokenIn: evmAddressSchema.describe("Token in; 0x0 for native ETH"),
592
657
  swap: swapTxRequestSchema,
593
- requestId: z.string().optional(),
594
- gasFee: z.string().optional()
595
- }).passthrough().describe("Full create_swap response"),
596
- fullQuoteSnapshot: jsonObjectSchema.describe("Quote JSON used for the swap"),
597
- swapDeadlineUnix: z.number().describe("Same deadline passed to create_swap"),
598
- slippagePercent: z.number().optional().describe("Extra approve headroom for EXACT_OUTPUT")
599
- });
658
+ createSwapResponse: z.object({
659
+ swap: swapTxRequestSchema,
660
+ requestId: z.string().optional(),
661
+ gasFee: z.string().optional()
662
+ }).passthrough().describe("Full create_swap response"),
663
+ fullQuoteSnapshot: jsonObjectSchema.describe("Quote JSON used for the swap"),
664
+ swapDeadlineUnix: z.number().describe("Same deadline passed to create_swap"),
665
+ slippagePercent: z.number().optional().describe("Extra approve headroom for EXACT_OUTPUT")
666
+ })
667
+ );
600
668
  var lpExistingPoolSchema = z.object({
601
669
  token0Address: evmAddressSchema,
602
670
  token1Address: evmAddressSchema,
@@ -736,21 +804,27 @@ var lpBuildCommonSchema = {
736
804
  nativeWrapped: evmAddressSchema.optional(),
737
805
  poolReference: z.string().optional()
738
806
  };
739
- var mcpUniswapV4BuildMintLiquidityMultisignInputSchema = evmMultisignCommonInputSchema.extend(
740
- lpBuildCommonSchema
807
+ var mcpUniswapV4BuildMintLiquidityMultisignInputSchema = withMultisignKeySourceRefine(
808
+ evmMultisignCommonInputSchema.extend(lpBuildCommonSchema)
809
+ );
810
+ var mcpUniswapV4BuildIncreaseLiquidityMultisignInputSchema = withMultisignKeySourceRefine(
811
+ evmMultisignCommonInputSchema.extend({
812
+ ...lpBuildCommonSchema,
813
+ nftTokenId: z.union([z.string(), z.number()])
814
+ })
815
+ );
816
+ var mcpUniswapV4BuildDecreaseLiquidityMultisignInputSchema = withMultisignKeySourceRefine(
817
+ evmMultisignCommonInputSchema.extend({
818
+ ...lpBuildCommonSchema,
819
+ nftTokenId: z.union([z.string(), z.number()])
820
+ })
821
+ );
822
+ var mcpUniswapV4BuildCollectFeesMultisignInputSchema = withMultisignKeySourceRefine(
823
+ evmMultisignCommonInputSchema.extend({
824
+ ...lpBuildCommonSchema,
825
+ nftTokenId: z.union([z.string(), z.number()])
826
+ })
741
827
  );
742
- var mcpUniswapV4BuildIncreaseLiquidityMultisignInputSchema = evmMultisignCommonInputSchema.extend({
743
- ...lpBuildCommonSchema,
744
- nftTokenId: z.union([z.string(), z.number()])
745
- });
746
- var mcpUniswapV4BuildDecreaseLiquidityMultisignInputSchema = evmMultisignCommonInputSchema.extend({
747
- ...lpBuildCommonSchema,
748
- nftTokenId: z.union([z.string(), z.number()])
749
- });
750
- var mcpUniswapV4BuildCollectFeesMultisignInputSchema = evmMultisignCommonInputSchema.extend({
751
- ...lpBuildCommonSchema,
752
- nftTokenId: z.union([z.string(), z.number()])
753
- });
754
828
  var mcpCurveDaoQuoteInputSchema = z.object({
755
829
  chainId: z.number().int().positive().describe("EVM chain id (rpcUrl resolved from get_chain_registry rpcGateway)"),
756
830
  rpcUrl: z.string().min(1).optional().describe("JSON-RPC URL; continuum-mcp-server injects from chain registry \u2014 do not pass a public RPC URL"),
@@ -762,12 +836,14 @@ var mcpCurveDaoQuoteInputSchema = z.object({
762
836
  var mcpCurveDaoQuoteOutputSchema = jsonObjectSchema.describe(
763
837
  "Curve router quote: { inputAmount, output, route, priceImpactPercent?, tokenInRouterId, tokenOutRouterId }"
764
838
  );
765
- var mcpCurveDaoBuildSwapMultisignInputSchema = evmMultisignCommonInputSchema.extend({
766
- tokenIn: evmAddressSchema.describe("ERC-20 sold (native in uses WETH path in UI)"),
767
- tokenOut: z.string().min(1).describe("Output token or 0xeeee\u2026 native placeholder"),
768
- amountHuman: z.string().min(1).describe("Human-readable amount of tokenIn"),
769
- slippagePercent: z.number().gt(0).lt(100).describe("Slippage 0\u2013100 exclusive")
770
- });
839
+ var mcpCurveDaoBuildSwapMultisignInputSchema = withMultisignKeySourceRefine(
840
+ evmMultisignCommonInputSchema.extend({
841
+ tokenIn: evmAddressSchema.describe("ERC-20 sold (native in uses WETH path in UI)"),
842
+ tokenOut: z.string().min(1).describe("Output token or 0xeeee\u2026 native placeholder"),
843
+ amountHuman: z.string().min(1).describe("Human-readable amount of tokenIn"),
844
+ slippagePercent: z.number().gt(0).lt(100).describe("Slippage 0\u2013100 exclusive")
845
+ })
846
+ );
771
847
  var mcpServerCommonInputSchema = z.object({
772
848
  keyGenId: z.string().min(1).describe("KeyGen id from fetch_key_gen_result / node preferred KeyGen"),
773
849
  chainId: z.number().int().positive().describe("EVM chain id; RPC and gas config resolved from chain registry"),
@@ -778,7 +854,11 @@ function mcpServerMultisignInput(fields) {
778
854
  return mcpServerCommonInputSchema.extend(fields);
779
855
  }
780
856
  var mcpServerSubmitOutputSchema = z.object({
781
- requestId: z.string().min(1).describe("Sign request id from POST /multiSignRequest \u2014 success; do not retry the same build tool.")
857
+ requestId: z.string().min(1).describe("Sign request id from POST /multiSignRequest \u2014 success; do not retry the same build tool."),
858
+ status: z.literal("submitted").optional().describe("Present when POST /multiSignRequest succeeded. Confirms the request exists on the node."),
859
+ followUp: z.string().optional().describe(
860
+ "Next MCP lifecycle steps. Do not call the same build_*_multisign tool again unless the user explicitly wants a duplicate order."
861
+ )
782
862
  }).describe(
783
863
  "Submitted mpc-auth multiSignRequest. Continue with wait_for_sign_request_ready \u2192 sign_request_agree \u2192 trigger_sign_result \u2192 broadcast_sign_result."
784
864
  );
@@ -789,7 +869,7 @@ var MCP_NON_SUBMIT_TOOL_NAMES = /* @__PURE__ */ new Set([
789
869
 
790
870
  // src/agent/schemas/protocols.ts
791
871
  function mcpMultisignInput(fields) {
792
- return evmMultisignCommonInputSchema.extend(fields);
872
+ return withMultisignKeySourceRefine(evmMultisignCommonInputSchema.extend(fields));
793
873
  }
794
874
  var mcpLidoSubmitInputSchema = mcpMultisignInput({
795
875
  valueWei: z.string().min(1).describe("ETH to stake (wei decimal string)"),
@@ -931,7 +1011,7 @@ var mcpMorphoVaultDepositInputSchema = mcpMultisignInput({
931
1011
  vault: evmAddressSchema,
932
1012
  underlying: evmAddressSchema.describe("Underlying asset; use wrapped native with isNativeIn for ETH."),
933
1013
  amountHuman: z.string().min(1),
934
- isNativeIn: z.boolean().optional()
1014
+ isNativeIn: agentOptionalBooleanSchema()
935
1015
  });
936
1016
  var mcpMorphoVaultWithdrawInputSchema = mcpMultisignInput({
937
1017
  vault: evmAddressSchema,
@@ -941,7 +1021,7 @@ var mcpMorphoBlueCollateralDepositInputSchema = mcpMultisignInput({
941
1021
  marketId: z.string().min(1).describe("Morpho Blue marketId from API."),
942
1022
  collateralToken: evmAddressSchema,
943
1023
  amountHuman: z.string().min(1),
944
- isNativeIn: z.boolean().optional()
1024
+ isNativeIn: agentOptionalBooleanSchema()
945
1025
  });
946
1026
  var mcpMorphoBlueBorrowInputSchema = mcpMultisignInput({
947
1027
  marketId: z.string().min(1),
@@ -996,7 +1076,7 @@ var mcpMorphoFetchEarnVaultsOutputSchema = z.object({
996
1076
  )
997
1077
  });
998
1078
  function mcpGmxMultisignInput(fields) {
999
- return evmMultisignCommonInputSchema.extend(fields);
1079
+ return withMultisignKeySourceRefine(evmMultisignCommonInputSchema.extend(fields));
1000
1080
  }
1001
1081
  var gmxDirectionSchema = z.enum(["long", "short"]);
1002
1082
  var gmxOrderTypeSchema = z.enum(["market", "limit"]);
@@ -1144,7 +1224,7 @@ var mcpGmxFetchOhlcvOutputSchema = z.object({
1144
1224
  candles: z.array(gmxOhlcvCandleSchema)
1145
1225
  });
1146
1226
  function mcpHyperliquidMultisignInput(fields) {
1147
- return evmMultisignCommonInputSchema.extend(fields);
1227
+ return withMultisignKeySourceRefine(evmMultisignCommonInputSchema.extend(fields));
1148
1228
  }
1149
1229
  var hyperliquidTifSchema = z.enum(["alo", "gtc", "ioc"]);
1150
1230
  var hyperliquidOhlcvIntervalSchema = z.enum([
@@ -1457,7 +1537,7 @@ function defineProtocolMcpTool(def) {
1457
1537
  description: meta.description,
1458
1538
  followUp: meta.followUp,
1459
1539
  outputZod: mcpServerSubmitOutputSchema,
1460
- inputSchema: zodSchemaToMcpJsonSchema(def.inputZod),
1540
+ inputSchema: agentFacingMultisignJsonSchema(def.inputZod),
1461
1541
  outputSchema: zodSchemaToMcpJsonSchema(mcpServerSubmitOutputSchema),
1462
1542
  parseInput: (data) => def.inputZod.parse(data),
1463
1543
  parseOutput: (data) => mcpServerSubmitOutputSchema.parse(data)
@@ -2018,12 +2098,16 @@ function defineMcpTool(def) {
2018
2098
  }
2019
2099
  function defineMultisignSubmitMcpTool(def) {
2020
2100
  const meta = withMultisignSubmitMcpMeta(def.description, def.followUp ?? MCP_MULTISIGN_SUBMIT_FOLLOW_UP);
2021
- return defineMcpTool({
2101
+ return {
2022
2102
  ...def,
2023
2103
  description: meta.description,
2024
2104
  followUp: meta.followUp,
2025
- outputZod: mcpServerSubmitOutputSchema
2026
- });
2105
+ outputZod: mcpServerSubmitOutputSchema,
2106
+ inputSchema: agentFacingMultisignJsonSchema(def.inputZod),
2107
+ outputSchema: zodSchemaToMcpJsonSchema(mcpServerSubmitOutputSchema),
2108
+ parseInput: (data) => def.inputZod.parse(data),
2109
+ parseOutput: (data) => mcpServerSubmitOutputSchema.parse(data)
2110
+ };
2027
2111
  }
2028
2112
  var CORE_MCP_TOOL_DEFINITIONS = [
2029
2113
  defineMcpTool({
@@ -3827,6 +3911,6 @@ function getAgentCatalog() {
3827
3911
  };
3828
3912
  }
3829
3913
 
3830
- export { EVM_COMMON_PARAM_DOCS, MANAGEMENT_SIG_DOC, MCP_NON_SUBMIT_TOOL_NAMES, MCP_TOOL_DEFINITIONS, MCP_TOOL_INPUT_SCHEMAS, MCP_TOOL_OUTPUT_SCHEMAS, MULTISIGN_OUTPUT_DOC, MULTISIGN_SUBMIT_OUTPUT_DOC, PROTOCOL_SUPPORT_ADVISORS, chainDetailSchema, evmAddressSchema, evmMultisignCommonInputSchema, getActionsByChainCategory, getAgentCatalog, getAgentCatalogForMcp, getMcpToolByName, getMcpToolDefinitions, getMcpToolInputSchema, getMcpToolOutputSchema, getProtocolDiscoverySummary, getProtocolModules, getProtocolSkill, getProtocolSupportAdvisor, getToolsForProtocol, jsonObjectSchema, keyGenSchema, listProtocolSupportAdvisorIds, listProtocolsWithSkills, mcpAaveV4BorrowInputSchema, mcpAaveV4DepositInputSchema, mcpAaveV4RepayInputSchema, mcpAaveV4WithdrawInputSchema, mcpCurveDaoBuildSwapMultisignInputSchema, mcpCurveDaoQuoteInputSchema, mcpCurveDaoQuoteOutputSchema, mcpEthenaClaimInputSchema, mcpEthenaCooldownInputSchema, mcpEthenaRedeemInputSchema, mcpEthenaStakeInputSchema, mcpEulerV2BorrowRepayInputSchema, mcpEulerV2CollateralDepositInputSchema, mcpEulerV2CollateralWithdrawInputSchema, mcpEulerV2IsolatedBorrowInputSchema, mcpEulerV2IsolatedLendInputSchema, mcpEulerV2VaultWithdrawInputSchema, mcpGmxCancelInputSchema, mcpGmxDecreaseInputSchema, mcpGmxFetchGmApyInputSchema, mcpGmxFetchGmApyOutputSchema, mcpGmxFetchGmMarketsInputSchema, mcpGmxFetchGmMarketsOutputSchema, mcpGmxFetchMarketPricesInputSchema, mcpGmxFetchMarketPricesOutputSchema, mcpGmxFetchMarketsInputSchema, mcpGmxFetchMarketsOutputSchema, mcpGmxFetchOhlcvInputSchema, mcpGmxFetchOhlcvOutputSchema, mcpGmxFetchPositionsInputSchema, mcpGmxFetchPositionsOutputSchema, mcpGmxFetchStakingPowerInputSchema, mcpGmxFetchStakingPowerOutputSchema, mcpGmxGmDepositInputSchema, mcpGmxGmWithdrawInputSchema, mcpGmxIncreaseInputSchema, mcpServerSubmitOutputSchema as mcpGmxMultisignOutputSchema, mcpGmxStakeGmxInputSchema, mcpGmxUnstakeGmxInputSchema, mcpHyperliquidCancelInputSchema, mcpHyperliquidCloseInputSchema, mcpHyperliquidDelegateInputSchema, mcpHyperliquidFetchDelegationsInputSchema, mcpHyperliquidFetchDelegationsOutputSchema, mcpHyperliquidFetchMarketSnapshotInputSchema, mcpHyperliquidFetchMarketSnapshotOutputSchema, mcpHyperliquidFetchMarketsInputSchema, mcpHyperliquidFetchMarketsOutputSchema, mcpHyperliquidFetchOhlcvInputSchema, mcpHyperliquidFetchOhlcvOutputSchema, mcpHyperliquidFetchOpenContextInputSchema, mcpHyperliquidFetchOpenContextOutputSchema, mcpHyperliquidFetchOpenOrdersInputSchema, mcpHyperliquidFetchOpenOrdersOutputSchema, mcpHyperliquidFetchPositionsInputSchema, mcpHyperliquidFetchPositionsOutputSchema, mcpHyperliquidFetchStakingSummaryInputSchema, mcpHyperliquidFetchStakingSummaryOutputSchema, mcpHyperliquidFetchUsdClassBalancesInputSchema, mcpHyperliquidFetchUsdClassBalancesOutputSchema, mcpHyperliquidFetchUserVaultEquitiesInputSchema, mcpHyperliquidFetchUserVaultEquitiesOutputSchema, mcpHyperliquidFetchVaultsInputSchema, mcpHyperliquidFetchVaultsOutputSchema, mcpHyperliquidLimitOrderInputSchema, mcpHyperliquidSearchMarketsInputSchema, mcpHyperliquidSearchMarketsOutputSchema, mcpHyperliquidStakeInputSchema, mcpHyperliquidUndelegateInputSchema, mcpHyperliquidUnstakeInputSchema, mcpHyperliquidUsdTransferInputSchema, mcpHyperliquidVaultDepositInputSchema, mcpHyperliquidVaultWithdrawInputSchema, mcpLidoClaimWithdrawalInputSchema, mcpLidoRequestWithdrawalsInputSchema, mcpLidoSubmitInputSchema, mcpLidoUnwrapWstEthInputSchema, mcpLidoWrapStEthInputSchema, mcpMapleDepositInputSchema, mcpMapleRequestRedeemInputSchema, mcpMorphoBlueBorrowInputSchema, mcpMorphoBlueCollateralDepositInputSchema, mcpMorphoBlueCollateralWithdrawInputSchema, mcpMorphoBlueRepayInputSchema, mcpMorphoFetchEarnVaultsInputSchema, mcpMorphoFetchEarnVaultsOutputSchema, mcpMorphoMerklClaimInputSchema, mcpMorphoVaultDepositInputSchema, mcpMorphoVaultWithdrawInputSchema, mcpMultisignInput, multisignOutputSchema as mcpMultisignOutputSchema, mcpServerSubmitOutputSchema as mcpMultisignSubmitOutputSchema, mcpServerCommonInputSchema, mcpServerMultisignInput, mcpServerSubmitOutputSchema, mcpSkyLockstakeCloseInputSchema, mcpSkyLockstakeDrawInputSchema, mcpSkyLockstakeGetRewardInputSchema, mcpSkyLockstakeStakeInputSchema, mcpSkyLockstakeWipeInputSchema, mcpSkySusdsDepositInputSchema, mcpSkySusdsRedeemInputSchema, mcpUniswapV4BuildCollectFeesMultisignInputSchema, mcpUniswapV4BuildDecreaseLiquidityMultisignInputSchema, mcpUniswapV4BuildIncreaseLiquidityMultisignInputSchema, mcpUniswapV4BuildMintLiquidityMultisignInputSchema, mcpUniswapV4BuildSwapMultisignInputSchema, mcpUniswapV4CreateSwapInputSchema, mcpUniswapV4CreateSwapOutputSchema, mcpUniswapV4LpClaimInputSchema, mcpUniswapV4LpClaimOutputSchema, mcpUniswapV4LpCreatePositionInputSchema, mcpUniswapV4LpCreatePositionOutputSchema, mcpUniswapV4LpDecreaseInputSchema, mcpUniswapV4LpDecreaseOutputSchema, mcpUniswapV4LpIncreaseInputSchema, mcpUniswapV4LpIncreaseOutputSchema, mcpUniswapV4LpListPoolsInputSchema, mcpUniswapV4LpListPoolsOutputSchema, mcpUniswapV4LpListPositionsInputSchema, mcpUniswapV4LpListPositionsOutputSchema, mcpUniswapV4QuoteInputSchema, mcpUniswapV4QuoteOutputSchema, mcpUniswapV4RegisterPositionFromMintTxInputSchema, mcpUniswapV4RegisterPositionFromMintTxOutputSchema, mcpUniswapV4RegisterPositionNftInputSchema, mcpUniswapV4RegisterPositionNftOutputSchema, multisignOutputSchema, parseMcpToolInput, parseMcpToolOutput, parseMultisignBuilderOutput, uniswapQuoteTradeTypeSchema, zodSchemaToMcpJsonSchema };
3914
+ export { EVM_COMMON_PARAM_DOCS, MANAGEMENT_SIG_DOC, MCP_NON_SUBMIT_TOOL_NAMES, MCP_TOOL_DEFINITIONS, MCP_TOOL_INPUT_SCHEMAS, MCP_TOOL_OUTPUT_SCHEMAS, MULTISIGN_OUTPUT_DOC, MULTISIGN_SUBMIT_OUTPUT_DOC, PROTOCOL_SUPPORT_ADVISORS, chainDetailSchema, evmAddressSchema, evmMultisignCommonInputSchema, getActionsByChainCategory, getAgentCatalog, getAgentCatalogForMcp, getMcpToolByName, getMcpToolDefinitions, getMcpToolInputSchema, getMcpToolOutputSchema, getProtocolDiscoverySummary, getProtocolModules, getProtocolSkill, getProtocolSupportAdvisor, getToolsForProtocol, jsonObjectSchema, keyGenSchema, listProtocolSupportAdvisorIds, listProtocolsWithSkills, mcpAaveV4BorrowInputSchema, mcpAaveV4DepositInputSchema, mcpAaveV4RepayInputSchema, mcpAaveV4WithdrawInputSchema, mcpCurveDaoBuildSwapMultisignInputSchema, mcpCurveDaoQuoteInputSchema, mcpCurveDaoQuoteOutputSchema, mcpEthenaClaimInputSchema, mcpEthenaCooldownInputSchema, mcpEthenaRedeemInputSchema, mcpEthenaStakeInputSchema, mcpEulerV2BorrowRepayInputSchema, mcpEulerV2CollateralDepositInputSchema, mcpEulerV2CollateralWithdrawInputSchema, mcpEulerV2IsolatedBorrowInputSchema, mcpEulerV2IsolatedLendInputSchema, mcpEulerV2VaultWithdrawInputSchema, mcpGmxCancelInputSchema, mcpGmxDecreaseInputSchema, mcpGmxFetchGmApyInputSchema, mcpGmxFetchGmApyOutputSchema, mcpGmxFetchGmMarketsInputSchema, mcpGmxFetchGmMarketsOutputSchema, mcpGmxFetchMarketPricesInputSchema, mcpGmxFetchMarketPricesOutputSchema, mcpGmxFetchMarketsInputSchema, mcpGmxFetchMarketsOutputSchema, mcpGmxFetchOhlcvInputSchema, mcpGmxFetchOhlcvOutputSchema, mcpGmxFetchPositionsInputSchema, mcpGmxFetchPositionsOutputSchema, mcpGmxFetchStakingPowerInputSchema, mcpGmxFetchStakingPowerOutputSchema, mcpGmxGmDepositInputSchema, mcpGmxGmWithdrawInputSchema, mcpGmxIncreaseInputSchema, mcpServerSubmitOutputSchema as mcpGmxMultisignOutputSchema, mcpGmxStakeGmxInputSchema, mcpGmxUnstakeGmxInputSchema, mcpHyperliquidCancelInputSchema, mcpHyperliquidCloseInputSchema, mcpHyperliquidDelegateInputSchema, mcpHyperliquidFetchDelegationsInputSchema, mcpHyperliquidFetchDelegationsOutputSchema, mcpHyperliquidFetchMarketSnapshotInputSchema, mcpHyperliquidFetchMarketSnapshotOutputSchema, mcpHyperliquidFetchMarketsInputSchema, mcpHyperliquidFetchMarketsOutputSchema, mcpHyperliquidFetchOhlcvInputSchema, mcpHyperliquidFetchOhlcvOutputSchema, mcpHyperliquidFetchOpenContextInputSchema, mcpHyperliquidFetchOpenContextOutputSchema, mcpHyperliquidFetchOpenOrdersInputSchema, mcpHyperliquidFetchOpenOrdersOutputSchema, mcpHyperliquidFetchPositionsInputSchema, mcpHyperliquidFetchPositionsOutputSchema, mcpHyperliquidFetchStakingSummaryInputSchema, mcpHyperliquidFetchStakingSummaryOutputSchema, mcpHyperliquidFetchUsdClassBalancesInputSchema, mcpHyperliquidFetchUsdClassBalancesOutputSchema, mcpHyperliquidFetchUserVaultEquitiesInputSchema, mcpHyperliquidFetchUserVaultEquitiesOutputSchema, mcpHyperliquidFetchVaultsInputSchema, mcpHyperliquidFetchVaultsOutputSchema, mcpHyperliquidLimitOrderInputSchema, mcpHyperliquidSearchMarketsInputSchema, mcpHyperliquidSearchMarketsOutputSchema, mcpHyperliquidStakeInputSchema, mcpHyperliquidUndelegateInputSchema, mcpHyperliquidUnstakeInputSchema, mcpHyperliquidUsdTransferInputSchema, mcpHyperliquidVaultDepositInputSchema, mcpHyperliquidVaultWithdrawInputSchema, mcpLidoClaimWithdrawalInputSchema, mcpLidoRequestWithdrawalsInputSchema, mcpLidoSubmitInputSchema, mcpLidoUnwrapWstEthInputSchema, mcpLidoWrapStEthInputSchema, mcpMapleDepositInputSchema, mcpMapleRequestRedeemInputSchema, mcpMorphoBlueBorrowInputSchema, mcpMorphoBlueCollateralDepositInputSchema, mcpMorphoBlueCollateralWithdrawInputSchema, mcpMorphoBlueRepayInputSchema, mcpMorphoFetchEarnVaultsInputSchema, mcpMorphoFetchEarnVaultsOutputSchema, mcpMorphoMerklClaimInputSchema, mcpMorphoVaultDepositInputSchema, mcpMorphoVaultWithdrawInputSchema, mcpMultisignInput, multisignOutputSchema as mcpMultisignOutputSchema, mcpServerSubmitOutputSchema as mcpMultisignSubmitOutputSchema, mcpServerCommonInputSchema, mcpServerMultisignInput, mcpServerSubmitOutputSchema, mcpSkyLockstakeCloseInputSchema, mcpSkyLockstakeDrawInputSchema, mcpSkyLockstakeGetRewardInputSchema, mcpSkyLockstakeStakeInputSchema, mcpSkyLockstakeWipeInputSchema, mcpSkySusdsDepositInputSchema, mcpSkySusdsRedeemInputSchema, mcpUniswapV4BuildCollectFeesMultisignInputSchema, mcpUniswapV4BuildDecreaseLiquidityMultisignInputSchema, mcpUniswapV4BuildIncreaseLiquidityMultisignInputSchema, mcpUniswapV4BuildMintLiquidityMultisignInputSchema, mcpUniswapV4BuildSwapMultisignInputSchema, mcpUniswapV4CreateSwapInputSchema, mcpUniswapV4CreateSwapOutputSchema, mcpUniswapV4LpClaimInputSchema, mcpUniswapV4LpClaimOutputSchema, mcpUniswapV4LpCreatePositionInputSchema, mcpUniswapV4LpCreatePositionOutputSchema, mcpUniswapV4LpDecreaseInputSchema, mcpUniswapV4LpDecreaseOutputSchema, mcpUniswapV4LpIncreaseInputSchema, mcpUniswapV4LpIncreaseOutputSchema, mcpUniswapV4LpListPoolsInputSchema, mcpUniswapV4LpListPoolsOutputSchema, mcpUniswapV4LpListPositionsInputSchema, mcpUniswapV4LpListPositionsOutputSchema, mcpUniswapV4QuoteInputSchema, mcpUniswapV4QuoteOutputSchema, mcpUniswapV4RegisterPositionFromMintTxInputSchema, mcpUniswapV4RegisterPositionFromMintTxOutputSchema, mcpUniswapV4RegisterPositionNftInputSchema, mcpUniswapV4RegisterPositionNftOutputSchema, multisignOutputSchema, parseAgentBoolean, parseAgentEvmChainId, parseMcpToolInput, parseMcpToolOutput, parseMultisignBuilderOutput, uniswapQuoteTradeTypeSchema, zodSchemaToMcpJsonSchema };
3831
3915
  //# sourceMappingURL=catalog.js.map
3832
3916
  //# sourceMappingURL=catalog.js.map