Skip to content

v0.1.0

Choose a tag to compare

@dominicnunez dominicnunez released this 28 Feb 16:16
· 685 commits to main since this release

Initial release of the Go SDK for the Codex CLI JSON-RPC 2.0 protocol.

Highlights

  • Full protocol coverage — 38 client→server request methods, 40+ notification types, 8 approval handler types
  • Spec-driven — public API maps 1:1 to the Codex JSON-RPC schema definitions in specs/
  • Zero external dependencies — stdlib only
  • Bidirectional JSON-RPC 2.0 — concurrent dispatch over stdio with ID-based response matching
  • Typed services — client.Thread, client.Turn, client.Account, client.Config, and 10 more
  • Discriminated unions — UserInput, FileChange, ThreadStatus, SessionSource with forward-compatible unknown variants
  • Credential redaction — sensitive types redact in MarshalJSON but serialize fully on the wire
  • Comprehensive tests — spec coverage, request coverage, race condition, and security tests

Install

go get github.com/dominicnunez/codex-sdk-go@v0.1.0

Stability

This is a v0.x release. The API is intentional and tested, but may change based on real-world usage before v1.0.0.