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
20 lines • 1.02 kB
TypeScript
export declare const WARNING_TEXT = "No project detected here. AIWG will deploy to the current directory. To associate AIWG with a specific project, run this from your project root. Continuing in 3 seconds \u2014 press Ctrl-C to cancel.";
export declare const GLOBAL_INSTALL_INFO = "AIWG_GLOBAL_INSTALL=1 set \u2014 deploying to current directory without project check.";
export declare const DEFAULT_DELAY_MS = 3000;
export interface WarningOptions {
cwd: string;
home?: string;
env?: NodeJS.ProcessEnv;
delayMs?: number;
writer?: (msg: string) => void;
logActivity?: (operation: string, summary: string) => Promise<void>;
delayWithCancel?: (ms: number) => Promise<{
cancelled: boolean;
}>;
}
export interface WarningResult {
cancelled: boolean;
outcome: 'global-install' | 'project-signal-found' | 'cwd-ok' | 'warned' | 'cancelled';
}
export declare function maybeWarnProjectIsolation(opts?: WarningOptions): Promise<WarningResult>;
//# sourceMappingURL=warning.d.ts.map