@builder.io/ai-utils 0.27.4 → 0.28.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.27.4",
3
+ "version": "0.28.0",
4
4
  "description": "Builder.io AI utils",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
package/src/codegen.d.ts CHANGED
@@ -1576,15 +1576,20 @@ export interface EnvironmentVariable {
1576
1576
  }
1577
1577
  export interface FileOverride {
1578
1578
  /**
1579
- * Absolute path where the file should be written in the container.
1580
- * Example: "/app/.env", "/etc/config/app.conf"
1579
+ * Path where the file should be written.
1580
+ * Supports absolute paths ("/app/.env"), tilde ("~/.npmrc"), and relative paths ("./config.json").
1581
1581
  */
1582
1582
  path: string;
1583
1583
  /**
1584
- * Content to write to the file.
1585
- * Can be plain text or binary content (base64 encoded if needed).
1584
+ * Plain text content to write to the file.
1585
+ * Mutually exclusive with `base64`.
1586
1586
  */
1587
- content: string;
1587
+ content?: string;
1588
+ /**
1589
+ * Base64-encoded binary content to write to the file.
1590
+ * Mutually exclusive with `content`.
1591
+ */
1592
+ base64?: string;
1588
1593
  }
1589
1594
  export interface MCPServerDefinition {
1590
1595
  command: string;
@@ -2066,6 +2071,7 @@ export interface ConfigureDevOrchestratorUpdates {
2066
2071
  validateCommand: boolean;
2067
2072
  hosts: boolean;
2068
2073
  env: boolean;
2074
+ fileOverrides: boolean;
2069
2075
  setupResult: SetupCommandResult | undefined;
2070
2076
  devResult: DevCommandResult | undefined;
2071
2077
  validateResult: ValidateCommandResult | undefined;
@@ -2083,6 +2089,7 @@ export interface ConfigureDevOrchestratorOpts {
2083
2089
  forceDevCommand?: boolean;
2084
2090
  autoDetectDevServer?: boolean;
2085
2091
  autoDetectDevServerPatterns?: string[];
2092
+ fileOverrides?: FileOverride[];
2086
2093
  }
2087
2094
  export interface LanguageInfo {
2088
2095
  color: string;
package/src/events.d.ts CHANGED
@@ -528,6 +528,8 @@ export type ClawMessageSentV1 = FusionEventVariant<"claw.message.sent", {
528
528
  correlationId?: string;
529
529
  channelId?: string;
530
530
  senderDisplayName?: string;
531
+ /** Optional context to include alongside the message (e.g. Slack thread history). */
532
+ messageContext?: string;
531
533
  }, {}, 1>;
532
534
  export declare const ClawMessageSentV1: {
533
535
  eventName: "claw.message.sent";