Skip to content

armgit / rea

Public Imported from GitHub
0

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

683 B
Raw Blame
import type { ExecutionOptions, ProviderIdentity } from "./AnalysisProvider.js";
import type { AnalysisError } from "../domain/analysisErrorBase.js";
import type { BrowserScenario } from "../domain/browserScenario.js";
import type { BrowserScenarioCapture } from "../domain/browserScenarioCapture.js";
import type { Result } from "../domain/result.js";

/** Provider-neutral application boundary for controlled browser scenarios. */
export interface BrowserScenarioCapturePort {
  close?(): Promise<void>;
  identity(): ProviderIdentity;
  captureScenario(
    scenario: BrowserScenario,
    options?: ExecutionOptions,
  ): Promise<Result<BrowserScenarioCapture, AnalysisError>>;
}