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.
- package/cli/index.cjs +379 -387
- 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 +92 -92
- package/server/index.mjs +92 -92
- package/types/cli/codegen.d.ts +5 -0
- package/types/cli/launch/dev-server-orchestrator.d.ts +2 -1
- package/types/tsconfig.tsbuildinfo +1 -1
package/types/cli/codegen.d.ts
CHANGED
|
@@ -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;
|