@thirdfy/agent-cli 0.2.71 → 0.2.72

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.72] - 2026-09-17
8
+
9
+ ### Added
10
+
11
+ - Hyperliquid `place_hyperliquid_tp_sl` certification fixture, write lane, and provider hint. Lighter `place_lighter_perps_order` `orderType` enum includes `stop_loss`, `stop_loss_limit`, `take_profit`, `take_profit_limit`. Pin: `test/read-only-action-classifier.test.cjs`. Pairs with `thirdfy-mcp` **0.0.122** and Thirdfy API **3.14.50**.
12
+
7
13
  ## [0.2.71] - 2026-09-16
8
14
 
9
15
  ### Fixed
package/README.md CHANGED
@@ -40,10 +40,9 @@ Run without global install:
40
40
  npx @thirdfy/agent-cli --help
41
41
  ```
42
42
 
43
- ## What's new in v0.2.71
43
+ ## What's new in v0.2.72
44
44
 
45
- - Avantis setup-status and onboarding-plan reads wait for the compose timeout instead of falling back early.
46
- - An empty queued execute-intent fallback fails instead of looking like a successful empty setup payload.
45
+ - Hyperliquid `place_hyperliquid_tp_sl` is a write. Lighter `place_lighter_perps_order` accepts stop-loss and take-profit `orderType` values with `triggerPrice`.
47
46
  - See [CHANGELOG.md](./CHANGELOG.md) and GitHub Releases for older versions.
48
47
 
49
48
  ## Quick start
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thirdfy/agent-cli",
3
- "version": "0.2.71",
3
+ "version": "0.2.72",
4
4
  "description": "Thirdfy Agent CLI for onboarding, governance preflight, execute-intent, and status polling.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -47,6 +47,37 @@ export const VENUE_WRITE_ACTION_FIXTURES = [
47
47
  },
48
48
  validSample: { coin: 'ETH', orderId: 1 },
49
49
  },
50
+ {
51
+ action: 'place_hyperliquid_tp_sl',
52
+ aliases: ['place-hyperliquid-tp-sl'],
53
+ provider: 'hyperliquid',
54
+ authorityInputs: ['agentApiKey', 'estimatedAmountUsd'],
55
+ paramsSchema: {
56
+ type: 'object',
57
+ additionalProperties: false,
58
+ required: ['coin', 'tpsl', 'triggerPx', 'size', 'isBuy'],
59
+ properties: {
60
+ coin: { type: 'string', minLength: 1 },
61
+ tpsl: { type: 'string', enum: ['tp', 'sl'] },
62
+ triggerPx: { type: 'number', minimum: 0 },
63
+ isMarket: { type: 'boolean' },
64
+ limitPx: { type: 'number', minimum: 0 },
65
+ size: { type: 'number', minimum: 0 },
66
+ isBuy: { type: 'boolean' },
67
+ reduceOnly: { type: 'boolean' },
68
+ grouping: { type: 'string', enum: ['na', 'normalTpsl', 'positionTpsl'] },
69
+ userAddress: { type: 'string' },
70
+ },
71
+ },
72
+ validSample: {
73
+ coin: 'ETH',
74
+ tpsl: 'sl',
75
+ triggerPx: 3000,
76
+ size: 0.01,
77
+ isBuy: false,
78
+ reduceOnly: true,
79
+ },
80
+ },
50
81
  {
51
82
  action: 'update_hyperliquid_leverage',
52
83
  aliases: ['update-hyperliquid-leverage'],
@@ -82,7 +113,11 @@ export const VENUE_WRITE_ACTION_FIXTURES = [
82
113
  baseAmount: { type: 'integer', minimum: 1 },
83
114
  price: { type: 'integer', minimum: 1 },
84
115
  isAsk: { type: 'boolean' },
85
- orderType: { type: 'string', enum: ['limit', 'market'] },
116
+ orderType: {
117
+ type: 'string',
118
+ enum: ['limit', 'market', 'stop_loss', 'stop_loss_limit', 'take_profit', 'take_profit_limit'],
119
+ },
120
+ triggerPrice: { type: 'integer', minimum: 1 },
86
121
  reduceOnly: { type: 'boolean' },
87
122
  },
88
123
  },
@@ -3,6 +3,8 @@ export function createExecutionLanes() {
3
3
  const OFFCHAIN_VENUE_ORDER_ACTIONS = new Set([
4
4
  'place_hyperliquid_perps_order',
5
5
  'place-hyperliquid-perps-order',
6
+ 'place_hyperliquid_tp_sl',
7
+ 'place-hyperliquid-tp-sl',
6
8
  'cancel_hyperliquid_perps_order',
7
9
  'cancel-hyperliquid-perps-order',
8
10
  'update_hyperliquid_leverage',
@@ -37,6 +37,7 @@ export function createProviderHints({ getNegotiatedCapabilitiesCache }) {
37
37
  ],
38
38
  orderManagementActions: [
39
39
  'place_hyperliquid_perps_order',
40
+ 'place_hyperliquid_tp_sl',
40
41
  'cancel_hyperliquid_perps_order',
41
42
  'update_hyperliquid_leverage',
42
43
  'get_hyperliquid_open_orders',