@thirdfy/agent-cli 0.2.5 → 0.2.6
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 +7 -0
- package/README.md +4 -4
- package/package.json +1 -1
- package/src/runtime/providerHints.mjs +9 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,13 @@ All notable changes to `@thirdfy/agent-cli` are documented here. The format is b
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [0.2.6] - 2026-06-05
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- Hyperliquid provider hints: `complete_hyperliquid_onboarding` in setup actions; `setupWarnings` for `HYPERLIQUID_BUILDER_WALLET_UNFUNDED`; builder monetization copy matches Thirdfy API setup/execute parity (approval only when builder treasury is funded).
|
|
12
|
+
- Hyperliquid command reference documents active-builder gate and when `approve_hyperliquid_builder_fee` is required.
|
|
13
|
+
|
|
7
14
|
## [0.2.5] - 2026-05-31
|
|
8
15
|
|
|
9
16
|
### Fixed
|
package/README.md
CHANGED
|
@@ -40,11 +40,11 @@ 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.6
|
|
44
44
|
|
|
45
|
-
-
|
|
46
|
-
-
|
|
47
|
-
-
|
|
45
|
+
- Hyperliquid provider hints include `complete_hyperliquid_onboarding` and `setupWarnings` for unfunded builder treasury (`HYPERLIQUID_BUILDER_WALLET_UNFUNDED`).
|
|
46
|
+
- Builder fee approval is documented only when builder monetization is active (builder treasury funded on Hyperliquid).
|
|
47
|
+
- Command reference matches Thirdfy API setup/execute parity for Hyperliquid perps.
|
|
48
48
|
|
|
49
49
|
Older versions: [CHANGELOG.md](./CHANGELOG.md) and [GitHub Releases](https://github.com/thirdfy/agent-cli/releases).
|
|
50
50
|
|
package/package.json
CHANGED
|
@@ -45,6 +45,7 @@ export function createProviderHints({ getNegotiatedCapabilitiesCache }) {
|
|
|
45
45
|
'get_hyperliquid_setup_status',
|
|
46
46
|
'get_hyperliquid_onboarding_plan',
|
|
47
47
|
'prepare_hyperliquid_onboarding',
|
|
48
|
+
'complete_hyperliquid_onboarding',
|
|
48
49
|
'get_bridge_quote',
|
|
49
50
|
'execute_bridge',
|
|
50
51
|
'approve_hyperliquid_agent',
|
|
@@ -87,13 +88,19 @@ export function createProviderHints({ getNegotiatedCapabilitiesCache }) {
|
|
|
87
88
|
'HYPERLIQUID_CREDITS_REQUIRED',
|
|
88
89
|
'HYPERLIQUID_API_WALLET_SIGNER_REQUIRED',
|
|
89
90
|
],
|
|
91
|
+
setupWarnings: [
|
|
92
|
+
'HYPERLIQUID_BUILDER_WALLET_UNFUNDED',
|
|
93
|
+
'HYPERLIQUID_API_WALLET_NOT_PROVIDED',
|
|
94
|
+
],
|
|
90
95
|
sourceBridgeProvider: 'lifi',
|
|
91
96
|
funding:
|
|
92
97
|
'Best path: Base/Ethereum/Polygon USDC -> Li.Fi bridge to native Arbitrum USDC -> Hyperliquid Bridge2. If the user already has native Circle USDC on Arbitrum One (42161), skip Li.Fi and call deposit_hyperliquid_bridge. Minimum 5 USDC; Bridge2 credits the sender/source wallet.',
|
|
93
98
|
laneCompatibility:
|
|
94
|
-
'Use self only for setup signatures or Arbitrum funding transactions. Perps
|
|
99
|
+
'Use self/BYOW only for setup signatures or Arbitrum funding transactions. Perps order placement is an offchain venue write and should use thirdfy, hybrid, or agent_wallet. The default solo agent_wallet path uses the managed execution wallet as the Hyperliquid master address. If margin already sits on a distinct Hyperliquid main wallet, pass that as userAddress/mainWalletAddress and pass the approved execution/API wallet as apiWalletAddress.',
|
|
95
100
|
setupExample:
|
|
96
|
-
'actions --provider hyperliquid ->
|
|
101
|
+
'actions --provider hyperliquid -> get_hyperliquid_funding_status -> complete_hyperliquid_onboarding for runtime-owned setup, or get_hyperliquid_onboarding_plan/prepare_hyperliquid_onboarding for operator previews -> get_bridge_quote/execute_bridge if source is Base/Ethereum/Polygon -> deposit_hyperliquid_bridge on 42161 -> approve_hyperliquid_agent -> approve_hyperliquid_builder_fee only when get_hyperliquid_setup_status shows builder.enabled=true -> get_hyperliquid_setup_status before place_hyperliquid_perps_order',
|
|
102
|
+
monetization:
|
|
103
|
+
'Builder monetization is active only when the API operator configured a builder address and the builder treasury has Hyperliquid margin. When active, the main wallet signs approve_hyperliquid_builder_fee once and orders attach builder fees. When the treasury is unfunded, get_hyperliquid_setup_status can return ready=true with warning HYPERLIQUID_BUILDER_WALLET_UNFUNDED, get_hyperliquid_builder_fee_status returns monetizationEnabled=false with reason BUILDER_WALLET_UNFUNDED, and place_hyperliquid_perps_order does not require builder approval.',
|
|
97
104
|
example:
|
|
98
105
|
'thirdfy-agent actions --provider hyperliquid && thirdfy-agent preflight --action place_hyperliquid_perps_order --params \'{"coin":"ETH","isBuy":true,"size":0.01,"limitPx":3500,"orderType":"market"}\'',
|
|
99
106
|
};
|