feat(ai): optimize tool loops, fix deployments, and integrate new onboarding flow
This commit is contained in:
12
vibn-frontend/docs/scripts/fix_primitives_errors2.js
Normal file
12
vibn-frontend/docs/scripts/fix_primitives_errors2.js
Normal file
@@ -0,0 +1,12 @@
|
||||
const fs = require('fs');
|
||||
const path = require('path');
|
||||
|
||||
const dir = 'app/(onboarding)/onboarding';
|
||||
let code = fs.readFileSync(path.join(dir, 'onboarding-build.tsx'), 'utf8');
|
||||
|
||||
code = code.replace(
|
||||
/<Arrow size=\{13\} \/>/g,
|
||||
'<svg width="13" height="13" viewBox="0 0 16 16" fill="none" stroke="currentColor" strokeWidth="1.6" strokeLinecap="round" strokeLinejoin="round"><path d="M3 8h10M9 4l4 4-4 4"/></svg>'
|
||||
);
|
||||
|
||||
fs.writeFileSync(path.join(dir, 'onboarding-build.tsx'), code);
|
||||
Reference in New Issue
Block a user