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

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2,580 changes: 1,205 additions & 1,375 deletions Cargo.lock

Large diffs are not rendered by default.

34 changes: 17 additions & 17 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,53 +41,53 @@ axum = "0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_yaml = "0.9"
bincode = "1.3"
bincode = "2.0"
tokio = { version = "1", features = ["full", "rt-multi-thread", "sync"] }
tokio-stream = { version = "0.1", features = ["net"] }
anyhow = "1.0"
uuid = { version = "1.7", features = ["v4", "v7"] }
uuid = { version = "1.22", features = ["v4", "v7"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
thiserror = "1.0"
thiserror = "2.0"
base64 = "0.22"
error-stack = "0.6.0"
futures = "0.3"
parking_lot = "0.12"
crossbeam-channel = "0.5"
dashmap = "5.5"
dashmap = "6.1"
eyre = "0.6"
flume = "0.10"
flume = "0.11"

# Hot-reload support
notify = { version = "6.1", features = ["serde"] }
libloading = "0.8"
notify = { version = "8.2", features = ["serde"] }
libloading = "0.9"
sha2 = "0.10"
tempfile = "3.8"
tempfile = "3.27"

# OpenTelemetry for distributed tracing (compatible versions)
opentelemetry = { version = "0.27", features = ["trace", "metrics"] }
opentelemetry_sdk = { version = "0.27", features = ["rt-tokio"] }
opentelemetry-otlp = { version = "0.27", features = ["tonic"] }
opentelemetry-semantic-conventions = "0.27"
opentelemetry = { version = "0.31", features = ["trace", "metrics"] }
opentelemetry_sdk = { version = "0.31", features = ["rt-tokio"] }
opentelemetry-otlp = { version = "0.31", features = ["tonic"] }
opentelemetry-semantic-conventions = "0.31"
opentelemetry-jaeger = { version = "0.26", features = ["rt-tokio"] }
tracing-opentelemetry = "0.28"
tracing-opentelemetry = "0.32"

# HTTP and observability
prometheus = "0.13"
prometheus = "0.14"
tower = "0.5"
tower-http = { version = "0.6", features = ["cors", "trace", "compression-gzip"] }

rand = "0.8"
rand = "0.10"
chrono = { version = "0.4", features = ["serde"] }
cron = "0.12"
cron = "0.15"
hex = "0.4"
lazy_static = "1.4"

# Actor framework for ReAct agents
ractor = "0"

# Configuration file support (multi-format)
config = { version = "0.14", features = [
config = { version = "0.15", features = [
"toml",
"json",
"yaml",
Expand Down
14 changes: 7 additions & 7 deletions crates/mofa-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,35 +34,35 @@ chrono = { workspace = true }

# CLI
clap = { version = "4", features = ["derive", "env"] }
colored = "2"
colored = "3"

# Serialization
serde = { workspace = true }
serde_json = { workspace = true }
serde_yaml = "0.9"
toml = "0.8"
json5 = "0.4"
toml = "1.0"
json5 = "1.3"


# Utilities
tracing = { workspace = true }
tracing-subscriber = { workspace = true }

# CLI enhancements
dialoguer = "0.11"
indicatif = "0.17"
dialoguer = "0.12"
indicatif = "0.18"
comfy-table = "7"
dirs-next = "2"
tera = "1.19"

# Process management
nix = { version = "0.29", features = ["process", "signal"] }
nix = { version = "0.31", features = ["process", "signal"] }

# Plugin installation
reqwest = { workspace = true, features = ["rustls-tls", "stream"] }
flate2 = "1.0"
tar = "0.4"
zip = "2.1"
zip = "7.2"
sha2 = "0.10"
hex = "0.4"
futures = "0.3"
Expand Down
8 changes: 4 additions & 4 deletions crates/mofa-ffi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ uuid.workspace = true
async-trait = "0.1"

# UniFFI dependencies (optional)
uniffi = { version = "0.29", features = ["bindgen"], optional = true }
thiserror = { version = "1.0", optional = true }
uniffi = { version = "0.31", features = ["bindgen"], optional = true }
thiserror = { version = "2.0", optional = true }
error-stack = { workspace = true, optional = true }
# PyO3 dependencies (optional)
# Note: extension-module is only for building Python wheels, not for tests
Expand All @@ -56,11 +56,11 @@ pyo3 = { version = "0.28", features = ["auto-initialize"], optional = true }
pyo3-async-runtimes = { version = "0.28", features = ["tokio-runtime"], optional = true }

[build-dependencies]
uniffi = { version = "0.29", features = ["build"] }
uniffi = { version = "0.31", features = ["build"] }

[dev-dependencies]
# For generating bindings
uniffi = { version = "0.29", features = ["bindgen-tests"] }
uniffi = { version = "0.31", features = ["bindgen-tests"] }
# For tests
tempfile.workspace = true

Expand Down
26 changes: 13 additions & 13 deletions crates/mofa-foundation/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -84,16 +84,16 @@ config.workspace = true
regex = "1.11"

# TOML parsing for DSL
toml = "0.8"
toml = "1.0"

# OpenAI / compatible APIs
async-openai = { version = "0.27" }
async-openai = { version = "0.33" }

# Actor framework for ReAct agents
ractor.workspace = true

# MCP (Model Context Protocol) client support
rmcp = { version = "0.16", features = [
rmcp = { version = "1.2", features = [
"client",
"transport-child-process",
"transport-io",
Expand All @@ -119,10 +119,10 @@ mofa-kernel = { path = "../mofa-kernel", version = "0.1", features = [
] }
mofa-extra = { path = "../mofa-extra", version = "0.1" }
mofa-plugins = { path = "../mofa-plugins", version = "0.1" }
once_cell = "1.21.3"
once_cell = "1.21.4"

# Graph data structures for task DAGs (Swarm Orchestrator)
petgraph = { version = "0.7", features = ["serde-1"] }
petgraph = { version = "0.8", features = ["serde-1"] }
dashmap = { workspace = true }
rhai = { version = "1", features = ["sync", "serde"] }
lazy_static = "1.4"
Expand All @@ -132,20 +132,20 @@ qdrant-client = { version = "1.17", optional = true }

# Image encoding and MIME detection
base64 = "0.22"
infer = "0.16"
infer = "0.19"

# Security: PII redaction (hashing)
sha2 = "0.10"
hex = "0.4"
# JSON Schema validation for structured output
jsonschema = { version = "0.17", default-features = false }
jsonschema = { version = "0.45", default-features = false }


# System information for memory monitoring
sysinfo = "0.31"
sysinfo = "0.36"

# Accurate token counting for context compression
tiktoken-rs = { version = "0.5", optional = true }
tiktoken-rs = { version = "0.9", optional = true }

# Parallel processing for compression algorithms
rayon = { version = "1.8", optional = true }
Expand All @@ -155,14 +155,14 @@ parking_lot.workspace = true

# Candle ML framework for on-device inference (Linux only, optional)
# Enable with: features = ["linux-candle"]
candle-core = { version = "0.8", optional = true }
candle-transformers = { version = "0.8", optional = true }
candle-core = { version = "0.9", optional = true }
candle-transformers = { version = "0.9", optional = true }

# Cron expression parsing for scheduled agent execution
cron.workspace = true

# Prometheus metrics (optional)
metrics = { version = "0.22", optional = true }
metrics = { version = "0.24", optional = true }

[lints]
workspace = true
Expand All @@ -171,7 +171,7 @@ workspace = true
# bring in proc macro to satisfy downstream crates during all-features build
num_enum_derive = "0.7"
tempfile = "3"
criterion = { version = "0.5", features = ["html_reports"] }
criterion = { version = "0.8", features = ["html_reports"] }

[[bench]]
name = "context_compression"
Expand Down
16 changes: 8 additions & 8 deletions crates/mofa-gateway/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@ mofa-monitoring = { path = "../mofa-monitoring", version = "0.1", optional = tru

# Network and consensus (always available - lightweight Rust code)
tonic = { version = "0.12", features = ["tls", "tls-roots"] }
prost = "0.13"
prost-types = "0.13"
prost = "0.14"
prost-types = "0.14"
tower-http = { version = "0.6", features = [
"cors",
"trace",
"compression-gzip",
] }
tracing-subscriber.workspace = true
prometheus = { version = "0.13", default-features = false }
prometheus = { version = "0.14", default-features = false }

# HTTP and routing
tower = "0.5"
Expand All @@ -62,14 +62,14 @@ hyper-util = "0.1"
http-body-util = "0.1"

# Utilities
dashmap = "5.5"
dashmap = "6.1"
parking_lot = "0.12"
bytes = "1.7"
futures = "0.3"
rand = "0.8"
rand = "0.10"

# Storage (optional - can use in-memory for testing)
rocksdb = { version = "0.22", optional = true }
rocksdb = { version = "0.24", optional = true }
tempfile = { workspace = true, optional = true }

# Metrics and observability (optional)
Expand All @@ -80,11 +80,11 @@ opentelemetry-otlp = { workspace = true, optional = true }
opentelemetry-semantic-conventions = { workspace = true, optional = true }

# OpenAI / compatible APIs (for openai-compat gateway)
async-openai = { version = "0.27", optional = true }
async-openai = { version = "0.33", optional = true }
subtle = { version = "2", optional = true }

[build-dependencies]
tonic-build = "0.12"
tonic-build = "0.14"

[lints]
workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/mofa-integrations/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ hex.workspace = true
mofa-kernel = { path = "../mofa-kernel", version = "0.1" }

# ── Socket.IO feature ──────────────────────────────────────────────────────────
socketioxide = { version = "0.15", optional = true }
socketioxide = { version = "0.18", optional = true }
axum = { workspace = true, optional = true }
tower = { version = "0.5", optional = true }
tower-http = { version = "0.6", features = ["cors"], optional = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/mofa-kernel/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ chrono.workspace = true


# Config parsing
toml = { version = "0.8", optional = true }
toml = { version = "1.0", optional = true }
config = { workspace = true, optional = true }
regex = { workspace = true, optional = true }

Expand Down
2 changes: 1 addition & 1 deletion crates/mofa-local-llm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ tracing.workspace = true
chrono.workspace = true

# System information for hardware detection and memory monitoring
sysinfo = "0.31"
sysinfo = "0.36"

mofa-foundation = { path = "../mofa-foundation", version = "0.1" }

Expand Down
4 changes: 2 additions & 2 deletions crates/mofa-monitoring/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@ mofa-foundation = { path = "../mofa-foundation", version = "0.1" }
futures = "0.3.31"

# System metrics
sysinfo = "0.32"
sysinfo = "0.36"

[dev-dependencies]
tokio-tungstenite = "0.24"
tokio-tungstenite = "0.29"
futures-util = "0.3"
mofa-foundation = { path = "../mofa-foundation" }
mofa-kernel = { path = "../mofa-kernel" }
Expand Down
14 changes: 7 additions & 7 deletions crates/mofa-plugins/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ tracing.workspace = true
uuid = { workspace = true, features = ["v7"] }
rand.workspace = true
# WASM plugin runtime
wasmtime = { version = "40", features = ["component-model", "async"] }
wasmtime = { version = "42", features = ["component-model", "async"] }
# Local dependencies
mofa-kernel = { path = "../mofa-kernel", version = "0.1" }
reqwest = { workspace = true, features = ["json", "rustls-tls", "multipart"] }
Expand All @@ -42,17 +42,17 @@ rhai = { version = "1.20", features = ["sync", "serde"] }
url = "2.5.7"
regex = "1.12.2"
walkdir = "2.4"
which = "7"
which = "8"
# TTS support (optional - using rodio for audio playback)
rodio = { version = "0.17", optional = true }
rodio = { version = "0.22", optional = true }
# Kokoro TTS (optional)
kokoro-tts = { version = "=0.2.9", optional = true }
kokoro-tts = { version = "=0.3.1", optional = true }
# Pin ort version for kokoro-tts compatibility across workspace resolution
ort = { version = "=2.0.0-rc.10", optional = true }
ort = { version = "=2.0.0-rc.12", optional = true }
# Model download support
hf-hub = "0.4"
hf-hub = "0.5"
tokio-util = { version = "0.7", features = ["io"] }
dirs = "5.0"
dirs = "6.0"
md-5 = "0.10"
backoff = { version = "0.4", features = ["tokio"] }
futures = "0.3"
Expand Down
2 changes: 1 addition & 1 deletion crates/mofa-runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ dora-core = { version = "0", features = ["build"], optional = true }
dora-message = { version = "0", optional = true }

serde_yaml = { workspace = true }
toml = "0.8"
toml = "1.0"
config.workspace = true
regex.workspace = true
chrono.workspace = true
Expand Down
Loading