Skip to main content

Module schema

Module schema 

Source
Expand description

Shared JSON output schema types for agent-exec v0.1.

All stdout output is JSON only. Tracing logs go to stderr. Schema version is fixed at “0.1”.

Structs§

CompletionEvent
The job.finished event payload.
CompletionEventRecord
Persisted in completion_event.json after terminal state is reached.
ErrorDetail
ErrorResponse
Top-level envelope for error responses.
GcData
Response for the gc command.
GcJobResult
Per-job result entry in a gc response.
InstallSkillsData
Response for install-skills command.
InstalledSkillSummary
Summary of a single installed skill, included in install_skills responses.
JobMeta
Persisted in meta.json at job creation time.
JobMetaJob
Nested job block within meta.json.
JobState
Persisted in state.json, updated as the job progresses.
JobStateJob
Nested job block within state.json.
JobStateResult
Nested result block within state.json.
JobSummary
Summary of a single job, included in list responses.
KillData
Response for kill command.
ListData
Response for list command.
NotificationConfig
Notification configuration persisted in meta.json.
Response
Top-level envelope used for every successful response.
RunData
Response for run command.
SchemaData
Response for schema command.
SinkDeliveryResult
Delivery result for a single notification sink.
Snapshot
Snapshot of stdout/stderr tail at a point in time.
StatusData
Response for status command.
TailData
Response for tail command.
WaitData
Response for wait command.

Enums§

JobStatus

Constants§

SCHEMA_VERSION