@thirdfy/agent-cli 0.2.25 → 0.2.29

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +29 -1
  2. package/README.md +38 -22
  3. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -4,6 +4,34 @@ All notable changes to `@thirdfy/agent-cli` are documented here. The format is b
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [0.2.29] - 2026-07-18
8
+
9
+ ### Changed
10
+
11
+ - Docs: Wave C / W6 CLI reference polish. Quick start is Path A (`personal` + `agent_wallet`); Gator lives under **User wallet authorization**; cross-links to [action inventory](./docs/action-inventory-and-compatibility.md#execution-orchestration-reference-hosted-solo-agents) and the API [CLI reference standard](https://github.com/thirdfy/thirdfy-api-v2/blob/develop/docs-dev/agents/execution-orchestration-scale/cli-reference-standard.md). Solo path does not require MetaMask delegation. Pairs with Thirdfy API **v3.12.0**.
12
+
13
+ ## [0.2.28] - 2026-07-11
14
+
15
+ ### Fixed
16
+
17
+ - `e2e:base:simulate` Robinhood tier uses `--run-mode agent_wallet` so chain 4663 compatibility passes (Robinhood advertises `self` + `agent_wallet` only).
18
+
19
+ ## [0.2.27] - 2026-07-11
20
+
21
+ ### Changed
22
+
23
+ - Robinhood partner validator moved to `scripts/e2e/chains/robinhood/delegated-preflight.mjs` with shared `delegation-lane` helper and Robinhood constants.
24
+ - `e2e:base:simulate` includes `actions --chain-id 4663` tier; `docs/partners/robinhood-validation.md` documents CLI vs API validation split.
25
+ - npm alias `validate:robinhood:delegated-preflight`; legacy `validate:robinhood-agent-wallet-preflight` preserved.
26
+
27
+ ## [0.2.26] - 2026-07-11
28
+
29
+ ### Changed
30
+
31
+ - Robinhood live validator uses Privy subscriber delegation (`THIRDFY_USER_DID` + `managed_wallet_server`) and Robinhood-native WETH/USDG addresses instead of solo `did:wallet:<agentKey>`.
32
+ - Validator requires explicit `THIRDFY_USER_DID` or `ROBINHOOD_SMOKE_USER_DID` (no `~/.thirdfy/config.json` fallback) so partner checks always exercise the delegation lane.
33
+ - Validator probes `GET /api/v1/agent/execution-wallet` and rejects agent-owner bypass when `canonicalUserDid` rewrites to `did:wallet:<agentKey>`.
34
+
7
35
  ## [0.2.25] - 2026-07-11
8
36
 
9
37
  ### Fixed
@@ -24,7 +52,7 @@ All notable changes to `@thirdfy/agent-cli` are documented here. The format is b
24
52
 
25
53
  ### Added
26
54
 
27
- - `npm run validate:robinhood-agent-wallet-preflight` for live API solo agent_wallet preflight on chain 4663.
55
+ - `npm run validate:robinhood-agent-wallet-preflight` for live API delegated agent_wallet preflight on chain 4663 (requires `THIRDFY_USER_DID` + active delegation on 4663).
28
56
 
29
57
  ## [0.2.22] - 2026-07-10
30
58
 
package/README.md CHANGED
@@ -40,35 +40,46 @@ Run without global install:
40
40
  npx @thirdfy/agent-cli --help
41
41
  ```
42
42
 
43
- ## What's new in v0.2.25
43
+ ## What's new in v0.2.29
44
44
 
45
- - Hybrid and `managed_wallet_server` agent_wallet paths keep Privy delegation identity; solo Robinhood lane still uses `did:wallet:<agentKey>`.
46
-
47
- ## What's new in v0.2.24
48
-
49
- - `agent_wallet` read-only execute-intent fallback keeps solo `did:wallet:<agentKey>` identity (matches preflight and primary execute path).
50
-
51
- ## What's new in v0.2.23
52
-
53
- - Solo `agent_wallet` preflight uses `did:wallet:<agentKey>` so Robinhood and direct agent lanes skip subscriber delegation (`SUBSCRIPTION_NOT_FOUND` fix).
54
- - `npm run validate:robinhood-agent-wallet-preflight` for live chain 4663 execution-wallet checks.
45
+ - Path A quick start and docs: hosted solo agents use `personal` + `agent_wallet`; MetaMask Gator is under User wallet authorization only.
46
+ - Cross-links to action inventory and the API CLI reference standard (pairs with Thirdfy API v3.12.0).
55
47
 
56
48
  Older versions: see [CHANGELOG.md](./CHANGELOG.md) and [GitHub Releases](https://github.com/thirdfy/agent-cli/releases).
57
49
 
58
50
  ## Quick start
59
51
 
52
+ Hosted solo agents use profile `personal` and `--run-mode agent_wallet` (Path A). Fund the managed **execution wallet**, complete venue trading setup from the catalog when needed, then preflight and run. MetaMask Gator / `delegation *` is not required on this path.
53
+
60
54
  ```bash
61
55
  export AGENT_API_KEY="..."
62
56
  export THIRDFY_AUTH_TOKEN="..."
63
57
  export THIRDFY_OWNER_SESSION_TOKEN="..."
64
58
 
65
- thirdfy-agent actions --agent-api-key "$AGENT_API_KEY" --json
66
59
  thirdfy-agent profile init --profile personal --json
67
- thirdfy-agent preflight --agent-api-key "$AGENT_API_KEY" --action swap --params '{"tokenIn":"0x...","tokenOut":"0x...","amountInRaw":"1000000","tokenInDecimals":6}' --estimated-amount-usd 25 --json
68
- thirdfy-agent run --agent-api-key "$AGENT_API_KEY" --action swap --params '{"tokenIn":"0x...","tokenOut":"0x...","amountInRaw":"1000000","tokenInDecimals":6}' --estimated-amount-usd 25 --json
69
- thirdfy-agent intent-status --intent-id "<intentId>" --json
60
+ thirdfy-agent actions --agent-api-key "$AGENT_API_KEY" --json
61
+ thirdfy-agent wallet list --json
62
+ # Fund the printed execution wallet address for your target chain (not the owner login wallet).
63
+
64
+ thirdfy-agent preflight \
65
+ --agent-api-key "$AGENT_API_KEY" \
66
+ --run-mode agent_wallet \
67
+ --action swap \
68
+ --params '{"tokenIn":"0x...","tokenOut":"0x...","amountInRaw":"1000000","tokenInDecimals":6}' \
69
+ --estimated-amount-usd 25 \
70
+ --json
71
+
72
+ thirdfy-agent run \
73
+ --agent-api-key "$AGENT_API_KEY" \
74
+ --run-mode agent_wallet \
75
+ --action swap \
76
+ --params '{"tokenIn":"0x...","tokenOut":"0x...","amountInRaw":"1000000","tokenInDecimals":6}' \
77
+ --estimated-amount-usd 25 \
78
+ --json
70
79
  ```
71
80
 
81
+ `personal` defaults to `agent_wallet` when `--run-mode` is omitted. Use `intent-status` only for publisher execute-intent fanout (`--run-mode thirdfy`), not for solo `agent_wallet` writes. Full golden paths: [action inventory — execution orchestration](./docs/action-inventory-and-compatibility.md#execution-orchestration-reference-hosted-solo-agents).
82
+
72
83
  By default, the CLI targets production (`https://api.thirdfy.com`). Use `--api-base` (or `THIRDFY_API_BASE`) only for staging/dev/custom deployments.
73
84
 
74
85
  ### Local API smoke
@@ -317,9 +328,9 @@ Provider and venue guides are kept outside `README` so this page stays stable as
317
328
  - Managed signer execution: `wallet execute`, `wallet sign`, `wallet submit`, `agent run`
318
329
  - Profiles: `profile init`, `profile use`, `profile show`, `whoami`
319
330
  - Onboarding: `login email`, `help onboarding`, `doctor auth`, `wallet list`, `bootstrap begin`, `bootstrap complete`, `onboarding begin`, `onboarding complete`, `agent auth challenge`, `agent auth verify`, `agent register`, `agent key rotate`, `agent key revoke`, `developer bootstrap`
320
- - Governance readiness: `delegation create`, `delegation activate`, `delegation status`, `credentials upsert`, `credentials status`
321
- - Delegation operations: `delegation show`, `delegation inspect`, `delegation revoke`
322
- - Delegation execution helpers: `delegation balance`, `delegation redeem`
331
+ - User wallet authorization (Gator): `delegation create`, `delegation activate`, `delegation status`, `credentials upsert`, `credentials status`
332
+ - Gator operations: `delegation show`, `delegation inspect`, `delegation revoke`
333
+ - Gator execution helpers: `delegation balance`, `delegation redeem` (daily-cap caveats via `--max-usd-per-day`)
323
334
  - Account: `credits balance`
324
335
  - Console Brain: `brain sections`, `brain suggest`, `brain preflight`, `brain graduate` (read/preflight-first; see [`docs/command-reference.md`](./docs/command-reference.md))
325
336
 
@@ -335,9 +346,11 @@ Maintainers validating releases locally: `npm run validate:release-preflight`. A
335
346
  - Live action inventory in your environment: [`docs/action-inventory-and-compatibility.md`](./docs/action-inventory-and-compatibility.md)
336
347
  - Provider runbooks and provider status: [`docs/providers/index.md`](./docs/providers/index.md)
337
348
 
338
- ## Delegation lifecycle (canonical)
349
+ ## User wallet authorization (Gator)
350
+
351
+ Gator / ERC-7710 lives under the `delegation *` command group. Use it when a **user wallet** authorizes spend for `hybrid` or `thirdfy` (subscriber / Console / external-wallet lanes). Hosted solo agents on `personal` + `agent_wallet` skip this section.
339
352
 
340
- Use `create` + `activate` as the default delegated execution lifecycle:
353
+ Use `create` + `activate` as the default user-authority lifecycle (`--max-usd-per-day` sets the period transfer caveat):
341
354
 
342
355
  ```bash
343
356
  thirdfy-agent delegation create \
@@ -393,7 +406,9 @@ thirdfy-agent delegation redeem \
393
406
 
394
407
  `--auth-token "$THIRDFY_AUTH_TOKEN"` remains supported for all delegation commands, but owner-session token is preferred for least-privilege owner operations.
395
408
 
396
- ### MetaMask custodial-compatible lifecycle (new)
409
+ ### MetaMask custodial-compatible grant (Gator path only)
410
+
411
+ This is still user-authority setup, not the solo `agent_wallet` demo path. Solo agents do not need MetaMask delegation.
397
412
 
398
413
  ```bash
399
414
  thirdfy-agent delegation init-custodial \
@@ -411,7 +426,7 @@ thirdfy-agent delegation custodial-grant \
411
426
 
412
427
  The CLI keeps compatibility with legacy `delegation create` + `delegation activate` during migration.
413
428
 
414
- `delegation show` is a direct alias to `delegation status` for gator-style operator ergonomics.
429
+ `delegation show` is a direct alias to `delegation status` for Gator operator ergonomics.
415
430
 
416
431
  Managed easy-wallet command group:
417
432
 
@@ -440,6 +455,7 @@ Managed-self execution performs strict wallet preflight and returns deterministi
440
455
 
441
456
  ## More docs
442
457
 
458
+ - Execution orchestration (solo `agent_wallet` reference path): [action inventory — execution orchestration](./docs/action-inventory-and-compatibility.md#execution-orchestration-reference-hosted-solo-agents); operator standard in [thirdfy-api-v2 cli-reference-standard](https://github.com/thirdfy/thirdfy-api-v2/blob/develop/docs-dev/agents/execution-orchestration-scale/cli-reference-standard.md)
443
459
  - OpenClaw CLI onboarding flow:
444
460
  [docs.thirdfy.com/documentation/api/thirdfy-agent-cli#create-an-openclaw-agent-with-the-cli](https://docs.thirdfy.com/documentation/api/thirdfy-agent-cli#create-an-openclaw-agent-with-the-cli)
445
461
  - Creator platform (agent registration and keys):
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thirdfy/agent-cli",
3
- "version": "0.2.25",
3
+ "version": "0.2.29",
4
4
  "description": "Thirdfy Agent CLI for onboarding, governance preflight, execute-intent, and status polling.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -47,8 +47,8 @@
47
47
  "smoke:cli": "node ./bin/thirdfy-agent.mjs --help && node ./bin/thirdfy-agent.mjs -V && node ./bin/thirdfy-agent.mjs --version --json",
48
48
  "validate:release-preflight": "npm run lint && npm run validate:public-docs && npm run validate:cli-contract-schemas && npm run validate:provider-parity && npm run validate:cli-manifest-handlers && npm run validate:runtime-boundaries && npm run test && npm run validate:npm-pack && npm run smoke:cli",
49
49
  "validate:live-api-capabilities": "node ./scripts/validate-live-api-capabilities.mjs",
50
- "validate:robinhood-agent-wallet-preflight": "node ./scripts/validate-robinhood-agent-wallet-preflight.mjs",
51
- "validate:robinhood-agent-wallet-preflight": "node ./scripts/validate-robinhood-agent-wallet-preflight.mjs",
50
+ "validate:robinhood:delegated-preflight": "node ./scripts/e2e/chains/robinhood/delegated-preflight.mjs",
51
+ "validate:robinhood-agent-wallet-preflight": "node ./scripts/e2e/chains/robinhood/delegated-preflight.mjs",
52
52
  "prepublishOnly": "npm run validate:release-preflight"
53
53
  },
54
54
  "keywords": [