@cherrystudio/provider-registry 0.2.9 → 0.3.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.
- package/README.md +9 -0
- package/data/provider-models.json +2679 -1
- package/data/providers.json +82 -10
- package/dist/bundled-catalog.cjs +2 -2
- package/dist/bundled-catalog.mjs +2 -2
- package/dist/{bundled-provider-models-DaZD5jmF.cjs → bundled-provider-models-BamyeDMo.cjs} +2205 -1
- package/dist/{bundled-provider-models-DtkGlrM0.mjs → bundled-provider-models-Dq6gyi6y.mjs} +2205 -1
- package/dist/bundled-provider-models.cjs +1 -1
- package/dist/bundled-provider-models.mjs +1 -1
- package/dist/{bundled-providers-ClAtcIXe.cjs → bundled-providers-DDaIJr0L.cjs} +85 -18
- package/dist/{bundled-providers-BuBDiy4v.mjs → bundled-providers-DVkp3JYL.mjs} +85 -18
- package/dist/bundled-providers.cjs +1 -1
- package/dist/bundled-providers.mjs +1 -1
- package/dist/index.cjs +566 -445
- package/dist/index.d.cts +6 -1
- package/dist/index.d.mts +6 -1
- package/dist/index.mjs +566 -445
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -3927,6 +3927,11 @@ declare function supportsServerToolFunctionMixing(rawModelId: string): boolean;
|
|
|
3927
3927
|
declare function isWebSearchEffortUnsupported(rawModelId: string, effort: string): boolean;
|
|
3928
3928
|
//#endregion
|
|
3929
3929
|
//#region src/patterns/serverToolModelEligibility.d.ts
|
|
3930
|
-
|
|
3930
|
+
/**
|
|
3931
|
+
* A model is eligible when SOME declaration claims it and — once the caller pins the request's
|
|
3932
|
+
* endpoint — that same declaration serves the endpoint. An undefined endpoint never excludes by
|
|
3933
|
+
* endpoint, so broad "is this model declared" queries keep working.
|
|
3934
|
+
*/
|
|
3935
|
+
declare function isServerToolModelEligible(rawModelId: string, providerId: string, tool: ServerTool, endpointType?: EndpointType): boolean;
|
|
3931
3936
|
//#endregion
|
|
3932
3937
|
export { CANONICAL_PARAM_KEY, CURRENCY, type CanonicalParamKey, type CatalogManifest, CatalogManifestSchema, type Currency, type DerivedReasoningFields, ENDPOINT_TYPE, type EndpointDialect, type EndpointType, FastModeTransportSchema, IMAGE_PARAM_CATALOG, IMAGE_PARAM_CATALOG_KEYS, type ImageGenerationMode, ImageGenerationModeSchema, type ImageGenerationSupport, ImageGenerationSupportSchema, type ImageModeDef, type ImageParamCatalogEntry, MODALITY, MODEL_CAPABILITY, type Modality, type ModelCapability, type ModelConfig, type ModelConfig as ProtoModelConfig, ModelConfigSchema, ModelListSchema, type ModelLookupResult, type ModelPricing, type ModelPricing as ProtoModelPricing, type ModelSnapshot, type ParamValue, type ParamValues, type PersistedEndpointConfig, type ProviderConfig as ProtoProviderConfig, type ProviderConfig, type ProviderModelOverride as ProtoProviderModelOverride, type ProviderModelOverride, type ProviderReasoningFormat as ProtoProviderReasoningFormat, type ProviderReasoningFormat, type ReasoningSupport as ProtoReasoningSupport, type ReasoningSupport, ProviderConfigSchema, type ProviderEdition, ProviderEditionSchema, ProviderListSchema, ProviderModelListSchema, ProviderModelOverrideSchema, type ProviderModelReasoningContract, ProviderModelReasoningContractSchema, REASONING_EFFORT, REASONING_EFFORT_ORDER, REASONING_FORMAT_PROFILES, REASONING_FORMAT_TYPES, REASONING_WIRE_TARGETS, REGISTRY_FILES, REGISTRY_MIN_APP_VERSION, REGISTRY_SCHEMA_VERSION, REMOTE_REGISTRY_FILES, type ReasoningControl, ReasoningControlSchema, type ReasoningEffort, type ReasoningFormatType, type ReasoningFormatWireProfile, ReasoningFormatWireProfileSchema, type ReasoningWireDialect, type ReasoningWireMode, type ReasoningWireOperation, type ReasoningWireProfile, ReasoningWireProfileSchema, type ReasoningWireTarget, type ReasoningWireValue, type Registry, type RegistryCatalog, type RegistryEndpointConfig, type RegistryFileName, type RemoteRegistryFileName, SERVER_TOOL, SERVER_TOOL_MODEL_SCOPE, type ServerTool, type ServerToolConfig, ServerToolConfigSchema, type ServerToolModelScope, type ServiceTierDelivery, ServiceTierDeliverySchema, type ServiceTierOptions, ServiceTierOptionsSchema, type ServiceTierRequestControl, ServiceTierRequestControlSchema, type ServiceTierSelection, ServiceTierSelectionSchema, type SupportSpec, VENDOR_PATTERNS, type VendorKey, buildParamsSchema, buildPersistedEndpointConfigs, configureOpenAIResponsesSummary, createRegistry, deriveLegacyReasoningFields, endpointImpliedCapability, imageParamsSchema, inferAdapterFamily, inferReasoningControls, inferReasoningMembership, inferReasoningOwnedBy, isServerToolModelEligible, isVendor, isWebSearchEffortUnsupported, lookupRegistryModel, lookupRegistryProvider, matchVendor, normalizeImageParamNumber, normalizeModelId, objectValues, openaiResponsesSummaryWire, paramCatalogEntry, parseImageParamValue, parseModelSnapshot, selectFormatWire, stripBedrockDottedVendorPrefix, stripBedrockRevision, stripDateSnapshot, stripVariantQuantDateSuffixes, supportsServerToolFunctionMixing, wireName };
|
package/dist/index.d.mts
CHANGED
|
@@ -3927,6 +3927,11 @@ declare function supportsServerToolFunctionMixing(rawModelId: string): boolean;
|
|
|
3927
3927
|
declare function isWebSearchEffortUnsupported(rawModelId: string, effort: string): boolean;
|
|
3928
3928
|
//#endregion
|
|
3929
3929
|
//#region src/patterns/serverToolModelEligibility.d.ts
|
|
3930
|
-
|
|
3930
|
+
/**
|
|
3931
|
+
* A model is eligible when SOME declaration claims it and — once the caller pins the request's
|
|
3932
|
+
* endpoint — that same declaration serves the endpoint. An undefined endpoint never excludes by
|
|
3933
|
+
* endpoint, so broad "is this model declared" queries keep working.
|
|
3934
|
+
*/
|
|
3935
|
+
declare function isServerToolModelEligible(rawModelId: string, providerId: string, tool: ServerTool, endpointType?: EndpointType): boolean;
|
|
3931
3936
|
//#endregion
|
|
3932
3937
|
export { CANONICAL_PARAM_KEY, CURRENCY, type CanonicalParamKey, type CatalogManifest, CatalogManifestSchema, type Currency, type DerivedReasoningFields, ENDPOINT_TYPE, type EndpointDialect, type EndpointType, FastModeTransportSchema, IMAGE_PARAM_CATALOG, IMAGE_PARAM_CATALOG_KEYS, type ImageGenerationMode, ImageGenerationModeSchema, type ImageGenerationSupport, ImageGenerationSupportSchema, type ImageModeDef, type ImageParamCatalogEntry, MODALITY, MODEL_CAPABILITY, type Modality, type ModelCapability, type ModelConfig, type ModelConfig as ProtoModelConfig, ModelConfigSchema, ModelListSchema, type ModelLookupResult, type ModelPricing, type ModelPricing as ProtoModelPricing, type ModelSnapshot, type ParamValue, type ParamValues, type PersistedEndpointConfig, type ProviderConfig as ProtoProviderConfig, type ProviderConfig, type ProviderModelOverride as ProtoProviderModelOverride, type ProviderModelOverride, type ProviderReasoningFormat as ProtoProviderReasoningFormat, type ProviderReasoningFormat, type ReasoningSupport as ProtoReasoningSupport, type ReasoningSupport, ProviderConfigSchema, type ProviderEdition, ProviderEditionSchema, ProviderListSchema, ProviderModelListSchema, ProviderModelOverrideSchema, type ProviderModelReasoningContract, ProviderModelReasoningContractSchema, REASONING_EFFORT, REASONING_EFFORT_ORDER, REASONING_FORMAT_PROFILES, REASONING_FORMAT_TYPES, REASONING_WIRE_TARGETS, REGISTRY_FILES, REGISTRY_MIN_APP_VERSION, REGISTRY_SCHEMA_VERSION, REMOTE_REGISTRY_FILES, type ReasoningControl, ReasoningControlSchema, type ReasoningEffort, type ReasoningFormatType, type ReasoningFormatWireProfile, ReasoningFormatWireProfileSchema, type ReasoningWireDialect, type ReasoningWireMode, type ReasoningWireOperation, type ReasoningWireProfile, ReasoningWireProfileSchema, type ReasoningWireTarget, type ReasoningWireValue, type Registry, type RegistryCatalog, type RegistryEndpointConfig, type RegistryFileName, type RemoteRegistryFileName, SERVER_TOOL, SERVER_TOOL_MODEL_SCOPE, type ServerTool, type ServerToolConfig, ServerToolConfigSchema, type ServerToolModelScope, type ServiceTierDelivery, ServiceTierDeliverySchema, type ServiceTierOptions, ServiceTierOptionsSchema, type ServiceTierRequestControl, ServiceTierRequestControlSchema, type ServiceTierSelection, ServiceTierSelectionSchema, type SupportSpec, VENDOR_PATTERNS, type VendorKey, buildParamsSchema, buildPersistedEndpointConfigs, configureOpenAIResponsesSummary, createRegistry, deriveLegacyReasoningFields, endpointImpliedCapability, imageParamsSchema, inferAdapterFamily, inferReasoningControls, inferReasoningMembership, inferReasoningOwnedBy, isServerToolModelEligible, isVendor, isWebSearchEffortUnsupported, lookupRegistryModel, lookupRegistryProvider, matchVendor, normalizeImageParamNumber, normalizeModelId, objectValues, openaiResponsesSummaryWire, paramCatalogEntry, parseImageParamValue, parseModelSnapshot, selectFormatWire, stripBedrockDottedVendorPrefix, stripBedrockRevision, stripDateSnapshot, stripVariantQuantDateSuffixes, supportsServerToolFunctionMixing, wireName };
|