diff --git a/Cargo.lock b/Cargo.lock index 89eb0def..c73e0fa4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -26,16 +26,6 @@ version = "1.0.104" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "330a5ed07fa54e4702c9d6c4174f74427fc0ef6e214bbd677ae50a5099946470" -[[package]] -name = "assert-json-diff" -version = "2.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "47e4f2b81832e72834d7518d8487a0396a28cc408186a2e8854c0f98011faf12" -dependencies = [ - "serde", - "serde_json", -] - [[package]] name = "async-trait" version = "0.1.92" @@ -282,24 +272,6 @@ version = "2.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4583a4551df46e2792f82ceeac45e850d2e2d5debba0b91f102385cda5b11f06" -[[package]] -name = "deadpool" -version = "0.12.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0be2b1d1d6ec8d846f05e137292d0b89133caf95ef33695424c09568bdd39b1b" -dependencies = [ - "deadpool-runtime", - "lazy_static", - "num_cpus", - "tokio", -] - -[[package]] -name = "deadpool-runtime" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "092966b41edc516079bdf31ec78a2e0588d1d0c08f78b91d8307215928642b2b" - [[package]] name = "digest" version = "0.10.7" @@ -407,12 +379,6 @@ version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "26b73573e6edcd2af0cdf47bd6cb58f0b3839491263c314eaad1ccf24430e1de" -[[package]] -name = "fnv" -version = "1.0.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" - [[package]] name = "foldhash" version = "0.2.0" @@ -577,25 +543,6 @@ dependencies = [ "log", ] -[[package]] -name = "h2" -version = "0.4.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9f37a958b41b3b19ee2707c06439c0e9e547e847223eb791ecb0cb821c65e27" -dependencies = [ - "atomic-waker", - "bytes", - "fnv", - "futures-core", - "futures-sink", - "http", - "indexmap", - "slab", - "tokio", - "tokio-util", - "tracing", -] - [[package]] name = "hashbrown" version = "0.16.1" @@ -623,12 +570,6 @@ dependencies = [ "hashbrown 0.17.1", ] -[[package]] -name = "hermit-abi" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc0fef456e4baa96da950455cd02c081ca953b141298e41db3fc7e36b1da849c" - [[package]] name = "hex" version = "0.4.3" @@ -705,7 +646,6 @@ dependencies = [ "bytes", "futures-channel", "futures-core", - "h2", "http", "http-body", "httparse", @@ -854,12 +794,6 @@ dependencies = [ "wasm-bindgen", ] -[[package]] -name = "lazy_static" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" - [[package]] name = "libc" version = "0.2.189" @@ -1002,16 +936,6 @@ dependencies = [ "autocfg", ] -[[package]] -name = "num_cpus" -version = "1.17.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91df4bbde75afed763b708b7eee1e8e7651e02d97f6d5dd763e89367e957b23b" -dependencies = [ - "hermit-abi", - "libc", -] - [[package]] name = "objc2" version = "0.6.4" @@ -1830,7 +1754,6 @@ version = "1.16.0" dependencies = [ "anyhow", "async-trait", - "log", "serde", "serde_json", "tinymemory-api", @@ -1892,7 +1815,6 @@ dependencies = [ "axum", "chrono", "dirs", - "futures", "log", "parking_lot", "rand 0.10.2", @@ -1905,19 +1827,15 @@ dependencies = [ "tempfile", "thiserror", "tinycortex", - "tinycortex-api", "tinyinference", "tinymemory", "tinymemory-api", "tinymemory-conformance", "tinymemory-sources", - "tinymemory-sync", "tokio", "tracing", - "url", "uuid", "walkdir", - "wiremock", ] [[package]] @@ -1989,13 +1907,11 @@ dependencies = [ name = "tinymemory-testing-ui" version = "0.1.0" dependencies = [ - "anyhow", "async-trait", "axum", "http-body-util", "serde", "serde_json", - "tinymemory", "tinymemory-api", "tinymemory-documents", "tinymemory-remote", @@ -2100,7 +2016,6 @@ dependencies = [ "bytes", "futures-core", "futures-sink", - "libc", "pin-project-lite", "tokio", ] @@ -2643,29 +2558,6 @@ version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "23b97319f7b8343df12cc98938e5c3eb436064524c8d2b4e30a1d3a36eecdf81" -[[package]] -name = "wiremock" -version = "0.6.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08db1edfb05d9b3c1542e521aea074442088292f00b5f28e435c714a98f85031" -dependencies = [ - "assert-json-diff", - "base64", - "deadpool", - "futures", - "http", - "http-body-util", - "hyper", - "hyper-util", - "log", - "once_cell", - "regex", - "serde", - "serde_json", - "tokio", - "url", -] - [[package]] name = "wit-bindgen" version = "0.57.1" diff --git a/crates/tinymemory-core/Cargo.toml b/crates/tinymemory-core/Cargo.toml index d9840c09..4c782456 100644 --- a/crates/tinymemory-core/Cargo.toml +++ b/crates/tinymemory-core/Cargo.toml @@ -16,11 +16,6 @@ readme = "../../README.md" # The contract. `tinymemory-core` implements and consumes it; the host seam # traits (config, event sink, embeddings, chat) live in `tinymemory_api::host`. tinymemory-api = { path = "../tinymemory-api" } -# Composio payload normalisers, extracted out of the engine (issue #18 §B3). -# They were reached through `tinycortex` until now, which meant a host binding a -# different engine could not have Composio sync despite none of this code -# caring which engine is bound. -tinymemory-sync = { path = "../tinymemory-sync" } # The memory-source contracts and readers (#18 §B4). `network` because this # crate's sync path drives the GitHub/RSS/web-page readers; a host that only # reads local folders can take the crate without them. @@ -31,11 +26,8 @@ tinymemory-sources = { path = "../tinymemory-sources", features = ["network"] } # real consumer. regex = "1.10" -# The default embedded engine. `store/`, `tree/` and `sync/` drive it directly; -# `tinycortex-api` is a direct dependency because `tinycortex::memory` aliases -# back only `{error, traits, types}`. +# The default embedded engine. `store/`, `tree/` and `sync/` drive it directly. tinycortex = { version = "0.1", features = ["obsidian", "persona", "people", "sync"] } -tinycortex-api = { version = "0.1" } # Provider-neutral chat-model and embedding primitives used by the tree # summarizer and embedding factory. Agent runtime and session behavior do not @@ -55,7 +47,6 @@ chrono = { version = "0.4", features = ["serde"] } # `tinycortex/persona.rs` resolves the user's home directory for the obsidian # vault default. dirs = "6" -futures = "0.3" log = "0.4" parking_lot = "0.12" # `tree/tree/registry.rs` salts a tree id; the sync readers talk HTTP to the @@ -69,14 +60,10 @@ serde_json = "1" sha2 = "0.11" thiserror = "2.0" tokio = { version = "1", features = ["full"] } -url = "2" uuid = { version = "1", features = ["v4"] } walkdir = "2" [dev-dependencies] -# The ported Composio connect tests stand up a mock HTTP server (#18 §B1), -# exactly as they did in the engine. -wiremock = "0.6" # `TestHostConfig` — the concrete `MemoryHostConfig` the extracted test suites # build, since `Config` is a trait object and cannot be `Default`ed. tinymemory-api = { path = "../tinymemory-api", features = ["test-support"] } diff --git a/crates/tinymemory-testing-ui/Cargo.toml b/crates/tinymemory-testing-ui/Cargo.toml index e23bcb43..09e98a9b 100644 --- a/crates/tinymemory-testing-ui/Cargo.toml +++ b/crates/tinymemory-testing-ui/Cargo.toml @@ -13,7 +13,6 @@ path = "src/main.rs" [dependencies] # The engine-neutral contract this harness drives every engine through. -tinymemory = { path = "../tinymemory" } tinymemory-api = { path = "../tinymemory-api" } # The TinyCortex adapter backs the "local" engine choice (in-process, no # network, no API key). Re-exports the `tinycortex` engine crate itself @@ -34,7 +33,6 @@ axum = { version = "0.8", features = ["multipart"] } tower-http = { version = "0.7", features = ["fs"] } serde = { version = "1", features = ["derive"] } serde_json = "1" -anyhow = "1" # Parse URL authority fields before fetch so credentials can be rejected # without ever reflecting them through an upstream error message. url = "2" diff --git a/crates/tinymemory/Cargo.toml b/crates/tinymemory/Cargo.toml index 2646765e..0d58b8a5 100644 --- a/crates/tinymemory/Cargo.toml +++ b/crates/tinymemory/Cargo.toml @@ -47,8 +47,6 @@ tinymemory-conformance = { path = "../tinymemory-conformance", optional = true } async-trait = "0.1" # `Memory` is anyhow-typed; `mandatory::engine_error` maps it onto `MemoryError`. anyhow = "1" -# Diagnostics on the shared store/recall/export paths. -log = "0.4" # `ExportRecord::payload` is a `serde_json::Value`. serde_json = "1"