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

Function isMainThread

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected