@askexenow/exe-os 0.8.91 → 0.8.92

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.
Files changed (44) hide show
  1. package/dist/bin/backfill-conversations.js +3 -1
  2. package/dist/bin/backfill-responses.js +3 -1
  3. package/dist/bin/backfill-vectors.js +3 -1
  4. package/dist/bin/cli.js +3 -1
  5. package/dist/bin/exe-assign.js +3 -1
  6. package/dist/bin/exe-boot.js +3 -1
  7. package/dist/bin/exe-gateway.js +3 -1
  8. package/dist/bin/exe-link.js +3 -1
  9. package/dist/bin/exe-rename.js +3 -1
  10. package/dist/bin/exe-search.js +3 -1
  11. package/dist/bin/exe-session-cleanup.js +3 -1
  12. package/dist/bin/git-sweep.js +3 -1
  13. package/dist/bin/scan-tasks.js +3 -1
  14. package/dist/bin/setup.js +3 -1
  15. package/dist/gateway/index.js +3 -1
  16. package/dist/hooks/commit-complete.js +3 -1
  17. package/dist/hooks/error-recall.js +3 -1
  18. package/dist/hooks/ingest-worker.js +3 -1
  19. package/dist/hooks/instructions-loaded.js +3 -1
  20. package/dist/hooks/notification.js +3 -1
  21. package/dist/hooks/post-compact.js +3 -1
  22. package/dist/hooks/pre-compact.js +3 -1
  23. package/dist/hooks/pre-tool-use.js +3 -1
  24. package/dist/hooks/prompt-ingest-worker.js +3 -1
  25. package/dist/hooks/prompt-submit.js +3 -1
  26. package/dist/hooks/response-ingest-worker.js +3 -1
  27. package/dist/hooks/session-end.js +3 -1
  28. package/dist/hooks/session-start.js +3 -1
  29. package/dist/hooks/stop.js +3 -1
  30. package/dist/hooks/subagent-stop.js +3 -1
  31. package/dist/hooks/summary-worker.js +3 -1
  32. package/dist/index.js +3 -1
  33. package/dist/lib/cloud-sync.js +3 -1
  34. package/dist/lib/database.js +3 -1
  35. package/dist/lib/db-daemon-client.js +3 -1
  36. package/dist/lib/device-registry.js +3 -1
  37. package/dist/lib/embedder.js +3 -1
  38. package/dist/lib/exe-daemon-client.js +3 -1
  39. package/dist/lib/exe-daemon.js +3 -1
  40. package/dist/lib/hybrid-search.js +3 -1
  41. package/dist/mcp/server.js +3 -1
  42. package/dist/runtime/index.js +3 -1
  43. package/dist/tui/App.js +3 -1
  44. package/package.json +1 -1
@@ -1782,7 +1782,9 @@ function spawnDaemon() {
1782
1782
  stderrFd = openSync(logPath, "a");
1783
1783
  } catch {
1784
1784
  }
