UNPKG

behemoth-cli

Version:

🌍 BEHEMOTH CLIv3.760.4 - Level 50+ POST-SINGULARITY Intelligence Trading AI

107 lines 2.38 kB
/** * MCP Protocol Types and Interfaces * Based on Model Context Protocol specification */ export interface MCPMessage { jsonrpc: '2.0'; id?: string | number; method?: string; params?: any; result?: any; error?: MCPError; } export interface MCPError { code: number; message: string; data?: any; } export interface MCPToolSchema { name: string; description: string; inputSchema: { type: 'object'; properties: Record<string, any>; required?: string[]; }; } export interface MCPResource { uri: string; name: string; description?: string; mimeType?: string; } export interface MCPServerCapabilities { tools?: { listChanged?: boolean; }; resources?: { subscribe?: boolean; listChanged?: boolean; }; prompts?: { listChanged?: boolean; }; logging?: {}; } export interface MCPClientCapabilities { sampling?: {}; } export interface MCPInitializeParams { protocolVersion: string; capabilities: MCPClientCapabilities; clientInfo: { name: string; version: string; }; } export interface MCPInitializeResult { protocolVersion: string; capabilities: MCPServerCapabilities; serverInfo: { name: string; version: string; }; } export interface MCPToolCall { name: string; arguments: Record<string, any>; } export interface MCPToolResult { content: Array<{ type: 'text'; text: string; }>; isError?: boolean; } export interface MCPServerConfig { name: string; command: string; args?: string[]; env?: Record<string, string>; cwd?: string; timeout?: number; } export interface BehemothToolCall { tool: string; symbol?: string; period?: number; limit?: number; [key: string]: any; } export interface BehemothToolResult { success: boolean; data?: any; error?: string; timestamp?: string; executionTime?: number; } export type BehemothToolCategory = 'trading' | 'analysis' | 'market-data' | 'cosmic' | 'risk' | 'monitoring' | 'optimization'; export interface BehemothTool { name: string; category: BehemothToolCategory; description: string; requiresAuth: boolean; riskLevel: 'low' | 'medium' | 'high'; schema: MCPToolSchema; } //# sourceMappingURL=types.d.ts.map