sessionCustomizationDiscovery.ts ×2
Frontier kind: Code frontier
unlabeled · c_ce15635a5115
31 tests · 51439 LOC · 297 files · introduces 0 tests · 9 LOC · 1 file
Introduces — evidence that enters the hierarchy at this concept
Code
2 ranges 9 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.
sessionCustomizationDiscovery.ts ×2 — Focused concept
Introduced files:
copilotAgent.test|title=CopilotAgent createSession activeClient eager-claim getSessionCustomizations coalesces burst watcher changes into one discovered refresh publish|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgent.test|title=CopilotAgent createSession activeClient eager-claim getSessionCustomizations clears discovered files when the root disappears|occurrence=1 — Ancestor (broader)
Introduced tests:
sessionCustomizationDiscovery.ts ×3 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgent.ts ×2 — Ancestor (broader)
Introduced files:
sessionCustomizationDiscovery.ts ×6 — Ancestor (broader)
Introduced files:
sessionCustomizationDiscovery.test|title=SessionCustomizationDiscovery maps discovered files to parsed plugin preserving source URIs|occurrence=1 — Ancestor (broader)
Introduced tests:
sessionCustomizationDiscovery.test|title=SessionCustomizationDiscovery does not include parsed agent-instruction rules in mapToParsedPlugin output|occurrence=1 — Ancestor (broader)
Introduced tests:
sessionCustomizationDiscovery.ts ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
sessionCustomizationDiscovery.test|title=SessionCustomizationDiscovery discover mode watches the discovered skill root so new skills fire onDidChange|occurrence=1 — Ancestor (broader)
Introduced tests:
sessionCustomizationDiscovery.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
sessionCustomizationDiscovery.test|title=SessionCustomizationDiscovery discover includes hooks from recursive and fixed hook locations|occurrence=1 — Ancestor (broader)
Introduced tests:
sessionCustomizationDiscovery.test|title=SessionCustomizationDiscovery fires onDidChange when an existing agent file is deleted under a non-recursively watched root|occurrence=1 — Ancestor (broader)
Introduced tests:
sessionCustomizationDiscovery.ts ×3 — Ancestor (broader)
Introduced files:
sessionCustomizationDiscovery.test|title=SessionCustomizationDiscovery marks agent instruction rule sources as always apply|occurrence=1 — Ancestor (broader)
Introduced tests:
sessionCustomizationDiscovery.ts ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
sessionCustomizationDiscovery.ts ×5 — Ancestor (broader)
Introduced files:
sessionCustomizationDiscovery.ts ×2 — Ancestor (broader)
Introduced files:
sessionCustomizationDiscovery.ts ×3 — Ancestor (broader)
Introduced files:
sessionCustomizationDiscovery.ts ×2 — Ancestor (broader)
Introduced files:
sessionCustomizationDiscovery.ts ×18 — Ancestor (broader)
Introduced files:
sessionCustomizationDiscovery.test|title=SessionCustomizationDiscovery does not fire onDidChange for files outside any trigger URI|occurrence=1 — Ancestor (broader)
Introduced tests:
sessionCustomizationDiscovery.test|title=SessionCustomizationDiscovery fires onDidChange when an existing agent file is modified under a non-recursively watched root|occurrence=1 — Ancestor (broader)
Introduced tests:
sessionCustomizationDiscovery.test|title=SessionCustomizationDiscovery fires onDidChange when fixed hook settings file is modified|occurrence=1 — Ancestor (broader)
Introduced tests:
sessionCustomizationDiscovery.test|title=SessionCustomizationDiscovery fires onDidChange when a new agent file is added under a non-recursively watched root|occurrence=1 — Ancestor (broader)
Introduced tests:
sessionCustomizationDiscovery.test|title=SessionCustomizationDiscovery fires onDidChange when AGENTS.md in the workspace root is modified|occurrence=1 — Ancestor (broader)
Introduced tests:
sessionCustomizationDiscovery.ts ×2 — Ancestor (broader)
Introduced files:
sessionCustomizationDiscovery.test|title=SessionCustomizationDiscovery includes non-README markdown files inside agent folders|occurrence=1 — Ancestor (broader)
Introduced tests:
sessionCustomizationDiscovery.test|title=SessionCustomizationDiscovery discovers hook settings files from fixed workspace locations|occurrence=1 — Ancestor (broader)
Introduced tests:
sessionCustomizationDiscovery.test|title=SessionCustomizationDiscovery excludes exact-case README.md inside agent folders|occurrence=1 — Ancestor (broader)
Introduced tests:
sessionCustomizationDiscovery.ts ×2 — Ancestor (broader)
Introduced files:
sessionCustomizationDiscovery.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
sessionCustomizationDiscovery.ts ×9 — Ancestor (broader)
Introduced files:
sessionCustomizationDiscovery.test|title=SessionCustomizationDiscovery installs watchers for roots that contain discovered customizations|occurrence=1 — Ancestor (broader)
Introduced tests:
sessionCustomizationDiscovery.test|title=SessionCustomizationDiscovery discovers agents, skills, instructions, and hooks across workspace and home roots|occurrence=1 — Ancestor (broader)
Introduced tests:
sessionCustomizationDiscovery.test|title=SessionCustomizationDiscovery returns directories sorted by type and URI|occurrence=1 — Ancestor (broader)
Introduced tests:
sessionCustomizationDiscovery.test|title=SessionCustomizationDiscovery discovers supported agent instruction files in workspace roots|occurrence=1 — Ancestor (broader)
Introduced tests:
sessionCustomizationDiscovery.test|title=SessionCustomizationDiscovery refresh keeps existing watchers when discovered roots are unchanged|occurrence=1 — Ancestor (broader)
Introduced tests:
sessionPluginBundler.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
sessionCustomizationDiscovery.test|title=SessionCustomizationDiscovery does not discover agent instruction files outside supported roots|occurrence=1 — Ancestor (broader)
Introduced tests:
sessionCustomizationDiscovery.test|title=SessionCustomizationDiscovery returns undefined from mapToParsedPlugin when all customizations are agent-instruction files|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgent.ts ×1 — Ancestor (broader)
Introduced files:
sessionCustomizationDiscovery.test|title=SessionCustomizationDiscovery discovers nested .instructions.md files|occurrence=1 — Ancestor (broader)
Introduced tests:
sessionCustomizationDiscovery.ts ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
sessionCustomizationDiscovery.ts ×1 — Ancestor (broader)
Introduced files:
sessionCustomizationDiscovery.ts ×1 — Ancestor (broader)
Introduced files:
sessionCustomizationDiscovery.ts ×6 — Descendant (narrower)
Introduced files:
sessionCustomizationDiscovery.ts ×16 — Descendant (narrower)
Introduced files:
copilotAgent.ts ×185 — Descendant (narrower)
Introduced files:
workspacelessScratchDir.ts ×2 — Descendant (narrower)
Introduced files:
copilotAgentSession.ts ×141 — Descendant (narrower)
Introduced files:
buildSessionEvents.ts ×4 — Descendant (narrower)
Introduced files:
files.ts ×1 — Descendant (narrower)
Introduced files:
inMemoryFilesystemProvider.ts ×1 — Descendant (narrower)
Introduced files:
map.ts ×2 — Descendant (narrower)
Introduced files:
fileService.ts ×1 — Descendant (narrower)
Introduced files:
inMemoryFilesystemProvider.ts ×1 — Descendant (narrower)
Introduced files:
inMemoryFilesystemProvider.ts ×8 — Descendant (narrower)
Introduced files:
fileService.ts ×6 — Descendant (narrower)
Introduced files:
inMemoryFilesystemProvider.ts ×3 — Descendant (narrower)
Introduced files:
fileService.ts ×2 — Descendant (narrower)
Introduced files:
fileService.ts ×1 — Descendant (narrower)
Introduced files:
inMemoryFilesystemProvider.ts ×1 — Descendant (narrower)
Introduced files:
inMemoryFilesystemProvider.ts ×1 — Descendant (narrower)
Introduced files:
inMemoryFilesystemProvider.ts ×6 — Descendant (narrower)
Introduced files:
fileService.ts ×5 — Descendant (narrower)
Introduced files:
fileService.ts ×1 — Descendant (narrower)
Introduced files:
fileService.ts ×3 — Descendant (narrower)
Introduced files:
fileService.ts ×3 — Descendant (narrower)
Introduced files:
copilotSlashCommandCompletionProvider.ts ×6 — Descendant (narrower)
Introduced files:
fileService.ts ×1 — Descendant (narrower)
Introduced files:
fileService.ts ×1 — Descendant (narrower)
Introduced files:
fileService.ts ×6 — Descendant (narrower)
Introduced files:
agentHostProxyResolver.ts ×9 — Descendant (narrower)
Introduced files:
fileService.ts ×1 — Descendant (narrower)
Introduced files:
inMemoryFilesystemProvider.ts ×4 — Descendant (narrower)
Introduced files:
fileService.ts ×1 — Descendant (narrower)
Introduced files:
fileService.ts ×4 — Descendant (narrower)
Introduced files:
fileService.ts ×2 — Descendant (narrower)
Introduced files:
fileService.ts ×1 — Descendant (narrower)
Introduced files:
fileService.ts ×1 — Descendant (narrower)
Introduced files:
inMemoryFilesystemProvider.ts ×20 — Descendant (narrower)
Introduced files:
fileService.ts ×1 — Descendant (narrower)
Introduced files:
fileService.ts ×2 — Descendant (narrower)
Introduced files:
fileService.ts ×5 — Descendant (narrower)
Introduced files:
fileService.ts ×6 — Descendant (narrower)
Introduced files:
fileService.ts ×1 — Descendant (narrower)
Introduced files:
fileService.ts ×2 — Descendant (narrower)
Introduced files:
inMemoryFilesystemProvider.ts ×7 — Descendant (narrower)
Introduced files:
environment.ts ×1 — Descendant (narrower)
Introduced files:
files.ts ×1 — Descendant (narrower)
Introduced files:
log.ts ×72 — Descendant (narrower)
Introduced files:
files.ts ×3 — Descendant (narrower)
Introduced files:
files.ts ×3 — Descendant (narrower)
Introduced files:
instantiationService.test|title=Instantiation Service @Param - fixed args|occurrence=1, instantiationService.test|title=Instantiation Service @Param - simple clase|occurrence=1 — Descendant (narrower)
Introduced tests:
instantiationService.ts ×2 — Descendant (narrower)
Introduced files:
instantiationService.test|title=Instantiation Service service collection, cannot overwrite|occurrence=1 — Descendant (narrower)
Introduced tests:
instantiationService.ts ×1 — Descendant (narrower)
Introduced files:
instantiationService.ts ×2 — Descendant (narrower)
Introduced files:
async.ts ×1 — Descendant (narrower)
Introduced files:
async.ts ×3 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
contextkey.ts ×1 — Descendant (narrower)
Introduced files:
files.ts ×1 — Descendant (narrower)
Introduced files:
files.ts ×3 — Descendant (narrower)
Introduced files:
async.ts ×202 — Descendant (narrower)
Introduced files:
files.ts ×5 — 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 ×1 — Descendant (narrower)
Introduced files:
contextkey.ts ×201 — 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:
devToolsLogger.ts ×24 — Descendant (narrower)
Introduced files:
files.ts ×1 — Descendant (narrower)
Introduced files:
files.ts ×1 — Descendant (narrower)
Introduced files:
files.ts ×1 — Descendant (narrower)
Introduced files:
hash.ts ×6 — Descendant (narrower)
Introduced files:
resources.ts ×2 — Descendant (narrower)
Introduced files:
resources.ts ×1 — Descendant (narrower)
Introduced files:
files.ts ×1 — Descendant (narrower)
Introduced files:
files.ts ×41 — Descendant (narrower)
Introduced files:
resources.ts ×1 — Descendant (narrower)
Introduced files:
map.ts ×1 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×1 — Descendant (narrower)
Introduced files:
resources.ts ×4 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×1 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×5 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×1 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×3 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×1 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×3 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×1 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×2 — Descendant (narrower)
Introduced files:
map.ts ×1 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×1 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×1 — Descendant (narrower)
Introduced files:
map.ts ×1 — Descendant (narrower)
Introduced files:
map.ts ×3 — Descendant (narrower)
Introduced files:
resources.ts ×1 — Descendant (narrower)
Introduced files:
hash.ts ×17 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×1 — Descendant (narrower)
Introduced files:
map.ts ×1 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×1 — Descendant (narrower)
Introduced files:
map.ts ×2 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×1 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×60 — Descendant (narrower)
Introduced files:
resources.ts ×23 — Descendant (narrower)
Introduced files:
map.ts ×1 — Descendant (narrower)
Introduced files:
instantiation.ts ×1 — Descendant (narrower)
Introduced files:
strings.ts ×1 — Descendant (narrower)
Introduced files:
strings.ts ×2 — Descendant (narrower)
Introduced files:
network.ts ×20 — Descendant (narrower)
Introduced files:
instantiation.ts ×1 — Descendant (narrower)
Introduced files:
strings.ts ×101 — Descendant (narrower)
Introduced files:
map.ts ×1 — Descendant (narrower)
Introduced files:
map.ts ×1 — Descendant (narrower)
Introduced files:
map.ts ×1 — Descendant (narrower)
Introduced files:
agentCustomizationMeta.ts ×2 — Descendant (narrower)
Introduced files:
event.ts ×1 — Descendant (narrower)
Introduced files:
map.ts ×2 — Descendant (narrower)
Introduced files:
map.ts ×1 — Descendant (narrower)
Introduced files:
event.ts ×1 — Descendant (narrower)
Introduced files:
event.ts ×5 — Descendant (narrower)
Introduced files:
map.ts ×4 — Descendant (narrower)
Introduced files:
lifecycle.ts ×4 — Descendant (narrower)
Introduced files:
event.ts ×1 — Descendant (narrower)
Introduced files:
event.ts ×1 — Descendant (narrower)
Introduced files:
event.ts ×3 — Descendant (narrower)
Introduced files:
lifecycle.test|title=No Leakage Utilities ensureNoDisposablesAreLeakedInTest Basic Test|occurrence=1 — Descendant (narrower)
Introduced tests:
event.ts ×8 — Descendant (narrower)
Introduced files:
event.ts ×3 — Descendant (narrower)
Introduced files:
cancellation.ts ×18 — 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:
event.ts ×2 — Descendant (narrower)
Introduced files:
event.ts ×93 — Descendant (narrower)
Introduced files:
uri.ts ×3 — Descendant (narrower)
Introduced files:
uri.ts ×1 — Descendant (narrower)
Introduced files:
uri.ts ×1 — Descendant (narrower)
Introduced files:
uri.ts ×5 — Descendant (narrower)
Introduced files:
uri.ts ×2 — Descendant (narrower)
Introduced files:
uri.ts ×1 — Descendant (narrower)
Introduced files:
uri.ts ×1 — Descendant (narrower)
Introduced files:
uri.ts ×1 — Descendant (narrower)
Introduced files:
uri.ts ×1 — Descendant (narrower)
Introduced files:
copilotHome.ts ×2 — Descendant (narrower)
Introduced files:
uri.ts ×1 — Descendant (narrower)
Introduced files:
uri.ts ×1 — Descendant (narrower)
Introduced files:
agentHostGitHubTelemetryRouter.ts ×3 — Descendant (narrower)
Introduced files:
uri.ts ×1 — Descendant (narrower)
Introduced files:
uri.ts ×8 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
uri.ts ×3 — Descendant (narrower)
Introduced files:
copilotGitHubTelemetryForwarder.ts ×3 — Descendant (narrower)
Introduced files:
uri.ts ×1 — 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 ×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:
lazy.test|title=Lazy lazy values should only be resolved once|occurrence=1 — Descendant (narrower)
Introduced tests:
lazy.ts ×1 — Descendant (narrower)
Introduced files:
path.ts ×2 — Descendant (narrower)
Introduced files:
lazy.ts ×4 — Descendant (narrower)
Introduced files:
path.ts ×1 — Descendant (narrower)
Introduced files:
path.ts ×5 — Descendant (narrower)
Introduced files:
uri.ts ×2 — Descendant (narrower)
Introduced files:
equals.ts ×14 — Descendant (narrower)
Introduced files:
types.test|title=Types isUndefinedOrNull|occurrence=1 — Descendant (narrower)
Introduced tests:
uri.ts ×3 — Descendant (narrower)
Introduced files:
arrays.test|title=Arrays coalesce|occurrence=1 — Descendant (narrower)
Introduced tests:
arrays.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 ×2 — Descendant (narrower)
Introduced files:
utils.ts ×3 — Descendant (narrower)
Introduced files:
nls.ts ×1 — Descendant (narrower)
Introduced files:
uri.ts ×1 — Descendant (narrower)
Introduced files:
instantiation.ts ×4 — Descendant (narrower)
Introduced files:
nls.ts ×1 — Descendant (narrower)
Introduced files:
errorMessage.ts ×6 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
objects.ts ×13 — Descendant (narrower)
Introduced files:
performance.ts ×6 — Descendant (narrower)
Introduced files:
instantiation.ts ×5 — Descendant (narrower)
Introduced files:
path.ts ×1 — Descendant (narrower)
Introduced files:
path.ts ×3 — 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:
lazy.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
uuid.ts ×3 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
path.ts ×2 — 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: 9 introduced LOC across 2 ranges.
Expand a file to inspect source; the > gutter marks introduced lines.
src/vs/platform/agentHost/node/copilot/sessionCustomizationDiscovery.ts 9 introduced LOC · 2 ranges
Open complete file
237
this . _register ({ dispose : () => this . _disposeAllWatchers () });
238
this . _register ( this . _fileService . onDidFilesChange ( e => {
240
>
for ( const uri of watcher . resourcesToWatch ) {
241
>
if ( e . affects ( uri )) {
242
>
this . _scheduleRefresh ();
243
>
return ;
244
>
}
245
>
}
246
}
247
}));
249
250
private _scheduleRefresh () : void {
252
>
}
253
254
private async writeCustomizationDiscoveryDebugLog ( payload : Record < string , unknown >) : Promise < void > {