@anolilab/ai-model-registry 4.1.0 → 4.1.1

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 (201) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/icons-sprite.d.ts +0 -1
  3. package/dist/icons-sprite.js +2 -2
  4. package/dist/index.d.ts +47 -49
  5. package/dist/index.js +1 -1
  6. package/dist/packem_shared/{aihubmix-CKC2Vphr.js → aihubmix-3eUEO81x.js} +2 -2
  7. package/dist/packem_shared/alibaba-DO3mwr5n.js +1 -0
  8. package/dist/packem_shared/amazon-bedrock-kuD9YAc_.js +1 -0
  9. package/dist/packem_shared/{anthropic-Cj3HbHOC.js → anthropic-Cf5ei7gv.js} +2 -2
  10. package/dist/packem_shared/azure-open-ai-NdDwqwXE.js +1 -0
  11. package/dist/packem_shared/cerebras-CBfHNOx5.js +1 -0
  12. package/dist/packem_shared/{chutes-BN981Qp1.js → chutes-CdMXItbr.js} +2 -2
  13. package/dist/packem_shared/cloudflare-BJ1QVsF1.js +3 -0
  14. package/dist/packem_shared/deep-infra-Cck2XGez.js +1 -0
  15. package/dist/packem_shared/deep-seek-Ce7yheJ9.js +1 -0
  16. package/dist/packem_shared/fireworks-ai-FmFnhc9z.js +1 -0
  17. package/dist/packem_shared/git-hub-copilot-CqrXfcpe.js +1 -0
  18. package/dist/packem_shared/google-D6RThtPk.js +1 -0
  19. package/dist/packem_shared/google-partner-DgQowLhd.js +1 -0
  20. package/dist/packem_shared/google-vertex-lCsXuwhh.js +1 -0
  21. package/dist/packem_shared/groq-Bz3CszS1.js +1 -0
  22. package/dist/packem_shared/hugging-face-L3wtFFVQ.js +1 -0
  23. package/dist/packem_shared/inception-WkPuNJJc.js +1 -0
  24. package/dist/packem_shared/inference-CascC5hi.js +1 -0
  25. package/dist/packem_shared/meta-9Qr5WFEr.js +1 -0
  26. package/dist/packem_shared/mistral-eECLD_-Y.js +1 -0
  27. package/dist/packem_shared/{model-scope-Dp4WKn9q.js → model-scope-CcR8U1m0.js} +2 -2
  28. package/dist/packem_shared/ollama-cloud-YeFjAjPM.js +1 -0
  29. package/dist/packem_shared/{open-ai-DRCCDDUM.js → open-ai-C9dp9K38.js} +2 -2
  30. package/dist/packem_shared/open-router-UNNnC1Gf.js +1 -0
  31. package/dist/packem_shared/{requesty-CPVpB5vf.js → requesty-B-kslTFP.js} +2 -2
  32. package/dist/packem_shared/together-ai-DVcWBHEB.js +1 -0
  33. package/dist/packem_shared/upstage-BdDX81K1.js +1 -0
  34. package/dist/packem_shared/v0-DweiLDeZ.js +1 -0
  35. package/dist/packem_shared/venice-B2S4t2BX.js +1 -0
  36. package/dist/packem_shared/vercel-DJGvYdAY.js +1 -0
  37. package/dist/packem_shared/weights-_-biases-CHQHwsFi.js +1 -0
  38. package/dist/packem_shared/{xai-DO2i-deZ.js → xai-2PIcrQ0M.js} +2 -2
  39. package/dist/providers/aihubmix.d.ts +36 -38
  40. package/dist/providers/aihubmix.js +1 -1
  41. package/dist/providers/alibaba.d.ts +36 -38
  42. package/dist/providers/alibaba.js +1 -1
  43. package/dist/providers/amazon-bedrock.d.ts +36 -38
  44. package/dist/providers/amazon-bedrock.js +1 -1
  45. package/dist/providers/anthropic.d.ts +36 -38
  46. package/dist/providers/anthropic.js +1 -1
  47. package/dist/providers/azure-open-ai.d.ts +36 -38
  48. package/dist/providers/azure-open-ai.js +1 -1
  49. package/dist/providers/cerebras.d.ts +36 -38
  50. package/dist/providers/cerebras.js +1 -1
  51. package/dist/providers/chutes.d.ts +36 -38
  52. package/dist/providers/chutes.js +1 -1
  53. package/dist/providers/cloudflare.d.ts +36 -38
  54. package/dist/providers/cloudflare.js +1 -1
  55. package/dist/providers/deep-infra.d.ts +36 -38
  56. package/dist/providers/deep-infra.js +1 -1
  57. package/dist/providers/deep-seek.d.ts +36 -38
  58. package/dist/providers/deep-seek.js +1 -1
  59. package/dist/providers/fireworks-ai.d.ts +36 -38
  60. package/dist/providers/fireworks-ai.js +1 -1
  61. package/dist/providers/git-hub-copilot.d.ts +36 -38
  62. package/dist/providers/git-hub-copilot.js +1 -1
  63. package/dist/providers/google-partner.d.ts +36 -38
  64. package/dist/providers/google-partner.js +1 -1
  65. package/dist/providers/google-vertex.d.ts +36 -38
  66. package/dist/providers/google-vertex.js +1 -1
  67. package/dist/providers/google.d.ts +36 -38
  68. package/dist/providers/google.js +1 -1
  69. package/dist/providers/groq.d.ts +36 -38
  70. package/dist/providers/groq.js +1 -1
  71. package/dist/providers/hugging-face.d.ts +36 -38
  72. package/dist/providers/hugging-face.js +1 -1
  73. package/dist/providers/inception.d.ts +36 -38
  74. package/dist/providers/inception.js +1 -1
  75. package/dist/providers/inference.d.ts +36 -38
  76. package/dist/providers/inference.js +1 -1
  77. package/dist/providers/meta.d.ts +36 -38
  78. package/dist/providers/meta.js +1 -1
  79. package/dist/providers/mistral.d.ts +36 -38
  80. package/dist/providers/mistral.js +1 -1
  81. package/dist/providers/model-scope.d.ts +36 -38
  82. package/dist/providers/model-scope.js +1 -1
  83. package/dist/providers/ollama-cloud.d.ts +36 -38
  84. package/dist/providers/ollama-cloud.js +1 -1
  85. package/dist/providers/open-ai.d.ts +36 -38
  86. package/dist/providers/open-ai.js +1 -1
  87. package/dist/providers/open-router.d.ts +36 -38
  88. package/dist/providers/open-router.js +1 -1
  89. package/dist/providers/requesty.d.ts +36 -38
  90. package/dist/providers/requesty.js +1 -1
  91. package/dist/providers/together-ai.d.ts +36 -38
  92. package/dist/providers/together-ai.js +1 -1
  93. package/dist/providers/upstage.d.ts +36 -38
  94. package/dist/providers/upstage.js +1 -1
  95. package/dist/providers/v0.d.ts +36 -38
  96. package/dist/providers/v0.js +1 -1
  97. package/dist/providers/venice.d.ts +36 -38
  98. package/dist/providers/venice.js +1 -1
  99. package/dist/providers/vercel.d.ts +36 -38
  100. package/dist/providers/vercel.js +1 -1
  101. package/dist/providers/weights-_-biases.d.ts +36 -38
  102. package/dist/providers/weights-_-biases.js +1 -1
  103. package/dist/providers/xai.d.ts +36 -38
  104. package/dist/providers/xai.js +1 -1
  105. package/dist/schema.d.ts +83 -90
  106. package/dist/schema.js +1 -1
  107. package/dist/types/ai-hub-mix.d.ts +3 -4
  108. package/dist/types/alibaba.d.ts +3 -4
  109. package/dist/types/amazon-bedrock.d.ts +3 -4
  110. package/dist/types/anthropic.d.ts +3 -4
  111. package/dist/types/azure-open-ai.d.ts +3 -4
  112. package/dist/types/cerebras.d.ts +3 -4
  113. package/dist/types/chutes.d.ts +3 -4
  114. package/dist/types/cloudflare.d.ts +3 -4
  115. package/dist/types/deep-infra.d.ts +3 -4
  116. package/dist/types/deep-seek.d.ts +3 -4
  117. package/dist/types/fireworks-ai.d.ts +3 -4
  118. package/dist/types/git-hub-copilot.d.ts +3 -4
  119. package/dist/types/google-partner.d.ts +3 -4
  120. package/dist/types/google-vertex.d.ts +3 -4
  121. package/dist/types/google.d.ts +3 -4
  122. package/dist/types/groq.d.ts +3 -4
  123. package/dist/types/hugging-face.d.ts +3 -4
  124. package/dist/types/inception.d.ts +3 -4
  125. package/dist/types/inference.d.ts +3 -4
  126. package/dist/types/meta.d.ts +3 -4
  127. package/dist/types/mistral.d.ts +3 -4
  128. package/dist/types/model-scope.d.ts +3 -4
  129. package/dist/types/ollama-cloud.d.ts +3 -4
  130. package/dist/types/open-ai.d.ts +3 -4
  131. package/dist/types/open-router.d.ts +3 -4
  132. package/dist/types/providers.d.ts +5 -7
  133. package/dist/types/requesty.d.ts +3 -4
  134. package/dist/types/together-ai.d.ts +3 -4
  135. package/dist/types/upstage.d.ts +3 -4
  136. package/dist/types/v0.d.ts +3 -4
  137. package/dist/types/venice.d.ts +3 -4
  138. package/dist/types/vercel.d.ts +3 -4
  139. package/dist/types/weights-_-biases.d.ts +3 -4
  140. package/dist/types/xai.d.ts +3 -4
  141. package/package.json +2 -2
  142. package/public/ai-hub-mix.json +1 -1
  143. package/public/alibaba.json +1 -1
  144. package/public/amazon-bedrock.json +1 -1
  145. package/public/anthropic.json +1 -1
  146. package/public/azure-open-ai.json +1 -1
  147. package/public/cerebras.json +1 -1
  148. package/public/chutes.json +1 -1
  149. package/public/cloudflare.json +1 -1
  150. package/public/deep-infra.json +1 -1
  151. package/public/deep-seek.json +1 -1
  152. package/public/fireworks-ai.json +1 -1
  153. package/public/git-hub-copilot.json +1 -1
  154. package/public/google-partner.json +1 -1
  155. package/public/google-vertex.json +1 -1
  156. package/public/google.json +1 -1
  157. package/public/groq.json +1 -1
  158. package/public/hugging-face.json +1 -1
  159. package/public/inception.json +1 -1
  160. package/public/inference.json +1 -1
  161. package/public/meta.json +1 -1
  162. package/public/mistral.json +1 -1
  163. package/public/model-scope.json +1 -1
  164. package/public/ollama-cloud.json +179 -209
  165. package/public/open-ai.json +1 -1
  166. package/public/open-router.json +1 -1
  167. package/public/providers.json +1 -1
  168. package/public/requesty.json +1 -1
  169. package/public/together-ai.json +1 -1
  170. package/public/upstage.json +1 -1
  171. package/public/v0.json +1 -1
  172. package/public/venice.json +1 -1
  173. package/public/vercel.json +1 -1
  174. package/public/weights-&-biases.json +1 -1
  175. package/public/xai.json +1 -1
  176. package/dist/packem_shared/alibaba-BLF61-pB.js +0 -1
  177. package/dist/packem_shared/amazon-bedrock-CdFZeHv4.js +0 -1
  178. package/dist/packem_shared/azure-open-ai-DlsrRCEy.js +0 -1
  179. package/dist/packem_shared/cerebras-BotOp5tD.js +0 -1
  180. package/dist/packem_shared/cloudflare-DOp6zAqg.js +0 -3
  181. package/dist/packem_shared/deep-infra-B_BEr6MG.js +0 -1
  182. package/dist/packem_shared/deep-seek-BxgLsWKo.js +0 -1
  183. package/dist/packem_shared/fireworks-ai-SnVqnrNl.js +0 -1
  184. package/dist/packem_shared/git-hub-copilot-B9NwoDx6.js +0 -1
  185. package/dist/packem_shared/google-LG4qP1Ni.js +0 -1
  186. package/dist/packem_shared/google-partner-BEfKq6Z4.js +0 -1
  187. package/dist/packem_shared/google-vertex-DtU07xbf.js +0 -1
  188. package/dist/packem_shared/groq-ClFSzTLI.js +0 -1
  189. package/dist/packem_shared/hugging-face-zI_cB94C.js +0 -1
  190. package/dist/packem_shared/inception-D2tOK5hm.js +0 -1
  191. package/dist/packem_shared/inference-BhdnsOKc.js +0 -1
  192. package/dist/packem_shared/meta-iORQYhl7.js +0 -1
  193. package/dist/packem_shared/mistral-D1nJG57r.js +0 -1
  194. package/dist/packem_shared/ollama-cloud-DCEPhpO7.js +0 -1
  195. package/dist/packem_shared/open-router-DbfuPYJD.js +0 -1
  196. package/dist/packem_shared/together-ai-owzQDpv4.js +0 -1
  197. package/dist/packem_shared/upstage-Bs8ieFx_.js +0 -1
  198. package/dist/packem_shared/v0-BoOzNNt8.js +0 -1
  199. package/dist/packem_shared/venice-ByXSis7D.js +0 -1
  200. package/dist/packem_shared/vercel-cgwTxewS.js +0 -1
  201. package/dist/packem_shared/weights-_-biases-CRDc_nTA.js +0 -1
