@moldea.ai/core 7.0.3 → 7.0.4
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/analysis-worker.js +1 -1
- package/dist/chunks/{core-DC9KYL1H.js → core-FyfprJqa.js} +5 -5
- package/dist/chunks/core-FyfprJqa.js.map +1 -0
- package/dist/chunks/{scope-DxhC1hq2.js → scope-e3-w9N7D.js} +2 -2
- package/dist/chunks/scope-e3-w9N7D.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/scope.js +1 -1
- package/package.json +1 -1
- package/dist/chunks/core-DC9KYL1H.js.map +0 -1
- package/dist/chunks/scope-DxhC1hq2.js.map +0 -1
package/dist/analysis-worker.js
CHANGED
|
@@ -76,7 +76,7 @@ var repository = {
|
|
|
76
76
|
};
|
|
77
77
|
/** Prepares the fixed Core implementation after the parent acknowledges the heap. */
|
|
78
78
|
var prepare = async () => {
|
|
79
|
-
const { createCore } = await import("./chunks/core-
|
|
79
|
+
const { createCore } = await import("./chunks/core-FyfprJqa.js").then((n) => n.t);
|
|
80
80
|
inspection = await createCore(normalizeCoreOptions({ limits: {
|
|
81
81
|
...start.limits,
|
|
82
82
|
maxRetainedBytes: start.limits.maxRetainedBytes - NODE_INSPECTION_TRANSPORT_BYTES
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { E as parseDecisionIdFromPath, O as trimRepositoryFormatWhitespace, S as isRuntimeGuidancePath, T as isVariableId, a as escapeJsonPointerSegment, c as freezeRecursively, d as hasNonWhitespace, g as isContextPath, i as createCoreDiagnosticCollector, l as compareExactStrings, n as normalizeCoreOptions, o as normalizeDiagnostics, r as countDiagnosticsBySeverity, s as createNullPrototypeRecord, t as createCoreOperationOptionsSnapshot, u as countUnicodeScalars } from "./options-AMqX7rx_.js";
|
|
2
2
|
import { n as CoreOperationException } from "./exceptions-CYf1pCKf.js";
|
|
3
|
-
import { a as createSourceLocator, c as calculateContentDigest, i as parseStrictYaml, l as calculateNormalizedTextDigest, n as inspectManifestDocument, o as collectManifestScopeDeclarations, r as parseManifestDocument, s as matchesRepositoryGlob, t as matchManifestScope, u as normalizeTextDocument } from "./scope-
|
|
3
|
+
import { a as createSourceLocator, c as calculateContentDigest, i as parseStrictYaml, l as calculateNormalizedTextDigest, n as inspectManifestDocument, o as collectManifestScopeDeclarations, r as parseManifestDocument, s as matchesRepositoryGlob, t as matchManifestScope, u as normalizeTextDocument } from "./scope-e3-w9N7D.js";
|
|
4
4
|
import { REPOSITORY_ROOT, RepositorySourceException, compareRepositoryPaths, createRepositoryIdentity, isRepositoryPath, parseRepositoryPath } from "@moldea.ai/repository";
|
|
5
5
|
//#region \0rolldown/runtime.js
|
|
6
6
|
var __defProp = Object.defineProperty;
|
|
@@ -1825,8 +1825,8 @@ var validateManifestRelationships = (manifestPath, manifest, discovery, decision
|
|
|
1825
1825
|
const agent = manifest.agents?.[agentId];
|
|
1826
1826
|
if (agent === void 0) continue;
|
|
1827
1827
|
const escapedAgentId = escapeJsonPointerSegment(agentId);
|
|
1828
|
-
for (const referencedPath of
|
|
1829
|
-
for (const referencedPath of
|
|
1828
|
+
for (const [index, referencedPath] of (agent.context ?? []).entries()) validateContextRelationship(referencedPath, `/agents/${escapedAgentId}/context/${index}`, validationContext.validAgentContextPaths, validationContext, agentId);
|
|
1829
|
+
for (const [index, referencedPath] of (agent.decisions ?? []).entries()) validateDecisionRelationship(referencedPath, `/agents/${escapedAgentId}/decisions/${index}`, validationContext, agentId);
|
|
1830
1830
|
}
|
|
1831
1831
|
return collector.finalize();
|
|
1832
1832
|
};
|
|
@@ -2245,7 +2245,7 @@ var inspectMirrors = async (repository, manifestPath, agents, options, signal) =
|
|
|
2245
2245
|
for (const agent of [...agents].sort((left, right) => compareExactStrings(left.id, right.id))) {
|
|
2246
2246
|
const mirrors = [];
|
|
2247
2247
|
if (agent.instruction !== null) {
|
|
2248
|
-
const declaredMirrors =
|
|
2248
|
+
const declaredMirrors = agent.declaration.mirrors ?? [];
|
|
2249
2249
|
for (const [index, mirrorPath] of declaredMirrors.entries()) {
|
|
2250
2250
|
const mirror = await inspectMirror(repository, manifestPath, agent.instruction, mirrorPath, `/agents/${escapeJsonPointerSegment(agent.id)}/mirrors/${index}`, agent.id, options, collector, operationOptions, signal);
|
|
2251
2251
|
if (mirror !== null) mirrors.push(mirror);
|
|
@@ -3363,4 +3363,4 @@ var createCore = (options) => {
|
|
|
3363
3363
|
//#endregion
|
|
3364
3364
|
export { createCore as n, parseIntegrationBlock as r, core_exports as t };
|
|
3365
3365
|
|
|
3366
|
-
//# sourceMappingURL=core-
|
|
3366
|
+
//# sourceMappingURL=core-FyfprJqa.js.map
|