From 2fe058c9cc1c0e4f1e5e81a476e475ee6f9124a1 Mon Sep 17 00:00:00 2001 From: Max Hodak Date: Sun, 11 Jan 2026 13:32:44 -0800 Subject: [PATCH] Add ListApps RPC for querying installed applications - Add AppInfo message with name and version fields - Add ListAppsRequest and ListAppsResponse messages - Add ListApps RPC to SynapseDevice service This enables clients to query the list of installed applications on a device, complementing the existing DeployApp RPC. --- api/app.proto | 16 ++++++++++++++++ api/synapse.proto | 1 + 2 files changed, 17 insertions(+) diff --git a/api/app.proto b/api/app.proto index 1b26b90..7201fb8 100644 --- a/api/app.proto +++ b/api/app.proto @@ -53,3 +53,19 @@ message AppPerformanceSummary { uint64 timestamp_ns = 1; repeated FunctionProfile function_profiles = 2; } + +// Information about an installed application +message AppInfo { + // Application name (e.g., "synapse-example-app") + string name = 1; + + // Installed version + string version = 2; +} + +message ListAppsRequest { +} + +message ListAppsResponse { + repeated AppInfo apps = 1; +} diff --git a/api/synapse.proto b/api/synapse.proto index 135236c..bb5527a 100644 --- a/api/synapse.proto +++ b/api/synapse.proto @@ -20,6 +20,7 @@ service SynapseDevice { rpc StreamQuery(StreamQueryRequest) returns (stream StreamQueryResponse) {} rpc DeployApp(stream AppPackageChunk) returns (stream AppDeployResponse) {} + rpc ListApps(ListAppsRequest) returns (ListAppsResponse) {} rpc ListFiles(google.protobuf.Empty) returns (ListFilesResponse) {} rpc WriteFile(WriteFileRequest) returns (WriteFileResponse) {}