@agentproto/model-catalog 0.8.2 → 0.8.4
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/access/index.d.ts +3 -3
- package/dist/{catalog-BbfjJxKT.d.ts → catalog-IWd755ti.d.ts} +107 -4
- package/dist/{chunk-LXN4OEHG.mjs → chunk-6DLCFYAL.mjs} +65 -103
- package/dist/chunk-6DLCFYAL.mjs.map +1 -0
- package/dist/{chunk-ZGIO6HG2.mjs → chunk-C7NB3TTG.mjs} +3 -3
- package/dist/{chunk-ZGIO6HG2.mjs.map → chunk-C7NB3TTG.mjs.map} +1 -1
- package/dist/{chunk-5FI5TGZ3.mjs → chunk-HP6XQD3U.mjs} +4 -4
- package/dist/{chunk-5FI5TGZ3.mjs.map → chunk-HP6XQD3U.mjs.map} +1 -1
- package/dist/{chunk-T7727XPZ.mjs → chunk-K5Z4VDIW.mjs} +4 -4
- package/dist/{chunk-T7727XPZ.mjs.map → chunk-K5Z4VDIW.mjs.map} +1 -1
- package/dist/{chunk-GYQQFBOE.mjs → chunk-TF7JGPTO.mjs} +208 -29
- package/dist/chunk-TF7JGPTO.mjs.map +1 -0
- package/dist/cost/index.mjs +4 -4
- package/dist/curation/index.d.ts +2 -2
- package/dist/curation/index.mjs +4 -4
- package/dist/{evaluate-B8acQr7z.d.ts → evaluate-CvrdzuYW.d.ts} +1 -1
- package/dist/{index-Czs4wISu.d.ts → index-Bk5U4gcS.d.ts} +2 -2
- package/dist/{index-BWygVxw8.d.ts → index-CpxCXwo_.d.ts} +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.mjs +6 -6
- package/dist/llm/index.d.ts +1 -1
- package/dist/llm/index.mjs +1 -1
- package/dist/overlay/index.d.ts +1 -1
- package/dist/picker/index.d.ts +4 -4
- package/dist/route-identity/index.d.ts +1 -1
- package/dist/route-identity/index.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-GYQQFBOE.mjs.map +0 -1
- package/dist/chunk-LXN4OEHG.mjs.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as LLMPricing } from './catalog-
|
|
1
|
+
import { c as LLMPricing } from './catalog-IWd755ti.js';
|
|
2
2
|
import { ImageModelDefinition } from './image/index.js';
|
|
3
3
|
import { VideoModelDefinition } from './video/index.js';
|
|
4
4
|
import { AudioModelDefinition } from './audio/index.js';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { ImageAspectRatio, ImageAspectRatioSchema, ImageCapabilities, ImageCapabilitiesSchema, ImageEntry, ImageEntrySchema, ImagePricing, ImagePricingSchema, ImageReferenceImages, ImageReferenceImagesSchema, LLMEntry, LLMEntrySchema, LlmPricing, LlmPricingSchema, ModelEntry, ModelEntrySchema, VideoCapabilities, VideoCapabilitiesSchema, VideoCostMultipliers, VideoCostMultipliersSchema, VideoEntry, VideoEntrySchema, VideoPricing, VideoPricingSchema, VideoResolution, VideoResolutionSchema } from './schema/index.js';
|
|
2
|
-
export { D as DEFAULT_PRICING, L as LLMCreditCostResult, c as LLMPricing, d as LLMUsageBreakdown, e as LLM_PRICING_CATALOG, M as MODEL_ALIASES, i as calculateLLMCreditCost, n as resolvePricing } from './catalog-
|
|
2
|
+
export { D as DEFAULT_PRICING, L as LLMCreditCostResult, c as LLMPricing, d as LLMUsageBreakdown, e as LLM_PRICING_CATALOG, M as MODEL_ALIASES, i as calculateLLMCreditCost, n as resolvePricing } from './catalog-IWd755ti.js';
|
|
3
3
|
export { AGENT_EDITABLE_MODEL_IDS, AGENT_GENERATIVE_MODEL_IDS, AGENT_IMAGE_MODEL_IDS, IMAGE_MODEL_CATALOG, IMAGE_MODEL_IDS, ImageModelDefinition, generateImageModelTable } from './image/index.js';
|
|
4
4
|
export { AGENT_VIDEO_MODEL_IDS, VIDEO_MODEL_CATALOG, VIDEO_MODEL_IDS, VideoModelDefinition, generateVideoModelTable } from './video/index.js';
|
|
5
5
|
export { AGENT_AUDIO_MODEL_IDS, AGENT_STT_MODEL_IDS, AGENT_TTS_MODEL_IDS, AUDIO_MODEL_CATALOG, AUDIO_MODEL_IDS, AudioBillingUnit, AudioModality, AudioModelDefinition, AudioProvider, DEFAULT_GEMINI_LIVE_MODEL, GEMINI_LIVE_MODEL_IDS, S2S_MODEL_IDS, generateAudioModelTable, isAcceptedGeminiLiveModel } from './audio/index.js';
|
|
@@ -9,12 +9,12 @@ export { ProviderGroup, SurfaceProfile, applyProfile, expandProviders, filterVoi
|
|
|
9
9
|
export { CC_USD_RATE, CREDIT_USD_RATE, DEFAULT_PRICING_FLOORS, DEFAULT_PRICING_MARKUP, PricingCategory, PricingMarkup, computeCenticredits, pricingRegistry } from './pricing/index.js';
|
|
10
10
|
export { CalculateCostOptions, CostResult, CostUsage, CostUsageKindMismatchError, UnknownModelError, calculateAudioCost, calculateCost, calculateImageCost, calculateLLMCost, calculateVideoCost } from './cost/index.js';
|
|
11
11
|
export { ShouldDebitDecision, ShouldDebitInput, shouldDebit } from './byok/index.js';
|
|
12
|
-
export { A as AccessDecision, a as AccessEffect, b as AccessEvalInput, c as AccessRule, d as AccessTarget, e as AppScope, f as evaluateAccess } from './evaluate-
|
|
12
|
+
export { A as AccessDecision, a as AccessEffect, b as AccessEvalInput, c as AccessRule, d as AccessTarget, e as AppScope, f as evaluateAccess } from './evaluate-CvrdzuYW.js';
|
|
13
13
|
export { CatalogDefaultDecision, evaluateCatalogDefaults } from './access/index.js';
|
|
14
14
|
export { CatalogOverlay, MergedOverlay, clearCatalogOverlays, getMergedOverlay, registerCatalogOverlay } from './overlay/index.js';
|
|
15
|
-
import { R as ResolvedModel } from './index-
|
|
16
|
-
export { C as CatalogKind, L as ListModelsFilter, g as getModel, a as getModelsByProvider, b as getStaticModelProvider, i as isAgentVisible, l as listModels, r as resolveAlias } from './index-
|
|
17
|
-
export { A as AvailableConnector, a as AvailableModel, b as AvailableModelCapabilities, c as AvailableModelsActor, d as AvailableModelsResponse, L as ListAvailableModelsParams, M as ModelEnrichment, g as getEnrichment, m as modelHasAction, e as modelHasTag, f as modelMatchesCatalogPriceTier, h as modelMatchesKind, i as modelMatchesPriceTier, p as priceTierForModel } from './index-
|
|
15
|
+
import { R as ResolvedModel } from './index-CpxCXwo_.js';
|
|
16
|
+
export { C as CatalogKind, L as ListModelsFilter, g as getModel, a as getModelsByProvider, b as getStaticModelProvider, i as isAgentVisible, l as listModels, r as resolveAlias } from './index-CpxCXwo_.js';
|
|
17
|
+
export { A as AvailableConnector, a as AvailableModel, b as AvailableModelCapabilities, c as AvailableModelsActor, d as AvailableModelsResponse, L as ListAvailableModelsParams, M as ModelEnrichment, g as getEnrichment, m as modelHasAction, e as modelHasTag, f as modelMatchesCatalogPriceTier, h as modelMatchesKind, i as modelMatchesPriceTier, p as priceTierForModel } from './index-Bk5U4gcS.js';
|
|
18
18
|
export { A as AudioCapabilities, a as AudioCapabilitiesSchema, b as AudioEntry, c as AudioEntrySchema, d as AudioPricing, e as AudioPricingSchema } from './audio-DR0g_ZH_.js';
|
|
19
19
|
export { C as CatalogPriceTier, a as CatalogPriceTierSchema, b as CatalogProvider, c as CatalogProviderSchema, L as Lifecycle, d as LifecycleSchema, M as ModelKind, e as ModelKindSchema, N as NsfwPolicy, f as NsfwPolicySchema, P as PROVIDER_KEY_ENV, g as PROVIDER_KEY_ENV_ALIASES, h as baseEntryShape } from './base-B8IIoaqg.js';
|
|
20
20
|
import 'zod';
|
package/dist/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { applyProfile, expandProviders, filterVoicesByProviders, getProviderGroup, getSurfaceProfile, groupForProvider, listProviderGroups, listSurfaceProfiles, listSurfaced, modelMatchesProfile } from './chunk-
|
|
2
|
-
export { CostUsageKindMismatchError, UnknownModelError, calculateAudioCost, calculateCost, calculateImageCost, calculateLLMCost, calculateVideoCost } from './chunk-
|
|
3
|
-
import { getModel } from './chunk-
|
|
4
|
-
export { getModel, getModelsByProvider, getStaticModelProvider, isAgentVisible, listModels, resolveAlias } from './chunk-
|
|
5
|
-
import './chunk-
|
|
1
|
+
export { applyProfile, expandProviders, filterVoicesByProviders, getProviderGroup, getSurfaceProfile, groupForProvider, listProviderGroups, listSurfaceProfiles, listSurfaced, modelMatchesProfile } from './chunk-C7NB3TTG.mjs';
|
|
2
|
+
export { CostUsageKindMismatchError, UnknownModelError, calculateAudioCost, calculateCost, calculateImageCost, calculateLLMCost, calculateVideoCost } from './chunk-K5Z4VDIW.mjs';
|
|
3
|
+
import { getModel } from './chunk-HP6XQD3U.mjs';
|
|
4
|
+
export { getModel, getModelsByProvider, getStaticModelProvider, isAgentVisible, listModels, resolveAlias } from './chunk-HP6XQD3U.mjs';
|
|
5
|
+
import './chunk-6DLCFYAL.mjs';
|
|
6
6
|
export { shouldDebit } from './chunk-XFDXTFV3.mjs';
|
|
7
7
|
export { evaluateAccess, evaluateCatalogDefaults } from './chunk-HRRG2RZO.mjs';
|
|
8
8
|
import { priceTierForModel } from './chunk-WTHHXXIK.mjs';
|
|
@@ -11,7 +11,7 @@ export { clearCatalogOverlays, getMergedOverlay, registerCatalogOverlay } from '
|
|
|
11
11
|
export { AudioCapabilitiesSchema, AudioEntrySchema, AudioPricingSchema, ImageAspectRatioSchema, ImageCapabilitiesSchema, ImageEntrySchema, ImagePricingSchema, ImageReferenceImagesSchema, LLMEntrySchema, LlmPricingSchema, ModelEntrySchema, VideoCapabilitiesSchema, VideoCostMultipliersSchema, VideoEntrySchema, VideoPricingSchema, VideoResolutionSchema } from './chunk-HL2G36MT.mjs';
|
|
12
12
|
export { CatalogPriceTierSchema, CatalogProviderSchema, LifecycleSchema, ModelKindSchema, NsfwPolicySchema, PROVIDER_KEY_ENV, PROVIDER_KEY_ENV_ALIASES, baseEntryShape } from './chunk-DW45X6XT.mjs';
|
|
13
13
|
import './chunk-O7TXHU5W.mjs';
|
|
14
|
-
export { DEFAULT_PRICING, LLM_PRICING_CATALOG, MODEL_ALIASES, calculateLLMCreditCost, resolvePricing } from './chunk-
|
|
14
|
+
export { DEFAULT_PRICING, LLM_PRICING_CATALOG, MODEL_ALIASES, calculateLLMCreditCost, resolvePricing } from './chunk-TF7JGPTO.mjs';
|
|
15
15
|
export { CC_USD_RATE, CREDIT_USD_RATE, DEFAULT_PRICING_FLOORS, DEFAULT_PRICING_MARKUP, computeCenticredits, pricingRegistry } from './chunk-QHELXPSL.mjs';
|
|
16
16
|
export { AGENT_EDITABLE_MODEL_IDS, AGENT_GENERATIVE_MODEL_IDS, AGENT_IMAGE_MODEL_IDS, IMAGE_MODEL_CATALOG, IMAGE_MODEL_IDS, generateImageModelTable } from './chunk-2LWYZOWB.mjs';
|
|
17
17
|
export { AGENT_VIDEO_MODEL_IDS, VIDEO_MODEL_CATALOG, VIDEO_MODEL_IDS, generateVideoModelTable } from './chunk-IJZ4XPO2.mjs';
|
package/dist/llm/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as CacheStats, a as CalculateLLMCreditCostOptions, b as ContextWindowEntry, D as DEFAULT_PRICING, K as KnownLlmId, L as LLMCreditCostResult, c as LLMPricing, d as LLMUsageBreakdown, e as LLM_PRICING_CATALOG, f as LlmModelAlias, g as LlmModelId, M as MODEL_ALIASES, h as ModelRoute, i as calculateLLMCreditCost, j as getCacheStats, k as getModelProvider, r as resolveAlias, l as resolveContextWindow, m as resolveModelRoute, n as resolvePricing, o as resolvePricingExact } from '../catalog-
|
|
1
|
+
export { C as CacheStats, a as CalculateLLMCreditCostOptions, b as ContextWindowEntry, D as DEFAULT_PRICING, K as KnownLlmId, L as LLMCreditCostResult, c as LLMPricing, d as LLMUsageBreakdown, e as LLM_PRICING_CATALOG, f as LlmModelAlias, g as LlmModelId, M as MODEL_ALIASES, h as ModelRoute, i as calculateLLMCreditCost, j as getCacheStats, k as getModelProvider, r as resolveAlias, l as resolveContextWindow, m as resolveModelRoute, n as resolvePricing, o as resolvePricingExact } from '../catalog-IWd755ti.js';
|
|
2
2
|
import '../base-B8IIoaqg.js';
|
|
3
3
|
import 'zod';
|
|
4
4
|
|
package/dist/llm/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { LLM_TIERS, OPERATOR_AGENT_MODELS, OPERATOR_DEFAULT_GEMINI, OPERATOR_DEFAULT_PREMIUM, OPERATOR_DEFAULT_STANDARD, WORKFLOW_FAST_MODEL, WORKFLOW_PREMIUM_MODEL, WORKFLOW_TINY_MODEL } from '../chunk-O7TXHU5W.mjs';
|
|
2
|
-
export { DEFAULT_PRICING, LLM_PRICING_CATALOG, MODEL_ALIASES, calculateLLMCreditCost, getCacheStats, getModelProvider, resolveAlias, resolveContextWindow, resolveModelRoute, resolvePricing, resolvePricingExact } from '../chunk-
|
|
2
|
+
export { DEFAULT_PRICING, LLM_PRICING_CATALOG, MODEL_ALIASES, calculateLLMCreditCost, getCacheStats, getModelProvider, resolveAlias, resolveContextWindow, resolveModelRoute, resolvePricing, resolvePricingExact } from '../chunk-TF7JGPTO.mjs';
|
|
3
3
|
import '../chunk-QHELXPSL.mjs';
|
|
4
4
|
//# sourceMappingURL=index.mjs.map
|
|
5
5
|
//# sourceMappingURL=index.mjs.map
|
package/dist/overlay/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as LLMPricing } from '../catalog-
|
|
1
|
+
import { c as LLMPricing } from '../catalog-IWd755ti.js';
|
|
2
2
|
import { ImageModelDefinition } from '../image/index.js';
|
|
3
3
|
import { VideoModelDefinition } from '../video/index.js';
|
|
4
4
|
import { AudioModelDefinition } from '../audio/index.js';
|
package/dist/picker/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import '../evaluate-
|
|
1
|
+
import '../evaluate-CvrdzuYW.js';
|
|
2
2
|
import '../base-B8IIoaqg.js';
|
|
3
|
-
export { A as AvailableConnector, a as AvailableModel, b as AvailableModelCapabilities, c as AvailableModelsActor, d as AvailableModelsResponse, L as ListAvailableModelsParams, P as PRICE_TIER_NAMES, j as PRICE_TIER_SLOTS, k as priceTierBar, l as priceTierName } from '../index-
|
|
4
|
-
import '../index-
|
|
5
|
-
import '../catalog-
|
|
3
|
+
export { A as AvailableConnector, a as AvailableModel, b as AvailableModelCapabilities, c as AvailableModelsActor, d as AvailableModelsResponse, L as ListAvailableModelsParams, P as PRICE_TIER_NAMES, j as PRICE_TIER_SLOTS, k as priceTierBar, l as priceTierName } from '../index-Bk5U4gcS.js';
|
|
4
|
+
import '../index-CpxCXwo_.js';
|
|
5
|
+
import '../catalog-IWd755ti.js';
|
|
6
6
|
import '../image/index.js';
|
|
7
7
|
import '../video/index.js';
|
|
8
8
|
import '../audio/index.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { InvalidModelRefError, OPENROUTER_VARIANTS, clearCustomRoutes, diagnoseModelRef, formatModelRef, isModelRefString, listRouterLlmRoutes, parseModelRef, registerCustomRoute, resolveCustomRoute, resolveLlmModelRoute, stripAnthropicNativeVendor, stripFixedNativeVendor, stripRouteSuffix, tryParseModelRef } from '../chunk-
|
|
1
|
+
export { InvalidModelRefError, OPENROUTER_VARIANTS, clearCustomRoutes, diagnoseModelRef, formatModelRef, isModelRefString, listRouterLlmRoutes, parseModelRef, registerCustomRoute, resolveCustomRoute, resolveLlmModelRoute, stripAnthropicNativeVendor, stripFixedNativeVendor, stripRouteSuffix, tryParseModelRef } from '../chunk-6DLCFYAL.mjs';
|
|
2
2
|
import '../chunk-DW45X6XT.mjs';
|
|
3
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-TF7JGPTO.mjs';
|
|
4
4
|
import '../chunk-QHELXPSL.mjs';
|
|
5
5
|
//# sourceMappingURL=index.mjs.map
|
|
6
6
|
//# sourceMappingURL=index.mjs.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agentproto/model-catalog",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.4",
|
|
4
4
|
"description": "Unified, dependency-light model catalog: LLM, image, video, audio entries + cost dispatcher + picker. Zod-only; the OSS core that @agstudio/model-catalog layers billing/access/BYOK on top of.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agentproto",
|