char-fork/llama.cpp
git clone https://git.t4t.associates/char-fork/llama.cpp
01818e495
char/aliceai-t5-moe
1/** 2* Connection lifecycle phases for MCP protocol 3*/ 4export enum MCPConnectionPhase { 5CAPABILITIES_EXCHANGED = 'capabilities_exchanged' , 6CONNECTED = 'connected' , 7DISCONNECTED = 'disconnected' , 8ERROR = 'error' , 9IDLE = 'idle' , 10INITIALIZING = 'initializing' , 11LISTING_TOOLS = 'listing_tools' , 12TRANSPORT_CREATING = 'transport_creating' , 13TRANSPORT_READY = 'transport_ready' 14} 15 16/** 17* Log level for connection events 18*/ 19export enum MCPLogLevel { 20ERROR = 'error' , 21INFO = 'info' , 22WARN = 'warn' 23} 24 25/** 26* Transport types for MCP connections 27*/ 28export enum MCPTransportType { 29SSE = 'sse' , 30STREAMABLE_HTTP = 'streamable_http' , 31WEBSOCKET = 'websocket' 32} 33 34/** 35* Health check status for MCP servers 36*/ 37export enum HealthCheckStatus { 38CONNECTING = 'connecting' , 39ERROR = 'error' , 40IDLE = 'idle' , 41SUCCESS = 'success' 42} 43 44/** 45* Content types for MCP tool results 46*/ 47export enum MCPContentType { 48IMAGE = 'image' , 49RESOURCE = 'resource' , 50TEXT = 'text' 51} 52 53/** 54* JSON Schema types used in MCP tool definitions 55*/ 56export enum JsonSchemaType { 57NUMBER = 'number' , 58OBJECT = 'object' , 59STRING = 'string' 60} 61 62/** 63* Reference types for MCP completions 64*/ 65export enum MCPRefType { 66PROMPT = 'ref/prompt' , 67RESOURCE = 'ref/resource' 68}