Skip to content

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

Draft
leemour wants to merge 6 commits into
mainfrom
release/1.0
Draft

leemour wants to merge 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 4 commits November 24, 2026 03:07
- Codegen types (ManifestOperation, SchemaNode, identifier) come from
  @wirecat/cli-base/codegen/runtime, cli-base 1.0's stable entry; the
  generator writes that import too (coreImport). Regenerating also adds
  the Responses map cli-base's generator writes since 0.109.
- Drop the wcat-bin-name lint override: cli-base 0.127 no longer warns on a
  short bin beside wcat-gcal, and cli-dev lint fails on a stale override.
- sync --allow-deletions <count> (from cli-core 1.0): a test that a full
  list coming back empty is held, and the flag lets it through. The fake
  Google Calendar can now empty its calendars.
- Regenerated docs/commands.md and contracts/wirecat.json.
- Changelog fragment changes/release-1.0.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ts cancelled

The calendar store keeps a removed event and marks it cancelled, so the
test checks the status of each event rather than an empty list. The test
matrix now lists sync --allow-deletions as tested.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
cli-base 1.0.0-rc.0 is on npm under the next tag. cli-core stays on
0.691.0 in package.json until cli-core 1.0 is published: the code on this
branch needs 1.0, so the branch builds only once that bump lands.

Checked against the cli-core 1.0 tarball (33d5d69f0): typecheck, lint,
build, docs:check and test:matrix:check pass; 466 of 467 tests pass. The
one failure gives meetings sync a 7 s budget and runs out of time on a
loaded machine (load about 30 on 24 cores); it passes on its own.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The held step compared only the number of events, so a guard that marked
them cancelled at once would still pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@socket-security

socket-security Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​wirecat/​cli-base@​0.109.0 ⏵ 1.0.0-rc.190 -7100100 +196 +170
Updated@​wirecat/​cli-core@​0.691.0 ⏵ 1.0.0-rc.097100100 +19670

View full report

leemour and others added 2 commits November 25, 2026 04:37
….0.0-rc.1

release/1.0 was built against a packed cli-core 1.0 tarball and still named
cli-core 0.691.0 and cli-base 1.0.0-rc.0, so its own CI installed the wrong
packages. Pin the release candidates now on npm under the `next` tag.

cli-base rc.1 makes `@wirecat/cli-base/codegen/runtime` the default
`coreImport` of the code generator, so scripts/generate.ts no longer passes
it; `pnpm generate:check` reports the generated files unchanged.

The changelog fragment names cli-base 1.0.0-rc.1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e lint baseline entry

CI on release/1.0 failed two checks after the move to the published
cli-core 1.0.0-rc.0:

- contracts:check: `gcal --help` now lists amo, attio, ydisk, wordpress and
  linear under "Works with", from cli-core's own tool list. help.snap is
  updated to match.
- ci:quick (lint:commands): the `meetings people` entry in
  lint/baseline/unknown-verb.json no longer matches a violation, and a stale
  entry fails the lint.

The skipped CI steps were run locally: contracts:upgrade passes with the
runner's per-process limit raised (under this machine's load the seed step
exceeds the 5 s default), security:no-leak, version:check, lint:commands and
docs:check pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
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