@cherrystudio/provider-registry 0.1.3 → 0.2.3
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/data/models.json +123 -4
- package/data/provider-models.json +107 -5
- package/data/providers.json +9 -1
- package/dist/bundled-catalog.cjs +3 -3
- package/dist/bundled-catalog.d.cts +1 -1
- package/dist/bundled-catalog.d.mts +1 -1
- package/dist/bundled-catalog.mjs +3 -3
- package/dist/{bundled-models-CQinRvVj.mjs → bundled-models-BPyEdjS9.mjs} +132 -4
- package/dist/{bundled-models-DcxwVrSp.cjs → bundled-models-BeWftci7.cjs} +132 -4
- package/dist/bundled-models.cjs +1 -1
- package/dist/bundled-models.d.cts +1 -1
- package/dist/bundled-models.d.mts +1 -1
- package/dist/bundled-models.mjs +1 -1
- package/dist/{bundled-provider-models-PiMD7o37.mjs → bundled-provider-models-B2WT-wfU.mjs} +114 -6
- package/dist/{bundled-provider-models-7mWzn4J9.cjs → bundled-provider-models-B3u4RoXN.cjs} +114 -6
- package/dist/bundled-provider-models.cjs +1 -1
- package/dist/bundled-provider-models.d.cts +1 -1
- package/dist/bundled-provider-models.d.mts +1 -1
- package/dist/bundled-provider-models.mjs +1 -1
- package/dist/{bundled-providers-BcszhEy2.mjs → bundled-providers-CJsteihb.mjs} +10 -2
- package/dist/{bundled-providers-Bv_iM9AO.cjs → bundled-providers-CceF8bTD.cjs} +10 -2
- package/dist/bundled-providers.cjs +1 -1
- package/dist/bundled-providers.d.cts +1 -1
- package/dist/bundled-providers.d.mts +1 -1
- package/dist/bundled-providers.mjs +1 -1
- package/dist/index.cjs +13 -3
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +13 -3
- package/dist/{provider-DkSIaann.cjs → provider-C_xJo-Py.cjs} +1 -0
- package/dist/{provider-D14qMZsE.mjs → provider-D2l4EBDl.mjs} +1 -0
- package/dist/{provider-models-BkxD9T17.mjs → provider-models-CCmPfrkT.mjs} +1 -1
- package/dist/{provider-models-DuZBXGmP.d.cts → provider-models-DdTUR-KL.d.cts} +3 -0
- package/dist/{provider-models-DuZBXGmP.d.mts → provider-models-DdTUR-KL.d.mts} +3 -0
- package/dist/{provider-models-BjKC53mr.cjs → provider-models-WeMLH-Dl.cjs} +1 -1
- package/dist/{registry-BjETdicx.d.mts → registry-9E7PzrQ5.d.mts} +1 -1
- package/dist/{registry-Di5ULW6Z.d.cts → registry-CbFrDd-J.d.cts} +1 -1
- package/dist/registry-loader.cjs +2 -2
- package/dist/registry-loader.d.cts +1 -1
- package/dist/registry-loader.d.mts +1 -1
- package/dist/registry-loader.mjs +2 -2
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
//#endregion
|
|
2
2
|
//#region src/bundled-providers.ts
|
|
3
|
-
const bundledProviders = require("./provider-
|
|
3
|
+
const bundledProviders = require("./provider-C_xJo-Py.cjs").ProviderListSchema.parse({
|
|
4
4
|
providers: [
|
|
5
5
|
{
|
|
6
6
|
"availableInEditions": ["global", "cn"],
|
|
@@ -28,6 +28,7 @@ const bundledProviders = require("./provider-DkSIaann.cjs").ProviderListSchema.p
|
|
|
28
28
|
"id": "cherryin",
|
|
29
29
|
"metadata": { "website": {
|
|
30
30
|
"apiKey": "https://open.cherryin.ai/console/token",
|
|
31
|
+
"billing": "https://open.cherryin.ai/console/topup",
|
|
31
32
|
"docs": "https://open.cherryin.ai",
|
|
32
33
|
"models": "https://open.cherryin.ai/pricing",
|
|
33
34
|
"official": "https://open.cherryin.ai"
|
|
@@ -250,6 +251,7 @@ const bundledProviders = require("./provider-DkSIaann.cjs").ProviderListSchema.p
|
|
|
250
251
|
"id": "deepseek",
|
|
251
252
|
"metadata": { "website": {
|
|
252
253
|
"apiKey": "https://platform.deepseek.com/api_keys",
|
|
254
|
+
"billing": "https://platform.deepseek.com/top_up",
|
|
253
255
|
"docs": "https://api-docs.deepseek.com/",
|
|
254
256
|
"models": "https://api-docs.deepseek.com/",
|
|
255
257
|
"official": "https://deepseek.com/"
|
|
@@ -731,6 +733,7 @@ const bundledProviders = require("./provider-DkSIaann.cjs").ProviderListSchema.p
|
|
|
731
733
|
"id": "anthropic",
|
|
732
734
|
"metadata": { "website": {
|
|
733
735
|
"apiKey": "https://console.anthropic.com/settings/keys",
|
|
736
|
+
"billing": "https://platform.claude.com/settings/billing",
|
|
734
737
|
"docs": "https://docs.anthropic.com/en/docs",
|
|
735
738
|
"models": "https://docs.anthropic.com/en/docs/about-claude/models",
|
|
736
739
|
"official": "https://anthropic.com/"
|
|
@@ -957,6 +960,7 @@ const bundledProviders = require("./provider-DkSIaann.cjs").ProviderListSchema.p
|
|
|
957
960
|
"id": "openai",
|
|
958
961
|
"metadata": { "website": {
|
|
959
962
|
"apiKey": "https://platform.openai.com/api-keys",
|
|
963
|
+
"billing": "https://platform.openai.com/settings/organization/billing/overview",
|
|
960
964
|
"docs": "https://platform.openai.com/docs",
|
|
961
965
|
"models": "https://platform.openai.com/docs/models",
|
|
962
966
|
"official": "https://openai.com/"
|
|
@@ -2002,6 +2006,10 @@ const bundledProviders = require("./provider-DkSIaann.cjs").ProviderListSchema.p
|
|
|
2002
2006
|
"adapterFamily": "anthropic",
|
|
2003
2007
|
"baseUrl": "https://router.huggingface.co/v1/"
|
|
2004
2008
|
},
|
|
2009
|
+
"openai-chat-completions": {
|
|
2010
|
+
"adapterFamily": "openai-compatible",
|
|
2011
|
+
"baseUrl": "https://router.huggingface.co/v1"
|
|
2012
|
+
},
|
|
2005
2013
|
"openai-responses": {
|
|
2006
2014
|
"adapterFamily": "open-responses",
|
|
2007
2015
|
"baseUrl": "https://router.huggingface.co/v1/"
|
|
@@ -2165,7 +2173,7 @@ const bundledProviders = require("./provider-DkSIaann.cjs").ProviderListSchema.p
|
|
|
2165
2173
|
"presetProviderId": "minimax"
|
|
2166
2174
|
}
|
|
2167
2175
|
],
|
|
2168
|
-
version: "
|
|
2176
|
+
version: "1b44511badb438e6"
|
|
2169
2177
|
});
|
|
2170
2178
|
//#endregion
|
|
2171
2179
|
Object.defineProperty(exports, "bundledProviders", {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_bundled_providers = require("./bundled-providers-
|
|
2
|
+
const require_bundled_providers = require("./bundled-providers-CceF8bTD.cjs");
|
|
3
3
|
exports.bundledProviders = require_bundled_providers.bundledProviders;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as bundledProviders } from "./bundled-providers-
|
|
1
|
+
import { t as bundledProviders } from "./bundled-providers-CJsteihb.mjs";
|
|
2
2
|
export { bundledProviders };
|
package/dist/index.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_model = require("./model-kwW2vWDI.cjs");
|
|
3
3
|
const require_catalog = require("./catalog-DurdOhD0.cjs");
|
|
4
|
-
const require_provider = require("./provider-
|
|
5
|
-
const require_provider_models = require("./provider-models-
|
|
4
|
+
const require_provider = require("./provider-C_xJo-Py.cjs");
|
|
5
|
+
const require_provider_models = require("./provider-models-WeMLH-Dl.cjs");
|
|
6
6
|
let zod = require("zod");
|
|
7
7
|
zod = require_model.__toESM(zod, 1);
|
|
8
8
|
//#region src/registry.ts
|
|
@@ -1079,9 +1079,19 @@ const REASONING_FAMILY_RULES = [
|
|
|
1079
1079
|
pattern: "^longcat-2[.-]0$",
|
|
1080
1080
|
toggle: true
|
|
1081
1081
|
},
|
|
1082
|
+
{
|
|
1083
|
+
pattern: "^muse-spark-open(?:-|$)",
|
|
1084
|
+
effort: [
|
|
1085
|
+
"low",
|
|
1086
|
+
"medium",
|
|
1087
|
+
"high",
|
|
1088
|
+
"xhigh"
|
|
1089
|
+
],
|
|
1090
|
+
toggle: false
|
|
1091
|
+
},
|
|
1082
1092
|
{ pattern: "^muse-spark" },
|
|
1083
1093
|
{
|
|
1084
|
-
pattern: "^minimax-m3[.-]1-flash
|
|
1094
|
+
pattern: "^minimax-m3[.-]1-flash$",
|
|
1085
1095
|
effort: [
|
|
1086
1096
|
"low",
|
|
1087
1097
|
"medium",
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as ModelPricing, A as Currency, B as SERVER_TOOL, C as ServiceTierRequestControl, D as CANONICAL_PARAM_KEY, E as ServiceTierSelectionSchema, F as Modality, G as ImageGenerationMode, H as ServerTool, I as ModelCapability, J as ImageGenerationSupportSchema, K as ImageGenerationModeSchema, L as REASONING_EFFORT, M as EndpointType, N as MODALITY, O as CURRENCY, P as MODEL_CAPABILITY, Q as ModelListSchema, R as REASONING_EFFORT_ORDER, S as ServiceTierOptionsSchema, T as ServiceTierSelection, U as ServerToolModelScope, V as SERVER_TOOL_MODEL_SCOPE, W as objectValues, X as ModelConfig, Y as ImageModeDef, Z as ModelConfigSchema, _ as ServerToolConfig, a as ProviderModelReasoningContractSchema, b as ServiceTierDeliverySchema, c as ProviderConfig, d as ProviderEditionSchema, et as ReasoningControl, f as ProviderListSchema, g as RegistryEndpointConfig, h as ReasoningFormatType, i as ProviderModelReasoningContract, it as SupportSpec, j as ENDPOINT_TYPE, k as CanonicalParamKey, l as ProviderConfigSchema, m as REASONING_FORMAT_TYPES, n as ProviderModelOverride, nt as ReasoningSupport, o as EndpointDialect, p as ProviderReasoningFormat, q as ImageGenerationSupport, r as ProviderModelOverrideSchema, rt as ReasoningWireDialect, s as FastModeTransportSchema, t as ProviderModelListSchema, tt as ReasoningControlSchema, u as ProviderEdition, v as ServerToolConfigSchema, w as ServiceTierRequestControlSchema, x as ServiceTierOptions, y as ServiceTierDelivery, z as ReasoningEffort } from "./provider-models-
|
|
2
|
-
import { a as parseModelSnapshot, i as createRegistry, n as Registry, r as RegistryCatalog, t as ModelSnapshot } from "./registry-
|
|
1
|
+
import { $ as ModelPricing, A as Currency, B as SERVER_TOOL, C as ServiceTierRequestControl, D as CANONICAL_PARAM_KEY, E as ServiceTierSelectionSchema, F as Modality, G as ImageGenerationMode, H as ServerTool, I as ModelCapability, J as ImageGenerationSupportSchema, K as ImageGenerationModeSchema, L as REASONING_EFFORT, M as EndpointType, N as MODALITY, O as CURRENCY, P as MODEL_CAPABILITY, Q as ModelListSchema, R as REASONING_EFFORT_ORDER, S as ServiceTierOptionsSchema, T as ServiceTierSelection, U as ServerToolModelScope, V as SERVER_TOOL_MODEL_SCOPE, W as objectValues, X as ModelConfig, Y as ImageModeDef, Z as ModelConfigSchema, _ as ServerToolConfig, a as ProviderModelReasoningContractSchema, b as ServiceTierDeliverySchema, c as ProviderConfig, d as ProviderEditionSchema, et as ReasoningControl, f as ProviderListSchema, g as RegistryEndpointConfig, h as ReasoningFormatType, i as ProviderModelReasoningContract, it as SupportSpec, j as ENDPOINT_TYPE, k as CanonicalParamKey, l as ProviderConfigSchema, m as REASONING_FORMAT_TYPES, n as ProviderModelOverride, nt as ReasoningSupport, o as EndpointDialect, p as ProviderReasoningFormat, q as ImageGenerationSupport, r as ProviderModelOverrideSchema, rt as ReasoningWireDialect, s as FastModeTransportSchema, t as ProviderModelListSchema, tt as ReasoningControlSchema, u as ProviderEdition, v as ServerToolConfigSchema, w as ServiceTierRequestControlSchema, x as ServiceTierOptions, y as ServiceTierDelivery, z as ReasoningEffort } from "./provider-models-DdTUR-KL.cjs";
|
|
2
|
+
import { a as parseModelSnapshot, i as createRegistry, n as Registry, r as RegistryCatalog, t as ModelSnapshot } from "./registry-CbFrDd-J.cjs";
|
|
3
3
|
import { a as REGISTRY_SCHEMA_VERSION, c as RemoteRegistryFileName, i as REGISTRY_MIN_APP_VERSION, n as CatalogManifestSchema, o as REMOTE_REGISTRY_FILES, r as REGISTRY_FILES, s as RegistryFileName, t as CatalogManifest } from "./catalog-XJyrtwI9.cjs";
|
|
4
4
|
import * as z from "zod";
|
|
5
5
|
//#region src/schemas/imageParamCatalog.d.ts
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as ModelPricing, A as Currency, B as SERVER_TOOL, C as ServiceTierRequestControl, D as CANONICAL_PARAM_KEY, E as ServiceTierSelectionSchema, F as Modality, G as ImageGenerationMode, H as ServerTool, I as ModelCapability, J as ImageGenerationSupportSchema, K as ImageGenerationModeSchema, L as REASONING_EFFORT, M as EndpointType, N as MODALITY, O as CURRENCY, P as MODEL_CAPABILITY, Q as ModelListSchema, R as REASONING_EFFORT_ORDER, S as ServiceTierOptionsSchema, T as ServiceTierSelection, U as ServerToolModelScope, V as SERVER_TOOL_MODEL_SCOPE, W as objectValues, X as ModelConfig, Y as ImageModeDef, Z as ModelConfigSchema, _ as ServerToolConfig, a as ProviderModelReasoningContractSchema, b as ServiceTierDeliverySchema, c as ProviderConfig, d as ProviderEditionSchema, et as ReasoningControl, f as ProviderListSchema, g as RegistryEndpointConfig, h as ReasoningFormatType, i as ProviderModelReasoningContract, it as SupportSpec, j as ENDPOINT_TYPE, k as CanonicalParamKey, l as ProviderConfigSchema, m as REASONING_FORMAT_TYPES, n as ProviderModelOverride, nt as ReasoningSupport, o as EndpointDialect, p as ProviderReasoningFormat, q as ImageGenerationSupport, r as ProviderModelOverrideSchema, rt as ReasoningWireDialect, s as FastModeTransportSchema, t as ProviderModelListSchema, tt as ReasoningControlSchema, u as ProviderEdition, v as ServerToolConfigSchema, w as ServiceTierRequestControlSchema, x as ServiceTierOptions, y as ServiceTierDelivery, z as ReasoningEffort } from "./provider-models-
|
|
2
|
-
import { a as parseModelSnapshot, i as createRegistry, n as Registry, r as RegistryCatalog, t as ModelSnapshot } from "./registry-
|
|
1
|
+
import { $ as ModelPricing, A as Currency, B as SERVER_TOOL, C as ServiceTierRequestControl, D as CANONICAL_PARAM_KEY, E as ServiceTierSelectionSchema, F as Modality, G as ImageGenerationMode, H as ServerTool, I as ModelCapability, J as ImageGenerationSupportSchema, K as ImageGenerationModeSchema, L as REASONING_EFFORT, M as EndpointType, N as MODALITY, O as CURRENCY, P as MODEL_CAPABILITY, Q as ModelListSchema, R as REASONING_EFFORT_ORDER, S as ServiceTierOptionsSchema, T as ServiceTierSelection, U as ServerToolModelScope, V as SERVER_TOOL_MODEL_SCOPE, W as objectValues, X as ModelConfig, Y as ImageModeDef, Z as ModelConfigSchema, _ as ServerToolConfig, a as ProviderModelReasoningContractSchema, b as ServiceTierDeliverySchema, c as ProviderConfig, d as ProviderEditionSchema, et as ReasoningControl, f as ProviderListSchema, g as RegistryEndpointConfig, h as ReasoningFormatType, i as ProviderModelReasoningContract, it as SupportSpec, j as ENDPOINT_TYPE, k as CanonicalParamKey, l as ProviderConfigSchema, m as REASONING_FORMAT_TYPES, n as ProviderModelOverride, nt as ReasoningSupport, o as EndpointDialect, p as ProviderReasoningFormat, q as ImageGenerationSupport, r as ProviderModelOverrideSchema, rt as ReasoningWireDialect, s as FastModeTransportSchema, t as ProviderModelListSchema, tt as ReasoningControlSchema, u as ProviderEdition, v as ServerToolConfigSchema, w as ServiceTierRequestControlSchema, x as ServiceTierOptions, y as ServiceTierDelivery, z as ReasoningEffort } from "./provider-models-DdTUR-KL.mjs";
|
|
2
|
+
import { a as parseModelSnapshot, i as createRegistry, n as Registry, r as RegistryCatalog, t as ModelSnapshot } from "./registry-9E7PzrQ5.mjs";
|
|
3
3
|
import { a as REGISTRY_SCHEMA_VERSION, c as RemoteRegistryFileName, i as REGISTRY_MIN_APP_VERSION, n as CatalogManifestSchema, o as REMOTE_REGISTRY_FILES, r as REGISTRY_FILES, s as RegistryFileName, t as CatalogManifest } from "./catalog-XJyrtwI9.mjs";
|
|
4
4
|
import * as z from "zod";
|
|
5
5
|
//#region src/schemas/imageParamCatalog.d.ts
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as REMOTE_REGISTRY_FILES, c as normalizeModelId, d as stripDateSnapshot, f as stripVariantQuantDateSuffixes, i as REGISTRY_SCHEMA_VERSION, l as stripBedrockDottedVendorPrefix, n as REGISTRY_FILES, o as ModelIndex, r as REGISTRY_MIN_APP_VERSION, s as ProviderModelIndex, t as CatalogManifestSchema, u as stripBedrockRevision } from "./catalog-DElG_l-8.mjs";
|
|
2
2
|
import { C as REASONING_EFFORT, D as objectValues, E as SERVER_TOOL_MODEL_SCOPE, S as MODEL_CAPABILITY, T as SERVER_TOOL, a as ModelConfigSchema, b as ENDPOINT_TYPE, l as ReasoningControlSchema, n as ImageGenerationSupportSchema, o as ModelListSchema, t as ImageGenerationModeSchema, v as CANONICAL_PARAM_KEY, w as REASONING_EFFORT_ORDER, x as MODALITY, y as CURRENCY } from "./model-NFEbqWMs.mjs";
|
|
3
|
-
import { a as REASONING_FORMAT_TYPES, c as ServiceTierOptionsSchema, d as REASONING_WIRE_TARGETS, f as ReasoningFormatWireProfileSchema, g as matchVendor, h as isVendor, i as ProviderListSchema, l as ServiceTierRequestControlSchema, m as VENDOR_PATTERNS, n as ProviderConfigSchema, o as ServerToolConfigSchema, p as ReasoningWireProfileSchema, r as ProviderEditionSchema, s as ServiceTierDeliverySchema, t as FastModeTransportSchema, u as ServiceTierSelectionSchema } from "./provider-
|
|
4
|
-
import { n as ProviderModelOverrideSchema, r as ProviderModelReasoningContractSchema, t as ProviderModelListSchema } from "./provider-models-
|
|
3
|
+
import { a as REASONING_FORMAT_TYPES, c as ServiceTierOptionsSchema, d as REASONING_WIRE_TARGETS, f as ReasoningFormatWireProfileSchema, g as matchVendor, h as isVendor, i as ProviderListSchema, l as ServiceTierRequestControlSchema, m as VENDOR_PATTERNS, n as ProviderConfigSchema, o as ServerToolConfigSchema, p as ReasoningWireProfileSchema, r as ProviderEditionSchema, s as ServiceTierDeliverySchema, t as FastModeTransportSchema, u as ServiceTierSelectionSchema } from "./provider-D2l4EBDl.mjs";
|
|
4
|
+
import { n as ProviderModelOverrideSchema, r as ProviderModelReasoningContractSchema, t as ProviderModelListSchema } from "./provider-models-CCmPfrkT.mjs";
|
|
5
5
|
import * as z from "zod";
|
|
6
6
|
//#region src/registry.ts
|
|
7
7
|
/** Parse untrusted model metadata; provider routing is supplied separately by the application. */
|
|
@@ -1077,9 +1077,19 @@ const REASONING_FAMILY_RULES = [
|
|
|
1077
1077
|
pattern: "^longcat-2[.-]0$",
|
|
1078
1078
|
toggle: true
|
|
1079
1079
|
},
|
|
1080
|
+
{
|
|
1081
|
+
pattern: "^muse-spark-open(?:-|$)",
|
|
1082
|
+
effort: [
|
|
1083
|
+
"low",
|
|
1084
|
+
"medium",
|
|
1085
|
+
"high",
|
|
1086
|
+
"xhigh"
|
|
1087
|
+
],
|
|
1088
|
+
toggle: false
|
|
1089
|
+
},
|
|
1080
1090
|
{ pattern: "^muse-spark" },
|
|
1081
1091
|
{
|
|
1082
|
-
pattern: "^minimax-m3[.-]1-flash
|
|
1092
|
+
pattern: "^minimax-m3[.-]1-flash$",
|
|
1083
1093
|
effort: [
|
|
1084
1094
|
"low",
|
|
1085
1095
|
"medium",
|
|
@@ -290,6 +290,7 @@ const ProviderReasoningFormatSchema = zod.discriminatedUnion("type", [
|
|
|
290
290
|
]);
|
|
291
291
|
const REASONING_FORMAT_TYPES = ProviderReasoningFormatSchema.options.map((option) => option.shape.type.value);
|
|
292
292
|
const ProviderWebsiteSchema = zod.object({ website: zod.object({
|
|
293
|
+
billing: zod.url().optional(),
|
|
293
294
|
official: zod.url().optional(),
|
|
294
295
|
docs: zod.url().optional(),
|
|
295
296
|
apiKey: zod.url().optional(),
|
|
@@ -289,6 +289,7 @@ const ProviderReasoningFormatSchema = z.discriminatedUnion("type", [
|
|
|
289
289
|
]);
|
|
290
290
|
const REASONING_FORMAT_TYPES = ProviderReasoningFormatSchema.options.map((option) => option.shape.type.value);
|
|
291
291
|
const ProviderWebsiteSchema = z.object({ website: z.object({
|
|
292
|
+
billing: z.url().optional(),
|
|
292
293
|
official: z.url().optional(),
|
|
293
294
|
docs: z.url().optional(),
|
|
294
295
|
apiKey: z.url().optional(),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { b as ENDPOINT_TYPE, c as PartialModelPricingSchema, d as looseArray, f as EndpointTypeSchema, g as VersionSchema, h as ProviderIdSchema, i as ModelCapabilityTypeSchema, m as ModelIdSchema, n as ImageGenerationSupportSchema, r as ModalitySchema, s as ParameterSupportSchema, u as ReasoningSupportSchema } from "./model-NFEbqWMs.mjs";
|
|
2
|
-
import { c as ServiceTierOptionsSchema, p as ReasoningWireProfileSchema } from "./provider-
|
|
2
|
+
import { c as ServiceTierOptionsSchema, p as ReasoningWireProfileSchema } from "./provider-D2l4EBDl.mjs";
|
|
3
3
|
import * as z from "zod";
|
|
4
4
|
//#region src/schemas/provider-models.ts
|
|
5
5
|
/**
|
|
@@ -18915,6 +18915,7 @@ declare const ProviderConfigSchema: z.ZodObject<{
|
|
|
18915
18915
|
}, z.core.$strip>>;
|
|
18916
18916
|
metadata: z.ZodIntersection<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>, z.ZodObject<{
|
|
18917
18917
|
website: z.ZodObject<{
|
|
18918
|
+
billing: z.ZodOptional<z.ZodURL>;
|
|
18918
18919
|
official: z.ZodOptional<z.ZodURL>;
|
|
18919
18920
|
docs: z.ZodOptional<z.ZodURL>;
|
|
18920
18921
|
apiKey: z.ZodOptional<z.ZodURL>;
|
|
@@ -18939,6 +18940,7 @@ declare const ProviderListSchema: z.ZodObject<{
|
|
|
18939
18940
|
reportsActualCost: boolean;
|
|
18940
18941
|
metadata: Record<string, unknown> & {
|
|
18941
18942
|
website: {
|
|
18943
|
+
billing?: string | undefined;
|
|
18942
18944
|
official?: string | undefined;
|
|
18943
18945
|
docs?: string | undefined;
|
|
18944
18946
|
apiKey?: string | undefined;
|
|
@@ -21120,6 +21122,7 @@ declare const ProviderListSchema: z.ZodObject<{
|
|
|
21120
21122
|
reportsActualCost: boolean;
|
|
21121
21123
|
metadata: Record<string, unknown> & {
|
|
21122
21124
|
website: {
|
|
21125
|
+
billing?: string | undefined;
|
|
21123
21126
|
official?: string | undefined;
|
|
21124
21127
|
docs?: string | undefined;
|
|
21125
21128
|
apiKey?: string | undefined;
|
|
@@ -18915,6 +18915,7 @@ declare const ProviderConfigSchema: z.ZodObject<{
|
|
|
18915
18915
|
}, z.core.$strip>>;
|
|
18916
18916
|
metadata: z.ZodIntersection<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>, z.ZodObject<{
|
|
18917
18917
|
website: z.ZodObject<{
|
|
18918
|
+
billing: z.ZodOptional<z.ZodURL>;
|
|
18918
18919
|
official: z.ZodOptional<z.ZodURL>;
|
|
18919
18920
|
docs: z.ZodOptional<z.ZodURL>;
|
|
18920
18921
|
apiKey: z.ZodOptional<z.ZodURL>;
|
|
@@ -18939,6 +18940,7 @@ declare const ProviderListSchema: z.ZodObject<{
|
|
|
18939
18940
|
reportsActualCost: boolean;
|
|
18940
18941
|
metadata: Record<string, unknown> & {
|
|
18941
18942
|
website: {
|
|
18943
|
+
billing?: string | undefined;
|
|
18942
18944
|
official?: string | undefined;
|
|
18943
18945
|
docs?: string | undefined;
|
|
18944
18946
|
apiKey?: string | undefined;
|
|
@@ -21120,6 +21122,7 @@ declare const ProviderListSchema: z.ZodObject<{
|
|
|
21120
21122
|
reportsActualCost: boolean;
|
|
21121
21123
|
metadata: Record<string, unknown> & {
|
|
21122
21124
|
website: {
|
|
21125
|
+
billing?: string | undefined;
|
|
21123
21126
|
official?: string | undefined;
|
|
21124
21127
|
docs?: string | undefined;
|
|
21125
21128
|
apiKey?: string | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_model = require("./model-kwW2vWDI.cjs");
|
|
2
|
-
const require_provider = require("./provider-
|
|
2
|
+
const require_provider = require("./provider-C_xJo-Py.cjs");
|
|
3
3
|
let zod = require("zod");
|
|
4
4
|
zod = require_model.__toESM(zod, 1);
|
|
5
5
|
//#region src/schemas/provider-models.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { X as ModelConfig, c as ProviderConfig, n as ProviderModelOverride } from "./provider-models-
|
|
1
|
+
import { X as ModelConfig, c as ProviderConfig, n as ProviderModelOverride } from "./provider-models-DdTUR-KL.mjs";
|
|
2
2
|
//#region src/registry.d.ts
|
|
3
3
|
interface ModelSnapshot {
|
|
4
4
|
readonly models: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { X as ModelConfig, c as ProviderConfig, n as ProviderModelOverride } from "./provider-models-
|
|
1
|
+
import { X as ModelConfig, c as ProviderConfig, n as ProviderModelOverride } from "./provider-models-DdTUR-KL.cjs";
|
|
2
2
|
//#region src/registry.d.ts
|
|
3
3
|
interface ModelSnapshot {
|
|
4
4
|
readonly models: {
|
package/dist/registry-loader.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_model = require("./model-kwW2vWDI.cjs");
|
|
3
3
|
const require_catalog = require("./catalog-DurdOhD0.cjs");
|
|
4
|
-
const require_provider = require("./provider-
|
|
5
|
-
const require_provider_models = require("./provider-models-
|
|
4
|
+
const require_provider = require("./provider-C_xJo-Py.cjs");
|
|
5
|
+
const require_provider_models = require("./provider-models-WeMLH-Dl.cjs");
|
|
6
6
|
let node_fs = require("node:fs");
|
|
7
7
|
let semver = require("semver");
|
|
8
8
|
semver = require_model.__toESM(semver, 1);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Q as ModelListSchema, X as ModelConfig, c as ProviderConfig, f as ProviderListSchema, n as ProviderModelOverride, t as ProviderModelListSchema } from "./provider-models-
|
|
1
|
+
import { Q as ModelListSchema, X as ModelConfig, c as ProviderConfig, f as ProviderListSchema, n as ProviderModelOverride, t as ProviderModelListSchema } from "./provider-models-DdTUR-KL.cjs";
|
|
2
2
|
import { a as REGISTRY_SCHEMA_VERSION, c as RemoteRegistryFileName, i as REGISTRY_MIN_APP_VERSION, n as CatalogManifestSchema, o as REMOTE_REGISTRY_FILES, r as REGISTRY_FILES, s as RegistryFileName, t as CatalogManifest } from "./catalog-XJyrtwI9.cjs";
|
|
3
3
|
//#region src/registry-loader.d.ts
|
|
4
4
|
/** Whether this app lies inside the manifest's explicit semantic and freshness range. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Q as ModelListSchema, X as ModelConfig, c as ProviderConfig, f as ProviderListSchema, n as ProviderModelOverride, t as ProviderModelListSchema } from "./provider-models-
|
|
1
|
+
import { Q as ModelListSchema, X as ModelConfig, c as ProviderConfig, f as ProviderListSchema, n as ProviderModelOverride, t as ProviderModelListSchema } from "./provider-models-DdTUR-KL.mjs";
|
|
2
2
|
import { a as REGISTRY_SCHEMA_VERSION, c as RemoteRegistryFileName, i as REGISTRY_MIN_APP_VERSION, n as CatalogManifestSchema, o as REMOTE_REGISTRY_FILES, r as REGISTRY_FILES, s as RegistryFileName, t as CatalogManifest } from "./catalog-XJyrtwI9.mjs";
|
|
3
3
|
//#region src/registry-loader.d.ts
|
|
4
4
|
/** Whether this app lies inside the manifest's explicit semantic and freshness range. */
|
package/dist/registry-loader.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as REMOTE_REGISTRY_FILES, i as REGISTRY_SCHEMA_VERSION, n as REGISTRY_FILES, o as ModelIndex, r as REGISTRY_MIN_APP_VERSION, s as ProviderModelIndex, t as CatalogManifestSchema } from "./catalog-DElG_l-8.mjs";
|
|
2
2
|
import { o as ModelListSchema } from "./model-NFEbqWMs.mjs";
|
|
3
|
-
import { i as ProviderListSchema } from "./provider-
|
|
4
|
-
import { t as ProviderModelListSchema } from "./provider-models-
|
|
3
|
+
import { i as ProviderListSchema } from "./provider-D2l4EBDl.mjs";
|
|
4
|
+
import { t as ProviderModelListSchema } from "./provider-models-CCmPfrkT.mjs";
|
|
5
5
|
import { readFileSync } from "node:fs";
|
|
6
6
|
import semver from "semver";
|
|
7
7
|
//#region src/registry-loader.ts
|
package/package.json
CHANGED