@entro314labs/ai-changelog-generator 3.1.1 → 3.2.0

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 +383 -877
  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 +83 -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 +253 -193
  15. package/src/domains/changelog/changelog.service.js +1062 -784
  16. package/src/domains/changelog/workspace-changelog.service.js +420 -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,394 @@ 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
- ## [Unreleased]
159
-
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
8
+ ## [Unreleased] - 2025-08-06
9
+
10
+ ### feat
11
+ - add YAML-based configuration support with ai-changelog.config.yaml
12
+ - add debug scripts for working directory analysis and functionality testing
13
+ - add maxTokens initialization in AI analysis service
14
+
15
+ ### fix
16
+ - add publishConfig for public npm access
17
+ - remove references to missing test scripts to prevent publishing errors
18
+ - update .gitignore to track AI_CHANGELOG.md in git
19
+
20
+ ### docs
21
+ - update provider setup guides and environment variable documentation
22
+ - update troubleshooting guides and contributing guidelines
23
+ - create comprehensive README.md with usage and configuration details
24
+
25
+ ### chore
26
+ - update dependencies including version increments from 3.0.3 to 3.1.1
27
+ - downgrade @types/node from 24.2.0 to 22.17.1 for compatibility
28
+ - remove demo media files (GIFs, MP4s) and test scripts
29
+ - clean up unused variables in utils.js
30
+
31
+ ## [3.1.2] - 2025-08-06
32
+
33
+ ### build
34
+ - update package.json configuration
35
+
36
+ ### ci
37
+ - improve deployment configuration
38
+
39
+ ## [3.1.1] - 2025-08-06
40
+
41
+ ### fix
42
+ - fix release workflow version handling
43
+ - update package configuration for proper publishing
44
+ - add publishConfig for public npm access
45
+ - remove references to non-existent test scripts
46
+
47
+ ### refactor
48
+ - update utility imports from 'consolidated-utils.js' to 'utils.js'
49
+ - restructure MCP server entry point
50
+ - remove sample DXT extension files
51
+
52
+ ### docs
53
+ - add comprehensive AI Provider Setup Guide
54
+ - consolidate provider configuration instructions
55
+
56
+ ### chore
57
+ - add demo GIF files and video content
58
+ - expand color constants with Dracula theme variants
59
+
60
+ ## [3.1.0] - 2025-08-01
61
+
62
+ ### feat
63
+ - add interactive commit workflow with AI-powered commit message generation
64
+ - add commit staging and unstaging functionality
65
+ - add branch intelligence analysis for commit type suggestions
66
+ - add interactive file selection for staging
67
+ - add conventional commit format validation
68
+ - add advanced git repository analysis and health checks
69
+ - add `ai-changelog commit` command with interactive staging
70
+ - add dry-run mode and custom message support
71
+ - add provider-specific commit message optimization
72
+ - add real-time branch analysis and suggestions
73
+
74
+ ### refactor
75
+ - improve orchestrator for commit workflow support
76
+ - extend application service with commit workflow methods
77
+ - add branch intelligence and staging utilities to utils
78
+ - add comprehensive commit command support to CLI controller
79
+
80
+ ### perf
81
+ - optimize git operations with better error handling
82
+
83
+ ### feat
84
+ - add interactive staging service for git operations
85
+ - add commit message validation service
86
+
87
+ ## [3.0.3] - 2025-08-06
88
+
89
+ ### fix
90
+ - fix intermittent "No working directory changes detected" issue
91
+ - resolve Azure OpenAI provider token counting issues
92
+ - improve error handling and fallback logic throughout system
93
+ - improve CLI output formatting with professional visual styling
94
+
95
+ ### docs
96
+ - add comprehensive JSDoc documentation
97
+
98
+ ### perf
99
+ - add robust handling of git edge cases and command failures
100
+ - clean error messages without technical implementation details
101
+ - add session management with deduplicated warnings
102
+ - improve fallback behavior when operations fail
103
+
104
+ ## [3.0.0] - 2025-07-31
105
+
106
+ ### feat
107
+ - add support for 10+ AI providers (OpenAI, Anthropic Claude, Google, Azure OpenAI, Amazon Bedrock, Vertex AI, Ollama, LM Studio, Hugging Face)
108
+ - add advanced code diff analysis and semantic understanding
109
+ - add intelligent commit categorization and breaking change detection
110
+ - add professional changelog formatting with multiple output formats
111
+ - add Model Context Protocol (MCP) server for Claude integration
112
+ - add real-time changelog generation through MCP tools
113
+ - add secure API key management and provider switching
114
+ - add interactive and non-interactive CLI modes
115
+ - add multiple analysis modes (standard, detailed, enterprise)
116
+ - add flexible output formats (Markdown, JSON, plain text)
117
+ - add advanced git integration with branch analysis
118
+ - add automatic model selection based on commit complexity
119
+ - add provider failover and load balancing
120
+ - add support for both cloud and local AI models
121
+ - add configurable model parameters and optimization
122
+
123
+ ### refactor
124
+ - implement domain-driven design with clear separation of concerns
125
+ - add provider abstraction with base provider interface
126
+ - add model recommendation engine
127
+ - add advanced git integration with repository health assessment
128
+
129
+ ### docs
130
+ - add extensive documentation and provider setup guides
131
+ - add troubleshooting documentation and environment variable reference
132
+ - add contributing guidelines with architecture overview
133
+
134
+ ### build
135
+ - add shell wrapper scripts for cross-platform compatibility
136
+ - add automatic dependency detection
137
+
138
+ ### feat
139
+ - add YAML-based configuration system (ai-changelog.config.yaml)
140
+ - add environment variable support with .env.local
141
+ - add customizable output templates and formatting
142
+
143
+ ## [2.5.1] - 2025-08-01
144
+
145
+ ### fix
146
+ - clean git error messages to display user-friendly warnings
147
+ - suppress stderr output from git commands
148
+ - simplify model availability error messages with session-based deduplication
149
+ - add `execGitShow()` method for safer operations with missing files
150
+ - add graceful handling of deleted/renamed files
151
+
152
+ ### feat
153
+ - add `--health` CLI flag for repository health assessment
154
+ - add `assess_repository_health` MCP tool for AI assistants
155
+ - add 8-point commit message quality scoring system
156
+ - add repository hygiene recommendations and actionable insights
157
+ - add health scoring (0-100) with categorization
158
+
159
+ ### perf
160
+ - clean console output with reduced error spam
161
+ - improve fallback messaging for model selection
162
+ - add informative warnings with actionable suggestions
163
+ - improve rule-based analysis reliability without AI providers
164
+
165
+ ## [2.5.0] - 2025-08-01
166
+
167
+ ### feat
168
+ - add repository health assessment with `--health` CLI flag and `assess_repository_health` MCP tool
169
+ - add real-time commit message quality detection and scoring (8-point scale)
170
+ - add automatic warnings for poor commit messages with actionable suggestions
171
+ - add repository hygiene metrics
172
+
173
+ ### fix
174
+ - add graceful handling of missing files in git history
175
+ - improve error recovery for git command failures
176
+ - improve fallback analysis when git operations fail
177
+
178
+ ### feat
179
+ - improve rule-based analysis to work without AI providers
180
+ - add commit message quality warnings to changelog output
181
+ - add `assess_repository_health` tool with JSON output format
182
+ - add color-coded health scores and proactive suggestions
183
+
184
+ ## [2.4.0] - 2025-08-01
185
+
186
+ ### feat
187
+ - add `generate_changelog_from_changes` MCP tool for working directory changelog generation
188
+ - add support for all analysis modes and model overrides in MCP tools
189
+ - add file writing behavior - MCP tools now write `AI_CHANGELOG.md` files to project root
190
+ - add `includeAttribution` parameter to `analyze_current_changes` MCP tool schema
191
+
192
+ ### fix
193
+ - add attribution footer by default in MCP tools, matching CLI behavior
194
+ - eliminate functionality differences between CLI and MCP interfaces
195
+
196
+ ### feat
197
+ - add `generateChangelogFromChanges()` and supporting helper methods
198
+ - add `generateWorkingDirChangelog()` for AI-powered changelog generation
199
+ - add `generateBasicChangelogFromChanges()` for rule-based fallback
200
+ - add changelog file writing to MCP tool workflows
201
+
202
+ ## [2.3.1] - 2025-08-01
203
+
204
+ ### feat
205
+ - add optional attribution footer to generated changelogs
206
+ - add `--no-attribution` CLI flag to disable attribution footer
207
+ - add `includeAttribution: false` MCP parameter to disable attribution
208
+
209
+ ## [2.3.0] - 2025-08-01
210
+
211
+ ### feat
212
+ - add `--model` CLI flag and MCP parameter for forcing specific AI models
213
+ - add model capability validation and feature support display
214
+ - add graceful fallback with capability warnings
215
+ - add `--comprehensive` CLI command and `analyze_comprehensive` MCP tool
216
+ - add repository statistics: commit count, contributor analysis, age calculation
217
+ - add branch analysis: local/remote branch enumeration, current branch detection
218
+ - add working directory status: staged/unstaged/untracked file counts
219
+ - add AI-powered health assessment with actionable recommendations
220
+ - add `--branches` CLI command and `analyze_branches` MCP tool
221
+ - add branch enumeration and unmerged commit identification
222
+ - add dangling commit detection and cleanup recommendations
223
+ - add `--untracked` CLI command with file categorization
224
+ - add risk assessment and automatic .gitignore recommendations
225
+
226
+ ### fix
227
+ - fix multiline commit message handling in `parseCommitOutput()`
228
+ - fix commit retrieval format parameter in CLI argument processing
229
+ - add `analyzeRepositoryWithAI()` method implementation
230
+ - correct `generateText()` to `generateCompletion()` API calls
231
+
232
+ ### refactor
233
+ - improve `selectOptimalModel()` to respect model override
234
+ - update CLI help documentation with new commands
235
+ - extend MCP server schema for new functionality
236
+
237
+ ## [2.2.0] - 2025-08-01
238
+
239
+ ### feat
240
+ - add Model Context Protocol server with 8 tools
241
+ - add `generate_changelog` for AI-powered changelog generation
242
+ - add `analyze_commits` for commit pattern analysis
243
+ - add `analyze_current_changes` for staged/unstaged file analysis
244
+ - add `get_git_info` for repository metadata and statistics
245
+ - add `configure_ai_provider` for AI provider testing and validation
246
+ - add `validate_models` for model availability and capability checking
247
+ - add dual CLI/MCP architecture with shared core libraries
248
+ - add intelligent model selection based on complexity with cost optimization
249
+ - add TypeScript definitions in `types/index.d.ts`
250
+
251
+ ### refactor
252
+ - migrate from flat to modular package structure
253
+ - update Azure OpenAI integration to v1 API with 2025-04-01-preview version
254
+ - scope package to `@entro314-labs/ai-changelog-generator`
255
+
256
+ ### build
257
+ - add `@modelcontextprotocol/sdk@1.12.1` dependency
258
+
259
+ ## [2.1.0] - 2025-08-01
260
+
261
+ ### feat
262
+ - add interactive CLI with commit selection
263
+ - add checkbox interface for commit cherry-picking
264
+ - add staged/unstaged change analysis
265
+ - add AI-powered commit message validation
266
+ - add configurable analysis depth modes
267
+ - add `--detailed` for comprehensive business and technical analysis
268
+ - add `--enterprise` for stakeholder-ready documentation
269
+ - add `--analyze` for current working directory analysis
270
+ - add extended git operation support
271
+ - add diff analysis with before/after context
272
+ - add file categorization by type
273
+ - add conventional commit parsing and validation
274
+ - add rule-based analysis fallback when AI unavailable
275
+
276
+ ### refactor
277
+ - expand CLI options with version-specific changelog generation
278
+ - add date range filtering and output format selection
279
+ - extend AI model support with GPT-4 series and Azure OpenAI integration
280
+
281
+ ### fix
282
+ - improve conventional commit detection
283
+ - improve handling of binary files
284
+ - improve resilience to git command failures
285
+
286
+ ## [2.0.0] - 2025-08-01
287
+
288
+ ### feat
289
+ - add OpenAI and Azure OpenAI API support
290
+ - add automated commit analysis and categorization
291
+ - add configurable changelog output formats
292
+ - add environment variable and config file support
293
+
294
+ ### refactor
295
+ - migrate from manual to automated changelog generation
296
+ - redesign API for programmatic usage
297
+
298
+ ### feat
299
+ - add direct git command integration
300
+ - add asynchronous batch processing
301
+ - add template-based markdown generation
302
+ - add comprehensive error recovery mechanisms
303
+
304
+ ## [1.0.0] - 2025-07-31
305
+
306
+ ### feat
307
+ - add basic changelog generation with git integration
308
+ - add command-line argument processing
309
+ - add markdown changelog generation
310
+ - add npm publishing setup with public access
311
+
312
+ ### fix
313
+ - add publishConfig for npm publishing
314
+ - remove missing script references in package.json
315
+ - correct build and deployment processes
316
+
317
+ ### feat
318
+ - add git commit history parsing
319
+ - add changelog file management
320
+ - add CLI argument handling
727
321
 
