@builder.io/dev-tools 1.6.132-dev.202506301551.b66e43ccc → 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;
@@ -17,7 +17,7 @@ export declare const NUMBER_TYPES: string[];
17
17
  export declare const BOOLEAN_TYPES: string[];
18
18
  export declare const ARRAY_TYPES: string[];
19
19
  export declare const OBJECT_TYPES: string[];
20
- export declare function getPrimitiveType(t: string): "object" | "string" | "boolean" | "number" | "array";
20
+ export declare function getPrimitiveType(t: string): "number" | "string" | "boolean" | "object" | "array";
21
21
  export declare function removeQuotes(text: string): string;
22
22
  export declare const resolveType: (sys: DevToolsSys, checker: ts.TypeChecker, type: ts.Type) => string[] | undefined;
23
23
  export declare const typeToString: (sys: DevToolsSys, checker: ts.TypeChecker, type: ts.Type) => string;
@@ -19,7 +19,7 @@ export declare function clone<T>(obj: T): T;
19
19
  export declare function shouldSkipFolder(sys: DevToolsSys, skipFolders: Set<string>, fileName: string): boolean;
20
20
  export declare function getPackageManager(): string;
21
21
  export declare function isWindows(): boolean;
22
- export declare function builderNpxPackage(): "builder.io" | "\"@builder.io/dev-tools\"";
22
+ export declare function builderNpxPackage(): "\"@builder.io/dev-tools\"" | "builder.io";
23
23
  /**
24
24
  * Sanitizes a component name for use in filesystem paths by replacing invalid characters with underscores
25
25
  * @param name The component name to sanitize