v1.17.4
khoj-ai/khojv1.17.4Jun 12, 2026by opencode-agent[bot]
AI Summary
Improves MCP server compatibility and adds `cwd` support, while fixing Gemini tool schemas and snapshot creation performance.
Key Highlights
- Added `cwd` support for local MCP servers
- File reads return raw content with correct content type
- MCP server log notifications surfaced in logs
- Fixed Gemini tool schemas for multi-type fields
- Snapshot creation reuses source Git objects
New Features
- `cwd` support for local MCP servers
- MCP server log notifications
- Snapshot creation optimization
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)