orrevan 0.1.0 → 0.4.0
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 +17 -1
- package/dist/orrevan.js +213 -157
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -20,9 +20,13 @@ cat log.txt | orrevan -p "what went wrong?"
|
|
|
20
20
|
orrevan -c continue the last conversation in this folder
|
|
21
21
|
orrevan models list models and prices
|
|
22
22
|
orrevan balance show your credit
|
|
23
|
+
orrevan whoami account, credit, model and version
|
|
24
|
+
orrevan update update to the latest version
|
|
25
|
+
orrevan config show settings
|
|
26
|
+
orrevan config set model <id> default model (unset with: orrevan config unset model)
|
|
23
27
|
```
|
|
24
28
|
|
|
25
|
-
Options: `-m <model>`, `--plan` (read only), `--yolo` (no approvals, careful).
|
|
29
|
+
Options: `-m <model>`, `--plan` (read only), `--web` (allow web search), `--reasoning <level>` (thinking depth: auto, off, low, medium, high, max; which ones depend on the model, see `orrevan models`), `--yolo` (no approvals, careful).
|
|
26
30
|
|
|
27
31
|
### In the session
|
|
28
32
|
|
|
@@ -32,11 +36,18 @@ Options: `-m <model>`, `--plan` (read only), `--yolo` (no approvals, careful).
|
|
|
32
36
|
| `/plan`, `/build`, `tab` | plan mode is read only, build mode can change things |
|
|
33
37
|
| `/init` | writes `ORREVAN.md` with notes about the project |
|
|
34
38
|
| `/compact` | summarises the conversation to save tokens |
|
|
39
|
+
| `@src/app.ts`, `@screenshot.png` | sends the file with your message. Images (PNG, JPEG, WebP) need a model with vision. Text files up to 256 KB, images up to 4 MB |
|
|
40
|
+
| `/undo` | restores the files Orrevan changed in its last turn (edits and new files; shell commands are not undone) |
|
|
41
|
+
| `/resume` | pick an earlier conversation in this folder and continue it |
|
|
42
|
+
| `/web` | web search on/off. Orrevan then searches when it helps (small fee per search, shown in `/cost`). Once web content is in the conversation, edits and commands need your approval again, even after "always allow" |
|
|
43
|
+
| `/reasoning [level]` | thinking depth for this session: auto (model default), off, low, medium, high, max. Each model offers its own levels. More thinking costs more tokens |
|
|
35
44
|
| `/clear`, `/cost`, `/balance`, `/yolo`, `/help`, `/exit` | |
|
|
36
45
|
| `!git status` | run a command yourself, the output goes into the context |
|
|
37
46
|
| `esc` | stop the current answer |
|
|
38
47
|
| `\` + enter | new line |
|
|
39
48
|
|
|
49
|
+
Long conversations are compacted automatically above 100k context tokens (`ORREVAN_AUTO_COMPACT=<tokens>`, `0` turns it off).
|
|
50
|
+
|
|
40
51
|
### Tools and approvals
|
|
41
52
|
|
|
42
53
|
Orrevan can `read_file`, `list_dir`, `glob` and `grep` freely inside the project folder. `write_file`, `edit_file` and `run_command` always ask first and show a diff or the command. Answer with *Yes*, *Yes for this session*, or *No* plus what it should do instead.
|
|
@@ -56,6 +67,11 @@ The key is stored in `~/.config/orrevan/config.json` (mode 600). Conversations a
|
|
|
56
67
|
| `ORREVAN_API_KEY` | key instead of `orrevan login` |
|
|
57
68
|
| `ORREVAN_BASE_URL` | default `https://orrevan.com/api/v1` |
|
|
58
69
|
| `ORREVAN_MODEL` | default model |
|
|
70
|
+
| `ORREVAN_NO_UPDATE_CHECK=1` | no update notice |
|
|
71
|
+
|
|
72
|
+
### Updates
|
|
73
|
+
|
|
74
|
+
`orrevan update` installs the newest version from npm (same as `npm install -g orrevan@latest`). In interactive sessions Orrevan checks npm at most once a day and shows a short notice when a newer version exists. The check sends no user data.
|
|
59
75
|
|
|
60
76
|
## Development
|
|
61
77
|
|