MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / takeInitialUserMessage

Function takeInitialUserMessage

source code/utils/sessionStart.ts:30–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 1

runHeadlessFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected