eHub's window: the hub that lets AI assistants query and drive the suite's apps, and that runs automated flows.

eHub is the meeting point between AI assistants and the suite's apps. An assistant can check an app's status, search its catalogue or ask it to do something, always within what that app chooses to offer. eHubHelper is its window: it shows what is happening in the hub and lets you manage it. Closing the window does not stop the hub.
There are three parts:
Every app follows a common contract. With its «Control by assistant» switch on, which is off by default, the app opens an API on 127.0.0.1 only, generates a random token and announces itself to the hub. It declares its tools, each with its argument schema and its effect: read, write or destructive. The hub does not guess anything: whatever the app does not declare does not exist. Destructive actions always take two steps: one tool prepares the plan and returns a single-use token, and another confirms it. No tool ever returns passwords or keys.
The hub can also open and close any app in the suite even if it has no API, it collects the events the apps emit and it keeps a record of every call.
Rust in a workspace with the contract core, the hub, the MCP server, the flow engine, the ehub-api library for apps and the window. The window uses egui and the house theme. The ehub-api library lets a Rust app expose its API with little code: local port, token, announcement, events and two-step confirmation.
Everything is local: the hub and the APIs only listen on the machine itself, reject requests with an Origin header and check the Host. Only apps that implement the contract can be controlled; the others can only be opened and closed. Flows never use destructive tools or confirmations, they have a repetition cap, and a flow created by an assistant stays disabled until a person switches it on.