builder.io 1.6.131 → 1.6.133

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -197,6 +197,11 @@ export declare class CodeGenSession {
197
197
  abort(cleanCurrentMessage?: boolean): Promise<boolean>;
198
198
  stopEventLoop(): Promise<void>;
199
199
  requestRefresh(): void;
200
+ configureDevOrchestrator(opts: {
201
+ devCommand?: string;
202
+ setupCommand?: string;
203
+ proxyServer?: string;
204
+ }): Promise<void>;
200
205
  close(uploadGitBackup?: boolean): Promise<void>;
201
206
  emitGitStatus(): Promise<GenerateCompletionStepGit | null>;
202
207
  manualCommit(options: {
@@ -5,7 +5,7 @@ import EventEmitter from "events";
5
5
  import { type ChildProcessByStdio } from "node:child_process";
6
6
  import type { Readable } from "node:stream";
7
7
  import type { FusionConfig, SetupCommandState } from "$/ai-utils";
8
- export type DevServerState = Exclude<SetupCommandState | DevCommandState, "installed">;
8
+ export type DevServerState = Exclude<SetupCommandState | DevCommandState, "installed" | "starting">;
9
9
  export interface SetupCommandResult {
10
10
  code: number | null;
11
11
  output: string;
@@ -30,6 +30,7 @@ export interface DevServerOrchestrator {
30
30
  runSetupCommand: (signal?: AbortSignal) => Promise<SetupCommandResult>;
31
31
  setSetupCommand: (newCommand: string, signal?: AbortSignal) => Promise<SetupCommandResult>;
32
32
  setCommand: (newCommand: string, signal?: AbortSignal) => Promise<boolean>;
33
+ setProxyServer: (newProxyServer: string) => Promise<boolean>;
33
34
  setPort: (newPort: number) => Promise<boolean>;
34
35
  pingServer: (signal?: AbortSignal) => Promise<Response>;
35
36
  addCheckpoint: () => void;