summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--README.md9
1 files changed, 6 insertions, 3 deletions
diff --git a/README.md b/README.md
index 4530686..e4d6fbc 100644
--- a/README.md
+++ b/README.md
@@ -30,6 +30,8 @@ export OPENCODE_API_KEY=... # or write it to ~/.config/agent686/key
30./agent686 -c # continue the most recent session 30./agent686 -c # continue the most recent session
31./agent686 --session <id> # resume it, or create it if the id is new 31./agent686 --session <id> # resume it, or create it if the id is new
32./agent686 --list # id, model, message count, age 32./agent686 --list # id, model, message count, age
33./agent686 --show [id] # render a transcript
34./agent686 --doctor # key, dirs, provider, model
33./agent686 --yolo "..." # approve every tool call 35./agent686 --yolo "..." # approve every tool call
34``` 36```
35 37
@@ -52,13 +54,14 @@ supported), `bash` (fresh shell per call, own process group, 120 s timeout,
52`glob` (`*`, `?`, `**`, follows file symlinks). 54`glob` (`*`, `?`, `**`, follows file symlinks).
53 55
54Reads never prompt. The first `write`/`edit` of a session shows a diff and asks; 56Reads never prompt. The first `write`/`edit` of a session shows a diff and asks;
55answering `a` allows the rest of the session. Every `bash` call asks, because 57answering `a` allows the rest of the process. Every `bash` call asks, because
56that is where `rm -rf` lives. 58that is where `rm -rf` lives. `--yolo` skips both, and is refused in `$HOME` and
59`/` unless `AGENT686_ALLOW_HOME=1`.
57 60
58## Tests 61## Tests
59 62
60```sh 63```sh
61cargo test # 64 tests, no network 64cargo test # 75 tests, no network
62python3 scripts/mock-provider.py & # canned SSE provider 65python3 scripts/mock-provider.py & # canned SSE provider
63docker run --rm --platform linux/386 \ 66docker run --rm --platform linux/386 \
64 -v "$PWD/target/i686-unknown-linux-gnu/release:/b:ro" debian:12 /b/agent686 --version 67 -v "$PWD/target/i686-unknown-linux-gnu/release:/b:ro" debian:12 /b/agent686 --version