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