Skip to content

v1.4.0

Choose a tag to compare

@Reedtrullz Reedtrullz released this 06 Jul 05:06

Summary

Ships 1Password-backed BYOK gateway runtime support. BYOK providers can now keep API keys in 1Password while the gateway process receives the needed env vars at runtime.

Highlights

  • Added --op-env-file and --op-environment to codex-antigravity start --background.
  • Added the same 1Password wrapper support to codex-antigravity service install for durable per-user startup.
  • Added setup --start propagation so the generated reboot-persistence follow-up preserves the selected 1Password mode.
  • Updated macOS LaunchAgent, Linux systemd user unit, and Windows Scheduled Task rendering to support wrapped gateway commands.
  • Documented the stable op run --env-file secret-reference workflow and the 1Password Environments beta --op-environment path.
  • Live-proved OpenRouter BYOK routing through the gateway with exact marker anti-openrouter-byok-ok using a temporary key.

Installation

uv tool install codex-antigravity-auth==1.4.0
# or
pipx install codex-antigravity-auth==1.4.0

1Password BYOK Example

OPENROUTER_API_KEY=op://Private/OpenRouter/sk
codex-antigravity provider set openrouter --api-key-env OPENROUTER_API_KEY --model openrouter/free
codex-antigravity start --background --op-env-file ~/.codex/antigravity.env
codex-antigravity service install --port 51122 --host 127.0.0.1 --op-env-file ~/.codex/antigravity.env

Verification

  • PR #8 merged cleanly: #8
  • Main CI run 28769014362 passed package, test (3.10), test (3.11), and test (3.12).
  • Publish workflow run 28769040561 passed build and PyPI Trusted Publishing.
  • Local release checks passed:
    • python3 -m pytest -q -> 350 passed, 134 subtests passed
    • python3 -m compileall -q codex_antigravity_auth tests
    • git diff --check
    • python3 -m build
    • python3 -m twine check dist/*
    • clean wheel install smoke
  • PyPI install smoke passed for codex-antigravity-auth==1.4.0.

PyPI Artifacts

  • codex_antigravity_auth-1.4.0-py3-none-any.whl
    • SHA256: 520c385fa2c707d3672b4a3e177dd64f2ba7226aff0467cb35e0c820378d138a
  • codex_antigravity_auth-1.4.0.tar.gz
    • SHA256: 8b4a65487a27282b4cff4e1b37518cb9c2edaa53c38038d4328fde6ba877f91c

Caveats

  • --op-env-file is live-proven with the stable local 1Password CLI.
  • --op-environment is implemented for users with the 1Password Environments beta CLI; local op 2.34.0 did not expose that beta command during verification.
  • No provider API keys are persisted or logged by this release.