docs: define streaming mcp architecture

This commit is contained in:
a.tolmachev
2026-04-06 01:45:48 +03:00
parent d7e5ae95d6
commit 04ed704e94
12 changed files with 834 additions and 29 deletions
+42
View File
@@ -49,6 +49,8 @@
- `agent_operation_bindings`
- `published_agents`
- `platform_api_keys`
- `stream_sessions`
- `async_jobs`
- `invocation_logs`
- `usage_rollups`
- `yaml_import_jobs`
@@ -180,6 +182,46 @@
- `unique (workspace_id, name)`
### `stream_sessions`
- `id`
- `workspace_id`
- `agent_id`
- `operation_id`
- `mode`
- `status`
- `cursor_json`
- `state_json`
- `expires_at`
- `last_poll_at`
- `created_at`
- `closed_at`
Индексы:
- `(workspace_id, status, expires_at)`
- `(operation_id, status)`
### `async_jobs`
- `id`
- `workspace_id`
- `agent_id`
- `operation_id`
- `status`
- `progress_json`
- `result_json`
- `error_json`
- `expires_at`
- `created_at`
- `updated_at`
- `finished_at`
Индексы:
- `(workspace_id, status, expires_at)`
- `(operation_id, status)`
## 7. Workspaces and access layer
### `workspaces`