@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builder.io/ai-utils",
3
- "version": "0.4.22",
3
+ "version": "0.4.24",
4
4
  "description": "Builder.io AI utils",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
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 {};
package/src/projects.js CHANGED
@@ -1 +1,7 @@
1
- export {};
1
+ export const EXAMPLE_REPOS = [
2
+ "steve8708/mui-vite",
3
+ "steve8708/carbon-vite",
4
+ "steve8708/vite-react-shopify-polaris",
5
+ "steve8708/cloudscape-demos",
6
+ ];
7
+ export const STARTER_REPO = "BuilderIO/fusion-starter";