/** * A single growth area tracked for an agent. */ export interface GrowthArea { /** Description of the growth area */ area: string; /** Date the area was identified (ISO date string) */ identifiedAt: string; /** Current progress status */ progress: 'identified' | 'improving' | 'proficient'; /** Evidence of progress or regression */ evidence: string[]; } /** * Persisted growth areas data structure. */ export interface GrowthAreasData { /** List of tracked growth areas */ areas: GrowthArea[]; /** Last time the areas were reviewed (ISO date string) */ lastReviewedAt: string; } /** * Service for tracking agent growth areas over time. * * Each agent maintains a growth-areas.json file that records areas * where the agent is actively improving. Growth areas can be manually * added or auto-extracted from learnings and failures. * * Storage: ~/.crewly/agents/{sessionName}/growth-areas.json */ export declare class GrowthAreasService { /** * Get the file path for an agent's growth areas. * * @param sessionName - Agent session name * @returns Absolute path to growth-areas.json */ private getFilePath; /** * Read growth areas data from disk. * * @param sessionName - Agent session name * @returns Growth areas data, or empty default if file doesn't exist */ getGrowthAreas(sessionName: string): Promise; /** * Add a new growth area for an agent. * * @param sessionName - Agent session name * @param area - Description of the growth area * @returns The created growth area */ addGrowthArea(sessionName: string, area: string): Promise; /** * Update the progress of an existing growth area. * * @param sessionName - Agent session name * @param area - Growth area description to update * @param progress - New progress status * @param evidence - Evidence supporting the progress update * @returns Updated growth area or null if not found */ updateProgress(sessionName: string, area: string, progress: 'identified' | 'improving' | 'proficient', evidence: string): Promise; /** * Auto-extract potential growth areas from a learning or failure text. * * @param sessionName - Agent session name * @param text - Learning or failure text to analyze * @returns Array of newly added growth areas (empty if no new areas found) */ extractFromText(sessionName: string, text: string): Promise; /** * Persist growth areas data to disk. * * @param sessionName - Agent session name * @param data - Growth areas data to save */ private save; } //# sourceMappingURL=growth-areas.service.d.ts.map