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>
21 lines
No EOL
1.1 KiB
Text
21 lines
No EOL
1.1 KiB
Text
/**
|
|
* Core attribute extraction and building functions for MCP server instrumentation
|
|
*/
|
|
import type { JsonRpcNotification, JsonRpcRequest, McpSpanType } from './types';
|
|
/**
|
|
* Extracts additional attributes for specific notification types
|
|
* @param method - Notification method name
|
|
* @param params - Notification parameters
|
|
* @returns Method-specific attributes for span instrumentation
|
|
*/
|
|
export declare function getNotificationAttributes(method: string, params: Record<string, unknown>): Record<string, string | number>;
|
|
/**
|
|
* Build type-specific attributes based on message type
|
|
* @param type - Span type (request or notification)
|
|
* @param message - JSON-RPC message
|
|
* @param params - Optional parameters for attribute extraction
|
|
* @returns Type-specific attributes for span instrumentation
|
|
*/
|
|
export declare function buildTypeSpecificAttributes(type: McpSpanType, message: JsonRpcRequest | JsonRpcNotification, params?: Record<string, unknown>): Record<string, string | number>;
|
|
export { buildTransportAttributes } from './sessionExtraction';
|
|
//# sourceMappingURL=attributeExtraction.d.ts.map |