orrevan 0.4.0 → 0.5.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.
Files changed (3) hide show
  1. package/README.md +93 -13
  2. package/dist/orrevan.js +290 -193
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -26,30 +26,109 @@ orrevan config show settings
26
26
  orrevan config set model <id> default model (unset with: orrevan config unset model)
27
27
  ```
28
28
 
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).
29
+ Options: `-m <model>`, `--scout` (read only), `--auto` (no approvals, careful), `--web` (allow web search), `--reasoning <level>` (thinking depth: auto, off, low, medium, high, max; which ones depend on the model, see `orrevan models`).
30
30
 
31
- ### In the session
31
+ ### Modes
32
32
 
33
- | Input | |
33
+ | Mode | |
34
34
  |---|---|
35
+ | **Scout** | reads and searches, then proposes a plan. Changes nothing. |
36
+ | **Forge** | edits files and runs commands, shows a diff or the command and asks first. Default. |
37
+ | **Auto** | Forge without asking (`/auto`, `--auto`). Careful. |
38
+
39
+ `tab` switches between Scout and Forge.
40
+
41
+ ### Type while it works
42
+
43
+ Keep typing while Orrevan works. `enter` queues the message, Orrevan reads it at its next step (after the current tool) and adjusts. `esc` stops the current answer and sends queued messages right away, so "stop, do this instead" is one keypress.
44
+
45
+ ### Thinking
46
+
47
+ Reasoning models think before they answer. While they do, the working line shows the latest thought next to the animated Orrevan planet.
48
+
49
+ - `ctrl+t` shows thoughts in full (live and in the transcript) or collapses them to one line
50
+ - `/thoughts` prints the last thoughts in full
51
+ - `/reasoning` picks the thinking depth (auto, off, low, medium, high, max, as the model offers), `shift+tab` cycles through them. More thinking costs more tokens
52
+
53
+ ### Keys
54
+
55
+ | Key | |
56
+ |---|---|
57
+ | `?` | all shortcuts (on an empty input) |
58
+ | `ctrl+p` | command palette |
59
+ | `ctrl+x` then a key | leader: `m` model, `r` reasoning, `t` thoughts, `n` new, `s` sessions, `u` undo, `c` compact, `d` diff, `y` copy, `e` export, `w` web, `a` auto, `k` keys, `q` quit |
60
+ | `tab` / `shift+tab` | mode / thinking depth |
61
+ | `@` | attach a file, with completion (`tab`) |
62
+ | `!` | shell mode: run commands yourself, the output goes into the context (`!` or `esc` goes back) |
63
+ | `ctrl+o` | write the message in your editor (`$VISUAL` / `$EDITOR`) |
64
+ | `↑` while working | take the last queued message back to edit it |
65
+ | `esc` | stop |
66
+ | `\` + enter, `ctrl+j` | new line |
67
+ | `ctrl+c` | clear input, stop, twice to quit |
68
+
69
+ ### Commands
70
+
71
+ | Command | |
72
+ |---|---|
73
+ | `/help` | every command and key |
35
74
  | `/model` | switch model (price per 1M tokens shown) |
36
- | `/plan`, `/build`, `tab` | plan mode is read only, build mode can change things |
75
+ | `/scout`, `/forge`, `/auto` | modes |
76
+ | `/reasoning [level]`, `/thoughts` | thinking depth, last thoughts |
37
77
  | `/init` | writes `ORREVAN.md` with notes about the project |
78
+ | `/remember <note>` | adds a note to `ORREVAN.md` |
38
79
  | `/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 |
44
- | `/clear`, `/cost`, `/balance`, `/yolo`, `/help`, `/exit` | |
45
- | `!git status` | run a command yourself, the output goes into the context |
46
- | `esc` | stop the current answer |
47
- | `\` + enter | new line |
80
+ | `/undo` | restores the files Orrevan changed in its last turn (shell commands are not undone) |
81
+ | `/diff` | uncommitted changes (`git diff`) |
82
+ | `/copy`, `/export [file]` | copy the last answer, save the conversation as Markdown |
83
+ | `/resume` (`/sessions`) | continue an earlier conversation in this folder |
84
+ | `/title <name>`, `/fork` | name the conversation, branch off into a copy |
85
+ | `/btw <question>` | quick side question on the current context, no tools, not kept. Works while Orrevan works |
86
+ | `/status` | version, model, mode, context, cost, MCP |
87
+ | `/todo` | the task list Orrevan keeps for bigger jobs |
88
+ | `/web` | web search on/off (small fee per search). Once web content is in the conversation, edits and commands need your approval again, even after "always allow" |
89
+ | `/mcp`, `/commands` | connected MCP servers, your own commands |
90
+ | `/clear`, `/cost`, `/balance`, `/exit` | |
91
+
92
+ Long pastes (over 1000 characters or 15 lines) show as `[Pasted text #1 +40 lines]` and are sent in full.
93
+
94
+ `@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.
48
95
 
49
96
  Long conversations are compacted automatically above 100k context tokens (`ORREVAN_AUTO_COMPACT=<tokens>`, `0` turns it off).
50
97
 
98
+ ### Your own commands
99
+
100
+ A Markdown file becomes a slash command. Its text is the prompt, `$ARGUMENTS` is what you type after the command (`$1` … `$9` single words).
101
+
102
+ ```
103
+ .orrevan/commands/review.md this project (can be committed)
104
+ ~/.config/orrevan/commands/review.md all your projects
105
+ ```
106
+
107
+ ```md
108
+ ---
109
+ description: Review a file for bugs
110
+ ---
111
+ Review $ARGUMENTS for bugs and risky code. List findings by severity.
112
+ ```
113
+
114
+ Then: `/review src/app.ts`.
115
+
116
+ ### MCP servers
117
+
118
+ Connect tools over the Model Context Protocol (stdio servers):
119
+
120
+ ```sh
121
+ orrevan mcp add github -e GITHUB_TOKEN=… -- npx -y @modelcontextprotocol/server-github
122
+ orrevan mcp # list
123
+ orrevan mcp remove github
124
+ ```
125
+
126
+ The config lives in `~/.config/orrevan/mcp.json` (`{"mcpServers": {...}}`, same format as other MCP clients). Only this file is read, never one inside a project, so a cloned repository cannot start programs. Servers start in the background with each session, `/mcp` shows their tools. Every MCP call asks first ("always" allows one server for the session), the Orrevan key is not passed to servers, and their output is treated as untrusted.
127
+
51
128
  ### Tools and approvals
52
129
 
130
+ Besides files and commands Orrevan has `todo` (visible task list), `ask_user` (asks you with options when a decision is yours), `task` (a read-only sub-agent with a fresh context for broad searches) and, with `/web` on, `web_search` and `fetch_url` (reads a page, asks first).
131
+
53
132
  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.
54
133
 
55
134
  The tool protocol is plain text, so it works with every model, including uncensored models without native function calling.
@@ -68,6 +147,7 @@ The key is stored in `~/.config/orrevan/config.json` (mode 600). Conversations a
68
147
  | `ORREVAN_BASE_URL` | default `https://orrevan.com/api/v1` |
69
148
  | `ORREVAN_MODEL` | default model |
70
149
  | `ORREVAN_NO_UPDATE_CHECK=1` | no update notice |
150
+ | `ORREVAN_NO_ANIMATION=1` | no logo animation |
71
151
 
72
152
  ### Updates
73
153