[package]
name = "edgecrab-core"
description = "Agent core: conversation loop, prompt builder, context compression, model routing"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true

[features]
default = ["bedrock-model-discovery"]
bedrock-model-discovery = ["dep:aws-config", "dep:aws-sdk-bedrock"]

[dependencies]
edgecrab-types = { workspace = true }
edgecrab-plugins = { workspace = true }
edgecrab-lsp = { workspace = true }
edgecrab-tools = { workspace = true }
edgecrab-state = { workspace = true }
edgecrab-security = { workspace = true }
edgequake-llm = { workspace = true }
anyhow = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
serde_yml = { workspace = true }
tokio = { workspace = true }
tokio-util = { workspace = true }
futures = { workspace = true }
async-trait = { workspace = true }
tracing = { workspace = true }
uuid = { workspace = true }
chrono = { workspace = true }
dirs = { workspace = true }
dotenvy = { workspace = true }
reqwest = { workspace = true }
aws-config = { version = "1.8.15", features = ["behavior-version-latest"], optional = true }
aws-sdk-bedrock = { version = "1.140.0", optional = true }

[dev-dependencies]
tokio = { workspace = true }
mockall = { workspace = true }
insta = { workspace = true }
tempfile = { workspace = true }
