Skip to content

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

Commits on main

210543a
chore(vendor): bump tinymcp b88cf60 -> 5909bd1 (probe outcomes, missing-runtime)\n\nMoves the pin off the `mcp-redirect-downgrade` branch and onto `main`.\n\nThat sounds like a branch switch and is not one: `b88cf60` is the tip of\n`mcp-redirect-downgrade`, and that branch was merged into `main` as\ntinymcp#3 earlier today. `compare/main...b88cf60` reports `ahead_by=0,\ntotal_commits=0` — the old pin is an ancestor of `main`, so this is a\nfast-forward and senamakel's HTTPS→HTTP redirect-downgrade work is carried\nforward rather than dropped.\n\nEight commits, of which four are substantive:\n\n 68eeda85 fix(supervisor): report what a probe observed instead of\n asserting a drop (tinymcp#5)\n 1a535591 docs(supervisor): stop a public doc comment linking a private\n constant\n 9fad68b6 fix(error): make a missing local runtime a terminal variant,\n not a malformed response (tinymcp#7)\n b44b958d fix(supervisor): keep the 8s probe default; the mitigation for\n widening it does not reach the host\n\n`b44b958d` partially reverses `68eeda85` and is the one a reviewer should\nnot have to find in the diff. tinymcp#5 widened the default `probe_timeout`\nfrom 8s to 30s and paired it with `MissedTickBehavior::Delay` so a long\ncycle could not burst into catch-up ticks. That mitigation lives in\n`Supervisor::run`, which this host does not call: `mcp/registry/mod.rs:317`\nbuilds its own `interval_at` with no `set_missed_tick_behavior` and calls\n`Supervisor::tick` directly, once per open workspace. So openhuman would\nhave taken the widened window and none of the protection. Verified here\nagainst this tree before accepting the bump, not taken from the commit\nmessage.\n\nThe crate version stays `0.3.1` across the range, so the `TINYMCP` module\nrecord in `modules/registry.rs` is untouched and still consistent.\n\nRefs tinyhumansai/openhuman#5636\nRefs tinyhumansai/openhuman#5600\n
M3gA-Mind committed 3 months ago
8b578c7
Apply prettier to plan-5560.md
shanu committed 3 months ago
fd8103f
Apply prettier to plan-5560.md\n
shanu committed 3 months ago
d717abb
Apply cargo fmt
shanu committed 3 months ago
d248afc
Apply cargo fmt\n
shanu committed 3 months ago
0456cda
Pin tinymemory v1.5.0 and guard the ten members the contract just gained\n\nThe release carrying the filtered chunk listing, source totals, the batched\nentity read, `forget_matching` and `purge_all` now exists, so the host can pin\nit. All five pins move together, which is the only safe shape: a gitlink ahead\nof the registry is a host compiled against a contract the artifact it loads does\nnot serve, and nothing in the tree refuses that mismatch — `is_compatible` has\nno call sites, and the only cross-check is family-granular, so all ten members\nland inside families v1.4.0 already advertised and the failure would surface as\n`UnknownMethod` in the field rather than at compile time.\n\nEvery digest is taken verbatim from the release's own `checksum.toml` and then\nverified back against it, rather than hand-edited: `registry.rs` holds three\nother module records between `TINYMEMORY` and the next one, so an edit by line\nrange would silently rewrite `TINYJUICE`'s and `TINYVOICE`'s digests too.\n\n## The guarded families\n\n`GuardedChunks`, `GuardedTree`, `GuardedEntities`, `GuardedSourceSink` and\n`GuardedMaintenance` forwarded none of the ten, so each would have fallen\nthrough to the contract's `Unsupported` default. Absence is not the dangerous\nhalf — a forwarder written without the scope intersection is, because it would\nlet a source-restricted turn read past its own allowlist.\n\nSo the five scoped reads narrow exactly as `list_chunks` does. `count_chunks` is\nthe one worth naming: a total computed against a wider scope than the page it\nlabels discloses how much a restricted caller is not being shown, which is a\nleak even though no row crosses. `purge_all` takes the write tier rather than\n`doctor`'s read tier — it empties the store, and a caller that reached it under\na read tier would be destroying rows it is not allowed to read.\n\n`entity_chunk_ids` and `chunk_entities` take the tier check alone, and the doc\ncomments say why rather than leaving the missing intersection looking like an\noversight: the first returns ids and no content, and the second can only name\nchunks some earlier scoped read already handed the caller.\n
Shanu committed 3 months ago
d6eded4
Merge pull request #5757 from senamakel/fix/ui-v4
Steven Enamakel committed 3 months ago
e4dd1e1
22b0a69
chore(deps): bump vendor/tinyagents to e0f3210
M3gA-Mind committed 3 months ago
72d7771
chore(deps): bump vendor/tinyagents to e0f3210\n\nLands the client half of the managed-transport diagnostic fix: a transport\nfailure now reaches the host as `TinyAgentsError::Provider` with `status: None`\nplus provider, model and retryable intact, so `log_managed_dispatch_error`\ntakes its structured arm instead of recording every one as\n`(non-provider error)` with nothing to act on.\n\nThe range is eight commits and carries two behaviour changes by another\ncontributor, not just that fix:\n\n- `RunLimits::max_model_call_ms`, a per-model-call wall-clock ceiling. No\n change here: it defaults to `None`, nothing in this repo sets it, and with\n `None` the crate's budget path is byte-identical to before. Not a compile\n break either — `RunLimits` is not `#[non_exhaustive]`, but this repo never\n constructs it, it assigns fields on an existing policy\n (`agent/tinyagents/mod.rs:206`).\n\n- HTTP/2 PING keepalives on the default provider client. This one does apply:\n `build_wire_model` takes the default client with no `with_client`\n (`inference/provider/openhuman_backend_model.rs:158-169`) over an HTTPS base\n URL, so ALPN negotiates h2 and a peer that stops acking now fails the\n in-flight call in about a minute rather than hanging to the 600s run\n backstop. Local plaintext runtimes (Ollama, LM Studio) negotiate no ALPN and\n are unaffected. The `http2` reqwest feature the range adds upstream is\n already enabled here (`Cargo.toml:349`), so it unifies to a no-op and no\n other client in this tree changes protocol as a side effect.\n\nVerified with `cargo check --lib --tests` on the bumped pin — `--tests` as\nwell as `--lib` because a new public struct field is invisible to the latter.\n\nRefs tinyhumansai/openhuman#5604\n
M3gA-Mind committed 3 months ago
0d49022
Route the chunk, entity, graph, admin and cleanup reads onto the memory contract\n\nSeventeen call sites kept a raw SQLite handle because the module contract could\nnot express what they asked. The contract can now, so they go through the bound\ndriver and the SQL comes out.\n\n`read_rpc/chunks.rs` loses its `with_connection` entirely. The listing pages\nthrough `list_chunk_details` and labels itself with `count_chunks`, and both are\nhanded the SAME `ChunkQuery` value — a count and the page it labels cannot drift\nwhen they are one predicate. `list_sources` becomes `source_totals`, `search`\nbecomes a `content_contains` query, and the recall hydration becomes ONE call\nwith the `ids` predicate instead of a query per leaf, re-mapped by id because\nthe driver answers in its own newest-first order and may return fewer rows than\nit was asked for.\n\n`read_rpc/entities.rs`, `graph.rs` and `admin.rs` follow the same shape. The\ncontacts graph is the one worth naming: it was a chunk query followed by an\nentity read per chunk, which on a large store is close to fifteen hundred round\ntrips, and it is now one `entity_kinds` query plus one batched `chunk_entities`.\n`wipe_all` keeps its content-directory removal host-side, because that is\nfilesystem policy rather than store state.\n\nThe vault registration moves host-side rather than widening the contract — it is\ndesktop policy that happened to live in the engine crate, the same call the\n`redact` and `safety` ports already made. The doctor's chunk count becomes\n`store_stats().chunks`, with the probe hoisted into its async caller rather than\nblocking inside a sync one.\n\n## The forwarders are the load-bearing part\n\n`ModuleMemoryProvider` did not forward any of the ten new members, so every one\nof them would have taken the contract's default body and answered `Unsupported`\nagainst the real driver. Nothing would have caught it: the capability probe is\nfamily-granular and all ten land inside families the module already advertises,\nso `verify()` stays green, `as_chunks()` returns `Some`, and the call fails in\nthe field rather than at compile time. Ten `module_call!` forwarders close that,\nand the routed handlers are what prove them.\n\n## Tests\n\nUnit tests that exercised these handlers now bind the TinyCortex driver through\n`test_support::install_tinycortex_for_test`, because the handlers read through a\ndriver where they used to read through their own SQL. That is the engine the\nloadable module wraps, so the tests cover the same code production reaches over\nthe bus, and unlike the module it is not a process singleton — two tests loading\na module in one process hang rather than fail.\n\n`archivist/mod.rs` loses three dead `#[cfg(test)]` re-exports left over from the\nepisodic pivot, two of which named the engine. Its ALLOWED entry is struck in\nthis commit, which is what the ratchet requires and what keeps it honest.\n\nBoth vendored submodules move: `vendor/tinycortex` to tinycortex#157's merge\ncommit, `vendor/tinymemory` to the branch carrying these members.\n\n## Not yet safe to merge\n\n`modules/registry.rs` still pins tinymemory v1.4.0, which serves none of these\nmembers. The release carrying them has to exist and be pinned here before this\ncan ship; until then the routed handlers work against a locally built module and\nagainst the in-process TinyCortex driver, and would answer `Unsupported` against\nthe pinned artifact.\n
Shanu committed 3 months ago
fbfa4ac
16b4971