@vellumai/plugin-api 0.10.11-dev.202607241136.cb94282 → 0.10.11-dev.202607241308.39465e9
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/index.d.ts +26 -21
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -5551,7 +5551,7 @@ declare interface SurfaceDataByType {
|
|
|
5551
5551
|
call_summary: Record<string, unknown>;
|
|
5552
5552
|
}
|
|
5553
5553
|
|
|
5554
|
-
declare type _SurfacesServerMessages = UiSurfaceShow | UiSurfaceUpdate |
|
|
5554
|
+
declare type _SurfacesServerMessages = UiSurfaceShow | UiSurfaceUpdate | UISurfaceDismissEvent | UISurfaceCompleteEvent | UISurfaceUndoResultEvent;
|
|
5555
5555
|
|
|
5556
5556
|
declare type SurfaceType = z.infer<typeof SurfaceTypeSchema>;
|
|
5557
5557
|
|
|
@@ -6357,19 +6357,23 @@ declare type TtsUseCase =
|
|
|
6357
6357
|
/** In-app message playback — buffer-oriented, higher quality acceptable. */
|
|
6358
6358
|
| "message-playback";
|
|
6359
6359
|
|
|
6360
|
-
declare
|
|
6361
|
-
type: "ui_surface_complete";
|
|
6362
|
-
conversationId: string;
|
|
6363
|
-
surfaceId: string;
|
|
6364
|
-
summary: string;
|
|
6365
|
-
submittedData?: Record<string, unknown>;
|
|
6366
|
-
}
|
|
6360
|
+
declare type UISurfaceCompleteEvent = z.infer<typeof UISurfaceCompleteEventSchema>;
|
|
6367
6361
|
|
|
6368
|
-
declare
|
|
6369
|
-
type: "
|
|
6370
|
-
conversationId:
|
|
6371
|
-
surfaceId:
|
|
6372
|
-
|
|
6362
|
+
declare const UISurfaceCompleteEventSchema: z.ZodObject<{
|
|
6363
|
+
type: z.ZodLiteral<"ui_surface_complete">;
|
|
6364
|
+
conversationId: z.ZodString;
|
|
6365
|
+
surfaceId: z.ZodString;
|
|
6366
|
+
summary: z.ZodString;
|
|
6367
|
+
submittedData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6368
|
+
}, z.core.$strip>;
|
|
6369
|
+
|
|
6370
|
+
declare type UISurfaceDismissEvent = z.infer<typeof UISurfaceDismissEventSchema>;
|
|
6371
|
+
|
|
6372
|
+
declare const UISurfaceDismissEventSchema: z.ZodObject<{
|
|
6373
|
+
type: z.ZodLiteral<"ui_surface_dismiss">;
|
|
6374
|
+
conversationId: z.ZodString;
|
|
6375
|
+
surfaceId: z.ZodString;
|
|
6376
|
+
}, z.core.$strip>;
|
|
6373
6377
|
|
|
6374
6378
|
/**
|
|
6375
6379
|
* Discriminated union over every surface type, derived from
|
|
@@ -6407,14 +6411,15 @@ declare type UiSurfaceShowFor<K extends SurfaceType> = UiSurfaceShowBase & {
|
|
|
6407
6411
|
data: SurfaceDataByType[K];
|
|
6408
6412
|
};
|
|
6409
6413
|
|
|
6410
|
-
declare
|
|
6411
|
-
|
|
6412
|
-
|
|
6413
|
-
|
|
6414
|
-
|
|
6415
|
-
|
|
6416
|
-
|
|
6417
|
-
|
|
6414
|
+
declare type UISurfaceUndoResultEvent = z.infer<typeof UISurfaceUndoResultEventSchema>;
|
|
6415
|
+
|
|
6416
|
+
declare const UISurfaceUndoResultEventSchema: z.ZodObject<{
|
|
6417
|
+
type: z.ZodLiteral<"ui_surface_undo_result">;
|
|
6418
|
+
conversationId: z.ZodString;
|
|
6419
|
+
surfaceId: z.ZodString;
|
|
6420
|
+
success: z.ZodBoolean;
|
|
6421
|
+
remainingUndos: z.ZodNumber;
|
|
6422
|
+
}, z.core.$strip>;
|
|
6418
6423
|
|
|
6419
6424
|
declare interface UiSurfaceUpdate {
|
|
6420
6425
|
type: "ui_surface_update";
|
package/package.json
CHANGED