builder.io 1.6.68 → 1.6.70

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.
@@ -59,7 +59,7 @@ interface RipgrepMatch {
59
59
  interface RipgrepResult {
60
60
  matches: RipgrepMatch[];
61
61
  }
62
- export declare function runRipgrep(workingDirectory: string, pattern: string, includeGlob?: string, excludeGlob?: string): Promise<RipgrepResult>;
62
+ export declare function runRipgrep(sys: DevToolsSys, workingDirectory: string, pattern: string, includeGlob?: string, excludeGlob?: string): Promise<RipgrepResult>;
63
63
  export declare function newAbortError(): Error;
64
- export declare function killProcess(sys: DevToolsSys, proc: ChildProcessByStdio<null, Readable, Readable> | undefined, abortSignal?: AbortSignal, timeout?: number): Promise<void>;
64
+ export declare function killProcess(sys: DevToolsSys, proc: ChildProcessByStdio<null, Readable, Readable> | undefined, abortSignal?: AbortSignal, timeout?: number): Promise<boolean>;
65
65
  export {};
@@ -1,6 +1,6 @@
1
1
  import type { DevToolsSys } from "../types";
2
2
  import type { CLIArgs } from "./index";
3
- import type { UserContext } from "$/ai-utils";
3
+ import { type UserContext } from "$/ai-utils";
4
4
  export declare const runCodeCommand: (sys: DevToolsSys, subCommand: string, args: CLIArgs) => Promise<void>;
5
5
  export declare const runCodeGen: (sys: DevToolsSys, args: CLIArgs) => Promise<void>;
6
6
  export declare function checkProjectRoot(sys: DevToolsSys, interactive: boolean): Promise<void>;
@@ -48,6 +48,7 @@ export interface CodeGenSessionOptionsBase {
48
48
  fusionContext?: FusionContext;
49
49
  workingDirectory?: string;
50
50
  workspace?: WorkspaceConfiguration;
51
+ mcpServers?: boolean;
51
52
  }
52
53
  export interface CodeGenSessionOptionsSession extends CodeGenSessionOptionsBase {
53
54
  sessionOrCompletionId?: string;
@@ -49,4 +49,6 @@ export interface CLIArgs {
49
49
  workspace?: string;
50
50
  /** Output structured JSON data instead of human-readable logs */
51
51
  jsonOutput?: boolean;
52
+ /** Local mode */
53
+ local?: boolean;
52
54
  }
@@ -73,3 +73,4 @@ export declare const getGitHubRemoteUrl: ({ repoFullName, githubToken, }: {
73
73
  }) => string;
74
74
  export declare const getActiveBranchCommand: () => string;
75
75
  export declare const getActiveBranch: (cwd?: string) => string;
76
+ export declare const getCommandWithShellArgs: (command: string, shell: string) => string[];
@@ -50,6 +50,13 @@ export interface LaunchArgs extends CLIArgs {
50
50
  * @default false
51
51
  */
52
52
  jsonOutput?: boolean;
53
+ /**
54
+ * Enable local development mode with port availability checking.
55
+ * When enabled, automatically finds an available port if the default is in use.
56
+ *
57
+ * @default false
58
+ */
59
+ local?: boolean;
53
60
  }
54
61
  export interface FusionConfig {
55
62
  command: string;