feat(ai): optimize tool loops, fix deployments, and integrate new onboarding flow

This commit is contained in:
2026-05-19 12:52:47 -07:00
parent 331312b648
commit 618f7796b2
250 changed files with 2993 additions and 24695 deletions

View File

@@ -0,0 +1,11 @@
const fs = require('fs');
const file = 'app/(onboarding)/onboarding/page.tsx';
let code = fs.readFileSync(file, 'utf8');
code = code.replace(
'try { return localStorage.getItem("vibn:firstName") || ""; } catch { return ""; }',
'try { return typeof window !== "undefined" ? localStorage.getItem("vibn:firstName") || "" : ""; } catch { return ""; }'
);
fs.writeFileSync(file, code);