@agent-inspect/viewer 6.12.2 → 6.14.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/index.cjs +10 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +10 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -2412,11 +2412,16 @@ function projectLogicalEvents(events) {
|
|
|
2412
2412
|
}
|
|
2413
2413
|
if (!remapped) {
|
|
2414
2414
|
if (!logicalById.has(originalParentId) && !logicalByRawId.has(originalParentId)) {
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2415
|
+
const mapping = event.attributes?.parentMapping;
|
|
2416
|
+
const unresolved = mapping === "unresolved" || event.attributes?.parentUnresolved === true || event.attributes?.unresolvedParent === true || // LangGraph/framework scaffolding sentinel labels are not event ids.
|
|
2417
|
+
/^LangGraph$/i.test(originalParentId) || originalParentId.startsWith("unresolved:");
|
|
2418
|
+
if (!unresolved) {
|
|
2419
|
+
diagnostics.push({
|
|
2420
|
+
code: "AI_LOGICAL_PARENT_UNRESOLVED",
|
|
2421
|
+
message: `Parent ${originalParentId} unresolved for ${event.eventId}.`,
|
|
2422
|
+
eventIds: [event.eventId]
|
|
2423
|
+
});
|
|
2424
|
+
}
|
|
2420
2425
|
}
|
|
2421
2426
|
normalized.push(event);
|
|
2422
2427
|
continue;
|