[package]
edition = "2024"
rust-version = "1.96"
name = "causa-runtime"
version = "0.0.1"
authors = ["Preference"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Causa runtime — optional components: execution stack (turn loop, dispatch, streaming, pause/resume, session)"
readme = "README.md"
keywords = [
"agent",
"llm",
"tools",
"streaming",
"driver",
]
categories = ["asynchronous"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Preference-cmd/causa"
resolver = "2"
[lib]
name = "causa_runtime"
path = "src/lib.rs"
[[example]]
name = "allow_deny_filter"
path = "examples/allow_deny_filter.rs"
[[example]]
name = "approval_pause_resume"
path = "examples/approval_pause_resume.rs"
[[example]]
name = "conversation_persistence"
path = "examples/conversation_persistence.rs"
[[example]]
name = "media_feedback"
path = "examples/media_feedback.rs"
[[example]]
name = "streaming_print"
path = "examples/streaming_print.rs"
[[test]]
name = "budget"
path = "tests/budget.rs"
[[test]]
name = "conversation_entries"
path = "tests/conversation_entries.rs"
[[test]]
name = "conversation_state"
path = "tests/conversation_state.rs"
[[test]]
name = "driver"
path = "tests/driver.rs"
[[test]]
name = "interaction"
path = "tests/interaction.rs"
[[test]]
name = "recoverable_interruption"
path = "tests/recoverable_interruption.rs"
[[test]]
name = "serialization"
path = "tests/serialization.rs"
[[test]]
name = "session_basics"
path = "tests/session_basics.rs"
[[test]]
name = "session_cancel"
path = "tests/session_cancel.rs"
[[test]]
name = "session_checkpoint"
path = "tests/session_checkpoint.rs"
[[test]]
name = "session_coordination"
path = "tests/session_coordination.rs"
[[test]]
name = "session_dedup"
path = "tests/session_dedup.rs"
[[test]]
name = "session_lifecycle"
path = "tests/session_lifecycle.rs"
[[test]]
name = "session_resume"
path = "tests/session_resume.rs"
[[test]]
name = "session_shutdown"
path = "tests/session_shutdown.rs"
[[test]]
name = "session_smoke"
path = "tests/session_smoke.rs"
[[test]]
name = "session_task_drop"
path = "tests/session_task_drop.rs"
[[test]]
name = "standalone_executor"
path = "tests/standalone_executor.rs"
[[test]]
name = "streaming"
path = "tests/streaming.rs"
[[test]]
name = "tracing_span"
path = "tests/tracing_span.rs"
[[test]]
name = "unknown_actions"
path = "tests/unknown_actions.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.causa-kernel]
version = "0.0.1"
[dependencies.futures-util]
version = "0.3"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"rt",
"macros",
"sync",
"time",
]
[dependencies.tokio-util]
version = "0.7"
features = [
"io",
"rt",
]
[dependencies.tracing]
version = "0.1"
[dev-dependencies.blake3]
version = "1"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"time",
"sync",
"fs",
]
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]