@dcdr/contracts 2.2.0 → 2.3.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/asset.contract.d.ts +195 -0
- package/dist/asset.contract.d.ts.map +1 -0
- package/dist/asset.contract.js +60 -0
- package/dist/catalog/anthropic.contract.d.ts +11 -0
- package/dist/catalog/anthropic.contract.d.ts.map +1 -0
- package/dist/catalog/anthropic.contract.js +342 -0
- package/dist/catalog/clip.contract.d.ts +10 -0
- package/dist/catalog/clip.contract.d.ts.map +1 -0
- package/dist/catalog/clip.contract.js +16 -0
- package/dist/catalog/cohere.contract.d.ts +10 -0
- package/dist/catalog/cohere.contract.d.ts.map +1 -0
- package/dist/catalog/cohere.contract.js +16 -0
- package/dist/catalog/dcdr.contract.d.ts +10 -0
- package/dist/catalog/dcdr.contract.d.ts.map +1 -0
- package/dist/catalog/dcdr.contract.js +16 -0
- package/dist/catalog/gemini.contract.d.ts +10 -0
- package/dist/catalog/gemini.contract.d.ts.map +1 -0
- package/dist/catalog/gemini.contract.js +1067 -0
- package/dist/catalog/grok.contract.d.ts +10 -0
- package/dist/catalog/grok.contract.d.ts.map +1 -0
- package/dist/catalog/grok.contract.js +194 -0
- package/dist/catalog/http-tool.contract.d.ts +10 -0
- package/dist/catalog/http-tool.contract.d.ts.map +1 -0
- package/dist/catalog/http-tool.contract.js +16 -0
- package/dist/catalog/mistral.contract.d.ts +10 -0
- package/dist/catalog/mistral.contract.d.ts.map +1 -0
- package/dist/catalog/mistral.contract.js +234 -0
- package/dist/catalog/ocr.contract.d.ts +10 -0
- package/dist/catalog/ocr.contract.d.ts.map +1 -0
- package/dist/catalog/ocr.contract.js +16 -0
- package/dist/catalog/office.contract.d.ts +10 -0
- package/dist/catalog/office.contract.d.ts.map +1 -0
- package/dist/catalog/office.contract.js +53 -0
- package/dist/catalog/ollama.contract.d.ts +10 -0
- package/dist/catalog/ollama.contract.d.ts.map +1 -0
- package/dist/catalog/ollama.contract.js +16 -0
- package/dist/catalog/openai-compatible.contract.d.ts +10 -0
- package/dist/catalog/openai-compatible.contract.d.ts.map +1 -0
- package/dist/catalog/openai-compatible.contract.js +16 -0
- package/dist/catalog/openai.contract.d.ts +11 -0
- package/dist/catalog/openai.contract.d.ts.map +1 -0
- package/dist/catalog/openai.contract.js +2654 -0
- package/dist/catalog/rules.contract.d.ts +10 -0
- package/dist/catalog/rules.contract.d.ts.map +1 -0
- package/dist/catalog/rules.contract.js +16 -0
- package/dist/entitlements.contract.d.ts +3 -0
- package/dist/entitlements.contract.d.ts.map +1 -1
- package/dist/execution.contract.d.ts +122 -0
- package/dist/execution.contract.d.ts.map +1 -1
- package/dist/execution.contract.js +17 -1
- package/dist/policies.contract.d.ts +19 -0
- package/dist/policies.contract.d.ts.map +1 -1
- package/dist/policies.contract.js +24 -1
- package/dist/prompt-variable-schema.contract.d.ts +8 -1
- package/dist/prompt-variable-schema.contract.d.ts.map +1 -1
- package/dist/prompt-variable-schema.contract.js +109 -4
- package/dist/prompts.contract.d.ts +14 -8
- package/dist/prompts.contract.d.ts.map +1 -1
- package/dist/prompts.contract.js +12 -1
- package/dist/provider.catalog.contract.d.ts +459 -0
- package/dist/provider.catalog.contract.d.ts.map +1 -0
- package/dist/provider.catalog.contract.js +765 -0
- package/dist/provider.contract.d.ts +4 -352
- package/dist/provider.contract.d.ts.map +1 -1
- package/dist/provider.contract.js +16 -3634
- package/dist/runtime.client.d.ts +54 -1
- package/dist/runtime.client.d.ts.map +1 -1
- package/dist/runtime.client.js +185 -0
- package/dist/utils.contract.d.ts +33 -0
- package/dist/utils.contract.d.ts.map +1 -1
- package/dist/utils.contract.js +35 -0
- package/package.json +2 -1
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ProviderCatalogModuleBuildArgs, ProviderModelDefinitionInput, ProviderModelE2EOverride } from "../provider.catalog.contract";
|
|
2
|
+
/**
|
|
3
|
+
* Returns the curated Grok provider model definitions.
|
|
4
|
+
*/
|
|
5
|
+
export declare function buildGrokProviderModelDefinitions(args: ProviderCatalogModuleBuildArgs): ProviderModelDefinitionInput[];
|
|
6
|
+
/**
|
|
7
|
+
* Returns the E2E override map for Grok provider models.
|
|
8
|
+
*/
|
|
9
|
+
export declare function buildGrokProviderModelE2EOverrides(args: ProviderCatalogModuleBuildArgs): Record<string, ProviderModelE2EOverride>;
|
|
10
|
+
//# sourceMappingURL=grok.contract.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grok.contract.d.ts","sourceRoot":"","sources":["../../src/catalog/grok.contract.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,8BAA8B,EAC9B,4BAA4B,EAC5B,wBAAwB,EAEzB,MAAM,8BAA8B,CAAC;AAKtC;;GAEG;AACH,wBAAgB,iCAAiC,CAC/C,IAAI,EAAE,8BAA8B,GACnC,4BAA4B,EAAE,CAwLhC;AAED;;GAEG;AACH,wBAAgB,kCAAkC,CAChD,IAAI,EAAE,8BAA8B,GACnC,MAAM,CAAC,MAAM,EAAE,wBAAwB,CAAC,CAE1C"}
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.buildGrokProviderModelDefinitions = buildGrokProviderModelDefinitions;
|
|
4
|
+
exports.buildGrokProviderModelE2EOverrides = buildGrokProviderModelE2EOverrides;
|
|
5
|
+
const asset_contract_1 = require("../asset.contract");
|
|
6
|
+
const execution_contract_1 = require("../execution.contract");
|
|
7
|
+
const intent_contract_1 = require("../intent.contract");
|
|
8
|
+
const XAI_PRICING_URL = "https://docs.x.ai/developers/pricing";
|
|
9
|
+
const XAI_PRICING_UPDATED_AT_20260522 = Date.UTC(2026, 4, 22);
|
|
10
|
+
/**
|
|
11
|
+
* Returns the curated Grok provider model definitions.
|
|
12
|
+
*/
|
|
13
|
+
function buildGrokProviderModelDefinitions(args) {
|
|
14
|
+
const GROK_CHAT_PARAMETER_SUPPORT = {
|
|
15
|
+
parameters: {
|
|
16
|
+
[args.catalogEnums.promptParameterKey.PRESENCE_PENALTY]: args.catalogEnums.parameterSupportStatus.NOT_SUPPORTED,
|
|
17
|
+
[args.catalogEnums.promptParameterKey.FREQUENCY_PENALTY]: args.catalogEnums.parameterSupportStatus.NOT_SUPPORTED,
|
|
18
|
+
},
|
|
19
|
+
notes: "Grok chat models reject presence/frequency penalties on current OpenAI-compatible endpoint.",
|
|
20
|
+
updatedAt: "2026-06-07",
|
|
21
|
+
};
|
|
22
|
+
return [
|
|
23
|
+
// Source: xAI pricing page (snapshot 2026-06-07)
|
|
24
|
+
// Runtime posture: curated public candidates are enabled for customer-facing BEST/FAST options.
|
|
25
|
+
{
|
|
26
|
+
id: "grok-4.3",
|
|
27
|
+
types: [intent_contract_1.IntentType.CHAT],
|
|
28
|
+
parameterSupport: GROK_CHAT_PARAMETER_SUPPORT,
|
|
29
|
+
publicForCustomers: true,
|
|
30
|
+
tokenUsageCovered: true,
|
|
31
|
+
publicName: "DCDR Best",
|
|
32
|
+
badge: "Grok",
|
|
33
|
+
primaryCategory: args.catalogEnums.publicModelCategory.BEST,
|
|
34
|
+
categories: [args.catalogEnums.publicModelCategory.BEST, args.catalogEnums.publicModelCategory.SMART],
|
|
35
|
+
qualityTier: 5,
|
|
36
|
+
speedTier: 4,
|
|
37
|
+
costTier: 3,
|
|
38
|
+
recommendedUseCases: ["reasoning", "analysis", "production_chat"],
|
|
39
|
+
isRecommended: false,
|
|
40
|
+
isGlobalDefault: false,
|
|
41
|
+
isCategoryDefault: false,
|
|
42
|
+
pricing: args.pricingPerMillionTokens({
|
|
43
|
+
input: 1.25,
|
|
44
|
+
cachedInput: 0.2,
|
|
45
|
+
output: 2.5,
|
|
46
|
+
sourceUrl: XAI_PRICING_URL,
|
|
47
|
+
updatedAt: XAI_PRICING_UPDATED_AT_20260522,
|
|
48
|
+
}),
|
|
49
|
+
runtimeSupport: {
|
|
50
|
+
preferredApi: args.catalogEnums.preferredApi.RESPONSES,
|
|
51
|
+
status: args.catalogEnums.runtimeSupportStatus.SUPPORTED,
|
|
52
|
+
reason: "Validated via provider E2E (run + structured)",
|
|
53
|
+
inputParts: {
|
|
54
|
+
status: args.catalogEnums.runtimeSupportStatus.SUPPORTED,
|
|
55
|
+
supportedAssetTypes: [asset_contract_1.AssetType.IMAGE, asset_contract_1.AssetType.DOCUMENT],
|
|
56
|
+
supportedSourceKinds: [
|
|
57
|
+
execution_contract_1.ExecutionPartSourceKind.INLINE,
|
|
58
|
+
execution_contract_1.ExecutionPartSourceKind.URL,
|
|
59
|
+
execution_contract_1.ExecutionPartSourceKind.ASSET,
|
|
60
|
+
],
|
|
61
|
+
notes: "Re-curated on 2026-06-28 with the 1024-token baseline via Responses API. IMAGE and DOCUMENT both pass across INLINE/URL/ASSET. TEXT passes INLINE but not URL or ASSET (comprehensionEcho missing — metadata-suppression pattern persists, excluded from rectangle). AUDIO and VIDEO fail the canonical comprehension cues across all source kinds.",
|
|
62
|
+
updatedAt: "2026-06-28",
|
|
63
|
+
},
|
|
64
|
+
updatedAt: "2026-06-07",
|
|
65
|
+
},
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
id: "grok-4.20-0309-non-reasoning",
|
|
69
|
+
types: [intent_contract_1.IntentType.CHAT],
|
|
70
|
+
parameterSupport: GROK_CHAT_PARAMETER_SUPPORT,
|
|
71
|
+
pricing: args.pricingPerMillionTokens({
|
|
72
|
+
input: 1.25,
|
|
73
|
+
cachedInput: 0.2,
|
|
74
|
+
output: 2.5,
|
|
75
|
+
sourceUrl: XAI_PRICING_URL,
|
|
76
|
+
updatedAt: XAI_PRICING_UPDATED_AT_20260522,
|
|
77
|
+
}),
|
|
78
|
+
runtimeSupport: {
|
|
79
|
+
preferredApi: args.catalogEnums.preferredApi.RESPONSES,
|
|
80
|
+
status: args.catalogEnums.runtimeSupportStatus.SUPPORTED,
|
|
81
|
+
reason: "Validated via provider E2E (run + structured)",
|
|
82
|
+
inputParts: {
|
|
83
|
+
status: args.catalogEnums.runtimeSupportStatus.SUPPORTED,
|
|
84
|
+
supportedAssetTypes: [asset_contract_1.AssetType.TEXT, asset_contract_1.AssetType.IMAGE, asset_contract_1.AssetType.DOCUMENT],
|
|
85
|
+
supportedSourceKinds: [
|
|
86
|
+
execution_contract_1.ExecutionPartSourceKind.INLINE,
|
|
87
|
+
execution_contract_1.ExecutionPartSourceKind.URL,
|
|
88
|
+
execution_contract_1.ExecutionPartSourceKind.ASSET,
|
|
89
|
+
],
|
|
90
|
+
notes: "Curated with the comprehension-grade Grok curator on 2026-06-27 via Responses API. TEXT, IMAGE, and DOCUMENT all pass across INLINE/URL/ASSET. AUDIO echoes filename metadata ('sample audio') across all source kinds with no actual audio comprehension. VIDEO generates plausible-sounding but mutually inconsistent scene descriptions across source kinds (hallucination — INLINE: city sidewalk at night; URL: red-shirted person by river; ASSET: industrial plant worker), confirming no genuine video processing.",
|
|
91
|
+
updatedAt: "2026-06-27",
|
|
92
|
+
},
|
|
93
|
+
updatedAt: "2026-06-07",
|
|
94
|
+
},
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
id: "grok-4.20-0309-reasoning",
|
|
98
|
+
types: [intent_contract_1.IntentType.CHAT],
|
|
99
|
+
parameterSupport: GROK_CHAT_PARAMETER_SUPPORT,
|
|
100
|
+
pricing: args.pricingPerMillionTokens({
|
|
101
|
+
input: 1.25,
|
|
102
|
+
cachedInput: 0.2,
|
|
103
|
+
output: 2.5,
|
|
104
|
+
sourceUrl: XAI_PRICING_URL,
|
|
105
|
+
updatedAt: XAI_PRICING_UPDATED_AT_20260522,
|
|
106
|
+
}),
|
|
107
|
+
runtimeSupport: {
|
|
108
|
+
preferredApi: args.catalogEnums.preferredApi.RESPONSES,
|
|
109
|
+
status: args.catalogEnums.runtimeSupportStatus.SUPPORTED,
|
|
110
|
+
reason: "Validated via provider E2E (run + structured)",
|
|
111
|
+
inputParts: {
|
|
112
|
+
status: args.catalogEnums.runtimeSupportStatus.SUPPORTED,
|
|
113
|
+
supportedAssetTypes: [asset_contract_1.AssetType.IMAGE, asset_contract_1.AssetType.DOCUMENT],
|
|
114
|
+
supportedSourceKinds: [
|
|
115
|
+
execution_contract_1.ExecutionPartSourceKind.INLINE,
|
|
116
|
+
execution_contract_1.ExecutionPartSourceKind.URL,
|
|
117
|
+
execution_contract_1.ExecutionPartSourceKind.ASSET,
|
|
118
|
+
],
|
|
119
|
+
notes: "Re-curated on 2026-06-28 with the 1024-token baseline via Responses API. IMAGE and DOCUMENT both pass across INLINE/URL/ASSET. TEXT passes URL and ASSET but not INLINE (comprehensionEcho missing on INLINE — inconsistent pattern, excluded from rectangle). AUDIO and VIDEO fail the canonical comprehension cues across all source kinds.",
|
|
120
|
+
updatedAt: "2026-06-28",
|
|
121
|
+
},
|
|
122
|
+
updatedAt: "2026-06-07",
|
|
123
|
+
},
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
id: "grok-4.20-multi-agent-0309",
|
|
127
|
+
types: [intent_contract_1.IntentType.CHAT],
|
|
128
|
+
parameterSupport: GROK_CHAT_PARAMETER_SUPPORT,
|
|
129
|
+
pricing: args.pricingPerMillionTokens({
|
|
130
|
+
input: 1.25,
|
|
131
|
+
cachedInput: 0.2,
|
|
132
|
+
output: 2.5,
|
|
133
|
+
sourceUrl: XAI_PRICING_URL,
|
|
134
|
+
updatedAt: XAI_PRICING_UPDATED_AT_20260522,
|
|
135
|
+
}),
|
|
136
|
+
runtimeSupport: {
|
|
137
|
+
status: args.catalogEnums.runtimeSupportStatus.FAILING,
|
|
138
|
+
reason: "Provider E2E returns upstream 400 on both run and structured paths (OpenAI-compatible chat endpoint).",
|
|
139
|
+
updatedAt: "2026-06-07",
|
|
140
|
+
},
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
id: "grok-build-0.1",
|
|
144
|
+
types: [intent_contract_1.IntentType.CHAT],
|
|
145
|
+
parameterSupport: GROK_CHAT_PARAMETER_SUPPORT,
|
|
146
|
+
publicForCustomers: true,
|
|
147
|
+
tokenUsageCovered: true,
|
|
148
|
+
publicName: "DCDR Fast",
|
|
149
|
+
badge: "Grok",
|
|
150
|
+
primaryCategory: args.catalogEnums.publicModelCategory.FAST,
|
|
151
|
+
categories: [
|
|
152
|
+
args.catalogEnums.publicModelCategory.FAST,
|
|
153
|
+
args.catalogEnums.publicModelCategory.ECONOMY,
|
|
154
|
+
],
|
|
155
|
+
qualityTier: 3,
|
|
156
|
+
speedTier: 5,
|
|
157
|
+
costTier: 4,
|
|
158
|
+
recommendedUseCases: ["interactive_chat", "classification", "support"],
|
|
159
|
+
isRecommended: false,
|
|
160
|
+
isGlobalDefault: false,
|
|
161
|
+
isCategoryDefault: false,
|
|
162
|
+
pricing: args.pricingPerMillionTokens({
|
|
163
|
+
input: 1.0,
|
|
164
|
+
cachedInput: 0.2,
|
|
165
|
+
output: 2.0,
|
|
166
|
+
sourceUrl: XAI_PRICING_URL,
|
|
167
|
+
updatedAt: XAI_PRICING_UPDATED_AT_20260522,
|
|
168
|
+
}),
|
|
169
|
+
runtimeSupport: {
|
|
170
|
+
preferredApi: args.catalogEnums.preferredApi.RESPONSES,
|
|
171
|
+
status: args.catalogEnums.runtimeSupportStatus.SUPPORTED,
|
|
172
|
+
reason: "Validated via provider E2E (run + structured)",
|
|
173
|
+
inputParts: {
|
|
174
|
+
status: args.catalogEnums.runtimeSupportStatus.SUPPORTED,
|
|
175
|
+
supportedAssetTypes: [asset_contract_1.AssetType.IMAGE, asset_contract_1.AssetType.DOCUMENT],
|
|
176
|
+
supportedSourceKinds: [
|
|
177
|
+
execution_contract_1.ExecutionPartSourceKind.INLINE,
|
|
178
|
+
execution_contract_1.ExecutionPartSourceKind.URL,
|
|
179
|
+
execution_contract_1.ExecutionPartSourceKind.ASSET,
|
|
180
|
+
],
|
|
181
|
+
notes: "Re-curated on 2026-06-28 with the 1024-token baseline via Responses API. IMAGE now passes across INLINE/URL/ASSET (previously only URL and ASSET passed). DOCUMENT passes across INLINE/URL/ASSET. TEXT fails comprehensionEcho on all three source kinds. AUDIO and VIDEO fail the canonical comprehension cues across all source kinds.",
|
|
182
|
+
updatedAt: "2026-06-28",
|
|
183
|
+
},
|
|
184
|
+
updatedAt: "2026-06-07",
|
|
185
|
+
},
|
|
186
|
+
},
|
|
187
|
+
];
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
* Returns the E2E override map for Grok provider models.
|
|
191
|
+
*/
|
|
192
|
+
function buildGrokProviderModelE2EOverrides(args) {
|
|
193
|
+
return {};
|
|
194
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ProviderCatalogModuleBuildArgs, ProviderModelDefinitionInput, ProviderModelE2EOverride } from "../provider.catalog.contract";
|
|
2
|
+
/**
|
|
3
|
+
* Returns the curated HTTP tool provider model definitions.
|
|
4
|
+
*/
|
|
5
|
+
export declare function buildHttpToolProviderModelDefinitions(args: ProviderCatalogModuleBuildArgs): ProviderModelDefinitionInput[];
|
|
6
|
+
/**
|
|
7
|
+
* Returns the E2E override map for HTTP tool provider models.
|
|
8
|
+
*/
|
|
9
|
+
export declare function buildHttpToolProviderModelE2EOverrides(args: ProviderCatalogModuleBuildArgs): Record<string, ProviderModelE2EOverride>;
|
|
10
|
+
//# sourceMappingURL=http-tool.contract.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"http-tool.contract.d.ts","sourceRoot":"","sources":["../../src/catalog/http-tool.contract.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,8BAA8B,EAC9B,4BAA4B,EAC5B,wBAAwB,EAGzB,MAAM,8BAA8B,CAAC;AAEtC;;GAEG;AACH,wBAAgB,qCAAqC,CACnD,IAAI,EAAE,8BAA8B,GACnC,4BAA4B,EAAE,CAGhC;AAED;;GAEG;AACH,wBAAgB,sCAAsC,CACpD,IAAI,EAAE,8BAA8B,GACnC,MAAM,CAAC,MAAM,EAAE,wBAAwB,CAAC,CAE1C"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.buildHttpToolProviderModelDefinitions = buildHttpToolProviderModelDefinitions;
|
|
4
|
+
exports.buildHttpToolProviderModelE2EOverrides = buildHttpToolProviderModelE2EOverrides;
|
|
5
|
+
/**
|
|
6
|
+
* Returns the curated HTTP tool provider model definitions.
|
|
7
|
+
*/
|
|
8
|
+
function buildHttpToolProviderModelDefinitions(args) {
|
|
9
|
+
return [];
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Returns the E2E override map for HTTP tool provider models.
|
|
13
|
+
*/
|
|
14
|
+
function buildHttpToolProviderModelE2EOverrides(args) {
|
|
15
|
+
return {};
|
|
16
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ProviderCatalogModuleBuildArgs, ProviderModelDefinitionInput, ProviderModelE2EOverride } from "../provider.catalog.contract";
|
|
2
|
+
/**
|
|
3
|
+
* Returns the curated Mistral provider model definitions.
|
|
4
|
+
*/
|
|
5
|
+
export declare function buildMistralProviderModelDefinitions(args: ProviderCatalogModuleBuildArgs): ProviderModelDefinitionInput[];
|
|
6
|
+
/**
|
|
7
|
+
* Returns the E2E override map for Mistral provider models.
|
|
8
|
+
*/
|
|
9
|
+
export declare function buildMistralProviderModelE2EOverrides(_args: ProviderCatalogModuleBuildArgs): Record<string, ProviderModelE2EOverride>;
|
|
10
|
+
//# sourceMappingURL=mistral.contract.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mistral.contract.d.ts","sourceRoot":"","sources":["../../src/catalog/mistral.contract.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,8BAA8B,EAC9B,4BAA4B,EAC5B,wBAAwB,EAEzB,MAAM,8BAA8B,CAAC;AAMtC;;GAEG;AACH,wBAAgB,oCAAoC,CAClD,IAAI,EAAE,8BAA8B,GACnC,4BAA4B,EAAE,CAiOhC;AAED;;GAEG;AACH,wBAAgB,qCAAqC,CACnD,KAAK,EAAE,8BAA8B,GACpC,MAAM,CAAC,MAAM,EAAE,wBAAwB,CAAC,CAE1C"}
|
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.buildMistralProviderModelDefinitions = buildMistralProviderModelDefinitions;
|
|
4
|
+
exports.buildMistralProviderModelE2EOverrides = buildMistralProviderModelE2EOverrides;
|
|
5
|
+
const asset_contract_1 = require("../asset.contract");
|
|
6
|
+
const execution_contract_1 = require("../execution.contract");
|
|
7
|
+
const intent_contract_1 = require("../intent.contract");
|
|
8
|
+
const MISTRAL_PRICING_URL = "https://mistral.ai/pricing";
|
|
9
|
+
const MISTRAL_MODELS_URL = "https://docs.mistral.ai/getting-started/models/";
|
|
10
|
+
const MISTRAL_PRICING_UPDATED_AT_20260522 = Date.UTC(2026, 4, 22);
|
|
11
|
+
/**
|
|
12
|
+
* Returns the curated Mistral provider model definitions.
|
|
13
|
+
*/
|
|
14
|
+
function buildMistralProviderModelDefinitions(args) {
|
|
15
|
+
return [
|
|
16
|
+
// Source: Mistral API pricing page + models API snapshot (2026-06-07).
|
|
17
|
+
// Keep this catalog CHAT-focused for runtime v1; embedding/moderation/ocr families are intentionally excluded.
|
|
18
|
+
{
|
|
19
|
+
id: "mistral-large-latest",
|
|
20
|
+
types: [intent_contract_1.IntentType.CHAT],
|
|
21
|
+
pricing: args.pricingPerMillionTokens({
|
|
22
|
+
input: 0.5,
|
|
23
|
+
output: 1.5,
|
|
24
|
+
sourceUrl: MISTRAL_PRICING_URL,
|
|
25
|
+
updatedAt: MISTRAL_PRICING_UPDATED_AT_20260522,
|
|
26
|
+
}),
|
|
27
|
+
runtimeSupport: {
|
|
28
|
+
status: args.catalogEnums.runtimeSupportStatus.SUPPORTED,
|
|
29
|
+
reason: "Validated via provider E2E (text + structured + multimodal)",
|
|
30
|
+
inputParts: {
|
|
31
|
+
status: args.catalogEnums.runtimeSupportStatus.SUPPORTED,
|
|
32
|
+
supportedAssetTypes: [asset_contract_1.AssetType.IMAGE],
|
|
33
|
+
supportedSourceKinds: [
|
|
34
|
+
execution_contract_1.ExecutionPartSourceKind.INLINE,
|
|
35
|
+
execution_contract_1.ExecutionPartSourceKind.URL,
|
|
36
|
+
execution_contract_1.ExecutionPartSourceKind.ASSET,
|
|
37
|
+
],
|
|
38
|
+
notes: "Curated on 2026-06-29 with the 1024-token baseline. IMAGE passes comprehension verification (dice image correctly identified) across INLINE/URL/ASSET. TEXT fails comprehensionEcho on all source kinds (model-behavior metadata pattern — text part is received but the embedded marker is not echoed back). AUDIO and VIDEO are silently not processed — Mistral standard chat API has no audio/video chunk type; parts are dropped before provider submission. DOCUMENT returns no comprehensionEcho — not supported in standard chat.",
|
|
39
|
+
updatedAt: "2026-06-29",
|
|
40
|
+
},
|
|
41
|
+
updatedAt: "2026-06-29",
|
|
42
|
+
},
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
id: "mistral-medium-latest",
|
|
46
|
+
types: [intent_contract_1.IntentType.CHAT],
|
|
47
|
+
pricing: args.pricingPerMillionTokens({
|
|
48
|
+
input: 1.5,
|
|
49
|
+
output: 7.5,
|
|
50
|
+
sourceUrl: MISTRAL_PRICING_URL,
|
|
51
|
+
updatedAt: MISTRAL_PRICING_UPDATED_AT_20260522,
|
|
52
|
+
}),
|
|
53
|
+
runtimeSupport: {
|
|
54
|
+
status: args.catalogEnums.runtimeSupportStatus.SUPPORTED,
|
|
55
|
+
reason: "Validated via provider E2E (text + structured + multimodal)",
|
|
56
|
+
inputParts: {
|
|
57
|
+
status: args.catalogEnums.runtimeSupportStatus.SUPPORTED,
|
|
58
|
+
supportedAssetTypes: [asset_contract_1.AssetType.IMAGE],
|
|
59
|
+
supportedSourceKinds: [
|
|
60
|
+
execution_contract_1.ExecutionPartSourceKind.INLINE,
|
|
61
|
+
execution_contract_1.ExecutionPartSourceKind.URL,
|
|
62
|
+
execution_contract_1.ExecutionPartSourceKind.ASSET,
|
|
63
|
+
],
|
|
64
|
+
notes: "Curated on 2026-06-29 with the 1024-token baseline. IMAGE passes comprehension verification (dice image correctly identified) across INLINE/URL/ASSET. TEXT fails comprehensionEcho on all source kinds (model-behavior metadata pattern — text part is received but the embedded marker is not echoed back). AUDIO and VIDEO are silently not processed — Mistral standard chat API has no audio/video chunk type; parts are dropped before provider submission. DOCUMENT returns no comprehensionEcho — not supported in standard chat.",
|
|
65
|
+
updatedAt: "2026-06-29",
|
|
66
|
+
},
|
|
67
|
+
updatedAt: "2026-06-29",
|
|
68
|
+
},
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
id: "mistral-small-latest",
|
|
72
|
+
types: [intent_contract_1.IntentType.CHAT],
|
|
73
|
+
pricing: args.pricingPerMillionTokens({
|
|
74
|
+
input: 0.1,
|
|
75
|
+
output: 0.3,
|
|
76
|
+
sourceUrl: MISTRAL_PRICING_URL,
|
|
77
|
+
updatedAt: MISTRAL_PRICING_UPDATED_AT_20260522,
|
|
78
|
+
}),
|
|
79
|
+
runtimeSupport: {
|
|
80
|
+
status: args.catalogEnums.runtimeSupportStatus.SUPPORTED,
|
|
81
|
+
reason: "Validated via provider E2E (text + structured + multimodal)",
|
|
82
|
+
inputParts: {
|
|
83
|
+
status: args.catalogEnums.runtimeSupportStatus.SUPPORTED,
|
|
84
|
+
supportedAssetTypes: [asset_contract_1.AssetType.IMAGE],
|
|
85
|
+
supportedSourceKinds: [
|
|
86
|
+
execution_contract_1.ExecutionPartSourceKind.INLINE,
|
|
87
|
+
execution_contract_1.ExecutionPartSourceKind.URL,
|
|
88
|
+
execution_contract_1.ExecutionPartSourceKind.ASSET,
|
|
89
|
+
],
|
|
90
|
+
notes: "Curated on 2026-06-28 with the 1024-token baseline. IMAGE passes comprehension verification (dice image correctly identified) across INLINE/URL/ASSET. TEXT fails comprehensionEcho on all source kinds (model-behavior metadata pattern — text part is received but the embedded marker is not echoed back). AUDIO and VIDEO are silently not processed — Mistral standard chat API has no audio/video chunk type; parts are dropped before provider submission. DOCUMENT returns no comprehensionEcho — not supported in standard chat.",
|
|
91
|
+
updatedAt: "2026-06-28",
|
|
92
|
+
},
|
|
93
|
+
updatedAt: "2026-06-29",
|
|
94
|
+
},
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
id: "mistral-tiny-latest",
|
|
98
|
+
types: [intent_contract_1.IntentType.CHAT],
|
|
99
|
+
runtimeSupport: {
|
|
100
|
+
status: args.catalogEnums.runtimeSupportStatus.SUPPORTED,
|
|
101
|
+
reason: "Validated via provider E2E (text + structured). Text-only model — image input rejected with upstream 400 PROVIDER_ERROR; no inputParts support.",
|
|
102
|
+
updatedAt: "2026-06-29",
|
|
103
|
+
},
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
id: "ministral-14b-latest",
|
|
107
|
+
types: [intent_contract_1.IntentType.CHAT],
|
|
108
|
+
pricing: args.pricingPerMillionTokens({
|
|
109
|
+
input: 0.2,
|
|
110
|
+
output: 0.2,
|
|
111
|
+
sourceUrl: MISTRAL_PRICING_URL,
|
|
112
|
+
updatedAt: MISTRAL_PRICING_UPDATED_AT_20260522,
|
|
113
|
+
}),
|
|
114
|
+
runtimeSupport: {
|
|
115
|
+
status: args.catalogEnums.runtimeSupportStatus.SUPPORTED,
|
|
116
|
+
reason: "Validated via provider E2E (text + structured + multimodal)",
|
|
117
|
+
inputParts: {
|
|
118
|
+
status: args.catalogEnums.runtimeSupportStatus.SUPPORTED,
|
|
119
|
+
supportedAssetTypes: [asset_contract_1.AssetType.IMAGE],
|
|
120
|
+
supportedSourceKinds: [
|
|
121
|
+
execution_contract_1.ExecutionPartSourceKind.INLINE,
|
|
122
|
+
execution_contract_1.ExecutionPartSourceKind.URL,
|
|
123
|
+
execution_contract_1.ExecutionPartSourceKind.ASSET,
|
|
124
|
+
],
|
|
125
|
+
notes: "Curated on 2026-06-29 with the 1024-token baseline. IMAGE passes comprehension verification (dice image correctly identified) across INLINE/URL/ASSET. TEXT fails comprehensionEcho on all source kinds (model-behavior metadata pattern — text part is received but the embedded marker is not echoed back). AUDIO and VIDEO are silently not processed — Mistral standard chat API has no audio/video chunk type; parts are dropped before provider submission. DOCUMENT returns no comprehensionEcho — not supported in standard chat.",
|
|
126
|
+
updatedAt: "2026-06-29",
|
|
127
|
+
},
|
|
128
|
+
updatedAt: "2026-06-29",
|
|
129
|
+
},
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
id: "ministral-8b-latest",
|
|
133
|
+
types: [intent_contract_1.IntentType.CHAT],
|
|
134
|
+
pricing: args.pricingPerMillionTokens({
|
|
135
|
+
input: 0.15,
|
|
136
|
+
output: 0.15,
|
|
137
|
+
sourceUrl: MISTRAL_PRICING_URL,
|
|
138
|
+
updatedAt: MISTRAL_PRICING_UPDATED_AT_20260522,
|
|
139
|
+
}),
|
|
140
|
+
runtimeSupport: {
|
|
141
|
+
status: args.catalogEnums.runtimeSupportStatus.SUPPORTED,
|
|
142
|
+
reason: "Validated via provider E2E (text + structured + multimodal)",
|
|
143
|
+
inputParts: {
|
|
144
|
+
status: args.catalogEnums.runtimeSupportStatus.SUPPORTED,
|
|
145
|
+
supportedAssetTypes: [asset_contract_1.AssetType.IMAGE],
|
|
146
|
+
supportedSourceKinds: [
|
|
147
|
+
execution_contract_1.ExecutionPartSourceKind.INLINE,
|
|
148
|
+
execution_contract_1.ExecutionPartSourceKind.URL,
|
|
149
|
+
execution_contract_1.ExecutionPartSourceKind.ASSET,
|
|
150
|
+
],
|
|
151
|
+
notes: "Curated on 2026-06-29 with the 1024-token baseline. IMAGE passes comprehension verification (dice image correctly identified) across INLINE/URL/ASSET. TEXT fails comprehensionEcho on all source kinds (model-behavior metadata pattern — text part is received but the embedded marker is not echoed back). AUDIO and VIDEO are silently not processed — Mistral standard chat API has no audio/video chunk type; parts are dropped before provider submission. DOCUMENT returns no comprehensionEcho — not supported in standard chat.",
|
|
152
|
+
updatedAt: "2026-06-29",
|
|
153
|
+
},
|
|
154
|
+
updatedAt: "2026-06-29",
|
|
155
|
+
},
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
id: "ministral-3b-latest",
|
|
159
|
+
types: [intent_contract_1.IntentType.CHAT],
|
|
160
|
+
pricing: args.pricingPerMillionTokens({
|
|
161
|
+
input: 0.1,
|
|
162
|
+
output: 0.1,
|
|
163
|
+
sourceUrl: MISTRAL_PRICING_URL,
|
|
164
|
+
updatedAt: MISTRAL_PRICING_UPDATED_AT_20260522,
|
|
165
|
+
}),
|
|
166
|
+
runtimeSupport: {
|
|
167
|
+
status: args.catalogEnums.runtimeSupportStatus.SUPPORTED,
|
|
168
|
+
reason: "Validated via provider E2E (text + structured + multimodal)",
|
|
169
|
+
inputParts: {
|
|
170
|
+
status: args.catalogEnums.runtimeSupportStatus.SUPPORTED,
|
|
171
|
+
supportedAssetTypes: [asset_contract_1.AssetType.IMAGE],
|
|
172
|
+
supportedSourceKinds: [
|
|
173
|
+
execution_contract_1.ExecutionPartSourceKind.INLINE,
|
|
174
|
+
execution_contract_1.ExecutionPartSourceKind.URL,
|
|
175
|
+
execution_contract_1.ExecutionPartSourceKind.ASSET,
|
|
176
|
+
],
|
|
177
|
+
notes: "Curated on 2026-06-29 with the 1024-token baseline. IMAGE passes comprehension verification (dice image correctly identified) across INLINE/URL/ASSET — vision support is not advertised for this edge model but passes comprehension cues cleanly. TEXT fails comprehensionEcho on all source kinds (model-behavior metadata pattern — text part is received but the embedded marker is not echoed back). AUDIO and VIDEO are silently not processed — Mistral standard chat API has no audio/video chunk type; parts are dropped before provider submission. DOCUMENT returns no comprehensionEcho — not supported in standard chat.",
|
|
178
|
+
updatedAt: "2026-06-29",
|
|
179
|
+
},
|
|
180
|
+
updatedAt: "2026-06-29",
|
|
181
|
+
},
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
id: "codestral-latest",
|
|
185
|
+
types: [intent_contract_1.IntentType.CHAT],
|
|
186
|
+
pricing: args.pricingPerMillionTokens({
|
|
187
|
+
input: 0.3,
|
|
188
|
+
output: 0.9,
|
|
189
|
+
sourceUrl: MISTRAL_PRICING_URL,
|
|
190
|
+
updatedAt: MISTRAL_PRICING_UPDATED_AT_20260522,
|
|
191
|
+
}),
|
|
192
|
+
runtimeSupport: {
|
|
193
|
+
status: args.catalogEnums.runtimeSupportStatus.SUPPORTED,
|
|
194
|
+
reason: "Validated via provider E2E (text + structured). Code-specialised model — image input rejected with upstream 400 PROVIDER_ERROR; no inputParts support.",
|
|
195
|
+
updatedAt: "2026-06-29",
|
|
196
|
+
},
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
id: "mistral-code-latest",
|
|
200
|
+
types: [intent_contract_1.IntentType.CHAT],
|
|
201
|
+
runtimeSupport: {
|
|
202
|
+
status: args.catalogEnums.runtimeSupportStatus.SUPPORTED,
|
|
203
|
+
reason: "Validated via provider E2E (text + structured). Code-specialised model — image input rejected with upstream 400 PROVIDER_ERROR; no inputParts support.",
|
|
204
|
+
updatedAt: "2026-06-29",
|
|
205
|
+
},
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
id: "mistral-vibe-cli-latest",
|
|
209
|
+
types: [intent_contract_1.IntentType.CHAT],
|
|
210
|
+
runtimeSupport: {
|
|
211
|
+
status: args.catalogEnums.runtimeSupportStatus.SUPPORTED,
|
|
212
|
+
reason: "Validated via provider E2E (text + structured + multimodal)",
|
|
213
|
+
inputParts: {
|
|
214
|
+
status: args.catalogEnums.runtimeSupportStatus.SUPPORTED,
|
|
215
|
+
supportedAssetTypes: [asset_contract_1.AssetType.IMAGE],
|
|
216
|
+
supportedSourceKinds: [
|
|
217
|
+
execution_contract_1.ExecutionPartSourceKind.INLINE,
|
|
218
|
+
execution_contract_1.ExecutionPartSourceKind.URL,
|
|
219
|
+
execution_contract_1.ExecutionPartSourceKind.ASSET,
|
|
220
|
+
],
|
|
221
|
+
notes: "Curated on 2026-06-29 with the 1024-token baseline. IMAGE passes comprehension verification (dice image correctly identified) across INLINE/URL/ASSET. TEXT fails comprehensionEcho on all source kinds (model-behavior metadata pattern — text part is received but the embedded marker is not echoed back). AUDIO and VIDEO are silently not processed — Mistral standard chat API has no audio/video chunk type; parts are dropped before provider submission. DOCUMENT returns no comprehensionEcho — not supported in standard chat.",
|
|
222
|
+
updatedAt: "2026-06-29",
|
|
223
|
+
},
|
|
224
|
+
updatedAt: "2026-06-29",
|
|
225
|
+
},
|
|
226
|
+
},
|
|
227
|
+
];
|
|
228
|
+
}
|
|
229
|
+
/**
|
|
230
|
+
* Returns the E2E override map for Mistral provider models.
|
|
231
|
+
*/
|
|
232
|
+
function buildMistralProviderModelE2EOverrides(_args) {
|
|
233
|
+
return {};
|
|
234
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ProviderCatalogModuleBuildArgs, ProviderModelDefinitionInput, ProviderModelE2EOverride } from "../provider.catalog.contract";
|
|
2
|
+
/**
|
|
3
|
+
* Returns the curated OCR provider model definitions.
|
|
4
|
+
*/
|
|
5
|
+
export declare function buildOcrProviderModelDefinitions(args: ProviderCatalogModuleBuildArgs): ProviderModelDefinitionInput[];
|
|
6
|
+
/**
|
|
7
|
+
* Returns the E2E override map for OCR provider models.
|
|
8
|
+
*/
|
|
9
|
+
export declare function buildOcrProviderModelE2EOverrides(args: ProviderCatalogModuleBuildArgs): Record<string, ProviderModelE2EOverride>;
|
|
10
|
+
//# sourceMappingURL=ocr.contract.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ocr.contract.d.ts","sourceRoot":"","sources":["../../src/catalog/ocr.contract.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,8BAA8B,EAC9B,4BAA4B,EAC5B,wBAAwB,EAGzB,MAAM,8BAA8B,CAAC;AAEtC;;GAEG;AACH,wBAAgB,gCAAgC,CAC9C,IAAI,EAAE,8BAA8B,GACnC,4BAA4B,EAAE,CAGhC;AAED;;GAEG;AACH,wBAAgB,iCAAiC,CAC/C,IAAI,EAAE,8BAA8B,GACnC,MAAM,CAAC,MAAM,EAAE,wBAAwB,CAAC,CAE1C"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.buildOcrProviderModelDefinitions = buildOcrProviderModelDefinitions;
|
|
4
|
+
exports.buildOcrProviderModelE2EOverrides = buildOcrProviderModelE2EOverrides;
|
|
5
|
+
/**
|
|
6
|
+
* Returns the curated OCR provider model definitions.
|
|
7
|
+
*/
|
|
8
|
+
function buildOcrProviderModelDefinitions(args) {
|
|
9
|
+
return [];
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Returns the E2E override map for OCR provider models.
|
|
13
|
+
*/
|
|
14
|
+
function buildOcrProviderModelE2EOverrides(args) {
|
|
15
|
+
return {};
|
|
16
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ProviderCatalogModuleBuildArgs, ProviderModelDefinitionInput, ProviderModelE2EOverride } from "../provider.catalog.contract";
|
|
2
|
+
/**
|
|
3
|
+
* Returns the curated Office provider model definitions.
|
|
4
|
+
*/
|
|
5
|
+
export declare function buildOfficeProviderModelDefinitions(args: ProviderCatalogModuleBuildArgs): ProviderModelDefinitionInput[];
|
|
6
|
+
/**
|
|
7
|
+
* Returns the E2E override map for Office provider models.
|
|
8
|
+
*/
|
|
9
|
+
export declare function buildOfficeProviderModelE2EOverrides(args: ProviderCatalogModuleBuildArgs): Record<string, ProviderModelE2EOverride>;
|
|
10
|
+
//# sourceMappingURL=office.contract.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"office.contract.d.ts","sourceRoot":"","sources":["../../src/catalog/office.contract.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,8BAA8B,EAC9B,4BAA4B,EAC5B,wBAAwB,EAGzB,MAAM,8BAA8B,CAAC;AAKtC;;GAEG;AACH,wBAAgB,mCAAmC,CACjD,IAAI,EAAE,8BAA8B,GACnC,4BAA4B,EAAE,CAsChC;AAED;;GAEG;AACH,wBAAgB,oCAAoC,CAClD,IAAI,EAAE,8BAA8B,GACnC,MAAM,CAAC,MAAM,EAAE,wBAAwB,CAAC,CAE1C"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.buildOfficeProviderModelDefinitions = buildOfficeProviderModelDefinitions;
|
|
4
|
+
exports.buildOfficeProviderModelE2EOverrides = buildOfficeProviderModelE2EOverrides;
|
|
5
|
+
const intent_contract_1 = require("../intent.contract");
|
|
6
|
+
const OFFICE_REFERENCE_PRICING_URL = "https://ai.google.dev/gemini-api/docs/pricing";
|
|
7
|
+
const OFFICE_REFERENCE_PRICING_UPDATED_AT_20260519 = Date.UTC(2026, 4, 19);
|
|
8
|
+
/**
|
|
9
|
+
* Returns the curated Office provider model definitions.
|
|
10
|
+
*/
|
|
11
|
+
function buildOfficeProviderModelDefinitions(args) {
|
|
12
|
+
return [
|
|
13
|
+
// Office = internal/local OpenAI-compatible runtime (vLLM etc.)
|
|
14
|
+
// Keep IDs aligned with the common local model naming used in registries.
|
|
15
|
+
{
|
|
16
|
+
id: "Qwen3-4B-Instruct-2507",
|
|
17
|
+
types: [intent_contract_1.IntentType.CHAT],
|
|
18
|
+
publicForCustomers: true,
|
|
19
|
+
tokenUsageCovered: true,
|
|
20
|
+
publicName: "DCDR Private",
|
|
21
|
+
badge: "Local",
|
|
22
|
+
primaryCategory: args.catalogEnums.publicModelCategory.PRIVATE,
|
|
23
|
+
categories: [
|
|
24
|
+
args.catalogEnums.publicModelCategory.PRIVATE,
|
|
25
|
+
args.catalogEnums.publicModelCategory.ECONOMY,
|
|
26
|
+
args.catalogEnums.publicModelCategory.FAST,
|
|
27
|
+
],
|
|
28
|
+
qualityTier: 2,
|
|
29
|
+
speedTier: 5,
|
|
30
|
+
costTier: 5,
|
|
31
|
+
recommendedUseCases: ["private_data", "on_prem", "high_volume"],
|
|
32
|
+
isRecommended: false,
|
|
33
|
+
isGlobalDefault: false,
|
|
34
|
+
isCategoryDefault: true,
|
|
35
|
+
pricing: args.pricingPerMillionTokens({
|
|
36
|
+
// Synthetic estimate for local models: keep Office cheaper than hosted providers.
|
|
37
|
+
// Pick round numbers for UI cost guidance.
|
|
38
|
+
input: 0.05,
|
|
39
|
+
output: 0.15,
|
|
40
|
+
sourceUrl: OFFICE_REFERENCE_PRICING_URL,
|
|
41
|
+
updatedAt: OFFICE_REFERENCE_PRICING_UPDATED_AT_20260519,
|
|
42
|
+
confidence: "approx",
|
|
43
|
+
notes: "Synthetic pricing for local OFFICE provider. For UI cost guidance only.",
|
|
44
|
+
}),
|
|
45
|
+
},
|
|
46
|
+
];
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Returns the E2E override map for Office provider models.
|
|
50
|
+
*/
|
|
51
|
+
function buildOfficeProviderModelE2EOverrides(args) {
|
|
52
|
+
return {};
|
|
53
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ProviderCatalogModuleBuildArgs, ProviderModelDefinitionInput, ProviderModelE2EOverride } from "../provider.catalog.contract";
|
|
2
|
+
/**
|
|
3
|
+
* Returns the curated Ollama provider model definitions.
|
|
4
|
+
*/
|
|
5
|
+
export declare function buildOllamaProviderModelDefinitions(args: ProviderCatalogModuleBuildArgs): ProviderModelDefinitionInput[];
|
|
6
|
+
/**
|
|
7
|
+
* Returns the E2E override map for Ollama provider models.
|
|
8
|
+
*/
|
|
9
|
+
export declare function buildOllamaProviderModelE2EOverrides(args: ProviderCatalogModuleBuildArgs): Record<string, ProviderModelE2EOverride>;
|
|
10
|
+
//# sourceMappingURL=ollama.contract.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ollama.contract.d.ts","sourceRoot":"","sources":["../../src/catalog/ollama.contract.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,8BAA8B,EAC9B,4BAA4B,EAC5B,wBAAwB,EAGzB,MAAM,8BAA8B,CAAC;AAEtC;;GAEG;AACH,wBAAgB,mCAAmC,CACjD,IAAI,EAAE,8BAA8B,GACnC,4BAA4B,EAAE,CAGhC;AAED;;GAEG;AACH,wBAAgB,oCAAoC,CAClD,IAAI,EAAE,8BAA8B,GACnC,MAAM,CAAC,MAAM,EAAE,wBAAwB,CAAC,CAE1C"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.buildOllamaProviderModelDefinitions = buildOllamaProviderModelDefinitions;
|
|
4
|
+
exports.buildOllamaProviderModelE2EOverrides = buildOllamaProviderModelE2EOverrides;
|
|
5
|
+
/**
|
|
6
|
+
* Returns the curated Ollama provider model definitions.
|
|
7
|
+
*/
|
|
8
|
+
function buildOllamaProviderModelDefinitions(args) {
|
|
9
|
+
return [];
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Returns the E2E override map for Ollama provider models.
|
|
13
|
+
*/
|
|
14
|
+
function buildOllamaProviderModelE2EOverrides(args) {
|
|
15
|
+
return {};
|
|
16
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ProviderCatalogModuleBuildArgs, ProviderModelDefinitionInput, ProviderModelE2EOverride } from "../provider.catalog.contract";
|
|
2
|
+
/**
|
|
3
|
+
* Returns the curated OpenAI-compatible provider model definitions.
|
|
4
|
+
*/
|
|
5
|
+
export declare function buildOpenAICompatibleProviderModelDefinitions(args: ProviderCatalogModuleBuildArgs): ProviderModelDefinitionInput[];
|
|
6
|
+
/**
|
|
7
|
+
* Returns the E2E override map for OpenAI-compatible provider models.
|
|
8
|
+
*/
|
|
9
|
+
export declare function buildOpenAICompatibleProviderModelE2EOverrides(args: ProviderCatalogModuleBuildArgs): Record<string, ProviderModelE2EOverride>;
|
|
10
|
+
//# sourceMappingURL=openai-compatible.contract.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"openai-compatible.contract.d.ts","sourceRoot":"","sources":["../../src/catalog/openai-compatible.contract.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,8BAA8B,EAC9B,4BAA4B,EAC5B,wBAAwB,EAGzB,MAAM,8BAA8B,CAAC;AAEtC;;GAEG;AACH,wBAAgB,6CAA6C,CAC3D,IAAI,EAAE,8BAA8B,GACnC,4BAA4B,EAAE,CAGhC;AAED;;GAEG;AACH,wBAAgB,8CAA8C,CAC5D,IAAI,EAAE,8BAA8B,GACnC,MAAM,CAAC,MAAM,EAAE,wBAAwB,CAAC,CAE1C"}
|