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 { TelemetryConfig } from '@github/copilot-sdk';
import type { URI } from '../../../../base/common/uri.js';
import { createDecorator } from '../../../instantiation/common/instantiation.js';
/**
* Lean service that wires the @github/copilot-sdk telemetry hook to either:
*
* - **External-only mode**: pass user-configured exporter settings straight through
* so the SDK's spawned CLI exports OTel data directly to the user's sink.
* - **DB mode** (`COPILOT_OTEL_DB_SPAN_EXPORTER_ENABLED=true`): point the SDK at a
* loopback OTLP/HTTP receiver, persist all spans into a local SQLite store, and
* optionally fan-out to a user-configured external sink as well.
*
* The interface lives in `common/` so consumers (DI registration, tests, callers
* in other layers) can import it without pulling in the node-only concrete
* implementation and its transitive native dependencies (`node:sqlite`).
*/
export const AgentHostOTelServiceNamespace = 'vscode.agent-host';
export const AgentHostOTelServiceName = 'vscode-agent-host';
export const AgentHostSessionSpanName
AgentHostSessionTitleSpanName
AgentHostSessionTitleAttribute
AgentHostSessionUriAttribute
traceId
spanId
traceparent
tracestate
traces endpoint protocol
external
endpoint
protocol
headers ReadonlyRecord
captureContent
resourceAttributes ReadonlyRecord
_serviceBrand
TelemetryConfig
IAgentHostNativeOTelConfig
conversationId sessionUri IAgentHostTraceContext
sessionUri
context IAgentHostTraceContext
IAgentHostTraceContext
conversationId sessionUri title
IAgentHostOTelService