[package]
edition = "2021"
name = "agent-block-core"
version = "0.33.0"
authors = ["Yutaka Nishimura"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Host runtime + Lua stdlib bridge + EventBus for agent-block"
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/ynishi/agent-block"
[features]
default = [
"mesh",
"sqlite",
"mcp-http",
]
mcp-http = ["agent-block-mcp/mcp-http"]
mesh = [
"dep:agent-mesh-core",
"dep:agent-mesh-sdk",
]
sqlite = [
"dep:rusqlite",
"mlua-batteries/sql",
"mlua-batteries/kv",
]
[lib]
name = "agent_block_core"
path = "src/lib.rs"
[[test]]
name = "auto_serve_bus"
path = "tests/auto_serve_bus.rs"
[[test]]
name = "default_agent"
path = "tests/default_agent.rs"
[[test]]
name = "extra_globals"
path = "tests/extra_globals.rs"
[[test]]
name = "host_tools"
path = "tests/host_tools.rs"
[[test]]
name = "mcp_cwd"
path = "tests/mcp_cwd.rs"
[[test]]
name = "shutdown_token"
path = "tests/shutdown_token.rs"
[dependencies.agent-block-mcp]
version = "0.33.0"
default-features = false
[dependencies.agent-block-types]
version = "0.33.0"
[dependencies.agent-mesh-core]
version = "0.3"
optional = true
[dependencies.agent-mesh-sdk]
version = "0.3"
optional = true
[dependencies.async-trait]
version = "0.1"
[dependencies.dotenvy]
version = "0.15"
[dependencies.llm-extract]
version = "0.1"
[dependencies.mlua]
version = "0.11"
features = [
"lua54",
"vendored",
"async",
"serialize",
]
[dependencies.mlua-batteries]
version = "0.3"
features = [
"json",
"fs",
"env",
"path",
"time",
"task",
]
[dependencies.mlua-isle]
version = "0.4.1"
features = [
"pool",
"tokio",
]
[dependencies.reqwest]
version = "0.12"
features = ["json"]
[dependencies.rusqlite]
version = "0.31"
features = ["bundled"]
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
"sync",
"time",
"process",
"signal",
]
[dependencies.tokio-util]
version = "0.7"
features = ["rt"]
[dependencies.tracing]
version = "0.1"
[dependencies.uuid]
version = "1"
features = ["v4"]
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1"
features = [
"full",
"test-util",
]
[dev-dependencies.tokio-util]
version = "0.7"
[target.'cfg(target_os = "linux")'.dependencies.landlock]
version = "0.4.7"
[target.'cfg(target_os = "linux")'.dependencies.libc]
version = "0.2"
[target.'cfg(target_os = "linux")'.dependencies.seccompiler]
version = "0.5.0"
[target."cfg(unix)".dev-dependencies.nix]
version = "0.29"
features = [
"signal",
"process",
]