Repository navigation
feat: Claude and ChatGPT subscriptions through the installed CLIs - #14
Merged
Merged
Conversation
Two built-in providers, claude-login and chatgpt-login, use the login the installed `claude` / `codex` already has, so a Claude or ChatGPT subscription works without an API key: - claude-login keeps the user's own config dir (where the login lives) and adds --setting-sources project,local, --strict-mcp-config and --no-session-persistence, so personal CLAUDE.md, skills, plugins, MCP servers and session history stay out of the runs; - chatgpt-login keeps the user's own CODEX_HOME and adds --ignore-user-config and --ignore-rules (doctor notes when a global AGENTS.md is still part of every Codex run). API-key providers keep their fully isolated per-run config dirs. Doctor checks `claude auth status` / `codex login status` and rejects a login provider on a CLI that cannot use it. Hitting a provider's usage limit now stops the run cleanly instead of recording failed work: the interrupted rollout is discarded and the same command resumes later. Project worktrees left by killed runs are pruned before new ones are created. Co-Authored-By: Claude Opus 5.5 <[email protected]>
5 of 6 tasks
2 of 3 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.
Summary
claude-loginandchatgpt-login. They use the login your installedclaude/codexalready has, so a subscription works without an API key.--setting-sources project,local --strict-mcp-config --no-session-persistence. API-key, Bedrock and Vertex variables are stripped so the CLI uses its own login;CLAUDE_CODE_OAUTH_TOKENis passed through if set.CODEX_HOMEis kept, plus--ignore-user-config --ignore-rules. Model and effort are passed as-m/-c.CLAUDE.md, skills and Codexconfig.tomldo not reach the request.AGENTS.mdis still sent by Codex;doctorsays so when it applies.doctorlogin checks. It runsclaude auth status/codex login status, and rejects a login provider on a CLI that cannot use it (OpenCode channel, bridge).Stopped("usage_limit")and discards the interrupted rollout instead of recording failed work. The run exits 4 and the same command resumes later.git worktree pruneruns before creating project worktrees, so killed runs leave nothing behind.Test plan
CLAUDE_CONFIG_DIR/CODEX_HOMEoverride, the new flags, stripped API keys, kept OAuth token.auth status/login status.ruff🤖 Generated with Claude Code