@juspay/neurolink
Version:
Universal AI Development Platform with working MCP integration, multi-provider support, voice (TTS/STT/realtime), and professional CLI. 58+ external MCP servers discoverable, multimodal file processing, RAG pipelines. Build, test, and deploy AI applicatio
11 lines (10 loc) • 521 B
TypeScript
/**
* Extract a human-readable error string from an MCP isError result object.
*
* Shared utility — no side effects, no dependencies on other SDK modules —
* so it can be imported from the neurolink.ts event loop, the telemetry
* instrumentation (which loads earlier), and the MCP discovery layer without
* creating circular imports. Any change to truncation or content-type parsing
* must happen here and propagate to all three surfaces.
*/
export declare function extractMcpErrorText(raw: unknown): string;