claudeSubagentSignals.ts ×2

Frontier kind: Joint frontier

unlabeled · c_20e786e14232

1 test · 24626 LOC · 107 files · introduces 1 test · 44 LOC · 1 file

Introduces — evidence that enters the hierarchy at this concept

Code
2 ranges44 lines · 1 files
Tests
1 test

Contains — complete concept membership

All code (extent)
2059 ranges24626 lines · 107 files · Browse complete extent
All tests (intent)
1 testBrowse 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.

1 test introduced at this concept.

Introduced code

Every collected source range enters the hierarchy at exactly one concept.

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

src/vs/platform/agentHost/node/claude/claudeSubagentSignals.ts 44 introduced LOC · 2 ranges

Open complete file

237 continue;
238 }
239 > if (block.type === 'thinking') { claudeSubagentSignals.ts
240 signals.push({
241 kind: 'action',
253 continue;
254 }
255 > if (block.type === 'tool_use') { claudeSubagentSignals.ts
256 > // Strip the in-process MCP server prefix so subagent client-tool
257 > // calls render with their real name (matches the top-level stream
258 > // mapper). SDK-owned tools and Task/Agent passes through unchanged.
259 > const toolName = stripClientToolNamePrefix(block.name);
260 > state.startToolBlock(index, block.id, toolName, turnId);
261 > // Inner tool input arrives pre-parsed on the synthesized
262 > // `assistant` message (not via `input_json_delta` chunks), so
263 > // seed the registry directly. Without this the live
264 > // `tool_result` handler falls back to a generic
265 > // `"{displayName} finished"` past-tense and replay (which
266 > // always computes rich text) drifts from live — violating D6.
267 > state.toolCalls.seedParsedInput(block.id, block.input);
268 > registry.noteInnerTool(block.id, parentToolUseId);
269 > const displayName = getClaudeToolDisplayName(toolName);
270 > const meta = buildClaudeToolMeta(toolName);
271 > const toolInputStr = getClaudeToolInputString(toolName, block.input);
272 > signals.push({
273 > kind: 'action',
274 > resource: chat,
275 > action: {
276 > type: ActionType.ChatToolCallStart,
277 > turnId,
278 > toolCallId: block.id,
279 > toolName,
280 > displayName,
281 > ...(meta ? { _meta: meta } : {}),
282 > },
283 > });
284 > signals.push({
285 > kind: 'action',
286 > resource: chat,
287 > action: {
288 > type: ActionType.ChatToolCallReady,
289 > turnId,
290 > toolCallId: block.id,
291 > invocationMessage: getClaudeInvocationMessage(toolName, displayName, block.input),
292 > ...(toolInputStr !== undefined ? { toolInput: toolInputStr } : {}),
293 > confirmed: ToolCallConfirmationReason.NotNeeded,
294 > },
295 > });
296 > continue;
297 > }
298 // Unknown inner block kind — skip silently (caller will trace at
299 // the mapper level if needed; we don't want to import ILogService