package runtime type Snapshot struct { Threads []Thread `json:"threads"` SpawnEdges []SpawnEdge `json:"spawnEdges"` Goals []Goal `json:"goals"` Source SourceEvidence `json:"source"` Sources SourceMap `json:"sources"` } type SourceMap map[string]SourceEvidence type Thread struct { ID string `json:"id"` Role string `json:"role"` Status string `json:"status"` CreatedAt string `json:"createdAt"` UpdatedAt string `json:"updatedAt"` CWD string `json:"cwd"` Title string `json:"title"` AgentNickname string `json:"agentNickname,omitempty"` AgentRole string `json:"agentRole,omitempty"` AgentPath string `json:"agentPath,omitempty"` ThreadSource string `json:"threadSource,omitempty"` Preview string `json:"preview,omitempty"` Source SourceEvidence `json:"source"` } type SpawnEdge struct { FromThreadID string `json:"fromThreadId"` ToThreadID string `json:"toThreadId"` Reason string `json:"reason"` CreatedAt string `json:"createdAt"` Source SourceEvidence `json:"source"` } type Goal struct { ThreadID string `json:"threadId"` Goal string `json:"goal"` Status string `json:"status"` UpdatedAt string `json:"updatedAt"` Source SourceEvidence `json:"source"` } type SourceEvidence struct { Kind string `json:"kind"` Path string `json:"path,omitempty"` Confidence string `json:"confidence"` Message string `json:"message,omitempty"` }