Files
codex/codex-rs/app-server-protocol/schema/json/v2/ThreadRealtimeTranscriptAddedNotification.json
Ahmed Ibrahim 4125a6a05f Add realtime transcript notification in v2
Emit a typed realtime handoff transcript notification and wire the app-server TUI to handle it.

Co-authored-by: Codex <noreply@openai.com>
2026-03-20 12:58:03 -07:00

46 lines
926 B
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"ThreadRealtimeTranscriptEntry": {
"properties": {
"role": {
"type": "string"
},
"text": {
"type": "string"
}
},
"required": [
"role",
"text"
],
"type": "object"
}
},
"description": "EXPERIMENTAL - flat transcript snapshot emitted when realtime hands off to the main agent.",
"properties": {
"handoffId": {
"type": "string"
},
"itemId": {
"type": "string"
},
"threadId": {
"type": "string"
},
"transcript": {
"items": {
"$ref": "#/definitions/ThreadRealtimeTranscriptEntry"
},
"type": "array"
}
},
"required": [
"handoffId",
"itemId",
"threadId",
"transcript"
],
"title": "ThreadRealtimeTranscriptAddedNotification",
"type": "object"
}