Skip to content

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

docs: rename notch window to mascot window and trim voice module docs

Steven Enamakel9d24354f88ab
diff --git a/app/src/main.tsx b/app/src/main.tsx
index aeb4312776..620632d24e 100644
--- a/app/src/main.tsx
+++ b/app/src/main.tsx
@@ -30,7 +30,7 @@ setStoreForApiClient(() => getCoreStateSnapshot().snapshot.sessionToken);
// window label, so the Rust shell appends `?window=mascot` to the URL it
// loads. Detect it via the URL param so we can skip `getCurrentWindow()`
// — which would either throw or hit the IPC-bootstrap gap that
-// `tauriRuntimeAvailable() (= the hardened `isTauri()`) now guards
+// `tauriRuntimeAvailable()` (the hardened `isTauri()` check) now guards
// against by reading `window.__TAURI_INTERNALS__.invoke`.
const urlWindowParam = (() => {
try {
diff --git a/app/src/services/coreSocket.ts b/app/src/services/coreSocket.ts
index 5149b06d67..e44c23de69 100644
--- a/app/src/services/coreSocket.ts
+++ b/app/src/services/coreSocket.ts
@@ -6,9 +6,8 @@
* The core handshake validates the per-process bearer token, so every
* caller has to read it via `getCoreRpcToken()` and pass it through
* `io(url, { auth: { token } })`. Centralising the factory keeps the
- * handshake shape uniform across the three current call sites
- * (`socketService`) and gives each
- * site a single line to call.
+ * handshake shape uniform at the current `socketService` call site and gives
+ * it a single line to call.
*/
import { io, type ManagerOptions, type Socket, type SocketOptions } from 'socket.io-client';
diff --git a/crates/openhuman-core/src/desktop/README.md b/crates/openhuman-core/src/desktop/README.md
index a8f823d51b..ec3efc61fd 100644
--- a/crates/openhuman-core/src/desktop/README.md
+++ b/crates/openhuman-core/src/desktop/README.md
@@ -18,7 +18,7 @@ The members are independent. They share a host-facing role, not a data model.
Each one meets the frontend in one of two ways:
```text
- React shell / notch window / browser SPA
+ React shell / mascot window / browser SPA
| ^
JSON-RPC | | Socket.IO
(openhuman.*)| | (openhuman-rpc server/socketio.rs)
@@ -109,9 +109,9 @@ Method names are `openhuman.<namespace>_<function>`.
## Boundaries
-- Windows, tray, notch window, and OS integration belong to the Tauri shell
- (`crates/openhuman-app/`). The notch window host is
- [`crates/openhuman-app/src/notch_window.rs`](../../../openhuman-app/src/notch_window.rs).
+- Windows, tray, mascot window, and OS integration belong to the Tauri shell
+ (`crates/openhuman-app/`). The mascot window host is
+ [`crates/openhuman-app/src/mascot_native_window.rs`](../../../openhuman-app/src/mascot_native_window.rs).
- Socket.IO forwarding belongs to [`crates/openhuman-rpc/src/server/socketio.rs`](../../../openhuman-rpc/src/server/socketio.rs).
- OS accessibility (AX and IOKit FFI, the Swift helper, focus, permissions,
the Globe key) executes inside the compiled TinyComputer module in
diff --git a/crates/openhuman-core/src/modules/README.md b/crates/openhuman-core/src/modules/README.md
index f8bf304be6..59da575b37 100644
--- a/crates/openhuman-core/src/modules/README.md
+++ b/crates/openhuman-core/src/modules/README.md
@@ -298,7 +298,7 @@ download, its `dlopen`, or its resident memory.
| --- | --- | --- |
| [`documents.rs`](documents.rs) | `tinydocs` | `generate_docx`, `generate_pptx`, `extract_text`, bounded `extract_document`, complete `convert_markdown`, `inspect_image`, and `render_pdf`. Inbound bytes ride a TinyBus stream; held results are pulled with `ReadOutput` and released. Feature `documents`. |
| [`wallet.rs`](wallet.rs) | `tinywallet` | Typed wallet, Web3, ERC-20 encoding, and x402 calls. Key material goes only to confidential calls to an attested module whose digest is pinned by the registry (`attested_proxy`). Feature `web3`. |
-| [`voice.rs`](voice.rs) | `tinyvoice` | Hallucination checks, hotkey recording sessions, and capture preparation. Every call returns a `VoiceCallError` the caller falls back from. Feature `voice`. |
+| [`voice.rs`](voice.rs) | `tinyvoice` | Transcript hallucination screening for speech-to-text results. An unavailable module lets the transcript pass through. Feature `voice`. |
| [`desktop.rs`](desktop.rs) | `tinycomputer` | The shared proxy for TinyComputer: loads it with an 8 second bound, reinitializes it when its configuration fingerprint changes, and exposes `call`, `permissions`, `state`, `jev_ready`. |
| [`computer_config.rs`](computer_config.rs) | `tinycomputer` | The private configuration: `jev` (decision model), `planner` (planner, rescue and output models), `browser` (Chrome path), `trace_path`. Rebuilt from `[computer]` and stored credentials on every call; `OPENHUMAN_COMPUTER_TRACE` turns tracing on. |
| [`computer.rs`](computer.rs) | `tinycomputer` | `status` for the Computer settings page: lifecycle state, configured routes, and optionally what the module reports through `Describe`. |
diff --git a/crates/openhuman-core/src/security/credentials/README.md b/crates/openhuman-core/src/security/credentials/README.md
index 257bc11868..97feaf055d 100644
--- a/crates/openhuman-core/src/security/credentials/README.md
+++ b/crates/openhuman-core/src/security/credentials/README.md
@@ -7,7 +7,7 @@ Credential management for the backend credential the core authenticates with and
## Responsibilities
- Install a backend credential (`set_credential`): a session JWT (with the user id / payload the host resolved, or the JWT's subject claim), a TinyHumans API key, or the offline local token. A JWT whose `exp` is already past is refused; a session with no resolvable user id is refused.
-- On install: activate the user-scoped openhuman directory, purge pre-login (anonymous) conversation threads on first activation, bind memory/conversation persistence, start the credential-gated services (local AI, voice server, dictation listener, always-on voice), open the scheduler gate, scope Sentry and the prompt-layer identity. A repeat install with the **same token and user** is a cheap refresh of the stored user payload (this is how a host replaces a `pendingBackendValidation` placeholder with its later `/auth/me` answer); a **different user** is signed out first.
+- On install: activate the user-scoped openhuman directory, purge pre-login (anonymous) conversation threads on first activation, bind memory/conversation persistence, start credential-gated services, open the scheduler gate, scope Sentry and the prompt-layer identity. A repeat install with the **same token and user** is a cheap refresh of the stored user payload (this is how a host replaces a `pendingBackendValidation` placeholder with its later `/auth/me` answer); a **different user** is signed out first.
- On removal / session-expiry (`clear_credential`): remove the profile, clear the active-user marker, stop the gated services, rebind process globals to the signed-out workspace, and close the scheduler-gate override.
- Boot seeding for headless hosts: `OPENHUMAN_BACKEND_API_KEY` / `OPENHUMAN_BACKEND_SESSION_TOKEN` install a credential on a fresh store (never overwrite one).
- Persist arbitrary provider credentials (token + metadata fields) as named auth profiles; list/remove/set-active; prefix-list profiles for grouped namespaces (e.g. `channel:*`).
diff --git a/crates/openhuman-rpc/src/server/README.md b/crates/openhuman-rpc/src/server/README.md
index a31407cdac..d62a141d69 100644
--- a/crates/openhuman-rpc/src/server/README.md
+++ b/crates/openhuman-rpc/src/server/README.md
@@ -189,9 +189,8 @@ broadcast to every client, most under both a colon- and an
underscore-separated name (`workspace:changed` and `workspace_changed`).
`COMPANION_STATE_BUS` and `publish_companion_state_changed` are a
-transport-only seam for the shell's companion: the native macOS notch
-WKWebView has no Tauri IPC bridge and connects to this Socket.IO endpoint
-directly.
+transport-only seam for companion clients that receive lifecycle state over
+Socket.IO, separate from the main renderer's Tauri event.
## Layout
diff --git a/crates/openhuman-rpc/src/server/socketio.rs b/crates/openhuman-rpc/src/server/socketio.rs
index c0cd542510..cc9332e34c 100644
--- a/crates/openhuman-rpc/src/server/socketio.rs
+++ b/crates/openhuman-rpc/src/server/socketio.rs
@@ -11,11 +11,9 @@
//! connected client, most under both a colon- and an underscore-separated
//! event name for frontend compatibility. `COMPANION_STATE_BUS` is a broadcast
//! channel dedicated to shell-originated companion lifecycle events: the
-//! companion implementation itself lives in the Tauri shell, but the native
-//! macOS notch WKWebView has no Tauri IPC bridge and connects to the
-//! embedded core's Socket.IO endpoint directly, so this module keeps a
-//! transport-only seam for it rather than reintroducing a core-side
-//! companion domain.
+//! companion implementation itself lives in the Tauri shell; companion
+//! clients that use Socket.IO receive lifecycle state through this
+//! transport-only seam rather than a core-side companion domain.
//!
//! The socketioxide/axum transport bodies (the actual `SocketIo` server,
//! connection handlers, and `spawn_web_channel_bridge`) are gated behind the
@@ -37,7 +35,7 @@ use socketioxide::SocketIo;
use crate::core_host::web_chat::{GuardrailPayload, WebChannelEvent};
/// Shell-originated companion lifecycle events that still need to reach
-/// Socket.IO-only surfaces such as the native macOS notch WKWebView.
+/// Companion clients that receive lifecycle state through Socket.IO.
static COMPANION_STATE_BUS: once_cell::sync::Lazy<tokio::sync::broadcast::Sender<Value>> =
once_cell::sync::Lazy::new(|| {
let (tx, _rx) = tokio::sync::broadcast::channel(64);
@@ -46,10 +44,9 @@ static COMPANION_STATE_BUS: once_cell::sync::Lazy<tokio::sync::broadcast::Sender
/// Publish a shell-side companion state payload for Socket.IO clients.
///
-/// The companion implementation lives in the Tauri shell, but the notch
-/// WKWebView has no Tauri IPC bridge and connects directly to the embedded
-/// core's Socket.IO endpoint. Keeping this transport-only seam here avoids
-/// reintroducing the removed core companion domain.
+/// The companion implementation lives in the Tauri shell. Keeping this
+/// transport-only seam here avoids reintroducing the removed core companion
+/// domain.
pub fn publish_companion_state_changed(payload: Value) -> usize {
COMPANION_STATE_BUS.send(payload).unwrap_or_default()
}
@@ -585,9 +582,8 @@ pub fn spawn_web_channel_bridge(io: SocketIo) {
let io_companion = io.clone();
let io_workspace = io.clone();
- // Shell companion state → broadcast to all clients. The main renderer also
- // receives a Tauri event directly; this path preserves the Socket.IO-only
- // native notch surface.
+ // Shell companion state → broadcast to Socket.IO clients. The main
+ // renderer also receives a Tauri event directly.
tokio::spawn(async move {
let mut rx = subscribe_companion_state_changed();
loop {
diff --git a/docs/module-boundary-inventory.md b/docs/module-boundary-inventory.md
index 0a54b1e592..ec3b3848f1 100644
--- a/docs/module-boundary-inventory.md
+++ b/docs/module-boundary-inventory.md
@@ -23,7 +23,7 @@ copying its implementation into a host, or accepting weaker isolation.
| tinywallet | none in normal/build host dependencies | tinywallet-bus | core wallet/web3/x402 | Complete: v0.20.0 contract 1.14 adds mnemonic word-count validation to module-owned mnemonic derivation, native transactions, Web3 quotes/execution, ERC-20 encoding, and x402 payment parsing/budgets/ledger. OpenHuman retains encrypted-key custody, authenticated transport, explicit approval, and lifecycle orchestration |
| tinybox | tinybox-core (test-only) | tinybox-bus | core sandbox and security, desktop gateways | Host cutover uses TinyBox v0.1.28 (contract 1.18); the host calls members only through `tinybox_bus::names` constants and uses `tinybox_bus::CommandClass` directly (no host copy or re-export). It covers for sandbox/resource lifecycle, collected and supervised execution, jailed and native shell execution (unsandboxed, cron and the `shell` tool run through `StartNativeShellExec`; core has no shell selection or spawn of its own), standalone Docker policy validation (`ValidateDockerPolicy`), Docker control, local grants (`ResolveLocalGrants`; the host re-applies `is_always_forbidden` to the reply), file transfer and port forwarding. Host authorization and the security floor remain in OpenHuman |
| tinycomputer | none | tinycomputer-bus | core voice, paste/focus and permission checks | Permission, focus, paste and Globe listener operations use the module; native thread and target rules remain covered |
-| tinyvoice | None | tinyvoice-bus | core voice capture/hotkeys | Module-owned devices, recording and continuous capture, bounded audio reads/batches, explicit lease cleanup; computer module permission decisions |
+| tinyvoice | None | tinyvoice-bus | core voice transcript screening | Module-owned audio capabilities remain available through the published contract; OpenHuman currently uses it only for transcript hallucination screening |
| tinyruntime | tinyruntime-pyserver | tinyruntime-bus | core Python worker, optional TinyJuice ML | Excluded from this migration: TinyRuntime is being removed separately |
| tinydocs / tinymemory | none | tinydocs-bus | core memory converter and file sources | Bus DocumentConverter replaces OfficeConverter, including XLSX and existing PDF/DOCX/PPTX format coverage; ingestion metadata remains host-owned; `[components].documents = false` refuses `ensure_loaded("tinydocs")` and the `documents` tool group, makes the converter answer `COMPONENT_DISABLED:documents`, and degrades attachment ingest to a note |
| tinysearch | none observed | tinysearch-bus (v0.5.0, contract 2.2) | core module search proxy; error classification (`errors::Category`), role helpers and route/presentation config types live in tinysearch-bus; render text/markdown and provider labels live in `tinysearch_bus::{render,labels}`, core keeps the UI-metadata projection (`search/render.rs`) | Preserve existing bus adapter; enforce contract and host dependency graphs |
@@ -333,13 +333,13 @@ leases on cancellation, sign-out and shutdown. Failed cleanup stays registered
for retry. Microphone authorization remains a TinyComputer call; the host does
not link TinyVoice or CPAL. The existing hotkey adapter remains module-backed.
-TinyVoice v0.3.0 (contract 1.10) owns wake-word sequencing (`SequenceUtterance`),
-the pre-transcription recording gates (`GateRecording`) and the hotkey recording
-state machine (`SessionOpen` / `SessionAdvance` / `SessionStatus` /
-`SessionClose`). The always-on adapter and `voice/server` call them by contract
-constant; the host keeps only native recording setup, transcription, text
-delivery and the Globe composition, and reports each fact to the session and
-performs the one action it answers with (openhuman#7587).
+TinyVoice v0.3.0 (contract 1.10) added wake-word sequencing
+(`SequenceUtterance`), pre-transcription recording gates (`GateRecording`) and
+the hotkey recording state machine (`SessionOpen` / `SessionAdvance` /
+`SessionStatus` / `SessionClose`). This records the earlier host integration
+stage (openhuman#7587). OpenHuman now calls TinyVoice only for transcript
+hallucination screening; the published optional contract remains unchanged for
+other consumers.
This cut removes the `tinyvoice` and `cpal` host exceptions, leaving nine
implementation exceptions for Channels, MCP, Box and Wallet. The resolved
diff --git a/scripts/release/generate-release-notes.mjs b/scripts/release/generate-release-notes.mjs
index a5021806bf..e00e33e71b 100644
--- a/scripts/release/generate-release-notes.mjs
+++ b/scripts/release/generate-release-notes.mjs
@@ -657,7 +657,7 @@ export function groupPullRequestsByHighlight(pullRequests) {
const groups = [
{
title: '🎙️ Voice & hands-free control',
- keywords: ['voice', 'push-to-talk', 'ptt', 'wake word', 'notch', 'vad', 'stt', 'desktop control', 'automate', 'accessibility', 'vision'],
+ keywords: ['voice', 'vad', 'stt', 'desktop control', 'automate', 'accessibility', 'vision'],
summary:
'Voice and hands-free control get more useful across the desktop, with always-on listening, global push-to-talk, faster command routing, and stronger automation paths for interacting with apps.',
pullRequests: [],