← all repositories
changexbc/workbuddy-switch

One app to juggle every WorkBuddy and CodeBuddy account you own

A Tauri desktop app for switching accounts across WorkBuddy, CodeBuddy IDE/CLI, and the VS Code and JetBrains plugins — with credit-expiry tracking and session copying between accounts.

★1.4k stars Rust Coding Assistants
workbuddy-switch
Not currently ranked.
star history

What it does

workbuddy-switch is a Rust/Tauri desktop app (with an npm webui variant) that manages multiple accounts for the WorkBuddy/CodeBuddy ecosystem: WorkBuddy, CodeBuddy IDE, CodeBuddy CLI, the VS Code plugin, and JetBrains plugins, in both Chinese and international flavors. One click swaps the active account per client, and it tracks each account’s credit balance and expiry — flagging anything expiring within 7 days and sorting by urgency. It also aggregates official request usage and per-source token statistics, including trends, heatmaps, and top-10 projects/models.

The interesting bit

Session copying goes beyond a simple account switcher: you can copy a session from one account to another under a new id (source untouched, cloud ownership moves to the target), and copied sessions become cross-account “linked” — with a branch graph showing where copies diverged, incremental syncing of new content, and conflict resolution when both accounts edited the same session. There’s also auto-rotation, which quietly sets the most credit-pressed account as the next CodeBuddy CLI default.

Key highlights

  • One account library shared across WorkBuddy, CodeBuddy IDE/CLI, VS Code, and JetBrains plugins, each toggleable per client
  • Credit expiry monitoring with 7-day highlighting and urgency sorting; auto-rotation picks the most urgent account for CLI
  • Cross-account session linking with branch visualization, incremental sync, and divergence handling
  • Built-in Agent Companion floating rail showing running/awaiting-confirmation/completed status for Codex, WorkBuddy, CodeBuddy, and Codeg sessions, with click-to-jump
  • Auto-close-and-reopen of running IDEs during switches (CodeBuddy CLI sessions are killed instead — no auto-restart)

Caveats

  • macOS needs App Management or Full Disk Access permission to write auth files; the README walks through the grant flow
  • JetBrains support is off by default, and CodeBuddy CLI / JetBrains sessions aren’t covered by the floating rail
  • The floating window requires per-client Hooks/Webhook setup on first use

Verdict

If you’re running multiple WorkBuddy/CodeBuddy accounts and watching credits expire into the void, this is a genuinely useful Swiss-army knife. If you have exactly one account, it’s a lot of machinery for nothing.

Frequently asked

What is changexbc/workbuddy-switch?
A Tauri desktop app for switching accounts across WorkBuddy, CodeBuddy IDE/CLI, and the VS Code and JetBrains plugins — with credit-expiry tracking and session copying between accounts.
Is workbuddy-switch open source?
Yes — changexbc/workbuddy-switch is open source, released under the MIT license.
What language is workbuddy-switch written in?
changexbc/workbuddy-switch is primarily written in Rust.
How popular is workbuddy-switch?
changexbc/workbuddy-switch has 1.4k stars on GitHub.
Where can I find workbuddy-switch?
changexbc/workbuddy-switch is on GitHub at https://github.com/changexbc/workbuddy-switch.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.