fluxy-bot 0.2.10 → 0.2.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fluxy-bot",
3
- "version": "0.2.10",
3
+ "version": "0.2.11",
4
4
  "description": "Self-hosted AI bot — run your own AI assistant from anywhere",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -142,10 +142,7 @@ export async function startSupervisor() {
142
142
  // COMMIT HERE
143
143
  ws.send(JSON.stringify({ type: 'app:rebuilding', data: {} }));
144
144
  log.info('File tools used — rebuilding app...');
145
- const localBin = path.join(PKG_DIR, 'node_modules', '.bin');
146
- const sep = process.platform === 'win32' ? ';' : ':';
147
- const execEnv = { ...process.env, PATH: `${localBin}${sep}${process.env.PATH}` };
148
- exec('npm run build', { cwd: PKG_DIR, env: execEnv }, (err, stdout, stderr) => {
145
+ exec('npm run build', { cwd: PKG_DIR }, (err, stdout, stderr) => {
149
146
  if (err) {
150
147
  const errorMsg = stderr || err.message;
151
148
  log.error(`Build failed: ${errorMsg}`);