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) {}