export interface ResourceCollision {
	resourceType: "extension" | "skill" | "prompt" | "theme";
	name: string; // skill name, command/tool/flag name, prompt name, theme name
	winnerPath: string;
	loserPath: string;
	winnerSource?: string; // e.g., "npm:foo", "git:...", "local"
	loserSource?: string;
	winnerScope?: "user" | "project" | "temporary";
	loserScope?: "user" | "project" | "temporary";
	winnerOrigin?: "package" | "top-level";
	loserOrigin?: "package" | "top-level";
	resolutionReason?: string;
	resolutionAction?: string;
}

export interface ResourceDiagnostic {
	type: "warning" | "error" | "collision";
	message: string;
	path?: string;
	collision?: ResourceCollision;
}
