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 assert from 'assert';
import { URI } from '../../../../../base/common/uri.js';
import { ensureNoDisposablesAreLeakedInTestSuite } from '../../../../../base/test/common/utils.js';
import { IChatDebugModelTurnEvent, IChatDebugEventFileListContent, IChatDebugEventCustomizationSummaryContent } from '../../common/chatDebugService.js';
import { buildCustomizationDebugEvents, convertAgentHostEventsToDebugEvents, parseJsonl } from '../../browser/chatDebug/agentHostChatDebugProvider.js';
import { COPILOT_CLI_LOCAL_AH_SCHEME } from '../../browser/copilotCliEventsUri.js';
import { CustomizationType,
sessionResource scheme path
records
type id parentId timestamp data selectedModel reasoningEffort
type id parentId timestamp data content transformedContent interactionId
type id parentId timestamp data turnId interactionId
type id parentId timestamp data model outputTokens content reasoningText turnId interactionId
type id parentId timestamp data toolName toolCallId turnId arguments pattern
type id parentId timestamp data toolCallId success turnId result content
type id parentId timestamp data toolName toolCallId turnId arguments task
type id parentId timestamp data toolName toolCallId parentToolCallId turnId arguments path
type id parentId timestamp data toolCallId success parentToolCallId turnId result content
type id parentId timestamp data toolCallId success turnId result content
type id parentId timestamp data turnId
type id parentId timestamp data totalNanoAiu modelMetrics usage inputTokens outputTokens cacheReadTokens totalNanoAiu
events records sessionResource
projection eventse
ekind
kind ekind id eid parent eparentEventId name ename details edetails
kind ekind id eid parent eparentEventId message emessage
kind ekind id eid parent eparentEventId model emodel outputTokens eoutputTokens durationInMillis edurationInMillis
kind ekind id eid parent eparentEventId toolName etoolName result eresult durationInMillis edurationInMillis
kind ekind id eid parent eparentEventId
assertprojection
kind id parent name details
kind id parent message
kind id parent model outputTokens durationInMillis
kind id parent toolName result durationInMillis
kind id parent toolName result durationInMillis
kind id parent toolName result durationInMillis
failing
type id parentId timestamp data selectedModel copilotVersion context repository branch
type id parentId timestamp data warningType message
type id parentId timestamp data content
type id parentId timestamp data hookInvocationId hookType input
type id parentId timestamp data hookInvocationId hookType success
type id parentId timestamp data hookInvocationId hookType input errorContext recoverable error
type id parentId timestamp data hookInvocationId hookType success
type id parentId timestamp data previousModel newModel reasoningEffort
type id parentId timestamp data errorType message stack
events resolved failing sessionResource
projection eventse ekind
kind ekind id eid parent eparentEventId name ename details edetails level elevel category ecategory
kind ekind id eid parent eparentEventId
assertprojection
kind id parent name details level category
kind id parent name details level category
kind id parent
kind id parent name details level category
kind id parent name details level category
kind id parent name details level category
kind id parent name details level category
assertresolved kind value
stream
type id parentId timestamp data selectedModel
type id parentId timestamp data content
type id parentId timestamp data model outputTokens
type id parentId timestamp data toolName toolCallId arguments
type id parentId timestamp data toolCallId agentName agentDisplayName agentDescription model
type id parentId timestamp data toolCallId agentName model totalToolCalls totalTokens durationMs
type id parentId timestamp data requestId permissionRequest kind toolCallId intention path
type id parentId timestamp data requestId toolCallId result kind
type id parentId timestamp data requestId permissionRequest kind toolCallId intention
type id parentId timestamp data requestId result kind
type id parentId timestamp data systemTokens conversationTokens toolDefinitionsTokens
type id parentId timestamp data success error
type id parentId timestamp data reason
type id parentId timestamp data name trigger pluginName content
events resolved stream sessionResource
projection eventse
ekind
kind ekind id eid parent eparentEventId name ename details edetails level elevel category ecategory
kind ekind id eid parent eparentEventId agentName eagentName status estatus toolCallCount etoolCallCount durationInMillis edurationInMillis
kind ekind id eid parent eparentEventId toolName etoolName
kind ekind id eid parent eparentEventId
assertprojection
kind id parent name details level category
kind id parent
kind id parent
kind id parent toolName
kind id parent agentName status toolCallCount durationInMillis
kind id parent name details level category
kind id parent name details level category
kind id parent name details level category
kind id parent name details level category
kind id parent name details level category
assertresolved kind value
assertresolved kind value
events records sessionResource
turns eventse e IChatDebugModelTurnEvent ekind
t IChatDebugModelTurnEvent turnsacc t acc t
nanoAiu t tcopilotUsageNanoAiu
assert
input t tinputTokens cached t tcachedTokens output t toutputTokens total t ttotalTokens aic nanoAiu
input cached output total aic
inProgress recordsr rtype
events inProgress sessionResource totalNanoAiu
turns eventse e IChatDebugModelTurnEvent ekind
t IChatDebugModelTurnEvent turnsacc t acc t
assert
input t tinputTokens cached t tcachedTokens output t toutputTokens aic t tcopilotUsageNanoAiu
input cached output aic
inProgress
type id parentId timestamp data
type id parentId timestamp data content
type id parentId timestamp data turnId
type id parentId timestamp data model outputTokens turnId
type id parentId timestamp data turnId
type id parentId timestamp data model outputTokens turnId
type id parentId timestamp data content
type id parentId timestamp data turnId
type id parentId timestamp data model outputTokens turnId
usageRecords
turnId model inputTokens outputTokens cacheReadTokens totalNanoAiu ts
turnId model inputTokens outputTokens cacheReadTokens totalNanoAiu ts
turnId model inputTokens outputTokens cacheReadTokens totalNanoAiu ts
events inProgress sessionResource usageRecords
turns eventse e IChatDebugModelTurnEvent ekind
t IChatDebugModelTurnEvent turnsacc t acc t
assert
input t tinputTokens cached t tcachedTokens output t toutputTokens total t ttotalTokens aic t tcopilotUsageNanoAiu
input cached output total aic
zeroShutdown
type id parentId timestamp data
type id parentId timestamp data content
type id parentId timestamp data turnId
type id parentId timestamp data model outputTokens turnId
type id parentId timestamp data totalNanoAiu modelMetrics
events zeroShutdown sessionResource totalNanoAiu
turns eventse e IChatDebugModelTurnEvent ekind
t IChatDebugModelTurnEvent turnsacc t acc t
assert
aiu t tcopilotUsageNanoAiu input t tinputTokens
aiu input
customizations
type CustomizationTypeDirectory id uri name enabled contents CustomizationTypeSkill writable
children
type CustomizationTypeSkill id uri name description
type CustomizationTypeSkill id uri name enabled
type CustomizationTypeAgent id uri name description
type CustomizationTypeHook id uri name
type CustomizationTypeMcpServer id uri name state kind
Customization
events resolved customizations sessionResource
projection eventse ekind
id eid parent eparentEventId name ename details edetails category ecategory
id eid
assertprojection
id sessionResource parent name details category
id sessionResource parent name details category
id sessionResource parent name details category
id sessionResource parent name details category
id sessionResource parent name details category
skillList resolved sessionResource IChatDebugEventFileListContent
assertskillListfilesf name fname status fstatus
name status
name status
summary resolved sessionResource IChatDebugEventCustomizationSummaryContent
assertsummarycounts instructions skills agents hooks skipped
text
type id parentId timestamp data content
type id parentId timestamp
type id parentId timestamp data
id parentId timestamp data
type id parentId data
type id parentId timestamp data
type id parentId timestamp data
asserttextr rid