2 lines
912 B
YAML
2 lines
912 B
YAML
{"apiVersion":"hub.example.com/v1alpha1","kind":"ToolManifest","metadata":{"name":"OpenCode Workspace Ensure","slug":"opencode-workspace-ensure"},"spec":{"canonicalName":"opencode.workspace.ensure","version":"0.1.0","connectorType":"opencode","description":"Resolve one trusted Gitea owner/repository, pin its current default-branch SHA, and materialize an immutable governed analysis workspace. Callers cannot supply paths, URLs, refs, destinations, agents, or models.","riskClass":"R2","readOnly":false,"idempotent":true,"inputSchema":{"type":"object","additionalProperties":false,"required":["repository"],"properties":{"repository":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._-]{0,99}/[A-Za-z0-9][A-Za-z0-9._-]{0,99}$"}}},"outputSchema":{"type":"object"},"limits":{"timeoutMs":120000,"maxOutputBytes":65536,"maxItems":100},"redactionProfile":"metadata","requiredScopes":["project:{project}:write"]}}
|