import type { ExtensionContext, ExtensionFactory } from "@ch1nyzzz/pi-coding-agent"; import { EvoPackRegistryService } from "./discovery/service.ts"; import { type EvoDiscoveryFetch } from "./discovery/transport.ts"; import { type VerificationDecision } from "./evolve/inspect-ui.ts"; import { type EvoPaths } from "./paths.ts"; import { type ModelRunner } from "./reflect/model-runner.ts"; import { EvoService } from "./service.ts"; import type { ComponentApprovalDecision } from "./types.ts"; export type EvoCommandDiscoveryService = Pick; export interface EvoCommandDiscoveryOptions { configPath?: string; fetch?: EvoDiscoveryFetch; service?: EvoCommandDiscoveryService; } export interface EvoCommandExtensionOptions { root?: string; paths?: EvoPaths; service?: EvoService; runner?: ModelRunner; cwd?: string; agentDir?: string; model?: string; /** Exact trusted tool names available through the runtime spawn-agent host. */ spawnAgentToolNames?: readonly string[]; /** Sandbox override for imported-pack executable validation (tests/automation). */ sandbox?: boolean; /** Local registry/trust config and injectable discovery dependencies. */ discovery?: EvoCommandDiscoveryOptions; } export interface EvoCliIO { interactive: boolean; write(message: string): void; writeError(message: string): void; question(prompt: string): Promise; } export interface RunEvoCliOptions extends EvoCommandExtensionOptions { io?: EvoCliIO; } export declare function refreshEvoStatusIndicator(dependencies: { service: EvoService; paths: EvoPaths; }, ctx: ExtensionContext, _now?: () => Date, _includeTrialComparison?: boolean): Promise; export declare function approveCanaryRun(dependencies: { service: EvoService; paths: EvoPaths; }, runId: string, decision?: ComponentApprovalDecision): Promise; export declare function directKeepCanaryRun(dependencies: { service: EvoService; paths: EvoPaths; }, runId: string): Promise; /** * Apply a user's execute/skip/reject decision for a run parked on a * recommended verification. Execute spawns a detached worker (replay plus * re-evaluation take minutes); skip and reject resolve synchronously. */ export declare function decideVerificationRun(dependencies: { service: EvoService; paths: EvoPaths; cwd?: string; }, runId: string, decision: VerificationDecision): Promise; export declare function createEvoCommandExtension(options?: EvoCommandExtensionOptions): ExtensionFactory; export declare function runEvoCli(args: string[], options?: RunEvoCliOptions): Promise; //# sourceMappingURL=cli.d.ts.map