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 { VSBuffer } from '../../../../base/common/buffer.js';
import { untildify } from '../../../../base/common/labels.js';
import { Disposable } from '../../../../base/common/lifecycle.js';
import { FileAccess, Schemas } from '../../../../base/common/network.js';
import { dirname, posix, win32 } from '../../../../base/common/path.js';
import { OperatingSystem, OS } from '../../../../base/common/platform.js';
import { arch } from '../../../../base/common/process.js'
generateUuid
localize
ConfigurationTarget ConfigurationTargetToString
IEnvironmentService
IFileService
createDecorator
ILogService
IMcpResourceScannerService McpResourceTarget
IRemoteAgentEnvironment
IRemoteAgentService
IMcpSandboxConfiguration
IMcpPotentialSandboxBlock McpServerDefinition McpServerLaunch McpServerTransportStdio McpServerTransportType
IMcpSandboxService
_serviceBrand
serverDef McpServerDefinition launch McpServerLaunch remoteAuthority configTarget ConfigurationTarget McpServerLaunch
serverDef McpServerDefinition serverLabel
serverLabel potentialBlocks IMcpPotentialSandboxBlock existingSandboxConfig IMcpSandboxConfiguration SandboxConfigSuggestionResult
serverDef McpServerDefinition mcpResource configTarget ConfigurationTarget potentialBlocks IMcpPotentialSandboxBlock suggestedSandboxConfig IMcpSandboxConfiguration
allowWrite
allowedDomains
message
sandboxConfig IMcpSandboxConfiguration
execPath
srtPath
rgPath
sandboxConfigPath
tempDir
resource os OperatingSystem
value resourcescheme Schemasfile resourceauthority resourcepath
os OperatingSystemWindows
value
value value
value value
value
cwd defaultCwd userHome os OperatingSystem
targetDefaultCwd defaultCwd defaultCwd os
cwd
targetDefaultCwd
targetUserHome userHome userHome os
expandedCwd targetUserHome cwd targetUserHome cwd
path os OperatingSystemWindows win32 posix
base targetDefaultCwd targetUserHome
base pathexpandedCwd pathbase expandedCwd expandedCwd
_serviceBrand
_sandboxSettingsId
_remoteEnvDetailsPromise IRemoteAgentEnvironment
_defaultAllowedDomains
_defaultAllowWritePaths
_sandboxConfigPerConfigurationTarget Map
_fileService IFileService
_environmentService IEnvironmentService
_logService ILogService
_mcpResourceScannerService IMcpResourceScannerService
_remoteAgentService IRemoteAgentService
_sandboxSettingsId
_remoteEnvDetailsPromise _remoteAgentService
serverDef McpServerDefinition remoteAuthority
os remoteAuthority
os OperatingSystemWindows
serverDefsandboxEnabled
serverDef McpServerDefinition launch McpServerLaunch remoteAuthority configTarget ConfigurationTarget McpServerLaunch
launchtype McpServerTransportTypeStdio
launch
serverDef remoteAuthority
_logService
launchCwd
launchcwd
serverDefdefaultCwd
remoteAuthority
remoteAuthority
launchDetails configTarget remoteAuthority launchsandbox launchCwd
quotedCommand launchcommand
quotedArgs launchargsarg arg
sandboxArgs quotedCommand quotedArgs launchDetailssandboxConfigPath
sandboxEnv launchenv launchDetailstempDir launchDetailsrgPath remoteAuthority
launchDetailssrtPath
launchDetailsexecPath
launch
command launchDetailsexecPath
args launchDetailssrtPath sandboxArgs
env sandboxEnv
type McpServerTransportTypeStdio
launch
command launchDetailssrtPath
args sandboxArgs
env sandboxEnv
type McpServerTransportTypeStdio
launchDetailsexecPath
_logService
_logService
launch
serverLabel potentialBlocks IMcpPotentialSandboxBlock existingSandboxConfig IMcpSandboxConfiguration SandboxConfigSuggestionResult
suggestions potentialBlocks existingSandboxConfig
suggestions
allowWriteList suggestionsallowWrite
allowedDomainsList suggestionsallowedDomains
suggestionLines
allowedDomainsListlength
shown allowedDomainsListdomain
suggestionLines shown
allowWriteListlength
shown allowWriteListpath
suggestionLines shown
sandboxConfig IMcpSandboxConfiguration
allowedDomainsListlength
sandboxConfignetwork allowedDomains allowedDomainsList
allowWriteListlength
sandboxConfigfilesystem allowWrite allowWriteList
message
serverLabel
suggestionLines
sandboxConfig
serverDef McpServerDefinition mcpResource configTarget ConfigurationTarget potentialBlocks IMcpPotentialSandboxBlock suggestedSandboxConfig IMcpSandboxConfiguration
scanTarget configTarget
didChange
_mcpResourceScannerServicedata
existingSandbox datasandbox
suggestedAllowedDomains suggestedSandboxConfignetworkallowedDomains
suggestedAllowWrite suggestedSandboxConfigfilesystemallowWrite
currentAllowedDomains existingSandboxnetworkallowedDomains
domain suggestedAllowedDomains
domain currentAllowedDomainsdomain
currentAllowedDomainsdomain
currentAllowWrite existingSandboxfilesystemallowWrite
path suggestedAllowWrite
path currentAllowWritepath
currentAllowWritepath
suggestedAllowedDomainslength suggestedAllowWritelength
data
didChange
nextSandboxConfig IMcpSandboxConfiguration
currentAllowedDomainssize
nextSandboxConfignetwork
existingSandboxnetwork
allowedDomains currentAllowedDomains
currentAllowWritesize
nextSandboxConfigfilesystem
existingSandboxfilesystem
allowWrite currentAllowWrite
data
sandbox nextSandboxConfig
mcpResource scanTarget
didChange
potentialBlocks IMcpPotentialSandboxBlock existingSandboxConfig IMcpSandboxConfiguration SandboxConfigSuggestions
potentialBlockslength
allowWrite
allowedDomains
existingAllowWrite existingSandboxConfigfilesystemallowWrite
existingAllowedDomains existingSandboxConfignetworkallowedDomains
block potentialBlocks
blockkind blockhost existingAllowedDomainsblockhost
allowedDomainsblockhost
blockkind blockpath existingAllowWriteblockpath
allowWriteblockpath
allowWritesize allowedDomainssize
allowWrite allowWrite
allowedDomains allowedDomains
configTarget ConfigurationTarget McpResourceTarget
configTarget
ConfigurationTarget
ConfigurationTarget
ConfigurationTarget
ConfigurationTarget
ConfigurationTarget
ConfigurationTarget
ConfigurationTarget
ConfigurationTarget
ConfigurationTarget
configTarget ConfigurationTarget remoteAuthority sandboxConfig IMcpSandboxConfiguration launchCwd SandboxLaunchDetails
os remoteAuthority
os OperatingSystemWindows
execPath srtPath rgPath sandboxConfigPath tempDir
appRoot remoteAuthority
execPath os appRoot remoteAuthority
tempDir remoteAuthority
srtPath os appRoot
rgPlatform os OperatingSystemMacintosh
rgPath os appRoot
sandboxConfigPath tempDir tempDir configTarget sandboxConfig launchCwd
_logService
execPath srtPath rgPath sandboxConfigPath tempDir
os OperatingSystem appRoot remoteAuthority
remoteAuthority
os appRoot
baseEnv McpServerTransportStdio tempDir rgPath remoteAuthority McpServerTransportStdio
env McpServerTransportStdio baseEnv
tempDir
env env tempDirpath
rgPath
env env env rgPath
remoteAuthority
env env
env
env
command args sandboxConfigPath
result
sandboxConfigPath
result sandboxConfigPath
result
resultcommand args
result
remoteAuthority IRemoteAgentEnvironment
remoteAuthority
_remoteEnvDetailsPromise
remoteAuthority
remoteEnv remoteAuthority
remoteEnv
remoteEnvuserHome
nativeEnv _environmentService IEnvironmentService userHome
nativeEnvuserHome
remoteAuthority OperatingSystem
remoteEnv remoteAuthority
remoteEnv
remoteEnvos
remoteAuthority
remoteEnv remoteAuthority
remoteEnv
remoteEnvappRootpath
FileAccesspath
remoteAuthority
remoteEnv remoteAuthority
remoteEnv
remoteEnvtmpDir
environmentService _environmentService IEnvironmentService tmpDir
tempDir environmentServicetmpDir
tempDir
_logService
tempDir
tempDir configTarget ConfigurationTarget sandboxConfig IMcpSandboxConfiguration launchCwd
normalizedSandboxConfig sandboxConfig launchCwd
configFileUri
configTargetKey configTarget
_sandboxConfigPerConfigurationTargetconfigTargetKey
configFileUri _sandboxConfigPerConfigurationTargetconfigTargetKey
configFileUri tempDir
_sandboxConfigPerConfigurationTargetconfigTargetKey configFileUri
_fileServiceconfigFileUri VSBuffernormalizedSandboxConfig overwrite
configFileUripath
sandboxConfig IMcpSandboxConfiguration launchCwd IMcpSandboxConfiguration
mergedAllowWrite sandboxConfigfilesystemallowWrite
defaultAllowWrite launchCwd launchCwd
defaultAllowWrite
mergedAllowWritedefaultAllowWrite
mergedAllowedDomains sandboxConfignetworkallowedDomains
defaultAllowedDomain _defaultAllowedDomains
defaultAllowedDomain
mergedAllowedDomainsdefaultAllowedDomain
sandboxConfig
network
allowedDomains mergedAllowedDomains
deniedDomains sandboxConfignetworkdeniedDomains
filesystem
allowWrite mergedAllowWrite
denyRead sandboxConfigfilesystemdenyRead
denyWrite sandboxConfigfilesystemdenyWrite
directories
launchCwd directories
trimmed launchCwd
trimmed
_defaultAllowWritePathstrimmed
_defaultAllowWritePaths
os OperatingSystem segments
path os OperatingSystemWindows win32 posix
pathsegments
remoteAuthority
os remoteAuthority
os OperatingSystemWindows win32delimiter posixdelimiter
value