arisa 2.0.3 → 2.0.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/README.md +9 -5
- package/bin/arisa.js +1 -1
- package/package.json +2 -2
- package/src/core/index.ts +1 -3
package/README.md
CHANGED
|
@@ -10,15 +10,19 @@ Arisa is intentionally dynamic: the project grows as the user builds a relations
|
|
|
10
10
|
|
|
11
11
|
Arisa can execute actions with operational control over the system where it runs. Before deploying it, make sure you understand and accept the associated security risks. It is strongly recommended to run Arisa in an isolated environment (for example, a Docker container or a dedicated VPS) that does not store sensitive information or critical assets.
|
|
12
12
|
|
|
13
|
-
##
|
|
14
|
-
|
|
15
|
-
Requires [Bun](https://bun.sh).
|
|
16
|
-
For Bun global installs, use your user environment.
|
|
13
|
+
## Requirements and Installation
|
|
17
14
|
|
|
18
15
|
```bash
|
|
19
|
-
|
|
16
|
+
curl -fsSL https://bun.sh/install | bash # Install Bun https://bun.sh
|
|
17
|
+
|
|
18
|
+
bun add -g @anthropic-ai/claude-code # Install Claude CLI (both or one is required)
|
|
19
|
+
bun add -g @openai/codex # Install Codex CLI (both or one is required)
|
|
20
|
+
|
|
21
|
+
bun add -g arisa # Install Arisa CLI
|
|
20
22
|
```
|
|
21
23
|
|
|
24
|
+
## Commands
|
|
25
|
+
|
|
22
26
|
```bash
|
|
23
27
|
arisa # Foreground daemon mode (Ctrl+C to stop)
|
|
24
28
|
arisa start # Start as service (enables autostart with systemd --user)
|
package/bin/arisa.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "arisa",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.4",
|
|
4
4
|
"description": "Arisa - dynamic agent runtime with daemon/core architecture that evolves through user interaction",
|
|
5
5
|
"preferGlobal": true,
|
|
6
6
|
"bin": {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"bun": ">=1.0.0"
|
|
21
21
|
},
|
|
22
22
|
"scripts": {
|
|
23
|
-
"arisa": "
|
|
23
|
+
"arisa": "bun ./bin/arisa.js",
|
|
24
24
|
"daemon": "bun src/daemon/index.ts",
|
|
25
25
|
"dev": "bun --watch src/core/index.ts",
|
|
26
26
|
"start": "bun src/daemon/index.ts",
|
package/src/core/index.ts
CHANGED
|
@@ -178,9 +178,7 @@ ${messageText}`;
|
|
|
178
178
|
if (msg.command === "/claude") {
|
|
179
179
|
const deps = checkDeps();
|
|
180
180
|
if (!deps.claude) {
|
|
181
|
-
const hint =
|
|
182
|
-
? "<code>brew install claude-code</code> or <code>bun add -g @anthropic-ai/claude-code</code>"
|
|
183
|
-
: "<code>bun add -g @anthropic-ai/claude-code</code>";
|
|
181
|
+
const hint = "<code>bun add -g @anthropic-ai/claude-code</code>";
|
|
184
182
|
return Response.json({ text: `Claude CLI is not installed.\n${hint}` } as CoreResponse);
|
|
185
183
|
}
|
|
186
184
|
backendState.set(msg.chatId, "claude");
|