UNPKG

@vibe-kit/grok-cli

Version:

An open-source AI agent that brings the power of Grok directly into your terminal.

18 lines (17 loc) 529 B
import { McpTransport, JsonRpcMessage, TransportOptions } from './transport-interface'; interface StdioTransportOptions extends TransportOptions { command: string; args?: string[]; } export declare class StdioTransport extends McpTransport { private command; private args; private process; private buffer; constructor(options: StdioTransportOptions); connect(): Promise<void>; private handleData; send(message: JsonRpcMessage): Promise<void>; disconnect(): Promise<void>; } export {};