Cotal TypeScript packages
    Preparing search index...

    Function resolveAgentType

    • The harness a spawn runs (#869), resolved here once so the foreground and detached launch paths cannot drift: an explicit --agent, then the persona's agent: pin, then a detached caller's default, then this process's COTAL_DEFAULT_AGENT, then DEFAULT_CONNECTOR. Both environment values are defaults, so neither beats a pin.

      Parameters

      • choice: { callerDefault?: string; flag?: string; pin?: string }

      Returns string