builder.io 1.6.6 → 1.6.8

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.
@@ -29,6 +29,10 @@ export declare function getFileMetadata(sys: DevToolsSys, appRootDir: string, fi
29
29
  content: string;
30
30
  };
31
31
  export declare function calculateMaxFileTokens(fileImportance: number, highImportanceCount: number): number;
32
+ /**
33
+ * Get recently modified files using git commands with commit relationship tracking
34
+ */
35
+ export declare function getGitModifiedFiles(appRootDir: string, commitCount?: number): Promise<Map<string, GitFileInfo>>;
32
36
  /**
33
37
  * Update file relationships based on files modified in the same commit
34
38
  */
@@ -27,7 +27,7 @@ type CodegenUsage = {
27
27
  };
28
28
  };
29
29
  export interface ArtifactItem {
30
- type: "shell" | "file" | "text" | "delta" | "done" | "diff" | "thinking" | "user" | "continue";
30
+ type: "file" | "text" | "delta" | "done" | "diff" | "request_file" | "thinking" | "user" | "continue";
31
31
  id?: string;
32
32
  content: string;
33
33
  filePath?: string;
@@ -1,3 +1,3 @@
1
1
  import type { DevToolsSys } from "../types";
2
2
  export declare function interactiveSelectFiles(sys: DevToolsSys, allFiles: string[], appRootDir: string, initialFiles: string[], selectedFilePaths: Map<string, number>, MAX_TOKENS: number): Promise<string[]>;
3
- export declare function selectMostRelevantFile(sys: DevToolsSys, allFiles: string[], appRootDir: string, selectedFilePaths: Map<string, number>, MAX_TOKENS: number): Promise<string | null>;
3
+ export declare function selectMostRelevantFile(sys: DevToolsSys, allFiles: string[], appRootDir: string, selectedFilePaths: Map<string, number>, MAX_TOKENS: number, wasBad: boolean): Promise<string | null>;