copilot/fix-onde-npm-sdk-v1-1-2-release
1.1.1
Apple SDK compatibility
- Swift XCFramework and Kotlin macOS/JVM builds now honor explicit Apple deployment targets instead of inheriting the newest runner SDK defaults.
- This fixes downstream macOS app integration warnings caused by the macOS static library slice being built with a newer minimum OS than consumer apps target.
Packaging
- Release metadata is aligned for Rust, Swift, Kotlin, Flutter/Dart, and React Native SDKs under version
1.1.1.
1.1.0
Swift / UniFFI runtime stability
- Added
#[uniffi::export(async_runtime = "tokio")]to the Swift/Kotlin FFI export surface so async UniFFI calls consistently run on the Tokio runtime. - Made pulse telemetry initialization lazy and panic-safe on Apple platforms. The GresIQ client is no longer created from the synchronous UniFFI constructor path, and telemetry now gracefully disables itself instead of crashing if a Tokio reactor is unavailable.
- Added a one-time Rust panic hook so panics are logged through the host logger instead of relying on stderr in iOS/tvOS simulator and device contexts.
Telemetry
- Added
ONDE_DISABLE_PULSE=1as an explicit runtime kill switch for pulse telemetry during local validation and host-app debugging. - Hardened
model_loadedandinference_eventtelemetry writes so they never require a current Tokio handle on the calling thread.
Packaging
- Release metadata is aligned for Rust, Swift, Kotlin, Flutter/Dart, and React Native SDKs under version
1.1.0.
1.0.0
Onde has already been running in real Splitfire AB apps on the App Store for months, so keeping it on 0.x no longer felt accurate.
Assigned model loading (FFI)
load_assigned_model is now exposed through the UniFFI layer. Swift and Kotlin consumers can call it directly. The method hardcodes Environment::Production, so SDK consumers do not need to know about the internal environment enum. Pass your app_id and app_secret from ondeinference.com, and the SDK will fetch the model assigned in the dashboard. If nothing has been assigned yet, it falls back to the platform default.
New models
- Qwen 3 1.7B, 4B, 8B, and 14B (GGUF Q4_K_M)
- Qwen 2.5 Coder 1.5B, 3B, and 7B (GGUF Q4_K_M)
- DeepSeek Coder 6.7B (GGUF Q4_K_M) — ships with a bundled chat template since the GGUF doesn't include one
Type changes
GgufModelConfignow has achat_template: Option<String>field for models that need a custom template.InferenceResultnow carriestool_calls: Vec<ToolCallInfo>. It will be empty for most responses, but when a model requests a tool call, you now get structured data instead of raw markup intext.- New types:
ToolCallInfo,ToolDefinition, andToolResult. The last two are Rust-only for now. They will reach the FFI surface oncesend_message_with_toolsis wired up.
Engine
- Model weights are now dropped outside the write lock during model swaps, so status queries no longer block while the old model's memory is being freed.
platform_default()now returns Coder variants, Qwen 2.5 Coder 1.5B on mobile and Coder 3B on desktop.
Tool calling (Rust-native only)
send_message_with_tools,send_tool_results, andstream_tool_resultsare now available onChatEngine. These are available to direct Rust consumers, like siGit, but are not exposed through UniFFI yet. The types already cross the FFI boundary on the output side throughInferenceResult.tool_calls, just not on the input side yet.
Dependencies
- Switched from the git-based
mistralrsdependency to the publishedonde-mistralrs 0.8.2crates on crates.io. That means no more[patch.crates-io]gymnastics forcargo publish.
Cross-platform
- Linux and Windows CPU builds now work properly too, thanks to a
TokenSourcefix for non-Darwin platforms. - Added cross-compile CI for all supported targets.
0.1.8
- Published to crates.io with
onde-mistralrs 0.8.2registry dependencies (replacing git refs thatcargo publishstrips).
0.1.7
- Qwen 3 4B GGUF model with OpenAI-compatible tool calling.
GgufModelConfig::qwen3_4b()constructor.
0.1.6
- License fix: canonical MIT text so crates.io recognizes the license correctly.
0.1.5
ChatEngine::load_assigned_model()— Rust-native API for fetching operator-assigned models from the GresIQ backend.- GresIQ pulse telemetry client (build-time credential embedding via
dotenvy). - watchOS and visionOS platform support.
0.1.4
- Switched all
mistralrsdependencies to thefix/all-platform-fixesfork for cross-platform stability. - Dual-licensed MIT OR Apache-2.0.
0.1.3
- Added watchOS and visionOS targets.
0.1.2
- HF cache sandbox workaround for iOS and Android (
GLOBAL_HF_CACHEseeding). configure_cache_dirfree function for sandboxed platforms.
0.1.1
- CI/CD:
release-sdk-swift.ymlbuilds the XCFramework and auto-updatesonde-swifton tag push.
0.1.0
- Initial release.
- Multi-turn chat with Qwen 2.5 1.5B and 3B GGUF models.
- Metal on iOS/macOS, CPU on Android/Linux/Windows.
- Streaming inference via
tokio::sync::mpsc. - Conversation history management.
- One-shot
generate()API. - Configurable sampling with presets.
- UniFFI bindings for Swift/Kotlin.