docs(opencode): document basic auth health check

This commit is contained in:
Guillaume ARM 2026-06-09 05:20:59 +02:00
parent 208b7282d8
commit c3813d6cda

View File

@ -44,6 +44,12 @@ Check it's alive:
curl http://localhost:4096/global/health curl http://localhost:4096/global/health
``` ```
With Basic Auth:
```bash
curl -u opencode:secret http://localhost:4096/global/health
```
## 2. (Optional) Attach the TUI ## 2. (Optional) Attach the TUI
Open the interactive TUI connected to the running server. CC clients and the TUI share the same session state. Open the interactive TUI connected to the running server. CC clients and the TUI share the same session state.