File size: 1,534 Bytes
9314c03
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
syntax = "proto3";

package warp.multi_agent.v1;

import "google/protobuf/timestamp.proto";
import "file_content.proto";
import "attachment.proto";
import "options.proto";

option go_package = "github.com/warp/warp-proto-apis/multi_agent/v1";

message InputContext {
    Directory directory = 1;
    message Directory {
        string pwd = 1;
        string home = 2;
        bool pwd_file_symbols_indexed = 3;
    }
    
    OperatingSystem operating_system = 2;
    message OperatingSystem {
        string platform = 1;
        string distribution = 2;
    }
    
    Shell shell = 3;
    message Shell {
        string name = 1;
        string version = 2;
    }
    
    google.protobuf.Timestamp current_time = 4;
    
    repeated Codebase codebases = 8;
    message Codebase {
        string name = 1;
        string path = 2;
    }
    
    repeated ProjectRules project_rules = 10;
    message ProjectRules {
        string root_path = 1;
        repeated FileContent active_rule_files = 2;
        repeated string additional_rule_file_paths = 3;
    }
    
    repeated ExecutedShellCommand executed_shell_commands = 5 [deprecated = true];
    
    repeated SelectedText selected_text = 6;
    message SelectedText {
        string text = 1;
    }
    
    repeated Image images = 7;
    message Image {
        bytes data = 1;
        string mime_type = 2;
    }
    
    repeated File files = 9;
    message File {
        FileContent content = 1;
    }
}