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 { internal, LocalSessionMetadata, SessionContext, SessionEvent, SessionOptions, SweCustomAgent } from '@github/copilot/sdk';
import * as l10n from '@vscode/l10n';
import { createReadStream } from 'node:fs';
import { devNull } from 'node:os';
import { createInterface } from 'node:readline';
import type { ChatCustomAgent, ChatRequest, ChatSessionItem } from 'vscode';
import { IChatDebugFileLoggerService
ModelDetailsInfo
ConfigKey IConfigurationService
IVSCodeExtensionContext
IFileSystemService
FileType
ILogService
deriveCopilotCliOTelEnv
IOTelService
IPromptsService
IExperimentationService
IWorkspaceService
createServiceIdentifier
coalesce
disposableTimeout Limiter raceCancellation raceCancellationError SequencerByKey
CancellationToken
Emitter Event
Lazy
Disposable DisposableMap IDisposable IReference RefCountedDisposable toDisposable
dirname joinPath
generateUuid
IInstantiationService
ChatRequestTurn2 ChatResponseTurn2 ChatSessionStatus Uri
IPromptVariablesService
IAgentSessionsWorkspace
IChatSessionMetadataStore RequestDetails StoredModeInstructions
IChatSessionWorkspaceFolderService
IChatSessionWorktreeService
isUntitledSessionId
emptyWorkspaceInfo getWorkingDirectory IWorkspaceInfo
buildChatHistoryFromEvents RequestIdDetails stripReminders
ICustomSessionTitleService
IChatDelegationSummaryService
LocalSession Session SessionIdForCLI
getCopilotCLISessionDir
getAgentFileNameFromFilePath ICopilotCLIAgents ICopilotCLIModels ICopilotCLISDK isEnabledForCopilotCLI
CopilotCliBridgeSpanProcessor
CopilotCLISession ICopilotCLISession
ICopilotCLISkills
ICopilotCLIMCPHandler McpServerMappings remapCustomAgentTools
AwaitedReturnTypeICopilotCLISDK
id
label
timing ChatSessionItem
status ChatSessionStatus
workingDirectory Uri
ChatRequest prompt
model
reasoningEffort
contextTier
workspace IWorkspaceInfo
agent SweCustomAgent
debugTargetSessionIds
mcpServerMappings McpServerMappings
additionalWorkspaces IWorkspaceInfo
sessionParentId
ISessionOptions sessionId
ISessionOptions sessionId
_serviceBrand
onDidChangeSessions Event
onDidDeleteSession Event
onDidChangeSession EventICopilotCLISessionItem
onDidCreateSession EventICopilotCLISessionItem
sessionId Uri
sessionId token CancellationToken ICopilotCLISessionItem
sessionId token CancellationToken
token CancellationToken ICopilotCLISessionItem
sessionId
sessionId
sessionId title
sessionId title
options IGetSessionOptions token CancellationToken IReferenceICopilotCLISession
options ICreateSessionOptions token CancellationToken IReferenceICopilotCLISession
options sessionId workspace IWorkspaceInfo token CancellationToken ChatRequestTurn2 ChatResponseTurn2
options sessionId requestId workspace IWorkspaceInfo token CancellationToken
sessionId ChatRequestTurn2 ChatResponseTurn2
ICopilotCLISessionService
_serviceBrand
_sessionManager LazyinternalLocalSessionManager
_sessionWrappers
_partialSessionHistories
_onDidChangeSessions
onDidChangeSessions _onDidChangeSessionsevent
_onDidDeleteSession
onDidDeleteSession _onDidDeleteSessionevent
_onDidChangeSession
onDidChangeSession _onDidChangeSessionevent
_onDidCreateSession
onDidCreateSession _onDidCreateSessionevent
_onDidCloseSession
sessionMutexForGetSession
_sessionTracker CopilotCLISessionWorkspaceTracker
_sessionWorkingDirectories
_cachedSessionItems
_newSessionIds
_vscodeOriginSessionIds
_bridgeProcessor CopilotCliBridgeSpanProcessor
_bridgeInstalled
_customAgentLookupChanged
_customAgentLookupRebuild
_customAgentLookup
logService ILogService
copilotCLISDK ICopilotCLISDK
instantiationService IInstantiationService
fileSystem IFileSystemService
mcpHandler ICopilotCLIMCPHandler
agents ICopilotCLIAgents
workspaceService IWorkspaceService
customSessionTitleService ICustomSessionTitleService
configurationService IConfigurationService
copilotCLISkills ICopilotCLISkills
_delegationSummaryService IChatDelegationSummaryService
_chatSessionMetadataStore IChatSessionMetadataStore
_agentSessionsWorkspace IAgentSessionsWorkspace
workspaceFolderService IChatSessionWorkspaceFolderService
worktreeManager IChatSessionWorktreeService
_otelService IOTelService
_promptVariablesService IPromptVariablesService
_debugFileLogger IChatDebugFileLoggerService
_promptsService IPromptsService
_copilotCLIModels ICopilotCLIModels
_experimentationService IExperimentationService
_vscodeExtensionContext IVSCodeExtensionContext
_promptsService
_customAgentLookupChanged
_cachedSessionItemssize
_sessionManager
sdkPackage
internal createLocalFeatureFlagServiceCreator sdkPackage
_otelServiceconfigenabledExplicitly
otelEnv _otelServiceconfig
key value ObjectotelEnv
processenvkey value
processenv _otelServiceconfigcaptureContent
processenv devNull
processenv
processenv
createFeatureFlagService
telemetryService
autoModeManager
flushDebounceMs settings version
error
logService
error
_sessionTracker instantiationServiceCopilotCLISessionWorkspaceTracker
SDKPackage
copilotCLISDK
_otelEnvSnapshotted
_otelEnvSnapshotted
_otelEnvSnapshotted
keys
originals
key keys
originalskey processenvkey
key value originals
value
processenvkey
processenvkey value
sessionId Uri
_sessionWorkingDirectoriessessionId
sessionId
_newSessionIdssessionId
sessionId
sessionId
_newSessionIdssessionId
_sessionManagervalue
_sessionChangeNotifierByKey
sessionId reason
_sessionChangeNotifierByKeysessionId
reason
resolve resolve _store
_isGettingSessions
sessionItem sessionId reason CancellationTokenNone
sessionItem
_onDidChangeSessionsessionItem
error
logService
sessionId token CancellationToken ICopilotCLISessionItem
sessionId token
sessionId source token CancellationToken ICopilotCLISessionItem
sessionId
wrappedSession _sessionWrapperssessionId
wrappedSession source wrappedSessionobjectstatus ChatSessionStatusInProgress
item wrappedSession token
item
item
sessionManager token
metadata sessionManager sessionManager sessionId token
metadata tokenisCancellationRequested
metadataclientName
_sessionTracker
metadata token
sessionId token CancellationToken
sessionManager
metadata sessionManager sessionId
sessionId metadata token
sessionId metadata LocalSessionMetadata token CancellationToken
explicitTitle
_sessionWrapperssessionIdobjecttitle
metadataname
customSessionTitleServicesessionId
explicitTitle
explicitTitle
cached _sessionLabelssessionId
cached
cached
summarizedTitle metadatasummary
summarizedTitle summarizedTitle summarizedTitle
summarizedTitle
firstUserMessage sessionId token
fromHistory firstUserMessage
fromHistory
_sessionLabelssessionId fromHistory
fromHistory
metadatasummary
_getAllSessionsProgress ICopilotCLISessionItem
_isGettingSessions
token CancellationToken ICopilotCLISessionItem
_getAllSessionsProgress
_getAllSessionsProgress token
_getAllSessionsProgress
_getAllSessionsProgress
_sessionLabels Map
globalStorageUri _vscodeExtensionContextglobalStorageUri
globalStorageUri
userDataPath globalStorageUri
userDataPath
dataDir ReadonlySet
dataDir
entries fileSystemdataDir
entries
type type FileTypeDirectory
name name
error
logService
token CancellationToken ICopilotCLISessionItem
_isGettingSessions
sessionManager token
sessionMetadataList sessionManager token
_sessionTracker
agentHostDataDir
sessionsWithoutAgentHostClientName sessionMetadataListmetadata metadataclientName
agentHostOwnedSessionIds sessionsWithoutAgentHostClientNamelength
agentHostDataDir
limiter
diskSessions ICopilotCLISessionItem
sessionMetadataListmetadata limiter ICopilotCLISessionItem
sanitizedSessionId metadatasessionId
metadataclientName agentHostOwnedSessionIdssanitizedSessionId
workingDirectory metadatacontextcwd metadatacontextcwd
_sessionWorkingDirectoriesmetadatasessionId workingDirectory
metadatasessionId metadatacontext
id metadatasessionId
startTime metadatastartTime
endTime metadatamodifiedTime
resolvedTitle metadatasessionId metadata token
label resolvedTitle
_sessionWrappersmetadatasessionId
metadatacontextcwdBoolean l10n
label
id
label
timing created startTime startTime endTime
workingDirectory
diskSessionIds diskSessionss sid
newSessions _sessionWrappers
session diskSessionIdssessionobjectsessionId
session sessionobjectstatus ChatSessionStatusInProgress
session ICopilotCLISessionItem
sessionobjectsessionId
label sessionobjecttitle customSessionTitleServicesessionobjectsessionId sessionobjectpendingPrompt
label
createTime Date
id sessionobjectsessionId
label
status sessionobjectstatus
timing created createTime startTime createTime
allSessions diskSessions
session ICopilotCLISessionItem
session
status _sessionWrapperssessionidobjectstatus
newSessions
allSessionssession _cachedSessionItemssessionid session
allSessions
error
logService
error
_isGettingSessions
metadata LocalSessionMetadata token CancellationToken ICopilotCLISessionItem
sessionItem metadata token
sessionItem
_cachedSessionItemsmetadatasessionId sessionItem
sessionItem
session RefCountedSession token CancellationToken ICopilotCLISessionItem
label sessionobjectsessionId token _cachedSessionItemssessionobjectsessionIdlabel sessionobjectpendingPrompt
createTime Date
id sessionobjectsessionId
label
status sessionobjectstatus
timing _cachedSessionItemssessionobjectsessionIdtiming created createTime startTime createTime
metadata LocalSessionMetadata token CancellationToken ICopilotCLISessionItem
workingDirectory metadatacontextcwd metadatacontextcwd
_sessionWorkingDirectoriesmetadatasessionId workingDirectory
shouldShowSession metadatasessionId metadatacontext
shouldShowSession
id metadatasessionId
startTime metadatastartTime
endTime metadatamodifiedTime
label metadatasessionId metadata token metadatasummary
label
id
label
timing created startTime startTime endTime
workingDirectory
status _sessionWrappersidobjectstatus
options ICreateSessionOptions token CancellationToken RefCountedSession
resource optionssessionId SessionIdForCLIoptionssessionId scheme path
mcpConfig mcpServers disposable mcpGateway mcpHandlerresource
sessionOptions options mcpServers
sessionManager token
sdkSession sessionManager sessionOptions sessionId optionssessionId
wasNewSession _newSessionIdssdkSessionsessionId
promises
wasNewSession
promisescustomSessionTitleServicesdkSessionsessionIdstagedTitle
stagedTitle
sdkSessionstagedTitle
promisessessionManagersdkSessionsessionId
promises
sessionOptionscopilotUrl
authTypeInspect configurationServiceConfigKeySharedDebugOverrideAuthType
authType authTypeInspectglobalValue
copilotUser endpoints api sessionOptionscopilotUrl
host
authInfo authType
type token host copilotUser
type hmac host copilotUser
sdkSession authInfo
logService
session sdkSession optionsworkspace optionsagentname sessionManager sessionOptionssandboxConfig
sessionobjectmcpGateway
_vscodeOriginSessionIdssessionobjectsessionId
_chatSessionMetadataStoresessionobjectsessionId
optionssessionParentId
_chatSessionMetadataStoresessionobjectsessionId optionssessionParentId
session
error
mcpGateway
error
_bridgeInstalled
_bridgeInstalled
api
globalProvider apitrace
delegate globalProvider Record _delegate globalProvider
delegate Record __copilotChatOwnProvider
logService
activeProcessor delegate Record _activeSpanProcessor Record
processorArray activeProcessor_spanProcessors
processorArray
_bridgeProcessor _otelService
processorArray_bridgeProcessor
logService
logService
err
logService
sessionId
sessionId _vscodeOriginSessionIdssessionId
_chatSessionMetadataStoresessionId
sessionId context SessionContext
sessionId
sessionId
workspaceServicelength
_agentSessionsWorkspaceisAgentSessionsWorkspace
sessionTrackerVisibility _sessionTrackersessionId
sessionTrackerVisibilityisWorkspaceSession
context
contextcwd workspaceServicecontextcwd
contextgitRoot workspaceServicecontextgitRoot
workspaceFolder workspaceFolderServicesessionId
workspaceFolder workspaceServiceworkspaceFolder
worktree worktreeManagersessionId
worktree workspaceServiceworktreerepositoryPath
sessionTrackerVisibilityisOldGlobalSession workspaceFolder worktree workspaceServicelength _agentSessionsWorkspaceisAgentSessionsWorkspace
options ICreateSessionOptions mcpServers SessionOptions ReadonlySessionOptions
agentInfos skillLocations
agents
copilotCLISkillsCancellationTokenNone
customAgents agentInfosi iagent
variablesContext _promptVariablesServiceoptionssessionId optionsdebugTargetSessionIds
systemMessage NonNullableSessionOptions
mode
sections
identity
action
content
variablesContext
systemMessagecontent variablesContext
allOptions SessionOptions
clientName
integrationId
workingDirectory optionsworkspace
workingDirectory
allOptionsworkingDirectory workingDirectoryfsPath
optionsmodel
allOptionsmodel optionsmodel SessionOptions
optionsmcpServers ObjectoptionsmcpServerslength
allOptionsmcpServers optionsmcpServers
skillLocationslength
allOptionsskillDirectories skillLocationsuri urifsPath
optionsmcpServerMappingssize customAgents optionsmcpServers
customAgents optionsmcpServerMappings optionsmcpServers optionsagent
optionsagent
allOptionsselectedCustomAgent optionsagent
customAgentslength
allOptionscustomAgents customAgents
allOptionsenableStreaming
copilotUrl configurationServiceConfigKeySharedDebugOverrideProxyUrl
copilotUrl
allOptionscopilotUrl copilotUrl
allOptionssystemMessage systemMessage
allOptionssessionCapabilities
optionsreasoningEffort configurationServiceConfigKeyAdvancedCLIThinkingEffortEnabled
allOptionsreasoningEffort optionsreasoningEffort
optionscontextTier
allOptionscontextTier optionscontextTier
sandboxConfig
sandboxConfig
allOptionssandboxConfig sandboxConfig
allOptions ReadonlySessionOptions
SessionOptions
sandboxSetting configurationServiceConfigKeyAdvancedCLISandboxEnabled _experimentationService
sandboxSetting
rawFileSystemSetting configurationService
fileSystemSetting rawFileSystemSetting rawFileSystemSetting
rawFileSystemSetting IAgentSandboxFileSystemSettings
allowedHosts configurationService
blockedHosts configurationService
processplatform sandboxSetting fileSystemSetting allowedHosts blockedHosts
options IGetSessionOptions token CancellationToken RefCountedSession
lock sessionMutexForGetSessionoptionssessionId
sessionMutexForGetSessionoptionssessionId lock
lockDisposable locktoken
session _sessionWrappersoptionssessionId
session
logService
_partialSessionHistoriesoptionssessionId
session
optionsagent
sessionobjectsdkSessionoptionsagentname
sessionobjectsdkSession
session
sessionManager mcpConfig mcpServers disposable mcpGateway
token
mcpHandlerSessionIdForCLIoptionssessionId
sessionOptions options mcpServers
sdkSession sessionManager sessionOptions sessionId optionssessionId
sdkSession
logService
sessionManagersdkSessionsessionId
session sdkSession optionsworkspace optionsagentname sessionManager sessionOptionssandboxConfig
sessionobjectmcpGateway
session
error
mcpGateway
error
lockDisposable
sessionId workspace sessionId workspace IWorkspaceInfo token CancellationToken ChatRequestTurn2 ChatResponseTurn2
history sessionId workspace token
history
sessionId workspace sessionId workspace IWorkspaceInfo token CancellationToken history ChatRequestTurn2 ChatResponseTurn2 events SessionEvent
requestDetailsPromise _chatSessionMetadataStoresessionId
agentIdPromise _chatSessionMetadataStoresessionId
sessionManager token
sessionManager tokenisCancellationRequested
requestDetailsPromiseerror
agentIdPromiseerror
history events
events SessionEvent
modelId
existingSession _sessionWrapperssessionIdobjectsdkSession
existingSession
modelId existingSession
events existingSession
shutdown
session sessionManager sessionId
session
history events
modelId session
events session
shutdown sessionManagersessionIderror
logService
error
logService
history events
shutdown
agentId storedDetails agentIdPromise requestDetailsPromise
legacyMappings RequestDetails
detailsByCopilotId
defaultModeInstructions agentId agentId
d storedDetails
dcopilotRequestId
modeInstructions defaultModeInstructions
detailsByCopilotIddcopilotRequestId requestId dvscodeRequestId toolIdEditMap dtoolIdEditMap modeInstructions responseModelId dresponseModelId creditsUsed dcreditsUsed isUsingAutoModel disUsingAutoModel
sdkRequestId
stored detailsByCopilotIdsdkRequestId
stored
stored
mapping copilotCLISDKsdkRequestId
mapping
detailsByCopilotIdsdkRequestId mapping
legacyMappings
copilotRequestId sdkRequestId
vscodeRequestId mappingrequestId
toolIdEditMap mappingtoolIdEditMap
mapping
modelDetailsById configurationServiceConfigKeyAdvancedCLIModelDetailsEnabled
history sessionId modelId events getVSCodeRequestId _delegationSummaryService logService workspace defaultModeInstructions modelDetailsById
legacyMappingslength
_chatSessionMetadataStoresessionId legacyMappingserror
logService error
history events
_customAgentLookupChanged _customAgentLookupsize
_customAgentLookupRebuild
_customAgentLookupRebuild
_customAgentLookupRebuild
_customAgentLookupChanged
agents _promptsServiceCancellationTokenNone
agent agents
agentenabled agent
keys
agentname
agenturi
agenturi
lazyContent _promptsServiceagenturi CancellationTokenNoneparsed parsedbody
key keys
_customAgentLookupkey agent lazyContent
error
_customAgentLookupChanged
error
_customAgentLookupRebuild
_customAgentLookupRebuild
agentId StoredModeInstructions
agentId
agentEntry _customAgentLookupagentId
agentEntry _customAgentLookupChanged
agentEntry _customAgentLookupagentId
agentEntry
agent lazyContent agentEntry
uri agenturi
name agentname agentId
content lazyContentvalue
ReadonlyMap ModelDetailsInfo
models _copilotCLIModelsex
logServiceex
detailsById
model models
detailsByIdmodelid name modelname multiplier modelmultiplier
detailsById
sessionId requestId workspace sessionId requestId workspace IWorkspaceInfo token CancellationToken
sessionManager title history events originalSessionEvents
token
sessionId token
requestId sessionId workspace token history events
toEventId
requestId
requestToTruncateTo historyevent event eventid requestId
requestToTruncateTo
storedDetails _chatSessionMetadataStoresessionId
translatedSDKEvent storedDetailsd dvscodeRequestId requestToTruncateToid dcopilotRequestId requestToTruncateToidcopilotRequestId
sdkEvent originalSessionEventse etype eid requestToTruncateToidid
toEventId translatedSDKEvent sdkEvent
toEventId
logService
logService
sessionId newSessionId sessionManagersessionId toEventId
forkedTitlePrefix l10n
customTitle titleforkedTitlePrefix title l10n title
_vscodeOriginSessionIdsnewSessionId
_chatSessionMetadataStoresessionId newSessionId customTitle
_onDidChangeSessions
_onDidCreateSession
id newSessionId
label customTitle
timing created Date startTime Date
workingDirectory workspace
newSessionId
sessionId ChatRequestTurn2 ChatResponseTurn2
cached _partialSessionHistoriessessionId
cached
cached
events sessionId
sessionStartEvent eventsevent event ExtractSessionEvent type eventtype
workingDirectory sessionStartEventdatacontextcwd
workingDirectory
_sessionWorkingDirectoriessessionId workingDirectory
history sessionId events _delegationSummaryService logService workingDirectory workingDirectory
_partialSessionHistoriessessionId history
history
error
logService
sessionId token CancellationToken
cached _chatSessionMetadataStoresessionId
cached
cached
firstUserMessage
eventsFileUnreadable
events sessionId token
eventslength
firstUserMessage eventsmsg SessionEvent msgtype datacontent
error
eventsFileUnreadable
logService
tokenisCancellationRequested
firstUserMessage
firstUserMessage eventsFileUnreadable
events sessionId workspace token
firstUserMessage eventsmsg SessionEvent msgtype datacontent
error
logService
_chatSessionMetadataStoresessionId firstUserMessage err
logService
firstUserMessage
sdkSession Session workspaceInfo IWorkspaceInfo agentName sessionManager internalLocalSessionManager sandboxConfig SessionOptions RefCountedSession
sdkSessionpermissions required
session instantiationServiceCopilotCLISession workspaceInfo agentName sdkSession sandboxConfig
_debugFileLoggersessionsessionIderr
logService err
session
_debugFileLoggersessionsessionIderr
logService err
session_bridgeProcessor
otelLifecycle sessionManagerotel
otelLifecycle
sessiontraceparent tracestate
otelLifecyclesdkSessionsessionId traceparent tracestate
sessionsession
sdkSessionsessionId
_onDidChangeSessions
session
_sessionWrapperssdkSessionsessionId
sessionMutexForGetSessionsdkSessionsessionId
sdkSession
sdkSessionerror
logService
sessionManagersdkSessionsessionIderror
logService
_onDidCloseSessionsdkSessionsessionId
refCountedSession session
_sessionWrapperssdkSessionsessionId refCountedSession
refCountedSession
sessionId
_sessionLabelssessionId
_partialSessionHistoriessessionId
_sessionWorkingDirectoriessessionId
_vscodeOriginSessionIdssessionId
session _sessionWrapperssessionId
session
session
logService
sessionManager
sessionManagersessionId
error
logService
_sessionWrapperssessionId
_onDidChangeSessions
_onDidDeleteSessionsessionId
sessionId title sdkSession LocalSession
sessionManager internalLocalSessionManager
shouldCloseSession
sdkSession _sessionWrapperssessionIdobjectsdkSession LocalSession
sessionManager
session sessionManager sessionId LocalSession
shouldCloseSession session
session
sdkSession
customSessionTitleServicesessionId title
sdkSession
shouldCloseSession sessionManager
sessionManagersessionIderror
logService
sessionId title
sessionId title sdkSession sdkSessiontitle
_sessionLabelssessionId
_onDidChangeSessions
sessionId title
sessionId title sdkSession sdkSessiontitle
_sessionLabelssessionId
_onDidChangeSessions
sessionId findFirstEventType SessionEvent
sessionDirPath sessionId
sessionDir sessionDirPath
eventsFile sessionDir
events SessionEvent
stream eventsFilefsPath encoding
reader
input stream
crlfDelay
line reader
linelength
sessionEvent line SessionEvent
eventssessionEvent
findFirstEventType sessionEventtype findFirstEventType
reader
stream
events
_initializeSessionStorageFiles Lazy global Uri workspace Uri
_oldGlobalSessions Set
_workspaceSessions
fileSystem IFileSystemService
context IVSCodeExtensionContext
workspaceService IWorkspaceService
_initializeSessionStorageFiles
globalFile contextglobalStorageUri
workspaceFile contextglobalStorageUri
workspaceServicelength
workspaceFileName contextworkspaceState
workspaceFileName
workspaceFileName
contextworkspaceState workspaceFileName
workspaceFile contextglobalStorageUri workspaceFileName
oldSessions fileSystemglobalFilec c
oldSessions
_oldGlobalSessions oldSessions
workspaceSessions workspaceServicelength
fileSystemworkspaceFilec c
workspaceSessionss _workspaceSessionss
global globalFile workspace workspaceFile
_initializeSessionStorageFilesvalue
_initializeSessionStorageFilesvalue
sessionId isOldGlobalSession isWorkspaceSession
isOldGlobalSession _oldGlobalSessionssessionId
isWorkspaceSession _workspaceSessionssessionId
prompt
prompt
_locked
_acquireQueue
_locked
token CancellationToken IDisposable
resolve
tokenisCancellationRequested
_locked
_locked
_acquireQueuetryAcquire
token
_locked
_locked
next _acquireQueue
next
object CopilotCLISession
object
allowRead
allowWrite
denyRead
denyWrite
linux IAgentSandboxFileSystemSetting
mac IAgentSandboxFileSystemSetting
windows IAgentSandboxFileSystemSetting
platform NodeJSPlatform
sandboxSetting
fileSystemSetting IAgentSandboxFileSystemSettings
networkHosts allowedHosts blockedHosts
SessionOptions
sandboxEnabled sandboxSetting sandboxSetting
sandboxEnabled
platform
fs platform
fileSystemSettingwindows
platform
fileSystemSettingmac
fileSystemSettinglinux
denied fsdenyRead
readwrite
p fsdenyWrite
deniedp
p
p fsallowWrite
deniedp p
readwritep
p fsallowRead
deniedp p readwritep
p
allowAllNetwork sandboxSetting
hostListsEnforceable
allowedHosts allowAllNetwork hostListsEnforceable networkHostsallowedHostslength networkHostsallowedHosts
blockedHosts allowAllNetwork hostListsEnforceable networkHostsblockedHostslength networkHostsblockedHosts
allowOutbound allowAllNetwork allowedHosts blockedHosts
enabled
allowBypass
userPolicy
filesystem
readwritesize readwritePaths readwrite
size readonlyPaths
deniedsize deniedPaths denied
network
allowOutbound
allowOutbound allowedHosts allowedHosts
allowOutbound blockedHosts blockedHosts
configurationService IConfigurationService settingId
raw configurationServicesettingId
raw
values rawv v v vlength
valueslength values