veryfront 0.1.634 → 0.1.636
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/esm/cli/commands/serve/command.d.ts.map +1 -1
- package/esm/cli/commands/serve/command.js +2 -1
- package/esm/deno.js +1 -1
- package/esm/src/agent/runtime/text-generation-runtime-message-converter.d.ts.map +1 -1
- package/esm/src/agent/runtime/text-generation-runtime-message-converter.js +154 -13
- package/esm/src/cache/distributed-cache-init.d.ts +11 -2
- package/esm/src/cache/distributed-cache-init.d.ts.map +1 -1
- package/esm/src/cache/distributed-cache-init.js +2 -14
- package/esm/src/channels/control-plane.d.ts +5 -5
- package/esm/src/embedding/chunk.js +4 -2
- package/esm/src/errors/error-registry/agent.d.ts +16 -0
- package/esm/src/errors/error-registry/agent.d.ts.map +1 -0
- package/esm/src/errors/error-registry/agent.js +52 -0
- package/esm/src/errors/error-registry/boundary.d.ts +16 -0
- package/esm/src/errors/error-registry/boundary.d.ts.map +1 -0
- package/esm/src/errors/error-registry/boundary.js +52 -0
- package/esm/src/errors/error-registry/build.d.ts +20 -0
- package/esm/src/errors/error-registry/build.d.ts.map +1 -0
- package/esm/src/errors/error-registry/build.js +68 -0
- package/esm/src/errors/error-registry/config.d.ts +22 -0
- package/esm/src/errors/error-registry/config.d.ts.map +1 -0
- package/esm/src/errors/error-registry/config.js +70 -0
- package/esm/src/errors/error-registry/deploy.d.ts +12 -0
- package/esm/src/errors/error-registry/deploy.d.ts.map +1 -0
- package/esm/src/errors/error-registry/deploy.js +36 -0
- package/esm/src/errors/error-registry/dev.d.ts +14 -0
- package/esm/src/errors/error-registry/dev.d.ts.map +1 -0
- package/esm/src/errors/error-registry/dev.js +44 -0
- package/esm/src/errors/error-registry/general.d.ts +29 -0
- package/esm/src/errors/error-registry/general.d.ts.map +1 -0
- package/esm/src/errors/error-registry/general.js +92 -0
- package/esm/src/errors/error-registry/module.d.ts +16 -0
- package/esm/src/errors/error-registry/module.d.ts.map +1 -0
- package/esm/src/errors/error-registry/module.js +52 -0
- package/esm/src/errors/error-registry/route.d.ts +16 -0
- package/esm/src/errors/error-registry/route.d.ts.map +1 -0
- package/esm/src/errors/error-registry/route.js +52 -0
- package/esm/src/errors/error-registry/runtime.d.ts +18 -0
- package/esm/src/errors/error-registry/runtime.d.ts.map +1 -0
- package/esm/src/errors/error-registry/runtime.js +60 -0
- package/esm/src/errors/error-registry/server.d.ts +39 -0
- package/esm/src/errors/error-registry/server.d.ts.map +1 -0
- package/esm/src/errors/error-registry/server.js +129 -0
- package/esm/src/errors/error-registry.d.ts +79 -157
- package/esm/src/errors/error-registry.d.ts.map +1 -1
- package/esm/src/errors/error-registry.js +37 -706
- package/esm/src/integrations/schema.d.ts +4 -4
- package/esm/src/internal-agents/control-plane-auth.d.ts +1 -1
- package/esm/src/internal-agents/run-stream.d.ts.map +1 -1
- package/esm/src/internal-agents/run-stream.js +15 -1
- package/esm/src/security/sandbox/project-worker.d.ts.map +1 -1
- package/esm/src/security/sandbox/project-worker.js +0 -1
- package/esm/src/server/dev-server/server.d.ts.map +1 -1
- package/esm/src/server/dev-server/server.js +2 -1
- package/esm/src/server/distributed-cache-initializers.d.ts +13 -0
- package/esm/src/server/distributed-cache-initializers.d.ts.map +1 -0
- package/esm/src/server/distributed-cache-initializers.js +22 -0
- package/esm/src/server/handlers/request/agent-stream.handler.d.ts.map +1 -1
- package/esm/src/server/handlers/request/agent-stream.handler.js +56 -16
- package/esm/src/server/index.d.ts +1 -0
- package/esm/src/server/index.d.ts.map +1 -1
- package/esm/src/server/index.js +1 -0
- package/esm/src/server/production-server.d.ts.map +1 -1
- package/esm/src/server/production-server.js +2 -1
- package/esm/src/server/services/rsc/endpoints/rsc-bundles.generated.d.ts.map +1 -1
- package/esm/src/server/services/rsc/endpoints/rsc-bundles.generated.js +2 -2
- package/esm/src/utils/redis-client.d.ts.map +1 -1
- package/esm/src/utils/redis-client.js +0 -3
- package/esm/src/utils/version-constant.d.ts +1 -1
- package/esm/src/utils/version-constant.js +1 -1
- package/esm/src/workflow/schemas/workflow.schema.d.ts +4 -4
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/serve/command.ts"],"names":[],"mappings":"AAMA,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,UAAU,GAAG,OAAO,GAAG,YAAY,CAAC;IAC1C,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,OAAO,CAAC;CAChB;
|
|
1
|
+
{"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/serve/command.ts"],"names":[],"mappings":"AAMA,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,UAAU,GAAG,OAAO,GAAG,YAAY,CAAC;IAC1C,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,OAAO,CAAC;CAChB;AA8FD,wBAAsB,YAAY,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC,CAcvE"}
|
|
@@ -33,9 +33,10 @@ async function runProductionServer(options) {
|
|
|
33
33
|
await clearAllLocalCaches();
|
|
34
34
|
const { initializeOTLPWithApis } = await import("../../../src/observability/tracing/otlp-setup.js");
|
|
35
35
|
const { initializeDistributedCaches } = await import("../../../src/cache/index.js");
|
|
36
|
+
const { defaultDistributedCacheInitializers } = await import("../../../src/server/index.js");
|
|
36
37
|
await Promise.allSettled([
|
|
37
38
|
initializeOTLPWithApis(),
|
|
38
|
-
initializeDistributedCaches(),
|
|
39
|
+
initializeDistributedCaches(defaultDistributedCacheInitializers),
|
|
39
40
|
]);
|
|
40
41
|
const projectDir = cwd();
|
|
41
42
|
const shutdownController = new AbortController();
|
package/esm/deno.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-generation-runtime-message-converter.d.ts","sourceRoot":"","sources":["../../../../src/src/agent/runtime/text-generation-runtime-message-converter.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAGV,4BAA4B,
|
|
1
|
+
{"version":3,"file":"text-generation-runtime-message-converter.d.ts","sourceRoot":"","sources":["../../../../src/src/agent/runtime/text-generation-runtime-message-converter.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAGV,4BAA4B,EAK7B,MAAM,4CAA4C,CAAC;AAEpD,OAAO,EAGL,KAAK,OAAO,EAGb,MAAM,aAAa,CAAC;AAiKrB;;GAEG;AACH,wBAAgB,qCAAqC,CAAC,GAAG,EAAE,OAAO,GAAG,4BAA4B,CAyFhG;AA2GD;;GAEG;AACH,wBAAgB,sCAAsC,CACpD,QAAQ,EAAE,OAAO,EAAE,GAClB,4BAA4B,EAAE,CAyBhC"}
|
|
@@ -14,6 +14,73 @@ function getStringPartField(part, key) {
|
|
|
14
14
|
const value = part[key];
|
|
15
15
|
return typeof value === "string" && value.length > 0 ? value : undefined;
|
|
16
16
|
}
|
|
17
|
+
function isRecord(value) {
|
|
18
|
+
return Boolean(value) && typeof value === "object" && !Array.isArray(value);
|
|
19
|
+
}
|
|
20
|
+
function getRecordPartField(part, key) {
|
|
21
|
+
if (!isRecord(part))
|
|
22
|
+
return undefined;
|
|
23
|
+
const value = part[key];
|
|
24
|
+
return isRecord(value) ? value : undefined;
|
|
25
|
+
}
|
|
26
|
+
function hasOwnField(part, key) {
|
|
27
|
+
return Object.hasOwn(part, key);
|
|
28
|
+
}
|
|
29
|
+
function getToolInputRecord(part) {
|
|
30
|
+
return getRecordPartField(part, "args") ?? getRecordPartField(part, "input") ?? {};
|
|
31
|
+
}
|
|
32
|
+
function getTextGenerationToolCallPart(part) {
|
|
33
|
+
if (!isRecord(part) || typeof part.type !== "string") {
|
|
34
|
+
return null;
|
|
35
|
+
}
|
|
36
|
+
if (part.type !== "tool_call" &&
|
|
37
|
+
part.type !== "tool-call" &&
|
|
38
|
+
!(part.type.startsWith("tool-") && part.type !== "tool-result")) {
|
|
39
|
+
return null;
|
|
40
|
+
}
|
|
41
|
+
const toolCallId = getStringPartField(part, "toolCallId") ??
|
|
42
|
+
getStringPartField(part, "tool_call_id") ??
|
|
43
|
+
getStringPartField(part, "id");
|
|
44
|
+
const toolName = getStringPartField(part, "toolName") ??
|
|
45
|
+
getStringPartField(part, "tool_name") ??
|
|
46
|
+
getStringPartField(part, "name") ??
|
|
47
|
+
(part.type.startsWith("tool-") && part.type !== "tool-call"
|
|
48
|
+
? part.type.replace(/^tool-/, "")
|
|
49
|
+
: undefined);
|
|
50
|
+
if (!toolCallId || !toolName) {
|
|
51
|
+
return null;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
type: "tool-call",
|
|
55
|
+
toolCallId,
|
|
56
|
+
toolName,
|
|
57
|
+
input: getToolInputRecord(part),
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
function getTextGenerationToolResultPart(part, toolNamesById) {
|
|
61
|
+
if (!isRecord(part) || part.type !== "tool-result" && part.type !== "tool_result") {
|
|
62
|
+
return null;
|
|
63
|
+
}
|
|
64
|
+
const toolCallId = getStringPartField(part, "toolCallId") ??
|
|
65
|
+
getStringPartField(part, "tool_call_id");
|
|
66
|
+
if (!toolCallId) {
|
|
67
|
+
return null;
|
|
68
|
+
}
|
|
69
|
+
const value = hasOwnField(part, "result")
|
|
70
|
+
? part.result
|
|
71
|
+
: hasOwnField(part, "output")
|
|
72
|
+
? part.output
|
|
73
|
+
: null;
|
|
74
|
+
return {
|
|
75
|
+
type: "tool-result",
|
|
76
|
+
toolCallId,
|
|
77
|
+
toolName: getStringPartField(part, "toolName") ??
|
|
78
|
+
getStringPartField(part, "tool_name") ??
|
|
79
|
+
toolNamesById.get(toolCallId) ??
|
|
80
|
+
"unknown",
|
|
81
|
+
output: { type: "json", value },
|
|
82
|
+
};
|
|
83
|
+
}
|
|
17
84
|
function buildAttachmentContextFromParts(parts) {
|
|
18
85
|
const refs = parts.flatMap((part) => {
|
|
19
86
|
const type = getStringPartField(part, "type");
|
|
@@ -108,15 +175,15 @@ export function convertToTextGenerationRuntimeMessage(msg) {
|
|
|
108
175
|
content.push({ type: "text", text: part.text });
|
|
109
176
|
continue;
|
|
110
177
|
}
|
|
111
|
-
|
|
112
|
-
if (
|
|
113
|
-
(part.type.startsWith("tool-") && part.type !== "tool-result")) {
|
|
114
|
-
const toolPart = part;
|
|
178
|
+
const toolPart = getTextGenerationToolCallPart(part);
|
|
179
|
+
if (toolPart) {
|
|
115
180
|
content.push({
|
|
116
181
|
type: "tool-call",
|
|
117
182
|
toolCallId: toolPart.toolCallId,
|
|
118
183
|
toolName: toolPart.toolName,
|
|
119
|
-
input:
|
|
184
|
+
input: part.type === "tool_call"
|
|
185
|
+
? toolPart.input
|
|
186
|
+
: getToolArguments(part),
|
|
120
187
|
});
|
|
121
188
|
}
|
|
122
189
|
}
|
|
@@ -161,10 +228,80 @@ function hasProviderSendableAssistantContent(message) {
|
|
|
161
228
|
return typeof part.text === "string" &&
|
|
162
229
|
part.text.length > 0;
|
|
163
230
|
}
|
|
164
|
-
return part
|
|
165
|
-
(part.type.startsWith("tool-") && part.type !== "tool-result");
|
|
231
|
+
return getTextGenerationToolCallPart(part) !== null;
|
|
166
232
|
});
|
|
167
233
|
}
|
|
234
|
+
function convertAssistantMessageToTextGenerationRuntimeMessages(message) {
|
|
235
|
+
const assistantContent = [];
|
|
236
|
+
const deferredAssistantContent = [];
|
|
237
|
+
const toolResults = [];
|
|
238
|
+
const pendingToolCallIds = new Set();
|
|
239
|
+
const toolNamesById = new Map();
|
|
240
|
+
const messages = [];
|
|
241
|
+
const flushAssistantMessage = (content) => {
|
|
242
|
+
if (content.length === 0) {
|
|
243
|
+
return;
|
|
244
|
+
}
|
|
245
|
+
messages.push({ role: "assistant", content: [...content] });
|
|
246
|
+
content.length = 0;
|
|
247
|
+
};
|
|
248
|
+
const flushToolMessage = () => {
|
|
249
|
+
if (toolResults.length === 0) {
|
|
250
|
+
return;
|
|
251
|
+
}
|
|
252
|
+
messages.push({ role: "tool", content: [...toolResults] });
|
|
253
|
+
toolResults.length = 0;
|
|
254
|
+
};
|
|
255
|
+
const pushAssistantPart = (part) => {
|
|
256
|
+
if (part.type === "tool-call") {
|
|
257
|
+
if (deferredAssistantContent.length > 0) {
|
|
258
|
+
flushAssistantMessage(assistantContent);
|
|
259
|
+
flushToolMessage();
|
|
260
|
+
flushAssistantMessage(deferredAssistantContent);
|
|
261
|
+
}
|
|
262
|
+
assistantContent.push(part);
|
|
263
|
+
pendingToolCallIds.add(part.toolCallId);
|
|
264
|
+
toolNamesById.set(part.toolCallId, part.toolName);
|
|
265
|
+
return;
|
|
266
|
+
}
|
|
267
|
+
if (pendingToolCallIds.size > 0) {
|
|
268
|
+
deferredAssistantContent.push(part);
|
|
269
|
+
return;
|
|
270
|
+
}
|
|
271
|
+
if (toolResults.length > 0) {
|
|
272
|
+
flushAssistantMessage(assistantContent);
|
|
273
|
+
flushToolMessage();
|
|
274
|
+
flushAssistantMessage(deferredAssistantContent);
|
|
275
|
+
}
|
|
276
|
+
assistantContent.push(part);
|
|
277
|
+
};
|
|
278
|
+
const pushToolResult = (part) => {
|
|
279
|
+
if (!pendingToolCallIds.has(part.toolCallId)) {
|
|
280
|
+
return;
|
|
281
|
+
}
|
|
282
|
+
toolResults.push(part);
|
|
283
|
+
pendingToolCallIds.delete(part.toolCallId);
|
|
284
|
+
};
|
|
285
|
+
for (const part of message.parts) {
|
|
286
|
+
if (part.type === "text" && "text" in part) {
|
|
287
|
+
pushAssistantPart({ type: "text", text: part.text });
|
|
288
|
+
continue;
|
|
289
|
+
}
|
|
290
|
+
const toolCallPart = getTextGenerationToolCallPart(part);
|
|
291
|
+
if (toolCallPart) {
|
|
292
|
+
pushAssistantPart(toolCallPart);
|
|
293
|
+
continue;
|
|
294
|
+
}
|
|
295
|
+
const toolResultPart = getTextGenerationToolResultPart(part, toolNamesById);
|
|
296
|
+
if (toolResultPart) {
|
|
297
|
+
pushToolResult(toolResultPart);
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
flushAssistantMessage(assistantContent);
|
|
301
|
+
flushToolMessage();
|
|
302
|
+
flushAssistantMessage(deferredAssistantContent);
|
|
303
|
+
return messages;
|
|
304
|
+
}
|
|
168
305
|
/**
|
|
169
306
|
* Convert an array of veryfront Messages to the current text-generation runtime message format.
|
|
170
307
|
*/
|
|
@@ -174,13 +311,17 @@ export function convertToTextGenerationRuntimeMessages(messages) {
|
|
|
174
311
|
if (!hasProviderSendableAssistantContent(message)) {
|
|
175
312
|
continue;
|
|
176
313
|
}
|
|
177
|
-
const
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
314
|
+
const convertedMessages = message.role === "assistant"
|
|
315
|
+
? convertAssistantMessageToTextGenerationRuntimeMessages(message)
|
|
316
|
+
: [convertToTextGenerationRuntimeMessage(message)];
|
|
317
|
+
for (const convertedMessage of convertedMessages) {
|
|
318
|
+
const previousMessage = textGenerationRuntimeMessages.at(-1);
|
|
319
|
+
if (previousMessage?.role === "tool" && convertedMessage.role === "tool") {
|
|
320
|
+
previousMessage.content.push(...convertedMessage.content);
|
|
321
|
+
continue;
|
|
322
|
+
}
|
|
323
|
+
textGenerationRuntimeMessages.push(convertedMessage);
|
|
182
324
|
}
|
|
183
|
-
textGenerationRuntimeMessages.push(convertedMessage);
|
|
184
325
|
}
|
|
185
326
|
return textGenerationRuntimeMessages;
|
|
186
327
|
}
|
|
@@ -6,7 +6,16 @@ interface DistributedCacheStatus {
|
|
|
6
6
|
projectCSSCache: boolean;
|
|
7
7
|
httpModuleCache: boolean;
|
|
8
8
|
}
|
|
9
|
-
|
|
9
|
+
/**
|
|
10
|
+
* Per-cache initialization functions, injected by the composition root.
|
|
11
|
+
*
|
|
12
|
+
* The concrete initializers live in higher layers (`transforms`, `modules`,
|
|
13
|
+
* `html`, `platform`). They are passed in rather than imported here so that
|
|
14
|
+
* `src/cache` stays a low-level layer that does not depend on the rendering /
|
|
15
|
+
* transform / platform layers it would otherwise have to reach up into. See
|
|
16
|
+
* `src/server/distributed-cache-initializers.ts` for the default wiring.
|
|
17
|
+
*/
|
|
18
|
+
export type DistributedCacheInitializers = {
|
|
10
19
|
transformCache: () => Promise<boolean>;
|
|
11
20
|
ssrModuleCache: () => Promise<boolean>;
|
|
12
21
|
fileCache: () => Promise<boolean>;
|
|
@@ -14,6 +23,6 @@ type DistributedCacheInitializers = {
|
|
|
14
23
|
httpModuleCache: () => Promise<boolean>;
|
|
15
24
|
};
|
|
16
25
|
export declare function __runDistributedCacheInitializationForTests(backend: DistributedCacheStatus["backend"], initializers: DistributedCacheInitializers): Promise<DistributedCacheStatus>;
|
|
17
|
-
export declare function initializeDistributedCaches(): Promise<DistributedCacheStatus>;
|
|
26
|
+
export declare function initializeDistributedCaches(initializers: DistributedCacheInitializers): Promise<DistributedCacheStatus>;
|
|
18
27
|
export {};
|
|
19
28
|
//# sourceMappingURL=distributed-cache-init.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"distributed-cache-init.d.ts","sourceRoot":"","sources":["../../../src/src/cache/distributed-cache-init.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"distributed-cache-init.d.ts","sourceRoot":"","sources":["../../../src/src/cache/distributed-cache-init.ts"],"names":[],"mappings":"AAQA,UAAU,sBAAsB;IAC9B,OAAO,EAAE,KAAK,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAC;IAC7C,cAAc,EAAE,OAAO,CAAC;IACxB,cAAc,EAAE,OAAO,CAAC;IACxB,SAAS,EAAE,OAAO,CAAC;IACnB,eAAe,EAAE,OAAO,CAAC;IACzB,eAAe,EAAE,OAAO,CAAC;CAC1B;AAED;;;;;;;;GAQG;AACH,MAAM,MAAM,4BAA4B,GAAG;IACzC,cAAc,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC;IACvC,cAAc,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC;IACvC,SAAS,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC;IAClC,eAAe,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC;IACxC,eAAe,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC;CACzC,CAAC;AAiFF,wBAAgB,2CAA2C,CACzD,OAAO,EAAE,sBAAsB,CAAC,SAAS,CAAC,EAC1C,YAAY,EAAE,4BAA4B,GACzC,OAAO,CAAC,sBAAsB,CAAC,CAEjC;AAED,wBAAgB,2BAA2B,CACzC,YAAY,EAAE,4BAA4B,GACzC,OAAO,CAAC,sBAAsB,CAAC,CAmBjC"}
|
|
@@ -1,21 +1,9 @@
|
|
|
1
|
-
import { initializeFileCacheBackend } from "../platform/adapters/fs/cache/file-cache.js";
|
|
2
|
-
import { initializeSSRDistributedCache } from "../modules/react-loader/ssr-module-loader/index.js";
|
|
3
|
-
import { initializeTransformCache } from "../transforms/esm/transform-cache.js";
|
|
4
|
-
import { initializeHttpModuleDistributedCache } from "../transforms/esm/http-cache-wrapper.js";
|
|
5
1
|
import { SpanNames } from "../observability/tracing/span-names.js";
|
|
6
2
|
import { withSpan } from "../observability/tracing/otlp-setup.js";
|
|
7
|
-
import { initializeProjectCSSCache } from "../html/styles-builder/tailwind-compiler.js";
|
|
8
3
|
import { logger as baseLogger } from "../utils/logger/logger.js";
|
|
9
4
|
import { isRedisConfigured } from "../utils/redis-client.js";
|
|
10
5
|
import { isApiCacheAvailable, isDiskCacheConfigured } from "./backend.js";
|
|
11
6
|
const logger = baseLogger.component("distributed-cache");
|
|
12
|
-
const defaultInitializers = {
|
|
13
|
-
transformCache: initializeTransformCache,
|
|
14
|
-
ssrModuleCache: initializeSSRDistributedCache,
|
|
15
|
-
fileCache: initializeFileCacheBackend,
|
|
16
|
-
projectCSSCache: initializeProjectCSSCache,
|
|
17
|
-
httpModuleCache: initializeHttpModuleDistributedCache,
|
|
18
|
-
};
|
|
19
7
|
function determineBackend() {
|
|
20
8
|
if (isApiCacheAvailable())
|
|
21
9
|
return "api";
|
|
@@ -88,7 +76,7 @@ async function initializeDistributedCachesWithInitializers(backend, initializers
|
|
|
88
76
|
export function __runDistributedCacheInitializationForTests(backend, initializers) {
|
|
89
77
|
return initializeDistributedCachesWithInitializers(backend, initializers);
|
|
90
78
|
}
|
|
91
|
-
export function initializeDistributedCaches() {
|
|
79
|
+
export function initializeDistributedCaches(initializers) {
|
|
92
80
|
const backend = determineBackend();
|
|
93
81
|
if (backend === "memory") {
|
|
94
82
|
return Promise.resolve({
|
|
@@ -100,5 +88,5 @@ export function initializeDistributedCaches() {
|
|
|
100
88
|
httpModuleCache: false,
|
|
101
89
|
});
|
|
102
90
|
}
|
|
103
|
-
return withSpan(SpanNames.CACHE_DISTRIBUTED_INIT, () => initializeDistributedCachesWithInitializers(backend,
|
|
91
|
+
return withSpan(SpanNames.CACHE_DISTRIBUTED_INIT, () => initializeDistributedCachesWithInitializers(backend, initializers), { "cache.backend": backend });
|
|
104
92
|
}
|
|
@@ -11,20 +11,20 @@ export declare const CONTROL_PLANE_RUN_STREAM_PATH = "/api/control-plane/runs/:r
|
|
|
11
11
|
/** Allowed control-plane surfaces — source of truth for the schema and {@link ControlPlaneSurface}. */
|
|
12
12
|
export declare const CONTROL_PLANE_SURFACES: readonly ["studio", "channels", "a2a", "mcp"];
|
|
13
13
|
/** Zod schema for get control plane surface. */
|
|
14
|
-
export declare const getControlPlaneSurfaceSchema: () => Schema<"mcp" | "
|
|
14
|
+
export declare const getControlPlaneSurfaceSchema: () => Schema<"mcp" | "channels" | "studio" | "a2a">;
|
|
15
15
|
/** Zod schema for control plane surface. */
|
|
16
|
-
export declare const ControlPlaneSurfaceSchema: Schema<"mcp" | "
|
|
16
|
+
export declare const ControlPlaneSurfaceSchema: Schema<"mcp" | "channels" | "studio" | "a2a">;
|
|
17
17
|
/** Zod schema for get control plane agents list request. */
|
|
18
18
|
export declare const getControlPlaneAgentsListRequestSchema: () => Schema<import("../extensions/schema/schema-validator.js").InferShape<{
|
|
19
19
|
requestId: Schema<string>;
|
|
20
20
|
projectId: Schema<string>;
|
|
21
|
-
surface: Schema<"mcp" | "
|
|
21
|
+
surface: Schema<"mcp" | "channels" | "studio" | "a2a">;
|
|
22
22
|
}>>;
|
|
23
23
|
/** Zod schema for control plane agents list request. */
|
|
24
24
|
export declare const ControlPlaneAgentsListRequestSchema: Schema<import("../extensions/schema/schema-validator.js").InferShape<{
|
|
25
25
|
requestId: Schema<string>;
|
|
26
26
|
projectId: Schema<string>;
|
|
27
|
-
surface: Schema<"mcp" | "
|
|
27
|
+
surface: Schema<"mcp" | "channels" | "studio" | "a2a">;
|
|
28
28
|
}>>;
|
|
29
29
|
/** Zod schema for get runtime agent skill. */
|
|
30
30
|
export declare const getRuntimeAgentSkillSchema: () => Schema<import("../extensions/schema/schema-validator.js").InferShape<{
|
|
@@ -232,7 +232,7 @@ declare const getControlPlaneClaimsSchema: () => Schema<import("../extensions/sc
|
|
|
232
232
|
iss: Schema<string>;
|
|
233
233
|
aud: Schema<string>;
|
|
234
234
|
sub: Schema<string>;
|
|
235
|
-
surface: Schema<"mcp" | "
|
|
235
|
+
surface: Schema<"mcp" | "channels" | "studio" | "a2a">;
|
|
236
236
|
project_id: Schema<string>;
|
|
237
237
|
request_hash: Schema<string>;
|
|
238
238
|
iat: Schema<number>;
|
|
@@ -34,8 +34,10 @@ function splitRecursive(text, separators, maxChars, overlap) {
|
|
|
34
34
|
const candidate = current ? current + sep + part : part;
|
|
35
35
|
if (candidate.length > maxChars && current) {
|
|
36
36
|
chunks.push(current);
|
|
37
|
-
// Overlap: keep the
|
|
38
|
-
|
|
37
|
+
// Overlap: keep the last `overlap` chars of the current chunk. Guard
|
|
38
|
+
// `overlap === 0` explicitly — `slice(-0)` is `slice(0)`, which returns
|
|
39
|
+
// the WHOLE chunk and would cascade it into every subsequent chunk.
|
|
40
|
+
const tail = overlap > 0 ? current.slice(-overlap) : "";
|
|
39
41
|
current = tail ? tail + sep + part : part;
|
|
40
42
|
}
|
|
41
43
|
else {
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const AGENT_ERROR: import("../types.js").RegisteredError;
|
|
2
|
+
export declare const AGENT_NOT_FOUND: import("../types.js").RegisteredError;
|
|
3
|
+
export declare const AGENT_TIMEOUT: import("../types.js").RegisteredError;
|
|
4
|
+
export declare const AGENT_INTENT_ERROR: import("../types.js").RegisteredError;
|
|
5
|
+
export declare const ORCHESTRATION_ERROR: import("../types.js").RegisteredError;
|
|
6
|
+
export declare const COST_LIMIT_EXCEEDED: import("../types.js").RegisteredError;
|
|
7
|
+
/** Registry fragment for AGENT errors (slug → definition). */
|
|
8
|
+
export declare const AGENT_REGISTRY: {
|
|
9
|
+
readonly "agent-error": import("../types.js").RegisteredError;
|
|
10
|
+
readonly "agent-not-found": import("../types.js").RegisteredError;
|
|
11
|
+
readonly "agent-timeout": import("../types.js").RegisteredError;
|
|
12
|
+
readonly "agent-intent-error": import("../types.js").RegisteredError;
|
|
13
|
+
readonly "orchestration-error": import("../types.js").RegisteredError;
|
|
14
|
+
readonly "cost-limit-exceeded": import("../types.js").RegisteredError;
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=agent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agent.d.ts","sourceRoot":"","sources":["../../../../src/src/errors/error-registry/agent.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,uCAMtB,CAAC;AAEH,eAAO,MAAM,eAAe,uCAM1B,CAAC;AAEH,eAAO,MAAM,aAAa,uCAMxB,CAAC;AAEH,eAAO,MAAM,kBAAkB,uCAM7B,CAAC;AAEH,eAAO,MAAM,mBAAmB,uCAM9B,CAAC;AAEH,eAAO,MAAM,mBAAmB,uCAM9B,CAAC;AAEH,8DAA8D;AAC9D,eAAO,MAAM,cAAc;;;;;;;CAOjB,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { defineError } from "../types.js";
|
|
2
|
+
export const AGENT_ERROR = defineError({
|
|
3
|
+
slug: "agent-error",
|
|
4
|
+
category: "AGENT",
|
|
5
|
+
status: 500,
|
|
6
|
+
title: "Agent operation error",
|
|
7
|
+
suggestion: "Check agent configuration and logs",
|
|
8
|
+
});
|
|
9
|
+
export const AGENT_NOT_FOUND = defineError({
|
|
10
|
+
slug: "agent-not-found",
|
|
11
|
+
category: "AGENT",
|
|
12
|
+
status: 404,
|
|
13
|
+
title: "Agent not found",
|
|
14
|
+
suggestion: "Verify the agent ID exists",
|
|
15
|
+
});
|
|
16
|
+
export const AGENT_TIMEOUT = defineError({
|
|
17
|
+
slug: "agent-timeout",
|
|
18
|
+
category: "AGENT",
|
|
19
|
+
status: 408,
|
|
20
|
+
title: "Agent operation timed out",
|
|
21
|
+
suggestion: "Increase timeout or simplify the request",
|
|
22
|
+
});
|
|
23
|
+
export const AGENT_INTENT_ERROR = defineError({
|
|
24
|
+
slug: "agent-intent-error",
|
|
25
|
+
category: "AGENT",
|
|
26
|
+
status: 400,
|
|
27
|
+
title: "Agent intent parsing error",
|
|
28
|
+
suggestion: "Rephrase the request more clearly",
|
|
29
|
+
});
|
|
30
|
+
export const ORCHESTRATION_ERROR = defineError({
|
|
31
|
+
slug: "orchestration-error",
|
|
32
|
+
category: "AGENT",
|
|
33
|
+
status: 500,
|
|
34
|
+
title: "Multi-agent orchestration error",
|
|
35
|
+
suggestion: "Check agent coordination logic",
|
|
36
|
+
});
|
|
37
|
+
export const COST_LIMIT_EXCEEDED = defineError({
|
|
38
|
+
slug: "cost-limit-exceeded",
|
|
39
|
+
category: "AGENT",
|
|
40
|
+
status: 429,
|
|
41
|
+
title: "Cost limit exceeded",
|
|
42
|
+
suggestion: "Wait for the budget period to reset or increase the limit",
|
|
43
|
+
});
|
|
44
|
+
/** Registry fragment for AGENT errors (slug → definition). */
|
|
45
|
+
export const AGENT_REGISTRY = {
|
|
46
|
+
"agent-error": AGENT_ERROR,
|
|
47
|
+
"agent-not-found": AGENT_NOT_FOUND,
|
|
48
|
+
"agent-timeout": AGENT_TIMEOUT,
|
|
49
|
+
"agent-intent-error": AGENT_INTENT_ERROR,
|
|
50
|
+
"orchestration-error": ORCHESTRATION_ERROR,
|
|
51
|
+
"cost-limit-exceeded": COST_LIMIT_EXCEEDED,
|
|
52
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const CLIENT_BOUNDARY_VIOLATION: import("../types.js").RegisteredError;
|
|
2
|
+
export declare const SERVER_ONLY_IN_CLIENT: import("../types.js").RegisteredError;
|
|
3
|
+
export declare const CLIENT_ONLY_IN_SERVER: import("../types.js").RegisteredError;
|
|
4
|
+
export declare const INVALID_USE_CLIENT: import("../types.js").RegisteredError;
|
|
5
|
+
export declare const INVALID_USE_SERVER: import("../types.js").RegisteredError;
|
|
6
|
+
export declare const RSC_PAYLOAD_ERROR: import("../types.js").RegisteredError;
|
|
7
|
+
/** Registry fragment for BOUNDARY errors (slug → definition). */
|
|
8
|
+
export declare const BOUNDARY_REGISTRY: {
|
|
9
|
+
readonly "client-boundary-violation": import("../types.js").RegisteredError;
|
|
10
|
+
readonly "server-only-in-client": import("../types.js").RegisteredError;
|
|
11
|
+
readonly "client-only-in-server": import("../types.js").RegisteredError;
|
|
12
|
+
readonly "invalid-use-client": import("../types.js").RegisteredError;
|
|
13
|
+
readonly "invalid-use-server": import("../types.js").RegisteredError;
|
|
14
|
+
readonly "rsc-payload-error": import("../types.js").RegisteredError;
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=boundary.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"boundary.d.ts","sourceRoot":"","sources":["../../../../src/src/errors/error-registry/boundary.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,yBAAyB,uCAMpC,CAAC;AAEH,eAAO,MAAM,qBAAqB,uCAMhC,CAAC;AAEH,eAAO,MAAM,qBAAqB,uCAMhC,CAAC;AAEH,eAAO,MAAM,kBAAkB,uCAM7B,CAAC;AAEH,eAAO,MAAM,kBAAkB,uCAM7B,CAAC;AAEH,eAAO,MAAM,iBAAiB,uCAM5B,CAAC;AAEH,iEAAiE;AACjE,eAAO,MAAM,iBAAiB;;;;;;;CAOpB,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { defineError } from "../types.js";
|
|
2
|
+
export const CLIENT_BOUNDARY_VIOLATION = defineError({
|
|
3
|
+
slug: "client-boundary-violation",
|
|
4
|
+
category: "BOUNDARY",
|
|
5
|
+
status: 400,
|
|
6
|
+
title: "Client boundary rule violation",
|
|
7
|
+
suggestion: "Add 'use client' directive or move code to a client component",
|
|
8
|
+
});
|
|
9
|
+
export const SERVER_ONLY_IN_CLIENT = defineError({
|
|
10
|
+
slug: "server-only-in-client",
|
|
11
|
+
category: "BOUNDARY",
|
|
12
|
+
status: 400,
|
|
13
|
+
title: "Server-only code in client component",
|
|
14
|
+
suggestion: "Move server-only code to a server component",
|
|
15
|
+
});
|
|
16
|
+
export const CLIENT_ONLY_IN_SERVER = defineError({
|
|
17
|
+
slug: "client-only-in-server",
|
|
18
|
+
category: "BOUNDARY",
|
|
19
|
+
status: 400,
|
|
20
|
+
title: "Client-only code in server component",
|
|
21
|
+
suggestion: "Move client-only code to a client component",
|
|
22
|
+
});
|
|
23
|
+
export const INVALID_USE_CLIENT = defineError({
|
|
24
|
+
slug: "invalid-use-client",
|
|
25
|
+
category: "BOUNDARY",
|
|
26
|
+
status: 400,
|
|
27
|
+
title: "Invalid 'use client' directive",
|
|
28
|
+
suggestion: "Place 'use client' at the top of the file",
|
|
29
|
+
});
|
|
30
|
+
export const INVALID_USE_SERVER = defineError({
|
|
31
|
+
slug: "invalid-use-server",
|
|
32
|
+
category: "BOUNDARY",
|
|
33
|
+
status: 400,
|
|
34
|
+
title: "Invalid 'use server' directive",
|
|
35
|
+
suggestion: "Place 'use server' at the top of the file or function",
|
|
36
|
+
});
|
|
37
|
+
export const RSC_PAYLOAD_ERROR = defineError({
|
|
38
|
+
slug: "rsc-payload-error",
|
|
39
|
+
category: "BOUNDARY",
|
|
40
|
+
status: 500,
|
|
41
|
+
title: "RSC payload serialization error",
|
|
42
|
+
suggestion: "Ensure props are serializable (no functions, symbols, etc.)",
|
|
43
|
+
});
|
|
44
|
+
/** Registry fragment for BOUNDARY errors (slug → definition). */
|
|
45
|
+
export const BOUNDARY_REGISTRY = {
|
|
46
|
+
"client-boundary-violation": CLIENT_BOUNDARY_VIOLATION,
|
|
47
|
+
"server-only-in-client": SERVER_ONLY_IN_CLIENT,
|
|
48
|
+
"client-only-in-server": CLIENT_ONLY_IN_SERVER,
|
|
49
|
+
"invalid-use-client": INVALID_USE_CLIENT,
|
|
50
|
+
"invalid-use-server": INVALID_USE_SERVER,
|
|
51
|
+
"rsc-payload-error": RSC_PAYLOAD_ERROR,
|
|
52
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare const BUILD_FAILED: import("../types.js").RegisteredError;
|
|
2
|
+
export declare const BUNDLE_ERROR: import("../types.js").RegisteredError;
|
|
3
|
+
export declare const TYPESCRIPT_ERROR: import("../types.js").RegisteredError;
|
|
4
|
+
export declare const MDX_COMPILE_ERROR: import("../types.js").RegisteredError;
|
|
5
|
+
export declare const ASSET_OPTIMIZATION_ERROR: import("../types.js").RegisteredError;
|
|
6
|
+
export declare const SSG_GENERATION_ERROR: import("../types.js").RegisteredError;
|
|
7
|
+
export declare const SOURCEMAP_ERROR: import("../types.js").RegisteredError;
|
|
8
|
+
export declare const COMPILATION_ERROR: import("../types.js").RegisteredError;
|
|
9
|
+
/** Registry fragment for BUILD errors (slug → definition). */
|
|
10
|
+
export declare const BUILD_REGISTRY: {
|
|
11
|
+
readonly "build-failed": import("../types.js").RegisteredError;
|
|
12
|
+
readonly "bundle-error": import("../types.js").RegisteredError;
|
|
13
|
+
readonly "typescript-error": import("../types.js").RegisteredError;
|
|
14
|
+
readonly "mdx-compile-error": import("../types.js").RegisteredError;
|
|
15
|
+
readonly "asset-optimization-error": import("../types.js").RegisteredError;
|
|
16
|
+
readonly "ssg-generation-error": import("../types.js").RegisteredError;
|
|
17
|
+
readonly "sourcemap-error": import("../types.js").RegisteredError;
|
|
18
|
+
readonly "compilation-error": import("../types.js").RegisteredError;
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=build.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../../../../src/src/errors/error-registry/build.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY,uCAMvB,CAAC;AAEH,eAAO,MAAM,YAAY,uCAMvB,CAAC;AAEH,eAAO,MAAM,gBAAgB,uCAM3B,CAAC;AAEH,eAAO,MAAM,iBAAiB,uCAM5B,CAAC;AAEH,eAAO,MAAM,wBAAwB,uCAMnC,CAAC;AAEH,eAAO,MAAM,oBAAoB,uCAM/B,CAAC;AAEH,eAAO,MAAM,eAAe,uCAM1B,CAAC;AAEH,eAAO,MAAM,iBAAiB,uCAM5B,CAAC;AAEH,8DAA8D;AAC9D,eAAO,MAAM,cAAc;;;;;;;;;CASjB,CAAC"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { defineError } from "../types.js";
|
|
2
|
+
export const BUILD_FAILED = defineError({
|
|
3
|
+
slug: "build-failed",
|
|
4
|
+
category: "BUILD",
|
|
5
|
+
status: 500,
|
|
6
|
+
title: "Build process failed",
|
|
7
|
+
suggestion: "Check the build output for specific errors",
|
|
8
|
+
});
|
|
9
|
+
export const BUNDLE_ERROR = defineError({
|
|
10
|
+
slug: "bundle-error",
|
|
11
|
+
category: "BUILD",
|
|
12
|
+
status: 500,
|
|
13
|
+
title: "Bundle generation failed",
|
|
14
|
+
suggestion: "Review bundler output for details",
|
|
15
|
+
});
|
|
16
|
+
export const TYPESCRIPT_ERROR = defineError({
|
|
17
|
+
slug: "typescript-error",
|
|
18
|
+
category: "BUILD",
|
|
19
|
+
status: 500,
|
|
20
|
+
title: "TypeScript compilation error",
|
|
21
|
+
suggestion: "Fix TypeScript errors shown in the output",
|
|
22
|
+
});
|
|
23
|
+
export const MDX_COMPILE_ERROR = defineError({
|
|
24
|
+
slug: "mdx-compile-error",
|
|
25
|
+
category: "BUILD",
|
|
26
|
+
status: 500,
|
|
27
|
+
title: "MDX compilation failed",
|
|
28
|
+
suggestion: "Check your MDX file syntax",
|
|
29
|
+
});
|
|
30
|
+
export const ASSET_OPTIMIZATION_ERROR = defineError({
|
|
31
|
+
slug: "asset-optimization-error",
|
|
32
|
+
category: "BUILD",
|
|
33
|
+
status: 500,
|
|
34
|
+
title: "Asset optimization failed",
|
|
35
|
+
suggestion: "Check asset file formats and paths",
|
|
36
|
+
});
|
|
37
|
+
export const SSG_GENERATION_ERROR = defineError({
|
|
38
|
+
slug: "ssg-generation-error",
|
|
39
|
+
category: "BUILD",
|
|
40
|
+
status: 500,
|
|
41
|
+
title: "Static site generation failed",
|
|
42
|
+
suggestion: "Review SSG configuration and data fetching",
|
|
43
|
+
});
|
|
44
|
+
export const SOURCEMAP_ERROR = defineError({
|
|
45
|
+
slug: "sourcemap-error",
|
|
46
|
+
category: "BUILD",
|
|
47
|
+
status: 500,
|
|
48
|
+
title: "Source map generation failed",
|
|
49
|
+
suggestion: "Check source map configuration",
|
|
50
|
+
});
|
|
51
|
+
export const COMPILATION_ERROR = defineError({
|
|
52
|
+
slug: "compilation-error",
|
|
53
|
+
category: "BUILD",
|
|
54
|
+
status: 500,
|
|
55
|
+
title: "Compilation failed",
|
|
56
|
+
suggestion: "Review compiler output for specific errors",
|
|
57
|
+
});
|
|
58
|
+
/** Registry fragment for BUILD errors (slug → definition). */
|
|
59
|
+
export const BUILD_REGISTRY = {
|
|
60
|
+
"build-failed": BUILD_FAILED,
|
|
61
|
+
"bundle-error": BUNDLE_ERROR,
|
|
62
|
+
"typescript-error": TYPESCRIPT_ERROR,
|
|
63
|
+
"mdx-compile-error": MDX_COMPILE_ERROR,
|
|
64
|
+
"asset-optimization-error": ASSET_OPTIMIZATION_ERROR,
|
|
65
|
+
"ssg-generation-error": SSG_GENERATION_ERROR,
|
|
66
|
+
"sourcemap-error": SOURCEMAP_ERROR,
|
|
67
|
+
"compilation-error": COMPILATION_ERROR,
|
|
68
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare const CONFIG_NOT_FOUND: import("../types.js").RegisteredError;
|
|
2
|
+
export declare const CONFIG_INVALID: import("../types.js").RegisteredError;
|
|
3
|
+
export declare const CONFIG_PARSE_ERROR: import("../types.js").RegisteredError;
|
|
4
|
+
/** Schema-level config validation (e.g. Zod schema mismatch at runtime) */
|
|
5
|
+
export declare const CONFIG_VALIDATION_ERROR: import("../types.js").RegisteredError;
|
|
6
|
+
export declare const CONFIG_TYPE_ERROR: import("../types.js").RegisteredError;
|
|
7
|
+
export declare const IMPORT_MAP_INVALID: import("../types.js").RegisteredError;
|
|
8
|
+
export declare const CORS_CONFIG_INVALID: import("../types.js").RegisteredError;
|
|
9
|
+
/** Config file validation failures (replaces ConfigValidationError) */
|
|
10
|
+
export declare const CONFIG_VALIDATION_FAILED: import("../types.js").RegisteredError;
|
|
11
|
+
/** Registry fragment for CONFIG errors (slug → definition). */
|
|
12
|
+
export declare const CONFIG_REGISTRY: {
|
|
13
|
+
readonly "config-not-found": import("../types.js").RegisteredError;
|
|
14
|
+
readonly "config-invalid": import("../types.js").RegisteredError;
|
|
15
|
+
readonly "config-parse-error": import("../types.js").RegisteredError;
|
|
16
|
+
readonly "config-validation-error": import("../types.js").RegisteredError;
|
|
17
|
+
readonly "config-type-error": import("../types.js").RegisteredError;
|
|
18
|
+
readonly "import-map-invalid": import("../types.js").RegisteredError;
|
|
19
|
+
readonly "cors-config-invalid": import("../types.js").RegisteredError;
|
|
20
|
+
readonly "config-validation-failed": import("../types.js").RegisteredError;
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../src/src/errors/error-registry/config.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB,uCAM3B,CAAC;AAEH,eAAO,MAAM,cAAc,uCAMzB,CAAC;AAEH,eAAO,MAAM,kBAAkB,uCAM7B,CAAC;AAEH,2EAA2E;AAC3E,eAAO,MAAM,uBAAuB,uCAMlC,CAAC;AAEH,eAAO,MAAM,iBAAiB,uCAM5B,CAAC;AAEH,eAAO,MAAM,kBAAkB,uCAM7B,CAAC;AAEH,eAAO,MAAM,mBAAmB,uCAM9B,CAAC;AAEH,uEAAuE;AACvE,eAAO,MAAM,wBAAwB,uCAMnC,CAAC;AAEH,+DAA+D;AAC/D,eAAO,MAAM,eAAe;;;;;;;;;CASlB,CAAC"}
|