@builder.io/ai-utils 0.12.6 → 0.12.8

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.6",
3
+ "version": "0.12.8",
4
4
  "description": "Builder.io AI utils",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
package/src/codegen.d.ts CHANGED
@@ -603,6 +603,7 @@ export interface GenerateCompletionStepSession {
603
603
  turns: number;
604
604
  lastCompletionId: string | undefined;
605
605
  sessionMode: SessionMode;
606
+ fusionConfig: FusionConfig | undefined;
606
607
  }
607
608
  export interface GenerateCompletionStepServerToolResult {
608
609
  type: "server_tool_result";
@@ -1065,6 +1066,14 @@ export interface FusionConfig {
1065
1066
  mode?: Mode;
1066
1067
  autoDetectDevServer?: boolean;
1067
1068
  autoDetectDevServerPatterns?: string[];
1069
+ /**
1070
+ * If true, automatically assign a random free port (>=40000) to the PORT environment variable
1071
+ * when devCommand runs. The system will then detect which port the dev server is actually
1072
+ * listening on and use that instead of the configured serverUrl.
1073
+ *
1074
+ * @default false
1075
+ */
1076
+ autoSuggestPort?: boolean;
1068
1077
  runInPty?: boolean;
1069
1078
  httpsServerFiles?: {
1070
1079
  key?: string;
@@ -1121,6 +1130,11 @@ export interface FusionConfig {
1121
1130
  * These are merged with filesystem-discovered agents.
1122
1131
  */
1123
1132
  customAgents?: CustomAgentDefinition[];
1133
+ /**
1134
+ * Array of regex patterns to ignore when checking for client-side errors.
1135
+ * Errors matching these patterns will not show the error popup.
1136
+ */
1137
+ errorIgnorePatterns?: string[];
1124
1138
  /** @deprecated use devCommand */
1125
1139
  command?: string;
1126
1140
  }
package/src/projects.d.ts CHANGED
@@ -255,14 +255,14 @@ export interface SetupScriptDependency {
255
255
  name: string;
256
256
  script: string;
257
257
  }
258
- export type FusionExecutionEnvironment = "containerized" | "container-less" | "cloud";
258
+ export type FusionExecutionEnvironment = "containerized" | "container-less" | "cloud" | "cloud-v2";
259
259
  export interface PartialBranchData {
260
260
  name?: string;
261
261
  createdBy: string;
262
262
  friendlyName: string;
263
263
  isDefault: boolean;
264
264
  isPublic: boolean;
265
- lockedFusionEnvironment: FusionExecutionEnvironment;
265
+ lockedFusionEnvironment?: FusionExecutionEnvironment;
266
266
  metadata?: Record<string, unknown>;
267
267
  backup?: BranchBackup;
268
268
  gitAiBranch?: string | null;