@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 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.20] - 2026-04-25
7
+ ## [0.1.21] - 2026-04-26
8
8
 
9
- **npm:** [`@thirdfy/agent-cli@0.1.20`](https://www.npmjs.com/package/@thirdfy/agent-cli/v/0.1.20)
10
- **Git tag:** `v0.1.20`
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
- ### Changed
12
+ ### Fixed
13
13
 
14
- - **Bootstrap lane contract docs/help:** `bootstrap complete` now documents `--lane self|hybrid|thirdfy|agent_wallet` and clarifies that `agent_wallet` bootstrap follows self-lane bootstrap policy semantics.
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
 
@@ -2716,14 +2716,15 @@ async function resolveManagedExecutionPreflight(ctx, flags, resolved, options =
2716
2716
  };
2717
2717
  }
2718
2718
  const tokenIn = resolveTokenInForFunding(getPreparedParams(flags));
2719
- const payload = {
2720
- agentApiKey,
2719
+ const query = new URLSearchParams({
2721
2720
  userDid,
2722
- chainId,
2721
+ chainId: String(chainId),
2723
2722
  runMode,
2724
- ...(tokenIn ? { tokenIn } : {}),
2725
- };
2726
- const response = await apiPost(ctx, '/api/v1/agent/execution-wallet', payload);
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();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thirdfy/agent-cli",
3
- "version": "0.1.20",
3
+ "version": "0.1.21",
4
4
  "description": "Thirdfy Agent CLI for onboarding, governance preflight, execute-intent, and status polling.",
5
5
  "type": "module",
6
6
  "bin": {