5 Commits

Author SHA1 Message Date
sleepy c6eebf62c2 Document build-from-source attempt and issues encountered
- Added BUILD_FROM_SOURCE.md with detailed error analysis
- Documented SDK version issues and miniaudio cross-compilation problems
- Provided alternative approaches and recommendations
2026-04-06 15:39:01 +02:00
sleepy 08f1aac758 Final README with accurate LiteRT-LM integration guidance
- Documents the C++ bridge approach based on Google's actual implementation
- Explains MediaPipe (deprecated) vs C++ bridge vs Swift APIs (coming soon)
- Clear instructions for obtaining LiteRT-LM binaries
- Project structure and architecture diagram
2026-04-06 14:55:20 +02:00
sleepy 45d43f2645 Add Objective-C++ bridge for LiteRT-LM integration
- LlmEngineBridge.h/.mm: Objective-C++ wrapper around LiteRT-LM C++ API
- SleepyAgent-Bridging-Header.h: Swift bridging header
- Updated LlmEngine.swift to use the bridge
- Added LITERT_INTEGRATION.md with detailed research findings

Based on analysis of Google's litert-samples repository:
- Google uses C++ bridge pattern for iOS (confirmed in image_segmentation example)
- MediaPipe has working Swift API but is deprecated
- LiteRT-LM Swift APIs are 'coming soon'

The bridge pattern matches how Google AI Edge Gallery iOS app is likely implemented
2026-04-06 14:54:06 +02:00
sleepy d16fb2b931 Update LiteRT-LM implementation with accurate iOS status
- Document that Swift APIs are 'coming soon' per Google
- Add C++ bridge integration guide
- Create stub implementation that explains current limitations
- Add LITERT_IOS_STATUS.md with detailed integration options
- Fix MainViewModel to match MainView property expectations
2026-04-06 14:33:50 +02:00
sleepy bbcf0c74bb Initial iOS port - Complete source code and build system
- 19 Swift source files (~4900 lines)
- Complete UI with SwiftUI (MainView, SettingsView, MessageBubble, InputBar)
- Inference layer (LlmEngine, Agent, ToolCalling, ConversationContext)
- Services (Audio, TTS, WebSearch, ModelDownload, Storage)
- Build system: Makefile, Package.swift, Podfile
- Documentation: BUILD.md, plan.md, PROJECT_STATUS.md
- Ready for Xcode build - just need LiteRT dependency added
2026-04-06 14:26:08 +02:00