v3.1.7
What's New in v3.1.7
π MCP OAuth 2.1 Authentication (#1169)
Full OAuth 2.1 support for MCP servers β RFC 7591 (Dynamic Client Registration), RFC 9728 (Protected Resource Metadata), RFC 8414 (Authorization Server Discovery), RFC 8707 (Resource Indicators). Includes secure token storage, step-up authorization, and CLI commands (opencode mcp oauth login/logout/status).
π§ LSP Client Migration to vscode-jsonrpc (#1095)
Replaced custom JSON-RPC implementation with vscode-jsonrpc library for improved protocol stability. BunβNode stream bridges for compatibility. ~60 line net reduction.
Bug Fixes
- background-agent: Prevent zombie processes by aborting all child sessions on shutdown (#1240)
- model-resolver: Respect UI model selection in agent initialization (#1158)
- model-resolver: Use connected providers cache when model cache is empty (#1227)
- delegate-task: Pass registered agent model explicitly for subagent_type (#1225)
- start-work: Prevent overwriting session agent if already set; inherit parent model (#1201)