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 type { SessionOptions, SweCustomAgent } from '@github/copilot/sdk';
import * as l10n from '@vscode/l10n';
import { promises as fs } from 'fs';
import * as path from 'path';
import type * as vscode from 'vscode';
import { IAuthenticationService } from '../../../../platform/authentication/common/authentication';
import { ConfigKey, IConfigurationService } from '../../../../platform/configuration/common/configurationService';
IEnvService
IVSCodeExtensionContext
ILogService
IPromptsService
IWorkspaceService
createServiceIdentifier
Emitter Event
Lazy
Disposable
ResourceSet
basename
IInstantiationService
ensureNodePtyShim
ensureRipgrepShim
resolveAppModulePathSync
CancellationToken
formatTokenCount getAutoModelDescription getModelCapabilitiesDescription getReasoningEffortDescription normalizeTokenPrices pickDefaultReasoningEffort
id
name
multiplier
priceCategory
inputCost
outputCost
cacheCost
cacheWriteCost
longContextInputCost
longContextOutputCost
longContextCacheCost
longContextCacheWriteCost
defaultContextMax
maxInputTokens
maxOutputTokens
maxContextWindowTokens
supportsVision
supportsReasoningEffort
defaultReasoningEffort
supportedReasoningEfforts
warningText Record
_serviceBrand
modelId
modelId
CopilotCLIModelInfo
lm vscode
model PickCopilotCLIModelInfo modelId
normalizedModelId modelId
modelid normalizedModelId modelname normalizedModelId
ICopilotCLISDK
ICopilotCLIModels
_serviceBrand
_availableModels CopilotCLIModelInfo
_resolvedModelInfos vscodeLanguageModelChatInformation
_onDidChange
copilotCLISDK ICopilotCLISDK
extensionContext IVSCodeExtensionContext
logService ILogService
_authenticationService IAuthenticationService
configurationService IConfigurationService
_authenticationService
_onDidChange
_authenticationServicehasCopilotTokenSource
logService
availableModels _availableModels
availableModelsmodels
_availableModels availableModels
modelslength _resolvedModelInfoslength
_availableModels
_resolvedModelInfos models
_onDidChange
error
logService error
modelId
modelId configurationServiceConfigKeyAdvancedCLIAutoModelEnabled
modelId
models
modelId modelId
modelsm m modelIdid
models
modelslength
defaultModel models
preferredModelId extensionContextglobalState defaultModelid defaultModelid
modelsm m preferredModelIdid defaultModelid
modelId
extensionContextglobalState modelId
CopilotCLIModelInfo
_authenticationServicehasCopilotTokenSource
_availableModels
_availableModels
_availableModels
CopilotCLIModelInfo
getAvailableModels authInfo copilotCLISDK copilotCLISDK
models authInfo
modelsmodel
pricing modelbillingtoken_prices
id modelid
name modelname
multiplier modelbillingmultiplier
priceCategory modelmodel_picker_price_category
inputCost pricingdefaultinputPrice
outputCost pricingdefaultoutputPrice
cacheCost pricingdefaultcachePrice
cacheWriteCost pricingdefaultcacheWritePrice
longContextInputCost pricinglongContextinputPrice
longContextOutputCost pricinglongContextoutputPrice
longContextCacheCost pricinglongContextcachePrice
longContextCacheWriteCost pricinglongContextcacheWritePrice
defaultContextMax pricingdefaultcontextMax
maxInputTokens modelcapabilitieslimitsmax_prompt_tokens
maxOutputTokens modelcapabilitieslimitsmax_output_tokens
maxContextWindowTokens modelcapabilitieslimitsmax_context_window_tokens
supportsVision modelcapabilitiessupportsvision
supportsReasoningEffort modelcapabilitiessupportsreasoningEffort
defaultReasoningEffort modeldefaultReasoningEffort
supportedReasoningEfforts modelsupportedReasoningEfforts
satisfies CopilotCLIModelInfo
ex
logService ex
_availableModels
lm vscode
provider vscodeLanguageModelChatProvider
onDidChangeLanguageModelChatInformation _onDidChangeevent
_options _token
models _resolvedModelInfos
modelslength
models
autoModelEnabled configurationServiceConfigKeyAdvancedCLIAutoModelEnabled
autoModelEnabled
_model _messages _options _progress _token
_model _text _token
lm provider
_onDidChange
models CopilotCLIModelInfo vscodeLanguageModelChatInformation
isReasoningEffortEnabled configurationServiceConfigKeyAdvancedCLIThinkingEffortEnabled
isAutoModelEnabled configurationServiceConfigKeyAdvancedCLIAutoModelEnabled
modelsInfo vscodeLanguageModelChatInformation modelsmodel index
multiplier modelmultiplier
modelInfo vscodeLanguageModelChatInformation
id modelid
name modelname
family modelid
version
maxInputTokens modelmaxInputTokens modelmaxContextWindowTokens
maxOutputTokens modelmaxOutputTokens
pricing multiplier
priceCategory modelpriceCategory
inputCost modelinputCost
outputCost modeloutputCost
cacheCost modelcacheCost
cacheWriteCost modelcacheWriteCost
longContextInputCost modellongContextInputCost
longContextOutputCost modellongContextOutputCost
longContextCacheCost modellongContextCacheCost
longContextCacheWriteCost modellongContextCacheWriteCost
multiplierNumeric modelmultiplier
isUserSelectable
model isReasoningEffortEnabled
capabilities
imageInput modelsupportsVision
toolCalling
targetChatSessionType
warningText modelwarningText
isDefault isAutoModelEnabled index
tooltip modelInfo
modelInfo
tooltip
isAutoModelEnabled
modelsInfomodels
modelsInfo
defaultModel CopilotCLIModelInfo vscodeLanguageModelChatInformation
id
name
tooltip
family defaultModelid
version
maxInputTokens defaultModelmaxInputTokens defaultModelmaxContextWindowTokens
maxOutputTokens defaultModelmaxOutputTokens
isUserSelectable
capabilities
imageInput defaultModelsupportsVision
toolCalling
targetChatSessionType
isDefault
modelInfo CopilotCLIModelInfo isReasoningEffortEnabled configurationSchema vscodeLanguageModelConfigurationSchema
properties Record NonNullablevscodeLanguageModelConfigurationSchema
isReasoningEffortEnabled
effortLevels modelInfosupportedReasoningEfforts
effortLevelslength
defaultEffort modelInfodefaultReasoningEffort effortLevelsmodelInfodefaultReasoningEffort
modelInfodefaultReasoningEffort
effortLevels modelInfoid
properties
type
title l10n
effortLevels
enumItemLabels effortLevelslevel level level
enumDescriptions effortLevelsgetReasoningEffortDescription
defaultEffort
group
defaultContextMax modelInfodefaultContextMax
fullMax modelInfomaxInputTokens modelInfomaxContextWindowTokens
defaultContextMax defaultContextMax fullMax
hasLongContextSurcharge modelInfolongContextInputCost
modelInfolongContextOutputCost
properties
type
title l10n
defaultContextMax fullMax
enumItemLabels defaultContextMax fullMax
enumDescriptions
l10n
l10n
hasLongContextSurcharge defaultContextMax fullMax
group
Objectpropertieslength
configurationSchema properties
agent ReadonlySweCustomAgent
sourceUri
source vscodeChatResourceSource
extensionId
pluginUri
_serviceBrand
onDidChangeAgents Event
agentId SweCustomAgent
CLIAgentInfo
sessionId
ICopilotCLIAgents
_serviceBrand
sessionAgents Record agentId createdDateTime
_agentsPromise CLIAgentInfo
_onDidChangeAgents
onDidChangeAgents Event _onDidChangeAgentsevent
promptsService IPromptsService
extensionContext IVSCodeExtensionContext
logService ILogService
workspaceService IWorkspaceService
promptsService
workspaceService
_agentsPromise
error
logService error
_onDidChangeAgents
sessionId agent
details ObjectsessionAgentslength sessionAgents extensionContextworkspaceState sessionAgents
detailssessionId agentId agent createdDateTime Date
sessionAgents details
sevenDaysAgo Date
key value Objectdetails
valuecreatedDateTime sevenDaysAgo
detailskey
extensionContextworkspaceState details
sessionId
details extensionContextworkspaceState sessionAgents
agentId sessionAgentssessionIdagentId detailssessionIdagentId
agentId
agentId
agentId SweCustomAgent
customAgent promptsServiceCancellationTokenNone
customAgentenabled customAgent agentId customAgenturi
customAgentagent
customAgents
agentId agentId
match customAgentsa aagentname agentId aagentdisplayName agentId
match matchagent
CLIAgentInfo
_agentsPromise
_agentsPromise error
logService error
_agentsPromise
_agentsPromiseinfos infosi agent iagent sourceUri isourceUri source isource extensionId iextensionId pluginUri ipluginUri
CLIAgentInfo
merged
knownAgents
customAgents promptsServiceCancellationTokenNone
hiddenOrInvalidAgentUris
validCustomAgents customAgentscustomAgent
customAgentenabled customAgent
hiddenOrInvalidAgentUriscustomAgenturi
customAgenturipath
hiddenOrInvalidAgentUriscustomAgenturi
customAgent validCustomAgents
knownAgentscustomAgenturi
info customAgent
info
mergedinfoagentname info
merged
customAgent vscodeChatCustomAgent CLIAgentInfo
agentName customAgenturi
headerName customAgentname
name headerName headerName agentName headerName
name
tools customAgenttoolstool tool
model customAgentmodel
agent
name
displayName name
description customAgentdescription
tools toolslength tools
pf promptsServicecustomAgenturi CancellationTokenNone
pfbody
disableModelInvocation customAgentdisableModelInvocation
model model
sourceUri customAgenturi
source customAgentsource
extensionId customAgentextensionId
pluginUri customAgentpluginUri
agent SweCustomAgent SweCustomAgent
agent
tools agenttools agenttools agenttools
filePath
nameFromFile filePath
lowerName nameFromFile
indexOfAgentMd lowerName
indexOfAgentMd
nameFromFile indexOfAgentMd
indexOfChatmodeMd lowerName
indexOfChatmodeMd
nameFromFile indexOfChatmodeMd
nameFromFile
_serviceBrand
NonNullableSessionOptions
sdkRequestId RequestDetails
details requestId toolIdEditMap Record createdDateTime
_serviceBrand
requestMap Record RequestDetails
_ensureShimsPromise
_initializeLogger
extensionContext IVSCodeExtensionContext
envService IEnvService
logService ILogService
instantiationService IInstantiationService
authentService IAuthenticationService
configurationService IConfigurationService
requestMap extensionContextworkspaceState
_ensureShimsPromise
_initializeLoggervalueerror
logService error
sdkRequestId RequestDetails
requestMapsdkRequestIddetails
_ensureShimsPromise
processenv envServiceappRoot
processplatform
flags processenv f fBoolean
flags
processenv flags
error
logService
error
logger
logger
level message
level
logService
logService
logService
logService
successfulPlaceholder pathextensionContextextensionPath
successfulPlaceholder
extensionContextextensionPath envServiceappRoot logService
extensionContextextensionPath envServiceappRoot logService
fssuccessfulPlaceholder
NonNullableSessionOptions
overrideProxyUrl configurationServiceConfigKeySharedDebugOverrideProxyUrl
overrideProxyUrl
authTypeInspect configurationServiceConfigKeySharedDebugOverrideAuthType
authType authTypeInspectglobalValue
logService
copilotUser
endpoints
api overrideProxyUrl
proxy overrideProxyUrl
authType
type token host copilotUser
type hmac host copilotUser
resolveAuthInfoFromToken
copilotToken authentService silent
userInfo copilotToken copilotTokenaccessToken
userInfo
type
token copilotTokenaccessToken
host
userInfo
workspaceService IWorkspaceService
workspaceServicelength
filePath
stat fsfilePath
stat
error
customization sessionTypes
sessionTypes customizationsessionTypes
sessionTypes sessionTypes
contextSize modelInfo CopilotCLIModelInfo
modelInfodefaultContextMax
contextSize
fullMax modelInfomaxInputTokens modelInfomaxContextWindowTokens
hasLongContextSurcharge modelInfolongContextInputCost
modelInfolongContextOutputCost
modelInfodefaultContextMax fullMax hasLongContextSurcharge
contextSize modelInfodefaultContextMax