@builder.io/ai-utils 0.5.27 → 0.5.29
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 +1 -1
- package/src/features.d.ts +1 -4
- package/src/features.js +1 -5
- package/src/projects.d.ts +9 -1
package/package.json
CHANGED
package/src/codegen.d.ts
CHANGED
|
@@ -221,7 +221,7 @@ export interface CodeGenInputOptions {
|
|
|
221
221
|
/** @deprecated */
|
|
222
222
|
vcpId?: string;
|
|
223
223
|
}
|
|
224
|
-
export type CodeGenErrorCodes = "credits-limit-daily" | "credits-limit-monthly" | "credits-limit-other" | "cli-genetic-error" | "prompt-too-long" | "context-too-long" | "unknown" | "failed-recover-state" | "bad-initial-url" | "invalid-last-message" | "corrupted-session" | "assertion" | "rate-limit";
|
|
224
|
+
export type CodeGenErrorCodes = "credits-limit-daily" | "credits-limit-monthly" | "credits-limit-other" | "cli-genetic-error" | "git-update-error" | "prompt-too-long" | "context-too-long" | "unknown" | "failed-recover-state" | "bad-initial-url" | "invalid-last-message" | "corrupted-session" | "assertion" | "rate-limit";
|
|
225
225
|
export type Feature = "component-mapping";
|
|
226
226
|
export interface CodegenUsage {
|
|
227
227
|
total: number;
|
package/src/features.d.ts
CHANGED
package/src/features.js
CHANGED
package/src/projects.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { LaunchServerStatus } from "./codegen";
|
|
1
|
+
import type { LaunchServerState, LaunchServerStatus } from "./codegen";
|
|
2
2
|
export interface ConfigStatus {
|
|
3
3
|
isReady: boolean;
|
|
4
4
|
lastUpdated: string;
|
|
@@ -201,4 +201,12 @@ export interface CodegenSetLastCommit {
|
|
|
201
201
|
lastCommitHash: string;
|
|
202
202
|
clearSecondaryVolumeId: boolean;
|
|
203
203
|
}
|
|
204
|
+
export interface CodegenRuntimeStatus {
|
|
205
|
+
projectId: string;
|
|
206
|
+
branchName: string;
|
|
207
|
+
lastCommitHash?: string;
|
|
208
|
+
clearSecondaryVolumeId?: boolean;
|
|
209
|
+
lastServerState?: LaunchServerState;
|
|
210
|
+
lastServerVersion?: string;
|
|
211
|
+
}
|
|
204
212
|
export {};
|