diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 9 |
1 files changed, 6 insertions, 3 deletions
| @@ -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 | ||
| 54 | Reads never prompt. The first `write`/`edit` of a session shows a diff and asks; | 56 | Reads never prompt. The first `write`/`edit` of a session shows a diff and asks; |
| 55 | answering `a` allows the rest of the session. Every `bash` call asks, because | 57 | answering `a` allows the rest of the process. Every `bash` call asks, because |
| 56 | that is where `rm -rf` lives. | 58 | that 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 |
| 61 | cargo test # 64 tests, no network | 64 | cargo test # 75 tests, no network |
| 62 | python3 scripts/mock-provider.py & # canned SSE provider | 65 | python3 scripts/mock-provider.py & # canned SSE provider |
| 63 | docker run --rm --platform linux/386 \ | 66 | docker 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 |
