[package]
name = "second-brain-api"
version.workspace = true
edition.workspace = true
description = "HTTP API server for second-brain: REST endpoints for recall, remember, and ingest"
license.workspace = true
repository.workspace = true
keywords = ["memory", "api", "knowledge-graph", "ai-agents"]
categories = ["web-programming::http-server"]
publish = true

[dependencies]
second-brain-core = { path = "../core", version = "0.5.3" }
second-brain-adapters = { path = "../adapters", version = "0.5.3" }
second-brain-sync = { path = "../sync", version = "0.5.3" }
chrono.workspace = true
anyhow.workspace = true
serde.workspace = true
serde_json.workspace = true
tokio.workspace = true
uuid.workspace = true
tracing.workspace = true
tracing-subscriber.workspace = true
axum = "0.8"
tower-http = { version = "0.6", features = ["cors", "trace"] }
notify = "7"
rand = "0.9"
clap = { version = "4", features = ["derive"] }

[[bin]]
name = "sb-recall-eval"
path = "src/bin/recall_eval.rs"
