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

@@ -13062,38 +13062,24 @@
"title": "ThreadRealtimeStartedNotification",
"type": "object"
},
"ThreadRealtimeTranscriptEntry": {
"ThreadRealtimeTranscriptUpdatedNotification": {
"$schema": "http://json-schema.org/draft-07/schema#",
"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": {
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "EXPERIMENTAL - flat transcript snapshot emitted whenever realtime transcript text changes.",
"properties": {
"threadId": {
"type": "string"
},
"transcript": {
"items": {
"$ref": "#/definitions/v2/ThreadRealtimeTranscriptEntry"
},
"type": "array"
}
},
"required": [
"threadId",
"transcript"
"text",
"threadId"
],
"title": "ThreadRealtimeTranscriptUpdatedNotification",
"type": "object"