@vellumai/plugin-api 0.10.8-dev.202607111823.3c66378 → 0.10.8-dev.202607112021.587989c

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 +12 -154
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -304,8 +304,12 @@ declare const AssistantConfigSchema: z.ZodObject<{
304
304
  }>>;
305
305
  }, z.core.$strip>>;
306
306
  stt: z.ZodDefault<z.ZodObject<{
307
- mode: z.ZodDefault<z.ZodLiteral<"your-own">>;
307
+ mode: z.ZodDefault<z.ZodEnum<{
308
+ managed: "managed";
309
+ "your-own": "your-own";
310
+ }>>;
308
311
  provider: z.ZodEnum<{
312
+ vellum: "vellum";
309
313
  deepgram: "deepgram";
310
314
  "google-gemini": "google-gemini";
311
315
  "openai-whisper": "openai-whisper";
@@ -314,8 +318,12 @@ declare const AssistantConfigSchema: z.ZodObject<{
314
318
  providers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
315
319
  }, z.core.$strip>>;
316
320
  tts: z.ZodDefault<z.ZodObject<{
317
- mode: z.ZodDefault<z.ZodLiteral<"your-own">>;
321
+ mode: z.ZodDefault<z.ZodEnum<{
322
+ managed: "managed";
323
+ "your-own": "your-own";
324
+ }>>;
318
325
  provider: z.ZodDefault<z.ZodEnum<{
326
+ vellum: "vellum";
319
327
  deepgram: "deepgram";
320
328
  xai: "xai";
321
329
  elevenlabs: "elevenlabs";
@@ -362,6 +370,7 @@ declare const AssistantConfigSchema: z.ZodObject<{
362
370
  sampleRate: z.ZodDefault<z.ZodNumber>;
363
371
  bitRate: z.ZodDefault<z.ZodNumber>;
364
372
  }, z.core.$strip>>;
373
+ vellum: z.ZodDefault<z.ZodObject<{}, z.core.$strip>>;
365
374
  }, z.core.$strip>>;
366
375
  }, z.core.$strip>>;
367
376
  "google-oauth": z.ZodDefault<z.ZodObject<{
@@ -5174,7 +5183,7 @@ declare interface SensitiveOutputBinding {
5174
5183
 
5175
5184
  declare type SensitiveOutputKind = "invite_code";
5176
5185
 
5177
- declare type ServerMessage = _ConversationsServerMessages | _MessagesServerMessages | _SurfacesServerMessages | _SkillsServerMessages | _AppsServerMessages | _IntegrationsServerMessages | _ComputerUseServerMessages | _ContactsServerMessages | _WorkItemsServerMessages | _SubagentsServerMessages | _DocumentsServerMessages | _DocumentCommentsServerMessages | _GuardianActionsServerMessages | _SyncInvalidationServerMessages | _HomeServerMessages | _HostAppControlServerMessages | _HostBashServerMessages | _HostBrowserServerMessages | _HostCuServerMessages | _HostFileServerMessages | _HostTransferServerMessages | _HostUiSnapshotServerMessages | _MemoryServerMessages | _WorkspaceServerMessages | _SchedulesServerMessages | _SettingsServerMessages | _DiagnosticsServerMessages | _InboxServerMessages | _NotificationsServerMessages | _UpgradesServerMessages | _AcpServerMessages | _BackgroundToolsServerMessages | _BookmarksServerMessages | _WorkflowsServerMessages | DiskPressureStatusChangedEvent | HookEvent | SubagentEvent;
5186
+ declare type ServerMessage = _ConversationsServerMessages | _MessagesServerMessages | _SurfacesServerMessages | _SkillsServerMessages | _AppsServerMessages | _IntegrationsServerMessages | _ComputerUseServerMessages | _ContactsServerMessages | _SubagentsServerMessages | _DocumentsServerMessages | _DocumentCommentsServerMessages | _GuardianActionsServerMessages | _SyncInvalidationServerMessages | _HomeServerMessages | _HostAppControlServerMessages | _HostBashServerMessages | _HostBrowserServerMessages | _HostCuServerMessages | _HostFileServerMessages | _HostTransferServerMessages | _HostUiSnapshotServerMessages | _MemoryServerMessages | _WorkspaceServerMessages | _SchedulesServerMessages | _SettingsServerMessages | _DiagnosticsServerMessages | _InboxServerMessages | _NotificationsServerMessages | _UpgradesServerMessages | _AcpServerMessages | _BackgroundToolsServerMessages | _BookmarksServerMessages | _WorkflowsServerMessages | DiskPressureStatusChangedEvent | HookEvent | SubagentEvent;
5178
5187
 
5179
5188
  export declare interface ServerToolUseContent {
5180
5189
  type: "server_tool_use";
@@ -5644,19 +5653,6 @@ declare interface TableSurfaceData {
5644
5653
  caption?: string;
5645
5654
  }
5646
5655
 
5647
- /** Server push — broadcast when a task run creates a conversation. */
5648
- declare interface TaskRunConversationCreated {
5649
- type: "task_run_conversation_created";
5650
- conversationId: string;
5651
- workItemId: string;
5652
- title: string;
5653
- }
5654
-
5655
- /** Server push — lightweight invalidation signal: the task queue has been mutated, refetch your list. */
5656
- declare interface TasksChanged {
5657
- type: "tasks_changed";
5658
- }
5659
-
5660
5656
  declare interface TelegramConfigResponse {
5661
5657
  type: "telegram_config_response";
5662
5658
  success: boolean;
@@ -6851,144 +6847,6 @@ declare interface WorkflowStarted {
6851
6847
  label?: string;
6852
6848
  }
6853
6849
 
6854
- declare interface WorkItemApprovePermissionsResponse {
6855
- type: "work_item_approve_permissions_response";
6856
- id: string;
6857
- success: boolean;
6858
- error?: string;
6859
- }
6860
-
6861
- declare interface WorkItemCancelResponse {
6862
- type: "work_item_cancel_response";
6863
- id: string;
6864
- success: boolean;
6865
- error?: string;
6866
- }
6867
-
6868
- declare interface WorkItemDeleteResponse {
6869
- type: "work_item_delete_response";
6870
- id: string;
6871
- success: boolean;
6872
- }
6873
-
6874
- declare interface WorkItemGetResponse {
6875
- type: "work_item_get_response";
6876
- item: {
6877
- id: string;
6878
- taskId: string;
6879
- title: string;
6880
- notes: string | null;
6881
- status: string;
6882
- priorityTier: number;
6883
- sortIndex: number | null;
6884
- lastRunId: string | null;
6885
- lastRunConversationId: string | null;
6886
- lastRunStatus: string | null;
6887
- sourceType: string | null;
6888
- sourceId: string | null;
6889
- createdAt: number;
6890
- updatedAt: number;
6891
- } | null;
6892
- }
6893
-
6894
- declare interface WorkItemOutputResponse {
6895
- type: "work_item_output_response";
6896
- id: string;
6897
- success: boolean;
6898
- error?: string;
6899
- output?: {
6900
- title: string;
6901
- status: string;
6902
- runId: string | null;
6903
- conversationId: string | null;
6904
- completedAt: number | null;
6905
- summary: string;
6906
- highlights: string[];
6907
- };
6908
- }
6909
-
6910
- declare interface WorkItemPreflightResponse {
6911
- type: "work_item_preflight_response";
6912
- id: string;
6913
- success: boolean;
6914
- error?: string;
6915
- permissions?: {
6916
- tool: string;
6917
- description: string;
6918
- riskLevel: "low" | "medium" | "high";
6919
- currentDecision: "allow" | "deny" | "prompt";
6920
- }[];
6921
- }
6922
-
6923
- declare type WorkItemRunTaskErrorCode = "not_found" | "already_running" | "invalid_status" | "no_task" | "permission_required";
6924
-
6925
- declare interface WorkItemRunTaskResponse {
6926
- type: "work_item_run_task_response";
6927
- id: string;
6928
- lastRunId: string;
6929
- success: boolean;
6930
- error?: string;
6931
- /** Structured error code so the client can deterministically re-enable buttons or show contextual UI. */
6932
- errorCode?: WorkItemRunTaskErrorCode;
6933
- }
6934
-
6935
- declare interface WorkItemsListResponse {
6936
- type: "work_items_list_response";
6937
- items: Array<{
6938
- id: string;
6939
- taskId: string;
6940
- title: string;
6941
- notes: string | null;
6942
- status: string;
6943
- priorityTier: number;
6944
- sortIndex: number | null;
6945
- lastRunId: string | null;
6946
- lastRunConversationId: string | null;
6947
- lastRunStatus: string | null;
6948
- sourceType: string | null;
6949
- sourceId: string | null;
6950
- createdAt: number;
6951
- updatedAt: number;
6952
- }>;
6953
- }
6954
-
6955
- declare type _WorkItemsServerMessages = WorkItemsListResponse | WorkItemGetResponse | WorkItemUpdateResponse | WorkItemDeleteResponse | WorkItemRunTaskResponse | WorkItemOutputResponse | WorkItemPreflightResponse | WorkItemApprovePermissionsResponse | WorkItemCancelResponse | WorkItemStatusChanged | TaskRunConversationCreated | TasksChanged;
6956
-
6957
- /** Server push — broadcast when a work item status changes (e.g. running -> awaiting_review). */
6958
- declare interface WorkItemStatusChanged {
6959
- type: "work_item_status_changed";
6960
- item: {
6961
- id: string;
6962
- taskId: string;
6963
- title: string;
6964
- status: string;
6965
- lastRunId: string | null;
6966
- lastRunConversationId: string | null;
6967
- lastRunStatus: string | null;
6968
- updatedAt: number;
6969
- };
6970
- }
6971
-
6972
- declare interface WorkItemUpdateResponse {
6973
- type: "work_item_update_response";
6974
- item: {
6975
- id: string;
6976
- taskId: string;
6977
- title: string;
6978
- notes: string | null;
6979
- status: string;
6980
- priorityTier: number;
6981
- sortIndex: number | null;
6982
- lastRunId: string | null;
6983
- lastRunConversationId: string | null;
6984
- lastRunStatus: string | null;
6985
- sourceType: string | null;
6986
- sourceId: string | null;
6987
- createdAt: number;
6988
- updatedAt: number;
6989
- } | null;
6990
- }
6991
-
6992
6850
  declare interface WorkResultDiff {
6993
6851
  label?: string;
6994
6852
  before?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vellumai/plugin-api",
3
- "version": "0.10.8-dev.202607111823.3c66378",
3
+ "version": "0.10.8-dev.202607112021.587989c",
4
4
  "description": "Public TypeScript authoring contract for Vellum assistant plugins.",
5
5
  "license": "MIT",
6
6
  "type": "module",