@builder.io/ai-utils 0.4.38 → 0.4.39
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 -1
package/package.json
CHANGED
package/src/codegen.d.ts
CHANGED
|
@@ -134,6 +134,7 @@ export interface CodeGenToolMap {
|
|
|
134
134
|
Read: ViewPathToolInput;
|
|
135
135
|
Write: WriteFileInput;
|
|
136
136
|
Edit: SearchReplaceInput;
|
|
137
|
+
ReadRule: GetRuleToolInput;
|
|
137
138
|
GetStyleInspiration: GetStyleInspirationToolInput;
|
|
138
139
|
MultiEdit: MultiSearchReplaceInput;
|
|
139
140
|
FindMedia: FindMediaToolInput;
|
|
@@ -196,7 +197,7 @@ export interface CodeGenInputOptions {
|
|
|
196
197
|
/** @deprecated */
|
|
197
198
|
vcpId?: string;
|
|
198
199
|
}
|
|
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";
|
|
200
|
+
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
201
|
export type Feature = "component-mapping";
|
|
201
202
|
export interface CodegenUsage {
|
|
202
203
|
total: number;
|