@builder.io/ai-utils 0.4.26 → 0.4.28

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.4.26",
3
+ "version": "0.4.28",
4
4
  "description": "Builder.io AI utils",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
package/src/projects.d.ts CHANGED
@@ -132,10 +132,12 @@ export interface ReadyMessage extends BaseMessage {
132
132
  url: string;
133
133
  status?: LaunchServerStatus;
134
134
  }
135
+ export type EnsureContainerErrorCode = "FLY_APP_CHECK_ERROR" | "FLY_CAPACITY_ERROR" | "FLY_VOLUME_CREATE_ERROR" | "FLY_VOLUME_FORK_ERROR" | "FLY_VOLUME_DELETE_RECENTLY_FORKED_ERROR" | "FLY_MACHINE_CREATE_ERROR" | "FLY_VOLUME_CHECK_ERROR" | "FLY_NON_MOUNTABLE_VOLUME_ERROR" | "ensure-checking-existing-machines" | "found-multiple-failed-machine" | "maximun-retries-machine-creation" | "git-auth-failed" | "unknown" | "project-bad-state" | "project-not-found" | "project-branch-not-found" | "project-repo-full-name-not-found" | "project-org-not-found" | "no-available-regions" | "machine-status-polling-failed";
135
136
  export interface ErrorStateMessage extends BaseMessage {
136
137
  state: "error";
137
138
  message: string;
138
139
  error: string;
140
+ code: EnsureContainerErrorCode;
139
141
  }
140
142
  export interface CleanupCompletedMessage extends BaseMessage {
141
143
  state: "cleanupCompleted";
package/src/settings.d.ts CHANGED
@@ -2,6 +2,7 @@ export interface AssistantSettings {
2
2
  assistantType?: string;
3
3
  viewId?: string;
4
4
  theme?: "dark" | "light";
5
+ allowNoStyleInspiration?: boolean;
5
6
  }
6
7
  interface IframeSettings extends Partial<AssistantSettings> {
7
8
  local?: boolean;