MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / askInspector

Function askInspector

graph-ui/src/App.tsx:4555–4561  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

inspectorChatContextFunction · 0.90

Tested by

no test coverage detected