codexuse-cli 4.0.0 → 5.0.1

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
@@ -7,7 +7,7 @@ npm install -g codexuse-cli
7
7
 
8
8
  Commands:
9
9
  ```bash
10
- codexuse account-pool status [--runtime=desktop|daemon] [--state-dir=/abs/path] [--port=NNNN]
10
+ codexuse account-pool status [--runtime=desktop] [--state-dir=/abs/path]
11
11
  codexuse account-pool enable
12
12
  codexuse account-pool disable
13
13
  codexuse account-pool routing <least-used|round-robin>
@@ -16,7 +16,7 @@ codexuse account-pool models <list|add|remove|reset> [model-ids...]
16
16
  codexuse account-pool reasoning <list|add|remove|reset> [values...]
17
17
  codexuse account-pool fast-mode <list|add|remove|reset> [values...]
18
18
  codexuse account-pool keys <list|create|revoke> [id]
19
- codexuse account-pool sessions list [--runtime=desktop|daemon] [--state-dir=/abs/path]
19
+ codexuse account-pool sessions list [--runtime=desktop] [--state-dir=/abs/path]
20
20
 
21
21
  codexuse profile list
22
22
  codexuse profile list --no-usage
@@ -24,8 +24,8 @@ codexuse profile list --compact
24
24
  codexuse profile current
25
25
  codexuse profile add <name> [--skip-login] [--device-auth] [--login=browser|device]
26
26
  codexuse profile refresh <name> [--skip-login] [--device-auth] [--login=browser|device]
27
- codexuse profile switch <name> [--restart-codex]
28
- codexuse profile autoroll [--switch-left=0-50] [--threshold=50-100] [--dry-run] [--watch] [--interval=seconds] [--restart-codex|--no-restart-codex]
27
+ codexuse profile switch <name> [--activate-codex]
28
+ codexuse profile autoroll [--switch-left=0-50] [--dry-run] [--watch] [--interval=seconds] [--activate-codex|--no-activate-codex]
29
29
  codexuse profile delete <name>
30
30
  codexuse profile rename <old> <new>
31
31
 
@@ -36,7 +36,6 @@ codexuse sync status
36
36
  codexuse sync pull
37
37
  codexuse sync push
38
38
 
39
- codexuse daemon start [--port=NNNN] [--telegram-bot-token=<token>] [--project-path=/abs/path]
40
39
  ```
41
40
 
42
41
  Notes:
@@ -46,19 +45,12 @@ Notes:
46
45
  - Use `--compact` for names only.
47
46
  - On headless/SSH, login defaults to device auth. Override with `--login=browser`.
48
47
  - Use `--skip-login` if you already ran `codex login`.
49
- - First CLI run bootstraps storage migration automatically.
50
48
  - Accounts Pool settings are shared with the desktop app on the same machine.
51
- - Accounts Pool API keys and live sessions are runtime-specific (`desktop` vs `daemon`) because each runtime has its own pool store.
49
+ - Accounts Pool API keys and live sessions belong to the desktop app runtime store.
52
50
  - `profile autoroll` requires Pro.
53
51
  - `profile autoroll` uses live rate-limit usage and switches when current remaining usage is at or below the `% left` threshold.
54
52
  - `profile autoroll` defaults to saved desktop auto-roll switch threshold when available (else 5% left).
55
- - Prefer `--switch-left=NN`; `--threshold=NN` remains as the legacy used-percent alias.
56
- - `profile autoroll` honors the saved desktop "restart official Codex after auto-switch" setting; override with `--restart-codex` or `--no-restart-codex`.
57
- - `profile switch <name> --restart-codex` restarts official Codex after a manual switch.
53
+ - Use `--switch-left=NN` to set the switch threshold by percent left.
54
+ - `profile autoroll` honors the saved desktop "focus matched OpenAI Codex app window after auto-switch" setting; override with `--activate-codex` or `--no-activate-codex`.
55
+ - `profile switch <name> --activate-codex` focuses or launches the target official Codex window after a manual switch.
58
56
  - `profile autoroll --watch` keeps polling at `--interval` seconds (default `30`).
59
- - `daemon start` launches the bundled headless Projects/chat server and can also serve Accounts Pool.
60
- - `daemon start` requires Bun on PATH because the bundled server runs on Bun.
61
- - Use `--port=NNNN` when another local client should keep one stable Accounts Pool base URL.
62
- - Set token via `--telegram-bot-token=...` or `CODEXUSE_TELEGRAM_BOT_TOKEN`.
63
- - Telegram remote control is only enabled when a bot token is provided.
64
- - `--project-path=/abs/path` auto-registers that path (if needed) and sets it as the default project for new Telegram chats.