reducer.ts ×3

Frontier kind: Code frontier

unlabeled · c_9eebeecf411d

28 tests · 11597 LOC · 50 files · introduces 0 tests · 13 LOC · 1 file

Introduces — evidence that enters the hierarchy at this concept

Code
3 ranges13 lines · 1 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
743 ranges11597 lines · 50 files · Browse complete extent
All tests (intent)
28 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: 13 introduced LOC across 3 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

src/vs/platform/agentHost/common/state/protocol/channels-chat/reducer.ts 13 introduced LOC · 3 ranges

Open complete file

499 return tc;
500 }
501 > // A tool call in `auth-required` can only be completed with a failed reducer.ts
502 > // result — that's the client cancelling the invocation instead of
503 > // resolving the pending MCP authentication challenge. A *successful*
504 > // completion from `auth-required` is invalid: execution never
505 > // resumed after the challenge, so there's nothing that could have
506 > // produced a real result. The reducer ignores it, leaving the tool
507 > // call in `auth-required`; the client must resolve the auth
508 > // challenge (`chat/toolCallAuthResolved`) before completing
509 > // successfully.
510 if (tc.status === ToolCallStatus.AuthRequired && action.result.success) {
511 return tc;
512 }
513 > const base = tcBaseWithMeta(tc, action._meta); reducer.ts
514 > const confirmed = tc.status === ToolCallStatus.Running || tc.status === ToolCallStatus.AuthRequired
515 > ? tc.confirmed
516 : ToolCallConfirmationReason.NotNeeded;
517 const selectedOption = tc.status === ToolCallStatus.Running || tc.status === ToolCallStatus.AuthRequired
518 > ? tc.selectedOption reducer.ts
519 : undefined;
520 // Preserve any partial content produced before the call paused for