wip full delegation

This commit is contained in:
sdcoffey
2026-03-07 09:47:05 -08:00
parent dd9cc542ed
commit 15ba6609c9
46 changed files with 2164 additions and 7 deletions

View File

@@ -10245,6 +10245,55 @@
},
"type": "object"
},
"SdkDelegationConfig": {
"properties": {
"bridgeUrl": {
"description": "Base URL for the host-managed Responses bridge reachable by the Codex runtime.",
"type": "string"
},
"modelProviderId": {
"description": "Optional model-provider id to register for this thread. Defaults to `codex-sdk-v2`.",
"type": [
"string",
"null"
]
},
"streamIdleTimeoutMs": {
"description": "Optional stream idle timeout override for the delegated provider.",
"format": "uint64",
"minimum": 0.0,
"type": [
"integer",
"null"
]
}
},
"required": [
"bridgeUrl"
],
"type": "object"
},
"SdkDelegationConfiguredNotification": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"bridgeUrl": {
"type": "string"
},
"modelProvider": {
"type": "string"
},
"threadId": {
"type": "string"
}
},
"required": [
"bridgeUrl",
"modelProvider",
"threadId"
],
"title": "SdkDelegationConfiguredNotification",
"type": "object"
},
"ServerNotification": {
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "Notification sent from the server to the client.",
@@ -10771,6 +10820,26 @@
"title": "App/list/updatedNotification",
"type": "object"
},
{
"properties": {
"method": {
"enum": [
"codexSdk/delegationConfigured"
],
"title": "CodexSdk/delegationConfiguredNotificationMethod",
"type": "string"
},
"params": {
"$ref": "#/definitions/SdkDelegationConfiguredNotification"
}
},
"required": [
"method",
"params"
],
"title": "CodexSdk/delegationConfiguredNotification",
"type": "object"
},
{
"properties": {
"method": {