builder.io 1.11.26 → 1.11.28

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.
@@ -0,0 +1 @@
1
+ export {};
@@ -177,6 +177,7 @@ export declare class CodeGenSession {
177
177
  getDotFiles?: boolean;
178
178
  globbyPattern?: string;
179
179
  includePattern?: string;
180
+ gitignore?: boolean;
180
181
  }): Promise<string[]>;
181
182
  getSessionId(): string;
182
183
  getSpaceId(): string | undefined;
@@ -228,6 +229,7 @@ export declare class CodeGenSession {
228
229
  undone: string[] | null;
229
230
  message: string;
230
231
  }>;
232
+ getLastUserCompletionId(): string | undefined;
231
233
  getLastCompletionId(): string | undefined;
232
234
  getCurrentState(): GenerateCompletionState;
233
235
  getLastApplyResultsTurn(): CodegenTurn | undefined;
@@ -276,7 +278,6 @@ export declare class CodeGenSession {
276
278
  env: boolean;
277
279
  }>;
278
280
  close(uploadGitBackup?: boolean): Promise<void>;
279
- updateLastCommit(lastCommitHash: string): false | Promise<any>;
280
281
  emitGitStatus(): Promise<GenerateCompletionStepGit | null>;
281
282
  manualCommit(options: {
282
283
  add: string;
@@ -24,6 +24,7 @@ export interface DevServerOrchestrator {
24
24
  envVars: Record<string, string>;
25
25
  proxyMiddleware: ProxyRequestHandler | undefined;
26
26
  pid: number | undefined;
27
+ autoDetectedUrl: string | undefined;
27
28
  abortSetupCommand: () => void;
28
29
  clearEnvVariables: () => void;
29
30
  setEnvVariable: (key: string, value: string | undefined) => boolean;
@@ -54,6 +55,7 @@ export interface DevServerOrchestrator {
54
55
  setupState: [SetupCommandState];
55
56
  devState: [DevCommandState];
56
57
  httpServerState: [HttpServerState];
58
+ urlDetected: [string];
57
59
  }>;
58
60
  close: () => Promise<void>;
59
61
  }
@@ -75,6 +75,14 @@ export interface LaunchArgs extends CLIArgs {
75
75
  * @default false
76
76
  */
77
77
  privacyMode?: boolean;
78
+ /**
79
+ * Auto-detect dev server URL and port from command output.
80
+ * When enabled, the system will parse the dev server output to automatically
81
+ * detect the server URL and port instead of requiring manual configuration.
82
+ *
83
+ * @default false
84
+ */
85
+ autoDetectDevServer?: boolean;
78
86
  }
79
87
  export declare function runFusionCommand({ sys, args, }: {
80
88
  sys: DevToolsSys;
@@ -4,7 +4,15 @@ export declare function extractSignatureInfo(content: string): {
4
4
  sessionKey?: string;
5
5
  snippetId?: string;
6
6
  };
7
- export declare function getAllProjectFiles(basePath: string, globPattern?: string, extraIgnorePatterns?: string[], getDotFiles?: boolean): Promise<string[]>;
7
+ export interface GetAllProjectFilesOptions {
8
+ basePath: string;
9
+ globPattern?: string | string[];
10
+ extraIgnorePatterns?: string[];
11
+ dot?: boolean;
12
+ deep?: number;
13
+ gitignore?: boolean;
14
+ }
15
+ export declare function getAllProjectFiles({ basePath, globPattern, extraIgnorePatterns, dot, deep, gitignore, }: GetAllProjectFilesOptions): Promise<string[]>;
8
16
  export declare function findBuilderFiles(basePath: string, targetContentId: string, targetSessionKey: string): Promise<FileNode[]>;
9
17
  export declare function filterNonImportantFiles(files: string[]): string[];
10
18
  export declare function getIgnorePatterns(basePath: string): (path: string) => boolean;
@@ -0,0 +1,11 @@
1
+ export interface DevServerUrlInfo {
2
+ url: string;
3
+ port: number;
4
+ }
5
+ /**
6
+ * Parse dev server output to extract URL and port information
7
+ *
8
+ * @param output - The command output string to parse
9
+ * @returns Object with url and port, or null if no valid URL found
10
+ */
11
+ export declare function parseDevServerOutput(output: string): DevServerUrlInfo | null;
@@ -0,0 +1 @@
1
+ export {};