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 ¶
func IsExecErrorReported ¶
func SwapNewAgentClientForTest ¶
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 ¶
type PersistedExecRun = execpkg.PersistedExecRun
func LoadPersistedExecRun ¶
func LoadPersistedExecRun(workspaceRoot, runID string) (PersistedExecRun, error)
type PreflightConfig ¶
type PreflightConfig = preflightpkg.Config
type PreflightDecision ¶
type PreflightDecision = preflightpkg.Decision
func PreflightCheck ¶
func PreflightCheck( ctx context.Context, tasksDir string, registry *tasks.TypeRegistry, isInteractive func() bool, force bool, ) (PreflightDecision, error)
func PreflightCheckConfig ¶
func PreflightCheckConfig(ctx context.Context, cfg PreflightConfig) (PreflightDecision, error)
Directories
¶
| Path | Synopsis |
|---|---|
|
internal
|
|
|
worktree
Package worktree captures a deterministic fingerprint of a workspace's uncommitted state so callers can detect whether an arbitrary operation (an agent session, a hook, a task job) actually modified any files.
|
Package worktree captures a deterministic fingerprint of a workspace's uncommitted state so callers can detect whether an arbitrary operation (an agent session, a hook, a task job) actually modified any files. |
Click to show internal directories.
Click to hide internal directories.