PatchSummary
Server-authored edit-family diff summary:
files counts the stored patch document’s file entries; added and
removed are the total +/- prefixed LINE counts summed over the
stored patch’s hunks across all files — line counts, never hunk or byte
counts. Rides the toolCall item beside patchRef; the body is fetched
via item/readOutput with patchRef.id.
Fields and variants
Section titled “Fields and variants”addedfilesremoved
Source
schema/msp/experimental/msp.schema.json#/types/PatchSummary
{ "description": "Server-authored edit-family diff summary:\n`files` counts the stored patch document's file entries; `added` and\n`removed` are the total `+`/`-` prefixed LINE counts summed over the\nstored patch's hunks across all files — line counts, never hunk or byte\ncounts. Rides the `toolCall` item beside `patchRef`; the body is fetched\nvia `item/readOutput` with `patchRef.id`.", "properties": { "added": { "description": "Total `+`-prefixed line count across all files' hunks.", "type": "integer" }, "files": { "description": "File entries in the stored patch document.", "type": "integer" }, "removed": { "description": "Total `-`-prefixed line count across all files' hunks.", "type": "integer" } }, "required": [ "added", "files", "removed" ], "type": "object"}