@@ -1,49 +1,47 @@
1
- import { Model } from '../schema.js';
1
+ import { Model } from "../schema.js";
2
2
  import 'zod';
3
-
4
3
  /**
5
- * Retrieves all AI models for V0.
6
- * @returns Array of models belonging to V0.
7
- */
4
+ * Retrieves all AI models for V0.
5
+ * @returns Array of models belonging to V0.
6
+ */
8
7
  declare const getModels: () => Model[];
9
8
  /**
10
- * Retrieves a specific AI model by its unique identifier for V0.
11
- * @param id The unique identifier of the model to retrieve.
12
- * @returns The model if found, undefined otherwise.
13
- */
9
+ * Retrieves a specific AI model by its unique identifier for V0.
10
+ * @param id The unique identifier of the model to retrieve.
11
+ * @returns The model if found, undefined otherwise.
12
+ */
14
13
  declare const getModelById: (id: string) => Model | undefined;
15
14
  /**
16
- * Searches and filters AI models for V0 based on various criteria.
17
- * @param criteria The search criteria to filter models by.
18
- * @param criteria.context_min Minimum context window size (excludes models with null/undefined context).
19
- * @param criteria.context_max Maximum context window size (excludes models with null/undefined context).
20
- * @param criteria.modalities Input/output modalities to filter by.
21
- * @param criteria.modalities.input Array of input modalities to filter by.
22
- * @param criteria.modalities.output Array of output modalities to filter by.
23
- * @param criteria.preview Whether to filter by preview status.
24
- * @param criteria.reasoning Whether to filter by reasoning capability.
25
- * @param criteria.streaming_supported Whether to filter by streaming support.
26
- * @param criteria.tool_call Whether to filter by tool calling capability.
27
- * @param criteria.vision Whether to filter by vision capability.
28
- * @returns Array of models that match the specified criteria.
29
- */
15
+ * Searches and filters AI models for V0 based on various criteria.
16
+ * @param criteria The search criteria to filter models by.
17
+ * @param criteria.context_min Minimum context window size (excludes models with null/undefined context).
18
+ * @param criteria.context_max Maximum context window size (excludes models with null/undefined context).
19
+ * @param criteria.modalities Input/output modalities to filter by.
20
+ * @param criteria.modalities.input Array of input modalities to filter by.
21
+ * @param criteria.modalities.output Array of output modalities to filter by.
22
+ * @param criteria.preview Whether to filter by preview status.
23
+ * @param criteria.reasoning Whether to filter by reasoning capability.
24
+ * @param criteria.streaming_supported Whether to filter by streaming support.
25
+ * @param criteria.tool_call Whether to filter by tool calling capability.
26
+ * @param criteria.vision Whether to filter by vision capability.
27
+ * @returns Array of models that match the specified criteria.
28
+ */
30
29
  declare const searchModels: (criteria: {
31
- context_max?: number;
32
- context_min?: number;
33
- modalities?: {
34
- input?: string[];
35
- output?: string[];
36
- };
37
- preview?: boolean;
38
- reasoning?: boolean;
39
- streaming_supported?: boolean;
40
- tool_call?: boolean;
41
- vision?: boolean;
30
+ context_max?: number;
31
+ context_min?: number;
32
+ modalities?: {
33
+ input?: string[];
34
+ output?: string[];
35
+ };
36
+ preview?: boolean;
37
+ reasoning?: boolean;
38
+ streaming_supported?: boolean;
39
+ tool_call?: boolean;
40
+ vision?: boolean;
42
41
  }) => Model[];
