@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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/codegen.d.ts +17 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builder.io/ai-utils",
3
- "version": "0.4.24",
3
+ "version": "0.4.25",
4
4
  "description": "Builder.io AI utils",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
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
+ }