keyring-agent-core 0.2.15 → 0.2.17
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 +159 -33
- package/dist/index.js +100 -68
- 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 {
|
|
@@ -1653,12 +1672,35 @@ declare class AgentCore {
|
|
|
1653
1672
|
*/
|
|
1654
1673
|
private stampLanguage;
|
|
1655
1674
|
private addUserMessage;
|
|
1656
|
-
/**
|
|
1675
|
+
/**
|
|
1676
|
+
* Single KB lookup — callers reuse the result for both context + short-circuit.
|
|
1677
|
+
*
|
|
1678
|
+
* We fetch the FULL candidate set (minScore floor bypassed) in ONE query. The
|
|
1679
|
+
* minScore gating is then applied locally by the consumers: `formatKBContext`
|
|
1680
|
+
* keeps only above-threshold hits as reference material, while the intent
|
|
1681
|
+
* guard in `tryAnswerFromKB` widens to every candidate (so a truly-equivalent
|
|
1682
|
+
* FAQ the embedding underscored below minScore is still considered, provided
|
|
1683
|
+
* at least one hit cleared the threshold).
|
|
1684
|
+
*/
|
|
1657
1685
|
private searchKB;
|
|
1658
1686
|
private snippet;
|
|
1659
|
-
/**
|
|
1687
|
+
/**
|
|
1688
|
+
* Format KB hits as a reference-block string for LLM consumption. Only hits
|
|
1689
|
+
* that clear `kbAnswerThreshold` become reference material — `searchKB`
|
|
1690
|
+
* returns the unfiltered candidate set, so the score floor is enforced here.
|
|
1691
|
+
*/
|
|
1660
1692
|
private formatKBContext;
|
|
1661
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;
|
|
1662
1704
|
private answerDirectly;
|
|
1663
1705
|
/**
|
|
1664
1706
|
* Deterministic short-circuit for the unsupported-connected-chain case: the
|
|
@@ -1846,7 +1888,7 @@ declare abstract class BaseTool implements Tool {
|
|
|
1846
1888
|
interface MoralisServiceConfig {
|
|
1847
1889
|
/** Base URL for Moralis proxy (default: https://nft.keyring.app) */
|
|
1848
1890
|
baseUrl?: string;
|
|
1849
|
-
/** 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) */
|
|
1850
1892
|
v1BaseUrl?: string;
|
|
1851
1893
|
/** Pantograph API base URL for price enrichment */
|
|
1852
1894
|
pantographUrl?: string;
|
|
@@ -4239,32 +4281,55 @@ declare class WalletNFTsTool extends BaseNftMessageTool {
|
|
|
4239
4281
|
protected readonly template = "Please view your NFT collection on {link} for more details";
|
|
4240
4282
|
}
|
|
4241
4283
|
|
|
4242
|
-
|
|
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
|
+
|
|
4243
4308
|
/**
|
|
4244
4309
|
* Tool: get-nft-contract-info
|
|
4245
4310
|
*
|
|
4246
|
-
*
|
|
4247
|
-
*
|
|
4248
|
-
*
|
|
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.
|
|
4249
4314
|
*/
|
|
4250
|
-
declare class NFTContractInfoTool extends
|
|
4315
|
+
declare class NFTContractInfoTool extends BaseNftAiTool {
|
|
4251
4316
|
name: string;
|
|
4252
4317
|
description: string;
|
|
4253
|
-
|
|
4318
|
+
parameters: ToolParameter[];
|
|
4319
|
+
protected readonly presentInstructions: string;
|
|
4254
4320
|
}
|
|
4255
4321
|
|
|
4256
|
-
type NFTMetadataToolConfig = NftMessageToolConfig;
|
|
4257
4322
|
/**
|
|
4258
4323
|
* Tool: get-nft-metadata
|
|
4259
4324
|
*
|
|
4260
|
-
*
|
|
4261
|
-
*
|
|
4262
|
-
* 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.
|
|
4263
4327
|
*/
|
|
4264
|
-
declare class NFTMetadataTool extends
|
|
4328
|
+
declare class NFTMetadataTool extends BaseNftAiTool {
|
|
4265
4329
|
name: string;
|
|
4266
4330
|
description: string;
|
|
4267
|
-
|
|
4331
|
+
parameters: ToolParameter[];
|
|
4332
|
+
protected readonly presentInstructions: string;
|
|
4268
4333
|
}
|
|
4269
4334
|
|
|
4270
4335
|
type GeminiSearchAiToolConfig = LLMProviderConfig;
|
|
@@ -5149,7 +5214,7 @@ declare class SubgraphPoolSearchTool extends BaseTool {
|
|
|
5149
5214
|
feeTierBps: number;
|
|
5150
5215
|
feeTierPercent: number;
|
|
5151
5216
|
tvlUsd: number;
|
|
5152
|
-
|
|
5217
|
+
volumePastDayUsd: number;
|
|
5153
5218
|
fees24hUsd: number;
|
|
5154
5219
|
apr: number | null;
|
|
5155
5220
|
token0: {
|
|
@@ -5181,7 +5246,7 @@ type SubgraphTrendingPoolsToolConfig = SubgraphServiceConfig;
|
|
|
5181
5246
|
/**
|
|
5182
5247
|
* Tool: subgraph-trending-pools
|
|
5183
5248
|
*
|
|
5184
|
-
* Returns Uniswap V3 pools sorted by
|
|
5249
|
+
* Returns Uniswap V3 pools sorted by volume past day on the chosen chain(s).
|
|
5185
5250
|
* Maps to intent: trending_pool ("hot pools", "most active", "trending").
|
|
5186
5251
|
*/
|
|
5187
5252
|
declare class SubgraphTrendingPoolsTool extends BaseTool {
|
|
@@ -5211,7 +5276,7 @@ declare class SubgraphTrendingPoolsTool extends BaseTool {
|
|
|
5211
5276
|
feeTierBps: number;
|
|
5212
5277
|
feeTierPercent: number;
|
|
5213
5278
|
tvlUsd: number;
|
|
5214
|
-
|
|
5279
|
+
volumePastDayUsd: number;
|
|
5215
5280
|
fees24hUsd: number;
|
|
5216
5281
|
apr: number | null;
|
|
5217
5282
|
token0: {
|
|
@@ -5272,7 +5337,7 @@ declare class SubgraphPoolByAddressTool extends BaseTool {
|
|
|
5272
5337
|
feeTierBps: number;
|
|
5273
5338
|
feeTierPercent: number;
|
|
5274
5339
|
tvlUsd: number;
|
|
5275
|
-
|
|
5340
|
+
volumePastDayUsd: number;
|
|
5276
5341
|
fees24hUsd: number;
|
|
5277
5342
|
apr: number | null;
|
|
5278
5343
|
token0: {
|
|
@@ -5346,7 +5411,7 @@ declare class SubgraphPoolByPositionIdTool extends BaseTool {
|
|
|
5346
5411
|
feeTierBps: number;
|
|
5347
5412
|
feeTierPercent: number;
|
|
5348
5413
|
tvlUsd: number;
|
|
5349
|
-
|
|
5414
|
+
volumePastDayUsd: number;
|
|
5350
5415
|
fees24hUsd: number;
|
|
5351
5416
|
apr: number | null;
|
|
5352
5417
|
token0: {
|
|
@@ -5572,7 +5637,7 @@ declare class SubgraphAddPoolTool extends BaseTool {
|
|
|
5572
5637
|
feeTierBps: number;
|
|
5573
5638
|
feeTierPercent: number;
|
|
5574
5639
|
tvlUsd: number;
|
|
5575
|
-
|
|
5640
|
+
volumePastDayUsd: number;
|
|
5576
5641
|
fees24hUsd: number;
|
|
5577
5642
|
apr: number | null;
|
|
5578
5643
|
token0: {
|
|
@@ -5588,31 +5653,65 @@ declare class SubgraphAddPoolTool extends BaseTool {
|
|
|
5588
5653
|
uniswapUrl: string;
|
|
5589
5654
|
}[];
|
|
5590
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;
|
|
5591
5688
|
} | {
|
|
5592
5689
|
_instructions: string;
|
|
5593
5690
|
unsupportedChains: string[];
|
|
5594
5691
|
supportedChains: string[];
|
|
5595
|
-
|
|
5692
|
+
howTo?: undefined;
|
|
5596
5693
|
chain?: undefined;
|
|
5597
|
-
needsSelection?: undefined;
|
|
5598
5694
|
addLiquidityLink?: undefined;
|
|
5599
5695
|
count?: undefined;
|
|
5600
5696
|
pools?: undefined;
|
|
5697
|
+
error?: undefined;
|
|
5698
|
+
needsSelection?: undefined;
|
|
5601
5699
|
} | {
|
|
5602
5700
|
error: string;
|
|
5603
5701
|
_instructions?: undefined;
|
|
5604
|
-
|
|
5605
|
-
supportedChains?: undefined;
|
|
5702
|
+
howTo?: undefined;
|
|
5606
5703
|
chain?: undefined;
|
|
5607
|
-
needsSelection?: undefined;
|
|
5608
5704
|
addLiquidityLink?: undefined;
|
|
5609
5705
|
count?: undefined;
|
|
5610
5706
|
pools?: undefined;
|
|
5707
|
+
unsupportedChains?: undefined;
|
|
5708
|
+
supportedChains?: undefined;
|
|
5709
|
+
needsSelection?: undefined;
|
|
5611
5710
|
} | {
|
|
5612
5711
|
_instructions: string;
|
|
5613
5712
|
chain: string;
|
|
5614
5713
|
needsSelection: boolean;
|
|
5615
|
-
addLiquidityLink: null;
|
|
5714
|
+
addLiquidityLink: string | null;
|
|
5616
5715
|
count: number;
|
|
5617
5716
|
pools: {
|
|
5618
5717
|
pair: string;
|
|
@@ -5621,7 +5720,7 @@ declare class SubgraphAddPoolTool extends BaseTool {
|
|
|
5621
5720
|
feeTierBps: number;
|
|
5622
5721
|
feeTierPercent: number;
|
|
5623
5722
|
tvlUsd: number;
|
|
5624
|
-
|
|
5723
|
+
volumePastDayUsd: number;
|
|
5625
5724
|
fees24hUsd: number;
|
|
5626
5725
|
apr: number | null;
|
|
5627
5726
|
token0: {
|
|
@@ -5636,12 +5735,19 @@ declare class SubgraphAddPoolTool extends BaseTool {
|
|
|
5636
5735
|
};
|
|
5637
5736
|
uniswapUrl: string;
|
|
5638
5737
|
}[];
|
|
5738
|
+
howTo?: undefined;
|
|
5639
5739
|
unsupportedChains?: undefined;
|
|
5640
5740
|
supportedChains?: undefined;
|
|
5641
5741
|
error?: undefined;
|
|
5642
5742
|
}>;
|
|
5643
5743
|
/** Fetch + rank CoinPool concentrated-liquidity price-range candidates for a pair. */
|
|
5644
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;
|
|
5645
5751
|
/** Shared result for the address/search flows: pool(s) + the add-liquidity link. */
|
|
5646
5752
|
private poolsResult;
|
|
5647
5753
|
private formatPool;
|
|
@@ -6553,7 +6659,20 @@ declare class SendNftTool extends BaseWalletActionTool {
|
|
|
6553
6659
|
constructor(config?: MoralisServiceConfig, options?: SendNftToolConfig);
|
|
6554
6660
|
description: string;
|
|
6555
6661
|
parameters: ToolParameter[];
|
|
6556
|
-
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;
|
|
6557
6676
|
private normaliseString;
|
|
6558
6677
|
private normaliseTokenId;
|
|
6559
6678
|
private normaliseAmountInt;
|
|
@@ -6912,7 +7031,14 @@ declare class UpstashKnowledgeBase implements KnowledgeBaseProvider {
|
|
|
6912
7031
|
private readonly fusionAlgorithm;
|
|
6913
7032
|
private readonly debug;
|
|
6914
7033
|
constructor(config?: UpstashKnowledgeBaseConfig);
|
|
6915
|
-
|
|
7034
|
+
/**
|
|
7035
|
+
* @param opts.applyMinScore When `false`, every retrieved candidate is
|
|
7036
|
+
* returned regardless of the `minScore` floor (callers do their own
|
|
7037
|
+
* gating). Defaults to `true` — drop hits below `minScore`.
|
|
7038
|
+
*/
|
|
7039
|
+
search(query: string, maxResults?: number, opts?: {
|
|
7040
|
+
applyMinScore?: boolean;
|
|
7041
|
+
}): Promise<KBSearchResult[]>;
|
|
6916
7042
|
/**
|
|
6917
7043
|
* Upsert one or more entries. Idempotent — same `id` overwrites the
|
|
6918
7044
|
* existing record. When `id` is omitted, a stable hash of the question
|
|
@@ -6964,4 +7090,4 @@ declare class Summarizer {
|
|
|
6964
7090
|
summarize(messages: ChatMessage[]): Promise<string>;
|
|
6965
7091
|
}
|
|
6966
7092
|
|
|
6967
|
-
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 };
|