feat: Cursor CLI ACP provider via Agent Client Protocol - #370
Closed
alecuba16 wants to merge 2 commits into
Closed
Conversation
alecuba16
force-pushed
the
feat/cursor-acp
branch
from
August 2, 2026 15:27
a93b26a to
f2fa4fc
Compare
Co-authored-by: Cursor <cursoragent@cursor.com>
alecuba16
force-pushed
the
feat/cursor-acp
branch
2 times, most recently
from
August 10, 2026 18:16
5313f28 to
b657362
Compare
Author
|
Closing in favor of consolidated group branches. The changes from this PR have been merged into a functional group branch. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add Cursor CLI ACP (Agent Client Protocol) provider support, allowing Claurst to connect to Cursor as an LLM backend via the ACP subprocess protocol.
Changes
crates/api/src/providers/cursor_acp.rs):CursorAcpProviderimplementingLlmProvider— request shaping, response parsing, streaming SSE handling, and tool-call conversion via the ACP wire format.registry.rs):CursorAcpProviderregistered under the"cursor-acp"key inprovider_from_key,provider_from_config, andruntime_provider_for.providers/mod.rs):pub mod cursor_acp+ re-exports ofCursorAcpCommand,CursorAcpProvider,ModelCatalog.app.rs): provider picker entry, known providers list, andactivate_providermatch arm for cursor-acp subprocess management.query/src/lib.rs):"cursor-acp"added to the native providers list.docs/providers.md): setup instructions, environment variables, andsettings.jsonconfiguration example.FEATURE_DESIGN_cursor_cli_acp_support.md): architecture overview and protocol details.Setup
$PATH.settings.json:{ "providers": { "cursor-acp": {} } }Test plan
cargo check --workspacepasses (verified locally)