From 6929af358442dd838ca930e84692e9287492b7bf Mon Sep 17 00:00:00 2001 From: leemour Date: Wed, 18 Nov 2026 09:52:53 +0100 Subject: [PATCH] chore(release): 0.30.0 bin/release: 0.29.0 is already on npm. Only the number changes: package.json, src/version.ts, the CHANGELOG heading, and the changes/ fragments collected under it. ## Conformance The release pull request of 0.29.0 recorded the checks; this one changes only its number. --- CHANGELOG.md | 39 +++++++++++++++++++++++++++++++ changes/chore-cli-core-0.698.0.md | 5 ---- changes/docs-mcp-ask-runs.md | 5 ---- changes/feat-tracker-graphql.md | 14 ----------- changes/fix-attio-pilot-gaps.md | 18 -------------- package.json | 2 +- src/version.ts | 2 +- 7 files changed, 41 insertions(+), 44 deletions(-) delete mode 100644 changes/chore-cli-core-0.698.0.md delete mode 100644 changes/docs-mcp-ask-runs.md delete mode 100644 changes/feat-tracker-graphql.md delete mode 100644 changes/fix-attio-pilot-gaps.md diff --git a/CHANGELOG.md b/CHANGELOG.md index f5fc485..1ac8ec6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,45 @@ Notable changes to `@wirecat/cli-template`. One section per version, newest firs +## 0.30.0 — 18.11.2026 + +### Added + +- **A new CLI's README says that over MCP `ask` does not ask.** A CLI with an api group gets one paragraph beside + the MCP setup: the agent runs the API's writes and deletes, each one is kept in `runs list`, and + `config set permissions.api readonly` or `permissions.api. deny` stops them for a profile. +- **`new --spec graphql` makes the api group from a GraphQL schema.** With `--spec-url` (or a config's `spec.from`), + `new` asks the endpoint for its schema by introspection, as `pnpm spec:sync` does later, and `pnpm generate` makes + one command of each query and mutation. A GraphQL schema names no sign-in, so the header the key travels in is + `auth` in `scripts/generate.ts`. +- **A `tracker` category.** `new --from-config` with `category: "tracker"` and a `source` mounts cli-core's tracker + commands (`sync`, `issues`, `projects`, `teams`…) over `trackerSourceFromManifest`, with a test that checks the + source against the generated API and syncs through the CLI over a fake of the schema. +- **`auth.verify.active`**: the field of the check's answer that must be `true`, for a service that answers a revoked + key with 200 and `active: false`, as Attio does. `session start` then says to sign in again, not `provider_error`. +- **A config with `source.users` mounts `users list|show`**, read live from the CRM. + +### Changed — may break callers + +- **A new CLI pins `@wirecat/cli-core` 0.698.0 and `@wirecat/cli-base` 0.117.0.** cli-base's command vocabulary has + the tracker's nouns and cli-core's tracker commands follow it, so a tracker CLI from `new --from-config` passes + `pnpm lint:commands`. cli-base also knows a Basic sign-in. +- **cli-core 0.697.0**, which has the tracker category, `trackerSourceFromManifest` and the + GraphQL executor. + +### Fixed + +- **`new --from-config` with `auth.verify` makes a CLI without the template's sample.** `src/context.ts`, + `src/program.ts`, the test harness and `api`, `mcp` and `run-scope` tests reach the API and its fake, and the + sample's files are left out; before, they imported `src/sample/`, and `remove-sample` refused the CLI until about 30 + lines were rewritten by hand. The hosts an OAuth sign-in in the description reaches, such as `app.attio.com`, join + `hosts`, so `lint:commands` no longer stops on them. +- **A function in a config's `source` stops `pnpm generate`** and names where it is, instead of being dropped + silently when the source is written out as JSON. +- **The seed's sync test reads the CRM's rows from `crmManifestFake`**, which pages them to their end. Over + `fakeServiceApi`, every page of an offset list held a row, so a sync read until its budget ran out and the test + timed out (382 pages in the Attio pilot). + ## 0.29.0 — 17.11.2026 ### Added diff --git a/changes/chore-cli-core-0.698.0.md b/changes/chore-cli-core-0.698.0.md deleted file mode 100644 index 79d4afb..0000000 --- a/changes/chore-cli-core-0.698.0.md +++ /dev/null @@ -1,5 +0,0 @@ -### Changed — may break callers - -- **A new CLI pins `@wirecat/cli-core` 0.698.0 and `@wirecat/cli-base` 0.117.0.** cli-base's command vocabulary has - the tracker's nouns and cli-core's tracker commands follow it, so a tracker CLI from `new --from-config` passes - `pnpm lint:commands`. cli-base also knows a Basic sign-in. diff --git a/changes/docs-mcp-ask-runs.md b/changes/docs-mcp-ask-runs.md deleted file mode 100644 index 475aa5f..0000000 --- a/changes/docs-mcp-ask-runs.md +++ /dev/null @@ -1,5 +0,0 @@ -### Added - -- **A new CLI's README says that over MCP `ask` does not ask.** A CLI with an api group gets one paragraph beside - the MCP setup: the agent runs the API's writes and deletes, each one is kept in `runs list`, and - `config set permissions.api readonly` or `permissions.api. deny` stops them for a profile. diff --git a/changes/feat-tracker-graphql.md b/changes/feat-tracker-graphql.md deleted file mode 100644 index 7904779..0000000 --- a/changes/feat-tracker-graphql.md +++ /dev/null @@ -1,14 +0,0 @@ -### Added - -- **`new --spec graphql` makes the api group from a GraphQL schema.** With `--spec-url` (or a config's `spec.from`), - `new` asks the endpoint for its schema by introspection, as `pnpm spec:sync` does later, and `pnpm generate` makes - one command of each query and mutation. A GraphQL schema names no sign-in, so the header the key travels in is - `auth` in `scripts/generate.ts`. -- **A `tracker` category.** `new --from-config` with `category: "tracker"` and a `source` mounts cli-core's tracker - commands (`sync`, `issues`, `projects`, `teams`…) over `trackerSourceFromManifest`, with a test that checks the - source against the generated API and syncs through the CLI over a fake of the schema. - -### Changed — may break callers - -- **cli-core 0.697.0**, which has the tracker category, `trackerSourceFromManifest` and the - GraphQL executor. diff --git a/changes/fix-attio-pilot-gaps.md b/changes/fix-attio-pilot-gaps.md deleted file mode 100644 index dde3464..0000000 --- a/changes/fix-attio-pilot-gaps.md +++ /dev/null @@ -1,18 +0,0 @@ -### Fixed - -- **`new --from-config` with `auth.verify` makes a CLI without the template's sample.** `src/context.ts`, - `src/program.ts`, the test harness and `api`, `mcp` and `run-scope` tests reach the API and its fake, and the - sample's files are left out; before, they imported `src/sample/`, and `remove-sample` refused the CLI until about 30 - lines were rewritten by hand. The hosts an OAuth sign-in in the description reaches, such as `app.attio.com`, join - `hosts`, so `lint:commands` no longer stops on them. -- **A function in a config's `source` stops `pnpm generate`** and names where it is, instead of being dropped - silently when the source is written out as JSON. -- **The seed's sync test reads the CRM's rows from `crmManifestFake`**, which pages them to their end. Over - `fakeServiceApi`, every page of an offset list held a row, so a sync read until its budget ran out and the test - timed out (382 pages in the Attio pilot). - -### Added - -- **`auth.verify.active`**: the field of the check's answer that must be `true`, for a service that answers a revoked - key with 200 and `active: false`, as Attio does. `session start` then says to sign in again, not `provider_error`. -- **A config with `source.users` mounts `users list|show`**, read live from the CRM. diff --git a/package.json b/package.json index 5d40da1..49da7ba 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@wirecat/cli-template", - "version": "0.29.0", + "version": "0.30.0", "description": "Start a new WireCat CLI: a working skeleton on cli-base and cli-core, copied by new and kept current by upgrade", "license": "Apache-2.0", "author": "Viacheslav Ptsarev", diff --git a/src/version.ts b/src/version.ts index ebff8e0..0edbe40 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = "0.29.0" +export const VERSION = "0.30.0"