Commit Graph

5 Commits

Author SHA1 Message Date
hykocx 4471c2b2b2 refactor(git,commitGenerator): add git context with stat and improve prompt structure
- introduce `getGitContext` returning both diff and name-status stat output
- update `generateForRepository` and `performGeneration` to consume new context
- prefix prompt with changed files stat block when available
- replace `commitStyle` config key with `promptVersion` using `LATEST_PROMPT_VERSION`
- fix first-commit diff logic to use else-branch instead of fallthrough checks
- update extension icon
2026-04-24 12:22:01 -04:00
hykocx 7839a27d3a refactor: rename config namespace from aiCommit to zemit 2026-04-15 14:45:35 -04:00
hykocx 1f9ed36194 refactor: translate UI messages to French 2026-04-15 14:42:57 -04:00
hykocx a102b0d714 refactor: rename command and config prefix from aiCommit to zemit 2026-04-15 14:34:55 -04:00
hykocx a3dc87d7eb feat: extract commit generation logic into dedicated module
Moves all commit message generation logic from the main extension
file into a new `commitGenerator.ts` module, including:

- Multi-repo orchestration with QuickPick selection
- Filtering repositories that have changes
- Single-repository generation with progress reporting
- Streaming AI response handling with abort support
- Developer note inclusion in prompts
- Diff truncation based on configurable max size
2026-04-15 13:43:37 -04:00