aiwg
Version:
Deployment tool and support utility for AI context. Copies agents, skills, commands, rules, and behaviors into the paths each AI platform reads (Claude Code, Codex, Copilot, Cursor, Warp, OpenClaw, and 6 more) so one source of truth works across 10 platfo
36 lines • 1.5 kB
TypeScript
/**
* 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 <name>`)
*
* @implements #1219
*/
export interface FeatureDefinition {
/** Operator-facing name — the slug used in `aiwg features <name>` */
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