bashkit-scripted-tool 0.20.1

ScriptedTool for bashkit: compose ToolDef callbacks into one LLM tool driven by bash scripts
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "bashkit-scripted-tool"
version = "0.20.1"
authors = [
    "Mykhailo Chalyi <mike@chaliy.name>",
    "Everruns",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "ScriptedTool for bashkit: compose ToolDef callbacks into one LLM tool driven by bash scripts"
readme = "README.md"
keywords = [
    "bash",
    "llm",
    "tool",
    "agent",
    "everruns",
]
categories = [
    "command-line-utilities",
    "parser-implementations",
]
license = "MIT"
repository = "https://github.com/everruns/bashkit"
resolver = "2"

[features]
default = []
jq = ["bashkit/jq"]
python = ["bashkit/python"]
tracing = ["dep:tracing"]
typescript = ["bashkit/typescript"]

[lib]
name = "bashkit_scripted_tool"
path = "src/lib.rs"

[[example]]
name = "scripted_tool"
path = "examples/scripted_tool.rs"

[[example]]
name = "scripted_tool_clap_builtin"
path = "examples/scripted_tool_clap_builtin.rs"

[[test]]
name = "request_lifecycle"
path = "tests/request_lifecycle.rs"

[[test]]
name = "tool_registry_tests"
path = "tests/tool_registry_tests.rs"
required-features = [
    "python",
    "typescript",
]

[dependencies.async-trait]
version = "0.1"

[dependencies.bashkit]
version = "0.20.1"
features = ["bash_tool"]
default-features = false

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.tokio]
version = "1"
features = [
    "sync",
    "macros",
    "io-util",
    "rt",
    "time",
]

[dependencies.tower]
version = "0.5"
features = ["util"]

[dependencies.tracing]
version = "0.1"
optional = true

[dev-dependencies.anyhow]
version = "1"

[dev-dependencies.clap]
version = "4"
features = [
    "derive",
    "std",
    "help",
    "usage",
    "error-context",
]
default-features = false

[dev-dependencies.tokio]
version = "1"
features = [
    "sync",
    "macros",
    "io-util",
    "rt",
    "time",
    "rt-multi-thread",
    "macros",
    "time",
]

[dev-dependencies.tokio-test]
version = "0.4"