Skip to content

Variable: PlatformSchemas

Makaio Framework


Makaio Framework / contracts / PlatformSchemas

const PlatformSchemas: object

Defined in: ../../../packages/contracts/src/platform/schemas.ts:14

Platform capability schemas.

Cross-platform bus subjects for OS-level capabilities. Each platform package (platform-macos, platform-linux, platform-windows) registers handlers for the capabilities it supports.

Consumers interact exclusively through these subjects — never through OS APIs directly.

autoLaunch.disable: object

Disable auto-launch at login.

Subject: platform.autoLaunch.disable Type: Request (RPC)

request: ZodObject<{ }, $strip>

response: ZodObject<{ disabled: ZodBoolean; error: ZodOptional<ZodString>; }, $strip>

autoLaunch.enable: object

Enable auto-launch at login.

The platform provider registers the application as a login item (macOS), autostart entry (Linux), or Run key (Windows).

Subject: platform.autoLaunch.enable Type: Request (RPC)

request: ZodObject<{ hidden: ZodDefault<ZodOptional<ZodBoolean>>; }, $strip>

response: ZodObject<{ enabled: ZodBoolean; error: ZodOptional<ZodString>; }, $strip>

autoLaunch.getStatus: object

Query auto-launch status.

Subject: platform.autoLaunch.getStatus Type: Request (RPC)

request: ZodObject<{ }, $strip>

response: ZodObject<{ enabled: ZodBoolean; supported: ZodBoolean; }, $strip>