@builder.io/ai-utils 0.5.26 → 0.5.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 +1 -1
- package/src/codegen.d.ts +2 -2
- package/src/organization.d.ts +1 -0
- 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;
|
|
@@ -729,7 +729,7 @@ export interface CheckBackupDataResultValid {
|
|
|
729
729
|
}
|
|
730
730
|
export interface CheckBackupDataResultInvalid {
|
|
731
731
|
hasValidBackup: false;
|
|
732
|
-
outcome: "
|
|
732
|
+
outcome: "no-backup" | "hash-mismatch" | "error" | "not-completed" | "no-session-id" | "no-last-commit-hash" | "no-backup-file" | "empty-full-backup" | "no-vcpCodeGenEvent" | "no-after-commit" | "no-signed-url" | "no-git-branch-name" | "repo-url-mismatch" | "branch-uninitialized";
|
|
733
733
|
message: string;
|
|
734
734
|
backup: BranchBackup | undefined;
|
|
735
735
|
}
|
package/src/organization.d.ts
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;
|
|
@@ -199,5 +199,13 @@ export interface CodegenSetLastCommit {
|
|
|
199
199
|
projectId: string;
|
|
200
200
|
branchName: string;
|
|
201
201
|
lastCommitHash: string;
|
|
202
|
+
clearSecondaryVolumeId: boolean;
|
|
203
|
+
}
|
|
204
|
+
export interface CodegenRuntimeStatus {
|
|
205
|
+
projectId: string;
|
|
206
|
+
branchName: string;
|
|
207
|
+
lastCommitHash?: string;
|
|
208
|
+
clearSecondaryVolumeId?: boolean;
|
|
209
|
+
lastServerState?: LaunchServerState;
|
|
202
210
|
}
|
|
203
211
|
export {};
|