[package]
edition = "2021"
rust-version = "1.98.0"
name = "rightkit-agent-tools"
version = "0.1.5"
build = false
include = [
"src/**",
"tests/**",
"docs/**",
"README.md",
"CHANGELOG.md",
"LICENSE-MIT",
"LICENSE-APACHE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "One typed tool interface for agents over rightkit-automation, rightkit-qa-driver, rightkit-browser and each app's engine commands (via rightkit-daemon), plus the `right-ctl <app> <command>` CLI."
readme = "README.md"
keywords = [
"agents",
"automation",
"cli",
"tools",
]
categories = [
"command-line-utilities",
"development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/bogusyogi/rightkit"
[package.metadata.rightkit]
continuous = "held-resource"
[[package.metadata.rightkit.resources]]
api = "BrowserTools::new"
file = "src/backends/web.rs"
holds = [
"task",
"child",
"memory",
]
scale = "one tokio multi-thread runtime with 2 worker threads (parked when idle) plus at most one browser session, a Chrome child opened by browser.open; fixed per BrowserTools instance"
release = "Drop of BrowserTools (BrowserTools::shutdown closes the browser now)"
[[package.metadata.rightkit.resources]]
api = "speech_tools"
file = "src/backends/speech.rs"
holds = ["thread"]
scale = "one cancellation-bridge thread per transcribe tool call, polling a flag every 50 ms while the call runs; none exist while idle"
release = "the tool call returns (the thread is joined before Transcribe::call returns)"
[features]
automation = ["dep:rightkit-automation"]
browser = [
"dep:rightkit-browser",
"dep:tokio",
]
default = [
"automation",
"browser",
"speech",
]
demo = []
speech = ["dep:rightkit-speech-client"]
[lib]
name = "rightkit_agent_tools"
path = "src/lib.rs"
[[bin]]
name = "right-ctl"
path = "src/bin/right-ctl.rs"
[[test]]
name = "demo_absent"
path = "tests/demo_absent.rs"
[[test]]
name = "demo_cli"
path = "tests/demo_cli.rs"
[[test]]
name = "peer_executable"
path = "tests/peer_executable.rs"
[dependencies.rightkit-automation]
version = "0.4.0"
optional = true
[dependencies.rightkit-browser]
version = "0.3.0"
optional = true
[dependencies.rightkit-daemon]
version = "0.2.4"
[dependencies.rightkit-speech-client]
version = "0.3.0"
optional = true
[dependencies.serde]
version = "1.0.229"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.154"
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"time",
]
optional = true
[dev-dependencies.tempfile]
version = "3"