Skip to content

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

Merge upstream/main into tiny-dep-tinyconnectors

Steven Enamakela89262a294e6
diff --cc crates/openhuman-core/src/config/schema/load_components_migration_tests.rs
index 5d59f52e85,f8c8cdcd0f..0493ffe664
--- a/crates/openhuman-core/src/config/schema/load_components_migration_tests.rs
+++ b/crates/openhuman-core/src/config/schema/load_components_migration_tests.rs
@@@ -163,27 -163,22 +163,47 @@@ fn explicit_components_voice_wins_over_
assert!(c.components.voice);
}
+#[test]
+fn composio_mode_disabled_migrates_to_components_connectors_off() {
+ let c = migrated("[composio]\nmode = \"disabled\"\n", None);
+ assert!(!c.components.connectors);
+ assert_eq!(
+ c.composio.mode, "disabled",
+ "mode stays as the route selector"
+ );
+ assert!(c.components.flows && c.components.search);
+}
+
+#[test]
+fn composio_backend_mode_or_explicit_components_key_keeps_connectors_on() {
+ assert!(
+ migrated("[composio]\nmode = \"direct\"\n", None)
+ .components
+ .connectors
+ );
+ let c = migrated(
+ "[composio]\nmode = \"disabled\"\n[components]\nconnectors = true\n",
+ None,
+ );
+ assert!(c.components.connectors, "explicit components key wins");
+}
++
+ #[test]
+ fn sandbox_enabled_false_maps_to_components_sandbox() {
+ let c = migrated("[sandbox]\nenabled = false\n", None);
+ assert!(!c.components.sandbox);
+ assert_eq!(c.sandbox.enabled, Some(false), "old key kept");
+ let c = migrated("[security.sandbox]\nenabled = false\n", None);
+ assert!(!c.components.sandbox);
+ }
+
+ #[test]
+ fn sandbox_auto_or_on_or_explicit_component_keeps_the_component_on() {
+ for raw in [
+ "[sandbox]\nenabled = true\n",
+ "[sandbox]\nbackend = \"auto\"\n",
+ "[sandbox]\nenabled = false\n[components]\nsandbox = true\n",
+ ] {
+ assert!(migrated(raw, None).components.sandbox, "{raw}");
+ }
+ }
diff --cc docs/module-boundary-inventory.md
index 00d3ac6a0c,c1aced428e..fc45a7ea47
--- a/docs/module-boundary-inventory.md
+++ b/docs/module-boundary-inventory.md
@@@ -15,8 -15,8 +15,8 @@@ copying its implementation into a host
| Owner | Linked implementation packages | Contract | Host consumers | Required module work |
| --- | --- | --- | --- | --- |
| tinyjuice | none (module loaded through TinyBus) | tinyjuice-bus | core tools, compression, CCR REPL | Complete: PR #59 provides module-owned compression, CCR queries, HTML extraction, schemas and declarations; handle/marker parsing (`tinyjuice_bus::handle`) and `juice_*` tool-name constants (`tinyjuice_bus::tools`) live in the bus since contract 2.2; the host retains turn-bound model callbacks and artifact authorization |
-| tinyconnectors | none | tinyconnectors-bus | core integrations, credentials and triggers | Module-backed argument preparation, action execution and trigger archives; host credential reconciliation and frozen tool restoration remain in OpenHuman |
+| tinyconnectors | none | tinyconnectors-bus | core integrations, credentials and triggers | Module-backed argument preparation, action execution, trigger archives and the curated toolkit catalogs (`ListCuratedCatalog`, `GetVocabulary`, held as a process snapshot) and per-toolkit scope preferences (`GetUserScopes`, `SetUserScopes`; a legacy workspace file is migrated into the module once), live tool-contract fetch/cache (`GetToolContract`, `ListToolContracts`), the confirmed-Read output probe (`ProbeToolOutput`) and the backend/direct connected-integrations walk (`ListConnectedIntegrations`, contract 1.20); the host keeps the overview cache, mode switch, prompt mapping and `contract_gate`; host credential reconciliation and frozen tool restoration remain in OpenHuman |
- | tinymcp | none in normal/build host dependencies | tinymcp-bus | core MCP registry, supervisor, CLI stdio/HTTP server | Merged host adapters use the released v0.15.0 module (contract 1.22; configured-client receipt machine and client cache are `tinymcp_bus::client_lifecycle`, host keeps only the bus-calling driver) for registry, supervisor, client and server protocol operations, with approved host callbacks kept in OpenHuman. The 62-member artifact and local focused, lifecycle, registry, native and build gates pass; frozen recorded tool declarations are restored independently of the current catalog |
+ | tinymcp | none in normal/build host dependencies | tinymcp-bus | core MCP registry, supervisor, CLI stdio/HTTP server | Merged host adapters use the released v0.16.1 module (contract 1.23; configured-client receipt machine and client cache are `tinymcp_bus::client_lifecycle`, host keeps only the bus-calling driver; identifier validation, the registry-detail JSON shape and the not-connected explanation are `tinymcp_bus` helpers, so the host's `registry/helpers.rs` is gone; bus members the host never calls are kept for other hosts and documented in `tinymcp_bus::names`) for registry, supervisor, client and server protocol operations, with approved host callbacks kept in OpenHuman. The 62-member artifact and local focused, lifecycle, registry, native and build gates pass; frozen recorded tool declarations are restored independently of the current catalog |
| tinychannels | tinychannels, tinychannels-runtime, tinychannels-module (test-only) | tinychannels-bus | core channels, TinyHumans host, CLI REPL | Contract 16 (operation 1.17) is pure; scoped providers, inbound/identity/outbound preparation, remote commands, runtime limits, typing and progressive delivery execute through confidential module calls. Host-owned policy, credentials, persistence and callbacks remain in OpenHuman. Both host implementation exceptions are removed; the 254-test focused suite and released-artifact runtime fixture pass |
| tinyhosts | none | tinyhosts-bus | core hosting tools | Released Execute/Providers contract consumed through the module (v0.4.0: tool-to-operation mapping, argument shaping, outcome matching and summaries live in `tinyhosts-bus::tools`); workspace authorization, credentials and approval policy remain in OpenHuman |
| tinymemes | none | tinymemes-bus | core `tinymemes` reply remix | Released Remix contract (v0.2.0) consumed through the module: reading, rating, rewrite, slang and meme indexes run in the module; the host serves the Complete, Evaluate, Search, LoadIndex, SaveIndex and Deliver callbacks (OpenHuman inference, managed Jev, web search, workspace index files) and keeps the A/B arm, flag and delivered-history policy |