Files
cc-switch/tests/hooks
Jason 4f8d1424a6 feat(tray): rebuild the tray menu around apps and their modes
The native menu now lists Claude Code, Claude Desktop, Codex, Gemini CLI
and Grok Build (hidden apps are skipped; additive apps stay out). Each
app row reads "name · mode · provider · quota" and opens a submenu that
states the mode and only offers providers that switching can actually
use: providers that need routing open the app page with the same
needs-routing dialog, official subscriptions are disabled under routing,
and the menu is read-only while failover is on instead of silently
turning failover off. Projects move into the app submenus.

Quota text matches the cards (remaining, "running low" under 10%, no
emoji). A problems section appears only when something needs action:
the routing service is down while apps use it, an app fell back to
direct at startup, or a tray switch failed.

On Windows a left click opens the window and a right click shows the
menu; macOS and Linux keep the menu on left click.
2026-10-03 23:28:58 +08:00
..
2025-11-22 19:18:35 +08:00