The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(modules): satisfy the Rust file-layout gate, and re-pin to v1.14.1
Shanu5e90a04377b4
diff --git a/.github/workflows/ci-full.yml b/.github/workflows/ci-full.ymlindex d9b779df43..1fbaa3ddb8 100644--- a/.github/workflows/ci-full.yml+++ b/.github/workflows/ci-full.yml@@ -132,8 +132,8 @@ jobs:# and leave a stale digest that only fails after the download. Both values# are the ubuntu-22.04-x86_64 row of `src/openhuman/modules/registry.rs`,# which is the authoritative pin — copy them from there, never recompute.- memory_version="1.14.0"- memory_sha256="6d52c5aa416a3434355fec0c8a08a5a876e81f115de99610f17c3eea3d8db6ad"+ memory_version="1.14.1"+ memory_sha256="aedcd016c4dfd6c3d65114cb76061281cea5243b281253a7db17dfd0d6de284c"module_root="/opt/openhuman-test-modules/${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}"memory_dir="$module_root/tinymemory"juice_dir="$module_root/tinyjuice"diff --git a/.github/workflows/ci-lite.yml b/.github/workflows/ci-lite.ymlindex 5fd1f11e5c..06f274bd8d 100644--- a/.github/workflows/ci-lite.yml+++ b/.github/workflows/ci-lite.yml@@ -796,8 +796,8 @@ jobs:# and leave a stale digest that only fails after the download. Both values# are the ubuntu-22.04-x86_64 row of `src/openhuman/modules/registry.rs`,# which is the authoritative pin — copy them from there, never recompute.- memory_version="1.14.0"- memory_sha256="6d52c5aa416a3434355fec0c8a08a5a876e81f115de99610f17c3eea3d8db6ad"+ memory_version="1.14.1"+ memory_sha256="aedcd016c4dfd6c3d65114cb76061281cea5243b281253a7db17dfd0d6de284c"module_root="/opt/openhuman-test-modules/${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}"memory_dir="$module_root/tinymemory"juice_dir="$module_root/tinyjuice"diff --git a/.github/workflows/e2e-reusable.yml b/.github/workflows/e2e-reusable.ymlindex a9f90c0913..c958975043 100644--- a/.github/workflows/e2e-reusable.yml+++ b/.github/workflows/e2e-reusable.yml@@ -168,8 +168,8 @@ jobs:# and leave a stale digest that only fails after the download. Both values# are the ubuntu-22.04-x86_64 row of `src/openhuman/modules/registry.rs`,# which is the authoritative pin — copy them from there, never recompute.- memory_version="1.14.0"- memory_sha256="6d52c5aa416a3434355fec0c8a08a5a876e81f115de99610f17c3eea3d8db6ad"+ memory_version="1.14.1"+ memory_sha256="aedcd016c4dfd6c3d65114cb76061281cea5243b281253a7db17dfd0d6de284c"module_root="/opt/openhuman-test-modules/${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}"memory_dir="$module_root/tinymemory"memory_archive="$memory_dir/tinymemory-module-${memory_version}-ubuntu-22.04-x86_64.tar.gz"@@ -374,8 +374,8 @@ jobs:# and leave a stale digest that only fails after the download. Both values# are the ubuntu-22.04-x86_64 row of `src/openhuman/modules/registry.rs`,# which is the authoritative pin — copy them from there, never recompute.- memory_version="1.14.0"- memory_sha256="6d52c5aa416a3434355fec0c8a08a5a876e81f115de99610f17c3eea3d8db6ad"+ memory_version="1.14.1"+ memory_sha256="aedcd016c4dfd6c3d65114cb76061281cea5243b281253a7db17dfd0d6de284c"module_root="/opt/openhuman-test-modules/${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}"memory_dir="$module_root/tinymemory"memory_archive="$memory_dir/tinymemory-module-${memory_version}-ubuntu-22.04-x86_64.tar.gz"diff --git a/src/openhuman/modules/memory_part_01.rs b/src/openhuman/modules/memory_part_01.rsindex 976181c605..2a49afb816 100644--- a/src/openhuman/modules/memory_part_01.rs+++ b/src/openhuman/modules/memory_part_01.rs@@ -7,7 +7,7 @@ use tinymemory_api::capabilities::{Capabilities, Capability};/// Checked against the registry pin by `the_capability_list_matches_the_pinned_release`,/// so bumping the pin without re-reading the list is a red test rather than a/// silent over-claim.-pub(crate) const ARTIFACT_CAPABILITIES_PIN: &str = "1.14.0";+pub(crate) const ARTIFACT_CAPABILITIES_PIN: &str = "1.14.1";/// The capability families the **pinned artifact** actually serves.///@@ -73,11 +73,11 @@ pub(crate) const ARTIFACT_CAPABILITIES: &[Capability] = &[// and embedder identification, served by the module's engine and forwarded// by `MemoryScoring for ModuleMemoryProvider` below.Capability::Scoring,- // Re-read at tag `v1.14.0` (tinymemory#136, openhuman#6012): adds- // `BackfillConnectorTrees`, which re-files connector documents stored before- // the routing fix. A member of the existing `Maintenance` family, not a new- // family — `git diff v1.13.8..v1.14.0 -- crates/tinymemory-api/src/capabilities.rs`- // returns empty, so the list below is unchanged and only the pin moves.+ // Re-read at tag `v1.14.1` (tinymemory#136 + #137, openhuman#6012). It adds a bus+ // *member*, `BackfillConnectorTrees`, and no capability: `Capability` is the+ // family enum, and the member is a method inside `Maintenance`, which this+ // build already advertises. `git diff v1.13.8..v1.14.0 --+ // crates/tinymemory-bus/src/capabilities.rs` is empty, so nothing below moves.//// Re-read at tag `v1.13.8` (tinymemory#134, openhuman#6007): the connector// sync path now routes its items into the memory-tree ingest funnel, and@@ -735,16 +735,3 @@ macro_rules! module_call_slow {.map_err(|error| from_bus(&error))};}--#[async_trait]-impl MemoryIngest for ModuleMemoryProvider {- async fn ingest_document(&self, item: IngestItem) -> Result<IngestOutcome, MemoryError> {- module_call!(self, "ingest_document", methods::INGEST_DOCUMENT, (item,))- }- async fn ingest_chat(&self, messages: Vec<IngestItem>) -> Result<IngestOutcome, MemoryError> {- module_call_slow!(self, "ingest_chat", methods::INGEST_CHAT, (messages,))- }- async fn ingest_email(&self, messages: Vec<IngestItem>) -> Result<IngestOutcome, MemoryError> {- module_call_slow!(self, "ingest_email", methods::INGEST_EMAIL, (messages,))- }-}diff --git a/src/openhuman/modules/memory_part_02.rs b/src/openhuman/modules/memory_part_02.rsindex 0def4ae784..e827421022 100644--- a/src/openhuman/modules/memory_part_02.rs+++ b/src/openhuman/modules/memory_part_02.rs@@ -1,3 +1,16 @@+#[async_trait]+impl MemoryIngest for ModuleMemoryProvider {+ async fn ingest_document(&self, item: IngestItem) -> Result<IngestOutcome, MemoryError> {+ module_call!(self, "ingest_document", methods::INGEST_DOCUMENT, (item,))+ }+ async fn ingest_chat(&self, messages: Vec<IngestItem>) -> Result<IngestOutcome, MemoryError> {+ module_call_slow!(self, "ingest_chat", methods::INGEST_CHAT, (messages,))+ }+ async fn ingest_email(&self, messages: Vec<IngestItem>) -> Result<IngestOutcome, MemoryError> {+ module_call_slow!(self, "ingest_email", methods::INGEST_EMAIL, (messages,))+ }+}+#[async_trait]impl MemoryDocuments for ModuleMemoryProvider {async fn put_document(&self, input: NamespaceDocumentInput) -> Result<String, MemoryError> {@@ -591,127 +604,6 @@ impl MemoryMaintenance for ModuleMemoryProvider {}}-/// Bus deadline for the three calls that run a whole source sync inside the-/// module: `RunConnectionSync`, `RunSourceSync` and `BootstrapConnection`.-///-/// tinybus gives every call a 30 s default deadline if nobody sets one, and a-/// sync is routinely longer than that: one Gmail page is ~31 s end to end, an-/// initial bootstrap of a connection is minutes. With the default, the caller-/// was released with "call to `RunSourceSync` timed out after 30000ms" while-/// the module kept fetching and ingesting, and finished; the UI reported a-/// failure for work that succeeded (openhuman#5820). Same failure class, same-/// fix as `IngestCodingSessions` above: the deadline here is the wedged-forever-/// backstop tinybus requires, not a ceiling anyone is meant to hit.-///-/// Sized from the frontend's clamp, `PER_CALL_TIMEOUT_MAX_MS = 600 s`-/// (`app/src/services/coreRpcClient.ts`): that is the longest wait any RPC-/// caller can observe, so the bus must outlast it, plus [`INGEST_BUS_GRACE`]-/// so the client's own abort, with its clean message, is the one that fires-/// first when a run really does wedge.-const SOURCE_SYNC_BUS_TIMEOUT: std::time::Duration =- std::time::Duration::from_secs(600).saturating_add(INGEST_BUS_GRACE);--#[async_trait]-impl MemorySourceSync for ModuleMemoryProvider {- async fn run_connection_sync(- &self,- toolkit: &str,- connection_id: &str,- ) -> Result<SyncRunOutcome, MemoryError> {- self.proxy("run_connection_sync")- .await?- .with_timeout(SOURCE_SYNC_BUS_TIMEOUT)- .call(methods::RUN_CONNECTION_SYNC, (toolkit, connection_id))- .await- .map_err(|error| from_bus(&error))- }- async fn run_source_sync(&self, source_id: &str) -> Result<SyncRunOutcome, MemoryError> {- self.proxy("run_source_sync")- .await?- .with_timeout(SOURCE_SYNC_BUS_TIMEOUT)- .call(methods::RUN_SOURCE_SYNC, (source_id,))- .await- .map_err(|error| from_bus(&error))- }- async fn bootstrap_connection(- &self,- toolkit: &str,- connection_id: &str,- ) -> Result<(), MemoryError> {- self.proxy("bootstrap_connection")- .await?- .with_timeout(SOURCE_SYNC_BUS_TIMEOUT)- .call(methods::BOOTSTRAP_CONNECTION, (toolkit, connection_id))- .await- .map_err(|error| from_bus(&error))- }- async fn is_toolkit_syncable(&self, toolkit: &str) -> Result<bool, MemoryError> {- module_call!(- self,- "is_toolkit_syncable",- methods::IS_TOOLKIT_SYNCABLE,- (toolkit,)- )- }- async fn source_sync_state(- &self,- toolkit: &str,- connection_id: &str,- ) -> Result<Option<SourceSyncState>, MemoryError> {- module_call!(- self,- "source_sync_state",- methods::SOURCE_SYNC_STATE,- (toolkit, connection_id)- )- }- async fn sync_audit_log(- &self,- limit: Option<usize>,- ) -> Result<Vec<SyncAuditEntry>, MemoryError> {- module_call!(self, "sync_audit_log", methods::SYNC_AUDIT_LOG, (limit,))- }- async fn estimate_sync_cost_usd(- &self,- input_tokens: u64,- output_tokens: u64,- ) -> Result<f64, MemoryError> {- module_call!(- self,- "estimate_sync_cost_usd",- methods::ESTIMATE_SYNC_COST_USD,- (input_tokens, output_tokens)- )- }- async fn sync_statuses(&self) -> Result<Vec<SourceSyncStatus>, MemoryError> {- module_call!(self, "sync_statuses", methods::SYNC_STATUSES, ())- }- async fn raw_archive_coverage(- &self,- tree_scope: &str,- archive_source_id: &str,- ) -> Result<RawArchiveCoverage, MemoryError> {- module_call!(- self,- "raw_archive_coverage",- methods::RAW_ARCHIVE_COVERAGE,- (tree_scope, archive_source_id)- )- }- async fn rebuild_from_raw_archive(- &self,- tree_scope: &str,- archive_source_id: &str,- ) -> Result<RawRebuildOutcome, MemoryError> {- module_call!(- self,- "rebuild_from_raw_archive",- methods::REBUILD_FROM_RAW_ARCHIVE,- (tree_scope, archive_source_id)- )- }-}-impl ModuleMemoryProvider {/// Open a bounded manual-override window on the module's scheduler gate.///diff --git a/src/openhuman/modules/memory_part_03.rs b/src/openhuman/modules/memory_part_03.rsindex 39feb2795e..593c07cf9d 100644--- a/src/openhuman/modules/memory_part_03.rs+++ b/src/openhuman/modules/memory_part_03.rs@@ -1,3 +1,124 @@+/// Bus deadline for the three calls that run a whole source sync inside the+/// module: `RunConnectionSync`, `RunSourceSync` and `BootstrapConnection`.+///+/// tinybus gives every call a 30 s default deadline if nobody sets one, and a+/// sync is routinely longer than that: one Gmail page is ~31 s end to end, an+/// initial bootstrap of a connection is minutes. With the default, the caller+/// was released with "call to `RunSourceSync` timed out after 30000ms" while+/// the module kept fetching and ingesting, and finished; the UI reported a+/// failure for work that succeeded (openhuman#5820). Same failure class, same+/// fix as `IngestCodingSessions` above: the deadline here is the wedged-forever+/// backstop tinybus requires, not a ceiling anyone is meant to hit.+///+/// Sized from the frontend's clamp, `PER_CALL_TIMEOUT_MAX_MS = 600 s`+/// (`app/src/services/coreRpcClient.ts`): that is the longest wait any RPC+/// caller can observe, so the bus must outlast it, plus [`INGEST_BUS_GRACE`]+/// so the client's own abort, with its clean message, is the one that fires+/// first when a run really does wedge.+const SOURCE_SYNC_BUS_TIMEOUT: std::time::Duration =+ std::time::Duration::from_secs(600).saturating_add(INGEST_BUS_GRACE);++#[async_trait]+impl MemorySourceSync for ModuleMemoryProvider {+ async fn run_connection_sync(+ &self,+ toolkit: &str,+ connection_id: &str,+ ) -> Result<SyncRunOutcome, MemoryError> {+ self.proxy("run_connection_sync")+ .await?+ .with_timeout(SOURCE_SYNC_BUS_TIMEOUT)+ .call(methods::RUN_CONNECTION_SYNC, (toolkit, connection_id))+ .await+ .map_err(|error| from_bus(&error))+ }+ async fn run_source_sync(&self, source_id: &str) -> Result<SyncRunOutcome, MemoryError> {+ self.proxy("run_source_sync")+ .await?+ .with_timeout(SOURCE_SYNC_BUS_TIMEOUT)+ .call(methods::RUN_SOURCE_SYNC, (source_id,))+ .await+ .map_err(|error| from_bus(&error))+ }+ async fn bootstrap_connection(+ &self,+ toolkit: &str,+ connection_id: &str,+ ) -> Result<(), MemoryError> {+ self.proxy("bootstrap_connection")+ .await?+ .with_timeout(SOURCE_SYNC_BUS_TIMEOUT)+ .call(methods::BOOTSTRAP_CONNECTION, (toolkit, connection_id))+ .await+ .map_err(|error| from_bus(&error))+ }+ async fn is_toolkit_syncable(&self, toolkit: &str) -> Result<bool, MemoryError> {+ module_call!(+ self,+ "is_toolkit_syncable",+ methods::IS_TOOLKIT_SYNCABLE,+ (toolkit,)+ )+ }+ async fn source_sync_state(+ &self,+ toolkit: &str,+ connection_id: &str,+ ) -> Result<Option<SourceSyncState>, MemoryError> {+ module_call!(+ self,+ "source_sync_state",+ methods::SOURCE_SYNC_STATE,+ (toolkit, connection_id)+ )+ }+ async fn sync_audit_log(+ &self,+ limit: Option<usize>,+ ) -> Result<Vec<SyncAuditEntry>, MemoryError> {+ module_call!(self, "sync_audit_log", methods::SYNC_AUDIT_LOG, (limit,))+ }+ async fn estimate_sync_cost_usd(+ &self,+ input_tokens: u64,+ output_tokens: u64,+ ) -> Result<f64, MemoryError> {+ module_call!(+ self,+ "estimate_sync_cost_usd",+ methods::ESTIMATE_SYNC_COST_USD,+ (input_tokens, output_tokens)+ )+ }+ async fn sync_statuses(&self) -> Result<Vec<SourceSyncStatus>, MemoryError> {+ module_call!(self, "sync_statuses", methods::SYNC_STATUSES, ())+ }+ async fn raw_archive_coverage(+ &self,+ tree_scope: &str,+ archive_source_id: &str,+ ) -> Result<RawArchiveCoverage, MemoryError> {+ module_call!(+ self,+ "raw_archive_coverage",+ methods::RAW_ARCHIVE_COVERAGE,+ (tree_scope, archive_source_id)+ )+ }+ async fn rebuild_from_raw_archive(+ &self,+ tree_scope: &str,+ archive_source_id: &str,+ ) -> Result<RawRebuildOutcome, MemoryError> {+ module_call!(+ self,+ "rebuild_from_raw_archive",+ methods::REBUILD_FROM_RAW_ARCHIVE,+ (tree_scope, archive_source_id)+ )+ }+}+#[async_trait]impl MemoryCodingSessions for ModuleMemoryProvider {async fn coding_session_status(&self) -> Result<Vec<CodingSessionSource>, MemoryError> {diff --git a/src/openhuman/modules/registry_part_01.rs b/src/openhuman/modules/registry_part_01.rsindex a80abd2370..fbe4af3c4f 100644--- a/src/openhuman/modules/registry_part_01.rs+++ b/src/openhuman/modules/registry_part_01.rs@@ -175,63 +175,63 @@ const TINYMEMORY: ModuleRecord = ModuleRecord {description: "Local memory engine: store, ranked recall, and portable export",bus_name: "ai.tinyhumans.tinymemory.Memory",object_path: "/ai/tinyhumans/tinymemory/Memory",- version: "1.14.0",- release_url: "https://github.com/tinyhumansai/tinymemory/releases/tag/v1.14.0",+ version: "1.14.1",+ release_url: "https://github.com/tinyhumansai/tinymemory/releases/tag/v1.14.1",assets: &[PlatformAsset {host_key: "ubuntu-24.04-x86_64",- archive: "tinymemory-module-1.14.0-ubuntu-24.04-x86_64.tar.gz",- sha256: "5821a9244b76e003048aa08665fedd691c01ef0c393eeb64337cc85aadbb4257",+ archive: "tinymemory-module-1.14.1-ubuntu-24.04-x86_64.tar.gz",+ sha256: "12c9b5ee1705098737f3671d2db39c1402dc11300e77e940b0136428a87e07b6",},PlatformAsset {host_key: "ubuntu-24.04-arm64",- archive: "tinymemory-module-1.14.0-ubuntu-24.04-arm64.tar.gz",- sha256: "11ea60cec8dbb7c8c57e8223e25948f43c064521398de3a68aaf2b240bde2a63",+ archive: "tinymemory-module-1.14.1-ubuntu-24.04-arm64.tar.gz",+ sha256: "7125f253048bd64713e593b937adbb41c95d7a8307d93eb40e6b6fc342fde135",},PlatformAsset {host_key: "ubuntu-22.04-x86_64",- archive: "tinymemory-module-1.14.0-ubuntu-22.04-x86_64.tar.gz",- sha256: "6d52c5aa416a3434355fec0c8a08a5a876e81f115de99610f17c3eea3d8db6ad",+ archive: "tinymemory-module-1.14.1-ubuntu-22.04-x86_64.tar.gz",+ sha256: "aedcd016c4dfd6c3d65114cb76061281cea5243b281253a7db17dfd0d6de284c",},PlatformAsset {host_key: "ubuntu-22.04-arm64",- archive: "tinymemory-module-1.14.0-ubuntu-22.04-arm64.tar.gz",- sha256: "dfee8d635a9c830f56cee6d4e551904879d6145886953782530cb862e13bd0ce",+ archive: "tinymemory-module-1.14.1-ubuntu-22.04-arm64.tar.gz",+ sha256: "7ea129bdcb03089145f7c21a313ec5cba10fde63edf97dcbb5ba7fb200bc1902",},PlatformAsset {host_key: "macos-26-arm64",- archive: "tinymemory-module-1.14.0-macos-26-arm64.tar.gz",- sha256: "f355bb8fa7484bf34833718f2e023744609552d1136ea7be4a7c78ebaa75dcac",+ archive: "tinymemory-module-1.14.1-macos-26-arm64.tar.gz",+ sha256: "bc20f08bb9432d9da88dedadf4d0daa39c4d306fe7918004006c2e6b4751e04d",},PlatformAsset {host_key: "macos-26-x86_64",- archive: "tinymemory-module-1.14.0-macos-26-x86_64.tar.gz",- sha256: "3dfa66aba16508020d94cee2a2428454d1b64859af83f64a758a44bde485d05c",+ archive: "tinymemory-module-1.14.1-macos-26-x86_64.tar.gz",+ sha256: "70dfcb55651ac958af9c4bbcb452f38fcfc8260ce5ba7812c51520261e7c2463",},PlatformAsset {host_key: "macos-15-arm64",- archive: "tinymemory-module-1.14.0-macos-15-arm64.tar.gz",- sha256: "5df4f7d5e7c0699832fd5b9dccb9d2075d63a64d8bab6e05b80b7592476cf23d",+ archive: "tinymemory-module-1.14.1-macos-15-arm64.tar.gz",+ sha256: "5031e91c21a854d276c026d3173fad06d2fbd300dc8ec05425209a164b2e7af0",},PlatformAsset {host_key: "macos-15-x86_64",- archive: "tinymemory-module-1.14.0-macos-15-x86_64.tar.gz",- sha256: "bd5f4d558d2eefbf2474fba76f413783f590f2f5ad5bb8d6012e23598dd2dcd1",+ archive: "tinymemory-module-1.14.1-macos-15-x86_64.tar.gz",+ sha256: "381c6cd230edf296dd67a2f5af12f0d0b9adfe4ef957e0e7a9e8d08926c3aff7",},PlatformAsset {host_key: "windows-2025-x86_64",- archive: "tinymemory-module-1.14.0-windows-2025-x86_64.zip",- sha256: "4a9793e08656e4230ba6d9d7512124a9bf410070edcb69dc72d7e1d0ed6bdbd2",+ archive: "tinymemory-module-1.14.1-windows-2025-x86_64.zip",+ sha256: "c5f708104068bdc2fd73ab5476c7bd5c9a36cdbf1bbacf12988df45b97854afc",},PlatformAsset {host_key: "windows-2022-x86_64",- archive: "tinymemory-module-1.14.0-windows-2022-x86_64.zip",- sha256: "bc039bd43c220d498e3ea9fc332b8d52129c1a9423d78c85b852ddc07fed93a4",+ archive: "tinymemory-module-1.14.1-windows-2022-x86_64.zip",+ sha256: "cfa79c451d3d4e7778dde0445323ada431f11059cc5aabad35a2e4b07be41982",},PlatformAsset {host_key: "windows-11-arm64",- archive: "tinymemory-module-1.14.0-windows-11-arm64.zip",- sha256: "b1125860ed2180256931087d84b799909d4d55fb720e4e397b1d2e7d65851874",+ archive: "tinymemory-module-1.14.1-windows-11-arm64.zip",+ sha256: "9273515cd32f247b3a1bb0b56f907a93ccc6a041521d0bc87b558dcd53c69627",},],// Eager, unlike the two codecs above. A codec that is never asked for shoulddiff --git a/vendor/tinymemory b/vendor/tinymemoryindex d5ac1ed17c..52836fd8ba 160000--- a/vendor/tinymemory+++ b/vendor/tinymemory@@ -1 +1 @@-Subproject commit d5ac1ed17cc43d5511d45c4af7fc36f1138820f8+Subproject commit 52836fd8baf6952e488674650af29ec981b9ab2b