@vellumai/plugin-api 0.10.3-dev.202606301500.9739193 → 0.10.3-dev.202606301652.d5f066a

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 -3
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -531,6 +531,27 @@ declare const AvatarUpdatedEventSchema: z.ZodObject<{
531
531
  avatarPath: z.ZodString;
532
532
  }, z.core.$strip>;
533
533
 
534
+ declare interface BackgroundToolCompleted {
535
+ type: "background_tool_completed";
536
+ id: string;
537
+ conversationId: string;
538
+ status: "completed" | "failed" | "cancelled";
539
+ exitCode?: number | null;
540
+ output?: string;
541
+ completedAt: number;
542
+ }
543
+
544
+ declare type _BackgroundToolsServerMessages = BackgroundToolStarted | BackgroundToolCompleted;
545
+
546
+ declare interface BackgroundToolStarted {
547
+ type: "background_tool_started";
548
+ id: string;
549
+ toolName: string;
550
+ conversationId: string;
551
+ command: string;
552
+ startedAt: number;
553
+ }
554
+
534
555
  declare interface BaseSubscriberEntry {
535
556
  filter: AssistantEventFilter;
536
557
  callback: AssistantEventCallback;
@@ -1009,7 +1030,6 @@ declare const ConversationErrorEventSchema: z.ZodObject<{
1009
1030
  CONVERSATION_ABORTED: "CONVERSATION_ABORTED";
1010
1031
  CONVERSATION_PROCESSING_FAILED: "CONVERSATION_PROCESSING_FAILED";
1011
1032
  DISK_SPACE_CRITICAL: "DISK_SPACE_CRITICAL";
1012
- REGENERATE_FAILED: "REGENERATE_FAILED";
1013
1033
  UNKNOWN: "UNKNOWN";
1014
1034
  }>;
1015
1035
  userMessage: z.ZodString;
@@ -1120,7 +1140,6 @@ declare const ConversationNoticeEventSchema: z.ZodObject<{
1120
1140
  CONVERSATION_ABORTED: "CONVERSATION_ABORTED";
1121
1141
  CONVERSATION_PROCESSING_FAILED: "CONVERSATION_PROCESSING_FAILED";
1122
1142
  DISK_SPACE_CRITICAL: "DISK_SPACE_CRITICAL";
1123
- REGENERATE_FAILED: "REGENERATE_FAILED";
1124
1143
  UNKNOWN: "UNKNOWN";
1125
1144
  }>;
1126
1145
  userMessage: z.ZodString;
@@ -3571,7 +3590,7 @@ declare interface SensitiveOutputBinding {
3571
3590
 
3572
3591
  declare type SensitiveOutputKind = "invite_code";
3573
3592
 
3574
- declare type ServerMessage = _ConversationsServerMessages | _MessagesServerMessages | _SurfacesServerMessages | _SkillsServerMessages | _AppsServerMessages | _IntegrationsServerMessages | _ComputerUseServerMessages | _ContactsServerMessages | _WorkItemsServerMessages | _SubagentsServerMessages | _DocumentsServerMessages | _DocumentCommentsServerMessages | _GuardianActionsServerMessages | _SyncInvalidationServerMessages | _HomeServerMessages | _HostAppControlServerMessages | _HostBashServerMessages | _HostBrowserServerMessages | _HostCuServerMessages | _HostFileServerMessages | _HostTransferServerMessages | _MeetServerMessages | _MemoryServerMessages | _WorkspaceServerMessages | _SchedulesServerMessages | _SettingsServerMessages | _DiagnosticsServerMessages | _InboxServerMessages | _NotificationsServerMessages | _UpgradesServerMessages | _AcpServerMessages | _BookmarksServerMessages | _WorkflowsServerMessages | DiskPressureStatusChangedEvent | SubagentEvent;
3593
+ declare type ServerMessage = _ConversationsServerMessages | _MessagesServerMessages | _SurfacesServerMessages | _SkillsServerMessages | _AppsServerMessages | _IntegrationsServerMessages | _ComputerUseServerMessages | _ContactsServerMessages | _WorkItemsServerMessages | _SubagentsServerMessages | _DocumentsServerMessages | _DocumentCommentsServerMessages | _GuardianActionsServerMessages | _SyncInvalidationServerMessages | _HomeServerMessages | _HostAppControlServerMessages | _HostBashServerMessages | _HostBrowserServerMessages | _HostCuServerMessages | _HostFileServerMessages | _HostTransferServerMessages | _MeetServerMessages | _MemoryServerMessages | _WorkspaceServerMessages | _SchedulesServerMessages | _SettingsServerMessages | _DiagnosticsServerMessages | _InboxServerMessages | _NotificationsServerMessages | _UpgradesServerMessages | _AcpServerMessages | _BackgroundToolsServerMessages | _BookmarksServerMessages | _WorkflowsServerMessages | DiskPressureStatusChangedEvent | SubagentEvent;
3575
3594
 
3576
3595
  export declare interface ServerToolUseContent {
3577
3596
  type: "server_tool_use";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vellumai/plugin-api",
3
- "version": "0.10.3-dev.202606301500.9739193",
3
+ "version": "0.10.3-dev.202606301652.d5f066a",
4
4
  "description": "Public TypeScript authoring contract for Vellum assistant plugins.",
5
5
  "license": "MIT",
6
6
  "type": "module",