claude-git-hooks 2.17.2 → 2.18.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/CLAUDE.md +821 -0
- package/README.md +12 -4
- package/bin/claude-hooks +2 -0
- package/lib/commands/bump-version.js +11 -4
- package/lib/commands/generate-changelog.js +8 -2
- package/lib/commands/help.js +380 -5
- package/lib/commands/helpers.js +2 -2
- package/lib/commands/hooks.js +7 -7
- package/lib/utils/changelog-generator.js +108 -6
- package/lib/utils/file-utils.js +41 -3
- package/lib/utils/github-api.js +160 -0
- package/lib/utils/version-manager.js +26 -56
- package/package.json +69 -68
- package/templates/HELP_COMPOSE_ISSUE.md +12 -0
- package/templates/HELP_QUERY.md +23 -0
- package/templates/HELP_REPORT_ISSUE.md +17 -0
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,33 @@ Todos los cambios notables en este proyecto se documentarán en este archivo.
|
|
|
5
5
|
El formato está basado en [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
y este proyecto adhiere a [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [2.18.1] - 2026-03-04
|
|
9
|
+
|
|
10
|
+
### ✨ Added
|
|
11
|
+
- Monorepo support for CHANGELOG discovery - discovers all CHANGELOG.md files and prompts to select when multiple are found (#77)
|
|
12
|
+
- AI-powered help and issue creation system (#79)
|
|
13
|
+
|
|
14
|
+
### 🔧 Changed
|
|
15
|
+
- Enhanced `walkDirectoryTree` utility function in file-utils.js for reusable directory traversal
|
|
16
|
+
- Updated documentation to reflect monorepo CHANGELOG discovery capabilities
|
|
17
|
+
|
|
18
|
+
### 🐛 Fixed
|
|
19
|
+
- Cross-platform path handling in git hooks directory resolution (normalized path separators)
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## [2.18.0] - 2026-03-03
|
|
23
|
+
|
|
24
|
+
### ✨ Added
|
|
25
|
+
- AI-powered help command - ask natural language questions about claude-hooks and get answers from documentation (`claude-hooks help "how do presets work?"`) (#79)
|
|
26
|
+
- Interactive issue creation - guided GitHub issue creation using repository templates (`claude-hooks help --report-issue`) (#79)
|
|
27
|
+
- New GitHub API functions for fetching file content, directory listings, and creating issues (`fetchFileContent`, `fetchDirectoryListing`, `createIssue`)
|
|
28
|
+
- New prompt templates for AI help system: HELP_QUERY.md, HELP_REPORT_ISSUE.md, HELP_COMPOSE_ISSUE.md
|
|
29
|
+
|
|
30
|
+
### 🔧 Changed
|
|
31
|
+
- Help command now supports three modes: static help (no args), AI-powered help (with question), and issue reporting (--report-issue)
|
|
32
|
+
- Updated documentation (README.md, README-NPM.md, CLAUDE.md) to reflect new help and issue reporting features
|
|
33
|
+
|
|
34
|
+
|
|
8
35
|
## [2.17.2] - 2026-03-02
|
|
9
36
|
|
|
10
37
|
### 🐛 Fixed
|