Skip to content

Types

type ProjectType = "cli" | "library" | "http_server" | "unknown";
type RunMode = "existing" | "generated";
type TestStatus = "pass" | "fail" | "skip";
interface TestCommand {
command: string;
args: string[];
display: string;
runtime: "bun" | "go" | "cargo" | "shell";
}
interface ScannedFile {
path: string;
relativePath: string;
kind: "source" | "test" | "manifest" | "other";
}
interface ProjectIntrospection {
name: string;
root: string;
target: string;
projectType: "cli" | "library" | "http_server" | "unknown";
files: ScannedFile[];
testFiles: ScannedFile[];
packageJson?: Record<string, unknown>;
testCommand?: TestCommand;
indicators: string[];
config: ResolvedSuitenerConfig;
}