43
42
  /**
44
- * Gets the total number of models for V0.
45
- * @returns The number of models.
46
- */
43
+ * Gets the total number of models for V0.
44
+ * @returns The number of models.
45
+ */
47
46
  declare const getModelCount: () => number;
48
-
49
47
  export { getModelById, getModelCount, getModels, searchModels };
@@ -1 +1 @@
1
- import{g as o,a,b as d,s as t}from"../packem_shared/v0-BoOzNNt8.js";export{o as getModelById,a as getModelCount,d as getModels,t as searchModels};
1
+ import{g as o,a,b as d,s as t}from"../packem_shared/v0-DweiLDeZ.js";export{o as getModelById,a as getModelCount,d as getModels,t as searchModels};
@@ -1,49 +1,47 @@
1
- import { Model } from '../schema.js';
1
+ import { Model } from "../schema.js";
2
2
  import 'zod';
3
-
4
3
  /**
5
- * Retrieves all AI models for Venice.
6
- * @returns Array of models belonging to Venice.
7
- */
4
+ * Retrieves all AI models for Venice.
5
+ * @returns Array of models belonging to Venice.
6
+ */
8
7
  declare const getModels: () => Model[];
9
8
  /**
10
- * Retrieves a specific AI model by its unique identifier for Venice.
11
- * @param id The unique identifier of the model to retrieve.
12
- * @returns The model if found, undefined otherwise.
13
- */
9
+ * Retrieves a specific AI model by its unique identifier for Venice.
10
+ * @param id The unique identifier of the model to retrieve.
11
+ * @returns The model if found, undefined otherwise.
12
+ */
14
13
  declare const getModelById: (id: string) => Model | undefined;
