Thanks for contributing to openclaw-opencode-bridge.
- Keep this project focused on one goal: expose
opencodeas an OpenAI-compatible API for OpenClaw-like clients. - Prefer small, composable changes over large rewrites.
npm startBridge endpoints:
GET /healthGET /v1/modelsPOST /v1/chat/completions
- Open an issue first for behavior changes or API changes.
- Keep backward compatibility whenever possible.
- Add or update docs for any user-visible change.
- Include a short test/proof in PR description:
- sample request
- sample response
- Do not commit secrets (
.env, tokens, auth.json, logs).
feat: ...new behaviorfix: ...bug fixdocs: ...documentation onlyrefactor: ...no behavior changechore: ...maintenance
- Prefer clear, explicit code over abstractions.
- Keep dependencies minimal.
- Preserve existing env variable compatibility unless strongly justified.