Skip to content

Repository files navigation

CommandCode Bridge

Single-account proxy bridge for Command Code CLI (cmd). TUI dashboard with progress bars + OpenAI-compatible and Anthropic-compatible HTTP proxy endpoints.

Turn your Command Code Go plan ($1/month) into OpenAI and Anthropic-compatible APIs for use with OpenCode, Zed, Cursor, or any compatible client.

Screenshot

Features

  • OpenAI Compatible/v1/chat/completions endpoint, streaming + non-streaming
  • Anthropic Compatible/v1/messages endpoint with full SSE streaming
  • TUI Dashboard — 7 info pages with progress bars and real-time log
  • Plan-Aware — Models sorted by plan access level
  • Cost Sync — Sync Command Code model pricing to CLI agent configs (OpenCode, Aider, Goose)
  • Port Config — Change port via TUI with availability scan, persisted across restarts
  • Cross-platform — Linux (primary), macOS/Windows (experimental)

Quick Install

npm install -g ./commandcode-bridge-v1.2.0.tgz
commandcode-bridge run

Update when a new release is available:

commandcode-bridge update

Sync model pricing to your CLI agents (OpenCode, Aider, Goose):

commandcode-bridge cost-sync

Requirements: Node.js 18+, a Command Code account.

Documentation

  • Installation — install options, prerequisites, platform support
  • API Reference — proxy endpoints, client configs (OpenCode, Zed, Cursor)
  • TUI — pages, key bindings, plan access, port config, cost sync
  • Architecture — file structure, proxy flow, protocol translation
  • Changelog — release history

License

MIT. See LICENSE.

About

TUI dashboard + OpenAI/Anthropic compatible proxy bridge for Command Code CLI (cmd). Visualize usage and sync model pricing to CLI agents.

Topics

Resources

Stars

Watchers

Forks

Releases

Contributors

Languages