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