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
47 lines • 1.36 kB
TypeScript
/**
* FrameworkDetector - Detect framework-scoped workspaces
*
* Detects frameworks from directory structure (.claude/, .codex/, .cursor/)
* and configuration files. Distinguishes legacy workspaces from framework-scoped.
*
* FID-007 Framework-Scoped Workspaces detection logic.
*
* @module src/plugin/framework-detector
* @version 1.0.0
* @since 2025-10-23
*/
export interface FrameworkInfo {
name: string;
path: string;
type: 'ide' | 'cli' | 'custom';
version?: string;
capabilities?: string[];
agentCount?: number;
commandCount?: number;
}
export declare class FrameworkDetector {
private projectRoot;
private readonly FRAMEWORK_DIRS;
private readonly LEGACY_DIRS;
constructor(projectRoot: string);
/**
* Detect all frameworks present in the project
*
* @returns Array of framework names
*/
detectFrameworks(): Promise<string[]>;
/**
* Check if workspace is legacy (non-framework-scoped)
*
* @returns True if legacy workspace detected
*/
isLegacyWorkspace(): Promise<boolean>;
/**
* Get detailed information about a framework
*
* @param frameworkName - Framework name
* @returns Framework information
*/
getFrameworkInfo(frameworkName: string): Promise<FrameworkInfo>;
}
//# sourceMappingURL=framework-detector.d.ts.map