---
title: "OpenCode v1.2.7 | Havoptic"
description: "Core - Fixed terminal rendering and interaction issues in the application - Normalize file status paths relative to instance directory (@shantur) - Migrate from Bun.Glob to npm glob package - Bump..."
image: "https://dev.havoptic.com/og-image.jpg"
---

# OpenCode v1.2.7

OpenCode v1.2.7 was released on February 19, 2026.

## Summary

Core - Fixed terminal rendering and interaction issues in the application - Normalize file status paths relative to instance directory (@shantur) - Migrate from Bun.Glob to npm glob package - Bump...

## Release Context

- This was the 40th OpenCode release of 2026 tracked by Havoptic.
- It shipped 3 days after [OpenCode v1.2.6](https://dev.havoptic.com/r/opencode-1.2.6) (February 16, 2026).

### Shipped around the same time

Within 3 days of this release, other AI coding tools also shipped:

- [Zed v0.224.11](https://dev.havoptic.com/r/zed-0.224.11) (February 21, 2026)
- [GitHub Copilot CLI v0.0.414](https://dev.havoptic.com/r/github-copilot-v0.0.414) (February 21, 2026)
- [Devin Desktop v1.9552.25](https://dev.havoptic.com/r/windsurf-1.9552.25) (February 21, 2026)
- [GitHub Copilot CLI v0.0.413](https://dev.havoptic.com/r/github-copilot-v0.0.413) (February 20, 2026)
- [Claude Code v2.1.50](https://dev.havoptic.com/r/claude-code-2.1.50) (February 20, 2026)

### Compare OpenCode

- [OpenCode vs Claude Code](https://dev.havoptic.com/compare/claude-code-vs-opencode)
- [OpenCode vs OpenAI Codex CLI](https://dev.havoptic.com/compare/openai-codex-vs-opencode)
- [OpenCode vs Cursor](https://dev.havoptic.com/compare/cursor-vs-opencode)
- [OpenCode vs Gemini CLI](https://dev.havoptic.com/compare/gemini-cli-vs-opencode)
- [OpenCode vs Kiro CLI](https://dev.havoptic.com/compare/kiro-vs-opencode)
- [OpenCode vs GitHub Copilot CLI](https://dev.havoptic.com/compare/github-copilot-vs-opencode)
- [OpenCode vs Devin Desktop](https://dev.havoptic.com/compare/opencode-vs-windsurf)
- [OpenCode vs Antigravity CLI](https://dev.havoptic.com/compare/antigravity-cli-vs-opencode)
- [OpenCode vs Grok Build](https://dev.havoptic.com/compare/grok-build-vs-opencode)
- [OpenCode vs Cline](https://dev.havoptic.com/compare/cline-vs-opencode)
- [OpenCode vs Zed](https://dev.havoptic.com/compare/opencode-vs-zed)
- [OpenCode vs Factory Droid](https://dev.havoptic.com/compare/factory-droid-vs-opencode)
- [OpenCode vs Devin](https://dev.havoptic.com/compare/devin-vs-opencode)
- [OpenCode vs Lovable](https://dev.havoptic.com/compare/lovable-vs-opencode)
- [OpenCode vs Amp](https://dev.havoptic.com/compare/amp-vs-opencode)
- [OpenCode vs GitHub Copilot in VS Code](https://dev.havoptic.com/compare/copilot-vscode-vs-opencode)
- [OpenCode vs Replit Agent](https://dev.havoptic.com/compare/opencode-vs-replit-agent)
- [OpenCode vs Bolt](https://dev.havoptic.com/compare/bolt-vs-opencode)
- [OpenCode vs v0](https://dev.havoptic.com/compare/opencode-vs-v0)

## Release Notes

Core - Fixed terminal rendering and interaction issues in the application - Normalize file status paths relative to instance directory (@shantur) - Migrate from Bun.Glob to npm glob package - Bump AI SDK packages for Google, Google Vertex, Anthropic, Bedrock, and provider utils - Add support for medium reasoning with Gemini 3.1 - Remove use of Bun.file - Text files misclassified as binary - Fetch default server at top level in desktop application - Terminal rework in the app - Bake in the AWS and Google authentication packages - Token substitution in OPENCODECONFIGCONTENT now works correctly (@ariane-emory) - Revert migration from Bun.file() to Filesystem module - Migrate project.ts from Bun.file() to Filesystem/stat modules - Migrate read tool from Bun.file() to Filesystem module - Migrate write tool from Bun.file() to Filesystem module - Migrate Edit tool from Bun.file() to Filesystem module - Migrate remaining tool files from Bun.file() to Filesystem/stat modules - Migrate storage.ts from Bun.file()/Bun.write() to Filesystem module - Migrate src/storage/json-migration.ts from Bun.file() to Filesystem module - Migrate MCP auth module from Bun file APIs to Filesystem module - Migrate storage database from Bun.file() to statSync for file existence checks - Migrate session prompt module from Bun.file() to Filesystem/stat modules - Fix crash in opencode run and show errored tool calls in output - Migrate skill discovery to use Filesystem module instead of Bun file APIs - Migrate session instruction handling from Bun.file() to Filesystem module - Migrate provider.ts from Bun.file() to Filesystem module - Migrate shell.ts from Bun.file() to statSync for improved file system operations - Migrate log utility from Bun.file() to Node.js fs module for better compatibility - Migrate models.ts from Bun.file()/Bun.write() to Filesystem module - Use HashiCorp releases API for installing terraform-ls (@edubxb) - Migrate LSP server from Bun.file()/Bun.write() to Filesystem module - Migrate session command from Bun.file() to statSync for improved file system operations - Migrate agent.ts from Bun.file() to Filesystem module - Migrate auth module from Bun.file()/Bun.write() to Filesystem module - Pass sessionID and callID to shell.env hook input (@tesdal) - Fix terminal cross-talk issue in the application - Update SST version - Migrate src/global/index.ts from Bun.file() to Filesystem module - Emit PROMPTTOOLARGE error when GitHub context overflows (@elithrar) - Migrate src/bun/index.ts from Bun.file()/Bun.write() to Filesystem module - Migrate config/markdown.ts from Bun.file() to Filesystem module - Migrate file/index.ts from Bun.file() to Filesystem module - Migrate format/formatter.ts from Bun.file() to Filesystem module - Allow readJson to be called without explicit type parameter - Migrate file/ripgrep.ts from Bun APIs to Filesystem module - Migrate index.ts from Bun.file() to Filesystem module - Add Julia language server support (@zarly) - Bump GitLab AI provider to 3.6.0 to add Sonnet 4.6 support (@vglafirov) - Add centralized filesystem module for Bun.file migration - Fix Clojure syntax highlighting (@finalfantasia) - Ensure explore subagent prompts for external directory permission instead of auto-denying - Don't autoload kilo - Add Kilo as a native provider (@Nomadcxx) - Simplify redundant ternary in updateMessage (@yikayiyo) - Ensure Read tool uses fs/promises for all file system operations - Make read tool more memory efficient - Surface plugin auth providers in the login picker (@anoldguy) - Invalidate OAuth credentials when OAuth provider indicates they are invalid (@GreenStage) - Don't fetch models.dev on completion (@gigamonster256) - Recover state after SSE reconnect and harden SSE streams - Keep message part order stable when files resolve asynchronously - Drop IDs from attachments in tools and assign them in prompt.ts instead TUI - Improve GitHub action branch detection and handle 422 errors (@elithrar) - Ensure onExit callback fires after terminal output is written - Migrate TUI thread module from Bun.file() to Filesystem module - Migrate agent command from Bun.file()/Bun.write() to Filesystem module - Migrate import command from Bun.file() to Filesystem module - Update pasteImage to only increment count when the previous attachment is an image (@OpeOginni) - Migrate editor.ts from Bun.file()/Bun.write() to Filesystem module - Migrate clipboard.ts from Bun.file() to Filesystem module - Migrate CLI run command from Bun.file() to Filesystem/stat modules - Session list --max-count parameter now correctly limits the number of sessions displayed (@mharris717) - Exit cleanly without hanging after session ends - Style scrollbox for permission and sidebar (@akronb) - Increase button heights and improve permission prompt layout alignment - Display new session banner with logo and project details in TUI Desktop - Update Japanese translations for WSL integration (@taroj1205) - Made localhost URLs work correctly in isLocal function - Navigate to last session when navigating to a project - Fix typecheck errors in app - Deduplicate allServers list in app - Adjust session turn horizontal padding - Tighten prompt dock padding in app - Fixed sidecar spawning a window on Windows - Delay prompt mode toggle tooltip - Shorten prompt mode toggle tooltips in the app - Reduce review panel padding - Tweak search button style in UI - Expanded color state on titlebar buttons - Tweak hover and active styles for title bar buttons - Share button now has a border - Adjust file tree background color - Handle sidecar key in projectsKey for desktop projects - Fixed desktop app incorrectly identifying local servers - Refactor server management backend - Use group-hover for file tree icon color swap at all nesting levels - Simplify mode toggle icon styling in TUI - Clean up desktop implementation - Temporarily disable WSL support in desktop application - Use radio group in prompt input - Simplify prom...

[View original release](https://github.com/anomalyco/opencode/releases/tag/v1.2.7)

## Other Recent OpenCode Releases

- [v2.4.2](https://dev.havoptic.com/r/opencode-2.4.2) (November 26, 2026)
- [v2.4.1](https://dev.havoptic.com/r/opencode-2.4.1) (November 23, 2026)
- [v2.4.0](https://dev.havoptic.com/r/opencode-2.4.0) (November 23, 2026)
- [v2.3.2](https://dev.havoptic.com/r/opencode-2.3.2) (November 18, 2026)
- [v2.3.1](https://dev.havoptic.com/r/opencode-2.3.1) (November 18, 2026)

Upgrading from v1.2.7? [See all 177 releases since](https://dev.havoptic.com/r/opencode/diff?from=1.2.7&to=latest).

[All OpenCode releases](https://dev.havoptic.com/tools/opencode) · [All AI coding tool releases on Havoptic](https://dev.havoptic.com/)

```json
{
  "@context": "https://schema.org",
  "@type": "WebSite",
  "name": "Havoptic",
  "alternateName": "Havoptic AI Tool Releases",
  "url": "https://www.havoptic.com/",
  "description": "Havoptic tracks every release of 20 AI coding tools, from Claude Code and Codex CLI to Cursor and Copilot CLI, and explains each one in plain English within hours of shipping.",
  "publisher": {
    "@type": "Organization",
    "name": "Havoptic",
    "url": "https://www.havoptic.com/"
  },
  "potentialAction": {
    "@type": "SearchAction",
    "target": "https://www.havoptic.com/?q={search_term_string}",
    "query-input": "required name=search_term_string"
  }
}
```

```json
{
  "@context": "https://schema.org",
  "@type": "SoftwareApplication",
  "name": "Havoptic",
  "applicationCategory": "DeveloperApplication",
  "operatingSystem": "Web",
  "offers": {
    "@type": "Offer",
    "price": "0",
    "priceCurrency": "USD"
  },
  "description": "Havoptic tracks every release of 20 AI coding tools, from Claude Code and Codex CLI to Cursor and Copilot CLI, and explains each one in plain English within hours of shipping."
}
```

```json
{
  "@context": "https://schema.org",
  "@type": "Organization",
  "@id": "https://www.havoptic.com/#organization",
  "name": "Havoptic",
  "url": "https://www.havoptic.com/",
  "logo": {
    "@type": "ImageObject",
    "url": "https://www.havoptic.com/og-image.jpg",
    "width": 1200,
    "height": 630
  },
  "description": "Release tracking, plain-English release notes and side-by-side comparisons for AI coding tools, updated hourly.",
  "foundingDate": "2025",
  "sameAs": [
    "https://github.com/scotthavird/havoptic.com",
    "https://x.com/havoptic"
  ],
  "founder": {
    "@id": "https://www.havoptic.com/authors/scott-havird#person"
  }
}
```

```json
{
  "@context": "https://schema.org",
  "@type": "DataCatalog",
  "@id": "https://www.havoptic.com/#data-catalog",
  "name": "Havoptic AI Coding Tool Release Data",
  "description": "Every release of 20 AI coding tools, dated and explained in plain English within hours of shipping, plus feature comparison matrices, free to query through an API, an MCP server, feeds and a CLI. Covers Claude Code, OpenAI Codex CLI, Cursor, Gemini CLI, Kiro, GitHub Copilot CLI, Devin Desktop, Antigravity CLI, Grok Build, Cline, OpenCode, Zed, Factory Droid, Devin (cloud agent), Lovable, Amp, GitHub Copilot in VS Code, Replit Agent, Bolt, and v0.",
  "url": "https://www.havoptic.com/api-docs",
  "publisher": {
    "@type": "Organization",
    "name": "Havoptic",
    "url": "https://www.havoptic.com/"
  },
  "dataset": [
    {
      "@type": "Dataset",
      "@id": "https://www.havoptic.com/data/releases.json",
      "name": "AI Coding Tool Releases",
      "description": "Complete release history for Claude Code, OpenAI Codex CLI, Cursor, Gemini CLI, Kiro, GitHub Copilot CLI, Devin Desktop, Antigravity CLI, Grok Build, Cline, OpenCode, Zed, Factory Droid, Devin (cloud agent), Lovable, Amp, GitHub Copilot in VS Code, Replit Agent, Bolt, and v0 — including version numbers, release dates, plain-English summaries, and full changelogs. Updated hourly.",
      "url": "https://www.havoptic.com/data/releases.json",
      "distribution": {
        "@type": "DataDownload",
        "encodingFormat": "application/json",
        "contentUrl": "https://www.havoptic.com/data/releases.json"
      },
      "temporalCoverage": "2025/..",
      "creator": {
        "@id": "https://www.havoptic.com/#organization"
      },
      "maintainer": {
        "@type": "Organization",
        "name": "Havoptic",
        "url": "https://www.havoptic.com/"
      },
      "isAccessibleForFree": true,
      "license": "https://creativecommons.org/licenses/by/4.0/",
      "keywords": [
        "Claude Code",
        "OpenAI Codex CLI",
        "Cursor",
        "Gemini CLI",
        "Kiro",
        "GitHub Copilot CLI",
        "Devin Desktop",
        "Windsurf",
        "Antigravity CLI",
        "Grok Build",
        "Cline",
        "OpenCode",
        "Zed",
        "Factory Droid",
        "Devin (cloud agent)",
        "Lovable",
        "Amp",
        "GitHub Copilot in VS Code",
        "Replit Agent",
        "Bolt",
        "v0",
        "AI coding tools",
        "release history",
        "changelogs"
      ]
    },
    {
      "@type": "Dataset",
      "@id": "https://www.havoptic.com/data/feature-matrix.json",
      "name": "AI Coding Tool Feature Matrix",
      "description": "Side-by-side feature comparison data for 20 AI coding tools across categories: Core Editing, Terminal Integration, MCP Support, IDE Integrations, and Agentic Features.",
      "url": "https://www.havoptic.com/data/feature-matrix.json",
      "distribution": {
        "@type": "DataDownload",
        "encodingFormat": "application/json",
        "contentUrl": "https://www.havoptic.com/data/feature-matrix.json"
      },
      "creator": {
        "@id": "https://www.havoptic.com/#organization"
      },
      "maintainer": {
        "@type": "Organization",
        "name": "Havoptic",
        "url": "https://www.havoptic.com/"
      },
      "isAccessibleForFree": true,
      "license": "https://creativecommons.org/licenses/by/4.0/",
      "keywords": [
        "AI coding tools",
        "feature comparison",
        "Claude Code",
        "Cursor",
        "GitHub Copilot",
        "Gemini CLI",
        "Devin Desktop",
        "Windsurf"
      ]
    }
  ]
}
```

```json
{
  "@context": "https://schema.org",
  "@type": "BreadcrumbList",
  "itemListElement": [
    {
      "@type": "ListItem",
      "position": 1,
      "name": "Home",
      "item": "https://dev.havoptic.com"
    },
    {
      "@type": "ListItem",
      "position": 2,
      "name": "OpenCode",
      "item": "https://dev.havoptic.com/tools/opencode"
    },
    {
      "@type": "ListItem",
      "position": 3,
      "name": "v1.2.7",
      "item": "https://dev.havoptic.com/r/opencode-1.2.7"
    }
  ]
}
```

```json
{
  "@context": "https://schema.org",
  "@type": "TechArticle",
  "headline": "OpenCode v1.2.7",
  "datePublished": "2026-02-19T21:27:47.000Z",
  "dateModified": "2026-02-19T21:27:47.000Z",
  "url": "https://dev.havoptic.com/r/opencode-1.2.7",
  "image": "https://dev.havoptic.com/og-image.jpg",
  "description": "Core - Fixed terminal rendering and interaction issues in the application - Normalize file status paths relative to instance directory (@shantur) - Migrate from Bun.Glob to npm glob package - Bump...",
  "isBasedOn": "https://github.com/anomalyco/opencode/releases/tag/v1.2.7",
  "about": {
    "@type": "SoftwareApplication",
    "name": "OpenCode",
    "softwareVersion": "1.2.7",
    "applicationCategory": "DeveloperApplication",
    "url": "https://github.com/anomalyco/opencode/releases/tag/v1.2.7",
    "releaseNotes": "Core - Fixed terminal rendering and interaction issues in the application - Normalize file status paths relative to instance directory (@shantur) - Migrate from Bun.Glob to npm glob package - Bump AI SDK packages for Google, Google Vertex, Anthropic, Bedrock, and provider utils - Add support for medium reasoning with Gemini 3.1 - Remove use of Bun.file - Text files misclassified as binary - Fetch default server at top level in desktop application - Terminal rework in the app - Bake in the AWS and Google authentication packages - Token substitution in OPENCODECONFIGCONTENT now works correctly (@ariane-emory) - Revert migration from Bun.file() to Filesystem module - Migrate project.ts from Bun.file() to Filesystem/stat modules - Migrate read tool from Bun.file() to Filesystem module - Migrate write tool from Bun.file() to Filesystem module - Migrate Edit tool from Bun.file() to Filesystem module - Migrate remaining tool files from Bun.file() to Filesystem/stat modules - Migrate storage.ts from Bun.file()/Bun.write() to Filesystem module - Migrate src/storage/json-migration.ts from Bun.file() to Filesystem module - Migrate MCP auth module from Bun file APIs to Filesystem module - Migrate storage database from Bun.file() to statSync for file existence checks - Migrate session prompt module from Bun.file() to Filesystem/stat modules - Fix crash in opencode run and show errored tool calls in output - Migrate skill discovery to use Filesystem module instead of Bun file APIs - Migrate session instruction handling from Bun.file() to Filesystem module - Migrate provider.ts from Bun.file() to Filesystem module - Migrate shell.ts from Bun.file() to statSync for improved file system operations - Migrate log utility from Bun.file() to Node.js fs module for better compatibility - Migrate models.ts from Bun.file()/Bun.write() to Filesystem module - Use HashiCorp releases API for installing terraform-ls (@edubxb) - Migrate LSP server from Bun.file()/Bun.write() to Filesystem module "
  },
  "articleBody": "Core - Fixed terminal rendering and interaction issues in the application - Normalize file status paths relative to instance directory (@shantur) - Migrate from Bun.Glob to npm glob package - Bump AI SDK packages for Google, Google Vertex, Anthropic, Bedrock, and provider utils - Add support for medium reasoning with Gemini 3.1 - Remove use of Bun.file - Text files misclassified as binary - Fetch default server at top level in desktop application - Terminal rework in the app - Bake in the AWS and Google authentication packages - Token substitution in OPENCODECONFIGCONTENT now works correctly (@ariane-emory) - Revert migration from Bun.file() to Filesystem module - Migrate project.ts from Bun.file() to Filesystem/stat modules - Migrate read tool from Bun.file() to Filesystem module - Migrate write tool from Bun.file() to Filesystem module - Migrate Edit tool from Bun.file() to Filesystem module - Migrate remaining tool files from Bun.file() to Filesystem/stat modules - Migrate storage.ts from Bun.file()/Bun.write() to Filesystem module - Migrate src/storage/json-migration.ts from Bun.file() to Filesystem module - Migrate MCP auth module from Bun file APIs to Filesystem module - Migrate storage database from Bun.file() to statSync for file existence checks - Migrate session prompt module from Bun.file() to Filesystem/stat modules - Fix crash in opencode run and show errored tool calls in output - Migrate skill discovery to use Filesystem module instead of Bun file APIs - Migrate session instruction handling from Bun.file() to Filesystem module - Migrate provider.ts from Bun.file() to Filesystem module - Migrate shell.ts from Bun.file() to statSync for improved file system operations - Migrate log utility from Bun.file() to Node.js fs module for better compatibility - Migrate models.ts from Bun.file()/Bun.write() to Filesystem module - Use HashiCorp releases API for installing terraform-ls (@edubxb) - Migrate LSP server from Bun.file()/Bun.write() to Filesystem module - Migrate session command from Bun.file() to statSync for improved file system operations - Migrate agent.ts from Bun.file() to Filesystem module - Migrate auth module from Bun.file()/Bun.write() to Filesystem module - Pass sessionID and callID to shell.env hook input (@tesdal) - Fix terminal cross-talk issue in the application - Update SST version - Migrate src/global/index.ts from Bun.file() to Filesystem module - Emit PROMPTTOOLARGE error when GitHub context overflows (@elithrar) - Migrate src/bun/index.ts from Bun.file()/Bun.write() to Filesystem module - Migrate config/markdown.ts from Bun.file() to Filesystem module - Migrate file/index.ts from Bun.file() to Filesystem module - Migrate format/formatter.ts from Bun.file() to Filesystem module - Allow readJson to be called without explicit type parameter - Migrate file/ripgrep.ts from Bun APIs to Filesystem module - Migrate index.ts from Bun.file() to Filesystem module - Add Julia language server support (@zarly) - Bump GitLab AI provider to 3.6.0 to add Sonnet 4.6 support (@vglafirov) - Add centralized filesystem module for Bun.file migration - Fix Clojure syntax highlighting (@finalfantasia) - Ensure explore subagent prompts for external directory permission instead of auto-denying - Don't autoload kilo - Add Kilo as a native provider (@Nomadcxx) - Simplify redundant ternary in updateMessage (@yikayiyo) - Ensure Read tool uses fs/promises for all file system operations - Make read tool more memory efficient - Surface plugin auth providers in the login picker (@anoldguy) - Invalidate OAuth credentials when OAuth provider indicates they are invalid (@GreenStage) - Don't fetch models.dev on completion (@gigamonster256) - Recover state after SSE reconnect and harden SSE streams - Keep message part order stable when files resolve asynchronously - Drop IDs from attachments in tools and assign them in prompt.ts instead TUI - Improve GitHub action branch detection and handle 422 errors (@elithrar) - Ensure onExit callback fires after terminal output is written - Migrate TUI thread module from Bun.file() to Filesystem module - Migrate agent command from Bun.file()/Bun.write() to Filesystem module - Migrate import command from Bun.file() to Filesystem module - Update pasteImage to only increment count when the previous attachment is an image (@OpeOginni) - Migrate editor.ts from Bun.file()/Bun.write() to Filesystem module - Migrate clipboard.ts from Bun.file() to Filesystem module - Migrate CLI run command from Bun.file() to Filesystem/stat modules - Session list --max-count parameter now correctly limits the number of sessions displayed (@mharris717) - Exit cleanly without hanging after session ends - Style scrollbox for permission and sidebar (@akronb) - Increase button heights and improve permission prompt layout alignment - Display new session banner with logo and project details in TUI Desktop - Update Japanese translations for WSL integration (@taroj1205) - Made localhost URLs work correctly in",
  "author": {
    "@id": "https://dev.havoptic.com/#organization"
  },
  "publisher": {
    "@id": "https://dev.havoptic.com/#organization"
  },
  "mainEntityOfPage": {
    "@type": "WebPage",
    "@id": "https://dev.havoptic.com/r/opencode-1.2.7"
  },
  "speakable": {
    "@type": "SpeakableSpecification",
    "cssSelector": [
      "h1",
      "#ssr-content p"
    ]
  }
}
```
