Skip to content

[codex] Add Codex subscription provider#16

Closed
Anmolnoor wants to merge 2 commits into
mainfrom
codex/fcli-chatgpt-subscription-auth
Closed

[codex] Add Codex subscription provider#16
Anmolnoor wants to merge 2 commits into
mainfrom
codex/fcli-chatgpt-subscription-auth

Conversation

@Anmolnoor

Copy link
Copy Markdown
Owner

Summary

  • Add a codex provider that shells out to codex exec --json and reuses local Codex/ChatGPT authentication instead of requiring OPENAI_API_KEY.
  • Update settings, doctor output, and docs so provider.name = "codex" reports codex://local and ChatGPT-managed auth.
  • Polish interactive chat output: compact fcli> prompt styling, two-space concise output padding, clearer policy-block summaries, and direct-answer guidance that avoids mirroring casual address terms.

Validation

  • ./scripts/uv run pytest tests/test_cli.py tests/test_orchestrator.py
  • ./scripts/uv run ruff check src tests
  • ./scripts/uv run ruff format --check src tests
  • ./scripts/uv run mypy
  • ./scripts/uv run pytest (459 passed)
  • git diff --check

Note: uv prints the existing .venv interpreter warning about Python 3.12.13 vs 3.12.12, but the checks pass.

Smoke Test added 2 commits June 4, 2026 04:59
Add a codex provider backed by local Codex ChatGPT auth instead of an OpenAI API key.

Update doctor/settings/docs for the codex provider and polish interactive chat prompt, padding, policy-block wording, and direct-answer tone.

Copy link
Copy Markdown
Owner Author

Superseded by the clean main-based draft PR: #17.

This PR was opened from the original stacked branch and included an unrelated parent CLI refactor, so closing it to keep the review scope clean.

@Anmolnoor Anmolnoor closed this Jun 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant