- Updated `DisplaySyscall` to use `tokio::io::AsyncWriteExt` for asynchronous text output. - Refactored `FsSyscall` to read files asynchronously with offset and length handling. - Modified `MemorySyscall` to use `tokio::task::spawn_blocking` for database operations, allowing async access to SQLite. - Enhanced `NetworkSyscall` to utilize `reqwest` for HTTP requests, replacing the previous `curl` command execution. - Improved `ProcessSyscall` to manage subprocesses with async tasks for stdin, stdout, and stderr handling. - Updated `TimerSyscall` to simplify timer management. - Adjusted plugin implementations for better async support and error handling. - Added `tokio-stream` and `tracing-subscriber` dependencies to `Cargo.toml` for enhanced async stream handling and logging.
30 lines
735 B
TOML
30 lines
735 B
TOML
[workspace]
|
|
resolver = "2"
|
|
members = [
|
|
"core/agentsd",
|
|
"core/proto",
|
|
"plugins/plugin-sdk",
|
|
"plugins/echo",
|
|
"plugins/ai_test",
|
|
"plugins/hermes",
|
|
"plugins/claudecode",
|
|
]
|
|
|
|
[workspace.dependencies]
|
|
tokio = { version = "1", features = ["full"] }
|
|
tokio-stream = "0.1"
|
|
tonic = "0.12"
|
|
prost = "0.13"
|
|
tonic-build = "0.12"
|
|
rusqlite = { version = "0.32", features = ["bundled"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
anyhow = "1"
|
|
uuid = { version = "1", features = ["v4"] }
|
|
notify = "7"
|
|
futures-core = "0.3"
|
|
reqwest = { version = "0.12", default-features = false, features = ["rustls-tls"] }
|
|
libc = "0.2"
|