@builder.io/ai-utils 0.44.0 → 0.44.3

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.44.0",
3
+ "version": "0.44.3",
4
4
  "description": "Builder.io AI utils",
5
5
  "files": [
6
6
  "src"
package/src/claw.d.ts CHANGED
@@ -14,12 +14,24 @@ export interface OrgTreeEnvironmentVariable {
14
14
  value: string;
15
15
  isSecret: boolean;
16
16
  }
17
+ export interface OrgTreeMessage {
18
+ createdAt: number;
19
+ markdown: string;
20
+ senderType: "user" | "sub-agent" | "system";
21
+ channelId?: string;
22
+ direction?: "incoming" | "outgoing";
23
+ senderDisplayName?: string;
24
+ senderId?: string;
25
+ source?: string;
26
+ channelType?: string;
27
+ }
17
28
  export interface OrgTreeResult {
18
29
  projects: Project[];
19
30
  branches: NewBranch[];
20
31
  users: OrgTreeUser[];
21
32
  memories: MemorySummary[];
22
33
  environmentVariables?: OrgTreeEnvironmentVariable[];
34
+ messages?: OrgTreeMessage[];
23
35
  }
24
36
  export interface ClawMessageContext {
25
37
  channelId: string;
package/src/codegen.d.ts CHANGED
@@ -350,8 +350,8 @@ export interface TimelineSubmissionMetadata {
350
350
  recordingCaption?: string;
351
351
  summary?: string;
352
352
  comments?: PRReviewComment[];
353
- projectId?: string;
354
- branchName?: string;
353
+ projectId: string;
354
+ branchName: string;
355
355
  ownerId?: string;
356
356
  configId?: string;
357
357
  containerUrl?: string;
@@ -625,7 +625,7 @@ export interface SpawnBranchToolInput {
625
625
  export interface CreateProjectToolInput {
626
626
  repo_url: string;
627
627
  name?: string;
628
- builder_user_id?: string;
628
+ builder_user_id: string;
629
629
  origin_channel_id?: string;
630
630
  initial_message?: string;
631
631
  }
@@ -1224,6 +1224,7 @@ export interface CustomInstructionDefinition {
1224
1224
  type: "agent-mode" | "always";
1225
1225
  glob?: string;
1226
1226
  isSkill?: boolean;
1227
+ userInvocable?: boolean;
1227
1228
  }
1228
1229
  export interface GenerateCompletionStepSession {
1229
1230
  type: "session";