- 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.
22 lines
553 B
TOML
22 lines
553 B
TOML
[package]
|
|
name = "agentsd-plugin-claudecode"
|
|
version = "2.1.169"
|
|
edition = "2021"
|
|
|
|
[[bin]]
|
|
name = "agentsd-plugin-claudecode"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
agentsd-plugin-sdk = { path = "../plugin-sdk" }
|
|
agentsd-proto = { path = "../../core/proto" }
|
|
anyhow = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
tokio = { workspace = true }
|
|
tokio-stream = { workspace = true }
|
|
tonic = { workspace = true }
|
|
futures-core = { workspace = true }
|
|
tracing = { workspace = true }
|
|
tracing-subscriber = { workspace = true }
|