Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
646ec12
feat: add macOS menu bar wrapper (contrib)
anlvdt Jun 13, 2026
789e74f
feat(cli) - added exec subcommand for temporary session execution
anlvdt Jun 25, 2026
bb9b414
feat(tray) - enable native macOS menubar icon and auto-switch expired…
anlvdt Jun 25, 2026
1497069
fix(usage) - robust error matching for expired session
anlvdt Jun 25, 2026
71944fb
fix(model) - only check credits in is_out_of_quota when other windows…
anlvdt Jun 25, 2026
a7ac4b3
fix(tray) - fixed Codex auto-restart issue by avoiding self-killing
anlvdt Jun 26, 2026
d084b87
fix(tray) - keep tray running when spawning TUI in new window
anlvdt Jun 26, 2026
234ef95
feat(tray/tui) - added launch at login and auto-switch on limit toggl…
anlvdt Jun 26, 2026
aff5315
feat(tray/worker) - added dynamic menu bar hover tooltips and automat…
anlvdt Jun 26, 2026
155fe02
feat(tray) - add account flow, clearer quota labels, and auto-switch …
anlvdt Jun 26, 2026
4ea940b
feat(cli) - add pick-best quota, import/export, login, and activity log
anlvdt Jun 26, 2026
b3b3d5e
feat(TUI) - add pick-best/rename, batch refresh, and ZIP export
anlvdt Jun 26, 2026
ce29d05
fix(macos) - update auto-start launch agent path to match running exe…
anlvdt Jun 26, 2026
5e8cc36
fix(macos) - use launcher script and launchctl for login auto-start
anlvdt Jun 26, 2026
e2f9936
fix(auto-start) - stop auto-switch loop when all accounts are depleted
anlvdt Jun 29, 2026
73c74e2
feat(macos) - improve menubar tray lifecycle and switch-when-running UX
anlvdt Jun 29, 2026
afe3aec
fix(usage) - stabilize invalid_grant login test
anlvdt Jun 29, 2026
ed9bd27
fix(macos) - keep menubar tray alive with single-instance lock
anlvdt Jun 29, 2026
ee8102a
fix(macos) - bootstrap launch agent and defer auto-switch until Codex…
anlvdt Jun 29, 2026
28870f2
fix(auth) - persist refreshed sessions and polish UX
anlvdt Jul 1, 2026
8cfa878
fix(core) - separate workspaces and tighten auto-switch
anlvdt Jul 1, 2026
c6524bb
fix(tray) - improve workspace menu login flow
anlvdt Jul 1, 2026
6d64bc1
fix(core) - harden auto-switch and workspace labels
anlvdt Jul 1, 2026
9332010
feat(menu): group accounts by token status in TUI and tray
Jul 8, 2026
ab52489
feat(menu): improve group headers with emojis and enable them for bet…
Jul 8, 2026
3b2d54d
fix(menu): improve readability, remove redundant status tags, and hid…
Jul 8, 2026
a9642a6
feat(tray) - add archive support, default hidden submenu, and reset t…
Jul 8, 2026
d334ef1
feat(cursor): implement Cursor switching & support ChatGPT rename
Jul 18, 2026
ae3ad96
feat: multi-provider menubar (Codex/Cursor/Claude) with cleaner switc…
Jul 23, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .agents
13 changes: 13 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
/target
.tmp-ref/

# Python virtual environments
.venv/
.venv-system/
**/__pycache__/
*.pyc

# macOS resource forks and metadata
._*
.DS_Store

# Generated icon build artifacts
assets/icon.iconset/

# Planning files
findings.md
Expand Down
18 changes: 18 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,21 @@
- `fix(TUI) - fixed typo in xyz`
- `fix(tray) - aligned xyz`
- Before finalizing, confirm the requested task and any follow-up work are complete.

## Architecture

- `src/main.rs` → `cli::run()` routes clap subcommands, or launches the menubar tray when no subcommand is given (macOS/Windows).
- `app/service.rs` holds core business logic; `App<S: SecretStore>` is generic over storage.
- `repository/` persists snapshot metadata + gzip blobs; `secrets.rs` handles local/keyring migration.
- `codex.rs` / `cursor.rs` / `claude.rs` read/restore live auth for each provider.
- `usage.rs` fetches quota from OpenAI APIs; `app/auto_start.rs` runs background workers.
- Tray (`tray.rs`) is the primary macOS/Windows UX: left-click opens a CodexBar-style meter-card popover (`/menu`); right-click keeps the NSMenu; Overview is a secondary wry window (`/`).
- Linux/WSL: CLI subcommands only (no tray / no TUI).

## Validation

```bash
cargo test
cargo clippy --all-targets --all-features -- -D warnings
cargo fmt --check
```
Loading