ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type * as http from 'http';
import { createDecorator } from '../../../instantiation/common/instantiation.js';
import { ILogService } from '../../../log/common/log.js';
import { IByokLmBridgeRegistry } from '../byokLmBridgeRegistry.js';
import { parseProxyBearer } from '../claude/claudeProxyAuth.js';
import {
ILoopbackProxyHandle,
ILoopbackProxyRuntime,
IProxyInFlight,
LoopbackProxyServer,
readProxyRequestBody,
} from '../shared/loopbackProxyServer.js';
import {
bridgeResultToResponsesBody,
bridgeResultToResponsesSseFrames
IResponsesRequest
responsesErrorBody
responsesRequestToBridge
ResponsesTranslationError
baseUrl
nonce
vendor
IByokLmProxyService
_serviceBrand
IByokLmProxyHandle
_serviceBrand
logService ILogService
_bridgeRegistry IByokLmBridgeRegistry
logService
ByokLmProxyState
IByokLmProxyHandle
runtime release
disposed
baseUrl runtimebaseUrl
nonce runtimenonce
vendor
disposed
disposed
override res httpServerResponse
res
override req httpIncomingMessage res httpServerResponse runtime ILoopbackProxyRuntimeByokLmProxyState
method reqmethod
pathname requrl pathname
_logService
method pathname
res
res
auth reqheaders runtimenonce
authvalid authsessionId
res
vendor pathname
method vendor
req res runtime vendor
res
pathname
pathname pathname
vendorSegment pathnamelength pathnamelength length
vendorSegment
vendor
vendor vendorSegment
vendor vendor
vendor
req httpIncomingMessage res httpServerResponse runtime ILoopbackProxyRuntimeByokLmProxyState vendor
body IResponsesRequest
raw req
body raw IResponsesRequest
err
res
bridgeRequest
bridgeRequest vendor body
err
message err errmessage err
res message
connection _bridgeRegistry
connection
res
entry IProxyInFlight ac res clientGone
runtimeinFlightentry
entryclientGone
entryac
res onClose
result connectionbridgeRequest
entryacsignalaborted reswritableEnded
resulterror
res resulterror
bodystream
res
frame result bridgeRequestmodelId
resframe
res
res
resresult bridgeRequestmodelId
err
entryacsignalaborted reswritableEnded
message err errmessage err
resheadersSent
res message
res
res onClose
runtimeinFlightentry
res httpServerResponse status message type
resheadersSent reswritableEnded
resstatus
resmessage type
_serviceBrand
IByokLmProxyHandle