@builder.io/ai-utils 0.22.0 → 0.22.2

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.22.0",
3
+ "version": "0.22.2",
4
4
  "description": "Builder.io AI utils",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
package/src/codegen.d.ts CHANGED
@@ -1542,6 +1542,9 @@ export interface LaunchServerStatus {
1542
1542
  workingDirectory?: string;
1543
1543
  fusionConfig?: FusionConfig;
1544
1544
  fusionEnvironment: "cloud" | "cloud-v2" | "unknown";
1545
+ containerState: "idle" | "busy";
1546
+ containerStateTimestamp: number;
1547
+ activeOperations: number;
1545
1548
  }
1546
1549
  /**
1547
1550
  * VS Code Tunnel status information
@@ -1575,6 +1578,8 @@ export interface FusionStatus {
1575
1578
  _attemptDryRunBackupOutcome: string | undefined;
1576
1579
  workingDirectory: string | undefined;
1577
1580
  fusionEnvironment: "cloud" | "cloud-v2" | "unknown";
1581
+ containerState: "idle" | "busy";
1582
+ containerStateTimestamp: number;
1578
1583
  wsClients: number;
1579
1584
  httpClients: number;
1580
1585
  /** VS Code Tunnel status for remote editor connections */
@@ -1655,6 +1660,7 @@ export interface CodegenApiTerminal {
1655
1660
  cwd: string;
1656
1661
  createdAt: number;
1657
1662
  lastWrittenAt: number;
1663
+ command: string | undefined;
1658
1664
  createdBy: string;
1659
1665
  readonly: boolean;
1660
1666
  builtIn: boolean;
package/src/events.d.ts CHANGED
@@ -464,9 +464,9 @@ export declare const AiTaskFailedEvent: {
464
464
  version: "1";
465
465
  };
466
466
  export type GitPrCreatedEvent = FusionEventVariant<"git.pr.created", {
467
- prNumber: number;
468
- repo: string;
469
- branch: string;
467
+ prNumber?: number;
468
+ repo?: string;
469
+ branch?: string;
470
470
  }, {}, 1>;
471
471
  export declare const GitPrCreatedEvent: {
472
472
  eventName: "git.pr.created";