@fibteq/myrel-runner 0.33.0 → 0.34.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.
package/README.md CHANGED
@@ -99,6 +99,28 @@ automatically, with its branch. `myrel-runner worktrees` lists them, `worktrees
99
99
  `worktrees remove <path or branch>` removes one, and `worktrees off` makes threads work in the folder itself again.
100
100
  Read-only tasks (`--access read`) always run in the folder itself.
101
101
 
102
+ ### More than one Claude Code account
103
+
104
+ A thread can run with another Claude Code login than your own, e.g. a work account next to your personal one.
105
+ Each login lives in a config folder of its own, which Claude Code takes from `CLAUDE_CONFIG_DIR`
106
+ ([its own way](https://code.claude.com/docs/en/authentication) to sign in with several accounts):
107
+
108
+ ```sh
109
+ myrel-runner claude add "Work" # a new folder, ~/.myrel-runner/claude/work, then Claude Code's own sign-in
110
+ myrel-runner claude add "Work" --dir ~/.claude-work # or a folder you already signed in with
111
+ myrel-runner claude rename default "Personal" # name your own login (~/.claude) too
112
+ myrel-runner claude list # each login, its folder and whether it is signed in
113
+ myrel-runner claude login "Work" # sign in again, e.g. after its login expired
114
+ myrel-runner claude remove "Work" # forget it; its folder (and login) stays until you delete it
115
+ ```
116
+
117
+ The sign-in is Claude Code's own `claude auth login`: the login stays in that folder, and neither the runner nor
118
+ Myrel ever reads or keeps it. The runner only tells Myrel each account's name, and its usage limits as Claude Code
119
+ reports them in a turn with it. A thread that chose an account runs Claude Code with its folder; its sessions are
120
+ kept apart from your own login's, so a thread that switches accounts starts a new session (with the thread's
121
+ history). A new folder has none of your `~/.claude` settings, hooks or plugins. Use accounts that are all yours:
122
+ Claude's consumer terms do not allow sharing a login with someone else. Needs runner 0.34.0 or newer.
123
+
102
124
  ### What the CLI may do
103
125
 
104
126
  `myrel-runner start --access <level>`, or for the background runner `myrel-runner service install --access <level>` or