@builder.io/ai-utils 0.35.0 → 0.36.0

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.35.0",
3
+ "version": "0.36.0",
4
4
  "description": "Builder.io AI utils",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
package/src/codegen.d.ts CHANGED
@@ -2054,6 +2054,8 @@ export interface CodegenApiTerminal {
2054
2054
  readonly: boolean;
2055
2055
  builtIn: boolean;
2056
2056
  state: "starting" | "running" | "exited" | "error";
2057
+ /** Whether this terminal has stale environment variables and should be restarted */
2058
+ stale?: boolean;
2057
2059
  exitCode: number | undefined;
2058
2060
  initialCommand?: string;
2059
2061
  }
package/src/events.d.ts CHANGED
@@ -496,6 +496,10 @@ export declare const ClientDevtoolsSessionStartedEvent: {
496
496
  export type ClientDevtoolsSessionIdleEventV1 = FusionEventVariant<"client.devtools.session.idle", {
497
497
  sessionId?: string;
498
498
  lastMessage?: string;
499
+ projectId?: string;
500
+ branchName?: string;
501
+ hasPlanToApply?: boolean;
502
+ sessionMode?: string;
499
503
  }, {}, 1>;
500
504
  export declare const ClientDevtoolsSessionIdleEventV1: {
501
505
  eventName: "client.devtools.session.idle";
package/src/projects.d.ts CHANGED
@@ -489,6 +489,7 @@ export interface BranchSharedData {
489
489
  /** Whether the branch has unpushed changes (ahead > 0 or dirty working directory) */
490
490
  hasUnpushedChanges?: boolean;
491
491
  screenshot?: string | null;
492
+ agentState?: "running" | "waiting" | "idle";
492
493
  /** Screenshots indexed by normalized href (without query params, fragments, protocol) */
493
494
  screenshots?: Record<string, string>;
494
495
  /** Whether this branch is for a code review - affects enabled agents and tools */