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

Function isCrossSessionMessage

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

Source from the content-addressed store, hash-verified

1216 * skipped.
1217 */
1218export function isCrossSessionMessage(prompt: string): boolean {
1219 return /^\s*<cross-session-message(?:\s[^>]*)?>[\s\S]*<\/cross-session-message>\s*$/.test(prompt);
1220}
1221
1222const SYSTEM_REMINDER_CLOSE = '</system-reminder>';
1223/** One complete reminder block. The attribute run stops at `<`, so a tag left

Callers 2

mainFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected