@agentproto/model-catalog 0.9.2 → 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.
- package/dist/access/index.d.ts +5 -5
- package/dist/access/index.mjs +4 -4
- package/dist/audio/index.d.ts +1 -1
- package/dist/{audio-DR0g_ZH_.d.ts → audio-Do2j3wDC.d.ts} +2 -0
- package/dist/{base-B8IIoaqg.d.ts → base-BaiI72Da.d.ts} +4 -0
- package/dist/{catalog-Cg0AJJZ7.d.ts → catalog-BAb74hY-.d.ts} +1 -1
- package/dist/{chunk-ZTTWZ7PL.mjs → chunk-5ZNG5RQB.mjs} +15 -3
- package/dist/chunk-5ZNG5RQB.mjs.map +1 -0
- package/dist/{chunk-AJLMLBEZ.mjs → chunk-67NNWX36.mjs} +3 -3
- package/dist/{chunk-AJLMLBEZ.mjs.map → chunk-67NNWX36.mjs.map} +1 -1
- package/dist/{chunk-XC355MAQ.mjs → chunk-C6HNSPGW.mjs} +4 -4
- package/dist/{chunk-XC355MAQ.mjs.map → chunk-C6HNSPGW.mjs.map} +1 -1
- package/dist/{chunk-W4VANZM3.mjs → chunk-L6TCCCP6.mjs} +4 -4
- package/dist/{chunk-W4VANZM3.mjs.map → chunk-L6TCCCP6.mjs.map} +1 -1
- package/dist/{chunk-QDQWHWDU.mjs → chunk-M3I2OMBX.mjs} +3 -3
- package/dist/{chunk-QDQWHWDU.mjs.map → chunk-M3I2OMBX.mjs.map} +1 -1
- package/dist/{chunk-AVCHKXUD.mjs → chunk-MATRJ7K6.mjs} +218 -127
- package/dist/chunk-MATRJ7K6.mjs.map +1 -0
- package/dist/{chunk-OH37WKVA.mjs → chunk-MOSKXFIN.mjs} +1399 -156
- package/dist/chunk-MOSKXFIN.mjs.map +1 -0
- package/dist/{chunk-4ROXWVQD.mjs → chunk-MRFY23PA.mjs} +5 -5
- package/dist/{chunk-4ROXWVQD.mjs.map → chunk-MRFY23PA.mjs.map} +1 -1
- package/dist/{chunk-3Y5TQDGE.mjs → chunk-TTIJME5T.mjs} +3 -3
- package/dist/{chunk-3Y5TQDGE.mjs.map → chunk-TTIJME5T.mjs.map} +1 -1
- package/dist/{chunk-QNJRWRWC.mjs → chunk-WG4F6IRS.mjs} +22 -2
- package/dist/chunk-WG4F6IRS.mjs.map +1 -0
- package/dist/cost/index.mjs +7 -7
- package/dist/curation/index.d.ts +4 -4
- package/dist/curation/index.mjs +7 -7
- package/dist/{evaluate-D3gXrAg-.d.ts → evaluate-B83jX17h.d.ts} +2 -2
- package/dist/{index-DC8jecem.d.ts → index-BWvtVzEG.d.ts} +3 -3
- package/dist/{index-BZfxAdXA.d.ts → index-vC37SFpk.d.ts} +18 -13
- package/dist/index.d.ts +7 -7
- package/dist/index.mjs +12 -12
- package/dist/llm/index.d.ts +44 -3
- package/dist/llm/index.mjs +2 -2
- package/dist/overlay/index.d.ts +3 -3
- package/dist/picker/index.d.ts +6 -6
- package/dist/route-identity/index.d.ts +5 -2
- package/dist/route-identity/index.mjs +3 -3
- package/dist/schema/index.d.ts +16 -2
- package/dist/schema/index.mjs +2 -2
- package/package.json +5 -5
- package/dist/chunk-AVCHKXUD.mjs.map +0 -1
- package/dist/chunk-OH37WKVA.mjs.map +0 -1
- package/dist/chunk-QNJRWRWC.mjs.map +0 -1
- package/dist/chunk-ZTTWZ7PL.mjs.map +0 -1
package/dist/picker/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import '../evaluate-
|
|
2
|
-
import '../base-
|
|
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-
|
|
4
|
-
import '../index-
|
|
5
|
-
import '../catalog-
|
|
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-
|
|
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-
|
|
2
|
-
import '../base-
|
|
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-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
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
|
package/dist/schema/index.d.ts
CHANGED
|
@@ -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-
|
|
3
|
-
export { A as AudioCapabilities, a as AudioCapabilitiesSchema, b as AudioEntry, c as AudioEntrySchema, d as AudioPricing, e as AudioPricingSchema } from '../audio-
|
|
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";
|
package/dist/schema/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { AudioCapabilitiesSchema, AudioEntrySchema, AudioPricingSchema, ImageAspectRatioSchema, ImageCapabilitiesSchema, ImageEntrySchema, ImagePricingSchema, ImageReferenceImagesSchema, LLMEntrySchema, LlmPricingSchema, ModelEntrySchema, VideoCapabilitiesSchema, VideoCostMultipliersSchema, VideoEntrySchema, VideoPricingSchema, VideoResolutionSchema } from '../chunk-
|
|
2
|
-
export { CatalogPriceTierSchema, CatalogProviderSchema, LifecycleSchema, ModelKindSchema, NsfwPolicySchema, PROVIDER_KEY_ENV, PROVIDER_KEY_ENV_ALIASES, baseEntryShape } from '../chunk-
|
|
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.
|
|
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
|
|
122
|
+
"zod": "^4.6.5"
|
|
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.
|
|
128
|
+
"vitest": "^3.2.7",
|
|
129
|
+
"@agentproto/provider-presets": "0.7.0",
|
|
130
130
|
"@agentproto/tooling": "0.1.0"
|
|
131
131
|
},
|
|
132
132
|
"engines": {
|