* Protobus subscription for addToInput * formatfix * prettier * dont re-add selectedImages --------- Co-authored-by: Andrei Eternal <eternal@cline.bot>
20 lines
652 B
Protocol Buffer
20 lines
652 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package cline;
|
|
option java_package = "bot.cline.proto";
|
|
option java_multiple_files = true;
|
|
|
|
import "common.proto";
|
|
|
|
// UiService provides methods for managing UI interactions
|
|
service UiService {
|
|
// Scrolls to a specific settings section in the settings view
|
|
rpc scrollToSettings(StringRequest) returns (Empty);
|
|
|
|
// Marks the current announcement as shown and returns whether an announcement should still be shown
|
|
rpc onDidShowAnnouncement(EmptyRequest) returns (Boolean);
|
|
|
|
// Subscribe to addToInput events (when user adds content via context menu)
|
|
rpc subscribeToAddToInput(EmptyRequest) returns (stream String);
|
|
}
|