From 39a2339345af78288d38c271ae624a92db155965 Mon Sep 17 00:00:00 2001 From: leemour Date: Tue, 17 Nov 2026 20:25:33 +0100 Subject: [PATCH] chore(release): 0.28.0 bin/release: 0.27.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.27.0 recorded the checks; this one changes only its number. --- CHANGELOG.md | 26 ++++++++++++++++++++++++++ changes/feat-from-config-wiring.md | 23 ----------------------- package.json | 2 +- src/version.ts | 2 +- 4 files changed, 28 insertions(+), 25 deletions(-) delete mode 100644 changes/feat-from-config-wiring.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 93793a6..36771a2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,32 @@ Notable changes to `@wirecat/cli-template`. One section per version, newest firs +## 0.28.0 — 17.11.2026 + +### Added + +- **A CLI made with `--from-config` signs in and syncs from its config.** `pnpm generate` writes the config's token + check, CRM source and hooks into `src/generated/wirecat-config.ts`. With `auth.verify`, `session start` checks a + token with that operation and keeps the account's id; with a `source`, `src/commands/crm.ts` mounts cli-core's CRM + commands over `crmSourceFromManifest`, the store keyed by that account ([kit reference](kit/README.md#new-name)). +- **Its tests cover that wiring.** `src/commands/session.test.ts` signs in against a fake of the API built from its + description. `src/crm-contracts.test.ts` runs cli-core's `crmSourceContract` over `crmManifestFixture` and + `crmSyncContract` over the store. `lint/contract-exceptions.json` excepts `crmWriteContract` with its reason, as the + source only reads. The CLI says what `sync` copies in (`syncs`). On a fresh CLI `cli-dev ready` verifies every row + but two: the contracts row is partial for that exception, and the live check is the owner's to run. +- **`new --from-config` refuses a CRM `source` without `auth: { preset: "token", verify }`**, the only sign-in that + names the account the store keeps the rows under; `pnpm source:check` checks that `auth.verify` is a read. + +### Changed — may break callers + +- **The sample's `session` tests moved from `src/comments.test.ts` to `src/commands/session.test.ts`**, so a CLI can + replace them along with `session.ts`. + +### Fixed + +- **A CLI made with `--spec` passes `generate:check` after the printed steps.** The first `pnpm generate` writes the + skill's parts, which the commands page lists only from the second; `new` now prints a last `pnpm generate`. + ## 0.27.0 — 17.11.2026 ### Added diff --git a/changes/feat-from-config-wiring.md b/changes/feat-from-config-wiring.md deleted file mode 100644 index e0aeda6..0000000 --- a/changes/feat-from-config-wiring.md +++ /dev/null @@ -1,23 +0,0 @@ -### Added - -- **A CLI made with `--from-config` signs in and syncs from its config.** `pnpm generate` writes the config's token - check, CRM source and hooks into `src/generated/wirecat-config.ts`. With `auth.verify`, `session start` checks a - token with that operation and keeps the account's id; with a `source`, `src/commands/crm.ts` mounts cli-core's CRM - commands over `crmSourceFromManifest`, the store keyed by that account ([kit reference](../kit/README.md#new-name)). -- **Its tests cover that wiring.** `src/commands/session.test.ts` signs in against a fake of the API built from its - description. `src/crm-contracts.test.ts` runs cli-core's `crmSourceContract` over `crmManifestFixture` and - `crmSyncContract` over the store. `lint/contract-exceptions.json` excepts `crmWriteContract` with its reason, as the - source only reads. The CLI says what `sync` copies in (`syncs`). On a fresh CLI `cli-dev ready` verifies every row - but two: the contracts row is partial for that exception, and the live check is the owner's to run. -- **`new --from-config` refuses a CRM `source` without `auth: { preset: "token", verify }`**, the only sign-in that - names the account the store keeps the rows under; `pnpm source:check` checks that `auth.verify` is a read. - -### Changed — may break callers - -- **The sample's `session` tests moved from `src/comments.test.ts` to `src/commands/session.test.ts`**, so a CLI can - replace them along with `session.ts`. - -### Fixed - -- **A CLI made with `--spec` passes `generate:check` after the printed steps.** The first `pnpm generate` writes the - skill's parts, which the commands page lists only from the second; `new` now prints a last `pnpm generate`. diff --git a/package.json b/package.json index 6eb7cc1..7d9fdc5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@wirecat/cli-template", - "version": "0.27.0", + "version": "0.28.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 03f3ccb..277f816 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = "0.27.0" +export const VERSION = "0.28.0"