diff --git a/Cargo.lock b/Cargo.lock index 184ac591f0..2d3c09ed09 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -798,7 +798,7 @@ version = "3.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "519bd3116aeeb42d5372c29d982d16d0170d3d4a5ed85fc7dd91642ffff3c67c" dependencies = [ - "darling 0.23.0", + "darling 0.20.11", "ident_case", "prettyplease", "proc-macro2", @@ -3196,7 +3196,7 @@ dependencies = [ "log", "rustversion", "windows-link 0.2.1", - "windows-result 0.3.4", + "windows-result 0.4.1", ] [[package]] @@ -3810,7 +3810,7 @@ dependencies = [ "js-sys", "log", "wasm-bindgen", - "windows-core 0.61.2", + "windows-core 0.62.2", ] [[package]] @@ -4385,16 +4385,6 @@ dependencies = [ "wasm-bindgen", ] -[[package]] -name = "json5" -version = "1.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "733a844dbd6fef128e98cb4487b887cb55454d92cd9994b1bafe004fabbe670c" -dependencies = [ - "serde", - "ucd-trie", -] - [[package]] name = "jsonpath-rust" version = "0.7.5" @@ -4856,8 +4846,8 @@ dependencies = [ [[package]] name = "mesh-llm-api-client" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "hex", "mesh-llm-client", @@ -4866,8 +4856,8 @@ dependencies = [ [[package]] name = "mesh-llm-api-server" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "anyhow", "mesh-llm-api-client", @@ -4877,21 +4867,18 @@ dependencies = [ [[package]] name = "mesh-llm-build-info" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" [[package]] name = "mesh-llm-client" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "anyhow", "async-trait", "base64 0.22.1", "bytes", - "crypto_box", - "ed25519-dalek", - "hex", "httparse", "iroh", "mesh-llm-identity", @@ -4901,11 +4888,9 @@ dependencies = [ "model-artifact", "nostr-sdk", "prost 0.14.3", - "rand 0.10.1", "rustls", "serde", "serde_json", - "sha2 0.10.9", "thiserror 2.0.18", "tokio", "tracing", @@ -4914,8 +4899,8 @@ dependencies = [ [[package]] name = "mesh-llm-config" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "anyhow", "dirs", @@ -4930,8 +4915,8 @@ dependencies = [ [[package]] name = "mesh-llm-embedded-runtime" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "anyhow", "mesh-llm-host-runtime", @@ -4940,8 +4925,8 @@ dependencies = [ [[package]] name = "mesh-llm-events" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "anyhow", "chrono", @@ -4957,8 +4942,8 @@ dependencies = [ [[package]] name = "mesh-llm-gpu-bench" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "serde", "serde_json", @@ -4967,8 +4952,8 @@ dependencies = [ [[package]] name = "mesh-llm-guardrails" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "serde", "serde_json", @@ -4976,8 +4961,8 @@ dependencies = [ [[package]] name = "mesh-llm-hardware-profile" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "mesh-llm-native-runtime", ] @@ -5013,8 +4998,8 @@ dependencies = [ [[package]] name = "mesh-llm-host-runtime" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "anyhow", "argon2", @@ -5036,7 +5021,6 @@ dependencies = [ "http-body-util", "httparse", "iroh", - "json5", "keyring", "libc", "mdns-sd", @@ -5082,7 +5066,6 @@ dependencies = [ "semver", "serde", "serde_json", - "serde_yaml", "sha2 0.10.9", "skippy-coordinator", "skippy-ffi", @@ -5110,8 +5093,8 @@ dependencies = [ [[package]] name = "mesh-llm-identity" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "argon2", "base64 0.22.1", @@ -5132,8 +5115,8 @@ dependencies = [ [[package]] name = "mesh-llm-log-store" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "chrono", "data-encoding", @@ -5150,8 +5133,8 @@ dependencies = [ [[package]] name = "mesh-llm-native-runtime" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "anyhow", "serde", @@ -5161,8 +5144,8 @@ dependencies = [ [[package]] name = "mesh-llm-node" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "anyhow", "mesh-llm-types", @@ -5175,8 +5158,8 @@ dependencies = [ [[package]] name = "mesh-llm-plugin" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "anyhow", "async-trait", @@ -5192,8 +5175,8 @@ dependencies = [ [[package]] name = "mesh-llm-plugin-manager" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "anyhow", "dirs", @@ -5211,8 +5194,8 @@ dependencies = [ [[package]] name = "mesh-llm-protocol" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "anyhow", "hex", @@ -5224,8 +5207,8 @@ dependencies = [ [[package]] name = "mesh-llm-release-footer" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "hex", "sha2 0.10.9", @@ -5233,16 +5216,17 @@ dependencies = [ [[package]] name = "mesh-llm-routing" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "iroh", + "serde_json", ] [[package]] name = "mesh-llm-runtime-install" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "anyhow", "dirs", @@ -5264,8 +5248,8 @@ dependencies = [ [[package]] name = "mesh-llm-sdk" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "anyhow", "mesh-llm-api-client", @@ -5279,8 +5263,8 @@ dependencies = [ [[package]] name = "mesh-llm-skills" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "anyhow", "dirs", @@ -5290,8 +5274,8 @@ dependencies = [ [[package]] name = "mesh-llm-system" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "anyhow", "chrono", @@ -5317,8 +5301,8 @@ dependencies = [ [[package]] name = "mesh-llm-types" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "hex", "serde", @@ -5328,13 +5312,13 @@ dependencies = [ [[package]] name = "mesh-llm-ui" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" [[package]] name = "mesh-mixture-of-agents" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "async-trait", "mesh-llm-guardrails", @@ -5347,13 +5331,13 @@ dependencies = [ [[package]] name = "mesh-native-serving-plugin-api" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" [[package]] name = "mesh-native-serving-plugin-host" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "anyhow", "libloading", @@ -5499,8 +5483,8 @@ dependencies = [ [[package]] name = "model-artifact" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "anyhow", "async-trait", @@ -5510,8 +5494,8 @@ dependencies = [ [[package]] name = "model-hf" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "anyhow", "async-trait", @@ -5528,8 +5512,8 @@ dependencies = [ [[package]] name = "model-package" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "anyhow", "bytes", @@ -5548,16 +5532,16 @@ dependencies = [ [[package]] name = "model-ref" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "serde", ] [[package]] name = "model-resolver" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "anyhow", "model-artifact", @@ -6358,8 +6342,8 @@ checksum = "4f933a4265d5cdad61d19bbdfc972ea5726d56cd8d3d57b8f2d3c365dd42bee9" [[package]] name = "openai-frontend" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "async-trait", "axum", @@ -6370,7 +6354,6 @@ dependencies = [ "serde", "serde_json", "tokio", - "tokio-stream", "tracing", "uuid", ] @@ -8951,8 +8934,8 @@ checksum = "0c6f73aeb92d671e0cc4dca167e59b2deb6387c375391bc99ee743f326994a2b" [[package]] name = "skippy-cache" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "anyhow", "blake3", @@ -8961,29 +8944,29 @@ dependencies = [ [[package]] name = "skippy-coordinator" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "thiserror 2.0.18", ] [[package]] name = "skippy-ffi" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "libloading", ] [[package]] name = "skippy-metrics" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" [[package]] name = "skippy-protocol" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "prost 0.14.3", "prost-build 0.14.3", @@ -8994,8 +8977,8 @@ dependencies = [ [[package]] name = "skippy-runtime" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "anyhow", "libc", @@ -9008,8 +8991,8 @@ dependencies = [ [[package]] name = "skippy-server" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "ahash", "anyhow", @@ -9036,23 +9019,22 @@ dependencies = [ "skippy-topology", "socket2", "tokio", - "tokio-stream", "tonic", "uuid", ] [[package]] name = "skippy-tokenizer" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "serde", ] [[package]] name = "skippy-topology" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "serde", "serde_json", @@ -11534,8 +11516,8 @@ dependencies = [ "log", "serde", "thiserror 2.0.18", - "windows 0.61.3", - "windows-core 0.61.2", + "windows 0.62.2", + "windows-core 0.62.2", ] [[package]] diff --git a/crates/buzz-relay/Cargo.toml b/crates/buzz-relay/Cargo.toml index d8a8288e1e..198a6fda40 100644 --- a/crates/buzz-relay/Cargo.toml +++ b/crates/buzz-relay/Cargo.toml @@ -86,8 +86,8 @@ async-compression = { version = "0.4.42", features = ["tokio", "gzip"] } dev = ["buzz-auth/dev"] [dev-dependencies] -mesh-llm-sdk = { git = "https://github.com/Mesh-LLM/mesh-llm.git", tag = "v0.76.0-rc6", package = "mesh-llm-sdk", default-features = false, features = ["client", "serving"] } -mesh-llm-host-runtime = { git = "https://github.com/Mesh-LLM/mesh-llm.git", tag = "v0.76.0-rc6", package = "mesh-llm-host-runtime", default-features = false, features = ["dynamic-native-runtime"] } +mesh-llm-sdk = { git = "https://github.com/Mesh-LLM/mesh-llm.git", tag = "v0.76.0-rc7", package = "mesh-llm-sdk", default-features = false, features = ["client", "serving"] } +mesh-llm-host-runtime = { git = "https://github.com/Mesh-LLM/mesh-llm.git", tag = "v0.76.0-rc7", package = "mesh-llm-host-runtime", default-features = false, features = ["dynamic-native-runtime"] } # Relay-driven mesh lifecycle smoke (examples/mesh_relay_lifecycle_smoke.rs): # the relay client for discovery notes and the exact ed25519 the mesh owner # keys use for binding verification. diff --git a/desktop/src-tauri/Cargo.lock b/desktop/src-tauri/Cargo.lock index 6ac2ee2d1e..f19a170845 100644 --- a/desktop/src-tauri/Cargo.lock +++ b/desktop/src-tauri/Cargo.lock @@ -976,7 +976,7 @@ version = "3.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6dee98b0db6a962de883bf5d20362dee4d7ca0d12fe39a7c6c73c844e1cd7c1f" dependencies = [ - "darling 0.20.11", + "darling 0.23.0", "ident_case", "prettyplease", "proc-macro2", @@ -1639,7 +1639,7 @@ version = "3.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "faf9468729b8cbcea668e36183cb69d317348c2e08e994829fb56ebfdfbaac34" dependencies = [ - "windows-sys 0.48.0", + "windows-sys 0.61.2", ] [[package]] @@ -1877,7 +1877,7 @@ dependencies = [ "wasm-bindgen", "wasm-bindgen-futures", "web-sys", - "windows 0.61.3", + "windows 0.62.2", ] [[package]] @@ -3283,8 +3283,8 @@ dependencies = [ "libc", "log", "rustversion", - "windows-link 0.1.3", - "windows-result 0.3.4", + "windows-link 0.2.1", + "windows-result 0.4.1", ] [[package]] @@ -4031,7 +4031,7 @@ dependencies = [ "tokio", "tower-service", "tracing", - "windows-registry 0.5.3", + "windows-registry 0.6.1", ] [[package]] @@ -4046,7 +4046,7 @@ dependencies = [ "js-sys", "log", "wasm-bindgen", - "windows-core 0.61.2", + "windows-core 0.62.2", ] [[package]] @@ -4691,16 +4691,6 @@ dependencies = [ "thiserror 1.0.69", ] -[[package]] -name = "json5" -version = "1.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "733a844dbd6fef128e98cb4487b887cb55454d92cd9994b1bafe004fabbe670c" -dependencies = [ - "serde", - "ucd-trie", -] - [[package]] name = "jsonptr" version = "0.6.3" @@ -5174,8 +5164,8 @@ dependencies = [ [[package]] name = "mesh-llm-api-client" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "hex", "mesh-llm-client", @@ -5184,8 +5174,8 @@ dependencies = [ [[package]] name = "mesh-llm-api-server" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "anyhow", "mesh-llm-api-client", @@ -5195,21 +5185,18 @@ dependencies = [ [[package]] name = "mesh-llm-build-info" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" [[package]] name = "mesh-llm-client" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "anyhow", "async-trait", "base64 0.22.1", "bytes", - "crypto_box", - "ed25519-dalek", - "hex", "httparse", "iroh", "mesh-llm-identity", @@ -5219,11 +5206,9 @@ dependencies = [ "model-artifact", "nostr-sdk", "prost 0.14.4", - "rand 0.10.2", "rustls", "serde", "serde_json", - "sha2 0.10.9", "thiserror 2.0.18", "tokio", "tracing", @@ -5232,8 +5217,8 @@ dependencies = [ [[package]] name = "mesh-llm-config" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "anyhow", "dirs", @@ -5248,8 +5233,8 @@ dependencies = [ [[package]] name = "mesh-llm-embedded-runtime" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "anyhow", "mesh-llm-host-runtime", @@ -5258,8 +5243,8 @@ dependencies = [ [[package]] name = "mesh-llm-events" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "anyhow", "chrono", @@ -5275,8 +5260,8 @@ dependencies = [ [[package]] name = "mesh-llm-gpu-bench" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "serde", "serde_json", @@ -5285,8 +5270,8 @@ dependencies = [ [[package]] name = "mesh-llm-guardrails" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "serde", "serde_json", @@ -5294,8 +5279,8 @@ dependencies = [ [[package]] name = "mesh-llm-hardware-profile" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "mesh-llm-native-runtime", ] @@ -5331,8 +5316,8 @@ dependencies = [ [[package]] name = "mesh-llm-host-runtime" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "anyhow", "argon2", @@ -5354,7 +5339,6 @@ dependencies = [ "http-body-util", "httparse", "iroh", - "json5", "keyring", "libc", "mdns-sd", @@ -5400,7 +5384,6 @@ dependencies = [ "semver", "serde", "serde_json", - "serde_yaml", "sha2 0.10.9", "skippy-coordinator", "skippy-ffi", @@ -5428,8 +5411,8 @@ dependencies = [ [[package]] name = "mesh-llm-identity" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "argon2", "base64 0.22.1", @@ -5450,8 +5433,8 @@ dependencies = [ [[package]] name = "mesh-llm-log-store" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "chrono", "data-encoding", @@ -5468,8 +5451,8 @@ dependencies = [ [[package]] name = "mesh-llm-native-runtime" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "anyhow", "serde", @@ -5479,8 +5462,8 @@ dependencies = [ [[package]] name = "mesh-llm-node" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "anyhow", "mesh-llm-types", @@ -5493,8 +5476,8 @@ dependencies = [ [[package]] name = "mesh-llm-plugin" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "anyhow", "async-trait", @@ -5510,8 +5493,8 @@ dependencies = [ [[package]] name = "mesh-llm-plugin-manager" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "anyhow", "dirs", @@ -5529,8 +5512,8 @@ dependencies = [ [[package]] name = "mesh-llm-protocol" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "anyhow", "hex", @@ -5542,8 +5525,8 @@ dependencies = [ [[package]] name = "mesh-llm-release-footer" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "hex", "sha2 0.10.9", @@ -5551,16 +5534,17 @@ dependencies = [ [[package]] name = "mesh-llm-routing" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "iroh", + "serde_json", ] [[package]] name = "mesh-llm-runtime-install" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "anyhow", "dirs", @@ -5582,8 +5566,8 @@ dependencies = [ [[package]] name = "mesh-llm-sdk" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "anyhow", "mesh-llm-api-client", @@ -5597,8 +5581,8 @@ dependencies = [ [[package]] name = "mesh-llm-skills" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "anyhow", "dirs", @@ -5608,8 +5592,8 @@ dependencies = [ [[package]] name = "mesh-llm-system" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "anyhow", "chrono", @@ -5635,8 +5619,8 @@ dependencies = [ [[package]] name = "mesh-llm-types" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "hex", "serde", @@ -5646,13 +5630,13 @@ dependencies = [ [[package]] name = "mesh-llm-ui" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" [[package]] name = "mesh-mixture-of-agents" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "async-trait", "mesh-llm-guardrails", @@ -5665,13 +5649,13 @@ dependencies = [ [[package]] name = "mesh-native-serving-plugin-api" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" [[package]] name = "mesh-native-serving-plugin-host" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "anyhow", "libloading 0.8.9", @@ -5772,8 +5756,8 @@ dependencies = [ [[package]] name = "model-artifact" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "anyhow", "async-trait", @@ -5783,8 +5767,8 @@ dependencies = [ [[package]] name = "model-hf" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "anyhow", "async-trait", @@ -5801,8 +5785,8 @@ dependencies = [ [[package]] name = "model-package" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "anyhow", "bytes", @@ -5821,16 +5805,16 @@ dependencies = [ [[package]] name = "model-ref" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "serde", ] [[package]] name = "model-resolver" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "anyhow", "model-artifact", @@ -6549,7 +6533,7 @@ version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "680998035259dcfcafe653688bf2aa6d3e2dc05e98be6ab46afb089dc84f1df8" dependencies = [ - "proc-macro-crate 1.3.1", + "proc-macro-crate 2.0.2", "proc-macro2", "quote", "syn 2.0.118", @@ -6931,8 +6915,8 @@ dependencies = [ [[package]] name = "openai-frontend" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "async-trait", "axum", @@ -6943,7 +6927,6 @@ dependencies = [ "serde", "serde_json", "tokio", - "tokio-stream", "tracing", "uuid", ] @@ -7145,7 +7128,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7d8fae84b431384b68627d0f9b3b1245fcf9f46f6c0e3dc902e9dce64edd1967" dependencies = [ "libc", - "windows-sys 0.48.0", + "windows-sys 0.61.2", ] [[package]] @@ -7905,7 +7888,7 @@ version = "0.13.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "be769465445e8c1474e9c5dac2018218498557af32d9ed057325ec9a41ae81bf" dependencies = [ - "heck 0.4.1", + "heck 0.5.0", "itertools", "log", "multimap", @@ -7925,7 +7908,7 @@ version = "0.14.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "03da047801ff44bb6a4d407d4860c05fd70bb81714e6b2f3812603d5b145b042" dependencies = [ - "heck 0.4.1", + "heck 0.5.0", "itertools", "log", "multimap", @@ -9724,8 +9707,8 @@ checksum = "8ee5873ec9cce0195efcb7a4e9507a04cd49aec9c83d0389df45b1ef7ba2e649" [[package]] name = "skippy-cache" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "anyhow", "blake3", @@ -9734,29 +9717,29 @@ dependencies = [ [[package]] name = "skippy-coordinator" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "thiserror 2.0.18", ] [[package]] name = "skippy-ffi" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "libloading 0.8.9", ] [[package]] name = "skippy-metrics" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" [[package]] name = "skippy-protocol" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "prost 0.14.4", "prost-build 0.14.4", @@ -9767,8 +9750,8 @@ dependencies = [ [[package]] name = "skippy-runtime" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "anyhow", "libc", @@ -9781,8 +9764,8 @@ dependencies = [ [[package]] name = "skippy-server" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "ahash", "anyhow", @@ -9809,23 +9792,22 @@ dependencies = [ "skippy-topology", "socket2", "tokio", - "tokio-stream", "tonic", "uuid", ] [[package]] name = "skippy-tokenizer" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "serde", ] [[package]] name = "skippy-topology" -version = "0.76.0-rc6" -source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc6#a8ddb45581cd8ac9f7e58b79365095d6dd8b5a66" +version = "0.76.0-rc7" +source = "git+https://github.com/Mesh-LLM/mesh-llm.git?tag=v0.76.0-rc7#5d07a20b674dfa4cd3d86f6721e8c5b2284d1d23" dependencies = [ "serde", "serde_json", @@ -12568,7 +12550,7 @@ version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" dependencies = [ - "windows-sys 0.48.0", + "windows-sys 0.61.2", ] [[package]] @@ -13206,8 +13188,8 @@ dependencies = [ "log", "serde", "thiserror 2.0.18", - "windows 0.61.3", - "windows-core 0.61.2", + "windows 0.62.2", + "windows-core 0.62.2", ] [[package]] diff --git a/desktop/src-tauri/Cargo.toml b/desktop/src-tauri/Cargo.toml index 0497b997e6..f14375f817 100644 --- a/desktop/src-tauri/Cargo.toml +++ b/desktop/src-tauri/Cargo.toml @@ -111,14 +111,14 @@ buzz_terminal = { package = "buzz-terminal", path = "crates/buzz-terminal" } buzz_ws_client_pkg = { package = "buzz-ws-client", path = "../../crates/buzz-ws-client" } portable-pty = "0.9" iroh = { version = "1.0.3", optional = true } -mesh-llm-sdk = { git = "https://github.com/Mesh-LLM/mesh-llm.git", tag = "v0.76.0-rc6", package = "mesh-llm-sdk", default-features = false, features = ["client", "serving"], optional = true } -mesh-llm-host-runtime = { git = "https://github.com/Mesh-LLM/mesh-llm.git", tag = "v0.76.0-rc6", package = "mesh-llm-host-runtime", default-features = false, features = ["dynamic-native-runtime"], optional = true } +mesh-llm-sdk = { git = "https://github.com/Mesh-LLM/mesh-llm.git", tag = "v0.76.0-rc7", package = "mesh-llm-sdk", default-features = false, features = ["client", "serving"], optional = true } +mesh-llm-host-runtime = { git = "https://github.com/Mesh-LLM/mesh-llm.git", tag = "v0.76.0-rc7", package = "mesh-llm-host-runtime", default-features = false, features = ["dynamic-native-runtime"], optional = true } # Model catalog + hardware survey for the Share-compute model picker (same # diagnose pattern as mesh-console). Lib name of mesh-llm-client is mesh_client. -mesh-llm-client = { git = "https://github.com/Mesh-LLM/mesh-llm.git", tag = "v0.76.0-rc6", package = "mesh-llm-client", optional = true } -mesh-llm-node = { git = "https://github.com/Mesh-LLM/mesh-llm.git", tag = "v0.76.0-rc6", package = "mesh-llm-node", optional = true } -mesh-llm-system = { git = "https://github.com/Mesh-LLM/mesh-llm.git", tag = "v0.76.0-rc6", package = "mesh-llm-system", optional = true } -mesh-llm-events = { git = "https://github.com/Mesh-LLM/mesh-llm.git", tag = "v0.76.0-rc6", package = "mesh-llm-events", optional = true } +mesh-llm-client = { git = "https://github.com/Mesh-LLM/mesh-llm.git", tag = "v0.76.0-rc7", package = "mesh-llm-client", optional = true } +mesh-llm-node = { git = "https://github.com/Mesh-LLM/mesh-llm.git", tag = "v0.76.0-rc7", package = "mesh-llm-node", optional = true } +mesh-llm-system = { git = "https://github.com/Mesh-LLM/mesh-llm.git", tag = "v0.76.0-rc7", package = "mesh-llm-system", optional = true } +mesh-llm-events = { git = "https://github.com/Mesh-LLM/mesh-llm.git", tag = "v0.76.0-rc7", package = "mesh-llm-events", optional = true } base64 = "0.22" sha2 = "0.11" tar = "0.4" diff --git a/desktop/src-tauri/src/commands/mesh_llm.rs b/desktop/src-tauri/src/commands/mesh_llm.rs index 8772bf819f..892ea4bea0 100644 --- a/desktop/src-tauri/src/commands/mesh_llm.rs +++ b/desktop/src-tauri/src/commands/mesh_llm.rs @@ -200,19 +200,7 @@ async fn probe_relay_mesh_mode(relay_url: &str) -> Result Result, String> { - query_mesh_discovery_events_for_mode( - state, - relay_url, - resolved_relay_mesh_mode(relay_url).await, - ) - .await + mesh_llm::relay_mesh_mode_from_nip11(&document) } /// Probe the relay's membership mode, falling back to the enforcing behaviour. @@ -307,10 +295,6 @@ async fn query_mesh_discovery_events_for_mode( } } -async fn query_mesh_discovery_events(state: &AppState) -> Result, String> { - query_mesh_discovery_events_at(state, &relay::relay_ws_url_with_override(state)).await -} - /// Resolve the admission roster by intersecting member-signed mesh status /// reporters with the current NIP-43 direct-member list. /// @@ -748,9 +732,11 @@ pub(crate) async fn resolve_mesh_bootstrap_target( if model_id.is_empty() { return Ok(None); } - let events = query_mesh_discovery_events(state).await?; + let relay_url = relay::relay_ws_url_with_override(state); + let mode = resolved_relay_mesh_mode(&relay_url).await; + let events = query_mesh_discovery_events_for_mode(state, &relay_url, mode).await?; Ok(pick_serve_target_for_model( - mesh_llm::availability_from_events(events).serve_targets, + mesh_llm::availability_from_events_for_mode(events, mode).serve_targets, model_id, )) } diff --git a/desktop/src-tauri/src/mesh_llm/discovery.rs b/desktop/src-tauri/src/mesh_llm/discovery.rs index e226c7f652..173ed4d559 100644 --- a/desktop/src-tauri/src/mesh_llm/discovery.rs +++ b/desktop/src-tauri/src/mesh_llm/discovery.rs @@ -52,18 +52,19 @@ impl MeshRelayMode { /// /// `buzz-relay` lists NIP-43 in `supported_nips` only when it has a stable /// signing key *and* `BUZZ_REQUIRE_RELAY_MEMBERSHIP=true`, so the advertisement -/// is a faithful proxy for "membership is enforced here". A document that omits -/// it — including a malformed one with no `supported_nips` array — describes a -/// relay where signing in never creates a member row. -pub fn relay_mesh_mode_from_nip11(document: &serde_json::Value) -> MeshRelayMode { - let advertises_nip43 = document +/// is a faithful proxy for "membership is enforced here" when the field is +/// well formed. A missing or malformed `supported_nips` field is rejected so +/// callers keep the fail-closed fallback rather than treating an ambiguous +/// response as evidence that membership is disabled. +pub fn relay_mesh_mode_from_nip11(document: &serde_json::Value) -> Result { + let nips = document .get("supported_nips") - .and_then(|value| value.as_array()) - .is_some_and(|nips| nips.iter().any(|nip| nip.as_u64() == Some(43))); - if advertises_nip43 { - MeshRelayMode::ClosedMembershipEnforced + .and_then(serde_json::Value::as_array) + .ok_or_else(|| "NIP-11 document has no supported_nips array".to_string())?; + if nips.iter().any(|nip| nip.as_u64() == Some(43)) { + Ok(MeshRelayMode::ClosedMembershipEnforced) } else { - MeshRelayMode::OpenNoMembership + Ok(MeshRelayMode::OpenNoMembership) } } diff --git a/desktop/src-tauri/src/mesh_llm/mod_tests.rs b/desktop/src-tauri/src/mesh_llm/mod_tests.rs index e28569c5fd..ff98f4adc5 100644 --- a/desktop/src-tauri/src/mesh_llm/mod_tests.rs +++ b/desktop/src-tauri/src/mesh_llm/mod_tests.rs @@ -673,27 +673,19 @@ fn relay_mesh_mode_reads_nip43_advertisement() { // advertisement is the deployment-mode signal. assert_eq!( super::relay_mesh_mode_from_nip11(&json!({"supported_nips": [1, 11, 42, 43]})), - MeshRelayMode::ClosedMembershipEnforced + Ok(MeshRelayMode::ClosedMembershipEnforced) ); // The live open relay's actual shape (no 43). assert_eq!( super::relay_mesh_mode_from_nip11( &json!({"supported_nips": [1, 2, 10, 11, 16, 17, 23, 25, 29, 33, 38, 42, 50, 56]}) ), - MeshRelayMode::OpenNoMembership - ); - // A missing or malformed document describes a relay that cannot be - // enforcing membership, so it is treated as open. Callers that could not - // reach the relay at all keep the enforcing default instead of calling in - // here — an unreachable relay must never relax admission. - assert_eq!( - super::relay_mesh_mode_from_nip11(&json!({})), - MeshRelayMode::OpenNoMembership - ); - assert_eq!( - super::relay_mesh_mode_from_nip11(&json!({"supported_nips": "not-an-array"})), - MeshRelayMode::OpenNoMembership + Ok(MeshRelayMode::OpenNoMembership) ); + // Missing or malformed mode evidence must fail closed at the caller. An + // ambiguous NIP-11 response is not proof that membership is disabled. + assert!(super::relay_mesh_mode_from_nip11(&json!({})).is_err()); + assert!(super::relay_mesh_mode_from_nip11(&json!({"supported_nips": "not-an-array"})).is_err()); } #[test]