@vellumai/plugin-api 0.11.10 → 0.11.11-staging.2

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 +42 -20
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -342,6 +342,7 @@ declare const AssistantConfigSchema: z.ZodObject<{
342
342
  embeddings: z.ZodDefault<z.ZodObject<{
343
343
  required: z.ZodDefault<z.ZodBoolean>;
344
344
  provider: z.ZodDefault<z.ZodEnum<{
345
+ custom: "custom";
345
346
  openai: "openai";
346
347
  gemini: "gemini";
347
348
  ollama: "ollama";
@@ -363,6 +364,9 @@ declare const AssistantConfigSchema: z.ZodObject<{
363
364
  }>>;
364
365
  geminiDimensions: z.ZodOptional<z.ZodNumber>;
365
366
  ollamaModel: z.ZodDefault<z.ZodString>;
367
+ customModel: z.ZodDefault<z.ZodString>;
368
+ baseUrl: z.ZodOptional<z.ZodString>;
369
+ customDimensions: z.ZodOptional<z.ZodNumber>;
366
370
  }, z.core.$strip>>;
367
371
  qdrant: z.ZodDefault<z.ZodObject<{
368
372
  url: z.ZodDefault<z.ZodString>;
@@ -721,6 +725,24 @@ declare const AssistantConfigSchema: z.ZodObject<{
721
725
  description: z.ZodOptional<z.ZodString>;
722
726
  provider_connection: z.ZodOptional<z.ZodString>;
723
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>>>;
724
746
  status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
725
747
  disabled: "disabled";
726
748
  active: "active";
@@ -771,6 +793,7 @@ declare const AssistantConfigSchema: z.ZodObject<{
771
793
  vision: "vision";
772
794
  voiceProgressNarration: "voiceProgressNarration";
773
795
  voiceFrontDoor: "voiceFrontDoor";
796
+ voiceContinuationLabel: "voiceContinuationLabel";
774
797
  trustRuleSuggestion: "trustRuleSuggestion";
775
798
  homeGreeting: "homeGreeting";
776
799
  homeSuggestedPrompts: "homeSuggestedPrompts";
@@ -938,17 +961,7 @@ declare const AssistantConfigSchema: z.ZodObject<{
938
961
  url: z.ZodString;
939
962
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
940
963
  }, z.core.$strip>], "type">;
941
- enabled: z.ZodDefault<z.ZodBoolean>;
942
- defaultRiskLevel: z.ZodDefault<z.ZodEnum<{
943
- low: "low";
944
- medium: "medium";
945
- high: "high";
946
- }>>;
947
- maxTools: z.ZodDefault<z.ZodNumber>;
948
- allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
949
- blockedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
950
964
  }, z.core.$strip>>>;
951
- globalMaxTools: z.ZodDefault<z.ZodNumber>;
952
965
  }, z.core.$strip>>;
953
966
  acp: z.ZodDefault<z.ZodObject<{
954
967
  maxConcurrentSessions: z.ZodDefault<z.ZodNumber>;
@@ -1009,6 +1022,7 @@ declare const AssistantConfigSchema: z.ZodObject<{
1009
1022
  enabled: z.ZodDefault<z.ZodBoolean>;
1010
1023
  }, z.core.$strip>>;
1011
1024
  interactiveGitTimeoutMs: z.ZodDefault<z.ZodNumber>;
1025
+ stageBatchSize: z.ZodDefault<z.ZodNumber>;
1012
1026
  enrichmentQueueSize: z.ZodDefault<z.ZodNumber>;
1013
1027
  enrichmentConcurrency: z.ZodDefault<z.ZodNumber>;
1014
1028
  enrichmentJobTimeoutMs: z.ZodDefault<z.ZodNumber>;
@@ -1585,6 +1599,7 @@ declare const AssistantEventEnvelopeSchema: z.ZodObject<{
1585
1599
  type: z.ZodLiteral<"conversation_error">;
1586
1600
  conversationId: z.ZodString;
1587
1601
  code: z.ZodEnum<{
1602
+ UNKNOWN: "UNKNOWN";
1588
1603
  PROVIDER_NETWORK: "PROVIDER_NETWORK";
1589
1604
  PROVIDER_RATE_LIMIT: "PROVIDER_RATE_LIMIT";
1590
1605
  MANAGED_USAGE_LIMIT: "MANAGED_USAGE_LIMIT";
@@ -1603,7 +1618,6 @@ declare const AssistantEventEnvelopeSchema: z.ZodObject<{
1603
1618
  CONVERSATION_ABORTED: "CONVERSATION_ABORTED";
1604
1619
  CONVERSATION_PROCESSING_FAILED: "CONVERSATION_PROCESSING_FAILED";
1605
1620
  DISK_SPACE_CRITICAL: "DISK_SPACE_CRITICAL";
1606
- UNKNOWN: "UNKNOWN";
1607
1621
  }>;
1608
1622
  userMessage: z.ZodString;
1609
1623
  retryable: z.ZodBoolean;
@@ -1624,6 +1638,7 @@ declare const AssistantEventEnvelopeSchema: z.ZodObject<{
1624
1638
  memory_v3: "memory_v3";
1625
1639
  }>;
1626
1640
  code: z.ZodEnum<{
1641
+ UNKNOWN: "UNKNOWN";
1627
1642
  PROVIDER_NETWORK: "PROVIDER_NETWORK";
1628
1643
  PROVIDER_RATE_LIMIT: "PROVIDER_RATE_LIMIT";
1629
1644
  MANAGED_USAGE_LIMIT: "MANAGED_USAGE_LIMIT";
@@ -1642,7 +1657,6 @@ declare const AssistantEventEnvelopeSchema: z.ZodObject<{
1642
1657
  CONVERSATION_ABORTED: "CONVERSATION_ABORTED";
1643
1658
  CONVERSATION_PROCESSING_FAILED: "CONVERSATION_PROCESSING_FAILED";
1644
1659
  DISK_SPACE_CRITICAL: "DISK_SPACE_CRITICAL";
1645
- UNKNOWN: "UNKNOWN";
1646
1660
  }>;
1647
1661
  userMessage: z.ZodString;
1648
1662
  errorCategory: z.ZodOptional<z.ZodString>;
@@ -2783,8 +2797,8 @@ declare const AssistantEventPublishOptionsSchema: z.ZodObject<{
2783
2797
  macos: "macos";
2784
2798
  windows: "windows";
2785
2799
  linux: "linux";
2786
- cli: "cli";
2787
2800
  "chrome-extension": "chrome-extension";
2801
+ cli: "cli";
2788
2802
  }>>;
2789
2803
  excludeClientId: z.ZodOptional<z.ZodString>;
2790
2804
  }, z.core.$strip>;
@@ -3108,6 +3122,7 @@ declare const AssistantEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3108
3122
  type: z.ZodLiteral<"conversation_error">;
3109
3123
  conversationId: z.ZodString;
3110
3124
  code: z.ZodEnum<{
3125
+ UNKNOWN: "UNKNOWN";
3111
3126
  PROVIDER_NETWORK: "PROVIDER_NETWORK";
3112
3127
  PROVIDER_RATE_LIMIT: "PROVIDER_RATE_LIMIT";
3113
3128
  MANAGED_USAGE_LIMIT: "MANAGED_USAGE_LIMIT";
@@ -3126,7 +3141,6 @@ declare const AssistantEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3126
3141
  CONVERSATION_ABORTED: "CONVERSATION_ABORTED";
3127
3142
  CONVERSATION_PROCESSING_FAILED: "CONVERSATION_PROCESSING_FAILED";
3128
3143
  DISK_SPACE_CRITICAL: "DISK_SPACE_CRITICAL";
3129
- UNKNOWN: "UNKNOWN";
3130
3144
  }>;
3131
3145
  userMessage: z.ZodString;
3132
3146
  retryable: z.ZodBoolean;
@@ -3147,6 +3161,7 @@ declare const AssistantEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3147
3161
  memory_v3: "memory_v3";
3148
3162
  }>;
3149
3163
  code: z.ZodEnum<{
3164
+ UNKNOWN: "UNKNOWN";
3150
3165
  PROVIDER_NETWORK: "PROVIDER_NETWORK";
3151
3166
  PROVIDER_RATE_LIMIT: "PROVIDER_RATE_LIMIT";
3152
3167
  MANAGED_USAGE_LIMIT: "MANAGED_USAGE_LIMIT";
@@ -3165,7 +3180,6 @@ declare const AssistantEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3165
3180
  CONVERSATION_ABORTED: "CONVERSATION_ABORTED";
3166
3181
  CONVERSATION_PROCESSING_FAILED: "CONVERSATION_PROCESSING_FAILED";
3167
3182
  DISK_SPACE_CRITICAL: "DISK_SPACE_CRITICAL";
3168
- UNKNOWN: "UNKNOWN";
3169
3183
  }>;
3170
3184
  userMessage: z.ZodString;
3171
3185
  errorCategory: z.ZodOptional<z.ZodString>;
@@ -4857,9 +4871,16 @@ export declare const HOOKS: {
4857
4871
  };
4858
4872
 
4859
4873
  /**
4860
- * Host proxy capabilities that an interface can support. macOS supports all
4861
- * of them, Windows and Linux withhold app control, and chrome-extension
4862
- * supports only host_browser through the Chrome DevTools Protocol proxy.
4874
+ * Which client provides which host capability.
4875
+ *
4876
+ * This is the single source of truth for host routing. `supportsHostProxy` in
4877
+ * `channels/types.ts` answers from this table, and the `assistant clients` help
4878
+ * text renders it so the assistant can tell a user which client unblocks a
4879
+ * task. It lives in the shared leaf zone because the CLI reads it on every
4880
+ * `assistant clients --help`, and the CLI may not hoist daemon-internal
4881
+ * modules into its static import graph.
4882
+ *
4883
+ * Pure data and pure functions only: no imports, no daemon runtime graph.
4863
4884
  */
4864
4885
  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"];
4865
4886
 
@@ -5463,6 +5484,7 @@ declare const LLMCallSiteEnum: z.ZodEnum<{
5463
5484
  vision: "vision";
5464
5485
  voiceProgressNarration: "voiceProgressNarration";
5465
5486
  voiceFrontDoor: "voiceFrontDoor";
5487
+ voiceContinuationLabel: "voiceContinuationLabel";
5466
5488
  trustRuleSuggestion: "trustRuleSuggestion";
5467
5489
  homeGreeting: "homeGreeting";
5468
5490
  homeSuggestedPrompts: "homeSuggestedPrompts";
@@ -5543,8 +5565,8 @@ declare const messageMetadataSchema: z.ZodObject<{
5543
5565
  discord: "discord";
5544
5566
  plugin: "plugin";
5545
5567
  }>>;
5546
- 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>>>;
5547
- 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>>>;
5568
+ userMessageInterface: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"phone" | "telegram" | "whatsapp" | "slack" | "email" | "a2a" | "discord" | "plugin" | "route" | "web" | "ios" | "macos" | "windows" | "linux" | "chrome-extension" | "cli" | null, string>> & z.ZodType<"phone" | "telegram" | "whatsapp" | "slack" | "email" | "a2a" | "discord" | "plugin" | "route" | "web" | "ios" | "macos" | "windows" | "linux" | "chrome-extension" | "cli", string, z.core.$ZodTypeInternals<"phone" | "telegram" | "whatsapp" | "slack" | "email" | "a2a" | "discord" | "plugin" | "route" | "web" | "ios" | "macos" | "windows" | "linux" | "chrome-extension" | "cli", 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" | "chrome-extension" | "cli" | null, string>> & z.ZodType<"phone" | "telegram" | "whatsapp" | "slack" | "email" | "a2a" | "discord" | "plugin" | "route" | "web" | "ios" | "macos" | "windows" | "linux" | "chrome-extension" | "cli", string, z.core.$ZodTypeInternals<"phone" | "telegram" | "whatsapp" | "slack" | "email" | "a2a" | "discord" | "plugin" | "route" | "web" | "ios" | "macos" | "windows" | "linux" | "chrome-extension" | "cli", string>>>;
5548
5570
  client: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5549
5571
  clientOsFromRequest: z.ZodOptional<z.ZodBoolean>;
5550
5572
  subagentNotification: z.ZodOptional<z.ZodObject<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vellumai/plugin-api",
3
- "version": "0.11.10",
3
+ "version": "0.11.11-staging.2",
4
4
  "description": "Public TypeScript authoring contract for Vellum assistant plugins.",
5
5
  "license": "MIT",
6
6
  "type": "module",