@builder.io/ai-utils 0.5.26 → 0.5.28

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.5.26",
3
+ "version": "0.5.28",
4
4
  "description": "Builder.io AI utils",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
package/src/codegen.d.ts CHANGED
@@ -221,7 +221,7 @@ export interface CodeGenInputOptions {
221
221
  /** @deprecated */
222
222
  vcpId?: string;
223
223
  }
224
- export type CodeGenErrorCodes = "credits-limit-daily" | "credits-limit-monthly" | "credits-limit-other" | "cli-genetic-error" | "prompt-too-long" | "context-too-long" | "unknown" | "failed-recover-state" | "bad-initial-url" | "invalid-last-message" | "corrupted-session" | "assertion" | "rate-limit";
224
+ export type CodeGenErrorCodes = "credits-limit-daily" | "credits-limit-monthly" | "credits-limit-other" | "cli-genetic-error" | "git-update-error" | "prompt-too-long" | "context-too-long" | "unknown" | "failed-recover-state" | "bad-initial-url" | "invalid-last-message" | "corrupted-session" | "assertion" | "rate-limit";
225
225
  export type Feature = "component-mapping";
226
226
  export interface CodegenUsage {
227
227
  total: number;
@@ -729,7 +729,7 @@ export interface CheckBackupDataResultValid {
729
729
  }
730
730
  export interface CheckBackupDataResultInvalid {
731
731
  hasValidBackup: false;
732
- outcome: "valid" | "no-backup" | "hash-mismatch" | "error" | "not-completed" | "no-session-id" | "no-last-commit-hash" | "no-backup-file" | "empty-full-backup" | "no-vcpCodeGenEvent" | "no-after-commit" | "no-signed-url" | "no-git-branch-name" | "repo-url-mismatch" | "branch-uninitialized";
732
+ outcome: "no-backup" | "hash-mismatch" | "error" | "not-completed" | "no-session-id" | "no-last-commit-hash" | "no-backup-file" | "empty-full-backup" | "no-vcpCodeGenEvent" | "no-after-commit" | "no-signed-url" | "no-git-branch-name" | "repo-url-mismatch" | "branch-uninitialized";
733
733
  message: string;
734
734
  backup: BranchBackup | undefined;
735
735
  }
@@ -64,5 +64,6 @@ export interface Organization {
64
64
  subscriptionSettings?: string;
65
65
  totalBytesStored?: number;
66
66
  lastUpdateBy?: string | null;
67
+ enterpriseTrialEndDate?: number;
67
68
  }
68
69
  export {};
package/src/projects.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { LaunchServerStatus } from "./codegen";
1
+ import type { LaunchServerState, LaunchServerStatus } from "./codegen";
2
2
  export interface ConfigStatus {
3
3
  isReady: boolean;
4
4
  lastUpdated: string;
@@ -199,5 +199,13 @@ export interface CodegenSetLastCommit {
199
199
  projectId: string;
200
200
  branchName: string;
201
201
  lastCommitHash: string;
202
+ clearSecondaryVolumeId: boolean;
203
+ }
204
+ export interface CodegenRuntimeStatus {
205
+ projectId: string;
206
+ branchName: string;
207
+ lastCommitHash?: string;
208
+ clearSecondaryVolumeId?: boolean;
209
+ lastServerState?: LaunchServerState;
202
210
  }
203
211
  export {};