Spaces:
Configuration error
Configuration error
Download plugin/hooks/hooks.json from Yash030/agentcache: direct link, hf CLI and curl.
- Browser
- Download file 2.6 kB
-
https://huggingface.co/spaces/Yash030/agentcache/resolve/main/plugin/hooks/hooks.json
- Command line
-
hf download hf://spaces/Yash030/agentcache/plugin/hooks/hooks.json
-
curl -L -o hooks.json https://huggingface.co/spaces/Yash030/agentcache/resolve/main/plugin/hooks/hooks.json
2.6 kB
| { | |
| "hooks": { | |
| "SessionStart": [ | |
| { | |
| "hooks": [ | |
| { | |
| "type": "command", | |
| "command": "python \"${CLAUDE_PLUGIN_ROOT}/scripts/session_start.py\"" | |
| } | |
| ] | |
| } | |
| ], | |
| "UserPromptSubmit": [ | |
| { | |
| "hooks": [ | |
| { | |
| "type": "command", | |
| "command": "python \"${CLAUDE_PLUGIN_ROOT}/scripts/prompt_submit.py\"" | |
| } | |
| ] | |
| } | |
| ], | |
| "PreToolUse": [ | |
| { | |
| "matcher": "Edit|Write|Read|Glob|Grep", | |
| "hooks": [ | |
| { | |
| "type": "command", | |
| "command": "python \"${CLAUDE_PLUGIN_ROOT}/scripts/pre_tool_use.py\"" | |
| } | |
| ] | |
| } | |
| ], | |
| "PostToolUse": [ | |
| { | |
| "hooks": [ | |
| { | |
| "type": "command", | |
| "command": "python \"${CLAUDE_PLUGIN_ROOT}/scripts/post_tool_use.py\"" | |
| } | |
| ] | |
| } | |
| ], | |
| "PostToolUseFailure": [ | |
| { | |
| "hooks": [ | |
| { | |
| "type": "command", | |
| "command": "python \"${CLAUDE_PLUGIN_ROOT}/scripts/post_tool_failure.py\"" | |
| } | |
| ] | |
| } | |
| ], | |
| "PreCompact": [ | |
| { | |
| "hooks": [ | |
| { | |
| "type": "command", | |
| "command": "python \"${CLAUDE_PLUGIN_ROOT}/scripts/pre_compact.py\"" | |
| } | |
| ] | |
| } | |
| ], | |
| "SubagentStart": [ | |
| { | |
| "hooks": [ | |
| { | |
| "type": "command", | |
| "command": "python \"${CLAUDE_PLUGIN_ROOT}/scripts/subagent_start.py\"" | |
| } | |
| ] | |
| } | |
| ], | |
| "SubagentStop": [ | |
| { | |
| "hooks": [ | |
| { | |
| "type": "command", | |
| "command": "python \"${CLAUDE_PLUGIN_ROOT}/scripts/subagent_stop.py\"" | |
| } | |
| ] | |
| } | |
| ], | |
| "Notification": [ | |
| { | |
| "hooks": [ | |
| { | |
| "type": "command", | |
| "command": "python \"${CLAUDE_PLUGIN_ROOT}/scripts/notification.py\"" | |
| } | |
| ] | |
| } | |
| ], | |
| "TaskCompleted": [ | |
| { | |
| "hooks": [ | |
| { | |
| "type": "command", | |
| "command": "python \"${CLAUDE_PLUGIN_ROOT}/scripts/task_completed.py\"" | |
| } | |
| ] | |
| } | |
| ], | |
| "Stop": [ | |
| { | |
| "hooks": [ | |
| { | |
| "type": "command", | |
| "command": "python \"${CLAUDE_PLUGIN_ROOT}/scripts/stop.py\"" | |
| } | |
| ] | |
| } | |
| ], | |
| "SessionEnd": [ | |
| { | |
| "hooks": [ | |
| { | |
| "type": "command", | |
| "command": "python \"${CLAUDE_PLUGIN_ROOT}/scripts/session_end.py\"" | |
| } | |
| ] | |
| } | |
| ] | |
| } | |
| } | |