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

Function buildSessionQueuedPrompts

desktop/runtime/composer-state.ts:58–63  ·  view source on GitHub ↗
(session: AgentSession)

Source from the content-addressed store, hash-verified

56}
57
58function buildSessionQueuedPrompts(session: AgentSession): ComposerQueuedPrompt[] {
59 return buildQueuedPrompts({
60 steering: [...session.getSteeringMessages()],
61 followUp: [...session.getFollowUpMessages()],
62 })
63}
64
65function mapContextUsage(session: AgentSession): ComposerContextUsage | null {
66 const usage = session.getContextUsage()

Callers 1

buildComposerStateFunction · 0.85

Calls 1

buildQueuedPromptsFunction · 0.90

Tested by

no test coverage detected