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 fs from 'fs';
import * as http from 'http';
const pacPath = process.argv[2];
if (!pacPath) {
throw new Error('PAC file path is required');
}
const pac = fs.readFileSync(pacPath);
const server = http.createServer((request, response) => {
console.log(`${request.method} ${request.url}`);
response.writeHead(200, {
'Content-Length': pac.length,
'Content-Type': 'application/x-ns-proxy-autoconfig'
});
response.end(pac);
});
server.listen(44444, '127.0.0.1', () => console.log('PAC server listening on 127.0.0.1:44444'));