@metolab/pi-auth-server

Pi extension for routing the built-in OpenAI Codex provider through pi-auth-server

Packages

Package details

extension

Install @metolab/pi-auth-server from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@metolab/pi-auth-server
Package
@metolab/pi-auth-server
Version
0.3.2
Published
Jul 29, 2026
Downloads
847/mo · 107/wk
Author
isxiaolin
License
MIT
Types
extension
Size
3.2 KB
Dependencies
0 dependencies · 1 peer
Pi manifest JSON
{
  "extensions": [
    "./extension.ts"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

@metolab/pi-auth-server

Pi package that keeps Pi's built-in openai-codex models and routes their transport/authentication through metolab/pi-auth-server.

See the repository README for installation and configuration. The package is public on npm and requires no registry configuration or npm token to install.

pi install npm:@metolab/pi-auth-server
export PI_AUTH_SERVER_URL=https://auth.example.com
export PI_AUTH_SERVER_TOKEN=pi_as_xxx
pi --model openai-codex/gpt-5.4