Allow users to authenticate via browser-based OAuth device flow with opencode login command. Includes login, logout, switch account, and workspaces list commands for managing multiple accounts.
To install dependencies:
bun install
To run:
bun run index.ts
This project was created using bun init in bun v1.2.12. Bun is a fast all-in-one JavaScript runtime.
bun init