fix(subagent): store unknown mode in the existing catalog event

This commit is contained in:
Dudu-0223 committed 2026-09-20 14:46:54 +08:00
1 parent 6f3140d7cf
commit f984683956
43 files changed
+703 -764

No files matched your search

+1 -1
View File
@@ -596,7 +596,7 @@ def test_session_subscription_keeps_descendant_relationships_across_subscription
client = HarnessClient()
with client.subscribe_session_notifications("main") as first:
unknown_child = {
"type": "subagent/catalog-unknown", "seq": 0, "time": 1,
"type": "subagent/catalog", "seq": 0, "time": 1,
"data": {"version": 0, "childId": "unreadable-child", "childCreatedAt": 1, "mode": "unknown"},
}
client._handle_message({