@entro314labs/ai-changelog-generator 3.8.2 → 3.8.3

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 (2) hide show
  1. package/package.json +1 -1
  2. package/types/index.d.ts +20 -19
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@entro314labs/ai-changelog-generator",
3
3
  "displayName": "AI Changelog Generator",
4
- "version": "3.8.2",
4
+ "version": "3.8.3",
5
5
  "type": "module",
6
6
  "description": "AI-powered changelog generator with MCP server support - works with most providers, online and local models",
7
7
  "main": "src/ai-changelog-generator.js",
package/types/index.d.ts CHANGED
@@ -181,29 +181,30 @@ export interface CommitAnalysis {
181
181
  }
182
182
 
183
183
  export interface CurrentChangesAnalysis {
184
- staged: {
185
- files: string[]
186
- additions: number
187
- deletions: number
188
- summary: string
189
- }
190
- unstaged: {
191
- files: string[]
184
+ changes: Array<{
185
+ path: string
186
+ filePath: string
187
+ status: string
188
+ category: string
189
+ importance: string
190
+ diff: string
192
191
  additions: number
193
192
  deletions: number
193
+ language?: string
194
+ complexity?: string
195
+ businessRelevance?: string
196
+ risk?: string
197
+ }>
198
+ analysis: {
194
199
  summary: string
195
- }
196
- untracked: {
197
- files: string[]
198
- categories: Record<string, string[]>
199
- recommendations: string[]
200
- }
201
- aiAnalysis?: {
202
- model: AIModel
200
+ category: string
203
201
  impact: string
204
- suggestions: string[]
205
- readiness: 'ready' | 'needs-work' | 'incomplete'
206
- }
202
+ userFacing: boolean
203
+ complexity?: string
204
+ risk?: string
205
+ } | null
206
+ summary: string
207
+ error?: string
207
208
  }
208
209
 
209
210
  export interface RepositoryHealthCheck {