@vibe-kit/grok-cli
Version:
An open-source AI agent that brings the power of Grok directly into your terminal.
20 lines (19 loc) • 575 B
TypeScript
import { GrokToolCall } from '../grok/client';
export interface ConversationEntry {
type: 'user' | 'assistant' | 'tool_result';
content: string;
timestamp: Date;
toolCalls?: GrokToolCall[];
}
export declare class ConversationalAgent {
private grokClient;
private textEditor;
private bash;
private conversation;
private messages;
constructor(apiKey: string);
processUserMessage(message: string): Promise<ConversationEntry[]>;
private executeTool;
getConversation(): ConversationEntry[];
getCurrentDirectory(): string;
}