/** * Expert Profile Module * * Injects expert thinking patterns, decision frameworks, and industry insights * into the agent's system prompt. Loads from: * 1. Pro expert library (crewly-pro/data/experts/) — if Pro plugin is active * 2. OSS user-defined experts (config/experts/) — always available * * Priority 2.5: after Soul (2), before Role Boundary (3). * Compactable: yes — can be truncated if token budget is tight. * * @module services/ai/prompt-modules/expert-profile */ import type { ModuleConfig } from './prompt-module.interface.js'; /** * Loads an expert profile markdown file and injects it into the system prompt. */ export declare class ExpertProfileModule { name: string; priority: number; maxTokens: number; compactable: boolean; /** * Only include when an expertId is configured for this agent. */ shouldInclude(config: ModuleConfig): boolean; /** * Build the expert profile prompt section. * * Loading priority: * 1. crewly-pro/data/experts/{expertId}.md (Pro library — checked via PluginService) * 2. {projectRoot}/config/experts/{expertId}.md (OSS user-defined) * 3. Returns empty string if not found (non-fatal) */ build(config: ModuleConfig): Promise; /** * Attempts to load the expert profile from Pro library first, then OSS. */ private loadExpertFile; } //# sourceMappingURL=expert-profile.module.d.ts.map