MCPcopy Create free account
hub / github.com/freecodexyz/free-code / getResultText

Function getResultText

src/remote/sdkMessageAdapter.ts:297–302  ·  view source on GitHub ↗
(msg: SDKResultMessage)

Source from the content-addressed store, hash-verified

295 * Extract the result text from a successful SDKResultMessage
296 */
297export function getResultText(msg: SDKResultMessage): string | null {
298 if (msg.subtype === 'success') {
299 return msg.result
300 }
301 return null
302}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected