Skip to content

[Discussion] OpenCode V2 Plugin Support #31

Description

@CasualDeveloper

Describe the enhancement you want to request

Support Cursor models in OpenCode V2, including private models, exact variants, images, and OAuth login. OpenCode should manage history, permissions, tools, and compaction.

Use beta for the V2-only package and keep main as the existing release line. Publish reviewed 3.0.0-beta.N versions under the npm beta tag. The channel name identifies V2 compatibility, not a lower quality bar.

Current status

Hey @makeittech, #33 has merged and #35 is ready for review. I've closed #34 as superseded because its changes are already included in #35.

The current implementation is 30f75a3 on feat/opencode-v2-host-owned-cursor. It targets released @opencode/* 2.0.6, uses the provider/model API, and groups Cursor usable-model IDs so non-thinking SKUs are none and thinking SKUs are the reasoning variants.

Unit tests, typecheck, build, and loader smoke pass locally. CI for this commit failed the pinned-host acceptance test: OpenCode 2.0.6 rejected a permission reply as Missing key ["decision"].

Composer failed an earlier conflicting-instruction test. Instruction priority, opaque-reasoning replay, and continued work after automatic compaction still need live verification. The test report has the details.

Please keep this issue open until publication and release checks are complete. Code review continues in #35.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions