localChatCommand.ts ×3

Frontier kind: Code frontier

unlabeled · c_8dc3d7666b2c

98 tests · 42400 LOC · 237 files · introduces 0 tests · 8 LOC · 2 files

Introduces — evidence that enters the hierarchy at this concept

Code
5 ranges8 lines · 2 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
3999 ranges42400 lines · 237 files · Browse complete extent
All tests (intent)
98 testsBrowse complete intent

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.

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.

Native relationship evidence

Every exact file and test below is linked only from the concept that introduces it.

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.

2 files ranked by introduced lines: 8 introduced LOC across 5 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

src/vs/platform/agentHost/node/localCommands/localChatCommand.ts 5 introduced LOC · 3 ranges

Open complete file

164 */
165 tryHandle(request: ILocalChatCommandRequest): ILocalChatCommandHandling | undefined {
166 > for (const command of this._commands) { localChatCommand.ts
167 > const handling = command.tryHandle(request);
168 > if (handling) {
169 void this._run(command, handling, request);
170 return handling;
171 }
173 return undefined;
175
176 private async _run(command: ILocalChatCommand, handling: ILocalChatCommandHandling, request: ILocalChatCommandRequest): Promise<void> {
src/vs/platform/agentHost/node/localCommands/renameLocalCommand.ts 3 introduced LOC · 2 ranges

Open complete file

27
28 tryHandle(request: ILocalChatCommandRequest): ILocalChatCommandHandling | undefined {
29 > const title = parseRenameCommand(request.text); renameLocalCommand.ts
30 > if (title === undefined) {
31 return undefined;
32 }
33 return { run: async () => this._run(request.turnChannel, request.turnId, title), suggestedTitle: title };
35
36 private _run(channel: ProtocolURI, turnId: string, title: string): void {