WeGit is a native macOS Git client concept built around AI-assisted conflict resolution. The first milestone includes a high-fidelity interactive prototype and a SwiftUI MVP scaffold with protocol boundaries for Git, AI providers, and conflict resolution.
Start a local server from the repository root:
python -m http.server 4311 --directory designsOpen:
http://127.0.0.1:4311/ai-git-client/AI%20Git%20Client.html
The prototype shows the intended three-pane macOS layout: repository sidebar, Git workspace, and persistent AI inspector/chat.
The source tree is a Swift package:
Package.swift
Sources/WeGitCore
Sources/WeGitApp
tests/WeGitCoreTests
On macOS with Xcode or a Swift toolchain installed, run:
swift test
swift run WeGitAppThis Windows workspace does not currently have the swift executable installed, so Swift compilation must be verified on macOS or another Swift-enabled environment.
The core model supports both:
- OpenAI-compatible endpoints
- Local model endpoints such as Ollama or LM Studio when exposed through a compatible chat API
AI output is treated as a proposal. Repository writes, command execution, and staging resolved files should require explicit user approval.