Skip to content

Commit cf6933a

Browse files
grimmerkclaude
andcommitted
docs(multi-account): remove is non-destructive — say so everywhere
Removing an account only unregisters it: folder, login, and session history stay on disk, and re-adding the same name reattaches them (verified during #124 testing). Noted in the README CLI table, the Remove button tooltip, and the post-remove notice. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017kCK4t5JSVynVZxGcrTGGp
1 parent c68fb8f commit cf6933a

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ Tab completion included (zsh): `claude <TAB>` completes account names; `codev ac
7575
| `codev account show` (`preview`) | Dry-run print of the generated `accounts.sh` |
7676
| `codev account install` / `uninstall` | Add / remove the `~/.zshrc` source block |
7777

78+
> **Remove is non-destructive.** It only unregisters: the account's folder (`~/.claude-<name>`), login, and session history all stay on disk. `codev account add <name>` (or the UI) later reattaches everything — identity and sessions reappear immediately, no re-login needed.
79+
7880
The `codev` command runs the CLI **bundled inside CodeV.app** (`ELECTRON_RUN_AS_NODE`) — no system Node, no sudo, no PATH edits. CodeV refreshes `accounts.sh` on every launch, so moving or renaming the app self-heals. (Not available in MAS builds — sandboxed.)
7981

8082
**In the CodeV UI:**

src/popup.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,9 @@ const PopupDefaultExample = ({
181181
runAccountOp(async () => {
182182
const r = await window.electronAPI.removeAccount(label);
183183
if (r.ok) {
184-
setAccountsNotice(`Removed "${label}" (its folder stays on disk).`);
184+
setAccountsNotice(
185+
`Removed "${label}" — its folder, login and sessions stay on disk; add "${label}" back anytime to reattach them.`,
186+
);
185187
await refreshAccounts();
186188
} else {
187189
setAccountsNotice('');
@@ -829,7 +831,7 @@ const PopupDefaultExample = ({
829831
style={{ ...smallButtonStyle, color: THEME.button.warning }}
830832
onClick={() => handleRemoveAccount(a.label)}
831833
disabled={accountsBusy}
832-
title="Unregister (keeps its folder on disk)"
834+
title="Unregister only — folder, login & sessions stay on disk; re-add the same name to reattach"
833835
>
834836
Remove
835837
</button>

0 commit comments

Comments
 (0)