@numbered/omp-claude-bridge
v0.7.0-omp.2
Published
OMP-compatible fork of pi-claude-bridge using the Claude Agent SDK.
Downloads
307
Keywords
Readme
OMP Claude Bridge
OMP extension that exposes Claude Code models through the official @anthropic-ai/claude-agent-sdk.
The bridge does not send a Claude Code OAuth token through OMP's native Anthropic provider. Claude Code manages its own authentication and sessions.
Requirements
- Bun 1.3 or newer
- OMP
- An authenticated Claude Code installation
Install
bun install
bun run buildLoad the extension from ~/.omp/agent/config.yml:
extensions:
- /path/to/omp-claude-bridgeThen start OMP with a bridge model:
omp --model claude-bridge/claude-sonnet-5List available models:
omp models claude-bridgeBuild and publish
prepack rebuilds dist/runtime.js, so both packaging and publishing include the current runtime:
bun pm pack --dry-run
bun publishConfiguration
Global configuration lives in $PI_CODING_AGENT_DIR/claude-bridge.json, falling back to ~/.omp/agent/claude-bridge.json. Project settings can be placed in .omp/claude-bridge.json.
Example:
{
"provider": {
"plan": "pro",
"longContextExtraUsage": false,
"pathToClaudeCodeExecutable": "/path/to/claude"
},
"askClaude": {
"enabled": false
}
}Startup behavior
The extension registers its model catalog through a small bootstrap. The bundled runtime, Claude Agent SDK, and MCP bridge load only when a claude-bridge/* model or the optional AskClaude tool is used.
License
MIT. This OMP port is based on elidickinson/pi-claude-bridge by Eli Dickinson.
