@event4u/agent-switch 1.0.1 → 1.0.2

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 +18 -0
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -307,6 +307,24 @@ Usage readout is per-provider: Claude exposes an OAuth `/usage` endpoint;
307
307
  **Codex and Gemini have no usage readout**, so they show identity only (never a
308
308
  fabricated number).
309
309
 
310
+ ### Run it all automatically (on login)
311
+
312
+ For a hands-off setup where the daemon **and** the tray GUI start on login:
313
+
314
+ ```bash
315
+ agent-switch service install # daemon on login (launchd / systemd --user / Task Scheduler)
316
+ agent-switch gui # launch the tray GUI (installs it on first use, then runs it)
317
+ ```
318
+
319
+ The tray GUI enables **launch-at-login by default on its first run**; toggle it
320
+ any time in **Settings → General → Start at login**. The daemon is a separate,
321
+ one-time `service install` — the GUI does not manage it. Check both with
322
+ `agent-switch service status` and the GUI's General tab.
323
+
324
+ > After updating the GUI (a new npm version), re-toggle *Start at login* once so
325
+ > the login item points at the new build — the launch-at-login entry references
326
+ > the installed binary path, which changes across versions.
327
+
310
328
  ### Installing the desktop app (unsigned builds)
311
329
 
312
330
  The tray GUI ships as native installers on the project's GitHub Releases —
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@event4u/agent-switch",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Switch between multiple Claude Code accounts on macOS, Linux, and Windows via isolated CLAUDE_CONFIG_DIR profiles",
5
5
  "repository": {
6
6
  "type": "git",
@@ -32,8 +32,8 @@
32
32
  },
33
33
  "optionalDependencies": {
34
34
  "playwright": "^1.49.0",
35
- "@event4u/agent-switch-darwin": "1.0.1",
36
- "@event4u/agent-switch-linux-x64": "1.0.1",
37
- "@event4u/agent-switch-win32-x64": "1.0.1"
35
+ "@event4u/agent-switch-darwin": "1.0.2",
36
+ "@event4u/agent-switch-linux-x64": "1.0.2",
37
+ "@event4u/agent-switch-win32-x64": "1.0.2"
38
38
  }
39
39
  }