- Add class-based ErrorBoundary component wrapping all 7 main views inside WorkspaceChrome; fallback shows view name, error, reload button - Add 30 new unit tests (boot null-project path × 9, onboarding pure-function logic × 21); all 43 web/lib tests pass - Add web/README.md: architecture, auth flow, 7 views, dev setup, API route pattern, test instructions Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
15 lines
452 B
TypeScript
15 lines
452 B
TypeScript
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;
|
|
}
|
|
|
|
export interface ResourceDiagnostic {
|
|
type: "warning" | "error" | "collision";
|
|
message: string;
|
|
path?: string;
|
|
collision?: ResourceCollision;
|
|
}
|