MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / isAgentMessage

Function isAgentMessage

src/directory.ts:1208–1210  ·  view source on GitHub ↗
(prompt: string)

Source from the content-addressed store, hash-verified

1206 * prompt that is entirely that envelope is skipped.
1207 */
1208export function isAgentMessage(prompt: string): boolean {
1209 return /^\s*<agent-message(?:\s[^>]*)?>[\s\S]*<\/agent-message>\s*$/.test(prompt);
1210}
1211
1212/**
1213 * A message another local Claude Code session sends to this one arrives as a

Callers 2

mainFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected