Skip to content

High-performance browser automation bridge and multi-instance orchestrator with advanced stealth injection and real-time dashboard.

795 B
Raw Blame
export interface SnapshotParams {
  refs?: 'role' | 'aria';
  selector?: string;
  maxTokens?: number;
  format?: 'full' | 'compact';
}

export interface SnapshotResponse {
  html: string;
  refs?: Record<string, unknown>;
}

export interface TabClickParams {
  ref: string;
  targetId?: string;
}

export interface TabLockParams {
  tabId: string;
  timeoutMs?: number;
}

export interface TabUnlockParams {
  tabId: string;
}

export interface CreateTabParams {
  url: string;
  stealth?: 'light' | 'full';
}

export interface CreateTabResponse {
  tabId: string;
}

export interface PinchtabOptions {
  baseUrl?: string;
  timeout?: number;
  port?: number;
  token?: string;
  /** Max time (ms) to wait for a graceful shutdown before SIGKILL. Default 10000. */
  shutdownTimeout?: number;
}