Bug reports, documentation improvements and focused pull requests are welcome.
Install Node.js 22+, the official Muse Code CLI and Bun, then run:
npm ci
npm test
npm run test:tui
npm pack --dry-runUse npm link to try muse-auth from another project directory. Set OPENCODE_MUSE_STATE_DIR to a temporary directory when testing account preferences. Keep real credentials, account profiles and diagnostic logs out of commits.
- Keep the CLI, JavaScript runtime and OpenCode integration consistent.
- Preserve the requested model when switching accounts.
- Add regression coverage for behavioural changes, especially authentication, stream handling and quota routing.
- Use British English for user-facing text and documentation.
- Describe the change and the checks you ran in your pull request.
Include your OS, Node.js version, Muse CLI version, package version and a small reproduction. muse-auth doctor provides useful diagnostics. Redact any personal data before posting.
Report credential-related vulnerabilities through GitHub's private vulnerability reporting.