/** * Reads workspace bootstrap files and injects them into agent context. * * Also provides coding agent context enrichment: when coding-agent metadata * is present on the inbound message, the provider appends a summary of the * current coding session state (active iteration, recent errors, pending * feedback) so the LLM has full awareness during the autonomous coding loop. */ import { type Provider } from "@elizaos/core"; import type { CodingAgentContext } from "../services/coding-agent-context"; import { type WorkspaceBootstrapFile } from "./workspace"; /** @internal Exported for testing. */ export declare function truncate(content: string, max: number): string; /** @internal Exported for testing. */ export declare function buildContext(files: WorkspaceBootstrapFile[], maxChars: number): string; /** @internal Exported for testing. Builds a summary of the coding agent session. */ export declare function buildCodingAgentSummary(ctx: CodingAgentContext): string; export declare function createWorkspaceProvider(options?: { workspaceDir?: string; maxCharsPerFile?: number; }): Provider; //# sourceMappingURL=workspace-provider.d.ts.map