nexus-agents - v2.80.0
    Preparing search index...

    Class AgentStateMachine

    Agent State Machine.

    Manages agent lifecycle states with validation, event callbacks, and error recovery mechanisms.

    Index

    Constructors

    Accessors

    Methods

    • Forces a transition to the error state. Use for unrecoverable errors that should bypass normal transition rules.

      Parameters

      • Optionalcontext: Record<string, unknown>

        Optional context data about the error

      Returns void