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 { CopilotChatAttr, CopilotCliSdkAttr, GenAiAttr, GenAiOperationName } from '../../../../platform/otel/common/genAiAttributes';
import { type ICompletedSpanData, type IOTelService, type ISpanEventRecord, SpanStatusCode } from '../../../../platform/otel/common/otelService';
/**
* Hook event data stashed by copilotcliSession for bridge enrichment.
*/
export interface HookEventData {
readonly hookType: string;
readonly input?: string;
readonly output?: string;
readonly resultKind?
errorMessage
name
startTime
endTime
attributes ReadonlyRecord
events name time attributes ReadonlyRecord
status code message
parentSpanContext traceId spanId
traceId spanId
span parentContext
span ReadableSpan
hrTime
hrTime hrTime
attrs ReadonlyRecord Record
result Record
key value Objectattrs
value value value
resultkey value
value valuev v
resultkey value
value value
resultkey value
result
_traceIdToSessionId
_disposed
_hookData
_pendingHookSpans
_otelService IOTelService
traceId sessionId
_traceIdToSessionIdtraceId sessionId
traceId
_traceIdToSessionIdtraceId
hookInvocationId hookType input
_hookDatahookInvocationId hookType input
hookInvocationId hookType output resultKind errorMessage
existing _hookDatahookInvocationId
existing
_hookDatahookInvocationId existing output resultKind errorMessage
_hookDatahookInvocationId hookType output resultKind errorMessage
pendingSpan _pendingHookSpanshookInvocationId
pendingSpan
_pendingHookSpanshookInvocationId
pendingSpan hookInvocationId
_span _parentContext
span ReadableSpan
_disposed
ctx span
sessionId _traceIdToSessionIdctxtraceId
sessionId
completedSpan span sessionId
invocationId spanattributesCopilotCliSdkAttr
spanname spanattributesCopilotCliSdkAttr invocationId
hookEndData _hookDatainvocationId
hookEndDataresultKind
completedSpan invocationId
_pendingHookSpansinvocationId completedSpan
_otelServicecompletedSpan
span ICompletedSpanData hookInvocationId
data _hookDatahookInvocationId
_hookDatahookInvocationId
data
_otelServicespan
attrs spanattributes
attrsGenAiAttr GenAiOperationName
attrsCopilotChatAttr datahookType
datainput
attrsCopilotChatAttr datainput
dataoutput
attrsCopilotChatAttr dataoutput
dataresultKind
attrsCopilotChatAttr dataresultKind
enrichedSpan ICompletedSpanData
span
name
attributes attrs
status dataresultKind
code SpanStatusCode message dataerrorMessage
code SpanStatusCode
_otelServiceenrichedSpan
span ReadableSpan sessionId ICompletedSpanData
ctx span
events ISpanEventRecord spaneventsevent
name eventname
timestamp eventtime
attributes eventattributes eventattributes
baseAttributes spanattributes
sessionId baseAttributesCopilotChatAttr
baseAttributesCopilotChatAttr sessionId
sessionId baseAttributesGenAiAttr
baseAttributesGenAiAttr sessionId
name spanname
spanId ctxspanId
traceId ctxtraceId
parentSpanId spanparentSpanContextspanId
startTime spanstartTime
endTime spanendTime
status
code spanstatuscode SpanStatusCode
message spanstatusmessage
attributes baseAttributes
events
_disposed
_traceIdToSessionId
_hookData
_pendingHookSpans