@builder.io/ai-utils 0.20.0 → 0.20.1

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 +6 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builder.io/ai-utils",
3
- "version": "0.20.0",
3
+ "version": "0.20.1",
4
4
  "description": "Builder.io AI utils",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
package/src/codegen.d.ts CHANGED
@@ -431,6 +431,7 @@ export interface CodeGenInputOptions {
431
431
  encryptKey?: string;
432
432
  modelOverride?: string;
433
433
  errorIfHadCompaction?: boolean;
434
+ promptVersion?: "v1" | "v2" | "v3";
434
435
  reasoning?: "low" | "medium" | "high" | "minimal";
435
436
  redactUserMessages?: boolean;
436
437
  redactLLMMessages?: boolean;
@@ -452,6 +453,11 @@ export interface CodeGenInputOptions {
452
453
  * These tools will be executed on the client side and passed through from the server
453
454
  */
454
455
  localMCPTools?: LocalMCPTools[];
456
+ /**
457
+ * Indicates whether the codegen is running in local mode (local filesystem)
458
+ * vs cloud/container mode. Used to determine git auto-commit behavior.
459
+ */
460
+ isLocal?: boolean;
455
461
  maxAgentLoops?: number;
456
462
  maxAgentTiming?: number;
457
463
  /**