feat(gateway): add Codex Live and OpenAI Realtime

Implement preflighted Live/Realtime WebSocket transports, protocol-aware authentication, usage auditing, UI filtering, and legacy Codex permission migration.
This commit is contained in:
ZheFox
2026-08-21 04:27:34 +08:00
parent fe38dcd294
commit 2c89202001
105 changed files with 7553 additions and 947 deletions
@@ -317,6 +317,8 @@ describe('buildExactModelMappingTestRequest', () => {
describe('isModelTestableApiFormat', () => {
it.each([
'openai:realtime',
'codex:live',
'openai:video',
'gemini:video',
'gemini:files',
@@ -24,6 +24,8 @@ export type ModelTestKeySource = {
}
const MODEL_TEST_UNSUPPORTED_API_FORMATS = new Set([
'openai:realtime',
'codex:live',
'openai:video',
'gemini:video',
'gemini:files',