@builder.io/ai-utils 0.14.1 → 0.14.2
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 +11 -2
- package/src/projects.d.ts +2 -0
package/package.json
CHANGED
package/src/codegen.d.ts
CHANGED
|
@@ -197,6 +197,7 @@ export interface ExplorationMetadataToolInput {
|
|
|
197
197
|
}
|
|
198
198
|
export interface ExitPlanModeToolInput {
|
|
199
199
|
plan: string;
|
|
200
|
+
handled?: boolean;
|
|
200
201
|
}
|
|
201
202
|
export interface ReadMcpResourceToolInput {
|
|
202
203
|
uri: string;
|
|
@@ -279,7 +280,7 @@ export interface CodeGenInputOptions {
|
|
|
279
280
|
customAgents?: CustomAgentInfo[];
|
|
280
281
|
systemPromptOverride?: string;
|
|
281
282
|
userPrompt?: string;
|
|
282
|
-
|
|
283
|
+
systemReminders?: SystemReminder[];
|
|
283
284
|
ephemeralUserPrompt?: string;
|
|
284
285
|
uiContextPrompt?: string;
|
|
285
286
|
displayUserPrompt?: string;
|
|
@@ -341,6 +342,8 @@ export interface CodeGenInputOptions {
|
|
|
341
342
|
vcpId?: string;
|
|
342
343
|
/** @deprecated */
|
|
343
344
|
repair?: boolean;
|
|
345
|
+
/** @deprecated */
|
|
346
|
+
systemReminderPrompt?: string;
|
|
344
347
|
}
|
|
345
348
|
export type CodeGenErrorCodes = "credits-limit-daily" | "credits-limit-monthly" | "credits-limit-other" | "cli-genetic-error" | "git-update-error" | "prompt-too-long" | "context-too-long" | "abrupt-end" | "unknown" | "failed-recover-state" | "completion-expired" | "ask-to-continue" | "bad-initial-url" | "invalid-last-message" | "corrupted-session" | "privacy-mode-key-required" | "privacy-mode-key-invalid" | "cli-network-error" | "assertion" | "rate-limit" | "unknown-design-system";
|
|
346
349
|
export interface CodegenUsage {
|
|
@@ -773,7 +776,7 @@ export interface GenerateUserMessage {
|
|
|
773
776
|
export interface UserInput {
|
|
774
777
|
userMessage: GenerateUserMessage | undefined;
|
|
775
778
|
userPrompt: string;
|
|
776
|
-
|
|
779
|
+
systemReminders: SystemReminder[];
|
|
777
780
|
attachments: Attachment[];
|
|
778
781
|
files: ProjectFile[];
|
|
779
782
|
searchResponse: CodebaseSearchResponse | null;
|
|
@@ -1579,3 +1582,9 @@ export type MessageUpdateOptions = {
|
|
|
1579
1582
|
type: "delete";
|
|
1580
1583
|
idempotencyKey: string;
|
|
1581
1584
|
};
|
|
1585
|
+
export interface SystemReminderObj {
|
|
1586
|
+
text: string;
|
|
1587
|
+
tag?: string;
|
|
1588
|
+
ephemeral?: boolean;
|
|
1589
|
+
}
|
|
1590
|
+
export type SystemReminder = string | SystemReminderObj;
|
package/src/projects.d.ts
CHANGED
|
@@ -431,6 +431,7 @@ export interface Project {
|
|
|
431
431
|
environmentVariables?: EnvironmentVariable[];
|
|
432
432
|
fileOverrides?: FileOverride[];
|
|
433
433
|
commitMode?: CommitMode;
|
|
434
|
+
defaultBranchType?: "shared" | "private";
|
|
434
435
|
dockerImagePath?: string;
|
|
435
436
|
nodeVersion?: string;
|
|
436
437
|
designSystems?: string[];
|
|
@@ -456,6 +457,7 @@ export interface Project {
|
|
|
456
457
|
authUser?: string;
|
|
457
458
|
authPassword?: string;
|
|
458
459
|
};
|
|
460
|
+
qaBot?: boolean;
|
|
459
461
|
httpsServerKeyPath?: string;
|
|
460
462
|
httpsServerCertPath?: string;
|
|
461
463
|
httpsServerCaPath?: string;
|