Feature/claude hooks protocol#16
Open
vaibhavpareek-vp7 wants to merge 2 commits into
Open
Conversation
…ement Introduces a new protocol type alongside the existing file_sync type. When a config repo defines a claude_hooks protocol, devctl will: 1. Copy non-yaml files from the source dir to ~/.devctl/hooks/ (hook scripts) 2. Merge the 'hooks' section from source/hooks.yaml into ~/.claude/settings.json 3. Remove the 'hooks' key from settings.json if hooks.yaml is absent (clean uninstall) This lets teams centrally manage Claude Code hooks (e.g. skill usage tracking) via a config repo. Developers get hooks installed/updated automatically on every devctl ai-kit sync — no per-developer setup needed. 11 new tests, all existing tests pass (67 total). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replaced capture_output with stdout=subprocess.DEVNULL for both git pull and git clone commands to suppress output. Added --progress flag to the git clone command for better visibility during cloning operations.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.