Skip to content

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

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

leemour wants to merge 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 added a commit that referenced this pull request Nov 25, 2026
Brings main's 9 commits (drive 0.75.0 through 0.77.0: OCR of scans and
pictures, session status, folders list, cli-core 0.750.0 fixes) into the 1.0
branch, so draft PR #405 no longer conflicts and its CI runs.

Conflicts: package.json keeps the 1.0 pins (cli-core 1.0.0-rc.0, cli-base
1.0.0-rc.1) over main's cli-core 0.750.0 and cli-base 0.132.0, since rc.0
contains cli-core up to 0.753.0. pnpm-lock.yaml was regenerated with
`pnpm install`, not merged by hand.

Checked locally: typecheck, lint, docs:check, generate:check, version:check,
lint:commands, contracts:check and contracts:upgrade pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
leemour and others added 4 commits November 25, 2026 11:04
- Import CatalogEntry, CatalogInput, CatalogQuery, AddedSource,
  AddedSourceInput, LinkInput and IMPORTED_DOCUMENT_QUERY from
  @wirecat/cli-core/store/areas; the store entry no longer re-exports them.
- Codegen types (ManifestOperation, SchemaNode, SecurityScheme, identifier)
  come from @wirecat/cli-base/codegen/runtime, cli-base 1.0's stable entry;
  the generator writes that import too (coreImport).
- Mark the Drive inputs that name no local file with notLocalPaths: the
  <file> of files, comments, permissions, revisions and activities, the
  [folder] of catalog tree (cli-core marks only catalog's <file>), and the
  command path of commands. Serve passes them as written and the MCP path
  guard skips them; files upload <path>, --output and --body-file stay
  checked local paths.
- Regenerated docs/commands.md and contracts/wirecat.json for cli-core
  1.0's files sheets|documents create.
- Changelog fragment changes/release-1.0.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
cli-core 1.0 mounts files sheets create and files documents create unless
the CLI passes creates: false. Google Drive names a file by the id it
hands out, so a path the user types cannot name a new file, and these
commands could not work here. Regenerated docs/commands.md and
contracts/wirecat.json without them.

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

release/1.0 was built against a packed cli-core 1.0 tarball and still named
cli-core 0.735.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>
Pins @wirecat/cli-core and @wirecat/cli-base to 1.0.0, the final releases
that replace 1.0.0-rc.0 and 1.0.0-rc.1. The branch is rebased on main, so
the "was" version in the changelog fragment now names main's cli-core
0.750.0, and the fragment names cli-base 1.0.0 instead of the rc.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e rc's 73

The final cli-core 1.0.0 adds sender bots at store version 74; the
fragment still named the rc's 73.

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