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

Function isAgentMessage

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

Source from the content-addressed store, hash-verified

1205 * prompt that is entirely that envelope is skipped.
1206 */
1207export function isAgentMessage(prompt: string): boolean {
1208 return /^\s*<agent-message(?:\s[^>]*)?>[\s\S]*<\/agent-message>\s*$/.test(prompt);
1209}
1210
1211/**
1212 * 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