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: update module READMEs for moved re-exports
Steven Enamakel84d9d57bac37
diff --git a/crates/openhuman-core/src/channels/README.md b/crates/openhuman-core/src/channels/README.mdindex f3d8ee7733..341a4f1d19 100644--- a/crates/openhuman-core/src/channels/README.md+++ b/crates/openhuman-core/src/channels/README.md@@ -102,7 +102,7 @@ When a tool call needs approval on a channel whose provider has `chat_approvals`| `host/` | The OpenHuman implementation of the `tinychannels::host` boundary: `build_channel_host` and its adapters (`adapters.rs`), the approval-surface and turn-state subscribers (`channel_events.rs`), and the remote-control host (`remote_control.rs`). || `runtime/` | Startup, listener supervision, the account-lifetime session, and the dispatch pipeline. See [runtime/README.md](runtime/README.md). || `controllers/` | The `channels.*` RPC namespace and `OpenHumanChannelBackend`. See [controllers/README.md](controllers/README.md). |-| [`bus.rs`](./bus.rs), `bus/` | `ChannelInboundSubscriber` (`subscriber.rs`), the backend progressive sender (`delivery.rs`), and the inbound thread-id re-export (`thread_id.rs`). |+| [`bus.rs`](./bus.rs), `bus/` | `ChannelInboundSubscriber` (`subscriber.rs`), the backend progressive sender (`delivery.rs`), and inbound identity derived directly through `tinychannels::channel`. || `context.rs` | `ChannelRuntimeContext`, per-sender history maps, history compaction, and timeout/backoff constants re-exported from `tinychannels::context`. || `routes.rs` | Slash-command parsing and per-sender route selection (provider and model overrides). || `proactive.rs` | `ProactiveMessageSubscriber` and the active-channel handle. |@@ -122,7 +122,7 @@ When a tool call needs approval on a channel whose provider has `chat_approvals`- `ProactiveMessageSubscriber` (`proactive.rs`) is outbound proactive delivery.- `ChannelSystemPrompt` (`system_prompt.rs`) is the seed prompt for every turn.- `OpenHumanChannelBackend` ([`controllers/backend.rs`](./controllers/backend.rs)) implements `tinychannels::ChannelBackend` for the RPC handlers.-- `ChannelDefinition` and `ChannelAuthMode` are re-exported from `tinychannels::controllers` (through [`controllers/definitions.rs`](./controllers/definitions.rs)) for declarative provider metadata.+- `ChannelDefinition` and `ChannelAuthMode` are defined by `tinychannels_bus::controllers` for declarative provider metadata.- `build_system_prompt` is a re-export of `agent::context::channels_prompt::build_system_prompt`.## RPC / CLI surfacediff --git a/crates/openhuman-core/src/integrations/composio/README.md b/crates/openhuman-core/src/integrations/composio/README.mdindex 3ab70276ac..f0adc9cf96 100644--- a/crates/openhuman-core/src/integrations/composio/README.md+++ b/crates/openhuman-core/src/integrations/composio/README.md@@ -65,7 +65,6 @@ triggers) from a real transport failure.| [`crates/openhuman-core/src/integrations/composio/direct_auth/mod.rs`](./direct_auth/mod.rs) | Direct-mode API-key health tracking: a process-local consecutive-401-failure counter (keyed by a non-logged key fingerprint) that short-circuits repeated invalid-key polling. || [`crates/openhuman-core/src/integrations/composio/trigger_history.rs`](./trigger_history.rs) | Lazy host lifecycle owner of a module-side opaque archive handle (`init_global`/`global`). || [`crates/openhuman-core/src/integrations/composio/bus.rs`](./bus.rs) + `bus/` | Trigger, connection-created and config-changed subscribers, and their registration. |-| [`crates/openhuman-core/src/integrations/composio/providers/mod.rs`](./providers/mod.rs) | Re-exports the curated catalogs, scope verdicts, identity vocabulary and run types from `contract/`. || [`crates/openhuman-core/src/integrations/composio/contract/`](./contract/) | The Composio vocabulary: catalogs, scopes, profiles, run shapes, task shapes. Plain data and pure functions. || `*_tests.rs` | Sibling test suites for each file. |@@ -132,7 +131,7 @@ Handlers delegate to `ops/`; scope handlers delegate to `ops::user_scopes`. Expo## Agent tools-From `tools.rs` (`all_composio_agent_tools`, registered only when `agent::subagent_host::user_is_signed_in_to_composio` is true): `composio_list_toolkits`, `composio_list_connections`, `composio_authorize`, `composio_connect` (inline OAuth approval card, #3993), `composio_list_tools`, `composio_execute`. Plus `ComposioActionTool` (one `Deferred` tool per action, found through `tool_search`, gated by `contract_gate.rs` on first call). Scope elevation is deliberately NOT an agent tool; the user toggles it in the UI. Visibility/execution is gated by curated catalogs (`providers::` contract re-exports) + per-toolkit user-scope prefs and sandbox mode; unparseable slugs default to `Write` (fail-closed).+From `tools.rs` (`all_composio_agent_tools`, registered only when `agent::subagent_host::user_is_signed_in_to_composio` is true): `composio_list_toolkits`, `composio_list_connections`, `composio_authorize`, `composio_connect` (inline OAuth approval card, #3993), `composio_list_tools`, `composio_execute`. Plus `ComposioActionTool` (one `Deferred` tool per action, found through `tool_search`, gated by `contract_gate.rs` on first call). Scope elevation is deliberately NOT an agent tool; the user toggles it in the UI. Visibility/execution is gated by curated catalogs (`contract/`) + per-toolkit user-scope prefs and sandbox mode; unparseable slugs default to `Write` (fail-closed).## Events@@ -179,7 +178,7 @@ Published from `ops/` via `crate::core::bus::BUS.publish` (`crate::core::events:- [`crates/openhuman-core/src/security/credentials/ops/composio.rs`](../../security/credentials/ops/composio.rs): direct-mode API key storage.- [`crates/openhuman-core/src/channels/runtime/dispatch/routing.rs`](../../channels/runtime/dispatch/routing.rs): channel routing over connected integrations.- `crates/openhuman-core/src/flows/**` (`ops/catalog.rs`, `ops/connection_ref_gate.rs`, `ops/tool_contract_gate.rs`, [`ops/connections.rs`](./ops/connections.rs), `ops/wiring_warnings.rs`, `ops/approval_manifest.rs`, `ops/builder.rs`, `tinyflows/caps/tools/composio.rs`), workflow builder capability adapters over the catalog.-- `crates/openhuman-core/src/integrations/task_sources/**`: re-exports `NormalizedTask`/`TaskContainer`/`TaskFetchFilter`/`TaskKind` from `providers/mod.rs` (its fetch stage is stubbed since `ComposioProvider::fetch_tasks` went away).+- `crates/openhuman-core/src/integrations/task_sources/**`: re-exports `NormalizedTask`/`TaskContainer`/`TaskFetchFilter`/`TaskKind` from `contract/` (its fetch stage is stubbed since `ComposioProvider::fetch_tasks` went away).- `crates/openhuman-core/src/modules/{connectors_tests,memory_host}.rs`: module loader tests/wiring for the connector bridge.- [`crates/openhuman-core/src/core/observability.rs`](../../core/observability.rs): matches `direct_auth::COMPOSIO_INVALID_API_KEY_ANCHOR` / `_USER_MESSAGE` when classifying errors.diff --git a/crates/openhuman-core/src/integrations/task_sources/README.md b/crates/openhuman-core/src/integrations/task_sources/README.mdindex 88dcffacfc..a540e09570 100644--- a/crates/openhuman-core/src/integrations/task_sources/README.md+++ b/crates/openhuman-core/src/integrations/task_sources/README.md@@ -37,7 +37,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::providers` (`pub use crate::integrations::composio::providers::{NormalizedTask, TaskContainer, TaskFetchFilter, TaskKind};` in `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`).- 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`.@@ -142,7 +142,7 @@ SQL cascade). With no backend configured (the desktop default)- `crate::core::all`: `ControllerFuture`, `RegisteredController` for the RPC registry.- `crate::core::bus` (`BUS`) + `crate::core::events::DomainEvent`: `BUS.publish`/`BUS.subscribe` for event publish/subscribe.- `crate::config` (+ `config::rpc`), `Config`, `load_config_with_timeout`; reads the `[task_sources]` block for defaults and the master switch.-- `crate::integrations::composio::providers`: `NormalizedTask`, `TaskContainer`, `TaskFetchFilter`, `TaskKind` (contract types re-exported from `tinymemory_api::composio::tasks`). The old `get_provider` / `ProviderContext` / `ComposioProvider::fetch_tasks` registry no longer exists; `mod.rs`'s intra-doc link to `fetch_tasks` is stale.+- `crate::integrations::composio::contract`: `NormalizedTask`, `TaskContainer`, `TaskFetchFilter`, `TaskKind` (contract types re-exported from `tinymemory_api::composio::tasks`). The old `get_provider` / `ProviderContext` / `ComposioProvider::fetch_tasks` registry no longer exists; `mod.rs`'s intra-doc link to `fetch_tasks` is stale.- `crate::agent::triage`: `run_triage`, `apply_decision`, `TriageOutcome`, `TriggerEnvelope`; dispatches the proactive agent turn for `AgentTodoProactive` sources.- `crate::cron::scheduler_gate`: `wait_for_capacity` capacity semaphore; gates proactive triage turns behind background-AI throttling.diff --git a/crates/openhuman-core/src/skills/README.md b/crates/openhuman-core/src/skills/README.mdindex 195423b6a6..3b128606f3 100644--- a/crates/openhuman-core/src/skills/README.md+++ b/crates/openhuman-core/src/skills/README.md@@ -137,7 +137,6 @@ there only while its bytes still match the binary| [`ops_types.rs`](./ops_types.rs) | Ungated. OpenHuman names for the `tinyskills` model (`Workflow`, `WorkflowFrontmatter`, `WorkflowScope`), `SKILL_TOML`, `WORKFLOW_TOML`, the trust marker name. || [`types.rs`](./types.rs) | Ungated. `ToolResult` and `ToolContent` re-exported from `tinytools` for older import paths. || [`ops_discover.rs`](./ops_discover.rs), [`ops_discover/`](./ops_discover/) | `api.rs` (public entry points, metadata cache, trust check), `scan.rs` (root order and scan engine), `resource.rs` (`read_workflow_resource`). |-| [`ops_parse.rs`](./ops_parse.rs) | Frontmatter and body split, resource inventory. || [`ops_create.rs`](./ops_create.rs) | Scaffold a new skill with its sidecar. || [`ops_install.rs`](./ops_install.rs), [`ops_install/`](./ops_install/) | `fetch.rs` (URL installer: fetches through `tinyskills::fetch_skill_document`, then validates and writes with `install_validated_document`, which catalog installs share), `scan_gate.rs` (supply-chain scan with one re-fetch before refusing), `url_validation.rs`, `uninstall.rs`. || [`registry.rs`](./registry.rs) | Skills as agent definitions with inputs; `render_inputs_block`, `prune_legacy_default_workflows`. |diff --git a/crates/openhuman-core/src/util/README.md b/crates/openhuman-core/src/util/README.mdindex d6ad542e4a..2af0cf3c6e 100644--- a/crates/openhuman-core/src/util/README.md+++ b/crates/openhuman-core/src/util/README.md@@ -2,8 +2,7 @@Small, self-contained helpers that several domains share: UTF-8-safe texttruncation, retry with backoff for flaky filesystem operations, log-redaction, URL normalization, JSON-RPC param decoding, LLM-facing text-sanitization and the platform TLS choice for `reqwest`. `pub mod util;` in+redaction, URL normalization, JSON-RPC param decoding and the platform TLS choice for `reqwest`. `pub mod util;` in`lib.rs` is unconditional, so everything here is compiled in every build.## How it works@@ -11,7 +10,8 @@ sanitization and the platform TLS choice for `reqwest`. `pub mod util;` inThere is no flow here, only a rule about direction. Domains depend on `util`;`util` depends on no domain. No file in this folder has a `use crate::` line.A helper that needs a `Config`, a `Tool`, a workspace or security policy-belongs in the domain that owns those things.+belongs in the domain that owns those things. Domains import LLM-facing text+sanitization directly from `tinytools_std::sanitize`.```textagent memory tools inference config integrations mcp ...@@ -23,7 +23,7 @@ belongs in the domain that owns those things.|vexternal crates: serde_json, sha2, url, reqwest, tokio,- tracing, anyhow, tinymcp_bus (sanitize)+ tracing, anyhow````util` is kernel surface, so it also sits under the dependency-floor ratchet@@ -41,7 +41,6 @@ copy.| [`redact.rs`](./redact.rs) | `redact` hashes a string to 8 hex chars for log lines. `redact_url_for_log` replaces URL userinfo with `redacted`. || [`url.rs`](./url.rs) | `normalize_api_base_url`, `normalize_backend_api_base_url`, `join_url`, `host_is_local`. || [`params.rs`](./params.rs) | `read_required` and `read_optional`, the shared param decoders for controller handlers. |-| [`sanitize.rs`](./sanitize.rs) | A re-export of `tinymcp_bus::sanitize`: `sanitize_for_llm`, `strip_control_chars`, `strip_instruction_fences`, `truncate_utf8_safe`, `MAX_DESCRIPTION_BYTES`, `MAX_TITLE_BYTES`. || [`types.rs`](./types.rs) | `MaybeSet<T>` (`Set`, `Unset`, `Null`). || [`tls/`](tls/README.md) | `tls_client_builder()`, the platform-conditional TLS backend for `reqwest` clients. |@@ -121,7 +120,7 @@ null" (`Null`) in partial-update payloads. The caller today is[`mod.rs`](./mod.rs) re-exports `read_optional`, `read_required`, `redact_url_for_log`,the `retry` functions, the `text` functions and `MaybeSet` at the module root,so `crate::util::truncate_with_ellipsis` works without naming the submodule.-`redact::redact`, `sanitize::*`, `url::*` and `tls::tls_client_builder` are+`redact::redact`, `url::*` and `tls::tls_client_builder` arereached through their submodule path. From outside the crate the library nameis `openhuman_core`, which is the path the `truncate_with_ellipsis` doctestuses.diff --git a/crates/openhuman-core/src/voice/README.md b/crates/openhuman-core/src/voice/README.mdindex 3ec56be016..0e61860b6d 100644--- a/crates/openhuman-core/src/voice/README.md+++ b/crates/openhuman-core/src/voice/README.md@@ -245,7 +245,6 @@ per tick would multiply request count for text the client discards.| [`server.rs`](./server.rs), [`server/`](./server/) | The `VoiceServer` dictation runtime: hotkey loop, recording lifecycle, gates, delivery, global singleton. [README](server/README.md). || [`always_on.rs`](./always_on.rs), [`always_on/`](./always_on/) | VAD-driven continuous listening, screen-lock pause, wake word and intent routing. [README](always_on/README.md). || [`audio_capture.rs`](./audio_capture.rs) | Microphone recording to 16 kHz mono WAV (`start_recording`, `RecordingHandle`, `RecordingResult`, `list_input_devices`) with peak RMS and the host microphone-permission policy. The `cpal` stream is `tinyvoice::capture`. |-| [`hotkey.rs`](./hotkey.rs) | Re-export of TinyVoice bus hotkey vocabulary. TinyVoice owns native listener parsing and lifecycle. || [`dictation_listener.rs`](./dictation_listener.rs) | The two broadcast channels and host event-forwarding lifecycle over TinyVoice's native listener. || [`bus.rs`](./bus.rs) | `publish_ptt_transcript_committed`. || `live/` | Live voice agents: `providers.rs`, `session.rs`, `ws.rs` (`http-server` only), `persist.rs`, `ops.rs` / `schemas.rs` (`voice.live_*`), `types.rs`, `error.rs`, and `prompt.md` (voice guidance for the model). |