/** * TeamMode agent definitions. * * Each agent is injected into the OpenCode config via the plugin's v1 * `config` hook (the mechanism the shipped 1.18.x loader actually calls). * Users see them in the agent picker of OpenCode Desktop and can invoke * them with `@agent-name` or via the `/team-*` commands. * * The PROMPT STRINGS live in ./prompts/ (lead.ts, specialists.ts, * shared.ts) — extracted verbatim; test-blackboard.mjs pins them. This * module owns the structure: roles, modes, colors, and the * tool-whitelist matrix. * * Prompt design principles (v1.4.7 — "subtraction" release): * - Deterministic routing table replaces free-form scheduling deliberation * (fixes the lead's "inner monologue" — route selection is a lookup). * - Structured reply skeleton (STATUS/CHANGES/FINDINGS/EVIDENCE/HANDOFF) * is the primary inter-agent channel; the file blackboard is demoted to * an oversized-deliverable exception (>~50 lines). MANIFEST.md is gone. * - Approval gate is a mechanical dispatch count (>=2 -> plan + wait); * blocking uncertainties are batched and asked immediately. * - Verified root causes go straight to the implementer — no ceremonial * research dispatches. * - Verification defaults to static checks; improvised browser automation * is explicitly banned. * - Adaptive review: one reviewer by default, three dimensions only for * high-risk profiles. */ import type { AgentConfig, AgentPermission } from "./types.js"; /** Grant the async COLLECT lever to the lead only (issue #6 + #7). No agent * may spawn: `tm_dispatch` is denied unconditionally above and never * registered on the tool surface, so delegation has exactly one route — the * host's `task`. These matrix entries and the tools' own runtime `ctx.agent` * checks are two independent locks. */ export declare function applyDispatcherPermission(permission: AgentPermission, isTeamLead: boolean): void; export declare const agents: Record; //# sourceMappingURL=agents.d.ts.map