codex: flatten realtime transcript notification

Expose transcript updates as flat threadId/role/text notifications, update the app-server emitter and v2 docs/test to match, and regenerate the protocol schema artifacts.

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
Ahmed Ibrahim
2026-03-20 14:19:47 -07:00
parent ebca8c2aa9
commit e5f3fd76a4
11 changed files with 44 additions and 132 deletions

View File

@@ -3068,37 +3068,23 @@
],
"type": "object"
},
"ThreadRealtimeTranscriptEntry": {
"ThreadRealtimeTranscriptUpdatedNotification": {
"description": "EXPERIMENTAL - flat transcript delta emitted whenever realtime transcript text changes.",
"properties": {
"role": {
"type": "string"
},
"text": {
"type": "string"
},
"threadId": {
"type": "string"
}
},
"required": [
"role",
"text"
],
"type": "object"
},
"ThreadRealtimeTranscriptUpdatedNotification": {
"description": "EXPERIMENTAL - flat transcript snapshot emitted whenever realtime transcript text changes.",
"properties": {
"threadId": {
"type": "string"
},
"transcript": {
"items": {
"$ref": "#/definitions/ThreadRealtimeTranscriptEntry"
},
"type": "array"
}
},
"required": [
"threadId",
"transcript"
"text",
"threadId"
],
"type": "object"
},