@entro314labs/ai-changelog-generator 3.1.1 → 3.2.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.
Files changed (51) hide show
  1. package/CHANGELOG.md +412 -875
  2. package/README.md +8 -3
  3. package/ai-changelog-mcp.sh +0 -0
  4. package/ai-changelog.sh +0 -0
  5. package/bin/ai-changelog-dxt.js +9 -9
  6. package/bin/ai-changelog-mcp.js +19 -17
  7. package/bin/ai-changelog.js +6 -6
  8. package/package.json +80 -48
  9. package/src/ai-changelog-generator.js +91 -81
  10. package/src/application/orchestrators/changelog.orchestrator.js +791 -516
  11. package/src/application/services/application.service.js +137 -128
  12. package/src/cli.js +76 -57
  13. package/src/domains/ai/ai-analysis.service.js +289 -209
  14. package/src/domains/analysis/analysis.engine.js +328 -192
  15. package/src/domains/changelog/changelog.service.js +1174 -783
  16. package/src/domains/changelog/workspace-changelog.service.js +487 -249
  17. package/src/domains/git/git-repository.analyzer.js +348 -258
  18. package/src/domains/git/git.service.js +132 -112
  19. package/src/infrastructure/cli/cli.controller.js +390 -274
  20. package/src/infrastructure/config/configuration.manager.js +220 -190
  21. package/src/infrastructure/interactive/interactive-staging.service.js +154 -135
  22. package/src/infrastructure/interactive/interactive-workflow.service.js +200 -159
  23. package/src/infrastructure/mcp/mcp-server.service.js +208 -207
  24. package/src/infrastructure/metrics/metrics.collector.js +140 -123
  25. package/src/infrastructure/providers/core/base-provider.js +87 -40
  26. package/src/infrastructure/providers/implementations/anthropic.js +101 -99
  27. package/src/infrastructure/providers/implementations/azure.js +124 -101
  28. package/src/infrastructure/providers/implementations/bedrock.js +136 -126
  29. package/src/infrastructure/providers/implementations/dummy.js +23 -23
  30. package/src/infrastructure/providers/implementations/google.js +123 -114
  31. package/src/infrastructure/providers/implementations/huggingface.js +94 -87
  32. package/src/infrastructure/providers/implementations/lmstudio.js +75 -60
  33. package/src/infrastructure/providers/implementations/mock.js +69 -73
  34. package/src/infrastructure/providers/implementations/ollama.js +89 -66
  35. package/src/infrastructure/providers/implementations/openai.js +88 -89
  36. package/src/infrastructure/providers/implementations/vertex.js +227 -197
  37. package/src/infrastructure/providers/provider-management.service.js +245 -207
  38. package/src/infrastructure/providers/provider-manager.service.js +145 -125
  39. package/src/infrastructure/providers/utils/base-provider-helpers.js +308 -302
  40. package/src/infrastructure/providers/utils/model-config.js +220 -195
  41. package/src/infrastructure/providers/utils/provider-utils.js +105 -100
  42. package/src/infrastructure/validation/commit-message-validation.service.js +259 -161
  43. package/src/shared/constants/colors.js +453 -180
  44. package/src/shared/utils/cli-demo.js +285 -0
  45. package/src/shared/utils/cli-entry-utils.js +257 -249
  46. package/src/shared/utils/cli-ui.js +447 -0
  47. package/src/shared/utils/diff-processor.js +513 -0
  48. package/src/shared/utils/error-classes.js +125 -156
  49. package/src/shared/utils/json-utils.js +93 -89
  50. package/src/shared/utils/utils.js +1117 -945
  51. package/types/index.d.ts +353 -344
