Opens a 3-panel Ghostty layout (Claude | lazygit / yazi) when creating
worktrees in sibling directories. Handles both WorktreeCreate and
WorktreeRemove events with a single companion script.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Create close-debug-window.sh
* Enhance debug window script with detailed comments
Refactor debug window script for clarity and functionality.
* Enhance debug window description and functionality
Updated the debug window description to include additional details about its functionality and platform support.
* Update cli-tool/components/hooks/development-tools/debug-window.json
Invalid JSON: missing comma after description makes configuration unparsable
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
* Update close-debug-window.sh for Windows compatibility
Replace taskkill with ps and kill for better compatibility in Git Bash/Cygwin environments.
* refac: merge close-debug-window.sh to debug-window.sh
- Parses input to get hook_event_name
- Based on hook_event_name, either opens or closes the window
* Delete cli-tool/components/hooks/development-tools/close-debug-window.sh
* Change debug window command script
---------
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
* feat: debug-window
Auto Debug Log Viewer. Automatically opens a new window with live debug log output when a Claude Code session starts.
* fix: replace BSD-incompatible grep -P with portable sed for session_id extraction
* fix(hook/debug-window): Debug window opens without --debug flag
Add check for --debug flag to control debug log opening.
* doc(hook/debug-window): Update description for clarity
* Update cli-tool/components/hooks/development-tools/debug-window.sh
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
---------
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
* feat: debug-window
Auto Debug Log Viewer. Automatically opens a new window with live debug log output when a Claude Code session starts.
* fix: replace BSD-incompatible grep -P with portable sed for session_id extraction
- Update all 14 hooks to use proper Claude Code array/matcher format
- Fix CLI merge logic to handle new hook structure correctly
- Add support for both old and new hook formats during migration
- Remove conflict detection for hooks (Claude Code arrays support multiple entries)
- Ensure hooks follow proper structure:
{
"hooks": {
"EventName": [
{
"matcher": "ToolPattern",
"hooks": [
{"type": "command", "command": "bash-command"}
]
}
]
}
}
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>