Cotal TypeScript packages
    Preparing search index...

    Function loadRoster

    • A roster file: a supervisor's declarative boot list.

      roster.yaml

      agents: - { name: planner, agent: claude } - { name: builder, agent: opencode, role: builder }

      Each entry maps to one manager start call, the same spawn path the control-plane start op uses. agent is required (the connector type; there is no default connector). name is the persona REF (the file .cotal/agents/<name>.md, which must exist); the booted peer presents under that file's own name:. role/config/cwd are optional; persona/model come from the same file, and cwd roots the agent at a folder of its own (default: the manager's workspace root). share-tools is an optional list narrowing the operator's declared MCP servers for this agent, like --share-tools (absent: all; []: none). Any other key, in an entry or beside agents:, is refused, because a misspelling such as share_tools would otherwise boot the agent with the default the operator meant to override.

      Parameters

      • path: string

      Returns {
          agent: string;
          config: string | undefined;
          cwd: string | undefined;
          name: string;
          role: string | undefined;
          shareTools: any[] | undefined;
      }[]