builder.io 1.6.6 → 1.6.7
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/cli/index.cjs +293 -282
- package/cli/index.cjs.map +4 -4
- package/core/index.cjs +1 -1
- package/core/index.mjs +1 -1
- package/node/index.cjs +1 -1
- package/node/index.mjs +1 -1
- package/package.json +1 -1
- package/server/index.cjs +128 -121
- package/server/index.mjs +132 -125
- package/types/cli/code-file-utils.d.ts +4 -0
- package/types/cli/code.d.ts +1 -1
|
@@ -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
|
*/
|
package/types/cli/code.d.ts
CHANGED
|
@@ -27,7 +27,7 @@ type CodegenUsage = {
|
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
29
|
export interface ArtifactItem {
|
|
30
|
-
type: "
|
|
30
|
+
type: "file" | "text" | "delta" | "done" | "diff" | "request_file" | "thinking" | "user" | "continue";
|
|
31
31
|
id?: string;
|
|
32
32
|
content: string;
|
|
33
33
|
filePath?: string;
|