@thirdfy/agent-cli 0.1.19 → 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,6 +4,15 @@ All notable changes to `@thirdfy/agent-cli` are documented here. The format is b
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [0.1.21] - 2026-04-26
8
+
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
+
12
+ ### Fixed
13
+
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
+
7
16
  ## [0.1.18] - 2026-04-21
8
17
 
9
18
  **npm:** [`@thirdfy/agent-cli@0.1.18`](https://www.npmjs.com/package/@thirdfy/agent-cli/v/0.1.18)
package/README.md CHANGED
@@ -412,6 +412,12 @@ Version history and user-facing notes: [CHANGELOG.md](./CHANGELOG.md) (for examp
412
412
  ```bash
413
413
  npm version patch
414
414
  npm publish --access public
415
+ git push origin main --follow-tags
415
416
  ```
416
417
 
417
- After publishing, push the matching tag (for example `v0.1.12`) so the [Release workflow](.github/workflows/release.yml) can create a GitHub release. If the package version is already on npm, the workflow skips republishing and still creates the release when triggered by a tag.
418
+ Release contract:
419
+
420
+ - Keep `package.json` version and `CHANGELOG.md` synchronized in the release PR.
421
+ - The git tag must be `vX.Y.Z` and match `package.json` exactly.
422
+ - Push the matching tag so the [Release workflow](.github/workflows/release.yml) creates or aligns the GitHub release entry.
423
+ - If npm already contains that version, the workflow skips republishing and still creates/aligns the GitHub release when triggered by the tag.
@@ -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();
@@ -3500,7 +3501,7 @@ Core commands:
3500
3501
  thirdfy-agent agent auth challenge --agent-key <key> [--wallet-address <addr>] [--chain-id <id>] [--json]
3501
3502
  thirdfy-agent agent auth verify --challenge-id <id> --signature <hex> --agent-key <key> [--wallet-address <addr>] [--json]
3502
3503
  thirdfy-agent bootstrap begin --agent-key <key> [--wallet-address <addr>] [--chain-id <id>] [--json]
3503
- thirdfy-agent bootstrap complete --agent-key <key> [--proof-type session_token|wallet_signature] [--lane self|hybrid|thirdfy] [--owner-session-token <token> | --auth-token <token> | --challenge-id <id> --signature <hex>] [--name <agent-name>] [--mcp-base <url>] [--json]
3504
+ thirdfy-agent bootstrap complete --agent-key <key> [--proof-type session_token|wallet_signature] [--lane self|hybrid|thirdfy|agent_wallet] [--owner-session-token <token> | --auth-token <token> | --challenge-id <id> --signature <hex>] [--name <agent-name>] [--mcp-base <url>] [--json]
3504
3505
  thirdfy-agent onboarding begin ... # alias of bootstrap begin
3505
3506
  thirdfy-agent onboarding complete ... # alias of bootstrap complete
3506
3507
  thirdfy-agent developer bootstrap --agent-key <key> --name <name> [--owner-session-token <token> | --challenge-id <id> --signature <hex>] [--json]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thirdfy/agent-cli",
3
- "version": "0.1.19",
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": {