feat: M2 configuration and load-level classification

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Daniel SamsonandClaude Sonnet 5.5 committed 2026-10-17 13:20:09 +01:00
1 parent e39e1c91a4
commit 779ca1af83
9 files changed
+792

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
//! Default configuration files embedded in the binary (written by `zag config install`).
pub const zag_conf = @embedFile("defaults/zag.conf");
pub const high_load = @embedFile("defaults/high.load");
pub const medium_load = @embedFile("defaults/medium.load");
pub const low_load = @embedFile("defaults/low.load");
pub const File = struct { name: []const u8, content: []const u8 };
/// Everything `config install` writes into the system config directory.
pub const files = [_]File{
.{ .name = "zag.conf", .content = zag_conf },
.{ .name = "high.load", .content = high_load },
.{ .name = "medium.load", .content = medium_load },
.{ .name = "low.load", .content = low_load },
};