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”andCursor authored and GitHub committed 2026-08-22 17:01:15 +08:00
1 parent 954078380c
commit ab5c6d414a
9 files changed
+234 -31

No files matched your search

+2 -2
View File
@@ -51,10 +51,10 @@
},
"version": {
"type": "integer",
"format": "uint32",
"minimum": 0.0
"const": 3
}
},
"additionalProperties": false,
"definitions": {
"FillCommit": {
"type": "string",