@agentproto/model-catalog 0.14.0 → 0.14.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/dist/access/index.d.ts +3 -3
- package/dist/access/index.mjs +4 -4
- package/dist/{catalog-BB0uDJh-.d.ts → catalog-B2eRnrWD.d.ts} +38 -0
- package/dist/{chunk-ETI76MOK.mjs → chunk-562U2L7T.mjs} +5 -5
- package/dist/{chunk-ETI76MOK.mjs.map → chunk-562U2L7T.mjs.map} +1 -1
- package/dist/{chunk-PVE3WQRH.mjs → chunk-5LO27OWU.mjs} +3 -3
- package/dist/{chunk-PVE3WQRH.mjs.map → chunk-5LO27OWU.mjs.map} +1 -1
- package/dist/{chunk-IHU6XTXS.mjs → chunk-7CTQGUR2.mjs} +3 -3
- package/dist/{chunk-IHU6XTXS.mjs.map → chunk-7CTQGUR2.mjs.map} +1 -1
- package/dist/{chunk-BXTZ2EDE.mjs → chunk-BQDTFJ4J.mjs} +272 -61
- package/dist/chunk-BQDTFJ4J.mjs.map +1 -0
- package/dist/{chunk-YSEQMLV2.mjs → chunk-F4BUE3N6.mjs} +3 -3
- package/dist/{chunk-YSEQMLV2.mjs.map → chunk-F4BUE3N6.mjs.map} +1 -1
- package/dist/{chunk-DTE62ERL.mjs → chunk-HUNAWSDP.mjs} +4 -4
- package/dist/{chunk-DTE62ERL.mjs.map → chunk-HUNAWSDP.mjs.map} +1 -1
- package/dist/{chunk-W7K6DGOK.mjs → chunk-UWURA235.mjs} +4 -4
- package/dist/{chunk-W7K6DGOK.mjs.map → chunk-UWURA235.mjs.map} +1 -1
- package/dist/{chunk-MZ23K5W6.mjs → chunk-Y2REI5QQ.mjs} +111 -123
- package/dist/chunk-Y2REI5QQ.mjs.map +1 -0
- package/dist/cost/index.mjs +6 -6
- package/dist/curation/index.d.ts +2 -2
- package/dist/curation/index.mjs +6 -6
- package/dist/{evaluate-BjSlZsJf.d.ts → evaluate-CYQHJ4Jk.d.ts} +1 -1
- package/dist/{index-D8FWHlom.d.ts → index-BvzrCBss.d.ts} +1 -1
- package/dist/{index-DetGJJ-F.d.ts → index-Ipv-RcfT.d.ts} +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.mjs +10 -10
- package/dist/lists/index.d.ts +3 -3
- package/dist/lists/index.mjs +6 -6
- package/dist/llm/index.d.ts +1 -1
- package/dist/llm/index.mjs +2 -2
- 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 +3 -3
- package/dist/chunk-BXTZ2EDE.mjs.map +0 -1
- package/dist/chunk-MZ23K5W6.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-
|
|
1
|
+
export { CostUsageKindMismatchError, UnknownModelError, calculateAudioCost, calculateCost, calculateImageCost, calculateLLMCost, calculateVideoCost } from '../chunk-UWURA235.mjs';
|
|
2
|
+
import '../chunk-562U2L7T.mjs';
|
|
3
3
|
import '../chunk-H6JUTF3U.mjs';
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-BQDTFJ4J.mjs';
|
|
5
|
+
import '../chunk-F4BUE3N6.mjs';
|
|
6
6
|
import '../chunk-WG4F6IRS.mjs';
|
|
7
|
-
import '../chunk-
|
|
8
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-7CTQGUR2.mjs';
|
|
8
|
+
import '../chunk-Y2REI5QQ.mjs';
|
|
9
9
|
import '../chunk-QHELXPSL.mjs';
|
|
10
10
|
import '../chunk-2LWYZOWB.mjs';
|
|
11
11
|
import '../chunk-IJZ4XPO2.mjs';
|
package/dist/curation/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as CatalogKind, R as ResolvedModel } from '../index-
|
|
1
|
+
import { C as CatalogKind, R as ResolvedModel } from '../index-BvzrCBss.js';
|
|
2
2
|
import { CatalogVoice } from '../schema/voice.js';
|
|
3
|
-
import '../catalog-
|
|
3
|
+
import '../catalog-B2eRnrWD.js';
|
|
4
4
|
import '../base-BaiI72Da.js';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import '../image/index.js';
|
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-
|
|
1
|
+
export { applyProfile, expandProviders, filterVoicesByProviders, getProviderGroup, getSurfaceProfile, groupForProvider, listProviderGroups, listSurfaceProfiles, listSurfaced, modelMatchesProfile } from '../chunk-HUNAWSDP.mjs';
|
|
2
|
+
import '../chunk-562U2L7T.mjs';
|
|
3
3
|
import '../chunk-H6JUTF3U.mjs';
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-BQDTFJ4J.mjs';
|
|
5
|
+
import '../chunk-F4BUE3N6.mjs';
|
|
6
6
|
import '../chunk-WG4F6IRS.mjs';
|
|
7
|
-
import '../chunk-
|
|
8
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-7CTQGUR2.mjs';
|
|
8
|
+
import '../chunk-Y2REI5QQ.mjs';
|
|
9
9
|
import '../chunk-QHELXPSL.mjs';
|
|
10
10
|
import '../chunk-2LWYZOWB.mjs';
|
|
11
11
|
import '../chunk-IJZ4XPO2.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { L as LLMPricing } from './catalog-
|
|
1
|
+
import { L as LLMPricing } from './catalog-B2eRnrWD.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';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { C as CatalogPriceTier, L as Lifecycle, M as ModelKind } from './base-BaiI72Da.js';
|
|
2
|
-
import { R as ResolvedModel } from './index-
|
|
2
|
+
import { R as ResolvedModel } from './index-BvzrCBss.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Model enrichment — `catalogPriceTier` / `tags` / `lifecycle` / `actions`
|
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, a as LLMCreditCostResult, L as LLMPricing, b as LLMPricingTier, c as LLMUsageBreakdown, d as LLM_PRICING_CATALOG, M as MODEL_ALIASES, e as calculateLLMCreditCost, r as resolvePricing, s as selectPricingTier } from './catalog-
|
|
2
|
+
export { D as DEFAULT_PRICING, a as LLMCreditCostResult, L as LLMPricing, b as LLMPricingTier, c as LLMUsageBreakdown, d as LLM_PRICING_CATALOG, M as MODEL_ALIASES, e as calculateLLMCreditCost, r as resolvePricing, s as selectPricingTier } from './catalog-B2eRnrWD.js';
|
|
3
3
|
export { D as DEFAULT_ANTHROPIC_MODEL } from './defaults-BDkNRPK8.js';
|
|
4
4
|
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';
|
|
5
5
|
export { AGENT_VIDEO_MODEL_IDS, VIDEO_MODEL_CATALOG, VIDEO_MODEL_IDS, VideoModelDefinition, generateVideoModelTable } from './video/index.js';
|
|
@@ -10,13 +10,13 @@ export { ProviderGroup, SurfaceProfile, applyProfile, expandProviders, filterVoi
|
|
|
10
10
|
export { CC_USD_RATE, CREDIT_USD_RATE, DEFAULT_PRICING_FLOORS, DEFAULT_PRICING_MARKUP, PricingCategory, PricingMarkup, computeCenticredits, pricingRegistry } from './pricing/index.js';
|
|
11
11
|
export { CalculateCostOptions, CostResult, CostUsage, CostUsageKindMismatchError, UnknownModelError, calculateAudioCost, calculateCost, calculateImageCost, calculateLLMCost, calculateVideoCost } from './cost/index.js';
|
|
12
12
|
export { ShouldDebitDecision, ShouldDebitInput, shouldDebit } from './byok/index.js';
|
|
13
|
-
export { A as AccessDecision, a as AccessEvalInput, e as evaluateAccess, m as modelMatchesTarget } from './evaluate-
|
|
13
|
+
export { A as AccessDecision, a as AccessEvalInput, e as evaluateAccess, m as modelMatchesTarget } from './evaluate-CYQHJ4Jk.js';
|
|
14
14
|
export { CatalogDefaultDecision, evaluateCatalogDefaults } from './access/index.js';
|
|
15
15
|
export { c as AccessEffect, b as AccessRule, A as AccessTarget, a as AppScope } from './types-DMzMWJeJ.js';
|
|
16
16
|
export { CatalogOverlay, MergedOverlay, clearCatalogOverlays, getMergedOverlay, registerCatalogOverlay } from './overlay/index.js';
|
|
17
|
-
import { R as ResolvedModel } from './index-
|
|
18
|
-
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-
|
|
19
|
-
export { M as ModelEnrichment, g as getEnrichment, i as isZeroPriced, m as modelHasAction, a as modelHasTag, b as modelMatchesCatalogPriceTier, c as modelMatchesKind, d as modelMatchesPriceTier, p as priceTierForModel } from './index-
|
|
17
|
+
import { R as ResolvedModel } from './index-BvzrCBss.js';
|
|
18
|
+
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-BvzrCBss.js';
|
|
19
|
+
export { M as ModelEnrichment, g as getEnrichment, i as isZeroPriced, m as modelHasAction, a as modelHasTag, b as modelMatchesCatalogPriceTier, c as modelMatchesKind, d as modelMatchesPriceTier, p as priceTierForModel } from './index-Ipv-RcfT.js';
|
|
20
20
|
export { AvailableConnector, AvailableModel, AvailableModelCapabilities, AvailableModelsActor, AvailableModelsResponse, ListAvailableModelsParams } from './picker/index.js';
|
|
21
21
|
export { A as AudioCapabilities, a as AudioCapabilitiesSchema, b as AudioEntry, c as AudioEntrySchema, d as AudioPricing, e as AudioPricingSchema } from './audio-Do2j3wDC.js';
|
|
22
22
|
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-BaiI72Da.js';
|
package/dist/index.mjs
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
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-
|
|
1
|
+
export { applyProfile, expandProviders, filterVoicesByProviders, getProviderGroup, getSurfaceProfile, groupForProvider, listProviderGroups, listSurfaceProfiles, listSurfaced, modelMatchesProfile } from './chunk-HUNAWSDP.mjs';
|
|
2
|
+
export { CostUsageKindMismatchError, UnknownModelError, calculateAudioCost, calculateCost, calculateImageCost, calculateLLMCost, calculateVideoCost } from './chunk-UWURA235.mjs';
|
|
3
3
|
export { shouldDebit } from './chunk-XFDXTFV3.mjs';
|
|
4
4
|
import './chunk-HFPX2DNR.mjs';
|
|
5
|
-
import { getModel } from './chunk-
|
|
6
|
-
export { getModel, getModelsByProvider, getStaticModelProvider, isAgentVisible, listModels, resolveAlias } from './chunk-
|
|
5
|
+
import { getModel } from './chunk-562U2L7T.mjs';
|
|
6
|
+
export { getModel, getModelsByProvider, getStaticModelProvider, isAgentVisible, listModels, resolveAlias } from './chunk-562U2L7T.mjs';
|
|
7
7
|
export { clearCatalogOverlays, getMergedOverlay, registerCatalogOverlay } from './chunk-H6JUTF3U.mjs';
|
|
8
|
-
import './chunk-
|
|
9
|
-
export { evaluateAccess, evaluateCatalogDefaults, modelMatchesTarget } from './chunk-
|
|
10
|
-
import { priceTierForModel } from './chunk-
|
|
11
|
-
export { assertReservedPrefixDiscipline, getActions, getEnrichment, isActionTag, isZeroPriced, modelHasAction, modelHasTag, modelMatchesCatalogPriceTier, modelMatchesKind, modelMatchesPriceTier, priceTierForModel } from './chunk-
|
|
8
|
+
import './chunk-BQDTFJ4J.mjs';
|
|
9
|
+
export { evaluateAccess, evaluateCatalogDefaults, modelMatchesTarget } from './chunk-5LO27OWU.mjs';
|
|
10
|
+
import { priceTierForModel } from './chunk-F4BUE3N6.mjs';
|
|
11
|
+
export { assertReservedPrefixDiscipline, getActions, getEnrichment, isActionTag, isZeroPriced, modelHasAction, modelHasTag, modelMatchesCatalogPriceTier, modelMatchesKind, modelMatchesPriceTier, priceTierForModel } from './chunk-F4BUE3N6.mjs';
|
|
12
12
|
export { AudioCapabilitiesSchema, AudioEntrySchema, AudioPricingSchema, ImageAspectRatioSchema, ImageCapabilitiesSchema, ImageEntrySchema, ImagePricingSchema, ImageReferenceImagesSchema, LLMEntrySchema, LlmPricingSchema, ModelEntrySchema, VideoCapabilitiesSchema, VideoCostMultipliersSchema, VideoEntrySchema, VideoPricingSchema, VideoResolutionSchema } from './chunk-7U7XGVHP.mjs';
|
|
13
13
|
export { CatalogPriceTierSchema, CatalogProviderSchema, LifecycleSchema, ModelKindSchema, NsfwPolicySchema, PROVIDER_KEY_ENV, PROVIDER_KEY_ENV_ALIASES, baseEntryShape } from './chunk-WG4F6IRS.mjs';
|
|
14
|
-
export { DEFAULT_ANTHROPIC_MODEL } from './chunk-
|
|
15
|
-
export { DEFAULT_PRICING, LLM_PRICING_CATALOG, MODEL_ALIASES, calculateLLMCreditCost, resolvePricing, selectPricingTier } from './chunk-
|
|
14
|
+
export { DEFAULT_ANTHROPIC_MODEL } from './chunk-7CTQGUR2.mjs';
|
|
15
|
+
export { DEFAULT_PRICING, LLM_PRICING_CATALOG, MODEL_ALIASES, calculateLLMCreditCost, resolvePricing, selectPricingTier } from './chunk-Y2REI5QQ.mjs';
|
|
16
16
|
export { CC_USD_RATE, CREDIT_USD_RATE, DEFAULT_PRICING_FLOORS, DEFAULT_PRICING_MARKUP, computeCenticredits, pricingRegistry } from './chunk-QHELXPSL.mjs';
|
|
17
17
|
export { AGENT_EDITABLE_MODEL_IDS, AGENT_GENERATIVE_MODEL_IDS, AGENT_IMAGE_MODEL_IDS, IMAGE_MODEL_CATALOG, IMAGE_MODEL_IDS, generateImageModelTable } from './chunk-2LWYZOWB.mjs';
|
|
18
18
|
export { AGENT_VIDEO_MODEL_IDS, VIDEO_MODEL_CATALOG, VIDEO_MODEL_IDS, generateVideoModelTable } from './chunk-IJZ4XPO2.mjs';
|
package/dist/lists/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { A as AccessTarget } from '../types-DMzMWJeJ.js';
|
|
2
|
-
export { i as isZeroPriced } from '../index-
|
|
2
|
+
export { i as isZeroPriced } from '../index-Ipv-RcfT.js';
|
|
3
3
|
import '../base-BaiI72Da.js';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../index-
|
|
6
|
-
import '../catalog-
|
|
5
|
+
import '../index-BvzrCBss.js';
|
|
6
|
+
import '../catalog-B2eRnrWD.js';
|
|
7
7
|
import '../image/index.js';
|
|
8
8
|
import '../video/index.js';
|
|
9
9
|
import '../audio/index.js';
|
package/dist/lists/index.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { getModel, resolveAlias, listModels } from '../chunk-
|
|
1
|
+
import { getModel, resolveAlias, listModels } from '../chunk-562U2L7T.mjs';
|
|
2
2
|
import '../chunk-H6JUTF3U.mjs';
|
|
3
|
-
import { stripRouteSuffix, resolveLlmModelRoute, formatModelRef, listRouterLlmRoutes, tryParseModelRef } from '../chunk-
|
|
4
|
-
import { modelMatchesTarget } from '../chunk-
|
|
5
|
-
export { isZeroPriced } from '../chunk-
|
|
3
|
+
import { stripRouteSuffix, resolveLlmModelRoute, formatModelRef, listRouterLlmRoutes, tryParseModelRef } from '../chunk-BQDTFJ4J.mjs';
|
|
4
|
+
import { modelMatchesTarget } from '../chunk-5LO27OWU.mjs';
|
|
5
|
+
export { isZeroPriced } from '../chunk-F4BUE3N6.mjs';
|
|
6
6
|
import '../chunk-WG4F6IRS.mjs';
|
|
7
|
-
import '../chunk-
|
|
8
|
-
import { resolveContextWindow } from '../chunk-
|
|
7
|
+
import '../chunk-7CTQGUR2.mjs';
|
|
8
|
+
import { resolveContextWindow } from '../chunk-Y2REI5QQ.mjs';
|
|
9
9
|
import '../chunk-QHELXPSL.mjs';
|
|
10
10
|
import '../chunk-2LWYZOWB.mjs';
|
|
11
11
|
import '../chunk-IJZ4XPO2.mjs';
|
package/dist/llm/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as CacheStats, f as CalculateLLMCreditCostOptions, g as ContextWindowEntry, D as DEFAULT_PRICING, K as KnownLlmId, a as LLMCreditCostResult, L as LLMPricing, b as LLMPricingTier, c as LLMUsageBreakdown, d as LLM_PRICING_CATALOG, h as LlmModelAlias, i as LlmModelId, M as MODEL_ALIASES, j as ModelRoute, e as calculateLLMCreditCost, k as getCacheStats, l as getModelProvider, m as isKnownLlmId, n as listNativeModelIds, o as listUnpricedKnownLlmIds, p as resolveAlias, q as resolveContextWindow, t as resolveModelRoute, r as resolvePricing, u as resolvePricingExact, s as selectPricingTier, v as splitContextWindowHint } from '../catalog-
|
|
1
|
+
export { C as CacheStats, f as CalculateLLMCreditCostOptions, g as ContextWindowEntry, D as DEFAULT_PRICING, K as KnownLlmId, a as LLMCreditCostResult, L as LLMPricing, b as LLMPricingTier, c as LLMUsageBreakdown, d as LLM_PRICING_CATALOG, h as LlmModelAlias, i as LlmModelId, M as MODEL_ALIASES, j as ModelRoute, e as calculateLLMCreditCost, k as getCacheStats, l as getModelProvider, m as isKnownLlmId, n as listNativeModelIds, o as listUnpricedKnownLlmIds, p as resolveAlias, q as resolveContextWindow, t as resolveModelRoute, r as resolvePricing, u as resolvePricingExact, s as selectPricingTier, v as splitContextWindowHint } from '../catalog-B2eRnrWD.js';
|
|
2
2
|
export { D as DEFAULT_ANTHROPIC_MODEL, L as LLM_TIERS, a as LlmTierName, O as OPERATOR_AGENT_MODELS, b as OPERATOR_DEFAULT_GEMINI, c as OPERATOR_DEFAULT_PREMIUM, d as OPERATOR_DEFAULT_STANDARD, e as OperatorAgentModel, W as WORKFLOW_FAST_MODEL, f as WORKFLOW_PREMIUM_MODEL, g as WORKFLOW_TINY_MODEL } from '../defaults-BDkNRPK8.js';
|
|
3
3
|
import '../base-BaiI72Da.js';
|
|
4
4
|
import 'zod';
|
package/dist/llm/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { DEFAULT_ANTHROPIC_MODEL, 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 { DEFAULT_ANTHROPIC_MODEL, 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-7CTQGUR2.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-Y2REI5QQ.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 { L as LLMPricing } from '../catalog-
|
|
1
|
+
import { L as LLMPricing } from '../catalog-B2eRnrWD.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 { A as AccessDecision } from '../evaluate-
|
|
1
|
+
import { A as AccessDecision } from '../evaluate-CYQHJ4Jk.js';
|
|
2
2
|
import { M as ModelKind } from '../base-BaiI72Da.js';
|
|
3
|
-
import { M as ModelEnrichment } from '../index-
|
|
4
|
-
import '../index-
|
|
5
|
-
import '../catalog-
|
|
3
|
+
import { M as ModelEnrichment } from '../index-Ipv-RcfT.js';
|
|
4
|
+
import '../index-BvzrCBss.js';
|
|
5
|
+
import '../catalog-B2eRnrWD.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-BQDTFJ4J.mjs';
|
|
2
2
|
import '../chunk-WG4F6IRS.mjs';
|
|
3
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-Y2REI5QQ.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.14.
|
|
3
|
+
"version": "0.14.1",
|
|
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",
|
|
@@ -131,8 +131,8 @@
|
|
|
131
131
|
"tsup": "^8.5.1",
|
|
132
132
|
"typescript": "^5.9.3",
|
|
133
133
|
"vitest": "^3.2.7",
|
|
134
|
-
"@agentproto/
|
|
135
|
-
"@agentproto/
|
|
134
|
+
"@agentproto/provider-presets": "0.7.2",
|
|
135
|
+
"@agentproto/tooling": "0.1.0"
|
|
136
136
|
},
|
|
137
137
|
"engines": {
|
|
138
138
|
"node": ">=20.9.0"
|