From 59ea5b756741133208bd87675feef8edd58dff1f Mon Sep 17 00:00:00 2001 From: leemour Date: Fri, 27 Nov 2026 02:15:52 +0100 Subject: [PATCH 1/2] chore(deps)!: adopt cli-core 2.0.0 cli-core 2.0.0 (#3374) moves the shared store to version 78: AI agents become agent: with type agent, sender bots become bot:, and minCompatible rises to 78, so every WireCat CLI bumps the same day. linear has no agent or sender-bot refs of its own, so no code changes. cli-core #3365 marked the session commands as cli-core's own, so the MCP catalogue pin no longer lists session status and session list, and the first help screen now lists session list. The family audit compares linear's fact and memory schemas with drive-cli 0.79.0 and cli-memo 0.154.0 from npm, still on cli-core 1.x, whose author type says bot where 2.0 says agent. Two dated differences cover that until both release on 2.0. Co-Authored-By: Claude Opus 5.5 --- changes/chore-cli-core-2.0.md | 8 ++++++++ contracts/help.snap | 1 + contracts/mcp-catalogue.json | 2 -- lint/audit-differences.json | 14 ++++++++++++++ package.json | 2 +- pnpm-lock.yaml | 10 +++++----- 6 files changed, 29 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..b27d0ae --- /dev/null +++ b/changes/chore-cli-core-2.0.md @@ -0,0 +1,8 @@ +### Changed — may break callers + +- **linear is built on cli-core 2.0.0.** After its first run the shared store is at version 78, and only tools on + cli-core 2.0 open it: upgrade every WireCat CLI on this computer together. In the store, AI agents are now + `agent:` with type `agent` (before `bot:` and `bot`), and sender bots are `bot:` (before + `sender-bot:`). The migration keeps a rollback copy first. +- **`session status` and `session list` are cli-core's own commands now.** They work as before. The MCP snapshot + `contracts/mcp-catalogue.json` no longer lists them as this CLI's own, and `linear --help` now lists `session list`. diff --git a/contracts/help.snap b/contracts/help.snap index 24ec7eb..e8f8cde 100644 --- a/contracts/help.snap +++ b/contracts/help.snap @@ -20,6 +20,7 @@ Works with: ydisk Yandex Disk folders as local text, searchable with your other WireCat data wordpress WordPress posts and pages, searchable with your other WireCat data + linear session list your profiles and their logged-in accounts Next: linear commands every command, by section linear help options output, offline, timeouts, dry run For agents: linear skill show rules and the discovery loop diff --git a/contracts/mcp-catalogue.json b/contracts/mcp-catalogue.json index 115fb9a..e00803c 100644 --- a/contracts/mcp-catalogue.json +++ b/contracts/mcp-catalogue.json @@ -1,6 +1,4 @@ { - "session status": "read", - "session list": "read", "api administrable-teams": "read", "api agent-activities": "read", "api agent-activity": "read", diff --git a/lint/audit-differences.json b/lint/audit-differences.json index f13887c..cbe30be 100644 --- a/lint/audit-differences.json +++ b/lint/audit-differences.json @@ -5,5 +5,19 @@ "target": "reason account-remove.unknown-profile=account-rename.unknown-profile", "reason": "whatsapp-cli 0.46.0, on cli-core 0.715.0, registers account-rename.unknown-profile with account-remove's message; cli-core 0.717.0 (#3189) gives profile.unknown, so drop this once whatsapp-cli bumps", "review_after": "2026-12-05" + }, + { + "group": "linear", + "rule": "same-entity-schema", + "target": "entity fact", + "reason": "cli-core 2.0.0 (#3374) names an AI agent author agent, not bot, in its output schemas; drive-cli 0.79.0 and cli-memo 0.154.0 on npm are still on cli-core 1.x, so drop this once both release on cli-core 2.0", + "review_after": "2026-12-04" + }, + { + "group": "linear", + "rule": "same-entity-schema", + "target": "entity memory", + "reason": "cli-core 2.0.0 (#3374) names an AI agent author agent, not bot, in its output schemas; drive-cli 0.79.0 and cli-memo 0.154.0 on npm are still on cli-core 1.x, so drop this once both release on cli-core 2.0", + "review_after": "2026-12-04" } ] diff --git a/package.json b/package.json index 205f7d7..3fd3d10 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,7 @@ }, "dependencies": { "@wirecat/cli-base": "1.0.0", - "@wirecat/cli-core": "1.0.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 c3a5b8f..0a0358a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -16,8 +16,8 @@ importers: specifier: 1.0.0 version: 1.0.0(commander@15.0.0)(esbuild@0.28.2)(typescript@7.0.2)(vitest@5.0.5) '@wirecat/cli-core': - specifier: 1.0.0 - version: 1.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) + 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 @@ -1213,8 +1213,8 @@ packages: '@wirecat/cli-core-sqlite@1.1.0': resolution: {integrity: sha512-GpGlh/dAIX/nblBYCdT6DfWSLFxav9mxxeELQAfEuw+QZdT9unKxbi5xa02s/s4JS1P7n0PQx2sCABj4FlMRNw==} - '@wirecat/cli-core@1.0.0': - resolution: {integrity: sha512-0avQTqu3FAFKE0s+8Pz1Up/TMHTYqCdDn37lcZmkH30sMCMrgJwHzoG4Q0fjVzPsB85u+zBVHHhtQjF/eSTpuw==} + '@wirecat/cli-core@2.0.0': + resolution: {integrity: sha512-aqtcwHKoOq1UKShAjRrLFm9DwWlL8IynXGiP8h4RmuyW/ln7ZD9uxTA19zIiKHGpsPDGqmVQ2l8Jmkp7CM5qtw==} engines: {node: ^22.16.0 || >=24} hasBin: true peerDependencies: @@ -3364,7 +3364,7 @@ snapshots: '@wirecat/cli-core-sqlite@1.1.0': {} - '@wirecat/cli-core@1.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)': + '@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) From 7f066f4d4006de3e4fefd60c9ddfdf11fbccd6b3 Mon Sep 17 00:00:00 2001 From: leemour Date: Fri, 27 Nov 2026 02:17:41 +0100 Subject: [PATCH 2/2] chore(release): live check of the cli-core 2.0 code Co-Authored-By: Claude Opus 5.5 --- docs/dev/live-checks.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/dev/live-checks.txt b/docs/dev/live-checks.txt index 6d8ec38..11e89ab 100644 --- a/docs/dev/live-checks.txt +++ b/docs/dev/live-checks.txt @@ -9,3 +9,4 @@ 0.4.1 d91193dc075ea7a74d8cf1352b85260aea1754a3 2026-11-25 scripts/live.sh v2:6d00d711184eeaaa05508a562cb1ec2d16ba75f394c2f2104d10ac727afa8de7 0.4.1 c6eff4256c29b6ed8ec39e0d3c6a8a0442f5038e 2026-11-25 scripts/live.sh v2:1cc684062a8fe9d45d7c965a08aba8b5291a9b676b74bd8b6feebad327e0755a 0.5.0 779119ca5907dc2f320db5754a7240a330a814a8 2026-11-25 scripts/live.sh v2:1aa60436cdf7b2b75fe5b7b1aa6e0d91649db266cc281c9c1b24df0eb0410c42 +0.5.0 59ea5b756741133208bd87675feef8edd58dff1f 2026-11-27 scripts/live.sh v2:ccefad8ce293e46fc307fb1ce4966e978a88169d9edf0d52c8ca26e07a0c6701