[package]
edition = "2021"
rust-version = "1.78"
name = "rpi-tools"
version = "0.3.21"
authors = ["BigFish <bigfish1913@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Built-in agent tools (read/write/edit/bash/grep/find/ls) + ExecutionEnv, Rust port of pi harness tools"
homepage = "https://rpi.laofu.online/"
documentation = "https://docs.rs/rpi-tools"
readme = "README.md"
keywords = [
"agent",
"llm",
"ai",
"claude",
"tools",
]
categories = [
"api-bindings",
"asynchronous",
"development-tools",
"artificial-intelligence",
]
license = "MIT"
repository = "https://github.com/bigfish1913/pi-rust"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
default = []
webp = ["image/webp"]
[lib]
name = "rpi_tools"
path = "src/lib.rs"
[[test]]
name = "abort_bracketing"
path = "tests/abort_bracketing.rs"
[[test]]
name = "bash"
path = "tests/bash.rs"
[[test]]
name = "bash_stdout_and_stdin_hold"
path = "tests/bash_stdout_and_stdin_hold.rs"
[[test]]
name = "bash_throttle"
path = "tests/bash_throttle.rs"
[[test]]
name = "edit_fuzzy"
path = "tests/edit_fuzzy.rs"
[[test]]
name = "edit_mutation_queue_sharing"
path = "tests/edit_mutation_queue_sharing.rs"
[[test]]
name = "execution_env_conformance"
path = "tests/execution_env_conformance.rs"
[[test]]
name = "find"
path = "tests/find.rs"
[[test]]
name = "grep"
path = "tests/grep.rs"
[[test]]
name = "host_private_env"
path = "tests/host_private_env.rs"
[[test]]
name = "ls"
path = "tests/ls.rs"
[[test]]
name = "read_truncation"
path = "tests/read_truncation.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.base64]
version = "0.22"
[dependencies.dirs]
version = "5"
[dependencies.futures]
version = "0.3"
[dependencies.globset]
version = "=0.4.15"
[dependencies.image]
version = "0.25"
[dependencies.regex]
version = "1"
[dependencies.rpi-agent]
version = "0.3.21"
[dependencies.rpi-ai]
version = "0.3.21"
[dependencies.rpi-plugin-sdk]
version = "0.3.21"
[dependencies.schemars]
version = "0.8"
features = ["preserve_order"]
[dependencies.serde]
version = "1"
features = [
"derive",
"rc",
]
[dependencies.serde_json]
version = "1"
features = [
"preserve_order",
"raw_value",
]
[dependencies.similar]
version = "2"
features = ["text"]
[dependencies.tempfile]
version = "3"
[dependencies.thiserror]
version = "1"
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"time",
"fs",
"process",
"sync",
"io-util",
]
[dependencies.tokio-util]
version = "0.7"
features = ["rt"]
[dependencies.tracing]
version = "0.1"
[dependencies.unicode-normalization]
version = "0.1"
[dependencies.uuid]
version = "1"
features = [
"v4",
"v7",
]
[dev-dependencies.base64]
version = "0.22"
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"time",
"fs",
"process",
"sync",
"io-util",
"macros",
"rt-multi-thread",
"time",
]
[target."cfg(unix)".dependencies.nix]
version = "0.29"
features = [
"process",
"signal",
]
[target."cfg(windows)".dependencies.windows-sys]
version = "0.59"
features = [
"Win32_Foundation",
"Win32_System_Threading",
]