@vellumai/plugin-api 0.12.2-dev.202609181713.fb1ff61 → 0.12.2-dev.202609181819.66f51a7

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 +127 -8
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -1135,7 +1135,6 @@ declare const AssistantConfigSchema: z.ZodObject<{
1135
1135
  }, z.core.$strip>>;
1136
1136
  whatsapp: z.ZodDefault<z.ZodObject<{
1137
1137
  phoneNumber: z.ZodDefault<z.ZodString>;
1138
- deliverAuthBypass: z.ZodDefault<z.ZodBoolean>;
1139
1138
  timeoutMs: z.ZodDefault<z.ZodNumber>;
1140
1139
  maxRetries: z.ZodDefault<z.ZodNumber>;
1141
1140
  initialBackoffMs: z.ZodDefault<z.ZodNumber>;
@@ -1145,13 +1144,11 @@ declare const AssistantConfigSchema: z.ZodObject<{
1145
1144
  botUsername: z.ZodDefault<z.ZodString>;
1146
1145
  apiBaseUrl: z.ZodDefault<z.ZodString>;
1147
1146
  registeredWebhookUrl: z.ZodOptional<z.ZodString>;
1148
- deliverAuthBypass: z.ZodDefault<z.ZodBoolean>;
1149
1147
  timeoutMs: z.ZodDefault<z.ZodNumber>;
1150
1148
  maxRetries: z.ZodDefault<z.ZodNumber>;
1151
1149
  initialBackoffMs: z.ZodDefault<z.ZodNumber>;
1152
1150
  }, z.core.$strip>>;
1153
1151
  slack: z.ZodDefault<z.ZodObject<{
1154
- deliverAuthBypass: z.ZodDefault<z.ZodBoolean>;
1155
1152
  teamId: z.ZodDefault<z.ZodString>;
1156
1153
  teamName: z.ZodDefault<z.ZodString>;
1157
1154
  teamUrl: z.ZodDefault<z.ZodString>;
@@ -1411,6 +1408,15 @@ declare const AssistantEventEnvelopeSchema: z.ZodObject<{
1411
1408
  type: z.ZodLiteral<"assistant_turn_start">;
1412
1409
  messageId: z.ZodString;
1413
1410
  conversationId: z.ZodOptional<z.ZodString>;
1411
+ modeSession: z.ZodOptional<z.ZodObject<{
1412
+ mode: z.ZodEnum<{
1413
+ computer_use: "computer_use";
1414
+ browser: "browser";
1415
+ live_vision: "live_vision";
1416
+ ambient: "ambient";
1417
+ }>;
1418
+ id: z.ZodString;
1419
+ }, z.core.$strip>>;
1414
1420
  }, z.core.$strip>, z.ZodObject<{
1415
1421
  type: z.ZodLiteral<"avatar_updated">;
1416
1422
  avatarPath: z.ZodString;
@@ -1759,6 +1765,15 @@ declare const AssistantEventEnvelopeSchema: z.ZodObject<{
1759
1765
  requestId: z.ZodOptional<z.ZodString>;
1760
1766
  queuedCount: z.ZodNumber;
1761
1767
  messageId: z.ZodOptional<z.ZodString>;
1768
+ modeSession: z.ZodOptional<z.ZodObject<{
1769
+ mode: z.ZodEnum<{
1770
+ computer_use: "computer_use";
1771
+ browser: "browser";
1772
+ live_vision: "live_vision";
1773
+ ambient: "ambient";
1774
+ }>;
1775
+ id: z.ZodString;
1776
+ }, z.core.$strip>>;
1762
1777
  attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
1763
1778
  id: z.ZodOptional<z.ZodString>;
1764
1779
  filename: z.ZodString;
@@ -2036,6 +2051,15 @@ declare const AssistantEventEnvelopeSchema: z.ZodObject<{
2036
2051
  type: z.ZodLiteral<"message_complete">;
2037
2052
  messageId: z.ZodOptional<z.ZodString>;
2038
2053
  conversationId: z.ZodOptional<z.ZodString>;
2054
+ modeSession: z.ZodOptional<z.ZodObject<{
2055
+ mode: z.ZodEnum<{
2056
+ computer_use: "computer_use";
2057
+ browser: "browser";
2058
+ live_vision: "live_vision";
2059
+ ambient: "ambient";
2060
+ }>;
2061
+ id: z.ZodString;
2062
+ }, z.core.$strip>>;
2039
2063
  source: z.ZodOptional<z.ZodEnum<{
2040
2064
  main: "main";
2041
2065
  aux: "aux";
@@ -2311,10 +2335,10 @@ declare const AssistantEventEnvelopeSchema: z.ZodObject<{
2311
2335
  pending: "pending";
2312
2336
  completed: "completed";
2313
2337
  failed: "failed";
2338
+ interrupted: "interrupted";
2314
2339
  running: "running";
2315
2340
  awaiting_input: "awaiting_input";
2316
2341
  aborted: "aborted";
2317
- interrupted: "interrupted";
2318
2342
  }>;
2319
2343
  error: z.ZodOptional<z.ZodString>;
2320
2344
  usage: z.ZodOptional<z.ZodObject<{
@@ -2365,6 +2389,15 @@ declare const AssistantEventEnvelopeSchema: z.ZodObject<{
2365
2389
  imageDataList: z.ZodOptional<z.ZodArray<z.ZodString>>;
2366
2390
  toolUseId: z.ZodOptional<z.ZodString>;
2367
2391
  messageId: z.ZodOptional<z.ZodString>;
2392
+ modeSession: z.ZodOptional<z.ZodObject<{
2393
+ mode: z.ZodEnum<{
2394
+ computer_use: "computer_use";
2395
+ browser: "browser";
2396
+ live_vision: "live_vision";
2397
+ ambient: "ambient";
2398
+ }>;
2399
+ id: z.ZodString;
2400
+ }, z.core.$strip>>;
2368
2401
  riskLevel: z.ZodOptional<z.ZodString>;
2369
2402
  riskReason: z.ZodOptional<z.ZodString>;
2370
2403
  matchedTrustRuleId: z.ZodOptional<z.ZodString>;
@@ -2479,6 +2512,15 @@ declare const AssistantEventEnvelopeSchema: z.ZodObject<{
2479
2512
  toolUseId: z.ZodOptional<z.ZodString>;
2480
2513
  messageId: z.ZodOptional<z.ZodString>;
2481
2514
  conversationId: z.ZodOptional<z.ZodString>;
2515
+ modeSession: z.ZodOptional<z.ZodObject<{
2516
+ mode: z.ZodEnum<{
2517
+ computer_use: "computer_use";
2518
+ browser: "browser";
2519
+ live_vision: "live_vision";
2520
+ ambient: "ambient";
2521
+ }>;
2522
+ id: z.ZodString;
2523
+ }, z.core.$strip>>;
2482
2524
  startedAt: z.ZodOptional<z.ZodNumber>;
2483
2525
  previewStartedAt: z.ZodOptional<z.ZodNumber>;
2484
2526
  }, z.core.$strip>, z.ZodObject<{
@@ -2560,6 +2602,15 @@ declare const AssistantEventEnvelopeSchema: z.ZodObject<{
2560
2602
  requestId: z.ZodOptional<z.ZodString>;
2561
2603
  clientMessageId: z.ZodOptional<z.ZodString>;
2562
2604
  cameraFrame: z.ZodOptional<z.ZodLiteral<true>>;
2605
+ modeSession: z.ZodOptional<z.ZodObject<{
2606
+ mode: z.ZodEnum<{
2607
+ computer_use: "computer_use";
2608
+ browser: "browser";
2609
+ live_vision: "live_vision";
2610
+ ambient: "ambient";
2611
+ }>;
2612
+ id: z.ZodString;
2613
+ }, z.core.$strip>>;
2563
2614
  }, z.core.$strict>, z.ZodObject<{
2564
2615
  type: z.ZodLiteral<"watch_retro_completed">;
2565
2616
  sessionId: z.ZodString;
@@ -2572,9 +2623,9 @@ declare const AssistantEventEnvelopeSchema: z.ZodObject<{
2572
2623
  status: z.ZodEnum<{
2573
2624
  completed: "completed";
2574
2625
  failed: "failed";
2626
+ interrupted: "interrupted";
2575
2627
  running: "running";
2576
2628
  aborted: "aborted";
2577
- interrupted: "interrupted";
2578
2629
  cap_exceeded: "cap_exceeded";
2579
2630
  }>;
2580
2631
  agentsSpawned: z.ZodNumber;
@@ -2961,6 +3012,15 @@ declare const AssistantEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2961
3012
  type: z.ZodLiteral<"assistant_turn_start">;
2962
3013
  messageId: z.ZodString;
2963
3014
  conversationId: z.ZodOptional<z.ZodString>;
3015
+ modeSession: z.ZodOptional<z.ZodObject<{
3016
+ mode: z.ZodEnum<{
3017
+ computer_use: "computer_use";
3018
+ browser: "browser";
3019
+ live_vision: "live_vision";
3020
+ ambient: "ambient";
3021
+ }>;
3022
+ id: z.ZodString;
3023
+ }, z.core.$strip>>;
2964
3024
  }, z.core.$strip>, z.ZodObject<{
2965
3025
  type: z.ZodLiteral<"avatar_updated">;
2966
3026
  avatarPath: z.ZodString;
@@ -3309,6 +3369,15 @@ declare const AssistantEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3309
3369
  requestId: z.ZodOptional<z.ZodString>;
3310
3370
  queuedCount: z.ZodNumber;
3311
3371
  messageId: z.ZodOptional<z.ZodString>;
3372
+ modeSession: z.ZodOptional<z.ZodObject<{
3373
+ mode: z.ZodEnum<{
3374
+ computer_use: "computer_use";
3375
+ browser: "browser";
3376
+ live_vision: "live_vision";
3377
+ ambient: "ambient";
3378
+ }>;
3379
+ id: z.ZodString;
3380
+ }, z.core.$strip>>;
3312
3381
  attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
3313
3382
  id: z.ZodOptional<z.ZodString>;
3314
3383
  filename: z.ZodString;
@@ -3586,6 +3655,15 @@ declare const AssistantEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3586
3655
  type: z.ZodLiteral<"message_complete">;
3587
3656
  messageId: z.ZodOptional<z.ZodString>;
3588
3657
  conversationId: z.ZodOptional<z.ZodString>;
3658
+ modeSession: z.ZodOptional<z.ZodObject<{
3659
+ mode: z.ZodEnum<{
3660
+ computer_use: "computer_use";
3661
+ browser: "browser";
3662
+ live_vision: "live_vision";
3663
+ ambient: "ambient";
3664
+ }>;
3665
+ id: z.ZodString;
3666
+ }, z.core.$strip>>;
3589
3667
  source: z.ZodOptional<z.ZodEnum<{
3590
3668
  main: "main";
3591
3669
  aux: "aux";
@@ -3861,10 +3939,10 @@ declare const AssistantEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3861
3939
  pending: "pending";
3862
3940
  completed: "completed";
3863
3941
  failed: "failed";
3942
+ interrupted: "interrupted";
3864
3943
  running: "running";
3865
3944
  awaiting_input: "awaiting_input";
3866
3945
  aborted: "aborted";
3867
- interrupted: "interrupted";
3868
3946
  }>;
3869
3947
  error: z.ZodOptional<z.ZodString>;
3870
3948
  usage: z.ZodOptional<z.ZodObject<{
@@ -3915,6 +3993,15 @@ declare const AssistantEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3915
3993
  imageDataList: z.ZodOptional<z.ZodArray<z.ZodString>>;
3916
3994
  toolUseId: z.ZodOptional<z.ZodString>;
3917
3995
  messageId: z.ZodOptional<z.ZodString>;
3996
+ modeSession: z.ZodOptional<z.ZodObject<{
3997
+ mode: z.ZodEnum<{
3998
+ computer_use: "computer_use";
3999
+ browser: "browser";
4000
+ live_vision: "live_vision";
4001
+ ambient: "ambient";
4002
+ }>;
4003
+ id: z.ZodString;
4004
+ }, z.core.$strip>>;
3918
4005
  riskLevel: z.ZodOptional<z.ZodString>;
3919
4006
  riskReason: z.ZodOptional<z.ZodString>;
3920
4007
  matchedTrustRuleId: z.ZodOptional<z.ZodString>;
@@ -4029,6 +4116,15 @@ declare const AssistantEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4029
4116
  toolUseId: z.ZodOptional<z.ZodString>;
4030
4117
  messageId: z.ZodOptional<z.ZodString>;
4031
4118
  conversationId: z.ZodOptional<z.ZodString>;
4119
+ modeSession: z.ZodOptional<z.ZodObject<{
4120
+ mode: z.ZodEnum<{
4121
+ computer_use: "computer_use";
4122
+ browser: "browser";
4123
+ live_vision: "live_vision";
4124
+ ambient: "ambient";
4125
+ }>;
4126
+ id: z.ZodString;
4127
+ }, z.core.$strip>>;
4032
4128
  startedAt: z.ZodOptional<z.ZodNumber>;
4033
4129
  previewStartedAt: z.ZodOptional<z.ZodNumber>;
4034
4130
  }, z.core.$strip>, z.ZodObject<{
@@ -4110,6 +4206,15 @@ declare const AssistantEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4110
4206
  requestId: z.ZodOptional<z.ZodString>;
4111
4207
  clientMessageId: z.ZodOptional<z.ZodString>;
4112
4208
  cameraFrame: z.ZodOptional<z.ZodLiteral<true>>;
4209
+ modeSession: z.ZodOptional<z.ZodObject<{
4210
+ mode: z.ZodEnum<{
4211
+ computer_use: "computer_use";
4212
+ browser: "browser";
4213
+ live_vision: "live_vision";
4214
+ ambient: "ambient";
4215
+ }>;
4216
+ id: z.ZodString;
4217
+ }, z.core.$strip>>;
4113
4218
  }, z.core.$strict>, z.ZodObject<{
4114
4219
  type: z.ZodLiteral<"watch_retro_completed">;
4115
4220
  sessionId: z.ZodString;
@@ -4122,9 +4227,9 @@ declare const AssistantEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4122
4227
  status: z.ZodEnum<{
4123
4228
  completed: "completed";
4124
4229
  failed: "failed";
4230
+ interrupted: "interrupted";
4125
4231
  running: "running";
4126
4232
  aborted: "aborted";
4127
- interrupted: "interrupted";
4128
4233
  cap_exceeded: "cap_exceeded";
4129
4234
  }>;
4130
4235
  agentsSpawned: z.ZodNumber;
@@ -5468,6 +5573,8 @@ declare interface LiveVoiceReadyServerFrame extends LiveVoiceServerFrameBase {
5468
5573
  * every typed turn with an `unknown_type` error.
5469
5574
  */
5470
5575
  readonly textInput?: boolean;
5576
+ /** Whether this session accepts camera lifecycle epochs. */
5577
+ readonly sightSessions?: boolean;
5471
5578
  /**
5472
5579
  * Whether the session's speech-to-text leg is live. Absent means yes, which
5473
5580
  * is the only thing an older daemon can have meant: it rejects a session it
@@ -5738,6 +5845,18 @@ declare type MessageMetadata = ReturnType<parseMessageMetadata_2>;
5738
5845
  declare type MessageMetadata_2 = z.infer<typeof messageMetadataSchema>;
5739
5846
 
5740
5847
  declare const messageMetadataSchema: z.ZodObject<{
5848
+ modeSession: z.ZodPipe<z.ZodTransform<{
5849
+ mode: "computer_use" | "browser" | "live_vision" | "ambient";
5850
+ id: string;
5851
+ } | undefined, unknown>, z.ZodOptional<z.ZodObject<{
5852
+ mode: z.ZodEnum<{
5853
+ computer_use: "computer_use";
5854
+ browser: "browser";
5855
+ live_vision: "live_vision";
5856
+ ambient: "ambient";
5857
+ }>;
5858
+ id: z.ZodString;
5859
+ }, z.core.$strip>>>;
5741
5860
  sentAt: z.ZodOptional<z.ZodNumber>;
5742
5861
  userMessageChannel: z.ZodOptional<z.ZodEnum<{
5743
5862
  phone: "phone";
@@ -8385,7 +8504,7 @@ export declare interface VideoEmbeddingInput {
8385
8504
  */
8386
8505
  export declare const VOICE_ESCALATION_CONTINUATION_MESSAGE_KIND = "voice_escalation_continuation";
8387
8506
 
8388
- declare type VoiceEscalationProfileSource = "conversation" | "turn_override" | "image_compatibility" | "pre_model_hook" | "call_site";
8507
+ declare type VoiceEscalationProfileSource = "conversation" | "turn_override" | "pre_model_hook" | "call_site";
8389
8508
 
8390
8509
  declare interface WebFetchMetadata {
8391
8510
  url: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vellumai/plugin-api",
3
- "version": "0.12.2-dev.202609181713.fb1ff61",
3
+ "version": "0.12.2-dev.202609181819.66f51a7",
4
4
  "description": "Public TypeScript authoring contract for Vellum assistant plugins.",
5
5
  "license": "MIT",
6
6
  "type": "module",