← Catalog

@ravshansbox/pi-multi-codex

Multi-account OpenAI Codex routing extension for pi

ExtensionProvider

Install

Install with PiG

pig install npm:@ravshansbox/pi-multi-codex

Install with Pi

pi install npm:@ravshansbox/pi-multi-codex
Review before installing

Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.

Pi manifest JSON

The pi field of package.json.

{
  "extensions": [
    "./index.ts"
  ]
}

README

Written by the package's publisher, shown as published in version 2.0.5 (README.md). PiG does not review it.

pi-multi-codex

Multi-account OpenAI Codex routing extension for pi.

Install

pi install npm:@ravshansbox/pi-multi-codex

Add -l to install it in project settings.

Usage

Pi loads the extension from ./index.ts. Run /multi-codex in the TUI to add Codex accounts, switch between them, or remove old ones. In other modes, /multi-codex shows an error instead.

For example, if the active Codex account hits a usage limit during a session, the extension can switch to another saved account and resend the latest user message as a follow-up.

Configuration

Set MULTI_CODEX_DEBUG=1 to print debug logs to stderr.

Development

npm install
npm run check