JSPM

  • Created
  • Published
  • Downloads 420
  • Score
    100M100P100Q109647F
  • License MIT

Codex adapter surface for LongTable

Package Exports

  • @longtable/provider-codex
  • @longtable/provider-codex/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@longtable/provider-codex) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@longtable/provider-codex

Codex-specific adapter logic for LongTable.

This package implements numbered checkpoint interaction and thin runtime-guidance injection rather than depending on a provider-native question widget.

Role

This package provides the Codex adapter used by @longtable/cli.

It is publishable as a library package, but the primary researcher-facing command surface is longtable, not a standalone wrapper executable.

Local build and test

From the workspace root:

npm install
npm run typecheck
npm run build

Then test the adapter directly:

node packages/longtable-provider-codex/dist/wrapper-cli.js \
  --print \
  --mode explore \
  --prompt "I want exploration, not a conclusion yet."
node packages/longtable-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

For the recommended setup path, pair this package with @longtable/setup.