keyring-agent-core 0.2.16 → 0.2.18
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 +136 -30
- package/dist/index.js +102 -70
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1090,7 +1090,7 @@ interface LLMProviderConfig {
|
|
|
1090
1090
|
maxTokens?: number;
|
|
1091
1091
|
/** Temperature (0-2) */
|
|
1092
1092
|
temperature?: number;
|
|
1093
|
-
/** Base URL for the Gemini API proxy. Defaults to "https://nft.keyring.app/api/gemini-
|
|
1093
|
+
/** Base URL for the Gemini API proxy. Defaults to "https://nft.keyring.app/api/gemini-stable" */
|
|
1094
1094
|
baseUrl?: string;
|
|
1095
1095
|
}
|
|
1096
1096
|
interface AgentConfig {
|
|
@@ -1183,7 +1183,7 @@ interface AgentConfig {
|
|
|
1183
1183
|
moralis?: {
|
|
1184
1184
|
/** Base URL for Moralis proxy (default: https://nft.keyring.app) */
|
|
1185
1185
|
baseUrl?: string;
|
|
1186
|
-
/** Base URL for DeFi APIs — uses /api/moralis-v1/proxy route (default: https://nft
|
|
1186
|
+
/** Base URL for DeFi APIs — uses /api/moralis-v1/proxy route (default: https://nft.keyring.app) */
|
|
1187
1187
|
v1BaseUrl?: string;
|
|
1188
1188
|
/** Pantograph API base URL for price enrichment */
|
|
1189
1189
|
pantographUrl?: string;
|
|
@@ -1343,6 +1343,14 @@ interface SubagentParams {
|
|
|
1343
1343
|
description: string;
|
|
1344
1344
|
/** Domain tag, e.g. "wallet" */
|
|
1345
1345
|
domain: string;
|
|
1346
|
+
/**
|
|
1347
|
+
* Short, user-facing phrase describing what this subagent lets the user do,
|
|
1348
|
+
* e.g. "look up token prices and analytics". Collected by AgentCore to answer
|
|
1349
|
+
* "what can you help me with?" from the subagents actually registered (so the
|
|
1350
|
+
* answer stays accurate when subagents are toggled off or custom ones added).
|
|
1351
|
+
* Omit for internal subagents that should not be advertised to users.
|
|
1352
|
+
*/
|
|
1353
|
+
capability?: string;
|
|
1346
1354
|
/** Tool names this subagent is allowed to invoke. */
|
|
1347
1355
|
toolNames: string[];
|
|
1348
1356
|
/** Domain-expert system prompt */
|
|
@@ -1382,6 +1390,8 @@ declare class Subagent {
|
|
|
1382
1390
|
readonly name: string;
|
|
1383
1391
|
readonly description: string;
|
|
1384
1392
|
readonly domain: string;
|
|
1393
|
+
/** @see SubagentParams.capability */
|
|
1394
|
+
readonly capability?: string;
|
|
1385
1395
|
private readonly toolNames;
|
|
1386
1396
|
private readonly systemPrompt;
|
|
1387
1397
|
private readonly cortexFallbackTool?;
|
|
@@ -1443,6 +1453,15 @@ interface RewriteResult {
|
|
|
1443
1453
|
* subagent assignment) to decide whether to enable Google Search grounding.
|
|
1444
1454
|
*/
|
|
1445
1455
|
needsWebSearch: boolean;
|
|
1456
|
+
/**
|
|
1457
|
+
* True when THIS message is about the assistant itself — who/what it is, what
|
|
1458
|
+
* it can do, how it can help, its capabilities or limits ("who are you?",
|
|
1459
|
+
* "what can you help me with?", "bạn có thể giúp gì"). The orchestrator
|
|
1460
|
+
* answers these directly (with the real, configured capabilities) instead of
|
|
1461
|
+
* routing to a subagent, which would otherwise hand them to the web-search AI
|
|
1462
|
+
* agent and produce a generic, off-brand reply. Default false.
|
|
1463
|
+
*/
|
|
1464
|
+
aboutAssistant: boolean;
|
|
1446
1465
|
}
|
|
1447
1466
|
|
|
1448
1467
|
interface AgentResponse {
|
|
@@ -1672,6 +1691,16 @@ declare class AgentCore {
|
|
|
1672
1691
|
*/
|
|
1673
1692
|
private formatKBContext;
|
|
1674
1693
|
private tryAnswerFromKB;
|
|
1694
|
+
/**
|
|
1695
|
+
* Short, user-facing summary of what this agent can actually do, built from
|
|
1696
|
+
* the `capability` line each currently-registered subagent declares. Injected
|
|
1697
|
+
* into the direct-answer system prompt so "what can you help me with?" gets a
|
|
1698
|
+
* concrete answer instead of a generic one. Because it reads the live
|
|
1699
|
+
* subagent map, it stays accurate when subagents are toggled off or custom
|
|
1700
|
+
* ones are registered. Subagents with no `capability` (or none registered)
|
|
1701
|
+
* contribute nothing, so the prompt is unchanged in that case.
|
|
1702
|
+
*/
|
|
1703
|
+
private capabilitiesSummary;
|
|
1675
1704
|
private answerDirectly;
|
|
1676
1705
|
/**
|
|
1677
1706
|
* Deterministic short-circuit for the unsupported-connected-chain case: the
|
|
@@ -1859,7 +1888,7 @@ declare abstract class BaseTool implements Tool {
|
|
|
1859
1888
|
interface MoralisServiceConfig {
|
|
1860
1889
|
/** Base URL for Moralis proxy (default: https://nft.keyring.app) */
|
|
1861
1890
|
baseUrl?: string;
|
|
1862
|
-
/** Base URL for DeFi APIs — uses /api/moralis-v1/proxy route (default: https://nft
|
|
1891
|
+
/** Base URL for DeFi APIs — uses /api/moralis-v1/proxy route (default: https://nft.keyring.app) */
|
|
1863
1892
|
v1BaseUrl?: string;
|
|
1864
1893
|
/** Pantograph API base URL for price enrichment */
|
|
1865
1894
|
pantographUrl?: string;
|
|
@@ -4252,32 +4281,55 @@ declare class WalletNFTsTool extends BaseNftMessageTool {
|
|
|
4252
4281
|
protected readonly template = "Please view your NFT collection on {link} for more details";
|
|
4253
4282
|
}
|
|
4254
4283
|
|
|
4255
|
-
|
|
4284
|
+
/**
|
|
4285
|
+
* Shared base for the NFT info tools (`get-nft-metadata`, `get-nft-contract-info`)
|
|
4286
|
+
* that answer the user with REAL information fetched from Gemini with Google
|
|
4287
|
+
* Search grounding — instead of pointing them at a website. Each concrete tool
|
|
4288
|
+
* supplies its own name/description, a tailored `prompt` parameter description,
|
|
4289
|
+
* and presentation instructions; the Gemini call and result shape live here.
|
|
4290
|
+
*/
|
|
4291
|
+
declare abstract class BaseNftAiTool extends BaseTool {
|
|
4292
|
+
kind: ToolKind;
|
|
4293
|
+
category: string;
|
|
4294
|
+
/** How the agent should present the fetched answer to the user. */
|
|
4295
|
+
protected abstract readonly presentInstructions: string;
|
|
4296
|
+
private readonly llm;
|
|
4297
|
+
constructor();
|
|
4298
|
+
/**
|
|
4299
|
+
* Standard `[prompt, chain]` parameters with a tool-specific description for
|
|
4300
|
+
* `prompt`. Built via a static so concrete tools can set `parameters` as a
|
|
4301
|
+
* field initializer without depending on instance state.
|
|
4302
|
+
*/
|
|
4303
|
+
protected static promptParams(promptDescription: string): ToolParameter[];
|
|
4304
|
+
protected run(args: Record<string, unknown>): Promise<unknown>;
|
|
4305
|
+
private askGeminiWithSearch;
|
|
4306
|
+
}
|
|
4307
|
+
|
|
4256
4308
|
/**
|
|
4257
4309
|
* Tool: get-nft-contract-info
|
|
4258
4310
|
*
|
|
4259
|
-
*
|
|
4260
|
-
*
|
|
4261
|
-
*
|
|
4311
|
+
* Answers questions about an NFT COLLECTION / contract (name, symbol, standard,
|
|
4312
|
+
* floor, supply, holders, volume, socials) using Gemini with Google Search
|
|
4313
|
+
* grounding for up-to-date data.
|
|
4262
4314
|
*/
|
|
4263
|
-
declare class NFTContractInfoTool extends
|
|
4315
|
+
declare class NFTContractInfoTool extends BaseNftAiTool {
|
|
4264
4316
|
name: string;
|
|
4265
4317
|
description: string;
|
|
4266
|
-
|
|
4318
|
+
parameters: ToolParameter[];
|
|
4319
|
+
protected readonly presentInstructions: string;
|
|
4267
4320
|
}
|
|
4268
4321
|
|
|
4269
|
-
type NFTMetadataToolConfig = NftMessageToolConfig;
|
|
4270
4322
|
/**
|
|
4271
4323
|
* Tool: get-nft-metadata
|
|
4272
4324
|
*
|
|
4273
|
-
*
|
|
4274
|
-
*
|
|
4275
|
-
* configured `nftLink` URL when set, otherwise it stays plain text.
|
|
4325
|
+
* Answers questions about a SPECIFIC NFT (traits, rarity, image, floor, recent
|
|
4326
|
+
* sales) using Gemini with Google Search grounding for up-to-date data.
|
|
4276
4327
|
*/
|
|
4277
|
-
declare class NFTMetadataTool extends
|
|
4328
|
+
declare class NFTMetadataTool extends BaseNftAiTool {
|
|
4278
4329
|
name: string;
|
|
4279
4330
|
description: string;
|
|
4280
|
-
|
|
4331
|
+
parameters: ToolParameter[];
|
|
4332
|
+
protected readonly presentInstructions: string;
|
|
4281
4333
|
}
|
|
4282
4334
|
|
|
4283
4335
|
type GeminiSearchAiToolConfig = LLMProviderConfig;
|
|
@@ -5162,7 +5214,7 @@ declare class SubgraphPoolSearchTool extends BaseTool {
|
|
|
5162
5214
|
feeTierBps: number;
|
|
5163
5215
|
feeTierPercent: number;
|
|
5164
5216
|
tvlUsd: number;
|
|
5165
|
-
|
|
5217
|
+
volumePastDayUsd: number;
|
|
5166
5218
|
fees24hUsd: number;
|
|
5167
5219
|
apr: number | null;
|
|
5168
5220
|
token0: {
|
|
@@ -5194,7 +5246,7 @@ type SubgraphTrendingPoolsToolConfig = SubgraphServiceConfig;
|
|
|
5194
5246
|
/**
|
|
5195
5247
|
* Tool: subgraph-trending-pools
|
|
5196
5248
|
*
|
|
5197
|
-
* Returns Uniswap V3 pools sorted by
|
|
5249
|
+
* Returns Uniswap V3 pools sorted by volume past day on the chosen chain(s).
|
|
5198
5250
|
* Maps to intent: trending_pool ("hot pools", "most active", "trending").
|
|
5199
5251
|
*/
|
|
5200
5252
|
declare class SubgraphTrendingPoolsTool extends BaseTool {
|
|
@@ -5224,7 +5276,7 @@ declare class SubgraphTrendingPoolsTool extends BaseTool {
|
|
|
5224
5276
|
feeTierBps: number;
|
|
5225
5277
|
feeTierPercent: number;
|
|
5226
5278
|
tvlUsd: number;
|
|
5227
|
-
|
|
5279
|
+
volumePastDayUsd: number;
|
|
5228
5280
|
fees24hUsd: number;
|
|
5229
5281
|
apr: number | null;
|
|
5230
5282
|
token0: {
|
|
@@ -5285,7 +5337,7 @@ declare class SubgraphPoolByAddressTool extends BaseTool {
|
|
|
5285
5337
|
feeTierBps: number;
|
|
5286
5338
|
feeTierPercent: number;
|
|
5287
5339
|
tvlUsd: number;
|
|
5288
|
-
|
|
5340
|
+
volumePastDayUsd: number;
|
|
5289
5341
|
fees24hUsd: number;
|
|
5290
5342
|
apr: number | null;
|
|
5291
5343
|
token0: {
|
|
@@ -5359,7 +5411,7 @@ declare class SubgraphPoolByPositionIdTool extends BaseTool {
|
|
|
5359
5411
|
feeTierBps: number;
|
|
5360
5412
|
feeTierPercent: number;
|
|
5361
5413
|
tvlUsd: number;
|
|
5362
|
-
|
|
5414
|
+
volumePastDayUsd: number;
|
|
5363
5415
|
fees24hUsd: number;
|
|
5364
5416
|
apr: number | null;
|
|
5365
5417
|
token0: {
|
|
@@ -5585,7 +5637,7 @@ declare class SubgraphAddPoolTool extends BaseTool {
|
|
|
5585
5637
|
feeTierBps: number;
|
|
5586
5638
|
feeTierPercent: number;
|
|
5587
5639
|
tvlUsd: number;
|
|
5588
|
-
|
|
5640
|
+
volumePastDayUsd: number;
|
|
5589
5641
|
fees24hUsd: number;
|
|
5590
5642
|
apr: number | null;
|
|
5591
5643
|
token0: {
|
|
@@ -5601,31 +5653,65 @@ declare class SubgraphAddPoolTool extends BaseTool {
|
|
|
5601
5653
|
uniswapUrl: string;
|
|
5602
5654
|
}[];
|
|
5603
5655
|
coinPoolPairs: CoinPoolPairSummary[];
|
|
5656
|
+
} | {
|
|
5657
|
+
_instructions: string;
|
|
5658
|
+
howTo: boolean;
|
|
5659
|
+
chain: string | undefined;
|
|
5660
|
+
addLiquidityLink: string | null;
|
|
5661
|
+
count: number;
|
|
5662
|
+
pools: {
|
|
5663
|
+
pair: string;
|
|
5664
|
+
poolAddress: string;
|
|
5665
|
+
chain: string;
|
|
5666
|
+
feeTierBps: number;
|
|
5667
|
+
feeTierPercent: number;
|
|
5668
|
+
tvlUsd: number;
|
|
5669
|
+
volumePastDayUsd: number;
|
|
5670
|
+
fees24hUsd: number;
|
|
5671
|
+
apr: number | null;
|
|
5672
|
+
token0: {
|
|
5673
|
+
symbol: string;
|
|
5674
|
+
address: string;
|
|
5675
|
+
name?: string;
|
|
5676
|
+
};
|
|
5677
|
+
token1: {
|
|
5678
|
+
symbol: string;
|
|
5679
|
+
address: string;
|
|
5680
|
+
name?: string;
|
|
5681
|
+
};
|
|
5682
|
+
uniswapUrl: string;
|
|
5683
|
+
}[];
|
|
5684
|
+
unsupportedChains?: undefined;
|
|
5685
|
+
supportedChains?: undefined;
|
|
5686
|
+
error?: undefined;
|
|
5687
|
+
needsSelection?: undefined;
|
|
5604
5688
|
} | {
|
|
5605
5689
|
_instructions: string;
|
|
5606
5690
|
unsupportedChains: string[];
|
|
5607
5691
|
supportedChains: string[];
|
|
5608
|
-
|
|
5692
|
+
howTo?: undefined;
|
|
5609
5693
|
chain?: undefined;
|
|
5610
|
-
needsSelection?: undefined;
|
|
5611
5694
|
addLiquidityLink?: undefined;
|
|
5612
5695
|
count?: undefined;
|
|
5613
5696
|
pools?: undefined;
|
|
5697
|
+
error?: undefined;
|
|
5698
|
+
needsSelection?: undefined;
|
|
5614
5699
|
} | {
|
|
5615
5700
|
error: string;
|
|
5616
5701
|
_instructions?: undefined;
|
|
5617
|
-
|
|
5618
|
-
supportedChains?: undefined;
|
|
5702
|
+
howTo?: undefined;
|
|
5619
5703
|
chain?: undefined;
|
|
5620
|
-
needsSelection?: undefined;
|
|
5621
5704
|
addLiquidityLink?: undefined;
|
|
5622
5705
|
count?: undefined;
|
|
5623
5706
|
pools?: undefined;
|
|
5707
|
+
unsupportedChains?: undefined;
|
|
5708
|
+
supportedChains?: undefined;
|
|
5709
|
+
needsSelection?: undefined;
|
|
5624
5710
|
} | {
|
|
5625
5711
|
_instructions: string;
|
|
5626
5712
|
chain: string;
|
|
5627
5713
|
needsSelection: boolean;
|
|
5628
|
-
addLiquidityLink: null;
|
|
5714
|
+
addLiquidityLink: string | null;
|
|
5629
5715
|
count: number;
|
|
5630
5716
|
pools: {
|
|
5631
5717
|
pair: string;
|
|
@@ -5634,7 +5720,7 @@ declare class SubgraphAddPoolTool extends BaseTool {
|
|
|
5634
5720
|
feeTierBps: number;
|
|
5635
5721
|
feeTierPercent: number;
|
|
5636
5722
|
tvlUsd: number;
|
|
5637
|
-
|
|
5723
|
+
volumePastDayUsd: number;
|
|
5638
5724
|
fees24hUsd: number;
|
|
5639
5725
|
apr: number | null;
|
|
5640
5726
|
token0: {
|
|
@@ -5649,12 +5735,19 @@ declare class SubgraphAddPoolTool extends BaseTool {
|
|
|
5649
5735
|
};
|
|
5650
5736
|
uniswapUrl: string;
|
|
5651
5737
|
}[];
|
|
5738
|
+
howTo?: undefined;
|
|
5652
5739
|
unsupportedChains?: undefined;
|
|
5653
5740
|
supportedChains?: undefined;
|
|
5654
5741
|
error?: undefined;
|
|
5655
5742
|
}>;
|
|
5656
5743
|
/** Fetch + rank CoinPool concentrated-liquidity price-range candidates for a pair. */
|
|
5657
5744
|
private fetchCoinPoolPairs;
|
|
5745
|
+
/**
|
|
5746
|
+
* Instruction telling the LLM how to surface the add-liquidity website link
|
|
5747
|
+
* (or to show nothing when none is configured). Shared by every branch so the
|
|
5748
|
+
* link is presented consistently and is never silently dropped.
|
|
5749
|
+
*/
|
|
5750
|
+
private linkInstruction;
|
|
5658
5751
|
/** Shared result for the address/search flows: pool(s) + the add-liquidity link. */
|
|
5659
5752
|
private poolsResult;
|
|
5660
5753
|
private formatPool;
|
|
@@ -6566,7 +6659,20 @@ declare class SendNftTool extends BaseWalletActionTool {
|
|
|
6566
6659
|
constructor(config?: MoralisServiceConfig, options?: SendNftToolConfig);
|
|
6567
6660
|
description: string;
|
|
6568
6661
|
parameters: ToolParameter[];
|
|
6569
|
-
protected buildParameters(args: Record<string, unknown>, userContext?: UserContext): Promise<Record<string, string
|
|
6662
|
+
protected buildParameters(args: Record<string, unknown>, userContext?: UserContext): Promise<Record<string, string> | {
|
|
6663
|
+
error: "no_nft_specified" | "multiple_nfts_matched";
|
|
6664
|
+
message: string;
|
|
6665
|
+
_instructions: string;
|
|
6666
|
+
}>;
|
|
6667
|
+
/**
|
|
6668
|
+
* Fixed "go to the NFT website" notice. Used whenever we cannot safely
|
|
6669
|
+
* resolve a single NFT to pre-fill the form — either the user named none
|
|
6670
|
+
* (`no_nft_specified`) or more than one owned NFT matched
|
|
6671
|
+
* (`multiple_nfts_matched`). The phrase "this website" becomes a Markdown
|
|
6672
|
+
* link when a URL is configured; otherwise it stays plain text. Mirrors the
|
|
6673
|
+
* pattern used by the other NFT notice tools.
|
|
6674
|
+
*/
|
|
6675
|
+
private websiteNotice;
|
|
6570
6676
|
private normaliseString;
|
|
6571
6677
|
private normaliseTokenId;
|
|
6572
6678
|
private normaliseAmountInt;
|
|
@@ -6984,4 +7090,4 @@ declare class Summarizer {
|
|
|
6984
7090
|
summarize(messages: ChatMessage[]): Promise<string>;
|
|
6985
7091
|
}
|
|
6986
7092
|
|
|
6987
|
-
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
|
|
7093
|
+
export { AI_AGENT_TOOL_NAMES, type AddLiquidityFormProps, type AddLiquiditySummary, type AffiliateFee, type AgentConfig, AgentCore, type AgentResponse, ApproveTokenTool, BaseNftAiTool, 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 NFTContractMetadata, type NFTItem, type NFTLastSale, type NFTMetadata, NFTMetadataTool, 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 };
|