Skip to content

feat(account): pbx <profile> account remove - #47

Merged
leemour merged 1 commit into
mainfrom
feat/account-remove
Nov 18, 2026
Merged

leemour merged 1 commit into
mainfrom
feat/account-remove

Conversation

@leemour

@leemour leemour commented Nov 18, 2026

Copy link
Copy Markdown
Member

Task. The owner asked that every WireCat CLI can remove its accounts from Desktop (FIND-2786). pbx had only session end.

What. pbx <profile> account remove --keep-data|--delete-data through cli-core's accountRemoveCommand, the same hooks as beeline-cli: it forgets token:<profile> (the database or SFTP password) and the profile's settings, keeps or deletes the calls. Regenerated docs/commands.md, contracts/wirecat.json, test matrix. Changelog fragment under Added, so the next release is a minor one.

Testing. New integration test in src/calls.test.ts: dry run lists the keyring entry and changes nothing, --keep-data keeps the calls, --delete-data empties the list. pnpm test 191 passed, typecheck, lint, lint:commands, contracts:check, docs:check.

Desktop's catalog still has remove: null for pbx; it needs minVersion set to the release that ships this.

🤖 Generated with Claude Code

…orgets it

WireCat Desktop removes an account with cli-core's account remove, and pbx
had only session end, so its account menu offered sign-out alone. The
command forgets the saved database or SFTP password (token:<profile>) and
the profile's settings, and keeps or deletes its calls in the store. The
password stays valid on the server: pbx cannot revoke it.

Same hooks as beeline-cli's account remove.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@leemour
leemour merged commit 4a8e86a into main Nov 18, 2026
16 checks passed
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