Skip to main content

Module log

Module log 

Source
Expand description

A native session file read for the session report without opening the session (ultron/session-log.ts): a digest of each entry (who wrote it and what it used, never its text), the latest values of the namespaces the report reads, and every operation’s lane and result.

Structs§

DurableResponse
One model response of a durable runtime conversation other than the root’s (an rlm.spawn child, a typed agent, another root conversation): its ultron.assistant entry in the session’s durable records (ultron.module/durable). The root conversation’s responses are transcript entries already, so they are not listed.
Header
LogEntry
LogOperation
LogResult
LogToolCall
LogUsage
LogUsageRow
Recall
What one automatic recall put in front of the model (session-core auto_memory::recall_message).
SessionLog

Enums§

EntryKind
LogError
A read failure: Session for a file that is not a native session (SessionLogError), Io otherwise.

Functions§

file_times
File modification time in milliseconds (Math.round(stat.mtimeMs)) and size.
log_usage
read_session_header
Read only a session file’s header (its first line).
read_session_log
Read a native session file. Fails with LogError::Session for a file that is not one.
record