builder.io 1.11.32 → 1.11.34
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 +104 -104
- package/cli/index.cjs.map +4 -4
- package/core/index.cjs +1 -1
- package/core/index.mjs +1 -1
- package/node/index.cjs +11 -11
- package/node/index.mjs +11 -11
- package/package.json +1 -1
- package/server/index.cjs +4 -4
- package/server/index.mjs +4 -4
- package/types/cli/code-tools.d.ts +1 -0
- package/types/cli/codegen.d.ts +1 -0
- package/types/cli/sync-utils.d.ts +2 -1
- package/types/tsconfig.tsbuildinfo +1 -1
|
@@ -74,6 +74,7 @@ export interface ToolContext extends Partial<FusionContext> {
|
|
|
74
74
|
stat: (filePath: string) => Promise<{
|
|
75
75
|
isDirectory: () => boolean;
|
|
76
76
|
isFile: () => boolean;
|
|
77
|
+
size: number;
|
|
77
78
|
} | null>;
|
|
78
79
|
}
|
|
79
80
|
export declare function resolveToolCalls(toolContext: ToolContext, toolCalls: LLMToolCalls[], existingToolResults: ContentMessageItemToolResult[] | undefined, onStep: (step: GenerateCompletionStep) => void): Promise<ContentMessageItemToolResult[]>;
|
package/types/cli/codegen.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export declare function extractSignatureInfo(content: string): {
|
|
|
5
5
|
snippetId?: string;
|
|
6
6
|
};
|
|
7
7
|
export interface GetAllProjectFilesOptions {
|
|
8
|
+
sys?: DevToolsSys;
|
|
8
9
|
basePath: string;
|
|
9
10
|
globPattern?: string | string[];
|
|
10
11
|
extraIgnorePatterns?: string[];
|
|
@@ -12,7 +13,7 @@ export interface GetAllProjectFilesOptions {
|
|
|
12
13
|
deep?: number;
|
|
13
14
|
gitignore?: boolean;
|
|
14
15
|
}
|
|
15
|
-
export declare function getAllProjectFiles({ basePath, globPattern, extraIgnorePatterns, dot, deep, gitignore, }: GetAllProjectFilesOptions): Promise<string[]>;
|
|
16
|
+
export declare function getAllProjectFiles({ basePath, globPattern, extraIgnorePatterns, dot, deep, gitignore, sys, }: GetAllProjectFilesOptions): Promise<string[]>;
|
|
16
17
|
export declare function findBuilderFiles(basePath: string, targetContentId: string, targetSessionKey: string): Promise<FileNode[]>;
|
|
17
18
|
export declare function filterNonImportantFiles(files: string[]): string[];
|
|
18
19
|
export declare function getIgnorePatterns(basePath: string): (path: string) => boolean;
|