Add support for opencode v2 #3

Open
elpoelma wants to merge 6 commits from feature/opencode-v2-support into master
Collaborator

Overview

This PR adds support for opencode v2:

Testing

Opencode should just work as before

Notes

  • The lsp config has been removed as it no longer does anything in opencode v2 (they dropped lsp support)
  • I replaced @ai-sdk/openai-compatible with @opencode/ai/providers/openai-compatible as recommended in https://opencode.ai/v2/docs/providers/#packages. We can of course revert this change if desired.
## Overview This PR adds support for opencode v2: - The `opencode` image is updated to the `feature-opencode-v2` tag - The config has been moved to the new opencode v2 format (see https://opencode.ai/v2/docs/migrate-v1/) ## Testing Opencode should just work as before ## Notes - The `lsp` config has been removed as it no longer does anything in opencode v2 (they dropped lsp support) - I replaced `@ai-sdk/openai-compatible` with `@opencode/ai/providers/openai-compatible` as recommended in https://opencode.ai/v2/docs/providers/#packages. We can of course revert this change if desired.
elpoelma added 5 commits 2026-10-22 08:02:27 +00:00
elpoelma added 1 commit 2026-10-22 08:08:41 +00:00
elpoelma added 2 commits 2026-10-22 08:09:36 +00:00
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feature/opencode-v2-support:feature/opencode-v2-support
git checkout feature/opencode-v2-support
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ai-tools/app-opencode#3
No description provided.