Skip to content

Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 900+ contributors

670 B
Raw Blame
/** Only control metadata crosses IPC; records and payloads never return to the parent. */
export interface ExportChildStart {
  kind: "start";
  destination: { id: string; type: string; name: string };
  config: Record<string, unknown>;
  batchSize: number;
  maxRowsPerRun: number;
  includeBodies: boolean;
  maxBodyBytes: number;
  cursorRowId: number;
  /** Set only by the explicitly invoked test seam, never by persisted destination config. */
  testModulePath?: string;
  testConfig?: Record<string, unknown>;
}
export type ExportChildReply =
  | { kind: "batch"; cursorRowId: number; count: number }
  | { kind: "done" }
  | { kind: "error"; message: string };