protocolServerHandler.ts ×1
Frontier kind: Code frontier
unlabeled · c_9e652013b438
11 tests · 29397 LOC · 148 files · introduces 0 tests · 1 LOC · 1 file
Introduces — evidence that enters the hierarchy at this concept
Code
1 range 1 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.
protocolServerHandler.ts ×1 — Focused concept
Introduced files:
protocolServerHandler.test|title=ProtocolServerHandler client reconnect without session subscription does not clear tool call disconnect timeout|occurrence=1 — Ancestor (broader)
Introduced tests:
protocolServerHandler.test|title=ProtocolServerHandler owned tool call is failed after the last overlapping transport closes|occurrence=1 — Ancestor (broader)
Introduced tests:
protocolServerHandler.ts ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
protocolServerHandler.test|title=ProtocolServerHandler client disconnect fails owned streaming tool calls after grace period|occurrence=1 — Ancestor (broader)
Introduced tests:
protocolServerHandler.test|title=ProtocolServerHandler a later orphaned tool call does not extend an earlier one past the grace window|occurrence=1 — Ancestor (broader)
Introduced tests:
protocolServerHandler.test|title=ProtocolServerHandler client tool timeout tells model it may retry when replacement active client provides the tool|occurrence=1, protocolServerHandler.test|title=ProtocolServerHandler client disconnect retains active client during grace, then removes it and fails owned tool calls after grace period|occurrence=1 — Ancestor (broader)
Introduced tests:
protocolServerHandler.test|title=ProtocolServerHandler client tool call stamped for a disconnected protocol client fails after the grace period|occurrence=1 — Ancestor (broader)
Introduced tests:
protocolServerHandler.test|title=ProtocolServerHandler client reconnect with session subscription clears tool call disconnect timeout for that session|occurrence=1 — Ancestor (broader)
Introduced tests:
protocolServerHandler.ts ×1 — Ancestor (broader)
Introduced files:
protocolServerHandler.ts ×2 — Ancestor (broader)
Introduced files:
protocolServerHandler.test|title=ProtocolServerHandler reconnect without resubscription removes the active client and fails its owned tool calls|occurrence=1 — Ancestor (broader)
Introduced tests:
protocolServerHandler.ts ×1 — Ancestor (broader)
Introduced files:
protocolServerHandler.ts ×3 — Ancestor (broader)
Introduced files:
Introduced tests:
protocolServerHandler.ts ×2 — Ancestor (broader)
Introduced files:
reducer.ts ×2 — Ancestor (broader)
Introduced files:
protocolServerHandler.ts ×1 — Ancestor (broader)
Introduced files:
protocolServerHandler.ts ×9 — Ancestor (broader)
Introduced files:
protocolServerHandler.ts ×9 — Descendant (narrower)
Introduced files:
protocolServerHandler.ts ×8 — Descendant (narrower)
Introduced files:
protocolServerHandler.ts ×5 — Descendant (narrower)
Introduced files:
protocolServerHandler.ts ×2 — Descendant (narrower)
Introduced files:
protocolServerHandler.ts ×3 — Descendant (narrower)
Introduced files:
protocolServerHandler.ts ×3 — Descendant (narrower)
Introduced files:
protocolServerHandler.ts ×6 — Descendant (narrower)
Introduced files:
sessionState.ts ×2 — Descendant (narrower)
Introduced files:
protocolServerHandler.ts ×2 — Descendant (narrower)
Introduced files:
protocolServerHandler.ts ×1 — Descendant (narrower)
Introduced files:
protocolServerHandler.ts ×12 — Descendant (narrower)
Introduced files:
protocolServerHandler.ts ×4 — Descendant (narrower)
Introduced files:
protocolServerHandler.ts ×4 — Descendant (narrower)
Introduced files:
protocolServerHandler.ts ×2 — Descendant (narrower)
Introduced files:
protocolServerHandler.ts ×1 — Descendant (narrower)
Introduced files:
protocolServerHandler.ts ×1 — Descendant (narrower)
Introduced files:
protocolServerHandler.ts ×6 — Descendant (narrower)
Introduced files:
protocolServerHandler.ts ×3 — Descendant (narrower)
Introduced files:
protocolServerHandler.ts ×78 — Descendant (narrower)
Introduced files:
agentHostStateManager.ts ×1 — Descendant (narrower)
Introduced files:
agentHostStateManager.test|title=AgentHostStateManager dispatchServerAction applies action and emits envelope|occurrence=1 — Descendant (narrower)
Introduced tests:
agentHostStateManager.ts ×5 — Descendant (narrower)
Introduced files:
agentHostStateManager.ts ×16 — Descendant (narrower)
Introduced files:
agentHostStateManager.test|title=AgentHostStateManager createSession emits sessionAdded notification|occurrence=1 — Descendant (narrower)
Introduced tests:
agentHostStateManager.ts ×1 — Descendant (narrower)
Introduced files:
agentHostStateManager.test|title=AgentHostStateManager getSnapshot returns session snapshot after creation|occurrence=1 — Descendant (narrower)
Introduced tests:
agentHostStateManager.ts ×1 — Descendant (narrower)
Introduced files:
annotationsUri.ts ×1 — Descendant (narrower)
Introduced files:
reducer.ts ×2 — Descendant (narrower)
Introduced files:
agentHostStateManager.ts ×1 — Descendant (narrower)
Introduced files:
agentHostStateManager.ts ×1 — Descendant (narrower)
Introduced files:
agentHostStateManager.ts ×4 — Descendant (narrower)
Introduced files:
agentHostStateManager.test|title=Subagent URI helpers mergeSessionWithDefaultChat resolves the per-chat working directory override over the session default|occurrence=1, agentHostStateManager.test|title=Subagent URI helpers mergeSessionWithDefaultChat falls back to the session working directory when no chat state is hydrated|occurrence=1, +1 — Descendant (narrower)
Introduced tests:
agentHostStateManager.ts ×3 — Descendant (narrower)
Introduced files:
annotationsUri.ts ×2 — Descendant (narrower)
Introduced files:
agentHostStateManager.ts ×1 — Descendant (narrower)
Introduced files:
agentHostStateManager.ts ×2 — Descendant (narrower)
Introduced files:
agentHostStateManager.ts ×1 — Descendant (narrower)
Introduced files:
agentHostStateManager.ts ×3 — Descendant (narrower)
Introduced files:
agentHostStateManager.ts ×1 — Descendant (narrower)
Introduced files:
agentHostStateManager.ts ×1 — Descendant (narrower)
Introduced files:
agentHostStateManager.ts ×2 — Descendant (narrower)
Introduced files:
sessionState.ts ×1 — Descendant (narrower)
Introduced files:
agentHostStateManager.ts ×3 — Descendant (narrower)
Introduced files:
agentHostStateManager.ts ×2 — Descendant (narrower)
Introduced files:
agentHostStateManager.ts ×1 — Descendant (narrower)
Introduced files:
agentHostStateManager.ts ×7 — Descendant (narrower)
Introduced files:
agentHostChangesetStateCache.ts ×1 — Descendant (narrower)
Introduced files:
agentHostStateManager.ts ×4 — Descendant (narrower)
Introduced files:
sessionState.ts ×1 — Descendant (narrower)
Introduced files:
agentHostStateManager.ts ×60 — Descendant (narrower)
Introduced files:
sessionState.ts ×2 — Descendant (narrower)
Introduced files:
sessionState.ts ×1 — Descendant (narrower)
Introduced files:
agentHostSchema.ts ×5 — Descendant (narrower)
Introduced files:
agentHostFileSystemProvider.ts ×1 — Descendant (narrower)
Introduced files:
agentHostFileSystemProvider.ts ×1 — Descendant (narrower)
Introduced files:
agentHostFileSystemProvider.ts ×2 — Descendant (narrower)
Introduced files:
agentHostFileSystemProvider.ts ×3 — Descendant (narrower)
Introduced files:
agentHostFileSystemProvider.ts ×3 — Descendant (narrower)
Introduced files:
agentHostFileSystemProvider.ts ×25 — Descendant (narrower)
Introduced files:
otlpLogEmitter.ts ×29 — Descendant (narrower)
Introduced files:
agentSubscription.ts ×81 — Descendant (narrower)
Introduced files:
log.ts ×1 — Descendant (narrower)
Introduced files:
buffer.test|title=Buffer issue #71993 - VSBuffer#toString returns numbers|occurrence=1 — Descendant (narrower)
Introduced tests:
buffer.test|title=Buffer slice|occurrence=1 — Descendant (narrower)
Introduced tests:
buffer.test|title=Buffer fromString|occurrence=1, buffer.test|title=Buffer issue #251527 - VSBuffer#toString preserves BOM character in filenames|occurrence=1 — Descendant (narrower)
Introduced tests:
buffer.test|title=Buffer wrap|occurrence=1 — Descendant (narrower)
Introduced tests:
buffer.test|title=Buffer Performance issue with VSBuffer#slice #76076|occurrence=1 — Descendant (narrower)
Introduced tests:
jsonRpcProtocol.ts ×17 — Descendant (narrower)
Introduced files:
async.ts ×1 — Descendant (narrower)
Introduced files:
async.ts ×1 — Descendant (narrower)
Introduced files:
async.ts ×2 — Descendant (narrower)
Introduced files:
async.ts ×3 — Descendant (narrower)
Introduced files:
async.ts ×202 — Descendant (narrower)
Introduced files:
sessionState.ts ×2 — Descendant (narrower)
Introduced files:
sessionState.ts ×3 — Descendant (narrower)
Introduced files:
reducer.ts ×1 — Descendant (narrower)
Introduced files:
debugGetDependencyGraph.ts ×2 — Descendant (narrower)
Introduced files:
observableSignalFromEvent.ts ×1 — Descendant (narrower)
Introduced files:
promise.ts ×1 — Descendant (narrower)
Introduced files:
agentService.ts ×15 — Descendant (narrower)
Introduced files:
reducer.ts ×1 — Descendant (narrower)
Introduced files:
sessionState.ts ×2 — Descendant (narrower)
Introduced files:
reducer.ts ×6 — Descendant (narrower)
Introduced files:
sessionActions.ts ×1 — Descendant (narrower)
Introduced files:
files.ts ×1 — Descendant (narrower)
Introduced files:
files.ts ×1 — Descendant (narrower)
Introduced files:
sessionState.ts ×1 — Descendant (narrower)
Introduced files:
sessionReducers.ts ×1 — Descendant (narrower)
Introduced files:
hash.ts ×17 — Descendant (narrower)
Introduced files:
lifecycle.ts ×2 — Descendant (narrower)
Introduced files:
sessionState.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×3 — Descendant (narrower)
Introduced files:
sessionState.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
reducer.ts ×1 — Descendant (narrower)
Introduced files:
reducer.ts ×7 — Descendant (narrower)
Introduced files:
network.ts ×20 — Descendant (narrower)
Introduced files:
strings.test|title=Strings trimWhitespace|occurrence=1 — Descendant (narrower)
Introduced tests:
reducer.ts ×2 — Descendant (narrower)
Introduced files:
reducer.ts ×1 — Descendant (narrower)
Introduced files:
reducer.ts ×1 — Descendant (narrower)
Introduced files:
reducer.ts ×1 — Descendant (narrower)
Introduced files:
reducer.ts ×1 — Descendant (narrower)
Introduced files:
reducer.ts ×1 — Descendant (narrower)
Introduced files:
reducer.ts ×1 — Descendant (narrower)
Introduced files:
reducer.ts ×1 — Descendant (narrower)
Introduced files:
reducer.ts ×2 — Descendant (narrower)
Introduced files:
reducer.ts ×1 — Descendant (narrower)
Introduced files:
reducer.ts ×12 — Descendant (narrower)
Introduced files:
reducer.ts ×31 — Descendant (narrower)
Introduced files:
reducer.ts ×29 — Descendant (narrower)
Introduced files:
messagePortProtocolServer.ts ×13 — Descendant (narrower)
Introduced files:
reducer.ts ×14 — Descendant (narrower)
Introduced files:
timeTravelScheduler.ts ×1 — Descendant (narrower)
Introduced files:
traceLogger.ts ×3 — Descendant (narrower)
Introduced files:
processor.ts ×1 — Descendant (narrower)
Introduced files:
processor.ts ×1 — Descendant (narrower)
Introduced files:
chatSummaryStatus.test|title=chatSummaryFromState status projection leaves non-InputNeeded statuses untouched|occurrence=1 — Descendant (narrower)
Introduced tests:
event.ts ×1 — Descendant (narrower)
Introduced files:
sessionState.ts ×1 — Descendant (narrower)
Introduced files:
sessionState.ts ×1 — Descendant (narrower)
Introduced files:
sessionState.ts ×3 — Descendant (narrower)
Introduced files:
sessionState.ts ×3 — Descendant (narrower)
Introduced files:
sessionState.ts ×57 — Descendant (narrower)
Introduced files:
event.ts ×2 — Descendant (narrower)
Introduced files:
lifecycle.test|title=DisposableStore delete should evict and dispose of the disposables|occurrence=1 — Descendant (narrower)
Introduced tests:
event.ts ×1 — Descendant (narrower)
Introduced files:
event.ts ×5 — Descendant (narrower)
Introduced files:
lifecycle.ts ×4 — Descendant (narrower)
Introduced files:
cancellation.test|title=CancellationToken None|occurrence=1 — Descendant (narrower)
Introduced tests:
event.ts ×1 — Descendant (narrower)
Introduced files:
event.ts ×1 — Descendant (narrower)
Introduced files:
event.ts ×3 — Descendant (narrower)
Introduced files:
lifecycle.ts ×3 — Descendant (narrower)
Introduced files:
lifecycle.test|title=No Leakage Utilities ensureNoDisposablesAreLeakedInTest Basic Test|occurrence=1 — Descendant (narrower)
Introduced tests:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
event.ts ×3 — Descendant (narrower)
Introduced files:
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:
lifecycle.ts ×3 — Descendant (narrower)
Introduced files:
event.ts ×4 — Descendant (narrower)
Introduced files:
event.ts ×2 — Descendant (narrower)
Introduced files:
lifecycle.ts ×2 — Descendant (narrower)
Introduced files:
event.ts ×93 — Descendant (narrower)
Introduced files:
agentHostSchema.test|title=agentHostSchema validateOrDefault uses defaults when input is undefined|occurrence=1 — Descendant (narrower)
Introduced tests:
buffer.ts ×1 — Descendant (narrower)
Introduced files:
agentHostSchema.ts ×1 — Descendant (narrower)
Introduced files:
buffer.ts ×1 — Descendant (narrower)
Introduced files:
agentHostSchema.test|title=agentHostSchema createSchema toProtocol emits a JSON-Schema-compatible object|occurrence=1, agentHostSchema.test|title=agentHostSchema platformSessionSchema exposes approval choices in picker order with current copy|occurrence=1 — Descendant (narrower)
Introduced tests:
buffer.ts ×2 — Descendant (narrower)
Introduced files:
buffer.ts ×2 — Descendant (narrower)
Introduced files:
buffer.ts ×2 — Descendant (narrower)
Introduced files:
agentHostSchema.ts ×1 — Descendant (narrower)
Introduced files:
buffer.ts ×1 — Descendant (narrower)
Introduced files:
buffer.ts ×1 — Descendant (narrower)
Introduced files:
buffer.ts ×42 — Descendant (narrower)
Introduced files:
negotiation.ts ×1 — Descendant (narrower)
Introduced files:
uri.ts ×1 — Descendant (narrower)
Introduced files:
uri.ts ×1 — Descendant (narrower)
Introduced files:
registry.ts ×3 — Descendant (narrower)
Introduced files:
negotiation.ts ×3 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
uri.ts ×3 — Descendant (narrower)
Introduced files:
uri.ts ×1 — Descendant (narrower)
Introduced files:
negotiation.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:
uri.ts ×1 — Descendant (narrower)
Introduced files:
uri.ts ×3 — Descendant (narrower)
Introduced files:
uri.ts ×10 — Descendant (narrower)
Introduced files:
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:
negotiation.ts ×3 — Descendant (narrower)
Introduced files:
state.ts ×1 — Descendant (narrower)
Introduced files:
uri.ts ×2 — Descendant (narrower)
Introduced files:
uri.ts ×3 — Descendant (narrower)
Introduced files:
map.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:
uri.ts ×3 — Descendant (narrower)
Introduced files:
utils.ts ×3 — Descendant (narrower)
Introduced files:
uri.ts ×1 — Descendant (narrower)
Introduced files:
uri.ts ×9 — Descendant (narrower)
Introduced files:
telemetry.ts ×3 — Descendant (narrower)
Introduced files:
nls.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
objects.ts ×13 — 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:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×3 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×4 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — 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: 1 introduced LOC across 1 ranges.
Expand a file to inspect source; the > gutter marks introduced lines.
src/vs/platform/agentHost/node/protocolServerHandler.ts 1 introduced LOC · 1 range
Open complete file
80
function isPendingToolCallStatus ( status : ToolCallStatus ) : boolean {
81
return status === ToolCallStatus . Streaming
83
|| status === ToolCallStatus . PendingConfirmation ;
84
}