Skip to content

feat!: adopt cli-core 1.0 and cli-base 1.0 - #993

Merged
leemour merged 5 commits into
mainfrom
release/1.0
Nov 25, 2026
Merged

leemour merged 5 commits into
mainfrom
release/1.0

Conversation

@leemour

@leemour leemour commented Nov 25, 2026

Copy link
Copy Markdown
Member

The adoption of cli-core 1.0 and cli-base 1.0 (stable core and experimental parts, store version 73). cli-core parity builds this branch against cli-core 1.0 (cli-core#3288 and its successor), so this draft stays open until cli-core 1.0.0 is on npm. Then the branch moves to the published version and merges, and this CLI releases with the rest in one batch.

Do not merge before cli-core 1.0.0: the store migrates to version 73, which 0.x tools refuse.

🤖 Generated with Claude Code

leemour and others added 5 commits November 24, 2026 03:11
- cli-base 1.0.0-rc.0 (exact). cli-core stays on the npm 0.714.0 so the
  lockfile installs; parity swaps in the 1.0 build.
- The bot generator writes the manifest against
  @wirecat/cli-base/codegen/runtime, and the code that runs imports
  ManifestOperation and SchemaNode from there.
- Override becomes ModelOverride (the old name is a deprecated alias).
- docs/mcp.md lists schedule exec among the commands kept off MCP
  (cli-core 0.736.0), and docs/commands.md is regenerated from the 1.0
  command tree (store migrate --no-backup, search --like).
- Changelog fragment for store version 73, the MCP path guard and
  schedule exec.

Checked against the cli-core 1.0.0-rc.0 tarball: typecheck, lint, build and
all 1649 tests (one worker; the timeouts pass with a longer timeout).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
….0.0-rc.1

release/1.0 built against a packed cli-core 1.0 tarball, while package.json
still named cli-core 0.714.0 and cli-base 1.0.0-rc.0, so the branch's own CI
was red. Both release candidates are now on npm under the next tag, so the
pins point at them and the lockfile follows.

scripts/bot/generate.ts no longer passes coreImport to the manifest
generator: cli-base rc.1 defaults it to the same
@wirecat/cli-base/codegen/runtime, and pnpm generate leaves every file as it
was.

The changelog fragment changes/release-1.0.md already describes the move to
cli-core 1.0 and the store migration to version 73.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
contracts/help.snap: cli-core 1.0.0-rc.0 lists attio among the WireCat
tools in --help, so the help snapshot gains that one line.

contracts/upgrade.json: the first store migrate after an upgrade now
also prints cli-core 1.0's notice that the store moved to schema 73. The case
takes the notice as optional, the same pattern the other CLIs' upgrade
contracts use, and still requires "4 terms".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
cli-core 1.0.0-rc.0 adds store migrate --no-backup and search conversations
--like, and test:matrix:check failed on both: no test and no reason.

Both are shared cli-core commands max mounts unchanged, so the reasons point
at cli-core's tests (store-maintenance.test.ts for store migrate, and
embeddings.test.ts, which drives the like search with a stand-in model).
test-matrix-untested.ts is at biome's 1000-line cap, so the rows go in
test-matrix-shared-1000.ts, chained onto the 0.706.0 file through the same
import, as the earlier shared files do. docs/dev/test-matrix.md gets the two
rows and the new totals (251 untested, 795 options).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Moves the pins from the release candidates (cli-core 1.0.0-rc.0,
cli-base 1.0.0-rc.1) to the final 1.0.0 of both. The lockfile follows;
the generated command reference and manifest are unchanged.

The changelog fragment names 1.0.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@leemour
leemour marked this pull request as ready for review November 25, 2026 11:34
@leemour
leemour merged commit d7b6346 into main Nov 25, 2026
13 checks passed
@leemour
leemour deleted the release/1.0 branch November 25, 2026 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant