@thirdfy/agent-cli 0.1.34 → 0.1.35
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 +10 -0
- package/bin/thirdfy-agent.mjs +41 -10
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,16 @@ All notable changes to `@thirdfy/agent-cli` are documented here. The format is b
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [0.1.35] - 2026-05-14
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- Polymarket Gamma discovery hints in `thirdfy-agent actions` (`gamma_search_tags`, `gamma_search_events`, `gamma_search_markets`, and related prediction reads) aligned with the Thirdfy AgentKit catalog.
|
|
12
|
+
|
|
13
|
+
### Changed
|
|
14
|
+
|
|
15
|
+
- Public docs: provider index, action inventory, and command reference describe Gamma-backed Polymarket discovery and the production deposit-wallet (pUSD / POLY_1271) flow alongside existing trading and earn coverage.
|
|
16
|
+
|
|
7
17
|
## [0.1.34] - 2026-05-14
|
|
8
18
|
|
|
9
19
|
### Changed
|
package/bin/thirdfy-agent.mjs
CHANGED
|
@@ -488,6 +488,10 @@ function getTradingProviderHint(providerId) {
|
|
|
488
488
|
category: 'prediction_market',
|
|
489
489
|
canonicalWriteAction: 'place_polymarket_order',
|
|
490
490
|
readActions: [
|
|
491
|
+
'get_polymarket_tags',
|
|
492
|
+
'search_polymarket',
|
|
493
|
+
'get_polymarket_events',
|
|
494
|
+
'get_polymarket_event',
|
|
491
495
|
'get_polymarket_markets',
|
|
492
496
|
'get_polymarket_market',
|
|
493
497
|
'get_polymarket_order_book',
|
|
@@ -497,6 +501,14 @@ function getTradingProviderHint(providerId) {
|
|
|
497
501
|
'get_polymarket_order',
|
|
498
502
|
'get_polymarket_user_orders',
|
|
499
503
|
],
|
|
504
|
+
discoveryFlow: [
|
|
505
|
+
'get_polymarket_tags or search_polymarket',
|
|
506
|
+
'get_polymarket_events active=true closed=false',
|
|
507
|
+
'get_polymarket_market or get_polymarket_markets',
|
|
508
|
+
'get_polymarket_order_book',
|
|
509
|
+
'get_polymarket_prices or get_polymarket_price_history',
|
|
510
|
+
'get_polymarket_setup_status before place_polymarket_order',
|
|
511
|
+
],
|
|
500
512
|
orderManagementActions: [
|
|
501
513
|
'place_polymarket_order',
|
|
502
514
|
'get_polymarket_order',
|
|
@@ -505,27 +517,27 @@ function getTradingProviderHint(providerId) {
|
|
|
505
517
|
],
|
|
506
518
|
setupActions: [
|
|
507
519
|
'get_polymarket_setup_status',
|
|
508
|
-
'agent_wallet_setup:
|
|
509
|
-
'agent_wallet_setup:
|
|
520
|
+
'agent_wallet_setup:ensure_agent_wallet_deposit_wallet',
|
|
521
|
+
'agent_wallet_setup:deploy_deposit_wallet_and_set_approvals',
|
|
510
522
|
'agent_wallet_setup:create_or_derive_clob_credentials',
|
|
511
523
|
'browser_setup:add_privy_signer',
|
|
512
524
|
'browser_setup:create_or_derive_clob_credentials',
|
|
513
|
-
'browser_setup:
|
|
525
|
+
'browser_setup:deploy_deposit_wallet_and_set_approvals',
|
|
514
526
|
],
|
|
515
527
|
statusActions: ['get_polymarket_setup_status'],
|
|
516
528
|
credentialType: 'polymarket_clob',
|
|
517
529
|
credentialUx:
|
|
518
|
-
'Autonomous agents use an agent-owned Privy wallet
|
|
530
|
+
'Autonomous agents use an agent-owned Privy wallet and Polymarket deposit wallet first: Thirdfy creates the agent wallet, deploys/approves the deposit wallet, and stores encrypted CLOB credentials once Polymarket key creation is available. User-owned browser setup remains optional for interactive capital.',
|
|
519
531
|
funding:
|
|
520
|
-
'Fund the agent-owned Polymarket
|
|
532
|
+
'Fund the agent-owned Polymarket deposit wallet with Polygon pUSD after deployment and approvals. If users start with Base USDC, route Base USDC -> Polygon pUSD to the deposit wallet recipient before CLOB order placement.',
|
|
521
533
|
laneCompatibility:
|
|
522
534
|
'Use agent_wallet as the preferred autonomous-agent path. Use self only for user-owned setup/funding signatures. CLOB orders should use thirdfy, hybrid, or agent_wallet after polymarket_clob credentials are stored.',
|
|
523
535
|
setupBlockers: [
|
|
524
|
-
'
|
|
536
|
+
'POLYMARKET_DEPOSIT_WALLET_REQUIRED',
|
|
525
537
|
'POLYMARKET_CLOB_CREDENTIALS_REQUIRED',
|
|
526
|
-
'
|
|
527
|
-
'
|
|
528
|
-
'
|
|
538
|
+
'POLYMARKET_DEPOSIT_WALLET_DEPLOY_REQUIRED',
|
|
539
|
+
'POLYMARKET_DEPOSIT_WALLET_APPROVALS_REQUIRED',
|
|
540
|
+
'POLYMARKET_DEPOSIT_WALLET_PUSD_REQUIRED',
|
|
529
541
|
'POLYMARKET_CREDITS_REQUIRED',
|
|
530
542
|
'POLYMARKET_RELAYER_UNAVAILABLE',
|
|
531
543
|
'POLYMARKET_CLOB_KEY_CREATION_BLOCKED_UNTIL_POLYMARKET_FIX',
|
|
@@ -539,7 +551,14 @@ function getTradingProviderHint(providerId) {
|
|
|
539
551
|
provider,
|
|
540
552
|
category: 'prediction',
|
|
541
553
|
canonicalWriteAction: 'place_prediction_order',
|
|
542
|
-
readActions: [
|
|
554
|
+
readActions: [
|
|
555
|
+
'get_prediction_tags',
|
|
556
|
+
'search_prediction_markets',
|
|
557
|
+
'get_prediction_events',
|
|
558
|
+
'get_prediction_markets',
|
|
559
|
+
'get_prediction_market',
|
|
560
|
+
'get_prediction_order_book',
|
|
561
|
+
],
|
|
543
562
|
orderManagementActions: ['place_prediction_order', 'cancel_prediction_order'],
|
|
544
563
|
compatibilityProvider: 'polymarket',
|
|
545
564
|
};
|
|
@@ -3519,14 +3538,26 @@ function inferActionProvider(action) {
|
|
|
3519
3538
|
'get-yield-xyz-opportunities': 'yield-xyz',
|
|
3520
3539
|
'get-prediction-markets': 'polymarket',
|
|
3521
3540
|
'get-prediction-market': 'polymarket',
|
|
3541
|
+
'get-prediction-events': 'polymarket',
|
|
3542
|
+
'get-prediction-tags': 'polymarket',
|
|
3543
|
+
'search-prediction-markets': 'polymarket',
|
|
3522
3544
|
'get-prediction-order-book': 'polymarket',
|
|
3523
3545
|
'get-prediction-position': 'polymarket',
|
|
3524
3546
|
'place-prediction-order': 'polymarket',
|
|
3525
3547
|
'cancel-prediction-order': 'polymarket',
|
|
3526
3548
|
'get-polymarket-markets': 'polymarket',
|
|
3527
3549
|
'get-polymarket-market': 'polymarket',
|
|
3550
|
+
'get-polymarket-events': 'polymarket',
|
|
3551
|
+
'get-polymarket-event': 'polymarket',
|
|
3552
|
+
'get-polymarket-tags': 'polymarket',
|
|
3553
|
+
'search-polymarket': 'polymarket',
|
|
3554
|
+
'get-polymarket-order-book': 'polymarket',
|
|
3555
|
+
'get-polymarket-prices': 'polymarket',
|
|
3528
3556
|
'get-polymarket-setup-status': 'polymarket',
|
|
3529
3557
|
'get-polymarket-order': 'polymarket',
|
|
3558
|
+
'get-polymarket-user-orders': 'polymarket',
|
|
3559
|
+
'cancel-polymarket-order': 'polymarket',
|
|
3560
|
+
'get-polymarket-price-history': 'polymarket',
|
|
3530
3561
|
'place-polymarket-order': 'polymarket',
|
|
3531
3562
|
};
|
|
3532
3563
|
if (knownMap[key]) return knownMap[key];
|