@builder.io/ai-utils 0.4.22 → 0.4.24
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 +3 -0
- package/src/projects.d.ts +12 -0
- package/src/projects.js +7 -1
package/package.json
CHANGED
package/src/codegen.d.ts
CHANGED
|
@@ -395,6 +395,7 @@ export interface GenerateCompletionStepSession {
|
|
|
395
395
|
updatedUnixTime: number;
|
|
396
396
|
id: string;
|
|
397
397
|
turns: number;
|
|
398
|
+
lastCompletionId: string | undefined;
|
|
398
399
|
}
|
|
399
400
|
export interface GenerateCompletionStepServerToolResult {
|
|
400
401
|
type: "server_tool_result";
|
|
@@ -588,11 +589,13 @@ export interface FusionConfig {
|
|
|
588
589
|
checkCommand?: string;
|
|
589
590
|
setupCommand?: string;
|
|
590
591
|
projectId?: string;
|
|
592
|
+
branchName?: string;
|
|
591
593
|
workingDirectory: string;
|
|
592
594
|
bashWorkingDirectory?: string;
|
|
593
595
|
workspace?: WorkspaceConfiguration;
|
|
594
596
|
authenticateProxy?: boolean;
|
|
595
597
|
allowedCommands?: string[];
|
|
598
|
+
autoBackupGit?: boolean;
|
|
596
599
|
commitMode: CommitMode;
|
|
597
600
|
serverUrl: string;
|
|
598
601
|
isLocal?: boolean;
|
package/src/projects.d.ts
CHANGED
|
@@ -148,4 +148,16 @@ export type GitConfig = {
|
|
|
148
148
|
provider: "github" | "bitbucket" | "gitlab";
|
|
149
149
|
};
|
|
150
150
|
export type GitConfigs = Record<string, GitConfig>;
|
|
151
|
+
export declare const EXAMPLE_REPOS: string[];
|
|
152
|
+
export declare const STARTER_REPO = "BuilderIO/fusion-starter";
|
|
153
|
+
export interface GitBackupUploadUrlResult {
|
|
154
|
+
signedUrl: string;
|
|
155
|
+
filePath: string;
|
|
156
|
+
expiresAt: string;
|
|
157
|
+
}
|
|
158
|
+
export interface GitBackupUploadUrlOptions {
|
|
159
|
+
projectId: string;
|
|
160
|
+
branchName: string;
|
|
161
|
+
size: number;
|
|
162
|
+
}
|
|
151
163
|
export {};
|