Zum Inhalt springen

Opencode Updates & Release Notes

Einträge
60
Quellen
1
Zuletzt aktualisiert

Folge Opencode, um die Release Notes in deinen Feed zu holen.

Opencode von SST

v2.4.4

Highlights

  • Custom Model Responses in HTTP Hooks: Plugins using the session.http.request hook can now set event.response to answer model HTTP requests directly, making custom gateways, mocks, and request interception straightforward. (#67635)
  • Pop-Out Settings and Swatch Theme Picker: Pop Settings into its own window with live cross-window sync, and browse themes in a searchable popover with 5-color swatches and live preview. (#67759, #67752)
  • Jump to Sessions by ID and Deep Links: Paste a session ID into the Command Palette in Desktop or TUI to jump straight to any session across servers, or open sessions directly via opencode://session/<id> deep links. (#67779, #64180)

Core

Improvements

  • Enabled each model's recommended API from models.dev by default and removed the recommended_api flag. (#67250)
  • Added experimental.tool.auto and experimental.permission.save managed policy actions, with required prompts for unparseable shell commands when shell deny policies are active. (#67687, #67867) …

Originalquelle(öffnet in neuem Tab)Problem melden

Opencode von SST

v2.4.3

Highlights

  • Automations in Desktop: Open Automations from the sidebar or Home to view scheduled and event-driven automations across your servers, see which session each one wakes, and pause, resume, or delete them. (#66393, #66899)
  • 11 New Themes and Contrast Calibration: Desktop adds Modus, Alabaster, VS Code, Cyberdream, Poimandres, Oxocarbon, Sakura, Espresso, Witch Hazel, E-Ink, and Dune, and calibrates all 35 existing non-default themes for WCAG 2.2 contrast. (#66521, #66528, #66531)
  • OpenMono Default Font: Code blocks and the built-in terminal in Desktop now use OpenMono with bundled Nerd Font icons by default. Existing custom font settings stay unchanged. (#64797)

Core

Improvements

  • Voice, embedding, and transcription models are now read from model config and Console settings instead of assuming hosted voice is always enabled. (#66627)
  • Markdown agent files (.opencode/agents/**/*.md and ~/.config/opencode/agents/**/*.md) now support an optional name frontmatter field to set the agent ID. (#67051) …

Originalquelle(öffnet in neuem Tab)Problem melden

Opencode von SST

v2.4.2

Highlights

  • GPT-6.2 System Prompt: GPT-6.2 Sol and Astra, and the gpt-latest aliases, use a system prompt written for GPT-6.2. (#66297)
  • OpenCode Go Onboarding Fix: After you connect OpenCode, the model picker lists OpenCode Go first. (#66363)
  • Esc Takes Back Your Last Message: If the composer is empty, stopping a response with Esc before the model has written anything or called a tool removes your message and puts it back in the composer, images included, so you can edit it and send again. (#65505)

Upgrade notes

  • "Always allow" for a web fetch allows that site only. It used to allow every URL. Approvals saved by earlier versions stay as they were. (#66000)
  • Automations keep running after a failed run. A failed run is recorded and the next one runs on schedule. Automations still pause when the session that created them or their directory is gone, or when their setup is no longer valid. A shell command in an automation's code that runs past its timeout is now stopped and fails the call instead of moving to the background. (#66422, #65626) …

Originalquelle(öffnet in neuem Tab)Problem melden

Opencode von SST

v2.4.1

Highlights

  • macOS 12 Session Fix: OpenCode can save assistant messages again on the older SQLite version included with macOS 12. (#65771)
  • Config-Only Providers Show Their Models: Providers you set up only in your config, such as Ollama, now show their models in /models without a /connect login. (#65793)
  • Unread /btw Answers: When a side question finishes behind another side-panel tab, its tab shows an unread dot until you open it. (#65821)

Core

Improvements

  • With experimental.model_speeds enabled, model service tiers are exposed as remembered speeds instead of separate model-picker entries. (#65749)

Bug fixes

  • Fixed assistant messages failing to save on macOS 12 because its system SQLite does not support the JSON operator used in v2.4.0. (#65771)
  • Fixed compaction retaining more recent history than keep.tokens, including when a single newest message already exceeds the allowance. (#65768)
  • Fixed occasional extra cache cost in long goal sessions after a compaction. (#65788)

TUI

Improvements …

Originalquelle(öffnet in neuem Tab)Problem melden

Opencode von SST

v2.4.0

Highlights

  • Built-In Desktop Browser: Import your sign-ins and browsing history from Chrome, Edge, Firefox or Safari, and add extensions from Chromium browsers or the Chrome and Edge stores. Everything stays in one persistent desktop profile: chat links open signed in, your tabs survive restarts and the agent can read and drive the same pages without you switching apps. (#63002, #65073)
  • Automations: Ask the agent to run a prompt, a script or a shell command on a timer, on a cron schedule or when an MCP server sends an event, and manage them with /automation. Set "automations": false in your config if you don't want them. (#65296, #65186)
  • Generate Videos: When a connected provider has a video model, the agent can make videos with generate_video. It keeps working while the video renders and saves the files into your workspace when they're ready. (#63666, #65664)
  • New TUI Look: The TUI's new designs are on by default, and the opencode theme is the new one. Pick opencode-classic in Theme to keep the previous colors. (#64988) …

Originalquelle(öffnet in neuem Tab)Problem melden

Opencode von SST

v2.3.2

Highlights

  • GPT-6.2 Prompt Caching: GPT-6.2 models don't cache a system prompt sent in the Responses instructions field, so every step re-billed it as uncached input. OpenCode now sends it as a leading developer message on every Responses route, including OpenAI (API key and ChatGPT sign-in), GitHub Copilot, Zen, Azure and OpenRouter, so it is cached from the second step on. (#64542, #64544)

Core

Bug fixes

  • Fixed GPT-6.2 models re-billing the system prompt as uncached input on every step. On GitHub Copilot gpt-6.2-sol, uncached input per step dropped from about 14,000 tokens to 3. Compaction through /responses/compact now reads the same cached prefix. (#64542, #64544)
  • webfetch structured output no longer repeats the url and format it was called with. (#64534)

Originalquelle(öffnet in neuem Tab)Problem melden

Opencode von SST

v2.3.1

Highlights

  • Timed-Out Shell Commands Keep Running: A shell command still running when its timeout expires now moves to the background instead of being killed, so long builds and test runs finish and report back. A foreground timeout: 0 now means the default 120 seconds. (#63699)
  • Compaction Without the Wait: As a session nears automatic compaction, the summary is now written in the background, so your next prompt doesn't pause for it. Set compaction.background: false to turn it off; a background summary that ends up unused still costs tokens. (#64290)
  • GPT 6.2 with ChatGPT Sign-In: GPT 6.2 Sol and GPT 6.2 Astra, plus their fast variants, now show up in the model picker when you sign in with ChatGPT. (#64508)
  • Update Plugins from Settings: Open Settings › Extensions, click Check for updates, then Update on any plugin with a new version. (#64511)
  • Comment on Selected Code: Selecting code in diff and file viewers now just selects it, so you can copy it, and an Add comment toolbar appears beside the selection. (#64410)

Core

Improvements …

Originalquelle(öffnet in neuem Tab)Problem melden

Opencode von SST

v1.19.6

Desktop

Improvements

  • OpenCode 1 now offers the upgrade to OpenCode 2.0. OpenCode 2 downloads in the background and installs only when you choose: Restart to upgrade, Upgrade on quit, or Later. Your sessions, projects, and settings are kept. Plugins made for OpenCode 1 need an update.

Core

Bugfixes

  • Sessions with many images no longer send oversized requests. When the images in a session's history pass 25 MiB, the oldest are replaced with a placeholder.
  • A provider error for a request body that is too large now starts compaction and a retry instead of failing the turn.

Originalquelle(öffnet in neuem Tab)Problem melden

Opencode von SST

v2.3.0

Highlights

  • Background Subagents by Default: Subagents now return immediately, continue in the background, and report back whenever they become idle. You can keep working in the parent session while multiple subagents run concurrently. (#63382)
  • Quieter Transcripts by Default: The TUI now summarizes each run of tool calls and thoughts into one collapsible activity row, so the answer is easier to follow. To see every step again, set Verbosity to medium or high in settings, or set session.verbosity in your TUI config; an existing setting is kept. (#63207)
  • Jump to an Earlier Prompt: In the desktop app, open Jump to message from the command palette or press Cmd+Alt+G (Ctrl+Alt+G on Windows and Linux) to search prompts across the current session and jump directly to one. (#63585)

Core

Improvements

  • Subagents now always run in the background, return their session ID immediately, and report results to their parent whenever they become idle. (#63382)
  • Added experimental support for MCP events, behind the mcp_events flag. (#63254, #63261, #63269) …

Originalquelle(öffnet in neuem Tab)Problem melden

Opencode von SST

v2.2.7

Highlights

  • GitHub Copilot Auto: Pick Auto in the model picker when your Copilot account has an Auto pool, and Copilot's router chooses the model for each session at the Auto discount. If routing fails, OpenCode falls back to the account's default chat model. (#62997)
  • Side Panel Tab Shortcuts: Right-click a side panel tab and choose Close tabs to the right. ⌘W now closes side panel tabs wherever focus is, ⌥⌘W or Ctrl+Alt+W always closes the session tab, and ⌘⇧T reopens the last closed tab of either kind where it was. (#62922)
  • Mark Sessions Read or Unread: Open the menu on a tab, Home row, project row or inbox card and choose Mark as unread to keep its dot until you next visit. (#62889)

Breaking changes

@opencode/ai: ImageResponse.image is removed

This affects code that imports @opencode/ai directly. Read response.images[0] instead of response.image. (#63011)

SDK: fewer endpoints wait for plugins to load …

Originalquelle(öffnet in neuem Tab)Problem melden

Opencode von SST

v2.2.6

Highlights

  • Shared MCP Connections: Turn on pooling for an MCP server to share one connection across projects with the same setup, so you run fewer processes and start faster. (#61185)
  • GUI Plugin Themes and New Slots: GUI plugins can now add color themes, render or add actions to code blocks, and use native settings and menu components. (#61485, #61533, #61527, #61509)
  • Mobile Composer Dock: On phones and tablets, composer actions now sit in a touch dock above the keyboard with larger buttons. (#61773)
  • Scripted Runs in Worktrees: Run opencode run -w to start the session in a new git worktree, or --worktree=<name> to name it. (#60712)
  • Automatically Archived Runs: Add --archived to opencode run to keep scripted and CI sessions out of your inbox and session lists. (#61270)

Core

Improvements

  • Added opt-in MCP connection sharing through pool: true. (#61185) …

Originalquelle(öffnet in neuem Tab)Problem melden

Opencode von SST

v2.2.3

Highlights

  • Use Claude Code in OpenCode: Install Claude Code, run claude auth login, then select Claude Agent in /connect to use your Claude Code login and models. (#58782)
  • Faster Long Sessions in Desktop: Streaming replies and long conversations now do much less rendering work. (#60489, #60521, #60513, #60481)
  • Desktop Stability Fixes: Fixes side-panel tabs, repeated "Session not found" toasts, and Open file over HTTP. (#60430, #60436, #60459, #60462)

Breaking changes

TUI plugins require OpenTUI 0.8

@opencode/plugin now requires @opentui/core and @opentui/solid 0.8.0 or later. In OpenTUI 0.8, a ScrollBox's wrapper, viewport, content, and scrollbars are facade objects instead of renderables, and a custom RenderContext must implement clock and onAnimationTick. See the OpenTUI 0.8.0 release notes. (#60385) …

Originalquelle(öffnet in neuem Tab)Problem melden

Opencode von SST

v2.2.4

Highlights

  • Persistent Desktop Terminals: Desktop terminals now belong to the session, survive server restarts with their scrollback, and stay synchronized with the TUI and other windows. Renamed terminals also keep their names across restarts. (#60346)
  • Publish Interactive Artifacts: Enable "experimental": { "artifacts": true } in opencode.json to let agents publish, update, and serve HTML or static artifacts through the built-in local provider or plugin-provided storage. (#60351)
  • Guided Claude Agent Setup: Select Claude Agent from the provider picker to copy claude auth login, install Claude Code, and verify the connection before continuing to model selection. (#60603)
  • Choose a Base Branch Quickly: While creating a worktree, open Choose base branch with ⌘⌥. on macOS or Ctrl+Alt+. on Windows and Linux. The command is also available in the command palette and Settings › Shortcuts. (#60579)

Core

Improvements

  • Added opt-in artifacts with artifact_create, artifact_read, artifact_update, and artifact_delete, including a built-in local static-file provider. (#60351) …

Originalquelle(öffnet in neuem Tab)Problem melden

Opencode von SST

v2.2.5

Highlights

  • Worktree and Shell Mode Shortcuts: Press ⌘⌥O on macOS or Ctrl+Alt+O on Windows and Linux to choose a worktree, and ⌘⌥B or Ctrl+Alt+B to choose its base branch. ⌘⇧X or Ctrl+Shift+X now toggles shell mode in the composer. (#60713)
  • Send Quotes From the Comment Popup: Hold ⌘ or Ctrl in the quote popup to turn its checkmark into send, or press ⌘Enter or Ctrl+Enter, to send just that quote and comment while leaving the rest of the composer untouched. (#60640)
  • Percentage Compaction Buffer: Set "compaction": { "buffer": "20%" } in opencode.json to keep a share of each model's context window free, so one setting fits models with small and large windows. Token counts still work. (#60647)

Core

Improvements

  • compaction.buffer accepts a percentage of the model's context window, such as "20%", in addition to a token count. (#60647)
  • When read misses because a folder is missing, the error names that folder and the nearest one that exists. (#60688)
  • When edit can't find oldString, the error shows the file's closest lines, or says the change is already there. (#60689) …

Originalquelle(öffnet in neuem Tab)Problem melden

Opencode von SST

v2.2.1

Highlights

  • Keep Working Toward a Goal: Run /goal <objective> in the TUI or Desktop to let the session continue until a reviewer confirms the objective is met. Use /goal pause, /goal resume, or /goal clear to control it. (#59437)
  • Generate Images: Enable experimental.image_generate to let agents create or edit images with the new image_generate tool. You can optionally set its default model with experimental.image_generate.model. (#59939, #60096)
  • Inspect Background Shells: Click a running shell in the Desktop activity pill to see its live output and stop it without leaving the menu. (#59496)
  • New Default Model Picker: Search favorites, recent models, providers, and variants from the redesigned model picker, which is now the default in Desktop. (#59997)

Breaking changes

@opencode/ai provider removals and renames

These changes affect code that imports @opencode/ai directly. They don't change the CLI, Desktop, or the HTTP API. …

Originalquelle(öffnet in neuem Tab)Problem melden

Opencode von SST

v2.2.2

Highlights

  • Image Generation by Default: When a connected provider supports image models, agents can now use experimental_image_generate without additional configuration. Set its preferred model through experimental.image_generate.model. (#60258)
  • Faster Worktree Selection: On the new-session screen, click the current Git branch to open that project’s “Run session in” worktree picker directly. (#60263)
  • Unified Quotes and Annotations: Timeline quotes, terminal quotes, and browser annotations now share a compact optional-comment editor, while source highlights remain attached to local drafts. (#60164)

Core

Improvements

  • Enabled experimental_image_generate by default when an image-capable provider is connected. (#60258)
  • Recorded the start time of each session’s latest execution.

Bug fixes

  • Rejected persistent terminal requests whose working directory no longer exists.
  • Preserved media when sessions are forked or imported.
  • Associated image-generation notices with the correct background job.

TUI

Bug fixes

  • Preserved captured attachments and their original source paths. Thanks @OpeOginni. (#60222) …

Originalquelle(öffnet in neuem Tab)Problem melden