@builder.io/ai-utils 0.11.31 → 0.11.32

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.31",
3
+ "version": "0.11.32",
4
4
  "description": "Builder.io AI utils",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
package/src/codegen.d.ts CHANGED
@@ -1149,25 +1149,26 @@ export interface LaunchServerStatus {
1149
1149
  projectId?: string;
1150
1150
  detectedServerUrl?: string;
1151
1151
  _attemptDryRunBackupOutcome?: string;
1152
+ workingDirectory?: string;
1153
+ fusionConfig?: FusionConfig;
1152
1154
  }
1153
1155
  export interface FusionStatus {
1154
1156
  status: "ok";
1155
1157
  state: LaunchServerState;
1156
- setupState?: SetupCommandState;
1157
- devState?: DevCommandState;
1158
+ setupState: SetupCommandState | undefined;
1159
+ devState: DevCommandState | undefined;
1158
1160
  editorReady: boolean;
1159
- httpServerState?: HttpServerState;
1160
- initState?: InitState;
1161
- errorMessage?: string;
1161
+ httpServerState: HttpServerState | undefined;
1162
+ initState: InitState | undefined;
1163
+ errorMessage: string | undefined;
1162
1164
  devToolsVersion: string;
1163
1165
  idleTime: number;
1164
1166
  upTime: number;
1165
- machine?: MachineConfig;
1166
- projectId?: string;
1167
- detectedServerUrl?: string;
1168
- secondsActive?: number;
1169
- backupDryRun?: string;
1170
- _attemptDryRunBackupOutcome?: string;
1167
+ machine: MachineConfig | undefined;
1168
+ projectId: string | undefined;
1169
+ detectedServerUrl: string | undefined;
1170
+ _attemptDryRunBackupOutcome: string | undefined;
1171
+ workingDirectory: string | undefined;
1171
1172
  }
1172
1173
  export interface FusionMetrics {
1173
1174
  counters: {
@@ -1,3 +1,4 @@
1
+ import type { EnvironmentVariable } from "./codegen";
1
2
  export interface GithubEnterpriseSetupValue {
2
3
  host: string;
3
4
  clientId: string;
@@ -28,6 +29,9 @@ interface OrganizationSettings {
28
29
  bitbucketEnterprisePAT?: BitbucketEnterprisePAT;
29
30
  useProxy?: boolean;
30
31
  fusionShareableUrlSuffix?: string;
32
+ autoDetectDevServerPatterns?: string[];
33
+ environmentVariables?: EnvironmentVariable[];
34
+ runInPty?: boolean;
31
35
  }
32
36
  interface RoleOptions {
33
37
  read?: boolean;
package/src/projects.d.ts CHANGED
@@ -270,6 +270,7 @@ export interface PartialBranchData {
270
270
  lastCommitDate?: number | null;
271
271
  commitMode?: "commits" | "draft-prs" | "prs";
272
272
  useHomeDir?: boolean;
273
+ checkoutBranch?: string | null;
273
274
  cloneFrom?: {
274
275
  projectId: string;
275
276
  branchName: string;
@@ -322,6 +323,7 @@ export interface Branch {
322
323
  kubeNamespace?: string | null;
323
324
  kubePvcName?: string | null;
324
325
  kubeHostname?: string | null;
326
+ checkoutBranch?: string | null;
325
327
  }
326
328
  export type CpuKind = "performance" | "shared";
327
329
  export type MachineAutoStop = "stop" | "off" | "suspend";
@@ -346,6 +348,7 @@ export interface Project {
346
348
  needSetup?: boolean;
347
349
  domains?: string[];
348
350
  settings: {
351
+ isNativeApp?: boolean;
349
352
  autoDetectDevServer?: boolean;
350
353
  autoDetectDevServerPatterns?: string[];
351
354
  fusionEnvironment?: FusionExecutionEnvironment;