Files
adm f74d53e446 memory: per-session semantic memory (strata-memory crate, Qdrant Edge + BGE-M3)
remember/recall/forget agent tools, one-way opt-in latch with embedder gate, fail-open Store-authoritative design, keyword fallback, model-id rebuild, GUI toggle + i18n; docs updated; split-debuginfo=unpacked
2026-11-30 11:37:48 +01:00

58 lines
2.4 KiB
TOML

[package]
name = "strata-ctl"
version = "0.1.0"
edition = "2021"
description = "Rust control layer for the Strata inference engine: OpenAI-compatible HTTP API over the engine's line protocol"
license = "MIT"
[workspace]
# strata-ctl is both the root package and the workspace root. `strata-memory` is a
# co-located crate (promotable to its own repo later without a rewrite). `upstream/`
# is the reference Strata checkout and must never be pulled into the build.
members = ["strata-memory"]
exclude = ["upstream"]
resolver = "2"
[dependencies]
anyhow = "1"
thiserror = "2"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tokio = { version = "1", features = ["rt-multi-thread", "process", "io-util", "sync", "time", "macros", "signal", "net"] }
tracing = "0.1"
axum = "0.8"
futures = "0.3.34"
tokio-stream = "0.1.19"
tokenizers = "0.23.2"
minijinja = { version = "3.1.0", features = ["serde"] }
image = "0.25.10"
base64 = "0.23.1"
ureq = "3.5.2"
tracing-subscriber = { version = "0.3.23", features = ["env-filter"] }
# Embedded SQLite for the GUI's session/context store (bundled = compiled into the
# binary, no external service). Behind a `Store` trait so it can be swapped later.
rusqlite = { version = "0.32", features = ["bundled"] }
# Embeds the web/ GUI assets into the binary (single-binary, offline-capable).
rust-embed = "8"
pulldown-cmark = "0.13.6"
pulldown-latex = "0.8.0"
rmcp = { version = "3.12.0", default-features = false, features = ["client", "transport-streamable-http-client-reqwest", "reqwest"] }
# Semantic memory capability (embedder seam + Qdrant Edge index + symbolic vector
# workspace). Co-located workspace crate; strata-ctl is its consumer.
strata-memory = { path = "strata-memory" }
[dev-dependencies]
http-body-util = "0.1.5"
tempfile = "3"
tokio = { version = "1", features = ["full"] }
tower = { version = "0.5", features = ["util"] }
# Keep FULL debuginfo, but in separate .dwo files written once per crate instead of
# duplicated into every linked binary. This workspace statically links a heavy tree
# (qdrant-edge, tokenizers, crypto/regex natives) into 50+ test/example binaries; with
# embedded debuginfo each link wrote hundreds of MB, hammering the NVMe. `unpacked`
# preserves IDE debugging while cutting per-link write volume dramatically. Applies
# to the `test` profile too (it inherits `dev`).
[profile.dev]
split-debuginfo = "unpacked"