Skip to content

Add AI-generated commit messages#74

Merged
danipen merged 4 commits into
mainfrom
ai-generated-commit-message
Jul 4, 2026
Merged

Add AI-generated commit messages#74
danipen merged 4 commits into
mainfrom
ai-generated-commit-message

Conversation

@danipen

@danipen danipen commented Jul 4, 2026

Copy link
Copy Markdown
Owner

Summary

Adds AI-generated commit messages to the Changes tab: a provider-agnostic AI layer in the main process, a settings pane to configure a provider/model/key, and composer controls to generate a commit message from the staged diff.

What's included

  • AI engine (src/main/ai/) — provider registry, HTTP client, commit-context builder, and prompt construction, with encrypted credential storage (cipher.ts + store.ts).
  • IPC surface — new ai handlers wired through shared/types.tsshared/ipc.tspreloadmain/ipc.
  • RendererAiComposerControls in the commit composer to generate/insert messages, plus an AiPane in Settings to pick provider, model, and API key.
  • Icons & styling — new AI icon and features/ai.css.
  • Docsdocs/ai-features.md documenting setup and usage.
  • Tests — unit coverage for providers, prompt building, credential store, and the renderer AI lib.

Notes

Signing, provider keys, and all git/network work stay in the main process; the renderer talks to it only through the IPC contract.

danipen added 4 commits July 4, 2026 11:22
Surface provider error bodies through AiRequestError, keep the Anthropic version header for keyless requests, and cap commit prompt file summaries. Add docs/ai-features.md and make Icon.Sparkle use a collision-free gradient mark.
@danipen danipen merged commit 3e0956b into main Jul 4, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant