@builder.io/ai-utils 0.14.1 → 0.14.3
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 +12 -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 {
|
|
@@ -751,6 +754,7 @@ export interface GenerateUserMessage {
|
|
|
751
754
|
ephemeralUserPrompt?: string;
|
|
752
755
|
displayPrompt?: string;
|
|
753
756
|
files?: string[];
|
|
757
|
+
systemReminders?: SystemReminderObj[];
|
|
754
758
|
includeBaseFiles?: boolean;
|
|
755
759
|
attachments?: Attachment[];
|
|
756
760
|
logsCheckpoint?: boolean;
|
|
@@ -773,7 +777,7 @@ export interface GenerateUserMessage {
|
|
|
773
777
|
export interface UserInput {
|
|
774
778
|
userMessage: GenerateUserMessage | undefined;
|
|
775
779
|
userPrompt: string;
|
|
776
|
-
|
|
780
|
+
systemReminders: SystemReminder[];
|
|
777
781
|
attachments: Attachment[];
|
|
778
782
|
files: ProjectFile[];
|
|
779
783
|
searchResponse: CodebaseSearchResponse | null;
|
|
@@ -1579,3 +1583,9 @@ export type MessageUpdateOptions = {
|
|
|
1579
1583
|
type: "delete";
|
|
1580
1584
|
idempotencyKey: string;
|
|
1581
1585
|
};
|
|
1586
|
+
export interface SystemReminderObj {
|
|
1587
|
+
text: string;
|
|
1588
|
+
tag?: string;
|
|
1589
|
+
ephemeral?: boolean;
|
|
1590
|
+
}
|
|
1591
|
+
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;
|