MCPcopy Create free account
hub / github.com/IgorWarzocha/howcode / buildComposerQueueSnapshotKey

Function buildComposerQueueSnapshotKey

desktop/runtime/composer-queue.ts:14–16  ·  view source on GitHub ↗
(queue: ComposerQueueSnapshot)

Source from the content-addressed store, hash-verified

12export type ComposerQueueSnapshot = { steering: string[]; followUp: string[] }
13
14export function buildComposerQueueSnapshotKey(queue: ComposerQueueSnapshot) {
15 return JSON.stringify([queue.steering, queue.followUp])
16}
17
18function buildQueuedPromptId(mode: ComposerQueueMode, text: string, duplicateIndex: number) {
19 return `${mode}:${duplicateIndex}:${text}`

Callers 3

dequeueComposerPromptFunction · 0.90
dequeueComposerPromptFunction · 0.90
buildQueuedPromptsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected