readme: move httpgw docs to httpgw/README.md

This commit is contained in:
Levi Neely 2026-07-18 22:39:34 +02:00
parent da611d3ef2
commit fea481e928
1 changed files with 3 additions and 17 deletions

View File

@ -100,11 +100,9 @@ olliesrv start -strict -yolo # tools only, no sandbox
## Remote Access
Two approaches: mount the 9P namespace directly with `9pfuse`, or reach it over HTTP via `ollie-httpgw`.
### 9P mount
Because `olliesrv` speaks 9P over TCP, a remote instance can be mounted into the local namespace using `9pfuse`. Agent sessions, tools, and all other filesystem state on a remote host become ordinary local files — no special client needed.
`olliesrv` speaks 9P over TCP. A remote instance can be mounted into the local namespace using `9pfuse`:
```sh
# On the remote host:
@ -119,17 +117,7 @@ Sessions created under `~/mnt/remotehost/s/` run on the remote host, so tool cal
### HTTP gateway
`ollie-httpgw` translates HTTP to 9P, letting any HTTP client interact with `olliesrv` without a 9P library. It's also the backend for the web UI.
```sh
# Connect to local server:
ollie-httpgw
# Connect to remote server:
ollie-httpgw -net tcp -addr remotehost:9564
```
See [doc/USAGE.md](https://github.com/lneely/ollie/blob/main/doc/USAGE.md) for full details on the gateway and web UI.
See [httpgw/](https://github.com/lneely/ollie/blob/main/httpgw/) for the HTTP REST gateway (`ollie-httpgw`).
### Container
@ -140,12 +128,10 @@ podman build --network=host -t olliesrv .
podman run --network=host -e ANTHROPIC_API_KEY=$ANTHROPIC_API_KEY olliesrv
```
Then mount locally or point httpgw at it:
Then mount locally:
```sh
olliesrv mount localhost:9564 ~/mnt/container-ollie
# or
ollie-httpgw -net tcp -addr localhost:9564
```
## Sessions