keyring-agent-core 0.4.7 → 0.4.9

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/CHANGELOG.md ADDED
@@ -0,0 +1,729 @@
1
+ # Changelog
2
+
3
+ All notable changes to `keyring-agent-core` are documented here, one section per published
4
+ version. Format: [Keep a Changelog](https://keepachangelog.com/en/1.1.0/); versions follow
5
+ [Semantic Versioning](https://semver.org/) (pre-1.0: minor bumps may break).
6
+
7
+ ## [Unreleased]
8
+
9
+ ### Changed
10
+ - **Prediction:** deposits "From this wallet" offer every token the bridge accepts on an EVM
11
+ chain that the wallet holds (native coin = zero address, read with `getBalance`), not only
12
+ USD stablecoins. `WalletDepositOption` gains `stable`; stablecoins are listed first.
13
+ - **Prediction:** `quoteDeposit` sends the native coin as the bridge's `0xeeee…`, and bridge
14
+ `/status` transfers report it as the zero address (as `/supported-assets` does).
15
+ - **Prediction:** Polygon's `0x…1010` "MATIC" precompile (the native POL the bridge lists twice)
16
+ is left out of wallet deposit options and withdraw destinations (`POLYGON_NATIVE_PRECOMPILE`).
17
+
18
+ ### Fixed
19
+ - **Prediction:** `depositPriceImpact` no longer fails for a cheap coin: when one unit is worth too
20
+ little for the bridge to quote (1 MON ≈ $0.015 → "cannot get quote"), it probes with 1,000 then
21
+ 1,000,000 units and scales the reference amount accordingly.
22
+
23
+ ## [0.4.8] - 2026-11-17
24
+
25
+ ### Fixed
26
+ - **Prediction:** NegRiskAdapter approval checks corrected so neg-risk market trades detect
27
+ missing approvals accurately.
28
+
29
+ ## [0.4.7] - 2026-11-17
30
+
31
+ ### Added
32
+ - **Prediction:** `getShareBalances(wallet, tokenIds)` export and
33
+ `PolymarketService.getShares()` — on-chain outcome-token share balances, current as soon as a
34
+ fill settles (unlike `getPositions`), never cached.
35
+ - **Prediction:** onboarding now checks the two NegRiskAdapter approvals (pUSD allowance for
36
+ BUY, ConditionalTokens operator approval for SELL) that the CLOB requires on neg-risk markets,
37
+ and adds them when missing.
38
+
39
+ ## [0.4.6] - 2026-11-17
40
+
41
+ ### Changed
42
+ - **Prediction:** withdrawals can pay out to any token the bridge serves on an EVM chain
43
+ (native = zero address), not only USD stablecoins. Stablecoins are still listed first.
44
+ - **Lending:** Compound links now point to `compound.xyz` (was `compound.finance`).
45
+
46
+ ## [0.4.5] - 2026-11-11
47
+
48
+ ### Changed
49
+ - **Prediction:** the Polymarket SDK's Polygon RPC is now chosen by probing endpoints with a
50
+ full-size JSON-RPC batch; order is host override → built-in list → remote catalogue, so a
51
+ batch-capped or rate-limited endpoint is no longer picked.
52
+
53
+ ## [0.4.4] - 2026-11-11
54
+
55
+ ### Changed
56
+ - **Core:** the restricted-topics blocklist (weather, sports, politics, …) was removed; the
57
+ identity guard remains. Non-crypto questions are answered normally again.
58
+ - **Core:** "who will win / will X happen" follow-ups inside a prediction-market conversation
59
+ route to the prediction subagent, and odds are never quoted from web search or memory.
60
+
61
+ ## [0.4.3] - 2026-11-09
62
+
63
+ ### Changed
64
+ - **Pool:** `PoolByAddressTool` resolves an address as pool or token in a single search call,
65
+ with clearer errors when neither matches.
66
+ - **Pool:** token safety checks in pool analysis gained extra risk flags and verdicts.
67
+
68
+ ## [0.4.2] - 2026-11-09
69
+
70
+ ### Added
71
+ - **Prediction:** minimum withdrawal per bridge destination — `minUsd` on withdraw targets,
72
+ `isBelowWithdrawMinimum()` and the `WithdrawTarget` type are exported.
73
+
74
+ ## [0.4.1] - 2026-11-06
75
+
76
+ ### Changed
77
+ - **Prediction:** event card detail buttons now submit the event title (no slug); the core
78
+ remembers the card's slug and resolves the event by title.
79
+
80
+ ## [0.4.0] - 2026-11-04
81
+
82
+ ### Changed
83
+ - **Chains/RPC:** multi-endpoint clients use a `fallbackHttp` transport that fails over instead
84
+ of waiting out a long `Retry-After` (new `maxRetryAfterMs` transport option).
85
+ - **Core:** lower turn latency — the router runs in parallel with the query rewrite (its
86
+ decision is reused when the rewrite leaves the message unchanged), and the synthesizer LLM
87
+ call is skipped when only one subagent answered.
88
+ - **Wallet:** wallet token balances are memoised per turn, so a single tool run no longer
89
+ re-crawls the same wallet.
90
+
91
+ ## [0.3.25] - 2026-11-03
92
+
93
+ ### Added
94
+ - **Website trust:** results are cached in memory and optionally in storage. New
95
+ `WebsiteTrustKeyringAgent` options: `officialCacheTtlMs` (default 7 days),
96
+ `assessCacheTtlMs` (default 1 day), `cacheStorage`, `cacheStorageKey`.
97
+
98
+ ## [0.3.24] - 2026-10-28
99
+
100
+ ### Changed
101
+ - **Build/RN:** dependency bumps (`@langchain/langgraph` ^1.5.3, `axios` ^1.21.0) and security
102
+ `resolutions` for transitive packages. No API change.
103
+
104
+ ## [0.3.23] - 2026-10-28
105
+
106
+ ### Changed
107
+ - **Prediction:** builder authentication reworked for Polymarket's updated API; builder code
108
+ updated to the latest version.
109
+
110
+ ## [0.3.22] - 2026-10-14
111
+
112
+ ### Added
113
+ - **Prediction:** builder code management for Polymarket order attribution.
114
+
115
+ ## [0.3.21] - 2026-10-14
116
+
117
+ ### Fixed
118
+ - **Prediction:** fee handling and market-order logic so trades show the amounts actually
119
+ charged.
120
+
121
+ ## [0.3.20] - 2026-10-14
122
+
123
+ Prediction markets (Polymarket) land.
124
+
125
+ ### Added
126
+ - **Prediction:** Polymarket tools — event lookup and cards, market detail, account lookup,
127
+ `PredictionSetupTool` (account setup + relayer wallet deployment), `PredictionDepositTool`
128
+ (EVM deposits, direct send or deposit address), `PredictionTradeTool`, and
129
+ `PredictionWithdrawTool` (pUSD cash to a wallet on a chosen EVM chain, with live quotes).
130
+ - **Prediction:** recurring crypto "Up or Down" markets with live WebSocket prices; trending
131
+ feed prioritises featured events and live games.
132
+ - **Prediction:** `shortLabel` on outcomes and team handling for sports markets.
133
+ - **Prediction:** all-in BUY sizing (`allInBuyNotional`, `buyNotionalAfterFee`) so notional +
134
+ fee equals the amount the user entered; minimum order size checks.
135
+
136
+ ## [0.3.19] - 2026-09-30
137
+
138
+ ### Fixed
139
+ - **Wallet:** amounts are floored to token decimals (`floorToTokenDecimals`) so percentage /
140
+ max amounts never round above the balance.
141
+ - **Wallet:** dust positions are filtered out of DeFi positions.
142
+
143
+ ## [0.3.18] - 2026-09-30
144
+
145
+ _No functional changes (republish)._
146
+
147
+ ## [0.3.17] - 2026-09-30
148
+
149
+ ### Changed
150
+ - **Token:** trending tokens use on-chain symbols and richer data enrichment.
151
+
152
+ ## [0.3.16] - 2026-09-29
153
+
154
+ ### Added
155
+ - **Core:** `finishReason` on `LLMResponse`.
156
+ - **Token:** improved research handling in `TokenInfoTool`.
157
+
158
+ ## [0.3.15] - 2026-09-29
159
+
160
+ ### Changed
161
+ - **Core:** default model is now `gemini-2.5-flash` (was `gemini-2.5-flash-lite`).
162
+
163
+ ## [0.3.14] - 2026-09-28
164
+
165
+ ### Added
166
+ - **Lending:** yield identity resolution and underlying price fetching for yield tokens.
167
+
168
+ ## [0.3.13] - 2026-09-22
169
+
170
+ ### Changed
171
+ - Documentation for lending protocols and deep links. No code change.
172
+
173
+ ## [0.3.12] - 2026-09-17
174
+
175
+ ### Added
176
+ - **Lending:** dynamic per-protocol chain lists for Morpho and Compound.
177
+
178
+ ### Fixed
179
+ - **Lending:** Spark protocol URLs use the correct domain.
180
+
181
+ ## [0.3.11] - 2026-09-16
182
+
183
+ ### Fixed
184
+ - **Chains/RPC:** chain normalisation checks across services reject unsupported chains.
185
+
186
+ ## [0.3.10] - 2026-09-16
187
+
188
+ ### Added
189
+ - **Chains/RPC:** `getNativeCurrency()` and `getChainName()` helpers.
190
+
191
+ ## [0.3.9] - 2026-09-11
192
+
193
+ ### Changed
194
+ - **Wallet:** wallet actions accept user-named networks and handle chain selection better.
195
+
196
+ ## [0.3.8] - 2026-09-10
197
+
198
+ ### Added
199
+ - **Swap/Buy:** USD prices for tokens in `BuyTokenTool` and `SwapTokenTool`; same-token trades
200
+ are detected (`isSameToken`).
201
+ - **Swap/Buy:** cross-chain parameters and refusal logic for wallet actions.
202
+
203
+ ## [0.3.7] - 2026-09-10
204
+
205
+ ### Added
206
+ - **Pool:** new Uniswap pool tool set (`TopPoolsTool`, `PoolDetailTool`, `PoolSearchTool`, …)
207
+ sharing one pool-analysis rubric, a pool candidate resolver for add-liquidity, and a unified
208
+ pool detail shape.
209
+ - **Pool:** DefiLlama pool service with shared snapshot caching; `ApiClient` accepts compressed
210
+ responses.
211
+ - **Wallet:** on-chain symbol confirmation for token identities in wallet actions.
212
+ - **Core:** token caps for subagent and synthesizer replies to cut latency.
213
+
214
+ ### Changed
215
+ - **Token:** Pantograph token requests are batched.
216
+
217
+ ### Deprecated
218
+ - **Pool:** old `pool-defillama` agent config aliases.
219
+
220
+ ## [0.3.6] - 2026-09-09
221
+
222
+ ### ⚠️ Breaking
223
+ - **Swap/Buy:** swap services rebuilt around `SwapProviderFactory`, `SwapRouter`
224
+ (`PoolSwapRouter`, `UserSwapRouter`) and `SwapRouterRegistry`; the old `SwapServiceFactory`
225
+ and its address/affiliate modules were removed.
226
+ - **Swap/Buy:** default swap provider is now `relay` (was `debridge`).
227
+
228
+ ### Changed
229
+ - **Swap/Buy:** `SwapTokenTool` uses one editable amount form (replaces the amount picker),
230
+ keeps the destination token while the source is chosen, and checks gas affordability.
231
+ `BuyTokenTool` and `SwapTokenTool` share one spendable-balance calculation.
232
+
233
+ ## [0.3.5] - 2026-09-07
234
+
235
+ ### Added
236
+ - **Core:** `selfContained` flag on `RewriteResult`.
237
+
238
+ ## [0.3.4] - 2026-09-07
239
+
240
+ ### Added
241
+ - **Lending:** Maple (Syrup pools) — live APY/TVL from Maple GraphQL plus history from the
242
+ lending rates API; read-only (deposits are permissioned).
243
+ - **Pool:** `OpenAddLiquidityFormTool` accepts exact pool addresses and V4 pool identifiers.
244
+ - **Pool:** token safety flags and transfer-tax warnings in pool analysis.
245
+
246
+ ### Changed
247
+ - **Pool:** pool detail mapping centralised; APR shown is net of protocol fees. Pool data
248
+ fetching merges search and list requests.
249
+
250
+ ## [0.3.3] - 2026-08-27
251
+
252
+ ### Added
253
+ - **Pool:** `searchBaseUrl` option for `UniswapService`; API endpoints updated.
254
+
255
+ ## [0.3.2] - 2026-08-26
256
+
257
+ ### Fixed
258
+ - **Lending:** `SPARK_SHARE_TYPES` excludes invalid contract types.
259
+
260
+ ## [0.3.1] - 2026-08-26
261
+
262
+ ### Changed
263
+ - **Lending:** protocol adapters split into modules (Aave, Compound, Morpho, Spark, Spark L2
264
+ sUSDS) with a registry and shared helpers.
265
+ - **Core:** assistant-invocation detection in the query rewriter.
266
+
267
+ ## [0.3.0] - 2026-08-25
268
+
269
+ ### Added
270
+ - **Lending:** Compound V3 reward APR included in APY.
271
+
272
+ ## [0.2.65] - 2026-08-24
273
+
274
+ ### Added
275
+ - **Lending:** `avgOverride` for Morpho's weekly average APY.
276
+
277
+ ## [0.2.64] - 2026-08-24
278
+
279
+ ### Added
280
+ - **Lending:** fixed-price handling for yield tokens in yield value calculations.
281
+
282
+ ## [0.2.63] - 2026-08-24
283
+
284
+ ### Changed
285
+ - **Lending:** APY change is measured over 1h (was 24h).
286
+
287
+ ## [0.2.62] - 2026-08-21
288
+
289
+ ### Added
290
+ - **Lending:** market angle computation for market analysis.
291
+
292
+ ### Changed
293
+ - **Lending:** more precise live-rate decoding.
294
+
295
+ ## [0.2.61] - 2026-08-20
296
+
297
+ ### Added
298
+ - **Lending:** `LendingMarketDetailTool`; shared market buttons and market reference
299
+ resolution across lending tools.
300
+
301
+ ### Removed
302
+ - **Lending:** `supplySuggestions` module (replaced by market buttons).
303
+
304
+ ## [0.2.60] - 2026-08-20
305
+
306
+ ### Changed
307
+ - **Lending:** reward conditions taken into account in APY and its display.
308
+
309
+ ## [0.2.59] - 2026-08-19
310
+
311
+ ### Changed
312
+ - **Lending:** APY includes reward incentives; hourly APY samples kept; APR vs APY corrected
313
+ for Aave and Comet (no double compounding); consistent number display.
314
+
315
+ ## [0.2.58] - 2026-08-18
316
+
317
+ ### Changed
318
+ - **Lending:** faster chain support checks in lending tools.
319
+
320
+ ## [0.2.57] - 2026-08-18
321
+
322
+ ### Added
323
+ - **Lending:** `lendingRatesBaseUrl` on `ApyEndpoints` / `LendingServiceConfig`.
324
+
325
+ ## [0.2.56] - 2026-08-18
326
+
327
+ ### Added
328
+ - **Lending:** `convertSusdsShares` export.
329
+
330
+ ## [0.2.55] - 2026-08-18
331
+
332
+ ### Added
333
+ - **Lending:** markets lend their real asset (not assumed USDC); Spark PSM3 cross-chain sUSDS
334
+ (`spark-l2-susds`), Spark Vaults V2, Morpho vault naming, protocol labels, asset logos, market
335
+ deep links, yield token pricing.
336
+ - **Chains/RPC:** remote RPC catalogue (Pantograph chains API) ahead of built-in endpoints;
337
+ chains not defined in core are synthesised from available RPC URLs.
338
+
339
+ ### Changed
340
+ - **Lending:** markets without a resolvable asset are reported unresolved (USDC fallback
341
+ removed); supported chains are fetched dynamically.
342
+
343
+ ## [0.2.54] - 2026-08-11
344
+
345
+ ### Added
346
+ - **Lending:** Compound v3 Comet and Spark savings vault support (two-step rate reads).
347
+ - **Pool:** LP fee share via `poolFees.ts`; zero/missing APR is omitted rather than shown as
348
+ 0% (`positiveApr`, `toAprPercent`).
349
+
350
+ ### Changed
351
+ - **Chains/RPC:** RPC goes through a public client with fallback transport; endpoint resolution
352
+ moved into the chain registry; new `BaseError`.
353
+
354
+ ### Deprecated
355
+ - **Chains/RPC:** raw JSON-RPC helpers.
356
+
357
+ ## [0.2.53] - 2026-08-07
358
+
359
+ ### Changed
360
+ - **Pool:** clearer pool analysis instructions in `TopPoolsTool`.
361
+
362
+ ## [0.2.52] - 2026-08-05
363
+
364
+ ### Changed
365
+ - **Lending:** share-based protocol conversion logic.
366
+
367
+ ## [0.2.50] - 2026-08-04
368
+
369
+ ### Added
370
+ - **Lending:** yield token valuation for share-based protocols.
371
+
372
+ ### Changed
373
+ - **Wallet:** DeFi position tool descriptions.
374
+
375
+ ## [0.2.49] - 2026-07-31
376
+
377
+ Lending lands.
378
+
379
+ ### Added
380
+ - **Lending:** `LendingMarketsTool` (USDC markets with APY and supply), `WalletLendingPositionsTool`,
381
+ `OpenSupplyFormTool` (`open-supply-usdc-form`) with balance validation, protocol resolution and
382
+ market links.
383
+ - **NFT:** `SendNftTool` picker mode with gallery selection.
384
+
385
+ ### Removed
386
+ - **Wallet:** `WalletDefiSummaryTool`.
387
+
388
+ ## [0.2.48] - 2026-07-30
389
+
390
+ ### Changed
391
+ - **Core:** license key validation in agent configuration.
392
+
393
+ ## [0.2.47] - 2026-07-27
394
+
395
+ ### Added
396
+ - **Wallet:** spendable USD value on wallet action forms.
397
+
398
+ ## [0.2.46] - 2026-07-27
399
+
400
+ ### Added
401
+ - **Wallet:** native coin symbol for form labels.
402
+
403
+ ## [0.2.45] - 2026-07-24
404
+
405
+ ### Changed
406
+ - **x402:** client supports both protocol versions and shows ERC-20 metadata in payment details.
407
+ - **Core:** license key handling supports `SECRET_KEY_HASH`.
408
+
409
+ ## [0.2.44] - 2026-07-22
410
+
411
+ ### ⚠️ Breaking
412
+ - **Core:** `noSuggestions` removed from tools and related interfaces.
413
+ - **Wallet:** `wallet-action-app` subagent removed; redirect-only actions use `NoFormTool`.
414
+ - **NFT:** NFT website link removed from `SendNftTool` props.
415
+
416
+ ### Added
417
+ - **Core:** LLM config accepts a direct API key (proxy optional).
418
+ - **NFT:** NFT collections retrieval, images resolved from on-chain tokenURIs, NFT gallery props,
419
+ sidecar lifting in `BaseTool`.
420
+ - **Wallet:** human-readable chain name on `WalletActionProps`.
421
+
422
+ ### Fixed
423
+ - **Wallet:** token balances include spam/unverified contracts.
424
+
425
+ ## [0.2.43] - 2026-07-09
426
+
427
+ ### Added
428
+ - **Core:** `thinkingBudget` option for Gemini reasoning tokens.
429
+
430
+ ### Fixed
431
+ - **Pool:** `PreviewAddLiquidityTool` prefers GoPlus audit data for token symbols.
432
+
433
+ ## [0.2.42] - 2026-07-01
434
+
435
+ ### Added
436
+ - **Core:** `maxOutputTokens` option on `askJson`.
437
+
438
+ ## [0.2.41] - 2026-06-30
439
+
440
+ ### Added
441
+ - **Core:** ambient request signal cancels tool execution; per-call token cap for LLM requests;
442
+ abort handling for direct tool runs.
443
+
444
+ ## [0.2.40] - 2026-06-29
445
+
446
+ ### Added
447
+ - **Core:** `AgentCore.runTool()` for direct tool execution (with `signal`), `Subagent.ownsTool()`.
448
+ - **Token:** chain-agnostic research fallback in `TokenInfoTool` for unsupported chains.
449
+
450
+ ## [0.2.39] - 2026-06-26
451
+
452
+ ### Fixed
453
+ - **Token:** Pantograph API base URL points to the new production endpoint.
454
+
455
+ ## [0.2.38] - 2026-06-26
456
+
457
+ ### Fixed
458
+ - **Swap/Buy:** `SwapTokenTool` slippage set to 1 (was `auto`).
459
+
460
+ ## [0.2.37] - 2026-06-22
461
+
462
+ ### Added
463
+ - **x402:** generic pay-per-call support — 402 responses from any `ApiClient` call are signed and
464
+ paid transparently (`X402Client`).
465
+ - **Chains/RPC:** more EVM chains in query rewriting and routing.
466
+
467
+ ### Changed
468
+ - **Core:** identity and off-topic guards; restricted subjects never route to subagents.
469
+
470
+ ## [0.2.36] - 2026-06-16
471
+
472
+ ### Changed
473
+ - **NFC:** buy links resolve to country-specific marketplaces.
474
+ - **Pool:** chain validation via `gatePoolChain` / `resolvePoolChain`.
475
+ - **Core:** brand mentions are linkified deterministically (Amazon links survive dropped markdown).
476
+ - **Token:** `extractTokenList` tolerates varying Pantograph response shapes.
477
+
478
+ ## [0.2.35] - 2026-06-15
479
+
480
+ ### Added
481
+ - **Chains/RPC:** Gnosis, HyperEVM, Mantle and Monad support.
482
+ - **Pool:** `pool-subgraph` deployment in routing; localized add-liquidity suggestion buttons.
483
+ - **Core:** `supportedLabel` for localized unsupported-chain replies.
484
+
485
+ ### Changed
486
+ - **Token:** Pantograph endpoints moved to `/token-list/all`.
487
+
488
+ ### Removed
489
+ - **Token:** buy button parameters from `TrendingTokensTool`.
490
+
491
+ ## [0.2.34] - 2026-06-12
492
+
493
+ ### Changed
494
+ - **Pool:** liquidity prompts include the chain.
495
+
496
+ ## [0.2.33] - 2026-06-12
497
+
498
+ ### Removed
499
+ - **Token:** buy button parameters from `TokenInfoTool`.
500
+
501
+ ## [0.2.32] - 2026-06-12
502
+
503
+ ### Added
504
+ - **NFC:** NFC agent with `nfc-info` and `nfc-buy-link` tools (localized Amazon storefronts).
505
+
506
+ ## [0.2.31] - 2026-06-11
507
+
508
+ ### Added
509
+ - **Pool:** add-liquidity suggestion buttons in `PoolAgent`, `OpenAddLiquidityFormTool`,
510
+ `PoolSearchTool`, `TopPoolsTool`.
511
+
512
+ ## [0.2.30] - 2026-06-11
513
+
514
+ ### Changed
515
+ - **Core:** query rewriting keeps intent when the user picks from an offered list.
516
+ - **Website trust:** ecosystem context, affiliated-domain filtering and verdict presentation.
517
+
518
+ ## [0.2.29] - 2026-06-10
519
+
520
+ ### Changed
521
+ - **Website trust:** `currentSite` handling and new `officialUrl`.
522
+
523
+ ## [0.2.28] - 2026-06-10
524
+
525
+ ### ⚠️ Breaking
526
+ - **Website trust:** `WebsiteTrustKeyringAgent` replaces `WebsiteTrustAgent` (types updated).
527
+
528
+ ### Changed
529
+ - **Core:** plain-text reply and list formatting rules in subagents and synthesizer.
530
+
531
+ ## [0.2.27] - 2026-06-10
532
+
533
+ ### Added
534
+ - **Website trust:** `WebsiteTrustAgent` for standalone website trust and phishing analysis.
535
+ - **Pool:** prices rounded to 8 significant digits (`roundToSignificant`).
536
+
537
+ ## [0.2.26] - 2026-06-09
538
+
539
+ ### Added
540
+ - **Core:** cancellation of chat turns via `AbortSignal`; web sources cited in tool replies.
541
+ - **Pool:** CoinPool price-range suggestions in `OpenAddLiquidityFormTool`, price ranges accepted
542
+ in either orientation, `ManageLiquidityRedirectTool`, clickable Uniswap links, AI fallback for
543
+ broad pool questions.
544
+ - **Wallet:** `wallet-action-app` subagent for redirect-only actions with app links (NFT links
545
+ supported).
546
+ - **NFT:** NFT sending in `WalletActionAgent`.
547
+
548
+ ## [0.2.25] - 2026-06-05
549
+
550
+ ### Added
551
+ - **Wallet:** block-explorer URLs for transactions; balance queries span all supported chains
552
+ when none is named.
553
+
554
+ ### Removed
555
+ - **Wallet:** `WalletNetWorthTool`.
556
+
557
+ ## [0.2.24] - 2026-06-04
558
+
559
+ ### Fixed
560
+ - **Build/RN:** missing `AbortSignal` methods and async symbols polyfilled for React Native.
561
+
562
+ ## [0.2.23] - 2026-06-04
563
+
564
+ ### Added
565
+ - **Build/RN:** `web-streams-polyfill` dependency and React Native polyfills.
566
+
567
+ ## [0.2.22] - 2026-06-04
568
+
569
+ _No functional changes (republish)._
570
+
571
+ ## [0.2.21] - 2026-06-04
572
+
573
+ ### ⚠️ Breaking
574
+ - **Build/RN:** `react-native` entry is now `dist/index.native.js`.
575
+
576
+ ### Added
577
+ - **Chains/RPC:** `getActiveChains()`; `WalletTokenBalancesTool` covers all supported chains when
578
+ none is named.
579
+
580
+ ## [0.2.20] - 2026-06-04
581
+
582
+ ### Fixed
583
+ - **Swap/Buy:** `BuyTokenTool` no longer invents a payment token or amount.
584
+
585
+ ## [0.2.19] - 2026-06-03
586
+
587
+ ### Changed
588
+ - **Pool:** "pool" and "pair" treated as equivalent for add-liquidity.
589
+
590
+ ## [0.2.18] - 2026-06-03
591
+
592
+ ### Changed
593
+ - **NFT:** error message handling of website links in NFT tools.
594
+
595
+ ## [0.2.17] - 2026-06-03
596
+
597
+ ### Added
598
+ - **NFT:** NFT data tools using live web data.
599
+ - **Core:** capabilities summary and identity guard; assistant questions answered directly.
600
+ - **Pool:** how-to queries for adding liquidity.
601
+
602
+ ### Fixed
603
+ - Production base URLs for the Gemini proxy and other services.
604
+
605
+ ## [0.2.16] - 2026-06-03
606
+
607
+ ### Changed
608
+ - **Core:** knowledge base search can bypass `minScore`.
609
+
610
+ ## [0.2.15] - 2026-06-02
611
+
612
+ ### Changed
613
+ - **Pool:** CoinPool integration uses `/pair/v2`; deprecated keyring pool API dropped.
614
+
615
+ ## [0.2.14] - 2026-06-02
616
+
617
+ ### Added
618
+ - **Core:** in-flight turn management in `AgentCore`.
619
+
620
+ ### Fixed
621
+ - **Wallet:** USD values truncated (not rounded) in `WalletTokenBalancesTool`.
622
+
623
+ ## [0.2.13] - 2026-06-02
624
+
625
+ ### Changed
626
+ - **Core:** intent classification matches against multiple FAQ questions.
627
+
628
+ ## [0.2.12] - 2026-06-02
629
+
630
+ ### Added
631
+ - **Pool:** `SubgraphAddPoolTool`, `PoolFallbackAiTool`, CoinPool price-range candidates in
632
+ subgraph tools, yield and earnings projections.
633
+ - **Chains/RPC:** more chain aliases.
634
+
635
+ ### Changed
636
+ - **Swap/Buy:** precise amount and decimal handling; deBridge retries transient errors.
637
+ - **Core:** supported chains shown by name only.
638
+
639
+ ## [0.2.11] - 2026-06-01
640
+
641
+ ### Added
642
+ - **Pool:** AI fallback in `PoolSubgraphAgent` for broad DeFi questions.
643
+
644
+ ## [0.2.10] - 2026-06-01
645
+
646
+ ### Changed
647
+ - **Wallet:** token amount validation ensures gas coverage.
648
+
649
+ ## [0.2.9] - 2026-06-01
650
+
651
+ ### Changed
652
+ - **Core:** more accurate amount parsing; action button prompts capitalised.
653
+
654
+ ## [0.2.8] - 2026-06-01
655
+
656
+ ### Changed
657
+ - **Core:** axios-based `ApiClient` for all services; `chainResolver` everywhere; error messages
658
+ name the chain.
659
+
660
+ ## [0.2.7] - 2026-05-29
661
+
662
+ ### ⚠️ Breaking
663
+ - **Wallet:** `WrapNativeTool` and `UnwrapNativeTool` removed.
664
+
665
+ ### Changed
666
+ - **NFT:** NFT sending moved to the `open-send-nft-form` flow.
667
+ - **Wallet:** wallet tools use `requireUserChain`.
668
+
669
+ ### Fixed
670
+ - **Token:** Pantograph top-gainers requests retry.
671
+
672
+ ## [0.2.6] - 2026-05-27
673
+
674
+ ### Changed
675
+ - **Core:** multi-language handling in router and subagents.
676
+
677
+ ## [0.2.5] - 2026-05-27
678
+
679
+ _No functional changes (republish)._
680
+
681
+ ## [0.2.4] - 2026-05-27
682
+
683
+ ### Added
684
+ - **Token:** buy button and prompt templates in `TrendingTokensTool`.
685
+
686
+ ## [0.2.3] - 2026-05-27
687
+
688
+ ### Added
689
+ - **Build/RN:** `zod` dependency.
690
+
691
+ ## [0.2.2] - 2026-05-27
692
+
693
+ ### Added
694
+ - **Core:** license key validation in `AgentCore`.
695
+
696
+ ## [0.2.1] - 2026-05-27
697
+
698
+ Wallet actions land.
699
+
700
+ ### Added
701
+ - **Wallet:** wallet action tools — `BuyTokenTool`, `SwapTokenTool`, `SendNativeTool`,
702
+ `SendTokenTool`, approve — with plain / percent / USD / "max" amounts, spendable-balance and
703
+ gas reserve checks, chain mismatch prompts and action buttons.
704
+ - **Core:** chat graph orchestration (`chatGraph`) and `chainResolver`; chain parameter is
705
+ optional on pool and wallet tools.
706
+ - **Pool:** subgraph-backed Uniswap V3 tools (search, by address, by position id, position
707
+ detail, trending, CoinPool pairs); `linkAddLiquidity` option.
708
+ - **NFT:** NFT tools with website linking.
709
+ - **Chains/RPC:** core-wide RPC overrides and shared RPC client.
710
+ - **Core:** Gemini Search AI tool; language and web-search options; Gemini retries with
711
+ exponential backoff.
712
+ - **Build/RN:** `scripts/release.sh`.
713
+
714
+ ### Removed
715
+ - Moralis and Solana Cortex tools (replaced by Gemini Search AI); `TopLosersTool`.
716
+
717
+ ## [0.1.1] - 2026-05-18
718
+
719
+ Initial release.
720
+
721
+ ### Added
722
+ - **Core:** `AgentCore` with Router + domain subagents, query rewriter, synthesizer,
723
+ conversation history with storage abstraction, Upstash-backed knowledge base, suggested
724
+ follow-up prompts, Gemini provider.
725
+ - **Wallet:** balances, history, PnL, transfers, approvals, DeFi positions (Moralis).
726
+ - **Token:** token info, analytics, score, holders, trending, top gainers (Moralis, Pantograph).
727
+ - **NFT:** NFT metadata, contract info, wallet NFTs and transfers.
728
+ - **Pool:** Uniswap pool tools (top pools, detail, search, by address, V4, APR), add-liquidity
729
+ preview, `EstimatePoolYieldTool`; swap services (deBridge, Relay) with affiliate fees.