Skip to content

Commit 8ef20af

Browse files
authored
Add ListApps RPC for querying installed applications (#75)
- 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.
1 parent 5c048bc commit 8ef20af

2 files changed

Lines changed: 17 additions & 0 deletions

File tree

api/app.proto

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,19 @@ message AppPerformanceSummary {
5353
uint64 timestamp_ns = 1;
5454
repeated FunctionProfile function_profiles = 2;
5555
}
56+
57+
// Information about an installed application
58+
message AppInfo {
59+
// Application name (e.g., "synapse-example-app")
60+
string name = 1;
61+
62+
// Installed version
63+
string version = 2;
64+
}
65+
66+
message ListAppsRequest {
67+
}
68+
69+
message ListAppsResponse {
70+
repeated AppInfo apps = 1;
71+
}

api/synapse.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ service SynapseDevice {
2020
rpc StreamQuery(StreamQueryRequest) returns (stream StreamQueryResponse) {}
2121

2222
rpc DeployApp(stream AppPackageChunk) returns (stream AppDeployResponse) {}
23+
rpc ListApps(ListAppsRequest) returns (ListAppsResponse) {}
2324

2425
rpc ListFiles(google.protobuf.Empty) returns (ListFilesResponse) {}
2526
rpc WriteFile(WriteFileRequest) returns (WriteFileResponse) {}

0 commit comments

Comments
 (0)