@builder.io/ai-utils 0.17.2 → 0.17.3

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.17.2",
3
+ "version": "0.17.3",
4
4
  "description": "Builder.io AI utils",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
package/src/codegen.d.ts CHANGED
@@ -44,6 +44,7 @@ export interface CustomAgentDefinition {
44
44
  needDevServer?: boolean;
45
45
  needValidation?: boolean;
46
46
  includeMemories?: boolean;
47
+ resetAfterRun?: boolean;
47
48
  }
48
49
  export type CodeGenFramework = "react" | "html" | "mitosis" | "react-native" | "angular" | "vue" | "svelte" | "qwik" | "solid" | "marko" | "swiftui" | "jetpack-compose" | "flutter";
49
50
  export type CodeGenStyleLibrary = "tailwind" | "tailwind-precise" | "emotion" | "styled-components" | "styled-jsx" | "react-native" | undefined;
@@ -349,7 +350,7 @@ export interface CodeGenInputOptions {
349
350
  /** @deprecated */
350
351
  systemReminderPrompt?: string;
351
352
  }
352
- 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";
353
+ 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" | "bad-smart-export-payload" | "invalid-last-message" | "corrupted-session" | "privacy-mode-key-required" | "privacy-mode-key-invalid" | "cli-network-error" | "assertion" | "rate-limit" | "unknown-design-system";
353
354
  export interface CodegenUsage {
354
355
  total: number;
355
356
  fast: number;
package/src/projects.d.ts CHANGED
@@ -314,7 +314,7 @@ export interface BranchMetadata {
314
314
  slackThreadTs?: string;
315
315
  [key: string]: unknown;
316
316
  }
317
- export type PRStatus = "open" | "closed" | "merged" | "draft";
317
+ export type PRStatus = "open" | "closed" | "merged" | "draft" | "approved";
318
318
  interface BranchSharedData {
319
319
  appName?: string | null;
320
320
  prNumber?: number | null;