@agentproto/model-catalog 0.12.2 → 0.12.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.mjs +4 -4
- package/dist/{chunk-XSXAONW2.mjs → chunk-25FNUSG4.mjs} +4 -4
- package/dist/{chunk-XSXAONW2.mjs.map → chunk-25FNUSG4.mjs.map} +1 -1
- package/dist/{chunk-BR6PSXRA.mjs → chunk-2X3WBID3.mjs} +5 -5
- package/dist/{chunk-BR6PSXRA.mjs.map → chunk-2X3WBID3.mjs.map} +1 -1
- package/dist/{chunk-72ZWK7JK.mjs → chunk-4IBQX2XR.mjs} +3 -3
- package/dist/{chunk-72ZWK7JK.mjs.map → chunk-4IBQX2XR.mjs.map} +1 -1
- package/dist/{chunk-XDWZ2OKX.mjs → chunk-7IFBXJFG.mjs} +3 -3
- package/dist/{chunk-XDWZ2OKX.mjs.map → chunk-7IFBXJFG.mjs.map} +1 -1
- package/dist/{chunk-HM4XTHTI.mjs → chunk-IENZSAQE.mjs} +1316 -615
- package/dist/chunk-IENZSAQE.mjs.map +1 -0
- package/dist/{chunk-6WBITDKG.mjs → chunk-SQEUL5ZN.mjs} +4 -4
- package/dist/{chunk-6WBITDKG.mjs.map → chunk-SQEUL5ZN.mjs.map} +1 -1
- package/dist/{chunk-5HL2CBGL.mjs → chunk-TZFXRKY7.mjs} +3 -3
- package/dist/{chunk-5HL2CBGL.mjs.map → chunk-TZFXRKY7.mjs.map} +1 -1
- package/dist/{chunk-GTQ2UF4H.mjs → chunk-V2EWUMQN.mjs} +59 -455
- package/dist/chunk-V2EWUMQN.mjs.map +1 -0
- package/dist/cost/index.mjs +6 -6
- package/dist/curation/index.mjs +6 -6
- package/dist/index.mjs +10 -10
- package/dist/llm/index.mjs +2 -2
- package/dist/route-identity/index.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-GTQ2UF4H.mjs.map +0 -1
- package/dist/chunk-HM4XTHTI.mjs.map +0 -1
package/dist/cost/index.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { CostUsageKindMismatchError, UnknownModelError, calculateAudioCost, calculateCost, calculateImageCost, calculateLLMCost, calculateVideoCost } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
1
|
+
export { CostUsageKindMismatchError, UnknownModelError, calculateAudioCost, calculateCost, calculateImageCost, calculateLLMCost, calculateVideoCost } from '../chunk-25FNUSG4.mjs';
|
|
2
|
+
import '../chunk-2X3WBID3.mjs';
|
|
3
|
+
import '../chunk-IENZSAQE.mjs';
|
|
4
|
+
import '../chunk-7IFBXJFG.mjs';
|
|
5
5
|
import '../chunk-H6JUTF3U.mjs';
|
|
6
6
|
import '../chunk-WG4F6IRS.mjs';
|
|
7
|
-
import '../chunk-
|
|
8
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-TZFXRKY7.mjs';
|
|
8
|
+
import '../chunk-V2EWUMQN.mjs';
|
|
9
9
|
import '../chunk-QHELXPSL.mjs';
|
|
10
10
|
import '../chunk-2LWYZOWB.mjs';
|
|
11
11
|
import '../chunk-IJZ4XPO2.mjs';
|
package/dist/curation/index.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { applyProfile, expandProviders, filterVoicesByProviders, getProviderGroup, getSurfaceProfile, groupForProvider, listProviderGroups, listSurfaceProfiles, listSurfaced, modelMatchesProfile } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
1
|
+
export { applyProfile, expandProviders, filterVoicesByProviders, getProviderGroup, getSurfaceProfile, groupForProvider, listProviderGroups, listSurfaceProfiles, listSurfaced, modelMatchesProfile } from '../chunk-SQEUL5ZN.mjs';
|
|
2
|
+
import '../chunk-2X3WBID3.mjs';
|
|
3
|
+
import '../chunk-IENZSAQE.mjs';
|
|
4
|
+
import '../chunk-7IFBXJFG.mjs';
|
|
5
5
|
import '../chunk-H6JUTF3U.mjs';
|
|
6
6
|
import '../chunk-WG4F6IRS.mjs';
|
|
7
|
-
import '../chunk-
|
|
8
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-TZFXRKY7.mjs';
|
|
8
|
+
import '../chunk-V2EWUMQN.mjs';
|
|
9
9
|
import '../chunk-QHELXPSL.mjs';
|
|
10
10
|
import '../chunk-2LWYZOWB.mjs';
|
|
11
11
|
import '../chunk-IJZ4XPO2.mjs';
|
package/dist/index.mjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
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-SQEUL5ZN.mjs';
|
|
2
|
+
export { CostUsageKindMismatchError, UnknownModelError, calculateAudioCost, calculateCost, calculateImageCost, calculateLLMCost, calculateVideoCost } from './chunk-25FNUSG4.mjs';
|
|
3
|
+
import { getModel } from './chunk-2X3WBID3.mjs';
|
|
4
|
+
export { getModel, getModelsByProvider, getStaticModelProvider, isAgentVisible, listModels, resolveAlias } from './chunk-2X3WBID3.mjs';
|
|
5
|
+
import './chunk-IENZSAQE.mjs';
|
|
6
6
|
export { shouldDebit } from './chunk-XFDXTFV3.mjs';
|
|
7
|
-
export { evaluateAccess, evaluateCatalogDefaults } from './chunk-
|
|
8
|
-
import { priceTierForModel } from './chunk-
|
|
9
|
-
export { assertReservedPrefixDiscipline, getActions, getEnrichment, isActionTag, modelHasAction, modelHasTag, modelMatchesCatalogPriceTier, modelMatchesKind, modelMatchesPriceTier, priceTierForModel } from './chunk-
|
|
7
|
+
export { evaluateAccess, evaluateCatalogDefaults } from './chunk-4IBQX2XR.mjs';
|
|
8
|
+
import { priceTierForModel } from './chunk-7IFBXJFG.mjs';
|
|
9
|
+
export { assertReservedPrefixDiscipline, getActions, getEnrichment, isActionTag, modelHasAction, modelHasTag, modelMatchesCatalogPriceTier, modelMatchesKind, modelMatchesPriceTier, priceTierForModel } from './chunk-7IFBXJFG.mjs';
|
|
10
10
|
export { clearCatalogOverlays, getMergedOverlay, registerCatalogOverlay } from './chunk-H6JUTF3U.mjs';
|
|
11
11
|
export { AudioCapabilitiesSchema, AudioEntrySchema, AudioPricingSchema, ImageAspectRatioSchema, ImageCapabilitiesSchema, ImageEntrySchema, ImagePricingSchema, ImageReferenceImagesSchema, LLMEntrySchema, LlmPricingSchema, ModelEntrySchema, VideoCapabilitiesSchema, VideoCostMultipliersSchema, VideoEntrySchema, VideoPricingSchema, VideoResolutionSchema } from './chunk-7U7XGVHP.mjs';
|
|
12
12
|
export { CatalogPriceTierSchema, CatalogProviderSchema, LifecycleSchema, ModelKindSchema, NsfwPolicySchema, PROVIDER_KEY_ENV, PROVIDER_KEY_ENV_ALIASES, baseEntryShape } from './chunk-WG4F6IRS.mjs';
|
|
13
|
-
import './chunk-
|
|
14
|
-
export { DEFAULT_PRICING, LLM_PRICING_CATALOG, MODEL_ALIASES, calculateLLMCreditCost, resolvePricing, selectPricingTier } from './chunk-
|
|
13
|
+
import './chunk-TZFXRKY7.mjs';
|
|
14
|
+
export { DEFAULT_PRICING, LLM_PRICING_CATALOG, MODEL_ALIASES, calculateLLMCreditCost, resolvePricing, selectPricingTier } from './chunk-V2EWUMQN.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.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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, formatTokens, listOpencodeAnthropicModelRefs, listOpencodeModelRefs } from '../chunk-
|
|
2
|
-
export { DEFAULT_PRICING, LLM_PRICING_CATALOG, MODEL_ALIASES, calculateLLMCreditCost, getCacheStats, getModelProvider, isKnownLlmId, listNativeModelIds, listUnpricedKnownLlmIds, resolveAlias, resolveContextWindow, resolveModelRoute, resolvePricing, resolvePricingExact, selectPricingTier, splitContextWindowHint } from '../chunk-
|
|
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, formatTokens, listOpencodeAnthropicModelRefs, listOpencodeModelRefs } from '../chunk-TZFXRKY7.mjs';
|
|
2
|
+
export { DEFAULT_PRICING, LLM_PRICING_CATALOG, MODEL_ALIASES, calculateLLMCreditCost, getCacheStats, getModelProvider, isKnownLlmId, listNativeModelIds, listUnpricedKnownLlmIds, resolveAlias, resolveContextWindow, resolveModelRoute, resolvePricing, resolvePricingExact, selectPricingTier, splitContextWindowHint } from '../chunk-V2EWUMQN.mjs';
|
|
3
3
|
import '../chunk-QHELXPSL.mjs';
|
|
4
4
|
//# sourceMappingURL=index.mjs.map
|
|
5
5
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -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-IENZSAQE.mjs';
|
|
2
2
|
import '../chunk-WG4F6IRS.mjs';
|
|
3
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-V2EWUMQN.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.12.
|
|
3
|
+
"version": "0.12.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",
|