v1.1.65: Tool Definition Hook
Release Date: February 13, 2026
One-Sentence Summary
This update adds tool.definition Hook for plugins to modify tool descriptions and parameters, and fixes Windows ACP freeze, multiple desktop issues.
New Feature: Tool Definition Hook
What's Updated?
Plugins can now use tool.definition Hook to modify tool descriptions and parameters.
What is This?
Hooks are plugin extension points. Through this new Hook, plugins can:
- Modify tool description text
- Adjust tool parameter definitions
- Customize tool display
Use Cases
- Add custom hints for specific tools
- Hide unneeded tool parameters
- Adjust tool default behavior descriptions
Improvement: @directory Uses Read Tool
What's Updated?
When you @ a directory in conversation, OpenCode now uses Read tool instead of deprecated List tool.
What are the Benefits?
- Get more complete directory information
- More consistent behavior
- Preparation for future List tool removal
Bug Fix: Windows ACP Freeze
Previous Issue
On Windows, ACP (Agent Communication Protocol) would sometimes indefinitely get stuck in thinking state.
Current Status
Fixed this issue, no more freezing on Windows.
Improvement: Desktop
Event Stream Reconnection
Desktop app automatically reconnects event stream after disconnection, more stable.
Batch Model Switching
In settings you can switch models for all providers at once, no need to switch one by one.
Loading Page Optimization
Optimized desktop loading page, only shows loading window when SQLite migration is needed.
Notification Navigation
Clicking notifications navigates directly to the corresponding session.
Input Box Fix
Fixed some prompt input box behavior issues.
Should You Upgrade?
| Situation | Recommendation |
|---|---|
| Developing plugins | ✅ Upgrade |
| Windows users | ✅ Highly Recommended |
| Using desktop version | ✅ Upgrade |
| Everything works fine | Can wait for next time |
Upgrade Command:
opencode upgradeTechnical Details (Skippable)
Click to expand full update list
Core
- Revert token replacement in OPENCODE_CONFIG_CONTENT
- @directory uses Read tool instead of deprecated List tool
- Add tool.definition Hook, allow plugins to modify tool descriptions and parameters
- Remove worktree delete functionality
- Resolve issue where ACP indefinitely stuck in thinking state on Windows
Desktop
- Reconnect event stream on disconnect
- Batch switch all provider models in settings
- Clean up desktop loading page
- Notification click navigates to session
- Fix prompt input box behavior issues
- Fix store creation failure in app
- Only show loading window when SQLite migration is needed
Community Contributions
- @spoons-and-mirrors: Add tool.definition Hook
- @ASidorenkoCode: Fix Windows ACP freeze issue
- @Brendonovich: Multiple desktop optimizations (loading page, SQLite migration detection)

