Skip to content

feat: remove persistent api config toggle#97

Merged
Loongphy merged 2 commits into
mainfrom
remove-config-api-toggle
May 12, 2026
Merged

feat: remove persistent api config toggle#97
Loongphy merged 2 commits into
mainfrom
remove-config-api-toggle

Conversation

@Loongphy
Copy link
Copy Markdown
Owner

@Loongphy Loongphy commented May 12, 2026

This PR removes the persistent API refresh toggle and makes API-backed refresh the default behavior for supported commands.

  • Remove the config api enable and config api disable command flow, including related help text and status output.
  • Stop reading from or writing to the legacy registry.json api object while keeping schema_version at 4.
  • Ignore older persisted api fields and drop them the next time the registry is saved.
  • Make refresh behavior API-backed by default for:
    • list
    • switch
    • remove
    • daemon
    • account-name
  • Keep --api as an explicit equivalent to the default API-backed refresh path.
  • Add --skip-api as the per-command local-only override.
  • Update tests and documentation to cover the new default refresh behavior and local-only override.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented May 12, 2026

Open in StackBlitz

@loongphy/codex-auth-darwin-arm64

npx https://pkg.pr.new/@loongphy/codex-auth-darwin-arm64@97

@loongphy/codex-auth-darwin-x64

npx https://pkg.pr.new/@loongphy/codex-auth-darwin-x64@97

@loongphy/codex-auth-linux-arm64

npx https://pkg.pr.new/@loongphy/codex-auth-linux-arm64@97

@loongphy/codex-auth-linux-x64

npx https://pkg.pr.new/@loongphy/codex-auth-linux-x64@97

@loongphy/codex-auth-win32-arm64

npx https://pkg.pr.new/@loongphy/codex-auth-win32-arm64@97

@loongphy/codex-auth-win32-x64

npx https://pkg.pr.new/@loongphy/codex-auth-win32-x64@97

@loongphy/codex-auth

npx https://pkg.pr.new/@loongphy/codex-auth@97

commit: e576896

@Loongphy Loongphy merged commit 2ac689d into main May 12, 2026
12 checks passed
@Loongphy Loongphy deleted the remove-config-api-toggle branch May 12, 2026 04:15
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