@thirdfy/agent-cli 0.2.21 → 0.2.22

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 CHANGED
@@ -4,6 +4,17 @@ All notable changes to `@thirdfy/agent-cli` are documented here. The format is b
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [0.2.22] - 2026-07-10
8
+
9
+ ### Added
10
+
11
+ - Robinhood Chain (4663) provider hints for trading, bridge, yield-xyz, and market-data; `robinhood-mainnet` chat alias; live capabilities validation for 4663.
12
+
13
+ ### Fixed
14
+
15
+ - Capabilities-derived hints no longer set a write action for read-only `market-data`.
16
+ - Live API validation also asserts `yield-xyz` includes chain 4663.
17
+
7
18
  ## [0.2.21] - 2026-07-05
8
19
 
9
20
  ### Added
package/README.md CHANGED
@@ -40,11 +40,12 @@ Run without global install:
40
40
  npx @thirdfy/agent-cli --help
41
41
  ```
42
42
 
43
- ## What's new in v0.2.21
43
+ ## What's new in v0.2.22
44
44
 
45
- - **Console mandate:** `thirdfy-agent console-mandate status|draft|activate|revoke` for Console delegated execution with daily cap and expiry.
46
- - Uses the same `/api/v1/console/delegation/*` routes as Console and Account. Separate from certified-agent `delegation *` commands.
47
- - Pairs with Thirdfy API **v3.10.2+**. See [`docs/command-reference.md`](./docs/command-reference.md).
45
+ - **Robinhood Chain (4663):** Provider hints for `trading`, `bridge`, `yield-xyz`, and `market-data`; `robinhood-mainnet` chat alias.
46
+ - Live capabilities validation asserts chain 4663 when `THIRDFY_API_BASE` is set. Pairs with Thirdfy API **v3.10.7+**.
47
+
48
+ Older versions: see [CHANGELOG.md](./CHANGELOG.md) and [GitHub Releases](https://github.com/thirdfy/agent-cli/releases).
48
49
 
49
50
  Older versions: see [CHANGELOG.md](./CHANGELOG.md) and [GitHub Releases](https://github.com/thirdfy/agent-cli/releases).
50
51
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thirdfy/agent-cli",
3
- "version": "0.2.21",
3
+ "version": "0.2.22",
4
4
  "description": "Thirdfy Agent CLI for onboarding, governance preflight, execute-intent, and status polling.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -5,6 +5,7 @@ import { apiGet, safeJsonParse } from '../core/http.mjs';
5
5
  const NETWORK_CHAIN_IDS = {
6
6
  'base-mainnet': 8453,
7
7
  'base-sepolia': 84532,
8
+ 'robinhood-mainnet': 4663,
8
9
  };
9
10
 
10
11
  const DEFAULT_CHAT_CHAIN_ID = 8453;
@@ -11,9 +11,9 @@ export function createProviderHints({ getNegotiatedCapabilitiesCache }) {
11
11
  provider,
12
12
  category: 'onchain_spot',
13
13
  canonicalWriteAction: 'swap',
14
- supportedChains: [1, 10, 130, 137, 8453, 84532, 42161],
14
+ supportedChains: [1, 10, 130, 137, 8453, 84532, 42161, 4663],
15
15
  laneCompatibility:
16
- 'Kyber quote/build is live on Ethereum, Optimism, Unichain, Polygon, Base, and Arbitrum; sponsored Kyber execution is validated on Base only. Gnosis FX uses the fx provider via CoW.',
16
+ 'Kyber quote/build is live on Ethereum, Optimism, Unichain, Polygon, Base, and Arbitrum; sponsored Kyber execution is validated on Base only. Robinhood Chain (4663) uses Li.Fi Intents for spot swaps with user-pays gas. Gnosis FX uses the fx provider via CoW.',
17
17
  credentialUx: 'Use normal Thirdfy login/delegation; do not use this provider for Hyperliquid, Lighter, or Polymarket.',
18
18
  };
19
19
  }
@@ -329,7 +329,7 @@ export function createProviderHints({ getNegotiatedCapabilitiesCache }) {
329
329
  canonicalWriteAction: 'execute_bridge',
330
330
  readActions: ['get_bridge_quote', 'get_supported_bridge_chains', 'check_bridge_status'],
331
331
  orderManagementActions: ['execute_bridge'],
332
- supportedChains: [1, 8453, 42161, 10, 137, 56, 43114, 250, 100, 1284, 1285, 25, 288, 1088, 42220, 122, 324, 59144, 534352, 5000, 81457, 169],
332
+ supportedChains: [1, 8453, 42161, 10, 137, 56, 43114, 250, 100, 1284, 1285, 25, 288, 1088, 42220, 122, 324, 59144, 534352, 5000, 81457, 169, 4663],
333
333
  laneCompatibility: 'Li.Fi bridge supports mainnet value movement only; testnets are not auto-mapped to mainnet.',
334
334
  };
335
335
  }
@@ -455,6 +455,22 @@ export function createProviderHints({ getNegotiatedCapabilitiesCache }) {
455
455
  'Yield.xyz writes are transaction-prep first. Thirdfy calls Yield.xyz directly and validates returned unsigned transactions with @yieldxyz/shield before signing or returning prepared calls.',
456
456
  example:
457
457
  'thirdfy-agent actions --provider yield-xyz && thirdfy-agent preflight --action deposit_earn_position --params \'{"providerId":"yield-xyz","opportunityId":"ethereum-eth-lido-staking","tokenAddress":"0x...","amount":"0.01","chainId":1}\'',
458
+ supportedChains: [1, 10, 100, 130, 137, 42220, 8453, 42161, 4663],
459
+ };
460
+ }
461
+ if (provider === 'market-data') {
462
+ return {
463
+ provider,
464
+ category: 'market_data',
465
+ canonicalReadAction: 'get_trending_tokens',
466
+ readActions: [
467
+ 'get_trending_tokens',
468
+ 'get_new_token_launches',
469
+ 'get_token_market_data',
470
+ 'get_chain_market_overview',
471
+ ],
472
+ supportedChains: [8453, 84532, 4663],
473
+ laneCompatibility: 'Read-only market data via API-owned actions. Robinhood Chain uses CoinGecko Onchain network id robinhood.',
458
474
  };
459
475
  }
460
476
  return null;
@@ -488,6 +504,7 @@ export function createProviderHints({ getNegotiatedCapabilitiesCache }) {
488
504
  curve: 'get_curve_pools',
489
505
  'vaults-fyi': 'get-vaults-fyi-vaults',
490
506
  'yield-xyz': 'get_yield_xyz_opportunities',
507
+ 'market-data': 'get_trending_tokens',
491
508
  prediction: 'get_prediction_markets',
492
509
  };
493
510
  return {