OpenCode v1.1.60: Claude SDK & Windows Fixes
OpenCode v1.1.60 adds Claude SDK structured output support, fixes Windows input handling, and improves the read tool with directory support and proper line indexing.
TL;DR
- Claude agent SDK-style structured outputs now supported in OpenCode SDK
- Windows raw input and Ctrl+C handling fixed via FFI
- Read tool now 1-indexed and supports directory reading
New
- Claude agent SDK structured outputs — OpenCode SDK now supports Claude agent SDK-style structured outputs for better model integration.
- Custom API URL per model — Configure different API endpoints for different models without global overrides.
- Venice model variant generation — Automatic variant generation for Venice models reduces manual configuration.
- Directory reading in read tool — Read tool now supports directory listing alongside file operations.
- MCP listTools performance — Promise.all optimization speeds up tool discovery calls.
- Session header toggle in TUI — Hide the session header in terminal UI for cleaner interface.
Fixed
- Windows Ctrl+C and raw input handling — FFI-based fix resolves input issues on Windows systems.
- Read tool indexing — Offset now 1-indexed to match line numbers and prevent off-by-one confusion.
- Workspace reset — Desktop app workspace reset functionality now works correctly.
- UUID generation in insecure contexts — randomUUID now guarded for browser environments.
Update: npm install opencode@1.1.60 or check the release page for other package managers.
Source: OpenCode