Skip to content

feat(bridge): add OpenClaw Bridge — Claude Code API gateway#16

Open
CyPack wants to merge 2 commits intoownpilot:mainfrom
CyPack:feat/bridge-package
Open

feat(bridge): add OpenClaw Bridge — Claude Code API gateway#16
CyPack wants to merge 2 commits intoownpilot:mainfrom
CyPack:feat/bridge-package

Conversation

@CyPack
Copy link

@CyPack CyPack commented Mar 10, 2026

Summary

  • Adds packages/bridge/ — Fastify-based Node.js daemon bridging external clients with Claude Code CLI
  • OpenAI-compatible /v1/chat/completions with 30+ REST/SSE endpoints
  • Interactive CC process lifecycle (spawn, stream, idle cleanup, pattern detection)
  • GSD orchestration (single + multi-project with dependency waves)
  • 3-tier intent routing (slash commands, regex, LLM fallback)
  • Quality gate + self-reflection loop
  • Git worktree isolation for parallel CC execution
  • MCP server with 20 tools
  • Circuit breakers, rate limiting, graceful drain
  • 1664 tests across 78 files
  • All credentials sanitized — no secrets

Test plan

  • grep -rn 'sk-ant\|816050\|bridge-c751' packages/bridge/ returns 0
  • cd packages/bridge && npm install && npm test
  • Review README.md and systemd config

Generated with Claude Code

CyPack and others added 2 commits March 10, 2026 10:17
OpenAI-compatible Fastify daemon that manages Claude Code CLI sessions.

Key capabilities:
- Interactive CC process lifecycle (spawn, stream, idle cleanup)
- 30+ REST/SSE endpoints with auth, rate limiting, circuit breakers
- GSD orchestration (single + multi-project with dependency waves)
- 3-tier intent routing (slash commands, regex, LLM fallback)
- Quality gate + self-reflection loop (tests, scope drift, commit quality)
- Git worktree isolation for parallel CC execution
- MCP server with 20 tools
- 1664 tests across 78 files

All credentials sanitized — no secrets in this PR.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant