Merge origin/master into xtr/agent-setup-hook

This commit is contained in:
_Kerman
2026-09-09 17:31:17 +08:00
243 changed files with 3931 additions and 2186 deletions
+1 -1
View File
@@ -1327,7 +1327,7 @@ def smoke_sdk_snapshot(base_url: str, executable: Path, update_snapshots: bool)
assert result.final_response == SNAPSHOT_FINAL_TEXT, result.final_response
feedback_types = [event.get("type") for event in result.events
if str(event.get("type")).startswith("feedback/")]
if feedback_types != ["feedback/record", "feedback/message-put", "feedback/message-put", "feedback/message-delete"]:
if feedback_types != ["feedback/record", "feedback/record", "feedback/message-put", "feedback/message-put", "feedback/message-delete"]:
raise AssertionError(f"advanced snapshot did not exercise all feedback mutations: {feedback_types}")
methods = [notification.method for notification in result.notifications]
if methods.count("subagent.started") != 2 or methods.count("subagent.finished") != 2: