@agentproto/model-catalog 0.9.4 → 0.10.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.
Files changed (47) hide show
  1. package/dist/access/index.d.ts +5 -5
  2. package/dist/access/index.mjs +4 -4
  3. package/dist/audio/index.d.ts +1 -1
  4. package/dist/{audio-DR0g_ZH_.d.ts → audio-Do2j3wDC.d.ts} +2 -0
  5. package/dist/{base-B8IIoaqg.d.ts → base-BaiI72Da.d.ts} +4 -0
  6. package/dist/{catalog-Cg0AJJZ7.d.ts → catalog-BAb74hY-.d.ts} +1 -1
  7. package/dist/{chunk-H467PHUU.mjs → chunk-B67THXMQ.mjs} +3 -3
  8. package/dist/{chunk-H467PHUU.mjs.map → chunk-B67THXMQ.mjs.map} +1 -1
  9. package/dist/{chunk-5XUA72EH.mjs → chunk-E3IERKDC.mjs} +3 -3
  10. package/dist/{chunk-5XUA72EH.mjs.map → chunk-E3IERKDC.mjs.map} +1 -1
  11. package/dist/{chunk-JHBSGPWH.mjs → chunk-E5CVTRPJ.mjs} +5 -5
  12. package/dist/{chunk-JHBSGPWH.mjs.map → chunk-E5CVTRPJ.mjs.map} +1 -1
  13. package/dist/{chunk-GW52XH4V.mjs → chunk-G6CA3BXI.mjs} +204 -197
  14. package/dist/chunk-G6CA3BXI.mjs.map +1 -0
  15. package/dist/{chunk-6VUL4I7V.mjs → chunk-I5E7F6KY.mjs} +1454 -192
  16. package/dist/chunk-I5E7F6KY.mjs.map +1 -0
  17. package/dist/{chunk-V2BMFFUF.mjs → chunk-O6SQMVPM.mjs} +4 -4
  18. package/dist/{chunk-V2BMFFUF.mjs.map → chunk-O6SQMVPM.mjs.map} +1 -1
  19. package/dist/{chunk-ZTTWZ7PL.mjs → chunk-TC6S3SY3.mjs} +15 -3
  20. package/dist/chunk-TC6S3SY3.mjs.map +1 -0
  21. package/dist/{chunk-3Y5TQDGE.mjs → chunk-TTIJME5T.mjs} +3 -3
  22. package/dist/{chunk-3Y5TQDGE.mjs.map → chunk-TTIJME5T.mjs.map} +1 -1
  23. package/dist/{chunk-UREM2UZK.mjs → chunk-UZDL26T7.mjs} +4 -4
  24. package/dist/{chunk-UREM2UZK.mjs.map → chunk-UZDL26T7.mjs.map} +1 -1
  25. package/dist/{chunk-QNJRWRWC.mjs → chunk-WG4F6IRS.mjs} +22 -2
  26. package/dist/chunk-WG4F6IRS.mjs.map +1 -0
  27. package/dist/cost/index.mjs +7 -7
  28. package/dist/curation/index.d.ts +4 -4
  29. package/dist/curation/index.mjs +7 -7
  30. package/dist/{evaluate-D3gXrAg-.d.ts → evaluate-B83jX17h.d.ts} +2 -2
  31. package/dist/{index-DC8jecem.d.ts → index-BWvtVzEG.d.ts} +3 -3
  32. package/dist/{index-BZfxAdXA.d.ts → index-vC37SFpk.d.ts} +18 -13
  33. package/dist/index.d.ts +7 -7
  34. package/dist/index.mjs +12 -12
  35. package/dist/llm/index.d.ts +44 -3
  36. package/dist/llm/index.mjs +2 -2
  37. package/dist/overlay/index.d.ts +3 -3
  38. package/dist/picker/index.d.ts +6 -6
  39. package/dist/route-identity/index.d.ts +5 -2
  40. package/dist/route-identity/index.mjs +3 -3
  41. package/dist/schema/index.d.ts +16 -2
  42. package/dist/schema/index.mjs +2 -2
  43. package/package.json +3 -3
  44. package/dist/chunk-6VUL4I7V.mjs.map +0 -1
  45. package/dist/chunk-GW52XH4V.mjs.map +0 -1
  46. package/dist/chunk-QNJRWRWC.mjs.map +0 -1
  47. package/dist/chunk-ZTTWZ7PL.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-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';