1785
- const child = spawn(process.execPath, [resolvedPath], {
1785
+ const heapCapMB = totalGB <= 8 ? 256 : 512;
1786
+ const nodeArgs = [`--max-old-space-size=${heapCapMB}`, resolvedPath];
1787
+ const child = spawn(process.execPath, nodeArgs, {
1786
1788
  detached: true,
1787
1789
  stdio: ["ignore", "ignore", stderrFd],
1788
1790
  env: {
@@ -1782,7 +1782,9 @@ function spawnDaemon() {
1782
1782
  stderrFd = openSync(logPath, "a");
1783
1783
  } catch {
1784
1784
  }
1785
- const child = spawn(process.execPath, [resolvedPath], {
1785
+ const heapCapMB = totalGB <= 8 ? 256 : 512;
1786
+ const nodeArgs = [`--max-old-space-size=${heapCapMB}`, resolvedPath];
1787
+ const child = spawn(process.execPath, nodeArgs, {
1786
1788
  detached: true,
1787
1789
  stdio: ["ignore", "ignore", stderrFd],
1788
1790
  env: {
@@ -1784,7 +1784,9 @@ function spawnDaemon() {
1784
1784
  stderrFd = openSync(logPath, "a");
1785
1785
  } catch {
1786
1786
  }
1787
- const child = spawn(process.execPath, [resolvedPath], {
1787
+ const heapCapMB = totalGB <= 8 ? 256 : 512;
1788
+ const nodeArgs = [`--max-old-space-size=${heapCapMB}`, resolvedPath];
1789
+ const child = spawn(process.execPath, nodeArgs, {
1788
1790
  detached: true,
1789
1791
  stdio: ["ignore", "ignore", stderrFd],
1790
1792
  env: {
package/dist/bin/cli.js CHANGED
@@ -1482,7 +1482,9 @@ function spawnDaemon() {
1482
1482
  stderrFd = openSync(logPath, "a");
1483
1483
  } catch {
1484
1484
  }
1485
- const child = spawn(process.execPath, [resolvedPath], {
1485
+ const heapCapMB = totalGB <= 8 ? 256 : 512;
1486
+ const nodeArgs = [`--max-old-space-size=${heapCapMB}`, resolvedPath];
1487
+ const child = spawn(process.execPath, nodeArgs, {
1486
1488
  detached: true,
1487
1489
  stdio: ["ignore", "ignore", stderrFd],
1488
1490
  env: {
@@ -338,7 +338,9 @@ function spawnDaemon() {
338
338
  stderrFd = openSync(logPath, "a");
339
339
  } catch {
340
340
  }
341
- const child = spawn(process.execPath, [resolvedPath], {
341
+ const heapCapMB = totalGB <= 8 ? 256 : 512;
342
+ const nodeArgs = [`--max-old-space-size=${heapCapMB}`, resolvedPath];
343
+ const child = spawn(process.execPath, nodeArgs, {
342
344
  detached: true,
343
345
  stdio: ["ignore", "ignore", stderrFd],
344
346
  env: {
@@ -522,7 +522,9 @@ function spawnDaemon() {
522
522
  stderrFd = openSync(logPath, "a");
523
523
  } catch {
524
524
  }
525
- const child = spawn(process.execPath, [resolvedPath], {
525
+ const heapCapMB = totalGB <= 8 ? 256 : 512;
526
+ const nodeArgs = [`--max-old-space-size=${heapCapMB}`, resolvedPath];
527
+ const child = spawn(process.execPath, nodeArgs, {
526
528
  detached: true,
527
529
  stdio: ["ignore", "ignore", stderrFd],
528
530
  env: {
@@ -1928,7 +1928,9 @@ function spawnDaemon() {
1928
1928
  stderrFd = openSync(logPath, "a");
1929
1929
  } catch {
1930
1930
  }
1931
- const child = spawn(process.execPath, [resolvedPath], {
1931
+ const heapCapMB = totalGB <= 8 ? 256 : 512;
1932
+ const nodeArgs = [`--max-old-space-size=${heapCapMB}`, resolvedPath];
1933
+ const child = spawn(process.execPath, nodeArgs, {
1932
1934
  detached: true,
1933
1935
  stdio: ["ignore", "ignore", stderrFd],
1934
1936
  env: {
@@ -673,7 +673,9 @@ function spawnDaemon() {
673
673
  stderrFd = openSync(logPath, "a");
674
674
  } catch {
675
675
  }
676
- const child = spawn(process.execPath, [resolvedPath], {
676
+ const heapCapMB = totalGB <= 8 ? 256 : 512;
677
+ const nodeArgs = [`--max-old-space-size=${heapCapMB}`, resolvedPath];
678
+ const child = spawn(process.execPath, nodeArgs, {
677
679
  detached: true,
678
680
  stdio: ["ignore", "ignore", stderrFd],
679
681
  env: {
@@ -357,7 +357,9 @@ function spawnDaemon() {
357
357
  stderrFd = openSync(logPath, "a");
358
358
  } catch {
359
359
  }
360
- const child = spawn(process.execPath, [resolvedPath], {
360
+ const heapCapMB = totalGB <= 8 ? 256 : 512;
361
+ const nodeArgs = [`--max-old-space-size=${heapCapMB}`, resolvedPath];
362
+ const child = spawn(process.execPath, nodeArgs, {
361
363
  detached: true,
362
364
  stdio: ["ignore", "ignore", stderrFd],
363
365
  env: {
@@ -2754,7 +2754,9 @@ function spawnDaemon() {
2754
2754
  stderrFd = openSync(logPath, "a");
2755
2755
  } catch {
2756
2756
  }
2757
- const child = spawn(process.execPath, [resolvedPath], {
2757
+ const heapCapMB = totalGB <= 8 ? 256 : 512;
2758
+ const nodeArgs = [`--max-old-space-size=${heapCapMB}`, resolvedPath];
2759
+ const child = spawn(process.execPath, nodeArgs, {
2758
2760
  detached: true,
2759
2761
  stdio: ["ignore", "ignore", stderrFd],
2760
2762
  env: {
@@ -481,7 +481,9 @@ function spawnDaemon() {
481
481
  stderrFd = openSync(logPath, "a");
482
482
  } catch {
483
483
  }
484
- const child = spawn(process.execPath, [resolvedPath], {
484
+ const heapCapMB = totalGB <= 8 ? 256 : 512;
485
+ const nodeArgs = [`--max-old-space-size=${heapCapMB}`, resolvedPath];
486
+ const child = spawn(process.execPath, nodeArgs, {
485
487
  detached: true,
486
488
  stdio: ["ignore", "ignore", stderrFd],
487
489
  env: {
@@ -753,7 +753,9 @@ function spawnDaemon() {
753
753
  stderrFd = openSync(logPath, "a");
754
754
  } catch {
755
755
  }
756
- const child = spawn(process.execPath, [resolvedPath], {
756
+ const heapCapMB = totalGB <= 8 ? 256 : 512;
757
+ const nodeArgs = [`--max-old-space-size=${heapCapMB}`, resolvedPath];
758
+ const child = spawn(process.execPath, nodeArgs, {
757
759
  detached: true,
758
760
  stdio: ["ignore", "ignore", stderrFd],
759
761
  env: {
@@ -753,7 +753,9 @@ function spawnDaemon() {
753
753
  stderrFd = openSync(logPath, "a");
754
754
  } catch {
755
755
  }
756
- const child = spawn(process.execPath, [resolvedPath], {
756
+ const heapCapMB = totalGB <= 8 ? 256 : 512;
757
+ const nodeArgs = [`--max-old-space-size=${heapCapMB}`, resolvedPath];
758
+ const child = spawn(process.execPath, nodeArgs, {
757
759
  detached: true,
758
760
  stdio: ["ignore", "ignore", stderrFd],
759
761
  env: {
package/dist/bin/setup.js CHANGED
@@ -482,7 +482,9 @@ function spawnDaemon() {
482
482
  stderrFd = openSync(logPath, "a");
483
483
  } catch {
484
484
  }
485
- const child = spawn(process.execPath, [resolvedPath], {
485
+ const heapCapMB = totalGB <= 8 ? 256 : 512;
486
+ const nodeArgs = [`--max-old-space-size=${heapCapMB}`, resolvedPath];
487
+ const child = spawn(process.execPath, nodeArgs, {
486
488
  detached: true,
487
489
  stdio: ["ignore", "ignore", stderrFd],
488
490
  env: {
@@ -1921,7 +1921,9 @@ function spawnDaemon() {
1921
1921
  stderrFd = openSync(logPath, "a");
1922
1922
  } catch {
1923
1923
  }
1924
- const child = spawn(process.execPath, [resolvedPath], {
1924
+ const heapCapMB = totalGB <= 8 ? 256 : 512;
1925
+ const nodeArgs = [`--max-old-space-size=${heapCapMB}`, resolvedPath];
1926
+ const child = spawn(process.execPath, nodeArgs, {
1925
1927
  detached: true,
1926
1928
  stdio: ["ignore", "ignore", stderrFd],
1927
1929
  env: {
@@ -752,7 +752,9 @@ function spawnDaemon() {
752
752
  stderrFd = openSync(logPath, "a");
753
753
  } catch {
754
754
  }
755
- const child = spawn(process.execPath, [resolvedPath], {
755
+ const heapCapMB = totalGB <= 8 ? 256 : 512;
756
+ const nodeArgs = [`--max-old-space-size=${heapCapMB}`, resolvedPath];
757
+ const child = spawn(process.execPath, nodeArgs, {
756
758
  detached: true,
757
759
  stdio: ["ignore", "ignore", stderrFd],
758
760
  env: {
@@ -2756,7 +2756,9 @@ function spawnDaemon() {
2756
2756
  stderrFd = openSync(logPath, "a");
2757
2757
  } catch {
2758
2758
  }
2759
- const child = spawn(process.execPath, [resolvedPath], {
2759
+ const heapCapMB = totalGB <= 8 ? 256 : 512;
2760
+ const nodeArgs = [`--max-old-space-size=${heapCapMB}`, resolvedPath];
2761
+ const child = spawn(process.execPath, nodeArgs, {
2760
2762
  detached: true,
2761
2763
  stdio: ["ignore", "ignore", stderrFd],
2762
2764
  env: {
@@ -553,7 +553,9 @@ function spawnDaemon() {
553
553
  stderrFd = openSync(logPath, "a");
554
554
  } catch {
555
555
  }
556
- const child = spawn(process.execPath, [resolvedPath], {
556
+ const heapCapMB = totalGB <= 8 ? 256 : 512;
557
+ const nodeArgs = [`--max-old-space-size=${heapCapMB}`, resolvedPath];
558
+ const child = spawn(process.execPath, nodeArgs, {
557
559
  detached: true,
558
560
  stdio: ["ignore", "ignore", stderrFd],
559
561
  env: {
@@ -381,7 +381,9 @@ function spawnDaemon() {
381
381
  stderrFd = openSync(logPath, "a");
382
382
  } catch {
383
383
  }
384
- const child = spawn(process.execPath, [resolvedPath], {
384
+ const heapCapMB = totalGB <= 8 ? 256 : 512;
385
+ const nodeArgs = [`--max-old-space-size=${heapCapMB}`, resolvedPath];
386
+ const child = spawn(process.execPath, nodeArgs, {
385
387
  detached: true,
386
388
  stdio: ["ignore", "ignore", stderrFd],
387
389
  env: {
@@ -390,7 +390,9 @@ function spawnDaemon() {
390
390
  stderrFd = openSync(logPath, "a");
391
391
  } catch {
392
392
  }
393
- const child = spawn(process.execPath, [resolvedPath], {
393
+ const heapCapMB = totalGB <= 8 ? 256 : 512;
394
+ const nodeArgs = [`--max-old-space-size=${heapCapMB}`, resolvedPath];
395
+ const child = spawn(process.execPath, nodeArgs, {
394
396
  detached: true,
395
397
  stdio: ["ignore", "ignore", stderrFd],
396
398
  env: {
@@ -624,7 +624,9 @@ function spawnDaemon() {
624
624
  stderrFd = openSync(logPath, "a");
625
625
  } catch {
626
626
  }
627
- const child = spawn(process.execPath, [resolvedPath], {
627
+ const heapCapMB = totalGB <= 8 ? 256 : 512;
628
+ const nodeArgs = [`--max-old-space-size=${heapCapMB}`, resolvedPath];
629
+ const child = spawn(process.execPath, nodeArgs, {
628
630
  detached: true,
629
631
  stdio: ["ignore", "ignore", stderrFd],
630
632
  env: {
@@ -752,7 +752,9 @@ function spawnDaemon() {
752
752
  stderrFd = openSync(logPath, "a");
753
753
  } catch {
754
754
  }
755
- const child = spawn(process.execPath, [resolvedPath], {
755
+ const heapCapMB = totalGB <= 8 ? 256 : 512;
756
+ const nodeArgs = [`--max-old-space-size=${heapCapMB}`, resolvedPath];
757
+ const child = spawn(process.execPath, nodeArgs, {
756
758
  detached: true,
757
759
  stdio: ["ignore", "ignore", stderrFd],
758
760
  env: {
@@ -791,7 +791,9 @@ function spawnDaemon() {
791
791
  stderrFd = openSync(logPath, "a");
792
792
  } catch {
793
793
  }
794
- const child = spawn(process.execPath, [resolvedPath], {
794
+ const heapCapMB = totalGB <= 8 ? 256 : 512;
795
+ const nodeArgs = [`--max-old-space-size=${heapCapMB}`, resolvedPath];
796
+ const child = spawn(process.execPath, nodeArgs, {
795
797
  detached: true,
796
798
  stdio: ["ignore", "ignore", stderrFd],
797
799
  env: {
@@ -1852,7 +1852,9 @@ function spawnDaemon() {
1852
1852
  stderrFd = openSync(logPath, "a");
1853
1853
  } catch {
1854
1854
  }
1855
- const child = spawn(process.execPath, [resolvedPath], {
1855
+ const heapCapMB = totalGB <= 8 ? 256 : 512;
1856
+ const nodeArgs = [`--max-old-space-size=${heapCapMB}`, resolvedPath];
1857
+ const child = spawn(process.execPath, nodeArgs, {
1856
1858
  detached: true,
1857
1859
  stdio: ["ignore", "ignore", stderrFd],
1858
1860
  env: {
@@ -2791,7 +2791,9 @@ function spawnDaemon() {
2791
2791
  stderrFd = openSync(logPath, "a");
2792
2792
  } catch {
2793
2793
  }
2794
- const child = spawn(process.execPath, [resolvedPath], {
2794
+ const heapCapMB = totalGB <= 8 ? 256 : 512;
2795
+ const nodeArgs = [`--max-old-space-size=${heapCapMB}`, resolvedPath];
2796
+ const child = spawn(process.execPath, nodeArgs, {
2795
2797
  detached: true,
2796
2798
  stdio: ["ignore", "ignore", stderrFd],
2797
2799
  env: {
@@ -1863,7 +1863,9 @@ function spawnDaemon() {
1863
1863
  stderrFd = openSync(logPath, "a");
1864
1864
  } catch {
1865
1865
  }
1866
- const child = spawn(process.execPath, [resolvedPath], {
1866
+ const heapCapMB = totalGB <= 8 ? 256 : 512;
1867
+ const nodeArgs = [`--max-old-space-size=${heapCapMB}`, resolvedPath];
1868
+ const child = spawn(process.execPath, nodeArgs, {
1867
1869
  detached: true,
1868
1870
  stdio: ["ignore", "ignore", stderrFd],
1869
1871
  env: {
@@ -755,7 +755,9 @@ function spawnDaemon() {
755
755
  stderrFd = openSync(logPath, "a");
756
756
  } catch {
757
757
  }
758
- const child = spawn(process.execPath, [resolvedPath], {
758
+ const heapCapMB = totalGB <= 8 ? 256 : 512;
759
+ const nodeArgs = [`--max-old-space-size=${heapCapMB}`, resolvedPath];
760
+ const child = spawn(process.execPath, nodeArgs, {
759
761
  detached: true,
760
762
  stdio: ["ignore", "ignore", stderrFd],
761
763
  env: {
@@ -2774,7 +2774,9 @@ function spawnDaemon() {
2774
2774
  stderrFd = openSync(logPath, "a");
2775
2775
  } catch {
2776
2776
  }
2777
- const child = spawn(process.execPath, [resolvedPath], {
2777
+ const heapCapMB = totalGB <= 8 ? 256 : 512;
2778
+ const nodeArgs = [`--max-old-space-size=${heapCapMB}`, resolvedPath];
2779
+ const child = spawn(process.execPath, nodeArgs, {
2778
2780
  detached: true,
2779
2781
  stdio: ["ignore", "ignore", stderrFd],
2780
2782
  env: {
@@ -650,7 +650,9 @@ function spawnDaemon() {
650
650
  stderrFd = openSync(logPath, "a");
651
651
  } catch {
652
652
  }
653
- const child = spawn(process.execPath, [resolvedPath], {
653
+ const heapCapMB = totalGB <= 8 ? 256 : 512;
654
+ const nodeArgs = [`--max-old-space-size=${heapCapMB}`, resolvedPath];
655
+ const child = spawn(process.execPath, nodeArgs, {
654
656
  detached: true,
655
657
  stdio: ["ignore", "ignore", stderrFd],
656
658
  env: {
@@ -631,7 +631,9 @@ function spawnDaemon() {
631
631
  stderrFd = openSync(logPath, "a");
632
632
  } catch {
633
633
  }
634
- const child = spawn(process.execPath, [resolvedPath], {
634
+ const heapCapMB = totalGB <= 8 ? 256 : 512;
635
+ const nodeArgs = [`--max-old-space-size=${heapCapMB}`, resolvedPath];
636
+ const child = spawn(process.execPath, nodeArgs, {
635
637
  detached: true,
636
638
  stdio: ["ignore", "ignore", stderrFd],
637
639
  env: {
@@ -523,7 +523,9 @@ function spawnDaemon() {
523
523
  stderrFd = openSync(logPath, "a");
524
524
  } catch {
525
525
  }
526
- const child = spawn(process.execPath, [resolvedPath], {
526
+ const heapCapMB = totalGB <= 8 ? 256 : 512;
527
+ const nodeArgs = [`--max-old-space-size=${heapCapMB}`, resolvedPath];
528
+ const child = spawn(process.execPath, nodeArgs, {
527
529
  detached: true,
528
530
  stdio: ["ignore", "ignore", stderrFd],
529
531
  env: {
package/dist/index.js CHANGED
@@ -1007,7 +1007,9 @@ function spawnDaemon() {
1007
1007
  stderrFd = openSync(logPath, "a");
1008
1008
  } catch {
1009
1009
  }
1010
- const child = spawn(process.execPath, [resolvedPath], {
1010
+ const heapCapMB = totalGB <= 8 ? 256 : 512;
1011
+ const nodeArgs = [`--max-old-space-size=${heapCapMB}`, resolvedPath];
1012
+ const child = spawn(process.execPath, nodeArgs, {
1011
1013
  detached: true,
1012
1014
  stdio: ["ignore", "ignore", stderrFd],
1013
1015
  env: {
@@ -341,7 +341,9 @@ function spawnDaemon() {
341
341
  stderrFd = openSync(logPath, "a");
342
342
  } catch {
343
343
  }
344
- const child = spawn(process.execPath, [resolvedPath], {
344
+ const heapCapMB = totalGB <= 8 ? 256 : 512;
345
+ const nodeArgs = [`--max-old-space-size=${heapCapMB}`, resolvedPath];
346
+ const child = spawn(process.execPath, nodeArgs, {
345
347
  detached: true,
346
348
  stdio: ["ignore", "ignore", stderrFd],
347
349
  env: {
@@ -194,7 +194,9 @@ function spawnDaemon() {
194
194
  stderrFd = openSync(logPath, "a");
195
195
  } catch {
196
196
  }
197
- const child = spawn(process.execPath, [resolvedPath], {
197
+ const heapCapMB = totalGB <= 8 ? 256 : 512;
198
+ const nodeArgs = [`--max-old-space-size=${heapCapMB}`, resolvedPath];
199
+ const child = spawn(process.execPath, nodeArgs, {
198
200
  detached: true,
199
201
  stdio: ["ignore", "ignore", stderrFd],
200
202
  env: {
@@ -191,7 +191,9 @@ function spawnDaemon() {
191
191
  stderrFd = openSync(logPath, "a");
192
192
  } catch {
193
193
  }
194
- const child = spawn(process.execPath, [resolvedPath], {
194
+ const heapCapMB = totalGB <= 8 ? 256 : 512;
195
+ const nodeArgs = [`--max-old-space-size=${heapCapMB}`, resolvedPath];
196
+ const child = spawn(process.execPath, nodeArgs, {
195
197
  detached: true,
196
198
  stdio: ["ignore", "ignore", stderrFd],
197
199
  env: {
@@ -286,7 +286,9 @@ function spawnDaemon() {
286
286
  stderrFd = openSync(logPath, "a");
287
287
  } catch {
288
288
  }
289
- const child = spawn(process.execPath, [resolvedPath], {
289
+ const heapCapMB = totalGB <= 8 ? 256 : 512;
290
+ const nodeArgs = [`--max-old-space-size=${heapCapMB}`, resolvedPath];
291
+ const child = spawn(process.execPath, nodeArgs, {
290
292
  detached: true,
291
293
  stdio: ["ignore", "ignore", stderrFd],
292
294
  env: {
@@ -360,7 +360,9 @@ function spawnDaemon() {
360
360
  stderrFd = openSync(logPath, "a");
361
361
  } catch {
362
362
  }
363
- const child = spawn(process.execPath, [resolvedPath], {
363
+ const heapCapMB = totalGB <= 8 ? 256 : 512;
364
+ const nodeArgs = [`--max-old-space-size=${heapCapMB}`, resolvedPath];
365
+ const child = spawn(process.execPath, nodeArgs, {
364
366
  detached: true,
365
367
  stdio: ["ignore", "ignore", stderrFd],
366
368
  env: {
@@ -193,7 +193,9 @@ function spawnDaemon() {
193
193
  stderrFd = openSync(logPath, "a");
194
194
  } catch {
195
195
  }
196
- const child = spawn(process.execPath, [resolvedPath], {
196
+ const heapCapMB = totalGB <= 8 ? 256 : 512;
197
+ const nodeArgs = [`--max-old-space-size=${heapCapMB}`, resolvedPath];
198
+ const child = spawn(process.execPath, nodeArgs, {
197
199
  detached: true,
198
200
  stdio: ["ignore", "ignore", stderrFd],
199
201
  env: {
@@ -1168,7 +1168,9 @@ function spawnDaemon() {
1168
1168
  stderrFd = openSync(logPath, "a");
1169
1169
  } catch {
1170
1170
  }
1171
- const child = spawn(process.execPath, [resolvedPath], {
1171
+ const heapCapMB = totalGB <= 8 ? 256 : 512;
1172
+ const nodeArgs = [`--max-old-space-size=${heapCapMB}`, resolvedPath];
1173
+ const child = spawn(process.execPath, nodeArgs, {
1172
1174
  detached: true,
1173
1175
  stdio: ["ignore", "ignore", stderrFd],
1174
1176
  env: {
@@ -2753,7 +2753,9 @@ function spawnDaemon() {
2753
2753
  stderrFd = openSync(logPath, "a");
2754
2754
  } catch {
2755
2755
  }
2756
- const child = spawn(process.execPath, [resolvedPath], {
2756
+ const heapCapMB = totalGB <= 8 ? 256 : 512;
2757
+ const nodeArgs = [`--max-old-space-size=${heapCapMB}`, resolvedPath];
2758
+ const child = spawn(process.execPath, nodeArgs, {
2757
2759
  detached: true,
2758
2760
  stdio: ["ignore", "ignore", stderrFd],
2759
2761
  env: {
@@ -379,7 +379,9 @@ function spawnDaemon() {
379
379
  stderrFd = openSync(logPath, "a");
380
380
  } catch {
381
381
  }
382
- const child = spawn(process.execPath, [resolvedPath], {
382
+ const heapCapMB = totalGB <= 8 ? 256 : 512;
383
+ const nodeArgs = [`--max-old-space-size=${heapCapMB}`, resolvedPath];
384
+ const child = spawn(process.execPath, nodeArgs, {
383
385
  detached: true,
384
386
  stdio: ["ignore", "ignore", stderrFd],
385
387
  env: {
@@ -794,7 +794,9 @@ function spawnDaemon() {
794
794
  stderrFd = openSync(logPath, "a");
795
795
  } catch {
796
796
  }
797
- const child = spawn(process.execPath, [resolvedPath], {
797
+ const heapCapMB = totalGB <= 8 ? 256 : 512;
798
+ const nodeArgs = [`--max-old-space-size=${heapCapMB}`, resolvedPath];
799
+ const child = spawn(process.execPath, nodeArgs, {
798
800
  detached: true,
799
801
  stdio: ["ignore", "ignore", stderrFd],
800
802
  env: {
package/dist/tui/App.js CHANGED
@@ -1019,7 +1019,9 @@ function spawnDaemon() {
1019
1019
  stderrFd = openSync(logPath, "a");
1020
1020
  } catch {
1021
1021
  }
1022
- const child = spawn(process.execPath, [resolvedPath], {
1022
+ const heapCapMB = totalGB <= 8 ? 256 : 512;
1023
+ const nodeArgs = [`--max-old-space-size=${heapCapMB}`, resolvedPath];
1024
+ const child = spawn(process.execPath, nodeArgs, {
1023
1025
  detached: true,
1024
1026
  stdio: ["ignore", "ignore", stderrFd],
1025
1027
  env: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@askexenow/exe-os",
3
- "version": "0.8.91",
3
+ "version": "0.8.92",
4
4
  "description": "AI employee operating system — persistent memory, task management, and multi-agent coordination for Claude Code.",
5
5
  "license": "CC-BY-NC-4.0",
6
6
  "type": "module",