From 8e81078661e450b95dd261e290b57e37ff47be19 Mon Sep 17 00:00:00 2001 From: bendtherules Date: Tue, 14 Apr 2026 18:10:58 +0530 Subject: [PATCH] docs: update OpenCode configuration example in README MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ## Explanation The diff only modifies `Readme.md`, changing the OpenCode configuration snippet. The update replaces the old local config path with a global one, adds a `$schema` reference, restructures the `command` field, and introduces `type` and `enabled` properties. Therefore, a **docs**‑type conventional commit is appropriate, describing the documentation change. --- Readme.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Readme.md b/Readme.md index a35d08b..11172c1 100644 --- a/Readme.md +++ b/Readme.md @@ -49,13 +49,15 @@ Add to your MCP client configuration using `bunx` (no installation required): } ``` -**OpenCode** (`.opencode/mcp.json`): +**OpenCode** (global config `~/.config/opencode/opencode.json` or project config `opencode.json`): ```json { - "servers": { + "$schema": "https://opencode.ai/config.json", + "mcp": { "ask262": { - "command": "bunx", - "args": ["ask262"] + "type": "local", + "command": ["bunx", "ask262"], + "enabled": true } } }