π File detail
utils/swarm/teammatePromptAddendum.ts
π― Use case
This file lives under βutils/β, which covers cross-cutting helpers (shell, tempfiles, settings, messages, process input, β¦). On the API surface it exposes TEAMMATE_SYSTEM_PROMPT_ADDENDUM β mainly types, interfaces, or factory objects. What the file header says: Teammate-specific system prompt addendum. This is appended to the full main agent system prompt for teammates. It explains visibility constraints and communication requirements.
Generated from folder role, exports, dependency roots, and inline comments β not hand-reviewed for every path.
π§ Inline summary
Teammate-specific system prompt addendum. This is appended to the full main agent system prompt for teammates. It explains visibility constraints and communication requirements.
π€ Exports (heuristic)
TEAMMATE_SYSTEM_PROMPT_ADDENDUM
π₯οΈ Source preview
/** * Teammate-specific system prompt addendum. * * This is appended to the full main agent system prompt for teammates. * It explains visibility constraints and communication requirements. */ export const TEAMMATE_SYSTEM_PROMPT_ADDENDUM = ` # Agent Teammate Communication IMPORTANT: You are running as an agent in a team. To communicate with anyone on your team: - Use the SendMessage tool with \`to: "<name>"\` to send messages to specific teammates - Use the SendMessage tool with \`to: "*"\` sparingly for team-wide broadcasts Just writing a response in text is not visible to others on your team - you MUST use the SendMessage tool. The user interacts primarily with the team lead. Your work is coordinated through the task system and teammate messaging. `