Skip to content

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

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

Conformance

  • Live check: 0.7.0 c2745a5dd8176700711e581ad7b0744a60ac2433 2026-11-25 scripts/live.sh v2:1926874a8a6e066d98b0504b12b1a5f489aaaec129e123a6ae20b2c8bd745f31

leemour and others added 4 commits November 24, 2026 03:48
The release/1.0 branch parity builds against cli-core 1.0.

- cli-base 1.0.0-rc.0. cli-core stays at 0.734.0 so the lockfile installs
  from npm; parity swaps in the 1.0 tarball.
- The generated manifest and definitions, and the fake's SchemaNode, come
  from @wirecat/cli-base/codegen/runtime, cli-base 1.0's stable entry.
- config.ts types the API's operations as ManifestOperation. With the
  manifest typed from /codegen/runtime, the inferred type named Binding and
  Confidence, which that entry does not export (TS2883).
- sync --rescan no longer lifts the mass-deletion guard: the comment on
  the leads id pass names sync --allow-deletions instead.
- docs/commands.md shows sync --allow-deletions and store migrate
  --no-backup; the options test runs sync --allow-deletions, and the test
  matrix lists both.
- A changelog fragment says what 1.0 changes for the owner.

Checked against the cli-core 1.0 tarball: typecheck, lint, build, docs
check, test matrix check and all 261 tests pass (run-scope's hook timed out
at 10 s under load and passed alone).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
cli-core 0.748 (#3309) reads person:<n> and organization:<n> as the copy's record and person:crm:<id> as the CRM's.
Main took this in #31; the 1.0 branch now matches it.

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 its own CI was red.
Pin both to the release candidates now on npm under the `next` tag and
update the lockfile; scripts/one-cli-base.ts still finds one cli-base copy.

cli-base rc.1 makes `@wirecat/cli-base/codegen/runtime` the generators'
default coreImport, so scripts/generate.ts no longer passes it; generate
--check shows the generated files unchanged.

docs/commands.md and contracts/wirecat.json are regenerated: cli-core 1.0
gives `sync` the `--embed` option and one more returned field, words
`--subject` with person:crm:<id> for HubSpot's ids, and the manifest's
setup entry gains `setupFrom` as in the other CLIs.

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

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The draft PR conflicted with main, so GitHub started no pull_request
workflows for it. main brought hubspot 0.7.0, cli-core 0.748.0, meaning
search and the deals closed-day fix. A merge, not a rebase: other
worktrees have release/1.0 checked out, and the PR is squash-merged anyway.

- package.json: keeps cli-core 1.0.0-rc.0 and cli-base 1.0.0-rc.1, takes
  main's version 0.7.0 and cli-testing 0.7.4.
- pnpm-lock.yaml: rebuilt with pnpm install from the merged package.json;
  scripts/one-cli-base.ts still finds one cli-base copy.
- docs/dev/test-matrix.md: both sides added rows; the totals line counts
  them all (847 tested, 63 tested in cli-core, 663 options).

Typecheck, lint, docs:check and generate:check pass, and so does main's
new src/crm/closed-day.test.ts on cli-core 1.0.0-rc.0.

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.127.0 ⏵ 1.0.098100100 +196 +170
Updated@​wirecat/​cli-core@​0.748.0 ⏵ 1.0.097 +1100100 +19670

View full report

leemour and others added 2 commits November 25, 2026 12:09
hubspot now pins @wirecat/cli-core 1.0.0 and @wirecat/cli-base 1.0.0, the
final releases, in place of 1.0.0-rc.0 and 1.0.0-rc.1. main has not moved
since this branch merged it, so no rebase was needed.

The changelog fragment names 1.0.0 and stays under "Changed — may break
callers": the store moves to version 73 and only cli-core 1.0 tools open it.

Checked locally: typecheck, lint, generate:check, docs:check, peers check,
one-cli-base and the family audit (0 new findings that block).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@leemour
leemour marked this pull request as ready for review November 25, 2026 11:19
@leemour
leemour merged commit 4fd616f into main Nov 25, 2026
17 of 18 checks passed
@leemour
leemour deleted the release/1.0 branch November 25, 2026 11:19
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