/** * Optional Features Catalog * * AIWG ships several runtime-optional features whose dependencies may * be installed separately. This catalog is the canonical mapping * between **feature names** (operator vocabulary) and the **npm * packages** that enable them. * * Consumed by: * - `aiwg features` command (status / info / install / remove) * - `aiwg doctor` (Optional Features section) * - Runtime error messages (when a dynamic import fails, point at * `aiwg features install `) * * @implements #1219 */ export interface FeatureDefinition { /** Operator-facing name — the slug used in `aiwg features ` */ name: string; /** One-line description */ description: string; /** npm packages this feature requires (all must resolve for `available=true`) */ packages: string[]; /** Concrete capabilities this feature unlocks */ enables: string[]; /** Install cost / size estimate for operator awareness */ cost: string; } export declare const FEATURE_CATALOG: FeatureDefinition[]; /** Quick lookup by feature name. */ export declare function getFeature(name: string): FeatureDefinition | null; /** All feature names — useful for `--all` flags and CLI completion. */ export declare function listFeatureNames(): string[]; /** Reverse lookup: given a package name, which feature does it belong to? */ export declare function featureForPackage(pkg: string): FeatureDefinition | null; //# sourceMappingURL=catalog.d.ts.map