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 * as fs from 'fs';
import * as vscode from 'vscode';
import { IChatDebugFileLoggerService, IDebugLogEntry, sessionResourceToId } from '../../../platform/chat/common/chatDebugFileLoggerService';
import { ConfigKey, IConfigurationService } from '../../../platform/configuration/common/configurationService';
import { ILogService } from '../../../platform/log/common/logService';
import { IExperimentationService } from '../../../platform/telemetry/common/nullExperimentationService';
import { ITelemetryService } from '../../../platform/telemetry/common/telemetry'
Disposable
IExtensionContribution
debugLogEntryToDebugEvent
entryDedupKey
extractSessionId
resolveDebugLogEntry
parseResourceSpans
wrapInResourceSpans
id
_activeSessionId
_activeProgress vscodeProgressvscodeChatDebugEvent
_sentDedupKeys
_activeEntryCache
_importedSessions
_activeChildSessions
_skipCoreEvents
_liveSubscription IDisposable
_fileLogger IChatDebugFileLoggerService
_logService ILogService
_configurationService IConfigurationService
_experimentationService IExperimentationService
_telemetryService ITelemetryService
_configurationServiceConfigKeyAdvancedChatDebugFileLogging _experimentationService
vscodechatregisterChatDebugLogProvider
_logService
vscodechat
sessionResource progress token
sessionResource progress token
eventId token
eventId token
sessionResource options token
sessionResource options token
data token
data token
token
token
e
_logService
evt vscodeChatDebugEvent runIndex
runIndex
suffix
evtWithId evt id parentEventId
evtWithIdid evtWithIdid suffix
evtWithIdparentEventId evtWithIdparentEventId suffix
evt vscodeChatDebugEvent dedupKey
_activeProgress
dedupKey
_sentDedupKeysdedupKey
_sentDedupKeysdedupKey
_activeProgressevt
evt vscodeChatDebugEvent entry IDebugLogEntry
entrytype entrytype
evtWithId evt id
evtWithIdid
evtWithIdid
evtId entry IDebugLogEntry
_activeEntryCacheevtId
_activeEntryCacheevtId entry
_activeEntryCachesize OTelChatDebugLogProviderContribution
excess _activeEntryCachesize OTelChatDebugLogProviderContribution
iter _activeEntryCache
i i excess i
_activeEntryCacheitervalue
sessionResource vscodeUri
progress vscodeProgressvscodeChatDebugEvent
token vscodeCancellationToken
vscodeChatDebugEvent
sessionId sessionResource
_activeProgress progress
_activeSessionId sessionId
_sentDedupKeys
_activeEntryCache
_activeChildSessions
_skipCoreEvents _fileLoggersessionId
token
_activeSessionId sessionId
_activeProgress
_activeSessionId
_activeEntryCache
_sentDedupKeys
_activeChildSessions
_liveSubscription
_liveSubscription
_liveSubscription
_liveSubscription _fileLogger sessionId sid entry
childParentId _activeChildSessionssid
sid _activeSessionId childParentId
childParentId
evt entry _skipCoreEvents
evt
evt entryrIdx
evt entry
evt
evt parentEventId parentEventId childParentId
evtId evt evt id id
evtId
evtId entry
evt entry
evt entry _skipCoreEvents
evt
evt entryrIdx
evtId evt evt id id
evtId
evtId entry
evt entry
entrytype evt
childSessionId entryattrschildSessionId
childSessionId
parentRunIndex entryrIdx
scopedParentId parentRunIndex entryspanId
_activeChildSessionschildSessionId scopedParentId
childSessionId scopedParentId entry
startTime Date
importedEntries _importedSessionssessionId
importedEntries
importedEntries startTime
tailEntries _fileLoggersessionId
events tailEntries startTime
sessionId token
events
err
_logService
entries IDebugLogEntry startTime vscodeChatDebugEvent
events vscodeChatDebugEvent
entry entries
dedupKey entry
_sentDedupKeysdedupKey
evt entry _skipCoreEvents
evt
evt entryrIdx
evtId evt evt id id
evtId
evtId entry
eventsevt
_sentDedupKeysdedupKey
entrytype evt
childSessionId entryattrschildSessionId
childSessionId
parentRunIndex entryrIdx
scopedParentId parentRunIndex entryspanId
_activeChildSessionschildSessionId scopedParentId
childEntries entry
childEntry childEntries
childEvt childEntry _skipCoreEvents
childEvt
childEvt childEntryrIdx
childEvt childEntry
childEvt
childEvt parentEventId parentEventId scopedParentId
childEvtId childEvt childEvt id id
childEvtId
childEvtId childEntry
eventschildEvt
_sentDedupKeyschildEntry
err
eventsa b
aTime a a created Date created
bTime b b created Date created
aTime bTime
_telemetryService
durationMs Date startTime
entryCount entrieslength
eventCount eventslength
events
sessionId token vscodeCancellationToken
childRefs childSessionId scopedParentId
_fileLoggersessionId entry
tokenisCancellationRequested
dedupKey entry
_sentDedupKeysdedupKey
evt entry _skipCoreEvents
evt
evt entryrIdx
evtId evt evt id id
evtId
evtId entry
evt dedupKey
entrytype evt
childSessionId entryattrschildSessionId
childSessionId
parentRunIndex entryrIdx
scopedParentId parentRunIndex entryspanId
childRefs childSessionId scopedParentId
_activeChildSessionschildSessionId scopedParentId
childSessionId scopedParentId childRefs
tokenisCancellationRequested
childSessionId scopedParentId
childSessionId scopedParentId childSessionRefEntry IDebugLogEntry
childEntries childSessionRefEntry
childSessionRefEntry
_fileLoggerchildSessionId
childEntry childEntries
childEvt childEntry _skipCoreEvents
childEvt
childEvt childEntryrIdx
childEvt childEntry
childEvt
childEvt parentEventId parentEventId scopedParentId
childEvtId childEvt childEvt id id
childEvtId
childEvtId childEntry
childEvt childEntry
childSessionRefEntry IDebugLogEntry IDebugLogEntry
childSessionId childSessionRefEntryattrschildSessionId
childSessionId
entries _fileLoggerchildSessionId
entrieslength
entries
childLogFile childSessionRefEntryattrschildLogFile
parentSessionId childSessionRefEntrysid
childLogFile
parentDir _fileLoggerparentSessionId
parentDir
childFilePath parentDir childLogFilefsPath
entries IDebugLogEntry
stream fschildFilePath encoding
remainder
resolve reject
stream chunk
remainder chunk
lines remainder
remainder lines
line lines
line
entriesline IDebugLogEntry
stream
remainder
entriesremainder IDebugLogEntry
stream reject
entries
eventId
_token vscodeCancellationToken
vscodeProviderResultvscodeChatDebugResolvedEventContent
entry _activeEntryCacheeventId
entry
_activeEntryCacheeventId
_activeEntryCacheeventId entry
entry
_activeSessionId
sessionId _activeSessionId
sessionId eventIdfound
found
eventId found
found
entry IDebugLogEntry vscodeProviderResultvscodeChatDebugResolvedEventContent
sessionDir _fileLoggerentrysid
readCompanionFile sessionDir
fileName
fileName fileName fileName
fileUri sessionDir fileName
raw fspromisesfileUrifsPath
parsed raw
parsedcontent parsedcontent raw
raw
entry readCompanionFile
sessionId eventId IDebugLogEntry
runMatch eventId
rawSpanId runMatch eventId runMatchindex eventId
targetRunIndex runMatch runMatch
found IDebugLogEntry
childSessionIds
_fileLoggersessionId entry
found
entryspanId rawSpanId entryrIdx targetRunIndex
found entry
entrytype
childSessionId entryattrschildSessionId
childSessionId
childSessionIdschildSessionId
found
found
childSessionId childSessionIds
childEntries _fileLoggerchildSessionId
childEntry childEntries
childEntryspanId rawSpanId childEntryrIdx targetRunIndex
childEntry
sessionResource vscodeUri
options vscodeChatDebugLogExportOptions
_token vscodeCancellationToken
Uint8Array
sessionId sessionResource
entries _fileLoggersessionId
existingSpanIds entriese espanId
coreIdx
coreEntries optionscoreEvents
e e ChatDebugGenericEvent
e
id e vscodeChatDebugGenericEventid
id existingSpanIdsid
e IDebugLogEntry
ge e vscodeChatDebugGenericEvent
ts gecreated
dur
sid sessionId
type gecategory
name gename
spanId geid
parentSpanId geparentEventId
status gelevel vscodeChatDebugLogLevelError
attrs
gedetails details gedetails
gecategory category gecategory
source
allEntries entries coreEntries
allEntrieslength
_logService
spans allEntriesentry entry
otlpExport spans
sessionId
exportData ChatDebugLogExport
otlpExport
copilotChat
exportedAt
exporterVersion
sessionId
sessionTitle optionssessionTitle allEntries
json exportData
json
data Uint8Array
_token vscodeCancellationToken
vscodeProviderResultvscodeChatDebugLogImportResult
jsonString data
spans jsonString
spanslength
_logService
sourceSessionId
sessionTitle
parsed jsonString
sourceSessionId parsedcopilotChatsessionId
sessionTitle parsedcopilotChatsessionTitle
sourceSessionId spans
sessionTitle spans
importedSessionId
entries IDebugLogEntry spansspan span importedSessionId
_importedSessionsimportedSessionId entries
encoded BufferimportedSessionId
uri vscodeUri
uri sessionTitle
err
_logService
token vscodeCancellationToken
uri vscodeUri title
sessionIds _fileLogger
toRead sessionIds
settled toRead id uri vscodeUri title
tokenisCancellationRequested
encoded Bufferid
uri vscodeUri
title
hasRealEvents
entries _fileLoggerid
userMsg entriese etype
userMsg
hasRealEvents
content userMsgattrscontent
content
title contentlength content content
hasRealEvents
hasRealEvents entriese
etype etype
etype etype
hasRealEvents
title
shortId idlength id id
title
uri title
results uri vscodeUri title
entry settled
entrystatus entryvalue
resultsentryvalue
results
err
_logService
ICompletedSpanData
entry IDebugLogEntry ICompletedSpanData
attributes Record
entrytype
attributes
attributes entryname
entryattrsargs attributes entryattrsargs
entryattrsresult attributes entryattrsresult
attributes
entryattrsmodel attributes entryattrsmodel
entryattrsinputTokens attributes entryattrsinputTokens
entryattrsoutputTokens attributes entryattrsoutputTokens
attributes
entryattrsagentName attributes entryattrsagentName
attributes
attributes
entryattrsdetails attributes entryattrsdetails
entryattrscategory attributes entryattrscategory
attributes
name entryname
spanId entryspanId
traceId
parentSpanId entryparentSpanId
startTime entryts
endTime entryts entrydur
status code entrystatus
attributes
events
entries IDebugLogEntry
entry entries
entrytype
content entryattrscontent
content content
title content
titlelength title title
spans ICompletedSpanData
span spans
event spanevents
eventname
content eventattributescontent
content content
title content
titlelength title title
span ICompletedSpanData sessionId IDebugLogEntry
opName spanattributes
duration spanendTime spanstartTime
isError spanstatuscode
type IDebugLogEntry
attrs Record
opName
type
spanattributes attrsargs spanattributes
spanattributes attrsresult spanattributes
type
spanattributes attrsmodel spanattributes
spanattributes attrsinputTokens spanattributes
spanattributes attrsoutputTokens spanattributes
type
spanattributes attrsagentName spanattributes
type
type spanattributes
spanattributes attrsdetails spanattributes
spanattributes attrscategory spanattributes
isError spanstatusmessage attrserror spanstatusmessage
ts spanstartTime
dur duration
sid sessionId
type
name spanname
spanId spanspanId
parentSpanId spanparentSpanId
status isError
attrs