agentHostTelemetryService.ts ×1
Frontier kind: Code frontier
unlabeled · c_1d977838cd0e
65 tests · 17621 LOC · 87 files · introduces 0 tests · 2 LOC · 1 file
Introduces — evidence that enters the hierarchy at this concept
Code
1 range 2 lines · 1 files
Tests
0 tests
Contains — complete concept membership
Neighbourhood graph
The orange circle is the focus. Violet and green circles are every ancestor and descendant, broader and narrower, at any distance; blue squares and pink diamonds are the introduced files and exact introduced tests of every visible concept, not only the focus's. Arrows point from broader to narrower concepts and bridge only concepts omitted from this view. Undirected links show source or test introduction. Concept and file size follows LOC; exact test nodes use test-count units.
Focus concept
Ancestors (broader)
Descendants (narrower)
Introduced files
Introduced tests
Introduced files, introduced tests, and structurally relevant concept specialization
In the embedded map, ordinary wheel input scrolls the page; use the visible controls to zoom and drag to pan. Open the full-screen map for canvas navigation: wheel pans, Ctrl/Command plus wheel zooms, and arrow keys pan when this region is focused. On touch screens, open the full-screen map to pan or pinch. If JavaScript or WebGL is unavailable, use the native relationship evidence on this page.
Graph controls are ready.
Interactive rendering requires JavaScript and WebGL. Use the native relationship evidence on this page while the interactive map is unavailable.
JavaScript is disabled; use the native relationship evidence on this page to explore the same evidence.
Native relationship evidence
Every exact file and test below is linked only from the concept that introduces it.
agentHostTelemetryService.ts ×1 — Focused concept
Introduced files:
agentSideEffects.ts ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
agentSideEffects.test|title=AgentSideEffects queued message consumption drains a peer chat queued message to the owning session with the chat arg|occurrence=1 — Ancestor (broader)
Introduced tests:
agentSideEffects.test|title=AgentSideEffects subagent sessions subagent_completed signal completes the subagent turn|occurrence=1 — Ancestor (broader)
Introduced tests:
agentSideEffects.test|title=AgentSideEffects queued message consumption auto-starts turn from queued message on idle|occurrence=1 — Ancestor (broader)
Introduced tests:
agentSideEffects.test|title=AgentSideEffects subagent sessions completeSubagentSession clears pending buffered events when subagent never started|occurrence=1 — Ancestor (broader)
Introduced tests:
agentSideEffects.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
agentSideEffects.ts ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
sessionState.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
agentSideEffects.test|title=AgentSideEffects registerProgressListener stale completion does not clear active turn tool tracking|occurrence=1 — Ancestor (broader)
Introduced tests:
sessionState.ts ×2 — Ancestor (broader)
Introduced files:
agentSideEffects.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
agentSideEffects.test|title=AgentSideEffects handleAction — first-turn materialization failure surfaces a failed provisional first turn as a terminal creation failure|occurrence=1 — Ancestor (broader)
Introduced tests:
agentSideEffects.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
agentHostSessionTitleController.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
agentSideEffects.test|title=AgentSideEffects pending message sync syncs queued message to agent on ChatPendingMessageSet|occurrence=1, agentSideEffects.test|title=AgentSideEffects pending message sync parses queued protocol attachment URI strings before passing them to the agent|occurrence=1 — Ancestor (broader)
Introduced tests:
agentSideEffects.test|title=AgentSideEffects handleAction — first-turn materialization failure does not fail creation when an already-ready session send rejects|occurrence=1 — Ancestor (broader)
Introduced tests:
reducer.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
reducer.ts ×3 — Ancestor (broader)
Introduced files:
Introduced tests:
agentSideEffects.test|title=AgentSideEffects pending message sync logs telemetry when sending a queued user message|occurrence=1 — Ancestor (broader)
Introduced tests:
mockAgent.ts ×1 — Ancestor (broader)
Introduced files:
agentSideEffects.test|title=AgentSideEffects immediate title on first turn does not dispatch titleChanged on second turn|occurrence=1 — Ancestor (broader)
Introduced tests:
reducer.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
agentSideEffects.ts ×2 — Ancestor (broader)
Introduced files:
agentHostSchema.ts ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
agentSideEffects.test|title=AgentSideEffects immediate title on first turn normalizes whitespace and truncates long messages|occurrence=1, agentSideEffects.test|title=AgentSideEffects immediate title on first turn dispatches titleChanged with user message on first turn|occurrence=1 — Ancestor (broader)
Introduced tests:
turnStarted calls sendMessage on the agent|occurrence=1, turnStarted passes the dispatching client id to sendMessage|occurrence=1, +2 — Ancestor (broader)
Introduced tests:
agentHostTelemetryReporter.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
turnStarted model selection calls changeModel on the agent before sending the message|occurrence=1 — Ancestor (broader)
Introduced tests:
turnStarted model selection forwards the chat channel for an additional (peer) chat|occurrence=1 — Ancestor (broader)
Introduced tests:
turnStarted agent selection calls changeAgent on the agent for the session default chat before sending the message|occurrence=1 — Ancestor (broader)
Introduced tests:
turnStarted agent selection forwards the chat channel for an additional (peer) chat|occurrence=1 — Ancestor (broader)
Introduced tests:
turnStarted model selection waits for model selection before sending the message|occurrence=1 — Ancestor (broader)
Introduced tests:
agentSideEffects.test|title=AgentSideEffects immediate title on first turn does not dispatch titleChanged when title is already set|occurrence=1 — Ancestor (broader)
Introduced tests:
agentHostSessionTitleController.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
agentHostToolCallTelemetry.test|title=AgentSideEffects — tool call telemetry does not emit after a client tool completes or its turn is cancelled|occurrence=1 — Ancestor (broader)
Introduced tests:
agentHostTelemetryReporter.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
agentSideEffects.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
agentHostToolCallTelemetry.test|title=AgentSideEffects — tool call telemetry replaces confirmation tracking with client execution tracking|occurrence=1 — Ancestor (broader)
Introduced tests:
agentHostTelemetryReporter.ts ×1 — Ancestor (broader)
Introduced files:
agentHostToolCallTelemetry.test|title=AgentSideEffects — tool call telemetry drops an in-flight tool call when the turn is cancelled before completion|occurrence=1 — Ancestor (broader)
Introduced tests:
agentHostToolCallTelemetry.test|title=AgentSideEffects — tool call telemetry emits userCancelled with mcp source kind for a denied mcp tool|occurrence=1 — Ancestor (broader)
Introduced tests:
agentHostToolCallTelemetry.test|title=AgentSideEffects — tool call telemetry emits client source kind for a client-contributed tool|occurrence=1 — Ancestor (broader)
Introduced tests:
agentHostToolCallTelemetry.test|title=AgentSideEffects — tool call telemetry emits error for a failure without a cancellation code|occurrence=1 — Ancestor (broader)
Introduced tests:
agentHostToolCallTracker.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
agentHostToolCallTelemetry.test|title=AgentSideEffects — tool call telemetry emits a successful agent-host tool invocation|occurrence=1 — Ancestor (broader)
Introduced tests:
agentHostTurnTelemetry.test|title=AgentSideEffects — turn tracker telemetry emits turnCompleted with timing, model and permissionLevel on success|occurrence=1 — Ancestor (broader)
Introduced tests:
agentHostTurnTelemetry.test|title=AgentSideEffects — turn tracker telemetry uses generic model values for BYOK and unknown selections|occurrence=1 — Ancestor (broader)
Introduced tests:
agentSideEffects.ts ×1 — Ancestor (broader)
Introduced files:
agentSideEffects.ts ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
agentHostTurnTelemetry.test|title=AgentSideEffects — turn tracker telemetry captures permissionLevel at turnStarted, not later mid-turn changes|occurrence=1 — Ancestor (broader)
Introduced tests:
agentHostTurnTelemetry.test|title=AgentSideEffects — turn tracker telemetry timeToFirstProgress is undefined when no visible progress arrives before completion|occurrence=1 — Ancestor (broader)
Introduced tests:
agentHostTurnTelemetry.test|title=AgentSideEffects — turn tracker telemetry emits a single turnCompleted when both the client cancel and a follow-up agent signal arrive|occurrence=1 — Ancestor (broader)
Introduced tests:
agentHostTurnTelemetry.test|title=AgentSideEffects — turn tracker telemetry model and permissionLevel are undefined when never set|occurrence=1 — Ancestor (broader)
Introduced tests:
agentHostTurnTelemetry.test|title=AgentSideEffects — turn tracker telemetry emits result=error on ChatError|occurrence=1 — Ancestor (broader)
Introduced tests:
agentSideEffects.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
agentHostTurnTelemetry.test|title=AgentSideEffects — turn tracker telemetry emits result=error when a queued sendMessage rejects|occurrence=1 — Ancestor (broader)
Introduced tests:
agentHostTelemetryReporter.ts ×1 — Ancestor (broader)
Introduced files:
agentHostStateManager.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
agentHostTurnTelemetry.test|title=AgentSideEffects — turn tracker telemetry emits result=error when a direct sendMessage rejects|occurrence=1 — Ancestor (broader)
Introduced tests:
agentHostTurnTelemetry.test|title=AgentSideEffects — turn tracker telemetry emits result=cancelled when the client cancels a turn (no agent progress signal)|occurrence=1 — Ancestor (broader)
Introduced tests:
reducer.ts ×1 — Ancestor (broader)
Introduced files:
agentHostTelemetryReporter.ts ×1 — Ancestor (broader)
Introduced files:
reducer.ts ×1 — Ancestor (broader)
Introduced files:
agentHostTelemetryReporter.ts ×1 — Ancestor (broader)
Introduced files:
reducer.ts ×1 — Ancestor (broader)
Introduced files:
sessionState.ts ×1 — Ancestor (broader)
Introduced files:
agentSideEffects.ts ×4 — Ancestor (broader)
Introduced files:
agentSideEffects.ts ×1 — Ancestor (broader)
Introduced files:
agentHostTelemetryService.ts ×1 — Ancestor (broader)
Introduced files:
mockAgent.ts ×1 — Ancestor (broader)
Introduced files:
agentSideEffects.ts ×1 — Ancestor (broader)
Introduced files:
agentSideEffects.ts ×1 — Ancestor (broader)
Introduced files:
agentSideEffects.ts ×1 — Ancestor (broader)
Introduced files:
agentHostTelemetryService.ts ×1 — Ancestor (broader)
Introduced files:
agentHostSchema.ts ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
agentHostTelemetryService.ts ×5 — Ancestor (broader)
Introduced files:
Introduced tests:
agentHostTelemetryService.ts ×1 — Ancestor (broader)
Introduced files:
agentHostTelemetryService.test|title=AgentHostTelemetryService enhanced GH telemetry is gated on the restricted (rt) opt-in; standard GH telemetry is not|occurrence=1 — Ancestor (broader)
Introduced tests:
agentHostTelemetryService.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
agentHostTelemetryService.ts ×3 — Ancestor (broader)
Introduced files:
agentHostTelemetryService.ts ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
agentHostTelemetryService.test|title=AgentHostTelemetryService uses most restrictive client telemetry level|occurrence=1 — Ancestor (broader)
Introduced tests:
agentHostTelemetryService.ts ×1 — Ancestor (broader)
Introduced files:
agentHostTelemetryService.ts ×1 — Ancestor (broader)
Introduced files:
agentHostTelemetryService.ts ×2 — Ancestor (broader)
Introduced files:
agentHostTelemetryService.ts ×2 — Ancestor (broader)
Introduced files:
agentHostTelemetryService.ts ×2 — Descendant (narrower)
Introduced files:
agentHostTelemetryService.ts ×29 — Descendant (narrower)
Introduced files:
configurationService.ts ×18 — Descendant (narrower)
Introduced files:
configurations.ts ×19 — Descendant (narrower)
Introduced files:
telemetryLogAppender.ts ×4 — Descendant (narrower)
Introduced files:
environment.ts ×1 — Descendant (narrower)
Introduced files:
log.ts ×72 — Descendant (narrower)
Introduced files:
configurationModels.ts ×92 — Descendant (narrower)
Introduced files:
buffer.test|title=Buffer Performance issue with VSBuffer#slice #76076|occurrence=1 — Descendant (narrower)
Introduced tests:
agentHostMicrosoftTelemetry.ts ×7 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
contextkey.ts ×1 — Descendant (narrower)
Introduced files:
contextkey.ts ×3 — Descendant (narrower)
Introduced files:
request.ts ×15 — Descendant (narrower)
Introduced files:
async.ts ×202 — Descendant (narrower)
Introduced files:
contextkey.ts ×1 — Descendant (narrower)
Introduced files:
contextkey.ts ×1 — Descendant (narrower)
Introduced files:
contextkey.ts ×1 — Descendant (narrower)
Introduced files:
contextkey.ts ×1 — Descendant (narrower)
Introduced files:
contextkey.ts ×2 — Descendant (narrower)
Introduced files:
contextkey.ts ×1 — Descendant (narrower)
Introduced files:
contextkey.ts ×2 — Descendant (narrower)
Introduced files:
contextkey.ts ×2 — Descendant (narrower)
Introduced files:
contextkey.ts ×1 — Descendant (narrower)
Introduced files:
contextkey.ts ×1 — Descendant (narrower)
Introduced files:
contextkey.ts ×201 — Descendant (narrower)
Introduced files:
configurationRegistry.ts ×1 — Descendant (narrower)
Introduced files:
configurationRegistry.ts ×1 — Descendant (narrower)
Introduced files:
configurationRegistry.ts ×1 — Descendant (narrower)
Introduced files:
files.ts ×41 — Descendant (narrower)
Introduced files:
amdX.ts ×8 — Descendant (narrower)
Introduced files:
id.ts ×6 — Descendant (narrower)
Introduced files:
hash.ts ×17 — Descendant (narrower)
Introduced files:
telemetryUtils.ts ×15 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×60 — Descendant (narrower)
Introduced files:
resources.ts ×23 — Descendant (narrower)
Introduced files:
instantiation.ts ×1 — Descendant (narrower)
Introduced files:
productService.ts ×1 — Descendant (narrower)
Introduced files:
configurationRegistry.ts ×1 — Descendant (narrower)
Introduced files:
remoteHosts.ts ×7 — Descendant (narrower)
Introduced files:
configurationRegistry.ts ×1 — Descendant (narrower)
Introduced files:
configurationRegistry.ts ×1 — Descendant (narrower)
Introduced files:
network.ts ×20 — Descendant (narrower)
Introduced files:
strings.test|title=Strings trimWhitespace|occurrence=1 — Descendant (narrower)
Introduced tests:
configurationRegistry.ts ×17 — Descendant (narrower)
Introduced files:
extpath.ts ×17 — Descendant (narrower)
Introduced files:
instantiation.ts ×1 — Descendant (narrower)
Introduced files:
configurationRegistry.ts ×1 — Descendant (narrower)
Introduced files:
configurationRegistry.ts ×7 — Descendant (narrower)
Introduced files:
configurationRegistry.ts ×8 — Descendant (narrower)
Introduced files:
strings.ts ×101 — Descendant (narrower)
Introduced files:
configurationRegistry.ts ×7 — Descendant (narrower)
Introduced files:
configurationRegistry.ts ×1 — Descendant (narrower)
Introduced files:
configurationRegistry.ts ×5 — Descendant (narrower)
Introduced files:
configurationRegistry.ts ×3 — Descendant (narrower)
Introduced files:
configurationRegistry.ts ×1 — Descendant (narrower)
Introduced files:
policy.ts ×1 — Descendant (narrower)
Introduced files:
configurationRegistry.ts ×40 — Descendant (narrower)
Introduced files:
jsonContributionRegistry.ts ×9 — Descendant (narrower)
Introduced files:
policy.ts ×8 — Descendant (narrower)
Introduced files:
cancellation.test|title=CancellationToken None|occurrence=1 — Descendant (narrower)
Introduced tests:
cancellation.ts ×18 — Descendant (narrower)
Introduced files:
lifecycle.ts ×2 — Descendant (narrower)
Introduced files:
lifecycle.test|title=Lifecycle dispose disposable array|occurrence=1, lifecycle.test|title=Lifecycle Action bar has broken accessibility #100273|occurrence=1 — Descendant (narrower)
Introduced tests:
event.ts ×1 — Descendant (narrower)
Introduced files:
event.ts ×4 — Descendant (narrower)
Introduced files:
event.ts ×2 — Descendant (narrower)
Introduced files:
event.ts ×2 — Descendant (narrower)
Introduced files:
event.ts ×93 — Descendant (narrower)
Introduced files:
agentHostSchema.ts ×21 — Descendant (narrower)
Introduced files:
buffer.ts ×42 — Descendant (narrower)
Introduced files:
scanner.ts ×13 — Descendant (narrower)
Introduced files:
scanner.ts ×3 — Descendant (narrower)
Introduced files:
scanner.ts ×1 — Descendant (narrower)
Introduced files:
scanner.ts ×1 — Descendant (narrower)
Introduced files:
scanner.ts ×1 — Descendant (narrower)
Introduced files:
scanner.ts ×1 — Descendant (narrower)
Introduced files:
scanner.ts ×1 — Descendant (narrower)
Introduced files:
scanner.ts ×1 — Descendant (narrower)
Introduced files:
scanner.ts ×36 — Descendant (narrower)
Introduced files:
jsonEdit.ts ×5 — Descendant (narrower)
Introduced files:
jsonFormatter.ts ×6 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
agentHostRestrictedTelemetry.ts ×13 — Descendant (narrower)
Introduced files:
json.ts ×14 — Descendant (narrower)
Introduced files:
configuration.ts ×12 — Descendant (narrower)
Introduced files:
sessionProtocol.ts ×5 — Descendant (narrower)
Introduced files:
languageStatusDedupe.test|title=LanguageStatus - Dedicated Entry Deduplication disposes entries no longer in model|occurrence=1 — Descendant (narrower)
Introduced tests:
languageStatusDedupe.test|title=LanguageStatus - Dedicated Entry Deduplication mixed unique and duplicate IDs|occurrence=1, languageStatusDedupe.test|title=LanguageStatus - Dedicated Entry Deduplication creates new entry when none exists|occurrence=1, +4 — Descendant (narrower)
Introduced tests:
sessionConfigKeys.ts ×1 — Descendant (narrower)
Introduced files:
commands.ts ×1 — Descendant (narrower)
Introduced files:
uuid.test|title=UUID generation|occurrence=1 — Descendant (narrower)
Introduced tests:
equals.ts ×14 — Descendant (narrower)
Introduced files:
platform.ts ×1 — Descendant (narrower)
Introduced files:
types.test|title=Types isUndefinedOrNull|occurrence=1 — Descendant (narrower)
Introduced tests:
platform.ts ×1 — Descendant (narrower)
Introduced files:
types.test|title=Types isString|occurrence=1 — Descendant (narrower)
Introduced tests:
types.test|title=Types isUndefined|occurrence=1 — Descendant (narrower)
Introduced tests:
agentHostTelemetryEnv.ts ×1 — Descendant (narrower)
Introduced files:
state.ts ×1 — Descendant (narrower)
Introduced files:
uri.test|title=URI URI#file, win-speciale|occurrence=1, charCode.test|title=CharCode has good values|occurrence=1, +2 — Descendant (narrower)
Introduced tests:
product.ts ×4 — Descendant (narrower)
Introduced files:
utils.ts ×3 — Descendant (narrower)
Introduced files:
nls.ts ×1 — Descendant (narrower)
Introduced files:
instantiation.ts ×4 — Descendant (narrower)
Introduced files:
nls.ts ×3 — Descendant (narrower)
Introduced files:
telemetry.ts ×3 — Descendant (narrower)
Introduced files:
nls.ts ×1 — Descendant (narrower)
Introduced files:
errorMessage.ts ×6 — Descendant (narrower)
Introduced files:
linkedList.ts ×13 — Descendant (narrower)
Introduced files:
nls.ts ×6 — Descendant (narrower)
Introduced files:
objects.ts ×13 — Descendant (narrower)
Introduced files:
instantiation.ts ×5 — Descendant (narrower)
Introduced files:
platform.ts ×5 — Descendant (narrower)
Introduced files:
types.ts ×1 — Descendant (narrower)
Introduced files:
jsonSchema.ts ×3 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×2 — Descendant (narrower)
Introduced files:
lifecycle.ts ×2 — Descendant (narrower)
Introduced files:
types.ts ×1 — Descendant (narrower)
Introduced files:
assert.ts ×2 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×3 — Descendant (narrower)
Introduced files:
types.ts ×1 — Descendant (narrower)
Introduced files:
types.ts ×2 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×4 — Descendant (narrower)
Introduced files:
types.ts ×1 — Descendant (narrower)
Introduced files:
types.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×4 — Descendant (narrower)
Introduced files:
lifecycle.ts ×6 — Descendant (narrower)
Introduced files:
lifecycle.ts ×2 — Descendant (narrower)
Introduced files:
lazy.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×3 — Descendant (narrower)
Introduced files:
lazy.ts ×3 — Descendant (narrower)
Introduced files:
uuid.ts ×3 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
uint.ts ×2 — Descendant (narrower)
Introduced files:
iterator.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
map.ts ×97 — Descendant (narrower)
Introduced files:
Introduced tests
Every collected test enters the hierarchy at exactly one concept.
No tests are introduced at this concept. Its intent tests are introduced by other concepts.
Introduced code
Every collected source range enters the hierarchy at exactly one concept.
1 file ranked by introduced lines: 2 introduced LOC across 1 ranges.
Expand a file to inspect source; the > gutter marks introduced lines.
src/vs/platform/agentHost/node/agentHostTelemetryService.ts 2 introduced LOC · 1 range
Open complete file
68
69
get telemetryLevel () : TelemetryLevel {
71
>
}
72
73
get sendErrorTelemetry () : boolean {