Skip to content

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

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

leemour merged 6 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 6 commits November 25, 2026 11:05
- cli-base 1.0.0-rc.0 (exact). cli-core stays on the npm 0.734.0 so the
  lockfile installs; parity swaps in the 1.0 build.
- The bot generator writes its manifest and definitions against
  @wirecat/cli-base/codegen/runtime, the stable entry, and the code that
  runs imports ManifestOperation, SchemaNode and identifier from there.
- Override becomes ModelOverride (the old name is a deprecated alias).
- Changelog fragment for store version 73 and the MCP path guard.

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

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.734.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 and
  definitions generators: cli-base rc.1 defaults it to the same
  @wirecat/cli-base/codegen/runtime, and bot:generate writes no file.
- docs/commands.md is regenerated from the command tree: store migrate now
  takes --no-backup, and a search hit has one more field.

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/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>
…no-backup a reason

cli-core 1.0.0-rc.0 no longer offers schedule exec over MCP and adds store
migrate --no-backup, and CI's check failed on both.

- docs/mcp.md: "Commands the server leaves out" gains schedule exec, and the
  ask-by-default list names schedule run alone, so check-agent-docs.ts
  passes.
- scripts/test-matrix-untested.ts: store migrate --no-backup is a shared
  cli-core command tg mounts unchanged, so its reason points at cli-core's
  store-maintenance.test.ts. docs/dev/test-matrix.md gets the row and the
  new totals (155 untested, 2021 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, after rebasing
release/1.0 onto main. The lockfile follows; the generated command
reference and manifest are unchanged.

The rebase kept main's wording of the schedule exec line in docs/mcp.md,
which says the same as the branch's.

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 68cbde3 into main Nov 25, 2026
14 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