替换 stub 为真实实现: - zclaw_log: 读取 guest 内存并 log - zclaw_http_fetch: ureq v3 同步 GET (10s timeout, network_allowed 守卫) - zclaw_file_read: 沙箱 /workspace 目录读取 (路径校验防逃逸) 添加 ureq v3 workspace 依赖, 25 测试全通过。
31 lines
805 B
TOML
31 lines
805 B
TOML
[package]
|
|
name = "zclaw-skills"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
rust-version.workspace = true
|
|
description = "ZCLAW skill system"
|
|
|
|
[features]
|
|
default = []
|
|
wasm = ["wasmtime", "wasmtime-wasi/p1", "ureq"]
|
|
|
|
[dependencies]
|
|
zclaw-types = { workspace = true }
|
|
|
|
tokio = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
tracing = { workspace = true }
|
|
async-trait = { workspace = true }
|
|
regex = { workspace = true }
|
|
uuid = { workspace = true }
|
|
shlex = { workspace = true }
|
|
|
|
# Optional WASM runtime (enable with --features wasm)
|
|
wasmtime = { workspace = true, optional = true }
|
|
wasmtime-wasi = { workspace = true, optional = true }
|
|
ureq = { workspace = true, optional = true }
|