15
14
  /**
16
- * Searches and filters AI models for Venice based on various criteria.
17
- * @param criteria The search criteria to filter models by.
18
- * @param criteria.context_min Minimum context window size (excludes models with null/undefined context).
19
- * @param criteria.context_max Maximum context window size (excludes models with null/undefined context).
20
- * @param criteria.modalities Input/output modalities to filter by.
21
- * @param criteria.modalities.input Array of input modalities to filter by.
22
- * @param criteria.modalities.output Array of output modalities to filter by.
23
- * @param criteria.preview Whether to filter by preview status.
24
- * @param criteria.reasoning Whether to filter by reasoning capability.
25
- * @param criteria.streaming_supported Whether to filter by streaming support.
26
- * @param criteria.tool_call Whether to filter by tool calling capability.
27
- * @param criteria.vision Whether to filter by vision capability.
28
- * @returns Array of models that match the specified criteria.
29
- */
15
+ * Searches and filters AI models for Venice based on various criteria.
16
+ * @param criteria The search criteria to filter models by.
17
+ * @param criteria.context_min Minimum context window size (excludes models with null/undefined context).
18
+ * @param criteria.context_max Maximum context window size (excludes models with null/undefined context).
19
+ * @param criteria.modalities Input/output modalities to filter by.
20
+ * @param criteria.modalities.input Array of input modalities to filter by.
21
+ * @param criteria.modalities.output Array of output modalities to filter by.
22
+ * @param criteria.preview Whether to filter by preview status.
23
+ * @param criteria.reasoning Whether to filter by reasoning capability.
24
+ * @param criteria.streaming_supported Whether to filter by streaming support.
25
+ * @param criteria.tool_call Whether to filter by tool calling capability.
26
+ * @param criteria.vision Whether to filter by vision capability.
27
+ * @returns Array of models that match the specified criteria.
28
+ */
30
29
  declare const searchModels: (criteria: {
31
- context_max?: number;
32
- context_min?: number;
33
- modalities?: {
34
- input?: string[];
35
- output?: string[];
36
- };
37
- preview?: boolean;
38
- reasoning?: boolean;
39
- streaming_supported?: boolean;
40
- tool_call?: boolean;
41
- vision?: boolean;
30
+ context_max?: number;
31
+ context_min?: number;
32
+ modalities?: {
33
+ input?: string[];
34
+ output?: string[];
35
+ };
36
+ preview?: boolean;
37
+ reasoning?: boolean;
38
+ streaming_supported?: boolean;
39
+ tool_call?: boolean;
40
+ vision?: boolean;
42
41
  }) => Model[];
