{
  "$schema": "https://uhr.dev/schema/manifest.v1.json",
  "name": "teleportation",
  "version": "1.2.0",
  "description": "Remote approval system for Claude Code — approve AI coding changes from any device",
  "homepage": "https://github.com/dundas/teleportation-private",
  "hooks": [
    {
      "id": "pre-tool-use",
      "on": "beforeToolExecution",
      "command": "bun __HOOKS_DIR__/pre_tool_use.mjs",
      "tools": ["*"],
      "blocking": true,
      "timeout": 300000,
      "platforms": ["claude-code", "gemini-cli", "cursor"]
    },
    {
      "id": "session-start",
      "on": "sessionStart",
      "command": "bun __HOOKS_DIR__/session_start.mjs",
      "platforms": ["claude-code", "gemini-cli", "cursor"]
    },
    {
      "id": "session-end",
      "on": "sessionEnd",
      "command": "bun __HOOKS_DIR__/session_end.mjs",
      "platforms": ["claude-code", "gemini-cli", "cursor"]
    },
    {
      "id": "stop",
      "on": "stop",
      "command": "bun __HOOKS_DIR__/stop.mjs",
      "platforms": ["claude-code", "cursor"]
    },
    {
      "id": "notification",
      "on": "notification",
      "command": "bun __HOOKS_DIR__/notification.mjs",
      "platforms": ["claude-code"]
    },
    {
      "id": "user-prompt-submit",
      "on": "beforePromptSubmit",
      "command": "bun __HOOKS_DIR__/user_prompt_submit.mjs",
      "platforms": ["claude-code", "cursor"]
    },
    {
      "id": "permission-request",
      "on": "permissionRequest",
      "command": "bun __HOOKS_DIR__/permission_request.mjs",
      "blocking": true,
      "timeout": 300000,
      "platforms": ["claude-code"]
    },
    {
      "id": "post-tool-use",
      "on": "afterToolExecution",
      "command": "bun __HOOKS_DIR__/post_tool_use.mjs",
      "tools": ["*"],
      "platforms": ["claude-code", "cursor"]
    }
  ],
  "permissions": {
    "allow": ["read", "grep", "fetch"],
    "deny": []
  },
  "ordering": {
    "pre-tool-use": {
      "runBefore": ["*"]
    }
  },
  "meta": {
    "minUhrVersion": "0.1.0",
    "license": "MIT"
  }
}
