pi-codex-gpt-metadata
v0.2.0
Published
Shared Codex GPT model metadata for Pi extensions
Downloads
202
Maintainers
Readme
pi-codex-gpt-metadata
A standalone Codex GPT model-metadata catalog consumed directly by pi-autofill-model-metadata.
This package is a regular npm library, not a Pi extension. It has no Pi extension entry point, performs no provider registration, and does not depend on pi-gpt-enhance. Keeping the catalog separate allows metadata updates to be published independently from request-enhancement releases.
Why it is not in the Pi package gallery
The Pi package gallery lists packages tagged with the pi-package keyword. pi-codex-gpt-metadata intentionally omits that keyword and has no pi.extensions manifest because installing it directly would not add any Pi functionality.
Search for and install pi-autofill-model-metadata in Pi instead:
pi install npm:pi-autofill-model-metadatanpm installs this catalog automatically as a direct dependency of the autofill extension.
Library usage
import { codexSourceModel, resolveCodexModel } from "pi-codex-gpt-metadata";The catalog is mirrored from the OpenAI Codex models manager. The gpt-5.6-sol[1m] entry denotes Codex's 1M-context Sol variant; the [1m] suffix is part of the model ID and must be preserved in Pi mappings. Each entry may also carry serviceTiers, the Codex service (speed) tiers the model supports — currently priority and, for gpt-5.6-sol, ultrafast. See the consuming extension documentation for source revision and compatibility details.
