agentHostChangesetService.ts ×1
Frontier kind: Joint frontier
unlabeled · c_355db8265b7c
1 test · 52460 LOC · 304 files · introduces 1 test · 7 LOC · 2 files
Introduces — evidence that enters the hierarchy at this concept
Code
2 ranges 7 lines · 2 files
Tests
1 test
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.
agentHostChangesetService.ts ×1 — Focused concept
Introduced files:
Introduced tests:
agentHostChangesetService.ts ×1 — Descendant (narrower)
Introduced files:
agentHostChangesetService.ts ×12 — Descendant (narrower)
Introduced files:
changesetUri.ts ×3 — Descendant (narrower)
Introduced files:
agentHostChangesetFileMonitorCoordinator.ts ×1 — Descendant (narrower)
Introduced files:
agentHostChangesetService.ts ×6 — Descendant (narrower)
Introduced files:
agentHostChangesetService.ts ×1 — Descendant (narrower)
Introduced files:
equals.ts ×4 — Descendant (narrower)
Introduced files:
agentService.ts ×1 — Descendant (narrower)
Introduced files:
agentService.ts ×2 — Descendant (narrower)
Introduced files:
agentService.ts ×5 — Descendant (narrower)
Introduced files:
changesetUri.ts ×1 — Descendant (narrower)
Introduced files:
agentHostChangesetService.ts ×2 — Descendant (narrower)
Introduced files:
agentService.ts ×16 — Descendant (narrower)
Introduced files:
agentHostChangesetService.ts ×1 — Descendant (narrower)
Introduced files:
agentService.ts ×2 — Descendant (narrower)
Introduced files:
agentService.ts ×1 — Descendant (narrower)
Introduced files:
agentHostChangesetService.ts ×2 — Descendant (narrower)
Introduced files:
agentHostChangesetStateCache.ts ×1 — Descendant (narrower)
Introduced files:
agentService.ts ×1 — Descendant (narrower)
Introduced files:
changesetUri.ts ×1 — Descendant (narrower)
Introduced files:
reducer.ts ×2 — Descendant (narrower)
Introduced files:
agentService.ts ×1 — Descendant (narrower)
Introduced files:
agentHostChangesetService.ts ×3 — Descendant (narrower)
Introduced files:
agentHostChangesetStateCache.ts ×1 — Descendant (narrower)
Introduced files:
agentService.ts ×1 — Descendant (narrower)
Introduced files:
agentService.ts ×2 — Descendant (narrower)
Introduced files:
agentService.test|title=AgentService (node dispatcher) registerProvider registers a provider successfully|occurrence=1 — Descendant (narrower)
Introduced tests:
agentService.ts ×2 — Descendant (narrower)
Introduced files:
mockAgent.ts ×1 — Descendant (narrower)
Introduced files:
agentHostManagementService.ts ×10 — Descendant (narrower)
Introduced files:
commandAutoApprover.ts ×1 — Descendant (narrower)
Introduced files:
agentService.ts ×14 — Descendant (narrower)
Introduced files:
agentService.ts ×122 — Descendant (narrower)
Introduced files:
mockAgent.ts ×2 — Descendant (narrower)
Introduced files:
agentSideEffects.ts ×3 — Descendant (narrower)
Introduced files:
agentHostChangesetFileMonitorCoordinator.ts ×3 — Descendant (narrower)
Introduced files:
agentHostChangesetCoordinator.ts ×1 — Descendant (narrower)
Introduced files:
agentHostChangesetFileMonitorCoordinator.ts ×6 — Descendant (narrower)
Introduced files:
changesetUri.ts ×1 — Descendant (narrower)
Introduced files:
agentHostChangesetCoordinator.ts ×1 — Descendant (narrower)
Introduced files:
agentHostChangesetFileMonitorCoordinator.ts ×2 — Descendant (narrower)
Introduced files:
agentHostChangesetFileMonitorCoordinator.ts ×2 — Descendant (narrower)
Introduced files:
agentHostChangesetSubscriptionService.ts ×1 — Descendant (narrower)
Introduced files:
agentHostStateManager.ts ×1 — Descendant (narrower)
Introduced files:
agentHostStateManager.ts ×3 — Descendant (narrower)
Introduced files:
changesetUri.ts ×1 — Descendant (narrower)
Introduced files:
agentHostGitStateService.ts ×1 — Descendant (narrower)
Introduced files:
agentHostGitStateService.ts ×5 — Descendant (narrower)
Introduced files:
agentHostGitStateService.ts ×2 — Descendant (narrower)
Introduced files:
agentHostGitStateService.ts ×3 — Descendant (narrower)
Introduced files:
agentHostChangesetFileMonitorCoordinator.ts ×27 — Descendant (narrower)
Introduced files:
agentHostStateManager.ts ×1 — Descendant (narrower)
Introduced files:
agentHostStateManager.ts ×2 — Descendant (narrower)
Introduced files:
agentHostStateManager.ts ×2 — Descendant (narrower)
Introduced files:
agentHostStateManager.ts ×1 — Descendant (narrower)
Introduced files:
inMemoryFilesystemProvider.ts ×1 — Descendant (narrower)
Introduced files:
agentHostStateManager.ts ×3 — Descendant (narrower)
Introduced files:
inMemoryFilesystemProvider.ts ×1 — Descendant (narrower)
Introduced files:
fileService.ts ×1 — Descendant (narrower)
Introduced files:
agentConfigurationService.ts ×2 — Descendant (narrower)
Introduced files:
agentHostStateManager.ts ×1 — Descendant (narrower)
Introduced files:
annotationsUri.ts ×1 — Descendant (narrower)
Introduced files:
fileService.ts ×1 — Descendant (narrower)
Introduced files:
agentConfigurationService.ts ×2 — Descendant (narrower)
Introduced files:
agentHostStateManager.ts ×1 — Descendant (narrower)
Introduced files:
agentHostStateManager.ts ×1 — Descendant (narrower)
Introduced files:
fileService.ts ×2 — Descendant (narrower)
Introduced files:
agentHostStateManager.ts ×1 — 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 ×1 — Descendant (narrower)
Introduced files:
agentHostStateManager.ts ×1 — 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:
sessionState.ts ×1 — Descendant (narrower)
Introduced files:
sessionState.ts ×2 — Descendant (narrower)
Introduced files:
sessionState.ts ×1 — Descendant (narrower)
Introduced files:
sessionState.ts ×1 — Descendant (narrower)
Introduced files:
agentHostChangesetStateCache.ts ×1 — Descendant (narrower)
Introduced files:
agentHostChangesetStateCache.ts ×2 — Descendant (narrower)
Introduced files:
sessionState.ts ×1 — Descendant (narrower)
Introduced files:
virtualTimeApi.ts ×1 — Descendant (narrower)
Introduced files:
virtualTimeApi.ts ×3 — Descendant (narrower)
Introduced files:
commandAutoApprover.ts ×3 — Descendant (narrower)
Introduced files:
commandAutoApprover.ts ×2 — Descendant (narrower)
Introduced files:
log.ts ×1 — Descendant (narrower)
Introduced files:
sessionDatabase.ts ×50 — Descendant (narrower)
Introduced files:
async.test|title=Async Throttler async|occurrence=1, async.test|title=Async Throttler last factory should be the one getting called|occurrence=1 — Descendant (narrower)
Introduced tests:
async.test|title=Async Queue order is kept (chained)|occurrence=1 — Descendant (narrower)
Introduced tests:
async.test|title=Async Promises.settled resolves|occurrence=1, async.test|title=Async Promises.settled resolves in order|occurrence=1 — Descendant (narrower)
Introduced tests:
async.test|title=Async cancelablePromise get inner result|occurrence=1 — Descendant (narrower)
Introduced tests:
instantiationService.test|title=Instantiation Service @Param - fixed args|occurrence=1, instantiationService.test|title=Instantiation Service @Param - simple clase|occurrence=1 — Descendant (narrower)
Introduced tests:
buffer.test|title=Buffer Performance issue with VSBuffer#slice #76076|occurrence=1 — Descendant (narrower)
Introduced tests:
async.test|title=Async Throttler non async|occurrence=1 — Descendant (narrower)
Introduced tests:
instantiationService.ts ×2 — Descendant (narrower)
Introduced files:
serviceCollection.ts ×1 — Descendant (narrower)
Introduced files:
async.ts ×1 — Descendant (narrower)
Introduced files:
async.test|title=Async SequencerByKey|occurrence=1 — Descendant (narrower)
Introduced tests:
async.ts ×1 — Descendant (narrower)
Introduced files:
async.ts ×2 — Descendant (narrower)
Introduced files:
async.ts ×1 — Descendant (narrower)
Introduced files:
async.ts ×1 — Descendant (narrower)
Introduced files:
async.ts ×3 — Descendant (narrower)
Introduced files:
async.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
async.ts ×1 — Descendant (narrower)
Introduced files:
async.ts ×1 — Descendant (narrower)
Introduced files:
async.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — 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 ×4 — Descendant (narrower)
Introduced files:
async.ts ×1 — 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:
reducer.ts ×1 — Descendant (narrower)
Introduced files:
agentService.ts ×1 — Descendant (narrower)
Introduced files:
resources.ts ×2 — Descendant (narrower)
Introduced files:
processor.ts ×1 — Descendant (narrower)
Introduced files:
map.ts ×1 — Descendant (narrower)
Introduced files:
virtualTimeApi.ts ×1 — Descendant (narrower)
Introduced files:
virtualTimeApi.ts ×1 — Descendant (narrower)
Introduced files:
virtualTimeApi.ts ×1 — Descendant (narrower)
Introduced files:
runWithFakedTimers.ts ×3 — Descendant (narrower)
Introduced files:
map.ts ×1 — Descendant (narrower)
Introduced files:
arrays.ts ×3 — Descendant (narrower)
Introduced files:
arrays.ts ×2 — Descendant (narrower)
Introduced files:
arrays.ts ×1 — Descendant (narrower)
Introduced files:
arrays.ts ×1 — Descendant (narrower)
Introduced files:
embedding.ts ×2 — Descendant (narrower)
Introduced files:
processor.ts ×5 — Descendant (narrower)
Introduced files:
strings.test|title=Strings trimWhitespace|occurrence=1 — Descendant (narrower)
Introduced tests:
virtualClock.ts ×1 — Descendant (narrower)
Introduced files:
virtualClock.ts ×3 — Descendant (narrower)
Introduced files:
processor.ts ×1 — Descendant (narrower)
Introduced files:
strings.ts ×101 — Descendant (narrower)
Introduced files:
virtualScheduling.test|title=virtualScheduling - createVirtualTimeApi without processor virtual Date.now() returns clock time|occurrence=1 — Descendant (narrower)
Introduced tests:
virtualTimeApi.ts ×7 — Descendant (narrower)
Introduced files:
event.ts ×1 — Descendant (narrower)
Introduced files:
cancellation.ts ×1 — Descendant (narrower)
Introduced files:
trace.ts ×1 — Descendant (narrower)
Introduced files:
timeTravelScheduler.ts ×1 — Descendant (narrower)
Introduced files:
changesetUri.ts ×1 — Descendant (narrower)
Introduced files:
changesetUri.ts ×2 — Descendant (narrower)
Introduced files:
changesetUri.ts ×1 — Descendant (narrower)
Introduced files:
changesetUri.ts ×1 — Descendant (narrower)
Introduced files:
changesetUri.ts ×1 — Descendant (narrower)
Introduced files:
changesetUri.ts ×16 — Descendant (narrower)
Introduced files:
traceLogger.ts ×3 — Descendant (narrower)
Introduced files:
processor.ts ×1 — Descendant (narrower)
Introduced files:
event.ts ×1 — Descendant (narrower)
Introduced files:
sessionState.ts ×2 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
cancellation.test|title=CancellationToken token stays the same|occurrence=1 — Descendant (narrower)
Introduced tests:
cancellation.ts ×1 — Descendant (narrower)
Introduced files:
cancellation.ts ×3 — Descendant (narrower)
Introduced files:
event.ts ×1 — Descendant (narrower)
Introduced files:
arrays.ts ×2 — Descendant (narrower)
Introduced files:
lifecycle.ts ×2 — Descendant (narrower)
Introduced files:
cancellation.ts ×1 — Descendant (narrower)
Introduced files:
cancellation.ts ×1 — Descendant (narrower)
Introduced files:
cancellation.test|title=CancellationToken None|occurrence=1 — Descendant (narrower)
Introduced tests:
event.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.test|title=No Leakage Utilities ensureNoDisposablesAreLeakedInTest Basic Test|occurrence=1 — Descendant (narrower)
Introduced tests:
event.ts ×3 — Descendant (narrower)
Introduced files:
lifecycle.ts ×3 — Descendant (narrower)
Introduced files:
buffer.ts ×1 — Descendant (narrower)
Introduced files:
equals.ts ×2 — 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:
equals.ts ×3 — 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 ×42 — Descendant (narrower)
Introduced files:
uri.ts ×1 — Descendant (narrower)
Introduced files:
map.ts ×3 — Descendant (narrower)
Introduced files:
errorMessage.ts ×1 — Descendant (narrower)
Introduced files:
uri.ts ×3 — Descendant (narrower)
Introduced files:
map.ts ×1 — Descendant (narrower)
Introduced files:
objects.ts ×2 — Descendant (narrower)
Introduced files:
configuration.ts ×12 — 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 ×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:
uri.ts ×2 — Descendant (narrower)
Introduced files:
arrays.test|title=Arrays coalesce|occurrence=1 — Descendant (narrower)
Introduced tests:
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:
uri.ts ×1 — Descendant (narrower)
Introduced files:
instantiation.ts ×4 — Descendant (narrower)
Introduced files:
telemetry.ts ×3 — 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 ×1 — Descendant (narrower)
Introduced files:
Introduced tests
Every collected test enters the hierarchy at exactly one concept.
1 test introduced at this concept.
Introduced code
Every collected source range enters the hierarchy at exactly one concept.
2 files ranked by introduced lines: 7 introduced LOC across 2 ranges.
Expand a file to inspect source; the > gutter marks introduced lines.
src/vs/platform/agentHost/node/agentHostChangesetService.ts 6 introduced LOC · 1 range
Open complete file
753
ref = this . _sessionDataService . openDatabase ( URI . parse ( session ));
754
} catch ( err ) {
755
>
this . _logService . warn ( `[AgentHostChangesetService] Failed to open session database for ${ kind } diff computation: ${ session } ` , err );
agentHostChangesetService.ts
756
>
this . _restoreStaticChangesetStatus ( changesetUri , statusBeforeCompute );
757
>
this . _activeStaticComputes . delete ( changesetUri );
758
>
this . _stateManager . onChangesetLivenessChanged ();
759
>
return ;
760
>
}
761
this . _stateManager . registerChangeset ( changesetUri );
762
try {
src/vs/platform/agentHost/node/agentService.ts 1 introduced LOC · 1 range
Open complete file
1893
if ( ! isAhpChatChannel ( resourceStr ) && sessionState && readSessionGitState ( sessionState . _meta ) === undefined ) {
1894
const workingDirectory = sessionState . workingDirectories ? .[ 0 ]
1896
: undefined ;
1897
void this . _gitStateService . refreshSessionGitState ( resourceStr , workingDirectory );