1
+ export { applyProfile, expandProviders, filterVoicesByProviders, getProviderGroup, getSurfaceProfile, groupForProvider, listProviderGroups, listSurfaceProfiles, listSurfaced, modelMatchesProfile } from './chunk-UZDL26T7.mjs';
2
+ export { CostUsageKindMismatchError, UnknownModelError, calculateAudioCost, calculateCost, calculateImageCost, calculateLLMCost, calculateVideoCost } from './chunk-O6SQMVPM.mjs';
3
+ import { getModel } from './chunk-E5CVTRPJ.mjs';
4
+ export { getModel, getModelsByProvider, getStaticModelProvider, isAgentVisible, listModels, resolveAlias } from './chunk-E5CVTRPJ.mjs';
5
+ import './chunk-G6CA3BXI.mjs';
6
6
  export { shouldDebit } from './chunk-XFDXTFV3.mjs';
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';
7
+ export { evaluateAccess, evaluateCatalogDefaults } from './chunk-E3IERKDC.mjs';
8
+ import { priceTierForModel } from './chunk-B67THXMQ.mjs';
9
+ export { assertReservedPrefixDiscipline, getActions, getEnrichment, isActionTag, modelHasAction, modelHasTag, modelMatchesCatalogPriceTier, modelMatchesKind, modelMatchesPriceTier, priceTierForModel } from './chunk-B67THXMQ.mjs';
10
10
  export { clearCatalogOverlays, getMergedOverlay, registerCatalogOverlay } from './chunk-H6JUTF3U.mjs';
11
- export { AudioCapabilitiesSchema, AudioEntrySchema, AudioPricingSchema, ImageAspectRatioSchema, ImageCapabilitiesSchema, ImageEntrySchema, ImagePricingSchema, ImageReferenceImagesSchema, LLMEntrySchema, LlmPricingSchema, ModelEntrySchema, VideoCapabilitiesSchema, VideoCostMultipliersSchema, VideoEntrySchema, VideoPricingSchema, VideoResolutionSchema } from './chunk-3Y5TQDGE.mjs';
12
- export { CatalogPriceTierSchema, CatalogProviderSchema, LifecycleSchema, ModelKindSchema, NsfwPolicySchema, PROVIDER_KEY_ENV, PROVIDER_KEY_ENV_ALIASES, baseEntryShape } from './chunk-QNJRWRWC.mjs';
13
- import './chunk-ZTTWZ7PL.mjs';
14
- export { DEFAULT_PRICING, LLM_PRICING_CATALOG, MODEL_ALIASES, calculateLLMCreditCost, resolvePricing } from './chunk-6VUL4I7V.mjs';
11
+ export { AudioCapabilitiesSchema, AudioEntrySchema, AudioPricingSchema, ImageAspectRatioSchema, ImageCapabilitiesSchema, ImageEntrySchema, ImagePricingSchema, ImageReferenceImagesSchema, LLMEntrySchema, LlmPricingSchema, ModelEntrySchema, VideoCapabilitiesSchema, VideoCostMultipliersSchema, VideoEntrySchema, VideoPricingSchema, VideoResolutionSchema } from './chunk-TTIJME5T.mjs';
12
+ export { CatalogPriceTierSchema, CatalogProviderSchema, LifecycleSchema, ModelKindSchema, NsfwPolicySchema, PROVIDER_KEY_ENV, PROVIDER_KEY_ENV_ALIASES, baseEntryShape } from './chunk-WG4F6IRS.mjs';
13
+ import './chunk-TC6S3SY3.mjs';
14
+ export { DEFAULT_PRICING, LLM_PRICING_CATALOG, MODEL_ALIASES, calculateLLMCreditCost, resolvePricing } from './chunk-I5E7F6KY.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';
@@ -1,7 +1,48 @@
1
- export { C as CacheStats, e as CalculateLLMCreditCostOptions, f as ContextWindowEntry, D as DEFAULT_PRICING, K as KnownLlmId, a as LLMCreditCostResult, L as LLMPricing, b as LLMUsageBreakdown, c as LLM_PRICING_CATALOG, g as LlmModelAlias, h as LlmModelId, M as MODEL_ALIASES, i as ModelRoute, d as calculateLLMCreditCost, j as getCacheStats, k as getModelProvider, l as isKnownLlmId, m as listNativeModelIds, n as listUnpricedKnownLlmIds, o as resolveAlias, p as resolveContextWindow, q as resolveModelRoute, r as resolvePricing, s as resolvePricingExact } from '../catalog-Cg0AJJZ7.js';
2
- import '../base-B8IIoaqg.js';
1
+ export { C as CacheStats, e as CalculateLLMCreditCostOptions, f as ContextWindowEntry, D as DEFAULT_PRICING, K as KnownLlmId, a as LLMCreditCostResult, L as LLMPricing, b as LLMUsageBreakdown, c as LLM_PRICING_CATALOG, g as LlmModelAlias, h as LlmModelId, M as MODEL_ALIASES, i as ModelRoute, d as calculateLLMCreditCost, j as getCacheStats, k as getModelProvider, l as isKnownLlmId, m as listNativeModelIds, n as listUnpricedKnownLlmIds, o as resolveAlias, p as resolveContextWindow, q as resolveModelRoute, r as resolvePricing, s as resolvePricingExact } from '../catalog-BAb74hY-.js';
2
+ import '../base-BaiI72Da.js';
3
3
  import 'zod';
