[package]
edition = "2021"
rust-version = "1.75"
name = "harness-bash"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Bash tool for AI agent harnesses — autonomous shell execution with tokio process management, cwd-carry, inactivity timeout, head+tail spill, background jobs"
homepage = "https://github.com/avifenesh/tools/tree/main/crates/bash#readme"
documentation = "https://docs.rs/harness-bash"
readme = "README.md"
keywords = [
"ai",
"agent",
"llm",
"shell",
"subprocess",
]
categories = [
"api-bindings",
"command-line-utilities",
]
license = "MIT"
repository = "https://github.com/avifenesh/tools"
[lib]
name = "harness_bash"
path = "src/lib.rs"
[[bin]]
name = "harness-bash-cli"
path = "src/bin/cli.rs"
[[test]]
name = "bash"
path = "tests/bash.rs"
[dependencies.anyhow]
version = "1"
[dependencies.async-trait]
version = "0.1"
[dependencies.harness-core]
version = "0.1.0"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"rt",
"macros",
"io-std",
"io-util",
"process",
"signal",
"sync",
"time",
"rt",
"rt-multi-thread",
"macros",
"io-std",
"io-util",
"process",
"signal",
"sync",
"time",
"fs",
]
[dev-dependencies.tempfile]
version = "3"