@diverga/provider-codex
v0.1.1
Published
Codex adapter surface for Diverga
Downloads
34
Maintainers
Readme
@diverga/provider-codex
This package will host Codex-specific adapter logic.
It is expected to implement numbered checkpoint interaction rather than depend on a provider-native question widget.
Thin Wrapper
This package now includes a thin wrapper for Codex prompt injection.
Print a wrapped prompt
diverga-codex-wrapper --print --mode explore --prompt "I want exploration, not a conclusion yet."Execute a wrapped prompt through Codex
diverga-codex-wrapper --exec --json --mode review --prompt "Review this claim critically."Local build and test
From the workspace root:
npm install
npm run typecheck
npm run buildThen test the wrapper directly:
node packages/diverga-provider-codex/dist/wrapper-cli.js \
--print \
--mode explore \
--prompt "I want exploration, not a conclusion yet."node packages/diverga-provider-codex/dist/wrapper-cli.js \
--exec \
--json \
--mode review \
--prompt "Review this claim critically."If the wrapped behavior changes, update this README in the same commit.
The wrapper reads the managed setup artifact when available and prepends a short runtime-guidance block so Codex receives:
- mode
- minimum question requirements
- closure disposition
- narrative-trace preservation rules
- human commitment stakes when relevant
