[package]
edition = "2024"
rust-version = "1.95"
name = "merry-runtime"
version = "0.1.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Structured session, task ledger, context compaction, memory, permission, and tool runtime for Merry."
homepage = "https://github.com/locez/merry"
readme = false
keywords = [
"ai",
"agent",
"llm",
"cli",
"coding",
]
categories = [
"asynchronous",
"development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/locez/merry"
[features]
bash-ast = [
"dep:tree-sitter",
"dep:tree-sitter-bash",
]
bundled-sqlite = ["rusqlite/bundled"]
default = [
"bundled-sqlite",
"bash-ast",
]
[lib]
name = "merry_runtime"
path = "src/lib.rs"
[[test]]
name = "agent_loop"
path = "tests/agent_loop.rs"
[[test]]
name = "cancellation"
path = "tests/cancellation.rs"
[[test]]
name = "context"
path = "tests/context.rs"
[[test]]
name = "interactive_agent_loop"
path = "tests/interactive_agent_loop.rs"
[[test]]
name = "plan_mode_and_todos"
path = "tests/plan_mode_and_todos.rs"
[[test]]
name = "provider_boundary"
path = "tests/provider_boundary.rs"
[[test]]
name = "public_events"
path = "tests/public_events.rs"
[[test]]
name = "runtime_flow"
path = "tests/runtime_flow.rs"
[[test]]
name = "user_input"
path = "tests/user_input.rs"
[dependencies.base64]
version = "0.23"
[dependencies.futures-core]
version = "0.3"
[dependencies.futures-util]
version = "0.3"
[dependencies.jsonschema]
version = "0.63"
default-features = false
[dependencies.merry-core]
version = "0.1.4"
[dependencies.merry-llm]
version = "0.1.4"
[dependencies.merry-tools-macros]
version = "0.1.4"
[dependencies.rusqlite]
version = "0.43"
[dependencies.schemars]
version = "1.0"
features = ["derive"]
[dependencies.serde]
version = "1.0"
features = [
"derive",
"rc",
]
[dependencies.serde_json]
version = "1.0"
[dependencies.serde_norway]
version = "0.9"
[dependencies.sha2]
version = "0.11"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1"
features = [
"rt",
"sync",
"macros",
"io-util",
"fs",
"process",
"time",
]
[dependencies.tokio-stream]
version = "0.1"
features = ["sync"]
default-features = false
[dependencies.tokio-util]
version = "0.7"
[dependencies.tracing]
version = "0.1"
[dependencies.tree-sitter]
version = "0.27"
optional = true
[dependencies.tree-sitter-bash]
version = "0.25"
optional = true
[dev-dependencies.futures-executor]
version = "0.3"
[dev-dependencies.futures-util]
version = "0.3"
[dev-dependencies.merry-core]
version = "0.1.4"
[dev-dependencies.merry-llm]
version = "0.1.4"
features = ["test-utils"]
[dev-dependencies.merry-provider-openai]
version = "0.1.4"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1"
features = [
"rt",
"sync",
"macros",
"io-util",
"fs",
"process",
"time",
]
[dev-dependencies.tokio-util]
version = "0.7"
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = [
"fmt",
"json",
"env-filter",
]
[lints.rust]
unsafe_code = "deny"