Public declaration syntax from forge-go/core/brew.go Original source SHA-256: 79bbcff0253c23a87c2638e6e4779420713fbf498629278fe80747581cbc5999 Function bodies and constant values are omitted. This is not the complete implementation. Source line 9 type BrewNodeKindType string const ( BrewNodeKindAgentStep BrewNodeKindType; Source line 29 type BrewNodeKind struct Source line 67 func NewAgentStepNode(provider ProviderRef, systemPrompt string, maxSteps uint32) BrewNodeKind Source line 77 func NewToolInvocationNode(toolID string, tier ToolTier) BrewNodeKind Source line 86 func NewMcpCallNode(serverID, toolName string) BrewNodeKind Source line 95 func NewWebOperationNode(operation string) BrewNodeKind Source line 103 func NewConditionalBranchNode(conditionExpr, trueTarget, falseTarget string) BrewNodeKind Source line 113 func NewParallelForkNode(branches []string, joinMode JoinMode) BrewNodeKind Source line 122 func NewSubBrewRefNode(brewID string) BrewNodeKind Source line 130 func NewHumanCheckpointNode(prompt string, timeoutMs *uint64) BrewNodeKind Source line 141 type JoinMode string const ( // JoinModeAwaitAll waits for all branches to complete. Fail if any branch fails. JoinModeAwaitAll JoinMode; Source line 151 func JoinModeFirstN(n uint32) JoinMode Source line 161 type BrewEdgeKind string const ( // BrewEdgeKindDataFlow means the output of source is fed as input to target. BrewEdgeKindDataFlow BrewEdgeKind; Source line 173 type BrewEdge struct Source line 188 type BrewNode struct Source line 205 type Brew struct Source line 223 func (b *Brew) SortedNodeIDs() []string Source line 233 func (b *Brew) SortedEdges() []BrewEdge