@youdie006/swapdex 0.12.1 → 0.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +4 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -104,7 +104,7 @@ swapdex doctor
104
104
 
105
105
  ```
106
106
  claude-code: you@work.com [max] (profile 'work')
107
- codex: you@personal.com (profile 'personal')
107
+ codex: you@personal.com [chatgpt] (profile 'personal')
108
108
  ```
109
109
 
110
110
  The active account is always read from the **live** login, so if you `/login`
@@ -168,7 +168,9 @@ servers, and settings in that file are never touched.
168
168
  - Writes are atomic (temp file created `0600`, then renamed) so an interrupted
169
169
  switch can never leave a half-written credential that bricks the CLI.
170
170
  - Symlinked credential paths and running as root are refused.
171
- - `use` writes a backup of the current login (fsynced, or the switch aborts)
171
+ - `use` writes a backup of the current login (fsynced, or the switch aborts;
172
+ exception: an unreadable/corrupt live file is skipped with a warning - `use`
173
+ is exactly the command that can replace a corrupt login)
172
174
  before overwriting anything, and `swapdex restore` brings it back in one
173
175
  command if the switch was a mistake. The store keeps the last 2 backups per
174
176
  tool, and `use` warns when the outgoing login is not saved as a profile --
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@youdie006/swapdex",
3
- "version": "0.12.1",
3
+ "version": "0.14.0",
4
4
  "description": "Switch between multiple Claude Code, Codex, Gemini, and Antigravity login accounts, locally and safely.",
5
5
  "bin": {
6
6
  "swapdex": "bin/swapdex.js"