From 928041eaae14013c2964432d83bea7d893bc99f0 Mon Sep 17 00:00:00 2001 From: leemour Date: Fri, 27 Nov 2026 04:18:58 +0100 Subject: [PATCH] chore(deps)!: build on cli-core 2.0.0 cli-core 2.0.0 (#3374) renames agent refs to agent and sender bot refs to bot:, and moves the shared store to version 78 (minCompatible 78), so every WireCat CLI moves to it the same day. b24 has no agent or sender bot refs of its own; only the pin changes. The 1.3.0 fragment no longer names a version the same release supersedes. BREAKING CHANGE: after the first run the store is at version 78 and only tools on cli-core 2.0 open it; an agent author's type is "agent". Co-Authored-By: Claude Opus 5.5 --- changes/chore-cli-core-2.0.md | 6 ++++++ changes/refactor-cli-core-1.3-session.md | 3 +-- package.json | 2 +- pnpm-lock.yaml | 10 +++++----- 4 files changed, 13 insertions(+), 8 deletions(-) create mode 100644 changes/chore-cli-core-2.0.md diff --git a/changes/chore-cli-core-2.0.md b/changes/chore-cli-core-2.0.md new file mode 100644 index 0000000..50db7f5 --- /dev/null +++ b/changes/chore-cli-core-2.0.md @@ -0,0 +1,6 @@ +### Changed — may break callers + +- **b24 is built on cli-core 2.0.0.** The first run moves the store to version 78, and after that only tools on + cli-core 2.0 open it: upgrade every WireCat CLI and WireCat Desktop on this computer the same day, with `serve`, + `mcp` and syncs stopped. The migration keeps a rollback copy first. In the JSON output, the `type` of an agent + author (`author`, `created_by`, `confirmed_by`, `decided_by`) is `"agent"` where it was `"bot"`. diff --git a/changes/refactor-cli-core-1.3-session.md b/changes/refactor-cli-core-1.3-session.md index 1da0d62..2d53b84 100644 --- a/changes/refactor-cli-core-1.3-session.md +++ b/changes/refactor-cli-core-1.3-session.md @@ -1,7 +1,6 @@ ### Changed — may break callers -- **b24 is built on cli-core 1.3.0.** The store moves to version 77 on its first run, and tools on cli-core 1.0 still - open it. The first help screen names `b24 session list`. +- The first help screen names `b24 session list`. - **`session list` rows have `state`**: `saved`, `missing` or `unknown`, as in the other WireCat CLIs. A profile whose sign-in cannot be read stays `signed_in: null` and keeps its `error`. - **`session start --credential-storage` with another value** says which value it got: diff --git a/package.json b/package.json index a6d29be..16493f4 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,7 @@ "docs:spell": "cspell lint --config cspell.json --no-progress --no-summary README.md SECURITY.md CHANGELOG.md AGENTS.md CLAUDE.md 'docs/*.md' 'skills/**/*.md'" }, "dependencies": { - "@wirecat/cli-core": "1.3.0", + "@wirecat/cli-core": "2.0.0", "commander": "15.0.0", "valibot": "1.5.0" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8aa33e4..18b7c2d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -13,8 +13,8 @@ importers: .: dependencies: '@wirecat/cli-core': - specifier: 1.3.0 - version: 1.3.0(@wirecat/cli-base@1.0.0(commander@15.0.0)(esbuild@0.28.2)(typescript@7.0.2)(vitest@5.0.5))(commander@15.0.0)(typescript@7.0.2)(zod@4.6.7) + specifier: 2.0.0 + version: 2.0.0(@wirecat/cli-base@1.0.0(commander@15.0.0)(esbuild@0.28.2)(typescript@7.0.2)(vitest@5.0.5))(commander@15.0.0)(typescript@7.0.2)(zod@4.6.7) commander: specifier: 15.0.0 version: 15.0.0 @@ -1189,8 +1189,8 @@ packages: '@wirecat/cli-core-sqlite@1.1.0': resolution: {integrity: sha512-GpGlh/dAIX/nblBYCdT6DfWSLFxav9mxxeELQAfEuw+QZdT9unKxbi5xa02s/s4JS1P7n0PQx2sCABj4FlMRNw==} - '@wirecat/cli-core@1.3.0': - resolution: {integrity: sha512-tCRgrnXf2YXNkRLFqRHf8iHcm6v1G4D2jn7coSsmqobmOqJvALPOvCiWpoPlVYGprIkXC4Twp+rR367Md2XULg==} + '@wirecat/cli-core@2.0.0': + resolution: {integrity: sha512-aqtcwHKoOq1UKShAjRrLFm9DwWlL8IynXGiP8h4RmuyW/ln7ZD9uxTA19zIiKHGpsPDGqmVQ2l8Jmkp7CM5qtw==} engines: {node: ^22.16.0 || >=24} hasBin: true peerDependencies: @@ -3303,7 +3303,7 @@ snapshots: '@wirecat/cli-core-sqlite@1.1.0': {} - '@wirecat/cli-core@1.3.0(@wirecat/cli-base@1.0.0(commander@15.0.0)(esbuild@0.28.2)(typescript@7.0.2)(vitest@5.0.5))(commander@15.0.0)(typescript@7.0.2)(zod@4.6.7)': + '@wirecat/cli-core@2.0.0(@wirecat/cli-base@1.0.0(commander@15.0.0)(esbuild@0.28.2)(typescript@7.0.2)(vitest@5.0.5))(commander@15.0.0)(typescript@7.0.2)(zod@4.6.7)': dependencies: '@anthropic-ai/sdk': 1.3.0(zod@4.6.7) '@bomb.sh/tab': 0.0.22(commander@15.0.0)