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

    Function createTrackedAgent

    • Creates a new TrackedAgent object with initial values.

      Parameters

      • agentId: string

        The agent ID

      • state: "error" | "thinking" | "idle" | "waiting" | "executing"

        The initial agent state

      • role: string = 'unknown'

        The agent role (defaults to 'unknown')

      • OptionalcurrentTask: string

        Optional current task description

      Returns ObserverTrackedAgent

      A new TrackedAgent object