mirror of
https://github.com/bendtherules/ask262.git
synced 2026-08-18 13:21:55 +00:00
docs: update OpenCode configuration example in README
--- ## 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.
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user