syntax = "proto3"; package agent.v1; import "google/protobuf/empty.proto"; import "google/protobuf/struct.proto"; option go_package = "github.com/leookun/cursor-byok/cursor-proto/gen/agent/v1;agentv1"; // Copied from: local:agent.v1.AbortAgentHostBackgroundWorkRequest (var: cRd) message AbortAgentHostBackgroundWorkRequest { string session_id = 1; string work_id = 2; } // Copied from: local:agent.v1.AbortAgentHostBackgroundWorkResponse (var: lRd) message AbortAgentHostBackgroundWorkResponse { bool aborted = 1; } // Copied from: local:agent.v1.AbortAllAgentHostBackgroundWorkRequest (var: uRd) message AbortAllAgentHostBackgroundWorkRequest { string session_id = 1; optional AgentHostBackgroundWorkKind kind = 2; optional AgentHostBackgroundWorkState state = 3; optional string owner_id = 4; } // Copied from: local:agent.v1.AbortAllAgentHostBackgroundWorkResponse (var: dRd) message AbortAllAgentHostBackgroundWorkResponse { uint32 aborted_count = 1; } // 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: Fvs) message ActiveBranchChange { string path = 1; string branch_name = 2; } // Copied from: local:agent.v1.AfterAgentResponseRequestQuery (var: Axl) 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: Ixl) message AfterAgentResponseRequestResponse { } // Copied from: local:agent.v1.AfterAgentThoughtRequestQuery (var: Dxl) 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: Rxl) message AfterAgentThoughtRequestResponse { } // Copied from: local:agent.v1.AgentClientMessage (var: kxe) 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: xi) message AgentConversationTurn { UserMessage user_message = 1; repeated ConversationStep steps = 2; optional string request_id = 3; } // Copied from: local:agent.v1.AgentConversationTurnStructure (var: gfn) 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; repeated uint32 send_message_step_indices = 6; } // Copied from: local:agent.v1.AgentHostBackgroundWork (var: aRd) message AgentHostBackgroundWork { string id = 1; AgentHostBackgroundWorkKind kind = 2; AgentHostBackgroundWorkState state = 3; optional string owner_id = 4; bool has_abort = 5; map metadata = 6; } // Copied from: local:agent.v1.AgentHostBackgroundWorkKind (var: txn) enum AgentHostBackgroundWorkKind { AGENT_HOST_BACKGROUND_WORK_KIND_UNSPECIFIED = 0; AGENT_HOST_BACKGROUND_WORK_KIND_SHELL = 1; AGENT_HOST_BACKGROUND_WORK_KIND_SUBAGENT = 2; } // Copied from: local:agent.v1.AgentHostBackgroundWorkState (var: Aeo) enum AgentHostBackgroundWorkState { AGENT_HOST_BACKGROUND_WORK_STATE_UNSPECIFIED = 0; AGENT_HOST_BACKGROUND_WORK_STATE_RUNNING = 1; AGENT_HOST_BACKGROUND_WORK_STATE_QUEUED = 2; } // Copied from: local:agent.v1.AgentHostInteractionCancelled (var: Ckf) message AgentHostInteractionCancelled { optional string reason = 1; } // Copied from: local:agent.v1.AgentHostInteractionFailed (var: Ekf) message AgentHostInteractionFailed { string error = 1; } // Copied from: local:agent.v1.AgentHostInteractionResolved (var: xkf) message AgentHostInteractionResolved { string turn_id = 1; string interaction_id = 2; oneof resolution { InteractionResponse responded = 3; AgentHostInteractionCancelled cancelled = 4; AgentHostInteractionFailed failed = 5; } } // Copied from: local:agent.v1.AgentHostInteractionResponseStatus (var: C3t) enum AgentHostInteractionResponseStatus { AGENT_HOST_INTERACTION_RESPONSE_STATUS_UNSPECIFIED = 0; AGENT_HOST_INTERACTION_RESPONSE_STATUS_ACCEPTED = 1; AGENT_HOST_INTERACTION_RESPONSE_STATUS_ALREADY_RESOLVED = 2; AGENT_HOST_INTERACTION_RESPONSE_STATUS_NOT_FOUND = 3; } // Copied from: local:agent.v1.AgentHostPendingInteraction (var: V3i) message AgentHostPendingInteraction { string interaction_id = 1; string turn_id = 2; InteractionQuery query = 3; } // Copied from: local:agent.v1.AgentHostSession (var: f4e) message AgentHostSession { string session_id = 1; AgentHostSessionStatus status = 2; uint64 last_event_id = 3; optional string forked_from_session_id = 4; optional SessionParent parent = 5; } // Copied from: local:agent.v1.AgentHostSessionAdded (var: eRd) message AgentHostSessionAdded { AgentHostSession session = 1; } // Copied from: local:agent.v1.AgentHostSessionBackgroundWorkSnapshot (var: ykf) message AgentHostSessionBackgroundWorkSnapshot { repeated AgentHostBackgroundWork work = 1; } // Copied from: local:agent.v1.AgentHostSessionBackgroundWorkState (var: wkf) message AgentHostSessionBackgroundWorkState { repeated AgentHostBackgroundWork work = 1; } // Copied from: local:agent.v1.AgentHostSessionDeleted (var: tRd) message AgentHostSessionDeleted { string session_id = 1; } // Copied from: local:agent.v1.AgentHostSessionEvent (var: jKe) message AgentHostSessionEvent { uint64 event_id = 1; oneof event { InteractionUpdate interaction_update = 2; ConversationStateStructure conversation_state = 3; AgentHostTurnStarted turn_started = 4; AgentHostTurnAwaitingInput turn_awaiting_input = 8; AgentHostTurnSettled turn_settled = 9; AgentHostInteractionResolved interaction_resolved = 10; AgentHostSubagentStarted subagent_started = 11; } } // Copied from: local:agent.v1.AgentHostSessionInteractionsSnapshot (var: bkf) message AgentHostSessionInteractionsSnapshot { repeated AgentHostPendingInteraction interactions = 1; } // Copied from: local:agent.v1.AgentHostSessionInteractionsState (var: _kf) message AgentHostSessionInteractionsState { repeated AgentHostPendingInteraction interactions = 1; } // Copied from: local:agent.v1.AgentHostSessionOptions (var: YDd) message AgentHostSessionOptions { repeated string workspace_paths = 1; optional string worktree_main_path = 2; optional bool is_glass_root = 3; optional SubagentInteractionPolicy interaction_policy = 4; } // Copied from: local:agent.v1.AgentHostSessionStatus (var: zwe) enum AgentHostSessionStatus { AGENT_HOST_SESSION_STATUS_UNSPECIFIED = 0; AGENT_HOST_SESSION_STATUS_IDLE = 1; AGENT_HOST_SESSION_STATUS_RUNNING = 2; AGENT_HOST_SESSION_STATUS_AWAITING_INPUT = 3; } // Copied from: local:agent.v1.AgentHostSessionUpdated (var: Deo) message AgentHostSessionUpdated { AgentHostSession session = 1; } // Copied from: local:agent.v1.AgentHostSessionsSnapshot (var: XDd) message AgentHostSessionsSnapshot { repeated AgentHostSession sessions = 1; } // Copied from: local:agent.v1.AgentHostSubagentStarted (var: Skf) message AgentHostSubagentStarted { string turn_id = 1; string parent_tool_call_id = 2; string child_session_id = 3; string root_session_id = 4; } // Copied from: local:agent.v1.AgentHostTurnAwaitingInput (var: kkf) message AgentHostTurnAwaitingInput { string turn_id = 1; string request_id = 2; string interaction_id = 3; InteractionQuery query = 4; } // Copied from: local:agent.v1.AgentHostTurnOptions (var: Ueo) message AgentHostTurnOptions { optional string generation_uuid = 1; optional string custom_system_prompt = 2; optional bool exclude_workspace_context = 3; optional bool enable_agent_retries = 4; optional uint32 fixed_retry_delay_ms = 5; optional bool endless_retries = 6; optional string agent_session_id = 7; } // Copied from: local:agent.v1.AgentHostTurnOutcome (var: $Ke) enum AgentHostTurnOutcome { AGENT_HOST_TURN_OUTCOME_UNSPECIFIED = 0; AGENT_HOST_TURN_OUTCOME_COMPLETED = 1; AGENT_HOST_TURN_OUTCOME_INTERRUPTED = 2; AGENT_HOST_TURN_OUTCOME_FAILED = 3; } // Copied from: local:agent.v1.AgentHostTurnSettled (var: Beo) message AgentHostTurnSettled { string turn_id = 1; AgentHostTurnOutcome outcome = 2; optional string detail = 3; } // Copied from: local:agent.v1.AgentHostTurnStarted (var: hRd) message AgentHostTurnStarted { string turn_id = 1; } // Copied from: local:agent.v1.AgentMode (var: O1) 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: Tvs) 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; optional string agent_session_id = 26; optional bool client_supports_prompt_context_usage_rpc = 27; } // Copied from: local:agent.v1.AgentServerMessage (var: qW) 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: Olt) 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.AgentStoreClaimConfig (var: YCf) message AgentStoreClaimConfig { AgentStoreSelfClaimConfig self = 1; repeated AgentStoreClaimMount mounts = 2; optional bool store_backed_artifacts_enabled = 3; } // Copied from: local:agent.v1.AgentStoreClaimMount (var: JCf) message AgentStoreClaimMount { AgentStoreClaimMountKind kind = 1; string source_id = 2; } // Copied from: local:agent.v1.AgentStoreClaimMountKind (var: KCf) enum AgentStoreClaimMountKind { AGENT_STORE_CLAIM_MOUNT_KIND_UNSPECIFIED = 0; AGENT_STORE_CLAIM_MOUNT_KIND_SELF = 1; AGENT_STORE_CLAIM_MOUNT_KIND_USER = 2; AGENT_STORE_CLAIM_MOUNT_KIND_TEAM = 3; AGENT_STORE_CLAIM_MOUNT_KIND_AUTOMATION = 4; AGENT_STORE_CLAIM_MOUNT_KIND_CLOUD_PEER = 5; } // Copied from: local:agent.v1.AgentStoreConflictArgs (var: SAl) message AgentStoreConflictArgs { optional AgentStoreConflictCursor cursor = 1; optional bool advance = 2; } // Copied from: local:agent.v1.AgentStoreConflictCursor (var: Y_s) message AgentStoreConflictCursor { string journal_epoch = 1; uint64 seq = 2; string last_event_id = 3; } // Copied from: local:agent.v1.AgentStoreConflictError (var: xAl) message AgentStoreConflictError { string error = 1; } // Copied from: local:agent.v1.AgentStoreConflictEvent (var: kAl) 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: CAl) message AgentStoreConflictResult { oneof result { AgentStoreConflictSuccess success = 1; AgentStoreConflictError error = 2; } } // Copied from: local:agent.v1.AgentStoreConflictSuccess (var: EAl) message AgentStoreConflictSuccess { repeated AgentStoreConflictEvent events = 1; AgentStoreConflictCursor next_cursor = 2; bool gap = 3; } // Copied from: local:agent.v1.AgentStoreSelfClaimConfig (var: ZCf) message AgentStoreSelfClaimConfig { } // Copied from: local:agent.v1.AiAttributionArgs (var: brs) 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: Zll) message AiAttributionError { string error = 1; } // Copied from: local:agent.v1.AiAttributionResult (var: xfi) message AiAttributionResult { oneof result { AiAttributionSuccess success = 1; AiAttributionError error = 2; } } // Copied from: local:agent.v1.AiAttributionSuccess (var: Yll) message AiAttributionSuccess { string attribution_text = 1; optional OutputLocation output_location = 2; } // Copied from: local:agent.v1.AiAttributionToolCall (var: Jll) message AiAttributionToolCall { AiAttributionArgs args = 1; AiAttributionResult result = 2; } // Copied from: local:agent.v1.ApiKeyCredentials (var: e2e) message ApiKeyCredentials { string api_key = 1; optional string base_url = 2; } // Copied from: local:agent.v1.AppliedAgentChange (var: mrs) message AppliedAgentChange { // Copied from: local:agent.v1.AppliedAgentChange.ChangeType (var: Vll) 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: prs) message ApplyAgentDiffArgs { string agent_id = 1; } // Copied from: local:agent.v1.ApplyAgentDiffError (var: Gll) message ApplyAgentDiffError { string error = 1; repeated AppliedAgentChange applied_changes = 2; } // Copied from: local:agent.v1.ApplyAgentDiffResult (var: apn) message ApplyAgentDiffResult { oneof result { ApplyAgentDiffSuccess success = 1; ApplyAgentDiffError error = 2; } } // Copied from: local:agent.v1.ApplyAgentDiffSuccess (var: zll) message ApplyAgentDiffSuccess { repeated AppliedAgentChange applied_changes = 1; } // Copied from: local:agent.v1.ApplyAgentDiffToolCall (var: hrs) message ApplyAgentDiffToolCall { ApplyAgentDiffArgs args = 1; ApplyAgentDiffResult result = 2; } // Copied from: local:agent.v1.ArtifactPathError (var: yCf) message ArtifactPathError { ArtifactPathErrorKind kind = 1; string code = 2; string message = 3; } // Copied from: local:agent.v1.ArtifactPathErrorKind (var: Rkf) enum ArtifactPathErrorKind { ARTIFACT_PATH_ERROR_KIND_UNSPECIFIED = 0; ARTIFACT_PATH_ERROR_KIND_MISSING = 1; ARTIFACT_PATH_ERROR_KIND_PERMISSION = 2; ARTIFACT_PATH_ERROR_KIND_NOT_A_FILE = 3; ARTIFACT_PATH_ERROR_KIND_INVALID_PATH = 4; ARTIFACT_PATH_ERROR_KIND_UNKNOWN = 5; } // Copied from: local:agent.v1.ArtifactRestoreStatus (var: Pkf) enum ArtifactRestoreStatus { ARTIFACT_RESTORE_STATUS_UNSPECIFIED = 0; ARTIFACT_RESTORE_STATUS_RESTORED = 1; ARTIFACT_RESTORE_STATUS_SKIPPED_ALREADY_EXISTS = 2; ARTIFACT_RESTORE_STATUS_REJECTED = 3; } // Copied from: local:agent.v1.ArtifactUploadDispatchResult (var: CCf) message ArtifactUploadDispatchResult { string absolute_path = 1; ArtifactUploadDispatchStatus status = 2; string message = 3; optional string slack_file_id = 4; } // Copied from: local:agent.v1.ArtifactUploadDispatchStatus (var: Mkf) enum ArtifactUploadDispatchStatus { ARTIFACT_UPLOAD_DISPATCH_STATUS_UNSPECIFIED = 0; ARTIFACT_UPLOAD_DISPATCH_STATUS_ACCEPTED = 1; ARTIFACT_UPLOAD_DISPATCH_STATUS_REJECTED = 2; ARTIFACT_UPLOAD_DISPATCH_STATUS_SKIPPED_ALREADY_IN_PROGRESS = 3; } // Copied from: local:agent.v1.ArtifactUploadInstruction (var: kCf) message ArtifactUploadInstruction { string absolute_path = 1; string upload_url = 2; string method = 3; map headers = 4; optional string content_type = 5; optional string slack_upload_url = 6; optional string slack_file_id = 7; } // Copied from: local:agent.v1.ArtifactUploadMetadata (var: _Cf) message ArtifactUploadMetadata { string absolute_path = 1; uint64 size_bytes = 2; int64 updated_at_unix_ms = 3; ArtifactUploadStatus status = 4; uint64 bytes_uploaded = 5; string last_error = 6; uint32 upload_attempts = 7; int64 last_started_at_unix_ms = 8; int64 last_finished_at_unix_ms = 9; string upload_id = 10; } // Copied from: local:agent.v1.ArtifactUploadStatus (var: Dkf) enum ArtifactUploadStatus { ARTIFACT_UPLOAD_STATUS_UNSPECIFIED = 0; ARTIFACT_UPLOAD_STATUS_NOT_STARTED = 1; ARTIFACT_UPLOAD_STATUS_IN_PROGRESS = 2; ARTIFACT_UPLOAD_STATUS_COMPLETED = 3; ARTIFACT_UPLOAD_STATUS_FAILED = 4; } // Copied from: local:agent.v1.AskQuestionArgs (var: fLt) message AskQuestionArgs { // Copied from: local:agent.v1.AskQuestionArgs.Option (var: Ygs) message Option { string id = 1; string label = 2; } // Copied from: local:agent.v1.AskQuestionArgs.Question (var: Qgs) 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: Ekl) message AskQuestionAsync { } // Copied from: local:agent.v1.AskQuestionError (var: xkl) message AskQuestionError { string error_message = 1; } // Copied from: local:agent.v1.AskQuestionInteractionQuery (var: bxl) message AskQuestionInteractionQuery { AskQuestionArgs args = 1; string tool_call_id = 2; } // Copied from: local:agent.v1.AskQuestionInteractionResponse (var: i2e) message AskQuestionInteractionResponse { AskQuestionResult result = 1; } // Copied from: local:agent.v1.AskQuestionRejected (var: bLt) message AskQuestionRejected { string reason = 1; } // Copied from: local:agent.v1.AskQuestionResult (var: Qse) message AskQuestionResult { oneof result { AskQuestionSuccess success = 1; AskQuestionError error = 2; AskQuestionRejected rejected = 3; AskQuestionAsync async = 4; } } // Copied from: local:agent.v1.AskQuestionSuccess (var: vLt) message AskQuestionSuccess { // Copied from: local:agent.v1.AskQuestionSuccess.Answer (var: Qgn) 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: Kgs) message AskQuestionToolCall { AskQuestionArgs args = 1; AskQuestionResult result = 2; } // Copied from: local:agent.v1.AssistantMessage (var: Ult) message AssistantMessage { string text = 1; } // Copied from: local:agent.v1.AsyncAskQuestionCompletionAction (var: mvs) message AsyncAskQuestionCompletionAction { string original_tool_call_id = 1; AskQuestionArgs original_args = 2; AskQuestionResult result = 3; } // Copied from: local:agent.v1.AttachAgentHostSessionRequest (var: ixn) message AttachAgentHostSessionRequest { string session_id = 1; optional uint64 last_event_id = 2; } // Copied from: local:agent.v1.AttachPtyRequest (var: s0f) message AttachPtyRequest { string pty_id = 1; optional string last_event_id = 2; } // Copied from: local:agent.v1.AttachTmuxSessionRequest (var: E0f) message AttachTmuxSessionRequest { string session_id = 1; uint32 cols = 2; uint32 rows = 3; } // Copied from: local:agent.v1.AttachTmuxSessionResponse (var: x0f) message AttachTmuxSessionResponse { string pty_id = 1; TmuxSession session = 2; } // Copied from: local:agent.v1.AwaitArgs (var: yCl) message AwaitArgs { string task_id = 1; optional uint32 block_until_ms = 2; optional string regex = 3; } // Copied from: local:agent.v1.AwaitError (var: wCl) message AwaitError { string error = 1; } // Copied from: local:agent.v1.AwaitResult (var: kCl) message AwaitResult { oneof result { AwaitTaskComplete complete = 1; AwaitTaskStillRunning still_running = 2; AwaitError error = 3; AwaitSuccess success = 4; } } // Copied from: local:agent.v1.AwaitSuccess (var: SCl) message AwaitSuccess { oneof await_result { AwaitTaskComplete complete = 1; AwaitTaskStillRunning still_running = 2; } } // Copied from: local:agent.v1.AwaitTaskComplete (var: dfs) 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: hfs) 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: CCl) message AwaitToolCall { AwaitArgs args = 1; AwaitResult result = 2; } // Copied from: local:agent.v1.AzureCredentials (var: t2e) message AzureCredentials { string api_key = 1; string base_url = 2; string deployment = 3; } // Copied from: local:agent.v1.BackgroundShellAction (var: svs) message BackgroundShellAction { string tool_call_id = 1; } // Copied from: local:agent.v1.BackgroundShellSpawnArgs (var: Lll) 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; repeated string admin_command_denylist = 14; } // Copied from: local:agent.v1.BackgroundShellSpawnError (var: Oll) message BackgroundShellSpawnError { string command = 1; string working_directory = 2; string error = 3; } // Copied from: local:agent.v1.BackgroundShellSpawnResult (var: drs) 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: Nll) message BackgroundShellSpawnSuccess { uint32 shell_id = 1; string command = 2; string working_directory = 3; optional uint32 pid = 4; } // Copied from: local:agent.v1.BackgroundSubagentAction (var: ovs) message BackgroundSubagentAction { string tool_call_id = 1; } // Copied from: local:agent.v1.BackgroundTaskCompletion (var: nvs) 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; BackgroundTaskNotificationContext notification_context = 11; } // Copied from: local:agent.v1.BackgroundTaskCompletionAction (var: tvs) message BackgroundTaskCompletionAction { repeated BackgroundTaskCompletion completions = 1; } // Copied from: local:agent.v1.BackgroundTaskCompletionReason (var: lfn) 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: Ewi) enum BackgroundTaskKind { BACKGROUND_TASK_KIND_UNSPECIFIED = 0; BACKGROUND_TASK_KIND_SHELL = 1; BACKGROUND_TASK_KIND_SUBAGENT = 2; } // Copied from: local:agent.v1.BackgroundTaskNotificationContext (var: Jfs) enum BackgroundTaskNotificationContext { BACKGROUND_TASK_NOTIFICATION_CONTEXT_UNSPECIFIED = 0; BACKGROUND_TASK_NOTIFICATION_CONTEXT_USER_DRIVEN_INTERACTIVE_CHILD = 1; } // Copied from: local:agent.v1.BackgroundTaskStatus (var: cfn) 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.BatchGetDiffError (var: pCf) message BatchGetDiffError { BatchGetDiffErrorKind kind = 1; string message = 2; } // Copied from: local:agent.v1.BatchGetDiffErrorKind (var: Ikf) enum BatchGetDiffErrorKind { BATCH_GET_DIFF_ERROR_KIND_UNSPECIFIED = 0; BATCH_GET_DIFF_ERROR_KIND_FETCH_FAILED = 1; BATCH_GET_DIFF_ERROR_KIND_DIFF_FAILED = 2; BATCH_GET_DIFF_ERROR_KIND_UNAUTHENTICATED = 3; BATCH_GET_DIFF_ERROR_KIND_NOT_FOUND = 4; BATCH_GET_DIFF_ERROR_KIND_INTERNAL = 5; } // Copied from: local:agent.v1.BatchGetDiffItem (var: uCf) message BatchGetDiffItem { GetDiffRequest diff_request = 1; repeated string fetch_branches = 2; } // Copied from: local:agent.v1.BatchGetDiffRequest (var: lCf) message BatchGetDiffRequest { repeated BatchGetDiffItem items = 1; } // Copied from: local:agent.v1.BatchGetDiffResponse (var: dCf) message BatchGetDiffResponse { repeated BatchGetDiffResult results = 1; } // Copied from: local:agent.v1.BatchGetDiffResult (var: hCf) message BatchGetDiffResult { uint32 item_index = 1; repeated string fetched_branches = 4; repeated string failed_branches = 5; oneof result { GetDiffResponse diff = 2; BatchGetDiffError error = 3; } } // Copied from: local:agent.v1.BedrockCredentials (var: n2e) 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: Exl) message BeforeSubmitPromptAttachment { string type = 1; string file_path = 2; } // Copied from: local:agent.v1.BeforeSubmitPromptRequestQuery (var: xxl) 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: Txl) message BeforeSubmitPromptRequestResponse { optional bool continue = 1; optional string user_message = 2; optional string additional_context = 3; } // Copied from: aiserver.v1.BidiPollRequest (var: vFe) message BidiPollRequest { BidiRequestId request_id = 1; optional bool start_request = 2; } // Copied from: aiserver.v1.BidiPollResponse (var: bFe) message BidiPollResponse { int64 seqno = 1; string data = 2; optional bool eof = 3; } // Copied from: aiserver.v1.BidiRequestId (var: Iye) message BidiRequestId { string request_id = 1; } // Copied from: local:agent.v1.BlameByFilePathArgs (var: ECl) message BlameByFilePathArgs { string file_path = 1; optional int32 start_line = 2; optional int32 end_line = 3; } // Copied from: local:agent.v1.BlameByFilePathError (var: TCl) message BlameByFilePathError { string error_message = 1; } // Copied from: local:agent.v1.BlameByFilePathResult (var: ACl) message BlameByFilePathResult { oneof result { BlameByFilePathSuccess success = 1; BlameByFilePathError error = 2; } } // Copied from: local:agent.v1.BlameByFilePathSuccess (var: xCl) message BlameByFilePathSuccess { string content = 1; } // Copied from: local:agent.v1.BlameByFilePathToolCall (var: ICl) message BlameByFilePathToolCall { BlameByFilePathArgs args = 1; BlameByFilePathResult result = 2; } // Copied from: local:agent.v1.BlobEntry (var: hys) message BlobEntry { bytes id = 1; bytes value = 2; } // Copied from: local:agent.v1.BugfixResultItem (var: Ufi) 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: Chl) 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: Z1l) 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: pvs) message CancelAction { string reason = 1; optional InterruptedPendingToolCallResolutions interrupted_pending_tool_call_resolutions = 3; } // Copied from: local:agent.v1.CancelQueuedAgentHostTurnRequest (var: Peo) message CancelQueuedAgentHostTurnRequest { string session_id = 1; string turn_id = 2; optional string reason = 3; } // Copied from: local:agent.v1.CancelQueuedAgentHostTurnResponse (var: oRd) message CancelQueuedAgentHostTurnResponse { bool cancelled = 1; } // Copied from: local:agent.v1.CancelSubagentAction (var: rvs) message CancelSubagentAction { string subagent_id = 1; } // Copied from: local:agent.v1.CanvasDiagnosticsArgs (var: PTl) message CanvasDiagnosticsArgs { string path = 1; string tool_call_id = 2; } // Copied from: local:agent.v1.CanvasDiagnosticsError (var: OTl) message CanvasDiagnosticsError { string path = 1; string error = 2; } // Copied from: local:agent.v1.CanvasDiagnosticsResult (var: LTl) message CanvasDiagnosticsResult { oneof result { CanvasDiagnosticsSuccess success = 1; CanvasDiagnosticsError error = 2; } } // Copied from: local:agent.v1.CanvasDiagnosticsSuccess (var: NTl) message CanvasDiagnosticsSuccess { string path = 1; repeated Diagnostic diagnostics = 2; } // Copied from: local:agent.v1.ClaimWorkerRequest (var: XCf) message ClaimWorkerRequest { string http_mcp_config_json = 1; string mcp_config_json = 2; string bc_id = 3; AgentStoreClaimConfig agent_store_claim_config = 4; } // Copied from: local:agent.v1.ClickAction (var: mhl) message ClickAction { optional Coordinate coordinate = 1; MouseButton button = 2; int32 count = 3; optional string modifier_keys = 4; } // Copied from: local:agent.v1.ClickEffectKeyframe (var: Rn) message ClickEffectKeyframe { int64 video_timestamp_ms = 1; int32 x = 2; int32 y = 3; ClickType click_type = 4; int32 action_index = 5; bool has_modifiers = 6; } // Copied from: local:agent.v1.ClickType (var: Tn) enum ClickType { CLICK_TYPE_UNSPECIFIED = 0; CLICK_TYPE_SINGLE = 1; CLICK_TYPE_DOUBLE = 2; CLICK_TYPE_TRIPLE = 3; CLICK_TYPE_RIGHT = 4; CLICK_TYPE_MIDDLE = 5; } // Copied from: local:agent.v1.ClientContinuationConfig (var: TTl) 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: X_s) message ClientHeartbeat { } // Copied from: local:agent.v1.CloudSubagentReference (var: Evs) message CloudSubagentReference { string bc_id = 1; optional string transcript_path = 2; } // Copied from: aiserver.v1.CodeBlock (var: HI) message CodeBlock { // Copied from: aiserver.v1.CodeBlock.Signatures (var: kcl) 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: oP) message CodeResult { CodeBlock code_block = 1; float score = 2; } // Copied from: local:agent.v1.CommandClassifierResult (var: ipn) message CommandClassifierResult { // Copied from: local:agent.v1.CommandClassifierResult.ClassifiedCommand (var: All) 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: Tll) 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: UCl) message CommunicateUpdateArgs { optional string current_step = 1; optional string final_summary = 3; optional string completed_subtitle = 4; } // Copied from: local:agent.v1.CommunicateUpdateError (var: jCl) message CommunicateUpdateError { string error = 1; } // Copied from: local:agent.v1.CommunicateUpdateHistoryEntry (var: Cvs) message CommunicateUpdateHistoryEntry { string step = 1; uint32 message_index = 3; } // Copied from: local:agent.v1.CommunicateUpdateResult (var: WCl) message CommunicateUpdateResult { oneof result { CommunicateUpdateSuccess success = 1; CommunicateUpdateError error = 2; } } // Copied from: local:agent.v1.CommunicateUpdateSuccess (var: $Cl) message CommunicateUpdateSuccess { string current_step = 1; uint32 message_index = 3; } // Copied from: local:agent.v1.CommunicateUpdateToolCall (var: HCl) message CommunicateUpdateToolCall { CommunicateUpdateArgs args = 1; CommunicateUpdateResult result = 2; } // Copied from: local:agent.v1.CommunicateUpdateTurnState (var: axl) message CommunicateUpdateTurnState { repeated CommunicateUpdateHistoryEntry history = 1; optional string final_summary = 2; optional string completed_subtitle = 3; } // Copied from: local:agent.v1.ComputerUseAction (var: Vrs) 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: Bfi) message ComputerUseArgs { string tool_call_id = 1; repeated ComputerUseAction actions = 2; optional string description = 3; } // Copied from: local:agent.v1.ComputerUseError (var: qrs) 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: ppn) message ComputerUseResult { oneof result { ComputerUseSuccess success = 1; ComputerUseError error = 2; } } // Copied from: local:agent.v1.ComputerUseSuccess (var: Grs) 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: Krs) message ComputerUseToolCall { ComputerUseArgs args = 1; ComputerUseResult result = 2; } // Copied from: local:agent.v1.ConnectScmArgs (var: lwi) message ConnectScmArgs { string tool_call_id = 1; oneof target { ConnectScmGithub github = 2; } } // Copied from: local:agent.v1.ConnectScmError (var: wfs) message ConnectScmError { string error = 1; } // Copied from: local:agent.v1.ConnectScmGithub (var: vfs) message ConnectScmGithub { ConnectScmGithubRepository repository = 1; optional string ghe_application = 2; } // Copied from: local:agent.v1.ConnectScmGithubRepository (var: bfs) message ConnectScmGithubRepository { string owner = 1; string repo = 2; } // Copied from: local:agent.v1.ConnectScmRejected (var: Sfs) message ConnectScmRejected { string reason = 1; } // Copied from: local:agent.v1.ConnectScmRequestQuery (var: _1l) message ConnectScmRequestQuery { ConnectScmArgs args = 1; } // Copied from: local:agent.v1.ConnectScmRequestResponse (var: rze) message ConnectScmRequestResponse { // Copied from: local:agent.v1.ConnectScmRequestResponse.Approved (var: uwi) message Approved { } // Copied from: local:agent.v1.ConnectScmRequestResponse.Failed (var: hwi) message Failed { string error = 1; } // Copied from: local:agent.v1.ConnectScmRequestResponse.Rejected (var: dwi) message Rejected { string reason = 1; } oneof result { Approved approved = 1; Rejected rejected = 2; Failed failed = 3; } } // Copied from: local:agent.v1.ConnectScmResult (var: _fs) message ConnectScmResult { oneof result { ConnectScmSuccess success = 1; ConnectScmError error = 2; ConnectScmRejected rejected = 3; } } // Copied from: local:agent.v1.ConnectScmSuccess (var: yfs) message ConnectScmSuccess { } // Copied from: local:agent.v1.ConnectScmToolCall (var: kfs) message ConnectScmToolCall { ConnectScmArgs args = 1; ConnectScmResult result = 2; } // Copied from: local:agent.v1.ContextInjectionCancelled (var: HEl) message ContextInjectionCancelled { } // Copied from: local:agent.v1.ContextInjectionDelivered (var: jEl) message ContextInjectionDelivered { int32 step = 1; string delivery_batch_id = 2; int64 delivered_at_ms = 3; } // Copied from: local:agent.v1.ContextInjectionQueued (var: $El) message ContextInjectionQueued { } // Copied from: local:agent.v1.ContextInjectionQueuedForNextTurn (var: WEl) message ContextInjectionQueuedForNextTurn { } // Copied from: local:agent.v1.ContextInjectionRejected (var: zEl) message ContextInjectionRejected { string reason = 1; } // Copied from: local:agent.v1.ContextInjectionState (var: UEl) 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: fxl) message ContextInjectionStateUpdate { string injection_id = 1; ContextInjectionState state = 2; } // Copied from: local:agent.v1.ConversationAction (var: vE) 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: xEl) message ConversationHistory { repeated ConversationHistoryMessage messages = 1; optional bool replace_user_info = 2; } // Copied from: local:agent.v1.ConversationHistoryAssistantContent (var: REl) 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: DEl) message ConversationHistoryAssistantMessage { repeated ConversationHistoryAssistantContent content = 1; } // Copied from: local:agent.v1.ConversationHistoryImageContent (var: avs) message ConversationHistoryImageContent { string data = 1; optional string mime_type = 2; } // Copied from: local:agent.v1.ConversationHistoryMessage (var: TEl) message ConversationHistoryMessage { oneof message { ConversationHistoryUserMessage user = 1; ConversationHistoryAssistantMessage assistant = 2; ConversationHistoryToolMessage tool = 3; } } // Copied from: local:agent.v1.ConversationHistoryReasoningContent (var: MEl) message ConversationHistoryReasoningContent { string text = 1; optional string signature = 2; } // Copied from: local:agent.v1.ConversationHistoryRedactedReasoningContent (var: PEl) message ConversationHistoryRedactedReasoningContent { string data = 1; } // Copied from: local:agent.v1.ConversationHistoryTextContent (var: Dwi) message ConversationHistoryTextContent { string text = 1; } // Copied from: local:agent.v1.ConversationHistoryToolCall (var: LEl) message ConversationHistoryToolCall { string tool_call_id = 1; string tool_name = 2; string args_json = 3; } // Copied from: local:agent.v1.ConversationHistoryToolMessage (var: NEl) 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: OEl) message ConversationHistoryToolResultContent { oneof content { ConversationHistoryTextContent text = 1; ConversationHistoryImageContent image = 2; } } // Copied from: local:agent.v1.ConversationHistoryUserContent (var: IEl) message ConversationHistoryUserContent { oneof content { ConversationHistoryTextContent text = 1; ConversationHistoryImageContent image = 2; } } // Copied from: local:agent.v1.ConversationHistoryUserMessage (var: AEl) message ConversationHistoryUserMessage { repeated ConversationHistoryUserContent content = 1; } // Copied from: local:agent.v1.ConversationPlan (var: YEl) message ConversationPlan { string plan = 1; } // Copied from: local:agent.v1.ConversationSearchArgs (var: gwi) message ConversationSearchArgs { string query = 1; string tool_call_id = 2; optional int32 limit = 3; } // Copied from: local:agent.v1.ConversationSearchError (var: xfs) message ConversationSearchError { string error = 1; } // Copied from: local:agent.v1.ConversationSearchHit (var: Efs) 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: ifn) message ConversationSearchResult { oneof result { ConversationSearchSuccess success = 1; ConversationSearchError error = 2; } } // Copied from: local:agent.v1.ConversationSearchSource (var: mwi) 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: Cfs) message ConversationSearchSuccess { repeated ConversationSearchHit hits = 1; bool truncated = 2; bool partial = 3; bool rebuilding = 4; } // Copied from: local:agent.v1.ConversationState (var: ra) 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 file_states = 10; repeated ConversationSummaryArchive summary_archives = 11; map plans = 12; repeated CommunicateUpdateHistoryEntry communicate_update_history = 13; optional string communicate_update_final_summary = 14; optional string communicate_update_completed_subtitle = 15; map communicate_update_states_by_parent_tool_call_id = 16; } // Copied from: local:agent.v1.ConversationStateStructure (var: Lf) 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 file_states = 12; map file_states_v2 = 15; repeated bytes summary_archives = 13; repeated StepTiming turn_timings = 14; map subagent_states = 16; uint32 self_summary_count = 17; repeated string read_paths = 18; optional string active_branch_name = 19; map plans = 20; repeated TrackedGitRepo tracked_git_repo_branches = 21; optional string agent_type = 22; repeated CommunicateUpdateHistoryEntry communicate_update_history = 23; map subagent_threads = 24; optional string communicate_update_final_summary = 25; optional string communicate_update_completed_subtitle = 28; map communicate_update_states_by_parent_tool_call_id = 29; map subagent_runs_by_parent_tool_call_id = 30; optional uint64 conversation_started_timestamp_ms = 26; optional string conversation_started_time_zone = 27; map subagent_state_refs = 31; optional GoalState goal_state = 32; optional bool is_root_project_conversation = 33; } // Copied from: local:agent.v1.ConversationStep (var: MG) message ConversationStep { oneof message { AssistantMessage assistant_message = 1; ToolCall tool_call = 2; ThinkingMessage thinking_message = 3; } } // Copied from: local:agent.v1.ConversationSummary (var: XEl) message ConversationSummary { string summary = 1; } // Copied from: local:agent.v1.ConversationSummaryArchive (var: wvs) 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: Nwi) message ConversationTokenDetails { uint32 used_tokens = 1; uint32 max_tokens = 2; optional PromptTokenBreakdownSnapshot breakdown = 3; optional PromptContextUsageTree prompt_context_usage_tree = 4; optional bytes prompt_context_usage_snapshot_blob_id = 5; } // Copied from: local:agent.v1.ConversationTurn (var: qi) message ConversationTurn { oneof turn { AgentConversationTurn agent_conversation_turn = 1; ShellConversationTurn shell_conversation_turn = 2; } } // Copied from: local:agent.v1.ConversationTurnStructure (var: PG) message ConversationTurnStructure { oneof turn { AgentConversationTurnStructure agent_conversation_turn = 1; ShellConversationTurnStructure shell_conversation_turn = 2; } } // Copied from: local:agent.v1.Coordinate (var: mMt) message Coordinate { int32 x = 1; int32 y = 2; } // Copied from: local:agent.v1.CreateAgentHostSessionRequest (var: QDd) message CreateAgentHostSessionRequest { string session_id = 1; optional ConversationStateStructure initial_history = 2; optional AgentHostSessionOptions session_options = 3; } // Copied from: local:agent.v1.CreateAgentHostSessionResponse (var: mkf) message CreateAgentHostSessionResponse { } // Copied from: local:agent.v1.CreateGoalArgs (var: w1l) message CreateGoalArgs { string objective = 1; } // Copied from: local:agent.v1.CreateGoalResult (var: k1l) message CreateGoalResult { oneof result { CreateGoalSuccess success = 1; GoalError error = 2; } } // Copied from: local:agent.v1.CreateGoalSuccess (var: S1l) message CreateGoalSuccess { } // Copied from: local:agent.v1.CreateGoalToolCall (var: C1l) message CreateGoalToolCall { CreateGoalArgs args = 1; CreateGoalResult result = 2; } // Copied from: local:agent.v1.CreatePlanArgs (var: Ggn) 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: Jyi) message CreatePlanError { string error = 1; } // Copied from: local:agent.v1.CreatePlanRequestQuery (var: _kl) message CreatePlanRequestQuery { CreatePlanArgs args = 1; string tool_call_id = 2; } // Copied from: local:agent.v1.CreatePlanRequestResponse (var: Xyi) message CreatePlanRequestResponse { CreatePlanResult result = 1; } // Copied from: local:agent.v1.CreatePlanResult (var: tze) message CreatePlanResult { string plan_uri = 3; oneof result { CreatePlanSuccess success = 1; CreatePlanError error = 2; } } // Copied from: local:agent.v1.CreatePlanSuccess (var: Zyi) message CreatePlanSuccess { } // Copied from: local:agent.v1.CreatePlanToolCall (var: Vgn) message CreatePlanToolCall { CreatePlanArgs args = 1; CreatePlanResult result = 2; } // Copied from: local:agent.v1.CreatePrAction (var: iCl) 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; optional int64 stack_on_pr_number = 9; } // Copied from: local:agent.v1.CreateTmuxSessionRequest (var: _0f) message CreateTmuxSessionRequest { optional string session_name = 1; string display_name = 2; TmuxSessionKind kind = 3; optional Process process = 4; string cwd = 5; map env = 6; } // Copied from: local:agent.v1.CreateTmuxSessionResponse (var: y0f) message CreateTmuxSessionResponse { TmuxSession session = 1; } // Copied from: local:agent.v1.CreateTranscriptOverviewRequest (var: sys) message CreateTranscriptOverviewRequest { string formatted_conversation = 1; } // Copied from: local:agent.v1.CreateTranscriptOverviewResponse (var: jAl) 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: local:agent.v1.CursorPath (var: bn) message CursorPath { MotionStyle style = 1; repeated CursorPathKeyframe keyframes = 2; } // Copied from: local:agent.v1.CursorPathKeyframe (var: Cn) message CursorPathKeyframe { int64 video_timestamp_ms = 1; int32 x = 2; int32 y = 3; CursorType cursor_type = 4; float velocity = 5; } // Copied from: aiserver.v1.CursorPosition (var: c5) message CursorPosition { int32 line = 1; int32 column = 2; } // Copied from: local:agent.v1.CursorPositionAction (var: khl) message CursorPositionAction { } // Copied from: aiserver.v1.CursorRange (var: UW) message CursorRange { CursorPosition start_position = 1; CursorPosition end_position = 2; } // Copied from: local:agent.v1.CursorRule (var: Kse) 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: hLt) enum CursorRuleSource { CURSOR_RULE_SOURCE_UNSPECIFIED = 0; CURSOR_RULE_SOURCE_TEAM = 1; CURSOR_RULE_SOURCE_USER = 2; } // Copied from: local:agent.v1.CursorRuleType (var: JHe) 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: DSl) message CursorRuleTypeAgentFetched { string description = 1; } // Copied from: local:agent.v1.CursorRuleTypeFileGlobs (var: _gs) message CursorRuleTypeFileGlobs { repeated string globs = 1; } // Copied from: local:agent.v1.CursorRuleTypeGlobal (var: pLt) message CursorRuleTypeGlobal { } // Copied from: local:agent.v1.CursorRuleTypeManuallyAttached (var: ygs) message CursorRuleTypeManuallyAttached { } // Copied from: local:agent.v1.CursorType (var: vn) enum CursorType { CURSOR_TYPE_UNSPECIFIED = 0; CURSOR_TYPE_ARROW = 1; CURSOR_TYPE_POINTER = 2; CURSOR_TYPE_TEXT = 3; CURSOR_TYPE_WAIT = 4; CURSOR_TYPE_CROSSHAIR = 5; CURSOR_TYPE_MOVE = 6; CURSOR_TYPE_RESIZE_NS = 7; CURSOR_TYPE_RESIZE_EW = 8; CURSOR_TYPE_RESIZE_NWSE = 9; CURSOR_TYPE_RESIZE_NESW = 10; CURSOR_TYPE_NOT_ALLOWED = 11; CURSOR_TYPE_GRAB = 12; CURSOR_TYPE_GRABBING = 13; } // Copied from: local:agent.v1.CustomModeDescriptor (var: Rwi) 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: hvs) message CustomModeExitIntent { AgentMode next_mode = 1; SubmittedExitedCustomMode exited_mode = 2; } // Copied from: local:agent.v1.CustomModeIntent (var: Mwi) message CustomModeIntent { oneof intent { SubmittedCustomMode enter = 1; CustomModeExitIntent exit = 2; } } // Copied from: local:agent.v1.CustomModeSource (var: Qee) 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: uMt) 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: ahl) 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: bwi) message DebugModeConfig { string log_path = 1; string server_endpoint = 2; string session_id = 3; } // Copied from: local:agent.v1.DecisionInput (var: Pn) message DecisionInput { string video_path = 1; int64 video_duration_ms = 2; int32 video_width = 3; int32 video_height = 4; int32 action_count = 5; repeated ZoomCandidate zoom_candidates = 10; repeated IdlePeriod idle_periods = 11; repeated ClickEffectKeyframe click_effects = 12; repeated KeystrokeEvent keystroke_events = 13; repeated CursorPath cursor_paths = 20; } // Copied from: local:agent.v1.DecisionOutput (var: Fn) message DecisionOutput { MotionStyle cursor_style = 1; repeated ZoomSelection selected_zooms = 2; repeated SpeedupSelection selected_speedups = 3; bool show_click_effects = 4; repeated int32 selected_click_effects = 5; bool show_keystrokes = 6; repeated VideoCut cuts = 7; } // Copied from: local:agent.v1.DeleteAgentHostSessionRequest (var: Meo) message DeleteAgentHostSessionRequest { string session_id = 1; } // Copied from: local:agent.v1.DeleteAgentHostSessionResponse (var: rRd) message DeleteAgentHostSessionResponse { } // Copied from: local:agent.v1.DeleteArgs (var: cLt) message DeleteArgs { string path = 1; string tool_call_id = 2; } // Copied from: local:agent.v1.DeleteError (var: Ngn) message DeleteError { string path = 1; string error = 2; } // Copied from: local:agent.v1.DeleteFileBusy (var: _Sl) message DeleteFileBusy { string path = 1; } // Copied from: local:agent.v1.DeleteFileNotFound (var: pgs) message DeleteFileNotFound { string path = 1; } // Copied from: local:agent.v1.DeleteNotFile (var: vSl) message DeleteNotFile { string path = 1; string actual_type = 2; } // Copied from: local:agent.v1.DeletePermissionDenied (var: bSl) message DeletePermissionDenied { string path = 1; string client_visible_error = 2; bool is_readonly = 3; } // Copied from: local:agent.v1.DeleteRejected (var: mgs) message DeleteRejected { string path = 1; string reason = 2; } // Copied from: local:agent.v1.DeleteResult (var: KOe) 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: hgs) message DeleteSuccess { string path = 1; string deleted_file = 2; int64 file_size = 3; string prev_content = 4; } // Copied from: local:agent.v1.DeleteToolCall (var: Clt) message DeleteToolCall { DeleteArgs args = 1; DeleteResult result = 2; } // Copied from: aiserver.v1.DetailedLine (var: hfi) message DetailedLine { string text = 1; float line_number = 2; bool is_signature = 3; } // Copied from: local:agent.v1.Diagnostic (var: Wyi) 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: GSl) 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: qSl) message DiagnosticRange { Position start = 1; Position end = 2; } // Copied from: local:agent.v1.DiagnosticSeverity (var: eze) 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: jgn) message DiagnosticsArgs { string path = 1; string tool_call_id = 2; } // Copied from: local:agent.v1.DiagnosticsError (var: Tgs) message DiagnosticsError { string path = 1; string error = 2; } // Copied from: local:agent.v1.DiagnosticsFileNotFound (var: Hyi) message DiagnosticsFileNotFound { string path = 1; } // Copied from: local:agent.v1.DiagnosticsPermissionDenied (var: HSl) message DiagnosticsPermissionDenied { string path = 1; } // Copied from: local:agent.v1.DiagnosticsRejected (var: WSl) message DiagnosticsRejected { string path = 1; string reason = 2; } // Copied from: local:agent.v1.DiagnosticsResult (var: YOe) 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: jyi) message DiagnosticsSuccess { string path = 1; repeated Diagnostic diagnostics = 2; int32 total_diagnostics = 3; } // Copied from: local:agent.v1.DirectoryEntry (var: Qkf) message DirectoryEntry { string name = 1; string path = 2; EntryType type = 3; uint64 size_bytes = 4; int64 modified_at_unix_ms = 5; } // Copied from: local:agent.v1.DownloadCursorServerRequest (var: NCf) message DownloadCursorServerRequest { string commit = 1; } // Copied from: local:agent.v1.DownloadCursorServerResponse (var: OCf) message DownloadCursorServerResponse { bool already_downloaded = 1; } // Copied from: local:agent.v1.DragAction (var: vhl) message DragAction { repeated Coordinate path = 1; MouseButton button = 2; optional string modifier_keys = 3; } // Copied from: local:agent.v1.EditArgs (var: Ugn) message EditArgs { string path = 1; optional string stream_content = 6; } // Copied from: local:agent.v1.EditError (var: Alt) message EditError { string path = 1; string error = 2; optional string model_visible_error = 5; } // Copied from: local:agent.v1.EditFileNotFound (var: BSl) message EditFileNotFound { string path = 1; } // Copied from: local:agent.v1.EditPrLabelsArgs (var: o0l) 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: l0l) message EditPrLabelsError { string error = 1; } // Copied from: local:agent.v1.EditPrLabelsResult (var: a0l) message EditPrLabelsResult { oneof result { EditPrLabelsSuccess success = 1; EditPrLabelsError error = 2; } } // Copied from: local:agent.v1.EditPrLabelsSuccess (var: c0l) message EditPrLabelsSuccess { string pr_url = 1; int32 pr_number = 2; string message = 3; } // Copied from: local:agent.v1.EditPrLabelsToolCall (var: u0l) message EditPrLabelsToolCall { EditPrLabelsArgs args = 1; EditPrLabelsResult result = 2; } // Copied from: local:agent.v1.EditReadPermissionDenied (var: USl) message EditReadPermissionDenied { string path = 1; } // Copied from: local:agent.v1.EditRejected (var: jSl) message EditRejected { string path = 1; string reason = 2; } // Copied from: local:agent.v1.EditResult (var: V_e) 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: $gn) 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: rhe) message EditToolCall { EditArgs args = 1; EditResult result = 2; } // Copied from: local:agent.v1.EditToolCallDelta (var: xgs) message EditToolCallDelta { string stream_content_delta = 1; } // Copied from: local:agent.v1.EditWritePermissionDenied (var: $Sl) message EditWritePermissionDenied { string path = 1; string error = 2; bool is_readonly = 3; } // Copied from: local:agent.v1.Empty (var: E3t) message Empty { } // Copied from: local:agent.v1.EntryType (var: Akf) enum EntryType { ENTRY_TYPE_UNSPECIFIED = 0; ENTRY_TYPE_FILE = 1; ENTRY_TYPE_DIRECTORY = 2; ENTRY_TYPE_SYMLINK = 3; } // Copied from: local:agent.v1.Error (var: J_s) message Error { string message = 1; } // Copied from: local:agent.v1.ExecClientControlMessage (var: Jee) message ExecClientControlMessage { oneof message { ExecClientStreamClose stream_close = 1; ExecClientThrow throw = 2; ExecClientHeartbeat heartbeat = 3; } } // Copied from: local:agent.v1.ExecClientHeartbeat (var: Z_s) message ExecClientHeartbeat { uint32 id = 1; } // Copied from: local:agent.v1.ExecClientMessage (var: Z_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: pSi) message ExecClientStreamClose { uint32 id = 1; } // Copied from: local:agent.v1.ExecClientThrow (var: mSi) message ExecClientThrow { uint32 id = 1; string error = 2; optional string stack_trace = 3; optional string error_code = 4; } // Copied from: local:agent.v1.ExecRequest (var: Wkf) message ExecRequest { string command = 1; optional string cwd = 2; repeated string args = 3; map environment = 4; } // Copied from: local:agent.v1.ExecResponse (var: Hkf) message ExecResponse { oneof event { StdoutEvent stdout_event = 1; StderrEvent stderr_event = 2; ExitEvent exit_event = 3; } } // Copied from: local:agent.v1.ExecServerAbort (var: eys) message ExecServerAbort { uint32 id = 1; } // Copied from: local:agent.v1.ExecServerControlMessage (var: VLt) message ExecServerControlMessage { oneof message { ExecServerAbort abort = 1; } } // Copied from: local:agent.v1.ExecServerMessage (var: Xee) 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.ExecStreamElement (var: WCf) message ExecStreamElement { oneof element { ExecClientMessage exec_client_message = 1; ExecClientControlMessage exec_client_control_message = 2; } } // Copied from: local:agent.v1.ExecuteHookArgs (var: TAl) message ExecuteHookArgs { ExecuteHookRequest request = 1; } // Copied from: local:agent.v1.ExecuteHookRequest (var: IAl) 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: DAl) 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: AAl) message ExecuteHookResult { ExecuteHookResponse response = 1; } // Copied from: local:agent.v1.ExecutePlanAction (var: Blt) 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: qEl) message ExecutePlanInfo { string plan_id = 1; string plan_title = 2; } // Copied from: local:agent.v1.ExitEvent (var: Gkf) message ExitEvent { int32 exit_code = 1; } // Copied from: local:agent.v1.ExportFileMetadata (var: iCf) message ExportFileMetadata { uint64 total_bytes = 1; } // Copied from: local:agent.v1.ExportFileRequest (var: nCf) message ExportFileRequest { string path = 1; string workspace_root_path = 2; } // Copied from: local:agent.v1.ExportFileResponse (var: rCf) message ExportFileResponse { oneof payload { bytes content_chunk = 1; ExportFileMetadata metadata = 2; } } // Copied from: local:agent.v1.ExtraContextEntry (var: G1l) message ExtraContextEntry { oneof data_or_blob_id { string data = 1; bytes blob_id = 2; } } // Copied from: local:agent.v1.FeedbackRequestCategory (var: Bvs) message FeedbackRequestCategory { string id = 1; string label = 2; } // Copied from: local:agent.v1.FeedbackRequestCategoryGroup (var: uxl) message FeedbackRequestCategoryGroup { string id = 1; string prompt = 2; repeated FeedbackRequestCategory categories = 3; } // Copied from: local:agent.v1.FeedbackRequestUpdate (var: Uvs) 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: Zgs) message FetchArgs { string url = 1; string tool_call_id = 2; } // Copied from: local:agent.v1.FetchCloudAgentDataArgs (var: E0l) 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: A0l) message FetchCloudAgentDataError { string error = 1; } // Copied from: local:agent.v1.FetchCloudAgentDataResult (var: x0l) message FetchCloudAgentDataResult { oneof result { FetchCloudAgentDataSuccess success = 1; FetchCloudAgentDataError error = 2; } } // Copied from: local:agent.v1.FetchCloudAgentDataSuccess (var: T0l) 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: I0l) message FetchCloudAgentDataToolCall { FetchCloudAgentDataArgs args = 1; FetchCloudAgentDataResult result = 2; } // Copied from: local:agent.v1.FetchError (var: Akl) message FetchError { string url = 1; string error = 2; } // Copied from: local:agent.v1.FetchResult (var: Jgs) message FetchResult { oneof result { FetchSuccess success = 1; FetchError error = 2; } } // Copied from: local:agent.v1.FetchSuccess (var: Tkl) message FetchSuccess { string url = 1; string content = 2; int32 status_code = 3; string content_type = 4; } // Copied from: local:agent.v1.FetchToolCall (var: Dkl) message FetchToolCall { FetchArgs args = 1; FetchResult result = 2; } // Copied from: local:agent.v1.FileDiagnostics (var: VSl) message FileDiagnostics { string path = 1; repeated DiagnosticItem diagnostics = 2; int32 diagnostics_count = 3; } // Copied from: aiserver.v1.FileDiff (var: TOe) message FileDiff { // Copied from: aiserver.v1.FileDiff.Chunk (var: tMt) 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: pfi) message FileGit { repeated GitCommit commits = 1; } // Copied from: local:agent.v1.FileState (var: sxl) message FileState { optional string content = 1; optional string initial_content = 2; } // Copied from: local:agent.v1.FileStateStructure (var: kvs) message FileStateStructure { optional bytes content = 1; optional bytes initial_content = 2; } // Copied from: local:agent.v1.ForceBackgroundShellArgs (var: ors) message ForceBackgroundShellArgs { string tool_call_id = 1; } // Copied from: local:agent.v1.ForceBackgroundShellResult (var: Ill) message ForceBackgroundShellResult { ForceBackgroundShellStatus status = 1; optional ShellResult shell_result = 2; } // Copied from: local:agent.v1.ForceBackgroundShellStatus (var: trs) 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: dSi) message ForceBackgroundSubagentArgs { string tool_call_id = 1; } // Copied from: local:agent.v1.ForceBackgroundSubagentResult (var: hSi) message ForceBackgroundSubagentResult { ForceBackgroundSubagentStatus status = 1; } // Copied from: local:agent.v1.ForceBackgroundSubagentStatus (var: Klt) 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.ForkAgentHostSessionRequest (var: gkf) message ForkAgentHostSessionRequest { string session_id = 1; optional string last_turn_id = 2; } // Copied from: local:agent.v1.ForkAgentHostSessionResponse (var: fkf) message ForkAgentHostSessionResponse { string session_id = 1; } // Copied from: local:agent.v1.Frame (var: pRd) message Frame { // Copied from: local:agent.v1.Frame.Kind (var: QCf) enum Kind { KIND_UNSPECIFIED = 0; KIND_REQUEST = 1; KIND_RESPONSE = 2; KIND_ERROR = 3; } string id = 1; string method = 2; bytes data = 3; Kind kind = 4; string error = 5; } // Copied from: local:agent.v1.GenerateImageArgs (var: aMt) 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: Kll) message GenerateImageError { string error = 1; } // Copied from: local:agent.v1.GenerateImageRequestQuery (var: Qll) message GenerateImageRequestQuery { GenerateImageArgs args = 1; string tool_call_id = 2; } // Copied from: local:agent.v1.GenerateImageRequestResponse (var: Efi) message GenerateImageRequestResponse { // Copied from: local:agent.v1.GenerateImageRequestResponse.Approved (var: frs) message Approved { string description = 1; } // Copied from: local:agent.v1.GenerateImageRequestResponse.Rejected (var: vrs) message Rejected { string reason = 1; } oneof result { Approved approved = 1; Rejected rejected = 2; } } // Copied from: local:agent.v1.GenerateImageResult (var: cMt) message GenerateImageResult { oneof result { GenerateImageSuccess success = 1; GenerateImageError error = 2; } } // Copied from: local:agent.v1.GenerateImageSuccess (var: qll) message GenerateImageSuccess { string file_path = 1; string image_data = 2; } // Copied from: local:agent.v1.GenerateImageToolCall (var: grs) message GenerateImageToolCall { GenerateImageArgs args = 1; GenerateImageResult result = 2; } // Copied from: local:agent.v1.GetAllowedModelIntentsRequest (var: WAl) message GetAllowedModelIntentsRequest { } // Copied from: local:agent.v1.GetAllowedModelIntentsResponse (var: HAl) message GetAllowedModelIntentsResponse { repeated string model_intents = 1; } // Copied from: local:agent.v1.GetBlobArgs (var: RAl) message GetBlobArgs { bytes blob_id = 1; } // Copied from: local:agent.v1.GetBlobResult (var: MAl) message GetBlobResult { optional bytes blob_data = 1; optional Error error = 2; } // Copied from: local:agent.v1.GetCapabilitiesRequest (var: Okf) message GetCapabilitiesRequest { } // Copied from: local:agent.v1.GetCapabilitiesResponse (var: Fkf) message GetCapabilitiesResponse { optional bool computer_use_supported = 1; optional bool install_plugin_artifact_supported = 2; } // Copied from: local:agent.v1.GetCiStatusAction (var: aCl) message GetCiStatusAction { optional string pr_url = 1; optional string branch_name = 2; optional string repo_url = 3; } // Copied from: local:agent.v1.GetDefaultModelForCliRequest (var: cys) message GetDefaultModelForCliRequest { } // Copied from: local:agent.v1.GetDefaultModelForCliResponse (var: lys) message GetDefaultModelForCliResponse { ModelDetails model = 1; } // Copied from: aiserver.v1.GetDiffRequest (var: xOe) message GetDiffRequest { // Copied from: aiserver.v1.GetDiffRequest.OutputFormat (var: Zhn) 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: ZEe) message GetDiffResponse { // Copied from: aiserver.v1.GetDiffResponse.SubmoduleDiff (var: bcl) 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.GetMcpRefreshTokensRequest (var: DCf) message GetMcpRefreshTokensRequest { } // Copied from: local:agent.v1.GetMcpRefreshTokensResponse (var: RCf) message GetMcpRefreshTokensResponse { map refresh_tokens = 1; } // Copied from: local:agent.v1.GetMcpToolsAgentResult (var: DCl) message GetMcpToolsAgentResult { oneof result { GetMcpToolsSuccess success = 1; GetMcpToolsError error = 2; } } // Copied from: local:agent.v1.GetMcpToolsArgs (var: pfs) 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: MCl) message GetMcpToolsError { string error = 1; } // Copied from: local:agent.v1.GetMcpToolsSuccess (var: RCl) message GetMcpToolsSuccess { string content = 1; optional string output_file_path = 2; } // Copied from: local:agent.v1.GetMcpToolsToolCall (var: mfs) message GetMcpToolsToolCall { GetMcpToolsArgs args = 1; GetMcpToolsAgentResult result = 2; } // Copied from: local:agent.v1.GetNewChatNudgeLegacyModelPickerRequest (var: KAl) message GetNewChatNudgeLegacyModelPickerRequest { string current_model = 1; bool max_mode = 2; } // Copied from: local:agent.v1.GetNewChatNudgeLegacyModelPickerResponse (var: QAl) message GetNewChatNudgeLegacyModelPickerResponse { optional NewChatNudge nudge = 1; } // Copied from: local:agent.v1.GetNewChatNudgeParameterizedModelPickerRequest (var: wys) message GetNewChatNudgeParameterizedModelPickerRequest { RequestedModel current_model = 1; } // Copied from: local:agent.v1.GetNewChatNudgeParameterizedModelPickerResponse (var: ZAl) message GetNewChatNudgeParameterizedModelPickerResponse { optional NewChatNudgeV2 nudge = 1; } // Copied from: local:agent.v1.GetPromptContextUsageRequest (var: rys) message GetPromptContextUsageRequest { string conversation_id = 1; bytes snapshot_blob_id = 2; } // Copied from: local:agent.v1.GetPromptContextUsageResponse (var: $Al) message GetPromptContextUsageResponse { PromptContextUsageSnapshot snapshot = 1; } // Copied from: local:agent.v1.GetSignedUrlForAttachedMediaRequest (var: fys) 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: GAl) 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 post_fields = 6; string put_url = 7; } // Copied from: local:agent.v1.GetUsableModelsRequest (var: oys) message GetUsableModelsRequest { repeated string custom_model_ids = 1; } // Copied from: local:agent.v1.GetUsableModelsResponse (var: ays) message GetUsableModelsResponse { repeated ModelDetails models = 1; } // Copied from: local:agent.v1.GetWorkerIdResponse (var: VCf) message GetWorkerIdResponse { string worker_id = 1; } // Copied from: local:agent.v1.GetWorkspaceChangesHashRequest (var: aCf) message GetWorkspaceChangesHashRequest { string root_path = 1; string base_ref = 2; } // Copied from: local:agent.v1.GetWorkspaceChangesHashResponse (var: cCf) message GetWorkspaceChangesHashResponse { string hash = 1; } // Copied from: aiserver.v1.GitCommit (var: Ccl) message GitCommit { string commit = 1; string author = 2; string date = 3; string message = 4; } // Copied from: aiserver.v1.GitDiff (var: f9) message GitDiff { // Copied from: aiserver.v1.GitDiff.DiffType (var: Lde) 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: vwi) 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: ggs) message GlobToolArgs { optional string target_directory = 1; string glob_pattern = 2; } // Copied from: local:agent.v1.GlobToolCall (var: vgs) message GlobToolCall { GlobToolArgs args = 1; GlobToolResult result = 2; } // Copied from: local:agent.v1.GlobToolError (var: ySl) message GlobToolError { string error = 1; } // Copied from: local:agent.v1.GlobToolResult (var: fgs) message GlobToolResult { oneof result { GlobToolSuccess success = 1; GlobToolError error = 2; } } // Copied from: local:agent.v1.GlobToolSuccess (var: wSl) 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: cvs) message GoalContinuationAction { } // Copied from: local:agent.v1.GoalError (var: Tfs) message GoalError { string error = 1; } // Copied from: local:agent.v1.GoalState (var: mfn) 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; uint32 continuation_count = 8; optional string agent_session_id = 9; } // Copied from: local:agent.v1.GoalStatus (var: q_e) 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: uLt) 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: ISl) 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: TSl) 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: CSl) 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: Oyi) message GrepError { string error = 1; } // Copied from: local:agent.v1.GrepFileCount (var: ESl) message GrepFileCount { string file = 1; int32 count = 2; } // Copied from: local:agent.v1.GrepFileMatch (var: ASl) message GrepFileMatch { string file = 1; repeated GrepContentMatch matches = 2; } // Copied from: local:agent.v1.GrepFilesResult (var: xSl) 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: dLt) 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: kSl) message GrepSuccess { string pattern = 1; string path = 2; string output_mode = 3; map workspace_results = 4; optional GrepUnionResult active_editor_result = 5; } // Copied from: local:agent.v1.GrepToolCall (var: Elt) message GrepToolCall { GrepArgs args = 1; GrepResult result = 2; } // Copied from: local:agent.v1.GrepUnionResult (var: bgs) message GrepUnionResult { oneof result { GrepCountResult count = 1; GrepFilesResult files = 2; GrepContentResult content = 3; } } // Copied from: local:agent.v1.HeartbeatUpdate (var: Uwi) message HeartbeatUpdate { } // Copied from: local:agent.v1.HookAdditionalContext (var: Ect) message HookAdditionalContext { string hook_event_name = 1; string content = 2; } // Copied from: local:agent.v1.HooksConfigInfo (var: Ifs) message HooksConfigInfo { repeated string configured_steps = 1; } // Copied from: local:agent.v1.IdeEditorsStateFile (var: uys) 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: dys) message IdeEditorsStateLite { repeated IdeEditorsStateFile recently_viewed_files = 1; } // Copied from: local:agent.v1.IdleClassification (var: _n) enum IdleClassification { IDLE_CLASSIFICATION_UNSPECIFIED = 0; IDLE_CLASSIFICATION_LOADING_WAIT = 1; IDLE_CLASSIFICATION_VIEWING_RESULT = 2; IDLE_CLASSIFICATION_THINKING_PAUSE = 3; IDLE_CLASSIFICATION_LONG_OPERATION = 4; } // Copied from: local:agent.v1.IdlePeriod (var: xn) message IdlePeriod { int64 start_ms = 1; int64 end_ms = 2; int64 duration_ms = 3; IdleClassification classification = 4; float suggested_speed = 5; string preceding_action_type = 6; string following_action_type = 7; } // 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: pfn) 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.InputEvent (var: In) message InputEvent { int64 execution_timestamp_ms = 1; ComputerUseAction action = 2; int64 command_duration_ms = 3; Coordinate position_before = 4; Coordinate position_after = 5; CursorType cursor_type_after = 6; } // Copied from: local:agent.v1.InstallPluginArtifactRequest (var: FCf) message InstallPluginArtifactRequest { string download_url = 1; string target_root = 2; string artifact_digest = 3; } // Copied from: local:agent.v1.InstallPluginArtifactResponse (var: BCf) message InstallPluginArtifactResponse { } // Copied from: local:agent.v1.InteractionQuery (var: Wlt) 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: GN) 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: zw) 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.InterruptAgentHostTurnRequest (var: nxn) message InterruptAgentHostTurnRequest { string session_id = 1; string turn_id = 2; optional string reason = 3; } // Copied from: local:agent.v1.InterruptAgentHostTurnResponse (var: sRd) message InterruptAgentHostTurnResponse { bool interrupted = 1; } // Copied from: local:agent.v1.InterruptedPendingToolCallResolution (var: Iwi) message InterruptedPendingToolCallResolution { string tool_call_id = 1; oneof resolution { ShellResult shell_result = 2; TaskResult task_result = 3; } } // Copied from: local:agent.v1.InterruptedPendingToolCallResolutions (var: hfn) message InterruptedPendingToolCallResolutions { repeated InterruptedPendingToolCallResolution resolutions = 1; } // Copied from: local:agent.v1.InvocationContext (var: Cwi) message InvocationContext { // Copied from: local:agent.v1.InvocationContext.GithubPR (var: cEl) message GithubPR { string title = 1; string description = 2; string comments = 3; optional string ci_failures = 4; } // Copied from: local:agent.v1.InvocationContext.IdeState (var: Qfs) message IdeState { // Copied from: local:agent.v1.InvocationContext.IdeState.File (var: ILt) message File { // Copied from: local:agent.v1.InvocationContext.IdeState.File.CursorPosition (var: Yfs) 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: Zfs) 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: aEl) 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: oEl) 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: yhl) message KeyAction { string key = 1; optional int32 hold_duration_ms = 2; } // Copied from: local:agent.v1.KeystrokeEvent (var: Nn) message KeystrokeEvent { int64 video_timestamp_ms = 1; string display_text = 2; KeystrokeEventType event_type = 3; int64 display_duration_ms = 4; int32 action_index = 5; } // Copied from: local:agent.v1.KeystrokeEventType (var: kn) enum KeystrokeEventType { KEYSTROKE_EVENT_TYPE_UNSPECIFIED = 0; KEYSTROKE_EVENT_TYPE_KEY_COMBO = 1; KEYSTROKE_EVENT_TYPE_KEY_SINGLE = 2; KEYSTROKE_EVENT_TYPE_TEXT_TYPED = 3; } // Copied from: local:agent.v1.KillTmuxSessionRequest (var: k0f) message KillTmuxSessionRequest { string session_id = 1; } // Copied from: local:agent.v1.KillTmuxSessionResponse (var: C0f) message KillTmuxSessionResponse { bool success = 1; } // Copied from: local:agent.v1.KvClientMessage (var: HLt) message KvClientMessage { uint32 id = 1; oneof message { GetBlobResult get_blob_result = 2; SetBlobResult set_blob_result = 3; } } // Copied from: local:agent.v1.KvServerMessage (var: NAl) 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.ListAgentHostSessionsRequest (var: ZDd) message ListAgentHostSessionsRequest { optional bool include_children = 1; optional string parent_session_id = 2; } // Copied from: local:agent.v1.ListAgentHostSessionsResponse (var: JDd) message ListAgentHostSessionsResponse { repeated AgentHostSession sessions = 1; } // Copied from: local:agent.v1.ListArtifactsRequest (var: bCf) message ListArtifactsRequest { repeated string extra_paths = 1; } // Copied from: local:agent.v1.ListArtifactsResponse (var: wCf) message ListArtifactsResponse { repeated ArtifactUploadMetadata artifacts = 1; map path_errors = 2; } // Copied from: local:agent.v1.ListDirectoryRequest (var: qkf) message ListDirectoryRequest { string path = 1; bool include_hidden = 2; } // Copied from: local:agent.v1.ListDirectoryResponse (var: Kkf) message ListDirectoryResponse { repeated DirectoryEntry entries = 1; } // Copied from: local:agent.v1.ListMcpResourcesError (var: lkl) message ListMcpResourcesError { string error = 1; } // Copied from: local:agent.v1.ListMcpResourcesExecArgs (var: qyi) message ListMcpResourcesExecArgs { optional string server = 1; } // Copied from: local:agent.v1.ListMcpResourcesExecResult (var: Kyi) message ListMcpResourcesExecResult { // Copied from: local:agent.v1.ListMcpResourcesExecResult.McpResource (var: Ngs) message McpResource { string uri = 1; optional string name = 2; optional string description = 3; optional string mime_type = 4; string server = 5; map annotations = 6; } oneof result { ListMcpResourcesSuccess success = 1; ListMcpResourcesError error = 2; ListMcpResourcesRejected rejected = 3; } } // Copied from: local:agent.v1.ListMcpResourcesRejected (var: ukl) message ListMcpResourcesRejected { string reason = 1; } // Copied from: local:agent.v1.ListMcpResourcesSuccess (var: Ogs) message ListMcpResourcesSuccess { repeated ListMcpResourcesExecResult.McpResource resources = 1; } // Copied from: local:agent.v1.ListMcpResourcesToolCall (var: Ggs) message ListMcpResourcesToolCall { ListMcpResourcesExecArgs args = 1; ListMcpResourcesExecResult result = 2; } // Copied from: local:agent.v1.ListPtysRequest (var: p0f) message ListPtysRequest { } // Copied from: local:agent.v1.ListPtysResponse (var: m0f) message ListPtysResponse { repeated PtyInfo ptys = 1; } // Copied from: local:agent.v1.ListTmuxSessionsRequest (var: w0f) message ListTmuxSessionsRequest { } // Copied from: local:agent.v1.ListTmuxSessionsResponse (var: S0f) message ListTmuxSessionsResponse { repeated TmuxSession sessions = 1; } // Copied from: local:agent.v1.LoadMcpServersRequest (var: UCf) message LoadMcpServersRequest { string mcp_config_json = 1; bool remove_missing = 2; } // Copied from: local:agent.v1.LoadMcpServersResponse (var: $Cf) message LoadMcpServersResponse { repeated string loaded_server_names = 1; } // Copied from: local:agent.v1.LocalPromptQualityInvocation (var: mys) 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: zLt) 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: dMt) 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: hMt) message LsDirectoryTreeNode { // Copied from: local:agent.v1.LsDirectoryTreeNode.File (var: uhl) 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 full_subtree_extension_counts = 5; int32 num_files = 6; } // Copied from: local:agent.v1.LsError (var: dpn) message LsError { string path = 1; string error = 2; } // Copied from: local:agent.v1.LsRejected (var: dhl) message LsRejected { string path = 1; string reason = 2; } // Copied from: local:agent.v1.LsResult (var: Rct) message LsResult { oneof result { LsSuccess success = 1; LsError error = 2; LsRejected rejected = 3; LsTimeout timeout = 4; } } // Copied from: local:agent.v1.LsSuccess (var: lhl) message LsSuccess { LsDirectoryTreeNode directory_tree_root = 1; } // Copied from: local:agent.v1.LsTimeout (var: hhl) message LsTimeout { LsDirectoryTreeNode directory_tree_root = 1; } // Copied from: local:agent.v1.LsToolCall (var: Ilt) message LsToolCall { LsArgs args = 1; LsResult result = 2; } // Copied from: local:agent.v1.MatchedInstalledPlugin (var: j1l) 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: $Tl) message McpAllowlistPrecheckArgs { string provider_identifier = 1; string tool_name = 2; optional string tool_call_id = 3; } // Copied from: local:agent.v1.McpAllowlistPrecheckResult (var: jTl) message McpAllowlistPrecheckResult { bool allowlisted = 1; } // Copied from: local:agent.v1.McpApproved (var: YSl) message McpApproved { } // Copied from: local:agent.v1.McpArgs (var: gLt) message McpArgs { string name = 1; map 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: ufs) message McpAuthArgs { string server_identifier = 1; string tool_call_id = 2; } // Copied from: local:agent.v1.McpAuthError (var: fCl) message McpAuthError { string error = 1; } // Copied from: local:agent.v1.McpAuthRejected (var: vCl) message McpAuthRejected { string reason = 1; } // Copied from: local:agent.v1.McpAuthRequestQuery (var: _Cl) message McpAuthRequestQuery { McpAuthArgs args = 1; } // Copied from: local:agent.v1.McpAuthRequestResponse (var: Yse) message McpAuthRequestResponse { // Copied from: local:agent.v1.McpAuthRequestResponse.Approved (var: tfn) message Approved { } // Copied from: local:agent.v1.McpAuthRequestResponse.Rejected (var: bxe) message Rejected { string reason = 1; } oneof result { Approved approved = 1; Rejected rejected = 2; } } // Copied from: local:agent.v1.McpAuthResult (var: mCl) message McpAuthResult { oneof result { McpAuthSuccess success = 1; McpAuthError error = 2; McpAuthRejected rejected = 3; } } // Copied from: local:agent.v1.McpAuthSuccess (var: gCl) message McpAuthSuccess { string server_identifier = 1; } // Copied from: local:agent.v1.McpAuthToolCall (var: bCl) message McpAuthToolCall { McpAuthArgs args = 1; McpAuthResult result = 2; } // Copied from: local:agent.v1.McpDescriptor (var: Hgn) 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: nkl) message McpError { string error = 1; } // Copied from: local:agent.v1.McpFileSystemOptions (var: mLt) message McpFileSystemOptions { bool enabled = 1; string workspace_project_dir = 2; repeated McpDescriptor mcp_descriptors = 3; } // Copied from: local:agent.v1.McpImageContent (var: ekl) message McpImageContent { bytes data = 1; string mime_type = 2; } // Copied from: local:agent.v1.McpInstructions (var: Wgn) message McpInstructions { string server_name = 1; string instructions = 2; string server_identifier = 3; } // Copied from: local:agent.v1.McpMetaToolOptions (var: Gyi) message McpMetaToolOptions { bool enabled = 1; repeated McpDescriptor mcp_descriptors = 2; } // Copied from: local:agent.v1.McpPermissionDenied (var: Lgs) message McpPermissionDenied { string error = 1; bool is_readonly = 2; } // Copied from: local:agent.v1.McpRejected (var: Pgs) message McpRejected { string reason = 1; bool is_readonly = 2; } // Copied from: local:agent.v1.McpResult (var: Rgs) 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: JSl) message McpServerNotFound { string name = 1; repeated string available_servers = 2; } // Copied from: local:agent.v1.McpStateError (var: akl) message McpStateError { string error = 1; } // Copied from: local:agent.v1.McpStateExecArgs (var: ikl) message McpStateExecArgs { repeated string server_identifiers = 1; bool kick_only = 2; } // Copied from: local:agent.v1.McpStateExecResult (var: rkl) message McpStateExecResult { oneof result { McpStateSuccess success = 1; McpStateError error = 2; McpStateRejected rejected = 3; } } // Copied from: local:agent.v1.McpStateRejected (var: ckl) message McpStateRejected { string reason = 1; } // Copied from: local:agent.v1.McpStateServer (var: skl) 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: okl) message McpStateSuccess { repeated McpStateServer servers = 1; } // Copied from: local:agent.v1.McpSuccess (var: Mgs) message McpSuccess { repeated McpToolResultContentItem content = 1; bool is_error = 2; google.protobuf.Struct structured_content = 3; } // Copied from: local:agent.v1.McpTextContent (var: XSl) message McpTextContent { string text = 1; optional OutputLocation output_location = 2; } // Copied from: local:agent.v1.McpToolCall (var: zgn) message McpToolCall { McpArgs args = 1; McpToolResult result = 2; optional string description = 3; } // Copied from: local:agent.v1.McpToolDefinition (var: Rlt) 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: Vyi) 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; optional string annotations_json = 6; } // Copied from: local:agent.v1.McpToolError (var: mkl) message McpToolError { string error = 1; string read_tool_def_reminder = 2; } // Copied from: local:agent.v1.McpToolNotFound (var: ZSl) message McpToolNotFound { string name = 1; repeated string available_tools = 2; } // Copied from: local:agent.v1.McpToolResult (var: gkl) message McpToolResult { oneof result { McpSuccess success = 1; McpToolError error = 2; McpRejected rejected = 3; McpPermissionDenied permission_denied = 4; } } // Copied from: local:agent.v1.McpToolResultContentItem (var: tkl) message McpToolResultContentItem { oneof content { McpTextContent text = 1; McpImageContent image = 2; } } // Copied from: local:agent.v1.McpTools (var: zyi) message McpTools { repeated McpToolDefinition mcp_tools = 1; } // Copied from: local:agent.v1.ModelDetails (var: Yee) 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.MotionStyle (var: En) enum MotionStyle { MOTION_STYLE_UNSPECIFIED = 0; MOTION_STYLE_SLOW = 1; MOTION_STYLE_MELLOW = 2; MOTION_STYLE_QUICK = 3; MOTION_STYLE_RAPID = 4; } // Copied from: local:agent.v1.MountedAgentStore (var: Afs) message MountedAgentStore { string path = 1; MountedAgentStoreKind kind = 2; optional string alias = 3; bool read_only = 4; } // Copied from: local:agent.v1.MountedAgentStoreKind (var: kLt) 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: Mct) 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: ghl) message MouseDownAction { MouseButton button = 1; } // Copied from: local:agent.v1.MouseMoveAction (var: phl) message MouseMoveAction { Coordinate coordinate = 1; } // Copied from: local:agent.v1.MouseUpAction (var: fhl) message MouseUpAction { MouseButton button = 1; } // Copied from: local:agent.v1.NameAgentRequest (var: tys) message NameAgentRequest { string user_message = 1; } // Copied from: local:agent.v1.NameAgentResponse (var: nys) message NameAgentResponse { string name = 1; } // Copied from: local:agent.v1.NetworkPolicy (var: Cll) message NetworkPolicy { // Copied from: local:agent.v1.NetworkPolicy.DefaultAction (var: Ell) 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: kll) message NetworkPolicyLoggingConfig { optional string decision_log_path = 1; optional string log_format = 2; } // Copied from: local:agent.v1.NewChatNudge (var: YAl) 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: JAl) 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: dEl) message NewCloudVmTarget { optional string environment_build_id = 1; optional string base_branch = 2; } // Copied from: local:agent.v1.NotifyConversationCloneRequest (var: vys) message NotifyConversationCloneRequest { string conversation_id = 1; string source_conversation_id = 2; string source_request_id = 3; } // Copied from: local:agent.v1.NotifyConversationCloneResponse (var: qAl) message NotifyConversationCloneResponse { } // Copied from: local:agent.v1.NudgeAskVariant (var: _ys) message NudgeAskVariant { string popup_message = 1; string accept_label = 2; } // Copied from: local:agent.v1.NudgeBumpVariant (var: bys) message NudgeBumpVariant { string banner_message = 1; } // Copied from: local:agent.v1.NudgeSilentSwitchVariant (var: yys) message NudgeSilentSwitchVariant { } // Copied from: local:agent.v1.OutputLocation (var: lHe) message OutputLocation { string file_path = 1; int64 size_bytes = 2; int64 line_count = 3; } // Copied from: local:agent.v1.PackageType (var: D1l) 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: Owi) 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: xLt) message PermissionsAutoRunInstructions { repeated string allow_instructions = 1; repeated string block_instructions = 2; } // Copied from: local:agent.v1.Phase (var: Wgs) message Phase { string name = 1; repeated TodoItem todos = 2; } // Copied from: local:agent.v1.PiBashExecArgs (var: YTl) message PiBashExecArgs { string command = 1; optional double timeout = 2; } // Copied from: local:agent.v1.PiBashExecError (var: XTl) message PiBashExecError { string error = 1; optional PiTruncation truncation = 2; optional string full_output_path = 3; } // Copied from: local:agent.v1.PiBashExecResult (var: ZTl) message PiBashExecResult { oneof result { PiBashExecSuccess success = 1; PiBashExecError error = 2; } } // Copied from: local:agent.v1.PiBashExecSuccess (var: JTl) message PiBashExecSuccess { string output = 1; optional PiTruncation truncation = 2; optional string full_output_path = 3; } // Copied from: local:agent.v1.PiBashToolArgs (var: j0l) message PiBashToolArgs { string command = 1; optional double timeout = 2; } // Copied from: local:agent.v1.PiBashToolCall (var: $0l) message PiBashToolCall { PiBashToolArgs args = 1; PiBashToolResult result = 2; } // Copied from: local:agent.v1.PiBashToolError (var: z0l) message PiBashToolError { string error = 1; optional PiTruncation truncation = 2; optional string full_output_path = 3; } // Copied from: local:agent.v1.PiBashToolResult (var: W0l) message PiBashToolResult { oneof result { PiBashToolSuccess success = 1; PiBashToolError error = 2; } } // Copied from: local:agent.v1.PiBashToolSuccess (var: H0l) message PiBashToolSuccess { string output = 1; optional PiTruncation truncation = 2; optional string full_output_path = 3; } // Copied from: local:agent.v1.PiEditExecArgs (var: eAl) message PiEditExecArgs { string path = 1; repeated PiEditReplacement edits = 2; } // Copied from: local:agent.v1.PiEditExecError (var: iAl) message PiEditExecError { string error = 1; } // Copied from: local:agent.v1.PiEditExecRejected (var: rAl) message PiEditExecRejected { string reason = 1; } // Copied from: local:agent.v1.PiEditExecResult (var: tAl) message PiEditExecResult { oneof result { PiEditExecSuccess success = 1; PiEditExecError error = 2; PiEditExecRejected rejected = 3; } } // Copied from: local:agent.v1.PiEditExecSuccess (var: nAl) message PiEditExecSuccess { string output = 1; string diff = 2; string patch = 3; optional uint32 first_changed_line = 4; } // Copied from: local:agent.v1.PiEditReplacement (var: ffs) message PiEditReplacement { string old_text = 1; string new_text = 2; } // Copied from: local:agent.v1.PiEditToolArgs (var: G0l) message PiEditToolArgs { string path = 1; repeated PiEditReplacement edits = 2; } // Copied from: local:agent.v1.PiEditToolCall (var: V0l) message PiEditToolCall { PiEditToolArgs args = 1; PiEditToolResult result = 2; } // Copied from: local:agent.v1.PiEditToolError (var: Q0l) message PiEditToolError { string error = 1; } // Copied from: local:agent.v1.PiEditToolRejected (var: Y0l) message PiEditToolRejected { string reason = 1; } // Copied from: local:agent.v1.PiEditToolResult (var: q0l) message PiEditToolResult { oneof result { PiEditToolSuccess success = 1; PiEditToolError error = 2; PiEditToolRejected rejected = 3; } } // Copied from: local:agent.v1.PiEditToolSuccess (var: K0l) message PiEditToolSuccess { string output = 1; string diff = 2; string patch = 3; optional uint32 first_changed_line = 4; } // Copied from: local:agent.v1.PiFindExecArgs (var: mAl) message PiFindExecArgs { string pattern = 1; optional string path = 2; optional int32 limit = 3; } // Copied from: local:agent.v1.PiFindExecError (var: vAl) message PiFindExecError { string error = 1; } // Copied from: local:agent.v1.PiFindExecResult (var: gAl) message PiFindExecResult { oneof result { PiFindExecSuccess success = 1; PiFindExecError error = 2; } } // Copied from: local:agent.v1.PiFindExecSuccess (var: fAl) message PiFindExecSuccess { string output = 1; optional PiTruncation truncation = 2; optional uint32 result_limit_reached = 3; } // Copied from: local:agent.v1.PiFindToolArgs (var: u1l) message PiFindToolArgs { string pattern = 1; optional string path = 2; optional int32 limit = 3; } // Copied from: local:agent.v1.PiFindToolCall (var: l1l) message PiFindToolCall { PiFindToolArgs args = 1; PiFindToolResult result = 2; } // Copied from: local:agent.v1.PiFindToolError (var: p1l) message PiFindToolError { string error = 1; } // Copied from: local:agent.v1.PiFindToolResult (var: d1l) message PiFindToolResult { oneof result { PiFindToolSuccess success = 1; PiFindToolError error = 2; } } // Copied from: local:agent.v1.PiFindToolSuccess (var: h1l) message PiFindToolSuccess { string output = 1; optional PiTruncation truncation = 2; optional uint32 result_limit_reached = 3; } // Copied from: local:agent.v1.PiGrepExecArgs (var: uAl) 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: pAl) message PiGrepExecError { string error = 1; } // Copied from: local:agent.v1.PiGrepExecResult (var: dAl) message PiGrepExecResult { oneof result { PiGrepExecSuccess success = 1; PiGrepExecError error = 2; } } // Copied from: local:agent.v1.PiGrepExecSuccess (var: hAl) 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: s1l) 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: r1l) message PiGrepToolCall { PiGrepToolArgs args = 1; PiGrepToolResult result = 2; } // Copied from: local:agent.v1.PiGrepToolError (var: c1l) message PiGrepToolError { string error = 1; } // Copied from: local:agent.v1.PiGrepToolResult (var: o1l) message PiGrepToolResult { oneof result { PiGrepToolSuccess success = 1; PiGrepToolError error = 2; } } // Copied from: local:agent.v1.PiGrepToolSuccess (var: a1l) 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: bAl) message PiLsExecArgs { optional string path = 1; optional int32 limit = 2; } // Copied from: local:agent.v1.PiLsExecError (var: wAl) message PiLsExecError { string error = 1; } // Copied from: local:agent.v1.PiLsExecResult (var: _Al) message PiLsExecResult { oneof result { PiLsExecSuccess success = 1; PiLsExecError error = 2; } } // Copied from: local:agent.v1.PiLsExecSuccess (var: yAl) message PiLsExecSuccess { string output = 1; optional PiTruncation truncation = 2; optional uint32 entry_limit_reached = 3; } // Copied from: local:agent.v1.PiLsToolArgs (var: g1l) message PiLsToolArgs { optional string path = 1; optional int32 limit = 2; } // Copied from: local:agent.v1.PiLsToolCall (var: m1l) message PiLsToolCall { PiLsToolArgs args = 1; PiLsToolResult result = 2; } // Copied from: local:agent.v1.PiLsToolError (var: b1l) message PiLsToolError { string error = 1; } // Copied from: local:agent.v1.PiLsToolResult (var: f1l) message PiLsToolResult { oneof result { PiLsToolSuccess success = 1; PiLsToolError error = 2; } } // Copied from: local:agent.v1.PiLsToolSuccess (var: v1l) message PiLsToolSuccess { string output = 1; optional PiTruncation truncation = 2; optional uint32 entry_limit_reached = 3; } // Copied from: local:agent.v1.PiReadExecArgs (var: GTl) message PiReadExecArgs { string path = 1; optional int32 offset = 2; optional int32 limit = 3; } // Copied from: local:agent.v1.PiReadExecError (var: QTl) message PiReadExecError { string error = 1; } // Copied from: local:agent.v1.PiReadExecResult (var: qTl) message PiReadExecResult { oneof result { PiReadExecSuccess success = 1; PiReadExecError error = 2; } } // Copied from: local:agent.v1.PiReadExecSuccess (var: KTl) message PiReadExecSuccess { string output = 1; optional PiTruncation truncation = 2; } // Copied from: local:agent.v1.PiReadToolArgs (var: O0l) message PiReadToolArgs { string path = 1; optional int32 offset = 2; optional int32 limit = 3; } // Copied from: local:agent.v1.PiReadToolCall (var: N0l) message PiReadToolCall { PiReadToolArgs args = 1; PiReadToolResult result = 2; } // Copied from: local:agent.v1.PiReadToolError (var: U0l) message PiReadToolError { string error = 1; } // Copied from: local:agent.v1.PiReadToolResult (var: F0l) message PiReadToolResult { oneof result { PiReadToolSuccess success = 1; PiReadToolError error = 2; } } // Copied from: local:agent.v1.PiReadToolSuccess (var: B0l) message PiReadToolSuccess { string output = 1; optional PiTruncation truncation = 2; } // Copied from: local:agent.v1.PiTruncation (var: Zse) 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: sAl) message PiWriteExecArgs { string path = 1; string content = 2; } // Copied from: local:agent.v1.PiWriteExecError (var: cAl) message PiWriteExecError { string error = 1; } // Copied from: local:agent.v1.PiWriteExecRejected (var: lAl) message PiWriteExecRejected { string reason = 1; } // Copied from: local:agent.v1.PiWriteExecResult (var: oAl) message PiWriteExecResult { oneof result { PiWriteExecSuccess success = 1; PiWriteExecError error = 2; PiWriteExecRejected rejected = 3; } } // Copied from: local:agent.v1.PiWriteExecSuccess (var: aAl) message PiWriteExecSuccess { string output = 1; } // Copied from: local:agent.v1.PiWriteToolArgs (var: X0l) message PiWriteToolArgs { string path = 1; string content = 2; } // Copied from: local:agent.v1.PiWriteToolCall (var: J0l) message PiWriteToolCall { PiWriteToolArgs args = 1; PiWriteToolResult result = 2; } // Copied from: local:agent.v1.PiWriteToolError (var: n1l) message PiWriteToolError { string error = 1; } // Copied from: local:agent.v1.PiWriteToolRejected (var: i1l) message PiWriteToolRejected { string reason = 1; } // Copied from: local:agent.v1.PiWriteToolResult (var: e1l) message PiWriteToolResult { oneof result { PiWriteToolSuccess success = 1; PiWriteToolError error = 2; PiWriteToolRejected rejected = 3; } } // Copied from: local:agent.v1.PiWriteToolSuccess (var: t1l) message PiWriteToolSuccess { string output = 1; } // Copied from: local:agent.v1.PingRequest (var: Lkf) message PingRequest { } // Copied from: local:agent.v1.PingResponse (var: Nkf) message PingResponse { } // Copied from: local:agent.v1.PlanRegistryEntry (var: ZEl) message PlanRegistryEntry { string id = 1; string path = 2; } // Copied from: local:agent.v1.Position (var: jU) message Position { uint32 line = 1; uint32 column = 2; } // Copied from: local:agent.v1.PostCommentAction (var: sCl) 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; optional string reply_to_reference = 10; } // Copied from: local:agent.v1.PostRequestPromptUpdate (var: vxl) message PostRequestPromptUpdate { string title = 1; string message = 2; string button_label = 3; string button_url = 4; } // Copied from: local:agent.v1.PostToolUseFailureRequestQuery (var: Bxl) 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: Uxl) message PostToolUseFailureRequestResponse { optional string additional_context = 1; } // Copied from: local:agent.v1.PostToolUseRequestQuery (var: Oxl) 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: Fxl) message PostToolUseRequestResponse { optional string additional_context = 1; } // Copied from: local:agent.v1.PrManagementArgs (var: cfs) 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: swi) message PrManagementError { string error = 1; } // Copied from: local:agent.v1.PrManagementNeedsConfirmation (var: dCl) 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: uCl) 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: lfs) message PrManagementRejected { string reason = 1; } // Copied from: local:agent.v1.PrManagementRequestQuery (var: pCl) message PrManagementRequestQuery { PrManagementArgs args = 1; } // Copied from: local:agent.v1.PrManagementResult (var: wLt) 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: lCl) message PrManagementSuccess { string pr_url = 1; int32 pr_number = 2; string message = 3; } // Copied from: local:agent.v1.PrManagementToolCall (var: hCl) message PrManagementToolCall { PrManagementArgs args = 1; PrManagementResult result = 2; } // Copied from: local:agent.v1.PreCompactRequestQuery (var: _xl) 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: yxl) message PreCompactRequestResponse { optional string user_message = 1; } // Copied from: local:agent.v1.PreFetchedBlob (var: xvs) message PreFetchedBlob { bytes id = 1; bytes value = 2; } // Copied from: local:agent.v1.PreToolUseRequestQuery (var: Lxl) 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: Nxl) 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: O1l) 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: N1l) 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: El) 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: FAl) 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; optional string agent_session_id = 24; optional bool client_supports_prompt_context_usage_rpc = 25; } // Copied from: local:agent.v1.PrivateWorkerStatus (var: zCf) enum PrivateWorkerStatus { PRIVATE_WORKER_STATUS_UNSPECIFIED = 0; PRIVATE_WORKER_STATUS_DISCONNECTED = 1; PRIVATE_WORKER_STATUS_READY = 2; PRIVATE_WORKER_STATUS_CLAIMED = 3; } // Copied from: local:agent.v1.Process (var: mRd) message Process { string shell = 1; repeated string args = 2; } // Copied from: local:agent.v1.ProjectDetails (var: XOe) message ProjectDetails { optional string name = 1; optional ProjectSubagentDetails subagent = 2; optional ProjectSideChatDetails side_chat = 3; } // Copied from: local:agent.v1.ProjectSideChatDetails (var: bvs) message ProjectSideChatDetails { string store_dir = 1; } // Copied from: local:agent.v1.ProjectSubagentDetails (var: vvs) message ProjectSubagentDetails { optional string store_dir = 2; } // Copied from: local:agent.v1.PromptContextNode (var: ixl) 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: nxl) 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.PromptContextUsageSnapshot (var: rxl) message PromptContextUsageSnapshot { PromptContextUsageTree prompt_context_usage_tree = 1; repeated bytes root_prompt_messages_json = 2; } // Copied from: local:agent.v1.PromptContextUsageTree (var: Svs) message PromptContextUsageTree { uint32 schema_version = 1; repeated PromptContextNode nodes = 2; } // Copied from: local:agent.v1.PromptSuggestionUpdate (var: Ovs) message PromptSuggestionUpdate { string suggestion = 1; } // Copied from: local:agent.v1.PromptTokenBreakdownCategory (var: exl) message PromptTokenBreakdownCategory { string id = 1; string label = 2; uint32 estimated_tokens = 3; optional uint32 character_count = 4; } // Copied from: local:agent.v1.PromptTokenBreakdownSnapshot (var: txl) message PromptTokenBreakdownSnapshot { uint32 total_used_tokens = 1; uint32 max_tokens = 2; repeated PromptTokenBreakdownCategory categories = 3; } // Copied from: local:agent.v1.PromptUploadRef (var: H1l) message PromptUploadRef { string upload_id = 1; } // Copied from: local:agent.v1.PtyData (var: a0f) message PtyData { bytes data = 1; } // Copied from: local:agent.v1.PtyEvent (var: o0f) message PtyEvent { string event_id = 1; oneof data { PtyData pty_data = 2; PtyExited pty_exited = 3; } } // Copied from: local:agent.v1.PtyExited (var: c0f) message PtyExited { int32 exit_code = 1; optional int32 signal = 2; } // Copied from: local:agent.v1.PtyInfo (var: g0f) message PtyInfo { string pty_id = 1; string shell = 2; string cwd = 3; uint32 cols = 4; uint32 rows = 5; int32 pid = 6; repeated string process_args = 7; } // Copied from: local:agent.v1.PullRequestStatus (var: nCl) enum PullRequestStatus { PULL_REQUEST_STATUS_UNSPECIFIED = 0; PULL_REQUEST_STATUS_OPEN = 1; PULL_REQUEST_STATUS_CLOSED = 2; } // Copied from: local:agent.v1.Range (var: x_e) message Range { Position start = 1; Position end = 2; } // Copied from: local:agent.v1.ReadArgs (var: Cfn) 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.ReadBinaryFileRequest (var: eCf) message ReadBinaryFileRequest { string path = 1; } // Copied from: local:agent.v1.ReadBinaryFileResponse (var: tCf) message ReadBinaryFileResponse { bytes content = 1; } // Copied from: local:agent.v1.ReadError (var: kTl) message ReadError { string path = 1; string error = 2; } // Copied from: local:agent.v1.ReadFileNotFound (var: ETl) message ReadFileNotFound { string path = 1; } // Copied from: local:agent.v1.ReadInvalidFile (var: xTl) message ReadInvalidFile { string path = 1; string reason = 2; } // Copied from: local:agent.v1.ReadLintsToolArgs (var: Igs) message ReadLintsToolArgs { repeated string paths = 1; } // Copied from: local:agent.v1.ReadLintsToolCall (var: Ags) message ReadLintsToolCall { ReadLintsToolArgs args = 1; ReadLintsToolResult result = 2; } // Copied from: local:agent.v1.ReadLintsToolError (var: KSl) message ReadLintsToolError { string error_message = 1; } // Copied from: local:agent.v1.ReadLintsToolResult (var: Dgs) message ReadLintsToolResult { oneof result { ReadLintsToolSuccess success = 1; ReadLintsToolError error = 2; } } // Copied from: local:agent.v1.ReadLintsToolSuccess (var: zSl) message ReadLintsToolSuccess { repeated FileDiagnostics file_diagnostics = 1; int32 total_files = 2; int32 total_diagnostics = 3; } // Copied from: local:agent.v1.ReadMcpResourceError (var: dkl) message ReadMcpResourceError { string uri = 1; string error = 2; } // Copied from: local:agent.v1.ReadMcpResourceExecArgs (var: Qyi) 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: Yyi) message ReadMcpResourceExecResult { oneof result { ReadMcpResourceSuccess success = 1; ReadMcpResourceError error = 2; ReadMcpResourceRejected rejected = 3; ReadMcpResourceNotFound not_found = 4; } } // Copied from: local:agent.v1.ReadMcpResourceNotFound (var: pkl) message ReadMcpResourceNotFound { string uri = 1; } // Copied from: local:agent.v1.ReadMcpResourceRejected (var: hkl) message ReadMcpResourceRejected { string uri = 1; string reason = 2; } // Copied from: local:agent.v1.ReadMcpResourceSuccess (var: Fgs) message ReadMcpResourceSuccess { string uri = 1; optional string name = 2; optional string description = 3; optional string mime_type = 4; map 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: qgs) message ReadMcpResourceToolCall { ReadMcpResourceExecArgs args = 1; ReadMcpResourceExecResult result = 2; } // Copied from: local:agent.v1.ReadPermissionDenied (var: $_s) message ReadPermissionDenied { string path = 1; } // Copied from: local:agent.v1.ReadRange (var: RSl) message ReadRange { uint32 start_line = 1; uint32 end_line = 2; } // Copied from: local:agent.v1.ReadRejected (var: CTl) message ReadRejected { string path = 1; string reason = 2; } // Copied from: local:agent.v1.ReadResult (var: cze) 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: jLt) 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.ReadTextFileRequest (var: Ykf) message ReadTextFileRequest { string path = 1; } // Copied from: local:agent.v1.ReadTextFileResponse (var: Zkf) message ReadTextFileResponse { string content = 1; } // Copied from: local:agent.v1.ReadTodosArgs (var: LSl) message ReadTodosArgs { repeated TodoStatus status_filter = 1; repeated string id_filter = 2; } // Copied from: local:agent.v1.ReadTodosError (var: FSl) message ReadTodosError { string error = 1; } // Copied from: local:agent.v1.ReadTodosResult (var: NSl) message ReadTodosResult { oneof result { ReadTodosSuccess success = 1; ReadTodosError error = 2; } } // Copied from: local:agent.v1.ReadTodosSuccess (var: OSl) message ReadTodosSuccess { repeated TodoItem todos = 1; int32 total_count = 2; } // Copied from: local:agent.v1.ReadTodosToolCall (var: PSl) message ReadTodosToolCall { ReadTodosArgs args = 1; ReadTodosResult result = 2; } // Copied from: local:agent.v1.ReadToolArgs (var: Byi) 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: XHe) message ReadToolCall { ReadToolArgs args = 1; ReadToolResult result = 2; } // Copied from: local:agent.v1.ReadToolError (var: Fgn) message ReadToolError { string error_message = 1; } // Copied from: local:agent.v1.ReadToolResult (var: QOe) message ReadToolResult { oneof result { ReadToolSuccess success = 1; ReadToolError error = 2; } } // Copied from: local:agent.v1.ReadToolSuccess (var: wgs) 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: Hfs) message RecentAgent { string name = 1; string path = 2; optional string overview = 3; } // Copied from: local:agent.v1.RecentAgentsContext (var: zfs) message RecentAgentsContext { repeated RecentAgent recent_agents = 1; } // Copied from: local:agent.v1.RecentlyAddedPlugin (var: Rfs) message RecentlyAddedPlugin { // Copied from: local:agent.v1.RecentlyAddedPlugin.CapabilityDescriptor (var: K_e) 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: d0l) 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: p0l) message RecordCiInvestigationFindingsArgs { repeated RecordCiInvestigationFinding findings = 1; optional RecordCiInvestigationOverall overall = 2; string tool_call_id = 3; } // Copied from: local:agent.v1.RecordCiInvestigationFindingsError (var: g0l) message RecordCiInvestigationFindingsError { string error = 1; } // Copied from: local:agent.v1.RecordCiInvestigationFindingsResult (var: f0l) message RecordCiInvestigationFindingsResult { oneof result { RecordCiInvestigationFindingsSuccess success = 1; RecordCiInvestigationFindingsError error = 2; } } // Copied from: local:agent.v1.RecordCiInvestigationFindingsSuccess (var: m0l) message RecordCiInvestigationFindingsSuccess { string message = 1; } // Copied from: local:agent.v1.RecordCiInvestigationFindingsToolCall (var: v0l) message RecordCiInvestigationFindingsToolCall { RecordCiInvestigationFindingsArgs args = 1; RecordCiInvestigationFindingsResult result = 2; } // Copied from: local:agent.v1.RecordCiInvestigationOverall (var: h0l) 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: hHe) message RecordScreenArgs { RecordingMode mode = 1; string tool_call_id = 2; optional string save_as_filename = 3; } // Copied from: local:agent.v1.RecordScreenDiscardSuccess (var: Wll) message RecordScreenDiscardSuccess { } // Copied from: local:agent.v1.RecordScreenFailure (var: Hll) message RecordScreenFailure { string error = 1; } // Copied from: local:agent.v1.RecordScreenResult (var: oMt) 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: jll) 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: $ll) message RecordScreenStartSuccess { bool was_prior_recording_cancelled = 1; bool was_save_as_filename_ignored = 2; } // Copied from: local:agent.v1.RecordScreenToolCall (var: nfs) message RecordScreenToolCall { RecordScreenArgs args = 1; RecordScreenResult result = 2; } // Copied from: local:agent.v1.RecordingDataPackage (var: Ln) message RecordingDataPackage { string raw_video_path = 1; int64 duration_ms = 2; int32 display_width = 3; int32 display_height = 4; int32 api_width = 5; int32 api_height = 6; int64 recording_start_epoch_ms = 7; repeated InputEvent input_events = 10; repeated CursorPath cursor_paths = 20; repeated ZoomCandidate zoom_candidates = 30; repeated IdlePeriod idle_periods = 31; repeated ClickEffectKeyframe click_effects = 32; repeated KeystrokeEvent keystroke_events = 33; DecisionInput decision_input = 40; DecisionOutput decision_output = 41; string polished_video_path = 50; } // Copied from: local:agent.v1.RecordingMode (var: opn) 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: Okl) 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: Ukl) message ReflectError { string error = 1; } // Copied from: local:agent.v1.ReflectResult (var: Fkl) message ReflectResult { oneof result { ReflectSuccess success = 1; ReflectError error = 2; } } // Copied from: local:agent.v1.ReflectSuccess (var: Bkl) message ReflectSuccess { } // Copied from: local:agent.v1.ReflectToolCall (var: $kl) message ReflectToolCall { ReflectArgs args = 1; ReflectResult result = 2; } // Copied from: local:agent.v1.RefreshGithubAccessTokenRequest (var: mCf) message RefreshGithubAccessTokenRequest { string github_access_token = 1; string hostname = 2; optional string repo_url = 3; optional string clone_username = 4; } // Copied from: local:agent.v1.RefreshGithubAccessTokenResponse (var: gCf) message RefreshGithubAccessTokenResponse { } // Copied from: local:agent.v1.ReleaseWorkerRequest (var: e0f) message ReleaseWorkerRequest { } // Copied from: local:agent.v1.ReloadAgentSkillsRequest (var: Bkf) message ReloadAgentSkillsRequest { } // Copied from: local:agent.v1.ReloadAgentSkillsResponse (var: Ukf) message ReloadAgentSkillsResponse { } // Copied from: local:agent.v1.ReloadPluginsRequest (var: $kf) message ReloadPluginsRequest { repeated string reload_targets = 1; } // Copied from: local:agent.v1.ReloadPluginsResponse (var: jkf) message ReloadPluginsResponse { } // Copied from: local:agent.v1.ReplaceEnvArgs (var: gfs) message ReplaceEnvArgs { ReplaceEnvConfig config = 1; ReplaceEnvMode mode = 2; repeated RepoCheckoutRefOverride checkout_ref_overrides = 3; } // Copied from: local:agent.v1.ReplaceEnvConfig (var: n0l) message ReplaceEnvConfig { string install_script = 1; string dockerfile_contents = 2; } // Copied from: local:agent.v1.ReplaceEnvFailure (var: nfn) message ReplaceEnvFailure { string error_message = 1; string setup_logs = 2; } // Copied from: local:agent.v1.ReplaceEnvMode (var: e0l) 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: SLt) message ReplaceEnvResult { oneof result { ReplaceEnvSuccess success = 1; ReplaceEnvFailure failure = 2; } } // Copied from: local:agent.v1.ReplaceEnvSuccess (var: i0l) message ReplaceEnvSuccess { string setup_logs = 1; } // Copied from: local:agent.v1.ReplaceEnvToolCall (var: r0l) message ReplaceEnvToolCall { ReplaceEnvArgs args = 1; ReplaceEnvResult result = 2; string associated_pod_key = 3; } // Copied from: local:agent.v1.ReplaceEnvToolCallDelta (var: s0l) message ReplaceEnvToolCallDelta { string associated_pod_key = 1; } // Copied from: local:agent.v1.RepoCheckoutRefOverride (var: t0l) message RepoCheckoutRefOverride { string repo_url = 1; string ref = 2; } // Copied from: local:agent.v1.ReportBugArgs (var: LCl) 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: OCl) message ReportBugError { string error_message = 1; } // Copied from: local:agent.v1.ReportBugResult (var: FCl) message ReportBugResult { oneof result { ReportBugSuccess success = 1; ReportBugError error = 2; } } // Copied from: local:agent.v1.ReportBugSuccess (var: NCl) message ReportBugSuccess { string output = 1; } // Copied from: local:agent.v1.ReportBugToolCall (var: BCl) message ReportBugToolCall { ReportBugArgs args = 1; ReportBugResult result = 2; } // Copied from: local:agent.v1.ReportBugfixResultsArgs (var: Ehl) message ReportBugfixResultsArgs { string summary = 1; repeated BugfixResultItem results = 2; } // Copied from: local:agent.v1.ReportBugfixResultsError (var: Yrs) message ReportBugfixResultsError { string error = 1; } // Copied from: local:agent.v1.ReportBugfixResultsResult (var: xhl) message ReportBugfixResultsResult { oneof result { ReportBugfixResultsSuccess success = 1; ReportBugfixResultsError error = 2; } } // Copied from: local:agent.v1.ReportBugfixResultsSuccess (var: Qrs) message ReportBugfixResultsSuccess { repeated BugfixResultItem results = 1; } // Copied from: local:agent.v1.ReportBugfixResultsToolCall (var: Thl) message ReportBugfixResultsToolCall { ReportBugfixResultsArgs args = 1; ReportBugfixResultsResult result = 2; } // Copied from: local:agent.v1.RepositoryIndexingInfo (var: R1l) 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: qee) 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 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: sfn) 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: sze) 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: M1l) message RequestContextError { string error = 1; } // Copied from: local:agent.v1.RequestContextMcpsPart (var: $1l) 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: Dfs) 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: P1l) message RequestContextRejected { string reason = 1; } // Copied from: local:agent.v1.RequestContextResult (var: CLt) message RequestContextResult { oneof result { RequestContextSuccess success = 1; RequestContextError error = 2; RequestContextRejected rejected = 3; } } // Copied from: local:agent.v1.RequestContextRulesPart (var: F1l) message RequestContextRulesPart { repeated CursorRule rules = 1; repeated CursorRule non_file_rules = 2; optional string cloud_rule = 3; } // Copied from: local:agent.v1.RequestContextSkillsPart (var: B1l) message RequestContextSkillsPart { repeated AgentSkill agent_skills = 1; optional SkillOptions skill_options = 2; } // Copied from: local:agent.v1.RequestContextSubagentsPart (var: U1l) message RequestContextSubagentsPart { repeated CustomSubagent custom_subagents = 1; } // Copied from: local:agent.v1.RequestContextSuccess (var: ELt) message RequestContextSuccess { RequestContext request_context = 1; optional bool served_from_disk_cache = 2; } // Copied from: local:agent.v1.RequestedFilePathRejectedReason (var: Ull) 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: HA) message RequestedModel { // Copied from: local:agent.v1.RequestedModel.ModelParameterValue (var: EL) 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.ResizePtyRequest (var: d0f) message ResizePtyRequest { string pty_id = 1; uint32 cols = 2; uint32 rows = 3; } // Copied from: local:agent.v1.ResizePtyResponse (var: h0f) message ResizePtyResponse { bool success = 1; } // Copied from: local:agent.v1.ResolveCommentAction (var: oCl) message ResolveCommentAction { optional string pr_url = 1; optional string branch_name = 2; int64 comment_id = 3; optional string repo_url = 4; optional string comment_reference = 5; } // Copied from: local:agent.v1.RespondToAgentHostInteractionRequest (var: H3i) message RespondToAgentHostInteractionRequest { string session_id = 1; string interaction_id = 2; InteractionResponse response = 3; } // Copied from: local:agent.v1.RespondToAgentHostInteractionResponse (var: z3i) message RespondToAgentHostInteractionResponse { AgentHostInteractionResponseStatus status = 1; } // Copied from: local:agent.v1.ResponseComparisonCompleted (var: pxl) message ResponseComparisonCompleted { } // Copied from: local:agent.v1.ResponseComparisonDisplayOrder (var: ufn) 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: lEl) 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: mxl) message ResponseComparisonSkipped { ResponseComparisonSkipReason reason = 1; } // Copied from: local:agent.v1.ResponseComparisonStarted (var: dxl) 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: hxl) message ResponseComparisonTextDelta { string text = 1; } // Copied from: local:agent.v1.ResponseComparisonUpdate (var: gxl) 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.RestoreArtifactInstruction (var: xCf) message RestoreArtifactInstruction { string absolute_path = 1; string download_url = 2; int64 updated_at_unix_ms = 3; } // Copied from: local:agent.v1.RestoreArtifactResult (var: TCf) message RestoreArtifactResult { ArtifactRestoreStatus status = 2; string error_message = 3; } // Copied from: local:agent.v1.RestoreArtifactsRequest (var: ACf) message RestoreArtifactsRequest { repeated RestoreArtifactInstruction artifacts = 1; } // Copied from: local:agent.v1.RestoreArtifactsResponse (var: ICf) message RestoreArtifactsResponse { repeated RestoreArtifactResult results = 1; } // Copied from: local:agent.v1.ResumeAction (var: Pwi) message ResumeAction { RequestContext request_context = 2; } // Copied from: local:agent.v1.RunScopedOverlay (var: PCf) message RunScopedOverlay { string run_id = 1; bool release = 2; string holder = 3; } // Copied from: local:agent.v1.SameMachineTarget (var: uEl) message SameMachineTarget { } // Copied from: local:agent.v1.SandboxPolicy (var: Fde) message SandboxPolicy { // Copied from: local:agent.v1.SandboxPolicy.ReadBoundaryMode (var: rMt) 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: IOe) 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: Shl) message ScreenshotAction { } // Copied from: local:agent.v1.ScrollAction (var: bhl) message ScrollAction { optional Coordinate coordinate = 1; ScrollDirection direction = 2; int32 amount = 3; optional string modifier_keys = 4; } // Copied from: local:agent.v1.ScrollDirection (var: pMt) 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: y1l) message SearchConversationsToolCall { ConversationSearchArgs args = 1; ConversationSearchResult result = 2; } // Copied from: local:agent.v1.SelectedAgenticGitAction (var: ALt) 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: iEl) message SelectedAgenticGitActionBabysitPrInCloudParams { optional string base_branch = 1; } // Copied from: local:agent.v1.SelectedAgenticGitActionCommitParams (var: TLt) 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: tEl) message SelectedAgenticGitActionCreateBranchParams { } // Copied from: local:agent.v1.SelectedAgenticGitActionFixMergeConflictsParams (var: nEl) message SelectedAgenticGitActionFixMergeConflictsParams { optional string base_branch = 1; optional string pr_url = 2; } // Copied from: local:agent.v1.SelectedAgenticGitActionPullLocallyParams (var: kwi) message SelectedAgenticGitActionPullLocallyParams { string remote_branch = 1; } // Copied from: local:agent.v1.SelectedAgenticGitActionPushParams (var: Kfs) message SelectedAgenticGitActionPushParams { repeated string files_to_push = 1; optional bool create_pr_draft = 2; } // Copied from: local:agent.v1.SelectedAgenticGitActionUpdateBranchParams (var: rEl) message SelectedAgenticGitActionUpdateBranchParams { optional string base_branch = 1; } // Copied from: local:agent.v1.SelectedAgenticGitFileWithStatus (var: qfs) message SelectedAgenticGitFileWithStatus { string path = 1; optional string status = 2; } // Copied from: local:agent.v1.SelectedBrowser (var: Gfs) message SelectedBrowser { string browser_id = 1; string url = 2; optional string page_title = 3; } // Copied from: local:agent.v1.SelectedCodeSelection (var: Flt) message SelectedCodeSelection { string content = 1; string path = 2; optional string relative_path = 3; Range range = 4; } // Copied from: local:agent.v1.SelectedConsoleLog (var: X1l) 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: Xse) 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: ZOe) 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: Ffs) message SelectedCursorRule { CursorRule rule = 1; } // Copied from: local:agent.v1.SelectedDocument (var: wwi) message SelectedDocument { // Copied from: local:agent.v1.SelectedDocument.BlobIdWithData (var: z1l) 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; PromptUploadRef prompt_upload_ref = 10; } } // Copied from: local:agent.v1.SelectedDocumentation (var: Wfs) message SelectedDocumentation { string doc_id = 1; string name = 2; } // Copied from: local:agent.v1.SelectedExternalLink (var: Ofs) 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: q1l) message SelectedFile { string content = 1; string path = 2; optional string relative_path = 3; } // Copied from: local:agent.v1.SelectedFolder (var: Q1l) message SelectedFolder { string path = 1; optional string relative_path = 2; LsDirectoryTreeNode directory_tree = 3; } // Copied from: local:agent.v1.SelectedGitBranchContext (var: sEl) 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: Ufs) message SelectedGitCommit { string sha = 1; string message = 2; optional string description = 3; string diff = 4; } // Copied from: local:agent.v1.SelectedGitDiff (var: Bfs) message SelectedGitDiff { string content = 1; int32 full_content_length_char_count = 2; } // Copied from: local:agent.v1.SelectedGitDiffFromBranchToMain (var: Swi) message SelectedGitDiffFromBranchToMain { string content = 1; int32 full_content_length_char_count = 2; } // Copied from: local:agent.v1.SelectedGitPRDiffSelection (var: jfs) 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: ywi) message SelectedImage { // Copied from: local:agent.v1.SelectedImage.BlobIdWithData (var: Pfs) message BlobIdWithData { bytes blob_id = 1; bytes data = 2; } // Copied from: local:agent.v1.SelectedImage.Dimension (var: W1l) 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: afn) message SelectedPastChat { string agent_id = 1; string name = 2; } // Copied from: local:agent.v1.SelectedPluginCapabilityRef (var: Y1l) 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: Mfs) 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: $fs) 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: Vfs) message SelectedSubagent { string name = 1; } // Copied from: local:agent.v1.SelectedTerminal (var: K1l) message SelectedTerminal { string content = 1; optional string title = 2; optional string path = 3; } // Copied from: local:agent.v1.SelectedTerminalSelection (var: Nfs) message SelectedTerminalSelection { string content = 1; optional string title = 2; optional string path = 3; Range range = 4; } // Copied from: local:agent.v1.SelectedUIElement (var: eEl) 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: ofn) message SelectedVideo { // Copied from: local:agent.v1.SelectedVideo.BlobIdWithData (var: V1l) message BlobIdWithData { bytes blob_id = 1; bytes data = 2; } // Copied from: local:agent.v1.SelectedVideo.SignedUrl (var: Lfs) 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: pEl) message SelfHostedPoolTarget { optional string pool = 1; repeated SelfHostedWorkerLabel labels = 2; } // Copied from: local:agent.v1.SelfHostedWorkerLabel (var: mEl) message SelfHostedWorkerLabel { string key = 1; string value = 2; } // Copied from: local:agent.v1.SelfHostedWorkerTarget (var: hEl) message SelfHostedWorkerTarget { string worker_id = 1; } // Copied from: local:agent.v1.SemSearchToolArgs (var: $gs) message SemSearchToolArgs { string query = 1; repeated string target_directories = 2; string explanation = 3; } // Copied from: local:agent.v1.SemSearchToolCall (var: Ugs) message SemSearchToolCall { SemSearchToolArgs args = 1; SemSearchToolResult result = 2; } // Copied from: local:agent.v1.SemSearchToolError (var: vkl) message SemSearchToolError { string error_message = 1; } // Copied from: local:agent.v1.SemSearchToolResult (var: jgs) message SemSearchToolResult { oneof result { SemSearchToolSuccess success = 1; SemSearchToolError error = 2; } } // Copied from: local:agent.v1.SemSearchToolSuccess (var: fkl) message SemSearchToolSuccess { string results = 1; repeated CodeResult code_results = 2; } // Copied from: local:agent.v1.SendAgentHostActionRequest (var: W3i) message SendAgentHostActionRequest { string session_id = 1; ConversationAction action = 2; optional string model_id = 3; optional ModelDetails model_details = 4; optional AgentHostTurnOptions turn_options = 5; optional RequestedModel requested_model = 6; optional ConversationStateStructure base_history = 7; } // Copied from: local:agent.v1.SendAgentHostActionResponse (var: Reo) message SendAgentHostActionResponse { string turn_id = 1; } // Copied from: local:agent.v1.SendAgentHostMessageRequest (var: nRd) message SendAgentHostMessageRequest { string session_id = 1; string text = 2; optional string model_id = 3; optional ModelDetails model_details = 4; optional AgentHostTurnOptions turn_options = 5; optional RequestedModel requested_model = 6; } // Copied from: local:agent.v1.SendAgentHostMessageResponse (var: iRd) message SendAgentHostMessageResponse { string turn_id = 1; } // Copied from: local:agent.v1.SendFinalSummaryArgs (var: zCl) message SendFinalSummaryArgs { optional string final_summary = 1; } // Copied from: local:agent.v1.SendFinalSummaryError (var: GCl) message SendFinalSummaryError { string error = 1; } // Copied from: local:agent.v1.SendFinalSummaryResult (var: qCl) message SendFinalSummaryResult { oneof result { SendFinalSummarySuccess success = 1; SendFinalSummaryError error = 2; } } // Copied from: local:agent.v1.SendFinalSummarySuccess (var: VCl) message SendFinalSummarySuccess { string final_summary = 1; } // Copied from: local:agent.v1.SendFinalSummaryToolCall (var: KCl) message SendFinalSummaryToolCall { SendFinalSummaryArgs args = 1; SendFinalSummaryResult result = 2; } // Copied from: local:agent.v1.SendInputRequest (var: l0f) message SendInputRequest { string pty_id = 1; bytes data = 2; } // Copied from: local:agent.v1.SendInputResponse (var: u0f) message SendInputResponse { bool success = 1; } // Copied from: local:agent.v1.SendMessageArgs (var: y0l) message SendMessageArgs { oneof message { SendMessageText text = 1; SendMessageAttachment attachment = 2; } } // Copied from: local:agent.v1.SendMessageAttachment (var: _0l) message SendMessageAttachment { string url = 1; optional string alt = 2; } // Copied from: local:agent.v1.SendMessageError (var: S0l) message SendMessageError { string error = 1; } // Copied from: local:agent.v1.SendMessageResult (var: k0l) message SendMessageResult { oneof result { SendMessageSuccess success = 1; SendMessageError error = 2; } } // Copied from: local:agent.v1.SendMessageSuccess (var: w0l) message SendMessageSuccess { uint64 timestamp = 1; string message_id = 2; } // Copied from: local:agent.v1.SendMessageText (var: b0l) message SendMessageText { string content = 1; } // Copied from: local:agent.v1.SendMessageToolCall (var: C0l) message SendMessageToolCall { SendMessageArgs args = 1; SendMessageResult result = 2; } // Copied from: local:agent.v1.SendToUserArgs (var: D0l) message SendToUserArgs { string message = 1; } // Copied from: local:agent.v1.SendToUserError (var: M0l) message SendToUserError { string error = 1; } // Copied from: local:agent.v1.SendToUserResult (var: P0l) message SendToUserResult { oneof result { SendToUserSuccess success = 1; SendToUserError error = 2; } } // Copied from: local:agent.v1.SendToUserSuccess (var: R0l) message SendToUserSuccess { } // Copied from: local:agent.v1.SendToUserToolCall (var: L0l) message SendToUserToolCall { SendToUserArgs args = 1; SendToUserResult result = 2; } // Copied from: local:agent.v1.SessionParent (var: vkf) message SessionParent { string parent_session_id = 1; string parent_tool_call_id = 2; string root_session_id = 3; } // Copied from: local:agent.v1.SetActiveBranchArgs (var: fEl) message SetActiveBranchArgs { string path = 1; string branch_name = 2; } // Copied from: local:agent.v1.SetActiveBranchError (var: bEl) message SetActiveBranchError { string error = 1; } // Copied from: local:agent.v1.SetActiveBranchResult (var: _El) message SetActiveBranchResult { oneof result { SetActiveBranchSuccess success = 1; SetActiveBranchError error = 2; } } // Copied from: local:agent.v1.SetActiveBranchSuccess (var: vEl) message SetActiveBranchSuccess { } // Copied from: local:agent.v1.SetActiveBranchToolCall (var: yEl) message SetActiveBranchToolCall { SetActiveBranchArgs args = 1; SetActiveBranchResult result = 2; } // Copied from: local:agent.v1.SetBlobArgs (var: PAl) message SetBlobArgs { bytes blob_id = 1; bytes blob_data = 2; } // Copied from: local:agent.v1.SetBlobResult (var: LAl) message SetBlobResult { optional Error error = 1; } // Copied from: local:agent.v1.SetPrStatusAction (var: cCl) 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: rfs) message SetupVmEnvironmentArgs { string install_command = 2; string start_command = 3; string dockerfile_contents = 4; } // Copied from: local:agent.v1.SetupVmEnvironmentResult (var: Xgn) message SetupVmEnvironmentResult { oneof result { SetupVmEnvironmentSuccess success = 1; } } // Copied from: local:agent.v1.SetupVmEnvironmentSuccess (var: nwi) message SetupVmEnvironmentSuccess { } // Copied from: local:agent.v1.SetupVmEnvironmentToolCall (var: jkl) message SetupVmEnvironmentToolCall { SetupVmEnvironmentArgs args = 1; SetupVmEnvironmentResult result = 2; } // Copied from: local:agent.v1.ShellAbortReason (var: nrs) 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: FTl) 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: BTl) message ShellAllowlistPrecheckResult { bool allowlisted = 1; } // Copied from: local:agent.v1.ShellArgs (var: uHe) 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; repeated string admin_command_denylist = 22; } // Copied from: local:agent.v1.ShellBackgroundReason (var: npn) 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: yvs) message ShellCommand { string command = 1; } // Copied from: local:agent.v1.ShellCommandAction (var: VEl) message ShellCommandAction { ShellCommand shell_command = 1; string exec_id = 2; } // Copied from: local:agent.v1.ShellCommandParsingResult (var: xct) message ShellCommandParsingResult { // Copied from: local:agent.v1.ShellCommandParsingResult.ExecutableCommand (var: _fi) message ExecutableCommand { string name = 1; repeated ShellCommandParsingResult.ExecutableCommandArg args = 2; string full_text = 3; } // Copied from: local:agent.v1.ShellCommandParsingResult.ExecutableCommandArg (var: irs) message ExecutableCommandArg { string type = 1; string value = 2; } // Copied from: local:agent.v1.ShellCommandParsingResult.Redirect (var: rrs) 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: Gi) message ShellConversationTurn { ShellCommand shell_command = 1; ShellOutput shell_output = 2; } // Copied from: local:agent.v1.ShellConversationTurnStructure (var: JEl) message ShellConversationTurnStructure { bytes shell_command = 1; bytes shell_output = 2; } // Copied from: local:agent.v1.ShellFailure (var: kfi) 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: ars) message ShellHookApprovalRequirement { // Copied from: local:agent.v1.ShellHookApprovalRequirement.Kind (var: Dll) enum Kind { KIND_UNSPECIFIED = 0; KIND_FORCE_PROMPT = 1; } Kind kind = 1; optional string reason = 2; } // Copied from: local:agent.v1.ShellOutput (var: QEl) message ShellOutput { string stdout = 1; string stderr = 2; int32 exit_code = 3; } // Copied from: local:agent.v1.ShellOutputDeltaUpdate (var: Pvs) message ShellOutputDeltaUpdate { oneof event { ShellStreamStdout stdout = 1; ShellStreamStderr stderr = 2; ShellStreamExit exit = 3; ShellStreamStart start = 4; } } // Copied from: local:agent.v1.ShellOutputNotificationConfig (var: srs) 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: Cfi) message ShellPermissionDenied { string command = 1; string working_directory = 2; string error = 3; bool is_readonly = 4; } // Copied from: local:agent.v1.ShellRejected (var: Tct) message ShellRejected { string command = 1; string working_directory = 2; string reason = 3; bool is_readonly = 4; } // Copied from: local:agent.v1.ShellResult (var: kG) 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: lrs) 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: spn) message ShellSpawnError { string command = 1; string working_directory = 2; string error = 3; } // Copied from: local:agent.v1.ShellStream (var: urs) 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: Rll) 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: Sfi) 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: Mll) message ShellStreamHookContext { repeated HookAdditionalContext hook_additional_contexts = 1; } // Copied from: local:agent.v1.ShellStreamStart (var: crs) message ShellStreamStart { optional SandboxPolicy sandbox_policy = 1; } // Copied from: local:agent.v1.ShellStreamStderr (var: wfi) message ShellStreamStderr { string data = 1; } // Copied from: local:agent.v1.ShellStreamStdout (var: yfi) message ShellStreamStdout { string data = 1; } // Copied from: local:agent.v1.ShellSuccess (var: rpn) 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: Pll) message ShellTimeout { string command = 1; string working_directory = 2; int32 timeout_ms = 3; } // Copied from: local:agent.v1.ShellToolCall (var: z_e) message ShellToolCall { ShellArgs args = 1; ShellResult result = 2; optional string description = 3; } // Copied from: local:agent.v1.ShellToolCallDelta (var: fSl) message ShellToolCallDelta { oneof delta { ShellToolCallStdoutDelta stdout = 1; ShellToolCallStderrDelta stderr = 2; } } // Copied from: local:agent.v1.ShellToolCallStderrDelta (var: gSl) message ShellToolCallStderrDelta { string content = 1; } // Copied from: local:agent.v1.ShellToolCallStdoutDelta (var: mSl) message ShellToolCallStdoutDelta { string content = 1; } // Copied from: local:agent.v1.SimulatedMsgReason (var: ph) 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: L1l) 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: _wi) message SkillOptions { repeated SkillDescriptor skill_descriptors = 1; } // Copied from: local:agent.v1.SmartModeApproval (var: sMt) message SmartModeApproval { string request_id = 1; string reason = 2; } // Copied from: local:agent.v1.SmartModeClassifierArgs (var: q_s) 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: ITl) message SmartModeClassifierConversationMessage { string role = 1; string content = 2; } // Copied from: local:agent.v1.SmartModeClassifierDecision (var: ATl) 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: MTl) message SmartModeClassifierError { string error = 1; } // Copied from: local:agent.v1.SmartModeClassifierResult (var: K_s) message SmartModeClassifierResult { oneof result { SmartModeClassifierSuccess success = 1; SmartModeClassifierError error = 2; } } // Copied from: local:agent.v1.SmartModeClassifierSuccess (var: RTl) message SmartModeClassifierSuccess { SmartModeClassifierDecision decision = 1; optional string block_reason = 2; } // Copied from: local:agent.v1.SmartModeRiskTarget (var: DTl) message SmartModeRiskTarget { string action = 1; google.protobuf.Struct arguments = 2; } // Copied from: local:agent.v1.SpanContext (var: xfn) 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.SpawnPtyRequest (var: i0f) message SpawnPtyRequest { optional Process process = 1; string cwd = 2; map env = 3; uint32 cols = 4; uint32 rows = 5; } // Copied from: local:agent.v1.SpawnPtyResponse (var: r0f) message SpawnPtyResponse { string pty_id = 1; } // Copied from: local:agent.v1.SpeedupSelection (var: Dn) message SpeedupSelection { int32 candidate_index = 1; optional float speed_override = 2; } // Copied from: local:agent.v1.StackTrace (var: J1l) message StackTrace { repeated CallFrame call_frames = 1; optional string raw_stack_trace = 2; } // Copied from: local:agent.v1.StartGrindExecutionArgs (var: Wkl) message StartGrindExecutionArgs { optional string explanation = 1; string tool_call_id = 2; } // Copied from: local:agent.v1.StartGrindExecutionError (var: Vkl) message StartGrindExecutionError { string error = 1; } // Copied from: local:agent.v1.StartGrindExecutionResult (var: Hkl) message StartGrindExecutionResult { oneof result { StartGrindExecutionSuccess success = 1; StartGrindExecutionError error = 2; } } // Copied from: local:agent.v1.StartGrindExecutionSuccess (var: zkl) message StartGrindExecutionSuccess { } // Copied from: local:agent.v1.StartGrindExecutionToolCall (var: Gkl) message StartGrindExecutionToolCall { StartGrindExecutionArgs args = 1; StartGrindExecutionResult result = 2; } // Copied from: local:agent.v1.StartGrindPlanningArgs (var: qkl) message StartGrindPlanningArgs { optional string explanation = 1; string tool_call_id = 2; } // Copied from: local:agent.v1.StartGrindPlanningError (var: Ykl) message StartGrindPlanningError { string error = 1; } // Copied from: local:agent.v1.StartGrindPlanningResult (var: Kkl) message StartGrindPlanningResult { oneof result { StartGrindPlanningSuccess success = 1; StartGrindPlanningError error = 2; } } // Copied from: local:agent.v1.StartGrindPlanningSuccess (var: Qkl) message StartGrindPlanningSuccess { } // Copied from: local:agent.v1.StartGrindPlanningToolCall (var: Zkl) message StartGrindPlanningToolCall { StartGrindPlanningArgs args = 1; StartGrindPlanningResult result = 2; } // Copied from: local:agent.v1.StartPlanAction (var: GEl) message StartPlanAction { UserMessage user_message = 1; RequestContext request_context = 2; bool is_spec = 3; } // Copied from: local:agent.v1.StderrEvent (var: Vkf) message StderrEvent { string data = 1; } // Copied from: local:agent.v1.StdoutEvent (var: zkf) message StdoutEvent { string data = 1; } // Copied from: local:agent.v1.StepCompletedUpdate (var: Nvs) message StepCompletedUpdate { uint64 step_id = 1; int64 step_duration_ms = 2; } // Copied from: local:agent.v1.StepStartedUpdate (var: Lvs) message StepStartedUpdate { uint64 step_id = 1; } // Copied from: local:agent.v1.StepTiming (var: oxl) message StepTiming { uint64 duration_ms = 1; uint64 timestamp_ms = 2; } // Copied from: local:agent.v1.StopRequestQuery (var: Mxl) 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: Pxl) message StopRequestResponse { optional string followup_message = 1; } // Copied from: local:agent.v1.SubagentArgs (var: W_s) 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: H_s) message SubagentAwaitArgs { string agent_id = 1; uint32 timeout_ms = 2; } // Copied from: local:agent.v1.SubagentAwaitComplete (var: z_s) 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: Efn) message SubagentAwaitError { optional string agent_id = 1; string error = 2; } // Copied from: local:agent.v1.SubagentAwaitNotFound (var: G_s) message SubagentAwaitNotFound { string agent_id = 1; } // Copied from: local:agent.v1.SubagentAwaitResult (var: uze) 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: V_s) message SubagentAwaitStillRunning { string agent_id = 1; optional string transcript_path = 2; } // Copied from: local:agent.v1.SubagentBackgroundReason (var: yxe) 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: wl) message SubagentCredentials { oneof credentials { ApiKeyCredentials api_key_credentials = 1; AzureCredentials azure_credentials = 2; BedrockCredentials bedrock_credentials = 3; } } // Copied from: local:agent.v1.SubagentError (var: WLt) message SubagentError { optional string agent_id = 1; string error = 2; } // Copied from: local:agent.v1.SubagentExecutionEnvironment (var: she) enum SubagentExecutionEnvironment { SUBAGENT_EXECUTION_ENVIRONMENT_UNSPECIFIED = 0; SUBAGENT_EXECUTION_ENVIRONMENT_LOCAL = 1; SUBAGENT_EXECUTION_ENVIRONMENT_CLOUD = 2; } // Copied from: local:agent.v1.SubagentInteractionPolicy (var: pkf) enum SubagentInteractionPolicy { SUBAGENT_INTERACTION_POLICY_UNSPECIFIED = 0; SUBAGENT_INTERACTION_POLICY_AUTO_REJECT = 1; SUBAGENT_INTERACTION_POLICY_BUBBLE_TO_PARENT = 2; SUBAGENT_INTERACTION_POLICY_SURFACE_TO_USER = 3; } // Copied from: local:agent.v1.SubagentModelOverride (var: ffn) message SubagentModelOverride { string subagent_type = 1; oneof selection { RequestedModel model = 2; bool inherit = 3; bool disabled = 4; } } // Copied from: local:agent.v1.SubagentPersistedState (var: $lt) 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; optional TargetMachine machine = 10; } // Copied from: local:agent.v1.SubagentResult (var: lze) message SubagentResult { oneof result { SubagentSuccess success = 1; SubagentError error = 2; } } // Copied from: local:agent.v1.SubagentRunState (var: ivs) 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: lP) 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: wxl) 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: Sxl) message SubagentStartRequestResponse { optional string permission = 1; optional string user_message = 2; optional string additional_context = 3; } // Copied from: local:agent.v1.SubagentStopRequestQuery (var: kxl) 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: Cxl) message SubagentStopRequestResponse { optional string followup_message = 1; optional string additional_context = 2; } // Copied from: local:agent.v1.SubagentSuccess (var: uSi) 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: WU) 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: jrs) message SubagentTypeBash { } // Copied from: local:agent.v1.SubagentTypeBrowserUse (var: Wrs) message SubagentTypeBrowserUse { } // Copied from: local:agent.v1.SubagentTypeComputerUse (var: Mfi) message SubagentTypeComputerUse { } // Copied from: local:agent.v1.SubagentTypeCursorGuide (var: chl) message SubagentTypeCursorGuide { } // Copied from: local:agent.v1.SubagentTypeCustom (var: Ofi) message SubagentTypeCustom { string name = 1; } // Copied from: local:agent.v1.SubagentTypeDebug (var: Nfi) message SubagentTypeDebug { } // Copied from: local:agent.v1.SubagentTypeExplore (var: Pfi) message SubagentTypeExplore { } // Copied from: local:agent.v1.SubagentTypeMediaReview (var: $rs) message SubagentTypeMediaReview { } // Copied from: local:agent.v1.SubagentTypeShell (var: Lfi) message SubagentTypeShell { } // Copied from: local:agent.v1.SubagentTypeUnspecified (var: Urs) message SubagentTypeUnspecified { } // Copied from: local:agent.v1.SubagentTypeVmSetupHelper (var: Hrs) message SubagentTypeVmSetupHelper { } // Copied from: local:agent.v1.SubagentTypeWatchVideo (var: zrs) message SubagentTypeWatchVideo { } // Copied from: local:agent.v1.SubmittedCustomMode (var: uvs) 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: dvs) message SubmittedExitedCustomMode { string id = 1; string label = 2; } // Copied from: local:agent.v1.SubscriptionEventDisplay (var: fvs) message SubscriptionEventDisplay { optional string display_label = 1; optional string resource_url = 2; optional string subscription_id = 3; } // Copied from: local:agent.v1.SubscriptionNotificationAction (var: FEl) message SubscriptionNotificationAction { repeated UserMessage notifications = 1; RequestContext request_context = 2; optional bool send_to_interaction_listener = 3; } // Copied from: local:agent.v1.SubscriptionSource (var: JOe) enum SubscriptionSource { SUBSCRIPTION_SOURCE_UNSPECIFIED = 0; SUBSCRIPTION_SOURCE_SLACK = 1; SUBSCRIPTION_SOURCE_GITHUB = 2; SUBSCRIPTION_SOURCE_LINEAR = 3; } // Copied from: local:agent.v1.SummarizeAction (var: gvs) message SummarizeAction { } // Copied from: local:agent.v1.SummaryCompletedUpdate (var: Mvs) message SummaryCompletedUpdate { optional string hook_message = 1; } // Copied from: local:agent.v1.SummaryStartedUpdate (var: Rvs) message SummaryStartedUpdate { } // Copied from: local:agent.v1.SummaryUpdate (var: Dvs) message SummaryUpdate { string summary = 1; } // Copied from: local:agent.v1.SwitchModeArgs (var: Ygn) message SwitchModeArgs { string target_mode_id = 1; optional string explanation = 2; string tool_call_id = 3; } // Copied from: local:agent.v1.SwitchModeError (var: Mkl) message SwitchModeError { string error = 1; } // Copied from: local:agent.v1.SwitchModeRejected (var: Pkl) message SwitchModeRejected { string reason = 1; } // Copied from: local:agent.v1.SwitchModeRequestQuery (var: tfs) message SwitchModeRequestQuery { SwitchModeArgs args = 1; } // Copied from: local:agent.v1.SwitchModeRequestResponse (var: G_e) message SwitchModeRequestResponse { // Copied from: local:agent.v1.SwitchModeRequestResponse.Approved (var: Zgn) message Approved { } // Copied from: local:agent.v1.SwitchModeRequestResponse.Rejected (var: nze) message Rejected { string reason = 1; } oneof result { Approved approved = 1; Rejected rejected = 2; } } // Copied from: local:agent.v1.SwitchModeResult (var: Xgs) message SwitchModeResult { oneof result { SwitchModeSuccess success = 1; SwitchModeError error = 2; SwitchModeRejected rejected = 3; } } // Copied from: local:agent.v1.SwitchModeSuccess (var: Rkl) message SwitchModeSuccess { string from_mode_id = 1; string to_mode_id = 2; } // Copied from: local:agent.v1.SwitchModeToolCall (var: efs) message SwitchModeToolCall { SwitchModeArgs args = 1; SwitchModeResult result = 2; } // Copied from: local:agent.v1.SystemContextInjection (var: BEl) message SystemContextInjection { string producer = 1; string content = 2; } // Copied from: local:agent.v1.TargetMachine (var: Xfs) 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: xwi) 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: evs) message TaskError { string error = 1; } // Copied from: local:agent.v1.TaskMode (var: upn) enum TaskMode { TASK_MODE_UNSPECIFIED = 0; TASK_MODE_AGENT = 1; TASK_MODE_PLAN = 2; } // Copied from: local:agent.v1.TaskResult (var: oze) message TaskResult { oneof result { TaskSuccess success = 1; TaskError error = 2; } } // Copied from: local:agent.v1.TaskSuccess (var: dfn) 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: RLt) message TaskToolCall { TaskArgs args = 1; TaskResult result = 2; optional string cloud_agent_bc_id = 3; } // Copied from: local:agent.v1.TaskToolCallArgsProto (var: kl) 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: gEl) message TaskToolCallDelta { InteractionUpdate interaction_update = 1; } // Copied from: local:agent.v1.TerminalMetadata (var: Ffi) message TerminalMetadata { // Copied from: local:agent.v1.TerminalMetadata.Command (var: hpn) 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.TerminatePtyRequest (var: f0f) message TerminatePtyRequest { string pty_id = 1; } // Copied from: local:agent.v1.TerminatePtyResponse (var: v0f) message TerminatePtyResponse { bool success = 1; } // Copied from: local:agent.v1.TextDeltaUpdate (var: MLt) message TextDeltaUpdate { string text = 1; bool is_server_notice = 2; } // Copied from: local:agent.v1.ThinkingCompletedUpdate (var: Bwi) message ThinkingCompletedUpdate { int32 thinking_duration_ms = 1; } // Copied from: local:agent.v1.ThinkingDeltaUpdate (var: Fwi) message ThinkingDeltaUpdate { string text = 1; optional ThinkingStyle thinking_style = 2; } // Copied from: local:agent.v1.ThinkingDetails (var: lxl) message ThinkingDetails { } // Copied from: local:agent.v1.ThinkingMessage (var: _vs) message ThinkingMessage { string text = 1; uint32 duration_ms = 2; } // Copied from: local:agent.v1.ThinkingStyle (var: DLt) 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: xll) enum TimeoutBehavior { TIMEOUT_BEHAVIOR_UNSPECIFIED = 0; TIMEOUT_BEHAVIOR_CANCEL = 1; TIMEOUT_BEHAVIOR_BACKGROUND = 2; } // Copied from: local:agent.v1.TmuxSession (var: $eo) message TmuxSession { string session_id = 1; string session_name = 2; string display_name = 3; TmuxSessionKind kind = 4; string cwd = 5; string shell = 6; repeated string process_args = 7; int64 created_at_unix_ms = 8; uint32 attached_client_count = 9; } // Copied from: local:agent.v1.TmuxSessionKind (var: gRd) enum TmuxSessionKind { TMUX_SESSION_KIND_UNSPECIFIED = 0; TMUX_SESSION_KIND_USER_MANUAL = 1; TMUX_SESSION_KIND_AGENT_BACKGROUND = 2; TMUX_SESSION_KIND_AGENT_INTERACTIVE = 3; } // Copied from: local:agent.v1.TodoItem (var: vxe) 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: EB) 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: Ivs) message TokenDeltaUpdate { int32 tokens = 1; } // Copied from: local:agent.v1.ToolCall (var: Xb) 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: jlt) message ToolCallCompletedUpdate { string call_id = 1; ToolCall tool_call = 2; string model_call_id = 3; } // Copied from: local:agent.v1.ToolCallDelta (var: Twi) 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: Avs) message ToolCallDeltaUpdate { string call_id = 1; ToolCallDelta tool_call_delta = 2; string model_call_id = 3; } // Copied from: local:agent.v1.ToolCallStartedUpdate (var: PLt) message ToolCallStartedUpdate { string call_id = 1; ToolCall tool_call = 2; string model_call_id = 3; } // Copied from: local:agent.v1.TrackedGitRepo (var: cxl) message TrackedGitRepo { string repo_path = 1; string branch_name = 2; } // Copied from: local:agent.v1.TriggeringUserInfo (var: Awi) message TriggeringUserInfo { optional string auth_id = 1; optional int32 user_id = 2; } // Copied from: local:agent.v1.TruncatedToolCall (var: EEl) message TruncatedToolCall { bytes original_step_blob_id = 1; TruncatedToolCallArgs args = 2; TruncatedToolCallResult result = 3; } // Copied from: local:agent.v1.TruncatedToolCallArgs (var: wEl) message TruncatedToolCallArgs { } // Copied from: local:agent.v1.TruncatedToolCallError (var: kEl) message TruncatedToolCallError { string error = 1; } // Copied from: local:agent.v1.TruncatedToolCallResult (var: CEl) message TruncatedToolCallResult { oneof result { TruncatedToolCallSuccess success = 1; TruncatedToolCallError error = 2; } } // Copied from: local:agent.v1.TruncatedToolCallSuccess (var: SEl) message TruncatedToolCallSuccess { } // Copied from: local:agent.v1.TtftBreakdown (var: BAl) 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: $wi) 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: _hl) message TypeAction { string text = 1; } // Copied from: local:agent.v1.UpdateConversationMetadataRequest (var: iys) 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: UAl) message UpdateConversationMetadataResponse { } // Copied from: local:agent.v1.UpdateEnvironmentVariablesRequest (var: MCf) message UpdateEnvironmentVariablesRequest { map env = 1; bool replace = 2; bool restore_previous_values = 3; RunScopedOverlay run_scoped_overlay = 4; } // Copied from: local:agent.v1.UpdateEnvironmentVariablesResponse (var: LCf) message UpdateEnvironmentVariablesResponse { uint32 applied = 1; uint32 removed = 2; } // Copied from: local:agent.v1.UpdateGoalArgs (var: E1l) message UpdateGoalArgs { GoalStatus status = 1; } // Copied from: local:agent.v1.UpdateGoalResult (var: T1l) message UpdateGoalResult { oneof result { UpdateGoalSuccess success = 1; GoalError error = 2; } } // Copied from: local:agent.v1.UpdateGoalSuccess (var: x1l) message UpdateGoalSuccess { GoalStatus status = 1; } // Copied from: local:agent.v1.UpdateGoalToolCall (var: A1l) message UpdateGoalToolCall { UpdateGoalArgs args = 1; UpdateGoalResult result = 2; } // Copied from: local:agent.v1.UpdatePrAction (var: rCl) 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; optional int64 stack_on_pr_number = 9; optional bool clear_stack = 10; optional bool draft = 11; } // Copied from: local:agent.v1.UpdatePrCodeTourArgs (var: QCl) message UpdatePrCodeTourArgs { string feedback = 1; string tool_call_id = 2; } // Copied from: local:agent.v1.UpdatePrCodeTourError (var: JCl) message UpdatePrCodeTourError { string error = 1; } // Copied from: local:agent.v1.UpdatePrCodeTourResult (var: YCl) message UpdatePrCodeTourResult { oneof result { UpdatePrCodeTourSuccess success = 1; UpdatePrCodeTourError error = 2; } } // Copied from: local:agent.v1.UpdatePrCodeTourSuccess (var: ZCl) message UpdatePrCodeTourSuccess { string revision_id = 1; string message = 2; } // Copied from: local:agent.v1.UpdatePrCodeTourToolCall (var: XCl) message UpdatePrCodeTourToolCall { UpdatePrCodeTourArgs args = 1; UpdatePrCodeTourResult result = 2; } // Copied from: local:agent.v1.UpdateTodosArgs (var: kgs) message UpdateTodosArgs { repeated TodoItem todos = 1; bool merge = 2; } // Copied from: local:agent.v1.UpdateTodosError (var: MSl) message UpdateTodosError { string error = 1; } // Copied from: local:agent.v1.UpdateTodosResult (var: Cgs) message UpdateTodosResult { oneof result { UpdateTodosSuccess success = 1; UpdateTodosError error = 2; } } // Copied from: local:agent.v1.UpdateTodosSuccess (var: Egs) message UpdateTodosSuccess { repeated TodoItem todos = 1; int32 total_count = 2; bool was_merge = 3; } // Copied from: local:agent.v1.UpdateTodosToolCall (var: Sgs) message UpdateTodosToolCall { UpdateTodosArgs args = 1; UpdateTodosResult result = 2; } // Copied from: local:agent.v1.UploadArtifactsRequest (var: SCf) message UploadArtifactsRequest { repeated ArtifactUploadInstruction uploads = 1; bool wait_for_completion = 2; } // Copied from: local:agent.v1.UploadArtifactsResponse (var: ECf) message UploadArtifactsResponse { repeated ArtifactUploadDispatchResult results = 1; } // Copied from: local:agent.v1.UploadConversationBlobsRequest (var: pys) 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: zAl) message UploadConversationBlobsResponse { } // Copied from: local:agent.v1.UploadLocalAgentRunToPromptQualityRequest (var: gys) 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: VAl) message UploadLocalAgentRunToPromptQualityResponse { string request_id = 1; string primary_invocation_id = 2; } // Copied from: local:agent.v1.UserContextInjection (var: lvs) message UserContextInjection { UserMessage user_message = 1; RequestContext request_context = 2; } // Copied from: local:agent.v1.UserDisplayInfo (var: Lwi) 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: Sk) message UserMessage { // Copied from: local:agent.v1.UserMessage.SimulatedMessageMetadata (var: KEl) 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; optional SubscriptionEventDisplay subscription_event_display = 6; } 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: ohe) 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: jwi) message UserMessageAppendedUpdate { UserMessage user_message = 1; } // Copied from: local:agent.v1.VideoCut (var: Jn) message VideoCut { int64 start_ms = 1; int64 end_ms = 2; string reason = 3; } // Copied from: local:agent.v1.WaitAction (var: whl) message WaitAction { int32 duration_ms = 1; } // Copied from: local:agent.v1.WarmRemoteAccessServerRequest (var: fCf) message WarmRemoteAccessServerRequest { string commit = 1; int32 port = 2; string connection_token = 3; } // Copied from: local:agent.v1.WarmRemoteAccessServerResponse (var: vCf) message WarmRemoteAccessServerResponse { } // Copied from: local:agent.v1.WatchAgentHostSessionBackgroundWorkEvent (var: Feo) message WatchAgentHostSessionBackgroundWorkEvent { oneof event { AgentHostSessionBackgroundWorkSnapshot snapshot = 1; AgentHostSessionBackgroundWorkState state = 2; } } // Copied from: local:agent.v1.WatchAgentHostSessionBackgroundWorkRequest (var: Oeo) message WatchAgentHostSessionBackgroundWorkRequest { string session_id = 1; optional AgentHostBackgroundWorkKind kind = 2; optional AgentHostBackgroundWorkState state = 3; optional string owner_id = 4; } // Copied from: local:agent.v1.WatchAgentHostSessionInteractionsEvent (var: Neo) message WatchAgentHostSessionInteractionsEvent { oneof event { AgentHostSessionInteractionsSnapshot snapshot = 1; AgentHostSessionInteractionsState state = 2; } } // Copied from: local:agent.v1.WatchAgentHostSessionInteractionsRequest (var: Leo) message WatchAgentHostSessionInteractionsRequest { string session_id = 1; } // Copied from: local:agent.v1.WatchAgentHostSessionsEvent (var: Sgt) message WatchAgentHostSessionsEvent { oneof event { AgentHostSessionsSnapshot snapshot = 1; AgentHostSessionAdded added = 2; AgentHostSessionUpdated updated = 3; AgentHostSessionDeleted deleted = 4; } } // Copied from: local:agent.v1.WatchAgentHostSessionsRequest (var: Ieo) message WatchAgentHostSessionsRequest { } // Copied from: local:agent.v1.WatchStatusResponse (var: GCf) message WatchStatusResponse { string worker_id = 1; PrivateWorkerStatus status = 2; bool connected = 3; bool claimed = 4; } // Copied from: local:agent.v1.WebFetchAllowlistPrecheckArgs (var: HTl) message WebFetchAllowlistPrecheckArgs { string url = 1; optional string tool_call_id = 2; } // Copied from: local:agent.v1.WebFetchAllowlistPrecheckResult (var: zTl) message WebFetchAllowlistPrecheckResult { bool allowlisted = 1; } // Copied from: local:agent.v1.WebFetchArgs (var: iwi) message WebFetchArgs { string url = 1; string tool_call_id = 2; } // Copied from: local:agent.v1.WebFetchError (var: Xkl) message WebFetchError { string url = 1; string error = 2; } // Copied from: local:agent.v1.WebFetchRejected (var: eCl) message WebFetchRejected { string reason = 1; } // Copied from: local:agent.v1.WebFetchRequestQuery (var: tCl) message WebFetchRequestQuery { WebFetchArgs args = 1; bool skip_approval = 2; SmartModeApproval smart_mode_approval = 3; } // Copied from: local:agent.v1.WebFetchRequestResponse (var: ize) message WebFetchRequestResponse { // Copied from: local:agent.v1.WebFetchRequestResponse.Approved (var: yLt) message Approved { } // Copied from: local:agent.v1.WebFetchRequestResponse.Rejected (var: efn) message Rejected { string reason = 1; } oneof result { Approved approved = 1; Rejected rejected = 2; } } // Copied from: local:agent.v1.WebFetchResult (var: ofs) message WebFetchResult { oneof result { WebFetchSuccess success = 1; WebFetchError error = 2; WebFetchRejected rejected = 3; } } // Copied from: local:agent.v1.WebFetchSuccess (var: Jkl) message WebFetchSuccess { string url = 1; string markdown = 2; optional OutputLocation output_location = 3; } // Copied from: local:agent.v1.WebFetchToolCall (var: afs) message WebFetchToolCall { WebFetchArgs args = 1; WebFetchResult result = 2; } // Copied from: local:agent.v1.WebSearchArgs (var: ewi) message WebSearchArgs { string search_term = 1; string tool_call_id = 2; } // Copied from: local:agent.v1.WebSearchError (var: wkl) message WebSearchError { string error = 1; } // Copied from: local:agent.v1.WebSearchReference (var: zgs) message WebSearchReference { string title = 1; string url = 2; string chunk = 3; } // Copied from: local:agent.v1.WebSearchRejected (var: Skl) message WebSearchRejected { string reason = 1; } // Copied from: local:agent.v1.WebSearchRequestQuery (var: kkl) message WebSearchRequestQuery { WebSearchArgs args = 1; } // Copied from: local:agent.v1.WebSearchRequestResponse (var: Nlt) message WebSearchRequestResponse { // Copied from: local:agent.v1.WebSearchRequestResponse.Approved (var: qgn) message Approved { } // Copied from: local:agent.v1.WebSearchRequestResponse.Rejected (var: Kgn) message Rejected { string reason = 1; } oneof result { Approved approved = 1; Rejected rejected = 2; } } // Copied from: local:agent.v1.WebSearchResult (var: Hgs) message WebSearchResult { oneof result { WebSearchSuccess success = 1; WebSearchError error = 2; WebSearchRejected rejected = 3; } } // Copied from: local:agent.v1.WebSearchSuccess (var: ykl) message WebSearchSuccess { repeated WebSearchReference references = 1; } // Copied from: local:agent.v1.WebSearchToolCall (var: Vgs) message WebSearchToolCall { WebSearchArgs args = 1; WebSearchResult result = 2; } // Copied from: local:agent.v1.WriteArgs (var: B_s) 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.WriteBinaryFileRequest (var: sCf) message WriteBinaryFileRequest { string path = 1; bytes content = 2; } // Copied from: local:agent.v1.WriteBinaryFileResponse (var: oCf) message WriteBinaryFileResponse { } // Copied from: local:agent.v1.WriteError (var: wTl) message WriteError { string path = 1; string error = 2; } // Copied from: local:agent.v1.WriteNoSpace (var: yTl) message WriteNoSpace { string path = 1; } // Copied from: local:agent.v1.WritePermissionDenied (var: _Tl) 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: STl) message WriteRejected { string path = 1; string reason = 2; } // Copied from: local:agent.v1.WriteResult (var: vTl) 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: DOe) message WriteShellStdinArgs { uint32 shell_id = 1; string chars = 2; } // Copied from: local:agent.v1.WriteShellStdinError (var: Bll) message WriteShellStdinError { string error = 1; } // Copied from: local:agent.v1.WriteShellStdinResult (var: Act) message WriteShellStdinResult { oneof result { WriteShellStdinSuccess success = 1; WriteShellStdinError error = 2; } } // Copied from: local:agent.v1.WriteShellStdinSuccess (var: Fll) message WriteShellStdinSuccess { uint32 shell_id = 1; uint32 terminal_file_length_before_input_written = 2; } // Copied from: local:agent.v1.WriteShellStdinToolCall (var: ifs) message WriteShellStdinToolCall { WriteShellStdinArgs args = 1; WriteShellStdinResult result = 2; } // Copied from: local:agent.v1.WriteSuccess (var: bTl) message WriteSuccess { string path = 1; int32 lines_created = 2; int32 file_size = 3; optional string file_content_after_write = 4; } // Copied from: local:agent.v1.WriteTextFileRequest (var: Jkf) message WriteTextFileRequest { string path = 1; string content = 2; } // Copied from: local:agent.v1.WriteTextFileResponse (var: Xkf) message WriteTextFileResponse { } // Copied from: local:agent.v1.ZoomCandidate (var: Bn) message ZoomCandidate { int64 start_ms = 1; int64 end_ms = 2; int32 center_x = 3; int32 center_y = 4; float suggested_zoom = 5; string action_type = 6; int32 action_index = 7; int32 importance_score = 8; string context = 9; } // Copied from: local:agent.v1.ZoomSelection (var: Mn) message ZoomSelection { int32 candidate_index = 1; optional float zoom_override = 2; optional int64 start_ms_override = 3; optional int64 end_ms_override = 4; } // Source: agent.v1.AgentHostService (var: Tkf) service AgentHostService { rpc CreateSession(CreateAgentHostSessionRequest) returns (CreateAgentHostSessionResponse) {} rpc ForkSession(ForkAgentHostSessionRequest) returns (ForkAgentHostSessionResponse) {} rpc ListSessions(ListAgentHostSessionsRequest) returns (ListAgentHostSessionsResponse) {} rpc WatchSessions(WatchAgentHostSessionsRequest) returns (stream WatchAgentHostSessionsEvent) {} rpc SendMessage(SendAgentHostMessageRequest) returns (SendAgentHostMessageResponse) {} rpc SendAction(SendAgentHostActionRequest) returns (SendAgentHostActionResponse) {} rpc DeleteSession(DeleteAgentHostSessionRequest) returns (DeleteAgentHostSessionResponse) {} rpc InterruptTurn(InterruptAgentHostTurnRequest) returns (InterruptAgentHostTurnResponse) {} rpc CancelQueuedTurn(CancelQueuedAgentHostTurnRequest) returns (CancelQueuedAgentHostTurnResponse) {} rpc RespondToInteraction(RespondToAgentHostInteractionRequest) returns (RespondToAgentHostInteractionResponse) {} rpc WatchSessionInteractions(WatchAgentHostSessionInteractionsRequest) returns (stream WatchAgentHostSessionInteractionsEvent) {} rpc WatchSessionBackgroundWork(WatchAgentHostSessionBackgroundWorkRequest) returns (stream WatchAgentHostSessionBackgroundWorkEvent) {} rpc AbortBackgroundWork(AbortAgentHostBackgroundWorkRequest) returns (AbortAgentHostBackgroundWorkResponse) {} rpc AbortAllBackgroundWork(AbortAllAgentHostBackgroundWorkRequest) returns (AbortAllAgentHostBackgroundWorkResponse) {} rpc AttachSession(AttachAgentHostSessionRequest) returns (stream AgentHostSessionEvent) {} } // Source: agent.v1.AgentService (var: JRi) 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) {} rpc GetPromptContextUsage(GetPromptContextUsageRequest) returns (GetPromptContextUsageResponse) {} } // Source: agent.v1.ControlService (var: jCf) service ControlService { rpc Ping(PingRequest) returns (PingResponse) {} rpc GetCapabilities(GetCapabilitiesRequest) returns (GetCapabilitiesResponse) {} rpc Exec(ExecRequest) returns (stream ExecResponse) {} rpc ListDirectory(ListDirectoryRequest) returns (ListDirectoryResponse) {} rpc ReadTextFile(ReadTextFileRequest) returns (ReadTextFileResponse) {} rpc WriteTextFile(WriteTextFileRequest) returns (WriteTextFileResponse) {} rpc ReadBinaryFile(ReadBinaryFileRequest) returns (ReadBinaryFileResponse) {} rpc WriteBinaryFile(WriteBinaryFileRequest) returns (WriteBinaryFileResponse) {} rpc ExportFile(ExportFileRequest) returns (stream ExportFileResponse) {} rpc GetDiff(GetDiffRequest) returns (GetDiffResponse) {} rpc BatchGetDiff(BatchGetDiffRequest) returns (BatchGetDiffResponse) {} rpc GetWorkspaceChangesHash(GetWorkspaceChangesHashRequest) returns (GetWorkspaceChangesHashResponse) {} rpc RefreshGithubAccessToken(RefreshGithubAccessTokenRequest) returns (RefreshGithubAccessTokenResponse) {} rpc WarmRemoteAccessServer(WarmRemoteAccessServerRequest) returns (WarmRemoteAccessServerResponse) {} rpc ListArtifacts(ListArtifactsRequest) returns (ListArtifactsResponse) {} rpc UploadArtifacts(UploadArtifactsRequest) returns (UploadArtifactsResponse) {} rpc RestoreArtifacts(RestoreArtifactsRequest) returns (RestoreArtifactsResponse) {} rpc GetMcpRefreshTokens(GetMcpRefreshTokensRequest) returns (GetMcpRefreshTokensResponse) {} rpc DownloadCursorServer(DownloadCursorServerRequest) returns (DownloadCursorServerResponse) {} rpc UpdateEnvironmentVariables(UpdateEnvironmentVariablesRequest) returns (UpdateEnvironmentVariablesResponse) {} rpc ReloadAgentSkills(ReloadAgentSkillsRequest) returns (ReloadAgentSkillsResponse) {} rpc ReloadPlugins(ReloadPluginsRequest) returns (ReloadPluginsResponse) {} rpc InstallPluginArtifact(InstallPluginArtifactRequest) returns (InstallPluginArtifactResponse) {} rpc LoadMcpServers(LoadMcpServersRequest) returns (LoadMcpServersResponse) {} } // Source: agent.v1.ExecService (var: HCf) service ExecService { rpc Exec(ExecServerMessage) returns (stream ExecStreamElement) {} } // Source: agent.v1.LifecycleService (var: n0f) service LifecycleService { rpc ResetInstance(Empty) returns (Empty) {} rpc RenewInstance(Empty) returns (Empty) {} rpc ClaimWorker(ClaimWorkerRequest) returns (Empty) {} rpc ReleaseWorker(ReleaseWorkerRequest) returns (Empty) {} } // Source: agent.v1.PrivateWorkerApiService (var: qCf) service PrivateWorkerApiService { rpc GetWorkerId(Empty) returns (GetWorkerIdResponse) {} rpc WatchStatus(Empty) returns (stream WatchStatusResponse) {} } // Source: agent.v1.PrivateWorkerBridgeExternalService (var: t0f) service PrivateWorkerBridgeExternalService { rpc Connect(stream Frame) returns (stream Frame) {} } // Source: agent.v1.PtyHostService (var: b0f) service PtyHostService { rpc SpawnPty(SpawnPtyRequest) returns (SpawnPtyResponse) {} rpc AttachPty(AttachPtyRequest) returns (stream PtyEvent) {} rpc SendInput(SendInputRequest) returns (SendInputResponse) {} rpc ResizePty(ResizePtyRequest) returns (ResizePtyResponse) {} rpc ListPtys(ListPtysRequest) returns (ListPtysResponse) {} rpc TerminatePty(TerminatePtyRequest) returns (TerminatePtyResponse) {} } // Source: agent.v1.TmuxSessionService (var: T0f) service TmuxSessionService { rpc CreateSession(CreateTmuxSessionRequest) returns (CreateTmuxSessionResponse) {} rpc ListSessions(ListTmuxSessionsRequest) returns (ListTmuxSessionsResponse) {} rpc KillSession(KillTmuxSessionRequest) returns (KillTmuxSessionResponse) {} rpc AttachSession(AttachTmuxSessionRequest) returns (AttachTmuxSessionResponse) {} }