@builder.io/ai-utils 0.12.17 → 0.12.18

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.17",
3
+ "version": "0.12.18",
4
4
  "description": "Builder.io AI utils",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
package/src/codegen.d.ts CHANGED
@@ -40,6 +40,7 @@ export interface CustomAgentDefinition {
40
40
  tools?: string[];
41
41
  model?: string;
42
42
  needDevServer?: boolean;
43
+ needValidation?: boolean;
43
44
  includeMemories?: boolean;
44
45
  }
45
46
  export type CodeGenFramework = "react" | "html" | "mitosis" | "react-native" | "angular" | "vue" | "svelte" | "qwik" | "solid" | "marko" | "swiftui" | "jetpack-compose" | "flutter";
@@ -230,7 +231,7 @@ export interface CodeGenToolMap {
230
231
  }
231
232
  export type CodeGenTools = keyof CodeGenToolMap;
232
233
  export type AllCodeGenTools = CodeGenTools | "web_search";
233
- export type SessionMode = "planning" | "normal";
234
+ export type SessionMode = "planning" | "normal" | "auto-planning";
234
235
  export type CodeGenMode = "quality" | "quality-v3" | "quality-v4" | "quality-v4-agent";
235
236
  export type BaseCodeGenPosition = "fusion" | "editor-ai" | "repo-indexing" | "cli" | "create-app-firebase" | "create-app-lovable" | "builder-code-panel";
236
237
  export type CodeGenPosition = BaseCodeGenPosition | `${BaseCodeGenPosition}-agent`;
@@ -488,6 +489,7 @@ export interface GenerateCompletionStepContinue {
488
489
  autoContinue: boolean;
489
490
  }
490
491
  export type DevCommandState = "running" | "stopped" | "starting" | "failed" | "unset";
492
+ export type ValidateCommandState = "unset" | "running" | "stopped" | "success" | "failure";
491
493
  export type SetupCommandState = "not-installed" | "installing" | "installed" | "install-failed" | "install-aborted";
492
494
  export type HttpServerState = "ok-2xx" | "error-4xx" | "error-5xx" | "error-fetch" | "stopped" | "connecting";
493
495
  export type ProxyServerSelection = "hardcoded" | "auto-detected" | "port-env";
@@ -577,6 +579,7 @@ export interface GenerateCompletionStepDevServerState {
577
579
  remoteAddress: string | undefined;
578
580
  remotePort: number | undefined;
579
581
  proxyServerReachable: boolean;
582
+ validateState: ValidateCommandState;
580
583
  }
581
584
  export interface GenerateCompletionStepGit {
582
585
  type: "git";
@@ -1058,6 +1061,7 @@ export interface FusionConfig {
1058
1061
  projectId?: string;
1059
1062
  branchName?: string;
1060
1063
  sessionId?: string;
1064
+ browserAutomationInstructions?: string;
1061
1065
  featureBranch?: string;
1062
1066
  aiBranch?: string;
1063
1067
  refreshPreview?: boolean;
package/src/projects.d.ts CHANGED
@@ -374,6 +374,7 @@ export interface Project {
374
374
  installCommand?: string;
375
375
  validateCommand?: string;
376
376
  proxyOrigin?: string;
377
+ proxyDefaultOrigin?: string;
377
378
  gitBranchNamingStrategy?: "ai-session" | "branch-name" | "custom";
378
379
  setupDependencies?: SetupDependency[];
379
380
  gitBranchNamingCustom?: string;
@@ -411,6 +412,11 @@ export interface Project {
411
412
  recommendedRoot?: string;
412
413
  https?: boolean;
413
414
  localHttpsDomain?: string;
415
+ browserAutomation?: {
416
+ backgroundAgents?: boolean;
417
+ builderApp?: boolean;
418
+ instructions?: string;
419
+ };
414
420
  httpsServerKeyPath?: string;
415
421
  httpsServerCertPath?: string;
416
422
  httpsServerCaPath?: string;