Skip to content

[Feature]: Opencode V2 support #6328

Description

@heymaaz

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I am describing a concrete problem or use case, not just a vague idea.

Area

apps/server

Problem or use case

I want to use opencode2 with t3code

Proposed solution

Add another provider for opencode2 in settings providers, will be easier to switch to opencode2 when it goes stable in a couple of weeks.

Why this matters

Users that have opencode2 can’t use t3 code.

Smallest useful scope

Add a toggle in current opencode providers for v1 /v2

Alternatives considered

I tried switching binary path to v2 but that didn’t work. I get the error:

OpenCode — Unavailable. Failed to execute OpenCode CLI health check: Unable to determine OpenCode version from 'opencode -
-version' output. T3 Code requires OpenCode v1.14.19 or newer.

Risks or tradeoffs

No response

Examples or references

No response

Contribution

  • I would be open to helping implement this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementRequested improvement or new capability.needs-triageIssue needs maintainer review and initial categorization.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions