v1.1.60: Read Tool Major Enhancement
Release Date: February 12, 2026
One-Sentence Summary
This update significantly enhances the Read tool, supports reading entire directories, line numbers start from 1 for more intuitiveness, also supports custom API URLs, Venice model auto-variants.
New Feature: Read Tool Reads Directories
What's Updated?
Read tool can now read entire directory contents, not just individual files.
How to Use?
When you mention a directory path in conversation, OpenCode will automatically read the file list under the directory.
What are the Benefits?
- More convenient to understand project structure
- No need to ls first then read files one by one
- AI can understand directory organization faster
Improvement: Read Tool Line Numbers Start from 1
Previous Issue
Read tool offset parameter counted from 0, but displayed line numbers started from 1, causing confusion.
Current Status
offset parameter now starts from 1, consistent with displayed line numbers, no more confusion.
Example
# Want to read starting from line 10
# Before: offset=9
# Now: offset=10New Feature: Custom Model API URL
What's Updated?
You can now configure API URL for each model individually, no need for global settings.
Use Cases
- Using model relay services
- Enterprise internal API deployments
- Different models using different endpoints
How to Configure?
Set for specific models in config file:
{
"models": {
"my-custom-model": {
"api_url": "https://your-api.example.com/v1"
}
}
}New Feature: Venice Model Auto-Variants
What's Updated?
When using Venice models, OpenCode automatically generates common variants for easier use.
New Feature: SDK Structured Output
What's Updated?
OpenCode SDK now supports Claude Agent SDK style structured output, easier to integrate into other systems.
Improvement: MCP Tool List Performance
Use Promise.all to fetch MCP tool lists in parallel, faster startup.
New Feature: TUI Hide Session Header
What's Updated?
In TUI you can toggle hiding session header for more content display space.
Improvement: Windows Input Handling
Use FFI to solve raw input and Ctrl+C handling issues on Windows, better experience.
Should You Upgrade?
| Situation | Recommendation |
|---|---|
| Need to read directories | ✅ Upgrade |
| Using custom API | ✅ Upgrade |
| Windows users | ✅ Upgrade |
| Everything works fine | Can wait for next time |
Upgrade Command:
opencode upgradeTechnical Details (Skippable)
Click to expand full update list
Core
- Support Claude Agent SDK style structured output
- Support per-model custom API URL
- Venice model auto-variant generation
- Use Promise.all to fetch MCP tool lists in parallel
- Upgrade OpenTUI to 0.1.79
- Improve compression check logic
- Read tool offset now starts from 1
- Read tool supports reading directories
TUI
- Use FFI to solve Windows raw input and Ctrl+C issues
- Add toggle to hide session header
Desktop
- Protect randomUUID in insecure browser contexts
- Fix workspace reset functionality
Community Contributions
- @K-Mistele: Support Claude Agent SDK style structured output
- @dpuyosa: Venice model auto-variant generation
- @kitlangton: TUI hide session header
- @Hona: Windows FFI input handling
- @neriousy: Fix workspace reset

