MCPcopy Create free account
hub / github.com/arctic-cli/interface / runPrompt

Function runPrompt

packages/arctic/src/session/prompt.ts:224–233  ·  view source on GitHub ↗
(input: PromptInput)

Source from the content-addressed store, hash-verified

222 })
223
224 async function runPrompt(input: PromptInput) {
225 const message = await createUserMessage(input)
226 await Session.touch(input.sessionID)
227
228 if (input.noReply === true) {
229 return message
230 }
231
232 return loop(input.sessionID)
233 }
234
235 async function benchmarkFanout(parent: Session.Info, input: PromptInput) {
236 if (!SessionBenchmark.isParent(parent)) {

Callers 3

prompt.tsFile · 0.85
benchmarkFanoutFunction · 0.85
benchmarkChildPromptFunction · 0.85

Calls 1

createUserMessageFunction · 0.85

Tested by

no test coverage detected