Skip to main content

Module session_log

Module session_log 

Source

Structs§

AgentLogEvent
BackfillState
BackfilledSession
GlobalSessionEntry
GlobalSessionIndex
Global session index — maps session IDs to their project-scoped log paths so that agent listen can find sessions from any directory.
LiveLogContext
SessionLogCoordinator
SessionLogIndex
SessionLogIndexEntry
SessionLogMetadata
SessionLogWriter

Enums§

LogCompleteness
LogEventKind
LogSourceKind
ToolKind
Normalized tool category — provider-agnostic classification of tool calls.

Traits§

HistoricalLogAdapter
LiveLogAdapter

Functions§

live_adapter_for_provider
Build a provider-specific live log adapter.
load_global_index
logs_dir
Canonical session log directory for a given project root.
record_agent_output
record_prompt
run_backfill
Run historical log backfill from the given provider adapters.
save_global_index
upsert_global_entry

Type Aliases§

LogEventCallback
Callback invoked for each event after it has been written to the session log. Used by AgentBuilder::on_log_event / AgentBuilder::stream_events_to_stderr to give library callers live visibility without re-reading the JSONL file.