agentHostSlashCompletion.ts ×4
Frontier kind: Code frontier
unlabeled · c_bd6a0c776ec8
53 tests · 21375 LOC · 77 files · introduces 0 tests · 6 LOC · 1 file
Introduces — evidence that enters the hierarchy at this concept
Code
4 ranges 6 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.
agentHostSlashCompletion.ts ×4 — Focused concept
Introduced files:
commands → slash completion (end-to-end) a skill wins over a same-named command (no duplicate completion)|occurrence=1 — Ancestor (broader)
Introduced tests:
<name> completion (pre-session)|occurrence=1 — Ancestor (broader)
Introduced tests:
commands → slash completion (end-to-end) the command survives the live SDK filter once a session materializes|occurrence=1 — Ancestor (broader)
Introduced tests:
commands → slash completion (end-to-end) a command the live SDK did not load is dropped post-materialize|occurrence=1 — Ancestor (broader)
Introduced tests:
commands are surfaced too (pre-session)|occurrence=1 — Ancestor (broader)
Introduced tests:
agentHostSkillCompletionProvider.test|title=AgentHostSkillCompletionProvider fuzzy matches skills by the typed slash token|occurrence=1 — Ancestor (broader)
Introduced tests:
agentHostSkillCompletionProvider.test|title=AgentHostSkillCompletionProvider filters skills by the typed slash prefix and replaces only that token|occurrence=1, agentHostSkillCompletionProvider.test|title=AgentHostSkillCompletionProvider filters skills by an in-message slash prefix and replaces only that token|occurrence=1 — Ancestor (broader)
Introduced tests:
agentHostSkillCompletionProvider.ts ×1 — Ancestor (broader)
Introduced files:
agentHostSkillCompletionProvider.test|title=AgentHostSkillCompletionProvider complete skills from a plugin|occurrence=1 — Ancestor (broader)
Introduced tests:
agentHostSkillCompletionProvider.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
agentHostSkillCompletionProvider.test|title=AgentHostSkillCompletionProvider complete skills from a synced plugin without plugin prefix|occurrence=1, agentHostSkillCompletionProvider.test|title=AgentHostSkillCompletionProvider complete skills from a plugin with the same name as the skill|occurrence=1 — Ancestor (broader)
Introduced tests:
agentHostSkillCompletionProvider.test|title=AgentHostSkillCompletionProvider returns skills for a slash token after whitespace|occurrence=1, agentHostSkillCompletionProvider.test|title=AgentHostSkillCompletionProvider flattens skill children in session-effective order and ignores non-skill children|occurrence=1 — Ancestor (broader)
Introduced tests:
agentHostSkillCompletionProvider.ts ×1 — Ancestor (broader)
Introduced files:
agentHostSkillCompletionProvider.ts ×1 — Ancestor (broader)
Introduced files:
agentCompletionAttachmentMeta.ts ×1 — Ancestor (broader)
Introduced files:
agentHostSkillCompletionProvider.ts ×6 — Ancestor (broader)
Introduced files:
agentHostSkillCompletionProvider.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
agentHostSkillCompletionProvider.ts ×2 — Ancestor (broader)
Introduced files:
agentHostSkillCompletionProvider.ts ×1 — Ancestor (broader)
Introduced files:
agentHostSkillCompletionProvider.ts ×4 — Ancestor (broader)
Introduced files:
agentHostSkillCompletionProvider.test|title=AgentHostSkillCompletionProvider does not complete slash tokens embedded in non-whitespace text|occurrence=1 — Ancestor (broader)
Introduced tests:
agentHostSkillCompletionProvider.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
agentHostSkillCompletionProvider.ts ×4 — Ancestor (broader)
Introduced files:
cc" typed|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotSlashCommandCompletionProvider.test|title=CopilotSlashCommandCompletionProvider runtime skill completions includes runtime skills whose name differs from the prefixed known skill candidate|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotSlashCommandCompletionProvider.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotSlashCommandCompletionProvider.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
" (config-action items filtered)|occurrence=1, mode toggles) for a leading slash|occurrence=1, +3 — Ancestor (broader)
Introduced tests:
copilotSlashCommandCompletionProvider.test|title=CopilotSlashCommandCompletionProvider runtime skill completions does not expand a skill hint into option items|occurrence=1, copilotSlashCommandCompletionProvider.test|title=CopilotSlashCommandCompletionProvider runtime skill completions surfaces the skill prompt hint as an argument hint|occurrence=1, +2 — Ancestor (broader)
Introduced tests:
copilotSlashCommandCompletionProvider.test|title=CopilotSlashCommandCompletionProvider runtime skill completions excludes runtime skills that match a known plugin skill (with plugin prefix)|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotSlashCommandCompletionProvider.test|title=CopilotSlashCommandCompletionProvider runtime skill completions excludes runtime skills that match a known synced plugin skill (no prefix)|occurrence=1, copilotSlashCommandCompletionProvider.test|title=CopilotSlashCommandCompletionProvider runtime skill completions excludes runtime skills that match a known plugin skill with the same name (no prefix)|occurrence=1 — Ancestor (broader)
Introduced tests:
r" typed|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotSlashCommandCompletionProvider.test|title=CopilotSlashCommandCompletionProvider provideCompletionItems range covers only the leading slash word|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotSlashCommandCompletionProvider.test|title=CopilotSlashCommandCompletionProvider provideCompletionItems uses runtime input metadata to determine trailing space insertion|occurrence=1 — Ancestor (broader)
Introduced tests:
p" typed|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotSlashCommandCompletionProvider.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
s" typed|occurrence=1 — Ancestor (broader)
Introduced tests:
c" typed|occurrence=1, e" typed and runtime command exists|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotSlashCommandCompletionProvider.test|title=CopilotSlashCommandCompletionProvider provideCompletionItems includes runtime SDK commands in completion results|occurrence=1, copilotSlashCommandCompletionProvider.test|title=CopilotSlashCommandCompletionProvider provideCompletionItems surfaces the free-text hint as an argument hint when there are no choices|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotSlashCommandCompletionProvider.test|title=CopilotSlashCommandCompletionProvider provideCompletionItems passes raw session id to runtime command listing|occurrence=1 — Ancestor (broader)
Introduced tests:
word does not match any command prefix|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotSlashCommandCompletionProvider.test|title=CopilotSlashCommandCompletionProvider runtime skill completions excludes known skills even for an in-message slash token|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotSlashCommandCompletionProvider.test|title=CopilotSlashCommandCompletionProvider provideCompletionItems returns no completion items when runtime command list is empty|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotSlashCommandCompletionProvider.ts ×1 — Ancestor (broader)
Introduced files:
copilotSlashCommandCompletionProvider.test|title=CopilotSlashCommandCompletionProvider runtime skill completions returns only runtime skills for an in-message slash token|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotSlashCommandCompletionProvider.ts ×1 — Ancestor (broader)
Introduced files:
copilotSlashCommandCompletionProvider.ts ×3 — Ancestor (broader)
Introduced files:
copilotSlashCommandCompletionProvider.ts ×1 — Ancestor (broader)
Introduced files:
copilotSlashCommandCompletionProvider.ts ×1 — Ancestor (broader)
Introduced files:
copilotSlashCommandCompletionProvider.ts ×1 — Ancestor (broader)
Introduced files:
copilotSlashCommandCompletionProvider.ts ×1 — Ancestor (broader)
Introduced files:
copilotSlashCommandCompletionProvider.ts ×4 — Ancestor (broader)
Introduced files:
copilotSlashCommandCompletionProvider.ts ×1 — Ancestor (broader)
Introduced files:
copilotSlashCommandCompletionProvider.ts ×1 — Ancestor (broader)
Introduced files:
copilotSlashCommandCompletionProvider.ts ×1 — Ancestor (broader)
Introduced files:
|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotSlashCommandCompletionProvider.ts ×1 — Ancestor (broader)
Introduced files:
copilotSlashCommandCompletionProvider.ts ×11 — Ancestor (broader)
Introduced files:
copilotSlashCommandCompletionProvider.ts ×2 — Ancestor (broader)
Introduced files:
copilotSlashCommandCompletionProvider.ts ×7 — Ancestor (broader)
Introduced files:
agentHostSlashCompletion.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
agentHostSlashCompletion.ts ×1 — Ancestor (broader)
Introduced files:
copilotSlashCommandCompletionProvider.ts ×1 — Ancestor (broader)
Introduced files:
agentHostSlashCompletion.ts ×1 — Ancestor (broader)
Introduced files:
agentHostSlashCompletion.ts ×3 — Ancestor (broader)
Introduced files:
agentHostSlashCompletion.ts ×1 — Ancestor (broader)
Introduced files:
agentHostSlashCompletion.ts ×1 — Ancestor (broader)
Introduced files:
agentHostFileSystemService.ts ×4 — Descendant (narrower)
Introduced files:
inMemoryFilesystemProvider.ts ×7 — Descendant (narrower)
Introduced files:
label.ts ×1 — Descendant (narrower)
Introduced files:
agentHostSlashCompletion.ts ×1 — Descendant (narrower)
Introduced files:
agentHostSlashCompletion.ts ×4 — Descendant (narrower)
Introduced files:
agentHostCompletions.ts ×5 — Descendant (narrower)
Introduced files:
agentHostFileSystemProvider.ts ×25 — 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:
agentService.ts ×15 — Descendant (narrower)
Introduced files:
files.ts ×41 — Descendant (narrower)
Introduced files:
hash.ts ×17 — Descendant (narrower)
Introduced files:
filters.ts ×47 — 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:
sessionActions.ts ×6 — 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:
event.ts ×1 — Descendant (narrower)
Introduced files:
event.ts ×4 — Descendant (narrower)
Introduced files:
event.ts ×2 — Descendant (narrower)
Introduced files:
agentCompletionAttachmentMeta.ts ×7 — 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:
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:
sessionProtocol.ts ×5 — Descendant (narrower)
Introduced files:
normalization.ts ×5 — Descendant (narrower)
Introduced files:
state.ts ×1 — Descendant (narrower)
Introduced files:
commands.ts ×1 — Descendant (narrower)
Introduced files:
korean.ts ×5 — Descendant (narrower)
Introduced files:
uri.ts ×2 — Descendant (narrower)
Introduced files:
map.ts ×1 — Descendant (narrower)
Introduced files:
uri.ts ×3 — Descendant (narrower)
Introduced files:
actions.ts ×1 — Descendant (narrower)
Introduced files:
map.ts ×1 — Descendant (narrower)
Introduced files:
actions.ts ×1 — Descendant (narrower)
Introduced files:
map.ts ×1 — Descendant (narrower)
Introduced files:
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:
uri.ts ×2 — Descendant (narrower)
Introduced files:
utils.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:
linkedList.ts ×13 — Descendant (narrower)
Introduced files:
nls.ts ×6 — Descendant (narrower)
Introduced files:
instantiation.ts ×5 — Descendant (narrower)
Introduced files:
lifecycle.ts ×2 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×4 — Descendant (narrower)
Introduced files:
lifecycle.ts ×6 — Descendant (narrower)
Introduced files:
lazy.ts ×1 — Descendant (narrower)
Introduced files:
lazy.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:
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: 6 introduced LOC across 4 ranges.
Expand a file to inspect source; the > gutter marks introduced lines.
src/vs/platform/agentHost/node/agentHostSlashCompletion.ts 6 introduced LOC · 4 ranges
Open complete file
48
*/
49
export function extractWhitespaceDelimitedSlashToken ( text : string , offset : number ) : ILeadingSlashToken | undefined {
51
return undefined ;
52
}
54
>
let start = offset ;
55
>
while ( start > 0 && ! isSlashTokenWhitespace ( text . charCodeAt ( start - 1 ))) {
56
start -- ;
57
}
59
return undefined ;
60
}
61
62
let end = start + 1 ;
64
end ++ ;
65
}