43
42
  /**
44
- * Gets the total number of models for Venice.
45
- * @returns The number of models.
46
- */
43
+ * Gets the total number of models for Venice.
44
+ * @returns The number of models.
45
+ */
47
46
  declare const getModelCount: () => number;
48
-
49
47
  export { getModelById, getModelCount, getModels, searchModels };
@@ -1 +1 @@
1
- import{g as o,a,b as d,s as t}from"../packem_shared/venice-ByXSis7D.js";export{o as getModelById,a as getModelCount,d as getModels,t as searchModels};
1
+ import{g as o,a,b as d,s as t}from"../packem_shared/venice-B2S4t2BX.js";export{o as getModelById,a as getModelCount,d as getModels,t as searchModels};
@@ -1,49 +1,47 @@
1
- import { Model } from '../schema.js';
1
+ import { Model } from "../schema.js";
2
2
  import 'zod';
3
-
4
3
  /**
5
- * Retrieves all AI models for Vercel.
6
- * @returns Array of models belonging to Vercel.
7
- */
4
+ * Retrieves all AI models for Vercel.
5
+ * @returns Array of models belonging to Vercel.
6
+ */
8
7
  declare const getModels: () => Model[];
9
8
  /**
10
- * Retrieves a specific AI model by its unique identifier for Vercel.
11
- * @param id The unique identifier of the model to retrieve.
12
- * @returns The model if found, undefined otherwise.
13
- */
9
+ * Retrieves a specific AI model by its unique identifier for Vercel.
10
+ * @param id The unique identifier of the model to retrieve.
11
+ * @returns The model if found, undefined otherwise.
12
+ */
14
13
  declare const getModelById: (id: string) => Model | undefined;
15
14
  /**
16
- * Searches and filters AI models for Vercel based on various criteria.
17
- * @param criteria The search criteria to filter models by.
18
- * @param criteria.context_min Minimum context window size (excludes models with null/undefined context).
19
- * @param criteria.context_max Maximum context window size (excludes models with null/undefined context).
20
- * @param criteria.modalities Input/output modalities to filter by.
21
- * @param criteria.modalities.input Array of input modalities to filter by.
22
- * @param criteria.modalities.output Array of output modalities to filter by.
23
- * @param criteria.preview Whether to filter by preview status.
24
- * @param criteria.reasoning Whether to filter by reasoning capability.
25
- * @param criteria.streaming_supported Whether to filter by streaming support.
26
- * @param criteria.tool_call Whether to filter by tool calling capability.
27
- * @param criteria.vision Whether to filter by vision capability.
28
- * @returns Array of models that match the specified criteria.
29
- */
15
+ * Searches and filters AI models for Vercel based on various criteria.
16
+ * @param criteria The search criteria to filter models by.
17
+ * @param criteria.context_min Minimum context window size (excludes models with null/undefined context).
18
+ * @param criteria.context_max Maximum context window size (excludes models with null/undefined context).
19
+ * @param criteria.modalities Input/output modalities to filter by.
20
+ * @param criteria.modalities.input Array of input modalities to filter by.
21
+ * @param criteria.modalities.output Array of output modalities to filter by.
22
+ * @param criteria.preview Whether to filter by preview status.
23
+ * @param criteria.reasoning Whether to filter by reasoning capability.
24
+ * @param criteria.streaming_supported Whether to filter by streaming support.
25
+ * @param criteria.tool_call Whether to filter by tool calling capability.
26
+ * @param criteria.vision Whether to filter by vision capability.
27
+ * @returns Array of models that match the specified criteria.
28
+ */
30
29
  declare const searchModels: (criteria: {
31
- context_max?: number;
32
- context_min?: number;
33
- modalities?: {
34
- input?: string[];
35
- output?: string[];
36
- };
37
- preview?: boolean;
38
- reasoning?: boolean;
39
- streaming_supported?: boolean;
40
- tool_call?: boolean;
41
- vision?: boolean;
30
+ context_max?: number;
31
+ context_min?: number;
32
+ modalities?: {
33
+ input?: string[];
34
+ output?: string[];
35
+ };
36
+ preview?: boolean;
37
+ reasoning?: boolean;
38
+ streaming_supported?: boolean;
39
+ tool_call?: boolean;
40
+ vision?: boolean;
42
41
  }) => Model[];
43
42
  /**
44
- * Gets the total number of models for Vercel.
45
- * @returns The number of models.
46
- */
43
+ * Gets the total number of models for Vercel.
44
+ * @returns The number of models.
45
+ */
47
46
  declare const getModelCount: () => number;
48
-
49
47
  export { getModelById, getModelCount, getModels, searchModels };
@@ -1 +1 @@
1
- import{g as o,a,b as d,s as t}from"../packem_shared/vercel-cgwTxewS.js";export{o as getModelById,a as getModelCount,d as getModels,t as searchModels};
1
+ import{g as o,a,b as d,s as t}from"../packem_shared/vercel-DJGvYdAY.js";export{o as getModelById,a as getModelCount,d as getModels,t as searchModels};
@@ -1,49 +1,47 @@
1
- import { Model } from '../schema.js';
1
+ import { Model } from "../schema.js";
2
2
  import 'zod';
3
-
4
3
  /**
5
- * Retrieves all AI models for Weights & Biases.
6
- * @returns Array of models belonging to Weights & Biases.
7
- */
4
+ * Retrieves all AI models for Weights & Biases.
5
+ * @returns Array of models belonging to Weights & Biases.
6
+ */
8
7
  declare const getModels: () => Model[];
