Expand description
Job directory management for agent-exec v0.1.
Resolution order for the jobs root:
--rootCLI flagAGENT_EXEC_ROOTenvironment variable$XDG_DATA_HOME/agent-exec/jobs~/.local/share/agent-exec/jobs
Structs§
- JobDir
- Handle to a specific job’s directory.
- JobNot
Found - Sentinel error type to distinguish “job not found” from other I/O errors.
Used by callers to emit
error.code = "job_not_found"instead ofinternal_error. - Tail
Metrics - Metrics returned by
JobDir::read_tail_metrics.
Functions§
- resolve_
root - Resolve the jobs root directory following the priority chain.