feat: manage Codex config and localize usage resets - #12
Merged
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (5)
📝 WalkthroughWalkthroughThe CLI adds ChangesCodex CLI integration
Estimated code review effort: 4 (Complex) | ~60 minutes Sequence Diagram(s)sequenceDiagram
participant User
participant CLI
participant CodexConfiguration
participant ConfigFiles
User->>CLI: prism codex enable|disable|status
CLI->>CodexConfiguration: dispatch subcommand
CodexConfiguration->>ConfigFiles: read TOML and JSON state
CodexConfiguration->>ConfigFiles: update or restore configuration
CodexConfiguration-->>User: return status or operation result
Possibly related PRs
Suggested labels: ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
ygpark80
marked this pull request as ready for review
August 7, 2026 11:26
4 tasks
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.
Changes
prism codex enable,disable, andstatusto switch the shared Codex App and CLI configuration between Prism and the previous provider settings.gpt-5.6-sol, use its default reasoning effort, preserve unrelated Codex configuration, retain symlinked config files, and refuse to overwrite managed settings after drift.in 16h 13m.prism claudeas a Claude Code CLI launcher and simplify the README guidance accordingly.Testing
go test -mod=vendor -race ./...go vet -mod=vendor ./...test -z "$(gofmt -l .)"GOOS=windows GOARCH=amd64 CGO_ENABLED=0 go build -mod=vendor -trimpath ...CODEX_HOME, confirmedcodex features listaccepted the generated configuration, then disabled Prism and confirmed direct status.go run -mod=vendor . chatgpt usageand confirmed local KST reset timestamps and friendly remaining durations against live usage data.git diff --checkNotes
disablerestores only managed values that still match whatenableapplied; otherwisestatusreports drift.Summary by CodeRabbit
New Features
enable,disable, andstatuscommands.Documentation