creatrip-agent-rules-builder
Version:
Unified converter for AI coding agent rules across Cursor, Windsurf, and Claude
47 lines (42 loc) • 915 B
text/typescript
export type OutputFormat = "human" | "json" | "quiet";
export interface VerificationResult {
agent: string;
passed: boolean;
error?: string;
}
export interface LocationVerificationResult {
path: string;
status: "pass" | "fail";
agents: Record<
string,
{
passed: boolean;
error?: string;
}
>;
summary: {
total: number;
passed: number;
failed: number;
};
diagnosis?: {
pattern:
| "all_outdated"
| "single_diverged"
| "multiple_diverged"
| "all_synced";
action: "build" | "review" | "manual" | "none";
diverged?: string[];
};
}
export interface VerificationSummary {
status: "pass" | "fail";
locations: LocationVerificationResult[];
totalLocations: number;
timestamp?: string; // 선택적으로 변경
}
export interface AgentConfig {
name: string;
type: "standard" | "cursor-mdc";
targetPath?: string;
}