arisa 2.3.24 → 2.3.25

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 (2) hide show
  1. package/bin/arisa.js +9 -7
  2. package/package.json +1 -1
package/bin/arisa.js CHANGED
@@ -533,16 +533,18 @@ switch (command) {
533
533
  if (isDefaultInvocation) {
534
534
  printForegroundNotice();
535
535
  }
536
- const child = runWithBun([daemonEntry, ...rest]);
537
- process.exit(child.status === null ? 1 : child.status);
536
+ // Run daemon in-process — avoids an extra bun child (~150MB saved)
537
+ await import(daemonEntry);
538
+ break;
539
+ }
540
+ case "core": {
541
+ // Run core in-process
542
+ await import(coreEntry);
543
+ break;
538
544
  }
539
- case "core":
540
- {
541
- const child = runWithBun([coreEntry, ...rest]);
542
- process.exit(child.status === null ? 1 : child.status);
543
- }
544
545
  case "dev":
545
546
  {
547
+ // dev needs --watch which is a bun CLI flag, so child process required
546
548
  const child = runWithBun(["--watch", coreEntry, ...rest]);
547
549
  process.exit(child.status === null ? 1 : child.status);
548
550
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "arisa",
3
- "version": "2.3.24",
3
+ "version": "2.3.25",
4
4
  "description": "Arisa - dynamic agent runtime with daemon/core architecture that evolves through user interaction",
5
5
  "keywords": [
6
6
  "tinyclaw",