eve
Version:
Filesystem-first framework for durable backend AI agents that run anywhere.
16 lines (15 loc) • 519 B
TypeScript
export type GitInitResult = {
kind: "initialized";
} | {
kind: "skipped";
} | {
kind: "failed";
reason: string;
};
/**
* Initializes a Git repository and records the generated files in an initial
* commit. Missing Git and parent repositories are skips. A failed partial
* initialization is removed and returned as a `failed` result; presenting the
* failure (without failing `eve init`) is the caller's job.
*/
export declare function tryInitializeGit(projectPath: string): Promise<GitInitResult>;