works.iterative.claude.core.log.model
Members list
Type members
Classlikes
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait LogEntryPayloadclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait LogEntryPayloadclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
A bounded page of a session's main-thread entries.
A bounded page of a session's main-thread entries.
Value parameters
- entries
-
the page's entries in file order (oldest first), already parsed with the tolerant line parser, so unrecognized vendor lines survive as raw entries and blank or unparseable lines are omitted
- older
-
a cursor to the page immediately before this one, or
Nonewhen this page reaches the start of the transcript
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait LogEntryPayloadclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait LogEntryPayloadclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class AssistantLogEntryclass AttachmentLogEntryclass LastPromptLogEntryclass PermissionModeLogEntryclass ProgressLogEntryclass QueueOperationLogEntryclass RawLogEntryclass SystemLogEntryclass UserLogEntryShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
The result of mirroring a session tree.
The result of mirroring a session tree.
Value parameters
- copied
-
files that were absent from the mirror and copied whole
- extended
-
files appended in place after the mirrored bytes were confirmed a prefix
- failed
-
files whose copy failed mid-run (e.g. the vendor deleted or truncated them between listing and copy), paired with the failure message. Other files are still mirrored; a later run retries these because the mirror is idempotent.
- refreshed
-
files recopied whole because they shrank or their mirrored prefix diverged
- skipped
-
files left untouched because source and mirror sizes matched
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
MirrorReport.type
A continuation cursor for reading older entries of a session's transcript.
A continuation cursor for reading older entries of a session's transcript.
It is opaque by construction: only the archive read path (within the log package) mints one. A consumer obtains one from a page and hands it back to fetch the previous page, but cannot forge one against an arbitrary file. Its fields pin the cursor to a single resolved file so it can never be applied to a different one:
offsetis a byte position into an append-only file, so it stays valid as the file grows.sourceis the exact transcript path the cursor was minted against. The vendor-then-mirror fallback can change which file a session resolves to between calls (e.g. the vendor tree is pruned mid-paging); when the current resolution no longer matchessource, paging fails rather than reading a stale offset against the wrong file.
Value parameters
- offset
-
the exclusive byte bound below which older entries are read
- sessionId
-
the session the cursor pages, re-resolved on each older-page call
- source
-
the transcript file the cursor's
offsetindexes into
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait LogEntryPayloadclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait LogEntryPayloadclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait LogEntryPayloadclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait LogEntryPayloadclass Objecttrait Matchableclass AnyShow all
The root a SessionRecord was resolved under.
The root a SessionRecord was resolved under.
Resolution tries the live vendor tree first and falls back to the archive mirror, so a session pruned from the vendor directory still reads from the mirror. The root a record won under also decides custody: only a Vendor record is a mirror source, so mirroring an Archive-resolved session never writes back into the archive.
Attributes
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
A located session record.
A located session record.
Value parameters
- mainTranscript
-
the
<sessionId>.jsonlmain-thread transcript file - root
-
which root the record was resolved under — the live vendor tree or the archive mirror it falls back to
- sessionId
-
the vendor session id
- treeDir
-
the
<sessionId>/directory holdingsubagents/,tool-results/, andworkflows/; may not exist when a session spawned no sub-agents
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait LogEntryPayloadclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait LogEntryPayloadclass Objecttrait Matchableclass AnyShow all