feat: separate frontend and backend services

This commit is contained in:
luckyyzh
2026-08-10 09:45:22 +08:00
parent cb9ec7a869
commit 7a9859e60d
132 changed files with 8393 additions and 6388 deletions
+17 -1
View File
@@ -1,4 +1,20 @@
import type { ResourceDiagnostic } from "@earendil-works/pi-coding-agent";
// Structural copy of pi-coding-agent's ResourceDiagnostic/ResourceCollision so
// the frontend no longer depends on the pi packages (the backend owns them).
export interface ResourceCollision {
resourceType: "extension" | "skill" | "prompt" | "theme";
name: string;
winnerPath: string;
loserPath: string;
winnerSource?: string;
loserSource?: string;
}
export interface ResourceDiagnostic {
type: "warning" | "error" | "collision";
message: string;
path?: string;
collision?: ResourceCollision;
}
export interface SkillSearchResult {
package: string;