Cotal TypeScript packages
    Preparing search index...

    Function launchAgent

    • Ask the running manager to launch one resolved agent from the run spec — the v0.4 launch command, capability-only: a static deploy credential holds it via the admin instrument set (a spawn-capable agent holds no row at all), a user-mode deployer view holds the owner-equality variant (the manager's ledger-derived admin flag keeps spec-owner === caller-owner there). The manager derives .cotal/run/<runId>.json itself; we pass the runId, never a path. When the serving manager lives in ANOTHER checkout/host, pass spec and the resolved spec rides the control plane inline — the manager validates it as untrusted input and persists it under its own run tree before launching.

      Parameters

      Returns Promise<ControlReply>