@builder.io/ai-utils 0.11.30 → 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.30",
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
@@ -904,6 +904,7 @@ export interface WorkspaceFolder {
904
904
  originalRepoUrl?: string;
905
905
  repoUrl?: string;
906
906
  repoName?: string;
907
+ resetGit?: boolean;
907
908
  branchName?: string;
908
909
  backupMetadata?: BackupMetadata;
909
910
  initializationCommand?: string;
@@ -1148,25 +1149,26 @@ export interface LaunchServerStatus {
1148
1149
  projectId?: string;
1149
1150
  detectedServerUrl?: string;
1150
1151
  _attemptDryRunBackupOutcome?: string;
1152
+ workingDirectory?: string;
1153
+ fusionConfig?: FusionConfig;
1151
1154
  }
1152
1155
  export interface FusionStatus {
1153
1156
  status: "ok";
1154
1157
  state: LaunchServerState;
1155
- setupState?: SetupCommandState;
1156
- devState?: DevCommandState;
1158
+ setupState: SetupCommandState | undefined;
1159
+ devState: DevCommandState | undefined;
1157
1160
  editorReady: boolean;
1158
- httpServerState?: HttpServerState;
1159
- initState?: InitState;
1160
- errorMessage?: string;
1161
+ httpServerState: HttpServerState | undefined;
1162
+ initState: InitState | undefined;
1163
+ errorMessage: string | undefined;
1161
1164
  devToolsVersion: string;
1162
1165
  idleTime: number;
1163
1166
  upTime: number;
1164
- machine?: MachineConfig;
1165
- projectId?: string;
1166
- detectedServerUrl?: string;
1167
- secondsActive?: number;
1168
- backupDryRun?: string;
1169
- _attemptDryRunBackupOutcome?: string;
1167
+ machine: MachineConfig | undefined;
1168
+ projectId: string | undefined;
1169
+ detectedServerUrl: string | undefined;
1170
+ _attemptDryRunBackupOutcome: string | undefined;
1171
+ workingDirectory: string | undefined;
1170
1172
  }
1171
1173
  export interface FusionMetrics {
1172
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;