@thirdfy/agent-cli 0.2.6 → 0.2.7
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,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.7] - 2026-06-08
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- Hyperliquid `update_hyperliquid_leverage` action parity: listed in provider hints `orderManagementActions`, classified under the `hyperliquid` provider, and treated as an offchain venue write (rejects `self`/BYOW with `OFFCHAIN_VENUE_ORDER_SELF_UNSUPPORTED`; use `thirdfy`/`hybrid`/`agent_wallet`). Sets per-coin leverage (cross by default), bounded by the venue per-coin maxLeverage. Matches Thirdfy API v3.4.52+ and thirdfy-mcp v0.0.56+.
|
|
12
|
+
|
|
7
13
|
## [0.2.6] - 2026-06-05
|
|
8
14
|
|
|
9
15
|
### Changed
|
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.7
|
|
44
44
|
|
|
45
|
-
- Hyperliquid
|
|
46
|
-
-
|
|
47
|
-
-
|
|
45
|
+
- Hyperliquid `update_hyperliquid_leverage` sets per-coin leverage (cross by default) before placing an order; bounded by the venue per-coin maxLeverage.
|
|
46
|
+
- The leverage update is an offchain venue write: run it with `--run-mode thirdfy`, `--run-mode hybrid`, or `--run-mode agent_wallet` (not `self`/BYOW).
|
|
47
|
+
- Provider hints list `update_hyperliquid_leverage` in Hyperliquid order management actions.
|
|
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
|
@@ -87,6 +87,7 @@ function inferActionProvider(action) {
|
|
|
87
87
|
'deposit-hyperliquid-bridge': 'hyperliquid',
|
|
88
88
|
'place-hyperliquid-perps-order': 'hyperliquid',
|
|
89
89
|
'cancel-hyperliquid-perps-order': 'hyperliquid',
|
|
90
|
+
'update-hyperliquid-leverage': 'hyperliquid',
|
|
90
91
|
'get-perps-markets': 'hyperliquid',
|
|
91
92
|
'get-perps-account': 'hyperliquid',
|
|
92
93
|
'get-perps-position': 'hyperliquid',
|
|
@@ -5,6 +5,8 @@ const OFFCHAIN_VENUE_ORDER_ACTIONS = new Set([
|
|
|
5
5
|
'place-hyperliquid-perps-order',
|
|
6
6
|
'cancel_hyperliquid_perps_order',
|
|
7
7
|
'cancel-hyperliquid-perps-order',
|
|
8
|
+
'update_hyperliquid_leverage',
|
|
9
|
+
'update-hyperliquid-leverage',
|
|
8
10
|
'place_polymarket_order',
|
|
9
11
|
'place-polymarket-order',
|
|
10
12
|
]);
|
|
@@ -38,6 +38,7 @@ export function createProviderHints({ getNegotiatedCapabilitiesCache }) {
|
|
|
38
38
|
orderManagementActions: [
|
|
39
39
|
'place_hyperliquid_perps_order',
|
|
40
40
|
'cancel_hyperliquid_perps_order',
|
|
41
|
+
'update_hyperliquid_leverage',
|
|
41
42
|
'get_hyperliquid_open_orders',
|
|
42
43
|
],
|
|
43
44
|
setupActions: [
|