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 closed #34 as superseded because its changes are included in #35.
The amended implementation is 4932ff9 on feat/opencode-v2-host-owned-cursor. It targets released @opencode/* 2.0.6 and the provider/model API. OpenCode owns history, permissions, tools, and compaction while the adapter preserves the live Cursor catalog and exact variants.
This update keeps incomplete catalog discovery retryable instead of caching a partial inventory as complete. It also derives checkpoint occupancy without double-counting generated output and keeps terminal Run counters in provider metadata. Cursor receives the SDK's MCP tool-family allowlist, native shell streams complete, unsupported exec requests receive explicit replies, and native StrReplace stays declined.
npm run verify passes locally with 95 tests and the pinned-host acceptance gate. Bounded live host-tool checks passed with Composer and Grok; one earlier tool-less turn was not reproduced, so its exact cause is still unverified. CI status for this head is on #35. The acceptance report records remaining live checks for instruction priority with images, opaque reasoning, and sustained compaction.
Please keep this issue open through publication and release checks. Code review continues in #35.
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
betafor the V2-only package and keepmainas the existing release line. Publish reviewed3.0.0-beta.Nversions under the npmbetatag. 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 closed #34 as superseded because its changes are included in #35.
The amended implementation is
4932ff9onfeat/opencode-v2-host-owned-cursor. It targets released@opencode/*2.0.6and the provider/model API. OpenCode owns history, permissions, tools, and compaction while the adapter preserves the live Cursor catalog and exact variants.This update keeps incomplete catalog discovery retryable instead of caching a partial inventory as complete. It also derives checkpoint occupancy without double-counting generated output and keeps terminal Run counters in provider metadata. Cursor receives the SDK's MCP tool-family allowlist, native shell streams complete, unsupported exec requests receive explicit replies, and native StrReplace stays declined.
npm run verifypasses locally with 95 tests and the pinned-host acceptance gate. Bounded live host-tool checks passed with Composer and Grok; one earlier tool-less turn was not reproduced, so its exact cause is still unverified. CI status for this head is on #35. The acceptance report records remaining live checks for instruction priority with images, opaque reasoning, and sustained compaction.Please keep this issue open through publication and release checks. Code review continues in #35.