Capabilities

Cursor SDK agents

Roder can delegate work to Cursor-hosted cloud agents through the official@cursor/sdk. The integration is a process-hosted TypeScript extension, separate from the native cursor inference provider used for ordinary Roder turns.

Services

  • cursor-cloud is a SubagentDispatcher; each dispatch maps to one cloud-agent run.
  • cursor-cloud-agent is a TaskExecutor; app-server clients can submit, stream, resume, and cancel work through tasks/*.
[[process_extensions]]
id = "cursor-sdk"
enabled = true
manifest = "examples/non-rust-extensions/cursor-sdk-agents/roder-extension.toml"
command = "node"
args = ["dist/src/main.js"]
cwd = "examples/non-rust-extensions/cursor-sdk-agents"
env = { CURSOR_API_KEY = "..." }
startup_timeout_ms = 15000

Dispatch input

The task and dispatcher schemas accept a prompt, HTTPS repository URL, starting ref, model, autoCreatePr, and an optional agentId for resume. Cloud agents keep running on Cursor's side, so callers should persist the returnedbc-... id when using fire-and-forget mode.

A Cursor cloud agent acts with the configured Cursor account's authority on the target repository. Use it only for repositories where remote branch and PR creation are intended.