omp packages

@cortexkit/pi-openai-auth1.23.11

The Pi package of [CortexKit OpenAI Auth](https://github.com/cortexkit/openai-auth). It overrides Pi's built-in `openai-codex` provider so Pi can use a ChatGPT Plus or Pro subscription through the OpenAI Codex backend, with several accounts and sticky rou

GitHub Actions Published 1 day ago MIT ~14.9K downloads/mo

Reported broken on omp

1 of 1 report says this package does not work on omp. Read the notes before you install it.

0 works1 broken

Did it work for you?

Result

One report per person. A new report replaces your old one.

Reports 1

  • brokenTested by omp packagesv1.23.11 · 1 day ago

    Tested on omp 19.4.1: omp fails to start. Error: Provider openai-codex: "apiKey" or "oauth" is required when defining models.

Readme

@cortexkit/pi-openai-auth

The Pi package of CortexKit OpenAI Auth. It overrides Pi's built-in openai-codex provider so Pi can use a ChatGPT Plus or Pro subscription through the OpenAI Codex backend, with several accounts and sticky routing, usage limits per account and optional Claustrum vault integration. The OpenCode package is @cortexkit/opencode-openai-auth.

This plugin is not affiliated with or endorsed by OpenAI. Using a subscription this way may be against OpenAI's terms, and OpenAI may limit or suspend accounts. You use it at your own risk; the authors accept no responsibility for any action the provider takes.

Install

Requires Pi 1.0.1 or newer. The extension is tested with Pi 1.6.0, the version pinned in the workspace lockfile. See Install in the repository README; installing with Pi's own package manager is described in Configuration.

Documentation

When Thalamus starts Pi, the plugin leaves the saved Pi login untouched and uses the vault. If Pi does not expose its in-memory credential override, a saved expired login may prevent Pi from reaching the plugin. Pi 1.6.0 was verified with the override.

Pi's default compaction starts only above the same Codex OAuth input limit as OpenCode. The model's output limit is separate. Custom compaction settings still belong to Pi.

After a request is served, Pi's status line shows the serving account's last 5-hour and 7-day quota readings and reset times. Email labels appear as account numbers in /openai menu order.

Pi writes pi-openai-auth.log next to its account state file. On a shared settings install, /openai → Diagnostics changes the log level or enables redacted HTTP and WebSocket request dumps without restarting Pi. Dumps are off by default and may still contain prompt content. The default dump directory is pi-openai-auth-dumps next to the account state file; Pi's dump_dir and dump_max_bytes settings control the destination and retention cap.

License

MIT