UNPKG

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

22 lines 925 B
/** * Contributor Detection Runner * * Runs a contributor's declarative detection spec against the project root. * Determines whether the contributor's framework is *in use* on this project, * not just installed. Pure I/O — no code execution. * * @architecture @.aiwg/architecture/decisions/ADR-023-contributor-discovery-convention.md * @issue #938 */ import type { DetectionSpec } from './types.js'; /** * Run a contributor's detection spec. Returns the count of files matching * any glob pattern (with deduplication). The caller compares against * `spec.minCount` to decide in-use status. */ export declare function runDetection(spec: DetectionSpec, projectRoot: string): Promise<number>; /** * Convenience wrapper: returns true when match count meets minCount (default 1). */ export declare function isInUse(spec: DetectionSpec, projectRoot: string): Promise<boolean>; //# sourceMappingURL=detect.d.ts.map