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

Function isMainThread

source code/cli/print.ts:1926–1926  ·  view source on GitHub ↗
(cmd: QueuedCommand)

Source from the content-addressed store, hash-verified

1924 // Defined outside the try block so it's accessible in the post-finally
1925 // queue re-checks at the bottom of run().
1926 const isMainThread = (cmd: QueuedCommand) => cmd.agentId === undefined
1927
1928 try {
1929 let command: QueuedCommand | undefined

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected