@builder.io/ai-utils 0.5.4 → 0.5.6
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 +4 -0
- package/src/features.d.ts +2 -1
- package/src/features.js +1 -0
- package/src/projects.d.ts +2 -0
- package/src/projects.js +1 -0
package/package.json
CHANGED
package/src/codegen.d.ts
CHANGED
|
@@ -79,6 +79,7 @@ export interface SearchReplaceInput {
|
|
|
79
79
|
old_str: string;
|
|
80
80
|
new_str: string;
|
|
81
81
|
replace_all?: boolean;
|
|
82
|
+
apply_with_error?: boolean;
|
|
82
83
|
}
|
|
83
84
|
export interface MultiSearchReplaceInput {
|
|
84
85
|
title: string;
|
|
@@ -88,6 +89,7 @@ export interface MultiSearchReplaceInput {
|
|
|
88
89
|
new_str: string;
|
|
89
90
|
replace_all?: boolean;
|
|
90
91
|
}[];
|
|
92
|
+
apply_with_error?: boolean;
|
|
91
93
|
}
|
|
92
94
|
export interface FindMediaToolInput {
|
|
93
95
|
query: string;
|
|
@@ -307,6 +309,7 @@ export interface GenerateCompletionStepFile {
|
|
|
307
309
|
content: string;
|
|
308
310
|
title: string;
|
|
309
311
|
id: string;
|
|
312
|
+
errors?: string[];
|
|
310
313
|
}
|
|
311
314
|
export interface GenerateCompletionStepDiff {
|
|
312
315
|
type: "diff";
|
|
@@ -314,6 +317,7 @@ export interface GenerateCompletionStepDiff {
|
|
|
314
317
|
content: string;
|
|
315
318
|
title: string;
|
|
316
319
|
id: string;
|
|
320
|
+
errors?: string[];
|
|
317
321
|
}
|
|
318
322
|
export interface GenerateCompletionStepTool {
|
|
319
323
|
type: "tool";
|
package/src/features.d.ts
CHANGED
package/src/features.js
CHANGED
package/src/projects.d.ts
CHANGED
|
@@ -157,6 +157,7 @@ export type GitConfig = {
|
|
|
157
157
|
export type GitConfigs = Record<string, GitConfig>;
|
|
158
158
|
export declare const EXAMPLE_REPOS: string[];
|
|
159
159
|
export declare const STARTER_REPO = "BuilderIO/fusion-starter";
|
|
160
|
+
export declare const EXAMPLE_OR_STARTER_REPOS: string[];
|
|
160
161
|
export interface GitBackupUploadUrlResult {
|
|
161
162
|
signedUrl: string;
|
|
162
163
|
filePath: string;
|
|
@@ -175,6 +176,7 @@ export interface GitBackupDownloadUrlResult {
|
|
|
175
176
|
filePath: string;
|
|
176
177
|
expiresAt: string;
|
|
177
178
|
exists: boolean;
|
|
179
|
+
partial: boolean;
|
|
178
180
|
}
|
|
179
181
|
export interface GitBackupDownloadUrlOptions {
|
|
180
182
|
projectId: string;
|
package/src/projects.js
CHANGED