Skip to content

armgit / rea

Public Imported from GitHub
0

Reverse engineer anything with agents, from app behavior down to native binaries.

690 B
Raw Blame
export interface DevelopmentTestRequest {
  readonly mode: "local" | "changed" | "focused";
  readonly paths: readonly string[];
  readonly base: string;
  readonly dryRun: boolean;
}

/** Parse explicit test paths and an optional branch-comparison base. */
export function parseDevelopmentTestRequest(
  mode: string,
  arguments_: readonly string[],
): DevelopmentTestRequest;

/** Plan source feedback or explicit tests with runtime/artifact prerequisites. */
export function developmentTestPlan(
  request: DevelopmentTestRequest,
  baseCommit?: string,
): {
  readonly needsBuild: boolean;
  readonly artifactTasks: readonly string[];
  readonly vitestArguments: readonly string[];
};