{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://ag-kit.dev/schemas/antigravity-hooks.schema.json", "title": "AG Kit Antigravity Native Hooks", "type": "object", "required": ["enabled"], "properties": { "$schema": {"type": "string"}, "enabled": {"type": "boolean"}, "PreToolUse": { "type": "array", "items": {"$ref": "#/$defs/hook"} }, "PostToolUse": { "type": "array", "items": {"$ref": "#/$defs/hook"} }, "PreInvocation": { "type": "array", "items": {"$ref": "#/$defs/hook"} }, "PostInvocation": { "type": "array", "items": {"$ref": "#/$defs/hook"} }, "Stop": { "type": "array", "items": {"$ref": "#/$defs/hook"} } }, "$defs": { "hook": { "type": "object", "required": ["matcher", "command", "timeout"], "properties": { "matcher": {"type": "string", "minLength": 1}, "command": {"type": "string", "minLength": 1}, "timeout": {"type": "integer", "minimum": 1, "maximum": 300} }, "additionalProperties": false } }, "additionalProperties": false }