MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / findCompletionText

Function findCompletionText

apps/vscode-e2e/src/suite/subtasks.test.ts:337–344  ·  view source on GitHub ↗
(taskId: string)

Source from the content-addressed store, hash-verified

335 }
336
337 const findCompletionText = (taskId: string) =>
338 messages[taskId]
339 ?.filter(
340 (message) =>
341 message.type === "say" && (message.say === "completion_result" || message.say === "text"),
342 )
343 .map((message) => message.text?.trim())
344 .find((text): text is string => !!text)
345
346 const findErrorText = (taskId: string) =>
347 messages[taskId]

Callers 1

subtasks.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected