@thirdfy/agent-cli 0.2.45 → 0.2.47
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 +12 -0
- package/README.md +3 -7
- package/package.json +2 -2
- package/src/runtime/providerHints.mjs +32 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,18 @@ All notable changes to `@thirdfy/agent-cli` are documented here. The format is b
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [0.2.47] - 2026-08-08
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- `gmgn` provider hints and `docs/providers/gmgn.md` for `get_gmgn_*` read-only smart-money actions (pairs with Thirdfy API `gmgn` provider / API 3.13.56).
|
|
12
|
+
|
|
13
|
+
## [0.2.46] - 2026-08-08
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
|
|
17
|
+
- 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.
|
|
18
|
+
|
|
7
19
|
## [0.2.45] - 2026-08-06
|
|
8
20
|
|
|
9
21
|
### 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.47
|
|
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
|
+
- GMGN smart-money reads: provider hints and `docs/providers/gmgn.md` for `get_gmgn_*` actions.
|
|
46
|
+
- See [CHANGELOG.md](./CHANGELOG.md) for older versions.
|
|
51
47
|
|
|
52
48
|
|
|
53
49
|
## Quick start
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thirdfy/agent-cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.47",
|
|
4
4
|
"description": "Thirdfy Agent CLI for onboarding, governance preflight, execute-intent, and status polling.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"LICENSE"
|
|
23
23
|
],
|
|
24
24
|
"scripts": {
|
|
25
|
-
"test": "node --test
|
|
25
|
+
"test": "node --test test/*.test.cjs",
|
|
26
26
|
"lint": "node --check ./bin/thirdfy-agent.mjs && node --check ./src/core/*.mjs && node --check ./src/commands/*.mjs && node --check ./src/cli/*.mjs && node --check ./src/cli/options/*.mjs && node --check ./src/runtime/*.mjs && node --check ./src/runtime/execution/*.mjs && node --check ./src/runtime/actions/*.mjs && node --check ./src/runtime/validation/*.mjs && node --check ./src/runtime/certification/*.mjs",
|
|
27
27
|
"validate:cli-manifest-handlers": "node ./scripts/validate-cli-manifest-handlers.mjs",
|
|
28
28
|
"validate:runtime-boundaries": "node ./scripts/validate-runtime-boundaries.mjs",
|
|
@@ -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
|
}
|
|
@@ -533,6 +533,35 @@ export function createProviderHints({ getNegotiatedCapabilitiesCache }) {
|
|
|
533
533
|
'thirdfy-agent condor policy-status && thirdfy-agent condor preflight --estimated-amount-usd 25 --idempotency-key <key>',
|
|
534
534
|
};
|
|
535
535
|
}
|
|
536
|
+
if (provider === 'gmgn') {
|
|
537
|
+
return {
|
|
538
|
+
provider,
|
|
539
|
+
category: 'smart_money_intel',
|
|
540
|
+
canonicalReadAction: 'get_gmgn_kol_trades',
|
|
541
|
+
readActions: [
|
|
542
|
+
'get_gmgn_token_info',
|
|
543
|
+
'get_gmgn_token_security',
|
|
544
|
+
'get_gmgn_token_pool',
|
|
545
|
+
'get_gmgn_token_holders',
|
|
546
|
+
'get_gmgn_token_traders',
|
|
547
|
+
'get_gmgn_token_kline',
|
|
548
|
+
'get_gmgn_trending',
|
|
549
|
+
'get_gmgn_trenches',
|
|
550
|
+
'get_gmgn_hot_searches',
|
|
551
|
+
'get_gmgn_wallet_activity',
|
|
552
|
+
'get_gmgn_wallet_stats',
|
|
553
|
+
'get_gmgn_wallet_token_balance',
|
|
554
|
+
'get_gmgn_created_tokens',
|
|
555
|
+
'get_gmgn_kol_trades',
|
|
556
|
+
'get_gmgn_smartmoney_trades',
|
|
557
|
+
],
|
|
558
|
+
supportedChains: [],
|
|
559
|
+
laneCompatibility:
|
|
560
|
+
'GMGN uses string chain slugs (sol, base, bsc, eth, robinhood), not numeric chainId. Read-only KOL, smart-money, wallet, and token security evidence via Thirdfy API. Pace calls (~1 req/s).',
|
|
561
|
+
example:
|
|
562
|
+
'thirdfy-agent run --action get_gmgn_kol_trades --params \'{"chain":"sol","limit":5}\' --provider gmgn --json',
|
|
563
|
+
};
|
|
564
|
+
}
|
|
536
565
|
if (provider === 'market-data') {
|
|
537
566
|
return {
|
|
538
567
|
provider,
|
|
@@ -582,6 +611,7 @@ export function createProviderHints({ getNegotiatedCapabilitiesCache }) {
|
|
|
582
611
|
'vaults-fyi': 'get-vaults-fyi-vaults',
|
|
583
612
|
'yield-xyz': 'get_yield_xyz_opportunities',
|
|
584
613
|
'market-data': 'get_trending_tokens',
|
|
614
|
+
gmgn: 'get_gmgn_kol_trades',
|
|
585
615
|
prediction: 'get_prediction_markets',
|
|
586
616
|
};
|
|
587
617
|
return {
|