@shop-os/modelkit 0.1.10 → 0.1.11

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.
@@ -35,7 +35,7 @@ interface UpscaleOptions {
35
35
  faceEnhancementStrength?: number;
36
36
  }
37
37
  type ModelType = "text" | "image" | "video" | "audio" | "upscale" | "bg-remove";
38
- type Lifecycle = "active" | "hidden" | "deprecated" | "retired";
38
+ type Lifecycle = "active" | "deprecated" | "retired";
39
39
  type AdapterId = "ai-sdk-text" | "google-image" | "openai-image" | "google-genai" | "ark" | "fal" | "replicate" | "prodia" | "higgsfield" | "xai-video";
40
40
  /** Gemini image safety threshold, per category, sent only when the caller opts in. */
41
41
  type ImageSafetySetting = {
@@ -234,10 +234,6 @@ interface CatalogDisplay {
234
234
  }
235
235
  /** Capability flags a UI keys off. Absent means false / unknown. */
236
236
  interface CatalogCapabilities {
237
- /** Image rows: generates from a prompt alone. */
238
- imageGenerate?: boolean;
239
- /** Image rows: edits or conditions on reference images. */
240
- imageEdit?: boolean;
241
237
  /** Video rows: takes an existing video as the thing to edit or extend. */
242
238
  acceptsSourceVideo?: boolean;
243
239
  /** Video rows: first/last frames and reference images are mutually exclusive inputs. */
@@ -245,8 +241,6 @@ interface CatalogCapabilities {
245
241
  /** Text rows. `reasoning`: the model streams reasoning the UI should surface. */
246
242
  reasoning?: boolean;
247
243
  vision?: boolean;
248
- tools?: boolean;
249
- structuredOutput?: boolean;
250
244
  contextWindow?: number;
251
245
  }
252
246
  interface CatalogModel {
@@ -276,7 +270,6 @@ interface CatalogModel {
276
270
  */
277
271
  usage: {
278
272
  unit: UsageUnit;
279
- modality: UsageModality;
280
273
  slug?: string;
281
274
  providerLabel?: string;
282
275
  };
package/dist/catalog.d.ts CHANGED
@@ -35,7 +35,7 @@ interface UpscaleOptions {
35
35
  faceEnhancementStrength?: number;
36
36
  }
37
37
  type ModelType = "text" | "image" | "video" | "audio" | "upscale" | "bg-remove";
38
- type Lifecycle = "active" | "hidden" | "deprecated" | "retired";
38
+ type Lifecycle = "active" | "deprecated" | "retired";
39
39
  type AdapterId = "ai-sdk-text" | "google-image" | "openai-image" | "google-genai" | "ark" | "fal" | "replicate" | "prodia" | "higgsfield" | "xai-video";
40
40
  /** Gemini image safety threshold, per category, sent only when the caller opts in. */
41
41
  type ImageSafetySetting = {
@@ -234,10 +234,6 @@ interface CatalogDisplay {
234
234
  }
235
235
  /** Capability flags a UI keys off. Absent means false / unknown. */
236
236
  interface CatalogCapabilities {
237
- /** Image rows: generates from a prompt alone. */
238
- imageGenerate?: boolean;
239
- /** Image rows: edits or conditions on reference images. */
240
- imageEdit?: boolean;
241
237
  /** Video rows: takes an existing video as the thing to edit or extend. */
242
238
  acceptsSourceVideo?: boolean;
243
239
  /** Video rows: first/last frames and reference images are mutually exclusive inputs. */
@@ -245,8 +241,6 @@ interface CatalogCapabilities {
245
241
  /** Text rows. `reasoning`: the model streams reasoning the UI should surface. */
246
242
  reasoning?: boolean;
247
243
  vision?: boolean;
248
- tools?: boolean;
249
- structuredOutput?: boolean;
250
244
  contextWindow?: number;
251
245
  }
252
246
  interface CatalogModel {
@@ -276,7 +270,6 @@ interface CatalogModel {
276
270
  */
277
271
  usage: {
278
272
  unit: UsageUnit;
279
- modality: UsageModality;
280
273
  slug?: string;
281
274
  providerLabel?: string;
282
275
  };