claude-baseline-1752117014

pull/1635/head
zolinthecow 2 days ago
parent afe56a33fc
commit 15308b5cb7

@ -19,3 +19,9 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Fresh restart - testing stash browsing with updated recovery logic!
Now baseline exists - this should work properly!
Testing with debug logs to see what's happening in the hooks.
After reloading hooks module - this should create debug logs!

@ -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

Loading…
Cancel
Save