@agentproto/model-catalog 0.9.2 → 0.9.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 +3 -3
- package/dist/{chunk-QDQWHWDU.mjs → chunk-5XUA72EH.mjs} +3 -3
- package/dist/{chunk-QDQWHWDU.mjs.map → chunk-5XUA72EH.mjs.map} +1 -1
- package/dist/{chunk-OH37WKVA.mjs → chunk-6VUL4I7V.mjs} +63 -55
- package/dist/chunk-6VUL4I7V.mjs.map +1 -0
- package/dist/{chunk-AVCHKXUD.mjs → chunk-GW52XH4V.mjs} +82 -30
- package/dist/chunk-GW52XH4V.mjs.map +1 -0
- package/dist/{chunk-AJLMLBEZ.mjs → chunk-H467PHUU.mjs} +3 -3
- package/dist/{chunk-AJLMLBEZ.mjs.map → chunk-H467PHUU.mjs.map} +1 -1
- package/dist/{chunk-4ROXWVQD.mjs → chunk-JHBSGPWH.mjs} +5 -5
- package/dist/{chunk-4ROXWVQD.mjs.map → chunk-JHBSGPWH.mjs.map} +1 -1
- package/dist/{chunk-W4VANZM3.mjs → chunk-UREM2UZK.mjs} +4 -4
- package/dist/{chunk-W4VANZM3.mjs.map → chunk-UREM2UZK.mjs.map} +1 -1
- package/dist/{chunk-XC355MAQ.mjs → chunk-V2BMFFUF.mjs} +4 -4
- package/dist/{chunk-XC355MAQ.mjs.map → chunk-V2BMFFUF.mjs.map} +1 -1
- package/dist/cost/index.mjs +5 -5
- package/dist/curation/index.mjs +5 -5
- package/dist/index.mjs +9 -9
- package/dist/llm/index.mjs +1 -1
- package/dist/route-identity/index.mjs +2 -2
- package/package.json +4 -4
- package/dist/chunk-AVCHKXUD.mjs.map +0 -1
- package/dist/chunk-OH37WKVA.mjs.map +0 -1
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-UREM2UZK.mjs';
|
|
2
|
+
export { CostUsageKindMismatchError, UnknownModelError, calculateAudioCost, calculateCost, calculateImageCost, calculateLLMCost, calculateVideoCost } from './chunk-V2BMFFUF.mjs';
|
|
3
|
+
import { getModel } from './chunk-JHBSGPWH.mjs';
|
|
4
|
+
export { getModel, getModelsByProvider, getStaticModelProvider, isAgentVisible, listModels, resolveAlias } from './chunk-JHBSGPWH.mjs';
|
|
5
|
+
import './chunk-GW52XH4V.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-5XUA72EH.mjs';
|
|
8
|
+
import { priceTierForModel } from './chunk-H467PHUU.mjs';
|
|
9
|
+
export { assertReservedPrefixDiscipline, getActions, getEnrichment, isActionTag, modelHasAction, modelHasTag, modelMatchesCatalogPriceTier, modelMatchesKind, modelMatchesPriceTier, priceTierForModel } from './chunk-H467PHUU.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-3Y5TQDGE.mjs';
|
|
12
12
|
export { CatalogPriceTierSchema, CatalogProviderSchema, LifecycleSchema, ModelKindSchema, NsfwPolicySchema, PROVIDER_KEY_ENV, PROVIDER_KEY_ENV_ALIASES, baseEntryShape } from './chunk-QNJRWRWC.mjs';
|
|
13
13
|
import './chunk-ZTTWZ7PL.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-6VUL4I7V.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
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 } from '../chunk-ZTTWZ7PL.mjs';
|
|
2
|
-
export { DEFAULT_PRICING, LLM_PRICING_CATALOG, MODEL_ALIASES, calculateLLMCreditCost, getCacheStats, getModelProvider, isKnownLlmId, listNativeModelIds, listUnpricedKnownLlmIds, resolveAlias, resolveContextWindow, resolveModelRoute, resolvePricing, resolvePricingExact } from '../chunk-
|
|
2
|
+
export { DEFAULT_PRICING, LLM_PRICING_CATALOG, MODEL_ALIASES, calculateLLMCreditCost, getCacheStats, getModelProvider, isKnownLlmId, listNativeModelIds, listUnpricedKnownLlmIds, resolveAlias, resolveContextWindow, resolveModelRoute, resolvePricing, resolvePricingExact } from '../chunk-6VUL4I7V.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-GW52XH4V.mjs';
|
|
2
2
|
import '../chunk-QNJRWRWC.mjs';
|
|
3
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-6VUL4I7V.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.9.
|
|
3
|
+
"version": "0.9.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",
|
|
@@ -122,11 +122,11 @@
|
|
|
122
122
|
"zod": "^4.5.4"
|
|
123
123
|
},
|
|
124
124
|
"devDependencies": {
|
|
125
|
-
"@types/node": "^25.
|
|
125
|
+
"@types/node": "^25.9.5",
|
|
126
126
|
"tsup": "^8.5.1",
|
|
127
127
|
"typescript": "^5.9.3",
|
|
128
|
-
"vitest": "^3.2.
|
|
129
|
-
"@agentproto/provider-presets": "0.6.
|
|
128
|
+
"vitest": "^3.2.7",
|
|
129
|
+
"@agentproto/provider-presets": "0.6.2",
|
|
130
130
|
"@agentproto/tooling": "0.1.0"
|
|
131
131
|
},
|
|
132
132
|
"engines": {
|