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