@builder.io/ai-utils 0.13.2 → 0.13.4
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 +1 -1
- package/src/codegen.d.ts +8 -0
- package/src/projects.d.ts +1 -1
package/package.json
CHANGED
package/src/codegen.d.ts
CHANGED
|
@@ -202,6 +202,10 @@ export interface ReadMcpResourceToolInput {
|
|
|
202
202
|
uri: string;
|
|
203
203
|
serverName?: string;
|
|
204
204
|
}
|
|
205
|
+
export interface RecordFrameToolInput {
|
|
206
|
+
title: string;
|
|
207
|
+
frame: "last-image";
|
|
208
|
+
}
|
|
205
209
|
export interface CodeGenToolMap {
|
|
206
210
|
view_path: ReadToolInput;
|
|
207
211
|
glob_search: GlobSearchToolInput;
|
|
@@ -244,6 +248,7 @@ export interface CodeGenToolMap {
|
|
|
244
248
|
ExplorationMetadata: ExplorationMetadataToolInput;
|
|
245
249
|
ExitPlanMode: ExitPlanModeToolInput;
|
|
246
250
|
ReadMcpResource: ReadMcpResourceToolInput;
|
|
251
|
+
RecordFrame: RecordFrameToolInput;
|
|
247
252
|
}
|
|
248
253
|
export type CodeGenTools = keyof CodeGenToolMap;
|
|
249
254
|
export type AllCodeGenTools = CodeGenTools | "web_search";
|
|
@@ -1260,6 +1265,7 @@ export interface LaunchServerStatus {
|
|
|
1260
1265
|
machine?: MachineConfig;
|
|
1261
1266
|
projectId?: string;
|
|
1262
1267
|
detectedServerUrl?: string;
|
|
1268
|
+
httpClients: number;
|
|
1263
1269
|
_attemptDryRunBackupOutcome?: string;
|
|
1264
1270
|
workingDirectory?: string;
|
|
1265
1271
|
fusionConfig?: FusionConfig;
|
|
@@ -1283,6 +1289,8 @@ export interface FusionStatus {
|
|
|
1283
1289
|
_attemptDryRunBackupOutcome: string | undefined;
|
|
1284
1290
|
workingDirectory: string | undefined;
|
|
1285
1291
|
fusionEnvironment: "cloud" | "cloud-v2" | "unknown";
|
|
1292
|
+
wsClients: number;
|
|
1293
|
+
httpClients: number;
|
|
1286
1294
|
}
|
|
1287
1295
|
export interface FusionMetrics {
|
|
1288
1296
|
counters: {
|
package/src/projects.d.ts
CHANGED
|
@@ -135,7 +135,7 @@ export interface ReadyMessage extends BaseMessage {
|
|
|
135
135
|
}
|
|
136
136
|
export type MachineState = "unknown" | "created" | "starting" | "started" | "stopping" | "stopped" | "suspending" | "suspended" | "replacing" | "destroying" | "destroyed" | "not-found" | "running" | "failed";
|
|
137
137
|
export type FlyVolumeState = "unknown" | "creating" | "created" | "extending" | "restoring" | "enabling_remote_export" | "hydrating" | "recovering" | "scheduling_destroy" | "pending_destroy" | "failed";
|
|
138
|
-
export type GitAuthErrorCode = "git-auth-failed" | "git-auth-failed-root-repo" | "git-auth-failed-folder-added-by" | "git-auth-failed-folder-created-by" | "git-auth-failed-repo-not-found" | "git-auth-failed-folder-server-token" | "git-auth-failed-root-repo-server-token" | "git-auth-failed-ghes-unreachable";
|
|
138
|
+
export type GitAuthErrorCode = "git-auth-failed" | "git-auth-failed-root-repo" | "git-auth-failed-folder-added-by" | "git-auth-failed-folder-created-by" | "git-auth-failed-repo-not-found" | "git-auth-failed-repo-renamed" | "git-auth-failed-folder-server-token" | "git-auth-failed-root-repo-server-token" | "git-auth-failed-ghes-unreachable";
|
|
139
139
|
export type EnsureContainerErrorCode = "FAILED_TO_START_MACHINE_ERROR" | "FLY_APP_CHECK_ERROR" | "FLY_CAPACITY_ERROR" | "FLY_PERMISSIONS_TOKEN_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" | "FLY_DEPRECATED_REGION_ERROR" | "FLY_VOLUME_NOT_FOUND" | "FLY_MACHINE_LIMIT_ERROR" | "KUBE_CAPACITY_ERROR" | "KUBE_PERMISSIONS_ERROR" | "KUBE_POD_LIMIT_ERROR" | "KUBE_RESOURCE_QUOTA_ERROR" | "KUBE_NAMESPACE_CHECK_ERROR" | "KUBE_PVC_CREATE_ERROR" | "KUBE_PVC_CHECK_ERROR" | "KUBE_POD_CREATE_ERROR" | "KUBE_SERVICE_CREATE_ERROR" | "KUBE_INGRESS_CREATE_ERROR" | "KUBE_POD_FAILED_TO_START_ERROR" | "ensure-checking-existing-machines" | "found-multiple-failed-machine" | "maximun-retries-machine-creation" | GitAuthErrorCode | "unknown" | "project-bad-state" | "project-not-found" | "project-deleted" | "project-branch-not-found" | "project-branch-deleted" | "project-branch-no-session-id" | "project-repo-full-name-not-found" | "project-org-not-found" | "invalid-project-repo-url-already-in-use" | "no-available-regions" | "invalid-backup-without-volume-id" | "missing-app-with-machine-or-volume" | "update-branch-info-in-firebase" | "update-branch-app-name-in-firebase" | `machine-status-polling-${MachineState}` | `machine-image-exited-immediately` | `volume-not-found-${FlyVolumeState}` | "trying-to-remove-used-volume" | "timeout" | "fatal:zod-validation-error" | `fatal:${string}`;
|
|
140
140
|
export interface ErrorStateMessage extends BaseMessage {
|
|
141
141
|
state: "error";
|