fix(protocol): align Trace v2/v3 classification and hover steps

Require Trace v3 version const 3, reject mixed pages/states payloads, and
align TypeScript selection optionality with the generated schema. Trace v2
on main already records hover steps, so the frozen v2 schema must accept
them instead of dropping them during reduction.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
“haonan”
2026-08-23 21:26:39 +08:00
committed by GitHub
co-authored by Cursor
parent f98198949a
commit 524516cb56
9 changed files with 234 additions and 31 deletions
+2 -2
View File
@@ -51,10 +51,10 @@
},
"version": {
"type": "integer",
"format": "uint32",
"minimum": 0.0
"const": 3
}
},
"additionalProperties": false,
"definitions": {
"FillCommit": {
"type": "string",