[package]
edition = "2024"
rust-version = "1.89"
name = "okbot-agent"
version = "0.10.1"
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.5.0"
[dependencies.okbot-core]
version = "0.10.1"
[dependencies.reqwest]
version = "0.13"
features = [
"rustls-no-provider",
"json",
"form",
]
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[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.toml]
version = "1"
[dependencies.tracing]
version = "0.1"
[dev-dependencies.axum]
version = "0.8"
features = [
"tokio",
"http1",
"json",
]
default-features = false
[dev-dependencies.okbot-testkit]
version = "0.10.1"
[dev-dependencies.rustls]
version = "0.23"
features = [
"ring",
"std",
"tls12",
]
default-features = false
[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"