openrune 0.4.1 → 0.4.2
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 +11 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,10 +17,19 @@
|
|
|
17
17
|
|
|
18
18
|
---
|
|
19
19
|
|
|
20
|
+
## Prerequisites
|
|
21
|
+
|
|
22
|
+
- **Node.js** 18+
|
|
23
|
+
- **Claude Code CLI** installed and logged in — Rune uses Claude Code under the hood for all agent execution
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
npm install -g @anthropic-ai/claude-code
|
|
27
|
+
claude # login if you haven't
|
|
28
|
+
```
|
|
29
|
+
|
|
20
30
|
## Install
|
|
21
31
|
|
|
22
32
|
```bash
|
|
23
|
-
npm install -g @anthropic-ai/claude-code # prerequisite
|
|
24
33
|
npm install -g openrune
|
|
25
34
|
```
|
|
26
35
|
|
|
@@ -122,7 +131,7 @@ rune watch monitor.rune --on cron --interval 5m --prompt "Check server health"
|
|
|
122
131
|
|
|
123
132
|
### Node.js API
|
|
124
133
|
|
|
125
|
-
Use agents in your own code
|
|
134
|
+
Use agents in your own code. Each `.send()` call spawns a Claude Code process, so Claude Code CLI must be installed and logged in on the machine.
|
|
126
135
|
|
|
127
136
|
```js
|
|
128
137
|
const rune = require('openrune')
|
package/package.json
CHANGED