spacehub

surshar / claude-code

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

Built by Anthropic · github.com/anthropics

diff: the command.run hook names its command by the literal the engine's scan reads (#96570)Browse files
Alice T'Poteat authored 28 days ago · GitHub committed 28 days ago parent d78be94 · commit 384e28e6c3ad
1 changed file+1 -1compared with d78be94
Mmods/diff/hooks/register.ts
@@ -741,7 +741,7 @@
741741 )
742742 })
743743
744- on('command.run', { command: Names.COMMAND_NAME }, async ($, e, next) => {
744+ on('command.run', { command: 'diff' }, async ($, e, next) => {
745745 if (!host) {
746746 return next(e)
747747 }