@builder.io/ai-utils 0.12.26 → 0.12.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/codegen.d.ts +3 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builder.io/ai-utils",
3
- "version": "0.12.26",
3
+ "version": "0.12.28",
4
4
  "description": "Builder.io AI utils",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
package/src/codegen.d.ts CHANGED
@@ -321,7 +321,7 @@ export interface CodeGenInputOptions {
321
321
  /** @deprecated */
322
322
  repair?: boolean;
323
323
  }
324
- export type CodeGenErrorCodes = "credits-limit-daily" | "credits-limit-monthly" | "credits-limit-other" | "cli-genetic-error" | "git-update-error" | "prompt-too-long" | "context-too-long" | "abrupt-end" | "unknown" | "failed-recover-state" | "ask-to-continue" | "bad-initial-url" | "invalid-last-message" | "corrupted-session" | "privacy-mode-key-required" | "privacy-mode-key-invalid" | "cli-network-error" | "assertion" | "rate-limit" | "unknown-design-system";
324
+ export type CodeGenErrorCodes = "credits-limit-daily" | "credits-limit-monthly" | "credits-limit-other" | "cli-genetic-error" | "git-update-error" | "prompt-too-long" | "context-too-long" | "abrupt-end" | "unknown" | "failed-recover-state" | "completion-expired" | "ask-to-continue" | "bad-initial-url" | "invalid-last-message" | "corrupted-session" | "privacy-mode-key-required" | "privacy-mode-key-invalid" | "cli-network-error" | "assertion" | "rate-limit" | "unknown-design-system";
325
325
  export interface CodegenUsage {
326
326
  total: number;
327
327
  fast: number;
@@ -598,6 +598,7 @@ export interface GenerateCompletionStepGit {
598
598
  currentCommit: string;
599
599
  currentBranch: string;
600
600
  remoteBranch: string;
601
+ pendingValidation: boolean;
601
602
  }
602
603
  export interface GenerateCompletionStepClose {
603
604
  type: "close";
@@ -625,6 +626,7 @@ export interface GenerateCompletionStepSession {
625
626
  lastCompletionId: string | undefined;
626
627
  sessionMode: SessionMode;
627
628
  fusionConfig: FusionConfig | undefined;
629
+ hasBrowserAutomation: boolean;
628
630
  }
629
631
  export interface GenerateCompletionStepMetadata {
630
632
  type: "metadata";