30 lines
1.1 KiB
YAML
30 lines
1.1 KiB
YAML
{
|
|
"apiVersion": "hub.example.com/v1alpha1",
|
|
"kind": "ToolManifest",
|
|
"metadata": {"name": "ProjectBrain Analysis Start", "slug": "projectbrain-analysis-start"},
|
|
"spec": {
|
|
"canonicalName": "projectbrain.analysis.start",
|
|
"version": "1.0.0",
|
|
"connectorType": "projectbrain",
|
|
"description": "Queue a persistent server-side analysis for at most 50 Gitea-visible or project-linked repositories.",
|
|
"riskClass": "R2",
|
|
"readOnly": false,
|
|
"idempotent": false,
|
|
"inputSchema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"project_ids": {"type": "array", "items": {"type": "string"}, "maxItems": 50},
|
|
"repository_ids": {"type": "array", "items": {"type": "string"}, "maxItems": 50},
|
|
"include_branches": {"type": "boolean"},
|
|
"include_pull_requests": {"type": "boolean"},
|
|
"include_actions": {"type": "boolean"}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"outputSchema": {"type": "object"},
|
|
"limits": {"timeoutMs": 30000, "maxOutputBytes": 65536, "maxItems": 50},
|
|
"redactionProfile": "documents",
|
|
"requiredScopes": ["project:{project}:write"]
|
|
}
|
|
}
|