forked from opencode/ocgo
docs: add cc launch example at the begining of the README
This commit is contained in:
parent
ee8f441a15
commit
502e6d28c7
1 changed files with 7 additions and 0 deletions
|
|
@ -2,6 +2,13 @@
|
||||||
|
|
||||||
`ocgo` is a small Go CLI that lets [Claude Code](https://docs.anthropic.com/en/docs/claude-code) run against an OpenCode Go subscription. It starts a local Anthropic-compatible proxy, translates Claude Code's Anthropic Messages API requests to OpenCode Go's OpenAI-compatible chat completions endpoint, and launches `claude` with the right environment variables.
|
`ocgo` is a small Go CLI that lets [Claude Code](https://docs.anthropic.com/en/docs/claude-code) run against an OpenCode Go subscription. It starts a local Anthropic-compatible proxy, translates Claude Code's Anthropic Messages API requests to OpenCode Go's OpenAI-compatible chat completions endpoint, and launches `claude` with the right environment variables.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
ocgo setup
|
||||||
|
ocgo launch claude --model kimi-k2.6
|
||||||
|
```
|
||||||
|
|
||||||
|
Use your OpenCode Go subscription from Claude Code in one command — no manual proxy setup required.
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
- Save and reuse your OpenCode Go API key.
|
- Save and reuse your OpenCode Go API key.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue