MCPcopy Create free account
hub / github.com/ForestHubAI/edge-agents / TriggerNode

Struct TriggerNode

go/engine/node.go:157–160  ·  view source on GitHub ↗

TriggerNode is the common embed for every trigger

Source from the content-addressed store, hash-verified

155
156// TriggerNode is the common embed for every trigger. A trigger has exactly one
157// outgoing transition; it carries the full Transition (like LinearNode/BranchingNode)
158// so the transition's side effects — e.g. an AgentTask prompt seeding the
159// conversation — are applied when the trigger fires, not discarded.
160type TriggerNode struct {
161 id string
162 transition *Transition // nil until wired; a trigger has at most one outgoing transition
163}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected