mirror of
https://wget.la/https://github.com/leookun/cursor-byok
synced 2026-08-17 03:27:02 +08:00
Preserve interrupted provider output, keep checkpoint projections deterministic, and enforce proto snapshot synchronization.
7433 lines
205 KiB
Protocol Buffer
7433 lines
205 KiB
Protocol Buffer
syntax = "proto3";
|
|
|
|
package agent.v1;
|
|
|
|
import "google/protobuf/struct.proto";
|
|
|
|
option go_package = "react-admin/cursor-server/gen/agent/v1;agentv1";
|
|
|
|
// Copied from: local:agent.v1.AbortArgs (var: je)
|
|
message AbortArgs {
|
|
}
|
|
|
|
// Copied from: local:agent.v1.AbortResult (var: Xe)
|
|
message AbortResult {
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ActiveBranchChange (var: La)
|
|
message ActiveBranchChange {
|
|
string path = 1;
|
|
string branch_name = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.AfterAgentResponseRequestQuery (var: il)
|
|
message AfterAgentResponseRequestQuery {
|
|
string text = 1;
|
|
optional string conversation_id = 2;
|
|
optional string generation_id = 3;
|
|
optional string model = 4;
|
|
optional string model_id = 5;
|
|
repeated RequestedModel.ModelParameterValue model_params = 6;
|
|
optional int64 input_tokens = 7;
|
|
optional int64 output_tokens = 8;
|
|
optional int64 cache_read_tokens = 9;
|
|
optional int64 cache_write_tokens = 10;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.AfterAgentResponseRequestResponse (var: al)
|
|
message AfterAgentResponseRequestResponse {
|
|
}
|
|
|
|
// Copied from: local:agent.v1.AfterAgentThoughtRequestQuery (var: ll)
|
|
message AfterAgentThoughtRequestQuery {
|
|
string text = 1;
|
|
optional int64 duration_ms = 2;
|
|
optional string conversation_id = 3;
|
|
optional string generation_id = 4;
|
|
optional string model = 5;
|
|
optional string model_id = 6;
|
|
repeated RequestedModel.ModelParameterValue model_params = 7;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.AfterAgentThoughtRequestResponse (var: ul)
|
|
message AfterAgentThoughtRequestResponse {
|
|
}
|
|
|
|
// Copied from: local:agent.v1.AgentClientMessage (var: T)
|
|
message AgentClientMessage {
|
|
oneof message {
|
|
AgentRunRequest run_request = 1;
|
|
ExecClientMessage exec_client_message = 2;
|
|
ExecClientControlMessage exec_client_control_message = 5;
|
|
KvClientMessage kv_client_message = 3;
|
|
ConversationAction conversation_action = 4;
|
|
InteractionResponse interaction_response = 6;
|
|
ClientHeartbeat client_heartbeat = 7;
|
|
PrewarmRequest prewarm_request = 8;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.AgentConversationTurn (var: Oi)
|
|
message AgentConversationTurn {
|
|
UserMessage user_message = 1;
|
|
repeated ConversationStep steps = 2;
|
|
optional string request_id = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.AgentConversationTurnStructure (var: Ui)
|
|
message AgentConversationTurnStructure {
|
|
bytes user_message = 1;
|
|
repeated bytes steps = 2;
|
|
optional string request_id = 3;
|
|
optional string encrypted_model = 4;
|
|
optional uint32 dynamic_tool_count = 5;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.AgentMode (var: xs)
|
|
enum AgentMode {
|
|
AGENT_MODE_UNSPECIFIED = 0;
|
|
AGENT_MODE_AGENT = 1;
|
|
AGENT_MODE_ASK = 2;
|
|
AGENT_MODE_PLAN = 3;
|
|
AGENT_MODE_DEBUG = 4;
|
|
AGENT_MODE_TRIAGE = 5;
|
|
AGENT_MODE_PROJECT = 6;
|
|
AGENT_MODE_MULTITASK = 7;
|
|
AGENT_MODE_CUSTOM = 8;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.AgentRunRequest (var: ha)
|
|
message AgentRunRequest {
|
|
ConversationStateStructure conversation_state = 1;
|
|
ConversationAction action = 2;
|
|
ModelDetails model_details = 3;
|
|
optional RequestedModel requested_model = 9;
|
|
McpTools mcp_tools = 4;
|
|
optional string conversation_id = 5;
|
|
optional McpFileSystemOptions mcp_file_system_options = 6;
|
|
optional SkillOptions skill_options = 7;
|
|
optional string custom_system_prompt = 8;
|
|
optional bool suggest_next_prompt = 10;
|
|
optional string subagent_type_name = 11;
|
|
optional bool exclude_workspace_context = 12;
|
|
optional string harness = 13;
|
|
repeated RequestedModel selected_subagent_models = 14;
|
|
repeated ModelDetails selected_subagent_model_details = 15;
|
|
optional string conversation_group_id = 16;
|
|
repeated PreFetchedBlob pre_fetched_blobs = 17;
|
|
optional string dev_raw_model_slug = 18;
|
|
optional bool client_supports_inline_images = 19;
|
|
repeated SubagentModelOverride subagent_model_overrides = 20;
|
|
optional bool can_create_cloud_subagents = 21;
|
|
optional bool suppress_subagent_progress_update_tool = 22;
|
|
optional bool client_supports_send_to_user = 23;
|
|
optional string computer_use_coordinate_mode = 24;
|
|
optional string run_id = 25;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.AgentServerMessage (var: k)
|
|
message AgentServerMessage {
|
|
TtftBreakdown ttft_breakdown = 8;
|
|
oneof message {
|
|
InteractionUpdate interaction_update = 1;
|
|
ExecServerMessage exec_server_message = 2;
|
|
ExecServerControlMessage exec_server_control_message = 5;
|
|
ConversationStateStructure conversation_checkpoint_update = 3;
|
|
KvServerMessage kv_server_message = 4;
|
|
InteractionQuery interaction_query = 7;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.AgentSkill (var: s)
|
|
message AgentSkill {
|
|
string full_path = 1;
|
|
string content = 2;
|
|
string description = 3;
|
|
optional string parse_error = 4;
|
|
repeated string environments = 5;
|
|
repeated string disabled_environments = 6;
|
|
optional string git_remote_origin = 7;
|
|
bool disable_model_invocation = 8;
|
|
optional string plugin = 9;
|
|
optional string marketplace = 10;
|
|
optional string plugin_id = 11;
|
|
optional string marketplace_id = 12;
|
|
repeated string globs = 13;
|
|
repeated string scoped_to = 14;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.AgentSkillMetadata (var: o)
|
|
message AgentSkillMetadata {
|
|
string full_path = 1;
|
|
string description = 2;
|
|
optional string parse_error = 3;
|
|
repeated string environments = 4;
|
|
repeated string disabled_environments = 5;
|
|
optional string git_remote_origin = 6;
|
|
bool disable_model_invocation = 7;
|
|
optional string plugin = 8;
|
|
optional string marketplace = 9;
|
|
optional string plugin_id = 10;
|
|
optional string marketplace_id = 11;
|
|
repeated string globs = 12;
|
|
repeated string scoped_to = 13;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.AgentStoreConflictArgs (var: Oe)
|
|
message AgentStoreConflictArgs {
|
|
optional AgentStoreConflictCursor cursor = 1;
|
|
optional bool advance = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.AgentStoreConflictCursor (var: De)
|
|
message AgentStoreConflictCursor {
|
|
string journal_epoch = 1;
|
|
uint64 seq = 2;
|
|
string last_event_id = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.AgentStoreConflictError (var: Ge)
|
|
message AgentStoreConflictError {
|
|
string error = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.AgentStoreConflictEvent (var: Ue)
|
|
message AgentStoreConflictEvent {
|
|
uint32 v = 1;
|
|
string event_id = 2;
|
|
string journal_epoch = 3;
|
|
uint64 seq = 4;
|
|
uint64 ts_ms = 5;
|
|
string kind = 6;
|
|
optional string store_id = 7;
|
|
optional string original_rel_path = 8;
|
|
optional string conflict_rel_path = 9;
|
|
optional string original_abs_path = 10;
|
|
optional string conflict_abs_path = 11;
|
|
optional uint64 preserved_bytes = 12;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.AgentStoreConflictResult (var: xe)
|
|
message AgentStoreConflictResult {
|
|
oneof result {
|
|
AgentStoreConflictSuccess success = 1;
|
|
AgentStoreConflictError error = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.AgentStoreConflictSuccess (var: Qe)
|
|
message AgentStoreConflictSuccess {
|
|
repeated AgentStoreConflictEvent events = 1;
|
|
AgentStoreConflictCursor next_cursor = 2;
|
|
bool gap = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.AiAttributionArgs (var: o)
|
|
message AiAttributionArgs {
|
|
repeated string file_paths = 5;
|
|
optional int32 start_line = 2;
|
|
optional int32 end_line = 3;
|
|
repeated string commit_hashes = 6;
|
|
optional string output_mode = 7;
|
|
optional int32 max_commits = 9;
|
|
optional bool include_line_ranges = 10;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.AiAttributionError (var: l)
|
|
message AiAttributionError {
|
|
string error = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.AiAttributionResult (var: i)
|
|
message AiAttributionResult {
|
|
oneof result {
|
|
AiAttributionSuccess success = 1;
|
|
AiAttributionError error = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.AiAttributionSuccess (var: a)
|
|
message AiAttributionSuccess {
|
|
string attribution_text = 1;
|
|
optional OutputLocation output_location = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.AiAttributionToolCall (var: u)
|
|
message AiAttributionToolCall {
|
|
AiAttributionArgs args = 1;
|
|
AiAttributionResult result = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ApiKeyCredentials (var: la)
|
|
message ApiKeyCredentials {
|
|
string api_key = 1;
|
|
optional string base_url = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.AppliedAgentChange (var: u)
|
|
message AppliedAgentChange {
|
|
// Copied from: local:agent.v1.AppliedAgentChange.ChangeType (var: r)
|
|
enum ChangeType {
|
|
CHANGE_TYPE_UNSPECIFIED = 0;
|
|
CHANGE_TYPE_CREATED = 1;
|
|
CHANGE_TYPE_MODIFIED = 2;
|
|
CHANGE_TYPE_DELETED = 3;
|
|
}
|
|
|
|
string path = 1;
|
|
ChangeType change_type = 2;
|
|
optional string before_content = 3;
|
|
optional string after_content = 4;
|
|
optional string error = 5;
|
|
optional string message_for_model = 6;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ApplyAgentDiffArgs (var: i)
|
|
message ApplyAgentDiffArgs {
|
|
string agent_id = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ApplyAgentDiffError (var: m)
|
|
message ApplyAgentDiffError {
|
|
string error = 1;
|
|
repeated AppliedAgentChange applied_changes = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ApplyAgentDiffResult (var: a)
|
|
message ApplyAgentDiffResult {
|
|
oneof result {
|
|
ApplyAgentDiffSuccess success = 1;
|
|
ApplyAgentDiffError error = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ApplyAgentDiffSuccess (var: l)
|
|
message ApplyAgentDiffSuccess {
|
|
repeated AppliedAgentChange applied_changes = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ApplyAgentDiffToolCall (var: o)
|
|
message ApplyAgentDiffToolCall {
|
|
ApplyAgentDiffArgs args = 1;
|
|
ApplyAgentDiffResult result = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.AskQuestionArgs (var: Oe)
|
|
message AskQuestionArgs {
|
|
// Copied from: local:agent.v1.AskQuestionArgs.Option (var: xe)
|
|
message Option {
|
|
string id = 1;
|
|
string label = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.AskQuestionArgs.Question (var: Ue)
|
|
message Question {
|
|
string id = 1;
|
|
string prompt = 2;
|
|
repeated AskQuestionArgs.Option options = 3;
|
|
bool allow_multiple = 4;
|
|
}
|
|
|
|
string title = 1;
|
|
repeated Question questions = 2;
|
|
bool run_async = 5;
|
|
string async_original_tool_call_id = 6;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.AskQuestionAsync (var: Qe)
|
|
message AskQuestionAsync {
|
|
}
|
|
|
|
// Copied from: local:agent.v1.AskQuestionError (var: Ye)
|
|
message AskQuestionError {
|
|
string error_message = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.AskQuestionInteractionQuery (var: za)
|
|
message AskQuestionInteractionQuery {
|
|
AskQuestionArgs args = 1;
|
|
string tool_call_id = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.AskQuestionInteractionResponse (var: ja)
|
|
message AskQuestionInteractionResponse {
|
|
AskQuestionResult result = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.AskQuestionRejected (var: Ke)
|
|
message AskQuestionRejected {
|
|
string reason = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.AskQuestionResult (var: Ge)
|
|
message AskQuestionResult {
|
|
oneof result {
|
|
AskQuestionSuccess success = 1;
|
|
AskQuestionError error = 2;
|
|
AskQuestionRejected rejected = 3;
|
|
AskQuestionAsync async = 4;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.AskQuestionSuccess (var: He)
|
|
message AskQuestionSuccess {
|
|
// Copied from: local:agent.v1.AskQuestionSuccess.Answer (var: Ve)
|
|
message Answer {
|
|
string question_id = 1;
|
|
repeated string selected_option_ids = 2;
|
|
string freeform_text = 3;
|
|
}
|
|
|
|
repeated Answer answers = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.AskQuestionToolCall (var: De)
|
|
message AskQuestionToolCall {
|
|
AskQuestionArgs args = 1;
|
|
AskQuestionResult result = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.AssistantMessage (var: Ni)
|
|
message AssistantMessage {
|
|
string text = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.AsyncAskQuestionCompletionAction (var: _i)
|
|
message AsyncAskQuestionCompletionAction {
|
|
string original_tool_call_id = 1;
|
|
AskQuestionArgs original_args = 2;
|
|
AskQuestionResult result = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.AwaitArgs (var: An)
|
|
message AwaitArgs {
|
|
string task_id = 1;
|
|
optional uint32 block_until_ms = 2;
|
|
optional string regex = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.AwaitError (var: yn)
|
|
message AwaitError {
|
|
string error = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.AwaitResult (var: wn)
|
|
message AwaitResult {
|
|
oneof result {
|
|
AwaitTaskComplete complete = 1;
|
|
AwaitTaskStillRunning still_running = 2;
|
|
AwaitError error = 3;
|
|
AwaitSuccess success = 4;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.AwaitSuccess (var: kn)
|
|
message AwaitSuccess {
|
|
oneof await_result {
|
|
AwaitTaskComplete complete = 1;
|
|
AwaitTaskStillRunning still_running = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.AwaitTaskComplete (var: _n)
|
|
message AwaitTaskComplete {
|
|
string task_id = 1;
|
|
uint64 runtime_ms = 2;
|
|
string output_file_path = 3;
|
|
uint64 output_length = 4;
|
|
bool regex_requested = 5;
|
|
optional string regex_match = 6;
|
|
optional sint32 exit_code = 7;
|
|
optional string wake_reason = 8;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.AwaitTaskStillRunning (var: Tn)
|
|
message AwaitTaskStillRunning {
|
|
string task_id = 1;
|
|
uint64 runtime_ms = 2;
|
|
string output_file_path = 3;
|
|
uint64 output_length = 4;
|
|
bool regex_requested = 5;
|
|
optional string regex_match = 6;
|
|
optional string wake_reason = 7;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.AwaitToolCall (var: En)
|
|
message AwaitToolCall {
|
|
AwaitArgs args = 1;
|
|
AwaitResult result = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.AzureCredentials (var: ua)
|
|
message AzureCredentials {
|
|
string api_key = 1;
|
|
string base_url = 2;
|
|
string deployment = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.BackgroundShellAction (var: Fo)
|
|
message BackgroundShellAction {
|
|
string tool_call_id = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.BackgroundShellSpawnArgs (var: a)
|
|
message BackgroundShellSpawnArgs {
|
|
string command = 1;
|
|
string working_directory = 2;
|
|
string tool_call_id = 3;
|
|
ShellCommandParsingResult parsing_result = 4;
|
|
optional SandboxPolicy sandbox_policy = 5;
|
|
bool enable_write_shell_stdin_tool = 6;
|
|
optional string description = 7;
|
|
optional CommandClassifierResult classifier_result = 8;
|
|
optional ShellOutputNotificationConfig output_notification = 9;
|
|
optional SmartModeApproval smart_mode_approval = 10;
|
|
optional ShellHookApprovalRequirement hook_approval_requirement = 11;
|
|
bool skip_approval = 12;
|
|
optional string conversation_id = 13;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.BackgroundShellSpawnError (var: m)
|
|
message BackgroundShellSpawnError {
|
|
string command = 1;
|
|
string working_directory = 2;
|
|
string error = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.BackgroundShellSpawnResult (var: l)
|
|
message BackgroundShellSpawnResult {
|
|
oneof result {
|
|
BackgroundShellSpawnSuccess success = 1;
|
|
BackgroundShellSpawnError error = 2;
|
|
ShellRejected rejected = 3;
|
|
ShellPermissionDenied permission_denied = 4;
|
|
ShellSandboxUnsupported sandbox_unsupported = 5;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.BackgroundShellSpawnSuccess (var: u)
|
|
message BackgroundShellSpawnSuccess {
|
|
uint32 shell_id = 1;
|
|
string command = 2;
|
|
string working_directory = 3;
|
|
optional uint32 pid = 4;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.BackgroundSubagentAction (var: qo)
|
|
message BackgroundSubagentAction {
|
|
string tool_call_id = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.BackgroundTaskCompletion (var: bo)
|
|
message BackgroundTaskCompletion {
|
|
string task_id = 1;
|
|
BackgroundTaskKind kind = 2;
|
|
BackgroundTaskStatus status = 3;
|
|
string title = 4;
|
|
optional string detail = 5;
|
|
optional string output_path = 6;
|
|
optional string thread_id = 7;
|
|
BackgroundTaskCompletionReason reason = 8;
|
|
optional string subagent_id = 9;
|
|
optional string tool_call_id = 10;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.BackgroundTaskCompletionAction (var: Po)
|
|
message BackgroundTaskCompletionAction {
|
|
repeated BackgroundTaskCompletion completions = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.BackgroundTaskCompletionReason (var: Ys)
|
|
enum BackgroundTaskCompletionReason {
|
|
BACKGROUND_TASK_COMPLETION_REASON_UNSPECIFIED = 0;
|
|
BACKGROUND_TASK_COMPLETION_REASON_TASK_FINISHED = 1;
|
|
BACKGROUND_TASK_COMPLETION_REASON_TASK_PROGRESS = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.BackgroundTaskKind (var: Hs)
|
|
enum BackgroundTaskKind {
|
|
BACKGROUND_TASK_KIND_UNSPECIFIED = 0;
|
|
BACKGROUND_TASK_KIND_SHELL = 1;
|
|
BACKGROUND_TASK_KIND_SUBAGENT = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.BackgroundTaskStatus (var: Vs)
|
|
enum BackgroundTaskStatus {
|
|
BACKGROUND_TASK_STATUS_UNSPECIFIED = 0;
|
|
BACKGROUND_TASK_STATUS_SUCCESS = 1;
|
|
BACKGROUND_TASK_STATUS_ERROR = 2;
|
|
BACKGROUND_TASK_STATUS_ABORTED = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.BedrockCredentials (var: ma)
|
|
message BedrockCredentials {
|
|
string access_key = 1;
|
|
string secret_key = 2;
|
|
string region = 3;
|
|
optional string session_token = 4;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.BeforeSubmitPromptAttachment (var: rl)
|
|
message BeforeSubmitPromptAttachment {
|
|
string type = 1;
|
|
string file_path = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.BeforeSubmitPromptRequestQuery (var: sl)
|
|
message BeforeSubmitPromptRequestQuery {
|
|
string prompt = 1;
|
|
repeated BeforeSubmitPromptAttachment attachments = 2;
|
|
optional string composer_mode = 3;
|
|
optional string conversation_id = 4;
|
|
optional string generation_id = 5;
|
|
optional string model = 6;
|
|
optional string model_id = 7;
|
|
repeated RequestedModel.ModelParameterValue model_params = 8;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.BeforeSubmitPromptRequestResponse (var: ol)
|
|
message BeforeSubmitPromptRequestResponse {
|
|
optional bool continue = 1;
|
|
optional string user_message = 2;
|
|
optional string additional_context = 3;
|
|
}
|
|
|
|
// Copied from: aiserver.v1.BidiPollRequest (var: a)
|
|
message BidiPollRequest {
|
|
BidiRequestId request_id = 1;
|
|
optional bool start_request = 2;
|
|
}
|
|
|
|
// Copied from: aiserver.v1.BidiPollResponse (var: l)
|
|
message BidiPollResponse {
|
|
int64 seqno = 1;
|
|
string data = 2;
|
|
optional bool eof = 3;
|
|
}
|
|
|
|
// Copied from: aiserver.v1.BidiRequestId (var: s)
|
|
message BidiRequestId {
|
|
string request_id = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.BlameByFilePathArgs (var: Sn)
|
|
message BlameByFilePathArgs {
|
|
string file_path = 1;
|
|
optional int32 start_line = 2;
|
|
optional int32 end_line = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.BlameByFilePathError (var: vn)
|
|
message BlameByFilePathError {
|
|
string error_message = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.BlameByFilePathResult (var: Bn)
|
|
message BlameByFilePathResult {
|
|
oneof result {
|
|
BlameByFilePathSuccess success = 1;
|
|
BlameByFilePathError error = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.BlameByFilePathSuccess (var: In)
|
|
message BlameByFilePathSuccess {
|
|
string content = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.BlameByFilePathToolCall (var: Jn)
|
|
message BlameByFilePathToolCall {
|
|
BlameByFilePathArgs args = 1;
|
|
BlameByFilePathResult result = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.BlobEntry (var: F)
|
|
message BlobEntry {
|
|
bytes id = 1;
|
|
bytes value = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.BugfixResultItem (var: o)
|
|
message BugfixResultItem {
|
|
string bug_id = 1;
|
|
string bug_title = 2;
|
|
BugfixVerdict verdict = 3;
|
|
string explanation = 4;
|
|
optional string severity = 5;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.BugfixVerdict (var: r)
|
|
enum BugfixVerdict {
|
|
BUGFIX_VERDICT_UNSPECIFIED = 0;
|
|
BUGFIX_VERDICT_FIXED = 1;
|
|
BUGFIX_VERDICT_FALSE_POSITIVE = 2;
|
|
BUGFIX_VERDICT_COULD_NOT_FIX = 3;
|
|
BUGFIX_VERDICT_RESOLVED_BY_OTHER_FIX = 4;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.CallFrame (var: F)
|
|
message CallFrame {
|
|
optional string function_name = 1;
|
|
optional string url = 2;
|
|
optional int32 line_number = 3;
|
|
optional int32 column_number = 4;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.CancelAction (var: hi)
|
|
message CancelAction {
|
|
string reason = 1;
|
|
optional InterruptedPendingToolCallResolutions interrupted_pending_tool_call_resolutions = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.CancelSubagentAction (var: Lo)
|
|
message CancelSubagentAction {
|
|
string subagent_id = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.CanvasDiagnosticsArgs (var: W)
|
|
message CanvasDiagnosticsArgs {
|
|
string path = 1;
|
|
string tool_call_id = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.CanvasDiagnosticsError (var: X)
|
|
message CanvasDiagnosticsError {
|
|
string path = 1;
|
|
string error = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.CanvasDiagnosticsResult (var: z)
|
|
message CanvasDiagnosticsResult {
|
|
oneof result {
|
|
CanvasDiagnosticsSuccess success = 1;
|
|
CanvasDiagnosticsError error = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.CanvasDiagnosticsSuccess (var: j)
|
|
message CanvasDiagnosticsSuccess {
|
|
string path = 1;
|
|
repeated Diagnostic diagnostics = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ClickAction (var: m)
|
|
message ClickAction {
|
|
optional Coordinate coordinate = 1;
|
|
MouseButton button = 2;
|
|
int32 count = 3;
|
|
optional string modifier_keys = 4;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ClientContinuationConfig (var: L)
|
|
message ClientContinuationConfig {
|
|
int32 idle_threshold = 1;
|
|
int32 max_loops = 2;
|
|
string nudge_message = 3;
|
|
string escape_message_template = 4;
|
|
bool collect_background_children = 5;
|
|
string children_completed_message_template = 6;
|
|
int32 continuation_round_delay_ms = 7;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ClientHeartbeat (var: g)
|
|
message ClientHeartbeat {
|
|
}
|
|
|
|
// Copied from: local:agent.v1.CloudSubagentReference (var: sa)
|
|
message CloudSubagentReference {
|
|
string bc_id = 1;
|
|
optional string transcript_path = 2;
|
|
}
|
|
|
|
// Copied from: aiserver.v1.CodeBlock (var: O)
|
|
message CodeBlock {
|
|
// Copied from: aiserver.v1.CodeBlock.Signatures (var: U)
|
|
message Signatures {
|
|
repeated CursorRange ranges = 1;
|
|
}
|
|
|
|
string relative_workspace_path = 1;
|
|
optional string file_contents = 2;
|
|
optional int32 file_contents_length = 9;
|
|
CursorRange range = 3;
|
|
string contents = 4;
|
|
Signatures signatures = 5;
|
|
optional string override_contents = 6;
|
|
optional string original_contents = 7;
|
|
repeated DetailedLine detailed_lines = 8;
|
|
FileGit file_git_context = 10;
|
|
}
|
|
|
|
// Copied from: aiserver.v1.CodeResult (var: et)
|
|
message CodeResult {
|
|
CodeBlock code_block = 1;
|
|
float score = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.CommandClassifierResult (var: A)
|
|
message CommandClassifierResult {
|
|
// Copied from: local:agent.v1.CommandClassifierResult.ClassifiedCommand (var: _)
|
|
message ClassifiedCommand {
|
|
string name = 1;
|
|
repeated string arguments = 2;
|
|
optional string suggested_allowlist_entry = 3;
|
|
repeated string subcommand_tokens = 4;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.CommandClassifierResult.SuggestedSandboxMode (var: a)
|
|
enum SuggestedSandboxMode {
|
|
SUGGESTED_SANDBOX_MODE_UNSPECIFIED = 0;
|
|
SUGGESTED_SANDBOX_MODE_SANDBOX = 1;
|
|
SUGGESTED_SANDBOX_MODE_NO_SANDBOX = 2;
|
|
SUGGESTED_SANDBOX_MODE_UNDETERMINED = 3;
|
|
}
|
|
|
|
repeated ClassifiedCommand commands = 1;
|
|
SuggestedSandboxMode suggested_sandbox_mode = 2;
|
|
bool classification_failed = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.CommunicateUpdateArgs (var: On)
|
|
message CommunicateUpdateArgs {
|
|
optional string current_step = 1;
|
|
optional string final_summary = 3;
|
|
optional string completed_subtitle = 4;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.CommunicateUpdateError (var: xn)
|
|
message CommunicateUpdateError {
|
|
string error = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.CommunicateUpdateHistoryEntry (var: ta)
|
|
message CommunicateUpdateHistoryEntry {
|
|
string step = 1;
|
|
uint32 message_index = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.CommunicateUpdateResult (var: Qn)
|
|
message CommunicateUpdateResult {
|
|
oneof result {
|
|
CommunicateUpdateSuccess success = 1;
|
|
CommunicateUpdateError error = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.CommunicateUpdateSuccess (var: Un)
|
|
message CommunicateUpdateSuccess {
|
|
string current_step = 1;
|
|
uint32 message_index = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.CommunicateUpdateToolCall (var: Gn)
|
|
message CommunicateUpdateToolCall {
|
|
CommunicateUpdateArgs args = 1;
|
|
CommunicateUpdateResult result = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.CommunicateUpdateTurnState (var: na)
|
|
message CommunicateUpdateTurnState {
|
|
repeated CommunicateUpdateHistoryEntry history = 1;
|
|
optional string final_summary = 2;
|
|
optional string completed_subtitle = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ComputerUseAction (var: l)
|
|
message ComputerUseAction {
|
|
oneof action {
|
|
MouseMoveAction mouse_move = 1;
|
|
ClickAction click = 2;
|
|
MouseDownAction mouse_down = 3;
|
|
MouseUpAction mouse_up = 4;
|
|
DragAction drag = 5;
|
|
ScrollAction scroll = 6;
|
|
TypeAction type = 7;
|
|
KeyAction key = 8;
|
|
WaitAction wait = 9;
|
|
ScreenshotAction screenshot = 10;
|
|
CursorPositionAction cursor_position = 11;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ComputerUseArgs (var: a)
|
|
message ComputerUseArgs {
|
|
string tool_call_id = 1;
|
|
repeated ComputerUseAction actions = 2;
|
|
optional string description = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ComputerUseError (var: w)
|
|
message ComputerUseError {
|
|
string error = 1;
|
|
int32 action_count = 2;
|
|
int32 duration_ms = 3;
|
|
optional string log = 4;
|
|
optional string screenshot = 5;
|
|
optional string screenshot_path = 6;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ComputerUseResult (var: y)
|
|
message ComputerUseResult {
|
|
oneof result {
|
|
ComputerUseSuccess success = 1;
|
|
ComputerUseError error = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ComputerUseSuccess (var: k)
|
|
message ComputerUseSuccess {
|
|
int32 action_count = 1;
|
|
int32 duration_ms = 2;
|
|
optional string screenshot = 3;
|
|
optional string log = 4;
|
|
optional string screenshot_path = 5;
|
|
optional Coordinate cursor_position = 6;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ComputerUseToolCall (var: E)
|
|
message ComputerUseToolCall {
|
|
ComputerUseArgs args = 1;
|
|
ComputerUseResult result = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ConnectScmArgs (var: hs)
|
|
message ConnectScmArgs {
|
|
string tool_call_id = 1;
|
|
oneof target {
|
|
ConnectScmGithub github = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ConnectScmError (var: ks)
|
|
message ConnectScmError {
|
|
string error = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ConnectScmGithub (var: As)
|
|
message ConnectScmGithub {
|
|
ConnectScmGithubRepository repository = 1;
|
|
optional string ghe_application = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ConnectScmGithubRepository (var: _s)
|
|
message ConnectScmGithubRepository {
|
|
string owner = 1;
|
|
string repo = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ConnectScmRejected (var: ws)
|
|
message ConnectScmRejected {
|
|
string reason = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ConnectScmRequestQuery (var: Ss)
|
|
message ConnectScmRequestQuery {
|
|
ConnectScmArgs args = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ConnectScmRequestResponse (var: Is)
|
|
message ConnectScmRequestResponse {
|
|
// Copied from: local:agent.v1.ConnectScmRequestResponse.Approved (var: vs)
|
|
message Approved {
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ConnectScmRequestResponse.Failed (var: Js)
|
|
message Failed {
|
|
string error = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ConnectScmRequestResponse.Rejected (var: Bs)
|
|
message Rejected {
|
|
string reason = 1;
|
|
}
|
|
|
|
oneof result {
|
|
Approved approved = 1;
|
|
Rejected rejected = 2;
|
|
Failed failed = 3;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ConnectScmResult (var: Ts)
|
|
message ConnectScmResult {
|
|
oneof result {
|
|
ConnectScmSuccess success = 1;
|
|
ConnectScmError error = 2;
|
|
ConnectScmRejected rejected = 3;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ConnectScmSuccess (var: ys)
|
|
message ConnectScmSuccess {
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ConnectScmToolCall (var: Es)
|
|
message ConnectScmToolCall {
|
|
ConnectScmArgs args = 1;
|
|
ConnectScmResult result = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ContextInjectionCancelled (var: ui)
|
|
message ContextInjectionCancelled {
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ContextInjectionDelivered (var: ai)
|
|
message ContextInjectionDelivered {
|
|
int32 step = 1;
|
|
string delivery_batch_id = 2;
|
|
int64 delivered_at_ms = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ContextInjectionQueued (var: ii)
|
|
message ContextInjectionQueued {
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ContextInjectionQueuedForNextTurn (var: li)
|
|
message ContextInjectionQueuedForNextTurn {
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ContextInjectionRejected (var: mi)
|
|
message ContextInjectionRejected {
|
|
string reason = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ContextInjectionState (var: oi)
|
|
message ContextInjectionState {
|
|
oneof state {
|
|
ContextInjectionQueued queued = 1;
|
|
ContextInjectionDelivered delivered = 2;
|
|
ContextInjectionQueuedForNextTurn queued_for_next_turn = 3;
|
|
ContextInjectionCancelled cancelled = 4;
|
|
ContextInjectionRejected rejected = 5;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ContextInjectionStateUpdate (var: Va)
|
|
message ContextInjectionStateUpdate {
|
|
string injection_id = 1;
|
|
ContextInjectionState state = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ConversationAction (var: No)
|
|
message ConversationAction {
|
|
optional string triggering_auth_id = 11;
|
|
optional TriggeringUserInfo triggering_user_info = 15;
|
|
optional RequestContextPartReferences request_context_parts = 17;
|
|
oneof action {
|
|
UserMessageAction user_message_action = 1;
|
|
ResumeAction resume_action = 2;
|
|
CancelAction cancel_action = 3;
|
|
SummarizeAction summarize_action = 4;
|
|
ShellCommandAction shell_command_action = 5;
|
|
StartPlanAction start_plan_action = 6;
|
|
ExecutePlanAction execute_plan_action = 7;
|
|
AsyncAskQuestionCompletionAction async_ask_question_completion_action = 8;
|
|
CancelSubagentAction cancel_subagent_action = 10;
|
|
BackgroundTaskCompletionAction background_task_completion_action = 12;
|
|
BackgroundShellAction background_shell_action = 13;
|
|
BackgroundSubagentAction background_subagent_action = 14;
|
|
SubscriptionNotificationAction subscription_notification_action = 16;
|
|
GoalContinuationAction goal_continuation_action = 18;
|
|
InjectContextAction inject_context_action = 19;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ConversationHistory (var: Uo)
|
|
message ConversationHistory {
|
|
repeated ConversationHistoryMessage messages = 1;
|
|
optional bool replace_user_info = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ConversationHistoryAssistantContent (var: Ko)
|
|
message ConversationHistoryAssistantContent {
|
|
oneof content {
|
|
ConversationHistoryTextContent text = 1;
|
|
ConversationHistoryReasoningContent reasoning = 2;
|
|
ConversationHistoryRedactedReasoningContent redacted_reasoning = 3;
|
|
ConversationHistoryToolCall tool_call = 4;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ConversationHistoryAssistantMessage (var: Yo)
|
|
message ConversationHistoryAssistantMessage {
|
|
repeated ConversationHistoryAssistantContent content = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ConversationHistoryImageContent (var: Vo)
|
|
message ConversationHistoryImageContent {
|
|
string data = 1;
|
|
optional string mime_type = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ConversationHistoryMessage (var: xo)
|
|
message ConversationHistoryMessage {
|
|
oneof message {
|
|
ConversationHistoryUserMessage user = 1;
|
|
ConversationHistoryAssistantMessage assistant = 2;
|
|
ConversationHistoryToolMessage tool = 3;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ConversationHistoryReasoningContent (var: Wo)
|
|
message ConversationHistoryReasoningContent {
|
|
string text = 1;
|
|
optional string signature = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ConversationHistoryRedactedReasoningContent (var: zo)
|
|
message ConversationHistoryRedactedReasoningContent {
|
|
string data = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ConversationHistoryTextContent (var: Ho)
|
|
message ConversationHistoryTextContent {
|
|
string text = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ConversationHistoryToolCall (var: jo)
|
|
message ConversationHistoryToolCall {
|
|
string tool_call_id = 1;
|
|
string tool_name = 2;
|
|
string args_json = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ConversationHistoryToolMessage (var: Xo)
|
|
message ConversationHistoryToolMessage {
|
|
string tool_call_id = 1;
|
|
string tool_name = 2;
|
|
repeated ConversationHistoryToolResultContent content = 3;
|
|
optional bool is_error = 4;
|
|
repeated HookAdditionalContext hook_additional_contexts = 5;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ConversationHistoryToolResultContent (var: Zo)
|
|
message ConversationHistoryToolResultContent {
|
|
oneof content {
|
|
ConversationHistoryTextContent text = 1;
|
|
ConversationHistoryImageContent image = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ConversationHistoryUserContent (var: Go)
|
|
message ConversationHistoryUserContent {
|
|
oneof content {
|
|
ConversationHistoryTextContent text = 1;
|
|
ConversationHistoryImageContent image = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ConversationHistoryUserMessage (var: Qo)
|
|
message ConversationHistoryUserMessage {
|
|
repeated ConversationHistoryUserContent content = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ConversationPlan (var: Li)
|
|
message ConversationPlan {
|
|
string plan = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ConversationSearchArgs (var: o)
|
|
message ConversationSearchArgs {
|
|
string query = 1;
|
|
string tool_call_id = 2;
|
|
optional int32 limit = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ConversationSearchError (var: u)
|
|
message ConversationSearchError {
|
|
string error = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ConversationSearchHit (var: l)
|
|
message ConversationSearchHit {
|
|
string conversation_id = 1;
|
|
string title = 2;
|
|
ConversationSearchSource source = 3;
|
|
int64 updated_at_ms = 4;
|
|
optional string snippet = 5;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ConversationSearchResult (var: i)
|
|
message ConversationSearchResult {
|
|
oneof result {
|
|
ConversationSearchSuccess success = 1;
|
|
ConversationSearchError error = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ConversationSearchSource (var: r)
|
|
enum ConversationSearchSource {
|
|
CONVERSATION_SEARCH_SOURCE_UNSPECIFIED = 0;
|
|
CONVERSATION_SEARCH_SOURCE_LOCAL = 1;
|
|
CONVERSATION_SEARCH_SOURCE_CLOUD_CACHE = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ConversationSearchSuccess (var: a)
|
|
message ConversationSearchSuccess {
|
|
repeated ConversationSearchHit hits = 1;
|
|
bool truncated = 2;
|
|
bool partial = 3;
|
|
bool rebuilding = 4;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ConversationState (var: ea)
|
|
message ConversationState {
|
|
repeated string root_prompt_messages_json = 1;
|
|
repeated ConversationTurn turns = 8;
|
|
repeated TodoItem todos = 3;
|
|
repeated string pending_tool_calls = 4;
|
|
ConversationTokenDetails token_details = 5;
|
|
optional ConversationSummary summary = 6;
|
|
optional ConversationPlan plan = 7;
|
|
optional ConversationSummaryArchive summary_archive = 9;
|
|
map<string, FileState> file_states = 10;
|
|
repeated ConversationSummaryArchive summary_archives = 11;
|
|
map<string, PlanRegistryEntry> plans = 12;
|
|
repeated CommunicateUpdateHistoryEntry communicate_update_history = 13;
|
|
optional string communicate_update_final_summary = 14;
|
|
optional string communicate_update_completed_subtitle = 15;
|
|
map<string, CommunicateUpdateTurnState> communicate_update_states_by_parent_tool_call_id = 16;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ConversationStateStructure (var: ia)
|
|
message ConversationStateStructure {
|
|
repeated bytes root_prompt_messages_json = 1;
|
|
repeated bytes turns = 8;
|
|
repeated bytes todos = 3;
|
|
repeated string pending_tool_calls = 4;
|
|
ConversationTokenDetails token_details = 5;
|
|
optional bytes summary = 6;
|
|
optional bytes plan = 7;
|
|
repeated string previous_workspace_uris = 9;
|
|
optional AgentMode mode = 10;
|
|
optional bytes summary_archive = 11;
|
|
map<string, bytes> file_states = 12;
|
|
map<string, FileStateStructure> file_states_v2 = 15;
|
|
repeated bytes summary_archives = 13;
|
|
repeated StepTiming turn_timings = 14;
|
|
map<string, SubagentPersistedState> subagent_states = 16;
|
|
uint32 self_summary_count = 17;
|
|
repeated string read_paths = 18;
|
|
optional string active_branch_name = 19;
|
|
map<string, PlanRegistryEntry> plans = 20;
|
|
repeated TrackedGitRepo tracked_git_repo_branches = 21;
|
|
optional string agent_type = 22;
|
|
repeated CommunicateUpdateHistoryEntry communicate_update_history = 23;
|
|
map<string, string> subagent_threads = 24;
|
|
optional string communicate_update_final_summary = 25;
|
|
optional string communicate_update_completed_subtitle = 28;
|
|
map<string, CommunicateUpdateTurnState> communicate_update_states_by_parent_tool_call_id = 29;
|
|
map<string, SubagentRunState> subagent_runs_by_parent_tool_call_id = 30;
|
|
optional uint64 conversation_started_timestamp_ms = 26;
|
|
optional string conversation_started_time_zone = 27;
|
|
map<string, bytes> subagent_state_refs = 31;
|
|
optional GoalState goal_state = 32;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ConversationStep (var: Co)
|
|
message ConversationStep {
|
|
oneof message {
|
|
AssistantMessage assistant_message = 1;
|
|
ToolCall tool_call = 2;
|
|
ThinkingMessage thinking_message = 3;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ConversationSummary (var: Gi)
|
|
message ConversationSummary {
|
|
string summary = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ConversationSummaryArchive (var: Hi)
|
|
message ConversationSummaryArchive {
|
|
repeated bytes summarized_messages = 1;
|
|
string summary = 2;
|
|
uint32 window_tail = 3;
|
|
bytes summary_message = 4;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ConversationTokenDetails (var: ji)
|
|
message ConversationTokenDetails {
|
|
uint32 used_tokens = 1;
|
|
uint32 max_tokens = 2;
|
|
optional PromptTokenBreakdownSnapshot breakdown = 3;
|
|
optional PromptContextUsageTree prompt_context_usage_tree = 4;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ConversationTurn (var: Mi)
|
|
message ConversationTurn {
|
|
oneof turn {
|
|
AgentConversationTurn agent_conversation_turn = 1;
|
|
ShellConversationTurn shell_conversation_turn = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ConversationTurnStructure (var: Di)
|
|
message ConversationTurnStructure {
|
|
oneof turn {
|
|
AgentConversationTurnStructure agent_conversation_turn = 1;
|
|
ShellConversationTurnStructure shell_conversation_turn = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.Coordinate (var: i)
|
|
message Coordinate {
|
|
int32 x = 1;
|
|
int32 y = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.CreateGoalArgs (var: Ps)
|
|
message CreateGoalArgs {
|
|
string objective = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.CreateGoalResult (var: Ls)
|
|
message CreateGoalResult {
|
|
oneof result {
|
|
CreateGoalSuccess success = 1;
|
|
GoalError error = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.CreateGoalSuccess (var: bs)
|
|
message CreateGoalSuccess {
|
|
}
|
|
|
|
// Copied from: local:agent.v1.CreateGoalToolCall (var: Fs)
|
|
message CreateGoalToolCall {
|
|
CreateGoalArgs args = 1;
|
|
CreateGoalResult result = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.CreatePlanArgs (var: _e)
|
|
message CreatePlanArgs {
|
|
string plan = 1;
|
|
repeated TodoItem todos = 2;
|
|
string overview = 3;
|
|
string name = 4;
|
|
bool is_project = 5;
|
|
repeated Phase phases = 6;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.CreatePlanError (var: ke)
|
|
message CreatePlanError {
|
|
string error = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.CreatePlanRequestQuery (var: we)
|
|
message CreatePlanRequestQuery {
|
|
CreatePlanArgs args = 1;
|
|
string tool_call_id = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.CreatePlanRequestResponse (var: Ee)
|
|
message CreatePlanRequestResponse {
|
|
CreatePlanResult result = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.CreatePlanResult (var: Te)
|
|
message CreatePlanResult {
|
|
string plan_uri = 3;
|
|
oneof result {
|
|
CreatePlanSuccess success = 1;
|
|
CreatePlanError error = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.CreatePlanSuccess (var: ye)
|
|
message CreatePlanSuccess {
|
|
}
|
|
|
|
// Copied from: local:agent.v1.CreatePlanToolCall (var: he)
|
|
message CreatePlanToolCall {
|
|
CreatePlanArgs args = 1;
|
|
CreatePlanResult result = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.CreatePrAction (var: Yt)
|
|
message CreatePrAction {
|
|
string title = 1;
|
|
string body = 2;
|
|
optional string base_branch = 3;
|
|
optional bool draft = 4;
|
|
string branch_name = 5;
|
|
repeated string add_labels = 6;
|
|
optional string repo_url = 7;
|
|
optional bool skip_branch_prefix_check = 8;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.CreateTranscriptOverviewRequest (var: v)
|
|
message CreateTranscriptOverviewRequest {
|
|
string formatted_conversation = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.CreateTranscriptOverviewResponse (var: B)
|
|
message CreateTranscriptOverviewResponse {
|
|
string overview = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.CursorPackage (var: i)
|
|
message CursorPackage {
|
|
string name = 1;
|
|
string description = 2;
|
|
string folder_path = 3;
|
|
bool enabled = 4;
|
|
optional string parse_error = 5;
|
|
repeated CursorPackagePrompt prompts = 6;
|
|
string readme_file_path = 7;
|
|
PackageType package_type = 8;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.CursorPackagePrompt (var: o)
|
|
message CursorPackagePrompt {
|
|
string name = 1;
|
|
string file_path = 2;
|
|
}
|
|
|
|
// Copied from: aiserver.v1.CursorPosition (var: g)
|
|
message CursorPosition {
|
|
int32 line = 1;
|
|
int32 column = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.CursorPositionAction (var: T)
|
|
message CursorPositionAction {
|
|
}
|
|
|
|
// Copied from: aiserver.v1.CursorRange (var: q)
|
|
message CursorRange {
|
|
CursorPosition start_position = 1;
|
|
CursorPosition end_position = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.CursorRule (var: m)
|
|
message CursorRule {
|
|
string full_path = 1;
|
|
string content = 2;
|
|
CursorRuleType type = 3;
|
|
CursorRuleSource source = 4;
|
|
optional string git_remote_origin = 5;
|
|
optional string parse_error = 6;
|
|
repeated string environments = 7;
|
|
repeated string disabled_environments = 8;
|
|
optional string plugin = 9;
|
|
optional string marketplace = 10;
|
|
optional string plugin_id = 11;
|
|
optional string marketplace_id = 12;
|
|
repeated string scoped_to = 13;
|
|
string frontmatter = 14;
|
|
optional bool is_required = 15;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.CursorRuleSource (var: r)
|
|
enum CursorRuleSource {
|
|
CURSOR_RULE_SOURCE_UNSPECIFIED = 0;
|
|
CURSOR_RULE_SOURCE_TEAM = 1;
|
|
CURSOR_RULE_SOURCE_USER = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.CursorRuleType (var: u)
|
|
message CursorRuleType {
|
|
oneof type {
|
|
CursorRuleTypeGlobal global = 1;
|
|
CursorRuleTypeFileGlobs file_globbed = 2;
|
|
CursorRuleTypeAgentFetched agent_fetched = 3;
|
|
CursorRuleTypeManuallyAttached manually_attached = 4;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.CursorRuleTypeAgentFetched (var: a)
|
|
message CursorRuleTypeAgentFetched {
|
|
string description = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.CursorRuleTypeFileGlobs (var: i)
|
|
message CursorRuleTypeFileGlobs {
|
|
repeated string globs = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.CursorRuleTypeGlobal (var: o)
|
|
message CursorRuleTypeGlobal {
|
|
}
|
|
|
|
// Copied from: local:agent.v1.CursorRuleTypeManuallyAttached (var: l)
|
|
message CursorRuleTypeManuallyAttached {
|
|
}
|
|
|
|
// Copied from: local:agent.v1.CustomModeDescriptor (var: di)
|
|
message CustomModeDescriptor {
|
|
string id = 1;
|
|
string label = 2;
|
|
optional string description = 3;
|
|
optional string icon = 4;
|
|
optional string color = 5;
|
|
CustomModeSource source = 6;
|
|
optional string source_path = 7;
|
|
optional string source_hash = 8;
|
|
optional string managed_skill_id = 9;
|
|
optional string plugin_id = 10;
|
|
optional string plugin_snapshot_token = 11;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.CustomModeExitIntent (var: fi)
|
|
message CustomModeExitIntent {
|
|
AgentMode next_mode = 1;
|
|
SubmittedExitedCustomMode exited_mode = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.CustomModeIntent (var: gi)
|
|
message CustomModeIntent {
|
|
oneof intent {
|
|
SubmittedCustomMode enter = 1;
|
|
CustomModeExitIntent exit = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.CustomModeSource (var: Ws)
|
|
enum CustomModeSource {
|
|
CUSTOM_MODE_SOURCE_UNSPECIFIED = 0;
|
|
CUSTOM_MODE_SOURCE_AGENT_SKILL = 1;
|
|
CUSTOM_MODE_SOURCE_PLUGIN_SKILL = 2;
|
|
CUSTOM_MODE_SOURCE_REPO_SKILL = 3;
|
|
CUSTOM_MODE_SOURCE_MANAGED_SKILL = 4;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.CustomSubagent (var: T)
|
|
message CustomSubagent {
|
|
string full_path = 1;
|
|
string name = 2;
|
|
string description = 3;
|
|
repeated string tools = 4;
|
|
string model = 5;
|
|
string prompt = 6;
|
|
CustomSubagentPermissionMode permission_mode = 7;
|
|
bool is_background = 8;
|
|
optional string plugin = 9;
|
|
optional string marketplace = 10;
|
|
optional string plugin_id = 11;
|
|
optional string marketplace_id = 12;
|
|
bool force_default_model = 13;
|
|
optional string source = 14;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.CustomSubagentPermissionMode (var: r)
|
|
enum CustomSubagentPermissionMode {
|
|
CUSTOM_SUBAGENT_PERMISSION_MODE_UNSPECIFIED = 0;
|
|
CUSTOM_SUBAGENT_PERMISSION_MODE_DEFAULT = 1;
|
|
CUSTOM_SUBAGENT_PERMISSION_MODE_READONLY = 2;
|
|
CUSTOM_SUBAGENT_PERMISSION_MODE_AGENT_ONLY = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.DebugModeConfig (var: I)
|
|
message DebugModeConfig {
|
|
string log_path = 1;
|
|
string server_endpoint = 2;
|
|
string session_id = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.DeleteArgs (var: s)
|
|
message DeleteArgs {
|
|
string path = 1;
|
|
string tool_call_id = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.DeleteError (var: d)
|
|
message DeleteError {
|
|
string path = 1;
|
|
string error = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.DeleteFileBusy (var: m)
|
|
message DeleteFileBusy {
|
|
string path = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.DeleteFileNotFound (var: a)
|
|
message DeleteFileNotFound {
|
|
string path = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.DeleteNotFile (var: l)
|
|
message DeleteNotFile {
|
|
string path = 1;
|
|
string actual_type = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.DeletePermissionDenied (var: u)
|
|
message DeletePermissionDenied {
|
|
string path = 1;
|
|
string client_visible_error = 2;
|
|
bool is_readonly = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.DeleteRejected (var: c)
|
|
message DeleteRejected {
|
|
string path = 1;
|
|
string reason = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.DeleteResult (var: o)
|
|
message DeleteResult {
|
|
oneof result {
|
|
DeleteSuccess success = 1;
|
|
DeleteFileNotFound file_not_found = 2;
|
|
DeleteNotFile not_file = 3;
|
|
DeletePermissionDenied permission_denied = 4;
|
|
DeleteFileBusy file_busy = 5;
|
|
DeleteRejected rejected = 6;
|
|
DeleteError error = 7;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.DeleteSuccess (var: i)
|
|
message DeleteSuccess {
|
|
string path = 1;
|
|
string deleted_file = 2;
|
|
int64 file_size = 3;
|
|
string prev_content = 4;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.DeleteToolCall (var: c)
|
|
message DeleteToolCall {
|
|
DeleteArgs args = 1;
|
|
DeleteResult result = 2;
|
|
}
|
|
|
|
// Copied from: aiserver.v1.DetailedLine (var: D)
|
|
message DetailedLine {
|
|
string text = 1;
|
|
float line_number = 2;
|
|
bool is_signature = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.Diagnostic (var: u)
|
|
message Diagnostic {
|
|
DiagnosticSeverity severity = 1;
|
|
Range range = 2;
|
|
string message = 3;
|
|
string source = 4;
|
|
string code = 5;
|
|
bool is_stale = 6;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.DiagnosticItem (var: re)
|
|
message DiagnosticItem {
|
|
DiagnosticSeverity severity = 1;
|
|
DiagnosticRange range = 2;
|
|
string message = 3;
|
|
string source = 4;
|
|
string code = 5;
|
|
bool is_stale = 6;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.DiagnosticRange (var: se)
|
|
message DiagnosticRange {
|
|
Position start = 1;
|
|
Position end = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.DiagnosticSeverity (var: r)
|
|
enum DiagnosticSeverity {
|
|
DIAGNOSTIC_SEVERITY_UNSPECIFIED = 0;
|
|
DIAGNOSTIC_SEVERITY_ERROR = 1;
|
|
DIAGNOSTIC_SEVERITY_WARNING = 2;
|
|
DIAGNOSTIC_SEVERITY_INFORMATION = 3;
|
|
DIAGNOSTIC_SEVERITY_HINT = 4;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.DiagnosticsArgs (var: i)
|
|
message DiagnosticsArgs {
|
|
string path = 1;
|
|
string tool_call_id = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.DiagnosticsError (var: m)
|
|
message DiagnosticsError {
|
|
string path = 1;
|
|
string error = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.DiagnosticsFileNotFound (var: d)
|
|
message DiagnosticsFileNotFound {
|
|
string path = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.DiagnosticsPermissionDenied (var: p)
|
|
message DiagnosticsPermissionDenied {
|
|
string path = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.DiagnosticsRejected (var: c)
|
|
message DiagnosticsRejected {
|
|
string path = 1;
|
|
string reason = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.DiagnosticsResult (var: a)
|
|
message DiagnosticsResult {
|
|
oneof result {
|
|
DiagnosticsSuccess success = 1;
|
|
DiagnosticsError error = 2;
|
|
DiagnosticsRejected rejected = 3;
|
|
DiagnosticsFileNotFound file_not_found = 4;
|
|
DiagnosticsPermissionDenied permission_denied = 5;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.DiagnosticsSuccess (var: l)
|
|
message DiagnosticsSuccess {
|
|
string path = 1;
|
|
repeated Diagnostic diagnostics = 2;
|
|
int32 total_diagnostics = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.DragAction (var: p)
|
|
message DragAction {
|
|
repeated Coordinate path = 1;
|
|
MouseButton button = 2;
|
|
optional string modifier_keys = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.EditArgs (var: D)
|
|
message EditArgs {
|
|
string path = 1;
|
|
optional string stream_content = 6;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.EditError (var: V)
|
|
message EditError {
|
|
string path = 1;
|
|
string error = 2;
|
|
optional string model_visible_error = 5;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.EditFileNotFound (var: x)
|
|
message EditFileNotFound {
|
|
string path = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.EditPrLabelsArgs (var: lr)
|
|
message EditPrLabelsArgs {
|
|
string tool_call_id = 1;
|
|
string pr_url = 2;
|
|
repeated string add_labels = 4;
|
|
repeated string remove_labels = 5;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.EditPrLabelsError (var: cr)
|
|
message EditPrLabelsError {
|
|
string error = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.EditPrLabelsResult (var: ur)
|
|
message EditPrLabelsResult {
|
|
oneof result {
|
|
EditPrLabelsSuccess success = 1;
|
|
EditPrLabelsError error = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.EditPrLabelsSuccess (var: mr)
|
|
message EditPrLabelsSuccess {
|
|
string pr_url = 1;
|
|
int32 pr_number = 2;
|
|
string message = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.EditPrLabelsToolCall (var: dr)
|
|
message EditPrLabelsToolCall {
|
|
EditPrLabelsArgs args = 1;
|
|
EditPrLabelsResult result = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.EditReadPermissionDenied (var: Q)
|
|
message EditReadPermissionDenied {
|
|
string path = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.EditRejected (var: H)
|
|
message EditRejected {
|
|
string path = 1;
|
|
string reason = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.EditResult (var: O)
|
|
message EditResult {
|
|
oneof result {
|
|
EditSuccess success = 1;
|
|
EditFileNotFound file_not_found = 2;
|
|
EditReadPermissionDenied read_permission_denied = 3;
|
|
EditWritePermissionDenied write_permission_denied = 4;
|
|
EditRejected rejected = 6;
|
|
EditError error = 7;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.EditSuccess (var: U)
|
|
message EditSuccess {
|
|
string path = 1;
|
|
optional int32 lines_added = 3;
|
|
optional int32 lines_removed = 4;
|
|
optional string diff_string = 5;
|
|
optional string before_full_file_content = 6;
|
|
string after_full_file_content = 7;
|
|
optional string message = 8;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.EditToolCall (var: Y)
|
|
message EditToolCall {
|
|
EditArgs args = 1;
|
|
EditResult result = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.EditToolCallDelta (var: K)
|
|
message EditToolCallDelta {
|
|
string stream_content_delta = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.EditWritePermissionDenied (var: G)
|
|
message EditWritePermissionDenied {
|
|
string path = 1;
|
|
string error = 2;
|
|
bool is_readonly = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.Error (var: l)
|
|
message Error {
|
|
string message = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ExecClientControlMessage (var: We)
|
|
message ExecClientControlMessage {
|
|
oneof message {
|
|
ExecClientStreamClose stream_close = 1;
|
|
ExecClientThrow throw = 2;
|
|
ExecClientHeartbeat heartbeat = 3;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ExecClientHeartbeat (var: Ke)
|
|
message ExecClientHeartbeat {
|
|
uint32 id = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ExecClientMessage (var: $e)
|
|
message ExecClientMessage {
|
|
uint32 id = 1;
|
|
string exec_id = 15;
|
|
optional int32 local_execution_time_ms = 39;
|
|
repeated HookAdditionalContext hook_additional_contexts = 45;
|
|
oneof message {
|
|
ShellResult shell_result = 2;
|
|
WriteResult write_result = 3;
|
|
DeleteResult delete_result = 4;
|
|
GrepResult grep_result = 5;
|
|
ReadResult read_result = 7;
|
|
ReadResult redacted_read_result = 29;
|
|
LsResult ls_result = 8;
|
|
DiagnosticsResult diagnostics_result = 9;
|
|
RequestContextResult request_context_result = 10;
|
|
McpResult mcp_result = 11;
|
|
ShellStream shell_stream = 14;
|
|
BackgroundShellSpawnResult background_shell_spawn_result = 16;
|
|
ListMcpResourcesExecResult list_mcp_resources_exec_result = 17;
|
|
ReadMcpResourceExecResult read_mcp_resource_exec_result = 18;
|
|
McpStateExecResult mcp_state_exec_result = 36;
|
|
FetchResult fetch_result = 20;
|
|
RecordScreenResult record_screen_result = 21;
|
|
ComputerUseResult computer_use_result = 22;
|
|
WriteShellStdinResult write_shell_stdin_result = 23;
|
|
ExecuteHookResult execute_hook_result = 27;
|
|
SubagentResult subagent_result = 28;
|
|
ForceBackgroundShellResult force_background_shell_result = 30;
|
|
ForceBackgroundSubagentResult force_background_subagent_result = 31;
|
|
SubagentAwaitResult subagent_await_result = 37;
|
|
SmartModeClassifierResult smart_mode_classifier_result = 38;
|
|
CanvasDiagnosticsResult canvas_diagnostics_result = 40;
|
|
ShellAllowlistPrecheckResult shell_allowlist_precheck_result = 41;
|
|
McpAllowlistPrecheckResult mcp_allowlist_precheck_result = 42;
|
|
WebFetchAllowlistPrecheckResult web_fetch_allowlist_precheck_result = 43;
|
|
GetDiffResponse git_diff_response = 44;
|
|
PiReadExecResult pi_read_result = 46;
|
|
PiBashExecResult pi_bash_result = 47;
|
|
PiEditExecResult pi_edit_result = 48;
|
|
PiWriteExecResult pi_write_result = 49;
|
|
PiGrepExecResult pi_grep_result = 50;
|
|
PiFindExecResult pi_find_result = 51;
|
|
PiLsExecResult pi_ls_result = 52;
|
|
ConversationSearchResult conversation_search_result = 53;
|
|
AgentStoreConflictResult agent_store_conflict_result = 54;
|
|
ShellResult mini_swe_agent_bash_result = 55;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ExecClientStreamClose (var: Ve)
|
|
message ExecClientStreamClose {
|
|
uint32 id = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ExecClientThrow (var: Ye)
|
|
message ExecClientThrow {
|
|
uint32 id = 1;
|
|
string error = 2;
|
|
optional string stack_trace = 3;
|
|
optional string error_code = 4;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ExecServerAbort (var: A)
|
|
message ExecServerAbort {
|
|
uint32 id = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ExecServerControlMessage (var: _)
|
|
message ExecServerControlMessage {
|
|
oneof message {
|
|
ExecServerAbort abort = 1;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ExecServerMessage (var: Ze)
|
|
message ExecServerMessage {
|
|
uint32 id = 1;
|
|
string exec_id = 15;
|
|
optional SpanContext span_context = 19;
|
|
optional bool accept_hook_additional_contexts = 55;
|
|
oneof message {
|
|
ShellArgs shell_args = 2;
|
|
WriteArgs write_args = 3;
|
|
DeleteArgs delete_args = 4;
|
|
GrepArgs grep_args = 5;
|
|
ReadArgs read_args = 7;
|
|
ReadArgs redacted_read_args = 29;
|
|
LsArgs ls_args = 8;
|
|
DiagnosticsArgs diagnostics_args = 9;
|
|
RequestContextArgs request_context_args = 10;
|
|
McpArgs mcp_args = 11;
|
|
ShellArgs shell_stream_args = 14;
|
|
BackgroundShellSpawnArgs background_shell_spawn_args = 16;
|
|
ListMcpResourcesExecArgs list_mcp_resources_exec_args = 17;
|
|
ReadMcpResourceExecArgs read_mcp_resource_exec_args = 18;
|
|
McpStateExecArgs mcp_state_exec_args = 36;
|
|
FetchArgs fetch_args = 20;
|
|
RecordScreenArgs record_screen_args = 21;
|
|
ComputerUseArgs computer_use_args = 22;
|
|
WriteShellStdinArgs write_shell_stdin_args = 23;
|
|
ExecuteHookArgs execute_hook_args = 27;
|
|
SubagentArgs subagent_args = 28;
|
|
ForceBackgroundShellArgs force_background_shell_args = 30;
|
|
ForceBackgroundSubagentArgs force_background_subagent_args = 31;
|
|
SubagentAwaitArgs subagent_await_args = 37;
|
|
SmartModeClassifierArgs smart_mode_classifier_args = 38;
|
|
CanvasDiagnosticsArgs canvas_diagnostics_args = 40;
|
|
ShellAllowlistPrecheckArgs shell_allowlist_precheck_args = 41;
|
|
McpAllowlistPrecheckArgs mcp_allowlist_precheck_args = 42;
|
|
WebFetchAllowlistPrecheckArgs web_fetch_allowlist_precheck_args = 43;
|
|
GetDiffRequest git_diff_request = 44;
|
|
PiReadExecArgs pi_read_args = 45;
|
|
PiBashExecArgs pi_bash_args = 46;
|
|
PiEditExecArgs pi_edit_args = 47;
|
|
PiWriteExecArgs pi_write_args = 48;
|
|
PiGrepExecArgs pi_grep_args = 49;
|
|
PiFindExecArgs pi_find_args = 50;
|
|
PiLsExecArgs pi_ls_args = 51;
|
|
ShellArgs mini_swe_agent_bash_args = 52;
|
|
ConversationSearchArgs conversation_search_args = 53;
|
|
AgentStoreConflictArgs agent_store_conflict_args = 54;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ExecuteHookArgs (var: et)
|
|
message ExecuteHookArgs {
|
|
ExecuteHookRequest request = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ExecuteHookRequest (var: nt)
|
|
message ExecuteHookRequest {
|
|
oneof request {
|
|
PreCompactRequestQuery pre_compact = 1;
|
|
SubagentStartRequestQuery subagent_start = 2;
|
|
SubagentStopRequestQuery subagent_stop = 3;
|
|
PreToolUseRequestQuery pre_tool_use = 4;
|
|
PostToolUseRequestQuery post_tool_use = 5;
|
|
PostToolUseFailureRequestQuery post_tool_use_failure = 6;
|
|
BeforeSubmitPromptRequestQuery before_submit_prompt = 7;
|
|
AfterAgentResponseRequestQuery after_agent_response = 8;
|
|
AfterAgentThoughtRequestQuery after_agent_thought = 9;
|
|
StopRequestQuery stop = 11;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ExecuteHookResponse (var: rt)
|
|
message ExecuteHookResponse {
|
|
oneof response {
|
|
PreCompactRequestResponse pre_compact = 1;
|
|
SubagentStartRequestResponse subagent_start = 2;
|
|
SubagentStopRequestResponse subagent_stop = 3;
|
|
PreToolUseRequestResponse pre_tool_use = 4;
|
|
PostToolUseRequestResponse post_tool_use = 5;
|
|
PostToolUseFailureRequestResponse post_tool_use_failure = 6;
|
|
BeforeSubmitPromptRequestResponse before_submit_prompt = 7;
|
|
AfterAgentResponseRequestResponse after_agent_response = 8;
|
|
AfterAgentThoughtRequestResponse after_agent_thought = 9;
|
|
StopRequestResponse stop = 11;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ExecuteHookResult (var: tt)
|
|
message ExecuteHookResult {
|
|
ExecuteHookResponse response = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ExecutePlanAction (var: wi)
|
|
message ExecutePlanAction {
|
|
RequestContext request_context = 1;
|
|
optional ConversationPlan plan = 2;
|
|
optional string plan_file_uri = 3;
|
|
optional string plan_file_content = 4;
|
|
AgentMode execution_mode = 5;
|
|
optional string kickoff_message_id = 6;
|
|
optional string plan_id = 7;
|
|
optional string plan_file_path = 8;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ExecutePlanInfo (var: Si)
|
|
message ExecutePlanInfo {
|
|
string plan_id = 1;
|
|
string plan_title = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ExtraContextEntry (var: A)
|
|
message ExtraContextEntry {
|
|
oneof data_or_blob_id {
|
|
string data = 1;
|
|
bytes blob_id = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.FeedbackRequestCategory (var: Fa)
|
|
message FeedbackRequestCategory {
|
|
string id = 1;
|
|
string label = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.FeedbackRequestCategoryGroup (var: qa)
|
|
message FeedbackRequestCategoryGroup {
|
|
string id = 1;
|
|
string prompt = 2;
|
|
repeated FeedbackRequestCategory categories = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.FeedbackRequestUpdate (var: Da)
|
|
message FeedbackRequestUpdate {
|
|
string request_id = 1;
|
|
optional string canonical_model_name = 2;
|
|
repeated FeedbackRequestCategory categories = 3;
|
|
repeated FeedbackRequestCategoryGroup category_groups = 4;
|
|
bool show_form_immediately = 5;
|
|
optional string title = 6;
|
|
optional string negative_title = 7;
|
|
optional string comment_placeholder = 8;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.FetchArgs (var: s)
|
|
message FetchArgs {
|
|
string url = 1;
|
|
string tool_call_id = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.FetchCloudAgentDataArgs (var: Br)
|
|
message FetchCloudAgentDataArgs {
|
|
repeated string bc_ids = 4;
|
|
repeated string sources = 6;
|
|
repeated string statuses = 7;
|
|
bool include_team_wide = 8;
|
|
bool include_archived = 9;
|
|
optional int32 limit = 10;
|
|
bool include_transcript = 12;
|
|
string active_since = 13;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.FetchCloudAgentDataError (var: Nr)
|
|
message FetchCloudAgentDataError {
|
|
string error = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.FetchCloudAgentDataResult (var: Jr)
|
|
message FetchCloudAgentDataResult {
|
|
oneof result {
|
|
FetchCloudAgentDataSuccess success = 1;
|
|
FetchCloudAgentDataError error = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.FetchCloudAgentDataSuccess (var: Cr)
|
|
message FetchCloudAgentDataSuccess {
|
|
string summary = 1;
|
|
int32 agent_count = 2;
|
|
repeated string written_paths = 3;
|
|
repeated string unavailable_bc_ids = 4;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.FetchCloudAgentDataToolCall (var: Rr)
|
|
message FetchCloudAgentDataToolCall {
|
|
FetchCloudAgentDataArgs args = 1;
|
|
FetchCloudAgentDataResult result = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.FetchError (var: a)
|
|
message FetchError {
|
|
string url = 1;
|
|
string error = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.FetchResult (var: o)
|
|
message FetchResult {
|
|
oneof result {
|
|
FetchSuccess success = 1;
|
|
FetchError error = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.FetchSuccess (var: i)
|
|
message FetchSuccess {
|
|
string url = 1;
|
|
string content = 2;
|
|
int32 status_code = 3;
|
|
string content_type = 4;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.FetchToolCall (var: ze)
|
|
message FetchToolCall {
|
|
FetchArgs args = 1;
|
|
FetchResult result = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.FileDiagnostics (var: ne)
|
|
message FileDiagnostics {
|
|
string path = 1;
|
|
repeated DiagnosticItem diagnostics = 2;
|
|
int32 diagnostics_count = 3;
|
|
}
|
|
|
|
// Copied from: aiserver.v1.FileDiff (var: B)
|
|
message FileDiff {
|
|
// Copied from: aiserver.v1.FileDiff.Chunk (var: J)
|
|
message Chunk {
|
|
string content = 1;
|
|
repeated string lines = 2;
|
|
int32 old_start = 3;
|
|
int32 old_lines = 4;
|
|
int32 new_start = 5;
|
|
int32 new_lines = 6;
|
|
}
|
|
|
|
int32 added = 4;
|
|
int32 removed = 5;
|
|
string from = 1;
|
|
string to = 2;
|
|
repeated Chunk chunks = 3;
|
|
optional string before_file_contents = 6;
|
|
optional string after_file_contents = 7;
|
|
optional bool is_generated = 8;
|
|
}
|
|
|
|
// Copied from: aiserver.v1.FileGit (var: Q)
|
|
message FileGit {
|
|
repeated GitCommit commits = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.FileState (var: Xi)
|
|
message FileState {
|
|
optional string content = 1;
|
|
optional string initial_content = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.FileStateStructure (var: Zi)
|
|
message FileStateStructure {
|
|
optional bytes content = 1;
|
|
optional bytes initial_content = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ForceBackgroundShellArgs (var: y)
|
|
message ForceBackgroundShellArgs {
|
|
string tool_call_id = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ForceBackgroundShellResult (var: k)
|
|
message ForceBackgroundShellResult {
|
|
ForceBackgroundShellStatus status = 1;
|
|
optional ShellResult shell_result = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ForceBackgroundShellStatus (var: o)
|
|
enum ForceBackgroundShellStatus {
|
|
FORCE_BACKGROUND_SHELL_STATUS_UNSPECIFIED = 0;
|
|
FORCE_BACKGROUND_SHELL_STATUS_ACCEPTED = 1;
|
|
FORCE_BACKGROUND_SHELL_STATUS_NOT_FOUND = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ForceBackgroundSubagentArgs (var: V)
|
|
message ForceBackgroundSubagentArgs {
|
|
string tool_call_id = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ForceBackgroundSubagentResult (var: Y)
|
|
message ForceBackgroundSubagentResult {
|
|
ForceBackgroundSubagentStatus status = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ForceBackgroundSubagentStatus (var: w)
|
|
enum ForceBackgroundSubagentStatus {
|
|
FORCE_BACKGROUND_SUBAGENT_STATUS_UNSPECIFIED = 0;
|
|
FORCE_BACKGROUND_SUBAGENT_STATUS_ACCEPTED = 1;
|
|
FORCE_BACKGROUND_SUBAGENT_STATUS_NOT_FOUND = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.GenerateImageArgs (var: s)
|
|
message GenerateImageArgs {
|
|
string description = 1;
|
|
optional string file_path = 2;
|
|
repeated string reference_image_paths = 5;
|
|
optional string aspect_ratio = 6;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.GenerateImageError (var: a)
|
|
message GenerateImageError {
|
|
string error = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.GenerateImageRequestQuery (var: u)
|
|
message GenerateImageRequestQuery {
|
|
GenerateImageArgs args = 1;
|
|
string tool_call_id = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.GenerateImageRequestResponse (var: m)
|
|
message GenerateImageRequestResponse {
|
|
// Copied from: local:agent.v1.GenerateImageRequestResponse.Approved (var: c)
|
|
message Approved {
|
|
string description = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.GenerateImageRequestResponse.Rejected (var: d)
|
|
message Rejected {
|
|
string reason = 1;
|
|
}
|
|
|
|
oneof result {
|
|
Approved approved = 1;
|
|
Rejected rejected = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.GenerateImageResult (var: o)
|
|
message GenerateImageResult {
|
|
oneof result {
|
|
GenerateImageSuccess success = 1;
|
|
GenerateImageError error = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.GenerateImageSuccess (var: i)
|
|
message GenerateImageSuccess {
|
|
string file_path = 1;
|
|
string image_data = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.GenerateImageToolCall (var: l)
|
|
message GenerateImageToolCall {
|
|
GenerateImageArgs args = 1;
|
|
GenerateImageResult result = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.GetAllowedModelIntentsRequest (var: P)
|
|
message GetAllowedModelIntentsRequest {
|
|
}
|
|
|
|
// Copied from: local:agent.v1.GetAllowedModelIntentsResponse (var: b)
|
|
message GetAllowedModelIntentsResponse {
|
|
repeated string model_intents = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.GetBlobArgs (var: u)
|
|
message GetBlobArgs {
|
|
bytes blob_id = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.GetBlobResult (var: m)
|
|
message GetBlobResult {
|
|
optional bytes blob_data = 1;
|
|
optional Error error = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.GetCiStatusAction (var: jt)
|
|
message GetCiStatusAction {
|
|
optional string pr_url = 1;
|
|
optional string branch_name = 2;
|
|
optional string repo_url = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.GetDefaultModelForCliRequest (var: N)
|
|
message GetDefaultModelForCliRequest {
|
|
}
|
|
|
|
// Copied from: local:agent.v1.GetDefaultModelForCliResponse (var: R)
|
|
message GetDefaultModelForCliResponse {
|
|
ModelDetails model = 1;
|
|
}
|
|
|
|
// Copied from: aiserver.v1.GetDiffRequest (var: k)
|
|
message GetDiffRequest {
|
|
// Copied from: aiserver.v1.GetDiffRequest.OutputFormat (var: i)
|
|
enum OutputFormat {
|
|
OUTPUT_FORMAT_UNSPECIFIED = 0;
|
|
OUTPUT_FORMAT_NAME_STATUS = 1;
|
|
OUTPUT_FORMAT_NAME_STATUS_AND_NUMSTAT = 2;
|
|
OUTPUT_FORMAT_FILE_DIFFS = 3;
|
|
OUTPUT_FORMAT_DIFFS_WITH_BEFORE_AND_AFTER = 4;
|
|
}
|
|
|
|
string cwd = 1;
|
|
string ref = 2;
|
|
string base_ref = 3;
|
|
bool merge_base = 4;
|
|
repeated string target_paths = 5;
|
|
optional int32 unified_context_lines = 6;
|
|
int32 max_untracked_files = 7;
|
|
int32 submodule_recurse_depth = 9;
|
|
bool include_space_changes = 10;
|
|
bool committed_only = 11;
|
|
bool compute_patch_id = 12;
|
|
optional bool return_head_sha = 13;
|
|
optional int32 max_response_bytes = 14;
|
|
optional OutputFormat output_format = 8;
|
|
}
|
|
|
|
// Copied from: aiserver.v1.GetDiffResponse (var: w)
|
|
message GetDiffResponse {
|
|
// Copied from: aiserver.v1.GetDiffResponse.SubmoduleDiff (var: E)
|
|
message SubmoduleDiff {
|
|
string relative_path = 1;
|
|
GitDiff diff = 2;
|
|
bool errored = 3;
|
|
}
|
|
|
|
GitDiff diff = 1;
|
|
repeated SubmoduleDiff submodule_diffs = 2;
|
|
optional string patch_id = 3;
|
|
optional string head_sha = 4;
|
|
optional bool has_uncommitted_changes = 5;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.GetMcpToolsAgentResult (var: Nn)
|
|
message GetMcpToolsAgentResult {
|
|
oneof result {
|
|
GetMcpToolsSuccess success = 1;
|
|
GetMcpToolsError error = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.GetMcpToolsArgs (var: Cn)
|
|
message GetMcpToolsArgs {
|
|
optional string server = 1;
|
|
optional string tool_name = 2;
|
|
optional string pattern = 3;
|
|
string tool_call_id = 4;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.GetMcpToolsError (var: Pn)
|
|
message GetMcpToolsError {
|
|
string error = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.GetMcpToolsSuccess (var: Rn)
|
|
message GetMcpToolsSuccess {
|
|
string content = 1;
|
|
optional string output_file_path = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.GetMcpToolsToolCall (var: bn)
|
|
message GetMcpToolsToolCall {
|
|
GetMcpToolsArgs args = 1;
|
|
GetMcpToolsAgentResult result = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.GetNewChatNudgeLegacyModelPickerRequest (var: Y)
|
|
message GetNewChatNudgeLegacyModelPickerRequest {
|
|
string current_model = 1;
|
|
bool max_mode = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.GetNewChatNudgeLegacyModelPickerResponse (var: K)
|
|
message GetNewChatNudgeLegacyModelPickerResponse {
|
|
optional NewChatNudge nudge = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.GetNewChatNudgeParameterizedModelPickerRequest (var: Z)
|
|
message GetNewChatNudgeParameterizedModelPickerRequest {
|
|
RequestedModel current_model = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.GetNewChatNudgeParameterizedModelPickerResponse (var: $)
|
|
message GetNewChatNudgeParameterizedModelPickerResponse {
|
|
optional NewChatNudgeV2 nudge = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.GetSignedUrlForAttachedMediaRequest (var: Q)
|
|
message GetSignedUrlForAttachedMediaRequest {
|
|
string conversation_id = 3;
|
|
optional string key = 1;
|
|
optional string mime_type = 2;
|
|
optional int64 content_length_bytes = 4;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.GetSignedUrlForAttachedMediaResponse (var: G)
|
|
message GetSignedUrlForAttachedMediaResponse {
|
|
string key = 1;
|
|
string post_url = 2;
|
|
string get_url = 3;
|
|
int64 expires_at_unix_ms = 4;
|
|
int64 refresh_after_unix_ms = 5;
|
|
map<string, string> post_fields = 6;
|
|
string put_url = 7;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.GetUsableModelsRequest (var: J)
|
|
message GetUsableModelsRequest {
|
|
repeated string custom_model_ids = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.GetUsableModelsResponse (var: C)
|
|
message GetUsableModelsResponse {
|
|
repeated ModelDetails models = 1;
|
|
}
|
|
|
|
// Copied from: aiserver.v1.GitCommit (var: x)
|
|
message GitCommit {
|
|
string commit = 1;
|
|
string author = 2;
|
|
string date = 3;
|
|
string message = 4;
|
|
}
|
|
|
|
// Copied from: aiserver.v1.GitDiff (var: v)
|
|
message GitDiff {
|
|
// Copied from: aiserver.v1.GitDiff.DiffType (var: a)
|
|
enum DiffType {
|
|
DIFF_TYPE_UNSPECIFIED = 0;
|
|
DIFF_TYPE_DIFF_TO_HEAD = 1;
|
|
DIFF_TYPE_DIFF_FROM_BRANCH_TO_MAIN = 2;
|
|
}
|
|
|
|
repeated FileDiff diffs = 1;
|
|
DiffType diff_type = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.GitRepoInfo (var: k)
|
|
message GitRepoInfo {
|
|
string path = 1;
|
|
string status = 2;
|
|
string branch_name = 3;
|
|
optional string remote_url = 4;
|
|
optional bool previous_branch_is_ancestor = 5;
|
|
optional bool is_origin_backed = 6;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.GlobToolArgs (var: d)
|
|
message GlobToolArgs {
|
|
optional string target_directory = 1;
|
|
string glob_pattern = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.GlobToolCall (var: h)
|
|
message GlobToolCall {
|
|
GlobToolArgs args = 1;
|
|
GlobToolResult result = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.GlobToolError (var: f)
|
|
message GlobToolError {
|
|
string error = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.GlobToolResult (var: p)
|
|
message GlobToolResult {
|
|
oneof result {
|
|
GlobToolSuccess success = 1;
|
|
GlobToolError error = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.GlobToolSuccess (var: g)
|
|
message GlobToolSuccess {
|
|
string pattern = 1;
|
|
string path = 2;
|
|
repeated string files = 3;
|
|
int32 total_files = 4;
|
|
bool client_truncated = 5;
|
|
bool ripgrep_truncated = 6;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.GoalContinuationAction (var: ti)
|
|
message GoalContinuationAction {
|
|
}
|
|
|
|
// Copied from: local:agent.v1.GoalError (var: Ms)
|
|
message GoalError {
|
|
string error = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.GoalState (var: qi)
|
|
message GoalState {
|
|
string conversation_id = 1;
|
|
string goal_id = 2;
|
|
string objective = 3;
|
|
GoalStatus status = 4;
|
|
uint32 idle_continuations_without_tool_calls = 5;
|
|
optional uint64 active_duration_ms = 6;
|
|
optional uint64 last_accrued_at_ms = 7;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.GoalStatus (var: Cs)
|
|
enum GoalStatus {
|
|
GOAL_STATUS_UNSPECIFIED = 0;
|
|
GOAL_STATUS_ACTIVE = 1;
|
|
GOAL_STATUS_PAUSED = 2;
|
|
GOAL_STATUS_COMPLETE = 3;
|
|
GOAL_STATUS_CLEARED = 4;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.GrepArgs (var: o)
|
|
message GrepArgs {
|
|
string pattern = 1;
|
|
optional string path = 2;
|
|
optional string glob = 3;
|
|
optional string output_mode = 4;
|
|
optional int32 context_before = 5;
|
|
optional int32 context_after = 6;
|
|
optional int32 context = 7;
|
|
optional bool case_insensitive = 8;
|
|
optional string type = 9;
|
|
optional int32 head_limit = 10;
|
|
optional bool multiline = 11;
|
|
optional string sort = 12;
|
|
optional bool sort_ascending = 13;
|
|
string tool_call_id = 14;
|
|
optional SandboxPolicy sandbox_policy = 15;
|
|
optional int32 offset = 16;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.GrepContentMatch (var: g)
|
|
message GrepContentMatch {
|
|
int32 line_number = 1;
|
|
string content = 2;
|
|
bool content_truncated = 3;
|
|
bool is_context_line = 4;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.GrepContentResult (var: p)
|
|
message GrepContentResult {
|
|
repeated GrepFileMatch matches = 1;
|
|
int32 total_lines = 2;
|
|
int32 total_matched_lines = 3;
|
|
bool client_truncated = 4;
|
|
bool ripgrep_truncated = 5;
|
|
optional int32 head_limit_applied = 6;
|
|
optional int32 offset_applied = 7;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.GrepCountResult (var: m)
|
|
message GrepCountResult {
|
|
repeated GrepFileCount counts = 1;
|
|
int32 total_files = 2;
|
|
int32 total_matches = 3;
|
|
bool client_truncated = 4;
|
|
bool ripgrep_truncated = 5;
|
|
optional int32 head_limit_applied = 6;
|
|
optional int32 offset_applied = 7;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.GrepError (var: a)
|
|
message GrepError {
|
|
string error = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.GrepFileCount (var: c)
|
|
message GrepFileCount {
|
|
string file = 1;
|
|
int32 count = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.GrepFileMatch (var: f)
|
|
message GrepFileMatch {
|
|
string file = 1;
|
|
repeated GrepContentMatch matches = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.GrepFilesResult (var: d)
|
|
message GrepFilesResult {
|
|
repeated string files = 1;
|
|
int32 total_files = 2;
|
|
bool client_truncated = 3;
|
|
bool ripgrep_truncated = 4;
|
|
optional int32 head_limit_applied = 5;
|
|
optional int32 offset_applied = 6;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.GrepResult (var: i)
|
|
message GrepResult {
|
|
oneof result {
|
|
GrepSuccess success = 1;
|
|
GrepError error = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.GrepStream (var: h)
|
|
message GrepStream {
|
|
string pattern = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.GrepSuccess (var: l)
|
|
message GrepSuccess {
|
|
string pattern = 1;
|
|
string path = 2;
|
|
string output_mode = 3;
|
|
map<string, GrepUnionResult> workspace_results = 4;
|
|
optional GrepUnionResult active_editor_result = 5;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.GrepToolCall (var: _)
|
|
message GrepToolCall {
|
|
GrepArgs args = 1;
|
|
GrepResult result = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.GrepUnionResult (var: u)
|
|
message GrepUnionResult {
|
|
oneof result {
|
|
GrepCountResult count = 1;
|
|
GrepFilesResult files = 2;
|
|
GrepContentResult content = 3;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.HeartbeatUpdate (var: Ba)
|
|
message HeartbeatUpdate {
|
|
}
|
|
|
|
// Copied from: local:agent.v1.HookAdditionalContext (var: s)
|
|
message HookAdditionalContext {
|
|
string hook_event_name = 1;
|
|
string content = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.HooksConfigInfo (var: J)
|
|
message HooksConfigInfo {
|
|
repeated string configured_steps = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.IdeEditorsStateFile (var: M)
|
|
message IdeEditorsStateFile {
|
|
string relative_path = 1;
|
|
string absolute_path = 2;
|
|
optional bool is_currently_focused = 3;
|
|
optional int32 current_line_number = 4;
|
|
optional string current_line_text = 5;
|
|
optional int32 line_count = 6;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.IdeEditorsStateLite (var: L)
|
|
message IdeEditorsStateLite {
|
|
repeated IdeEditorsStateFile recently_viewed_files = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ImageProto (var: T)
|
|
message ImageProto {
|
|
// Copied from: local:agent.v1.ImageProto.Dimension (var: y)
|
|
message Dimension {
|
|
int32 width = 1;
|
|
int32 height = 2;
|
|
}
|
|
|
|
bytes data = 1;
|
|
string uuid = 2;
|
|
string path = 3;
|
|
Dimension dimension = 4;
|
|
optional string task_specific_description = 6;
|
|
string mime_type = 7;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.InjectContextAction (var: ni)
|
|
message InjectContextAction {
|
|
string injection_id = 1;
|
|
string expected_run_id = 2;
|
|
oneof payload {
|
|
UserContextInjection user_context = 3;
|
|
SystemContextInjection system_context = 4;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.InteractionQuery (var: Ka)
|
|
message InteractionQuery {
|
|
uint32 id = 1;
|
|
oneof query {
|
|
WebSearchRequestQuery web_search_request_query = 2;
|
|
AskQuestionInteractionQuery ask_question_interaction_query = 3;
|
|
SwitchModeRequestQuery switch_mode_request_query = 4;
|
|
CreatePlanRequestQuery create_plan_request_query = 7;
|
|
SetupVmEnvironmentArgs setup_vm_environment_args = 8;
|
|
WebFetchRequestQuery web_fetch_request_query = 9;
|
|
PrManagementRequestQuery pr_management_request_query = 10;
|
|
McpAuthRequestQuery mcp_auth_request_query = 11;
|
|
GenerateImageRequestQuery generate_image_request_query = 12;
|
|
ReplaceEnvArgs replace_env_args = 13;
|
|
ConnectScmRequestQuery connect_scm_request_query = 14;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.InteractionResponse (var: Wa)
|
|
message InteractionResponse {
|
|
uint32 id = 1;
|
|
oneof result {
|
|
WebSearchRequestResponse web_search_request_response = 2;
|
|
AskQuestionInteractionResponse ask_question_interaction_response = 3;
|
|
SwitchModeRequestResponse switch_mode_request_response = 4;
|
|
CreatePlanRequestResponse create_plan_request_response = 7;
|
|
SetupVmEnvironmentResult setup_vm_environment_result = 8;
|
|
WebFetchRequestResponse web_fetch_request_response = 9;
|
|
PrManagementResult pr_management_result = 10;
|
|
McpAuthRequestResponse mcp_auth_request_response = 11;
|
|
GenerateImageRequestResponse generate_image_request_response = 12;
|
|
ReplaceEnvResult replace_env_result = 13;
|
|
ConnectScmRequestResponse connect_scm_request_response = 14;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.InteractionUpdate (var: Ha)
|
|
message InteractionUpdate {
|
|
oneof message {
|
|
TextDeltaUpdate text_delta = 1;
|
|
PartialToolCallUpdate partial_tool_call = 7;
|
|
ToolCallDeltaUpdate tool_call_delta = 15;
|
|
ToolCallStartedUpdate tool_call_started = 2;
|
|
ToolCallCompletedUpdate tool_call_completed = 3;
|
|
ThinkingDeltaUpdate thinking_delta = 4;
|
|
ThinkingCompletedUpdate thinking_completed = 5;
|
|
UserMessageAppendedUpdate user_message_appended = 6;
|
|
TokenDeltaUpdate token_delta = 8;
|
|
SummaryUpdate summary = 9;
|
|
SummaryStartedUpdate summary_started = 10;
|
|
SummaryCompletedUpdate summary_completed = 11;
|
|
ShellOutputDeltaUpdate shell_output_delta = 12;
|
|
HeartbeatUpdate heartbeat = 13;
|
|
TurnEndedUpdate turn_ended = 14;
|
|
StepStartedUpdate step_started = 16;
|
|
StepCompletedUpdate step_completed = 17;
|
|
PromptSuggestionUpdate prompt_suggestion = 18;
|
|
PostRequestPromptUpdate post_request_prompt = 19;
|
|
ActiveBranchChange active_branch_change = 20;
|
|
FeedbackRequestUpdate feedback_request = 21;
|
|
ResponseComparisonUpdate response_comparison = 22;
|
|
ContextInjectionStateUpdate context_injection_state = 23;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.InterruptedPendingToolCallResolution (var: Do)
|
|
message InterruptedPendingToolCallResolution {
|
|
string tool_call_id = 1;
|
|
oneof resolution {
|
|
ShellResult shell_result = 2;
|
|
TaskResult task_result = 3;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.InterruptedPendingToolCallResolutions (var: Oo)
|
|
message InterruptedPendingToolCallResolutions {
|
|
repeated InterruptedPendingToolCallResolution resolutions = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.InvocationContext (var: $)
|
|
message InvocationContext {
|
|
// Copied from: local:agent.v1.InvocationContext.GithubPR (var: ne)
|
|
message GithubPR {
|
|
string title = 1;
|
|
string description = 2;
|
|
string comments = 3;
|
|
optional string ci_failures = 4;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.InvocationContext.IdeState (var: re)
|
|
message IdeState {
|
|
// Copied from: local:agent.v1.InvocationContext.IdeState.File (var: se)
|
|
message File {
|
|
// Copied from: local:agent.v1.InvocationContext.IdeState.File.CursorPosition (var: oe)
|
|
message CursorPosition {
|
|
int32 line = 1;
|
|
string text = 2;
|
|
}
|
|
|
|
string path = 1;
|
|
optional string relative_path = 2;
|
|
optional CursorPosition cursor_position = 3;
|
|
int32 total_lines = 4;
|
|
optional string active_command = 5;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.InvocationContext.IdeState.ViewedPullRequest (var: ie)
|
|
message ViewedPullRequest {
|
|
int32 number = 1;
|
|
string url = 2;
|
|
optional string title = 3;
|
|
optional string folder_path = 4;
|
|
optional string summary_json = 5;
|
|
optional string description = 6;
|
|
}
|
|
|
|
repeated File visible_files = 1;
|
|
repeated File recently_viewed_files = 2;
|
|
repeated ViewedPullRequest currently_viewed_prs = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.InvocationContext.MicrosoftTeamsThread (var: te)
|
|
message MicrosoftTeamsThread {
|
|
string thread = 1;
|
|
optional string channel_name = 2;
|
|
optional string team_name = 3;
|
|
optional string channel_description = 4;
|
|
optional string team_description = 5;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.InvocationContext.SlackThread (var: ee)
|
|
message SlackThread {
|
|
string thread = 1;
|
|
optional string channel_name = 2;
|
|
optional string channel_purpose = 3;
|
|
optional string channel_topic = 4;
|
|
optional string sender_name = 5;
|
|
optional string sender_id = 6;
|
|
optional string sender_type = 7;
|
|
optional bool is_directly_addressed = 8;
|
|
}
|
|
|
|
oneof data {
|
|
SlackThread slack_thread = 1;
|
|
GithubPR github_pr = 2;
|
|
IdeState ide_state = 3;
|
|
MicrosoftTeamsThread microsoft_teams_thread = 4;
|
|
bytes blob_id = 10;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.KeyAction (var: h)
|
|
message KeyAction {
|
|
string key = 1;
|
|
optional int32 hold_duration_ms = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.KvClientMessage (var: f)
|
|
message KvClientMessage {
|
|
uint32 id = 1;
|
|
oneof message {
|
|
GetBlobResult get_blob_result = 2;
|
|
SetBlobResult set_blob_result = 3;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.KvServerMessage (var: p)
|
|
message KvServerMessage {
|
|
uint32 id = 1;
|
|
optional SpanContext span_context = 4;
|
|
oneof message {
|
|
GetBlobArgs get_blob_args = 2;
|
|
SetBlobArgs set_blob_args = 3;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ListMcpResourcesError (var: J)
|
|
message ListMcpResourcesError {
|
|
string error = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ListMcpResourcesExecArgs (var: S)
|
|
message ListMcpResourcesExecArgs {
|
|
optional string server = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ListMcpResourcesExecResult (var: I)
|
|
message ListMcpResourcesExecResult {
|
|
// Copied from: local:agent.v1.ListMcpResourcesExecResult.McpResource (var: v)
|
|
message McpResource {
|
|
string uri = 1;
|
|
optional string name = 2;
|
|
optional string description = 3;
|
|
optional string mime_type = 4;
|
|
string server = 5;
|
|
map<string, string> annotations = 6;
|
|
}
|
|
|
|
oneof result {
|
|
ListMcpResourcesSuccess success = 1;
|
|
ListMcpResourcesError error = 2;
|
|
ListMcpResourcesRejected rejected = 3;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ListMcpResourcesRejected (var: C)
|
|
message ListMcpResourcesRejected {
|
|
string reason = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ListMcpResourcesSuccess (var: B)
|
|
message ListMcpResourcesSuccess {
|
|
repeated ListMcpResourcesExecResult.McpResource resources = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ListMcpResourcesToolCall (var: Le)
|
|
message ListMcpResourcesToolCall {
|
|
ListMcpResourcesExecArgs args = 1;
|
|
ListMcpResourcesExecResult result = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.LocalPromptQualityInvocation (var: O)
|
|
message LocalPromptQualityInvocation {
|
|
string invocation_id = 1;
|
|
string attempt_request_id = 2;
|
|
int32 attempt = 3;
|
|
string started_at = 4;
|
|
string completed_at = 5;
|
|
string model_id = 6;
|
|
string provider_name = 7;
|
|
LocalPromptQualityInvocationStatus status = 8;
|
|
repeated bytes messages = 9;
|
|
repeated bytes response_messages = 10;
|
|
string tools_json = 11;
|
|
int64 prompt_tokens = 12;
|
|
int64 completion_tokens = 13;
|
|
int64 total_tokens = 14;
|
|
optional int64 token_limit = 15;
|
|
optional string error_message = 16;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.LocalPromptQualityInvocationStatus (var: r)
|
|
enum LocalPromptQualityInvocationStatus {
|
|
LOCAL_PROMPT_QUALITY_INVOCATION_STATUS_UNSPECIFIED = 0;
|
|
LOCAL_PROMPT_QUALITY_INVOCATION_STATUS_SUCCESS = 1;
|
|
LOCAL_PROMPT_QUALITY_INVOCATION_STATUS_ERRORED = 2;
|
|
LOCAL_PROMPT_QUALITY_INVOCATION_STATUS_ABORTED = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.LsArgs (var: o)
|
|
message LsArgs {
|
|
string path = 1;
|
|
repeated string ignore = 2;
|
|
string tool_call_id = 3;
|
|
optional SandboxPolicy sandbox_policy = 4;
|
|
optional uint32 timeout_ms = 5;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.LsDirectoryTreeNode (var: l)
|
|
message LsDirectoryTreeNode {
|
|
// Copied from: local:agent.v1.LsDirectoryTreeNode.File (var: u)
|
|
message File {
|
|
string name = 1;
|
|
optional TerminalMetadata terminal_metadata = 2;
|
|
}
|
|
|
|
string abs_path = 1;
|
|
repeated LsDirectoryTreeNode children_dirs = 2;
|
|
repeated File children_files = 3;
|
|
bool children_were_processed = 4;
|
|
map<string, int32> full_subtree_extension_counts = 5;
|
|
int32 num_files = 6;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.LsError (var: m)
|
|
message LsError {
|
|
string path = 1;
|
|
string error = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.LsRejected (var: c)
|
|
message LsRejected {
|
|
string path = 1;
|
|
string reason = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.LsResult (var: i)
|
|
message LsResult {
|
|
oneof result {
|
|
LsSuccess success = 1;
|
|
LsError error = 2;
|
|
LsRejected rejected = 3;
|
|
LsTimeout timeout = 4;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.LsSuccess (var: a)
|
|
message LsSuccess {
|
|
LsDirectoryTreeNode directory_tree_root = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.LsTimeout (var: d)
|
|
message LsTimeout {
|
|
LsDirectoryTreeNode directory_tree_root = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.LsToolCall (var: z)
|
|
message LsToolCall {
|
|
LsArgs args = 1;
|
|
LsResult result = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.MatchedInstalledPlugin (var: U)
|
|
message MatchedInstalledPlugin {
|
|
string display_name = 1;
|
|
string description = 2;
|
|
string matched_keyword = 3;
|
|
repeated RecentlyAddedPlugin.CapabilityDescriptor skills = 4;
|
|
repeated RecentlyAddedPlugin.CapabilityDescriptor subagents = 5;
|
|
repeated RecentlyAddedPlugin.CapabilityDescriptor hooks = 6;
|
|
repeated RecentlyAddedPlugin.CapabilityDescriptor rules = 7;
|
|
repeated RecentlyAddedPlugin.CapabilityDescriptor commands = 8;
|
|
repeated string mcp_servers = 9;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.McpAllowlistPrecheckArgs (var: ee)
|
|
message McpAllowlistPrecheckArgs {
|
|
string provider_identifier = 1;
|
|
string tool_name = 2;
|
|
optional string tool_call_id = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.McpAllowlistPrecheckResult (var: te)
|
|
message McpAllowlistPrecheckResult {
|
|
bool allowlisted = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.McpApproved (var: l)
|
|
message McpApproved {
|
|
}
|
|
|
|
// Copied from: local:agent.v1.McpArgs (var: i)
|
|
message McpArgs {
|
|
string name = 1;
|
|
map<string, google.protobuf.Value> args = 2;
|
|
string tool_call_id = 3;
|
|
string provider_identifier = 4;
|
|
string tool_name = 5;
|
|
optional SmartModeApproval smart_mode_approval = 6;
|
|
bool smart_mode_approval_only = 7;
|
|
bool skip_approval = 8;
|
|
string server_identifier = 9;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.McpAuthArgs (var: an)
|
|
message McpAuthArgs {
|
|
string server_identifier = 1;
|
|
string tool_call_id = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.McpAuthError (var: mn)
|
|
message McpAuthError {
|
|
string error = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.McpAuthRejected (var: cn)
|
|
message McpAuthRejected {
|
|
string reason = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.McpAuthRequestQuery (var: pn)
|
|
message McpAuthRequestQuery {
|
|
McpAuthArgs args = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.McpAuthRequestResponse (var: fn)
|
|
message McpAuthRequestResponse {
|
|
// Copied from: local:agent.v1.McpAuthRequestResponse.Approved (var: gn)
|
|
message Approved {
|
|
}
|
|
|
|
// Copied from: local:agent.v1.McpAuthRequestResponse.Rejected (var: hn)
|
|
message Rejected {
|
|
string reason = 1;
|
|
}
|
|
|
|
oneof result {
|
|
Approved approved = 1;
|
|
Rejected rejected = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.McpAuthResult (var: ln)
|
|
message McpAuthResult {
|
|
oneof result {
|
|
McpAuthSuccess success = 1;
|
|
McpAuthError error = 2;
|
|
McpAuthRejected rejected = 3;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.McpAuthSuccess (var: un)
|
|
message McpAuthSuccess {
|
|
string server_identifier = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.McpAuthToolCall (var: dn)
|
|
message McpAuthToolCall {
|
|
McpAuthArgs args = 1;
|
|
McpAuthResult result = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.McpDescriptor (var: a)
|
|
message McpDescriptor {
|
|
string server_name = 1;
|
|
string server_identifier = 2;
|
|
optional string folder_path = 3;
|
|
optional string server_use_instructions = 4;
|
|
repeated McpToolDescriptor tools = 5;
|
|
optional string plugin = 7;
|
|
optional string marketplace = 8;
|
|
optional string plugin_db_id = 9;
|
|
optional string marketplace_id = 10;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.McpError (var: g)
|
|
message McpError {
|
|
string error = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.McpFileSystemOptions (var: u)
|
|
message McpFileSystemOptions {
|
|
bool enabled = 1;
|
|
string workspace_project_dir = 2;
|
|
repeated McpDescriptor mcp_descriptors = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.McpImageContent (var: d)
|
|
message McpImageContent {
|
|
bytes data = 1;
|
|
string mime_type = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.McpInstructions (var: i)
|
|
message McpInstructions {
|
|
string server_name = 1;
|
|
string instructions = 2;
|
|
string server_identifier = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.McpMetaToolOptions (var: m)
|
|
message McpMetaToolOptions {
|
|
bool enabled = 1;
|
|
repeated McpDescriptor mcp_descriptors = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.McpPermissionDenied (var: A)
|
|
message McpPermissionDenied {
|
|
string error = 1;
|
|
bool is_readonly = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.McpRejected (var: h)
|
|
message McpRejected {
|
|
string reason = 1;
|
|
bool is_readonly = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.McpResult (var: a)
|
|
message McpResult {
|
|
oneof result {
|
|
McpSuccess success = 1;
|
|
McpError error = 2;
|
|
McpRejected rejected = 3;
|
|
McpPermissionDenied permission_denied = 4;
|
|
McpToolNotFound tool_not_found = 5;
|
|
McpServerNotFound server_not_found = 6;
|
|
McpApproved approved = 7;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.McpServerNotFound (var: m)
|
|
message McpServerNotFound {
|
|
string name = 1;
|
|
repeated string available_servers = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.McpStateError (var: w)
|
|
message McpStateError {
|
|
string error = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.McpStateExecArgs (var: _)
|
|
message McpStateExecArgs {
|
|
repeated string server_identifiers = 1;
|
|
bool kick_only = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.McpStateExecResult (var: T)
|
|
message McpStateExecResult {
|
|
oneof result {
|
|
McpStateSuccess success = 1;
|
|
McpStateError error = 2;
|
|
McpStateRejected rejected = 3;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.McpStateRejected (var: E)
|
|
message McpStateRejected {
|
|
string reason = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.McpStateServer (var: y)
|
|
message McpStateServer {
|
|
string server_name = 1;
|
|
string server_identifier = 2;
|
|
optional string plugin = 3;
|
|
optional string marketplace = 4;
|
|
repeated McpToolDefinition tools = 5;
|
|
repeated McpInstructions instructions = 6;
|
|
optional string status = 7;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.McpStateSuccess (var: k)
|
|
message McpStateSuccess {
|
|
repeated McpStateServer servers = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.McpSuccess (var: f)
|
|
message McpSuccess {
|
|
repeated McpToolResultContentItem content = 1;
|
|
bool is_error = 2;
|
|
google.protobuf.Struct structured_content = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.McpTextContent (var: c)
|
|
message McpTextContent {
|
|
string text = 1;
|
|
optional OutputLocation output_location = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.McpToolCall (var: ue)
|
|
message McpToolCall {
|
|
McpArgs args = 1;
|
|
McpToolResult result = 2;
|
|
optional string description = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.McpToolDefinition (var: s)
|
|
message McpToolDefinition {
|
|
string name = 1;
|
|
string provider_identifier = 4;
|
|
string tool_name = 5;
|
|
string description = 2;
|
|
google.protobuf.Value input_schema = 3;
|
|
optional string input_schema_json = 6;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.McpToolDescriptor (var: l)
|
|
message McpToolDescriptor {
|
|
string tool_name = 1;
|
|
optional string definition_path = 2;
|
|
optional string description = 3;
|
|
optional google.protobuf.Value input_schema = 4;
|
|
optional string input_schema_json = 5;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.McpToolError (var: ae)
|
|
message McpToolError {
|
|
string error = 1;
|
|
string read_tool_def_reminder = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.McpToolNotFound (var: u)
|
|
message McpToolNotFound {
|
|
string name = 1;
|
|
repeated string available_tools = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.McpToolResult (var: le)
|
|
message McpToolResult {
|
|
oneof result {
|
|
McpSuccess success = 1;
|
|
McpToolError error = 2;
|
|
McpRejected rejected = 3;
|
|
McpPermissionDenied permission_denied = 4;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.McpToolResultContentItem (var: p)
|
|
message McpToolResultContentItem {
|
|
oneof content {
|
|
McpTextContent text = 1;
|
|
McpImageContent image = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.McpTools (var: o)
|
|
message McpTools {
|
|
repeated McpToolDefinition mcp_tools = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ModelDetails (var: ca)
|
|
message ModelDetails {
|
|
string model_id = 1;
|
|
string display_model_id = 3;
|
|
string display_name = 4;
|
|
string display_name_short = 5;
|
|
repeated string aliases = 6;
|
|
optional ThinkingDetails thinking_details = 2;
|
|
optional bool max_mode = 7;
|
|
oneof credentials {
|
|
ApiKeyCredentials api_key_credentials = 8;
|
|
AzureCredentials azure_credentials = 9;
|
|
BedrockCredentials bedrock_credentials = 10;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.MountedAgentStore (var: E)
|
|
message MountedAgentStore {
|
|
string path = 1;
|
|
MountedAgentStoreKind kind = 2;
|
|
optional string alias = 3;
|
|
bool read_only = 4;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.MountedAgentStoreKind (var: u)
|
|
enum MountedAgentStoreKind {
|
|
MOUNTED_AGENT_STORE_KIND_UNSPECIFIED = 0;
|
|
MOUNTED_AGENT_STORE_KIND_SELF = 1;
|
|
MOUNTED_AGENT_STORE_KIND_PEER = 2;
|
|
MOUNTED_AGENT_STORE_KIND_SHARE = 3;
|
|
MOUNTED_AGENT_STORE_KIND_PRINCIPAL = 4;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.MouseButton (var: r)
|
|
enum MouseButton {
|
|
MOUSE_BUTTON_UNSPECIFIED = 0;
|
|
MOUSE_BUTTON_LEFT = 1;
|
|
MOUSE_BUTTON_RIGHT = 2;
|
|
MOUSE_BUTTON_MIDDLE = 3;
|
|
MOUSE_BUTTON_BACK = 4;
|
|
MOUSE_BUTTON_FORWARD = 5;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.MouseDownAction (var: c)
|
|
message MouseDownAction {
|
|
MouseButton button = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.MouseMoveAction (var: u)
|
|
message MouseMoveAction {
|
|
Coordinate coordinate = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.MouseUpAction (var: d)
|
|
message MouseUpAction {
|
|
MouseButton button = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.NameAgentRequest (var: w)
|
|
message NameAgentRequest {
|
|
string user_message = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.NameAgentResponse (var: E)
|
|
message NameAgentResponse {
|
|
string name = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.NetworkPolicy (var: l)
|
|
message NetworkPolicy {
|
|
// Copied from: local:agent.v1.NetworkPolicy.DefaultAction (var: r)
|
|
enum DefaultAction {
|
|
DEFAULT_ACTION_UNSPECIFIED = 0;
|
|
DEFAULT_ACTION_ALLOW = 1;
|
|
DEFAULT_ACTION_DENY = 2;
|
|
}
|
|
|
|
optional uint32 version = 1;
|
|
optional DefaultAction default_action = 2;
|
|
repeated string deny = 3;
|
|
repeated string allow = 4;
|
|
optional NetworkPolicyLoggingConfig logging = 5;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.NetworkPolicyLoggingConfig (var: a)
|
|
message NetworkPolicyLoggingConfig {
|
|
optional string decision_log_path = 1;
|
|
optional string log_format = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.NewChatNudge (var: X)
|
|
message NewChatNudge {
|
|
string nudge_id = 1;
|
|
string target_model = 2;
|
|
string experiment_name = 3;
|
|
oneof variant {
|
|
NudgeBumpVariant bump = 4;
|
|
NudgeAskVariant ask = 5;
|
|
NudgeSilentSwitchVariant silent_switch = 6;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.NewChatNudgeV2 (var: ee)
|
|
message NewChatNudgeV2 {
|
|
string nudge_id = 1;
|
|
RequestedModel target_model = 2;
|
|
string experiment_name = 3;
|
|
oneof variant {
|
|
NudgeBumpVariant bump = 4;
|
|
NudgeAskVariant ask = 5;
|
|
NudgeSilentSwitchVariant silent_switch = 6;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.NewCloudVmTarget (var: ao)
|
|
message NewCloudVmTarget {
|
|
optional string environment_build_id = 1;
|
|
optional string base_branch = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.NotifyConversationCloneRequest (var: H)
|
|
message NotifyConversationCloneRequest {
|
|
string conversation_id = 1;
|
|
string source_conversation_id = 2;
|
|
string source_request_id = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.NotifyConversationCloneResponse (var: V)
|
|
message NotifyConversationCloneResponse {
|
|
}
|
|
|
|
// Copied from: local:agent.v1.NudgeAskVariant (var: z)
|
|
message NudgeAskVariant {
|
|
string popup_message = 1;
|
|
string accept_label = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.NudgeBumpVariant (var: W)
|
|
message NudgeBumpVariant {
|
|
string banner_message = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.NudgeSilentSwitchVariant (var: j)
|
|
message NudgeSilentSwitchVariant {
|
|
}
|
|
|
|
// Copied from: local:agent.v1.OutputLocation (var: i)
|
|
message OutputLocation {
|
|
string file_path = 1;
|
|
int64 size_bytes = 2;
|
|
int64 line_count = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PackageType (var: r)
|
|
enum PackageType {
|
|
PACKAGE_TYPE_UNSPECIFIED = 0;
|
|
PACKAGE_TYPE_CURSOR_PROJECT = 1;
|
|
PACKAGE_TYPE_CURSOR_PERSONAL = 2;
|
|
PACKAGE_TYPE_CLAUDE_SKILL = 3;
|
|
PACKAGE_TYPE_CLAUDE_PLUGIN = 4;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PartialToolCallUpdate (var: ka)
|
|
message PartialToolCallUpdate {
|
|
string call_id = 1;
|
|
ToolCall tool_call = 2;
|
|
string args_text_delta = 3;
|
|
string model_call_id = 4;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PermissionsAutoRunInstructions (var: C)
|
|
message PermissionsAutoRunInstructions {
|
|
repeated string allow_instructions = 1;
|
|
repeated string block_instructions = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.Phase (var: Ae)
|
|
message Phase {
|
|
string name = 1;
|
|
repeated TodoItem todos = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiBashExecArgs (var: me)
|
|
message PiBashExecArgs {
|
|
string command = 1;
|
|
optional double timeout = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiBashExecError (var: pe)
|
|
message PiBashExecError {
|
|
string error = 1;
|
|
optional PiTruncation truncation = 2;
|
|
optional string full_output_path = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiBashExecResult (var: ce)
|
|
message PiBashExecResult {
|
|
oneof result {
|
|
PiBashExecSuccess success = 1;
|
|
PiBashExecError error = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiBashExecSuccess (var: de)
|
|
message PiBashExecSuccess {
|
|
string output = 1;
|
|
optional PiTruncation truncation = 2;
|
|
optional string full_output_path = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiBashToolArgs (var: Hr)
|
|
message PiBashToolArgs {
|
|
string command = 1;
|
|
optional double timeout = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiBashToolCall (var: Gr)
|
|
message PiBashToolCall {
|
|
PiBashToolArgs args = 1;
|
|
PiBashToolResult result = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiBashToolError (var: Kr)
|
|
message PiBashToolError {
|
|
string error = 1;
|
|
optional PiTruncation truncation = 2;
|
|
optional string full_output_path = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiBashToolResult (var: Vr)
|
|
message PiBashToolResult {
|
|
oneof result {
|
|
PiBashToolSuccess success = 1;
|
|
PiBashToolError error = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiBashToolSuccess (var: Yr)
|
|
message PiBashToolSuccess {
|
|
string output = 1;
|
|
optional PiTruncation truncation = 2;
|
|
optional string full_output_path = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiEditExecArgs (var: ge)
|
|
message PiEditExecArgs {
|
|
string path = 1;
|
|
repeated PiEditReplacement edits = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiEditExecError (var: _e)
|
|
message PiEditExecError {
|
|
string error = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiEditExecRejected (var: Te)
|
|
message PiEditExecRejected {
|
|
string reason = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiEditExecResult (var: he)
|
|
message PiEditExecResult {
|
|
oneof result {
|
|
PiEditExecSuccess success = 1;
|
|
PiEditExecError error = 2;
|
|
PiEditExecRejected rejected = 3;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiEditExecSuccess (var: Ae)
|
|
message PiEditExecSuccess {
|
|
string output = 1;
|
|
string diff = 2;
|
|
string patch = 3;
|
|
optional uint32 first_changed_line = 4;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiEditReplacement (var: s)
|
|
message PiEditReplacement {
|
|
string old_text = 1;
|
|
string new_text = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiEditToolArgs (var: i)
|
|
message PiEditToolArgs {
|
|
string path = 1;
|
|
repeated PiEditReplacement edits = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiEditToolCall (var: o)
|
|
message PiEditToolCall {
|
|
PiEditToolArgs args = 1;
|
|
PiEditToolResult result = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiEditToolError (var: u)
|
|
message PiEditToolError {
|
|
string error = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiEditToolRejected (var: m)
|
|
message PiEditToolRejected {
|
|
string reason = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiEditToolResult (var: a)
|
|
message PiEditToolResult {
|
|
oneof result {
|
|
PiEditToolSuccess success = 1;
|
|
PiEditToolError error = 2;
|
|
PiEditToolRejected rejected = 3;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiEditToolSuccess (var: l)
|
|
message PiEditToolSuccess {
|
|
string output = 1;
|
|
string diff = 2;
|
|
string patch = 3;
|
|
optional uint32 first_changed_line = 4;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiFindExecArgs (var: Ce)
|
|
message PiFindExecArgs {
|
|
string pattern = 1;
|
|
optional string path = 2;
|
|
optional int32 limit = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiFindExecError (var: Pe)
|
|
message PiFindExecError {
|
|
string error = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiFindExecResult (var: Ne)
|
|
message PiFindExecResult {
|
|
oneof result {
|
|
PiFindExecSuccess success = 1;
|
|
PiFindExecError error = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiFindExecSuccess (var: Re)
|
|
message PiFindExecSuccess {
|
|
string output = 1;
|
|
optional PiTruncation truncation = 2;
|
|
optional uint32 result_limit_reached = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiFindToolArgs (var: as)
|
|
message PiFindToolArgs {
|
|
string pattern = 1;
|
|
optional string path = 2;
|
|
optional int32 limit = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiFindToolCall (var: is)
|
|
message PiFindToolCall {
|
|
PiFindToolArgs args = 1;
|
|
PiFindToolResult result = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiFindToolError (var: ms)
|
|
message PiFindToolError {
|
|
string error = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiFindToolResult (var: ls)
|
|
message PiFindToolResult {
|
|
oneof result {
|
|
PiFindToolSuccess success = 1;
|
|
PiFindToolError error = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiFindToolSuccess (var: us)
|
|
message PiFindToolSuccess {
|
|
string output = 1;
|
|
optional PiTruncation truncation = 2;
|
|
optional uint32 result_limit_reached = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiGrepExecArgs (var: Ie)
|
|
message PiGrepExecArgs {
|
|
string pattern = 1;
|
|
optional string path = 2;
|
|
optional string glob = 3;
|
|
optional bool ignore_case = 4;
|
|
optional bool literal = 5;
|
|
optional int32 context = 6;
|
|
optional int32 limit = 7;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiGrepExecError (var: Je)
|
|
message PiGrepExecError {
|
|
string error = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiGrepExecResult (var: ve)
|
|
message PiGrepExecResult {
|
|
oneof result {
|
|
PiGrepExecSuccess success = 1;
|
|
PiGrepExecError error = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiGrepExecSuccess (var: Be)
|
|
message PiGrepExecSuccess {
|
|
string output = 1;
|
|
optional PiTruncation truncation = 2;
|
|
optional uint32 match_limit_reached = 3;
|
|
bool lines_truncated = 4;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiGrepToolArgs (var: ns)
|
|
message PiGrepToolArgs {
|
|
string pattern = 1;
|
|
optional string path = 2;
|
|
optional string glob = 3;
|
|
optional bool ignore_case = 4;
|
|
optional bool literal = 5;
|
|
optional int32 context = 6;
|
|
optional int32 limit = 7;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiGrepToolCall (var: ts)
|
|
message PiGrepToolCall {
|
|
PiGrepToolArgs args = 1;
|
|
PiGrepToolResult result = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiGrepToolError (var: os)
|
|
message PiGrepToolError {
|
|
string error = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiGrepToolResult (var: rs)
|
|
message PiGrepToolResult {
|
|
oneof result {
|
|
PiGrepToolSuccess success = 1;
|
|
PiGrepToolError error = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiGrepToolSuccess (var: ss)
|
|
message PiGrepToolSuccess {
|
|
string output = 1;
|
|
optional PiTruncation truncation = 2;
|
|
optional uint32 match_limit_reached = 3;
|
|
bool lines_truncated = 4;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiLsExecArgs (var: be)
|
|
message PiLsExecArgs {
|
|
optional string path = 1;
|
|
optional int32 limit = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiLsExecError (var: Fe)
|
|
message PiLsExecError {
|
|
string error = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiLsExecResult (var: Me)
|
|
message PiLsExecResult {
|
|
oneof result {
|
|
PiLsExecSuccess success = 1;
|
|
PiLsExecError error = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiLsExecSuccess (var: Le)
|
|
message PiLsExecSuccess {
|
|
string output = 1;
|
|
optional PiTruncation truncation = 2;
|
|
optional uint32 entry_limit_reached = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiLsToolArgs (var: ds)
|
|
message PiLsToolArgs {
|
|
optional string path = 1;
|
|
optional int32 limit = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiLsToolCall (var: cs)
|
|
message PiLsToolCall {
|
|
PiLsToolArgs args = 1;
|
|
PiLsToolResult result = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiLsToolError (var: gs)
|
|
message PiLsToolError {
|
|
string error = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiLsToolResult (var: ps)
|
|
message PiLsToolResult {
|
|
oneof result {
|
|
PiLsToolSuccess success = 1;
|
|
PiLsToolError error = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiLsToolSuccess (var: fs)
|
|
message PiLsToolSuccess {
|
|
string output = 1;
|
|
optional PiTruncation truncation = 2;
|
|
optional uint32 entry_limit_reached = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiReadExecArgs (var: ie)
|
|
message PiReadExecArgs {
|
|
string path = 1;
|
|
optional int32 offset = 2;
|
|
optional int32 limit = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiReadExecError (var: ue)
|
|
message PiReadExecError {
|
|
string error = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiReadExecResult (var: ae)
|
|
message PiReadExecResult {
|
|
oneof result {
|
|
PiReadExecSuccess success = 1;
|
|
PiReadExecError error = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiReadExecSuccess (var: le)
|
|
message PiReadExecSuccess {
|
|
string output = 1;
|
|
optional PiTruncation truncation = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiReadToolArgs (var: Or)
|
|
message PiReadToolArgs {
|
|
string path = 1;
|
|
optional int32 offset = 2;
|
|
optional int32 limit = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiReadToolCall (var: Dr)
|
|
message PiReadToolCall {
|
|
PiReadToolArgs args = 1;
|
|
PiReadToolResult result = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiReadToolError (var: Qr)
|
|
message PiReadToolError {
|
|
string error = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiReadToolResult (var: Ur)
|
|
message PiReadToolResult {
|
|
oneof result {
|
|
PiReadToolSuccess success = 1;
|
|
PiReadToolError error = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiReadToolSuccess (var: xr)
|
|
message PiReadToolSuccess {
|
|
string output = 1;
|
|
optional PiTruncation truncation = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiTruncation (var: s)
|
|
message PiTruncation {
|
|
bool truncated = 1;
|
|
string truncated_by = 2;
|
|
uint32 total_lines = 3;
|
|
uint32 output_lines = 4;
|
|
uint32 output_bytes = 5;
|
|
optional uint32 max_lines = 6;
|
|
optional uint32 max_bytes = 7;
|
|
bool first_line_exceeds_limit = 8;
|
|
bool last_line_partial = 9;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiWriteExecArgs (var: ye)
|
|
message PiWriteExecArgs {
|
|
string path = 1;
|
|
string content = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiWriteExecError (var: Ee)
|
|
message PiWriteExecError {
|
|
string error = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiWriteExecRejected (var: Se)
|
|
message PiWriteExecRejected {
|
|
string reason = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiWriteExecResult (var: ke)
|
|
message PiWriteExecResult {
|
|
oneof result {
|
|
PiWriteExecSuccess success = 1;
|
|
PiWriteExecError error = 2;
|
|
PiWriteExecRejected rejected = 3;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiWriteExecSuccess (var: we)
|
|
message PiWriteExecSuccess {
|
|
string output = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiWriteToolArgs (var: jr)
|
|
message PiWriteToolArgs {
|
|
string path = 1;
|
|
string content = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiWriteToolCall (var: zr)
|
|
message PiWriteToolCall {
|
|
PiWriteToolArgs args = 1;
|
|
PiWriteToolResult result = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiWriteToolError (var: $r)
|
|
message PiWriteToolError {
|
|
string error = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiWriteToolRejected (var: es)
|
|
message PiWriteToolRejected {
|
|
string reason = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiWriteToolResult (var: Xr)
|
|
message PiWriteToolResult {
|
|
oneof result {
|
|
PiWriteToolSuccess success = 1;
|
|
PiWriteToolError error = 2;
|
|
PiWriteToolRejected rejected = 3;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PiWriteToolSuccess (var: Zr)
|
|
message PiWriteToolSuccess {
|
|
string output = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PlanRegistryEntry (var: Fi)
|
|
message PlanRegistryEntry {
|
|
string id = 1;
|
|
string path = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.Position (var: o)
|
|
message Position {
|
|
uint32 line = 1;
|
|
uint32 column = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PostCommentAction (var: Wt)
|
|
message PostCommentAction {
|
|
optional string pr_url = 1;
|
|
optional string branch_name = 2;
|
|
string body = 3;
|
|
optional string repo_url = 4;
|
|
optional int64 in_reply_to = 5;
|
|
optional string path = 6;
|
|
optional int32 line = 7;
|
|
optional int32 start_line = 8;
|
|
optional string side = 9;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PostRequestPromptUpdate (var: Ya)
|
|
message PostRequestPromptUpdate {
|
|
string title = 1;
|
|
string message = 2;
|
|
string button_label = 3;
|
|
string button_url = 4;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PostToolUseFailureRequestQuery (var: hl)
|
|
message PostToolUseFailureRequestQuery {
|
|
string tool_name = 1;
|
|
google.protobuf.Struct tool_input = 2;
|
|
string error_message = 3;
|
|
string failure_type = 4;
|
|
int64 duration_ms = 5;
|
|
string tool_use_id = 6;
|
|
bool is_interrupt = 7;
|
|
optional string conversation_id = 8;
|
|
optional string generation_id = 9;
|
|
optional string model = 10;
|
|
optional string model_id = 11;
|
|
repeated RequestedModel.ModelParameterValue model_params = 12;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PostToolUseFailureRequestResponse (var: Al)
|
|
message PostToolUseFailureRequestResponse {
|
|
optional string additional_context = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PostToolUseRequestQuery (var: fl)
|
|
message PostToolUseRequestQuery {
|
|
string tool_name = 1;
|
|
google.protobuf.Struct tool_input = 2;
|
|
string tool_output = 3;
|
|
int64 duration_ms = 4;
|
|
string tool_use_id = 5;
|
|
optional string cwd = 6;
|
|
optional string conversation_id = 7;
|
|
optional string generation_id = 8;
|
|
optional string model = 9;
|
|
optional string model_id = 10;
|
|
repeated RequestedModel.ModelParameterValue model_params = 11;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PostToolUseRequestResponse (var: gl)
|
|
message PostToolUseRequestResponse {
|
|
optional string additional_context = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PrManagementArgs (var: Vt)
|
|
message PrManagementArgs {
|
|
string tool_call_id = 1;
|
|
oneof action {
|
|
CreatePrAction create_pr = 2;
|
|
UpdatePrAction update_pr = 3;
|
|
PostCommentAction post_comment = 4;
|
|
ResolveCommentAction resolve_comment = 5;
|
|
GetCiStatusAction get_ci_status = 6;
|
|
SetPrStatusAction set_pr_status = 7;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PrManagementError (var: en)
|
|
message PrManagementError {
|
|
string error = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PrManagementNeedsConfirmation (var: rn)
|
|
message PrManagementNeedsConfirmation {
|
|
string message = 1;
|
|
string discovered_pr_url = 2;
|
|
int32 discovered_pr_number = 3;
|
|
string discovered_pr_title = 4;
|
|
string branch_name = 5;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PrManagementRegistered (var: nn)
|
|
message PrManagementRegistered {
|
|
string message = 1;
|
|
string title = 2;
|
|
string body = 3;
|
|
optional string base_branch = 4;
|
|
optional bool draft = 5;
|
|
string branch_name = 6;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PrManagementRejected (var: tn)
|
|
message PrManagementRejected {
|
|
string reason = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PrManagementRequestQuery (var: on)
|
|
message PrManagementRequestQuery {
|
|
PrManagementArgs args = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PrManagementResult (var: Zt)
|
|
message PrManagementResult {
|
|
oneof result {
|
|
PrManagementSuccess success = 1;
|
|
PrManagementError error = 2;
|
|
PrManagementRejected rejected = 3;
|
|
PrManagementRegistered registered = 4;
|
|
PrManagementNeedsConfirmation needs_confirmation = 5;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PrManagementSuccess (var: $t)
|
|
message PrManagementSuccess {
|
|
string pr_url = 1;
|
|
int32 pr_number = 2;
|
|
string message = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PrManagementToolCall (var: sn)
|
|
message PrManagementToolCall {
|
|
PrManagementArgs args = 1;
|
|
PrManagementResult result = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PreCompactRequestQuery (var: Xa)
|
|
message PreCompactRequestQuery {
|
|
string trigger = 1;
|
|
double context_usage_percent = 2;
|
|
int64 context_tokens = 3;
|
|
int64 context_window_size = 4;
|
|
int32 message_count = 5;
|
|
int32 messages_to_compact = 6;
|
|
bool is_first_compaction = 7;
|
|
optional string conversation_id = 8;
|
|
optional string generation_id = 9;
|
|
optional string model = 10;
|
|
optional string model_id = 11;
|
|
repeated RequestedModel.ModelParameterValue model_params = 12;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PreCompactRequestResponse (var: Za)
|
|
message PreCompactRequestResponse {
|
|
optional string user_message = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PreFetchedBlob (var: ga)
|
|
message PreFetchedBlob {
|
|
bytes id = 1;
|
|
bytes value = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PreToolUseRequestQuery (var: dl)
|
|
message PreToolUseRequestQuery {
|
|
string tool_name = 1;
|
|
google.protobuf.Struct tool_input = 2;
|
|
string tool_use_id = 3;
|
|
optional string cwd = 4;
|
|
optional string conversation_id = 5;
|
|
optional string generation_id = 6;
|
|
optional string model = 7;
|
|
optional string model_id = 8;
|
|
repeated RequestedModel.ModelParameterValue model_params = 9;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PreToolUseRequestResponse (var: pl)
|
|
message PreToolUseRequestResponse {
|
|
optional string permission = 1;
|
|
optional string user_message = 2;
|
|
optional string agent_message = 3;
|
|
optional string updated_input = 4;
|
|
optional string additional_context = 5;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PrecomputedHumanChange (var: R)
|
|
message PrecomputedHumanChange {
|
|
string path = 1;
|
|
repeated PrecomputedHumanChangeRenderedDiff rendered_diffs = 2;
|
|
bool is_new_file = 3;
|
|
bool is_deleted_file = 4;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PrecomputedHumanChangeRenderedDiff (var: N)
|
|
message PrecomputedHumanChangeRenderedDiff {
|
|
int32 start_line_number = 1;
|
|
int32 end_line_number_exclusive = 2;
|
|
repeated string before_context_lines = 3;
|
|
repeated string removed_lines = 4;
|
|
repeated string added_lines = 5;
|
|
repeated string after_context_lines = 6;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PreparedTaskSubagent (var: yl)
|
|
message PreparedTaskSubagent {
|
|
string subagent_id = 1;
|
|
string subagent_type_name = 2;
|
|
SubagentType subagent_type = 3;
|
|
string analytics_subagent_type = 4;
|
|
string resolved_model_id = 5;
|
|
bool effective_readonly = 6;
|
|
bool use_ask_mode_for_subagent = 7;
|
|
ConversationStateStructure conversation_state = 8;
|
|
ConversationAction initial_action = 9;
|
|
uint32 initial_turns_count = 10;
|
|
string subagent_request_id = 11;
|
|
string tool_call_id = 12;
|
|
bool is_resume = 13;
|
|
optional string parent_request_id = 14;
|
|
optional string root_parent_request_id = 15;
|
|
string task_prompt = 16;
|
|
string task_description = 17;
|
|
optional SelectedContext selected_context = 18;
|
|
optional string plugin = 19;
|
|
optional string marketplace = 20;
|
|
string parent_model_name = 21;
|
|
TaskToolCallArgsProto raw_args = 22;
|
|
SubagentCredentials subagent_credentials = 23;
|
|
optional string result_suffix = 25;
|
|
bool enable_execute_hook_exec = 26;
|
|
repeated string configured_steps = 27;
|
|
bool readonly_shell_enabled = 28;
|
|
string tool_name = 29;
|
|
optional int64 prepared_timestamp_unix_ms = 30;
|
|
optional string plugin_id = 31;
|
|
optional string marketplace_id = 32;
|
|
optional string subagent_source = 33;
|
|
optional string cloud_subagent_bc_id = 34;
|
|
optional string provider_tool_name = 35;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PrewarmRequest (var: h)
|
|
message PrewarmRequest {
|
|
ModelDetails model_details = 1;
|
|
optional RequestedModel requested_model = 9;
|
|
optional string conversation_id = 2;
|
|
ConversationStateStructure conversation_state = 3;
|
|
McpTools mcp_tools = 4;
|
|
optional McpFileSystemOptions mcp_file_system_options = 5;
|
|
optional string best_of_n_group_id = 6;
|
|
optional bool try_use_best_of_n_promotion = 7;
|
|
optional string custom_system_prompt = 8;
|
|
optional bool suggest_next_prompt = 10;
|
|
optional string subagent_type_name = 11;
|
|
optional bool exclude_workspace_context = 12;
|
|
optional string harness = 13;
|
|
repeated RequestedModel selected_subagent_models = 14;
|
|
repeated ModelDetails selected_subagent_model_details = 15;
|
|
optional string conversation_group_id = 16;
|
|
repeated PreFetchedBlob pre_fetched_blobs = 17;
|
|
optional bool client_supports_inline_images = 18;
|
|
repeated SubagentModelOverride subagent_model_overrides = 19;
|
|
optional bool can_create_cloud_subagents = 20;
|
|
optional bool suppress_subagent_progress_update_tool = 21;
|
|
optional bool client_supports_send_to_user = 22;
|
|
optional string computer_use_coordinate_mode = 23;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ProjectDetails (var: Ii)
|
|
message ProjectDetails {
|
|
optional string name = 1;
|
|
optional ProjectSubagentDetails subagent = 2;
|
|
optional ProjectSideChatDetails side_chat = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ProjectSideChatDetails (var: Bi)
|
|
message ProjectSideChatDetails {
|
|
string store_dir = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ProjectSubagentDetails (var: vi)
|
|
message ProjectSubagentDetails {
|
|
optional string store_dir = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PromptContextNode (var: Wi)
|
|
message PromptContextNode {
|
|
string id = 1;
|
|
optional string parent_id = 2;
|
|
string kind = 3;
|
|
string label = 4;
|
|
string category_id = 5;
|
|
uint32 estimated_tokens = 6;
|
|
uint32 character_count = 7;
|
|
bool content_available = 9;
|
|
optional PromptContextSourceRef source = 11;
|
|
optional string inline_content = 12;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PromptContextSourceRef (var: Ki)
|
|
message PromptContextSourceRef {
|
|
string source_type = 1;
|
|
uint32 message_index = 3;
|
|
string content_path = 4;
|
|
uint32 start_offset = 5;
|
|
uint32 end_offset = 6;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PromptContextUsageTree (var: zi)
|
|
message PromptContextUsageTree {
|
|
uint32 schema_version = 1;
|
|
repeated PromptContextNode nodes = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PromptSuggestionUpdate (var: Ma)
|
|
message PromptSuggestionUpdate {
|
|
string suggestion = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PromptTokenBreakdownCategory (var: Vi)
|
|
message PromptTokenBreakdownCategory {
|
|
string id = 1;
|
|
string label = 2;
|
|
uint32 estimated_tokens = 3;
|
|
optional uint32 character_count = 4;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PromptTokenBreakdownSnapshot (var: Yi)
|
|
message PromptTokenBreakdownSnapshot {
|
|
uint32 total_used_tokens = 1;
|
|
uint32 max_tokens = 2;
|
|
repeated PromptTokenBreakdownCategory categories = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.PullRequestStatus (var: xt)
|
|
enum PullRequestStatus {
|
|
PULL_REQUEST_STATUS_UNSPECIFIED = 0;
|
|
PULL_REQUEST_STATUS_OPEN = 1;
|
|
PULL_REQUEST_STATUS_CLOSED = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.Range (var: s)
|
|
message Range {
|
|
Position start = 1;
|
|
Position end = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ReadArgs (var: f)
|
|
message ReadArgs {
|
|
string path = 1;
|
|
string tool_call_id = 2;
|
|
optional int32 offset = 4;
|
|
optional uint32 limit = 5;
|
|
optional string encoding_hint = 6;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ReadError (var: A)
|
|
message ReadError {
|
|
string path = 1;
|
|
string error = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ReadFileNotFound (var: T)
|
|
message ReadFileNotFound {
|
|
string path = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ReadInvalidFile (var: k)
|
|
message ReadInvalidFile {
|
|
string path = 1;
|
|
string reason = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ReadLintsToolArgs (var: $)
|
|
message ReadLintsToolArgs {
|
|
repeated string paths = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ReadLintsToolCall (var: Z)
|
|
message ReadLintsToolCall {
|
|
ReadLintsToolArgs args = 1;
|
|
ReadLintsToolResult result = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ReadLintsToolError (var: oe)
|
|
message ReadLintsToolError {
|
|
string error_message = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ReadLintsToolResult (var: ee)
|
|
message ReadLintsToolResult {
|
|
oneof result {
|
|
ReadLintsToolSuccess success = 1;
|
|
ReadLintsToolError error = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ReadLintsToolSuccess (var: te)
|
|
message ReadLintsToolSuccess {
|
|
repeated FileDiagnostics file_diagnostics = 1;
|
|
int32 total_files = 2;
|
|
int32 total_diagnostics = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ReadMcpResourceError (var: b)
|
|
message ReadMcpResourceError {
|
|
string uri = 1;
|
|
string error = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ReadMcpResourceExecArgs (var: N)
|
|
message ReadMcpResourceExecArgs {
|
|
string server = 1;
|
|
string uri = 2;
|
|
optional string download_path = 3;
|
|
string tool_call_id = 4;
|
|
optional SmartModeApproval smart_mode_approval = 5;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ReadMcpResourceExecResult (var: R)
|
|
message ReadMcpResourceExecResult {
|
|
oneof result {
|
|
ReadMcpResourceSuccess success = 1;
|
|
ReadMcpResourceError error = 2;
|
|
ReadMcpResourceRejected rejected = 3;
|
|
ReadMcpResourceNotFound not_found = 4;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ReadMcpResourceNotFound (var: L)
|
|
message ReadMcpResourceNotFound {
|
|
string uri = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ReadMcpResourceRejected (var: M)
|
|
message ReadMcpResourceRejected {
|
|
string uri = 1;
|
|
string reason = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ReadMcpResourceSuccess (var: P)
|
|
message ReadMcpResourceSuccess {
|
|
string uri = 1;
|
|
optional string name = 2;
|
|
optional string description = 3;
|
|
optional string mime_type = 4;
|
|
map<string, string> annotations = 7;
|
|
optional string download_path = 8;
|
|
optional OutputLocation output_location = 9;
|
|
oneof content {
|
|
string text = 5;
|
|
bytes blob = 6;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ReadMcpResourceToolCall (var: Fe)
|
|
message ReadMcpResourceToolCall {
|
|
ReadMcpResourceExecArgs args = 1;
|
|
ReadMcpResourceExecResult result = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ReadPermissionDenied (var: y)
|
|
message ReadPermissionDenied {
|
|
string path = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ReadRange (var: S)
|
|
message ReadRange {
|
|
uint32 start_line = 1;
|
|
uint32 end_line = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ReadRejected (var: _)
|
|
message ReadRejected {
|
|
string path = 1;
|
|
string reason = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ReadResult (var: g)
|
|
message ReadResult {
|
|
oneof result {
|
|
ReadSuccess success = 1;
|
|
ReadError error = 2;
|
|
ReadRejected rejected = 3;
|
|
ReadFileNotFound file_not_found = 4;
|
|
ReadPermissionDenied permission_denied = 5;
|
|
ReadInvalidFile invalid_file = 6;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ReadSuccess (var: h)
|
|
message ReadSuccess {
|
|
string path = 1;
|
|
int32 total_lines = 3;
|
|
int64 file_size = 4;
|
|
bool truncated = 6;
|
|
optional bytes output_blob_id = 7;
|
|
bool range_applied = 8;
|
|
oneof output {
|
|
string content = 2;
|
|
bytes data = 5;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ReadTodosArgs (var: M)
|
|
message ReadTodosArgs {
|
|
repeated TodoStatus status_filter = 1;
|
|
repeated string id_filter = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ReadTodosError (var: q)
|
|
message ReadTodosError {
|
|
string error = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ReadTodosResult (var: L)
|
|
message ReadTodosResult {
|
|
oneof result {
|
|
ReadTodosSuccess success = 1;
|
|
ReadTodosError error = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ReadTodosSuccess (var: F)
|
|
message ReadTodosSuccess {
|
|
repeated TodoItem todos = 1;
|
|
int32 total_count = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ReadTodosToolCall (var: b)
|
|
message ReadTodosToolCall {
|
|
ReadTodosArgs args = 1;
|
|
ReadTodosResult result = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ReadToolArgs (var: w)
|
|
message ReadToolArgs {
|
|
string path = 1;
|
|
optional int32 offset = 2;
|
|
optional int32 limit = 3;
|
|
optional bool include_line_numbers = 5;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ReadToolCall (var: k)
|
|
message ReadToolCall {
|
|
ReadToolArgs args = 1;
|
|
ReadToolResult result = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ReadToolError (var: v)
|
|
message ReadToolError {
|
|
string error_message = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ReadToolResult (var: E)
|
|
message ReadToolResult {
|
|
oneof result {
|
|
ReadToolSuccess success = 1;
|
|
ReadToolError error = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ReadToolSuccess (var: I)
|
|
message ReadToolSuccess {
|
|
bool is_empty = 2;
|
|
bool exceeded_limit = 3;
|
|
uint32 total_lines = 4;
|
|
uint32 file_size = 5;
|
|
string path = 7;
|
|
optional ReadRange read_range = 8;
|
|
optional bool include_line_numbers = 11;
|
|
repeated string related_cursor_rule_paths = 12;
|
|
repeated CursorRule related_cursor_rules = 13;
|
|
oneof output {
|
|
string content = 1;
|
|
bytes data = 6;
|
|
bytes data_blob_id = 9;
|
|
bytes content_blob_id = 10;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.RecentAgent (var: M)
|
|
message RecentAgent {
|
|
string name = 1;
|
|
string path = 2;
|
|
optional string overview = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.RecentAgentsContext (var: L)
|
|
message RecentAgentsContext {
|
|
repeated RecentAgent recent_agents = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.RecentlyAddedPlugin (var: D)
|
|
message RecentlyAddedPlugin {
|
|
// Copied from: local:agent.v1.RecentlyAddedPlugin.CapabilityDescriptor (var: O)
|
|
message CapabilityDescriptor {
|
|
string name = 1;
|
|
string description = 2;
|
|
}
|
|
|
|
string display_name = 1;
|
|
string description = 2;
|
|
repeated CapabilityDescriptor skills = 3;
|
|
repeated CapabilityDescriptor subagents = 4;
|
|
repeated CapabilityDescriptor hooks = 5;
|
|
repeated CapabilityDescriptor rules = 6;
|
|
repeated CapabilityDescriptor commands = 7;
|
|
repeated string mcp_servers = 8;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.RecordCiInvestigationFinding (var: pr)
|
|
message RecordCiInvestigationFinding {
|
|
string check_name = 1;
|
|
optional string details_url = 2;
|
|
string tldr = 3;
|
|
optional string root_cause = 4;
|
|
optional string failing_signal = 5;
|
|
optional string suggested_next_step = 6;
|
|
optional string diff_relation = 7;
|
|
optional string diff_relation_evidence = 8;
|
|
optional string flake_assessment = 9;
|
|
optional string flake_evidence = 10;
|
|
optional bool rerun_available = 11;
|
|
optional string rerun_evidence = 12;
|
|
optional string recommended_action = 13;
|
|
optional string recommended_action_evidence = 14;
|
|
optional string confidence = 15;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.RecordCiInvestigationFindingsArgs (var: gr)
|
|
message RecordCiInvestigationFindingsArgs {
|
|
repeated RecordCiInvestigationFinding findings = 1;
|
|
optional RecordCiInvestigationOverall overall = 2;
|
|
string tool_call_id = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.RecordCiInvestigationFindingsError (var: Ar)
|
|
message RecordCiInvestigationFindingsError {
|
|
string error = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.RecordCiInvestigationFindingsResult (var: _r)
|
|
message RecordCiInvestigationFindingsResult {
|
|
oneof result {
|
|
RecordCiInvestigationFindingsSuccess success = 1;
|
|
RecordCiInvestigationFindingsError error = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.RecordCiInvestigationFindingsSuccess (var: hr)
|
|
message RecordCiInvestigationFindingsSuccess {
|
|
string message = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.RecordCiInvestigationFindingsToolCall (var: Tr)
|
|
message RecordCiInvestigationFindingsToolCall {
|
|
RecordCiInvestigationFindingsArgs args = 1;
|
|
RecordCiInvestigationFindingsResult result = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.RecordCiInvestigationOverall (var: fr)
|
|
message RecordCiInvestigationOverall {
|
|
string summary = 1;
|
|
repeated string themes = 2;
|
|
optional string recommended_action = 3;
|
|
optional string recommended_action_evidence = 4;
|
|
repeated string check_keys = 5;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.RecordScreenArgs (var: i)
|
|
message RecordScreenArgs {
|
|
RecordingMode mode = 1;
|
|
string tool_call_id = 2;
|
|
optional string save_as_filename = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.RecordScreenDiscardSuccess (var: m)
|
|
message RecordScreenDiscardSuccess {
|
|
}
|
|
|
|
// Copied from: local:agent.v1.RecordScreenFailure (var: c)
|
|
message RecordScreenFailure {
|
|
string error = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.RecordScreenResult (var: a)
|
|
message RecordScreenResult {
|
|
oneof result {
|
|
RecordScreenStartSuccess start_success = 1;
|
|
RecordScreenSaveSuccess save_success = 2;
|
|
RecordScreenDiscardSuccess discard_success = 3;
|
|
RecordScreenFailure failure = 4;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.RecordScreenSaveSuccess (var: u)
|
|
message RecordScreenSaveSuccess {
|
|
string path = 1;
|
|
int64 recording_duration_ms = 2;
|
|
optional RequestedFilePathRejectedReason requested_file_path_rejected_reason = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.RecordScreenStartSuccess (var: l)
|
|
message RecordScreenStartSuccess {
|
|
bool was_prior_recording_cancelled = 1;
|
|
bool was_save_as_filename_ignored = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.RecordScreenToolCall (var: lt)
|
|
message RecordScreenToolCall {
|
|
RecordScreenArgs args = 1;
|
|
RecordScreenResult result = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.RecordingMode (var: r)
|
|
enum RecordingMode {
|
|
RECORDING_MODE_UNSPECIFIED = 0;
|
|
RECORDING_MODE_START_RECORDING = 1;
|
|
RECORDING_MODE_SAVE_RECORDING = 2;
|
|
RECORDING_MODE_DISCARD_RECORDING = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ReflectArgs (var: dt)
|
|
message ReflectArgs {
|
|
string unexpected_action_outcomes = 1;
|
|
string relevant_instructions = 2;
|
|
string scenario_analysis = 3;
|
|
string critical_synthesis = 4;
|
|
string next_steps = 5;
|
|
string tool_call_id = 6;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ReflectError (var: gt)
|
|
message ReflectError {
|
|
string error = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ReflectResult (var: pt)
|
|
message ReflectResult {
|
|
oneof result {
|
|
ReflectSuccess success = 1;
|
|
ReflectError error = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ReflectSuccess (var: ft)
|
|
message ReflectSuccess {
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ReflectToolCall (var: ht)
|
|
message ReflectToolCall {
|
|
ReflectArgs args = 1;
|
|
ReflectResult result = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ReplaceEnvArgs (var: nr)
|
|
message ReplaceEnvArgs {
|
|
ReplaceEnvConfig config = 1;
|
|
ReplaceEnvMode mode = 2;
|
|
repeated RepoCheckoutRefOverride checkout_ref_overrides = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ReplaceEnvConfig (var: tr)
|
|
message ReplaceEnvConfig {
|
|
string install_script = 1;
|
|
string dockerfile_contents = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ReplaceEnvFailure (var: sr)
|
|
message ReplaceEnvFailure {
|
|
string error_message = 1;
|
|
string setup_logs = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ReplaceEnvMode (var: Qt)
|
|
enum ReplaceEnvMode {
|
|
REPLACE_ENV_MODE_UNSPECIFIED = 0;
|
|
REPLACE_ENV_MODE_CUSTOM = 1;
|
|
REPLACE_ENV_MODE_CLEAN_SLATE = 2;
|
|
REPLACE_ENV_MODE_DEFAULT = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ReplaceEnvResult (var: or)
|
|
message ReplaceEnvResult {
|
|
oneof result {
|
|
ReplaceEnvSuccess success = 1;
|
|
ReplaceEnvFailure failure = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ReplaceEnvSuccess (var: rr)
|
|
message ReplaceEnvSuccess {
|
|
string setup_logs = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ReplaceEnvToolCall (var: ir)
|
|
message ReplaceEnvToolCall {
|
|
ReplaceEnvArgs args = 1;
|
|
ReplaceEnvResult result = 2;
|
|
string associated_pod_key = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ReplaceEnvToolCallDelta (var: ar)
|
|
message ReplaceEnvToolCallDelta {
|
|
string associated_pod_key = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.RepoCheckoutRefOverride (var: er)
|
|
message RepoCheckoutRefOverride {
|
|
string repo_url = 1;
|
|
string ref = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ReportBugArgs (var: Mn)
|
|
message ReportBugArgs {
|
|
string title = 1;
|
|
string file = 2;
|
|
int32 start_line = 3;
|
|
int32 end_line = 4;
|
|
string description = 5;
|
|
string severity = 6;
|
|
string category = 7;
|
|
string rationale = 8;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ReportBugError (var: Fn)
|
|
message ReportBugError {
|
|
string error_message = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ReportBugResult (var: qn)
|
|
message ReportBugResult {
|
|
oneof result {
|
|
ReportBugSuccess success = 1;
|
|
ReportBugError error = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ReportBugSuccess (var: Ln)
|
|
message ReportBugSuccess {
|
|
string output = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ReportBugToolCall (var: Dn)
|
|
message ReportBugToolCall {
|
|
ReportBugArgs args = 1;
|
|
ReportBugResult result = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ReportBugfixResultsArgs (var: i)
|
|
message ReportBugfixResultsArgs {
|
|
string summary = 1;
|
|
repeated BugfixResultItem results = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ReportBugfixResultsError (var: l)
|
|
message ReportBugfixResultsError {
|
|
string error = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ReportBugfixResultsResult (var: u)
|
|
message ReportBugfixResultsResult {
|
|
oneof result {
|
|
ReportBugfixResultsSuccess success = 1;
|
|
ReportBugfixResultsError error = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ReportBugfixResultsSuccess (var: a)
|
|
message ReportBugfixResultsSuccess {
|
|
repeated BugfixResultItem results = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ReportBugfixResultsToolCall (var: m)
|
|
message ReportBugfixResultsToolCall {
|
|
ReportBugfixResultsArgs args = 1;
|
|
ReportBugfixResultsResult result = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.RepositoryIndexingInfo (var: l)
|
|
message RepositoryIndexingInfo {
|
|
string relative_workspace_path = 1;
|
|
repeated string remote_urls = 2;
|
|
repeated string remote_names = 3;
|
|
string repo_name = 4;
|
|
string repo_owner = 5;
|
|
bool is_tracked = 6;
|
|
bool is_local = 7;
|
|
optional double orthogonal_transform_seed = 8;
|
|
string workspace_uri = 9;
|
|
string path_encryption_key = 10;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.RequestContext (var: P)
|
|
message RequestContext {
|
|
repeated CursorRule rules = 2;
|
|
RequestContextEnv env = 4;
|
|
repeated RepositoryIndexingInfo repository_info = 6;
|
|
repeated McpToolDefinition tools = 7;
|
|
optional string conversation_notes_listing = 8;
|
|
optional string shared_notes_listing = 9;
|
|
repeated GitRepoInfo git_repos = 11;
|
|
repeated LsDirectoryTreeNode project_layouts = 13;
|
|
repeated McpInstructions mcp_instructions = 14;
|
|
optional DebugModeConfig debug_mode_config = 15;
|
|
optional string cloud_rule = 16;
|
|
optional bool web_search_enabled = 17;
|
|
optional SkillOptions skill_options = 18;
|
|
optional bool repository_info_should_query_prod = 19;
|
|
map<string, string> file_contents = 20;
|
|
optional string user_intent_summary = 21;
|
|
repeated CustomSubagent custom_subagents = 22;
|
|
optional McpFileSystemOptions mcp_file_system_options = 23;
|
|
optional bool web_fetch_enabled = 24;
|
|
optional string hooks_additional_context = 25;
|
|
optional string commit_attribution_message = 26;
|
|
optional string pr_attribution_message = 27;
|
|
optional HooksConfigInfo hooks_config = 28;
|
|
repeated AgentSkill agent_skills = 29;
|
|
repeated PrecomputedHumanChange precomputed_human_changes = 30;
|
|
optional RecentlyAddedPlugin recently_added_plugin = 31;
|
|
optional bool supports_mcp_auth = 32;
|
|
optional bool git_repo_info_complete = 33;
|
|
optional McpMetaToolOptions mcp_meta_tool_options = 34;
|
|
optional bool read_lints_enabled = 35;
|
|
optional bool mcp_info_complete = 36;
|
|
repeated CursorRule non_file_rules = 37;
|
|
optional MatchedInstalledPlugin matched_installed_plugin = 38;
|
|
optional bool rules_info_complete = 39;
|
|
optional bool env_info_complete = 40;
|
|
optional bool repository_info_complete = 41;
|
|
optional bool custom_subagents_info_complete = 42;
|
|
optional bool agent_skills_info_complete = 43;
|
|
optional bool mcp_file_system_info_complete = 44;
|
|
optional bool git_status_info_complete = 45;
|
|
optional PermissionsAutoRunInstructions user_permissions_auto_run = 46;
|
|
optional PermissionsAutoRunInstructions project_permissions_auto_run = 47;
|
|
optional PermissionsAutoRunInstructions admin_permissions_auto_run = 48;
|
|
repeated string disabled_team_rules = 49;
|
|
optional bool search_conversations_enabled = 50;
|
|
optional bool send_message_enabled = 51;
|
|
repeated string admin_command_denylist = 52;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.RequestContextArgs (var: f)
|
|
message RequestContextArgs {
|
|
optional string notes_session_id = 2;
|
|
optional string workspace_id = 3;
|
|
optional string read_only_pinned_tree_sha = 4;
|
|
optional string read_only_plugin_cache_root = 5;
|
|
optional bool use_cached = 7;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.RequestContextEnv (var: w)
|
|
message RequestContextEnv {
|
|
string os_version = 1;
|
|
repeated string workspace_paths = 2;
|
|
string shell = 3;
|
|
bool sandbox_enabled = 5;
|
|
string terminals_folder = 7;
|
|
string agent_shared_notes_folder = 8;
|
|
string agent_conversation_notes_folder = 9;
|
|
string time_zone = 10;
|
|
string project_folder = 11;
|
|
string agent_transcripts_folder = 12;
|
|
optional string artifacts_folder = 13;
|
|
optional bool sandbox_supported = 14;
|
|
optional bool sandbox_network_has_defaults = 16;
|
|
repeated string sandbox_network_explicit_allowlist = 17;
|
|
optional bool secret_redaction_enabled = 18;
|
|
optional bool computer_use_supported = 19;
|
|
optional bool is_working_dir_home_dir = 20;
|
|
optional string process_working_directory = 21;
|
|
optional bool smart_mode_classifier_auto_mode_enabled = 22;
|
|
optional string dev_force_next_smart_mode_classifier_block_token = 23;
|
|
optional string dev_delay_next_smart_mode_classifier_token = 24;
|
|
repeated MountedAgentStore mounted_agent_stores = 25;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.RequestContextError (var: A)
|
|
message RequestContextError {
|
|
string error = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.RequestContextMcpsPart (var: F)
|
|
message RequestContextMcpsPart {
|
|
repeated McpToolDefinition tools = 1;
|
|
repeated McpInstructions mcp_instructions = 2;
|
|
optional McpFileSystemOptions mcp_file_system_options = 3;
|
|
optional McpMetaToolOptions mcp_meta_tool_options = 4;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.RequestContextPartReferences (var: q)
|
|
message RequestContextPartReferences {
|
|
bytes rules_blob_id = 1;
|
|
uint32 rules_byte_length = 2;
|
|
bytes skills_blob_id = 3;
|
|
uint32 skills_byte_length = 4;
|
|
bytes subagents_blob_id = 5;
|
|
uint32 subagents_byte_length = 6;
|
|
bytes mcps_blob_id = 7;
|
|
uint32 mcps_byte_length = 8;
|
|
RequestContext dynamic_context = 9;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.RequestContextRejected (var: _)
|
|
message RequestContextRejected {
|
|
string reason = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.RequestContextResult (var: g)
|
|
message RequestContextResult {
|
|
oneof result {
|
|
RequestContextSuccess success = 1;
|
|
RequestContextError error = 2;
|
|
RequestContextRejected rejected = 3;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.RequestContextRulesPart (var: b)
|
|
message RequestContextRulesPart {
|
|
repeated CursorRule rules = 1;
|
|
repeated CursorRule non_file_rules = 2;
|
|
optional string cloud_rule = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.RequestContextSkillsPart (var: M)
|
|
message RequestContextSkillsPart {
|
|
repeated AgentSkill agent_skills = 1;
|
|
optional SkillOptions skill_options = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.RequestContextSubagentsPart (var: L)
|
|
message RequestContextSubagentsPart {
|
|
repeated CustomSubagent custom_subagents = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.RequestContextSuccess (var: h)
|
|
message RequestContextSuccess {
|
|
RequestContext request_context = 1;
|
|
optional bool served_from_disk_cache = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.RequestedFilePathRejectedReason (var: s)
|
|
enum RequestedFilePathRejectedReason {
|
|
REQUESTED_FILE_PATH_REJECTED_REASON_UNSPECIFIED = 0;
|
|
REQUESTED_FILE_PATH_REJECTED_REASON_SLASHES_NOT_ALLOWED = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.RequestedModel (var: da)
|
|
message RequestedModel {
|
|
// Copied from: local:agent.v1.RequestedModel.ModelParameterValue (var: pa)
|
|
message ModelParameterValue {
|
|
string id = 1;
|
|
string value = 2;
|
|
}
|
|
|
|
string model_id = 1;
|
|
bool max_mode = 2;
|
|
repeated ModelParameterValue parameters = 3;
|
|
bool built_in_model = 7;
|
|
bool is_variant_string_representation = 8;
|
|
oneof credentials {
|
|
ApiKeyCredentials api_key_credentials = 4;
|
|
AzureCredentials azure_credentials = 5;
|
|
BedrockCredentials bedrock_credentials = 6;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ResolveCommentAction (var: zt)
|
|
message ResolveCommentAction {
|
|
optional string pr_url = 1;
|
|
optional string branch_name = 2;
|
|
int64 comment_id = 3;
|
|
optional string repo_url = 4;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ResponseComparisonCompleted (var: xa)
|
|
message ResponseComparisonCompleted {
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ResponseComparisonDisplayOrder (var: Zs)
|
|
enum ResponseComparisonDisplayOrder {
|
|
RESPONSE_COMPARISON_DISPLAY_ORDER_UNSPECIFIED = 0;
|
|
RESPONSE_COMPARISON_DISPLAY_ORDER_PARENT_FIRST = 1;
|
|
RESPONSE_COMPARISON_DISPLAY_ORDER_ALTERNATE_FIRST = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ResponseComparisonSkipReason (var: $s)
|
|
enum ResponseComparisonSkipReason {
|
|
RESPONSE_COMPARISON_SKIP_REASON_UNSPECIFIED = 0;
|
|
RESPONSE_COMPARISON_SKIP_REASON_ALTERNATE_TOOL_CALL = 1;
|
|
RESPONSE_COMPARISON_SKIP_REASON_INFERENCE_ERROR = 2;
|
|
RESPONSE_COMPARISON_SKIP_REASON_TIMEOUT = 3;
|
|
RESPONSE_COMPARISON_SKIP_REASON_CANCELLED = 4;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ResponseComparisonSkipped (var: Qa)
|
|
message ResponseComparisonSkipped {
|
|
ResponseComparisonSkipReason reason = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ResponseComparisonStarted (var: Oa)
|
|
message ResponseComparisonStarted {
|
|
ResponseComparisonDisplayOrder display_order = 1;
|
|
string parent_invocation_id = 2;
|
|
string alternate_invocation_id = 3;
|
|
string parent_response = 4;
|
|
string comparison_config_id = 5;
|
|
string alternate_model_id = 6;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ResponseComparisonTextDelta (var: Ua)
|
|
message ResponseComparisonTextDelta {
|
|
string text = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ResponseComparisonUpdate (var: Ga)
|
|
message ResponseComparisonUpdate {
|
|
string comparison_id = 1;
|
|
oneof event {
|
|
ResponseComparisonStarted started = 2;
|
|
ResponseComparisonTextDelta text_delta = 3;
|
|
ResponseComparisonCompleted completed = 4;
|
|
ResponseComparisonSkipped skipped = 5;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ResumeAction (var: Ai)
|
|
message ResumeAction {
|
|
RequestContext request_context = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SameMachineTarget (var: io)
|
|
message SameMachineTarget {
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SandboxPolicy (var: u)
|
|
message SandboxPolicy {
|
|
// Copied from: local:agent.v1.SandboxPolicy.ReadBoundaryMode (var: o)
|
|
enum ReadBoundaryMode {
|
|
READ_BOUNDARY_MODE_UNSPECIFIED = 0;
|
|
READ_BOUNDARY_MODE_SYSTEM = 1;
|
|
READ_BOUNDARY_MODE_WORKSPACE = 2;
|
|
READ_BOUNDARY_MODE_CUSTOM = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SandboxPolicy.Type (var: s)
|
|
enum Type {
|
|
TYPE_UNSPECIFIED = 0;
|
|
TYPE_INSECURE_NONE = 1;
|
|
TYPE_WORKSPACE_READWRITE = 2;
|
|
TYPE_WORKSPACE_READONLY = 3;
|
|
}
|
|
|
|
Type type = 1;
|
|
optional bool network_access = 2;
|
|
repeated string additional_readwrite_paths = 3;
|
|
repeated string additional_readonly_paths = 4;
|
|
optional string debug_output_dir = 5;
|
|
optional bool disable_tmp_write = 7;
|
|
optional bool allowlist_escalated = 8;
|
|
optional bool enable_shared_build_cache = 9;
|
|
optional NetworkPolicy network_policy = 10;
|
|
optional bool network_policy_strict = 11;
|
|
optional bool capture_denies = 12;
|
|
optional bool skip_statsig_defaults = 13;
|
|
ReadBoundaryMode read_boundary = 14;
|
|
repeated string additional_read_paths = 15;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SandboxPolicyMergeSources (var: m)
|
|
message SandboxPolicyMergeSources {
|
|
optional SandboxPolicy per_user = 1;
|
|
optional SandboxPolicy per_repo = 2;
|
|
optional SandboxPolicy team_admin = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ScreenshotAction (var: _)
|
|
message ScreenshotAction {
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ScrollAction (var: f)
|
|
message ScrollAction {
|
|
optional Coordinate coordinate = 1;
|
|
ScrollDirection direction = 2;
|
|
int32 amount = 3;
|
|
optional string modifier_keys = 4;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ScrollDirection (var: s)
|
|
enum ScrollDirection {
|
|
SCROLL_DIRECTION_UNSPECIFIED = 0;
|
|
SCROLL_DIRECTION_UP = 1;
|
|
SCROLL_DIRECTION_DOWN = 2;
|
|
SCROLL_DIRECTION_LEFT = 3;
|
|
SCROLL_DIRECTION_RIGHT = 4;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SearchConversationsToolCall (var: Rs)
|
|
message SearchConversationsToolCall {
|
|
ConversationSearchArgs args = 1;
|
|
ConversationSearchResult result = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SelectedAgenticGitAction (var: j)
|
|
message SelectedAgenticGitAction {
|
|
optional SelectedGitBranchContext branch_context = 5;
|
|
optional string path_to_template_file = 9;
|
|
optional string path_to_template_dir = 10;
|
|
oneof params {
|
|
SelectedAgenticGitActionCommitParams commit_params = 2;
|
|
SelectedAgenticGitActionCommitParams commit_and_push_params = 6;
|
|
SelectedAgenticGitActionPushParams push_params = 3;
|
|
SelectedAgenticGitActionPushParams create_pr_params = 7;
|
|
SelectedAgenticGitActionCommitParams create_pr_with_changes_params = 8;
|
|
SelectedAgenticGitActionFixMergeConflictsParams fix_merge_conflicts_params = 4;
|
|
SelectedAgenticGitActionBabysitPrInCloudParams babysit_pr_in_cloud_params = 11;
|
|
SelectedAgenticGitActionPullLocallyParams apply_locally_params = 14;
|
|
SelectedAgenticGitActionPullLocallyParams checkout_branch_params = 15;
|
|
SelectedAgenticGitActionCommitParams create_branch_and_commit_params = 12;
|
|
SelectedAgenticGitActionCommitParams create_branch_commit_and_push_params = 13;
|
|
SelectedAgenticGitActionUpdateBranchParams update_branch_params = 16;
|
|
SelectedAgenticGitActionCreateBranchParams create_branch_params = 17;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SelectedAgenticGitActionBabysitPrInCloudParams (var: K)
|
|
message SelectedAgenticGitActionBabysitPrInCloudParams {
|
|
optional string base_branch = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SelectedAgenticGitActionCommitParams (var: Q)
|
|
message SelectedAgenticGitActionCommitParams {
|
|
repeated string files_to_commit = 1;
|
|
repeated string files_to_exclude_from_commit = 2;
|
|
bool should_stage_all_changes = 3;
|
|
optional bool create_pr_draft = 4;
|
|
repeated SelectedAgenticGitFileWithStatus files_to_commit_with_status = 5;
|
|
repeated SelectedAgenticGitFileWithStatus files_to_exclude_from_commit_with_status = 6;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SelectedAgenticGitActionCreateBranchParams (var: G)
|
|
message SelectedAgenticGitActionCreateBranchParams {
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SelectedAgenticGitActionFixMergeConflictsParams (var: Y)
|
|
message SelectedAgenticGitActionFixMergeConflictsParams {
|
|
optional string base_branch = 1;
|
|
optional string pr_url = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SelectedAgenticGitActionPullLocallyParams (var: z)
|
|
message SelectedAgenticGitActionPullLocallyParams {
|
|
string remote_branch = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SelectedAgenticGitActionPushParams (var: V)
|
|
message SelectedAgenticGitActionPushParams {
|
|
repeated string files_to_push = 1;
|
|
optional bool create_pr_draft = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SelectedAgenticGitActionUpdateBranchParams (var: W)
|
|
message SelectedAgenticGitActionUpdateBranchParams {
|
|
optional string base_branch = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SelectedAgenticGitFileWithStatus (var: H)
|
|
message SelectedAgenticGitFileWithStatus {
|
|
string path = 1;
|
|
optional string status = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SelectedBrowser (var: x)
|
|
message SelectedBrowser {
|
|
string browser_id = 1;
|
|
string url = 2;
|
|
optional string page_title = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SelectedCodeSelection (var: T)
|
|
message SelectedCodeSelection {
|
|
string content = 1;
|
|
string path = 2;
|
|
optional string relative_path = 3;
|
|
Range range = 4;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SelectedConsoleLog (var: D)
|
|
message SelectedConsoleLog {
|
|
string message = 1;
|
|
double timestamp = 2;
|
|
string level = 3;
|
|
string client_name = 4;
|
|
string session_id = 5;
|
|
optional StackTrace stack_trace = 6;
|
|
optional string object_data_json = 7;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SelectedContext (var: Z)
|
|
message SelectedContext {
|
|
repeated SelectedImage selected_images = 1;
|
|
optional InvocationContext invocation_context = 2;
|
|
repeated string extra_context = 3;
|
|
repeated ExtraContextEntry extra_context_entries = 16;
|
|
repeated SelectedFile files = 4;
|
|
repeated SelectedCodeSelection code_selections = 5;
|
|
repeated SelectedTerminal terminals = 6;
|
|
repeated SelectedTerminalSelection terminal_selections = 7;
|
|
repeated SelectedFolder folders = 8;
|
|
repeated SelectedExternalLink external_links = 9;
|
|
repeated SelectedCursorRule cursor_rules = 10;
|
|
optional SelectedGitDiff git_diff = 18;
|
|
optional SelectedGitDiffFromBranchToMain git_diff_from_branch_to_main = 11;
|
|
repeated SelectedCursorCommand cursor_commands = 12;
|
|
repeated SelectedDocumentation documentations = 13;
|
|
repeated SelectedUIElement ui_elements = 14;
|
|
repeated SelectedConsoleLog console_logs = 15;
|
|
repeated SelectedGitCommit git_commits = 17;
|
|
repeated SelectedPastChat past_chats = 19;
|
|
repeated SelectedGitPRDiffSelection git_pr_diff_selections = 20;
|
|
repeated SelectedPullRequest selected_pull_requests = 21;
|
|
repeated SelectedSubagent selected_subagents = 22;
|
|
repeated SelectedVideo selected_videos = 23;
|
|
repeated SelectedBrowser selected_browsers = 24;
|
|
repeated SelectedDocument selected_documents = 25;
|
|
repeated AgentSkill selected_skills = 26;
|
|
optional RecentAgentsContext recent_agents_context = 27;
|
|
optional SelectedAgenticGitAction selected_agentic_git_action = 34;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SelectedCursorCommand (var: R)
|
|
message SelectedCursorCommand {
|
|
string name = 1;
|
|
string content = 2;
|
|
optional SelectedPluginCapabilityRef plugin_capability = 3;
|
|
optional string full_path = 4;
|
|
optional string display_name = 5;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SelectedCursorRule (var: S)
|
|
message SelectedCursorRule {
|
|
CursorRule rule = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SelectedDocument (var: d)
|
|
message SelectedDocument {
|
|
// Copied from: local:agent.v1.SelectedDocument.BlobIdWithData (var: p)
|
|
message BlobIdWithData {
|
|
bytes blob_id = 1;
|
|
bytes data = 2;
|
|
}
|
|
|
|
string uuid = 2;
|
|
string filename = 3;
|
|
string mime_type = 4;
|
|
string path = 7;
|
|
oneof data_or_blob_id {
|
|
bytes blob_id = 1;
|
|
bytes data = 8;
|
|
BlobIdWithData blob_id_with_data = 9;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SelectedDocumentation (var: P)
|
|
message SelectedDocumentation {
|
|
string doc_id = 1;
|
|
string name = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SelectedExternalLink (var: E)
|
|
message SelectedExternalLink {
|
|
string url = 1;
|
|
string uuid = 2;
|
|
optional string pdf_content = 3;
|
|
optional bool is_pdf = 4;
|
|
optional string filename = 5;
|
|
optional bytes blob_id = 6;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SelectedFile (var: _)
|
|
message SelectedFile {
|
|
string content = 1;
|
|
string path = 2;
|
|
optional string relative_path = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SelectedFolder (var: w)
|
|
message SelectedFolder {
|
|
string path = 1;
|
|
optional string relative_path = 2;
|
|
LsDirectoryTreeNode directory_tree = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SelectedGitBranchContext (var: X)
|
|
message SelectedGitBranchContext {
|
|
optional string current_branch = 1;
|
|
optional string base_branch = 2;
|
|
optional string agent_branch_prefix = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SelectedGitCommit (var: B)
|
|
message SelectedGitCommit {
|
|
string sha = 1;
|
|
string message = 2;
|
|
optional string description = 3;
|
|
string diff = 4;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SelectedGitDiff (var: I)
|
|
message SelectedGitDiff {
|
|
string content = 1;
|
|
int32 full_content_length_char_count = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SelectedGitDiffFromBranchToMain (var: v)
|
|
message SelectedGitDiffFromBranchToMain {
|
|
string content = 1;
|
|
int32 full_content_length_char_count = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SelectedGitPRDiffSelection (var: C)
|
|
message SelectedGitPRDiffSelection {
|
|
string pr_url = 1;
|
|
string file_path = 2;
|
|
int32 start_line = 3;
|
|
int32 end_line = 4;
|
|
optional string diff_content = 5;
|
|
optional bytes blob_id = 6;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SelectedImage (var: u)
|
|
message SelectedImage {
|
|
// Copied from: local:agent.v1.SelectedImage.BlobIdWithData (var: m)
|
|
message BlobIdWithData {
|
|
bytes blob_id = 1;
|
|
bytes data = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SelectedImage.Dimension (var: c)
|
|
message Dimension {
|
|
int32 width = 1;
|
|
int32 height = 2;
|
|
}
|
|
|
|
string uuid = 2;
|
|
string path = 3;
|
|
Dimension dimension = 4;
|
|
string mime_type = 7;
|
|
oneof data_or_blob_id {
|
|
bytes blob_id = 1;
|
|
bytes data = 8;
|
|
BlobIdWithData blob_id_with_data = 9;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SelectedPastChat (var: b)
|
|
message SelectedPastChat {
|
|
string agent_id = 1;
|
|
string name = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SelectedPluginCapabilityRef (var: N)
|
|
message SelectedPluginCapabilityRef {
|
|
string plugin_id = 1;
|
|
SelectedPluginCapabilityType capability_type = 2;
|
|
string source_path = 3;
|
|
string snapshot_token = 4;
|
|
optional string resolved_commit_sha = 5;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SelectedPluginCapabilityType (var: r)
|
|
enum SelectedPluginCapabilityType {
|
|
SELECTED_PLUGIN_CAPABILITY_TYPE_UNSPECIFIED = 0;
|
|
SELECTED_PLUGIN_CAPABILITY_TYPE_COMMAND = 1;
|
|
SELECTED_PLUGIN_CAPABILITY_TYPE_SKILL = 2;
|
|
SELECTED_PLUGIN_CAPABILITY_TYPE_SUBAGENT = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SelectedPullRequest (var: J)
|
|
message SelectedPullRequest {
|
|
int32 number = 1;
|
|
string url = 2;
|
|
optional string title = 3;
|
|
string folder_path = 4;
|
|
optional string summary_json = 5;
|
|
optional string description = 6;
|
|
optional bytes blob_id = 7;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SelectedSubagent (var: U)
|
|
message SelectedSubagent {
|
|
string name = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SelectedTerminal (var: y)
|
|
message SelectedTerminal {
|
|
string content = 1;
|
|
optional string title = 2;
|
|
optional string path = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SelectedTerminalSelection (var: k)
|
|
message SelectedTerminalSelection {
|
|
string content = 1;
|
|
optional string title = 2;
|
|
optional string path = 3;
|
|
Range range = 4;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SelectedUIElement (var: O)
|
|
message SelectedUIElement {
|
|
string element = 1;
|
|
string xpath = 2;
|
|
string text_content = 3;
|
|
string extra = 4;
|
|
optional string component = 5;
|
|
optional string component_props_json = 6;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SelectedVideo (var: f)
|
|
message SelectedVideo {
|
|
// Copied from: local:agent.v1.SelectedVideo.BlobIdWithData (var: g)
|
|
message BlobIdWithData {
|
|
bytes blob_id = 1;
|
|
bytes data = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SelectedVideo.SignedUrl (var: h)
|
|
message SignedUrl {
|
|
string url = 1;
|
|
string key = 2;
|
|
int64 expires_at_unix_ms = 3;
|
|
int64 refresh_after_unix_ms = 4;
|
|
string conversation_id = 5;
|
|
}
|
|
|
|
string uuid = 2;
|
|
string path = 3;
|
|
optional float fps = 4;
|
|
string mime_type = 7;
|
|
string filename = 10;
|
|
bool materialize_to_filesystem = 12;
|
|
oneof data_or_blob_id {
|
|
bytes blob_id = 1;
|
|
bytes data = 8;
|
|
BlobIdWithData blob_id_with_data = 9;
|
|
SignedUrl signed_url = 11;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SelfHostedPoolTarget (var: uo)
|
|
message SelfHostedPoolTarget {
|
|
optional string pool = 1;
|
|
repeated SelfHostedWorkerLabel labels = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SelfHostedWorkerLabel (var: mo)
|
|
message SelfHostedWorkerLabel {
|
|
string key = 1;
|
|
string value = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SelfHostedWorkerTarget (var: lo)
|
|
message SelfHostedWorkerTarget {
|
|
string worker_id = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SemSearchToolArgs (var: de)
|
|
message SemSearchToolArgs {
|
|
string query = 1;
|
|
repeated string target_directories = 2;
|
|
string explanation = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SemSearchToolCall (var: ce)
|
|
message SemSearchToolCall {
|
|
SemSearchToolArgs args = 1;
|
|
SemSearchToolResult result = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SemSearchToolError (var: ge)
|
|
message SemSearchToolError {
|
|
string error_message = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SemSearchToolResult (var: pe)
|
|
message SemSearchToolResult {
|
|
oneof result {
|
|
SemSearchToolSuccess success = 1;
|
|
SemSearchToolError error = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SemSearchToolSuccess (var: fe)
|
|
message SemSearchToolSuccess {
|
|
string results = 1;
|
|
repeated CodeResult code_results = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SendFinalSummaryArgs (var: Hn)
|
|
message SendFinalSummaryArgs {
|
|
optional string final_summary = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SendFinalSummaryError (var: Yn)
|
|
message SendFinalSummaryError {
|
|
string error = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SendFinalSummaryResult (var: Kn)
|
|
message SendFinalSummaryResult {
|
|
oneof result {
|
|
SendFinalSummarySuccess success = 1;
|
|
SendFinalSummaryError error = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SendFinalSummarySuccess (var: Vn)
|
|
message SendFinalSummarySuccess {
|
|
string final_summary = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SendFinalSummaryToolCall (var: Wn)
|
|
message SendFinalSummaryToolCall {
|
|
SendFinalSummaryArgs args = 1;
|
|
SendFinalSummaryResult result = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SendMessageArgs (var: wr)
|
|
message SendMessageArgs {
|
|
oneof message {
|
|
SendMessageText text = 1;
|
|
SendMessageAttachment attachment = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SendMessageAttachment (var: kr)
|
|
message SendMessageAttachment {
|
|
string url = 1;
|
|
optional string alt = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SendMessageError (var: Sr)
|
|
message SendMessageError {
|
|
string error = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SendMessageResult (var: Ir)
|
|
message SendMessageResult {
|
|
oneof result {
|
|
SendMessageSuccess success = 1;
|
|
SendMessageError error = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SendMessageSuccess (var: Er)
|
|
message SendMessageSuccess {
|
|
uint64 timestamp = 1;
|
|
string message_id = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SendMessageText (var: yr)
|
|
message SendMessageText {
|
|
string content = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SendMessageToolCall (var: vr)
|
|
message SendMessageToolCall {
|
|
SendMessageArgs args = 1;
|
|
SendMessageResult result = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SendToUserArgs (var: Pr)
|
|
message SendToUserArgs {
|
|
string message = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SendToUserError (var: Mr)
|
|
message SendToUserError {
|
|
string error = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SendToUserResult (var: Lr)
|
|
message SendToUserResult {
|
|
oneof result {
|
|
SendToUserSuccess success = 1;
|
|
SendToUserError error = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SendToUserSuccess (var: br)
|
|
message SendToUserSuccess {
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SendToUserToolCall (var: Fr)
|
|
message SendToUserToolCall {
|
|
SendToUserArgs args = 1;
|
|
SendToUserResult result = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SetActiveBranchArgs (var: Ao)
|
|
message SetActiveBranchArgs {
|
|
string path = 1;
|
|
string branch_name = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SetActiveBranchError (var: To)
|
|
message SetActiveBranchError {
|
|
string error = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SetActiveBranchResult (var: yo)
|
|
message SetActiveBranchResult {
|
|
oneof result {
|
|
SetActiveBranchSuccess success = 1;
|
|
SetActiveBranchError error = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SetActiveBranchSuccess (var: _o)
|
|
message SetActiveBranchSuccess {
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SetActiveBranchToolCall (var: ko)
|
|
message SetActiveBranchToolCall {
|
|
SetActiveBranchArgs args = 1;
|
|
SetActiveBranchResult result = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SetBlobArgs (var: c)
|
|
message SetBlobArgs {
|
|
bytes blob_id = 1;
|
|
bytes blob_data = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SetBlobResult (var: d)
|
|
message SetBlobResult {
|
|
optional Error error = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SetPrStatusAction (var: Xt)
|
|
message SetPrStatusAction {
|
|
optional string pr_url = 1;
|
|
optional string branch_name = 2;
|
|
optional string repo_url = 3;
|
|
PullRequestStatus status = 4;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SetupVmEnvironmentArgs (var: At)
|
|
message SetupVmEnvironmentArgs {
|
|
string install_command = 2;
|
|
string start_command = 3;
|
|
string dockerfile_contents = 4;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SetupVmEnvironmentResult (var: _t)
|
|
message SetupVmEnvironmentResult {
|
|
oneof result {
|
|
SetupVmEnvironmentSuccess success = 1;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SetupVmEnvironmentSuccess (var: Tt)
|
|
message SetupVmEnvironmentSuccess {
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SetupVmEnvironmentToolCall (var: yt)
|
|
message SetupVmEnvironmentToolCall {
|
|
SetupVmEnvironmentArgs args = 1;
|
|
SetupVmEnvironmentResult result = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ShellAbortReason (var: i)
|
|
enum ShellAbortReason {
|
|
SHELL_ABORT_REASON_UNSPECIFIED = 0;
|
|
SHELL_ABORT_REASON_USER_ABORT = 1;
|
|
SHELL_ABORT_REASON_TIMEOUT = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ShellAllowlistPrecheckArgs (var: Z)
|
|
message ShellAllowlistPrecheckArgs {
|
|
string command = 1;
|
|
string working_directory = 2;
|
|
ShellCommandParsingResult parsing_result = 3;
|
|
optional CommandClassifierResult classifier_result = 4;
|
|
optional string tool_call_id = 5;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ShellAllowlistPrecheckResult (var: $)
|
|
message ShellAllowlistPrecheckResult {
|
|
bool allowlisted = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ShellArgs (var: E)
|
|
message ShellArgs {
|
|
string command = 1;
|
|
string working_directory = 2;
|
|
int32 timeout = 3;
|
|
string tool_call_id = 4;
|
|
repeated string simple_commands = 5;
|
|
bool has_input_redirect = 6;
|
|
bool has_output_redirect = 7;
|
|
ShellCommandParsingResult parsing_result = 8;
|
|
optional SandboxPolicy requested_sandbox_policy = 9;
|
|
optional uint64 file_output_threshold_bytes = 10;
|
|
bool is_background = 11;
|
|
bool skip_approval = 12;
|
|
TimeoutBehavior timeout_behavior = 13;
|
|
optional int32 hard_timeout = 14;
|
|
optional string description = 15;
|
|
optional CommandClassifierResult classifier_result = 16;
|
|
bool close_stdin = 17;
|
|
optional ShellOutputNotificationConfig output_notification = 18;
|
|
optional SmartModeApproval smart_mode_approval = 19;
|
|
optional ShellHookApprovalRequirement hook_approval_requirement = 20;
|
|
optional string conversation_id = 21;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ShellBackgroundReason (var: s)
|
|
enum ShellBackgroundReason {
|
|
SHELL_BACKGROUND_REASON_UNSPECIFIED = 0;
|
|
SHELL_BACKGROUND_REASON_TIMEOUT = 1;
|
|
SHELL_BACKGROUND_REASON_USER_REQUEST = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ShellCommand (var: Pi)
|
|
message ShellCommand {
|
|
string command = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ShellCommandAction (var: yi)
|
|
message ShellCommandAction {
|
|
ShellCommand shell_command = 1;
|
|
string exec_id = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ShellCommandParsingResult (var: p)
|
|
message ShellCommandParsingResult {
|
|
// Copied from: local:agent.v1.ShellCommandParsingResult.ExecutableCommand (var: g)
|
|
message ExecutableCommand {
|
|
string name = 1;
|
|
repeated ShellCommandParsingResult.ExecutableCommandArg args = 2;
|
|
string full_text = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ShellCommandParsingResult.ExecutableCommandArg (var: f)
|
|
message ExecutableCommandArg {
|
|
string type = 1;
|
|
string value = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ShellCommandParsingResult.Redirect (var: h)
|
|
message Redirect {
|
|
string operator = 1;
|
|
repeated uint32 destination_fds = 2;
|
|
string target_node_type = 3;
|
|
optional string target_text = 4;
|
|
}
|
|
|
|
bool parsing_failed = 1;
|
|
repeated ExecutableCommand executable_commands = 2;
|
|
bool has_redirects = 3;
|
|
bool has_command_substitution = 4;
|
|
optional bool all_redirects_are_dev_null = 5;
|
|
repeated Redirect redirects = 6;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ShellConversationTurn (var: xi)
|
|
message ShellConversationTurn {
|
|
ShellCommand shell_command = 1;
|
|
ShellOutput shell_output = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ShellConversationTurnStructure (var: Qi)
|
|
message ShellConversationTurnStructure {
|
|
bytes shell_command = 1;
|
|
bytes shell_output = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ShellFailure (var: M)
|
|
message ShellFailure {
|
|
string command = 1;
|
|
string working_directory = 2;
|
|
int32 exit_code = 3;
|
|
string signal = 4;
|
|
string stdout = 5;
|
|
string stderr = 6;
|
|
int32 execution_time = 7;
|
|
optional OutputLocation output_location = 8;
|
|
optional string interleaved_output = 9;
|
|
optional ShellAbortReason abort_reason = 10;
|
|
bool aborted = 11;
|
|
optional int32 local_execution_time_ms = 12;
|
|
optional string output_head = 13;
|
|
optional string output_tail = 14;
|
|
optional uint32 elided_chars = 15;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ShellHookApprovalRequirement (var: w)
|
|
message ShellHookApprovalRequirement {
|
|
// Copied from: local:agent.v1.ShellHookApprovalRequirement.Kind (var: l)
|
|
enum Kind {
|
|
KIND_UNSPECIFIED = 0;
|
|
KIND_FORCE_PROMPT = 1;
|
|
}
|
|
|
|
Kind kind = 1;
|
|
optional string reason = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ShellOutput (var: bi)
|
|
message ShellOutput {
|
|
string stdout = 1;
|
|
string stderr = 2;
|
|
int32 exit_code = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ShellOutputDeltaUpdate (var: Ca)
|
|
message ShellOutputDeltaUpdate {
|
|
oneof event {
|
|
ShellStreamStdout stdout = 1;
|
|
ShellStreamStderr stderr = 2;
|
|
ShellStreamExit exit = 3;
|
|
ShellStreamStart start = 4;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ShellOutputNotificationConfig (var: T)
|
|
message ShellOutputNotificationConfig {
|
|
string pattern = 1;
|
|
string reason = 2;
|
|
optional double debounce = 3;
|
|
optional int32 notification_limit = 4;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ShellPartialResult (var: O)
|
|
message ShellPartialResult {
|
|
string stdout_delta = 1;
|
|
string stderr_delta = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ShellPermissionDenied (var: q)
|
|
message ShellPermissionDenied {
|
|
string command = 1;
|
|
string working_directory = 2;
|
|
string error = 3;
|
|
bool is_readonly = 4;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ShellRejected (var: F)
|
|
message ShellRejected {
|
|
string command = 1;
|
|
string working_directory = 2;
|
|
string reason = 3;
|
|
bool is_readonly = 4;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ShellResult (var: S)
|
|
message ShellResult {
|
|
optional SandboxPolicy sandbox_policy = 101;
|
|
optional bool is_background = 102;
|
|
optional string terminals_folder = 103;
|
|
optional uint32 pid = 104;
|
|
oneof result {
|
|
ShellSuccess success = 1;
|
|
ShellFailure failure = 2;
|
|
ShellTimeout timeout = 3;
|
|
ShellRejected rejected = 4;
|
|
ShellSpawnError spawn_error = 5;
|
|
ShellPermissionDenied permission_denied = 7;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ShellSandboxUnsupported (var: R)
|
|
message ShellSandboxUnsupported {
|
|
string command = 1;
|
|
string working_directory = 2;
|
|
string sandbox_policy_type = 3;
|
|
string reason = 4;
|
|
bool is_readonly = 5;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ShellSpawnError (var: D)
|
|
message ShellSpawnError {
|
|
string command = 1;
|
|
string working_directory = 2;
|
|
string error = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ShellStream (var: P)
|
|
message ShellStream {
|
|
oneof event {
|
|
ShellStreamStdout stdout = 1;
|
|
ShellStreamStderr stderr = 2;
|
|
ShellStreamExit exit = 3;
|
|
ShellStreamStart start = 4;
|
|
ShellRejected rejected = 5;
|
|
ShellPermissionDenied permission_denied = 6;
|
|
ShellStreamBackgrounded backgrounded = 7;
|
|
ShellStreamHookContext hook_context = 8;
|
|
ShellSandboxUnsupported sandbox_unsupported = 9;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ShellStreamBackgrounded (var: C)
|
|
message ShellStreamBackgrounded {
|
|
uint32 shell_id = 1;
|
|
string command = 2;
|
|
string working_directory = 3;
|
|
optional uint32 pid = 4;
|
|
optional int32 ms_to_wait = 5;
|
|
optional ShellBackgroundReason reason = 6;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ShellStreamExit (var: B)
|
|
message ShellStreamExit {
|
|
uint32 code = 1;
|
|
string cwd = 2;
|
|
optional OutputLocation output_location = 3;
|
|
bool aborted = 4;
|
|
optional ShellAbortReason abort_reason = 5;
|
|
optional int32 local_execution_time_ms = 6;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ShellStreamHookContext (var: N)
|
|
message ShellStreamHookContext {
|
|
repeated HookAdditionalContext hook_additional_contexts = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ShellStreamStart (var: J)
|
|
message ShellStreamStart {
|
|
optional SandboxPolicy sandbox_policy = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ShellStreamStderr (var: v)
|
|
message ShellStreamStderr {
|
|
string data = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ShellStreamStdout (var: I)
|
|
message ShellStreamStdout {
|
|
string data = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ShellSuccess (var: b)
|
|
message ShellSuccess {
|
|
string command = 1;
|
|
string working_directory = 2;
|
|
int32 exit_code = 3;
|
|
string signal = 4;
|
|
string stdout = 5;
|
|
string stderr = 6;
|
|
int32 execution_time = 7;
|
|
optional OutputLocation output_location = 8;
|
|
optional uint32 shell_id = 9;
|
|
optional string interleaved_output = 10;
|
|
optional uint32 pid = 11;
|
|
optional int32 ms_to_wait = 12;
|
|
optional int32 local_execution_time_ms = 13;
|
|
optional ShellBackgroundReason background_reason = 14;
|
|
optional string output_head = 15;
|
|
optional string output_tail = 16;
|
|
optional uint32 elided_chars = 17;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ShellTimeout (var: L)
|
|
message ShellTimeout {
|
|
string command = 1;
|
|
string working_directory = 2;
|
|
int32 timeout_ms = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ShellToolCall (var: i)
|
|
message ShellToolCall {
|
|
ShellArgs args = 1;
|
|
ShellResult result = 2;
|
|
optional string description = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ShellToolCallDelta (var: u)
|
|
message ShellToolCallDelta {
|
|
oneof delta {
|
|
ShellToolCallStdoutDelta stdout = 1;
|
|
ShellToolCallStderrDelta stderr = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ShellToolCallStderrDelta (var: l)
|
|
message ShellToolCallStderrDelta {
|
|
string content = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ShellToolCallStdoutDelta (var: a)
|
|
message ShellToolCallStdoutDelta {
|
|
string content = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SimulatedMsgReason (var: zs)
|
|
enum SimulatedMsgReason {
|
|
SIMULATED_MSG_REASON_UNSPECIFIED = 0;
|
|
SIMULATED_MSG_REASON_PLAN_EXECUTION = 1;
|
|
SIMULATED_MSG_REASON_COMMIT_REMINDER = 2;
|
|
SIMULATED_MSG_REASON_BACKGROUND_TASK_COMPLETION = 3;
|
|
SIMULATED_MSG_REASON_DIFF_TAB_COMMIT = 4;
|
|
SIMULATED_MSG_REASON_DIFF_TAB_COMMIT_AND_PUSH = 5;
|
|
SIMULATED_MSG_REASON_DIFF_TAB_PUSH = 6;
|
|
SIMULATED_MSG_REASON_DIFF_TAB_CREATE_PR = 7;
|
|
SIMULATED_MSG_REASON_DIFF_TAB_FIX_MERGE_CONFLICTS = 8;
|
|
SIMULATED_MSG_REASON_USER_SENT_TO_SUBAGENT = 9;
|
|
SIMULATED_MSG_REASON_USER_INTERRUPTED_SUBAGENT = 10;
|
|
SIMULATED_MSG_REASON_USER_QUEUED_TO_SUBAGENT = 11;
|
|
SIMULATED_MSG_REASON_BABYSIT_PR_IN_CLOUD = 12;
|
|
SIMULATED_MSG_REASON_CI_PANEL_INVESTIGATE_FAILURE = 13;
|
|
SIMULATED_MSG_REASON_MULTITASK = 14;
|
|
SIMULATED_MSG_REASON_BUILD_IN_PARALLEL = 15;
|
|
SIMULATED_MSG_REASON_MULTITASK_SPLIT_PRS = 16;
|
|
SIMULATED_MSG_REASON_APPLY_LOCALLY = 17;
|
|
SIMULATED_MSG_REASON_CHECKOUT_BRANCH = 18;
|
|
SIMULATED_MSG_REASON_DIFF_TAB_UPDATE_BRANCH = 19;
|
|
SIMULATED_MSG_REASON_PR_TAB_BUGBOT_FIX = 20;
|
|
SIMULATED_MSG_REASON_RUN_BUGBOT_REVIEW = 22;
|
|
SIMULATED_MSG_REASON_RUN_SECURITY_REVIEW = 23;
|
|
SIMULATED_MSG_REASON_FSD_APPLY_FINDING = 24;
|
|
SIMULATED_MSG_REASON_FSD_UNDO_FINDING = 25;
|
|
SIMULATED_MSG_REASON_FSD_START = 26;
|
|
SIMULATED_MSG_REASON_FSD_PR_INTERRUPT = 27;
|
|
SIMULATED_MSG_REASON_SUBSCRIPTION = 28;
|
|
SIMULATED_MSG_REASON_DIFF_TAB_CREATE_BRANCH = 29;
|
|
SIMULATED_MSG_REASON_AGENT_STORE_CONFLICT = 30;
|
|
SIMULATED_MSG_REASON_GOAL_CONTINUATION = 31;
|
|
SIMULATED_MSG_REASON_PROJECT_KICKOFF = 32;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SkillDescriptor (var: v)
|
|
message SkillDescriptor {
|
|
string name = 1;
|
|
string description = 2;
|
|
string folder_path = 3;
|
|
bool enabled = 4;
|
|
optional string parse_error = 5;
|
|
string readme_file_path = 6;
|
|
PackageType package_type = 7;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SkillOptions (var: B)
|
|
message SkillOptions {
|
|
repeated SkillDescriptor skill_descriptors = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SmartModeApproval (var: a)
|
|
message SmartModeApproval {
|
|
string request_id = 1;
|
|
string reason = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SmartModeClassifierArgs (var: i)
|
|
message SmartModeClassifierArgs {
|
|
string tool_call_id = 1;
|
|
optional string parent_conversation_id = 2;
|
|
SmartModeRiskTarget target = 3;
|
|
repeated SmartModeClassifierConversationMessage conversation_context = 4;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SmartModeClassifierConversationMessage (var: o)
|
|
message SmartModeClassifierConversationMessage {
|
|
string role = 1;
|
|
string content = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SmartModeClassifierDecision (var: r)
|
|
enum SmartModeClassifierDecision {
|
|
SMART_MODE_CLASSIFIER_DECISION_UNSPECIFIED = 0;
|
|
SMART_MODE_CLASSIFIER_DECISION_ALLOW = 1;
|
|
SMART_MODE_CLASSIFIER_DECISION_BLOCK = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SmartModeClassifierError (var: m)
|
|
message SmartModeClassifierError {
|
|
string error = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SmartModeClassifierResult (var: l)
|
|
message SmartModeClassifierResult {
|
|
oneof result {
|
|
SmartModeClassifierSuccess success = 1;
|
|
SmartModeClassifierError error = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SmartModeClassifierSuccess (var: u)
|
|
message SmartModeClassifierSuccess {
|
|
SmartModeClassifierDecision decision = 1;
|
|
optional string block_reason = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SmartModeRiskTarget (var: a)
|
|
message SmartModeRiskTarget {
|
|
string action = 1;
|
|
google.protobuf.Struct arguments = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SpanContext (var: ze)
|
|
message SpanContext {
|
|
string trace_id = 1;
|
|
string span_id = 2;
|
|
optional uint32 trace_flags = 3;
|
|
optional string trace_state = 4;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.StackTrace (var: q)
|
|
message StackTrace {
|
|
repeated CallFrame call_frames = 1;
|
|
optional string raw_stack_trace = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.StartGrindExecutionArgs (var: kt)
|
|
message StartGrindExecutionArgs {
|
|
optional string explanation = 1;
|
|
string tool_call_id = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.StartGrindExecutionError (var: St)
|
|
message StartGrindExecutionError {
|
|
string error = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.StartGrindExecutionResult (var: wt)
|
|
message StartGrindExecutionResult {
|
|
oneof result {
|
|
StartGrindExecutionSuccess success = 1;
|
|
StartGrindExecutionError error = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.StartGrindExecutionSuccess (var: Et)
|
|
message StartGrindExecutionSuccess {
|
|
}
|
|
|
|
// Copied from: local:agent.v1.StartGrindExecutionToolCall (var: It)
|
|
message StartGrindExecutionToolCall {
|
|
StartGrindExecutionArgs args = 1;
|
|
StartGrindExecutionResult result = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.StartGrindPlanningArgs (var: vt)
|
|
message StartGrindPlanningArgs {
|
|
optional string explanation = 1;
|
|
string tool_call_id = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.StartGrindPlanningError (var: Ct)
|
|
message StartGrindPlanningError {
|
|
string error = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.StartGrindPlanningResult (var: Bt)
|
|
message StartGrindPlanningResult {
|
|
oneof result {
|
|
StartGrindPlanningSuccess success = 1;
|
|
StartGrindPlanningError error = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.StartGrindPlanningSuccess (var: Jt)
|
|
message StartGrindPlanningSuccess {
|
|
}
|
|
|
|
// Copied from: local:agent.v1.StartGrindPlanningToolCall (var: Nt)
|
|
message StartGrindPlanningToolCall {
|
|
StartGrindPlanningArgs args = 1;
|
|
StartGrindPlanningResult result = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.StartPlanAction (var: ki)
|
|
message StartPlanAction {
|
|
UserMessage user_message = 1;
|
|
RequestContext request_context = 2;
|
|
bool is_spec = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.StepCompletedUpdate (var: ba)
|
|
message StepCompletedUpdate {
|
|
uint64 step_id = 1;
|
|
int64 step_duration_ms = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.StepStartedUpdate (var: Pa)
|
|
message StepStartedUpdate {
|
|
uint64 step_id = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.StepTiming (var: $i)
|
|
message StepTiming {
|
|
uint64 duration_ms = 1;
|
|
uint64 timestamp_ms = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.StopRequestQuery (var: ml)
|
|
message StopRequestQuery {
|
|
string status = 1;
|
|
int32 loop_count = 2;
|
|
optional string conversation_id = 3;
|
|
optional string generation_id = 4;
|
|
optional string model = 5;
|
|
optional string model_id = 6;
|
|
repeated RequestedModel.ModelParameterValue model_params = 7;
|
|
optional int64 input_tokens = 8;
|
|
optional int64 output_tokens = 9;
|
|
optional int64 cache_read_tokens = 10;
|
|
optional int64 cache_write_tokens = 11;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.StopRequestResponse (var: cl)
|
|
message StopRequestResponse {
|
|
optional string followup_message = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SubagentArgs (var: M)
|
|
message SubagentArgs {
|
|
string tool_call_id = 1;
|
|
string subagent_type = 2;
|
|
string model_id = 3;
|
|
string prompt = 4;
|
|
bool readonly = 5;
|
|
optional string resume_agent_id = 6;
|
|
optional bool run_in_background = 7;
|
|
ClientContinuationConfig continuation_config = 8;
|
|
optional string parent_conversation_id = 9;
|
|
optional bool interrupt = 13;
|
|
TaskMode mode = 14;
|
|
optional string fork_agent_id = 15;
|
|
optional string root_parent_conversation_id = 16;
|
|
optional SelectedContext selected_context = 17;
|
|
optional bool direct_meta_parent_child_subagent = 18;
|
|
SubagentExecutionEnvironment environment = 19;
|
|
optional string cloud_base_branch = 20;
|
|
oneof credentials {
|
|
ApiKeyCredentials api_key_credentials = 10;
|
|
AzureCredentials azure_credentials = 11;
|
|
BedrockCredentials bedrock_credentials = 12;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SubagentAwaitArgs (var: q)
|
|
message SubagentAwaitArgs {
|
|
string agent_id = 1;
|
|
uint32 timeout_ms = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SubagentAwaitComplete (var: O)
|
|
message SubagentAwaitComplete {
|
|
string agent_id = 1;
|
|
optional string transcript_path = 2;
|
|
int32 tool_call_count = 3;
|
|
optional string final_message = 4;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SubagentAwaitError (var: Q)
|
|
message SubagentAwaitError {
|
|
optional string agent_id = 1;
|
|
string error = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SubagentAwaitNotFound (var: x)
|
|
message SubagentAwaitNotFound {
|
|
string agent_id = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SubagentAwaitResult (var: D)
|
|
message SubagentAwaitResult {
|
|
oneof result {
|
|
SubagentAwaitComplete complete = 1;
|
|
SubagentAwaitStillRunning still_running = 2;
|
|
SubagentAwaitNotFound not_found = 3;
|
|
SubagentAwaitError error = 4;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SubagentAwaitStillRunning (var: U)
|
|
message SubagentAwaitStillRunning {
|
|
string agent_id = 1;
|
|
optional string transcript_path = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SubagentBackgroundReason (var: Gs)
|
|
enum SubagentBackgroundReason {
|
|
SUBAGENT_BACKGROUND_REASON_UNSPECIFIED = 0;
|
|
SUBAGENT_BACKGROUND_REASON_AGENT_REQUEST = 1;
|
|
SUBAGENT_BACKGROUND_REASON_USER_REQUEST = 2;
|
|
SUBAGENT_BACKGROUND_REASON_QUEUED_FOLLOW_UP = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SubagentCredentials (var: Tl)
|
|
message SubagentCredentials {
|
|
oneof credentials {
|
|
ApiKeyCredentials api_key_credentials = 1;
|
|
AzureCredentials azure_credentials = 2;
|
|
BedrockCredentials bedrock_credentials = 3;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SubagentError (var: H)
|
|
message SubagentError {
|
|
optional string agent_id = 1;
|
|
string error = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SubagentExecutionEnvironment (var: Qs)
|
|
enum SubagentExecutionEnvironment {
|
|
SUBAGENT_EXECUTION_ENVIRONMENT_UNSPECIFIED = 0;
|
|
SUBAGENT_EXECUTION_ENVIRONMENT_LOCAL = 1;
|
|
SUBAGENT_EXECUTION_ENVIRONMENT_CLOUD = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SubagentModelOverride (var: fa)
|
|
message SubagentModelOverride {
|
|
string subagent_type = 1;
|
|
oneof selection {
|
|
RequestedModel model = 2;
|
|
bool inherit = 3;
|
|
bool disabled = 4;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SubagentPersistedState (var: ra)
|
|
message SubagentPersistedState {
|
|
ConversationStateStructure conversation_state = 1;
|
|
uint64 created_timestamp_ms = 2;
|
|
uint64 last_used_timestamp_ms = 3;
|
|
SubagentType subagent_type = 4;
|
|
optional string model_id = 5;
|
|
SubagentExecutionEnvironment environment = 6;
|
|
optional CloudSubagentReference cloud_subagent = 7;
|
|
optional string first_class_bc_id = 8;
|
|
optional string cloud_requested_environment_build_id = 9;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SubagentResult (var: F)
|
|
message SubagentResult {
|
|
oneof result {
|
|
SubagentSuccess success = 1;
|
|
SubagentError error = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SubagentRunState (var: Mo)
|
|
message SubagentRunState {
|
|
string parent_tool_call_id = 1;
|
|
optional string subagent_id = 2;
|
|
SubagentExecutionEnvironment environment = 3;
|
|
SubagentRunStatus status = 4;
|
|
optional string title = 5;
|
|
optional string detail = 6;
|
|
optional string transcript_path = 7;
|
|
optional string output_path = 8;
|
|
optional uint64 completed_timestamp_ms = 9;
|
|
optional BackgroundTaskCompletionReason completion_reason = 10;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SubagentRunStatus (var: Ks)
|
|
enum SubagentRunStatus {
|
|
SUBAGENT_RUN_STATUS_UNSPECIFIED = 0;
|
|
SUBAGENT_RUN_STATUS_RUNNING = 1;
|
|
SUBAGENT_RUN_STATUS_BACKGROUNDED = 2;
|
|
SUBAGENT_RUN_STATUS_SUCCESS = 3;
|
|
SUBAGENT_RUN_STATUS_ERROR = 4;
|
|
SUBAGENT_RUN_STATUS_ABORTED = 5;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SubagentStartRequestQuery (var: $a)
|
|
message SubagentStartRequestQuery {
|
|
string subagent_id = 1;
|
|
string subagent_type = 2;
|
|
string task = 3;
|
|
string parent_conversation_id = 4;
|
|
optional string tool_call_id = 5;
|
|
optional string subagent_model = 6;
|
|
bool is_parallel_worker = 7;
|
|
optional string git_branch = 8;
|
|
optional string conversation_id = 9;
|
|
optional string generation_id = 10;
|
|
optional string model = 11;
|
|
optional string model_id = 12;
|
|
repeated RequestedModel.ModelParameterValue model_params = 13;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SubagentStartRequestResponse (var: el)
|
|
message SubagentStartRequestResponse {
|
|
optional string permission = 1;
|
|
optional string user_message = 2;
|
|
optional string additional_context = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SubagentStopRequestQuery (var: tl)
|
|
message SubagentStopRequestQuery {
|
|
string subagent_id = 1;
|
|
string subagent_type = 2;
|
|
string status = 3;
|
|
int64 duration_ms = 4;
|
|
optional string summary = 5;
|
|
string parent_conversation_id = 6;
|
|
int32 message_count = 7;
|
|
int32 tool_call_count = 8;
|
|
optional string error_message = 9;
|
|
repeated string modified_files = 10;
|
|
optional string git_branch = 11;
|
|
optional string conversation_id = 12;
|
|
optional string generation_id = 13;
|
|
optional string model = 14;
|
|
int32 loop_count = 15;
|
|
optional string task = 16;
|
|
optional string description = 17;
|
|
optional string model_id = 18;
|
|
repeated RequestedModel.ModelParameterValue model_params = 19;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SubagentStopRequestResponse (var: nl)
|
|
message SubagentStopRequestResponse {
|
|
optional string followup_message = 1;
|
|
optional string additional_context = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SubagentSuccess (var: G)
|
|
message SubagentSuccess {
|
|
string agent_id = 1;
|
|
optional string final_message = 2;
|
|
int32 tool_call_count = 3;
|
|
SubagentBackgroundReason background_reason = 4;
|
|
optional string transcript_path = 5;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SubagentType (var: i)
|
|
message SubagentType {
|
|
oneof type {
|
|
SubagentTypeUnspecified unspecified = 1;
|
|
SubagentTypeComputerUse computer_use = 2;
|
|
SubagentTypeCustom custom = 3;
|
|
SubagentTypeExplore explore = 4;
|
|
SubagentTypeMediaReview media_review = 5;
|
|
SubagentTypeBash bash = 6;
|
|
SubagentTypeBrowserUse browser_use = 7;
|
|
SubagentTypeShell shell = 8;
|
|
SubagentTypeVmSetupHelper vm_setup_helper = 9;
|
|
SubagentTypeDebug debug = 10;
|
|
SubagentTypeCursorGuide cursor_guide = 11;
|
|
SubagentTypeWatchVideo watch_video = 12;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SubagentTypeBash (var: c)
|
|
message SubagentTypeBash {
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SubagentTypeBrowserUse (var: p)
|
|
message SubagentTypeBrowserUse {
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SubagentTypeComputerUse (var: l)
|
|
message SubagentTypeComputerUse {
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SubagentTypeCursorGuide (var: h)
|
|
message SubagentTypeCursorGuide {
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SubagentTypeCustom (var: _)
|
|
message SubagentTypeCustom {
|
|
string name = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SubagentTypeDebug (var: g)
|
|
message SubagentTypeDebug {
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SubagentTypeExplore (var: u)
|
|
message SubagentTypeExplore {
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SubagentTypeMediaReview (var: m)
|
|
message SubagentTypeMediaReview {
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SubagentTypeShell (var: d)
|
|
message SubagentTypeShell {
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SubagentTypeUnspecified (var: a)
|
|
message SubagentTypeUnspecified {
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SubagentTypeVmSetupHelper (var: f)
|
|
message SubagentTypeVmSetupHelper {
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SubagentTypeWatchVideo (var: A)
|
|
message SubagentTypeWatchVideo {
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SubmittedCustomMode (var: ci)
|
|
message SubmittedCustomMode {
|
|
string id = 1;
|
|
string label = 2;
|
|
CustomModeSource source = 5;
|
|
optional string source_path = 6;
|
|
optional string source_hash = 7;
|
|
optional string managed_skill_id = 10;
|
|
optional string plugin_id = 11;
|
|
optional string plugin_snapshot_token = 12;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SubmittedExitedCustomMode (var: pi)
|
|
message SubmittedExitedCustomMode {
|
|
string id = 1;
|
|
string label = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SubscriptionNotificationAction (var: ei)
|
|
message SubscriptionNotificationAction {
|
|
repeated UserMessage notifications = 1;
|
|
RequestContext request_context = 2;
|
|
optional bool send_to_interaction_listener = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SubscriptionSource (var: js)
|
|
enum SubscriptionSource {
|
|
SUBSCRIPTION_SOURCE_UNSPECIFIED = 0;
|
|
SUBSCRIPTION_SOURCE_SLACK = 1;
|
|
SUBSCRIPTION_SOURCE_GITHUB = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SummarizeAction (var: Ti)
|
|
message SummarizeAction {
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SummaryCompletedUpdate (var: Ja)
|
|
message SummaryCompletedUpdate {
|
|
optional string hook_message = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SummaryStartedUpdate (var: va)
|
|
message SummaryStartedUpdate {
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SummaryUpdate (var: Ia)
|
|
message SummaryUpdate {
|
|
string summary = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SwitchModeArgs (var: je)
|
|
message SwitchModeArgs {
|
|
string target_mode_id = 1;
|
|
optional string explanation = 2;
|
|
string tool_call_id = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SwitchModeError (var: $e)
|
|
message SwitchModeError {
|
|
string error = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SwitchModeRejected (var: et)
|
|
message SwitchModeRejected {
|
|
string reason = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SwitchModeRequestQuery (var: nt)
|
|
message SwitchModeRequestQuery {
|
|
SwitchModeArgs args = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SwitchModeRequestResponse (var: rt)
|
|
message SwitchModeRequestResponse {
|
|
// Copied from: local:agent.v1.SwitchModeRequestResponse.Approved (var: st)
|
|
message Approved {
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SwitchModeRequestResponse.Rejected (var: ot)
|
|
message Rejected {
|
|
string reason = 1;
|
|
}
|
|
|
|
oneof result {
|
|
Approved approved = 1;
|
|
Rejected rejected = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SwitchModeResult (var: Xe)
|
|
message SwitchModeResult {
|
|
oneof result {
|
|
SwitchModeSuccess success = 1;
|
|
SwitchModeError error = 2;
|
|
SwitchModeRejected rejected = 3;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SwitchModeSuccess (var: Ze)
|
|
message SwitchModeSuccess {
|
|
string from_mode_id = 1;
|
|
string to_mode_id = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SwitchModeToolCall (var: tt)
|
|
message SwitchModeToolCall {
|
|
SwitchModeArgs args = 1;
|
|
SwitchModeResult result = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.SystemContextInjection (var: si)
|
|
message SystemContextInjection {
|
|
string producer = 1;
|
|
string content = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.TargetMachine (var: oo)
|
|
message TargetMachine {
|
|
oneof machine {
|
|
SameMachineTarget same_machine = 1;
|
|
NewCloudVmTarget new_cloud_vm = 2;
|
|
SelfHostedWorkerTarget self_hosted_worker = 3;
|
|
SelfHostedPoolTarget self_hosted_pool = 4;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.TaskArgs (var: so)
|
|
message TaskArgs {
|
|
string description = 1;
|
|
string prompt = 2;
|
|
SubagentType subagent_type = 3;
|
|
optional string model = 4;
|
|
optional string resume = 5;
|
|
optional string agent_id = 6;
|
|
repeated string attachments = 7;
|
|
TaskMode mode = 8;
|
|
repeated string responding_to_message_ids = 9;
|
|
SubagentExecutionEnvironment environment = 10;
|
|
optional TargetMachine machine = 11;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.TaskError (var: po)
|
|
message TaskError {
|
|
string error = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.TaskMode (var: s)
|
|
enum TaskMode {
|
|
TASK_MODE_UNSPECIFIED = 0;
|
|
TASK_MODE_AGENT = 1;
|
|
TASK_MODE_PLAN = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.TaskResult (var: fo)
|
|
message TaskResult {
|
|
oneof result {
|
|
TaskSuccess success = 1;
|
|
TaskError error = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.TaskSuccess (var: co)
|
|
message TaskSuccess {
|
|
repeated ConversationStep conversation_steps = 1;
|
|
optional string agent_id = 2;
|
|
bool is_background = 3;
|
|
optional uint64 duration_ms = 4;
|
|
optional string result_suffix = 5;
|
|
SubagentBackgroundReason background_reason = 6;
|
|
optional string transcript_path = 7;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.TaskToolCall (var: go)
|
|
message TaskToolCall {
|
|
TaskArgs args = 1;
|
|
TaskResult result = 2;
|
|
optional string cloud_agent_bc_id = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.TaskToolCallArgsProto (var: _l)
|
|
message TaskToolCallArgsProto {
|
|
string description = 1;
|
|
string prompt = 2;
|
|
optional string model = 3;
|
|
string subagent_type = 4;
|
|
optional string resume = 5;
|
|
optional bool readonly = 6;
|
|
optional bool run_in_background = 7;
|
|
repeated string attachments = 8;
|
|
SubagentExecutionEnvironment environment = 9;
|
|
optional string cloud_base_branch = 10;
|
|
optional string cloud_requested_environment_build_id = 11;
|
|
optional TargetMachine machine = 12;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.TaskToolCallDelta (var: ho)
|
|
message TaskToolCallDelta {
|
|
InteractionUpdate interaction_update = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.TerminalMetadata (var: p)
|
|
message TerminalMetadata {
|
|
// Copied from: local:agent.v1.TerminalMetadata.Command (var: f)
|
|
message Command {
|
|
string command = 1;
|
|
optional int32 exit_code = 2;
|
|
optional int64 timestamp_ms = 3;
|
|
optional int64 duration_ms = 4;
|
|
}
|
|
|
|
optional string cwd = 1;
|
|
repeated Command last_commands = 2;
|
|
optional int64 last_modified_ms = 3;
|
|
optional Command current_command = 4;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.TextDeltaUpdate (var: Aa)
|
|
message TextDeltaUpdate {
|
|
string text = 1;
|
|
bool is_server_notice = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ThinkingCompletedUpdate (var: Ea)
|
|
message ThinkingCompletedUpdate {
|
|
int32 thinking_duration_ms = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ThinkingDeltaUpdate (var: wa)
|
|
message ThinkingDeltaUpdate {
|
|
string text = 1;
|
|
optional ThinkingStyle thinking_style = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ThinkingDetails (var: aa)
|
|
message ThinkingDetails {
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ThinkingMessage (var: Ri)
|
|
message ThinkingMessage {
|
|
string text = 1;
|
|
uint32 duration_ms = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ThinkingStyle (var: Xs)
|
|
enum ThinkingStyle {
|
|
THINKING_STYLE_UNSPECIFIED = 0;
|
|
THINKING_STYLE_DEFAULT = 1;
|
|
THINKING_STYLE_CODEX = 2;
|
|
THINKING_STYLE_GPT5 = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.TimeoutBehavior (var: r)
|
|
enum TimeoutBehavior {
|
|
TIMEOUT_BEHAVIOR_UNSPECIFIED = 0;
|
|
TIMEOUT_BEHAVIOR_CANCEL = 1;
|
|
TIMEOUT_BEHAVIOR_BACKGROUND = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.TodoItem (var: B)
|
|
message TodoItem {
|
|
string id = 1;
|
|
string content = 2;
|
|
TodoStatus status = 3;
|
|
int64 created_at = 4;
|
|
int64 updated_at = 5;
|
|
repeated string dependencies = 6;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.TodoStatus (var: T)
|
|
enum TodoStatus {
|
|
TODO_STATUS_UNSPECIFIED = 0;
|
|
TODO_STATUS_PENDING = 1;
|
|
TODO_STATUS_IN_PROGRESS = 2;
|
|
TODO_STATUS_COMPLETED = 3;
|
|
TODO_STATUS_CANCELLED = 4;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.TokenDeltaUpdate (var: Sa)
|
|
message TokenDeltaUpdate {
|
|
int32 tokens = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ToolCall (var: wo)
|
|
message ToolCall {
|
|
repeated HookAdditionalContext hook_additional_contexts = 54;
|
|
optional string tool_call_id = 57;
|
|
optional uint64 started_at_ms = 59;
|
|
optional uint64 completed_at_ms = 60;
|
|
oneof tool {
|
|
ShellToolCall shell_tool_call = 1;
|
|
DeleteToolCall delete_tool_call = 3;
|
|
GlobToolCall glob_tool_call = 4;
|
|
GrepToolCall grep_tool_call = 5;
|
|
ReadToolCall read_tool_call = 8;
|
|
UpdateTodosToolCall update_todos_tool_call = 9;
|
|
ReadTodosToolCall read_todos_tool_call = 10;
|
|
EditToolCall edit_tool_call = 12;
|
|
LsToolCall ls_tool_call = 13;
|
|
ReadLintsToolCall read_lints_tool_call = 14;
|
|
McpToolCall mcp_tool_call = 15;
|
|
SemSearchToolCall sem_search_tool_call = 16;
|
|
CreatePlanToolCall create_plan_tool_call = 17;
|
|
WebSearchToolCall web_search_tool_call = 18;
|
|
TaskToolCall task_tool_call = 19;
|
|
ListMcpResourcesToolCall list_mcp_resources_tool_call = 20;
|
|
ReadMcpResourceToolCall read_mcp_resource_tool_call = 21;
|
|
ApplyAgentDiffToolCall apply_agent_diff_tool_call = 22;
|
|
AskQuestionToolCall ask_question_tool_call = 23;
|
|
FetchToolCall fetch_tool_call = 24;
|
|
SwitchModeToolCall switch_mode_tool_call = 25;
|
|
GenerateImageToolCall generate_image_tool_call = 28;
|
|
RecordScreenToolCall record_screen_tool_call = 29;
|
|
ComputerUseToolCall computer_use_tool_call = 30;
|
|
WriteShellStdinToolCall write_shell_stdin_tool_call = 31;
|
|
ReflectToolCall reflect_tool_call = 32;
|
|
SetupVmEnvironmentToolCall setup_vm_environment_tool_call = 33;
|
|
TruncatedToolCall truncated_tool_call = 34;
|
|
StartGrindExecutionToolCall start_grind_execution_tool_call = 35;
|
|
StartGrindPlanningToolCall start_grind_planning_tool_call = 36;
|
|
WebFetchToolCall web_fetch_tool_call = 37;
|
|
ReportBugfixResultsToolCall report_bugfix_results_tool_call = 38;
|
|
AiAttributionToolCall ai_attribution_tool_call = 39;
|
|
PrManagementToolCall pr_management_tool_call = 40;
|
|
McpAuthToolCall mcp_auth_tool_call = 41;
|
|
AwaitToolCall await_tool_call = 42;
|
|
BlameByFilePathToolCall blame_by_file_path_tool_call = 43;
|
|
GetMcpToolsToolCall get_mcp_tools_tool_call = 44;
|
|
ReportBugToolCall report_bug_tool_call = 45;
|
|
SetActiveBranchToolCall set_active_branch_tool_call = 46;
|
|
CommunicateUpdateToolCall communicate_update_tool_call = 48;
|
|
SendFinalSummaryToolCall send_final_summary_tool_call = 49;
|
|
UpdatePrCodeTourToolCall update_pr_code_tour_tool_call = 50;
|
|
ReplaceEnvToolCall replace_env_tool_call = 51;
|
|
EditPrLabelsToolCall edit_pr_labels_tool_call = 52;
|
|
RecordCiInvestigationFindingsToolCall record_ci_investigation_findings_tool_call = 53;
|
|
SendMessageToolCall send_message_tool_call = 55;
|
|
FetchCloudAgentDataToolCall fetch_cloud_agent_data_tool_call = 56;
|
|
SendToUserToolCall send_to_user_tool_call = 58;
|
|
PiReadToolCall pi_read_tool_call = 61;
|
|
PiBashToolCall pi_bash_tool_call = 62;
|
|
PiEditToolCall pi_edit_tool_call = 63;
|
|
PiWriteToolCall pi_write_tool_call = 64;
|
|
PiGrepToolCall pi_grep_tool_call = 65;
|
|
PiFindToolCall pi_find_tool_call = 66;
|
|
PiLsToolCall pi_ls_tool_call = 67;
|
|
ConnectScmToolCall connect_scm_tool_call = 68;
|
|
SearchConversationsToolCall search_conversations_tool_call = 69;
|
|
CreateGoalToolCall create_goal_tool_call = 70;
|
|
UpdateGoalToolCall update_goal_tool_call = 71;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ToolCallCompletedUpdate (var: Ta)
|
|
message ToolCallCompletedUpdate {
|
|
string call_id = 1;
|
|
ToolCall tool_call = 2;
|
|
string model_call_id = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ToolCallDelta (var: Jo)
|
|
message ToolCallDelta {
|
|
oneof delta {
|
|
ShellToolCallDelta shell_tool_call_delta = 1;
|
|
TaskToolCallDelta task_tool_call_delta = 2;
|
|
EditToolCallDelta edit_tool_call_delta = 3;
|
|
ReplaceEnvToolCallDelta replace_env_tool_call_delta = 4;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ToolCallDeltaUpdate (var: ya)
|
|
message ToolCallDeltaUpdate {
|
|
string call_id = 1;
|
|
ToolCallDelta tool_call_delta = 2;
|
|
string model_call_id = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.ToolCallStartedUpdate (var: _a)
|
|
message ToolCallStartedUpdate {
|
|
string call_id = 1;
|
|
ToolCall tool_call = 2;
|
|
string model_call_id = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.TrackedGitRepo (var: oa)
|
|
message TrackedGitRepo {
|
|
string repo_path = 1;
|
|
string branch_name = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.TriggeringUserInfo (var: Ro)
|
|
message TriggeringUserInfo {
|
|
optional string auth_id = 1;
|
|
optional int32 user_id = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.TruncatedToolCall (var: Bo)
|
|
message TruncatedToolCall {
|
|
bytes original_step_blob_id = 1;
|
|
TruncatedToolCallArgs args = 2;
|
|
TruncatedToolCallResult result = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.TruncatedToolCallArgs (var: Eo)
|
|
message TruncatedToolCallArgs {
|
|
}
|
|
|
|
// Copied from: local:agent.v1.TruncatedToolCallError (var: Io)
|
|
message TruncatedToolCallError {
|
|
string error = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.TruncatedToolCallResult (var: vo)
|
|
message TruncatedToolCallResult {
|
|
oneof result {
|
|
TruncatedToolCallSuccess success = 1;
|
|
TruncatedToolCallError error = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.TruncatedToolCallSuccess (var: So)
|
|
message TruncatedToolCallSuccess {
|
|
}
|
|
|
|
// Copied from: local:agent.v1.TtftBreakdown (var: y)
|
|
message TtftBreakdown {
|
|
double server_first_token_ms = 1;
|
|
double pre_stream_setup_ms = 2;
|
|
double wait_for_first_event_ms = 3;
|
|
optional double provider_ttft_ms = 4;
|
|
double slow_pool_wait_ms = 5;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.TurnEndedUpdate (var: Na)
|
|
message TurnEndedUpdate {
|
|
optional int64 input_tokens = 1;
|
|
optional int64 output_tokens = 2;
|
|
optional int64 cache_read_tokens = 3;
|
|
optional int64 cache_write_tokens = 4;
|
|
optional int64 reasoning_tokens = 5;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.TypeAction (var: g)
|
|
message TypeAction {
|
|
string text = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.UpdateConversationMetadataRequest (var: S)
|
|
message UpdateConversationMetadataRequest {
|
|
string conversation_id = 1;
|
|
optional string name = 2;
|
|
optional bool only_set_name_if_empty = 3;
|
|
repeated string workspace_paths = 4;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.UpdateConversationMetadataResponse (var: I)
|
|
message UpdateConversationMetadataResponse {
|
|
}
|
|
|
|
// Copied from: local:agent.v1.UpdateGoalArgs (var: qs)
|
|
message UpdateGoalArgs {
|
|
GoalStatus status = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.UpdateGoalResult (var: Os)
|
|
message UpdateGoalResult {
|
|
oneof result {
|
|
UpdateGoalSuccess success = 1;
|
|
GoalError error = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.UpdateGoalSuccess (var: Ds)
|
|
message UpdateGoalSuccess {
|
|
GoalStatus status = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.UpdateGoalToolCall (var: Us)
|
|
message UpdateGoalToolCall {
|
|
UpdateGoalArgs args = 1;
|
|
UpdateGoalResult result = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.UpdatePrAction (var: Kt)
|
|
message UpdatePrAction {
|
|
optional string pr_url = 1;
|
|
optional string title = 2;
|
|
optional string body = 3;
|
|
optional string base_branch = 4;
|
|
optional string branch_name = 5;
|
|
repeated string add_labels = 6;
|
|
repeated string remove_labels = 7;
|
|
optional string repo_url = 8;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.UpdatePrCodeTourArgs (var: zn)
|
|
message UpdatePrCodeTourArgs {
|
|
string feedback = 1;
|
|
string tool_call_id = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.UpdatePrCodeTourError (var: Zn)
|
|
message UpdatePrCodeTourError {
|
|
string error = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.UpdatePrCodeTourResult (var: jn)
|
|
message UpdatePrCodeTourResult {
|
|
oneof result {
|
|
UpdatePrCodeTourSuccess success = 1;
|
|
UpdatePrCodeTourError error = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.UpdatePrCodeTourSuccess (var: Xn)
|
|
message UpdatePrCodeTourSuccess {
|
|
string revision_id = 1;
|
|
string message = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.UpdatePrCodeTourToolCall (var: $n)
|
|
message UpdatePrCodeTourToolCall {
|
|
UpdatePrCodeTourArgs args = 1;
|
|
UpdatePrCodeTourResult result = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.UpdateTodosArgs (var: C)
|
|
message UpdateTodosArgs {
|
|
repeated TodoItem todos = 1;
|
|
bool merge = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.UpdateTodosError (var: P)
|
|
message UpdateTodosError {
|
|
string error = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.UpdateTodosResult (var: N)
|
|
message UpdateTodosResult {
|
|
oneof result {
|
|
UpdateTodosSuccess success = 1;
|
|
UpdateTodosError error = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.UpdateTodosSuccess (var: R)
|
|
message UpdateTodosSuccess {
|
|
repeated TodoItem todos = 1;
|
|
int32 total_count = 2;
|
|
bool was_merge = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.UpdateTodosToolCall (var: J)
|
|
message UpdateTodosToolCall {
|
|
UpdateTodosArgs args = 1;
|
|
UpdateTodosResult result = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.UploadConversationBlobsRequest (var: q)
|
|
message UploadConversationBlobsRequest {
|
|
string conversation_id = 1;
|
|
repeated BlobEntry blobs = 2;
|
|
int32 chunk_index = 3;
|
|
int32 total_chunks = 4;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.UploadConversationBlobsResponse (var: D)
|
|
message UploadConversationBlobsResponse {
|
|
}
|
|
|
|
// Copied from: local:agent.v1.UploadLocalAgentRunToPromptQualityRequest (var: U)
|
|
message UploadLocalAgentRunToPromptQualityRequest {
|
|
int32 schema_version = 1;
|
|
string generation_uuid = 2;
|
|
string conversation_id = 3;
|
|
string payload_digest = 4;
|
|
repeated LocalPromptQualityInvocation invocations = 5;
|
|
LocalPromptQualityInvocationStatus terminal_status = 6;
|
|
string created_at = 7;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.UploadLocalAgentRunToPromptQualityResponse (var: x)
|
|
message UploadLocalAgentRunToPromptQualityResponse {
|
|
string request_id = 1;
|
|
string primary_invocation_id = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.UserContextInjection (var: ri)
|
|
message UserContextInjection {
|
|
UserMessage user_message = 1;
|
|
RequestContext request_context = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.UserDisplayInfo (var: Ei)
|
|
message UserDisplayInfo {
|
|
int32 user_id = 1;
|
|
optional string display_name = 2;
|
|
optional string email = 3;
|
|
optional string profile_picture_url = 4;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.UserGitContext (var: S)
|
|
message UserGitContext {
|
|
optional string username = 1;
|
|
optional string email = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.UserMessage (var: Ji)
|
|
message UserMessage {
|
|
// Copied from: local:agent.v1.UserMessage.SimulatedMessageMetadata (var: Ci)
|
|
message SimulatedMessageMetadata {
|
|
optional string title = 1;
|
|
optional string task_id = 2;
|
|
optional string fsd_finding_action = 3;
|
|
optional string url = 4;
|
|
optional SubscriptionSource subscription_source = 5;
|
|
}
|
|
|
|
string text = 1;
|
|
string message_id = 2;
|
|
optional SelectedContext selected_context = 3;
|
|
AgentMode mode = 4;
|
|
optional bool is_simulated_msg = 5;
|
|
optional string best_of_n_group_id = 6;
|
|
optional bool try_use_best_of_n_promotion = 7;
|
|
optional string rich_text = 8;
|
|
optional SimulatedMsgReason simulated_msg_reason = 9;
|
|
bytes conversation_state_blob_id = 10;
|
|
optional string subagent_system_reminder = 11;
|
|
optional TriggeringUserInfo triggering_user_info = 13;
|
|
optional ExecutePlanInfo execute_plan_info = 14;
|
|
optional SimulatedMessageMetadata simulated_message_metadata = 15;
|
|
optional string prompt_reference_id = 16;
|
|
optional string thread_id = 17;
|
|
optional bytes text_blob_id = 18;
|
|
optional bytes rich_text_blob_id = 19;
|
|
repeated HookAdditionalContext hook_additional_contexts = 21;
|
|
optional CustomModeIntent custom_mode_intent = 22;
|
|
optional ProjectDetails project_details = 23;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.UserMessageAction (var: $o)
|
|
message UserMessageAction {
|
|
UserMessage user_message = 1;
|
|
RequestContext request_context = 2;
|
|
optional bool send_to_interaction_listener = 3;
|
|
repeated UserMessage prepend_user_messages = 4;
|
|
optional InterruptedPendingToolCallResolutions interrupted_pending_tool_call_resolutions = 6;
|
|
optional ConversationHistory conversation_history = 7;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.UserMessageAppendedUpdate (var: Ra)
|
|
message UserMessageAppendedUpdate {
|
|
UserMessage user_message = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.WaitAction (var: A)
|
|
message WaitAction {
|
|
int32 duration_ms = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.WebFetchAllowlistPrecheckArgs (var: ne)
|
|
message WebFetchAllowlistPrecheckArgs {
|
|
string url = 1;
|
|
optional string tool_call_id = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.WebFetchAllowlistPrecheckResult (var: re)
|
|
message WebFetchAllowlistPrecheckResult {
|
|
bool allowlisted = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.WebFetchArgs (var: Rt)
|
|
message WebFetchArgs {
|
|
string url = 1;
|
|
string tool_call_id = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.WebFetchError (var: Mt)
|
|
message WebFetchError {
|
|
string url = 1;
|
|
string error = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.WebFetchRejected (var: Lt)
|
|
message WebFetchRejected {
|
|
string reason = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.WebFetchRequestQuery (var: qt)
|
|
message WebFetchRequestQuery {
|
|
WebFetchArgs args = 1;
|
|
bool skip_approval = 2;
|
|
SmartModeApproval smart_mode_approval = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.WebFetchRequestResponse (var: Dt)
|
|
message WebFetchRequestResponse {
|
|
// Copied from: local:agent.v1.WebFetchRequestResponse.Approved (var: Ot)
|
|
message Approved {
|
|
}
|
|
|
|
// Copied from: local:agent.v1.WebFetchRequestResponse.Rejected (var: Ut)
|
|
message Rejected {
|
|
string reason = 1;
|
|
}
|
|
|
|
oneof result {
|
|
Approved approved = 1;
|
|
Rejected rejected = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.WebFetchResult (var: Pt)
|
|
message WebFetchResult {
|
|
oneof result {
|
|
WebFetchSuccess success = 1;
|
|
WebFetchError error = 2;
|
|
WebFetchRejected rejected = 3;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.WebFetchSuccess (var: bt)
|
|
message WebFetchSuccess {
|
|
string url = 1;
|
|
string markdown = 2;
|
|
optional OutputLocation output_location = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.WebFetchToolCall (var: Ft)
|
|
message WebFetchToolCall {
|
|
WebFetchArgs args = 1;
|
|
WebFetchResult result = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.WebSearchArgs (var: Se)
|
|
message WebSearchArgs {
|
|
string search_term = 1;
|
|
string tool_call_id = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.WebSearchError (var: Be)
|
|
message WebSearchError {
|
|
string error = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.WebSearchReference (var: Ce)
|
|
message WebSearchReference {
|
|
string title = 1;
|
|
string url = 2;
|
|
string chunk = 3;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.WebSearchRejected (var: Je)
|
|
message WebSearchRejected {
|
|
string reason = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.WebSearchRequestQuery (var: Re)
|
|
message WebSearchRequestQuery {
|
|
WebSearchArgs args = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.WebSearchRequestResponse (var: Pe)
|
|
message WebSearchRequestResponse {
|
|
// Copied from: local:agent.v1.WebSearchRequestResponse.Approved (var: be)
|
|
message Approved {
|
|
}
|
|
|
|
// Copied from: local:agent.v1.WebSearchRequestResponse.Rejected (var: Me)
|
|
message Rejected {
|
|
string reason = 1;
|
|
}
|
|
|
|
oneof result {
|
|
Approved approved = 1;
|
|
Rejected rejected = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.WebSearchResult (var: Ie)
|
|
message WebSearchResult {
|
|
oneof result {
|
|
WebSearchSuccess success = 1;
|
|
WebSearchError error = 2;
|
|
WebSearchRejected rejected = 3;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.WebSearchSuccess (var: ve)
|
|
message WebSearchSuccess {
|
|
repeated WebSearchReference references = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.WebSearchToolCall (var: Ne)
|
|
message WebSearchToolCall {
|
|
WebSearchArgs args = 1;
|
|
WebSearchResult result = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.WriteArgs (var: o)
|
|
message WriteArgs {
|
|
string path = 1;
|
|
string file_text = 2;
|
|
string tool_call_id = 3;
|
|
bool return_file_content_after_write = 4;
|
|
bytes file_bytes = 5;
|
|
optional string encoding_hint = 6;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.WriteError (var: m)
|
|
message WriteError {
|
|
string path = 1;
|
|
string error = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.WriteNoSpace (var: u)
|
|
message WriteNoSpace {
|
|
string path = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.WritePermissionDenied (var: l)
|
|
message WritePermissionDenied {
|
|
string path = 1;
|
|
string directory = 2;
|
|
string operation = 3;
|
|
string error = 4;
|
|
bool is_readonly = 5;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.WriteRejected (var: c)
|
|
message WriteRejected {
|
|
string path = 1;
|
|
string reason = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.WriteResult (var: i)
|
|
message WriteResult {
|
|
oneof result {
|
|
WriteSuccess success = 1;
|
|
WritePermissionDenied permission_denied = 3;
|
|
WriteNoSpace no_space = 4;
|
|
WriteError error = 5;
|
|
WriteRejected rejected = 6;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.WriteShellStdinArgs (var: c)
|
|
message WriteShellStdinArgs {
|
|
uint32 shell_id = 1;
|
|
string chars = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.WriteShellStdinError (var: f)
|
|
message WriteShellStdinError {
|
|
string error = 1;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.WriteShellStdinResult (var: d)
|
|
message WriteShellStdinResult {
|
|
oneof result {
|
|
WriteShellStdinSuccess success = 1;
|
|
WriteShellStdinError error = 2;
|
|
}
|
|
}
|
|
|
|
// Copied from: local:agent.v1.WriteShellStdinSuccess (var: p)
|
|
message WriteShellStdinSuccess {
|
|
uint32 shell_id = 1;
|
|
uint32 terminal_file_length_before_input_written = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.WriteShellStdinToolCall (var: ct)
|
|
message WriteShellStdinToolCall {
|
|
WriteShellStdinArgs args = 1;
|
|
WriteShellStdinResult result = 2;
|
|
}
|
|
|
|
// Copied from: local:agent.v1.WriteSuccess (var: a)
|
|
message WriteSuccess {
|
|
string path = 1;
|
|
int32 lines_created = 2;
|
|
int32 file_size = 3;
|
|
optional string file_content_after_write = 4;
|
|
}
|
|
|
|
// Source: agent.v1.AgentService (var: i)
|
|
service AgentService {
|
|
rpc Run(stream AgentClientMessage) returns (stream AgentServerMessage) {}
|
|
rpc RunSSE(BidiRequestId) returns (stream AgentServerMessage) {}
|
|
rpc RunPoll(BidiPollRequest) returns (stream BidiPollResponse) {}
|
|
rpc NameAgent(NameAgentRequest) returns (NameAgentResponse) {}
|
|
rpc UpdateConversationMetadata(UpdateConversationMetadataRequest) returns (UpdateConversationMetadataResponse) {}
|
|
rpc CreateTranscriptOverview(CreateTranscriptOverviewRequest) returns (CreateTranscriptOverviewResponse) {}
|
|
rpc GetUsableModels(GetUsableModelsRequest) returns (GetUsableModelsResponse) {}
|
|
rpc GetDefaultModelForCli(GetDefaultModelForCliRequest) returns (GetDefaultModelForCliResponse) {}
|
|
rpc GetAllowedModelIntents(GetAllowedModelIntentsRequest) returns (GetAllowedModelIntentsResponse) {}
|
|
rpc UploadConversationBlobs(UploadConversationBlobsRequest) returns (UploadConversationBlobsResponse) {}
|
|
rpc UploadLocalAgentRunToPromptQuality(UploadLocalAgentRunToPromptQualityRequest) returns (UploadLocalAgentRunToPromptQualityResponse) {}
|
|
rpc GetSignedUrlForAttachedMedia(GetSignedUrlForAttachedMediaRequest) returns (GetSignedUrlForAttachedMediaResponse) {}
|
|
rpc NotifyConversationClone(NotifyConversationCloneRequest) returns (NotifyConversationCloneResponse) {}
|
|
rpc GetNewChatNudgeLegacyModelPicker(GetNewChatNudgeLegacyModelPickerRequest) returns (GetNewChatNudgeLegacyModelPickerResponse) {}
|
|
rpc GetNewChatNudgeParameterizedModelPicker(GetNewChatNudgeParameterizedModelPickerRequest) returns (GetNewChatNudgeParameterizedModelPickerResponse) {}
|
|
}
|
|
|