@builder.io/ai-utils 0.11.9 → 0.11.10

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.11.9",
3
+ "version": "0.11.10",
4
4
  "description": "Builder.io AI utils",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
package/src/codegen.d.ts CHANGED
@@ -2,7 +2,7 @@ import type { Attachment, ContentMessageItemToolResult } from "./messages";
2
2
  import type { BuilderContent } from "./completion";
3
3
  import type { Options as PrettierOptions } from "prettier";
4
4
  import type { UserContext } from "./mapping";
5
- import type { ForcedBackup } from "./projects";
5
+ import type { ForcedBackup, SetupDependency } from "./projects";
6
6
  import type { Feature } from "./features";
7
7
  export type ImportType = "named" | "default";
8
8
  export interface ESMImport {
@@ -955,6 +955,7 @@ export interface FusionConfig {
955
955
  devCommand?: string;
956
956
  checkCommand?: string;
957
957
  setupCommand?: string;
958
+ setupDependencies?: SetupDependency[];
958
959
  projectId?: string;
959
960
  branchName?: string;
960
961
  sessionId?: string;
@@ -1163,6 +1164,7 @@ export interface ConfigureDevOrchestratorUpdates {
1163
1164
  export interface ConfigureDevOrchestratorOpts {
1164
1165
  devCommand?: string | null;
1165
1166
  setupCommand?: string | null;
1167
+ setupDependencies?: SetupDependency[];
1166
1168
  proxyPort?: number;
1167
1169
  proxyServer?: string;
1168
1170
  env?: Record<string, string | null>;
package/src/projects.d.ts CHANGED
@@ -241,4 +241,17 @@ export type ShutdownResponse = {
241
241
  export type ShutdownResponseSerialized = Omit<ShutdownResponse, "error"> & {
242
242
  error?: string;
243
243
  };
244
+ export type SetupDependency = SetupMiseDependency | SetupScriptDependency;
245
+ export interface SetupMiseDependency {
246
+ key: string;
247
+ type: "mise";
248
+ tool: string;
249
+ version?: string;
250
+ }
251
+ export interface SetupScriptDependency {
252
+ key: string;
253
+ type: "script";
254
+ name: string;
255
+ script: string;
256
+ }
244
257
  export {};