@builder.io/ai-utils 0.12.9 → 0.12.11

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.12.9",
3
+ "version": "0.12.11",
4
4
  "description": "Builder.io AI utils",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
package/src/codegen.d.ts CHANGED
@@ -701,7 +701,6 @@ export interface GenerateUserMessage {
701
701
  displayPrompt?: string;
702
702
  files?: string[];
703
703
  includeBaseFiles?: boolean;
704
- skipSearch?: boolean;
705
704
  attachments?: Attachment[];
706
705
  logsCheckpoint?: boolean;
707
706
  dropAbortedPrompt?: boolean;
@@ -712,6 +711,7 @@ export interface GenerateUserMessage {
712
711
  category?: CodeGenCategory;
713
712
  metadata?: Record<string, any>;
714
713
  autoPush?: "force-push" | "merge-push" | "ff-push" | "none";
714
+ syncChanges?: SyncChangesFromRemote;
715
715
  enabledMCPs?: string[];
716
716
  sessionMode?: SessionMode;
717
717
  queue?: boolean;
@@ -1046,6 +1046,7 @@ export interface FusionConfig {
1046
1046
  conflictBehavior: "replace" | "exit" | "kill";
1047
1047
  };
1048
1048
  miseLocationPath?: string;
1049
+ proxyOrigin?: string;
1049
1050
  setupDependencies?: SetupDependency[];
1050
1051
  projectId?: string;
1051
1052
  branchName?: string;
@@ -1262,6 +1263,14 @@ export interface PushChangesOptions {
1262
1263
  repoUrl: string;
1263
1264
  };
1264
1265
  }
1266
+ export interface SyncChangesFromRemote {
1267
+ remoteBranches?: "both" | "main" | "ai";
1268
+ fastForward?: "never" | "required" | "auto";
1269
+ canPush?: boolean;
1270
+ uncommittedChanges?: "stash" | "commit" | "fail";
1271
+ requestRefresh?: boolean;
1272
+ allowUnrelatedHistory?: boolean;
1273
+ }
1265
1274
  export type PushChangesArgs = PushChangesOptions | boolean;
1266
1275
  export type CodegenApiResult = CodegenApiSuccess | CodegenApiFailure;
1267
1276
  export interface CodegenApiSuccess {
@@ -31,6 +31,7 @@ interface OrganizationSettings {
31
31
  fusionShareableUrlSuffix?: string;
32
32
  autoDetectDevServerPatterns?: string[];
33
33
  environmentVariables?: EnvironmentVariable[];
34
+ fusionPrLabel?: string;
34
35
  runInPty?: boolean;
35
36
  privacyMode?: Pick<PrivacyMode, "mcpServers" | "redactUserMessages" | "redactLLMMessages"> & {
36
37
  enabled?: boolean;
package/src/projects.d.ts CHANGED
@@ -373,6 +373,7 @@ export interface Project {
373
373
  refreshPreview?: boolean;
374
374
  installCommand?: string;
375
375
  validateCommand?: string;
376
+ proxyOrigin?: string;
376
377
  gitBranchNamingStrategy?: "ai-session" | "branch-name" | "custom";
377
378
  setupDependencies?: SetupDependency[];
378
379
  gitBranchNamingCustom?: string;