UNPKG

erosolar-cli

Version:

Unified AI agent framework for the command line - Multi-provider support with schema-driven tools, code intelligence, and transparent reasoning

35 lines 1.06 kB
/** * Handles multi-line paste detection and summarization * Provides graceful handling of large text blocks pasted into chat */ export interface PasteSummary { isMultiline: boolean; lineCount: number; charCount: number; preview: string; language?: string; summary: string; } /** * Detect if text is a multi-line paste (3+ lines) */ export declare function isMultilinePaste(text: string): boolean; /** * Generate a concise summary of pasted content */ export declare function generatePasteSummary(text: string): PasteSummary; /** * Format a paste summary for display */ export declare function formatPasteSummaryForDisplay(summary: PasteSummary): string; /** * Create a display-friendly version of multi-line content * Returns both the summary for display and the full content for sending */ export interface ProcessedPaste { displaySummary: string; fullContent: string; metadata: PasteSummary; } export declare function processPaste(text: string): ProcessedPaste; //# sourceMappingURL=multilinePasteHandler.d.ts.map