Versions in this module Expand all Collapse all v0 v0.11.10 Nov 16, 2026 v0.11.9 Nov 13, 2026 v0.11.8 Nov 2, 2026 v0.11.7 Oct 29, 2026 v0.11.6 Oct 27, 2026 Changes in this version type ReferenceType + const TypeAWF v0.11.5 Oct 27, 2026 v0.11.4 Oct 27, 2026 v0.11.3 Oct 23, 2026 v0.11.2 Oct 22, 2026 Changes in this version type StepStateData + TokensEstimated bool + TokensInput int + TokensOutput int v0.5.0 Mar 30, 2026 Changes in this version type StepStateData + Data map[string]any v0.4.1 Mar 28, 2026 Changes in this version + var ValidContextProperties = map[string]bool + var ValidErrorProperties = map[string]bool + var ValidStateProperties = map[string]bool + var ValidWorkflowProperties = map[string]bool + func ExtractRefPaths(content string) []string + func NoEscape(s string) string + func SerializeLoopItem(item any) (string, error) + func ShellEscape(s string) string + type Context struct + AWF map[string]string + Context ContextData + Env map[string]string + Error *ErrorData + Inputs map[string]any + Loop *LoopData + States map[string]StepStateData + Workflow WorkflowData + func NewContext() *Context + type ContextData struct + Hostname string + User string + WorkingDir string + type ErrorData struct + ExitCode int + Message string + State string + Type string + type LoopData struct + First bool + Index int + Item any + Last bool + Length int + Parent *LoopData + func (l *LoopData) Index1() int + type ParseError struct + Cause error + Template string + func (e *ParseError) Error() string + func (e *ParseError) Unwrap() error + type Reference struct + Namespace string + Path string + Property string + Raw string + Type ReferenceType + func ExtractReferences(template string) ([]Reference, error) + func ParseReference(path string) Reference + type ReferenceType string + const TypeContext + const TypeEnv + const TypeError + const TypeInputs + const TypeLoop + const TypeStates + const TypeUnknown + const TypeWorkflow + func CategorizeNamespace(namespace string) ReferenceType + type Resolver interface + Resolve func(template string, ctx *Context) (string, error) + type StepStateData struct + ExitCode int + JSON any + Output string + Response map[string]any + Status string + Stderr string + TokensUsed int + type TemplateResolver struct + func NewTemplateResolver() *TemplateResolver + func (r *TemplateResolver) Resolve(tmplStr string, ctx *Context) (string, error) + type UndefinedVariableError struct + Variable string + func (e *UndefinedVariableError) Error() string + type WorkflowData struct + CurrentState string + ID string + Name string + StartedAt time.Time + func (w WorkflowData) Duration() string