@builder.io/ai-utils 0.12.16 → 0.12.17

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.12.16",
3
+ "version": "0.12.17",
4
4
  "description": "Builder.io AI utils",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
package/src/codegen.d.ts CHANGED
@@ -4,6 +4,7 @@ import type { Options as PrettierOptions } from "prettier";
4
4
  import type { UserContext } from "./mapping";
5
5
  import type { ForcedBackup, SetupDependency } from "./projects";
6
6
  import type { Feature } from "./features";
7
+ import type { CpuKind } from "./projects";
7
8
  export type ImportType = "named" | "default";
8
9
  export interface ESMImport {
9
10
  importName: string;
@@ -503,6 +504,7 @@ export interface CodeGenHealthStatus {
503
504
  devCommand: string | undefined;
504
505
  setupCommand: string | undefined;
505
506
  hasMergeConflict: boolean;
507
+ hasConfigurationIssue: boolean;
506
508
  logs: string | undefined;
507
509
  prompt: string;
508
510
  message: string;
@@ -976,7 +978,7 @@ export type RemoteMachineConfig = {
976
978
  cpus: number;
977
979
  memory: number;
978
980
  region: string;
979
- cpuKind: "performance" | "shared";
981
+ cpuKind?: CpuKind;
980
982
  volumeSize: number;
981
983
  };
982
984
  export type MachineConfig = (RemoteMachineConfig & {
package/src/projects.d.ts CHANGED
@@ -325,7 +325,7 @@ export interface Branch {
325
325
  kubeHostname?: string | null;
326
326
  checkoutBranch?: string | null;
327
327
  }
328
- export type CpuKind = "performance" | "shared";
328
+ export type CpuKind = "performance" | "standard" | "shared";
329
329
  export type MachineAutoStop = "stop" | "off" | "suspend";
330
330
  export interface ProjectRolePermissions {
331
331
  view?: boolean;
@@ -378,8 +378,11 @@ export interface Project {
378
378
  setupDependencies?: SetupDependency[];
379
379
  gitBranchNamingCustom?: string;
380
380
  devServerCommand?: string;
381
- memoryLimit?: 1024 | 2048 | 4096 | 8192 | 16384;
382
381
  cpuKind?: CpuKind;
382
+ cpus?: 1 | 2 | 4;
383
+ memory?: 2048 | 4096 | 8192 | 16384;
384
+ /** @deprecated */
385
+ memoryLimit?: 1024 | 2048 | 4096 | 8192 | 16384;
383
386
  autoStop?: MachineAutoStop;
384
387
  mainBranchName?: string;
385
388
  minMachinesRunning?: number;