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 { IAuthenticationService } from '../../../platform/authentication/common/authentication';
import { ICopilotTokenManager } from '../../../platform/authentication/common/copilotTokenManager';
import { INTEGRATION_ID } from '../../../platform/endpoint/common/licenseAgreement';
import { IFetcherService } from '../../../platform/networking/common/fetcherService';
/** Cloud query endpoint path. */
const QUERY_PATH = '/agents/analytics/query';
/** Timeout for cloud query requests (ms). */
const REQUEST_TIMEOUT_MS = 30_000;
/**
* Response format from the cloud query API.
* Data comes as columnar arrays, not row objects.
*/
interface CloudQueryResponse {
columns
column_types
data
row_count
truncated
response CloudQueryResponse Record
columns data response
data columns
datarow
record Record
i i columnslength i
recordcolumnsi rowi
record
_tokenManager ICopilotTokenManager
_authService IAuthenticationService
_fetcherService IFetcherService
sql rows Record truncated error
copilotToken _tokenManager
baseUrl copilotTokenendpointsapi
baseUrl
githubToken _authServiceanyGitHubSessionaccessToken
bearerToken githubToken copilotTokentoken
url
res _fetcherServiceurl
callSite
method
headers
json query sql
timeout
resok
resstatus resstatus
body res error message
msg bodyerror bodymessage
error msg
error
data res CloudQueryResponse
rows data
rows truncated datatruncated
err