9
8
  /**
10
- * Retrieves a specific AI model by its unique identifier for Weights & Biases.
11
- * @param id The unique identifier of the model to retrieve.
12
- * @returns The model if found, undefined otherwise.
13
- */
9
+ * Retrieves a specific AI model by its unique identifier for Weights & Biases.
10
+ * @param id The unique identifier of the model to retrieve.
11
+ * @returns The model if found, undefined otherwise.
12
+ */
14
13
  declare const getModelById: (id: string) => Model | undefined;
15
14
  /**
16
- * Searches and filters AI models for Weights & Biases based on various criteria.
17
- * @param criteria The search criteria to filter models by.
18
- * @param criteria.context_min Minimum context window size (excludes models with null/undefined context).
19
- * @param criteria.context_max Maximum context window size (excludes models with null/undefined context).
20
- * @param criteria.modalities Input/output modalities to filter by.
21
- * @param criteria.modalities.input Array of input modalities to filter by.
22
- * @param criteria.modalities.output Array of output modalities to filter by.
23
- * @param criteria.preview Whether to filter by preview status.
24
- * @param criteria.reasoning Whether to filter by reasoning capability.
25
- * @param criteria.streaming_supported Whether to filter by streaming support.
26
- * @param criteria.tool_call Whether to filter by tool calling capability.
27
- * @param criteria.vision Whether to filter by vision capability.
28
- * @returns Array of models that match the specified criteria.
29
- */
15
+ * Searches and filters AI models for Weights & Biases based on various criteria.
16
+ * @param criteria The search criteria to filter models by.
17
+ * @param criteria.context_min Minimum context window size (excludes models with null/undefined context).
18
+ * @param criteria.context_max Maximum context window size (excludes models with null/undefined context).
19
+ * @param criteria.modalities Input/output modalities to filter by.
20
+ * @param criteria.modalities.input Array of input modalities to filter by.
21
+ * @param criteria.modalities.output Array of output modalities to filter by.
22
+ * @param criteria.preview Whether to filter by preview status.
23
+ * @param criteria.reasoning Whether to filter by reasoning capability.
24
+ * @param criteria.streaming_supported Whether to filter by streaming support.
25
+ * @param criteria.tool_call Whether to filter by tool calling capability.
26
+ * @param criteria.vision Whether to filter by vision capability.
27
+ * @returns Array of models that match the specified criteria.
28
+ */
30
29
  declare const searchModels: (criteria: {
31
- context_max?: number;
32
- context_min?: number;
33
- modalities?: {
34
- input?: string[];
35
- output?: string[];
36
- };
37
- preview?: boolean;
38
- reasoning?: boolean;
39
- streaming_supported?: boolean;
40
- tool_call?: boolean;
41
- vision?: boolean;
30
+ context_max?: number;
31
+ context_min?: number;
32
+ modalities?: {
33
+ input?: string[];
34
+ output?: string[];
35
+ };
36
+ preview?: boolean;
37
+ reasoning?: boolean;
38
+ streaming_supported?: boolean;
39
+ tool_call?: boolean;
40
+ vision?: boolean;
42
41
  }) => Model[];
43
42
  /**
44
- * Gets the total number of models for Weights & Biases.
45
- * @returns The number of models.
46
- */
43
+ * Gets the total number of models for Weights & Biases.
44
+ * @returns The number of models.
45
+ */
47
46
  declare const getModelCount: () => number;
48
-
49
47
  export { getModelById, getModelCount, getModels, searchModels };
@@ -1 +1 @@
1
- import{g as o,a,b as d,s as t}from"../packem_shared/weights-_-biases-CRDc_nTA.js";export{o as getModelById,a as getModelCount,d as getModels,t as searchModels};
1
+ import{g as o,a,b as d,s as t}from"../packem_shared/weights-_-biases-CHQHwsFi.js";export{o as getModelById,a as getModelCount,d as getModels,t as searchModels};
@@ -1,49 +1,47 @@
1
- import { Model } from '../schema.js';
1
+ import { Model } from "../schema.js";
2
2
  import 'zod';
3
-
4
3
  /**
5
- * Retrieves all AI models for XAI.
6
- * @returns Array of models belonging to XAI.
7
- */
4
+ * Retrieves all AI models for XAI.
5
+ * @returns Array of models belonging to XAI.
6
+ */
8
7
  declare const getModels: () => Model[];
9
8
  /**
10
- * Retrieves a specific AI model by its unique identifier for XAI.
11
- * @param id The unique identifier of the model to retrieve.
12
- * @returns The model if found, undefined otherwise.
13
- */
9
+ * Retrieves a specific AI model by its unique identifier for XAI.
10
+ * @param id The unique identifier of the model to retrieve.
11
+ * @returns The model if found, undefined otherwise.
12
+ */
14
13
  declare const getModelById: (id: string) => Model | undefined;
