chore: generate

message-v3
opencode-agent[bot] 2026-04-07 23:49:25 +00:00
parent b7fab49b64
commit 0788a535e2
1 changed files with 32 additions and 13 deletions

View File

@ -3071,7 +3071,7 @@
"schema": { "schema": {
"type": "array", "type": "array",
"items": { "items": {
"$ref": "#/components/schemas/FileDiff" "$ref": "#/components/schemas/SnapshotFileDiff"
} }
} }
} }
@ -7032,7 +7032,7 @@
"schema": { "schema": {
"type": "array", "type": "array",
"items": { "items": {
"$ref": "#/components/schemas/FileDiff" "$ref": "#/components/schemas/VcsFileDiff"
} }
} }
} }
@ -8146,16 +8146,13 @@
}, },
"required": ["type", "properties"] "required": ["type", "properties"]
}, },
"FileDiff": { "SnapshotFileDiff": {
"type": "object", "type": "object",
"properties": { "properties": {
"file": { "file": {
"type": "string" "type": "string"
}, },
"before": { "patch": {
"type": "string"
},
"after": {
"type": "string" "type": "string"
}, },
"additions": { "additions": {
@ -8169,7 +8166,7 @@
"enum": ["added", "deleted", "modified"] "enum": ["added", "deleted", "modified"]
} }
}, },
"required": ["file", "before", "after", "additions", "deletions"] "required": ["file", "patch", "additions", "deletions"]
}, },
"Event.session.diff": { "Event.session.diff": {
"type": "object", "type": "object",
@ -8188,7 +8185,7 @@
"diff": { "diff": {
"type": "array", "type": "array",
"items": { "items": {
"$ref": "#/components/schemas/FileDiff" "$ref": "#/components/schemas/SnapshotFileDiff"
} }
} }
}, },
@ -8700,7 +8697,7 @@
"diffs": { "diffs": {
"type": "array", "type": "array",
"items": { "items": {
"$ref": "#/components/schemas/FileDiff" "$ref": "#/components/schemas/SnapshotFileDiff"
} }
} }
}, },
@ -9842,7 +9839,7 @@
"diffs": { "diffs": {
"type": "array", "type": "array",
"items": { "items": {
"$ref": "#/components/schemas/FileDiff" "$ref": "#/components/schemas/SnapshotFileDiff"
} }
} }
}, },
@ -10372,7 +10369,7 @@
"diffs": { "diffs": {
"type": "array", "type": "array",
"items": { "items": {
"$ref": "#/components/schemas/FileDiff" "$ref": "#/components/schemas/SnapshotFileDiff"
} }
} }
}, },
@ -12122,7 +12119,7 @@
"diffs": { "diffs": {
"type": "array", "type": "array",
"items": { "items": {
"$ref": "#/components/schemas/FileDiff" "$ref": "#/components/schemas/SnapshotFileDiff"
} }
} }
}, },
@ -12760,6 +12757,28 @@
} }
} }
}, },
"VcsFileDiff": {
"type": "object",
"properties": {
"file": {
"type": "string"
},
"patch": {
"type": "string"
},
"additions": {
"type": "number"
},
"deletions": {
"type": "number"
},
"status": {
"type": "string",
"enum": ["added", "deleted", "modified"]
}
},
"required": ["file", "patch", "additions", "deletions"]
},
"Command": { "Command": {
"type": "object", "type": "object",
"properties": { "properties": {