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
This commit is contained in:
adm committed 2026-11-30 11:37:48 +01:00
1 parent 6898cdf113
commit f74d53e446
24 files changed
+4853 -67

No files matched your search

+21
View File
@@ -5,6 +5,14 @@ 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"
@@ -29,8 +37,21 @@ 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"