Versions in this module Expand all Collapse all v0 v0.2.1 Jul 4, 2026 v0.2.0 Jul 4, 2026 Changes in this version + const FormatVersion + const NodeTypeACP + const NodeTypeAction + const NodeTypeCheckpoint + const NodeTypeCompute + var ErrInvalidDefinition = errors.New("invalid acpx flow definition") + type Definition struct + Edges []Edge + FormatVersion int + Name string + Nodes []Node + Requires []string + StartAt string + func (def Definition) ExecutionOrder() ([]string, error) + func (def Definition) ToSnapshot() (acpx.FlowSnapshot, error) + func (def Definition) Validate() error + type Edge struct + From string + Switch *SwitchEdge + To string + type Node struct + Agent string + Args []string + Command string + Cwd string + Env map[string]string + ID string + Input json.RawMessage + Prompt string + Requires []string + Select string + Session string + Type string + Value json.RawMessage + type SwitchEdge struct + Cases map[string]string + On string