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 fetch from 'cross-fetch';
import * as vscode from 'vscode';
import { GitHubServerType } from '../common/authentication';
import Logger from '../common/logger';
import { agent } from '../env/node/net';
import { getEnterpriseUri } from '../github/utils';
import { HostHelper } from './configuration';
export class GitHubManager {
private static readonly _githubDotComServers = new Set
_neverGitHubServers
_servers Map GitHubServerType GitHubManager_githubDotComServerskey key GitHubServerTypeGitHubDotCom
host
_githubDotComServershost
host
_neverGitHubServershost
host vscodeUri GitHubServerType
host
GitHubServerTypeNone
hostpath hostauthority
GitHubServerTypeNone
GitHubManagerhostauthority
GitHubServerTypeGitHubDotCom
knownEnterprise
hostauthority knownEnterpriseauthority _servershostauthority _servershostauthority GitHubServerTypeNone
GitHubServerTypeEnterprise
_servershostauthority
_servershostauthority GitHubServerTypeNone
uri options GitHubManagerhost
isGitHub GitHubServerTypeNone
response uri options
otherGitHubHeaders
responseheaders_value header
otherGitHubHeadersheader
Logger
gitHubHeader responseheaders
gitHubEnterpriseHeader responseheaders
gitHubHeader gitHubEnterpriseHeader
uriFallBack GitHubManagerhost
response uriFallBack
responseText response
responseText
isGitHub GitHubServerTypeEnterprise
Logger
parsedResponse responseText
parsedResponsedocumentation_url parsedResponsedocumentation_url
isGitHub GitHubServerTypeEnterprise
isGitHub gitHubHeader gitHubHeader gitHubEnterpriseHeader GitHubServerTypeEnterprise GitHubServerTypeGitHubDotCom GitHubServerTypeNone
isGitHub
ex
Logger
isGitHub
Logger
_servershostauthority isGitHub
hostUri vscodeUri
method
path
token
vscodeUri RequestInit
headers
authorization
token
headersauthorization
uri vscodeUri HostHelperhostUri HostHelperhostUri path
requestInit
hostname uriauthority
port
method
headers
agent
uri
requestInit RequestInit