@builder.io/ai-utils 0.94.0 → 0.95.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.94.0",
3
+ "version": "0.95.0",
4
4
  "description": "Builder.io AI utils",
5
5
  "files": [
6
6
  "src"
package/src/codegen.d.ts CHANGED
@@ -1108,6 +1108,11 @@ export declare const ProposeEnvVariableToolInputSchema: z.ZodObject<{
1108
1108
  secret: z.ZodOptional<z.ZodBoolean>;
1109
1109
  }, z.core.$strip>;
1110
1110
  export type ProposeEnvVariableToolInput = z.infer<typeof ProposeEnvVariableToolInputSchema>;
1111
+ /**
1112
+ * Set by the CLI on a `ProposeEnvVariable` it applied without confirmation. A CLI
1113
+ * predating that path never sets it, so the service won't persist what it prompts for.
1114
+ */
1115
+ export declare const AUTO_APPLIED_ENV_VARIABLE_RESULT_KEY = "autoAppliedEnvVariable";
1111
1116
  export declare const SetEnvVariableToolInputSchema: z.ZodObject<{
1112
1117
  key: z.ZodString;
1113
1118
  value: z.ZodString;
@@ -4355,6 +4360,12 @@ export interface FusionConfig {
4355
4360
  serverUrl?: string;
4356
4361
  isLocal?: boolean;
4357
4362
  environmentVariables?: EnvironmentVariable[];
4363
+ /**
4364
+ * Env var names `ProposeEnvVariable` may set without a confirmation prompt.
4365
+ * Server-supplied per project (see `autoApplyEnvVariableKeys`); any key not
4366
+ * listed still goes through the confirmation UI.
4367
+ */
4368
+ autoApplyEnvVariableKeys?: string[];
4358
4369
  /** @deprecated */
4359
4370
  envVariables?: Record<string, string>;
4360
4371
  accessControl?: AclPolicy;
package/src/codegen.js CHANGED
@@ -1197,6 +1197,11 @@ export const ProposeEnvVariableToolInputSchema = z
1197
1197
  }),
1198
1198
  })
1199
1199
  .meta({ title: "ProposeEnvVariableToolInput" });
1200
+ /**
1201
+ * Set by the CLI on a `ProposeEnvVariable` it applied without confirmation. A CLI
1202
+ * predating that path never sets it, so the service won't persist what it prompts for.
1203
+ */
1204
+ export const AUTO_APPLIED_ENV_VARIABLE_RESULT_KEY = "autoAppliedEnvVariable";
1200
1205
  export const SetEnvVariableToolInputSchema = z
1201
1206
  .object({
1202
1207
  key: z.string().meta({