API Reference ClaudeWrapper v#0.6.0

Copy Markdown View Source

Modules

Elixir wrapper for the Claude Code CLI.

Behaviour for CLI commands.

claude agents command -- lists configured agents.

Authentication commands -- login, logout, status, token setup.

claude doctor command -- checks CLI health.

Plugin marketplace management commands.

MCP (Model Context Protocol) server management commands.

Plugin management commands.

claude --version command.

Shared client configuration for the Claude CLI.

Interactive helpers for driving ClaudeWrapper.DuplexSession from IEx.

Long-lived claude session over the CLI's stream-json duplex protocol.

Interactive helpers for conversational use in IEx.

Programmatic builder for .mcp.json configuration files.

Query command -- the primary interface for executing prompts.

Result from a completed query execution.

Retry policy with exponential backoff for query execution.

Multi-turn session management.

GenServer wrapper for long-running multi-turn sessions.

A single event from the Claude CLI's NDJSON streaming output.

:telemetry events emitted by ClaudeWrapper.