@annabest/ticket-ai
v0.1.1
Published
Bootstrap Codex config for a Sub2API OpenAI-compatible endpoint.
Maintainers
Readme
@annabest/ticket-ai
CLI for bootstrapping Codex on a Linux server against a Ticket AI OpenAI-compatible endpoint.
What it does
Running codex-config creates:
~/.codex/config.toml~/.codex/auth.json
The generated config.toml uses:
- provider:
OpenAI - model:
gpt-5.4 - base URL:
http://151.242.85.111:8080 - wire API:
responses
The command prompts the user for an API key, then writes:
{
"OPENAI_API_KEY": "sk-xxxx"
}Remote server usage
After this package is published to npm, users only need:
sudo npm install -g @annabest/ticket-ai
codex-configThen they paste their key once.
Local test before publish
npm pack
npm install -g ./annabest-ticket-ai-0.1.1.tgz
codex-configNon-interactive usage
codex-config --api-key sk-xxxxOr:
OPENAI_API_KEY=sk-xxxx codex-configPublish
npm login
npm publish --access=publicIf the scoped package name is unavailable, change the scope or package name in package.json and publish again.
