UNPKG

@pluggedin/pluggedin-mcp-proxy

Version:

Unified MCP proxy that aggregates all your MCP servers (STDIO, SSE, Streamable HTTP) into one powerful interface. Access any tool through a single connection, search across unified documents with built-in RAG, and receive notifications from any model. Tes

28 lines (27 loc) 759 B
/** * Type definitions for slug-based tool prefixing */ /** * Error types for slug operations */ export var SlugErrorType; (function (SlugErrorType) { SlugErrorType["INVALID_INPUT"] = "INVALID_INPUT"; SlugErrorType["VALIDATION_FAILED"] = "VALIDATION_FAILED"; SlugErrorType["GENERATION_FAILED"] = "GENERATION_FAILED"; SlugErrorType["PARSING_FAILED"] = "PARSING_FAILED"; SlugErrorType["CACHE_ERROR"] = "CACHE_ERROR"; })(SlugErrorType || (SlugErrorType = {})); /** * Custom error class for slug operations */ export class SlugError extends Error { type; details; constructor(type, message, details) { super(message); this.type = type; this.details = details; this.name = 'SlugError'; } }