| 3825 | * Same distinction, same test, as the gather path's `isPreciseToken`. |
| 3826 | */ |
| 3827 | const identityOnly = () => (preciseNamedIds.size === 0 ? EMPTY : { |
| 3828 | text: '', |
| 3829 | pathNodeIds: new Set<string>(), |
| 3830 | namedNodeIds: new Set<string>(preciseNamedIds), |
| 3831 | uniqueNamedNodeIds: new Set<string>([...uniqueNamedNodeIds].filter((id) => preciseNamedIds.has(id))), |
| 3832 | spineCallSites: new Map<string, number>(), |
| 3833 | }); |
| 3834 | if (named.size < 2) { |
| 3835 | // <2 CALLABLES resolved. Two recoveries before giving up: (1) synthesized |
| 3836 | // edges among named CONSTANT/VARIABLE endpoints — RTK thunk→thunk is |