Skip to content
Proposals/Upgrade OpenCode to v1.18.26 and resume Claude 5
proposaldeveloperP5Worth a lookOpenCode

Upgrade OpenCode to v1.18.26 and resume Claude 5 sessions after prompt or tool edits

OpenCode v1.18.26 lets Claude 5 sessions keep stale thinking blocks after prompt or tool changes, accepts Bedrock GPT-5.6 reasoning effort none, prompts for the Azure CLI resource name directly, persists session renames, and omits empty apply_patch move paths.

Why this loop

Claude 5 sessions used to fail after prompt or tool changes because of stale thinking blocks. v1.18.26 tolerates those blocks, so keep the existing session instead of starting over. Bedrock GPT-5.6 now accepts reasoning effort none, so you can configure non-reasoning turns. Azure CLI sign-in now asks for the resource name instead of querying Azure management APIs. Session names from the title editor and tab context menu now save. apply_patch no longer puts an empty move path in permission metadata, so treat remaining move paths as real. Tool-call timing also stays accurate when a tool updates metadata while still running.

Proposed actions

  1. Upgrade OpenCode to v1.18.26 from https://github.com/anomalyco/opencode/releases/tag/v1.18.26. Reopen any Claude 5 session that previously failed after a prompt or tool change and continue it; stale thinking blocks no longer abort the session.
  2. For Amazon Bedrock GPT-5.6 in OpenCode, set reasoning effort to none when you want a non-reasoning turn—that value is now accepted.
  3. When OpenCode Azure CLI sign-in prompts you, type the resource name directly; v1.18.26 no longer queries Azure management APIs for it.
  4. Rename OpenCode sessions from the title editor or the tab context menu; those names now save reliably.
  5. On apply_patch permission prompts, do not expect an empty move path in metadata; if a move path is present, treat it as a real move.

Agent prompt

Paste into your agent or query via MCP (get_agent_prompt) — free, no extra AI cost

OpenCode session task

DevAgentRadar → OpenCode

You are helping me adopt a real coding-assistant change. Work only from the facts below. Do not invent features.

Context

Assistant: OpenCode Proposal: Upgrade OpenCode to v1.18.26 and resume Claude 5 sessions after prompt or tool edits Summary: OpenCode v1.18.26 lets Claude 5 sessions keep stale thinking blocks after prompt or tool changes, accepts Bedrock GPT-5.6 reasoning effort none, prompts for the Azure CLI resource name directly, persists session renames, and omits empty apply_patch move paths. Primary source: https://github.com/anomalyco/opencode/releases/tag/v1.18.26

Why it matters

Claude 5 sessions used to fail after prompt or tool changes because of stale thinking blocks. v1.18.26 tolerates those blocks, so keep the existing session instead of starting over. Bedrock GPT-5.6 now accepts reasoning effort none, so you can configure non-reasoning turns. Azure CLI sign-in now asks for the resource name instead of querying Azure management APIs. Session names from the title editor and tab context menu now save. apply_patch no longer puts an empty move path in permission metadata, so treat remaining move paths as real. Tool-call timing also stays accurate when a tool updates metadata while still running.

Suggested actions

  1. Upgrade OpenCode to v1.18.26 from https://github.com/anomalyco/opencode/releases/tag/v1.18.26. Reopen any Claude 5 session that previously failed after a prompt or tool change and continue it; stale thinking blocks no longer abort the session.
  2. For Amazon Bedrock GPT-5.6 in OpenCode, set reasoning effort to none when you want a non-reasoning turn—that value is now accepted.
  3. When OpenCode Azure CLI sign-in prompts you, type the resource name directly; v1.18.26 no longer queries Azure management APIs for it.
  4. Rename OpenCode sessions from the title editor or the tab context menu; those names now save reliably.
  5. On apply_patch permission prompts, do not expect an empty move path in metadata; if a move path is present, treat it as a real move.

Config surfaces this release may change

  • permission rules (high confidence) — check your repo before applying

After you finish

Do not report this as applied to DevAgentRadar. You cannot write the visitor's loop.

Tell the human: open https://devagentradar.com/proposals/opencode-v1-18-26-upgrade-opencode-to-v1-18-26-and-resume-claude-5-sessi and mark Applied, Skipped, or Failed. Proposal id: b3149def-4822-41fb-955e-48e7ba239248

Your job

  1. Restate the change in one sentence.
  2. Propose a minimal plan for my repo (or a throwaway pilot).
  3. Implement only what I approve; prefer small diffs and tests.
  4. Call out risks (permissions, breaking APIs, cost).

Start by confirming you understood the proposal.

modelsecuritycliRelease source ↗

Your loop

This browser · no sign-in · not shared as “you”

After you run the prompt

Only you can mark this. Agents cannot write your loop.

Your decision stays on this device. A public tally appears after a few votes.

Originating release signal

OpenCodev1.18.26Sep 1, 2026

v1.18.26

Claude 5 sessions now tolerate stale thinking blocks instead of failing after prompt or tool changes. · Bedrock GPT-5.6 models now accept none reasoning effort. · Bedrock reasoning and replay handling is more reliable. (@pengzh1) · Tool call timing now stays accurate when tools update their metadata while still running. (@bartlettroscoe) · apply_patch no longer emits an empty move path in permission metadata. (@altendky) · Azure CLI sign-in now asks for the resource name directly instead of querying Azure management APIs. · +8 more changes
Verified excerpt — the source's own words

Core

Bugfixes

  • Claude 5 sessions now tolerate stale thinking blocks instead of failing after prompt or tool changes.
  • Bedrock GPT-5.6 models now accept none reasoning effort.
  • Bedrock reasoning and replay handling is more reliable. (@pengzh1)
  • Tool call timing now stays accurate when tools update their metadata while still running. (@bartlettroscoe)
  • apply_patch no longer emits an empty move path in permission metadata. (@altendky)

Improvements

  • Azure CLI sign-in now asks for the resource name directly instead of querying Azure management APIs.

Desktop

Bugfixes

  • Session renames now save reliably from the title editor and tab context menu.

Thank you to 3 community contributors:

  • @altendky:

    • fix(opencode): omit empty apply patch move path (#45329)
  • @pengzh1:

    • fix(core): bump @ai-sdk/amazon-bedrock to 4.0.166 for reasoning and replay fixes (#45520)
  • @bartlettroscoe:

    • fix(core): Fix for incorrect time.start reset in tool call logging (#32574) (#32596)
Primary source ↗