@builder.io/ai-utils 0.18.5 → 0.18.6

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.18.5",
3
+ "version": "0.18.6",
4
4
  "description": "Builder.io AI utils",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
package/src/codegen.d.ts CHANGED
@@ -1464,6 +1464,8 @@ export interface FusionStatus {
1464
1464
  tunnel?: TunnelStatusInfo;
1465
1465
  /** Event loop delays collected every 5 seconds (in milliseconds) for percentile calculation */
1466
1466
  eventLoopDelays?: number[];
1467
+ /** Max memory pressure observed in the reporting period (0-1, where 1 is near OOM) */
1468
+ memoryPressure?: number;
1467
1469
  }
1468
1470
  export interface FusionMetrics {
1469
1471
  counters: {
package/src/projects.d.ts CHANGED
@@ -380,6 +380,8 @@ interface BranchSharedData {
380
380
  lastAgentActivityAt?: number | null;
381
381
  /** Timestamp of last activity on this branch - includes both agent and user activity (in milliseconds since epoch) */
382
382
  lastActivityAt?: number;
383
+ /** Whether the branch has unpushed changes (ahead > 0 or dirty working directory) */
384
+ hasUnpushedChanges?: boolean;
383
385
  }
384
386
  /**
385
387
  * fields that are required in the new branch format, but optional in the legacy branch format.