summaryrefslogtreecommitdiffstats
path: root/zellij-utils/src/plugin_api/pipe_message.proto
blob: 5f488a7587dafedf62dc82f131a0fe0c9d76c5c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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;
}

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