Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

Commits on main

chore(modules): pin tinymemory v1.13.2, forward the Scoring family, publish the policy in two raw cases\n\nRe-pin to v1.13.2, which carries both halves this branch needs from the\nmodule: tinymemory#111 (the `Embed` wire-order fix, so module-mode embeddings\nwork at all) and tinymemory#110 (the `Scoring` family). Registry version,\nrelease URL and all eleven digests, the four workflow pins, the gitlink and\nboth Cargo.locks move together; `ARTIFACT_CAPABILITIES_PIN` moves with them.\n\ntinymemory#110 added a contract family, and the pin's own invariant is that\nthe advertised set equals the whole contract because every family has a host\naccessor. So the driver now forwards `MemoryScoring` (`ExtractEntities`,\n`EmbedText`, `EmbedderSlug`) and advertises `Capability::Scoring`; the\nforwarder is written in the same shape as the one in #5825 (which pins the\nwrong release for it, see the note there) so the two reconcile on rebase.\n`tinymemory-bus` becomes a direct dependency for the method-name constants,\n`every_capability_family_is_accounted_for_in_the_rpc_surface` gains the\n`Scoring => false` arm (no controller is gated on it yet), and a new test pins\nthat advertising and the accessor landed together.\n\nTwo more raw-coverage cases publish the module boot policy from their own\nconfig, the recipe the first one in this branch documents: the slack sync\nstatus case in `memory_sync_tree_round21` (its rows are read through the\ndriver and were skipped as unreadable) and the chunk-read case in\n`memory_tree_sync_deep`. Both fail identically on `main` but only surface on\nPRs that touch workflow files, which every module re-pin does. Verified\nlocally with the CI feature set and `TINYMEMORY_TEST_MODULE`.\n\nClaude-Session: https://claude.ai/code/session_01Ufhq47VCos7Tw9zCyYEXmR\n
Shanu committed 3 months ago
bffec65
fix(memory): let a source sync outlive 30 s, and hand the module real cloud defaults\n\nTwo more findings from testing the module path end to end, both host-side;\nthe module half is tinyhumansai/tinymemory#111.\n\nSource syncs timed out at 30 s while still running. `RunSourceSync`,\n`RunConnectionSync` and `BootstrapConnection` rode tinybus's 30 s default\ndeadline, and one Gmail page alone is ~31 s end to end: the caller was\nreleased with "call to `RunSourceSync` timed out after 30000ms" while the\nmodule kept fetching and ingesting, and finished. The UI reported a failure\nfor work that then succeeded. The frontend's own default per-call timeout is\n30 s as well, so the fetch aborted first. Both layers now carry a budget that\ncovers a whole run: `SOURCE_SYNC_BUS_TIMEOUT` (the client's 600 s clamp\nceiling plus the grace `IngestCodingSessions` already uses, so the client's\nabort with its clean message is the one that fires if a run wedges) and\n`MEMORY_SYNC_RPC_TIMEOUT_MS` on `memory_sources_sync` and\n`memory_sources_apply_all_in` (All In runs every enabled source to completion\nbefore answering). Same failure class and same fix as #5802.\n\nThe module's cloud fallback asked the managed embedder for the user's local\nmodel. `module_config` sent `config.memory.embedding_model` as\n`cloud_embedding_model`, but that field is the module's\n`EmbeddingHost::default_cloud_embedding_model`: what its engine switches to\nwhen the opted-in Ollama model is unreachable. The in-process host answers\n`DEFAULT_CLOUD_EMBEDDING_MODEL`; the module was told `nomic-embed-text` and\nbuilt a reembed job signed `provider=cloud;model=nomic-embed-text`. The host\nconstants travel now, along with the `text-embedding-3-*` list the module's\nsynchronous `model_supports_dimensions` needs (`MODELS_SUPPORTING_DIMENSIONS`).\n\nTogether with tinymemory#111 (the module sent `Embed(model, dims, texts)`\nwhere the host reads `(provider, model, dims, texts)`, so every batch was\nrefused at decode) this is what stood between a module-mode install and any\nvector at all: verified live, `mem_tree_chunk_embeddings` went 0 -> 124 and the\nstuck `reembed_backfill` job completed on first attempt.\n\nTests: `Embed` arity/order pinned host-side the way `Execute` already is;\n`module_config` asserts the cloud defaults and that the user's model still\ntravels as `memory.embedding_model`; the service test carries the new budget.\n\nClaude-Session: https://claude.ai/code/session_01Ufhq47VCos7Tw9zCyYEXmR\n
Shanu committed 3 months ago
a0e81b6
8bea620