Skip to content

v1.2.7: Major Architecture Refactoring, Julia Support, Kilo Provider

Release Date: 2026-02-19

This version is a major底层 architecture refactoring, migrating file system operations from Bun-specific APIs to standard Node.js modules, while bringing multiple new features: Julia language server, Kilo native provider, Claude/Gemini thinking mode enhancements, etc.

🎯 One-Sentence Summary

Migrated底层 from Bun to Node.js standard file system for better stability and compatibility; added Julia support, Kilo provider, Gemini 3.1 thinking mode.


✨ New Features

🔧 Julia Language Server Support

OpenCode can now provide intelligent completion, go-to-definition, and other features for Julia code.

How to use: Open OpenCode in a Julia project, and Julia LSP will be automatically enabled.

Who benefits: Julia developers, data scientists.


🤖 Kilo Native Provider

Added Kilo as a native AI model provider for OpenCode.

How to use: Find the Kilo option in the login selector.

Who benefits: Users who want to try new model providers.


🧠 Gemini 3.1 Medium Reasoning Support

Added medium reasoning support for Gemini 3.1.

How to use: When using Gemini 3.1, you can enable thinking mode in configuration.

Who benefits: Users who need AI to perform deeper reasoning.


📁 File System Migration (Bun → Node.js)

Migrated all file operations from Bun.file() to standard Filesystem module. This is a backend change, no user action required.

Benefits: Better cross-platform compatibility, more stable file operations.


🔧 Shell Hook Enhancement

shell.env hook now receives sessionID and callID parameters for easier tracking and debugging.

json
// hook input now includes
{
  "sessionID": "xxx",
  "callID": "xxx"
}

Who benefits: Developers creating custom plugins and hooks.


🔌 Plugin Authentication Provider Visibility

Plugin authentication providers now appear in the login selector.

Who benefits: Users of enterprise plugins.


🐛 Bug Fixes

Terminal Rendering and Interaction Fixes

Fixed terminal rendering and interaction issues, including terminal crosstalk problems.

Text Files Misclassified as Binary

Fixed the issue where certain text files were incorrectly identified as binary.

SQLite Migration Improvements

  • Added WAL checkpoint to optimize database performance
  • Improved ID derivation logic during JSON migration

opencode run Crash Fix

Fixed opencode run command crash issue and now displays error tool calls in output.

Clojure Syntax Highlighting

Fixed syntax highlighting issues for Clojure files.

Terraform LSP Installation

Now uses HashiCorp official API to install terraform-ls for better reliability.

GitHub Context Overflow

When GitHub context is too large, a PROMPT_TOO_LARGE error prompt is now issued.


🖥️ Desktop Updates

WSL Japanese Translation

Updated Japanese translations for WSL integration.

Sidecar Server Window Fix

Fixed the issue where sidecar would pop up a window on Windows.

Terminal Disconnect and Resync

Terminal can now correctly recover and resync after disconnection.

Other UI Adjustments

  • Fixed flickering when switching tabs
  • Optimized title bar button styles
  • Improved file tree icon display (monochrome by default, color on hover)
  • Added Shift+Tab keyboard shortcut
  • Fixed macOS Escape key handling

🖥️ TUI Updates

New Session Banner

Displays a banner with logo and project details when starting a new session.

Session List Performance

--max-count parameter now correctly limits the number of sessions displayed.

GitHub Action Branch Detection

Improved GitHub Action branch detection and handles 422 errors.


📊 Should You Upgrade?

SituationRecommendation
Using Julia for development✅ Highly recommended
Want to use Kilo provider✅ Recommended
Experiencing terminal issues✅ Recommended
Everything works fine⚪ Optional upgrade

⬆️ Upgrade Command

bash
opencode upgrade

📋 Technical Details

Click to expand full changelog

Core

  • Fixed terminal rendering and interaction issues
  • Normalize file status paths relative to instance directory
  • Migrate from Bun.Glob to npm glob package
  • Bump AI SDK packages for Google, Google Vertex, Anthropic, Bedrock
  • Add support for medium reasoning with Gemini 3.1
  • Remove use of Bun.file
  • Text files misclassified as binary - fixed
  • Bake in AWS and Google authentication packages
  • Token substitution in OPENCODE_CONFIG_CONTENT now works
  • Add Julia language server support
  • Bump GitLab AI provider to 3.6.0 for Sonnet 4.6
  • Add Kilo as a native provider
  • Fix Clojure syntax highlighting
  • Recover state after SSE reconnect
  • Keep message part order stable

TUI

  • Ensure onExit callback fires after terminal output
  • Exit cleanly without hanging after session ends
  • Style scrollbox for permission and sidebar
  • Display new session banner with logo and project details

Desktop

  • Update Japanese translations for WSL integration
  • Fixed sidecar spawning a window on Windows
  • Terminal disconnect and resync functionality fixed
  • UI no longer flashes when switching tabs

← Back to Changelog