@builder.io/ai-utils 0.53.1 → 0.54.0

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/codegen.d.ts +7 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builder.io/ai-utils",
3
- "version": "0.53.1",
3
+ "version": "0.54.0",
4
4
  "description": "Builder.io AI utils",
5
5
  "files": [
6
6
  "src"
package/src/codegen.d.ts CHANGED
@@ -828,7 +828,13 @@ export interface GetLastBrowserTestToolInput {
828
828
  export type CodeGenTools = keyof CodeGenToolMap;
829
829
  export type AllCodeGenTools = CodeGenTools | "web_search";
830
830
  export type SessionMode = "planning" | "normal" | "auto-planning" | "deep-research";
831
- export type CodeGenMode = "quality" | "quality-v3" | "quality-v4" | "quality-v4-agent";
831
+ export type CodeGenMode = "quality" | "quality-v3" | "quality-v4"
832
+ /**
833
+ * @deprecated Use `quality-v4` instead. Kept for backwards compatibility
834
+ * with older dev-tools clients in the wild that may still request this mode
835
+ * for sub-agents. New code should not produce this value.
836
+ */
837
+ | "quality-v4-agent";
832
838
  export type QueueMode = "next-turn" | "until-idle";
833
839
  export declare const BASE_CODEGEN_POSITIONS: readonly ["fusion", "editor-ai", "repo-indexing", "cli", "create-app-firebase", "create-app-lovable", "builder-code-panel", "setup-project", "code-review-orchestrator", "project-configuration", "org-agent", "browser-testing", "projects-scheduler-memory-extraction", "builder-code", "unknown", "dsi-mcp"];
834
840
  export type BaseCodeGenPosition = (typeof BASE_CODEGEN_POSITIONS)[number];