@thirdfy/agent-cli 0.2.1 → 0.2.2
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 +12 -15
- package/README.md +10 -23
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,24 +4,13 @@ All notable changes to `@thirdfy/agent-cli` are documented here. The format is b
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
- `src/runtime/` — organized CLI runtime layer: `main.mjs` (orchestration), `errors.mjs`, `onboardingHints.mjs`, `execution/*`, `actions/selection.mjs`, plus command factories under `src/commands/` (`discovery`, `telemetry`, `credentials`, `agent`, `doctor`, `prompt`). `bin/thirdfy-agent.mjs` remains a thin entrypoint.
|
|
10
|
-
- Maintainer-only operator docs (provider platform audit, Hermes post-publish smoke) moved out of npm-facing `docs/` paths.
|
|
11
|
-
- `npm run validate:provider-parity` — CI guard for earn/capyfi/fx/bridge/trading/hyperliquid/polymarket/bitfinex hints (reads `src/runtime/providerHints.mjs`).
|
|
12
|
-
- `npm run validate:cli-manifest-handlers` and `npm run validate:runtime-boundaries` — manifest handler coverage and import-boundary checks.
|
|
13
|
-
- `npm run validate:release-preflight` — full publish gate (lint, validators, tests, npm pack, smoke); `prepublishOnly` runs it.
|
|
14
|
-
- `npm run validate:live-api-capabilities` — optional post-deploy check when `THIRDFY_API_BASE` is set (`profileDefaults`, DogeOS chain routing).
|
|
15
|
-
- Provider parity script also asserts DogeOS provider ids (`dogeos-barkswap`, `dogeos-laika`, `dogeos-ecosystem`) in CLI selection + MCP.
|
|
7
|
+
## [0.2.2] - 2026-05-23
|
|
16
8
|
|
|
17
9
|
### Changed
|
|
18
10
|
|
|
19
|
-
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
- `-V` / `--version` no longer print the full Commander help tree before the version string (early argv handling before `parseAsync`).
|
|
24
|
-
- Commander regression tests for clean `-V` / `--version` output.
|
|
11
|
+
- **npm README** — replaced the multi-version release wall with `## What's new in vX.Y.Z` (current semver only) and a CHANGELOG link; removed maintainer publish instructions from the npm homepage.
|
|
12
|
+
- **`validate:public-docs`** — enforces README/npm surface rules (current version heading, CHANGELOG link, no maintainer publish strings, max inline version highlights).
|
|
13
|
+
- **Cursor rules** — `npm-readme-surface.mdc` plus updates to public-docs and release flow rules; maintainer publish detail stays in `docs/releasing.md` / `docs-dev/publishing.md`.
|
|
25
14
|
|
|
26
15
|
## [0.2.1] - 2026-05-23
|
|
27
16
|
|
|
@@ -30,11 +19,19 @@ All notable changes to `@thirdfy/agent-cli` are documented here. The format is b
|
|
|
30
19
|
- **Commander.js is now the active router**: `program.parseAsync()` registers all commands via `src/cli/manifest.mjs`, shared option bundles under `src/cli/options/`, and JSON-aware `exitOverride` handling. Handlers and envelopes remain 1:1 with 0.2.0.
|
|
31
20
|
- Removed `dispatch.mjs` and the hybrid `parseArgs()` + `mergeCommanderGlobals()` entry path.
|
|
32
21
|
- Unknown CLI flags now error via Commander (previously ignored by the hand-rolled parser).
|
|
22
|
+
- Thirdfy API `GET /api/v1/agent/cli/capabilities` `profileDefaults.personal` aligned to `agent_wallet` (matches CLI `PROFILE_DEFAULTS`).
|
|
33
23
|
|
|
34
24
|
### Added
|
|
35
25
|
|
|
26
|
+
- `src/runtime/` — organized CLI runtime layer: `main.mjs` (orchestration), `errors.mjs`, `onboardingHints.mjs`, `execution/*`, `actions/selection.mjs`, plus command factories under `src/commands/` (`discovery`, `telemetry`, `credentials`, `agent`, `doctor`, `prompt`). `bin/thirdfy-agent.mjs` remains a thin entrypoint.
|
|
27
|
+
- `npm run validate:provider-parity`, `validate:cli-manifest-handlers`, `validate:runtime-boundaries`, `validate:release-preflight` (also `prepublishOnly`), and optional `validate:live-api-capabilities` when `THIRDFY_API_BASE` is set.
|
|
28
|
+
- Provider parity also asserts DogeOS provider ids (`dogeos-barkswap`, `dogeos-laika`, `dogeos-ecosystem`) in CLI selection + MCP.
|
|
36
29
|
- `test/commander-routing.test.cjs` — `-V`, `--version --json`, unknown command/option envelopes, `help onboarding`.
|
|
37
30
|
|
|
31
|
+
### Fixed
|
|
32
|
+
|
|
33
|
+
- `-V` / `--version` no longer print the full Commander help tree before the version string (early argv handling before `parseAsync`).
|
|
34
|
+
|
|
38
35
|
### Agent / operator notes
|
|
39
36
|
|
|
40
37
|
- **No argv path or JSON envelope changes** for documented commands; Hermes/OpenClaw/cron scripts need no changes.
|
package/README.md
CHANGED
|
@@ -40,11 +40,12 @@ Run without global install:
|
|
|
40
40
|
npx @thirdfy/agent-cli --help
|
|
41
41
|
```
|
|
42
42
|
|
|
43
|
-
##
|
|
43
|
+
## What's new in v0.2.2
|
|
44
44
|
|
|
45
|
-
|
|
45
|
+
- **npm README cleanup** — the registry homepage is user-facing again: one **What's new** section for the current version, full history in [CHANGELOG.md](./CHANGELOG.md) (no multi-version release wall or maintainer publish steps on npm).
|
|
46
|
+
- **Public docs validation** — `npm run validate:public-docs` enforces README/npm surface rules before publish.
|
|
46
47
|
|
|
47
|
-
|
|
48
|
+
Older highlights (Commander routing, stricter flags): see [CHANGELOG.md](./CHANGELOG.md) · [GitHub Releases](https://github.com/thirdfy/agent-cli/releases).
|
|
48
49
|
|
|
49
50
|
## Quick start
|
|
50
51
|
|
|
@@ -434,29 +435,15 @@ Managed-self execution performs strict wallet preflight and returns deterministi
|
|
|
434
435
|
- Creator platform (agent registration and keys):
|
|
435
436
|
[thirdfy.com/creator](https://thirdfy.com/creator)
|
|
436
437
|
|
|
437
|
-
##
|
|
438
|
+
## Contributing
|
|
439
|
+
|
|
440
|
+
From a git clone of this repository:
|
|
438
441
|
|
|
439
442
|
```bash
|
|
440
|
-
npm
|
|
443
|
+
npm ci
|
|
444
|
+
npm run validate:public-docs
|
|
441
445
|
npm test
|
|
442
446
|
npm run smoke:cli
|
|
443
|
-
npm run e2e:self:managed-custody-validation
|
|
444
|
-
npm run e2e:managed:delegation:parity
|
|
445
447
|
```
|
|
446
448
|
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
Version history and user-facing notes: [CHANGELOG.md](./CHANGELOG.md) (for example [v0.1.39](https://github.com/thirdfy/agent-cli/releases/tag/v0.1.39) — agent-wallet solo default, framework guidance, and delegation UX; [v0.1.38](https://github.com/thirdfy/agent-cli/releases/tag/v0.1.38) — npm README + lockfile metadata alignment; [v0.1.37](https://github.com/thirdfy/agent-cli/releases/tag/v0.1.37) — email OTP login, onboarding help, auth doctor, wallet list, masked `whoami`). **Before every version bump or npm publish:** update this **README** (release notes paragraph, quick start, and command groups) so the npm package page matches what ships; keep `CHANGELOG.md`, [command reference](./docs/command-reference.md), and MCP summaries aligned when discovery or onboarding surfaces change.
|
|
450
|
-
|
|
451
|
-
```bash
|
|
452
|
-
npm version patch
|
|
453
|
-
npm publish --access public
|
|
454
|
-
git push origin main --follow-tags
|
|
455
|
-
```
|
|
456
|
-
|
|
457
|
-
Release contract:
|
|
458
|
-
|
|
459
|
-
- Keep `package.json` version and `CHANGELOG.md` synchronized in the release PR.
|
|
460
|
-
- The git tag must be `vX.Y.Z` and match `package.json` exactly.
|
|
461
|
-
- Push the matching tag so the [Release workflow](.github/workflows/release.yml) creates or aligns the GitHub release entry.
|
|
462
|
-
- If npm already contains that version, the workflow skips republishing and still creates/aligns the GitHub release when triggered by the tag.
|
|
449
|
+
Version history lives in [CHANGELOG.md](./CHANGELOG.md). Maintainer publish steps: [docs/releasing.md](./docs/releasing.md).
|