Validate providers and retain complete run debugging context
This commit is contained in:
@@ -1,16 +1,27 @@
|
||||
package protocol
|
||||
|
||||
const (
|
||||
RunPipeline = "run_pipeline"
|
||||
RunStarted = "run_started"
|
||||
ListRuns = "list_runs"
|
||||
Runs = "runs"
|
||||
GetRun = "get_run"
|
||||
Run = "run"
|
||||
CancelRun = "cancel_run"
|
||||
RetryRun = "retry_run"
|
||||
RunPipeline = "run_pipeline"
|
||||
RunStarted = "run_started"
|
||||
ListRuns = "list_runs"
|
||||
Runs = "runs"
|
||||
GetRun = "get_run"
|
||||
Run = "run"
|
||||
CancelRun = "cancel_run"
|
||||
RetryRun = "retry_run"
|
||||
GetRunEvidence = "get_run_evidence"
|
||||
RunEvidence = "run_evidence"
|
||||
)
|
||||
|
||||
type SessionEvidence struct {
|
||||
Sequence int `json:"sequence"`
|
||||
SessionID string `json:"session_id"`
|
||||
Backend string `json:"backend"`
|
||||
Directory string `json:"directory"`
|
||||
Data string `json:"data,omitempty"`
|
||||
Diagnostic string `json:"diagnostic,omitempty"`
|
||||
}
|
||||
|
||||
type RunSummary struct {
|
||||
ID int64 `json:"id"`
|
||||
PipelineID int64 `json:"pipeline_id"`
|
||||
|
||||
Reference in New Issue
Block a user