@builder.io/ai-utils 0.38.0 → 0.38.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 +13 -14
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builder.io/ai-utils",
3
- "version": "0.38.0",
3
+ "version": "0.38.1",
4
4
  "description": "Builder.io AI utils",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
package/src/codegen.d.ts CHANGED
@@ -555,35 +555,34 @@ export interface SetEnvVariableToolInput {
555
555
  explanation?: string;
556
556
  }
557
557
  export interface SendMessageToolInput {
558
- channelId: string;
558
+ channel_id: string;
559
559
  markdown: string;
560
560
  status: "starting" | "question" | "will-follow-up" | "done:success" | "done:error";
561
- loadingMessage?: string;
561
+ loading_message?: string;
562
562
  /**
563
563
  * When true, send the response as a voice message using text-to-speech.
564
564
  * Only supported for Telegram channels.
565
565
  */
566
- voiceResponse?: boolean;
566
+ voice_response?: boolean;
567
567
  }
568
568
  export interface SpawnBranchToolInput {
569
- projectId: string;
569
+ project_id: string;
570
570
  message: string;
571
- builderUserId?: string;
571
+ builder_user_id?: string;
572
572
  hidden?: boolean;
573
- sourceChannelId?: string;
574
- sourceDmId?: string;
575
- sessionMode?: "normal" | "planning" | "deep-research";
573
+ origin_channel_id?: string;
574
+ session_mode?: "normal" | "planning" | "deep-research";
576
575
  model?: "auto" | "opus" | "sonnet" | "haiku";
577
- attachmentUrls?: string[];
576
+ attachment_urls?: string[];
578
577
  }
579
578
  export interface ReadBranchToolInput {
580
- projectId: string;
581
- branchName: string;
579
+ project_id: string;
580
+ branch_name: string;
582
581
  }
583
582
  export interface ArchiveBranchToolInput {
584
- projectId: string;
585
- branchName: string;
586
- builderUserId: string;
583
+ project_id: string;
584
+ branch_name: string;
585
+ builder_user_id: string;
587
586
  reason?: string;
588
587
  }
589
588
  /** Comment for PR review - used by both SubmitPRReview and SubmitRecording */