v1.1.51: Bedrock Cross-Region Fix, OSC52 Clipboard Restore
Release Date: February 04, 2026
One-Sentence Summary
This is a minor version fix, mainly resolving the prefix duplication issue for Bedrock cross-region inference models, restoring TUI OSC52 clipboard support, and fixing the headers double merge bug.
Bug Fix: Bedrock Cross-Region Inference Model Prefix Duplication
Previous Issue
When using AWS Bedrock cross-region inference models, the model name would incorrectly have the prefix added twice, causing API call failures.
Current Status
Fixed the prefix duplication issue. Cross-region inference models now work properly.
Bug Fix: Provider Headers Double Merge
Previous Issue
If a provider had authentication configured in multiple places, headers would be double-merged, potentially causing request anomalies.
Current Status
Reverted the change that caused headers double merging. Authentication information is now handled correctly.
Improvement: TUI Restore OSC52 Clipboard
What's Updated?
Restored direct support for OSC52 clipboard protocol in TUI.
What's the Use?
OSC52 is a terminal clipboard protocol that allows copying content to the local clipboard even in remote SSH sessions. If you frequently use OpenCode via SSH, this feature is very practical.
Improvement: AGENTS.md Config Directory Priority
What's Updated?
The directory specified by OPENCODE_CONFIG_DIR environment variable is now prioritized for finding AGENTS.md files.
What's the Use?
If you've customized the config directory via environment variable, AGENTS.md will be read from that directory first instead of the default location.
Improvement: Built-in Agent Documentation
What's Updated?
Added official documentation for built-in Agents, helping users understand OpenCode's built-in Agent functionality.
Should You Upgrade?
| Situation | Recommendation |
|---|---|
| Using AWS Bedrock cross-region inference | ✅ Highly Recommended |
| Using OpenCode via SSH | ✅ Recommended |
| Everything works fine | Can wait for next time |
Upgrade Command:
opencode upgradeTechnical Details (Skippable)
Click to expand full update list
Core
- Revert change that caused headers to be double merged if provider was authenticated in multiple places
- Document the built-in agents
- Prevent double-prefixing of Bedrock cross-region inference models (@sergical)
- Prioritize OPENCODE_CONFIG_DIR for AGENTS.md (@lgladysz)
TUI
- Restore direct OSC52 support
Desktop
- Tighten up session padding-top for mobile (@DNGriffin)

