@thirdfy/agent-cli 0.2.50 → 0.2.51

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.51] - 2026-08-16
8
+
9
+ ### Fixed
10
+
11
+ - Earn writes `deposit_earn_position` / `withdraw_earn_position` use the 180s long HTTP timeout (same as Lighter onboarding). Default 30s aborted live Morpho deposits on Hermes (`CLI_UNHANDLED_ERROR` / "This operation was aborted"). Pairs with `thirdfy-mcp` **0.0.99**.
12
+
7
13
  ## [0.2.50] - 2026-08-14
8
14
 
9
15
  ### Added
package/README.md CHANGED
@@ -40,10 +40,10 @@ Run without global install:
40
40
  npx @thirdfy/agent-cli --help
41
41
  ```
42
42
 
43
- ## What's new in v0.2.50
43
+ ## What's new in v0.2.51
44
44
 
45
- - Uniswap LP (`uniswap`): list pools and positions, then mint, collect, or close with named actions.
46
- - LP writes use `mint_uniswap_position` and `close_uniswap_position`, not `deposit_earn_position`.
45
+ - Morpho and Aave earn writes (`deposit_earn_position` / `withdraw_earn_position`) wait up to 180s instead of aborting at the 30s default.
46
+ - Hyphen and snake action ids both use the long timeout.
47
47
  - See [CHANGELOG.md](./CHANGELOG.md) and GitHub Releases for older versions.
48
48
 
49
49
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thirdfy/agent-cli",
3
- "version": "0.2.50",
3
+ "version": "0.2.51",
4
4
  "description": "Thirdfy Agent CLI for onboarding, governance preflight, execute-intent, and status polling.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -4,6 +4,8 @@ const LONG_RUNNING_ACTIONS = new Set([
4
4
  'complete_lighter_onboarding',
5
5
  'setup_lighter_api_key',
6
6
  'register_lighter_api_key',
7
+ 'deposit_earn_position',
8
+ 'withdraw_earn_position',
7
9
  ]);
8
10
 
9
11
  function normalizeActionId(action) {
@@ -13,7 +15,7 @@ function normalizeActionId(action) {
13
15
  .toLowerCase();
14
16
  }
15
17
 
16
- /** Longer HTTP timeout for Lighter onboarding writes that poll CCTP credit or Ethereum changePubKey. */
18
+ /** Longer HTTP timeout for Lighter onboarding and Morpho/Aave earn writes (approve + vault call). */
17
19
  export function resolveActionTimeoutMs(action, baseTimeoutMs = DEFAULT_TIMEOUT_MS) {
18
20
  const base = Number.isFinite(baseTimeoutMs) && baseTimeoutMs > 0 ? baseTimeoutMs : DEFAULT_TIMEOUT_MS;
19
21
  if (!LONG_RUNNING_ACTIONS.has(normalizeActionId(action))) return base;