/** * Compact formatting utilities for small-context AI agents * * Provides compact response formatting to minimize payload size * while preserving essential information. */ import type { Frame } from "../../shared/types/frame.js"; /** * Compact frame representation for small-context agents */ export interface CompactFrame { id: string; ref: string; cap?: string; ts: number; modules: string[]; next: string; branch?: string; jira?: string; blockers?: string[]; mergeBlockers?: string[]; testsFailing?: string[]; keywords?: string[]; _truncated?: boolean; } /** * Convert Frame to compact format */ export declare function compactFrame(frame: Frame): CompactFrame; /** * Compact list response with count summary */ export interface CompactListResponse { frames: CompactFrame[]; count: number; _truncated?: boolean; } /** * Create a compact list response */ export declare function compactFrameList(frames: Frame[]): CompactListResponse;