Skip to main content

Module model

Module model 

Source
Expand description

Agent-agnostic domain model (CLAUDE.md §6).

Everything here is what adapters normalize INTO; nothing here knows about any specific agent’s on-disk format.

Structs§

Event
One line/turn of a session.
Session
One normalized agent conversation/run.
SessionRef
Lightweight pointer to one session file on disk, produced by Adapter::discover.
SubAgent
A sub-agent spawned via the Task (legacy) / Agent (current) tool.
ToolCall
One tool invocation by the assistant.
Usage
Token usage as reported by the agent.

Enums§

EventKind
What one normalized event represents.