feat(subagent): record and observe parent-owned child catalogs

This commit is contained in:
Dudu-0223
2026-09-08 23:28:50 +08:00
parent 5dda764ed3
commit 2db4bdd31d
53 changed files with 1010 additions and 111 deletions
+4
View File
@@ -2158,6 +2158,10 @@ def normalize_snapshot_value(
}
if normalized.get("type") == "session" and "createdAt" in normalized:
normalized["createdAt"] = 0
if normalized.get("type") == "subagent/catalog":
data = normalized.get("data")
if isinstance(data, dict) and "childCreatedAt" in data:
data["childCreatedAt"] = 0
if "seq" in normalized and "time" in normalized:
normalized["time"] = 0
if normalized.get("type") in ("assistant/message", "assistant/attempt"):