@vellumai/plugin-api 0.10.11-dev.202607231141.e03ec0b → 0.10.11-dev.202607231339.c736cb7

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 +51 -116
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -1962,7 +1962,7 @@ declare const CompactionCircuitOpenEventSchema: z.ZodObject<{
1962
1962
  openUntil: z.ZodNumber;
1963
1963
  }, z.core.$strip>;
1964
1964
 
1965
- declare type _ComputerUseServerMessages = RecordingStart | RecordingStop | RecordingPause | RecordingResume;
1965
+ declare type _ComputerUseServerMessages = RecordingStartEvent | RecordingStopEvent | RecordingPauseEvent | RecordingResumeEvent;
1966
1966
 
1967
1967
  /** Sent by the daemon when workspace config.json changes on disk. */
1968
1968
  declare interface ConfigChanged {
@@ -2095,37 +2095,6 @@ declare interface ContactsChanged {
2095
2095
  type: "contacts_changed";
2096
2096
  }
2097
2097
 
2098
- declare interface ContactsInviteResponse {
2099
- type: "contacts_invite_response";
2100
- success: boolean;
2101
- error?: string;
2102
- /** Single invite (returned on create/revoke). Token field is only present on create. */
2103
- invite?: {
2104
- id: string;
2105
- sourceChannel: string;
2106
- token?: string;
2107
- tokenHash: string;
2108
- maxUses: number;
2109
- useCount: number;
2110
- expiresAt: number | null;
2111
- status: string;
2112
- note?: string;
2113
- createdAt: number;
2114
- };
2115
- /** List of invites (returned on list). */
2116
- invites?: Array<{
2117
- id: string;
2118
- sourceChannel: string;
2119
- tokenHash: string;
2120
- maxUses: number;
2121
- useCount: number;
2122
- expiresAt: number | null;
2123
- status: string;
2124
- note?: string;
2125
- createdAt: number;
2126
- }>;
2127
- }
2128
-
2129
2098
  declare interface ContactsResponse {
2130
2099
  type: "contacts_response";
2131
2100
  success: boolean;
@@ -2484,17 +2453,6 @@ declare interface CustomSlimSkill extends SlimSkillBase {
2484
2453
  */
2485
2454
  export declare function deleteConversation(id: string): Promise<void>;
2486
2455
 
2487
- declare type _DiagnosticsServerMessages = EnvVarsResponse | DictationResponse;
2488
-
2489
- declare interface DictationResponse {
2490
- type: "dictation_response";
2491
- text: string;
2492
- mode: "dictation" | "command" | "action";
2493
- actionPlan?: string;
2494
- resolvedProfileId?: string;
2495
- profileSource?: "request" | "app_mapping" | "default" | "fallback";
2496
- }
2497
-
2498
2456
  declare interface DiffInfo {
2499
2457
  filePath: string;
2500
2458
  oldContent: string;
@@ -2707,11 +2665,6 @@ declare type EmbeddingInput = string | MultimodalEmbeddingInput;
2707
2665
  */
2708
2666
  declare type EmbeddingTargetType = Parameters<embedAndUpsert_2>[1];
2709
2667
 
2710
- declare interface EnvVarsResponse {
2711
- type: "env_vars_response";
2712
- vars: Record<string, string>;
2713
- }
2714
-
2715
2668
  declare type ErrorEvent_2 = z.infer<typeof ErrorEventSchema>;
2716
2669
 
2717
2670
  declare const ErrorEventSchema: z.ZodObject<{
@@ -3599,8 +3552,6 @@ declare interface ImageEmbeddingInput {
3599
3552
  mimeType: string;
3600
3553
  }
3601
3554
 
3602
- declare type _InboxServerMessages = ContactsInviteResponse;
3603
-
3604
3555
  declare interface IngressConfigResponse {
3605
3556
  type: "ingress_config_response";
3606
3557
  enabled: boolean;
@@ -4401,37 +4352,18 @@ declare const NavigateSettingsEventSchema: z.ZodObject<{
4401
4352
  tab: z.ZodString;
4402
4353
  }, z.core.$strip>;
4403
4354
 
4404
- /** Server push broadcast when a notification creates a new vellum conversation. */
4405
- declare interface NotificationConversationCreated {
4406
- type: "notification_conversation_created";
4407
- conversationId: string;
4408
- title: string;
4409
- sourceEventName: string;
4410
- /**
4411
- * When set, this conversation was created for a guardian-sensitive notification
4412
- * and should only be surfaced by clients bound to this guardian identity.
4413
- */
4414
- targetGuardianPrincipalId?: string;
4415
- /**
4416
- * Conversation group identifier propagated from the signal producer.
4417
- * Clients use this to place the conversation in the correct sidebar folder
4418
- * (e.g. "system:scheduled" for schedule completion threads).
4419
- */
4420
- groupId?: string;
4421
- /**
4422
- * Semantic source of the conversation (e.g. "schedule", "reminder").
4423
- * Allows clients to override the default "notification" source so the
4424
- * conversation is attributed correctly.
4425
- */
4426
- source?: string;
4427
- /**
4428
- * Mirrors `NotificationIntent.silent`. When true the client must not
4429
- * post a fallback OS banner for this conversation — the sidebar entry
4430
- * still appears, but the always-on inbox is the only surfaced channel.
4431
- * Derived from the originating signal's `attentionHints.urgency`.
4432
- */
4433
- silent?: boolean;
4434
- }
4355
+ declare type NotificationConversationCreatedEvent = z.infer<typeof NotificationConversationCreatedEventSchema>;
4356
+
4357
+ declare const NotificationConversationCreatedEventSchema: z.ZodObject<{
4358
+ type: z.ZodLiteral<"notification_conversation_created">;
4359
+ conversationId: z.ZodString;
4360
+ title: z.ZodString;
4361
+ sourceEventName: z.ZodString;
4362
+ targetGuardianPrincipalId: z.ZodOptional<z.ZodString>;
4363
+ groupId: z.ZodOptional<z.ZodString>;
4364
+ source: z.ZodOptional<z.ZodString>;
4365
+ silent: z.ZodOptional<z.ZodBoolean>;
4366
+ }, z.core.$strip>;
4435
4367
 
4436
4368
  declare type NotificationIntentEvent = z.infer<typeof NotificationIntentEventSchema>;
4437
4369
 
@@ -4446,7 +4378,7 @@ declare const NotificationIntentEventSchema: z.ZodObject<{
4446
4378
  silent: z.ZodOptional<z.ZodBoolean>;
4447
4379
  }, z.core.$strip>;
4448
4380
 
4449
- declare type _NotificationsServerMessages = NotificationIntentEvent | NotificationConversationCreated;
4381
+ declare type _NotificationsServerMessages = NotificationIntentEvent | NotificationConversationCreatedEvent;
4450
4382
 
4451
4383
  declare interface OAuthConnectResultResponse {
4452
4384
  type: "oauth_connect_result";
@@ -5125,43 +5057,46 @@ declare const QuestionRequestEventSchema: z.ZodObject<{
5125
5057
  toolUseId: z.ZodOptional<z.ZodString>;
5126
5058
  }, z.core.$strip>;
5127
5059
 
5128
- /** Recording options shared across standalone and CU recording flows. */
5129
- declare interface RecordingOptions {
5130
- captureScope?: "display" | "window";
5131
- displayId?: string;
5132
- windowId?: number;
5133
- includeAudio?: boolean;
5134
- includeMicrophone?: boolean;
5135
- promptForSource?: boolean;
5136
- }
5060
+ declare type RecordingPauseEvent = z.infer<typeof RecordingPauseEventSchema>;
5137
5061
 
5138
- /** Server → Client: pause the active recording. */
5139
- declare interface RecordingPause {
5140
- type: "recording_pause";
5141
- recordingId: string;
5142
- }
5062
+ declare const RecordingPauseEventSchema: z.ZodObject<{
5063
+ type: z.ZodLiteral<"recording_pause">;
5064
+ recordingId: z.ZodString;
5065
+ }, z.core.$strip>;
5143
5066
 
5144
- /** Server Client: resume a paused recording. */
5145
- declare interface RecordingResume {
5146
- type: "recording_resume";
5147
- recordingId: string;
5148
- }
5067
+ declare type RecordingResumeEvent = z.infer<typeof RecordingResumeEventSchema>;
5149
5068
 
5150
- /** Server → Client: start a recording. */
5151
- declare interface RecordingStart {
5152
- type: "recording_start";
5153
- recordingId: string;
5154
- attachToConversationId?: string;
5155
- options?: RecordingOptions;
5156
- /** Operation token for restart race hardening — stale completions with mismatched tokens are rejected. */
5157
- operationToken?: string;
5158
- }
5069
+ declare const RecordingResumeEventSchema: z.ZodObject<{
5070
+ type: z.ZodLiteral<"recording_resume">;
5071
+ recordingId: z.ZodString;
5072
+ }, z.core.$strip>;
5159
5073
 
5160
- /** Server Client: stop a recording. */
5161
- declare interface RecordingStop {
5162
- type: "recording_stop";
5163
- recordingId: string;
5164
- }
5074
+ declare type RecordingStartEvent = z.infer<typeof RecordingStartEventSchema>;
5075
+
5076
+ declare const RecordingStartEventSchema: z.ZodObject<{
5077
+ type: z.ZodLiteral<"recording_start">;
5078
+ recordingId: z.ZodString;
5079
+ attachToConversationId: z.ZodOptional<z.ZodString>;
5080
+ options: z.ZodOptional<z.ZodObject<{
5081
+ captureScope: z.ZodOptional<z.ZodEnum<{
5082
+ display: "display";
5083
+ window: "window";
5084
+ }>>;
5085
+ displayId: z.ZodOptional<z.ZodString>;
5086
+ windowId: z.ZodOptional<z.ZodNumber>;
5087
+ includeAudio: z.ZodOptional<z.ZodBoolean>;
5088
+ includeMicrophone: z.ZodOptional<z.ZodBoolean>;
5089
+ promptForSource: z.ZodOptional<z.ZodBoolean>;
5090
+ }, z.core.$strip>>;
5091
+ operationToken: z.ZodOptional<z.ZodString>;
5092
+ }, z.core.$strip>;
5093
+
5094
+ declare type RecordingStopEvent = z.infer<typeof RecordingStopEventSchema>;
5095
+
5096
+ declare const RecordingStopEventSchema: z.ZodObject<{
5097
+ type: z.ZodLiteral<"recording_stop">;
5098
+ recordingId: z.ZodString;
5099
+ }, z.core.$strip>;
5165
5100
 
5166
5101
  export declare interface RedactedThinkingContent {
5167
5102
  type: "redacted_thinking";
@@ -5685,7 +5620,7 @@ declare interface SensitiveOutputBinding {
5685
5620
 
5686
5621
  declare type SensitiveOutputKind = "invite_code";
5687
5622
 
5688
- 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;
5623
+ 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 | _NotificationsServerMessages | _UpgradesServerMessages | _AcpServerMessages | _BackgroundToolsServerMessages | _BookmarksServerMessages | _WorkflowsServerMessages | DiskPressureStatusChangedEvent | HookEvent | SubagentEvent;
5689
5624
 
5690
5625
  export declare interface ServerToolUseContent {
5691
5626
  type: "server_tool_use";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vellumai/plugin-api",
3
- "version": "0.10.11-dev.202607231141.e03ec0b",
3
+ "version": "0.10.11-dev.202607231339.c736cb7",
4
4
  "description": "Public TypeScript authoring contract for Vellum assistant plugins.",
5
5
  "license": "MIT",
6
6
  "type": "module",