Skip to content

Remove @openchamber/opencode-claude plugin — root cause of claude-code 404s - #6538

Merged
developing-today[bot] merged 1 commit into
mainfrom
fix/remove-opencode-claude-plugin
Nov 6, 2026
Merged

developing-today[bot] merged 1 commit into
mainfrom
fix/remove-opencode-claude-plugin

Conversation

@developing-today

@developing-today developing-today Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

What

Removes the single entry "@openchamber/opencode-claude@1.3.8" from the plugins array in .opencode/opencode.jsonc. Nothing else changes (1 line deleted). This file is the global opencode config: ~/.config/opencode/opencode.jsonc is a symlink to it.

Root cause of the claude-code 404s (opencode#1806)

The stale external plugin @openchamber/opencode-claude@1.3.8 registers a session.model.request hook that rewrites every claude-code provider request baseURL to its own loopback proxy. The native provider then composes POST http://127.0.0.1:<proxy>/v1/v1/messages, and the proxy answers with its own plain-text 404 Not Found. Proven 2026-11-06: removing the plugin restored live Anthropic 200s (PROBEOK on both probe legs, route_attempt outcome success) on fork build 5e9b135f. Both 22c0a6d and 5e9b135f were affected identically — the defect was never in the fork binary, the credential, or the config baseURL; it was this plugin, external to both builds.

Why this PR is time-critical

Production is already running with this exact edit as an uncommitted working-tree change in the primary checkout (applied as the stopgap through the ~/.config/opencode/opencode.jsonc symlink). The resulting file blob is 885d480582 — byte-identical to this PR branch. Until this lands, any checkout/pull/rebuild that refreshes the working tree resurrects the plugin and re-breaks claude-code; Drew's pending #5647 switch makes that window concrete. This PR makes the production-proven bytes the committed state.

Verification

  • Branch file blob 885d48058235a431ba3ced9a219dfbfd731c037b == the live production file currently serving GREEN probe legs.
  • grep opencode-claude over the whole repo tree: this was the only occurrence.
  • All other plugin entries untouched.

Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@developing-today
developing-today Bot requested review from a team and dezren39 as code owners November 6, 2026 15:42
@coderabbitai

coderabbitai Bot commented Nov 6, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: cc92e9c6-3c91-4696-8b8a-95fd2ada05e7

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants