← Files get-fableARCHIVED FILE

assets/antigravity/hooks.json

2.45 KB · Oct 4, 2026 · 12:30 UTC

↓ Download file

{
  "get-fable-context": {
    "PreInvocation": [
      {
        "type": "command",
        "command": "python3 \"__FABLE_PLUGIN_DIR__/hooks/fable_hook_dispatch.py\" --host antigravity --event PreInvocation --handler profile",
        "timeout": 15
      },
      {
        "type": "command",
        "command": "python3 \"__FABLE_PLUGIN_DIR__/hooks/fable_hook_dispatch.py\" --host antigravity --event PreInvocation --handler event",
        "timeout": 10
      }
    ]
  },
  "get-fable-delegation": {
    "PreToolUse": [
      {
        "matcher": "invoke_subagent|define_subagent|manage_subagents|send_message",
        "hooks": [
          {
            "type": "command",
            "command": "python3 \"__FABLE_PLUGIN_DIR__/hooks/fable_hook_dispatch.py\" --host antigravity --event PreToolUse --handler spawn",
            "timeout": 15
          }
        ]
      }
    ]
  },
  "get-fable-command-recovery": {
    "PostToolUse": [
      {
        "matcher": "run_command",
        "hooks": [
          {
            "type": "command",
            "command": "python3 \"__FABLE_PLUGIN_DIR__/hooks/fable_hook_dispatch.py\" --host antigravity --event PostToolUse --handler failure",
            "timeout": 15
          }
        ]
      }
    ]
  },
  "get-fable-mutation": {
    "PostToolUse": [
      {
        "matcher": "write_to_file|replace_file_content|multi_replace_file_content",
        "hooks": [
          {
            "type": "command",
            "command": "python3 \"__FABLE_PLUGIN_DIR__/hooks/fable_hook_dispatch.py\" --host antigravity --event PostToolUse --handler mutation",
            "timeout": 15
          }
        ]
      }
    ]
  },
  "get-fable-observer": {
    "PostToolUse": [
      {
        "matcher": "*",
        "hooks": [
          {
            "type": "command",
            "command": "python3 \"__FABLE_PLUGIN_DIR__/hooks/fable_hook_dispatch.py\" --host antigravity --event PostToolUse --handler event",
            "timeout": 10
          }
        ]
      }
    ],
    "PostInvocation": [
      {
        "type": "command",
        "command": "python3 \"__FABLE_PLUGIN_DIR__/hooks/fable_hook_dispatch.py\" --host antigravity --event PostInvocation --handler event",
        "timeout": 10
      }
    ]
  },
  "get-fable-completion": {
    "Stop": [
      {
        "type": "command",
        "command": "python3 \"__FABLE_PLUGIN_DIR__/hooks/fable_hook_dispatch.py\" --host antigravity --event Stop --handler close",
        "timeout": 30
      }
    ]
  }
}

SHA-256: e0a6828674ca516f2f98b4eb7e4b2521176999c515c55f657e7e715ab3466e08