A desktop coding agent with free access to frontier models.
TypeScript
fix: scan folders in name order
ogsamrat58acb7366e81
diff --git a/apps/server/src/box/host-builds.ts b/apps/server/src/box/host-builds.tsindex ea91df6b..e51366cd 100644--- a/apps/server/src/box/host-builds.ts+++ b/apps/server/src/box/host-builds.ts@@ -111,7 +111,8 @@ export function scanHostBuilds(root: string, { platform = process.platform, limiif (over()) return [];result.scanned += 1;try {- const entries = readdirSync(dir, { withFileTypes: true });+ // By name, so the same folder gives the same first hit on every filesystem.+ const entries = readdirSync(dir, { withFileTypes: true }).sort((a, b) => (a.name < b.name ? -1 : a.name > b.name ? 1 : 0));result.scanned += entries.length;return entries;} catch {