@builder.io/ai-utils 0.7.6 → 0.7.7

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/codegen.d.ts +3 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builder.io/ai-utils",
3
- "version": "0.7.6",
3
+ "version": "0.7.7",
4
4
  "description": "Builder.io AI utils",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
package/src/codegen.d.ts CHANGED
@@ -241,7 +241,6 @@ export interface CodeGenInputOptions {
241
241
  maxPages?: number;
242
242
  autoContinue?: number;
243
243
  isManualContinue?: boolean;
244
- promptCaching?: boolean;
245
244
  llmSuggestions?: boolean;
246
245
  conclusionText?: boolean;
247
246
  mcpServers?: boolean;
@@ -255,6 +254,7 @@ export interface CodeGenInputOptions {
255
254
  role?: "user" | "agent";
256
255
  user?: UserSource;
257
256
  projectId?: string;
257
+ branchName?: string;
258
258
  /** @deprecated */
259
259
  prevId?: string;
260
260
  /** @deprecated */
@@ -783,6 +783,7 @@ export interface BranchBackup {
783
783
  repoUrl: string;
784
784
  version?: "v1" | "v2";
785
785
  forced: ForcedBackup;
786
+ commitInRepoVerified?: "verified" | "not-found" | "unverified";
786
787
  metadata?: Record<string, any>;
787
788
  }
788
789
  export interface CheckBackupDataResultValid {
@@ -805,7 +806,7 @@ export interface CheckBackupDataResultStale {
805
806
  }
806
807
  export interface CheckBackupDataResultInvalid {
807
808
  state: "invalid";
808
- outcome: "no-backup" | "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" | "unexpected-partial-backup" | "unexpected-full-backup";
809
+ outcome: "no-backup" | "error" | "not-completed" | "no-session-id" | "no-last-commit-hash" | "no-backup-file" | "empty-full-backup" | "no-vcpCodeGenEvent" | "commits-not-in-repo" | "no-after-commit" | "no-signed-url" | "no-git-branch-name" | "repo-url-mismatch" | "branch-uninitialized" | "unexpected-partial-backup" | "unexpected-full-backup";
809
810
  message: string;
810
811
  backup: BranchBackup | undefined;
811
812
  }