Support for Cursor?
As Cursor has released their own CLI (https://cursor.com/cli), I'm wondering if Opencode could support it. It's just a thought, as I'm guessing the API for it is not made for public use or documented in any way, but it's worth a shot.
This issue might be a duplicate of existing issues. Please check:
- #216: Editor integrations - This is a general feature request for editor integrations similar to Claude Code's VS Code extension, which would include support for editors like Cursor
- #1246: "Cursor extension installed" on each open up of opencode inside terminal in cursor - This issue discusses problems when running opencode inside Cursor's terminal
Feel free to ignore if none of these address your specific case.
I don't know if they have a generic inference api, also I recall @thdxr mentioning he is friendly w/ CEO of cursor so would only do this if they gave the ok
I'm not sure about tos/etc, but the cursor cli does have something that streams json output similar to claude code:
https://docs.cursor.com/en/cli/reference/output-format
Could @thdxr ask the CEO of Cursor for the party favor?
I need this :)
This would be so awesome.
That would be really cool 💯
this would be amazing to have
Plzzzzz @thdxr ❤️
Would it be possible to have inline autocompletion on nvim through cursor cli?
@wizardengineer we are thinking about how we could do something for completions
we are thinking about how we could do something for completions
You don't know how many lives you'll improve with this one feature...it'd be a complete game changer!!
Let me know what you guys have cooking up. Really interested in the progress on completions
@wizardengineer ill let u know once we have something coming rn it is still in the investigation / weighing options phase
Would love this, with @wizardengineer on this, it would be a massive QoL improvement.
@wizardengineer ill let u know once we have something coming rn it is still in the investigation / weighing options phase
Just curious, can the support for cursor be implemented via a custom plugin with the ability to select models under cursor (like we do for copilot) as well as auto support?
And what is the priority level of this feature?
cursor models in general? Yeah probably
Oh yeah would be great to be able to integrate Cursor inside Opencode CLI, the Cursor's CLI is clearly not their priority and currently far behind other agentic CLIs in terms of UX, they mostly focus on the Desktop IDE.
Would be cool to have the better CLI harness that is Opencode to use Cursor's features, they still seem to do very good on codebase indexing/retrieving for example, and their Auto and Composer1 models are very good and cheap for medium difficulty agentic multitasking.
that would be great, a lot of employers are paying for Cursor nowadays
This would be amazing, my company is paying for Claude Pro and Cursor. I can switch between Cursor models and Claude Pro when rate limited.
Having cursor available as an upstream provider in opencode would be amazing :)