-
Notifications
You must be signed in to change notification settings - Fork 27
Add Wails v3 desktop application with native Go integration #149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
This PR adds native desktop application support using Wails v3, providing a high-performance alternative to the web interface with direct access to Go backend services.
Changes
Replaced initial Tauri implementation with Wails v3 for better integration with our existing Go codebase. The desktop app is built directly into the container module at
container/cmd/desktop/, wrapping core services (Claude, Git, Session, Settings) to expose 20+ methods through auto-generated TypeScript bindings. The React frontend remains unchanged, with a new API wrapper (src/lib/wails-api.ts) that automatically detects the environment and routes calls through Wails methods in desktop mode or HTTP in development.Benefits
This implementation eliminates HTTP overhead by using direct method calls, improves security by removing exposed ports, and maintains full backward compatibility. The desktop app provides the same React SPA experience with native performance, while the development workflow supports hot reload for both Go and React code through the new
pnpm desktopcommands.