Variable: ConfigSchema
Makaio Framework / contracts / ConfigSchema
Variable: ConfigSchema
Section titled “Variable: ConfigSchema”
constConfigSchema:ZodObject<{$schema:ZodDefault<ZodLiteral<"makaio/config/v1">>;bus:ZodOptional<ZodObject<{remote:ZodOptional<ZodObject<{secret:ZodOptional<ZodString>;url:ZodOptional<ZodString>; },$strip>>; },$strip>>;features:ZodOptional<ZodObject<{voiceBridge:ZodDefault<ZodBoolean>; },$strip>>;fileWatcher:ZodOptional<ZodObject<{backend:ZodDefault<ZodEnum<{auto:"auto";chokidar:"chokidar";parcel:"parcel";watchman:"watchman"; }>>; },$strip>>;mode:ZodDefault<ZodEnum<{hybrid:"hybrid";local:"local";remote:"remote"; }>>;relay:ZodOptional<ZodObject<{autoReconnect:ZodDefault<ZodOptional<ZodBoolean>>;heartbeatInterval:ZodDefault<ZodOptional<ZodNumber>>;maxReconnectAttempts:ZodDefault<ZodOptional<ZodNumber>>;token:ZodOptional<ZodString>;url:ZodOptional<ZodString>; },$strip>>;role:ZodDefault<ZodEnum<{main-dev-machine:"main-dev-machine";server:"server"; }>>; },$strip>
Defined in: ../../../packages/contracts/src/config/config-schema.ts:19
Bootstrap config schema for Makaio runtime configuration.
This is the minimal config needed to bootstrap the system - stored in
~/.makaio/config.json. It controls:
- Runtime mode (local/remote/hybrid)
- Bus connectivity for remote/hybrid modes
- Relay connection settings
Example
Section titled “Example”{ "$schema": "makaio/config/v1", "mode": "local"}