agentHostResourceService.ts ×1
Frontier kind: Code frontier
unlabeled · c_6e7ddec8f7d0
32 tests · 21099 LOC · 106 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.
agentHostResourceService.ts ×1 — Focused concept
Introduced files:
agentHostResourceService.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
agentHostResourceService.test|title=AgentHostResourceService allowAlways covers immediate retry without waiting for the settings write|occurrence=1 — Ancestor (broader)
Introduced tests:
agentHostResourceService.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
agentHostResourceService.test|title=AgentHostResourceService allow for write also covers read on the same URI|occurrence=1 — Ancestor (broader)
Introduced tests:
agentHostResourceService.test|title=AgentHostResourceService allow grants in-memory until connection closes|occurrence=1 — Ancestor (broader)
Introduced tests:
agentHostResourceService.test|title=AgentHostResourceService allowAlways persists the grant|occurrence=1, agentHostResourceService.test|title=AgentHostResourceService allowAlways defaults to APPLICATION scope when no value is configured anywhere|occurrence=1 — Ancestor (broader)
Introduced tests:
agentHostResourceService.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
agentHostResourceService.test|title=AgentHostResourceService allow for read does not grant write|occurrence=1 — Ancestor (broader)
Introduced tests:
agentHostResourceService.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
agentHostResourceService.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
agentHostResourceService.ts ×3 — Ancestor (broader)
Introduced files:
agentHostResourceService.ts ×1 — Ancestor (broader)
Introduced files:
agentHostResourceService.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
agentHostResourceService.ts ×1 — Ancestor (broader)
Introduced files:
agentHostResourceService.test|title=AgentHostResourceService request with both read and write prompts sequentially|occurrence=1 — Ancestor (broader)
Introduced tests:
agentHostResourceService.ts ×8 — Ancestor (broader)
Introduced files:
agentHostResourceService.test|title=AgentHostResourceService write request that already has read grant still prompts for write|occurrence=1 — Ancestor (broader)
Introduced tests:
agentHostResourceService.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
agentHostResourceService.ts ×3 — Ancestor (broader)
Introduced files:
Introduced tests:
agentHostResourceService.ts ×2 — Ancestor (broader)
Introduced files:
agentHostResourceService.test|title=AgentHostResourceService request resolves immediately when already granted|occurrence=1 — Ancestor (broader)
Introduced tests:
agentHostResourceService.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
agentHostResourceService.ts ×2 — Ancestor (broader)
Introduced files:
agentHostResourceService.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
agentHostResourceService.ts ×3 — Ancestor (broader)
Introduced files:
agentHostResourceService.ts ×1 — Ancestor (broader)
Introduced files:
agentHostResourceService.test|title=AgentHostResourceService grants for one host do not leak into another host|occurrence=1 — Ancestor (broader)
Introduced tests:
agentHostResourceService.test|title=AgentHostResourceService persisted "r" allows read, denies write|occurrence=1 — Ancestor (broader)
Introduced tests:
agentHostResourceService.test|title=AgentHostResourceService allowAlways skips persistence when covered by parent grant|occurrence=1 — Ancestor (broader)
Introduced tests:
agentHostResourceService.test|title=AgentHostResourceService persisted "rw" allows read and write|occurrence=1 — Ancestor (broader)
Introduced tests:
agentHostResourceService.ts ×1 — Ancestor (broader)
Introduced files:
agentHostResourceService.ts ×3 — Ancestor (broader)
Introduced files:
agentHostResourceService.ts ×1 — Ancestor (broader)
Introduced files:
prefix|occurrence=1 — Ancestor (broader)
Introduced tests:
agentHostResourceService.ts ×1 — Ancestor (broader)
Introduced files:
agentHostResourceService.test|title=AgentHostResourceService check rejects path traversal via .. segments|occurrence=1 — Ancestor (broader)
Introduced tests:
agentHostResourceService.test|title=AgentHostResourceService connectionClosed drops implicit grants|occurrence=1 — Ancestor (broader)
Introduced tests:
agentHostResourceService.ts ×1 — Ancestor (broader)
Introduced files:
agentHostResourceService.ts ×1 — Ancestor (broader)
Introduced files:
agentHostResourceService.test|title=AgentHostResourceService implicit read grant covers descendants but not parent or sibling|occurrence=1 — Ancestor (broader)
Introduced tests:
agentHostResourceService.ts ×5 — Ancestor (broader)
Introduced files:
agentHostResourceService.test|title=AgentHostResourceService grantImplicitRead asynchronously upgrades to realpath|occurrence=1, agentHostResourceService.test|title=AgentHostResourceService check canonicalizes via realpath so symlink to outside the grant is denied|occurrence=1, +1 — Ancestor (broader)
Introduced tests:
agentHostResourceService.ts ×1 — Ancestor (broader)
Introduced files:
agentHostResourceService.ts ×2 — Ancestor (broader)
Introduced files:
agentHostResourceService.ts ×1 — Ancestor (broader)
Introduced files:
agentHostResourceService.test|title=AgentHostResourceService implicit grant does not allow write|occurrence=1 — Ancestor (broader)
Introduced tests:
agentHostResourceService.ts ×4 — Ancestor (broader)
Introduced files:
agentHostResourceService.ts ×1 — Ancestor (broader)
Introduced files:
agentHostResourceService.test|title=AgentHostResourceService check denies when no grant exists|occurrence=1 — Ancestor (broader)
Introduced tests:
agentHostResourceService.ts ×28 — Descendant (narrower)
Introduced files:
agentHostUri.ts ×2 — Descendant (narrower)
Introduced files:
log.ts ×1 — Descendant (narrower)
Introduced files:
log.ts ×72 — Descendant (narrower)
Introduced files:
agentHostUri.ts ×5 — Descendant (narrower)
Introduced files:
buffer.test|title=Buffer Performance issue with VSBuffer#slice #76076|occurrence=1 — Descendant (narrower)
Introduced tests:
contextkey.ts ×1 — Descendant (narrower)
Introduced files:
contextkey.ts ×3 — 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:
observableValue.ts ×1 — Descendant (narrower)
Introduced files:
observableValue.ts ×3 — Descendant (narrower)
Introduced files:
observableValue.ts ×1 — Descendant (narrower)
Introduced files:
debugLocation.ts ×2 — 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:
testConfigurationService.ts ×3 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×1 — Descendant (narrower)
Introduced files:
testConfigurationService.ts ×10 — Descendant (narrower)
Introduced files:
configuration.ts ×1 — Descendant (narrower)
Introduced files:
configuration.ts ×2 — Descendant (narrower)
Introduced files:
resources.ts ×1 — 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:
files.ts ×41 — Descendant (narrower)
Introduced files:
resources.ts ×4 — 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:
ternarySearchTree.ts ×1 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×60 — Descendant (narrower)
Introduced files:
resources.ts ×23 — Descendant (narrower)
Introduced files:
extensions.ts ×1 — Descendant (narrower)
Introduced files:
network.ts ×20 — Descendant (narrower)
Introduced files:
descriptors.ts ×1 — Descendant (narrower)
Introduced files:
strings.test|title=Strings trimWhitespace|occurrence=1 — Descendant (narrower)
Introduced tests:
extpath.ts ×17 — Descendant (narrower)
Introduced files:
instantiation.ts ×1 — Descendant (narrower)
Introduced files:
descriptors.ts ×2 — Descendant (narrower)
Introduced files:
strings.ts ×101 — Descendant (narrower)
Introduced files:
configurationRegistry.ts ×40 — Descendant (narrower)
Introduced files:
jsonContributionRegistry.ts ×9 — Descendant (narrower)
Introduced files:
sessionState.ts ×57 — 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:
buffer.ts ×42 — Descendant (narrower)
Introduced files:
scanner.ts ×13 — Descendant (narrower)
Introduced files:
scanner.ts ×3 — Descendant (narrower)
Introduced files:
uri.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 ×1 — Descendant (narrower)
Introduced files:
uri.ts ×1 — Descendant (narrower)
Introduced files:
scanner.ts ×36 — 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 ×14 — Descendant (narrower)
Introduced files:
uri.ts ×1 — Descendant (narrower)
Introduced files:
uri.ts ×1 — Descendant (narrower)
Introduced files:
uri.ts ×6 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — 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 ×3 — 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:
state.ts ×1 — Descendant (narrower)
Introduced files:
utils.ts ×1 — Descendant (narrower)
Introduced files:
commands.ts ×1 — Descendant (narrower)
Introduced files:
uri.ts ×3 — Descendant (narrower)
Introduced files:
uri.ts ×2 — 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:
uri.ts ×3 — Descendant (narrower)
Introduced files:
platform.ts ×1 — Descendant (narrower)
Introduced files:
types.test|title=Types isString|occurrence=1 — Descendant (narrower)
Introduced tests:
state.ts ×1 — Descendant (narrower)
Introduced files:
state.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:
uri.ts ×2 — Descendant (narrower)
Introduced files:
utils.ts ×3 — Descendant (narrower)
Introduced files:
path.ts ×3 — Descendant (narrower)
Introduced files:
uri.ts ×1 — Descendant (narrower)
Introduced files:
instantiation.ts ×4 — Descendant (narrower)
Introduced files:
uri.ts ×9 — 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:
linkedList.ts ×13 — Descendant (narrower)
Introduced files:
nls.ts ×6 — Descendant (narrower)
Introduced files:
instantiation.ts ×5 — Descendant (narrower)
Introduced files:
path.ts ×1 — Descendant (narrower)
Introduced files:
platform.ts ×5 — Descendant (narrower)
Introduced files:
path.ts ×3 — Descendant (narrower)
Introduced files:
path.ts ×3 — 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 ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×3 — Descendant (narrower)
Introduced files:
path.ts ×1 — Descendant (narrower)
Introduced files:
types.ts ×2 — 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:
path.ts ×6 — 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:
path.ts ×2 — 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/workbench/services/agentHost/common/agentHostResourceService.ts 2 introduced LOC · 1 range
Open complete file
360
const real = await this . _fileService . realpath ( normalized ). catch (() => undefined );
361
if ( real ) {
363
>
}
364
const parent = extUri . dirname ( normalized );
365
if ( extUri . isEqual ( parent , normalized )) {