Integrated Git
Realtime status tracking, a diff/merge viewer, and AI-generated commit messages — all inside the workspace.
Realtime status
A backend file watcher tracks the repo and pushes updates over SSE, coalescing events to avoid noise. On network file systems it falls back to poll-only mode. Changes show with familiar Git color coding: added (green), modified (amber), deleted (red).
Diff, merge & history
Diff & merge editor
Built on CodeMirror 6 with dedicated conflict/modified colors, handling diffs on very large files.
Git log tab
Cached commit history, opened as its own tab kind in the pane tree.
AI commit messages
The Sparkles button next to the commit box drafts a message from the current diff and streams tokens into the editor. Click again to cancel. Shortcut ⌘⌥G while the commit input is focused. After editing the draft, hit Commit as usual.
You configure the AI provider in Settings → Git → “AI Commit Messages”: provider shape (OpenAI-compatible / Anthropic / Ollama), URL, model, API key, prompt template, and a diff byte budget.
The commit-message API key is stored in the OS keychain via a dedicated endpoint. The raw value never travels through the generic settings API — this is a deliberate security choice.
Template placeholders
| Placeholder | Description |
|---|---|
| {{rules}} | Commit message rules (format, language, …) |
| {{subject_hint}} | Subject hint from branch or staged files |
| {{diff}} | Staged diff — trimmed to Diff Byte Budget |