Repository navigation
Schedule opt-in Codex OAuth credentials for GPT-6 Luna Decisions - #229
Open
Aleksey512 wants to merge 3 commits into
Open
Aleksey512 wants to merge 3 commits into
Aleksey512 wants to merge 3 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs router-for-me/CLIProxyAPI#6586. Companion: router-for-me/CLIProxyAPI.
Publish Decisions support for the registered gpt-6-luna route and its aliases only when the selected Codex OAuth credential explicitly sets the JSON boolean decisions_enabled: true. Preserve the opt-in in the minimal auth index so the capability is available after loading credentials from the database. Reuse the existing openai-decisions dispatch protocol, capability field, caller permissions and pinned-credential rules. Decisions dispatch carries the outer OAuth token that Home can refresh and fingerprint, without the nested SIWC credential. No schema or wire-format change is required.
Tests cover eligible and ineligible routes, caller restrictions, cold loading legacy OAuth records from the database, RPOP dispatch, removal of the opt-in even with stale model publication, and credential refresh. Use alongside a CPA build that supports native Codex OAuth Decisions.