chore(deps): update dependency anomalyco/opencode to v2 #472
Open
botaniker
wants to merge 1 commit from
renovate/anomalyco-opencode-2.x into main
pull from: renovate/anomalyco-opencode-2.x
merge into: shivering-isles:main
shivering-isles:main
shivering-isles:renovate/traefik-43.x
shivering-isles:renovate/sparkyfitness-1.x
shivering-isles:renovate/renovate-46.x
shivering-isles:renovate/kube-prometheus-stack-93.x
shivering-isles:renovate/ghcr.io-renovatebot-renovate-44.x
shivering-isles:renovate/docker.io-library-debian-13.x
shivering-isles:renovate/docker.io-jdkato-vale-3.x
shivering-isles:renovate/tika-monorepo
shivering-isles:renovate/loki-21.x
shivering-isles:renovate/ghcr.io-unpoller-unpoller-5.x
shivering-isles:renovate/ghcr.io-tarampampam-error-pages-4.x
shivering-isles:renovate/kube-prometheus-stack-94.x
shivering-isles:renovate/docker.io-gotenberg-gotenberg-9.x
shivering-isles:renovate/quay.io-shivering-isles-dovecot-2.x
shivering-isles:renovate/quay.io-hedgedoc-hedgedoc-1.x
shivering-isles:renovate/prometheus-smartctl-exporter-0.x
shivering-isles:renovate/docker.io-alpine-kubectl-1.x
shivering-isles:renovate/errata-ai-vale-3.x
shivering-isles:renovate/siderolabs-talos-1.13.x
shivering-isles:renovate/go-golang.org-x-net-vulnerability
shivering-isles:renovate/siderolabs-kubelet-1.x
shivering-isles:renovate/gcr.io-projectsigstore-cosign-3.x
shivering-isles:renovate/siderolabs-kubelet-1.36.x
shivering-isles:renovate/kubernetes-kubernetes-1.x
shivering-isles:renovate/registry.shivering-isles.com-dockerhub-golangci-golangci-lint-v2.13.2
shivering-isles:renovate/ghcr.io-peaceiris-mdbook-v0.5.0
shivering-isles:feat/kaniko-builds
shivering-isles:renovate/siderolabs-talos-1.x
shivering-isles:renovate/docker.io-library-postgres-19.x
shivering-isles:renovate/opentofu-opentofu-1.x
shivering-isles:renovate/external-snapshotter-8.x
shivering-isles:renovate/longhorn-1.12.x
shivering-isles:renovate/kube-state-metrics-9.x
shivering-isles:renovate/docker.io-alpine-kubectl-1.37.2
shivering-isles:renovate/gohugoio-hugo-0.x
shivering-isles:renovate/anomalyco-opencode-1.x
shivering-isles:renovate/piped-8.x
shivering-isles:renovate/docker.io-alpine-helm-4.x
shivering-isles:renovate/rancher-system-upgrade-controller-0.x
shivering-isles:renovate/docker.io-library-caddy-2.11.9-alpine
shivering-isles:renovate/helm-helm-4.x
shivering-isles:renovate/cloudflare-5.x
shivering-isles:renovate/prometheus-json-exporter-0.x
shivering-isles:renovate/docker.io-alpine-helm-3.x
shivering-isles:feat/si-tube
shivering-isles:renovate/longhorn-1.x
shivering-isles:feat/nametag
shivering-isles:feat/android-emulator
shivering-isles:feat/piped
shivering-isles:renovate/docker.io-helmunittest-helm-unittest-4.x
shivering-isles:fix/velero-schedule
shivering-isles:feat/sparkyfitness
shivering-isles:feat/playground
shivering-isles:fix/crowdsec-upload-size
shivering-isles:renovate/quay.io-shivering-isles-koolbox-2026.x
shivering-isles:feat/k8smultiarcher
shivering-isles:feat/libravatar
shivering-isles:feat/immich-velero-backup
shivering-isles:feat/forgejo-releases
shivering-isles:feat/tekton-pull-policy
shivering-isles:feat/tekton-ko
shivering-isles:feat/open-webui
shivering-isles:feat/ko-build
shivering-isles:feat/registry-mirror
shivering-isles:feat/generic-tasks
shivering-isles:feat/crowdsec-exceptions
shivering-isles:feat/tekton-earthly
No reviewers
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Dependencies
No dependencies set
Reference
shivering-isles/infrastructure-gitops!472
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/anomalyco-opencode-2.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
1.18.34→2.4.2Release Notes
anomalyco/opencode
v2.4.2Compare Source
Highlights
gpt-latestaliases, use a system prompt written for GPT-6.2. (#66297)Upgrade notes
Core
Improvements
generate_imageandgenerate_videorun inside Code Mode instead of as top-level tools, so their definitions no longer add about 700 tokens to every request. (#66465)reportskill checks the docs, searches for duplicate issues and includes the relevant log lines. (#66290)Bug fixes
%PDF-header not being read as PDFs. (#65967)/HEADmissing from the branch list. (#65904)~\path on Windows. (#66269)TUI
Improvements
Bug fixes
/modelsshowing only free models when the TUI opened a session in another directory. (#66424)themefrom config not switching back to the default theme. (#65925)Desktop
Improvements
/renamewith no title generates a new title, and/rename <title>sets one. (#66396)Bug fixes
SDK
@opencode/sdk/workerd: forward your Durable Object'salarm()toopencode.alarm()so idle remote workspaces suspend. (#66183, #66240)Extensions
signal. Aborting rejects the call. (#65980)instructionsthat apply while that agent is selected, without busting the prompt cache. Switching agents or changing the instructions mid-session sends an update instead of rewriting the system prompt. (#63669)v2.4.1Compare Source
Highlights
/modelswithout a/connectlogin. (#65793)/btwAnswers: When a side question finishes behind another side-panel tab, its tab shows an unread dot until you open it. (#65821)Core
Improvements
experimental.model_speedsenabled, model service tiers are exposed as remembered speeds instead of separate model-picker entries. (#65749)Bug fixes
keep.tokens, including when a single newest message already exceeds the allowance. (#65768)TUI
Improvements
experimental.model_speedsenabled,/speedand/fastlist the current model’s service tiers and relative prices. Thespeed.listandspeed.cyclekeybinds are available without default bindings. (#65749)Bug fixes
/modelshiding models from config-only providers such as Ollama when no/connectlogin exists. (#65793)Desktop
Improvements
experimental.model_speedsenabled, models with service tiers have a speed dropdown beside the variant selector;/speedcycles through the available speeds. (#65749)Bug fixes
/btwanswers completed behind another side-panel tab providing no unread indication. The tab now shows a dot until viewed. (#65821)SDK
Bug fixes
Extensions
Improvements
ctx.experimental.automation.{create,list,delete}. (#65747)@opencode/pluginnow supports@opentui/coreand@opentui/solidfrom version 0.8.0, allowing plugins capped below OpenTUI 0.9 to install again. (#65819)v2.4.0Compare Source
Highlights
/automation. Set"automations": falsein your config if you don't want them. (#65296, #65186)generate_video. It keeps working while the video renders and saves the files into your workspace when they're ready. (#63666, #65664)opencodetheme is the new one. Pickopencode-classicin Theme to keep the previous colors. (#64988)Upgrade notes
experimental_image_generateis nowgenerate_image. Permission rules with the old name are mapped automatically, but saved "always allow" approvals are not, so it asks again once. (#65682)name@latest, a version range (such asname@^1.2.0), a Git branch or a Gitsemver:range is checked on startup and every 24 hours, and a newer match is installed and reloaded. Ranges never leave their range, and if a new version fails to load the previous one keeps running. A barename, an exact version, another tag such as@next, a Git tag or a commit hash doesn't update itself;opencode plugin updatestill updates those by hand. (#64764, #65052, #65056)GITHUB_TOKEN. SetCOPILOT_GITHUB_TOKENor sign in with OAuth. (#64697)protocolsetting is probed before falling back to the legacy handshake. Setprotocol: "legacy"on a server that misbehaves. (#65282)opencodetheme changed. It now means the new theme; setopencode-classicfor the previous look, andexperimental["new-designs"]: falsein your TUI config for the previous designs. (#64988)browserdeny in your permission rules refuses every agent browser call. (#63002)opencode auth loginlist one OpenCode option that includes Go models. OpenCode Go is only listed when a Go key is already saved, and saved keys keep working. (#65466)Cmd+Shift+S(Ctrl+Shift+Son Windows and Linux) now archives the open session. The composer'sCmd+UandEscape/Ctrl+Gnow follow the Attach file and Stop session shortcuts. (#65428, #64394)tools.opencode.session_renameandsession_moveare nowtools.opencode.session.renameand.move. Direct tool names and permission actions are unchanged. (#65080)@opencode/pluginrequires@opentui/coreand@opentui/solid0.9.4 or later. Renderers passed toregisterCodeBlockRenderernow receive an OpenTUI block (block.text) instead of a Markdown token;codeBlockStyleandescapedare gone. (#63989)generate.*,voice.*andwebsearch.queryendpoints started waiting up to 5 seconds for plugins and returning 503 after that (#63040); this release removes that wait. Right after startup these endpoints answer with whatever has loaded, so a list can be empty or partial. Long-lived clients should refresh on the matching*.updatedevent, such asmodel.updated. One-shot scripts should wait on their side, for example by pollingplugin.listuntil it returns plugins, or the endpoint until the entry they need appears. (#63814)experimental.part_rows: falserestores the old path for this release. (#65039)Core
Improvements
/automationcommand or theautomationtools. A shell action asks for approval once, when it's created, and records each run's exit code and output. Set"automations": falseto turn them off. (#65296, #65186, #65217, #65236, #65001, #65699)protocolsetting now negotiate the newest MCP protocol and fall back to the legacy handshake. (#65282)generate_videowhenever a connected provider has a video model. The job runs in the background, survives a server restart, saves the finished videos into the workspace and wakes the agent with their paths. Set a default model withexperimental.video_generate.model. The image tool is now calledgenerate_image. (#63666, #64546, #65664, #65682)name@latest, a version range, a Git branch or a Gitsemver:range) are checked on startup and every 24 hours, and a newer match is installed and reloaded without a restart. A range stays within its range, and if a new version fails to load, the previous one keeps running. Other plugins still only report updates. (#64764, #65052, #65056)configDirsetting for a Claude config folder other than the default. Given a list of folders, a chat moves to the next account when one hits its usage limit. Claude Agent sessions also show up in Claude Code as coming fromopencode. (#62514, #65035, #65016)opencode auth logoutor the remove button in the app, now also revokes it with OpenAI. (#64947)gpt-live-1.1. (#65491)read, or reading its tail, takes far fewer reads, which is much faster on remote workspaces. (#65611)stackshowing where they were thrown, and a failed import says why. (#64908, #64939, #64587)timeoutset on a provider now applies to every request, including image, video, speech, transcription, embedding and compaction requests, which previously could hang forever on a stalled provider. (#64692)noneandthinkingvariants, and the provider'ssafetySettingsare sent to Interactions. (#65038, #65036)claude-agentas a web search provider. With Claude Agent connected, set"websearch": { "provider": "claude-agent" }to runwebsearchthrough Claude Code's WebSearch, which Claude plans include, so any model can search without a search API key. (#65704)full_codemodeon, agents can calltools.opencode.session.interruptto stop another session, its background jobs and its subagents. (#65718)GET /api/experimental/blob/:idreturns 404 for a deleted blob. (#65671).opencodesuch as editing a skill. (#62158)Bug fixes
GITHUB_TOKEN, which git tooling and GitHub Actions often set without Copilot access. It now readsCOPILOT_GITHUB_TOKEN. (#64697)shelldeny rule still blocks them. (#65269)execute. (#65292, #65193, #65494)full_codemodeis on. (#65712)editandpatchreplacing every non-UTF-8 character (Latin-1, cp1252, GBK…) with�across the whole file. They now refuse to rewrite such files. (#64868)core.autocrlf=true, and symlinks as modified withcore.symlinks=false. (#64884)opencode service set passwordwriting the password to the CLI log. (#64911)opencode runhanging when a FIFO is passed as an attachment; it's now rejected right away. Thanks @yang0228. (#64696)opencode <name>crashing with a stack trace when<name>is neither a command nor a directory. It now prints help and the error. (#65262)variantnext tomodel, and agents being skipped when frontmatter repair turned inline lists or objects into strings. (#65118, #65119)executeorpatch. (#64706)gpt-6.2-astraand later Astra models getting a 500k context window with ChatGPT sign-in; they stay at 272k. (#64725)cyber_policyand Gemini "terms of use" refusals are now reported as content policy errors. Thanks @lu-zero. (#64844, #64910)16:9. (#64822)localeCompareandDatetoLocale*honor their locale and options,toBase64/fromBase64honor their options,Buffermap,filter,sliceandsubarrayreturn a Buffer, andUint8Array.BYTES_PER_ELEMENTis defined. (#64935, #64938, #64931, #64933, #64930, #64965)curlis installed through Snap. (#65132)TUI
Improvements
opencodeis the new theme. The previous default is available asopencode-classic, andopencode2keeps working as an alias ofopencode. To go back to the previous designs, turn off New designs in the Experiments dialog. (#64988)/loginand/authopen the same dialog as/connect, which now lists a single OpenCode entry that includes OpenCode Go models. (#65265, #65466)↓opens the picker on the first tab with something running, the same tab that clicking the footer opens. (#64972)/btw, worktree names and connect forms end with a Submit button, and prompt and export dialogs have tighter spacing. (#64944)opencodetheme's light mode uses lighter grays for the prompt box, selected tabs and hovered rows. (#64962)Bug fixes
…. (#64934)Desktop
Improvements
Mod+Enter. Depending on your follow-up setting, they send, steer or queue. (#65264)Cmd+Shift+S(Ctrl+Shift+Son Windows and Linux). (#65428)Cmd+F/Ctrl+F) has previous and next match buttons. (#64865)Mod+K Mod+CorG I. In Settings › Shortcuts, click + on a shortcut you just recorded to add another key, up to 4. While a chord is pending, a panel lists the keys that continue it. (#64395)bun --cwd packages/app build --base=/opencode/. (#64597)Bug fixes
opencode://open-projectandopencode://new-sessionlinks doing nothing. (#65332)~/Downloads/clip.mp4showing "File not found".~now opens in the server's home folder. (#65689)app-update.yml, such as AUR packages, showing update-check errors. Settings now shows Updates unavailable. (#64681)Tab, and the Compacted label only partly highlighting on hover. (#65215, #65192, #65176, #65177, #65211, #65213, #65644)SDK
Improvements
experimental.job.cancelto cancel a running background job, and anexperimental.job.updatedevent when a job starts, moves to the background or ends.@opencode/client/solid'screateDatahas ajobslice. (#64790, #65266, #64956)experimental.generate.video.createand.get) no longer need a flag. Video jobs survive a server restart, can return more than one video, and stay readable for 24 hours after they finish. (#65664, #64546)Extensions
Improvements
options.codemodeto an object ({ pinned?, description?, input?, output? }) to give its Code Mode form its own description and schemas. Top-leveloptions.pinnedstill works but is deprecated. (#64515)execute.beforeandexecute.aftertool hooks receiveinfo, the tool's definition, andcodemode, which is true when a Code Mode script made the call. (#64515)revoketo sign a credential out remotely before it's removed. (#64947)api.data.job.list(sessionID)(experimental). (#64956)experimental.idlebackground entries can have the kindvideo. (#63666)Plugin.define({ icons })and use them throughctx.icons. The built-inoutline-pairandoutline-steericons were removed. (#64577)composer.send(commentID)andcomposer.delivery(), and theBrowsercontract addsexperimental.openandexperimental.close. (#65264, #63002)System.openonly launches HTTP, HTTPS and mail URLs, andBrowser.openrefusesfile://URLs outside the built-in preview. (#63002)v2.3.2Compare Source
Highlights
instructionsfield, 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
gpt-6.2-sol, uncached input per step dropped from about 14,000 tokens to 3. Compaction through/responses/compactnow reads the same cached prefix. (#64542, #64544)webfetchstructured output no longer repeats theurlandformatit was called with. (#64534)v2.3.1Compare Source
Highlights
timeout: 0now means the default 120 seconds. (#63699)compaction.background: falseto turn it off; a background summary that ends up unused still costs tokens. (#64290)Core
Improvements
shell_timeout_backgroundflag is gone; configs that still set it keep loading. A foregroundtimeout: 0now uses the default 120 second timeout instead of waiting until the command exits. (#63699)compaction.background: false; a background summary that is never used still costs tokens. Theexperimental.background_compactionsetting is removed. (#64290)CLAUDE.mdin any directory that has noAGENTS.md, and falls back to~/.claude/CLAUDE.mdwhen the globalAGENTS.mdis missing. This also applies to instructions found when the agent reads nested files. SetOPENCODE_DISABLE_CLAUDE_CODEorOPENCODE_DISABLE_CLAUDE_CODE_PROMPTto skip everyCLAUDE.md. (#64474, #64533)websearchnow returns a flat list of results, each with itsurl,title,contentandpublisheddate. (#64471)read:text(withoffset,lineCountandnext),directory(entry names) ormedia(a URI instead of base64). What the model sees is unchanged. (#64361)Bufferfor encoding and decoding bytes. (#64365)search("issues")now works as shorthand forsearch({ query: "issues" }). (#64347)globandgreptools now report a malformed filename glob (for example[) as an error that names the parameter to fix, instead of returning no results. (#63960)UnknownErrorbody instead of an empty one. Storage problems name the cause (for example "Storage is full" or "Storage is read-only"); other crashes include arefyou can find in the server log. (#64022)OPENCODE_SESSION_IDenvironment variable. (#63718)automationsflag (the oldschedulesflag still works). An automation runs on a time, an interval, a cron or a pushed MCP event, and either sends a prompt (to the creating session, another session or a new subagent) or runs a Code Mode program that decides whether to send one. Use/automationor theautomation_*tools. Active or paused plain prompt schedules carry over; schedules with a condition or run limit, and finished ones, are dropped. (#64160)Bug fixes
opencode-pty. The process daemon now cleans each command up when it exits. Background processes started by a successful command (cmd &) keep running, and a failed command's leftovers are stopped. (#64266, #64251)reasoning_content) no longer receivereasoning_detailsfrom earlier turns. (#64243)readnow rejectslimit: 0with "Limit must be a positive integer". (#63808)BMare no longer mistaken for BMP images, and only realGIF87a/GIF89aheaders count as GIFs, so these files read as text again. (#63822, #63811)�. (#63984, #63967)$'\q'are now read the same way Bash and Zsh read them, so permission rules can match them. (#64263)grepresults being dropped when a matching line or path is not valid UTF-8. Thanks @Tarquinen. (#62249)@file picker now finds files in hidden folders such as.github/and dotfiles such as.env.examplewhen file search uses ripgrep (the default on Windows and outside git repos)..gitand gitignored files stay excluded. Thanks @Tarquinen. (#62577)tool.execute.beforenow apply to calls inside Code Mode programs, and a renamed call returns the new tool's structured result. (#63633, #64333).catchandPromise.allSettledcan handle it instead of the whole script failing. (#64510)nullline before its logs. (#64344)TUI
Improvements
session.tpsis on. (#63759)Bug fixes
Desktop
Improvements
+still start a comment directly. (#64410)→enters it to pick a variant or toggle Favorite, and←orEscapegoes back. A model's Console budget and reset time now show in the flyout. (#64409, #64423)from dev ▾). Click it to pick another base; the choice applies immediately, and Use main checkout switches back. (#64228)```latexand```mathcode fences now render as display math once complete. (#64380)⋯menu, whether or not you're signed in to OpenCode Console. (#64235)Bug fixes
drafts.sqlitewas a symlink to or copy of the CLI'sopencode.db. The desktop now moves that file aside and creates its own, leaving the CLI database untouched. (#64203)/btwpanel. (#63834)SDK
Improvements
UnknownErrorbody (messageandref) with status 500 instead of an empty body. (#64022)/api/experimental/automationandclient.experimental.automation.*(create,list,get,pause,resume,delete)./api/experimental/scheduleandclient.experimental.schedule.*are removed. (#64160)compaction.background;experimental.background_compactionand theshell_timeout_backgroundflag are removed. (#64290, #63699)Bug fixes
auth.jsoncredentials. Only a database file opened by path imports them. (#63716)Extensions
Improvements
executecall's row. (#64324)SessionIdleBackgrounditems can now be{ kind: "codemode", sessionID, jobID }, and GUI pluginBridgeLayoutaccepts an optionalcliprectangle. (#64343, #63819)Bug fixes
v2.3.0Compare Source
Highlights
mediumorhighin settings, or setsession.verbosityin your TUI config; an existing setting is kept. (#63207)Cmd+Alt+G(Ctrl+Alt+Gon Windows and Linux) to search prompts across the current session and jump directly to one. (#63585)Core
Improvements
mcp_eventsflag. (#63254, #63261, #63269)shell_timeout_backgroundflag. With the flag on, an explicit timeout on a background command stops it. (#63024, #63703)settings.tlswithcert,keyand an optionalpassphraseon the provider; values accept{file:}and{env:}likeapiKey. (#61832)writeandeditreturn their confirmation as a string,patchreturns an empty result, andskillreturns the skill's directory and content. (#63616, #63635, #63618, #63623)Bug fixes
127.0.0.1.TUI
Improvements
low, which summarizes each run of tools and thoughts into one activity row. Asession.verbosityyou already set is kept. (#63207)Bug fixes
Desktop
Improvements
Cmd+Alt+G/Ctrl+Alt+G, including prompts not yet loaded in the timeline. Thanks @usrnk1. (#63585)Alt+Enterto place a follow-up first in the queue andMod+Enterto steer the next queued prompt.Bug fixes
SDK
Improvements
experimental.mcp.eventevents from MCP event subscriptions.parentIDfield.Extensions
Improvements
ToolContext.signal.session.forkhook.@opencode/plugin/effectnow exportsTool, so anexecute.beforehook can reject a call withTool.Errorwithout importing@opencode/schema/tool. (#63698)v2.2.7Compare Source
Highlights
⌘Wnow closes side panel tabs wherever focus is,⌥⌘WorCtrl+Alt+Walways closes the session tab, and⌘⇧Treopens the last closed tab of either kind where it was. (#62922)Breaking changes
@opencode/ai:ImageResponse.imageis removedThis affects code that imports
@opencode/aidirectly. Readresponse.images[0]instead ofresponse.image. (#63011)SDK: fewer endpoints wait for plugins to load
On a Location that is still loading plugins,
agent.listreturns the agents loaded so far, andintegration.list,usage.limits,vcs.init,rpc.callandartifact.*no longer wait up to 5 seconds. Entries and actions that a plugin provides appear when it finishes loading, so refresh on the matching*.updatedevent. Model, provider,generate.*,voice.*andwebsearch.queryendpoints still wait. (#62796, #63040)Core
Improvements
readaccepts a negativeoffsetto read from the end of a file, such as-50for the last 50 lines. An offset past the end returns the last lines and the file's line count instead of failing. (#62147)readcan't find a file, it suggests close names: different capitalization, another extension, a small typo, or the matching path inside the project. (#62147)Exit code: N. Commands killed by a signal show the signal name, and timeouts say how long they waited and suggest a larger timeout. (#62141)cache.ttlby default (interval: "auto"), or every 4 minutes without a TTL. Models whose cache outlasts the warmingdurationare no longer pinged. (#62831)Bug fixes
needs_auth. (#63012)background_compactionon, a background summary no longer stops a running Claude Agent session mid tool call. (#63025)opencode auth logouton a.well-knownintegration, its remote providers and policies stop applying until you log back in. (#62760)gatewayApiKeynow send that key. (#62574)apiandoptions.baseURLkeepsoptions.baseURL. (#62570)"openai/gpt-5#high", keep the variant. (#62254)auth.json, and skips an invalid one with a warning instead of stopping setup. (#62568)session.generaterequests, including cache warming pings, count toward the session's totals. (#63006)rm *.tmp, is passed through as bash does instead of stopping the command. (#62141)readno longer cuts an emoji in half when it shortens a long line. (#62575)descriptionstarts with a bracketed tag, like[Beta] Reviews code, now load. (#62250)node_modules. (#62571)TUI
Improvements
←/→andTab/Shift+Tab. (#62906)/usageinstead. (#62927)Bug fixes
Desktop
Improvements
⌘Wcloses side panel tabs wherever focus is, the new Close session tab command (⌥⌘WorCtrl+Alt+W) always closes the session tab, and⌘⇧Treopens the last closed side panel or session tab where it was. (#62922)Bug fixes
Ctrl+Shift+Rtoggles the review panel again instead of reloading the window. (#62567)Escape. (#62597)SDK
Improvements
session.generatereturnstokensandcostalong withtext. (#62835)credential.updatedincludes theintegrationIDandcredentialIDof the login that changed. (#62762)client.experimental.generate.decisionsaccept optionalcriteria: { true?, false? }. (#62819)Extensions
Improvements
_session/steeringextension, advertised as_meta.steering.supportedininitialize. Thanks @smagnuso. (#54394)v2.2.6Compare Source
Highlights
opencode run -wto start the session in a new git worktree, or--worktree=<name>to name it. (#60712)--archivedtoopencode runto keep scripted and CI sessions out of your inbox and session lists. (#61270)Core
Improvements
pool: true. (#61185)opencode run --archived, which creates the session already archived so scripted and CI runs stay out of the inbox, home, and session lists. Archived sessions are also hidden from the TUI session list and skipped by--continue. (#61270)opencode run --worktree(-w), which starts the session in a new git worktree. Use--worktree=<name>to choose the worktree name. It cannot be combined with--continueor--session. (#60712)interval: "auto"mode based on cache TTL. (#60025, #60969)websearch.usepolicy action and switches for enabling all feature flags withOPENCODE_FLAGS=allorexperimental.all_flags. (#61557, #61826)experimental.codemode_vm: trueorOPENCODE_FLAGS=codemode_vm. (#62358)Bug fixes
opencode runnow waits for the background shell commands, subagents, and image jobs that its prompt started, then lets the model respond to their results before it exits. While it waits, it printswaiting for N background job(s)(abackground_waitevent with--format json). There is no time limit: a job that never exits, such as a dev server or file watcher, keeps the run open until you press Ctrl+C or send SIGTERM, so set a timeout on CI jobs. (#60699, #61911)opencode runexecution so arguments, cancellation, compiled WebSocket upgrades, and service shutdown complete reliably. SIGTERM now cancels the session and its background jobs and exits with code 143. (#61911, #61721, #61518, #61564)/api/*, so a file in your project cannot run scripts on the server's origin. (#62422)fetchnow reject URLs that contain credentials and ignore the#fragmentwhen matching permission rules, and Code Modefetchchecks every redirect against your webfetch rules. (#60502, #61701, #62373)external_directorypermission beforesession_moveleaves the current project. (#62204)opencode run. Also expand~in local MCP working directories, handle legacy stdio servers, and sendlogo_uriduring dynamic registration. (#60490, #61496, #61817, #59031)limit, such as onlylimit.context, instead of dropping the whole provider without an error. Thanks @Tarquinen. (#62240)opencode acpnow removes a session that a client creates withsession/newand closes without prompting, so IDE integrations no longer leave empty sessions behind. (#62189)qflags from freezing shell permission scanning. Thanks @yangguan-xue. (#60791)TUI
Improvements
session.submit_scroll: "keep") to retain your reading position after submitting a prompt. (#61460)Bug fixes
opencode mininow uses the agent colors from your config. Thanks @ferdinandyb. (#62067)/mcplist after signing in to an MCP server, with that server still selected. Thanks @Tarquinen. (#62245)/modelswhen they come from a provider declared in config or an add-on instead of a saved connection. Thanks @Tarquinen. (#62244)Desktop
Improvements
Bug fixes
@mentionsin a line comment that match an existing file or folder, so a comment such asCheck @hereno longer fails the send. Render partial diffs in the review pane when it shows all lines, instead of a blank pane. Thanks @Tarquinen. (#62242, #62241)SDK
Improvements
client.experimental.job.list()and its Effect equivalent for listing background shell, subagent, and image jobs, with session, descendant, kind, and status filters. (#60698)fetchimplementation for OpenCode HTTP, model, web, and remote MCP traffic. (#61582)Extensions
Improvements
CodeBlockandCodeBlockActionGUI registries for custom fenced-code rendering and actions. (#61533)Themeregistry. (#61485)ctx.ui.Select, settings layout components, and menu-row components for native-looking plugin interfaces. (#61527)Bug fixes
v2.2.5Compare Source
Highlights
⌘⌥Oon macOS orCtrl+Alt+Oon Windows and Linux to choose a worktree, and⌘⌥BorCtrl+Alt+Bto choose its base branch.⌘⇧XorCtrl+Shift+Xnow toggles shell mode in the composer. (#60713)⌘orCtrlin the quote popup to turn its checkmark into send, or press⌘EnterorCtrl+Enter, to send just that quote and comment while leaving the rest of the composer untouched. (#60640)"compaction": { "buffer": "20%" }inopencode.jsonto 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.bufferaccepts a percentage of the model's context window, such as"20%", in addition to a token count. (#60647)readmisses because a folder is missing, the error names that folder and the nearest one that exists. (#60688)editcan't findoldString, the error shows the file's closest lines, or says the change is already there. (#60689)bashnow run asshellinstead of failing, with the same permissions. A plugin tool actually namedbashstill takes precedence. (#60687)Bug fixes
TUI
Bug fixes
Desktop
Improvements
⌘orCtrlin the quote popup to send a quote and its comment directly. (#60640)Bug fixes
v2.2.4Compare Source
Highlights
"experimental": { "artifacts": true }inopencode.jsonto let agents publish, update, and serve HTML or static artifacts through the built-in local provider or plugin-provided storage. (#60351)claude auth login, install Claude Code, and verify the connection before continuing to model selection. (#60603)⌘⌥.on macOS orCtrl+Alt+.on Windows and Linux. The command is also available in the command palette and Settings › Shortcuts. (#60579)Core
Improvements
artifact_create,artifact_read,artifact_update, andartifact_delete, including a built-in local static-file provider. (#60351)opencode serveand coordinated multiple server processes so a schedule fires only once. Schedules remain opt-in throughexperimental.schedules. (#60478)Bug fixes
/logininstruction withclaude auth login. Thanks @Tarquinen. (#60592)TUI
Bug fixes
Desktop
Improvements
⌘⌥.orCtrl+Alt+.. (#60579)Bug fixes
SDK
Improvements
client.experimental.artifacts.providers,list,create,get,update,delete, andview. (#60351)client.experimental.persistentPty.updateto rename terminals or clear a user title, and exposeduserTitlepluspersistent-pty.updatedevents. (#60329)Extensions
Improvements
ctx.experimental.artifact.transform(...)to Effect and Promise plugins for registering artifact providers, capabilities, prompts, and the default provider. (#60351)v2.2.3Compare Source
Highlights
claude auth login, then select Claude Agent in/connectto use your Claude Code login and models. (#58782)Breaking changes
TUI plugins require OpenTUI 0.8
@opencode/pluginnow requires@opentui/coreand@opentui/solid0.8.0 or later. In OpenTUI 0.8, a ScrollBox'swrapper,viewport,content, and scrollbars are facade objects instead of renderables, and a customRenderContextmust implementclockandonAnimationTick. See the OpenTUI 0.8.0 release notes. (#60385)Managed policy:
integration.usecovers integrations onlyintegration.usenow controls which integration accounts can be used, and the newmcp.use,skill.use, andplugin.useactions control MCP servers, skills, and plugins. Rules with the oldmcp:,skill:, andplugin:resource prefixes are converted automatically, but a bareintegration.userule no longer applies to MCP servers, skills, or plugins. (#60315)Core
Improvements
claude auth login, and select Claude Agent in/connect;OPENCODE_CLAUDE_PATHcan override the Claude executable. Thanks @Tarquinen. (#58782)Bug fixes
executecall rows. (#60480)TUI
Improvements
experimental.media_blobis enabled. Images are downloaded only for previews, while undo, revert, fork, and prompt recall restore referenced attachments safely. (#60116)Bug fixes
<?phptag. (#60359)#in file-search paths unless it introduces a valid line range. (#60336)Desktop
Improvements
PageUpandPageDowntimeline paging from the composer without moving the draft cursor or focus. (#59426)Bug fixes
@and command-menu selection stable while results update under a stationary pointer. (#59434, #60368)⌘Wside-panel closing and focus restoration when no closable tabs remain. (#59002, #60435)404instead of retrying or showing repeated errors. (#60459)SDK
Improvements
LLMResponseoutput onAIError.partialwhen generation, object generation, or a tool loop fails. (#60477)tool(...), with optional output schemas and executable or declaration-only tools. (#60407)debug,models,plugins,provider, anduseroptions to the Responses route. (#60044)withMediaRefs,mediaHashFromUri, andMediaRequestOptionsto the Promise client for experimental stored-media references. (#60116)Bug fixes
executehandler can throw available to the AI client. (#60431)filenamealongsidefile_urlon OpenAI Responses requests. (#60382)Extensions
Improvements
Bug fixes
nullvalues in Code Mode text encoding. Thanks @xiajiahang. (#57639)v2.2.2Compare Source
Highlights
experimental_image_generatewithout additional configuration. Set its preferred model throughexperimental.image_generate.model. (#60258)Core
Improvements
experimental_image_generateby default when an image-capable provider is connected. (#60258)Bug fixes
TUI
Bug fixes
Desktop
Improvements
Bug fixes
SDK
Improvements
ifanduntilinputs forclient.experimental.schedule.create, plus schedule check results and output fields. (#60137)SessionInfo.time.busyfor the latest execution’s start time.Extensions
Improvements
titleandsubtitlefields to composer notes, source-relative quote positioning, and focus options for composer integrations. (#60164)Bug fixes
v2.2.1Compare Source
Highlights
/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 clearto control it. (#59437)experimental.image_generateto let agents create or edit images with the newimage_generatetool. You can optionally set its default model withexperimental.image_generate.model. (#59939, #60096)Breaking changes
@opencode/aiprovider removals and renamesThese changes affect code that imports
@opencode/aidirectly. They don't change the CLI, Desktop, or the HTTP API../providers/fal,./providers/black-forest-labs,./providers/replicate, and./providers/stabilityentry points. (#59977)./providers/amazon-bedrock-mantle→./providers/amazon-bedrock/mantle, and./providers/google-vertex-chat,-interactions,-mistral, and-responses→./providers/google-vertex/chat,/interactions,/mistral, and/responses. (#59506)configure()input type is now namedConfig, for exampleGroq.LanguageModelOptions→Groq.Config, andmodel()settings are optional when every setting is optional. (#59765)Core
Improvements
/goal <objective>with pause, resume, and clear controls, plus automatic progress review until the objective is met. (#59437)/schedule, agent tools, andexperimental.schedules. (#59401, #59457)image_generatetool for background image creation and editing, with automatic or configured model selection. (#59939, #60096)Bug fixes
TUI
Improvements
/goalstatus below the prompt and provide a dialog for pausing, resuming, or clearing it. (#59437)Bug fixes
/usagedialog. Thanks @Tarquinen. (#59918)Desktop
Improvements
/reloadto reload configuration without restarting. (#59887)/goalstate and actions in a composer pill. (#59437)Bug fixes
SDK
Improvements
client.experimental.schedule.{create,list,get,pause,resume,delete}for managing scheduled prompts. (#59457)client.experimental; previous locations remain as deprecated aliases until the next minor release. (#59072)Extensions
Improvements
experimental.idleSession hook so plugins can continue work before a session goes idle. (#59437)v2.2.0Compare Source
Highlights
Breaking changes
@opencode/airoot is now the Promise API@opencode/ainow works like@opencode/sdkand@opencode/client: the package root exports the Promise API, and the Effect API moved to@opencode/ai/effect.@opencode/ai/promiseis removed, and the wildcard subpath export is replaced with an explicit list of provider and protocol entry points. (#58847, #59183)The OpenCode GitHub Action is removed
The OpenCode GitHub Action is no longer published. Remove it from your workflows. (#59032)
TUI plugins require OpenTUI 0.7
@opencode/pluginnow requires@opentui/coreand@opentui/solid0.7.0, up from 0.6.8 or later. Plugins that depend on OpenTUI 0.6 fail to install until they upgrade. In OpenTUI 0.7, custom renderables read their hooks from their class at construction: assignrenderBefore,renderAfter, andonLifecyclePassin the constructor instead of as class fields, callrefreshHooks()after adding a hook by reflection, and replacedefineNativeIntegration()with astatic nativeIntegrationdeclaration. See the OpenTUI 0.7.0 release notes. (#59295)Core
Improvements
/api/info. (#59090)experimental.media_blob. (#58656, #58741)serverInfo. (#58950)Bug fixes
codemodesettings during migration. Thanks @tneemo. (#59126)euandusmulti-regions. (#59335)http://orhttps://. (#59334)$0and$ARGUMENTStext in custom command input. (#59198)executepermission is denied. (#59315)top_ksettings and stop sending unsupported penalties. (#58868)TUI
Improvements
/usage, model-picker, prompt, sidebar, warning, and error details for OpenCode Console usage limits. (#58731)Bug fixes
opencode run --format jsonserver connection errors as JSON. Thanks @andreivince. (#59366)--serverand--standaloneanywhere in supported CLI commands. (#58505)Desktop
Improvements
SIGUSR2when explicitly enabled. (#58317)@links to other sessions in messages. (#57480)Bug fixes
SDK
Improvements
Bug fixes
v1.19.6Compare Source
Desktop
Improvements
Core
Bugfixes
v1.19.5Compare Source
Core
Bugfixes
Thank you to 1 community contributor:
v1.19.4Compare Source
Core
Improvements
fetch, and updates root certificates to NSS 3.131.1.v1.19.3Compare Source
Core
Improvements
v1.19.2Compare Source
Core
Bugfixes
opencode-ailatest version, so 1.x installs are never offered a 2.x build as a regular update./updateoropencode upgrade --major.v1.19.1Compare Source
Core
Bugfixes
v1.19.0Compare Source
Core
Improvements
opencode upgrade --majorto upgrade to OpenCode 2.Bugfixes
ultrafastservice tier.TUI
Improvements
/updateto install OpenCode updates or upgrade to OpenCode 2; updates are no longer installed automatically.Thank you to 1 community contributor:
v1.18.35Compare Source
Core
Improvements
Bugfixes
Thank you to 3 community contributors:
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot. The local configuration can be found in the SI Renovate Bot repository.
49660b5833to4e6d7270b64e6d7270b6toe60bbc3eb6e60bbc3eb6e0ac5300a3e0ac5300a3ca71d8a2eeca71d8a2eeto49a50a197f49a50a197fto50a0b34d9f50a0b34d9fto571e71e225571e71e225580800c612580800c612toc51e4e9c2dc51e4e9c2dtod1af9d89acView command line instructions
Checkout
From your project repository, check out a new branch and test the changes.