@builder.io/ai-utils 0.29.0 → 0.29.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builder.io/ai-utils",
3
- "version": "0.29.0",
3
+ "version": "0.29.1",
4
4
  "description": "Builder.io AI utils",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
package/src/codegen.d.ts CHANGED
@@ -493,12 +493,6 @@ export interface SpawnBranchToolInput {
493
493
  builderUserId?: string;
494
494
  hidden?: boolean;
495
495
  }
496
- export interface SendMessageToBranchToolInput {
497
- projectId: string;
498
- branchName: string;
499
- message: string;
500
- builderUserId?: string;
501
- }
502
496
  export interface ReadBranchToolInput {
503
497
  projectId: string;
504
498
  branchName: string;
@@ -606,7 +600,6 @@ export interface CodeGenToolMap {
606
600
  SetEnvVariable: SetEnvVariableToolInput;
607
601
  SendMessage: SendMessageToolInput;
608
602
  SpawnBranch: SpawnBranchToolInput;
609
- SendMessageToBranch: SendMessageToBranchToolInput;
610
603
  ReadBranch: ReadBranchToolInput;
611
604
  RunningAgents: RunningAgentsToolInput;
612
605
  }
@@ -1174,6 +1167,9 @@ export interface UserSourceBuilder extends UserSourceBase {
1174
1167
  }
1175
1168
  export interface UserSourceAgent extends UserSourceBase {
1176
1169
  source: "agent";
1170
+ userId?: string;
1171
+ userName?: string;
1172
+ userEmail?: string;
1177
1173
  }
1178
1174
  export type UserSource = UserSourceOther | UserSourceBuilder | UserSourceAgent;
1179
1175
  export type AutoPushMode = "force-push" | "merge-push" | "ff-push" | "safe-push" | "none";
package/src/projects.d.ts CHANGED
@@ -374,6 +374,7 @@ export interface PrInfo {
374
374
  prNumber: number;
375
375
  prUrl: string;
376
376
  status: PRStatus;
377
+ updatedAt: number;
377
378
  }
378
379
  /**
379
380
  * Metadata stored in branches for integration tracking and PR description generation.
@@ -423,6 +424,7 @@ export interface BranchSharedData {
423
424
  prUrl?: string | null;
424
425
  prInfoByFolder?: Record<string, PrInfo> | null;
425
426
  prStatus?: PRStatus;
427
+ prStatusUpdatedAt?: number | null;
426
428
  machineId?: string | null;
427
429
  lastMachineIdRemovedAt?: number | null;
428
430
  volumeId?: string | null;