[PR #5746] core oauth rotation #11564

Closed
opened 2026-02-16 18:16:25 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/5746

State: closed
Merged: No


Context: #5748.

Summary

This PR bundles the auth v2 work (credential vault + multi-account store + same-request rotation) with the TUI credential manager/rotation stats, opt-in model discovery, and the updated RFC docs.

If it's easier to review in smaller chunks, the same work is also split across:

  • #5742 (auth v2 core)
  • #5743 (TUI credential manager + rotation stats)
  • #5744 (model discovery)
  • #5745 (vault key CLI)

Highlights

  • Encrypted credential vault (AES-256-GCM) + migration to a multi-record store.
  • Fetch-level rotation/refresh engine (429 rotation, 401/403 refresh where supported).
  • TUI dialogs to manage credentials and view rotation stats.
  • Optional model discovery for OpenAI-compatible providers.
  • RFC: specs/provider-auth-v2.md

Testing

  • bun test packages/opencode/test/credentials
  • bun test packages/opencode/test/inference/rotating-fetch.test.ts
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/5746 **State:** closed **Merged:** No --- Context: #5748. ## Summary This PR bundles the auth v2 work (credential vault + multi-account store + same-request rotation) with the TUI credential manager/rotation stats, opt-in model discovery, and the updated RFC docs. If it's easier to review in smaller chunks, the same work is also split across: - #5742 (auth v2 core) - #5743 (TUI credential manager + rotation stats) - #5744 (model discovery) - #5745 (vault key CLI) ## Highlights - Encrypted credential vault (AES-256-GCM) + migration to a multi-record store. - Fetch-level rotation/refresh engine (429 rotation, 401/403 refresh where supported). - TUI dialogs to manage credentials and view rotation stats. - Optional model discovery for OpenAI-compatible providers. - RFC: `specs/provider-auth-v2.md` ## Testing - `bun test packages/opencode/test/credentials` - `bun test packages/opencode/test/inference/rotating-fetch.test.ts`
yindo added the pull-request label 2026-02-16 18:16:25 -05:00
yindo closed this issue 2026-02-16 18:16:25 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#11564