@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 +6 -0
- package/README.md +3 -3
- package/package.json +1 -1
- package/src/core/actionTimeouts.mjs +3 -1
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.
|
|
43
|
+
## What's new in v0.2.51
|
|
44
44
|
|
|
45
|
-
-
|
|
46
|
-
-
|
|
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
|
@@ -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
|
|
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;
|