syntax = "proto3"; package homelab.v1; option go_package = "pwa-homelab-mon/gen/homelab/v1;homelabv1"; message Item { string name = 1; string type = 2; // monitor | response string data = 3; // monitor: text | percentage string value = 4; // monitor: last output int32 args = 5; // response: arg count repeated string arg_types = 6; // response: text | number per arg } message Section { string name = 1; string icon = 2; repeated Item items = 3; } message ListSectionsRequest {} message ListSectionsResponse { repeated Section sections = 1; } message RunScriptRequest { string name = 1; repeated string args = 2; } message RunScriptResponse { string output = 1; } service HomelabService { rpc ListSections(ListSectionsRequest) returns (ListSectionsResponse); rpc RunScript(RunScriptRequest) returns (RunScriptResponse); }