feat(quickstart): run CLI subscription auth inline#14
Open
JordanTheJet wants to merge 3 commits into
Open
Conversation
JordanTheJet
force-pushed
the
quickstart-inline-auth-runner
branch
from
July 8, 2026 15:34
4d0917b to
b310201
Compare
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
master(all contributions)auth_modeadded in feat(quickstart): add subscription auth modes #13.~/.codex/auth.jsonwhen present or starts the existingzeroclaw auth login --model-provider openai-codexbrowser flow.setup_token, runsclaude setup-token, prompts for the generated token, and persists it to the canonicalproviders.models.anthropic.<alias>.api_keypath.enhancement,provider,provider:openai,runtime,core,config,docs,quickstartValidation Evidence (required)
Local validation is the signal CI cannot replace. Run the full battery and paste literal output (tails, failures, warnings — not "all passed").
cargo fmt --all -- --check cargo clippy --all-targets -- -D warnings cargo testDocs-only changes: replace with markdown lint + link-integrity (
scripts/ci/docs_quality_gate.sh). Bootstrap scripts: addbash -n install.sh.cargo fmt --all -- --checkcargo clippy --all-targets -- -D warningscargo testAdditional focused checks run before the full battery:
src/main.rsandcrates/zeroclaw-runtime/locales/en/cli.ftlon top of feat(quickstart): add subscription auth modes #13. I did not run an interactive Codex browser login orclaude setup-tokenlocally.Security & Privacy Impact (required)
Yes/No for each. Answer any
Yeswith a 1–2 sentence explanation.Yes)Yes)Yes)No)Yes, describe the risk and mitigation: CLI Quickstart can now invoke existing auth flows after successful config apply. Codex uses the existing ZeroClaw auth profile store; Anthropic setup-token writes only to the existing canonical providerapi_keyconfig field, and the token prompt uses the existing password input path.Compatibility (required)
Yes)Yes)NoorYesto either: Existing configs and non-subscription Quickstart paths are unchanged. Users who pick Codex or Anthropic setup-token in CLI Quickstart now get an optional inline auth prompt after apply; declining prints the manual finish command.Rollback (required for medium/high-risk PRs)
Low-risk PRs:
git revert <sha>is the plan unless otherwise noted.Medium/high-risk PRs must fill:
git revert 4d0917b31providers.models.anthropic.<alias>.api_key.Supersede Attribution (required only when
Supersedes #is used)#<pr> by @<author>, one per line): N/ACo-authored-bytrailers added in commit messages for incorporated contributors? (No)No, why (inspiration-only, no direct code/design carry-over): N/A