MCPcopy Index your code
hub / github.com/claude-code-best/claude-code / isQueuedCommandVisible

Function isQueuedCommandVisible

src/utils/messageQueueManager.ts:368–377  ·  view source on GitHub ↗
(cmd: QueuedCommand)

Source from the content-addressed store, hash-verified

366 * sees what arrived) but stay non-editable (raw XML).
367 */
368export function isQueuedCommandVisible(cmd: QueuedCommand): boolean {
369 if (
370 (feature('KAIROS') || feature('KAIROS_CHANNELS')) &&
371 (cmd as Record<string, unknown>).origin !== undefined &&
372 ((cmd as Record<string, unknown>).origin as Record<string, unknown>)
373 ?.kind === 'channel'
374 )
375 return true
376 return isQueuedCommandEditable(cmd)
377}
378
379/**
380 * Extract text from a queued command value.

Callers

nothing calls this directly

Calls 1

isQueuedCommandEditableFunction · 0.85

Tested by

no test coverage detected