v1.17.4

Zyphra/Zonosv1.17.4Jun 12, 2026by opencode-agent[bot]

AI Summary

The release introduces connector-based authentication, v2 API endpoints for session management, and better support for local MCP servers starting from workspace-relative directories.

Key Highlights

  • Added `cwd` support for local MCP servers
  • Added connector-based authentication flows and stored provider credentials
  • Added v2 API endpoints for sessions and location resolution
  • Fixed Gemini tool schemas to prevent incompatibility
  • Improved content-filter error visibility

New Features

  • Connector-based authentication
  • v2 API endpoints
  • CWD support for local MCP servers

Full Release Notes

## Core

### Improvements

- Added `cwd` support for local MCP servers so they can start from a workspace-relative directory. (@Grantmartin2002)
- Added connector-based authentication flows and support for stored provider credentials.
- Added v2 API endpoints to create and fetch sessions, list session questions, and resolve the active location.
- File reads now return raw content with the correct content type for API and SDK clients.
- MCP server log notifications are now surfaced in opencode logs.

### Bugfixes

- Fixed Gemini tool schemas that used multi-type fields so compatible tools keep working. (@Killusions)
- Content-filtered model responses now surface as visible errors instead of failing silently. (@kkdawkins)
- Fixed MCP auth and debug requests dropping configured headers.
- Snapshot creation now reuses source Git objects to avoid long re-hashing delays on huge repos. (@dmtrKovalenko)
- Fixed MCP catalog request timeouts not applying when listing prompts, resources, or tools.

**Thank you to 5 community contributors:**
- @dmtrKovalenko:
  - fix(snapshot): reuse source git objects to avoid re-hashing huge repos (#31798)
- @tobwen:
  - fix(tui): preserve exit epilogue during scoped shutdown (#31805)
- @kkdawkins:
  - fix(opencode): surface content-filter finish reason as visible error (#31745)
- @Killusions:
  - fix(gemini): prevent gemini incompatibility with some tools (#31877)
- @Grantmartin2002:
  - feat(opencode): support cwd on local MCP servers (#30676)