MCPcopy Index your code
hub / github.com/codeaashu/claude-code / isMainThread

Function isMainThread

src/utils/queueProcessor.ts:61–61  ·  view source on GitHub ↗
(cmd: QueuedCommand)

Source from the content-addressed store, hash-verified

59 // false with the queue unchanged → the React effect never re-fires and any
60 // queued user prompt stalls permanently.
61 const isMainThread = (cmd: QueuedCommand) => cmd.agentId === undefined
62
63 const next = peek(isMainThread)
64 if (!next) {

Callers 1

processQueueIfReadyFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected