The SDK exposes multiple event surfaces.Documentation Index
Fetch the complete documentation index at: https://docs.cline.bot/llms.txt
Use this file to discover all available pages before exploring further.
AgentRuntimeEvent
DirectAgentRuntime usage emits low-level runtime events through agent.subscribe(listener).
AgentRunResult.status rather than finishReason.
AgentEvent
Core/host-facing agent events are emitted throughAgentConfig.onEvent and core adapters.
| Event | Description |
|---|---|
content_start | Text/reasoning/tool content begins |
content_update | Tool progress update |
content_end | Text/reasoning/tool content completes |
iteration_start | Loop iteration begins |
iteration_end | Loop iteration completes |
usage | Token/cost usage update |
notice | Runtime status/recovery notice |
done | Agent completed/aborted/failed |
error | Error occurred |
Done Event
Usage Event
CoreSessionEvent
ClineCore.subscribe(listener, options?) emits session-level events from the runtime host.

