Rebuilt from the exact zed-industries/zed @ 8c74db00c4053d6c0a9037863d7bd048658da4ca tree (previous orphan was based on a stale/wrong fetch). Same 3-file patch: - serial.rs: add SerialKind::KeyboardEnter - client.rs: store wl_keyboard.enter serial; add latest_serial_of() - window.rs: activate() uses keyboard-enter serial (Mutter focus gate) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
61 lines
1.0 KiB
Protocol Buffer
61 lines
1.0 KiB
Protocol Buffer
syntax = "proto3";
|
|
package zed.messages;
|
|
|
|
import "buffer.proto";
|
|
|
|
message TaskContextForLocation {
|
|
uint64 project_id = 1;
|
|
Location location = 2;
|
|
map<string, string> task_variables = 3;
|
|
}
|
|
|
|
message TaskContext {
|
|
optional string cwd = 1;
|
|
map<string, string> task_variables = 2;
|
|
map<string, string> project_env = 3;
|
|
}
|
|
|
|
message Shell {
|
|
message WithArguments {
|
|
string program = 1;
|
|
repeated string args = 2;
|
|
}
|
|
|
|
oneof shell_type {
|
|
System system = 1;
|
|
string program = 2;
|
|
WithArguments with_arguments = 3;
|
|
}
|
|
}
|
|
|
|
message System {}
|
|
|
|
enum RevealStrategy {
|
|
RevealAlways = 0;
|
|
RevealNever = 1;
|
|
}
|
|
|
|
enum HideStrategy {
|
|
HideAlways = 0;
|
|
HideNever = 1;
|
|
HideOnSuccess = 2;
|
|
}
|
|
|
|
message SpawnInTerminal {
|
|
string label = 1;
|
|
optional string command = 2;
|
|
repeated string args = 3;
|
|
map<string, string> env = 4;
|
|
optional string cwd = 5;
|
|
}
|
|
|
|
message GetDirectoryEnvironment {
|
|
uint64 project_id = 1;
|
|
Shell shell = 2;
|
|
string directory = 3;
|
|
}
|
|
|
|
message DirectoryEnvironment {
|
|
map<string, string> environment = 1;
|
|
}
|