API Reference lemon_cli_runners v#0.1.0
View SourceModules
Claude CLI subprocess runner.
Claude CLI JSONL event schema definitions.
Content of an assistant message
Assistant response message
Final session result message
Session initialization message
User message (typically tool results)
Plain text content block
Extended thinking/reasoning block
Tool execution result block
Tool invocation request block
Token usage statistics
Content of a user message (tool results)
High-level API for using Claude (Claude Code CLI) as a collaborating subagent.
Codex CLI subprocess runner.
Codex CLI JSONL event schema definitions.
Final text response from agent
Shell command execution
Error message
File modifications
Individual file change within a FileChangeItem
Work item has finished
Work item has begun
Work item has progress
MCP tool invocation
Error from an MCP tool call
Result from an MCP tool call
Extended thinking/reasoning text
Stream-level error or notice
Error information for failed turns
Session has started
Individual todo item
Task/todo list
Conversation turn has finished
Turn failed with error
Conversation turn has begun
Token usage statistics
Web search query
High-level API for using Codex as a collaborating subagent.
Factory Droid CLI subprocess runner.
High-level API for using Factory Droid as a collaborating subagent.
Environment variables read by lemon_cli_runners — the vendor CLI wrappers.
Base GenServer for running CLI tools that emit JSONL events.
Kimi CLI subprocess runner.
Kimi CLI JSONL event schema definitions.
Error line emitted by the CLI
Kimi message payload
Wrapper for a message line
Tool call entry
Function payload for a tool call
High-level API for using Kimi (Kimi CLI) as a collaborating subagent.
OpenCode CLI subprocess runner.
High-level API for using OpenCode (opencode CLI) as a collaborating subagent.
Pi Coding Agent CLI subprocess runner.
High-level API for using Pi (pi-coding-agent CLI) as a collaborating subagent.
Shared helpers for translating tool calls and tool results into action events.
Core type definitions for CLI-based subprocess runners.
Represents a discrete action performed by a CLI agent.
Emitted for action lifecycle events (started/updated/completed).
Emitted when a CLI session ends.
Factory for creating CLI runner events with consistent engine identification.
Compatibility wrapper - delegates to LemonCore.ResumeToken.
Emitted when a CLI session begins.