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.
- package/bin/arisa.js +10 -1
- 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.
|
|
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";
|