Download packages/coding-agent/src/core/diagnostics.ts from SaylorTwift/pi: direct link, hf CLI and curl.
- Browser
- Download file 452 Bytes
-
https://huggingface.co/SaylorTwift/pi/resolve/main/packages/coding-agent/src/core/diagnostics.ts
- Command line
-
hf download hf://SaylorTwift/pi/packages/coding-agent/src/core/diagnostics.ts
-
curl -L -o diagnostics.ts https://huggingface.co/SaylorTwift/pi/resolve/main/packages/coding-agent/src/core/diagnostics.ts
452 Bytes
| 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; | |
| } | |