15
14
  /**
16
- * Searches and filters AI models for XAI based on various criteria.
17
- * @param criteria The search criteria to filter models by.
18
- * @param criteria.context_min Minimum context window size (excludes models with null/undefined context).
19
- * @param criteria.context_max Maximum context window size (excludes models with null/undefined context).
20
- * @param criteria.modalities Input/output modalities to filter by.
21
- * @param criteria.modalities.input Array of input modalities to filter by.
22
- * @param criteria.modalities.output Array of output modalities to filter by.
23
- * @param criteria.preview Whether to filter by preview status.
24
- * @param criteria.reasoning Whether to filter by reasoning capability.
25
- * @param criteria.streaming_supported Whether to filter by streaming support.
26
- * @param criteria.tool_call Whether to filter by tool calling capability.
27
- * @param criteria.vision Whether to filter by vision capability.
28
- * @returns Array of models that match the specified criteria.
29
- */
15
+ * Searches and filters AI models for XAI based on various criteria.
16
+ * @param criteria The search criteria to filter models by.
17
+ * @param criteria.context_min Minimum context window size (excludes models with null/undefined context).
18
+ * @param criteria.context_max Maximum context window size (excludes models with null/undefined context).
19
+ * @param criteria.modalities Input/output modalities to filter by.
20
+ * @param criteria.modalities.input Array of input modalities to filter by.
21
+ * @param criteria.modalities.output Array of output modalities to filter by.
22
+ * @param criteria.preview Whether to filter by preview status.
23
+ * @param criteria.reasoning Whether to filter by reasoning capability.
24
+ * @param criteria.streaming_supported Whether to filter by streaming support.
25
+ * @param criteria.tool_call Whether to filter by tool calling capability.
26
+ * @param criteria.vision Whether to filter by vision capability.
27
+ * @returns Array of models that match the specified criteria.
28
+ */
30
29
  declare const searchModels: (criteria: {
31
- context_max?: number;
32
- context_min?: number;
33
- modalities?: {
34
- input?: string[];
35
- output?: string[];
36
- };
37
- preview?: boolean;
38
- reasoning?: boolean;
39
- streaming_supported?: boolean;
40
- tool_call?: boolean;
41
- vision?: boolean;
30
+ context_max?: number;
31
+ context_min?: number;
32
+ modalities?: {
33
+ input?: string[];
34
+ output?: string[];
35
+ };
36
+ preview?: boolean;
37
+ reasoning?: boolean;
38
+ streaming_supported?: boolean;
39
+ tool_call?: boolean;
40
+ vision?: boolean;
42
41
  }) => Model[];
43
42
  /**
44
- * Gets the total number of models for XAI.
45
- * @returns The number of models.
46
- */
43
+ * Gets the total number of models for XAI.
44
+ * @returns The number of models.
45
+ */
47
46
  declare const getModelCount: () => number;
48
-
49
47
  export { getModelById, getModelCount, getModels, searchModels };
@@ -1 +1 @@
1
- import{g as o,a,b as d,s as t}from"../packem_shared/xai-DO2i-deZ.js";export{o as getModelById,a as getModelCount,d as getModels,t as searchModels};
1
+ import{g as o,a,b as d,s as t}from"../packem_shared/xai-2PIcrQ0M.js";export{o as getModelById,a as getModelCount,d as getModels,t as searchModels};
package/dist/schema.d.ts CHANGED
@@ -1,91 +1,84 @@
1
1
  import * as z from 'zod';
