@builder.io/ai-utils 0.5.10 → 0.5.11

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 +9 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builder.io/ai-utils",
3
- "version": "0.5.10",
3
+ "version": "0.5.11",
4
4
  "description": "Builder.io AI utils",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
package/src/codegen.d.ts CHANGED
@@ -774,6 +774,7 @@ export interface FusionConfig {
774
774
  envVariables?: Record<string, string>;
775
775
  accessControl?: AclPolicy;
776
776
  machine?: RemoteMachineConfig;
777
+ _attemptDryRunBackupGit?: boolean;
777
778
  /** @deprecated use devCommand */
778
779
  command?: string;
779
780
  }
@@ -803,7 +804,7 @@ export interface LoadHistoryResult {
803
804
  updatedUnixTime: number;
804
805
  turns: CodegenTurn[];
805
806
  }
806
- export type InitStateStep = "initial" | "init" | "validation" | "check-directories" | "create-directories" | "configure-git-repos" | "check-existing-git" | "update-remote-url" | "clone-repo" | "configure-git-user" | "stash-changes" | "init-success" | "init-failed";
807
+ export type InitStateStep = "initial" | "init" | "validation" | "check-directories" | "create-directories" | "configure-git-repos" | "check-existing-git" | "update-remote-url" | "clone-repo" | "configure-git-user" | "stash-changes" | "collect-repo-info" | "init-success" | "init-failed";
807
808
  export interface InitStatusLog {
808
809
  id: number;
809
810
  timestamp: string;
@@ -819,6 +820,11 @@ export interface InitState {
819
820
  success: boolean;
820
821
  currentStep: InitStateStep;
821
822
  error: string | undefined;
823
+ repos: {
824
+ repoName: string;
825
+ enabledGit: boolean;
826
+ lastCommitHash: string;
827
+ }[];
822
828
  }
823
829
  export type LaunchServerState = "initial" | "init-running" | "init-complete" | "ready" | "active-session" | "error";
824
830
  export interface LaunchServerStatus {
@@ -833,6 +839,7 @@ export interface LaunchServerStatus {
833
839
  initStatusLogs?: InitStatusLog[];
834
840
  errorMessage?: string;
835
841
  devToolsVersion: string;
842
+ backupDryRun?: string;
836
843
  lastRequestTime: number;
837
844
  startTime: number;
838
845
  machine?: MachineConfig;
@@ -853,4 +860,5 @@ export interface FusionStatus {
853
860
  machine?: MachineConfig;
854
861
  projectId?: string;
855
862
  secondsActive?: number;
863
+ backupDryRun?: string;
856
864
  }