arisa 2.2.3 → 2.2.4

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 +10 -1
  2. package/package.json +1 -1
package/bin/arisa.js CHANGED
@@ -497,7 +497,16 @@ function provisionArisaUser() {
497
497
  }
498
498
  step(true, "Arisa installed for arisa");
499
499
 
500
- // 4. Migrate data
500
+ // 4. Install AI CLIs (before daemon starts — avoids OOM in low-memory environments)
501
+ process.stdout.write(" Installing Claude Code CLI...\n");
502
+ const claudeInstall = runAsInherit("~/.bun/bin/bun add -g @anthropic-ai/claude-code");
503
+ step(claudeInstall.status === 0, "Claude Code CLI");
504
+
505
+ process.stdout.write(" Installing Codex CLI...\n");
506
+ const codexInstall = runAsInherit("~/.bun/bin/bun add -g @openai/codex");
507
+ step(codexInstall.status === 0, "Codex CLI");
508
+
509
+ // 5. Migrate data
501
510
  const rootArisa = "/root/.arisa";
502
511
  if (existsSync(rootArisa)) {
503
512
  const destArisa = "/home/arisa/.arisa";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "arisa",
3
- "version": "2.2.3",
3
+ "version": "2.2.4",
4
4
  "description": "Arisa - dynamic agent runtime with daemon/core architecture that evolves through user interaction",
5
5
  "preferGlobal": true,
6
6
  "bin": {