@vellumai/plugin-api 0.10.11-dev.202607221933.baa2119 → 0.10.11-dev.202607222029.495c516

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 +22 -25
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -5692,32 +5692,29 @@ export declare interface ServerToolUseContent {
5692
5692
  input: Record<string, unknown>;
5693
5693
  }
5694
5694
 
5695
- /** Broadcast to connected clients when a service group update has completed. */
5696
- declare interface ServiceGroupUpdateComplete {
5697
- type: "service_group_update_complete";
5698
- /** The version that was installed (may differ from target if rolled back). */
5699
- installedVersion: string;
5700
- /** Whether the update succeeded or rolled back. */
5701
- success: boolean;
5702
- /** If rolled back, the version reverted to. */
5703
- rolledBackToVersion?: string;
5704
- }
5695
+ declare type ServiceGroupUpdateCompleteEvent = z.infer<typeof ServiceGroupUpdateCompleteEventSchema>;
5705
5696
 
5706
- /** Broadcast to connected clients with a progress update during an upgrade or rollback. */
5707
- declare interface ServiceGroupUpdateProgress {
5708
- type: "service_group_update_progress";
5709
- /** A short, user-friendly status message describing what's happening right now. */
5710
- statusMessage: string;
5711
- }
5697
+ declare const ServiceGroupUpdateCompleteEventSchema: z.ZodObject<{
5698
+ type: z.ZodLiteral<"service_group_update_complete">;
5699
+ installedVersion: z.ZodString;
5700
+ success: z.ZodBoolean;
5701
+ rolledBackToVersion: z.ZodOptional<z.ZodString>;
5702
+ }, z.core.$strip>;
5712
5703
 
5713
- /** Broadcast to connected clients when a service group update is about to begin. */
5714
- declare interface ServiceGroupUpdateStarting {
5715
- type: "service_group_update_starting";
5716
- /** The version being upgraded to. */
5717
- targetVersion: string;
5718
- /** Estimated seconds of downtime. */
5719
- expectedDowntimeSeconds: number;
5720
- }
5704
+ declare type ServiceGroupUpdateProgressEvent = z.infer<typeof ServiceGroupUpdateProgressEventSchema>;
5705
+
5706
+ declare const ServiceGroupUpdateProgressEventSchema: z.ZodObject<{
5707
+ type: z.ZodLiteral<"service_group_update_progress">;
5708
+ statusMessage: z.ZodString;
5709
+ }, z.core.$strip>;
5710
+
5711
+ declare type ServiceGroupUpdateStartingEvent = z.infer<typeof ServiceGroupUpdateStartingEventSchema>;
5712
+
5713
+ declare const ServiceGroupUpdateStartingEventSchema: z.ZodObject<{
5714
+ type: z.ZodLiteral<"service_group_update_starting">;
5715
+ targetVersion: z.ZodString;
5716
+ expectedDowntimeSeconds: z.ZodNumber;
5717
+ }, z.core.$strip>;
5721
5718
 
5722
5719
  declare type _SettingsServerMessages = ClientSettingsUpdate | AvatarUpdatedEvent | ConfigChanged | SoundsConfigUpdated | GenerateAvatarResponse;
5723
5720
 
@@ -7167,7 +7164,7 @@ declare interface UnpublishPageResponse {
7167
7164
  /** Merge the given keys into a message's metadata JSON. */
7168
7165
  export declare function updateMessageMetadata(messageId: string, updates: Record<string, unknown>): Promise<void>;
7169
7166
 
7170
- declare type _UpgradesServerMessages = ServiceGroupUpdateStarting | ServiceGroupUpdateProgress | ServiceGroupUpdateComplete;
7167
+ declare type _UpgradesServerMessages = ServiceGroupUpdateStartingEvent | ServiceGroupUpdateProgressEvent | ServiceGroupUpdateCompleteEvent;
7171
7168
 
7172
7169
  declare type UsageAttributionProfileSource = "call_site" | "conversation" | "active" | "default" | "unknown";
7173
7170
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vellumai/plugin-api",
3
- "version": "0.10.11-dev.202607221933.baa2119",
3
+ "version": "0.10.11-dev.202607222029.495c516",
4
4
  "description": "Public TypeScript authoring contract for Vellum assistant plugins.",
5
5
  "license": "MIT",
6
6
  "type": "module",