Turbo charged OpenAI Codex.
npm install @aperoc/codex-plusTurbocharged OpenAI Codex for headless workflows.
I use codex exec a lot, but it struggles with its built-in telemetry support, which is insufficient for debugging and optimization.
codex-plus provides a CLI entry point that mirrors the codex exec interface but is implemented on top of the TypeScript SDK (@openai/codex-sdk).
It exports the full session log to a remote OpenTelemetry collector after each run which can then be debugged and optimized through codex-plus-log-viewer.
sh
export CODEX_PLUS_OTEL_ENDPOINT='http://localhost:4318/v1/logs'
codex-plus exec --json 'What is 1+1?'codex-plus-log-viewer
`
!Codex Plus Log Viewer
(Upload data/logs.json into the local log viewer at http://localhost:4173.)Setup
`sh
npm i -g @aperoc/codex-plus
Optional: Local OTEL service
cd otel-service && docker-compose up
`WIP
1.
Ralph Wiggum mode`sh
codex-plus exec --json \
--max-iter $MAX_ITER \
--exit-condition $EXIT_CONDITION \
$TASK
``