@cat-factory/kernel 0.213.0 → 0.215.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/domain/binary-generator-registry.d.ts +66 -0
- package/dist/domain/binary-generator-registry.d.ts.map +1 -0
- package/dist/domain/binary-generator-registry.js +89 -0
- package/dist/domain/binary-generator-registry.js.map +1 -0
- package/dist/domain/binary-generators.d.ts +97 -0
- package/dist/domain/binary-generators.d.ts.map +1 -0
- package/dist/domain/binary-generators.js +212 -0
- package/dist/domain/binary-generators.js.map +1 -0
- package/dist/domain/binary-output-paths.d.ts +25 -0
- package/dist/domain/binary-output-paths.d.ts.map +1 -0
- package/dist/domain/binary-output-paths.js +47 -0
- package/dist/domain/binary-output-paths.js.map +1 -0
- package/dist/domain/binary-outputs.d.ts +24 -18
- package/dist/domain/binary-outputs.d.ts.map +1 -1
- package/dist/domain/binary-outputs.js +78 -45
- package/dist/domain/binary-outputs.js.map +1 -1
- package/dist/domain/models.d.ts +1 -1
- package/dist/domain/models.d.ts.map +1 -1
- package/dist/domain/models.js +190 -41
- package/dist/domain/models.js.map +1 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +11 -1
- package/dist/index.js.map +1 -1
- package/dist/ports/agent-executor.d.ts +13 -0
- package/dist/ports/agent-executor.d.ts.map +1 -1
- package/dist/ports/agent-executor.js.map +1 -1
- package/dist/ports/agent-runs.d.ts +22 -0
- package/dist/ports/agent-runs.d.ts.map +1 -1
- package/dist/ports/agent-tools.d.ts +36 -13
- package/dist/ports/agent-tools.d.ts.map +1 -1
- package/dist/ports/index.d.ts +3 -2
- package/dist/ports/index.d.ts.map +1 -1
- package/dist/ports/index.js +1 -0
- package/dist/ports/index.js.map +1 -1
- package/dist/ports/llm-trace-sink.d.ts +26 -5
- package/dist/ports/llm-trace-sink.d.ts.map +1 -1
- package/dist/ports/llm-trace-sink.js +52 -56
- package/dist/ports/llm-trace-sink.js.map +1 -1
- package/dist/ports/operational-metrics.d.ts +87 -0
- package/dist/ports/operational-metrics.d.ts.map +1 -0
- package/dist/ports/operational-metrics.js +67 -0
- package/dist/ports/operational-metrics.js.map +1 -0
- package/package.json +2 -2
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import type { BinaryOutputConfig, BinaryOutputReport } from '@cat-factory/contracts';
|
|
2
2
|
import { ASSET_STORAGE_CAPABILITY, GENERATION_CONTEXT_CAPABILITY } from '@cat-factory/contracts';
|
|
3
|
+
import { BINARY_OUTPUT_BRIEF_FILE, BINARY_OUTPUT_CONTEXT_DIR, binaryContextFileFor } from './binary-output-paths.js';
|
|
3
4
|
import type { FoundationalCatalogView } from './foundational-services.js';
|
|
5
|
+
import { type ResolvedBinaryGeneratorSelection } from './binary-generators.js';
|
|
4
6
|
/**
|
|
5
7
|
* The well-known capability tags, re-exported from the WIRE vocabulary that defines them
|
|
6
8
|
* (`@cat-factory/contracts`). They moved there because the people who must spell them exactly
|
|
@@ -17,16 +19,7 @@ import type { FoundationalCatalogView } from './foundational-services.js';
|
|
|
17
19
|
* one package that can see both — pins them apart.
|
|
18
20
|
*/
|
|
19
21
|
export { ASSET_STORAGE_CAPABILITY, GENERATION_CONTEXT_CAPABILITY };
|
|
20
|
-
|
|
21
|
-
export declare const BINARY_OUTPUT_CONTEXT_DIR = "binary-output";
|
|
22
|
-
/**
|
|
23
|
-
* The brief a binary-generating kind starts from: which service to store through, which to
|
|
24
|
-
* consult for scope, and what could NOT be resolved. The trait guidance names this one stable
|
|
25
|
-
* path, and also names its ABSENCE as meaningful (the platform could not provide storage —
|
|
26
|
-
* do not attempt uploads; report instead), so a resolution failure degrades loudly rather
|
|
27
|
-
* than into a prompt pointing at a file that does not exist.
|
|
28
|
-
*/
|
|
29
|
-
export declare const BINARY_OUTPUT_BRIEF_FILE = "binary-output/brief.md";
|
|
22
|
+
export { BINARY_OUTPUT_BRIEF_FILE, BINARY_OUTPUT_CONTEXT_DIR, binaryContextFileFor };
|
|
30
23
|
/**
|
|
31
24
|
* The fenced block a binary-generating kind ends its reply with, declaring what it stored.
|
|
32
25
|
* Parsed back by {@link parseBinaryOutputDeclaration}; named in the trait guidance so the two
|
|
@@ -39,8 +32,6 @@ export declare const BINARY_OUTPUT_DECLARATION_TAG = "binary-outputs";
|
|
|
39
32
|
* counted in `omitted` rather than silently shortened.
|
|
40
33
|
*/
|
|
41
34
|
export declare const MAX_BINARY_OUTPUT_ENTRIES = 100;
|
|
42
|
-
/** The `.cat-context/` path one selected service's contract documents are injected at. */
|
|
43
|
-
export declare function binaryContextFileFor(serviceId: string): string;
|
|
44
35
|
/** One way a step's selection fails to resolve against the catalog. */
|
|
45
36
|
export interface BinaryOutputConfigIssue {
|
|
46
37
|
/** Which half of the selection the offending id sits in. */
|
|
@@ -86,7 +77,12 @@ export declare function describeBinaryOutputConfigIssues(agentKind: string, issu
|
|
|
86
77
|
* The LAST block wins ({@link extractFencedDeclaration}), because the guidance asks the agent to
|
|
87
78
|
* END its reply with it and models routinely illustrate the shape first.
|
|
88
79
|
*/
|
|
89
|
-
export declare function parseBinaryOutputDeclaration(output: string | undefined, known:
|
|
80
|
+
export declare function parseBinaryOutputDeclaration(output: string | undefined, known: {
|
|
81
|
+
/** Ids in the workspace's resolved foundational catalog (the storage/context half). */
|
|
82
|
+
services: Iterable<string>;
|
|
83
|
+
/** Ids the deployment registers on its `BinaryGeneratorRegistry` (the generative half). */
|
|
84
|
+
generators?: Iterable<string>;
|
|
85
|
+
}): BinaryOutputReport;
|
|
90
86
|
/** The resolved half of a step's selection, as the brief renderer receives it. */
|
|
91
87
|
export interface BinaryOutputBriefInput {
|
|
92
88
|
/** The step's selection, or undefined when the step carries none (the brief then says so). */
|
|
@@ -97,14 +93,24 @@ export interface BinaryOutputBriefInput {
|
|
|
97
93
|
contextServices: FoundationalCatalogView[];
|
|
98
94
|
/** Selected context ids the catalog could not resolve. */
|
|
99
95
|
unresolvedContextIds: string[];
|
|
96
|
+
/**
|
|
97
|
+
* The step's GENERATIVE integrations, resolved against the deployment registry. Absent ⇒ the
|
|
98
|
+
* renderer treats it as an empty selection, which is rendered as its own stated case ("no
|
|
99
|
+
* generative integration is configured") rather than as silence.
|
|
100
|
+
*/
|
|
101
|
+
generators?: ResolvedBinaryGeneratorSelection;
|
|
100
102
|
}
|
|
101
103
|
/**
|
|
102
104
|
* Render `.cat-context/binary-output/brief.md` — the ONE file a binary-generating agent starts
|
|
103
|
-
* from.
|
|
104
|
-
*
|
|
105
|
-
* it
|
|
106
|
-
*
|
|
107
|
-
*
|
|
105
|
+
* from. Three sections in the order the work happens: what MAKES the artifacts (the step's
|
|
106
|
+
* generative integrations, their content types and credentials), what to make (the scope
|
|
107
|
+
* services), and where it GOES (the storage service). The trait guidance owns the generic
|
|
108
|
+
* workflow and the declaration shape; this file is the concrete half.
|
|
109
|
+
*
|
|
110
|
+
* It STATES every gap instead of omitting it: an unresolved storage id, a service or integration
|
|
111
|
+
* with no registered contract, a context id the catalog does not know, a content type the step
|
|
112
|
+
* must deliver that nothing selected can produce. A generator told nothing would guess, and a
|
|
113
|
+
* guessed endpoint is how an asset lands somewhere nobody can find it — or is never made at all.
|
|
108
114
|
*/
|
|
109
115
|
export declare function renderBinaryOutputBrief(input: BinaryOutputBriefInput): string;
|
|
110
116
|
//# sourceMappingURL=binary-outputs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"binary-outputs.d.ts","sourceRoot":"","sources":["../../src/domain/binary-outputs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"binary-outputs.d.ts","sourceRoot":"","sources":["../../src/domain/binary-outputs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAGV,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,wBAAwB,CAAA;AAC/B,OAAO,EACL,wBAAwB,EACxB,6BAA6B,EAE9B,MAAM,wBAAwB,CAAA;AAC/B,OAAO,EACL,wBAAwB,EACxB,y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rC,8FAA8F;IAC9F,MAAM,EAAE,kBAAkB,GAAG,SAAS,CAAA;IACtC,kGAAkG;IAClG,OAAO,EAAE,uBAAuB,GAAG,IAAI,CAAA;IACvC,yDAAyD;IACzD,eAAe,EAAE,uBAAuB,EAAE,CAAA;IAC1C,0DAA0D;IAC1D,oBAAoB,EAAE,MAAM,EAAE,CAAA;IAC9B;;;;OAIG;IACH,UAAU,CAAC,EAAE,gCAAgC,CAAA;CAC9C;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,sBAAsB,GAAG,MAAM,CAsB7E"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import { ASSET_STORAGE_CAPABILITY, GENERATION_CONTEXT_CAPABILITY } from '@cat-factory/contracts';
|
|
1
|
+
import { ASSET_STORAGE_CAPABILITY, GENERATION_CONTEXT_CAPABILITY, modalityOfMediaType, } from '@cat-factory/contracts';
|
|
2
|
+
import { BINARY_OUTPUT_BRIEF_FILE, BINARY_OUTPUT_CONTEXT_DIR, binaryContextFileFor, } from './binary-output-paths.js';
|
|
2
3
|
import { extractFencedDeclaration } from './fenced-declaration.js';
|
|
4
|
+
import { renderBinaryGeneratorSection, } from './binary-generators.js';
|
|
3
5
|
// ---------------------------------------------------------------------------
|
|
4
6
|
// Pure logic for BINARY-OUTPUT agent steps
|
|
5
7
|
// (docs/initiatives/binary-output-foundational-storage.md): a kind that GENERATES binary
|
|
@@ -30,16 +32,11 @@ import { extractFencedDeclaration } from './fenced-declaration.js';
|
|
|
30
32
|
* one package that can see both — pins them apart.
|
|
31
33
|
*/
|
|
32
34
|
export { ASSET_STORAGE_CAPABILITY, GENERATION_CONTEXT_CAPABILITY };
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
* path, and also names its ABSENCE as meaningful (the platform could not provide storage —
|
|
39
|
-
* do not attempt uploads; report instead), so a resolution failure degrades loudly rather
|
|
40
|
-
* than into a prompt pointing at a file that does not exist.
|
|
41
|
-
*/
|
|
42
|
-
export const BINARY_OUTPUT_BRIEF_FILE = `${BINARY_OUTPUT_CONTEXT_DIR}/brief.md`;
|
|
35
|
+
// The `.cat-context/` path vocabulary lives in the LEAF `binary-output-paths.ts`, which this file
|
|
36
|
+
// and `binary-generators.ts` both import — they import each OTHER, so a constant derived across
|
|
37
|
+
// that cycle throws at module init in the assembled backend while every unit test passes.
|
|
38
|
+
// Re-exported so every consumer keeps importing these names from where they always did.
|
|
39
|
+
export { BINARY_OUTPUT_BRIEF_FILE, BINARY_OUTPUT_CONTEXT_DIR, binaryContextFileFor };
|
|
43
40
|
/**
|
|
44
41
|
* The fenced block a binary-generating kind ends its reply with, declaring what it stored.
|
|
45
42
|
* Parsed back by {@link parseBinaryOutputDeclaration}; named in the trait guidance so the two
|
|
@@ -57,10 +54,6 @@ export const MAX_BINARY_OUTPUT_ENTRIES = 100;
|
|
|
57
54
|
const MAX_IDENTITY_CHARS = 512;
|
|
58
55
|
/** Longest optional display field retained per entry; the excess is elided with a marker. */
|
|
59
56
|
const MAX_DISPLAY_CHARS = 500;
|
|
60
|
-
/** The `.cat-context/` path one selected service's contract documents are injected at. */
|
|
61
|
-
export function binaryContextFileFor(serviceId) {
|
|
62
|
-
return `${BINARY_OUTPUT_CONTEXT_DIR}/${serviceId}.md`;
|
|
63
|
-
}
|
|
64
57
|
/**
|
|
65
58
|
* Validate a step's selection against the RESOLVED catalog. Pure, so run admission and any
|
|
66
59
|
* future save-time surface apply identical rules: the storage id must exist AND carry
|
|
@@ -139,6 +132,7 @@ export function parseBinaryOutputDeclaration(output, known) {
|
|
|
139
132
|
const empty = {
|
|
140
133
|
stored: [],
|
|
141
134
|
unknownServices: [],
|
|
135
|
+
unknownGenerators: [],
|
|
142
136
|
invalidEntries: 0,
|
|
143
137
|
omitted: 0,
|
|
144
138
|
};
|
|
@@ -157,9 +151,11 @@ export function parseBinaryOutputDeclaration(output, known) {
|
|
|
157
151
|
return { ...empty, parseFailed: true };
|
|
158
152
|
}
|
|
159
153
|
const entries = Array.isArray(parsed) ? parsed : [parsed];
|
|
160
|
-
const
|
|
154
|
+
const knownServices = new Set(known.services);
|
|
155
|
+
const knownGenerators = new Set(known.generators ?? []);
|
|
161
156
|
const stored = [];
|
|
162
157
|
const unknownServices = [];
|
|
158
|
+
const unknownGenerators = [];
|
|
163
159
|
let invalidEntries = 0;
|
|
164
160
|
let omitted = 0;
|
|
165
161
|
for (const entry of entries) {
|
|
@@ -173,11 +169,15 @@ export function parseBinaryOutputDeclaration(output, known) {
|
|
|
173
169
|
continue;
|
|
174
170
|
}
|
|
175
171
|
stored.push(artifact);
|
|
176
|
-
if (!
|
|
172
|
+
if (!knownServices.has(artifact.service) && !unknownServices.includes(artifact.service)) {
|
|
177
173
|
unknownServices.push(artifact.service);
|
|
178
174
|
}
|
|
175
|
+
const generator = artifact.generator;
|
|
176
|
+
if (generator && !knownGenerators.has(generator) && !unknownGenerators.includes(generator)) {
|
|
177
|
+
unknownGenerators.push(generator);
|
|
178
|
+
}
|
|
179
179
|
}
|
|
180
|
-
return { stored, unknownServices, invalidEntries, omitted };
|
|
180
|
+
return { stored, unknownServices, unknownGenerators, invalidEntries, omitted };
|
|
181
181
|
}
|
|
182
182
|
function coerceArtifact(entry) {
|
|
183
183
|
if (!entry || typeof entry !== 'object' || Array.isArray(entry))
|
|
@@ -191,12 +191,22 @@ function coerceArtifact(entry) {
|
|
|
191
191
|
const entity = displayField(record.entity);
|
|
192
192
|
const contentType = displayField(record.contentType);
|
|
193
193
|
const description = displayField(record.description);
|
|
194
|
+
// Lowercased like `service`, and for the same reason: registry ids are lower-kebab slugs, so a
|
|
195
|
+
// model that capitalises one means the registered integration and must not be reported unknown.
|
|
196
|
+
const generator = identityField(record.generator)?.toLowerCase();
|
|
194
197
|
if (entity)
|
|
195
198
|
artifact.entity = entity;
|
|
196
199
|
if (contentType)
|
|
197
200
|
artifact.contentType = contentType;
|
|
198
201
|
if (description)
|
|
199
202
|
artifact.description = description;
|
|
203
|
+
if (generator)
|
|
204
|
+
artifact.generator = generator;
|
|
205
|
+
// The platform CLASSIFIES; the model only reports. An unrecognised media type leaves `modality`
|
|
206
|
+
// ABSENT rather than guessing one — "we cannot tell what this is" is not "this is not an image".
|
|
207
|
+
const modality = contentType ? modalityOfMediaType(contentType) : null;
|
|
208
|
+
if (modality)
|
|
209
|
+
artifact.modality = modality;
|
|
200
210
|
return artifact;
|
|
201
211
|
}
|
|
202
212
|
/** A field that IDENTIFIES something: required to be a non-empty string within the cap —
|
|
@@ -225,11 +235,15 @@ function displayField(value) {
|
|
|
225
235
|
}
|
|
226
236
|
/**
|
|
227
237
|
* Render `.cat-context/binary-output/brief.md` — the ONE file a binary-generating agent starts
|
|
228
|
-
* from.
|
|
229
|
-
*
|
|
230
|
-
* it
|
|
231
|
-
*
|
|
232
|
-
*
|
|
238
|
+
* from. Three sections in the order the work happens: what MAKES the artifacts (the step's
|
|
239
|
+
* generative integrations, their content types and credentials), what to make (the scope
|
|
240
|
+
* services), and where it GOES (the storage service). The trait guidance owns the generic
|
|
241
|
+
* workflow and the declaration shape; this file is the concrete half.
|
|
242
|
+
*
|
|
243
|
+
* It STATES every gap instead of omitting it: an unresolved storage id, a service or integration
|
|
244
|
+
* with no registered contract, a context id the catalog does not know, a content type the step
|
|
245
|
+
* must deliver that nothing selected can produce. A generator told nothing would guess, and a
|
|
246
|
+
* guessed endpoint is how an asset lands somewhere nobody can find it — or is never made at all.
|
|
233
247
|
*/
|
|
234
248
|
export function renderBinaryOutputBrief(input) {
|
|
235
249
|
const lines = ['# Binary outputs for this step', ''];
|
|
@@ -237,32 +251,51 @@ export function renderBinaryOutputBrief(input) {
|
|
|
237
251
|
lines.push('No storage service is selected for this step. Do NOT attempt to store or upload any generated binary — generate nothing you cannot deliver, and state in your report that no storage service was configured.');
|
|
238
252
|
return lines.join('\n').trimEnd();
|
|
239
253
|
}
|
|
240
|
-
|
|
241
|
-
|
|
254
|
+
// Generation first, then scope, then storage: the order of the work. A generator that reads
|
|
255
|
+
// only the top of this file must still learn WHAT MAKES the artifacts before anything else,
|
|
256
|
+
// because that is the decision it cannot recover from later.
|
|
257
|
+
lines.push(...renderBinaryGeneratorSection({
|
|
258
|
+
selection: input.generators ?? { selected: [], unresolvedIds: [] },
|
|
259
|
+
requestedModalities: input.config.modalities ?? [],
|
|
260
|
+
}));
|
|
261
|
+
lines.push(...renderScopeSection(input), ...renderStorageSection(input));
|
|
262
|
+
lines.push(`Declare what you stored in the fenced \`\`\`${BINARY_OUTPUT_DECLARATION_TAG} block your guidance describes, naming each artifact's service id, the integration that generated it, and its location exactly as the storage service reported it.`);
|
|
263
|
+
return lines.join('\n').trimEnd();
|
|
264
|
+
}
|
|
265
|
+
/** The SCOPE half: which catalog services say what to generate, and which could not be resolved. */
|
|
266
|
+
function renderScopeSection(input) {
|
|
267
|
+
const lines = ['## Scope', ''];
|
|
268
|
+
if (input.contextServices.length === 0 && input.unresolvedContextIds.length === 0) {
|
|
269
|
+
return [
|
|
270
|
+
...lines,
|
|
271
|
+
'No context service is selected: the task description and the other provided context are the whole scope of the generation.',
|
|
272
|
+
'',
|
|
273
|
+
];
|
|
242
274
|
}
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
}
|
|
248
|
-
lines.push(...contractPointer(input.storage), '');
|
|
275
|
+
lines.push('Consult these services to decide the SCOPE of the generation — what exists, what already has an asset, what each thing is — before generating anything:', '');
|
|
276
|
+
for (const service of input.contextServices) {
|
|
277
|
+
lines.push(`- \`${service.id}\` — ${service.name}: ${service.summary}`);
|
|
278
|
+
lines.push(` ${contractPointer(service).join(' ')}`);
|
|
249
279
|
}
|
|
250
|
-
if (input.
|
|
251
|
-
lines.push(
|
|
252
|
-
for (const service of input.contextServices) {
|
|
253
|
-
lines.push(`- \`${service.id}\` — ${service.name}: ${service.summary}`);
|
|
254
|
-
lines.push(` ${contractPointer(service).join(' ')}`);
|
|
255
|
-
}
|
|
256
|
-
if (input.unresolvedContextIds.length > 0) {
|
|
257
|
-
lines.push(`- The selection also named ${input.unresolvedContextIds.map((id) => `\`${id}\``).join(', ')}, which the catalog does not contain — no contract is available. Do not guess at ${input.unresolvedContextIds.length === 1 ? 'its' : 'their'} API; note the gap in your report.`);
|
|
258
|
-
}
|
|
259
|
-
lines.push('');
|
|
280
|
+
if (input.unresolvedContextIds.length > 0) {
|
|
281
|
+
lines.push(`- The selection also named ${input.unresolvedContextIds.map((id) => `\`${id}\``).join(', ')}, which the catalog does not contain — no contract is available. Do not guess at ${input.unresolvedContextIds.length === 1 ? 'its' : 'their'} API; note the gap in your report.`);
|
|
260
282
|
}
|
|
261
|
-
|
|
262
|
-
|
|
283
|
+
lines.push('');
|
|
284
|
+
return lines;
|
|
285
|
+
}
|
|
286
|
+
/** The STORAGE half: the one service every artifact goes through, or why there is none. */
|
|
287
|
+
function renderStorageSection(input) {
|
|
288
|
+
const lines = ['## Storage', ''];
|
|
289
|
+
if (!input.storage) {
|
|
290
|
+
lines.push(`This step is configured to store its binary outputs through the foundational service \`${input.config?.storageServiceId}\`, but the workspace catalog does not contain it. Do NOT store the outputs anywhere else and do not guess at its API — state in your report that the storage service could not be resolved.`, '');
|
|
291
|
+
return lines;
|
|
263
292
|
}
|
|
264
|
-
lines.push(`
|
|
265
|
-
|
|
293
|
+
lines.push(`Store EVERY binary you generate through \`${input.storage.id}\` — ${input.storage.name}: ${input.storage.summary}`, '');
|
|
294
|
+
if (!input.storage.capabilities.includes(ASSET_STORAGE_CAPABILITY)) {
|
|
295
|
+
lines.push(`Note: \`${input.storage.id}\` does not advertise the \`${ASSET_STORAGE_CAPABILITY}\` capability. It was still selected for this step; if its API offers no way to store binary content, say so in your report rather than improvising.`, '');
|
|
296
|
+
}
|
|
297
|
+
lines.push(...contractPointer(input.storage), '');
|
|
298
|
+
return lines;
|
|
266
299
|
}
|
|
267
300
|
/** Where a service's API contract was injected, or the explicit statement that none exists. */
|
|
268
301
|
function contractPointer(service) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"binary-outputs.js","sourceRoot":"","sources":["../../src/domain/binary-outputs.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"binary-outputs.js","sourceRoot":"","sources":["../../src/domain/binary-outputs.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,wBAAwB,EACxB,6BAA6B,EAC7B,mBAAmB,GACpB,MAAM,wBAAwB,CAAA;AAC/B,OAAO,EACL,wBAAwB,EACxB,yBAAyB,EACzB,oBAAoB,GACrB,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAA;AAElE,OAAO,EAEL,4BAA4B,GAC7B,MAAM,wBAAwB,CAAA;AAE/B,8EAA8E;AAC9E,2CAA2C;AAC3C,yFAAyF;AACzF,kFAAkF;AAClF,wFAAwF;AACxF,2FAA2F;AAC3F,4BAA4B;AAC5B,EAAE;AACF,wFAAwF;AACxF,4FAA4F;AAC5F,0FAA0F;AAC1F,0FAA0F;AAC1F,mBAAmB;AACnB,8EAA8E;AAE9E;;;;;;;;;;;;;;GAcG;AACH,OAAO,EAAE,wBAAwB,EAAE,6BAA6B,EAAE,CAAA;AAElE,kGAAkG;AAClG,gGAAgG;AAChG,0FAA0F;AAC1F,wFAAwF;AACxF,OAAO,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,oBAAoB,EAAE,CAAA;AAEpF;;;;GAIG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAG,gBAAgB,CAAA;AAE7D;;;;GAIG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,GAAG,CAAA;AAE5C;6DAC6D;AAC7D,MAAM,kBAAkB,GAAG,GAAG,CAAA;AAE9B,6FAA6F;AAC7F,MAAM,iBAAiB,GAAG,GAAG,CAAA;AAY7B;;;;;GAKG;AACH,MAAM,UAAU,wBAAwB,CACtC,MAA0B,EAC1B,OAAwE;IAExE,MAAM,IAAI,GAAG,IAAI,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C/F,SAAS,eAAe,CAAC,OAAgC;IACvD,IAAI,OAAO,CAAC,SAAS,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACnC,OAAO;YACL,uCAAuC,OAAO,CAAC,EAAE,0EAA0E;SAC5H,CAAA;IACH,CAAC;IACD,OAAO;QACL,kDAAkD,oBAAoB,CAAC,OAAO,CAAC,EAAE,CAAC,qFAAqF;KACxK,CAAA;AACH,CAAC"}
|
package/dist/domain/models.d.ts
CHANGED
|
@@ -132,7 +132,7 @@ export interface ProviderCapabilities {
|
|
|
132
132
|
localModels?: Set<string>;
|
|
133
133
|
/**
|
|
134
134
|
* The OpenRouter `vendor/model` slugs the workspace has ENABLED in its dynamic
|
|
135
|
-
* catalog (e.g. `google/gemini-3-pro`). A dynamic OpenRouter model (`openrouter:<slug>`)
|
|
135
|
+
* catalog (e.g. `google/gemini-3.1-pro-preview`). A dynamic OpenRouter model (`openrouter:<slug>`)
|
|
136
136
|
* is usable only when the workspace has an OpenRouter key (`openrouter ∈ directProviders`)
|
|
137
137
|
* AND the slug is enabled here — so a stale pin to a since-disabled model fails the
|
|
138
138
|
* start guard. Curated catalog entries with an `openrouter` flavour need only the key,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../src/domain/models.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,SAAS,EACd,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,WAAW,EAChB,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EAExB,MAAM,wBAAwB,CAAA;AAC/B,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAA;AAUvE,MAAM,WAAW,wBAAwB;IACvC,OAAO,EAAE,OAAO,CAAC,WAAW,EAAE,aAAa,GAAG,OAAO,CAAC,CAAA;IACtD,4EAA4E;IAC5E,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,uDAAuD;IACvD,KAAK,EA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