Commit Graph

3 Commits

Author SHA1 Message Date
odoldotol 3d4ec258fb feat(hook/debug-window): close window on session end (#270)
* 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>
2026-01-17 21:03:52 -05:00
odoldotol c73206a473 fix(hook/debug-window): window opens without debug flag (#254)
* 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>
2026-01-07 13:32:07 -05:00
odoldotol 983666a769 feat: debug-window (#154)
* 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
2025-12-31 20:58:50 -05:00