Skip to content

feat: add claude code provider, gmail mcp, and resource monitor extension - #40

Merged
icco merged 8 commits into
mainfrom
feat/opencode-claude
Oct 23, 2026
Merged

icco merged 8 commits into
mainfrom
feat/opencode-claude

Conversation

@icco

@icco icco commented Oct 22, 2026 •

Copy link
Copy Markdown
Owner

Why

Adds opencode-claude 1.5.0 and the claude CLI 2.1.309 and allows the claude-code provider, so a Claude Pro or Max plan can serve requests; sign in once with docker compose exec opencode claude auth login --claudeai.
Adds the Gmail MCP server (read and draft scopes) with GMAIL_MCP_CLIENT_ID/GMAIL_MCP_CLIENT_SECRET; subagents are denied its tools.
Allows Resource Monitor through /etc/openchamber/policy.json; install it once from Settings, Extensions.

Risks

Gmail MCP is a Workspace Developer Preview and needs a Web OAuth client with redirect http://127.0.0.1:19876/callback; login is finished by replaying that callback URL inside the container (see README). The CLI auto-updater is off and claude-code 2.1.309 is exempted from the release-age gate. The monitor has no tags and only sees the openchamber container.

Installs the pinned claude CLI and the @openchamber/opencode-claude plugin so a Claude Pro or Max plan can serve requests, and allows the claude-code provider.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@icco
icco marked this pull request as ready for review October 22, 2026 23:58
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@icco
icco requested a balanced review from Copilot October 23, 2026 00:00
@icco icco self-assigned this Oct 23, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The smoke-test allowlist needs correction, and authenticated requests and login persistence still require human verification.

1 open issue
What changed in this PR

Adds Claude Code as an OpenCode provider so Claude Pro or Max subscriptions can serve requests.

Changes:

  • Installs pinned Claude Code CLI and plugin versions, with CLI auto-updates disabled.
  • Allows the claude-code provider and updates the routing expectation.
  • Documents login and credential persistence; leaves the fallback chain unchanged.
File Description
tests/​routing.test.mjs Adds Claude Code to the expected provider allowlist.
README.md Documents subscription login and persistent credentials.
pnpm-workspace.yaml Adds release-age exceptions for pinned CLI packages.
opencode.jsonc Registers the plugin and permits its provider.
Dockerfile Installs and checks the CLI; disables auto-updates.

Review effort: Balanced

Comment thread tests/routing.test.mjs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@icco icco changed the title feat: add claude code provider via opencode-claude feat: add claude code provider and resource monitor extension Oct 23, 2026
actions-user and others added 3 commits October 23, 2026 00:04
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…n test

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@icco icco changed the title feat: add claude code provider and resource monitor extension feat: add claude code provider, gmail mcp, and resource monitor extension Oct 23, 2026
@icco
icco requested a balanced review from Copilot October 23, 2026 00:10
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Gmail authentication has unresolved configuration and callback blockers, and the new integrations require deployment-level human validation.

3 open issues
1 resolved since last review

Review effort: Balanced

Comment thread README.md Outdated
Comment thread opencode.jsonc Outdated
Comment thread opencode.jsonc
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@icco
icco merged commit 96f4958 into main Oct 23, 2026
10 checks passed
@icco
icco deleted the feat/opencode-claude branch October 23, 2026 00:22
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.

3 participants