20 lines
529 B
TypeScript
20 lines
529 B
TypeScript
import type { RuneConfig } from "../../src/types.ts";
|
|
|
|
export interface AgentResult {
|
|
files: string[];
|
|
missed?: string[];
|
|
rawPlan?: unknown;
|
|
}
|
|
|
|
export interface AgentRunner {
|
|
readonly tier: number;
|
|
runPlan(
|
|
projectDir: string,
|
|
changeName: string,
|
|
docName: string,
|
|
config: RuneConfig,
|
|
): Promise<AgentResult>;
|
|
runBuild(projectDir: string, changeName: string, config: RuneConfig): Promise<AgentResult>;
|
|
runArchive(projectDir: string, changeName: string, config: RuneConfig): Promise<AgentResult>;
|
|
}
|