TUI:
- Split 1,756-line app.rs monolith into 7 modules (types, draw, commands, input, file_transfer, network, mod)
- Message timestamps [HH:MM], scrolling (PageUp/Down/arrows), connection status dot, unread badge
- /help command, terminal bell on incoming DM, /devices + /kick commands
- 44 unit tests (types, input, draw with TestBackend)
Server — WZP Call Infrastructure (FC-2/3/5/6/7/10):
- Call state management (CallState, CallStatus, active_calls, calls + missed_calls sled trees)
- WS call signal awareness (Offer/Answer/Hangup update state, missed call on offline)
- Group call endpoint (POST /groups/:name/call with SHA-256 room ID, fan-out)
- Presence API (GET /presence/:fp, POST /presence/batch)
- Missed call flush on WS reconnect
- WZP relay config + CORS
Server — Security (FC-P1):
- Auth enforcement middleware (AuthFingerprint extractor on 13 write handlers)
- Session auto-recovery (delete corrupted ratchet, show [session reset])
- WS connection cap (5/fingerprint) + global concurrency limit (200)
- Device management (GET /devices, POST /devices/:id/kick, POST /devices/revoke-all)
Server — Federation:
- Two-server federation via JSON config (--federation flag)
- Periodic presence sync (every 5s, full-state, self-healing)
- Message forwarding via HTTP POST with SHA-256(secret||body) auth
- Graceful degradation (peer down = queue locally)
- deliver_or_queue() replaces push-or-queue in ws.rs + messages.rs
Client — Group Messaging:
- SenderKeyDistribution storage + GroupSenderKey decryption in TUI
- sender_keys sled tree in LocalDb
WASM:
- All 8 WireMessage variants handled (no more "unsupported")
- decrypt_group_message() + create_sender_key_from_distribution() exports
- CallSignal parsing with signal_type mapping
Docs:
- ARCHITECTURE.md rewritten with Mermaid diagrams
- README.md created
- TASK_PLAN.md with FC-P{phase}-T{task} naming
- PROGRESS.md updated to v0.0.21
WZP submodule updated to 6f4e8eb (IAX2 trunking, adaptive quality, metrics, all S-tasks done)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
83 lines
1.6 KiB
TOML
83 lines
1.6 KiB
TOML
[workspace]
|
|
resolver = "2"
|
|
members = [
|
|
"crates/warzone-protocol",
|
|
"crates/warzone-server",
|
|
"crates/warzone-client",
|
|
"crates/warzone-mule",
|
|
"crates/warzone-wasm",
|
|
]
|
|
|
|
[workspace.package]
|
|
version = "0.0.21"
|
|
edition = "2021"
|
|
license = "MIT"
|
|
rust-version = "1.75"
|
|
|
|
[workspace.dependencies]
|
|
# Crypto
|
|
ed25519-dalek = { version = "2", features = ["serde", "rand_core"] }
|
|
x25519-dalek = { version = "2", features = ["serde", "static_secrets"] }
|
|
curve25519-dalek = "4"
|
|
chacha20poly1305 = "0.10"
|
|
hkdf = "0.12"
|
|
sha2 = "0.10"
|
|
argon2 = "0.5"
|
|
rand = "0.8"
|
|
|
|
# Ethereum compatibility
|
|
k256 = { version = "0.13", features = ["ecdsa", "serde"] }
|
|
tiny-keccak = { version = "2", features = ["keccak"] }
|
|
|
|
# BIP39
|
|
bip39 = "2"
|
|
|
|
# Serialization
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
bincode = "1"
|
|
|
|
# Async
|
|
tokio = { version = "1", features = ["full"] }
|
|
|
|
# Server
|
|
axum = { version = "0.7", features = ["ws"] }
|
|
tower = { version = "0.4", features = ["limit"] }
|
|
tower-http = { version = "0.5", features = ["cors", "trace"] }
|
|
|
|
# Client HTTP
|
|
reqwest = { version = "0.12", features = ["json"] }
|
|
|
|
# Database
|
|
sled = "0.34"
|
|
|
|
# CLI
|
|
clap = { version = "4", features = ["derive"] }
|
|
|
|
# TUI
|
|
ratatui = "0.28"
|
|
crossterm = "0.28"
|
|
|
|
# Logging
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
|
|
# Error handling
|
|
thiserror = "2"
|
|
anyhow = "1"
|
|
|
|
# Time
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
|
|
# Hex encoding
|
|
hex = "0.4"
|
|
|
|
# Base64
|
|
base64 = "0.22"
|
|
|
|
# UUID
|
|
uuid = { version = "1", features = ["v4", "serde"] }
|
|
|
|
# Zero secrets in memory
|
|
zeroize = { version = "1", features = ["derive"] }
|