Add architecture package and application skeleton

This commit is contained in:
2026-07-03 21:09:47 +03:00
parent 7d6cc1c83e
commit ce2b263e52
47 changed files with 2377 additions and 53 deletions
+21 -1
View File
@@ -59,7 +59,9 @@
## GET /tasks/{task_id}/events
SSE/WebSocket stream событий:
Primary transport: SSE stream событий.
WebSocket может быть добавлен как secondary adapter, но contract-first путь для UI: SSE.
```json
{
@@ -87,6 +89,24 @@ SSE/WebSocket stream событий:
}
```
## GET /workers
Список известных worker sessions.
```json
{
"workers": [
{
"session_id": "wrk_1",
"worker_id": "worker_home_pc",
"name": "Home PC",
"status": "online",
"capabilities": ["file.read", "command.run"]
}
]
}
```
## POST /workers/register
Local worker регистрируется на сервере.