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 * as http from 'http';
import * as zlib from 'zlib';
import { findFreePortFaster } from '../../../util/vs/base/node/ports';
/**
* A fake AIP telemetry server, that we can use to test the messages we send.
* The idea is that we the client can be told to POST to http://localhost:{port}/{path}
* via an override, e.g. TelemetryReporter.appInsightsClient.config.endpointUrl in
* the JavaScript client.
*
* This server will stored the raw (gzipped) JSON messages sent to each path.
* A subsequent GET request to http://localhost:{port}/{path} will return the stored
* messages for that path, and also reset the stored messages for that path to empty.
*/
class FakeTelemetryServer {
private readonly messages: { [key: string]: unknown
server httpServer
port
server httpreq res
url requrl
reqmethod
messagesurl
messagesurl
body
uncompress zlib
requncompress
chunk
body body chunk
lines body
line lines
item line
messagesurlitem
res
res
reqmethod
res
res messages messagesurl
messagesurl
resolve reject
server
serverport
server
FakeTelemetryServer
newPort
server newPort
server
server