builder.io 1.9.18 → 1.9.19

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.
@@ -1,6 +1,6 @@
1
1
  import type { DevToolsSys } from "../types";
2
2
  import type { Credentials } from "./credentials";
3
- import { type GitBackupUploadUrlResult, type GitBackupUploadUrlOptions, type GitBackupRecordOptions, type GitBackupRecordResult, type BackupMetadata, type WorkspaceConfiguration, type CodegenSetLastCommit } from "$/ai-utils";
3
+ import { type GitBackupUploadUrlResult, type GitBackupUploadUrlOptions, type GitBackupRecordOptions, type GitBackupRecordResult, type BackupMetadata, type WorkspaceConfiguration, type CodegenRuntimeStatus } from "$/ai-utils";
4
4
  interface BackupGitRepoOptions {
5
5
  sys: DevToolsSys;
6
6
  credentials: Credentials;
@@ -102,7 +102,7 @@ export declare function computeMD5Hash(bundlePath: string): Promise<{
102
102
  * This is called frequently throughout the codebase (after every commit creation)
103
103
  * to track the current state and determine if backups are up-to-date.
104
104
  */
105
- export declare function setLastCommit(sys: DevToolsSys, credentials: Credentials, data: CodegenSetLastCommit, verbose: boolean): Promise<any>;
105
+ export declare function setRuntimeStatus(sys: DevToolsSys, credentials: Credentials, data: CodegenRuntimeStatus): Promise<any>;
106
106
  /**
107
107
  * Computes a unique backup reference string that combines version, repo URL, and commit hash.
108
108
  * This reference can be used to identify and retrieve specific backups.
@@ -31,6 +31,7 @@ export declare class InitStateMachine {
31
31
  success?: boolean;
32
32
  }): void;
33
33
  clearInitLogs(): void;
34
+ hasFilesButNoGit(repoPath: string): Promise<boolean>;
34
35
  step1CheckDirectories(config: InitConfig, repositories: Required<WorkspaceFolder>[]): Promise<void>;
35
36
  step2ConfigureGitRepositories(config: InitConfig, repositories: Required<WorkspaceFolder>[]): Promise<void>;
36
37
  step3ConfigureGitUser(config: InitConfig, repositories: Required<WorkspaceFolder>[]): Promise<void>;