A high-performance inference engine for AI models
Move bindings => crates/legacy/uzu/bindings (#787)
uuuvn5da68a63773b
diff --git a/.config/platforms.toml b/.config/platforms.tomlindex 17fcf99c4..1f813c15f 100644--- a/.config/platforms.toml+++ b/.config/platforms.toml@@ -105,7 +105,7 @@ metadata = { image_url = "https://artifacts.trymirai.com/social/github/uzu-headetargets = ["aarch64-apple-darwin", "x86_64-apple-darwin"]tools = ["ziglang", "zigbuild", "xwin", "maturin"]bindings = ["pyo3"]-examples_path = "bindings/python/examples"+examples_path = "crates/legacy/uzu/bindings/python/examples"metadata = { image_url = "https://artifacts.trymirai.com/social/github/uzu-python.jpg", badges = ["discord","email",@@ -121,7 +121,7 @@ metadata = { image_url = "https://artifacts.trymirai.com/social/github/uzu-pythotargets = ["aarch64-apple-darwin", "aarch64-apple-ios", "aarch64-apple-ios-sim"]tools = ["swift"]bindings = ["uniffi"]-examples_path = "bindings/swift/Sources/Examples"+examples_path = "crates/legacy/uzu/bindings/swift/Sources/Examples"metadata = { image_url = "https://artifacts.trymirai.com/social/github/uzu-swift-header.jpg", badges = ["discord","email",@@ -138,7 +138,7 @@ metadata = { image_url = "https://artifacts.trymirai.com/social/github/uzu-swifttargets = ["aarch64-apple-darwin", "x86_64-apple-darwin"]tools = ["ziglang", "zigbuild", "xwin"]bindings = ["napi"]-examples_path = "bindings/typescript/examples"+examples_path = "crates/legacy/uzu/bindings/typescript/examples"metadata = { image_url = "https://artifacts.trymirai.com/social/github/uzu-typescript.jpg", badges = ["discord","email",@@ -160,13 +160,13 @@ email = '<a href="mailto:[email protected]?subject=Interested%20in%20Mirai"><idocs = '<a href="https://docs.trymirai.com"><img src="https://img.shields.io/badge/Read-Docs-brightgreen" alt="Read docs"></a>'license = '[](LICENSE)'build = '[](https://github.com/trymirai/uzu/actions)'-python = '[](bindings/python)'+python = '[](crates/legacy/uzu/bindings/python)'python_package = '[](https://pypi.org/project/uzu/)'python_version = '[](https://pypi.org/project/uzu/)'-typescript = '[](bindings/typescript)'+typescript = '[](crates/legacy/uzu/bindings/typescript)'typescript_package = '[](https://www.npmjs.com/package/@trymirai/uzu)'typescript_downloads = '[](https://www.npmjs.com/package/@trymirai/uzu)'-swift = '[](bindings/swift)'+swift = '[](crates/legacy/uzu/bindings/swift)'swift_platforms = '[](Package.swift)'swift_spm = '[](Package.swift)'swift_version = '[](https://swift.org)'diff --git a/Package.swift b/Package.swiftindex 970795124..92b392578 100644--- a/Package.swift+++ b/Package.swift@@ -23,7 +23,7 @@ let package = Package(.target(name: "Uzu",dependencies: ["uzu", "UzuMetalIOSimulatorStubs"],- path: "bindings/swift/Sources/Uzu",+ path: "crates/legacy/uzu/bindings/swift/Sources/Uzu",linkerSettings: [.linkedLibrary("c++"),.linkedFramework("SystemConfiguration"),@@ -44,12 +44,12 @@ let package = Package("Uzu",.product(name: "ArgumentParser", package: "swift-argument-parser"),],- path: "bindings/swift/Sources/Examples"+ path: "crates/legacy/uzu/bindings/swift/Sources/Examples"),.testTarget(name: "UzuTests",dependencies: ["Uzu"],- path: "bindings/swift/Tests/UzuTests",+ path: "crates/legacy/uzu/bindings/swift/Tests/UzuTests",),])diff --git a/README.md b/README.mdindex 391ee32f4..0d634dcb7 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://github.com/trymirai/uzu/actions) [](bindings/python) [](https://pypi.org/project/uzu/) [](https://pypi.org/project/uzu/) [](bindings/typescript) [](https://www.npmjs.com/package/@trymirai/uzu) [](https://www.npmjs.com/package/@trymirai/uzu) [](bindings/swift) [](Package.swift) [](Package.swift) [](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://github.com/trymirai/uzu/actions) [](crates/legacy/uzu/bindings/python) [](https://pypi.org/project/uzu/) [](https://pypi.org/project/uzu/) [](crates/legacy/uzu/bindings/typescript) [](https://www.npmjs.com/package/@trymirai/uzu) [](https://www.npmjs.com/package/@trymirai/uzu) [](crates/legacy/uzu/bindings/swift) [](Package.swift) [](Package.swift) [](https://swift.org)# uzudiff --git a/apps/playground/Project.swift b/apps/playground/Project.swiftindex c7dd134e4..1814d8d7d 100644--- a/apps/playground/Project.swift+++ b/apps/playground/Project.swift@@ -3,7 +3,7 @@ import ProjectDescriptionlet projectName = "Mirai"let packages: [Package] = [- .package(path: "../../bindings/swift"),+ .package(path: "../../crates/legacy/uzu/bindings/swift"),.package(url: "https://github.com/Rspoon3/SFSymbols", .exact("2.6.1")),.package(url: "https://github.com/firebase/firebase-ios-sdk", .exact("11.15.0")),]diff --git a/bindings/python/.vscode/settings.json b/bindings/python/.vscode/settings.jsondeleted file mode 100644index 132b6d2cf..000000000--- a/bindings/python/.vscode/settings.json+++ /dev/null@@ -1,4 +0,0 @@-{- "python.defaultInterpreterPath": "${workspaceFolder}/bindings/python/.venv/bin/python",- "ruff.path": ["${workspaceFolder}/bindings/python/.venv/bin/ruff"]-}diff --git a/crates/legacy/cli-tools/src/configs/paths.rs b/crates/legacy/cli-tools/src/configs/paths.rsindex 1227f9b08..83cd740d3 100644--- a/crates/legacy/cli-tools/src/configs/paths.rs+++ b/crates/legacy/cli-tools/src/configs/paths.rs@@ -62,7 +62,7 @@ impl Paths {}pub fn bindings_path(&self) -> PathBuf {- self.root_path.join("bindings")+ self.crate_path(&self.main_crate).join("bindings")}pub fn bindings_for_language_path(diff --git a/crates/legacy/cli-tools/src/languages/swift.rs b/crates/legacy/cli-tools/src/languages/swift.rsindex b9e43b126..ed0fe8e2d 100644--- a/crates/legacy/cli-tools/src/languages/swift.rs+++ b/crates/legacy/cli-tools/src/languages/swift.rs@@ -155,9 +155,9 @@ impl LanguageBackend for SwiftLanguageBackend {// Inject `path:` after `dependencies:` so the resulting argument order// matches PackageDescription's Target initializer (name, dependencies, path, ...).let target_paths = [- (r"\.target\(", "Uzu", "bindings/swift/Sources/Uzu"),- (r"\.executableTarget\(", "Examples", "bindings/swift/Sources/Examples"),- (r"\.testTarget\(", "UzuTests", "bindings/swift/Tests/UzuTests"),+ (r"\.target\(", "Uzu", "crates/legacy/uzu/bindings/swift/Sources/Uzu"),+ (r"\.executableTarget\(", "Examples", "crates/legacy/uzu/bindings/swift/Sources/Examples"),+ (r"\.testTarget\(", "UzuTests", "crates/legacy/uzu/bindings/swift/Tests/UzuTests"),];let mut body = body;for (target_kind, name, source_path) in target_paths {diff --git a/crates/legacy/cli-tools/src/sync/mod.rs b/crates/legacy/cli-tools/src/sync/mod.rsindex 60dbb8306..294f973a1 100644--- a/crates/legacy/cli-tools/src/sync/mod.rs+++ b/crates/legacy/cli-tools/src/sync/mod.rs@@ -66,32 +66,35 @@ pub fn run_sync(check: bool) -> Result<()> {check,)?;- PyprojectSyncTask.run(&platforms, &workspace, &root_path.join("bindings/python/pyproject.toml"), check)?;- LicenseSyncTask.run(&platforms, &workspace, &root_path.join("bindings/python/LICENSE"), check)?;+ let python_bindings_path = paths.bindings_for_language_path(Language::Python);+ PyprojectSyncTask.run(&platforms, &workspace, &python_bindings_path.join("pyproject.toml"), check)?;+ LicenseSyncTask.run(&platforms, &workspace, &python_bindings_path.join("LICENSE"), check)?;ReadmeSyncTask::new(vec![Language::Python]).run(&platforms,&workspace,- &root_path.join("bindings/python/README.md"),+ &python_bindings_path.join("README.md"),check,)?;- SwiftPackageSyncTask.run(&platforms, &workspace, &root_path.join("bindings/swift/Package.swift"), check)?;- LicenseSyncTask.run(&platforms, &workspace, &root_path.join("bindings/swift/LICENSE"), check)?;+ let swift_bindings_path = paths.bindings_for_language_path(Language::Swift);+ SwiftPackageSyncTask.run(&platforms, &workspace, &swift_bindings_path.join("Package.swift"), check)?;+ LicenseSyncTask.run(&platforms, &workspace, &swift_bindings_path.join("LICENSE"), check)?;ReadmeSyncTask::new(vec![Language::Swift]).run(&platforms,&workspace,- &root_path.join("bindings/swift/README.md"),+ &swift_bindings_path.join("README.md"),check,)?;- PackageJsonSyncTask.run(&platforms, &workspace, &root_path.join("bindings/typescript/package.json"), check)?;- JsrSyncTask.run(&platforms, &workspace, &root_path.join("bindings/typescript/jsr.json"), check)?;- JsrSyncTask.run(&platforms, &workspace, &root_path.join("bindings/typescript/jsr.json.orig"), check)?;- LicenseSyncTask.run(&platforms, &workspace, &root_path.join("bindings/typescript/LICENSE"), check)?;+ let typescript_bindings_path = paths.bindings_for_language_path(Language::TypeScript);+ PackageJsonSyncTask.run(&platforms, &workspace, &typescript_bindings_path.join("package.json"), check)?;+ JsrSyncTask.run(&platforms, &workspace, &typescript_bindings_path.join("jsr.json"), check)?;+ JsrSyncTask.run(&platforms, &workspace, &typescript_bindings_path.join("jsr.json.orig"), check)?;+ LicenseSyncTask.run(&platforms, &workspace, &typescript_bindings_path.join("LICENSE"), check)?;ReadmeSyncTask::new(vec![Language::TypeScript]).run(&platforms,&workspace,- &root_path.join("bindings/typescript/README.md"),+ &typescript_bindings_path.join("README.md"),check,)?;diff --git a/bindings/python/.gitignore b/crates/legacy/uzu/bindings/python/.gitignoresimilarity index 100%rename from bindings/python/.gitignorerename to crates/legacy/uzu/bindings/python/.gitignorediff --git a/crates/legacy/uzu/bindings/python/.vscode/settings.json b/crates/legacy/uzu/bindings/python/.vscode/settings.jsonnew file mode 100644index 000000000..afaa45138--- /dev/null+++ b/crates/legacy/uzu/bindings/python/.vscode/settings.json@@ -0,0 +1,4 @@+{+ "python.defaultInterpreterPath": "${workspaceFolder}/crates/legacy/uzu/bindings/python/.venv/bin/python",+ "ruff.path": ["${workspaceFolder}/crates/legacy/uzu/bindings/python/.venv/bin/ruff"]+}diff --git a/bindings/python/LICENSE b/crates/legacy/uzu/bindings/python/LICENSEsimilarity index 100%rename from bindings/python/LICENSErename to crates/legacy/uzu/bindings/python/LICENSEdiff --git a/bindings/python/README.md b/crates/legacy/uzu/bindings/python/README.mdsimilarity index 97%rename from bindings/python/README.mdrename to crates/legacy/uzu/bindings/python/README.mdindex aa9e6889f..26df9a372 100644--- a/bindings/python/README.md+++ b/crates/legacy/uzu/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://github.com/trymirai/uzu/actions) [](bindings/python) [](https://pypi.org/project/uzu/) [](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://github.com/trymirai/uzu/actions) [](crates/legacy/uzu/bindings/python) [](https://pypi.org/project/uzu/) [](https://pypi.org/project/uzu/)# uzudiff --git a/bindings/python/examples/__init__.py b/crates/legacy/uzu/bindings/python/examples/__init__.pysimilarity index 100%rename from bindings/python/examples/__init__.pyrename to crates/legacy/uzu/bindings/python/examples/__init__.pydiff --git a/bindings/python/examples/chat.py b/crates/legacy/uzu/bindings/python/examples/chat.pysimilarity index 100%rename from bindings/python/examples/chat.pyrename to crates/legacy/uzu/bindings/python/examples/chat.pydiff --git a/bindings/python/examples/chat_cloud.py b/crates/legacy/uzu/bindings/python/examples/chat_cloud.pysimilarity index 100%rename from bindings/python/examples/chat_cloud.pyrename to crates/legacy/uzu/bindings/python/examples/chat_cloud.pydiff --git a/bindings/python/examples/chat_shared_instance.py b/crates/legacy/uzu/bindings/python/examples/chat_shared_instance.pysimilarity index 100%rename from bindings/python/examples/chat_shared_instance.pyrename to crates/legacy/uzu/bindings/python/examples/chat_shared_instance.pydiff --git a/bindings/python/examples/chat_structured_output.py b/crates/legacy/uzu/bindings/python/examples/chat_structured_output.pysimilarity index 100%rename from bindings/python/examples/chat_structured_output.pyrename to crates/legacy/uzu/bindings/python/examples/chat_structured_output.pydiff --git a/bindings/python/examples/quick_start.py b/crates/legacy/uzu/bindings/python/examples/quick_start.pysimilarity index 100%rename from bindings/python/examples/quick_start.pyrename to crates/legacy/uzu/bindings/python/examples/quick_start.pydiff --git a/bindings/python/examples/tool_calls.py b/crates/legacy/uzu/bindings/python/examples/tool_calls.pysimilarity index 100%rename from bindings/python/examples/tool_calls.pyrename to crates/legacy/uzu/bindings/python/examples/tool_calls.pydiff --git a/bindings/python/pyproject.toml b/crates/legacy/uzu/bindings/python/pyproject.tomlsimilarity index 97%rename from bindings/python/pyproject.tomlrename to crates/legacy/uzu/bindings/python/pyproject.tomlindex be3738184..797d089b6 100644--- a/bindings/python/pyproject.toml+++ b/crates/legacy/uzu/bindings/python/pyproject.toml@@ -45,7 +45,7 @@ features = ["bindings-pyo3"]module-name = "uzu"bindings = "pyo3"strip = true-manifest-path = "../../crates/legacy/uzu/Cargo.toml"+manifest-path = "../../Cargo.toml"python-source = "."[tool.pytest.ini_options]diff --git a/bindings/python/tests/__init__.py b/crates/legacy/uzu/bindings/python/tests/__init__.pysimilarity index 100%rename from bindings/python/tests/__init__.pyrename to crates/legacy/uzu/bindings/python/tests/__init__.pydiff --git a/bindings/python/tests/test_engine.py b/crates/legacy/uzu/bindings/python/tests/test_engine.pysimilarity index 100%rename from bindings/python/tests/test_engine.pyrename to crates/legacy/uzu/bindings/python/tests/test_engine.pydiff --git a/bindings/python/tests/test_tools.py b/crates/legacy/uzu/bindings/python/tests/test_tools.pysimilarity index 100%rename from bindings/python/tests/test_tools.pyrename to crates/legacy/uzu/bindings/python/tests/test_tools.pydiff --git a/bindings/python/uv.lock b/crates/legacy/uzu/bindings/python/uv.locksimilarity index 100%rename from bindings/python/uv.lockrename to crates/legacy/uzu/bindings/python/uv.lockdiff --git a/bindings/python/uzu/__init__.py b/crates/legacy/uzu/bindings/python/uzu/__init__.pysimilarity index 100%rename from bindings/python/uzu/__init__.pyrename to crates/legacy/uzu/bindings/python/uzu/__init__.pydiff --git a/bindings/python/uzu/__init__.pyi b/crates/legacy/uzu/bindings/python/uzu/__init__.pyisimilarity index 100%rename from bindings/python/uzu/__init__.pyirename to crates/legacy/uzu/bindings/python/uzu/__init__.pyidiff --git a/bindings/python/uzu/_tool.py b/crates/legacy/uzu/bindings/python/uzu/_tool.pysimilarity index 100%rename from bindings/python/uzu/_tool.pyrename to crates/legacy/uzu/bindings/python/uzu/_tool.pydiff --git a/bindings/python/uzu/py.typed b/crates/legacy/uzu/bindings/python/uzu/py.typedsimilarity index 100%rename from bindings/python/uzu/py.typedrename to crates/legacy/uzu/bindings/python/uzu/py.typeddiff --git a/bindings/swift/.gitignore b/crates/legacy/uzu/bindings/swift/.gitignoresimilarity index 100%rename from bindings/swift/.gitignorerename to crates/legacy/uzu/bindings/swift/.gitignorediff --git a/bindings/swift/.swift-format b/crates/legacy/uzu/bindings/swift/.swift-formatsimilarity index 100%rename from bindings/swift/.swift-formatrename to crates/legacy/uzu/bindings/swift/.swift-formatdiff --git a/bindings/swift/LICENSE b/crates/legacy/uzu/bindings/swift/LICENSEsimilarity index 100%rename from bindings/swift/LICENSErename to crates/legacy/uzu/bindings/swift/LICENSEdiff --git a/bindings/swift/Package.resolved b/crates/legacy/uzu/bindings/swift/Package.resolvedsimilarity index 100%rename from bindings/swift/Package.resolvedrename to crates/legacy/uzu/bindings/swift/Package.resolveddiff --git a/bindings/swift/Package.swift b/crates/legacy/uzu/bindings/swift/Package.swiftsimilarity index 100%rename from bindings/swift/Package.swiftrename to crates/legacy/uzu/bindings/swift/Package.swiftdiff --git a/bindings/swift/README.md b/crates/legacy/uzu/bindings/swift/README.mdsimilarity index 97%rename from bindings/swift/README.mdrename to crates/legacy/uzu/bindings/swift/README.mdindex 4663eec17..035565ae8 100644--- a/bindings/swift/README.md+++ b/crates/legacy/uzu/bindings/swift/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://github.com/trymirai/uzu/actions) [](bindings/swift) [](Package.swift) [](Package.swift) [](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://github.com/trymirai/uzu/actions) [](crates/legacy/uzu/bindings/swift) [](Package.swift) [](Package.swift) [](https://swift.org)# uzudiff --git a/bindings/swift/Sources/Examples/CLI.swift b/crates/legacy/uzu/bindings/swift/Sources/Examples/CLI.swiftsimilarity index 100%rename from bindings/swift/Sources/Examples/CLI.swiftrename to crates/legacy/uzu/bindings/swift/Sources/Examples/CLI.swiftdiff --git a/bindings/swift/Sources/Examples/Chat.swift b/crates/legacy/uzu/bindings/swift/Sources/Examples/Chat.swiftsimilarity index 100%rename from bindings/swift/Sources/Examples/Chat.swiftrename to crates/legacy/uzu/bindings/swift/Sources/Examples/Chat.swiftdiff --git a/bindings/swift/Sources/Examples/ChatCloud.swift b/crates/legacy/uzu/bindings/swift/Sources/Examples/ChatCloud.swiftsimilarity index 100%rename from bindings/swift/Sources/Examples/ChatCloud.swiftrename to crates/legacy/uzu/bindings/swift/Sources/Examples/ChatCloud.swiftdiff --git a/bindings/swift/Sources/Examples/ChatSharedInstance.swift b/crates/legacy/uzu/bindings/swift/Sources/Examples/ChatSharedInstance.swiftsimilarity index 100%rename from bindings/swift/Sources/Examples/ChatSharedInstance.swiftrename to crates/legacy/uzu/bindings/swift/Sources/Examples/ChatSharedInstance.swiftdiff --git a/bindings/swift/Sources/Examples/ChatStructuredOutput.swift b/crates/legacy/uzu/bindings/swift/Sources/Examples/ChatStructuredOutput.swiftsimilarity index 100%rename from bindings/swift/Sources/Examples/ChatStructuredOutput.swiftrename to crates/legacy/uzu/bindings/swift/Sources/Examples/ChatStructuredOutput.swiftdiff --git a/bindings/swift/Sources/Examples/QuickStart.swift b/crates/legacy/uzu/bindings/swift/Sources/Examples/QuickStart.swiftsimilarity index 100%rename from bindings/swift/Sources/Examples/QuickStart.swiftrename to crates/legacy/uzu/bindings/swift/Sources/Examples/QuickStart.swiftdiff --git a/bindings/swift/Sources/Examples/ToolCalls.swift b/crates/legacy/uzu/bindings/swift/Sources/Examples/ToolCalls.swiftsimilarity index 100%rename from bindings/swift/Sources/Examples/ToolCalls.swiftrename to crates/legacy/uzu/bindings/swift/Sources/Examples/ToolCalls.swiftdiff --git a/bindings/swift/Sources/Uzu/EngineObservableWrapper.swift b/crates/legacy/uzu/bindings/swift/Sources/Uzu/EngineObservableWrapper.swiftsimilarity index 100%rename from bindings/swift/Sources/Uzu/EngineObservableWrapper.swiftrename to crates/legacy/uzu/bindings/swift/Sources/Uzu/EngineObservableWrapper.swiftdiff --git a/bindings/swift/Sources/Uzu/Extensions/ChatMessage.swift b/crates/legacy/uzu/bindings/swift/Sources/Uzu/Extensions/ChatMessage.swiftsimilarity index 100%rename from bindings/swift/Sources/Uzu/Extensions/ChatMessage.swiftrename to crates/legacy/uzu/bindings/swift/Sources/Uzu/Extensions/ChatMessage.swiftdiff --git a/bindings/swift/Sources/Uzu/Extensions/Grammar.swift b/crates/legacy/uzu/bindings/swift/Sources/Uzu/Extensions/Grammar.swiftsimilarity index 100%rename from bindings/swift/Sources/Uzu/Extensions/Grammar.swiftrename to crates/legacy/uzu/bindings/swift/Sources/Uzu/Extensions/Grammar.swiftdiff --git a/bindings/swift/Sources/Uzu/Generated/Extensions.swift b/crates/legacy/uzu/bindings/swift/Sources/Uzu/Generated/Extensions.swiftsimilarity index 100%rename from bindings/swift/Sources/Uzu/Generated/Extensions.swiftrename to crates/legacy/uzu/bindings/swift/Sources/Uzu/Generated/Extensions.swiftdiff --git a/bindings/swift/Sources/Uzu/Generated/uzu/nagare.swift b/crates/legacy/uzu/bindings/swift/Sources/Uzu/Generated/uzu/nagare.swiftsimilarity index 100%rename from bindings/swift/Sources/Uzu/Generated/uzu/nagare.swiftrename to crates/legacy/uzu/bindings/swift/Sources/Uzu/Generated/uzu/nagare.swiftdiff --git a/bindings/swift/Sources/Uzu/Generated/uzu/shoji.swift b/crates/legacy/uzu/bindings/swift/Sources/Uzu/Generated/uzu/shoji.swiftsimilarity index 100%rename from bindings/swift/Sources/Uzu/Generated/uzu/shoji.swiftrename to crates/legacy/uzu/bindings/swift/Sources/Uzu/Generated/uzu/shoji.swiftdiff --git a/bindings/swift/Sources/Uzu/Generated/uzu/uzu.swift b/crates/legacy/uzu/bindings/swift/Sources/Uzu/Generated/uzu/uzu.swiftsimilarity index 100%rename from bindings/swift/Sources/Uzu/Generated/uzu/uzu.swiftrename to crates/legacy/uzu/bindings/swift/Sources/Uzu/Generated/uzu/uzu.swiftdiff --git a/bindings/swift/Sources/Uzu/Tool.swift b/crates/legacy/uzu/bindings/swift/Sources/Uzu/Tool.swiftsimilarity index 100%rename from bindings/swift/Sources/Uzu/Tool.swiftrename to crates/legacy/uzu/bindings/swift/Sources/Uzu/Tool.swiftdiff --git a/bindings/swift/Sources/UzuMetalIOSimulatorStubs/MetalIOSimulatorStubs.c b/crates/legacy/uzu/bindings/swift/Sources/UzuMetalIOSimulatorStubs/MetalIOSimulatorStubs.csimilarity index 100%rename from bindings/swift/Sources/UzuMetalIOSimulatorStubs/MetalIOSimulatorStubs.crename to crates/legacy/uzu/bindings/swift/Sources/UzuMetalIOSimulatorStubs/MetalIOSimulatorStubs.cdiff --git a/bindings/swift/Sources/UzuMetalIOSimulatorStubs/include/UzuMetalIOSimulatorStubs.h b/crates/legacy/uzu/bindings/swift/Sources/UzuMetalIOSimulatorStubs/include/UzuMetalIOSimulatorStubs.hsimilarity index 100%rename from bindings/swift/Sources/UzuMetalIOSimulatorStubs/include/UzuMetalIOSimulatorStubs.hrename to crates/legacy/uzu/bindings/swift/Sources/UzuMetalIOSimulatorStubs/include/UzuMetalIOSimulatorStubs.hdiff --git a/bindings/swift/Tests/UzuTests/EngineTests.swift b/crates/legacy/uzu/bindings/swift/Tests/UzuTests/EngineTests.swiftsimilarity index 100%rename from bindings/swift/Tests/UzuTests/EngineTests.swiftrename to crates/legacy/uzu/bindings/swift/Tests/UzuTests/EngineTests.swiftdiff --git a/bindings/swift/Tests/UzuTests/ToolTests.swift b/crates/legacy/uzu/bindings/swift/Tests/UzuTests/ToolTests.swiftsimilarity index 100%rename from bindings/swift/Tests/UzuTests/ToolTests.swiftrename to crates/legacy/uzu/bindings/swift/Tests/UzuTests/ToolTests.swiftdiff --git a/bindings/typescript/.gitattributes b/crates/legacy/uzu/bindings/typescript/.gitattributessimilarity index 100%rename from bindings/typescript/.gitattributesrename to crates/legacy/uzu/bindings/typescript/.gitattributesdiff --git a/bindings/typescript/.gitignore b/crates/legacy/uzu/bindings/typescript/.gitignoresimilarity index 100%rename from bindings/typescript/.gitignorerename to crates/legacy/uzu/bindings/typescript/.gitignorediff --git a/bindings/typescript/.prettierignore b/crates/legacy/uzu/bindings/typescript/.prettierignoresimilarity index 100%rename from bindings/typescript/.prettierignorerename to crates/legacy/uzu/bindings/typescript/.prettierignorediff --git a/bindings/typescript/.prettierrc.json b/crates/legacy/uzu/bindings/typescript/.prettierrc.jsonsimilarity index 100%rename from bindings/typescript/.prettierrc.jsonrename to crates/legacy/uzu/bindings/typescript/.prettierrc.jsondiff --git a/bindings/typescript/LICENSE b/crates/legacy/uzu/bindings/typescript/LICENSEsimilarity index 100%rename from bindings/typescript/LICENSErename to crates/legacy/uzu/bindings/typescript/LICENSEdiff --git a/bindings/typescript/README.md b/crates/legacy/uzu/bindings/typescript/README.mdsimilarity index 97%rename from bindings/typescript/README.mdrename to crates/legacy/uzu/bindings/typescript/README.mdindex 2d06805fc..0ec5b9334 100644--- a/bindings/typescript/README.md+++ b/crates/legacy/uzu/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://github.com/trymirai/uzu/actions) [](bindings/typescript) [](https://www.npmjs.com/package/@trymirai/uzu) [](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://github.com/trymirai/uzu/actions) [](crates/legacy/uzu/bindings/typescript) [](https://www.npmjs.com/package/@trymirai/uzu) [](https://www.npmjs.com/package/@trymirai/uzu)# uzudiff --git a/bindings/typescript/eslint.config.mjs b/crates/legacy/uzu/bindings/typescript/eslint.config.mjssimilarity index 100%rename from bindings/typescript/eslint.config.mjsrename to crates/legacy/uzu/bindings/typescript/eslint.config.mjsdiff --git a/bindings/typescript/examples/chat.ts b/crates/legacy/uzu/bindings/typescript/examples/chat.tssimilarity index 100%rename from bindings/typescript/examples/chat.tsrename to crates/legacy/uzu/bindings/typescript/examples/chat.tsdiff --git a/bindings/typescript/examples/chatCloud.ts b/crates/legacy/uzu/bindings/typescript/examples/chatCloud.tssimilarity index 100%rename from bindings/typescript/examples/chatCloud.tsrename to crates/legacy/uzu/bindings/typescript/examples/chatCloud.tsdiff --git a/bindings/typescript/examples/chatSharedInstance.ts b/crates/legacy/uzu/bindings/typescript/examples/chatSharedInstance.tssimilarity index 100%rename from bindings/typescript/examples/chatSharedInstance.tsrename to crates/legacy/uzu/bindings/typescript/examples/chatSharedInstance.tsdiff --git a/bindings/typescript/examples/chatStructuredOutput.ts b/crates/legacy/uzu/bindings/typescript/examples/chatStructuredOutput.tssimilarity index 100%rename from bindings/typescript/examples/chatStructuredOutput.tsrename to crates/legacy/uzu/bindings/typescript/examples/chatStructuredOutput.tsdiff --git a/bindings/typescript/examples/quickStart.ts b/crates/legacy/uzu/bindings/typescript/examples/quickStart.tssimilarity index 100%rename from bindings/typescript/examples/quickStart.tsrename to crates/legacy/uzu/bindings/typescript/examples/quickStart.tsdiff --git a/bindings/typescript/examples/toolCalls.ts b/crates/legacy/uzu/bindings/typescript/examples/toolCalls.tssimilarity index 100%rename from bindings/typescript/examples/toolCalls.tsrename to crates/legacy/uzu/bindings/typescript/examples/toolCalls.tsdiff --git a/bindings/typescript/jest.config.ts b/crates/legacy/uzu/bindings/typescript/jest.config.tssimilarity index 100%rename from bindings/typescript/jest.config.tsrename to crates/legacy/uzu/bindings/typescript/jest.config.tsdiff --git a/bindings/typescript/jsr.json b/crates/legacy/uzu/bindings/typescript/jsr.jsonsimilarity index 100%rename from bindings/typescript/jsr.jsonrename to crates/legacy/uzu/bindings/typescript/jsr.jsondiff --git a/bindings/typescript/jsr.json.orig b/crates/legacy/uzu/bindings/typescript/jsr.json.origsimilarity index 100%rename from bindings/typescript/jsr.json.origrename to crates/legacy/uzu/bindings/typescript/jsr.json.origdiff --git a/bindings/typescript/package.json b/crates/legacy/uzu/bindings/typescript/package.jsonsimilarity index 100%rename from bindings/typescript/package.jsonrename to crates/legacy/uzu/bindings/typescript/package.jsondiff --git a/bindings/typescript/pnpm-lock.yaml b/crates/legacy/uzu/bindings/typescript/pnpm-lock.yamlsimilarity index 100%rename from bindings/typescript/pnpm-lock.yamlrename to crates/legacy/uzu/bindings/typescript/pnpm-lock.yamldiff --git a/bindings/typescript/scripts/build b/crates/legacy/uzu/bindings/typescript/scripts/buildsimilarity index 100%rename from bindings/typescript/scripts/buildrename to crates/legacy/uzu/bindings/typescript/scripts/builddiff --git a/bindings/typescript/scripts/build-deno b/crates/legacy/uzu/bindings/typescript/scripts/build-denosimilarity index 100%rename from bindings/typescript/scripts/build-denorename to crates/legacy/uzu/bindings/typescript/scripts/build-denodiff --git a/bindings/typescript/scripts/format b/crates/legacy/uzu/bindings/typescript/scripts/formatsimilarity index 100%rename from bindings/typescript/scripts/formatrename to crates/legacy/uzu/bindings/typescript/scripts/formatdiff --git a/bindings/typescript/scripts/lint b/crates/legacy/uzu/bindings/typescript/scripts/lintsimilarity index 100%rename from bindings/typescript/scripts/lintrename to crates/legacy/uzu/bindings/typescript/scripts/lintdiff --git a/bindings/typescript/scripts/utils/attw-report.cjs b/crates/legacy/uzu/bindings/typescript/scripts/utils/attw-report.cjssimilarity index 100%rename from bindings/typescript/scripts/utils/attw-report.cjsrename to crates/legacy/uzu/bindings/typescript/scripts/utils/attw-report.cjsdiff --git a/bindings/typescript/scripts/utils/check-version.cjs b/crates/legacy/uzu/bindings/typescript/scripts/utils/check-version.cjssimilarity index 100%rename from bindings/typescript/scripts/utils/check-version.cjsrename to crates/legacy/uzu/bindings/typescript/scripts/utils/check-version.cjsdiff --git a/bindings/typescript/scripts/utils/convert-jsr-readme.cjs b/crates/legacy/uzu/bindings/typescript/scripts/utils/convert-jsr-readme.cjssimilarity index 100%rename from bindings/typescript/scripts/utils/convert-jsr-readme.cjsrename to crates/legacy/uzu/bindings/typescript/scripts/utils/convert-jsr-readme.cjsdiff --git a/bindings/typescript/scripts/utils/fix-index-exports.cjs b/crates/legacy/uzu/bindings/typescript/scripts/utils/fix-index-exports.cjssimilarity index 100%rename from bindings/typescript/scripts/utils/fix-index-exports.cjsrename to crates/legacy/uzu/bindings/typescript/scripts/utils/fix-index-exports.cjsdiff --git a/bindings/typescript/scripts/utils/generate-napi-wrappers.cjs b/crates/legacy/uzu/bindings/typescript/scripts/utils/generate-napi-wrappers.cjssimilarity index 100%rename from bindings/typescript/scripts/utils/generate-napi-wrappers.cjsrename to crates/legacy/uzu/bindings/typescript/scripts/utils/generate-napi-wrappers.cjsdiff --git a/bindings/typescript/scripts/utils/make-dist-package-json.cjs b/crates/legacy/uzu/bindings/typescript/scripts/utils/make-dist-package-json.cjssimilarity index 100%rename from bindings/typescript/scripts/utils/make-dist-package-json.cjsrename to crates/legacy/uzu/bindings/typescript/scripts/utils/make-dist-package-json.cjsdiff --git a/bindings/typescript/scripts/utils/postprocess-files.cjs b/crates/legacy/uzu/bindings/typescript/scripts/utils/postprocess-files.cjssimilarity index 100%rename from bindings/typescript/scripts/utils/postprocess-files.cjsrename to crates/legacy/uzu/bindings/typescript/scripts/utils/postprocess-files.cjsdiff --git a/bindings/typescript/src/index.ts b/crates/legacy/uzu/bindings/typescript/src/index.tssimilarity index 100%rename from bindings/typescript/src/index.tsrename to crates/legacy/uzu/bindings/typescript/src/index.tsdiff --git a/bindings/typescript/src/napi/index.d.mts b/crates/legacy/uzu/bindings/typescript/src/napi/index.d.mtssimilarity index 100%rename from bindings/typescript/src/napi/index.d.mtsrename to crates/legacy/uzu/bindings/typescript/src/napi/index.d.mtsdiff --git a/bindings/typescript/src/napi/index.d.ts b/crates/legacy/uzu/bindings/typescript/src/napi/index.d.tssimilarity index 100%rename from bindings/typescript/src/napi/index.d.tsrename to crates/legacy/uzu/bindings/typescript/src/napi/index.d.tsdiff --git a/bindings/typescript/src/napi/index.js b/crates/legacy/uzu/bindings/typescript/src/napi/index.jssimilarity index 100%rename from bindings/typescript/src/napi/index.jsrename to crates/legacy/uzu/bindings/typescript/src/napi/index.jsdiff --git a/bindings/typescript/src/napi/index.mjs b/crates/legacy/uzu/bindings/typescript/src/napi/index.mjssimilarity index 100%rename from bindings/typescript/src/napi/index.mjsrename to crates/legacy/uzu/bindings/typescript/src/napi/index.mjsdiff --git a/bindings/typescript/src/tool.ts b/crates/legacy/uzu/bindings/typescript/src/tool.tssimilarity index 100%rename from bindings/typescript/src/tool.tsrename to crates/legacy/uzu/bindings/typescript/src/tool.tsdiff --git a/bindings/typescript/src/version.ts b/crates/legacy/uzu/bindings/typescript/src/version.tssimilarity index 100%rename from bindings/typescript/src/version.tsrename to crates/legacy/uzu/bindings/typescript/src/version.tsdiff --git a/bindings/typescript/tests/engine.test.ts b/crates/legacy/uzu/bindings/typescript/tests/engine.test.tssimilarity index 100%rename from bindings/typescript/tests/engine.test.tsrename to crates/legacy/uzu/bindings/typescript/tests/engine.test.tsdiff --git a/bindings/typescript/tests/tool-cancellation.test.ts b/crates/legacy/uzu/bindings/typescript/tests/tool-cancellation.test.tssimilarity index 100%rename from bindings/typescript/tests/tool-cancellation.test.tsrename to crates/legacy/uzu/bindings/typescript/tests/tool-cancellation.test.tsdiff --git a/bindings/typescript/tests/tool.test.ts b/crates/legacy/uzu/bindings/typescript/tests/tool.test.tssimilarity index 100%rename from bindings/typescript/tests/tool.test.tsrename to crates/legacy/uzu/bindings/typescript/tests/tool.test.tsdiff --git a/bindings/typescript/tsc-multi.json b/crates/legacy/uzu/bindings/typescript/tsc-multi.jsonsimilarity index 100%rename from bindings/typescript/tsc-multi.jsonrename to crates/legacy/uzu/bindings/typescript/tsc-multi.jsondiff --git a/bindings/typescript/tsconfig.build.json b/crates/legacy/uzu/bindings/typescript/tsconfig.build.jsonsimilarity index 100%rename from bindings/typescript/tsconfig.build.jsonrename to crates/legacy/uzu/bindings/typescript/tsconfig.build.jsondiff --git a/bindings/typescript/tsconfig.deno.json b/crates/legacy/uzu/bindings/typescript/tsconfig.deno.jsonsimilarity index 100%rename from bindings/typescript/tsconfig.deno.jsonrename to crates/legacy/uzu/bindings/typescript/tsconfig.deno.jsondiff --git a/bindings/typescript/tsconfig.dist-src.json b/crates/legacy/uzu/bindings/typescript/tsconfig.dist-src.jsonsimilarity index 100%rename from bindings/typescript/tsconfig.dist-src.jsonrename to crates/legacy/uzu/bindings/typescript/tsconfig.dist-src.jsondiff --git a/bindings/typescript/tsconfig.json b/crates/legacy/uzu/bindings/typescript/tsconfig.jsonsimilarity index 100%rename from bindings/typescript/tsconfig.jsonrename to crates/legacy/uzu/bindings/typescript/tsconfig.json