Documentation
¶
Index ¶
- Constants
- func Execute(ctx context.Context, jobs []model.Job, runArtifacts model.RunArtifacts, ...) error
- func ExecuteExec(ctx context.Context, cfg *model.RuntimeConfig, scope model.RunScope) error
- func IsExecErrorReported(err error) bool
- func SwapNewAgentClientForTest(fn func(context.Context, agent.ClientConfig) (agent.Client, error)) func()
- func WriteExecJSONFailure(dst io.Writer, runID string, err error) error
- type PersistedExecRun
- type PreflightConfig
- type PreflightDecision
Constants ¶
View Source
const ( PreflightOK = preflightpkg.OK PreflightContinued = preflightpkg.Continued PreflightAborted = preflightpkg.Aborted PreflightSkipped = preflightpkg.Skipped PreflightForced = preflightpkg.Forced )
Variables ¶
This section is empty.
Functions ¶
func ExecuteExec ¶ added in v0.1.9
func IsExecErrorReported ¶ added in v0.1.9
func SwapNewAgentClientForTest ¶ added in v0.1.11
func SwapNewAgentClientForTest( fn func(context.Context, agent.ClientConfig) (agent.Client, error), ) func()
SwapNewAgentClientForTest lets higher-level package tests replace ACP client construction without importing lower-level internal runtime packages.
Types ¶
type PersistedExecRun ¶ added in v0.1.9
type PersistedExecRun = execpkg.PersistedExecRun
func LoadPersistedExecRun ¶ added in v0.1.9
func LoadPersistedExecRun(workspaceRoot, runID string) (PersistedExecRun, error)
type PreflightConfig ¶ added in v0.1.7
type PreflightConfig = preflightpkg.Config
type PreflightDecision ¶ added in v0.1.7
type PreflightDecision = preflightpkg.Decision
func PreflightCheck ¶ added in v0.1.7
func PreflightCheck( ctx context.Context, tasksDir string, registry *tasks.TypeRegistry, isInteractive func() bool, force bool, ) (PreflightDecision, error)
func PreflightCheckConfig ¶ added in v0.1.7
func PreflightCheckConfig(ctx context.Context, cfg PreflightConfig) (PreflightDecision, error)
Click to show internal directories.
Click to hide internal directories.