keyring-agent-core 0.2.11 → 0.2.12

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.
package/dist/index.d.ts CHANGED
@@ -468,7 +468,10 @@ type SupportedChainName = 'ethereum' | 'optimism' | 'bsc' | 'polygon' | 'base' |
468
468
  type ChainSelector = SupportedChainId | SupportedChainName;
469
469
  /** Preferred default if still active, otherwise the first remaining active chain. */
470
470
  declare let DEFAULT_CHAIN: string;
471
- /** Human-readable list of ACTIVE supported chains, for user-facing messages. */
471
+ /**
472
+ * Human-readable list of ACTIVE supported chains, for user-facing messages.
473
+ * Names ONLY — never the hex ids; users should never see "0x…" in a reply.
474
+ */
472
475
  declare let SUPPORTED_CHAINS_LABEL: string;
473
476
  /**
474
477
  * Narrow the ACTIVE supported-chain set by REMOVING the given chains from the
@@ -4284,6 +4287,37 @@ declare class GeminiSearchAiTool extends BaseTool {
4284
4287
  }>;
4285
4288
  }
4286
4289
 
4290
+ type PoolFallbackAiToolConfig = LLMProviderConfig;
4291
+ /**
4292
+ * Tool: pool-fallback-ai
4293
+ *
4294
+ * Search-grounded AI fallback specialised for DEX liquidity pools. It is the
4295
+ * pool-subgraph subagent's `cortexFallbackTool` — used for broad / conceptual /
4296
+ * strategic / protocol-level pool questions that none of the structured subgraph
4297
+ * tools can serve. Backed by Gemini with the built-in `googleSearch` grounding,
4298
+ * wrapped in a "pool master analyst" persona.
4299
+ *
4300
+ * Mirrors GeminiSearchAiTool, but pool-focused: the caller embeds whatever
4301
+ * context (chain, token symbols, pool address) directly in `prompt`.
4302
+ */
4303
+ declare class PoolFallbackAiTool extends BaseTool {
4304
+ name: string;
4305
+ description: string;
4306
+ category: string;
4307
+ parameters: ToolParameter[];
4308
+ private llm;
4309
+ constructor(config?: PoolFallbackAiToolConfig);
4310
+ protected run(args: Record<string, unknown>, userContext?: UserContext): Promise<{
4311
+ error: string;
4312
+ source?: undefined;
4313
+ answer?: undefined;
4314
+ } | {
4315
+ source: string;
4316
+ answer: string;
4317
+ error?: undefined;
4318
+ }>;
4319
+ }
4320
+
4287
4321
  /**
4288
4322
  * UniswapService — Uniswap Explore API (interface.gateway.uniswap.org).
4289
4323
  *
@@ -5079,6 +5113,7 @@ declare class SubgraphPoolSearchTool extends BaseTool {
5079
5113
  chains?: undefined;
5080
5114
  sortBy?: undefined;
5081
5115
  filters?: undefined;
5116
+ coinPoolPairs?: undefined;
5082
5117
  } | {
5083
5118
  _instructions: string;
5084
5119
  tokens: string[];
@@ -5115,6 +5150,9 @@ declare class SubgraphPoolSearchTool extends BaseTool {
5115
5150
  };
5116
5151
  uniswapUrl: string;
5117
5152
  }[];
5153
+ coinPoolPairs: (CoinPoolPairSummary & {
5154
+ chain: string;
5155
+ })[];
5118
5156
  supportedChains?: undefined;
5119
5157
  }>;
5120
5158
  private formatPool;
@@ -5199,6 +5237,7 @@ declare class SubgraphPoolByAddressTool extends BaseTool {
5199
5237
  unsupportedChains?: undefined;
5200
5238
  supportedChains?: undefined;
5201
5239
  chain?: undefined;
5240
+ coinPoolPairs?: undefined;
5202
5241
  pool?: undefined;
5203
5242
  } | {
5204
5243
  _instructions: string;
@@ -5206,10 +5245,12 @@ declare class SubgraphPoolByAddressTool extends BaseTool {
5206
5245
  supportedChains: string[];
5207
5246
  error?: undefined;
5208
5247
  chain?: undefined;
5248
+ coinPoolPairs?: undefined;
5209
5249
  pool?: undefined;
5210
5250
  } | {
5211
5251
  _instructions: string;
5212
5252
  chain: string;
5253
+ coinPoolPairs: never[] | CoinPoolPairSummary[];
5213
5254
  pool: {
5214
5255
  pair: string;
5215
5256
  poolAddress: string;
@@ -5469,6 +5510,129 @@ declare class SubgraphCoinPoolPairsTool extends BaseTool {
5469
5510
  }>;
5470
5511
  }
5471
5512
 
5513
+ /** Tool config — the base subgraph config plus the add-liquidity website link. */
5514
+ type SubgraphAddPoolToolConfig = SubgraphServiceConfig & {
5515
+ /**
5516
+ * Website link for adding liquidity / creating a pool. When set, the tool
5517
+ * surfaces it (as a clickable CTA) once it has resolved a concrete pool. When
5518
+ * absent, the tool still shows the pool(s) — just without the link line.
5519
+ */
5520
+ linkAddLiquidity?: string;
5521
+ };
5522
+ /**
5523
+ * Tool: subgraph-add-pool
5524
+ *
5525
+ * Handles the ADD-LIQUIDITY / ADD-POOL / CREATE-PAIR intent for the subgraph
5526
+ * agent. It does NOT build a transaction (that lives in the on-chain pool
5527
+ * variant) — it resolves the pool the user means, exactly like the detail /
5528
+ * search tools, then surfaces the configured `linkAddLiquidity` website so the
5529
+ * user can complete the action there.
5530
+ *
5531
+ * Flows (picked from the args):
5532
+ * - POOL ADDRESS given → fetch that one pool (detail flow) + link.
5533
+ * - TOKEN symbol(s) given → search matching pools (search flow) + link.
5534
+ * - NOTHING specific → show the chain's top pools as suggestions and ask which
5535
+ * pair/pool to add to — NO link yet (nothing concrete to point at).
5536
+ *
5537
+ * The link is only appended once a concrete pool is shown; an unconfigured link
5538
+ * just omits the link line (the pool data still shows).
5539
+ */
5540
+ declare class SubgraphAddPoolTool extends BaseTool {
5541
+ name: string;
5542
+ description: string;
5543
+ category: string;
5544
+ noSuggestions: boolean;
5545
+ parameters: ToolParameter[];
5546
+ private service;
5547
+ private linkAddLiquidity?;
5548
+ constructor(config?: SubgraphAddPoolToolConfig);
5549
+ protected run(args: Record<string, unknown>, userContext?: UserContext): Promise<{
5550
+ _instructions: string;
5551
+ chain: string;
5552
+ addLiquidityLink: string | null;
5553
+ count: number;
5554
+ pools: {
5555
+ pair: string;
5556
+ poolAddress: string;
5557
+ chain: string;
5558
+ feeTierBps: number;
5559
+ feeTierPercent: number;
5560
+ tvlUsd: number;
5561
+ volume24hUsd: number;
5562
+ fees24hUsd: number;
5563
+ apr: number | null;
5564
+ token0: {
5565
+ symbol: string;
5566
+ address: string;
5567
+ name?: string;
5568
+ };
5569
+ token1: {
5570
+ symbol: string;
5571
+ address: string;
5572
+ name?: string;
5573
+ };
5574
+ uniswapUrl: string;
5575
+ }[];
5576
+ coinPoolPairs: CoinPoolPairSummary[];
5577
+ } | {
5578
+ _instructions: string;
5579
+ unsupportedChains: string[];
5580
+ supportedChains: string[];
5581
+ error?: undefined;
5582
+ chain?: undefined;
5583
+ needsSelection?: undefined;
5584
+ addLiquidityLink?: undefined;
5585
+ count?: undefined;
5586
+ pools?: undefined;
5587
+ } | {
5588
+ error: string;
5589
+ _instructions?: undefined;
5590
+ unsupportedChains?: undefined;
5591
+ supportedChains?: undefined;
5592
+ chain?: undefined;
5593
+ needsSelection?: undefined;
5594
+ addLiquidityLink?: undefined;
5595
+ count?: undefined;
5596
+ pools?: undefined;
5597
+ } | {
5598
+ _instructions: string;
5599
+ chain: string;
5600
+ needsSelection: boolean;
5601
+ addLiquidityLink: null;
5602
+ count: number;
5603
+ pools: {
5604
+ pair: string;
5605
+ poolAddress: string;
5606
+ chain: string;
5607
+ feeTierBps: number;
5608
+ feeTierPercent: number;
5609
+ tvlUsd: number;
5610
+ volume24hUsd: number;
5611
+ fees24hUsd: number;
5612
+ apr: number | null;
5613
+ token0: {
5614
+ symbol: string;
5615
+ address: string;
5616
+ name?: string;
5617
+ };
5618
+ token1: {
5619
+ symbol: string;
5620
+ address: string;
5621
+ name?: string;
5622
+ };
5623
+ uniswapUrl: string;
5624
+ }[];
5625
+ unsupportedChains?: undefined;
5626
+ supportedChains?: undefined;
5627
+ error?: undefined;
5628
+ }>;
5629
+ /** Fetch + rank CoinPool concentrated-liquidity price-range candidates for a pair. */
5630
+ private fetchCoinPoolPairs;
5631
+ /** Shared result for the address/search flows: pool(s) + the add-liquidity link. */
5632
+ private poolsResult;
5633
+ private formatPool;
5634
+ }
5635
+
5472
5636
  /**
5473
5637
  * Native gas-reserve estimation for wallet-action tools.
5474
5638
  *
@@ -6036,15 +6200,20 @@ declare class BuyTokenTool extends BaseTool {
6036
6200
  */
