claudeAgent.ts ×2

Frontier kind: Code frontier

unlabeled · c_5cfc9c3732cc

7 tests · 54296 LOC · 346 files · introduces 0 tests · 6 LOC · 1 file

Introduces — evidence that enters the hierarchy at this concept

Code
2 ranges6 lines · 1 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
5027 ranges54296 lines · 346 files · Browse complete extent
All tests (intent)
7 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.

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

src/vs/platform/agentHost/node/claude/claudeAgent.ts 6 introduced LOC · 2 ranges

Open complete file

1982
1983 respondToUserInputRequest(requestId: string, response: ChatInputResponseKind, answers?: Record<string, ChatInputAnswer>): void {
1984 > // `requestId` is the SDK's `tool_use_id` (interactive tools reuse it as claudeAgent.ts
1985 > // the {@link ChatInputRequest.id}); globally unique, so a single
1986 > // matching chat is all we need. Silent on miss for the same reasons as
1987 > // {@link respondToPermissionRequest}.
1988 > for (const sess of this._allLiveSessions()) {
1989 if (sess.respondToUserInputRequest(requestId, response, answers)) {
1990 return;
1991 }
1992 }
1993 > } claudeAgent.ts
1994
1995 /** Every live chat — each session's default chat and its peers. */