Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 0 additions & 27 deletions Package.resolved

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,7 @@ let package = Package(
.package(url: "https://github.com/apple/swift-crypto.git", from: "3.0.0"),
.package(url: "https://github.com/Alamofire/Alamofire.git", from: "5.9.0"),
.package(url: "https://github.com/JohnSundell/Files.git", from: "4.3.0"),
.package(url: "https://github.com/weichsel/ZIPFoundation.git", from: "0.9.0"),
.package(url: "https://github.com/devicekit/DeviceKit.git", from: "5.6.0"),
.package(url: "https://github.com/tsolomko/SWCompression.git", from: "4.8.0"),
.package(url: "https://github.com/getsentry/sentry-cocoa", from: "8.40.0"),
// ml-stable-diffusion for CoreML-based image generation
.package(url: "https://github.com/apple/ml-stable-diffusion.git", from: "1.1.0"),
Expand Down Expand Up @@ -139,9 +137,7 @@ let package = Package(
.product(name: "Crypto", package: "swift-crypto"),
.product(name: "Alamofire", package: "Alamofire"),
.product(name: "Files", package: "Files"),
.product(name: "ZIPFoundation", package: "ZIPFoundation"),
.product(name: "DeviceKit", package: "DeviceKit"),
.product(name: "SWCompression", package: "SWCompression"),
.product(name: "Sentry", package: "sentry-cocoa"),
.product(name: "StableDiffusion", package: "ml-stable-diffusion"),
"CRACommons",
Expand Down
4 changes: 2 additions & 2 deletions Playground/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ A complete on-device voice AI pipeline for Linux (Raspberry Pi 5, x86_64, ARM64)
- **Large Language Model** — Qwen2.5 0.5B Q4 via llama.cpp (fully local)
- **Text-to-Speech** — Piper Lessac Medium neural TTS

**Requirements:** Linux (ALSA), x86_64 or ARM64, CMake 3.16+, C++17
**Requirements:** Linux (ALSA), x86_64 or ARM64, CMake 3.16+, C++20

## swift-starter-app

Expand Down Expand Up @@ -94,4 +94,4 @@ A hybrid voice assistant that combines on-device AI inference with cloud LLM rea
- **Barge-in Support** — Wake word during TTS playback cancels speech and re-listens
- **Waiting Chime** — Earcon feedback while waiting for cloud response

**Requirements:** Linux (ALSA), x86_64 or ARM64, CMake 3.16+, C++17
**Requirements:** Linux (ALSA), x86_64 or ARM64, CMake 3.16+, C++20
2 changes: 1 addition & 1 deletion Playground/linux-voice-assistant/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ project(linux-voice-assistant
DESCRIPTION "Linux Voice Assistant using RunAnywhere Commons"
)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

# =============================================================================
Expand Down
2 changes: 1 addition & 1 deletion Playground/linux-voice-assistant/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ linux-voice-assistant/

- Linux (Raspberry Pi 5, Ubuntu, Debian, etc.)
- CMake 3.16+
- C++17 compiler (g++ or clang++)
- C++20 compiler (g++ or clang++)
- ALSA development headers: `sudo apt install libasound2-dev`

### Build and Run
Expand Down
2 changes: 1 addition & 1 deletion Playground/openclaw-hybrid-assistant/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.16)
project(openclaw-hybrid-assistant VERSION 0.1.0 LANGUAGES CXX)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

# =============================================================================
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,21 @@ public static void registerWith(@NonNull FlutterEngine flutterEngine) {
} catch (Exception e) {
Log.e(TAG, "Error registering plugin audioplayers_android, xyz.luan.audioplayers.AudioplayersPlugin", e);
}
try {
flutterEngine.getPlugins().add(new io.flutter.plugins.camerax.CameraAndroidCameraxPlugin());
} catch (Exception e) {
Log.e(TAG, "Error registering plugin camera_android_camerax, io.flutter.plugins.camerax.CameraAndroidCameraxPlugin", e);
}
try {
flutterEngine.getPlugins().add(new dev.fluttercommunity.plus.device_info.DeviceInfoPlusPlugin());
} catch (Exception e) {
Log.e(TAG, "Error registering plugin device_info_plus, dev.fluttercommunity.plus.device_info.DeviceInfoPlusPlugin", e);
}
try {
flutterEngine.getPlugins().add(new io.flutter.plugins.flutter_plugin_android_lifecycle.FlutterAndroidLifecyclePlugin());
} catch (Exception e) {
Log.e(TAG, "Error registering plugin flutter_plugin_android_lifecycle, io.flutter.plugins.flutter_plugin_android_lifecycle.FlutterAndroidLifecyclePlugin", e);
}
try {
flutterEngine.getPlugins().add(new com.it_nomads.fluttersecurestorage.FlutterSecureStoragePlugin());
} catch (Exception e) {
Expand All @@ -35,6 +45,11 @@ public static void registerWith(@NonNull FlutterEngine flutterEngine) {
} catch (Exception e) {
Log.e(TAG, "Error registering plugin flutter_tts, com.tundralabs.fluttertts.FlutterTtsPlugin", e);
}
try {
flutterEngine.getPlugins().add(new io.flutter.plugins.imagepicker.ImagePickerPlugin());
} catch (Exception e) {
Log.e(TAG, "Error registering plugin image_picker_android, io.flutter.plugins.imagepicker.ImagePickerPlugin", e);
}
try {
flutterEngine.getPlugins().add(new dev.fluttercommunity.plus.packageinfo.PackageInfoPlugin());
} catch (Exception e) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@
@import audioplayers_darwin;
#endif

#if __has_include(<camera_avfoundation/CameraPlugin.h>)
#import <camera_avfoundation/CameraPlugin.h>
#else
@import camera_avfoundation;
#endif

#if __has_include(<device_info_plus/FPPDeviceInfoPlusPlugin.h>)
#import <device_info_plus/FPPDeviceInfoPlusPlugin.h>
#else
Expand All @@ -30,6 +36,12 @@
@import flutter_tts;
#endif

#if __has_include(<image_picker_ios/FLTImagePickerPlugin.h>)
#import <image_picker_ios/FLTImagePickerPlugin.h>
#else
@import image_picker_ios;
#endif

#if __has_include(<package_info_plus/FPPPackageInfoPlusPlugin.h>)
#import <package_info_plus/FPPPackageInfoPlusPlugin.h>
#else
Expand Down Expand Up @@ -94,9 +106,11 @@ @implementation GeneratedPluginRegistrant

+ (void)registerWithRegistry:(NSObject<FlutterPluginRegistry>*)registry {
[AudioplayersDarwinPlugin registerWithRegistrar:[registry registrarForPlugin:@"AudioplayersDarwinPlugin"]];
[CameraPlugin registerWithRegistrar:[registry registrarForPlugin:@"CameraPlugin"]];
[FPPDeviceInfoPlusPlugin registerWithRegistrar:[registry registrarForPlugin:@"FPPDeviceInfoPlusPlugin"]];
[FlutterSecureStoragePlugin registerWithRegistrar:[registry registrarForPlugin:@"FlutterSecureStoragePlugin"]];
[FlutterTtsPlugin registerWithRegistrar:[registry registrarForPlugin:@"FlutterTtsPlugin"]];
[FLTImagePickerPlugin registerWithRegistrar:[registry registrarForPlugin:@"FLTImagePickerPlugin"]];
[FPPPackageInfoPlusPlugin registerWithRegistrar:[registry registrarForPlugin:@"FPPPackageInfoPlusPlugin"]];
[PathProviderPlugin registerWithRegistrar:[registry registrarForPlugin:@"PathProviderPlugin"]];
[PermissionHandlerPlugin registerWithRegistrar:[registry registrarForPlugin:@"PermissionHandlerPlugin"]];
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 2 additions & 5 deletions examples/react-native/RunAnywhereAI/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 6 additions & 14 deletions examples/react-native/RunAnywhereAI/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1479,6 +1479,10 @@
version "0.18.1"
resolved "file:../../../sdk/runanywhere-react-native/packages/onnx"

"@runanywhere/rag@file:../../../sdk/runanywhere-react-native/packages/rag":
version "0.1.0"
resolved "file:../../../sdk/runanywhere-react-native/packages/rag"

"@sideway/address@^4.1.5":
version "4.1.5"
resolved "https://registry.npmjs.org/@sideway/address/-/address-4.1.5.tgz"
Expand Down Expand Up @@ -5120,13 +5124,6 @@ react-is@^19.1.0:
resolved "https://registry.npmjs.org/react-is/-/react-is-19.2.4.tgz"
integrity sha512-W+EWGn2v0ApPKgKKCy/7s7WHXkboGcsrXE+2joLyVxkbyVQfO3MUEaUQDHoSmb8TFFrSKYa9mw64WZHNHSDzYA==

react-native-document-picker@^9.3.1:
version "9.3.1"
resolved "https://registry.npmjs.org/react-native-document-picker/-/react-native-document-picker-9.3.1.tgz"
integrity sha512-Vcofv9wfB0j67zawFjfq9WQPMMzXxOZL9kBmvWDpjVuEcVK73ndRmlXHlkeFl5ZHVsv4Zb6oZYhqm9u5omJOPA==
dependencies:
invariant "^2.2.4"

react-native-fs@^2.20.0:
version "2.20.0"
resolved "https://registry.npmjs.org/react-native-fs/-/react-native-fs-2.20.0.tgz"
Expand Down Expand Up @@ -5184,12 +5181,7 @@ react-native-vector-icons@^10.3.0:
prop-types "^15.7.2"
yargs "^16.1.1"

react-native-vision-camera@^4.7.3:
version "4.7.3"
resolved "https://registry.npmjs.org/react-native-vision-camera/-/react-native-vision-camera-4.7.3.tgz"
integrity sha512-g1/neOyjSqn1kaAa2FxI/qp5KzNvPcF0bnQw6NntfbxH6tm0+8WFZszlgb5OV+iYlB6lFUztCbDtyz5IpL47OA==

react-native@*, "react-native@^0.0.0-0 || >=0.65 <1.0", "react-native@>= 0.61.5", react-native@>=0.70.0, react-native@0.83.1:
react-native@*, "react-native@^0.0.0-0 || >=0.65 <1.0", react-native@>=0.70.0, react-native@0.83.1:
version "0.83.1"
resolved "https://registry.npmjs.org/react-native/-/react-native-0.83.1.tgz"
integrity sha512-mL1q5HPq5cWseVhWRLl+Fwvi5z1UO+3vGOpjr+sHFwcUletPRZ5Kv+d0tUfqHmvi73/53NjlQqX1Pyn4GguUfA==
Expand Down Expand Up @@ -5235,7 +5227,7 @@ react-refresh@^0.14.0:
resolved "https://registry.npmjs.org/react-refresh/-/react-refresh-0.14.2.tgz"
integrity sha512-jCvmsr+1IUSMUyzOkRcvnVbX3ZYC6g9TDrDbFuFmRDq7PD4yaGbLKNQL6k2jnArV8hjYxh7hVhAZB6s9HDGpZA==

react@*, "react@^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", react@^19.2.0, "react@>= 16.9.0", "react@>= 18.2.0", react@>=16.8, react@>=17.0.0, react@>=18.0.0, react@>=18.1.0, react@19.2.0:
react@*, "react@^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", react@^19.2.0, "react@>= 18.2.0", react@>=16.8, react@>=17.0.0, react@>=18.0.0, react@>=18.1.0, react@19.2.0:
version "19.2.0"
resolved "https://registry.npmjs.org/react/-/react-19.2.0.tgz"
integrity sha512-tmbWg6W31tQLeB5cdIBOicJDJRR2KzXsV7uSK9iNfLWQ5bIZfxuPEHp7M8wiHyHnn0DD1i7w3Zmin0FtkrwoCQ==
Expand Down
2 changes: 1 addition & 1 deletion sdk/runanywhere-commons/.clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ SpacesInSquareBrackets: false

# C/C++ specific
Language: Cpp
Standard: c++17
Standard: c++20

# Penalties (for line breaking decisions)
PenaltyBreakBeforeFirstCallParameter: 19
Expand Down
2 changes: 1 addition & 1 deletion sdk/runanywhere-commons/CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

## C++ Specific Rules

- C++17 standard required
- C++20 standard required
- Google C++ Style Guide with project customizations (see `.clang-format`)
- Run `./scripts/lint-cpp.sh` before committing
- Use `./scripts/lint-cpp.sh --fix` to auto-fix formatting issues
Expand Down
Loading
Loading