Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,32 @@ Notable changes to `@wirecat/cli-template`. One section per version, newest firs

<!-- cspell:words bitrix clawhub gcal katex openclaw smol whatsapp -->

## 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
Expand Down
23 changes: 0 additions & 23 deletions changes/feat-from-config-wiring.md

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const VERSION = "0.27.0"
export const VERSION = "0.28.0"
Loading