@builder.io/ai-utils 0.11.9 → 0.11.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.11.9",
3
+ "version": "0.11.11",
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;
@@ -1074,6 +1075,7 @@ export interface LaunchServerStatus {
1074
1075
  startTime: number;
1075
1076
  machine?: MachineConfig;
1076
1077
  projectId?: string;
1078
+ detectedServerUrl?: string;
1077
1079
  _attemptDryRunBackupOutcome?: string;
1078
1080
  }
1079
1081
  export interface FusionStatus {
@@ -1090,6 +1092,7 @@ export interface FusionStatus {
1090
1092
  upTime: number;
1091
1093
  machine?: MachineConfig;
1092
1094
  projectId?: string;
1095
+ detectedServerUrl?: string;
1093
1096
  secondsActive?: number;
1094
1097
  backupDryRun?: string;
1095
1098
  _attemptDryRunBackupOutcome?: string;
@@ -1163,6 +1166,7 @@ export interface ConfigureDevOrchestratorUpdates {
1163
1166
  export interface ConfigureDevOrchestratorOpts {
1164
1167
  devCommand?: string | null;
1165
1168
  setupCommand?: string | null;
1169
+ setupDependencies?: SetupDependency[];
1166
1170
  proxyPort?: number;
1167
1171
  proxyServer?: string;
1168
1172
  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 {};