Some checks failed
CI / Lint & TypeCheck (push) Has been cancelled
CI / Unit Tests (push) Has been cancelled
CI / Build Frontend (push) Has been cancelled
CI / Rust Check (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
CI / E2E Tests (push) Has been cancelled
Batch 5 (P0): GrowthIntegration 接入 Tauri - Kernel 新增 set_viking()/set_extraction_driver() 桥接 SqliteStorage - 中间件链共享存储,MemoryExtractor 接入 LLM 驱动 Batch 6 (P1): 输入验证 + Heartbeat - Relay 验证补全(stream 兼容检查、API key 格式校验) - UUID 类型校验、SessionId 错误返回 - Heartbeat 默认开启 + 首次聊天自动初始化 Batch 7 (P2): 死代码清理 - zclaw-channels 整体移除(317 行) - multi-agent 特性门控、admin 方法标注 Batch 8 (P2): Pipeline 模板 - PipelineMetadata 新增 annotations 字段 - pipeline_templates 命令 + 2 个示例模板 - fallback driver base_url 修复(doubao/qwen/deepseek 端点) Batch 9 (P1): SpeechHand/TwitterHand 真实实现 - SpeechHand: tts_method 字段 + Browser TTS 前端集成 (Web Speech API) - TwitterHand: 12 个 action 全部替换为 Twitter API v2 真实 HTTP 调用 - chatStore/useAutomationEvents 双路径 TTS 触发
137 lines
2.8 KiB
TOML
137 lines
2.8 KiB
TOML
[workspace]
|
|
resolver = "2"
|
|
members = [
|
|
# ZCLAW Core Crates
|
|
"crates/zclaw-types",
|
|
"crates/zclaw-memory",
|
|
"crates/zclaw-runtime",
|
|
"crates/zclaw-kernel",
|
|
# ZCLAW Extension Crates
|
|
"crates/zclaw-skills",
|
|
"crates/zclaw-hands",
|
|
"crates/zclaw-protocols",
|
|
"crates/zclaw-pipeline",
|
|
"crates/zclaw-growth",
|
|
# Desktop Application
|
|
"desktop/src-tauri",
|
|
# SaaS Backend
|
|
"crates/zclaw-saas",
|
|
]
|
|
|
|
[workspace.package]
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
license = "Apache-2.0 OR MIT"
|
|
repository = "https://github.com/zclaw/zclaw"
|
|
rust-version = "1.75"
|
|
|
|
[workspace.dependencies]
|
|
# Async runtime
|
|
tokio = { version = "1", features = ["full"] }
|
|
tokio-stream = "0.1"
|
|
futures = "0.3"
|
|
async-stream = "0.3"
|
|
|
|
# Serialization
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
toml = "0.8"
|
|
|
|
# Error handling
|
|
thiserror = "2"
|
|
anyhow = "1"
|
|
|
|
# Concurrency
|
|
dashmap = "6"
|
|
parking_lot = "0.12"
|
|
|
|
# Logging / Tracing
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
|
|
# Time
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
|
|
# IDs
|
|
uuid = { version = "1", features = ["v4", "v5", "serde"] }
|
|
|
|
# Database
|
|
sqlx = { version = "0.7", features = ["runtime-tokio", "sqlite", "postgres"] }
|
|
libsqlite3-sys = { version = "0.27", features = ["bundled"] }
|
|
|
|
# HTTP client (for LLM drivers)
|
|
reqwest = { version = "0.12", default-features = false, features = ["json", "stream", "rustls-tls"] }
|
|
|
|
# URL parsing
|
|
url = "2"
|
|
|
|
# Async trait
|
|
async-trait = "0.1"
|
|
|
|
# Base64
|
|
base64 = "0.22"
|
|
|
|
# Bytes
|
|
bytes = "1"
|
|
|
|
# Secrets
|
|
secrecy = "0.8"
|
|
|
|
# Random
|
|
rand = "0.8"
|
|
|
|
# Crypto
|
|
sha2 = "0.10"
|
|
aes-gcm = "0.10"
|
|
|
|
# Home directory
|
|
dirs = "6"
|
|
|
|
# Regex
|
|
regex = "1"
|
|
|
|
# Shell parsing
|
|
shlex = "1"
|
|
|
|
# WASM runtime
|
|
wasmtime = { version = "43", default-features = false, features = ["cranelift"] }
|
|
wasmtime-wasi = { version = "43" }
|
|
|
|
# Testing
|
|
tempfile = "3"
|
|
|
|
# SaaS dependencies
|
|
axum = { version = "0.7", features = ["macros"] }
|
|
axum-extra = { version = "0.9", features = ["typed-header"] }
|
|
tower = { version = "0.4", features = ["util"] }
|
|
tower-http = { version = "0.5", features = ["cors", "trace", "limit", "timeout"] }
|
|
jsonwebtoken = "9"
|
|
argon2 = "0.5"
|
|
totp-rs = "5"
|
|
hex = "0.4"
|
|
|
|
# Internal crates
|
|
zclaw-types = { path = "crates/zclaw-types" }
|
|
zclaw-memory = { path = "crates/zclaw-memory" }
|
|
zclaw-runtime = { path = "crates/zclaw-runtime" }
|
|
zclaw-kernel = { path = "crates/zclaw-kernel" }
|
|
zclaw-skills = { path = "crates/zclaw-skills" }
|
|
zclaw-hands = { path = "crates/zclaw-hands" }
|
|
zclaw-protocols = { path = "crates/zclaw-protocols" }
|
|
zclaw-pipeline = { path = "crates/zclaw-pipeline" }
|
|
zclaw-growth = { path = "crates/zclaw-growth" }
|
|
zclaw-saas = { path = "crates/zclaw-saas" }
|
|
|
|
[profile.release]
|
|
lto = true
|
|
codegen-units = 1
|
|
strip = true
|
|
opt-level = 3
|
|
|
|
[profile.release-fast]
|
|
inherits = "release"
|
|
lto = "thin"
|
|
codegen-units = 8
|
|
opt-level = 2
|
|
strip = false
|