@builder.io/ai-utils 0.5.10 → 0.5.12
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 +16 -1
package/package.json
CHANGED
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,12 @@ 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
|
+
branch: string;
|
|
828
|
+
}[];
|
|
822
829
|
}
|
|
823
830
|
export type LaunchServerState = "initial" | "init-running" | "init-complete" | "ready" | "active-session" | "error";
|
|
824
831
|
export interface LaunchServerStatus {
|
|
@@ -853,4 +860,12 @@ export interface FusionStatus {
|
|
|
853
860
|
machine?: MachineConfig;
|
|
854
861
|
projectId?: string;
|
|
855
862
|
secondsActive?: number;
|
|
863
|
+
backupDryRun?: string;
|
|
864
|
+
}
|
|
865
|
+
export interface FusionMetrics {
|
|
866
|
+
counters: {
|
|
867
|
+
key: string;
|
|
868
|
+
value: number;
|
|
869
|
+
attributes: Record<string, string>;
|
|
870
|
+
}[];
|
|
856
871
|
}
|