/** * [WHO]: AgentTeam extension, registers /team commands for persistent teammates, harness status, psyche status, dashboard widget * [FROM]: Depends on @catui/tui, core/extensions-host/types, ./team-runtime, ./team-parser, ./team-types, ./team-harness, ./team-presets, ./team-dashboard * [TO]: Consumed by builtin-extensions.ts as default extension * [HERE]: extensions/builtin/team/index.ts - AgentTeam extension entry point * * Commands: * /team - List teammates * /team - Auto-select team size/roles and start the task * /team:spawn [--name ] [--harness] - Create teammate * /team:preset - Create preset team * /team:send - Send message to teammate * /team:status [] - Show status * /team:progress [] - Show harness progress * /team:psyche [] - Show psyche weights * /team:dashboard - Toggle dashboard widget * /team:task ... - Manage shared task list * /team:mail - Route teammate-to-teammate mailbox messages * /team:allow-path - Grant teammate write access to a path prefix * /team:stop - Stop teammate turn * /team:terminate - Destroy teammate * /team:approve - Approve permission request * /team:mode - Switch mode */ import type { ExtensionAPI } from "../../../core/extensions-host/types.js"; export default function teamExtension(api: ExtensionAPI): Promise;