14 lines
997 B
YAML
14 lines
997 B
YAML
{
|
|
"apiVersion": "hub.example.com/v1alpha1", "kind": "ToolManifest",
|
|
"metadata": {"name": "Gitea Changeset Preview", "slug": "gitea-changeset-preview"},
|
|
"spec": {
|
|
"canonicalName": "gitea.changeset.preview", "version": "1.9.0", "connectorType": "gitea",
|
|
"description": "Validate SHA locks and return the exact bounded multi-file diff before a changeset is applied.",
|
|
"riskClass": "R1", "readOnly": true, "idempotent": true,
|
|
"inputSchema": {"type": "object", "additionalProperties": false, "properties": {"repositoryRef": {"type": "string"}, "branch": {"type": "string", "pattern": "^[A-Za-z0-9][A-Za-z0-9._/-]{0,299}$"}, "operations": {"type": "array", "minItems": 1, "maxItems": 50, "items": {"type": "object"}}}, "required": ["repositoryRef", "branch", "operations"]},
|
|
"outputSchema": {"type": "object"},
|
|
"limits": {"timeoutMs": 30000, "maxOutputBytes": 262144, "maxItems": 50},
|
|
"redactionProfile": "documents", "requiredScopes": ["project:{project}:read"]
|
|
}
|
|
}
|