15 lines
860 B
YAML
15 lines
860 B
YAML
{
|
|
"apiVersion": "hub.example.com/v1alpha1",
|
|
"kind": "ToolManifest",
|
|
"metadata": {"name": "Gitea Repository Context", "slug": "gitea-repository-context"},
|
|
"spec": {
|
|
"canonicalName": "gitea.repository.context", "version": "1.4.0", "connectorType": "gitea",
|
|
"description": "Load a compact repository bootstrap context; use tree.list and file.read for additional detail.",
|
|
"riskClass": "R1", "readOnly": true, "idempotent": true,
|
|
"inputSchema": {"type": "object", "additionalProperties": false, "properties": {"repositoryRef": {"type": "string"}, "ref": {"type": ["string", "null"], "maxLength": 300}}, "required": ["repositoryRef"]},
|
|
"outputSchema": {"type": "object"},
|
|
"limits": {"timeoutMs": 30000, "maxOutputBytes": 65536, "maxItems": 64},
|
|
"redactionProfile": "documents", "requiredScopes": ["project:{project}:read"]
|
|
}
|
|
}
|