728
322
  ---
729
323
 
730
324
  ## VDK CLI Component
731
325
 
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%)
326
+ ### [2.0.0]
327
+
328
+ ### feat
329
+ - add detection for 20+ technology-specific rules including Tailwind CSS, shadcn/ui, Supabase, TypeScript
330
+ - add automatic package manager detection (pnpm, yarn, npm, bun) based on lock files
331
+ - add build tool recognition (Turbopack, Vite, Next.js) with version-specific features
332
+ - add IDE detection for VS Code, Cursor, Windsurf, JetBrains, Zed
333
+ - add library-specific guidelines for UI libraries like shadcn/ui and Radix UI
334
+ - increase rule limit from 10 to 20 for better technology coverage
335
+ - add real script extraction from package.json
336
+ - add AI Assistant field to generated configurations
337
+
338
+ ### fix
339
+ - resolve GitHub Copilot adapter undefined property errors with optional chaining
340
+ - improve framework and library matching with better aliases
341
+ - fix library guidelines appearing in CLAUDE.md files
342
+ - add graceful degradation for edge cases and invalid paths
343
+
344
+ ### perf
345
+ - improve relevance scoring algorithm with platform-specific filtering
346
+ - improve content processing with mobile pattern exclusion
347
+ - improve template processing for actionable guideline extraction
348
+ - add error recovery for missing dependencies
349
+
350
+ ### docs
351
+ - add comprehensive MDX documentation system
352
+ - add blueprint specifications for all rule formats
353
+ - add IDE configuration reference guides
354
+ - add GitHub repository documentation templates
355
+
356
+ ### refactor
357
+ - improve project documentation structure
358
+ - add integration guides with practical examples
359
+
360
+ ### [1.0.0]
361
+
362
+ ### feat
363
+ - add project analysis and pattern detection engine
364
+ - add multi-format rule generation (Markdown, MDC, XML, JSON)
365
+ - add AI assistant integrations (Claude Code, Cursor, Windsurf, GitHub Copilot)
366
+ - add VDK Hub for team collaboration and rule sharing
367
+ - add watch mode for continuous project monitoring
368
+ - add comprehensive CLI with 20+ commands
369
+ - add project templates for popular frameworks
370
+ - add rule validation and error checking
371
+ - add integration auto-detection and setup
372
+ - add configuration management system
373
+
374
+ ### feat
375
+ - add project scanner with intelligent codebase analysis
376
+ - add rule generator with context-aware rule creation
377
+ - add integration manager for AI assistant setup and management
378
+ - add hub client for team collaboration through rule sharing
379
+ - add watch system for real-time monitoring and automatic updates
380
+ - add validation engine for rule and configuration validation
381
+
382
+ ### feat
383
+ - add support for frontend frameworks (React, Vue, Angular, Svelte, Next.js, Nuxt.js, SvelteKit)
384
+ - add support for backend frameworks (Node.js, Express, FastAPI, Django, Rails)
385
+ - add support for languages (TypeScript, JavaScript, Python, Go, Rust)
386
+ - add support for tools (Tailwind CSS, Prisma, tRPC, GraphQL, Docker)
387
+
388
+ ### feat
389
+ - add team creation and management
390
+ - add rule sharing and discovery
391
+ - add version control and rollback
392
+ - add public and private deployments
393
+ - add search and filtering
394
+ - add analytics and usage insights
395
+ - add collaborative rule development
890
396
 
891
397
  ---
892
398