claude-baseline-1752117014

This commit is contained in:
zolinthecow 2025-07-09 20:10:14 -07:00
parent afe56a33fc
commit 15308b5cb7
2 changed files with 14 additions and 0 deletions

View file

@ -17,6 +17,10 @@ end
function M.pre_tool_use_hook()
vim.notify('Pre-hook called', vim.log.levels.INFO)
-- Debug log
local debug_msg = string.format('Pre-hook executing at %s', os.date('%Y-%m-%d %H:%M:%S'))
vim.fn.writefile({debug_msg}, '/tmp/claude-pre-hook-debug.log', 'a')
local utils = require('nvim-claude.utils')
-- Check if we're in a git repository
@ -75,6 +79,10 @@ end
function M.post_tool_use_hook()
vim.notify('Post-hook called', vim.log.levels.INFO)
-- Debug log
local debug_msg = string.format('Post-hook executing at %s', os.date('%Y-%m-%d %H:%M:%S'))
vim.fn.writefile({debug_msg}, '/tmp/claude-post-hook-debug.log', 'a')
vim.notify('Post-tool-use hook triggered', vim.log.levels.INFO)
-- Use vim.schedule to ensure we're in the main thread