The agent-native release. Two-line setup, three killer capabilities, one machine-readable catalog. Backward-compatible with 0.2.0.
Headlines
- One-shot install for 10 IDEs / agent runtimes.
chatgpt-bridge install --for <target>writes the right MCP/config block to the right path on the right OS. Idempotent, supports--dry-runand--uninstall. Refuses to overwrite a non-JSON config file.
Targets:claude-code,claude-desktop,codex,cursor,zed,cline,continue,gemini-cli,aider(snippet),openai-sdk(snippet),all(auto-detects what's installed). - Multimodal input. Vision (
image_urlcontent parts) and file context ({type:"input_file", file:{path|url|data,mime}}— bridge extension) work first-class on/v1/chat/completions. Reference images (reference_images[]— bridge extension) drive style/composition on/v1/images/generations. 25 MiB per attachment, 100 MiB aggregate. Path-traversal guard blocks attempts to read~/.codex/auth.json. - Machine-readable catalog.
chatgpt-bridge capabilitiesreturns one JSON document describing every verb, arg, return shape, idempotency, side effects, typical latency, and error-code → structuredremedymapping. Agents read once, know everything.
Two-line setup
npx @openai/codex login # one-time browser auth
npx chatgpt-bridge install --for claude-code # or codex, cursor, zed, gemini-cli, all, ...Quick taste
# vision
chatgpt-bridge chat "what font is this?" --attach screenshot.png
# file context
chatgpt-bridge chat "audit this spec against OpenAPI 3.1" --attach spec.md
# image with reference (style transfer)
chatgpt-bridge image "hero shot, brand-consistent" \
--ref moodboard.png --ref logo.svg --out hero.png
# agent-native discovery
chatgpt-bridge capabilities | jq '.verbs[].name'
# health + structured remedy
chatgpt-bridge doctorWire compatibility
- Existing OpenAI-SDK code against
localhost:10531/v1/*keeps working. - Existing MCP tools (
chat,generate_image,health) keep working — they just gain optionalattachments/referencesargs. chatgpt-bridge genkept as a deprecation alias forimage(warns to stderr, then forwards). Removed in 0.5.- Bridge extensions (non-portable to
api.openai.com) are flagged in code, in the catalog, and in the docs.
Full release notes
See CHANGELOG.md.
Install
npm i -g chatgpt-bridge@0.3.0
# or one-shot
npx chatgpt-bridge@0.3.0 install --for claude-code