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/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 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)