package/CHANGELOG.md CHANGED
@@ -5,888 +5,425 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
- ## [3.1.1] - 2025-08-01 ([480d3bc...a55fbc9](https://github.com/entro314-labs/AI-changelog-generator/compare/480d3bc9ac50fb983ddcf856aa99f9cc05cfc601...a55fbc98c36bd95d44d1582ed290b432e696058a))
9
-
10
- ### 📋 Release Summary
11
- Release 3.1.1 includes 10 commits (3 chore, 2 feature, 2 fix, 2 refactor, 1 docs). Complexity: low. Affected areas: configuration, documentation, source, other, assets.
12
-
13
- **Business Impact**: minor
14
- **Complexity**: low
15
-
16
- ## Changes
17
-
18
- ### 🔧 Maintenance
19
-
20
- - **Update package.json**: The package version was incremented from 3.0.4 to 3.0.5 in package.json. No functional or dependency changes were made. ([641ad94](https://github.com/entro314-labs/AI-changelog-generator/commit/641ad94a5907d587f4427d1bfab195f7590a20a6))
21
- - **Update package.json**: The version field in package.json was incremented from 3.0.3 to 3.0.4. No functionality, dependencies, or APIs were changed. ([787425e](https://github.com/entro314-labs/AI-changelog-generator/commit/787425e6f9b8524a3a2ee894ee201fcf29fc2e44))
22
-
23
- ### 📚 Documentation
24
-
25
- - **minor updates**: A comprehensive new setup guide was added, while several older, more detailed documentation files were removed for clarity and maintainability. Minor updates were made to documentation references and copyright information. ([28c0949](https://github.com/entro314-labs/AI-changelog-generator/commit/28c0949bcf455be78efae9162a4463bfc54afe3e))
26
-
27
- ### 🐛 Bug Fixes
28
-
29
- - **fix: add publishConfig for public access**: Added a publishConfig section to package.json to specify public access for npm publishing. No application logic or user-facing functionality was changed. ([0f78591](https://github.com/entro314-labs/AI-changelog-generator/commit/0f7859165c80f29383afe6d02f88999664c29459))
30
- - **fix: remove prepublishOnly hook with missing test-runner**: The 'prepublishOnly' npm script, which referenced a non-existent test runner, was removed from package.json. This prevents publishing errors caused by the missing script. ([0e7d691](https://github.com/entro314-labs/AI-changelog-generator/commit/0e7d691da1da409e57cabf77baf55f92b2d47d41))
31
- - **fix: remove missing validate:mcp script from prepublishOnly**: Removed the call to the non-existent 'validate:mcp' script from the 'prepublishOnly' lifecycle step in package.json. Only 'test:comprehensive' now runs before publishing. ([215c644](https://github.com/entro314-labs/AI-changelog-generator/commit/215c6440005607ed56684e8d7906be5fe252e6fc))
32
-
33
- ### ♻️ Refactoring
34
-
35
- - **minor naming changes**: Internal code references to utility functions were updated to use a new file naming convention, changing imports from 'consolidated-utils.js' to 'utils.js' across multiple modules. No new features, APIs, or behavioral changes were introduced. ([3b99ef2](https://github.com/entro314-labs/AI-changelog-generator/commit/3b99ef20c6c3d39c5c1d7c0ea0ed8a84da07de34))
36
- - **minor naming updates**: This update removes sample DXT extension files and documentation, and restructures the MCP server entry point for clarity and maintainability. Internal naming and initialization logic were adjusted, but no APIs or user commands were added or removed. ([480d3bc](https://github.com/entro314-labs/AI-changelog-generator/commit/480d3bc9ac50fb983ddcf856aa99f9cc05cfc601))
37
-
38
- ### 🔧 Working Directory Changes
39
-
40
- - (feature) Expanded color constants in colors.js - Added new color entries including 'dracula', 'draculaDark', 'draculaLight', 'draculaYellow', 'draculaCyan', 'draculaOrange', 'draculaPink', 'draculaPurple', 'draculaRed', 'draculaGreen', and 'draculaBackground' to the exported COLORS object.
41
-
42
- - (docs) Added changelog for version 3.1.0 - Created CHANGELOG-3.1.0.md with 50 lines detailing changes for version 3.1.0 dated 2025-08-01.
43
-
44
- - (other) Added demo tape and video files - Created demo-basic.tape, demo-features.tape, demo-interactive.tape, demo-quick-real.tape, demo-quick.tape, demo-simple.tape, and demo.tape with various demo scripts; added demo.mp4 and demo-interactive.mp4 video files.
45
-
46
- - (assets) Added demo GIF assets - Created demo-interactive-optimized.gif and demo-quick-real.gif with image data; added empty demo-interactive.gif, demo-optimized.gif, and demo-simple.gif files.
47
-
48
- ---
49
-
50
- *Generated using [ai-changelog-generator](https://github.com/entro314-labs/AI-changelog-generator) - AI-powered changelog generation for Git repositories*
51
-
52
- ## [3.1.0] - 2025-08-01 ([480d3bc...a55fbc9](https://github.com/entro314-labs/AI-changelog-generator/compare/480d3bc9ac50fb983ddcf856aa99f9cc05cfc601...a55fbc98c36bd95d44d1582ed290b432e696058a))
53
-
54
- ### 📋 Release Summary
55
- Release 3.1.0 includes 10 commits (3 chore, 2 feature, 2 fix, 2 refactor, 1 docs). Complexity: low. Affected areas: configuration, documentation, source, other, assets.
56
-
57
- **Business Impact**: minor
58
- **Complexity**: low
59
-
60
- ## Changes
61
-
62
- ### 🔧 Maintenance
63
-
64
- - **Update package.json**: The package.json file version was updated from 3.0.4 to 3.0.5. No functionality, dependencies, or configuration were changed. ([641ad94](https://github.com/entro314-labs/AI-changelog-generator/commit/641ad94a5907d587f4427d1bfab195f7590a20a6))
65
- - **Update package.json**: The package version was updated from 3.0.3 to 3.0.4 in package.json. No code, features, or dependencies were changed. ([787425e](https://github.com/entro314-labs/AI-changelog-generator/commit/787425e6f9b8524a3a2ee894ee201fcf29fc2e44))
66
-
67
- ### 📚 Documentation
68
-
69
- - **minor updates**: A new comprehensive 'AI Provider Setup Guide' was added, consolidating and simplifying provider configuration instructions; several outdated or redundant documentation files were removed, and the .gitignore was updated to exclude these files. No application code or user-facing features were changed. ([28c0949](https://github.com/entro314-labs/AI-changelog-generator/commit/28c0949bcf455be78efae9162a4463bfc54afe3e))
70
-
71
- ### 🐛 Bug Fixes
72
-
73
- - **fix: add publishConfig for public access**: Added a publishConfig section with 'access: public' to package.json, ensuring the package is published with public visibility. No application code or runtime behavior was changed. ([0f78591](https://github.com/entro314-labs/AI-changelog-generator/commit/0f7859165c80f29383afe6d02f88999664c29459))
74
- - **fix: remove prepublishOnly hook with missing test-runner**: The 'prepublishOnly' npm script, which referenced a non-existent 'test:comprehensive' command, was removed from package.json. This prevents npm publish operations from being blocked by missing scripts. ([0e7d691](https://github.com/entro314-labs/AI-changelog-generator/commit/0e7d691da1da409e57cabf77baf55f92b2d47d41))
75
- - **fix: remove missing validate:mcp script from prepublishOnly**: The prepublishOnly script no longer tries to run the removed validate:mcp command, which previously caused errors if the script was absent. Only the comprehensive test suite is now run before publishing. ([215c644](https://github.com/entro314-labs/AI-changelog-generator/commit/215c6440005607ed56684e8d7906be5fe252e6fc))
76
-
77
- ### ♻️ Refactoring
78
-
79
- - **minor naming changes**: The update consolidates utility imports by renaming and redirecting them from 'consolidated-utils.js' to 'utils.js' across core modules and provider integrations. No APIs, commands, or outputs were changed; only internal code references were updated for consistency. ([3b99ef2](https://github.com/entro314-labs/AI-changelog-generator/commit/3b99ef20c6c3d39c5c1d7c0ea0ed8a84da07de34))
80
- - 🔥 **minor naming updates**: This update removes all sample DXT extension packages, documentation, and related files, and restructures the MCP server entry point and supporting utilities for improved clarity and maintainability. No new tools or APIs were introduced, and no user-facing commands or behaviors were modified. ([480d3bc](https://github.com/entro314-labs/AI-changelog-generator/commit/480d3bc9ac50fb983ddcf856aa99f9cc05cfc601))
81
-
82
- ### 🔧 Working Directory Changes
83
-
84
- - (feature) Added demo-optimized.gif asset - Created new empty file demo-optimized.gif in assets.
85
-
86
- - (feature) Added demo-simple.gif asset - Created new empty file demo-simple.gif in assets.
87
-
88
- - (feature) Added demo-quick.tape script - Created new file demo-quick.tape with 70 lines, including commands for outputting demo-quick.gif, setting font size, width, height, theme, typing speed, and various typing and enter actions.
89
-
90
- - (feature) Added demo-simple.tape script - Created new file demo-simple.tape with 24 lines, including commands for outputting demo-simple.gif, setting font size, width, height, theme, typing speed, and typing a demo title.
91
-
92
- - (feature) Added demo.mp4 media file - Created new file demo.mp4 with 3243 lines of binary content.
93
-
94
- - (feature) Added demo.tape script - Created new file demo.tape with 129 lines, including documentation comments and commands for outputting GIF and MP4 files, setting font size, width, height, theme, typing speed, and various typing and enter actions.
95
-
96
- ---
97
-
98
- *Generated using [ai-changelog-generator](https://github.com/entro314-labs/AI-changelog-generator) - AI-powered changelog generation for Git repositories*
99
-
100
- ## [3.0.3]
101
-
102
- ### 🔧 **Maintenance & Bug Fixes**
103
-
104
- **Key Changes:**
105
- - Fixed intermittent "No working directory changes detected" issue caused by similar function mixups
106
- - Enhanced CLI output formatting with professional visual styling
107
- - Resolved Azure OpenAI provider token counting issues
108
- - Improved error handling and fallback logic throughout the system
109
- - Added comprehensive JSDoc documentation for better code maintainability
110
-
111
- **Technical Improvements:**
112
- - ✅ Fixed working directory change detection reliability
113
- - ✅ Enhanced token usage tracking for Azure provider
114
- - ✅ Improved CLI visual formatting with boxed metrics and color-coded outputs
115
- - ✅ Standardized error messaging and provider warnings
116
- - ✅ Added robust fallback handling for AI analysis failures
117
- - ✅ Cleaned up debug output and improved user experience
118
-
119
- **Breaking Changes:** None - this is a maintenance release
120
-
121
- **Commits:**
122
- - (refactor) Enhanced WorkspaceChangelogService with diff analysis and comprehensive cleanup
123
- - (fix) Resolved Azure provider token counting and working directory detection issues
124
- - (docs) Added JSDoc comments and improved code documentation
125
- - (chore) Updated organization references and package metadata
126
-
127
- ---
128
-
129
- ## [Unreleased]
130
-
131
- ### 📋 Release Summary
132
- Release latest includes 2 commits (1 docs, 1 feature). Complexity: high. Affected areas: configuration, documentation, other, source, build.
133
-
134
- **Business Impact**: minor
135
- **Complexity**: high
136
-
137
- ### Added
138
- - Complete codebase and project structure for VibeKit VDK CLI
139
- - 189 new files totaling 40,860 lines including CLI source code (cli.js)
140
- - Installation and release scripts (install.sh, release.sh)
141
- - Comprehensive documentation (README.md, GUIDE.md, ROADMAP.md, VDK_OVERVIEW.md, CONTRIBUTING.md)
142
- - GitHub workflow and templates
143
- - JavaScript CLI entry point with dotenv, commander support
144
- - Package.json with bin entry for 'vdk' command
145
-
146
- ### Changed
147
- - Updated repository references from 'idominikosgr' to 'entro314-labs' across 154 files
148
- - Added new documentation files: VDK_AI_ASSISTANT_COMPATIBILITY_REPORT.md, VDK_DOCUMENTATION.md
149
- - Updated installation instructions, badges, and URLs to new organization
150
- - Minor dependency version bump for 'dotenv' in pnpm-lock.yaml
151
- - Updated code comments and API URLs in JavaScript source files
152
-
153
- ### Removed
154
- - Large 'GUIDE.md' file (net reduction of over 20,000 lines)
155
-
156
- ---
157
-
158
8
  ## [Unreleased]
159
9
 
160
- ### 📋 Release Summary
161
- Release includes 4 new features, 1 bug fix, extensive refactoring
162
-
163
- **Business Impact**: major
164
- **Complexity**: high
165
- **Deployment Requirements**: Database migration required
166
-
167
- ### 🚀 Features
168
-
169
- #### CLI Reliability Improvements
170
- - Fixed infinite loop issues in CLI interactions
171
- - Removed conflicting readline interface
172
- - Added detection for non-interactive environments
173
- - Enhanced error handling for automated/scripted use cases
174
-
175
- #### Template and Setup Standardization
176
- - Refactored handlebar templates for consistency
177
- - Updated references from 'VibeCodingRules' to 'Vibe-Coding-Rules'
178
- - Introduced interactive setup wizard (setup-wizard.js)
179
- - Improved project configuration experience
180
-
181
- #### Project Planning and Documentation
182
- - Added detailed ROADMAP.md outlining future development goals
183
- - Updated README to reference roadmap
184
- - Enhanced core agent documentation rules for clarity
185
-
186
- #### Project Rebranding
187
- - Renamed project from DevRulesPlus to CodePilotRules
188
- - Updated all documentation, scripts, and setup files
189
- - Maintained consistency across codebase
190
-
191
- ### 🐛 Bug Fixes
192
- - Fixed execution order in installation script
193
- - Ensured dependencies install before CLI execution
194
- - Improved script reliability and error prevention
195
-
196
- ### ♻️ Code Refactoring
197
-
198
- #### Documentation and Repository Cleanup
199
- - Updated .gitignore to exclude additional documentation files
200
- - Streamlined documentation with obsolete scripts removed
201
- - Improved user guides for clarity and accuracy
202
- - Standardized repository references across project files
203
-
204
- #### Major Architectural Changes
205
- - **BREAKING CHANGE**: Comprehensive refactor affecting 208 files
206
- - Reduced codebase size and complexity (+2820/-12538 lines)
207
- - Database schema and configuration updates
208
- - Introduced new roadmap and publishing workflow
209
-
210
- #### Branding Evolution
211
- - Complete rebranding from 'Vibe Coding Rules' to 'VibeKit VDK CLI'
212
- - Updated environment variables, configuration, and project metadata
213
- - Added new documentation (CLI Reference, Getting Started)
214
-
215
- #### Rule System Enhancements
216
- - Extensive reorganization of configuration and rule files
217
- - Added installation and sync system documentation
218
- - Updated setup wizard and package scripts
219
- - Comprehensive 'Vibe Coding Rules' for AI assistant standardization
220
-
221
- #### Initial Foundation
222
- - **BREAKING CHANGE**: Initial project setup with 109 files, 19,000 lines
223
- - Core agent instructions and project context templates
224
- - Language-specific best practices (TypeScript, Python, Swift, Kotlin, C++)
225
- - AI assistant integrations (Cursor, Copilot, Windsurf)
226
- - Model Context Protocol (MCP) servers configuration
227
-
228
- ### ⚠️ Migration Requirements
229
- - Review database schema changes before deployment
230
- - Update environment variables to new naming conventions
231
- - Follow new INSTALLATION.md and SYNC-SYSTEM.md guides
232
- - Update CI/CD pipelines referencing old project names
233
- - Full regression testing recommended due to scope of changes
234
-
235
- ### 🎯 Affected Areas
236
- - Database, configuration, documentation, source code, assets, scripts
237
-
238
- ---
239
-
240
- ## [3.0.0]
241
-
242
- ### 🚀 **Major Release: Universal AI Provider Ecosystem**
243
-
244
- This major release transforms the tool into a universal AI changelog generator supporting 10+ AI providers with the latest 2025 models, enhanced architecture, and production-ready reliability.
245
-
246
- #### **New AI Provider Support**
247
-
248
- **Complete Provider Ecosystem (10+ providers)**
249
- - **NEW**: Anthropic Claude integration with Sonnet 4 and Opus 4 (2025 latest models)
250
- - **NEW**: Google AI (Gemini) with 2.5 Pro/Flash and thinking mode support
251
- - **NEW**: Google Vertex AI with enterprise features and custom endpoints
252
- - **NEW**: Hugging Face multi-provider routing (Replicate, Together, SambaNova, Fal)
253
- - **NEW**: Ollama local model support (Llama, Mistral, CodeLlama, custom models)
254
- - ✨ **NEW**: LM Studio local deployment with OpenAI-compatible API
255
- - ✨ **ENHANCED**: OpenAI with GPT-4.1 series and o1 reasoning models
256
- - **ENHANCED**: Azure OpenAI with exclusive o3/o4 models and v1 API support
257
-
258
- **Latest 2025 Model Support**
259
- - **OpenAI**: GPT-4.1 (nano, mini, standard), o1 reasoning models
260
- - **Azure**: GPT-4.1 series + exclusive o3/o4 reasoning models
261
- - **Anthropic**: Claude Sonnet 4, Claude Opus 4 (latest 2025 releases)
262
- - **Google**: Gemini 2.5 Pro/Flash with multimodal and thinking capabilities
263
- - **Hugging Face**: Qwen 2.5, Llama 3.3, Mixtral, 200k+ models via routing
264
- - **Local**: Any Ollama or LM Studio compatible model
265
-
266
- #### 🏗️ **Architecture Transformation**
267
-
268
- **Plugin-Based Provider System**
269
- - ✨ **NEW**: Universal base provider interface with consistent capabilities
270
- - ✨ **NEW**: Automatic provider detection and smart selection
271
- - **NEW**: Graceful fallback chain with priority ordering
272
- - **NEW**: Provider-specific model recommendations and optimization
273
- - **NEW**: Unified error handling and recovery across all providers
274
-
275
- **Enhanced Configuration System**
276
- - ✨ **NEW**: Zero-configuration auto-detection of available providers
277
- - **NEW**: Flexible provider priority ordering
278
- - ✨ **NEW**: Environment-based configuration for all providers
279
- - ✨ **NEW**: Comprehensive validation and testing tools
280
-
281
- #### 🔧 **Production Enhancements**
282
-
283
- **Reliability & Error Handling**
284
- - ✨ **IMPROVED**: Robust error handling with provider-specific recovery
285
- - **IMPROVED**: Connection testing and validation for all providers
286
- - ✨ **IMPROVED**: Model availability checking with alternatives
287
- - ✨ **NEW**: Comprehensive diagnostic and troubleshooting tools
288
-
289
- **Performance Optimization**
290
- - **NEW**: Local model support eliminates API costs and latency
291
- - **NEW**: Smart model selection optimizes cost and performance
292
- - **NEW**: Multi-provider routing for best price/performance ratio
293
- - **NEW**: Automatic fallback to rule-based analysis when needed
294
-
295
- #### 🔄 **Enhanced MCP Integration**
296
-
297
- **Extended MCP Tools**
298
- - **NEW**: `switch_provider` tool for dynamic provider switching
299
- - **NEW**: `list_providers` tool for provider status and capabilities
300
- - **NEW**: Enhanced `configure_ai_provider` with multi-provider support
301
- - **NEW**: `validate_models` tool with comprehensive capability checking
302
- - **ENHANCED**: All existing tools now support provider selection
303
-
304
- **Provider Management**
305
- - **NEW**: Real-time provider switching in MCP sessions
306
- - **NEW**: Provider capability reporting and model validation
307
- - **NEW**: Comprehensive provider status and health monitoring
308
- - **NEW**: Dynamic model selection based on commit complexity
309
-
310
- #### 🛠️ **Developer Experience**
311
-
312
- **Enhanced CLI Interface**
313
- - **NEW**: Provider validation and status commands
314
- - ✨ **NEW**: Model override with capability validation
315
- - ✨ **NEW**: Comprehensive provider testing and diagnostics
316
- - **IMPROVED**: Better error messages with actionable suggestions
317
-
318
- **Advanced Features**
319
- - ✨ **NEW**: Provider-aware model recommendations
320
- - **NEW**: Cost optimization through provider selection
321
- - **NEW**: Privacy-first local model options
322
- - **NEW**: Enterprise-ready multi-provider deployments
323
-
324
- #### 📦 **Updated Dependencies**
325
-
326
- - **Added**: `@anthropic-ai/sdk@0.56.0` (Claude Sonnet 4 support)
327
- - **Added**: `@google/genai@1.10.0` (Gemini 2.5 series)
328
- - **Added**: `@huggingface/inference@4.5.3` (Multi-provider routing)
329
- - **Added**: `ollama@0.5.16` (Local model support)
330
- - **Added**: `@lmstudio/sdk@1.3.0` (LM Studio integration)
331
- - **Updated**: `@modelcontextprotocol/sdk@1.16.0` (Latest MCP features)
332
- - **Updated**: `openai@5.10.1` (GPT-4.1 and o1 support)
333
- - **Updated**: Node.js requirement to 22+ for latest features
334
-
335
- #### 🔄 **Migration Guide**
336
-
337
- **From v2.x to v3.0.0**
338
- - **Configuration**: Existing OpenAI/Azure configs continue to work unchanged
339
- - **New Providers**: Add API keys for new providers you want to use
340
- - **MCP Integration**: New tools available, existing tools enhanced
341
- - **CLI Interface**: All existing commands work identically
342
-
343
- **Recommended Migration Steps**
344
- 1. Update to Node.js 22+ if needed
345
- 2. Install v3.0.0: `npm install -g ai-changelog-generator@3.0.0`
346
- 3. Test existing configuration: `ai-changelog --validate`
347
- 4. Optionally add new provider API keys for expanded capabilities
348
- 5. Explore new providers: `ai-changelog configure`
349
-
350
- #### 📊 **Impact**
351
-
352
- - **10x Provider Support**: From 2 to 10+ AI providers
353
- - **Latest Models**: Support for all 2025 flagship models
354
- - **Zero Config**: Works out of the box with any available provider
355
- - **Cost Optimization**: Local models and smart selection reduce costs
356
- - **Enterprise Ready**: Multi-provider support for diverse requirements
357
-
358
- #### 🎯 **Breaking Changes**
359
-
360
- - **Node.js Requirement**: Now requires Node.js 22+ (was 18+)
361
- - **Provider Interface**: Internal provider API changed (affects custom providers only)
362
- - **No User Impact**: All CLI commands and MCP tools work identically
363
-
364
- ---
365
-
366
- ## [2.5.1]
367
-
368
- ### 🚀 **Point Release: Enhanced User Experience & Error Handling**
369
-
370
- This point release significantly improves the tool's reliability and user experience with cleaner output, better error handling, and enhanced repository insights.
371
-
372
- #### 🛠️ **Improvements**
373
-
374
- **Enhanced Error Handling & User Experience**
375
- - 🐛 **IMPROVED**: Git error messages now display clean, user-friendly warnings instead of raw technical output
376
- - 🐛 **IMPROVED**: Suppressed stderr output from git commands to eliminate noise
377
- - 🐛 **IMPROVED**: Model availability errors show simplified messages with session-based deduplication
378
- - **NEW**: Added `execGitShow()` method for safer git operations with missing files
379
- - **NEW**: Graceful handling of deleted/renamed files with contextual messaging
380
-
381
- **Repository Health Enhancements**
382
- - ✨ **NEW**: Added `--health` CLI flag for comprehensive repository health assessment
383
- - **NEW**: Added `assess_repository_health` MCP tool for AI assistants
384
- - ✨ **NEW**: 8-point commit message quality scoring system with real-time feedback
385
- - ✨ **NEW**: Repository hygiene recommendations and actionable insights
386
- - **NEW**: Health scoring (0-100) with categorization: Poor/Fair/Good/Excellent
387
-
388
- **Developer Experience**
389
- - ✨ **IMPROVED**: Cleaner console output with reduced error spam
390
- - **IMPROVED**: Better fallback messaging for model selection
391
- - ✨ **IMPROVED**: More informative warnings with actionable suggestions
392
- - ✨ **IMPROVED**: Enhanced rule-based analysis reliability without AI providers
393
-
394
- #### 🔧 **Technical Enhancements**
395
-
396
- - **Error Recovery**: Robust handling of git edge cases and command failures
397
- - **Output Sanitization**: Clean error messages without technical implementation details
398
- - **Session Management**: Deduplicated warnings to prevent console spam
399
- - **Graceful Degradation**: Better fallback behavior when operations fail
400
-
401
- #### 📊 **Impact**
402
-
403
- - **No Breaking Changes**: Full backward compatibility maintained
404
- - **Improved Reliability**: Prevents crashes from git edge cases
405
- - **Better UX**: Professional, clean output suitable for all skill levels
406
- - **Enhanced Insights**: Repository health provides actionable development guidance
407
-
408
- #### 🆙 **Migration Notes**
409
-
410
- - No migration required - all improvements are additive
411
- - New `--health` flag available for CLI users
412
- - MCP users gain access to `assess_repository_health` tool
413
- - All existing functionality works identically
414
-
415
- ---
416
-
417
- ## [2.5.0]
418
-
419
- ### 🆕 Major Improvements
420
-
421
- **Repository Health Assessment & Commit Quality Analysis**
422
- - **NEW**: Added comprehensive repository health assessment with `--health` CLI flag and `assess_repository_health` MCP tool
423
- - **NEW**: Real-time commit message quality detection and scoring (8-point scale)
424
- - **NEW**: Automatic warnings for poor commit messages with actionable suggestions
425
- - **NEW**: Repository hygiene metrics including working directory status, commit frequency, and code diversity
426
-
427
- **Enhanced Error Handling & Resilience**
428
- - 🐛 **FIXED**: Graceful handling of missing files in git history (no more crashes on deleted/moved files)
429
- - 🐛 **FIXED**: Improved error recovery for git command failures
430
- - 🐛 **FIXED**: Better fallback analysis when git operations fail
431
- - ✨ **NEW**: Comprehensive warnings and recovery suggestions
432
-
433
- **Rule-Based Analysis Improvements**
434
- - **NEW**: Enhanced rule-based analysis that works without AI providers
435
- - **NEW**: Commit message quality warnings integrated into changelog output
436
- - ✨ **NEW**: Repository health recommendations in generated output
437
- - ✨ **NEW**: Better fallback behavior when AI analysis fails
438
-
439
- **MCP Server Enhancements**
440
- - **NEW**: Added `assess_repository_health` MCP tool for comprehensive health analysis
441
- - ✨ **NEW**: Repository health metrics accessible via MCP for AI assistants
442
- - ✨ **NEW**: Standardized JSON output format for health assessments
443
- - **NEW**: Configurable analysis depth and recommendations
444
-
445
- **Developer Experience**
446
- - **NEW**: Clearer CLI help text with health assessment options
447
- - **NEW**: Color-coded health scores and recommendations
448
- - **NEW**: Proactive suggestions for repository hygiene improvements
449
- - **NEW**: Better user guidance for poor commit message patterns
450
-
451
- ### 🔧 Technical Enhancements
452
-
453
- - **Commit Message Analysis**: 8-point scoring system evaluating length, descriptiveness, conventional format compliance, and informational value
454
- - **Repository Health Metrics**: Comprehensive scoring including commit quality, working directory status, activity patterns, and code diversity
455
- - **Error Recovery**: Robust handling of git edge cases, deleted files, and command failures
456
- - **Fallback Analysis**: Improved rule-based analysis that provides value even without AI providers
457
- - **Attribution Updates**: Corrected repository references to match current GitHub location
458
-
459
- ### 📊 Impact
460
-
461
- This release significantly improves the tool's reliability and usefulness by:
462
- - **Preventing crashes** from git edge cases and missing files
463
- - **Providing actionable insights** about repository health and commit quality
464
- - **Working reliably** even without AI provider configuration
465
- - **Offering proactive guidance** for better development practices
466
-
467
- ### 🆙 Migration Notes
468
-
469
- - No breaking changes in this release
470
- - New `--health` flag available for CLI users
471
- - MCP users gain access to new `assess_repository_health` tool
472
- - All existing functionality remains unchanged
473
-
474
- ---
475
-
476
- ## [2.4.0]
477
-
478
- ### Added
479
- - **Complete MCP Server Feature Parity**: Achieved 100% feature parity between CLI and MCP server
480
- - New `generate_changelog_from_changes` MCP tool for working directory changelog generation
481
- - Equivalent to CLI's `--analyze` functionality with full AI-powered changelog creation
482
- - Supports all analysis modes (standard, detailed, enterprise) and model overrides
483
- - **File Writing Behavior**: MCP tools now write `AI_CHANGELOG.md` files to project root
484
- - Both `generate_changelog` and `generate_changelog_from_changes` create persistent files
485
- - Ensures consistent behavior and proper attribution preservation
486
- - Prevents chat AI from modifying or stripping attribution from official output
487
- - **Enhanced Attribution Support**: Fixed missing `includeAttribution` parameter in MCP tools
488
- - Added `includeAttribution` parameter to `analyze_current_changes` MCP tool schema
489
- - All MCP tools now support attribution control with proper defaults
490
- - Maintains promotional attribution while providing opt-out option
491
-
492
- ### Changed
493
- - **MCP Tool Documentation**: Updated README with comprehensive MCP tool reference
494
- - Clarified distinction between analysis tools and changelog generation tools
495
- - Added file writing behavior documentation and feature parity notes
496
- - Updated examples to demonstrate working directory changelog generation
497
- - **Tool Schema Enhancement**: Extended MCP tool schemas with missing parameters
498
- - More consistent parameter handling across all MCP tools
499
- - Better validation and documentation for tool parameters
500
-
501
- ### Fixed
502
- - **Attribution Consistency**: Resolved discrepancy between CLI and MCP attribution behavior
503
- - MCP tools now include attribution footer by default, matching CLI behavior
504
- - Fixed missing attribution in working directory analysis workflows
505
- - **Feature Gap**: Eliminated functionality differences between CLI and MCP interfaces
506
- - MCP server can now generate changelogs from working directory changes
507
- - No more reliance on chat AI interpretation of analysis data
508
-
509
- ### Technical Implementation
510
- - **New MCP Methods**: Added `generateChangelogFromChanges()` and supporting helper methods
511
- - `generateWorkingDirChangelog()`: AI-powered changelog generation from file changes
512
- - `generateBasicChangelogFromChanges()`: Rule-based fallback for working directory changes
513
- - `getChangeDescription()`: Utility for describing file change types
514
- - **File I/O Integration**: Added changelog file writing to MCP tool workflows
515
- - Consistent `AI_CHANGELOG.md` output across CLI and MCP interfaces
516
- - Proper error handling for file writing operations
517
- - Enhanced metadata with file path information
518
-
519
- ---
520
-
521
- ## [2.3.1]
522
-
523
- ### Added
524
- - **Attribution Footer**: Added optional attribution footer to generated changelogs
525
- - Displays link to the project: "Generated using [ai-changelog-generator](https://github.com/entro314-labs/AI-changelog-generator)"
526
- - Enabled by default for promotional purposes while respecting user preferences
527
- - CLI flag `--no-attribution` to disable attribution footer
528
- - MCP parameter `includeAttribution: false` to disable attribution in MCP server
529
- - Promotes the tool while providing opt-out option for users who prefer clean output
530
-
531
- ---
532
-
533
- ## [2.3.0]
534
-
535
- ### Added
536
- - **Model Override System**: CLI flag `--model` and MCP parameter for forcing specific AI models
537
- - Bypasses intelligent model selection logic when explicit model specified
538
- - Validates model capabilities and displays feature support (reasoning, context, caching)
539
- - Graceful fallback with capability warnings when model unavailable
540
- - **Comprehensive Repository Analysis**: New `--comprehensive` CLI command and `analyze_comprehensive` MCP tool
541
- - Repository statistics: commit count, contributor analysis, age calculation
542
- - Branch analysis: local/remote branch enumeration, current branch detection
543
- - Working directory status: staged/unstaged/untracked file counts
544
- - AI-powered health assessment with actionable recommendations
545
- - **Branch Analysis Tools**: New `--branches` CLI command and `analyze_branches` MCP tool
546
- - Enumerates all local and remote branches
547
- - Identifies unmerged commits across branches
548
- - Detects dangling commits unreachable from branch heads
549
- - Provides cleanup recommendations for repository maintenance
550
- - **Untracked File Analysis**: New `--untracked` CLI command
551
- - Categorizes untracked files by type (source, config, docs, build artifacts, temp)
552
- - Risk assessment for each file category
553
- - Automatic .gitignore recommendations
554
- - AI-powered analysis when available
555
- - **Enhanced Interactive Mode**: Repository status display in interactive interface
556
- - Shows current branch, staged/unstaged counts before menu presentation
557
- - Improved UX with contextual information for better decision making
558
-
559
- ### Fixed
560
- - **Git Commit Parsing**: Fixed multiline commit message handling in `parseCommitOutput()`
561
- - Changed from `%b` to `%B` format specifier for proper body extraction
562
- - Added null byte separator support for complex commit messages
563
- - Resolves issue where commits with multiline descriptions were truncated
564
- - **CLI Argument Processing**: Fixed `getCommitsSince()` format parameter
565
- - Changed from 'simple' to 'full' format to ensure hash field availability
566
- - Resolves "No commits found" error when commits existed in repository
567
- - **Missing Method Implementation**: Added `analyzeRepositoryWithAI()` method
568
- - Implements AI-powered repository health analysis
569
- - Uses `generateCompletion()` API with proper message formatting
570
- - Provides structured health assessment with scoring and recommendations
571
- - **AI Provider Method Calls**: Corrected `generateText()` to `generateCompletion()`
572
- - Updated untracked file analysis to use proper AI provider API
573
- - Fixed repository analysis to use correct message format structure
574
-
575
- ### Changed
576
- - **Model Selection Logic**: Enhanced `selectOptimalModel()` to respect model override
577
- - Priority: manual override > intelligent selection > fallback
578
- - Added model capability validation and user feedback
579
- - Improved error handling for unavailable models
580
- - **CLI Help Documentation**: Updated help text to include new commands
581
- - Added `--model` flag documentation with examples
582
- - Included `--branches`, `--comprehensive`, `--untracked` command descriptions
583
- - Updated examples section with model override usage patterns
584
- - **MCP Server Schema**: Extended tool definitions for new functionality
585
- - Added `model` parameter to `generate_changelog` tool
586
- - Added `analyze_branches` and `analyze_comprehensive` tool definitions
587
- - Enhanced parameter validation and documentation
588
-
589
- ### Technical Implementation
590
- - **Git Manager Extensions**: Added methods for comprehensive repository analysis
591
- - `getAllBranches()`: Returns local/remote branch enumeration
592
- - `getDanglingCommits()`: Identifies unreachable commits
593
- - `getRepositoryStats()`: Calculates repository metrics
594
- - **AI Provider Integration**: Enhanced model override support
595
- - Model capability detection and validation
596
- - Intelligent fallback selection when override unavailable
597
- - Performance optimization with model-specific settings
598
- - **Error Handling**: Improved robustness across git operations
599
- - Graceful degradation when git commands fail
600
- - Better error messages for troubleshooting
601
- - Consistent fallback behavior for offline scenarios
602
-
603
- ---
604
-
605
- ## [2.2.0]
606
-
607
- ### Added
608
- - **MCP Server Implementation**: Complete Model Context Protocol server with 8 tools
609
- - `generate_changelog`: AI-powered changelog generation from git history
610
- - `analyze_commits`: Commit pattern analysis with configurable limits
611
- - `analyze_current_changes`: Staged/unstaged file analysis
612
- - `get_git_info`: Repository metadata and statistics
613
- - `configure_ai_provider`: AI provider testing and validation
614
- - `validate_models`: Model availability and capability checking
615
- - **Dual CLI/MCP Architecture**:
616
- - `bin/ai-changelog.js`: Traditional CLI interface
617
- - `bin/ai-changelog-mcp.js`: MCP server executable
618
- - Shared core libraries for consistent functionality
619
- - **Intelligent Model Selection**: Complexity-based model assignment
620
- - File count and line change analysis for model selection
621
- - Breaking change detection for advanced reasoning models
622
- - Cost optimization through efficient model usage
623
- - **Model Support Matrix**:
624
- - `gpt-4.1-nano`: <3 files, <50 lines
625
- - `gpt-4.1-mini`: 3-10 files, <200 lines
626
- - `gpt-4.1`: 10-20 files, <1000 lines
627
- - `o4-mini`: 20+ files, architectural changes
628
- - **TypeScript Definitions**: Complete type definitions in `types/index.d.ts`
629
- - **Configuration System**: Environment variable and .env.local support
630
-
631
- ### Changed
632
- - **Package Architecture**: Migrated from flat to modular structure
633
- - Core modules: `ai-provider.js`, `git-manager.js`, `templates.js`, `config.js`
634
- - Separated concerns: CLI, MCP server, shared libraries
635
- - Improved maintainability and testability
636
- - **Azure OpenAI Integration**: Updated to v1 API with 2025-04-01-preview version
637
- - GPT-4.1 series support with 1M token context
638
- - Prompt caching for 75% cost reduction
639
- - Enhanced error handling and fallback mechanisms
640
- - **Package Namespace**: Scoped to `@entro314-labs/ai-changelog-generator`
641
- - **Import Resolution**: Relative paths for improved portability
642
-
643
- ### Fixed
644
- - **Path Dependencies**: Eliminated absolute path requirements
645
- - **Error Boundaries**: Improved error handling for network failures
646
- - **Test Compatibility**: Updated test imports for new structure
647
-
648
- ### Technical Details
649
- - **Dependencies**: Added `@modelcontextprotocol/sdk@1.12.1`
650
- - **API Compatibility**: Supports both OpenAI and Azure OpenAI endpoints
651
- - **Context Window**: 1M token support for large repository analysis
652
- - **Caching Strategy**: Prompt caching implementation for cost optimization
653
-
654
- ---
655
-
656
- ## [2.1.0]
657
-
658
- ### Added
659
- - **Interactive Mode**: Full interactive CLI with commit selection
660
- - Checkbox interface for commit cherry-picking
661
- - Staged/unstaged change analysis
662
- - AI-powered commit message validation
663
- - Commit suggestion generation
664
- - **Analysis Modes**: Configurable analysis depth
665
- - `--detailed`: Comprehensive business and technical analysis
666
- - `--enterprise`: Stakeholder-ready documentation
667
- - `--analyze`: Current working directory analysis
668
- - **Enhanced Git Integration**: Extended git operation support
669
- - Diff analysis with before/after context
670
- - File categorization by type (source, docs, tests, config)
671
- - Conventional commit parsing and validation
672
- - **AI Provider Fallback**: Rule-based analysis when AI unavailable
673
- - Pattern recognition for commit classification
674
- - Basic impact assessment
675
- - Maintains functionality in offline scenarios
676
-
677
- ### Changed
678
- - **Command Interface**: Expanded CLI options
679
- - Version-specific changelog generation
680
- - Date range filtering
681
- - Output format selection
682
- - **AI Model Support**: Extended model compatibility
683
- - GPT-4 series support
684
- - Azure OpenAI integration
685
- - Model-specific optimizations
686
-
687
- ### Fixed
688
- - **Commit Parsing**: Improved conventional commit detection
689
- - **File Processing**: Better handling of binary files
690
- - **Error Recovery**: Enhanced resilience to git command failures
691
-
692
- ---
693
-
694
- ## [2.0.0]
695
-
696
- ### Added
697
- - **Core AI Integration**: OpenAI and Azure OpenAI API support
698
- - **Git Analysis Engine**: Automated commit analysis and categorization
699
- - **Template System**: Configurable changelog output formats
700
- - **Configuration Management**: Environment variable and config file support
701
-
702
- ### Changed
703
- - **Breaking**: Migrated from manual to automated changelog generation
704
- - **API**: Redesigned for programmatic usage
705
-
706
- ### Technical Implementation
707
- - **Git Operations**: Direct git command integration
708
- - **AI Processing**: Asynchronous batch processing
709
- - **Output Generation**: Template-based markdown generation
710
- - **Error Handling**: Comprehensive error recovery mechanisms
711
-
712
- ---
713
-
714
- ## [1.0.0]
715
-
716
- ### Added
717
- - **Initial Implementation**: Basic changelog generation
718
- - **Git Integration**: Commit history parsing
719
- - **CLI Interface**: Command-line argument processing
720
- - **File Output**: Markdown changelog generation
721
-
722
- ### Technical Foundation
723
- - **Node.js Runtime**: Core JavaScript implementation
724
- - **Git Commands**: Shell command execution
725
- - **File System**: Changelog file management
726
- - **Process Management**: CLI argument handling
10
+ ### Next Release
11
+ - TBD
12
+
13
+ ## [3.2.1] - 2025-08-10
14
+
15
+ ### feat
16
+ - add comprehensive test coverage with 100% test success rate
17
+ - add missing method implementations across all service classes
18
+ - add modern CI/CD pipeline with automated testing and publishing
19
+ - add Biome linting configuration for code quality
20
+ - add comprehensive error handling and validation
21
+ - add robust CLI timeout handling and graceful failures
22
+ - add professional documentation and provider setup guides
23
+
24
+ ### fix
25
+ - fix AI provider initialization and isAvailable method calls
26
+ - fix configuration manager null safety with proper error handling
27
+ - fix CLI test timeouts and hanging commands
28
+ - fix missing boolean getters (hasAI, gitExists) in main facade
29
+ - fix homepage URL typo in package.json
30
+ - fix CI/CD workflow paths to match current project structure
31
+ - fix Node.js version consistency across all configurations
32
+ - fix Vitest reporter deprecation warnings
33
+
34
+ ### test
35
+ - add 658 comprehensive tests with 100% pass rate
36
+ - add missing service method implementations for test compatibility
37
+ - add resilient CLI end-to-end testing with proper timeouts
38
+ - add comprehensive architecture and functionality testing
39
+ - add provider integration testing and validation
40
+ - add performance and memory usage testing
41
+ - add cross-platform compatibility testing
42
+
43
+ ### build
44
+ - update to Node.js 22.x across all environments
45
+ - add pnpm workspace configuration for monorepo structure
46
+ - add Vitest testing framework with coverage reporting
47
+ - add modern GitHub Actions workflows for CI/CD
48
+ - standardize package management with pnpm
49
+
50
+ ### docs
51
+ - update comprehensive README with installation and usage
52
+ - add provider setup and troubleshooting documentation
53
+ - add environment variables and configuration guides
54
+ - update contributing guidelines and development setup
55
+
56
+ ### chore
57
+ - update dependencies including version increments from 3.0.3 to 3.1.1
58
+ - downgrade @types/node from 24.2.0 to 22.17.1 for compatibility
59
+ - remove demo media files (GIFs, MP4s) and test scripts
60
+ - clean up unused variables in utils.js
61
+
62
+ ## [3.1.2] - 2025-08-06
63
+
64
+ ### build
65
+ - update package.json configuration
66
+
67
+ ### ci
68
+ - improve deployment configuration
69
+
70
+ ## [3.1.1] - 2025-08-06
71
+
72
+ ### fix
73
+ - fix release workflow version handling
74
+ - update package configuration for proper publishing
75
+ - add publishConfig for public npm access
76
+ - remove references to non-existent test scripts
77
+
78
+ ### refactor
79
+ - update utility imports from 'consolidated-utils.js' to 'utils.js'
80
+ - restructure MCP server entry point
81
+ - remove sample DXT extension files
82
+
83
+ ### docs
84
+ - add comprehensive AI Provider Setup Guide
85
+ - consolidate provider configuration instructions
86
+
87
+ ### chore
88
+ - add demo GIF files and video content
89
+ - expand color constants with Dracula theme variants
90
+
91
+ ## [3.1.0] - 2025-08-01
92
+
93
+ ### feat
94
+ - add interactive commit workflow with AI-powered commit message generation
95
+ - add commit staging and unstaging functionality
96
+ - add branch intelligence analysis for commit type suggestions
97
+ - add interactive file selection for staging
98
+ - add conventional commit format validation
99
+ - add advanced git repository analysis and health checks
100
+ - add `ai-changelog commit` command with interactive staging
101
+ - add dry-run mode and custom message support
102
+ - add provider-specific commit message optimization
103
+ - add real-time branch analysis and suggestions
104
+
105
+ ### refactor
106
+ - improve orchestrator for commit workflow support
107
+ - extend application service with commit workflow methods
108
+ - add branch intelligence and staging utilities to utils
109
+ - add comprehensive commit command support to CLI controller
110
+
111
+ ### perf
112
+ - optimize git operations with better error handling
113
+
114
+ ### feat
115
+ - add interactive staging service for git operations
116
+ - add commit message validation service
117
+
118
+ ## [3.0.3] - 2025-08-06
119
+
120
+ ### fix
121
+ - fix intermittent "No working directory changes detected" issue
122
+ - resolve Azure OpenAI provider token counting issues
123
+ - improve error handling and fallback logic throughout system
124
+ - improve CLI output formatting with professional visual styling
125
+
126
+ ### docs
127
+ - add comprehensive JSDoc documentation
128
+
129
+ ### perf
130
+ - add robust handling of git edge cases and command failures
131
+ - clean error messages without technical implementation details
132
+ - add session management with deduplicated warnings
133
+ - improve fallback behavior when operations fail
134
+
135
+ ## [3.0.0] - 2025-07-31
136
+
137
+ ### feat
138
+ - add support for 10+ AI providers (OpenAI, Anthropic Claude, Google, Azure OpenAI, Amazon Bedrock, Vertex AI, Ollama, LM Studio, Hugging Face)
139
+ - add advanced code diff analysis and semantic understanding
140
+ - add intelligent commit categorization and breaking change detection
141
+ - add professional changelog formatting with multiple output formats
142
+ - add Model Context Protocol (MCP) server for Claude integration
143
+ - add real-time changelog generation through MCP tools
144
+ - add secure API key management and provider switching
145
+ - add interactive and non-interactive CLI modes
146
+ - add multiple analysis modes (standard, detailed, enterprise)
147
+ - add flexible output formats (Markdown, JSON, plain text)
148
+ - add advanced git integration with branch analysis
149
+ - add automatic model selection based on commit complexity
150
+ - add provider failover and load balancing
151
+ - add support for both cloud and local AI models
152
+ - add configurable model parameters and optimization
153
+
154
+ ### refactor
155
+ - implement domain-driven design with clear separation of concerns
156
+ - add provider abstraction with base provider interface
157
+ - add model recommendation engine
158
+ - add advanced git integration with repository health assessment
159
+
160
+ ### docs
161
+ - add extensive documentation and provider setup guides
162
+ - add troubleshooting documentation and environment variable reference
163
+ - add contributing guidelines with architecture overview
164
+
165
+ ### build
166
+ - add shell wrapper scripts for cross-platform compatibility
167
+ - add automatic dependency detection
168
+
169
+ ### feat
170
+ - add YAML-based configuration system (ai-changelog.config.yaml)
171
+ - add environment variable support with .env.local
172
+ - add customizable output templates and formatting
173
+
174
+ ## [2.5.1] - 2025-08-01
175
+
176
+ ### fix
177
+ - clean git error messages to display user-friendly warnings
178
+ - suppress stderr output from git commands
179
+ - simplify model availability error messages with session-based deduplication
180
+ - add `execGitShow()` method for safer operations with missing files
181
+ - add graceful handling of deleted/renamed files
182
+
183
+ ### feat
184
+ - add `--health` CLI flag for repository health assessment
185
+ - add `assess_repository_health` MCP tool for AI assistants
186
+ - add 8-point commit message quality scoring system
187
+ - add repository hygiene recommendations and actionable insights
188
+ - add health scoring (0-100) with categorization
189
+
190
+ ### perf
191
+ - clean console output with reduced error spam
192
+ - improve fallback messaging for model selection
193
+ - add informative warnings with actionable suggestions
194
+ - improve rule-based analysis reliability without AI providers
195
+
196
+ ## [2.5.0] - 2025-08-01
197
+
198
+ ### feat
199
+ - add repository health assessment with `--health` CLI flag and `assess_repository_health` MCP tool
200
+ - add real-time commit message quality detection and scoring (8-point scale)
201
+ - add automatic warnings for poor commit messages with actionable suggestions
202
+ - add repository hygiene metrics
203
+
204
+ ### fix
205
+ - add graceful handling of missing files in git history
206
+ - improve error recovery for git command failures
207
+ - improve fallback analysis when git operations fail
208
+
209
+ ### feat
210
+ - improve rule-based analysis to work without AI providers
211
+ - add commit message quality warnings to changelog output
212
+ - add `assess_repository_health` tool with JSON output format
213
+ - add color-coded health scores and proactive suggestions
214
+
215
+ ## [2.4.0] - 2025-08-01
216
+
217
+ ### feat
218
+ - add `generate_changelog_from_changes` MCP tool for working directory changelog generation
219
+ - add support for all analysis modes and model overrides in MCP tools
220
+ - add file writing behavior - MCP tools now write `AI_CHANGELOG.md` files to project root
221
+ - add `includeAttribution` parameter to `analyze_current_changes` MCP tool schema
222
+
223
+ ### fix
224
+ - add attribution footer by default in MCP tools, matching CLI behavior
225
+ - eliminate functionality differences between CLI and MCP interfaces
226
+
227
+ ### feat
228
+ - add `generateChangelogFromChanges()` and supporting helper methods
229
+ - add `generateWorkingDirChangelog()` for AI-powered changelog generation
230
+ - add `generateBasicChangelogFromChanges()` for rule-based fallback
231
+ - add changelog file writing to MCP tool workflows
232
+
233
+ ## [2.3.1] - 2025-08-01
234
+
235
+ ### feat
236
+ - add optional attribution footer to generated changelogs
237
+ - add `--no-attribution` CLI flag to disable attribution footer
238
+ - add `includeAttribution: false` MCP parameter to disable attribution
239
+
240
+ ## [2.3.0] - 2025-08-01
241
+
242
+ ### feat
243
+ - add `--model` CLI flag and MCP parameter for forcing specific AI models
244
+ - add model capability validation and feature support display
245
+ - add graceful fallback with capability warnings
246
+ - add `--comprehensive` CLI command and `analyze_comprehensive` MCP tool
247
+ - add repository statistics: commit count, contributor analysis, age calculation
248
+ - add branch analysis: local/remote branch enumeration, current branch detection
249
+ - add working directory status: staged/unstaged/untracked file counts
250
+ - add AI-powered health assessment with actionable recommendations
251
+ - add `--branches` CLI command and `analyze_branches` MCP tool
252
+ - add branch enumeration and unmerged commit identification
253
+ - add dangling commit detection and cleanup recommendations
254
+ - add `--untracked` CLI command with file categorization
255
+ - add risk assessment and automatic .gitignore recommendations
256
+
257
+ ### fix
258
+ - fix multiline commit message handling in `parseCommitOutput()`
259
+ - fix commit retrieval format parameter in CLI argument processing
260
+ - add `analyzeRepositoryWithAI()` method implementation
261
+ - correct `generateText()` to `generateCompletion()` API calls
262
+
263
+ ### refactor
264
+ - improve `selectOptimalModel()` to respect model override
265
+ - update CLI help documentation with new commands
266
+ - extend MCP server schema for new functionality
267
+
268
+ ## [2.2.0] - 2025-08-01
269
+
270
+ ### feat
271
+ - add Model Context Protocol server with 8 tools
272
+ - add `generate_changelog` for AI-powered changelog generation
273
+ - add `analyze_commits` for commit pattern analysis
274
+ - add `analyze_current_changes` for staged/unstaged file analysis
275
+ - add `get_git_info` for repository metadata and statistics
276
+ - add `configure_ai_provider` for AI provider testing and validation
277
+ - add `validate_models` for model availability and capability checking
278
+ - add dual CLI/MCP architecture with shared core libraries
279
+ - add intelligent model selection based on complexity with cost optimization
280
+ - add TypeScript definitions in `types/index.d.ts`
281
+
282
+ ### refactor
283
+ - migrate from flat to modular package structure
284
+ - update Azure OpenAI integration to v1 API with 2025-04-01-preview version
285
+ - scope package to `@entro314-labs/ai-changelog-generator`
286
+
287
+ ### build
288
+ - add `@modelcontextprotocol/sdk@1.12.1` dependency
289
+
290
+ ## [2.1.0] - 2025-08-01
291
+
292
+ ### feat
293
+ - add interactive CLI with commit selection
294
+ - add checkbox interface for commit cherry-picking
295
+ - add staged/unstaged change analysis
296
+ - add AI-powered commit message validation
297
+ - add configurable analysis depth modes
298
+ - add `--detailed` for comprehensive business and technical analysis
299
+ - add `--enterprise` for stakeholder-ready documentation
300
+ - add `--analyze` for current working directory analysis
301
+ - add extended git operation support
302
+ - add diff analysis with before/after context
303
+ - add file categorization by type
304
+ - add conventional commit parsing and validation
305
+ - add rule-based analysis fallback when AI unavailable
306
+
307
+ ### refactor
308
+ - expand CLI options with version-specific changelog generation
309
+ - add date range filtering and output format selection
310
+ - extend AI model support with GPT-4 series and Azure OpenAI integration
311
+
312
+ ### fix
313
+ - improve conventional commit detection
314
+ - improve handling of binary files
315
+ - improve resilience to git command failures
316
+
317
+ ## [2.0.0] - 2025-08-01
318
+
319
+ ### feat
320
+ - add OpenAI and Azure OpenAI API support
321
+ - add automated commit analysis and categorization
322
+ - add configurable changelog output formats
323
+ - add environment variable and config file support
324
+
325
+ ### refactor
326
+ - migrate from manual to automated changelog generation
327
+ - redesign API for programmatic usage
328
+
329
+ ### feat
330
+ - add direct git command integration
331
+ - add asynchronous batch processing
332
+ - add template-based markdown generation
333
+ - add comprehensive error recovery mechanisms
334
+
335
+ ## [1.0.0] - 2025-07-31
336
+
337
+ ### feat
338
+ - add basic changelog generation with git integration
339
+ - add command-line argument processing
340
+ - add markdown changelog generation
341
+ - add npm publishing setup with public access
342
+
343
+ ### fix
344
+ - add publishConfig for npm publishing
345
+ - remove missing script references in package.json
346
+ - correct build and deployment processes
347
+
348
+ ### feat
349
+ - add git commit history parsing
350
+ - add changelog file management
351
+ - add CLI argument handling
727
352
 
728
353
  ---
729
354
 
730
355
  ## VDK CLI Component
731
356
 
732
- ## [2.0.0]
733
-
734
- ### Major Improvements ✨
735
- - **Enhanced Technology Detection**: Accurately detects 20+ technology-specific rules including Tailwind CSS, shadcn/ui, Supabase, TypeScript configurations
736
- - **Intelligent Package Manager Detection**: Automatically detects pnpm, yarn, npm, bun based on lock files
737
- - **Advanced Build Tool Recognition**: Detects Turbopack, Vite, Next.js with version-specific features
738
- - **Smart IDE Detection**: Enhanced IDE detection without configuration folders, supports VS Code, Cursor, Windsurf, JetBrains, Zed
739
-
740
- ### New Features 🚀
741
- - **Library-Specific Guidelines**: Dedicated processing for UI libraries like shadcn/ui and Radix UI
742
- - **Comprehensive Rule Coverage**: Increased rule limit from 10 to 20 for better technology coverage
743
- - **Real Script Extraction**: Reads actual npm/pnpm scripts from package.json instead of defaults
744
- - **AI Assistant Integration**: Added AI Assistant field to generated configurations
745
-
746
- ### Bug Fixes 🐛
747
- - **GitHub Copilot Adapter**: Resolved "Cannot read properties of undefined" errors with optional chaining
748
- - **Rule Matching**: Improved framework and library matching with better aliases and normalization
749
- - **Content Extraction**: shadcn/ui and other library guidelines now properly appear in CLAUDE.md files
750
- - **Error Handling**: Graceful degradation for edge cases and invalid paths
751
-
752
- ### Technical Improvements 🔧
753
- - **Rule Scoring**: Enhanced relevance scoring algorithm with platform-specific filtering
754
- - **Content Processing**: Mobile patterns properly excluded from web projects
755
- - **Template Processing**: Better extraction of actionable guidelines from remote rules
756
- - **Error Recovery**: Continues operation with missing dependencies or invalid configurations
757
-
758
- ### Added
759
- - Comprehensive MDX documentation system
760
- - Blueprint specifications for all rule formats
761
- - IDE configuration reference guides
762
- - GitHub repository documentation templates
763
-
764
- ### Changed
765
- - Improved project documentation structure
766
- - Enhanced integration guides with practical examples
767
-
768
- ---
769
-
770
- ## [1.0.0]
771
-
772
- ### Added
773
- - Initial release of VDK CLI
774
- - Project analysis and pattern detection engine
775
- - Multi-format rule generation (Markdown, MDC, XML, JSON)
776
- - AI assistant integrations:
777
- - Claude Code with memory management
778
- - Cursor with MDC format support
779
- - Windsurf with XML-enhanced rules
780
- - GitHub Copilot with JSON configuration
781
- - Generic Markdown format for any AI assistant
782
- - VDK Hub for team collaboration and rule sharing
783
- - Watch mode for continuous project monitoring
784
- - Comprehensive CLI with 20+ commands
785
- - Project templates for popular frameworks
786
- - Rule validation and error checking
787
- - Integration auto-detection and setup
788
- - Configuration management system
789
-
790
- ### Core Features
791
- - **Project Scanner**: Intelligent analysis of codebase structure, patterns, conventions
792
- - **Rule Generator**: Context-aware rule creation based on project analysis
793
- - **Integration Manager**: Seamless setup and management of AI assistant integrations
794
- - **Hub Client**: Team collaboration through rule sharing and synchronization
795
- - **Watch System**: Real-time monitoring and automatic rule updates
796
- - **Validation Engine**: Comprehensive rule and configuration validation
797
-
798
- ### Supported Frameworks
799
- - **Frontend**: React, Vue, Angular, Svelte, Next.js, Nuxt.js, SvelteKit
800
- - **Backend**: Node.js, Express, FastAPI, Django, Rails
801
- - **Languages**: TypeScript, JavaScript, Python, Go, Rust
802
- - **Tools**: Tailwind CSS, Prisma, tRPC, GraphQL, Docker
803
-
804
- ### CLI Commands
805
- - `vdk init` - Initialize VDK in project with intelligent detection
806
- - `vdk scan` - Analyze project and generate rules
807
- - `vdk deploy` - Deploy rules to VDK Hub
808
- - `vdk update` - Update rules from hub
809
- - `vdk status` - Check project and integration status
810
- - `vdk integrations` - Manage AI assistant integrations
811
- - `vdk claude-code` - Claude Code specific management
812
- - `vdk cursor` - Cursor IDE integration management
813
- - `vdk windsurf` - Windsurf IDE integration management
814
- - `vdk config` - Configuration management
815
- - `vdk validate` - Validate rules and setup
816
- - `vdk hub` - Hub collaboration commands
817
- - `vdk watch` - Enable watch mode
818
- - `vdk doctor` - Diagnose and troubleshoot issues
819
- - `vdk clean` - Clean up generated files and caches
820
-
821
- ### Integration Features
822
- - **Claude Code**: Memory file management, custom commands, watch mode
823
- - **Cursor**: MDC format with directives, auto-completion, rule validation
824
- - **Windsurf**: XML-enhanced rules, multi-agent support, persona routing
825
- - **GitHub Copilot**: JSON configuration, VS Code integration, pattern learning
826
- - **Auto-detection**: Automatic IDE detection and setup suggestions
827
- - **Multi-integration**: Support for multiple AI assistants simultaneously
828
-
829
- ### Hub Features
830
- - Team creation and management
831
- - Rule sharing and discovery
832
- - Version control and rollback
833
- - Public and private deployments
834
- - Search and filtering
835
- - Analytics and usage insights
836
- - Collaborative rule development
837
-
838
- ---
839
-
840
- ## [0.9.0]
841
-
842
- ### Added
843
- - Beta release for early adopters
844
- - Core project analysis engine
845
- - Basic rule generation
846
- - Initial Claude Code integration
847
- - Simple CLI interface
848
-
849
- ### Changed
850
- - Refactored scanner architecture
851
- - Improved pattern detection algorithms
852
-
853
- ### Fixed
854
- - Memory leaks in large project scanning
855
- - Rule generation edge cases
856
-
857
- ---
858
-
859
- ## [0.8.0]
860
-
861
- ### Added
862
- - Alpha release for testing
863
- - Proof of concept implementation
864
- - Basic framework detection
865
- - Simple rule templates
866
-
867
- ---
868
-
869
- ## Known Issues
870
-
871
- - Large TypeScript projects (>10k files) may experience slower scanning
872
- - Windows path handling edge cases in monorepo scenarios
873
- - Hub sync conflicts in high-concurrency team environments
874
-
875
- ### 🔧 Working Directory Changes
876
-
877
- - (docs) Added and updated project documentation - Created a new comprehensive README.md with usage, configuration, and contribution guidelines. Added Untitled-1.md with project purpose and notes. Deleted outdated AI_CHANGELOG.md.backup. (85%)
878
-
879
- - (feature) Introduced YAML-based configuration support - Added ai-changelog.config.yaml with customizable commit conventions and link generation options. Updated configuration.manager.js to load and parse YAML config, merging it with existing settings. Extended CLI and changelog orchestrator logic to utilize new configuration structure. (85%)
880
-
881
- - (feature) Improved changelog generation with diff analysis and provider enhancements - Updated changelog.orchestrator.js and workspace-changelog.service.js to support enhanced diff processing and integration with AI providers. Refined changelog.service.js to better handle change data and formatting. (85%)
882
-
883
- - (feature) Expanded provider support and CLI options - Enhanced provider-manager.service.js and ollama.js to support additional AI providers and improved error handling. Updated cli.controller.js to expose new configuration and provider selection options. (85%)
884
-
885
- - (fix) Resolved utility and workflow issues - Fixed bugs in utils.js related to object merging and string formatting. Improved interactive-workflow.service.js for more robust user prompts and error handling. (85%)
886
-
887
- - (chore) Updated dependencies and project metadata - Modified package.json to add new dependencies (js-yaml, yaml), update scripts, and adjust project metadata for configuration and documentation improvements. (85%)
888
-
889
- - (other) Added placeholder and example files - Created empty files for future examples and project notes: examples/, "Let me validate and expand on those scen.md", and "we recentrly refactored this project, th.md". (85%)
357
+ ### [2.0.0]
358
+
359
+ ### feat
360
+ - add detection for 20+ technology-specific rules including Tailwind CSS, shadcn/ui, Supabase, TypeScript
361
+ - add automatic package manager detection (pnpm, yarn, npm, bun) based on lock files
362
+ - add build tool recognition (Turbopack, Vite, Next.js) with version-specific features
363
+ - add IDE detection for VS Code, Cursor, Windsurf, JetBrains, Zed
364
+ - add library-specific guidelines for UI libraries like shadcn/ui and Radix UI
365
+ - increase rule limit from 10 to 20 for better technology coverage
366
+ - add real script extraction from package.json
367
+ - add AI Assistant field to generated configurations
368
+
369
+ ### fix
370
+ - resolve GitHub Copilot adapter undefined property errors with optional chaining
371
+ - improve framework and library matching with better aliases
372
+ - fix library guidelines appearing in CLAUDE.md files
373
+ - add graceful degradation for edge cases and invalid paths
374
+
375
+ ### perf
376
+ - improve relevance scoring algorithm with platform-specific filtering
377
+ - improve content processing with mobile pattern exclusion
378
+ - improve template processing for actionable guideline extraction
379
+ - add error recovery for missing dependencies
380
+
381
+ ### docs
382
+ - add comprehensive MDX documentation system
383
+ - add blueprint specifications for all rule formats
384
+ - add IDE configuration reference guides
385
+ - add GitHub repository documentation templates
386
+
387
+ ### refactor
388
+ - improve project documentation structure
389
+ - add integration guides with practical examples
390
+
391
+ ### [1.0.0]
392
+
393
+ ### feat
394
+ - add project analysis and pattern detection engine
395
+ - add multi-format rule generation (Markdown, MDC, XML, JSON)
396
+ - add AI assistant integrations (Claude Code, Cursor, Windsurf, GitHub Copilot)
397
+ - add VDK Hub for team collaboration and rule sharing
398
+ - add watch mode for continuous project monitoring
399
+ - add comprehensive CLI with 20+ commands
400
+ - add project templates for popular frameworks
401
+ - add rule validation and error checking
402
+ - add integration auto-detection and setup
403
+ - add configuration management system
404
+
405
+ ### feat
406
+ - add project scanner with intelligent codebase analysis
407
+ - add rule generator with context-aware rule creation
408
+ - add integration manager for AI assistant setup and management
409
+ - add hub client for team collaboration through rule sharing
410
+ - add watch system for real-time monitoring and automatic updates
411
+ - add validation engine for rule and configuration validation
412
+
413
+ ### feat
414
+ - add support for frontend frameworks (React, Vue, Angular, Svelte, Next.js, Nuxt.js, SvelteKit)
415
+ - add support for backend frameworks (Node.js, Express, FastAPI, Django, Rails)
416
+ - add support for languages (TypeScript, JavaScript, Python, Go, Rust)
417
+ - add support for tools (Tailwind CSS, Prisma, tRPC, GraphQL, Docker)
418
+
419
+ ### feat
420
+ - add team creation and management
421
+ - add rule sharing and discovery
422
+ - add version control and rollback
423
+ - add public and private deployments
424
+ - add search and filtering
425
+ - add analytics and usage insights
426
+ - add collaborative rule development
890
427
 
891
428
  ---
892
429