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(credentials): update backend re-export references
Steven Enamakeldb23f9631c69
diff --git a/crates/openhuman-core/src/security/credentials/README.md b/crates/openhuman-core/src/security/credentials/README.mdindex 34517ec988..5ed27427a9 100644--- a/crates/openhuman-core/src/security/credentials/README.md+++ b/crates/openhuman-core/src/security/credentials/README.md@@ -20,7 +20,7 @@ Credential management for the backend credential the core authenticates with and| File | Role || -------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |-| [`mod.rs`](./mod.rs) | Export-focused. Re-exports `core::*`, [`ops`](./ops) (also as `rpc`), Composio-direct helpers, schema controllers (`all_credentials_controller_schemas` / `all_credentials_registered_controllers`), `crate::backend::BackendClient`, and `jwt::user_id_from_profile_payload`. |+| [`mod.rs`](./mod.rs) | Export-focused. Re-exports `core::*`, [`ops`](./ops) (also as `rpc`), Composio-direct helpers, schema controllers (`all_credentials_controller_schemas` / `all_credentials_registered_controllers`), and `jwt::user_id_from_profile_payload`. || [`core.rs`](./core.rs) | `AuthService` facade over `AuthProfilesStore`: store/get/remove/set-active profiles, resolve bearer token, profile-id selection logic (override → active → default → any-for-provider), provider normalization, state-dir derivation. || [`profiles.rs`](./profiles.rs) | The persistence engine. `AuthProfile` / `TokenSet` / `AuthProfileKind` / `AuthProfilesData` types and `AuthProfilesStore`: atomic JSON read/write, keychain vs encrypted-JSON secret handling, legacy migration, corrupt-store quarantine, PID-aware stale-lock recovery. || [`api_key.rs`](./api_key.rs) | The `api-key` profile: `store_api_key[_in]`, `get_api_key[_in]`, `has_api_key[_in]`, `clear_api_key`. |@@ -42,7 +42,7 @@ Credential management for the backend credential the core authenticates with and- **Types** ([`profiles.rs`](./profiles.rs)): `AuthProfile`, `AuthProfileKind` (`OAuth`/`Token`), `TokenSet`, `AuthProfilesData`, `AuthProfilesStore`.- **Ops/RPC** ([`ops`](./ops), re-exported as `rpc`): `set_credential`, `clear_credential`, `store_session`, `clear_session`, `SetCredentialRequest`, `seed_api_key_from_env`, `seed_session_from_env`, `auth_get_state`, `auth_get_session_token_json`, `store_provider_credentials`, `remove_provider_credentials`, `list_provider_credentials`, `list_provider_credentials_by_prefix`, `encrypt_secret`, `decrypt_secret`, `start_credential_gated_services`, `stop_credential_gated_services`.- **Composio-direct**: `store_composio_api_key`, `get_composio_api_key`, `clear_composio_api_key`, `rpc_store_composio_api_key`.-- **Backend re-exports**: `crate::backend::BackendClient` and `jwt::user_id_from_profile_payload`. The OAuth connect/handoff types (`IntegrationSummary`, `IntegrationTokensHandoff`) and `decrypt_handoff_blob` moved to `crates/openhuman-tinyhumans/src/hosted/oauth/` with the OAuth flows themselves.+- **Backend re-exports**: `jwt::user_id_from_profile_payload`. `BackendClient` lives in `crates/openhuman-tinyhumans/src/client/`. The OAuth connect/handoff types (`IntegrationSummary`, `IntegrationTokensHandoff`) and `decrypt_handoff_blob` moved to `crates/openhuman-tinyhumans/src/hosted/oauth/` with the OAuth flows themselves.- **Schema controllers**: `all_credentials_controller_schemas`, `all_credentials_registered_controllers`.## RPC / controllers@@ -110,7 +110,7 @@ across processes; the local file lock still serializes one host.- `crate::memory::conversations`: purge pre-login threads, bind conversation persistence after activation.- `crate::memory`: bind memory client to the active workspace after activation.- `crate::inference::host_runtime`, `crate::voice::{server,dictation_listener,always_on}`: credential-gated services started/stopped.-- `crate::backend`: `BackendClient`, `backend::base_url` (via the installed transport); [`jwt.rs`](./jwt.rs): JWT `exp` decode and `user_id_from_profile_payload`.+- [`jwt.rs`](./jwt.rs): JWT `exp` decode and `user_id_from_profile_payload`.- `crate::core::all` (`ControllerFuture`, `RegisteredController`), `crate::core` (`ControllerSchema`/`FieldSchema`/`TypeSchema`), `crate::core::events::DomainEvent` + `tinybus::EventHandler`, `crate::rpc::RpcOutcome`: controller registry + RPC envelope + event bus.## Used bydiff --git a/crates/openhuman-core/src/util/README.md b/crates/openhuman-core/src/util/README.mdindex 42329ce16d..63b8c7d81b 100644--- a/crates/openhuman-core/src/util/README.md+++ b/crates/openhuman-core/src/util/README.md@@ -129,8 +129,8 @@ uses.- The sanitization rule is owned by `tinymcp_bus` (`vendor/tinymcp`).- Hosted-backend URL resolution (defaults, `BACKEND_URL` overrides) belongs- to the installed backend transport in `crates/openhuman-tinyhumans`, asked- through `crate::backend`. [`url.rs`](./url.rs) only does string and URL shape work.+ to `crates/openhuman-tinyhumans`, which publishes the result on+ `Config.resolved_endpoints` (`config::register_enricher`). [`url.rs`](./url.rs) only does string and URL shape work.- Secret scrubbing for logs and Sentry lives in `core::log_redaction` and`core::observability`. `redact` is only a stable hash for identifiers.