Skip to content

v0.5.0: Codex provider (no API key)

Choose a tag to compare

@animesh-chouhan animesh-chouhan released this 22 Jul 07:26
· 268 commits to main since this release

Highlights

Codex provider: run copperhead without an OpenAI or Anthropic API key.

If you already have Codex access through your ChatGPT login, copperhead can now use it as a reasoning backend. No API key, no separate billing setup:

npm install -g copperhead
copperhead do "add a second RGB LED on an RTC-capable pin" --model codex

Codex runs read-only and web-disabled inside copperhead: it only proposes actions, and copperhead stays the sole dispatcher for every file edit, KiCad ERC/DRC check, and commit gate. All the existing safety rails (spec-gated edits, verification-gated commits, git-snapshot rollback) are unchanged.

Details

  • Select it with --model codex, or pin a model id with --model codex:<model-id>.
  • Point at a non-standard binary with COPPERHEAD_CODEX_PATH (defaults to codex on PATH).
  • The @openai/codex-sdk is an optional peer dependency, so a normal install stays lean: only Codex users pull it in.
  • The direct OpenAI and Anthropic providers, and the deterministic check / verify command, are unchanged.

One honest caveat: the Codex CLI keeps its own session logs under ~/.codex/sessions/, which sit outside copperhead's transcript-redaction boundary. This is documented in SPEC.md.

Also in this release

  • npm publishing moved to trusted publishing (OIDC), with provenance signing and no long-lived token.
  • Markdown linting is enforced in CI.

PR: #1
npm: https://www.npmjs.com/package/copperhead/v/0.5.0

Full changelog: v0.4.0...v0.5.0