chore: generate

This commit is contained in:
opencode-agent[bot] 2026-06-09 18:30:51 +00:00
commit cc52dc396c
20 changed files with 221 additions and 169 deletions

View file

@ -147,10 +147,7 @@ function collectPaths<T>(
return [{ ...result, score: scores[index]?.total ?? 0 }]
})
rows.sort(
(a, b) =>
b.score - a.score ||
a.path.length - b.path.length ||
(a.path < b.path ? -1 : a.path > b.path ? 1 : 0),
(a, b) => b.score - a.score || a.path.length - b.path.length || (a.path < b.path ? -1 : a.path > b.path ? 1 : 0),
)
const seen = new Set<string>()