Christoph Brandau 6b7186d040 feat(ai): add cloud providers and local model selection
Add OpenAI-compatible, Anthropic, and custom endpoint support while
keeping the local model path intact. The UI now lets users choose the
provider and local model, and staged diffs are prepared more carefully
so generated commit messages stay focused and usable.

- src-tauri/crates/commit_ai/*
  - Add HTTP-based generators for OpenAI, Anthropic, and custom APIs.
  - Introduce shared request/response handling and message sanitizing.
  - Expand prompt building to require a body and trim long diffs safely.
  - Expose selectable local model metadata and loading by model ID.
- src-tauri/src/git.rs
  - Add commands for listing local models and loading them in background.
  - Route generation by provider and include staged file lists in prompts.
  - Exclude noisy lockfiles from detailed staged diffs.
- src-tauri/src/main.rs
  - Wire the new AI commands into the Tauri app setup.
- src/lib/components/*
  - Add an AI settings dialog and update the commit panel for provider
    and model selection.
- src/lib/git.ts, src/lib/types.ts, src/App.svelte, src/app.css
  - Extend frontend state, types, and styling for AI provider settings.
- src-tauri/Cargo.lock, src-tauri/crates/commit_ai/Cargo.toml
  - Add reqwest and serde_json for cloud API requests.
2026-07-02 21:19:16 +02:00
2026-06-27 13:03:07 +02:00
2026-06-29 17:24:08 +02:00
2026-06-27 13:03:07 +02:00
2026-07-02 16:27:47 +02:00
2026-07-02 16:27:47 +02:00
2026-06-27 13:03:07 +02:00
2026-06-27 13:03:07 +02:00
2026-06-27 13:03:07 +02:00
2026-06-29 14:40:42 +02:00
2026-06-27 23:08:19 +02:00

Tauri Git Lite

Eine kleine Git-Desktop-App mit Tauri, Rust und Svelte.

Funktionen

  • Repository per lokalem Pfad öffnen
  • aktuellen Branch, Upstream, Ahead/Behind und Arbeitsbaumstatus anzeigen
  • Branches auflisten und auschecken
  • Branches in den aktuellen Branch mergen
  • Commit-History mit geänderten Dateien anzeigen
  • Explorer-Ansicht mit Ordnerbaum sowie getrackten und ungetrackten Dateien
  • Datei- und Ordner-History direkt aus dem Explorer anzeigen
  • einzelne Dateien stagen, unstagen und wiederherstellen
  • einzelne Dateien oder ganze Ordner aus einem History-Commit wiederherstellen
  • aktuellen Branch auf einen ausgewählten Commit zurücksetzen
  • Commit mit Message erstellen
  • Pull mit Fast-Forward-Strategie
  • Push auf den konfigurierten Upstream

Entwicklung

npm install
npm run tauri:dev

Frontend allein:

npm run dev

Checks:

npm run check
npm run build
cd src-tauri
cargo check

Hinweis

Die App nutzt das lokal installierte git CLI. Ein Repository muss daher bereits auf der Maschine vorhanden sein, und Push/Pull verwenden die Credentials, die Git lokal kennt.

S
Description
No description provided
Readme
14 MiB
2026.8.7
Latest
2026-08-23 21:40:07 +00:00
Languages
Svelte 49.9%
Rust 26.7%
CSS 16.6%
TypeScript 3.7%
JavaScript 1.4%
Other 1.7%