@shop-os/modelkit 0.9.0 → 0.10.0

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.
@@ -137,7 +137,7 @@ type Lifecycle = "active" | "deprecated" | "retired";
137
137
  type Surface = "cowork" | "space_builder";
138
138
  /** @deprecated use Surface[] */
139
139
  type Exposure = Surface[];
140
- type AdapterId = "ai-sdk-text" | "google-image" | "openai-image" | "google-genai" | "ark" | "fal" | "replicate" | "prodia" | "higgsfield" | "xai-video" | "luma" | "fish";
140
+ type AdapterId = "ai-sdk-text" | "google-image" | "openai-image" | "google-genai" | "ark" | "fal" | "replicate" | "prodia" | "higgsfield" | "xai-video" | "luma" | "fish" | "elevenlabs";
141
141
  /** Gemini image safety threshold, per category, sent only when the caller opts in. */
142
142
  type ImageSafetySetting = {
143
143
  category: string;
@@ -977,7 +977,7 @@ interface UsageEvent {
977
977
  latencyMs?: number;
978
978
  raw?: unknown;
979
979
  }
980
- type ProviderKeyName = "openai" | "anthropic" | "google" | "xai" | "perplexity" | "deepseek" | "moonshot" | "minimax" | "ark" | "fal" | "replicate" | "prodia" | "higgsfield" | "luma" | "fish" | "cloudflare";
980
+ type ProviderKeyName = "openai" | "anthropic" | "google" | "xai" | "perplexity" | "deepseek" | "moonshot" | "minimax" | "ark" | "fal" | "replicate" | "prodia" | "higgsfield" | "luma" | "fish" | "elevenlabs" | "cloudflare";
981
981
  type ProviderKeys = Partial<Record<ProviderKeyName, string>> & {
982
982
  /** Higgsfield needs the pair; both switch together. */
983
983
  higgsfieldSecret?: string;
@@ -1030,6 +1030,8 @@ interface AdapterEndpoints {
1030
1030
  luma?: string;
1031
1031
  /** Fish Audio API. Defaults to https://api.fish.audio. */
1032
1032
  fish?: string;
1033
+ /** ElevenLabs API. Defaults to https://api.elevenlabs.io. */
1034
+ elevenlabs?: string;
1033
1035
  }
1034
1036
  interface ModelKitConfig {
1035
1037
  keys: {
@@ -1104,7 +1106,7 @@ declare function isListed(row: CatalogModel): boolean;
1104
1106
  */
1105
1107
  declare const MODELS: CatalogModel[];
1106
1108
 
1107
- declare const ADAPTER_IDS: readonly ["ai-sdk-text", "google-image", "openai-image", "google-genai", "ark", "fal", "replicate", "prodia", "higgsfield", "xai-video", "luma", "fish"];
1109
+ declare const ADAPTER_IDS: readonly ["ai-sdk-text", "google-image", "openai-image", "google-genai", "ark", "fal", "replicate", "prodia", "higgsfield", "xai-video", "luma", "fish", "elevenlabs"];
1108
1110
  declare const SurfaceSchema: z.ZodEnum<{
1109
1111
  cowork: "cowork";
1110
1112
  space_builder: "space_builder";
@@ -1156,6 +1158,7 @@ declare const CatalogModelSchemaBase: z.ZodObject<{
1156
1158
  "xai-video": "xai-video";
1157
1159
  luma: "luma";
1158
1160
  fish: "fish";
1161
+ elevenlabs: "elevenlabs";
1159
1162
  }>;
1160
1163
  providerModelId: z.ZodString;
1161
1164
  lifecycle: z.ZodEnum<{
package/dist/catalog.d.ts CHANGED
@@ -137,7 +137,7 @@ type Lifecycle = "active" | "deprecated" | "retired";
137
137
  type Surface = "cowork" | "space_builder";
138
138
  /** @deprecated use Surface[] */
139
139
  type Exposure = Surface[];
140
- type AdapterId = "ai-sdk-text" | "google-image" | "openai-image" | "google-genai" | "ark" | "fal" | "replicate" | "prodia" | "higgsfield" | "xai-video" | "luma" | "fish";
140
+ type AdapterId = "ai-sdk-text" | "google-image" | "openai-image" | "google-genai" | "ark" | "fal" | "replicate" | "prodia" | "higgsfield" | "xai-video" | "luma" | "fish" | "elevenlabs";
141
141
  /** Gemini image safety threshold, per category, sent only when the caller opts in. */
142
142
  type ImageSafetySetting = {
143
143
  category: string;
@@ -977,7 +977,7 @@ interface UsageEvent {
977
977
  latencyMs?: number;
978
978
  raw?: unknown;
979
979
  }
980
- type ProviderKeyName = "openai" | "anthropic" | "google" | "xai" | "perplexity" | "deepseek" | "moonshot" | "minimax" | "ark" | "fal" | "replicate" | "prodia" | "higgsfield" | "luma" | "fish" | "cloudflare";
980
+ type ProviderKeyName = "openai" | "anthropic" | "google" | "xai" | "perplexity" | "deepseek" | "moonshot" | "minimax" | "ark" | "fal" | "replicate" | "prodia" | "higgsfield" | "luma" | "fish" | "elevenlabs" | "cloudflare";
981
981
  type ProviderKeys = Partial<Record<ProviderKeyName, string>> & {
982
982
  /** Higgsfield needs the pair; both switch together. */
983
983
  higgsfieldSecret?: string;
@@ -1030,6 +1030,8 @@ interface AdapterEndpoints {
1030
1030
  luma?: string;
1031
1031
  /** Fish Audio API. Defaults to https://api.fish.audio. */
1032
1032
  fish?: string;
1033
+ /** ElevenLabs API. Defaults to https://api.elevenlabs.io. */
1034
+ elevenlabs?: string;
1033
1035
  }
1034
1036
  interface ModelKitConfig {
1035
1037
  keys: {
@@ -1104,7 +1106,7 @@ declare function isListed(row: CatalogModel): boolean;
1104
1106
  */
1105
1107
  declare const MODELS: CatalogModel[];
1106
1108
 
1107
- declare const ADAPTER_IDS: readonly ["ai-sdk-text", "google-image", "openai-image", "google-genai", "ark", "fal", "replicate", "prodia", "higgsfield", "xai-video", "luma", "fish"];
1109
+ declare const ADAPTER_IDS: readonly ["ai-sdk-text", "google-image", "openai-image", "google-genai", "ark", "fal", "replicate", "prodia", "higgsfield", "xai-video", "luma", "fish", "elevenlabs"];
1108
1110
  declare const SurfaceSchema: z.ZodEnum<{
1109
1111
  cowork: "cowork";
1110
1112
  space_builder: "space_builder";
@@ -1156,6 +1158,7 @@ declare const CatalogModelSchemaBase: z.ZodObject<{
1156
1158
  "xai-video": "xai-video";
1157
1159
  luma: "luma";
1158
1160
  fish: "fish";
1161
+ elevenlabs: "elevenlabs";
1159
1162
  }>;
1160
1163
  providerModelId: z.ZodString;
1161
1164
  lifecycle: z.ZodEnum<{