Add realtime rtc protocol support

Adds the realtime_rtc protocol path so app-server clients can negotiate WebRTC media while core keeps realtime events and tool handling. Regenerates protocol/config schemas for the new request and response shapes.

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
Ahmed Ibrahim
2026-04-06 15:28:33 -07:00
parent 1525bbdb9a
commit 96fee71d24
29 changed files with 872 additions and 76 deletions

View File

@@ -13518,6 +13518,88 @@
"title": "ThreadRealtimeOutputAudioDeltaNotification",
"type": "object"
},
"ThreadRealtimeStartProtocol": {
"description": "EXPERIMENTAL - realtime start protocol selected by the client.",
"oneOf": [
{
"properties": {
"type": {
"enum": [
"jsonRpcPcm"
],
"title": "JsonRpcPcmThreadRealtimeStartProtocolType",
"type": "string"
}
},
"required": [
"type"
],
"title": "JsonRpcPcmThreadRealtimeStartProtocol",
"type": "object"
},
{
"properties": {
"offerSdp": {
"type": "string"
},
"type": {
"enum": [
"rtc"
],
"title": "RtcThreadRealtimeStartProtocolType",
"type": "string"
}
},
"required": [
"offerSdp",
"type"
],
"title": "RtcThreadRealtimeStartProtocol",
"type": "object"
}
]
},
"ThreadRealtimeStartResponseProtocol": {
"description": "EXPERIMENTAL - realtime start response protocol payload.",
"oneOf": [
{
"properties": {
"type": {
"enum": [
"jsonRpcPcm"
],
"title": "JsonRpcPcmThreadRealtimeStartResponseProtocolType",
"type": "string"
}
},
"required": [
"type"
],
"title": "JsonRpcPcmThreadRealtimeStartResponseProtocol",
"type": "object"
},
{
"properties": {
"answerSdp": {
"type": "string"
},
"type": {
"enum": [
"rtc"
],
"title": "RtcThreadRealtimeStartResponseProtocolType",
"type": "string"
}
},
"required": [
"answerSdp",
"type"
],
"title": "RtcThreadRealtimeStartResponseProtocol",
"type": "object"
}
]
},
"ThreadRealtimeStartedNotification": {
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "EXPERIMENTAL - emitted when thread realtime startup is accepted.",