chore: publish clean community baseline
Deploy / deploy (push) Successful in 33s
CI / Rust Checks (push) Successful in 5m12s
CI / UI Checks (push) Successful in 5s
CI / Deployment Manifests (push) Successful in 3s
CI / Frontend E2E (push) Successful in 3m56s

This commit is contained in:
github-ops
2026-06-16 23:26:28 +00:00
commit 1cf1efadfe
307 changed files with 71005 additions and 0 deletions
+96
View File
@@ -0,0 +1,96 @@
# Модель данных
Документ фиксирует текущую Community data model.
## Workspace
Workspace содержит:
- operations;
- agents;
- secrets;
- auth profiles;
- logs;
- usage.
## Operation
Operation описывает один REST integration contract.
Основные поля:
- `id`
- `workspace_id`
- `name`
- `display_name`
- `category`
- `protocol = rest`
- `status`
- `target`
- `input_schema`
- `output_schema`
- `input_mapping`
- `output_mapping`
- `execution_config`
- `tool_description`
- `created_at`
- `updated_at`
## REST target
REST target содержит:
- `base_url`
- `method`
- `path_template`
- `static_headers`
Поддерживаемые методы:
- `GET`
- `POST`
- `PUT`
- `PATCH`
- `DELETE`
## Agent
Agent определяет MCP endpoint и набор published operations.
Основные поля:
- `id`
- `workspace_id`
- `slug`
- `display_name`
- `description`
- `status`
Operation публикуется в agent через binding.
## Secrets и auth profiles
`Secret` хранит encrypted secret material.
`AuthProfile` описывает, как применить secret к REST request:
- bearer token;
- basic auth;
- API key header;
- API key query parameter.
Plaintext secret не возвращается через API после создания.
## Logs и usage
Invocation logs фиксируют:
- workspace;
- agent;
- operation;
- request id;
- status;
- latency;
- structured error context.
Usage rollups агрегируют вызовы по периодам.