( agentName: string, teamName?: string, )
| 142 | } |
| 143 | |
| 144 | async function readMailboxForMutation( |
| 145 | agentName: string, |
| 146 | teamName?: string, |
| 147 | ): Promise<TeammateMessage[]> { |
| 148 | const inboxPath = getInboxPath(agentName, teamName) |
| 149 | return parseMailboxMessages(await readMailboxFile(inboxPath)) |
| 150 | } |
| 151 | |
| 152 | async function writeMailboxAtomic( |
| 153 | inboxPath: string, |
no test coverage detected