@agentproto/model-catalog 0.9.4 → 0.10.0

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-ZTTWZ7PL.mjs → chunk-5ZNG5RQB.mjs} +15 -3
  8. package/dist/chunk-5ZNG5RQB.mjs.map +1 -0
  9. package/dist/{chunk-H467PHUU.mjs → chunk-67NNWX36.mjs} +3 -3
  10. package/dist/{chunk-H467PHUU.mjs.map → chunk-67NNWX36.mjs.map} +1 -1
  11. package/dist/{chunk-V2BMFFUF.mjs → chunk-C6HNSPGW.mjs} +4 -4
  12. package/dist/{chunk-V2BMFFUF.mjs.map → chunk-C6HNSPGW.mjs.map} +1 -1
  13. package/dist/{chunk-UREM2UZK.mjs → chunk-L6TCCCP6.mjs} +4 -4
  14. package/dist/{chunk-UREM2UZK.mjs.map → chunk-L6TCCCP6.mjs.map} +1 -1
  15. package/dist/{chunk-5XUA72EH.mjs → chunk-M3I2OMBX.mjs} +3 -3
  16. package/dist/{chunk-5XUA72EH.mjs.map → chunk-M3I2OMBX.mjs.map} +1 -1
  17. package/dist/{chunk-GW52XH4V.mjs → chunk-MATRJ7K6.mjs} +185 -146
  18. package/dist/chunk-MATRJ7K6.mjs.map +1 -0
  19. package/dist/{chunk-6VUL4I7V.mjs → chunk-MOSKXFIN.mjs} +1358 -123
  20. package/dist/chunk-MOSKXFIN.mjs.map +1 -0
  21. package/dist/{chunk-JHBSGPWH.mjs → chunk-MRFY23PA.mjs} +5 -5
  22. package/dist/{chunk-JHBSGPWH.mjs.map → chunk-MRFY23PA.mjs.map} +1 -1
  23. package/dist/{chunk-3Y5TQDGE.mjs → chunk-TTIJME5T.mjs} +3 -3
  24. package/dist/{chunk-3Y5TQDGE.mjs.map → chunk-TTIJME5T.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
@@ -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-MATRJ7K6.mjs';
2
+ import '../chunk-WG4F6IRS.mjs';
3
+ import '../chunk-MOSKXFIN.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.0",
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": {