@vellumai/plugin-api 0.10.11-dev.202607231902.0887e08 → 0.10.11-dev.202607231934.db954e6

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.
Files changed (2) hide show
  1. package/index.d.ts +17 -19
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -3346,28 +3346,26 @@ declare interface HostTransferToSandboxRequest {
3346
3346
  sourcePath: string;
3347
3347
  }
3348
3348
 
3349
- declare interface HostUiSnapshotCancelMessage {
3350
- type: "host_ui_snapshot_cancel";
3351
- requestId: string;
3352
- }
3349
+ declare type HostUiSnapshotCancelEvent = z.infer<typeof HostUiSnapshotCancelEventSchema>;
3353
3350
 
3354
- declare interface HostUiSnapshotRequestMessage {
3355
- type: "host_ui_snapshot_request";
3356
- requestId: string;
3357
- view: HostUiSnapshotView;
3358
- /**
3359
- * Validated workspace-theme tokens to apply on the stage. The daemon reads
3360
- * them from ui/theme.json at request time so the capture reflects the
3361
- * current file even before connected clients refetch. Absent when no valid
3362
- * theme exists — the stage renders the built-in base theme.
3363
- */
3364
- tokens?: Record<string, string>;
3365
- }
3351
+ declare const HostUiSnapshotCancelEventSchema: z.ZodObject<{
3352
+ type: z.ZodLiteral<"host_ui_snapshot_cancel">;
3353
+ requestId: z.ZodString;
3354
+ }, z.core.$strip>;
3355
+
3356
+ declare type HostUiSnapshotRequestEvent = z.infer<typeof HostUiSnapshotRequestEventSchema>;
3366
3357
 
3367
- declare type _HostUiSnapshotServerMessages = HostUiSnapshotRequestMessage | HostUiSnapshotCancelMessage;
3358
+ declare const HostUiSnapshotRequestEventSchema: z.ZodObject<{
3359
+ type: z.ZodLiteral<"host_ui_snapshot_request">;
3360
+ requestId: z.ZodString;
3361
+ view: z.ZodEnum<{
3362
+ sampler: "sampler";
3363
+ chat: "chat";
3364
+ }>;
3365
+ tokens: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3366
+ }, z.core.$strip>;
3368
3367
 
3369
- /** Staged compositions the web client can render for capture. */
3370
- declare type HostUiSnapshotView = "sampler" | "chat";
3368
+ declare type _HostUiSnapshotServerMessages = HostUiSnapshotRequestEvent | HostUiSnapshotCancelEvent;
3371
3369
 
3372
3370
  declare type IdentityChangedEvent = z.infer<typeof IdentityChangedEventSchema>;
3373
3371
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vellumai/plugin-api",
3
- "version": "0.10.11-dev.202607231902.0887e08",
3
+ "version": "0.10.11-dev.202607231934.db954e6",
4
4
  "description": "Public TypeScript authoring contract for Vellum assistant plugins.",
5
5
  "license": "MIT",
6
6
  "type": "module",