@techis/ai-contracts 0.0.0-stage → 0.3.0-rc.16
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/LICENSE +122 -0
- package/README.md +28 -3
- package/THIRD_PARTY_NOTICES +34 -0
- package/dist/availability.d.ts +21 -0
- package/dist/availability.d.ts.map +1 -0
- package/dist/availability.js +2 -0
- package/dist/availability.js.map +1 -0
- package/dist/catalog-adoption.d.ts +20 -0
- package/dist/catalog-adoption.d.ts.map +1 -0
- package/dist/catalog-adoption.js +76 -0
- package/dist/catalog-adoption.js.map +1 -0
- package/dist/catalog-composition.d.ts +10 -0
- package/dist/catalog-composition.d.ts.map +1 -0
- package/dist/catalog-composition.js +66 -0
- package/dist/catalog-composition.js.map +1 -0
- package/dist/catalog-delivery.d.ts +47 -0
- package/dist/catalog-delivery.d.ts.map +1 -0
- package/dist/catalog-delivery.js +87 -0
- package/dist/catalog-delivery.js.map +1 -0
- package/dist/catalog-package-data.d.ts +8 -0
- package/dist/catalog-package-data.d.ts.map +1 -0
- package/dist/catalog-package-data.js +3845 -0
- package/dist/catalog-package-data.js.map +1 -0
- package/dist/compatibility.d.ts +68 -0
- package/dist/compatibility.d.ts.map +1 -0
- package/dist/compatibility.js +207 -0
- package/dist/compatibility.js.map +1 -0
- package/dist/configuration-bundle.d.ts +204 -0
- package/dist/configuration-bundle.d.ts.map +1 -0
- package/dist/configuration-bundle.js +626 -0
- package/dist/configuration-bundle.js.map +1 -0
- package/dist/entities.d.ts +641 -0
- package/dist/entities.d.ts.map +1 -0
- package/dist/entities.js +2 -0
- package/dist/entities.js.map +1 -0
- package/dist/fixtures.d.ts +25 -0
- package/dist/fixtures.d.ts.map +1 -0
- package/dist/fixtures.js +546 -0
- package/dist/fixtures.js.map +1 -0
- package/dist/hash.d.ts +8 -0
- package/dist/hash.d.ts.map +1 -0
- package/dist/hash.js +13 -0
- package/dist/hash.js.map +1 -0
- package/dist/host-qualification.d.ts +107 -0
- package/dist/host-qualification.d.ts.map +1 -0
- package/dist/host-qualification.js +88 -0
- package/dist/host-qualification.js.map +1 -0
- package/dist/icc-catalog.d.ts +31 -0
- package/dist/icc-catalog.d.ts.map +1 -0
- package/dist/icc-catalog.js +321 -0
- package/dist/icc-catalog.js.map +1 -0
- package/dist/icc-csf-profiles.d.ts +28 -0
- package/dist/icc-csf-profiles.d.ts.map +1 -0
- package/dist/icc-csf-profiles.js +394 -0
- package/dist/icc-csf-profiles.js.map +1 -0
- package/dist/index.d.ts +25 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +25 -0
- package/dist/index.js.map +1 -0
- package/dist/model-maintenance.d.ts +216 -0
- package/dist/model-maintenance.d.ts.map +1 -0
- package/dist/model-maintenance.js +425 -0
- package/dist/model-maintenance.js.map +1 -0
- package/dist/model-package-data.d.ts +3 -0
- package/dist/model-package-data.d.ts.map +1 -0
- package/dist/model-package-data.js +4954 -0
- package/dist/model-package-data.js.map +1 -0
- package/dist/persona-inventory.d.ts +143 -0
- package/dist/persona-inventory.d.ts.map +1 -0
- package/dist/persona-inventory.js +56 -0
- package/dist/persona-inventory.js.map +1 -0
- package/dist/profile-identity.d.ts +27 -0
- package/dist/profile-identity.d.ts.map +1 -0
- package/dist/profile-identity.js +30 -0
- package/dist/profile-identity.js.map +1 -0
- package/dist/provider-listings.d.ts +9 -0
- package/dist/provider-listings.d.ts.map +1 -0
- package/dist/provider-listings.js +48 -0
- package/dist/provider-listings.js.map +1 -0
- package/dist/reasoning-validation.d.ts +9 -0
- package/dist/reasoning-validation.d.ts.map +1 -0
- package/dist/reasoning-validation.js +79 -0
- package/dist/reasoning-validation.js.map +1 -0
- package/dist/reasoning.d.ts +55 -0
- package/dist/reasoning.d.ts.map +1 -0
- package/dist/reasoning.js +13 -0
- package/dist/reasoning.js.map +1 -0
- package/dist/receipt.d.ts +16 -0
- package/dist/receipt.d.ts.map +1 -0
- package/dist/receipt.js +18 -0
- package/dist/receipt.js.map +1 -0
- package/dist/schemas/adoption-change-set.schema.json +91 -0
- package/dist/schemas/bundle.d.ts +124 -0
- package/dist/schemas/bundle.d.ts.map +1 -0
- package/dist/schemas/bundle.js +84 -0
- package/dist/schemas/bundle.js.map +1 -0
- package/dist/schemas/catalog-release.schema.json +375 -0
- package/dist/schemas/catalog-review-input.schema.json +179 -0
- package/dist/schemas/catalog-review-output.schema.json +259 -0
- package/dist/schemas/catalog-review-output.v2.schema.json +251 -0
- package/dist/schemas/catalog-review-record.schema.json +391 -0
- package/dist/schemas/client-persona-inventory.schema.json +107 -0
- package/dist/schemas/common.schema.json +324 -0
- package/dist/schemas/config.d.ts +1106 -0
- package/dist/schemas/config.d.ts.map +1 -0
- package/dist/schemas/config.js +496 -0
- package/dist/schemas/config.js.map +1 -0
- package/dist/schemas/configuration-bundle-manifest.schema.json +144 -0
- package/dist/schemas/configuration-manifest.schema.json +109 -0
- package/dist/schemas/connection.schema.json +49 -0
- package/dist/schemas/core.d.ts +2268 -0
- package/dist/schemas/core.d.ts.map +1 -0
- package/dist/schemas/core.js +367 -0
- package/dist/schemas/core.js.map +1 -0
- package/dist/schemas/desktop-configuration-revision.schema.json +146 -0
- package/dist/schemas/execution-profile-revision.schema.json +235 -0
- package/dist/schemas/execution-receipt.schema.json +431 -0
- package/dist/schemas/host-adapter-qualification.schema.json +398 -0
- package/dist/schemas/host-qualification-policy.schema.json +50 -0
- package/dist/schemas/index.d.ts +11 -0
- package/dist/schemas/index.d.ts.map +1 -0
- package/dist/schemas/index.js +34 -0
- package/dist/schemas/index.js.map +1 -0
- package/dist/schemas/inventory.d.ts +170 -0
- package/dist/schemas/inventory.d.ts.map +1 -0
- package/dist/schemas/inventory.js +87 -0
- package/dist/schemas/inventory.js.map +1 -0
- package/dist/schemas/model-definition.schema.json +628 -0
- package/dist/schemas/model-package-release.schema.json +594 -0
- package/dist/schemas/model-upgrade-advisory.schema.json +191 -0
- package/dist/schemas/operation-contract-document.schema.json +153 -0
- package/dist/schemas/persona-assignments.schema.json +125 -0
- package/dist/schemas/persona-registry-overlay.schema.json +93 -0
- package/dist/schemas/persona-source-document.schema.json +86 -0
- package/dist/schemas/persona-specification.schema.json +122 -0
- package/dist/schemas/price-revision.schema.json +299 -0
- package/dist/schemas/profile-assessment.schema.json +288 -0
- package/dist/schemas/scoped.d.ts +424 -0
- package/dist/schemas/scoped.d.ts.map +1 -0
- package/dist/schemas/scoped.js +203 -0
- package/dist/schemas/scoped.js.map +1 -0
- package/dist/schemas/usage-aggregate-query.schema.json +86 -0
- package/dist/schemas/usage-page.schema.json +22 -0
- package/dist/schemas/usage-query.schema.json +77 -0
- package/dist/schemas/usage-summary.schema.json +468 -0
- package/dist/schemas/usage.d.ts +527 -0
- package/dist/schemas/usage.d.ts.map +1 -0
- package/dist/schemas/usage.js +142 -0
- package/dist/schemas/usage.js.map +1 -0
- package/dist/scoped-configuration.d.ts +208 -0
- package/dist/scoped-configuration.d.ts.map +1 -0
- package/dist/scoped-configuration.js +425 -0
- package/dist/scoped-configuration.js.map +1 -0
- package/dist/scripts/emit-schemas.d.ts +2 -0
- package/dist/scripts/emit-schemas.d.ts.map +1 -0
- package/dist/scripts/emit-schemas.js +24 -0
- package/dist/scripts/emit-schemas.js.map +1 -0
- package/dist/scripts/verify-bundle.d.ts +3 -0
- package/dist/scripts/verify-bundle.d.ts.map +1 -0
- package/dist/scripts/verify-bundle.js +59 -0
- package/dist/scripts/verify-bundle.js.map +1 -0
- package/dist/validation.d.ts +11 -0
- package/dist/validation.d.ts.map +1 -0
- package/dist/validation.js +41 -0
- package/dist/validation.js.map +1 -0
- package/package.json +31 -4
- package/third-party-licenses/ajv-formats@3.0.1/LICENSE +21 -0
- package/third-party-licenses/ajv@8.20.0/LICENSE +22 -0
- package/third-party-licenses/fast-deep-equal@3.1.3/LICENSE +21 -0
- package/third-party-licenses/fast-uri@3.1.7/LICENSE +30 -0
- package/third-party-licenses/json-schema-traverse@1.0.0/LICENSE +21 -0
- package/third-party-licenses/require-from-string@2.0.2/license +21 -0
- package/third-party-licenses/typescript@5.9.3/LICENSE.txt +55 -0
- package/third-party-licenses/typescript@5.9.3/ThirdPartyNoticeText.txt +193 -0
- package/third-party-licenses.json +102 -0
|
@@ -0,0 +1,394 @@
|
|
|
1
|
+
import { buildIccProductionCatalogRelease } from "./icc-catalog.js";
|
|
2
|
+
/**
|
|
3
|
+
* Reusable execution configurations derived from the 2026-09-16 ICC and CSF workload review.
|
|
4
|
+
* Persona instructions remain in the client repositories; these records contain execution policy only.
|
|
5
|
+
*/
|
|
6
|
+
export const ICC_CSF_CATALOG_REVISION = "2026-09-16T04:32:04.568Z";
|
|
7
|
+
/**
|
|
8
|
+
* Schema-v2 profile revision (defaults/caps/execution/effortPolicy). The v1 revisions of
|
|
9
|
+
* the same profiles remain immutable history; basedOnRevision records the lineage.
|
|
10
|
+
*/
|
|
11
|
+
export const ICC_CSF_PROFILE_REVISION = "2026-09-16T20:45:00.000Z";
|
|
12
|
+
const V1_PROFILE_REVISION_FOR_LINEAGE = "2026-09-16T04:32:04.568Z";
|
|
13
|
+
const VERIFIED_AT = ICC_CSF_CATALOG_REVISION;
|
|
14
|
+
const EFFECTIVE_DATE = "2026-09-16";
|
|
15
|
+
const OPENAI_EFFORT_LEVELS = ["none", "low", "medium", "high", "xhigh", "max"];
|
|
16
|
+
const GLM_FLASH_EFFORT_LEVELS = ["low", "high", "max"];
|
|
17
|
+
const RETRYABLE_ERRORS = [
|
|
18
|
+
"provider-timeout",
|
|
19
|
+
"provider-rate-limit",
|
|
20
|
+
"provider-server-error",
|
|
21
|
+
"network-error",
|
|
22
|
+
];
|
|
23
|
+
const OPENAI_MODEL_PAGES = {
|
|
24
|
+
"gpt-5.6-sol": "https://developers.openai.com/api/docs/models/gpt-5.6-sol",
|
|
25
|
+
"gpt-5.6-terra": "https://developers.openai.com/api/docs/models/gpt-5.6-terra",
|
|
26
|
+
"gpt-5.6-luna": "https://developers.openai.com/api/docs/models/gpt-5.6-luna",
|
|
27
|
+
"gpt-5.5": "https://developers.openai.com/api/docs/models/gpt-5.5",
|
|
28
|
+
};
|
|
29
|
+
const OPENAI_PRICES = {
|
|
30
|
+
"gpt-5.6-sol": { input: 4, cachedInput: 0.4, output: 20 },
|
|
31
|
+
"gpt-5.6-terra": { input: 2, cachedInput: 0.2, output: 12 },
|
|
32
|
+
"gpt-5.6-luna": { input: 0.2, cachedInput: 0.02, output: 1.2 },
|
|
33
|
+
"gpt-5.5": { input: 5, cachedInput: 0.5, output: 30 },
|
|
34
|
+
};
|
|
35
|
+
function updateOpenAiModel(model) {
|
|
36
|
+
const sourceUri = OPENAI_MODEL_PAGES[model.catalogId];
|
|
37
|
+
if (!sourceUri)
|
|
38
|
+
return model;
|
|
39
|
+
return {
|
|
40
|
+
...model,
|
|
41
|
+
displayName: model.catalogId === "gpt-5.5" ? "GPT-5.5" : model.displayName,
|
|
42
|
+
nativeReasoning: {
|
|
43
|
+
supportedControls: ["effort"],
|
|
44
|
+
disableSupported: true,
|
|
45
|
+
supportedEffortLevels: OPENAI_EFFORT_LEVELS,
|
|
46
|
+
defaultEffort: "medium",
|
|
47
|
+
},
|
|
48
|
+
lifecycle: { status: "ga" },
|
|
49
|
+
activePriceRevisionId: `${model.catalogId}-price-${EFFECTIVE_DATE}`,
|
|
50
|
+
source: { uri: sourceUri, verifiedAt: VERIFIED_AT },
|
|
51
|
+
notes: "Verified provider model page: text and image input, text output, structured outputs, Responses web search, 1.05M context, and 128K maximum output. maxInputTokens is the documented context window less the maximum output allowance.",
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
function updateGlmFlashModel(model) {
|
|
55
|
+
if (model.catalogId !== "glm-5.3-flash")
|
|
56
|
+
return model;
|
|
57
|
+
return {
|
|
58
|
+
...model,
|
|
59
|
+
capabilities: {
|
|
60
|
+
inputModalities: ["text", "image"],
|
|
61
|
+
outputModalities: ["text"],
|
|
62
|
+
structuredOutput: true,
|
|
63
|
+
providerTools: ["web_search"],
|
|
64
|
+
contextWindowTokens: 1_000_000,
|
|
65
|
+
maxInputTokens: 872_000,
|
|
66
|
+
maxOutputTokens: 128_000,
|
|
67
|
+
},
|
|
68
|
+
nativeReasoning: {
|
|
69
|
+
supportedControls: ["effort"],
|
|
70
|
+
disableSupported: false,
|
|
71
|
+
supportedEffortLevels: GLM_FLASH_EFFORT_LEVELS,
|
|
72
|
+
defaultEffort: "max",
|
|
73
|
+
defaultThinkingEnabled: true,
|
|
74
|
+
notes: "Provider documents reasoning_effort low/high/max and always-enabled thinking. The installed adapter sends reasoning_effort with enabled, cleared thinking.",
|
|
75
|
+
},
|
|
76
|
+
lifecycle: { status: "ga" },
|
|
77
|
+
activePriceRevisionId: `glm-5.3-flash-price-${EFFECTIVE_DATE}`,
|
|
78
|
+
source: {
|
|
79
|
+
uri: "https://docs.z.ai/guides/vlm/glm-5.3-flash",
|
|
80
|
+
verifiedAt: VERIFIED_AT,
|
|
81
|
+
},
|
|
82
|
+
notes: "Verified provider pages: native multimodal input, text output, structured output, 1M context, 128K maximum output, and provider web search. maxInputTokens is the documented context window less the maximum output allowance.",
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
function openAiPrice(catalogId) {
|
|
86
|
+
const price = OPENAI_PRICES[catalogId];
|
|
87
|
+
return {
|
|
88
|
+
schemaVersion: 1,
|
|
89
|
+
priceRevisionId: `${catalogId}-price-${EFFECTIVE_DATE}`,
|
|
90
|
+
scope: { catalogId },
|
|
91
|
+
currency: "USD",
|
|
92
|
+
units: "per-million-tokens",
|
|
93
|
+
input: price.input,
|
|
94
|
+
cachedInput: price.cachedInput,
|
|
95
|
+
cacheWriteInput: price.input * 1.25,
|
|
96
|
+
output: price.output,
|
|
97
|
+
servicePrice: [
|
|
98
|
+
{ dimension: "web_search", price: 10, unit: "per-thousand-calls" },
|
|
99
|
+
],
|
|
100
|
+
longContextTiers: catalogId.startsWith("gpt-5.6-")
|
|
101
|
+
? [
|
|
102
|
+
{
|
|
103
|
+
inputTokenThreshold: 272_000,
|
|
104
|
+
inputMultiplier: 2,
|
|
105
|
+
outputMultiplier: 1.5,
|
|
106
|
+
},
|
|
107
|
+
]
|
|
108
|
+
: undefined,
|
|
109
|
+
effectiveDate: EFFECTIVE_DATE,
|
|
110
|
+
source: { uri: OPENAI_MODEL_PAGES[catalogId], verifiedAt: VERIFIED_AT },
|
|
111
|
+
conditions: catalogId.startsWith("gpt-5.6-")
|
|
112
|
+
? "Standard API price verified on the model page; prompts above 272K input tokens use the documented 2x input and 1.5x output multipliers. Cache writes are 1.25x uncached input. Web search is $10 per 1,000 calls plus search-content tokens."
|
|
113
|
+
: "Standard API price verified on the model page. Cache writes are 1.25x uncached input. Web search is $10 per 1,000 calls plus search-content tokens.",
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
function glmFlashPrice() {
|
|
117
|
+
return {
|
|
118
|
+
schemaVersion: 1,
|
|
119
|
+
priceRevisionId: `glm-5.3-flash-price-${EFFECTIVE_DATE}`,
|
|
120
|
+
scope: { catalogId: "glm-5.3-flash" },
|
|
121
|
+
currency: "USD",
|
|
122
|
+
units: "per-million-tokens",
|
|
123
|
+
input: 0.15,
|
|
124
|
+
cachedInput: 0.03,
|
|
125
|
+
output: 0.5,
|
|
126
|
+
servicePrice: [
|
|
127
|
+
{ dimension: "web_search", price: 10, unit: "per-thousand-calls" },
|
|
128
|
+
],
|
|
129
|
+
effectiveDate: EFFECTIVE_DATE,
|
|
130
|
+
source: {
|
|
131
|
+
uri: "https://docs.z.ai/guides/overview/pricing",
|
|
132
|
+
verifiedAt: VERIFIED_AT,
|
|
133
|
+
},
|
|
134
|
+
conditions: "Standard GLM-5.3-Flash token price and $0.01 per web-search use, normalized to $10 per 1,000 calls.",
|
|
135
|
+
};
|
|
136
|
+
}
|
|
137
|
+
/** A source-verified catalog release that retains the prior ICC catalog's unselected historical entries. */
|
|
138
|
+
export function buildIccCsfCatalogRelease() {
|
|
139
|
+
const base = buildIccProductionCatalogRelease({
|
|
140
|
+
catalogRevision: ICC_CSF_CATALOG_REVISION,
|
|
141
|
+
publishedAt: VERIFIED_AT,
|
|
142
|
+
});
|
|
143
|
+
const replacedPriceIds = new Set([
|
|
144
|
+
...Object.keys(OPENAI_PRICES),
|
|
145
|
+
"glm-5.3-flash",
|
|
146
|
+
]);
|
|
147
|
+
return {
|
|
148
|
+
...base,
|
|
149
|
+
releaseSequence: 2026091601,
|
|
150
|
+
models: base.models.map((model) => updateGlmFlashModel(updateOpenAiModel(model))),
|
|
151
|
+
prices: [
|
|
152
|
+
...base.prices.filter((price) => !price.scope.catalogId ||
|
|
153
|
+
!replacedPriceIds.has(price.scope.catalogId)),
|
|
154
|
+
...Object.keys(OPENAI_PRICES).map(openAiPrice),
|
|
155
|
+
glmFlashPrice(),
|
|
156
|
+
],
|
|
157
|
+
notes: "ICC and CSF profile catalog release. OpenAI GPT-5.6 Sol/Terra/Luna, GPT-5.5, and Z.AI GLM-5.3-Flash facts and prices were reverified from provider documentation on 2026-09-16. Historical models from the prior ICC import are retained unchanged and are not selected by these profiles.",
|
|
158
|
+
};
|
|
159
|
+
}
|
|
160
|
+
function profile(input) {
|
|
161
|
+
const byModel = {};
|
|
162
|
+
for (const [catalogId, maximum] of Object.entries(input.effortMaximumByModel ?? {})) {
|
|
163
|
+
byModel[catalogId] = { ...byModel[catalogId], maximum };
|
|
164
|
+
}
|
|
165
|
+
for (const [catalogId, translations] of Object.entries(input.effortTranslationsByModel ?? {})) {
|
|
166
|
+
byModel[catalogId] = { ...byModel[catalogId], translations };
|
|
167
|
+
}
|
|
168
|
+
return {
|
|
169
|
+
schemaVersion: 2,
|
|
170
|
+
profileId: input.profileId,
|
|
171
|
+
revision: ICC_CSF_PROFILE_REVISION,
|
|
172
|
+
owner: { applicationId: "shared" },
|
|
173
|
+
visibility: "shared",
|
|
174
|
+
purpose: input.purpose,
|
|
175
|
+
primary: input.primary,
|
|
176
|
+
fallbacks: input.fallbacks ?? [],
|
|
177
|
+
requiredCapabilities: {
|
|
178
|
+
inputModalities: input.inputModalities ?? ["text"],
|
|
179
|
+
structuredOutput: true,
|
|
180
|
+
...(input.providerTools?.length
|
|
181
|
+
? { providerTools: input.providerTools }
|
|
182
|
+
: {}),
|
|
183
|
+
},
|
|
184
|
+
caps: { maxInputTokens: input.maxInputTokens },
|
|
185
|
+
execution: {
|
|
186
|
+
attemptTimeoutMs: input.attemptTimeoutMs,
|
|
187
|
+
deadlineMs: input.deadlineMs,
|
|
188
|
+
fallbackPolicy: "forward-only",
|
|
189
|
+
maxAttempts: input.maxAttempts ?? 2,
|
|
190
|
+
retry: {
|
|
191
|
+
retryableErrorClasses: RETRYABLE_ERRORS,
|
|
192
|
+
minRetryDelayMs: 1_000,
|
|
193
|
+
},
|
|
194
|
+
},
|
|
195
|
+
...(Object.keys(byModel).length > 0
|
|
196
|
+
? { effortPolicy: { enabled: true, byModel } }
|
|
197
|
+
: {}),
|
|
198
|
+
catalogCompatibility: { minCatalogRevision: ICC_CSF_CATALOG_REVISION },
|
|
199
|
+
basedOnRevision: V1_PROFILE_REVISION_FOR_LINEAGE,
|
|
200
|
+
status: "draft",
|
|
201
|
+
createdAt: ICC_CSF_PROFILE_REVISION,
|
|
202
|
+
};
|
|
203
|
+
}
|
|
204
|
+
const glmFallback = (effort, defaultMaxOutputTokens) => ({
|
|
205
|
+
catalogId: "glm-5.3-flash",
|
|
206
|
+
settings: {
|
|
207
|
+
reasoning: { mode: "effort", level: effort },
|
|
208
|
+
temperature: 1,
|
|
209
|
+
defaultMaxOutputTokens,
|
|
210
|
+
},
|
|
211
|
+
});
|
|
212
|
+
/**
|
|
213
|
+
* Fine-grained OpenAI effort hints map onto GLM-5.3-Flash's reduced native set
|
|
214
|
+
* (low/high/max): every requested level above "low" that the flash vocabulary cannot
|
|
215
|
+
* represent exactly translates to "high" so callers keep one vocabulary across providers.
|
|
216
|
+
*/
|
|
217
|
+
const GLM_FLASH_TRANSLATIONS = {
|
|
218
|
+
none: "low",
|
|
219
|
+
low: "low",
|
|
220
|
+
medium: "high",
|
|
221
|
+
high: "high",
|
|
222
|
+
xhigh: "high",
|
|
223
|
+
max: "max",
|
|
224
|
+
};
|
|
225
|
+
/** Six profiles cover the meaningful quality, cost, search, latency, and modality differences found in ICC and CSF. */
|
|
226
|
+
export function buildIccCsfProfiles() {
|
|
227
|
+
return [
|
|
228
|
+
profile({
|
|
229
|
+
profileId: "structured-fast",
|
|
230
|
+
purpose: "Low-latency, high-volume classification, extraction, linking, planning, SEO, and distribution packaging with structured text output.",
|
|
231
|
+
primary: {
|
|
232
|
+
catalogId: "gpt-5.6-luna",
|
|
233
|
+
settings: {
|
|
234
|
+
reasoning: { mode: "effort", level: "low" },
|
|
235
|
+
defaultMaxOutputTokens: 8_192,
|
|
236
|
+
},
|
|
237
|
+
},
|
|
238
|
+
fallbacks: [glmFallback("low", 8_192)],
|
|
239
|
+
maxInputTokens: 64_000,
|
|
240
|
+
attemptTimeoutMs: 45_000,
|
|
241
|
+
deadlineMs: 95_000,
|
|
242
|
+
effortMaximumByModel: { "gpt-5.6-luna": "medium" },
|
|
243
|
+
effortTranslationsByModel: { "glm-5.3-flash": GLM_FLASH_TRANSLATIONS },
|
|
244
|
+
}),
|
|
245
|
+
profile({
|
|
246
|
+
profileId: "structured-balanced",
|
|
247
|
+
purpose: "Cost-aware drafting, curation, editing, visual-prompt planning, and routine analysis requiring reliable structured text output.",
|
|
248
|
+
primary: {
|
|
249
|
+
catalogId: "gpt-5.6-terra",
|
|
250
|
+
settings: {
|
|
251
|
+
reasoning: { mode: "effort", level: "medium" },
|
|
252
|
+
defaultMaxOutputTokens: 32_768,
|
|
253
|
+
},
|
|
254
|
+
},
|
|
255
|
+
fallbacks: [glmFallback("high", 32_768)],
|
|
256
|
+
maxInputTokens: 256_000,
|
|
257
|
+
attemptTimeoutMs: 360_000,
|
|
258
|
+
deadlineMs: 725_000,
|
|
259
|
+
effortMaximumByModel: { "gpt-5.6-terra": "high" },
|
|
260
|
+
effortTranslationsByModel: { "glm-5.3-flash": GLM_FLASH_TRANSLATIONS },
|
|
261
|
+
}),
|
|
262
|
+
profile({
|
|
263
|
+
profileId: "structured-quality",
|
|
264
|
+
purpose: "High-consequence financial analysis, orchestration, schema design, editorial review, and remediation where quality takes priority over cost.",
|
|
265
|
+
primary: {
|
|
266
|
+
catalogId: "gpt-5.6-sol",
|
|
267
|
+
settings: {
|
|
268
|
+
reasoning: { mode: "effort", level: "medium" },
|
|
269
|
+
defaultMaxOutputTokens: 65_536,
|
|
270
|
+
},
|
|
271
|
+
},
|
|
272
|
+
fallbacks: [glmFallback("high", 65_536)],
|
|
273
|
+
maxInputTokens: 512_000,
|
|
274
|
+
attemptTimeoutMs: 360_000,
|
|
275
|
+
deadlineMs: 725_000,
|
|
276
|
+
effortMaximumByModel: { "gpt-5.6-sol": "max" },
|
|
277
|
+
effortTranslationsByModel: { "glm-5.3-flash": GLM_FLASH_TRANSLATIONS },
|
|
278
|
+
}),
|
|
279
|
+
profile({
|
|
280
|
+
profileId: "grounded-research-efficient",
|
|
281
|
+
purpose: "Cost-sensitive current-data lookup, entity resolution, and concise source-grounded research with native web search and structured text output.",
|
|
282
|
+
primary: {
|
|
283
|
+
catalogId: "gpt-5.6-luna",
|
|
284
|
+
settings: {
|
|
285
|
+
reasoning: { mode: "effort", level: "high" },
|
|
286
|
+
defaultMaxOutputTokens: 16_384,
|
|
287
|
+
},
|
|
288
|
+
},
|
|
289
|
+
fallbacks: [glmFallback("max", 16_384)],
|
|
290
|
+
providerTools: ["web_search"],
|
|
291
|
+
maxInputTokens: 256_000,
|
|
292
|
+
attemptTimeoutMs: 300_000,
|
|
293
|
+
deadlineMs: 605_000,
|
|
294
|
+
effortTranslationsByModel: { "glm-5.3-flash": GLM_FLASH_TRANSLATIONS },
|
|
295
|
+
}),
|
|
296
|
+
profile({
|
|
297
|
+
profileId: "grounded-research-quality",
|
|
298
|
+
purpose: "Source-grounded investment, company, current-affairs, geopolitical, and editorial research where evidence quality is the priority.",
|
|
299
|
+
primary: {
|
|
300
|
+
catalogId: "gpt-5.6-sol",
|
|
301
|
+
settings: {
|
|
302
|
+
reasoning: { mode: "effort", level: "high" },
|
|
303
|
+
defaultMaxOutputTokens: 65_536,
|
|
304
|
+
},
|
|
305
|
+
},
|
|
306
|
+
fallbacks: [glmFallback("max", 65_536)],
|
|
307
|
+
providerTools: ["web_search"],
|
|
308
|
+
maxInputTokens: 512_000,
|
|
309
|
+
attemptTimeoutMs: 360_000,
|
|
310
|
+
deadlineMs: 725_000,
|
|
311
|
+
effortTranslationsByModel: { "glm-5.3-flash": GLM_FLASH_TRANSLATIONS },
|
|
312
|
+
}),
|
|
313
|
+
profile({
|
|
314
|
+
profileId: "vision-structured-quality",
|
|
315
|
+
purpose: "High-quality extraction and analysis from text plus image inputs with structured text output; intentionally OpenAI-only until the Z.AI image fallback is live-evaluated.",
|
|
316
|
+
primary: {
|
|
317
|
+
catalogId: "gpt-5.6-sol",
|
|
318
|
+
settings: {
|
|
319
|
+
reasoning: { mode: "effort", level: "medium" },
|
|
320
|
+
defaultMaxOutputTokens: 32_768,
|
|
321
|
+
},
|
|
322
|
+
},
|
|
323
|
+
inputModalities: ["text", "image"],
|
|
324
|
+
maxInputTokens: 256_000,
|
|
325
|
+
attemptTimeoutMs: 180_000,
|
|
326
|
+
deadlineMs: 185_000,
|
|
327
|
+
maxAttempts: 1,
|
|
328
|
+
effortMaximumByModel: { "gpt-5.6-sol": "high" },
|
|
329
|
+
}),
|
|
330
|
+
];
|
|
331
|
+
}
|
|
332
|
+
export const ICC_PERSONA_PROFILE_MAPPING = {
|
|
333
|
+
"account-placement-buying-power-analyst": "structured-quality",
|
|
334
|
+
"ad-hoc-research-planner": "structured-fast",
|
|
335
|
+
"broker-data-reconciliation-agent": "structured-quality",
|
|
336
|
+
"buy-analyst": "structured-quality",
|
|
337
|
+
"company-ticker-curator": "grounded-research-quality",
|
|
338
|
+
"control-center-orchestrator": "structured-quality",
|
|
339
|
+
"fx-analyst": "grounded-research-efficient",
|
|
340
|
+
"investment-theme-curator": "structured-balanced",
|
|
341
|
+
"news-event-analyst": "grounded-research-quality",
|
|
342
|
+
"portfolio-curator": "structured-balanced",
|
|
343
|
+
"portfolio-news-linker": "structured-fast",
|
|
344
|
+
"portfolio-query-answer-interpreter": "structured-fast",
|
|
345
|
+
"portfolio-query-intent-detector": "structured-fast",
|
|
346
|
+
"research-analyst": "grounded-research-quality",
|
|
347
|
+
"risk-factor-curator": "structured-balanced",
|
|
348
|
+
"risk-reward-analyst": "structured-quality",
|
|
349
|
+
"sell-analyst": "structured-quality",
|
|
350
|
+
"signal-architect": "structured-quality",
|
|
351
|
+
"signal-interpreter": "structured-quality",
|
|
352
|
+
"valuation-analyst": "structured-quality",
|
|
353
|
+
};
|
|
354
|
+
export const ICC_OPERATION_PROFILE_OVERRIDES = {
|
|
355
|
+
"ad-hoc-research.quick": "grounded-research-quality",
|
|
356
|
+
"ad-hoc-research.standard": "grounded-research-quality",
|
|
357
|
+
"ad-hoc-research.thorough": "grounded-research-quality",
|
|
358
|
+
"ad-hoc-research.exhaustive": "grounded-research-quality",
|
|
359
|
+
"company-research.detailed": "grounded-research-quality",
|
|
360
|
+
"company-research.deep": "grounded-research-quality",
|
|
361
|
+
"valuation.screenshot-extraction": "vision-structured-quality",
|
|
362
|
+
};
|
|
363
|
+
export const CSF_PERSONA_PROFILE_MAPPING = {
|
|
364
|
+
"writer-vibe-variety": "structured-balanced",
|
|
365
|
+
"writer-current-affairs": "structured-balanced",
|
|
366
|
+
"writer-business-briefs": "structured-balanced",
|
|
367
|
+
"writer-security-digest": "structured-balanced",
|
|
368
|
+
"writer-wit-in-news": "structured-balanced",
|
|
369
|
+
"writer-readability-editor": "structured-balanced",
|
|
370
|
+
"writer-article-composer": "structured-balanced",
|
|
371
|
+
"seo-pro-search-packaging": "structured-fast",
|
|
372
|
+
"distribution-pro-social-packaging": "structured-fast",
|
|
373
|
+
"illustrator-vibe-variety": "structured-balanced",
|
|
374
|
+
"illustrator-current-affairs": "structured-balanced",
|
|
375
|
+
"illustrator-business-briefs": "structured-balanced",
|
|
376
|
+
"illustrator-security-digest": "structured-balanced",
|
|
377
|
+
"analyst-current-affairs": "grounded-research-quality",
|
|
378
|
+
"analyst-entertainment-sports": "grounded-research-quality",
|
|
379
|
+
"analyst-geopolitical-conflicts": "grounded-research-quality",
|
|
380
|
+
};
|
|
381
|
+
export const CSF_OPERATION_PROFILE_OVERRIDES = {
|
|
382
|
+
"system-creator": "structured-quality",
|
|
383
|
+
"guided-start": "structured-quality",
|
|
384
|
+
"scheduler-planner": "structured-quality",
|
|
385
|
+
"publication-reviewer": "structured-quality",
|
|
386
|
+
"publication-remediator": "structured-quality",
|
|
387
|
+
"queue-domain-check": "structured-fast",
|
|
388
|
+
"person-organizations-descriptor": "grounded-research-efficient",
|
|
389
|
+
"newsworthy-person-profile-research": "grounded-research-quality",
|
|
390
|
+
"geopolitical-conflict-news-research": "grounded-research-quality",
|
|
391
|
+
};
|
|
392
|
+
export const ICC_PROFILE_OFFERINGS = buildIccCsfProfiles().map(({ profileId, revision }) => ({ profileId, revision }));
|
|
393
|
+
export const CSF_PROFILE_OFFERINGS = ICC_PROFILE_OFFERINGS.filter(({ profileId }) => profileId !== "vision-structured-quality");
|
|
394
|
+
//# sourceMappingURL=icc-csf-profiles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icc-csf-profiles.js","sourceRoot":"","sources":["../src/icc-csf-profiles.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,gCAAgC,EAAE,MAAM,kBAAkB,CAAC;AAEpE;;;GAGG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,0BAA0B,CAAC;AACnE;;;GAGG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,0BAA0B,CAAC;AACnE,MAAM,+BAA+B,GAAG,0BAA0B,CAAC;AAEnE,MAAM,WAAW,GAAG,wBAAwB,CAAC;AAC7C,MAAM,cAAc,GAAG,YAAY,CAAC;AACpC,MAAM,oBAAoB,GAAG,CAAC,MAAM,EAA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A6B,EAAE,qBAAqB;IACpD,yBAAyB,EAAE,2BAA2B;IACtD,8BAA8B,EAAE,2BAA2B;IAC3D,gCAAgC,EAAE,2BAA2B;CAC9D,CAAC;AAEF,MAAM,CAAC,MAAM,+BAA+B,GAC1C;IACE,gBAAgB,EAAE,oBAAoB;IACtC,cAAc,EAAE,oBAAoB;IACpC,mBAAmB,EAAE,oBAAoB;IACzC,sBAAsB,EAAE,oBAAoB;IAC5C,wBAAwB,EAAE,oBAAoB;IAC9C,oBAAoB,EAAE,iBAAiB;IACvC,iCAAiC,EAAE,6BAA6B;IAChE,oCAAoC,EAAE,2BAA2B;IACjE,qCAAqC,EAAE,2BAA2B;CACnE,CAAC;AAEJ,MAAM,CAAC,MAAM,qBAAqB,GAAG,mBAAmB,EAAE,CAAC,GAAG,CAC5D,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,CAAC,CACvD,CAAC;AACF,MAAM,CAAC,MAAM,qBAAqB,GAAG,qBAAqB,CAAC,MAAM,CAC/D,CAAC,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,SAAS,KAAK,2BAA2B,CAC7D,CAAC"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export * from "./provider-listings.js";
|
|
2
|
+
export * from "./entities.js";
|
|
3
|
+
export * from "./profile-identity.js";
|
|
4
|
+
export * from "./availability.js";
|
|
5
|
+
export * from "./reasoning.js";
|
|
6
|
+
export * from "./receipt.js";
|
|
7
|
+
export * from "./scoped-configuration.js";
|
|
8
|
+
export * from "./configuration-bundle.js";
|
|
9
|
+
export * from "./persona-inventory.js";
|
|
10
|
+
export * from "./icc-catalog.js";
|
|
11
|
+
export * from "./icc-csf-profiles.js";
|
|
12
|
+
export * from "./compatibility.js";
|
|
13
|
+
export * from "./catalog-adoption.js";
|
|
14
|
+
export * from "./catalog-delivery.js";
|
|
15
|
+
export * from "./catalog-composition.js";
|
|
16
|
+
export * from "./catalog-package-data.js";
|
|
17
|
+
export * from "./model-maintenance.js";
|
|
18
|
+
export * from "./host-qualification.js";
|
|
19
|
+
export * from "./model-package-data.js";
|
|
20
|
+
export { validateReasoningForModel } from "./reasoning-validation.js";
|
|
21
|
+
export { validateEntity, assertValidEntity, compileSchema, type ValidationResult } from "./validation.js";
|
|
22
|
+
export { canonicalInstructionText, hashInstructions } from "./hash.js";
|
|
23
|
+
export { entitySchemas, commonSchema, commonSchemaId, SCHEMA_BASE, type EntityKind } from "./schemas/index.js";
|
|
24
|
+
export * from "./fixtures.js";
|
|
25
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,OAAO,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AACtE,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,aAAa,EAAE,KAAK,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAC1G,OAAO,EAAE,wBAAwB,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AACvE,OAAO,EACL,aAAa,EACb,YAAY,EACZ,cAAc,EACd,WAAW,EACX,KAAK,UAAU,EAChB,MAAM,oBAAoB,CAAC;AAC5B,cAAc,eAAe,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export * from "./provider-listings.js";
|
|
2
|
+
export * from "./entities.js";
|
|
3
|
+
export * from "./profile-identity.js";
|
|
4
|
+
export * from "./availability.js";
|
|
5
|
+
export * from "./reasoning.js";
|
|
6
|
+
export * from "./receipt.js";
|
|
7
|
+
export * from "./scoped-configuration.js";
|
|
8
|
+
export * from "./configuration-bundle.js";
|
|
9
|
+
export * from "./persona-inventory.js";
|
|
10
|
+
export * from "./icc-catalog.js";
|
|
11
|
+
export * from "./icc-csf-profiles.js";
|
|
12
|
+
export * from "./compatibility.js";
|
|
13
|
+
export * from "./catalog-adoption.js";
|
|
14
|
+
export * from "./catalog-delivery.js";
|
|
15
|
+
export * from "./catalog-composition.js";
|
|
16
|
+
export * from "./catalog-package-data.js";
|
|
17
|
+
export * from "./model-maintenance.js";
|
|
18
|
+
export * from "./host-qualification.js";
|
|
19
|
+
export * from "./model-package-data.js";
|
|
20
|
+
export { validateReasoningForModel } from "./reasoning-validation.js";
|
|
21
|
+
export { validateEntity, assertValidEntity, compileSchema } from "./validation.js";
|
|
22
|
+
export { canonicalInstructionText, hashInstructions } from "./hash.js";
|
|
23
|
+
export { entitySchemas, commonSchema, commonSchemaId, SCHEMA_BASE } from "./schemas/index.js";
|
|
24
|
+
export * from "./fixtures.js";
|
|
25
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,OAAO,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AACtE,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,aAAa,EAAyB,MAAM,iBAAiB,CAAC;AAC1G,OAAO,EAAE,wBAAwB,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AACvE,OAAO,EACL,aAAa,EACb,YAAY,EACZ,cAAc,EACd,WAAW,EAEZ,MAAM,oBAAoB,CAAC;AAC5B,cAAc,eAAe,CAAC"}
|