@builder.io/ai-utils 0.4.24 → 0.4.25
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/package.json +1 -1
- package/src/codegen.d.ts +17 -0
package/package.json
CHANGED
package/src/codegen.d.ts
CHANGED
|
@@ -630,3 +630,20 @@ export interface LoadHistoryResult {
|
|
|
630
630
|
updatedUnixTime: number;
|
|
631
631
|
turns: CodegenTurn[];
|
|
632
632
|
}
|
|
633
|
+
export interface InitState {
|
|
634
|
+
isRunning: boolean;
|
|
635
|
+
isComplete: boolean;
|
|
636
|
+
success: boolean;
|
|
637
|
+
currentStep: string;
|
|
638
|
+
error: string | undefined;
|
|
639
|
+
}
|
|
640
|
+
export interface LaunchServerStatus {
|
|
641
|
+
status: "ok";
|
|
642
|
+
state: "initial" | "init-running" | "init-complete" | "ready" | "active-session" | "error";
|
|
643
|
+
setupState?: SetupCommandState;
|
|
644
|
+
devState?: DevCommandState;
|
|
645
|
+
httpServerState?: HttpServerState;
|
|
646
|
+
editorReady: boolean;
|
|
647
|
+
initState?: InitState;
|
|
648
|
+
errorMessage?: string;
|
|
649
|
+
}
|