diff --git a/docs/frameworks/OPENCODE.md b/docs/frameworks/OPENCODE.md index 77e875b121..542ce01498 100644 --- a/docs/frameworks/OPENCODE.md +++ b/docs/frameworks/OPENCODE.md @@ -1,7 +1,7 @@ --- title: "OpenCode Integration" version: 3.8.40 -lastUpdated: 2026-06-28 +lastUpdated: 2027-07-27 --- # OpenCode Integration @@ -24,8 +24,8 @@ Recommended for end users. Ships with OmniRoute. Writes `opencode.json` in place ```bash # After installing OmniRoute (npm i -g @omniroute/cli or local clone) omniroute config opencode \ - --baseUrl http://localhost:20128 \ - --apiKey "$OMNIROUTE_API_KEY" + --base-url http://localhost:20128 \ + --api-key "$OMNIROUTE_API_KEY" ``` Behind the scenes the CLI calls `mergeOpenCodeConfigText()` (`src/shared/services/opencodeConfig.ts:104`), so an existing `opencode.json` keeps its other providers and comments. The OmniRoute entry is added/replaced atomically.