aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--README.md8
1 files changed, 6 insertions, 2 deletions
diff --git a/README.md b/README.md
index 562058a..4ec5d64 100644
--- a/README.md
+++ b/README.md
@@ -27,7 +27,8 @@ export OPENCODE_API_KEY=... # or write it to ~/.config/agent686/key
27./agent686 "make a calculator in C" # one turn, then exit 27./agent686 "make a calculator in C" # one turn, then exit
28./agent686 # interactive, one prompt per line 28./agent686 # interactive, one prompt per line
29./agent686 -c # continue the most recent session 29./agent686 -c # continue the most recent session
30./agent686 --session <id> # resume a specific one 30./agent686 --session <id> # resume it, or create it if the id is new
31./agent686 --list # id, model, message count, age
31./agent686 --yolo "..." # approve every tool call 32./agent686 --yolo "..." # approve every tool call
32``` 33```
33 34
@@ -35,6 +36,9 @@ Provider is OpenCode Go, `chat/completions`, model `deepseek-v4.1-flash` by
35default. Every request carries a stable `x-opencode-session` header, which the 36default. Every request carries a stable `x-opencode-session` header, which the
36service uses for routing and prompt caching. 37service uses for routing and prompt caching.
37 38
39Rate limits and transient failures retry with backoff (four attempts, `Retry-After`
40honoured); a 429 that survives them explains itself instead of dumping JSON.
41
38## Tools 42## Tools
39 43
40`read` (numbered lines), `write` (never creates directories), `edit` (exact 44`read` (numbered lines), `write` (never creates directories), `edit` (exact
@@ -48,7 +52,7 @@ that is where `rm -rf` lives.
48## Tests 52## Tests
49 53
50```sh 54```sh
51cargo test # 19 tests, no network 55cargo test # 24 tests, no network
52python3 scripts/mock-provider.py & # canned SSE provider 56python3 scripts/mock-provider.py & # canned SSE provider
53docker run --rm --platform linux/386 debian:12 /b/agent686 # target-shaped gate 57docker run --rm --platform linux/386 debian:12 /b/agent686 # target-shaped gate
54``` 58```