[package]
edition = "2024"
name = "opi-agent"
version = "0.5.0"
authors = ["OdradekAI"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "General-purpose agent runtime with tool calling and session management"
readme = "README.md"
license = "MIT"
repository = "https://github.com/OdradekAI/opi"
resolver = "2"
[lib]
name = "opi_agent"
path = "src/lib.rs"
[[test]]
name = "agent_loop_mock"
path = "tests/agent_loop_mock.rs"
[[test]]
name = "agent_loop_semantics"
path = "tests/agent_loop_semantics.rs"
[[test]]
name = "agent_wrapper"
path = "tests/agent_wrapper.rs"
[[test]]
name = "compaction"
path = "tests/compaction.rs"
[[test]]
name = "extensions"
path = "tests/extensions.rs"
[[test]]
name = "hooks_queues"
path = "tests/hooks_queues.rs"
[[test]]
name = "image_capability"
path = "tests/image_capability.rs"
[[test]]
name = "image_input_session"
path = "tests/image_input_session.rs"
[[test]]
name = "image_tool_results"
path = "tests/image_tool_results.rs"
[[test]]
name = "retry_agent"
path = "tests/retry_agent.rs"
[[test]]
name = "sdk_embedding"
path = "tests/sdk_embedding.rs"
[[test]]
name = "session_branching"
path = "tests/session_branching.rs"
[[test]]
name = "session_contract"
path = "tests/session_contract.rs"
[[test]]
name = "session_storage"
path = "tests/session_storage.rs"
[[test]]
name = "streaming_proxy"
path = "tests/streaming_proxy.rs"
[[test]]
name = "thinking_integration"
path = "tests/thinking_integration.rs"
[[test]]
name = "tool_validation"
path = "tests/tool_validation.rs"
[[test]]
name = "transport"
path = "tests/transport.rs"
[dependencies.futures-util]
version = "0.3"
[dependencies.jsonschema]
version = "0.28"
[dependencies.opi-ai]
version = "0.5.0"
[dependencies.regex]
version = "1"
[dependencies.schemars]
version = "1"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.time]
version = "0.3"
features = [
"serde",
"formatting",
"parsing",
]
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"sync",
"time",
"process",
"io-util",
"fs",
]
[dependencies.tokio-util]
version = "0.7"
[dependencies.tracing]
version = "0.1"
[dependencies.uuid]
version = "1"
features = ["v7"]
[dev-dependencies.futures-util]
version = "0.3"
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.tempfile]
version = "3"