6037
6201
  private readPayBalance;
6038
6202
  /**
6039
- * 25/50/75/100% quick-spend buttons sized off a held balance. 100% spends the
6040
- * EXACT held string; the partial fractions are float-trimmed. The amount rides
6041
- * in the prompt; the label is a bare percent.
6203
+ * 25/50/75/100% quick-spend buttons sized off a held balance. Every amount is
6204
+ * an EXACT fraction of the exact balance STRING, floored so a clicked button
6205
+ * (re-submitted as a plain amount) can never exceed the balance and trip a
6206
+ * false "insufficient" check. The amount rides in the prompt; label is a bare
6207
+ * percent.
6042
6208
  */
6043
6209
  private percentSpendButtons;
6044
6210
  private buildAmountPicker;
6045
6211
  /**
6046
6212
  * Trim IEEE-754 noise from a computed amount (≤8 significant digits) and
6047
- * ALWAYS return plain decimal notation — never exponential ("1.5e-7").
6213
+ * ALWAYS return plain decimal notation — never exponential ("1.5e-7"). Use
6214
+ * ONLY for price-derived ESTIMATES (usd→token, buy→pay). NEVER for a
6215
+ * balance-sourced amount: 8 sig-figs rounds UP and would trip a false
6216
+ * "insufficient balance" — those go through the exact-decimal helpers below.
6048
6217
  */
