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 { mkdir } from 'fs/promises';
import { RunOnceScheduler } from '../../../../base/common/async.js';
import { dirname, join } from '../../../../base/common/path.js';
import type { TelemetryConfig } from '@github/copilot-sdk';
import { Disposable, toDisposable } from '../../../../base/common/lifecycle.js';
import { URI } from '../../../../base/common/uri.js';
import { generateUuid } from '../../../../base/common/uuid.js';
INativeEnvironmentService
ILogService
startLocalOtlpHttpReceiver
CompositeForwarder
ConsoleForwarder
FileForwarder
OtlpHttpForwarder
GenAiAttr
ICompletedSpanData SpanStatusCode
OTelSqliteStore
AgentHostOTelSpansDbSubPath
AgentHostOTelServiceName AgentHostOTelServiceNamespace AgentHostSessionSpanName AgentHostSessionTitleAttribute AgentHostSessionTitleSpanName AgentHostSessionUriAttribute IAgentHostNativeOTelConfig IAgentHostOTelService IAgentHostTraceContext
AgentHostOTelSpansDbSubPath
enabled
dbSpanExporter
exporterType
otlpEndpoint
filePath
sourceName
captureContent
headers Record
otlpProtocol
resourceAttributes Record
v
v
s v
s s s s
raw Record
raw
out Record
pair raw
eq pair
eq
rawKey pair eq
rawValue paireq
rawKey
outrawKey rawValue
outrawKey rawValue
Objectoutlength out
raw serviceName Record
attributes Record
pair raw
eq pair
eq
key pair eq
value paireq
key
attributeskey value
attributeskey value
attributes AgentHostOTelServiceNamespace
attributes serviceName attributes AgentHostOTelServiceName
attributes
env NodeJSProcessEnv ResolvedConfig
dbSpanExporter env
otlpEndpoint env env
filePath env
explicitlyEnabled env
enabled explicitlyEnabled dbSpanExporter otlpEndpoint filePath
rawType env
protocol env env
exporterType ResolvedConfig
rawType rawType rawType rawType
exporterType rawType
filePath
exporterType
protocol protocol
exporterType
enabled
dbSpanExporter
exporterType
otlpEndpoint
filePath
sourceName env
captureContent env
env
headers env
otlpProtocol protocol
resourceAttributes env env
key
value stringValue
name
attributes IOtlpAttribute
spans IOtlpSpan
resource attributes IOtlpAttribute
scopeSpans IOtlpScopeSpans
resourceSpans IOtlpResourceSpans
body Buffer
filteredSpanCount
CodexAuthPollingServiceName
CodexAuthPollingSpanName
CodexAuthPollingModuleName
attributes IOtlpAttribute key
attributesattribute attributekey keyvaluestringValue
attributes IOtlpAttribute key value
existing attributesattribute attributekey key
existing
existingvalue stringValue value
attributes key value stringValue value
body Buffer INormalizedAgentHostOtlpBody
payload body IOtlpTracePayload
filteredSpanCount
resourceSpan payloadresourceSpans
resource resourceSpanresource
resourceAttributes resourceattributes
isCodex resourceAttributes CodexAuthPollingServiceName
resourceAttributes AgentHostOTelServiceNamespace
scopeSpans resourceSpanscopeSpans
spans scopeSpansspans
scopeSpansspans spansspan
shouldFilter isCodex
spanname CodexAuthPollingSpanName
spanattributes CodexAuthPollingModuleName
shouldFilter
filteredSpanCount
shouldFilter
body Bufferpayload filteredSpanCount
_serviceBrand
_config ResolvedConfig
_spansDbPath
_receiver ILocalOtlpHttpReceiver
_spanStore OTelSqliteStore
_forwarder IOutboundForwarder
_startPromise
_metadataExportQueue
_sessionContexts
_currentTraceContext IAgentHostTraceContext
_pendingFilteredCodexAuthSpans
_totalFilteredCodexAuthSpans
_filteredSpanLogScheduler RunOnceScheduler
_fetchFn globalThisfetch
_logService ILogService
environmentService INativeEnvironmentService
_filteredSpanLogScheduler
_config processenv
_spansDbPath environmentServiceuserDataPath
TelemetryConfig
_configenabled
_configdbSpanExporter
_receiver
_configotlpEndpoint _configexporterType _configfilePath
IAgentHostNativeOTelConfig
_configenabled
protocol _configotlpProtocol _configotlpProtocol
_configotlpProtocol
external _configotlpEndpoint
endpoint _configotlpEndpoint
protocol
_configheaders headers _configheaders
resourceAttributes _configresourceAttributes
resourceAttributes
resourceAttributes AgentHostOTelServiceNamespace
_configdbSpanExporter
traces external external captureContent _configcaptureContent resourceAttributes
traces _receiver endpoint protocol external
external
captureContent _configcaptureContent
resourceAttributes
conversationId sessionUri IAgentHostTraceContext
_configenabled conversationId sessionUri _configdbSpanExporter
existing _sessionContextssessionUri
existing
existing
traceId
spanId
context IAgentHostTraceContext traceId spanId traceparent
_sessionContextssessionUri context
now Date
name AgentHostSessionSpanName
traceId
spanId
startTime now
endTime now
status code SpanStatusCode
attributes
_configresourceAttributes
GenAiAttr conversationId
AgentHostSessionUriAttribute sessionUri
events
context
sessionUri
_sessionContextssessionUri
context IAgentHostTraceContext
previous _currentTraceContext
_currentTraceContext context
_currentTraceContext previous
IAgentHostTraceContext
_currentTraceContext
_configdbSpanExporter _spansDbPath
conversationId sessionUri title
_configenabled _configcaptureContent conversationId title
_configdbSpanExporter
boundedTitle title
context conversationId sessionUri
now Date
name AgentHostSessionTitleSpanName
traceId contexttraceId
spanId
parentSpanId contextspanId
startTime now
endTime now
status code SpanStatusCode
attributes
_configresourceAttributes
GenAiAttr conversationId
AgentHostSessionTitleAttribute boundedTitle
AgentHostSessionUriAttribute sessionUri
events
_filteredSpanLogScheduler
_metadataExportQueue
_startPromise
_forwarder
_forwarder
TelemetryConfig
exporterType
otlpEndpoint _receiverbaseUrl
sourceName _configsourceName
captureContent _configcaptureContent
TelemetryConfig
exporterType _configexporterType
otlpEndpoint _configotlpEndpoint
filePath _configfilePath
sourceName _configsourceName
captureContent _configcaptureContent
_startPromise
_startPromise err
_logService err
_receiver
_forwarder
_startPromise
_spansDbPath recursive
store _spansDbPath
_spanStore store
store
_spanStore
_forwarder
receiver
body
normalized body
normalizedfilteredSpanCount
normalizedbody
result
span resultspans
storespan
err
_logService err
_forwarderforwardSpansresult
onForward _forwarder body contentType
_forwarderforwardRawbody contentType
_logService
_receiver receiver
receiver
_forwarder
_forwarder
_logService
span ICompletedSpanData
_metadataExportQueue _metadataExportQueue
span
err _logService err
span ICompletedSpanData
_configdbSpanExporter
_forwarder
_forwarder
_forwarder
_forwarder
_spanStorespan
err
_logService err
result spans span rejected errors
_forwarderforwardSpansresult
_forwarderforwardRawspan
count
count
_pendingFilteredCodexAuthSpans MathNumber _pendingFilteredCodexAuthSpans count
_totalFilteredCodexAuthSpans MathNumber _totalFilteredCodexAuthSpans count
_filteredSpanLogScheduler
_filteredSpanLogScheduler
_pendingFilteredCodexAuthSpans
_logService
_pendingFilteredCodexAuthSpans
_configexporterType
_configexporterType
_configexporterType _configotlpProtocol
span ICompletedSpanData Buffer
resourceAttributeKeys Object_configresourceAttributes
attributes Objectspanattributes
key resourceAttributeKeyskey key GenAiAttr key
key value
key
value value stringValue value
value doubleValue value
value boolValue value
arrayValue values valueitem stringValue item
resourceAttributes Object_configresourceAttributeskey value key value stringValue value
Buffer
resourceSpans
resourceAttributeslength resource attributes resourceAttributes
scopeSpans
scope name _configsourceName
spans
traceId spantraceId
spanId spanspanId
spanparentSpanId parentSpanId spanparentSpanId
name spanname
kind
startTimeUnixNano
endTimeUnixNano
attributes
status code
IOutboundForwarder
children IOutboundForwarder
_configexporterType
_configotlpEndpoint _configotlpProtocol
children
endpoint _configotlpEndpoint
headers _configheaders
_logService
_fetchFn
_configotlpEndpoint
_logService
_configotlpEndpoint
_logService
_configfilePath
children filePath _configfilePath _logService
children _logService
childrenlength
childrenlength children children