UNPKG

@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

23 lines (22 loc) 814 B
/** * Prompt redaction utilities for safe logging * Provides consistent prompt masking across NeuroLink components */ import type { PromptRedactionOptions } from "../types/index.js"; /** * Redact a prompt for safe logging * Truncates to maxLength and optionally shows word count */ export declare function redactPrompt(prompt: string, options?: PromptRedactionOptions): string; /** * Create a short safe mask for highly sensitive contexts */ export declare function createSafeMask(prompt: string, _maskLength?: number): string; /** * Redact for classification context (matches classifier behavior) */ export declare function redactForClassification(prompt: string): string; /** * Redact for routing context (matches router behavior) */ export declare function redactForRouting(prompt: string): string;