Documentation
¶
Overview ¶
Package layout exports the compatibility on-disk layout for one persisted Compozy run.
Internal writers still use these constants, and the public package continues to expose them for callers that need the compatibility artifact names, even though run reading itself is now daemon-backed.
Index ¶
Constants ¶
View Source
const ( // RunDBFileName is the basename of the per-run SQLite operational store. RunDBFileName = "run.db" // RunMetaFileName is the basename of the per-run metadata file written by // the journal and read by the public reader. RunMetaFileName = "run.json" // EventsLogFileName is the basename of the append-only event log inside // the run directory. EventsLogFileName = "events.jsonl" // RunResultFileName is the basename of the terminal run result document. RunResultFileName = "result.json" // JobsDirName is the basename of the subdirectory that holds per-job // artifacts (prompt, stdout, stderr). JobsDirName = "jobs" // TurnsDirName is the basename of the subdirectory that holds per-turn // transcript artifacts. TurnsDirName = "turns" )
File and directory names that live under one run directory.
Variables ¶
This section is empty.
Functions ¶
func EventsLogPath ¶
EventsLogPath returns the absolute path to the events log inside runDir.
func ResultPath ¶
ResultPath returns the absolute path to the result file inside runDir.
func RunDBPath ¶ added in v0.2.0
RunDBPath returns the absolute path to the run database file inside runDir.
func RunMetaPath ¶
RunMetaPath returns the absolute path to the run metadata file inside runDir.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.