@builder.io/ai-utils 0.4.38 → 0.4.40
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 +3 -1
- package/src/index.d.ts +1 -0
- package/src/index.js +1 -0
- package/src/projects.d.ts +1 -1
- package/src/repo-indexing.d.ts +9 -0
- package/src/repo-indexing.js +1 -0
package/package.json
CHANGED
package/src/codegen.d.ts
CHANGED
|
@@ -111,6 +111,7 @@ export interface RevertToolInput {
|
|
|
111
111
|
export interface TodoReadToolInput {
|
|
112
112
|
}
|
|
113
113
|
export interface TodoWriteToolInput {
|
|
114
|
+
mode: "replace" | "patch";
|
|
114
115
|
todos: {
|
|
115
116
|
content: string;
|
|
116
117
|
status: "pending" | "in_progress" | "completed";
|
|
@@ -134,6 +135,7 @@ export interface CodeGenToolMap {
|
|
|
134
135
|
Read: ViewPathToolInput;
|
|
135
136
|
Write: WriteFileInput;
|
|
136
137
|
Edit: SearchReplaceInput;
|
|
138
|
+
ReadRule: GetRuleToolInput;
|
|
137
139
|
GetStyleInspiration: GetStyleInspirationToolInput;
|
|
138
140
|
MultiEdit: MultiSearchReplaceInput;
|
|
139
141
|
FindMedia: FindMediaToolInput;
|
|
@@ -196,7 +198,7 @@ export interface CodeGenInputOptions {
|
|
|
196
198
|
/** @deprecated */
|
|
197
199
|
vcpId?: string;
|
|
198
200
|
}
|
|
199
|
-
export type CodeGenErrorCodes = "credits-limit-daily" | "credits-limit-monthly" | "credits-limit-other" | "cli-genetic-error" | "prompt-too-long" | "unknown" | "failed-recover-state" | "bad-initial-url" | "invalid-last-message" | "corrupted-session" | "assertion" | "rate-limit";
|
|
201
|
+
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";
|
|
200
202
|
export type Feature = "component-mapping";
|
|
201
203
|
export interface CodegenUsage {
|
|
202
204
|
total: number;
|
package/src/index.d.ts
CHANGED
package/src/index.js
CHANGED
package/src/projects.d.ts
CHANGED
|
@@ -132,7 +132,7 @@ 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" | "timeout" | "fatal:zod-validation-error" | `fatal:${string}`;
|
|
135
|
+
export type EnsureContainerErrorCode = "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" | "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" | "timeout" | "fatal:zod-validation-error" | `fatal:${string}`;
|
|
136
136
|
export interface ErrorStateMessage extends BaseMessage {
|
|
137
137
|
state: "error";
|
|
138
138
|
message: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|