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 * as vscode from 'vscode';
import { IPostToolUseHookResult, IPreToolUseHookResult } from '../../../platform/chat/common/chatHookService';
import { ITelemetryService } from '../../../platform/telemetry/common/telemetry';
export class ChatHookTelemetry {
constructor(
private readonly _telemetryService: ITelemetryService,
) { }
logConfiguredHooks(hooks: vscode.ChatRequestHooks): void {
const hookTypeCounts: Record<string,
totalHookCount
hookType Objecthooks
commands hookshookType
commands commandslength
hookTypeCountshookType commandslength
totalHookCount commandslength
totalHookCount
_telemetryService
hookTypes hookTypeCounts
totalHookCount
hookType hookCount durationMs hasError hasCaughtException
_telemetryService
hookType
hasError hasError
hasCaughtException hasCaughtException
hookCount
durationMs
result IPreToolUseHookResult
_telemetryService
permissionDecision resultpermissionDecision
hasUpdatedInput resultupdatedInput
hasAdditionalContext resultadditionalContext
result IPostToolUseHookResult
_telemetryService
didBlock resultdecision
hasAdditionalContext resultadditionalContext