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
修复内容: 1. 修复 dev_server.rs 编译错误 - 使用 Vec::new() 替代数组转换 2. 修复 pipeline-client.ts - 添加 Tauri 运行时检测和开发服务器 fallback 3. 更新 troubleshooting.md - 添加开发服务器使用说明 测试结果: - 所有前端模块正常加载 - 开发服务器 API 响应正确 - 类型检查通过
77 lines
1.8 KiB
TOML
77 lines
1.8 KiB
TOML
[package]
|
|
name = "desktop"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
description = "ZCLAW Desktop Application"
|
|
authors = ["ZCLAW Team"]
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
rust-version.workspace = true
|
|
|
|
[lib]
|
|
name = "desktop_lib"
|
|
crate-type = ["staticlib", "cdylib", "rlib"]
|
|
|
|
[build-dependencies]
|
|
tauri-build = { version = "2", features = [] }
|
|
|
|
[features]
|
|
default = []
|
|
dev-server = ["dep:axum", "dep:tower-http"]
|
|
|
|
[dependencies]
|
|
# ZCLAW crates
|
|
zclaw-types = { workspace = true }
|
|
zclaw-memory = { workspace = true }
|
|
zclaw-runtime = { workspace = true }
|
|
zclaw-kernel = { workspace = true }
|
|
zclaw-skills = { workspace = true }
|
|
zclaw-hands = { workspace = true }
|
|
zclaw-pipeline = { workspace = true }
|
|
zclaw-growth = { workspace = true }
|
|
|
|
# Tauri
|
|
tauri = { version = "2", features = [] }
|
|
tauri-plugin-opener = "2"
|
|
|
|
# Async runtime
|
|
tokio = { workspace = true }
|
|
futures = { workspace = true }
|
|
async-trait = { workspace = true }
|
|
|
|
# Serialization
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
toml = "0.8"
|
|
|
|
# HTTP client
|
|
reqwest = { version = "0.12", default-features = false, features = ["json", "stream", "rustls-tls", "blocking"] }
|
|
|
|
# Utilities
|
|
chrono = { workspace = true }
|
|
regex = { workspace = true }
|
|
dirs = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
uuid = { workspace = true }
|
|
base64 = { workspace = true }
|
|
tracing = { workspace = true }
|
|
secrecy = { workspace = true }
|
|
|
|
# Browser automation (existing)
|
|
fantoccini = "0.21"
|
|
|
|
# Secure storage (OS keyring/keychain)
|
|
keyring = "3"
|
|
|
|
# Encryption
|
|
aes-gcm = { workspace = true }
|
|
sha2 = { workspace = true }
|
|
rand = { workspace = true }
|
|
|
|
# SQLite (keep for backward compatibility during migration)
|
|
sqlx = { workspace = true }
|
|
|
|
# Development server (optional, only for debug builds)
|
|
axum = { version = "0.7", optional = true }
|
|
tower-http = { version = "0.5", features = ["cors"], optional = true }
|