Skip to content

@maxhealth.tech/prefab / renderer / AppOptions

Interface: AppOptions

Defined in: renderer/app.ts:40

Properties

mode?

ts
optional mode?: "auto" | "bridge" | "standalone";

Defined in: renderer/app.ts:42

Override environment detection: force bridge or standalone mode.


hostOrigin?

ts
optional hostOrigin?: string;

Defined in: renderer/app.ts:44

Allowed host origin for postMessage (default: '*'). Set explicitly in production.


transport?

ts
optional transport?: McpTransportOptions;

Defined in: renderer/app.ts:46

HTTP transport options (for standalone mode).


capabilities?

ts
optional capabilities?: AppCapabilities;

Defined in: renderer/app.ts:48

App capabilities to advertise to host.

Released under the MIT License.