MCPcopy Create free account
hub / github.com/Ark0N/Codeman / extractFirstTextContent

Method extractFirstTextContent

src/subagent-watcher.ts:230–246  ·  view source on GitHub ↗

* Extract text from message content, handling both string and array formats. * For array content, returns the text from the first 'text' block.

(
    content: string | Array<{ type: string; text?: string }> | undefined
  )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

formatTranscriptMethod · 0.95
_processDescriptionMethod · 0.95

Calls 1

trimMethod · 0.45

Tested by

no test coverage detected