{ "permissions": { "allow": [ "mcp__gitea__get_me", "mcp__gitea__issue_write" ] }, "hooks": { "SessionStart": [ { "hooks": [ { "type": "command", "command": "bash ./.claude/hooks/session_briefing.sh", "timeout": 5 } ] } ], "UserPromptSubmit": [ { "hooks": [ { "type": "command", "command": "t=$(mktemp);cat>\"$t\";e=./.claude/hooks/token-usage/claude-hook.exe;[ -x \"$e\" ] && \"$e\" session-context \"$t\";rm -f \"$t\"", "timeout": 5 } ] } ], "Stop": [ { "hooks": [ { "type": "command", "command": "t=$(mktemp);cat>\"$t\";e=./.claude/hooks/token-usage/claude-hook.exe;[ -x \"$e\" ] && \"$e\" stop-record \"$t\";rm -f \"$t\"", "timeout": 5 }, { "type": "command", "command": "bash ./.claude/hooks/stop_progress_reminder.sh", "timeout": 3 } ] } ], "PostToolUse": [ { "matcher": "Bash", "hooks": [ { "type": "command", "command": "t=$(mktemp);cat>\"$t\";e=./.claude/hooks/token-usage/claude-hook.exe;[ -x \"$e\" ] && \"$e\" aptabase-commit \"$t\";rm -f \"$t\"", "timeout": 15 } ] } ] } }