Skip to content

Latest commit

 

History

History
60 lines (42 loc) · 1.5 KB

File metadata and controls

60 lines (42 loc) · 1.5 KB

Installation

Quick Install (from npm tarball)

Download the .tgz from GitHub Releases, then:

npm install -g ./commandcode-bridge-vX.Y.Z.tgz
commandcode-bridge run

Updating

Once installed, update from the bridge itself:

commandcode-bridge update

The update command fetches the latest release tag from GitHub API, downloads the .tgz asset, removes the previous install, and runs npm install -g. The API call is cached locally for 1 hour to avoid rate limits. A restart is required after updating.

Syncing Model Pricing

Sync Command Code pricing into your CLI agent configs (OpenCode, Aider, Goose):

commandcode-bridge cost-sync

Or use the TUI Cost Sync page ([7] in the dashboard). Pricing is validated against the live bridge /v1/models before anything is written.

Build from Source

git clone https://github.com/Khip01/commandcode-bridge
cd commandcode-bridge
./build           # dart pub get + dart compile exe
./run             # TUI mode
./run --server    # Headless server mode

Requires Dart SDK 3.10+.

Platform Support

Platform Status Clipboard
Linux Primary (fully tested) wl-copy -> xclip -> OSC 52
macOS Experimental pbcopy -> OSC 52
Windows Experimental clip -> OSC 52

Prerequisites

  • Node.js 18+ (for npm launcher)
  • A Command Code account with active plan
  • Run cmd login to authenticate first