docs: document terminal websocket endpoint

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
tao.chen
2026-07-03 12:36:35 +08:00
co-authored by Claude
parent d8c8c7fc83
commit 03377eec3c
2 changed files with 8 additions and 5 deletions
+1
View File
@@ -105,6 +105,7 @@ All runtime logging uses slog; `fmt`, `log.Printf`, and the Gin default logger a
| `POST` | `/api/workspaces/:id/process/stop` | Stop OpenCode process |
| `POST` | `/api/workspaces/:id/process/restart` | Restart OpenCode process |
| `GET` | `/api/workspaces/:id/process/status` | Get process running status and PID |
| `GET` | `/api/workspaces/:id/process/ws` | WebSocket: stream process stdout/stderr, send stdin (text frames, raw bytes) |
### Health