Skip to content

armgit / uzu

Public Imported from GitHub
0

A high-performance inference engine for AI models

Release 0.5.12

github-actions[bot]0ebcf2278696
diff --git a/Cargo.lock b/Cargo.lock
index 8008638e6..29ce81413 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -567,7 +567,7 @@ dependencies = [
[[package]]
name = "backend-remote"
-version = "0.5.10"
+version = "0.5.12"
dependencies = [
"async-openai",
"futures",
@@ -582,7 +582,7 @@ dependencies = [
[[package]]
name = "backend-uzu"
-version = "0.5.10"
+version = "0.5.12"
dependencies = [
"anyhow",
"async-trait",
@@ -688,7 +688,7 @@ checksum = "3a8241f3ebb85c056b509d4327ad0358fbbba6ffb340bf388f26350aeda225b1"
[[package]]
name = "benchmarks"
-version = "0.5.10"
+version = "0.5.12"
dependencies = [
"backend-uzu",
"serde",
@@ -723,7 +723,7 @@ dependencies = [
[[package]]
name = "bindings"
-version = "0.5.10"
+version = "0.5.12"
dependencies = [
"heck",
"proc-macro2",
@@ -733,7 +733,7 @@ dependencies = [
[[package]]
name = "bindings-types"
-version = "0.5.10"
+version = "0.5.12"
dependencies = [
"inventory",
"napi",
@@ -1144,7 +1144,7 @@ checksum = "c8d4a3bb8b1e0c1050499d1815f5ab16d04f0959b233085fb31653fbfc9d98f9"
[[package]]
name = "cli"
-version = "0.5.10"
+version = "0.5.12"
dependencies = [
"anyhow",
"benchmarks",
@@ -1162,7 +1162,7 @@ dependencies = [
[[package]]
name = "cli-storage"
-version = "0.5.10"
+version = "0.5.12"
dependencies = [
"clap",
"crossterm 0.29.0",
@@ -1180,7 +1180,7 @@ dependencies = [
[[package]]
name = "cli-tools"
-version = "0.5.10"
+version = "0.5.12"
dependencies = [
"anyhow",
"clap",
@@ -1982,7 +1982,7 @@ checksum = "1aaf95b3e5c8f23aa320147307562d361db0ae0d51242340f558153b4eb2439b"
[[package]]
name = "download-manager"
-version = "0.5.10"
+version = "0.5.12"
dependencies = [
"async-trait",
"base64 0.22.1",
@@ -2639,7 +2639,7 @@ dependencies = [
[[package]]
name = "hanashi"
-version = "0.5.10"
+version = "0.5.12"
dependencies = [
"fancy-regex 0.17.0",
"indexmap 2.14.0",
@@ -3406,7 +3406,7 @@ dependencies = [
[[package]]
name = "json-transform"
-version = "0.5.10"
+version = "0.5.12"
dependencies = [
"fancy-regex 0.17.0",
"indexmap 2.14.0",
@@ -3911,7 +3911,7 @@ dependencies = [
[[package]]
name = "mock-registry"
-version = "0.5.10"
+version = "0.5.12"
dependencies = [
"base64 0.22.1",
"bitflags 2.11.1",
@@ -4005,7 +4005,7 @@ dependencies = [
[[package]]
name = "nagare"
-version = "0.5.10"
+version = "0.5.12"
dependencies = [
"bindings",
"bindings-types",
@@ -4952,7 +4952,7 @@ dependencies = [
[[package]]
name = "proc-macros"
-version = "0.5.10"
+version = "0.5.12"
dependencies = [
"proc-macro2",
"quote",
@@ -6442,7 +6442,7 @@ checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba"
[[package]]
name = "shoji"
-version = "0.5.10"
+version = "0.5.12"
dependencies = [
"bindings",
"bindings-types",
@@ -7114,7 +7114,7 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
[[package]]
name = "token-stream-parser"
-version = "0.5.10"
+version = "0.5.12"
dependencies = [
"indexmap 2.14.0",
"json-transform",
@@ -7868,7 +7868,7 @@ dependencies = [
[[package]]
name = "uzu"
-version = "0.5.10"
+version = "0.5.12"
dependencies = [
"anyhow",
"apple-native-keyring-store",
diff --git a/Cargo.toml b/Cargo.toml
index 56a5c7595..a79c29df0 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -23,7 +23,7 @@ resolver = "3"
[workspace.package]
edition = "2024"
rust-version = "1.94"
-version = "0.5.10"
+version = "0.5.12"
authors = ["Mirai Tech Inc. <[email protected]>"]
description = "A high-performance inference engine for AI models"
readme = "README.md"
diff --git a/Package.swift b/Package.swift
index 7bd2b8b06..261e5e67a 100644
--- a/Package.swift
+++ b/Package.swift
@@ -17,8 +17,8 @@ let package = Package(
targets: [
.binaryTarget(
name: "uzu",
- url: "https://artifacts.trymirai.com/uzu-swift/releases/0.5.10.zip",
- checksum: "6205564eaaec77d2597a605cf5f514ac2614b0578f8939d7308088ba5559bc48"
+ url: "https://artifacts.trymirai.com/uzu-swift/releases/0.5.12.zip",
+ checksum: "eeb0e17475701d5db681ee2f7a0d0fd260af600c07af39cf2976e9fd070e7b75"
),
.target(
name: "Uzu",
diff --git a/README.md b/README.md
index f7267bd16..feb25d35b 100644
--- a/README.md
+++ b/README.md
@@ -4,7 +4,7 @@
</picture>
</p>
-<a href="https://discord.com/invite/trymirai"><img src="https://img.shields.io/discord/1377764166764462120?label=Discord&color=brightgreen" alt="Discord"></a> <a href="mailto:[email protected]?subject=Interested%20in%20Mirai"><img src="https://img.shields.io/badge/Send-Email-brightgreen" alt="Contact us"></a> <a href="https://docs.trymirai.com"><img src="https://img.shields.io/badge/Read-Docs-brightgreen" alt="Read docs"></a> [![License](https://img.shields.io/badge/License-MIT-brightgreen)](LICENSE) [![Build](https://github.com/trymirai/uzu/actions/workflows/tests.yml/badge.svg)](https://github.com/trymirai/uzu/actions) [![Python](https://img.shields.io/badge/Python-orange)](bindings/python) [![Package](https://img.shields.io/pypi/v/uzu?color=orange&label=Package&v=0.5.10)](https://pypi.org/project/uzu/) [![Python](https://img.shields.io/pypi/pyversions/uzu?color=orange&label=Python&v=0.5.10)](https://pypi.org/project/uzu/) [![TypeScript](https://img.shields.io/badge/TypeScript-yellow)](bindings/typescript) [![Package](https://img.shields.io/npm/v/@trymirai/uzu?color=yellow&label=Package&v=0.5.10)](https://www.npmjs.com/package/@trymirai/uzu) [![Downloads](https://img.shields.io/npm/dm/@trymirai/uzu?color=yellow&label=Downloads&v=0.5.10)](https://www.npmjs.com/package/@trymirai/uzu) [![Swift](https://img.shields.io/badge/Swift-blue)](bindings/swift) [![SPM](https://img.shields.io/badge/SPM-compatible-blue)](Package.swift) [![Platforms](https://img.shields.io/badge/Platforms-iOS%20%7C%20macOS-blue)](Package.swift) [![Swift](https://img.shields.io/badge/Swift-5.9-blue)](https://swift.org)
+<a href="https://discord.com/invite/trymirai"><img src="https://img.shields.io/discord/1377764166764462120?label=Discord&color=brightgreen" alt="Discord"></a> <a href="mailto:[email protected]?subject=Interested%20in%20Mirai"><img src="https://img.shields.io/badge/Send-Email-brightgreen" alt="Contact us"></a> <a href="https://docs.trymirai.com"><img src="https://img.shields.io/badge/Read-Docs-brightgreen" alt="Read docs"></a> [![License](https://img.shields.io/badge/License-MIT-brightgreen)](LICENSE) [![Build](https://github.com/trymirai/uzu/actions/workflows/tests.yml/badge.svg)](https://github.com/trymirai/uzu/actions) [![Python](https://img.shields.io/badge/Python-orange)](bindings/python) [![Package](https://img.shields.io/pypi/v/uzu?color=orange&label=Package&v=0.5.12)](https://pypi.org/project/uzu/) [![Python](https://img.shields.io/pypi/pyversions/uzu?color=orange&label=Python&v=0.5.12)](https://pypi.org/project/uzu/) [![TypeScript](https://img.shields.io/badge/TypeScript-yellow)](bindings/typescript) [![Package](https://img.shields.io/npm/v/@trymirai/uzu?color=yellow&label=Package&v=0.5.12)](https://www.npmjs.com/package/@trymirai/uzu) [![Downloads](https://img.shields.io/npm/dm/@trymirai/uzu?color=yellow&label=Downloads&v=0.5.12)](https://www.npmjs.com/package/@trymirai/uzu) [![Swift](https://img.shields.io/badge/Swift-blue)](bindings/swift) [![SPM](https://img.shields.io/badge/SPM-compatible-blue)](Package.swift) [![Platforms](https://img.shields.io/badge/Platforms-iOS%20%7C%20macOS-blue)](Package.swift) [![Swift](https://img.shields.io/badge/Swift-5.9-blue)](https://swift.org)
# uzu
@@ -78,7 +78,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
Add the dependency:
```bash
-uv add uzu==0.5.10
+uv add uzu==0.5.12
```
Run the code below:
@@ -132,7 +132,7 @@ Add the dependency:
```swift
dependencies: [
- .package(url: "https://github.com/trymirai/uzu.git", from: "0.5.10")
+ .package(url: "https://github.com/trymirai/uzu.git", from: "0.5.12")
]
```
@@ -181,7 +181,7 @@ public func runQuickStart() async throws {
Add the dependency:
```bash
-pnpm add @trymirai/[email protected]
+pnpm add @trymirai/[email protected]
```
Run the code below:
@@ -1617,7 +1617,7 @@ uv run downloader list # show the list of supported models
uv run downloader download {REPO} # download a specific model
```
-Models downloaded for development are stored at `./workspace/models/0.5.10/`.
+Models downloaded for development are stored at `./workspace/models/0.5.12/`.
You can also export a model yourself with [lalamo](https://github.com/trymirai/lalamo):
@@ -1651,7 +1651,7 @@ If the model is not downloaded yet, the CLI starts downloading it automatically.
To run benchmarks:
```bash
-cargo run --release -p cli -- bench ./workspace/models/0.5.10/{MODEL_NAME} ./workspace/models/0.5.10/{MODEL_NAME}/benchmark_task.json ./workspace/models/0.5.10/{MODEL_NAME}/benchmark_result.json
+cargo run --release -p cli -- bench ./workspace/models/0.5.12/{MODEL_NAME} ./workspace/models/0.5.12/{MODEL_NAME}/benchmark_task.json ./workspace/models/0.5.12/{MODEL_NAME}/benchmark_result.json
```
`benchmark_task.json` is automatically generated after the model is downloaded via `./tools/`.
diff --git a/apps/playground/Project.swift b/apps/playground/Project.swift
index e992eba10..755345b82 100644
--- a/apps/playground/Project.swift
+++ b/apps/playground/Project.swift
@@ -18,7 +18,7 @@ let settings: Settings = .settings(
"DEVELOPMENT_TEAM": "C39GZ239GY",
"TARGETED_DEVICE_FAMILY": "1,2",
"SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD": "NO",
- "MARKETING_VERSION": "0.5.10",
+ "MARKETING_VERSION": "0.5.12",
"CURRENT_PROJECT_VERSION": "1",
],
configurations: [
diff --git a/bindings/python/README.md b/bindings/python/README.md
index 7073e0c26..728f7463b 100644
--- a/bindings/python/README.md
+++ b/bindings/python/README.md
@@ -4,7 +4,7 @@
</picture>
</p>
-<a href="https://discord.com/invite/trymirai"><img src="https://img.shields.io/discord/1377764166764462120?label=Discord&color=brightgreen" alt="Discord"></a> <a href="mailto:[email protected]?subject=Interested%20in%20Mirai"><img src="https://img.shields.io/badge/Send-Email-brightgreen" alt="Contact us"></a> <a href="https://docs.trymirai.com"><img src="https://img.shields.io/badge/Read-Docs-brightgreen" alt="Read docs"></a> [![License](https://img.shields.io/badge/License-MIT-brightgreen)](LICENSE) [![Build](https://github.com/trymirai/uzu/actions/workflows/tests.yml/badge.svg)](https://github.com/trymirai/uzu/actions) [![Python](https://img.shields.io/badge/Python-orange)](bindings/python) [![Package](https://img.shields.io/pypi/v/uzu?color=orange&label=Package&v=0.5.10)](https://pypi.org/project/uzu/) [![Python](https://img.shields.io/pypi/pyversions/uzu?color=orange&label=Python&v=0.5.10)](https://pypi.org/project/uzu/)
+<a href="https://discord.com/invite/trymirai"><img src="https://img.shields.io/discord/1377764166764462120?label=Discord&color=brightgreen" alt="Discord"></a> <a href="mailto:[email protected]?subject=Interested%20in%20Mirai"><img src="https://img.shields.io/badge/Send-Email-brightgreen" alt="Contact us"></a> <a href="https://docs.trymirai.com"><img src="https://img.shields.io/badge/Read-Docs-brightgreen" alt="Read docs"></a> [![License](https://img.shields.io/badge/License-MIT-brightgreen)](LICENSE) [![Build](https://github.com/trymirai/uzu/actions/workflows/tests.yml/badge.svg)](https://github.com/trymirai/uzu/actions) [![Python](https://img.shields.io/badge/Python-orange)](bindings/python) [![Package](https://img.shields.io/pypi/v/uzu?color=orange&label=Package&v=0.5.12)](https://pypi.org/project/uzu/) [![Python](https://img.shields.io/pypi/pyversions/uzu?color=orange&label=Python&v=0.5.12)](https://pypi.org/project/uzu/)
# uzu
@@ -23,7 +23,7 @@ A high-performance inference engine for AI models. It allows you to deploy AI di
Add the dependency:
```bash
-uv add uzu==0.5.10
+uv add uzu==0.5.12
```
Run the code below:
diff --git a/bindings/swift/README.md b/bindings/swift/README.md
index 388fed6be..6adb19569 100644
--- a/bindings/swift/README.md
+++ b/bindings/swift/README.md
@@ -24,7 +24,7 @@ Add the dependency:
```swift
dependencies: [
- .package(url: "https://github.com/trymirai/uzu.git", from: "0.5.10")
+ .package(url: "https://github.com/trymirai/uzu.git", from: "0.5.12")
]
```
diff --git a/bindings/typescript/README.md b/bindings/typescript/README.md
index beaea48fd..4a17fa62b 100644
--- a/bindings/typescript/README.md
+++ b/bindings/typescript/README.md
@@ -4,7 +4,7 @@
</picture>
</p>
-<a href="https://discord.com/invite/trymirai"><img src="https://img.shields.io/discord/1377764166764462120?label=Discord&color=brightgreen" alt="Discord"></a> <a href="mailto:[email protected]?subject=Interested%20in%20Mirai"><img src="https://img.shields.io/badge/Send-Email-brightgreen" alt="Contact us"></a> <a href="https://docs.trymirai.com"><img src="https://img.shields.io/badge/Read-Docs-brightgreen" alt="Read docs"></a> [![License](https://img.shields.io/badge/License-MIT-brightgreen)](LICENSE) [![Build](https://github.com/trymirai/uzu/actions/workflows/tests.yml/badge.svg)](https://github.com/trymirai/uzu/actions) [![TypeScript](https://img.shields.io/badge/TypeScript-yellow)](bindings/typescript) [![Package](https://img.shields.io/npm/v/@trymirai/uzu?color=yellow&label=Package&v=0.5.10)](https://www.npmjs.com/package/@trymirai/uzu) [![Downloads](https://img.shields.io/npm/dm/@trymirai/uzu?color=yellow&label=Downloads&v=0.5.10)](https://www.npmjs.com/package/@trymirai/uzu)
+<a href="https://discord.com/invite/trymirai"><img src="https://img.shields.io/discord/1377764166764462120?label=Discord&color=brightgreen" alt="Discord"></a> <a href="mailto:[email protected]?subject=Interested%20in%20Mirai"><img src="https://img.shields.io/badge/Send-Email-brightgreen" alt="Contact us"></a> <a href="https://docs.trymirai.com"><img src="https://img.shields.io/badge/Read-Docs-brightgreen" alt="Read docs"></a> [![License](https://img.shields.io/badge/License-MIT-brightgreen)](LICENSE) [![Build](https://github.com/trymirai/uzu/actions/workflows/tests.yml/badge.svg)](https://github.com/trymirai/uzu/actions) [![TypeScript](https://img.shields.io/badge/TypeScript-yellow)](bindings/typescript) [![Package](https://img.shields.io/npm/v/@trymirai/uzu?color=yellow&label=Package&v=0.5.12)](https://www.npmjs.com/package/@trymirai/uzu) [![Downloads](https://img.shields.io/npm/dm/@trymirai/uzu?color=yellow&label=Downloads&v=0.5.12)](https://www.npmjs.com/package/@trymirai/uzu)
# uzu
@@ -23,7 +23,7 @@ A high-performance inference engine for AI models. It allows you to deploy AI di
Add the dependency:
```bash
-pnpm add @trymirai/[email protected]
+pnpm add @trymirai/[email protected]
```
Run the code below:
diff --git a/bindings/typescript/jsr.json b/bindings/typescript/jsr.json
index d07d29055..18ee6d969 100644
--- a/bindings/typescript/jsr.json
+++ b/bindings/typescript/jsr.json
@@ -1,6 +1,6 @@
{
"name": "@trymirai/uzu",
- "version": "0.5.10",
+ "version": "0.5.12",
"exports": {
".": "./index.ts"
},
diff --git a/bindings/typescript/jsr.json.orig b/bindings/typescript/jsr.json.orig
index d07d29055..18ee6d969 100644
--- a/bindings/typescript/jsr.json.orig
+++ b/bindings/typescript/jsr.json.orig
@@ -1,6 +1,6 @@
{
"name": "@trymirai/uzu",
- "version": "0.5.10",
+ "version": "0.5.12",
"exports": {
".": "./index.ts"
},
diff --git a/bindings/typescript/package.json b/bindings/typescript/package.json
index 3a33dd575..d7894c49a 100644
--- a/bindings/typescript/package.json
+++ b/bindings/typescript/package.json
@@ -1,6 +1,6 @@
{
"name": "@trymirai/uzu",
- "version": "0.5.10",
+ "version": "0.5.12",
"description": "A high-performance inference engine for AI models",
"author": "Mirai Tech Inc. <[email protected]>",
"types": "dist/index.d.ts",
diff --git a/bindings/typescript/src/napi/index.js b/bindings/typescript/src/napi/index.js
index 580895e95..3a6589b49 100644
--- a/bindings/typescript/src/napi/index.js
+++ b/bindings/typescript/src/napi/index.js
@@ -80,8 +80,8 @@ function requireNative() {
try {
const binding = require('@trymirai/uzu-android-arm64')
const bindingPackageVersion = require('@trymirai/uzu-android-arm64/package.json').version
- if (bindingPackageVersion !== '0.5.10' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
- throw new Error(`Native binding package version mismatch, expected 0.5.10 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
+ if (bindingPackageVersion !== '0.5.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
+ throw new Error(`Native binding package version mismatch, expected 0.5.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -96,8 +96,8 @@ function requireNative() {
try {
const binding = require('@trymirai/uzu-android-arm-eabi')
const bindingPackageVersion = require('@trymirai/uzu-android-arm-eabi/package.json').version
- if (bindingPackageVersion !== '0.5.10' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
- throw new Error(`Native binding package version mismatch, expected 0.5.10 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
+ if (bindingPackageVersion !== '0.5.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
+ throw new Error(`Native binding package version mismatch, expected 0.5.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -116,8 +116,8 @@ function requireNative() {
try {
const binding = require('@trymirai/uzu-win32-x64-msvc')
const bindingPackageVersion = require('@trymirai/uzu-win32-x64-msvc/package.json').version
- if (bindingPackageVersion !== '0.5.10' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
- throw new Error(`Native binding package version mismatch, expected 0.5.10 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
+ if (bindingPackageVersion !== '0.5.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
+ throw new Error(`Native binding package version mismatch, expected 0.5.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -132,8 +132,8 @@ function requireNative() {
try {
const binding = require('@trymirai/uzu-win32-ia32-msvc')
const bindingPackageVersion = require('@trymirai/uzu-win32-ia32-msvc/package.json').version
- if (bindingPackageVersion !== '0.5.10' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
- throw new Error(`Native binding package version mismatch, expected 0.5.10 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
+ if (bindingPackageVersion !== '0.5.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
+ throw new Error(`Native binding package version mismatch, expected 0.5.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -148,8 +148,8 @@ function requireNative() {
try {
const binding = require('@trymirai/uzu-win32-arm64-msvc')
const bindingPackageVersion = require('@trymirai/uzu-win32-arm64-msvc/package.json').version
- if (bindingPackageVersion !== '0.5.10' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
- throw new Error(`Native binding package version mismatch, expected 0.5.10 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
+ if (bindingPackageVersion !== '0.5.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
+ throw new Error(`Native binding package version mismatch, expected 0.5.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -167,8 +167,8 @@ function requireNative() {
try {
const binding = require('@trymirai/uzu-darwin-universal')
const bindingPackageVersion = require('@trymirai/uzu-darwin-universal/package.json').version
- if (bindingPackageVersion !== '0.5.10' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
- throw new Error(`Native binding package version mismatch, expected 0.5.10 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
+ if (bindingPackageVersion !== '0.5.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
+ throw new Error(`Native binding package version mismatch, expected 0.5.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -183,8 +183,8 @@ function requireNative() {
try {
const binding = require('@trymirai/uzu-darwin-x64')
const bindingPackageVersion = require('@trymirai/uzu-darwin-x64/package.json').version
- if (bindingPackageVersion !== '0.5.10' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
- throw new Error(`Native binding package version mismatch, expected 0.5.10 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
+ if (bindingPackageVersion !== '0.5.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
+ throw new Error(`Native binding package version mismatch, expected 0.5.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -199,8 +199,8 @@ function requireNative() {
try {
const binding = require('@trymirai/uzu-darwin-arm64')
const bindingPackageVersion = require('@trymirai/uzu-darwin-arm64/package.json').version
- if (bindingPackageVersion !== '0.5.10' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
- throw new Error(`Native binding package version mismatch, expected 0.5.10 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
+ if (bindingPackageVersion !== '0.5.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
+ throw new Error(`Native binding package version mismatch, expected 0.5.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -219,8 +219,8 @@ function requireNative() {
try {
const binding = require('@trymirai/uzu-freebsd-x64')
const bindingPackageVersion = require('@trymirai/uzu-freebsd-x64/package.json').version
- if (bindingPackageVersion !== '0.5.10' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
- throw new Error(`Native binding package version mismatch, expected 0.5.10 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
+ if (bindingPackageVersion !== '0.5.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
+ throw new Error(`Native binding package version mismatch, expected 0.5.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -235,8 +235,8 @@ function requireNative() {
try {
const binding = require('@trymirai/uzu-freebsd-arm64')
const bindingPackageVersion = require('@trymirai/uzu-freebsd-arm64/package.json').version
- if (bindingPackageVersion !== '0.5.10' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
- throw new Error(`Native binding package version mismatch, expected 0.5.10 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
+ if (bindingPackageVersion !== '0.5.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
+ throw new Error(`Native binding package version mismatch, expected 0.5.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -256,8 +256,8 @@ function requireNative() {
try {
const binding = require('@trymirai/uzu-linux-x64-musl')
const bindingPackageVersion = require('@trymirai/uzu-linux-x64-musl/package.json').version
- if (bindingPackageVersion !== '0.5.10' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
- throw new Error(`Native binding package version mismatch, expected 0.5.10 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
+ if (bindingPackageVersion !== '0.5.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
+ throw new Error(`Native binding package version mismatch, expected 0.5.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -272,8 +272,8 @@ function requireNative() {
try {
const binding = require('@trymirai/uzu-linux-x64-gnu')
const bindingPackageVersion = require('@trymirai/uzu-linux-x64-gnu/package.json').version
- if (bindingPackageVersion !== '0.5.10' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
- throw new Error(`Native binding package version mismatch, expected 0.5.10 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
+ if (bindingPackageVersion !== '0.5.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
+ throw new Error(`Native binding package version mismatch, expected 0.5.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -290,8 +290,8 @@ function requireNative() {
try {
const binding = require('@trymirai/uzu-linux-arm64-musl')
const bindingPackageVersion = require('@trymirai/uzu-linux-arm64-musl/package.json').version
- if (bindingPackageVersion !== '0.5.10' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
- throw new Error(`Native binding package version mismatch, expected 0.5.10 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
+ if (bindingPackageVersion !== '0.5.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
+ throw new Error(`Native binding package version mismatch, expected 0.5.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -306,8 +306,8 @@ function requireNative() {
try {
const binding = require('@trymirai/uzu-linux-arm64-gnu')
const bindingPackageVersion = require('@trymirai/uzu-linux-arm64-gnu/package.json').version
- if (bindingPackageVersion !== '0.5.10' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
- throw new Error(`Native binding package version mismatch, expected 0.5.10 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
+ if (bindingPackageVersion !== '0.5.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
+ throw new Error(`Native binding package version mismatch, expected 0.5.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -324,8 +324,8 @@ function requireNative() {
try {
const binding = require('@trymirai/uzu-linux-arm-musleabihf')
const bindingPackageVersion = require('@trymirai/uzu-linux-arm-musleabihf/package.json').version
- if (bindingPackageVersion !== '0.5.10' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
- throw new Error(`Native binding package version mismatch, expected 0.5.10 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
+ if (bindingPackageVersion !== '0.5.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
+ throw new Error(`Native binding package version mismatch, expected 0.5.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -340,8 +340,8 @@ function requireNative() {
try {
const binding = require('@trymirai/uzu-linux-arm-gnueabihf')
const bindingPackageVersion = require('@trymirai/uzu-linux-arm-gnueabihf/package.json').version
- if (bindingPackageVersion !== '0.5.10' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
- throw new Error(`Native binding package version mismatch, expected 0.5.10 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
+ if (bindingPackageVersion !== '0.5.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
+ throw new Error(`Native binding package version mismatch, expected 0.5.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -358,8 +358,8 @@ function requireNative() {
try {
const binding = require('@trymirai/uzu-linux-riscv64-musl')
const bindingPackageVersion = require('@trymirai/uzu-linux-riscv64-musl/package.json').version
- if (bindingPackageVersion !== '0.5.10' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
- throw new Error(`Native binding package version mismatch, expected 0.5.10 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
+ if (bindingPackageVersion !== '0.5.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
+ throw new Error(`Native binding package version mismatch, expected 0.5.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -374,8 +374,8 @@ function requireNative() {
try {
const binding = require('@trymirai/uzu-linux-riscv64-gnu')
const bindingPackageVersion = require('@trymirai/uzu-linux-riscv64-gnu/package.json').version
- if (bindingPackageVersion !== '0.5.10' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
- throw new Error(`Native binding package version mismatch, expected 0.5.10 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
+ if (bindingPackageVersion !== '0.5.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
+ throw new Error(`Native binding package version mismatch, expected 0.5.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -391,8 +391,8 @@ function requireNative() {
try {
const binding = require('@trymirai/uzu-linux-ppc64-gnu')
const bindingPackageVersion = require('@trymirai/uzu-linux-ppc64-gnu/package.json').version
- if (bindingPackageVersion !== '0.5.10' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
- throw new Error(`Native binding package version mismatch, expected 0.5.10 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
+ if (bindingPackageVersion !== '0.5.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
+ throw new Error(`Native binding package version mismatch, expected 0.5.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -407,8 +407,8 @@ function requireNative() {
try {
const binding = require('@trymirai/uzu-linux-s390x-gnu')
const bindingPackageVersion = require('@trymirai/uzu-linux-s390x-gnu/package.json').version
- if (bindingPackageVersion !== '0.5.10' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
- throw new Error(`Native binding package version mismatch, expected 0.5.10 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
+ if (bindingPackageVersion !== '0.5.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
+ throw new Error(`Native binding package version mismatch, expected 0.5.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -427,8 +427,8 @@ function requireNative() {
try {
const binding = require('@trymirai/uzu-openharmony-arm64')
const bindingPackageVersion = require('@trymirai/uzu-openharmony-arm64/package.json').version
- if (bindingPackageVersion !== '0.5.10' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
- throw new Error(`Native binding package version mismatch, expected 0.5.10 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
+ if (bindingPackageVersion !== '0.5.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
+ throw new Error(`Native binding package version mismatch, expected 0.5.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -443,8 +443,8 @@ function requireNative() {
try {
const binding = require('@trymirai/uzu-openharmony-x64')
const bindingPackageVersion = require('@trymirai/uzu-openharmony-x64/package.json').version
- if (bindingPackageVersion !== '0.5.10' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
- throw new Error(`Native binding package version mismatch, expected 0.5.10 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
+ if (bindingPackageVersion !== '0.5.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
+ throw new Error(`Native binding package version mismatch, expected 0.5.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -459,8 +459,8 @@ function requireNative() {
try {
const binding = require('@trymirai/uzu-openharmony-arm')
const bindingPackageVersion = require('@trymirai/uzu-openharmony-arm/package.json').version
- if (bindingPackageVersion !== '0.5.10' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
- throw new Error(`Native binding package version mismatch, expected 0.5.10 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
+ if (bindingPackageVersion !== '0.5.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
+ throw new Error(`Native binding package version mismatch, expected 0.5.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
diff --git a/bindings/typescript/src/version.ts b/bindings/typescript/src/version.ts
index e39197891..910f44b38 100644
--- a/bindings/typescript/src/version.ts
+++ b/bindings/typescript/src/version.ts
@@ -1 +1 @@
-export const VERSION = '0.5.10';
+export const VERSION = '0.5.12';