Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecuteExec ¶
func ExecuteExec(ctx context.Context, cfg *model.RuntimeConfig) error
ExecuteExec runs one headless-or-TUI exec turn with optional persistence and ACP resume.
func IsExecErrorReported ¶
IsExecErrorReported returns true when a failed exec already emitted its JSON failure payload.
Types ¶
type PersistedExecRun ¶
type PersistedExecRun struct {
Version int `json:"version"`
Mode string `json:"mode"`
RunID string `json:"run_id"`
Status string `json:"status"`
WorkspaceRoot string `json:"workspace_root"`
IDE string `json:"ide"`
Model string `json:"model"`
ReasoningEffort string `json:"reasoning_effort"`
AccessMode string `json:"access_mode"`
AddDirs []string `json:"add_dirs,omitempty"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
TurnCount int `json:"turn_count"`
ACPSessionID string `json:"acp_session_id,omitempty"`
AgentSessionID string `json:"agent_session_id,omitempty"`
LoadSessionSupported bool `json:"load_session_supported,omitempty"`
Usage model.Usage `json:"usage,omitempty"`
LastError string `json:"last_error,omitempty"`
EventsPath string `json:"events_path,omitempty"`
TurnsDir string `json:"turns_dir,omitempty"`
}
PersistedExecRun is the persisted run contract for resumable exec sessions.
func LoadPersistedExecRun ¶
func LoadPersistedExecRun(workspaceRoot, runID string) (PersistedExecRun, error)
LoadPersistedExecRun reads one persisted exec run from .compozy/runs/<run-id>/run.json.
type SessionViewSnapshot ¶
type SessionViewSnapshot = transcript.SessionViewSnapshot
Click to show internal directories.
Click to hide internal directories.