Runtime configuration types, defaults, and JSON loading entrypoints.
bool parseDaemonStatusSnapshot(const QJsonObject &object, DaemonStatusSnapshot *snapshotOut, QString *errorMessage=nullptr)
Parses a typed daemon status snapshot from a protocol payload object.
bool parseDaemonConfigSnapshot(const QJsonObject &object, DaemonConfigSnapshot *snapshotOut, QString *errorMessage=nullptr)
Parses a typed daemon config snapshot from a protocol payload object.
QJsonObject daemonStatusSnapshotToJsonObject(const DaemonStatusSnapshot &snapshot)
Converts a typed daemon status snapshot to its transport JSON shape.
QJsonObject daemonConfigSnapshotToJsonObject(const DaemonConfigSnapshot &snapshot)
Converts a typed daemon config snapshot to its transport JSON shape.
Top-level runtime configuration snapshot.
Daemon-owned config snapshot for tray and CLI clients.
bool configExists
Indicates whether the config path currently exists on disk.
QString configPath
Resolved config path used by the daemon process.
AppConfig config
Resolved config snapshot exposed to control-plane clients.
Daemon-owned runtime status snapshot for tray and CLI clients.
bool configExists
Indicates whether the config path currently exists on disk.
bool daemonRunning
Indicates whether the daemon reported itself as running.
QString configPath
Resolved config path used by the daemon process.
QJsonObject serviceDiagnostics
Daemon-owned service diagnostics payload for troubleshooting and status UI.