Commit Graph

4 Commits

Author SHA1 Message Date
Mathias Beaulieu-Duncan
638656e7ca Add vision support, gRPC reflection toggle, and chat improvements
- Add Vision framework integration for image analysis (OCR, classification)
- Add image attachment support in chat UI with drag & drop
- Add recent images sidebar from Downloads/Desktop
- Add copy to clipboard button for assistant responses
- Add gRPC reflection service with toggle in settings
- Create proper .proto file and generate Swift code
- Add server restart when toggling reflection setting
- Fix port number formatting in settings (remove comma grouping)
- Update gRPC dependencies to v2.x

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 16:18:06 -05:00
Mathias Beaulieu-Duncan
e0bf17da3d Add macOS menu bar app with chat and settings
- Restructure project into three targets:
  - AppleIntelligenceCore: Shared gRPC service code
  - AppleIntelligenceServer: CLI server
  - AppleIntelligenceApp: Menu bar app

- Menu bar app features:
  - Toggle server on/off from menu bar
  - Chat window with streaming AI responses
  - Settings: host, port, API key, auto-start, launch at login
  - Proper window focus handling for menu bar apps

- Add build scripts for distribution:
  - build-app.sh: Creates signed .app bundle
  - create-dmg.sh: Creates distributable DMG

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 04:31:31 -05:00
Mathias Beaulieu-Duncan
5279565797 Suppress grpc-swift deprecation warnings
The grpc-swift library is transitioning from v2 to v3 API, causing
deprecation warnings for types like RegistrableRPCService, Metadata,
ServerTransport, etc. Suppress these until the library stabilizes.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 03:00:53 -05:00
Mathias Beaulieu-Duncan
47feeedf9d Add Apple Intelligence gRPC server
Implements a Swift gRPC server that exposes Apple's Foundation Models
(Apple Intelligence) over the network for LAN access.

Features:
- Complete: Unary RPC for prompt/response
- StreamComplete: Server streaming RPC for token-by-token responses
- Health: Check model availability
- Optional API key authentication via gRPC metadata
- Configurable host/port via CLI args or environment variables

Requires macOS 26 (Tahoe) with Apple Intelligence enabled.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 02:54:12 -05:00