Command Code Go Adapter for VS Code Copilot
Use your Command Code Go subscription models in GitHub Copilot Chat — just enter your key, models are injected automatically.
English · 中文
Overview
A VS Code extension that connects Command Code Go subscription models to GitHub Copilot Chat via the LanguageModelChatProvider API.
- Auto model injection: pulls all available models (100+) live from the public
/provider/v1/models endpoint — no manual list maintenance
- Just one key: enter your API key once and all models appear in the Copilot model picker
- Syncable settings: all configuration lives in
settings.json, syncable across devices via your VS Code account
- Usage visualization: status bar shows live usage percentages and t/s generation rate; hover for compact stats, click for a full panel
- Tool calling: full support for Copilot's tool-calling loop
Installation
Download the .vsix from GitHub Releases, or install via CLI:
code --install-extension commandcode-vscode-0.3.0.vsix --force
Or in VS Code: Extensions → ... → Install from VSIX....
After installing, run Developer: Reload Window.
Configuration
Option 1: settings.json (recommended, syncable)
{
"commandcode.apiKey": "user_xxxx"
}
Option 2: Command (SecretStorage, not synced)
Command Palette → Command Code: Set API Key → enter your key.
Priority: commandcode.apiKey in settings.json > SecretStorage.
All settings
| Setting |
Default |
Description |
commandcode.apiKey |
"" |
API key; stored in settings.json (plaintext, synced) |
commandcode.baseUrl |
https://api.commandcode.ai |
Gateway base URL |
commandcode.maxTokens |
16384 |
Max output tokens per request |
commandcode.visibleModels |
[] |
Model IDs to show; empty = all |
commandcode.timeoutMs |
600000 |
Request timeout in milliseconds |
Usage
- Pick a model under
Command Code Go in the Copilot Chat model dropdown (e.g. recursive/flint-v1.0:free)
- Start chatting
Status bar
The right side of the status bar shows ✨ CC 5%·20% ↑12.3 t/s:
5%·20%: 5-hour / weekly usage percentages
↑12.3 t/s: live token generation rate (hidden when idle)
- Hover: Session / Weekly / Monthly usage, reset times, request count, token count, success rate
- Click: open the full usage panel (charts + details)
Commands
| Command |
Description |
Command Code: Set API Key |
Set key (SecretStorage) |
Command Code: Refresh Models |
Refresh the model list |
Command Code: Show Usage |
Open the usage panel |
Command Code: Refresh Usage |
Refresh usage and open the panel |
Disclaimer
This project is provided for learning and research purposes only. It is an unofficial adapter and is not affiliated with, endorsed by, or sponsored by Command Code.
If any content in this repository infringes upon the rights of any party, please contact the author immediately and it will be removed promptly.
License
MIT