11 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 0697e279ca refactor(prompts): extract prompts to dedicated module and enhance instructions 2026-04-15 17:58:45 -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 b9e0273d57 chore: update default model to claude-sonnet-4-6 2026-04-15 14:32:23 -04:00
hykocx a62c45e91e refactor: update conventional commit prompt to limit body usage 2026-04-15 13:49:05 -04:00
hykocx d6be30fbc0 feat: extract AI providers into dedicated providers module 2026-04-15 13:43:53 -04:00
hykocx 5d336af6c6 feat: add git diff utility module with staged/unstaged support 2026-04-15 13:43:47 -04:00
hykocx aa85ed29e8 feat: add VS Code extension entry point with model selection
- Register commands for generating commit messages, aborting
  generation, and selecting AI models
- Implement `selectModel` command with progress notification while
  fetching available models from the configured provider
- Display current model in QuickPick and persist selection globally
- Show appropriate error/warning messages on failure or empty results
2026-04-15 13:43:42 -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