()
| 4553 | followTarget(target); |
| 4554 | }; |
| 4555 | const askInspector = (): void => { |
| 4556 | if (!inspector.filePath) return; |
| 4557 | setChatAttachment(workspace !== 'explore' && inspector.selection ? { ...inspector.selection, project: inspector.project, id: crypto.randomUUID() } : undefined); |
| 4558 | // Explorer supplies its current source separately, once per request. |
| 4559 | setChatGraphSelection(inspectorChatContext(workspace === 'explore' ? { ...inspector, document: undefined } : inspector, crypto.randomUUID())); |
| 4560 | setBrowserAiOpen(true); |
| 4561 | }; |
| 4562 | const showInspectorGraph = (): void => { |
| 4563 | const node = layout?.nodes.find(entry => inspector.symbol?.qualifiedName |
| 4564 | ? entry.qualified_name === inspector.symbol.qualifiedName |
nothing calls this directly
no test coverage detected