OpenCode v1.1.65: Plugin Hooks & Windows Fixes
Plugin hooks, Windows stability fixes, and desktop improvements in OpenCode v1.1.65. Event stream reconnection and provider model toggles now available.
TL;DR
- New tool.definition hook lets plugins modify tool descriptions and parameters
- Fixed ACP hanging indefinitely in thinking state on Windows
- Desktop event stream reconnection and provider model toggle improvements
New
- tool.definition hook — Plugins can now modify tool descriptions and parameters at runtime, giving you more control over how tools behave in your workflows.
Fixed
- ACP hanging on Windows — Resolved indefinite hanging when ACP enters thinking state on Windows systems.
- Event stream reconnection — Desktop now properly reconnects the event stream after disconnects.
- Directory @-mentions — @-mentioning a directory now correctly uses the read tool instead of the deprecated list tool.
- Prompt input quirks — Fixed unexpected behavior in the prompt input field.
- Store creation failure — Resolved "failed to create store" errors in the app.
- Notification navigation — Notifications now properly navigate to their associated session.
Improved
- Provider model toggle — Settings now let you toggle all provider models at once.
- Loading window optimization — Only shows the loading window when SQLite migration is actually necessary, reducing unnecessary UI.
- Token substitution — Reverted token substitution in OPENCODE_CONFIG_CONTENT to restore expected behavior.
- Worktree management — Removed worktree delete functionality.
Update with: brew upgrade opencode or download from the release page.
Source: OpenCode