Commit Graph

93 Commits

Author SHA1 Message Date
github-actions[bot] 91b4c95eaa Version Packages (#88)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-03 16:30:40 +02:00
Fran Algaba edbb992125 Add adapter-backed protocol metric comparisons (#87)
* feat: add adapter-backed protocol metric comparisons

* refactor: clean up protocol comparators code quality

- Extract getMarketForChain helper to deduplicate market lookup in Aave adapter
- Add MAX_TRAVERSAL_DEPTH limit to collectNumericValues to bound recursion
- Replace magic numbers in normalizeApyToBps with named constants
- Use Map-based adapter lookup in composite query provider (O(1) vs O(n))
- Parallelize file reads in format command with Promise.all
2026-04-03 16:22:25 +02:00
github-actions[bot] de225ea582 Version Packages (#85)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-31 13:10:43 +02:00
Fran Algaba 76b248b364 feat(cli,core): add spell formatter and format command (#84) 2026-03-31 13:06:34 +02:00
github-actions[bot] 6e99004cc2 Version Packages (#83)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-31 11:03:10 +02:00
github-actions[bot] 62f8831516 Version Packages (#81)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-30 20:36:56 +02:00
Fran Algaba 6cdb24a768 fix across chain-scoped asset resolution (#80) 2026-03-30 20:34:22 +02:00
github-actions[bot] 71cd177e85 Version Packages (#79)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-30 20:28:50 +02:00
Fran Algaba e93d428321 Fix venue CLI passthrough arg routing (#78)
* Fix venue passthrough arg handling

* Add changeset for venue arg routing fix

* Simplify venue command argument flow
2026-03-30 20:26:20 +02:00
github-actions[bot] 51385e6c9f Version Packages (#77)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-30 19:17:14 +02:00
Fran Algaba 356c5117c0 Add Polymarket markets/data CLI and offchain key wiring (#76)
* Add polymarket data CLI and reuse wallet key

* Simplify polymarket CLI pagination handling

* Add changeset for polymarket CLI and wallet wiring
2026-03-30 19:13:37 +02:00
github-actions[bot] a4d949690b Version Packages (#75)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-30 18:51:52 +02:00
Fran Algaba d6e76eb38a fix uniswap pool discovery fallback on base (#74) 2026-03-30 17:22:39 +02:00
github-actions[bot] 156da4ebe5 Version Packages (#73)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-28 21:00:22 +01:00
Fran Algaba 23783df6ba Fix PTYOETH asset resolution in preview/build/commit (#72)
* Fix PTYOETH asset resolution across preview/build/commit

* Add changeset for PTYOETH asset resolution fixes
2026-03-28 20:57:57 +01:00
github-actions[bot] 220df14546 Version Packages (#71)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-28 18:37:41 +01:00
Fran Algaba a3e1b8977e Thread spell-defined asset addresses to venue adapters (#70)
* Thread spell-defined asset addresses to venue adapters

Spells that declare custom assets with explicit addresses (e.g. PTYOETH)
were failing with "Unknown asset" errors because the adapter context
never received the spell's asset definitions. This adds an `assets`
field to `VenueAdapterContext`, threads `spell.assets` through the
preview and commit paths, and merges them into the Pendle adapter's
tokenMap for address resolution.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* Add assets field to BuildTransactionsOptions

The typecheck caught that BuildTransactionsOptions also calls
buildActionTransactions but was missing the assets field.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-28 18:36:04 +01:00
github-actions[bot] 083d5e274e Version Packages (#69)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-28 17:58:17 +01:00
Fran Algaba fba6b56f22 Default enableAggregator to true in Pendle adapter (#68)
* Default enableAggregator to true in Pendle adapter

Non-SY tokens like USDC require aggregator routing to swap into
Pendle PT/YT tokens. The previous default of false caused API errors
when swapping standard tokens. This is the common case, so defaulting
to true is the sensible behavior.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* Add changeset for Pendle enableAggregator default

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-28 17:51:02 +01:00
github-actions[bot] 83fcfce8f3 Version Packages (#67)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-26 11:55:48 +01:00
Fran Algaba c4ec754493 Improve Uniswap swap resolution (#66) 2026-03-26 11:54:19 +01:00
github-actions[bot] d4624e0223 Version Packages (#65)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-25 18:42:49 +01:00
Fran Algaba 70bde827e4 Improve Aave V3 withdraw/repay amount format and add approval fallback (#64) 2026-03-25 18:38:18 +01:00
github-actions[bot] eb3d1df8df Version Packages (#63)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-25 16:34:58 +01:00
Fran Algaba 1102ec191f Added approval flow in aave adapter (#62) 2026-03-25 16:31:54 +01:00
github-actions[bot] 02d1e2335f Version Packages (#61)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-24 20:03:03 +01:00
Fran Algaba 81cb1e8947 Update Aave graphql queries (#60) 2026-03-24 20:00:49 +01:00
github-actions[bot] 660084035d Version Packages (#59)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-24 19:34:22 +01:00
Fran Algaba 9ab4458978 Fix Uniswap V3 division by zero when pool quote returns zero output in preview mode (#58) 2026-03-24 19:32:53 +01:00
github-actions[bot] a77973fda3 Version Packages (#57)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-24 19:22:56 +01:00
Fran Algaba a0aceb1460 Improve eval skills (#56) 2026-03-24 19:21:24 +01:00
github-actions[bot] 70500ebe79 Version Packages (#55)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-24 17:52:48 +01:00
Fran Algaba cd7c12e2f6 Fix lint issues (#54) 2026-03-24 17:42:11 +01:00
github-actions[bot] 5b68cb50ad Version Packages (#53)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-23 20:01:04 +01:00
Fran Algaba 1425b9f88f Fixed AuthStorage creation 2026-03-23 19:58:42 +01:00
Fran Algaba e20b053fe6 Fix Uniswap pool data fetching and AuthStorage constructor (#52) 2026-03-23 19:51:32 +01:00
github-actions[bot] 1e487ffaa3 Version Packages (#51)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-23 16:42:54 +01:00
Fran Algaba 3e9927097c Upgrade all package dependencies to latest versions (#50) 2026-03-23 16:40:42 +01:00
github-actions[bot] f62bb98897 Version Packages (#49)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-23 12:28:44 +01:00
Fran Algaba 676f3bf3b1 Fix parser to accept inline single-line asset blocks (#48) 2026-03-23 12:25:20 +01:00
github-actions[bot] 2ae05f9f5c Version Packages (#47)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-23 11:35:02 +01:00
Fran Algaba 0e628ec1eb Refactor CLI experience. Added across venue. Add more actions in Morpho (#46) 2026-03-23 11:22:39 +01:00
github-actions[bot] f4c073293b Version Packages (#45)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-18 16:49:58 +01:00
Fran Algaba cd9f40b354 Venues consolidation and incur framework (#44)
* Incur as cli framework. Refactor venue package
* Improved token resolution in venues
2026-03-18 16:39:40 +01:00
github-actions[bot] d85666c5c4 Version Packages (#43)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-10 17:56:25 +01:00
Fran Algaba 29023f33eb Add transaction building implementation (#42) 2026-03-10 17:50:02 +01:00
github-actions[bot] 7be9464769 Version Packages (#41)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-05 11:10:28 +01:00
Fran Algaba 26ed9bba23 Add --trigger option for multi trigger spells (#40) 2026-03-05 11:07:30 +01:00
github-actions[bot] b89e5fc644 Version Packages (#39)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-05 10:13:53 +01:00
Fran Algaba c1d5ac1bd8 Auto-create provider for query functions (#38) 2026-03-05 10:09:23 +01:00