2
-
3
- declare const ModelSchema: z.ZodObject<{
4
- attachment: z.ZodBoolean;
5
- audioGeneration: z.ZodOptional<z.ZodBoolean>;
6
- batchMode: z.ZodOptional<z.ZodBoolean>;
7
- cacheRead: z.ZodOptional<z.ZodBoolean>;
8
- codeExecution: z.ZodOptional<z.ZodBoolean>;
9
- compoundSystem: z.ZodOptional<z.ZodBoolean>;
10
- cost: z.ZodObject<{
11
- imageGeneration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
- imageGenerationUltra: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13
- input: z.ZodNullable<z.ZodNumber>;
14
- inputCacheHit: z.ZodNullable<z.ZodNumber>;
15
- output: z.ZodNullable<z.ZodNumber>;
16
- videoGeneration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17
- videoGenerationWithAudio: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
- videoGenerationWithoutAudio: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
- }, z.core.$strict>;
20
- deploymentType: z.ZodOptional<z.ZodString>;
21
- description: z.ZodOptional<z.ZodString>;
22
- extendedThinking: z.ZodOptional<z.ZodBoolean>;
23
- icon: z.ZodOptional<z.ZodString>;
24
- id: z.ZodString;
25
- imageGeneration: z.ZodOptional<z.ZodBoolean>;
26
- knowledge: z.ZodNullable<z.ZodString>;
27
- lastUpdated: z.ZodNullable<z.ZodString>;
28
- launchDate: z.ZodOptional<z.ZodString>;
29
- limit: z.ZodObject<{
30
- context: z.ZodNullable<z.ZodNumber>;
31
- output: z.ZodNullable<z.ZodNumber>;
32
- }, z.core.$strict>;
33
- modalities: z.ZodObject<{
34
- input: z.ZodArray<z.ZodString>;
35
- output: z.ZodArray<z.ZodString>;
36
- }, z.core.$strict>;
37
- name: z.ZodNullable<z.ZodString>;
38
- openWeights: z.ZodBoolean;
39
- originalModelId: z.ZodOptional<z.ZodString>;
40
- ownedBy: z.ZodOptional<z.ZodString>;
41
- preview: z.ZodOptional<z.ZodBoolean>;
42
- provider: z.ZodOptional<z.ZodString>;
43
- providerDoc: z.ZodOptional<z.ZodString>;
44
- providerEnv: z.ZodOptional<z.ZodArray<z.ZodString>>;
45
- providerId: z.ZodOptional<z.ZodString>;
46
- providerModelsDevId: z.ZodOptional<z.ZodString>;
47
- providerNpm: z.ZodOptional<z.ZodString>;
48
- providerStatus: z.ZodOptional<z.ZodString>;
49
- reasoning: z.ZodBoolean;
50
- regions: z.ZodOptional<z.ZodArray<z.ZodString>>;
51
- releaseDate: z.ZodNullable<z.ZodString>;
52
- searchGrounding: z.ZodOptional<z.ZodBoolean>;
53
- streamingSupported: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
54
- structuredOutputs: z.ZodOptional<z.ZodBoolean>;
55
- supportsStructuredOutput: z.ZodOptional<z.ZodBoolean>;
56
- supportsTools: z.ZodOptional<z.ZodBoolean>;
57
- temperature: z.ZodBoolean;
58
- thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
- toolCall: z.ZodBoolean;
60
- trainingCutoff: z.ZodOptional<z.ZodNullable<z.ZodString>>;
61
- version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
- versions: z.ZodOptional<z.ZodObject<{
63
- preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
64
- stable: z.ZodOptional<z.ZodNullable<z.ZodString>>;
65
- }, z.core.$strict>>;
66
- vision: z.ZodOptional<z.ZodBoolean>;
67
- }, z.core.$strict>;
68
- type Model = z.infer<typeof ModelSchema>;
69
- declare const ProviderSchema: z.ZodObject<{
70
- capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
71
- description: z.ZodOptional<z.ZodString>;
72
- displayName: z.ZodOptional<z.ZodString>;
73
- doc: z.ZodOptional<z.ZodString>;
74
- env: z.ZodOptional<z.ZodArray<z.ZodString>>;
75
- icon: z.ZodOptional<z.ZodString>;
76
- id: z.ZodString;
77
- modelCount: z.ZodOptional<z.ZodNumber>;
78
- modelsDevId: z.ZodOptional<z.ZodString>;
79
- name: z.ZodString;
80
- npm: z.ZodOptional<z.ZodString>;
81
- status: z.ZodOptional<z.ZodEnum<{
82
- active: "active";
83
- inactive: "inactive";
84
- deprecated: "deprecated";
85
- }>>;
86
- website: z.ZodOptional<z.ZodString>;
87
- }, z.core.$strict>;
88
- type Provider = z.infer<typeof ProviderSchema>;
89
-
90
- export { ModelSchema, ProviderSchema };
91
- export type { Model, Provider };
2
+ interface Model {
3
+ attachment: boolean;
4
+ audioGeneration?: boolean;
5
+ batchMode?: boolean;
6
+ cacheRead?: boolean;
7
+ codeExecution?: boolean;
8
+ compoundSystem?: boolean;
9
+ cost: {
10
+ imageGeneration?: number | null;
11
+ imageGenerationUltra?: number | null;
12
+ input: number | null;
13
+ inputCacheHit: number | null;
14
+ output: number | null;
15
+ videoGeneration?: number | null;
16
+ videoGenerationWithAudio?: number | null;
17
+ videoGenerationWithoutAudio?: number | null;
18
+ };
19
+ deploymentType?: string;
20
+ description?: string;
21
+ extendedThinking?: boolean;
22
+ icon?: string;
23
+ id: string;
24
+ imageGeneration?: boolean;
25
+ knowledge: string | null;
26
+ lastUpdated: string | null;
27
+ launchDate?: string;
28
+ limit: {
29
+ context: number | null;
30
+ output: number | null;
31
+ };
32
+ modalities: {
33
+ input: string[];
34
+ output: string[];
35
+ };
36
+ name: string | null;
37
+ openWeights: boolean;
38
+ originalModelId?: string;
39
+ ownedBy?: string;
40
+ preview?: boolean;
41
+ provider?: string;
42
+ providerDoc?: string;
43
+ providerEnv?: string[];
44
+ providerId?: string;
45
+ providerModelsDevId?: string;
46
+ providerNpm?: string;
47
+ providerStatus?: string;
48
+ reasoning: boolean;
49
+ regions?: string[];
50
+ releaseDate: string | null;
51
+ searchGrounding?: boolean;
52
+ streamingSupported?: boolean | null;
53
+ structuredOutputs?: boolean;
54
+ supportsStructuredOutput?: boolean;
55
+ supportsTools?: boolean;
56
+ temperature: boolean;
57
+ thumbnail?: string | null;
58
+ toolCall: boolean;
59
+ trainingCutoff?: string | null;
60
+ version?: string | null;
61
+ versions?: {
62
+ preview?: string | null;
63
+ stable?: string | null;
64
+ };
65
+ vision?: boolean;
66
+ }
67
+ interface Provider {
68
+ capabilities?: string[];
69
+ description?: string;
70
+ displayName?: string;
71
+ doc?: string;
72
+ env?: string[];
73
+ icon?: string;
74
+ id: string;
75
+ modelCount?: number;
76
+ modelsDevId?: string;
77
+ name: string;
78
+ npm?: string;
79
+ status?: "active" | "deprecated" | "inactive";
80
+ website?: string;
81
+ }
82
+ declare const ModelSchema: z.ZodType<Model>;
83
+ declare const ProviderSchema: z.ZodType<Provider>;
84
+ export { Model, ModelSchema, Provider, ProviderSchema };