chore(street-level): format; drop nearest.js from tool configs

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
German KhokhlovandClaude Opus 5.5 committed 2026-10-08 15:07:32 +04:00
1 parent affa2164e0
commit 1db3290e0b
6 files changed
+18 -13

No files matched your search

+5 -1
View File
@@ -284,7 +284,11 @@ const findPick = (page, prefix, { box = null, step = 3 } = {}) =>
for (let px = x; px < x + w; px += stride) {
const id = scene.pick({ x: px, y: py })?.id;
if (typeof id === 'string' && id.startsWith(want))
return { x: rect.left + px, y: rect.top + py, local: { x: px, y: py } };
return {
x: rect.left + px,
y: rect.top + py,
local: { x: px, y: py },
};
}
return null;
},