# CursorCliSdk v0.2.0 - Table of Contents

> Elixir SDK for the Cursor Agent CLI with streaming, governed launch, MCP helpers, and ASM integration.

## Pages

- Project Overview
  - [Overview](readme.md)

- Foundations
  - [Getting Started](getting-started.md)
  - [Options](options.md)
  - [Models](models.md)
  - [Configuration](configuration.md)
  - [Authentication](authentication.md)

- Runtime
  - [Streaming](streaming.md)
  - [Synchronous Runs](synchronous.md)
  - [Sessions](sessions.md)
  - [Error Handling](error-handling.md)

- Stack Integration
  - [Architecture](architecture.md)
  - [Governed Launch](governed-launch.md)
  - [ASM Integration](asm-integration.md)
  - [MCP](mcp.md)

- Operations
  - [Testing](testing.md)
  - [Provider Behavior Manifest](provider_behavior_manifest.md)

- Examples
  - [Examples](examples.md)

- Reference
  - [Changelog](changelog.md)
  - [License](license.md)

## Modules

- [CursorCliSdk.Models.Model](CursorCliSdk.Models.Model.md): Cursor model entry.
- [CursorCliSdk.Session.Entry](CursorCliSdk.Session.Entry.md): Structured Cursor session list entry.

- Public API
  - [CursorCliSdk](CursorCliSdk.md): Elixir SDK for the Cursor Agent CLI (`agent`).

- Configuration
  - [CursorCliSdk.ArgBuilder](CursorCliSdk.ArgBuilder.md): Converts `CursorCliSdk.Options` into Cursor Agent CLI argv.
  - [CursorCliSdk.CLI](CursorCliSdk.CLI.md): Cursor Agent CLI command resolution and invocation rendering.
  - [CursorCliSdk.Configuration](CursorCliSdk.Configuration.md): Numeric runtime defaults for Cursor CLI SDK streams and helper commands.

  - [CursorCliSdk.Models](CursorCliSdk.Models.md): Cursor model-list helpers.
  - [CursorCliSdk.Options](CursorCliSdk.Options.md): Options for a Cursor Agent CLI headless invocation.

- Commands &amp; Sessions
  - [CursorCliSdk.Command](CursorCliSdk.Command.md): Synchronous Cursor command helpers built on `cli_subprocess_core`.
  - [CursorCliSdk.MCP](CursorCliSdk.MCP.md): Cursor MCP command wrappers.
  - [CursorCliSdk.Session](CursorCliSdk.Session.md): Cursor session helpers.

- Governed &amp; Runtime
  - [CursorCliSdk.GovernedLaunch](CursorCliSdk.GovernedLaunch.md): Governed launch validation and invocation construction for Cursor.
  - [CursorCliSdk.Runtime.CLI](CursorCliSdk.Runtime.CLI.md): Session-oriented runtime for Cursor Agent CLI streams.

  - [CursorCliSdk.Stream](CursorCliSdk.Stream.md): Lazy streaming execution of Cursor Agent CLI prompts.

- Types
  - [CursorCliSdk.Types](CursorCliSdk.Types.md): Type projection for Cursor stream-json events.
  - [CursorCliSdk.Types.ErrorEvent](CursorCliSdk.Types.ErrorEvent.md): Cursor SDK error stream event.
  - [CursorCliSdk.Types.InitEvent](CursorCliSdk.Types.InitEvent.md): Cursor stream initialization event.
  - [CursorCliSdk.Types.MessageEvent](CursorCliSdk.Types.MessageEvent.md): Cursor assistant/user message event.
  - [CursorCliSdk.Types.ResultEvent](CursorCliSdk.Types.ResultEvent.md): Cursor final result event.
  - [CursorCliSdk.Types.Stats](CursorCliSdk.Types.Stats.md): Aggregated stream stats.
  - [CursorCliSdk.Types.ThinkingEvent](CursorCliSdk.Types.ThinkingEvent.md): Cursor thinking delta event.
  - [CursorCliSdk.Types.ToolResultEvent](CursorCliSdk.Types.ToolResultEvent.md): Cursor tool-call completion event.
  - [CursorCliSdk.Types.ToolUseEvent](CursorCliSdk.Types.ToolUseEvent.md): Cursor tool-call start event.

- Errors
  - [CursorCliSdk.Error](CursorCliSdk.Error.md): Unified error type for Cursor CLI SDK operations.

