@vellumai/plugin-api 0.11.9 → 0.11.10-dev.202609091114.7b6342c

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 +89 -15
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -312,6 +312,18 @@ declare const AssistantConfigSchema: z.ZodObject<{
312
312
  "your-own": "your-own";
313
313
  }>>;
314
314
  }, z.core.$strip>>;
315
+ "stripe-link-oauth": z.ZodDefault<z.ZodObject<{
316
+ mode: z.ZodDefault<z.ZodEnum<{
317
+ managed: "managed";
318
+ "your-own": "your-own";
319
+ }>>;
320
+ }, z.core.$strip>>;
321
+ "figma-oauth": z.ZodDefault<z.ZodObject<{
322
+ mode: z.ZodDefault<z.ZodEnum<{
323
+ managed: "managed";
324
+ "your-own": "your-own";
325
+ }>>;
326
+ }, z.core.$strip>>;
315
327
  "eventbrite-oauth": z.ZodDefault<z.ZodObject<{
316
328
  mode: z.ZodDefault<z.ZodEnum<{
317
329
  managed: "managed";
@@ -330,6 +342,7 @@ declare const AssistantConfigSchema: z.ZodObject<{
330
342
  embeddings: z.ZodDefault<z.ZodObject<{
331
343
  required: z.ZodDefault<z.ZodBoolean>;
332
344
  provider: z.ZodDefault<z.ZodEnum<{
345
+ custom: "custom";
333
346
  openai: "openai";
334
347
  gemini: "gemini";
335
348
  ollama: "ollama";
@@ -351,6 +364,9 @@ declare const AssistantConfigSchema: z.ZodObject<{
351
364
  }>>;
352
365
  geminiDimensions: z.ZodOptional<z.ZodNumber>;
353
366
  ollamaModel: z.ZodDefault<z.ZodString>;
367
+ customModel: z.ZodDefault<z.ZodString>;
368
+ baseUrl: z.ZodOptional<z.ZodString>;
369
+ customDimensions: z.ZodOptional<z.ZodNumber>;
354
370
  }, z.core.$strip>>;
355
371
  qdrant: z.ZodDefault<z.ZodObject<{
356
372
  url: z.ZodDefault<z.ZodString>;
@@ -537,14 +553,11 @@ declare const AssistantConfigSchema: z.ZodObject<{
537
553
  perSeed: z.ZodDefault<z.ZodNumber>;
538
554
  cap: z.ZodDefault<z.ZodNumber>;
539
555
  }, z.core.$strip>>;
540
- spotlight: z.ZodDefault<z.ZodObject<{
541
- n: z.ZodDefault<z.ZodNumber>;
542
- windowTurns: z.ZodDefault<z.ZodNumber>;
543
- }, z.core.$strip>>;
544
556
  needleK: z.ZodDefault<z.ZodNumber>;
545
557
  denseK: z.ZodDefault<z.ZodNumber>;
546
558
  replyQueryK: z.ZodDefault<z.ZodNumber>;
547
559
  spanQueryK: z.ZodDefault<z.ZodNumber>;
560
+ finderSectionsPerPage: z.ZodDefault<z.ZodNumber>;
548
561
  selectorEnabled: z.ZodDefault<z.ZodBoolean>;
549
562
  selectorPromptPath: z.ZodDefault<z.ZodNullable<z.ZodString>>;
550
563
  edge: z.ZodDefault<z.ZodObject<{
@@ -558,6 +571,13 @@ declare const AssistantConfigSchema: z.ZodObject<{
558
571
  idfFloor: z.ZodDefault<z.ZodNumber>;
559
572
  cap: z.ZodDefault<z.ZodNumber>;
560
573
  }, z.core.$strip>>;
574
+ rareTerm: z.ZodDefault<z.ZodObject<{
575
+ enabled: z.ZodDefault<z.ZodBoolean>;
576
+ maxDf: z.ZodDefault<z.ZodNumber>;
577
+ maxDfFraction: z.ZodDefault<z.ZodNumber>;
578
+ perTerm: z.ZodDefault<z.ZodNumber>;
579
+ cap: z.ZodDefault<z.ZodNumber>;
580
+ }, z.core.$strip>>;
561
581
  gate: z.ZodDefault<z.ZodObject<{
562
582
  enabled: z.ZodDefault<z.ZodBoolean>;
563
583
  denseThreshold: z.ZodDefault<z.ZodNumber>;
@@ -705,9 +725,27 @@ declare const AssistantConfigSchema: z.ZodObject<{
705
725
  description: z.ZodOptional<z.ZodString>;
706
726
  provider_connection: z.ZodOptional<z.ZodString>;
707
727
  allowUnlisted: z.ZodOptional<z.ZodBoolean>;
728
+ inputModalities: z.ZodOptional<z.ZodNullable<z.ZodObject<{
729
+ text: z.ZodOptional<z.ZodObject<{
730
+ enabled: z.ZodOptional<z.ZodBoolean>;
731
+ supported: z.ZodOptional<z.ZodBoolean>;
732
+ }, z.core.$strip>>;
733
+ image: z.ZodOptional<z.ZodObject<{
734
+ enabled: z.ZodOptional<z.ZodBoolean>;
735
+ supported: z.ZodOptional<z.ZodBoolean>;
736
+ }, z.core.$strip>>;
737
+ audio: z.ZodOptional<z.ZodObject<{
738
+ enabled: z.ZodOptional<z.ZodBoolean>;
739
+ supported: z.ZodOptional<z.ZodBoolean>;
740
+ }, z.core.$strip>>;
741
+ video: z.ZodOptional<z.ZodObject<{
742
+ enabled: z.ZodOptional<z.ZodBoolean>;
743
+ supported: z.ZodOptional<z.ZodBoolean>;
744
+ }, z.core.$strip>>;
745
+ }, z.core.$strip>>>;
708
746
  status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
709
- active: "active";
710
747
  disabled: "disabled";
748
+ active: "active";
711
749
  }>>>;
712
750
  mix: z.ZodOptional<z.ZodArray<z.ZodObject<{
713
751
  profile: z.ZodString;
@@ -716,7 +754,7 @@ declare const AssistantConfigSchema: z.ZodObject<{
716
754
  fallbackProfile: z.ZodOptional<z.ZodString>;
717
755
  }, z.core.$strip>>>;
718
756
  profileOrder: z.ZodDefault<z.ZodArray<z.ZodString>>;
719
- callSites: z.ZodDefault<z.ZodRecord<z.ZodEnum<{
757
+ callSites: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodRecord<z.ZodEnum<{
720
758
  mainAgent: "mainAgent";
721
759
  subagentSpawn: "subagentSpawn";
722
760
  heartbeatAgent: "heartbeatAgent";
@@ -822,7 +860,7 @@ declare const AssistantConfigSchema: z.ZodObject<{
822
860
  }>>;
823
861
  disableCache: z.ZodOptional<z.ZodBoolean>;
824
862
  profile: z.ZodOptional<z.ZodString>;
825
- }, z.core.$strip>>>;
863
+ }, z.core.$strip>>>>;
826
864
  activeProfile: z.ZodOptional<z.ZodString>;
827
865
  advisorProfile: z.ZodOptional<z.ZodString>;
828
866
  defaultProvider: z.ZodCatch<z.ZodOptional<z.ZodObject<{
@@ -1509,6 +1547,7 @@ declare const AssistantEventEnvelopeSchema: z.ZodObject<{
1509
1547
  delete: "delete";
1510
1548
  create: "create";
1511
1549
  update: "update";
1550
+ merge: "merge";
1512
1551
  }>;
1513
1552
  contactId: z.ZodOptional<z.ZodString>;
1514
1553
  currentDisplayName: z.ZodOptional<z.ZodString>;
@@ -1517,6 +1556,12 @@ declare const AssistantEventEnvelopeSchema: z.ZodObject<{
1517
1556
  type: z.ZodString;
1518
1557
  address: z.ZodString;
1519
1558
  }, z.core.$strip>>>;
1559
+ donorContactId: z.ZodOptional<z.ZodString>;
1560
+ donorDisplayName: z.ZodOptional<z.ZodString>;
1561
+ donorChannels: z.ZodOptional<z.ZodArray<z.ZodObject<{
1562
+ type: z.ZodString;
1563
+ address: z.ZodString;
1564
+ }, z.core.$strip>>>;
1520
1565
  displayName: z.ZodOptional<z.ZodString>;
1521
1566
  notes: z.ZodOptional<z.ZodString>;
1522
1567
  notesProposed: z.ZodOptional<z.ZodBoolean>;
@@ -1532,6 +1577,10 @@ declare const AssistantEventEnvelopeSchema: z.ZodObject<{
1532
1577
  description: z.ZodOptional<z.ZodString>;
1533
1578
  role: z.ZodOptional<z.ZodString>;
1534
1579
  verify: z.ZodOptional<z.ZodBoolean>;
1580
+ contactId: z.ZodOptional<z.ZodString>;
1581
+ contactDisplayName: z.ZodOptional<z.ZodString>;
1582
+ displayName: z.ZodOptional<z.ZodString>;
1583
+ notes: z.ZodOptional<z.ZodString>;
1535
1584
  }, z.core.$strip>, z.ZodObject<{
1536
1585
  type: z.ZodLiteral<"contacts_changed">;
1537
1586
  }, z.core.$strip>, z.ZodObject<{
@@ -2220,8 +2269,8 @@ declare const AssistantEventEnvelopeSchema: z.ZodObject<{
2220
2269
  type: z.ZodLiteral<"skills_state_changed">;
2221
2270
  name: z.ZodString;
2222
2271
  state: z.ZodEnum<{
2223
- enabled: "enabled";
2224
2272
  disabled: "disabled";
2273
+ enabled: "enabled";
2225
2274
  installed: "installed";
2226
2275
  uninstalled: "uninstalled";
2227
2276
  }>;
@@ -2734,6 +2783,8 @@ declare const AssistantEventPublishOptionsSchema: z.ZodObject<{
2734
2783
  host_bash: "host_bash";
2735
2784
  host_file: "host_file";
2736
2785
  host_cu: "host_cu";
2786
+ host_cu_window_capture: "host_cu_window_capture";
2787
+ host_cu_annotate: "host_cu_annotate";
2737
2788
  host_browser: "host_browser";
2738
2789
  host_app_control: "host_app_control";
2739
2790
  host_ui_snapshot: "host_ui_snapshot";
@@ -2748,6 +2799,7 @@ declare const AssistantEventPublishOptionsSchema: z.ZodObject<{
2748
2799
  a2a: "a2a";
2749
2800
  discord: "discord";
2750
2801
  plugin: "plugin";
2802
+ route: "route";
2751
2803
  web: "web";
2752
2804
  ios: "ios";
2753
2805
  macos: "macos";
@@ -2755,7 +2807,6 @@ declare const AssistantEventPublishOptionsSchema: z.ZodObject<{
2755
2807
  linux: "linux";
2756
2808
  cli: "cli";
2757
2809
  "chrome-extension": "chrome-extension";
2758
- route: "route";
2759
2810
  }>>;
2760
2811
  excludeClientId: z.ZodOptional<z.ZodString>;
2761
2812
  }, z.core.$strip>;
@@ -3019,6 +3070,7 @@ declare const AssistantEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3019
3070
  delete: "delete";
3020
3071
  create: "create";
3021
3072
  update: "update";
3073
+ merge: "merge";
3022
3074
  }>;
3023
3075
  contactId: z.ZodOptional<z.ZodString>;
3024
3076
  currentDisplayName: z.ZodOptional<z.ZodString>;
@@ -3027,6 +3079,12 @@ declare const AssistantEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3027
3079
  type: z.ZodString;
3028
3080
  address: z.ZodString;
3029
3081
  }, z.core.$strip>>>;
3082
+ donorContactId: z.ZodOptional<z.ZodString>;
3083
+ donorDisplayName: z.ZodOptional<z.ZodString>;
3084
+ donorChannels: z.ZodOptional<z.ZodArray<z.ZodObject<{
3085
+ type: z.ZodString;
3086
+ address: z.ZodString;
3087
+ }, z.core.$strip>>>;
3030
3088
  displayName: z.ZodOptional<z.ZodString>;
3031
3089
  notes: z.ZodOptional<z.ZodString>;
3032
3090
  notesProposed: z.ZodOptional<z.ZodBoolean>;
@@ -3042,6 +3100,10 @@ declare const AssistantEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3042
3100
  description: z.ZodOptional<z.ZodString>;
3043
3101
  role: z.ZodOptional<z.ZodString>;
3044
3102
  verify: z.ZodOptional<z.ZodBoolean>;
3103
+ contactId: z.ZodOptional<z.ZodString>;
3104
+ contactDisplayName: z.ZodOptional<z.ZodString>;
3105
+ displayName: z.ZodOptional<z.ZodString>;
3106
+ notes: z.ZodOptional<z.ZodString>;
3045
3107
  }, z.core.$strip>, z.ZodObject<{
3046
3108
  type: z.ZodLiteral<"contacts_changed">;
3047
3109
  }, z.core.$strip>, z.ZodObject<{
@@ -3730,8 +3792,8 @@ declare const AssistantEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3730
3792
  type: z.ZodLiteral<"skills_state_changed">;
3731
3793
  name: z.ZodString;
3732
3794
  state: z.ZodEnum<{
3733
- enabled: "enabled";
3734
3795
  disabled: "disabled";
3796
+ enabled: "enabled";
3735
3797
  installed: "installed";
3736
3798
  uninstalled: "uninstalled";
3737
3799
  }>;
@@ -4485,6 +4547,12 @@ declare type ConversationType = ConversationCreateType;
4485
4547
  export declare function createLiveVoiceConnection(options: {
4486
4548
  send: LiveVoiceFrameSender;
4487
4549
  close?: () => void;
4550
+ /**
4551
+ * The guardian the gateway admitted this socket for. Held for the life of
4552
+ * the socket rather than re-read per session, because it is a fact about
4553
+ * the admission and cannot change without a new socket.
4554
+ */
4555
+ guardianPrincipalId?: string;
4488
4556
  }): LiveVoiceConnection;
4489
4557
 
4490
4558
  /**
@@ -4565,8 +4633,12 @@ export declare class CredentialStoreError extends Error {
4565
4633
  export declare function deleteConversation(id: string): Promise<void>;
4566
4634
 
4567
4635
  /**
4568
- * The presence states a desktop client may report. Single runtime source: the
4569
- * stored type and the route's wire enum both derive from this tuple.
4636
+ * The presence states a desktop client may report. Single runtime source for
4637
+ * the daemon's stored type, the client route's wire enum, and the Electron
4638
+ * presence monitor.
4639
+ *
4640
+ * Member order is load-bearing: the route feeds this tuple to `z.enum`, so
4641
+ * reordering rewrites the generated `assistant/openapi.yaml`.
4570
4642
  */
4571
4643
  declare const DESKTOP_PRESENCE_STATES: readonly ["active", "idle", "away"];
4572
4644
 
@@ -4811,7 +4883,7 @@ export declare const HOOKS: {
4811
4883
  * of them, Windows and Linux withhold app control, and chrome-extension
4812
4884
  * supports only host_browser through the Chrome DevTools Protocol proxy.
4813
4885
  */
4814
- declare const HOST_PROXY_CAPABILITIES: readonly ["host_bash", "host_file", "host_cu", "host_browser", "host_app_control", "host_ui_snapshot"];
4886
+ declare const HOST_PROXY_CAPABILITIES: readonly ["host_bash", "host_file", "host_cu", "host_cu_window_capture", "host_cu_annotate", "host_browser", "host_app_control", "host_ui_snapshot"];
4815
4887
 
4816
4888
  declare type HostProxyCapability = (typeof HOST_PROXY_CAPABILITIES)[number];
4817
4889
 
@@ -5493,8 +5565,8 @@ declare const messageMetadataSchema: z.ZodObject<{
5493
5565
  discord: "discord";
5494
5566
  plugin: "plugin";
5495
5567
  }>>;
5496
- userMessageInterface: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"phone" | "telegram" | "whatsapp" | "slack" | "email" | "a2a" | "discord" | "plugin" | "web" | "ios" | "macos" | "windows" | "linux" | "cli" | "chrome-extension" | "route" | null, string>> & z.ZodType<"phone" | "telegram" | "whatsapp" | "slack" | "email" | "a2a" | "discord" | "plugin" | "web" | "ios" | "macos" | "windows" | "linux" | "cli" | "chrome-extension" | "route", string, z.core.$ZodTypeInternals<"phone" | "telegram" | "whatsapp" | "slack" | "email" | "a2a" | "discord" | "plugin" | "web" | "ios" | "macos" | "windows" | "linux" | "cli" | "chrome-extension" | "route", string>>>;
5497
- assistantMessageInterface: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"phone" | "telegram" | "whatsapp" | "slack" | "email" | "a2a" | "discord" | "plugin" | "web" | "ios" | "macos" | "windows" | "linux" | "cli" | "chrome-extension" | "route" | null, string>> & z.ZodType<"phone" | "telegram" | "whatsapp" | "slack" | "email" | "a2a" | "discord" | "plugin" | "web" | "ios" | "macos" | "windows" | "linux" | "cli" | "chrome-extension" | "route", string, z.core.$ZodTypeInternals<"phone" | "telegram" | "whatsapp" | "slack" | "email" | "a2a" | "discord" | "plugin" | "web" | "ios" | "macos" | "windows" | "linux" | "cli" | "chrome-extension" | "route", string>>>;
5568
+ userMessageInterface: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"phone" | "telegram" | "whatsapp" | "slack" | "email" | "a2a" | "discord" | "plugin" | "route" | "web" | "ios" | "macos" | "windows" | "linux" | "cli" | "chrome-extension" | null, string>> & z.ZodType<"phone" | "telegram" | "whatsapp" | "slack" | "email" | "a2a" | "discord" | "plugin" | "route" | "web" | "ios" | "macos" | "windows" | "linux" | "cli" | "chrome-extension", string, z.core.$ZodTypeInternals<"phone" | "telegram" | "whatsapp" | "slack" | "email" | "a2a" | "discord" | "plugin" | "route" | "web" | "ios" | "macos" | "windows" | "linux" | "cli" | "chrome-extension", string>>>;
5569
+ assistantMessageInterface: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"phone" | "telegram" | "whatsapp" | "slack" | "email" | "a2a" | "discord" | "plugin" | "route" | "web" | "ios" | "macos" | "windows" | "linux" | "cli" | "chrome-extension" | null, string>> & z.ZodType<"phone" | "telegram" | "whatsapp" | "slack" | "email" | "a2a" | "discord" | "plugin" | "route" | "web" | "ios" | "macos" | "windows" | "linux" | "cli" | "chrome-extension", string, z.core.$ZodTypeInternals<"phone" | "telegram" | "whatsapp" | "slack" | "email" | "a2a" | "discord" | "plugin" | "route" | "web" | "ios" | "macos" | "windows" | "linux" | "cli" | "chrome-extension", string>>>;
5498
5570
  client: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5499
5571
  clientOsFromRequest: z.ZodOptional<z.ZodBoolean>;
5500
5572
  subagentNotification: z.ZodOptional<z.ZodObject<{
@@ -5561,6 +5633,8 @@ declare const messageMetadataSchema: z.ZodObject<{
5561
5633
  attachmentStoredPaths: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
5562
5634
  memoryInjectedBlock: z.ZodOptional<z.ZodString>;
5563
5635
  memoryV3InjectedBlock: z.ZodOptional<z.ZodString>;
5636
+ memoryV3InjectedBlockFormat: z.ZodOptional<z.ZodNumber>;
5637
+ memoryV3PointerBlock: z.ZodOptional<z.ZodString>;
5564
5638
  memoryV3SpotlightBlock: z.ZodOptional<z.ZodString>;
5565
5639
  turnContextBlock: z.ZodOptional<z.ZodString>;
5566
5640
  pkbSystemReminderBlock: z.ZodOptional<z.ZodString>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vellumai/plugin-api",
3
- "version": "0.11.9",
3
+ "version": "0.11.10-dev.202609091114.7b6342c",
4
4
  "description": "Public TypeScript authoring contract for Vellum assistant plugins.",
5
5
  "license": "MIT",
6
6
  "type": "module",