Files
zclaw_openfang/crates/zclaw-runtime/Cargo.toml
iven 820e3a1ffe feat(runtime): add streaming support to LlmDriver trait
- Add StreamChunk and StreamEvent types for Tauri event emission
- Add stream() method to LlmDriver trait with async-stream
- Implement Anthropic streaming with SSE parsing
- Implement OpenAI streaming with SSE parsing
- Add placeholder stream() for Gemini and Local drivers

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-24 01:44:40 +08:00

37 lines
844 B
TOML

[package]
name = "zclaw-runtime"
version.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true
description = "ZCLAW runtime with LLM drivers and agent loop"
[dependencies]
zclaw-types = { workspace = true }
zclaw-memory = { workspace = true }
tokio = { workspace = true }
tokio-stream = { workspace = true }
futures = { workspace = true }
async-stream = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
thiserror = { workspace = true }
uuid = { workspace = true }
chrono = { workspace = true }
tracing = { workspace = true }
async-trait = { workspace = true }
# HTTP client
reqwest = { workspace = true }
# Secrets
secrecy = { workspace = true }
# Random
rand = { workspace = true }
# Crypto for hashing
sha2 = { workspace = true }