@thirdfy/agent-cli 0.2.45 → 0.2.46
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 +6 -0
- package/README.md +3 -7
- package/package.json +1 -1
- package/src/runtime/providerHints.mjs +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,12 @@ All notable changes to `@thirdfy/agent-cli` are documented here. The format is b
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [0.2.46] - 2026-08-08
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- Yield.xyz provider hints: require discovery (`get_yield_xyz_opportunities`) before deposit; document that Thirdfy prepareDeposit calls `GET /v1/yields/{yieldId}` before enter/exit. Example uses Base USDC + canonical yieldId. Pairs with Thirdfy API 3.13.55 + thirdfy-mcp 0.0.94.
|
|
12
|
+
|
|
7
13
|
## [0.2.45] - 2026-08-06
|
|
8
14
|
|
|
9
15
|
### Added
|
package/README.md
CHANGED
|
@@ -40,14 +40,10 @@ Run without global install:
|
|
|
40
40
|
npx @thirdfy/agent-cli --help
|
|
41
41
|
```
|
|
42
42
|
|
|
43
|
-
## What's new in v0.2.
|
|
43
|
+
## What's new in v0.2.46
|
|
44
44
|
|
|
45
|
-
-
|
|
46
|
-
-
|
|
47
|
-
- `console-mandate` accepts `--chain-id` / `--network` for multi-chain Automations (Gnosis, Robinhood, Base).
|
|
48
|
-
- Docs: Li.Fi remains legacy fallback for Polymarket collateral only.
|
|
49
|
-
|
|
50
|
-
See [CHANGELOG.md](./CHANGELOG.md) and GitHub Releases for older versions.
|
|
45
|
+
- Yield.xyz: discover opportunities first, then deposit with the canonical yieldId. Thirdfy prepare calls yields_get before enter/exit.
|
|
46
|
+
- See [CHANGELOG.md](./CHANGELOG.md) for older versions.
|
|
51
47
|
|
|
52
48
|
|
|
53
49
|
## Quick start
|
package/package.json
CHANGED
|
@@ -494,9 +494,9 @@ export function createProviderHints({ getNegotiatedCapabilitiesCache }) {
|
|
|
494
494
|
readActions: ['get_yield_xyz_opportunities', 'get_earning_opportunities', 'get_earn_opportunities', 'get_earn_provider', 'get_earn_position'],
|
|
495
495
|
orderManagementActions: ['deposit_earn_position', 'withdraw_earn_position'],
|
|
496
496
|
laneCompatibility:
|
|
497
|
-
'Yield.xyz writes are transaction-prep first. Thirdfy calls
|
|
497
|
+
'Yield.xyz writes are transaction-prep first. Always discover with get_yield_xyz_opportunities (or get_earning_opportunities) and pass the canonical opportunityId/yieldId. Thirdfy prepareDeposit calls GET /v1/yields/{yieldId} before enter/exit, then validates unsigned transactions with @yieldxyz/shield. Balances omit metadata.name; use yields_get / get_earn_position enrich for display names.',
|
|
498
498
|
example:
|
|
499
|
-
'thirdfy-agent
|
|
499
|
+
'thirdfy-agent run --action get_yield_xyz_opportunities --params \'{"chainId":8453,"asset":"USDC"}\' && thirdfy-agent preflight --action deposit_earn_position --params \'{"providerId":"yield-xyz","opportunityId":"<canonical-yieldId>","tokenAddress":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"10","chainId":8453}\'',
|
|
500
500
|
supportedChains: [1, 10, 100, 130, 137, 42220, 8453, 42161, 4663],
|
|
501
501
|
};
|
|
502
502
|
}
|