summaryrefslogtreecommitdiffstats
path: root/zellij-utils/src/plugin_api/pipe_message.proto
blob: a1d02732098deec13ad28e0d71dcd0a463260c7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
syntax = "proto3";

package api.pipe_message;

message PipeMessage {
    PipeSource source = 1;
    optional string cli_source_id = 2;
    optional uint32 plugin_source_id = 3;
    string name = 4;
    optional string payload = 5;
    repeated Arg args = 6;
    bool is_private = 7;
}

enum PipeSource {
  Cli = 0;
  Plugin = 1;
  Keybind = 2;
}

message Arg {
  string key = 1;
  string value = 2;
}