Skip to content

1.4.1

Choose a tag to compare

@kordless kordless released this 14 Dec 19:13
· 49 commits to main since this release

Version 1.4.1 improves on the REPL tool for testing the API.

• Release Note – Using codex-repl.py to test Codex Gateway API

  • Run the REPL: python scripts/codex-repl.py http://localhost:4000 (base URL optional; defaults to 4000).
  • Core commands:
    • run → POST /completion (persists worker, shows session ID).
    • prompt → POST /sessions/:id/prompt to continue a session.
    • list / show [events|triggers] / search [--f] for session inspection.
    • use pins a session for subsequent run.
    • timeout adjusts request timeout.
    • mode <full|compact> toggles full JSON vs. compact reasoning/agent output; watch <keys...> adds extra keys to
      display in compact mode.
    • setenv lets you inject per-call env vars (blank key cancels; clear wipes overrides).
  • Session/debug helpers: compact mode prints reasoning/agent messages and command output; show ... triggers extracts
    trigger IDs from events; debug keys (session/model/usage/events/tool_calls) are summarized automatically, plus any
    watched keys.
  • Notes: Workers auto-start on run/prompt and persist under the returned gateway_session_id. Env overrides apply only to
    the next calls and are not persisted to disk.