MCPcopy Create free account
hub / github.com/claude-code-best/claude-code / readMailboxForMutation

Function readMailboxForMutation

src/utils/teammateMailbox.ts:144–150  ·  view source on GitHub ↗
(
  agentName: string,
  teamName?: string,
)

Source from the content-addressed store, hash-verified

142}
143
144async 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
152async function writeMailboxAtomic(
153 inboxPath: string,

Callers 5

writeToMailboxFunction · 0.85
markMessageAsReadByIndexFunction · 0.85
markMessagesAsReadFunction · 0.85

Calls 3

getInboxPathFunction · 0.85
parseMailboxMessagesFunction · 0.85
readMailboxFileFunction · 0.85

Tested by

no test coverage detected