You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
add Codex auth.json parsing for auth_mode variants: chatgpt/oauth -> tokens.access_token, api_key -> OPENAI_API_KEY, and missing mode fallback order
keep auth.json read/parse failures silent and non-throwing
harden nested Claude Code detection and guardrails: force run executor to codex with required warning text, mark Claude unavailable during setup in nested sessions, and fail fast with actionable error when Codex is unavailable
add orca setup --ts output mode writing typed TS config modules to ~/.orca/config.ts or ./orca.config.ts
preserve key persistence model: only explicit overrides persist; auto-detected env/keychain/codex auth are detection-only
extend tests and setup integration script for oauth auth-mode and TS output paths (global + project), plus nested Claude run behavior
This function checks for ~/.orca/config.js but not ~/.orca/config.ts. After a user runs orca setup --ts --global, only ~/.orca/config.ts exists. On the first subsequent orca run, maybeCreateFirstRunGlobalConfig will not find any config (it doesn't check the .ts global path) and will create a redundant ~/.orca/config.js with hardcoded executor: "codex" defaults.
No issues found. This PR adds Codex auth.json parsing for multiple auth-mode variants, hardens nested Claude Code detection to force the codex executor with a fail-fast path, and introduces a --ts flag for typed TypeScript config output — all with proper fallback logic, config resolution priority, and comprehensive test coverage.
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
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.
Summary
orca setup --tsoutput mode writing typed TS config modules to~/.orca/config.tsor./orca.config.tsVerification
All pass locally.