diff --git a/changes/chore-cli-base-account-remove.md b/changes/chore-cli-base-account-remove.md new file mode 100644 index 0000000..6bb2a70 --- /dev/null +++ b/changes/chore-cli-base-account-remove.md @@ -0,0 +1,6 @@ +### Fixed + +- **WireCat Desktop can sign a beeline account out or remove it, and shows when the calls last synced.** The + manifest now carries `accountRemove` (`session end`, and `account remove` keeping or deleting the calls) and the + last-sync query of `meetings sync`, written by cli-base 0.119.0. It needs WireCat Desktop 0.7.3 or newer: an older + Desktop refuses the manifest, so it cannot add or update beeline until it updates itself. diff --git a/contracts/wirecat.json b/contracts/wirecat.json index f928adf..e5b3a20 100644 --- a/contracts/wirecat.json +++ b/contracts/wirecat.json @@ -743,7 +743,15 @@ "--record", "--json" ], - "last": null, + "last": [ + "runs", + "list", + "command:\"meetings sync\" status:success", + "--limit", + "50", + "--no-record", + "--json" + ], "lastShape": "runs", "what": "calls", "note": null @@ -761,6 +769,44 @@ "env": "BEELINE" }, "settings": null, + "accountRemove": { + "signOut": [ + "{profile}", + "session", + "end", + "--record", + "--json" + ], + "remove": { + "minVersion": "0.0.0", + "keepData": [ + "{profile}", + "account", + "remove", + "--keep-data", + "--record", + "--json" + ], + "deleteData": [ + "{profile}", + "account", + "remove", + "--delete-data", + "--record", + "--json" + ], + "dryRun": "--dry-run", + "confirm": "--yes" + }, + "removes": [ + "signIn" + ], + "keeps": [ + "settings", + "data", + "listed" + ] + }, "meetings": { "provider": "beeline", "show": [ diff --git a/package.json b/package.json index cddb70c..8b1ec25 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,7 @@ "docs:spell": "cspell lint --config cspell.json --no-progress --no-summary README.md README.ru.md SECURITY.md CHANGELOG.md AGENTS.md CLAUDE.md 'docs/*.md' 'skills/**/*.md'" }, "dependencies": { - "@wirecat/cli-base": "0.117.0", + "@wirecat/cli-base": "0.119.0", "@wirecat/cli-core": "0.674.0", "commander": "15.0.0", "valibot": "1.5.0" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 55aff95..07fd0ce 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -13,11 +13,11 @@ importers: .: dependencies: '@wirecat/cli-base': - specifier: 0.117.0 - version: 0.117.0(commander@15.0.0)(esbuild@0.28.2)(typescript@7.0.2)(vitest@5.0.5) + specifier: 0.119.0 + version: 0.119.0(commander@15.0.0)(esbuild@0.28.2)(typescript@7.0.2)(vitest@5.0.5) '@wirecat/cli-core': specifier: 0.674.0 - version: 0.674.0(@wirecat/cli-base@0.117.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) + version: 0.674.0(@wirecat/cli-base@0.119.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 @@ -1155,8 +1155,8 @@ packages: '@wasm-audio-decoders/opus-ml@0.0.3': resolution: {integrity: sha512-SEeTmk0eb3q5etJA/NHCRWW6BivTx9tqvNTmG0kg2ynuATEQRUZnwQE6Ibvl1BBvqIGHqI57+qyJMWmJBwb5XQ==} - '@wirecat/cli-base@0.117.0': - resolution: {integrity: sha512-EvvT9thrZihJc+s2taT1rwww5k1bITBG/7CtucjSMsNi1Y89JRARWVSa94/QR/o7002761+b1v5TXoyMJGFTdg==} + '@wirecat/cli-base@0.119.0': + resolution: {integrity: sha512-1j1es80chzH3O7Lazco3H92v0B70nu8yGdOM9xnUUv7iYBHuD4scTQeOcFadUcdS3K4jSwkhGKYa5vpDqgV3pA==} engines: {node: '>=22'} hasBin: true peerDependencies: @@ -3170,7 +3170,7 @@ snapshots: dependencies: '@wasm-audio-decoders/common': 9.0.7 - '@wirecat/cli-base@0.117.0(commander@15.0.0)(esbuild@0.28.2)(typescript@7.0.2)(vitest@5.0.5)': + '@wirecat/cli-base@0.119.0(commander@15.0.0)(esbuild@0.28.2)(typescript@7.0.2)(vitest@5.0.5)': dependencies: '@valibot/to-json-schema': 1.8.0(valibot@1.5.0(typescript@7.0.2)) cli-table3: 0.6.5 @@ -3190,7 +3190,7 @@ snapshots: '@wirecat/cli-core-sqlite@1.1.0': {} - '@wirecat/cli-core@0.674.0(@wirecat/cli-base@0.117.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@0.674.0(@wirecat/cli-base@0.119.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) @@ -3200,7 +3200,7 @@ snapshots: '@valibot/to-json-schema': 1.8.0(valibot@1.5.0(typescript@7.0.2)) '@wasm-audio-decoders/flac': 0.2.11 '@wasm-audio-decoders/ogg-vorbis': 0.1.20 - '@wirecat/cli-base': 0.117.0(commander@15.0.0)(esbuild@0.28.2)(typescript@7.0.2)(vitest@5.0.5) + '@wirecat/cli-base': 0.119.0(commander@15.0.0)(esbuild@0.28.2)(typescript@7.0.2)(vitest@5.0.5) '@wirecat/cli-core-onnx': 1.2.0 '@wirecat/cli-core-sqlite': 1.1.0 '@xmldom/xmldom': 0.9.12