API Reference CursorCliSdk v#0.1.0

Copy Markdown View Source

Modules

Elixir SDK for the Cursor Agent CLI (agent).

Converts CursorCliSdk.Options into Cursor Agent CLI argv.

Cursor Agent CLI command resolution and invocation rendering.

Synchronous Cursor command helpers built on cli_subprocess_core.

Numeric runtime defaults for Cursor CLI SDK streams and helper commands.

Unified error type for Cursor CLI SDK operations.

Governed launch validation and invocation construction for Cursor.

Cursor MCP command wrappers.

Cursor model-list helpers.

Cursor model entry.

Options for a Cursor Agent CLI headless invocation.

Session-oriented runtime for Cursor Agent CLI streams.

Cursor session helpers.

Structured Cursor session list entry.

Lazy streaming execution of Cursor Agent CLI prompts.

Type projection for Cursor stream-json events.

Cursor SDK error stream event.

Cursor stream initialization event.

Cursor assistant/user message event.

Cursor final result event.

Aggregated stream stats.

Cursor thinking delta event.

Cursor tool-call completion event.

Cursor tool-call start event.