@vellumai/plugin-api 0.11.3-dev.202608102215.87736ca → 0.11.3-dev.202608110026.ef1568c

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 +13 -53
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -594,24 +594,7 @@ declare const AssistantConfigSchema: z.ZodObject<{
594
594
  }, z.core.$strip>>;
595
595
  llm: z.ZodDefault<z.ZodObject<{
596
596
  profiles: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
597
- provider: z.ZodOptional<z.ZodEnum<{
598
- openai: "openai";
599
- anthropic: "anthropic";
600
- gemini: "gemini";
601
- fireworks: "fireworks";
602
- together: "together";
603
- poolside: "poolside";
604
- openrouter: "openrouter";
605
- "vercel-ai-gateway": "vercel-ai-gateway";
606
- ollama: "ollama";
607
- "openai-compatible": "openai-compatible";
608
- litellm: "litellm";
609
- minimax: "minimax";
610
- atlascloud: "atlascloud";
611
- baseten: "baseten";
612
- vellum: "vellum";
613
- chatgpt: "chatgpt";
614
- }>>;
597
+ provider: z.ZodOptional<z.ZodString>;
615
598
  model: z.ZodOptional<z.ZodString>;
616
599
  maxTokens: z.ZodOptional<z.ZodNumber>;
617
600
  effort: z.ZodOptional<z.ZodEnum<{
@@ -733,24 +716,7 @@ declare const AssistantConfigSchema: z.ZodObject<{
733
716
  homeSuggestedPrompts: "homeSuggestedPrompts";
734
717
  workflowLeaf: "workflowLeaf";
735
718
  }> & z.core.$partial, z.ZodObject<{
736
- provider: z.ZodOptional<z.ZodEnum<{
737
- openai: "openai";
738
- anthropic: "anthropic";
739
- gemini: "gemini";
740
- fireworks: "fireworks";
741
- together: "together";
742
- poolside: "poolside";
743
- openrouter: "openrouter";
744
- "vercel-ai-gateway": "vercel-ai-gateway";
745
- ollama: "ollama";
746
- "openai-compatible": "openai-compatible";
747
- litellm: "litellm";
748
- minimax: "minimax";
749
- atlascloud: "atlascloud";
750
- baseten: "baseten";
751
- vellum: "vellum";
752
- chatgpt: "chatgpt";
753
- }>>;
719
+ provider: z.ZodOptional<z.ZodString>;
754
720
  model: z.ZodOptional<z.ZodString>;
755
721
  maxTokens: z.ZodOptional<z.ZodNumber>;
756
722
  effort: z.ZodOptional<z.ZodEnum<{
@@ -817,22 +783,7 @@ declare const AssistantConfigSchema: z.ZodObject<{
817
783
  advisorProfile: z.ZodOptional<z.ZodString>;
818
784
  defaultProvider: z.ZodCatch<z.ZodOptional<z.ZodObject<{
819
785
  provider: z.ZodEnum<{
820
- openai: "openai";
821
- anthropic: "anthropic";
822
- gemini: "gemini";
823
- fireworks: "fireworks";
824
- together: "together";
825
- poolside: "poolside";
826
- openrouter: "openrouter";
827
- "vercel-ai-gateway": "vercel-ai-gateway";
828
- ollama: "ollama";
829
- "openai-compatible": "openai-compatible";
830
- litellm: "litellm";
831
- minimax: "minimax";
832
- atlascloud: "atlascloud";
833
- baseten: "baseten";
834
- vellum: "vellum";
835
- chatgpt: "chatgpt";
786
+ [x: string]: string;
836
787
  }>;
837
788
  connectionName: z.ZodOptional<z.ZodString>;
838
789
  }, z.core.$strip>>>;
@@ -5836,7 +5787,7 @@ export declare const REFUSAL_FALLBACK_TEXT = "Sorry \u2014 I wasn't able to gene
5836
5787
  /** Remove one document from the calling plugin's index. */
5837
5788
  export declare function removeDocument(documentId: string): Promise<void>;
5838
5789
 
5839
- declare type ResolutionFallbackReason = "missing" | "disabled" | "incomplete";
5790
+ declare type ResolutionFallbackReason = "missing" | "disabled" | "incomplete" | "unresolvable";
5840
5791
 
5841
5792
  /**
5842
5793
  * Resolves a fully-specified `LLMConfigBase` for a given call site.
@@ -5892,6 +5843,15 @@ declare type ResolutionFallbackReason = "missing" | "disabled" | "incomplete";
5892
5843
  */
5893
5844
  declare interface ResolveCallSiteOpts {
5894
5845
  overrideProfile?: string;
5846
+ /**
5847
+ * Whether a profile's provider value can actually dispatch: a known
5848
+ * vendor, or a connection entry row. Selection is pure and DB-blind, so
5849
+ * dispatch-side callers supply this (see `dispatchProviderResolvable` in
5850
+ * `connection-resolution.ts`); a profile failing it is unusable and
5851
+ * selection falls through to the next rung, keeping model and transport
5852
+ * coherent. When absent, every provider is assumed resolvable.
5853
+ */
5854
+ isResolvableProvider?: (provider: string) => boolean;
5895
5855
  /**
5896
5856
  * Float `overrideProfile` above the call-site layers for non-main-agent call
5897
5857
  * sites. Retained for API compatibility; under single-winner selection the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vellumai/plugin-api",
3
- "version": "0.11.3-dev.202608102215.87736ca",
3
+ "version": "0.11.3-dev.202608110026.ef1568c",
4
4
  "description": "Public TypeScript authoring contract for Vellum assistant plugins.",
5
5
  "license": "MIT",
6
6
  "type": "module",