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
docs(integrations): clarify offered-toolkit policy ownership
Steven Enamakele7846f2b9924
diff --git a/crates/openhuman-core/src/config/schema/tools/integrations.rs b/crates/openhuman-core/src/config/schema/tools/integrations.rsindex abea481c83..877ec2371a 100644--- a/crates/openhuman-core/src/config/schema/tools/integrations.rs+++ b/crates/openhuman-core/src/config/schema/tools/integrations.rs@@ -80,8 +80,10 @@ pub struct ComposioConfig {/// (case-insensitive; `_` and `-` are ignored, so `google_calendar` is/// `googlecalendar`). An empty list offers every toolkit. Narrows what the/// connector module lists (tools, toolkits, agent-ready toolkits) without- /// touching existing connections or scope preferences. Read when the- /// connector module loads, so an edit applies on the next launch.+ /// touching existing connections or scope preferences. Sent in the module's+ /// load blob, so an edit applies on the next launch; a connector module+ /// loaded from the module search path (`OPENHUMAN_MODULE_PATH`) gets no+ /// host blob and offers every toolkit.#[serde(default)]pub offered_toolkits_allow: Vec<String>,/// Toolkits never offered to the agent, even when `offered_toolkits_allow`diff --git a/crates/openhuman-core/src/integrations/task_sources/README.md b/crates/openhuman-core/src/integrations/task_sources/README.mdindex c696ed6b88..6719e28c76 100644--- a/crates/openhuman-core/src/integrations/task_sources/README.md+++ b/crates/openhuman-core/src/integrations/task_sources/README.md@@ -18,7 +18,7 @@ Proactive ingestion of work items from external tools. A **task source** is a us| File | Role || --- | --- || `crates/openhuman-core/src/integrations/task_sources/mod.rs` | Export-only: module docstring, `mod`/`pub mod` decls, `pub use` re-exports, and the `all_task_sources_*` controller registry pair. |-| [`crates/openhuman-core/src/integrations/task_sources/types.rs`](./types.rs) | Serde domain types: `ProviderSlug`, `FilterSpec` (provider-tagged enum), `SourceTarget`, `FetchReason`, `TaskSource`, `TaskSourcePatch`, `EnrichedTask`, `FetchOutcome`. |+| [`crates/openhuman-core/src/integrations/task_sources/types.rs`](./types.rs) | Re-exports the connector vocabulary types (`ProviderSlug`, `FilterSpec`, `SourceTarget`, `FetchReason`, owned by `tinyconnectors_bus::vocabulary`) and defines the host-owned task-source types (`TaskSource`, `TaskSourcePatch`, `EnrichedTask`, `FetchOutcome`) plus `provider_can_fetch`. || `crates/openhuman-core/src/integrations/task_sources/store.rs` | SQLite persistence (`<workspace>/task_sources/sources.db`): `task_sources` + `ingested_tasks` tables, dedup `content_hash`, migrate-on-open. || `crates/openhuman-core/src/integrations/task_sources/ops.rs` | RPC-facing business logic returning `Outcome<T>`: `list`/`get`/`add`/`update`/`remove`/`fetch`/`sync`/`list_tasks`/`preview_filter`/`list_databases`/`status`. || `crates/openhuman-core/src/integrations/task_sources/schemas.rs` | `task_sources` controller schemas + `all_controller_schemas` / `all_registered_controllers` + thin `handle_*` param parsers delegating to `ops.rs`. |@@ -36,7 +36,7 @@ Proactive ingestion of work items from external tools. A **task source** is a usRe-exported from `mod.rs`:-- Types: `TaskSource`, `TaskSourcePatch`, `FilterSpec`, `ProviderSlug`, `SourceTarget`, `FetchReason`, `EnrichedTask`, `FetchOutcome`; plus `NormalizedTask`, `TaskContainer`, `TaskFetchFilter`, `TaskKind` re-exported from `crate::integrations::composio::contract` (`pub use crate::integrations::composio::contract::{NormalizedTask, TaskContainer, TaskFetchFilter, TaskKind};` in `mod.rs`).+- Types: `TaskSource`, `TaskSourcePatch`, `EnrichedTask`, `FetchOutcome`; `FilterSpec`, `ProviderSlug`, `SourceTarget` and `FetchReason` are re-exported from `tinyconnectors_bus::vocabulary` through `types.rs`; plus `NormalizedTask`, `TaskContainer`, `TaskFetchFilter`, `TaskKind` re-exported from `crate::integrations::composio::contract` (`pub use crate::integrations::composio::contract::{NormalizedTask, TaskContainer, TaskFetchFilter, TaskKind};` in `mod.rs`).- Functions: `start_periodic_poll`, `run_source_once`.- Constant: `TASK_SOURCES_THREAD_ID` (`"task-sources"`).- RPC registry: `all_task_sources_controller_schemas`, `all_task_sources_registered_controllers`, `task_sources_schemas`.diff --git a/docs/module-boundary-inventory.md b/docs/module-boundary-inventory.mdindex 8d3928c0bd..81541524c2 100644--- a/docs/module-boundary-inventory.md+++ b/docs/module-boundary-inventory.md@@ -15,7 +15,7 @@ copying its implementation into a host, or accepting weaker isolation.| 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, 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`), with the synchronous slug helpers, the task-source configuration types (`ProviderSlug`, `FilterSpec`, `SourceTarget`, `FetchReason`) and the offered-toolkit allow/deny policy (`[composio] offered_toolkits_allow` / `offered_toolkits_deny`, read at module load) owned by `tinyconnectors-bus` (contract 1.21); tool visibility asks `ListVisibleTools` and listings are scope-filtered by the module; the host keeps the overview cache, mode switch, prompt mapping and `contract_gate`; 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`), with the synchronous slug helpers, the task-source configuration types (`ProviderSlug`, `FilterSpec`, `SourceTarget`, `FetchReason`) and the host-owned offered-toolkit allow/deny policy (`[composio] offered_toolkits_allow` / `offered_toolkits_deny`, parsed by `ComposioConfig`) passed to the module in its load blob by `module_config` and enforced by the module's listings (contract 1.21; a module loaded from the search path gets no host blob, so it offers every toolkit); tool visibility asks `ListVisibleTools` and listings are scope-filtered by the module; 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.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 |