This PR adds support for using external agents in SSH projects via ACP, including automatic installation of Gemini CLI and Claude Code, authentication with API keys (for Gemini) and CLI login, and custom agents from user configuration. Co-authored-by: maan2003 <manmeetmann2003@gmail.com> Release Notes: - agent: Gemini CLI, Claude Code, and custom external agents can now be used in SSH projects. --------- Co-authored-by: maan2003 <manmeetmann2003@gmail.com>
51 lines
928 B
Protocol Buffer
51 lines
928 B
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;
|
|
}
|