v1.17.4
v1.17.4
View on GitHubView PackagePublished: Jun 12, 2026

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)