Revise design spec with verified Codex OAuth and additional fixes

↗ view on GitHub · slurpojoe · 2026-05-28 · b0b317aa

- Verified Codex refresh endpoint and JSON body format against openai/codex
- DeepSeek env-only (avoids DB migration for user_api_keys CHECK constraint)
- Add type extensions (UserApiKeys, ApiKeyState, Provider unions)
- Tilde expansion, atomic file write, in-flight refresh locking
- Thinking parameter only for deepseek-v4-pro
- Switch-based router with exhaustive check
- Default model fallback when stored/default is unavailable

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Repository slurpojoe/make
Author slurpojoe <albsverris@gmail.com>
Authored
Parents a3370b11
Stats 1 file changed , +94 , -24
Part of DeepSeek provider + Codex OAuth token integration

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-b0b317aa.md from inside the repo you want the change in.

⬇ Download capture-commit-b0b317aa.md