@builder.io/ai-utils 0.12.23 → 0.12.25
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 +10 -1
package/package.json
CHANGED
package/src/codegen.d.ts
CHANGED
|
@@ -406,9 +406,10 @@ export interface GenerateCompletionStepUser {
|
|
|
406
406
|
type: "user";
|
|
407
407
|
displayPrompt: string | undefined;
|
|
408
408
|
attachments?: Array<Attachment>;
|
|
409
|
-
id
|
|
409
|
+
id?: string;
|
|
410
410
|
user: UserSource;
|
|
411
411
|
role: "user" | "agent";
|
|
412
|
+
idempotencyKey?: string;
|
|
412
413
|
compacting: boolean;
|
|
413
414
|
}
|
|
414
415
|
export interface GenerateCompletionStepFile {
|
|
@@ -1515,3 +1516,11 @@ export interface CodegenAbortOptions {
|
|
|
1515
1516
|
cleanCurrentMessage?: boolean;
|
|
1516
1517
|
flushMessageQueue?: boolean;
|
|
1517
1518
|
}
|
|
1519
|
+
export type MessageUpdateOptions = {
|
|
1520
|
+
type: "move";
|
|
1521
|
+
idempotencyKey: string;
|
|
1522
|
+
delta: number;
|
|
1523
|
+
} | {
|
|
1524
|
+
type: "delete";
|
|
1525
|
+
idempotencyKey: string;
|
|
1526
|
+
};
|