4
4
 
5
+ /**
6
+ * OpenCode's two hosted endpoints — the small hand-written surface over their
7
+ * generated route tables.
8
+ *
9
+ * Deliberately its OWN module rather than an addition to `catalog.ts`: that
10
+ * file owns `LLM_PRICING_CATALOG`, and the one invariant these tables have is
11
+ * that they are NEVER spread into it (a bare `claude-sonnet-5` must keep
12
+ * meaning direct Anthropic, not a Zen-priced route — see the OpenCode branch
13
+ * in `route-identity/index.ts`). Keeping the import out of `catalog.ts`
14
+ * keeps that temptation out of reach.
15
+ */
16
+ /**
17
+ * The two OpenCode hosted endpoints, by catalog provider id.
18
+ * - `"opencode"` — OpenCode Zen, pay-as-you-go (`.../zen/v1`).
19
+ * - `"opencode-go"` — OpenCode Go, the flat subscription (`.../zen/go/v1`).
20
+ */
21
+ type OpencodeEndpoint = "opencode" | "opencode-go";
22
+ /**
23
+ * Every model ref an OpenCode endpoint serves, in the `<provider>/<bare-id>`
24
+ * form the route tables are keyed by — which is also opencode's own config
25
+ * spelling and what a caller passes to `agent_start`.
26
+ */
27
+ declare function listOpencodeModelRefs(endpoint: OpencodeEndpoint): string[];
28
+ /**
29
+ * The subset of {@link listOpencodeModelRefs} whose wire surface is the
30
+ * Anthropic Messages API — exactly what the matching `opencode` /
31
+ * `opencode-go` gateway preset can serve, and therefore exactly what an
32
+ * Anthropic-native adapter (claude-code / claude-sdk) may offer on that
33
+ * route. Both endpoints also serve OpenAI chat/completions, OpenAI Responses
34
+ * and (Zen only) Gemini models behind the same base URL; those are
35
+ * unreachable from an Anthropic client and are excluded here.
36
+ *
37
+ * Derived from the generated `*_ANTHROPIC_MODELS` lists, which come from the
38
+ * source's own per-model `provider.npm` discriminator — so an adapter menu
39
+ * built on this can never drift into offering an id the endpoint won't answer
40
+ * on `/v1/messages`, and a newly-added Anthropic-surface model becomes
41
+ * offerable on the next catalog-sync run with no code change (the same
42
+ * rationale as `listNativeModelIds`).
43
+ */
44
+ declare function listOpencodeAnthropicModelRefs(endpoint: OpencodeEndpoint): string[];
45
+
5
46
  /**
6
47
  * Shared human-readable token formatting, so the `agentproto models` CLI and
7
48
  * the `catalog_models` MCP tool render the same `1M`/`200k` shapes instead of
@@ -55,4 +96,4 @@ declare const LLM_TIERS: {
55
96
  };
56
97
  type LlmTierName = keyof typeof LLM_TIERS;
57
98
 
58
- export { LLM_TIERS, type LlmTierName, OPERATOR_AGENT_MODELS, OPERATOR_DEFAULT_GEMINI, OPERATOR_DEFAULT_PREMIUM, OPERATOR_DEFAULT_STANDARD, type OperatorAgentModel, WORKFLOW_FAST_MODEL, WORKFLOW_PREMIUM_MODEL, WORKFLOW_TINY_MODEL, formatTokens };
99
+ export { LLM_TIERS, type LlmTierName, OPERATOR_AGENT_MODELS, OPERATOR_DEFAULT_GEMINI, OPERATOR_DEFAULT_PREMIUM, OPERATOR_DEFAULT_STANDARD, type OpencodeEndpoint, type OperatorAgentModel, WORKFLOW_FAST_MODEL, WORKFLOW_PREMIUM_MODEL, WORKFLOW_TINY_MODEL, formatTokens, listOpencodeAnthropicModelRefs, listOpencodeModelRefs };
@@ -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 } 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-6VUL4I7V.mjs';
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-TC6S3SY3.mjs';
2
+ export { DEFAULT_PRICING, LLM_PRICING_CATALOG, MODEL_ALIASES, calculateLLMCreditCost, getCacheStats, getModelProvider, isKnownLlmId, listNativeModelIds, listUnpricedKnownLlmIds, resolveAlias, resolveContextWindow, resolveModelRoute, resolvePricing, resolvePricingExact } from '../chunk-I5E7F6KY.mjs';
3
3
  import '../chunk-QHELXPSL.mjs';
4
4
  //# sourceMappingURL=index.mjs.map
5
5
  //# sourceMappingURL=index.mjs.map
@@ -1,11 +1,11 @@
1
- import { L as LLMPricing } from '../catalog-Cg0AJJZ7.js';
1
+ import { L as LLMPricing } from '../catalog-BAb74hY-.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';
5
5
  import { CatalogVoice } from '../schema/voice.js';
6
- import '../base-B8IIoaqg.js';
6
+ import '../base-BaiI72Da.js';
7
7
  import 'zod';
8
- import '../audio-DR0g_ZH_.js';
8
+ import '../audio-Do2j3wDC.js';
9
9
 
10
10
  /**
11
11
  * Consumer catalog overlays.
@@ -1,11 +1,11 @@
1
- import '../evaluate-D3gXrAg-.js';
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-DC8jecem.js';
4
- import '../index-BZfxAdXA.js';
5
- import '../catalog-Cg0AJJZ7.js';
1
+ import '../evaluate-B83jX17h.js';
2
+ import '../base-BaiI72Da.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-BWvtVzEG.js';
4
+ import '../index-vC37SFpk.js';
5
+ import '../catalog-BAb74hY-.js';
6
6
  import '../image/index.js';
7
7
  import '../video/index.js';
8
8
  import '../audio/index.js';
9
- import '../audio-DR0g_ZH_.js';
9
+ import '../audio-Do2j3wDC.js';
10
10
  import 'zod';
11
11
  import '../schema/voice.js';
@@ -1,5 +1,5 @@
1
- import { L as LLMPricing } from '../catalog-Cg0AJJZ7.js';
2
- import '../base-B8IIoaqg.js';
1
+ import { L as LLMPricing } from '../catalog-BAb74hY-.js';
2
+ import '../base-BaiI72Da.js';
3
3
  import 'zod';
4
4
 
5
5
  /**
@@ -262,6 +262,9 @@ declare function clearCustomRoutes(): void;
262
262
  * openai/gpt-4o → direct OpenAI pricing / transport
263
263
  * openai/gpt-4o@openrouter → OpenRouter route pricing / transport
264
264
  * openai/gpt-4o@requesty → Requesty route pricing / transport
265
+ * opencode-go/glm-5.3 → OpenCode Go route pricing / transport (the
266
+ * provider IS the id's vendor segment here)
267
+ * opencode/claude-sonnet-4-6 → OpenCode Zen, NOT direct Anthropic
265
268
  * meta-llama/Llama-3.1-8B:cerebras@huggingface → HuggingFace, pinned to the "cerebras" inference provider
266
269
  * openai/gpt-4o@agentik-proxy → custom route config (if registered)
267
270
  *
@@ -1,6 +1,6 @@
1
- export { InvalidModelRefError, OPENROUTER_VARIANTS, clearCustomRoutes, diagnoseModelRef, formatModelRef, isModelRefString, listRouterLlmRoutes, parseModelRef, registerCustomRoute, resolveCustomRoute, resolveLlmModelRoute, stripAnthropicNativeVendor, stripFixedNativeVendor, stripRouteSuffix, tryParseModelRef } from '../chunk-GW52XH4V.mjs';
2
- import '../chunk-QNJRWRWC.mjs';
3
- import '../chunk-6VUL4I7V.mjs';
1
+ export { InvalidModelRefError, OPENROUTER_VARIANTS, clearCustomRoutes, diagnoseModelRef, formatModelRef, isModelRefString, listRouterLlmRoutes, parseModelRef, registerCustomRoute, resolveCustomRoute, resolveLlmModelRoute, stripAnthropicNativeVendor, stripFixedNativeVendor, stripRouteSuffix, tryParseModelRef } from '../chunk-G6CA3BXI.mjs';
2
+ import '../chunk-WG4F6IRS.mjs';
3
+ import '../chunk-I5E7F6KY.mjs';
4
4
  import '../chunk-QHELXPSL.mjs';
5
5
  //# sourceMappingURL=index.mjs.map
6
6
  //# sourceMappingURL=index.mjs.map
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- 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';
3
- export { A as AudioCapabilities, a as AudioCapabilitiesSchema, b as AudioEntry, c as AudioEntrySchema, d as AudioPricing, e as AudioPricingSchema } from '../audio-DR0g_ZH_.js';
2
+ 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';
3
+ export { A as AudioCapabilities, a as AudioCapabilitiesSchema, b as AudioEntry, c as AudioEntrySchema, d as AudioPricing, e as AudioPricingSchema } from '../audio-Do2j3wDC.js';
4
4
  export { CatalogVoice, CatalogVoiceProvider, CatalogVoiceProviderSchema, CatalogVoiceSchema } from './voice.js';
5
5
 
6
6
  /**
@@ -46,6 +46,8 @@ declare const LLMEntrySchema: z.ZodObject<{
46
46
  minimax: "minimax";
47
47
  mistral: "mistral";
48
48
  moonshot: "moonshot";
49
+ opencode: "opencode";
50
+ "opencode-go": "opencode-go";
49
51
  openai: "openai";
50
52
  "openai-realtime": "openai-realtime";
51
53
  openrouter: "openrouter";
@@ -180,6 +182,8 @@ declare const ImageEntrySchema: z.ZodObject<{
180
182
  minimax: "minimax";
181
183
  mistral: "mistral";
182
184
  moonshot: "moonshot";
185
+ opencode: "opencode";
186
+ "opencode-go": "opencode-go";
183
187
  openai: "openai";
184
188
  "openai-realtime": "openai-realtime";
185
189
  openrouter: "openrouter";
@@ -322,6 +326,8 @@ declare const VideoEntrySchema: z.ZodObject<{
322
326
  minimax: "minimax";
323
327
  mistral: "mistral";
324
328
  moonshot: "moonshot";
329
+ opencode: "opencode";
330
+ "opencode-go": "opencode-go";
325
331
  openai: "openai";
326
332
  "openai-realtime": "openai-realtime";
327
333
  openrouter: "openrouter";
@@ -381,6 +387,8 @@ declare const ModelEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
381
387
  minimax: "minimax";
382
388
  mistral: "mistral";
383
389
  moonshot: "moonshot";
390
+ opencode: "opencode";
391
+ "opencode-go": "opencode-go";
384
392
  openai: "openai";
385
393
  "openai-realtime": "openai-realtime";
386
394
  openrouter: "openrouter";
@@ -462,6 +470,8 @@ declare const ModelEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
462
470
  minimax: "minimax";
463
471
  mistral: "mistral";
464
472
  moonshot: "moonshot";
473
+ opencode: "opencode";
474
+ "opencode-go": "opencode-go";
465
475
  openai: "openai";
466
476
  "openai-realtime": "openai-realtime";
467
477
  openrouter: "openrouter";
@@ -548,6 +558,8 @@ declare const ModelEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
548
558
  minimax: "minimax";
549
559
  mistral: "mistral";
550
560
  moonshot: "moonshot";
561
+ opencode: "opencode";
562
+ "opencode-go": "opencode-go";
551
563
  openai: "openai";
552
564
  "openai-realtime": "openai-realtime";
553
565
  openrouter: "openrouter";
@@ -614,6 +626,8 @@ declare const ModelEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
614
626
  minimax: "minimax";
615
627
  mistral: "mistral";
616
628
  moonshot: "moonshot";
629
+ opencode: "opencode";
630
+ "opencode-go": "opencode-go";
617
631
  openai: "openai";
618
632
  "openai-realtime": "openai-realtime";
619
633
  openrouter: "openrouter";
@@ -1,5 +1,5 @@
1
- export { AudioCapabilitiesSchema, AudioEntrySchema, AudioPricingSchema, ImageAspectRatioSchema, ImageCapabilitiesSchema, ImageEntrySchema, ImagePricingSchema, ImageReferenceImagesSchema, LLMEntrySchema, LlmPricingSchema, ModelEntrySchema, VideoCapabilitiesSchema, VideoCostMultipliersSchema, VideoEntrySchema, VideoPricingSchema, VideoResolutionSchema } from '../chunk-3Y5TQDGE.mjs';
2
- export { CatalogPriceTierSchema, CatalogProviderSchema, LifecycleSchema, ModelKindSchema, NsfwPolicySchema, PROVIDER_KEY_ENV, PROVIDER_KEY_ENV_ALIASES, baseEntryShape } from '../chunk-QNJRWRWC.mjs';
1
+ export { AudioCapabilitiesSchema, AudioEntrySchema, AudioPricingSchema, ImageAspectRatioSchema, ImageCapabilitiesSchema, ImageEntrySchema, ImagePricingSchema, ImageReferenceImagesSchema, LLMEntrySchema, LlmPricingSchema, ModelEntrySchema, VideoCapabilitiesSchema, VideoCostMultipliersSchema, VideoEntrySchema, VideoPricingSchema, VideoResolutionSchema } from '../chunk-TTIJME5T.mjs';
2
+ export { CatalogPriceTierSchema, CatalogProviderSchema, LifecycleSchema, ModelKindSchema, NsfwPolicySchema, PROVIDER_KEY_ENV, PROVIDER_KEY_ENV_ALIASES, baseEntryShape } from '../chunk-WG4F6IRS.mjs';
3
3
  export { CatalogVoiceProviderSchema, CatalogVoiceSchema } from '../chunk-HEDDSOZF.mjs';
4
4
  //# sourceMappingURL=index.mjs.map
5
5
  //# sourceMappingURL=index.mjs.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentproto/model-catalog",
3
- "version": "0.9.4",
3
+ "version": "0.10.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",
@@ -119,14 +119,14 @@
119
119
  }
120
120
  },
121
121
  "dependencies": {
122
- "zod": "^4.5.4"
122
+ "zod": "^4.6.5"
123
123
  },
124
124
  "devDependencies": {
125
125
  "@types/node": "^25.9.5",
126
126
  "tsup": "^8.5.1",
127
127
  "typescript": "^5.9.3",
128
128
  "vitest": "^3.2.7",
129
- "@agentproto/provider-presets": "0.6.2",
129
+ "@agentproto/provider-presets": "0.7.0",
130
130
  "@agentproto/tooling": "0.1.0"
131
131
  },
132
132
  "engines": {