@thirdfy/agent-cli 0.1.20 → 0.1.21
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 +5 -5
- package/bin/thirdfy-agent.mjs +7 -6
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,14 +4,14 @@ All notable changes to `@thirdfy/agent-cli` are documented here. The format is b
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
-
## [0.1.
|
|
7
|
+
## [0.1.21] - 2026-04-26
|
|
8
8
|
|
|
9
|
-
**npm:** [`@thirdfy/agent-cli@0.1.
|
|
10
|
-
**Git tag:** `v0.1.
|
|
9
|
+
**npm:** [`@thirdfy/agent-cli@0.1.21`](https://www.npmjs.com/package/@thirdfy/agent-cli/v/0.1.21) (after publish)
|
|
10
|
+
**Git tag:** `v0.1.21`
|
|
11
11
|
|
|
12
|
-
###
|
|
12
|
+
### Fixed
|
|
13
13
|
|
|
14
|
-
- **
|
|
14
|
+
- **Agent run / execution-wallet:** `agent-run` path now uses the execution-wallet preflight contract so managed lanes receive consistent wallet metadata and validation.
|
|
15
15
|
|
|
16
16
|
## [0.1.18] - 2026-04-21
|
|
17
17
|
|
package/bin/thirdfy-agent.mjs
CHANGED
|
@@ -2716,14 +2716,15 @@ async function resolveManagedExecutionPreflight(ctx, flags, resolved, options =
|
|
|
2716
2716
|
};
|
|
2717
2717
|
}
|
|
2718
2718
|
const tokenIn = resolveTokenInForFunding(getPreparedParams(flags));
|
|
2719
|
-
const
|
|
2720
|
-
agentApiKey,
|
|
2719
|
+
const query = new URLSearchParams({
|
|
2721
2720
|
userDid,
|
|
2722
|
-
chainId,
|
|
2721
|
+
chainId: String(chainId),
|
|
2723
2722
|
runMode,
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
const response = await
|
|
2723
|
+
});
|
|
2724
|
+
if (tokenIn) query.set('tokenIn', tokenIn);
|
|
2725
|
+
const response = await apiGet(ctx, `/api/v1/agent/execution-wallet?${query.toString()}`, {
|
|
2726
|
+
'x-agent-api-key': agentApiKey,
|
|
2727
|
+
});
|
|
2727
2728
|
const executionWalletAddress = String(response?.executionWalletAddress || '').trim().toLowerCase();
|
|
2728
2729
|
const signerMethod = String(response?.signerMethod || 'managed_wallet_server').trim();
|
|
2729
2730
|
const rawBalance = String(response?.fundingTokenBalance?.raw || '').trim();
|