[package]
edition = "2024"
rust-version = "1.89"
name = "okbot-agent"
version = "0.6.0"
authors = ["The okbot contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Agent backends for okbot: agent CLIs through agent-call, fallback chains and CLI detection."
homepage = "https://github.com/tidusvn05/okbot"
readme = false
keywords = [
"chatbot",
"agent",
"zalo",
"okbase",
"llm",
]
categories = ["command-line-utilities"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/tidusvn05/okbot"
[lib]
name = "okbot_agent"
path = "src/lib.rs"
[[test]]
name = "cli_backend"
path = "tests/cli_backend.rs"
[[test]]
name = "injection"
path = "tests/injection.rs"
[dependencies.agent-call]
version = "0.4.2"
[dependencies.okbot-core]
version = "0.6.0"
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"sync",
"time",
"signal",
"net",
"io-util",
"io-std",
"process",
"fs",
]
[dependencies.tracing]
version = "0.1"
[dev-dependencies.okbot-testkit]
version = "0.6.0"
[dev-dependencies.tempfile]
version = "3"
[lints.clippy]
doc_markdown = "allow"
many_single_char_names = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
return_self_not_must_use = "allow"
similar_names = "allow"
single_match_else = "allow"
struct_excessive_bools = "allow"
unwrap_used = "warn"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"