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, type VSBufferReadableStream } from '../../../../../base/common/buffer.js';
import { CancellationTokenSource } from '../../../../../base/common/cancellation.js';
import { joinPath } from '../../../../../base/common/resources.js';
import { URI } from '../../../../../base/common/uri.js';
import { localize } from '../../../../../nls.js';
import { agentHostAuthority, toAgentHostUri } from '../../../../../platform/agentHost/common/agentHostUri.js';
import { AgentHostAhpJsonlLoggingSettingId, IAgentHostService
IRemoteAgentHostConnectionInfo IRemoteAgentHostService remoteAgentHostLogOutputChannelId
IConfigurationService
IEnvironmentService
IFileService
ILogService
IProductService
ITextModelService
IOutputService
IPathService
buildLocalCopilotLogsUri buildRemoteCopilotLogsUri getCopilotCliSessionRawId parseRemoteAuthorityFromScheme resolveEventsUri
path
resource
size
AgentHostLogSourceKind
Events
WireLog
CliLog
ProcessChannel
RemoteProcessLog
id
label
kind AgentHostLogSourceKind
isRemote
resource
channelId
cliLogs dir rawSessionId
remoteConnection IRemoteAgentHostConnectionInfo
pathService IPathService
agentHostService IAgentHostService
remoteAgentHostService IRemoteAgentHostService
outputService IOutputService
fileService IFileService
textModelService ITextModelService
configurationService IConfigurationService
environmentService IEnvironmentService
productService IProductService
logService ILogService
text
totalBytes
truncated
fileResource
resource
resource
resourcescheme resourcescheme
sessionResource connections IRemoteAgentHostConnectionInfo IRemoteAgentHostConnectionInfo
authority sessionResourcescheme
authority connectionsconnection connectionaddress authority
value
value
services IAgentHostLogSourceServices
sessionResource
IAgentHostLogSource
sessionResource sessionResource
pathService agentHostService remoteAgentHostService outputService fileService configurationService environmentService services
userHome pathService preferLocal
isLocal sessionResourcescheme
remoteConnection isLocal sessionResource remoteAgentHostServiceconnections
sources IAgentHostLogSource
eventsResult
sessionResource
userHome
authority remoteAgentHostServiceconnectionsc caddress authority
eventsResultkind
sources
id
label
kind AgentHostLogSourceKindEvents
isRemote isLocal
resource eventsResultresource
configurationServiceAgentHostAhpJsonlLoggingSettingId
nameToken isLocal
agentHostServiceclientId
remoteConnection remoteConnectionaddress
wireFiles fileService environmentService nameToken
wireFilesfile index
sources
id
label index
filename
kind AgentHostLogSourceKindWireLog
isRemote isLocal
resource fileresource
channelIds
isLocal
channelIds
remoteConnection
channelIdsremoteConnectionaddress
channelIds
channelId channelIds
descriptor outputServicechannelId
descriptor
sources
id
label descriptorlabel
kind AgentHostLogSourceKindProcessChannel
isRemote isLocal
channelId
remoteConnectiondefaultDirectory
sources
id
label
kind AgentHostLogSourceKindRemoteProcessLog
isRemote
remoteConnection
rawSessionId sessionResource
rawSessionId
copilotLogsDir isLocal
userHome
remoteConnection remoteConnection
copilotLogsDir
sources
id
label
kind AgentHostLogSourceKindCliLog
isRemote isLocal
cliLogs dir copilotLogsDir rawSessionId
sources
source IAgentHostLogSource
services IAgentHostLogSourceServices
capBytes
IAgentHostLogContent
fileService outputService textModelService productService logService services
sourcekind
AgentHostLogSourceKindEvents
AgentHostLogSourceKindWireLog
sourceresource
fileService sourceresource capBytes
AgentHostLogSourceKindProcessChannel
sourcechannelId
channel outputServicesourcechannelId
channel
modelRef textModelServicechanneluri
value modelRefobjecttextEditorModel
value capBytes
modelRef
AgentHostLogSourceKindRemoteProcessLog
sourceremoteConnection
value sourceremoteConnection productServiceserverDataFolderName fileService
value value capBytes
AgentHostLogSourceKindCliLog
sourcecliLogs
files sourcecliLogsdir sourcecliLogsrawSessionId fileService logService
fileslength
text totalBytes truncated
combined filesf
combined capBytes
fileService IFileService
environmentService IEnvironmentService
nameToken
resource name mtime
ahpDir environmentServicelogsHome
children IFileStatWithMetadata
children fileServiceahpDir resolveMetadata children
files children
child childisDirectory childname
child resource childresource name childname mtime childmtime
matching nameToken filesfile filenamenameToken
selected matchinglength matching files
selecteda b bmtime amtime
fileService IFileService resource capBytes IAgentHostLogContent
size
size fileServiceresource resolveMetadata size
size
size size capBytes
content fileServiceresource position size capBytes length capBytes
text contentvalue
firstNewline text
firstNewline
text textfirstNewline
text totalBytes size truncated fileResource resource
content fileServiceresource limits size capBytes
text contentvalue totalBytes size truncated fileResource resource
value capBytes IAgentHostLogContent
valuelength capBytes
text value totalBytes valuelength truncated
text valuevaluelength capBytes
firstNewline text
firstNewline
text textfirstNewline
text totalBytes valuelength truncated
logsDir
rawSessionId
fileService IFileService
logService ILogService
path contents
matchingLogs logsDir rawSessionId fileService logService
files path contents
log matchingLogs
content logsize
fileServicelogresource position logsize length
fileServicelogresource limits size
files path logpath contents contentvalue
error
logService
files
logsDir
rawSessionId
fileService IFileService
logService ILogService
ICopilotLogFile
children IFileStatWithMetadata
children fileServicelogsDir resolveMetadata children
processLogs children
child childisDirectory childname
a b bmtime amtime
child path resource childresource size childsize
files ICopilotLogFile
candidateLogs processLogs
child childsize
rawSessionId
candidate candidateLogs
candidateresource rawSessionId fileService
filescandidate
error
logService
fileslength files processLogs
resource
rawSessionId
fileService IFileService
tokenSource
stream VSBufferReadableStream
stream fileServiceresource
length
limits size
tokenSourcetokenvalue
error
tokenSource
error
resolve reject
settled
previous
removeErrorListener
stream onData
stream onEnd
removeErrorListener
stream onError
contains
settled
settled
tokenSourcecontains
contains
contains
chunk VSBuffer
text previous chunk
textrawSessionId
previous textMath textlength rawSessionIdlength
error Error
settled
settled
tokenSource
error
stream onError
stream onEnd
stream onData
connection IRemoteAgentHostConnectionInfo
serverDataFolderName
fileService IFileService
homePath connectiondefaultDirectory
homePath
authority connectionaddress
homeUri scheme path homePath authority
candidates
serverDataFolderName
candidatesserverDataFolderName
serverDataFolderName
candidatesserverDataFolderName length
candidates
candidates
candidates
candidates
best uri mtime
folderName candidates
logsDirUri homeUri folderName
entries
stat fileServicelogsDirUri resolveMetadata
entries statchildren
entries
dir entries
dirisDirectory
logUri dirresource
logStat
logStat fileServicelogUri resolveMetadata
mtime logStatmtime
best mtime bestmtime
best uri logUri mtime
best
content fileServicebesturi
contentvalue