Monorepo for two npm packages built around Codex auth:
@yadimon/codex-to-llm: raw prompt SDK and CLI aroundcodex exec, with an explicit direct API call bypass option@yadimon/codex-to-llm-server: OpenAI-compatible/v1/responsesserver that adapts dialog input on top of the raw core package or direct Codex OAuth mode
The package-level READMEs are the npm-facing docs:
- Node.js
>=20 - installed
codexCLI inPATHfor the defaultcodex execpath - valid Codex auth in
~/.codex/auth.jsonorCODEX_TO_LLM_AUTH_PATH
npm install
npm run build
npm run lint
npm run typecheck
npm testUseful local commands:
npm run smoke:core
npm run smoke:server
npm run start:server
npm run start:server:mockpackages/codex-to-llm
core SDK, CLI, and process runner
packages/codex-to-llm-server
HTTP adapter exposing /healthz, /v1/models, and /v1/responses
scripts
workspace test, pack, and release helpers
This repository publishes two independent npm packages:
@yadimon/codex-to-llm@yadimon/codex-to-llm-server
They are versioned separately and released with package-specific tags:
codex-to-llm-v<version>codex-to-llm-server-v<version>
Pre-release verification:
npm run check
npm run release:checkRelease commands:
npm run release:core:patch
npm run release:core:minor
npm run release:core:major
npm run release:server:patch
npm run release:server:minor
npm run release:server:majorThe detailed maintainer workflow lives in RELEASING.md.
Build the server image from the repository root:
docker build -f packages/codex-to-llm-server/Dockerfile .Run the Docker verification path with:
npm run test:docker