MCPcopy Create free account
hub / github.com/freecodexyz/free-code / takeInitialUserMessage

Function takeInitialUserMessage

src/utils/sessionStart.ts:28–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26let pendingInitialUserMessage: string | undefined
27
28export function takeInitialUserMessage(): string | undefined {
29 const v = pendingInitialUserMessage
30 pendingInitialUserMessage = undefined
31 return v
32}
33
34// Note to CLAUDE: do not add ANY "warmup" logic. It is **CRITICAL** that you do not add extra work on startup.
35export async function processSessionStartHooks(

Callers 1

runHeadlessFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected