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 { CancellationTokenSource } from '../../../util/vs/base/common/cancellation';
import { IHeaders, ReportFetchEvent, Response } from '../../networking/common/fetcherService';
export function createFakeResponse(statusCode: number, response: any = 'body') {
return Response.fromText(
statusCode,
'status text',
new FakeHeaders(),
JSON.stringify(response),
'test-stub'
)
body chunk shouldCancelStream cts CancellationTokenSource reportEvent Response
chunks body body body
chunks cts
reportEvent
strings chunk shouldCancelStream cts CancellationTokenSource ReadableStreamUint8Array
encoder
stringslength strings
controller
s strings
controllerencoders
controller
controller
s strings
s
controllerencoders
controllerencoderschunk
sshouldCancelStream
cts
controller
headers Map
name
headersname
Symboliterator Iterator
headers