Rocky_Mountain_Vending/.pnpm-store/v10/files/50/84f7ba67761e9a19ae99ce579f26af9154f64baa17d2df7e28f43bf0379ce384fbfb96917463272b8bc4cfb9167d106958a4d7d2ec57cd63c598a7ad98995a
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

32 lines
1.4 KiB
Text

/**
* Transport layer instrumentation for MCP server
*
* Handles message interception and response correlation.
* @see https://modelcontextprotocol.io/specification/2025-06-18/basic/transports
*/
import { MCPTransport } from './types';
/**
* Wraps transport.onmessage to create spans for incoming messages.
* For "initialize" requests, extracts and stores client info and protocol version
* in the session data for the transport.
* @param transport - MCP transport instance to wrap
*/
export declare function wrapTransportOnMessage(transport: MCPTransport): void;
/**
* Wraps transport.send to handle outgoing messages and response correlation.
* For "initialize" responses, extracts and stores protocol version and server info
* in the session data for the transport.
* @param transport - MCP transport instance to wrap
*/
export declare function wrapTransportSend(transport: MCPTransport): void;
/**
* Wraps transport.onclose to clean up pending spans for this transport only
* @param transport - MCP transport instance to wrap
*/
export declare function wrapTransportOnClose(transport: MCPTransport): void;
/**
* Wraps transport error handlers to capture connection errors
* @param transport - MCP transport instance to wrap
*/
export declare function wrapTransportError(transport: MCPTransport): void;
//# sourceMappingURL=transport.d.ts.map