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.
- package/cli/index.cjs +263 -262
- package/cli/index.cjs.map +4 -4
- package/core/index.cjs +1 -1
- package/core/index.mjs +1 -1
- package/node/index.cjs +1 -1
- package/node/index.mjs +1 -1
- package/package.json +1 -1
- package/server/index.cjs +174 -174
- package/server/index.mjs +173 -173
- package/types/cli/code-tools.d.ts +2 -2
- package/types/cli/code.d.ts +1 -1
- package/types/cli/codegen.d.ts +1 -0
- package/types/cli/index.d.ts +2 -0
- package/types/cli/launch/helpers.d.ts +1 -0
- package/types/cli/launch.d.ts +7 -0
- package/types/tsconfig.tsbuildinfo +1 -1
|
@@ -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<
|
|
64
|
+
export declare function killProcess(sys: DevToolsSys, proc: ChildProcessByStdio<null, Readable, Readable> | undefined, abortSignal?: AbortSignal, timeout?: number): Promise<boolean>;
|
|
65
65
|
export {};
|
package/types/cli/code.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { DevToolsSys } from "../types";
|
|
2
2
|
import type { CLIArgs } from "./index";
|
|
3
|
-
import type
|
|
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>;
|
package/types/cli/codegen.d.ts
CHANGED
|
@@ -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;
|
package/types/cli/index.d.ts
CHANGED
|
@@ -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[];
|
package/types/cli/launch.d.ts
CHANGED
|
@@ -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;
|