6049
6218
  private trimAmount;
6050
6219
  /** Format a number as a plain decimal string, expanding any e-notation. */
@@ -6284,9 +6453,11 @@ declare class SwapTokenTool extends BaseTool {
6284
6453
  */
6285
6454
  private readFromBalance;
6286
6455
  /**
6287
- * 25/50/75/100% quick-spend buttons sized off a held balance. 100% spends the
6288
- * EXACT held string; the partial fractions are float-trimmed. The amount rides
6289
- * in the prompt; the label is a bare percent.
6456
+ * 25/50/75/100% quick-spend buttons sized off a held balance. Every amount is
6457
+ * an EXACT fraction of the exact balance STRING, floored so a clicked button
6458
+ * (re-submitted as a plain amount) can never exceed the balance and trip a
6459
+ * false "insufficient" check. The amount rides in the prompt; label is a bare
6460
+ * percent.
6290
6461
  */
6291
6462
  private percentSpendButtons;
6292
6463
  private buildAmountPicker;
@@ -6779,4 +6950,4 @@ declare class Summarizer {
6779
6950
  summarize(messages: ChatMessage[]): Promise<string>;
6780
6951
  }
6781
6952
 
6782
- export { AI_AGENT_TOOL_NAMES, type AddLiquidityFormProps, type AddLiquiditySummary, type AffiliateFee, type AgentConfig, AgentCore, type AgentResponse, ApproveTokenTool, BaseNftMessageTool, BaseSwapService, BaseTool, BaseWalletActionTool, type BuyTokenConfirmTxProps, type BuyTokenSide, BuyTokenTool, type ChainMeta, type ChainRef, type ChainSelector, ChatHistory, type ChatMessage, type ChatOptions, type ChatRole, type CheckApprovalParams, type CheckApprovalResult, type ConfirmAddLiquidityTxProps, type CortexResponse, DEFAULT_CHAIN, DEFAULT_PROVIDER, DEFAULT_RPC_BY_CHAIN, DebridgeAdapter, type DecodedCall, type DecodedEvent, type DecodedParam, type DefaultSubagentName, type DefiPosition, type DefiPositionDetails, type DefiPositionToken, type DefiProtocolSummary, EstimatePoolYieldTool, type EstimatePoolYieldToolConfig, type ExchangeProviderConfig, type ExecuteSwapParams, type ExecuteSwapResult, GeminiProvider, GeminiSearchAiTool, type GeminiSearchAiToolConfig, HEX_TO_PANTOGRAPH, type HolderChangePeriod, type HolderSupplyTier, type IngestKnowledgeBaseInput, type IngestKnowledgeBaseResult, type InputTokenInfo, type KBSearchResult, KnowledgeBase, type KnowledgeBaseEntry, type KnowledgeBaseProvider, type LLMProvider, type LLMProviderConfig, type LLMResponse, type LLMToolCall, type MoralisApiResponse, MoralisService, type MoralisServiceConfig, NFTContractInfoTool, type NFTContractInfoToolConfig, type NFTContractMetadata, type NFTItem, type NFTLastSale, type NFTMetadata, NFTMetadataTool, type NFTMetadataToolConfig, NFT_AGENT_TOOL_NAMES, type NativeTokenInfo, type NftMessageToolConfig, type NftTransferLastSale, OpenAddLiquidityFormTool, type OpenAddLiquidityFormToolConfig, POOL_AGENT_TOOL_NAMES, PantographService, type PantographServiceConfig, type PaymentToken, PoolByAddressTool, type PoolByAddressToolConfig, PoolDetailTool, type PoolDetailToolConfig, type PoolDisplayInfo, type PoolOnchainInfo, PoolSearchTool, type PoolSearchToolConfig, PoolService, type PoolServiceConfig, type PresetInputs, PreviewAddLiquidityTool, type PreviewAddLiquidityToolConfig, type PriceBounds, type PriceRangePrefill, type ProviderName, type QuickRate, type RangePreset, type ReActPhase, type ReActStep, type ReActTrace, RelayAdapter, type ResolvedRange, Router, type RouterAssignment, type RouterDecision, SUPPORTED_CHAINS, SUPPORTED_CHAINS_LABEL, SWAP_PROVIDER_CONFIG, SendNativeTool, SendNftTool, SendTokenTool, type StorageProvider, Subagent, type SubagentCard, type SubagentOptions, type SubagentParams, type SubagentResult, type SubagentTask, type SubagentToggles, SubgraphCoinPoolPairsTool, type SubgraphCoinPoolPairsToolConfig, SubgraphPoolByAddressTool, type SubgraphPoolByAddressToolConfig, SubgraphPoolByPositionIdTool, type SubgraphPoolByPositionIdToolConfig, SubgraphPoolSearchTool, type SubgraphPoolSearchToolConfig, SubgraphPositionDetailTool, type SubgraphPositionDetailToolConfig, SubgraphTrendingPoolsTool, type SubgraphTrendingPoolsToolConfig, type SuggestedAction, Summarizer, type SupportedChainId, type SupportedChainName, type SwapQuoteParams, type SwapQuoteResult, type SwapServiceConfig, SwapServiceFactory, type SwapTokenConfirmTxProps, SwapTokenTool, type SwapTxData, Synthesizer, TOKEN_AGENT_TOOL_NAMES, TRANSFER_TOPIC, TRENDING_DEFAULT_BY_HEX_CHAIN, type TokenAnalyticsResponse, type TokenAnalyticsTimeframeBuckets, TokenAnalyticsTool, type TokenAnalyticsToolConfig, type TokenApproval, type TokenApprovalSpender, type TokenApprovalToken, type TokenBalance, type TokenDisplay, type TokenHoldersResponse, TokenHoldersTool, type TokenHoldersToolConfig, TokenInfoTool, type TokenInfoToolConfig, type TokenMetadata, type TokenScoreMetrics, type TokenScoreResponse, type TokenScoreSupply, type TokenScoreTimeframeBuckets, TokenScoreTool, type TokenScoreToolConfig, type Tool, type ToolDefinition, type ToolKind, type ToolParameter, ToolRegistry, type ToolResult, type TopGainerTimeFrames, type TopGainerToken, type TopGainersTimeFrame, TopGainersTool, type TopGainersToolConfig, TopPoolsTool, type TopPoolsToolConfig, type TrackStatus, type TrackTransactionParams, type TrackTransactionResult, type TransactionByHashResponse, TransactionByHashTool, type TransactionByHashToolConfig, type TransactionLog, type TransactionReceipt, type TransactionReceiptLog, type TrendingToken, type TrendingTokenTimeframeBuckets, TrendingTokensTool, type TrendingTokensToolConfig, type UIPayload, UNISWAP_CHAIN_SLUG, type UnsignedTx, type UpstashEmbedStrategy, type UpstashFusionAlgorithm, type UpstashKBUpsertEntry, UpstashKnowledgeBase, type UpstashKnowledgeBaseConfig, type UserContext, type VectorKBConfig, WALLET_ACTION_AGENT_TOOL_NAMES, WALLET_AGENT_TOOL_NAMES, type WalletActionProps, type WalletActionType, type WalletApprovalsResponse, WalletApprovalsTool, type WalletApprovalsToolConfig, type WalletDefiPositionSummary, WalletDefiPositionsTool, type WalletDefiPositionsToolConfig, type WalletDefiPositionsV1Response, type WalletDefiProtocolPositionsResponse, WalletDefiProtocolPositionsTool, type WalletDefiProtocolPositionsToolConfig, type WalletDefiProtocolPositionsV1Response, type WalletDefiSummaryResponse, WalletDefiSummaryTool, type WalletDefiSummaryToolConfig, type WalletHistoryCategory, type WalletHistoryContractInteraction, type WalletHistoryErc20Transfer, type WalletHistoryItem, type WalletHistoryNativeTransfer, type WalletHistoryNftTransfer, type WalletHistoryResponse, WalletHistoryTool, type WalletHistoryToolConfig, WalletNFTsTool, type WalletNFTsToolConfig, type WalletNetWorthChainBreakdown, type WalletNetWorthResponse, WalletNetWorthTool, type WalletNetWorthToolConfig, type WalletNetWorthUnavailableChain, type WalletNftTransferItem, type WalletNftTransfersResponse, WalletNftTransfersTool, type WalletNftTransfersToolConfig, type WalletPnlDaysWindow, type WalletPnlResponse, type WalletPnlSummaryResponse, WalletPnlSummaryTool, type WalletPnlSummaryToolConfig, type WalletPnlTokenItem, WalletPnlTool, type WalletPnlToolConfig, WalletTokenBalancesTool, type WalletTokenBalancesToolConfig, type WalletTokenTransferItem, type WalletTokenTransfersResponse, WalletTokenTransfersTool, type WalletTokenTransfersToolConfig, ZERO_ADDRESS, buildRangePresets, buildUniswapPoolUrl, clampTick, configureSupportedChains, createAiAgent, createDefaultSubagents, createNftAgent, createPoolAgent, createTokenAgent, createWalletActionAgent, createWalletAgent, ethCallAt, ethCallByChain, getAffiliateFee, getChainMeta, getDefaultRpcUrl, getGatewayAddress, getNativeTokenInfo, getPositionManagerAddress, getProviderByChain, ingestKnowledgeBase, priceToTick, resolveRpcUrl, roundTickToSpacing, rpcCall, setRpcOverrides, swapServiceFactory, tickToPrice, toPantographChain };
6953
+ export { AI_AGENT_TOOL_NAMES, type AddLiquidityFormProps, type AddLiquiditySummary, type AffiliateFee, type AgentConfig, AgentCore, type AgentResponse, ApproveTokenTool, BaseNftMessageTool, BaseSwapService, BaseTool, BaseWalletActionTool, type BuyTokenConfirmTxProps, type BuyTokenSide, BuyTokenTool, type ChainMeta, type ChainRef, type ChainSelector, ChatHistory, type ChatMessage, type ChatOptions, type ChatRole, type CheckApprovalParams, type CheckApprovalResult, type ConfirmAddLiquidityTxProps, type CortexResponse, DEFAULT_CHAIN, DEFAULT_PROVIDER, DEFAULT_RPC_BY_CHAIN, DebridgeAdapter, type DecodedCall, type DecodedEvent, type DecodedParam, type DefaultSubagentName, type DefiPosition, type DefiPositionDetails, type DefiPositionToken, type DefiProtocolSummary, EstimatePoolYieldTool, type EstimatePoolYieldToolConfig, type ExchangeProviderConfig, type ExecuteSwapParams, type ExecuteSwapResult, GeminiProvider, GeminiSearchAiTool, type GeminiSearchAiToolConfig, HEX_TO_PANTOGRAPH, type HolderChangePeriod, type HolderSupplyTier, type IngestKnowledgeBaseInput, type IngestKnowledgeBaseResult, type InputTokenInfo, type KBSearchResult, KnowledgeBase, type KnowledgeBaseEntry, type KnowledgeBaseProvider, type LLMProvider, type LLMProviderConfig, type LLMResponse, type LLMToolCall, type MoralisApiResponse, MoralisService, type MoralisServiceConfig, NFTContractInfoTool, type NFTContractInfoToolConfig, type NFTContractMetadata, type NFTItem, type NFTLastSale, type NFTMetadata, NFTMetadataTool, type NFTMetadataToolConfig, NFT_AGENT_TOOL_NAMES, type NativeTokenInfo, type NftMessageToolConfig, type NftTransferLastSale, OpenAddLiquidityFormTool, type OpenAddLiquidityFormToolConfig, POOL_AGENT_TOOL_NAMES, PantographService, type PantographServiceConfig, type PaymentToken, PoolByAddressTool, type PoolByAddressToolConfig, PoolDetailTool, type PoolDetailToolConfig, type PoolDisplayInfo, PoolFallbackAiTool, type PoolFallbackAiToolConfig, type PoolOnchainInfo, PoolSearchTool, type PoolSearchToolConfig, PoolService, type PoolServiceConfig, type PresetInputs, PreviewAddLiquidityTool, type PreviewAddLiquidityToolConfig, type PriceBounds, type PriceRangePrefill, type ProviderName, type QuickRate, type RangePreset, type ReActPhase, type ReActStep, type ReActTrace, RelayAdapter, type ResolvedRange, Router, type RouterAssignment, type RouterDecision, SUPPORTED_CHAINS, SUPPORTED_CHAINS_LABEL, SWAP_PROVIDER_CONFIG, SendNativeTool, SendNftTool, SendTokenTool, type StorageProvider, Subagent, type SubagentCard, type SubagentOptions, type SubagentParams, type SubagentResult, type SubagentTask, type SubagentToggles, SubgraphAddPoolTool, type SubgraphAddPoolToolConfig, SubgraphCoinPoolPairsTool, type SubgraphCoinPoolPairsToolConfig, SubgraphPoolByAddressTool, type SubgraphPoolByAddressToolConfig, SubgraphPoolByPositionIdTool, type SubgraphPoolByPositionIdToolConfig, SubgraphPoolSearchTool, type SubgraphPoolSearchToolConfig, SubgraphPositionDetailTool, type SubgraphPositionDetailToolConfig, SubgraphTrendingPoolsTool, type SubgraphTrendingPoolsToolConfig, type SuggestedAction, Summarizer, type SupportedChainId, type SupportedChainName, type SwapQuoteParams, type SwapQuoteResult, type SwapServiceConfig, SwapServiceFactory, type SwapTokenConfirmTxProps, SwapTokenTool, type SwapTxData, Synthesizer, TOKEN_AGENT_TOOL_NAMES, TRANSFER_TOPIC, TRENDING_DEFAULT_BY_HEX_CHAIN, type TokenAnalyticsResponse, type TokenAnalyticsTimeframeBuckets, TokenAnalyticsTool, type TokenAnalyticsToolConfig, type TokenApproval, type TokenApprovalSpender, type TokenApprovalToken, type TokenBalance, type TokenDisplay, type TokenHoldersResponse, TokenHoldersTool, type TokenHoldersToolConfig, TokenInfoTool, type TokenInfoToolConfig, type TokenMetadata, type TokenScoreMetrics, type TokenScoreResponse, type TokenScoreSupply, type TokenScoreTimeframeBuckets, TokenScoreTool, type TokenScoreToolConfig, type Tool, type ToolDefinition, type ToolKind, type ToolParameter, ToolRegistry, type ToolResult, type TopGainerTimeFrames, type TopGainerToken, type TopGainersTimeFrame, TopGainersTool, type TopGainersToolConfig, TopPoolsTool, type TopPoolsToolConfig, type TrackStatus, type TrackTransactionParams, type TrackTransactionResult, type TransactionByHashResponse, TransactionByHashTool, type TransactionByHashToolConfig, type TransactionLog, type TransactionReceipt, type TransactionReceiptLog, type TrendingToken, type TrendingTokenTimeframeBuckets, TrendingTokensTool, type TrendingTokensToolConfig, type UIPayload, UNISWAP_CHAIN_SLUG, type UnsignedTx, type UpstashEmbedStrategy, type UpstashFusionAlgorithm, type UpstashKBUpsertEntry, UpstashKnowledgeBase, type UpstashKnowledgeBaseConfig, type UserContext, type VectorKBConfig, WALLET_ACTION_AGENT_TOOL_NAMES, WALLET_AGENT_TOOL_NAMES, type WalletActionProps, type WalletActionType, type WalletApprovalsResponse, WalletApprovalsTool, type WalletApprovalsToolConfig, type WalletDefiPositionSummary, WalletDefiPositionsTool, type WalletDefiPositionsToolConfig, type WalletDefiPositionsV1Response, type WalletDefiProtocolPositionsResponse, WalletDefiProtocolPositionsTool, type WalletDefiProtocolPositionsToolConfig, type WalletDefiProtocolPositionsV1Response, type WalletDefiSummaryResponse, WalletDefiSummaryTool, type WalletDefiSummaryToolConfig, type WalletHistoryCategory, type WalletHistoryContractInteraction, type WalletHistoryErc20Transfer, type WalletHistoryItem, type WalletHistoryNativeTransfer, type WalletHistoryNftTransfer, type WalletHistoryResponse, WalletHistoryTool, type WalletHistoryToolConfig, WalletNFTsTool, type WalletNFTsToolConfig, type WalletNetWorthChainBreakdown, type WalletNetWorthResponse, WalletNetWorthTool, type WalletNetWorthToolConfig, type WalletNetWorthUnavailableChain, type WalletNftTransferItem, type WalletNftTransfersResponse, WalletNftTransfersTool, type WalletNftTransfersToolConfig, type WalletPnlDaysWindow, type WalletPnlResponse, type WalletPnlSummaryResponse, WalletPnlSummaryTool, type WalletPnlSummaryToolConfig, type WalletPnlTokenItem, WalletPnlTool, type WalletPnlToolConfig, WalletTokenBalancesTool, type WalletTokenBalancesToolConfig, type WalletTokenTransferItem, type WalletTokenTransfersResponse, WalletTokenTransfersTool, type WalletTokenTransfersToolConfig, ZERO_ADDRESS, buildRangePresets, buildUniswapPoolUrl, clampTick, configureSupportedChains, createAiAgent, createDefaultSubagents, createNftAgent, createPoolAgent, createTokenAgent, createWalletActionAgent, createWalletAgent, ethCallAt, ethCallByChain, getAffiliateFee, getChainMeta, getDefaultRpcUrl, getGatewayAddress, getNativeTokenInfo, getPositionManagerAddress, getProviderByChain, ingestKnowledgeBase, priceToTick, resolveRpcUrl, roundTickToSpacing, rpcCall, setRpcOverrides, swapServiceFactory, tickToPrice, toPantographChain };