Variable: PlatformSchemas
Makaio Framework / contracts / PlatformSchemas
Variable: PlatformSchemas
Section titled “Variable: PlatformSchemas”
constPlatformSchemas: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.
Type Declaration
Section titled “Type Declaration”autoLaunch.disable
Section titled “autoLaunch.disable”autoLaunch.disable:
object
Disable auto-launch at login.
Subject: platform.autoLaunch.disable
Type: Request (RPC)
autoLaunch.disable.request
Section titled “autoLaunch.disable.request”request:
ZodObject<{ },$strip>
autoLaunch.disable.response
Section titled “autoLaunch.disable.response”response:
ZodObject<{disabled:ZodBoolean;error:ZodOptional<ZodString>; },$strip>
autoLaunch.enable
Section titled “autoLaunch.enable”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)
autoLaunch.enable.request
Section titled “autoLaunch.enable.request”request:
ZodObject<{hidden:ZodDefault<ZodOptional<ZodBoolean>>; },$strip>
autoLaunch.enable.response
Section titled “autoLaunch.enable.response”response:
ZodObject<{enabled:ZodBoolean;error:ZodOptional<ZodString>; },$strip>
autoLaunch.getStatus
Section titled “autoLaunch.getStatus”autoLaunch.getStatus:
object
Query auto-launch status.
Subject: platform.autoLaunch.getStatus
Type: Request (RPC)
autoLaunch.getStatus.request
Section titled “autoLaunch.getStatus.request”request:
ZodObject<{ },$strip>
autoLaunch.getStatus.response
Section titled “autoLaunch.getStatus.response”response:
ZodObject<{enabled:ZodBoolean;supported:ZodBoolean; },$strip>