UNPKG

mcp-use

Version:

Opinionated MCP Framework for TypeScript (@modelcontextprotocol/sdk compatible) - Build MCP Agents, Clients and Servers with support for ChatGPT Apps, Code Mode, OAuth, Notifications, Sampling, Observability and more.

42 lines 1.06 kB
/** * Type definitions for observability module */ import type { BaseCallbackHandler } from "@langchain/core/callbacks/base"; /** * Configuration for Langfuse integration */ export interface LangfuseConfig { publicKey?: string; secretKey?: string; baseUrl?: string; flushAt?: number; flushInterval?: number; release?: string; requestTimeout?: number; enabled?: boolean; } /** * Configuration for Laminar integration */ export interface LaminarConfig { projectApiKey?: string; baseUrl?: string; } /** * Extended callback handler with shutdown support */ export interface ObservabilityCallbackHandler extends BaseCallbackHandler { /** Optional shutdown method for cleanup */ shutdownAsync?: () => Promise<void>; shutdown?: () => void | Promise<void>; } /** * Observability platform information */ export interface ObservabilityPlatform { name: string; handler?: ObservabilityCallbackHandler; initialized: boolean; autoInstrumentation?: boolean; } //# sourceMappingURL=types.d.ts.map