1.4 KiB
1.4 KiB
Схема БД
Основная БД Crank Community — PostgreSQL.
Основные таблицы
workspacesusersuser_sessionsmembershipsinvitation_tokensoperationsoperation_versionspublished_operationsoperation_samplesagentsagent_versionsagent_operation_bindingspublished_agentsplatform_api_keyssecretssecret_versionsauth_profilesinvocation_logsusage_rollupsyaml_import_jobs
Operations
operations хранит текущую карточку operation.
operation_versions хранит versioned JSON contract:
- REST target;
- schemas;
- mappings;
- execution config;
- tool description;
- samples metadata.
published_operations указывает на опубликованную version.
Agents
agents хранит карточку agent.
agent_versions хранит versioned agent contract.
agent_operation_bindings связывает agent и published operations.
published_agents указывает на опубликованную version.
Secrets
secrets хранит metadata.
secret_versions хранит encrypted value.
auth_profiles хранит способ применения secrets к REST request.
Observability
invocation_logs хранит события runtime/MCP вызовов.
usage_rollups хранит агрегированную статистику.