Repository navigation
v1.10.2 — Windows path fix, OPENCODE_SERVE_ARGS, model variant
User-facing bugfix release. Three commits sat unreleased on main since v1.10.1; cutting v1.10.2 unblocks Windows clients without dragging the larger SDK migration (PR #11) along.
Fixed
-
normalizeDirectoryrejected valid Windows absolute paths (#5, #6, #13) — the resolved-path check usedstartsWith("/"), which only matches POSIX. On Windows hosts (includingnpx-spawned MCPs talking to a WSL OpenCode),path.resolve("/mnt/d/Projects/foo")returns"\\mnt\\d\\Projects\\foo", failing the check and rendering every tool'sdirectoryparameter unusable for Windows clients.Switched to the platform-aware
path.isAbsolutefromnode:path, which accepts both POSIX (/home/user/project) and Windows (C:\Users\me\project,\\server\share) absolute paths. Updated the error message to show both forms.
Added
OPENCODE_SERVE_ARGSenvironment variable (#7, #9) — pass custom arguments to theopencode servesubprocess at auto-start. Useful for advanced server configuration. Thanks @xpufx for the issue.- Model variant parameter on all model-accepting tools (#8, #10) —
opencode_ask,opencode_run,opencode_fire,opencode_reply,opencode_message_send*now accept an optional `variant` to target a specific model variant. Thanks @iamabigartist for the issue.
Install
```bash
npx -y opencode-mcp@1.10.2
```
Or pin in your MCP client config:
```json
{
"command": "npx",
"args": ["-y", "opencode-mcp@1.10.2"]
}
```
Stats
- 79 tools
- 321 tests passing
Full Changelog: v1.10.1...v1.10.2