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

Function isCrossSessionMessage

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

Source from the content-addressed store, hash-verified

1217 * skipped.
1218 */
1219export function isCrossSessionMessage(prompt: string): boolean {
1220 return /^\s*<cross-session-message(?:\s[^>]*)?>[\s\S]*<\/cross-session-message>\s*$/.test(prompt);
1221}
1222
1223const SYSTEM_REMINDER_CLOSE = '</system-reminder>';
1224/** 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