diff --git a/cursor-proto/proto/agent_v1.proto b/cursor-proto/proto/agent_v1.proto new file mode 100644 index 0000000..d598612 --- /dev/null +++ b/cursor-proto/proto/agent_v1.proto @@ -0,0 +1,9577 @@ +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: WGd) +message AbortAgentHostBackgroundWorkRequest { + string session_id = 1; + string work_id = 2; +} + +// Copied from: local:agent.v1.AbortAgentHostBackgroundWorkResponse (var: HGd) +message AbortAgentHostBackgroundWorkResponse { + bool aborted = 1; +} + +// Copied from: local:agent.v1.AbortAllAgentHostBackgroundWorkRequest (var: zGd) +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: VGd) +message AbortAllAgentHostBackgroundWorkResponse { + uint32 aborted_count = 1; +} + +// Copied from: local:agent.v1.AbortArgs (var: Xe) +message AbortArgs { +} + +// Copied from: local:agent.v1.AbortResult (var: $e) +message AbortResult { +} + +// Copied from: local:agent.v1.ActiveBranchChange (var: FEs) +message ActiveBranchChange { + string path = 1; + string branch_name = 2; +} + +// Copied from: local:agent.v1.AdoptArgs (var: cTi) +message AdoptArgs { + string source_agent_id = 1; +} + +// Copied from: local:agent.v1.AdoptOutcome (var: kSn) +enum AdoptOutcome { + ADOPT_OUTCOME_UNSPECIFIED = 0; + ADOPT_OUTCOME_ALREADY_PARENTED = 1; + ADOPT_OUTCOME_EDGE_ONLY = 2; + ADOPT_OUTCOME_STORE_IMPORT_COMPLETED = 3; +} + +// Copied from: local:agent.v1.AdoptResult (var: CSn) +message AdoptResult { + string source_agent_id = 1; + string target_agent_id = 2; + string project_root_id = 3; + oneof result { + AdoptOutcome success = 4; + string error = 5; + } +} + +// Copied from: local:agent.v1.AdoptToolCall (var: C5l) +message AdoptToolCall { + AdoptArgs args = 1; + AdoptResult result = 2; +} + +// Copied from: local:agent.v1.AfterAgentResponseRequestQuery (var: e6l) +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: t6l) +message AfterAgentResponseRequestResponse { +} + +// Copied from: local:agent.v1.AfterAgentThoughtRequestQuery (var: n6l) +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: i6l) +message AfterAgentThoughtRequestResponse { +} + +// Copied from: local:agent.v1.AgentClientMessage (var: rAe) +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: wa) +message AgentConversationTurn { + UserMessage user_message = 1; + repeated ConversationStep steps = 2; + optional string request_id = 3; +} + +// Copied from: local:agent.v1.AgentConversationTurnStructure (var: PSn) +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.AgentHostBackgroundTaskCompleted (var: nov) +message AgentHostBackgroundTaskCompleted { + BackgroundTaskCompletion completion = 1; +} + +// Copied from: local:agent.v1.AgentHostBackgroundWork (var: jGd) +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: lMn) +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: $ho) +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.AgentHostConnected (var: lov) +message AgentHostConnected { +} + +// Copied from: local:agent.v1.AgentHostConnectionStateChanged (var: cov) +message AgentHostConnectionStateChanged { + oneof state { + AgentHostConnected connected = 1; + AgentHostReconnecting reconnecting = 2; + } +} + +// Copied from: local:agent.v1.AgentHostFirstMessage (var: dov) +message AgentHostFirstMessage { + double elapsed_ms = 1; +} + +// Copied from: local:agent.v1.AgentHostFirstMessageNetwork (var: hov) +message AgentHostFirstMessageNetwork { + double elapsed_ms = 1; +} + +// Copied from: local:agent.v1.AgentHostFirstNonHeartbeatResponse (var: pov) +message AgentHostFirstNonHeartbeatResponse { + double handshake_ms = 1; + uint32 attempt = 2; +} + +// Copied from: local:agent.v1.AgentHostInteractionCancelled (var: bov) +message AgentHostInteractionCancelled { + optional string reason = 1; +} + +// Copied from: local:agent.v1.AgentHostInteractionFailed (var: _ov) +message AgentHostInteractionFailed { + string error = 1; +} + +// Copied from: local:agent.v1.AgentHostInteractionResolved (var: yov) +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: L$t) +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.AgentHostNetworkPhaseStarted (var: sov) +message AgentHostNetworkPhaseStarted { +} + +// Copied from: local:agent.v1.AgentHostOwningProject (var: RGd) +message AgentHostOwningProject { + string project_agent_id = 1; + optional string project_name = 2; +} + +// Copied from: local:agent.v1.AgentHostPendingInteraction (var: zHi) +message AgentHostPendingInteraction { + string interaction_id = 1; + string turn_id = 2; + InteractionQuery query = 3; +} + +// Copied from: local:agent.v1.AgentHostReconnectTrigger (var: aov) +message AgentHostReconnectTrigger { + optional string error_class = 1; + optional uint32 connect_code = 2; + optional string connect_code_name = 3; + optional uint32 error_code = 4; + optional bool count_as_server_error = 5; + optional bool count_as_transport_error = 6; + optional bool stall_aborted = 7; + optional string originating_request_id = 8; + optional string attempt_request_id = 9; + optional string endpoint_url = 10; +} + +// Copied from: local:agent.v1.AgentHostReconnecting (var: uov) +message AgentHostReconnecting { + uint32 attempt = 1; + optional AgentHostReconnectTrigger trigger = 2; +} + +// Copied from: local:agent.v1.AgentHostResponseMetadata (var: oov) +message AgentHostResponseMetadata { + optional string server_region = 1; + optional string transport_mode = 2; +} + +// Copied from: local:agent.v1.AgentHostSession (var: k4e) +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: LGd) +message AgentHostSessionAdded { + AgentHostSession session = 1; +} + +// Copied from: local:agent.v1.AgentHostSessionBackgroundWorkSnapshot (var: eov) +message AgentHostSessionBackgroundWorkSnapshot { + repeated AgentHostBackgroundWork work = 1; +} + +// Copied from: local:agent.v1.AgentHostSessionBackgroundWorkState (var: tov) +message AgentHostSessionBackgroundWorkState { + repeated AgentHostBackgroundWork work = 1; +} + +// Copied from: local:agent.v1.AgentHostSessionDeleted (var: NGd) +message AgentHostSessionDeleted { + string session_id = 1; +} + +// Copied from: local:agent.v1.AgentHostSessionEvent (var: C4e) +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; + AgentHostBackgroundTaskCompleted background_task_completed = 12; + AgentHostTurnInteractionsSuperseded turn_interactions_superseded = 13; + } +} + +// Copied from: local:agent.v1.AgentHostSessionInteractionsSnapshot (var: Zsv) +message AgentHostSessionInteractionsSnapshot { + repeated AgentHostPendingInteraction interactions = 1; +} + +// Copied from: local:agent.v1.AgentHostSessionInteractionsState (var: Xsv) +message AgentHostSessionInteractionsState { + repeated AgentHostPendingInteraction interactions = 1; +} + +// Copied from: local:agent.v1.AgentHostSessionOptions (var: IGd) +message AgentHostSessionOptions { + repeated string workspace_paths = 1; + optional string worktree_main_path = 2; + optional bool is_glass_root = 3; + optional SubagentInteractionPolicy interaction_policy = 4; + optional AgentHostOwningProject owning_project = 5; +} + +// Copied from: local:agent.v1.AgentHostSessionStatus (var: Eke) +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: Who) +message AgentHostSessionUpdated { + AgentHostSession session = 1; +} + +// Copied from: local:agent.v1.AgentHostSessionsSnapshot (var: PGd) +message AgentHostSessionsSnapshot { + repeated AgentHostSession sessions = 1; +} + +// Copied from: local:agent.v1.AgentHostSubagentStarted (var: gov) +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.AgentHostTtftBreakdown (var: mov) +message AgentHostTtftBreakdown { + 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; + uint32 attempt = 6; +} + +// Copied from: local:agent.v1.AgentHostTurnAwaitingInput (var: vov) +message AgentHostTurnAwaitingInput { + string turn_id = 1; + string request_id = 2; + string interaction_id = 3; + InteractionQuery query = 4; +} + +// Copied from: local:agent.v1.AgentHostTurnError (var: Sov) +message AgentHostTurnError { + optional string kind = 1; + optional string title = 2; + optional string detail = 3; + optional bool is_retryable = 4; + optional uint32 connect_code = 5; + optional string inference_request_error_type = 6; + optional string request_id = 7; + optional ErrorDetails error_details = 8; +} + +// Copied from: local:agent.v1.AgentHostTurnInteractionsSuperseded (var: fov) +message AgentHostTurnInteractionsSuperseded { + string turn_id = 1; + oneof continuation { + ConversationStateStructure replay_action_from_state = 2; + ConversationStateStructure resume_from_checkpoint = 3; + } +} + +// Copied from: local:agent.v1.AgentHostTurnLifecycle (var: iov) +message AgentHostTurnLifecycle { + string turn_id = 1; + oneof event { + AgentHostNetworkPhaseStarted network_phase_started = 2; + AgentHostResponseMetadata response_metadata = 3; + AgentHostConnectionStateChanged connection_state_changed = 4; + AgentHostFirstMessage first_message = 5; + AgentHostFirstMessageNetwork first_message_network = 6; + AgentHostFirstNonHeartbeatResponse first_non_heartbeat_response = 7; + AgentHostTtftBreakdown ttft_breakdown = 8; + AgentHostTurnLifecycleFinished finished = 9; + } +} + +// Copied from: local:agent.v1.AgentHostTurnLifecycleFinished (var: rov) +message AgentHostTurnLifecycleFinished { +} + +// Copied from: local:agent.v1.AgentHostTurnLifecycleWatchReady (var: Jsv) +message AgentHostTurnLifecycleWatchReady { +} + +// Copied from: local:agent.v1.AgentHostTurnOptions (var: Jho) +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; + optional bool is_running_in_test = 8; + optional uint32 stall_advisory_timeout_ms = 9; + optional uint32 stall_fail_timeout_ms = 10; + repeated RequestedModel selected_subagent_models = 11; +} + +// Copied from: local:agent.v1.AgentHostTurnOutcome (var: CZe) +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: Xho) +message AgentHostTurnSettled { + string turn_id = 1; + AgentHostTurnOutcome outcome = 2; + optional string detail = 3; + optional AgentHostTurnError error = 4; +} + +// Copied from: local:agent.v1.AgentHostTurnStarted (var: GGd) +message AgentHostTurnStarted { + string turn_id = 1; +} + +// Copied from: local:agent.v1.AgentMode (var: t1) +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: TEs) +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; + optional bool client_supports_routed_model_update = 28; + optional SystemPromptSpec system_prompt_spec = 29; + optional ClientLlmGatewayCredential client_llm_gateway_credential = 30; + optional bool client_supports_preview_card = 31; + optional bool started_as_new_project = 32; +} + +// Copied from: local:agent.v1.AgentServerMessage (var: wH) +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: ept) +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: Xav) +message AgentStoreClaimConfig { + AgentStoreSelfClaimConfig self = 1; + repeated AgentStoreClaimMount mounts = 2; + optional bool store_backed_artifacts_enabled = 3; +} + +// Copied from: local:agent.v1.AgentStoreClaimMount (var: ecv) +message AgentStoreClaimMount { + AgentStoreClaimMountKind kind = 1; + string source_id = 2; +} + +// Copied from: local:agent.v1.AgentStoreClaimMountKind (var: Qav) +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: KUl) +message AgentStoreConflictArgs { + optional AgentStoreConflictCursor cursor = 1; + optional bool advance = 2; +} + +// Copied from: local:agent.v1.AgentStoreConflictCursor (var: QTs) +message AgentStoreConflictCursor { + string journal_epoch = 1; + uint64 seq = 2; + string last_event_id = 3; +} + +// Copied from: local:agent.v1.AgentStoreConflictError (var: XUl) +message AgentStoreConflictError { + string error = 1; +} + +// Copied from: local:agent.v1.AgentStoreConflictEvent (var: QUl) +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: YUl) +message AgentStoreConflictResult { + oneof result { + AgentStoreConflictSuccess success = 1; + AgentStoreConflictError error = 2; + } +} + +// Copied from: local:agent.v1.AgentStoreConflictSuccess (var: ZUl) +message AgentStoreConflictSuccess { + repeated AgentStoreConflictEvent events = 1; + AgentStoreConflictCursor next_cursor = 2; + bool gap = 3; +} + +// Copied from: local:agent.v1.AgentStoreSelfClaimConfig (var: Jav) +message AgentStoreSelfClaimConfig { +} + +// Copied from: local:agent.v1.AiAttributionArgs (var: ofs) +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: CAl) +message AiAttributionError { + string error = 1; +} + +// Copied from: local:agent.v1.AiAttributionResult (var: h0i) +message AiAttributionResult { + oneof result { + AiAttributionSuccess success = 1; + AiAttributionError error = 2; + } +} + +// Copied from: local:agent.v1.AiAttributionSuccess (var: kAl) +message AiAttributionSuccess { + string attribution_text = 1; + optional OutputLocation output_location = 2; +} + +// Copied from: local:agent.v1.AiAttributionToolCall (var: EAl) +message AiAttributionToolCall { + AiAttributionArgs args = 1; + AiAttributionResult result = 2; +} + +// Copied from: local:agent.v1.ApiKeyCredentials (var: HFe) +message ApiKeyCredentials { + string api_key = 1; + optional string base_url = 2; +} + +// Copied from: local:agent.v1.AppliedAgentChange (var: tfs) +message AppliedAgentChange { + // Copied from: local:agent.v1.AppliedAgentChange.ChangeType (var: _Al) + 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: efs) +message ApplyAgentDiffArgs { + string agent_id = 1; +} + +// Copied from: local:agent.v1.ApplyAgentDiffError (var: yAl) +message ApplyAgentDiffError { + string error = 1; + repeated AppliedAgentChange applied_changes = 2; +} + +// Copied from: local:agent.v1.ApplyAgentDiffResult (var: f_n) +message ApplyAgentDiffResult { + oneof result { + ApplyAgentDiffSuccess success = 1; + ApplyAgentDiffError error = 2; + } +} + +// Copied from: local:agent.v1.ApplyAgentDiffSuccess (var: bAl) +message ApplyAgentDiffSuccess { + repeated AppliedAgentChange applied_changes = 1; +} + +// Copied from: local:agent.v1.ApplyAgentDiffToolCall (var: Jgs) +message ApplyAgentDiffToolCall { + ApplyAgentDiffArgs args = 1; + ApplyAgentDiffResult result = 2; +} + +// Copied from: local:agent.v1.ArtifactPathError (var: vav) +message ArtifactPathError { + ArtifactPathErrorKind kind = 1; + string code = 2; + string message = 3; +} + +// Copied from: local:agent.v1.ArtifactPathErrorKind (var: xov) +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: Rov) +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.ArtifactRootKind (var: Tov) +enum ArtifactRootKind { + ARTIFACT_ROOT_KIND_UNSPECIFIED = 0; + ARTIFACT_ROOT_KIND_LOCAL = 1; + ARTIFACT_ROOT_KIND_AGENT_STORE_BACKED = 2; +} + +// Copied from: local:agent.v1.ArtifactUploadDispatchResult (var: Sav) +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: Aov) +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: yav) +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; + optional string artifact_relative_path = 8; +} + +// Copied from: local:agent.v1.ArtifactUploadMetadata (var: fav) +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; + optional string artifact_relative_path = 11; +} + +// Copied from: local:agent.v1.ArtifactUploadStatus (var: Eov) +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: aBt) +message AskQuestionArgs { + // Copied from: local:agent.v1.AskQuestionArgs.Option (var: K0s) + message Option { + string id = 1; + string label = 2; + } + + // Copied from: local:agent.v1.AskQuestionArgs.Question (var: q0s) + 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: kFl) +message AskQuestionAsync { +} + +// Copied from: local:agent.v1.AskQuestionError (var: CFl) +message AskQuestionError { + string error_message = 1; +} + +// Copied from: local:agent.v1.AskQuestionInteractionQuery (var: z9l) +message AskQuestionInteractionQuery { + AskQuestionArgs args = 1; + string tool_call_id = 2; +} + +// Copied from: local:agent.v1.AskQuestionInteractionResponse (var: GFe) +message AskQuestionInteractionResponse { + AskQuestionResult result = 1; +} + +// Copied from: local:agent.v1.AskQuestionRejected (var: cBt) +message AskQuestionRejected { + string reason = 1; +} + +// Copied from: local:agent.v1.AskQuestionResult (var: jpe) +message AskQuestionResult { + oneof result { + AskQuestionSuccess success = 1; + AskQuestionError error = 2; + AskQuestionRejected rejected = 3; + AskQuestionAsync async = 4; + } +} + +// Copied from: local:agent.v1.AskQuestionSuccess (var: gSn) +message AskQuestionSuccess { + // Copied from: local:agent.v1.AskQuestionSuccess.Answer (var: Q0s) + 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: G0s) +message AskQuestionToolCall { + AskQuestionArgs args = 1; + AskQuestionResult result = 2; +} + +// Copied from: local:agent.v1.AssistantMessage (var: opt) +message AssistantMessage { + string text = 1; +} + +// Copied from: local:agent.v1.AsyncAskQuestionCompletionAction (var: pEs) +message AsyncAskQuestionCompletionAction { + string original_tool_call_id = 1; + AskQuestionArgs original_args = 2; + AskQuestionResult result = 3; +} + +// Copied from: local:agent.v1.AttachAgentHostSessionRequest (var: i_t) +message AttachAgentHostSessionRequest { + string session_id = 1; + optional uint64 last_event_id = 2; + optional bool background_task_completions_only = 3; +} + +// Copied from: local:agent.v1.AttachPtyRequest (var: hcv) +message AttachPtyRequest { + string pty_id = 1; + optional string last_event_id = 2; +} + +// Copied from: local:agent.v1.AttachTmuxSessionRequest (var: Mcv) +message AttachTmuxSessionRequest { + string session_id = 1; + uint32 cols = 2; + uint32 rows = 3; +} + +// Copied from: local:agent.v1.AttachTmuxSessionResponse (var: Pcv) +message AttachTmuxSessionResponse { + string pty_id = 1; + TmuxSession session = 2; +} + +// Copied from: local:agent.v1.AwaitArgs (var: pBl) +message AwaitArgs { + string task_id = 1; + optional uint32 block_until_ms = 2; + optional string regex = 3; +} + +// Copied from: local:agent.v1.AwaitError (var: mBl) +message AwaitError { + string error = 1; +} + +// Copied from: local:agent.v1.AwaitResult (var: fBl) +message AwaitResult { + oneof result { + AwaitTaskComplete complete = 1; + AwaitTaskStillRunning still_running = 2; + AwaitError error = 3; + AwaitSuccess success = 4; + } +} + +// Copied from: local:agent.v1.AwaitSuccess (var: gBl) +message AwaitSuccess { + oneof await_result { + AwaitTaskComplete complete = 1; + AwaitTaskStillRunning still_running = 2; + } +} + +// Copied from: local:agent.v1.AwaitTaskComplete (var: m1s) +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: g1s) +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: vBl) +message AwaitToolCall { + AwaitArgs args = 1; + AwaitResult result = 2; +} + +// Copied from: local:agent.v1.AzureCredentials (var: zFe) +message AzureCredentials { + string api_key = 1; + string base_url = 2; + string deployment = 3; +} + +// Copied from: local:agent.v1.BackgroundShellAction (var: cEs) +message BackgroundShellAction { + string tool_call_id = 1; +} + +// Copied from: local:agent.v1.BackgroundShellSpawnArgs (var: cAl) +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: uAl) +message BackgroundShellSpawnError { + string command = 1; + string working_directory = 2; + string error = 3; +} + +// Copied from: local:agent.v1.BackgroundShellSpawnResult (var: Xgs) +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: lAl) +message BackgroundShellSpawnSuccess { + uint32 shell_id = 1; + string command = 2; + string working_directory = 3; + optional uint32 pid = 4; +} + +// Copied from: local:agent.v1.BackgroundSubagentAction (var: lEs) +message BackgroundSubagentAction { + string tool_call_id = 1; +} + +// Copied from: local:agent.v1.BackgroundTaskCompletion (var: _Ti) +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: sEs) +message BackgroundTaskCompletionAction { + repeated BackgroundTaskCompletion completions = 1; +} + +// Copied from: local:agent.v1.BackgroundTaskCompletionReason (var: npt) +enum BackgroundTaskCompletionReason { + BACKGROUND_TASK_COMPLETION_REASON_UNSPECIFIED = 0; + BACKGROUND_TASK_COMPLETION_REASON_TASK_FINISHED = 1; + BACKGROUND_TASK_COMPLETION_REASON_TASK_PROGRESS = 2; + BACKGROUND_TASK_COMPLETION_REASON_WORKER_REPARENTED = 3; +} + +// Copied from: local:agent.v1.BackgroundTaskKind (var: EBt) +enum BackgroundTaskKind { + BACKGROUND_TASK_KIND_UNSPECIFIED = 0; + BACKGROUND_TASK_KIND_SHELL = 1; + BACKGROUND_TASK_KIND_SUBAGENT = 2; +} + +// Copied from: local:agent.v1.BackgroundTaskNotificationContext (var: iEs) +enum BackgroundTaskNotificationContext { + BACKGROUND_TASK_NOTIFICATION_CONTEXT_UNSPECIFIED = 0; + BACKGROUND_TASK_NOTIFICATION_CONTEXT_USER_DRIVEN_INTERACTIVE_CHILD = 1; +} + +// Copied from: local:agent.v1.BackgroundTaskStatus (var: TGe) +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: uav) +message BatchGetDiffError { + BatchGetDiffErrorKind kind = 1; + string message = 2; +} + +// Copied from: local:agent.v1.BatchGetDiffErrorKind (var: Cov) +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: aav) +message BatchGetDiffItem { + GetDiffRequest diff_request = 1; + repeated string fetch_branches = 2; +} + +// Copied from: local:agent.v1.BatchGetDiffRequest (var: oav) +message BatchGetDiffRequest { + repeated BatchGetDiffItem items = 1; +} + +// Copied from: local:agent.v1.BatchGetDiffResponse (var: cav) +message BatchGetDiffResponse { + repeated BatchGetDiffResult results = 1; +} + +// Copied from: local:agent.v1.BatchGetDiffResult (var: lav) +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: VFe) +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: Z9l) +message BeforeSubmitPromptAttachment { + string type = 1; + string file_path = 2; +} + +// Copied from: local:agent.v1.BeforeSubmitPromptRequestQuery (var: X9l) +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: J9l) +message BeforeSubmitPromptRequestResponse { + optional bool continue = 1; + optional string user_message = 2; + optional string additional_context = 3; +} + +// Copied from: aiserver.v1.BidiPollRequest (var: p3e) +message BidiPollRequest { + BidiRequestId request_id = 1; + optional bool start_request = 2; +} + +// Copied from: aiserver.v1.BidiPollResponse (var: m3e) +message BidiPollResponse { + int64 seqno = 1; + string data = 2; + optional bool eof = 3; +} + +// Copied from: aiserver.v1.BidiRequestId (var: lwe) +message BidiRequestId { + string request_id = 1; +} + +// Copied from: local:agent.v1.BlameByFilePathArgs (var: bBl) +message BlameByFilePathArgs { + string file_path = 1; + optional int32 start_line = 2; + optional int32 end_line = 3; +} + +// Copied from: local:agent.v1.BlameByFilePathError (var: yBl) +message BlameByFilePathError { + string error_message = 1; +} + +// Copied from: local:agent.v1.BlameByFilePathResult (var: SBl) +message BlameByFilePathResult { + oneof result { + BlameByFilePathSuccess success = 1; + BlameByFilePathError error = 2; + } +} + +// Copied from: local:agent.v1.BlameByFilePathSuccess (var: _Bl) +message BlameByFilePathSuccess { + string content = 1; +} + +// Copied from: local:agent.v1.BlameByFilePathToolCall (var: wBl) +message BlameByFilePathToolCall { + BlameByFilePathArgs args = 1; + BlameByFilePathResult result = 2; +} + +// Copied from: local:agent.v1.BlobEntry (var: dAs) +message BlobEntry { + bytes id = 1; + bytes value = 2; +} + +// Copied from: local:agent.v1.BugfixResultItem (var: C0i) +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: ZRl) +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: w4l) +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: hEs) +message CancelAction { + string reason = 1; + optional InterruptedPendingToolCallResolutions interrupted_pending_tool_call_resolutions = 3; +} + +// Copied from: local:agent.v1.CancelQueuedAgentHostTurnRequest (var: Vho) +message CancelQueuedAgentHostTurnRequest { + string session_id = 1; + string turn_id = 2; + optional string reason = 3; +} + +// Copied from: local:agent.v1.CancelQueuedAgentHostTurnResponse (var: $Gd) +message CancelQueuedAgentHostTurnResponse { + bool cancelled = 1; +} + +// Copied from: local:agent.v1.CancelSubagentAction (var: aEs) +message CancelSubagentAction { + string subagent_id = 1; +} + +// Copied from: local:agent.v1.CanvasDiagnosticsArgs (var: sUl) +message CanvasDiagnosticsArgs { + string path = 1; + string tool_call_id = 2; +} + +// Copied from: local:agent.v1.CanvasDiagnosticsError (var: cUl) +message CanvasDiagnosticsError { + string path = 1; + string error = 2; +} + +// Copied from: local:agent.v1.CanvasDiagnosticsResult (var: oUl) +message CanvasDiagnosticsResult { + oneof result { + CanvasDiagnosticsSuccess success = 1; + CanvasDiagnosticsError error = 2; + } +} + +// Copied from: local:agent.v1.CanvasDiagnosticsSuccess (var: aUl) +message CanvasDiagnosticsSuccess { + string path = 1; + repeated Diagnostic diagnostics = 2; +} + +// Copied from: local:agent.v1.ClaimWorkerRequest (var: tcv) +message ClaimWorkerRequest { + string http_mcp_config_json = 1; + string mcp_config_json = 2; + string bc_id = 3; + AgentStoreClaimConfig agent_store_claim_config = 4; + string user_email = 5; +} + +// Copied from: local:agent.v1.ClickAction (var: jRl) +message ClickAction { + optional Coordinate coordinate = 1; + MouseButton button = 2; + int32 count = 3; + optional string modifier_keys = 4; +} + +// Copied from: local:agent.v1.ClickEffectKeyframe (var: qn) +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: Mn) +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: aiserver.v1.ClientAction (var: f$r) +message ClientAction { + string command_id = 1; + map args = 2; +} + +// Copied from: local:agent.v1.ClientContinuationConfig (var: J6l) +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: XTs) +message ClientHeartbeat { +} + +// Copied from: local:agent.v1.ClientLlmGatewayCredential (var: EEs) +message ClientLlmGatewayCredential { + string bearer_token = 1; +} + +// Copied from: local:agent.v1.CloudSubagentInheritedContext (var: iu) +message CloudSubagentInheritedContext { + optional string automation_run_bc_id = 1; + optional string inline_mcp_config_json = 3; + bool resolved = 4; + bytes inline_mcp_config_blob_id = 5; +} + +// Copied from: local:agent.v1.CloudSubagentReference (var: CEs) +message CloudSubagentReference { + string bc_id = 1; + optional string transcript_path = 2; +} + +// Copied from: aiserver.v1.CodeBlock (var: qI) +message CodeBlock { + // Copied from: aiserver.v1.CodeBlock.Signatures (var: Hbc) + 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: eN) +message CodeResult { + CodeBlock code_block = 1; + float score = 2; +} + +// Copied from: local:agent.v1.CommandClassifierResult (var: p_n) +message CommandClassifierResult { + // Copied from: local:agent.v1.CommandClassifierResult.ClassifiedCommand (var: nAl) + 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: tAl) + 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: MBl) +message CommunicateUpdateArgs { + optional string current_step = 1; + optional string final_summary = 3; + optional string completed_subtitle = 4; +} + +// Copied from: local:agent.v1.CommunicateUpdateError (var: LBl) +message CommunicateUpdateError { + string error = 1; +} + +// Copied from: local:agent.v1.CommunicateUpdateHistoryEntry (var: kEs) +message CommunicateUpdateHistoryEntry { + string step = 1; + uint32 message_index = 3; +} + +// Copied from: local:agent.v1.CommunicateUpdateResult (var: NBl) +message CommunicateUpdateResult { + oneof result { + CommunicateUpdateSuccess success = 1; + CommunicateUpdateError error = 2; + } +} + +// Copied from: local:agent.v1.CommunicateUpdateSuccess (var: PBl) +message CommunicateUpdateSuccess { + string current_step = 1; + uint32 message_index = 3; +} + +// Copied from: local:agent.v1.CommunicateUpdateToolCall (var: OBl) +message CommunicateUpdateToolCall { + CommunicateUpdateArgs args = 1; + CommunicateUpdateResult result = 2; +} + +// Copied from: local:agent.v1.CommunicateUpdateTurnState (var: M9l) +message CommunicateUpdateTurnState { + repeated CommunicateUpdateHistoryEntry history = 1; + optional string final_summary = 2; + optional string completed_subtitle = 3; +} + +// Copied from: local:agent.v1.ComputerUseAction (var: Pfs) +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: w_n) +message ComputerUseArgs { + string tool_call_id = 1; + repeated ComputerUseAction actions = 2; + optional string description = 3; + optional bool bind_unmapped_characters = 4; +} + +// Copied from: local:agent.v1.ComputerUseError (var: Nfs) +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: k_n) +message ComputerUseResult { + oneof result { + ComputerUseSuccess success = 1; + ComputerUseError error = 2; + } +} + +// Copied from: local:agent.v1.ComputerUseSuccess (var: Lfs) +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: Ofs) +message ComputerUseToolCall { + ComputerUseArgs args = 1; + ComputerUseResult result = 2; +} + +// Copied from: aiserver.v1.ConfigureSpendLimitAction (var: c_c) +message ConfigureSpendLimitAction { + string confirm_label = 1; +} + +// Copied from: local:agent.v1.ConnectScmArgs (var: eTi) +message ConnectScmArgs { + string tool_call_id = 1; + oneof target { + ConnectScmGithub github = 2; + } +} + +// Copied from: local:agent.v1.ConnectScmError (var: C1s) +message ConnectScmError { + string error = 1; +} + +// Copied from: local:agent.v1.ConnectScmGithub (var: y1s) +message ConnectScmGithub { + ConnectScmGithubRepository repository = 1; + optional string ghe_application = 2; +} + +// Copied from: local:agent.v1.ConnectScmGithubRepository (var: S1s) +message ConnectScmGithubRepository { + string owner = 1; + string repo = 2; +} + +// Copied from: local:agent.v1.ConnectScmRejected (var: E1s) +message ConnectScmRejected { + string reason = 1; +} + +// Copied from: local:agent.v1.ConnectScmRequestQuery (var: p5l) +message ConnectScmRequestQuery { + ConnectScmArgs args = 1; +} + +// Copied from: local:agent.v1.ConnectScmRequestResponse (var: EGe) +message ConnectScmRequestResponse { + // Copied from: local:agent.v1.ConnectScmRequestResponse.Approved (var: tTi) + message Approved { + } + + // Copied from: local:agent.v1.ConnectScmRequestResponse.Failed (var: iTi) + message Failed { + string error = 1; + } + + // Copied from: local:agent.v1.ConnectScmRequestResponse.Rejected (var: nTi) + message Rejected { + string reason = 1; + } + + oneof result { + Approved approved = 1; + Rejected rejected = 2; + Failed failed = 3; + } +} + +// Copied from: local:agent.v1.ConnectScmResult (var: w1s) +message ConnectScmResult { + oneof result { + ConnectScmSuccess success = 1; + ConnectScmError error = 2; + ConnectScmRejected rejected = 3; + } +} + +// Copied from: local:agent.v1.ConnectScmSuccess (var: k1s) +message ConnectScmSuccess { +} + +// Copied from: local:agent.v1.ConnectScmToolCall (var: x1s) +message ConnectScmToolCall { + ConnectScmArgs args = 1; + ConnectScmResult result = 2; +} + +// Copied from: local:agent.v1.ContextInjectionCancelled (var: m9l) +message ContextInjectionCancelled { +} + +// Copied from: local:agent.v1.ContextInjectionDelivered (var: h9l) +message ContextInjectionDelivered { + int32 step = 1; + string delivery_batch_id = 2; + int64 delivered_at_ms = 3; +} + +// Copied from: local:agent.v1.ContextInjectionQueued (var: d9l) +message ContextInjectionQueued { +} + +// Copied from: local:agent.v1.ContextInjectionQueuedForNextTurn (var: p9l) +message ContextInjectionQueuedForNextTurn { +} + +// Copied from: local:agent.v1.ContextInjectionRejected (var: g9l) +message ContextInjectionRejected { + string reason = 1; +} + +// Copied from: local:agent.v1.ContextInjectionState (var: u9l) +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: W9l) +message ContextInjectionStateUpdate { + string injection_id = 1; + ContextInjectionState state = 2; +} + +// Copied from: local:agent.v1.ConversationAction (var: Y1) +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: Z4l) +message ConversationHistory { + repeated ConversationHistoryMessage messages = 1; + optional bool replace_user_info = 2; +} + +// Copied from: local:agent.v1.ConversationHistoryAssistantContent (var: n9l) +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: t9l) +message ConversationHistoryAssistantMessage { + repeated ConversationHistoryAssistantContent content = 1; +} + +// Copied from: local:agent.v1.ConversationHistoryImageContent (var: uEs) +message ConversationHistoryImageContent { + string data = 1; + optional string mime_type = 2; +} + +// Copied from: local:agent.v1.ConversationHistoryMessage (var: X4l) +message ConversationHistoryMessage { + oneof message { + ConversationHistoryUserMessage user = 1; + ConversationHistoryAssistantMessage assistant = 2; + ConversationHistoryToolMessage tool = 3; + } +} + +// Copied from: local:agent.v1.ConversationHistoryReasoningContent (var: i9l) +message ConversationHistoryReasoningContent { + string text = 1; + optional string signature = 2; +} + +// Copied from: local:agent.v1.ConversationHistoryRedactedReasoningContent (var: r9l) +message ConversationHistoryRedactedReasoningContent { + string data = 1; +} + +// Copied from: local:agent.v1.ConversationHistoryTextContent (var: STi) +message ConversationHistoryTextContent { + string text = 1; +} + +// Copied from: local:agent.v1.ConversationHistoryToolCall (var: s9l) +message ConversationHistoryToolCall { + string tool_call_id = 1; + string tool_name = 2; + string args_json = 3; +} + +// Copied from: local:agent.v1.ConversationHistoryToolMessage (var: o9l) +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: a9l) +message ConversationHistoryToolResultContent { + oneof content { + ConversationHistoryTextContent text = 1; + ConversationHistoryImageContent image = 2; + } +} + +// Copied from: local:agent.v1.ConversationHistoryUserContent (var: e9l) +message ConversationHistoryUserContent { + oneof content { + ConversationHistoryTextContent text = 1; + ConversationHistoryImageContent image = 2; + } +} + +// Copied from: local:agent.v1.ConversationHistoryUserMessage (var: J4l) +message ConversationHistoryUserMessage { + repeated ConversationHistoryUserContent content = 1; +} + +// Copied from: local:agent.v1.ConversationPlan (var: S9l) +message ConversationPlan { + string plan = 1; +} + +// Copied from: local:agent.v1.ConversationSearchArgs (var: oTi) +message ConversationSearchArgs { + string query = 1; + string tool_call_id = 2; + optional int32 limit = 3; +} + +// Copied from: local:agent.v1.ConversationSearchError (var: I1s) +message ConversationSearchError { + string error = 1; +} + +// Copied from: local:agent.v1.ConversationSearchHit (var: A1s) +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: wSn) +message ConversationSearchResult { + oneof result { + ConversationSearchSuccess success = 1; + ConversationSearchError error = 2; + } +} + +// Copied from: local:agent.v1.ConversationSearchSource (var: sTi) +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: T1s) +message ConversationSearchSuccess { + repeated ConversationSearchHit hits = 1; + bool truncated = 2; + bool partial = 3; + bool rebuilding = 4; +} + +// Copied from: local:agent.v1.ConversationState (var: Da) +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: Zg) +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; + repeated string completed_ask_question_tool_call_ids = 34; + repeated string durable_skill_blocks = 35; + optional string durable_custom_mode_id = 36; +} + +// Copied from: local:agent.v1.ConversationStep (var: yH) +message ConversationStep { + oneof message { + AssistantMessage assistant_message = 1; + ToolCall tool_call = 2; + ThinkingMessage thinking_message = 3; + } +} + +// Copied from: local:agent.v1.ConversationSummary (var: C9l) +message ConversationSummary { + string summary = 1; +} + +// Copied from: local:agent.v1.ConversationSummaryArchive (var: yEs) +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: ITi) +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: Aa) +message ConversationTurn { + oneof turn { + AgentConversationTurn agent_conversation_turn = 1; + ShellConversationTurn shell_conversation_turn = 2; + } +} + +// Copied from: local:agent.v1.ConversationTurnStructure (var: SH) +message ConversationTurnStructure { + oneof turn { + AgentConversationTurnStructure agent_conversation_turn = 1; + ShellConversationTurnStructure shell_conversation_turn = 2; + } +} + +// Copied from: local:agent.v1.Coordinate (var: $Ot) +message Coordinate { + int32 x = 1; + int32 y = 2; +} + +// Copied from: local:agent.v1.CreateAgentArgs (var: j5l) +message CreateAgentArgs { + string tool_call_id = 1; + string prompt = 2; + optional string name = 3; + optional string model = 4; + optional string base_branch = 5; + optional string machine_type = 6; + optional string worker_id = 7; + optional string pool = 8; + map labels = 9; + optional string environment_build_id = 10; +} + +// Copied from: local:agent.v1.CreateAgentError (var: H5l) +message CreateAgentError { + string error = 1; +} + +// Copied from: local:agent.v1.CreateAgentHostSessionRequest (var: AGd) +message CreateAgentHostSessionRequest { + string session_id = 1; + optional ConversationStateStructure initial_history = 2; + optional AgentHostSessionOptions session_options = 3; +} + +// Copied from: local:agent.v1.CreateAgentHostSessionResponse (var: qsv) +message CreateAgentHostSessionResponse { +} + +// Copied from: local:agent.v1.CreateAgentResult (var: z5l) +message CreateAgentResult { + oneof result { + CreateAgentSuccess success = 1; + CreateAgentError error = 2; + } +} + +// Copied from: local:agent.v1.CreateAgentSuccess (var: W5l) +message CreateAgentSuccess { + string agent_id = 1; + string message = 2; +} + +// Copied from: local:agent.v1.CreateAgentToolCall (var: V5l) +message CreateAgentToolCall { + CreateAgentArgs args = 1; + CreateAgentResult result = 2; +} + +// Copied from: local:agent.v1.CreateGoalArgs (var: g5l) +message CreateGoalArgs { + string objective = 1; +} + +// Copied from: local:agent.v1.CreateGoalResult (var: v5l) +message CreateGoalResult { + oneof result { + CreateGoalSuccess success = 1; + GoalError error = 2; + } +} + +// Copied from: local:agent.v1.CreateGoalSuccess (var: f5l) +message CreateGoalSuccess { +} + +// Copied from: local:agent.v1.CreateGoalToolCall (var: b5l) +message CreateGoalToolCall { + CreateGoalArgs args = 1; + CreateGoalResult result = 2; +} + +// Copied from: local:agent.v1.CreatePlanArgs (var: hSn) +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: Hxi) +message CreatePlanError { + string error = 1; +} + +// Copied from: local:agent.v1.CreatePlanRequestQuery (var: vFl) +message CreatePlanRequestQuery { + CreatePlanArgs args = 1; + string tool_call_id = 2; +} + +// Copied from: local:agent.v1.CreatePlanRequestResponse (var: zxi) +message CreatePlanRequestResponse { + CreatePlanResult result = 1; +} + +// Copied from: local:agent.v1.CreatePlanResult (var: wGe) +message CreatePlanResult { + string plan_uri = 3; + oneof result { + CreatePlanSuccess success = 1; + CreatePlanError error = 2; + } +} + +// Copied from: local:agent.v1.CreatePlanSuccess (var: Wxi) +message CreatePlanSuccess { +} + +// Copied from: local:agent.v1.CreatePlanToolCall (var: dSn) +message CreatePlanToolCall { + CreatePlanArgs args = 1; + CreatePlanResult result = 2; +} + +// Copied from: local:agent.v1.CreatePrAction (var: tBl) +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: xcv) +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: Tcv) +message CreateTmuxSessionResponse { + TmuxSession session = 1; +} + +// Copied from: local:agent.v1.CreateTranscriptOverviewRequest (var: rAs) +message CreateTranscriptOverviewRequest { + string formatted_conversation = 1; +} + +// Copied from: local:agent.v1.CreateTranscriptOverviewResponse (var: p8l) +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: On) +message CursorPath { + MotionStyle style = 1; + repeated CursorPathKeyframe keyframes = 2; +} + +// Copied from: local:agent.v1.CursorPathKeyframe (var: Ln) +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: y5) +message CursorPosition { + int32 line = 1; + int32 column = 2; +} + +// Copied from: local:agent.v1.CursorPositionAction (var: YRl) +message CursorPositionAction { +} + +// Copied from: aiserver.v1.CursorRange (var: qW) +message CursorRange { + CursorPosition start_position = 1; + CursorPosition end_position = 2; +} + +// Copied from: local:agent.v1.CursorRule (var: mae) +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: iBt) +enum CursorRuleSource { + CURSOR_RULE_SOURCE_UNSPECIFIED = 0; + CURSOR_RULE_SOURCE_TEAM = 1; + CURSOR_RULE_SOURCE_USER = 2; +} + +// Copied from: local:agent.v1.CursorRuleType (var: _Ge) +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: AOl) +message CursorRuleTypeAgentFetched { + string description = 1; +} + +// Copied from: local:agent.v1.CursorRuleTypeFileGlobs (var: v0s) +message CursorRuleTypeFileGlobs { + repeated string globs = 1; +} + +// Copied from: local:agent.v1.CursorRuleTypeGlobal (var: rBt) +message CursorRuleTypeGlobal { +} + +// Copied from: local:agent.v1.CursorRuleTypeManuallyAttached (var: b0s) +message CursorRuleTypeManuallyAttached { +} + +// Copied from: local:agent.v1.CursorType (var: Rn) +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: aiserver.v1.CustomErrorDetails (var: mct) +message CustomErrorDetails { + string title = 1; + string detail = 2; + optional bool allow_command_links_potentially_unsafe_please_only_use_for_handwritten_trusted_markdown = 3; + optional bool is_retryable = 4; + optional bool show_request_id = 5; + optional bool should_show_immediate_error = 6; + repeated ErrorButton buttons = 8; + map additional_info = 7; + repeated PlanChoice plan_choices = 9; + optional ErrorAnalyticsMetadata analytics_metadata = 10; +} + +// Copied from: local:agent.v1.CustomModeDescriptor (var: CTi) +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: xTi) +message CustomModeExitIntent { + AgentMode next_mode = 1; + SubmittedExitedCustomMode exited_mode = 2; +} + +// Copied from: local:agent.v1.CustomModeIntent (var: IBt) +message CustomModeIntent { + oneof intent { + SubmittedCustomMode enter = 1; + CustomModeExitIntent exit = 2; + } +} + +// Copied from: local:agent.v1.CustomModeSource (var: kSe) +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: OOt) +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: LRl) +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: aiserver.v1.DashboardAction (var: i_c) +message DashboardAction { + string action = 1; + map args = 2; + optional string success_message = 3; +} + +// Copied from: local:agent.v1.DebugModeConfig (var: hTi) +message DebugModeConfig { + string log_path = 1; + string server_endpoint = 2; + string session_id = 3; +} + +// Copied from: local:agent.v1.DecisionInput (var: jn) +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: Wn) +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: zho) +message DeleteAgentHostSessionRequest { + string session_id = 1; +} + +// Copied from: local:agent.v1.DeleteAgentHostSessionResponse (var: BGd) +message DeleteAgentHostSessionResponse { +} + +// Copied from: local:agent.v1.DeleteArgs (var: JFt) +message DeleteArgs { + string path = 1; + string tool_call_id = 2; +} + +// Copied from: local:agent.v1.DeleteError (var: tSn) +message DeleteError { + string path = 1; + string error = 2; +} + +// Copied from: local:agent.v1.DeleteFileBusy (var: vOl) +message DeleteFileBusy { + string path = 1; +} + +// Copied from: local:agent.v1.DeleteFileNotFound (var: d0s) +message DeleteFileNotFound { + string path = 1; +} + +// Copied from: local:agent.v1.DeleteNotFile (var: gOl) +message DeleteNotFile { + string path = 1; + string actual_type = 2; +} + +// Copied from: local:agent.v1.DeletePermissionDenied (var: fOl) +message DeletePermissionDenied { + string path = 1; + string client_visible_error = 2; + bool is_readonly = 3; +} + +// Copied from: local:agent.v1.DeleteRejected (var: h0s) +message DeleteRejected { + string path = 1; + string reason = 2; +} + +// Copied from: local:agent.v1.DeleteResult (var: UFe) +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: u0s) +message DeleteSuccess { + string path = 1; + string deleted_file = 2; + int64 file_size = 3; + string prev_content = 4; +} + +// Copied from: local:agent.v1.DeleteToolCall (var: Wht) +message DeleteToolCall { + DeleteArgs args = 1; + DeleteResult result = 2; +} + +// Copied from: local:agent.v1.DesktopChunk (var: YGd) +message DesktopChunk { + bytes data = 1; +} + +// Copied from: local:agent.v1.DesktopClose (var: XGd) +message DesktopClose { + string reason = 1; +} + +// Copied from: local:agent.v1.DesktopControlMode (var: Yav) +enum DesktopControlMode { + DESKTOP_CONTROL_MODE_UNSPECIFIED = 0; + DESKTOP_CONTROL_MODE_VIEW_ONLY = 1; + DESKTOP_CONTROL_MODE_CONTROL = 2; +} + +// Copied from: local:agent.v1.DesktopPing (var: ZGd) +message DesktopPing { + uint64 nonce = 1; +} + +// Copied from: local:agent.v1.DesktopStreamClientMessage (var: ocv) +message DesktopStreamClientMessage { + oneof message { + DesktopStreamStart start = 1; + DesktopChunk chunk = 2; + DesktopPing ping = 3; + DesktopClose close = 4; + } +} + +// Copied from: local:agent.v1.DesktopStreamServerMessage (var: acv) +message DesktopStreamServerMessage { + oneof message { + DesktopChunk chunk = 1; + DesktopPing ping = 2; + DesktopClose close = 3; + } +} + +// Copied from: local:agent.v1.DesktopStreamStart (var: scv) +message DesktopStreamStart { + string session_id = 1; + string worker_session_secret = 2; +} + +// Copied from: aiserver.v1.DetailedLine (var: xci) +message DetailedLine { + string text = 1; + float line_number = 2; + bool is_signature = 3; +} + +// Copied from: local:agent.v1.Diagnostic (var: Pxi) +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: zOl) +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: VOl) +message DiagnosticRange { + Position start = 1; + Position end = 2; +} + +// Copied from: local:agent.v1.DiagnosticSeverity (var: SGe) +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: aSn) +message DiagnosticsArgs { + string path = 1; + string tool_call_id = 2; +} + +// Copied from: local:agent.v1.DiagnosticsError (var: E0s) +message DiagnosticsError { + string path = 1; + string error = 2; +} + +// Copied from: local:agent.v1.DiagnosticsFileNotFound (var: Lxi) +message DiagnosticsFileNotFound { + string path = 1; +} + +// Copied from: local:agent.v1.DiagnosticsPermissionDenied (var: jOl) +message DiagnosticsPermissionDenied { + string path = 1; +} + +// Copied from: local:agent.v1.DiagnosticsRejected (var: $Ol) +message DiagnosticsRejected { + string path = 1; + string reason = 2; +} + +// Copied from: local:agent.v1.DiagnosticsResult (var: jFe) +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: Mxi) +message DiagnosticsSuccess { + string path = 1; + repeated Diagnostic diagnostics = 2; + int32 total_diagnostics = 3; +} + +// Copied from: local:agent.v1.DirectoryEntry (var: Gov) +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: Oav) +message DownloadCursorServerRequest { + string commit = 1; +} + +// Copied from: local:agent.v1.DownloadCursorServerResponse (var: Fav) +message DownloadCursorServerResponse { + bool already_downloaded = 1; +} + +// Copied from: local:agent.v1.DragAction (var: zRl) +message DragAction { + repeated Coordinate path = 1; + MouseButton button = 2; + optional string modifier_keys = 3; +} + +// Copied from: local:agent.v1.EditArgs (var: sSn) +message EditArgs { + string path = 1; + optional string stream_content = 6; +} + +// Copied from: local:agent.v1.EditError (var: Ght) +message EditError { + string path = 1; + string error = 2; + optional string model_visible_error = 5; +} + +// Copied from: local:agent.v1.EditFileNotFound (var: OOl) +message EditFileNotFound { + string path = 1; +} + +// Copied from: local:agent.v1.EditPrLabelsArgs (var: e3l) +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: i3l) +message EditPrLabelsError { + string error = 1; +} + +// Copied from: local:agent.v1.EditPrLabelsResult (var: t3l) +message EditPrLabelsResult { + oneof result { + EditPrLabelsSuccess success = 1; + EditPrLabelsError error = 2; + } +} + +// Copied from: local:agent.v1.EditPrLabelsSuccess (var: n3l) +message EditPrLabelsSuccess { + string pr_url = 1; + int32 pr_number = 2; + string message = 3; +} + +// Copied from: local:agent.v1.EditPrLabelsToolCall (var: r3l) +message EditPrLabelsToolCall { + EditPrLabelsArgs args = 1; + EditPrLabelsResult result = 2; +} + +// Copied from: local:agent.v1.EditReadPermissionDenied (var: FOl) +message EditReadPermissionDenied { + string path = 1; +} + +// Copied from: local:agent.v1.EditRejected (var: UOl) +message EditRejected { + string path = 1; + string reason = 2; +} + +// Copied from: local:agent.v1.EditResult (var: vSe) +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: oSn) +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: $pe) +message EditToolCall { + EditArgs args = 1; + EditResult result = 2; +} + +// Copied from: local:agent.v1.EditToolCallDelta (var: C0s) +message EditToolCallDelta { + string stream_content_delta = 1; +} + +// Copied from: local:agent.v1.EditWritePermissionDenied (var: BOl) +message EditWritePermissionDenied { + string path = 1; + string error = 2; + bool is_readonly = 3; +} + +// Copied from: local:agent.v1.Empty (var: N$t) +message Empty { +} + +// Copied from: local:agent.v1.EntryType (var: kov) +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: ZTs) +message Error { + string message = 1; +} + +// Copied from: aiserver.v1.ErrorAnalyticsMetadata (var: t_c) +message ErrorAnalyticsMetadata { + optional string action_required = 1; +} + +// Copied from: aiserver.v1.ErrorButton (var: qln) +message ErrorButton { + string label = 1; + oneof action { + UpgradeAction upgrade = 2; + SwitchModelAction switch_model = 3; + ConfigureSpendLimitAction configure_spend_limit = 4; + UrlAction url = 5; + UpgradeChoice upgrade_choice = 6; + DashboardAction dashboard_action = 7; + ReloadWindowAction reload_window = 8; + ClientAction client_action = 9; + } +} + +// Copied from: aiserver.v1.ErrorDetails (var: Dk) +message ErrorDetails { + // Copied from: aiserver.v1.ErrorDetails.Error (var: ro) + enum Error { + ERROR_UNSPECIFIED = 0; + ERROR_BAD_API_KEY = 1; + ERROR_BAD_USER_API_KEY = 42; + ERROR_NOT_LOGGED_IN = 2; + ERROR_INVALID_AUTH_ID = 3; + ERROR_NOT_HIGH_ENOUGH_PERMISSIONS = 4; + ERROR_AGENT_REQUIRES_LOGIN = 18; + ERROR_BAD_MODEL_NAME = 5; + ERROR_NOT_FOUND = 39; + ERROR_DEPRECATED = 40; + ERROR_USER_NOT_FOUND = 6; + ERROR_FREE_USER_RATE_LIMIT_EXCEEDED = 7; + ERROR_PRO_USER_RATE_LIMIT_EXCEEDED = 8; + ERROR_FREE_USER_USAGE_LIMIT = 9; + ERROR_PRO_USER_USAGE_LIMIT = 10; + ERROR_RESOURCE_EXHAUSTED = 41; + ERROR_AUTH_TOKEN_NOT_FOUND = 11; + ERROR_AUTH_TOKEN_EXPIRED = 12; + ERROR_OPENAI = 13; + ERROR_OPENAI_RATE_LIMIT_EXCEEDED = 14; + ERROR_MAX_TOKENS = 20; + ERROR_PRO_USER_ONLY = 23; + ERROR_USER_ABORTED_REQUEST = 21; + ERROR_TIMEOUT = 25; + ERROR_GENERIC_RATE_LIMIT_EXCEEDED = 22; + ERROR_GPT_4_VISION_PREVIEW_RATE_LIMIT = 28; + ERROR_CUSTOM_MESSAGE = 29; + ERROR_OUTDATED_CLIENT = 30; + ERROR_CLAUDE_IMAGE_TOO_LARGE = 31; + ERROR_FILE_NOT_FOUND = 33; + ERROR_API_KEY_RATE_LIMIT = 34; + ERROR_DEBOUNCED = 35; + ERROR_BAD_REQUEST = 36; + ERROR_REPOSITORY_SERVICE_REPOSITORY_IS_NOT_INITIALIZED = 37; + ERROR_UNAUTHORIZED = 38; + ERROR_CONVERSATION_TOO_LONG = 43; + ERROR_USAGE_PRICING_REQUIRED = 44; + ERROR_USAGE_PRICING_REQUIRED_CHANGEABLE = 45; + ERROR_GITHUB_NO_USER_CREDENTIALS = 46; + ERROR_GITHUB_USER_NO_ACCESS = 47; + ERROR_GITHUB_APP_NO_ACCESS = 48; + ERROR_GITHUB_MULTIPLE_OWNERS = 49; + ERROR_RATE_LIMITED = 50; + ERROR_RATE_LIMITED_CHANGEABLE = 51; + ERROR_CUSTOM = 52; + ERROR_HOOKS_BLOCKED = 53; + ERROR_SUSPICIOUS_USAGE_BLOCKED = 54; + ERROR_EXTENSION_HOST_TIMEOUT = 55; + ERROR_NETWORK_ERROR = 56; + ERROR_PROVIDER_ERROR = 57; + ERROR_MODEL_BLOCKED = 58; + ERROR_INTERNAL = 59; + ERROR_MAX_MODE_REQUIRED = 60; + ERROR_MODEL_NO_LONGER_SUPPORTED = 61; + ERROR_PRICING_WARNING = 62; + ERROR_SLOW_POOL = 63; + ERROR_UNSUPPORTED_REGION = 64; + ERROR_ACCOUNT_CLOSED = 65; + } + + Error error = 1; + CustomErrorDetails details = 2; + optional bool is_expected = 3; +} + +// Copied from: local:agent.v1.ExecClientControlMessage (var: Zte) +message ExecClientControlMessage { + oneof message { + ExecClientStreamClose stream_close = 1; + ExecClientThrow throw = 2; + ExecClientHeartbeat heartbeat = 3; + } +} + +// Copied from: local:agent.v1.ExecClientHeartbeat (var: YTs) +message ExecClientHeartbeat { + uint32 id = 1; +} + +// Copied from: local:agent.v1.ExecClientMessage (var: xSe) +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; + AdoptResult adopt_result = 56; + } +} + +// Copied from: local:agent.v1.ExecClientStreamClose (var: aAi) +message ExecClientStreamClose { + uint32 id = 1; +} + +// Copied from: local:agent.v1.ExecClientThrow (var: cAi) +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: Uov) +message ExecRequest { + string command = 1; + optional string cwd = 2; + repeated string args = 3; + map environment = 4; +} + +// Copied from: local:agent.v1.ExecResponse (var: $ov) +message ExecResponse { + oneof event { + StdoutEvent stdout_event = 1; + StderrEvent stderr_event = 2; + ExitEvent exit_event = 3; + } +} + +// Copied from: local:agent.v1.ExecServerAbort (var: JTs) +message ExecServerAbort { + uint32 id = 1; +} + +// Copied from: local:agent.v1.ExecServerControlMessage (var: HBt) +message ExecServerControlMessage { + oneof message { + ExecServerAbort abort = 1; + } +} + +// Copied from: local:agent.v1.ExecServerMessage (var: Xte) +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; + AdoptArgs adopt_args = 56; + } +} + +// Copied from: local:agent.v1.ExecStreamElement (var: Hav) +message ExecStreamElement { + oneof element { + ExecClientMessage exec_client_message = 1; + ExecClientControlMessage exec_client_control_message = 2; + } +} + +// Copied from: local:agent.v1.ExecuteHookArgs (var: JUl) +message ExecuteHookArgs { + ExecuteHookRequest request = 1; +} + +// Copied from: local:agent.v1.ExecuteHookRequest (var: t8l) +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: n8l) +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: e8l) +message ExecuteHookResult { + ExecuteHookResponse response = 1; +} + +// Copied from: local:agent.v1.ExecutePlanAction (var: spt) +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: b9l) +message ExecutePlanInfo { + string plan_id = 1; + string plan_title = 2; +} + +// Copied from: local:agent.v1.ExitEvent (var: Hov) +message ExitEvent { + int32 exit_code = 1; +} + +// Copied from: local:agent.v1.ExportFileMetadata (var: eav) +message ExportFileMetadata { + uint64 total_bytes = 1; +} + +// Copied from: local:agent.v1.ExportFileRequest (var: Jov) +message ExportFileRequest { + string path = 1; + string workspace_root_path = 2; +} + +// Copied from: local:agent.v1.ExportFileResponse (var: tav) +message ExportFileResponse { + oneof payload { + bytes content_chunk = 1; + ExportFileMetadata metadata = 2; + } +} + +// Copied from: local:agent.v1.ExtraContextEntry (var: v4l) +message ExtraContextEntry { + oneof data_or_blob_id { + string data = 1; + bytes blob_id = 2; + } +} + +// Copied from: local:agent.v1.FeedbackRequestCategory (var: BEs) +message FeedbackRequestCategory { + string id = 1; + string label = 2; +} + +// Copied from: local:agent.v1.FeedbackRequestCategoryGroup (var: O9l) +message FeedbackRequestCategoryGroup { + string id = 1; + string prompt = 2; + repeated FeedbackRequestCategory categories = 3; +} + +// Copied from: local:agent.v1.FeedbackRequestUpdate (var: UEs) +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: Y0s) +message FetchArgs { + string url = 1; + string tool_call_id = 2; +} + +// Copied from: local:agent.v1.FetchCloudAgentDataArgs (var: _3l) +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: w3l) +message FetchCloudAgentDataError { + string error = 1; +} + +// Copied from: local:agent.v1.FetchCloudAgentDataResult (var: y3l) +message FetchCloudAgentDataResult { + oneof result { + FetchCloudAgentDataSuccess success = 1; + FetchCloudAgentDataError error = 2; + } +} + +// Copied from: local:agent.v1.FetchCloudAgentDataSuccess (var: S3l) +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: k3l) +message FetchCloudAgentDataToolCall { + FetchCloudAgentDataArgs args = 1; + FetchCloudAgentDataResult result = 2; +} + +// Copied from: local:agent.v1.FetchError (var: xFl) +message FetchError { + string url = 1; + string error = 2; +} + +// Copied from: local:agent.v1.FetchResult (var: Z0s) +message FetchResult { + oneof result { + FetchSuccess success = 1; + FetchError error = 2; + } +} + +// Copied from: local:agent.v1.FetchSuccess (var: EFl) +message FetchSuccess { + string url = 1; + string content = 2; + int32 status_code = 3; + string content_type = 4; +} + +// Copied from: local:agent.v1.FetchToolCall (var: AFl) +message FetchToolCall { + FetchArgs args = 1; + FetchResult result = 2; +} + +// Copied from: local:agent.v1.FileDiagnostics (var: HOl) +message FileDiagnostics { + string path = 1; + repeated DiagnosticItem diagnostics = 2; + int32 diagnostics_count = 3; +} + +// Copied from: aiserver.v1.FileDiff (var: _Ne) +message FileDiff { + // Copied from: aiserver.v1.FileDiff.Chunk (var: jDt) + 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: Tci) +message FileGit { + repeated GitCommit commits = 1; +} + +// Copied from: local:agent.v1.FileState (var: R9l) +message FileState { + optional string content = 1; + optional string initial_content = 2; +} + +// Copied from: local:agent.v1.FileStateStructure (var: wEs) +message FileStateStructure { + optional bytes content = 1; + optional bytes initial_content = 2; +} + +// Copied from: local:agent.v1.ForceBackgroundShellArgs (var: qgs) +message ForceBackgroundShellArgs { + string tool_call_id = 1; +} + +// Copied from: local:agent.v1.ForceBackgroundShellResult (var: iAl) +message ForceBackgroundShellResult { + ForceBackgroundShellStatus status = 1; + optional ShellResult shell_result = 2; +} + +// Copied from: local:agent.v1.ForceBackgroundShellStatus (var: Wgs) +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: sAi) +message ForceBackgroundSubagentArgs { + string tool_call_id = 1; +} + +// Copied from: local:agent.v1.ForceBackgroundSubagentResult (var: oAi) +message ForceBackgroundSubagentResult { + ForceBackgroundSubagentStatus status = 1; +} + +// Copied from: local:agent.v1.ForceBackgroundSubagentStatus (var: gpt) +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: Ksv) +message ForkAgentHostSessionRequest { + string session_id = 1; + optional string last_turn_id = 2; +} + +// Copied from: local:agent.v1.ForkAgentHostSessionResponse (var: Qsv) +message ForkAgentHostSessionResponse { + string session_id = 1; +} + +// Copied from: local:agent.v1.Frame (var: QGd) +message Frame { + // Copied from: local:agent.v1.Frame.Kind (var: Zav) + 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: LOt) +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: SAl) +message GenerateImageError { + string error = 1; +} + +// Copied from: local:agent.v1.GenerateImageRequestQuery (var: wAl) +message GenerateImageRequestQuery { + GenerateImageArgs args = 1; + string tool_call_id = 2; +} + +// Copied from: local:agent.v1.GenerateImageRequestResponse (var: d0i) +message GenerateImageRequestResponse { + // Copied from: local:agent.v1.GenerateImageRequestResponse.Approved (var: rfs) + message Approved { + string description = 1; + } + + // Copied from: local:agent.v1.GenerateImageRequestResponse.Rejected (var: sfs) + message Rejected { + string reason = 1; + } + + oneof result { + Approved approved = 1; + Rejected rejected = 2; + } +} + +// Copied from: local:agent.v1.GenerateImageResult (var: xFe) +message GenerateImageResult { + oneof result { + GenerateImageSuccess success = 1; + GenerateImageError error = 2; + } +} + +// Copied from: local:agent.v1.GenerateImageSuccess (var: nfs) +message GenerateImageSuccess { + string file_path = 1; + string image_data = 2; +} + +// Copied from: local:agent.v1.GenerateImageToolCall (var: ifs) +message GenerateImageToolCall { + GenerateImageArgs args = 1; + GenerateImageResult result = 2; +} + +// Copied from: local:agent.v1.GetAgentStatusArgs (var: E5l) +message GetAgentStatusArgs { + string tool_call_id = 1; + repeated string agent_ids = 2; +} + +// Copied from: local:agent.v1.GetAgentStatusError (var: A5l) +message GetAgentStatusError { + string error = 1; +} + +// Copied from: local:agent.v1.GetAgentStatusResult (var: I5l) +message GetAgentStatusResult { + oneof result { + GetAgentStatusSuccess success = 1; + GetAgentStatusError error = 2; + } +} + +// Copied from: local:agent.v1.GetAgentStatusSuccess (var: T5l) +message GetAgentStatusSuccess { + repeated GetAgentStatusWorker workers = 1; + string message = 2; +} + +// Copied from: local:agent.v1.GetAgentStatusToolCall (var: R5l) +message GetAgentStatusToolCall { + GetAgentStatusArgs args = 1; + GetAgentStatusResult result = 2; +} + +// Copied from: local:agent.v1.GetAgentStatusWorker (var: x5l) +message GetAgentStatusWorker { + string bc_id = 1; + string name = 2; + string lifecycle = 3; + bool turn_in_flight = 4; + string last_terminal_turn_status = 5; + string pr_url = 6; + uint64 last_activity_at_ms = 7; +} + +// Copied from: local:agent.v1.GetAllowedModelIntentsRequest (var: m8l) +message GetAllowedModelIntentsRequest { +} + +// Copied from: local:agent.v1.GetAllowedModelIntentsResponse (var: g8l) +message GetAllowedModelIntentsResponse { + repeated string model_intents = 1; +} + +// Copied from: local:agent.v1.GetBlobArgs (var: i8l) +message GetBlobArgs { + bytes blob_id = 1; +} + +// Copied from: local:agent.v1.GetBlobResult (var: r8l) +message GetBlobResult { + optional bytes blob_data = 1; + optional Error error = 2; +} + +// Copied from: local:agent.v1.GetCapabilitiesRequest (var: Pov) +message GetCapabilitiesRequest { +} + +// Copied from: local:agent.v1.GetCapabilitiesResponse (var: Lov) +message GetCapabilitiesResponse { + optional bool computer_use_supported = 1; + optional bool install_plugin_artifact_supported = 2; +} + +// Copied from: local:agent.v1.GetCiStatusAction (var: sBl) +message GetCiStatusAction { + optional string pr_url = 1; + optional string branch_name = 2; + optional string repo_url = 3; +} + +// Copied from: local:agent.v1.GetDefaultModelForCliRequest (var: aAs) +message GetDefaultModelForCliRequest { +} + +// Copied from: local:agent.v1.GetDefaultModelForCliResponse (var: cAs) +message GetDefaultModelForCliResponse { + ModelDetails model = 1; +} + +// Copied from: aiserver.v1.GetDiffRequest (var: bNe) +message GetDiffRequest { + // Copied from: aiserver.v1.GetDiffRequest.OutputFormat (var: zln) + 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: xhe) +message GetDiffResponse { + // Copied from: aiserver.v1.GetDiffResponse.SubmoduleDiff (var: Bbc) + 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: Dav) +message GetMcpRefreshTokensRequest { +} + +// Copied from: local:agent.v1.GetMcpRefreshTokensResponse (var: Mav) +message GetMcpRefreshTokensResponse { + map refresh_tokens = 1; +} + +// Copied from: local:agent.v1.GetMcpToolsAgentResult (var: kBl) +message GetMcpToolsAgentResult { + oneof result { + GetMcpToolsSuccess success = 1; + GetMcpToolsError error = 2; + } +} + +// Copied from: local:agent.v1.GetMcpToolsArgs (var: f1s) +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: EBl) +message GetMcpToolsError { + string error = 1; +} + +// Copied from: local:agent.v1.GetMcpToolsSuccess (var: CBl) +message GetMcpToolsSuccess { + string content = 1; + optional string output_file_path = 2; +} + +// Copied from: local:agent.v1.GetMcpToolsToolCall (var: v1s) +message GetMcpToolsToolCall { + GetMcpToolsArgs args = 1; + GetMcpToolsAgentResult result = 2; +} + +// Copied from: local:agent.v1.GetNewChatNudgeLegacyModelPickerRequest (var: y8l) +message GetNewChatNudgeLegacyModelPickerRequest { + string current_model = 1; + bool max_mode = 2; +} + +// Copied from: local:agent.v1.GetNewChatNudgeLegacyModelPickerResponse (var: S8l) +message GetNewChatNudgeLegacyModelPickerResponse { + optional NewChatNudge nudge = 1; +} + +// Copied from: local:agent.v1.GetNewChatNudgeParameterizedModelPickerRequest (var: yAs) +message GetNewChatNudgeParameterizedModelPickerRequest { + RequestedModel current_model = 1; +} + +// Copied from: local:agent.v1.GetNewChatNudgeParameterizedModelPickerResponse (var: k8l) +message GetNewChatNudgeParameterizedModelPickerResponse { + optional NewChatNudgeV2 nudge = 1; +} + +// Copied from: local:agent.v1.GetPrCodeTourArgs (var: Z5l) +message GetPrCodeTourArgs { + string tool_call_id = 1; + optional string revision_id = 2; +} + +// Copied from: local:agent.v1.GetPrCodeTourError (var: e4l) +message GetPrCodeTourError { + string error = 1; +} + +// Copied from: local:agent.v1.GetPrCodeTourResult (var: t4l) +message GetPrCodeTourResult { + oneof result { + GetPrCodeTourSuccess success = 1; + GetPrCodeTourError error = 2; + } +} + +// Copied from: local:agent.v1.GetPrCodeTourSuccess (var: J5l) +message GetPrCodeTourSuccess { + repeated PrCodeTourRevisionSnapshot revisions = 1; +} + +// Copied from: local:agent.v1.GetPrCodeTourToolCall (var: n4l) +message GetPrCodeTourToolCall { + GetPrCodeTourArgs args = 1; + GetPrCodeTourResult result = 2; +} + +// Copied from: local:agent.v1.GetPromptContextUsageRequest (var: iAs) +message GetPromptContextUsageRequest { + string conversation_id = 1; + bytes snapshot_blob_id = 2; +} + +// Copied from: local:agent.v1.GetPromptContextUsageResponse (var: h8l) +message GetPromptContextUsageResponse { + PromptContextUsageSnapshot snapshot = 1; +} + +// Copied from: local:agent.v1.GetSignedUrlForAttachedMediaRequest (var: gAs) +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: b8l) +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: sAs) +message GetUsableModelsRequest { + repeated string custom_model_ids = 1; +} + +// Copied from: local:agent.v1.GetUsableModelsResponse (var: oAs) +message GetUsableModelsResponse { + repeated ModelDetails models = 1; +} + +// Copied from: local:agent.v1.GetWorkerIdResponse (var: Gav) +message GetWorkerIdResponse { + string worker_id = 1; +} + +// Copied from: local:agent.v1.GetWorkspaceChangesHashRequest (var: rav) +message GetWorkspaceChangesHashRequest { + string root_path = 1; + string base_ref = 2; +} + +// Copied from: local:agent.v1.GetWorkspaceChangesHashResponse (var: sav) +message GetWorkspaceChangesHashResponse { + string hash = 1; +} + +// Copied from: aiserver.v1.GitCommit (var: zbc) +message GitCommit { + string commit = 1; + string author = 2; + string date = 3; + string message = 4; +} + +// Copied from: aiserver.v1.GitDiff (var: EB) +message GitDiff { + // Copied from: aiserver.v1.GitDiff.DiffType (var: The) + 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: dTi) +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: p0s) +message GlobToolArgs { + optional string target_directory = 1; + string glob_pattern = 2; +} + +// Copied from: local:agent.v1.GlobToolCall (var: g0s) +message GlobToolCall { + GlobToolArgs args = 1; + GlobToolResult result = 2; +} + +// Copied from: local:agent.v1.GlobToolError (var: bOl) +message GlobToolError { + string error = 1; +} + +// Copied from: local:agent.v1.GlobToolResult (var: m0s) +message GlobToolResult { + oneof result { + GlobToolSuccess success = 1; + GlobToolError error = 2; + } +} + +// Copied from: local:agent.v1.GlobToolSuccess (var: _Ol) +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: dEs) +message GoalContinuationAction { +} + +// Copied from: local:agent.v1.GoalError (var: R1s) +message GoalError { + string error = 1; +} + +// Copied from: local:agent.v1.GoalState (var: MSn) +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: ySe) +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: tBt) +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: TOl) +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: EOl) +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: wOl) +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: Txi) +message GrepError { + string error = 1; +} + +// Copied from: local:agent.v1.GrepFileCount (var: kOl) +message GrepFileCount { + string file = 1; + int32 count = 2; +} + +// Copied from: local:agent.v1.GrepFileMatch (var: xOl) +message GrepFileMatch { + string file = 1; + repeated GrepContentMatch matches = 2; +} + +// Copied from: local:agent.v1.GrepFilesResult (var: COl) +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: nBt) +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: SOl) +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: Hht) +message GrepToolCall { + GrepArgs args = 1; + GrepResult result = 2; +} + +// Copied from: local:agent.v1.GrepUnionResult (var: f0s) +message GrepUnionResult { + oneof result { + GrepCountResult count = 1; + GrepFilesResult files = 2; + GrepContentResult content = 3; + } +} + +// Copied from: local:agent.v1.HeartbeatUpdate (var: PTi) +message HeartbeatUpdate { +} + +// Copied from: local:agent.v1.HookAdditionalContext (var: nht) +message HookAdditionalContext { + string hook_event_name = 1; + string content = 2; +} + +// Copied from: local:agent.v1.HooksConfigInfo (var: P1s) +message HooksConfigInfo { + repeated string configured_steps = 1; +} + +// Copied from: local:agent.v1.IdeEditorsStateFile (var: lAs) +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: uAs) +message IdeEditorsStateLite { + repeated IdeEditorsStateFile recently_viewed_files = 1; +} + +// Copied from: local:agent.v1.IdleClassification (var: Pn) +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: Qn) +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: y) +message ImageProto { + // Copied from: local:agent.v1.ImageProto.Dimension (var: k) + 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: ABt) +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: Jn) +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: Bav) +message InstallPluginArtifactRequest { + string download_url = 1; + string target_root = 2; + string artifact_digest = 3; +} + +// Copied from: local:agent.v1.InstallPluginArtifactResponse (var: Uav) +message InstallPluginArtifactResponse { +} + +// Copied from: local:agent.v1.InteractionQuery (var: lpt) +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: NL) +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: ZS) +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; + RoutedModelUpdate routed_model = 24; + } +} + +// Copied from: local:agent.v1.InterruptAgentHostTurnRequest (var: dMn) +message InterruptAgentHostTurnRequest { + string session_id = 1; + string turn_id = 2; + optional string reason = 3; +} + +// Copied from: local:agent.v1.InterruptAgentHostTurnResponse (var: UGd) +message InterruptAgentHostTurnResponse { + bool interrupted = 1; +} + +// Copied from: local:agent.v1.InterruptedPendingToolCallResolution (var: yTi) +message InterruptedPendingToolCallResolution { + string tool_call_id = 1; + oneof resolution { + ShellResult shell_result = 2; + TaskResult task_result = 3; + } +} + +// Copied from: local:agent.v1.InterruptedPendingToolCallResolutions (var: DSn) +message InterruptedPendingToolCallResolutions { + repeated InterruptedPendingToolCallResolution resolutions = 1; +} + +// Copied from: local:agent.v1.InvocationContext (var: fTi) +message InvocationContext { + // Copied from: local:agent.v1.InvocationContext.GithubPR (var: P4l) + message GithubPR { + string title = 1; + string description = 2; + string comments = 3; + optional string ci_failures = 4; + } + + // Copied from: local:agent.v1.InvocationContext.IdeState (var: eEs) + message IdeState { + // Copied from: local:agent.v1.InvocationContext.IdeState.File (var: CBt) + message File { + // Copied from: local:agent.v1.InvocationContext.IdeState.File.CursorPosition (var: tEs) + 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: nEs) + 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: M4l) + 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: D4l) + 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: qRl) +message KeyAction { + string key = 1; + optional int32 hold_duration_ms = 2; +} + +// Copied from: local:agent.v1.KeystrokeEvent (var: Gn) +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: Dn) +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: Rcv) +message KillTmuxSessionRequest { + string session_id = 1; +} + +// Copied from: local:agent.v1.KillTmuxSessionResponse (var: Dcv) +message KillTmuxSessionResponse { + bool success = 1; +} + +// Copied from: local:agent.v1.KvClientMessage (var: jBt) +message KvClientMessage { + uint32 id = 1; + oneof message { + GetBlobResult get_blob_result = 2; + SetBlobResult set_blob_result = 3; + } +} + +// Copied from: local:agent.v1.KvServerMessage (var: a8l) +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: DGd) +message ListAgentHostSessionsRequest { + optional bool include_children = 1; + optional string parent_session_id = 2; +} + +// Copied from: local:agent.v1.ListAgentHostSessionsResponse (var: MGd) +message ListAgentHostSessionsResponse { + repeated AgentHostSession sessions = 1; +} + +// Copied from: local:agent.v1.ListArtifactsRequest (var: gav) +message ListArtifactsRequest { + repeated string extra_paths = 1; +} + +// Copied from: local:agent.v1.ListArtifactsResponse (var: bav) +message ListArtifactsResponse { + repeated ArtifactUploadMetadata artifacts = 1; + map path_errors = 2; + ArtifactRootKind root_kind = 3; +} + +// Copied from: local:agent.v1.ListDirectoryRequest (var: zov) +message ListDirectoryRequest { + string path = 1; + bool include_hidden = 2; +} + +// Copied from: local:agent.v1.ListDirectoryResponse (var: Vov) +message ListDirectoryResponse { + repeated DirectoryEntry entries = 1; +} + +// Copied from: local:agent.v1.ListMcpResourcesError (var: aFl) +message ListMcpResourcesError { + string error = 1; +} + +// Copied from: local:agent.v1.ListMcpResourcesExecArgs (var: Bxi) +message ListMcpResourcesExecArgs { + optional string server = 1; +} + +// Copied from: local:agent.v1.ListMcpResourcesExecResult (var: Uxi) +message ListMcpResourcesExecResult { + // Copied from: local:agent.v1.ListMcpResourcesExecResult.McpResource (var: P0s) + 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: cFl) +message ListMcpResourcesRejected { + string reason = 1; +} + +// Copied from: local:agent.v1.ListMcpResourcesSuccess (var: L0s) +message ListMcpResourcesSuccess { + repeated ListMcpResourcesExecResult.McpResource resources = 1; +} + +// Copied from: local:agent.v1.ListMcpResourcesToolCall (var: z0s) +message ListMcpResourcesToolCall { + ListMcpResourcesExecArgs args = 1; + ListMcpResourcesExecResult result = 2; +} + +// Copied from: local:agent.v1.ListPtysRequest (var: ycv) +message ListPtysRequest { +} + +// Copied from: local:agent.v1.ListPtysResponse (var: Scv) +message ListPtysResponse { + repeated PtyInfo ptys = 1; +} + +// Copied from: local:agent.v1.ListTmuxSessionsRequest (var: Acv) +message ListTmuxSessionsRequest { +} + +// Copied from: local:agent.v1.ListTmuxSessionsResponse (var: Icv) +message ListTmuxSessionsResponse { + repeated TmuxSession sessions = 1; +} + +// Copied from: local:agent.v1.LoadMcpServersRequest (var: $av) +message LoadMcpServersRequest { + string mcp_config_json = 1; + bool remove_missing = 2; +} + +// Copied from: local:agent.v1.LoadMcpServersResponse (var: jav) +message LoadMcpServersResponse { + repeated string loaded_server_names = 1; +} + +// Copied from: local:agent.v1.LocalPromptQualityInvocation (var: pAs) +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: WBt) +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: FOt) +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: BOt) +message LsDirectoryTreeNode { + // Copied from: local:agent.v1.LsDirectoryTreeNode.File (var: FRl) + 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: y_n) +message LsError { + string path = 1; + string error = 2; +} + +// Copied from: local:agent.v1.LsRejected (var: BRl) +message LsRejected { + string path = 1; + string reason = 2; +} + +// Copied from: local:agent.v1.LsResult (var: aht) +message LsResult { + oneof result { + LsSuccess success = 1; + LsError error = 2; + LsRejected rejected = 3; + LsTimeout timeout = 4; + } +} + +// Copied from: local:agent.v1.LsSuccess (var: ORl) +message LsSuccess { + LsDirectoryTreeNode directory_tree_root = 1; +} + +// Copied from: local:agent.v1.LsTimeout (var: URl) +message LsTimeout { + LsDirectoryTreeNode directory_tree_root = 1; +} + +// Copied from: local:agent.v1.LsToolCall (var: qht) +message LsToolCall { + LsArgs args = 1; + LsResult result = 2; +} + +// Copied from: local:agent.v1.MatchedInstalledPlugin (var: m4l) +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: hUl) +message McpAllowlistPrecheckArgs { + string provider_identifier = 1; + string tool_name = 2; + optional string tool_call_id = 3; +} + +// Copied from: local:agent.v1.McpAllowlistPrecheckResult (var: pUl) +message McpAllowlistPrecheckResult { + bool allowlisted = 1; +} + +// Copied from: local:agent.v1.McpApproved (var: KOl) +message McpApproved { +} + +// Copied from: local:agent.v1.McpArgs (var: oBt) +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: Xxi) +message McpAuthArgs { + string server_identifier = 1; + string tool_call_id = 2; +} + +// Copied from: local:agent.v1.McpAuthError (var: d1s) +message McpAuthError { + string error = 1; +} + +// Copied from: local:agent.v1.McpAuthRejected (var: h1s) +message McpAuthRejected { + string reason = 1; +} + +// Copied from: local:agent.v1.McpAuthRequestQuery (var: hBl) +message McpAuthRequestQuery { + McpAuthArgs args = 1; +} + +// Copied from: local:agent.v1.McpAuthRequestResponse (var: sZ) +message McpAuthRequestResponse { + // Copied from: local:agent.v1.McpAuthRequestResponse.Approved (var: hBt) + message Approved { + } + + // Copied from: local:agent.v1.McpAuthRequestResponse.Rejected (var: _Se) + message Rejected { + string reason = 1; + } + + oneof result { + Approved approved = 1; + Rejected rejected = 2; + } +} + +// Copied from: local:agent.v1.McpAuthResult (var: l1s) +message McpAuthResult { + oneof result { + McpAuthSuccess success = 1; + McpAuthError error = 2; + McpAuthRejected rejected = 3; + } +} + +// Copied from: local:agent.v1.McpAuthSuccess (var: u1s) +message McpAuthSuccess { + string server_identifier = 1; +} + +// Copied from: local:agent.v1.McpAuthToolCall (var: p1s) +message McpAuthToolCall { + McpAuthArgs args = 1; + McpAuthResult result = 2; +} + +// Copied from: local:agent.v1.McpDescriptor (var: lSn) +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: eFl) +message McpError { + string error = 1; +} + +// Copied from: local:agent.v1.McpFileSystemOptions (var: sBt) +message McpFileSystemOptions { + bool enabled = 1; + string workspace_project_dir = 2; + repeated McpDescriptor mcp_descriptors = 3; +} + +// Copied from: local:agent.v1.McpImageContent (var: XOl) +message McpImageContent { + bytes data = 1; + string mime_type = 2; +} + +// Copied from: local:agent.v1.McpInstructions (var: cSn) +message McpInstructions { + string server_name = 1; + string instructions = 2; + string server_identifier = 3; +} + +// Copied from: local:agent.v1.McpMetaToolOptions (var: Fxi) +message McpMetaToolOptions { + bool enabled = 1; + repeated McpDescriptor mcp_descriptors = 2; +} + +// Copied from: local:agent.v1.McpPermissionDenied (var: M0s) +message McpPermissionDenied { + string error = 1; + bool is_readonly = 2; +} + +// Copied from: local:agent.v1.McpRejected (var: D0s) +message McpRejected { + string reason = 1; + bool is_readonly = 2; +} + +// Copied from: local:agent.v1.McpResult (var: I0s) +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: YOl) +message McpServerNotFound { + string name = 1; + repeated string available_servers = 2; +} + +// Copied from: local:agent.v1.McpStateError (var: sFl) +message McpStateError { + string error = 1; +} + +// Copied from: local:agent.v1.McpStateExecArgs (var: tFl) +message McpStateExecArgs { + repeated string server_identifiers = 1; + bool kick_only = 2; +} + +// Copied from: local:agent.v1.McpStateExecResult (var: nFl) +message McpStateExecResult { + oneof result { + McpStateSuccess success = 1; + McpStateError error = 2; + McpStateRejected rejected = 3; + } +} + +// Copied from: local:agent.v1.McpStateRejected (var: oFl) +message McpStateRejected { + string reason = 1; +} + +// Copied from: local:agent.v1.McpStateServer (var: iFl) +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; + optional string error_message = 8; +} + +// Copied from: local:agent.v1.McpStateSuccess (var: rFl) +message McpStateSuccess { + repeated McpStateServer servers = 1; +} + +// Copied from: local:agent.v1.McpSuccess (var: R0s) +message McpSuccess { + repeated McpToolResultContentItem content = 1; + bool is_error = 2; + google.protobuf.Struct structured_content = 3; +} + +// Copied from: local:agent.v1.McpTextContent (var: ZOl) +message McpTextContent { + string text = 1; + optional OutputLocation output_location = 2; +} + +// Copied from: local:agent.v1.McpToolCall (var: uSn) +message McpToolCall { + McpArgs args = 1; + McpToolResult result = 2; + optional string description = 3; +} + +// Copied from: local:agent.v1.McpToolDefinition (var: Qht) +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: Oxi) +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: hFl) +message McpToolError { + string error = 1; + string read_tool_def_reminder = 2; +} + +// Copied from: local:agent.v1.McpToolNotFound (var: QOl) +message McpToolNotFound { + string name = 1; + repeated string available_tools = 2; +} + +// Copied from: local:agent.v1.McpToolResult (var: pFl) +message McpToolResult { + oneof result { + McpSuccess success = 1; + McpToolError error = 2; + McpRejected rejected = 3; + McpPermissionDenied permission_denied = 4; + } +} + +// Copied from: local:agent.v1.McpToolResultContentItem (var: JOl) +message McpToolResultContentItem { + oneof content { + McpTextContent text = 1; + McpImageContent image = 2; + } +} + +// Copied from: local:agent.v1.McpTools (var: Nxi) +message McpTools { + repeated McpToolDefinition mcp_tools = 1; +} + +// Copied from: local:agent.v1.ModelDetails (var: Qte) +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: Nn) +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: M1s) +message MountedAgentStore { + string path = 1; + MountedAgentStoreKind kind = 2; + optional string alias = 3; + bool read_only = 4; +} + +// Copied from: local:agent.v1.MountedAgentStoreKind (var: fBt) +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: cht) +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: WRl) +message MouseDownAction { + MouseButton button = 1; +} + +// Copied from: local:agent.v1.MouseMoveAction (var: $Rl) +message MouseMoveAction { + Coordinate coordinate = 1; +} + +// Copied from: local:agent.v1.MouseUpAction (var: HRl) +message MouseUpAction { + MouseButton button = 1; +} + +// Copied from: local:agent.v1.NameAgentRequest (var: eAs) +message NameAgentRequest { + string user_message = 1; +} + +// Copied from: local:agent.v1.NameAgentResponse (var: tAs) +message NameAgentResponse { + string name = 1; +} + +// Copied from: local:agent.v1.NetworkPolicy (var: XTl) +message NetworkPolicy { + // Copied from: local:agent.v1.NetworkPolicy.DefaultAction (var: JTl) + 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: ZTl) +message NetworkPolicyLoggingConfig { + optional string decision_log_path = 1; + optional string log_format = 2; +} + +// Copied from: local:agent.v1.NewChatNudge (var: w8l) +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: C8l) +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: O4l) +message NewCloudVmTarget { + optional string environment_build_id = 1; + optional string base_branch = 2; +} + +// Copied from: local:agent.v1.NotifyConversationCloneRequest (var: fAs) +message NotifyConversationCloneRequest { + string conversation_id = 1; + string source_conversation_id = 2; + string source_request_id = 3; +} + +// Copied from: local:agent.v1.NotifyConversationCloneResponse (var: _8l) +message NotifyConversationCloneResponse { +} + +// Copied from: local:agent.v1.NudgeAskVariant (var: bAs) +message NudgeAskVariant { + string popup_message = 1; + string accept_label = 2; +} + +// Copied from: local:agent.v1.NudgeBumpVariant (var: vAs) +message NudgeBumpVariant { + string banner_message = 1; +} + +// Copied from: local:agent.v1.NudgeSilentSwitchVariant (var: _As) +message NudgeSilentSwitchVariant { +} + +// Copied from: local:agent.v1.OpenDesktopSessionRequest (var: icv) +message OpenDesktopSessionRequest { + string session_id = 1; + string worker_session_secret = 2; + DesktopControlMode control_mode = 3; +} + +// Copied from: local:agent.v1.OpenDesktopSessionResponse (var: rcv) +message OpenDesktopSessionResponse { + bool accepted = 1; + optional string unavailable_reason = 2; +} + +// Copied from: local:agent.v1.OutputLocation (var: YVe) +message OutputLocation { + string file_path = 1; + int64 size_bytes = 2; + int64 line_count = 3; +} + +// Copied from: local:agent.v1.PackageType (var: i4l) +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: RTi) +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: _Bt) +message PermissionsAutoRunInstructions { + repeated string allow_instructions = 1; + repeated string block_instructions = 2; +} + +// Copied from: local:agent.v1.PersistArtifactToAgentStoreInstruction (var: qGd) +message PersistArtifactToAgentStoreInstruction { + string absolute_path = 1; + optional string artifact_relative_path = 2; +} + +// Copied from: local:agent.v1.PersistArtifactToAgentStoreResult (var: KGd) +message PersistArtifactToAgentStoreResult { + string absolute_path = 1; + PersistArtifactToAgentStoreStatus status = 2; + string message = 3; +} + +// Copied from: local:agent.v1.PersistArtifactToAgentStoreStatus (var: Iov) +enum PersistArtifactToAgentStoreStatus { + PERSIST_ARTIFACT_TO_AGENT_STORE_STATUS_UNSPECIFIED = 0; + PERSIST_ARTIFACT_TO_AGENT_STORE_STATUS_PERSISTED = 1; + PERSIST_ARTIFACT_TO_AGENT_STORE_STATUS_REJECTED = 2; +} + +// Copied from: local:agent.v1.PersistArtifactsToAgentStoreRequest (var: kav) +message PersistArtifactsToAgentStoreRequest { + repeated PersistArtifactToAgentStoreInstruction artifacts = 1; +} + +// Copied from: local:agent.v1.PersistArtifactsToAgentStoreResponse (var: Cav) +message PersistArtifactsToAgentStoreResponse { + repeated PersistArtifactToAgentStoreResult results = 1; +} + +// Copied from: local:agent.v1.PersistArtifactsToParentStoreRequest (var: Eav) +message PersistArtifactsToParentStoreRequest { + repeated PersistArtifactToAgentStoreInstruction artifacts = 1; +} + +// Copied from: local:agent.v1.PersistArtifactsToParentStoreResponse (var: xav) +message PersistArtifactsToParentStoreResponse { + repeated PersistArtifactToAgentStoreResult results = 1; +} + +// Copied from: local:agent.v1.Phase (var: $0s) +message Phase { + string name = 1; + repeated TodoItem todos = 2; +} + +// Copied from: local:agent.v1.PiBashExecArgs (var: wUl) +message PiBashExecArgs { + string command = 1; + optional double timeout = 2; +} + +// Copied from: local:agent.v1.PiBashExecError (var: EUl) +message PiBashExecError { + string error = 1; + optional PiTruncation truncation = 2; + optional string full_output_path = 3; +} + +// Copied from: local:agent.v1.PiBashExecResult (var: kUl) +message PiBashExecResult { + oneof result { + PiBashExecSuccess success = 1; + PiBashExecError error = 2; + } +} + +// Copied from: local:agent.v1.PiBashExecSuccess (var: CUl) +message PiBashExecSuccess { + string output = 1; + optional PiTruncation truncation = 2; + optional string full_output_path = 3; +} + +// Copied from: local:agent.v1.PiBashToolArgs (var: N3l) +message PiBashToolArgs { + string command = 1; + optional double timeout = 2; +} + +// Copied from: local:agent.v1.PiBashToolCall (var: L3l) +message PiBashToolCall { + PiBashToolArgs args = 1; + PiBashToolResult result = 2; +} + +// Copied from: local:agent.v1.PiBashToolError (var: B3l) +message PiBashToolError { + string error = 1; + optional PiTruncation truncation = 2; + optional string full_output_path = 3; +} + +// Copied from: local:agent.v1.PiBashToolResult (var: O3l) +message PiBashToolResult { + oneof result { + PiBashToolSuccess success = 1; + PiBashToolError error = 2; + } +} + +// Copied from: local:agent.v1.PiBashToolSuccess (var: F3l) +message PiBashToolSuccess { + string output = 1; + optional PiTruncation truncation = 2; + optional string full_output_path = 3; +} + +// Copied from: local:agent.v1.PiEditExecArgs (var: xUl) +message PiEditExecArgs { + string path = 1; + repeated PiEditReplacement edits = 2; +} + +// Copied from: local:agent.v1.PiEditExecError (var: IUl) +message PiEditExecError { + string error = 1; +} + +// Copied from: local:agent.v1.PiEditExecRejected (var: RUl) +message PiEditExecRejected { + string reason = 1; +} + +// Copied from: local:agent.v1.PiEditExecResult (var: TUl) +message PiEditExecResult { + oneof result { + PiEditExecSuccess success = 1; + PiEditExecError error = 2; + PiEditExecRejected rejected = 3; + } +} + +// Copied from: local:agent.v1.PiEditExecSuccess (var: AUl) +message PiEditExecSuccess { + string output = 1; + string diff = 2; + string patch = 3; + optional uint32 first_changed_line = 4; +} + +// Copied from: local:agent.v1.PiEditReplacement (var: _1s) +message PiEditReplacement { + string old_text = 1; + string new_text = 2; +} + +// Copied from: local:agent.v1.PiEditToolArgs (var: $3l) +message PiEditToolArgs { + string path = 1; + repeated PiEditReplacement edits = 2; +} + +// Copied from: local:agent.v1.PiEditToolCall (var: U3l) +message PiEditToolCall { + PiEditToolArgs args = 1; + PiEditToolResult result = 2; +} + +// Copied from: local:agent.v1.PiEditToolError (var: H3l) +message PiEditToolError { + string error = 1; +} + +// Copied from: local:agent.v1.PiEditToolRejected (var: z3l) +message PiEditToolRejected { + string reason = 1; +} + +// Copied from: local:agent.v1.PiEditToolResult (var: j3l) +message PiEditToolResult { + oneof result { + PiEditToolSuccess success = 1; + PiEditToolError error = 2; + PiEditToolRejected rejected = 3; + } +} + +// Copied from: local:agent.v1.PiEditToolSuccess (var: W3l) +message PiEditToolSuccess { + string output = 1; + string diff = 2; + string patch = 3; + optional uint32 first_changed_line = 4; +} + +// Copied from: local:agent.v1.PiFindExecArgs (var: $Ul) +message PiFindExecArgs { + string pattern = 1; + optional string path = 2; + optional int32 limit = 3; +} + +// Copied from: local:agent.v1.PiFindExecError (var: HUl) +message PiFindExecError { + string error = 1; +} + +// Copied from: local:agent.v1.PiFindExecResult (var: jUl) +message PiFindExecResult { + oneof result { + PiFindExecSuccess success = 1; + PiFindExecError error = 2; + } +} + +// Copied from: local:agent.v1.PiFindExecSuccess (var: WUl) +message PiFindExecSuccess { + string output = 1; + optional PiTruncation truncation = 2; + optional uint32 result_limit_reached = 3; +} + +// Copied from: local:agent.v1.PiFindToolArgs (var: r5l) +message PiFindToolArgs { + string pattern = 1; + optional string path = 2; + optional int32 limit = 3; +} + +// Copied from: local:agent.v1.PiFindToolCall (var: i5l) +message PiFindToolCall { + PiFindToolArgs args = 1; + PiFindToolResult result = 2; +} + +// Copied from: local:agent.v1.PiFindToolError (var: a5l) +message PiFindToolError { + string error = 1; +} + +// Copied from: local:agent.v1.PiFindToolResult (var: s5l) +message PiFindToolResult { + oneof result { + PiFindToolSuccess success = 1; + PiFindToolError error = 2; + } +} + +// Copied from: local:agent.v1.PiFindToolSuccess (var: o5l) +message PiFindToolSuccess { + string output = 1; + optional PiTruncation truncation = 2; + optional uint32 result_limit_reached = 3; +} + +// Copied from: local:agent.v1.PiGrepExecArgs (var: OUl) +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: UUl) +message PiGrepExecError { + string error = 1; +} + +// Copied from: local:agent.v1.PiGrepExecResult (var: FUl) +message PiGrepExecResult { + oneof result { + PiGrepExecSuccess success = 1; + PiGrepExecError error = 2; + } +} + +// Copied from: local:agent.v1.PiGrepExecSuccess (var: BUl) +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: J3l) +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: X3l) +message PiGrepToolCall { + PiGrepToolArgs args = 1; + PiGrepToolResult result = 2; +} + +// Copied from: local:agent.v1.PiGrepToolError (var: n5l) +message PiGrepToolError { + string error = 1; +} + +// Copied from: local:agent.v1.PiGrepToolResult (var: e5l) +message PiGrepToolResult { + oneof result { + PiGrepToolSuccess success = 1; + PiGrepToolError error = 2; + } +} + +// Copied from: local:agent.v1.PiGrepToolSuccess (var: t5l) +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: zUl) +message PiLsExecArgs { + optional string path = 1; + optional int32 limit = 2; +} + +// Copied from: local:agent.v1.PiLsExecError (var: qUl) +message PiLsExecError { + string error = 1; +} + +// Copied from: local:agent.v1.PiLsExecResult (var: VUl) +message PiLsExecResult { + oneof result { + PiLsExecSuccess success = 1; + PiLsExecError error = 2; + } +} + +// Copied from: local:agent.v1.PiLsExecSuccess (var: GUl) +message PiLsExecSuccess { + string output = 1; + optional PiTruncation truncation = 2; + optional uint32 entry_limit_reached = 3; +} + +// Copied from: local:agent.v1.PiLsToolArgs (var: l5l) +message PiLsToolArgs { + optional string path = 1; + optional int32 limit = 2; +} + +// Copied from: local:agent.v1.PiLsToolCall (var: c5l) +message PiLsToolCall { + PiLsToolArgs args = 1; + PiLsToolResult result = 2; +} + +// Copied from: local:agent.v1.PiLsToolError (var: h5l) +message PiLsToolError { + string error = 1; +} + +// Copied from: local:agent.v1.PiLsToolResult (var: u5l) +message PiLsToolResult { + oneof result { + PiLsToolSuccess success = 1; + PiLsToolError error = 2; + } +} + +// Copied from: local:agent.v1.PiLsToolSuccess (var: d5l) +message PiLsToolSuccess { + string output = 1; + optional PiTruncation truncation = 2; + optional uint32 entry_limit_reached = 3; +} + +// Copied from: local:agent.v1.PiReadExecArgs (var: bUl) +message PiReadExecArgs { + string path = 1; + optional int32 offset = 2; + optional int32 limit = 3; +} + +// Copied from: local:agent.v1.PiReadExecError (var: SUl) +message PiReadExecError { + string error = 1; +} + +// Copied from: local:agent.v1.PiReadExecResult (var: _Ul) +message PiReadExecResult { + oneof result { + PiReadExecSuccess success = 1; + PiReadExecError error = 2; + } +} + +// Copied from: local:agent.v1.PiReadExecSuccess (var: yUl) +message PiReadExecSuccess { + string output = 1; + optional PiTruncation truncation = 2; +} + +// Copied from: local:agent.v1.PiReadToolArgs (var: R3l) +message PiReadToolArgs { + string path = 1; + optional int32 offset = 2; + optional int32 limit = 3; +} + +// Copied from: local:agent.v1.PiReadToolCall (var: I3l) +message PiReadToolCall { + PiReadToolArgs args = 1; + PiReadToolResult result = 2; +} + +// Copied from: local:agent.v1.PiReadToolError (var: P3l) +message PiReadToolError { + string error = 1; +} + +// Copied from: local:agent.v1.PiReadToolResult (var: D3l) +message PiReadToolResult { + oneof result { + PiReadToolSuccess success = 1; + PiReadToolError error = 2; + } +} + +// Copied from: local:agent.v1.PiReadToolSuccess (var: M3l) +message PiReadToolSuccess { + string output = 1; + optional PiTruncation truncation = 2; +} + +// Copied from: local:agent.v1.PiTruncation (var: gae) +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: DUl) +message PiWriteExecArgs { + string path = 1; + string content = 2; +} + +// Copied from: local:agent.v1.PiWriteExecError (var: LUl) +message PiWriteExecError { + string error = 1; +} + +// Copied from: local:agent.v1.PiWriteExecRejected (var: NUl) +message PiWriteExecRejected { + string reason = 1; +} + +// Copied from: local:agent.v1.PiWriteExecResult (var: MUl) +message PiWriteExecResult { + oneof result { + PiWriteExecSuccess success = 1; + PiWriteExecError error = 2; + PiWriteExecRejected rejected = 3; + } +} + +// Copied from: local:agent.v1.PiWriteExecSuccess (var: PUl) +message PiWriteExecSuccess { + string output = 1; +} + +// Copied from: local:agent.v1.PiWriteToolArgs (var: q3l) +message PiWriteToolArgs { + string path = 1; + string content = 2; +} + +// Copied from: local:agent.v1.PiWriteToolCall (var: G3l) +message PiWriteToolCall { + PiWriteToolArgs args = 1; + PiWriteToolResult result = 2; +} + +// Copied from: local:agent.v1.PiWriteToolError (var: Y3l) +message PiWriteToolError { + string error = 1; +} + +// Copied from: local:agent.v1.PiWriteToolRejected (var: Z3l) +message PiWriteToolRejected { + string reason = 1; +} + +// Copied from: local:agent.v1.PiWriteToolResult (var: K3l) +message PiWriteToolResult { + oneof result { + PiWriteToolSuccess success = 1; + PiWriteToolError error = 2; + PiWriteToolRejected rejected = 3; + } +} + +// Copied from: local:agent.v1.PiWriteToolSuccess (var: Q3l) +message PiWriteToolSuccess { + string output = 1; +} + +// Copied from: local:agent.v1.PingRequest (var: Dov) +message PingRequest { +} + +// Copied from: local:agent.v1.PingResponse (var: Mov) +message PingResponse { +} + +// Copied from: aiserver.v1.PlanChoice (var: n_c) +message PlanChoice { + string label = 1; + optional string sublabel = 2; + optional string description = 3; + string value = 4; +} + +// Copied from: local:agent.v1.PlanRegistryEntry (var: w9l) +message PlanRegistryEntry { + string id = 1; + string path = 2; +} + +// Copied from: local:agent.v1.Position (var: k8) +message Position { + uint32 line = 1; + uint32 column = 2; +} + +// Copied from: local:agent.v1.PostCommentAction (var: iBl) +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: H9l) +message PostRequestPromptUpdate { + string title = 1; + string message = 2; + string button_label = 3; + string button_url = 4; +} + +// Copied from: local:agent.v1.PostToolUseFailureRequestQuery (var: u6l) +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: d6l) +message PostToolUseFailureRequestResponse { + optional string additional_context = 1; +} + +// Copied from: local:agent.v1.PostToolUseRequestQuery (var: c6l) +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: l6l) +message PostToolUseRequestResponse { + optional string additional_context = 1; +} + +// Copied from: local:agent.v1.PrCodeTourRevisionSnapshot (var: X5l) +message PrCodeTourRevisionSnapshot { + string revision_id = 1; + string status = 2; + string head_sha = 3; + string feedback = 4; + int64 updated_at_ms = 5; + bool is_current = 6; + string markdown = 7; +} + +// Copied from: local:agent.v1.PrManagementArgs (var: a1s) +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: Yxi) +message PrManagementError { + string error = 1; +} + +// Copied from: local:agent.v1.PrManagementNeedsConfirmation (var: lBl) +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: cBl) +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: c1s) +message PrManagementRejected { + string reason = 1; +} + +// Copied from: local:agent.v1.PrManagementRequestQuery (var: dBl) +message PrManagementRequestQuery { + PrManagementArgs args = 1; +} + +// Copied from: local:agent.v1.PrManagementResult (var: dBt) +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: aBl) +message PrManagementSuccess { + string pr_url = 1; + int32 pr_number = 2; + string message = 3; +} + +// Copied from: local:agent.v1.PrManagementToolCall (var: uBl) +message PrManagementToolCall { + PrManagementArgs args = 1; + PrManagementResult result = 2; +} + +// Copied from: local:agent.v1.PreCompactRequestQuery (var: V9l) +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: G9l) +message PreCompactRequestResponse { + optional string user_message = 1; +} + +// Copied from: local:agent.v1.PreFetchedBlob (var: xEs) +message PreFetchedBlob { + bytes id = 1; + bytes value = 2; +} + +// Copied from: local:agent.v1.PreToolUseRequestQuery (var: o6l) +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: a6l) +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: l4l) +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: c4l) +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: au) +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; + optional CloudSubagentInheritedContext inherited_context = 36; +} + +// Copied from: local:agent.v1.PrewarmRequest (var: l8l) +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; + optional bool client_supports_routed_model_update = 26; + optional ClientLlmGatewayCredential client_llm_gateway_credential = 27; + optional bool client_supports_preview_card = 28; + optional bool started_as_new_project = 29; +} + +// Copied from: local:agent.v1.PrivateWorkerStatus (var: Vav) +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: JGd) +message Process { + string shell = 1; + repeated string args = 2; +} + +// Copied from: local:agent.v1.ProjectDetails (var: WFe) +message ProjectDetails { + optional string name = 1; + optional ProjectSubagentDetails subagent = 2; + optional ProjectSideChatDetails side_chat = 3; +} + +// Copied from: local:agent.v1.ProjectSideChatDetails (var: vEs) +message ProjectSideChatDetails { + string store_dir = 1; +} + +// Copied from: local:agent.v1.ProjectSubagentDetails (var: fEs) +message ProjectSubagentDetails { + optional string store_dir = 2; +} + +// Copied from: local:agent.v1.PromptContextNode (var: A9l) +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: T9l) +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: I9l) +message PromptContextUsageSnapshot { + PromptContextUsageTree prompt_context_usage_tree = 1; + repeated bytes root_prompt_messages_json = 2; +} + +// Copied from: local:agent.v1.PromptContextUsageTree (var: SEs) +message PromptContextUsageTree { + uint32 schema_version = 1; + repeated PromptContextNode nodes = 2; +} + +// Copied from: local:agent.v1.PromptSuggestionUpdate (var: OEs) +message PromptSuggestionUpdate { + string suggestion = 1; +} + +// Copied from: local:agent.v1.PromptTokenBreakdownCategory (var: E9l) +message PromptTokenBreakdownCategory { + string id = 1; + string label = 2; + uint32 estimated_tokens = 3; + optional uint32 character_count = 4; +} + +// Copied from: local:agent.v1.PromptTokenBreakdownSnapshot (var: x9l) +message PromptTokenBreakdownSnapshot { + uint32 total_used_tokens = 1; + uint32 max_tokens = 2; + repeated PromptTokenBreakdownCategory categories = 3; +} + +// Copied from: local:agent.v1.PromptUploadRef (var: xSn) +message PromptUploadRef { + string upload_id = 1; +} + +// Copied from: local:agent.v1.PtyData (var: mcv) +message PtyData { + bytes data = 1; +} + +// Copied from: local:agent.v1.PtyEvent (var: pcv) +message PtyEvent { + string event_id = 1; + oneof data { + PtyData pty_data = 2; + PtyExited pty_exited = 3; + } +} + +// Copied from: local:agent.v1.PtyExited (var: gcv) +message PtyExited { + int32 exit_code = 1; + optional int32 signal = 2; +} + +// Copied from: local:agent.v1.PtyInfo (var: wcv) +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: eBl) +enum PullRequestStatus { + PULL_REQUEST_STATUS_UNSPECIFIED = 0; + PULL_REQUEST_STATUS_OPEN = 1; + PULL_REQUEST_STATUS_CLOSED = 2; +} + +// Copied from: local:agent.v1.Range (var: aSe) +message Range { + Position start = 1; + Position end = 2; +} + +// Copied from: local:agent.v1.ReadAgentTranscriptArgs (var: O5l) +message ReadAgentTranscriptArgs { + string tool_call_id = 1; + string agent_id = 2; + string mode = 3; + uint32 max_turns = 4; +} + +// Copied from: local:agent.v1.ReadAgentTranscriptError (var: B5l) +message ReadAgentTranscriptError { + string error = 1; +} + +// Copied from: local:agent.v1.ReadAgentTranscriptResult (var: U5l) +message ReadAgentTranscriptResult { + oneof result { + ReadAgentTranscriptSuccess success = 1; + ReadAgentTranscriptError error = 2; + } +} + +// Copied from: local:agent.v1.ReadAgentTranscriptSuccess (var: F5l) +message ReadAgentTranscriptSuccess { + string transcript = 1; + bool truncated = 2; +} + +// Copied from: local:agent.v1.ReadAgentTranscriptToolCall (var: $5l) +message ReadAgentTranscriptToolCall { + ReadAgentTranscriptArgs args = 1; + ReadAgentTranscriptResult result = 2; +} + +// Copied from: local:agent.v1.ReadArgs (var: WSn) +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: Zov) +message ReadBinaryFileRequest { + string path = 1; +} + +// Copied from: local:agent.v1.ReadBinaryFileResponse (var: Xov) +message ReadBinaryFileResponse { + bytes content = 1; +} + +// Copied from: local:agent.v1.ReadError (var: Q6l) +message ReadError { + string path = 1; + string error = 2; +} + +// Copied from: local:agent.v1.ReadFileNotFound (var: Z6l) +message ReadFileNotFound { + string path = 1; +} + +// Copied from: local:agent.v1.ReadInvalidFile (var: X6l) +message ReadInvalidFile { + string path = 1; + string reason = 2; +} + +// Copied from: local:agent.v1.ReadLintsToolArgs (var: T0s) +message ReadLintsToolArgs { + repeated string paths = 1; +} + +// Copied from: local:agent.v1.ReadLintsToolCall (var: x0s) +message ReadLintsToolCall { + ReadLintsToolArgs args = 1; + ReadLintsToolResult result = 2; +} + +// Copied from: local:agent.v1.ReadLintsToolError (var: GOl) +message ReadLintsToolError { + string error_message = 1; +} + +// Copied from: local:agent.v1.ReadLintsToolResult (var: A0s) +message ReadLintsToolResult { + oneof result { + ReadLintsToolSuccess success = 1; + ReadLintsToolError error = 2; + } +} + +// Copied from: local:agent.v1.ReadLintsToolSuccess (var: WOl) +message ReadLintsToolSuccess { + repeated FileDiagnostics file_diagnostics = 1; + int32 total_files = 2; + int32 total_diagnostics = 3; +} + +// Copied from: local:agent.v1.ReadMcpResourceError (var: lFl) +message ReadMcpResourceError { + string uri = 1; + string error = 2; +} + +// Copied from: local:agent.v1.ReadMcpResourceExecArgs (var: $xi) +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: jxi) +message ReadMcpResourceExecResult { + oneof result { + ReadMcpResourceSuccess success = 1; + ReadMcpResourceError error = 2; + ReadMcpResourceRejected rejected = 3; + ReadMcpResourceNotFound not_found = 4; + } +} + +// Copied from: local:agent.v1.ReadMcpResourceNotFound (var: dFl) +message ReadMcpResourceNotFound { + string uri = 1; +} + +// Copied from: local:agent.v1.ReadMcpResourceRejected (var: uFl) +message ReadMcpResourceRejected { + string uri = 1; + string reason = 2; +} + +// Copied from: local:agent.v1.ReadMcpResourceSuccess (var: N0s) +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: V0s) +message ReadMcpResourceToolCall { + ReadMcpResourceExecArgs args = 1; + ReadMcpResourceExecResult result = 2; +} + +// Copied from: local:agent.v1.ReadPermissionDenied (var: $Ts) +message ReadPermissionDenied { + string path = 1; +} + +// Copied from: local:agent.v1.ReadRange (var: IOl) +message ReadRange { + uint32 start_line = 1; + uint32 end_line = 2; +} + +// Copied from: local:agent.v1.ReadRejected (var: Y6l) +message ReadRejected { + string path = 1; + string reason = 2; +} + +// Copied from: local:agent.v1.ReadResult (var: IGe) +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: UBt) +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: qov) +message ReadTextFileRequest { + string path = 1; +} + +// Copied from: local:agent.v1.ReadTextFileResponse (var: Kov) +message ReadTextFileResponse { + string content = 1; +} + +// Copied from: local:agent.v1.ReadTodosArgs (var: MOl) +message ReadTodosArgs { + repeated TodoStatus status_filter = 1; + repeated string id_filter = 2; +} + +// Copied from: local:agent.v1.ReadTodosError (var: NOl) +message ReadTodosError { + string error = 1; +} + +// Copied from: local:agent.v1.ReadTodosResult (var: POl) +message ReadTodosResult { + oneof result { + ReadTodosSuccess success = 1; + ReadTodosError error = 2; + } +} + +// Copied from: local:agent.v1.ReadTodosSuccess (var: LOl) +message ReadTodosSuccess { + repeated TodoItem todos = 1; + int32 total_count = 2; +} + +// Copied from: local:agent.v1.ReadTodosToolCall (var: DOl) +message ReadTodosToolCall { + ReadTodosArgs args = 1; + ReadTodosResult result = 2; +} + +// Copied from: local:agent.v1.ReadToolArgs (var: Ixi) +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: yGe) +message ReadToolCall { + ReadToolArgs args = 1; + ReadToolResult result = 2; +} + +// Copied from: local:agent.v1.ReadToolError (var: iSn) +message ReadToolError { + string error_message = 1; +} + +// Copied from: local:agent.v1.ReadToolResult (var: $Fe) +message ReadToolResult { + oneof result { + ReadToolSuccess success = 1; + ReadToolError error = 2; + } +} + +// Copied from: local:agent.v1.ReadToolSuccess (var: _0s) +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: K1s) +message RecentAgent { + string name = 1; + string path = 2; + optional string overview = 3; +} + +// Copied from: local:agent.v1.RecentAgentsContext (var: Q1s) +message RecentAgentsContext { + repeated RecentAgent recent_agents = 1; +} + +// Copied from: local:agent.v1.RecentlyAddedPlugin (var: N1s) +message RecentlyAddedPlugin { + // Copied from: local:agent.v1.RecentlyAddedPlugin.CapabilityDescriptor (var: SSe) + 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: s3l) +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: a3l) +message RecordCiInvestigationFindingsArgs { + repeated RecordCiInvestigationFinding findings = 1; + optional RecordCiInvestigationOverall overall = 2; + string tool_call_id = 3; +} + +// Copied from: local:agent.v1.RecordCiInvestigationFindingsError (var: l3l) +message RecordCiInvestigationFindingsError { + string error = 1; +} + +// Copied from: local:agent.v1.RecordCiInvestigationFindingsResult (var: u3l) +message RecordCiInvestigationFindingsResult { + oneof result { + RecordCiInvestigationFindingsSuccess success = 1; + RecordCiInvestigationFindingsError error = 2; + } +} + +// Copied from: local:agent.v1.RecordCiInvestigationFindingsSuccess (var: c3l) +message RecordCiInvestigationFindingsSuccess { + string message = 1; +} + +// Copied from: local:agent.v1.RecordCiInvestigationFindingsToolCall (var: d3l) +message RecordCiInvestigationFindingsToolCall { + RecordCiInvestigationFindingsArgs args = 1; + RecordCiInvestigationFindingsResult result = 2; +} + +// Copied from: local:agent.v1.RecordCiInvestigationOverall (var: o3l) +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: JVe) +message RecordScreenArgs { + RecordingMode mode = 1; + string tool_call_id = 2; + optional string save_as_filename = 3; +} + +// Copied from: local:agent.v1.RecordScreenDiscardSuccess (var: fAl) +message RecordScreenDiscardSuccess { +} + +// Copied from: local:agent.v1.RecordScreenFailure (var: vAl) +message RecordScreenFailure { + string error = 1; +} + +// Copied from: local:agent.v1.RecordScreenResult (var: POt) +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: gAl) +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: mAl) +message RecordScreenStartSuccess { + bool was_prior_recording_cancelled = 1; + bool was_save_as_filename_ignored = 2; +} + +// Copied from: local:agent.v1.RecordScreenToolCall (var: t1s) +message RecordScreenToolCall { + RecordScreenArgs args = 1; + RecordScreenResult result = 2; +} + +// Copied from: local:agent.v1.RecordingDataPackage (var: Vn) +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: g_n) +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: LFl) +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: FFl) +message ReflectError { + string error = 1; +} + +// Copied from: local:agent.v1.ReflectResult (var: NFl) +message ReflectResult { + oneof result { + ReflectSuccess success = 1; + ReflectError error = 2; + } +} + +// Copied from: local:agent.v1.ReflectSuccess (var: OFl) +message ReflectSuccess { +} + +// Copied from: local:agent.v1.ReflectToolCall (var: BFl) +message ReflectToolCall { + ReflectArgs args = 1; + ReflectResult result = 2; +} + +// Copied from: local:agent.v1.RefreshGithubAccessTokenRequest (var: dav) +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: hav) +message RefreshGithubAccessTokenResponse { +} + +// Copied from: local:agent.v1.ReleaseWorkerRequest (var: ncv) +message ReleaseWorkerRequest { +} + +// Copied from: local:agent.v1.ReloadAgentSkillsRequest (var: Nov) +message ReloadAgentSkillsRequest { +} + +// Copied from: local:agent.v1.ReloadAgentSkillsResponse (var: Oov) +message ReloadAgentSkillsResponse { +} + +// Copied from: local:agent.v1.ReloadPluginsRequest (var: Fov) +message ReloadPluginsRequest { + repeated string reload_targets = 1; +} + +// Copied from: local:agent.v1.ReloadPluginsResponse (var: Bov) +message ReloadPluginsResponse { +} + +// Copied from: aiserver.v1.ReloadWindowAction (var: Kln) +message ReloadWindowAction { +} + +// Copied from: local:agent.v1.ReplaceEnvArgs (var: b1s) +message ReplaceEnvArgs { + ReplaceEnvConfig config = 1; + ReplaceEnvMode mode = 2; + repeated RepoCheckoutRefOverride checkout_ref_overrides = 3; +} + +// Copied from: local:agent.v1.ReplaceEnvConfig (var: YBl) +message ReplaceEnvConfig { + string install_script = 1; + string dockerfile_contents = 2; +} + +// Copied from: local:agent.v1.ReplaceEnvFailure (var: SSn) +message ReplaceEnvFailure { + string error_message = 1; + string setup_logs = 2; +} + +// Copied from: local:agent.v1.ReplaceEnvMode (var: KBl) +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: mBt) +message ReplaceEnvResult { + oneof result { + ReplaceEnvSuccess success = 1; + ReplaceEnvFailure failure = 2; + } +} + +// Copied from: local:agent.v1.ReplaceEnvSuccess (var: ZBl) +message ReplaceEnvSuccess { + string setup_logs = 1; +} + +// Copied from: local:agent.v1.ReplaceEnvToolCall (var: XBl) +message ReplaceEnvToolCall { + ReplaceEnvArgs args = 1; + ReplaceEnvResult result = 2; + string associated_pod_key = 3; +} + +// Copied from: local:agent.v1.ReplaceEnvToolCallDelta (var: JBl) +message ReplaceEnvToolCallDelta { + string associated_pod_key = 1; +} + +// Copied from: local:agent.v1.RepoCheckoutRefOverride (var: QBl) +message RepoCheckoutRefOverride { + string repo_url = 1; + string ref = 2; +} + +// Copied from: local:agent.v1.ReportBugArgs (var: TBl) +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: IBl) +message ReportBugError { + string error_message = 1; +} + +// Copied from: local:agent.v1.ReportBugResult (var: RBl) +message ReportBugResult { + oneof result { + ReportBugSuccess success = 1; + ReportBugError error = 2; + } +} + +// Copied from: local:agent.v1.ReportBugSuccess (var: ABl) +message ReportBugSuccess { + string output = 1; +} + +// Copied from: local:agent.v1.ReportBugToolCall (var: DBl) +message ReportBugToolCall { + ReportBugArgs args = 1; + ReportBugResult result = 2; +} + +// Copied from: local:agent.v1.ReportBugfixResultsArgs (var: XRl) +message ReportBugfixResultsArgs { + string summary = 1; + repeated BugfixResultItem results = 2; +} + +// Copied from: local:agent.v1.ReportBugfixResultsError (var: Bfs) +message ReportBugfixResultsError { + string error = 1; +} + +// Copied from: local:agent.v1.ReportBugfixResultsResult (var: JRl) +message ReportBugfixResultsResult { + oneof result { + ReportBugfixResultsSuccess success = 1; + ReportBugfixResultsError error = 2; + } +} + +// Copied from: local:agent.v1.ReportBugfixResultsSuccess (var: Ffs) +message ReportBugfixResultsSuccess { + repeated BugfixResultItem results = 1; +} + +// Copied from: local:agent.v1.ReportBugfixResultsToolCall (var: eDl) +message ReportBugfixResultsToolCall { + ReportBugfixResultsArgs args = 1; + ReportBugfixResultsResult result = 2; +} + +// Copied from: local:agent.v1.RepositoryIndexingInfo (var: r4l) +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: qte) +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; + optional SystemPromptSpec system_prompt_override = 53; +} + +// Copied from: local:agent.v1.RequestContextArgs (var: ESn) +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: xGe) +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: s4l) +message RequestContextError { + string error = 1; +} + +// Copied from: local:agent.v1.RequestContextMcpsPart (var: p4l) +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: L1s) +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: o4l) +message RequestContextRejected { + string reason = 1; +} + +// Copied from: local:agent.v1.RequestContextResult (var: vBt) +message RequestContextResult { + oneof result { + RequestContextSuccess success = 1; + RequestContextError error = 2; + RequestContextRejected rejected = 3; + } +} + +// Copied from: local:agent.v1.RequestContextRulesPart (var: u4l) +message RequestContextRulesPart { + repeated CursorRule rules = 1; + repeated CursorRule non_file_rules = 2; + optional string cloud_rule = 3; +} + +// Copied from: local:agent.v1.RequestContextSkillsPart (var: d4l) +message RequestContextSkillsPart { + repeated AgentSkill agent_skills = 1; + optional SkillOptions skill_options = 2; +} + +// Copied from: local:agent.v1.RequestContextSubagentsPart (var: h4l) +message RequestContextSubagentsPart { + repeated CustomSubagent custom_subagents = 1; +} + +// Copied from: local:agent.v1.RequestContextSuccess (var: bBt) +message RequestContextSuccess { + RequestContext request_context = 1; + optional bool served_from_disk_cache = 2; +} + +// Copied from: local:agent.v1.RequestedFilePathRejectedReason (var: pAl) +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: cA) +message RequestedModel { + // Copied from: local:agent.v1.RequestedModel.ModelParameterValue (var: CP) + 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: bcv) +message ResizePtyRequest { + string pty_id = 1; + uint32 cols = 2; + uint32 rows = 3; +} + +// Copied from: local:agent.v1.ResizePtyResponse (var: _cv) +message ResizePtyResponse { + bool success = 1; +} + +// Copied from: local:agent.v1.ResolveCommentAction (var: rBl) +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: WHi) +message RespondToAgentHostInteractionRequest { + string session_id = 1; + string interaction_id = 2; + InteractionResponse response = 3; +} + +// Copied from: local:agent.v1.RespondToAgentHostInteractionResponse (var: HHi) +message RespondToAgentHostInteractionResponse { + AgentHostInteractionResponseStatus status = 1; +} + +// Copied from: local:agent.v1.ResponseComparisonCompleted (var: U9l) +message ResponseComparisonCompleted { +} + +// Copied from: local:agent.v1.ResponseComparisonDisplayOrder (var: ISn) +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: L4l) +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: $9l) +message ResponseComparisonSkipped { + ResponseComparisonSkipReason reason = 1; +} + +// Copied from: local:agent.v1.ResponseComparisonStarted (var: F9l) +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: B9l) +message ResponseComparisonTextDelta { + string text = 1; +} + +// Copied from: local:agent.v1.ResponseComparisonUpdate (var: j9l) +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: Tav) +message RestoreArtifactInstruction { + string absolute_path = 1; + string download_url = 2; + int64 updated_at_unix_ms = 3; + optional string artifact_relative_path = 4; +} + +// Copied from: local:agent.v1.RestoreArtifactResult (var: Aav) +message RestoreArtifactResult { + ArtifactRestoreStatus status = 2; + string error_message = 3; +} + +// Copied from: local:agent.v1.RestoreArtifactsRequest (var: Iav) +message RestoreArtifactsRequest { + repeated RestoreArtifactInstruction artifacts = 1; +} + +// Copied from: local:agent.v1.RestoreArtifactsResponse (var: Rav) +message RestoreArtifactsResponse { + repeated RestoreArtifactResult results = 1; +} + +// Copied from: local:agent.v1.ResumeAction (var: TTi) +message ResumeAction { + RequestContext request_context = 2; +} + +// Copied from: local:agent.v1.RoutedModelUpdate (var: N9l) +message RoutedModelUpdate { + string display_name = 1; +} + +// Copied from: local:agent.v1.RunScopedOverlay (var: Lav) +message RunScopedOverlay { + string run_id = 1; + bool release = 2; + string holder = 3; +} + +// Copied from: local:agent.v1.SameMachineTarget (var: N4l) +message SameMachineTarget { +} + +// Copied from: local:agent.v1.SandboxPolicy (var: Rpe) +message SandboxPolicy { + // Copied from: local:agent.v1.SandboxPolicy.ReadBoundaryMode (var: u_n) + enum ReadBoundaryMode { + READ_BOUNDARY_MODE_UNSPECIFIED = 0; + READ_BOUNDARY_MODE_SYSTEM = 1; + READ_BOUNDARY_MODE_WORKSPACE = 2; + } + + // Copied from: local:agent.v1.SandboxPolicy.Type (var: CFe) + 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: QRl) +message ScreenshotAction { +} + +// Copied from: local:agent.v1.ScrollAction (var: VRl) +message ScrollAction { + optional Coordinate coordinate = 1; + ScrollDirection direction = 2; + int32 amount = 3; + optional string modifier_keys = 4; +} + +// Copied from: local:agent.v1.ScrollDirection (var: UOt) +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: m5l) +message SearchConversationsToolCall { + ConversationSearchArgs args = 1; + ConversationSearchResult result = 2; +} + +// Copied from: local:agent.v1.SelectedAgenticGitAction (var: kBt) +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: A4l) +message SelectedAgenticGitActionBabysitPrInCloudParams { + optional string base_branch = 1; +} + +// Copied from: local:agent.v1.SelectedAgenticGitActionCommitParams (var: wBt) +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: x4l) +message SelectedAgenticGitActionCreateBranchParams { +} + +// Copied from: local:agent.v1.SelectedAgenticGitActionFixMergeConflictsParams (var: T4l) +message SelectedAgenticGitActionFixMergeConflictsParams { + optional string base_branch = 1; + optional string pr_url = 2; +} + +// Copied from: local:agent.v1.SelectedAgenticGitActionPullLocallyParams (var: gTi) +message SelectedAgenticGitActionPullLocallyParams { + string remote_branch = 1; +} + +// Copied from: local:agent.v1.SelectedAgenticGitActionPushParams (var: J1s) +message SelectedAgenticGitActionPushParams { + repeated string files_to_push = 1; + optional bool create_pr_draft = 2; +} + +// Copied from: local:agent.v1.SelectedAgenticGitActionUpdateBranchParams (var: I4l) +message SelectedAgenticGitActionUpdateBranchParams { + optional string base_branch = 1; +} + +// Copied from: local:agent.v1.SelectedAgenticGitFileWithStatus (var: X1s) +message SelectedAgenticGitFileWithStatus { + string path = 1; + optional string status = 2; +} + +// Copied from: local:agent.v1.SelectedBrowser (var: Z1s) +message SelectedBrowser { + string browser_id = 1; + string url = 2; + optional string page_title = 3; +} + +// Copied from: local:agent.v1.SelectedCodeSelection (var: tpt) +message SelectedCodeSelection { + string content = 1; + string path = 2; + optional string relative_path = 3; + Range range = 4; +} + +// Copied from: local:agent.v1.SelectedConsoleLog (var: C4l) +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: Kte) +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: tAe) +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: W1s) +message SelectedCursorRule { + CursorRule rule = 1; +} + +// Copied from: local:agent.v1.SelectedDocument (var: SBt) +message SelectedDocument { + // Copied from: local:agent.v1.SelectedDocument.BlobIdWithData (var: g4l) + 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: q1s) +message SelectedDocumentation { + string doc_id = 1; + string name = 2; +} + +// Copied from: local:agent.v1.SelectedExternalLink (var: j1s) +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: b4l) +message SelectedFile { + string content = 1; + string path = 2; + optional string relative_path = 3; +} + +// Copied from: local:agent.v1.SelectedFolder (var: y4l) +message SelectedFolder { + string path = 1; + optional string relative_path = 2; + LsDirectoryTreeNode directory_tree = 3; +} + +// Copied from: local:agent.v1.SelectedGitBranchContext (var: R4l) +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: z1s) +message SelectedGitCommit { + string sha = 1; + string message = 2; + optional string description = 3; + string diff = 4; +} + +// Copied from: local:agent.v1.SelectedGitDiff (var: H1s) +message SelectedGitDiff { + string content = 1; + int32 full_content_length_char_count = 2; +} + +// Copied from: local:agent.v1.SelectedGitDiffFromBranchToMain (var: mTi) +message SelectedGitDiffFromBranchToMain { + string content = 1; + int32 full_content_length_char_count = 2; +} + +// Copied from: local:agent.v1.SelectedGitPRDiffSelection (var: G1s) +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: yBt) +message SelectedImage { + // Copied from: local:agent.v1.SelectedImage.BlobIdWithData (var: F1s) + message BlobIdWithData { + bytes blob_id = 1; + bytes data = 2; + } + + // Copied from: local:agent.v1.SelectedImage.Dimension (var: B1s) + 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; + PromptUploadRef prompt_upload_ref = 10; + } +} + +// Copied from: local:agent.v1.SelectedPastChat (var: ASn) +message SelectedPastChat { + string agent_id = 1; + string name = 2; +} + +// Copied from: local:agent.v1.SelectedPluginCapabilityRef (var: S4l) +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: O1s) +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: V1s) +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: Y1s) +message SelectedSubagent { + string name = 1; +} + +// Copied from: local:agent.v1.SelectedTerminal (var: _4l) +message SelectedTerminal { + string content = 1; + optional string title = 2; + optional string path = 3; +} + +// Copied from: local:agent.v1.SelectedTerminalSelection (var: $1s) +message SelectedTerminalSelection { + string content = 1; + optional string title = 2; + optional string path = 3; + Range range = 4; +} + +// Copied from: local:agent.v1.SelectedUIElement (var: E4l) +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: TSn) +message SelectedVideo { + // Copied from: local:agent.v1.SelectedVideo.BlobIdWithData (var: f4l) + message BlobIdWithData { + bytes blob_id = 1; + bytes data = 2; + } + + // Copied from: local:agent.v1.SelectedVideo.SignedUrl (var: U1s) + 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: B4l) +message SelfHostedPoolTarget { + optional string pool = 1; + repeated SelfHostedWorkerLabel labels = 2; +} + +// Copied from: local:agent.v1.SelfHostedWorkerLabel (var: U4l) +message SelfHostedWorkerLabel { + string key = 1; + string value = 2; +} + +// Copied from: local:agent.v1.SelfHostedWorkerTarget (var: F4l) +message SelfHostedWorkerTarget { + string worker_id = 1; +} + +// Copied from: local:agent.v1.SemSearchToolArgs (var: B0s) +message SemSearchToolArgs { + string query = 1; + repeated string target_directories = 2; + string explanation = 3; +} + +// Copied from: local:agent.v1.SemSearchToolCall (var: F0s) +message SemSearchToolCall { + SemSearchToolArgs args = 1; + SemSearchToolResult result = 2; +} + +// Copied from: local:agent.v1.SemSearchToolError (var: gFl) +message SemSearchToolError { + string error_message = 1; +} + +// Copied from: local:agent.v1.SemSearchToolResult (var: U0s) +message SemSearchToolResult { + oneof result { + SemSearchToolSuccess success = 1; + SemSearchToolError error = 2; + } +} + +// Copied from: local:agent.v1.SemSearchToolSuccess (var: mFl) +message SemSearchToolSuccess { + string results = 1; + repeated CodeResult code_results = 2; +} + +// Copied from: local:agent.v1.SendAgentHostActionRequest (var: uMn) +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: Hho) +message SendAgentHostActionResponse { + string turn_id = 1; +} + +// Copied from: local:agent.v1.SendAgentHostMessageRequest (var: OGd) +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: FGd) +message SendAgentHostMessageResponse { + string turn_id = 1; +} + +// Copied from: local:agent.v1.SendFinalSummaryArgs (var: FBl) +message SendFinalSummaryArgs { + optional string final_summary = 1; +} + +// Copied from: local:agent.v1.SendFinalSummaryError (var: UBl) +message SendFinalSummaryError { + string error = 1; +} + +// Copied from: local:agent.v1.SendFinalSummaryResult (var: $Bl) +message SendFinalSummaryResult { + oneof result { + SendFinalSummarySuccess success = 1; + SendFinalSummaryError error = 2; + } +} + +// Copied from: local:agent.v1.SendFinalSummarySuccess (var: BBl) +message SendFinalSummarySuccess { + string final_summary = 1; +} + +// Copied from: local:agent.v1.SendFinalSummaryToolCall (var: jBl) +message SendFinalSummaryToolCall { + SendFinalSummaryArgs args = 1; + SendFinalSummaryResult result = 2; +} + +// Copied from: local:agent.v1.SendInputRequest (var: fcv) +message SendInputRequest { + string pty_id = 1; + bytes data = 2; +} + +// Copied from: local:agent.v1.SendInputResponse (var: vcv) +message SendInputResponse { + bool success = 1; +} + +// Copied from: local:agent.v1.SendMessageArgs (var: m3l) +message SendMessageArgs { + oneof message { + SendMessageText text = 1; + SendMessageAttachment attachment = 2; + } +} + +// Copied from: local:agent.v1.SendMessageAttachment (var: p3l) +message SendMessageAttachment { + string url = 1; + optional string alt = 2; +} + +// Copied from: local:agent.v1.SendMessageError (var: f3l) +message SendMessageError { + string error = 1; +} + +// Copied from: local:agent.v1.SendMessageResult (var: v3l) +message SendMessageResult { + oneof result { + SendMessageSuccess success = 1; + SendMessageError error = 2; + } +} + +// Copied from: local:agent.v1.SendMessageSuccess (var: g3l) +message SendMessageSuccess { + uint64 timestamp = 1; + string message_id = 2; +} + +// Copied from: local:agent.v1.SendMessageText (var: h3l) +message SendMessageText { + string content = 1; +} + +// Copied from: local:agent.v1.SendMessageToolCall (var: b3l) +message SendMessageToolCall { + SendMessageArgs args = 1; + SendMessageResult result = 2; +} + +// Copied from: local:agent.v1.SendToAgentArgs (var: D5l) +message SendToAgentArgs { + string tool_call_id = 1; + string agent_id = 2; + string message = 3; + string delivery = 4; + string title = 5; +} + +// Copied from: local:agent.v1.SendToAgentError (var: P5l) +message SendToAgentError { + string error = 1; +} + +// Copied from: local:agent.v1.SendToAgentResult (var: L5l) +message SendToAgentResult { + oneof result { + SendToAgentSuccess success = 1; + SendToAgentError error = 2; + } +} + +// Copied from: local:agent.v1.SendToAgentSuccess (var: M5l) +message SendToAgentSuccess { + string worker_bc_id = 1; + string delivered_as = 2; + string message = 3; +} + +// Copied from: local:agent.v1.SendToAgentToolCall (var: N5l) +message SendToAgentToolCall { + SendToAgentArgs args = 1; + SendToAgentResult result = 2; +} + +// Copied from: local:agent.v1.SendToUserArgs (var: C3l) +message SendToUserArgs { + string message = 1; +} + +// Copied from: local:agent.v1.SendToUserError (var: x3l) +message SendToUserError { + string error = 1; +} + +// Copied from: local:agent.v1.SendToUserResult (var: T3l) +message SendToUserResult { + oneof result { + SendToUserSuccess success = 1; + SendToUserError error = 2; + } +} + +// Copied from: local:agent.v1.SendToUserSuccess (var: E3l) +message SendToUserSuccess { +} + +// Copied from: local:agent.v1.SendToUserToolCall (var: A3l) +message SendToUserToolCall { + SendToUserArgs args = 1; + SendToUserResult result = 2; +} + +// Copied from: local:agent.v1.SessionParent (var: Ysv) +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: j4l) +message SetActiveBranchArgs { + string path = 1; + string branch_name = 2; +} + +// Copied from: local:agent.v1.SetActiveBranchError (var: H4l) +message SetActiveBranchError { + string error = 1; +} + +// Copied from: local:agent.v1.SetActiveBranchResult (var: z4l) +message SetActiveBranchResult { + oneof result { + SetActiveBranchSuccess success = 1; + SetActiveBranchError error = 2; + } +} + +// Copied from: local:agent.v1.SetActiveBranchSuccess (var: W4l) +message SetActiveBranchSuccess { +} + +// Copied from: local:agent.v1.SetActiveBranchToolCall (var: V4l) +message SetActiveBranchToolCall { + SetActiveBranchArgs args = 1; + SetActiveBranchResult result = 2; +} + +// Copied from: local:agent.v1.SetBlobArgs (var: s8l) +message SetBlobArgs { + bytes blob_id = 1; + bytes blob_data = 2; +} + +// Copied from: local:agent.v1.SetBlobResult (var: o8l) +message SetBlobResult { + optional Error error = 1; +} + +// Copied from: local:agent.v1.SetPrStatusAction (var: oBl) +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: i1s) +message SetupVmEnvironmentArgs { + string install_command = 2; + string start_command = 3; + string dockerfile_contents = 4; +} + +// Copied from: local:agent.v1.SetupVmEnvironmentResult (var: _Sn) +message SetupVmEnvironmentResult { + oneof result { + SetupVmEnvironmentSuccess success = 1; + } +} + +// Copied from: local:agent.v1.SetupVmEnvironmentSuccess (var: qxi) +message SetupVmEnvironmentSuccess { +} + +// Copied from: local:agent.v1.SetupVmEnvironmentToolCall (var: UFl) +message SetupVmEnvironmentToolCall { + SetupVmEnvironmentArgs args = 1; + SetupVmEnvironmentResult result = 2; +} + +// Copied from: local:agent.v1.ShellAbortReason (var: Hgs) +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: lUl) +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: uUl) +message ShellAllowlistPrecheckResult { + bool allowlisted = 1; +} + +// Copied from: local:agent.v1.ShellArgs (var: ZVe) +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: h_n) +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: _Es) +message ShellCommand { + string command = 1; +} + +// Copied from: local:agent.v1.ShellCommandAction (var: f9l) +message ShellCommandAction { + ShellCommand shell_command = 1; + string exec_id = 2; +} + +// Copied from: local:agent.v1.ShellCommandParsingResult (var: iht) +message ShellCommandParsingResult { + // Copied from: local:agent.v1.ShellCommandParsingResult.ExecutableCommand (var: s0i) + message ExecutableCommand { + string name = 1; + repeated ShellCommandParsingResult.ExecutableCommandArg args = 2; + string full_text = 3; + } + + // Copied from: local:agent.v1.ShellCommandParsingResult.ExecutableCommandArg (var: zgs) + message ExecutableCommandArg { + string type = 1; + string value = 2; + } + + // Copied from: local:agent.v1.ShellCommandParsingResult.Redirect (var: Vgs) + 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: Sa) +message ShellConversationTurn { + ShellCommand shell_command = 1; + ShellOutput shell_output = 2; +} + +// Copied from: local:agent.v1.ShellConversationTurnStructure (var: k9l) +message ShellConversationTurnStructure { + bytes shell_command = 1; + bytes shell_output = 2; +} + +// Copied from: local:agent.v1.ShellFailure (var: l0i) +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: Kgs) +message ShellHookApprovalRequirement { + // Copied from: local:agent.v1.ShellHookApprovalRequirement.Kind (var: rAl) + enum Kind { + KIND_UNSPECIFIED = 0; + KIND_FORCE_PROMPT = 1; + } + + Kind kind = 1; + optional string reason = 2; +} + +// Copied from: local:agent.v1.ShellOutput (var: y9l) +message ShellOutput { + string stdout = 1; + string stderr = 2; + int32 exit_code = 3; +} + +// Copied from: local:agent.v1.ShellOutputDeltaUpdate (var: PEs) +message ShellOutputDeltaUpdate { + oneof event { + ShellStreamStdout stdout = 1; + ShellStreamStderr stderr = 2; + ShellStreamExit exit = 3; + ShellStreamStart start = 4; + } +} + +// Copied from: local:agent.v1.ShellOutputNotificationConfig (var: Ggs) +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: u0i) +message ShellPermissionDenied { + string command = 1; + string working_directory = 2; + string error = 3; + bool is_readonly = 4; +} + +// Copied from: local:agent.v1.ShellRejected (var: rht) +message ShellRejected { + string command = 1; + string working_directory = 2; + string reason = 3; + bool is_readonly = 4; +} + +// Copied from: local:agent.v1.ShellResult (var: vH) +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: Ygs) +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: m_n) +message ShellSpawnError { + string command = 1; + string working_directory = 2; + string error = 3; +} + +// Copied from: local:agent.v1.ShellStream (var: Zgs) +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: sAl) +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: c0i) +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: oAl) +message ShellStreamHookContext { + repeated HookAdditionalContext hook_additional_contexts = 1; +} + +// Copied from: local:agent.v1.ShellStreamStart (var: Qgs) +message ShellStreamStart { + optional SandboxPolicy sandbox_policy = 1; +} + +// Copied from: local:agent.v1.ShellStreamStderr (var: a0i) +message ShellStreamStderr { + string data = 1; +} + +// Copied from: local:agent.v1.ShellStreamStdout (var: o0i) +message ShellStreamStdout { + string data = 1; +} + +// Copied from: local:agent.v1.ShellSuccess (var: MOt) +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: aAl) +message ShellTimeout { + string command = 1; + string working_directory = 2; + int32 timeout_ms = 3; +} + +// Copied from: local:agent.v1.ShellToolCall (var: Upe) +message ShellToolCall { + ShellArgs args = 1; + ShellResult result = 2; + optional string description = 3; +} + +// Copied from: local:agent.v1.ShellToolCallDelta (var: mOl) +message ShellToolCallDelta { + oneof delta { + ShellToolCallStdoutDelta stdout = 1; + ShellToolCallStderrDelta stderr = 2; + } +} + +// Copied from: local:agent.v1.ShellToolCallStderrDelta (var: pOl) +message ShellToolCallStderrDelta { + string content = 1; +} + +// Copied from: local:agent.v1.ShellToolCallStdoutDelta (var: hOl) +message ShellToolCallStdoutDelta { + string content = 1; +} + +// Copied from: local:agent.v1.SimulatedMsgReason (var: cd) +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; + SIMULATED_MSG_REASON_MARKDOWN_PROMPT_BUTTON = 33; + SIMULATED_MSG_REASON_USER_QUICK_ACTION = 34; +} + +// Copied from: local:agent.v1.SkillDescriptor (var: a4l) +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: pTi) +message SkillOptions { + repeated SkillDescriptor skill_descriptors = 1; +} + +// Copied from: local:agent.v1.SmartModeApproval (var: DOt) +message SmartModeApproval { + string request_id = 1; + string reason = 2; +} + +// Copied from: local:agent.v1.SmartModeClassifierArgs (var: GTs) +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: tUl) +message SmartModeClassifierConversationMessage { + string role = 1; + string content = 2; +} + +// Copied from: local:agent.v1.SmartModeClassifierDecision (var: eUl) +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: rUl) +message SmartModeClassifierError { + string error = 1; +} + +// Copied from: local:agent.v1.SmartModeClassifierResult (var: qTs) +message SmartModeClassifierResult { + oneof result { + SmartModeClassifierSuccess success = 1; + SmartModeClassifierError error = 2; + } +} + +// Copied from: local:agent.v1.SmartModeClassifierSuccess (var: iUl) +message SmartModeClassifierSuccess { + SmartModeClassifierDecision decision = 1; + optional string block_reason = 2; + optional string proposed_allow_rule = 3; +} + +// Copied from: local:agent.v1.SmartModeRiskTarget (var: nUl) +message SmartModeRiskTarget { + string action = 1; + google.protobuf.Struct arguments = 2; +} + +// Copied from: local:agent.v1.SpanContext (var: VSn) +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: ucv) +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: dcv) +message SpawnPtyResponse { + string pty_id = 1; +} + +// Copied from: local:agent.v1.SpeedupSelection (var: Yn) +message SpeedupSelection { + int32 candidate_index = 1; + optional float speed_override = 2; +} + +// Copied from: local:agent.v1.StackTrace (var: k4l) +message StackTrace { + repeated CallFrame call_frames = 1; + optional string raw_stack_trace = 2; +} + +// Copied from: local:agent.v1.StartGrindExecutionArgs (var: $Fl) +message StartGrindExecutionArgs { + optional string explanation = 1; + string tool_call_id = 2; +} + +// Copied from: local:agent.v1.StartGrindExecutionError (var: HFl) +message StartGrindExecutionError { + string error = 1; +} + +// Copied from: local:agent.v1.StartGrindExecutionResult (var: jFl) +message StartGrindExecutionResult { + oneof result { + StartGrindExecutionSuccess success = 1; + StartGrindExecutionError error = 2; + } +} + +// Copied from: local:agent.v1.StartGrindExecutionSuccess (var: WFl) +message StartGrindExecutionSuccess { +} + +// Copied from: local:agent.v1.StartGrindExecutionToolCall (var: zFl) +message StartGrindExecutionToolCall { + StartGrindExecutionArgs args = 1; + StartGrindExecutionResult result = 2; +} + +// Copied from: local:agent.v1.StartGrindPlanningArgs (var: VFl) +message StartGrindPlanningArgs { + optional string explanation = 1; + string tool_call_id = 2; +} + +// Copied from: local:agent.v1.StartGrindPlanningError (var: KFl) +message StartGrindPlanningError { + string error = 1; +} + +// Copied from: local:agent.v1.StartGrindPlanningResult (var: GFl) +message StartGrindPlanningResult { + oneof result { + StartGrindPlanningSuccess success = 1; + StartGrindPlanningError error = 2; + } +} + +// Copied from: local:agent.v1.StartGrindPlanningSuccess (var: qFl) +message StartGrindPlanningSuccess { +} + +// Copied from: local:agent.v1.StartGrindPlanningToolCall (var: QFl) +message StartGrindPlanningToolCall { + StartGrindPlanningArgs args = 1; + StartGrindPlanningResult result = 2; +} + +// Copied from: local:agent.v1.StartPlanAction (var: v9l) +message StartPlanAction { + UserMessage user_message = 1; + RequestContext request_context = 2; + bool is_spec = 3; +} + +// Copied from: local:agent.v1.StderrEvent (var: Wov) +message StderrEvent { + string data = 1; +} + +// Copied from: local:agent.v1.StdoutEvent (var: jov) +message StdoutEvent { + string data = 1; +} + +// Copied from: local:agent.v1.StepCompletedUpdate (var: NEs) +message StepCompletedUpdate { + uint64 step_id = 1; + int64 step_duration_ms = 2; +} + +// Copied from: local:agent.v1.StepStartedUpdate (var: LEs) +message StepStartedUpdate { + uint64 step_id = 1; +} + +// Copied from: local:agent.v1.StepTiming (var: D9l) +message StepTiming { + uint64 duration_ms = 1; + uint64 timestamp_ms = 2; +} + +// Copied from: local:agent.v1.StopAgentArgs (var: G5l) +message StopAgentArgs { + string tool_call_id = 1; + string agent_id = 2; +} + +// Copied from: local:agent.v1.StopAgentError (var: K5l) +message StopAgentError { + string error = 1; +} + +// Copied from: local:agent.v1.StopAgentResult (var: Q5l) +message StopAgentResult { + oneof result { + StopAgentSuccess success = 1; + StopAgentError error = 2; + } +} + +// Copied from: local:agent.v1.StopAgentSuccess (var: q5l) +message StopAgentSuccess { + string worker_bc_id = 1; + string message = 2; +} + +// Copied from: local:agent.v1.StopAgentToolCall (var: Y5l) +message StopAgentToolCall { + StopAgentArgs args = 1; + StopAgentResult result = 2; +} + +// Copied from: local:agent.v1.StopRequestQuery (var: r6l) +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: s6l) +message StopRequestResponse { + optional string followup_message = 1; +} + +// Copied from: local:agent.v1.SubagentArgs (var: HSn) +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; + repeated RequestedModel.ModelParameterValue model_parameters = 21; + oneof credentials { + ApiKeyCredentials api_key_credentials = 10; + AzureCredentials azure_credentials = 11; + BedrockCredentials bedrock_credentials = 12; + } +} + +// Copied from: local:agent.v1.SubagentAwaitArgs (var: WTs) +message SubagentAwaitArgs { + string agent_id = 1; + uint32 timeout_ms = 2; +} + +// Copied from: local:agent.v1.SubagentAwaitComplete (var: HTs) +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: zSn) +message SubagentAwaitError { + optional string agent_id = 1; + string error = 2; +} + +// Copied from: local:agent.v1.SubagentAwaitNotFound (var: VTs) +message SubagentAwaitNotFound { + string agent_id = 1; +} + +// Copied from: local:agent.v1.SubagentAwaitResult (var: DGe) +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: zTs) +message SubagentAwaitStillRunning { + string agent_id = 1; + optional string transcript_path = 2; +} + +// Copied from: local:agent.v1.SubagentBackgroundReason (var: wSe) +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: ou) +message SubagentCredentials { + oneof credentials { + ApiKeyCredentials api_key_credentials = 1; + AzureCredentials azure_credentials = 2; + BedrockCredentials bedrock_credentials = 3; + } +} + +// Copied from: local:agent.v1.SubagentError (var: $Bt) +message SubagentError { + optional string agent_id = 1; + string error = 2; +} + +// Copied from: local:agent.v1.SubagentExecutionEnvironment (var: Wpe) +enum SubagentExecutionEnvironment { + SUBAGENT_EXECUTION_ENVIRONMENT_UNSPECIFIED = 0; + SUBAGENT_EXECUTION_ENVIRONMENT_LOCAL = 1; + SUBAGENT_EXECUTION_ENVIRONMENT_CLOUD = 2; +} + +// Copied from: local:agent.v1.SubagentInteractionPolicy (var: Gsv) +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: LSn) +message SubagentModelOverride { + string subagent_type = 1; + oneof selection { + RequestedModel model = 2; + bool inherit = 3; + bool disabled = 4; + } +} + +// Copied from: local:agent.v1.SubagentPersistedState (var: apt) +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: RGe) +message SubagentResult { + oneof result { + SubagentSuccess success = 1; + SubagentError error = 2; + } +} + +// Copied from: local:agent.v1.SubagentRunState (var: oEs) +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: kP) +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: q9l) +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: K9l) +message SubagentStartRequestResponse { + optional string permission = 1; + optional string user_message = 2; + optional string additional_context = 3; +} + +// Copied from: local:agent.v1.SubagentStopRequestQuery (var: Q9l) +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: Y9l) +message SubagentStopRequestResponse { + optional string followup_message = 1; + optional string additional_context = 2; +} + +// Copied from: local:agent.v1.SubagentSuccess (var: rAi) +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: C8) +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: Ifs) +message SubagentTypeBash { +} + +// Copied from: local:agent.v1.SubagentTypeBrowserUse (var: Rfs) +message SubagentTypeBrowserUse { +} + +// Copied from: local:agent.v1.SubagentTypeComputerUse (var: b0i) +message SubagentTypeComputerUse { +} + +// Copied from: local:agent.v1.SubagentTypeCursorGuide (var: NRl) +message SubagentTypeCursorGuide { +} + +// Copied from: local:agent.v1.SubagentTypeCustom (var: w0i) +message SubagentTypeCustom { + string name = 1; +} + +// Copied from: local:agent.v1.SubagentTypeDebug (var: S0i) +message SubagentTypeDebug { +} + +// Copied from: local:agent.v1.SubagentTypeExplore (var: _0i) +message SubagentTypeExplore { +} + +// Copied from: local:agent.v1.SubagentTypeMediaReview (var: Afs) +message SubagentTypeMediaReview { +} + +// Copied from: local:agent.v1.SubagentTypeShell (var: y0i) +message SubagentTypeShell { +} + +// Copied from: local:agent.v1.SubagentTypeUnspecified (var: Tfs) +message SubagentTypeUnspecified { +} + +// Copied from: local:agent.v1.SubagentTypeVmSetupHelper (var: Dfs) +message SubagentTypeVmSetupHelper { +} + +// Copied from: local:agent.v1.SubagentTypeWatchVideo (var: Mfs) +message SubagentTypeWatchVideo { +} + +// Copied from: local:agent.v1.SubmittedCustomMode (var: kTi) +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: ETi) +message SubmittedExitedCustomMode { + string id = 1; + string label = 2; +} + +// Copied from: local:agent.v1.SubscriptionEventDisplay (var: gEs) +message SubscriptionEventDisplay { + optional string display_label = 1; + optional string resource_url = 2; + optional string subscription_id = 3; +} + +// Copied from: local:agent.v1.SubscriptionNotificationAction (var: c9l) +message SubscriptionNotificationAction { + repeated UserMessage notifications = 1; + RequestContext request_context = 2; + optional bool send_to_interaction_listener = 3; +} + +// Copied from: local:agent.v1.SubscriptionSource (var: GB) +enum SubscriptionSource { + SUBSCRIPTION_SOURCE_UNSPECIFIED = 0; + SUBSCRIPTION_SOURCE_SLACK = 1; + SUBSCRIPTION_SOURCE_GITHUB = 2; + SUBSCRIPTION_SOURCE_LINEAR = 3; + SUBSCRIPTION_SOURCE_ORIGIN = 4; +} + +// Copied from: local:agent.v1.SummarizeAction (var: mEs) +message SummarizeAction { +} + +// Copied from: local:agent.v1.SummaryCompletedUpdate (var: MEs) +message SummaryCompletedUpdate { + optional string hook_message = 1; + optional bool failed = 2; +} + +// Copied from: local:agent.v1.SummaryStartedUpdate (var: DEs) +message SummaryStartedUpdate { +} + +// Copied from: local:agent.v1.SummaryUpdate (var: REs) +message SummaryUpdate { + string summary = 1; +} + +// Copied from: local:agent.v1.SwitchModeArgs (var: fSn) +message SwitchModeArgs { + string target_mode_id = 1; + optional string explanation = 2; + string tool_call_id = 3; +} + +// Copied from: local:agent.v1.SwitchModeError (var: RFl) +message SwitchModeError { + string error = 1; +} + +// Copied from: local:agent.v1.SwitchModeRejected (var: DFl) +message SwitchModeRejected { + string reason = 1; +} + +// Copied from: local:agent.v1.SwitchModeRequestQuery (var: e1s) +message SwitchModeRequestQuery { + SwitchModeArgs args = 1; +} + +// Copied from: local:agent.v1.SwitchModeRequestResponse (var: bSe) +message SwitchModeRequestResponse { + // Copied from: local:agent.v1.SwitchModeRequestResponse.Approved (var: vSn) + message Approved { + } + + // Copied from: local:agent.v1.SwitchModeRequestResponse.Rejected (var: kGe) + message Rejected { + string reason = 1; + } + + oneof result { + Approved approved = 1; + Rejected rejected = 2; + } +} + +// Copied from: local:agent.v1.SwitchModeResult (var: X0s) +message SwitchModeResult { + oneof result { + SwitchModeSuccess success = 1; + SwitchModeError error = 2; + SwitchModeRejected rejected = 3; + } +} + +// Copied from: local:agent.v1.SwitchModeSuccess (var: IFl) +message SwitchModeSuccess { + string from_mode_id = 1; + string to_mode_id = 2; +} + +// Copied from: local:agent.v1.SwitchModeToolCall (var: J0s) +message SwitchModeToolCall { + SwitchModeArgs args = 1; + SwitchModeResult result = 2; +} + +// Copied from: aiserver.v1.SwitchModelAction (var: o_c) +message SwitchModelAction { + // Copied from: aiserver.v1.SwitchModelAction.ModelParameterValue (var: a_c) + message ModelParameterValue { + string id = 1; + string value = 2; + } + + optional string suggested_model = 1; + repeated ModelParameterValue parameters = 2; + optional bool max_mode = 3; +} + +// Copied from: local:agent.v1.SystemContextInjection (var: l9l) +message SystemContextInjection { + string producer = 1; + string content = 2; +} + +// Copied from: local:agent.v1.SystemPromptSpec (var: uTi) +message SystemPromptSpec { + oneof spec { + string replace = 1; + string append = 2; + } +} + +// Copied from: local:agent.v1.TargetMachine (var: rEs) +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: TBt) +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: RSn) +message TaskError { + string error = 1; +} + +// Copied from: local:agent.v1.TaskMode (var: __n) +enum TaskMode { + TASK_MODE_UNSPECIFIED = 0; + TASK_MODE_AGENT = 1; + TASK_MODE_PLAN = 2; +} + +// Copied from: local:agent.v1.TaskResult (var: Hpe) +message TaskResult { + oneof result { + TaskSuccess success = 1; + TaskError error = 2; + } +} + +// Copied from: local:agent.v1.TaskSuccess (var: ipt) +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: rpt) +message TaskToolCall { + TaskArgs args = 1; + TaskResult result = 2; + optional string cloud_agent_bc_id = 3; +} + +// Copied from: local:agent.v1.TaskToolCallArgsProto (var: su) +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; + optional bool interrupt = 13; +} + +// Copied from: local:agent.v1.TaskToolCallDelta (var: $4l) +message TaskToolCallDelta { + InteractionUpdate interaction_update = 1; +} + +// Copied from: local:agent.v1.TerminalMetadata (var: k0i) +message TerminalMetadata { + // Copied from: local:agent.v1.TerminalMetadata.Command (var: S_n) + 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: kcv) +message TerminatePtyRequest { + string pty_id = 1; +} + +// Copied from: local:agent.v1.TerminatePtyResponse (var: Ccv) +message TerminatePtyResponse { + bool success = 1; +} + +// Copied from: local:agent.v1.TextDeltaUpdate (var: RBt) +message TextDeltaUpdate { + string text = 1; + bool is_server_notice = 2; +} + +// Copied from: local:agent.v1.ThinkingCompletedUpdate (var: MTi) +message ThinkingCompletedUpdate { + int32 thinking_duration_ms = 1; +} + +// Copied from: local:agent.v1.ThinkingDeltaUpdate (var: DTi) +message ThinkingDeltaUpdate { + string text = 1; + optional ThinkingStyle thinking_style = 2; +} + +// Copied from: local:agent.v1.ThinkingDetails (var: L9l) +message ThinkingDetails { +} + +// Copied from: local:agent.v1.ThinkingMessage (var: bEs) +message ThinkingMessage { + string text = 1; + uint32 duration_ms = 2; +} + +// Copied from: local:agent.v1.ThinkingStyle (var: xBt) +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: eAl) +enum TimeoutBehavior { + TIMEOUT_BEHAVIOR_UNSPECIFIED = 0; + TIMEOUT_BEHAVIOR_CANCEL = 1; + TIMEOUT_BEHAVIOR_BACKGROUND = 2; +} + +// Copied from: local:agent.v1.TmuxSession (var: epo) +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: eqd) +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: JTe) +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: VB) +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: IEs) +message TokenDeltaUpdate { + int32 tokens = 1; +} + +// Copied from: local:agent.v1.ToolCall (var: Bb) +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; + AdoptToolCall adopt_tool_call = 72; + GetAgentStatusToolCall get_agent_status_tool_call = 73; + SendToAgentToolCall send_to_agent_tool_call = 74; + ReadAgentTranscriptToolCall read_agent_transcript_tool_call = 75; + CreateAgentToolCall create_agent_tool_call = 76; + StopAgentToolCall stop_agent_tool_call = 77; + GetPrCodeTourToolCall get_pr_code_tour_tool_call = 78; + } +} + +// Copied from: local:agent.v1.ToolCallCompletedUpdate (var: cpt) +message ToolCallCompletedUpdate { + string call_id = 1; + ToolCall tool_call = 2; + string model_call_id = 3; +} + +// Copied from: local:agent.v1.ToolCallDelta (var: vTi) +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: AEs) +message ToolCallDeltaUpdate { + string call_id = 1; + ToolCallDelta tool_call_delta = 2; + string model_call_id = 3; +} + +// Copied from: local:agent.v1.ToolCallStartedUpdate (var: DBt) +message ToolCallStartedUpdate { + string call_id = 1; + ToolCall tool_call = 2; + string model_call_id = 3; +} + +// Copied from: local:agent.v1.TrackedGitRepo (var: P9l) +message TrackedGitRepo { + string repo_path = 1; + string branch_name = 2; +} + +// Copied from: local:agent.v1.TriggeringUserInfo (var: bTi) +message TriggeringUserInfo { + optional string auth_id = 1; + optional int32 user_id = 2; +} + +// Copied from: local:agent.v1.TruncatedToolCall (var: Y4l) +message TruncatedToolCall { + bytes original_step_blob_id = 1; + TruncatedToolCallArgs args = 2; + TruncatedToolCallResult result = 3; +} + +// Copied from: local:agent.v1.TruncatedToolCallArgs (var: G4l) +message TruncatedToolCallArgs { +} + +// Copied from: local:agent.v1.TruncatedToolCallError (var: K4l) +message TruncatedToolCallError { + string error = 1; +} + +// Copied from: local:agent.v1.TruncatedToolCallResult (var: Q4l) +message TruncatedToolCallResult { + oneof result { + TruncatedToolCallSuccess success = 1; + TruncatedToolCallError error = 2; + } +} + +// Copied from: local:agent.v1.TruncatedToolCallSuccess (var: q4l) +message TruncatedToolCallSuccess { +} + +// Copied from: local:agent.v1.TtftBreakdown (var: u8l) +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: LTi) +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: GRl) +message TypeAction { + string text = 1; +} + +// Copied from: local:agent.v1.UpdateConversationMetadataRequest (var: nAs) +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: d8l) +message UpdateConversationMetadataResponse { +} + +// Copied from: local:agent.v1.UpdateEnvironmentVariablesRequest (var: Pav) +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: Nav) +message UpdateEnvironmentVariablesResponse { + uint32 applied = 1; + uint32 removed = 2; +} + +// Copied from: local:agent.v1.UpdateGoalArgs (var: _5l) +message UpdateGoalArgs { + GoalStatus status = 1; +} + +// Copied from: local:agent.v1.UpdateGoalResult (var: S5l) +message UpdateGoalResult { + oneof result { + UpdateGoalSuccess success = 1; + GoalError error = 2; + } +} + +// Copied from: local:agent.v1.UpdateGoalSuccess (var: y5l) +message UpdateGoalSuccess { + GoalStatus status = 1; +} + +// Copied from: local:agent.v1.UpdateGoalToolCall (var: w5l) +message UpdateGoalToolCall { + UpdateGoalArgs args = 1; + UpdateGoalResult result = 2; +} + +// Copied from: local:agent.v1.UpdatePrAction (var: nBl) +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: HBl) +message UpdatePrCodeTourArgs { + string feedback = 1; + string tool_call_id = 2; + optional string base_sha = 3; + optional string head_sha = 4; + optional string source_revision_id = 5; + optional string revision_id = 6; + optional string markdown = 7; + optional string heading = 8; + optional string artifact_path = 9; + optional string artifact_alt = 10; + repeated string scope_commit_hashes = 11; + optional string explicit_user_prompt = 12; +} + +// Copied from: local:agent.v1.UpdatePrCodeTourError (var: GBl) +message UpdatePrCodeTourError { + string error = 1; +} + +// Copied from: local:agent.v1.UpdatePrCodeTourExecutionMode (var: WBl) +enum UpdatePrCodeTourExecutionMode { + UPDATE_PR_CODE_TOUR_EXECUTION_MODE_UNSPECIFIED = 0; + UPDATE_PR_CODE_TOUR_EXECUTION_MODE_SERVER_SCHEDULED = 1; + UPDATE_PR_CODE_TOUR_EXECUTION_MODE_CLIENT_REQUIRED = 2; + UPDATE_PR_CODE_TOUR_EXECUTION_MODE_SKIPPED = 3; + UPDATE_PR_CODE_TOUR_EXECUTION_MODE_EDITED = 4; +} + +// Copied from: local:agent.v1.UpdatePrCodeTourResult (var: zBl) +message UpdatePrCodeTourResult { + oneof result { + UpdatePrCodeTourSuccess success = 1; + UpdatePrCodeTourError error = 2; + } +} + +// Copied from: local:agent.v1.UpdatePrCodeTourSuccess (var: VBl) +message UpdatePrCodeTourSuccess { + string revision_id = 1; + string message = 2; + UpdatePrCodeTourExecutionMode execution_mode = 3; +} + +// Copied from: local:agent.v1.UpdatePrCodeTourToolCall (var: qBl) +message UpdatePrCodeTourToolCall { + UpdatePrCodeTourArgs args = 1; + UpdatePrCodeTourResult result = 2; +} + +// Copied from: local:agent.v1.UpdateTodosArgs (var: S0s) +message UpdateTodosArgs { + repeated TodoItem todos = 1; + bool merge = 2; +} + +// Copied from: local:agent.v1.UpdateTodosError (var: ROl) +message UpdateTodosError { + string error = 1; +} + +// Copied from: local:agent.v1.UpdateTodosResult (var: w0s) +message UpdateTodosResult { + oneof result { + UpdateTodosSuccess success = 1; + UpdateTodosError error = 2; + } +} + +// Copied from: local:agent.v1.UpdateTodosSuccess (var: k0s) +message UpdateTodosSuccess { + repeated TodoItem todos = 1; + int32 total_count = 2; + bool was_merge = 3; +} + +// Copied from: local:agent.v1.UpdateTodosToolCall (var: y0s) +message UpdateTodosToolCall { + UpdateTodosArgs args = 1; + UpdateTodosResult result = 2; +} + +// Copied from: aiserver.v1.UpgradeAction (var: s_c) +message UpgradeAction { + string membership_to_upgrade_to = 1; + optional bool try_immediate_upgrade = 2; + optional bool allow_trial = 3; +} + +// Copied from: aiserver.v1.UpgradeChoice (var: r_c) +message UpgradeChoice { +} + +// Copied from: local:agent.v1.UploadArtifactsRequest (var: _av) +message UploadArtifactsRequest { + repeated ArtifactUploadInstruction uploads = 1; + bool wait_for_completion = 2; +} + +// Copied from: local:agent.v1.UploadArtifactsResponse (var: wav) +message UploadArtifactsResponse { + repeated ArtifactUploadDispatchResult results = 1; +} + +// Copied from: local:agent.v1.UploadConversationBlobsRequest (var: hAs) +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: f8l) +message UploadConversationBlobsResponse { +} + +// Copied from: local:agent.v1.UploadLocalAgentRunToPromptQualityRequest (var: mAs) +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: v8l) +message UploadLocalAgentRunToPromptQualityResponse { + string request_id = 1; + string primary_invocation_id = 2; +} + +// Copied from: aiserver.v1.UrlAction (var: l_c) +message UrlAction { + string url = 1; +} + +// Copied from: local:agent.v1.UserContextInjection (var: wTi) +message UserContextInjection { + UserMessage user_message = 1; + RequestContext request_context = 2; +} + +// Copied from: local:agent.v1.UserDisplayInfo (var: ATi) +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: I) +message UserGitContext { + optional string username = 1; + optional string email = 2; +} + +// Copied from: local:agent.v1.UserMessage (var: Pk) +message UserMessage { + // Copied from: local:agent.v1.UserMessage.SimulatedMessageMetadata (var: _9l) + 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; + optional bool turn_steer = 24; +} + +// Copied from: local:agent.v1.UserMessageAction (var: zpe) +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: NTi) +message UserMessageAppendedUpdate { + UserMessage user_message = 1; +} + +// Copied from: local:agent.v1.VideoCut (var: $n) +message VideoCut { + int64 start_ms = 1; + int64 end_ms = 2; + string reason = 3; +} + +// Copied from: local:agent.v1.WaitAction (var: KRl) +message WaitAction { + int32 duration_ms = 1; +} + +// Copied from: local:agent.v1.WarmRemoteAccessServerRequest (var: pav) +message WarmRemoteAccessServerRequest { + string commit = 1; + int32 port = 2; + string connection_token = 3; +} + +// Copied from: local:agent.v1.WarmRemoteAccessServerResponse (var: mav) +message WarmRemoteAccessServerResponse { +} + +// Copied from: local:agent.v1.WatchAgentHostSessionBackgroundWorkEvent (var: Qho) +message WatchAgentHostSessionBackgroundWorkEvent { + oneof event { + AgentHostSessionBackgroundWorkSnapshot snapshot = 1; + AgentHostSessionBackgroundWorkState state = 2; + } +} + +// Copied from: local:agent.v1.WatchAgentHostSessionBackgroundWorkRequest (var: Kho) +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: qho) +message WatchAgentHostSessionInteractionsEvent { + oneof event { + AgentHostSessionInteractionsSnapshot snapshot = 1; + AgentHostSessionInteractionsState state = 2; + } +} + +// Copied from: local:agent.v1.WatchAgentHostSessionInteractionsRequest (var: Gho) +message WatchAgentHostSessionInteractionsRequest { + string session_id = 1; +} + +// Copied from: local:agent.v1.WatchAgentHostSessionTurnLifecycleEvent (var: Zho) +message WatchAgentHostSessionTurnLifecycleEvent { + oneof event { + AgentHostTurnLifecycleWatchReady ready = 1; + AgentHostTurnLifecycle lifecycle = 2; + } +} + +// Copied from: local:agent.v1.WatchAgentHostSessionTurnLifecycleRequest (var: Yho) +message WatchAgentHostSessionTurnLifecycleRequest { + string session_id = 1; +} + +// Copied from: local:agent.v1.WatchAgentHostSessionsEvent (var: n_t) +message WatchAgentHostSessionsEvent { + oneof event { + AgentHostSessionsSnapshot snapshot = 1; + AgentHostSessionAdded added = 2; + AgentHostSessionUpdated updated = 3; + AgentHostSessionDeleted deleted = 4; + } +} + +// Copied from: local:agent.v1.WatchAgentHostSessionsRequest (var: jho) +message WatchAgentHostSessionsRequest { +} + +// Copied from: local:agent.v1.WatchStatusResponse (var: qav) +message WatchStatusResponse { + string worker_id = 1; + PrivateWorkerStatus status = 2; + bool connected = 3; + bool claimed = 4; +} + +// Copied from: local:agent.v1.WebFetchAllowlistPrecheckArgs (var: gUl) +message WebFetchAllowlistPrecheckArgs { + string url = 1; + optional string tool_call_id = 2; +} + +// Copied from: local:agent.v1.WebFetchAllowlistPrecheckResult (var: fUl) +message WebFetchAllowlistPrecheckResult { + bool allowlisted = 1; +} + +// Copied from: local:agent.v1.WebFetchArgs (var: Kxi) +message WebFetchArgs { + string url = 1; + string tool_call_id = 2; +} + +// Copied from: local:agent.v1.WebFetchError (var: ZFl) +message WebFetchError { + string url = 1; + string error = 2; +} + +// Copied from: local:agent.v1.WebFetchRejected (var: XFl) +message WebFetchRejected { + string reason = 1; +} + +// Copied from: local:agent.v1.WebFetchRequestQuery (var: JFl) +message WebFetchRequestQuery { + WebFetchArgs args = 1; + bool skip_approval = 2; + SmartModeApproval smart_mode_approval = 3; +} + +// Copied from: local:agent.v1.WebFetchRequestResponse (var: CGe) +message WebFetchRequestResponse { + // Copied from: local:agent.v1.WebFetchRequestResponse.Approved (var: uBt) + message Approved { + } + + // Copied from: local:agent.v1.WebFetchRequestResponse.Rejected (var: ySn) + message Rejected { + string reason = 1; + } + + oneof result { + Approved approved = 1; + Rejected rejected = 2; + } +} + +// Copied from: local:agent.v1.WebFetchResult (var: s1s) +message WebFetchResult { + oneof result { + WebFetchSuccess success = 1; + WebFetchError error = 2; + WebFetchRejected rejected = 3; + } +} + +// Copied from: local:agent.v1.WebFetchSuccess (var: YFl) +message WebFetchSuccess { + string url = 1; + string markdown = 2; + optional OutputLocation output_location = 3; +} + +// Copied from: local:agent.v1.WebFetchToolCall (var: o1s) +message WebFetchToolCall { + WebFetchArgs args = 1; + WebFetchResult result = 2; +} + +// Copied from: local:agent.v1.WebSearchArgs (var: Vxi) +message WebSearchArgs { + string search_term = 1; + string tool_call_id = 2; +} + +// Copied from: local:agent.v1.WebSearchError (var: _Fl) +message WebSearchError { + string error = 1; +} + +// Copied from: local:agent.v1.WebSearchReference (var: W0s) +message WebSearchReference { + string title = 1; + string url = 2; + string chunk = 3; +} + +// Copied from: local:agent.v1.WebSearchRejected (var: yFl) +message WebSearchRejected { + string reason = 1; +} + +// Copied from: local:agent.v1.WebSearchRequestQuery (var: SFl) +message WebSearchRequestQuery { + WebSearchArgs args = 1; +} + +// Copied from: local:agent.v1.WebSearchRequestResponse (var: Jht) +message WebSearchRequestResponse { + // Copied from: local:agent.v1.WebSearchRequestResponse.Approved (var: pSn) + message Approved { + } + + // Copied from: local:agent.v1.WebSearchRequestResponse.Rejected (var: mSn) + message Rejected { + string reason = 1; + } + + oneof result { + Approved approved = 1; + Rejected rejected = 2; + } +} + +// Copied from: local:agent.v1.WebSearchResult (var: j0s) +message WebSearchResult { + oneof result { + WebSearchSuccess success = 1; + WebSearchError error = 2; + WebSearchRejected rejected = 3; + } +} + +// Copied from: local:agent.v1.WebSearchSuccess (var: bFl) +message WebSearchSuccess { + repeated WebSearchReference references = 1; +} + +// Copied from: local:agent.v1.WebSearchToolCall (var: H0s) +message WebSearchToolCall { + WebSearchArgs args = 1; + WebSearchResult result = 2; +} + +// Copied from: local:agent.v1.WriteArgs (var: BTs) +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: nav) +message WriteBinaryFileRequest { + string path = 1; + bytes content = 2; +} + +// Copied from: local:agent.v1.WriteBinaryFileResponse (var: iav) +message WriteBinaryFileResponse { +} + +// Copied from: local:agent.v1.WriteError (var: q6l) +message WriteError { + string path = 1; + string error = 2; +} + +// Copied from: local:agent.v1.WriteNoSpace (var: G6l) +message WriteNoSpace { + string path = 1; +} + +// Copied from: local:agent.v1.WritePermissionDenied (var: V6l) +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: K6l) +message WriteRejected { + string path = 1; + string reason = 2; +} + +// Copied from: local:agent.v1.WriteResult (var: H6l) +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: EFe) +message WriteShellStdinArgs { + uint32 shell_id = 1; + string chars = 2; +} + +// Copied from: local:agent.v1.WriteShellStdinError (var: hAl) +message WriteShellStdinError { + string error = 1; +} + +// Copied from: local:agent.v1.WriteShellStdinResult (var: sht) +message WriteShellStdinResult { + oneof result { + WriteShellStdinSuccess success = 1; + WriteShellStdinError error = 2; + } +} + +// Copied from: local:agent.v1.WriteShellStdinSuccess (var: dAl) +message WriteShellStdinSuccess { + uint32 shell_id = 1; + uint32 terminal_file_length_before_input_written = 2; +} + +// Copied from: local:agent.v1.WriteShellStdinToolCall (var: n1s) +message WriteShellStdinToolCall { + WriteShellStdinArgs args = 1; + WriteShellStdinResult result = 2; +} + +// Copied from: local:agent.v1.WriteSuccess (var: z6l) +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: Qov) +message WriteTextFileRequest { + string path = 1; + string content = 2; +} + +// Copied from: local:agent.v1.WriteTextFileResponse (var: Yov) +message WriteTextFileResponse { +} + +// Copied from: local:agent.v1.ZoomCandidate (var: Un) +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: Hn) +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: wov) +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 WatchSessionTurnLifecycle(WatchAgentHostSessionTurnLifecycleRequest) returns (stream WatchAgentHostSessionTurnLifecycleEvent) {} + rpc AbortBackgroundWork(AbortAgentHostBackgroundWorkRequest) returns (AbortAgentHostBackgroundWorkResponse) {} + rpc AbortAllBackgroundWork(AbortAllAgentHostBackgroundWorkRequest) returns (AbortAllAgentHostBackgroundWorkResponse) {} + rpc AttachSession(AttachAgentHostSessionRequest) returns (stream AgentHostSessionEvent) {} +} + +// Source: agent.v1.AgentService (var: g5i) +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: Wav) +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 PersistArtifactsToAgentStore(PersistArtifactsToAgentStoreRequest) returns (PersistArtifactsToAgentStoreResponse) {} + rpc PersistArtifactsToParentStore(PersistArtifactsToParentStoreRequest) returns (PersistArtifactsToParentStoreResponse) {} + 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: zav) +service ExecService { + rpc Exec(ExecServerMessage) returns (stream ExecStreamElement) {} +} + +// Source: agent.v1.LifecycleService (var: lcv) +service LifecycleService { + rpc ResetInstance(Empty) returns (Empty) {} + rpc RenewInstance(Empty) returns (Empty) {} + rpc ClaimWorker(ClaimWorkerRequest) returns (Empty) {} + rpc ReleaseWorker(ReleaseWorkerRequest) returns (Empty) {} + rpc OpenDesktopSession(OpenDesktopSessionRequest) returns (OpenDesktopSessionResponse) {} +} + +// Source: agent.v1.PrivateWorkerApiService (var: Kav) +service PrivateWorkerApiService { + rpc GetWorkerId(Empty) returns (GetWorkerIdResponse) {} + rpc WatchStatus(Empty) returns (stream WatchStatusResponse) {} +} + +// Source: agent.v1.PrivateWorkerBridgeExternalService (var: ccv) +service PrivateWorkerBridgeExternalService { + rpc Connect(stream Frame) returns (stream Frame) {} + rpc DesktopStream(stream DesktopStreamClientMessage) returns (stream DesktopStreamServerMessage) {} +} + +// Source: agent.v1.PtyHostService (var: Ecv) +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: Lcv) +service TmuxSessionService { + rpc CreateSession(CreateTmuxSessionRequest) returns (CreateTmuxSessionResponse) {} + rpc ListSessions(ListTmuxSessionsRequest) returns (ListTmuxSessionsResponse) {} + rpc KillSession(KillTmuxSessionRequest) returns (KillTmuxSessionResponse) {} + rpc AttachSession(AttachTmuxSessionRequest) returns (AttachTmuxSessionResponse) {} +} + diff --git a/cursor-proto/proto/aiserver_v1.proto b/cursor-proto/proto/aiserver_v1.proto new file mode 100644 index 0000000..9855eb9 --- /dev/null +++ b/cursor-proto/proto/aiserver_v1.proto @@ -0,0 +1,46414 @@ +syntax = "proto3"; + +package aiserver.v1; + +import "google/protobuf/duration.proto"; +import "google/protobuf/empty.proto"; +import "google/protobuf/struct.proto"; +import "google/protobuf/timestamp.proto"; + +option go_package = "github.com/leookun/cursor-byok/cursor-proto/gen/aiserver/v1;aiserverv1"; + +// Copied from: local:aiserver.v1.AbortAgentStoreMultipartWritesRequest (var: RBu) +message AbortAgentStoreMultipartWritesRequest { + string store_id = 1; + repeated AgentStoreMultipartWriteAbort uploads = 2; +} + +// Copied from: local:aiserver.v1.AbortAgentStoreMultipartWritesResponse (var: PBu) +message AbortAgentStoreMultipartWritesResponse { + repeated AgentStoreMultipartAbortResult results = 1; +} + +// Copied from: local:aiserver.v1.AbortPromptUploadRequest (var: SBs) +message AbortPromptUploadRequest { + string upload_id = 1; + string s3_upload_id = 2; +} + +// Copied from: local:aiserver.v1.AbortPromptUploadResponse (var: BBu) +message AbortPromptUploadResponse { +} + +// Copied from: local:aiserver.v1.AbortSandBoxStoreMultipartWritesRequest (var: FKd) +message AbortSandBoxStoreMultipartWritesRequest { + repeated SandBoxStoreMultipartWriteAbort uploads = 1; +} + +// Copied from: local:aiserver.v1.AbortSandBoxStoreMultipartWritesResponse (var: BKd) +message AbortSandBoxStoreMultipartWritesResponse { + repeated SandBoxStoreMultipartAbortResult results = 1; +} + +// Copied from: local:aiserver.v1.AcceptCursorPredictionEvent (var: E$l) +message AcceptCursorPredictionEvent { + CursorPrediction cursor_prediction = 1; + PointInTimeModel point_in_time_model = 2; +} + +// Copied from: local:aiserver.v1.AcceptInviteRequest (var: Dgu) +message AcceptInviteRequest { + string invite_code = 1; +} + +// Copied from: local:aiserver.v1.AcceptInviteResponse (var: Mgu) +message AcceptInviteResponse { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.AcknowledgeGracePeriodDisclaimerRequest (var: mHl) +message AcknowledgeGracePeriodDisclaimerRequest { +} + +// Copied from: local:aiserver.v1.AcknowledgeGracePeriodDisclaimerResponse (var: gHl) +message AcknowledgeGracePeriodDisclaimerResponse { +} + +// Copied from: local:aiserver.v1.AcquireAgentStoreFileLockRequest (var: UBu) +message AcquireAgentStoreFileLockRequest { + string store_id = 1; + string rel_path = 2; + AgentStoreFileLockHolder holder = 3; + string acquisition_id = 4; + optional int64 ttl_seconds = 5; +} + +// Copied from: local:aiserver.v1.AcquireAgentStoreFileLockResponse (var: $Bu) +message AcquireAgentStoreFileLockResponse { + bool acquired = 1; + optional string lock_token = 2; + optional AgentStoreFileLockHolder current_holder = 3; + int64 expires_at_ms = 4; +} + +// Copied from: local:aiserver.v1.AcquireRequest (var: nbv) +message AcquireRequest { + string provider = 1; + string deployment = 2; + string workload_id = 3; + string conversation_id = 4; + int64 timeout_ms = 5; + string model = 6; + string conversation_group_id = 7; + bool is_stream = 8; + string canonical_model = 9; + string client_protocol = 10; + int64 estimated_input_tokens = 11; +} + +// Copied from: local:aiserver.v1.AcquireResponse (var: ibv) +message AcquireResponse { + bool granted = 1; + RateLimitReason reason = 2; + RouteResult route_result = 4; + bool no_deployment_config = 5; +} + +// Copied from: local:aiserver.v1.Action (var: Bju) +message Action { + oneof action { + GitPrAction git_pr = 4; + PrCommentAction pr_comment = 5; + SlackAction slack = 6; + McpAction mcp = 7; + ManageCheckRunAction manage_check_run = 8; + RequestReviewersAction request_reviewers = 9; + ReadSlackAction read_slack = 10; + ApprovePrAction approve_pr = 11; + ResolveReviewThreadsAction resolve_review_threads = 12; + MicrosoftTeamsAction microsoft_teams = 13; + ReadMicrosoftTeamsAction read_microsoft_teams = 14; + } +} + +// Copied from: local:aiserver.v1.ActivatePromotionRequest (var: $mu) +message ActivatePromotionRequest { + string promo_type_id = 1; +} + +// Copied from: local:aiserver.v1.ActivatePromotionResponse (var: jmu) +message ActivatePromotionResponse { + // Copied from: local:aiserver.v1.ActivatePromotionResponse.ActivationType (var: Wmu) + enum ActivationType { + ACTIVATION_TYPE_UNSPECIFIED = 0; + ACTIVATION_TYPE_CHECKOUT = 1; + ACTIVATION_TYPE_SUBSCRIPTION = 2; + } + + ActivationType type = 1; + optional string checkout_url = 2; + optional bool success = 3; +} + +// Copied from: local:aiserver.v1.ActivationStatus (var: Umu) +message ActivationStatus { + bool is_activated = 1; + optional int64 activated_at = 2; +} + +// Copied from: agent.v1.ActiveBranchChange (var: FEs) +message ActiveBranchChange { + string path = 1; + string branch_name = 2; +} + +// Copied from: local:aiserver.v1.ActiveCreditGrant (var: j_u) +message ActiveCreditGrant { + string grant_id = 1; + int64 total_cents = 2; + int64 remaining_cents = 3; + int64 expires_at_ms = 4; + repeated string allowed_model_ids = 5; + repeated string allowed_model_tags = 6; + string grant_type = 7; + optional int32 slowness_ms = 8; + optional string source = 9; + optional string campaign_name = 10; + bool show_in_client = 11; + repeated string allowed_client_types = 12; + repeated AllowedModelSelection allowed_model_selections = 13; +} + +// Copied from: local:aiserver.v1.ActiveUsers (var: Vbu) +message ActiveUsers { + int32 current = 1; + int32 previous = 2; + int32 percent_change = 3; +} + +// Copied from: local:aiserver.v1.AdButton (var: m8u) +message AdButton { + string text = 1; + ButtonType button_type = 2; + oneof action { + string external_url = 3; + string command_id = 4; + ClientAction client_action = 5; + } +} + +// Copied from: local:aiserver.v1.AdContent (var: h8u) +message AdContent { + optional string tag = 1; + string title = 2; + repeated AdSection sections = 3; + optional bool center_title = 4; +} + +// Copied from: local:aiserver.v1.AdHeader (var: d8u) +message AdHeader { + optional string banner_url = 1; + optional string banner_url_light = 2; + optional string banner_url_dark = 3; +} + +// Copied from: local:aiserver.v1.AdSection (var: p8u) +message AdSection { + string icon_svg = 1; + string title = 2; + string description = 3; + optional bool is_beta = 4; +} + +// Copied from: local:aiserver.v1.AddAsyncFollowupBackgroundComposerRequest (var: Mqe) +message AddAsyncFollowupBackgroundComposerRequest { + string bc_id = 1; + string followup = 2; + string rich_followup = 4; + bool synchronous = 3; + ConversationMessage followup_message = 5; + optional ModelDetails model_details = 6; + optional RequestedModel requested_model = 15; + optional BackgroundComposerSource followup_source = 7; + optional bool continue_rebase = 8; + optional PlanFollowupType plan_followup_type = 9; + optional ConversationAction followup_conversation_action = 10; + optional string followup_id = 11; + optional int64 time_budget_ms = 12; + optional int64 time_budget_seconds = 13; + optional string followup_system_reminder = 14; + optional string mcp_config_json = 16; + repeated string requested_additional_store_ids = 17; + map run_env_vars = 18; + repeated AgentStoreMount store_mounts = 19; + optional string resubmit_from_message_id = 20; + optional bool use_experimental_model_opt_out = 21; + optional string coalescing_key = 22; + optional string pr_head_sha = 23; +} + +// Copied from: local:aiserver.v1.AddAsyncFollowupBackgroundComposerResponse (var: aLu) +message AddAsyncFollowupBackgroundComposerResponse { + string run_id = 1; +} + +// Copied from: local:aiserver.v1.AddBugbotFeedbackRequest (var: U6l) +message AddBugbotFeedbackRequest { + int64 comment_id = 1; + BugbotFeedbackReaction reaction = 2; + optional string feedback = 3; +} + +// Copied from: local:aiserver.v1.AddBugbotFeedbackResponse (var: $6l) +message AddBugbotFeedbackResponse { + int64 id = 1; +} + +// Copied from: local:aiserver.v1.AddGithubUsersToTeamRequest (var: oSu) +message AddGithubUsersToTeamRequest { + int64 installation_id = 1; + repeated GithubUser github_users = 2; + optional string ghe_application = 4; +} + +// Copied from: local:aiserver.v1.AddGithubUsersToTeamResponse (var: aSu) +message AddGithubUsersToTeamResponse { + int32 added_user_count = 1; +} + +// Copied from: local:aiserver.v1.AddGroupMembersRequest (var: f0u) +message AddGroupMembersRequest { + int32 group_id = 1; + int32 team_id = 2; + repeated int32 user_ids = 3; + optional GroupType type = 4; +} + +// Copied from: local:aiserver.v1.AddGroupMembersResponse (var: v0u) +message AddGroupMembersResponse { + Group group = 1; +} + +// Copied from: local:aiserver.v1.AddMarketplaceRequest (var: kOs) +message AddMarketplaceRequest { + string name = 1; + string git_url = 2; + optional string git_ref = 3; + optional string display_name = 4; + optional string description = 5; + optional int32 team_id = 6; + optional bool auto_reindex = 7; +} + +// Copied from: local:aiserver.v1.AddMarketplaceResponse (var: MAu) +message AddMarketplaceResponse { + Marketplace marketplace = 1; +} + +// Copied from: local:aiserver.v1.AddMcpServersFromPluginRequest (var: Zpu) +message AddMcpServersFromPluginRequest { + int64 plugin_id = 1; + string scope = 2; + optional int32 team_id = 3; + optional string commit_sha = 4; + optional string server_name = 5; + map substitutions = 6; + optional string oauth_redirect_uri = 7; +} + +// Copied from: local:aiserver.v1.AddMcpServersFromPluginResponse (var: Xpu) +message AddMcpServersFromPluginResponse { + repeated int64 added_server_ids = 1; +} + +// Copied from: local:aiserver.v1.AddOrganizationGroupMembersRequest (var: _du) +message AddOrganizationGroupMembersRequest { + string organization_id = 1; + int64 group_id = 2; + repeated int32 user_ids = 3; +} + +// Copied from: local:aiserver.v1.AddOrganizationGroupMembersResponse (var: ydu) +message AddOrganizationGroupMembersResponse { + int32 added_count = 1; +} + +// Copied from: local:aiserver.v1.AddOrganizationIdentityProviderDomainJoinRequest (var: auu) +message AddOrganizationIdentityProviderDomainJoinRequest { + string organization_id = 1; + string identity_provider_public_id = 2; + string domain = 3; +} + +// Copied from: local:aiserver.v1.AddPullRequestReviewCommentRequest (var: fOu) +message AddPullRequestReviewCommentRequest { + string pr_url = 1; + string path = 2; + string body = 3; + int32 line = 4; + optional int32 start_line = 5; + optional string diff_side = 6; + optional string commit_oid = 7; +} + +// Copied from: local:aiserver.v1.AddPullRequestReviewCommentResponse (var: vOu) +message AddPullRequestReviewCommentResponse { + optional PRReviewThread thread = 1; +} + +// Copied from: local:aiserver.v1.AddRepoPatternRequest (var: Lvu) +message AddRepoPatternRequest { + int32 team_id = 1; + int32 repo_id = 2; + string pattern = 3; +} + +// Copied from: local:aiserver.v1.AddRepoPatternResponse (var: Nvu) +message AddRepoPatternResponse { + int32 pattern_id = 1; +} + +// Copied from: local:aiserver.v1.AddSyntheticUsageRequest (var: Kbv) +message AddSyntheticUsageRequest { + int32 user_id = 1; + string model = 2; + int32 input_tokens = 3; + int32 output_tokens = 4; + int32 cache_read_tokens = 5; + int32 cache_write_tokens = 6; + optional int64 revenue_milli_cents = 7; + optional string status = 8; + optional string usage_uuid = 9; +} + +// Copied from: local:aiserver.v1.AddSyntheticUsageResponse (var: Qbv) +message AddSyntheticUsageResponse { + bool success = 1; + string usage_uuid = 2; + string message = 3; +} + +// Copied from: local:aiserver.v1.AddTabRequestToEvalRequest (var: u$l) +message AddTabRequestToEvalRequest { + string request_id = 1; + string expected_behavior = 2; +} + +// Copied from: local:aiserver.v1.AddTabRequestToEvalResponse (var: d$l) +message AddTabRequestToEvalResponse { +} + +// Copied from: local:aiserver.v1.AddTeamGroupMembersRequest (var: Ndu) +message AddTeamGroupMembersRequest { + int32 team_id = 1; + int64 group_id = 2; + repeated int32 user_ids = 3; +} + +// Copied from: local:aiserver.v1.AddTeamGroupMembersResponse (var: Odu) +message AddTeamGroupMembersResponse { + int32 added_count = 1; +} + +// Copied from: local:aiserver.v1.AddTestParams (var: Tbs) +message AddTestParams { + string relative_workspace_path = 1; + string test_name = 2; + string test_code = 3; +} + +// Copied from: local:aiserver.v1.AddTestResult (var: Abs) +message AddTestResult { + // Copied from: local:aiserver.v1.AddTestResult.Feedback (var: Rbs) + message Feedback { + string message = 1; + string severity = 2; + int32 start_line_number = 3; + int32 end_line_number = 4; + repeated AddTestResult.RelatedInformation related_information = 5; + } + + // Copied from: local:aiserver.v1.AddTestResult.RelatedInformation (var: Ibs) + message RelatedInformation { + string message = 1; + int32 start_line_number = 2; + int32 end_line_number = 3; + string relative_workspace_path = 4; + } + + repeated Feedback feedback = 1; +} + +// Copied from: local:aiserver.v1.AddUiStepParams (var: jvs) +message AddUiStepParams { + // Copied from: local:aiserver.v1.AddUiStepParams.SearchResult (var: Wvs) + message SearchResult { + string relative_workspace_path = 1; + } + + // Copied from: local:aiserver.v1.AddUiStepParams.SearchResults (var: Hvs) + message SearchResults { + repeated AddUiStepParams.SearchResult search_results = 1; + } + + string conversation_id = 1; + oneof step { + SearchResults search_results = 2; + } +} + +// Copied from: local:aiserver.v1.AddUiStepResult (var: zvs) +message AddUiStepResult { +} + +// Copied from: local:aiserver.v1.AdditionalFile (var: IAs) +message AdditionalFile { + string relative_workspace_path = 1; + bool is_open = 2; + repeated string visible_range_content = 3; + optional double last_viewed_at = 4; + repeated int32 start_line_number_one_indexed = 5; + repeated LineRange visible_ranges = 6; +} + +// Copied from: local:aiserver.v1.AdminCommandDenylist (var: zvu) +message AdminCommandDenylist { + repeated string rules = 1; +} + +// Copied from: local:aiserver.v1.AdminDeleteNamedAgentRequest (var: pFu) +message AdminDeleteNamedAgentRequest { + string named_agent_id = 1; + int32 team_id = 2; +} + +// Copied from: local:aiserver.v1.AdminDeleteNamedAgentResponse (var: mFu) +message AdminDeleteNamedAgentResponse { + repeated string deleted_bc_ids = 1; + repeated string failed_bc_ids = 2; +} + +// Copied from: local:aiserver.v1.AdminForceRecreateSandBoxRequest (var: Jqd) +message AdminForceRecreateSandBoxRequest { + string auth_id = 1; + string flavor = 2; +} + +// Copied from: local:aiserver.v1.AdminGetSandAgentTranscriptPageRequest (var: fKd) +message AdminGetSandAgentTranscriptPageRequest { + string auth_id = 1; + string flavor = 2; + string agent_id = 3; + int64 before_seq = 4; + uint32 limit = 5; + int64 since_ms = 6; + int64 until_ms = 7; +} + +// Copied from: local:aiserver.v1.AdminGetSandAgentTranscriptPageResponse (var: vKd) +message AdminGetSandAgentTranscriptPageResponse { + bool reachable = 1; + string entries_json = 2; + string reason = 3; + int64 next_before_seq = 4; +} + +// Copied from: local:aiserver.v1.AdminHibernateSandBoxRequest (var: hKd) +message AdminHibernateSandBoxRequest { + string auth_id = 1; + string flavor = 2; + bool force = 3; +} + +// Copied from: local:aiserver.v1.AdminHibernateSandBoxResponse (var: pKd) +message AdminHibernateSandBoxResponse { + bool started = 1; + string reason = 2; +} + +// Copied from: local:aiserver.v1.AdminListSandAgentsRequest (var: mKd) +message AdminListSandAgentsRequest { + string auth_id = 1; + string flavor = 2; +} + +// Copied from: local:aiserver.v1.AdminListSandAgentsResponse (var: gKd) +message AdminListSandAgentsResponse { + bool reachable = 1; + string agents_json = 2; + string reason = 3; +} + +// Copied from: local:aiserver.v1.AdminListSandBoxStoreManifestVersionsRequest (var: cKd) +message AdminListSandBoxStoreManifestVersionsRequest { + string auth_id = 1; + string flavor = 2; + string cursor = 3; + int32 max_versions = 4; + int32 parse_limit = 5; + optional int64 before_timestamp_ms = 6; +} + +// Copied from: local:aiserver.v1.AdminListSandBoxStoreManifestVersionsResponse (var: lKd) +message AdminListSandBoxStoreManifestVersionsResponse { + string store_id = 1; + repeated SandBoxStoreManifestVersion versions = 2; + string next_cursor = 3; + bool truncated = 4; + bool time_scan_capped = 5; +} + +// Copied from: local:aiserver.v1.AdminListTeamNamedAgentsRequest (var: lFu) +message AdminListTeamNamedAgentsRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.AdminListTeamNamedAgentsResponse (var: hFu) +message AdminListTeamNamedAgentsResponse { + repeated AdminNamedAgent named_agents = 1; +} + +// Copied from: local:aiserver.v1.AdminListUserPrivateWorkersRequest (var: CFu) +message AdminListUserPrivateWorkersRequest { + optional string auth_id = 1; + optional int32 user_id = 2; + optional string email = 3; +} + +// Copied from: local:aiserver.v1.AdminListUserPrivateWorkersResponse (var: EFu) +message AdminListUserPrivateWorkersResponse { + int32 user_id = 1; + string auth_id = 2; + string email = 3; + repeated int32 team_ids = 4; + repeated PrivateWorker private_workers = 5; + bool remote_control_enabled = 7; + bool team_remote_control_allowed = 8; +} + +// Copied from: local:aiserver.v1.AdminNamedAgent (var: dFu) +message AdminNamedAgent { + string named_agent_id = 1; + optional string name = 2; + optional string profile_picture_url = 3; + optional int32 owning_user = 4; + optional int32 owning_team = 5; + string created_at = 6; + string updated_at = 7; + repeated AdminNamedAgentSession sessions = 8; +} + +// Copied from: local:aiserver.v1.AdminNamedAgentSession (var: uFu) +message AdminNamedAgentSession { + string bc_id = 1; + string session_key = 2; + string session_kind = 3; +} + +// Copied from: local:aiserver.v1.AdminNotificationRequestType (var: QLs) +enum AdminNotificationRequestType { + ADMIN_NOTIFICATION_REQUEST_TYPE_UNSPECIFIED = 0; + ADMIN_NOTIFICATION_REQUEST_TYPE_PRIVACY_MODE = 1; + ADMIN_NOTIFICATION_REQUEST_TYPE_BUGBOT = 2; + ADMIN_NOTIFICATION_REQUEST_TYPE_BUGBOT_ENABLE_REPOS = 3; + ADMIN_NOTIFICATION_REQUEST_TYPE_ORIGIN = 4; +} + +// Copied from: local:aiserver.v1.AdminRecreateSandBoxRequest (var: Xqd) +message AdminRecreateSandBoxRequest { + string auth_id = 1; + string flavor = 2; + bool preserve_data = 3; + bool force = 4; +} + +// Copied from: local:aiserver.v1.AdminRemoveRepositoryRequest (var: ve) +message AdminRemoveRepositoryRequest { + int32 codebase_id = 1; +} + +// Copied from: local:aiserver.v1.AdminRemoveRepositoryResponse (var: Be) +message AdminRemoveRepositoryResponse { +} + +// Copied from: local:aiserver.v1.AdminRestoreSandBoxStoreSnapshotRequest (var: uKd) +message AdminRestoreSandBoxStoreSnapshotRequest { + string auth_id = 1; + string flavor = 2; + string manifest_version_id = 3; + optional int64 expected_entry_count = 4; +} + +// Copied from: local:aiserver.v1.AdminRestoreSandBoxStoreSnapshotResponse (var: dKd) +message AdminRestoreSandBoxStoreSnapshotResponse { + bool started = 1; + string reason = 2; + string operation_id = 3; + int64 current_entry_count = 4; + int64 target_entry_count = 5; +} + +// Copied from: local:aiserver.v1.AdminSandBoxHostStatusRequest (var: rKd) +message AdminSandBoxHostStatusRequest { + string auth_id = 1; + string flavor = 2; +} + +// Copied from: local:aiserver.v1.AdminSandBoxHostStatusResponse (var: sKd) +message AdminSandBoxHostStatusResponse { + bool gateway_reachable = 1; + optional string host_version = 2; + optional bool host_update_available = 3; + optional string latest_host_version = 4; + optional bool is_busy = 5; + optional int64 last_busy_at_ms = 6; +} + +// Copied from: local:aiserver.v1.AdminSandBoxStoreStatusRequest (var: eKd) +message AdminSandBoxStoreStatusRequest { + string auth_id = 1; + string flavor = 2; +} + +// Copied from: local:aiserver.v1.AdminSandBoxStoreStatusResponse (var: tKd) +message AdminSandBoxStoreStatusResponse { + bool durable = 1; + int64 entry_count = 2; + int64 total_bytes = 3; + int64 last_snapshot_at_ms = 4; + bool reachable = 5; +} + +// Copied from: local:aiserver.v1.AdminSnapshotSandBoxStoreRequest (var: oKd) +message AdminSnapshotSandBoxStoreRequest { + string auth_id = 1; + string flavor = 2; +} + +// Copied from: local:aiserver.v1.AdminSnapshotSandBoxStoreResponse (var: aKd) +message AdminSnapshotSandBoxStoreResponse { + bool ok = 1; + int64 manifest_entries = 2; + int64 files_uploaded = 3; + string reason = 4; +} + +// Copied from: local:aiserver.v1.AdminUpdateSandBoxHostRequest (var: nKd) +message AdminUpdateSandBoxHostRequest { + string auth_id = 1; + string flavor = 2; + bool force = 3; +} + +// Copied from: local:aiserver.v1.AdminUpdateSandBoxHostResponse (var: iKd) +message AdminUpdateSandBoxHostResponse { + bool started = 1; + string reason = 2; + string version = 3; +} + +// Copied from: local:aiserver.v1.AdminWatchSandBoxMigrationRequest (var: _Kd) +message AdminWatchSandBoxMigrationRequest { + string auth_id = 1; + string flavor = 2; + string from_offset_key = 3; +} + +// Copied from: local:aiserver.v1.AdmittedCustomModeState (var: xPu) +message AdmittedCustomModeState { + string id = 1; + string label = 2; + optional string icon = 3; + optional string color = 4; + CustomModeSource source = 5; + optional string source_path = 6; + optional string source_hash = 7; + string active_reminder = 8; + string admitted_by_turn_id = 9; + optional string description = 10; + optional string managed_skill_id = 11; + optional string plugin_id = 12; +} + +// Copied from: agent.v1.AdoptArgs (var: cTi) +message AdoptArgs { + string source_agent_id = 1; +} + +// Copied from: agent.v1.AdoptOutcome (var: kSn) +enum AdoptOutcome { + ADOPT_OUTCOME_UNSPECIFIED = 0; + ADOPT_OUTCOME_ALREADY_PARENTED = 1; + ADOPT_OUTCOME_EDGE_ONLY = 2; + ADOPT_OUTCOME_STORE_IMPORT_COMPLETED = 3; +} + +// Copied from: agent.v1.AdoptResult (var: CSn) +message AdoptResult { + string source_agent_id = 1; + string target_agent_id = 2; + string project_root_id = 3; + oneof result { + AdoptOutcome success = 4; + string error = 5; + } +} + +// Copied from: local:aiserver.v1.AdvancedCodebaseContextOptions (var: AVl) +message AdvancedCodebaseContextOptions { + int32 num_results_per_search = 1; + optional string include_pattern = 2; + optional string exclude_pattern = 3; + RerankerAlgorithm reranker = 4; + optional string index_id = 5; + bool reasoning_step = 6; + optional RechunkerChoice rechunker = 7; +} + +// Copied from: agent.v1.AfterAgentResponseRequestQuery (var: e6l) +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: agent.v1.AfterAgentResponseRequestResponse (var: t6l) +message AfterAgentResponseRequestResponse { +} + +// Copied from: agent.v1.AfterAgentThoughtRequestQuery (var: n6l) +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: agent.v1.AfterAgentThoughtRequestResponse (var: i6l) +message AfterAgentThoughtRequestResponse { +} + +// Copied from: local:aiserver.v1.AgentFollowupCategorizationRequest (var: xfv) +message AgentFollowupCategorizationRequest { + string request_id = 1; + string replying_to_request_id = 2; + repeated InferenceCoreMessage messages = 3; + optional string conversation_id = 4; + optional string agent_mode = 5; + optional string model_name = 6; +} + +// Copied from: local:aiserver.v1.AgentLayoutPolicy (var: D8u) +message AgentLayoutPolicy { + repeated string allowed_action_ids = 1; + repeated string denied_action_ids = 2; +} + +// Copied from: agent.v1.AgentMode (var: t1) +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:aiserver.v1.AgentOptions (var: Hju) +message AgentOptions { + optional bool skip_install = 1; + optional AgentPrivateWorkerConfig private_worker = 2; + optional string environment_public_id = 3; +} + +// Copied from: local:aiserver.v1.AgentPostTurnLabelingRequest (var: Tfv) +message AgentPostTurnLabelingRequest { + string request_id = 1; + repeated InferenceCoreMessage messages = 2; + optional string conversation_id = 3; + optional string agent_mode = 4; + optional string model_name = 5; +} + +// Copied from: local:aiserver.v1.AgentPrivateWorkerConfig (var: Wju) +message AgentPrivateWorkerConfig { + repeated AgentPrivateWorkerLabel labels = 1; +} + +// Copied from: local:aiserver.v1.AgentPrivateWorkerLabel (var: jju) +message AgentPrivateWorkerLabel { + string key = 1; + string value = 2; +} + +// Copied from: agent.v1.AgentSkill (var: ept) +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:aiserver.v1.AgentStartupTraceEvent (var: WRu) +message AgentStartupTraceEvent { + // Copied from: local:aiserver.v1.AgentStartupTraceEvent.ContextLink (var: HRu) + message ContextLink { + string name = 1; + string href = 2; + } + + // Copied from: local:aiserver.v1.AgentStartupTraceEvent.SpanEnded (var: VRu) + message SpanEnded { + string span_id = 1; + } + + // Copied from: local:aiserver.v1.AgentStartupTraceEvent.SpanStarted (var: zRu) + message SpanStarted { + string span_id = 1; + string name = 2; + optional string parent_span_id = 3; + optional string href = 4; + optional string temporal_run_id = 5; + optional string temporal_activity_id = 6; + } + + // Copied from: local:aiserver.v1.AgentStartupTraceEvent.TurnClose (var: qRu) + message TurnClose { + uint32 turn_index = 1; + } + + // Copied from: local:aiserver.v1.AgentStartupTraceEvent.UserAction (var: GRu) + message UserAction { + uint32 turn_index = 1; + } + + uint64 creation_timestamp_ms = 1; + oneof payload { + SpanStarted span_started = 2; + SpanEnded span_ended = 3; + UserAction user_action = 4; + TurnClose turn_close = 5; + ContextLink context_link = 6; + } +} + +// Copied from: local:aiserver.v1.AgentStore (var: JFu) +message AgentStore { + string store_id = 1; + double created_at_ms = 4; + double updated_at_ms = 5; + repeated string repo_urls = 8; + repeated SharedAgentStoreInfo shares = 9; + AgentStoreKind kind = 10; + optional double last_file_write_at_ms = 11; + string source_id = 12; + optional string source_display_name = 13; + AgentStoreSourceRef source = 14; +} + +// Copied from: agent.v1.AgentStoreConflictArgs (var: KUl) +message AgentStoreConflictArgs { + optional AgentStoreConflictCursor cursor = 1; + optional bool advance = 2; +} + +// Copied from: agent.v1.AgentStoreConflictCursor (var: QTs) +message AgentStoreConflictCursor { + string journal_epoch = 1; + uint64 seq = 2; + string last_event_id = 3; +} + +// Copied from: agent.v1.AgentStoreConflictError (var: XUl) +message AgentStoreConflictError { + string error = 1; +} + +// Copied from: agent.v1.AgentStoreConflictEvent (var: QUl) +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: agent.v1.AgentStoreConflictResult (var: YUl) +message AgentStoreConflictResult { + oneof result { + AgentStoreConflictSuccess success = 1; + AgentStoreConflictError error = 2; + } +} + +// Copied from: agent.v1.AgentStoreConflictSuccess (var: ZUl) +message AgentStoreConflictSuccess { + repeated AgentStoreConflictEvent events = 1; + AgentStoreConflictCursor next_cursor = 2; + bool gap = 3; +} + +// Copied from: local:aiserver.v1.AgentStoreConflictWriteInstruction (var: vBu) +message AgentStoreConflictWriteInstruction { + string rel_path = 1; + string url = 2; + map headers = 3; + int64 expires_at_ms = 4; + optional AgentStoreMultipartWriteInstruction multipart = 5; +} + +// Copied from: local:aiserver.v1.AgentStoreDeleteFileEntry (var: qBu) +message AgentStoreDeleteFileEntry { + string rel_path = 1; + string base_etag = 2; + optional string mutation_id = 3; +} + +// Copied from: local:aiserver.v1.AgentStoreDeleteFileResult (var: KBu) +message AgentStoreDeleteFileResult { + string rel_path = 1; + AgentStoreDeleteFileStatus status = 2; + string tombstone_etag = 3; + optional string current_etag = 4; +} + +// Copied from: local:aiserver.v1.AgentStoreDeleteFileStatus (var: _Du) +enum AgentStoreDeleteFileStatus { + AGENT_STORE_DELETE_FILE_STATUS_UNSPECIFIED = 0; + AGENT_STORE_DELETE_FILE_STATUS_DELETED = 1; + AGENT_STORE_DELETE_FILE_STATUS_ALREADY_DELETED = 2; + AGENT_STORE_DELETE_FILE_STATUS_CONFLICT = 3; +} + +// Copied from: local:aiserver.v1.AgentStoreDirectoryListingMode (var: vDu) +enum AgentStoreDirectoryListingMode { + AGENT_STORE_DIRECTORY_LISTING_MODE_UNSPECIFIED = 0; + AGENT_STORE_DIRECTORY_LISTING_MODE_DIRECTORY_PAGE = 1; + AGENT_STORE_DIRECTORY_LISTING_MODE_COMPLETE_FLAT_STORE = 2; +} + +// Copied from: local:aiserver.v1.AgentStoreEntry (var: nBu) +message AgentStoreEntry { + string name = 1; + string relative_path = 2; + AgentStoreEntryKind kind = 3; + optional int64 size_bytes = 4; + optional double updated_at_ms = 5; +} + +// Copied from: local:aiserver.v1.AgentStoreEntryKind (var: fDu) +enum AgentStoreEntryKind { + AGENT_STORE_ENTRY_KIND_UNSPECIFIED = 0; + AGENT_STORE_ENTRY_KIND_DIRECTORY = 1; + AGENT_STORE_ENTRY_KIND_FILE = 2; +} + +// Copied from: local:aiserver.v1.AgentStoreFileEntry (var: gBs) +message AgentStoreFileEntry { + string rel_path = 1; + string etag = 2; + int64 size_bytes = 3; + int64 last_modified_ms = 4; +} + +// Copied from: local:aiserver.v1.AgentStoreFileLockHolder (var: PCn) +message AgentStoreFileLockHolder { + string client_uuid = 1; + uint32 pid = 2; +} + +// Copied from: local:aiserver.v1.AgentStoreKind (var: nFs) +enum AgentStoreKind { + AGENT_STORE_KIND_UNSPECIFIED = 0; + AGENT_STORE_KIND_CLOUD = 1; + AGENT_STORE_KIND_LOCAL = 2; + AGENT_STORE_KIND_AUTOMATION = 3; + AGENT_STORE_KIND_USER = 4; + AGENT_STORE_KIND_TEAM = 5; + AGENT_STORE_KIND_NAMED_AGENT = 6; +} + +// Copied from: local:aiserver.v1.AgentStoreLockRedirect (var: bBu) +message AgentStoreLockRedirect { + optional AgentStoreFileLockHolder holder = 1; + string conflict_rel_path = 2; + int64 lock_expires_at_ms = 3; +} + +// Copied from: local:aiserver.v1.AgentStoreMount (var: mBs) +message AgentStoreMount { + optional string mount_name = 1; + bool server_generated = 5; + oneof target { + AgentStoreSourceRef source = 2; + string store_id = 3; + string share_id = 4; + } +} + +// Copied from: local:aiserver.v1.AgentStoreMultipartAbortResult (var: MBu) +message AgentStoreMultipartAbortResult { + uint32 input_index = 1; + string rel_path = 2; + oneof outcome { + AgentStoreMultipartAbortSuccess success = 3; + AgentStoreMultipartOperationFailure failure = 4; + } +} + +// Copied from: local:aiserver.v1.AgentStoreMultipartAbortSuccess (var: DBu) +message AgentStoreMultipartAbortSuccess { + bool already_finished = 1; +} + +// Copied from: local:aiserver.v1.AgentStoreMultipartOperationFailure (var: bBs) +message AgentStoreMultipartOperationFailure { + AgentStoreMultipartOperationFailureCode code = 1; +} + +// Copied from: local:aiserver.v1.AgentStoreMultipartOperationFailureCode (var: bDu) +enum AgentStoreMultipartOperationFailureCode { + AGENT_STORE_MULTIPART_OPERATION_FAILURE_CODE_UNSPECIFIED = 0; + AGENT_STORE_MULTIPART_OPERATION_FAILURE_CODE_PRECONDITION_FAILED = 1; + AGENT_STORE_MULTIPART_OPERATION_FAILURE_CODE_UPLOAD_NOT_FOUND = 2; + AGENT_STORE_MULTIPART_OPERATION_FAILURE_CODE_INVALID_PARTS = 3; + AGENT_STORE_MULTIPART_OPERATION_FAILURE_CODE_CHECKSUM_MISMATCH = 4; + AGENT_STORE_MULTIPART_OPERATION_FAILURE_CODE_TRANSIENT = 5; + AGENT_STORE_MULTIPART_OPERATION_FAILURE_CODE_INTERNAL = 6; + AGENT_STORE_MULTIPART_OPERATION_FAILURE_CODE_RESTART_REQUIRED = 7; +} + +// Copied from: local:aiserver.v1.AgentStoreMultipartUploadContext (var: EMi) +message AgentStoreMultipartUploadContext { + string upload_id = 1; + string store_id = 2; + string rel_path = 3; + int64 size_bytes = 4; + string sha = 5; + uint32 expected_part_count = 6; + string session_id = 9; + oneof precondition { + string base_etag = 7; + bool expect_absent = 8; + } +} + +// Copied from: local:aiserver.v1.AgentStoreMultipartUploadPartDescriptor (var: gBu) +message AgentStoreMultipartUploadPartDescriptor { + uint32 part_number = 1; + int64 offset_bytes = 2; + int64 size_bytes = 3; + bytes checksum_sha256 = 4; +} + +// Copied from: local:aiserver.v1.AgentStoreMultipartUploadPartInstruction (var: yBu) +message AgentStoreMultipartUploadPartInstruction { + uint32 part_number = 1; + string url = 2; + map headers = 3; + int64 offset_bytes = 4; + int64 size_bytes = 5; +} + +// Copied from: local:aiserver.v1.AgentStoreMultipartUploadedPart (var: kBu) +message AgentStoreMultipartUploadedPart { + uint32 part_number = 1; + string etag = 2; + bytes checksum_sha256 = 3; +} + +// Copied from: local:aiserver.v1.AgentStoreMultipartWriteAbort (var: IBu) +message AgentStoreMultipartWriteAbort { + AgentStoreMultipartUploadContext context = 1; +} + +// Copied from: local:aiserver.v1.AgentStoreMultipartWriteCompletion (var: CBu) +message AgentStoreMultipartWriteCompletion { + AgentStoreMultipartUploadContext context = 1; + repeated AgentStoreMultipartUploadedPart parts = 2; +} + +// Copied from: local:aiserver.v1.AgentStoreMultipartWriteInstruction (var: vBs) +message AgentStoreMultipartWriteInstruction { + AgentStoreMultipartUploadContext context = 1; + repeated AgentStoreMultipartUploadPartInstruction parts = 2; + int64 part_urls_expires_at_ms = 3; +} + +// Copied from: local:aiserver.v1.AgentStoreMultipartWriteResult (var: TBu) +message AgentStoreMultipartWriteResult { + uint32 input_index = 1; + string rel_path = 2; + oneof outcome { + AgentStoreMultipartWriteSuccess success = 3; + AgentStoreMultipartOperationFailure failure = 4; + } +} + +// Copied from: local:aiserver.v1.AgentStoreMultipartWriteSuccess (var: xBu) +message AgentStoreMultipartWriteSuccess { + string etag = 1; +} + +// Copied from: local:aiserver.v1.AgentStoreReadInstruction (var: hBu) +message AgentStoreReadInstruction { + string rel_path = 1; + string url = 2; + int64 expires_at_ms = 3; +} + +// Copied from: local:aiserver.v1.AgentStoreShareVisibility (var: rFs) +enum AgentStoreShareVisibility { + AGENT_STORE_SHARE_VISIBILITY_UNSPECIFIED = 0; + AGENT_STORE_SHARE_VISIBILITY_TEAM = 2; + AGENT_STORE_SHARE_VISIBILITY_PUBLIC = 3; +} + +// Copied from: local:aiserver.v1.AgentStoreSourceKind (var: gDu) +enum AgentStoreSourceKind { + AGENT_STORE_SOURCE_KIND_UNSPECIFIED = 0; + AGENT_STORE_SOURCE_KIND_CLOUD = 1; + AGENT_STORE_SOURCE_KIND_LOCAL = 2; + AGENT_STORE_SOURCE_KIND_AUTOMATION = 3; + AGENT_STORE_SOURCE_KIND_USER = 4; + AGENT_STORE_SOURCE_KIND_TEAM = 5; + AGENT_STORE_SOURCE_KIND_NAMED_AGENT = 6; +} + +// Copied from: local:aiserver.v1.AgentStoreSourceRef (var: n5t) +message AgentStoreSourceRef { + AgentStoreSourceKind kind = 1; + string source_id = 2; +} + +// Copied from: local:aiserver.v1.AgentStoreTombstone (var: fBs) +message AgentStoreTombstone { + string rel_path = 1; + string tombstone_etag = 2; + int64 deleted_at_ms = 3; +} + +// Copied from: local:aiserver.v1.AgentStoreWriteFileEntry (var: fBu) +message AgentStoreWriteFileEntry { + string rel_path = 1; + int64 size_bytes = 2; + string sha = 3; + repeated AgentStoreMultipartUploadPartDescriptor multipart_parts = 6; + oneof precondition { + string base_etag = 4; + bool expect_absent = 5; + } +} + +// Copied from: local:aiserver.v1.AgentStoreWriteInstruction (var: _Bu) +message AgentStoreWriteInstruction { + string rel_path = 1; + string url = 2; + map headers = 3; + int64 expires_at_ms = 4; + optional AgentStoreConflictWriteInstruction conflict = 5; + optional AgentStoreLockRedirect lock_redirect = 6; + optional AgentStoreMultipartWriteInstruction multipart = 7; + bool primary_precondition_failed = 8; +} + +// Copied from: local:aiserver.v1.AgentTelemetryConfig (var: T8u) +message AgentTelemetryConfig { + bool enabled = 1; +} + +// Copied from: local:aiserver.v1.AgentUrlConfig (var: B8u) +message AgentUrlConfig { + string agent_url = 1; + string agentn_url = 2; +} + +// Copied from: local:aiserver.v1.AgentWorkspaceBinding (var: dMi) +message AgentWorkspaceBinding { + string id = 1; + string display_name = 2; + optional PrivateWorkspaceIdentifier private_workspace_identifier = 3; +} + +// Copied from: local:aiserver.v1.AggregateCloudAgentRunsForDashboardRequest (var: MMu) +message AggregateCloudAgentRunsForDashboardRequest { + CloudAgentDashboardRunFilter filter = 1; + int32 tz_offset_minutes = 2; +} + +// Copied from: local:aiserver.v1.AggregateCloudAgentRunsForDashboardResponse (var: LMu) +message AggregateCloudAgentRunsForDashboardResponse { + repeated CloudAgentDashboardRunDayBucket buckets = 1; +} + +// Copied from: agent.v1.AiAttributionError (var: CAl) +message AiAttributionError { + string error = 1; +} + +// Copied from: agent.v1.AiAttributionResult (var: h0i) +message AiAttributionResult { + oneof result { + AiAttributionSuccess success = 1; + AiAttributionError error = 2; + } +} + +// Copied from: agent.v1.AiAttributionSuccess (var: kAl) +message AiAttributionSuccess { + string attribution_text = 1; + optional OutputLocation output_location = 2; +} + +// Copied from: local:aiserver.v1.AiCodeChange (var: BAi) +message AiCodeChange { + string change_id = 1; + string source = 2; + repeated ScoredAiCodeMetadata metadata = 3; + optional string model = 4; + int32 total_lines_added = 5; + int32 total_lines_deleted = 6; +} + +// Copied from: local:aiserver.v1.AiLintBug (var: rwn) +message AiLintBug { + string relative_workspace_path = 1; + string uuid = 8; + string message = 2; + SimpleRange replace_range = 3; + string replace_text = 4; + string replace_initial_text = 5; + SimpleRange reevaluate_range = 6; + string reevaluate_initial_text = 7; + LintGenerator generator = 9; + repeated LintDiscriminatorResult discriminator_results = 10; + LogprobsLintPayload logprobs_payload = 11; +} + +// Copied from: local:aiserver.v1.AiLintInlineSuggestion (var: U) +message AiLintInlineSuggestion { + string relative_workspace_path = 1; + string uuid = 8; + string message = 2; + int32 line_number = 3; + SimpleRange reevaluate_range = 4; + string reevaluate_initial_text = 5; +} + +// Copied from: local:aiserver.v1.AiLintOutOfFlowSuggestion (var: x) +message AiLintOutOfFlowSuggestion { + string relative_workspace_path = 1; + string uuid = 8; + string message = 2; +} + +// Copied from: local:aiserver.v1.AiLintRule (var: kWl) +message AiLintRule { + string text = 1; +} + +// Copied from: local:aiserver.v1.AiProjectAgentInitRequest (var: Ncv) +message AiProjectAgentInitRequest { + ModelDetails model_details = 1; + string prompt = 2; +} + +// Copied from: local:aiserver.v1.AiProjectAgentPlanRequest (var: Bcv) +message AiProjectAgentPlanRequest { + ModelDetails model_details = 1; + repeated PureMessage previous_messages = 3; +} + +// Copied from: local:aiserver.v1.AiProjectAgentPlanResponse (var: iqd) +message AiProjectAgentPlanResponse { + oneof response { + string thought = 1; + string output = 2; + MessagePayload message_payload = 3; + } +} + +// Copied from: local:aiserver.v1.AiProjectBreakdownFeedbackRequest (var: Hcv) +message AiProjectBreakdownFeedbackRequest { + ModelDetails model_details = 1; + repeated PureMessage previous_messages = 2; + string feedback_or_progress = 3; + bool force_move_to_next_step = 4; +} + +// Copied from: local:aiserver.v1.AiProjectBreakdownFeedbackResponse (var: zcv) +message AiProjectBreakdownFeedbackResponse { + oneof response { + AiProjectBreakdownResponse revised_breakdown = 1; + bool repeat_feedback = 2; + } +} + +// Copied from: local:aiserver.v1.AiProjectBreakdownRequest (var: jcv) +message AiProjectBreakdownRequest { + ModelDetails model_details = 1; + string description = 2; + string spec = 3; +} + +// Copied from: local:aiserver.v1.AiProjectBreakdownResponse (var: rqd) +message AiProjectBreakdownResponse { + // Copied from: local:aiserver.v1.AiProjectBreakdownResponse.Step (var: Wcv) + message Step { + int32 step_number = 1; + string step_description = 2; + AiProjectStepType step_type = 3; + } + + oneof response { + string thought = 1; + Step step = 2; + MessagePayload message_payload = 3; + } +} + +// Copied from: local:aiserver.v1.AiProjectClarification (var: Ocv) +message AiProjectClarification { + oneof response { + string output = 1; + string thought = 2; + MessagePayload message_payload = 3; + } +} + +// Copied from: local:aiserver.v1.AiProjectClarificationRequest (var: Fcv) +message AiProjectClarificationRequest { + ModelDetails model_details = 1; + string clarification_response = 2; + repeated PureMessage previous_messages = 3; +} + +// Copied from: local:aiserver.v1.AiProjectClarificationResponse (var: nqd) +message AiProjectClarificationResponse { + oneof response { + AiProjectClarification clarification = 1; + bool repeat_clarification = 2; + } +} + +// Copied from: local:aiserver.v1.AiProjectPlanFeedbackRequest (var: Ucv) +message AiProjectPlanFeedbackRequest { + ModelDetails model_details = 1; + repeated PureMessage previous_messages = 2; + string feedback_or_progress = 3; + bool force_move_to_next_step = 4; +} + +// Copied from: local:aiserver.v1.AiProjectPlanFeedbackResponse (var: $cv) +message AiProjectPlanFeedbackResponse { + oneof response { + AiProjectAgentPlanResponse revised_plan = 1; + bool repeat_feedback = 2; + } +} + +// Copied from: local:aiserver.v1.AiProjectRequest (var: zzl) +message AiProjectRequest { + string description = 1; + ModelDetails model_details = 2; +} + +// Copied from: local:aiserver.v1.AiProjectResponse (var: Vzl) +message AiProjectResponse { + string text = 1; +} + +// Copied from: local:aiserver.v1.AiProjectStepFeedbackRequest (var: Xcv) +message AiProjectStepFeedbackRequest { + // Copied from: local:aiserver.v1.AiProjectStepFeedbackRequest.ModifyCodePayload (var: Jcv) + message ModifyCodePayload { + repeated string files_to_modify = 1; + string feedback_text = 2; + } + + ModelDetails model_details = 1; + string step_description = 2; + string project_plan = 3; + repeated string project_breakdown = 4; + AiProjectStepType step_type = 5; + ShellType shell_type = 6; + repeated PureMessage previous_feedback_messages = 7; + bool force_move_to_next_step = 8; + oneof feedback_payload { + ModifyCodePayload modify_code_payload = 9; + } +} + +// Copied from: local:aiserver.v1.AiProjectStepFeedbackResponse (var: elv) +message AiProjectStepFeedbackResponse { + oneof response { + AiProjectStepResponse response_from_feedback = 1; + bool repeat_feedback = 2; + } +} + +// Copied from: local:aiserver.v1.AiProjectStepFeedbackResponseWrapped (var: tlv) +message AiProjectStepFeedbackResponseWrapped { + oneof response { + AiProjectStepFeedbackResponse real_response = 1; + string background_task_uuid = 2; + } +} + +// Copied from: local:aiserver.v1.AiProjectStepRequest (var: Vcv) +message AiProjectStepRequest { + ModelDetails model_details = 1; + string step_description = 2; + string project_plan = 3; + repeated string project_breakdown = 4; + AiProjectStepType step_type = 5; + ShellType shell_type = 6; +} + +// Copied from: local:aiserver.v1.AiProjectStepResponse (var: sqd) +message AiProjectStepResponse { + // Copied from: local:aiserver.v1.AiProjectStepResponse.CreatingFiles (var: Qcv) + message CreatingFiles { + oneof payload { + string filename = 1; + string directory = 2; + } + } + + // Copied from: local:aiserver.v1.AiProjectStepResponse.ReviseCode (var: qcv) + message ReviseCode { + string thought = 1; + } + + // Copied from: local:aiserver.v1.AiProjectStepResponse.RunTerm (var: Kcv) + message RunTerm { + string command_batch_uuid = 1; + string command = 2; + string response = 3; + string text = 4; + } + + // Copied from: local:aiserver.v1.AiProjectStepResponse.StepPayload (var: Ycv) + message StepPayload { + oneof payload { + AiProjectStepResponse.WriteCode write_code = 5; + AiProjectStepResponse.RunTerm run_term = 6; + AiProjectStepResponse.CreatingFiles creating_files = 7; + AiProjectStepResponse.ReviseCode revise_code = 8; + } + } + + // Copied from: local:aiserver.v1.AiProjectStepResponse.WriteCode (var: Gcv) + message WriteCode { + string filename = 1; + } + + AiProjectStepType step_type = 4; + oneof response { + string thought = 1; + string output = 2; + MessagePayload message_payload = 3; + StepPayload step_payload = 5; + } +} + +// Copied from: local:aiserver.v1.AiProjectStepResponseWrapped (var: Zcv) +message AiProjectStepResponseWrapped { + oneof response { + AiProjectStepResponse real_response = 1; + string background_task_uuid = 2; + } +} + +// Copied from: local:aiserver.v1.AiProjectStepType (var: VHi) +enum AiProjectStepType { + AI_PROJECT_STEP_TYPE_UNSPECIFIED = 0; + AI_PROJECT_STEP_TYPE_READ_WRITE_FILE = 1; + AI_PROJECT_STEP_TYPE_RUN_TERM = 2; + AI_PROJECT_STEP_TYPE_CREATE_RM_FILES = 3; +} + +// Copied from: local:aiserver.v1.AiRequestEvent (var: b7l) +message AiRequestEvent { + // Copied from: local:aiserver.v1.AiRequestEvent.RequestType (var: GBt) + enum RequestType { + REQUEST_TYPE_UNSPECIFIED = 0; + REQUEST_TYPE_START = 1; + REQUEST_TYPE_END = 2; + } + + // Copied from: local:aiserver.v1.AiRequestEvent.Source (var: tne) + enum Source { + SOURCE_UNSPECIFIED = 0; + SOURCE_CHAT = 1; + SOURCE_CMDK = 2; + SOURCE_APPLY = 3; + SOURCE_COMPOSER = 4; + SOURCE_TASK = 5; + SOURCE_CODE_INTERPRETER = 6; + SOURCE_INTERPRETER_EXECUTION = 7; + SOURCE_BUGBOT = 8; + } + + RequestType request_type = 1; + string request_id = 2; + Source source = 3; +} + +// Copied from: local:aiserver.v1.AiThoughtAnnotation (var: yzl) +message AiThoughtAnnotation { + string request_id = 1; + string auth_id = 2; + CmdKDebugInfo debug_info = 3; + string thought = 4; +} + +// Copied from: local:aiserver.v1.AiWebSearchResult (var: HTi) +message AiWebSearchResult { + string content = 1; + string title = 2; +} + +// Copied from: local:aiserver.v1.AiWebSearchResults (var: uxs) +message AiWebSearchResults { + repeated AiWebSearchResult results = 1; +} + +// Copied from: local:aiserver.v1.AllowedMCPConfiguration (var: Qkn) +message AllowedMCPConfiguration { + optional bool disable_all = 1; + repeated AllowedMCPServer allowed_mcp_servers = 2; + optional bool require_mcp_servers_in_team_network_allowlist = 3; + optional bool allow_user_override_mcp_servers = 4; + repeated AllowedMCPServer denied_mcp_servers = 10; + optional bool enable_cursor_cloud_mcp = 11; +} + +// Copied from: local:aiserver.v1.AllowedMCPServer (var: L2s) +message AllowedMCPServer { + optional string command = 1; + optional string server_url = 2; + optional string name = 3; + repeated string network_allowlist = 4; + repeated string tool_allowlist = 5; + optional string network_mode = 6; + optional string tool_allowlist_mode = 7; +} + +// Copied from: local:aiserver.v1.AllowedModelSelection (var: fDi) +message AllowedModelSelection { + // Copied from: local:aiserver.v1.AllowedModelSelection.ModelParameterValue (var: U_u) + message ModelParameterValue { + string id = 1; + string value = 2; + } + + string model_id = 1; + optional bool max_mode = 2; + repeated ModelParameterValue parameters = 3; +} + +// Copied from: local:aiserver.v1.AllowlistConfig (var: USe) +enum AllowlistConfig { + ALLOWLIST_CONFIG_UNSPECIFIED = 0; + ALLOWLIST_CONFIG_ALLOWLIST = 1; + ALLOWLIST_CONFIG_BLOCKLIST = 2; +} + +// Copied from: local:aiserver.v1.AnalyticsContext (var: F$u) +message AnalyticsContext { + optional ClientInfo client = 1; +} + +// Copied from: local:aiserver.v1.AnalyticsEvent (var: L$u) +message AnalyticsEvent { + string event_name = 1; + map event_data = 2; + int64 timestamp = 3; +} + +// Copied from: local:aiserver.v1.AnalyticsPeriod (var: pDi) +message AnalyticsPeriod { + int64 start_date = 1; + int64 end_date = 2; +} + +// Copied from: local:aiserver.v1.AnthropicCyberVerificationStatus (var: LLs) +enum AnthropicCyberVerificationStatus { + ANTHROPIC_CYBER_VERIFICATION_STATUS_UNSPECIFIED = 0; + ANTHROPIC_CYBER_VERIFICATION_STATUS_ACTIVE = 1; + ANTHROPIC_CYBER_VERIFICATION_STATUS_PENDING = 2; + ANTHROPIC_CYBER_VERIFICATION_STATUS_REJECTED = 3; +} + +// Copied from: local:aiserver.v1.AnythingQuickAccessItem (var: x7l) +message AnythingQuickAccessItem { + // Copied from: local:aiserver.v1.AnythingQuickAccessItem.Resource (var: T7l) + message Resource { + optional PointInTimeModel model = 1; + optional IRange range = 2; + optional string uri = 3; + } + + oneof item { + Resource resource = 1; + string separator = 2; + string section = 3; + } +} + +// Copied from: local:aiserver.v1.AnythingQuickAccessSelectionEvent (var: A7l) +message AnythingQuickAccessSelectionEvent { + string query = 1; + repeated AnythingQuickAccessItem items = 2; + repeated int32 selected_indices = 3; +} + +// Copied from: local:aiserver.v1.ApiDetails (var: wVl) +message ApiDetails { + string api_key = 1; + optional bool enable_ghost_mode = 2; +} + +// Copied from: local:aiserver.v1.ApiKey (var: E2s) +message ApiKey { + int32 id = 1; + string masked_key = 2; + string name = 3; + int64 created_at = 4; + optional string service_account_name = 5; + repeated string scopes = 6; + optional int64 expires_at = 7; +} + +// Copied from: agent.v1.ApiKeyCredentials (var: HFe) +message ApiKeyCredentials { + string api_key = 1; + optional string base_url = 2; +} + +// Copied from: agent.v1.AppliedAgentChange (var: tfs) +message AppliedAgentChange { + // Copied from: agent.v1.AppliedAgentChange.ChangeType (var: _Al) + 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: agent.v1.ApplyAgentDiffError (var: yAl) +message ApplyAgentDiffError { + string error = 1; + repeated AppliedAgentChange applied_changes = 2; +} + +// Copied from: local:aiserver.v1.ApplyAgentDiffParams (var: jOt) +message ApplyAgentDiffParams { + string agent_id = 1; +} + +// Copied from: agent.v1.ApplyAgentDiffResult (var: f_n) +message ApplyAgentDiffResult { + oneof result { + ApplyAgentDiffSuccess success = 1; + ApplyAgentDiffError error = 2; + } +} + +// Copied from: agent.v1.ApplyAgentDiffSuccess (var: bAl) +message ApplyAgentDiffSuccess { + repeated AppliedAgentChange applied_changes = 1; +} + +// Copied from: local:aiserver.v1.ApplyAutomationSpecRequest (var: KWu) +message ApplyAutomationSpecRequest { + AutomationDeploySpec spec = 1; +} + +// Copied from: local:aiserver.v1.ApplyAutomationSpecResponse (var: QWu) +message ApplyAutomationSpecResponse { + AutomationWithOwner workflow = 1; + bool created = 2; +} + +// Copied from: local:aiserver.v1.ApplyFullSelfDrivingPrScopedSuggestionRequest (var: lsu) +message ApplyFullSelfDrivingPrScopedSuggestionRequest { + string pr_url = 1; + string stable_key = 2; + string head_commit_sha = 3; + string event_id = 4; +} + +// Copied from: local:aiserver.v1.ApplyFullSelfDrivingPrScopedSuggestionResponse (var: usu) +message ApplyFullSelfDrivingPrScopedSuggestionResponse { + string new_pr_head_sha = 1; + FullSelfDrivingPrScopedSuggestion suggestion = 2; +} + +// Copied from: local:aiserver.v1.ApplyFullSelfDrivingSuggestionRequest (var: Hru) +message ApplyFullSelfDrivingSuggestionRequest { + string pr_url = 1; + string bc_id = 2; + string head_commit_sha = 3; + string stable_key = 4; +} + +// Copied from: local:aiserver.v1.ApplyFullSelfDrivingSuggestionResponse (var: zru) +message ApplyFullSelfDrivingSuggestionResponse { + string new_pr_head_sha = 1; +} + +// Copied from: local:aiserver.v1.ApplyMigrateReindexPluginRepoInternalRequest (var: iAu) +message ApplyMigrateReindexPluginRepoInternalRequest { + int64 publisher_id = 1; + string from_git_url = 2; + string to_git_url = 3; + optional string git_ref = 4; + optional string release_tag = 5; + bool deprecate_removed = 6; +} + +// Copied from: local:aiserver.v1.ApplyMigrateReindexPluginRepoResponse (var: rAu) +message ApplyMigrateReindexPluginRepoResponse { + int32 migrated_count = 1; + int32 created_count = 2; + int32 updated_count = 3; + int32 deprecated_count = 4; + repeated string created_plugin_names = 5; + repeated string updated_plugin_names = 6; + repeated string deprecated_plugin_names = 7; + string to_git_url = 8; +} + +// Copied from: local:aiserver.v1.ApplyReindexPluginRepoInternalRequest (var: ZTu) +message ApplyReindexPluginRepoInternalRequest { + int64 publisher_id = 1; + string git_url = 2; + optional string git_ref = 3; + bool deprecate_removed = 4; + optional string release_tag = 5; +} + +// Copied from: local:aiserver.v1.ApplyReindexPluginRepoResponse (var: XTu) +message ApplyReindexPluginRepoResponse { + int32 created_count = 1; + int32 updated_count = 2; + int32 deprecated_count = 3; + repeated string created_plugin_names = 4; + repeated string updated_plugin_names = 5; + repeated string deprecated_plugin_names = 6; +} + +// Copied from: local:aiserver.v1.ApplyTeamMarketplaceRequiredPluginsRequest (var: QAu) +message ApplyTeamMarketplaceRequiredPluginsRequest { + repeated string plugin_ids = 1; + int64 marketplace_id = 2; +} + +// Copied from: local:aiserver.v1.ApplyTeamMarketplaceRequiredPluginsResponse (var: YAu) +message ApplyTeamMarketplaceRequiredPluginsResponse { + bool success = 1; +} + +// Copied from: local:aiserver.v1.ApprovePluginRequest (var: lAu) +message ApprovePluginRequest { + int64 plugin_id = 1; +} + +// Copied from: local:aiserver.v1.ApprovePluginResponse (var: uAu) +message ApprovePluginResponse { + Plugin plugin = 1; +} + +// Copied from: local:aiserver.v1.ApprovePrAction (var: NWu) +message ApprovePrAction { +} + +// Copied from: local:aiserver.v1.ArchiveBackgroundComposerRequest (var: HMu) +message ArchiveBackgroundComposerRequest { + string bc_id = 1; + bool unarchive = 2; + bool only_notify_runner = 3; + BackgroundComposerSource source = 4; + optional bool close_pull_request = 5; +} + +// Copied from: local:aiserver.v1.ArchiveBackgroundComposerResponse (var: zMu) +message ArchiveBackgroundComposerResponse { + bool closed_pull_request = 1; +} + +// Copied from: local:aiserver.v1.ArchiveRepoBackgroundComposersRequest (var: VMu) +message ArchiveRepoBackgroundComposersRequest { + repeated string repo_urls = 1; + optional int32 team_id = 2; + BackgroundComposerSource source = 3; + bool dry_run = 4; + bool remove_repo_environment_json = 5; +} + +// Copied from: local:aiserver.v1.ArchiveRepoBackgroundComposersResponse (var: GMu) +message ArchiveRepoBackgroundComposersResponse { + repeated string archived_bc_ids = 1; + repeated string failed_bc_ids = 2; + int32 remaining_count = 3; + int32 running_count = 4; + bool has_repo_environment_json = 5; + bool removed_repo_environment_json = 6; +} + +// Copied from: local:aiserver.v1.ArchiveTeamServiceAccountRequest (var: nfu) +message ArchiveTeamServiceAccountRequest { + int32 team_id = 1; + string service_account_id = 2; +} + +// Copied from: local:aiserver.v1.ArchiveTeamServiceAccountResponse (var: ifu) +message ArchiveTeamServiceAccountResponse { +} + +// Copied from: local:aiserver.v1.AskOracleRequest (var: xuv) +message AskOracleRequest { + string answer = 1; +} + +// Copied from: local:aiserver.v1.AskOracleResponse (var: Tuv) +message AskOracleResponse { + string question = 1; + SubAgent original_sub_agent = 2; +} + +// Copied from: agent.v1.AskQuestionArgs (var: aBt) +message AskQuestionArgs { + // Copied from: agent.v1.AskQuestionArgs.Option (var: K0s) + message Option { + string id = 1; + string label = 2; + } + + // Copied from: agent.v1.AskQuestionArgs.Question (var: q0s) + 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: agent.v1.AskQuestionInteractionQuery (var: z9l) +message AskQuestionInteractionQuery { + AskQuestionArgs args = 1; + string tool_call_id = 2; +} + +// Copied from: agent.v1.AskQuestionInteractionResponse (var: GFe) +message AskQuestionInteractionResponse { + AskQuestionResult result = 1; +} + +// Copied from: local:aiserver.v1.AskQuestionParams (var: Mpe) +message AskQuestionParams { + // Copied from: local:aiserver.v1.AskQuestionParams.Option (var: l1i) + message Option { + string id = 1; + string label = 2; + } + + // Copied from: local:aiserver.v1.AskQuestionParams.Question (var: c1i) + message Question { + string id = 1; + string prompt = 2; + repeated AskQuestionParams.Option options = 3; + bool allow_multiple = 4; + } + + string title = 1; + repeated Question questions = 2; + bool run_async = 3; +} + +// Copied from: local:aiserver.v1.AskQuestionResult (var: iZ) +message AskQuestionResult { + // Copied from: local:aiserver.v1.AskQuestionResult.Answer (var: u1i) + message Answer { + string question_id = 1; + repeated string selected_option_ids = 2; + optional string freeform_text = 3; + } + + repeated Answer answers = 1; + bool is_async = 2; +} + +// Copied from: local:aiserver.v1.AskQuestionStream (var: O_s) +message AskQuestionStream { + AskQuestionParams params = 1; +} + +// Copied from: local:aiserver.v1.AskUserRequest (var: Auv) +message AskUserRequest { + string answer = 1; +} + +// Copied from: local:aiserver.v1.AskUserResponse (var: Iuv) +message AskUserResponse { + string question = 1; +} + +// Copied from: local:aiserver.v1.AssignmentResult (var: w0u) +message AssignmentResult { + string email = 1; + string group_name = 2; + bool success = 3; + optional string error_message = 4; +} + +// Copied from: agent.v1.AsyncAskQuestionCompletionAction (var: pEs) +message AsyncAskQuestionCompletionAction { + string original_tool_call_id = 1; + AskQuestionArgs original_args = 2; + AskQuestionResult result = 3; +} + +// Copied from: local:aiserver.v1.AtSymbolDependencyInformation (var: WHl) +message AtSymbolDependencyInformation { + string name = 1; + string from_file = 2; +} + +// Copied from: local:aiserver.v1.AtSymbolOption (var: jHl) +message AtSymbolOption { + int32 index = 1; + string text = 2; + string type = 3; +} + +// Copied from: local:aiserver.v1.AttachAgentStartupTraceRequest (var: YFu) +message AttachAgentStartupTraceRequest { + string bc_id = 1; + optional string last_event_id = 2; +} + +// Copied from: local:aiserver.v1.AttachAgentStartupTraceResponse (var: ZFu) +message AttachAgentStartupTraceResponse { + string event_id = 1; + AgentStartupTraceEvent trace_event = 3; +} + +// Copied from: local:aiserver.v1.AttachBackgroundComposerLogsRequest (var: MPu) +message AttachBackgroundComposerLogsRequest { + string bc_id = 1; + optional string last_event_id = 2; + optional uint32 worker_index = 3; + optional string last_docker_build_event_id = 4; + optional string last_setup_event_id = 5; + optional string associated_pod_key = 6; +} + +// Copied from: local:aiserver.v1.AttachBackgroundComposerLogsResponse (var: PPu) +message AttachBackgroundComposerLogsResponse { + // Copied from: local:aiserver.v1.AttachBackgroundComposerLogsResponse.Event (var: LPu) + message Event { + string event_id = 1; + PodEvent event = 2; + WaterfallUpdate waterfall_update = 3; + } + + Event event = 1; + PodStatus updated_status = 2; + ErrorDetails start_error = 3; +} + +// Copied from: local:aiserver.v1.AttachBackgroundComposerPodRequest (var: ZDu) +message AttachBackgroundComposerPodRequest { + string pod_id = 1; + optional string last_event_id = 2; +} + +// Copied from: local:aiserver.v1.AttachBackgroundComposerPodResponse (var: XDu) +message AttachBackgroundComposerPodResponse { + // Copied from: local:aiserver.v1.AttachBackgroundComposerPodResponse.Event (var: JDu) + message Event { + string event_id = 1; + PodEvent event = 2; + } + + Event event = 1; + PodStatus updated_status = 2; +} + +// Copied from: local:aiserver.v1.AttachBackgroundComposerRequest (var: NPu) +message AttachBackgroundComposerRequest { + string bc_id = 1; + optional int32 starting_index = 2; +} + +// Copied from: local:aiserver.v1.AttachBackgroundComposerResponse (var: OPu) +message AttachBackgroundComposerResponse { + HeadlessAgenticComposerResponse headless_agentic_composer_response = 1; + HeadlessAgenticComposerPrompt prompt = 2; + string starting_commit = 4; + string base_branch = 5; + BackgroundComposerStatus status_update = 6; + GitDiff diff_since_start = 3; +} + +// Copied from: local:aiserver.v1.AttachEnvironmentBuildLogRequest (var: P2u) +message AttachEnvironmentBuildLogRequest { + string build_id = 1; + optional string cursor = 2; +} + +// Copied from: local:aiserver.v1.AttachEnvironmentBuildLogResponse (var: L2u) +message AttachEnvironmentBuildLogResponse { + string text = 1; + string next_cursor = 2; + EnvironmentBuildRowStatus status = 3; + bool log_complete = 4; +} + +// Copied from: local:aiserver.v1.AttributionControls (var: nNs) +message AttributionControls { + bool disable_attribution = 1; +} + +// Copied from: local:aiserver.v1.AuditLogEvent (var: ANs) +message AuditLogEvent { + int64 id = 1; + string created_at = 2; + string event_id = 3; + string timestamp = 4; + string request_id = 5; + string auth_id = 6; + bool ghost_mode = 7; + string team_id = 8; + string ip_address = 9; + string user_email = 10; + string event_type = 11; + string event_data = 12; + string org_id = 13; +} + +// Copied from: local:aiserver.v1.AutoContextConfig (var: S8u) +message AutoContextConfig { + bool enabled = 1; + bool enabled_fallback = 2; + bool enabled_git_graph = 3; + bool enabled_sem_search = 4; + bool enabled_v2 = 5; +} + +// Copied from: local:aiserver.v1.AutoContextFile (var: cHl) +message AutoContextFile { + string relative_workspace_path = 1; + string file_content = 2; +} + +// Copied from: local:aiserver.v1.AutoContextRankedFile (var: uHl) +message AutoContextRankedFile { + string relative_workspace_path = 1; + float reranking_score = 2; +} + +// Copied from: local:aiserver.v1.AutoContextRequest (var: lHl) +message AutoContextRequest { + string text = 1; + repeated AutoContextFile candidate_files = 2; + ModelDetails model_details = 3; +} + +// Copied from: local:aiserver.v1.AutoContextResponse (var: dHl) +message AutoContextResponse { + repeated AutoContextRankedFile ranked_files = 1; +} + +// Copied from: local:aiserver.v1.AutoCreatePrMode (var: bcu) +enum AutoCreatePrMode { + AUTO_CREATE_PR_MODE_UNSPECIFIED = 0; + AUTO_CREATE_PR_MODE_ALWAYS = 1; + AUTO_CREATE_PR_MODE_SINGLE = 2; + AUTO_CREATE_PR_MODE_NEVER = 3; +} + +// Copied from: local:aiserver.v1.AutoCreatePrSetting (var: JOs) +enum AutoCreatePrSetting { + AUTO_CREATE_PR_SETTING_UNSPECIFIED = 0; + AUTO_CREATE_PR_SETTING_ALWAYS = 1; + AUTO_CREATE_PR_SETTING_SINGLE = 2; + AUTO_CREATE_PR_SETTING_NEVER = 3; +} + +// Copied from: local:aiserver.v1.AutoReviewInstructions (var: nmt) +message AutoReviewInstructions { + repeated string allow_instructions = 1; + repeated string block_instructions = 2; +} + +// Copied from: local:aiserver.v1.AutoRunControls (var: yBe) +message AutoRunControls { + bool enabled = 1; + repeated string allowed = 2; + repeated string blocked = 3; + bool disable_mcp_auto_run = 4; + bool delete_file_protection = 5; + bool enable_run_everything = 6; + repeated string mcp_tool_allowlist = 7; + AutoRunSandboxingControls sandboxing_controls = 8; + bool browser_protection = 9; + optional bool enable_smart_auto = 10; + optional bool enable_allowlist_mode = 11; + AdminCommandDenylist admin_command_denylist = 12; +} + +// Copied from: local:aiserver.v1.AutoRunSandboxingControls (var: tbu) +message AutoRunSandboxingControls { + SandboxingMode sandboxing = 1; + NetworkingMode sandbox_networking = 2; + GitMode sandbox_git = 3; + SandboxReadBoundaryMode sandbox_read_boundary = 4; + repeated string sandbox_read_allowlist_paths = 5; +} + +// Copied from: local:aiserver.v1.AutoSelectionInstructions (var: ZHl) +message AutoSelectionInstructions { + string text = 1; + int32 start_line = 2; + int32 end_line = 3; +} + +// Copied from: local:aiserver.v1.AutoSelectionResult (var: XHl) +message AutoSelectionResult { + int32 start_line = 1; + int32 end_line = 2; + repeated AutoSelectionInstructions instructions = 3; +} + +// Copied from: local:aiserver.v1.Automation (var: D9s) +message Automation { + string name = 2; + bool enabled = 3; + Workflow workflow = 4; + int64 created_at = 5; + int64 updated_at = 6; + optional string description = 7; + string automation_id = 8; + AutomationScope scope = 9; + optional string service_account_id = 10; + AutomationManagedBy managed_by = 11; + optional string deploy_key = 12; + optional int64 deploy_last_applied_at = 13; + optional string deploy_last_apply_error = 14; + optional string managed_type = 15; + optional bool hidden = 16; + optional string template_id = 17; +} + +// Copied from: local:aiserver.v1.AutomationCreationSource (var: HLi) +enum AutomationCreationSource { + AUTOMATION_CREATION_SOURCE_UNSPECIFIED = 0; + AUTOMATION_CREATION_SOURCE_PORTAL_WEB = 1; + AUTOMATION_CREATION_SOURCE_GLASS_UI = 2; + AUTOMATION_CREATION_SOURCE_SKILL_MCP = 3; + AUTOMATION_CREATION_SOURCE_CONFIG_AS_CODE = 4; +} + +// Copied from: local:aiserver.v1.AutomationDefaultTool (var: Cju) +enum AutomationDefaultTool { + AUTOMATION_DEFAULT_TOOL_UNSPECIFIED = 0; + AUTOMATION_DEFAULT_TOOL_OPEN_GIT_PR = 1; +} + +// Copied from: local:aiserver.v1.AutomationDeploySource (var: VWu) +message AutomationDeploySource { + string kind = 1; + optional string repo_instance_key = 2; + optional string repo_node_id = 3; + optional string repo_name = 4; + optional string path = 5; + optional string ref = 6; + optional string commit_sha = 7; + optional string tool_version = 8; +} + +// Copied from: local:aiserver.v1.AutomationDeploySpec (var: u9s) +message AutomationDeploySpec { + int32 version = 1; + AutomationDeploySource source = 2; + string key = 3; + string name = 4; + optional string description = 5; + bool enabled = 6; + AutomationScope scope = 7; + Workflow workflow = 8; + optional AutomationManagedBy managed_by = 9; +} + +// Copied from: local:aiserver.v1.AutomationFilterDecision (var: l9s) +enum AutomationFilterDecision { + AUTOMATION_FILTER_DECISION_UNSPECIFIED = 0; + AUTOMATION_FILTER_DECISION_ALLOW = 1; + AUTOMATION_FILTER_DECISION_BLOCK = 2; + AUTOMATION_FILTER_DECISION_ERROR = 3; +} + +// Copied from: local:aiserver.v1.AutomationManagedBy (var: zLi) +enum AutomationManagedBy { + AUTOMATION_MANAGED_BY_UNSPECIFIED = 0; + AUTOMATION_MANAGED_BY_UI = 1; + AUTOMATION_MANAGED_BY_DEPLOY = 2; + AUTOMATION_MANAGED_BY_ANY = 3; +} + +// Copied from: local:aiserver.v1.AutomationMcpAuthState (var: rHu) +message AutomationMcpAuthState { + optional int64 server_id = 1; + string server_name = 2; + McpAuthState auth_state = 3; +} + +// Copied from: local:aiserver.v1.AutomationRun (var: KLi) +message AutomationRun { + string background_composer_id = 3; + string namespaced_workflow_id = 4; + Workflow workflow = 5; + int64 created_at = 6; + int64 updated_at = 7; + optional PlatformActionsPayload platform_actions = 8; + optional TriggerMetadataPayload trigger_metadata = 9; + string uuid = 10; + string automation_id = 11; + AutomationRunStatus status = 12; + string error_message = 13; + optional AutomationRunFailureDetails failure_details = 14; + optional int64 completed_at = 15; + optional AutomationFilterDecision filter_decision = 16; + optional string filter_rationale = 17; + optional string filter_error_message = 18; + bool can_retry = 19; + optional string retry_ineligible_reason = 20; + optional AutomationRunRetryIneligibleReason retry_ineligible_reason_code = 21; + optional string skip_reason = 22; +} + +// Copied from: local:aiserver.v1.AutomationRunFailureCode (var: Nju) +enum AutomationRunFailureCode { + AUTOMATION_RUN_FAILURE_CODE_UNSPECIFIED = 0; + AUTOMATION_RUN_FAILURE_CODE_UNAUTHENTICATED_REPO_ACCESS = 2; + AUTOMATION_RUN_FAILURE_CODE_RESOURCE_EXHAUSTED = 3; + AUTOMATION_RUN_FAILURE_CODE_UNAVAILABLE = 4; + AUTOMATION_RUN_FAILURE_CODE_CI_SIGNAL_FAILURE = 5; + AUTOMATION_RUN_FAILURE_CODE_UNKNOWN = 6; + AUTOMATION_RUN_FAILURE_CODE_FAILED_TO_START_AGENT = 7; + AUTOMATION_RUN_FAILURE_CODE_CANCELLED_BY_USER = 8; + AUTOMATION_RUN_FAILURE_CODE_CANCELLED_AUTOMATION_DISABLED = 9; + AUTOMATION_RUN_FAILURE_CODE_CONCURRENT_LIMIT_EXCEEDED = 10; + AUTOMATION_RUN_FAILURE_CODE_BRANCH_NOT_FOUND = 11; + AUTOMATION_RUN_FAILURE_CODE_MODEL_BLOCKED = 12; + AUTOMATION_RUN_FAILURE_CODE_PRIVATE_WORKERS_DISABLED = 13; + AUTOMATION_RUN_FAILURE_CODE_PRIVATE_WORKER_RESOURCE_EXHAUSTED = 14; + AUTOMATION_RUN_FAILURE_CODE_GITHUB_IP_ALLOWLIST = 15; + AUTOMATION_RUN_FAILURE_CODE_INVALID_REQUEST = 16; + AUTOMATION_RUN_FAILURE_CODE_CLOUD_AGENT_PLAN_RESTRICTED = 17; + AUTOMATION_RUN_FAILURE_CODE_PRIVATE_WORKER_MISSING_REPO = 18; + AUTOMATION_RUN_FAILURE_CODE_ENVIRONMENT_BUILD_FAILED = 19; + AUTOMATION_RUN_FAILURE_CODE_FORK_PR_UNSUPPORTED = 20; + AUTOMATION_RUN_FAILURE_CODE_PROTECTED_SCOPE_BLOCKED = 21; + AUTOMATION_RUN_FAILURE_CODE_CANCELLED_SUPERSEDED_BY_NEWER_EVENT = 22; + AUTOMATION_RUN_FAILURE_CODE_USER_BLOCKED = 23; + AUTOMATION_RUN_FAILURE_CODE_PAYLOAD_TOO_LARGE = 24; +} + +// Copied from: local:aiserver.v1.AutomationRunFailureDetails (var: SHu) +message AutomationRunFailureDetails { + AutomationRunFailureCode code = 1; + string title = 2; + string message = 3; + optional string cta_label = 4; + optional string cta_path = 5; +} + +// Copied from: local:aiserver.v1.AutomationRunListKind (var: c9s) +enum AutomationRunListKind { + AUTOMATION_RUN_LIST_KIND_UNSPECIFIED = 0; + AUTOMATION_RUN_LIST_KIND_EXECUTION_RUNS = 1; + AUTOMATION_RUN_LIST_KIND_FILTER_EVALUATIONS = 2; +} + +// Copied from: local:aiserver.v1.AutomationRunRetryIneligibleReason (var: Oju) +enum AutomationRunRetryIneligibleReason { + AUTOMATION_RUN_RETRY_INELIGIBLE_REASON_UNSPECIFIED = 0; + AUTOMATION_RUN_RETRY_INELIGIBLE_REASON_LAUNCH_CONTEXT_MISSING = 1; + AUTOMATION_RUN_RETRY_INELIGIBLE_REASON_PERMISSION_DENIED = 2; +} + +// Copied from: local:aiserver.v1.AutomationRunStatus (var: Lju) +enum AutomationRunStatus { + AUTOMATION_RUN_STATUS_UNSPECIFIED = 0; + AUTOMATION_RUN_STATUS_RUNNING = 1; + AUTOMATION_RUN_STATUS_FAILED = 2; + AUTOMATION_RUN_STATUS_SUCCEEDED = 3; + AUTOMATION_RUN_STATUS_SKIPPED = 4; +} + +// Copied from: local:aiserver.v1.AutomationScope (var: L0n) +enum AutomationScope { + AUTOMATION_SCOPE_UNSPECIFIED = 0; + AUTOMATION_SCOPE_USER = 1; + AUTOMATION_SCOPE_TEAM = 2; + AUTOMATION_SCOPE_TEAM_VISIBLE = 3; + AUTOMATION_SCOPE_TEAM_EDITABLE = 4; + AUTOMATION_SCOPE_TEAM_EDITABLE_USER = 5; +} + +// Copied from: local:aiserver.v1.AutomationWithOwner (var: dKe) +message AutomationWithOwner { + Automation workflow = 1; + int32 user_id = 2; + string owner_name = 3; + repeated AutomationMcpAuthState mcp_auth_states = 4; + optional int32 team_id = 5; +} + +// Copied from: local:aiserver.v1.AutopilotActionRequest (var: yuv) +message AutopilotActionRequest { + oneof type { + TerminalCommandRequest terminal_command = 1; + WebSearchRequest web_search = 2; + AskUserRequest ask_user = 3; + AskOracleRequest ask_oracle = 4; + FileEditRequest file_edit = 5; + OpenFileRequest open_file = 6; + } +} + +// Copied from: local:aiserver.v1.AutopilotActionResponse (var: fuv) +message AutopilotActionResponse { + oneof response { + TerminalCommandResponse terminal_command = 1; + WebSearchResponse web_search = 2; + AskUserResponse ask_user = 3; + AskOracleResponse ask_oracle = 4; + FileEditResponse file_edit = 5; + OpenFileResponse open_file = 6; + } +} + +// Copied from: local:aiserver.v1.AutopilotContinue (var: Fuv) +message AutopilotContinue { +} + +// Copied from: local:aiserver.v1.AutopilotDone (var: dqd) +message AutopilotDone { +} + +// Copied from: local:aiserver.v1.AutopilotDoneSubAgent (var: Buv) +message AutopilotDoneSubAgent { + string response = 1; +} + +// Copied from: local:aiserver.v1.AutopilotError (var: Suv) +message AutopilotError { + string error = 1; +} + +// Copied from: local:aiserver.v1.AutopilotFile (var: _uv) +message AutopilotFile { + string absolute_path = 1; + string content = 2; +} + +// Copied from: local:aiserver.v1.AutopilotPause (var: Nuv) +message AutopilotPause { +} + +// Copied from: local:aiserver.v1.AutopilotPaused (var: Luv) +message AutopilotPaused { + string response = 1; +} + +// Copied from: local:aiserver.v1.AutopilotRequest (var: buv) +message AutopilotRequest { + string request_id = 1; + string working_directory = 7; + repeated string current_directory_files = 8; + repeated AutopilotFile related_files = 9; + oneof request { + AutopilotActionRequest action = 4; + AutopilotStart start = 5; + AutopilotPause pause = 11; + AutopilotDone done = 6; + AutopilotContinue continue = 12; + AutopilotError error = 10; + } +} + +// Copied from: local:aiserver.v1.AutopilotResponse (var: guv) +message AutopilotResponse { + oneof response { + AutopilotActionResponse action = 1; + AutopilotDone done = 2; + AutopilotStreamThought stream_thought = 3; + AutopilotStartSubAgent start_sub_agent = 4; + AutopilotDoneSubAgent done_sub_agent = 5; + RawResponse raw_response = 10; + AutopilotPaused paused = 11; + } +} + +// Copied from: local:aiserver.v1.AutopilotStart (var: Ouv) +message AutopilotStart { + string task = 1; +} + +// Copied from: local:aiserver.v1.AutopilotStartSubAgent (var: Uuv) +message AutopilotStartSubAgent { + string task = 1; + SubAgent sub_agent = 2; +} + +// Copied from: local:aiserver.v1.AutopilotStreamThought (var: $uv) +message AutopilotStreamThought { + string thought = 1; +} + +// Copied from: local:aiserver.v1.AvailableCppModelsRequest (var: r$l) +message AvailableCppModelsRequest { +} + +// Copied from: local:aiserver.v1.AvailableCppModelsResponse (var: s$l) +message AvailableCppModelsResponse { + repeated string models = 1; + optional string default_model = 2; +} + +// Copied from: local:aiserver.v1.AvailableDocsRequest (var: VVl) +message AvailableDocsRequest { + repeated string additional_doc_identifiers = 4; + oneof partial_doc { + string partial_url = 1; + string partial_doc_name = 2; + bool get_all = 3; + } +} + +// Copied from: local:aiserver.v1.AvailableDocsResponse (var: GVl) +message AvailableDocsResponse { + repeated DocumentationInfo docs = 1; +} + +// Copied from: local:aiserver.v1.AvailableModelsRequest (var: NIs) +message AvailableModelsRequest { + bool is_nightly = 1; + bool include_long_context_models = 2; + bool exclude_max_named_models = 3; + repeated string additional_model_names = 4; + optional bool use_model_parameters = 5; + optional bool include_hidden_models = 6; + optional bool do_not_use_markdown = 7; + optional bool variants_will_be_shown_in_exploded_list = 8; + optional bool for_automations = 9; + optional AvailableModelsScope scope = 10; + optional bool byok_enabled = 14; + optional bool use_react_model_picker = 11; + optional bool use_cloud_agent_effort_modes = 12; + optional string admin_settings_group_public_id = 13; +} + +// Copied from: local:aiserver.v1.AvailableModelsResponse (var: aGl) +message AvailableModelsResponse { + // Copied from: local:aiserver.v1.AvailableModelsResponse.AvailableModel (var: LAi) + message AvailableModel { + string name = 1; + bool default_on = 2; + optional bool is_long_context_only = 3; + optional bool is_chat_only = 4; + optional bool supports_agent = 5; + optional AvailableModelsResponse.DegradationStatus degradation_status = 6; + optional double price = 7; + optional AvailableModelsResponse.TooltipData tooltip_data = 8; + optional AvailableModelsResponse.TooltipData tooltip_data_for_max_mode = 20; + optional bool supports_thinking = 9; + optional bool supports_images = 10; + optional bool supports_auto_context = 11; + optional int32 auto_context_max_tokens = 12; + optional int32 auto_context_extended_max_tokens = 13; + optional bool supports_max_mode = 14; + optional bool supports_non_max_mode = 19; + optional int32 context_token_limit = 15; + optional int32 context_token_limit_for_max_mode = 16; + optional string client_display_name = 17; + optional string server_model_name = 18; + optional bool is_recommended_for_background_composer = 21; + optional bool supports_plan_mode = 22; + optional bool supports_sandboxing = 25; + optional bool is_user_added = 23; + optional string inputbox_short_model_name = 24; + optional bool supports_cmd_k = 26; + optional bool only_supports_cmd_k = 27; + optional int32 background_composer_sort_order = 28; + repeated ModelParameterDefinition parameter_definitions = 29; + repeated AvailableModelsResponse.ModelVariantConfig variants = 30; + optional CloudAgentEffortMode cloud_agent_effort_mode = 32; + optional string cloud_migrate_to_model = 33; + optional string upgrade_model_id = 34; + optional bool is_hidden = 35; + repeated string legacy_slugs = 36; + repeated string id_aliases = 37; + optional int32 named_model_section_index = 38; + optional string tagline = 39; + optional bool visible_in_routed_model_view = 40; + optional string vendor_name = 41; + optional AvailableModelsResponse.ModelVendor vendor = 42; + optional bool default_disabled_in_admin_allowlist = 43; + repeated CloudAgentEffortMode cloud_agent_effort_modes = 44; + optional bool supports_smart_mode_classifier = 45; + optional bool requires_data_retention = 46; + optional string reason_for_zdr_consent_block = 47; + repeated AvailableModelsResponse.ModelPickerBadge model_picker_badges = 48; + } + + // Copied from: local:aiserver.v1.AvailableModelsResponse.ConfirmationDialogue (var: dGl) + message ConfirmationDialogue { + // Copied from: local:aiserver.v1.AvailableModelsResponse.ConfirmationDialogue.Presentation (var: hGl) + enum Presentation { + PRESENTATION_UNSPECIFIED = 0; + PRESENTATION_POST_PICKER_WARNING = 1; + } + + string title = 1; + string body = 2; + string key = 3; + bool blocks_submission = 4; + optional Presentation presentation = 5; + } + + // Copied from: local:aiserver.v1.AvailableModelsResponse.DegradationStatus (var: NGe) + enum DegradationStatus { + DEGRADATION_STATUS_UNSPECIFIED = 0; + DEGRADATION_STATUS_DEGRADED = 1; + DEGRADATION_STATUS_DISABLED = 2; + } + + // Copied from: local:aiserver.v1.AvailableModelsResponse.FeatureModelConfig (var: YFe) + message FeatureModelConfig { + string default_model = 1; + repeated string fallback_models = 2; + repeated string best_of_n_default_models = 3; + } + + // Copied from: local:aiserver.v1.AvailableModelsResponse.ModelPickerBadge (var: OIs) + message ModelPickerBadge { + // Copied from: local:aiserver.v1.AvailableModelsResponse.ModelPickerBadge.Variant (var: lGl) + enum Variant { + VARIANT_UNSPECIFIED = 0; + VARIANT_ACCENT = 1; + VARIANT_NEUTRAL = 2; + VARIANT_SUCCESS = 3; + VARIANT_WARN = 4; + VARIANT_DANGER = 5; + } + + string label = 1; + Variant variant = 2; + bool dismiss_on_selection = 3; + } + + // Copied from: local:aiserver.v1.AvailableModelsResponse.ModelPickerDisplayConfiguration (var: pGl) + message ModelPickerDisplayConfiguration { + // Copied from: local:aiserver.v1.AvailableModelsResponse.ModelPickerDisplayConfiguration.NamedModelsViewConfig (var: vGl) + message NamedModelsViewConfig { + // Copied from: local:aiserver.v1.AvailableModelsResponse.ModelPickerDisplayConfiguration.NamedModelsViewConfig.NamedViewToRoutedModelViewButton (var: yGl) + message NamedViewToRoutedModelViewButton { + string markdown = 1; + } + + // Copied from: local:aiserver.v1.AvailableModelsResponse.ModelPickerDisplayConfiguration.NamedModelsViewConfig.NamedViewToRoutedModelViewNoButton (var: _Gl) + message NamedViewToRoutedModelViewNoButton { + } + + // Copied from: local:aiserver.v1.AvailableModelsResponse.ModelPickerDisplayConfiguration.NamedModelsViewConfig.NamedViewToRoutedModelViewToggle (var: bGl) + message NamedViewToRoutedModelViewToggle { + string markdown = 1; + } + + optional NamedViewToRoutedModelViewToggle named_view_to_routed_model_view_toggle = 2; + optional NamedViewToRoutedModelViewNoButton named_view_to_routed_model_view_no_button = 3; + optional NamedViewToRoutedModelViewButton named_view_to_routed_model_view_button = 4; + } + + // Copied from: local:aiserver.v1.AvailableModelsResponse.ModelPickerDisplayConfiguration.RoutedModelViewConfig (var: mGl) + message RoutedModelViewConfig { + // Copied from: local:aiserver.v1.AvailableModelsResponse.ModelPickerDisplayConfiguration.RoutedModelViewConfig.RoutedModelViewToNamedViewButton (var: fGl) + message RoutedModelViewToNamedViewButton { + string markdown = 1; + } + + // Copied from: local:aiserver.v1.AvailableModelsResponse.ModelPickerDisplayConfiguration.RoutedModelViewConfig.RoutedModelViewToNamedViewToggle (var: gGl) + message RoutedModelViewToNamedViewToggle { + string title_markdown = 1; + optional string subtitle = 2; + optional bool set_to_last_named_model = 3; + } + + optional string title = 1; + optional RoutedModelViewToNamedViewToggle routed_model_view_to_named_view_toggle = 2; + optional RoutedModelViewToNamedViewButton routed_model_view_to_named_view_button = 3; + optional bool hide_search_bar = 4; + optional bool hide_routed_model_view = 5; + } + + RoutedModelViewConfig routed_model_view_config = 1; + NamedModelsViewConfig named_models_view_config = 2; + optional bool hide_search_bar = 3; + optional bool hide_add_models = 4; + optional string model_selection_restriction_message = 5; + } + + // Copied from: local:aiserver.v1.AvailableModelsResponse.ModelVariantConfig (var: uGl) + message ModelVariantConfig { + repeated RequestedModel.ModelParameterValue parameter_values = 1; + string display_name = 2; + optional string display_name_outside_picker = 8; + bool is_max_mode = 3; + optional bool is_default_max_config = 4; + optional bool is_default_non_max_config = 5; + optional AvailableModelsResponse.TooltipData tooltip_data = 6; + optional string tagline = 7; + optional string variant_string_representation = 9; + optional AvailableModelsResponse.ConfirmationDialogue confirmation_dialogue = 10; + optional string legacy_slug = 11; + } + + // Copied from: local:aiserver.v1.AvailableModelsResponse.ModelVendor (var: cGl) + message ModelVendor { + AvailableModelsResponse.ModelVendorId id = 1; + string display_name = 2; + } + + // Copied from: local:aiserver.v1.AvailableModelsResponse.ModelVendorId (var: QBt) + enum ModelVendorId { + MODEL_VENDOR_ID_UNSPECIFIED = 0; + MODEL_VENDOR_ID_ANTHROPIC = 1; + MODEL_VENDOR_ID_OPENAI = 2; + MODEL_VENDOR_ID_GOOGLE = 3; + MODEL_VENDOR_ID_XAI = 4; + MODEL_VENDOR_ID_MOONSHOT = 5; + MODEL_VENDOR_ID_CURSOR = 6; + MODEL_VENDOR_ID_NVIDIA = 7; + MODEL_VENDOR_ID_ZAI = 8; + MODEL_VENDOR_ID_META = 9; + } + + // Copied from: local:aiserver.v1.AvailableModelsResponse.TooltipData (var: PAi) + message TooltipData { + string primary_text = 1; + string secondary_text = 2; + bool secondary_warning_text = 3; + string icon = 4; + string tertiary_text = 5; + string tertiary_text_url = 6; + optional string markdown_content = 7; + } + + repeated AvailableModel models = 2; + repeated string model_names = 1; + optional FeatureModelConfig composer_model_config = 4; + optional FeatureModelConfig cmd_k_model_config = 5; + optional FeatureModelConfig background_composer_model_config = 6; + optional FeatureModelConfig plan_execution_model_config = 7; + optional FeatureModelConfig spec_model_config = 8; + optional FeatureModelConfig deep_search_model_config = 9; + optional FeatureModelConfig quick_agent_model_config = 10; + map subagent_model_configs = 16; + bool use_model_parameters = 11; + optional int32 disable_unused_models_after_n_hours = 12; + optional int32 upgrade_unchanged_models_after_n_hours = 13; + ModelPickerDisplayConfiguration display_configuration = 15; + optional string experimental_model_id = 19; + optional string experimental_model_display_name = 20; + optional string nudge_new_chats_to_auto_optimize_for = 21; +} + +// Copied from: local:aiserver.v1.AvailableModelsScope (var: KWl) +enum AvailableModelsScope { + AVAILABLE_MODELS_SCOPE_UNSPECIFIED = 0; + AVAILABLE_MODELS_SCOPE_USER_AVAILABLE = 1; + AVAILABLE_MODELS_SCOPE_AUTOMATIONS = 2; + AVAILABLE_MODELS_SCOPE_ADMIN_SETTINGS_ALL_APPLICATION_MODELS = 3; +} + +// Copied from: local:aiserver.v1.AwaitTaskParams (var: t1i) +message AwaitTaskParams { + repeated string ids = 1; +} + +// Copied from: local:aiserver.v1.AwaitTaskResult (var: g_s) +message AwaitTaskResult { + // Copied from: local:aiserver.v1.AwaitTaskResult.TaskResultItem (var: f_s) + message TaskResultItem { + string task_id = 1; + TaskResult.CompletedTaskResult result = 2; + } + + repeated TaskResultItem task_results = 1; + repeated string missing_task_ids = 2; +} + +// Copied from: local:aiserver.v1.AwaitTaskStream (var: v_s) +message AwaitTaskStream { +} + +// Copied from: agent.v1.AzureCredentials (var: zFe) +message AzureCredentials { + string api_key = 1; + string base_url = 2; + string deployment = 3; +} + +// Copied from: local:aiserver.v1.AzureState (var: d$r) +message AzureState { + string api_key = 1; + string base_url = 2; + string deployment = 3; + bool use_azure = 4; +} + +// Copied from: local:aiserver.v1.BM25Chunk (var: Gbc) +message BM25Chunk { + string content = 1; + SimplestRange range = 2; + int32 score = 3; + string relative_path = 4; +} + +// Copied from: local:aiserver.v1.BackgroundAgentSettings (var: Ykn) +message BackgroundAgentSettings { + repeated string allowlist = 1; + AllowlistConfig allowlist_config = 2; + bool team_followup_enabled = 3; + AutoCreatePrMode auto_create_pr = 4; + PrReviewOpenDestinationMode pr_review_open_destination = 5; + optional bool require_private_workers = 6; + GithubArtifactPostingMode github_artifact_posting = 7; + optional TeamFollowupEnabledMode team_followup_enabled_v2 = 8; + optional bool enable_long_running_agent_mode = 9; + CloudAgentEgressProtectionMode egress_protection_mode = 10; + optional bool lock_egress_protection_mode = 11; + optional bool enable_cloud_agent_testing = 12; + optional bool restrict_team_secrets_to_admins = 13; + optional bool enable_automations = 14; + optional bool allow_vm_sharing = 15; + optional bool allow_private_workers = 16; + optional PublicArtifactSharingMode public_artifact_sharing = 17; + optional bool ci_failure_followup_enabled = 18; + DataRetentionPolicy data_retention = 19; + optional bool restrict_team_environment_writes_to_admins = 20; + optional bool allow_remote_control = 21; + optional bool allow_private_worker_github_token_mint = 22; + optional bool allow_private_worker_secret_sync = 23; + optional bool disable_cloud_agents_in_sand = 24; +} + +// Copied from: local:aiserver.v1.BackgroundCmdKEvalRequest (var: uzl) +message BackgroundCmdKEvalRequest { + // Copied from: local:aiserver.v1.BackgroundCmdKEvalRequest.Experiment (var: dzl) + enum Experiment { + EXPERIMENT_UNSPECIFIED = 0; + EXPERIMENT_REFLECT = 1; + EXPERIMENT_CMD_K_ORIGINAL_RADIUS = 2; + EXPERIMENT_LOOP_ON_LINTS = 3; + EXPERIMENT_CHAT_AND_APPLY = 4; + EXPERIMENT_COMMIT_NOTES = 5; + EXPERIMENT_COALESCE_GENERATIONS = 6; + EXPERIMENT_REWORD_INSTRUCTIONS = 7; + EXPERIMENT_CODEBASE_CHUNKS = 8; + EXPERIMENT_SPEC_AND_APPLY = 9; + EXPERIMENT_ASK_CODEBASE = 10; + } + + // Copied from: local:aiserver.v1.BackgroundCmdKEvalRequest.Lint (var: hzl) + message Lint { + // Copied from: local:aiserver.v1.BackgroundCmdKEvalRequest.Lint.QuickFix (var: pzl) + message QuickFix { + // Copied from: local:aiserver.v1.BackgroundCmdKEvalRequest.Lint.QuickFix.Edit (var: mzl) + message Edit { + string relative_workspace_path = 1; + string text = 2; + int32 start_line_number_one_indexed = 3; + int32 start_column_one_indexed = 4; + int32 end_line_number_inclusive_one_indexed = 5; + int32 end_column_one_indexed = 6; + } + + string message = 1; + string kind = 2; + bool is_preferred = 3; + repeated Edit edits = 4; + } + + string message = 1; + string severity = 2; + string relative_workspace_path = 3; + int32 start_line_number_one_indexed = 4; + int32 start_column_one_indexed = 5; + int32 end_line_number_inclusive_one_indexed = 6; + int32 end_column_one_indexed = 7; + repeated QuickFix quick_fixes = 9; + } + + // Copied from: local:aiserver.v1.BackgroundCmdKEvalRequest.ProposedChange (var: gzl) + message ProposedChange { + string change = 1; + repeated BackgroundCmdKEvalRequest.Lint linter_errors = 2; + } + + string instruction = 1; + CurrentFileInfo current_file = 2; + SimpleRange selection_range = 3; + string ground_truth = 4; + Experiment experiment = 5; + bool run_automated_eval = 6; + repeated ProposedChange proposed_change_history = 7; + repeated CommitNote commit_notes = 8; + repeated CodeBlock related_code_blocks = 9; +} + +// Copied from: local:aiserver.v1.BackgroundCmdKEvalResponse (var: fzl) +message BackgroundCmdKEvalResponse { + string proposed_change = 1; +} + +// Copied from: local:aiserver.v1.BackgroundCmdKRequest (var: ezl) +message BackgroundCmdKRequest { + // Copied from: local:aiserver.v1.BackgroundCmdKRequest.Diff (var: czl) + message Diff { + string relative_workspace_path = 1; + string diff = 2; + } + + // Copied from: local:aiserver.v1.BackgroundCmdKRequest.Lint (var: wIs) + message Lint { + // Copied from: local:aiserver.v1.BackgroundCmdKRequest.Lint.QuickFix (var: nzl) + message QuickFix { + // Copied from: local:aiserver.v1.BackgroundCmdKRequest.Lint.QuickFix.Edit (var: izl) + message Edit { + string relative_workspace_path = 1; + string text = 2; + int32 start_line_number_one_indexed = 3; + int32 start_column_one_indexed = 4; + int32 end_line_number_inclusive_one_indexed = 5; + int32 end_column_one_indexed = 6; + } + + string message = 1; + string kind = 2; + bool is_preferred = 3; + repeated Edit edits = 4; + } + + string message = 1; + string severity = 2; + string relative_workspace_path = 3; + int32 start_line_number_one_indexed = 4; + int32 start_column_one_indexed = 5; + int32 end_line_number_inclusive_one_indexed = 6; + int32 end_column_one_indexed = 7; + repeated QuickFix quick_fixes = 9; + } + + // Copied from: local:aiserver.v1.BackgroundCmdKRequest.ProposedChange (var: rzl) + message ProposedChange { + string change = 1; + repeated BackgroundCmdKRequest.Lint linter_errors = 2; + } + + // Copied from: local:aiserver.v1.BackgroundCmdKRequest.RecentlyViewedFile (var: ozl) + message RecentlyViewedFile { + // Copied from: local:aiserver.v1.BackgroundCmdKRequest.RecentlyViewedFile.VisibleRange (var: azl) + message VisibleRange { + int32 start_line_number_inclusive = 1; + int32 end_line_number_exclusive = 2; + optional int32 viewed_at = 3; + optional int32 global_order_descending = 4; + } + + string relative_workspace_path = 1; + string contents = 2; + repeated VisibleRange visible_ranges = 3; + } + + // Copied from: local:aiserver.v1.BackgroundCmdKRequest.Type (var: tzl) + enum Type { + TYPE_UNSPECIFIED = 0; + TYPE_REFLECT = 1; + TYPE_LOOP_ON_LINTS = 2; + TYPE_CHAT_AND_APPLY = 3; + TYPE_COALESCE_GENERATIONS = 4; + TYPE_CODEBASE_CHUNKS = 5; + TYPE_SPEC_AND_APPLY = 6; + TYPE_ASK_CODEBASE = 7; + TYPE_FINETUNED_INSTRUCTIONS = 8; + TYPE_USEFUL_TYPES = 9; + TYPE_CHAT_AND_APPLY_UNDERSPECIFIED = 10; + } + + // Copied from: local:aiserver.v1.BackgroundCmdKRequest.UsefulType (var: szl) + message UsefulType { + string relative_workspace_path = 1; + int32 start_line = 2; + string text = 3; + optional double score = 4; + } + + string instruction = 1; + CurrentFileInfo current_file = 2; + SimpleRange selection_range = 3; + Type type = 4; + repeated ProposedChange proposed_change_history = 5; + repeated CodeBlock related_code_blocks = 6; + repeated CppFileDiffHistory diff_history = 7; + repeated Lint linter_errors = 8; + repeated UsefulType useful_types = 9; + repeated RecentlyViewedFile recently_viewed_files = 10; + repeated Diff recent_diffs = 11; + optional bool multiple_completions = 12; +} + +// Copied from: local:aiserver.v1.BackgroundCmdKResponse (var: lzl) +message BackgroundCmdKResponse { + string proposed_change = 1; +} + +// Copied from: local:aiserver.v1.BackgroundComposer (var: EAe) +message BackgroundComposer { + string bc_id = 1; + double created_at_ms = 2; + double updated_at_ms = 20; + string workspace_root_path = 3; + bool is_owned_by_different_team_member = 4; + string name = 5; + string branch_name = 6; + bool has_started_vm = 7; + string repo_url = 8; + bool is_archived = 9; + string n_id = 10; + bool is_killed = 11; + BackgroundComposerStatus status = 12; + bool is_unread = 13; + BackgroundComposerSource source = 14; + string github_issue_id = 24; + string slack_channel_id = 15; + string slack_message_timestamp = 16; + string slack_team_id = 17; + string linear_issue_id = 18; + string linear_org_id = 19; + string prompt_group_id = 21; + string pr_url = 22; + bool is_pr_merged = 23; + optional int32 lines_added = 25; + optional int32 lines_removed = 26; + optional int32 files_changed = 27; + optional ModelDetails model_details = 28; + string triggered_principal_type = 29; + string triggered_principal_id = 30; + string visibility = 31; + EnsembleStatus ensemble_status = 32; + optional string workflow_id = 33; + optional string agent_session_id = 34; + optional string kickoff_message_id = 35; + optional string grind_phase = 36; + optional int32 commit_count = 37; + optional string latest_commit_sha = 38; + optional string latest_commit_message = 39; + optional double last_message_activity_at_ms = 40; + optional string owning_service_account = 41; + optional string owning_service_account_name = 42; + optional PRStatus pr_status = 43; + optional ExternalSourceMetadata external_source_metadata = 57; + optional string worker_id = 58; + optional RequestedModel requested_model = 59; + optional bool use_private_worker = 60; + repeated int32 participant_user_ids = 45; + optional CloudSubagentParentReference cloud_subagent_parent = 61; + repeated string repo_urls = 62; + optional string environment_name = 63; + optional PrivateWorkspaceIdentifier private_workspace_identifier = 64; + optional string private_worker_display_name = 65; + optional AgentWorkspaceBinding workspace_binding = 66; + optional bool use_experimental_model_opt_out = 67; + optional SideChatInfo side_chat_info = 68; + optional string manager_agent_id = 69; + bool initiated_env_setup = 70; + bool started_as_new_project = 71; + optional ProjectMetadata project_metadata = 72; + optional string environment_public_id = 73; +} + +// Copied from: local:aiserver.v1.BackgroundComposerArtifact (var: CNu) +message BackgroundComposerArtifact { + string absolute_path = 1; + int64 size_bytes = 2; + int64 updated_at_unix_ms = 3; +} + +// Copied from: local:aiserver.v1.BackgroundComposerCachedDetailsProto (var: t5t) +message BackgroundComposerCachedDetailsProto { + string diff_changes_hash = 1; + GetDiffResponse detailed_diff = 2; + DetailedBackgroundComposer bc = 3; +} + +// Copied from: local:aiserver.v1.BackgroundComposerCommit (var: WOu) +message BackgroundComposerCommit { + string sha = 1; + string message = 2; + string author_name = 3; + string author_email = 4; + string timestamp = 5; +} + +// Copied from: local:aiserver.v1.BackgroundComposerConfig (var: y8u) +message BackgroundComposerConfig { + bool enable_background_agent = 1; + bool show_background_agent_in_beta_settings = 2; + optional int32 window_in_window_preload_count = 3; + optional double window_in_window_ping_interval_ms = 4; + optional bool show_background_agent_disclaimer = 5; + optional bool show_background_agent_slack_ad = 6; + bool show_background_agent_history_action = 7; + optional int32 max_window_in_windows = 8; + bool use_modal_experience = 9; +} + +// Copied from: local:aiserver.v1.BackgroundComposerDefaultEnvironmentSetting (var: ZFs) +message BackgroundComposerDefaultEnvironmentSetting { + optional EnvironmentRepoConfig repo_config = 1; + optional string environment_public_id = 2; +} + +// Copied from: local:aiserver.v1.BackgroundComposerFollowupContent (var: Si) +message BackgroundComposerFollowupContent { + string text = 1; + string rich_text = 2; +} + +// Copied from: local:aiserver.v1.BackgroundComposerFollowupParams (var: z_n) +message BackgroundComposerFollowupParams { + string proposed_followup = 1; + string bc_id = 2; +} + +// Copied from: local:aiserver.v1.BackgroundComposerFollowupResult (var: z0i) +message BackgroundComposerFollowupResult { + string proposed_followup = 1; + bool is_sent = 2; +} + +// Copied from: local:aiserver.v1.BackgroundComposerFollowupStream (var: e_s) +message BackgroundComposerFollowupStream { +} + +// Copied from: local:aiserver.v1.BackgroundComposerFullDiff (var: _Mu) +message BackgroundComposerFullDiff { + string path = 1; + string original_content = 2; + string modified_content = 3; + optional string submodule_path = 4; + GitDiff git_diff = 5; + string full_path = 6; + string base_ref = 7; +} + +// Copied from: local:aiserver.v1.BackgroundComposerParticipant (var: lMi) +message BackgroundComposerParticipant { + int32 user_id = 1; + optional string display_name = 2; + optional string email = 3; + optional string profile_picture_url = 4; +} + +// Copied from: local:aiserver.v1.BackgroundComposerPr (var: TLu) +message BackgroundComposerPr { + string branch_name = 1; + string base_branch = 2; + optional string scm_repo_node_id = 3; + optional int32 pull_number = 4; + optional PRStatus pr_status = 5; + optional string pr_url = 6; + optional string scm_provider = 7; +} + +// Copied from: local:aiserver.v1.BackgroundComposerQuickActionExecutionMode (var: oDu) +enum BackgroundComposerQuickActionExecutionMode { + BACKGROUND_COMPOSER_QUICK_ACTION_EXECUTION_MODE_UNSPECIFIED = 0; + BACKGROUND_COMPOSER_QUICK_ACTION_EXECUTION_MODE_SUBAGENT = 1; + BACKGROUND_COMPOSER_QUICK_ACTION_EXECUTION_MODE_PARENT_AGENT = 2; +} + +// Copied from: local:aiserver.v1.BackgroundComposerQuickActionSettings (var: YFs) +message BackgroundComposerQuickActionSettings { + repeated BackgroundComposerQuickActionSubagentSlot quick_action_subagent_slots = 1; + bool quick_action_subagent_slots_explicitly_set = 2; + optional uint32 quick_action_subagent_catalog_version = 3; + repeated BackgroundComposerQuickActionSubagentTemplate quick_action_subagent_templates = 4; + repeated BackgroundComposerQuickActionSubagentTemplateMutation quick_action_subagent_template_mutations = 5; +} + +// Copied from: local:aiserver.v1.BackgroundComposerQuickActionSubagentSlot (var: WNu) +message BackgroundComposerQuickActionSubagentSlot { + string id = 1; + string label = 2; + string template_id = 3; + string subagent_type = 4; + bool enabled = 5; + int32 order = 6; + BackgroundComposerQuickActionExecutionMode execution_mode = 7; +} + +// Copied from: local:aiserver.v1.BackgroundComposerQuickActionSubagentTemplate (var: QFs) +message BackgroundComposerQuickActionSubagentTemplate { + string template_id = 1; + string label = 2; + string description = 3; + string subagent_type = 4; + optional string prompt = 5; + BackgroundComposerQuickActionSubagentTemplateScope scope = 6; + bool can_edit = 7; + bool can_delete = 8; + optional string icon_name = 9; +} + +// Copied from: local:aiserver.v1.BackgroundComposerQuickActionSubagentTemplateMutation (var: HNu) +message BackgroundComposerQuickActionSubagentTemplateMutation { + BackgroundComposerQuickActionSubagentTemplateOperation operation = 1; + BackgroundComposerQuickActionSubagentTemplate template = 2; +} + +// Copied from: local:aiserver.v1.BackgroundComposerQuickActionSubagentTemplateOperation (var: cDu) +enum BackgroundComposerQuickActionSubagentTemplateOperation { + BACKGROUND_COMPOSER_QUICK_ACTION_SUBAGENT_TEMPLATE_OPERATION_UNSPECIFIED = 0; + BACKGROUND_COMPOSER_QUICK_ACTION_SUBAGENT_TEMPLATE_OPERATION_CREATE = 1; + BACKGROUND_COMPOSER_QUICK_ACTION_SUBAGENT_TEMPLATE_OPERATION_UPDATE = 2; + BACKGROUND_COMPOSER_QUICK_ACTION_SUBAGENT_TEMPLATE_OPERATION_DELETE = 3; +} + +// Copied from: local:aiserver.v1.BackgroundComposerQuickActionSubagentTemplateScope (var: aDu) +enum BackgroundComposerQuickActionSubagentTemplateScope { + BACKGROUND_COMPOSER_QUICK_ACTION_SUBAGENT_TEMPLATE_SCOPE_UNSPECIFIED = 0; + BACKGROUND_COMPOSER_QUICK_ACTION_SUBAGENT_TEMPLATE_SCOPE_BUILTIN = 1; + BACKGROUND_COMPOSER_QUICK_ACTION_SUBAGENT_TEMPLATE_SCOPE_USER = 2; + BACKGROUND_COMPOSER_QUICK_ACTION_SUBAGENT_TEMPLATE_SCOPE_TEAM = 3; +} + +// Copied from: local:aiserver.v1.BackgroundComposerSecretLevel (var: Sqe) +enum BackgroundComposerSecretLevel { + BACKGROUND_COMPOSER_SECRET_LEVEL_UNSPECIFIED = 0; + BACKGROUND_COMPOSER_SECRET_LEVEL_ENVIRONMENT_VARIABLE = 1; + BACKGROUND_COMPOSER_SECRET_LEVEL_INJECTED_SECRET = 2; + BACKGROUND_COMPOSER_SECRET_LEVEL_BUILD_SECRET = 3; +} + +// Copied from: local:aiserver.v1.BackgroundComposerSecretOwner (var: tmt) +message BackgroundComposerSecretOwner { + oneof kind { + bool user = 1; + bool team = 2; + string environment_id = 3; + } +} + +// Copied from: local:aiserver.v1.BackgroundComposerSharedArtifact (var: fMi) +message BackgroundComposerSharedArtifact { + string artifact_id = 1; + string source_bc_id = 2; + string source_absolute_path = 3; + string public_url = 4; + string title = 5; + string content_type = 6; + string share_source = 7; + optional int64 revoked_at_ms = 8; + int64 created_at_ms = 9; + int64 updated_at_ms = 10; +} + +// Copied from: local:aiserver.v1.BackgroundComposerSnapshotStatusByBcId (var: uMu) +message BackgroundComposerSnapshotStatusByBcId { + string bc_id = 1; + optional string snapshot_id = 2; + optional ChangeBackgroundComposerSnapshotVisibilityRequest.Visibility visibility = 3; + optional double created_at_ms = 4; +} + +// Copied from: local:aiserver.v1.BackgroundComposerSnapshotSummary (var: aMu) +message BackgroundComposerSnapshotSummary { + string snapshot_id = 1; + ChangeBackgroundComposerSnapshotVisibilityRequest.Visibility visibility = 2; + double created_at_ms = 3; +} + +// Copied from: local:aiserver.v1.BackgroundComposerSource (var: Yc) +enum BackgroundComposerSource { + BACKGROUND_COMPOSER_SOURCE_UNSPECIFIED = 0; + BACKGROUND_COMPOSER_SOURCE_EDITOR = 1; + BACKGROUND_COMPOSER_SOURCE_SLACK = 2; + BACKGROUND_COMPOSER_SOURCE_WEBSITE = 3; + BACKGROUND_COMPOSER_SOURCE_LINEAR = 4; + BACKGROUND_COMPOSER_SOURCE_IOS_APP = 5; + BACKGROUND_COMPOSER_SOURCE_API = 6; + BACKGROUND_COMPOSER_SOURCE_GITHUB = 7; + BACKGROUND_COMPOSER_SOURCE_CLI = 8; + BACKGROUND_COMPOSER_SOURCE_GITHUB_CI_AUTOFIX = 9; + BACKGROUND_COMPOSER_SOURCE_GITLAB = 10; + BACKGROUND_COMPOSER_SOURCE_ENVIRONMENT_SETUP_WEB = 11; + BACKGROUND_COMPOSER_SOURCE_GRIND_WEB = 12; + BACKGROUND_COMPOSER_SOURCE_BUGBOT_AUTOFIX = 13; + BACKGROUND_COMPOSER_SOURCE_AUTOMATIONS = 14; + BACKGROUND_COMPOSER_SOURCE_GRAPHITE_CHAT_WEB = 15; + BACKGROUND_COMPOSER_SOURCE_GLASS = 16; + BACKGROUND_COMPOSER_SOURCE_GRAPHITE_FULL_SELF_DRIVING = 17; + BACKGROUND_COMPOSER_SOURCE_TEAMS = 18; + BACKGROUND_COMPOSER_SOURCE_LOCAL = 19; + BACKGROUND_COMPOSER_SOURCE_JIRA = 20; + BACKGROUND_COMPOSER_SOURCE_SDK = 21; + BACKGROUND_COMPOSER_SOURCE_FULL_SELF_DRIVING = 22; + BACKGROUND_COMPOSER_SOURCE_QABOT_FRONTEND = 23; + BACKGROUND_COMPOSER_SOURCE_AS_SUBAGENT_FROM_LOCAL = 24; + BACKGROUND_COMPOSER_SOURCE_ENVIRONMENT_SETUP_GLASS = 25; + BACKGROUND_COMPOSER_SOURCE_SAND_CODING_SUBAGENT = 26; + BACKGROUND_COMPOSER_SOURCE_BITBUCKET = 27; + BACKGROUND_COMPOSER_SOURCE_CLOUD_META_AGENT = 28; + BACKGROUND_COMPOSER_SOURCE_AS_SUBAGENT_FROM_CLOUD = 29; + BACKGROUND_COMPOSER_SOURCE_ENVIRONMENT_SETUP_ONBOARDING_AUTO = 30; + BACKGROUND_COMPOSER_SOURCE_ORIGIN = 31; + BACKGROUND_COMPOSER_SOURCE_AS_SIDE_CHAT_FROM_CLOUD = 32; + BACKGROUND_COMPOSER_SOURCE_GROK_BOT = 33; +} + +// Copied from: local:aiserver.v1.BackgroundComposerStatus (var: la) +enum BackgroundComposerStatus { + BACKGROUND_COMPOSER_STATUS_UNSPECIFIED = 0; + BACKGROUND_COMPOSER_STATUS_RUNNING = 1; + BACKGROUND_COMPOSER_STATUS_FINISHED = 2; + BACKGROUND_COMPOSER_STATUS_ERROR = 3; + BACKGROUND_COMPOSER_STATUS_CREATING = 4; + BACKGROUND_COMPOSER_STATUS_EXPIRED = 5; +} + +// Copied from: local:aiserver.v1.BackgroundComposerUserEgressPolicy (var: KFs) +message BackgroundComposerUserEgressPolicy { + repeated string allowlist = 1; +} + +// Copied from: local:aiserver.v1.BackgroundFilesEvent (var: y7l) +message BackgroundFilesEvent { + // Copied from: local:aiserver.v1.BackgroundFilesEvent.BackgroundFile (var: S7l) + message BackgroundFile { + string relative_workspace_path = 1; + string contents = 2; + string hash = 3; + string full_path = 4; + } + + repeated BackgroundFile files = 2; +} + +// Copied from: local:aiserver.v1.BackgroundJobStatus (var: Auu) +message BackgroundJobStatus { + string phase = 1; + float percent_done = 2; + optional string message = 3; + optional string error = 4; + map metadata = 5; + optional string result_json = 6; +} + +// Copied from: agent.v1.BackgroundShellAction (var: cEs) +message BackgroundShellAction { + string tool_call_id = 1; +} + +// Copied from: agent.v1.BackgroundShellSpawnArgs (var: cAl) +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: agent.v1.BackgroundShellSpawnError (var: uAl) +message BackgroundShellSpawnError { + string command = 1; + string working_directory = 2; + string error = 3; +} + +// Copied from: agent.v1.BackgroundShellSpawnResult (var: Xgs) +message BackgroundShellSpawnResult { + oneof result { + BackgroundShellSpawnSuccess success = 1; + BackgroundShellSpawnError error = 2; + ShellRejected rejected = 3; + ShellPermissionDenied permission_denied = 4; + ShellSandboxUnsupported sandbox_unsupported = 5; + } +} + +// Copied from: agent.v1.BackgroundShellSpawnSuccess (var: lAl) +message BackgroundShellSpawnSuccess { + uint32 shell_id = 1; + string command = 2; + string working_directory = 3; + optional uint32 pid = 4; +} + +// Copied from: agent.v1.BackgroundSubagentAction (var: lEs) +message BackgroundSubagentAction { + string tool_call_id = 1; +} + +// Copied from: agent.v1.BackgroundTaskCompletion (var: _Ti) +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: agent.v1.BackgroundTaskCompletionAction (var: sEs) +message BackgroundTaskCompletionAction { + repeated BackgroundTaskCompletion completions = 1; +} + +// Copied from: agent.v1.BackgroundTaskCompletionReason (var: npt) +enum BackgroundTaskCompletionReason { + BACKGROUND_TASK_COMPLETION_REASON_UNSPECIFIED = 0; + BACKGROUND_TASK_COMPLETION_REASON_TASK_FINISHED = 1; + BACKGROUND_TASK_COMPLETION_REASON_TASK_PROGRESS = 2; + BACKGROUND_TASK_COMPLETION_REASON_WORKER_REPARENTED = 3; +} + +// Copied from: agent.v1.BackgroundTaskKind (var: EBt) +enum BackgroundTaskKind { + BACKGROUND_TASK_KIND_UNSPECIFIED = 0; + BACKGROUND_TASK_KIND_SHELL = 1; + BACKGROUND_TASK_KIND_SUBAGENT = 2; +} + +// Copied from: agent.v1.BackgroundTaskNotificationContext (var: iEs) +enum BackgroundTaskNotificationContext { + BACKGROUND_TASK_NOTIFICATION_CONTEXT_UNSPECIFIED = 0; + BACKGROUND_TASK_NOTIFICATION_CONTEXT_USER_DRIVEN_INTERACTIVE_CHILD = 1; +} + +// Copied from: agent.v1.BackgroundTaskStatus (var: TGe) +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:aiserver.v1.BatchEvent (var: x4s) +message BatchEvent { + string event = 1; + google.protobuf.Struct properties = 2; + int64 timestamp = 3; + optional string user_id = 4; + optional string anonymous_id = 5; + optional string message_id = 6; + optional AnalyticsContext context = 7; +} + +// Copied from: local:aiserver.v1.BatchGetPluginMcpConfigRequest (var: Kpu) +message BatchGetPluginMcpConfigRequest { + repeated int64 plugin_ids = 1; +} + +// Copied from: local:aiserver.v1.BatchGetPluginMcpConfigResponse (var: Ypu) +message BatchGetPluginMcpConfigResponse { + map configs = 1; +} + +// Copied from: local:aiserver.v1.BatchGetPullRequestStatusRequest (var: ZIu) +message BatchGetPullRequestStatusRequest { + repeated string pr_urls = 1; + bool skip_cache = 2; +} + +// Copied from: local:aiserver.v1.BatchGetPullRequestStatusResponse (var: XIu) +message BatchGetPullRequestStatusResponse { + map statuses = 1; + repeated string failed_pr_urls = 2; +} + +// Copied from: local:aiserver.v1.BatchGetPullRequestsRequest (var: QIu) +message BatchGetPullRequestsRequest { + repeated string pr_urls = 1; + bool skip_cache = 2; +} + +// Copied from: local:aiserver.v1.BatchGetPullRequestsResponse (var: YIu) +message BatchGetPullRequestsResponse { + map pull_requests = 1; + repeated string failed_pr_urls = 2; +} + +// Copied from: local:aiserver.v1.BatchRefreshPullRequestStatusRequest (var: KFu) +message BatchRefreshPullRequestStatusRequest { + repeated string bc_ids = 1; +} + +// Copied from: local:aiserver.v1.BatchRefreshPullRequestStatusResponse (var: QFu) +message BatchRefreshPullRequestStatusResponse { + map results = 1; + repeated string failed_bc_ids = 2; +} + +// Copied from: local:aiserver.v1.BatchRepositoryStatusRequest (var: Qe) +message BatchRepositoryStatusRequest { + repeated RepositoryStatusRequest requests = 1; +} + +// Copied from: local:aiserver.v1.BatchRepositoryStatusResponse (var: Ge) +message BatchRepositoryStatusResponse { + repeated RepositoryStatusResponse responses = 1; +} + +// Copied from: local:aiserver.v1.BatchRequest (var: U$u) +message BatchRequest { + repeated BatchEvent events = 1; +} + +// Copied from: local:aiserver.v1.BatchResponse (var: $$u) +message BatchResponse { +} + +// Copied from: local:aiserver.v1.BatchedUploadCommitsIntoGitGraphRequest (var: Tmv) +message BatchedUploadCommitsIntoGitGraphRequest { + string workspace_id = 1; + repeated GitGraphCommit commits = 2; +} + +// Copied from: local:aiserver.v1.BatchedUploadCommitsIntoGitGraphResponse (var: Amv) +message BatchedUploadCommitsIntoGitGraphResponse { + // Copied from: local:aiserver.v1.BatchedUploadCommitsIntoGitGraphResponse.Result (var: Imv) + message Result { + string sha = 1; + bool success = 2; + bool already_visited = 3; + } + + repeated Result results = 1; +} + +// Copied from: agent.v1.BedrockCredentials (var: VFe) +message BedrockCredentials { + string access_key = 1; + string secret_key = 2; + string region = 3; + optional string session_token = 4; +} + +// Copied from: local:aiserver.v1.BedrockState (var: h$r) +message BedrockState { + string access_key = 1; + string secret_key = 2; + string region = 3; + bool use_bedrock = 4; + string session_token = 5; +} + +// Copied from: local:aiserver.v1.BeforeAiEditEvent (var: R7l) +message BeforeAiEditEvent { + string tool_call_id = 2; + optional string request_id = 3; + optional string tool_name = 4; + oneof model { + PointInTimeModel point_in_time_model = 1; + string relative_workspace_path = 5; + } +} + +// Copied from: agent.v1.BeforeSubmitPromptAttachment (var: Z9l) +message BeforeSubmitPromptAttachment { + string type = 1; + string file_path = 2; +} + +// Copied from: agent.v1.BeforeSubmitPromptRequestQuery (var: X9l) +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: agent.v1.BeforeSubmitPromptRequestResponse (var: J9l) +message BeforeSubmitPromptRequestResponse { + optional bool continue = 1; + optional string user_message = 2; + optional string additional_context = 3; +} + +// Copied from: local:aiserver.v1.BidiAppendRequest (var: gXu) +message BidiAppendRequest { + string data = 1; + BidiRequestId request_id = 2; + int64 append_seqno = 3; + bytes data_binary = 4; +} + +// Copied from: local:aiserver.v1.BidiAppendResponse (var: fXu) +message BidiAppendResponse { +} + +// Copied from: local:aiserver.v1.BidiPollRequest (var: p3e) +message BidiPollRequest { + BidiRequestId request_id = 1; + optional bool start_request = 2; +} + +// Copied from: local:aiserver.v1.BidiPollResponse (var: m3e) +message BidiPollResponse { + int64 seqno = 1; + string data = 2; + optional bool eof = 3; +} + +// Copied from: local:aiserver.v1.BidiRequestId (var: lwe) +message BidiRequestId { + string request_id = 1; +} + +// Copied from: local:aiserver.v1.BitbucketIntegrationSettings (var: K2s) +message BitbucketIntegrationSettings { + bool hidden = 1; +} + +// Copied from: internapi.v1.BlobData (var: RLs) +message BlobData { + BlobType blob_type = 1; + bytes blob_id = 2; + int32 index = 3; + oneof type_specific_data { + ImageBlobData image_data = 4; + } +} + +// Copied from: internapi.v1.BlobDataPerMessage (var: ocu) +message BlobDataPerMessage { + repeated BlobData blob_data = 1; +} + +// Copied from: internapi.v1.BlobType (var: rcu) +enum BlobType { + BLOB_TYPE_UNSPECIFIED = 0; + BLOB_TYPE_IMAGE = 1; + BLOB_TYPE_INVOCATION_CONTEXT = 2; + BLOB_TYPE_EXTRA_CONTEXT = 3; + BLOB_TYPE_GIT_PR_DIFF_SELECTION = 4; + BLOB_TYPE_SELECTED_PULL_REQUEST = 5; + BLOB_TYPE_TEXT = 6; + BLOB_TYPE_RICH_TEXT = 7; + BLOB_TYPE_EXTERNAL_LINK_PDF = 8; + BLOB_TYPE_DOCUMENT = 9; + BLOB_TYPE_VIDEO = 10; +} + +// Copied from: local:aiserver.v1.BlockDiffPatch (var: yAi) +message BlockDiffPatch { + // Copied from: local:aiserver.v1.BlockDiffPatch.Change (var: L7l) + message Change { + string text = 1; + IRange range = 2; + } + + // Copied from: local:aiserver.v1.BlockDiffPatch.ModelWindow (var: N7l) + message ModelWindow { + repeated string lines = 1; + int32 start_line_number = 2; + int32 end_line_number = 3; + } + + ModelWindow start_model_window = 1; + repeated Change changes = 3; + string relative_path = 4; + string model_uuid = 7; + int32 start_from_change_index = 5; +} + +// Copied from: local:aiserver.v1.BootstrapStatsigRequest (var: I$u) +message BootstrapStatsigRequest { + optional bool ignore_dev_status = 1; + optional ClientOS operating_system = 2; + optional string device_model = 3; + optional string os_version = 4; + optional string form_factor = 5; + optional string stable_id = 6; + optional string client_channel = 7; + optional string bundle_id = 8; +} + +// Copied from: local:aiserver.v1.BootstrapStatsigResponse (var: R$u) +message BootstrapStatsigResponse { + string config = 1; + uint64 generated_at_ms = 2; +} + +// Copied from: local:aiserver.v1.BrowserAccessControl (var: ebu) +message BrowserAccessControl { + repeated string allowlist = 1; + AllowlistConfig allowlist_config = 2; +} + +// Copied from: local:aiserver.v1.BrowserEvent (var: V7l) +message BrowserEvent { + // Copied from: local:aiserver.v1.BrowserEvent.Navigation (var: $As) + message Navigation { + string url = 1; + optional string title = 2; + } + + // Copied from: local:aiserver.v1.BrowserEvent.TabClosed (var: UAs) + message TabClosed { + } + + // Copied from: local:aiserver.v1.BrowserEvent.TabCreated (var: BAs) + message TabCreated { + } + + // Copied from: local:aiserver.v1.BrowserEvent.ToolAction (var: jAs) + message ToolAction { + // Copied from: local:aiserver.v1.BrowserEvent.ToolAction.Source (var: WAs) + enum Source { + SOURCE_UNSPECIFIED = 0; + SOURCE_MCP_TOOL = 1; + SOURCE_MANUAL_USER = 2; + } + + string tool_name = 1; + string args_json = 2; + optional bool success = 3; + optional string post_snapshot_yaml = 4; + optional string post_url = 5; + optional string post_title = 6; + Source source = 7; + } + + string view_id = 1; + oneof event { + TabCreated tab_created = 2; + TabClosed tab_closed = 3; + Navigation navigation = 4; + ToolAction tool_action = 5; + } +} + +// Copied from: local:aiserver.v1.BrowserSettings (var: j2s) +message BrowserSettings { + BrowserAccessControl access_control = 1; +} + +// Copied from: local:aiserver.v1.BugAnalysisRequest (var: ehv) +message BugAnalysisRequest { + repeated Commit relevant_commits = 1; + ConversationMessage bug_description_and_file_attachments = 2; + ModelDetails model_details = 3; +} + +// Copied from: local:aiserver.v1.BugAnalysisResponse (var: thv) +message BugAnalysisResponse { + string reasoning = 1; + string bug_description = 2; +} + +// Copied from: local:aiserver.v1.BugBotDiscriminatorPromptProps (var: g) +message BugBotDiscriminatorPromptProps { + StreamBugBotRequest req = 1; + BugReport bug = 2; + string date = 3; + string seed = 4; +} + +// Copied from: local:aiserver.v1.BugBotDiscriminatorTrainingPromptProps (var: h) +message BugBotDiscriminatorTrainingPromptProps { + BugBotDiscriminatorPromptProps props = 1; + bool is_real_bug = 2; +} + +// Copied from: local:aiserver.v1.BugBotEvent (var: r7l) +message BugBotEvent { + // Copied from: local:aiserver.v1.BugBotEvent.BackgroundIntervalEnded (var: g7l) + message BackgroundIntervalEnded { + bool success = 1; + } + + // Copied from: local:aiserver.v1.BugBotEvent.BackgroundIntervalErrored (var: v7l) + message BackgroundIntervalErrored { + string error_message = 1; + } + + // Copied from: local:aiserver.v1.BugBotEvent.BackgroundIntervalInterrupted (var: f7l) + message BackgroundIntervalInterrupted { + BugBotEvent.BackgroundIntervalInterruptedReason reason = 1; + } + + // Copied from: local:aiserver.v1.BugBotEvent.BackgroundIntervalInterruptedReason (var: s7l) + enum BackgroundIntervalInterruptedReason { + BACKGROUND_INTERVAL_INTERRUPTED_REASON_UNSPECIFIED = 0; + BACKGROUND_INTERVAL_INTERRUPTED_REASON_DISABLED = 1; + BACKGROUND_INTERVAL_INTERRUPTED_REASON_TOO_RECENT = 2; + BACKGROUND_INTERVAL_INTERRUPTED_REASON_UNVIEWED_BUG_REPORTS = 3; + BACKGROUND_INTERVAL_INTERRUPTED_REASON_NOT_IN_GIT_REPO = 4; + BACKGROUND_INTERVAL_INTERRUPTED_REASON_DEFAULT_BRANCH_IS_NOT_CURRENT_BRANCH = 5; + BACKGROUND_INTERVAL_INTERRUPTED_REASON_NO_GIT_USER = 6; + BACKGROUND_INTERVAL_INTERRUPTED_REASON_NO_LAST_COMMIT = 7; + BACKGROUND_INTERVAL_INTERRUPTED_REASON_LAST_COMMIT_NOT_MADE_BY_USER = 8; + BACKGROUND_INTERVAL_INTERRUPTED_REASON_LAST_COMMIT_TOO_OLD = 9; + BACKGROUND_INTERVAL_INTERRUPTED_REASON_DIFF_TOO_LONG = 10; + BACKGROUND_INTERVAL_INTERRUPTED_REASON_DIFF_TOO_SHORT = 11; + BACKGROUND_INTERVAL_INTERRUPTED_REASON_TELEMETRY_UNHEALTHY = 12; + } + + // Copied from: local:aiserver.v1.BugBotEvent.BackgroundIntervalStarted (var: m7l) + message BackgroundIntervalStarted { + } + + // Copied from: local:aiserver.v1.BugBotEvent.PressedAddToChat (var: l7l) + message PressedAddToChat { + string bug_report_id = 1; + } + + // Copied from: local:aiserver.v1.BugBotEvent.PressedFixInComposer (var: c7l) + message PressedFixInComposer { + string bug_report_id = 1; + } + + // Copied from: local:aiserver.v1.BugBotEvent.PressedOpenInEditor (var: u7l) + message PressedOpenInEditor { + BugLocation bug_location = 1; + string bug_report_id = 2; + } + + // Copied from: local:aiserver.v1.BugBotEvent.ReportsGenerated (var: a7l) + message ReportsGenerated { + BugReports bug_reports = 1; + } + + // Copied from: local:aiserver.v1.BugBotEvent.Started (var: o7l) + message Started { + } + + // Copied from: local:aiserver.v1.BugBotEvent.UserFeedback (var: p7l) + message UserFeedback { + string bug_report_id = 1; + string feedback = 2; + } + + // Copied from: local:aiserver.v1.BugBotEvent.ViewedReport (var: d7l) + message ViewedReport { + // Copied from: local:aiserver.v1.BugBotEvent.ViewedReport.ReportView (var: h7l) + message ReportView { + string bug_report_id = 1; + double view_percentage = 2; + double text_percentage = 3; + } + + int32 seconds_viewed = 1; + repeated ReportView report_views = 2; + } + + string request_id = 1; + oneof event_type { + Started started = 2; + ReportsGenerated reports_generated = 3; + PressedFixInComposer pressed_fix_in_composer = 4; + PressedOpenInEditor pressed_open_in_editor = 5; + ViewedReport viewed_report = 6; + UserFeedback user_feedback = 7; + PressedAddToChat pressed_add_to_chat = 8; + BackgroundIntervalStarted background_interval_started = 9; + BackgroundIntervalEnded background_interval_ended = 10; + BackgroundIntervalInterrupted background_interval_interrupted = 11; + BackgroundIntervalErrored background_interval_errored = 12; + } +} + +// Copied from: local:aiserver.v1.BugBotLinterEvent (var: Q$l) +message BugBotLinterEvent { + // Copied from: local:aiserver.v1.BugBotLinterEvent.LintDismissed (var: X$l) + message LintDismissed { + string bug_report_id = 1; + } + + // Copied from: local:aiserver.v1.BugBotLinterEvent.LintGenerated (var: Z$l) + message LintGenerated { + BugReport bug_report = 1; + } + + // Copied from: local:aiserver.v1.BugBotLinterEvent.NotShownBecauseHeuristic (var: n7l) + message NotShownBecauseHeuristic { + // Copied from: local:aiserver.v1.BugBotLinterEvent.NotShownBecauseHeuristic.Heuristic (var: i7l) + enum Heuristic { + HEURISTIC_UNSPECIFIED = 0; + HEURISTIC_LINT_OVERLAP = 1; + HEURISTIC_LINES_MISMATCH = 2; + } + + Heuristic heuristic = 1; + } + + // Copied from: local:aiserver.v1.BugBotLinterEvent.Started (var: Y$l) + message Started { + } + + // Copied from: local:aiserver.v1.BugBotLinterEvent.UnviewedReport (var: t7l) + message UnviewedReport { + string bug_report_id = 1; + } + + // Copied from: local:aiserver.v1.BugBotLinterEvent.UserFeedback (var: J$l) + message UserFeedback { + string bug_report_id = 1; + string feedback = 2; + } + + // Copied from: local:aiserver.v1.BugBotLinterEvent.ViewedReport (var: e7l) + message ViewedReport { + string bug_report_id = 1; + } + + string request_id = 1; + PointInTimeModel point_in_time_model = 2; + oneof event_type { + LintGenerated lint_generated = 3; + LintDismissed lint_dismissed = 4; + UserFeedback user_feedback = 5; + ViewedReport viewed_report = 6; + UnviewedReport unviewed_report = 7; + Started started = 8; + NotShownBecauseHeuristic not_shown_because_heuristic = 9; + } +} + +// Copied from: local:aiserver.v1.BugBotPRAnalytics (var: Eyu) +message BugBotPRAnalytics { + string github_repo_node_id = 1; + int32 pr_number = 2; + int64 request_time = 3; + int32 total_runs = 4; + int32 total_bugs = 5; + int32 resolved_bugs = 6; + int32 unresolved_bugs = 7; + bool is_merged = 8; + optional string github_username = 9; + int32 high_sev_resolved_bugs = 10; + int32 medium_sev_resolved_bugs = 11; + int32 low_sev_resolved_bugs = 12; +} + +// Copied from: local:aiserver.v1.BugBotPRData (var: Fg) +message BugBotPRData { + optional string start_date = 1; + optional string end_date = 2; + optional string grouping = 3; +} + +// Copied from: local:aiserver.v1.BugBotRunStatus (var: D6l) +enum BugBotRunStatus { + BUG_BOT_RUN_STATUS_UNSPECIFIED = 0; + BUG_BOT_RUN_STATUS_NO_RUN = 1; + BUG_BOT_RUN_STATUS_IN_PROGRESS = 2; + BUG_BOT_RUN_STATUS_COMPLETED = 3; +} + +// Copied from: local:aiserver.v1.BugBotStatus (var: CHl) +message BugBotStatus { + // Copied from: local:aiserver.v1.BugBotStatus.Status (var: IAi) + enum Status { + STATUS_UNSPECIFIED = 0; + STATUS_IN_PROGRESS = 1; + STATUS_IN_PROGRESS_ITERATIONS = 2; + STATUS_DONE = 3; + STATUS_ERROR = 4; + } + + Status status = 1; + string message = 2; + optional int32 iterations_completed = 3; + optional int32 total_iterations = 4; + optional int32 total_tokens = 5; + optional int32 processed_tokens = 6; + optional float processed_cost = 7; + optional int32 thinking_tokens = 8; + optional float thinking_cost = 9; +} + +// Copied from: local:aiserver.v1.BugConfigRequest (var: _Uu) +message BugConfigRequest { + bool telem_enabled = 1; + repeated double bug_bot_dismissed_notification_last_10_times_unix_ms = 2; + repeated double bug_bot_viewed_notification_last_10_times_unix_ms = 3; +} + +// Copied from: local:aiserver.v1.BugConfigResponse (var: B5s) +message BugConfigResponse { + // Copied from: local:aiserver.v1.BugConfigResponse.BugBotV1 (var: wUu) + message BugBotV1 { + bool enabled = 1; + bool is_subsidized = 2; + int32 background_call_frequency_ms = 3; + bool kill_switch = 4; + double show_intrusive_notification_only_if_last_time_was_more_than_ms_ago = 5; + optional int32 background_diff_absolute_max_tokens = 6; + optional int32 background_diff_min_min_token_threshold = 7; + optional int32 background_diff_min_max_token_threshold = 8; + optional double background_diff_last_commit_less_than_this_many_ms_ago = 9; + optional int32 background_unified_context_lines = 15; + optional bool background_diff_include_uncommitted = 16; + optional int32 default_diff_context_lines = 10; + optional int32 diff_absolute_max_tokens = 11; + optional int32 custom_instructions_max_char_length = 12; + optional int32 default_fallback_iterations = 13; + optional int32 threshold_for_expensive_run_modal_cents = 14; + optional string cheap_model_name = 17; + optional int32 cheap_absolute_max_tokens = 18; + optional int32 expensive_absolute_max_tokens = 19; + } + + // Copied from: local:aiserver.v1.BugConfigResponse.LinterStrategyV1 (var: yUu) + message LinterStrategyV1 { + bool enabled = 1; + bool try_trigger_on_save = 2; + double wait_between_triggers_ms = 3; + } + + // Copied from: local:aiserver.v1.BugConfigResponse.LinterStrategyV2 (var: SUu) + message LinterStrategyV2 { + bool enabled = 1; + double wait_between_triggers_ms = 2; + double debounce_triggers_ms = 3; + int32 keep_lines_around_chunk = 4; + int32 prevent_triggering_for_files_with_this_many_lines = 5; + bool prevent_triggering_when_lints = 6; + } + + LinterStrategyV1 linter_strategy_v1 = 1; + BugBotV1 bug_bot_v1 = 2; + LinterStrategyV2 linter_strategy_v2 = 3; +} + +// Copied from: local:aiserver.v1.BugContext (var: iQl) +message BugContext { + repeated string screenshots = 1; + CurrentFileInfo current_file = 2; + repeated ConversationMessage conversation = 3; + repeated LogFile logs = 4; + string console_logs = 5; + string cursor_version = 6; + string os = 7; + string proto_url = 8; + string failing_requst_id = 9; + string connection_error_raw = 10; + CmdKDebugInfo debug_info = 12; + optional int32 connect_error_code = 13; + optional ErrorDetails.Error error_detail_code = 14; + optional string error_detail_title = 15; + optional string error_detail_detail = 16; + repeated BugReportScreenshot binary_screenshots = 17; +} + +// Copied from: local:aiserver.v1.BugLocation (var: OTs) +message BugLocation { + string file = 1; + int32 start_line = 2; + int32 end_line = 3; + repeated string code_lines = 4; +} + +// Copied from: local:aiserver.v1.BugReport (var: mpt) +message BugReport { + repeated BugLocation locations = 1; + string id = 2; + string description = 3; + optional float confidence = 4; + optional string category = 5; + optional string severity = 6; + optional string title = 7; + optional string rationale = 9; + optional string triggered_by_rule_id = 10; + optional float model_confidence = 11; +} + +// Copied from: local:aiserver.v1.BugReportScreenshot (var: tRs) +message BugReportScreenshot { + bytes data = 1; + string mime_type = 2; +} + +// Copied from: local:aiserver.v1.BugReports (var: FTs) +message BugReports { + repeated BugReport bug_reports = 1; +} + +// Copied from: local:aiserver.v1.BugbotAnalyticsDataPoint (var: Tae) +message BugbotAnalyticsDataPoint { + int64 date = 1; + int32 value = 2; +} + +// Copied from: local:aiserver.v1.BugbotAutofixCapabilities (var: Tyu) +message BugbotAutofixCapabilities { + bool direct_push = 1; + bool side_branch_delivery = 2; +} + +// Copied from: local:aiserver.v1.BugbotAutofixMode (var: jkn) +enum BugbotAutofixMode { + BUGBOT_AUTOFIX_MODE_UNSPECIFIED = 0; + BUGBOT_AUTOFIX_MODE_OFF = 1; + BUGBOT_AUTOFIX_MODE_MANUAL = 2; + BUGBOT_AUTOFIX_MODE_AUTO_PR = 3; + BUGBOT_AUTOFIX_MODE_AUTO_MERGE = 4; +} + +// Copied from: local:aiserver.v1.BugbotBackfillStatus (var: Acu) +enum BugbotBackfillStatus { + BUGBOT_BACKFILL_STATUS_UNSPECIFIED = 0; + BUGBOT_BACKFILL_STATUS_RUNNING = 1; + BUGBOT_BACKFILL_STATUS_COMPLETED = 2; + BUGBOT_BACKFILL_STATUS_FAILED = 3; +} + +// Copied from: local:aiserver.v1.BugbotBillingMode (var: $Ls) +enum BugbotBillingMode { + BUGBOT_BILLING_MODE_UNSPECIFIED = 0; + BUGBOT_BILLING_MODE_SEAT = 1; + BUGBOT_BILLING_MODE_TOKEN = 2; +} + +// Copied from: local:aiserver.v1.BugbotConfig (var: L8u) +message BugbotConfig { + bool bugbot_plan_enabled = 1; + BugbotPlanType bugbot_plan_type = 2; +} + +// Copied from: local:aiserver.v1.BugbotDeeplinkEventKind (var: I6l) +enum BugbotDeeplinkEventKind { + BUGBOT_DEEPLINK_EVENT_KIND_UNSPECIFIED = 0; + BUGBOT_DEEPLINK_EVENT_KIND_CLICKED = 1; + BUGBOT_DEEPLINK_EVENT_KIND_HANDLED_DIALOG_SHOWN = 2; + BUGBOT_DEEPLINK_EVENT_KIND_HANDLED_CHAT_CREATED = 3; + BUGBOT_DEEPLINK_EVENT_KIND_ERROR = 4; + BUGBOT_DEEPLINK_EVENT_KIND_HANDLED_FIX_IN_WEB = 5; +} + +// Copied from: local:aiserver.v1.BugbotFeedbackReaction (var: R6l) +enum BugbotFeedbackReaction { + BUGBOT_FEEDBACK_REACTION_UNSPECIFIED = 0; + BUGBOT_FEEDBACK_REACTION_THUMBS_UP = 1; + BUGBOT_FEEDBACK_REACTION_THUMBS_DOWN = 2; +} + +// Copied from: local:aiserver.v1.BugbotLearnedRule (var: DDi) +message BugbotLearnedRule { + string id = 1; + string name = 2; + string content = 3; + string repo_node_id = 4; + string repo_name = 5; + string status = 6; + string created_at = 7; + string updated_at = 8; + repeated int32 example_pr_numbers = 9; + string repo_owner = 11; + repeated string scoped_paths = 12; +} + +// Copied from: local:aiserver.v1.BugbotLicenseUsage (var: c1u) +message BugbotLicenseUsage { + string github_username = 1; + int64 first_review_timestamp = 2; + optional string github_user_node_id = 3; +} + +// Copied from: local:aiserver.v1.BugbotManualRepositoryRule (var: dCn) +message BugbotManualRepositoryRule { + string id = 1; + string name = 2; + string content = 3; + string repo_node_id = 4; + string repo_name = 5; + string status = 6; + string created_at = 7; + string updated_at = 8; + string repo_owner = 9; + repeated string scoped_paths = 10; +} + +// Copied from: local:aiserver.v1.BugbotMode (var: emt) +enum BugbotMode { + BUGBOT_MODE_UNSPECIFIED = 0; + BUGBOT_MODE_DEFAULT = 1; + BUGBOT_MODE_HIGH = 2; + BUGBOT_MODE_AUTO = 3; + BUGBOT_MODE_FRONTIER = 4; +} + +// Copied from: local:aiserver.v1.BugbotModePrompt (var: amt) +message BugbotModePrompt { + string content = 1; + int32 sort_order = 2; +} + +// Copied from: local:aiserver.v1.BugbotPlanType (var: c8u) +enum BugbotPlanType { + BUGBOT_PLAN_TYPE_UNSPECIFIED = 0; + BUGBOT_PLAN_TYPE_TEAM = 1; + BUGBOT_PLAN_TYPE_USER = 2; +} + +// Copied from: local:aiserver.v1.BugbotRule (var: uCn) +message BugbotRule { + string id = 1; + string name = 2; + string content = 3; + bool is_active = 4; + bool is_required = 5; + string created_at = 6; + string updated_at = 7; +} + +// Copied from: local:aiserver.v1.BugbotRuleAnalytics (var: KNs) +message BugbotRuleAnalytics { + string rule_id = 1; + string rule_type = 2; + string name = 3; + string content = 4; + repeated string repositories = 5; + int32 issues_found = 6; + int32 prs_reviewed = 7; + int32 accepted_issues = 8; + double acceptance_rate = 9; + double upvote_rate = 10; + double downvote_rate = 11; + string status = 12; + string created_at = 13; +} + +// Copied from: local:aiserver.v1.BugbotSettingsCapabilities (var: Ayu) +message BugbotSettingsCapabilities { + bool auto_enable_new_repos = 1; + bool learned_rules = 2; +} + +// Copied from: local:aiserver.v1.BugbotTrialNotification (var: EHl) +message BugbotTrialNotification { + bool show = 1; + optional string message = 2; + optional string learn_more_url = 3; +} + +// Copied from: local:aiserver.v1.BugbotUsageTier (var: ULs) +enum BugbotUsageTier { + BUGBOT_USAGE_TIER_UNSPECIFIED = 0; + BUGBOT_USAGE_TIER_FREE_TIER = 1; + BUGBOT_USAGE_TIER_TRIAL = 2; + BUGBOT_USAGE_TIER_PAID = 3; +} + +// Copied from: agent.v1.BugfixResultItem (var: C0i) +message BugfixResultItem { + string bug_id = 1; + string bug_title = 2; + BugfixVerdict verdict = 3; + string explanation = 4; + optional string severity = 5; +} + +// Copied from: agent.v1.BugfixVerdict (var: ZRl) +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:aiserver.v1.BuildFullSelfDrivingTriageContextRequest (var: Qru) +message BuildFullSelfDrivingTriageContextRequest { + string pr_url = 1; + string trigger_description = 2; + optional string event_name = 3; + FullSelfDrivingMode mode = 4; + optional string bc_id = 5; + bool fetch_ci_log_excerpts = 6; +} + +// Copied from: local:aiserver.v1.BuildFullSelfDrivingTriageContextResponse (var: Yru) +message BuildFullSelfDrivingTriageContextResponse { + string triage_json = 1; +} + +// Copied from: anyrun.v1.BuildStatusLine (var: xau) +message BuildStatusLine { + uint32 stream_id = 1; + string timestamp = 2; + string content = 3; +} + +// Copied from: anyrun.v1.BuildStepStarted (var: Eau) +message BuildStepStarted { + uint32 stream_id = 1; + uint32 step = 2; + uint32 total_steps = 3; + string command = 4; +} + +// Copied from: local:aiserver.v1.BuilderCompletionContext (var: tzu) +message BuilderCompletionContext { + string stage = 1; + string current_config_json = 2; + bool github_connected = 3; + bool slack_connected = 4; + bool linear_connected = 5; + bool pagerduty_connected = 6; + bool microsoft_teams_connected = 7; +} + +// Copied from: local:aiserver.v1.BuilderCompletionMessage (var: ezu) +message BuilderCompletionMessage { + string role = 1; + string content = 2; +} + +// Copied from: local:aiserver.v1.BuilderCompletionRequest (var: nzu) +message BuilderCompletionRequest { + repeated BuilderCompletionMessage messages = 1; + BuilderCompletionContext context = 2; +} + +// Copied from: local:aiserver.v1.BuilderCompletionResponse (var: izu) +message BuilderCompletionResponse { + string content = 1; +} + +// Copied from: local:aiserver.v1.BuiltinTool (var: x0i) +enum BuiltinTool { + BUILTIN_TOOL_UNSPECIFIED = 0; + BUILTIN_TOOL_SEARCH = 1; + BUILTIN_TOOL_READ_CHUNK = 2; + BUILTIN_TOOL_GOTODEF = 3; + BUILTIN_TOOL_EDIT = 4; + BUILTIN_TOOL_UNDO_EDIT = 5; + BUILTIN_TOOL_END = 6; + BUILTIN_TOOL_NEW_FILE = 7; + BUILTIN_TOOL_ADD_TEST = 8; + BUILTIN_TOOL_RUN_TEST = 9; + BUILTIN_TOOL_DELETE_TEST = 10; + BUILTIN_TOOL_SAVE_FILE = 11; + BUILTIN_TOOL_GET_TESTS = 12; + BUILTIN_TOOL_GET_SYMBOLS = 13; + BUILTIN_TOOL_SEMANTIC_SEARCH = 14; + BUILTIN_TOOL_GET_PROJECT_STRUCTURE = 15; + BUILTIN_TOOL_CREATE_RM_FILES = 16; + BUILTIN_TOOL_RUN_TERMINAL_COMMANDS = 17; + BUILTIN_TOOL_NEW_EDIT = 18; + BUILTIN_TOOL_READ_WITH_LINTER = 19; +} + +// Copied from: local:aiserver.v1.BuiltinToolCall (var: Uvs) +message BuiltinToolCall { + BuiltinTool tool = 1; + optional string tool_call_id = 22; + oneof params { + SearchParams search_params = 2; + ReadChunkParams read_chunk_params = 3; + GotodefParams gotodef_params = 4; + EditParams edit_params = 5; + UndoEditParams undo_edit_params = 6; + EndParams end_params = 7; + NewFileParams new_file_params = 8; + AddTestParams add_test_params = 9; + RunTestParams run_test_params = 10; + DeleteTestParams delete_test_params = 11; + SaveFileParams save_file_params = 12; + GetTestsParams get_tests_params = 13; + GetSymbolsParams get_symbols_params = 14; + SemanticSearchParams semantic_search_params = 15; + GetProjectStructureParams get_project_structure_params = 16; + CreateRmFilesParams create_rm_files_params = 17; + RunTerminalCommandsParams run_terminal_commands_params = 18; + NewEditParams new_edit_params = 19; + ReadWithLinterParams read_with_linter_params = 20; + AddUiStepParams add_ui_step_params = 21; + ReadSemsearchFilesParams read_semsearch_files_params = 23; + DeleteFileParams delete_file_params = 26; + } +} + +// Copied from: local:aiserver.v1.BuiltinToolResult (var: $vs) +message BuiltinToolResult { + BuiltinTool tool = 1; + oneof result { + SearchResult search_result = 2; + ReadChunkResult read_chunk_result = 3; + GotodefResult gotodef_result = 4; + EditResult edit_result = 5; + UndoEditResult undo_edit_result = 6; + EndResult end_result = 7; + NewFileResult new_file_result = 8; + AddTestResult add_test_result = 9; + RunTestResult run_test_result = 10; + DeleteTestResult delete_test_result = 11; + SaveFileResult save_file_result = 12; + GetTestsResult get_tests_result = 13; + GetSymbolsResult get_symbols_result = 14; + SemanticSearchResult semantic_search_result = 15; + GetProjectStructureResult get_project_structure_result = 16; + CreateRmFilesResult create_rm_files_result = 17; + RunTerminalCommandsResult run_terminal_commands_result = 18; + NewEditResult new_edit_result = 19; + ReadWithLinterResult read_with_linter_result = 20; + AddUiStepResult add_ui_step_result = 21; + ReadSemsearchFilesResult read_semsearch_files_result = 22; + DeleteFileResult delete_file_result = 24; + } +} + +// Copied from: local:aiserver.v1.BulkAssignGroupMembersRequest (var: S0u) +message BulkAssignGroupMembersRequest { + int32 team_id = 1; + repeated GroupAssignment assignments = 2; + optional GroupType type = 3; +} + +// Copied from: local:aiserver.v1.BulkAssignGroupMembersResponse (var: k0u) +message BulkAssignGroupMembersResponse { + repeated string created_groups = 1; + repeated AssignmentResult results = 2; + int32 success_count = 3; + int32 error_count = 4; +} + +// Copied from: local:aiserver.v1.BulkEmbedRequest (var: Szl) +message BulkEmbedRequest { + repeated string texts = 1; +} + +// Copied from: local:aiserver.v1.BulkEmbedResponse (var: wzl) +message BulkEmbedResponse { + repeated EmbeddingResponse embeddings = 1; +} + +// Copied from: local:aiserver.v1.BulkMoveOrganizationMembersRequest (var: wuu) +message BulkMoveOrganizationMembersRequest { + string organization_id = 1; + repeated OrganizationMemberTeamMove moves = 2; +} + +// Copied from: local:aiserver.v1.BulkMoveOrganizationMembersResponse (var: Cuu) +message BulkMoveOrganizationMembersResponse { + repeated BulkOrganizationMemberMoveResult results = 1; +} + +// Copied from: local:aiserver.v1.BulkOrganizationMemberMoveResult (var: kuu) +message BulkOrganizationMemberMoveResult { + int32 added_count = 1; + int32 removed_count = 2; + optional string error_message = 3; +} + +// Copied from: local:aiserver.v1.ButtonType (var: fne) +enum ButtonType { + BUTTON_TYPE_UNSPECIFIED = 0; + BUTTON_TYPE_LEADING = 1; + BUTTON_TYPE_PRIMARY = 2; + BUTTON_TYPE_SECONDARY = 3; +} + +// Copied from: local:aiserver.v1.CICompletedSamplePayload (var: k9s) +message CICompletedSamplePayload { + int32 pr_number = 1; + string repo = 2; +} + +// Copied from: local:aiserver.v1.CachedFileContext (var: ZWl) +message CachedFileContext { + string relative_path = 1; + string language = 2; + string full_content = 3; + int64 last_viewed_timestamp = 4; +} + +// Copied from: local:aiserver.v1.CalculateAutoSelectionRequest (var: YHl) +message CalculateAutoSelectionRequest { + CurrentFileInfo current_file_info = 1; + CursorPosition cursor_position = 2; + SimpleRange selection_range = 3; + ModelDetails model_details = 4; + repeated HeuristicsSelection heuristics_selections = 5; +} + +// Copied from: local:aiserver.v1.CalculateAutoSelectionResponse (var: JHl) +message CalculateAutoSelectionResponse { + repeated AutoSelectionResult results = 1; +} + +// Copied from: local:aiserver.v1.CallClientSideV2ToolRequest (var: T_v) +message CallClientSideV2ToolRequest { + ClientSideToolV2Call tool_call = 1; + string root_path = 2; + string composer_id = 3; +} + +// Copied from: local:aiserver.v1.CallClientSideV2ToolResponse (var: A_v) +message CallClientSideV2ToolResponse { + ClientSideToolV2Result tool_result = 1; +} + +// Copied from: local:aiserver.v1.CallDiagnosticsExecutorRequest (var: e_v) +message CallDiagnosticsExecutorRequest { + string root_path = 1; + DiagnosticsArgs diagnostics_args = 2; +} + +// Copied from: local:aiserver.v1.CallDiagnosticsExecutorResponse (var: t_v) +message CallDiagnosticsExecutorResponse { + DiagnosticsResult diagnostics_result = 1; +} + +// Copied from: agent.v1.CallFrame (var: w4l) +message CallFrame { + optional string function_name = 1; + optional string url = 2; + optional int32 line_number = 3; + optional int32 column_number = 4; +} + +// Copied from: local:aiserver.v1.CallMcpToolParams (var: j_n) +message CallMcpToolParams { + string server = 1; + string tool_name = 2; + google.protobuf.Struct tool_args = 3; +} + +// Copied from: local:aiserver.v1.CallMcpToolResult (var: W0i) +message CallMcpToolResult { + string server = 1; + string tool_name = 2; + google.protobuf.Struct result = 3; +} + +// Copied from: local:aiserver.v1.CallMcpToolStream (var: E_s) +message CallMcpToolStream { +} + +// Copied from: local:aiserver.v1.CallToAction (var: ILs) +message CallToAction { + oneof call_to_action { + OpenUrlCallToAction open_url = 1; + } +} + +// Copied from: agent.v1.CancelAction (var: hEs) +message CancelAction { + string reason = 1; + optional InterruptedPendingToolCallResolutions interrupted_pending_tool_call_resolutions = 3; +} + +// Copied from: local:aiserver.v1.CancelAllAutomationRunsRequest (var: OHu) +message CancelAllAutomationRunsRequest { + string automation_id = 1; +} + +// Copied from: local:aiserver.v1.CancelAllAutomationRunsResponse (var: FHu) +message CancelAllAutomationRunsResponse { + int32 cancelled_count = 1; + string message = 2; +} + +// Copied from: local:aiserver.v1.CancelAutomationRunRequest (var: LHu) +message CancelAutomationRunRequest { + string background_composer_id = 1; +} + +// Copied from: local:aiserver.v1.CancelAutomationRunResponse (var: NHu) +message CancelAutomationRunResponse { + bool success = 1; + string message = 2; +} + +// Copied from: local:aiserver.v1.CancelBackgroundComposerToolCallRequest (var: jMu) +message CancelBackgroundComposerToolCallRequest { + string bc_id = 1; + string tool_call_id = 2; + BackgroundComposerSource source = 3; +} + +// Copied from: local:aiserver.v1.CancelBackgroundComposerToolCallResponse (var: WMu) +message CancelBackgroundComposerToolCallResponse { + bool accepted = 1; +} + +// Copied from: local:aiserver.v1.CancelEnvironmentBuildRequest (var: N2u) +message CancelEnvironmentBuildRequest { + string build_id = 1; +} + +// Copied from: local:aiserver.v1.CancelEnvironmentBuildResponse (var: O2u) +message CancelEnvironmentBuildResponse { + EnvironmentBuildRow row = 1; +} + +// Copied from: local:aiserver.v1.CancelModelRoutingLoadTestRequest (var: sFu) +message CancelModelRoutingLoadTestRequest { + string run_id = 1; +} + +// Copied from: local:aiserver.v1.CancelModelRoutingLoadTestResponse (var: oFu) +message CancelModelRoutingLoadTestResponse { + ModelRoutingLoadTestCancelOutcome outcome = 1; +} + +// Copied from: local:aiserver.v1.CancelPendingTeamSubscriptionNowRequest (var: Vmu) +message CancelPendingTeamSubscriptionNowRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.CancelPendingTeamSubscriptionNowResponse (var: Gmu) +message CancelPendingTeamSubscriptionNowResponse { +} + +// Copied from: local:aiserver.v1.CancelSandBoxUpgradeRequest (var: xKd) +message CancelSandBoxUpgradeRequest { + bool dismiss_terminal_outcome = 1; +} + +// Copied from: local:aiserver.v1.CancelSandBoxUpgradeResponse (var: TKd) +message CancelSandBoxUpgradeResponse { + SandBoxUpgradeSchedule schedule = 1; +} + +// Copied from: local:aiserver.v1.CancelSandTrialRequest (var: w_u) +message CancelSandTrialRequest { +} + +// Copied from: local:aiserver.v1.CancelSandTrialResponse (var: k_u) +message CancelSandTrialResponse { +} + +// Copied from: agent.v1.CancelSubagentAction (var: aEs) +message CancelSubagentAction { + string subagent_id = 1; +} + +// Copied from: local:aiserver.v1.CancelXaiTeamLinkProposalRequest (var: Bku) +message CancelXaiTeamLinkProposalRequest { + string organization_id = 1; +} + +// Copied from: local:aiserver.v1.CancelXaiTeamLinkProposalResponse (var: Uku) +message CancelXaiTeamLinkProposalResponse { +} + +// Copied from: agent.v1.CanvasDiagnosticsArgs (var: sUl) +message CanvasDiagnosticsArgs { + string path = 1; + string tool_call_id = 2; +} + +// Copied from: agent.v1.CanvasDiagnosticsError (var: cUl) +message CanvasDiagnosticsError { + string path = 1; + string error = 2; +} + +// Copied from: agent.v1.CanvasDiagnosticsResult (var: oUl) +message CanvasDiagnosticsResult { + oneof result { + CanvasDiagnosticsSuccess success = 1; + CanvasDiagnosticsError error = 2; + } +} + +// Copied from: agent.v1.CanvasDiagnosticsSuccess (var: aUl) +message CanvasDiagnosticsSuccess { + string path = 1; + repeated Diagnostic diagnostics = 2; +} + +// Copied from: local:aiserver.v1.CapturedProfile (var: Y8s) +message CapturedProfile { + google.protobuf.Timestamp timestamp = 1; + google.protobuf.Duration duration = 2; + bytes profile_data = 3; + string profile_config_id = 4; + ProfileKind profile_kind = 5; + map tags = 6; +} + +// Copied from: local:aiserver.v1.CapturedWebProfile (var: X8s) +message CapturedWebProfile { + google.protobuf.Timestamp timestamp = 1; + bytes trace_data = 3; + map tags = 4; +} + +// Copied from: local:aiserver.v1.ChangeBackgroundComposerSnapshotVisibilityRequest (var: nMu) +message ChangeBackgroundComposerSnapshotVisibilityRequest { + // Copied from: local:aiserver.v1.ChangeBackgroundComposerSnapshotVisibilityRequest.Visibility (var: Z3t) + enum Visibility { + VISIBILITY_UNSPECIFIED = 0; + VISIBILITY_USER = 1; + VISIBILITY_REPO_READ_WRITE = 2; + VISIBILITY_PUBLIC = 4; + VISIBILITY_TEAM = 5; + } + + string snapshot_id = 1; + Visibility visibility = 2; + string repo_url = 3; +} + +// Copied from: local:aiserver.v1.ChangeBackgroundComposerSnapshotVisibilityResponse (var: iMu) +message ChangeBackgroundComposerSnapshotVisibilityResponse { +} + +// Copied from: local:aiserver.v1.ChangeSeatRequest (var: Ffu) +message ChangeSeatRequest { + int32 team_id = 1; + int32 new_seats = 2; +} + +// Copied from: local:aiserver.v1.ChangeSeatResponse (var: Bfu) +message ChangeSeatResponse { + bool success = 1; +} + +// Copied from: local:aiserver.v1.ChangeTeamSubscriptionRequest (var: Ufu) +message ChangeTeamSubscriptionRequest { + int32 team_id = 1; + int32 new_num_seats = 2; + int32 new_request_quota_per_seat = 3; +} + +// Copied from: local:aiserver.v1.ChangeTeamSubscriptionResponse (var: $fu) +message ChangeTeamSubscriptionResponse { + bool success = 1; +} + +// Copied from: local:aiserver.v1.ChatConfig (var: G5s) +message ChatConfig { + bool disable_unification = 1; + int32 full_context_token_limit = 2; + bool disable_yolo_mode = 3; + int32 max_rule_length = 4; + int32 max_mcp_tools = 5; + int32 warn_mcp_tools = 6; + string summarization_message = 7; + int32 num_files_for_memory_generation = 8; + bool memory_default_enabled = 9; + int32 num_summarizations_before_warning_shown = 10; + bool cursor_rules_read_file_fix_enabled = 11; + bool dont_send_ctrl_c_before_command = 12; + int32 client_statsig_poll_interval_ms = 13; + bool disable_statsig = 14; + repeated string list_dir_v2_predefined_ignore_globs = 15; +} + +// Copied from: local:aiserver.v1.ChatEvent (var: V$l) +message ChatEvent { + // Copied from: local:aiserver.v1.ChatEvent.EndOfAnyGeneration (var: q$l) + message EndOfAnyGeneration { + } + + // Copied from: local:aiserver.v1.ChatEvent.EndOfUninterruptedGeneration (var: K$l) + message EndOfUninterruptedGeneration { + } + + // Copied from: local:aiserver.v1.ChatEvent.SubmitPrompt (var: G$l) + message SubmitPrompt { + string prompt = 1; + } + + string request_id = 1; + oneof event_type { + SubmitPrompt submit_prompt = 2; + EndOfAnyGeneration end_of_any_generation = 3; + EndOfUninterruptedGeneration end_of_uninterrupted_generation = 4; + } +} + +// Copied from: local:aiserver.v1.ChatExternalLink (var: d_c) +message ChatExternalLink { + string url = 1; + string uuid = 2; + optional string pdf_content = 3; + optional bool is_pdf = 4; + optional string filename = 5; +} + +// Copied from: local:aiserver.v1.ChatQuote (var: Rci) +message ChatQuote { + string markdown = 1; + string bubble_id = 2; + int32 section_index = 3; +} + +// Copied from: local:aiserver.v1.ChatRequestEventType (var: ybv) +enum ChatRequestEventType { + CHAT_REQUEST_EVENT_TYPE_UNSPECIFIED = 0; + CHAT_REQUEST_EVENT_TYPE_REQUEST_START = 1; + CHAT_REQUEST_EVENT_TYPE_MODEL_PROVIDER_REQUEST_START = 2; + CHAT_REQUEST_EVENT_TYPE_START_STREAMING = 3; + CHAT_REQUEST_EVENT_TYPE_END_STREAMING = 4; + CHAT_REQUEST_EVENT_TYPE_TOOL_CALL_START = 5; + CHAT_REQUEST_EVENT_TYPE_TOOL_CALL_END = 6; + CHAT_REQUEST_EVENT_TYPE_TOOL_CALL_STREAM_FINISHED = 8; + CHAT_REQUEST_EVENT_TYPE_REQUEST_END = 7; + CHAT_REQUEST_EVENT_TYPE_PARALLEL_TOOL_CALL_START = 9; + CHAT_REQUEST_EVENT_TYPE_PARALLEL_TOOL_CALL_END = 10; + CHAT_REQUEST_EVENT_TYPE_STREAM_STATE_CHANGE = 11; +} + +// Copied from: local:aiserver.v1.ChatRequestTelemetryEvent (var: mXu) +message ChatRequestTelemetryEvent { + string chat_request_uuid = 1; + string requested_model = 2; + string actual_model = 3; + google.protobuf.Timestamp start_time = 4; + google.protobuf.Timestamp end_time = 5; + google.protobuf.Duration duration = 6; + bool success = 7; + optional string error_message = 8; + optional string transport = 9; + string completion_status = 10; + map metadata = 11; + optional double total_ttft_ms = 12; + optional double total_generate_ms = 13; + optional double total_stream_ms = 14; + optional double total_request_ms = 15; + optional int32 model_call_count = 16; + optional double total_tool_call_latency = 17; + optional int32 tool_call_count = 18; +} + +// Copied from: local:aiserver.v1.ChatRequestTelemetryEventV2 (var: kbv) +message ChatRequestTelemetryEventV2 { + google.protobuf.Timestamp server_timestamp = 1; + string chat_id = 2; + ChatRequestEventType event_type = 3; + optional bool is_first_model_response = 4; + bool is_last_response = 5; + optional string tool_call_type = 6; + optional string tool_call_id = 7; + optional int32 output_tokens = 8; + optional int64 elapsed_ms = 9; + optional int32 sequence_number = 10; + map metadata = 11; + optional string actual_model_name = 12; + optional string mode = 13; + optional string dsv3_deployment_id = 14; + optional string requested_model = 15; + optional int32 output_chars = 16; + optional bool is_new_agent_loop = 17; + optional int32 input_tokens = 18; + optional int32 cached_read_tokens = 19; + optional string parallel_tool_call_id = 20; + optional string region = 21; + optional string user_location = 22; + optional bool is_dev = 23; +} + +// Copied from: local:aiserver.v1.ChatSuggestionItem (var: XWl) +message ChatSuggestionItem { + string text = 1; + string reason = 2; + string type = 3; + string category = 4; +} + +// Copied from: local:aiserver.v1.CheckBugBotPriceRequest (var: hHl) +message CheckBugBotPriceRequest { + int32 diff_char_len = 1; + int32 iterations = 2; + ModelDetails model_details = 3; + optional string session_id = 4; +} + +// Copied from: local:aiserver.v1.CheckBugBotPriceResponse (var: pHl) +message CheckBugBotPriceResponse { + double cost = 1; + string price_id = 2; +} + +// Copied from: local:aiserver.v1.CheckBugBotTelemetryHealthyRequest (var: fHl) +message CheckBugBotTelemetryHealthyRequest { + string session_id = 1; +} + +// Copied from: local:aiserver.v1.CheckBugBotTelemetryHealthyResponse (var: vHl) +message CheckBugBotTelemetryHealthyResponse { + bool is_healthy = 1; +} + +// Copied from: local:aiserver.v1.CheckCodebaseTelemetryPolicyRequest (var: fdv) +message CheckCodebaseTelemetryPolicyRequest { + repeated CodebaseRepositoryIdentity identities = 1; +} + +// Copied from: local:aiserver.v1.CheckCodebaseTelemetryPolicyResponse (var: vdv) +message CheckCodebaseTelemetryPolicyResponse { + bool telemetry_allowed = 1; +} + +// Copied from: local:aiserver.v1.CheckDoableAsTaskRequest (var: AKl) +message CheckDoableAsTaskRequest { + string model_output = 1; + ModelDetails model_details = 2; +} + +// Copied from: local:aiserver.v1.CheckDoableAsTaskResponse (var: IKl) +message CheckDoableAsTaskResponse { + bool doable_as_task = 1; +} + +// Copied from: local:aiserver.v1.CheckFeatureStatusRequest (var: TIs) +message CheckFeatureStatusRequest { + string feature_name = 1; +} + +// Copied from: local:aiserver.v1.CheckFeatureStatusResponse (var: AIs) +message CheckFeatureStatusResponse { + bool enabled = 1; +} + +// Copied from: local:aiserver.v1.CheckFeaturesStatusRequest (var: Yzl) +message CheckFeaturesStatusRequest { + repeated string feature_names = 1; +} + +// Copied from: local:aiserver.v1.CheckFeaturesStatusResponse (var: Zzl) +message CheckFeaturesStatusResponse { + // Copied from: local:aiserver.v1.CheckFeaturesStatusResponse.FeatureStatus (var: Xzl) + message FeatureStatus { + string feature_name = 1; + bool enabled = 2; + } + + repeated FeatureStatus feature_statuses = 1; +} + +// Copied from: local:aiserver.v1.CheckHttpMcpStatusRequest (var: Opu) +message CheckHttpMcpStatusRequest { + repeated int32 server_ids = 1; + string oauth_redirect_uri = 2; + optional int32 team_id = 3; + optional string service_account_id = 4; + bool force_reauth = 5; + optional string service_account_type = 6; + optional string post_auth_return_url = 7; + string account_key = 8; +} + +// Copied from: local:aiserver.v1.CheckHttpMcpStatusResponse (var: Fpu) +message CheckHttpMcpStatusResponse { + // Copied from: local:aiserver.v1.CheckHttpMcpStatusResponse.ServerStatus (var: g2s) + message ServerStatus { + int32 id = 1; + bool is_available = 2; + bool requires_auth = 3; + optional string auth_url = 4; + optional string error = 5; + bool has_valid_token = 6; + } + + repeated ServerStatus statuses = 1; +} + +// Copied from: local:aiserver.v1.CheckLogExcerptStatus (var: wBe) +enum CheckLogExcerptStatus { + CHECK_LOG_EXCERPT_STATUS_UNSPECIFIED = 0; + CHECK_LOG_EXCERPT_STATUS_OK = 1; + CHECK_LOG_EXCERPT_STATUS_NOT_SUPPORTED = 2; + CHECK_LOG_EXCERPT_STATUS_NOT_FOUND = 3; + CHECK_LOG_EXCERPT_STATUS_INSUFFICIENT_PERMISSIONS = 4; + CHECK_LOG_EXCERPT_STATUS_AUTH_REQUIRED = 5; + CHECK_LOG_EXCERPT_STATUS_ERROR = 6; +} + +// Copied from: local:aiserver.v1.CheckLongFilesFitResponse (var: Hql) +message CheckLongFilesFitResponse { + bool did_fit = 1; +} + +// Copied from: local:aiserver.v1.CheckNumberConfigRequest (var: IIs) +message CheckNumberConfigRequest { + string key = 1; +} + +// Copied from: local:aiserver.v1.CheckNumberConfigResponse (var: RIs) +message CheckNumberConfigResponse { + int32 value = 1; +} + +// Copied from: local:aiserver.v1.CheckNumberConfigsRequest (var: tVl) +message CheckNumberConfigsRequest { + repeated string config_names = 1; +} + +// Copied from: local:aiserver.v1.CheckNumberConfigsResponse (var: nVl) +message CheckNumberConfigsResponse { + // Copied from: local:aiserver.v1.CheckNumberConfigsResponse.Config (var: iVl) + message Config { + string config_name = 1; + int32 value = 2; + } + + repeated Config configs = 1; +} + +// Copied from: local:aiserver.v1.CheckPromotionEligibilityRequest (var: Fmu) +message CheckPromotionEligibilityRequest { + string promo_type_id = 1; +} + +// Copied from: local:aiserver.v1.CheckPromotionEligibilityResponse (var: Bmu) +message CheckPromotionEligibilityResponse { + bool can_activate = 1; + optional ActivationStatus activation_status = 2; +} + +// Copied from: local:aiserver.v1.CheckPullRequestMergeabilityRequest (var: bMi) +message CheckPullRequestMergeabilityRequest { + string pr_url = 1; +} + +// Copied from: local:aiserver.v1.CheckPullRequestMergeabilityResponse (var: tOu) +message CheckPullRequestMergeabilityResponse { + bool can_merge = 1; + string error = 2; + optional string mergeable_state = 3; +} + +// Copied from: local:aiserver.v1.CheckQueuePositionRequest (var: zIs) +message CheckQueuePositionRequest { + string orig_request_id = 1; + ModelDetails model_details = 2; + string usage_uuid = 3; +} + +// Copied from: local:aiserver.v1.CheckQueuePositionResponse (var: Mql) +message CheckQueuePositionResponse { + // Copied from: local:aiserver.v1.CheckQueuePositionResponse.CustomLink (var: Pql) + message CustomLink { + string address = 1; + string message = 2; + } + + // Copied from: local:aiserver.v1.CheckQueuePositionResponse.ModelForSlowPoolNudgeData (var: Lql) + message ModelForSlowPoolNudgeData { + string model = 1; + string message = 2; + } + + int32 position = 1; + optional int32 seconds_left_to_wait = 2; + optional int32 new_queue_position = 7; + bool hit_hard_limit = 3; + bool could_enable_usage_based_pricing_to_skip = 4; + UsageEventDetails usage_event_details = 5; + CustomLink custom_link = 6; + optional ModelForSlowPoolNudgeData model_for_slow_pool_nudge_data = 8; +} + +// Copied from: local:aiserver.v1.CheckReferralAllowlistRequest (var: kvu) +message CheckReferralAllowlistRequest { +} + +// Copied from: local:aiserver.v1.CheckReferralAllowlistResponse (var: Cvu) +message CheckReferralAllowlistResponse { + bool is_in_allowlist = 1; +} + +// Copied from: local:aiserver.v1.CheckReferralCodeRequest (var: xvu) +message CheckReferralCodeRequest { + string referral_code = 1; + string auth_id = 2; +} + +// Copied from: local:aiserver.v1.CheckReferralCodeResponse (var: Tvu) +message CheckReferralCodeResponse { + bool is_valid = 1; + bool user_is_eligible = 2; + bool max_redemptions = 3; + optional Metadata metadata = 4; +} + +// Copied from: local:aiserver.v1.CheckSessionTokenRequest (var: Vlv) +message CheckSessionTokenRequest { + string session_token = 1; + User user = 2; +} + +// Copied from: local:aiserver.v1.CheckSessionTokenResponse (var: Glv) +message CheckSessionTokenResponse { + // Copied from: local:aiserver.v1.CheckSessionTokenResponse.Validity (var: qlv) + enum Validity { + VALIDITY_UNSPECIFIED = 0; + VALIDITY_VALID = 1; + VALIDITY_INVALID = 2; + } + + bool valid = 1; + Validity validity = 2; +} + +// Copied from: local:aiserver.v1.CheckUsageBasedPriceRequest (var: Rql) +message CheckUsageBasedPriceRequest { + UsageEventDetails usage_event_details = 1; +} + +// Copied from: local:aiserver.v1.CheckUsageBasedPriceResponse (var: Dql) +message CheckUsageBasedPriceResponse { + string markdown_response = 1; + int32 cents = 2; + string price_id = 3; +} + +// Copied from: local:aiserver.v1.CheckUserApiKeyAccessRequest (var: qCu) +message CheckUserApiKeyAccessRequest { +} + +// Copied from: local:aiserver.v1.CheckUserApiKeyAccessResponse (var: KCu) +message CheckUserApiKeyAccessResponse { + bool has_access = 1; +} + +// Copied from: local:aiserver.v1.ChooseCodeReferencesRequest (var: m0i) +message ChooseCodeReferencesRequest { + // Copied from: local:aiserver.v1.ChooseCodeReferencesRequest.FileRequest (var: jAl) + message FileRequest { + string file_id = 1; + } + + // Copied from: local:aiserver.v1.ChooseCodeReferencesRequest.NodeRequest (var: WAl) + message NodeRequest { + string node_id = 1; + } + + string index_id = 1; + bool recompute = 4; + oneof request { + FileRequest file = 2; + NodeRequest node = 3; + } +} + +// Copied from: local:aiserver.v1.ChooseCodeReferencesResponse (var: HAl) +message ChooseCodeReferencesResponse { + // Copied from: local:aiserver.v1.ChooseCodeReferencesResponse.FileResponse (var: zAl) + message FileResponse { + string file_id = 1; + repeated ChooseCodeReferencesResponse.NodeResponse node_responses = 2; + } + + // Copied from: local:aiserver.v1.ChooseCodeReferencesResponse.NodeResponse (var: lfs) + message NodeResponse { + string node_id = 1; + repeated CodeSymbolWithAction actions = 2; + bool skipped = 3; + repeated string dependencies = 4; + } + + oneof response { + FileResponse file = 1; + NodeResponse node = 2; + } +} + +// Copied from: local:aiserver.v1.ChunkDiff (var: EUu) +message ChunkDiff { + string diff_string = 1; + int32 old_start = 2; + int32 new_start = 3; + int32 old_lines = 4; + int32 new_lines = 5; +} + +// Copied from: local:aiserver.v1.ChunkType (var: NSn) +enum ChunkType { + CHUNK_TYPE_UNSPECIFIED = 0; + CHUNK_TYPE_CODEBASE = 1; + CHUNK_TYPE_LONG_FILE = 2; + CHUNK_TYPE_DOCS = 3; +} + +// Copied from: local:aiserver.v1.ChunkingStrategy (var: sIl) +enum ChunkingStrategy { + CHUNKING_STRATEGY_UNSPECIFIED = 0; + CHUNKING_STRATEGY_DEFAULT = 1; +} + +// Copied from: local:aiserver.v1.ClaimDatagenRLPipelineRunRequest (var: mmv) +message ClaimDatagenRLPipelineRunRequest { + string run_id = 1; + optional string ray_job_name = 2; + optional string ray_job_namespace = 3; +} + +// Copied from: local:aiserver.v1.ClaimDatagenRLPipelineRunResponse (var: gmv) +message ClaimDatagenRLPipelineRunResponse { + bool claimed = 1; + string reject_reason = 2; + string reject_message = 3; +} + +// Copied from: local:aiserver.v1.ClaimPendingPrivateWorkerRequestRequest (var: IFu) +message ClaimPendingPrivateWorkerRequestRequest { + string bc_id = 1; + string worker_id = 2; +} + +// Copied from: local:aiserver.v1.ClaimPendingPrivateWorkerRequestResponse (var: RFu) +message ClaimPendingPrivateWorkerRequestResponse { + string bc_id = 1; + string worker_id = 2; +} + +// Copied from: local:aiserver.v1.ClaimUserProfileHandleRequest (var: DTu) +message ClaimUserProfileHandleRequest { + string handle = 1; +} + +// Copied from: local:aiserver.v1.ClaimUserProfileHandleResponse (var: MTu) +message ClaimUserProfileHandleResponse { + UserProfile profile = 1; +} + +// Copied from: local:aiserver.v1.ClassifySandAutoReviewRequest (var: fpu) +message ClassifySandAutoReviewRequest { + SmartModeClassifierArgs args = 1; + optional uint32 attempt_index = 2; + optional string mode = 3; +} + +// Copied from: local:aiserver.v1.ClassifySandAutoReviewResponse (var: vpu) +message ClassifySandAutoReviewResponse { + SmartModeClassifierResult result = 1; +} + +// Copied from: local:aiserver.v1.ClaudeCacheTtlPolicy (var: ZLs) +enum ClaudeCacheTtlPolicy { + CLAUDE_CACHE_TTL_POLICY_UNSPECIFIED = 0; + CLAUDE_CACHE_TTL_POLICY_STANDARD_5M = 1; + CLAUDE_CACHE_TTL_POLICY_EXTENDED_1H = 2; +} + +// Copied from: local:aiserver.v1.ClearSimulationRequest (var: zbv) +message ClearSimulationRequest { + int32 user_id = 1; +} + +// Copied from: local:aiserver.v1.ClearSimulationResponse (var: Vbv) +message ClearSimulationResponse { + bool success = 1; +} + +// Copied from: local:aiserver.v1.ClearTeamCreditsRequest (var: vbv) +message ClearTeamCreditsRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.ClearTeamCreditsResponse (var: bbv) +message ClearTeamCreditsResponse { + bool success = 1; +} + +// Copied from: local:aiserver.v1.ClearTeamLlmGatewayCredentialRequest (var: gbu) +message ClearTeamLlmGatewayCredentialRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.ClearTeamLlmGatewayCredentialResponse (var: fbu) +message ClearTeamLlmGatewayCredentialResponse { + TeamLlmGatewayCredentialStatus status = 1; +} + +// Copied from: local:aiserver.v1.ClearWorkerManagerRequest (var: $Du) +message ClearWorkerManagerRequest { + string worker_bc_id = 1; +} + +// Copied from: local:aiserver.v1.ClearWorkerManagerResponse (var: jDu) +message ClearWorkerManagerResponse { +} + +// Copied from: local:aiserver.v1.CliSettings (var: $2s) +message CliSettings { + repeated string allowlist = 1; + AllowlistConfig allowlist_config = 2; + bool disable_headless = 3; +} + +// Copied from: agent.v1.ClickAction (var: jRl) +message ClickAction { + optional Coordinate coordinate = 1; + MouseButton button = 2; + int32 count = 3; + optional string modifier_keys = 4; +} + +// Copied from: local:aiserver.v1.ClientAction (var: f$r) +message ClientAction { + string command_id = 1; + map args = 2; +} + +// Copied from: local:aiserver.v1.ClientActionRequest (var: J1u) +message ClientActionRequest { + string action = 1; + map args = 2; +} + +// Copied from: local:aiserver.v1.ClientActionResponse (var: eEu) +message ClientActionResponse { + bool success = 1; + optional string error_message = 2; + optional string info_message = 3; +} + +// Copied from: agent.v1.ClientContinuationConfig (var: J6l) +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:aiserver.v1.ClientInfo (var: B$u) +message ClientInfo { + optional string os = 1; + optional string arch = 2; + optional string os_version = 3; + optional string version = 4; + optional string layout = 5; +} + +// Copied from: local:aiserver.v1.ClientLogEntry (var: j$u) +message ClientLogEntry { + ClientLogLevel level = 1; + string message = 2; + map metadata = 3; + int64 timestamp = 4; + optional string error_message = 5; + optional string error_stack = 6; + string key = 7; +} + +// Copied from: local:aiserver.v1.ClientLogLevel (var: A$u) +enum ClientLogLevel { + CLIENT_LOG_LEVEL_UNSPECIFIED = 0; + CLIENT_LOG_LEVEL_INFO = 1; + CLIENT_LOG_LEVEL_DEBUG = 2; + CLIENT_LOG_LEVEL_WARN = 3; + CLIENT_LOG_LEVEL_ERROR = 4; +} + +// Copied from: local:aiserver.v1.ClientNumericMetric (var: mRs) +message ClientNumericMetric { + string metric = 1; + double value = 2; + optional string session_id = 3; + optional string ff_hash = 4; + int64 timestamp_ms = 5; + optional string client_version = 6; + optional string os = 7; + optional string enabled_extensions_hash = 8; + optional string ff_resolved = 9; + optional string extensions_resolved = 10; + optional string window_type = 11; +} + +// Copied from: local:aiserver.v1.ClientOS (var: Wmt) +enum ClientOS { + CLIENT_OS_UNSPECIFIED = 0; + CLIENT_OS_WINDOWS = 1; + CLIENT_OS_MACOS = 2; + CLIENT_OS_LINUX = 3; + CLIENT_OS_IOS = 4; +} + +// Copied from: local:aiserver.v1.ClientRepositoryInfo (var: vfs) +message ClientRepositoryInfo { + double orthogonal_transform_seed = 1; +} + +// Copied from: local:aiserver.v1.ClientSideToolV2 (var: Ze) +enum ClientSideToolV2 { + CLIENT_SIDE_TOOL_V2_UNSPECIFIED = 0; + CLIENT_SIDE_TOOL_V2_READ_SEMSEARCH_FILES = 1; + CLIENT_SIDE_TOOL_V2_RIPGREP_SEARCH = 3; + CLIENT_SIDE_TOOL_V2_READ_FILE = 5; + CLIENT_SIDE_TOOL_V2_LIST_DIR = 6; + CLIENT_SIDE_TOOL_V2_EDIT_FILE = 7; + CLIENT_SIDE_TOOL_V2_FILE_SEARCH = 8; + CLIENT_SIDE_TOOL_V2_SEMANTIC_SEARCH_FULL = 9; + CLIENT_SIDE_TOOL_V2_DELETE_FILE = 11; + CLIENT_SIDE_TOOL_V2_REAPPLY = 12; + CLIENT_SIDE_TOOL_V2_RUN_TERMINAL_COMMAND_V2 = 15; + CLIENT_SIDE_TOOL_V2_FETCH_RULES = 16; + CLIENT_SIDE_TOOL_V2_WEB_SEARCH = 18; + CLIENT_SIDE_TOOL_V2_MCP = 19; + CLIENT_SIDE_TOOL_V2_SEARCH_SYMBOLS = 23; + CLIENT_SIDE_TOOL_V2_BACKGROUND_COMPOSER_FOLLOWUP = 24; + CLIENT_SIDE_TOOL_V2_KNOWLEDGE_BASE = 25; + CLIENT_SIDE_TOOL_V2_FETCH_PULL_REQUEST = 26; + CLIENT_SIDE_TOOL_V2_DEEP_SEARCH = 27; + CLIENT_SIDE_TOOL_V2_CREATE_DIAGRAM = 28; + CLIENT_SIDE_TOOL_V2_FIX_LINTS = 29; + CLIENT_SIDE_TOOL_V2_READ_LINTS = 30; + CLIENT_SIDE_TOOL_V2_GO_TO_DEFINITION = 31; + CLIENT_SIDE_TOOL_V2_TASK = 32; + CLIENT_SIDE_TOOL_V2_AWAIT_TASK = 33; + CLIENT_SIDE_TOOL_V2_TODO_READ = 34; + CLIENT_SIDE_TOOL_V2_TODO_WRITE = 35; + CLIENT_SIDE_TOOL_V2_EDIT_FILE_V2 = 38; + CLIENT_SIDE_TOOL_V2_LIST_DIR_V2 = 39; + CLIENT_SIDE_TOOL_V2_READ_FILE_V2 = 40; + CLIENT_SIDE_TOOL_V2_RIPGREP_RAW_SEARCH = 41; + CLIENT_SIDE_TOOL_V2_GLOB_FILE_SEARCH = 42; + CLIENT_SIDE_TOOL_V2_CREATE_PLAN = 43; + CLIENT_SIDE_TOOL_V2_LIST_MCP_RESOURCES = 44; + CLIENT_SIDE_TOOL_V2_READ_MCP_RESOURCE = 45; + CLIENT_SIDE_TOOL_V2_READ_PROJECT = 46; + CLIENT_SIDE_TOOL_V2_UPDATE_PROJECT = 47; + CLIENT_SIDE_TOOL_V2_TASK_V2 = 48; + CLIENT_SIDE_TOOL_V2_CALL_MCP_TOOL = 49; + CLIENT_SIDE_TOOL_V2_APPLY_AGENT_DIFF = 50; + CLIENT_SIDE_TOOL_V2_ASK_QUESTION = 51; + CLIENT_SIDE_TOOL_V2_SWITCH_MODE = 52; + CLIENT_SIDE_TOOL_V2_GENERATE_IMAGE = 53; + CLIENT_SIDE_TOOL_V2_COMPUTER_USE = 54; + CLIENT_SIDE_TOOL_V2_WRITE_SHELL_STDIN = 55; + CLIENT_SIDE_TOOL_V2_RECORD_SCREEN = 56; + CLIENT_SIDE_TOOL_V2_WEB_FETCH = 57; + CLIENT_SIDE_TOOL_V2_REPORT_BUGFIX_RESULTS = 58; + CLIENT_SIDE_TOOL_V2_AI_ATTRIBUTION = 59; + CLIENT_SIDE_TOOL_V2_MCP_AUTH = 60; + CLIENT_SIDE_TOOL_V2_REFLECT = 61; + CLIENT_SIDE_TOOL_V2_AWAIT = 62; + CLIENT_SIDE_TOOL_V2_GET_MCP_TOOLS = 63; + CLIENT_SIDE_TOOL_V2_SEND_TO_USER = 65; + CLIENT_SIDE_TOOL_V2_CONNECT_SCM = 66; +} + +// Copied from: local:aiserver.v1.ClientSideToolV2Call (var: lae) +message ClientSideToolV2Call { + ClientSideToolV2 tool = 1; + string tool_call_id = 3; + optional double timeout_ms = 6; + string name = 9; + bool is_streaming = 14; + bool is_last_message = 15; + bool internal = 51; + string raw_args = 10; + optional uint32 tool_index = 48; + optional string model_call_id = 49; + oneof params { + ReadSemsearchFilesParams read_semsearch_files_params = 2; + RipgrepSearchParams ripgrep_search_params = 5; + ReadFileParams read_file_params = 8; + ListDirParams list_dir_params = 12; + EditFileParams edit_file_params = 13; + ToolCallFileSearchParams file_search_params = 16; + SemanticSearchFullParams semantic_search_full_params = 17; + DeleteFileParams delete_file_params = 19; + ReapplyParams reapply_params = 20; + RunTerminalCommandV2Params run_terminal_command_v2_params = 23; + FetchRulesParams fetch_rules_params = 24; + WebSearchParams web_search_params = 26; + MCPParams mcp_params = 27; + SearchSymbolsParams search_symbols_params = 31; + GotodefParams gotodef_params = 41; + BackgroundComposerFollowupParams background_composer_followup_params = 32; + KnowledgeBaseParams knowledge_base_params = 33; + FetchPullRequestParams fetch_pull_request_params = 34; + DeepSearchParams deep_search_params = 35; + CreateDiagramParams create_diagram_params = 36; + FixLintsParams fix_lints_params = 37; + ReadLintsParams read_lints_params = 38; + TaskParams task_params = 42; + AwaitTaskParams await_task_params = 43; + TodoReadParams todo_read_params = 44; + TodoWriteParams todo_write_params = 45; + EditFileV2Params edit_file_v2_params = 50; + ListDirV2Params list_dir_v2_params = 52; + ReadFileV2Params read_file_v2_params = 53; + RipgrepRawSearchParams ripgrep_raw_search_params = 54; + GlobFileSearchParams glob_file_search_params = 55; + CreatePlanParams create_plan_params = 56; + ListMcpResourcesParams list_mcp_resources_params = 57; + ReadMcpResourceParams read_mcp_resource_params = 58; + ReadProjectParams read_project_params = 59; + UpdateProjectParams update_project_params = 60; + TaskV2Params task_v2_params = 61; + CallMcpToolParams call_mcp_tool_params = 62; + ApplyAgentDiffParams apply_agent_diff_params = 63; + AskQuestionParams ask_question_params = 64; + SwitchModeParams switch_mode_params = 65; + ComputerUseParams computer_use_params = 66; + WriteShellStdinArgs write_shell_stdin_params = 67; + RecordScreenArgs record_screen_params = 68; + WebFetchParams web_fetch_params = 69; + ReportBugfixResultsParams report_bugfix_results_params = 70; + McpAuthParams mcp_auth_params = 71; + GetMcpToolsParams get_mcp_tools_params = 72; + ConnectScmParams connect_scm_params = 73; + } +} + +// Copied from: local:aiserver.v1.ClientSideToolV2Result (var: hT) +message ClientSideToolV2Result { + ClientSideToolV2 tool = 1; + string tool_call_id = 35; + optional ToolResultError error = 8; + optional string model_call_id = 48; + optional uint32 tool_index = 49; + optional ToolResultAttachments attachments = 50; + oneof result { + ReadSemsearchFilesResult read_semsearch_files_result = 2; + RipgrepSearchResult ripgrep_search_result = 4; + ReadFileResult read_file_result = 6; + ListDirResult list_dir_result = 9; + EditFileResult edit_file_result = 10; + ToolCallFileSearchResult file_search_result = 11; + SemanticSearchFullResult semantic_search_full_result = 18; + DeleteFileResult delete_file_result = 20; + ReapplyResult reapply_result = 21; + RunTerminalCommandV2Result run_terminal_command_v2_result = 24; + FetchRulesResult fetch_rules_result = 25; + WebSearchResult web_search_result = 27; + MCPResult mcp_result = 28; + SearchSymbolsResult search_symbols_result = 32; + BackgroundComposerFollowupResult background_composer_followup_result = 33; + KnowledgeBaseResult knowledge_base_result = 34; + FetchPullRequestResult fetch_pull_request_result = 36; + DeepSearchResult deep_search_result = 37; + CreateDiagramResult create_diagram_result = 38; + FixLintsResult fix_lints_result = 39; + ReadLintsResult read_lints_result = 40; + GotodefResult gotodef_result = 41; + TaskResult task_result = 42; + AwaitTaskResult await_task_result = 43; + TodoReadResult todo_read_result = 44; + TodoWriteResult todo_write_result = 45; + EditFileV2Result edit_file_v2_result = 51; + ListDirV2Result list_dir_v2_result = 52; + ReadFileV2Result read_file_v2_result = 53; + RipgrepRawSearchResult ripgrep_raw_search_result = 54; + GlobFileSearchResult glob_file_search_result = 55; + CreatePlanResult create_plan_result = 56; + ListMcpResourcesResult list_mcp_resources_result = 57; + ReadMcpResourceResult read_mcp_resource_result = 58; + ReadProjectResult read_project_result = 59; + UpdateProjectResult update_project_result = 60; + TaskV2Result task_v2_result = 61; + CallMcpToolResult call_mcp_tool_result = 62; + ApplyAgentDiffResult apply_agent_diff_result = 63; + AskQuestionResult ask_question_result = 64; + SwitchModeResult switch_mode_result = 65; + ComputerUseResult computer_use_result = 66; + GenerateImageResult generate_image_result = 67; + WriteShellStdinResult write_shell_stdin_result = 68; + RecordScreenResult record_screen_result = 69; + WebFetchResult web_fetch_result = 70; + ReportBugfixResultsResult report_bugfix_results_result = 71; + AiAttributionResult ai_attribution_result = 72; + McpAuthResult mcp_auth_result = 73; + GetMcpToolsResult get_mcp_tools_result = 74; + ConnectScmResult connect_scm_result = 75; + } +} + +// Copied from: local:aiserver.v1.ClientSurface (var: LBe) +enum ClientSurface { + CLIENT_SURFACE_UNSPECIFIED = 0; + CLIENT_SURFACE_EDITOR = 1; + CLIENT_SURFACE_GLASS = 2; +} + +// Copied from: local:aiserver.v1.ClientTracingConfig (var: v8u) +message ClientTracingConfig { + double global_sample_rate = 1; + double traces_sample_rate = 2; + double logger_sample_rate = 3; + double minidump_sample_rate = 4; + double error_rate_limit = 5; + double performance_unit_rate_limit = 6; + double profiles_sample_rate = 7; + double json_stringify_sample_rate = 8; +} + +// Copied from: local:aiserver.v1.ClientUpdateLevel (var: Pmt) +enum ClientUpdateLevel { + CLIENT_UPDATE_LEVEL_UNSPECIFIED = 0; + CLIENT_UPDATE_LEVEL_NONE = 1; + CLIENT_UPDATE_LEVEL_RECOMMENDED = 2; + CLIENT_UPDATE_LEVEL_REQUIRED = 3; +} + +// Copied from: local:aiserver.v1.ClientVersionStatus (var: g8u) +message ClientVersionStatus { + ClientUpdateLevel update_level = 1; + string current_client_version = 2; + string min_supported_client_version = 3; + string min_allowed_client_version = 4; + optional string message = 5; +} + +// Copied from: local:aiserver.v1.ClientVisibleCreditGrant (var: Y_u) +message ClientVisibleCreditGrant { + int64 remaining_cents = 1; + int64 total_cents = 2; + int64 expires_at_ms = 3; + string display_name = 4; + optional int32 percent_used = 5; +} + +// Copied from: anyrun.v1.CloneCompleted (var: Lau) +message CloneCompleted { + ClonePurpose purpose = 1; +} + +// Copied from: anyrun.v1.ClonePurpose (var: Pkn) +enum ClonePurpose { + CLONE_PURPOSE_UNSPECIFIED = 0; + CLONE_PURPOSE_DOCKER_BUILD = 1; + CLONE_PURPOSE_WORKSPACE_SETUP = 2; +} + +// Copied from: anyrun.v1.CloneStarted (var: Pau) +message CloneStarted { + ClonePurpose purpose = 1; +} + +// Copied from: local:aiserver.v1.CloseEventSubscriptionRequest (var: pPu) +message CloseEventSubscriptionRequest { + string named_agent_id = 1; + string subscription_id = 2; +} + +// Copied from: local:aiserver.v1.CloseEventSubscriptionResponse (var: mPu) +message CloseEventSubscriptionResponse { + bool closed = 1; +} + +// Copied from: local:aiserver.v1.CloudAgentAnyrunPendingDockerBuildVmInfo (var: QOu) +message CloudAgentAnyrunPendingDockerBuildVmInfo { + string anyrun_cluster = 1; + string docker_build_events_redis_stream_key = 2; +} + +// Copied from: local:aiserver.v1.CloudAgentAnyrunVmInfo (var: KOu) +message CloudAgentAnyrunVmInfo { + string tenant_id = 1; + string pod_id = 2; + string anyrun_cluster = 3; + string workspace_root_path = 4; + optional string docker_build_events_redis_stream_key = 5; + optional string setup_events_redis_stream_key = 6; + optional string prewarm_workflow_id = 7; + optional EnvironmentBuildBootInfo environment_build_boot_info = 8; +} + +// Copied from: local:aiserver.v1.CloudAgentDashboardRunDayBucket (var: PMu) +message CloudAgentDashboardRunDayBucket { + int64 day_start_ms = 1; + int64 success_count = 2; + int64 warning_count = 3; + int64 failure_count = 4; +} + +// Copied from: local:aiserver.v1.CloudAgentDashboardRunFilter (var: mFs) +message CloudAgentDashboardRunFilter { + optional string team_id = 1; + int64 created_after_ms = 2; + int64 created_before_ms = 3; + repeated CloudAgentSourceCategory triggers = 4; + repeated CloudAgentDashboardRunStatus statuses = 5; + optional int64 created_by_user_id = 6; +} + +// Copied from: local:aiserver.v1.CloudAgentDashboardRunRow (var: gFs) +message CloudAgentDashboardRunRow { + string bc_id = 1; + int64 created_at_ms = 2; + CloudAgentSourceCategory trigger = 3; + optional int64 created_by_user_id = 4; + optional string created_by_display = 5; + optional string environment_name = 6; + optional string environment_public_id = 7; + optional string repo_url = 8; + CloudAgentDashboardRunStatus status = 9; +} + +// Copied from: local:aiserver.v1.CloudAgentDashboardRunSort (var: IMu) +message CloudAgentDashboardRunSort { + CloudAgentDashboardRunSortField field = 1; + CloudAgentDashboardRunSortDirection direction = 2; +} + +// Copied from: local:aiserver.v1.CloudAgentDashboardRunSortDirection (var: XRu) +enum CloudAgentDashboardRunSortDirection { + CLOUD_AGENT_DASHBOARD_RUN_SORT_DIRECTION_UNSPECIFIED = 0; + CLOUD_AGENT_DASHBOARD_RUN_SORT_DIRECTION_DESC = 1; + CLOUD_AGENT_DASHBOARD_RUN_SORT_DIRECTION_ASC = 2; +} + +// Copied from: local:aiserver.v1.CloudAgentDashboardRunSortField (var: ZRu) +enum CloudAgentDashboardRunSortField { + CLOUD_AGENT_DASHBOARD_RUN_SORT_FIELD_UNSPECIFIED = 0; + CLOUD_AGENT_DASHBOARD_RUN_SORT_FIELD_CREATED_AT = 1; +} + +// Copied from: local:aiserver.v1.CloudAgentDashboardRunStatus (var: KOs) +enum CloudAgentDashboardRunStatus { + CLOUD_AGENT_DASHBOARD_RUN_STATUS_UNSPECIFIED = 0; + CLOUD_AGENT_DASHBOARD_RUN_STATUS_RUNNING = 1; + CLOUD_AGENT_DASHBOARD_RUN_STATUS_FINISHED = 2; + CLOUD_AGENT_DASHBOARD_RUN_STATUS_ERROR = 3; + CLOUD_AGENT_DASHBOARD_RUN_STATUS_INSTALL_FAILED = 4; +} + +// Copied from: local:aiserver.v1.CloudAgentEffortMode (var: AAi) +enum CloudAgentEffortMode { + CLOUD_AGENT_EFFORT_MODE_UNSPECIFIED = 0; + CLOUD_AGENT_EFFORT_MODE_STANDARD = 1; + CLOUD_AGENT_EFFORT_MODE_GRIND = 2; +} + +// Copied from: local:aiserver.v1.CloudAgentEgressProtectionMode (var: Bkn) +enum CloudAgentEgressProtectionMode { + CLOUD_AGENT_EGRESS_PROTECTION_MODE_UNSPECIFIED = 0; + CLOUD_AGENT_EGRESS_PROTECTION_MODE_ALLOW_ALL = 1; + CLOUD_AGENT_EGRESS_PROTECTION_MODE_DEFAULT_WITH_NETWORK_SETTINGS = 2; + CLOUD_AGENT_EGRESS_PROTECTION_MODE_NETWORK_SETTINGS_ONLY = 3; + CLOUD_AGENT_EGRESS_PROTECTION_MODE_PARENT_PLUS_NETWORK_SETTINGS = 4; +} + +// Copied from: local:aiserver.v1.CloudAgentErrorDetails (var: hBs) +message CloudAgentErrorDetails { + string error_message = 1; + string error_code = 2; + optional string dev_only_message = 3; + optional ErrorDetails error_details = 4; +} + +// Copied from: local:aiserver.v1.CloudAgentMemoryDbLogEntry (var: vFu) +message CloudAgentMemoryDbLogEntry { + CloudAgentMemoryDbLogSource source = 2; + optional uint32 worker_index = 3; + oneof log { + PodEvent event = 4; + WaterfallUpdate waterfall_update = 5; + } +} + +// Copied from: local:aiserver.v1.CloudAgentMemoryDbLogSource (var: pDu) +enum CloudAgentMemoryDbLogSource { + CLOUD_AGENT_MEMORY_DB_LOG_SOURCE_UNSPECIFIED = 0; + CLOUD_AGENT_MEMORY_DB_LOG_SOURCE_DOCKER_BUILD = 1; + CLOUD_AGENT_MEMORY_DB_LOG_SOURCE_SETUP = 2; +} + +// Copied from: local:aiserver.v1.CloudAgentModelSelection (var: pct) +message CloudAgentModelSelection { + // Copied from: local:aiserver.v1.CloudAgentModelSelection.ParameterValue (var: Kbc) + message ParameterValue { + string id = 1; + string value = 2; + } + + string model_id = 1; + repeated ParameterValue parameters = 2; + optional bool max_mode = 3; +} + +// Copied from: local:aiserver.v1.CloudAgentPluginSnapshot (var: AEu) +message CloudAgentPluginSnapshot { + EffectivePlugin effective_plugin = 1; + optional string git_ref = 3; +} + +// Copied from: local:aiserver.v1.CloudAgentRunEvent (var: FMu) +message CloudAgentRunEvent { + string public_id = 1; + int64 created_at_ms = 2; + CloudAgentRunEventCategory category = 3; + CloudAgentRunEventLogLevel log_level = 4; + string kind = 5; + string title = 6; + optional string detail = 7; + optional string link_url = 8; +} + +// Copied from: local:aiserver.v1.CloudAgentRunEventCategory (var: JRu) +enum CloudAgentRunEventCategory { + CLOUD_AGENT_RUN_EVENT_CATEGORY_UNSPECIFIED = 0; + CLOUD_AGENT_RUN_EVENT_CATEGORY_BUILD = 1; + CLOUD_AGENT_RUN_EVENT_CATEGORY_AGENT_SETUP = 2; + CLOUD_AGENT_RUN_EVENT_CATEGORY_AGENT_RUN = 3; +} + +// Copied from: local:aiserver.v1.CloudAgentRunEventLogLevel (var: eDu) +enum CloudAgentRunEventLogLevel { + CLOUD_AGENT_RUN_EVENT_LOG_LEVEL_UNSPECIFIED = 0; + CLOUD_AGENT_RUN_EVENT_LOG_LEVEL_INFO = 1; + CLOUD_AGENT_RUN_EVENT_LOG_LEVEL_WARN = 2; + CLOUD_AGENT_RUN_EVENT_LOG_LEVEL_ERROR = 3; +} + +// Copied from: local:aiserver.v1.CloudAgentRunsCursor (var: pFs) +message CloudAgentRunsCursor { + int64 created_at_ms = 1; + string bc_id = 2; + int64 id = 3; +} + +// Copied from: local:aiserver.v1.CloudAgentSourceCategory (var: A8) +enum CloudAgentSourceCategory { + CLOUD_AGENT_SOURCE_CATEGORY_UNSPECIFIED = 0; + CLOUD_AGENT_SOURCE_CATEGORY_DESKTOP = 1; + CLOUD_AGENT_SOURCE_CATEGORY_WEB = 2; + CLOUD_AGENT_SOURCE_CATEGORY_MOBILE = 3; + CLOUD_AGENT_SOURCE_CATEGORY_SLACK = 4; + CLOUD_AGENT_SOURCE_CATEGORY_LINEAR = 5; + CLOUD_AGENT_SOURCE_CATEGORY_SCM = 6; + CLOUD_AGENT_SOURCE_CATEGORY_CLI = 7; + CLOUD_AGENT_SOURCE_CATEGORY_SETUP = 8; + CLOUD_AGENT_SOURCE_CATEGORY_SDK = 9; + CLOUD_AGENT_SOURCE_CATEGORY_AUTOMATIONS = 10; + CLOUD_AGENT_SOURCE_CATEGORY_API = 11; + CLOUD_AGENT_SOURCE_CATEGORY_BUGBOT_AUTOFIX = 12; + CLOUD_AGENT_SOURCE_CATEGORY_QABOT_FRONTEND = 13; + CLOUD_AGENT_SOURCE_CATEGORY_LOCAL = 14; + CLOUD_AGENT_SOURCE_CATEGORY_INTERNAL = 15; + CLOUD_AGENT_SOURCE_CATEGORY_SAND = 16; +} + +// Copied from: local:aiserver.v1.CloudAgentStartupWarning (var: pBs) +message CloudAgentStartupWarning { + CloudAgentStartupWarningType warning_type = 1; + string user_facing_message = 2; +} + +// Copied from: local:aiserver.v1.CloudAgentStartupWarningType (var: dDu) +enum CloudAgentStartupWarningType { + CLOUD_AGENT_STARTUP_WARNING_TYPE_UNSPECIFIED = 0; + CLOUD_AGENT_STARTUP_WARNING_TYPE_SNAPSHOT_EXPIRED = 1; + CLOUD_AGENT_STARTUP_WARNING_TYPE_SNAPSHOT_INVALID = 2; + CLOUD_AGENT_STARTUP_WARNING_TYPE_SNAPSHOT_NOT_FOUND_OR_NO_ACCESS = 3; + CLOUD_AGENT_STARTUP_WARNING_TYPE_SNAPSHOT_COPY_FAILED = 4; +} + +// Copied from: local:aiserver.v1.CloudAgentState (var: CBe) +message CloudAgentState { + ConversationStateStructure conversation_state = 1; + uint32 num_prior_interaction_updates = 2; + bytes pr_body = 3; + bytes summary = 4; + bytes branch_name = 5; + bytes pr_url = 6; + bytes agent_name = 8; + string last_interaction_update_offset_key = 7; + optional string starting_commit = 9; + optional string base_branch = 10; + bytes config = 11; + optional string local_state_branch = 12; + bytes original_prompt_blob_id = 13; + bytes repository_info_blob_id = 14; + bytes original_conversation_action_blob_id = 15; + bytes video_annotations_blob_id = 16; + optional string last_user_turn_commit = 17; + optional BackgroundComposerSource last_followup_source = 18; + optional bool continue_rebase = 19; + repeated string turn_start_todo_ids = 20; + optional int64 original_request_start_unix_ms = 21; + optional bool initial_turn_latency_reported = 22; + optional string agent_session_id = 23; + optional string kickoff_message_id = 24; + optional GrindModeConfig grind_mode_config = 25; + repeated BackgroundComposerCommit commits = 26; + optional int32 commit_count = 27; + optional CloudAgentErrorDetails user_facing_error_details = 28; + optional BackgroundComposerSource initial_source = 29; + uint32 num_completed_turns = 30; + optional SynthesisSubagentConfig synthesis_subagent_config = 31; + bytes start_request_blob_id = 32; + bytes commit_reminder_state_blob_id = 33; + bytes grind_mode_tracking_state_blob_id = 34; + bytes workflow_control_state_blob_id = 35; + repeated WorkerCreation worker_creations = 36; + optional bool is_time_limit_expired = 37; + bytes resolved_egress_policy_blob_id = 38; + optional OptimizedDiffState optimized_diff = 39; + bytes pending_pr_blob_id = 40; + optional bool is_pod_finalized = 41; + bytes next_turn_system_reminders_blob_id = 42; + bytes cloud_plugin_manifest_blob_id = 43; + map per_branch_optimized_diffs = 44; + repeated CloudAgentStartupWarning startup_warnings = 45; + optional PrivateWorkspaceIdentifier private_workspace_identifier = 46; + optional bool uses_first_class_subagents = 48; + optional uint32 conversation_rewind_epoch = 49; + bytes pending_summarization_state_blob_id = 50; + bytes pending_summarization_snapshot_blob_id = 51; + bytes admitted_custom_mode_state_blob_id = 52; + optional bool agent_store_artifacts_symlink_enabled = 53; + optional ProjectDetails project_details = 54; + optional bool uses_coordinator_membership = 55; + repeated string suggested_repo_names = 56; + optional bool new_project_seeded_empty_root = 58; +} + +// Copied from: local:aiserver.v1.CloudAgentStatePersistedMetadata (var: cBs) +message CloudAgentStatePersistedMetadata { + // Copied from: local:aiserver.v1.CloudAgentStatePersistedMetadata.PersistedMetadataVersion (var: lBs) + enum PersistedMetadataVersion { + PERSISTED_METADATA_VERSION_UNSPECIFIED = 0; + PERSISTED_METADATA_VERSION_1 = 1; + } + + bytes cloud_agent_state_blob_id = 1; + string offset_key = 2; + double timestamp_ms = 3; + CloudAgentWorkflowStatus workflow_status = 4; + PersistedMetadataVersion version = 5; +} + +// Copied from: local:aiserver.v1.CloudAgentSyntheticsScenarioInput (var: eFu) +message CloudAgentSyntheticsScenarioInput { + string name = 1; + string prompt = 2; + string model = 3; + string repo_url = 4; + string repo_ref = 5; + bool canary = 6; + uint32 max_duration_sec = 7; +} + +// Copied from: local:aiserver.v1.CloudAgentTimingEvent (var: CLu) +message CloudAgentTimingEvent { + double timestamp_ms = 1; + CloudAgentTimingEventType event = 2; + optional uint32 turn_number = 3; +} + +// Copied from: local:aiserver.v1.CloudAgentTimingEventType (var: Tqe) +enum CloudAgentTimingEventType { + CLOUD_AGENT_TIMING_EVENT_TYPE_UNSPECIFIED = 0; + CLOUD_AGENT_TIMING_EVENT_TYPE_REQUEST_RECEIVED = 1; + CLOUD_AGENT_TIMING_EVENT_TYPE_PREWARMED_POD_RECEIVED = 2; + CLOUD_AGENT_TIMING_EVENT_TYPE_POD_REQUESTED = 3; + CLOUD_AGENT_TIMING_EVENT_TYPE_POD_READY = 4; + CLOUD_AGENT_TIMING_EVENT_TYPE_FIRST_TOKEN = 5; + CLOUD_AGENT_TIMING_EVENT_TYPE_STALE_SNAPSHOT_USED = 6; +} + +// Copied from: local:aiserver.v1.CloudAgentVmHistory (var: GOu) +message CloudAgentVmHistory { + repeated CloudAgentVmHistoryEntry entries = 1; +} + +// Copied from: local:aiserver.v1.CloudAgentVmHistoryEntry (var: qOu) +message CloudAgentVmHistoryEntry { + int32 worker_index = 1; + bool is_current_worker = 2; + optional int64 environment_version_id = 3; + optional int64 replaced_at_unix_ms = 4; + oneof info { + CloudAgentAnyrunVmInfo anyrun = 5; + CloudAgentAnyrunPendingDockerBuildVmInfo anyrun_pending_docker_build = 6; + } +} + +// Copied from: local:aiserver.v1.CloudAgentWorkflowControlState (var: af) +message CloudAgentWorkflowControlState { + repeated QueuedFollowup pending_followups = 1; + int32 followup_completion_count = 2; + bool running_desired = 3; + bool can_run_loop = 4; + repeated QueuedMakePRRequest pending_make_pr_requests = 5; + repeated QueuedOpenPRRequest pending_open_pr_requests = 6; + repeated string immediate_followup_ids = 7; + int64 last_updated_ms = 8; + repeated string completed_followup_ids = 9; + repeated ConversationAction skipped_input_actions = 10; + repeated CompletedMakePRRequest completed_make_pr_requests = 11; + repeated CompletedOpenPRRequest completed_open_pr_requests = 12; + optional PausedInteractionStep paused_interaction_step = 13; + repeated QueuedInteractionResponse pending_interaction_responses = 14; + repeated uint32 completed_interaction_query_ids = 15; + repeated PendingIdleFollowup pending_idle_followups = 16; + repeated ConversationActionReference skipped_input_action_refs = 17; + optional string last_completed_resubmit_followup_id = 18; + optional uint32 async_subagent_completion_epoch = 19; + repeated PendingContextInjection pending_context_injections = 20; + repeated string completed_injection_ids = 21; + repeated string completed_delivery_batch_ids = 22; + repeated PendingPromotion pending_promotions = 23; +} + +// Copied from: local:aiserver.v1.CloudAgentWorkflowStatus (var: dp) +enum CloudAgentWorkflowStatus { + CLOUD_AGENT_WORKFLOW_STATUS_UNSPECIFIED = 0; + CLOUD_AGENT_WORKFLOW_STATUS_RUNNING = 1; + CLOUD_AGENT_WORKFLOW_STATUS_IDLE = 2; + CLOUD_AGENT_WORKFLOW_STATUS_ERROR = 3; + CLOUD_AGENT_WORKFLOW_STATUS_ARCHIVED = 4; + CLOUD_AGENT_WORKFLOW_STATUS_EXPIRED = 5; + CLOUD_AGENT_WORKFLOW_STATUS_NOT_YET_STARTED = 6; + CLOUD_AGENT_WORKFLOW_STATUS_WAITING_FOR_BACKGROUND_WORK = 7; +} + +// Copied from: local:aiserver.v1.CloudSetupBlocker (var: lRs) +message CloudSetupBlocker { + string id = 1; + string icon = 2; + CloudSetupBlockerAction action = 3; + string cta_label = 4; + string checklist_title = 7; + string checklist_description = 8; +} + +// Copied from: local:aiserver.v1.CloudSetupBlockerAction (var: oYl) +message CloudSetupBlockerAction { + oneof action { + string url = 1; + google.protobuf.Empty open_privacy_settings = 2; + google.protobuf.Empty open_github_connect = 3; + google.protobuf.Empty open_repo_picker = 4; + } +} + +// Copied from: local:aiserver.v1.CloudSubagentParentAgentType (var: ome) +enum CloudSubagentParentAgentType { + CLOUD_SUBAGENT_PARENT_AGENT_TYPE_UNSPECIFIED = 0; + CLOUD_SUBAGENT_PARENT_AGENT_TYPE_LOCAL = 1; + CLOUD_SUBAGENT_PARENT_AGENT_TYPE_CLOUD = 2; +} + +// Copied from: local:aiserver.v1.CloudSubagentParentReference (var: hmt) +message CloudSubagentParentReference { + string parent_agent_id = 1; + string parent_tool_call_id = 2; + CloudSubagentParentAgentType parent_agent_type = 3; + optional string subagent_type_name = 5; + optional CloudSubagentParentSpawnKind parent_spawn_kind = 6; + optional string parent_spawn_id = 7; + oneof lineage { + CloudSubagentTaskLineage task = 8; + CloudSubagentSubscriptionResourceLineage subscription_resource = 9; + } +} + +// Copied from: local:aiserver.v1.CloudSubagentParentSpawnKind (var: rMi) +enum CloudSubagentParentSpawnKind { + CLOUD_SUBAGENT_PARENT_SPAWN_KIND_UNSPECIFIED = 0; + CLOUD_SUBAGENT_PARENT_SPAWN_KIND_TASK = 1; + CLOUD_SUBAGENT_PARENT_SPAWN_KIND_EVENT_SUBSCRIPTION = 2; + CLOUD_SUBAGENT_PARENT_SPAWN_KIND_ADOPTED = 3; +} + +// Copied from: agent.v1.CloudSubagentReference (var: CEs) +message CloudSubagentReference { + string bc_id = 1; + optional string transcript_path = 2; +} + +// Copied from: local:aiserver.v1.CloudSubagentSubscriptionResourceLineage (var: fPu) +message CloudSubagentSubscriptionResourceLineage { + string route_id = 1; + string route_kind = 2; +} + +// Copied from: local:aiserver.v1.CloudSubagentTaskLineage (var: gPu) +message CloudSubagentTaskLineage { + string parent_tool_call_id = 1; +} + +// Copied from: local:aiserver.v1.CmdKDebugInfo (var: Ahe) +message CmdKDebugInfo { + // Copied from: local:aiserver.v1.CmdKDebugInfo.CppFileDiffHistory (var: jbc) + message CppFileDiffHistory { + string file_name = 1; + repeated string diff_history = 2; + } + + // Copied from: local:aiserver.v1.CmdKDebugInfo.OpenEditor (var: $bc) + message OpenEditor { + string relative_workspace_path = 1; + int32 editor_group_index = 2; + int32 editor_group_id = 3; + bool is_active = 4; + } + + // Copied from: local:aiserver.v1.CmdKDebugInfo.PastThought (var: Wbc) + message PastThought { + string text = 1; + double time_in_unix_seconds = 2; + } + + // Copied from: local:aiserver.v1.CmdKDebugInfo.UnsavedFiles (var: Ubc) + message UnsavedFiles { + string relative_workspace_path = 1; + string contents = 2; + } + + string remote_url = 1; + string commit_id = 2; + string git_patch = 3; + repeated UnsavedFiles unsaved_files = 4; + double unix_timestamp_ms = 5; + repeated OpenEditor open_editors = 6; + repeated CppFileDiffHistory file_diff_histories = 7; + string branch_name = 8; + string branch_notes = 9; + string branch_notes_rich = 12; + string global_notes = 10; + repeated PastThought past_thoughts = 11; + string base_branch_name = 13; + string base_branch_commit_id = 14; +} + +// Copied from: local:aiserver.v1.CmdKEvent (var: O$l) +message CmdKEvent { + // Copied from: local:aiserver.v1.CmdKEvent.AcceptDiffs (var: $$l) + message AcceptDiffs { + } + + // Copied from: local:aiserver.v1.CmdKEvent.AcceptPartialDiff (var: W$l) + message AcceptPartialDiff { + IRange green_range = 1; + repeated string green_lines = 2; + repeated string red_lines = 3; + } + + // Copied from: local:aiserver.v1.CmdKEvent.AfterReject (var: z$l) + message AfterReject { + } + + // Copied from: local:aiserver.v1.CmdKEvent.EndOfGeneration (var: B$l) + message EndOfGeneration { + } + + // Copied from: local:aiserver.v1.CmdKEvent.InterruptGeneration (var: U$l) + message InterruptGeneration { + } + + // Copied from: local:aiserver.v1.CmdKEvent.RejectDiffs (var: j$l) + message RejectDiffs { + optional string actor_request_id = 1; + optional bool silent = 2; + } + + // Copied from: local:aiserver.v1.CmdKEvent.RejectPartialDiff (var: H$l) + message RejectPartialDiff { + IRange green_range = 1; + repeated string green_lines = 2; + repeated string red_lines = 3; + } + + // Copied from: local:aiserver.v1.CmdKEvent.SubmitPrompt (var: F$l) + message SubmitPrompt { + IRange original_range = 1; + string original_text = 2; + string prompt = 3; + } + + PointInTimeModel point_in_time_model = 1; + string request_id = 2; + optional string prompt_bar_id = 20; + oneof event_type { + SubmitPrompt submit_prompt = 3; + EndOfGeneration end_of_generation = 4; + InterruptGeneration interrupt_generation = 5; + AcceptDiffs accept_all = 6; + RejectDiffs reject_all = 7; + RejectPartialDiff reject_partial_diff = 8; + AcceptPartialDiff accept_partial_diff = 9; + AfterReject after_reject = 10; + } +} + +// Copied from: local:aiserver.v1.CmdKExternalLink (var: Dci) +message CmdKExternalLink { + string url = 1; + string uuid = 2; +} + +// Copied from: local:aiserver.v1.CmdKLegacyContext (var: sAe) +message CmdKLegacyContext { + ExplicitContext explicit_context = 4; + repeated CodeBlock prompt_code_blocks = 12; + repeated string documentation_identifiers = 10; +} + +// Copied from: local:aiserver.v1.CmdKOptions (var: ewn) +message CmdKOptions { + ModelDetails model_details = 3; + bool chat_mode = 1; + bool ada_cmd_k_context = 2; + optional bool use_reranker = 4; + optional bool use_web = 5; + optional bool request_is_for_caching = 6; +} + +// Copied from: local:aiserver.v1.CmdKPreviousEdit (var: twn) +message CmdKPreviousEdit { + repeated string original_lines = 1; + repeated string new_lines = 2; + string relative_path = 3; + repeated string extra_context_above = 4; + repeated string extra_context_below = 5; +} + +// Copied from: local:aiserver.v1.CmdKUpcomingEdit (var: XAs) +message CmdKUpcomingEdit { + repeated string original_lines = 1; + string relative_path = 3; + repeated string extra_context_above = 4; + repeated string extra_context_below = 5; +} + +// Copied from: local:aiserver.v1.CodeBlock (var: qI) +message CodeBlock { + // Copied from: local:aiserver.v1.CodeBlock.Signatures (var: Hbc) + 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: local:aiserver.v1.CodeChunk (var: _$r) +message CodeChunk { + // Copied from: local:aiserver.v1.CodeChunk.Intent (var: g_c) + enum Intent { + INTENT_UNSPECIFIED = 0; + INTENT_COMPOSER_FILE = 1; + INTENT_COMPRESSED_COMPOSER_FILE = 2; + } + + // Copied from: local:aiserver.v1.CodeChunk.SummarizationStrategy (var: f_c) + enum SummarizationStrategy { + SUMMARIZATION_STRATEGY_NONE_UNSPECIFIED = 0; + SUMMARIZATION_STRATEGY_SUMMARIZED = 1; + SUMMARIZATION_STRATEGY_EMBEDDED = 2; + } + + string relative_workspace_path = 1; + int32 start_line_number = 2; + repeated string lines = 3; + optional SummarizationStrategy summarization_strategy = 4; + string language_identifier = 5; + optional Intent intent = 6; + optional bool is_final_version = 7; + optional bool is_first_version = 8; +} + +// Copied from: local:aiserver.v1.CodeChunkContextInclusionInfo (var: bTs) +message CodeChunkContextInclusionInfo { + // Copied from: local:aiserver.v1.CodeChunkContextInclusionInfo.InclusionType (var: _Ts) + enum InclusionType { + INCLUSION_TYPE_UNSPECIFIED = 0; + INCLUSION_TYPE_FULL = 1; + INCLUSION_TYPE_OUTLINE = 2; + INCLUSION_TYPE_FILENAME = 3; + } + + // Copied from: local:aiserver.v1.CodeChunkContextInclusionInfo.Intent (var: yTs) + enum Intent { + INTENT_UNSPECIFIED = 0; + INTENT_FILE = 1; + INTENT_SELECTION = 2; + } + + // Copied from: local:aiserver.v1.CodeChunkContextInclusionInfo.TokenCount (var: STs) + message TokenCount { + bool is_too_large_to_count = 1; + int32 num_tokens = 2; + } + + string relative_workspace_path = 1; + int32 start_line_number = 2; + int32 end_line_number_inclusive = 3; + InclusionType inclusion_type = 4; + int32 full_file_token_count = 5; + int32 prompt_token_count = 6; + TokenCount full_file_tokens_count = 11; + optional string exclusion_tooltip = 7; + Intent intent = 8; + bool chunk_is_from_last_user_message = 9; + bool is_compressed = 10; +} + +// Copied from: local:aiserver.v1.CodeChunkContextInclusionInfoV2 (var: mTs) +message CodeChunkContextInclusionInfoV2 { + // Copied from: local:aiserver.v1.CodeChunkContextInclusionInfoV2.InclusionType (var: fTs) + enum InclusionType { + INCLUSION_TYPE_UNSPECIFIED = 0; + INCLUSION_TYPE_FULL = 1; + INCLUSION_TYPE_OUTLINE = 2; + INCLUSION_TYPE_FILENAME = 3; + } + + // Copied from: local:aiserver.v1.CodeChunkContextInclusionInfoV2.Intent (var: gTs) + enum Intent { + INTENT_UNSPECIFIED = 0; + INTENT_FILE = 1; + INTENT_SELECTION = 2; + } + + string relative_workspace_path = 1; + int32 start_line_number = 2; + int32 end_line_number_inclusive = 3; + Intent intent = 4; + InclusionType inclusion_type = 10; + optional string tooltip_text = 6; + optional bool pill_is_dashed = 9; + optional string pill_sub_codicon_name = 8; + optional string detail_text = 5; + optional string codicon_name = 7; +} + +// Copied from: local:aiserver.v1.CodeResult (var: eN) +message CodeResult { + CodeBlock code_block = 1; + float score = 2; +} + +// Copied from: local:aiserver.v1.CodeResultWithClassificationInfo (var: Efs) +message CodeResultWithClassificationInfo { + // Copied from: local:aiserver.v1.CodeResultWithClassificationInfo.LineNumberClassification (var: eRl) + message LineNumberClassification { + DetailedLine detailed_line = 1; + string query_computed_for = 2; + repeated string matched_strings = 3; + SimpleRange highlight_range = 4; + } + + CodeResult code_result = 1; + optional LineNumberClassification line_number_classification = 2; +} + +// Copied from: local:aiserver.v1.CodeSearchResult (var: awn) +message CodeSearchResult { + repeated CodeResult results = 1; + repeated File all_files = 2; +} + +// Copied from: local:aiserver.v1.CodeSnippet (var: nIl) +message CodeSnippet { + int32 start_line_number = 1; + int32 end_line_number = 2; + repeated string lines = 3; +} + +// Copied from: local:aiserver.v1.CodeSymbolWithAction (var: b_n) +message CodeSymbolWithAction { + // Copied from: local:aiserver.v1.CodeSymbolWithAction.CodeSymbolAction (var: iIl) + enum CodeSymbolAction { + CODE_SYMBOL_ACTION_UNSPECIFIED = 0; + CODE_SYMBOL_ACTION_GO_TO_DEFINITION = 1; + CODE_SYMBOL_ACTION_GO_TO_IMPLEMENTATION = 2; + CODE_SYMBOL_ACTION_REFERENCES = 3; + } + + string workspace_relative_path = 1; + int32 line_number = 2; + int32 symbol_start_column = 3; + int32 symbol_end_column = 4; + CodeSymbolAction action = 5; + string symbol = 6; +} + +// Copied from: local:aiserver.v1.CodeTourDoneReason (var: F5s) +enum CodeTourDoneReason { + CODE_TOUR_DONE_REASON_UNSPECIFIED = 0; + CODE_TOUR_DONE_REASON_OK = 1; + CODE_TOUR_DONE_REASON_INVALID_REQUEST = 2; + CODE_TOUR_DONE_REASON_DIFF_TOO_LONG = 3; + CODE_TOUR_DONE_REASON_ERROR = 4; + CODE_TOUR_DONE_REASON_CANCELLED = 5; +} + +// Copied from: local:aiserver.v1.CodebaseEnvironment (var: ydv) +enum CodebaseEnvironment { + CODEBASE_ENVIRONMENT_UNSPECIFIED = 0; + CODEBASE_ENVIRONMENT_USER_MACHINE = 1; + CODEBASE_ENVIRONMENT_CURSOR_CLOUD = 2; + CODEBASE_ENVIRONMENT_SAND_BOX = 3; +} + +// Copied from: local:aiserver.v1.CodebaseKind (var: _dv) +enum CodebaseKind { + CODEBASE_KIND_UNSPECIFIED = 0; + CODEBASE_KIND_WORKSPACE_ROOT = 10; + CODEBASE_KIND_HOME_DIRECTORY = 11; + CODEBASE_KIND_DOT_CURSOR = 6; + CODEBASE_KIND_DOT_CLAUDE = 7; + CODEBASE_KIND_DOT_CODEX = 8; + CODEBASE_KIND_DOT_AGENTS = 9; + CODEBASE_KIND_GIT_MAIN_WORKTREE_ROOT = 1; + CODEBASE_KIND_GIT_LINKED_WORKTREE_ROOT = 3; + CODEBASE_KIND_PLAIN_DIRECTORY = 5; + CODEBASE_KIND_GIT_MAIN_WORKTREE_SUBDIRECTORY = 2; + CODEBASE_KIND_GIT_LINKED_WORKTREE_SUBDIRECTORY = 4; +} + +// Copied from: local:aiserver.v1.CodebaseRepositoryIdentity (var: Cqd) +message CodebaseRepositoryIdentity { + string host = 1; + string repository_path = 2; +} + +// Copied from: local:aiserver.v1.CodebaseSnapshotReason (var: Sdv) +enum CodebaseSnapshotReason { + CODEBASE_SNAPSHOT_REASON_UNSPECIFIED = 0; + CODEBASE_SNAPSHOT_REASON_MANUAL = 1; + CODEBASE_SNAPSHOT_REASON_AGENT_REQUEST_START = 2; + CODEBASE_SNAPSHOT_REASON_AGENT_REQUEST_END = 3; +} + +// Copied from: local:aiserver.v1.CodebaseTelemetryConfig (var: N8u) +message CodebaseTelemetryConfig { + bool enabled = 1; + string reset_token = 2; +} + +// Copied from: agent.v1.CommandClassifierResult (var: p_n) +message CommandClassifierResult { + // Copied from: agent.v1.CommandClassifierResult.ClassifiedCommand (var: nAl) + message ClassifiedCommand { + string name = 1; + repeated string arguments = 2; + optional string suggested_allowlist_entry = 3; + repeated string subcommand_tokens = 4; + } + + // Copied from: agent.v1.CommandClassifierResult.SuggestedSandboxMode (var: tAl) + 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:aiserver.v1.CommandDeeplinkControls (var: z2s) +message CommandDeeplinkControls { + bool enabled = 1; +} + +// Copied from: local:aiserver.v1.CommandDescriptor (var: pCn) +message CommandDescriptor { + string name = 1; + optional string description = 2; + optional string source_path = 3; + optional string source_url = 4; +} + +// Copied from: local:aiserver.v1.Commit (var: iAe) +message Commit { + string sha = 1; + string message = 2; + string description = 3; + repeated FileDiff diff = 4; + string author = 5; + string date = 6; +} + +// Copied from: local:aiserver.v1.CommitBackgroundComposerRequest (var: qLu) +message CommitBackgroundComposerRequest { + string bc_id = 1; + string commit_message = 2; +} + +// Copied from: local:aiserver.v1.CommitBackgroundComposerResponse (var: KLu) +message CommitBackgroundComposerResponse { + string commit_hash = 1; +} + +// Copied from: local:aiserver.v1.CommitDiffString (var: p_c) +message CommitDiffString { + string diff = 1; +} + +// Copied from: local:aiserver.v1.CommitLineRange (var: uRs) +message CommitLineRange { + int32 start = 1; + int32 end = 2; + optional int32 absolute_start = 3; + optional int32 absolute_end = 4; +} + +// Copied from: local:aiserver.v1.CommitMetrics (var: zPi) +message CommitMetrics { + string commit_hash = 1; + int32 total_lines_added = 2; + int32 total_lines_deleted = 3; + int32 tab_lines_added = 4; + int32 tab_lines_deleted = 5; + int32 agent_lines_added = 6; + int32 agent_lines_deleted = 7; + int32 non_ai_lines_added = 8; + int32 non_ai_lines_deleted = 9; + optional string branch_name = 10; + optional bool is_primary_branch = 11; + string repo_name = 12; + optional string message = 13; + optional google.protobuf.Timestamp commit_timestamp = 14; + string user_email = 16; + repeated FileRangeAnnotations range_annotations = 19; + optional string commit_source = 20; +} + +// Copied from: local:aiserver.v1.CommitNote (var: v$r) +message CommitNote { + string note = 1; + string commit_hash = 2; +} + +// Copied from: local:aiserver.v1.CommitNoteWithEmbeddings (var: h_c) +message CommitNoteWithEmbeddings { + string note = 1; + string commit_hash = 2; + repeated double embeddings = 3; +} + +// Copied from: agent.v1.CommunicateUpdateHistoryEntry (var: kEs) +message CommunicateUpdateHistoryEntry { + string step = 1; + uint32 message_index = 3; +} + +// Copied from: agent.v1.CommunicateUpdateTurnState (var: M9l) +message CommunicateUpdateTurnState { + repeated CommunicateUpdateHistoryEntry history = 1; + optional string final_summary = 2; + optional string completed_subtitle = 3; +} + +// Copied from: local:aiserver.v1.CompileRepoIncludeExcludePatternsRequest (var: p_v) +message CompileRepoIncludeExcludePatternsRequest { + string root_path = 1; + SwCompileRepoIncludeExcludePatternsRequest request = 2; +} + +// Copied from: local:aiserver.v1.CompileRepoIncludeExcludePatternsResponse (var: m_v) +message CompileRepoIncludeExcludePatternsResponse { + SwCompileRepoIncludeExcludePatternsResponse response = 1; +} + +// Copied from: local:aiserver.v1.CompleteAgentStoreMultipartWritesRequest (var: EBu) +message CompleteAgentStoreMultipartWritesRequest { + string store_id = 1; + repeated AgentStoreMultipartWriteCompletion completions = 2; +} + +// Copied from: local:aiserver.v1.CompleteAgentStoreMultipartWritesResponse (var: ABu) +message CompleteAgentStoreMultipartWritesResponse { + repeated AgentStoreMultipartWriteResult results = 1; +} + +// Copied from: local:aiserver.v1.CompleteGithubConnectFlowRequest (var: Kcu) +message CompleteGithubConnectFlowRequest { + string state = 1; + string verifier = 2; + string code = 3; + string installation_id = 4; + string setup_action = 5; + optional string ghe_application = 6; +} + +// Copied from: local:aiserver.v1.CompleteGithubConnectFlowResponse (var: Qcu) +message CompleteGithubConnectFlowResponse { + // Copied from: local:aiserver.v1.CompleteGithubConnectFlowResponse.Outcome (var: Ycu) + enum Outcome { + OUTCOME_UNSPECIFIED = 0; + OUTCOME_CONNECTED = 1; + OUTCOME_PENDING_APPROVAL = 2; + OUTCOME_NEEDS_CONFIRMATION = 3; + } + + Outcome outcome = 1; + string installation_id = 2; + string confirmation_code = 3; + string github_login = 4; +} + +// Copied from: local:aiserver.v1.CompleteMcpOAuthRequest (var: f2s) +message CompleteMcpOAuthRequest { + string state_id = 1; + string authorization_code = 2; +} + +// Copied from: local:aiserver.v1.CompleteMcpOAuthResponse (var: Wpu) +message CompleteMcpOAuthResponse { + string post_auth_return_url = 1; + string account_key = 2; +} + +// Copied from: local:aiserver.v1.CompleteOnboardingChecklistItemRequest (var: jfv) +message CompleteOnboardingChecklistItemRequest { + string item_id = 1; +} + +// Copied from: local:aiserver.v1.CompleteOnboardingChecklistItemResponse (var: Wfv) +message CompleteOnboardingChecklistItemResponse { +} + +// Copied from: local:aiserver.v1.CompletePackfileUploadRequest (var: $dv) +message CompletePackfileUploadRequest { + string codebase_uuid = 1; + string upload_uuid = 2; + PackfileUploadCompletion completion = 3; +} + +// Copied from: local:aiserver.v1.CompletePackfileUploadResponse (var: jdv) +message CompletePackfileUploadResponse { +} + +// Copied from: local:aiserver.v1.CompletePromptUploadRequest (var: yBs) +message CompletePromptUploadRequest { + string upload_id = 1; + string s3_upload_id = 2; +} + +// Copied from: local:aiserver.v1.CompletePromptUploadResponse (var: FBu) +message CompletePromptUploadResponse { + PromptUploadCompletionStatus status = 1; + int64 size_bytes = 2; +} + +// Copied from: local:aiserver.v1.CompleteRecommendedActionRequest (var: evv) +message CompleteRecommendedActionRequest { + string action_id = 1; + RecommendedActionOwnerScope owner_scope = 2; +} + +// Copied from: local:aiserver.v1.CompleteRecommendedActionResponse (var: tvv) +message CompleteRecommendedActionResponse { +} + +// Copied from: local:aiserver.v1.CompleteSandBoxStoreMultipartWritesRequest (var: LKd) +message CompleteSandBoxStoreMultipartWritesRequest { + repeated SandBoxStoreMultipartWriteCompletion completions = 1; +} + +// Copied from: local:aiserver.v1.CompleteSandBoxStoreMultipartWritesResponse (var: OKd) +message CompleteSandBoxStoreMultipartWritesResponse { + repeated SandBoxStoreMultipartWriteResult results = 1; +} + +// Copied from: local:aiserver.v1.CompletedLinkSlackAccountRequest (var: t1u) +message CompletedLinkSlackAccountRequest { + string slack_team_id = 1; + string slack_user_id = 2; + bool setup_prerequisites_complete = 3; +} + +// Copied from: local:aiserver.v1.CompletedLinkSlackAccountResponse (var: n1u) +message CompletedLinkSlackAccountResponse { +} + +// Copied from: local:aiserver.v1.CompletedMakePRRequest (var: mf) +message CompletedMakePRRequest { + string request_id = 1; + int64 completed_at_ms = 2; + optional MakePRBackgroundComposerResponse response = 3; + optional string error_message = 4; + optional string error_code = 5; +} + +// Copied from: local:aiserver.v1.CompletedOpenPRRequest (var: cf) +message CompletedOpenPRRequest { + string request_id = 1; + int64 completed_at_ms = 2; + optional OpenPRBackgroundComposerResponse response = 3; + optional string error_message = 4; + optional string error_code = 5; +} + +// Copied from: local:aiserver.v1.ComposerAutocompleteContext (var: QWl) +message ComposerAutocompleteContext { + optional CurrentFileContext current_file = 1; + repeated CachedFileContext cached_files = 2; + repeated ConversationMessage conversation_messages = 3; + optional string visible_viewport_text = 4; + repeated string first_user_messages = 5; +} + +// Copied from: local:aiserver.v1.ComposerCapabilityContext (var: qTl) +message ComposerCapabilityContext { + // Copied from: local:aiserver.v1.ComposerCapabilityContext.GithubPRContext (var: YTl) + message GithubPRContext { + string title = 1; + string description = 2; + string comments = 3; + optional string ci_failures = 4; + } + + // Copied from: local:aiserver.v1.ComposerCapabilityContext.MicrosoftTeamsIntegrationContext (var: QTl) + message MicrosoftTeamsIntegrationContext { + 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:aiserver.v1.ComposerCapabilityContext.SlackIntegrationContext (var: KTl) + message SlackIntegrationContext { + 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 { + SlackIntegrationContext slack_integration = 27; + GithubPRContext github_pr = 28; + MicrosoftTeamsIntegrationContext microsoft_teams_integration = 29; + } +} + +// Copied from: local:aiserver.v1.ComposerCapabilityRequest (var: ITl) +message ComposerCapabilityRequest { + // Copied from: local:aiserver.v1.ComposerCapabilityRequest.AutoContextCapability (var: HTl) + message AutoContextCapability { + optional string custom_instructions = 1; + repeated string additional_files = 2; + } + + // Copied from: local:aiserver.v1.ComposerCapabilityRequest.ComposerCapabilityType (var: Xr) + enum ComposerCapabilityType { + COMPOSER_CAPABILITY_TYPE_UNSPECIFIED = 0; + COMPOSER_CAPABILITY_TYPE_LOOP_ON_LINTS = 1; + COMPOSER_CAPABILITY_TYPE_LOOP_ON_TESTS = 2; + COMPOSER_CAPABILITY_TYPE_MEGA_PLANNER = 3; + COMPOSER_CAPABILITY_TYPE_LOOP_ON_COMMAND = 4; + COMPOSER_CAPABILITY_TYPE_TOOL_CALL = 5; + COMPOSER_CAPABILITY_TYPE_DIFF_REVIEW = 6; + COMPOSER_CAPABILITY_TYPE_CONTEXT_PICKING = 7; + COMPOSER_CAPABILITY_TYPE_EDIT_TRAIL = 8; + COMPOSER_CAPABILITY_TYPE_AUTO_CONTEXT = 9; + COMPOSER_CAPABILITY_TYPE_CONTEXT_PLANNER = 10; + COMPOSER_CAPABILITY_TYPE_DIFF_HISTORY = 11; + COMPOSER_CAPABILITY_TYPE_REMEMBER_THIS = 12; + COMPOSER_CAPABILITY_TYPE_DECOMPOSER = 13; + COMPOSER_CAPABILITY_TYPE_USES_CODEBASE = 14; + COMPOSER_CAPABILITY_TYPE_TOOL_FORMER = 15; + COMPOSER_CAPABILITY_TYPE_CURSOR_RULES = 16; + COMPOSER_CAPABILITY_TYPE_TOKEN_COUNTER = 17; + COMPOSER_CAPABILITY_TYPE_USAGE_DATA = 18; + COMPOSER_CAPABILITY_TYPE_CHIMES = 19; + COMPOSER_CAPABILITY_TYPE_CODE_DECAY_TRACKER = 20; + COMPOSER_CAPABILITY_TYPE_BACKGROUND_COMPOSER = 21; + COMPOSER_CAPABILITY_TYPE_SUMMARIZATION = 22; + COMPOSER_CAPABILITY_TYPE_AI_CODE_TRACKING = 23; + COMPOSER_CAPABILITY_TYPE_QUEUING = 24; + COMPOSER_CAPABILITY_TYPE_MEMORIES = 25; + COMPOSER_CAPABILITY_TYPE_RCP_LOGS = 26; + COMPOSER_CAPABILITY_TYPE_KNOWLEDGE_FETCH = 27; + COMPOSER_CAPABILITY_TYPE_SLACK_INTEGRATION = 28; + COMPOSER_CAPABILITY_TYPE_SUB_COMPOSER = 29; + COMPOSER_CAPABILITY_TYPE_THINKING = 30; + COMPOSER_CAPABILITY_TYPE_CONTEXT_WINDOW = 31; + COMPOSER_CAPABILITY_TYPE_ONLINE_METRICS = 32; + COMPOSER_CAPABILITY_TYPE_NOTIFICATIONS = 33; + COMPOSER_CAPABILITY_TYPE_SPEC = 34; + COMPOSER_CAPABILITY_TYPE_BROWSER_AGENT = 35; + } + + // Copied from: local:aiserver.v1.ComposerCapabilityRequest.ContextPickingCapability (var: jTl) + message ContextPickingCapability { + optional string custom_instructions = 1; + repeated string potential_context_files = 2; + repeated CodeChunk potential_context_code_chunks = 3; + repeated string files_in_context = 4; + } + + // Copied from: local:aiserver.v1.ComposerCapabilityRequest.ContextPlannerCapability (var: zTl) + message ContextPlannerCapability { + optional string custom_instructions = 1; + repeated CodeChunk attached_code_chunks = 2; + } + + // Copied from: local:aiserver.v1.ComposerCapabilityRequest.CursorRulesCapability (var: GTl) + message CursorRulesCapability { + optional string custom_instructions = 1; + } + + // Copied from: local:aiserver.v1.ComposerCapabilityRequest.DecomposerCapability (var: $Tl) + message DecomposerCapability { + optional string custom_instructions = 1; + } + + // Copied from: local:aiserver.v1.ComposerCapabilityRequest.DiffReviewCapability (var: FTl) + message DiffReviewCapability { + // Copied from: local:aiserver.v1.ComposerCapabilityRequest.DiffReviewCapability.SimpleFileDiff (var: BTl) + message SimpleFileDiff { + // Copied from: local:aiserver.v1.ComposerCapabilityRequest.DiffReviewCapability.SimpleFileDiff.Chunk (var: UTl) + message Chunk { + repeated string old_lines = 1; + repeated string new_lines = 2; + LineRange old_range = 3; + LineRange new_range = 4; + } + + string relative_workspace_path = 1; + repeated Chunk chunks = 3; + } + + optional string custom_instructions = 1; + repeated SimpleFileDiff diffs = 2; + } + + // Copied from: local:aiserver.v1.ComposerCapabilityRequest.EditTrailCapability (var: WTl) + message EditTrailCapability { + optional string custom_instructions = 1; + } + + // Copied from: local:aiserver.v1.ComposerCapabilityRequest.LoopOnCommandCapability (var: NTl) + message LoopOnCommandCapability { + string command = 1; + optional string custom_instructions = 2; + optional string output = 3; + optional int32 exit_code = 4; + } + + // Copied from: local:aiserver.v1.ComposerCapabilityRequest.LoopOnLintsCapability (var: MTl) + message LoopOnLintsCapability { + repeated LinterErrors linter_errors = 1; + optional string custom_instructions = 2; + } + + // Copied from: local:aiserver.v1.ComposerCapabilityRequest.LoopOnTestsCapability (var: PTl) + message LoopOnTestsCapability { + repeated string test_names = 1; + optional string custom_instructions = 2; + } + + // Copied from: local:aiserver.v1.ComposerCapabilityRequest.MegaPlannerCapability (var: LTl) + message MegaPlannerCapability { + optional string custom_instructions = 1; + } + + // Copied from: local:aiserver.v1.ComposerCapabilityRequest.RememberThisCapability (var: VTl) + message RememberThisCapability { + optional string custom_instructions = 1; + string memory = 2; + } + + // Copied from: local:aiserver.v1.ComposerCapabilityRequest.SchemaProperty (var: DTl) + message SchemaProperty { + string type = 1; + optional string description = 2; + } + + // Copied from: local:aiserver.v1.ComposerCapabilityRequest.ToolCallCapability (var: OTl) + message ToolCallCapability { + optional string custom_instructions = 1; + repeated ComposerCapabilityRequest.ToolSchema tool_schemas = 2; + repeated string relevant_files = 3; + repeated string files_in_context = 4; + repeated string semantic_search_files = 5; + } + + // Copied from: local:aiserver.v1.ComposerCapabilityRequest.ToolSchema (var: RTl) + message ToolSchema { + ComposerCapabilityRequest.ToolType type = 1; + string name = 2; + map properties = 3; + repeated string required = 4; + } + + // Copied from: local:aiserver.v1.ComposerCapabilityRequest.ToolType (var: jgs) + enum ToolType { + TOOL_TYPE_UNSPECIFIED = 0; + TOOL_TYPE_ADD_FILE_TO_CONTEXT = 1; + TOOL_TYPE_ITERATE = 3; + TOOL_TYPE_REMOVE_FILE_FROM_CONTEXT = 4; + TOOL_TYPE_SEMANTIC_SEARCH_CODEBASE = 5; + } + + ComposerCapabilityType type = 1; + oneof data { + LoopOnLintsCapability loop_on_lints = 2; + LoopOnTestsCapability loop_on_tests = 3; + MegaPlannerCapability mega_planner = 4; + LoopOnCommandCapability loop_on_command = 5; + ToolCallCapability tool_call = 6; + DiffReviewCapability diff_review = 7; + ContextPickingCapability context_picking = 8; + EditTrailCapability edit_trail = 9; + AutoContextCapability auto_context = 10; + ContextPlannerCapability context_planner = 11; + RememberThisCapability remember_this = 12; + DecomposerCapability decomposer = 13; + CursorRulesCapability cursor_rules = 14; + } +} + +// Copied from: local:aiserver.v1.ComposerEnhancerClientMessage (var: AQl) +message ComposerEnhancerClientMessage { + oneof message { + ComposerEnhancerRequest request = 1; + ComposerEnhancerToolResult tool_result = 2; + } +} + +// Copied from: local:aiserver.v1.ComposerEnhancerRequest (var: IQl) +message ComposerEnhancerRequest { + string input_text = 1; + optional string composer_id = 2; +} + +// Copied from: local:aiserver.v1.ComposerEnhancerResponse (var: RQl) +message ComposerEnhancerResponse { + string improved_text = 1; + bool is_final = 2; +} + +// Copied from: local:aiserver.v1.ComposerEnhancerServerMessage (var: nRs) +message ComposerEnhancerServerMessage { + oneof message { + ComposerEnhancerResponse response = 1; + ComposerEnhancerToolCall tool_call = 2; + } +} + +// Copied from: local:aiserver.v1.ComposerEnhancerToolCall (var: DQl) +message ComposerEnhancerToolCall { + string tool_call_id = 1; + string tool_name = 2; + string tool_args = 3; + int32 tool_index = 4; +} + +// Copied from: local:aiserver.v1.ComposerEnhancerToolResult (var: MQl) +message ComposerEnhancerToolResult { + string tool_call_id = 1; + string result = 2; + bool is_error = 3; +} + +// Copied from: local:aiserver.v1.ComposerExternalLink (var: HDt) +message ComposerExternalLink { + string url = 1; + string uuid = 2; + optional string pdf_content = 3; + optional bool is_pdf = 4; + optional string filename = 5; +} + +// Copied from: local:aiserver.v1.ComposerFileDiff (var: ppt) +message ComposerFileDiff { + // Copied from: local:aiserver.v1.ComposerFileDiff.ChunkDiff (var: FBt) + message ChunkDiff { + string diff_string = 1; + int32 old_start = 2; + int32 new_start = 3; + int32 old_lines = 4; + int32 new_lines = 5; + int32 lines_removed = 6; + int32 lines_added = 7; + } + + // Copied from: local:aiserver.v1.ComposerFileDiff.Editor (var: hTs) + enum Editor { + EDITOR_UNSPECIFIED = 0; + EDITOR_AI = 1; + EDITOR_HUMAN = 2; + } + + repeated ChunkDiff chunks = 1; + Editor editor = 2; + bool hit_timeout = 3; +} + +// Copied from: local:aiserver.v1.ComposerFileDiffHistory (var: FSn) +message ComposerFileDiffHistory { + string file_name = 1; + repeated string diff_history = 2; + repeated double diff_history_timestamps = 3; +} + +// Copied from: local:aiserver.v1.ComputeIndexTopoSortRequest (var: UAl) +message ComputeIndexTopoSortRequest { + string index_id = 1; +} + +// Copied from: local:aiserver.v1.ComputeIndexTopoSortResponse (var: $Al) +message ComputeIndexTopoSortResponse { +} + +// Copied from: local:aiserver.v1.ComputeLinesDiffOriginalAndModified (var: l$r) +message ComputeLinesDiffOriginalAndModified { + repeated string original = 1; + repeated string modified = 2; +} + +// Copied from: agent.v1.ComputerUseAction (var: Pfs) +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: agent.v1.ComputerUseArgs (var: w_n) +message ComputerUseArgs { + string tool_call_id = 1; + repeated ComputerUseAction actions = 2; + optional string description = 3; + optional bool bind_unmapped_characters = 4; +} + +// Copied from: agent.v1.ComputerUseError (var: Nfs) +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:aiserver.v1.ComputerUseParams (var: ght) +message ComputerUseParams { + repeated ComputerUseAction actions = 1; +} + +// Copied from: local:aiserver.v1.ComputerUseResult (var: sFt) +message ComputerUseResult { + oneof result { + ComputerUseSuccess success = 1; + ComputerUseError error = 2; + } +} + +// Copied from: local:aiserver.v1.ComputerUseStream (var: B_s) +message ComputerUseStream { + ComputerUseParams params = 1; +} + +// Copied from: agent.v1.ComputerUseSuccess (var: Lfs) +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:aiserver.v1.ConcurrencyTrend (var: $hv) +enum ConcurrencyTrend { + CONCURRENCY_TREND_UNSPECIFIED = 0; + CONCURRENCY_TREND_UP = 1; + CONCURRENCY_TREND_DOWN = 2; + CONCURRENCY_TREND_STABLE = 3; +} + +// Copied from: local:aiserver.v1.ConfigureSpendLimitAction (var: c_c) +message ConfigureSpendLimitAction { + string confirm_label = 1; +} + +// Copied from: local:aiserver.v1.ConfirmGithubInstallationRequest (var: Alu) +message ConfirmGithubInstallationRequest { + string installation_id = 1; + string confirmation_code = 2; +} + +// Copied from: local:aiserver.v1.ConfirmGithubInstallationResponse (var: Ilu) +message ConfirmGithubInstallationResponse { +} + +// Copied from: local:aiserver.v1.ConfirmXaiTeamLinkRequest (var: Oku) +message ConfirmXaiTeamLinkRequest { + string organization_id = 1; + string xai_team_id = 2; +} + +// Copied from: local:aiserver.v1.ConfirmXaiTeamLinkResponse (var: Fku) +message ConfirmXaiTeamLinkResponse { + bool linked = 1; + string xai_team_id = 2; +} + +// Copied from: local:aiserver.v1.ConflictedUser (var: x0u) +message ConflictedUser { + int32 user_id = 1; + string email = 2; + string name = 3; + int32 current_group_id = 4; + string current_group_name = 5; + bool is_current_group_scim = 6; +} + +// Copied from: local:aiserver.v1.ConnectGithubCallbackRequest (var: jcu) +message ConnectGithubCallbackRequest { + // Copied from: local:aiserver.v1.ConnectGithubCallbackRequest.Source (var: Wcu) + enum Source { + SOURCE_UNSPECIFIED = 0; + SOURCE_APP = 1; + SOURCE_SLACK = 2; + } + + string code = 1; + string installation_id = 2; + string setup_action = 3; + string cursor_code = 4; + Source source = 5; + optional string ghe_application = 7; +} + +// Copied from: local:aiserver.v1.ConnectGithubCallbackResponse (var: Hcu) +message ConnectGithubCallbackResponse { + bool need_confirmation = 1; + string installation_id = 2; + string confirmation_code = 3; + string github_login = 4; + bool pending_approval = 5; + string github_user_node_id = 6; + string github_user_database_id = 7; + string github_name = 8; + string github_avatar_url = 9; +} + +// Copied from: local:aiserver.v1.ConnectGoogleContactImportCallbackRequest (var: wgu) +message ConnectGoogleContactImportCallbackRequest { + string code = 1; + string state = 2; +} + +// Copied from: local:aiserver.v1.ConnectGoogleContactImportCallbackResponse (var: kgu) +message ConnectGoogleContactImportCallbackResponse { + int64 connection_id = 1; + int64 sync_run_id = 2; + int32 total_contacts = 3; +} + +// Copied from: local:aiserver.v1.ConnectLinearCallbackRequest (var: wku) +message ConnectLinearCallbackRequest { + string code = 1; + string state = 2; +} + +// Copied from: local:aiserver.v1.ConnectLinearCallbackResponse (var: kku) +message ConnectLinearCallbackResponse { + string success_type = 1; +} + +// Copied from: local:aiserver.v1.ConnectPagerDutyCallbackRequest (var: hCu) +message ConnectPagerDutyCallbackRequest { + string code = 1; + string state = 2; +} + +// Copied from: local:aiserver.v1.ConnectPagerDutyCallbackResponse (var: pCu) +message ConnectPagerDutyCallbackResponse { + bool success = 1; +} + +// Copied from: agent.v1.ConnectScmArgs (var: eTi) +message ConnectScmArgs { + string tool_call_id = 1; + oneof target { + ConnectScmGithub github = 2; + } +} + +// Copied from: local:aiserver.v1.ConnectScmGithub (var: cyn) +message ConnectScmGithub { + ConnectScmGithubRepository repository = 1; + optional string ghe_application = 2; +} + +// Copied from: local:aiserver.v1.ConnectScmGithubRepository (var: lyn) +message ConnectScmGithubRepository { + string owner = 1; + string repo = 2; +} + +// Copied from: local:aiserver.v1.ConnectScmParams (var: fht) +message ConnectScmParams { + ConnectScmGithub github = 1; +} + +// Copied from: agent.v1.ConnectScmRequestQuery (var: p5l) +message ConnectScmRequestQuery { + ConnectScmArgs args = 1; +} + +// Copied from: agent.v1.ConnectScmRequestResponse (var: EGe) +message ConnectScmRequestResponse { + // Copied from: agent.v1.ConnectScmRequestResponse.Approved (var: tTi) + message Approved { + } + + // Copied from: agent.v1.ConnectScmRequestResponse.Failed (var: iTi) + message Failed { + string error = 1; + } + + // Copied from: agent.v1.ConnectScmRequestResponse.Rejected (var: nTi) + message Rejected { + string reason = 1; + } + + oneof result { + Approved approved = 1; + Rejected rejected = 2; + Failed failed = 3; + } +} + +// Copied from: local:aiserver.v1.ConnectScmResult (var: uyn) +message ConnectScmResult { + bool success = 1; + string message = 2; +} + +// Copied from: local:aiserver.v1.ConnectScmStream (var: H_s) +message ConnectScmStream { +} + +// Copied from: local:aiserver.v1.ConnectSentryCallbackRequest (var: czu) +message ConnectSentryCallbackRequest { + string code = 1; + string installation_id = 2; + string state = 3; + optional string organization_slug = 4; +} + +// Copied from: local:aiserver.v1.ConnectSentryCallbackResponse (var: lzu) +message ConnectSentryCallbackResponse { + bool success = 1; +} + +// Copied from: local:aiserver.v1.ContactImportConnectionSummary (var: vgu) +message ContactImportConnectionSummary { + int64 connection_id = 1; + ContactImportProvider provider = 2; + string provider_account_id = 3; + optional string provider_workspace_id = 4; + optional string provider_account_email = 5; + optional int64 last_synced_at_ms = 6; + optional ContactImportSyncRunStatus latest_sync_status = 7; + optional int32 latest_sync_total_contacts = 8; + optional int64 latest_sync_completed_at_ms = 9; +} + +// Copied from: local:aiserver.v1.ContactImportContactRow (var: Cgu) +message ContactImportContactRow { + int64 contact_id = 1; + string provider_contact_id = 2; + optional string display_name = 3; + optional string given_name = 4; + optional string family_name = 5; + optional string primary_email = 6; + optional string normalized_email = 7; + optional string photo_url = 8; +} + +// Copied from: local:aiserver.v1.ContactImportProvider (var: gcu) +enum ContactImportProvider { + CONTACT_IMPORT_PROVIDER_UNSPECIFIED = 0; + CONTACT_IMPORT_PROVIDER_SLACK = 1; + CONTACT_IMPORT_PROVIDER_GOOGLE = 2; +} + +// Copied from: local:aiserver.v1.ContactImportSyncRunStatus (var: fcu) +enum ContactImportSyncRunStatus { + CONTACT_IMPORT_SYNC_RUN_STATUS_UNSPECIFIED = 0; + CONTACT_IMPORT_SYNC_RUN_STATUS_IN_PROGRESS = 1; + CONTACT_IMPORT_SYNC_RUN_STATUS_ACTIVE = 2; + CONTACT_IMPORT_SYNC_RUN_STATUS_SUPERSEDED = 3; + CONTACT_IMPORT_SYNC_RUN_STATUS_FAILED = 4; +} + +// Copied from: local:aiserver.v1.ContainerTree (var: EWl) +message ContainerTree { + string relative_workspace_path = 1; + repeated ContainerTreeNode nodes = 2; +} + +// Copied from: local:aiserver.v1.ContainerTreeNode (var: oIs) +message ContainerTreeNode { + // Copied from: local:aiserver.v1.ContainerTreeNode.Blob (var: AWl) + message Blob { + optional string value = 1; + } + + // Copied from: local:aiserver.v1.ContainerTreeNode.Container (var: TWl) + message Container { + string doc_string = 1; + string header = 2; + string trailer = 3; + repeated ContainerTreeNode children = 5; + repeated ContainerTreeNode.Reference references = 6; + double score = 7; + } + + // Copied from: local:aiserver.v1.ContainerTreeNode.Reference (var: aIs) + message Reference { + string value = 1; + string relative_workspace_path = 2; + } + + // Copied from: local:aiserver.v1.ContainerTreeNode.Symbol (var: xWl) + message Symbol { + string doc_string = 1; + string value = 2; + repeated ContainerTreeNode.Reference references = 6; + double score = 7; + } + + oneof node { + Container container = 1; + Blob blob = 2; + Symbol symbol = 3; + } +} + +// Copied from: anyrun.v1.ContainerWaitFailure (var: Gau) +message ContainerWaitFailure { + int64 exit_code = 1; + string message = 2; +} + +// Copied from: local:aiserver.v1.ContextAST (var: sIs) +message ContextAST { + repeated ContainerTree files = 1; +} + +// Copied from: agent.v1.ContextInjectionCancelled (var: m9l) +message ContextInjectionCancelled { +} + +// Copied from: agent.v1.ContextInjectionDelivered (var: h9l) +message ContextInjectionDelivered { + int32 step = 1; + string delivery_batch_id = 2; + int64 delivered_at_ms = 3; +} + +// Copied from: agent.v1.ContextInjectionQueued (var: d9l) +message ContextInjectionQueued { +} + +// Copied from: agent.v1.ContextInjectionQueuedForNextTurn (var: p9l) +message ContextInjectionQueuedForNextTurn { +} + +// Copied from: agent.v1.ContextInjectionRejected (var: g9l) +message ContextInjectionRejected { + string reason = 1; +} + +// Copied from: agent.v1.ContextInjectionState (var: u9l) +message ContextInjectionState { + oneof state { + ContextInjectionQueued queued = 1; + ContextInjectionDelivered delivered = 2; + ContextInjectionQueuedForNextTurn queued_for_next_turn = 3; + ContextInjectionCancelled cancelled = 4; + ContextInjectionRejected rejected = 5; + } +} + +// Copied from: agent.v1.ContextInjectionStateUpdate (var: W9l) +message ContextInjectionStateUpdate { + string injection_id = 1; + ContextInjectionState state = 2; +} + +// Copied from: local:aiserver.v1.ContextIntent (var: qBt) +message ContextIntent { + // Copied from: local:aiserver.v1.ContextIntent.ChatHistory (var: Ljl) + message ChatHistory { + } + + // Copied from: local:aiserver.v1.ContextIntent.CmdKCurrentFile (var: Rjl) + message CmdKCurrentFile { + } + + // Copied from: local:aiserver.v1.ContextIntent.CmdKDefinitions (var: Pjl) + message CmdKDefinitions { + } + + // Copied from: local:aiserver.v1.ContextIntent.CmdKQueryEtc (var: Djl) + message CmdKQueryEtc { + } + + // Copied from: local:aiserver.v1.ContextIntent.CodeSelection (var: wjl) + message CodeSelection { + string relative_workspace_path = 1; + SimpleRange potentially_out_of_date_range = 2; + string text = 3; + } + + // Copied from: local:aiserver.v1.ContextIntent.CodebaseChunks (var: X) + message CodebaseChunks { + } + + // Copied from: local:aiserver.v1.ContextIntent.CommitNotes (var: kjl) + message CommitNotes { + } + + // Copied from: local:aiserver.v1.ContextIntent.CustomInstructions (var: Mjl) + message CustomInstructions { + } + + // Copied from: local:aiserver.v1.ContextIntent.DiffHistory (var: Njl) + message DiffHistory { + } + + // Copied from: local:aiserver.v1.ContextIntent.Documentation (var: yjl) + message Documentation { + string documentation_identifier = 1; + } + + // Copied from: local:aiserver.v1.ContextIntent.File (var: Sjl) + message File { + // Copied from: local:aiserver.v1.ContextIntent.File.Mode (var: X9) + enum Mode { + MODE_UNSPECIFIED = 0; + MODE_FULL = 1; + MODE_OUTLINE = 2; + MODE_CHUNKS = 3; + } + + string relative_workspace_path = 1; + Mode mode = 2; + } + + // Copied from: local:aiserver.v1.ContextIntent.Lints (var: Cjl) + message Lints { + // Copied from: local:aiserver.v1.ContextIntent.Lints.CmdKScope (var: Ejl) + message CmdKScope { + } + + // Copied from: local:aiserver.v1.ContextIntent.Lints.FileScope (var: xjl) + message FileScope { + string relative_workspace_path = 1; + optional LineRange filter_range = 2; + } + + repeated LintSeverity filter_to_severities = 3; + oneof scope { + CmdKScope cmdk_scope = 1; + FileScope file_scope = 2; + } + } + + // Copied from: local:aiserver.v1.ContextIntent.LspSubgraph (var: Bjl) + message LspSubgraph { + } + + // Copied from: local:aiserver.v1.ContextIntent.PastCmdkConversationsInDiffSessions (var: Ajl) + message PastCmdkConversationsInDiffSessions { + } + + // Copied from: local:aiserver.v1.ContextIntent.RecentLocations (var: Tjl) + message RecentLocations { + optional double timestamp = 2; + } + + // Copied from: local:aiserver.v1.ContextIntent.Symbol (var: G) + message Symbol { + DocumentSymbol symbol = 1; + string relative_workspace_path = 2; + } + + // Copied from: local:aiserver.v1.ContextIntent.TerminalCmdKDefaults (var: Ojl) + message TerminalCmdKDefaults { + } + + // Copied from: local:aiserver.v1.ContextIntent.TerminalHistory (var: Fjl) + message TerminalHistory { + int32 instance_id = 1; + bool active_for_cmd_k = 2; + optional bool use_active_instance_as_fallback = 3; + } + + // Copied from: local:aiserver.v1.ContextIntent.Type (var: sI) + enum Type { + TYPE_UNSPECIFIED = 0; + TYPE_USER_ADDED = 1; + TYPE_AUTOMATIC = 2; + } + + // Copied from: local:aiserver.v1.ContextIntent.VisibleTabs (var: Ijl) + message VisibleTabs { + } + + Type type = 1; + string uuid = 15; + oneof intent { + File file = 2; + CodeSelection code_selection = 3; + Lints lints = 5; + RecentLocations recent_locations = 6; + CmdKCurrentFile cmd_k_current_file = 8; + CmdKQueryEtc cmd_k_query_etc = 9; + TerminalCmdKDefaults terminal_cmd_k_defaults = 14; + CmdKDefinitions cmd_k_definitions = 10; + Documentation documentation = 11; + CustomInstructions custom_instructions = 12; + ChatHistory chat_history = 13; + TerminalHistory terminal_history = 16; + VisibleTabs visible_tabs = 17; + LspSubgraph lsp_subgraph = 18; + CommitNotes commit_notes = 19; + DiffHistory diff_history = 20; + PastCmdkConversationsInDiffSessions past_cmdk_messages_in_diff_sessions = 21; + } +} + +// Copied from: local:aiserver.v1.ContextItem (var: JSn) +message ContextItem { + // Copied from: local:aiserver.v1.ContextItem.ChatHistory (var: QAs) + message ChatHistory { + string user_message = 1; + string assistant_response = 2; + ContextItem.ChatHistory chat_history = 3; + bool active_for_cmd_k = 4; + optional int64 timestamp = 5; + optional double timestamp_double = 6; + } + + // Copied from: local:aiserver.v1.ContextItem.CmdKImmediateContext (var: VAs) + message CmdKImmediateContext { + // Copied from: local:aiserver.v1.ContextItem.CmdKImmediateContext.Line (var: ljl) + message Line { + string line = 1; + int32 line_number = 2; + } + + string relative_workspace_path = 1; + repeated Line lines = 2; + int32 total_number_of_lines_in_file = 3; + optional int32 cell_number = 4; + } + + // Copied from: local:aiserver.v1.ContextItem.CmdKQuery (var: wAi) + message CmdKQuery { + string query = 1; + } + + // Copied from: local:aiserver.v1.ContextItem.CmdKQueryHistory (var: KAs) + message CmdKQueryHistory { + ContextItem.CmdKQuery query = 1; + ContextItem.CmdKImmediateContext immediate_context = 2; + ContextItem.CmdKSelection selection = 3; + ContextItem.CmdKQueryHistory query_history = 4; + repeated string context_item_hashes = 5; + optional int64 timestamp = 6; + optional double timestamp_double = 7; + } + + // Copied from: local:aiserver.v1.ContextItem.CmdKQueryHistoryInDiffSession (var: ujl) + message CmdKQueryHistoryInDiffSession { + // Copied from: local:aiserver.v1.ContextItem.CmdKQueryHistoryInDiffSession.PastCmdKQueryInDiffSession (var: djl) + message PastCmdKQueryInDiffSession { + ContextItem.CmdKQuery query = 1; + string relative_workspace_path = 2; + optional bool cmdk_was_accepted = 5; + double timestamp_double = 6; + optional double timestamp_for_diff_interleaving = 7; + optional string request_id = 8; + } + + repeated PastCmdKQueryInDiffSession past_cmdk_queries = 1; + double curr_timestamp_double = 3; + } + + // Copied from: local:aiserver.v1.ContextItem.CmdKSelection (var: zAs) + message CmdKSelection { + repeated string lines = 1; + int32 start_line_number = 2; + } + + // Copied from: local:aiserver.v1.ContextItem.CommitNoteChunk (var: _jl) + message CommitNoteChunk { + string note = 1; + } + + // Copied from: local:aiserver.v1.ContextItem.CustomInstructions (var: pjl) + message CustomInstructions { + string instructions = 1; + } + + // Copied from: local:aiserver.v1.ContextItem.DocumentationChunk (var: mjl) + message DocumentationChunk { + string doc_name = 1; + string page_url = 2; + string documentation_chunk = 3; + float score = 4; + } + + // Copied from: local:aiserver.v1.ContextItem.FileChunk (var: SAi) + message FileChunk { + string relative_workspace_path = 1; + string chunk_contents = 2; + int32 start_line_number = 3; + } + + // Copied from: local:aiserver.v1.ContextItem.FileDiffHistory (var: cjl) + message FileDiffHistory { + CppFileDiffHistory cpp_file_diff_history = 1; + int32 how_many_diffs_ago = 2; + bool is_very_recent = 3; + } + + // Copied from: local:aiserver.v1.ContextItem.GoToDefinitionResult (var: YAs) + message GoToDefinitionResult { + string relative_workspace_path = 1; + string line = 2; + int32 line_number = 3; + int32 column_number = 4; + ContextItem.FileChunk definition_chunk = 5; + } + + // Copied from: local:aiserver.v1.ContextItem.Lints (var: gjl) + message Lints { + // Copied from: local:aiserver.v1.ContextItem.Lints.Line (var: fjl) + message Line { + string line = 1; + int32 line_number = 2; + } + + string relative_workspace_path = 1; + repeated Lint lints = 2; + repeated Line context_lines = 3; + } + + // Copied from: local:aiserver.v1.ContextItem.LspSubgraphChunk (var: bjl) + message LspSubgraphChunk { + LspSubgraphFullContext lsp_subgraph_full_context = 1; + } + + // Copied from: local:aiserver.v1.ContextItem.NotebookCellOutput (var: vjl) + message NotebookCellOutput { + string relative_workspace_path = 1; + string cell_output = 2; + int32 cell_number = 3; + } + + // Copied from: local:aiserver.v1.ContextItem.OutlineChunk (var: ajl) + message OutlineChunk { + string relative_workspace_path = 1; + string contents = 2; + LineRange full_range = 3; + } + + // Copied from: local:aiserver.v1.ContextItem.SparseFileChunk (var: sjl) + message SparseFileChunk { + // Copied from: local:aiserver.v1.ContextItem.SparseFileChunk.Line (var: ojl) + message Line { + string line = 1; + int32 line_number = 2; + } + + string relative_workspace_path = 1; + repeated Line lines = 2; + int32 total_number_of_lines_in_file = 3; + optional int32 cell_number = 4; + } + + // Copied from: local:aiserver.v1.ContextItem.TerminalCmdKQuery (var: GAs) + message TerminalCmdKQuery { + string query = 1; + } + + // Copied from: local:aiserver.v1.ContextItem.TerminalCmdKQueryHistory (var: qAs) + message TerminalCmdKQueryHistory { + ContextItem.TerminalCmdKQuery query = 1; + ContextItem.TerminalCmdKQueryHistory query_history = 2; + repeated string context_item_hashes = 5; + string suggested_command = 6; + } + + // Copied from: local:aiserver.v1.ContextItem.TerminalHistory (var: hjl) + message TerminalHistory { + string history = 1; + string cwd_full = 5; + string cwd_relative_workspace_path = 6; + bool active_for_cmd_k = 4; + optional int64 timestamp = 7; + optional double timestamp_double = 8; + } + + ContextIntent intent = 1; + oneof item { + FileChunk file_chunk = 2; + OutlineChunk outline_chunk = 3; + CmdKSelection cmd_k_selection = 4; + CmdKImmediateContext cmd_k_immediate_context = 5; + CmdKQuery cmd_k_query = 6; + CmdKQueryHistory cmd_k_query_history = 7; + CustomInstructions custom_instructions = 8; + GoToDefinitionResult go_to_definition_result = 9; + DocumentationChunk documentation_chunk = 10; + Lints lints = 11; + ChatHistory chat_history = 12; + NotebookCellOutput notebook_cell_output = 13; + TerminalHistory terminal_history = 14; + TerminalCmdKQuery terminal_cmd_k_query = 15; + TerminalCmdKQueryHistory terminal_cmd_k_query_history = 16; + SparseFileChunk sparse_file_chunk = 17; + LspSubgraphChunk lsp_subgraph_chunk = 18; + CommitNoteChunk commit_note_chunk = 19; + FileDiffHistory file_diff_history = 20; + CmdKQueryHistoryInDiffSession cmd_k_query_history_in_diff_session = 21; + CursorRule project_rule = 22; + } +} + +// Copied from: local:aiserver.v1.ContextItemStatus (var: ijl) +message ContextItemStatus { + // Copied from: local:aiserver.v1.ContextItemStatus.PostGenerationEvaluation (var: rjl) + enum PostGenerationEvaluation { + POST_GENERATION_EVALUATION_UNSPECIFIED = 0; + POST_GENERATION_EVALUATION_USEFUL = 1; + POST_GENERATION_EVALUATION_USELESS = 2; + } + + string context_item_hash = 1; + bool shown_to_the_model = 2; + float score = 3; + float percentage_of_available_space = 4; + PostGenerationEvaluation post_generation_evaluation = 5; +} + +// Copied from: local:aiserver.v1.ContextItemTokenDetail (var: YQl) +message ContextItemTokenDetail { + string relative_workspace_path = 1; + int32 count = 2; + int32 line_count = 3; +} + +// Copied from: local:aiserver.v1.ContextOptions (var: lVl) +message ContextOptions { + // Copied from: local:aiserver.v1.ContextOptions.AllDocumentation (var: uVl) + message AllDocumentation { + // Copied from: local:aiserver.v1.ContextOptions.AllDocumentation.Documentation (var: dVl) + message Documentation { + string name = 1; + string url = 2; + string identifier = 3; + } + + repeated Documentation available_docs = 1; + } + + // Copied from: local:aiserver.v1.ContextOptions.CurrentFileContents (var: hVl) + message CurrentFileContents { + string relative_workspace_path = 1; + string contents = 2; + CursorPosition cursor_position = 3; + repeated DataframeInfo dataframes = 4; + string language_id = 5; + CursorRange selection = 6; + } + + // Copied from: local:aiserver.v1.ContextOptions.GlobalContext (var: mVl) + message GlobalContext { + } + + // Copied from: local:aiserver.v1.ContextOptions.LinterDiagnostics (var: pVl) + message LinterDiagnostics { + // Copied from: local:aiserver.v1.ContextOptions.LinterDiagnostics.Diagnostic (var: DIs) + message Diagnostic { + string message = 1; + string source = 2; + CursorRange range = 3; + string relative_workspace_path = 4; + } + + string relative_workspace_path = 1; + string contents = 2; + repeated Diagnostic diagnostics = 3; + } + + AllDocumentation all_documentation = 1; + CurrentFileContents current_file_contents = 2; + LinterDiagnostics linter_diagnostics = 3; + GlobalContext global_context = 4; +} + +// Copied from: local:aiserver.v1.ContextPiece (var: VTi) +message ContextPiece { + string relative_workspace_path = 1; + string content = 2; + float score = 3; +} + +// Copied from: local:aiserver.v1.ContextPieceUpdate (var: Exs) +message ContextPieceUpdate { + repeated ContextPiece pieces = 1; +} + +// Copied from: local:aiserver.v1.ContextRerankingCandidateFile (var: dTs) +message ContextRerankingCandidateFile { + string file_name = 1; + string file_content = 2; +} + +// Copied from: local:aiserver.v1.ContextRerankingRequest (var: RHl) +message ContextRerankingRequest { + optional CurrentFileInfo current_file = 1; + repeated ConversationMessage chat_conversation_history = 2; + repeated CppFileDiffHistory cpp_diff_trajectories = 3; + repeated ContextRerankingCandidateFile candidate_files = 4; +} + +// Copied from: local:aiserver.v1.ContextRerankingResponse (var: DHl) +message ContextRerankingResponse { + repeated float reranking_scores = 1; +} + +// Copied from: local:aiserver.v1.ContextScoresRequest (var: Mzl) +message ContextScoresRequest { + string source_range = 1; + repeated string method_signatures = 2; +} + +// Copied from: local:aiserver.v1.ContextScoresResponse (var: Pzl) +message ContextScoresResponse { + repeated float scores = 1; +} + +// Copied from: local:aiserver.v1.ContextStatusUpdate (var: ZSn) +message ContextStatusUpdate { + repeated ContextItemStatus context_item_statuses = 1; +} + +// Copied from: local:aiserver.v1.ContextToRank (var: lxs) +message ContextToRank { + string relative_workspace_path = 1; + string contents = 2; + optional LineRange line_range = 3; + optional CodeBlock code_block = 4; +} + +// Copied from: local:aiserver.v1.ContextWindowStatus (var: GTi) +message ContextWindowStatus { + int32 percentage_remaining = 1; + optional int32 tokens_used = 2; + optional int32 token_limit = 3; + optional float percentage_remaining_float = 4; +} + +// Copied from: agent.v1.ConversationAction (var: Y1) +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:aiserver.v1.ConversationActionReference (var: of) +message ConversationActionReference { + optional ConversationAction conversation_action = 1; + bytes conversation_action_blob_id = 2; +} + +// Copied from: agent.v1.ConversationHistory (var: Z4l) +message ConversationHistory { + repeated ConversationHistoryMessage messages = 1; + optional bool replace_user_info = 2; +} + +// Copied from: agent.v1.ConversationHistoryAssistantContent (var: n9l) +message ConversationHistoryAssistantContent { + oneof content { + ConversationHistoryTextContent text = 1; + ConversationHistoryReasoningContent reasoning = 2; + ConversationHistoryRedactedReasoningContent redacted_reasoning = 3; + ConversationHistoryToolCall tool_call = 4; + } +} + +// Copied from: agent.v1.ConversationHistoryAssistantMessage (var: t9l) +message ConversationHistoryAssistantMessage { + repeated ConversationHistoryAssistantContent content = 1; +} + +// Copied from: agent.v1.ConversationHistoryImageContent (var: uEs) +message ConversationHistoryImageContent { + string data = 1; + optional string mime_type = 2; +} + +// Copied from: agent.v1.ConversationHistoryMessage (var: X4l) +message ConversationHistoryMessage { + oneof message { + ConversationHistoryUserMessage user = 1; + ConversationHistoryAssistantMessage assistant = 2; + ConversationHistoryToolMessage tool = 3; + } +} + +// Copied from: agent.v1.ConversationHistoryReasoningContent (var: i9l) +message ConversationHistoryReasoningContent { + string text = 1; + optional string signature = 2; +} + +// Copied from: agent.v1.ConversationHistoryRedactedReasoningContent (var: r9l) +message ConversationHistoryRedactedReasoningContent { + string data = 1; +} + +// Copied from: agent.v1.ConversationHistoryTextContent (var: STi) +message ConversationHistoryTextContent { + string text = 1; +} + +// Copied from: agent.v1.ConversationHistoryToolCall (var: s9l) +message ConversationHistoryToolCall { + string tool_call_id = 1; + string tool_name = 2; + string args_json = 3; +} + +// Copied from: agent.v1.ConversationHistoryToolMessage (var: o9l) +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: agent.v1.ConversationHistoryToolResultContent (var: a9l) +message ConversationHistoryToolResultContent { + oneof content { + ConversationHistoryTextContent text = 1; + ConversationHistoryImageContent image = 2; + } +} + +// Copied from: agent.v1.ConversationHistoryUserContent (var: e9l) +message ConversationHistoryUserContent { + oneof content { + ConversationHistoryTextContent text = 1; + ConversationHistoryImageContent image = 2; + } +} + +// Copied from: agent.v1.ConversationHistoryUserMessage (var: J4l) +message ConversationHistoryUserMessage { + repeated ConversationHistoryUserContent content = 1; +} + +// Copied from: local:aiserver.v1.ConversationMcp (var: bUu) +message ConversationMcp { + string tool_name = 1; + optional string mcp_server_name = 2; + optional int32 call_count = 3; + optional google.protobuf.Timestamp last_called_at = 4; + optional string plugin = 5; + optional string marketplace = 6; +} + +// Copied from: local:aiserver.v1.ConversationMessage (var: hv) +message ConversationMessage { + // Copied from: local:aiserver.v1.ConversationMessage.ApproximateLintError (var: zxs) + message ApproximateLintError { + string message = 1; + string value = 2; + int32 start_line = 3; + int32 end_line = 4; + int32 start_column = 5; + int32 end_column = 6; + } + + // Copied from: local:aiserver.v1.ConversationMessage.CodeChunk (var: bae) + message CodeChunk { + // Copied from: local:aiserver.v1.ConversationMessage.CodeChunk.CodeChunkGitContext (var: Fxs) + message CodeChunkGitContext { + // Copied from: local:aiserver.v1.ConversationMessage.CodeChunk.CodeChunkGitContext.CodeChunkGitInfo (var: Bxs) + message CodeChunkGitInfo { + string commit = 1; + string author = 2; + string date = 3; + string message = 4; + } + + repeated CodeChunkGitInfo git_info = 1; + } + + // Copied from: local:aiserver.v1.ConversationMessage.CodeChunk.Intent (var: Z9) + enum Intent { + INTENT_UNSPECIFIED = 0; + INTENT_COMPOSER_FILE = 1; + INTENT_COMPRESSED_COMPOSER_FILE = 2; + INTENT_RECENTLY_VIEWED_FILE = 3; + INTENT_OUTLINE = 4; + INTENT_MENTIONED_FILE = 5; + INTENT_CODE_SELECTION = 6; + INTENT_AI_EDITED_FILE = 7; + INTENT_VISIBLE_FILE = 8; + INTENT_TERMINAL_SELECTION = 9; + } + + // Copied from: local:aiserver.v1.ConversationMessage.CodeChunk.SummarizationStrategy (var: $Sn) + enum SummarizationStrategy { + SUMMARIZATION_STRATEGY_NONE_UNSPECIFIED = 0; + SUMMARIZATION_STRATEGY_SUMMARIZED = 1; + SUMMARIZATION_STRATEGY_EMBEDDED = 2; + } + + string relative_workspace_path = 1; + int32 start_line_number = 2; + repeated string lines = 3; + optional SummarizationStrategy summarization_strategy = 4; + string language_identifier = 5; + optional Intent intent = 6; + optional bool is_final_version = 7; + optional bool is_first_version = 8; + optional bool contents_are_missing = 9; + optional bool is_only_included_from_folder = 10; + optional CodeChunkGitContext code_chunk_git_context = 11; + } + + // Copied from: local:aiserver.v1.ConversationMessage.ComposerContext (var: jxs) + message ComposerContext { + string name = 1; + ConversationSummary conversation_summary = 2; + } + + // Copied from: local:aiserver.v1.ConversationMessage.DeletedFile (var: Yxs) + message DeletedFile { + string relative_workspace_path = 1; + } + + // Copied from: local:aiserver.v1.ConversationMessage.DiffSinceLastApply (var: Qxs) + message DiffSinceLastApply { + string relative_workspace_path = 1; + optional EditFileResult.FileDiff diff = 2; + optional bool is_accepted = 4; + optional bool is_rejected = 5; + optional int32 last_apply_chained_from_n_human_messages_ago = 6; + } + + // Copied from: local:aiserver.v1.ConversationMessage.DocumentationSelection (var: Zxs) + message DocumentationSelection { + string doc_id = 1; + string name = 2; + } + + // Copied from: local:aiserver.v1.ConversationMessage.EditLocation (var: Wxs) + message EditLocation { + string relative_workspace_path = 1; + SimplestRange range = 3; + SimplestRange initial_range = 4; + string context_lines = 5; + string text = 6; + SimplestRange text_range = 7; + } + + // Copied from: local:aiserver.v1.ConversationMessage.EditTrailContext (var: Hxs) + message EditTrailContext { + string unique_id = 1; + repeated ConversationMessage.EditLocation edit_trail_sorted = 2; + } + + // Copied from: local:aiserver.v1.ConversationMessage.HumanChange (var: Kxs) + message HumanChange { + string relative_workspace_path = 1; + repeated ConversationMessage.RenderedDiff rendered_diffs = 2; + } + + // Copied from: local:aiserver.v1.ConversationMessage.IdeEditorsState (var: dpt) + message IdeEditorsState { + // Copied from: local:aiserver.v1.ConversationMessage.IdeEditorsState.File (var: hpt) + message File { + string relative_path = 1; + optional bool is_currently_focused = 2; + optional int32 current_line_number = 3; + optional string current_line_text = 4; + optional int32 line_count = 5; + optional string absolute_path = 6; + } + + bool is_pill_displayed = 1; + repeated string visible_file_paths = 2; + repeated string recently_viewed_file_paths = 3; + repeated File visible_files = 4; + repeated File recently_viewed_files = 5; + } + + // Copied from: local:aiserver.v1.ConversationMessage.KnowledgeItem (var: jSn) + message KnowledgeItem { + string title = 1; + string knowledge = 2; + string knowledge_id = 3; + bool is_generated = 4; + } + + // Copied from: local:aiserver.v1.ConversationMessage.Lints (var: Vxs) + message Lints { + GetLintsForChangeResponse lints = 1; + string chat_codeblock_model_value = 2; + } + + // Copied from: local:aiserver.v1.ConversationMessage.McpDescriptor (var: eTs) + message McpDescriptor { + // Copied from: local:aiserver.v1.ConversationMessage.McpDescriptor.Tool (var: tTs) + message Tool { + string tool_name = 1; + optional string description = 2; + } + + string folder_path = 1; + optional string server_name = 2; + repeated Tool tools = 3; + optional string server_use_instructions = 4; + } + + // Copied from: local:aiserver.v1.ConversationMessage.MessageType (var: jr) + enum MessageType { + MESSAGE_TYPE_UNSPECIFIED = 0; + MESSAGE_TYPE_HUMAN = 1; + MESSAGE_TYPE_AI = 2; + } + + // Copied from: local:aiserver.v1.ConversationMessage.MultiRangeCodeChunk (var: T6l) + message MultiRangeCodeChunk { + // Copied from: local:aiserver.v1.ConversationMessage.MultiRangeCodeChunk.RangeWithPriority (var: Uxs) + message RangeWithPriority { + SimplestRange range = 1; + double priority = 2; + } + + repeated RangeWithPriority ranges = 1; + string content = 2; + string relative_workspace_path = 3; + } + + // Copied from: local:aiserver.v1.ConversationMessage.NotepadContext (var: $xs) + message NotepadContext { + string name = 1; + string text = 2; + repeated ConversationMessage.CodeChunk attached_code_chunks = 3; + repeated string attached_folders = 4; + repeated Commit commits = 5; + repeated PullRequest pull_requests = 6; + repeated GitDiff git_diffs = 7; + repeated ImageProto images = 8; + } + + // Copied from: local:aiserver.v1.ConversationMessage.PlanUpdate (var: Xxs) + message PlanUpdate { + string current_plan = 1; + bool is_first_time_seen = 2; + } + + // Copied from: local:aiserver.v1.ConversationMessage.RecentLocation (var: Gxs) + message RecentLocation { + string relative_workspace_path = 1; + int32 line_number = 2; + } + + // Copied from: local:aiserver.v1.ConversationMessage.RenderedDiff (var: qxs) + message RenderedDiff { + 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:aiserver.v1.ConversationMessage.SimulatedMessageMetadata (var: Jxs) + 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; + } + + // Copied from: local:aiserver.v1.ConversationMessage.Thinking (var: AGe) + message Thinking { + string text = 1; + string signature = 2; + string redacted_thinking = 3; + bool is_last_thinking_chunk = 4; + } + + // Copied from: local:aiserver.v1.ConversationMessage.ThinkingStyle (var: qFe) + enum ThinkingStyle { + THINKING_STYLE_UNSPECIFIED = 0; + THINKING_STYLE_DEFAULT = 1; + THINKING_STYLE_CODEX = 2; + THINKING_STYLE_GPT5 = 3; + } + + // Copied from: local:aiserver.v1.ConversationMessage.ToolResult (var: KTi) + message ToolResult { + string tool_call_id = 1; + string tool_name = 2; + uint32 tool_index = 3; + optional string model_call_id = 12; + string args = 4; + string raw_args = 5; + repeated ConversationMessage.CodeChunk attached_code_chunks = 6; + optional string content = 7; + ClientSideToolV2Result result = 8; + optional ToolResultError error = 9; + repeated ImageProto images = 10; + optional ClientSideToolV2Call tool_call = 11; + optional uint64 started_at_ms = 13; + optional uint64 completed_at_ms = 14; + } + + string text = 1; + MessageType type = 2; + repeated CodeChunk attached_code_chunks = 3; + repeated CodeBlock codebase_context_chunks = 4; + repeated Commit commits = 5; + repeated PullRequest pull_requests = 6; + repeated GitDiff git_diffs = 7; + repeated SimpleFileDiff assistant_suggested_diffs = 8; + repeated InterpreterResult interpreter_results = 9; + repeated ImageProto images = 10; + repeated string attached_folders = 11; + repeated ApproximateLintError approximate_lint_errors = 12; + string bubble_id = 13; + optional string server_bubble_id = 32; + repeated FolderInfo attached_folders_new = 14; + repeated Lints lints = 15; + repeated UserResponseToSuggestedCodeBlock user_responses_to_suggested_code_blocks = 16; + repeated string relevant_files = 17; + repeated ToolResult tool_results = 18; + repeated NotepadContext notepads = 19; + optional bool is_capability_iteration = 20; + repeated ComposerCapabilityRequest capabilities = 21; + repeated EditTrailContext edit_trail_contexts = 22; + repeated SuggestedCodeBlock suggested_code_blocks = 23; + repeated RedDiff diffs_for_compressing_files = 24; + repeated LinterErrorsWithoutFileContents multi_file_linter_errors = 25; + repeated DiffHistoryData diff_histories = 26; + repeated CodeChunk recently_viewed_files = 27; + repeated RecentLocation recent_locations_history = 28; + bool is_agentic = 29; + repeated ComposerFileDiffHistory file_diff_trajectories = 30; + optional ConversationSummary conversation_summary = 31; + bool existed_subsequent_terminal_command = 33; + bool existed_previous_terminal_command = 34; + repeated DocsReference docs_references = 35; + repeated WebReference web_references = 36; + repeated AiWebSearchResult ai_web_search_results = 75; + optional ViewableGitContext git_context = 37; + repeated ListDirResult attached_folders_list_dir_results = 38; + optional ConversationSummary cached_conversation_summary = 39; + repeated HumanChange human_changes = 40; + bool attached_human_changes = 41; + repeated ComposerContext summarized_composers = 42; + repeated CursorRule cursor_rules = 43; + repeated ContextPiece context_pieces = 44; + optional Thinking thinking = 45; + repeated Thinking all_thinking_blocks = 46; + optional ThinkingStyle thinking_style = 85; + optional StreamUnifiedChatRequest.UnifiedMode unified_mode = 47; + optional AgentMode agent_mode = 98; + repeated DiffSinceLastApply diffs_since_last_apply = 48; + repeated DeletedFile deleted_files = 49; + optional string usage_uuid = 50; + repeated ClientSideToolV2 supported_tools = 51; + optional CurrentFileLocationData current_file_location_data = 52; + optional bool edit_tool_supports_search_and_replace = 53; + optional string last_terminal_cwd = 54; + optional bool user_explicitly_asked_to_generate_cursor_rules = 55; + repeated RCPLogEntry console_logs = 56; + optional string rich_text = 57; + repeated KnowledgeItem knowledge_items = 58; + repeated RCPUIElementPicked ui_element_picked = 59; + optional bool user_explicitly_asked_to_add_to_knowledge_base = 60; + repeated DocumentationSelection documentation_selections = 61; + repeated ComposerExternalLink external_links = 62; + optional bool use_web = 63; + repeated ProjectLayout project_layouts = 64; + optional int32 thinking_duration_ms = 65; + optional int32 step_duration_ms = 88; + optional SubagentReturnCall subagent_return = 66; + optional bool is_simple_looping_message = 67; + repeated ComposerCapabilityContext capability_contexts = 68; + optional string checkpoint_commit_hash = 69; + optional string git_status_raw = 70; + repeated TodoItem todos = 71; + optional bool is_review_edits_followup = 72; + string request_id = 74; + optional IdeEditorsState ide_editors_state = 73; + optional ContextWindowStatus context_window_status = 76; + optional bool is_plan_execution = 77; + string created_at = 78; + ModelInfo model_info = 79; + optional bool is_quick_search_query = 80; + optional PlanUpdate plan_update = 81; + optional bool is_simulated_msg = 82; + optional SimulatedMsgReason simulated_msg_reason = 95; + optional SimulatedMessageMetadata simulated_message_metadata = 97; + repeated McpDescriptor mcp_descriptors = 83; + optional string workspace_project_dir = 84; + repeated string workspace_uris = 87; + optional DebugModeConfig debug_mode_config = 86; + optional bytes text_blob_id = 89; + optional bytes rich_text_blob_id = 90; + repeated SelectedCursorCommand cursor_commands = 91; + bool cursor_commands_explicitly_set = 92; + repeated SelectedPastChat past_chats = 93; + bool past_chats_explicitly_set = 94; + optional TriggeringUserInfo triggering_user_info = 96; + optional bool turn_steer = 99; +} + +// Copied from: local:aiserver.v1.ConversationMessageHeader (var: Pxs) +message ConversationMessageHeader { + string bubble_id = 1; + optional string server_bubble_id = 2; + ConversationMessage.MessageType type = 3; +} + +// Copied from: local:aiserver.v1.ConversationPlan (var: fUu) +message ConversationPlan { + optional string title = 1; + optional int32 todo_count = 2; + optional string plan_file_uri = 3; + optional google.protobuf.Timestamp updated_at = 4; + optional string content = 5; +} + +// Copied from: local:aiserver.v1.ConversationReference (var: VPi) +message ConversationReference { + string id = 1; + optional string title = 2; + optional string tldr = 3; + optional string overview = 4; + repeated string summary_bullets = 5; + repeated string models = 6; + repeated ConversationPlan plans = 7; + optional string author_email = 8; + repeated ConversationSkill skills = 9; + repeated ConversationMcp mcps = 10; + optional string initial_prompt = 11; +} + +// Copied from: agent.v1.ConversationSearchArgs (var: oTi) +message ConversationSearchArgs { + string query = 1; + string tool_call_id = 2; + optional int32 limit = 3; +} + +// Copied from: agent.v1.ConversationSearchError (var: I1s) +message ConversationSearchError { + string error = 1; +} + +// Copied from: agent.v1.ConversationSearchHit (var: A1s) +message ConversationSearchHit { + string conversation_id = 1; + string title = 2; + ConversationSearchSource source = 3; + int64 updated_at_ms = 4; + optional string snippet = 5; +} + +// Copied from: agent.v1.ConversationSearchResult (var: wSn) +message ConversationSearchResult { + oneof result { + ConversationSearchSuccess success = 1; + ConversationSearchError error = 2; + } +} + +// Copied from: agent.v1.ConversationSearchSource (var: sTi) +enum ConversationSearchSource { + CONVERSATION_SEARCH_SOURCE_UNSPECIFIED = 0; + CONVERSATION_SEARCH_SOURCE_LOCAL = 1; + CONVERSATION_SEARCH_SOURCE_CLOUD_CACHE = 2; +} + +// Copied from: agent.v1.ConversationSearchSuccess (var: T1s) +message ConversationSearchSuccess { + repeated ConversationSearchHit hits = 1; + bool truncated = 2; + bool partial = 3; + bool rebuilding = 4; +} + +// Copied from: local:aiserver.v1.ConversationSkill (var: vUu) +message ConversationSkill { + string skill_id = 1; + optional string platform = 2; + optional string skill_source = 3; + optional string entrypoint = 4; + optional string model_name = 5; + optional int32 usage_count = 6; + optional google.protobuf.Timestamp last_applied_at = 7; + optional string plugin = 8; + optional string marketplace = 9; +} + +// Copied from: agent.v1.ConversationStateStructure (var: Zg) +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; + repeated string completed_ask_question_tool_call_ids = 34; + repeated string durable_skill_blocks = 35; + optional string durable_custom_mode_id = 36; +} + +// Copied from: local:aiserver.v1.ConversationStreamMessage (var: Kl) +message ConversationStreamMessage { + oneof message { + InteractionUpdate interaction_update = 1; + bytes cloud_agent_state_blob_id = 2; + CloudAgentWorkflowStatus workflow_status = 3; + bytes interaction_update_blob_id = 4; + TransientError transient_error = 5; + WorkerLifecycleEvent worker_lifecycle_event = 6; + bytes transient_error_blob_id = 7; + InteractionQuery interaction_query = 8; + ReadOnlySharedPodLifecycleEvent read_only_shared_pod_lifecycle_event = 9; + } +} + +// Copied from: local:aiserver.v1.ConversationSummarizationPromptOptions (var: P5s) +message ConversationSummarizationPromptOptions { + optional string inline_system_prompt = 1; + optional string summarization_model = 2; + optional string prompt_config_id = 3; +} + +// Copied from: local:aiserver.v1.ConversationSummary (var: Yte) +message ConversationSummary { + string summary = 1; + string truncation_last_bubble_id_inclusive = 2; + string client_should_start_sending_from_inclusive_bubble_id = 3; + string previous_conversation_summary_bubble_id = 4; + bool includes_tool_results = 5; + string strategy = 6; +} + +// Copied from: local:aiserver.v1.ConversationSummaryStarter (var: Dxs) +message ConversationSummaryStarter { + string message = 1; +} + +// Copied from: local:aiserver.v1.ConversationSummaryStrategy (var: x6l) +message ConversationSummaryStrategy { + // Copied from: local:aiserver.v1.ConversationSummaryStrategy.ArbitrarySummaryPlusToolResultTruncation (var: cxs) + message ArbitrarySummaryPlusToolResultTruncation { + ConversationSummary arbitrary_summary = 1; + int32 tool_result_truncation_length = 2; + } + + oneof strategy { + string plain_text_summary = 1; + ArbitrarySummaryPlusToolResultTruncation arbitrary_summary_plus_tool_result_truncation = 2; + } +} + +// Copied from: agent.v1.ConversationTokenDetails (var: ITi) +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:aiserver.v1.ConvertMobileSessionToRefreshPairRequest (var: Hlv) +message ConvertMobileSessionToRefreshPairRequest { +} + +// Copied from: local:aiserver.v1.ConvertMobileSessionToRefreshPairResponse (var: zlv) +message ConvertMobileSessionToRefreshPairResponse { + string session_token = 1; + string refresh_token = 2; +} + +// Copied from: local:aiserver.v1.ConvertOALToNALRequest (var: LTs) +message ConvertOALToNALRequest { + StreamUnifiedChatRequest request = 1; + map file_states = 2; +} + +// Copied from: local:aiserver.v1.ConvertOALToNALResponse (var: NTs) +message ConvertOALToNALResponse { + ConversationStateStructure conversation_state = 1; + map blobs = 2; + map bubble_checkpoints = 3; +} + +// Copied from: local:aiserver.v1.ConvertPullRequestFromDraftRequest (var: wMi) +message ConvertPullRequestFromDraftRequest { + string bc_id = 1; + optional string pr_url = 2; +} + +// Copied from: local:aiserver.v1.ConvertPullRequestFromDraftResponse (var: LOu) +message ConvertPullRequestFromDraftResponse { + bool success = 1; + string error = 2; +} + +// Copied from: agent.v1.Coordinate (var: $Ot) +message Coordinate { + int32 x = 1; + int32 y = 2; +} + +// Copied from: local:aiserver.v1.CountTokensRequest (var: QQl) +message CountTokensRequest { + repeated ContextItem context_items = 1; + string model_name = 2; +} + +// Copied from: local:aiserver.v1.CountTokensResponse (var: ZQl) +message CountTokensResponse { + int32 count = 1; + repeated ContextItemTokenDetail token_details = 2; +} + +// Copied from: local:aiserver.v1.CppAcceptEvent (var: B7l) +message CppAcceptEvent { + CppSuggestion cpp_suggestion = 1; +} + +// Copied from: local:aiserver.v1.CppAcceptEventNew (var: v$l) +message CppAcceptEventNew { + CurrentlyShownCppSuggestion cpp_suggestion = 1; + PointInTimeModel point_in_time_model = 7; +} + +// Copied from: local:aiserver.v1.CppAppendRequest (var: D7l) +message CppAppendRequest { + bytes changes = 1; +} + +// Copied from: local:aiserver.v1.CppAppendResponse (var: M7l) +message CppAppendResponse { + bool success = 1; +} + +// Copied from: local:aiserver.v1.CppChangeQuickActionEvent (var: L$l) +message CppChangeQuickActionEvent { + PointInTimeModel point_in_time_model = 1; + repeated CppQuickAction added = 2; + repeated CppQuickAction removed = 3; + repeated CppQuickAction actions = 4; +} + +// Copied from: local:aiserver.v1.CppConfigRequest (var: dAi) +message CppConfigRequest { + optional bool is_nightly = 1; + string model = 2; + optional bool supports_cpt = 3; +} + +// Copied from: local:aiserver.v1.CppConfigResponse (var: Y8l) +message CppConfigResponse { + // Copied from: local:aiserver.v1.CppConfigResponse.Heuristic (var: fpt) + enum Heuristic { + HEURISTIC_UNSPECIFIED = 0; + HEURISTIC_LOTS_OF_ADDED_TEXT = 1; + HEURISTIC_DUPLICATING_LINE_AFTER_SUGGESTION = 2; + HEURISTIC_DUPLICATING_MULTIPLE_LINES_AFTER_SUGGESTION = 3; + HEURISTIC_REVERTING_USER_CHANGE = 4; + HEURISTIC_OUTPUT_EXTENDS_BEYOND_RANGE_AND_IS_REPEATED = 5; + HEURISTIC_SUGGESTING_RECENTLY_REJECTED_EDIT = 6; + } + + // Copied from: local:aiserver.v1.CppConfigResponse.ImportPredictionConfig (var: Z8l) + message ImportPredictionConfig { + bool is_disabled_by_backend = 1; + bool should_turn_on_automatically = 2; + bool python_enabled = 3; + } + + // Copied from: local:aiserver.v1.CppConfigResponse.MergeBehavior (var: X8l) + message MergeBehavior { + string type = 1; + optional int32 limit = 2; + optional int32 radius = 3; + } + + // Copied from: local:aiserver.v1.CppConfigResponse.RecentlyRejectedEditThresholds (var: J8l) + message RecentlyRejectedEditThresholds { + int32 hard_reject_threshold = 1; + int32 soft_reject_threshold = 2; + } + + // Copied from: local:aiserver.v1.CppConfigResponse.SuggestionHintConfig (var: e$l) + message SuggestionHintConfig { + repeated string important_lsp_extensions = 1; + repeated string enabled_for_path_extensions = 2; + } + + optional int32 above_radius = 1; + optional int32 below_radius = 2; + optional MergeBehavior merge_behavior = 4; + optional bool is_on = 5; + optional bool is_ghost_text = 6; + optional bool should_let_user_enable_cpp_even_if_not_pro = 7; + repeated Heuristic heuristics = 8; + repeated string exclude_recently_viewed_files_patterns = 9; + bool enable_rvf_tracking = 10; + int32 global_debounce_duration_millis = 11; + int32 client_debounce_duration_millis = 12; + string cpp_url = 13; + bool use_whitespace_diff_history = 14; + ImportPredictionConfig import_prediction_config = 15; + bool enable_filesync_debounce_skipping = 16; + float check_filesync_hash_percent = 17; + string geo_cpp_backend_url = 18; + optional RecentlyRejectedEditThresholds recently_rejected_edit_thresholds = 19; + bool is_fused_cursor_prediction_model = 20; + bool include_unchanged_lines = 21; + bool should_fetch_rvf_text = 22; + optional int32 max_number_of_cleared_suggestions_since_last_accept = 23; + optional SuggestionHintConfig suggestion_hint_config = 24; + bool allows_tab_chunks = 25; + optional int32 tab_context_refresh_debounce_ms = 26; + optional int32 tab_context_refresh_editor_change_debounce_ms = 27; +} + +// Copied from: local:aiserver.v1.CppContextItem (var: mAi) +message CppContextItem { + string contents = 1; + optional string symbol = 2; + string relative_workspace_path = 3; + float score = 4; +} + +// Copied from: local:aiserver.v1.CppCopyEvent (var: M$l) +message CppCopyEvent { + string clipboard_contents = 1; +} + +// Copied from: local:aiserver.v1.CppDebouncedCursorMovementEvent (var: R$l) +message CppDebouncedCursorMovementEvent { + PointInTimeModel point_in_time_model = 1; + OneIndexedPosition cursor_position = 2; +} + +// Copied from: local:aiserver.v1.CppEditHistoryStatusRequest (var: NAs) +message CppEditHistoryStatusRequest { +} + +// Copied from: local:aiserver.v1.CppEditHistoryStatusResponse (var: OAs) +message CppEditHistoryStatusResponse { + bool on = 1; + bool only_if_explicit = 2; +} + +// Copied from: local:aiserver.v1.CppEditorChangedEvent (var: D$l) +message CppEditorChangedEvent { + PointInTimeModel point_in_time_model = 1; + OneIndexedPosition cursor_position = 2; + repeated IRange visible_ranges = 3; + string editor_id = 4; +} + +// Copied from: local:aiserver.v1.CppFate (var: GSn) +enum CppFate { + CPP_FATE_UNSPECIFIED = 0; + CPP_FATE_ACCEPT = 1; + CPP_FATE_REJECT = 2; + CPP_FATE_PARTIAL_ACCEPT = 3; +} + +// Copied from: local:aiserver.v1.CppFileDiffHistory (var: kH) +message CppFileDiffHistory { + string file_name = 1; + repeated string diff_history = 2; + repeated double diff_history_timestamps = 3; +} + +// Copied from: local:aiserver.v1.CppHistoryAppendEvent (var: O7l) +message CppHistoryAppendEvent { + optional string final_model_hash = 10; + oneof event { + ModelChange model_change = 1; + CppAcceptEvent accept_event = 2; + CppRejectEvent reject_event = 3; + CppManualTriggerEvent manual_trigger_event = 4; + } +} + +// Copied from: local:aiserver.v1.CppIntentInfo (var: TAs) +message CppIntentInfo { + string source = 1; +} + +// Copied from: local:aiserver.v1.CppLinterErrorEvent (var: I$l) +message CppLinterErrorEvent { + PointInTimeModel point_in_time_model = 1; + repeated LinterError added_errors = 2; + repeated LinterError removed_errors = 3; + repeated LinterError errors = 4; +} + +// Copied from: local:aiserver.v1.CppManualTriggerEvent (var: F7l) +message CppManualTriggerEvent { + CursorPosition position = 2; +} + +// Copied from: local:aiserver.v1.CppManualTriggerEventNew (var: T$l) +message CppManualTriggerEventNew { + int32 line_number_one_indexed = 1; + int32 column_number_one_indexed = 2; + PointInTimeModel point_in_time_model = 7; +} + +// Copied from: local:aiserver.v1.CppParameterHint (var: DAs) +message CppParameterHint { + string label = 1; + optional string documentation = 2; +} + +// Copied from: local:aiserver.v1.CppPartialAcceptEvent (var: k$l) +message CppPartialAcceptEvent { + CurrentlyShownCppSuggestion cpp_suggestion = 1; + Edit edit = 2; + PointInTimeModel point_in_time_model = 3; +} + +// Copied from: local:aiserver.v1.CppQuickAction (var: KSn) +message CppQuickAction { + // Copied from: local:aiserver.v1.CppQuickAction.Edit (var: P$l) + message Edit { + string text = 1; + IRange range = 2; + } + + string title = 1; + repeated Edit edits = 2; + optional bool is_preferred = 3; + CppQuickActionCommand command = 4; +} + +// Copied from: local:aiserver.v1.CppQuickActionCommand (var: PAs) +message CppQuickActionCommand { + string title = 1; + string id = 2; + repeated string arguments = 3; +} + +// Copied from: local:aiserver.v1.CppQuickActionFireEvent (var: N$l) +message CppQuickActionFireEvent { + PointInTimeModel point_in_time_model = 1; + oneof action_identifier { + CppQuickActionCommand quick_action_command = 2; + CppQuickAction quick_action_event = 3; + } +} + +// Copied from: local:aiserver.v1.CppRejectEvent (var: U7l) +message CppRejectEvent { + CppSuggestion cpp_suggestion = 1; +} + +// Copied from: local:aiserver.v1.CppRejectEventNew (var: S$l) +message CppRejectEventNew { + CurrentlyShownCppSuggestion cpp_suggestion = 1; + PointInTimeModel point_in_time_model = 7; +} + +// Copied from: local:aiserver.v1.CppSessionEvent (var: LAs) +message CppSessionEvent { + double performance_now_timestamp = 5; + optional double performance_time_origin = 25; + optional int64 global_index = 41; + optional double performance_now_flush_time = 42; + optional int32 event_index = 43; + optional int32 flush_index = 44; + optional int32 global_index_v2 = 45; + oneof event { + CppAcceptEventNew accept_event = 2; + CppRejectEventNew reject_event = 3; + CppManualTriggerEventNew manual_trigger_event = 4; + CppStoppedTrackingModelEvent stopped_tracking_model_event = 6; + CppSuggestEvent suggest_event = 7; + CppLinterErrorEvent linter_error_event = 8; + CppDebouncedCursorMovementEvent debounced_cursor_movement_event = 9; + CppEditorChangedEvent editor_changed_event = 10; + CppCopyEvent copy_event = 11; + CppChangeQuickActionEvent quick_action_event = 13; + CppQuickActionFireEvent quick_action_fire_event = 14; + ModelOpenedEvent model_opened_event = 15; + CmdKEvent cmd_k_event = 17; + ChatEvent chat_event = 18; + AiRequestEvent ai_event = 19; + ScrollEvent scroll_event = 21; + EditorCloseEvent editor_close_event = 22; + TabCloseEvent tab_close_event = 23; + ModelAddedEvent model_added_event = 33; + CppPartialAcceptEvent partial_accept_event = 26; + AcceptCursorPredictionEvent accept_cursor_prediction_event = 27; + RejectCursorPredictionEvent reject_cursor_prediction_event = 28; + SuggestCursorPredictionEvent suggest_cursor_prediction_event = 29; + CppTriggerEvent cpp_trigger_event = 30; + FinishedCppGenerationEvent finished_cpp_generation_event = 31; + BugBotEvent bug_bot_event = 32; + BugBotLinterEvent bug_bot_linter_event = 34; + AnythingQuickAccessSelectionEvent anything_quick_access_selection_event = 35; + LspSuggestionEvent lsp_suggestion_event = 36; + NtpEvent ntp_event = 37; + RepoEvent repo_event = 38; + GitEvent git_event = 39; + ToolCallEvent tool_call_event = 40; + BeforeAiEditEvent before_ai_edit_event = 46; + SearchEvent search_event = 47; + TerminalEvent terminal_event = 48; + WorktreeEvent worktree_event = 49; + ReviewChangesOpenedEvent review_changes_opened_event = 50; + BrowserEvent browser_event = 51; + BackgroundFilesEvent background_files_event = 16; + } +} + +// Copied from: local:aiserver.v1.CppSource (var: Gpe) +enum CppSource { + CPP_SOURCE_UNSPECIFIED = 0; + CPP_SOURCE_LINE_CHANGE = 1; + CPP_SOURCE_TYPING = 2; + CPP_SOURCE_OPTION_HOLD = 3; + CPP_SOURCE_LINTER_ERRORS = 4; + CPP_SOURCE_PARAMETER_HINTS = 5; + CPP_SOURCE_CURSOR_PREDICTION = 6; + CPP_SOURCE_MANUAL_TRIGGER = 7; + CPP_SOURCE_EDITOR_CHANGE = 8; + CPP_SOURCE_LSP_SUGGESTIONS = 9; +} + +// Copied from: local:aiserver.v1.CppStoppedTrackingModelEvent (var: A$l) +message CppStoppedTrackingModelEvent { + // Copied from: local:aiserver.v1.CppStoppedTrackingModelEvent.StoppedTrackingModelReason (var: _Ai) + enum StoppedTrackingModelReason { + STOPPED_TRACKING_MODEL_REASON_UNSPECIFIED = 0; + STOPPED_TRACKING_MODEL_REASON_FILE_TOO_BIG = 1; + STOPPED_TRACKING_MODEL_REASON_FILE_DISPOSED = 2; + STOPPED_TRACKING_MODEL_REASON_CHANGE_TOO_BIG = 3; + } + + string model_uuid = 1; + string relative_path = 2; + StoppedTrackingModelReason reason = 3; +} + +// Copied from: local:aiserver.v1.CppSuggestEvent (var: b$l) +message CppSuggestEvent { + CurrentlyShownCppSuggestion cpp_suggestion = 1; + PointInTimeModel point_in_time_model = 2; + RecoverableCppData recoverable_cpp_data = 3; +} + +// Copied from: local:aiserver.v1.CppSuggestion (var: FAs) +message CppSuggestion { + string suggestion_text = 1; + IRange range = 2; + bool seen = 5; + SelectionWithOrientation editor_selection_before_peek = 6; + optional string binding_id = 7; +} + +// Copied from: local:aiserver.v1.CppTimelineEvent (var: Xt) +message CppTimelineEvent { + // Copied from: local:aiserver.v1.CppTimelineEvent.Change (var: $t) + message Change { + // Copied from: local:aiserver.v1.CppTimelineEvent.Change.Status (var: g) + enum Status { + STATUS_UNSPECIFIED = 0; + STATUS_CORRECT = 1; + STATUS_UNVALIDATED = 2; + STATUS_INCORRECT = 3; + } + + string model_uuid = 1; + int32 change_index = 2; + ModelChange change = 3; + Status status = 4; + } + + double timestamp = 1; + oneof v { + CppSessionEvent event = 2; + Change change = 3; + } +} + +// Copied from: local:aiserver.v1.CppTriggerEvent (var: _$l) +message CppTriggerEvent { + string generation_uuid = 1; + int32 model_version = 2; + OneIndexedPosition cursor_position = 3; + PointInTimeModel point_in_time_model = 4; + CppSource source = 5; +} + +// Copied from: local:aiserver.v1.CptFileDiffHistory (var: re) +message CptFileDiffHistory { + string file_name = 1; + repeated EditPatch edit_patches = 2; +} + +// Copied from: local:aiserver.v1.CpuProfileConfig (var: KUu) +message CpuProfileConfig { + int32 interval = 1; +} + +// Copied from: local:aiserver.v1.CreateAgentShareRequest (var: bFu) +message CreateAgentShareRequest { + string bc_id = 1; +} + +// Copied from: local:aiserver.v1.CreateAgentShareResponse (var: _Fu) +message CreateAgentShareResponse { + string share_id = 1; + string share_url = 2; +} + +// Copied from: local:aiserver.v1.CreateAutomationRequest (var: VLi) +message CreateAutomationRequest { + string name = 1; + Workflow workflow = 2; + optional string description = 3; + optional AutomationScope scope = 4; + optional string template_id = 5; + optional string managed_type = 6; + optional bool hidden = 7; + optional int32 team_id = 8; + AutomationCreationSource creation_source = 9; + optional bool enabled = 10; + optional string sand_agent_id = 11; + optional string sand_automation_id = 12; +} + +// Copied from: local:aiserver.v1.CreateAutomationResponse (var: d9s) +message CreateAutomationResponse { + AutomationWithOwner workflow = 1; +} + +// Copied from: local:aiserver.v1.CreateAutomationWebhookApiKeyRequest (var: Fgu) +message CreateAutomationWebhookApiKeyRequest { + string automation_id = 1; + optional string name = 2; +} + +// Copied from: local:aiserver.v1.CreateAutomationWebhookApiKeyResponse (var: Bgu) +message CreateAutomationWebhookApiKeyResponse { + string api_key = 1; +} + +// Copied from: local:aiserver.v1.CreateBackgroundComposerPodRequest (var: KDu) +message CreateBackgroundComposerPodRequest { + DevcontainerStartingPoint devcontainer_starting_point = 1; + bool include_secrets = 2; + optional string force_cluster = 3; + optional string force_machine_template = 4; + optional string client_ip = 32; + bool optimistic_prewarming = 5; +} + +// Copied from: local:aiserver.v1.CreateBackgroundComposerPodResponse (var: QDu) +message CreateBackgroundComposerPodResponse { + string pod_id = 1; + string workspace_root_path = 2; +} + +// Copied from: local:aiserver.v1.CreateBackgroundComposerPodSnapshotRequest (var: eMu) +message CreateBackgroundComposerPodSnapshotRequest { + string pod_id = 1; + ChangeBackgroundComposerSnapshotVisibilityRequest.Visibility visibility = 2; + optional string bc_id = 3; +} + +// Copied from: local:aiserver.v1.CreateBackgroundComposerPodSnapshotResponse (var: tMu) +message CreateBackgroundComposerPodSnapshotResponse { + string snapshot_id = 1; +} + +// Copied from: local:aiserver.v1.CreateBackgroundComposerSecretBatchRequest (var: Dhu) +message CreateBackgroundComposerSecretBatchRequest { + // Copied from: local:aiserver.v1.CreateBackgroundComposerSecretBatchRequest.Secret (var: Mhu) + message Secret { + string name = 1; + string value = 2; + BackgroundComposerSecretLevel level = 3; + } + + repeated Secret secrets = 1; + bool team_scope = 2; + repeated string scoped_to_repos = 3; + BackgroundComposerSecretOwner owner = 4; +} + +// Copied from: local:aiserver.v1.CreateBackgroundComposerSecretBatchResponse (var: Phu) +message CreateBackgroundComposerSecretBatchResponse { + // Copied from: local:aiserver.v1.CreateBackgroundComposerSecretBatchResponse.ErrorType (var: Nhu) + enum ErrorType { + ERROR_TYPE_UNSPECIFIED = 0; + ERROR_TYPE_BAD_REQUEST = 1; + ERROR_TYPE_UNAUTHORIZED = 2; + ERROR_TYPE_INTERNAL = 3; + } + + // Copied from: local:aiserver.v1.CreateBackgroundComposerSecretBatchResponse.Result (var: Ohu) + message Result { + string name = 1; + CreateBackgroundComposerSecretBatchResponse.Status status = 2; + optional string error_message = 3; + optional CreateBackgroundComposerSecretBatchResponse.ErrorType error_type = 4; + } + + // Copied from: local:aiserver.v1.CreateBackgroundComposerSecretBatchResponse.Status (var: Lhu) + enum Status { + STATUS_UNSPECIFIED = 0; + STATUS_CREATED = 1; + STATUS_UPDATED = 2; + STATUS_ERROR = 3; + } + + repeated Result results = 1; +} + +// Copied from: local:aiserver.v1.CreateBackgroundComposerSecretRequest (var: Ihu) +message CreateBackgroundComposerSecretRequest { + string name = 1; + string value = 2; + bool team_scope = 3; + repeated string scoped_to_repos = 4; + BackgroundComposerSecretLevel level = 5; + BackgroundComposerSecretOwner owner = 6; +} + +// Copied from: local:aiserver.v1.CreateBackgroundComposerSecretResponse (var: Rhu) +message CreateBackgroundComposerSecretResponse { +} + +// Copied from: local:aiserver.v1.CreateBugbotManualRepositoryRuleRequest (var: zEu) +message CreateBugbotManualRepositoryRuleRequest { + int64 installation_id = 1; + optional string ghe_application = 2; + string repo_node_id = 3; + string name = 4; + string content = 5; + optional string status = 6; + repeated string scoped_paths = 7; +} + +// Copied from: local:aiserver.v1.CreateBugbotManualRepositoryRuleResponse (var: VEu) +message CreateBugbotManualRepositoryRuleResponse { + BugbotManualRepositoryRule rule = 1; +} + +// Copied from: local:aiserver.v1.CreateBugbotTeamRuleRequest (var: MEu) +message CreateBugbotTeamRuleRequest { + string name = 1; + string content = 2; + optional bool is_active = 3; + optional bool is_required = 4; + optional int32 team_id = 5; +} + +// Copied from: local:aiserver.v1.CreateBugbotTeamRuleResponse (var: PEu) +message CreateBugbotTeamRuleResponse { + BugbotRule rule = 1; +} + +// Copied from: local:aiserver.v1.CreateContractExpansionRequest (var: vhv) +message CreateContractExpansionRequest { + int32 team_id = 1; + int32 contract_id = 2; + google.protobuf.Timestamp start_date = 3; + int32 committed_usage_dollars = 4; + int32 committed_seats = 5; + double platform_discount_percent = 6; + string salesforce_account_id = 7; + string salesforce_opportunity_id = 8; + string salesforce_line_item_id = 9; + optional double cursor_token_fee_cents_per_million_tokens = 10; + optional double pooled_usage_revenue_discount_percent = 11; + optional double on_demand_usage_revenue_discount_percent = 12; + optional int64 organization_id = 13; + optional google.protobuf.Struct changed_by = 14; + optional bool waive_auto_smart_cursor_token_fee = 15; +} + +// Copied from: local:aiserver.v1.CreateContractExpansionResponse (var: bhv) +message CreateContractExpansionResponse { + EnterpriseContract contract = 1; +} + +// Copied from: local:aiserver.v1.CreateDatagenRLPipelineRunRequest (var: omv) +message CreateDatagenRLPipelineRunRequest { + optional DatagenRLPipelineRunDbStatus status = 1; + string config_name = 2; + string config_path = 3; + optional string mode = 4; + optional string description = 5; + optional string output_path = 6; + optional string config_s3_uri = 7; + optional string stats_s3_uri = 8; + optional google.protobuf.Struct artifacts = 9; + optional google.protobuf.Struct params_snapshot = 10; + optional string everysphere_branch = 11; + optional string everysphere_commit = 12; + optional bool git_dirty = 13; + optional string ray_job_name = 14; + optional string ray_job_namespace = 15; + optional string buildkite_build_id = 16; + optional int32 buildkite_build_number = 17; + optional string buildkite_build_url = 18; + optional string parent_run_id = 19; + optional string fork_from_stage = 20; + optional string created_by = 21; + optional string status_message = 22; + repeated RunParamKV params = 23; + repeated RunTagKV tags = 24; +} + +// Copied from: local:aiserver.v1.CreateDatagenRLPipelineRunResponse (var: amv) +message CreateDatagenRLPipelineRunResponse { + string run_id = 1; +} + +// Copied from: local:aiserver.v1.CreateDeeplinkRequest (var: ihv) +message CreateDeeplinkRequest { + DeeplinkType type = 1; + map data = 2; + bool is_public = 3; +} + +// Copied from: local:aiserver.v1.CreateDeeplinkResponse (var: rhv) +message CreateDeeplinkResponse { + string url = 1; +} + +// Copied from: local:aiserver.v1.CreateDiagramParams (var: K_n) +message CreateDiagramParams { + string content = 1; +} + +// Copied from: local:aiserver.v1.CreateDiagramResult (var: Q0i) +message CreateDiagramResult { + optional string error = 1; +} + +// Copied from: local:aiserver.v1.CreateDiagramStream (var: s_s) +message CreateDiagramStream { +} + +// Copied from: local:aiserver.v1.CreateEvalCronJobRequest (var: Epv) +message CreateEvalCronJobRequest { + string name = 1; + string schedule = 2; + string channel = 3; + string mode = 4; + string args = 5; + optional string thread_ts = 6; + optional string slack_username = 7; +} + +// Copied from: local:aiserver.v1.CreateEvalCronJobResponse (var: xpv) +message CreateEvalCronJobResponse { + string id = 1; +} + +// Copied from: local:aiserver.v1.CreateEvalRequest (var: zhv) +message CreateEvalRequest { + string name = 1; + optional string description = 2; + optional google.protobuf.Struct tags = 3; +} + +// Copied from: local:aiserver.v1.CreateEvalResponse (var: Vhv) +message CreateEvalResponse { + string id = 1; +} + +// Copied from: local:aiserver.v1.CreateExperimentalIndexRequest (var: xAl) +message CreateExperimentalIndexRequest { + repeated string files = 1; + string target_dir = 2; + string repo = 3; +} + +// Copied from: local:aiserver.v1.CreateExperimentalIndexResponse (var: TAl) +message CreateExperimentalIndexResponse { + string index_id = 1; +} + +// Copied from: local:aiserver.v1.CreateGroupRequest (var: u0u) +message CreateGroupRequest { + int32 team_id = 1; + string name = 2; + optional int32 directory_group_id = 3; + optional GroupType type = 4; +} + +// Copied from: local:aiserver.v1.CreateGroupResponse (var: d0u) +message CreateGroupResponse { + Group group = 1; +} + +// Copied from: local:aiserver.v1.CreateJiraRoutingRuleRequest (var: DIu) +message CreateJiraRoutingRuleRequest { + int32 team_id = 1; + string repo = 2; + string rule_text = 3; +} + +// Copied from: local:aiserver.v1.CreateJiraRoutingRuleResponse (var: MIu) +message CreateJiraRoutingRuleResponse { + JiraRoutingRule rule = 1; +} + +// Copied from: local:aiserver.v1.CreateKeyringRequest (var: l3u) +message CreateKeyringRequest { + string name = 1; +} + +// Copied from: local:aiserver.v1.CreateKeyringResponse (var: u3u) +message CreateKeyringResponse { + Keyring keyring = 1; +} + +// Copied from: local:aiserver.v1.CreateKeyringSecretRequest (var: b3u) +message CreateKeyringSecretRequest { + string keyring_public_id = 1; + string name = 2; + string value = 3; + BackgroundComposerSecretLevel level = 4; +} + +// Copied from: local:aiserver.v1.CreateKeyringSecretResponse (var: _3u) +message CreateKeyringSecretResponse { +} + +// Copied from: local:aiserver.v1.CreateManualEnterpriseContractRequest (var: ghv) +message CreateManualEnterpriseContractRequest { + int32 team_id = 1; + google.protobuf.Timestamp start_date = 2; + google.protobuf.Timestamp end_date = 3; + int32 committed_usage_dollars = 4; + int32 committed_seats = 5; + double platform_discount_percent = 6; + string salesforce_account_id = 7; + string salesforce_opportunity_id = 8; + string salesforce_line_item_id = 9; + optional double cursor_token_fee_cents_per_million_tokens = 10; + optional double pooled_usage_revenue_discount_percent = 11; + optional double on_demand_usage_revenue_discount_percent = 12; + optional int64 organization_id = 13; + optional google.protobuf.Struct changed_by = 14; + optional bool waive_auto_smart_cursor_token_fee = 15; +} + +// Copied from: local:aiserver.v1.CreateManualEnterpriseContractResponse (var: fhv) +message CreateManualEnterpriseContractResponse { + EnterpriseContract contract = 1; +} + +// Copied from: local:aiserver.v1.CreateMarketplaceExtensionPublisherRequest (var: Ifv) +message CreateMarketplaceExtensionPublisherRequest { + string openvsx_url = 1; + string publisher_domain = 2; +} + +// Copied from: local:aiserver.v1.CreateMarketplaceExtensionPublisherResponse (var: Rfv) +message CreateMarketplaceExtensionPublisherResponse { + bool success = 1; + string message = 2; + string publisher_id = 3; +} + +// Copied from: local:aiserver.v1.CreateMobileSessionRequest (var: Klv) +message CreateMobileSessionRequest { +} + +// Copied from: local:aiserver.v1.CreateMobileSessionResponse (var: Qlv) +message CreateMobileSessionResponse { + string session_token = 1; + string auth_id = 2; +} + +// Copied from: local:aiserver.v1.CreateOrganizationApiKeyRequest (var: zgu) +message CreateOrganizationApiKeyRequest { + string organization_id = 1; + string name = 2; + repeated string scopes = 3; +} + +// Copied from: local:aiserver.v1.CreateOrganizationApiKeyResponse (var: Vgu) +message CreateOrganizationApiKeyResponse { + string api_key = 1; + string api_key_id = 2; +} + +// Copied from: local:aiserver.v1.CreateOrganizationGroupAnthropicCyberEnrollmentUrlRequest (var: vdu) +message CreateOrganizationGroupAnthropicCyberEnrollmentUrlRequest { + string organization_id = 1; + int64 group_id = 2; +} + +// Copied from: local:aiserver.v1.CreateOrganizationGroupAnthropicCyberEnrollmentUrlResponse (var: bdu) +message CreateOrganizationGroupAnthropicCyberEnrollmentUrlResponse { + string enrollment_url = 1; + string user_profile_id = 2; +} + +// Copied from: local:aiserver.v1.CreateOrganizationGroupRequest (var: Quu) +message CreateOrganizationGroupRequest { + string organization_id = 1; + string name = 2; + optional CreateOrganizationGroupScimMapping scim_mapping = 3; +} + +// Copied from: local:aiserver.v1.CreateOrganizationGroupResponse (var: Yuu) +message CreateOrganizationGroupResponse { + OrganizationGroup group = 1; +} + +// Copied from: local:aiserver.v1.CreateOrganizationGroupScimMapping (var: d2s) +message CreateOrganizationGroupScimMapping { + int64 scim_directory_id = 1; + string scim_group_external_id = 2; +} + +// Copied from: local:aiserver.v1.CreateOrganizationTeamIdentityProviderMode (var: dcu) +enum CreateOrganizationTeamIdentityProviderMode { + CREATE_ORGANIZATION_TEAM_IDENTITY_PROVIDER_MODE_UNSPECIFIED = 0; + CREATE_ORGANIZATION_TEAM_IDENTITY_PROVIDER_MODE_USE_ORGANIZATION = 1; + CREATE_ORGANIZATION_TEAM_IDENTITY_PROVIDER_MODE_CREATE_NEW = 2; +} + +// Copied from: local:aiserver.v1.CreateOrganizationTeamRequest (var: Ouu) +message CreateOrganizationTeamRequest { + string organization_id = 1; + string name = 2; + string slug = 3; + int32 owner_user_id = 4; + optional CreateOrganizationTeamScimMapping scim_mapping = 5; + CreateOrganizationTeamIdentityProviderMode identity_provider_mode = 6; +} + +// Copied from: local:aiserver.v1.CreateOrganizationTeamResponse (var: Buu) +message CreateOrganizationTeamResponse { + int32 team_id = 1; + string name = 2; + string slug = 3; +} + +// Copied from: local:aiserver.v1.CreateOrganizationTeamScimMapping (var: Fuu) +message CreateOrganizationTeamScimMapping { + int64 scim_directory_id = 1; + string scim_group_external_id = 2; +} + +// Copied from: local:aiserver.v1.CreateP2PReferralLinkRequest (var: T2s) +message CreateP2PReferralLinkRequest { +} + +// Copied from: local:aiserver.v1.CreateP2PReferralLinkResponse (var: fvu) +message CreateP2PReferralLinkResponse { + string code = 1; + string url_path = 2; + string title = 3; + string description = 4; +} + +// Copied from: local:aiserver.v1.CreatePackfileUploadRequest (var: Ldv) +message CreatePackfileUploadRequest { + string codebase_uuid = 1; + PackfileMetadata packfile = 2; +} + +// Copied from: local:aiserver.v1.CreatePackfileUploadResponse (var: Ndv) +message CreatePackfileUploadResponse { + // Copied from: local:aiserver.v1.CreatePackfileUploadResponse.AlreadyUploaded (var: Fdv) + message AlreadyUploaded { + } + + // Copied from: local:aiserver.v1.CreatePackfileUploadResponse.UploadRequired (var: Odv) + message UploadRequired { + string upload_uuid = 1; + PackfileUploadMethod method = 2; + } + + oneof result { + UploadRequired upload_required = 1; + AlreadyUploaded already_uploaded = 2; + } +} + +// Copied from: local:aiserver.v1.CreatePendingTeamProCheckoutRequest (var: qmu) +message CreatePendingTeamProCheckoutRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.CreatePendingTeamProCheckoutResponse (var: Kmu) +message CreatePendingTeamProCheckoutResponse { + string checkout_url = 1; +} + +// Copied from: agent.v1.CreatePlanArgs (var: hSn) +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:aiserver.v1.CreatePlanParams (var: rGe) +message CreatePlanParams { + string plan = 1; + string title = 2; + string summary = 3; + repeated Step steps = 4; + string old_str = 5; + string new_str = 6; + string name = 7; + repeated TodoItem todos = 8; + string overview = 9; + bool is_spec = 10; + bool is_project = 11; + repeated PlanPhase phases = 12; +} + +// Copied from: agent.v1.CreatePlanRequestQuery (var: vFl) +message CreatePlanRequestQuery { + CreatePlanArgs args = 1; + string tool_call_id = 2; +} + +// Copied from: agent.v1.CreatePlanRequestResponse (var: zxi) +message CreatePlanRequestResponse { + CreatePlanResult result = 1; +} + +// Copied from: local:aiserver.v1.CreatePlanResult (var: mht) +message CreatePlanResult { + // Copied from: local:aiserver.v1.CreatePlanResult.Accepted (var: I_s) + message Accepted { + repeated TodoItem final_todos = 1; + } + + // Copied from: local:aiserver.v1.CreatePlanResult.Modified (var: D_s) + message Modified { + string new_plan = 1; + repeated TodoItem final_todos = 2; + } + + // Copied from: local:aiserver.v1.CreatePlanResult.Rejected (var: R_s) + message Rejected { + } + + string plan_uri = 4; + oneof result { + Accepted accepted = 1; + Rejected rejected = 2; + Modified modified = 3; + } +} + +// Copied from: local:aiserver.v1.CreatePlanStream (var: M_s) +message CreatePlanStream { +} + +// Copied from: local:aiserver.v1.CreatePluginRequest (var: cOs) +message CreatePluginRequest { + string name = 2; + string display_name = 3; + string description = 4; + repeated string tags = 5; + optional string git_url = 6; + optional string git_ref = 7; + optional string repository_url = 8; + optional string logo_url = 9; + repeated Rule inline_rules = 16; + repeated TeamHook inline_hooks = 17; + repeated TeamCommand inline_commands = 18; + string mcp_config_json = 19; + google.protobuf.Struct variables = 20; + repeated TeamSkill inline_skills = 21; + repeated TeamSubagent inline_subagents = 22; + optional int64 marketplace_id = 23; + optional int32 team_id = 24; +} + +// Copied from: local:aiserver.v1.CreatePluginResponse (var: WTu) +message CreatePluginResponse { + Plugin plugin = 1; +} + +// Copied from: agent.v1.CreatePrAction (var: tBl) +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:aiserver.v1.CreateProjectWorkerRequest (var: BDu) +message CreateProjectWorkerRequest { + string manager_bc_id = 1; + string creation_id = 2; + StartBackgroundComposerFromSnapshotRequest start_request = 3; +} + +// Copied from: local:aiserver.v1.CreateProjectWorkerResponse (var: UDu) +message CreateProjectWorkerResponse { + BackgroundComposer composer = 1; + optional bool was_swapped_to_default = 2; + optional string initial_run_id = 3; +} + +// Copied from: local:aiserver.v1.CreateProtectedGitScopeRequest (var: $vu) +message CreateProtectedGitScopeRequest { + int32 team_id = 1; + string repo_url = 2; +} + +// Copied from: local:aiserver.v1.CreateProtectedGitScopeResponse (var: jvu) +message CreateProtectedGitScopeResponse { + ProtectedGitScope scope = 1; +} + +// Copied from: local:aiserver.v1.CreateRelayBackfillRequest (var: Mvv) +message CreateRelayBackfillRequest { + string pipeline_name = 1; + string pipeline_version = 2; + string dedupe_key = 3; + google.protobuf.Timestamp logical_start = 4; + google.protobuf.Timestamp logical_end = 5; + string interval = 6; + optional string schedule_id = 7; + google.protobuf.Struct input_template_json = 8; + RelayBackfillExistingRunPolicy existing_run_policy = 9; + RelayBackfillFailurePolicy failure_policy = 10; + optional int32 max_concurrency = 11; + optional string created_by = 12; + bool dry_run = 13; + optional bool start_workflow = 14; +} + +// Copied from: local:aiserver.v1.CreateRelayBackfillResponse (var: Pvv) +message CreateRelayBackfillResponse { + bool dry_run = 1; + string backfill_action = 2; + RelayBackfillRecord backfill = 3; + int32 window_count = 4; + repeated RelayBackfillWindowRecord windows = 5; + repeated string warnings = 6; + optional string temporal_workflow_id = 7; + optional string temporal_run_id = 8; +} + +// Copied from: local:aiserver.v1.CreateRelayPipelineRunRequest (var: mvv) +message CreateRelayPipelineRunRequest { + string pipeline_name = 1; + string pipeline_version = 2; + RelayRunKind run_kind = 3; + google.protobuf.Timestamp logical_start = 4; + google.protobuf.Timestamp logical_end = 5; + string manual_dedupe_key = 6; + optional string created_by = 7; + google.protobuf.Struct input_json = 8; + bool dry_run = 9; + optional bool start_workflow = 10; + bool allow_stale_logical_date = 11; +} + +// Copied from: local:aiserver.v1.CreateRelayPipelineRunResponse (var: gvv) +message CreateRelayPipelineRunResponse { + bool dry_run = 1; + string definition_action = 2; + RelayPipelineRunRecord run = 3; + optional string temporal_workflow_id = 4; + optional string temporal_run_id = 5; + optional string output_prefix = 6; +} + +// Copied from: local:aiserver.v1.CreateRelayScheduleRequest (var: wvv) +message CreateRelayScheduleRequest { + string pipeline_name = 1; + string pipeline_version = 2; + string cron_expression = 3; + optional string timezone = 4; + string interval = 5; + google.protobuf.Struct input_template_json = 6; + optional bool enabled = 7; + RelayScheduleOverlapPolicy overlap_policy = 8; + RelayScheduleCatchupPolicy catchup_policy = 9; + google.protobuf.Timestamp starts_at = 10; + google.protobuf.Timestamp ends_at = 11; + optional string created_by = 12; +} + +// Copied from: local:aiserver.v1.CreateRelayScheduleResponse (var: kvv) +message CreateRelayScheduleResponse { + string schedule_action = 1; + RelayScheduleRecord schedule = 2; +} + +// Copied from: local:aiserver.v1.CreateRlEvalJobRequest (var: Ppv) +message CreateRlEvalJobRequest { + string config_name = 1; + string experiment_name = 2; + string cluster_name = 3; + string anytitan_ref = 4; + string config_s3_uri = 5; + optional string config_version_id = 6; + optional string config_toml_s3_uri = 7; + optional string everysphere_branch = 8; + optional string everysphere_commit = 9; + optional string description = 10; + optional google.protobuf.Struct params_snapshot = 11; + optional string created_by = 12; + optional int32 from_step = 13; + optional int32 to_step = 14; + optional int32 step_interval = 15; +} + +// Copied from: local:aiserver.v1.CreateRlEvalJobResponse (var: Lpv) +message CreateRlEvalJobResponse { + string job_id = 1; +} + +// Copied from: local:aiserver.v1.CreateRmFilesParams (var: Qvs) +message CreateRmFilesParams { + repeated string removed_file_paths = 1; + repeated string created_file_paths = 2; + repeated string created_directory_paths = 3; +} + +// Copied from: local:aiserver.v1.CreateRmFilesResult (var: Yvs) +message CreateRmFilesResult { + repeated string created_file_paths = 1; + repeated string removed_file_paths = 2; +} + +// Copied from: local:aiserver.v1.CreateRunRequest (var: Zhv) +message CreateRunRequest { + string eval_id = 1; + string dataset_name = 2; + string model_name = 3; + optional string request_id = 4; + optional google.protobuf.Struct params = 5; + optional string created_by = 6; + optional string artifact_uri = 7; + optional int32 iteration_count = 8; + repeated RunParamKV param_rows = 9; + repeated RunTagKV tags = 10; + optional string slack_channel = 11; + optional string slack_thread_ts = 12; + optional string slack_user_id = 13; + optional string slack_status_message_ts = 14; +} + +// Copied from: local:aiserver.v1.CreateRunResponse (var: Xhv) +message CreateRunResponse { + string id = 1; +} + +// Copied from: local:aiserver.v1.CreateScimDirectoryRequest (var: N0u) +message CreateScimDirectoryRequest { + string organization_id = 1; + string scim_directory_external_id = 2; + ScimDirectoryProvider provider = 3; + ScimDirectoryOwnerType owner_type = 4; +} + +// Copied from: local:aiserver.v1.CreateScimDirectoryResponse (var: O0u) +message CreateScimDirectoryResponse { + ScimDirectory directory = 1; +} + +// Copied from: local:aiserver.v1.CreateScimTargetMappingRequest (var: q0u) +message CreateScimTargetMappingRequest { + string organization_id = 1; + int64 scim_directory_id = 2; + string scim_group_external_id = 3; + int64 target_id = 4; + ScimTargetMappingTargetType target_type = 5; + optional int64 cursor_group_id = 6; + ScimTargetMappingRole role = 7; + ScimTargetMappingSourceType source_type = 8; +} + +// Copied from: local:aiserver.v1.CreateScimTargetMappingResponse (var: K0u) +message CreateScimTargetMappingResponse { + ScimTargetMapping mapping = 1; +} + +// Copied from: local:aiserver.v1.CreateSlackRepoRoutingRuleRequest (var: ICu) +message CreateSlackRepoRoutingRuleRequest { + int32 team_id = 1; + string pattern = 2; + string repo = 3; + SlackRoutingRuleTargetType target_type = 4; + optional string environment_public_id = 5; +} + +// Copied from: local:aiserver.v1.CreateSlackRepoRoutingRuleResponse (var: RCu) +message CreateSlackRepoRoutingRuleResponse { + SlackRepoRoutingRule rule = 1; +} + +// Copied from: local:aiserver.v1.CreateSupportImpersonationSessionInternalRequest (var: sAu) +message CreateSupportImpersonationSessionInternalRequest { + int64 target_user_id = 1; + string reason = 2; +} + +// Copied from: local:aiserver.v1.CreateSupportImpersonationSessionInternalResponse (var: oAu) +message CreateSupportImpersonationSessionInternalResponse { + string redemption_code = 1; + string target_email = 2; + string target_auth_id = 3; + int64 redemption_expires_at_ms = 4; +} + +// Copied from: local:aiserver.v1.CreateTeamApiKeyRequest (var: Ngu) +message CreateTeamApiKeyRequest { + int32 team_id = 1; + string name = 2; + repeated string scopes = 3; + optional int64 expires_at = 4; +} + +// Copied from: local:aiserver.v1.CreateTeamApiKeyResponse (var: Ogu) +message CreateTeamApiKeyResponse { + string api_key = 1; +} + +// Copied from: local:aiserver.v1.CreateTeamCommandRequest (var: bEu) +message CreateTeamCommandRequest { + string name = 1; + string content = 2; + optional string description = 3; + optional bool is_active = 4; + optional int32 team_id = 5; +} + +// Copied from: local:aiserver.v1.CreateTeamCommandResponse (var: _Eu) +message CreateTeamCommandResponse { + TeamCommand command = 1; +} + +// Copied from: local:aiserver.v1.CreateTeamCustomerTelemetryDestinationRequest (var: v1u) +message CreateTeamCustomerTelemetryDestinationRequest { + int32 team_id = 1; + string endpoint_url = 2; + optional TeamCustomerTelemetryDestinationHeaders headers = 3; + bool metrics_enabled = 4; + bool logs_enabled = 5; + bool enabled = 6; + optional TeamCustomerTelemetryDestinationFamilyList disabled_families = 7; + optional TeamCustomerTelemetryDestinationFamilyList enabled_families = 8; + optional bool auto_enable_new_families = 9; +} + +// Copied from: local:aiserver.v1.CreateTeamCustomerTelemetryDestinationResponse (var: b1u) +message CreateTeamCustomerTelemetryDestinationResponse { + TeamCustomerTelemetryDestination destination = 1; +} + +// Copied from: local:aiserver.v1.CreateTeamFreeTrialCodeRequest (var: dNs) +message CreateTeamFreeTrialCodeRequest { + optional TrialType trial_type = 1; + optional FreeTrialCodePurpose code_purpose = 2; +} + +// Copied from: local:aiserver.v1.CreateTeamFreeTrialCodeResponse (var: hNs) +message CreateTeamFreeTrialCodeResponse { + string code = 1; +} + +// Copied from: local:aiserver.v1.CreateTeamGroupAnthropicCyberEnrollmentUrlRequest (var: dhu) +message CreateTeamGroupAnthropicCyberEnrollmentUrlRequest { + int32 team_id = 1; + int64 group_id = 2; +} + +// Copied from: local:aiserver.v1.CreateTeamGroupAnthropicCyberEnrollmentUrlResponse (var: hhu) +message CreateTeamGroupAnthropicCyberEnrollmentUrlResponse { + string enrollment_url = 1; + string user_profile_id = 2; +} + +// Copied from: local:aiserver.v1.CreateTeamGroupRequest (var: Idu) +message CreateTeamGroupRequest { + int32 team_id = 1; + string name = 2; + optional CreateOrganizationGroupScimMapping scim_mapping = 3; +} + +// Copied from: local:aiserver.v1.CreateTeamGroupResponse (var: Rdu) +message CreateTeamGroupResponse { + TeamGroup group = 1; +} + +// Copied from: local:aiserver.v1.CreateTeamGroupScimTargetMappingRequest (var: _hu) +message CreateTeamGroupScimTargetMappingRequest { + int32 team_id = 1; + int64 group_id = 2; + int64 scim_directory_id = 3; + string scim_group_external_id = 4; +} + +// Copied from: local:aiserver.v1.CreateTeamGroupScimTargetMappingResponse (var: yhu) +message CreateTeamGroupScimTargetMappingResponse { + ScimTargetMapping mapping = 1; +} + +// Copied from: local:aiserver.v1.CreateTeamHookRequest (var: dEu) +message CreateTeamHookRequest { + string hook_step = 1; + string script_name = 2; + repeated string operating_systems = 3; + bool is_active = 4; + optional string script_content = 5; + optional string hook_type = 6; + optional string prompt_content = 7; + optional string prompt_model = 8; + optional int32 team_id = 9; +} + +// Copied from: local:aiserver.v1.CreateTeamHookResponse (var: hEu) +message CreateTeamHookResponse { + TeamHook hook = 1; +} + +// Copied from: local:aiserver.v1.CreateTeamRepoRequest (var: Rvu) +message CreateTeamRepoRequest { + int32 team_id = 1; + string repo_url = 2; + string repo_type = 3; +} + +// Copied from: local:aiserver.v1.CreateTeamRepoResponse (var: Dvu) +message CreateTeamRepoResponse { + int32 repo_id = 1; +} + +// Copied from: local:aiserver.v1.CreateTeamRequest (var: vfu) +message CreateTeamRequest { + string name = 1; + optional bool privacy_mode_forced = 2; + optional bool allow_domain_join = 3; + optional string source = 4; +} + +// Copied from: local:aiserver.v1.CreateTeamResponse (var: bfu) +message CreateTeamResponse { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.CreateTeamRuleRequest (var: iEu) +message CreateTeamRuleRequest { + string name = 1; + string content = 2; + repeated string globs = 5; + bool is_active = 3; + bool is_required = 4; + optional int32 team_id = 6; + TeamRuleAgentType agent_type = 7; +} + +// Copied from: local:aiserver.v1.CreateTeamRuleResponse (var: rEu) +message CreateTeamRuleResponse { + Rule rule = 1; +} + +// Copied from: local:aiserver.v1.CreateTeamServiceAccountRequest (var: Ygu) +message CreateTeamServiceAccountRequest { + int32 team_id = 1; + string name = 2; + optional string description = 3; + repeated string initial_repo_scope = 4; + optional bool initial_repo_scope_enabled = 5; +} + +// Copied from: local:aiserver.v1.CreateTeamServiceAccountResponse (var: Zgu) +message CreateTeamServiceAccountResponse { + ServiceAccountInfo service_account = 1; + string api_key = 2; +} + +// Copied from: local:aiserver.v1.CreateTeamWithFreeTrialRequest (var: imu) +message CreateTeamWithFreeTrialRequest { + string name = 1; + optional bool privacy_mode_forced = 2; + optional string free_trial_code = 3; +} + +// Copied from: local:aiserver.v1.CreateTeamWithFreeTrialResponse (var: rmu) +message CreateTeamWithFreeTrialResponse { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.CreateTeamWithOrgRequest (var: smu) +message CreateTeamWithOrgRequest { + string name = 1; + string invite_code = 2; + optional bool privacy_mode_forced = 3; +} + +// Copied from: local:aiserver.v1.CreateTeamWithOrgResponse (var: omu) +message CreateTeamWithOrgResponse { + int32 team_id = 1; + int64 org_id = 2; +} + +// Copied from: local:aiserver.v1.CreateTeamsTrialV2ReferralCodeRequest (var: Obu) +message CreateTeamsTrialV2ReferralCodeRequest { +} + +// Copied from: local:aiserver.v1.CreateTeamsTrialV2ReferralCodeResponse (var: Fbu) +message CreateTeamsTrialV2ReferralCodeResponse { + string code = 1; +} + +// Copied from: local:aiserver.v1.CreateUsageAlertsRequest (var: tTu) +message CreateUsageAlertsRequest { + int32 team_id = 1; + string target_type = 2; + string target_scope = 3; + repeated int32 threshold_cents = 4; + string notification_mode = 5; + optional bool notify_all_admins = 6; + repeated int32 notify_admin_user_ids = 7; + optional bool notify_member = 8; + optional int32 group_id = 9; + optional string threshold_type = 10; + repeated int32 threshold_bps = 11; + optional int32 resource_threshold_cents = 12; + optional string resource_threshold_id = 13; + optional string resource_threshold_level = 14; + repeated string notification_channels = 15; + optional string spend_bucket = 16; +} + +// Copied from: local:aiserver.v1.CreateUsageAlertsResponse (var: nTu) +message CreateUsageAlertsResponse { + repeated UsageAlert created_alerts = 1; +} + +// Copied from: local:aiserver.v1.CreateUserApiKeyRequest (var: dfu) +message CreateUserApiKeyRequest { + string name = 1; + repeated string scopes = 2; + optional int64 expires_at = 3; +} + +// Copied from: local:aiserver.v1.CreateUserApiKeyResponse (var: hfu) +message CreateUserApiKeyResponse { + string api_key = 1; +} + +// Copied from: local:aiserver.v1.CreateWorkflowFromTemplateRequest (var: QHu) +message CreateWorkflowFromTemplateRequest { + string template_id = 1; + string name = 2; + InputValues input_values = 3; + optional string description = 4; + AutomationCreationSource creation_source = 5; +} + +// Copied from: local:aiserver.v1.CreateWorkflowFromTemplateResponse (var: YHu) +message CreateWorkflowFromTemplateResponse { + Automation workflow = 1; +} + +// Copied from: local:aiserver.v1.CronSamplePayload (var: b9s) +message CronSamplePayload { +} + +// Copied from: local:aiserver.v1.CronTrigger (var: Gju) +message CronTrigger { + string cron = 1; +} + +// Copied from: local:aiserver.v1.CrossExtHostHeader (var: m_c) +message CrossExtHostHeader { + string key = 1; + string value = 2; +} + +// Copied from: local:aiserver.v1.CrossExtHostHeaders (var: b$r) +message CrossExtHostHeaders { + repeated CrossExtHostHeader headers = 1; +} + +// Copied from: local:aiserver.v1.CurrentFileContext (var: YWl) +message CurrentFileContext { + string relative_path = 1; + string language = 2; + int32 cursor_line = 3; + string full_content = 4; +} + +// Copied from: local:aiserver.v1.CurrentFileInfo (var: oC) +message CurrentFileInfo { + // Copied from: local:aiserver.v1.CurrentFileInfo.NotebookCell (var: qbc) + message NotebookCell { + } + + string relative_workspace_path = 1; + string contents = 2; + bool rely_on_filesync = 18; + optional string sha_256_hash = 17; + repeated NotebookCell cells = 16; + repeated BM25Chunk top_chunks = 10; + int32 contents_start_at_line = 9; + CursorPosition cursor_position = 3; + repeated DataframeInfo dataframes = 4; + int32 total_number_of_lines = 8; + string language_id = 5; + CursorRange selection = 6; + optional int32 alternative_version_id = 11; + repeated Diagnostic diagnostics = 7; + optional int32 file_version = 14; + repeated int32 cell_start_lines = 15; + string workspace_root_path = 19; + optional string line_ending = 20; +} + +// Copied from: local:aiserver.v1.CurrentFileLocationData (var: QTi) +message CurrentFileLocationData { + string relative_workspace_path = 1; + int32 line_number = 2; + string text = 3; +} + +// Copied from: local:aiserver.v1.CurrentFolderFileOrFolder (var: VHl) +message CurrentFolderFileOrFolder { + string name = 1; + bool is_folder = 2; +} + +// Copied from: local:aiserver.v1.CurrentlyShownCppSuggestion (var: qSn) +message CurrentlyShownCppSuggestion { + int32 suggestion_id = 1; + string suggestion_text = 2; + int32 model_version_when_the_change_is_first_indicated_to_the_user_but_not_shown_in_the_model = 3; + optional IRange range_of_suggestion_in_current_model = 4; + string original_text = 5; + optional string binding_id = 6; +} + +// Copied from: local:aiserver.v1.CursorBlameSettings (var: J2s) +message CursorBlameSettings { + bool enabled = 1; +} + +// Copied from: local:aiserver.v1.CursorHelpConversationMessage (var: oql) +message CursorHelpConversationMessage { + string id = 1; + string role = 2; + string content = 3; +} + +// Copied from: local:aiserver.v1.CursorIgnoreControls (var: P2s) +message CursorIgnoreControls { + bool hierarchical_enabled = 1; + bool ignore_symlinks = 2; +} + +// Copied from: local:aiserver.v1.CursorPosition (var: y5) +message CursorPosition { + int32 line = 1; + int32 column = 2; +} + +// Copied from: agent.v1.CursorPositionAction (var: YRl) +message CursorPositionAction { +} + +// Copied from: local:aiserver.v1.CursorPrediction (var: fAi) +message CursorPrediction { + // Copied from: local:aiserver.v1.CursorPrediction.CursorPredictionSource (var: vAi) + enum CursorPredictionSource { + CURSOR_PREDICTION_SOURCE_UNSPECIFIED = 0; + CURSOR_PREDICTION_SOURCE_ALWAYS_ON = 1; + CURSOR_PREDICTION_SOURCE_ACCEPT = 2; + CURSOR_PREDICTION_SOURCE_UNDO = 3; + CURSOR_PREDICTION_SOURCE_EDITOR_CHANGE = 4; + } + + string request_id = 1; + int32 prediction_id = 2; + int32 line_number = 3; + CursorPredictionSource source = 4; + optional string binding_id = 5; +} + +// Copied from: local:aiserver.v1.CursorPredictionConfigRequest (var: Vdv) +message CursorPredictionConfigRequest { +} + +// Copied from: local:aiserver.v1.CursorPredictionConfigResponse (var: qdv) +message CursorPredictionConfigResponse { + // Copied from: local:aiserver.v1.CursorPredictionConfigResponse.Heuristic (var: Kdv) + enum Heuristic { + HEURISTIC_UNSPECIFIED = 0; + HEURISTIC_DISABLE_IN_LAST_CPP_SUGGESTION = 1; + } + + repeated CursorPredictionModel models = 1; + string default_model = 2; + repeated Heuristic heuristics = 3; +} + +// Copied from: local:aiserver.v1.CursorPredictionModel (var: Gdv) +message CursorPredictionModel { + string name = 1; + int32 radius = 2; +} + +// Copied from: local:aiserver.v1.CursorRange (var: qW) +message CursorRange { + CursorPosition start_position = 1; + CursorPosition end_position = 2; +} + +// Copied from: local:aiserver.v1.CursorReviewEntitlementScope (var: L_u) +message CursorReviewEntitlementScope { + oneof subject { + int32 team_id = 1; + string cursor_user_id = 2; + } +} + +// Copied from: local:aiserver.v1.CursorRule (var: gxe) +message CursorRule { + string name = 1; + string description = 2; + optional string body = 3; + optional bool is_from_glob = 4; + optional bool always_apply = 5; + optional bool attach_to_background_agents = 6; + optional string full_path = 7; + repeated string environments = 8; + repeated string disabled_environments = 9; + optional string plugin = 10; + optional string marketplace = 11; +} + +// Copied from: local:aiserver.v1.CursorSelection (var: f$l) +message CursorSelection { + int32 selection_start_line_number = 1; + int32 selection_start_column = 2; + int32 position_line_number = 3; + int32 position_column = 4; +} + +// Copied from: local:aiserver.v1.CustomErrorDetails (var: mct) +message CustomErrorDetails { + string title = 1; + string detail = 2; + optional bool allow_command_links_potentially_unsafe_please_only_use_for_handwritten_trusted_markdown = 3; + optional bool is_retryable = 4; + optional bool show_request_id = 5; + optional bool should_show_immediate_error = 6; + repeated ErrorButton buttons = 8; + map additional_info = 7; + repeated PlanChoice plan_choices = 9; + optional ErrorAnalyticsMetadata analytics_metadata = 10; +} + +// Copied from: agent.v1.CustomModeDescriptor (var: CTi) +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: agent.v1.CustomModeExitIntent (var: xTi) +message CustomModeExitIntent { + AgentMode next_mode = 1; + SubmittedExitedCustomMode exited_mode = 2; +} + +// Copied from: agent.v1.CustomModeIntent (var: IBt) +message CustomModeIntent { + oneof intent { + SubmittedCustomMode enter = 1; + CustomModeExitIntent exit = 2; + } +} + +// Copied from: agent.v1.CustomModeSource (var: kSe) +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: agent.v1.CustomSubagent (var: OOt) +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: agent.v1.CustomSubagentPermissionMode (var: LRl) +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:aiserver.v1.CustomToolCall (var: fbs) +message CustomToolCall { + string tool_id = 1; + string params = 2; +} + +// Copied from: local:aiserver.v1.CustomToolResult (var: vbs) +message CustomToolResult { + string tool_id = 1; + string result = 2; +} + +// Copied from: local:aiserver.v1.CustomerIdRequest (var: Xlv) +message CustomerIdRequest { + string email = 1; +} + +// Copied from: local:aiserver.v1.CustomerIdResponse (var: Jlv) +message CustomerIdResponse { + optional string customer_id = 1; +} + +// Copied from: local:aiserver.v1.CycleType (var: NLs) +enum CycleType { + CYCLE_TYPE_UNSPECIFIED = 0; + CYCLE_TYPE_MONTH = 1; + CYCLE_TYPE_START_TIME = 2; +} + +// Copied from: local:aiserver.v1.DailyMetrics (var: pNs) +message DailyMetrics { + int64 date = 1; + int32 active_users = 2; + int32 lines_added = 3; + int32 lines_deleted = 4; + int32 accepted_lines_added = 5; + int32 accepted_lines_deleted = 6; + int32 total_applies = 7; + int32 total_accepts = 8; + int32 total_rejects = 9; + int32 total_tabs_shown = 10; + int32 total_tabs_accepted = 11; + int32 composer_requests = 12; + int32 chat_requests = 13; + int32 agent_requests = 14; + int32 cmdk_usages = 15; + int32 subscription_included_reqs = 16; + int32 api_key_reqs = 17; + int32 usage_based_reqs = 18; + int32 bugbot_usages = 19; + repeated StringCount model_usage = 20; + repeated StringCount extension_usage = 21; + repeated StringCount tab_extension_usage = 22; + repeated StringCount client_version_usage = 23; +} + +// Copied from: local:aiserver.v1.DailySpendByCategory (var: i0u) +message DailySpendByCategory { + int64 day = 1; + string category = 2; + int32 spend_cents = 3; + int64 total_tokens = 4; +} + +// Copied from: local:aiserver.v1.DailySpendPoint (var: TDi) +message DailySpendPoint { + int64 day = 1; + int32 spend_cents = 2; +} + +// Copied from: local:aiserver.v1.DashboardAction (var: i_c) +message DashboardAction { + string action = 1; + map args = 2; + optional string success_message = 3; +} + +// Copied from: local:aiserver.v1.DataOpsJobDbStatus (var: spo) +enum DataOpsJobDbStatus { + DATA_OPS_JOB_DB_STATUS_UNSPECIFIED = 0; + DATA_OPS_JOB_DB_STATUS_PENDING = 1; + DATA_OPS_JOB_DB_STATUS_BUILDING = 2; + DATA_OPS_JOB_DB_STATUS_RUNNING_FINALIZE = 3; + DATA_OPS_JOB_DB_STATUS_RUNNING_SYNC_INDEX = 4; + DATA_OPS_JOB_DB_STATUS_RUNNING_ROLLOUT = 5; + DATA_OPS_JOB_DB_STATUS_COMPUTING_STATS = 6; + DATA_OPS_JOB_DB_STATUS_FINISHED = 7; + DATA_OPS_JOB_DB_STATUS_FAILED = 8; + DATA_OPS_JOB_DB_STATUS_CANCELED = 9; +} + +// Copied from: local:aiserver.v1.DataOpsJobRecord (var: Dqd) +message DataOpsJobRecord { + string id = 1; + DataOpsJobDbStatus status = 2; + string training_set = 3; + string dataset_name = 4; + string input_s3_uri = 5; + optional google.protobuf.Struct params_snapshot = 6; + string everysphere_branch = 7; + optional string everysphere_commit = 8; + optional string buildkite_build_id = 9; + optional int32 buildkite_build_number = 10; + optional string buildkite_build_url = 11; + optional string finalized_train_s3_uri = 12; + optional string finalized_eval_s3_uri = 13; + optional string manifest_s3_uri = 14; + optional string stats_s3_uri = 15; + optional string config_block_s3_uri = 16; + optional string error_message = 17; + optional string created_by = 18; + google.protobuf.Timestamp created_at = 19; + optional google.protobuf.Timestamp started_at = 20; + optional google.protobuf.Timestamp finished_at = 21; + repeated string tags = 22; + optional string folder = 23; + repeated DataOpsJobStepRecord steps = 24; +} + +// Copied from: local:aiserver.v1.DataOpsJobStepRecord (var: Zpv) +message DataOpsJobStepRecord { + string id = 1; + DataOpsPhase phase = 2; + DataOpsStepDbStatus status = 3; + optional string ray_job_name = 4; + optional string ray_job_namespace = 5; + optional google.protobuf.Timestamp started_at = 6; + optional google.protobuf.Timestamp finished_at = 7; +} + +// Copied from: local:aiserver.v1.DataOpsPhase (var: xqd) +enum DataOpsPhase { + DATA_OPS_PHASE_UNSPECIFIED = 0; + DATA_OPS_PHASE_FINALIZE = 1; + DATA_OPS_PHASE_SYNC_INDEX = 2; + DATA_OPS_PHASE_ROLLOUT = 3; + DATA_OPS_PHASE_STATS = 4; +} + +// Copied from: local:aiserver.v1.DataOpsStepDbStatus (var: Tqd) +enum DataOpsStepDbStatus { + DATA_OPS_STEP_DB_STATUS_UNSPECIFIED = 0; + DATA_OPS_STEP_DB_STATUS_PENDING = 1; + DATA_OPS_STEP_DB_STATUS_RUNNING = 2; + DATA_OPS_STEP_DB_STATUS_FINISHED = 3; + DATA_OPS_STEP_DB_STATUS_FAILED = 4; + DATA_OPS_STEP_DB_STATUS_SKIPPED = 5; + DATA_OPS_STEP_DB_STATUS_CANCELED = 6; +} + +// Copied from: local:aiserver.v1.DataRetentionPolicy (var: Zvu) +message DataRetentionPolicy { + // Copied from: local:aiserver.v1.DataRetentionPolicy.Indefinite (var: Xvu) + message Indefinite { + } + + // Copied from: local:aiserver.v1.DataRetentionPolicy.Limited (var: Jvu) + message Limited { + uint32 hours = 1; + } + + oneof kind { + Indefinite indefinite = 1; + Limited limited = 2; + } +} + +// Copied from: local:aiserver.v1.DatabaseProvider (var: aIl) +enum DatabaseProvider { + DATABASE_PROVIDER_UNSPECIFIED = 0; + DATABASE_PROVIDER_AURORA = 1; + DATABASE_PROVIDER_PLANETSCALE = 2; +} + +// Copied from: local:aiserver.v1.DataframeInfo (var: Ici) +message DataframeInfo { + // Copied from: local:aiserver.v1.DataframeInfo.Column (var: p$r) + message Column { + string key = 1; + string type = 2; + } + + string name = 1; + string shape = 2; + int32 data_dimensionality = 3; + repeated Column columns = 6; + int32 row_count = 7; + string index_column = 8; +} + +// Copied from: local:aiserver.v1.DatagenRLPipelineRunDbStatus (var: Aqd) +enum DatagenRLPipelineRunDbStatus { + DATAGEN_RL_PIPELINE_RUN_DB_STATUS_UNSPECIFIED = 0; + DATAGEN_RL_PIPELINE_RUN_DB_STATUS_PENDING = 1; + DATAGEN_RL_PIPELINE_RUN_DB_STATUS_BUILDING = 2; + DATAGEN_RL_PIPELINE_RUN_DB_STATUS_SUBMITTED = 3; + DATAGEN_RL_PIPELINE_RUN_DB_STATUS_RUNNING = 4; + DATAGEN_RL_PIPELINE_RUN_DB_STATUS_FINISHED = 5; + DATAGEN_RL_PIPELINE_RUN_DB_STATUS_FAILED = 6; + DATAGEN_RL_PIPELINE_RUN_DB_STATUS_CANCELED = 7; +} + +// Copied from: local:aiserver.v1.DatagenRLPipelineRunHeartbeatRequest (var: umv) +message DatagenRLPipelineRunHeartbeatRequest { + string run_id = 1; +} + +// Copied from: local:aiserver.v1.DatagenRLPipelineRunHeartbeatResponse (var: dmv) +message DatagenRLPipelineRunHeartbeatResponse { + bool ok = 1; + bool kill_requested = 2; +} + +// Copied from: local:aiserver.v1.DatagenRLPipelineStageDbStatus (var: jhv) +enum DatagenRLPipelineStageDbStatus { + DATAGEN_RL_PIPELINE_STAGE_DB_STATUS_UNSPECIFIED = 0; + DATAGEN_RL_PIPELINE_STAGE_DB_STATUS_PENDING = 1; + DATAGEN_RL_PIPELINE_STAGE_DB_STATUS_RUNNING = 2; + DATAGEN_RL_PIPELINE_STAGE_DB_STATUS_FINISHED = 3; + DATAGEN_RL_PIPELINE_STAGE_DB_STATUS_FAILED = 4; + DATAGEN_RL_PIPELINE_STAGE_DB_STATUS_SKIPPED = 5; + DATAGEN_RL_PIPELINE_STAGE_DB_STATUS_CANCELED = 6; +} + +// Copied from: local:aiserver.v1.DebugInfo (var: gql) +message DebugInfo { + // Copied from: local:aiserver.v1.DebugInfo.Breakpoint (var: _ql) + message Breakpoint { + string relative_workspace_path = 1; + int32 line_number = 2; + repeated string lines_before_breakpoint = 3; + repeated string lines_after_breakpoint = 4; + optional string exception_info = 5; + } + + // Copied from: local:aiserver.v1.DebugInfo.CallStackFrame (var: bql) + message CallStackFrame { + string relative_workspace_path = 1; + int32 line_number = 2; + string function_name = 3; + repeated DebugInfo.Scope scopes = 4; + } + + // Copied from: local:aiserver.v1.DebugInfo.Scope (var: vql) + message Scope { + string name = 1; + repeated DebugInfo.Variable variables = 2; + } + + // Copied from: local:aiserver.v1.DebugInfo.Variable (var: fql) + message Variable { + string name = 1; + string value = 2; + optional string type = 3; + } + + Breakpoint breakpoint = 1; + repeated CallStackFrame call_stack = 2; + repeated CodeBlock history = 3; +} + +// Copied from: agent.v1.DebugModeConfig (var: hTi) +message DebugModeConfig { + string log_path = 1; + string server_endpoint = 2; + string session_id = 3; +} + +// Copied from: local:aiserver.v1.DeepSearchParams (var: q_n) +message DeepSearchParams { + string query = 1; +} + +// Copied from: local:aiserver.v1.DeepSearchResult (var: K0i) +message DeepSearchResult { + bool success = 1; + string result = 2; +} + +// Copied from: local:aiserver.v1.DeepSearchStream (var: r_s) +message DeepSearchStream { +} + +// Copied from: local:aiserver.v1.DeepSearchSubagentParams (var: kTs) +message DeepSearchSubagentParams { + string query = 1; +} + +// Copied from: local:aiserver.v1.DeepSearchSubagentReturnValue (var: CTs) +message DeepSearchSubagentReturnValue { + // Copied from: local:aiserver.v1.DeepSearchSubagentReturnValue.ContextItem (var: ETs) + message ContextItem { + string file = 1; + optional LineRange line_range = 2; + string explanation = 3; + } + + repeated ContextItem context_items = 1; +} + +// Copied from: local:aiserver.v1.DeeplinkControls (var: V2s) +message DeeplinkControls { + bool enabled = 1; + bool allow_public_deeplinks = 2; +} + +// Copied from: local:aiserver.v1.DeeplinkMetadata (var: chv) +message DeeplinkMetadata { + string id = 1; + DeeplinkType type = 2; + bool is_public = 3; + string created_by = 4; + int64 created_at = 5; +} + +// Copied from: local:aiserver.v1.DeeplinkType (var: ipo) +enum DeeplinkType { + DEEPLINK_TYPE_UNSPECIFIED = 0; + DEEPLINK_TYPE_PROMPT = 1; + DEEPLINK_TYPE_SLASH_COMMAND = 2; +} + +// Copied from: local:aiserver.v1.DeleteAccountRequest (var: Olu) +message DeleteAccountRequest { +} + +// Copied from: local:aiserver.v1.DeleteAccountResponse (var: Flu) +message DeleteAccountResponse { +} + +// Copied from: local:aiserver.v1.DeleteAgentStoreFilesRequest (var: QBu) +message DeleteAgentStoreFilesRequest { + optional string store_id = 1; + repeated AgentStoreDeleteFileEntry files = 2; +} + +// Copied from: local:aiserver.v1.DeleteAgentStoreFilesResponse (var: YBu) +message DeleteAgentStoreFilesResponse { + repeated AgentStoreDeleteFileResult results = 1; +} + +// Copied from: agent.v1.DeleteArgs (var: JFt) +message DeleteArgs { + string path = 1; + string tool_call_id = 2; +} + +// Copied from: local:aiserver.v1.DeleteAutomationMemoryRequest (var: _Hu) +message DeleteAutomationMemoryRequest { + string automation_id = 1; + string file = 2; + oneof expected { + string expected_version = 3; + bool expect_missing = 4; + } +} + +// Copied from: local:aiserver.v1.DeleteAutomationMemoryResponse (var: yHu) +message DeleteAutomationMemoryResponse { + string file = 1; + bool conflict = 2; + string content = 3; + optional string version = 4; + repeated string files = 5; +} + +// Copied from: local:aiserver.v1.DeleteAutomationRequest (var: f9s) +message DeleteAutomationRequest { + string automation_id = 2; +} + +// Copied from: local:aiserver.v1.DeleteAutomationResponse (var: v9s) +message DeleteAutomationResponse { +} + +// Copied from: local:aiserver.v1.DeleteBackgroundComposerRequest (var: qMu) +message DeleteBackgroundComposerRequest { + string bc_id = 1; +} + +// Copied from: local:aiserver.v1.DeleteBackgroundComposerResponse (var: KMu) +message DeleteBackgroundComposerResponse { +} + +// Copied from: local:aiserver.v1.DeleteBedrockIamRoleRequest (var: iyu) +message DeleteBedrockIamRoleRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.DeleteBedrockIamRoleResponse (var: ryu) +message DeleteBedrockIamRoleResponse { + bool success = 1; + string error_message = 2; +} + +// Copied from: local:aiserver.v1.DeleteBitbucketServerInstanceRequest (var: Clu) +message DeleteBitbucketServerInstanceRequest { + string uuid = 1; +} + +// Copied from: local:aiserver.v1.DeleteBitbucketServerInstanceResponse (var: Elu) +message DeleteBitbucketServerInstanceResponse { +} + +// Copied from: local:aiserver.v1.DeleteBugbotLearnedRuleRequest (var: WEu) +message DeleteBugbotLearnedRuleRequest { + string rule_id = 1; + int64 installation_id = 2; + optional string ghe_application = 3; +} + +// Copied from: local:aiserver.v1.DeleteBugbotLearnedRuleResponse (var: HEu) +message DeleteBugbotLearnedRuleResponse { +} + +// Copied from: local:aiserver.v1.DeleteBugbotManualRepositoryRuleRequest (var: YEu) +message DeleteBugbotManualRepositoryRuleRequest { + string rule_id = 1; + int64 installation_id = 2; + optional string ghe_application = 3; +} + +// Copied from: local:aiserver.v1.DeleteBugbotManualRepositoryRuleResponse (var: ZEu) +message DeleteBugbotManualRepositoryRuleResponse { +} + +// Copied from: local:aiserver.v1.DeleteBugbotTeamRuleRequest (var: OEu) +message DeleteBugbotTeamRuleRequest { + string rule_id = 1; + optional int32 team_id = 2; +} + +// Copied from: local:aiserver.v1.DeleteBugbotTeamRuleResponse (var: FEu) +message DeleteBugbotTeamRuleResponse { +} + +// Copied from: agent.v1.DeleteError (var: tSn) +message DeleteError { + string path = 1; + string error = 2; +} + +// Copied from: local:aiserver.v1.DeleteEvalCronJobByNameRequest (var: Dpv) +message DeleteEvalCronJobByNameRequest { + string name = 1; +} + +// Copied from: local:aiserver.v1.DeleteEvalCronJobByNameResponse (var: Mpv) +message DeleteEvalCronJobByNameResponse { +} + +// Copied from: agent.v1.DeleteFileBusy (var: vOl) +message DeleteFileBusy { + string path = 1; +} + +// Copied from: agent.v1.DeleteFileNotFound (var: d0s) +message DeleteFileNotFound { + string path = 1; +} + +// Copied from: local:aiserver.v1.DeleteFileParams (var: tGe) +message DeleteFileParams { + string relative_workspace_path = 1; +} + +// Copied from: local:aiserver.v1.DeleteFileResult (var: nGe) +message DeleteFileResult { + bool rejected = 1; + bool file_non_existent = 2; + bool file_deleted_successfully = 3; +} + +// Copied from: local:aiserver.v1.DeleteFileStream (var: Bvs) +message DeleteFileStream { + string relative_workspace_path = 1; +} + +// Copied from: local:aiserver.v1.DeleteFullSelfDrivingAutoApplyConfigRequest (var: psu) +message DeleteFullSelfDrivingAutoApplyConfigRequest { + string match_kind = 1; + string match_key = 2; + string scope = 3; + string repo_owner = 4; + string repo_name = 5; + optional string producer = 6; +} + +// Copied from: local:aiserver.v1.DeleteFullSelfDrivingAutoApplyConfigResponse (var: msu) +message DeleteFullSelfDrivingAutoApplyConfigResponse { + bool deleted = 1; +} + +// Copied from: local:aiserver.v1.DeleteGitGraphRequest (var: Umv) +message DeleteGitGraphRequest { + string workspace_id = 1; +} + +// Copied from: local:aiserver.v1.DeleteGitGraphResponse (var: $mv) +message DeleteGitGraphResponse { +} + +// Copied from: local:aiserver.v1.DeleteGithubEnterpriseAppRequest (var: ilu) +message DeleteGithubEnterpriseAppRequest { + string uuid = 1; +} + +// Copied from: local:aiserver.v1.DeleteGithubEnterpriseAppResponse (var: rlu) +message DeleteGithubEnterpriseAppResponse { +} + +// Copied from: local:aiserver.v1.DeleteGitlabEnterpriseInstanceRequest (var: plu) +message DeleteGitlabEnterpriseInstanceRequest { + string uuid = 1; + optional int32 team_id = 2; +} + +// Copied from: local:aiserver.v1.DeleteGitlabEnterpriseInstanceResponse (var: mlu) +message DeleteGitlabEnterpriseInstanceResponse { +} + +// Copied from: local:aiserver.v1.DeleteGroupRequest (var: m0u) +message DeleteGroupRequest { + int32 group_id = 1; + int32 team_id = 2; + optional GroupType type = 3; +} + +// Copied from: local:aiserver.v1.DeleteGroupResponse (var: g0u) +message DeleteGroupResponse { +} + +// Copied from: local:aiserver.v1.DeleteJiraRoutingRuleRequest (var: NIu) +message DeleteJiraRoutingRuleRequest { + int32 team_id = 1; + int64 rule_id = 2; +} + +// Copied from: local:aiserver.v1.DeleteJiraRoutingRuleResponse (var: OIu) +message DeleteJiraRoutingRuleResponse { +} + +// Copied from: local:aiserver.v1.DeleteKeyringRequest (var: p3u) +message DeleteKeyringRequest { + string public_id = 1; +} + +// Copied from: local:aiserver.v1.DeleteKeyringResponse (var: m3u) +message DeleteKeyringResponse { +} + +// Copied from: local:aiserver.v1.DeleteLiveActivityRequest (var: ROu) +message DeleteLiveActivityRequest { + string device_id = 1; + PushPlatform platform = 2; +} + +// Copied from: local:aiserver.v1.DeleteLiveActivityResponse (var: DOu) +message DeleteLiveActivityResponse { +} + +// Copied from: local:aiserver.v1.DeleteManualEnterpriseContractRequest (var: Shv) +message DeleteManualEnterpriseContractRequest { + int32 id = 1; + int32 team_id = 2; + optional int64 organization_id = 3; + optional google.protobuf.Struct changed_by = 4; +} + +// Copied from: local:aiserver.v1.DeleteManualEnterpriseContractResponse (var: whv) +message DeleteManualEnterpriseContractResponse { + EnterpriseContract contract = 1; +} + +// Copied from: local:aiserver.v1.DeleteMcpOAuthAccountRequest (var: Vpu) +message DeleteMcpOAuthAccountRequest { + int32 server_id = 1; + string account_key = 2; +} + +// Copied from: local:aiserver.v1.DeleteMcpOAuthAccountResponse (var: Gpu) +message DeleteMcpOAuthAccountResponse { +} + +// Copied from: local:aiserver.v1.DeleteMcpOAuthTokenRequest (var: Rpu) +message DeleteMcpOAuthTokenRequest { + string server_url = 1; + optional string service_account_id = 2; + optional string source = 3; + string account_key = 4; +} + +// Copied from: local:aiserver.v1.DeleteMcpOAuthTokenResponse (var: Dpu) +message DeleteMcpOAuthTokenResponse { +} + +// Copied from: agent.v1.DeleteNotFile (var: gOl) +message DeleteNotFile { + string path = 1; + string actual_type = 2; +} + +// Copied from: local:aiserver.v1.DeleteOrganizationGroupRequest (var: Juu) +message DeleteOrganizationGroupRequest { + string organization_id = 1; + int64 group_id = 2; +} + +// Copied from: local:aiserver.v1.DeleteOrganizationGroupResponse (var: edu) +message DeleteOrganizationGroupResponse { +} + +// Copied from: local:aiserver.v1.DeletePendingFollowupRequest (var: PFs) +message DeletePendingFollowupRequest { + string bc_id = 1; + string followup_id = 2; +} + +// Copied from: local:aiserver.v1.DeletePendingFollowupResponse (var: pLu) +message DeletePendingFollowupResponse { + bool success = 1; + string error_message = 2; +} + +// Copied from: agent.v1.DeletePermissionDenied (var: fOl) +message DeletePermissionDenied { + string path = 1; + string client_visible_error = 2; + bool is_readonly = 3; +} + +// Copied from: local:aiserver.v1.DeletePersonalEnvironmentJsonRequest (var: s2u) +message DeletePersonalEnvironmentJsonRequest { + int64 id = 1; + optional string environment_public_id = 2; +} + +// Copied from: local:aiserver.v1.DeletePersonalEnvironmentJsonResponse (var: o2u) +message DeletePersonalEnvironmentJsonResponse { +} + +// Copied from: local:aiserver.v1.DeleteProtectedGitScopeRequest (var: Wvu) +message DeleteProtectedGitScopeRequest { + int32 team_id = 1; + int64 scope_id = 2; +} + +// Copied from: local:aiserver.v1.DeleteProtectedGitScopeResponse (var: Hvu) +message DeleteProtectedGitScopeResponse { +} + +// Copied from: local:aiserver.v1.DeletePullRequestReviewCommentRequest (var: sBs) +message DeletePullRequestReviewCommentRequest { + string pr_url = 1; + string comment_id = 2; + optional string comment_kind = 3; +} + +// Copied from: local:aiserver.v1.DeletePullRequestReviewCommentResponse (var: gOu) +message DeletePullRequestReviewCommentResponse { + bool success = 1; +} + +// Copied from: local:aiserver.v1.DeletePushNotificationTokenRequest (var: COu) +message DeletePushNotificationTokenRequest { + string device_id = 1; + PushPlatform platform = 2; +} + +// Copied from: local:aiserver.v1.DeletePushNotificationTokenResponse (var: EOu) +message DeletePushNotificationTokenResponse { +} + +// Copied from: agent.v1.DeleteRejected (var: h0s) +message DeleteRejected { + string path = 1; + string reason = 2; +} + +// Copied from: local:aiserver.v1.DeleteRelayScheduleRequest (var: Rvv) +message DeleteRelayScheduleRequest { + string schedule_id = 1; +} + +// Copied from: local:aiserver.v1.DeleteRelayScheduleResponse (var: Dvv) +message DeleteRelayScheduleResponse { + bool deleted = 1; +} + +// Copied from: agent.v1.DeleteResult (var: UFe) +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:aiserver.v1.DeleteScimDirectoryRequest (var: U0u) +message DeleteScimDirectoryRequest { + string organization_id = 1; + int64 scim_directory_id = 2; +} + +// Copied from: local:aiserver.v1.DeleteScimDirectoryResponse (var: $0u) +message DeleteScimDirectoryResponse { +} + +// Copied from: local:aiserver.v1.DeleteScimTargetMappingRequest (var: Q0u) +message DeleteScimTargetMappingRequest { + string organization_id = 1; + int64 scim_target_mapping_id = 2; +} + +// Copied from: local:aiserver.v1.DeleteScimTargetMappingResponse (var: Y0u) +message DeleteScimTargetMappingResponse { +} + +// Copied from: local:aiserver.v1.DeleteSharedCanvasRequest (var: ZNs) +message DeleteSharedCanvasRequest { + string share_id = 1; +} + +// Copied from: local:aiserver.v1.DeleteSharedCanvasResponse (var: mxu) +message DeleteSharedCanvasResponse { +} + +// Copied from: local:aiserver.v1.DeleteSharedConversationRequest (var: nOs) +message DeleteSharedConversationRequest { + string share_id = 1; +} + +// Copied from: local:aiserver.v1.DeleteSharedConversationResponse (var: _xu) +message DeleteSharedConversationResponse { + bool success = 1; +} + +// Copied from: local:aiserver.v1.DeleteSlackDefaultWorkerRuleRequest (var: UCu) +message DeleteSlackDefaultWorkerRuleRequest { + string repo = 1; +} + +// Copied from: local:aiserver.v1.DeleteSlackDefaultWorkerRuleResponse (var: $Cu) +message DeleteSlackDefaultWorkerRuleResponse { +} + +// Copied from: local:aiserver.v1.DeleteSlackRepoRoutingRuleRequest (var: DCu) +message DeleteSlackRepoRoutingRuleRequest { + int32 team_id = 1; + string rule_id = 2; +} + +// Copied from: local:aiserver.v1.DeleteSlackRepoRoutingRuleResponse (var: MCu) +message DeleteSlackRepoRoutingRuleResponse { +} + +// Copied from: agent.v1.DeleteSuccess (var: u0s) +message DeleteSuccess { + string path = 1; + string deleted_file = 2; + int64 file_size = 3; + string prev_content = 4; +} + +// Copied from: local:aiserver.v1.DeleteTeamCommandRequest (var: wEu) +message DeleteTeamCommandRequest { + string command_id = 1; + optional int32 team_id = 2; +} + +// Copied from: local:aiserver.v1.DeleteTeamCommandResponse (var: kEu) +message DeleteTeamCommandResponse { +} + +// Copied from: local:aiserver.v1.DeleteTeamCustomerTelemetryDestinationRequest (var: S1u) +message DeleteTeamCustomerTelemetryDestinationRequest { + int32 team_id = 1; + string destination_id = 2; +} + +// Copied from: local:aiserver.v1.DeleteTeamCustomerTelemetryDestinationResponse (var: w1u) +message DeleteTeamCustomerTelemetryDestinationResponse { +} + +// Copied from: local:aiserver.v1.DeleteTeamEnvironmentRequest (var: J2u) +message DeleteTeamEnvironmentRequest { + int64 id = 1; + optional string environment_public_id = 2; +} + +// Copied from: local:aiserver.v1.DeleteTeamEnvironmentResponse (var: eNu) +message DeleteTeamEnvironmentResponse { +} + +// Copied from: local:aiserver.v1.DeleteTeamGroupRequest (var: Pdu) +message DeleteTeamGroupRequest { + int32 team_id = 1; + int64 group_id = 2; +} + +// Copied from: local:aiserver.v1.DeleteTeamGroupResponse (var: Ldu) +message DeleteTeamGroupResponse { +} + +// Copied from: local:aiserver.v1.DeleteTeamGroupScimTargetMappingRequest (var: Shu) +message DeleteTeamGroupScimTargetMappingRequest { + int32 team_id = 1; + int64 group_id = 2; + int64 scim_target_mapping_id = 3; +} + +// Copied from: local:aiserver.v1.DeleteTeamGroupScimTargetMappingResponse (var: whu) +message DeleteTeamGroupScimTargetMappingResponse { +} + +// Copied from: local:aiserver.v1.DeleteTeamHookRequest (var: gEu) +message DeleteTeamHookRequest { + string hook_id = 1; + optional int32 team_id = 2; +} + +// Copied from: local:aiserver.v1.DeleteTeamHookResponse (var: fEu) +message DeleteTeamHookResponse { +} + +// Copied from: local:aiserver.v1.DeleteTeamRepoRequest (var: Mvu) +message DeleteTeamRepoRequest { + int32 team_id = 1; + int32 repo_id = 2; +} + +// Copied from: local:aiserver.v1.DeleteTeamRepoResponse (var: Pvu) +message DeleteTeamRepoResponse { +} + +// Copied from: local:aiserver.v1.DeleteTeamRuleRequest (var: aEu) +message DeleteTeamRuleRequest { + string rule_id = 1; + optional int32 team_id = 2; +} + +// Copied from: local:aiserver.v1.DeleteTeamRuleResponse (var: cEu) +message DeleteTeamRuleResponse { +} + +// Copied from: local:aiserver.v1.DeleteTeamSandSetupManifestRequest (var: Wqd) +message DeleteTeamSandSetupManifestRequest { + string manifest_id = 1; + string expected_etag = 2; +} + +// Copied from: local:aiserver.v1.DeleteTeamSandSetupManifestResponse (var: Hqd) +message DeleteTeamSandSetupManifestResponse { +} + +// Copied from: local:aiserver.v1.DeleteTeamServiceAccountRequest (var: efu) +message DeleteTeamServiceAccountRequest { + int32 team_id = 1; + string service_account_id = 2; +} + +// Copied from: local:aiserver.v1.DeleteTeamServiceAccountResponse (var: tfu) +message DeleteTeamServiceAccountResponse { +} + +// Copied from: local:aiserver.v1.DeleteTestParams (var: Obs) +message DeleteTestParams { + string relative_workspace_path = 1; + optional string test_name = 2; +} + +// Copied from: local:aiserver.v1.DeleteTestResult (var: Fbs) +message DeleteTestResult { +} + +// Copied from: local:aiserver.v1.DeleteUsageAlertsRequest (var: iTu) +message DeleteUsageAlertsRequest { + int32 team_id = 1; + repeated string alert_ids = 2; +} + +// Copied from: local:aiserver.v1.DeleteUsageAlertsResponse (var: rTu) +message DeleteUsageAlertsResponse { + int32 deleted_count = 1; +} + +// Copied from: local:aiserver.v1.DeploymentDemand (var: abv) +message DeploymentDemand { + string provider = 1; + string deployment = 2; + repeated WorkloadDemand workloads = 3; + string model = 4; + string canonical_model = 5; +} + +// Copied from: local:aiserver.v1.DeploymentInfo (var: rbv) +message DeploymentInfo { + string endpoint = 1; + string url_path = 2; + string protocol = 3; + string api_key_env_var = 4; + string api_model_name = 5; + string auth_header = 6; + string auth_prefix = 7; + bool safe_tokenization = 8; + bool raw_slop_wire_format = 9; +} + +// Copied from: local:aiserver.v1.DeregisterPrivateWorkerPoolRequest (var: FFu) +message DeregisterPrivateWorkerPoolRequest { + PrivateWorkerPoolScope scope = 1; + string pool_name = 2; + optional string repo_owner = 3; + optional string repo_name = 4; +} + +// Copied from: local:aiserver.v1.DeregisterPrivateWorkerPoolResponse (var: BFu) +message DeregisterPrivateWorkerPoolResponse { + bool deregistered = 1; +} + +// Copied from: local:aiserver.v1.DetachGroupFromDirectoryRequest (var: A0u) +message DetachGroupFromDirectoryRequest { + int32 group_id = 1; + int32 team_id = 2; + optional GroupType type = 3; +} + +// Copied from: local:aiserver.v1.DetachGroupFromDirectoryResponse (var: I0u) +message DetachGroupFromDirectoryResponse { + Group group = 1; +} + +// Copied from: local:aiserver.v1.DetailedBackgroundComposer (var: pmt) +message DetailedBackgroundComposer { + BackgroundComposer composer = 1; + string starting_commit = 2; + string base_branch = 3; + HeadlessAgenticComposerPrompt prompt = 4; + BackgroundComposerStatus status = 5; + GitDiff diff_since_start = 6; + ErrorDetails start_error = 7; + ModelDetails model_details = 8; + bool unread = 9; + optional string summary = 10; + repeated EnvironmentPort environment_ports = 11; + optional bool auto_create_pr = 12; + optional bool open_as_cursor_github_app = 13; + optional bool skip_reviewer_request = 14; + optional string local_state_branch = 15; + optional ErrorDetails permanent_error = 16; + repeated VideoAnnotationEntry video_annotations = 18; + optional bool auto_branch = 19; + repeated BackgroundComposerPr prs = 20; + repeated VmProvisionedSkill vm_provisioned_skills = 21; + optional ConversationAction original_conversation_action = 22; + optional EnvironmentRepoConfig repo_config = 23; + optional string environment_name = 24; + optional bool use_private_worker = 25; + repeated PrivateWorkerLabel labels = 26; + optional EnvironmentVersionSummary used_environment_version = 27; + optional RequestedModel requested_model = 28; + optional CloudSubagentParentReference cloud_subagent_parent = 29; + repeated CloudAgentStartupWarning startup_warnings = 30; + optional UsedEnvironmentBuildInfo used_environment_build = 31; + optional bool use_experimental_model_opt_out = 34; +} + +// Copied from: local:aiserver.v1.DetailedLine (var: xci) +message DetailedLine { + string text = 1; + float line_number = 2; + bool is_signature = 3; +} + +// Copied from: local:aiserver.v1.DevEnvironment (var: K5s) +message DevEnvironment { + bool has_alternative_cli = 1; + bool has_cursor_agent_cli = 2; +} + +// Copied from: local:aiserver.v1.DevOnlyGetPastRequestIdsRequest (var: FHl) +message DevOnlyGetPastRequestIdsRequest { + optional int32 count = 1; + optional int32 page = 2; +} + +// Copied from: local:aiserver.v1.DevOnlyGetPastRequestIdsResponse (var: UHl) +message DevOnlyGetPastRequestIdsResponse { + repeated DevOnlyPastRequest past_requests = 1; + int32 total_count = 10; + bool has_more = 11; +} + +// Copied from: local:aiserver.v1.DevOnlyPastRequest (var: BHl) +message DevOnlyPastRequest { + string request_id = 1; + string date_time = 2; + string model_name = 3; + string feature_name = 4; + string s3_uri = 5; + string status = 6; + int32 num_prompt_tokens = 7; + int32 num_completion_tokens = 8; + string api_call_method = 9; +} + +// Copied from: local:aiserver.v1.DevcontainerStartingPoint (var: xAe) +message DevcontainerStartingPoint { + string url = 1; + string ref = 2; + repeated string user_extensions = 4; + string cursor_server_commit = 5; + string environment_json_override = 6; + GitDiff git_diff_to_apply = 8; + bool dont_allow_reading_environment_json_from_database = 9; + bool skip_build_caches = 10; + optional EnvironmentRepoConfig repo_config = 11; + optional string environment_name = 12; + optional int64 environment_id = 13; + optional string environment_public_id = 15; + repeated RepoStartingRef starting_refs = 14; +} + +// Copied from: local:aiserver.v1.Diagnostic (var: u$r) +message Diagnostic { + // Copied from: local:aiserver.v1.Diagnostic.DiagnosticSeverity (var: yNe) + 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:aiserver.v1.Diagnostic.RelatedInformation (var: Aci) + message RelatedInformation { + string message = 1; + CursorRange range = 2; + } + + string message = 1; + CursorRange range = 2; + DiagnosticSeverity severity = 3; + repeated RelatedInformation related_information = 4; +} + +// Copied from: agent.v1.DiagnosticsArgs (var: aSn) +message DiagnosticsArgs { + string path = 1; + string tool_call_id = 2; +} + +// Copied from: agent.v1.DiagnosticsError (var: E0s) +message DiagnosticsError { + string path = 1; + string error = 2; +} + +// Copied from: agent.v1.DiagnosticsFileNotFound (var: Lxi) +message DiagnosticsFileNotFound { + string path = 1; +} + +// Copied from: agent.v1.DiagnosticsPermissionDenied (var: jOl) +message DiagnosticsPermissionDenied { + string path = 1; +} + +// Copied from: agent.v1.DiagnosticsRejected (var: $Ol) +message DiagnosticsRejected { + string path = 1; + string reason = 2; +} + +// Copied from: agent.v1.DiagnosticsResult (var: jFe) +message DiagnosticsResult { + oneof result { + DiagnosticsSuccess success = 1; + DiagnosticsError error = 2; + DiagnosticsRejected rejected = 3; + DiagnosticsFileNotFound file_not_found = 4; + DiagnosticsPermissionDenied permission_denied = 5; + } +} + +// Copied from: agent.v1.DiagnosticsSuccess (var: Mxi) +message DiagnosticsSuccess { + string path = 1; + repeated Diagnostic diagnostics = 2; + int32 total_diagnostics = 3; +} + +// Copied from: local:aiserver.v1.DiamondToBugbotMigrationMode (var: Ocu) +enum DiamondToBugbotMigrationMode { + DIAMOND_TO_BUGBOT_MIGRATION_MODE_UNSPECIFIED = 0; + DIAMOND_TO_BUGBOT_MIGRATION_MODE_DRY_RUN = 1; + DIAMOND_TO_BUGBOT_MIGRATION_MODE_APPLY = 2; +} + +// Copied from: local:aiserver.v1.DiffFile (var: USn) +message DiffFile { + string file_details = 1; + string file_name = 2; +} + +// Copied from: local:aiserver.v1.DiffHistoryData (var: pTs) +message DiffHistoryData { + string relative_workspace_path = 1; + repeated ComposerFileDiff diffs = 2; + double timestamp = 3; + string unique_id = 4; + ComposerFileDiff start_to_end_diff = 5; +} + +// Copied from: local:aiserver.v1.DirectoryGroup (var: JCu) +message DirectoryGroup { + string name = 1; + int32 id = 2; + int32 member_count = 3; + int32 hard_limit_per_user_dollars = 4; + AutoRunControls auto_run_controls = 5; + string external_id = 6; + int32 per_user_monthly_limit_dollars = 7; + AllowedMCPConfiguration allowed_mcp_configuration = 8; +} + +// Copied from: local:aiserver.v1.DisableAutomationForTeamShutdownRequest (var: rzu) +message DisableAutomationForTeamShutdownRequest { + int32 team_id = 1; + string automation_id = 2; +} + +// Copied from: local:aiserver.v1.DisableAutomationForTeamShutdownResponse (var: szu) +message DisableAutomationForTeamShutdownResponse { +} + +// Copied from: local:aiserver.v1.DisablePullRequestAutoMergeRequest (var: aBs) +message DisablePullRequestAutoMergeRequest { + string pr_url = 1; +} + +// Copied from: local:aiserver.v1.DisablePullRequestAutoMergeResponse (var: yOu) +message DisablePullRequestAutoMergeResponse { + bool success = 1; + string error = 2; + optional string pr_node_id = 3; +} + +// Copied from: local:aiserver.v1.DisconnectBitbucketForgeRequest (var: yIu) +message DisconnectBitbucketForgeRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.DisconnectBitbucketForgeResponse (var: SIu) +message DisconnectBitbucketForgeResponse { +} + +// Copied from: local:aiserver.v1.DisconnectContactImportConnectionRequest (var: Igu) +message DisconnectContactImportConnectionRequest { + int64 connection_id = 1; +} + +// Copied from: local:aiserver.v1.DisconnectContactImportConnectionResponse (var: Rgu) +message DisconnectContactImportConnectionResponse { + bool success = 1; +} + +// Copied from: local:aiserver.v1.DisconnectGithubRequest (var: Mlu) +message DisconnectGithubRequest { + optional string ghe_application = 2; +} + +// Copied from: local:aiserver.v1.DisconnectGithubResponse (var: Plu) +message DisconnectGithubResponse { + int32 removed_connections_count = 1; +} + +// Copied from: local:aiserver.v1.DisconnectJiraRequest (var: bIu) +message DisconnectJiraRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.DisconnectJiraResponse (var: _Iu) +message DisconnectJiraResponse { +} + +// Copied from: local:aiserver.v1.DisconnectLinearRequest (var: Rku) +message DisconnectLinearRequest { +} + +// Copied from: local:aiserver.v1.DisconnectLinearResponse (var: Dku) +message DisconnectLinearResponse { +} + +// Copied from: local:aiserver.v1.DisconnectPagerDutyRequest (var: _Cu) +message DisconnectPagerDutyRequest { +} + +// Copied from: local:aiserver.v1.DisconnectPagerDutyResponse (var: yCu) +message DisconnectPagerDutyResponse { + bool success = 1; +} + +// Copied from: local:aiserver.v1.DisconnectSentryRequest (var: gzu) +message DisconnectSentryRequest { +} + +// Copied from: local:aiserver.v1.DisconnectSentryResponse (var: fzu) +message DisconnectSentryResponse { + bool success = 1; +} + +// Copied from: local:aiserver.v1.DismissFullSelfDrivingOutputRequest (var: Fru) +message DismissFullSelfDrivingOutputRequest { + string pr_url = 1; + string bc_id = 2; + string stable_key = 3; + optional string reason = 4; +} + +// Copied from: local:aiserver.v1.DismissFullSelfDrivingOutputResponse (var: Bru) +message DismissFullSelfDrivingOutputResponse { + FullSelfDrivingFinding finding = 1; +} + +// Copied from: local:aiserver.v1.DismissOnboardingChecklistItemRequest (var: Hfv) +message DismissOnboardingChecklistItemRequest { + string item_id = 1; +} + +// Copied from: local:aiserver.v1.DismissOnboardingChecklistItemResponse (var: zfv) +message DismissOnboardingChecklistItemResponse { +} + +// Copied from: local:aiserver.v1.DismissRecommendedActionRequest (var: Xfv) +message DismissRecommendedActionRequest { + string action_id = 1; + RecommendedActionOwnerScope owner_scope = 2; +} + +// Copied from: local:aiserver.v1.DismissRecommendedActionResponse (var: Jfv) +message DismissRecommendedActionResponse { +} + +// Copied from: local:aiserver.v1.DisplayMode (var: H5s) +enum DisplayMode { + DISPLAY_MODE_UNSPECIFIED = 0; + DISPLAY_MODE_TOAST = 1; + DISPLAY_MODE_MODAL = 2; +} + +// Copied from: local:aiserver.v1.DoThisForMeCheckRequest (var: lKl) +message DoThisForMeCheckRequest { + string generation_uuid = 1; + string completion = 2; +} + +// Copied from: local:aiserver.v1.DoThisForMeCheckResponse (var: QIs) +message DoThisForMeCheckResponse { + // Copied from: local:aiserver.v1.DoThisForMeCheckResponse.CreateAction (var: hKl) + message CreateAction { + string relative_workspace_path = 1; + } + + // Copied from: local:aiserver.v1.DoThisForMeCheckResponse.EditAction (var: dKl) + message EditAction { + string relative_workspace_path = 1; + } + + // Copied from: local:aiserver.v1.DoThisForMeCheckResponse.RunAction (var: pKl) + message RunAction { + string command = 1; + } + + // Copied from: local:aiserver.v1.DoThisForMeCheckResponse.SkipAction (var: uKl) + message SkipAction { + } + + string reasoning = 5; + oneof action { + SkipAction skip_action = 1; + EditAction edit_action = 2; + CreateAction create_action = 3; + RunAction run_action = 4; + } +} + +// Copied from: local:aiserver.v1.DoThisForMeRequest (var: mKl) +message DoThisForMeRequest { + string generation_uuid = 1; + string completion = 2; + DoThisForMeCheckResponse action = 3; +} + +// Copied from: local:aiserver.v1.DoThisForMeResponse (var: gKl) +message DoThisForMeResponse { + // Copied from: local:aiserver.v1.DoThisForMeResponse.UpdateStatus (var: fKl) + message UpdateStatus { + string status = 1; + } + + oneof event { + UpdateStatus update_status = 1; + } +} + +// Copied from: local:aiserver.v1.DoThisForMeResponseWrapped (var: vKl) +message DoThisForMeResponseWrapped { + oneof response { + DoThisForMeResponse real_response = 1; + string background_task_uuid = 2; + } +} + +// Copied from: anyrun.v1.DockerBuildFailure (var: Kau) +message DockerBuildFailure { + int64 exit_code = 1; +} + +// Copied from: local:aiserver.v1.DocsReference (var: PBt) +message DocsReference { + string title = 1; + string url = 2; + string chunk = 3; + string name = 4; +} + +// Copied from: local:aiserver.v1.Document (var: mxs) +message Document { + string content = 1; + string id = 2; +} + +// Copied from: local:aiserver.v1.DocumentIdsWithScores (var: gxs) +message DocumentIdsWithScores { + string document_id = 1; + float score = 2; +} + +// Copied from: local:aiserver.v1.DocumentSymbol (var: Vln) +message DocumentSymbol { + // Copied from: local:aiserver.v1.DocumentSymbol.Range (var: m$r) + message Range { + int32 start_line_number = 1; + int32 start_column = 2; + int32 end_line_number = 3; + int32 end_column = 4; + } + + // Copied from: local:aiserver.v1.DocumentSymbol.SymbolKind (var: Jbc) + enum SymbolKind { + SYMBOL_KIND_UNSPECIFIED = 0; + SYMBOL_KIND_FILE = 1; + SYMBOL_KIND_MODULE = 2; + SYMBOL_KIND_NAMESPACE = 3; + SYMBOL_KIND_PACKAGE = 4; + SYMBOL_KIND_CLASS = 5; + SYMBOL_KIND_METHOD = 6; + SYMBOL_KIND_PROPERTY = 7; + SYMBOL_KIND_FIELD = 8; + SYMBOL_KIND_CONSTRUCTOR = 9; + SYMBOL_KIND_ENUM = 10; + SYMBOL_KIND_INTERFACE = 11; + SYMBOL_KIND_FUNCTION = 12; + SYMBOL_KIND_VARIABLE = 13; + SYMBOL_KIND_CONSTANT = 14; + SYMBOL_KIND_STRING = 15; + SYMBOL_KIND_NUMBER = 16; + SYMBOL_KIND_BOOLEAN = 17; + SYMBOL_KIND_ARRAY = 18; + SYMBOL_KIND_OBJECT = 19; + SYMBOL_KIND_KEY = 20; + SYMBOL_KIND_NULL = 21; + SYMBOL_KIND_ENUM_MEMBER = 22; + SYMBOL_KIND_STRUCT = 23; + SYMBOL_KIND_EVENT = 24; + SYMBOL_KIND_OPERATOR = 25; + SYMBOL_KIND_TYPE_PARAMETER = 26; + } + + string name = 1; + string detail = 2; + SymbolKind kind = 3; + string container_name = 5; + Range range = 6; + Range selection_range = 7; + repeated DocumentSymbol children = 8; +} + +// Copied from: local:aiserver.v1.DocumentSymbolWithText (var: Gln) +message DocumentSymbolWithText { + DocumentSymbol symbol = 1; + string relative_workspace_path = 2; + string text_in_symbol_range = 3; + UriComponents uri_components = 4; +} + +// Copied from: local:aiserver.v1.DocumentationChunk (var: l0s) +message DocumentationChunk { + string doc_name = 1; + string page_url = 2; + string documentation_chunk = 3; + float score = 4; + string page_title = 5; +} + +// Copied from: local:aiserver.v1.DocumentationCitation (var: OSn) +message DocumentationCitation { + repeated DocumentationChunk chunks = 1; +} + +// Copied from: local:aiserver.v1.DocumentationInfo (var: zVl) +message DocumentationInfo { + string doc_identifier = 1; + DocumentationMetadata metadata = 2; +} + +// Copied from: local:aiserver.v1.DocumentationMetadata (var: c0s) +message DocumentationMetadata { + string prefix_url = 1; + string doc_name = 2; + bool is_different_prefix_origin = 3; + string true_prefix_url = 4; + bool public = 5; + optional int32 team_id = 6; +} + +// Copied from: local:aiserver.v1.DocumentationQueryRequest (var: lOl) +message DocumentationQueryRequest { + string doc_identifier = 1; + string query = 2; + uint32 top_k = 3; + bool rerank_results = 4; +} + +// Copied from: local:aiserver.v1.DocumentationQueryResponse (var: uOl) +message DocumentationQueryResponse { + // Copied from: local:aiserver.v1.DocumentationQueryResponse.Status (var: dOl) + enum Status { + STATUS_UNSPECIFIED = 0; + STATUS_NOT_FOUND = 1; + STATUS_SUCCESS = 2; + STATUS_FAILURE = 3; + } + + string doc_identifier = 1; + string doc_name = 2; + repeated DocumentationChunk doc_chunks = 3; + Status status = 4; +} + +// Copied from: local:aiserver.v1.DownloadIssueTracesRequest (var: q$u) +message DownloadIssueTracesRequest { + string token = 1; + int32 limit = 2; +} + +// Copied from: local:aiserver.v1.DownloadIssueTracesResponse (var: K$u) +message DownloadIssueTracesResponse { + bytes data = 1; + int32 total_traces = 2; + int64 total_bytes = 3; +} + +// Copied from: agent.v1.DragAction (var: zRl) +message DragAction { + repeated Coordinate path = 1; + MouseButton button = 2; + optional string modifier_keys = 3; +} + +// Copied from: local:aiserver.v1.Edit (var: w$l) +message Edit { + string text = 1; + IRange range = 2; +} + +// Copied from: local:aiserver.v1.EditFate (var: oWl) +enum EditFate { + EDIT_FATE_UNSPECIFIED = 0; + EDIT_FATE_ACCEPTED = 1; + EDIT_FATE_REJECTED = 2; + EDIT_FATE_PARTIALLY_ACCEPTED = 3; +} + +// Copied from: local:aiserver.v1.EditFileParams (var: WOt) +message EditFileParams { + string relative_workspace_path = 1; + string language = 2; + bool blocking = 4; + string contents = 3; + optional string instructions = 5; + optional bool should_edit_file_fail_for_large_files = 12; + optional string old_string = 6; + optional string new_string = 7; + optional bool allow_multiple_matches = 8; + optional bool use_whitespace_insensitive_fallback = 10; + optional bool use_did_you_mean_fuzzy_match = 11; + optional bool gracefully_handle_recoverable_errors = 16; + repeated LineRange line_ranges = 9; + optional int32 notebook_cell_idx = 13; + optional bool is_new_cell = 14; + optional string cell_language = 15; + optional string edit_category = 17; + optional bool should_eagerly_process_lints = 18; +} + +// Copied from: local:aiserver.v1.EditFileResult (var: T_n) +message EditFileResult { + // Copied from: local:aiserver.v1.EditFileResult.EditFileHumanReview (var: nvs) + message EditFileHumanReview { + bool is_edit_accepted = 1; + string text_result = 2; + bool stop_and_get_new_user_input = 3; + } + + // Copied from: local:aiserver.v1.EditFileResult.FileDiff (var: GTe) + message FileDiff { + // Copied from: local:aiserver.v1.EditFileResult.FileDiff.ChunkDiff (var: Jfs) + message ChunkDiff { + string diff_string = 1; + int32 old_start = 2; + int32 new_start = 3; + int32 old_lines = 4; + int32 new_lines = 5; + int32 lines_removed = 6; + int32 lines_added = 7; + } + + // Copied from: local:aiserver.v1.EditFileResult.FileDiff.Editor (var: Xfs) + enum Editor { + EDITOR_UNSPECIFIED = 0; + EDITOR_AI = 1; + EDITOR_HUMAN = 2; + } + + repeated ChunkDiff chunks = 1; + Editor editor = 2; + bool hit_timeout = 3; + } + + // Copied from: local:aiserver.v1.EditFileResult.HumanFeedback (var: ivs) + message HumanFeedback { + string selected_option = 1; + string feedback_text = 2; + bool submit_feedback_as_new_message = 3; + string bubble_id = 4; + } + + // Copied from: local:aiserver.v1.EditFileResult.RecoverableError (var: evs) + message RecoverableError { + // Copied from: local:aiserver.v1.EditFileResult.RecoverableError.RecoverableErrorType (var: tvs) + enum RecoverableErrorType { + RECOVERABLE_ERROR_TYPE_UNSPECIFIED = 0; + RECOVERABLE_ERROR_TYPE_SEARCH_STRING_NOT_FOUND = 1; + RECOVERABLE_ERROR_TYPE_AMBIGUOUS_SEARCH_STRING = 2; + } + + RecoverableErrorType error_type = 1; + string model_message = 2; + } + + FileDiff diff = 1; + bool is_applied = 2; + bool apply_failed = 3; + repeated LinterError linter_errors = 4; + optional bool rejected = 5; + optional int32 num_matches = 6; + optional bool whitespace_insensitive_fallback_found_match = 7; + optional bool no_match_found_in_line_ranges = 8; + optional RecoverableError recoverable_error = 11; + optional int32 num_lines_in_file = 9; + optional bool is_subagent_edit = 10; + optional bool diff_became_no_op_due_to_on_save_fixes = 12; + optional EditFileHumanReview human_review = 13; + optional HumanFeedback human_feedback = 14; + optional bool should_eagerly_process_lints = 15; + optional HumanReview human_review_v2 = 16; + optional bool were_all_new_linter_errors_resolved_by_this_edit = 17; +} + +// Copied from: local:aiserver.v1.EditFileStream (var: rvs) +message EditFileStream { +} + +// Copied from: local:aiserver.v1.EditFileV2Params (var: nZ) +message EditFileV2Params { + // Copied from: local:aiserver.v1.EditFileV2Params.StreamingEditCode (var: Yfs) + message StreamingEditCode { + string code = 1; + } + + // Copied from: local:aiserver.v1.EditFileV2Params.StreamingEditText (var: Qfs) + message StreamingEditText { + string text = 1; + } + + string relative_workspace_path = 1; + optional string contents_after_edit = 2; + optional bool waiting_for_file_contents = 3; + bool should_send_back_linter_errors = 6; + optional EditFileResult.FileDiff diff = 7; + string result_for_model = 8; + optional string streaming_content = 9; + optional bool no_codeblock = 10; + optional bool cloud_agent_edit = 11; + oneof streaming_edit { + StreamingEditText text = 4; + StreamingEditCode code = 5; + } +} + +// Copied from: local:aiserver.v1.EditFileV2Result (var: VTe) +message EditFileV2Result { + optional string contents_before_edit = 1; + optional string eol_sequence = 9; + optional string detected_language = 11; + bool file_was_created = 2; + optional EditFileResult.FileDiff diff = 3; + optional bool rejected = 4; + repeated LinterError linter_errors = 5; + bool sent_back_linter_errors = 6; + bool should_auto_fix_lints = 8; + optional HumanReview human_review_v2 = 7; + string result_for_model = 10; + optional string contents_after_edit = 12; + optional string before_content_id = 13; + string after_content_id = 14; +} + +// Copied from: local:aiserver.v1.EditFileV2Stream (var: Zfs) +message EditFileV2Stream { +} + +// Copied from: local:aiserver.v1.EditHistoryAppendChangesRequest (var: QSn) +message EditHistoryAppendChangesRequest { + // Copied from: local:aiserver.v1.EditHistoryAppendChangesRequest.PrivacyModeStatus (var: YSn) + enum PrivacyModeStatus { + PRIVACY_MODE_STATUS_UNSPECIFIED = 0; + PRIVACY_MODE_STATUS_PRIVACY_ENABLED = 1; + PRIVACY_MODE_STATUS_IMPLICIT_NO_PRIVACY = 2; + PRIVACY_MODE_STATUS_EXPLICIT_NO_PRIVACY = 3; + } + + string session_id = 1; + string model_uuid = 2; + optional string starting_model_value = 3; + optional int32 starting_model_version = 10; + string relative_path = 5; + string uri = 14; + string client_version = 6; + optional string client_commit = 8; + repeated ModelChange changes = 4; + repeated CppSessionEvent session_events = 9; + bool model_changes_may_be_out_of_order = 11; + PrivacyModeStatus privacy_mode_status = 12; + repeated CppHistoryAppendEvent events = 7; + float time_origin = 13; +} + +// Copied from: local:aiserver.v1.EditHistoryAppendChangesResponse (var: P7l) +message EditHistoryAppendChangesResponse { + bool success = 1; +} + +// Copied from: local:aiserver.v1.EditParams (var: wbs) +message EditParams { + // Copied from: local:aiserver.v1.EditParams.FrontendEditType (var: kbs) + enum FrontendEditType { + FRONTEND_EDIT_TYPE_UNSPECIFIED = 0; + FRONTEND_EDIT_TYPE_INLINE_DIFFS = 1; + FRONTEND_EDIT_TYPE_SIMPLE = 2; + } + + string relative_workspace_path = 1; + optional int32 line_number = 2; + int32 replace_num_lines = 3; + repeated string new_lines = 4; + optional bool replace_whole_file = 7; + string edit_id = 5; + FrontendEditType frontend_edit_type = 6; + optional bool auto_fix_all_linter_errors_in_file = 8; +} + +// Copied from: local:aiserver.v1.EditPatch (var: ne) +message EditPatch { + string relative_path = 1; + uint32 line_number = 2; + repeated string deleted_lines = 3; + repeated string inserted_lines = 4; +} + +// Copied from: local:aiserver.v1.EditResult (var: Cbs) +message EditResult { + // Copied from: local:aiserver.v1.EditResult.Feedback (var: xbs) + message Feedback { + string message = 1; + string severity = 2; + int32 start_line_number = 3; + int32 end_line_number = 4; + repeated EditResult.RelatedInformation related_information = 5; + } + + // Copied from: local:aiserver.v1.EditResult.RelatedInformation (var: Ebs) + message RelatedInformation { + string message = 1; + int32 start_line_number = 2; + int32 end_line_number = 3; + string relative_workspace_path = 4; + } + + repeated string feedback = 1; + int32 context_start_line_number = 2; + repeated string context_lines = 3; + string file = 4; + int32 file_total_lines = 5; + repeated Feedback structured_feedback = 6; +} + +// Copied from: agent.v1.EditToolCallDelta (var: C0s) +message EditToolCallDelta { + string stream_content_delta = 1; +} + +// Copied from: local:aiserver.v1.EditorCloseEvent (var: k7l) +message EditorCloseEvent { + string editor_id = 1; +} + +// Copied from: local:aiserver.v1.EffectivePlugin (var: _Os) +message EffectivePlugin { + Plugin plugin = 1; + bool is_team_required = 3; + bool is_enabled = 4; + optional string pinned_git_ref = 6; + google.protobuf.Struct configured_variables = 7; + bool has_team_configured_variables = 8; + optional string inline_content_json = 9; + EffectivePluginInstallMode install_mode = 10; +} + +// Copied from: local:aiserver.v1.EffectivePluginInstallMode (var: $cu) +enum EffectivePluginInstallMode { + EFFECTIVE_PLUGIN_INSTALL_MODE_UNSPECIFIED = 0; + EFFECTIVE_PLUGIN_INSTALL_MODE_USER = 1; + EFFECTIVE_PLUGIN_INSTALL_MODE_TEAM_DEFAULT = 2; + EFFECTIVE_PLUGIN_INSTALL_MODE_TEAM_REQUIRED = 3; +} + +// Copied from: local:aiserver.v1.EmailValidRequest (var: ouv) +message EmailValidRequest { + string email = 1; +} + +// Copied from: local:aiserver.v1.EmailValidResponse (var: auv) +message EmailValidResponse { + bool valid = 1; +} + +// Copied from: local:aiserver.v1.EmbeddingModel (var: dM) +enum EmbeddingModel { + EMBEDDING_MODEL_UNSPECIFIED = 0; + EMBEDDING_MODEL_VOYAGE_CODE_2 = 1; + EMBEDDING_MODEL_TEXT_EMBEDDINGS_LARGE_3 = 2; + EMBEDDING_MODEL_QWEN_1_5B_CUSTOM = 3; + EMBEDDING_MODEL_MOCK_CHUNKER_ERROR = 4; + EMBEDDING_MODEL_QWEN_1_5B_0618_CUSTOM = 5; + EMBEDDING_MODEL_QWEN_1_5B_0618_FP8_MM_CUSTOM = 6; +} + +// Copied from: local:aiserver.v1.EmbeddingResponse (var: kzl) +message EmbeddingResponse { + repeated double embedding = 1; +} + +// Copied from: local:aiserver.v1.EnableOnDemandSpendRequest (var: Imu) +message EnableOnDemandSpendRequest { + optional int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.EnableOnDemandSpendResponse (var: Rmu) +message EnableOnDemandSpendResponse { + int32 hard_limit = 1; + optional int32 hard_limit_per_user = 2; +} + +// Copied from: local:aiserver.v1.EnablePullRequestAutoMergeRequest (var: oBs) +message EnablePullRequestAutoMergeRequest { + string pr_url = 1; + optional string merge_method = 2; +} + +// Copied from: local:aiserver.v1.EnablePullRequestAutoMergeResponse (var: _Ou) +message EnablePullRequestAutoMergeResponse { + bool success = 1; + string error = 2; + optional string pr_node_id = 3; +} + +// Copied from: local:aiserver.v1.EnableTokenBasedPricingRequest (var: Ehv) +message EnableTokenBasedPricingRequest { + int32 team_id = 1; + optional string target_membership_type = 2; + optional int64 organization_id = 3; +} + +// Copied from: local:aiserver.v1.EnableTokenBasedPricingResponse (var: xhv) +message EnableTokenBasedPricingResponse { + bool success = 1; +} + +// Copied from: local:aiserver.v1.EndParams (var: hbs) +message EndParams { +} + +// Copied from: local:aiserver.v1.EndResult (var: gbs) +message EndResult { +} + +// Copied from: local:aiserver.v1.EnrollExternalFullSelfDrivingRunRequest (var: tsu) +message EnrollExternalFullSelfDrivingRunRequest { + string pr_url = 1; + string bc_id = 2; + FullSelfDrivingMode mode = 3; + bool enable_config = 4; +} + +// Copied from: local:aiserver.v1.EnrollExternalFullSelfDrivingRunResponse (var: nsu) +message EnrollExternalFullSelfDrivingRunResponse { + bool enrolled = 1; +} + +// Copied from: local:aiserver.v1.EnrollInGlassEarlyPreviewRequest (var: KSu) +message EnrollInGlassEarlyPreviewRequest { +} + +// Copied from: local:aiserver.v1.EnrollInGlassEarlyPreviewResponse (var: QSu) +message EnrollInGlassEarlyPreviewResponse { +} + +// Copied from: local:aiserver.v1.EnsembleStatus (var: tDu) +enum EnsembleStatus { + ENSEMBLE_STATUS_UNSPECIFIED = 0; + ENSEMBLE_STATUS_PARENT = 1; + ENSEMBLE_STATUS_CHILD = 2; +} + +// Copied from: local:aiserver.v1.EnsureIndexCreatedRequest (var: hIl) +message EnsureIndexCreatedRequest { + RepositoryInfo repository = 1; +} + +// Copied from: local:aiserver.v1.EnsureIndexCreatedResponse (var: pIl) +message EnsureIndexCreatedResponse { +} + +// Copied from: local:aiserver.v1.EnsureModelRoutingLoadTestStartedRequest (var: iFu) +message EnsureModelRoutingLoadTestStartedRequest { + string run_id = 1; +} + +// Copied from: local:aiserver.v1.EnsureModelRoutingLoadTestStartedResponse (var: rFu) +message EnsureModelRoutingLoadTestStartedResponse { + string temporal_run_id = 1; +} + +// Copied from: local:aiserver.v1.EnsureRelayPipelineDefinitionRequest (var: hvv) +message EnsureRelayPipelineDefinitionRequest { + optional string name = 1; + optional string version = 2; +} + +// Copied from: local:aiserver.v1.EnsureRelayPipelineDefinitionResponse (var: pvv) +message EnsureRelayPipelineDefinitionResponse { + string definition_action = 1; + RelayPipelineDefinitionSummary definition = 2; +} + +// Copied from: local:aiserver.v1.EnsureSandBoxRequest (var: Kqd) +message EnsureSandBoxRequest { +} + +// Copied from: local:aiserver.v1.EnsureSandBoxResponse (var: KHi) +message EnsureSandBoxResponse { + string cluster = 1; + string tenant_id = 2; + string pod_id = 3; + string network_token = 4; + string exec_daemon_auth_token = 5; + string exec_daemon_url = 6; + string vnc_url = 7; + string terminals_folder = 8; + string fork_vnc_base_url = 12; + optional bool image_update_available = 9; + string gateway_url = 10; + string gateway_token = 11; +} + +// Copied from: local:aiserver.v1.EnsureSandBoxWindowRequest (var: Qqd) +message EnsureSandBoxWindowRequest { + int32 window_index = 2; +} + +// Copied from: local:aiserver.v1.EnterpriseContract (var: r_t) +message EnterpriseContract { + int32 id = 1; + optional int32 team_id = 2; + google.protobuf.Timestamp start_date = 3; + google.protobuf.Timestamp end_date = 4; + int32 committed_usage_dollars = 5; + int32 committed_seats = 6; + double platform_discount_percent = 7; + google.protobuf.Timestamp created_at = 8; + google.protobuf.Timestamp updated_at = 9; + string salesforce_account_id = 10; + string salesforce_opportunity_id = 11; + string salesforce_line_item_id = 12; + optional double cursor_token_fee_cents_per_million_tokens = 13; + optional double pooled_usage_revenue_discount_percent = 14; + optional double on_demand_usage_revenue_discount_percent = 15; + optional int64 organization_id = 16; + optional bool waive_auto_smart_cursor_token_fee = 17; +} + +// Copied from: anyrun.v1.EnvironmentBuildBootInfo (var: SLs) +message EnvironmentBuildBootInfo { + optional string build_id = 1; + string snapshot_id = 2; + WorkspaceGitSetupMode workspace_git_setup_mode = 3; + WarmForkMode warm_fork_mode = 4; + bool fast_forward_default_branch = 5; + EnvironmentBuildResolution resolution = 6; + bool default_image_fallback = 7; +} + +// Copied from: local:aiserver.v1.EnvironmentBuildRepoCommit (var: _2u) +message EnvironmentBuildRepoCommit { + string repo_url = 1; + string workspace_root_path = 2; + string commit_hash_hex = 3; +} + +// Copied from: anyrun.v1.EnvironmentBuildResolution (var: O3t) +enum EnvironmentBuildResolution { + ENVIRONMENT_BUILD_RESOLUTION_UNSPECIFIED = 0; + ENVIRONMENT_BUILD_RESOLUTION_RESOLVED = 1; + ENVIRONMENT_BUILD_RESOLUTION_NO_FINISHED_BUILDS = 2; + ENVIRONMENT_BUILD_RESOLUTION_NO_HEALTHY_BUILDS = 3; +} + +// Copied from: local:aiserver.v1.EnvironmentBuildRow (var: e5t) +message EnvironmentBuildRow { + string build_id = 1; + string environment_public_id = 2; + EnvironmentBuildRowStatus status = 3; + EnvironmentBuildRowTriggerType trigger_type = 4; + EnvironmentBuildRowSource source = 5; + optional EnvironmentBuildRowFailureType failure_type = 6; + optional int64 environment_version_id = 7; + optional string user_facing_snapshot_id = 8; + int64 created_at_ms = 9; + int64 updated_at_ms = 10; + optional int64 completed_at_ms = 11; + bool is_draft = 12; + bool has_ref_overrides = 13; + repeated RepoStartingRef requested_refs = 14; + repeated EnvironmentBuildRepoCommit repo_commits = 15; + optional string created_by_display = 16; + bool will_adopt_environment_settings_on_activate = 17; + optional string source_bc_id = 18; + optional string failure_code = 19; +} + +// Copied from: local:aiserver.v1.EnvironmentBuildRowFailureType (var: sDu) +enum EnvironmentBuildRowFailureType { + ENVIRONMENT_BUILD_ROW_FAILURE_TYPE_UNSPECIFIED = 0; + ENVIRONMENT_BUILD_ROW_FAILURE_TYPE_INSTALL_FAILED = 1; + ENVIRONMENT_BUILD_ROW_FAILURE_TYPE_TERMINAL_FAILURE = 2; +} + +// Copied from: local:aiserver.v1.EnvironmentBuildRowSource (var: rDu) +enum EnvironmentBuildRowSource { + ENVIRONMENT_BUILD_ROW_SOURCE_UNSPECIFIED = 0; + ENVIRONMENT_BUILD_ROW_SOURCE_SYSTEM = 1; + ENVIRONMENT_BUILD_ROW_SOURCE_WEBSITE = 2; + ENVIRONMENT_BUILD_ROW_SOURCE_API = 3; + ENVIRONMENT_BUILD_ROW_SOURCE_AGENT = 4; +} + +// Copied from: local:aiserver.v1.EnvironmentBuildRowStatus (var: YOs) +enum EnvironmentBuildRowStatus { + ENVIRONMENT_BUILD_ROW_STATUS_UNSPECIFIED = 0; + ENVIRONMENT_BUILD_ROW_STATUS_IN_PROGRESS = 1; + ENVIRONMENT_BUILD_ROW_STATUS_SUCCEEDED = 2; + ENVIRONMENT_BUILD_ROW_STATUS_FAILED = 3; + ENVIRONMENT_BUILD_ROW_STATUS_CANCELLED = 4; + ENVIRONMENT_BUILD_ROW_STATUS_SKIPPED = 5; +} + +// Copied from: local:aiserver.v1.EnvironmentBuildRowTriggerType (var: iDu) +enum EnvironmentBuildRowTriggerType { + ENVIRONMENT_BUILD_ROW_TRIGGER_TYPE_UNSPECIFIED = 0; + ENVIRONMENT_BUILD_ROW_TRIGGER_TYPE_MANUAL = 1; + ENVIRONMENT_BUILD_ROW_TRIGGER_TYPE_RECURRING = 2; + ENVIRONMENT_BUILD_ROW_TRIGGER_TYPE_CONFIG_CHANGE = 3; +} + +// Copied from: local:aiserver.v1.EnvironmentBuildSettings (var: zFs) +message EnvironmentBuildSettings { + optional bool fast_forward_default_branch = 1; + optional int32 auto_fast_forward_staleness_hours = 3; + optional bool builds_enabled = 2; +} + +// Copied from: local:aiserver.v1.EnvironmentBuildsCursor (var: HFs) +message EnvironmentBuildsCursor { + int64 created_at_ms = 1; + string build_id = 2; +} + +// Copied from: local:aiserver.v1.EnvironmentEffectiveHistoryEvent (var: Y2u) +message EnvironmentEffectiveHistoryEvent { + string id = 1; + int64 created_at_ms = 2; + LogicalEnvironmentScope scope = 3; + EnvironmentUpdateEventKind event_kind = 4; + string title = 5; + string description = 6; + optional EnvironmentVersionSummary version = 7; + optional EnvironmentVersionSummary fallback_version = 8; + optional EnvironmentSetupRunLink setup_run = 9; + optional string environment_public_id = 10; + optional string environment_name = 11; + optional EnvironmentVersionRestoreMetadata restore_metadata = 12; +} + +// Copied from: local:aiserver.v1.EnvironmentHistoryLifecycleEvent (var: K2u) +message EnvironmentHistoryLifecycleEvent { + string public_id = 1; + EnvironmentUpdateEventKind event_kind = 2; + EnvironmentVersionSourceKind source_kind = 3; + string recorded_via = 4; + int64 created_at_ms = 5; + optional EnvironmentVersionSummary version = 6; + optional EnvironmentSetupRunLink setup_run = 7; + optional EnvironmentVersionRestoreMetadata restore_metadata = 8; +} + +// Copied from: local:aiserver.v1.EnvironmentHistoryObject (var: Q2u) +message EnvironmentHistoryObject { + LogicalEnvironment environment = 1; + repeated EnvironmentHistoryVersion versions = 2; + repeated EnvironmentHistoryLifecycleEvent lifecycle_events = 3; +} + +// Copied from: local:aiserver.v1.EnvironmentHistoryVersion (var: q2u) +message EnvironmentHistoryVersion { + EnvironmentVersionSummary version = 1; + optional EnvironmentSetupRunLink setup_run = 2; +} + +// Copied from: local:aiserver.v1.EnvironmentInfo (var: Eci) +message EnvironmentInfo { + optional string exthost_platform = 1; + optional string exthost_arch = 2; + optional string exthost_release = 3; + optional string exthost_shell = 4; + optional string local_timestamp = 5; + repeated string workspace_uris = 6; + optional string cursor_version = 7; + optional bool is_remote = 8; + optional string local_os_type = 9; + optional string home_directory = 10; + optional string local_timezone = 11; +} + +// Copied from: local:aiserver.v1.EnvironmentJsonFileLocation (var: CPu) +message EnvironmentJsonFileLocation { + string repo_url = 1; + string path = 2; +} + +// Copied from: local:aiserver.v1.EnvironmentPort (var: SOu) +message EnvironmentPort { + string name = 1; + int32 port = 2; +} + +// Copied from: local:aiserver.v1.EnvironmentRepoConfig (var: ame) +message EnvironmentRepoConfig { + repeated EnvironmentRepoEntry repos = 1; + optional EnvironmentJsonFileLocation environment_json_location = 2; +} + +// Copied from: local:aiserver.v1.EnvironmentRepoEntry (var: kPu) +message EnvironmentRepoEntry { + string repo_url = 1; + string scm_repo_node_id = 2; + optional string git_enterprise_uuid = 3; +} + +// Copied from: local:aiserver.v1.EnvironmentSetupRunLink (var: gMi) +message EnvironmentSetupRunLink { + string bc_id = 1; + optional string status = 2; + int64 created_at_ms = 3; + optional string snapshot_id = 4; +} + +// Copied from: local:aiserver.v1.EnvironmentSetupRunStartedMetadata (var: TPu) +message EnvironmentSetupRunStartedMetadata { + string setup_session_id = 1; + optional string surface = 2; + optional string entrypoint = 3; + bool resumed_session = 4; +} + +// Copied from: local:aiserver.v1.EnvironmentType (var: nDu) +enum EnvironmentType { + ENVIRONMENT_TYPE_UNSPECIFIED = 0; + ENVIRONMENT_TYPE_PERSONAL = 1; + ENVIRONMENT_TYPE_TEAM = 2; +} + +// Copied from: local:aiserver.v1.EnvironmentUpdateEventKind (var: XOs) +enum EnvironmentUpdateEventKind { + ENVIRONMENT_UPDATE_EVENT_KIND_UNSPECIFIED = 0; + ENVIRONMENT_UPDATE_EVENT_KIND_CREATED = 1; + ENVIRONMENT_UPDATE_EVENT_KIND_UPDATED = 2; + ENVIRONMENT_UPDATE_EVENT_KIND_DELETED = 3; + ENVIRONMENT_UPDATE_EVENT_KIND_FORWARD_FILLED = 4; +} + +// Copied from: local:aiserver.v1.EnvironmentVersionRestoreMetadata (var: GFs) +message EnvironmentVersionRestoreMetadata { + string restored_from_environment_version_public_id = 1; + EnvironmentVersionSourceKind restored_from_source_kind = 2; + optional string restored_from_environment_public_id = 3; + optional string restored_from_environment_name = 4; + optional string restored_from_snapshot_id = 5; +} + +// Copied from: local:aiserver.v1.EnvironmentVersionSourceKind (var: SCn) +enum EnvironmentVersionSourceKind { + ENVIRONMENT_VERSION_SOURCE_KIND_UNSPECIFIED = 0; + ENVIRONMENT_VERSION_SOURCE_KIND_REPO_FILE = 1; + ENVIRONMENT_VERSION_SOURCE_KIND_DATABASE_USER = 2; + ENVIRONMENT_VERSION_SOURCE_KIND_DATABASE_TEAM = 3; + ENVIRONMENT_VERSION_SOURCE_KIND_REQUEST_OVERRIDE = 4; +} + +// Copied from: local:aiserver.v1.EnvironmentVersionSummary (var: mmt) +message EnvironmentVersionSummary { + string public_id = 1; + EnvironmentVersionSourceKind source_kind = 2; + optional string commit_hash = 3; + optional string environment_public_id = 4; + optional RepoConfigSummary repo_config = 5; + int64 created_at_ms = 6; + optional string environment_json = 7; + optional string environment_name = 8; + optional string snapshot_id = 9; + optional string recorded_via = 10; + optional string update_script = 11; +} + +// Copied from: local:aiserver.v1.EnvironmentWriteSource (var: _Cn) +enum EnvironmentWriteSource { + ENVIRONMENT_WRITE_SOURCE_UNSPECIFIED = 0; + ENVIRONMENT_WRITE_SOURCE_DASHBOARD = 1; + ENVIRONMENT_WRITE_SOURCE_SETUP_FLOW = 2; + ENVIRONMENT_WRITE_SOURCE_SDK_V1 = 3; + ENVIRONMENT_WRITE_SOURCE_RESTORE = 4; +} + +// Copied from: local:aiserver.v1.ErrorAnalyticsMetadata (var: t_c) +message ErrorAnalyticsMetadata { + optional string action_required = 1; +} + +// Copied from: local:aiserver.v1.ErrorButton (var: qln) +message ErrorButton { + string label = 1; + oneof action { + UpgradeAction upgrade = 2; + SwitchModelAction switch_model = 3; + ConfigureSpendLimitAction configure_spend_limit = 4; + UrlAction url = 5; + UpgradeChoice upgrade_choice = 6; + DashboardAction dashboard_action = 7; + ReloadWindowAction reload_window = 8; + ClientAction client_action = 9; + } +} + +// Copied from: local:aiserver.v1.ErrorDetails (var: Dk) +message ErrorDetails { + // Copied from: local:aiserver.v1.ErrorDetails.Error (var: ro) + enum Error { + ERROR_UNSPECIFIED = 0; + ERROR_BAD_API_KEY = 1; + ERROR_BAD_USER_API_KEY = 42; + ERROR_NOT_LOGGED_IN = 2; + ERROR_INVALID_AUTH_ID = 3; + ERROR_NOT_HIGH_ENOUGH_PERMISSIONS = 4; + ERROR_AGENT_REQUIRES_LOGIN = 18; + ERROR_BAD_MODEL_NAME = 5; + ERROR_NOT_FOUND = 39; + ERROR_DEPRECATED = 40; + ERROR_USER_NOT_FOUND = 6; + ERROR_FREE_USER_RATE_LIMIT_EXCEEDED = 7; + ERROR_PRO_USER_RATE_LIMIT_EXCEEDED = 8; + ERROR_FREE_USER_USAGE_LIMIT = 9; + ERROR_PRO_USER_USAGE_LIMIT = 10; + ERROR_RESOURCE_EXHAUSTED = 41; + ERROR_AUTH_TOKEN_NOT_FOUND = 11; + ERROR_AUTH_TOKEN_EXPIRED = 12; + ERROR_OPENAI = 13; + ERROR_OPENAI_RATE_LIMIT_EXCEEDED = 14; + ERROR_MAX_TOKENS = 20; + ERROR_PRO_USER_ONLY = 23; + ERROR_USER_ABORTED_REQUEST = 21; + ERROR_TIMEOUT = 25; + ERROR_GENERIC_RATE_LIMIT_EXCEEDED = 22; + ERROR_GPT_4_VISION_PREVIEW_RATE_LIMIT = 28; + ERROR_CUSTOM_MESSAGE = 29; + ERROR_OUTDATED_CLIENT = 30; + ERROR_CLAUDE_IMAGE_TOO_LARGE = 31; + ERROR_FILE_NOT_FOUND = 33; + ERROR_API_KEY_RATE_LIMIT = 34; + ERROR_DEBOUNCED = 35; + ERROR_BAD_REQUEST = 36; + ERROR_REPOSITORY_SERVICE_REPOSITORY_IS_NOT_INITIALIZED = 37; + ERROR_UNAUTHORIZED = 38; + ERROR_CONVERSATION_TOO_LONG = 43; + ERROR_USAGE_PRICING_REQUIRED = 44; + ERROR_USAGE_PRICING_REQUIRED_CHANGEABLE = 45; + ERROR_GITHUB_NO_USER_CREDENTIALS = 46; + ERROR_GITHUB_USER_NO_ACCESS = 47; + ERROR_GITHUB_APP_NO_ACCESS = 48; + ERROR_GITHUB_MULTIPLE_OWNERS = 49; + ERROR_RATE_LIMITED = 50; + ERROR_RATE_LIMITED_CHANGEABLE = 51; + ERROR_CUSTOM = 52; + ERROR_HOOKS_BLOCKED = 53; + ERROR_SUSPICIOUS_USAGE_BLOCKED = 54; + ERROR_EXTENSION_HOST_TIMEOUT = 55; + ERROR_NETWORK_ERROR = 56; + ERROR_PROVIDER_ERROR = 57; + ERROR_MODEL_BLOCKED = 58; + ERROR_INTERNAL = 59; + ERROR_MAX_MODE_REQUIRED = 60; + ERROR_MODEL_NO_LONGER_SUPPORTED = 61; + ERROR_PRICING_WARNING = 62; + ERROR_SLOW_POOL = 63; + ERROR_UNSUPPORTED_REGION = 64; + ERROR_ACCOUNT_CLOSED = 65; + } + + Error error = 1; + CustomErrorDetails details = 2; + optional bool is_expected = 3; +} + +// Copied from: local:aiserver.v1.ErrorToolResult (var: _bs) +message ErrorToolResult { + string error_message = 1; +} + +// Copied from: local:aiserver.v1.EvalCleanupRequest (var: vpv) +message EvalCleanupRequest { + string reason = 1; + int64 requested_at_ms = 2; + int64 deadline_at_ms = 3; + int32 grace_seconds = 4; +} + +// Copied from: local:aiserver.v1.EvalCronJobSummary (var: Iqd) +message EvalCronJobSummary { + string id = 1; + string name = 2; + string schedule = 3; + string channel = 4; + string mode = 5; + string args = 6; + optional string thread_ts = 7; + optional string slack_username = 8; + bool is_active = 9; + google.protobuf.Timestamp created_at = 10; + google.protobuf.Timestamp updated_at = 11; +} + +// Copied from: local:aiserver.v1.EvalKillReason (var: Uhv) +enum EvalKillReason { + EVAL_KILL_REASON_UNSPECIFIED = 0; + EVAL_KILL_REASON_USER_KILL = 1; + EVAL_KILL_REASON_JOB_TIMEOUT = 2; + EVAL_KILL_REASON_STEP_FAILED = 3; +} + +// Copied from: local:aiserver.v1.EvalRolloutStatus (var: Bhv) +enum EvalRolloutStatus { + EVAL_ROLLOUT_STATUS_UNSPECIFIED = 0; + EVAL_ROLLOUT_STATUS_PENDING = 1; + EVAL_ROLLOUT_STATUS_RUNNING = 2; + EVAL_ROLLOUT_STATUS_FINISHED = 3; + EVAL_ROLLOUT_STATUS_FAILED = 4; + EVAL_ROLLOUT_STATUS_KILLED = 5; + EVAL_ROLLOUT_STATUS_JOB_TIMEOUT = 6; + EVAL_ROLLOUT_STATUS_RETRYING = 7; +} + +// Copied from: local:aiserver.v1.EvalRunRecord (var: Ghv) +message EvalRunRecord { + string id = 1; + string eval_id = 2; + string dataset_name = 3; + string model_name = 4; + string request_id = 5; + string artifact_uri = 6; + optional int32 iteration_count = 7; + optional string created_by = 8; +} + +// Copied from: local:aiserver.v1.EvalRunStatus (var: Fhv) +enum EvalRunStatus { + EVAL_RUN_STATUS_UNSPECIFIED = 0; + EVAL_RUN_STATUS_PENDING = 1; + EVAL_RUN_STATUS_BUILDING = 7; + EVAL_RUN_STATUS_SUBMITTED = 6; + EVAL_RUN_STATUS_RUNNING = 2; + EVAL_RUN_STATUS_FINISHED = 3; + EVAL_RUN_STATUS_FAILED = 4; + EVAL_RUN_STATUS_KILLED = 5; + EVAL_RUN_STATUS_JOB_TIMEOUT = 8; + EVAL_RUN_STATUS_CANCELLED = 9; + EVAL_RUN_STATUS_DRAINING = 10; +} + +// Copied from: local:aiserver.v1.EvalSummary (var: Whv) +message EvalSummary { + string id = 1; + string name = 2; + string description = 3; +} + +// Copied from: local:aiserver.v1.EvaluatePromptHookRequest (var: SIs) +message EvaluatePromptHookRequest { + string prompt = 1; + google.protobuf.Value hook_input_json = 2; + optional string model_name = 3; +} + +// Copied from: local:aiserver.v1.EvaluatePromptHookResponse (var: LHl) +message EvaluatePromptHookResponse { + bool ok = 1; + optional string reason = 2; +} + +// Copied from: local:aiserver.v1.EventCodeClaimState (var: YLs) +enum EventCodeClaimState { + EVENT_CODE_CLAIM_STATE_UNSPECIFIED = 0; + EVENT_CODE_CLAIM_STATE_UPCOMING = 1; + EVENT_CODE_CLAIM_STATE_OPEN = 2; + EVENT_CODE_CLAIM_STATE_FULL = 3; + EVENT_CODE_CLAIM_STATE_CLOSED = 4; + EVENT_CODE_CLAIM_STATE_DISABLED = 5; +} + +// Copied from: local:aiserver.v1.EventData (var: P$u) +message EventData { + oneof data { + string string_value = 1; + int64 int_value = 2; + bool bool_value = 3; + double double_value = 4; + } +} + +// Copied from: local:aiserver.v1.EventSubscription (var: uPu) +message EventSubscription { + string subscription_id = 1; + string subscription_type = 2; + string subscription_args_json = 3; + optional string subscription_metadata_json = 4; + double open_time_ms = 10; + double expires_at_ms = 11; + optional double last_delivered_at_ms = 12; + int32 delivery_count = 13; +} + +// Copied from: agent.v1.ExecClientControlMessage (var: Zte) +message ExecClientControlMessage { + oneof message { + ExecClientStreamClose stream_close = 1; + ExecClientThrow throw = 2; + ExecClientHeartbeat heartbeat = 3; + } +} + +// Copied from: agent.v1.ExecClientHeartbeat (var: YTs) +message ExecClientHeartbeat { + uint32 id = 1; +} + +// Copied from: agent.v1.ExecClientMessage (var: xSe) +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; + AdoptResult adopt_result = 56; + } +} + +// Copied from: agent.v1.ExecClientStreamClose (var: aAi) +message ExecClientStreamClose { + uint32 id = 1; +} + +// Copied from: agent.v1.ExecClientThrow (var: cAi) +message ExecClientThrow { + uint32 id = 1; + string error = 2; + optional string stack_trace = 3; + optional string error_code = 4; +} + +// Copied from: local:aiserver.v1.ExecRequest (var: n_v) +message ExecRequest { + repeated string command = 1; + string cwd = 2; + map env = 3; +} + +// Copied from: local:aiserver.v1.ExecResponse (var: i_v) +message ExecResponse { + string stdout = 1; + string stderr = 2; + int32 exit_code = 3; +} + +// Copied from: agent.v1.ExecServerAbort (var: JTs) +message ExecServerAbort { + uint32 id = 1; +} + +// Copied from: agent.v1.ExecServerControlMessage (var: HBt) +message ExecServerControlMessage { + oneof message { + ExecServerAbort abort = 1; + } +} + +// Copied from: agent.v1.ExecServerMessage (var: Xte) +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; + AdoptArgs adopt_args = 56; + } +} + +// Copied from: agent.v1.ExecuteHookArgs (var: JUl) +message ExecuteHookArgs { + ExecuteHookRequest request = 1; +} + +// Copied from: agent.v1.ExecuteHookRequest (var: t8l) +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: agent.v1.ExecuteHookResponse (var: n8l) +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: agent.v1.ExecuteHookResult (var: e8l) +message ExecuteHookResult { + ExecuteHookResponse response = 1; +} + +// Copied from: agent.v1.ExecutePlanAction (var: spt) +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: agent.v1.ExecutePlanInfo (var: b9l) +message ExecutePlanInfo { + string plan_id = 1; + string plan_title = 2; +} + +// Copied from: local:aiserver.v1.ExecuteSandMcpToolRequest (var: gpu) +message ExecuteSandMcpToolRequest { + string server_identifier = 1; + string tool_name = 2; + google.protobuf.Struct args = 3; + string tool_call_id = 4; + string agent_id = 5; + string turn_id = 6; +} + +// Copied from: local:aiserver.v1.ExecuteSandMcpToolResponse (var: bpu) +message ExecuteSandMcpToolResponse { + McpResult result = 1; +} + +// Copied from: local:aiserver.v1.ExplicitContext (var: G2) +message ExplicitContext { + string context = 1; + optional string repo_context = 2; + repeated CursorRule rules = 3; + optional string mode_specific_context = 4; + repeated MCPInstructions mcp_instructions = 5; +} + +// Copied from: local:aiserver.v1.ExtensionInstallCooldownSettings (var: tNs) +message ExtensionInstallCooldownSettings { + int32 cooldown_hours = 1; +} + +// Copied from: local:aiserver.v1.ExtensionSigningSettings (var: eNs) +message ExtensionSigningSettings { + bool verification_enabled = 1; +} + +// Copied from: local:aiserver.v1.ExternalSourceMetadata (var: _Fs) +message ExternalSourceMetadata { + optional SlackSourceMetadata slack = 1; + optional LinearSourceMetadata linear = 2; + optional GithubSourceMetadata github = 3; + optional GitlabSourceMetadata gitlab = 4; +} + +// Copied from: agent.v1.ExtraContextEntry (var: v4l) +message ExtraContextEntry { + oneof data_or_blob_id { + string data = 1; + bytes blob_id = 2; + } +} + +// Copied from: local:aiserver.v1.ExtractPathsRequest (var: XAl) +message ExtractPathsRequest { + FileCodeSnippets file_code_snippets = 1; +} + +// Copied from: local:aiserver.v1.ExtractPathsResponse (var: JAl) +message ExtractPathsResponse { + repeated CodeSymbolWithAction paths = 1; +} + +// Copied from: local:aiserver.v1.FSConfigRequest (var: j8l) +message FSConfigRequest { +} + +// Copied from: local:aiserver.v1.FSConfigResponse (var: W8l) +message FSConfigResponse { + float check_filesync_hash_percent = 1; + optional int32 rate_limiter_breaker_reset_time_ms = 2; + optional int32 rate_limiter_rps = 3; + optional int32 rate_limiter_burst_capacity = 4; + optional int32 max_recent_updates_stored = 5; + optional int32 max_model_version_cache_size = 6; + optional int32 max_file_size_to_sync_bytes = 7; + optional int32 sync_retry_max_attempts = 8; + optional int32 sync_retry_initial_delay_ms = 9; + optional int32 sync_retry_time_multiplier = 10; + optional int32 file_sync_status_max_cache_size = 11; + optional int32 successive_syncs_required_for_reliance = 12; + optional int32 extra_successful_syncs_needed_after_errors = 13; + optional int32 big_change_stripping_threshold_bytes = 14; + optional int32 last_n_updates_to_send = 15; + optional int32 file_sync_status_ttl_ms = 16; + optional int32 sync_debounce_ms = 17; + optional int32 sync_update_threshold = 18; +} + +// Copied from: local:aiserver.v1.FSGetFileContentsRequest (var: P8l) +message FSGetFileContentsRequest { + string uuid = 1; + string auth_id = 2; + string relative_workspace_path = 3; + int32 model_version = 4; + repeated FilesyncUpdateWithModelVersion filesync_updates = 5; + optional string sha256_hash = 6; + optional google.protobuf.Timestamp earliest_time = 7; +} + +// Copied from: local:aiserver.v1.FSGetFileContentsResponse (var: L8l) +message FSGetFileContentsResponse { + string contents = 1; + optional string sha256_hash = 2; +} + +// Copied from: local:aiserver.v1.FSGetMultiFileContentsRequest (var: O8l) +message FSGetMultiFileContentsRequest { + string auth_id = 1; + repeated FilesyncUpdateWithModelVersion filesync_updates = 2; + repeated FileRequest file_requests = 3; + bool get_all_recent_files = 4; +} + +// Copied from: local:aiserver.v1.FSGetMultiFileContentsResponse (var: B8l) +message FSGetMultiFileContentsResponse { + repeated FileRetrieved files = 1; +} + +// Copied from: local:aiserver.v1.FSInternalHealthCheckRequest (var: U8l) +message FSInternalHealthCheckRequest { + optional bool from_server = 1; +} + +// Copied from: local:aiserver.v1.FSInternalHealthCheckResponse (var: $8l) +message FSInternalHealthCheckResponse { + bool success = 1; +} + +// Copied from: local:aiserver.v1.FSIsEnabledForUserRequest (var: D8l) +message FSIsEnabledForUserRequest { + string uuid = 1; +} + +// Copied from: local:aiserver.v1.FSIsEnabledForUserResponse (var: M8l) +message FSIsEnabledForUserResponse { + bool enabled = 1; +} + +// Copied from: local:aiserver.v1.FSSyncErrorType (var: I8l) +enum FSSyncErrorType { + FS_SYNC_ERROR_TYPE_UNSPECIFIED = 0; + FS_SYNC_ERROR_TYPE_NON_EXISTANT = 1; + FS_SYNC_ERROR_TYPE_HASH_MISMATCH = 2; +} + +// Copied from: local:aiserver.v1.FSSyncFileRequest (var: CAs) +message FSSyncFileRequest { + string uuid = 1; + string relative_workspace_path = 2; + int32 model_version = 3; + repeated FilesyncUpdateWithModelVersion filesync_updates = 4; + string sha256_hash = 5; +} + +// Copied from: local:aiserver.v1.FSSyncFileResponse (var: EAs) +message FSSyncFileResponse { + FSSyncErrorType error = 1; +} + +// Copied from: local:aiserver.v1.FSUploadErrorType (var: A8l) +enum FSUploadErrorType { + FS_UPLOAD_ERROR_TYPE_UNSPECIFIED = 0; + FS_UPLOAD_ERROR_TYPE_NON_EXISTANT = 1; + FS_UPLOAD_ERROR_TYPE_HASH_MISMATCH = 2; +} + +// Copied from: local:aiserver.v1.FSUploadFileRequest (var: wAs) +message FSUploadFileRequest { + string uuid = 1; + string relative_workspace_path = 2; + string contents = 3; + int32 model_version = 4; + optional string sha256_hash = 5; +} + +// Copied from: local:aiserver.v1.FSUploadFileResponse (var: kAs) +message FSUploadFileResponse { + FSUploadErrorType error = 1; +} + +// Copied from: local:aiserver.v1.FastApplySource (var: iIs) +enum FastApplySource { + FAST_APPLY_SOURCE_UNSPECIFIED = 0; + FAST_APPLY_SOURCE_COMPOSER = 1; + FAST_APPLY_SOURCE_CLICKED_APPLY = 2; + FAST_APPLY_SOURCE_CACHED_APPLY = 3; + FAST_APPLY_SOURCE_COMPOSER_AGENT = 4; +} + +// Copied from: local:aiserver.v1.FastRepoInitHandshakeRequest (var: mIl) +message FastRepoInitHandshakeRequest { + RepositoryInfo repository = 1; + string root_hash = 2; + string potential_legacy_repo_name = 3; +} + +// Copied from: local:aiserver.v1.FastRepoInitHandshakeResponse (var: gIl) +message FastRepoInitHandshakeResponse { + // Copied from: local:aiserver.v1.FastRepoInitHandshakeResponse.Status (var: fIl) + enum Status { + STATUS_UNSPECIFIED = 0; + STATUS_UP_TO_DATE = 1; + STATUS_OUT_OF_SYNC = 2; + STATUS_FAILURE = 3; + STATUS_EMPTY = 4; + } + + Status status = 1; + string repo_name = 2; +} + +// Copied from: local:aiserver.v1.FastRepoInitHandshakeV2Request (var: vIl) +message FastRepoInitHandshakeV2Request { + RepositoryInfo repository = 1; + string root_hash = 2; + SimilarityMetricType similarity_metric_type = 3; + repeated float similarity_metric = 4; + string path_key_hash = 5; + PathKeyHashType path_key_hash_type = 6; + bool do_copy = 7; + string path_key = 8; + LocalCodebaseFileInfo local_codebase_root_info = 9; + bool return_after_background_copy_started = 10; +} + +// Copied from: local:aiserver.v1.FastRepoInitHandshakeV2Response (var: SIl) +message FastRepoInitHandshakeV2Response { + // Copied from: local:aiserver.v1.FastRepoInitHandshakeV2Response.Status (var: wIl) + enum Status { + STATUS_UNSPECIFIED = 0; + STATUS_FAILURE = 1; + STATUS_SUCCESS = 2; + } + + Status status = 1; + repeated RepositoryCodebaseInfo codebases = 2; +} + +// Copied from: local:aiserver.v1.FastRepoSyncCompleteRequest (var: EIl) +message FastRepoSyncCompleteRequest { + repeated RepositoryCodebaseSyncStatus codebases = 1; +} + +// Copied from: local:aiserver.v1.FastRepoSyncCompleteResponse (var: xIl) +message FastRepoSyncCompleteResponse { +} + +// Copied from: local:aiserver.v1.FastUpdateFileRequest (var: PIl) +message FastUpdateFileRequest { + // Copied from: local:aiserver.v1.FastUpdateFileRequest.LocalFile (var: NIl) + message LocalFile { + File file = 1; + string hash = 2; + string unencrypted_relative_workspace_path = 3; + } + + // Copied from: local:aiserver.v1.FastUpdateFileRequest.UpdateType (var: LIl) + enum UpdateType { + UPDATE_TYPE_UNSPECIFIED = 0; + UPDATE_TYPE_ADD = 1; + UPDATE_TYPE_DELETE = 2; + UPDATE_TYPE_MODIFY = 3; + } + + RepositoryInfo repository = 1; + repeated PartialPathItem ancestor_spline = 4; + UpdateType update_type = 5; + oneof partial_path { + PartialPathItem directory = 2; + LocalFile local_file = 3; + } +} + +// Copied from: local:aiserver.v1.FastUpdateFileResponse (var: OIl) +message FastUpdateFileResponse { + // Copied from: local:aiserver.v1.FastUpdateFileResponse.Status (var: FIl) + enum Status { + STATUS_UNSPECIFIED = 0; + STATUS_SUCCESS = 1; + STATUS_FAILURE = 2; + STATUS_EXPECTED_FAILURE = 3; + } + + Status status = 1; +} + +// Copied from: local:aiserver.v1.FastUpdateFileV2Request (var: BIl) +message FastUpdateFileV2Request { + // Copied from: local:aiserver.v1.FastUpdateFileV2Request.FileUpdate (var: UIl) + message FileUpdate { + repeated PartialPathItem ancestor_spline = 3; + FastUpdateFileV2Request.UpdateType update_type = 4; + oneof partial_path { + PartialPathItem directory = 1; + FastUpdateFileV2Request.LocalFile local_file = 2; + } + } + + // Copied from: local:aiserver.v1.FastUpdateFileV2Request.LocalFile (var: yfs) + message LocalFile { + File file = 1; + string hash = 2; + string unencrypted_relative_workspace_path = 3; + } + + // Copied from: local:aiserver.v1.FastUpdateFileV2Request.UpdateType (var: _fs) + enum UpdateType { + UPDATE_TYPE_UNSPECIFIED = 0; + UPDATE_TYPE_ADD = 1; + UPDATE_TYPE_DELETE = 2; + UPDATE_TYPE_MODIFY = 3; + UPDATE_TYPE_BATCH = 4; + } + + ClientRepositoryInfo client_repository_info = 1; + string codebase_id = 2; + repeated PartialPathItem ancestor_spline = 5; + UpdateType update_type = 6; + repeated FileUpdate file_updates = 7; + oneof partial_path { + PartialPathItem directory = 3; + LocalFile local_file = 4; + } +} + +// Copied from: local:aiserver.v1.FastUpdateFileV2Response (var: $Il) +message FastUpdateFileV2Response { + // Copied from: local:aiserver.v1.FastUpdateFileV2Response.Status (var: jIl) + enum Status { + STATUS_UNSPECIFIED = 0; + STATUS_SUCCESS = 1; + STATUS_FAILURE = 2; + STATUS_EXPECTED_FAILURE = 3; + } + + Status status = 1; +} + +// Copied from: anyrun.v1.FeatureExitCode (var: _Ls) +message FeatureExitCode { + string feature_id = 1; + int64 exit_code = 2; +} + +// Copied from: anyrun.v1.FeatureOutput (var: Lkn) +message FeatureOutput { + string feature_id = 1; + string output = 2; +} + +// Copied from: local:aiserver.v1.FeatureType (var: Pbc) +enum FeatureType { + FEATURE_TYPE_UNSPECIFIED = 0; + FEATURE_TYPE_EDIT = 1; + FEATURE_TYPE_GENERATE = 2; + FEATURE_TYPE_INLINE_LONG_COMPLETION = 3; +} + +// Copied from: agent.v1.FeedbackRequestCategory (var: BEs) +message FeedbackRequestCategory { + string id = 1; + string label = 2; +} + +// Copied from: agent.v1.FeedbackRequestCategoryGroup (var: O9l) +message FeedbackRequestCategoryGroup { + string id = 1; + string prompt = 2; + repeated FeedbackRequestCategory categories = 3; +} + +// Copied from: agent.v1.FeedbackRequestUpdate (var: UEs) +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:aiserver.v1.FetchAllInstallationReposRequest (var: SDi) +message FetchAllInstallationReposRequest { + int64 installation_id = 1; + optional int32 total_pages = 2; + optional bool include_all_team_owned_repos = 4; + optional string ghe_application = 5; + optional bool skip_cache = 6; +} + +// Copied from: local:aiserver.v1.FetchAllInstallationReposResponse (var: wNs) +message FetchAllInstallationReposResponse { + repeated GetGithubInstallationsResponse.Repository repos = 1; + optional string access_error = 2; +} + +// Copied from: agent.v1.FetchArgs (var: Y0s) +message FetchArgs { + string url = 1; + string tool_call_id = 2; +} + +// Copied from: local:aiserver.v1.FetchBackgroundComposerRequest (var: fNu) +message FetchBackgroundComposerRequest { + string bc_id = 1; + int32 start_index = 2; + optional int32 limit = 3; +} + +// Copied from: local:aiserver.v1.FetchBackgroundComposerResponse (var: vNu) +message FetchBackgroundComposerResponse { + repeated HeadlessAgenticComposerResponse responses = 1; + int32 total_responses = 2; +} + +// Copied from: agent.v1.FetchError (var: xFl) +message FetchError { + string url = 1; + string error = 2; +} + +// Copied from: local:aiserver.v1.FetchPullRequestParams (var: G_n) +message FetchPullRequestParams { + string pull_number_or_commit_hash = 1; + optional string repo = 2; + optional bool is_github = 3; +} + +// Copied from: local:aiserver.v1.FetchPullRequestResult (var: G0i) +message FetchPullRequestResult { + string content = 1; + uint32 pr_number = 2; + string title = 3; + string body = 4; + string author = 5; + string date = 6; + string diff = 7; + optional string sha = 8; + optional string external_link = 9; + optional string url = 10; + repeated IssueComment comments = 11; + repeated string labels = 12; + repeated string assignees = 13; + optional bool is_issue = 14; + optional string state = 15; + optional bool prompt_connect_github = 16; +} + +// Copied from: local:aiserver.v1.FetchPullRequestStream (var: i_s) +message FetchPullRequestStream { +} + +// Copied from: local:aiserver.v1.FetchRelevantKnowledgeForConversationRequest (var: NYl) +message FetchRelevantKnowledgeForConversationRequest { + string request_id = 1; + repeated ConversationMessage conversation = 2; + optional string git_origin = 3; + optional int32 limit = 4; + repeated string tagged_filenames = 5; +} + +// Copied from: local:aiserver.v1.FetchRelevantKnowledgeForConversationResponse (var: OYl) +message FetchRelevantKnowledgeForConversationResponse { + repeated ConversationMessage.KnowledgeItem knowledge_items = 1; +} + +// Copied from: agent.v1.FetchResult (var: Z0s) +message FetchResult { + oneof result { + FetchSuccess success = 1; + FetchError error = 2; + } +} + +// Copied from: local:aiserver.v1.FetchRulesParams (var: x_n) +message FetchRulesParams { + repeated string rule_names = 1; +} + +// Copied from: local:aiserver.v1.FetchRulesResult (var: A0i) +message FetchRulesResult { + repeated CursorRule rules = 1; +} + +// Copied from: local:aiserver.v1.FetchRulesStream (var: Kbs) +message FetchRulesStream { + repeated string rule_names = 1; +} + +// Copied from: agent.v1.FetchSuccess (var: EFl) +message FetchSuccess { + string url = 1; + string content = 2; + int32 status_code = 3; + string content_type = 4; +} + +// Copied from: local:aiserver.v1.File (var: Ihe) +message File { + string relative_workspace_path = 1; + string contents = 2; + FileGit file_git_context = 3; +} + +// Copied from: local:aiserver.v1.FileAndOutline (var: p) +message FileAndOutline { + CodeBlock file = 1; + optional string outline = 2; +} + +// Copied from: local:aiserver.v1.FileCodeSnippets (var: v0i) +message FileCodeSnippets { + string relative_workspace_path = 1; + int32 total_lines = 2; + repeated CodeSnippet snippets = 3; +} + +// Copied from: local:aiserver.v1.FileDiff (var: _Ne) +message FileDiff { + // Copied from: local:aiserver.v1.FileDiff.Chunk (var: jDt) + 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: local:aiserver.v1.FileEditRequest (var: Cuv) +message FileEditRequest { + string diff = 1; +} + +// Copied from: local:aiserver.v1.FileEditResponse (var: Euv) +message FileEditResponse { + string absolute_path = 1; + string query = 2; +} + +// Copied from: local:aiserver.v1.FileFilterRequest (var: Ydv) +message FileFilterRequest { + repeated ConversationMessage.CodeChunk files = 1; + ConversationMessage bug_description = 2; +} + +// Copied from: local:aiserver.v1.FileFilterResponse (var: Zdv) +message FileFilterResponse { + string file_path = 1; + float file_score = 2; +} + +// Copied from: local:aiserver.v1.FileGit (var: Tci) +message FileGit { + repeated GitCommit commits = 1; +} + +// Copied from: local:aiserver.v1.FileLink (var: BSn) +message FileLink { + string display_name = 1; + string relative_workspace_path = 2; +} + +// Copied from: local:aiserver.v1.FileRangeAnnotations (var: FAi) +message FileRangeAnnotations { + string file_path = 1; + repeated RangeGroup groups = 2; +} + +// Copied from: local:aiserver.v1.FileRequest (var: N8l) +message FileRequest { + string relative_workspace_path = 1; + optional int32 requested_version = 2; + optional string sha256_hash = 3; + bool required = 4; + optional google.protobuf.Timestamp earliest_time = 5; +} + +// Copied from: local:aiserver.v1.FileResult (var: JIl) +message FileResult { + File file = 1; + float score = 2; +} + +// Copied from: local:aiserver.v1.FileRetrieved (var: F8l) +message FileRetrieved { + string relative_workspace_path = 1; + string contents = 2; + int32 model_version = 3; + google.protobuf.Timestamp last_modified = 4; +} + +// Copied from: agent.v1.FileState (var: R9l) +message FileState { + optional string content = 1; + optional string initial_content = 2; +} + +// Copied from: agent.v1.FileStateStructure (var: wEs) +message FileStateStructure { + optional bytes content = 1; + optional bytes initial_content = 2; +} + +// Copied from: local:aiserver.v1.FilesyncUpdateWithModelVersion (var: zBt) +message FilesyncUpdateWithModelVersion { + int32 model_version = 1; + string relative_workspace_path = 2; + repeated SingleUpdateRequest updates = 3; + int32 expected_file_length = 4; +} + +// Copied from: local:aiserver.v1.FindBugsRequest (var: PQl) +message FindBugsRequest { + CurrentFileInfo current_file = 1; + ModelDetails model_details = 2; +} + +// Copied from: local:aiserver.v1.FindBugsResponse (var: LQl) +message FindBugsResponse { + // Copied from: local:aiserver.v1.FindBugsResponse.Bug (var: NQl) + message Bug { + string description = 1; + int32 line_number = 2; + float confidence = 3; + } + + optional Bug bug = 1; +} + +// Copied from: local:aiserver.v1.FinishSetupGithubEnterpriseAppRequest (var: Jcu) +message FinishSetupGithubEnterpriseAppRequest { + string installation_code = 1; + string pending_app_uuid = 2; +} + +// Copied from: local:aiserver.v1.FinishSetupGithubEnterpriseAppResponse (var: elu) +message FinishSetupGithubEnterpriseAppResponse { + optional string install_url = 1; +} + +// Copied from: local:aiserver.v1.FinishUpdateRepoRequest (var: Ue) +message FinishUpdateRepoRequest { + RepositoryInfo repository = 1; +} + +// Copied from: local:aiserver.v1.FinishUpdateRepoResponse (var: xe) +message FinishUpdateRepoResponse { + // Copied from: local:aiserver.v1.FinishUpdateRepoResponse.Status (var: w) + enum Status { + STATUS_UNSPECIFIED = 0; + STATUS_SUCCESS = 1; + STATUS_FAILURE = 2; + } + + Status status = 1; +} + +// Copied from: local:aiserver.v1.FinishUploadRepoRequest (var: Me) +message FinishUploadRepoRequest { + RepositoryInfo repository = 1; +} + +// Copied from: local:aiserver.v1.FinishUploadRepoResponse (var: Le) +message FinishUploadRepoResponse { + // Copied from: local:aiserver.v1.FinishUploadRepoResponse.Status (var: T) + enum Status { + STATUS_UNSPECIFIED = 0; + STATUS_SUCCESS = 1; + STATUS_FAILURE = 2; + } + + Status status = 1; +} + +// Copied from: local:aiserver.v1.FinishedCppGenerationEvent (var: y$l) +message FinishedCppGenerationEvent { + PointInTimeModel point_in_time_model = 1; + RecoverableCppData recoverable_cpp_data = 2; +} + +// Copied from: local:aiserver.v1.FirstPartyPluginConfiguration (var: N2s) +message FirstPartyPluginConfiguration { + FirstPartyPluginMode mode = 1; + repeated string allowed_plugin_ids = 2; +} + +// Copied from: local:aiserver.v1.FirstPartyPluginMode (var: vcu) +enum FirstPartyPluginMode { + FIRST_PARTY_PLUGIN_MODE_UNSPECIFIED = 0; + FIRST_PARTY_PLUGIN_MODE_ENABLE_ALL = 1; + FIRST_PARTY_PLUGIN_MODE_ALLOWLIST = 2; +} + +// Copied from: local:aiserver.v1.FixLintsParams (var: Q_n) +message FixLintsParams { +} + +// Copied from: local:aiserver.v1.FixLintsResult (var: Y0i) +message FixLintsResult { + // Copied from: local:aiserver.v1.FixLintsResult.FileResult (var: Z0i) + message FileResult { + string file_path = 1; + EditFileResult.FileDiff diff = 2; + bool is_applied = 3; + bool apply_failed = 4; + optional string error = 5; + repeated LinterError linter_errors = 6; + } + + repeated FileResult file_results = 1; +} + +// Copied from: local:aiserver.v1.FixLintsStream (var: o_s) +message FixLintsStream { +} + +// Copied from: local:aiserver.v1.FixLintsSubagentParams (var: xTs) +message FixLintsSubagentParams { +} + +// Copied from: local:aiserver.v1.FixLintsSubagentReturnValue (var: TTs) +message FixLintsSubagentReturnValue { +} + +// Copied from: local:aiserver.v1.FixMarkersRequest (var: oQl) +message FixMarkersRequest { + // Copied from: local:aiserver.v1.FixMarkersRequest.Marker (var: aQl) + message Marker { + // Copied from: local:aiserver.v1.FixMarkersRequest.Marker.AncestorTypeDefinition (var: uQl) + message AncestorTypeDefinition { + string name = 1; + string relative_workspace_path = 2; + int32 start_line = 3; + repeated string lines = 4; + } + + // Copied from: local:aiserver.v1.FixMarkersRequest.Marker.ClassInformation (var: mQl) + message ClassInformation { + // Copied from: local:aiserver.v1.FixMarkersRequest.Marker.ClassInformation.Constructor (var: gQl) + message Constructor { + int32 start_line = 1; + int32 end_line_inclusive = 2; + } + + string class_name = 1; + int32 start_line = 2; + repeated int32 top_level_lines = 3; + repeated string lines = 4; + repeated Constructor constructors = 5; + string detail = 6; + } + + // Copied from: local:aiserver.v1.FixMarkersRequest.Marker.ContextRange (var: lQl) + message ContextRange { + int32 start_line = 1; + int32 end_line_inclusive = 2; + } + + // Copied from: local:aiserver.v1.FixMarkersRequest.Marker.FunctionSignature (var: fQl) + message FunctionSignature { + // Copied from: local:aiserver.v1.FixMarkersRequest.Marker.FunctionSignature.FunctionParameter (var: vQl) + message FunctionParameter { + string label = 1; + string documentation = 2; + } + + string label = 1; + string documentation = 2; + repeated FunctionParameter parameters = 3; + } + + // Copied from: local:aiserver.v1.FixMarkersRequest.Marker.InsertedSymbolType (var: dQl) + message InsertedSymbolType { + string symbol_name = 1; + string symbol_type = 2; + string relative_workspace_path = 3; + int32 symbol_line = 4; + } + + // Copied from: local:aiserver.v1.FixMarkersRequest.Marker.QuickFix (var: hQl) + message QuickFix { + // Copied from: local:aiserver.v1.FixMarkersRequest.Marker.QuickFix.Edit (var: pQl) + message Edit { + string relative_workspace_path = 1; + int32 start_line = 2; + int32 end_line_inclusive = 3; + repeated string deleted_lines = 4; + repeated string add_lines = 5; + int32 snapshot = 6; + } + + string message = 1; + string kind = 2; + bool is_preferred = 3; + repeated Edit edits = 4; + } + + // Copied from: local:aiserver.v1.FixMarkersRequest.Marker.RelatedInformation (var: cQl) + message RelatedInformation { + string message = 1; + string relative_workspace_path = 2; + repeated string relevant_lines = 3; + int32 start_line = 4; + } + + repeated string lines = 1; + int32 start_line = 2; + int32 end_line_inclusive = 3; + string message = 4; + string relative_workspace_path = 5; + repeated RelatedInformation related_information = 6; + repeated ContextRange context_ranges = 7; + repeated AncestorTypeDefinition ancestor_type_definitions = 8; + repeated InsertedSymbolType inserted_symbol_types = 9; + repeated QuickFix quick_fixes = 10; + int32 start_column = 11; + int32 end_column_inclusive = 12; + repeated ClassInformation class_information = 13; + repeated FunctionSignature function_signatures = 14; + int32 snapshot = 15; + } + + repeated Marker markers = 1; + ModelDetails model_details = 2; + int32 iteration_number = 3; + string sequence_id = 4; + string user_instruction = 5; +} + +// Copied from: local:aiserver.v1.FixMarkersResponse (var: bQl) +message FixMarkersResponse { + // Copied from: local:aiserver.v1.FixMarkersResponse.Change (var: _Ql) + message Change { + int32 start_line = 1; + int32 end_line_exclusive = 2; + repeated string deleted_lines = 3; + repeated string add_lines = 4; + } + + string relative_workspace_path = 1; + repeated Change changes = 2; + bool success = 3; + int32 iteration_number = 4; +} + +// Copied from: local:aiserver.v1.FolderFileInfo (var: rTs) +message FolderFileInfo { + string relative_path = 1; + string content = 2; + bool truncated = 3; + float score = 4; +} + +// Copied from: local:aiserver.v1.FolderInfo (var: iTs) +message FolderInfo { + string relative_path = 1; + repeated FolderFileInfo files = 2; +} + +// Copied from: local:aiserver.v1.FolderSizeLimit (var: Q5s) +message FolderSizeLimit { + int32 max_total_bytes = 1; + int32 max_num_files = 2; +} + +// Copied from: agent.v1.ForceBackgroundShellArgs (var: qgs) +message ForceBackgroundShellArgs { + string tool_call_id = 1; +} + +// Copied from: agent.v1.ForceBackgroundShellResult (var: iAl) +message ForceBackgroundShellResult { + ForceBackgroundShellStatus status = 1; + optional ShellResult shell_result = 2; +} + +// Copied from: agent.v1.ForceBackgroundShellStatus (var: Wgs) +enum ForceBackgroundShellStatus { + FORCE_BACKGROUND_SHELL_STATUS_UNSPECIFIED = 0; + FORCE_BACKGROUND_SHELL_STATUS_ACCEPTED = 1; + FORCE_BACKGROUND_SHELL_STATUS_NOT_FOUND = 2; +} + +// Copied from: agent.v1.ForceBackgroundSubagentArgs (var: sAi) +message ForceBackgroundSubagentArgs { + string tool_call_id = 1; +} + +// Copied from: agent.v1.ForceBackgroundSubagentResult (var: oAi) +message ForceBackgroundSubagentResult { + ForceBackgroundSubagentStatus status = 1; +} + +// Copied from: agent.v1.ForceBackgroundSubagentStatus (var: gpt) +enum ForceBackgroundSubagentStatus { + FORCE_BACKGROUND_SUBAGENT_STATUS_UNSPECIFIED = 0; + FORCE_BACKGROUND_SUBAGENT_STATUS_ACCEPTED = 1; + FORCE_BACKGROUND_SUBAGENT_STATUS_NOT_FOUND = 2; +} + +// Copied from: local:aiserver.v1.ForceRecreateSandBoxRequest (var: Zqd) +message ForceRecreateSandBoxRequest { +} + +// Copied from: local:aiserver.v1.ForkBackgroundComposerMode (var: sMi) +enum ForkBackgroundComposerMode { + FORK_BACKGROUND_COMPOSER_MODE_UNSPECIFIED = 0; + FORK_BACKGROUND_COMPOSER_MODE_CONVERSATION = 1; + FORK_BACKGROUND_COMPOSER_MODE_POD = 2; +} + +// Copied from: local:aiserver.v1.ForkBackgroundComposerRequest (var: CFs) +message ForkBackgroundComposerRequest { + string source_bc_id = 1; + ForkBackgroundComposerMode mode = 2; + optional string name = 3; + optional uint32 turn_count = 4; +} + +// Copied from: local:aiserver.v1.ForkBackgroundComposerResponse (var: DPu) +message ForkBackgroundComposerResponse { + BackgroundComposer composer = 1; + string bc_id = 2; + string source_bc_id = 3; + ForkBackgroundComposerMode mode = 4; + optional string initial_run_id = 5; +} + +// Copied from: local:aiserver.v1.FreeTrialCodePurpose (var: Ecu) +enum FreeTrialCodePurpose { + FREE_TRIAL_CODE_PURPOSE_UNSPECIFIED = 0; + FREE_TRIAL_CODE_PURPOSE_FREE_TRIAL = 1; + FREE_TRIAL_CODE_PURPOSE_ORG_INVITE = 2; +} + +// Copied from: local:aiserver.v1.FullCommitNotes (var: Oe) +message FullCommitNotes { + repeated CommitNote notes = 1; + string commit_hash = 2; + string repo_url = 3; + string files_changed_relative_path = 4; +} + +// Copied from: local:aiserver.v1.FullFileSearchResult (var: MAi) +message FullFileSearchResult { + repeated FileResult results = 1; +} + +// Copied from: local:aiserver.v1.FullSelfDrivingActiveAgent (var: kDi) +message FullSelfDrivingActiveAgent { + string pr_url = 1; + string repo_url = 2; + int32 pull_number = 3; + string bc_id = 4; + bool enabled = 5; + FullSelfDrivingMode mode = 6; + int32 owner_user_id = 7; + optional string owner_display_name = 8; + optional string owner_email = 9; + optional string mergeable_state = 10; + optional bool is_mergeable = 11; + optional int32 visible_findings_count = 12; + optional FullSelfDrivingStatusUpdate latest_status_update = 13; + optional string pr_title = 14; +} + +// Copied from: local:aiserver.v1.FullSelfDrivingAutoApplyConfig (var: DPs) +message FullSelfDrivingAutoApplyConfig { + string match_kind = 1; + string match_key = 2; + string scope = 3; + string repo_owner = 4; + string repo_name = 5; + google.protobuf.Timestamp created_at = 6; + string producer = 7; +} + +// Copied from: local:aiserver.v1.FullSelfDrivingCloudCommandAction (var: yru) +enum FullSelfDrivingCloudCommandAction { + FULL_SELF_DRIVING_CLOUD_COMMAND_ACTION_UNSPECIFIED = 0; + FULL_SELF_DRIVING_CLOUD_COMMAND_ACTION_SPAWNED = 1; + FULL_SELF_DRIVING_CLOUD_COMMAND_ACTION_FOLLOWED_UP = 2; +} + +// Copied from: local:aiserver.v1.FullSelfDrivingFinding (var: gBe) +message FullSelfDrivingFinding { + string event_id = 1; + google.protobuf.Timestamp last_updated_at = 2; + string pr_url = 3; + string bc_id = 4; + string stable_key = 5; + string status = 6; + string title = 7; + string body = 8; + string severity = 9; + google.protobuf.Struct payload = 10; + string superseded_by_stable_key = 11; + string superseded_reason = 12; + string dismissed_reason = 13; + string kind = 14; + string action = 15; + string dedupe_key = 16; +} + +// Copied from: local:aiserver.v1.FullSelfDrivingMode (var: AH) +enum FullSelfDrivingMode { + FULL_SELF_DRIVING_MODE_UNSPECIFIED = 0; + FULL_SELF_DRIVING_MODE_SUGGEST = 1; + FULL_SELF_DRIVING_MODE_APPLY = 2; +} + +// Copied from: local:aiserver.v1.FullSelfDrivingOutputInput (var: RPs) +message FullSelfDrivingOutputInput { + string stable_key = 1; + string kind = 2; + string status = 3; + string title = 4; + string body = 5; + string severity = 6; + string action = 7; + google.protobuf.Struct payload = 8; +} + +// Copied from: local:aiserver.v1.FullSelfDrivingPrScopedSuggestion (var: Tkn) +message FullSelfDrivingPrScopedSuggestion { + FullSelfDrivingFinding finding = 1; + string producer = 2; + string producer_run_id = 3; + int64 created_by_user_id = 4; + optional int64 created_by_team_id = 5; +} + +// Copied from: local:aiserver.v1.FullSelfDrivingRepoSetting (var: kNs) +message FullSelfDrivingRepoSetting { + ProtectedGitProvider scm_provider = 1; + optional string git_enterprise_uuid = 2; + string scm_repo_node_id = 3; + string repo_url = 4; + bool enabled = 5; +} + +// Copied from: local:aiserver.v1.FullSelfDrivingRun (var: Tru) +message FullSelfDrivingRun { + string bc_id = 1; + string status = 2; + google.protobuf.Timestamp created_at = 3; + google.protobuf.Timestamp first_finished_at = 4; + string branch_name = 5; + bool auto_branch = 6; + int32 files_changed = 7; + string source = 8; + string active_run_id = 9; + optional FullSelfDrivingRunLiveStatus latest_status_update = 10; +} + +// Copied from: local:aiserver.v1.FullSelfDrivingRunLiveStatus (var: xru) +message FullSelfDrivingRunLiveStatus { + string state = 1; + string status = 2; + repeated string loading_messages = 3; + google.protobuf.Timestamp updated_at = 4; +} + +// Copied from: local:aiserver.v1.FullSelfDrivingRunSuggestionState (var: xkn) +enum FullSelfDrivingRunSuggestionState { + FULL_SELF_DRIVING_RUN_SUGGESTION_STATE_UNSPECIFIED = 0; + FULL_SELF_DRIVING_RUN_SUGGESTION_STATE_RUNNING = 1; + FULL_SELF_DRIVING_RUN_SUGGESTION_STATE_NO_CHANGES = 2; + FULL_SELF_DRIVING_RUN_SUGGESTION_STATE_READY = 3; + FULL_SELF_DRIVING_RUN_SUGGESTION_STATE_NOT_SUGGEST_MODE = 4; +} + +// Copied from: local:aiserver.v1.FullSelfDrivingStatusUpdate (var: PSu) +message FullSelfDrivingStatusUpdate { + string state = 1; + string status = 2; + repeated string loading_messages = 3; + google.protobuf.Timestamp updated_at = 4; +} + +// Copied from: local:aiserver.v1.FullSelfDrivingTeamRepoSetting (var: ENs) +message FullSelfDrivingTeamRepoSetting { + int32 team_id = 1; + ProtectedGitProvider scm_provider = 2; + optional string git_enterprise_uuid = 3; + string scm_repo_node_id = 4; + string repo_url = 5; + bool enabled = 6; +} + +// Copied from: local:aiserver.v1.FullSelfDrivingTeamSettings (var: CNs) +message FullSelfDrivingTeamSettings { + int32 team_id = 1; + FullSelfDrivingMode default_mode = 2; + bool only_cloud_agent_prs = 3; + bool globally_disabled = 4; + bool auto_create_on_first_pr_push = 5; +} + +// Copied from: agent.v1.GenerateImageArgs (var: LOt) +message GenerateImageArgs { + string description = 1; + optional string file_path = 2; + repeated string reference_image_paths = 5; + optional string aspect_ratio = 6; +} + +// Copied from: agent.v1.GenerateImageError (var: SAl) +message GenerateImageError { + string error = 1; +} + +// Copied from: local:aiserver.v1.GenerateImageReferenceImage (var: eGl) +message GenerateImageReferenceImage { + string data = 1; + string mime_type = 2; +} + +// Copied from: agent.v1.GenerateImageRequestQuery (var: wAl) +message GenerateImageRequestQuery { + GenerateImageArgs args = 1; + string tool_call_id = 2; +} + +// Copied from: agent.v1.GenerateImageRequestResponse (var: d0i) +message GenerateImageRequestResponse { + // Copied from: agent.v1.GenerateImageRequestResponse.Approved (var: rfs) + message Approved { + string description = 1; + } + + // Copied from: agent.v1.GenerateImageRequestResponse.Rejected (var: sfs) + message Rejected { + string reason = 1; + } + + oneof result { + Approved approved = 1; + Rejected rejected = 2; + } +} + +// Copied from: agent.v1.GenerateImageResult (var: xFe) +message GenerateImageResult { + oneof result { + GenerateImageSuccess success = 1; + GenerateImageError error = 2; + } +} + +// Copied from: agent.v1.GenerateImageSuccess (var: nfs) +message GenerateImageSuccess { + string file_path = 1; + string image_data = 2; +} + +// Copied from: local:aiserver.v1.GenerateTldrRequest (var: EVl) +message GenerateTldrRequest { + string text = 1; +} + +// Copied from: local:aiserver.v1.GenerateTldrResponse (var: xVl) +message GenerateTldrResponse { + string summary = 1; + string all = 2; +} + +// Copied from: local:aiserver.v1.GenericLogSpanUpdate (var: icu) +message GenericLogSpanUpdate { + google.protobuf.Timestamp timestamp = 1; + string message = 2; + WaterfallLogLevel level = 3; +} + +// Copied from: local:aiserver.v1.GetActivationCheckoutUrlRequest (var: Nmu) +message GetActivationCheckoutUrlRequest { + int32 team_id = 1; + int32 seats = 2; + bool yearly = 3; + int32 request_quota_per_seat = 4; + optional string code = 5; + optional string radar_session_id = 6; + optional bool include_bugbot = 7; + optional TeamMemberBillingTier billing_tier = 8; +} + +// Copied from: local:aiserver.v1.GetActivationCheckoutUrlResponse (var: Omu) +message GetActivationCheckoutUrlResponse { + string checkout_url = 1; +} + +// Copied from: local:aiserver.v1.GetActiveOffboardingBannerRequest (var: Y1u) +message GetActiveOffboardingBannerRequest { + optional int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.GetActiveOffboardingBannerResponse (var: Z1u) +message GetActiveOffboardingBannerResponse { + bool has_banner = 1; + optional OffboardingBanner banner = 2; +} + +// Copied from: local:aiserver.v1.GetAdminNotificationStatusRequest (var: J0u) +message GetAdminNotificationStatusRequest { + int32 team_id = 1; + AdminNotificationRequestType request_type = 2; + repeated NotifyTeamAdminsRepo repos = 3; + optional string ghe_application = 4; +} + +// Copied from: local:aiserver.v1.GetAdminNotificationStatusResponse (var: e1u) +message GetAdminNotificationStatusResponse { + bool can_send = 1; + optional int64 last_sent_timestamp = 2; +} + +// Copied from: local:aiserver.v1.GetAdvancedAnalyticsEnabledRequest (var: Z_u) +message GetAdvancedAnalyticsEnabledRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.GetAdvancedAnalyticsEnabledResponse (var: X_u) +message GetAdvancedAnalyticsEnabledResponse { + bool enabled = 1; +} + +// Copied from: local:aiserver.v1.GetAgentSharePreviewRequest (var: yFu) +message GetAgentSharePreviewRequest { + string share_id = 1; + optional bool include_preview_image = 2; +} + +// Copied from: local:aiserver.v1.GetAgentSharePreviewResponse (var: SFu) +message GetAgentSharePreviewResponse { + string share_id = 1; + string bc_id = 2; + optional string name = 3; + optional string summary = 4; + optional string status = 5; + optional string error_message = 6; + optional string repo_url = 7; + optional string branch_name = 8; + optional string artifact_image_url = 9; + optional bytes preview_image_png = 10; +} + +// Copied from: local:aiserver.v1.GetAgentStoreFileLockRequest (var: VBu) +message GetAgentStoreFileLockRequest { + string store_id = 1; + string rel_path = 2; +} + +// Copied from: local:aiserver.v1.GetAgentStoreFileLockResponse (var: GBu) +message GetAgentStoreFileLockResponse { + bool held = 1; + optional AgentStoreFileLockHolder holder = 2; + int64 expires_at_ms = 3; +} + +// Copied from: local:aiserver.v1.GetAgenticOnboardingConfigRequest (var: Ulu) +message GetAgenticOnboardingConfigRequest { +} + +// Copied from: local:aiserver.v1.GetAgenticOnboardingConfigResponse (var: $lu) +message GetAgenticOnboardingConfigResponse { + bool agentic_onboarding_enabled = 1; +} + +// Copied from: local:aiserver.v1.GetAggregatedUsageEventsRequest (var: TNs) +message GetAggregatedUsageEventsRequest { + int32 team_id = 1; + optional int64 start_date = 2; + optional int64 end_date = 3; + optional int32 user_id = 4; +} + +// Copied from: local:aiserver.v1.GetAggregatedUsageEventsResponse (var: ewu) +message GetAggregatedUsageEventsResponse { + // Copied from: local:aiserver.v1.GetAggregatedUsageEventsResponse.ModelUsageAggregation (var: twu) + message ModelUsageAggregation { + string model_intent = 1; + int64 input_tokens = 2; + int64 output_tokens = 3; + int64 cache_write_tokens = 4; + int64 cache_read_tokens = 5; + double total_cents = 6; + optional double request_cost = 7; + optional int32 tier = 8; + } + + repeated ModelUsageAggregation aggregations = 1; + int64 total_input_tokens = 2; + int64 total_output_tokens = 3; + int64 total_cache_write_tokens = 4; + int64 total_cache_read_tokens = 5; + double total_cost_cents = 6; + double percent_of_burst_used = 7; + optional double total_request_cost = 8; +} + +// Copied from: local:aiserver.v1.GetAllAdPreviewsRequest (var: zgv) +message GetAllAdPreviewsRequest { +} + +// Copied from: local:aiserver.v1.GetAllAdPreviewsResponse (var: qgv) +message GetAllAdPreviewsResponse { + repeated InAppAdPreview ads = 1; +} + +// Copied from: local:aiserver.v1.GetAllSimulationsRequest (var: Bbv) +message GetAllSimulationsRequest { +} + +// Copied from: local:aiserver.v1.GetAllSimulationsResponse (var: Ubv) +message GetAllSimulationsResponse { + repeated SimulationWithUser simulations = 1; +} + +// Copied from: local:aiserver.v1.GetApprovalAgentAnalyticsRequest (var: AHu) +message GetApprovalAgentAnalyticsRequest { + optional string automation_id = 1; + optional int32 team_id = 2; +} + +// Copied from: local:aiserver.v1.GetApprovalAgentAnalyticsResponse (var: IHu) +message GetApprovalAgentAnalyticsResponse { + uint32 approved_pr_count = 1; + uint32 reviewed_pr_count = 2; + uint32 automation_count = 3; +} + +// Copied from: local:aiserver.v1.GetAtSymbolSuggestionsRequest (var: HHl) +message GetAtSymbolSuggestionsRequest { + CurrentFileInfo current_file_info = 1; + repeated AtSymbolDependencyInformation at_symbol_dependencies = 2; + repeated AtSymbolOption at_symbol_options = 3; + string user_query = 4; + ModelDetails model_details = 5; +} + +// Copied from: local:aiserver.v1.GetAtSymbolSuggestionsResponse (var: zHl) +message GetAtSymbolSuggestionsResponse { + repeated int32 indices = 1; + string explanation = 2; +} + +// Copied from: local:aiserver.v1.GetAuditLogsRequest (var: nwu) +message GetAuditLogsRequest { + optional int32 team_id = 1; + optional int64 start_date = 2; + optional int64 end_date = 3; + optional string event_type = 4; + optional string search = 5; + optional int32 page = 6; + optional int32 page_size = 7; +} + +// Copied from: local:aiserver.v1.GetAuditLogsResponse (var: iwu) +message GetAuditLogsResponse { + repeated AuditLogEvent events = 1; + int32 total_count = 2; +} + +// Copied from: local:aiserver.v1.GetAutomationMemoryRequest (var: gHu) +message GetAutomationMemoryRequest { + string automation_id = 1; + string file = 2; +} + +// Copied from: local:aiserver.v1.GetAutomationMemoryResponse (var: fHu) +message GetAutomationMemoryResponse { + string file = 1; + string content = 2; + bool exists = 3; + optional string version = 4; +} + +// Copied from: local:aiserver.v1.GetAutomationRequest (var: GLi) +message GetAutomationRequest { + string automation_id = 2; + optional int32 team_id = 3; +} + +// Copied from: local:aiserver.v1.GetAutomationResponse (var: m9s) +message GetAutomationResponse { + oneof result { + AutomationWithOwner workflow = 1; + RestrictedAutomationSummary restricted_summary = 2; + } +} + +// Copied from: local:aiserver.v1.GetAutomationRunRequest (var: aHu) +message GetAutomationRunRequest { + string background_composer_id = 1; +} + +// Copied from: local:aiserver.v1.GetAutomationRunResponse (var: cHu) +message GetAutomationRunResponse { + optional AutomationRun run = 1; +} + +// Copied from: local:aiserver.v1.GetAvailableChunkingStrategiesRequest (var: GIl) +message GetAvailableChunkingStrategiesRequest { + RepositoryInfo repository = 1; +} + +// Copied from: local:aiserver.v1.GetAvailableChunkingStrategiesResponse (var: qIl) +message GetAvailableChunkingStrategiesResponse { + repeated ChunkingStrategy chunking_strategies = 1; +} + +// Copied from: local:aiserver.v1.GetAvailableMcpServersRequest (var: Ghu) +message GetAvailableMcpServersRequest { +} + +// Copied from: local:aiserver.v1.GetAvailableMcpServersResponse (var: lDi) +message GetAvailableMcpServersResponse { + // Copied from: local:aiserver.v1.GetAvailableMcpServersResponse.McpAccountInfo (var: qhu) + message McpAccountInfo { + string account_key = 1; + string server_identifier = 2; + bool user_has_access_token = 3; + } + + // Copied from: local:aiserver.v1.GetAvailableMcpServersResponse.McpServerInfo (var: m2s) + message McpServerInfo { + int32 id = 1; + string name = 2; + bool is_team_server = 3; + bool enabled = 4; + string type = 5; + optional string command = 6; + repeated string args = 7; + optional string url = 8; + optional int64 plugin_id = 9; + bool is_unseen = 10; + optional bool user_has_access_token = 11; + bool is_required = 12; + bool managed_by_team_plugin_policy = 13; + bool disabled_by_team_admin_policy = 14; + optional string server_identifier = 15; + optional int32 owning_team_id = 16; + repeated GetAvailableMcpServersResponse.McpAccountInfo accounts = 17; + } + + repeated McpServerInfo servers = 1; +} + +// Copied from: local:aiserver.v1.GetBackgroundComposerArtifactBytesRequest (var: ANu) +message GetBackgroundComposerArtifactBytesRequest { + string bc_id = 1; + string absolute_path = 2; +} + +// Copied from: local:aiserver.v1.GetBackgroundComposerArtifactBytesResponse (var: INu) +message GetBackgroundComposerArtifactBytesResponse { + bytes content = 1; + string content_type = 2; +} + +// Copied from: local:aiserver.v1.GetBackgroundComposerArtifactRequest (var: xNu) +message GetBackgroundComposerArtifactRequest { + string bc_id = 1; + string absolute_path = 2; +} + +// Copied from: local:aiserver.v1.GetBackgroundComposerArtifactResponse (var: TNu) +message GetBackgroundComposerArtifactResponse { + string url = 1; + string expires_at = 2; +} + +// Copied from: local:aiserver.v1.GetBackgroundComposerChangesHashRequest (var: fMu) +message GetBackgroundComposerChangesHashRequest { + string bc_id = 1; + optional string branch_name = 2; +} + +// Copied from: local:aiserver.v1.GetBackgroundComposerChangesHashResponse (var: vMu) +message GetBackgroundComposerChangesHashResponse { + string hash = 1; +} + +// Copied from: local:aiserver.v1.GetBackgroundComposerConversationRequest (var: VLu) +message GetBackgroundComposerConversationRequest { + string bc_id = 1; +} + +// Copied from: local:aiserver.v1.GetBackgroundComposerConversationResponse (var: $Fs) +message GetBackgroundComposerConversationResponse { + repeated ConversationMessage conversation = 1; +} + +// Copied from: local:aiserver.v1.GetBackgroundComposerDiffDetailsRequest (var: bMu) +message GetBackgroundComposerDiffDetailsRequest { + string bc_id = 1; + optional string branch_name = 2; + optional string repo_url = 3; +} + +// Copied from: local:aiserver.v1.GetBackgroundComposerDiffDetailsResponse (var: yMu) +message GetBackgroundComposerDiffDetailsResponse { + string branch_name = 1; + string base_branch = 2; + repeated BackgroundComposerFullDiff diffs = 3; + repeated GitDiff git_diffs = 4; +} + +// Copied from: local:aiserver.v1.GetBackgroundComposerEnvironmentVersionRequest (var: V2u) +message GetBackgroundComposerEnvironmentVersionRequest { + string bc_id = 1; +} + +// Copied from: local:aiserver.v1.GetBackgroundComposerEnvironmentVersionResponse (var: G2u) +message GetBackgroundComposerEnvironmentVersionResponse { + repeated EnvironmentVersionSummary environment_version_history = 1; +} + +// Copied from: local:aiserver.v1.GetBackgroundComposerFeedbackLinkRequest (var: jYl) +message GetBackgroundComposerFeedbackLinkRequest { +} + +// Copied from: local:aiserver.v1.GetBackgroundComposerFeedbackLinkResponse (var: WYl) +message GetBackgroundComposerFeedbackLinkResponse { + string url = 1; +} + +// Copied from: local:aiserver.v1.GetBackgroundComposerInfoRequest (var: Lqe) +message GetBackgroundComposerInfoRequest { + string bc_id = 1; + bool include_diff = 2; + bool do_not_throw_if_setup_not_finished = 3; +} + +// Copied from: local:aiserver.v1.GetBackgroundComposerInfoResponse (var: BFs) +message GetBackgroundComposerInfoResponse { + DetailedBackgroundComposer composer = 1; +} + +// Copied from: local:aiserver.v1.GetBackgroundComposerNameRequest (var: _Nu) +message GetBackgroundComposerNameRequest { + string bc_id = 1; +} + +// Copied from: local:aiserver.v1.GetBackgroundComposerNameResponse (var: yNu) +message GetBackgroundComposerNameResponse { + string name = 1; +} + +// Copied from: local:aiserver.v1.GetBackgroundComposerPromptRequest (var: SNu) +message GetBackgroundComposerPromptRequest { + string bc_id = 1; +} + +// Copied from: local:aiserver.v1.GetBackgroundComposerPromptResponse (var: wNu) +message GetBackgroundComposerPromptResponse { + ConversationMessage prompt = 1; +} + +// Copied from: local:aiserver.v1.GetBackgroundComposerPullRequestRequest (var: MCn) +message GetBackgroundComposerPullRequestRequest { + string bc_id = 1; +} + +// Copied from: local:aiserver.v1.GetBackgroundComposerPullRequestResponse (var: GLu) +message GetBackgroundComposerPullRequestResponse { + string pr_url = 1; +} + +// Copied from: local:aiserver.v1.GetBackgroundComposerRepositoryInfoRequest (var: DLu) +message GetBackgroundComposerRepositoryInfoRequest { + string bc_id = 1; +} + +// Copied from: local:aiserver.v1.GetBackgroundComposerRepositoryInfoResponse (var: MLu) +message GetBackgroundComposerRepositoryInfoResponse { + RepositoryInfo repository_info = 1; + optional string path_encryption_key = 2; + QueryOnlyRepoAccess query_only_repo_access = 3; +} + +// Copied from: local:aiserver.v1.GetBackgroundComposerSlashCommandsRequest (var: GNs) +message GetBackgroundComposerSlashCommandsRequest { + string bc_id = 1; + optional string repo_url = 2; + optional string git_ref = 3; +} + +// Copied from: local:aiserver.v1.GetBackgroundComposerSlashCommandsResponse (var: TEu) +message GetBackgroundComposerSlashCommandsResponse { + repeated string skill_names = 3; + repeated string command_names = 4; + repeated SkillDescriptor skills = 5; + repeated CommandDescriptor commands = 6; + optional bool machine_inventory_pending = 8; +} + +// Copied from: local:aiserver.v1.GetBackgroundComposerSnapshotInfoRequest (var: rMu) +message GetBackgroundComposerSnapshotInfoRequest { + string snapshot_id = 1; +} + +// Copied from: local:aiserver.v1.GetBackgroundComposerSnapshotInfoResponse (var: sMu) +message GetBackgroundComposerSnapshotInfoResponse { + string snapshot_id = 1; + ChangeBackgroundComposerSnapshotVisibilityRequest.Visibility visibility = 2; + string repo_url = 3; + double created_at_ms = 4; +} + +// Copied from: local:aiserver.v1.GetBackgroundComposerSnapshotStateRequest (var: hMu) +message GetBackgroundComposerSnapshotStateRequest { + string snapshot_id = 1; +} + +// Copied from: local:aiserver.v1.GetBackgroundComposerSnapshotStateResponse (var: pMu) +message GetBackgroundComposerSnapshotStateResponse { + string snapshot_id = 1; + SnapshotState state = 2; + optional string error_message = 3; +} + +// Copied from: local:aiserver.v1.GetBackgroundComposerStatusRequest (var: sLu) +message GetBackgroundComposerStatusRequest { + string bc_id = 1; +} + +// Copied from: local:aiserver.v1.GetBackgroundComposerStatusResponse (var: oLu) +message GetBackgroundComposerStatusResponse { + BackgroundComposerStatus status = 1; + bool is_unread = 2; +} + +// Copied from: local:aiserver.v1.GetBackgroundComposerTimingsRequest (var: kLu) +message GetBackgroundComposerTimingsRequest { + string bc_id = 1; +} + +// Copied from: local:aiserver.v1.GetBackgroundComposerTimingsResponse (var: RLu) +message GetBackgroundComposerTimingsResponse { + repeated CloudAgentTimingEvent events = 1; +} + +// Copied from: local:aiserver.v1.GetBackgroundComposerUserSettingsRequest (var: GNu) +message GetBackgroundComposerUserSettingsRequest { +} + +// Copied from: local:aiserver.v1.GetBackgroundComposerUserSettingsResponse (var: qNu) +message GetBackgroundComposerUserSettingsResponse { + optional string model_name = 1; + optional bool slack_notifications_for_web_enabled = 2; + optional bool ci_failure_followup_enabled = 3; + optional bool browser_use_enabled = 4; + optional AutoCreatePrSetting auto_create_pr_setting = 5; + optional PrReviewOpenDestinationMode pr_review_open_destination = 6; + optional GithubArtifactPostingMode github_artifact_posting = 7; + optional CloudAgentEgressProtectionMode egress_protection_mode = 8; + optional BackgroundComposerUserEgressPolicy egress_policy = 9; + optional string branch_prefix = 10; + optional BackgroundComposerQuickActionSettings quick_action_settings = 11; + optional bool allow_private_workers = 12; + optional string default_environment_public_id = 13; + repeated BackgroundComposerDefaultEnvironmentSetting default_environment_settings = 14; + optional bool remote_control_enabled = 15; + optional PrReviewOpenSurfaceMode pr_review_open_surface = 16; + repeated string sidebar_named_agent_ids = 17; + optional CloudAgentModelSelection default_model_selection = 18; + optional int32 ask_question_auto_answer_timeout_minutes = 19; +} + +// Copied from: local:aiserver.v1.GetBackgroundComposerVmUsageRequest (var: $Ou) +message GetBackgroundComposerVmUsageRequest { + string bc_id = 1; +} + +// Copied from: local:aiserver.v1.GetBackgroundComposerVmUsageResponse (var: jOu) +message GetBackgroundComposerVmUsageResponse { + int64 total_duration_ms = 1; +} + +// Copied from: local:aiserver.v1.GetBackgroundJobRequest (var: Tuu) +message GetBackgroundJobRequest { + string job_handle = 1; +} + +// Copied from: local:aiserver.v1.GetBackgroundJobResponse (var: Iuu) +message GetBackgroundJobResponse { + optional BackgroundJobStatus status = 1; +} + +// Copied from: local:aiserver.v1.GetBaseTeamAdminSettingsRequest (var: Sbu) +message GetBaseTeamAdminSettingsRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.GetBedrockModelsRequest (var: Hl) +message GetBedrockModelsRequest { + string access_key = 1; + string secret_key = 2; + string region = 3; +} + +// Copied from: local:aiserver.v1.GetBedrockModelsResponse (var: Vl) +message GetBedrockModelsResponse { + repeated string models = 1; + optional string error = 2; +} + +// Copied from: local:aiserver.v1.GetBitbucketForgeStatusRequest (var: fIu) +message GetBitbucketForgeStatusRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.GetBitbucketForgeStatusResponse (var: vIu) +message GetBitbucketForgeStatusResponse { + string status = 1; + optional string workspace_name = 2; + optional string base_url = 3; + optional string workspace_settings_url = 4; +} + +// Copied from: local:aiserver.v1.GetBlobForAgentKVRequest (var: Dqe) +message GetBlobForAgentKVRequest { + string bc_id = 1; + bytes blob_id = 2; +} + +// Copied from: local:aiserver.v1.GetBlobForAgentKVResponse (var: YPu) +message GetBlobForAgentKVResponse { + bytes blob_data = 1; +} + +// Copied from: local:aiserver.v1.GetBranchComparisonRequest (var: dRu) +message GetBranchComparisonRequest { + string repo_url = 1; + string branch_name = 2; + optional string base_branch = 3; +} + +// Copied from: local:aiserver.v1.GetBranchComparisonResponse (var: hRu) +message GetBranchComparisonResponse { + repeated SCMPullRequestDiffFile files = 1; + string base_sha = 2; + string head_sha = 3; + string base_branch = 4; +} + +// Copied from: local:aiserver.v1.GetBugBotPRAnalyticsRequest (var: wyu) +message GetBugBotPRAnalyticsRequest { + optional string github_repo_node_id = 1; + optional string status = 2; + optional string github_user_node_id = 3; + optional string start_date = 4; + optional string end_date = 5; + optional int32 min_bugs_found = 6; + optional int32 limit = 7; + optional int32 team_id = 8; +} + +// Copied from: local:aiserver.v1.GetBugBotPRAnalyticsResponse (var: kyu) +message GetBugBotPRAnalyticsResponse { + repeated BugBotPRAnalytics prs = 2; + repeated PRUserOption user_options = 3; +} + +// Copied from: local:aiserver.v1.GetBugBotProUserModeRequest (var: O1u) +message GetBugBotProUserModeRequest { +} + +// Copied from: local:aiserver.v1.GetBugBotProUserModeResponse (var: F1u) +message GetBugBotProUserModeResponse { + BugbotMode mode = 1; + repeated BugbotModePrompt prompts = 2; + bool smart_frontier_enabled = 3; + bool frontier_available = 4; +} + +// Copied from: local:aiserver.v1.GetBugBotProUserSettingsRequest (var: $Su) +message GetBugBotProUserSettingsRequest { +} + +// Copied from: local:aiserver.v1.GetBugBotProUserSettingsResponse (var: jSu) +message GetBugBotProUserSettingsResponse { + bool enabled = 1; + bool bugbot_was_enabled_in_this_billing_cycle = 2; + BugbotUsageTier bugbot_usage_tier = 3; + BugbotBillingMode bugbot_billing_mode = 4; + bool can_migrate_to_usage_based = 5; + int32 seat_license_count = 6; + bool bugbot_usage_based_on_enable = 7; + bool bugbot_migration_credit_already_granted = 8; +} + +// Copied from: local:aiserver.v1.GetBugBotRunEtaRequest (var: j6l) +message GetBugBotRunEtaRequest { + string repository_owner = 1; + string repository_name = 2; + int32 pr_number = 3; +} + +// Copied from: local:aiserver.v1.GetBugBotRunEtaResponse (var: W6l) +message GetBugBotRunEtaResponse { + BugBotRunStatus status = 1; + optional int64 estimated_completion_time_ms = 2; +} + +// Copied from: local:aiserver.v1.GetBugbotAnalyticsV2Request (var: yyu) +message GetBugbotAnalyticsV2Request { + optional string start_date = 1; + optional string end_date = 2; + optional string grouping = 3; + optional int32 team_id = 4; +} + +// Copied from: local:aiserver.v1.GetBugbotAnalyticsV2Response (var: Syu) +message GetBugbotAnalyticsV2Response { + bool should_see_analytics = 1; + repeated BugbotAnalyticsDataPoint prs_reviewed_series = 2; + repeated BugbotAnalyticsDataPoint bugs_found_series = 3; + repeated BugbotAnalyticsDataPoint num_runs_series = 4; + repeated BugbotAnalyticsDataPoint bugs_resolved_series = 5; + double pct_resolution_rate = 6; + repeated BugbotAnalyticsDataPoint unique_users_series = 7; + int32 unique_users_total = 8; + repeated BugbotAnalyticsDataPoint high_sev_resolved_series = 9; + repeated BugbotAnalyticsDataPoint medium_sev_resolved_series = 10; + repeated BugbotAnalyticsDataPoint low_sev_resolved_series = 11; + repeated BugbotAnalyticsDataPoint autofix_prs_merged_series = 12; + int32 total_autofix_runs = 13; + repeated BugbotAnalyticsDataPoint cost_cents_series = 14; + repeated BugbotAnalyticsDataPoint num_billed_runs_series = 15; + int32 total_bugs_found = 16; + int32 total_bugs_evaluated = 17; + repeated BugbotAnalyticsDataPoint bugs_evaluated_series = 18; +} + +// Copied from: local:aiserver.v1.GetBugbotBackfillStatusRequest (var: Wyu) +message GetBugbotBackfillStatusRequest { + string workflow_id = 1; +} + +// Copied from: local:aiserver.v1.GetBugbotBackfillStatusResponse (var: Hyu) +message GetBugbotBackfillStatusResponse { + BugbotBackfillStatus status = 1; + optional string error_message = 2; + optional int32 rules_generated = 3; +} + +// Copied from: local:aiserver.v1.GetBugbotLearnedRulesRequest (var: BEu) +message GetBugbotLearnedRulesRequest { + int64 installation_id = 1; + optional string ghe_application = 2; + optional string repo_node_id_filter = 3; +} + +// Copied from: local:aiserver.v1.GetBugbotLearnedRulesResponse (var: UEu) +message GetBugbotLearnedRulesResponse { + repeated BugbotLearnedRule rules = 1; +} + +// Copied from: local:aiserver.v1.GetBugbotManualRepositoryRulesRequest (var: GEu) +message GetBugbotManualRepositoryRulesRequest { + int64 installation_id = 1; + optional string ghe_application = 2; + optional string repo_node_id_filter = 3; +} + +// Copied from: local:aiserver.v1.GetBugbotManualRepositoryRulesResponse (var: qEu) +message GetBugbotManualRepositoryRulesResponse { + repeated BugbotManualRepositoryRule rules = 1; +} + +// Copied from: local:aiserver.v1.GetBugbotMergedPrScanSummaryRequest (var: I1u) +message GetBugbotMergedPrScanSummaryRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.GetBugbotMergedPrScanSummaryResponse (var: R1u) +message GetBugbotMergedPrScanSummaryResponse { + // Copied from: local:aiserver.v1.GetBugbotMergedPrScanSummaryResponse.Finding (var: D1u) + message Finding { + string description = 1; + string severity = 2; + string category = 3; + string repo_owner = 4; + string repo_name = 5; + int32 pr_number = 6; + string pr_url = 7; + string file = 8; + int32 start_line = 9; + int32 end_line = 10; + repeated string code_lines = 11; + string installation_id = 12; + string repo_node_id = 13; + int64 pr_merged_at_epoch_millis = 14; + string pr_title = 15; + string diff_hunk = 16; + } + + bool has_scan = 1; + int64 scanned_at_epoch_millis = 2; + int32 window_days = 3; + int32 prs_sampled = 4; + int32 prs_with_findings = 5; + int32 bugs_found = 6; + repeated Finding findings = 7; + int32 total_merged_prs = 8; +} + +// Copied from: local:aiserver.v1.GetBugbotModeRequest (var: M1u) +message GetBugbotModeRequest { +} + +// Copied from: local:aiserver.v1.GetBugbotModeResponse (var: P1u) +message GetBugbotModeResponse { + BugbotMode mode = 1; + repeated BugbotModePrompt prompts = 2; + bool smart_frontier_enabled = 3; + bool frontier_available = 4; +} + +// Copied from: local:aiserver.v1.GetBugbotRuleAnalyticsRequest (var: exu) +message GetBugbotRuleAnalyticsRequest { + optional string date_range_start = 1; + optional string date_range_end = 2; + optional int32 team_id = 3; +} + +// Copied from: local:aiserver.v1.GetBugbotRuleAnalyticsResponse (var: txu) +message GetBugbotRuleAnalyticsResponse { + repeated BugbotRuleAnalytics rules = 1; +} + +// Copied from: local:aiserver.v1.GetBugbotRuleByIdRequest (var: nxu) +message GetBugbotRuleByIdRequest { + string rule_id = 1; + optional int32 team_id = 2; +} + +// Copied from: local:aiserver.v1.GetBugbotRuleByIdResponse (var: ixu) +message GetBugbotRuleByIdResponse { + optional BugbotRule team_rule = 1; + optional BugbotLearnedRule learned_rule = 2; + BugbotRuleAnalytics analytics = 3; + optional BugbotManualRepositoryRule manual_rule = 4; +} + +// Copied from: local:aiserver.v1.GetBugbotSettingsRequest (var: byu) +message GetBugbotSettingsRequest { +} + +// Copied from: local:aiserver.v1.GetBugbotSettingsResponse (var: _yu) +message GetBugbotSettingsResponse { + bool available = 1; + bool enabled = 2; + repeated string pr_urls = 3; +} + +// Copied from: local:aiserver.v1.GetBugbotSuggestedReposRequest (var: Ryu) +message GetBugbotSuggestedReposRequest { + optional string ghe_application = 1; + optional int32 limit = 2; +} + +// Copied from: local:aiserver.v1.GetBugbotSuggestedReposResponse (var: Dyu) +message GetBugbotSuggestedReposResponse { + // Copied from: local:aiserver.v1.GetBugbotSuggestedReposResponse.SuggestedRepo (var: Myu) + message SuggestedRepo { + int64 installation_id = 1; + string repo_node_id = 2; + string owner = 3; + string name = 4; + string html_url = 5; + int32 pr_count_last_week = 6; + } + + repeated SuggestedRepo repos = 1; + bool can_enable = 2; +} + +// Copied from: local:aiserver.v1.GetBugbotTeamRulesRequest (var: REu) +message GetBugbotTeamRulesRequest { + optional bool active_only = 1; + optional int32 team_id = 2; +} + +// Copied from: local:aiserver.v1.GetBugbotTeamRulesResponse (var: DEu) +message GetBugbotTeamRulesResponse { + repeated BugbotRule rules = 1; +} + +// Copied from: local:aiserver.v1.GetBugbotUserSettingsRequest (var: pSu) +message GetBugbotUserSettingsRequest { + optional int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.GetBugbotUserSettingsResponse (var: mSu) +message GetBugbotUserSettingsResponse { + bool manual_trigger_only = 1; + bool run_only_once = 2; + bool suppress_no_bugs_comments = 3; + optional bool enable_draft = 4; + optional bool is_pr_summary_enabled = 5; + BugbotAutofixMode bugbot_autofix_mode = 6; + bool enable_vm_run = 7; + bool fail_github_action_on_bugbot_findings = 8; + repeated string bugbot_autofix_severity_filter = 9; + optional bool installation_default_enable_draft = 10; + optional bool installation_default_is_pr_summary_enabled = 11; + BugbotAutofixMode installation_default_bugbot_autofix_mode = 12; + repeated string installation_default_bugbot_autofix_severity_filter = 13; + optional bool is_incremental_review_enabled = 14; + optional bool team_default_is_incremental_review_enabled = 15; + optional bool is_pr_risk_score_enabled = 16; + optional bool installation_default_is_pr_risk_score_enabled = 17; +} + +// Copied from: local:aiserver.v1.GetChatPromptResponse (var: pi) +message GetChatPromptResponse { + string prompt = 1; + int32 token_count = 2; +} + +// Copied from: local:aiserver.v1.GetChatRequest (var: OGe) +message GetChatRequest { + CurrentFileInfo current_file = 1; + repeated ConversationMessage conversation = 2; + repeated RepositoryInfo repositories = 3; + ExplicitContext explicit_context = 4; + optional string workspace_root_path = 5; + repeated CodeBlock code_blocks = 6; + ModelDetails model_details = 7; + repeated string documentation_identifiers = 8; + string request_id = 9; + LinterErrors linter_errors = 10; + optional string summary = 11; + optional int32 summary_up_until_index = 12; + optional bool allow_long_file_scan = 13; + optional bool is_bash = 14; + string conversation_id = 15; + optional bool can_handle_filenames_after_language_ids = 16; + optional string use_web = 17; + repeated ChatQuote quotes = 18; + optional DebugInfo debug_info = 19; + optional string workspace_id = 20; + repeated ChatExternalLink external_links = 21; + repeated CommitNote commit_notes = 23; + optional bool long_context_mode = 22; + optional bool is_eval = 24; + optional int32 desired_max_tokens = 26; + ContextAST context_ast = 25; + optional bool is_composer = 27; + optional bool runnable_code_blocks = 28; + optional bool should_cache = 29; + optional bool allow_model_fallbacks = 30; + optional int32 number_of_times_shown_fallback_model_warning = 31; +} + +// Copied from: local:aiserver.v1.GetChatSuggestionsRequest (var: eHl) +message GetChatSuggestionsRequest { + repeated RecentChat recent_chats = 1; +} + +// Copied from: local:aiserver.v1.GetChatSuggestionsResponse (var: tHl) +message GetChatSuggestionsResponse { + repeated ChatSuggestionItem suggestions = 1; +} + +// Copied from: local:aiserver.v1.GetChatTitleRequest (var: Kql) +message GetChatTitleRequest { + repeated ConversationMessage conversation = 2; +} + +// Copied from: local:aiserver.v1.GetChatTitleResponse (var: Qql) +message GetChatTitleResponse { + string title = 1; +} + +// Copied from: agent.v1.GetCiStatusAction (var: sBl) +message GetCiStatusAction { + optional string pr_url = 1; + optional string branch_name = 2; + optional string repo_url = 3; +} + +// Copied from: local:aiserver.v1.GetCliDownloadUrlRequest (var: qfu) +message GetCliDownloadUrlRequest { + string current_version = 1; + string channel = 2; +} + +// Copied from: local:aiserver.v1.GetCliDownloadUrlResponse (var: Kfu) +message GetCliDownloadUrlResponse { + string url = 1; + string version = 2; +} + +// Copied from: local:aiserver.v1.GetClientUsageDataRequest (var: Kbu) +message GetClientUsageDataRequest { + string conversation_id = 1; + int32 timestamp_before_request = 2; +} + +// Copied from: local:aiserver.v1.GetClientUsageDataResponse (var: Qbu) +message GetClientUsageDataResponse { + // Copied from: local:aiserver.v1.GetClientUsageDataResponse.NameToCost (var: Ybu) + message NameToCost { + string name = 1; + int32 cost_in_cents = 2; + } + + repeated NameToCost items_with_cost = 1; +} + +// Copied from: local:aiserver.v1.GetClientVisibleCreditGrantsRequest (var: K_u) +message GetClientVisibleCreditGrantsRequest { + optional int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.GetClientVisibleCreditGrantsResponse (var: Q_u) +message GetClientVisibleCreditGrantsResponse { + repeated ClientVisibleCreditGrant grants = 1; +} + +// Copied from: local:aiserver.v1.GetCloudAgentDebugDetailsRequest (var: VOu) +message GetCloudAgentDebugDetailsRequest { + string bc_id = 1; + optional bytes agent_blob_id = 2; + optional bytes blob_id = 3; +} + +// Copied from: local:aiserver.v1.GetCloudAgentDebugDetailsResponse (var: YOu) +message GetCloudAgentDebugDetailsResponse { + bytes cloud_agent_state_blob_id = 1; + CloudAgentState cloud_agent_state = 2; + repeated StreamConversationResponse stream_messages = 3; + repeated PreFetchedBlob pre_fetched_blobs = 4; + CloudAgentVmHistory vm_history = 5; +} + +// Copied from: local:aiserver.v1.GetCloudAgentMemoryDbLogsRequest (var: gFu) +message GetCloudAgentMemoryDbLogsRequest { + string bc_id = 1; + optional uint32 worker_index = 2; + optional int32 limit = 3; +} + +// Copied from: local:aiserver.v1.GetCloudAgentMemoryDbLogsResponse (var: fFu) +message GetCloudAgentMemoryDbLogsResponse { + repeated CloudAgentMemoryDbLogEntry entries = 1; + bool truncated = 2; +} + +// Copied from: local:aiserver.v1.GetCloudAgentPluginsSnapshotRequest (var: qNs) +message GetCloudAgentPluginsSnapshotRequest { + optional bool use_replica = 1; + optional int32 team_id = 2; +} + +// Copied from: local:aiserver.v1.GetCloudAgentPluginsSnapshotResponse (var: IEu) +message GetCloudAgentPluginsSnapshotResponse { + string snapshot_token = 1; + repeated CloudAgentPluginSnapshot plugins = 2; + repeated string warnings = 3; +} + +// Copied from: local:aiserver.v1.GetCloudAgentRunForDashboardRequest (var: NMu) +message GetCloudAgentRunForDashboardRequest { + string bc_id = 1; +} + +// Copied from: local:aiserver.v1.GetCloudAgentRunForDashboardResponse (var: OMu) +message GetCloudAgentRunForDashboardResponse { + CloudAgentDashboardRunRow row = 1; + string name = 2; +} + +// Copied from: local:aiserver.v1.GetCloudSetupBlockersRequest (var: aYl) +message GetCloudSetupBlockersRequest { + string selected_target_repo_url = 1; +} + +// Copied from: local:aiserver.v1.GetCloudSetupBlockersResponse (var: cYl) +message GetCloudSetupBlockersResponse { + repeated CloudSetupBlocker pending = 1; + repeated CloudSetupBlocker completed = 2; +} + +// Copied from: local:aiserver.v1.GetCodebaseQuestionsResponse (var: $Hl) +message GetCodebaseQuestionsResponse { + repeated string questions = 1; +} + +// Copied from: local:aiserver.v1.GetCodebaseSnapshotStatusRequest (var: xdv) +message GetCodebaseSnapshotStatusRequest { + string codebase_uuid = 1; + string commit_hash = 2; +} + +// Copied from: local:aiserver.v1.GetCodebaseSnapshotStatusResponse (var: Tdv) +message GetCodebaseSnapshotStatusResponse { + // Copied from: local:aiserver.v1.GetCodebaseSnapshotStatusResponse.Incomplete (var: Rdv) + message Incomplete { + } + + // Copied from: local:aiserver.v1.GetCodebaseSnapshotStatusResponse.Pending (var: Adv) + message Pending { + } + + // Copied from: local:aiserver.v1.GetCodebaseSnapshotStatusResponse.Verified (var: Idv) + message Verified { + } + + oneof status { + Pending pending = 1; + Verified verified = 2; + Incomplete incomplete = 3; + } +} + +// Copied from: local:aiserver.v1.GetCommitMetricsByFilePathRequest (var: gUu) +message GetCommitMetricsByFilePathRequest { + string file_path = 1; + optional int32 start_line = 2; + optional int32 end_line = 3; + optional string commit_hash = 4; + optional int32 limit = 5; + optional string branch = 6; + optional string user_email = 7; + optional bool include_plans = 9; + optional bool include_skills = 10; + optional bool include_mcps = 11; + optional ConversationSummarizationPromptOptions summarization_prompt_options = 12; + optional int32 team_id = 13; +} + +// Copied from: local:aiserver.v1.GetCommitMetricsRequest (var: L5s) +message GetCommitMetricsRequest { + repeated string commit_hashes = 1; + optional string branch = 2; + bool on_demand_summaries = 3; + optional bool include_plans = 5; + optional bool include_skills = 6; + optional bool include_mcps = 7; + optional ConversationSummarizationPromptOptions summarization_prompt_options = 12; + optional int32 team_id = 13; +} + +// Copied from: local:aiserver.v1.GetCommitMetricsResponse (var: N5s) +message GetCommitMetricsResponse { + repeated CommitMetrics commits = 1; + repeated ConversationReference conversations = 2; +} + +// Copied from: local:aiserver.v1.GetCompletionRequest (var: iKl) +message GetCompletionRequest { + UniqueFileIdentifier file_identifier = 1; + CursorPosition cursor_position = 2; + SurroundingLines surrounding_lines = 3; + ExplicitContext explicit_context = 4; + repeated string suggestions_from_editor = 5; +} + +// Copied from: local:aiserver.v1.GetCompletionResponse (var: rKl) +message GetCompletionResponse { + string completion = 1; + float score = 2; + optional string debugging_only_completion_prompt = 3; +} + +// Copied from: local:aiserver.v1.GetComposerAutocompleteRequest (var: pIs) +message GetComposerAutocompleteRequest { + string input_text = 1; + optional string composer_id = 2; + optional ComposerAutocompleteContext context = 3; +} + +// Copied from: local:aiserver.v1.GetComposerAutocompleteResponse (var: mIs) +message GetComposerAutocompleteResponse { + string suggestion = 1; +} + +// Copied from: local:aiserver.v1.GetComposerChatRequest (var: OAi) +message GetComposerChatRequest { + // Copied from: local:aiserver.v1.GetComposerChatRequest.RecentEdits (var: Tql) + message RecentEdits { + // Copied from: local:aiserver.v1.GetComposerChatRequest.RecentEdits.CodeBlockInfo (var: Aql) + message CodeBlockInfo { + string relative_workspace_path = 1; + optional string content_before = 2; + optional string content_after = 3; + optional string generation_uuid = 4; + optional int32 version = 5; + } + + // Copied from: local:aiserver.v1.GetComposerChatRequest.RecentEdits.FileInfo (var: Iql) + message FileInfo { + string relative_workspace_path = 1; + string content = 2; + } + + repeated CodeBlockInfo code_block_info = 1; + repeated FileInfo final_file_values = 2; + optional string edits_belong_to_composer_generation_uuid = 3; + } + + // Copied from: local:aiserver.v1.GetComposerChatRequest.RedDiff (var: xql) + message RedDiff { + string relative_workspace_path = 1; + repeated SimplestRange red_ranges = 2; + repeated SimplestRange red_ranges_reversed = 3; + string start_hash = 4; + string end_hash = 5; + } + + repeated ConversationMessage conversation = 1; + optional bool allow_long_file_scan = 2; + ExplicitContext explicit_context = 3; + optional bool can_handle_filenames_after_language_ids = 4; + ModelDetails model_details = 5; + LinterErrors linter_errors = 6; + repeated string documentation_identifiers = 7; + optional string use_web = 8; + repeated ComposerExternalLink external_links = 9; + optional ConversationMessage project_context = 10; + repeated RedDiff diffs_for_compressing_files = 11; + optional bool compress_edits = 12; + optional bool should_cache = 13; + repeated LinterErrors multi_file_linter_errors = 14; + CurrentFileInfo current_file = 15; + optional RecentEdits recent_edits = 16; + optional bool use_reference_composer_diff_prompt = 17; + repeated ComposerFileDiffHistory file_diff_histories = 18; + optional bool use_new_compression_scheme = 19; + repeated RankedContext additional_ranked_context = 20; + repeated ChatQuote quotes = 21; + optional bool willing_to_pay_extra_for_speed = 22; + string conversation_id = 23; + optional bool use_unified_chat_prompt = 24; + optional bool use_full_inputs_context = 25; + optional bool is_resume = 26; + optional string context_bank_session_id = 27; + optional int32 context_bank_version = 28; + optional bytes context_bank_encryption_key = 31; + CodeSearchResult uses_codebase_results = 29; +} + +// Copied from: local:aiserver.v1.GetContactImportAvatarRequest (var: Tgu) +message GetContactImportAvatarRequest { + int64 contact_id = 1; +} + +// Copied from: local:aiserver.v1.GetContactImportAvatarResponse (var: Agu) +message GetContactImportAvatarResponse { + bytes bytes = 1; + string content_type = 2; + string etag = 3; +} + +// Copied from: local:aiserver.v1.GetCopyStatusRequest (var: aRl) +message GetCopyStatusRequest { + string codebase_id = 1; + string copy_task_handle = 2; +} + +// Copied from: local:aiserver.v1.GetCopyStatusResponse (var: cRl) +message GetCopyStatusResponse { + // Copied from: local:aiserver.v1.GetCopyStatusResponse.CompletedStatus (var: uRl) + enum CompletedStatus { + COMPLETED_STATUS_UNSPECIFIED = 0; + COMPLETED_STATUS_UP_TO_DATE = 1; + COMPLETED_STATUS_OUT_OF_SYNC = 2; + COMPLETED_STATUS_FAILURE = 3; + } + + // Copied from: local:aiserver.v1.GetCopyStatusResponse.Phase (var: lRl) + enum Phase { + PHASE_UNSPECIFIED = 0; + PHASE_INITIALIZING = 1; + PHASE_COPYING = 2; + PHASE_COMPLETED = 3; + PHASE_CREATING_SEARCH_FILTERS = 4; + PHASE_COPYING_SEARCH_STATE = 5; + PHASE_COPYING_TREE_STATE = 6; + PHASE_SYNCING_COPY = 7; + } + + Phase phase = 1; + float percent_done = 2; + string error_message = 3; + optional CompletedStatus completed_status = 4; +} + +// Copied from: local:aiserver.v1.GetCppEditClassificationRequest (var: AAs) +message GetCppEditClassificationRequest { + StreamCppRequest cpp_request = 1; + repeated SuggestedEdit suggested_edits = 25; + bool marker_touches_green = 26; + string current_file_contents_for_linter_errors = 27; +} + +// Copied from: local:aiserver.v1.GetCppEditClassificationResponse (var: t$l) +message GetCppEditClassificationResponse { + // Copied from: local:aiserver.v1.GetCppEditClassificationResponse.LogProbs (var: n$l) + message LogProbs { + repeated string tokens = 1; + repeated double token_logprobs = 2; + } + + // Copied from: local:aiserver.v1.GetCppEditClassificationResponse.ScoredEdit (var: pAi) + message ScoredEdit { + SuggestedEdit edit = 1; + GetCppEditClassificationResponse.LogProbs log_probs = 2; + } + + repeated ScoredEdit scored_edits = 1; + ScoredEdit noop_edit = 2; + optional bool should_noop = 3; + ScoredEdit generation_edit = 4; +} + +// Copied from: local:aiserver.v1.GetCreditGrantsBalanceRequest (var: G_u) +message GetCreditGrantsBalanceRequest { + optional int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.GetCreditGrantsBalanceResponse (var: q_u) +message GetCreditGrantsBalanceResponse { + bool has_credit_grants = 1; + int64 credit_balance_cents = 2; + int64 total_cents = 3; + int64 used_cents = 4; +} + +// Copied from: local:aiserver.v1.GetCurrentBillingCycleRequest (var: gyu) +message GetCurrentBillingCycleRequest { + optional int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.GetCurrentBillingCycleResponse (var: fyu) +message GetCurrentBillingCycleResponse { + int64 start_date_epoch_millis = 1; + int64 end_date_epoch_millis = 2; +} + +// Copied from: local:aiserver.v1.GetCurrentPeriodUsageRequest (var: mDi) +message GetCurrentPeriodUsageRequest { + optional int32 team_id = 1; + optional bool include_pooled_usage = 2; +} + +// Copied from: local:aiserver.v1.GetCurrentPeriodUsageResponse (var: Zbu) +message GetCurrentPeriodUsageResponse { + // Copied from: local:aiserver.v1.GetCurrentPeriodUsageResponse.FreeBestOfNPromotion (var: e_u) + message FreeBestOfNPromotion { + int32 trials_used = 1; + int32 trials_remaining = 2; + } + + // Copied from: local:aiserver.v1.GetCurrentPeriodUsageResponse.PlanUsage (var: Xbu) + message PlanUsage { + int32 total_spend = 1; + int32 included_spend = 2; + int32 bonus_spend = 3; + int32 remaining = 4; + int32 limit = 5; + optional bool remaining_bonus = 6; + optional string bonus_tooltip = 7; + optional int32 auto_spend = 8; + optional int32 api_spend = 9; + optional int32 auto_limit = 10; + optional int32 api_limit = 11; + optional double auto_percent_used = 12; + optional double api_percent_used = 13; + optional double total_percent_used = 14; + } + + // Copied from: local:aiserver.v1.GetCurrentPeriodUsageResponse.SpendLimitUsage (var: Jbu) + message SpendLimitUsage { + int32 total_spend = 1; + optional int32 pooled_limit = 2; + optional int32 pooled_used = 3; + optional int32 pooled_remaining = 4; + optional int32 individual_limit = 5; + int32 individual_used = 6; + int32 individual_remaining = 7; + string limit_type = 8; + optional int32 overall_limit = 9; + optional int32 overall_used = 10; + optional int32 overall_remaining = 11; + } + + int64 billing_cycle_start = 1; + int64 billing_cycle_end = 2; + PlanUsage plan_usage = 3; + SpendLimitUsage spend_limit_usage = 4; + optional int32 display_threshold = 5; + bool enabled = 6; + string display_message = 7; + optional FreeBestOfNPromotion free_best_of_n_promotion = 8; + optional string auto_model_selected_display_message = 11; + optional string named_model_selected_display_message = 12; + repeated string auto_bucket_models = 13; +} + +// Copied from: local:aiserver.v1.GetCursorReviewEntitlementRequest (var: P_u) +message GetCursorReviewEntitlementRequest { +} + +// Copied from: local:aiserver.v1.GetCursorReviewEntitlementResponse (var: N_u) +message GetCursorReviewEntitlementResponse { + // Copied from: local:aiserver.v1.GetCursorReviewEntitlementResponse.BillingContext (var: O_u) + enum BillingContext { + BILLING_CONTEXT_UNSPECIFIED = 0; + BILLING_CONTEXT_INDIVIDUAL = 1; + BILLING_CONTEXT_TEAM = 2; + BILLING_CONTEXT_ENTERPRISE = 3; + } + + // Copied from: local:aiserver.v1.GetCursorReviewEntitlementResponse.Reason (var: F_u) + enum Reason { + REASON_UNSPECIFIED = 0; + REASON_OK = 1; + REASON_REQUIRES_TEAM_OR_ENTERPRISE = 2; + REASON_CURSOR_REVIEW_DISABLED = 3; + REASON_REQUIRES_PAID_PLAN = 4; + REASON_CURSOR_IDENTITY_UNAVAILABLE = 5; + } + + bool eligible_for_cursor_review = 1; + bool requires_onboarding = 2; + BillingContext billing_context = 3; + Reason reason = 4; + optional int32 team_id = 5; + optional string team_name = 6; + optional CursorReviewEntitlementScope scope = 7; + bool eligible_for_origin_review = 8; +} + +// Copied from: local:aiserver.v1.GetCursorServerUrlRequest (var: vFs) +message GetCursorServerUrlRequest { + string bc_id = 1; + string commit = 2; + optional string connection_token = 3; +} + +// Copied from: local:aiserver.v1.GetCursorServerUrlResponse (var: ZMu) +message GetCursorServerUrlResponse { + // Copied from: local:aiserver.v1.GetCursorServerUrlResponse.Header (var: XMu) + message Header { + string key = 1; + string value = 2; + } + + string host = 1; + int32 port = 2; + string connection_token = 3; + repeated Header headers = 4; +} + +// Copied from: local:aiserver.v1.GetCursorUserStateRequest (var: OOs) +message GetCursorUserStateRequest { +} + +// Copied from: local:aiserver.v1.GetCursorUserStateResponse (var: aIu) +message GetCursorUserStateResponse { + google.protobuf.Struct state = 1; +} + +// Copied from: local:aiserver.v1.GetDailySpendByCategoryRequest (var: ADi) +message GetDailySpendByCategoryRequest { + optional int32 team_id = 1; + optional int32 user_id = 2; + int64 period_start_ms = 3; + int64 period_end_ms = 4; + SpendGroupByCategory group_by = 5; + optional SpendType spend_type = 6; + optional string service_account_id = 7; + optional string cloud_agent_id = 8; + optional string automation_id = 9; + optional string automation_managed_type = 10; + optional string client_type = 11; + repeated string products = 12; +} + +// Copied from: local:aiserver.v1.GetDailySpendByCategoryResponse (var: FNs) +message GetDailySpendByCategoryResponse { + repeated DailySpendByCategory daily_spend = 1; + repeated string categories = 2; + optional int32 effective_limit_cents = 3; +} + +// Copied from: local:aiserver.v1.GetDataOpsJobRequest (var: emv) +message GetDataOpsJobRequest { + string job_id = 1; +} + +// Copied from: local:aiserver.v1.GetDataOpsJobResponse (var: tmv) +message GetDataOpsJobResponse { + DataOpsJobRecord job = 1; +} + +// Copied from: local:aiserver.v1.GetDebuggingDataUploadUrlRequest (var: yqd) +message GetDebuggingDataUploadUrlRequest { +} + +// Copied from: local:aiserver.v1.GetDebuggingDataUploadUrlResponse (var: Sqd) +message GetDebuggingDataUploadUrlResponse { + string url = 1; +} + +// Copied from: local:aiserver.v1.GetDeeplinkDataRequest (var: shv) +message GetDeeplinkDataRequest { + string deeplink_id = 1; + string encryption_key = 2; +} + +// Copied from: local:aiserver.v1.GetDeeplinkDataResponse (var: ohv) +message GetDeeplinkDataResponse { + DeeplinkType type = 1; + map data = 2; + string created_by = 3; + int64 created_at = 4; +} + +// Copied from: agent.v1.GetDefaultModelForCliRequest (var: aAs) +message GetDefaultModelForCliRequest { +} + +// Copied from: agent.v1.GetDefaultModelForCliResponse (var: cAs) +message GetDefaultModelForCliResponse { + ModelDetails model = 1; +} + +// Copied from: local:aiserver.v1.GetDefaultModelNudgeDataRequest (var: oRs) +message GetDefaultModelNudgeDataRequest { + // Copied from: local:aiserver.v1.GetDefaultModelNudgeDataRequest.StartupOpportunity (var: ASe) + enum StartupOpportunity { + STARTUP_OPPORTUNITY_UNSPECIFIED = 0; + STARTUP_OPPORTUNITY_FIRST_OPEN = 1; + STARTUP_OPPORTUNITY_REOPEN = 2; + } + + StartupOpportunity startup_opportunity = 1; + RequestedModel current_model = 2; +} + +// Copied from: local:aiserver.v1.GetDefaultModelNudgeDataResponse (var: iYl) +message GetDefaultModelNudgeDataResponse { + // Copied from: local:aiserver.v1.GetDefaultModelNudgeDataResponse.ApplicationOpenModelSwitch (var: rYl) + message ApplicationOpenModelSwitch { + string nudge_id = 1; + string experiment_name = 2; + GetDefaultModelNudgeDataResponse.InitialModel target_model = 3; + } + + // Copied from: local:aiserver.v1.GetDefaultModelNudgeDataResponse.InitialModel (var: aRs) + message InitialModel { + string model_id = 1; + repeated RequestedModel.ModelParameterValue parameters = 2; + } + + string nudge_date = 1; + bool should_default_switch_on_new_chat = 2; + repeated string models_with_no_default_switch = 3; + string conversion_model_override = 4; + InitialModel initial_model = 5; + ApplicationOpenModelSwitch application_open_model_switch = 6; +} + +// Copied from: local:aiserver.v1.GetDefaultModelRequest (var: cRs) +message GetDefaultModelRequest { +} + +// Copied from: local:aiserver.v1.GetDefaultModelResponse (var: sYl) +message GetDefaultModelResponse { + string model = 1; + string thinking_model = 2; + bool max_mode = 3; + string next_default_set_date = 4; +} + +// Copied from: local:aiserver.v1.GetDetailedPullRequestStatusRequest (var: JFs) +message GetDetailedPullRequestStatusRequest { + string pr_url = 1; + optional int32 cache_expiration_seconds = 2; +} + +// Copied from: local:aiserver.v1.GetDetailedPullRequestStatusResponse (var: eBs) +message GetDetailedPullRequestStatusResponse { + bool is_merged = 1; + bool is_closed = 2; + string mergeable_state = 3; + string state = 4; + bool is_draft = 5; + string title = 6; + string base_branch = 7; + int32 behind_by = 8; + bool can_update_branch = 9; + optional PRCheckStatus check_status = 10; + optional string review_decision = 11; + bool is_auto_merge_enabled = 12; + optional string head_sha = 13; + optional string base_sha = 14; + optional bool viewer_can_enable_auto_merge = 15; + repeated PRDeploymentPreview deployment_previews = 16; + optional int32 additions = 17; + optional int32 deletions = 18; + optional int32 commit_count = 19; + optional int32 review_count = 20; + repeated PRReviewSummary reviewers = 21; + repeated PRRequestedReviewer requested_reviewers = 22; + optional bool requires_merge_queue = 23; + optional bool is_in_merge_queue = 24; +} + +// Copied from: local:aiserver.v1.GetDiffRequest (var: bNe) +message GetDiffRequest { + // Copied from: local:aiserver.v1.GetDiffRequest.OutputFormat (var: zln) + 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: local:aiserver.v1.GetDiffResponse (var: xhe) +message GetDiffResponse { + // Copied from: local:aiserver.v1.GetDiffResponse.SubmoduleDiff (var: Bbc) + 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:aiserver.v1.GetDiffReviewRequest (var: sRs) +message GetDiffReviewRequest { + // Copied from: local:aiserver.v1.GetDiffReviewRequest.SimpleFileDiff (var: $Ql) + message SimpleFileDiff { + // Copied from: local:aiserver.v1.GetDiffReviewRequest.SimpleFileDiff.Chunk (var: jQl) + message Chunk { + repeated string old_lines = 1; + repeated string new_lines = 2; + LineRange old_range = 3; + LineRange new_range = 4; + } + + string relative_workspace_path = 1; + repeated Chunk chunks = 2; + } + + repeated SimpleFileDiff diffs = 1; + optional string model = 2; +} + +// Copied from: local:aiserver.v1.GetDirectoryGroupsRequest (var: ONs) +message GetDirectoryGroupsRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.GetDirectoryGroupsResponse (var: e0u) +message GetDirectoryGroupsResponse { + repeated DirectoryGroup directory_groups = 1; +} + +// Copied from: local:aiserver.v1.GetDocRequest (var: Rbv) +message GetDocRequest { + string doc_identifier = 1; +} + +// Copied from: local:aiserver.v1.GetDownloadLinkRequest (var: zfu) +message GetDownloadLinkRequest { + // Copied from: local:aiserver.v1.GetDownloadLinkRequest.Platform (var: Vfu) + enum Platform { + PLATFORM_UNSPECIFIED = 0; + PLATFORM_MAC_APPLE_SILICON = 1; + PLATFORM_MAC_INTEL = 2; + PLATFORM_MAC_UNIVERSAL = 3; + PLATFORM_WINDOWS = 4; + PLATFORM_LINUX = 5; + } + + Platform platform = 1; +} + +// Copied from: local:aiserver.v1.GetDownloadLinkResponse (var: Gfu) +message GetDownloadLinkResponse { + string cached_download_link = 1; +} + +// Copied from: local:aiserver.v1.GetEditorBugbotAutoRunStatusRequest (var: wHl) +message GetEditorBugbotAutoRunStatusRequest { +} + +// Copied from: local:aiserver.v1.GetEditorBugbotAutoRunStatusResponse (var: kHl) +message GetEditorBugbotAutoRunStatusResponse { + bool should_auto_run = 1; +} + +// Copied from: local:aiserver.v1.GetEffectiveMcpConfigForUserRequest (var: zhu) +message GetEffectiveMcpConfigForUserRequest { +} + +// Copied from: local:aiserver.v1.GetEffectiveMcpConfigForUserResponse (var: Vhu) +message GetEffectiveMcpConfigForUserResponse { + string config_json = 1; +} + +// Copied from: local:aiserver.v1.GetEffectiveTokenLimitRequest (var: Jzl) +message GetEffectiveTokenLimitRequest { + ModelDetails model_details = 1; +} + +// Copied from: local:aiserver.v1.GetEffectiveTokenLimitResponse (var: eVl) +message GetEffectiveTokenLimitResponse { + int32 token_limit = 1; +} + +// Copied from: local:aiserver.v1.GetEffectiveUserPluginsRequest (var: bOs) +message GetEffectiveUserPluginsRequest { + optional bool use_replica = 1; + optional int32 team_id = 2; + bool exclude_configured_variables = 4; +} + +// Copied from: local:aiserver.v1.GetEffectiveUserPluginsResponse (var: yOs) +message GetEffectiveUserPluginsResponse { + repeated EffectivePlugin plugins = 1; + repeated Marketplace marketplaces = 2; +} + +// Copied from: local:aiserver.v1.GetEmailRequest (var: nuv) +message GetEmailRequest { +} + +// Copied from: local:aiserver.v1.GetEmailResponse (var: iuv) +message GetEmailResponse { + // Copied from: local:aiserver.v1.GetEmailResponse.SignUpType (var: EZe) + enum SignUpType { + SIGN_UP_TYPE_UNSPECIFIED = 0; + SIGN_UP_TYPE_AUTH_0 = 1; + SIGN_UP_TYPE_GITHUB = 2; + SIGN_UP_TYPE_GOOGLE = 3; + SIGN_UP_TYPE_WORKOS = 4; + SIGN_UP_TYPE_GROK = 5; + SIGN_UP_TYPE_X = 6; + } + + string email = 1; + SignUpType sign_up_type = 2; + optional string job_role = 3; + optional bool is_recently_created_user = 4; + optional string use_case = 5; +} + +// Copied from: local:aiserver.v1.GetEmbeddingsRequest (var: KIl) +message GetEmbeddingsRequest { + repeated string texts = 1; +} + +// Copied from: local:aiserver.v1.GetEmbeddingsResponse (var: QIl) +message GetEmbeddingsResponse { + // Copied from: local:aiserver.v1.GetEmbeddingsResponse.Embedding (var: YIl) + message Embedding { + repeated float embedding = 1; + } + + repeated Embedding embeddings = 2; +} + +// Copied from: local:aiserver.v1.GetEncryptedBugDataMultipleRequest (var: F6l) +message GetEncryptedBugDataMultipleRequest { + string redis_key = 1; + string encryption_key = 2; +} + +// Copied from: local:aiserver.v1.GetEncryptedBugDataMultipleResponse (var: B6l) +message GetEncryptedBugDataMultipleResponse { + repeated BugReport bug_reports = 1; +} + +// Copied from: local:aiserver.v1.GetEncryptedBugDataRequest (var: N6l) +message GetEncryptedBugDataRequest { + string redis_key = 1; + string encryption_key = 2; +} + +// Copied from: local:aiserver.v1.GetEncryptedBugDataResponse (var: O6l) +message GetEncryptedBugDataResponse { + BugReport bug_report = 1; +} + +// Copied from: local:aiserver.v1.GetEnterpriseCTAEligibilityRequest (var: ovu) +message GetEnterpriseCTAEligibilityRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.GetEnterpriseCTAEligibilityResponse (var: avu) +message GetEnterpriseCTAEligibilityResponse { + bool eligible = 1; +} + +// Copied from: local:aiserver.v1.GetEnterpriseStatusRequest (var: Thv) +message GetEnterpriseStatusRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.GetEnterpriseStatusResponse (var: Ahv) +message GetEnterpriseStatusResponse { + int32 team_id = 1; + string team_membership_type = 2; + string pricing_strategy = 3; + double platform_discount = 4; + int32 committed_dollars = 5; + string name = 6; + google.protobuf.Timestamp scheduled_token_based_contract_starts_at = 7; +} + +// Copied from: local:aiserver.v1.GetEnvironmentActiveBuildRequest (var: w2u) +message GetEnvironmentActiveBuildRequest { + string environment_public_id = 1; +} + +// Copied from: local:aiserver.v1.GetEnvironmentActiveBuildResponse (var: k2u) +message GetEnvironmentActiveBuildResponse { + optional EnvironmentBuildRow row = 1; +} + +// Copied from: local:aiserver.v1.GetEnvironmentBuildRequest (var: T2u) +message GetEnvironmentBuildRequest { + string build_id = 1; +} + +// Copied from: local:aiserver.v1.GetEnvironmentBuildResponse (var: A2u) +message GetEnvironmentBuildResponse { + EnvironmentBuildRow row = 1; +} + +// Copied from: local:aiserver.v1.GetEnvironmentBuildSettingsRequest (var: F2u) +message GetEnvironmentBuildSettingsRequest { + string environment_public_id = 1; +} + +// Copied from: local:aiserver.v1.GetEnvironmentBuildSettingsResponse (var: B2u) +message GetEnvironmentBuildSettingsResponse { + EnvironmentBuildSettings settings = 1; +} + +// Copied from: local:aiserver.v1.GetEnvironmentHistoryRequest (var: Z2u) +message GetEnvironmentHistoryRequest { + optional EnvironmentRepoConfig repo_config = 1; + repeated string environment_public_ids = 2; + optional int32 limit = 3; + optional string dashboard_scope_id = 4; +} + +// Copied from: local:aiserver.v1.GetEnvironmentHistoryResponse (var: X2u) +message GetEnvironmentHistoryResponse { + repeated EnvironmentEffectiveHistoryEvent effective_events = 1; + repeated EnvironmentHistoryObject environment_histories = 2; + bool truncated = 3; + bool dashboard_scope_unavailable = 4; +} + +// Copied from: local:aiserver.v1.GetEnvironmentInfoRequest (var: c_v) +message GetEnvironmentInfoRequest { + string root_path = 1; +} + +// Copied from: local:aiserver.v1.GetEnvironmentInfoResponse (var: l_v) +message GetEnvironmentInfoResponse { + EnvironmentInfo environment_info = 1; +} + +// Copied from: local:aiserver.v1.GetEnvironmentJsonCandidatesRequest (var: e2u) +message GetEnvironmentJsonCandidatesRequest { + string repo_url = 1; + string ref = 2; +} + +// Copied from: local:aiserver.v1.GetEnvironmentJsonCandidatesResponse (var: t2u) +message GetEnvironmentJsonCandidatesResponse { + optional string repo_environment_json = 1; + optional string personal_environment_json = 2; + optional string team_environment_json = 3; +} + +// Copied from: local:aiserver.v1.GetEnvironmentPersistentRecurringBuildFailuresRequest (var: C2u) +message GetEnvironmentPersistentRecurringBuildFailuresRequest { + string environment_public_id = 1; +} + +// Copied from: local:aiserver.v1.GetEnvironmentPersistentRecurringBuildFailuresResponse (var: E2u) +message GetEnvironmentPersistentRecurringBuildFailuresResponse { + optional PersistentRecurringBuildFailure failure = 1; +} + +// Copied from: local:aiserver.v1.GetEnvironmentRequest (var: g2u) +message GetEnvironmentRequest { + string public_id = 1; + optional bool include_environment_json = 2; +} + +// Copied from: local:aiserver.v1.GetEnvironmentResponse (var: f2u) +message GetEnvironmentResponse { + optional LogicalEnvironment environment = 1; +} + +// Copied from: local:aiserver.v1.GetEvalByNameRequest (var: Qhv) +message GetEvalByNameRequest { + string name = 1; +} + +// Copied from: local:aiserver.v1.GetEvalByNameResponse (var: Yhv) +message GetEvalByNameResponse { + EvalSummary eval = 1; +} + +// Copied from: local:aiserver.v1.GetEvalCronJobByNameRequest (var: Tpv) +message GetEvalCronJobByNameRequest { + string name = 1; +} + +// Copied from: local:aiserver.v1.GetEvalCronJobByNameResponse (var: Apv) +message GetEvalCronJobByNameResponse { + EvalCronJobSummary job = 1; +} + +// Copied from: local:aiserver.v1.GetEvaluationPromptRequest (var: zql) +message GetEvaluationPromptRequest { + // Copied from: local:aiserver.v1.GetEvaluationPromptRequest.EvaluationPromptType (var: Vql) + enum EvaluationPromptType { + EVALUATION_PROMPT_TYPE_UNSPECIFIED = 0; + EVALUATION_PROMPT_TYPE_GENERATE = 1; + EVALUATION_PROMPT_TYPE_CHAT = 2; + } + + // Copied from: local:aiserver.v1.GetEvaluationPromptRequest.RerankingStrategy (var: Gql) + enum RerankingStrategy { + RERANKING_STRATEGY_UNSPECIFIED = 0; + RERANKING_STRATEGY_DISTANCE_ONLY = 1; + RERANKING_STRATEGY_GPT4_RELEVANCE = 2; + } + + EvaluationPromptType prompt_type = 1; + CurrentFileInfo current_file = 2; + string query = 3; + string bucket_id = 4; + string query_strategy = 5; + int32 token_limit = 6; + RerankingStrategy reranking_strategy = 7; +} + +// Copied from: local:aiserver.v1.GetEvaluationPromptResponse (var: qql) +message GetEvaluationPromptResponse { + string prompt = 1; + int32 token_count = 2; + int32 estimated_token_count = 3; +} + +// Copied from: local:aiserver.v1.GetEventCodeInfoRequest (var: G1u) +message GetEventCodeInfoRequest { + string code = 1; +} + +// Copied from: local:aiserver.v1.GetEventCodeInfoResponse (var: q1u) +message GetEventCodeInfoResponse { + bool found = 1; + string event_name = 2; + int64 credit_cents = 3; + EventCodeClaimState claim_state = 4; + int64 claim_starts_at_ms = 5; + int64 claim_ends_at_ms = 6; + int32 credit_ttl_days = 7; +} + +// Copied from: local:aiserver.v1.GetExplicitContextRequest (var: o_v) +message GetExplicitContextRequest { + string root_path = 1; +} + +// Copied from: local:aiserver.v1.GetExplicitContextResponse (var: a_v) +message GetExplicitContextResponse { + ExplicitContext explicit_context = 1; +} + +// Copied from: local:aiserver.v1.GetFastRequestsRequest (var: i2s) +message GetFastRequestsRequest { +} + +// Copied from: local:aiserver.v1.GetFastRequestsResponse (var: Nlu) +message GetFastRequestsResponse { + int32 request_quota = 1; +} + +// Copied from: local:aiserver.v1.GetFileStatsRequest (var: u_v) +message GetFileStatsRequest { + repeated string absolute_paths = 1; +} + +// Copied from: local:aiserver.v1.GetFileStatsResponse (var: d_v) +message GetFileStatsResponse { + // Copied from: local:aiserver.v1.GetFileStatsResponse.Stat (var: h_v) + message Stat { + string absolute_path = 1; + bool path_exists = 2; + bool is_file = 3; + } + + repeated Stat file_stats = 1; +} + +// Copied from: local:aiserver.v1.GetFilesForComposerRequest (var: xQl) +message GetFilesForComposerRequest { + repeated ConversationMessage conversation = 1; + repeated CurrentFileInfo files = 2; + optional bool rerank_results = 3; + optional bool rerank_results_v2 = 6; + optional bool long_context_mode = 7; + optional bool is_eval = 8; + optional string request_id = 9; + ModelDetails model_details = 10; + oneof context_results { + FullFileSearchResult file_search_results = 4; + CodeSearchResult code_search_results = 5; + } +} + +// Copied from: local:aiserver.v1.GetFilesForComposerResponse (var: TQl) +message GetFilesForComposerResponse { + repeated string relative_workspace_paths = 1; +} + +// Copied from: local:aiserver.v1.GetFilteredUsageEventsRequest (var: XSu) +message GetFilteredUsageEventsRequest { + int32 team_id = 1; + optional int64 start_date = 2; + optional int64 end_date = 3; + optional int32 user_id = 4; + optional string model_id = 5; + optional int32 page = 6; + optional int32 page_size = 7; + optional string service_account_id = 8; + optional string cloud_agent_id = 9; + optional string automation_id = 10; + optional string automation_managed_type = 11; + optional string client_type = 12; +} + +// Copied from: local:aiserver.v1.GetFilteredUsageEventsResponse (var: JSu) +message GetFilteredUsageEventsResponse { + repeated UsageEvent usage_events = 1; + int32 total_usage_events_count = 2; + repeated UsageEventDisplay usage_events_display = 3; +} + +// Copied from: local:aiserver.v1.GetFirstWindowStatsigDecisionRequest (var: D$u) +message GetFirstWindowStatsigDecisionRequest { + optional ClientOS operating_system = 1; +} + +// Copied from: local:aiserver.v1.GetFirstWindowStatsigDecisionResponse (var: M$u) +message GetFirstWindowStatsigDecisionResponse { + string variant = 1; + string reason = 2; +} + +// Copied from: local:aiserver.v1.GetFullSelfDrivingConfigRequest (var: kru) +message GetFullSelfDrivingConfigRequest { + string pr_url = 1; +} + +// Copied from: local:aiserver.v1.GetFullSelfDrivingConfigResponse (var: Cru) +message GetFullSelfDrivingConfigResponse { + bool has_config = 1; + bool enabled = 2; + FullSelfDrivingMode mode = 3; + bool auto_started = 4; +} + +// Copied from: local:aiserver.v1.GetFullSelfDrivingRunSuggestionRequest (var: jru) +message GetFullSelfDrivingRunSuggestionRequest { + string pr_url = 1; + string bc_id = 2; +} + +// Copied from: local:aiserver.v1.GetFullSelfDrivingRunSuggestionResponse (var: Wru) +message GetFullSelfDrivingRunSuggestionResponse { + FullSelfDrivingRunSuggestionState state = 1; + string side_branch_name = 2; + string head_commit_sha = 3; + string base_commit_sha = 4; + string create_pr_url = 5; + bool already_applied = 6; +} + +// Copied from: local:aiserver.v1.GetFullSelfDrivingTeamSettingsRequest (var: ESu) +message GetFullSelfDrivingTeamSettingsRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.GetFullSelfDrivingTeamSettingsResponse (var: xSu) +message GetFullSelfDrivingTeamSettingsResponse { + FullSelfDrivingTeamSettings settings = 1; +} + +// Copied from: local:aiserver.v1.GetFullSelfDrivingUserSettingsRequest (var: vSu) +message GetFullSelfDrivingUserSettingsRequest { +} + +// Copied from: local:aiserver.v1.GetFullSelfDrivingUserSettingsResponse (var: bSu) +message GetFullSelfDrivingUserSettingsResponse { + FullSelfDrivingMode default_mode = 1; + bool only_cloud_agent_prs = 2; + bool globally_disabled = 3; + bool auto_create_on_first_pr_push = 4; + bool slack_notifications_enabled = 5; + optional string fsd_slack_channel_id = 6; + optional string default_model = 7; +} + +// Copied from: local:aiserver.v1.GetGitGraphRelatedFilesRequest (var: Rmv) +message GetGitGraphRelatedFilesRequest { + string workspace_id = 1; + string encrypted_relative_path = 2; + int32 max_num_files = 3; +} + +// Copied from: local:aiserver.v1.GetGitGraphRelatedFilesResponse (var: Dmv) +message GetGitGraphRelatedFilesResponse { + repeated GitGraphRelatedFile related_files = 1; + float time_taken_ms = 2; +} + +// Copied from: local:aiserver.v1.GetGitGraphStatusRequest (var: jmv) +message GetGitGraphStatusRequest { + string workspace_id = 1; +} + +// Copied from: local:aiserver.v1.GetGitGraphStatusResponse (var: Wmv) +message GetGitGraphStatusResponse { + int32 num_successful_commits = 1; + int32 num_failed_commits = 2; +} + +// Copied from: local:aiserver.v1.GetGithubAccessTokenForReposRequest (var: jLu) +message GetGithubAccessTokenForReposRequest { + repeated string mandatory_repo_urls = 1; + repeated string optional_repo_urls = 2; + optional bool skip_cache = 3; +} + +// Copied from: local:aiserver.v1.GetGithubAccessTokenForReposResponse (var: WLu) +message GetGithubAccessTokenForReposResponse { + // Copied from: local:aiserver.v1.GetGithubAccessTokenForReposResponse.Status (var: HLu) + message Status { + string repo_url = 1; + bool has_access = 2; + optional string error = 3; + } + + optional bool has_access = 1; + optional string error = 2; + repeated Status repo_url_statuses = 3; + GithubAccessErrorType error_type = 4; + optional string github_redirect_url = 5; +} + +// Copied from: local:aiserver.v1.GetGithubInstallationsRequest (var: _Di) +message GetGithubInstallationsRequest { + optional bool include_team_owned_repos = 2; + optional string ghe_application = 3; + optional string search = 4; +} + +// Copied from: local:aiserver.v1.GetGithubInstallationsResponse (var: bNs) +message GetGithubInstallationsResponse { + // Copied from: local:aiserver.v1.GetGithubInstallationsResponse.Installation (var: Iyu) + message Installation { + int64 installation_id = 1; + repeated GetGithubInstallationsResponse.Repository repos = 2; + InstallationSettings settings = 3; + bool can_modify = 4; + bool has_more_repos = 5; + optional int32 total_pages = 6; + optional string access_error = 7; + optional bool needs_team_scope = 9; + bool can_modify_installation_settings = 10; + optional string account_login = 11; + optional BugbotAutofixCapabilities autofix_capabilities = 12; + optional bool team_owned = 13; + optional BugbotSettingsCapabilities settings_capabilities = 14; + optional bool azure_devops_managed = 15; + } + + // Copied from: local:aiserver.v1.GetGithubInstallationsResponse.Repository (var: yDi) + message Repository { + int64 installation_id = 1; + string repo_node_id = 2; + string owner = 3; + string name = 4; + string html_url = 5; + RepoSettings settings = 6; + bool archived = 7; + } + + repeated Installation installations = 1; + bool github_connected = 2; + bool team_has_bugbot_repos = 3; + repeated string github_usernames = 4; + optional string ghe_hostname = 5; + optional string ghe_app_slug = 6; + repeated int64 sso_required_orgs = 7; + repeated string sso_required_org_display_names = 8; + optional string github_app_slug = 9; +} + +// Copied from: local:aiserver.v1.GetGlassEarlyPreviewEnrollmentRequest (var: GSu) +message GetGlassEarlyPreviewEnrollmentRequest { +} + +// Copied from: local:aiserver.v1.GetGlassEarlyPreviewEnrollmentResponse (var: qSu) +message GetGlassEarlyPreviewEnrollmentResponse { + bool enabled = 1; + optional bool enterprise_glass_self_enroll_eligible = 2; + optional bool glass_access_granted = 3; +} + +// Copied from: local:aiserver.v1.GetGlobalCommandsRequest (var: zNs) +message GetGlobalCommandsRequest { + GlobalCommandSurface surface = 1; +} + +// Copied from: local:aiserver.v1.GetGlobalCommandsResponse (var: EEu) +message GetGlobalCommandsResponse { + repeated GlobalCommand commands = 1; +} + +// Copied from: local:aiserver.v1.GetGlobalLeaderboardOptInRequest (var: cku) +message GetGlobalLeaderboardOptInRequest { +} + +// Copied from: local:aiserver.v1.GetGlobalLeaderboardOptInResponse (var: lku) +message GetGlobalLeaderboardOptInResponse { + optional bool opted_in = 1; +} + +// Copied from: local:aiserver.v1.GetGoogleContactImportAuthUrlRequest (var: ygu) +message GetGoogleContactImportAuthUrlRequest { +} + +// Copied from: local:aiserver.v1.GetGoogleContactImportAuthUrlResponse (var: Sgu) +message GetGoogleContactImportAuthUrlResponse { + string auth_url = 1; + string csrf_token = 2; +} + +// Copied from: local:aiserver.v1.GetGroupMembersRequest (var: c0u) +message GetGroupMembersRequest { + int32 group_id = 1; + int32 team_id = 2; + optional GroupType type = 3; +} + +// Copied from: local:aiserver.v1.GetGroupMembersResponse (var: l0u) +message GetGroupMembersResponse { + repeated GroupMember members = 1; +} + +// Copied from: local:aiserver.v1.GetGroupsRequest (var: o0u) +message GetGroupsRequest { + int32 team_id = 1; + optional GroupType type = 2; + optional int64 reference_date = 3; +} + +// Copied from: local:aiserver.v1.GetGroupsResponse (var: a0u) +message GetGroupsResponse { + repeated Group groups = 1; + repeated GroupMember unassigned_members = 2; + optional Group unassigned_group = 3; + optional int64 cycle_start = 4; + optional int64 cycle_end = 5; + repeated DailySpendPoint team_daily_spend = 6; + repeated ServiceAccountSpendInfo service_accounts = 7; +} + +// Copied from: local:aiserver.v1.GetHardLimitRequest (var: b2s) +message GetHardLimitRequest { + optional int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.GetHardLimitResponse (var: vmu) +message GetHardLimitResponse { + int32 hard_limit = 1; + bool no_usage_based_allowed = 2; + optional int32 hard_limit_per_user = 3; + int32 per_user_monthly_limit_dollars = 4; + bool is_dynamic_team_limit = 5; + bool has_pending_setup_onboarding_credit_claim = 6; + bool is_setup_promo_active = 7; + optional int32 setup_promo_amount_cents = 8; + optional int32 setup_promo_credit_validity_days = 9; + bool on_demand_spend_disabled_by_organization = 10; +} + +// Copied from: local:aiserver.v1.GetHighLevelFolderDescriptionRequest (var: lIl) +message GetHighLevelFolderDescriptionRequest { + // Copied from: local:aiserver.v1.GetHighLevelFolderDescriptionRequest.Readme (var: uIl) + message Readme { + string relative_workspace_path = 1; + string contents = 2; + } + + repeated Readme readmes = 1; + repeated string top_level_relative_workspace_paths = 2; + string workspace_root_path = 4; +} + +// Copied from: local:aiserver.v1.GetHighLevelFolderDescriptionResponse (var: dIl) +message GetHighLevelFolderDescriptionResponse { + string description = 1; +} + +// Copied from: local:aiserver.v1.GetInstallationGithubUsersRequest (var: Xyu) +message GetInstallationGithubUsersRequest { + int64 installation_id = 1; + optional string ghe_application = 4; +} + +// Copied from: local:aiserver.v1.GetInstallationGithubUsersResponse (var: eSu) +message GetInstallationGithubUsersResponse { + repeated GithubUser github_users = 1; + optional GithubPermissionInfo permission_info = 2; +} + +// Copied from: local:aiserver.v1.GetInstallationReposRequest (var: SNs) +message GetInstallationReposRequest { + int64 installation_id = 1; + int32 start_page = 2; + optional string ghe_application = 4; + optional int32 page_size = 5; + optional string search = 6; +} + +// Copied from: local:aiserver.v1.GetInstallationReposResponse (var: Zyu) +message GetInstallationReposResponse { + repeated GetGithubInstallationsResponse.Repository repos = 1; + bool has_more = 2; + optional string access_error = 3; +} + +// Copied from: local:aiserver.v1.GetJiraInstallUrlRequest (var: uIu) +message GetJiraInstallUrlRequest { +} + +// Copied from: local:aiserver.v1.GetJiraInstallUrlResponse (var: dIu) +message GetJiraInstallUrlResponse { + string install_url = 1; +} + +// Copied from: local:aiserver.v1.GetJiraProjectsRequest (var: kIu) +message GetJiraProjectsRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.GetJiraProjectsResponse (var: CIu) +message GetJiraProjectsResponse { + repeated JiraProject projects = 1; + optional string error = 2; +} + +// Copied from: local:aiserver.v1.GetJiraRoutingRulesRequest (var: IIu) +message GetJiraRoutingRulesRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.GetJiraRoutingRulesResponse (var: RIu) +message GetJiraRoutingRulesResponse { + repeated JiraRoutingRule rules = 1; +} + +// Copied from: local:aiserver.v1.GetJiraStatusRequest (var: mIu) +message GetJiraStatusRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.GetJiraStatusResponse (var: gIu) +message GetJiraStatusResponse { + string status = 1; + optional string site_name = 2; + optional string base_url = 3; +} + +// Copied from: local:aiserver.v1.GetJiraTeamSettingsRequest (var: EIu) +message GetJiraTeamSettingsRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.GetJiraTeamSettingsResponse (var: xIu) +message GetJiraTeamSettingsResponse { + bool require_user_auth = 1; +} + +// Copied from: local:aiserver.v1.GetJoinableTeamsByDomainRequest (var: _fu) +message GetJoinableTeamsByDomainRequest { +} + +// Copied from: local:aiserver.v1.GetJoinableTeamsByDomainResponse (var: Sfu) +message GetJoinableTeamsByDomainResponse { + repeated JoinableTeam teams = 1; + string email_domain = 2; +} + +// Copied from: local:aiserver.v1.GetKeyringRequest (var: a3u) +message GetKeyringRequest { + string public_id = 1; +} + +// Copied from: local:aiserver.v1.GetKeyringResponse (var: c3u) +message GetKeyringResponse { + optional Keyring keyring = 1; +} + +// Copied from: local:aiserver.v1.GetKnownServersRequest (var: lcu) +message GetKnownServersRequest { +} + +// Copied from: local:aiserver.v1.GetKnownServersResponse (var: ucu) +message GetKnownServersResponse { + repeated MCPServerRegistration servers = 1; +} + +// Copied from: local:aiserver.v1.GetLastDefaultModelNudgeRequest (var: tYl) +message GetLastDefaultModelNudgeRequest { +} + +// Copied from: local:aiserver.v1.GetLastDefaultModelNudgeResponse (var: nYl) +message GetLastDefaultModelNudgeResponse { + string nudge_date = 1; +} + +// Copied from: local:aiserver.v1.GetLastRolloutRequestIdRequest (var: ppv) +message GetLastRolloutRequestIdRequest { + string run_id = 1; + int32 iteration_no = 2; + string data_point_id = 3; +} + +// Copied from: local:aiserver.v1.GetLastRolloutRequestIdResponse (var: mpv) +message GetLastRolloutRequestIdResponse { + optional string rollout_request_id = 1; +} + +// Copied from: local:aiserver.v1.GetLatestAgentConversationStateRequest (var: qPu) +message GetLatestAgentConversationStateRequest { + string bc_id = 1; +} + +// Copied from: local:aiserver.v1.GetLatestAgentConversationStateResponse (var: QPu) +message GetLatestAgentConversationStateResponse { + LatestAgentConversationState latest_conversation_state = 1; + repeated PreFetchedBlob pre_fetched_blobs = 2; +} + +// Copied from: local:aiserver.v1.GetLineNumberClassificationsRequest (var: sRl) +message GetLineNumberClassificationsRequest { + string query = 1; + repeated CodeResult code_results = 2; +} + +// Copied from: local:aiserver.v1.GetLineNumberClassificationsResponse (var: oRl) +message GetLineNumberClassificationsResponse { + CodeResultWithClassificationInfo classified_result = 1; +} + +// Copied from: local:aiserver.v1.GetLinearAuthUrlRequest (var: yku) +message GetLinearAuthUrlRequest { + LinearActor actor = 1; + bool use_portal_callback = 2; +} + +// Copied from: local:aiserver.v1.GetLinearAuthUrlResponse (var: Sku) +message GetLinearAuthUrlResponse { + string auth_url = 1; + string csrf_token = 2; +} + +// Copied from: local:aiserver.v1.GetLinearIssuesRequest (var: PNs) +message GetLinearIssuesRequest { + optional int32 team_id = 1; + optional string linear_team_id = 2; + optional string search_query = 3; + optional bool include_completed = 4; + optional bool include_archived = 5; + optional int32 first = 6; + optional string after = 7; + LinearIssuesOrderBy order_by = 8; + optional bool assigned_to_me_only = 9; +} + +// Copied from: local:aiserver.v1.GetLinearIssuesResponse (var: cCu) +message GetLinearIssuesResponse { + repeated LinearIssue issues = 1; + optional string next_cursor = 2; + bool has_more = 3; + optional string error = 4; +} + +// Copied from: local:aiserver.v1.GetLinearLabelsRequest (var: oCu) +message GetLinearLabelsRequest { + optional int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.GetLinearLabelsResponse (var: aCu) +message GetLinearLabelsResponse { + repeated LinearLabel labels = 1; + optional string error = 2; +} + +// Copied from: local:aiserver.v1.GetLinearSettingsRequest (var: eCu) +message GetLinearSettingsRequest { + optional int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.GetLinearSettingsResponse (var: tCu) +message GetLinearSettingsResponse { + repeated LinearTeamSettings team_settings = 1; + bool is_team_settings = 2; +} + +// Copied from: local:aiserver.v1.GetLinearStatusRequest (var: Aku) +message GetLinearStatusRequest { +} + +// Copied from: local:aiserver.v1.GetLinearStatusResponse (var: Iku) +message GetLinearStatusResponse { + string status = 1; + bool autodrafting_enabled = 2; +} + +// Copied from: local:aiserver.v1.GetLinearTeamsRequest (var: qku) +message GetLinearTeamsRequest { +} + +// Copied from: local:aiserver.v1.GetLinearTeamsResponse (var: Kku) +message GetLinearTeamsResponse { + repeated LinearTeam teams = 1; + optional string error = 2; +} + +// Copied from: local:aiserver.v1.GetLinterErrorsRequest (var: P_v) +message GetLinterErrorsRequest { + repeated string absolute_paths = 1; + string root_path = 2; +} + +// Copied from: local:aiserver.v1.GetLinterErrorsResponse (var: L_v) +message GetLinterErrorsResponse { + repeated LinterErrors linter_errors = 1; +} + +// Copied from: local:aiserver.v1.GetLintsForChangeRequest (var: w6l) +message GetLintsForChangeRequest { + // Copied from: local:aiserver.v1.GetLintsForChangeRequest.File (var: k6l) + message File { + // Copied from: local:aiserver.v1.GetLintsForChangeRequest.File.IRange (var: E6l) + message IRange { + int32 start_line_number = 1; + int32 start_column = 2; + int32 end_line_number = 3; + int32 end_column = 4; + } + + // Copied from: local:aiserver.v1.GetLintsForChangeRequest.File.RangeCollection (var: C6l) + message RangeCollection { + repeated GetLintsForChangeRequest.File.IRange ranges = 1; + } + + string relative_workspace_path = 1; + string initial_content = 2; + string final_content = 3; + optional RangeCollection get_all_lints_not_just_delta_lints_for_ranges_in_final_model = 4; + } + + repeated File files = 1; + bool include_quick_fixes = 2; + bool do_not_use_in_prod_new_files_should_be_temporarily_created_for_increased_accuracy = 3; +} + +// Copied from: local:aiserver.v1.GetLintsForChangeResponse (var: MBt) +message GetLintsForChangeResponse { + // Copied from: local:aiserver.v1.GetLintsForChangeResponse.Lint (var: XEs) + message Lint { + // Copied from: local:aiserver.v1.GetLintsForChangeResponse.Lint.QuickFix (var: JEs) + message QuickFix { + // Copied from: local:aiserver.v1.GetLintsForChangeResponse.Lint.QuickFix.Edit (var: exs) + message Edit { + string relative_workspace_path = 1; + string text = 2; + int32 start_line_number_one_indexed = 3; + int32 start_column_one_indexed = 4; + int32 end_line_number_inclusive_one_indexed = 5; + int32 end_column_one_indexed = 6; + } + + string message = 1; + string kind = 2; + bool is_preferred = 3; + repeated Edit edits = 4; + } + + string message = 1; + string severity = 2; + string relative_workspace_path = 3; + int32 start_line_number_one_indexed = 4; + int32 start_column_one_indexed = 5; + int32 end_line_number_inclusive_one_indexed = 6; + int32 end_column_one_indexed = 7; + repeated QuickFix quick_fixes = 9; + } + + repeated Lint lints = 1; +} + +// Copied from: local:aiserver.v1.GetLogsRequest (var: N_v) +message GetLogsRequest { + uint32 max_num_logs = 1; +} + +// Copied from: local:aiserver.v1.GetLogsResponse (var: F_v) +message GetLogsResponse { + repeated LogEntry log_entries = 1; + bool has_more_logs = 2; + uint32 num_dropped_logs = 3; +} + +// Copied from: local:aiserver.v1.GetMachineRequest (var: PLu) +message GetMachineRequest { + string bc_id = 1; + bool mint_desktop_ticket = 2; +} + +// Copied from: local:aiserver.v1.GetMachineResponse (var: BLu) +message GetMachineResponse { + MachineReference machine = 1; +} + +// Copied from: local:aiserver.v1.GetManagedAutomationTeamSettingsRequest (var: RHu) +message GetManagedAutomationTeamSettingsRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.GetManagedAutomationTeamSettingsResponse (var: DHu) +message GetManagedAutomationTeamSettingsResponse { + ManagedAutomationTeamSettings settings = 1; +} + +// Copied from: local:aiserver.v1.GetManagedSkillsRequest (var: ZDi) +message GetManagedSkillsRequest { +} + +// Copied from: local:aiserver.v1.GetManagedSkillsResponse (var: oIu) +message GetManagedSkillsResponse { + repeated ManagedSkill skills = 1; +} + +// Copied from: local:aiserver.v1.GetManualEnterpriseContractRequest (var: dhv) +message GetManualEnterpriseContractRequest { + int32 team_id = 1; + int32 id = 2; + optional int64 organization_id = 3; +} + +// Copied from: local:aiserver.v1.GetManualEnterpriseContractResponse (var: hhv) +message GetManualEnterpriseContractResponse { + EnterpriseContract contract = 1; +} + +// Copied from: local:aiserver.v1.GetMarketingEmailOptRequest (var: oku) +message GetMarketingEmailOptRequest { +} + +// Copied from: local:aiserver.v1.GetMarketingEmailOptResponse (var: aku) +message GetMarketingEmailOptResponse { + bool opted_out = 1; +} + +// Copied from: local:aiserver.v1.GetMarketplaceOriginDistributionStatusRequest (var: ROs) +message GetMarketplaceOriginDistributionStatusRequest { + int64 marketplace_id = 1; + optional int32 team_id = 2; +} + +// Copied from: local:aiserver.v1.GetMarketplaceOriginDistributionStatusResponse (var: VAu) +message GetMarketplaceOriginDistributionStatusResponse { + bool enabled = 1; + bool initial_sync_complete = 2; +} + +// Copied from: local:aiserver.v1.GetMcpConfigRequest (var: jhu) +message GetMcpConfigRequest { + bool team_scope = 1; + int32 team_id = 2; + bool redact_secrets = 3; +} + +// Copied from: local:aiserver.v1.GetMcpConfigResponse (var: Hhu) +message GetMcpConfigResponse { + string config_json = 1; + map server_metadata_by_name = 2; +} + +// Copied from: local:aiserver.v1.GetMcpOAuthPendingStateRequest (var: $pu) +message GetMcpOAuthPendingStateRequest { + string state_id = 1; +} + +// Copied from: local:aiserver.v1.GetMcpOAuthPendingStateResponse (var: jpu) +message GetMcpOAuthPendingStateResponse { + string server_url = 1; + string code_verifier = 2; + optional string client_id = 3; + optional string client_secret = 4; + optional string redirect_uri = 5; + optional string service_account_id = 6; + optional string post_auth_return_url = 7; + string account_key = 8; +} + +// Copied from: local:aiserver.v1.GetMcpOAuthTokensRequest (var: lpu) +message GetMcpOAuthTokensRequest { + repeated string server_urls = 1; + optional string service_account_id = 2; + string account_key = 3; +} + +// Copied from: local:aiserver.v1.GetMcpOAuthTokensResponse (var: upu) +message GetMcpOAuthTokensResponse { + // Copied from: local:aiserver.v1.GetMcpOAuthTokensResponse.Entry (var: dpu) + message Entry { + string server_url = 1; + McpOAuthStoredData token_data = 2; + int64 updated_at_ms = 3; + string account_key = 4; + } + + repeated Entry entries = 1; +} + +// Copied from: local:aiserver.v1.GetMcpServerUsageSummaryRequest (var: Khu) +message GetMcpServerUsageSummaryRequest { + bool team_scope = 1; + int32 team_id = 2; + repeated int64 server_ids = 3; +} + +// Copied from: local:aiserver.v1.GetMcpServerUsageSummaryResponse (var: Yhu) +message GetMcpServerUsageSummaryResponse { + repeated McpServerUsageSummary summaries = 1; +} + +// Copied from: local:aiserver.v1.GetMcpToolsParams (var: ZOt) +message GetMcpToolsParams { + optional string server = 1; + optional string tool_name = 2; + optional string pattern = 3; +} + +// Copied from: local:aiserver.v1.GetMcpToolsRequest (var: $_v) +message GetMcpToolsRequest { + string root_path = 1; + optional string browser_integration_preference = 2; +} + +// Copied from: local:aiserver.v1.GetMcpToolsResponse (var: j_v) +message GetMcpToolsResponse { + repeated MCPParams.Tool tools = 1; +} + +// Copied from: local:aiserver.v1.GetMcpToolsResult (var: W_n) +message GetMcpToolsResult { + string content = 1; + optional string output_file_path = 2; +} + +// Copied from: local:aiserver.v1.GetMeRequest (var: W3t) +message GetMeRequest { + optional int32 team_id = 1; + optional string source_site_hostname = 2; + optional bool include_mobile_app_status = 3; +} + +// Copied from: local:aiserver.v1.GetMeResponse (var: Blu) +message GetMeResponse { + string auth_id = 1; + int32 user_id = 2; + optional string email = 3; + optional string first_name = 4; + optional string last_name = 5; + optional string workos_id = 6; + optional int32 team_id = 7; + optional string created_at = 8; + optional bool is_enterprise_user = 9; + optional string team_name = 10; + optional string email_domain_type = 11; + optional string country = 12; + optional string profile_picture_url = 13; + optional bool cursor_review_onboarding_use_cursor_github_app = 14; + optional int64 organization_id = 15; + optional string organization_public_id = 16; + optional bool is_team_admin = 17; + optional bool has_active_mobile_session = 18; +} + +// Copied from: local:aiserver.v1.GetMemberRemovalInsightsRequest (var: Nfu) +message GetMemberRemovalInsightsRequest { + int32 team_id = 1; + int32 user_id = 2; +} + +// Copied from: local:aiserver.v1.GetMemberRemovalInsightsResponse (var: Ofu) +message GetMemberRemovalInsightsResponse { + optional int64 last_active_at = 1; + optional int32 accepted_generated_lines_last_30_days = 2; +} + +// Copied from: local:aiserver.v1.GetMicrosoftTeamsLinkContextRequest (var: Cku) +message GetMicrosoftTeamsLinkContextRequest { + string link_id = 1; +} + +// Copied from: local:aiserver.v1.GetMicrosoftTeamsLinkContextResponse (var: Eku) +message GetMicrosoftTeamsLinkContextResponse { + optional string team_name = 1; + optional string user_name = 2; +} + +// Copied from: local:aiserver.v1.GetModelLabelsRequest (var: XQl) +message GetModelLabelsRequest { +} + +// Copied from: local:aiserver.v1.GetModelLabelsResponse (var: JQl) +message GetModelLabelsResponse { + // Copied from: local:aiserver.v1.GetModelLabelsResponse.ModelLabel (var: eYl) + message ModelLabel { + string name = 1; + string label = 2; + optional string short_label = 3; + optional bool supports_agent = 4; + } + + repeated ModelLabel model_labels = 1; +} + +// Copied from: local:aiserver.v1.GetMonthlyBillingCycleRequest (var: vNs) +message GetMonthlyBillingCycleRequest { + optional int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.GetMonthlyBillingCycleResponse (var: vyu) +message GetMonthlyBillingCycleResponse { + int64 start_date_epoch_millis = 1; + int64 end_date_epoch_millis = 2; +} + +// Copied from: local:aiserver.v1.GetMonthlyInvoiceRequest (var: pmu) +message GetMonthlyInvoiceRequest { + optional int32 team_id = 1; + int32 month = 2; + int32 year = 3; + optional bool include_usage_events = 4; + optional CycleType cycle_filter_type = 5; + optional int64 start_time_ms = 6; + optional bool use_current_cycle = 7; +} + +// Copied from: local:aiserver.v1.GetMonthlyInvoiceResponse (var: mmu) +message GetMonthlyInvoiceResponse { + // Copied from: local:aiserver.v1.GetMonthlyInvoiceResponse.InvoiceItem (var: gmu) + message InvoiceItem { + string description = 1; + int32 cents = 2; + } + + // Copied from: local:aiserver.v1.GetMonthlyInvoiceResponse.PricingDescription (var: fmu) + message PricingDescription { + string description = 1; + string id = 2; + } + + repeated InvoiceItem items = 1; + PricingDescription pricing_description = 2; + repeated UsageEvent usage_events = 3; + bool is_usage_events_maybe_cutoff = 4; + bool has_unpaid_mid_month_invoice = 5; + int32 last_hard_limit_cents = 6; + int64 period_start_ms = 7; + int64 period_end_ms = 8; +} + +// Copied from: local:aiserver.v1.GetNoZdrModelConsentStatusRequest (var: eku) +message GetNoZdrModelConsentStatusRequest { + // Copied from: local:aiserver.v1.GetNoZdrModelConsentStatusRequest.Scope (var: tku) + enum Scope { + SCOPE_UNSPECIFIED = 0; + SCOPE_TEAM = 1; + SCOPE_TEAM_MEMBER = 2; + SCOPE_USER = 3; + } + + Scope scope = 1; + int32 team_id = 2; +} + +// Copied from: local:aiserver.v1.GetNoZdrModelConsentStatusResponse (var: iku) +message GetNoZdrModelConsentStatusResponse { + repeated NoZdrModelConsentStatusEntry consents = 1; +} + +// Copied from: local:aiserver.v1.GetNumFilesToSendRequest (var: zIl) +message GetNumFilesToSendRequest { + RepositoryInfo repository = 1; +} + +// Copied from: local:aiserver.v1.GetNumFilesToSendResponse (var: VIl) +message GetNumFilesToSendResponse { + int32 num_files = 1; +} + +// Copied from: local:aiserver.v1.GetOptimizedDiffDetailsRequest (var: CCn) +message GetOptimizedDiffDetailsRequest { + string bc_id = 1; + bool exclude_before_after_diffs = 2; + bool committed_only = 3; + optional string branch_name = 4; + optional string repo_url = 5; +} + +// Copied from: local:aiserver.v1.GetOptimizedDiffDetailsResponse (var: ECn) +message GetOptimizedDiffDetailsResponse { + // Copied from: local:aiserver.v1.GetOptimizedDiffDetailsResponse.SubmoduleDiff (var: EDu) + message SubmoduleDiff { + string relative_path = 1; + GitDiff diff = 2; + bool errored = 3; + } + + GitDiff diff = 1; + repeated SubmoduleDiff submodule_diffs = 2; +} + +// Copied from: local:aiserver.v1.GetOrCreateDefaultTeamMarketplaceRequest (var: PAu) +message GetOrCreateDefaultTeamMarketplaceRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.GetOrCreateDefaultTeamMarketplaceResponse (var: LAu) +message GetOrCreateDefaultTeamMarketplaceResponse { + int64 marketplace_id = 1; +} + +// Copied from: local:aiserver.v1.GetOrgDailySpendByCategoryRequest (var: r0u) +message GetOrgDailySpendByCategoryRequest { + string organization_id = 1; + int64 period_start_ms = 2; + int64 period_end_ms = 3; + SpendGroupByCategory group_by = 4; + optional SpendType spend_type = 5; + optional int32 team_id = 6; + optional string service_account_id = 7; + optional string cloud_agent_id = 8; + optional string automation_id = 9; + optional string automation_managed_type = 10; + optional string client_type = 11; + repeated string products = 12; +} + +// Copied from: local:aiserver.v1.GetOrgTeamBudgetsRequest (var: Cmu) +message GetOrgTeamBudgetsRequest { + string organization_id = 1; +} + +// Copied from: local:aiserver.v1.GetOrgTeamBudgetsResponse (var: xmu) +message GetOrgTeamBudgetsResponse { + repeated OrgTeamBudget budgets = 1; +} + +// Copied from: local:aiserver.v1.GetOrganizationAuditLogsRequest (var: rwu) +message GetOrganizationAuditLogsRequest { + string organization_id = 1; + optional int32 team_id = 2; + optional int64 start_date = 3; + optional int64 end_date = 4; + optional string event_type = 5; + optional string search = 6; + optional int32 page = 7; + optional int32 page_size = 8; +} + +// Copied from: local:aiserver.v1.GetOrganizationAuditLogsResponse (var: swu) +message GetOrganizationAuditLogsResponse { + repeated AuditLogEvent events = 1; + int32 total_count = 2; +} + +// Copied from: local:aiserver.v1.GetOrganizationGroupAutoReviewSettingsRequest (var: ldu) +message GetOrganizationGroupAutoReviewSettingsRequest { + string organization_id = 1; + string group_public_id = 2; +} + +// Copied from: local:aiserver.v1.GetOrganizationGroupAutoReviewSettingsResponse (var: udu) +message GetOrganizationGroupAutoReviewSettingsResponse { + AutoReviewInstructions auto_review = 1; +} + +// Copied from: local:aiserver.v1.GetOrganizationGroupAutorunSettingsRequest (var: tdu) +message GetOrganizationGroupAutorunSettingsRequest { + string organization_id = 1; + string group_public_id = 2; +} + +// Copied from: local:aiserver.v1.GetOrganizationGroupAutorunSettingsResponse (var: ndu) +message GetOrganizationGroupAutorunSettingsResponse { + AutoRunControls auto_run_controls = 1; +} + +// Copied from: local:aiserver.v1.GetOrganizationGroupMembersRequest (var: Vuu) +message GetOrganizationGroupMembersRequest { + string organization_id = 1; + string group_public_id = 3; + optional int32 page = 4; + optional int32 page_size = 5; + optional string search_term = 6; + optional string sort_by = 7; + optional string sort_direction = 8; +} + +// Copied from: local:aiserver.v1.GetOrganizationGroupMembersResponse (var: Guu) +message GetOrganizationGroupMembersResponse { + repeated OrganizationGroupMember members = 1; + int32 total_members = 2; + int32 total_pages = 3; +} + +// Copied from: local:aiserver.v1.GetOrganizationGroupModelAllowlistRequest (var: sdu) +message GetOrganizationGroupModelAllowlistRequest { + string organization_id = 1; + string group_public_id = 2; +} + +// Copied from: local:aiserver.v1.GetOrganizationGroupModelAllowlistResponse (var: odu) +message GetOrganizationGroupModelAllowlistResponse { + optional ModelAllowlist model_allowlist = 1; +} + +// Copied from: local:aiserver.v1.GetOrganizationGroupRequest (var: Huu) +message GetOrganizationGroupRequest { + string organization_id = 1; + string group_public_id = 3; +} + +// Copied from: local:aiserver.v1.GetOrganizationGroupResponse (var: zuu) +message GetOrganizationGroupResponse { + OrganizationGroup group = 1; +} + +// Copied from: local:aiserver.v1.GetOrganizationGroupSmartAutoSettingsRequest (var: pdu) +message GetOrganizationGroupSmartAutoSettingsRequest { + string organization_id = 1; + string group_public_id = 2; +} + +// Copied from: local:aiserver.v1.GetOrganizationGroupSmartAutoSettingsResponse (var: mdu) +message GetOrganizationGroupSmartAutoSettingsResponse { + SmartAutoSettings settings = 1; + bool can_enable = 2; + optional bool new_chat_nudge_all_to_smart_auto = 3; + repeated SmartAutoMemberTeamConflict member_team_conflicts = 4; + optional bool models_auto_only = 5; + optional string new_chat_nudge_all_to_smart_auto_optimize_for = 6; +} + +// Copied from: local:aiserver.v1.GetOrganizationGroupsRequest (var: l2s) +message GetOrganizationGroupsRequest { + string organization_id = 1; + optional int32 page = 2; + optional int32 page_size = 3; + optional string search_term = 4; +} + +// Copied from: local:aiserver.v1.GetOrganizationGroupsResponse (var: Wuu) +message GetOrganizationGroupsResponse { + repeated OrganizationGroup groups = 1; + int32 total_groups = 2; + int32 total_pages = 3; +} + +// Copied from: local:aiserver.v1.GetOrganizationMemberRequest (var: Ylu) +message GetOrganizationMemberRequest { + string organization_id = 1; + string member_public_id = 2; +} + +// Copied from: local:aiserver.v1.GetOrganizationMemberResponse (var: Zlu) +message GetOrganizationMemberResponse { + OrganizationMember member = 1; + repeated OrganizationMemberGroup groups = 2; +} + +// Copied from: local:aiserver.v1.GetOrganizationMembersRequest (var: qlu) +message GetOrganizationMembersRequest { + string organization_id = 1; + optional int32 page = 2; + optional int32 page_size = 3; + optional string search_term = 4; + optional string sort_by = 5; + optional string sort_direction = 6; + optional UserOrganizationRole role_filter = 7; +} + +// Copied from: local:aiserver.v1.GetOrganizationMembersResponse (var: Klu) +message GetOrganizationMembersResponse { + repeated OrganizationMember members = 1; + int32 total_members = 2; + int32 total_pages = 3; +} + +// Copied from: local:aiserver.v1.GetOrganizationMergeIdpRequestRequest (var: muu) +message GetOrganizationMergeIdpRequestRequest { + string organization_id = 1; + string request_public_id = 2; +} + +// Copied from: local:aiserver.v1.GetOrganizationMergeIdpRequestResponse (var: guu) +message GetOrganizationMergeIdpRequestResponse { + OrganizationMergeIdpRequestInfo request = 1; +} + +// Copied from: local:aiserver.v1.GetOrganizationOnDemandSpendDisabledRequest (var: Gwu) +message GetOrganizationOnDemandSpendDisabledRequest { + string organization_id = 1; +} + +// Copied from: local:aiserver.v1.GetOrganizationOnDemandSpendDisabledResponse (var: qwu) +message GetOrganizationOnDemandSpendDisabledResponse { + bool disabled = 1; +} + +// Copied from: local:aiserver.v1.GetOrganizationScimConfigurationLinksResponse (var: Jfu) +message GetOrganizationScimConfigurationLinksResponse { + string scim_url = 1; + repeated string scim_statuses = 2; +} + +// Copied from: local:aiserver.v1.GetOrganizationTeamAdminCandidatesRequest (var: Uuu) +message GetOrganizationTeamAdminCandidatesRequest { + string organization_id = 1; +} + +// Copied from: local:aiserver.v1.GetOrganizationTeamAdminCandidatesResponse (var: juu) +message GetOrganizationTeamAdminCandidatesResponse { + repeated OrganizationTeamAdminCandidate candidates = 1; +} + +// Copied from: local:aiserver.v1.GetP2PReferralHistoryRequest (var: yvu) +message GetP2PReferralHistoryRequest { +} + +// Copied from: local:aiserver.v1.GetP2PReferralHistoryResponse (var: Svu) +message GetP2PReferralHistoryResponse { + repeated P2PReferralHistoryEntry entries = 1; +} + +// Copied from: local:aiserver.v1.GetP2PReferralStatusRequest (var: A2s) +message GetP2PReferralStatusRequest { +} + +// Copied from: local:aiserver.v1.GetP2PReferralStatusResponse (var: vvu) +message GetP2PReferralStatusResponse { + bool is_eligible = 1; + optional string code = 2; + optional string url_path = 3; + int32 successful_referrals = 4; + int32 pending_referrals = 5; + int32 remaining_cap = 6; + int64 total_credit_cents_earned = 7; + int64 cycle_credit_cents_earned = 22; + string title = 8; + string description = 9; + optional int64 cycle_start_ms = 10; + int32 invited_referrals = 11; + int32 invited_reward_earned = 12; + int32 invited_signed_up = 13; + int32 invited_not_eligible = 14; + int32 invited_clawed_back = 15; + string cap_window_label = 16; + int32 referrer_credit_cents = 17; + int32 referee_credit_cents = 18; + string currency = 19; + string referrer_mode = 20; + string referee_mode = 21; + int32 remaining_redemption_cap = 23; + int32 rewarded_referrals = 24; +} + +// Copied from: local:aiserver.v1.GetPRIndexingStatusRequest (var: DRl) +message GetPRIndexingStatusRequest { + RepositoryInfo repository = 1; +} + +// Copied from: local:aiserver.v1.GetPRIndexingStatusResponse (var: MRl) +message GetPRIndexingStatusResponse { + // Copied from: local:aiserver.v1.GetPRIndexingStatusResponse.Status (var: PRl) + enum Status { + STATUS_UNSPECIFIED = 0; + STATUS_EMPTY = 1; + STATUS_SYNCING = 2; + STATUS_SYNCED = 3; + STATUS_PARTIAL = 4; + } + + Status status = 1; + float sync_percentage = 2; + optional string last_indexed_commit = 3; + optional uint32 last_indexed_generation = 4; + optional uint32 total_commits = 5; + optional float indexing_rate = 6; + optional int64 last_updated_timestamp = 7; + optional uint32 index_version = 8; +} + +// Copied from: local:aiserver.v1.GetPagerDutyAuthUrlRequest (var: uCu) +message GetPagerDutyAuthUrlRequest { +} + +// Copied from: local:aiserver.v1.GetPagerDutyAuthUrlResponse (var: dCu) +message GetPagerDutyAuthUrlResponse { + string auth_url = 1; + string csrf_token = 2; +} + +// Copied from: local:aiserver.v1.GetPagerDutyServicesRequest (var: fCu) +message GetPagerDutyServicesRequest { +} + +// Copied from: local:aiserver.v1.GetPagerDutyServicesResponse (var: vCu) +message GetPagerDutyServicesResponse { + repeated PagerDutyServiceInfo services = 1; +} + +// Copied from: local:aiserver.v1.GetPagerDutyStatusRequest (var: mCu) +message GetPagerDutyStatusRequest { +} + +// Copied from: local:aiserver.v1.GetPagerDutyStatusResponse (var: gCu) +message GetPagerDutyStatusResponse { + bool is_connected = 1; + optional string account_name = 2; + optional string subdomain = 3; +} + +// Copied from: local:aiserver.v1.GetPagesRequest (var: uQd) +message GetPagesRequest { + string doc_identifier = 1; +} + +// Copied from: local:aiserver.v1.GetPassthroughPromptRequest (var: jql) +message GetPassthroughPromptRequest { + string query = 1; + string model_name = 2; +} + +// Copied from: local:aiserver.v1.GetPassthroughPromptResponse (var: Wql) +message GetPassthroughPromptResponse { + string result = 1; +} + +// Copied from: local:aiserver.v1.GetPendingCommitsRequest (var: Omv) +message GetPendingCommitsRequest { + string workspace_id = 1; + int32 max_num_commits = 2; +} + +// Copied from: local:aiserver.v1.GetPendingCommitsResponse (var: Fmv) +message GetPendingCommitsResponse { + // Copied from: local:aiserver.v1.GetPendingCommitsResponse.Commit (var: Bmv) + message Commit { + string sha = 1; + optional string visited_neighbor_sha = 2; + int32 parent_walk_depth = 3; + } + + repeated Commit commits = 1; + float wait_before_uploading_ms = 2; +} + +// Copied from: local:aiserver.v1.GetPendingSeatTierUpgradeRequestsRequest (var: hyu) +message GetPendingSeatTierUpgradeRequestsRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.GetPendingSeatTierUpgradeRequestsResponse (var: myu) +message GetPendingSeatTierUpgradeRequestsResponse { + repeated PendingSeatTierUpgradeRequest requests = 1; +} + +// Copied from: local:aiserver.v1.GetPersonalEnvironmentJsonRequest (var: XLu) +message GetPersonalEnvironmentJsonRequest { + string repo_url = 1; +} + +// Copied from: local:aiserver.v1.GetPersonalEnvironmentJsonResponse (var: JLu) +message GetPersonalEnvironmentJsonResponse { + string environment_json = 1; + string repo_url = 2; +} + +// Copied from: local:aiserver.v1.GetPlanInfoRequest (var: fNs) +message GetPlanInfoRequest { +} + +// Copied from: local:aiserver.v1.GetPlanInfoResponse (var: T_u) +message GetPlanInfoResponse { + // Copied from: local:aiserver.v1.GetPlanInfoResponse.NextUpgrade (var: R_u) + message NextUpgrade { + string tier = 1; + string name = 2; + int32 included_amount_cents = 3; + string price = 4; + string description = 5; + } + + // Copied from: local:aiserver.v1.GetPlanInfoResponse.PlanInfo (var: A_u) + message PlanInfo { + // Copied from: local:aiserver.v1.GetPlanInfoResponse.PlanInfo.PlanOwner (var: I_u) + enum PlanOwner { + PLAN_OWNER_UNSPECIFIED = 0; + PLAN_OWNER_STRIPE = 1; + PLAN_OWNER_APPLE = 2; + } + + string plan_name = 1; + int32 included_amount_cents = 2; + optional string price = 3; + optional int64 billing_cycle_end = 4; + PlanOwner plan_owner = 5; + } + + optional PlanInfo plan_info = 1; + optional NextUpgrade next_upgrade = 2; +} + +// Copied from: local:aiserver.v1.GetPluginMcpConfigRequest (var: v2s) +message GetPluginMcpConfigRequest { + int64 plugin_id = 1; +} + +// Copied from: local:aiserver.v1.GetPluginMcpConfigResponse (var: qpu) +message GetPluginMcpConfigResponse { + string config_json = 1; + string commit_sha = 2; +} + +// Copied from: local:aiserver.v1.GetPluginRequest (var: aOs) +message GetPluginRequest { + int64 plugin_id = 1; +} + +// Copied from: local:aiserver.v1.GetPluginResponse (var: UTu) +message GetPluginResponse { + Plugin plugin = 1; +} + +// Copied from: local:aiserver.v1.GetPricingHistoryRequest (var: amu) +message GetPricingHistoryRequest { +} + +// Copied from: local:aiserver.v1.GetPricingHistoryResponse (var: cmu) +message GetPricingHistoryResponse { + // Copied from: local:aiserver.v1.GetPricingHistoryResponse.PricingDescription (var: lmu) + message PricingDescription { + string description = 1; + string id = 2; + string changelog = 3; + int64 created_at = 4; + } + + repeated PricingDescription pricing_history = 1; +} + +// Copied from: local:aiserver.v1.GetPrivateWorkerRequest (var: zFu) +message GetPrivateWorkerRequest { + string worker_id = 1; +} + +// Copied from: local:aiserver.v1.GetPrivateWorkerResponse (var: VFu) +message GetPrivateWorkerResponse { + PrivateWorker worker = 1; +} + +// Copied from: local:aiserver.v1.GetPrivateWorkersSummaryRequest (var: UFu) +message GetPrivateWorkersSummaryRequest { +} + +// Copied from: local:aiserver.v1.GetPrivateWorkersSummaryResponse (var: $Fu) +message GetPrivateWorkersSummaryResponse { + optional UserWorkerSummary user_summary = 1; + optional TeamWorkerSummary team_summary = 2; + optional TeamWorkerLimitSummary team_limit_summary = 3; +} + +// Copied from: local:aiserver.v1.GetProUserTrialEndRequest (var: Guv) +message GetProUserTrialEndRequest { + int32 user_id = 1; +} + +// Copied from: local:aiserver.v1.GetProUserTrialEndResponse (var: quv) +message GetProUserTrialEndResponse { + optional google.protobuf.Timestamp trial_end_date = 1; +} + +// Copied from: local:aiserver.v1.GetProjectStructureParams (var: Zvs) +message GetProjectStructureParams { +} + +// Copied from: local:aiserver.v1.GetProjectStructureResult (var: Xvs) +message GetProjectStructureResult { + // Copied from: local:aiserver.v1.GetProjectStructureResult.File (var: Jvs) + message File { + string relative_workspace_path = 1; + string outline = 2; + } + + repeated File files = 1; + string root_workspace_path = 2; +} + +// Copied from: local:aiserver.v1.GetProjectionSnapshotRequest (var: kUd) +message GetProjectionSnapshotRequest { + string policy_id = 1; + uint64 known_snapshot_version = 2; +} + +// Copied from: local:aiserver.v1.GetProjectionSnapshotResponse (var: OGf) +message GetProjectionSnapshotResponse { + string policy_id = 1; + uint32 policy_version = 2; + uint64 snapshot_version = 3; + ProjectionScoreSet team = 4; + bool not_modified = 5; +} + +// Copied from: local:aiserver.v1.GetPromptDryRunResponse (var: vTs) +message GetPromptDryRunResponse { + // Copied from: local:aiserver.v1.GetPromptDryRunResponse.TokenCount (var: XTi) + message TokenCount { + bool is_over_token_limit = 1; + optional int32 num_tokens = 2; + } + + repeated CodeChunkContextInclusionInfo code_chunks = 1; + int32 user_message_token_limit = 3; + TokenCount user_message_token_count = 4; + TokenCount full_conversation_token_count = 5; + repeated CodeChunkContextInclusionInfoV2 code_chunks_v2 = 6; + string folder_exclusion_tooltip = 2; + float bar_fraction = 7; + bool did_bar_overflow = 8; + bool should_show_new_chat_hint = 9; +} + +// Copied from: local:aiserver.v1.GetProtectedGitScopesRequest (var: Bvu) +message GetProtectedGitScopesRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.GetProtectedGitScopesResponse (var: Uvu) +message GetProtectedGitScopesResponse { + repeated ProtectedGitScope scopes = 1; +} + +// Copied from: local:aiserver.v1.GetPublicBackgroundComposerArtifactRequest (var: $Nu) +message GetPublicBackgroundComposerArtifactRequest { + string artifact_id = 1; +} + +// Copied from: local:aiserver.v1.GetPublicBackgroundComposerArtifactResponse (var: jNu) +message GetPublicBackgroundComposerArtifactResponse { + string url = 1; + string content_type = 2; + optional string title = 3; +} + +// Copied from: local:aiserver.v1.GetPublicIpRequest (var: Mfv) +message GetPublicIpRequest { +} + +// Copied from: local:aiserver.v1.GetPublicIpResponse (var: Pfv) +message GetPublicIpResponse { + string ip = 1; +} + +// Copied from: local:aiserver.v1.GetPublicProfileByHandleRequest (var: PTu) +message GetPublicProfileByHandleRequest { + string handle = 1; +} + +// Copied from: local:aiserver.v1.GetPublicProfileByHandleResponse (var: LTu) +message GetPublicProfileByHandleResponse { + UserProfile profile = 1; + PublicProfileActivitySummary activity_summary = 2; +} + +// Copied from: local:aiserver.v1.GetPublicSharedCanvasRequest (var: lxu) +message GetPublicSharedCanvasRequest { + string share_id = 1; +} + +// Copied from: local:aiserver.v1.GetPublicSharedCanvasResponse (var: dxu) +message GetPublicSharedCanvasResponse { + PublicSharedCanvasPreview preview = 1; +} + +// Copied from: local:aiserver.v1.GetPublicSharedConversationRequest (var: Sxu) +message GetPublicSharedConversationRequest { + string share_id = 1; +} + +// Copied from: local:aiserver.v1.GetPublicSharedConversationResponse (var: wxu) +message GetPublicSharedConversationResponse { + SharedConversationMetadata metadata = 1; + repeated ConversationMessage messages = 2; + bool allow_indexing = 3; + optional SharedConversationLatestPlan latest_plan = 4; +} + +// Copied from: local:aiserver.v1.GetPublicSlackInstallUrlRequest (var: rgu) +message GetPublicSlackInstallUrlRequest { +} + +// Copied from: local:aiserver.v1.GetPublicSlackInstallUrlResponse (var: sgu) +message GetPublicSlackInstallUrlResponse { + string url = 1; +} + +// Copied from: local:aiserver.v1.GetPublicSlackInstallUrlWithUserScopesRequest (var: ogu) +message GetPublicSlackInstallUrlWithUserScopesRequest { +} + +// Copied from: local:aiserver.v1.GetPublicSlackInstallUrlWithUserScopesResponse (var: agu) +message GetPublicSlackInstallUrlWithUserScopesResponse { + string url = 1; +} + +// Copied from: local:aiserver.v1.GetPullRequestCheckLogExcerptRequest (var: PRu) +message GetPullRequestCheckLogExcerptRequest { + string pr_url = 1; + string provider = 2; + string provider_check_id = 3; + optional uint32 max_bytes = 4; +} + +// Copied from: local:aiserver.v1.GetPullRequestCheckLogExcerptResponse (var: jRu) +message GetPullRequestCheckLogExcerptResponse { + CheckLogExcerptStatus status = 1; + string excerpt = 2; + uint64 total_bytes = 3; + bool truncated = 4; + string message = 5; +} + +// Copied from: local:aiserver.v1.GetPullRequestChecksRequest (var: $Os) +message GetPullRequestChecksRequest { + string pr_url = 1; + bool skip_cache = 2; +} + +// Copied from: local:aiserver.v1.GetPullRequestChecksResponse (var: jOs) +message GetPullRequestChecksResponse { + optional PRCheckStatus check_status = 1; +} + +// Copied from: local:aiserver.v1.GetPullRequestCodeownersRequest (var: LRu) +message GetPullRequestCodeownersRequest { + string pr_url = 1; + repeated string paths = 2; + bool skip_cache = 3; +} + +// Copied from: local:aiserver.v1.GetPullRequestCodeownersResponse (var: ORu) +message GetPullRequestCodeownersResponse { + repeated PullRequestPathCodeowners entries = 1; +} + +// Copied from: local:aiserver.v1.GetPullRequestCommitsRequest (var: oOu) +message GetPullRequestCommitsRequest { + string pr_url = 1; + optional string after_cursor = 2; +} + +// Copied from: local:aiserver.v1.GetPullRequestCommitsResponse (var: aOu) +message GetPullRequestCommitsResponse { + repeated PRCommit commits = 1; + bool has_next_page = 2; + optional string end_cursor = 3; +} + +// Copied from: local:aiserver.v1.GetPullRequestDiffRequest (var: UOs) +message GetPullRequestDiffRequest { + string pr_url = 1; +} + +// Copied from: local:aiserver.v1.GetPullRequestDiffResponse (var: zOs) +message GetPullRequestDiffResponse { + repeated SCMPullRequestDiffFile files = 1; + string base_sha = 2; + string head_sha = 3; + optional string base_ref_name = 4; + optional string head_ref_name = 5; +} + +// Copied from: local:aiserver.v1.GetPullRequestDiscussionsRequest (var: tBs) +message GetPullRequestDiscussionsRequest { + string pr_url = 1; + optional bool skip_cache = 2; +} + +// Copied from: local:aiserver.v1.GetPullRequestDiscussionsResponse (var: sOu) +message GetPullRequestDiscussionsResponse { + repeated PRReviewThread threads = 1; + repeated PRTopLevelComment top_level_comments = 2; + optional PRCheckStatus check_status = 3; +} + +// Copied from: local:aiserver.v1.GetPullRequestFileContentsRequest (var: nRu) +message GetPullRequestFileContentsRequest { + string pr_url = 1; + string path = 2; + string ref = 3; + optional uint32 max_bytes = 4; +} + +// Copied from: local:aiserver.v1.GetPullRequestFileContentsResponse (var: iRu) +message GetPullRequestFileContentsResponse { + PullRequestFileContentsStatus status = 1; + string content_base64 = 2; + uint64 size_bytes = 3; +} + +// Copied from: local:aiserver.v1.GetPullRequestForBranchRequest (var: iIu) +message GetPullRequestForBranchRequest { + string repo_url = 1; + string branch_name = 2; + optional bool skip_cache = 3; +} + +// Copied from: local:aiserver.v1.GetPullRequestForBranchResponse (var: rIu) +message GetPullRequestForBranchResponse { + string pr_url = 1; + repeated string pr_urls = 2; +} + +// Copied from: local:aiserver.v1.GetPullRequestMergeStatusRequest (var: vMi) +message GetPullRequestMergeStatusRequest { + string pr_url = 1; + optional bool include_behind_count = 2; +} + +// Copied from: local:aiserver.v1.GetPullRequestMergeStatusResponse (var: YNu) +message GetPullRequestMergeStatusResponse { + bool is_merged = 1; + bool is_closed = 2; + string mergeable_state = 3; + string state = 4; + bool is_draft = 5; + string title = 6; + string base_branch = 7; + int32 behind_by = 8; + bool can_update_branch = 9; + bool is_auto_merge_enabled = 10; + optional bool viewer_can_enable_auto_merge = 11; +} + +// Copied from: local:aiserver.v1.GetPullRequestRequest (var: FOs) +message GetPullRequestRequest { + string pr_url = 1; + bool skip_cache = 2; +} + +// Copied from: local:aiserver.v1.GetPullRequestResponse (var: BOs) +message GetPullRequestResponse { + SCMPullRequest pull_request = 1; +} + +// Copied from: local:aiserver.v1.GetPullRequestStackRequest (var: zIu) +message GetPullRequestStackRequest { + string pr_url = 1; +} + +// Copied from: local:aiserver.v1.GetPullRequestStackResponse (var: VIu) +message GetPullRequestStackResponse { + optional SCMPullRequestStack stack = 1; +} + +// Copied from: local:aiserver.v1.GetPullRequestTimelineEventsRequest (var: cOu) +message GetPullRequestTimelineEventsRequest { + string pr_url = 1; + optional int32 page = 2; +} + +// Copied from: local:aiserver.v1.GetPullRequestTimelineEventsResponse (var: lOu) +message GetPullRequestTimelineEventsResponse { + repeated PRTimelineEvent events = 1; + bool has_next_page = 2; + optional int32 next_page = 3; +} + +// Copied from: local:aiserver.v1.GetReferralCodesRequest (var: mvu) +message GetReferralCodesRequest { +} + +// Copied from: local:aiserver.v1.GetReferralCodesResponse (var: gvu) +message GetReferralCodesResponse { + repeated ReferralCodeEntry referral_codes = 1; +} + +// Copied from: local:aiserver.v1.GetReferralsRequest (var: hvu) +message GetReferralsRequest { +} + +// Copied from: local:aiserver.v1.GetReferralsResponse (var: pvu) +message GetReferralsResponse { + int32 num_referrals = 1; + string referral_code = 2; +} + +// Copied from: local:aiserver.v1.GetRelayBackfillRequest (var: Lvv) +message GetRelayBackfillRequest { + string backfill_id = 1; +} + +// Copied from: local:aiserver.v1.GetRelayBackfillResponse (var: Nvv) +message GetRelayBackfillResponse { + RelayBackfillRecord backfill = 1; + repeated RelayBackfillWindowRecord windows = 2; +} + +// Copied from: local:aiserver.v1.GetRelayPipelineDefinitionRequest (var: uvv) +message GetRelayPipelineDefinitionRequest { + optional string id = 1; + optional string name = 2; + optional string version = 3; +} + +// Copied from: local:aiserver.v1.GetRelayPipelineDefinitionResponse (var: dvv) +message GetRelayPipelineDefinitionResponse { + RelayPipelineDefinitionSummary definition = 1; +} + +// Copied from: local:aiserver.v1.GetRelayPipelineRunRequest (var: fvv) +message GetRelayPipelineRunRequest { + string run_id = 1; +} + +// Copied from: local:aiserver.v1.GetRelayPipelineRunResponse (var: vvv) +message GetRelayPipelineRunResponse { + RelayPipelineRunRecord run = 1; +} + +// Copied from: local:aiserver.v1.GetRelayScheduleRequest (var: Cvv) +message GetRelayScheduleRequest { + string schedule_id = 1; +} + +// Copied from: local:aiserver.v1.GetRelayScheduleResponse (var: Evv) +message GetRelayScheduleResponse { + RelayScheduleRecord schedule = 1; +} + +// Copied from: local:aiserver.v1.GetRelevantChunksRequest (var: tWl) +message GetRelevantChunksRequest { + repeated CodeBlock code_blocks = 1; + CmdKOptions cmd_k_options = 2; + repeated PotentiallyCachedContextItem context_items = 3; + string session_id = 4; + CmdKLegacyContext legacy_context = 5; +} + +// Copied from: local:aiserver.v1.GetRelevantChunksResponse (var: iWl) +message GetRelevantChunksResponse { + // Copied from: local:aiserver.v1.GetRelevantChunksResponse.ChainOfThoughtStream (var: rWl) + message ChainOfThoughtStream { + string text = 1; + } + + // Copied from: local:aiserver.v1.GetRelevantChunksResponse.CodeBlocks (var: sWl) + message CodeBlocks { + repeated CodeBlock code_blocks = 1; + } + + oneof response { + CodeBlocks code_blocks = 1; + ChainOfThoughtStream chain_of_thought_stream = 2; + } +} + +// Copied from: local:aiserver.v1.GetRemainingRefundsRequest (var: Mwu) +message GetRemainingRefundsRequest { +} + +// Copied from: local:aiserver.v1.GetRemainingRefundsResponse (var: Pwu) +message GetRemainingRefundsResponse { + int32 remaining_refunds = 1; +} + +// Copied from: local:aiserver.v1.GetRepoNodeIdRequest (var: Yuv) +message GetRepoNodeIdRequest { + string owner = 1; + string repo_name = 2; +} + +// Copied from: local:aiserver.v1.GetRepoNodeIdResponse (var: Zuv) +message GetRepoNodeIdResponse { + string node_id = 1; +} + +// Copied from: local:aiserver.v1.GetRepoSlashCommandsRequest (var: VNs) +message GetRepoSlashCommandsRequest { + string repo_url = 1; + optional string git_ref = 2; + optional bool include_project_plugin_skills = 3; +} + +// Copied from: local:aiserver.v1.GetRepoSlashCommandsResponse (var: xEu) +message GetRepoSlashCommandsResponse { + repeated string skill_names = 3; + repeated string command_names = 4; +} + +// Copied from: local:aiserver.v1.GetRepoSourcePreferenceRequest (var: F2s) +message GetRepoSourcePreferenceRequest { + optional int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.GetRepoSourcePreferenceResponse (var: Vvu) +message GetRepoSourcePreferenceResponse { + PreferredRepoSourceMode user_preference = 1; + PreferredRepoSourceMode team_preference = 2; + PreferredRepoSourceMode effective_preference = 3; + bool can_configure = 4; + bool origin_repos_enabled = 5; +} + +// Copied from: local:aiserver.v1.GetRepositoryBranchesRequest (var: XFs) +message GetRepositoryBranchesRequest { + string repo_url = 1; + optional int32 page = 2; + optional string query = 3; + optional bool only_user_branches = 4; + optional int32 team_id = 5; +} + +// Copied from: local:aiserver.v1.GetRepositoryBranchesResponse (var: KNu) +message GetRepositoryBranchesResponse { + // Copied from: local:aiserver.v1.GetRepositoryBranchesResponse.Branch (var: QNu) + message Branch { + string name = 1; + bool is_default = 2; + } + + repeated Branch branches = 1; + bool has_more = 2; + int32 page = 3; + bool is_empty_repo = 4; + string bootstrap_branch = 5; +} + +// Copied from: local:aiserver.v1.GetRlEvalJobRequest (var: Npv) +message GetRlEvalJobRequest { + string job_id = 1; +} + +// Copied from: local:aiserver.v1.GetRlEvalJobResponse (var: Opv) +message GetRlEvalJobResponse { + RlEvalJobRecord job = 1; +} + +// Copied from: local:aiserver.v1.GetRlEvalStepKillSignalsRequest (var: Qpv) +message GetRlEvalStepKillSignalsRequest { + string job_id = 1; +} + +// Copied from: local:aiserver.v1.GetRlEvalStepKillSignalsResponse (var: Ypv) +message GetRlEvalStepKillSignalsResponse { + repeated int32 steps = 1; +} + +// Copied from: local:aiserver.v1.GetRunKillStatusRequest (var: wpv) +message GetRunKillStatusRequest { + string run_id = 1; +} + +// Copied from: local:aiserver.v1.GetRunKillStatusResponse (var: kpv) +message GetRunKillStatusResponse { + bool kill_requested = 1; + optional string cleanup_reason = 2; +} + +// Copied from: local:aiserver.v1.GetRunRequest (var: qhv) +message GetRunRequest { + optional string request_id = 1; + optional string artifact_uri = 2; +} + +// Copied from: local:aiserver.v1.GetRunResponse (var: Khv) +message GetRunResponse { + EvalRunRecord run = 1; +} + +// Copied from: local:aiserver.v1.GetRunSummaryRequest (var: wHu) +message GetRunSummaryRequest { + optional string automation_id = 1; + optional int32 team_id = 2; + bool owner_only = 3; +} + +// Copied from: local:aiserver.v1.GetRunSummaryResponse (var: kHu) +message GetRunSummaryResponse { + repeated RunSummaryWindow windows = 1; + repeated HistogramBucket histogram = 2; +} + +// Copied from: local:aiserver.v1.GetSCMPullRequestCommitsRequest (var: WOs) +message GetSCMPullRequestCommitsRequest { + string pr_url = 1; + optional string after_cursor = 2; + bool skip_cache = 3; +} + +// Copied from: local:aiserver.v1.GetSCMPullRequestCommitsResponse (var: HOs) +message GetSCMPullRequestCommitsResponse { + repeated SCMPullRequestCommit commits = 1; + bool has_next_page = 2; + optional string end_cursor = 3; +} + +// Copied from: local:aiserver.v1.GetSCMPullRequestTimelineEventsRequest (var: aRu) +message GetSCMPullRequestTimelineEventsRequest { + string pr_url = 1; + optional int32 page = 2; + bool skip_cache = 3; +} + +// Copied from: local:aiserver.v1.GetSCMPullRequestTimelineEventsResponse (var: cRu) +message GetSCMPullRequestTimelineEventsResponse { + repeated SCMPullRequestTimelineEvent events = 1; + bool has_next_page = 2; + optional int32 next_page = 3; +} + +// Copied from: local:aiserver.v1.GetSandAccessStatusRequest (var: mNs) +message GetSandAccessStatusRequest { +} + +// Copied from: local:aiserver.v1.GetSandAccessStatusResponse (var: o_u) +message GetSandAccessStatusResponse { + // Copied from: local:aiserver.v1.GetSandAccessStatusResponse.SandAccessBlockReason (var: c_u) + enum SandAccessBlockReason { + SAND_ACCESS_BLOCK_REASON_UNSPECIFIED = 0; + SAND_ACCESS_BLOCK_REASON_NONE = 1; + SAND_ACCESS_BLOCK_REASON_TEAM_PRIVACY_MODE = 2; + SAND_ACCESS_BLOCK_REASON_TEAM_SETUP_REQUIRED = 3; + SAND_ACCESS_BLOCK_REASON_TEAM_ACCESS_REQUIRED = 4; + SAND_ACCESS_BLOCK_REASON_NOT_OFFERED = 5; + SAND_ACCESS_BLOCK_REASON_FREE_TRIAL_AVAILABLE = 6; + SAND_ACCESS_BLOCK_REASON_PAYWALL_INDIVIDUAL = 7; + SAND_ACCESS_BLOCK_REASON_PAYWALL_TEAM_MEMBER = 8; + SAND_ACCESS_BLOCK_REASON_PAYWALL_TEAM_ADMIN = 9; + } + + // Copied from: local:aiserver.v1.GetSandAccessStatusResponse.SandAccessState (var: gDi) + enum SandAccessState { + SAND_ACCESS_STATE_UNSPECIFIED = 0; + SAND_ACCESS_STATE_GRANTED = 1; + SAND_ACCESS_STATE_UNAVAILABLE = 2; + SAND_ACCESS_STATE_PAYMENT_REQUIRED = 3; + } + + // Copied from: local:aiserver.v1.GetSandAccessStatusResponse.SandPurchaseChannel (var: a_u) + enum SandPurchaseChannel { + SAND_PURCHASE_CHANNEL_UNSPECIFIED = 0; + SAND_PURCHASE_CHANNEL_IN_APP = 1; + SAND_PURCHASE_CHANNEL_MANAGE_IN_CURSOR = 2; + SAND_PURCHASE_CHANNEL_MANAGE_ON_WEB = 3; + } + + SandAccessState state = 1; + SandPurchaseChannel purchase_channel = 2; + SandAccessBlockReason block_reason = 3; +} + +// Copied from: local:aiserver.v1.GetSandBoxRunStateRequest (var: yKd) +message GetSandBoxRunStateRequest { +} + +// Copied from: local:aiserver.v1.GetSandBoxRunStateResponse (var: SKd) +message GetSandBoxRunStateResponse { + SandBoxRunState state = 1; + optional bool image_update_available = 2; +} + +// Copied from: local:aiserver.v1.GetSandBoxUpgradeScheduleRequest (var: wKd) +message GetSandBoxUpgradeScheduleRequest { +} + +// Copied from: local:aiserver.v1.GetSandBoxUpgradeScheduleResponse (var: kKd) +message GetSandBoxUpgradeScheduleResponse { + SandBoxUpgradeSchedule schedule = 1; +} + +// Copied from: local:aiserver.v1.GetSandTrialClaimStatusRequest (var: C_u) +message GetSandTrialClaimStatusRequest { +} + +// Copied from: local:aiserver.v1.GetSandTrialClaimStatusResponse (var: E_u) +message GetSandTrialClaimStatusResponse { + // Copied from: local:aiserver.v1.GetSandTrialClaimStatusResponse.SandTrialClaimStatus (var: x_u) + enum SandTrialClaimStatus { + SAND_TRIAL_CLAIM_STATUS_UNSPECIFIED = 0; + SAND_TRIAL_CLAIM_STATUS_NONE = 1; + SAND_TRIAL_CLAIM_STATUS_PENDING_CARD = 2; + SAND_TRIAL_CLAIM_STATUS_GRANTED = 3; + SAND_TRIAL_CLAIM_STATUS_REJECTED_DUPLICATE_CARD = 4; + SAND_TRIAL_CLAIM_STATUS_BLOCKED = 5; + } + + SandTrialClaimStatus status = 1; +} + +// Copied from: local:aiserver.v1.GetSandUsageStatusRequest (var: m_u) +message GetSandUsageStatusRequest { +} + +// Copied from: local:aiserver.v1.GetSandUsageStatusResponse (var: g_u) +message GetSandUsageStatusResponse { + google.protobuf.Timestamp current_period_start = 1; + google.protobuf.Timestamp next_reset_timestamp_utc = 2; + optional double usage_percent = 3; + bool included_limit_zero = 4; + int64 available_banked_reset_count = 5; + bool uses_pooled_enterprise_allowance = 6; + bool has_available_usage = 7; + bool has_non_zero_included_limit = 8; + optional SandUpgradeRecommendation upgrade_recommendation = 9; + optional google.protobuf.Timestamp sand_trial_expires_at = 10; + bool sand_trial_cancelable = 11; + repeated SandUpgradeRecommendation upgrade_recommendations = 12; +} + +// Copied from: local:aiserver.v1.GetScimConfigurationLinksRequest (var: Zfu) +message GetScimConfigurationLinksRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.GetScimConfigurationLinksResponse (var: Xfu) +message GetScimConfigurationLinksResponse { + string scim_url = 1; + string scim_status = 2; +} + +// Copied from: local:aiserver.v1.GetScimConflictsRequest (var: R0u) +message GetScimConflictsRequest { + int32 team_id = 1; + optional GroupType type = 2; +} + +// Copied from: local:aiserver.v1.GetScimConflictsResponse (var: P0u) +message GetScimConflictsResponse { + repeated ScimConflictUser conflicted_users = 1; +} + +// Copied from: local:aiserver.v1.GetScmConnectionStatusRequest (var: nCn) +message GetScmConnectionStatusRequest { + optional string ghe_application = 1; + optional int32 team_id = 2; +} + +// Copied from: local:aiserver.v1.GetScmConnectionStatusResponse (var: xyu) +message GetScmConnectionStatusResponse { + bool connected = 1; +} + +// Copied from: local:aiserver.v1.GetSecuritybotResolutionStatsRequest (var: xHu) +message GetSecuritybotResolutionStatsRequest { + optional string automation_id = 1; + optional int32 team_id = 2; +} + +// Copied from: local:aiserver.v1.GetSecuritybotResolutionStatsResponse (var: THu) +message GetSecuritybotResolutionStatsResponse { + uint32 vulnerabilities_count = 1; + uint32 fixed_count = 2; + uint32 automation_count = 3; +} + +// Copied from: local:aiserver.v1.GetSentryAuthUrlRequest (var: ozu) +message GetSentryAuthUrlRequest { +} + +// Copied from: local:aiserver.v1.GetSentryAuthUrlResponse (var: azu) +message GetSentryAuthUrlResponse { + string install_url = 1; + string csrf_token = 2; +} + +// Copied from: local:aiserver.v1.GetSentryProjectsRequest (var: hzu) +message GetSentryProjectsRequest { +} + +// Copied from: local:aiserver.v1.GetSentryProjectsResponse (var: mzu) +message GetSentryProjectsResponse { + repeated SentryProject projects = 1; + optional string organization_slug = 2; +} + +// Copied from: local:aiserver.v1.GetSentryStatusRequest (var: uzu) +message GetSentryStatusRequest { +} + +// Copied from: local:aiserver.v1.GetSentryStatusResponse (var: dzu) +message GetSentryStatusResponse { + bool is_connected = 1; + optional string organization_slug = 2; +} + +// Copied from: local:aiserver.v1.GetServerConfigRequest (var: b8u) +message GetServerConfigRequest { + bool telem_enabled = 1; + repeated double bug_bot_dismissed_notification_last_10_times_unix_ms = 2; + repeated double bug_bot_viewed_notification_last_10_times_unix_ms = 3; + VscodeOSStatistics os_stats = 4; + VscodeOSProperties os_properties = 5; + RemoteAuthority remote_authority = 6; + InAppAdTrigger in_app_ad_trigger = 7; + DevEnvironment dev_environment = 8; + ClientSurface client_surface = 9; + ScmConnectAdContext scm_connect_ad_context = 10; +} + +// Copied from: local:aiserver.v1.GetServerConfigResponse (var: Omt) +message GetServerConfigResponse { + BugConfigResponse bug_config_response = 1; + bool is_dev_do_not_use_for_secret_things_because_can_be_spoofed_by_users = 2; + IndexingConfig indexing_config = 3; + ClientTracingConfig client_tracing_config = 4; + ChatConfig chat_config = 5; + string config_version = 6; + Http2Config http2_config = 7; + ProfilingConfig profiling_config = 8; + MetricsConfig metrics_config = 9; + BackgroundComposerConfig background_composer_config = 10; + AutoContextConfig auto_context_config = 11; + repeated ModelMigration model_migrations = 12; + MemoryMonitorConfig memory_monitor_config = 13; + FolderSizeLimit folder_size_limit = 14; + OnlineMetricsConfig online_metrics_config = 20; + GitIndexingConfig git_indexing_config = 15; + PerformanceEventsConfig performance_events_config = 16; + optional InAppAd current_in_app_ad = 17; + TraceConfig trace_config = 18; + optional RunTerminalServerConfig run_terminal_server_config = 19; + InteractionConfig interaction_config = 21; + AgentTelemetryConfig agent_telemetry_config = 22; + optional ClientVersionStatus client_version_status = 23; + optional UpdateConfig update_config = 24; + optional AgentLayoutPolicy agent_layout_policy = 25; + bool use_nlb_for_nal = 26; + AgentUrlConfig agent_url_config = 27; + optional bool cli_sandbox_default_enabled = 28; + optional TerminalTipConfig terminal_tip_config = 30; + optional string model_picker_nudge = 31; + repeated InferenceProviderWarning inference_provider_warnings = 32; + optional OnboardingConfig onboarding_config = 33; + optional BugbotConfig bugbot_config = 34; + optional CodebaseTelemetryConfig codebase_telemetry_config = 35; + RetrievalKeepAliveConfig retrieval_keep_alive_config = 36; + optional GoogleWorkspaceMcpOAuthClient google_workspace_mcp_oauth_client = 37; +} + +// Copied from: local:aiserver.v1.GetServiceAccountSpendLimitRequest (var: Lwu) +message GetServiceAccountSpendLimitRequest { + optional int32 team_id = 1; + string service_type = 2; +} + +// Copied from: local:aiserver.v1.GetServiceAccountSpendLimitResponse (var: Nwu) +message GetServiceAccountSpendLimitResponse { + optional int32 spend_limit_cents = 1; + optional int32 current_spend_cents = 2; + optional bool is_in_free_trial = 3; + optional int64 free_trial_expires_at = 4; +} + +// Copied from: local:aiserver.v1.GetSessionTokenRequest (var: Olv) +message GetSessionTokenRequest { + // Copied from: local:aiserver.v1.GetSessionTokenRequest.Destination (var: Flv) + enum Destination { + DESTINATION_UNSPECIFIED = 0; + DESTINATION_PORTAL = 1; + DESTINATION_AISERVER = 2; + DESTINATION_AUTH_PROXY = 3; + } + + User user = 1; + Destination destination = 2; + optional string stub = 3; + optional string code = 4; + optional string code_verifier = 5; + optional string redirect_uri = 6; + optional bool issue_refresh_token = 7; +} + +// Copied from: local:aiserver.v1.GetSessionTokenResponse (var: Blv) +message GetSessionTokenResponse { + string session_token = 1; + optional string id = 2; + bool should_show_trial = 3; + bool enable_trial_for_deep_control = 4; + bool was_auto_enrolled = 5; + optional string refresh_token = 6; +} + +// Copied from: local:aiserver.v1.GetSharedCanvasRequest (var: axu) +message GetSharedCanvasRequest { + string share_id = 1; + bool metadata_only = 2; +} + +// Copied from: local:aiserver.v1.GetSharedCanvasResponse (var: cxu) +message GetSharedCanvasResponse { + SharedCanvasMetadata metadata = 1; + bytes app_js = 2; + bytes data_json = 3; +} + +// Copied from: local:aiserver.v1.GetSharedConversationRequest (var: eOs) +message GetSharedConversationRequest { + string share_id = 1; +} + +// Copied from: local:aiserver.v1.GetSharedConversationResponse (var: vxu) +message GetSharedConversationResponse { + SharedConversationMetadata metadata = 1; + repeated ConversationMessage messages = 2; + optional SharedConversationLatestPlan latest_plan = 3; +} + +// Copied from: local:aiserver.v1.GetSignUpTypeRequest (var: jfu) +message GetSignUpTypeRequest { +} + +// Copied from: local:aiserver.v1.GetSignUpTypeResponse (var: Wfu) +message GetSignUpTypeResponse { + // Copied from: local:aiserver.v1.GetSignUpTypeResponse.SignUpType (var: Hfu) + enum SignUpType { + SIGN_UP_TYPE_UNSPECIFIED = 0; + SIGN_UP_TYPE_AUTH_0 = 1; + SIGN_UP_TYPE_GOOGLE = 2; + SIGN_UP_TYPE_GITHUB = 3; + SIGN_UP_TYPE_WORKOS = 4; + SIGN_UP_TYPE_GROK = 5; + SIGN_UP_TYPE_X = 6; + } + + SignUpType sign_up_type = 1; +} + +// Copied from: local:aiserver.v1.GetSimplePromptRequest (var: GIs) +message GetSimplePromptRequest { + string query = 1; + string answer_placeholder = 2; +} + +// Copied from: local:aiserver.v1.GetSimplePromptResponse (var: Bql) +message GetSimplePromptResponse { + string result = 1; +} + +// Copied from: local:aiserver.v1.GetSimulationRequest (var: $bv) +message GetSimulationRequest { + int32 user_id = 1; +} + +// Copied from: local:aiserver.v1.GetSimulationResponse (var: jbv) +message GetSimulationResponse { + SimulationData simulation = 1; +} + +// Copied from: local:aiserver.v1.GetSlackConversationsByIdsRequest (var: gTu) +message GetSlackConversationsByIdsRequest { + repeated string conversation_ids = 1; +} + +// Copied from: local:aiserver.v1.GetSlackConversationsByIdsResponse (var: fTu) +message GetSlackConversationsByIdsResponse { + repeated SlackConversation conversations = 1; +} + +// Copied from: local:aiserver.v1.GetSlackDefaultWorkerRulesRequest (var: NCu) +message GetSlackDefaultWorkerRulesRequest { +} + +// Copied from: local:aiserver.v1.GetSlackDefaultWorkerRulesResponse (var: OCu) +message GetSlackDefaultWorkerRulesResponse { + repeated SlackDefaultWorkerRule rules = 1; +} + +// Copied from: local:aiserver.v1.GetSlackInstallUrlRequest (var: C2s) +message GetSlackInstallUrlRequest { + int32 team_id = 1; + optional string repo_url = 2; +} + +// Copied from: local:aiserver.v1.GetSlackInstallUrlResponse (var: igu) +message GetSlackInstallUrlResponse { + string url = 1; +} + +// Copied from: local:aiserver.v1.GetSlackModelOptionsRequest (var: cgu) +message GetSlackModelOptionsRequest { +} + +// Copied from: local:aiserver.v1.GetSlackModelOptionsResponse (var: lgu) +message GetSlackModelOptionsResponse { + repeated string model_options = 1; +} + +// Copied from: local:aiserver.v1.GetSlackRepoRoutingRulesRequest (var: TCu) +message GetSlackRepoRoutingRulesRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.GetSlackRepoRoutingRulesResponse (var: ACu) +message GetSlackRepoRoutingRulesResponse { + repeated SlackRepoRoutingRule rules = 1; +} + +// Copied from: local:aiserver.v1.GetSlackSettingsRequest (var: tgu) +message GetSlackSettingsRequest { +} + +// Copied from: local:aiserver.v1.GetSlackSettingsResponse (var: ngu) +message GetSlackSettingsResponse { + bool available = 1; +} + +// Copied from: local:aiserver.v1.GetSlackTeamSettingsRequest (var: Zmu) +message GetSlackTeamSettingsRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.GetSlackTeamSettingsResponse (var: Xmu) +message GetSlackTeamSettingsResponse { + string default_repo = 1; + string default_branch = 2; + string default_model = 3; + bool share_summary = 4; + bool share_summary_in_external_channel = 5; + repeated SlackChannelRepoMapping channel_repo_mappings = 6; + optional bool auto_draft_enabled = 7; + optional bool use_github_app_for_auto_draft_prs = 8; + string branch_prefix = 9; + optional CloudAgentModelSelection default_model_selection = 10; +} + +// Copied from: local:aiserver.v1.GetSlackUserSettingsRequest (var: SCu) +message GetSlackUserSettingsRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.GetSlackUserSettingsResponse (var: wCu) +message GetSlackUserSettingsResponse { + bool has_slack_auth = 1; + string default_repo = 2; + string default_branch = 3; + string default_model = 4; + bool can_show = 5; + bool open_pr_by_default = 6; + optional bool use_github_app_for_auto_draft_prs = 7; + bool ci_failure_followup_enabled = 8; + string branch_prefix = 9; + optional CloudAgentModelSelection default_model_selection = 10; +} + +// Copied from: local:aiserver.v1.GetSpendLimitPolicyRequest (var: ymu) +message GetSpendLimitPolicyRequest { + int32 team_id = 1; + SpendLimitPolicyScope scope = 2; +} + +// Copied from: local:aiserver.v1.GetSpendLimitPolicyResponse (var: Smu) +message GetSpendLimitPolicyResponse { + SpendLimitPolicy policy = 1; +} + +// Copied from: local:aiserver.v1.GetSsoConfigurationLinksRequest (var: Qfu) +message GetSsoConfigurationLinksRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.GetSsoConfigurationLinksResponse (var: Yfu) +message GetSsoConfigurationLinksResponse { + string sso_url = 1; + string domain_verification_url = 2; + string sso_status = 3; +} + +// Copied from: local:aiserver.v1.GetSuggestedBugBotIterationsRequest (var: yHl) +message GetSuggestedBugBotIterationsRequest { + int32 diff_char_len = 1; + ModelDetails model_details = 2; +} + +// Copied from: local:aiserver.v1.GetSuggestedBugBotIterationsResponse (var: SHl) +message GetSuggestedBugBotIterationsResponse { + int32 iterations = 1; +} + +// Copied from: local:aiserver.v1.GetSymbolsParams (var: $bs) +message GetSymbolsParams { + // Copied from: local:aiserver.v1.GetSymbolsParams.LineRange (var: jbs) + message LineRange { + int32 start_line_number = 1; + int32 end_line_number_inclusive = 2; + } + + string relative_workspace_path = 1; + optional LineRange line_range = 2; + bool include_children = 3; +} + +// Copied from: local:aiserver.v1.GetSymbolsResult (var: Wbs) +message GetSymbolsResult { + repeated DocumentSymbol symbols = 1; +} + +// Copied from: local:aiserver.v1.GetTeamAdminSettingsRequest (var: hDi) +message GetTeamAdminSettingsRequest { + optional int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.GetTeamAdminSettingsResponse (var: smt) +message GetTeamAdminSettingsResponse { + repeated string allowed_models = 1; + repeated string blocked_models = 2; + AutoRunControls auto_run_controls = 3; + CursorIgnoreControls cursor_ignore_controls = 4; + bool dot_cursor_protection = 5; + optional AllowedMCPConfiguration allowed_mcp_configuration = 6; + optional BackgroundAgentSettings background_agent_settings = 7; + optional CliSettings cli_settings = 8; + optional MCPControls mcp_controls = 9; + optional PromptDeeplinkControls prompt_deeplink_controls = 10; + optional CommandDeeplinkControls command_deeplink_controls = 11; + optional DeeplinkControls deeplink_controls = 12; + optional GithubIntegrationSettings github_integration_settings = 13; + optional SlackIntegrationSettings slack_integration_settings = 14; + optional LinearIntegrationSettings linear_integration_settings = 15; + optional WorkspaceTrustControls workspace_trust_controls = 16; + optional GitlabIntegrationSettings gitlab_integration_settings = 17; + optional bool browser_features = 18; + repeated string browser_origin_allowlist = 23; + optional bool byok_disabled = 19; + optional bool dashboard_analytics_requires_admin = 20; + optional SharedConversationSettings shared_conversation_settings = 21; + optional string allowed_extensions = 22; + optional bool disable_conversation_insights = 24; + optional CursorBlameSettings cursor_blame_settings = 25; + repeated string network_denylist = 26; + repeated string network_allowlist = 27; + optional ExtensionSigningSettings extension_signing_settings = 28; + optional bool enforce_invite_domain_on_accept = 29; + optional FirstPartyPluginConfiguration first_party_plugin_configuration = 30; + optional AttributionControls attribution_controls = 31; + optional bool allow_third_party_plugin_imports = 32; + optional bool allow_user_local_plugin_imports = 44; + optional GlassSettings glass_settings = 33; + optional TeamAdminNewChatModelResetSettings new_chat_model_reset_settings = 34; + optional ModelAllowlist model_allowlist = 35; + optional JiraIntegrationSettings jira_integration_settings = 36; + optional PullRequestPreferences pull_request_preferences = 37; + optional BrowserSettings browser_settings = 38; + repeated string cloud_agent_egress_allowlist = 39; + optional bool mirror_sandbox_allowlist_for_egress = 40; + AutoReviewInstructions auto_review = 49; + optional LocalToolControls local_tool_controls = 60; + optional SandNetworkControls sand_network_controls = 64; + optional SandActionAuditSettings sand_action_audit_settings = 61; + optional string remote_permissions_file_path = 41; + repeated string remote_permissions_file_paths = 46; + repeated string local_permissions_file_path = 45; + optional bool permissions_file_overrides_auto_run = 47; + optional SharedCanvasSettings shared_canvas_settings = 42; + optional int32 invite_link_max_ttl_seconds = 43; + optional ExtensionInstallCooldownSettings extension_install_cooldown_settings = 48; + optional PublicProfileSettings public_profile_settings = 50; + optional BitbucketIntegrationSettings bitbucket_integration_settings = 51; + optional bool marketplace_leaderboard_disabled = 52; + optional bool new_chat_nudge_all_to_smart_auto = 53; + optional bool models_auto_only = 54; + optional string new_chat_nudge_all_to_smart_auto_optimize_for = 55; + optional bool restrict_invites_to_admins = 56; + optional bool viewer_can_invite_members = 57; + optional bool enforce_hooks_readiness = 58; + optional LlmGatewaySettings llm_gateway = 59; + optional SandOnboardingState sand_onboarding = 62; + optional bool origin_disabled = 63; +} + +// Copied from: local:aiserver.v1.GetTeamAnalyticsRequest (var: Bbu) +message GetTeamAnalyticsRequest { + int32 team_id = 1; + optional int64 start_date = 2; + optional int64 end_date = 3; + optional string version = 4; +} + +// Copied from: local:aiserver.v1.GetTeamAnalyticsResponse (var: Ubu) +message GetTeamAnalyticsResponse { + repeated DailyMetrics daily_metrics = 1; + AnalyticsPeriod period = 2; + ActiveUsers active_users = 3; +} + +// Copied from: local:aiserver.v1.GetTeamBackgroundAgentSettingsRequest (var: Qxu) +message GetTeamBackgroundAgentSettingsRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.GetTeamBackgroundAgentSettingsResponse (var: Yxu) +message GetTeamBackgroundAgentSettingsResponse { + BackgroundAgentSettings settings = 1; +} + +// Copied from: local:aiserver.v1.GetTeamBugbotSettingsRequest (var: a1u) +message GetTeamBugbotSettingsRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.GetTeamBugbotSettingsResponse (var: l1u) +message GetTeamBugbotSettingsResponse { + int32 bugbot_licenses_hard_limit = 1; + bool bugbot_plan_enabled = 2; + repeated string allowlist = 3; + int32 current_cycle_unique_users = 4; + int32 bugbot_license_count = 5; + AllowlistConfig allowlist_config = 6; + bool bugbot_was_enabled_in_this_billing_cycle = 7; + repeated BugbotLicenseUsage license_usage = 8; + BugbotUsageTier bugbot_usage_tier = 9; + bool bugbot_globally_disabled = 10; + repeated string mcp_server_names = 11; + BugbotBillingMode bugbot_billing_mode = 12; + bool bugbot_usage_based_on_enable = 13; + bool can_migrate_to_usage_based = 14; + int32 seat_license_count = 15; + bool bugbot_migration_credit_already_granted = 16; + bool is_incremental_review_enabled = 17; + bool merged_pr_scan_opted_out = 18; + bool cost_controls_available = 19; + optional int32 max_main_agent_cost_cents = 20; + optional int32 max_subagent_cost_cents = 21; + optional int32 max_runs_per_pr = 22; +} + +// Copied from: local:aiserver.v1.GetTeamCommandsRequest (var: HNs) +message GetTeamCommandsRequest { + optional bool active_only = 1; + optional int32 team_id = 2; +} + +// Copied from: local:aiserver.v1.GetTeamCommandsResponse (var: vEu) +message GetTeamCommandsResponse { + repeated TeamCommand commands = 1; +} + +// Copied from: local:aiserver.v1.GetTeamCreditsRequest (var: pbv) +message GetTeamCreditsRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.GetTeamCreditsResponse (var: mbv) +message GetTeamCreditsResponse { + optional int32 credit_dollars = 1; + bool is_override = 2; + bool is_expired = 3; + optional int32 config_credit_dollars = 4; + optional double used_dollars = 5; +} + +// Copied from: local:aiserver.v1.GetTeamCustomerPortalUrlRequest (var: Hmu) +message GetTeamCustomerPortalUrlRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.GetTeamCustomerPortalUrlResponse (var: zmu) +message GetTeamCustomerPortalUrlResponse { + string portal_url = 1; +} + +// Copied from: local:aiserver.v1.GetTeamCustomerTelemetryDestinationHealthRequest (var: T1u) +message GetTeamCustomerTelemetryDestinationHealthRequest { + int32 team_id = 1; + string destination_id = 2; +} + +// Copied from: local:aiserver.v1.GetTeamCustomerTelemetryDestinationHealthResponse (var: A1u) +message GetTeamCustomerTelemetryDestinationHealthResponse { + TeamCustomerTelemetryDestinationHealthStatus status = 1; + repeated TeamCustomerTelemetryDestinationHealthBucket buckets = 2; + optional int64 last_success_at_epoch_millis = 3; + optional int64 last_error_at_epoch_millis = 4; + string last_error_class = 5; + optional int32 last_error_status = 6; + int64 queue_depth = 7; + string breaker_state = 8; + int64 oldest_batch_age_ms = 9; + repeated TeamCustomerTelemetryDestinationRecentError recent_errors = 10; +} + +// Copied from: local:aiserver.v1.GetTeamCustomerTelemetryDestinationsRequest (var: g1u) +message GetTeamCustomerTelemetryDestinationsRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.GetTeamCustomerTelemetryDestinationsResponse (var: f1u) +message GetTeamCustomerTelemetryDestinationsResponse { + repeated TeamCustomerTelemetryDestination destinations = 1; + repeated TeamCustomerTelemetryDestinationFamily available_families = 2; +} + +// Copied from: local:aiserver.v1.GetTeamGithubUsersRequest (var: rSu) +message GetTeamGithubUsersRequest { + int32 team_id = 1; + optional string ghe_application = 3; +} + +// Copied from: local:aiserver.v1.GetTeamGithubUsersResponse (var: sSu) +message GetTeamGithubUsersResponse { + repeated GithubUser users = 1; +} + +// Copied from: local:aiserver.v1.GetTeamGroupAutoReviewSettingsRequest (var: Qdu) +message GetTeamGroupAutoReviewSettingsRequest { + int32 team_id = 1; + string group_public_id = 2; +} + +// Copied from: local:aiserver.v1.GetTeamGroupAutoReviewSettingsResponse (var: Ydu) +message GetTeamGroupAutoReviewSettingsResponse { + AutoReviewInstructions auto_review = 1; +} + +// Copied from: local:aiserver.v1.GetTeamGroupAutorunSettingsRequest (var: jdu) +message GetTeamGroupAutorunSettingsRequest { + int32 team_id = 1; + string group_public_id = 2; +} + +// Copied from: local:aiserver.v1.GetTeamGroupAutorunSettingsResponse (var: Wdu) +message GetTeamGroupAutorunSettingsResponse { + AutoRunControls auto_run_controls = 1; +} + +// Copied from: local:aiserver.v1.GetTeamGroupMembersRequest (var: Tdu) +message GetTeamGroupMembersRequest { + int32 team_id = 1; + string group_public_id = 2; + optional int32 page = 3; + optional int32 page_size = 4; + optional string search_term = 5; + optional string sort_by = 6; + optional string sort_direction = 7; +} + +// Copied from: local:aiserver.v1.GetTeamGroupMembersResponse (var: Adu) +message GetTeamGroupMembersResponse { + repeated TeamGroupMember members = 1; + int32 total_members = 2; + int32 total_pages = 3; +} + +// Copied from: local:aiserver.v1.GetTeamGroupModelAllowlistRequest (var: Vdu) +message GetTeamGroupModelAllowlistRequest { + int32 team_id = 1; + string group_public_id = 2; +} + +// Copied from: local:aiserver.v1.GetTeamGroupModelAllowlistResponse (var: Gdu) +message GetTeamGroupModelAllowlistResponse { + optional ModelAllowlist model_allowlist = 1; +} + +// Copied from: local:aiserver.v1.GetTeamGroupRequest (var: Edu) +message GetTeamGroupRequest { + int32 team_id = 1; + string group_public_id = 2; +} + +// Copied from: local:aiserver.v1.GetTeamGroupResponse (var: xdu) +message GetTeamGroupResponse { + TeamGroup group = 1; +} + +// Copied from: local:aiserver.v1.GetTeamGroupSandNetworkSettingsRequest (var: ihu) +message GetTeamGroupSandNetworkSettingsRequest { + int32 team_id = 1; + string group_public_id = 2; +} + +// Copied from: local:aiserver.v1.GetTeamGroupSandNetworkSettingsResponse (var: rhu) +message GetTeamGroupSandNetworkSettingsResponse { + SandNetworkControls sand_network_controls = 1; + SandNetworkControls team_sand_network_controls = 2; +} + +// Copied from: local:aiserver.v1.GetTeamGroupSmartAutoSettingsRequest (var: ahu) +message GetTeamGroupSmartAutoSettingsRequest { + int32 team_id = 1; + string group_public_id = 2; +} + +// Copied from: local:aiserver.v1.GetTeamGroupSmartAutoSettingsResponse (var: chu) +message GetTeamGroupSmartAutoSettingsResponse { + SmartAutoSettings settings = 1; + bool can_enable = 2; + optional bool new_chat_nudge_all_to_smart_auto = 3; + optional bool models_auto_only = 4; + optional string new_chat_nudge_all_to_smart_auto_optimize_for = 5; +} + +// Copied from: local:aiserver.v1.GetTeamGroupsRequest (var: kdu) +message GetTeamGroupsRequest { + int32 team_id = 1; + optional int32 page = 2; + optional int32 page_size = 3; + optional string search_term = 4; +} + +// Copied from: local:aiserver.v1.GetTeamGroupsResponse (var: Cdu) +message GetTeamGroupsResponse { + repeated TeamGroup groups = 1; + int32 total_groups = 2; + int32 total_pages = 3; +} + +// Copied from: local:aiserver.v1.GetTeamHasValidPaymentMethodRequest (var: tmu) +message GetTeamHasValidPaymentMethodRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.GetTeamHasValidPaymentMethodResponse (var: nmu) +message GetTeamHasValidPaymentMethodResponse { + bool has_valid_payment_method = 1; + int32 trial_days_remaining = 2; +} + +// Copied from: local:aiserver.v1.GetTeamHooksRequest (var: lEu) +message GetTeamHooksRequest { + optional bool active_only = 1; + optional int32 team_id = 2; +} + +// Copied from: local:aiserver.v1.GetTeamHooksResponse (var: uEu) +message GetTeamHooksResponse { + repeated TeamHook hooks = 1; +} + +// Copied from: local:aiserver.v1.GetTeamIdForReactivationRequest (var: Ifu) +message GetTeamIdForReactivationRequest { +} + +// Copied from: local:aiserver.v1.GetTeamIdForReactivationResponse (var: Rfu) +message GetTeamIdForReactivationResponse { + optional int32 team_id = 1; + bool is_eligible = 2; +} + +// Copied from: local:aiserver.v1.GetTeamInviteLinkRequest (var: pgu) +message GetTeamInviteLinkRequest { + int32 team_id = 1; + optional bool create_if_missing = 3; + optional TeamMemberBillingTier billing_tier = 4; + optional TeamRole role = 5; +} + +// Copied from: local:aiserver.v1.GetTeamInviteLinkResponse (var: mgu) +message GetTeamInviteLinkResponse { + optional string invite_link = 1; +} + +// Copied from: local:aiserver.v1.GetTeamInviteMetadataRequest (var: Pgu) +message GetTeamInviteMetadataRequest { + string invite_code = 1; +} + +// Copied from: local:aiserver.v1.GetTeamInviteMetadataResponse (var: Lgu) +message GetTeamInviteMetadataResponse { + int32 team_id = 1; + string team_name = 2; + string inviter_name = 3; + string inviter_email = 4; + bool invitee_email_matches_authenticated_user = 5; + optional bool invite_has_bound_recipient = 6; +} + +// Copied from: local:aiserver.v1.GetTeamLlmGatewayCredentialStatusRequest (var: lbu) +message GetTeamLlmGatewayCredentialStatusRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.GetTeamLlmGatewayCredentialStatusResponse (var: ubu) +message GetTeamLlmGatewayCredentialStatusResponse { + TeamLlmGatewayCredentialStatus status = 1; +} + +// Copied from: local:aiserver.v1.GetTeamMemberDomainsRequest (var: xfu) +message GetTeamMemberDomainsRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.GetTeamMemberDomainsResponse (var: Afu) +message GetTeamMemberDomainsResponse { + repeated TeamMemberDomain domains = 1; +} + +// Copied from: local:aiserver.v1.GetTeamMemberProfileByHandleRequest (var: FTu) +message GetTeamMemberProfileByHandleRequest { + string handle = 1; +} + +// Copied from: local:aiserver.v1.GetTeamMemberProfileByHandleResponse (var: BTu) +message GetTeamMemberProfileByHandleResponse { + UserProfile profile = 1; + PublicProfileActivitySummary activity_summary = 2; +} + +// Copied from: local:aiserver.v1.GetTeamMembersRequest (var: ugu) +message GetTeamMembersRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.GetTeamMembersResponse (var: hgu) +message GetTeamMembersResponse { + repeated TeamMember team_members = 1; + int32 user_id = 2; + bool is_scim_synced = 3; +} + +// Copied from: local:aiserver.v1.GetTeamPinnedMarketplacePluginsRequest (var: vOs) +message GetTeamPinnedMarketplacePluginsRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.GetTeamPinnedMarketplacePluginsResponse (var: CAu) +message GetTeamPinnedMarketplacePluginsResponse { + repeated Plugin plugins = 1; +} + +// Copied from: local:aiserver.v1.GetTeamPluginPopularityRequest (var: fOs) +message GetTeamPluginPopularityRequest { + int32 team_id = 1; + optional bool use_replica = 2; +} + +// Copied from: local:aiserver.v1.GetTeamPluginPopularityResponse (var: _Au) +message GetTeamPluginPopularityResponse { + repeated TeamPluginPopularityCount counts = 1; +} + +// Copied from: local:aiserver.v1.GetTeamPluginPrimitiveUsageRequest (var: GDi) +message GetTeamPluginPrimitiveUsageRequest { + int32 team_id = 1; + PluginPrimitiveType primitive_type = 2; + PluginPrimitiveUsageInterval interval = 3; + optional int32 limit = 4; + optional int32 page_number = 5; +} + +// Copied from: local:aiserver.v1.GetTeamPluginPrimitiveUsageResponse (var: SAu) +message GetTeamPluginPrimitiveUsageResponse { + repeated TeamPluginPrimitiveUsageRow rows = 1; + bool has_more = 2; + int32 page_size = 3; + int32 page_number = 4; +} + +// Copied from: local:aiserver.v1.GetTeamPrivacyModeForcedRequest (var: p2s) +message GetTeamPrivacyModeForcedRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.GetTeamPrivacyModeForcedResponse (var: Ehu) +message GetTeamPrivacyModeForcedResponse { + bool privacy_mode_forced = 1; + PrivacyMode privacy_mode = 2; + bool privacy_mode_migration_opted_out = 3; +} + +// Copied from: local:aiserver.v1.GetTeamPromptCachingSettingsRequest (var: Pxu) +message GetTeamPromptCachingSettingsRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.GetTeamPromptCachingSettingsResponse (var: Lxu) +message GetTeamPromptCachingSettingsResponse { + ClaudeCacheTtlPolicy claude_cache_ttl = 1; + bool can_configure = 2; +} + +// Copied from: local:aiserver.v1.GetTeamPublicProfileSettingsRequest (var: Vxu) +message GetTeamPublicProfileSettingsRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.GetTeamPublicProfileSettingsResponse (var: Gxu) +message GetTeamPublicProfileSettingsResponse { + PublicProfileSettings settings = 1; +} + +// Copied from: local:aiserver.v1.GetTeamRawDataRequest (var: Wbu) +message GetTeamRawDataRequest { + int32 team_id = 1; + optional int64 start_date = 2; + optional int64 end_date = 3; + optional string version = 4; +} + +// Copied from: local:aiserver.v1.GetTeamRawDataResponse (var: Hbu) +message GetTeamRawDataResponse { + repeated RawUserData data = 1; + AnalyticsPeriod period = 2; +} + +// Copied from: local:aiserver.v1.GetTeamReposRequest (var: dDi) +message GetTeamReposRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.GetTeamReposResponse (var: R2s) +message GetTeamReposResponse { + // Copied from: local:aiserver.v1.GetTeamReposResponse.Pattern (var: Ivu) + message Pattern { + int32 id = 1; + string pattern = 2; + } + + // Copied from: local:aiserver.v1.GetTeamReposResponse.Repo (var: D2s) + message Repo { + int32 id = 1; + string url = 2; + repeated GetTeamReposResponse.Pattern patterns = 3; + } + + repeated Repo repos = 1; + string team_repo_type = 2; + repeated Repo allowed_repos = 3; + bool disable_local_exec_allowlist_enforcement = 4; +} + +// Copied from: local:aiserver.v1.GetTeamRepositoriesForServiceAccountScopeRequest (var: ofu) +message GetTeamRepositoriesForServiceAccountScopeRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.GetTeamRepositoriesForServiceAccountScopeResponse (var: cfu) +message GetTeamRepositoriesForServiceAccountScopeResponse { + repeated ServiceAccountScopeRepository repositories = 1; +} + +// Copied from: local:aiserver.v1.GetTeamRulesRequest (var: tEu) +message GetTeamRulesRequest { + optional bool active_only = 1; + optional int32 team_id = 2; +} + +// Copied from: local:aiserver.v1.GetTeamRulesResponse (var: nEu) +message GetTeamRulesResponse { + repeated Rule rules = 1; +} + +// Copied from: local:aiserver.v1.GetTeamSandNetworkSettingsRequest (var: Jdu) +message GetTeamSandNetworkSettingsRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.GetTeamSandNetworkSettingsResponse (var: ehu) +message GetTeamSandNetworkSettingsResponse { + SandNetworkControls sand_network_controls = 1; +} + +// Copied from: local:aiserver.v1.GetTeamScimRequireUserDirectoryPreviewRequest (var: Pmu) +message GetTeamScimRequireUserDirectoryPreviewRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.GetTeamScimRequireUserDirectoryPreviewResponse (var: Lmu) +message GetTeamScimRequireUserDirectoryPreviewResponse { + int32 impacted_user_count = 1; + repeated ScimRequireUserDirectoryImpactedUser impacted_users = 2; +} + +// Copied from: local:aiserver.v1.GetTeamSeatUpgradeRecommendationsRequest (var: lyu) +message GetTeamSeatUpgradeRecommendationsRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.GetTeamSeatUpgradeRecommendationsResponse (var: dyu) +message GetTeamSeatUpgradeRecommendationsResponse { + repeated SeatUpgradeRecommendation recommendations = 1; + bool enabled = 2; + int32 total_monthly_savings_cents = 3; +} + +// Copied from: local:aiserver.v1.GetTeamSharedCanvasSettingsRequest (var: jxu) +message GetTeamSharedCanvasSettingsRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.GetTeamSharedCanvasSettingsResponse (var: Wxu) +message GetTeamSharedCanvasSettingsResponse { + SharedCanvasSettings settings = 1; +} + +// Copied from: local:aiserver.v1.GetTeamSharedConversationSettingsRequest (var: kxu) +message GetTeamSharedConversationSettingsRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.GetTeamSharedConversationSettingsResponse (var: Cxu) +message GetTeamSharedConversationSettingsResponse { + SharedConversationSettings settings = 1; +} + +// Copied from: local:aiserver.v1.GetTeamSmartAutoSettingsRequest (var: Ixu) +message GetTeamSmartAutoSettingsRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.GetTeamSmartAutoSettingsResponse (var: Rxu) +message GetTeamSmartAutoSettingsResponse { + SmartAutoSettings settings = 1; + bool can_enable = 2; + repeated SmartAutoRequiredModel required_models = 3; + optional bool new_chat_nudge_all_to_smart_auto = 4; + optional bool models_auto_only = 5; + optional string new_chat_nudge_all_to_smart_auto_optimize_for = 6; +} + +// Copied from: local:aiserver.v1.GetTeamSpendRequest (var: syu) +message GetTeamSpendRequest { + int32 team_id = 1; + optional int32 page = 2; + optional int32 page_size = 3; + optional string sort_by = 4; + optional string sort_direction = 5; + optional string search_term = 6; + optional int32 directory_group_id = 7; + optional int64 start_date = 8; + optional int64 end_date = 9; + optional int32 user_id = 10; +} + +// Copied from: local:aiserver.v1.GetTeamSpendResponse (var: ayu) +message GetTeamSpendResponse { + // Copied from: local:aiserver.v1.GetTeamSpendResponse.TeamMemberSpend (var: cyu) + message TeamMemberSpend { + int32 user_id = 1; + int32 spend_cents = 2; + int32 fast_premium_requests = 3; + string name = 4; + string email = 5; + TeamRole role = 6; + int32 hard_limit_override_dollars = 7; + optional int32 included_spend_cents = 8; + optional int32 overall_spend_cents = 9; + optional int32 monthly_limit_dollars = 10; + optional int64 removed_at = 11; + optional int32 effective_per_user_limit_dollars = 12; + optional string profile_picture_url = 13; + optional TeamMemberBillingTier billing_tier = 14; + optional double auto_percent_used = 15; + optional double api_percent_used = 16; + optional double total_percent_used = 17; + optional int64 usage_promo_expires_at = 18; + } + + repeated TeamMemberSpend team_member_spend = 1; + int64 subscription_cycle_start = 2; + int32 total_members = 3; + int32 total_pages = 4; + repeated TeamRoleCount total_by_role = 5; + optional int64 next_cycle_start = 6; + optional int32 pooled_limit_dollars = 7; + optional int32 limited_user_count = 8; + optional int32 max_user_spend_cents = 9; + optional int32 subscription_limited_users = 10; + optional bool has_any_spend_limit_overrides = 11; + optional bool has_any_free_usage = 12; + optional bool self_serve_tiered_pricing_enabled = 13; +} + +// Copied from: local:aiserver.v1.GetTeamTrialEndRequest (var: Wuv) +message GetTeamTrialEndRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.GetTeamTrialEndResponse (var: Huv) +message GetTeamTrialEndResponse { + optional google.protobuf.Timestamp trial_end_date = 1; +} + +// Copied from: local:aiserver.v1.GetTeamUsageForDateRangeRequest (var: Lhv) +message GetTeamUsageForDateRangeRequest { + int32 team_id = 1; + google.protobuf.Timestamp start_date = 2; + google.protobuf.Timestamp end_date = 3; +} + +// Copied from: local:aiserver.v1.GetTeamUsageForDateRangeResponse (var: Nhv) +message GetTeamUsageForDateRangeResponse { + int64 total_cents = 1; +} + +// Copied from: local:aiserver.v1.GetTeamsRequest (var: w2s) +message GetTeamsRequest { + optional bool active_only = 1; +} + +// Copied from: local:aiserver.v1.GetTeamsResponse (var: Dmu) +message GetTeamsResponse { + repeated Team teams = 1; +} + +// Copied from: local:aiserver.v1.GetTerminalCompletionRequest (var: GHl) +message GetTerminalCompletionRequest { + string current_command = 1; + repeated string command_history = 2; + optional string model_name = 3; + repeated CppFileDiffHistory file_diff_histories = 4; + optional string git_diff = 5; + repeated string commit_history = 6; + repeated string past_results = 7; + ModelDetails model_details = 8; + string user_platform = 9; + string current_folder = 10; + repeated CurrentFolderFileOrFolder current_folder_structure = 11; + repeated File relevant_files = 12; +} + +// Copied from: local:aiserver.v1.GetTerminalCompletionResponse (var: qHl) +message GetTerminalCompletionResponse { + string command = 1; +} + +// Copied from: local:aiserver.v1.GetTestsParams (var: Pbs) +message GetTestsParams { + string relative_workspace_path = 1; +} + +// Copied from: local:aiserver.v1.GetTestsResult (var: Lbs) +message GetTestsResult { + // Copied from: local:aiserver.v1.GetTestsResult.Test (var: Nbs) + message Test { + string name = 1; + repeated string lines = 2; + } + + repeated Test tests = 1; +} + +// Copied from: local:aiserver.v1.GetThoughtAnnotationRequest (var: vzl) +message GetThoughtAnnotationRequest { + string request_id = 1; +} + +// Copied from: local:aiserver.v1.GetThoughtAnnotationResponse (var: _zl) +message GetThoughtAnnotationResponse { + AiThoughtAnnotation thought_annotation = 1; +} + +// Copied from: local:aiserver.v1.GetTokenUsageRequest (var: J_u) +message GetTokenUsageRequest { + string usage_uuid = 1; +} + +// Copied from: local:aiserver.v1.GetTokenUsageResponse (var: eyu) +message GetTokenUsageResponse { + int32 input_tokens = 1; + int32 output_tokens = 2; +} + +// Copied from: local:aiserver.v1.GetTrialSpendLimitInternalRequest (var: Lbu) +message GetTrialSpendLimitInternalRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.GetTrialSpendLimitInternalResponse (var: Nbu) +message GetTrialSpendLimitInternalResponse { + int32 team_id = 1; + bool is_token_based_contract_trial = 2; + optional int32 override_dollars = 3; + int32 default_limit_dollars = 4; + int32 effective_limit_dollars = 5; + optional int64 membership_start_ms = 6; + optional int64 membership_expiration_ms = 7; +} + +// Copied from: local:aiserver.v1.GetTurnSummaryBackgroundComposerRequest (var: qFs) +message GetTurnSummaryBackgroundComposerRequest { + string bc_id = 1; + optional BackgroundComposerSource source_type = 2; +} + +// Copied from: local:aiserver.v1.GetTurnSummaryBackgroundComposerResponse (var: bNu) +message GetTurnSummaryBackgroundComposerResponse { + string summary = 1; +} + +// Copied from: local:aiserver.v1.GetUploadLimitsRequest (var: WIl) +message GetUploadLimitsRequest { + optional RepositoryInfo repository = 1; +} + +// Copied from: local:aiserver.v1.GetUploadLimitsResponse (var: HIl) +message GetUploadLimitsResponse { + int32 soft_limit = 1; + int32 hard_limit = 2; +} + +// Copied from: agent.v1.GetUsableModelsRequest (var: sAs) +message GetUsableModelsRequest { + repeated string custom_model_ids = 1; +} + +// Copied from: agent.v1.GetUsableModelsResponse (var: oAs) +message GetUsableModelsResponse { + repeated ModelDetails models = 1; +} + +// Copied from: local:aiserver.v1.GetUsageBasedPremiumRequestsRequest (var: cvu) +message GetUsageBasedPremiumRequestsRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.GetUsageBasedPremiumRequestsResponse (var: lvu) +message GetUsageBasedPremiumRequestsResponse { + bool usage_based_premium_requests = 1; +} + +// Copied from: local:aiserver.v1.GetUsageLimitPolicyStatusRequest (var: B_u) +message GetUsageLimitPolicyStatusRequest { +} + +// Copied from: local:aiserver.v1.GetUsageLimitPolicyStatusResponse (var: $_u) +message GetUsageLimitPolicyStatusResponse { + bool is_in_slow_pool = 1; + optional string error_title = 2; + optional string error_detail = 3; + optional int32 slowness_ms = 4; + map features = 5; + bool can_configure_spend_limit = 6; + optional string limit_type = 7; + bool has_pending_request = 8; + repeated string allowed_model_ids = 9; + repeated string allowed_model_tags = 10; + repeated AllowedModelSelection allowed_model_selections = 24; + optional ErrorButton primary_button = 11; + LimitHitStage stage = 12; + optional string tray_label = 13; + optional string tray_description = 14; + optional string cta_label = 15; + optional bool dismissible = 16; + optional int64 reset_at_ms = 17; + optional int32 reset_days_remaining = 18; + optional bool can_adjust_on_demand = 19; + optional int64 recommended_on_demand_limit_cents = 20; + optional int64 on_demand_min_cents = 21; + optional int64 on_demand_max_cents = 22; + optional int64 current_on_demand_limit_cents = 23; +} + +// Copied from: local:aiserver.v1.GetUsageLimitStatusAndActiveGrantsRequest (var: vDi) +message GetUsageLimitStatusAndActiveGrantsRequest { + optional MidConversationModelRecommendationContext mid_conversation_model_recommendation_context = 1; +} + +// Copied from: local:aiserver.v1.GetUsageLimitStatusAndActiveGrantsResponse (var: W_u) +message GetUsageLimitStatusAndActiveGrantsResponse { + // Copied from: local:aiserver.v1.GetUsageLimitStatusAndActiveGrantsResponse.UsageLimitPolicyStatus (var: H_u) + message UsageLimitPolicyStatus { + bool is_in_slow_pool = 1; + optional string error_title = 2; + optional string error_detail = 3; + optional int32 slowness_ms = 4; + map features = 5; + bool can_configure_spend_limit = 6; + optional string limit_type = 7; + bool has_pending_request = 8; + repeated string allowed_model_ids = 9; + repeated string allowed_model_tags = 10; + optional ErrorButton primary_button = 11; + LimitHitStage stage = 12; + optional string tray_label = 13; + optional string tray_description = 14; + optional string cta_label = 15; + optional bool dismissible = 16; + optional int64 reset_at_ms = 17; + optional int32 reset_days_remaining = 18; + optional bool can_adjust_on_demand = 19; + optional int64 recommended_on_demand_limit_cents = 20; + optional int64 on_demand_min_cents = 21; + optional int64 on_demand_max_cents = 22; + optional int64 current_on_demand_limit_cents = 23; + repeated AllowedModelSelection allowed_model_selections = 24; + } + + UsageLimitPolicyStatus usage_limit_policy_status = 1; + repeated ActiveCreditGrant active_grants = 2; + optional ThirdPartyUsageNudge third_party_usage_nudge = 3; + optional ModelRecommendationNudge model_recommendation_nudge = 4; +} + +// Copied from: local:aiserver.v1.GetUserAdminOrganizationsRequest (var: tSu) +message GetUserAdminOrganizationsRequest { + optional string ghe_application_uuid = 1; +} + +// Copied from: local:aiserver.v1.GetUserAdminOrganizationsResponse (var: nSu) +message GetUserAdminOrganizationsResponse { + // Copied from: local:aiserver.v1.GetUserAdminOrganizationsResponse.Organization (var: iSu) + message Organization { + string login = 1; + string hostname = 2; + } + + repeated Organization organizations = 1; +} + +// Copied from: local:aiserver.v1.GetUserAnalyticsRequest (var: $bu) +message GetUserAnalyticsRequest { + int32 team_id = 1; + int32 user_id = 2; + optional int64 start_date = 3; + optional int64 end_date = 4; + optional string version = 5; +} + +// Copied from: local:aiserver.v1.GetUserAnalyticsResponse (var: jbu) +message GetUserAnalyticsResponse { + repeated DailyMetrics daily_metrics = 1; + AnalyticsPeriod period = 2; + optional int32 apply_lines_rank = 3; + optional int32 tabs_accepted_rank = 4; + optional int32 total_team_members = 5; + optional int32 total_apply_lines = 6; + optional int32 team_average_apply_lines = 7; + optional int32 total_tabs_accepted = 8; + optional int32 team_average_tabs_accepted = 9; + optional int32 total_members_in_team = 10; +} + +// Copied from: local:aiserver.v1.GetUserInfoRequest (var: oKl) +message GetUserInfoRequest { +} + +// Copied from: local:aiserver.v1.GetUserInfoResponse (var: cKl) +message GetUserInfoResponse { + string user_id = 1; + string jupyter_token = 2; + UsageData usage = 3; +} + +// Copied from: local:aiserver.v1.GetUserInstructionsRequest (var: nHl) +message GetUserInstructionsRequest { + repeated RecentChatMessage chats = 1; + optional string existing_instructions = 2; +} + +// Copied from: local:aiserver.v1.GetUserInstructionsResponse (var: iHl) +message GetUserInstructionsResponse { + string text = 1; +} + +// Copied from: local:aiserver.v1.GetUserMetaRequest (var: ruv) +message GetUserMetaRequest { +} + +// Copied from: local:aiserver.v1.GetUserMetaResponse (var: suv) +message GetUserMetaResponse { + string email = 1; + GetEmailResponse.SignUpType sign_up_type = 2; + int64 user_id = 3; + optional string workos_id = 4; + optional string profile_picture_url = 5; +} + +// Copied from: local:aiserver.v1.GetUserOrganizationsRequest (var: r2s) +message GetUserOrganizationsRequest { +} + +// Copied from: local:aiserver.v1.GetUserOrganizationsResponse (var: Hlu) +message GetUserOrganizationsResponse { + // Copied from: local:aiserver.v1.GetUserOrganizationsResponse.Organization (var: Vlu) + message Organization { + string organization_id = 1; + string organization_name = 2; + string organization_slug = 3; + UserOrganizationRole role = 4; + repeated GetUserOrganizationsResponse.Team teams = 5; + optional int32 default_team_id = 6; + optional int32 effective_max_teams = 7; + repeated string granted_permissions = 8; + optional bool can_create_organization_teams = 9; + optional int32 root_team_id = 10; + } + + // Copied from: local:aiserver.v1.GetUserOrganizationsResponse.Team (var: zlu) + message Team { + int32 team_id = 1; + string team_name = 2; + string team_slug = 3; + optional int64 team_organization_membership_created_at_ms = 4; + optional TeamRole viewer_team_role = 5; + optional int64 team_deleted_at_ms = 6; + } + + repeated Organization organizations = 1; +} + +// Copied from: local:aiserver.v1.GetUserPrivacyModeRequest (var: INs) +message GetUserPrivacyModeRequest { + PrivacyMode inferred_privacy_mode = 1; + optional int32 team_id = 2; +} + +// Copied from: local:aiserver.v1.GetUserPrivacyModeResponse (var: Cwu) +message GetUserPrivacyModeResponse { + PrivacyMode privacy_mode = 1; + int32 hours_remaining_in_grace_period = 2; + bool is_enforced_by_team = 3; + bool is_not_migrated_to_server_source_of_truth = 4; + bool partner_data_share = 5; + bool has_acknowledged_grace_period_disclaimer = 6; +} + +// Copied from: local:aiserver.v1.GetUserProfileRequest (var: TTu) +message GetUserProfileRequest { + bool include_activity_summary = 1; +} + +// Copied from: local:aiserver.v1.GetUserProfileResponse (var: ATu) +message GetUserProfileResponse { + optional UserProfile profile = 1; + PublicProfileActivitySummary activity_summary = 3; + optional bool public_visibility_allowed = 4; + optional string max_visibility = 5; +} + +// Copied from: local:aiserver.v1.GetUserPullRequestsRequest (var: cSu) +message GetUserPullRequestsRequest { + optional string repository_filter = 1; + optional string git_application = 2; + optional int32 page = 3; + optional int32 page_size = 4; + optional string search_query = 5; + optional string author_filter = 6; + optional string state_filter = 7; + optional int32 pr_number = 8; +} + +// Copied from: local:aiserver.v1.GetUserPullRequestsResponse (var: lSu) +message GetUserPullRequestsResponse { + repeated UserPullRequest pull_requests = 1; + bool has_more = 2; + optional int32 total_count = 3; + bool has_git_connection = 4; + optional string current_user_login = 5; +} + +// Copied from: local:aiserver.v1.GetUserReviewRequestsRequest (var: dSu) +message GetUserReviewRequestsRequest { + optional string repository_filter = 1; + optional string git_application = 2; + optional int32 page = 3; + optional int32 page_size = 4; + optional string search_query = 5; + optional string state_filter = 6; +} + +// Copied from: local:aiserver.v1.GetUserReviewRequestsResponse (var: hSu) +message GetUserReviewRequestsResponse { + repeated UserPullRequest pull_requests = 1; + bool has_more = 2; + optional int32 total_count = 3; + bool has_git_connection = 4; + optional string current_user_login = 5; +} + +// Copied from: local:aiserver.v1.GetUserSmartAutoSettingsRequest (var: Fxu) +message GetUserSmartAutoSettingsRequest { +} + +// Copied from: local:aiserver.v1.GetUserSmartAutoSettingsResponse (var: Bxu) +message GetUserSmartAutoSettingsResponse { + SmartAutoSettings settings = 1; + bool can_enable = 2; +} + +// Copied from: local:aiserver.v1.GetViewableProfileByHandleRequest (var: NTu) +message GetViewableProfileByHandleRequest { + string handle = 1; +} + +// Copied from: local:aiserver.v1.GetViewableProfileByHandleResponse (var: OTu) +message GetViewableProfileByHandleResponse { + UserProfile profile = 1; + PublicProfileActivitySummary activity_summary = 2; + string viewed_as = 3; +} + +// Copied from: local:aiserver.v1.GetWorkflowTemplateRequest (var: qHu) +message GetWorkflowTemplateRequest { + string template_id = 1; +} + +// Copied from: local:aiserver.v1.GetWorkflowTemplateResponse (var: KHu) +message GetWorkflowTemplateResponse { + WorkflowTemplate template = 1; +} + +// Copied from: local:aiserver.v1.GetWorkspaceChangesHashRequest (var: D_v) +message GetWorkspaceChangesHashRequest { + string root_path = 1; + string base_ref = 2; +} + +// Copied from: local:aiserver.v1.GetWorkspaceChangesHashResponse (var: M_v) +message GetWorkspaceChangesHashResponse { + string hash = 1; +} + +// Copied from: local:aiserver.v1.GetXaiCreditTransferStatusRequest (var: Hku) +message GetXaiCreditTransferStatusRequest { + string organization_id = 1; + string transfer_id = 2; +} + +// Copied from: local:aiserver.v1.GetXaiTeamLinkStatusRequest (var: Mku) +message GetXaiTeamLinkStatusRequest { + string organization_id = 1; +} + +// Copied from: local:aiserver.v1.GetXaiTeamLinkStatusResponse (var: Pku) +message GetXaiTeamLinkStatusResponse { + bool enabled = 1; + bool linked = 2; + string xai_team_id = 3; + optional int64 linked_at_ms = 4; + bool has_pending_proposal = 5; + string proposed_xai_team_id = 6; + optional int64 proposal_expires_at_ms = 7; + bool can_confirm_proposal = 8; +} + +// Copied from: local:aiserver.v1.GetYearlyUpgradeEligibilityRequest (var: nvu) +message GetYearlyUpgradeEligibilityRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.GetYearlyUpgradeEligibilityResponse (var: ivu) +message GetYearlyUpgradeEligibilityResponse { + bool eligible = 1; +} + +// Copied from: local:aiserver.v1.GitCICompletedEvent (var: Xju) +message GitCICompletedEvent { + repeated string repos = 1; + GitCICompletionCondition condition = 2; + bool ignore_base_failures = 3; + string branch = 4; +} + +// Copied from: local:aiserver.v1.GitCICompletionCondition (var: Aju) +enum GitCICompletionCondition { + GIT_CI_COMPLETION_CONDITION_UNSPECIFIED = 0; + GIT_CI_COMPLETION_CONDITION_FAILURE = 1; + GIT_CI_COMPLETION_CONDITION_SUCCESS = 2; + GIT_CI_COMPLETION_CONDITION_ANY = 3; +} + +// Copied from: anyrun.v1.GitCheckoutFailure (var: Yau) +message GitCheckoutFailure { + int64 exit_code = 1; +} + +// Copied from: anyrun.v1.GitCloneFailure (var: Qau) +message GitCloneFailure { + int64 exit_code = 1; + GitCloneFailureCategory category = 2; + bool retryable = 3; + optional string remote_host = 4; + optional int32 http_status = 5; +} + +// Copied from: anyrun.v1.GitCloneFailureCategory (var: Uau) +enum GitCloneFailureCategory { + GIT_CLONE_FAILURE_CATEGORY_UNSPECIFIED = 0; + GIT_CLONE_FAILURE_CATEGORY_IP_ALLOW_LIST = 1; + GIT_CLONE_FAILURE_CATEGORY_INVALID_CREDENTIALS = 2; + GIT_CLONE_FAILURE_CATEGORY_SSO_REDIRECT = 3; + GIT_CLONE_FAILURE_CATEGORY_PROXY_CONNECT = 4; + GIT_CLONE_FAILURE_CATEGORY_CONNECTION_RESET = 5; + GIT_CLONE_FAILURE_CATEGORY_TRANSPORT_INTERRUPTED = 6; + GIT_CLONE_FAILURE_CATEGORY_REMOTE_FORBIDDEN = 7; + GIT_CLONE_FAILURE_CATEGORY_UPSTREAM_BAD_GATEWAY = 8; +} + +// Copied from: local:aiserver.v1.GitCommit (var: zbc) +message GitCommit { + string commit = 1; + string author = 2; + string date = 3; + string message = 4; +} + +// Copied from: local:aiserver.v1.GitConfig (var: Vju) +message GitConfig { + string repo = 3; + string branch = 4; + repeated string repos = 5; +} + +// Copied from: local:aiserver.v1.GitDiff (var: EB) +message GitDiff { + // Copied from: local:aiserver.v1.GitDiff.DiffType (var: The) + 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:aiserver.v1.GitEvent (var: K7l) +message GitEvent { + // Copied from: local:aiserver.v1.GitEvent.OperationType (var: Q7l) + enum OperationType { + OPERATION_TYPE_UNSPECIFIED = 0; + OPERATION_TYPE_COMMIT = 1; + OPERATION_TYPE_CHECKOUT = 2; + OPERATION_TYPE_PULL = 3; + OPERATION_TYPE_FETCH = 4; + OPERATION_TYPE_MERGE = 5; + OPERATION_TYPE_REBASE = 6; + OPERATION_TYPE_STASH = 7; + OPERATION_TYPE_BRANCH = 8; + OPERATION_TYPE_TAG = 9; + } + + OperationType operation_type = 1; + string repository_path = 2; + bool operation_success = 3; + optional string branch_name = 4; + optional string error_message = 5; + optional bool is_default_branch = 6; + optional string default_branch_name = 7; + optional string commit_hash = 8; + optional string previous_commit_hash = 9; + optional string remote_url = 10; +} + +// Copied from: local:aiserver.v1.GitFilterRequest (var: Xdv) +message GitFilterRequest { + repeated Commit commits = 1; + ConversationMessage bug_description = 2; +} + +// Copied from: local:aiserver.v1.GitFilterResponse (var: Jdv) +message GitFilterResponse { + string relevant_commit = 1; + float commit_score = 2; +} + +// Copied from: local:aiserver.v1.GitGraphCommit (var: Cmv) +message GitGraphCommit { + repeated GitGraphCommitFile files = 1; + double timestamp_ms = 2; + string sha = 3; + repeated string parent_shas = 4; +} + +// Copied from: local:aiserver.v1.GitGraphCommitFile (var: Emv) +message GitGraphCommitFile { + // Copied from: local:aiserver.v1.GitGraphCommitFile.Status (var: xmv) + enum Status { + STATUS_UNSPECIFIED = 0; + STATUS_ADDED = 1; + STATUS_DELETED = 2; + STATUS_MODIFIED = 3; + STATUS_RENAMED = 4; + } + + int32 deletions = 1; + int32 additions = 2; + Status status = 3; + string encrypted_from_relative_path = 5; + string encrypted_to_relative_path = 6; +} + +// Copied from: local:aiserver.v1.GitGraphCreated (var: Mqd) +message GitGraphCreated { + string workspace_id = 1; + string verify_commit = 2; +} + +// Copied from: local:aiserver.v1.GitGraphRelatedFile (var: Mmv) +message GitGraphRelatedFile { + string encrypted_relative_path = 1; + double weight = 2; +} + +// Copied from: local:aiserver.v1.GitIndexingConfig (var: f8u) +message GitIndexingConfig { + optional bool enabled = 1; + optional int32 max_pr_count = 2; + optional int32 max_pr_size = 3; + optional int32 pr_embedding_context = 4; + optional int32 js_concurrency = 5; + optional int32 js_chunk_size = 6; + optional int32 cpu_concurrency = 7; + optional int32 indexing_period_seconds = 8; + optional int32 max_attempts_per_pr = 9; + optional bool allow_index_copy_from_server = 10; +} + +// Copied from: local:aiserver.v1.GitIssueAssignedEvent (var: Yju) +message GitIssueAssignedEvent { + repeated string repos = 1; +} + +// Copied from: local:aiserver.v1.GitIssueCommentEvent (var: eWu) +message GitIssueCommentEvent { + repeated string repos = 1; + repeated string commenter_allowlist = 2; + string comment_contains = 3; + bool comment_contains_is_regex = 4; +} + +// Copied from: local:aiserver.v1.GitIssueLabeledEvent (var: Jju) +message GitIssueLabeledEvent { + repeated string repos = 1; + string label_name = 2; + bool unlabeled = 3; +} + +// Copied from: local:aiserver.v1.GitLabelEvent (var: sWu) +message GitLabelEvent { + repeated string repos = 1; + string label_name = 2; + bool on_added = 3; + bool on_removed = 4; + bool pull_requests = 5; + bool issues = 6; +} + +// Copied from: local:aiserver.v1.GitMode (var: $kn) +enum GitMode { + GIT_MODE_UNSPECIFIED = 0; + GIT_MODE_USER_CONTROLLED = 1; + GIT_MODE_ALWAYS_DISABLED = 2; +} + +// Copied from: local:aiserver.v1.GitPrAction (var: DWu) +message GitPrAction { +} + +// Copied from: local:aiserver.v1.GitPullRequestAction (var: Tju) +enum GitPullRequestAction { + GIT_PULL_REQUEST_ACTION_UNSPECIFIED = 0; + GIT_PULL_REQUEST_ACTION_OPENED = 1; + GIT_PULL_REQUEST_ACTION_PUSHED = 2; + GIT_PULL_REQUEST_ACTION_MERGED = 3; + GIT_PULL_REQUEST_ACTION_COMMENTED = 4; + GIT_PULL_REQUEST_ACTION_DRAFT_OPENED = 5; + GIT_PULL_REQUEST_ACTION_LABELED = 6; + GIT_PULL_REQUEST_ACTION_UNLABELED = 7; +} + +// Copied from: local:aiserver.v1.GitPullRequestEvent (var: Kju) +message GitPullRequestEvent { + string repo = 1; + repeated string repos = 2; + bool ignore_draft_prs = 3; + bool only_once = 4; + GitPullRequestAction pr_action = 5; + repeated string commenter_allowlist = 6; + string comment_contains = 7; + bool comment_contains_is_regex = 10; + string label_name = 8; + repeated string orgs = 9; +} + +// Copied from: local:aiserver.v1.GitPullRequestReviewCommentEvent (var: tWu) +message GitPullRequestReviewCommentEvent { + repeated string repos = 1; + repeated string commenter_allowlist = 2; + string comment_contains = 3; + bool comment_contains_is_regex = 4; +} + +// Copied from: local:aiserver.v1.GitPullRequestReviewEvent (var: nWu) +message GitPullRequestReviewEvent { + repeated string repos = 1; + bool on_approved = 2; + bool on_changes_requested = 3; + bool on_commented = 4; +} + +// Copied from: local:aiserver.v1.GitPullRequestReviewRequestedEvent (var: Qju) +message GitPullRequestReviewRequestedEvent { + repeated string repos = 1; +} + +// Copied from: local:aiserver.v1.GitPushEvent (var: Zju) +message GitPushEvent { + string repo = 1; + string branch = 2; + repeated string repos = 3; +} + +// Copied from: agent.v1.GitRepoInfo (var: dTi) +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:aiserver.v1.GitRepoSetupSpanDetails (var: ncu) +message GitRepoSetupSpanDetails { + string repo_display_name = 1; +} + +// Copied from: local:aiserver.v1.GitRepoSetupSpanState (var: AQs) +message GitRepoSetupSpanState { + string repo_display_name = 1; +} + +// Copied from: local:aiserver.v1.GitReposSetupSpanDetails (var: tcu) +message GitReposSetupSpanDetails { +} + +// Copied from: local:aiserver.v1.GitReposSetupSpanState (var: TQs) +message GitReposSetupSpanState { +} + +// Copied from: local:aiserver.v1.GitReviewThreadEvent (var: iWu) +message GitReviewThreadEvent { + repeated string repos = 1; + bool on_resolved = 2; + bool on_unresolved = 3; +} + +// Copied from: local:aiserver.v1.GitTrigger (var: qju) +message GitTrigger { + repeated string user_allowlist = 3; + oneof event { + GitPullRequestEvent pull_request = 1; + GitPushEvent push = 2; + GitCICompletedEvent ci_completed = 4; + GitIssueLabeledEvent issue_labeled = 5; + GitLabelEvent label = 6; + GitIssueCommentEvent issue_comment = 7; + GitPullRequestReviewCommentEvent pull_request_review_comment = 8; + GitPullRequestReviewEvent pull_request_review = 9; + GitReviewThreadEvent review_thread = 10; + GitWorkflowRunEvent workflow_run = 11; + GitPullRequestReviewRequestedEvent pull_request_review_requested = 12; + GitIssueAssignedEvent issue_assigned = 13; + } +} + +// Copied from: local:aiserver.v1.GitWorkflowRunConclusion (var: Iju) +enum GitWorkflowRunConclusion { + GIT_WORKFLOW_RUN_CONCLUSION_UNSPECIFIED = 0; + GIT_WORKFLOW_RUN_CONCLUSION_ANY = 1; + GIT_WORKFLOW_RUN_CONCLUSION_SUCCESS = 2; + GIT_WORKFLOW_RUN_CONCLUSION_FAILURE = 3; + GIT_WORKFLOW_RUN_CONCLUSION_CANCELLED = 4; +} + +// Copied from: local:aiserver.v1.GitWorkflowRunEvent (var: rWu) +message GitWorkflowRunEvent { + repeated string repos = 1; + repeated string workflow_names = 2; + string branch = 3; + GitWorkflowRunConclusion conclusion = 4; +} + +// Copied from: local:aiserver.v1.GithubAccessErrorType (var: Aqe) +enum GithubAccessErrorType { + GITHUB_ACCESS_ERROR_TYPE_UNSPECIFIED = 0; + GITHUB_ACCESS_ERROR_TYPE_NONE = 1; + GITHUB_ACCESS_ERROR_TYPE_NO_AUTH_TOKEN = 2; + GITHUB_ACCESS_ERROR_TYPE_APP_NOT_INSTALLED = 3; + GITHUB_ACCESS_ERROR_TYPE_USER_NO_ACCESS = 4; + GITHUB_ACCESS_ERROR_TYPE_APP_INSUFFICIENT_PERMS = 5; + GITHUB_ACCESS_ERROR_TYPE_PUBLIC_REPO = 6; +} + +// Copied from: local:aiserver.v1.GithubArtifactPostingMode (var: aDi) +enum GithubArtifactPostingMode { + GITHUB_ARTIFACT_POSTING_MODE_UNSPECIFIED = 0; + GITHUB_ARTIFACT_POSTING_MODE_POST_ARTIFACT = 1; + GITHUB_ARTIFACT_POSTING_MODE_LINK_ONLY = 2; +} + +// Copied from: local:aiserver.v1.GithubIntegrationSettings (var: G2s) +message GithubIntegrationSettings { + bool hidden = 1; +} + +// Copied from: local:aiserver.v1.GithubPermissionInfo (var: Jyu) +message GithubPermissionInfo { + bool has_permission = 1; + string permission_settings_url = 2; +} + +// Copied from: local:aiserver.v1.GithubSourceMetadata (var: _Pu) +message GithubSourceMetadata { + optional string issue_id = 1; + optional int32 pr_number = 2; + optional string pr_title = 3; + optional string issue_title = 4; + optional string issue_url = 5; +} + +// Copied from: local:aiserver.v1.GithubUser (var: wDi) +message GithubUser { + string login = 1; + string node_id = 2; + optional string hostname = 3; +} + +// Copied from: local:aiserver.v1.GitlabIntegrationSettings (var: q2s) +message GitlabIntegrationSettings { + bool hidden = 1; +} + +// Copied from: local:aiserver.v1.GitlabSourceMetadata (var: yPu) +message GitlabSourceMetadata { + optional int32 mr_iid = 1; + optional string mr_title = 2; + optional string mr_web_url = 3; +} + +// Copied from: local:aiserver.v1.GlassSettings (var: cNs) +message GlassSettings { + repeated int32 allowed_user_ids = 1; + optional bool allow_all_team_members = 2; +} + +// Copied from: local:aiserver.v1.GlobFileSearchParams (var: iFt) +message GlobFileSearchParams { + string target_directory = 1; + string glob_pattern = 2; +} + +// Copied from: local:aiserver.v1.GlobFileSearchResult (var: syn) +message GlobFileSearchResult { + // Copied from: local:aiserver.v1.GlobFileSearchResult.Directory (var: s1i) + message Directory { + string abs_path = 1; + repeated GlobFileSearchResult.File files = 2; + int32 total_files = 3; + bool ripgrep_truncated = 4; + } + + // Copied from: local:aiserver.v1.GlobFileSearchResult.File (var: r1i) + message File { + string rel_path = 1; + } + + repeated Directory directories = 1; +} + +// Copied from: local:aiserver.v1.GlobFileSearchStream (var: k_s) +message GlobFileSearchStream { +} + +// Copied from: local:aiserver.v1.GlobalCommand (var: CEu) +message GlobalCommand { + string name = 1; + string content = 2; + optional string description = 3; + GlobalCommandAvailability availability = 4; + optional string argument_hint = 5; + repeated GlobalCommandSurface disabled_surfaces = 6; + bool requires_all_workspace_folders_are_git_repos = 7; +} + +// Copied from: local:aiserver.v1.GlobalCommandAvailability (var: $3t) +enum GlobalCommandAvailability { + GLOBAL_COMMAND_AVAILABILITY_UNSPECIFIED = 0; + GLOBAL_COMMAND_AVAILABILITY_ALL_AGENTS = 1; + GLOBAL_COMMAND_AVAILABILITY_CLOUD_ONLY = 2; + GLOBAL_COMMAND_AVAILABILITY_LOCAL_ONLY = 3; +} + +// Copied from: local:aiserver.v1.GlobalCommandSurface (var: Vkn) +enum GlobalCommandSurface { + GLOBAL_COMMAND_SURFACE_UNSPECIFIED = 0; + GLOBAL_COMMAND_SURFACE_CLASSIC = 1; + GLOBAL_COMMAND_SURFACE_GLASS = 2; + GLOBAL_COMMAND_SURFACE_CLI = 3; +} + +// Copied from: agent.v1.GoalContinuationAction (var: dEs) +message GoalContinuationAction { +} + +// Copied from: agent.v1.GoalState (var: MSn) +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: agent.v1.GoalStatus (var: ySe) +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:aiserver.v1.GoogleWorkspaceMcpOAuthClient (var: O8u) +message GoogleWorkspaceMcpOAuthClient { + string client_id = 1; + string client_secret = 2; +} + +// Copied from: local:aiserver.v1.GotodefDefinition (var: bbs) +message GotodefDefinition { + string relative_workspace_path = 1; + optional string fully_qualified_name = 2; + optional string symbol_kind = 3; + int32 start_line = 4; + int32 end_line = 5; + repeated string code_context_lines = 6; +} + +// Copied from: local:aiserver.v1.GotodefParams (var: qOt) +message GotodefParams { + string relative_workspace_path = 1; + string symbol = 2; + int32 start_line = 3; + int32 end_line = 4; +} + +// Copied from: local:aiserver.v1.GotodefResult (var: O_n) +message GotodefResult { + repeated GotodefDefinition definitions = 1; +} + +// Copied from: local:aiserver.v1.GotodefStream (var: c_s) +message GotodefStream { +} + +// Copied from: local:aiserver.v1.GrantKeyringPermissionsRequest (var: T3u) +message GrantKeyringPermissionsRequest { + string keyring_public_id = 1; + KeyringPrincipalType principal_type = 2; + string principal_id = 3; + KeyringAccessLevel access_level = 4; +} + +// Copied from: local:aiserver.v1.GrantKeyringPermissionsResponse (var: A3u) +message GrantKeyringPermissionsResponse { +} + +// Copied from: agent.v1.GrepArgs (var: tBt) +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: agent.v1.GrepContentMatch (var: TOl) +message GrepContentMatch { + int32 line_number = 1; + string content = 2; + bool content_truncated = 3; + bool is_context_line = 4; +} + +// Copied from: agent.v1.GrepContentResult (var: EOl) +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: agent.v1.GrepCountResult (var: wOl) +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: agent.v1.GrepError (var: Txi) +message GrepError { + string error = 1; +} + +// Copied from: agent.v1.GrepFileCount (var: kOl) +message GrepFileCount { + string file = 1; + int32 count = 2; +} + +// Copied from: agent.v1.GrepFileMatch (var: xOl) +message GrepFileMatch { + string file = 1; + repeated GrepContentMatch matches = 2; +} + +// Copied from: agent.v1.GrepFilesResult (var: COl) +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: agent.v1.GrepResult (var: nBt) +message GrepResult { + oneof result { + GrepSuccess success = 1; + GrepError error = 2; + } +} + +// Copied from: agent.v1.GrepSuccess (var: SOl) +message GrepSuccess { + string pattern = 1; + string path = 2; + string output_mode = 3; + map workspace_results = 4; + optional GrepUnionResult active_editor_result = 5; +} + +// Copied from: agent.v1.GrepUnionResult (var: f0s) +message GrepUnionResult { + oneof result { + GrepCountResult count = 1; + GrepFilesResult files = 2; + GrepContentResult content = 3; + } +} + +// Copied from: local:aiserver.v1.GrindModeConfig (var: kFs) +message GrindModeConfig { + // Copied from: local:aiserver.v1.GrindModeConfig.Phase (var: EPu) + enum Phase { + PHASE_UNSPECIFIED = 0; + PHASE_PLANNING = 1; + PHASE_EXECUTING = 2; + PHASE_CONTROLLER = 3; + } + + int64 time_budget_ms = 1; + optional int64 start_time_unix_ms = 2; + Phase phase = 3; + optional bool auto_proceed_after_planning = 4; + optional int64 time_budget_seconds = 5; + optional bool grind_prompt_calibrate_effort = 6; +} + +// Copied from: local:aiserver.v1.GrindModeTrackingState (var: Rl) +message GrindModeTrackingState { + int32 no_tool_turn_streak = 1; + optional string pending_done_token = 2; + bool final_summary_requested = 3; + optional int64 start_time_unix_ms = 4; +} + +// Copied from: local:aiserver.v1.Group (var: Eqe) +message Group { + int32 id = 1; + string name = 2; + int32 team_id = 3; + optional int32 directory_group_id = 4; + int32 member_count = 5; + int64 created_at = 6; + int64 updated_at = 7; + GroupType type = 8; + repeated GroupMember members = 9; + optional int32 spend_cents = 10; + optional string directory_group_name = 11; + repeated GroupMember former_members = 12; + repeated DailySpendPoint daily_spend = 13; +} + +// Copied from: local:aiserver.v1.GroupAssignment (var: y0u) +message GroupAssignment { + string email = 1; + string group_name = 2; +} + +// Copied from: local:aiserver.v1.GroupMember (var: rCn) +message GroupMember { + int32 user_id = 1; + string name = 2; + string email = 3; + int64 joined_at = 4; + optional int32 spend_cents = 5; + optional int64 left_at = 6; + optional int32 effective_per_user_limit_dollars = 7; +} + +// Copied from: local:aiserver.v1.GroupMemberChange (var: E0u) +message GroupMemberChange { + int32 user_id = 1; + string email = 2; + string name = 3; + GroupMemberChangeType change_type = 4; +} + +// Copied from: local:aiserver.v1.GroupMemberChangeType (var: Rcu) +enum GroupMemberChangeType { + GROUP_MEMBER_CHANGE_TYPE_UNSPECIFIED = 0; + GROUP_MEMBER_CHANGE_TYPE_ADD = 1; + GROUP_MEMBER_CHANGE_TYPE_REMOVE = 2; +} + +// Copied from: local:aiserver.v1.GroupType (var: xae) +enum GroupType { + GROUP_TYPE_UNSPECIFIED = 0; + GROUP_TYPE_BILLING = 1; + GROUP_TYPE_PRODUCT = 2; +} + +// Copied from: local:aiserver.v1.GroupVisibility (var: Fkn) +enum GroupVisibility { + GROUP_VISIBILITY_UNSPECIFIED = 0; + GROUP_VISIBILITY_TEAM_ADMIN = 1; + GROUP_VISIBILITY_TEAM = 2; +} + +// Copied from: local:aiserver.v1.HallucinatedFunctionsProtoPrompt (var: VKd) +message HallucinatedFunctionsProtoPrompt { + string text = 1; + repeated PotentiallyCachedContextItem context_items = 2; +} + +// Copied from: local:aiserver.v1.HasSeenAdRequest (var: KKd) +message HasSeenAdRequest { + string ad_id = 1; +} + +// Copied from: local:aiserver.v1.HasSeenAdResponse (var: $gv) +message HasSeenAdResponse { + bool has_seen = 1; +} + +// Copied from: local:aiserver.v1.HeadlessAgenticComposerConfig (var: Eu) +message HeadlessAgenticComposerConfig { + string chat_model_name = 2; + ModelDetails chat_model_details = 5; + bool auto_commit = 4; + bool is_background = 6; + optional bool auto_create_pr = 7; + optional BackgroundComposerSource background_agent_source = 8; + optional bool open_as_cursor_github_app = 9; + optional bool skip_reviewer_request = 10; + optional bool enable_cloud_testing = 11; + optional bool enable_setup_vm_environment_tool = 12; + repeated ModelDetails additional_model_details = 13; + optional bool should_synthesize = 14; + optional bool show_onboarding_setup_note_for_manual_testing = 15; + optional RequestedModel requested_model = 16; + optional CloudSubagentParentReference cloud_subagent_parent = 17; + optional bool enable_computer_use = 18; + optional bool is_slack_v2 = 19; + optional bool is_slack_v1_5 = 25; + optional string named_agent_id = 20; + optional string named_agent_session_key = 21; + optional string named_agent_session_kind = 22; + optional string initiating_client_version = 23; + optional string initiating_client_commit = 24; + optional bool use_experimental_model_opt_out = 26; + optional bool disable_computer_use_reflect = 27; + optional bool disable_pr_management_tool = 28; + optional bool supports_managed_review_agents = 29; +} + +// Copied from: local:aiserver.v1.HeadlessAgenticComposerPrompt (var: DFs) +message HeadlessAgenticComposerPrompt { + // Copied from: local:aiserver.v1.HeadlessAgenticComposerPrompt.FileAttachment (var: rLu) + message FileAttachment { + string name = 1; + string contents = 2; + } + + // Copied from: local:aiserver.v1.HeadlessAgenticComposerPrompt.FileSelection (var: iLu) + message FileSelection { + string relative_workspace_path = 1; + } + + ConversationMessage base_conversation_message = 5; + string text = 1; + string rich_text = 6; + repeated FileSelection file_selections = 2; + repeated FileAttachment file_attachments = 3; + repeated ImageProto images = 4; + repeated ConversationMessage conversation_history = 7; + repeated string documentation_identifiers = 8; + optional bool use_web = 9; + repeated ComposerExternalLink external_links = 10; + repeated BlobDataPerMessage blob_data_per_message = 11; +} + +// Copied from: local:aiserver.v1.HeadlessAgenticComposerRepositoryInfo (var: nLu) +message HeadlessAgenticComposerRepositoryInfo { + RepositoryInfo repository_info = 1; + string path_encryption_key = 2; + bool repository_info_should_query_staging = 3; + bool repository_info_should_query_prod = 4; + string repo_query_auth_token = 5; + bool should_sync_index = 6; + QueryOnlyRepoAccess query_only_repo_access = 7; +} + +// Copied from: local:aiserver.v1.HeadlessAgenticComposerResponse (var: RFs) +message HeadlessAgenticComposerResponse { + // Copied from: local:aiserver.v1.HeadlessAgenticComposerResponse.Error (var: JPu) + message Error { + string message = 1; + ErrorDetails error_details = 2; + } + + // Copied from: local:aiserver.v1.HeadlessAgenticComposerResponse.FinalToolResult (var: XPu) + message FinalToolResult { + string tool_call_id = 1; + ClientSideToolV2Result result = 2; + } + + // Copied from: local:aiserver.v1.HeadlessAgenticComposerResponse.Status (var: eLu) + message Status { + // Copied from: local:aiserver.v1.HeadlessAgenticComposerResponse.Status.StatusType (var: tLu) + enum StatusType { + STATUS_TYPE_UNSPECIFIED = 0; + STATUS_TYPE_INDEX_SYNC = 1; + STATUS_TYPE_GENERIC = 2; + } + + StatusType type = 1; + string message = 2; + bool is_complete = 3; + } + + // Copied from: local:aiserver.v1.HeadlessAgenticComposerResponse.UserMessage (var: ZPu) + message UserMessage { + string text = 1; + string rich_text = 2; + } + + string text = 1; + optional ClientSideToolV2Call tool_call = 2; + optional FinalToolResult final_tool_result = 3; + optional StreamedBackToolCall streamed_back_tool_call = 6; + UserMessage user_message = 4; + bool is_message_done = 5; + optional Error error = 7; + ConversationMessage human_message = 8; + optional ConversationMessage.Thinking thinking = 9; + optional int32 thinking_duration_ms = 10; + optional ConversationMessage.ThinkingStyle thinking_style = 12; + optional Status status = 11; +} + +// Copied from: local:aiserver.v1.HealthCheckRequest (var: FIs) +message HealthCheckRequest { +} + +// Copied from: local:aiserver.v1.HealthCheckResponse (var: IGl) +message HealthCheckResponse { + // Copied from: local:aiserver.v1.HealthCheckResponse.Status (var: RGl) + enum Status { + STATUS_UNSPECIFIED = 0; + STATUS_HEALTHY = 1; + } + + Status status = 1; +} + +// Copied from: local:aiserver.v1.HealthEmptyRequest (var: Ugv) +message HealthEmptyRequest { +} + +// Copied from: local:aiserver.v1.HealthRequest (var: ZHi) +message HealthRequest { + string payload = 1; + optional bool simulate_error = 2; +} + +// Copied from: local:aiserver.v1.HealthResponse (var: F$t) +message HealthResponse { + string payload = 1; +} + +// Copied from: local:aiserver.v1.HeapProfileConfig (var: qUu) +message HeapProfileConfig { + int32 sampling_interval = 1; + optional bool include_objects_collected_by_major_gc = 2; + optional bool include_objects_collected_by_minor_gc = 3; +} + +// Copied from: local:aiserver.v1.HeartbeatProgress (var: gpv) +message HeartbeatProgress { + int32 completed_count = 1; + int32 failed_count = 2; + int32 running_count = 3; + int32 total_count = 4; + optional int32 retry_count = 5; + optional string unhealthy_warning_histogram = 6; + optional int32 in_flight_count = 7; + optional int32 concurrency_limit = 8; + optional bool auto_concurrency = 9; + optional ConcurrencyTrend concurrency_trend = 10; +} + +// Copied from: local:aiserver.v1.HeartbeatRequest (var: fpv) +message HeartbeatRequest { + string run_id = 1; + optional HeartbeatProgress progress = 2; +} + +// Copied from: local:aiserver.v1.HeartbeatResponse (var: bpv) +message HeartbeatResponse { + bool ok = 1; + bool kill_requested = 2; + optional EvalCleanupRequest cleanup_request = 3; + optional int32 concurrency_limit_override = 4; +} + +// Copied from: agent.v1.HeartbeatUpdate (var: PTi) +message HeartbeatUpdate { +} + +// Copied from: local:aiserver.v1.HeuristicsSelection (var: KHl) +message HeuristicsSelection { + // Copied from: local:aiserver.v1.HeuristicsSelection.HeuristicsSelectionType (var: QHl) + enum HeuristicsSelectionType { + HEURISTICS_SELECTION_TYPE_UNSPECIFIED = 0; + HEURISTICS_SELECTION_TYPE_GROUP = 1; + HEURISTICS_SELECTION_TYPE_LINE = 2; + HEURISTICS_SELECTION_TYPE_FOLDING = 3; + } + + HeuristicsSelectionType type = 1; + int32 start_line = 2; + int32 end_line = 3; +} + +// Copied from: local:aiserver.v1.HistogramBucket (var: EHu) +message HistogramBucket { + int64 start_time = 1; + int32 count = 2; +} + +// Copied from: agent.v1.HookAdditionalContext (var: nht) +message HookAdditionalContext { + string hook_event_name = 1; + string content = 2; +} + +// Copied from: local:aiserver.v1.HookDescriptor (var: NDi) +message HookDescriptor { + string name = 1; + optional string description = 2; + optional string source_path = 3; + optional string source_url = 4; +} + +// Copied from: agent.v1.HooksConfigInfo (var: P1s) +message HooksConfigInfo { + repeated string configured_steps = 1; +} + +// Copied from: local:aiserver.v1.HoverDetails (var: g$r) +message HoverDetails { + string code_details = 1; + repeated string markdown_blocks = 2; +} + +// Copied from: local:aiserver.v1.Http2Config (var: z5s) +enum Http2Config { + HTTP2_CONFIG_UNSPECIFIED = 0; + HTTP2_CONFIG_FORCE_ALL_DISABLED = 1; + HTTP2_CONFIG_FORCE_ALL_ENABLED = 2; + HTTP2_CONFIG_FORCE_BIDI_DISABLED = 3; + HTTP2_CONFIG_FORCE_BIDI_ENABLED = 4; +} + +// Copied from: local:aiserver.v1.HumanReview (var: A_n) +message HumanReview { + string selected_option = 1; + string feedback_text = 2; + bool submit_feedback_as_new_message = 3; + string bubble_id = 4; +} + +// Copied from: anyrun.v1.HydrationProgress (var: kau) +message HydrationProgress { + uint64 transferred = 1; + uint64 total = 2; +} + +// Copied from: local:aiserver.v1.IRange (var: ene) +message IRange { + int32 start_line_number = 1; + int32 start_column = 2; + int32 end_line_number = 3; + int32 end_column = 4; +} + +// Copied from: internapi.v1.ImageBlobData (var: scu) +message ImageBlobData { + string mime_type = 1; +} + +// Copied from: local:aiserver.v1.ImageProto (var: ooe) +message ImageProto { + // Copied from: local:aiserver.v1.ImageProto.Dimension (var: u_c) + message Dimension { + int32 width = 1; + int32 height = 2; + } + + bytes data = 1; + Dimension dimension = 2; + string uuid = 3; + optional string task_specific_description = 4; +} + +// Copied from: anyrun.v1.ImagePullCompleted (var: Dau) +message ImagePullCompleted { + string image_name = 1; + string pull_id = 2; +} + +// Copied from: anyrun.v1.ImagePullFailure (var: Zau) +message ImagePullFailure { + ImagePullFailureCategory category = 1; + bool retryable = 2; + optional int32 http_status = 3; + optional string repository = 4; +} + +// Copied from: anyrun.v1.ImagePullFailureCategory (var: $au) +enum ImagePullFailureCategory { + IMAGE_PULL_FAILURE_CATEGORY_UNSPECIFIED = 0; + IMAGE_PULL_FAILURE_CATEGORY_DENIED = 1; + IMAGE_PULL_FAILURE_CATEGORY_UNAUTHORIZED = 2; + IMAGE_PULL_FAILURE_CATEGORY_NOT_FOUND = 3; + IMAGE_PULL_FAILURE_CATEGORY_RATE_LIMITED = 4; + IMAGE_PULL_FAILURE_CATEGORY_UPSTREAM = 5; +} + +// Copied from: anyrun.v1.ImagePullLayerUpdate (var: Iau) +message ImagePullLayerUpdate { + string image_name = 1; + string pull_id = 2; + string layer_id = 3; + oneof status { + bool pulling_fs_layer = 4; + bool waiting = 5; + bool verifying_checksum = 6; + bool download_complete = 7; + bool pull_complete = 8; + ProgressDetail downloading = 9; + ProgressDetail extracting = 10; + string other = 11; + } +} + +// Copied from: anyrun.v1.ImagePullStarted (var: Aau) +message ImagePullStarted { + string image_name = 1; + string pull_id = 2; +} + +// Copied from: anyrun.v1.ImagePullStatusUpdate (var: Rau) +message ImagePullStatusUpdate { + string image_name = 1; + string pull_id = 2; + string status = 3; +} + +// Copied from: local:aiserver.v1.InAppAd (var: u8u) +message InAppAd { + string id = 1; + AdHeader header = 2; + AdContent content = 3; + repeated AdButton buttons = 4; + optional bool force_dark_close_button = 5; + DisplayMode display_mode = 6; + optional string analytics_variant = 7; + optional ModalDisplayConfig modal_display_config = 8; + repeated ClientSurface target_surfaces = 9; +} + +// Copied from: local:aiserver.v1.InAppAdPreview (var: Ggv) +message InAppAdPreview { + string ad_id = 1; + repeated string gates = 2; + repeated string experiments = 3; + string source_file_url = 4; + repeated InAppAdVariantPreview variants = 5; +} + +// Copied from: local:aiserver.v1.InAppAdTrigger (var: Lmt) +enum InAppAdTrigger { + IN_APP_AD_TRIGGER_UNSPECIFIED = 0; + IN_APP_AD_TRIGGER_MOUNT = 1; + IN_APP_AD_TRIGGER_FIND_ISSUES = 2; + IN_APP_AD_TRIGGER_GIT_PUSH = 3; + IN_APP_AD_TRIGGER_COMMIT = 4; + IN_APP_AD_TRIGGER_IOS_DOWNLOAD_MENU = 5; +} + +// Copied from: local:aiserver.v1.InAppAdVariantPreview (var: Vgv) +message InAppAdVariantPreview { + string variant_label = 1; + bytes ad_bytes = 2; +} + +// Copied from: local:aiserver.v1.IndexFileData (var: ufs) +message IndexFileData { + // Copied from: local:aiserver.v1.IndexFileData.NodeData (var: dfs) + message NodeData { + string node_id = 1; + string stage = 2; + string content = 3; + string summary = 4; + } + + string index_id = 1; + string workspace_relative_path = 2; + string stage = 3; + int32 order = 4; + repeated NodeData nodes = 5; +} + +// Copied from: local:aiserver.v1.IndexedFile (var: dRl) +message IndexedFile { + string path = 1; + repeated string diff = 2; +} + +// Copied from: local:aiserver.v1.IndexedPullRequest (var: hRl) +message IndexedPullRequest { + uint32 pr_number = 1; + string sha = 2; + string message = 3; + repeated IndexedFile changed_files = 4; + uint32 generation = 5; + string commit_secret = 6; + int64 unix_timestamp = 7; + optional string title = 8; + optional string author = 9; +} + +// Copied from: local:aiserver.v1.IndexingConfig (var: V5s) +message IndexingConfig { + int32 max_concurrent_uploads = 1; + int32 absolute_max_number_files = 2; + int32 max_file_retries = 3; + int32 sync_concurrency = 4; + int32 auto_indexing_max_num_files = 5; + int32 indexing_period_seconds = 6; + string repo42_auth_token = 7; + optional bool incremental = 8; + optional string default_user_path_encryption_key = 9; + optional string default_team_path_encryption_key = 10; + optional bool multi_root_indexing_enabled = 11; + double copy_status_check_period_seconds = 12; + int32 copy_timeout_seconds = 13; + int32 max_batch_bytes = 14; + int32 max_batch_num_requests = 15; + int32 max_sync_merkle_batch_size = 16; +} + +// Copied from: local:aiserver.v1.IndividualLimitsOptOutOutcome (var: Bcu) +enum IndividualLimitsOptOutOutcome { + INDIVIDUAL_LIMITS_OPT_OUT_OUTCOME_UNSPECIFIED = 0; + INDIVIDUAL_LIMITS_OPT_OUT_OUTCOME_SUCCESS = 1; + INDIVIDUAL_LIMITS_OPT_OUT_OUTCOME_ALREADY_ALLOWED = 2; + INDIVIDUAL_LIMITS_OPT_OUT_OUTCOME_ENTERPRISE = 3; + INDIVIDUAL_LIMITS_OPT_OUT_OUTCOME_NOT_ADMIN = 4; + INDIVIDUAL_LIMITS_OPT_OUT_OUTCOME_CREATED_AFTER_CUTOFF = 5; +} + +// Copied from: local:aiserver.v1.IndividualLimitsOptOutTeamResult (var: lTu) +message IndividualLimitsOptOutTeamResult { + int32 team_id = 1; + string team_name = 2; + IndividualLimitsOptOutOutcome outcome = 3; +} + +// Copied from: local:aiserver.v1.InferBackgroundComposerScriptsRequest (var: FYl) +message InferBackgroundComposerScriptsRequest { + // Copied from: local:aiserver.v1.InferBackgroundComposerScriptsRequest.Command (var: BYl) + message Command { + string command = 1; + float timestamp = 2; + optional string cwd = 3; + } + + repeated Command commands = 1; +} + +// Copied from: local:aiserver.v1.InferBackgroundComposerScriptsResponse (var: UYl) +message InferBackgroundComposerScriptsResponse { + // Copied from: local:aiserver.v1.InferBackgroundComposerScriptsResponse.Terminal (var: $Yl) + message Terminal { + string name = 1; + string command = 2; + } + + string install_script = 1; + string start_script = 2; + repeated Terminal terminals = 3; +} + +// Copied from: local:aiserver.v1.InferenceAgentTool (var: ifv) +message InferenceAgentTool { + string name = 1; + string description = 2; + google.protobuf.Struct parameters = 3; + optional InferenceCustomToolFormat custom_tool_format = 4; +} + +// Copied from: local:aiserver.v1.InferenceAnthropicOptions (var: Cfv) +message InferenceAnthropicOptions { + optional InferenceCacheControl cache_control = 1; +} + +// Copied from: local:aiserver.v1.InferenceCacheControl (var: Efv) +message InferenceCacheControl { + string type = 1; +} + +// Copied from: local:aiserver.v1.InferenceContentPart (var: XKd) +message InferenceContentPart { + oneof part { + InferenceTextPart text = 1; + InferenceImagePart image = 2; + InferenceFilePart file = 3; + } +} + +// Copied from: local:aiserver.v1.InferenceContentParts (var: Jgv) +message InferenceContentParts { + repeated InferenceContentPart parts = 1; +} + +// Copied from: local:aiserver.v1.InferenceCoreMessage (var: hpo) +message InferenceCoreMessage { + InferenceMessageRole role = 1; + repeated InferenceToolCall tool_calls = 4; + repeated InferenceReasoningPart reasoning_parts = 7; + optional string model_provider_message_id = 8; + optional string openai_phase = 9; + optional bool openai_phase_null = 10; + optional string cursor_inference_reason = 11; + optional string cursor_feature_type = 12; + oneof content { + string text = 2; + InferenceContentParts parts = 3; + InferenceToolResultContent tool_content = 6; + } +} + +// Copied from: local:aiserver.v1.InferenceCursorOptions (var: kfv) +message InferenceCursorOptions { + optional string image_description = 1; + map image_descriptions = 2; +} + +// Copied from: local:aiserver.v1.InferenceCustomToolFormat (var: rfv) +message InferenceCustomToolFormat { + string type = 1; + string definition = 2; + string syntax = 3; +} + +// Copied from: local:aiserver.v1.InferenceExtendedUsageInfo (var: mfv) +message InferenceExtendedUsageInfo { + int32 input_tokens = 1; + int32 output_tokens = 2; + int32 cache_read_tokens = 3; + int32 cache_write_tokens = 4; + int32 max_tokens = 5; +} + +// Copied from: local:aiserver.v1.InferenceExtraData (var: bfv) +message InferenceExtraData { + repeated InferenceTokenLogprobs token_logprobs = 1; + repeated InferenceTokenIds token_ids = 2; + repeated InferenceTokenIds prompt_token_ids = 3; + repeated InferenceTokenIds extra_tokens = 4; + repeated InferenceTokenLogprobs extra_logprobs = 5; + repeated InferenceRoutingRow routing_matrix = 6; +} + +// Copied from: local:aiserver.v1.InferenceFilePart (var: nfv) +message InferenceFilePart { + string data = 1; + string media_type = 2; + optional string filename = 3; + optional InferenceProviderOptions provider_options = 4; +} + +// Copied from: local:aiserver.v1.InferenceImageDescription (var: lfv) +message InferenceImageDescription { + int32 message_index = 1; + int32 part_index = 2; + optional int32 exp_content_index = 3; + string description = 4; +} + +// Copied from: local:aiserver.v1.InferenceImageDescriptionsInfo (var: cfv) +message InferenceImageDescriptionsInfo { + repeated InferenceImageDescription descriptions = 1; +} + +// Copied from: local:aiserver.v1.InferenceImagePart (var: tfv) +message InferenceImagePart { + string data = 1; + optional string mime_type = 2; + optional InferenceProviderOptions provider_options = 3; +} + +// Copied from: local:aiserver.v1.InferenceInvocationIdInfo (var: Sfv) +message InferenceInvocationIdInfo { + string invocation_id = 1; +} + +// Copied from: local:aiserver.v1.InferenceMessageRole (var: YKd) +enum InferenceMessageRole { + INFERENCE_MESSAGE_ROLE_UNSPECIFIED = 0; + INFERENCE_MESSAGE_ROLE_USER = 1; + INFERENCE_MESSAGE_ROLE_ASSISTANT = 2; + INFERENCE_MESSAGE_ROLE_TOOL = 3; + INFERENCE_MESSAGE_ROLE_SYSTEM = 4; +} + +// Copied from: local:aiserver.v1.InferenceModelConfig (var: ofv) +message InferenceModelConfig { + optional int32 max_tokens = 1; + optional float temperature = 2; + optional float top_p = 3; + repeated string stop_sequences = 4; +} + +// Copied from: local:aiserver.v1.InferenceModelParameterValue (var: Xgv) +message InferenceModelParameterValue { + string id = 1; + string value = 2; +} + +// Copied from: local:aiserver.v1.InferenceNamedProviderDefinedTool (var: sfv) +message InferenceNamedProviderDefinedTool { + string name = 1; + string id = 2; + string type = 3; + google.protobuf.Struct options = 4; +} + +// Copied from: local:aiserver.v1.InferenceProviderMetadataInfo (var: yfv) +message InferenceProviderMetadataInfo { + google.protobuf.Struct metadata = 1; +} + +// Copied from: local:aiserver.v1.InferenceProviderOptions (var: XHi) +message InferenceProviderOptions { + optional InferenceAnthropicOptions anthropic = 1; + optional InferenceCursorOptions cursor = 2; +} + +// Copied from: local:aiserver.v1.InferenceProviderWarning (var: F8u) +message InferenceProviderWarning { + string message = 1; + repeated string affected_models = 2; + optional string fallback_model = 3; + InferenceProviderWarningTrigger trigger = 4; +} + +// Copied from: local:aiserver.v1.InferenceProviderWarningTrigger (var: GPi) +enum InferenceProviderWarningTrigger { + INFERENCE_PROVIDER_WARNING_TRIGGER_UNSPECIFIED = 0; + INFERENCE_PROVIDER_WARNING_TRIGGER_ON_SELECT = 1; + INFERENCE_PROVIDER_WARNING_TRIGGER_ON_ERROR = 2; +} + +// Copied from: local:aiserver.v1.InferenceReason (var: Kgv) +enum InferenceReason { + INFERENCE_REASON_UNSPECIFIED = 0; + INFERENCE_REASON_GEMINI_VIDEO_SUBAGENT = 1; +} + +// Copied from: local:aiserver.v1.InferenceReasoningPart (var: ZKd) +message InferenceReasoningPart { + bool is_redacted = 1; + string text = 2; + optional string signature = 3; + optional string redacted_data = 4; + optional string model_name = 5; +} + +// Copied from: local:aiserver.v1.InferenceRequestedModel (var: Zgv) +message InferenceRequestedModel { + string model_id = 1; + bool max_mode = 2; + repeated InferenceModelParameterValue parameters = 3; + bool built_in_model = 4; + bool is_variant_string_representation = 5; +} + +// Copied from: local:aiserver.v1.InferenceResponseInfo (var: gfv) +message InferenceResponseInfo { + string id = 1; + string model = 2; + int64 created_at = 3; + repeated InferenceResponseMessage messages = 4; + optional string error_message = 5; + optional InferenceExtraData inference_extra_data = 6; + optional bool supports_self_summary = 7; +} + +// Copied from: local:aiserver.v1.InferenceResponseMessage (var: ffv) +message InferenceResponseMessage { + string id = 1; + InferenceMessageRole role = 2; + optional string content = 3; + repeated InferenceToolCall tool_calls = 4; + optional InferenceToolResultContent tool_result = 5; + repeated InferenceReasoningPart reasoning_parts = 6; +} + +// Copied from: local:aiserver.v1.InferenceRoutingRow (var: _fv) +message InferenceRoutingRow { + repeated string values = 1; +} + +// Copied from: local:aiserver.v1.InferenceStreamError (var: wfv) +message InferenceStreamError { + string message = 1; + string code = 2; + bool is_input_token_limit_error = 3; + bool is_output_token_limit_error = 4; + InferenceStreamErrorType error_type = 5; +} + +// Copied from: local:aiserver.v1.InferenceStreamErrorType (var: Qgv) +enum InferenceStreamErrorType { + INFERENCE_STREAM_ERROR_TYPE_UNSPECIFIED = 0; + INFERENCE_STREAM_ERROR_TYPE_UNKNOWN = 1; + INFERENCE_STREAM_ERROR_TYPE_INPUT_TOKEN_LIMIT = 2; + INFERENCE_STREAM_ERROR_TYPE_OUTPUT_TOKEN_LIMIT = 3; + INFERENCE_STREAM_ERROR_TYPE_RATE_LIMIT = 4; + INFERENCE_STREAM_ERROR_TYPE_AUTHENTICATION = 5; + INFERENCE_STREAM_ERROR_TYPE_PERMISSION = 6; + INFERENCE_STREAM_ERROR_TYPE_OVERLOADED = 7; + INFERENCE_STREAM_ERROR_TYPE_CONTENT_FILTER = 8; +} + +// Copied from: local:aiserver.v1.InferenceStreamRequest (var: Ygv) +message InferenceStreamRequest { + repeated InferenceCoreMessage messages = 1; + repeated InferenceAgentTool tools = 2; + repeated InferenceNamedProviderDefinedTool provider_defined_tools = 3; + optional InferenceModelConfig model_config = 4; + optional string model_id = 5; + optional string invocation_id = 6; + optional InferenceRequestedModel requested_model = 7; + optional string conversation_id = 8; + repeated string accepted_unadvertised_tool_names = 9; + optional string automation_id = 10; + optional InferenceReason inference_reason = 11; + optional string conversation_group_id = 12; +} + +// Copied from: local:aiserver.v1.InferenceStreamResponse (var: afv) +message InferenceStreamResponse { + oneof response { + InferenceTextStreamPart text_part = 1; + InferenceToolCallStreamPart tool_call_part = 2; + InferenceUsageInfo usage = 3; + InferenceResponseInfo response_info = 4; + InferenceExtendedUsageInfo extended_usage = 5; + InferenceProviderMetadataInfo provider_metadata = 6; + InferenceInvocationIdInfo invocation_id = 7; + InferenceStreamError error = 8; + InferenceThinkingStreamPart thinking_part = 9; + InferenceImageDescriptionsInfo image_descriptions = 10; + } +} + +// Copied from: local:aiserver.v1.InferenceTextPart (var: efv) +message InferenceTextPart { + string text = 1; + optional InferenceProviderOptions provider_options = 2; +} + +// Copied from: local:aiserver.v1.InferenceTextStreamPart (var: ufv) +message InferenceTextStreamPart { + string text = 1; + bool is_final = 2; +} + +// Copied from: local:aiserver.v1.InferenceThinkingStreamPart (var: dfv) +message InferenceThinkingStreamPart { + string text = 1; + optional string signature = 2; + bool is_final = 3; +} + +// Copied from: local:aiserver.v1.InferenceTokenIds (var: ppo) +message InferenceTokenIds { + repeated int64 values = 1; +} + +// Copied from: local:aiserver.v1.InferenceTokenLogprobs (var: tQd) +message InferenceTokenLogprobs { + repeated double values = 1; +} + +// Copied from: local:aiserver.v1.InferenceToolCall (var: JKd) +message InferenceToolCall { + string tool_call_id = 1; + string tool_name = 2; + google.protobuf.Struct args = 3; + optional string raw_tool_call_args = 4; +} + +// Copied from: local:aiserver.v1.InferenceToolCallStreamPart (var: hfv) +message InferenceToolCallStreamPart { + string tool_call_id = 1; + string tool_name = 2; + string args = 3; + bool is_complete = 4; + optional int32 tool_index = 5; +} + +// Copied from: local:aiserver.v1.InferenceToolResultContent (var: eQd) +message InferenceToolResultContent { + repeated InferenceToolResultPart parts = 1; +} + +// Copied from: local:aiserver.v1.InferenceToolResultPart (var: vfv) +message InferenceToolResultPart { + string tool_call_id = 1; + string tool_name = 2; + google.protobuf.Value result = 3; + bool is_error = 4; + repeated InferenceContentPart experimental_content = 5; + optional InferenceProviderOptions provider_options = 6; +} + +// Copied from: local:aiserver.v1.InferenceUsageInfo (var: pfv) +message InferenceUsageInfo { + int32 prompt_tokens = 1; + int32 completion_tokens = 2; + optional int32 total_tokens = 3; +} + +// Copied from: local:aiserver.v1.IngestConversationRequest (var: T4s) +message IngestConversationRequest { + string conversation_id = 1; + string transcript = 2; + optional string transcript_json = 3; + optional string mode = 4; + optional string model = 5; + int64 last_updated_at = 6; +} + +// Copied from: local:aiserver.v1.IngestConversationResponse (var: z$u) +message IngestConversationResponse { + bool success = 1; + optional string summary = 2; + optional string detailed_summary = 3; + optional string error_message = 4; +} + +// Copied from: local:aiserver.v1.InitGitGraphChallengeRequest (var: Smv) +message InitGitGraphChallengeRequest { + // Copied from: local:aiserver.v1.InitGitGraphChallengeRequest.Response (var: wmv) + message Response { + string verify_commit = 1; + string verify_value = 2; + } + + string root_sha = 1; + string search_key = 2; + repeated Response responses = 3; +} + +// Copied from: local:aiserver.v1.InitGitGraphChallengeResponse (var: kmv) +message InitGitGraphChallengeResponse { + GitGraphCreated created = 1; +} + +// Copied from: local:aiserver.v1.InitGitGraphRequest (var: vmv) +message InitGitGraphRequest { + string root_sha = 1; + string search_key = 2; + string verify_commit = 3; + string verify_value = 4; +} + +// Copied from: local:aiserver.v1.InitGitGraphResponse (var: bmv) +message InitGitGraphResponse { + // Copied from: local:aiserver.v1.InitGitGraphResponse.Challenge (var: _mv) + message Challenge { + // Copied from: local:aiserver.v1.InitGitGraphResponse.Challenge.VisitedCommits (var: ymv) + message VisitedCommits { + repeated string visited_commits = 1; + } + + repeated string verify_commits = 1; + repeated string root_commits = 2; + repeated VisitedCommits visited_commits = 3; + } + + oneof response { + GitGraphCreated created = 1; + Challenge challenge = 2; + } +} + +// Copied from: local:aiserver.v1.InjectBackgroundComposerContextRequest (var: DCn) +message InjectBackgroundComposerContextRequest { + string bc_id = 1; + InjectContextAction inject_context_action = 2; + BackgroundComposerSource source = 3; + ConversationMessage followup_message = 4; + string promote_followup_id = 5; +} + +// Copied from: local:aiserver.v1.InjectBackgroundComposerContextResponse (var: cLu) +message InjectBackgroundComposerContextResponse { + // Copied from: local:aiserver.v1.InjectBackgroundComposerContextResponse.Outcome (var: Pqe) + enum Outcome { + OUTCOME_UNSPECIFIED = 0; + OUTCOME_QUEUED = 1; + OUTCOME_QUEUED_FOR_NEXT_TURN = 2; + OUTCOME_REJECTED = 3; + } + + Outcome outcome = 1; +} + +// Copied from: agent.v1.InjectContextAction (var: ABt) +message InjectContextAction { + string injection_id = 1; + string expected_run_id = 2; + oneof payload { + UserContextInjection user_context = 3; + SystemContextInjection system_context = 4; + } +} + +// Copied from: local:aiserver.v1.InlineGPT4PromptProtoV1 (var: u) +message InlineGPT4PromptProtoV1 { + CurrentFileInfo current_file = 1; +} + +// Copied from: local:aiserver.v1.InputField (var: WHu) +message InputField { + string key = 1; + string display_name = 2; + string description = 3; + oneof type { + string string_value = 4; + StringList string_list_value = 5; + bool bool_value = 6; + } +} + +// Copied from: local:aiserver.v1.InputSchema (var: jHu) +message InputSchema { + repeated InputField fields = 1; +} + +// Copied from: local:aiserver.v1.InputValue (var: zHu) +message InputValue { + string key = 1; + oneof value { + string string_value = 2; + StringList string_list_value = 3; + bool bool_value = 4; + } +} + +// Copied from: local:aiserver.v1.InputValues (var: HHu) +message InputValues { + repeated InputValue values = 1; +} + +// Copied from: anyrun.v1.InstallCommand (var: Mau) +message InstallCommand { + string name = 1; + string command = 2; + optional string user = 3; + bool is_system = 4; + bool failure_tolerant = 5; +} + +// Copied from: anyrun.v1.InstallCommandFailure (var: qau) +message InstallCommandFailure { + bool is_system = 1; +} + +// Copied from: local:aiserver.v1.InstallExtensionsRequest (var: B_v) +message InstallExtensionsRequest { + repeated string extensions = 1; + string devcontainer_directory = 2; +} + +// Copied from: local:aiserver.v1.InstallExtensionsResponse (var: U_v) +message InstallExtensionsResponse { + repeated string installed = 1; + repeated string failed = 2; +} + +// Copied from: local:aiserver.v1.InstallPluginAndPrefillPromptPayload (var: qfv) +message InstallPluginAndPrefillPromptPayload { + string plugin_name = 1; + string prompt = 2; + int64 plugin_id = 3; +} + +// Copied from: local:aiserver.v1.InstallTeamPluginRequest (var: V3t) +message InstallTeamPluginRequest { + int32 team_id = 1; + int64 plugin_id = 2; + optional bool is_required = 4; + optional string pinned_git_ref = 5; +} + +// Copied from: local:aiserver.v1.InstallTeamPluginResponse (var: TAu) +message InstallTeamPluginResponse { + TeamPluginInstall install = 1; +} + +// Copied from: local:aiserver.v1.InstallUserPluginRequest (var: xqe) +message InstallUserPluginRequest { + int64 plugin_id = 1; + optional string pinned_git_ref = 4; + google.protobuf.Struct variables = 5; +} + +// Copied from: local:aiserver.v1.InstallUserPluginResponse (var: mAu) +message InstallUserPluginResponse { + UserPluginInstall install = 1; +} + +// Copied from: local:aiserver.v1.InstallationSettings (var: _Ns) +message InstallationSettings { + repeated string allowlist = 1; + AllowlistConfig allowlist_config = 2; + bool run_only_once = 3; + bool suppress_no_bugs_comments = 4; + bool disable_inline_reviews = 5; + bool auto_enable_new_repos = 6; + bool is_pr_summary_enabled = 7; + bool pr_summary_use_comment = 8; + bool is_learning_enabled = 9; + BugbotAutofixMode bugbot_autofix_mode = 10; + bool enable_draft = 11; + bool fail_github_action_on_bugbot_findings = 12; + repeated string bugbot_autofix_severity_filter = 13; + optional bool is_pr_risk_score_enabled = 14; +} + +// Copied from: local:aiserver.v1.IntentPredictionRequest (var: rVl) +message IntentPredictionRequest { + repeated ConversationMessage messages = 1; + ContextOptions context_options = 2; + ModelDetails model_details = 3; +} + +// Copied from: local:aiserver.v1.IntentPredictionResponse (var: sVl) +message IntentPredictionResponse { + // Copied from: local:aiserver.v1.IntentPredictionResponse.ChosenDocumentation (var: oVl) + message ChosenDocumentation { + repeated int32 doc_indices = 1; + repeated string doc_identifiers = 2; + repeated string doc_names = 3; + } + + // Copied from: local:aiserver.v1.IntentPredictionResponse.ChosenFileContents (var: aVl) + message ChosenFileContents { + } + + // Copied from: local:aiserver.v1.IntentPredictionResponse.ChosenLinterDiagnostics (var: cVl) + message ChosenLinterDiagnostics { + repeated int32 diagnostic_indices = 1; + } + + ChosenDocumentation chosen_documentation = 1; + ChosenFileContents chosen_file_contents = 2; + ChosenLinterDiagnostics chosen_linter_diagnostics = 3; + bool use_global_context = 4; + bool use_with_folder_context = 5; +} + +// Copied from: local:aiserver.v1.Interaction (var: Z8s) +message Interaction { + string id = 1; + InteractionType type = 2; + double performance_start_timestamp = 3; + double performance_end_timestamp = 4; +} + +// Copied from: local:aiserver.v1.InteractionConfig (var: x8u) +message InteractionConfig { + bool profiling_enabled = 1; + bool metrics_enabled = 2; + optional int32 profiling_interval_sec = 3; + optional int32 metrics_interval_sec = 4; + optional int32 profiling_max_buffer_size = 5; + optional int32 profiling_interaction_duration_threshold_ms = 6; + optional int32 profiling_sample_interval_ms = 7; + optional int32 metrics_min_interactions_for_loaf = 8; + optional int32 metrics_min_foreground_time_ms = 9; + optional int32 metrics_combined_inp_drop_highest_count = 10; + optional int32 metrics_click_inp_drop_highest_count = 11; + optional int32 metrics_keypress_inp_drop_highest_count = 12; + optional int32 metrics_startup_threshold_sec = 13; + optional int32 analytics_summary_every_n_windows = 14; + optional int32 ext_host_lag_summary_interval_sec = 15; +} + +// Copied from: agent.v1.InteractionQuery (var: lpt) +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: agent.v1.InteractionResponse (var: NL) +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:aiserver.v1.InteractionType (var: G1n) +enum InteractionType { + INTERACTION_TYPE_UNSPECIFIED = 0; + INTERACTION_TYPE_CLICK = 1; + INTERACTION_TYPE_KEYPRESS = 2; +} + +// Copied from: agent.v1.InteractionUpdate (var: ZS) +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; + RoutedModelUpdate routed_model = 24; + } +} + +// Copied from: local:aiserver.v1.InterfaceAgentClientState (var: uIs) +message InterfaceAgentClientState { + string interface_relative_workspace_path = 3; + repeated string interface_lines = 4; + optional string test_relative_workspace_path = 5; + repeated string test_lines = 10; + optional string implementation_relative_workspace_path = 6; + repeated string implementation_lines = 7; + string language = 8; + string testing_framework = 9; +} + +// Copied from: local:aiserver.v1.InterfaceAgentInitRequest (var: RKl) +message InterfaceAgentInitRequest { + ModelDetails model_details = 1; + bool debugging_only_live_mode = 2; + InterfaceAgentClientState interface_agent_client_state = 3; +} + +// Copied from: local:aiserver.v1.InterfaceAgentInitResponse (var: DKl) +message InterfaceAgentInitResponse { + string task_uuid = 1; + string human_readable_title = 2; +} + +// Copied from: local:aiserver.v1.InterfaceAgentStatus (var: dIs) +message InterfaceAgentStatus { + // Copied from: local:aiserver.v1.InterfaceAgentStatus.Status (var: KFe) + enum Status { + STATUS_UNSPECIFIED = 0; + STATUS_WAITING = 1; + STATUS_RUNNING = 2; + STATUS_SUCCESS = 3; + STATUS_FAILURE = 4; + } + + Status validate_configuration = 1; + Status stub_new_function = 2; + Status verify_spec = 3; + Status write_test_plan = 15; + Status write_tests = 4; + Status write_implementation = 5; + Status implement_new_function = 6; + Status run_tests = 7; + string validate_configuration_message = 8; + string stub_new_function_message = 9; + string verify_spec_message = 10; + string write_test_plan_message = 16; + string write_tests_message = 11; + string write_implementation_message = 12; + string implement_new_function_message = 13; + string run_tests_message = 14; +} + +// Copied from: anyrun.v1.InternalBuildMessage (var: Tau) +message InternalBuildMessage { + uint32 stream_id = 1; + string content = 2; +} + +// Copied from: local:aiserver.v1.InterpreterResult (var: sTs) +message InterpreterResult { + string output = 1; + bool success = 2; +} + +// Copied from: agent.v1.InterruptedPendingToolCallResolution (var: yTi) +message InterruptedPendingToolCallResolution { + string tool_call_id = 1; + oneof resolution { + ShellResult shell_result = 2; + TaskResult task_result = 3; + } +} + +// Copied from: agent.v1.InterruptedPendingToolCallResolutions (var: DSn) +message InterruptedPendingToolCallResolutions { + repeated InterruptedPendingToolCallResolution resolutions = 1; +} + +// Copied from: local:aiserver.v1.InviteLinkInfo (var: lwu) +message InviteLinkInfo { + string invite_link = 1; + int64 valid_until = 2; +} + +// Copied from: agent.v1.InvocationContext (var: fTi) +message InvocationContext { + // Copied from: agent.v1.InvocationContext.GithubPR (var: P4l) + message GithubPR { + string title = 1; + string description = 2; + string comments = 3; + optional string ci_failures = 4; + } + + // Copied from: agent.v1.InvocationContext.IdeState (var: eEs) + message IdeState { + // Copied from: agent.v1.InvocationContext.IdeState.File (var: CBt) + message File { + // Copied from: agent.v1.InvocationContext.IdeState.File.CursorPosition (var: tEs) + 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: agent.v1.InvocationContext.IdeState.ViewedPullRequest (var: nEs) + 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: agent.v1.InvocationContext.MicrosoftTeamsThread (var: M4l) + 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: agent.v1.InvocationContext.SlackThread (var: D4l) + 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:aiserver.v1.InvocationInfo (var: qHi) +message InvocationInfo { + string source_type = 1; + string source_id = 2; + optional string git_repo_url = 3; + optional string git_sha = 4; + optional string git_branch = 5; + optional int32 git_commit_number = 6; + optional bool git_dirty = 7; + optional string triggered_by_id = 8; + optional string client_version = 9; + google.protobuf.Timestamp created_at = 10; + optional google.protobuf.Struct metadata = 11; +} + +// Copied from: local:aiserver.v1.InvocationStatus (var: npo) +enum InvocationStatus { + INVOCATION_STATUS_UNSPECIFIED = 0; + INVOCATION_STATUS_RUNNING = 1; + INVOCATION_STATUS_COMPLETED_SUCCESS = 2; + INVOCATION_STATUS_COMPLETED_FAILURE = 3; + INVOCATION_STATUS_ABORTED = 4; +} + +// Copied from: local:aiserver.v1.InvoiceCycle (var: dmu) +message InvoiceCycle { + int64 start_ms = 1; + CycleType type = 2; + int64 end_ms = 3; +} + +// Copied from: local:aiserver.v1.InvoiceInfo (var: EDi) +message InvoiceInfo { + string invoice_id = 1; + int64 date = 2; + int32 amount_cents = 3; + string currency = 4; + string status = 5; + string hosted_invoice_url = 6; + int32 refund_amount = 7; + string description = 8; + bool is_mid_month_invoice = 9; + string invoice_pdf_url = 10; +} + +// Copied from: local:aiserver.v1.IsAllowedFreeTrialUsageRequest (var: QCu) +message IsAllowedFreeTrialUsageRequest { +} + +// Copied from: local:aiserver.v1.IsAllowedFreeTrialUsageResponse (var: YCu) +message IsAllowedFreeTrialUsageResponse { + bool is_allowed = 1; +} + +// Copied from: local:aiserver.v1.IsConnectedRequest (var: Lfv) +message IsConnectedRequest { +} + +// Copied from: local:aiserver.v1.IsConnectedResponse (var: Nfv) +message IsConnectedResponse { +} + +// Copied from: local:aiserver.v1.IsCursorPredictionEnabledRequest (var: xzl) +message IsCursorPredictionEnabledRequest { +} + +// Copied from: local:aiserver.v1.IsCursorPredictionEnabledResponse (var: Tzl) +message IsCursorPredictionEnabledResponse { + bool enabled = 1; +} + +// Copied from: local:aiserver.v1.IsEligibleForSandTrialRequest (var: y_u) +message IsEligibleForSandTrialRequest { +} + +// Copied from: local:aiserver.v1.IsEligibleForSandTrialResponse (var: S_u) +message IsEligibleForSandTrialResponse { + bool is_eligible = 1; +} + +// Copied from: local:aiserver.v1.IsGitGraphEnabledRequest (var: Hmv) +message IsGitGraphEnabledRequest { +} + +// Copied from: local:aiserver.v1.IsGitGraphEnabledResponse (var: zmv) +message IsGitGraphEnabledResponse { + bool is_enabled = 1; +} + +// Copied from: local:aiserver.v1.IsLoggedInRequest (var: mt) +message IsLoggedInRequest { +} + +// Copied from: local:aiserver.v1.IsLoggedInResponse (var: ct) +message IsLoggedInResponse { + bool logged_in = 1; +} + +// Copied from: local:aiserver.v1.IsNextSetupRunFreeRequest (var: ZCu) +message IsNextSetupRunFreeRequest { + optional string bc_id = 1; +} + +// Copied from: local:aiserver.v1.IsNextSetupRunFreeResponse (var: XCu) +message IsNextSetupRunFreeResponse { + bool is_free = 1; + uint32 remaining_runs = 2; + bool is_promotion_enabled = 3; + bool are_followups_free = 4; + uint32 remaining_followups = 5; + bool is_current_run_free = 6; +} + +// Copied from: local:aiserver.v1.IsOnNewPricingRequest (var: NNs) +message IsOnNewPricingRequest { +} + +// Copied from: local:aiserver.v1.IsOnNewPricingResponse (var: jCu) +message IsOnNewPricingResponse { + bool is_on_new_pricing = 1; + bool is_opted_out = 2; + bool has_auto_spillover = 3; + optional int32 dashboard_user_id = 4; + bool has_tiered_self_serve_team_spillover = 5; +} + +// Copied from: local:aiserver.v1.IsTerminalFinishedRequest (var: rHl) +message IsTerminalFinishedRequest { + string terminal_content = 1; + bool check_for_hangs = 2; + optional string chat_request_id = 3; + optional string command = 4; +} + +// Copied from: local:aiserver.v1.IsTerminalFinishedResponseV2 (var: sHl) +message IsTerminalFinishedResponseV2 { + bool is_finished = 1; + optional RunTerminalCommandEndedReason ended_reason = 2; + optional int32 exit_code = 3; + bool is_hanging = 4; +} + +// Copied from: local:aiserver.v1.IsolatedTreesitterRequest (var: Nql) +message IsolatedTreesitterRequest { + string file_content = 1; + string language_id = 2; + string command_id = 3; +} + +// Copied from: local:aiserver.v1.IsolatedTreesitterResponse (var: Oql) +message IsolatedTreesitterResponse { + // Copied from: local:aiserver.v1.IsolatedTreesitterResponse.TreeSitterPosition (var: VIs) + message TreeSitterPosition { + int32 row = 1; + int32 column = 2; + } + + // Copied from: local:aiserver.v1.IsolatedTreesitterResponse.TreesitterSymbolNameItem (var: Fql) + message TreesitterSymbolNameItem { + string symbol_name = 1; + optional IsolatedTreesitterResponse.TreeSitterPosition start_position = 2; + optional IsolatedTreesitterResponse.TreeSitterPosition end_position = 3; + } + + repeated TreesitterSymbolNameItem items = 1; +} + +// Copied from: local:aiserver.v1.IssueComment (var: n_s) +message IssueComment { + uint32 id = 1; + string body = 2; + optional string author = 3; + string created_at = 4; + string updated_at = 5; + optional string author_association = 6; +} + +// Copied from: local:aiserver.v1.IterationInfo (var: vqd) +message IterationInfo { + string local_id = 1; + string case_local_id = 2; + int32 iteration_number = 3; + optional int32 start_ms = 4; + optional int32 duration_ms = 5; + string status = 6; + optional google.protobuf.Struct summary = 7; +} + +// Copied from: local:aiserver.v1.IterativeSftInferenceConfig (var: qu) +message IterativeSftInferenceConfig { + optional double temperature = 1; + optional double top_p = 2; +} + +// Copied from: local:aiserver.v1.JiraIntegrationSettings (var: Z2s) +message JiraIntegrationSettings { + bool hidden = 1; +} + +// Copied from: local:aiserver.v1.JiraProject (var: wIu) +message JiraProject { + string id = 1; + string key = 2; + string name = 3; +} + +// Copied from: local:aiserver.v1.JiraRoutingRule (var: XDi) +message JiraRoutingRule { + int64 id = 1; + string repo = 2; + string rule_text = 3; +} + +// Copied from: local:aiserver.v1.JiraUserLink (var: jIu) +message JiraUserLink { + string cloud_id = 1; + string jira_account_id = 2; + string site_name = 3; + string base_url = 4; + int64 linked_at_ms = 5; +} + +// Copied from: local:aiserver.v1.JoinTeamByDomainRequest (var: wfu) +message JoinTeamByDomainRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.JoinTeamByDomainResponse (var: kfu) +message JoinTeamByDomainResponse { + bool success = 1; +} + +// Copied from: local:aiserver.v1.JoinableTeam (var: yfu) +message JoinableTeam { + int32 id = 1; + string name = 2; + int32 member_count = 3; + repeated string member_names = 4; +} + +// Copied from: local:aiserver.v1.JwtPublicKey (var: puv) +message JwtPublicKey { + string kid = 1; + string public_key = 2; +} + +// Copied from: local:aiserver.v1.KeepComposerCacheWarmRequest (var: BQl) +message KeepComposerCacheWarmRequest { + GetComposerChatRequest request = 1; + string request_id = 2; + bool is_composer_visible = 3; +} + +// Copied from: local:aiserver.v1.KeepComposerCacheWarmResponse (var: UQl) +message KeepComposerCacheWarmResponse { + bool did_keep_warm = 1; +} + +// Copied from: agent.v1.KeyAction (var: qRl) +message KeyAction { + string key = 1; + optional int32 hold_duration_ms = 2; +} + +// Copied from: local:aiserver.v1.Keyring (var: LCn) +message Keyring { + string public_id = 1; + string name = 2; + KeyringScope scope = 3; + optional int32 owning_team = 4; + optional int32 owning_user = 5; + int64 created_at_ms = 6; + int64 updated_at_ms = 7; + int32 secret_count = 8; + optional int32 created_by_user_id = 9; + bool can_manage = 10; + bool can_attach = 11; +} + +// Copied from: local:aiserver.v1.KeyringAccessLevel (var: aMi) +enum KeyringAccessLevel { + KEYRING_ACCESS_LEVEL_UNSPECIFIED = 0; + KEYRING_ACCESS_LEVEL_ATTACH = 1; + KEYRING_ACCESS_LEVEL_MANAGE = 2; +} + +// Copied from: local:aiserver.v1.KeyringGrant (var: C3u) +message KeyringGrant { + KeyringPrincipalType principal_type = 1; + string principal_id = 2; + KeyringAccessLevel access_level = 3; +} + +// Copied from: local:aiserver.v1.KeyringListMode (var: wDu) +enum KeyringListMode { + KEYRING_LIST_MODE_UNSPECIFIED = 0; + KEYRING_LIST_MODE_MANAGE = 1; + KEYRING_LIST_MODE_ATTACH = 2; + KEYRING_LIST_MODE_ANY_ACCESS = 3; +} + +// Copied from: local:aiserver.v1.KeyringPrincipalType (var: kCn) +enum KeyringPrincipalType { + KEYRING_PRINCIPAL_TYPE_UNSPECIFIED = 0; + KEYRING_PRINCIPAL_TYPE_USER = 1; + KEYRING_PRINCIPAL_TYPE_TEAM = 2; + KEYRING_PRINCIPAL_TYPE_GROUP = 3; +} + +// Copied from: local:aiserver.v1.KeyringScope (var: SDu) +enum KeyringScope { + KEYRING_SCOPE_UNSPECIFIED = 0; + KEYRING_SCOPE_PERSONAL = 1; + KEYRING_SCOPE_TEAM = 2; +} + +// Copied from: local:aiserver.v1.KeyringSecret (var: g3u) +message KeyringSecret { + string name = 1; + BackgroundComposerSecretLevel level = 2; + int64 created_at_ms = 3; + int64 updated_at_ms = 4; +} + +// Copied from: local:aiserver.v1.KillTeamMemberSandBoxRequest (var: Gqd) +message KillTeamMemberSandBoxRequest { + int32 team_id = 1; + int32 user_id = 2; + string pod_id = 3; + string cluster = 4; +} + +// Copied from: local:aiserver.v1.KillTeamMemberSandBoxResponse (var: qqd) +message KillTeamMemberSandBoxResponse { + bool killed = 1; + string reason = 2; + uint32 deleted_count = 3; +} + +// Copied from: local:aiserver.v1.Knowledge (var: N0i) +message Knowledge { + string knowledge = 1; + string title = 2; +} + +// Copied from: local:aiserver.v1.KnowledgeBaseAddRequest (var: xYl) +message KnowledgeBaseAddRequest { + string knowledge = 1; + string title = 2; + string git_origin = 3; + optional string composer_id = 4; +} + +// Copied from: local:aiserver.v1.KnowledgeBaseAddResponse (var: TYl) +message KnowledgeBaseAddResponse { + bool success = 1; + string id = 2; +} + +// Copied from: local:aiserver.v1.KnowledgeBaseGetRequest (var: Eu) +message KnowledgeBaseGetRequest { + string id = 1; +} + +// Copied from: local:aiserver.v1.KnowledgeBaseGetResponse (var: Su) +message KnowledgeBaseGetResponse { + // Copied from: local:aiserver.v1.KnowledgeBaseGetResponse.Item (var: Iu) + message Item { + string id = 1; + string knowledge = 2; + string title = 3; + string created_at = 4; + } + + bool success = 1; + Item result = 2; +} + +// Copied from: local:aiserver.v1.KnowledgeBaseListRequest (var: MYl) +message KnowledgeBaseListRequest { + optional int32 limit = 1; + optional string git_origin = 2; +} + +// Copied from: local:aiserver.v1.KnowledgeBaseListResponse (var: PYl) +message KnowledgeBaseListResponse { + // Copied from: local:aiserver.v1.KnowledgeBaseListResponse.Item (var: LYl) + message Item { + string id = 1; + string knowledge = 2; + string title = 3; + string created_at = 4; + bool is_generated = 5; + } + + bool success = 1; + repeated Item all_results = 2; +} + +// Copied from: local:aiserver.v1.KnowledgeBaseParams (var: V_n) +message KnowledgeBaseParams { + string knowledge_to_store = 1; + string title = 2; + optional string existing_knowledge_id = 3; + optional string action = 4; +} + +// Copied from: local:aiserver.v1.KnowledgeBaseRemoveRequest (var: AYl) +message KnowledgeBaseRemoveRequest { + string id = 1; +} + +// Copied from: local:aiserver.v1.KnowledgeBaseRemoveResponse (var: IYl) +message KnowledgeBaseRemoveResponse { + bool success = 1; +} + +// Copied from: local:aiserver.v1.KnowledgeBaseResult (var: V0i) +message KnowledgeBaseResult { + bool success = 1; + string confirmation_message = 2; + string id = 3; +} + +// Copied from: local:aiserver.v1.KnowledgeBaseStream (var: t_s) +message KnowledgeBaseStream { +} + +// Copied from: local:aiserver.v1.KnowledgeBaseUpdateRequest (var: RYl) +message KnowledgeBaseUpdateRequest { + string id = 1; + string knowledge = 2; + string title = 3; +} + +// Copied from: local:aiserver.v1.KnowledgeBaseUpdateResponse (var: DYl) +message KnowledgeBaseUpdateResponse { + bool success = 1; +} + +// Copied from: local:aiserver.v1.LabelFilterMode (var: WLs) +enum LabelFilterMode { + LABEL_FILTER_MODE_UNSPECIFIED = 0; + LABEL_FILTER_MODE_AND = 1; + LABEL_FILTER_MODE_OR = 2; +} + +// Copied from: local:aiserver.v1.LatestAgentConversationState (var: KPu) +message LatestAgentConversationState { + ConversationStateStructure conversation_state = 1; + uint32 num_prior_interaction_updates = 2; + optional uint32 conversation_rewind_epoch = 3; +} + +// Copied from: anyrun.v1.LifecycleProcessExited (var: _au) +message LifecycleProcessExited { + int32 exit_code = 1; + string command_name = 2; +} + +// Copied from: anyrun.v1.LifecycleProcessRestarted (var: bau) +message LifecycleProcessRestarted { + uint32 attempt = 1; + int32 previous_exit_code = 2; + RestartReason reason = 3; + string command_name = 4; +} + +// Copied from: local:aiserver.v1.LimitHitStage (var: pC) +enum LimitHitStage { + LIMIT_HIT_STAGE_UNSPECIFIED = 0; + LIMIT_HIT_STAGE_AUTO_SWITCH = 1; + LIMIT_HIT_STAGE_SLOW_POOL = 2; + LIMIT_HIT_STAGE_HARD_BLOCK = 3; +} + +// Copied from: local:aiserver.v1.LineRange (var: S5) +message LineRange { + int32 start_line_number = 1; + int32 end_line_number_inclusive = 2; +} + +// Copied from: local:aiserver.v1.LinearActor (var: Icu) +enum LinearActor { + LINEAR_ACTOR_UNSPECIFIED = 0; + LINEAR_ACTOR_APP = 1; + LINEAR_ACTOR_USER = 2; +} + +// Copied from: local:aiserver.v1.LinearEndOfCycleEvent (var: mWu) +message LinearEndOfCycleEvent { + repeated string cycle_ids = 1; +} + +// Copied from: local:aiserver.v1.LinearIntegrationSettings (var: Y2s) +message LinearIntegrationSettings { + bool hidden = 1; +} + +// Copied from: local:aiserver.v1.LinearIssue (var: lCu) +message LinearIssue { + string id = 1; + string identifier = 2; + string title = 3; + optional string description = 4; + optional string state_id = 5; + optional string state_name = 6; + optional string state_type = 7; + optional string team_id = 8; + optional string project_id = 9; + optional string project_name = 10; + optional string assignee_id = 11; + optional string assignee_name = 12; + repeated string label_ids = 13; + optional int32 priority = 14; + bool archived = 15; + optional int64 created_at = 16; + optional int64 updated_at = 17; + optional string url = 18; + optional string due_date = 19; +} + +// Copied from: local:aiserver.v1.LinearIssueCreatedEvent (var: hWu) +message LinearIssueCreatedEvent { +} + +// Copied from: local:aiserver.v1.LinearIssuesOrderBy (var: HLs) +enum LinearIssuesOrderBy { + LINEAR_ISSUES_ORDER_BY_UNSPECIFIED = 0; + LINEAR_ISSUES_ORDER_BY_UPDATED_AT = 1; + LINEAR_ISSUES_ORDER_BY_CREATED_AT = 2; +} + +// Copied from: local:aiserver.v1.LinearLabel (var: MNs) +message LinearLabel { + string id = 1; + string name = 2; + optional string color = 3; +} + +// Copied from: local:aiserver.v1.LinearProject (var: Zku) +message LinearProject { + string id = 1; + string name = 2; +} + +// Copied from: local:aiserver.v1.LinearProjectSettings (var: Xku) +message LinearProjectSettings { + string project_id = 1; + LinearRunOption run_option = 2; + string conditions = 3; +} + +// Copied from: local:aiserver.v1.LinearRunOption (var: Wkn) +enum LinearRunOption { + LINEAR_RUN_OPTION_UNSPECIFIED = 0; + LINEAR_RUN_OPTION_AUTOMATICALLY = 1; + LINEAR_RUN_OPTION_BASED_ON_CONDITIONS = 2; + LINEAR_RUN_OPTION_MANUALLY = 3; +} + +// Copied from: local:aiserver.v1.LinearSamplePayload (var: w9s) +message LinearSamplePayload { + string issue_id = 1; + string issue_identifier = 2; +} + +// Copied from: local:aiserver.v1.LinearSourceMetadata (var: bPu) +message LinearSourceMetadata { + optional string issue_id = 1; + optional string org_id = 2; + optional string issue_identifier = 3; + optional string issue_title = 4; +} + +// Copied from: local:aiserver.v1.LinearStatusChangedEvent (var: pWu) +message LinearStatusChangedEvent { + repeated string status_ids = 1; +} + +// Copied from: local:aiserver.v1.LinearTeam (var: Qku) +message LinearTeam { + string id = 1; + string key = 2; + string name = 3; + string display_name = 4; + optional string description = 5; + repeated LinearProject projects = 6; + repeated LinearLabel labels = 7; + repeated LinearWorkflowState states = 8; +} + +// Copied from: local:aiserver.v1.LinearTeamSettings (var: Jku) +message LinearTeamSettings { + string linear_team_id = 1; + LinearRunOption default_run_option = 2; + repeated LinearProjectSettings project_settings = 3; + string default_conditions = 4; + LabelFilterMode label_filter_mode = 5; + repeated string required_label_ids = 6; + optional int32 autorun_as_user_id = 7; +} + +// Copied from: local:aiserver.v1.LinearTrigger (var: dWu) +message LinearTrigger { + repeated string project_ids = 4; + repeated string team_ids = 6; + oneof event { + LinearIssueCreatedEvent issue_created = 1; + LinearStatusChangedEvent status_changed = 2; + LinearEndOfCycleEvent end_of_cycle = 3; + } +} + +// Copied from: local:aiserver.v1.LinearWorkflowState (var: Yku) +message LinearWorkflowState { + string id = 1; + string name = 2; + optional string color = 3; + string type = 4; + double position = 5; +} + +// Copied from: local:aiserver.v1.LinkJiraInstallationRequest (var: hIu) +message LinkJiraInstallationRequest { + string installation_id = 1; + int32 team_id = 2; + string install_token = 3; + string setup_code = 4; +} + +// Copied from: local:aiserver.v1.LinkJiraInstallationResponse (var: pIu) +message LinkJiraInstallationResponse { + bool success = 1; +} + +// Copied from: local:aiserver.v1.LinkJiraUserRequest (var: FIu) +message LinkJiraUserRequest { + string cloud_id = 1; + string jira_account_id = 2; + string link_token = 3; +} + +// Copied from: local:aiserver.v1.LinkJiraUserResponse (var: BIu) +message LinkJiraUserResponse { + bool success = 1; +} + +// Copied from: local:aiserver.v1.LinkPluginsToTeamMarketplaceRequest (var: ZAu) +message LinkPluginsToTeamMarketplaceRequest { + repeated string plugin_ids = 1; + int64 marketplace_id = 2; +} + +// Copied from: local:aiserver.v1.LinkPluginsToTeamMarketplaceResponse (var: XAu) +message LinkPluginsToTeamMarketplaceResponse { + bool success = 1; +} + +// Copied from: local:aiserver.v1.LinkedUsageAlertPolicy (var: _mu) +message LinkedUsageAlertPolicy { + optional string alert_id = 1; + optional int32 threshold_bps = 2; + optional string notification_mode = 3; + optional bool notify_all_admins = 4; + repeated int32 notify_admin_user_ids = 5; + optional bool notify_member = 6; +} + +// Copied from: local:aiserver.v1.Lint (var: Vbc) +message Lint { + string message = 1; + SimpleRange range = 2; + LintSeverity severity = 3; +} + +// Copied from: local:aiserver.v1.LintChunk (var: KBt) +message LintChunk { + string chunk_contents = 2; + int32 start_line_number = 3; + int32 num_remaining_lines = 4; +} + +// Copied from: local:aiserver.v1.LintChunkRequest (var: mWl) +message LintChunkRequest { + string relative_file_path = 1; + LintChunk chunk = 2; + optional bool use_speculative_linter = 3; +} + +// Copied from: local:aiserver.v1.LintChunkResponse (var: gWl) +message LintChunkResponse { + repeated TokenIndex chunk_tokens = 1; +} + +// Copied from: local:aiserver.v1.LintDiscriminator (var: CAi) +enum LintDiscriminator { + LINT_DISCRIMINATOR_UNSPECIFIED = 0; + LINT_DISCRIMINATOR_SPECIFIC_RULES = 1; + LINT_DISCRIMINATOR_COMPILE_ERRORS = 2; + LINT_DISCRIMINATOR_CHANGE_BEHAVIOR = 3; + LINT_DISCRIMINATOR_RELEVANCE = 5; + LINT_DISCRIMINATOR_USER_AWARENESS = 6; + LINT_DISCRIMINATOR_CORRECTNESS = 7; + LINT_DISCRIMINATOR_CHUNKING = 8; + LINT_DISCRIMINATOR_TYPO = 9; + LINT_DISCRIMINATOR_CONFIDENCE = 10; + LINT_DISCRIMINATOR_DISMISSED_BUGS = 11; +} + +// Copied from: local:aiserver.v1.LintDiscriminatorResult (var: SWl) +message LintDiscriminatorResult { + LintDiscriminator discriminator = 1; + bool allow = 2; + string reasoning = 3; +} + +// Copied from: local:aiserver.v1.LintExplanationRequest (var: rIs) +message LintExplanationRequest { + string relative_file_path = 1; + LintChunk chunk = 2; + string line_selection = 3; + int32 token_start_index = 4; + int32 token_end_index = 5; + string likely_alternate_token = 6; + int32 line_chunk_index_zero_based = 7; +} + +// Copied from: local:aiserver.v1.LintExplanationResponse (var: hWl) +message LintExplanationResponse { + string explanation = 1; +} + +// Copied from: local:aiserver.v1.LintExplanationResponse2 (var: pWl) +message LintExplanationResponse2 { + string orig_line = 1; + string new_line = 2; +} + +// Copied from: local:aiserver.v1.LintFileRequest (var: bWl) +message LintFileRequest { + string relative_file_path = 1; + string file_contents = 2; +} + +// Copied from: local:aiserver.v1.LintFileResponse (var: yWl) +message LintFileResponse { + repeated TokenIndex tokens = 1; +} + +// Copied from: local:aiserver.v1.LintFimChunkRequest (var: fWl) +message LintFimChunkRequest { + string relative_file_path = 1; + LintChunk prefix = 2; + LintChunk suffix = 3; + LintChunk middle = 4; +} + +// Copied from: local:aiserver.v1.LintFimChunkResponse (var: vWl) +message LintFimChunkResponse { + repeated TokenIndex middle_chunk_tokens = 1; +} + +// Copied from: local:aiserver.v1.LintGenerator (var: EAi) +enum LintGenerator { + LINT_GENERATOR_UNSPECIFIED = 0; + LINT_GENERATOR_NAIVE = 1; + LINT_GENERATOR_COMMENT_PIPELINE = 2; + LINT_GENERATOR_SIMPLE_BUG = 3; + LINT_GENERATOR_SIMPLE_LINT_RULES = 4; +} + +// Copied from: local:aiserver.v1.LintSeverity (var: mxe) +enum LintSeverity { + LINT_SEVERITY_UNSPECIFIED = 0; + LINT_SEVERITY_ERROR = 1; + LINT_SEVERITY_WARNING = 2; + LINT_SEVERITY_INFO = 3; + LINT_SEVERITY_HINT = 4; + LINT_SEVERITY_AI = 5; +} + +// Copied from: local:aiserver.v1.LinterError (var: vY) +message LinterError { + string message = 1; + CursorRange range = 2; + optional string source = 3; + repeated Diagnostic.RelatedInformation related_information = 4; + optional Diagnostic.DiagnosticSeverity severity = 5; + optional bool is_stale = 6; +} + +// Copied from: local:aiserver.v1.LinterErrors (var: fP) +message LinterErrors { + string relative_workspace_path = 1; + repeated LinterError errors = 2; + string file_contents = 3; +} + +// Copied from: local:aiserver.v1.LinterErrorsWithoutFileContents (var: Ybc) +message LinterErrorsWithoutFileContents { + string relative_workspace_path = 1; + repeated LinterError errors = 2; +} + +// Copied from: local:aiserver.v1.ListActiveSessionsRequest (var: Rlv) +message ListActiveSessionsRequest { +} + +// Copied from: local:aiserver.v1.ListActiveSessionsResponse (var: Dlv) +message ListActiveSessionsResponse { + repeated Session sessions = 1; +} + +// Copied from: local:aiserver.v1.ListAgentStoreDirectoryRequest (var: uBu) +message ListAgentStoreDirectoryRequest { + optional string store_id = 1; + optional string share_id = 2; + string relative_path = 3; + int32 page_size = 4; + string page_token = 5; + bool prefer_complete_flat_store = 6; +} + +// Copied from: local:aiserver.v1.ListAgentStoreDirectoryResponse (var: dBu) +message ListAgentStoreDirectoryResponse { + repeated AgentStoreFileEntry files = 1; + repeated string subdirs = 2; + string next_page_token = 3; + AgentStoreDirectoryListingMode mode = 4; + repeated AgentStoreTombstone tombstones = 5; +} + +// Copied from: local:aiserver.v1.ListAgentStoreEntriesRequest (var: tBu) +message ListAgentStoreEntriesRequest { + string store_id = 1; + string relative_path = 2; + optional string share_id = 3; +} + +// Copied from: local:aiserver.v1.ListAgentStoreEntriesResponse (var: iBu) +message ListAgentStoreEntriesResponse { + string normalized_relative_path = 1; + repeated AgentStoreEntry entries = 2; +} + +// Copied from: local:aiserver.v1.ListAgentStoreFilesRequest (var: cBu) +message ListAgentStoreFilesRequest { + string agent_id = 1; + optional string share_id = 2; + optional string store_id = 3; +} + +// Copied from: local:aiserver.v1.ListAgentStoreFilesResponse (var: lBu) +message ListAgentStoreFilesResponse { + repeated AgentStoreFileEntry files = 1; + repeated AgentStoreTombstone tombstones = 2; + bool listing_complete = 3; +} + +// Copied from: local:aiserver.v1.ListAgentStoresRequest (var: XFu) +message ListAgentStoresRequest { + int32 n = 1; + optional string page_token = 5; +} + +// Copied from: local:aiserver.v1.ListAgentStoresResponse (var: eBu) +message ListAgentStoresResponse { + repeated AgentStore stores = 1; + bool has_more = 2; + optional string next_page_token = 4; +} + +// Copied from: local:aiserver.v1.ListAllRunsRequest (var: lHu) +message ListAllRunsRequest { + optional string automation_id = 1; + optional int32 limit = 2; + optional string cursor = 3; + AutomationRunListKind run_kind = 4; + optional int32 team_id = 5; + bool owner_only = 6; +} + +// Copied from: local:aiserver.v1.ListAllRunsResponse (var: uHu) +message ListAllRunsResponse { + repeated AutomationRun runs = 1; + optional string next_cursor = 2; +} + +// Copied from: local:aiserver.v1.ListAutomationMemoriesRequest (var: pHu) +message ListAutomationMemoriesRequest { + string automation_id = 1; +} + +// Copied from: local:aiserver.v1.ListAutomationMemoriesResponse (var: mHu) +message ListAutomationMemoriesResponse { + repeated string files = 1; +} + +// Copied from: local:aiserver.v1.ListAutomationRunsRequest (var: sHu) +message ListAutomationRunsRequest { + optional int32 limit = 2; + string automation_id = 3; + optional string cursor = 4; + AutomationRunListKind run_kind = 5; +} + +// Copied from: local:aiserver.v1.ListAutomationRunsResponse (var: oHu) +message ListAutomationRunsResponse { + repeated AutomationRun runs = 1; + optional string next_cursor = 2; +} + +// Copied from: local:aiserver.v1.ListAutomationsRequest (var: h9s) +message ListAutomationsRequest { + optional int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.ListAutomationsResponse (var: p9s) +message ListAutomationsResponse { + repeated AutomationWithOwner workflows = 1; +} + +// Copied from: local:aiserver.v1.ListBackgroundComposerArtifactsRequest (var: kNu) +message ListBackgroundComposerArtifactsRequest { + string bc_id = 1; +} + +// Copied from: local:aiserver.v1.ListBackgroundComposerArtifactsResponse (var: ENu) +message ListBackgroundComposerArtifactsResponse { + repeated BackgroundComposerArtifact artifacts = 1; +} + +// Copied from: local:aiserver.v1.ListBackgroundComposerChildrenRequest (var: uFs) +message ListBackgroundComposerChildrenRequest { + string parent_bc_id = 1; +} + +// Copied from: local:aiserver.v1.ListBackgroundComposerChildrenResponse (var: TMu) +message ListBackgroundComposerChildrenResponse { + repeated BackgroundComposer composers = 1; +} + +// Copied from: local:aiserver.v1.ListBackgroundComposerSecretsRequest (var: xhu) +message ListBackgroundComposerSecretsRequest { + bool team_scope = 1; + BackgroundComposerSecretOwner owner = 2; +} + +// Copied from: local:aiserver.v1.ListBackgroundComposerSecretsResponse (var: Thu) +message ListBackgroundComposerSecretsResponse { + // Copied from: local:aiserver.v1.ListBackgroundComposerSecretsResponse.Secret (var: Ahu) + message Secret { + string name = 1; + double created_at = 2; + repeated string scoped_to_repos = 3; + BackgroundComposerSecretLevel level = 4; + int32 id = 5; + BackgroundComposerSecretOwner owner = 6; + } + + repeated Secret secrets = 1; +} + +// Copied from: local:aiserver.v1.ListBackgroundComposerSnapshotStatusesByBcIdsRequest (var: lMu) +message ListBackgroundComposerSnapshotStatusesByBcIdsRequest { + repeated string bc_ids = 1; + optional bool use_primary = 2; +} + +// Copied from: local:aiserver.v1.ListBackgroundComposerSnapshotStatusesByBcIdsResponse (var: dMu) +message ListBackgroundComposerSnapshotStatusesByBcIdsResponse { + repeated BackgroundComposerSnapshotStatusByBcId snapshot_statuses = 1; +} + +// Copied from: local:aiserver.v1.ListBackgroundComposerSnapshotsByBcIdRequest (var: oMu) +message ListBackgroundComposerSnapshotsByBcIdRequest { + string bc_id = 1; + optional bool use_primary = 2; + optional uint32 limit = 3; +} + +// Copied from: local:aiserver.v1.ListBackgroundComposerSnapshotsByBcIdResponse (var: cMu) +message ListBackgroundComposerSnapshotsByBcIdResponse { + repeated BackgroundComposerSnapshotSummary snapshots = 1; +} + +// Copied from: local:aiserver.v1.ListBackgroundComposersRequest (var: X3t) +message ListBackgroundComposersRequest { + int32 n = 1; + bool include_team_wide = 2; + optional string bc_id = 3; + optional string preferred_repo_url = 4; + repeated string additional_repo_urls = 5; + bool include_status = 6; + repeated BackgroundComposerSource include_sources = 7; + optional OwnerFilter owner_filter = 8; + optional double last_message_activity_at_ms_offset = 9; + optional bool include_archived = 10; + optional bool should_include_collaborators = 11; + optional int32 team_id = 12; + repeated BackgroundComposerSource include_hidden_sources = 13; + optional string preferred_workspace_binding_id = 14; + optional bool include_pinned_state = 15; +} + +// Copied from: local:aiserver.v1.ListBackgroundComposersResponse (var: wFs) +message ListBackgroundComposersResponse { + repeated BackgroundComposer composers = 1; + bool did_load_status = 2; + bool has_more = 3; + optional double next_page_offset = 4; + repeated BackgroundComposerParticipant participants = 5; + repeated string pinned_bc_ids = 6; + bool did_load_pinned_state = 7; +} + +// Copied from: local:aiserver.v1.ListBitbucketServerInstancesRequest (var: vlu) +message ListBitbucketServerInstancesRequest { +} + +// Copied from: local:aiserver.v1.ListBitbucketServerInstancesResponse (var: blu) +message ListBitbucketServerInstancesResponse { + // Copied from: local:aiserver.v1.ListBitbucketServerInstancesResponse.BitbucketServerInstance (var: _lu) + message BitbucketServerInstance { + string uuid = 1; + string hostname = 2; + string external_host = 3; + bool can_delete = 4; + bool service_account_token_configured = 5; + string browser_base_url = 6; + string outbound_base_url = 7; + } + + repeated BitbucketServerInstance instances = 1; +} + +// Copied from: local:aiserver.v1.ListBlockingCheckoutInvoicesRequest (var: _wu) +message ListBlockingCheckoutInvoicesRequest { +} + +// Copied from: local:aiserver.v1.ListBlockingCheckoutInvoicesResponse (var: ywu) +message ListBlockingCheckoutInvoicesResponse { + repeated InvoiceInfo invoices = 1; +} + +// Copied from: local:aiserver.v1.ListCloudAgentRunEventsForDashboardRequest (var: BMu) +message ListCloudAgentRunEventsForDashboardRequest { + string bc_id = 1; +} + +// Copied from: local:aiserver.v1.ListCloudAgentRunEventsForDashboardResponse (var: UMu) +message ListCloudAgentRunEventsForDashboardResponse { + repeated CloudAgentRunEvent events = 1; +} + +// Copied from: local:aiserver.v1.ListCloudAgentRunsForDashboardRequest (var: RMu) +message ListCloudAgentRunsForDashboardRequest { + CloudAgentDashboardRunFilter filter = 1; + CloudAgentDashboardRunSort sort = 2; + optional CloudAgentRunsCursor cursor = 3; +} + +// Copied from: local:aiserver.v1.ListCloudAgentRunsForDashboardResponse (var: DMu) +message ListCloudAgentRunsForDashboardResponse { + repeated CloudAgentDashboardRunRow rows = 1; + bool has_more = 2; + optional CloudAgentRunsCursor next_cursor = 3; +} + +// Copied from: local:aiserver.v1.ListContactImportConnectionsRequest (var: bgu) +message ListContactImportConnectionsRequest { +} + +// Copied from: local:aiserver.v1.ListContactImportConnectionsResponse (var: _gu) +message ListContactImportConnectionsResponse { + repeated ContactImportConnectionSummary connections = 1; +} + +// Copied from: local:aiserver.v1.ListContactImportContactsRequest (var: Egu) +message ListContactImportContactsRequest { + int64 connection_id = 1; + optional int32 limit = 2; + optional string normalized_email_query = 3; + optional int64 after_contact_id = 4; +} + +// Copied from: local:aiserver.v1.ListContactImportContactsResponse (var: xgu) +message ListContactImportContactsResponse { + repeated ContactImportContactRow contacts = 1; + int32 total_count = 2; +} + +// Copied from: local:aiserver.v1.ListDataOpsJobsRequest (var: nmv) +message ListDataOpsJobsRequest { + optional int32 limit = 1; + optional string cursor = 2; + optional DataOpsJobDbStatus status = 3; + optional string training_set = 4; + optional string created_by = 5; + optional bool include_hidden = 6; +} + +// Copied from: local:aiserver.v1.ListDataOpsJobsResponse (var: imv) +message ListDataOpsJobsResponse { + repeated DataOpsJobRecord jobs = 1; + optional string next_cursor = 2; +} + +// Copied from: local:aiserver.v1.ListDeeplinksRequest (var: ahv) +message ListDeeplinksRequest { + int32 page_size = 1; + string page_token = 2; +} + +// Copied from: local:aiserver.v1.ListDeeplinksResponse (var: lhv) +message ListDeeplinksResponse { + repeated DeeplinkMetadata deeplinks = 1; + string next_page_token = 2; +} + +// Copied from: local:aiserver.v1.ListDetailedBackgroundComposersRequest (var: CAe) +message ListDetailedBackgroundComposersRequest { + bool include_team_wide = 1; + optional string bc_id = 2; + optional int32 n = 3; + bool include_diff = 4; + optional string cursor = 5; + repeated string bc_ids = 6; + optional OwnerFilter owner_filter = 7; + optional string repo_url_prefix = 8; + optional string pr_url = 9; + optional bool include_archived = 10; +} + +// Copied from: local:aiserver.v1.ListDetailedBackgroundComposersResponse (var: hFs) +message ListDetailedBackgroundComposersResponse { + repeated DetailedBackgroundComposer composers = 1; + repeated BackgroundComposerParticipant participants = 2; +} + +// Copied from: local:aiserver.v1.ListDirParams (var: R_n) +message ListDirParams { + string directory_path = 1; +} + +// Copied from: local:aiserver.v1.ListDirResult (var: D_n) +message ListDirResult { + // Copied from: local:aiserver.v1.ListDirResult.File (var: avs) + message File { + string name = 1; + bool is_directory = 2; + optional int64 size = 3; + optional google.protobuf.Timestamp last_modified = 4; + optional int32 num_children = 5; + optional int32 num_lines = 6; + } + + repeated File files = 1; + string directory_relative_workspace_path = 2; +} + +// Copied from: local:aiserver.v1.ListDirStream (var: cvs) +message ListDirStream { +} + +// Copied from: local:aiserver.v1.ListDirV2Params (var: tFt) +message ListDirV2Params { + string target_directory = 1; + repeated string ignore_globs = 2; + optional bool should_enrich_terminal_metadata = 3; +} + +// Copied from: local:aiserver.v1.ListDirV2Result (var: nFt) +message ListDirV2Result { + // Copied from: local:aiserver.v1.ListDirV2Result.DirectoryTreeNode (var: i1i) + message DirectoryTreeNode { + // Copied from: local:aiserver.v1.ListDirV2Result.DirectoryTreeNode.File (var: y_s) + message File { + string name = 1; + optional TerminalMetadata terminal_metadata = 2; + } + + string abs_path = 1; + repeated ListDirV2Result.DirectoryTreeNode children_dirs = 2; + repeated File children_files = 3; + bool children_were_processed = 4; + map full_subtree_extension_counts = 5; + int32 num_files = 6; + } + + DirectoryTreeNode directory_tree_root = 1; +} + +// Copied from: local:aiserver.v1.ListDirV2Stream (var: S_s) +message ListDirV2Stream { +} + +// Copied from: local:aiserver.v1.ListEnterpriseContractsRequest (var: khv) +message ListEnterpriseContractsRequest { + int32 team_id = 1; + optional int64 organization_id = 2; +} + +// Copied from: local:aiserver.v1.ListEnterpriseContractsResponse (var: Chv) +message ListEnterpriseContractsResponse { + repeated EnterpriseContract contracts = 1; +} + +// Copied from: local:aiserver.v1.ListEnvironmentBuildsRequest (var: y2u) +message ListEnvironmentBuildsRequest { + string environment_public_id = 1; + optional EnvironmentBuildsCursor cursor = 2; +} + +// Copied from: local:aiserver.v1.ListEnvironmentBuildsResponse (var: S2u) +message ListEnvironmentBuildsResponse { + repeated EnvironmentBuildRow rows = 1; + bool has_more = 2; + optional EnvironmentBuildsCursor next_cursor = 3; + optional string latest_boot_build_id = 4; +} + +// Copied from: local:aiserver.v1.ListEnvironmentsRequest (var: WFs) +message ListEnvironmentsRequest { + optional int32 limit = 1; + optional bool include_environment_json = 2; + repeated string repository_scope_repo_urls = 3; + optional bool include_repository_scope_environments = 4; + optional bool include_environments_without_repo_access = 5; +} + +// Copied from: local:aiserver.v1.ListEnvironmentsResponse (var: m2u) +message ListEnvironmentsResponse { + repeated LogicalEnvironment environments = 1; + optional string dashboard_scope_id = 2; +} + +// Copied from: local:aiserver.v1.ListEvalCronJobsRequest (var: Ipv) +message ListEvalCronJobsRequest { +} + +// Copied from: local:aiserver.v1.ListEvalCronJobsResponse (var: Rpv) +message ListEvalCronJobsResponse { + repeated EvalCronJobSummary jobs = 1; +} + +// Copied from: local:aiserver.v1.ListEventSubscriptionsRequest (var: dPu) +message ListEventSubscriptionsRequest { + string named_agent_id = 1; + string bc_id = 2; +} + +// Copied from: local:aiserver.v1.ListEventSubscriptionsResponse (var: hPu) +message ListEventSubscriptionsResponse { + repeated EventSubscription subscriptions = 1; +} + +// Copied from: local:aiserver.v1.ListExperimentalIndexFilesRequest (var: AAl) +message ListExperimentalIndexFilesRequest { + string index_id = 1; +} + +// Copied from: local:aiserver.v1.ListExperimentalIndexFilesResponse (var: IAl) +message ListExperimentalIndexFilesResponse { + string index_id = 1; + repeated IndexFileData files = 2; +} + +// Copied from: local:aiserver.v1.ListFullSelfDrivingActiveAgentsRequest (var: LSu) +message ListFullSelfDrivingActiveAgentsRequest { + optional string search_query = 1; + optional int32 page = 2; + optional int32 page_size = 3; + optional bool archived = 4; + optional string status_visual = 5; +} + +// Copied from: local:aiserver.v1.ListFullSelfDrivingActiveAgentsResponse (var: NSu) +message ListFullSelfDrivingActiveAgentsResponse { + repeated FullSelfDrivingActiveAgent agents = 1; + int32 total_count = 2; +} + +// Copied from: local:aiserver.v1.ListFullSelfDrivingAutoApplyConfigsRequest (var: gsu) +message ListFullSelfDrivingAutoApplyConfigsRequest { + optional string repo_owner = 1; + optional string repo_name = 2; + optional string producer = 3; +} + +// Copied from: local:aiserver.v1.ListFullSelfDrivingAutoApplyConfigsResponse (var: fsu) +message ListFullSelfDrivingAutoApplyConfigsResponse { + repeated FullSelfDrivingAutoApplyConfig configs = 1; +} + +// Copied from: local:aiserver.v1.ListFullSelfDrivingFindingsRequest (var: Iru) +message ListFullSelfDrivingFindingsRequest { + string pr_url = 1; + string bc_id = 2; + optional int32 limit = 3; + bool include_superseded = 4; + repeated string kinds = 5; +} + +// Copied from: local:aiserver.v1.ListFullSelfDrivingFindingsResponse (var: Rru) +message ListFullSelfDrivingFindingsResponse { + repeated FullSelfDrivingFinding findings = 1; +} + +// Copied from: local:aiserver.v1.ListFullSelfDrivingPrScopedSuggestionsRequest (var: ssu) +message ListFullSelfDrivingPrScopedSuggestionsRequest { + string pr_url = 1; + optional int32 limit = 2; + bool include_superseded = 3; + repeated string kinds = 4; +} + +// Copied from: local:aiserver.v1.ListFullSelfDrivingPrScopedSuggestionsResponse (var: osu) +message ListFullSelfDrivingPrScopedSuggestionsResponse { + repeated FullSelfDrivingPrScopedSuggestion suggestions = 1; +} + +// Copied from: local:aiserver.v1.ListFullSelfDrivingRepoSettingsRequest (var: SSu) +message ListFullSelfDrivingRepoSettingsRequest { +} + +// Copied from: local:aiserver.v1.ListFullSelfDrivingRepoSettingsResponse (var: wSu) +message ListFullSelfDrivingRepoSettingsResponse { + repeated FullSelfDrivingRepoSetting repos = 1; +} + +// Copied from: local:aiserver.v1.ListFullSelfDrivingRunsRequest (var: Eru) +message ListFullSelfDrivingRunsRequest { + string pr_url = 1; + optional int32 limit = 2; +} + +// Copied from: local:aiserver.v1.ListFullSelfDrivingRunsResponse (var: Aru) +message ListFullSelfDrivingRunsResponse { + repeated FullSelfDrivingRun runs = 1; +} + +// Copied from: local:aiserver.v1.ListFullSelfDrivingTeamActiveAgentsRequest (var: OSu) +message ListFullSelfDrivingTeamActiveAgentsRequest { + int32 team_id = 1; + optional string search_query = 2; + optional int32 page = 3; + optional int32 page_size = 4; + optional bool archived = 5; +} + +// Copied from: local:aiserver.v1.ListFullSelfDrivingTeamActiveAgentsResponse (var: FSu) +message ListFullSelfDrivingTeamActiveAgentsResponse { + repeated FullSelfDrivingActiveAgent agents = 1; + int32 total_count = 2; +} + +// Copied from: local:aiserver.v1.ListFullSelfDrivingTeamRepoSettingsRequest (var: ISu) +message ListFullSelfDrivingTeamRepoSettingsRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.ListFullSelfDrivingTeamRepoSettingsResponse (var: RSu) +message ListFullSelfDrivingTeamRepoSettingsResponse { + repeated FullSelfDrivingTeamRepoSetting repos = 1; +} + +// Copied from: local:aiserver.v1.ListGithubEnterpriseAppsRequest (var: e2s) +message ListGithubEnterpriseAppsRequest { + optional int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.ListGithubEnterpriseAppsResponse (var: tlu) +message ListGithubEnterpriseAppsResponse { + // Copied from: local:aiserver.v1.ListGithubEnterpriseAppsResponse.GithubEnterpriseApp (var: nlu) + message GithubEnterpriseApp { + string uuid = 1; + string slug = 2; + string hostname = 3; + bool can_delete = 4; + } + + repeated GithubEnterpriseApp apps = 1; + bool can_manage = 2; +} + +// Copied from: local:aiserver.v1.ListGitlabEnterpriseInstancesRequest (var: t2s) +message ListGitlabEnterpriseInstancesRequest { + optional int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.ListGitlabEnterpriseInstancesResponse (var: alu) +message ListGitlabEnterpriseInstancesResponse { + // Copied from: local:aiserver.v1.ListGitlabEnterpriseInstancesResponse.GitlabEnterpriseInstance (var: clu) + message GitlabEnterpriseInstance { + string uuid = 1; + string hostname = 2; + string username = 3; + bool can_delete = 4; + string host_controlled_webhook_url = 5; + string host_controlled_webhook_secret = 6; + bool host_controlled_service_account_token_configured = 7; + optional string external_host = 8; + } + + repeated GitlabEnterpriseInstance instances = 1; +} + +// Copied from: local:aiserver.v1.ListGrindModeComposersRequest (var: HOu) +message ListGrindModeComposersRequest { + int32 limit = 1; +} + +// Copied from: local:aiserver.v1.ListGrindModeComposersResponse (var: zOu) +message ListGrindModeComposersResponse { + repeated BackgroundComposer composers = 1; +} + +// Copied from: local:aiserver.v1.ListInvoiceCyclesRequest (var: umu) +message ListInvoiceCyclesRequest { + optional int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.ListInvoiceCyclesResponse (var: hmu) +message ListInvoiceCyclesResponse { + repeated InvoiceCycle cycles = 1; +} + +// Copied from: local:aiserver.v1.ListInvoicesRequest (var: vwu) +message ListInvoicesRequest { + optional int32 team_id = 1; + optional int32 page = 2; + optional int32 page_size = 3; + optional string status = 4; +} + +// Copied from: local:aiserver.v1.ListInvoicesResponse (var: bwu) +message ListInvoicesResponse { + repeated InvoiceInfo invoices = 1; + int32 total = 2; + int32 total_pages = 3; + optional bool has_more = 4; +} + +// Copied from: local:aiserver.v1.ListJiraUserLinksRequest (var: UIu) +message ListJiraUserLinksRequest { +} + +// Copied from: local:aiserver.v1.ListJiraUserLinksResponse (var: $Iu) +message ListJiraUserLinksResponse { + repeated JiraUserLink links = 1; +} + +// Copied from: local:aiserver.v1.ListJwtPublicKeysRequest (var: huv) +message ListJwtPublicKeysRequest { +} + +// Copied from: local:aiserver.v1.ListJwtPublicKeysResponse (var: muv) +message ListJwtPublicKeysResponse { + repeated JwtPublicKey keys = 1; +} + +// Copied from: local:aiserver.v1.ListKeyringGrantsRequest (var: E3u) +message ListKeyringGrantsRequest { + string keyring_public_id = 1; +} + +// Copied from: local:aiserver.v1.ListKeyringGrantsResponse (var: x3u) +message ListKeyringGrantsResponse { + repeated KeyringGrant grants = 1; +} + +// Copied from: local:aiserver.v1.ListKeyringSecretsRequest (var: f3u) +message ListKeyringSecretsRequest { + string keyring_public_id = 1; +} + +// Copied from: local:aiserver.v1.ListKeyringSecretsResponse (var: v3u) +message ListKeyringSecretsResponse { + repeated KeyringSecret secrets = 1; +} + +// Copied from: local:aiserver.v1.ListKeyringsRequest (var: s3u) +message ListKeyringsRequest { + KeyringListMode mode = 1; +} + +// Copied from: local:aiserver.v1.ListKeyringsResponse (var: o3u) +message ListKeyringsResponse { + repeated Keyring keyrings = 1; +} + +// Copied from: local:aiserver.v1.ListManualEnterpriseContractArchiveRequest (var: Dhv) +message ListManualEnterpriseContractArchiveRequest { + int32 team_id = 1; + optional int64 organization_id = 2; + optional int32 contract_id = 3; +} + +// Copied from: local:aiserver.v1.ListManualEnterpriseContractArchiveResponse (var: Mhv) +message ListManualEnterpriseContractArchiveResponse { + repeated ManualEnterpriseContractArchiveEntry entries = 1; +} + +// Copied from: local:aiserver.v1.ListManualEnterpriseContractsRequest (var: phv) +message ListManualEnterpriseContractsRequest { + int32 team_id = 1; + optional int64 organization_id = 2; +} + +// Copied from: local:aiserver.v1.ListManualEnterpriseContractsResponse (var: mhv) +message ListManualEnterpriseContractsResponse { + repeated EnterpriseContract contracts = 1; +} + +// Copied from: local:aiserver.v1.ListMarketplacePluginsRequest (var: cmt) +message ListMarketplacePluginsRequest { + optional string search = 1; + repeated string tags = 2; + optional int32 page_size = 3; + optional string page_token = 4; + optional int64 marketplace_id = 5; + optional int64 publisher_id = 6; + optional bool skip_team_admin_filter = 7; + optional bool exclude_cloud_agent_plugins = 8; +} + +// Copied from: local:aiserver.v1.ListMarketplacePluginsResponse (var: STu) +message ListMarketplacePluginsResponse { + repeated Plugin plugins = 1; + optional string next_page_token = 2; + bool has_more = 3; +} + +// Copied from: local:aiserver.v1.ListMarketplacesRequest (var: gCn) +message ListMarketplacesRequest { +} + +// Copied from: local:aiserver.v1.ListMarketplacesResponse (var: DAu) +message ListMarketplacesResponse { + repeated Marketplace marketplaces = 1; +} + +// Copied from: agent.v1.ListMcpResourcesError (var: aFl) +message ListMcpResourcesError { + string error = 1; +} + +// Copied from: agent.v1.ListMcpResourcesExecArgs (var: Bxi) +message ListMcpResourcesExecArgs { + optional string server = 1; +} + +// Copied from: agent.v1.ListMcpResourcesExecResult (var: Uxi) +message ListMcpResourcesExecResult { + // Copied from: agent.v1.ListMcpResourcesExecResult.McpResource (var: P0s) + 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:aiserver.v1.ListMcpResourcesParams (var: QOt) +message ListMcpResourcesParams { + optional string server = 1; +} + +// Copied from: agent.v1.ListMcpResourcesRejected (var: cFl) +message ListMcpResourcesRejected { + string reason = 1; +} + +// Copied from: local:aiserver.v1.ListMcpResourcesResult (var: U_n) +message ListMcpResourcesResult { + // Copied from: local:aiserver.v1.ListMcpResourcesResult.MCPResource (var: j0i) + message MCPResource { + string uri = 1; + optional string name = 2; + optional string description = 3; + optional string mime_type = 4; + string server = 5; + map annotations = 6; + } + + repeated MCPResource resources = 1; +} + +// Copied from: local:aiserver.v1.ListMcpResourcesStream (var: C_s) +message ListMcpResourcesStream { +} + +// Copied from: agent.v1.ListMcpResourcesSuccess (var: L0s) +message ListMcpResourcesSuccess { + repeated ListMcpResourcesExecResult.McpResource resources = 1; +} + +// Copied from: local:aiserver.v1.ListMicrosoftTeamsChannelsRequest (var: hTu) +message ListMicrosoftTeamsChannelsRequest { + optional string search = 1; +} + +// Copied from: local:aiserver.v1.ListMicrosoftTeamsChannelsResponse (var: pTu) +message ListMicrosoftTeamsChannelsResponse { + repeated MicrosoftTeamsChannel channels = 1; + bool has_microsoft_teams_auth = 2; +} + +// Copied from: local:aiserver.v1.ListNamedAgentSessionsRequest (var: cPu) +message ListNamedAgentSessionsRequest { + string named_agent_id = 1; + optional int32 page_size = 2; + optional string page_token = 3; +} + +// Copied from: local:aiserver.v1.ListNamedAgentSessionsResponse (var: lPu) +message ListNamedAgentSessionsResponse { + repeated NamedAgentSession sessions = 1; + optional string next_page_token = 2; +} + +// Copied from: local:aiserver.v1.ListNamedAgentsRequest (var: bFs) +message ListNamedAgentsRequest { +} + +// Copied from: local:aiserver.v1.ListNamedAgentsResponse (var: aPu) +message ListNamedAgentsResponse { + repeated NamedAgent agents = 1; +} + +// Copied from: local:aiserver.v1.ListOnboardingChecklistItemsRequest (var: Ufv) +message ListOnboardingChecklistItemsRequest { + OnboardingChecklistSurface surface = 1; +} + +// Copied from: local:aiserver.v1.ListOnboardingChecklistItemsResponse (var: $fv) +message ListOnboardingChecklistItemsResponse { + repeated OnboardingChecklistItem items = 1; +} + +// Copied from: local:aiserver.v1.ListOrganizationApiKeysRequest (var: Kgu) +message ListOrganizationApiKeysRequest { + string organization_id = 1; +} + +// Copied from: local:aiserver.v1.ListOrganizationApiKeysResponse (var: Qgu) +message ListOrganizationApiKeysResponse { + repeated OrganizationApiKey api_keys = 1; +} + +// Copied from: local:aiserver.v1.ListOrganizationGroupTargetMappingsRequest (var: V0u) +message ListOrganizationGroupTargetMappingsRequest { + string organization_id = 1; +} + +// Copied from: local:aiserver.v1.ListOrganizationGroupTargetMappingsResponse (var: G0u) +message ListOrganizationGroupTargetMappingsResponse { + repeated ScimTargetMapping mappings = 1; +} + +// Copied from: local:aiserver.v1.ListOrganizationIdentityProvidersRequest (var: iuu) +message ListOrganizationIdentityProvidersRequest { + string organization_id = 1; +} + +// Copied from: local:aiserver.v1.ListOrganizationIdentityProvidersResponse (var: ruu) +message ListOrganizationIdentityProvidersResponse { + repeated OrganizationIdentityProvider providers = 1; + bool merge_enabled = 2; + bool scim_inside_identity_provider_enabled = 3; +} + +// Copied from: local:aiserver.v1.ListOrganizationMergeIdpRequestsRequest (var: fuu) +message ListOrganizationMergeIdpRequestsRequest { + string organization_id = 1; +} + +// Copied from: local:aiserver.v1.ListOrganizationMergeIdpRequestsResponse (var: vuu) +message ListOrganizationMergeIdpRequestsResponse { + repeated OrganizationMergeIdpRequestInfo requests = 1; +} + +// Copied from: local:aiserver.v1.ListPayableTeamInvoicesRequest (var: Swu) +message ListPayableTeamInvoicesRequest { +} + +// Copied from: local:aiserver.v1.ListPayableTeamInvoicesResponse (var: kwu) +message ListPayableTeamInvoicesResponse { + repeated PayableTeamInvoices teams = 1; +} + +// Copied from: local:aiserver.v1.ListPendingFollowupsRequest (var: pMi) +message ListPendingFollowupsRequest { + string bc_id = 1; +} + +// Copied from: local:aiserver.v1.ListPendingFollowupsResponse (var: dLu) +message ListPendingFollowupsResponse { + repeated PendingFollowup pending_followups = 1; +} + +// Copied from: local:aiserver.v1.ListPendingPrivateWorkerRequestsRequest (var: xFu) +message ListPendingPrivateWorkerRequestsRequest { + int32 page_size = 1; + optional string page_token = 2; + optional string repository = 3; +} + +// Copied from: local:aiserver.v1.ListPendingPrivateWorkerRequestsResponse (var: TFu) +message ListPendingPrivateWorkerRequestsResponse { + repeated PendingPrivateWorkerRequest requests = 1; + string next_page_token = 2; + int32 total_count = 3; +} + +// Copied from: local:aiserver.v1.ListPendingUserAccessRequestsRequest (var: d_u) +message ListPendingUserAccessRequestsRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.ListPendingUserAccessRequestsResponse (var: p_u) +message ListPendingUserAccessRequestsResponse { + repeated PendingUserAccessRequest requests = 1; +} + +// Copied from: local:aiserver.v1.ListPersonalEnvironmentsRequest (var: n2u) +message ListPersonalEnvironmentsRequest { + optional int32 limit = 1; +} + +// Copied from: local:aiserver.v1.ListPersonalEnvironmentsResponse (var: r2u) +message ListPersonalEnvironmentsResponse { + repeated PersonalEnvironment environments = 1; +} + +// Copied from: local:aiserver.v1.ListPrCodeTourRevisionsRequest (var: SMu) +message ListPrCodeTourRevisionsRequest { + string bc_id = 1; + optional bool include_markdown = 2; + optional string head_sha = 3; +} + +// Copied from: local:aiserver.v1.ListPrCodeTourRevisionsResponse (var: CMu) +message ListPrCodeTourRevisionsResponse { + repeated PrCodeTourRevisionInfo revisions = 1; +} + +// Copied from: local:aiserver.v1.ListPrivateWorkerPoolsRequest (var: PFu) +message ListPrivateWorkerPoolsRequest { + PrivateWorkerListScope list_scope = 1; + bool include_stale = 2; +} + +// Copied from: local:aiserver.v1.ListPrivateWorkerPoolsResponse (var: LFu) +message ListPrivateWorkerPoolsResponse { + repeated PrivateWorkerPool pools = 1; +} + +// Copied from: local:aiserver.v1.ListPrivateWorkersRequest (var: wFu) +message ListPrivateWorkersRequest { + PrivateWorkerStatusFilter status_filter = 1; + int32 page_size = 2; + optional string page_token = 3; + PrivateWorkerListScope list_scope = 4; +} + +// Copied from: local:aiserver.v1.ListPrivateWorkersResponse (var: kFu) +message ListPrivateWorkersResponse { + repeated PrivateWorker workers = 1; + string next_page_token = 2; + int32 total_count = 3; +} + +// Copied from: local:aiserver.v1.ListRecommendedActionsRequest (var: Yfv) +message ListRecommendedActionsRequest { + RecommendedActionSurface surface = 1; + RecommendedActionOwnerScope owner_scope = 2; +} + +// Copied from: local:aiserver.v1.ListRecommendedActionsResponse (var: Zfv) +message ListRecommendedActionsResponse { + repeated RecommendedAction actions = 1; +} + +// Copied from: local:aiserver.v1.ListRelayBackfillsRequest (var: Ovv) +message ListRelayBackfillsRequest { + optional string pipeline_name = 1; + optional string pipeline_version = 2; + optional RelayBackfillStatus status = 3; + optional string page_token = 4; + int32 page_size = 5; +} + +// Copied from: local:aiserver.v1.ListRelayBackfillsResponse (var: Fvv) +message ListRelayBackfillsResponse { + repeated RelayBackfillRecord backfills = 1; + optional string next_page_token = 2; +} + +// Copied from: local:aiserver.v1.ListRelayPipelineDefinitionsRequest (var: cvv) +message ListRelayPipelineDefinitionsRequest { +} + +// Copied from: local:aiserver.v1.ListRelayPipelineDefinitionsResponse (var: lvv) +message ListRelayPipelineDefinitionsResponse { + repeated RelayPipelineDefinitionSummary definitions = 1; +} + +// Copied from: local:aiserver.v1.ListRelayPipelineRunsRequest (var: bvv) +message ListRelayPipelineRunsRequest { + optional string pipeline_name = 1; + optional string pipeline_version = 2; + optional RelayPipelineRunStatus status = 3; + optional RelayRunKind run_kind = 4; + optional string created_by = 5; + optional string page_token = 6; + int32 page_size = 7; + optional string schedule_id = 8; + optional string backfill_id = 9; +} + +// Copied from: local:aiserver.v1.ListRelayPipelineRunsResponse (var: _vv) +message ListRelayPipelineRunsResponse { + repeated RelayPipelineRunRecord runs = 1; + optional string next_page_token = 2; +} + +// Copied from: local:aiserver.v1.ListRelaySchedulesRequest (var: xvv) +message ListRelaySchedulesRequest { + optional string pipeline_name = 1; + optional string pipeline_version = 2; + optional bool enabled = 3; +} + +// Copied from: local:aiserver.v1.ListRelaySchedulesResponse (var: Tvv) +message ListRelaySchedulesResponse { + repeated RelayScheduleRecord schedules = 1; +} + +// Copied from: local:aiserver.v1.ListReposWithLocalEnvironmentRequest (var: lNu) +message ListReposWithLocalEnvironmentRequest { +} + +// Copied from: local:aiserver.v1.ListReposWithLocalEnvironmentResponse (var: dNu) +message ListReposWithLocalEnvironmentResponse { + repeated RepoWithLocalEnvironment repos = 1; +} + +// Copied from: local:aiserver.v1.ListRlEvalJobsRequest (var: Fpv) +message ListRlEvalJobsRequest { + optional int32 limit = 1; + optional string cursor = 2; + optional RlEvalJobDbStatus status = 3; + optional string experiment_name = 4; + optional string config_name = 5; + optional string created_by = 6; +} + +// Copied from: local:aiserver.v1.ListRlEvalJobsResponse (var: Bpv) +message ListRlEvalJobsResponse { + repeated RlEvalJobRecord jobs = 1; + optional string next_cursor = 2; +} + +// Copied from: local:aiserver.v1.ListSandAutomationsRequest (var: YWu) +message ListSandAutomationsRequest { + string sand_agent_id = 1; +} + +// Copied from: local:aiserver.v1.ListSandBankedResetsRequest (var: i_u) +message ListSandBankedResetsRequest { +} + +// Copied from: local:aiserver.v1.ListSandBankedResetsResponse (var: s_u) +message ListSandBankedResetsResponse { + repeated SandBankedReset resets = 1; +} + +// Copied from: local:aiserver.v1.ListSandBoxStoreObjectsRequest (var: HKd) +message ListSandBoxStoreObjectsRequest { + string prefix = 1; + string cursor = 2; + int32 max_entries = 3; +} + +// Copied from: local:aiserver.v1.ListSandBoxStoreObjectsResponse (var: zKd) +message ListSandBoxStoreObjectsResponse { + repeated SandBoxStoreObjectEntry entries = 1; + string next_cursor = 2; + bool truncated = 3; +} + +// Copied from: local:aiserver.v1.ListSandBoxesRequest (var: RKd) +message ListSandBoxesRequest { +} + +// Copied from: local:aiserver.v1.ListSandBoxesResponse (var: DKd) +message ListSandBoxesResponse { + repeated SandBoxDescriptor boxes = 1; +} + +// Copied from: local:aiserver.v1.ListSandMcpToolsRequest (var: hpu) +message ListSandMcpToolsRequest { + repeated string server_identifiers = 1; +} + +// Copied from: local:aiserver.v1.ListSandMcpToolsResponse (var: ppu) +message ListSandMcpToolsResponse { + // Copied from: local:aiserver.v1.ListSandMcpToolsResponse.Server (var: mpu) + message Server { + string server_identifier = 1; + string status = 2; + repeated McpToolDefinition tools = 3; + string account_label = 4; + string row_server_identifier = 5; + } + + repeated Server servers = 1; +} + +// Copied from: local:aiserver.v1.ListSandSetupManifestsRequest (var: Nqd) +message ListSandSetupManifestsRequest { +} + +// Copied from: local:aiserver.v1.ListSandSetupManifestsResponse (var: Oqd) +message ListSandSetupManifestsResponse { + uint32 schema_version = 1; + repeated SandAssignedSetupManifest manifests = 2; +} + +// Copied from: local:aiserver.v1.ListScimDirectoriesRequest (var: BNs) +message ListScimDirectoriesRequest { + string organization_id = 1; +} + +// Copied from: local:aiserver.v1.ListScimDirectoriesResponse (var: L0u) +message ListScimDirectoriesResponse { + repeated ScimDirectory directories = 1; + bool multi_source_enabled = 2; +} + +// Copied from: local:aiserver.v1.ListScimGroupsFromUpstreamRequest (var: j0u) +message ListScimGroupsFromUpstreamRequest { + string organization_id = 1; + int64 scim_directory_id = 2; +} + +// Copied from: local:aiserver.v1.ListScimGroupsFromUpstreamResponse (var: W0u) +message ListScimGroupsFromUpstreamResponse { + repeated ScimUpstreamGroup groups = 1; +} + +// Copied from: local:aiserver.v1.ListScimTargetMappingsRequest (var: H0u) +message ListScimTargetMappingsRequest { + string organization_id = 1; + int64 scim_directory_id = 2; +} + +// Copied from: local:aiserver.v1.ListScimTargetMappingsResponse (var: z0u) +message ListScimTargetMappingsResponse { + repeated ScimTargetMapping mappings = 1; +} + +// Copied from: local:aiserver.v1.ListSharedAgentStoresRequest (var: n3u) +message ListSharedAgentStoresRequest { + int32 limit = 1; + optional double created_before_ms = 2; + optional int32 owning_user_id = 3; + optional string search_query = 4; + optional ListSharedAgentStoresScope scope = 5; + optional string created_before_share_id = 6; +} + +// Copied from: local:aiserver.v1.ListSharedAgentStoresResponse (var: r3u) +message ListSharedAgentStoresResponse { + repeated SharedAgentStoreListing listings = 1; + bool has_more = 2; + optional double next_created_before_ms = 3; + optional string next_created_before_share_id = 4; +} + +// Copied from: local:aiserver.v1.ListSharedAgentStoresScope (var: yDu) +enum ListSharedAgentStoresScope { + LIST_SHARED_AGENT_STORES_SCOPE_UNSPECIFIED = 0; + LIST_SHARED_AGENT_STORES_SCOPE_MINE = 1; + LIST_SHARED_AGENT_STORES_SCOPE_TEAM = 2; +} + +// Copied from: local:aiserver.v1.ListSharedBackgroundComposerArtifactsRequest (var: LNu) +message ListSharedBackgroundComposerArtifactsRequest { + string bc_id = 1; +} + +// Copied from: local:aiserver.v1.ListSharedBackgroundComposerArtifactsResponse (var: NNu) +message ListSharedBackgroundComposerArtifactsResponse { + repeated BackgroundComposerSharedArtifact artifacts = 1; +} + +// Copied from: local:aiserver.v1.ListSharedCanvasesRequest (var: hxu) +message ListSharedCanvasesRequest { + optional uint32 limit = 1; + optional string created_before = 2; + optional string creator_id = 3; + optional string team_id = 4; +} + +// Copied from: local:aiserver.v1.ListSharedCanvasesResponse (var: pxu) +message ListSharedCanvasesResponse { + repeated SharedCanvasMetadata canvases = 1; + bool has_more = 2; +} + +// Copied from: local:aiserver.v1.ListSharedConversationsRequest (var: tOs) +message ListSharedConversationsRequest { + optional SharedConversationVisibility visibility = 1; + optional int32 creator_id = 2; + optional string created_before = 3; + repeated SharedConversationVisibility visibilities = 4; + optional int32 team_id = 5; + optional string conversation_id = 6; +} + +// Copied from: local:aiserver.v1.ListSharedConversationsResponse (var: bxu) +message ListSharedConversationsResponse { + repeated SharedConversationMetadata shares = 1; + bool has_more = 2; +} + +// Copied from: local:aiserver.v1.ListSlackConversationsRequest (var: uTu) +message ListSlackConversationsRequest { + optional string search = 1; + optional bool include_private = 2; + optional bool skip_cache = 3; + optional bool allow_partial = 4; +} + +// Copied from: local:aiserver.v1.ListSlackConversationsResponse (var: dTu) +message ListSlackConversationsResponse { + repeated SlackConversation conversations = 1; + bool has_slack_auth = 2; + bool is_partial = 3; +} + +// Copied from: local:aiserver.v1.ListTeamApiKeysRequest (var: jgu) +message ListTeamApiKeysRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.ListTeamApiKeysResponse (var: Wgu) +message ListTeamApiKeysResponse { + repeated ApiKey api_keys = 1; +} + +// Copied from: local:aiserver.v1.ListTeamAvailableMarketplacePluginsRequest (var: wAu) +message ListTeamAvailableMarketplacePluginsRequest { + int32 team_id = 1; + optional string search = 2; + optional int32 page_size = 3; + optional string page_token = 4; + optional bool sort_by_team_popularity = 5; + optional int32 offset = 6; +} + +// Copied from: local:aiserver.v1.ListTeamAvailableMarketplacePluginsResponse (var: kAu) +message ListTeamAvailableMarketplacePluginsResponse { + repeated Plugin plugins = 1; + optional string next_page_token = 2; + bool has_more = 3; + optional int32 total_count = 4; +} + +// Copied from: local:aiserver.v1.ListTeamEnvironmentsRequest (var: d2u) +message ListTeamEnvironmentsRequest { + optional int32 limit = 1; +} + +// Copied from: local:aiserver.v1.ListTeamEnvironmentsResponse (var: p2u) +message ListTeamEnvironmentsResponse { + repeated TeamEnvironment environments = 1; + bool has_environments_hidden_by_repo_access = 2; +} + +// Copied from: local:aiserver.v1.ListTeamGroupScimDirectoriesRequest (var: phu) +message ListTeamGroupScimDirectoriesRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.ListTeamGroupScimDirectoriesResponse (var: mhu) +message ListTeamGroupScimDirectoriesResponse { + repeated ScimDirectory directories = 1; +} + +// Copied from: local:aiserver.v1.ListTeamGroupScimGroupsFromUpstreamRequest (var: ghu) +message ListTeamGroupScimGroupsFromUpstreamRequest { + int32 team_id = 1; + int64 scim_directory_id = 2; +} + +// Copied from: local:aiserver.v1.ListTeamGroupScimGroupsFromUpstreamResponse (var: fhu) +message ListTeamGroupScimGroupsFromUpstreamResponse { + repeated ScimUpstreamGroup groups = 1; +} + +// Copied from: local:aiserver.v1.ListTeamGroupScimTargetMappingsRequest (var: vhu) +message ListTeamGroupScimTargetMappingsRequest { + int32 team_id = 1; + string group_public_id = 2; +} + +// Copied from: local:aiserver.v1.ListTeamGroupScimTargetMappingsResponse (var: bhu) +message ListTeamGroupScimTargetMappingsResponse { + repeated ScimTargetMapping mappings = 1; +} + +// Copied from: local:aiserver.v1.ListTeamInviteLinksRequest (var: cwu) +message ListTeamInviteLinksRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.ListTeamInviteLinksResponse (var: uwu) +message ListTeamInviteLinksResponse { + repeated InviteLinkInfo invite_links = 1; +} + +// Copied from: local:aiserver.v1.ListTeamMemberSandBoxesRequest (var: zqd) +message ListTeamMemberSandBoxesRequest { + int32 team_id = 1; + int32 user_id = 2; +} + +// Copied from: local:aiserver.v1.ListTeamMemberSandBoxesResponse (var: Vqd) +message ListTeamMemberSandBoxesResponse { + int32 user_id = 1; + string email = 2; + string name = 3; + repeated TeamMemberSandBoxPod boxes = 4; + bool scan_incomplete = 5; +} + +// Copied from: local:aiserver.v1.ListTeamPluginInstallsRequest (var: gOs) +message ListTeamPluginInstallsRequest { + int32 team_id = 1; + optional bool use_replica = 2; +} + +// Copied from: local:aiserver.v1.ListTeamPluginInstallsResponse (var: vAu) +message ListTeamPluginInstallsResponse { + repeated TeamPluginInstall installs = 1; +} + +// Copied from: local:aiserver.v1.ListTeamSandSetupManifestsRequest (var: Bqd) +message ListTeamSandSetupManifestsRequest { +} + +// Copied from: local:aiserver.v1.ListTeamSandSetupManifestsResponse (var: Uqd) +message ListTeamSandSetupManifestsResponse { + string team_id = 1; + bool can_manage = 2; + repeated SandTeamSetupManifest manifests = 3; +} + +// Copied from: local:aiserver.v1.ListTeamServiceAccountsRequest (var: Xgu) +message ListTeamServiceAccountsRequest { + int32 team_id = 1; + optional bool include_archived = 2; +} + +// Copied from: local:aiserver.v1.ListTeamServiceAccountsResponse (var: Jgu) +message ListTeamServiceAccountsResponse { + repeated ServiceAccountInfo service_accounts = 1; +} + +// Copied from: local:aiserver.v1.ListUsageAlertsRequest (var: Jxu) +message ListUsageAlertsRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.ListUsageAlertsResponse (var: eTu) +message ListUsageAlertsResponse { + repeated UsageAlert alerts = 1; +} + +// Copied from: local:aiserver.v1.ListUserApiKeysRequest (var: gfu) +message ListUserApiKeysRequest { +} + +// Copied from: local:aiserver.v1.ListUserApiKeysResponse (var: ffu) +message ListUserApiKeysResponse { + repeated ApiKey api_keys = 1; +} + +// Copied from: local:aiserver.v1.ListUserPluginInstallsRequest (var: zDi) +message ListUserPluginInstallsRequest { + optional bool use_replica = 1; +} + +// Copied from: local:aiserver.v1.ListUserPluginInstallsResponse (var: pAu) +message ListUserPluginInstallsResponse { + repeated UserPluginInstall installs = 1; +} + +// Copied from: local:aiserver.v1.ListWorkersForManagerRequest (var: WDu) +message ListWorkersForManagerRequest { + string manager_bc_id = 1; +} + +// Copied from: local:aiserver.v1.ListWorkersForManagerResponse (var: zDu) +message ListWorkersForManagerResponse { + repeated WorkerManagerMembership memberships = 1; +} + +// Copied from: local:aiserver.v1.ListWorkflowTemplatesRequest (var: VHu) +message ListWorkflowTemplatesRequest { + optional string category = 1; +} + +// Copied from: local:aiserver.v1.ListWorkflowTemplatesResponse (var: GHu) +message ListWorkflowTemplatesResponse { + repeated WorkflowTemplate templates = 1; +} + +// Copied from: local:aiserver.v1.ListWorkspaceFilesRequest (var: ULu) +message ListWorkspaceFilesRequest { + string bc_id = 1; +} + +// Copied from: local:aiserver.v1.ListWorkspaceFilesResponse (var: $Lu) +message ListWorkspaceFilesResponse { + repeated string relative_paths = 1; +} + +// Copied from: local:aiserver.v1.ListXaiCreditTransfersRequest (var: zku) +message ListXaiCreditTransfersRequest { + string organization_id = 1; + int32 page_size = 2; +} + +// Copied from: local:aiserver.v1.ListXaiCreditTransfersResponse (var: Gku) +message ListXaiCreditTransfersResponse { + repeated XaiCreditTransfer transfers = 1; +} + +// Copied from: local:aiserver.v1.ListenExperimentalIndexRequest (var: cfs) +message ListenExperimentalIndexRequest { + string index_id = 1; +} + +// Copied from: local:aiserver.v1.ListenExperimentalIndexResponse (var: RAl) +message ListenExperimentalIndexResponse { + // Copied from: local:aiserver.v1.ListenExperimentalIndexResponse.ChooseItem (var: PAl) + message ChooseItem { + ChooseCodeReferencesResponse response = 1; + ChooseCodeReferencesRequest request = 2; + string req_uuid = 3; + } + + // Copied from: local:aiserver.v1.ListenExperimentalIndexResponse.ErrorItem (var: NAl) + message ErrorItem { + string message = 1; + int32 status_code = 2; + string req_uuid = 6; + oneof request { + RegisterFileToIndexRequest register = 3; + ChooseCodeReferencesRequest choose = 4; + SummarizeWithReferencesRequest summarize = 5; + } + } + + // Copied from: local:aiserver.v1.ListenExperimentalIndexResponse.ReadyItem (var: DAl) + message ReadyItem { + string index_id = 1; + ListenExperimentalIndexRequest request = 2; + } + + // Copied from: local:aiserver.v1.ListenExperimentalIndexResponse.RegisterItem (var: MAl) + message RegisterItem { + RegisterFileToIndexResponse response = 1; + RegisterFileToIndexRequest request = 2; + string req_uuid = 3; + } + + // Copied from: local:aiserver.v1.ListenExperimentalIndexResponse.SummarizeItem (var: LAl) + message SummarizeItem { + SummarizeWithReferencesResponse response = 1; + SummarizeWithReferencesRequest request = 2; + string req_uuid = 3; + } + + string index_id = 1; + oneof item { + ReadyItem ready = 2; + RegisterItem register = 3; + ChooseItem choose = 4; + SummarizeItem summarize = 5; + ErrorItem error = 6; + } +} + +// Copied from: local:aiserver.v1.LiveActivityAgentEntry (var: xOu) +message LiveActivityAgentEntry { + string bc_id = 1; + string title = 2; + BackgroundComposerStatus status = 3; + int64 started_at_epoch_seconds = 4; + optional string repo_label = 5; + optional string branch_name = 6; + optional int64 finished_at_epoch_seconds = 7; + optional string result_type = 8; + optional int32 lines_added = 9; + optional int32 lines_removed = 10; + optional int32 changed_files = 11; +} + +// Copied from: local:aiserver.v1.LiveActivityContentState (var: TOu) +message LiveActivityContentState { + repeated LiveActivityAgentEntry agents = 1; +} + +// Copied from: local:aiserver.v1.LiveEgressReapplyResult (var: jFs) +message LiveEgressReapplyResult { + // Copied from: local:aiserver.v1.LiveEgressReapplyResult.Outcome (var: QLu) + enum Outcome { + OUTCOME_UNSPECIFIED = 0; + OUTCOME_APPLIED = 1; + OUTCOME_NOT_APPLICABLE = 2; + OUTCOME_STORED_NOT_APPLIED = 3; + OUTCOME_FAILED = 4; + } + + Outcome outcome = 1; +} + +// Copied from: local:aiserver.v1.LlmGatewayAuthMode (var: wcu) +enum LlmGatewayAuthMode { + LLM_GATEWAY_AUTH_MODE_UNSPECIFIED = 0; + LLM_GATEWAY_AUTH_MODE_JWT_ACCESS = 1; + LLM_GATEWAY_AUTH_MODE_CUSTOMER_MANAGED = 2; +} + +// Copied from: local:aiserver.v1.LlmGatewayCredentialSourceStrategy (var: kcu) +enum LlmGatewayCredentialSourceStrategy { + LLM_GATEWAY_CREDENTIAL_SOURCE_STRATEGY_UNSPECIFIED = 0; + LLM_GATEWAY_CREDENTIAL_SOURCE_STRATEGY_TEAM_CREDENTIAL_ALL_SURFACES = 1; + LLM_GATEWAY_CREDENTIAL_SOURCE_STRATEGY_CLIENT_LOCAL_TEAM_CLOUD = 2; +} + +// Copied from: local:aiserver.v1.LlmGatewayRoutedModelEntry (var: _bu) +message LlmGatewayRoutedModelEntry { + bool enabled = 1; +} + +// Copied from: local:aiserver.v1.LlmGatewayRouting (var: vbu) +message LlmGatewayRouting { + map providers = 1; +} + +// Copied from: local:aiserver.v1.LlmGatewayRoutingProviderEntry (var: bbu) +message LlmGatewayRoutingProviderEntry { + bool enabled = 1; + map models = 2; +} + +// Copied from: local:aiserver.v1.LlmGatewaySettings (var: uNs) +message LlmGatewaySettings { + bool enabled = 1; + map endpoints = 2; + string audience = 3; + LlmGatewayRouting routing = 4; + bool can_enable = 5; + LlmGatewayAuthMode auth_mode = 6; + LlmGatewayTeamCredentialStatus team_credential_status = 7; + LlmGatewayCredentialSourceStrategy credential_source_strategy = 8; +} + +// Copied from: local:aiserver.v1.LlmGatewayTeamCredentialStatus (var: cbu) +message LlmGatewayTeamCredentialStatus { + bool configured = 1; +} + +// Copied from: local:aiserver.v1.LocalCodebaseFileInfo (var: ffs) +message LocalCodebaseFileInfo { + string encrypted_relative_path = 1; + string hash = 2; + repeated LocalCodebaseFileInfo children = 3; + optional string separator = 4; +} + +// Copied from: local:aiserver.v1.LocalToolControls (var: oNs) +message LocalToolControls { + LocalToolPermissionCeiling permission_ceiling = 1; +} + +// Copied from: local:aiserver.v1.LocalToolPermissionCeiling (var: ycu) +enum LocalToolPermissionCeiling { + LOCAL_TOOL_PERMISSION_CEILING_UNSPECIFIED = 0; + LOCAL_TOOL_PERMISSION_CEILING_NEVER = 1; + LOCAL_TOOL_PERMISSION_CEILING_ASK = 2; + LOCAL_TOOL_PERMISSION_CEILING_ALWAYS = 3; +} + +// Copied from: local:aiserver.v1.LogClickedConnectSlackRequest (var: zCu) +message LogClickedConnectSlackRequest { + // Copied from: local:aiserver.v1.LogClickedConnectSlackRequest.Origin (var: VCu) + enum Origin { + ORIGIN_UNSPECIFIED = 0; + ORIGIN_APP = 1; + ORIGIN_WEBSITE = 2; + ORIGIN_SLACK = 3; + ORIGIN_PUBLIC_URL = 4; + } + + Origin origin = 1; + bool skip_setup_flow = 2; +} + +// Copied from: local:aiserver.v1.LogClickedConnectSlackResponse (var: GCu) +message LogClickedConnectSlackResponse { +} + +// Copied from: local:aiserver.v1.LogDeeplinkEventRequest (var: P6l) +message LogDeeplinkEventRequest { + int32 user_id = 1; + string bug_id = 2; + optional int64 comment_id = 3; + BugbotDeeplinkEventKind event = 4; +} + +// Copied from: local:aiserver.v1.LogDeeplinkEventResponse (var: L6l) +message LogDeeplinkEventResponse { + bool success = 1; +} + +// Copied from: local:aiserver.v1.LogEntry (var: O_v) +message LogEntry { + google.protobuf.Timestamp log_timestamp = 1; + LogLevel log_level = 2; + string log_data = 3; + map context = 4; +} + +// Copied from: local:aiserver.v1.LogFile (var: eRs) +message LogFile { + string relative_path_to_cursor_folder = 1; + string contents = 2; +} + +// Copied from: local:aiserver.v1.LogLevel (var: Zbv) +enum LogLevel { + LOG_LEVEL_UNSPECIFIED = 0; + LOG_LEVEL_INFO = 1; + LOG_LEVEL_DEBUG = 2; + LOG_LEVEL_WARN = 3; + LOG_LEVEL_ERROR = 4; + LOG_LEVEL_FATAL = 5; +} + +// Copied from: local:aiserver.v1.LogLinterExplicitUserFeedbackRequest (var: nql) +message LogLinterExplicitUserFeedbackRequest { + // Copied from: local:aiserver.v1.LogLinterExplicitUserFeedbackRequest.LinterUserFeedback (var: iql) + enum LinterUserFeedback { + LINTER_USER_FEEDBACK_UNSPECIFIED = 0; + LINTER_USER_FEEDBACK_CORRECT = 1; + LINTER_USER_FEEDBACK_INCORRECT = 2; + LINTER_USER_FEEDBACK_OTHER = 3; + } + + AiLintBug bug = 1; + LinterUserFeedback user_feedback = 3; + string user_feedback_details = 4; +} + +// Copied from: local:aiserver.v1.LogLinterExplicitUserFeedbackResponse (var: rql) +message LogLinterExplicitUserFeedbackResponse { +} + +// Copied from: local:aiserver.v1.LogRunMetricsRequest (var: ipv) +message LogRunMetricsRequest { + string run_id = 1; + repeated RunMetricItem metrics = 2; +} + +// Copied from: local:aiserver.v1.LogRunMetricsResponse (var: rpv) +message LogRunMetricsResponse { + int32 count = 1; +} + +// Copied from: local:aiserver.v1.LogSlackbotAuthConversionFunnelRequest (var: WCu) +message LogSlackbotAuthConversionFunnelRequest { + map checkpoints = 1; + optional PrivacyMode privacy_mode = 2; + bool is_team_admin = 3; + bool is_loading = 4; + bool is_privacy_mode_loading = 5; + bool is_github_loading = 6; + bool is_usage_pricing_loading = 7; + bool triggered_by_github_connect = 8; + optional string scm_provider = 9; +} + +// Copied from: local:aiserver.v1.LogSlackbotAuthConversionFunnelResponse (var: HCu) +message LogSlackbotAuthConversionFunnelResponse { +} + +// Copied from: local:aiserver.v1.LogUserLintReplyRequest (var: eql) +message LogUserLintReplyRequest { + string uuid = 1; + string user_action = 2; + bool debug_mode = 3; +} + +// Copied from: local:aiserver.v1.LogUserLintReplyResponse (var: tql) +message LogUserLintReplyResponse { +} + +// Copied from: local:aiserver.v1.LogWhenTabTurnsOffRequest (var: pdv) +message LogWhenTabTurnsOffRequest { + string stack_trace = 1; +} + +// Copied from: local:aiserver.v1.LogWhenTabTurnsOffResponse (var: wqd) +message LogWhenTabTurnsOffResponse { +} + +// Copied from: local:aiserver.v1.LogicalEnvironment (var: kBe) +message LogicalEnvironment { + int64 id = 1; + string public_id = 2; + string name = 3; + LogicalEnvironmentScope scope = 4; + optional int32 owning_team = 5; + optional int32 owning_user = 6; + optional EnvironmentRepoConfig repo_config = 7; + int64 created_at_ms = 8; + int64 updated_at_ms = 9; + optional string environment_json = 10; + optional string latest_environment_version_public_id = 11; +} + +// Copied from: local:aiserver.v1.LogicalEnvironmentScope (var: yCn) +enum LogicalEnvironmentScope { + LOGICAL_ENVIRONMENT_SCOPE_UNSPECIFIED = 0; + LOGICAL_ENVIRONMENT_SCOPE_PERSONAL = 1; + LOGICAL_ENVIRONMENT_SCOPE_TEAM = 2; + LOGICAL_ENVIRONMENT_SCOPE_REPOSITORY = 3; +} + +// Copied from: local:aiserver.v1.LoginRequest (var: lt) +message LoginRequest { +} + +// Copied from: local:aiserver.v1.LoginResponse (var: ut) +message LoginResponse { + string login_url = 1; +} + +// Copied from: local:aiserver.v1.LogoutRequest (var: Ye) +message LogoutRequest { +} + +// Copied from: local:aiserver.v1.LogoutResponse (var: Ke) +message LogoutResponse { + // Copied from: local:aiserver.v1.LogoutResponse.Status (var: S) + enum Status { + STATUS_UNSPECIFIED = 0; + STATUS_SUCCESS = 1; + STATUS_FAILURE = 2; + STATUS_NOT_LOGGED_IN = 3; + } + + Status status = 1; +} + +// Copied from: local:aiserver.v1.LogprobsLintPayload (var: wWl) +message LogprobsLintPayload { + string chunk = 1; + string problematic_line = 2; + int32 start_col = 3; + int32 end_col = 4; + string most_likely_replace = 5; + int32 line_chunk_index_zero_based = 6; +} + +// Copied from: local:aiserver.v1.LookupSharedCanvasByKeyRequest (var: XNs) +message LookupSharedCanvasByKeyRequest { + string canvas_key = 1; +} + +// Copied from: local:aiserver.v1.LookupSharedCanvasByKeyResponse (var: gxu) +message LookupSharedCanvasByKeyResponse { + optional string share_id = 1; + optional SharedCanvasVisibility visibility = 2; + optional string share_url = 3; + optional string updated_at = 4; +} + +// Copied from: agent.v1.LsArgs (var: FOt) +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: agent.v1.LsDirectoryTreeNode (var: BOt) +message LsDirectoryTreeNode { + // Copied from: agent.v1.LsDirectoryTreeNode.File (var: FRl) + 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: agent.v1.LsError (var: y_n) +message LsError { + string path = 1; + string error = 2; +} + +// Copied from: agent.v1.LsRejected (var: BRl) +message LsRejected { + string path = 1; + string reason = 2; +} + +// Copied from: agent.v1.LsResult (var: aht) +message LsResult { + oneof result { + LsSuccess success = 1; + LsError error = 2; + LsRejected rejected = 3; + LsTimeout timeout = 4; + } +} + +// Copied from: agent.v1.LsSuccess (var: ORl) +message LsSuccess { + LsDirectoryTreeNode directory_tree_root = 1; +} + +// Copied from: agent.v1.LsTimeout (var: URl) +message LsTimeout { + LsDirectoryTreeNode directory_tree_root = 1; +} + +// Copied from: local:aiserver.v1.LspSubgraphContextItem (var: T8l) +message LspSubgraphContextItem { + optional string uri = 1; + string type = 2; + string content = 3; + optional LspSubgraphRange range = 4; +} + +// Copied from: local:aiserver.v1.LspSubgraphFullContext (var: lAi) +message LspSubgraphFullContext { + string uri = 1; + string symbol_name = 2; + repeated LspSubgraphPosition positions = 3; + repeated LspSubgraphContextItem context_items = 4; + float score = 5; +} + +// Copied from: local:aiserver.v1.LspSubgraphPosition (var: E8l) +message LspSubgraphPosition { + int32 line = 1; + int32 character = 2; +} + +// Copied from: local:aiserver.v1.LspSubgraphRange (var: x8l) +message LspSubgraphRange { + int32 start_line = 1; + int32 start_character = 2; + int32 end_line = 3; + int32 end_character = 4; +} + +// Copied from: local:aiserver.v1.LspSuggestedItems (var: z8l) +message LspSuggestedItems { + repeated LspSuggestion suggestions = 1; +} + +// Copied from: local:aiserver.v1.LspSuggestion (var: H8l) +message LspSuggestion { + string label = 1; +} + +// Copied from: local:aiserver.v1.LspSuggestionEvent (var: I7l) +message LspSuggestionEvent { + repeated string suggestions = 1; + optional string request_id = 2; + optional string editor_id = 3; + PointInTimeModel point_in_time_model = 4; +} + +// Copied from: local:aiserver.v1.MCPControls (var: W2s) +message MCPControls { + bool enabled = 1; + repeated string allowed_tools = 2; +} + +// Copied from: local:aiserver.v1.MCPInstructions (var: Zbc) +message MCPInstructions { + string server_name = 1; + string server_identifier = 2; + string instructions = 3; +} + +// Copied from: local:aiserver.v1.MCPKnownServerInfo (var: DLs) +message MCPKnownServerInfo { + string name = 1; + string description = 2; + string icon = 3; + string endpoint = 4; + bool is_featured = 5; +} + +// Copied from: local:aiserver.v1.MCPParams (var: KOt) +message MCPParams { + // Copied from: local:aiserver.v1.MCPParams.Tool (var: iGe) + message Tool { + string name = 1; + string description = 2; + string parameters = 3; + string server_name = 4; + optional MCPParams.TranscriptDisplay transcript_display = 5; + } + + // Copied from: local:aiserver.v1.MCPParams.TranscriptDisplay (var: Ybs) + message TranscriptDisplay { + string loading = 1; + string success = 2; + string error = 3; + } + + repeated Tool tools = 1; + optional int64 file_output_threshold_bytes = 2; +} + +// Copied from: local:aiserver.v1.MCPResult (var: B_n) +message MCPResult { + string selected_tool = 1; + string result = 2; +} + +// Copied from: local:aiserver.v1.MCPServerRegistration (var: ccu) +message MCPServerRegistration { + repeated string domains = 1; + MCPKnownServerInfo info = 2; +} + +// Copied from: local:aiserver.v1.MCPStream (var: Zbs) +message MCPStream { + repeated MCPParams.Tool tools = 1; +} + +// Copied from: local:aiserver.v1.MachineInfo (var: pqd) +message MachineInfo { + string local_id = 1; + optional string host_name = 2; + optional string ip_address = 3; + optional string instance_type = 4; + optional string os = 5; + optional string arch = 6; + optional google.protobuf.Struct metadata = 7; +} + +// Copied from: local:aiserver.v1.MachineReference (var: FLu) +message MachineReference { + oneof reference { + PodReference pod = 1; + WorkerReference worker = 2; + } +} + +// Copied from: local:aiserver.v1.MakeGithubRequestRequest (var: UFs) +message MakeGithubRequestRequest { + string method = 1; + string path = 2; + optional string body_json = 3; + string github_user_token = 4; + string caller = 5; + optional string host = 6; + optional string path_template = 7; + optional string accept_header = 8; +} + +// Copied from: local:aiserver.v1.MakeGithubRequestResponse (var: zLu) +message MakeGithubRequestResponse { + int32 status = 1; + string status_text = 4; + map headers = 2; + string body = 3; +} + +// Copied from: local:aiserver.v1.MakePRBackgroundComposerRequest (var: tPu) +message MakePRBackgroundComposerRequest { + string bc_id = 1; + optional string workflow_id = 2; + optional string branch_name = 3; +} + +// Copied from: local:aiserver.v1.MakePRBackgroundComposerResponse (var: nPu) +message MakePRBackgroundComposerResponse { + string pr_url = 1; + string branch_name = 2; + bool has_commits = 3; + optional string owner = 4; + optional string repo = 5; +} + +// Copied from: local:aiserver.v1.ManageCheckRunAction (var: PWu) +message ManageCheckRunAction { + bool deterministic = 1; +} + +// Copied from: local:aiserver.v1.ManagedAutomationTeamSettings (var: M9s) +message ManagedAutomationTeamSettings { + int32 team_id = 1; + bool security_agent_disabled = 2; + bool approval_agent_disabled = 3; +} + +// Copied from: local:aiserver.v1.ManagedSkill (var: sIu) +message ManagedSkill { + string id = 1; + string description = 2; + string content = 3; + bool disable_model_invocation = 4; + repeated string environments = 5; + repeated string disabled_environments = 6; + optional bool enabled = 7; + optional CustomModeDescriptor custom_mode = 8; + map resources = 9; +} + +// Copied from: local:aiserver.v1.ManagerSpawnKind (var: iMi) +enum ManagerSpawnKind { + MANAGER_SPAWN_KIND_UNSPECIFIED = 0; + MANAGER_SPAWN_KIND_CREATED = 1; + MANAGER_SPAWN_KIND_ADOPTED = 2; +} + +// Copied from: local:aiserver.v1.ManualEnterpriseContractArchiveEntry (var: Phv) +message ManualEnterpriseContractArchiveEntry { + int64 id = 1; + optional int32 manual_enterprise_contract_id = 2; + string action = 3; + optional google.protobuf.Struct changed_by = 4; + google.protobuf.Timestamp changed_at = 5; + optional int32 team_id = 6; + optional int64 organization_id = 7; + google.protobuf.Timestamp start_date = 8; + google.protobuf.Timestamp end_date = 9; + int32 committed_usage_dollars = 10; + int32 committed_seats = 11; + double platform_discount_percent = 12; + optional double cursor_token_fee_cents_per_million_tokens = 13; + optional double pooled_usage_revenue_discount_percent = 14; + optional double on_demand_usage_revenue_discount_percent = 15; + string salesforce_account_id = 16; + string salesforce_opportunity_id = 17; + string salesforce_line_item_id = 18; + google.protobuf.Timestamp contract_created_at = 19; + google.protobuf.Timestamp contract_updated_at = 20; + optional bool waive_auto_smart_cursor_token_fee = 21; +} + +// Copied from: local:aiserver.v1.MarkAdAsSeenRequest (var: QKd) +message MarkAdAsSeenRequest { + string ad_id = 1; + optional string analytics_variant = 2; +} + +// Copied from: local:aiserver.v1.MarkAdAsSeenResponse (var: jgv) +message MarkAdAsSeenResponse { +} + +// Copied from: local:aiserver.v1.MarkAsPublicRequest (var: Lbv) +message MarkAsPublicRequest { + string doc_identifier = 1; + string password = 2; + string doc_name = 3; +} + +// Copied from: local:aiserver.v1.MarkBackgroundComposerReadRequest (var: hNu) +message MarkBackgroundComposerReadRequest { + string bc_id = 1; +} + +// Copied from: local:aiserver.v1.MarkBackgroundComposerReadResponse (var: pNu) +message MarkBackgroundComposerReadResponse { +} + +// Copied from: local:aiserver.v1.MarkBackgroundComposerUnreadRequest (var: mNu) +message MarkBackgroundComposerUnreadRequest { + string bc_id = 1; +} + +// Copied from: local:aiserver.v1.MarkBackgroundComposerUnreadResponse (var: gNu) +message MarkBackgroundComposerUnreadResponse { +} + +// Copied from: local:aiserver.v1.MarkCppRequest (var: h$l) +message MarkCppRequest { + // Copied from: local:aiserver.v1.MarkCppRequest.CppResponseTypes (var: p$l) + enum CppResponseTypes { + CPP_RESPONSE_TYPES_UNSPECIFIED = 0; + CPP_RESPONSE_TYPES_GOOD = 1; + CPP_RESPONSE_TYPES_BAD = 2; + CPP_RESPONSE_TYPES_BAD_CONTEXT = 3; + CPP_RESPONSE_TYPES_BAD_REASONING = 4; + CPP_RESPONSE_TYPES_BAD_STUPID_MISTAKE = 5; + CPP_RESPONSE_TYPES_BAD_FORMATTING = 6; + CPP_RESPONSE_TYPES_BAD_RANGE = 7; + CPP_RESPONSE_TYPES_GOOD_PREDICTION = 8; + CPP_RESPONSE_TYPES_BAD_FALSE_POSITIVE_TRIGGER = 9; + CPP_RESPONSE_TYPES_BAD_FALSE_NEGATIVE_TRIGGER = 10; + } + + // Copied from: local:aiserver.v1.MarkCppRequest.RangeTransformation (var: m$l) + message RangeTransformation { + int32 start_line_number = 1; + int32 end_line_number = 2; + } + + string request_id = 1; + string session_id = 2; + CppResponseTypes response_type = 3; + optional string desired_completion = 4; + RangeTransformation range_transformation = 5; + string model_code_name = 10; + string model_openai_name = 11; + double current_performance_now_time = 12; + double session_performance_origin_time = 13; +} + +// Copied from: local:aiserver.v1.MarkCppResponse (var: g$l) +message MarkCppResponse { +} + +// Copied from: local:aiserver.v1.MarkFollowupEditingRequest (var: NFs) +message MarkFollowupEditingRequest { + string bc_id = 1; + string followup_id = 2; + optional bool editing = 3; +} + +// Copied from: local:aiserver.v1.MarkFollowupEditingResponse (var: fLu) +message MarkFollowupEditingResponse { + bool success = 1; + string error_message = 2; +} + +// Copied from: local:aiserver.v1.MarkMcpServersSeenRequest (var: spu) +message MarkMcpServersSeenRequest { + repeated int32 server_ids = 1; +} + +// Copied from: local:aiserver.v1.MarkMcpServersSeenResponse (var: opu) +message MarkMcpServersSeenResponse { +} + +// Copied from: local:aiserver.v1.MarkPendingCommitsRequest (var: Pmv) +message MarkPendingCommitsRequest { + // Copied from: local:aiserver.v1.MarkPendingCommitsRequest.Commit (var: Lmv) + message Commit { + string sha = 1; + repeated string parent_shas = 2; + double timestamp_ms = 3; + } + + string workspace_id = 1; + repeated Commit commits = 2; +} + +// Copied from: local:aiserver.v1.MarkPendingCommitsResponse (var: Nmv) +message MarkPendingCommitsResponse { + repeated string already_visited_shas = 1; +} + +// Copied from: local:aiserver.v1.MarkPrivacyRequest (var: euv) +message MarkPrivacyRequest { + optional bool current_privacy_mode = 2; + optional bool onboarding_privacy_mode = 3; + bool is_using_current_and_onboarding_format = 4; + optional string onboarding_data_privacy_version = 5; + optional double time_elapsed_since_onboarding = 6; + optional bool first_after_waiting_period = 7; + optional bool configured_privacy_mode_for_settings = 8; + bool privacy = 1; +} + +// Copied from: local:aiserver.v1.MarkPrivacyResponse (var: tuv) +message MarkPrivacyResponse { +} + +// Copied from: local:aiserver.v1.MarkTeamSandOnboardingSeenRequest (var: Rbu) +message MarkTeamSandOnboardingSeenRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.MarkTeamSandOnboardingSeenResponse (var: Dbu) +message MarkTeamSandOnboardingSeenResponse { +} + +// Copied from: local:aiserver.v1.Marketplace (var: SBe) +message Marketplace { + int64 id = 1; + string name = 2; + optional string display_name = 3; + optional string description = 4; + string git_url = 5; + optional string git_ref = 6; + optional int32 user_id = 7; + optional int32 team_id = 8; + optional string logo_url = 9; + int64 created_at = 10; + int64 updated_at = 11; + optional int64 last_indexed_at = 12; + optional string last_indexed_commit_sha = 13; + optional TeamMarketplaceConfig team_config = 14; + repeated MarketplaceRequiredPluginInstall required_plugin_installs = 15; + bool auto_reindex = 16; + optional string distribution_git_url = 17; + bool is_default = 18; + bool allow_user_publish = 19; +} + +// Copied from: local:aiserver.v1.MarketplaceAccessGrant (var: YDi) +message MarketplaceAccessGrant { + MarketplaceAccessPrincipalKind principal_kind = 1; + string principal_id = 2; +} + +// Copied from: local:aiserver.v1.MarketplaceAccessPrincipalKind (var: XLs) +enum MarketplaceAccessPrincipalKind { + MARKETPLACE_ACCESS_PRINCIPAL_KIND_UNSPECIFIED = 0; + MARKETPLACE_ACCESS_PRINCIPAL_KIND_USER = 1; + MARKETPLACE_ACCESS_PRINCIPAL_KIND_TEAM_MEMBER_GROUP = 2; + MARKETPLACE_ACCESS_PRINCIPAL_KIND_TEAM_ADMIN_GROUP = 3; + MARKETPLACE_ACCESS_PRINCIPAL_KIND_GROUP = 4; +} + +// Copied from: local:aiserver.v1.MarketplaceRequiredPluginInstall (var: yTu) +message MarketplaceRequiredPluginInstall { + int64 plugin_id = 1; + repeated int64 directory_group_ids = 2; +} + +// Copied from: local:aiserver.v1.MatchRange (var: B0i) +message MatchRange { + int32 start = 1; + int32 end = 2; +} + +// Copied from: agent.v1.MatchedInstalledPlugin (var: m4l) +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:aiserver.v1.MaybeDefinedPointInTimeModel (var: bAi) +message MaybeDefinedPointInTimeModel { + optional string model_uuid = 1; + int32 model_version = 2; + string relative_path = 3; + string model_id = 4; +} + +// Copied from: local:aiserver.v1.McpAction (var: Uju) +message McpAction { + McpServerConfig server = 1; +} + +// Copied from: agent.v1.McpAllowlistPrecheckArgs (var: hUl) +message McpAllowlistPrecheckArgs { + string provider_identifier = 1; + string tool_name = 2; + optional string tool_call_id = 3; +} + +// Copied from: agent.v1.McpAllowlistPrecheckResult (var: pUl) +message McpAllowlistPrecheckResult { + bool allowlisted = 1; +} + +// Copied from: agent.v1.McpApproved (var: KOl) +message McpApproved { +} + +// Copied from: agent.v1.McpArgs (var: oBt) +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: agent.v1.McpAuthArgs (var: Xxi) +message McpAuthArgs { + string server_identifier = 1; + string tool_call_id = 2; +} + +// Copied from: local:aiserver.v1.McpAuthParams (var: aGe) +message McpAuthParams { + string server_identifier = 1; +} + +// Copied from: agent.v1.McpAuthRequestQuery (var: hBl) +message McpAuthRequestQuery { + McpAuthArgs args = 1; +} + +// Copied from: agent.v1.McpAuthRequestResponse (var: sZ) +message McpAuthRequestResponse { + // Copied from: agent.v1.McpAuthRequestResponse.Approved (var: hBt) + message Approved { + } + + // Copied from: agent.v1.McpAuthRequestResponse.Rejected (var: _Se) + message Rejected { + string reason = 1; + } + + oneof result { + Approved approved = 1; + Rejected rejected = 2; + } +} + +// Copied from: local:aiserver.v1.McpAuthResult (var: cGe) +message McpAuthResult { + bool success = 1; + string message = 2; +} + +// Copied from: local:aiserver.v1.McpAuthState (var: Pju) +enum McpAuthState { + MCP_AUTH_STATE_UNSPECIFIED = 0; + MCP_AUTH_STATE_UNKNOWN = 1; + MCP_AUTH_STATE_AUTHENTICATED = 2; + MCP_AUTH_STATE_NEEDS_AUTH = 3; +} + +// Copied from: local:aiserver.v1.McpAuthStream (var: W_s) +message McpAuthStream { +} + +// Copied from: local:aiserver.v1.McpDescriptor (var: FDi) +message McpDescriptor { + string name = 1; + optional string description = 2; + optional string source_path = 3; + optional string source_url = 4; +} + +// Copied from: agent.v1.McpError (var: eFl) +message McpError { + string error = 1; +} + +// Copied from: agent.v1.McpFileSystemOptions (var: sBt) +message McpFileSystemOptions { + bool enabled = 1; + string workspace_project_dir = 2; + repeated McpDescriptor mcp_descriptors = 3; +} + +// Copied from: agent.v1.McpImageContent (var: XOl) +message McpImageContent { + bytes data = 1; + string mime_type = 2; +} + +// Copied from: agent.v1.McpInstructions (var: cSn) +message McpInstructions { + string server_name = 1; + string instructions = 2; + string server_identifier = 3; +} + +// Copied from: agent.v1.McpMetaToolOptions (var: Fxi) +message McpMetaToolOptions { + bool enabled = 1; + repeated McpDescriptor mcp_descriptors = 2; +} + +// Copied from: local:aiserver.v1.McpOAuthRefreshLockBeginOutcome (var: pcu) +enum McpOAuthRefreshLockBeginOutcome { + MCP_O_AUTH_REFRESH_LOCK_BEGIN_OUTCOME_UNSPECIFIED = 0; + MCP_O_AUTH_REFRESH_LOCK_BEGIN_OUTCOME_SKIPPED = 1; + MCP_O_AUTH_REFRESH_LOCK_BEGIN_OUTCOME_WOULD_ACQUIRE = 2; + MCP_O_AUTH_REFRESH_LOCK_BEGIN_OUTCOME_WOULD_WAIT = 3; + MCP_O_AUTH_REFRESH_LOCK_BEGIN_OUTCOME_REDIS_ERROR = 4; +} + +// Copied from: local:aiserver.v1.McpOAuthRefreshLockBeginRequest (var: xpu) +message McpOAuthRefreshLockBeginRequest { + string server_url = 1; + McpOAuthRefreshLockExecutorKind executor_kind = 2; + string executor_id = 3; + optional int64 observed_updated_at_ms = 4; + optional string service_account_id = 5; + string account_key = 6; +} + +// Copied from: local:aiserver.v1.McpOAuthRefreshLockBeginResponse (var: Tpu) +message McpOAuthRefreshLockBeginResponse { + McpOAuthRefreshLockBeginOutcome outcome = 1; + optional string lease_handle = 2; + bool should_enforce = 3; +} + +// Copied from: local:aiserver.v1.McpOAuthRefreshLockExecutorKind (var: hcu) +enum McpOAuthRefreshLockExecutorKind { + MCP_O_AUTH_REFRESH_LOCK_EXECUTOR_KIND_UNSPECIFIED = 0; + MCP_O_AUTH_REFRESH_LOCK_EXECUTOR_KIND_LOCAL_IDE = 1; + MCP_O_AUTH_REFRESH_LOCK_EXECUTOR_KIND_REMOTE_EXTENSION_HOST = 2; +} + +// Copied from: local:aiserver.v1.McpOAuthRefreshLockReleaseReason (var: mcu) +enum McpOAuthRefreshLockReleaseReason { + MCP_O_AUTH_REFRESH_LOCK_RELEASE_REASON_UNSPECIFIED = 0; + MCP_O_AUTH_REFRESH_LOCK_RELEASE_REASON_COMPLETE = 1; + MCP_O_AUTH_REFRESH_LOCK_RELEASE_REASON_ERROR = 2; + MCP_O_AUTH_REFRESH_LOCK_RELEASE_REASON_ABANDONED = 3; +} + +// Copied from: local:aiserver.v1.McpOAuthRefreshLockReleaseRequest (var: Apu) +message McpOAuthRefreshLockReleaseRequest { + string lease_handle = 1; + McpOAuthRefreshLockReleaseReason reason = 2; +} + +// Copied from: local:aiserver.v1.McpOAuthRefreshLockReleaseResponse (var: Ipu) +message McpOAuthRefreshLockReleaseResponse { +} + +// Copied from: local:aiserver.v1.McpOAuthStoredClientInfo (var: i) +message McpOAuthStoredClientInfo { + string client_id = 1; + optional string client_secret = 2; + repeated string redirect_uris = 3; +} + +// Copied from: local:aiserver.v1.McpOAuthStoredData (var: acu) +message McpOAuthStoredData { + optional string refresh_token = 1; + string client_id = 2; + optional string client_secret = 3; + repeated string redirect_uris = 4; + optional string access_token = 5; +} + +// Copied from: agent.v1.McpPermissionDenied (var: M0s) +message McpPermissionDenied { + string error = 1; + bool is_readonly = 2; +} + +// Copied from: agent.v1.McpRejected (var: D0s) +message McpRejected { + string reason = 1; + bool is_readonly = 2; +} + +// Copied from: agent.v1.McpResult (var: I0s) +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:aiserver.v1.McpServerConfig (var: $ju) +message McpServerConfig { + optional int64 id = 4; + string name = 1; +} + +// Copied from: local:aiserver.v1.McpServerMetadata (var: Whu) +message McpServerMetadata { + optional int64 plugin_id = 1; + int64 server_id = 2; +} + +// Copied from: agent.v1.McpServerNotFound (var: YOl) +message McpServerNotFound { + string name = 1; + repeated string available_servers = 2; +} + +// Copied from: local:aiserver.v1.McpServerUsageSummary (var: Qhu) +message McpServerUsageSummary { + int64 server_id = 1; + int32 enabled_user_count = 2; + int32 automation_count = 3; +} + +// Copied from: agent.v1.McpStateError (var: sFl) +message McpStateError { + string error = 1; +} + +// Copied from: agent.v1.McpStateExecArgs (var: tFl) +message McpStateExecArgs { + repeated string server_identifiers = 1; + bool kick_only = 2; +} + +// Copied from: agent.v1.McpStateExecResult (var: nFl) +message McpStateExecResult { + oneof result { + McpStateSuccess success = 1; + McpStateError error = 2; + McpStateRejected rejected = 3; + } +} + +// Copied from: agent.v1.McpStateRejected (var: oFl) +message McpStateRejected { + string reason = 1; +} + +// Copied from: agent.v1.McpStateServer (var: iFl) +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; + optional string error_message = 8; +} + +// Copied from: agent.v1.McpStateSuccess (var: rFl) +message McpStateSuccess { + repeated McpStateServer servers = 1; +} + +// Copied from: agent.v1.McpSuccess (var: R0s) +message McpSuccess { + repeated McpToolResultContentItem content = 1; + bool is_error = 2; + google.protobuf.Struct structured_content = 3; +} + +// Copied from: local:aiserver.v1.McpTemplateHint (var: $Hu) +message McpTemplateHint { + string name = 1; + optional string url = 2; +} + +// Copied from: agent.v1.McpTextContent (var: ZOl) +message McpTextContent { + string text = 1; + optional OutputLocation output_location = 2; +} + +// Copied from: agent.v1.McpToolDefinition (var: Qht) +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: agent.v1.McpToolNotFound (var: QOl) +message McpToolNotFound { + string name = 1; + repeated string available_tools = 2; +} + +// Copied from: agent.v1.McpToolResultContentItem (var: JOl) +message McpToolResultContentItem { + oneof content { + McpTextContent text = 1; + McpImageContent image = 2; + } +} + +// Copied from: local:aiserver.v1.MemoryMonitorConfig (var: w8u) +message MemoryMonitorConfig { + bool enabled = 1; + bool show_status_entry = 2; + optional int32 base_threshold_mb = 3; + optional int32 critical_offset_mb = 4; + optional int32 process_memory_interval_sec = 5; +} + +// Copied from: local:aiserver.v1.MergeOrganizationIdentityProviderRequest (var: luu) +message MergeOrganizationIdentityProviderRequest { + string organization_id = 1; + string source_identity_provider_public_id = 2; +} + +// Copied from: local:aiserver.v1.MergeOrganizationIdentityProviderResponse (var: uuu) +message MergeOrganizationIdentityProviderResponse { + string request_public_id = 1; +} + +// Copied from: local:aiserver.v1.MergePullRequestRequest (var: SMi) +message MergePullRequestRequest { + string pr_url = 1; + optional string merge_method = 2; + bool use_merge_queue = 3; +} + +// Copied from: local:aiserver.v1.MergePullRequestResponse (var: bOu) +message MergePullRequestResponse { + bool success = 1; + string error = 2; + optional string pr_node_id = 3; + bool was_enqueued = 4; +} + +// Copied from: local:aiserver.v1.MessagePayload (var: GHi) +message MessagePayload { + string full_user_message = 1; + string full_bot_message = 2; +} + +// Copied from: local:aiserver.v1.Metadata (var: Avu) +message Metadata { + optional string title = 1; + optional string description = 2; + optional string discount_type = 3; +} + +// Copied from: local:aiserver.v1.MetricSample (var: bqd) +message MetricSample { + string base_metric_name = 1; + MetricScope scope_type = 2; + string scope_local_id = 3; + int32 t_rel_ms = 4; + int32 sample_index = 5; + string unit = 10; + optional google.protobuf.Struct extra = 8; + optional MetricTypeDetails metric_type_details = 9; + oneof value_type { + double value_numeric = 6; + string value_text = 7; + } +} + +// Copied from: local:aiserver.v1.MetricScope (var: Juv) +enum MetricScope { + METRIC_SCOPE_UNSPECIFIED = 0; + METRIC_SCOPE_INVOCATION = 1; + METRIC_SCOPE_MACHINE = 2; + METRIC_SCOPE_PROCESS = 3; + METRIC_SCOPE_SUITE = 4; + METRIC_SCOPE_CASE = 5; + METRIC_SCOPE_ITERATION = 6; +} + +// Copied from: local:aiserver.v1.MetricTypeDetails (var: edv) +message MetricTypeDetails { + string unit = 1; + optional string description = 2; + optional bool higher_is_better = 3; + optional google.protobuf.Struct tags = 4; +} + +// Copied from: local:aiserver.v1.MetricsConfig (var: _8u) +message MetricsConfig { + bool enabled_in_privacy_mode = 2; + bool enabled_in_non_privacy_mode = 3; +} + +// Copied from: local:aiserver.v1.MicrosoftTeamsAction (var: UWu) +message MicrosoftTeamsAction { + string tenant_id = 1; + string team_id = 2; + string channel_id = 3; + repeated string channel_ids = 4; + bool generalized = 5; + bool respond_in_thread = 6; + bool post_as_thread = 7; +} + +// Copied from: local:aiserver.v1.MicrosoftTeamsChannel (var: mTu) +message MicrosoftTeamsChannel { + string tenant_id = 1; + string team_id = 2; + string team_display_name = 3; + string channel_id = 4; + string display_name = 5; + optional string description = 6; +} + +// Copied from: local:aiserver.v1.MicrosoftTeamsChannelCreatedSamplePayload (var: R9s) +message MicrosoftTeamsChannelCreatedSamplePayload { + string channel_name = 1; +} + +// Copied from: local:aiserver.v1.MicrosoftTeamsChannelCreatedTrigger (var: RWu) +message MicrosoftTeamsChannelCreatedTrigger { + string tenant_id = 1; + repeated string team_ids = 2; + string channel_name_contains = 3; +} + +// Copied from: local:aiserver.v1.MicrosoftTeamsSamplePayload (var: I9s) +message MicrosoftTeamsSamplePayload { + string message = 1; +} + +// Copied from: local:aiserver.v1.MicrosoftTeamsTrigger (var: IWu) +message MicrosoftTeamsTrigger { + string tenant_id = 1; + string team_id = 2; + repeated string team_ids = 3; + repeated string channel_ids = 4; + string message_contains = 5; + bool message_contains_is_regex = 6; + bool block_unauthenticated_teams_users = 7; +} + +// Copied from: local:aiserver.v1.MidConversationModelRecommendationContext (var: bDi) +message MidConversationModelRecommendationContext { + RequestedModel current_model = 1; + optional bool supports_third_party_usage_nudge = 2; + optional bool model_nudges_enabled = 3; +} + +// Copied from: local:aiserver.v1.MigrateBugBotProUserToUsageBasedBillingRequest (var: zSu) +message MigrateBugBotProUserToUsageBasedBillingRequest { + optional bool keep_high_effort_default = 1; +} + +// Copied from: local:aiserver.v1.MigrateBugBotProUserToUsageBasedBillingResponse (var: VSu) +message MigrateBugBotProUserToUsageBasedBillingResponse { +} + +// Copied from: local:aiserver.v1.MigrateTeamBugbotToUsageBasedBillingRequest (var: h1u) +message MigrateTeamBugbotToUsageBasedBillingRequest { + int32 team_id = 1; + optional bool keep_high_effort_default = 2; +} + +// Copied from: local:aiserver.v1.MigrateTeamBugbotToUsageBasedBillingResponse (var: p1u) +message MigrateTeamBugbotToUsageBasedBillingResponse { +} + +// Copied from: local:aiserver.v1.MigrateTeamMcpServersToDefaultMarketplaceRequest (var: tpu) +message MigrateTeamMcpServersToDefaultMarketplaceRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.MigrateTeamMcpServersToDefaultMarketplaceResponse (var: npu) +message MigrateTeamMcpServersToDefaultMarketplaceResponse { + int32 migrated_count = 1; + int32 skipped_count = 2; + int64 default_marketplace_id = 3; +} + +// Copied from: local:aiserver.v1.MintAgentStoreTokenRequest (var: oBu) +message MintAgentStoreTokenRequest { + string agent_id = 1; + optional string share_id = 2; + optional string store_id = 3; + AgentStoreSourceRef source = 4; +} + +// Copied from: local:aiserver.v1.MintAgentStoreTokenResponse (var: aBu) +message MintAgentStoreTokenResponse { + string token = 1; + int64 expires_at_ms = 2; + repeated string agent_ids = 3; + repeated string store_ids = 4; +} + +// Copied from: local:aiserver.v1.MintCustomerPrivatelinkProxyTokenRequest (var: aFu) +message MintCustomerPrivatelinkProxyTokenRequest { + int32 team_id = 1; + repeated string allowed_hosts = 2; +} + +// Copied from: local:aiserver.v1.MintCustomerPrivatelinkProxyTokenResponse (var: cFu) +message MintCustomerPrivatelinkProxyTokenResponse { + string proxy_username = 1; + string token = 2; + repeated string allowed_hosts = 3; +} + +// Copied from: local:aiserver.v1.MissingContextItems (var: XSn) +message MissingContextItems { + repeated string missing_context_item_hashes = 2; +} + +// Copied from: local:aiserver.v1.MissingFile (var: L0i) +message MissingFile { + // Copied from: local:aiserver.v1.MissingFile.MissingReason (var: Nvs) + enum MissingReason { + MISSING_REASON_UNSPECIFIED = 0; + MISSING_REASON_TOO_LARGE = 1; + MISSING_REASON_NOT_FOUND = 2; + } + + string relative_workspace_path = 1; + MissingReason missing_reason = 2; + optional int32 num_lines = 3; +} + +// Copied from: local:aiserver.v1.ModalDisplayConfig (var: l8u) +message ModalDisplayConfig { + optional string background_gradient = 1; + optional string description = 2; + optional string background_gradient_light = 3; + optional string background_gradient_dark = 4; +} + +// Copied from: local:aiserver.v1.ModelAddedEvent (var: E7l) +message ModelAddedEvent { + MaybeDefinedPointInTimeModel point_in_time_model = 1; + string full_uri = 2; + string model_id = 3; + string uri_scheme = 4; + bool is_too_large_for_syncing = 5; + bool is_too_large_for_tokenization = 6; + bool is_too_large_for_heap_operation = 7; +} + +// Copied from: local:aiserver.v1.ModelAllowlist (var: rmt) +message ModelAllowlist { + // Copied from: local:aiserver.v1.ModelAllowlist.DefaultBehavior (var: lNs) + enum DefaultBehavior { + DEFAULT_BEHAVIOR_UNSPECIFIED = 0; + DEFAULT_BEHAVIOR_ENABLED = 1; + DEFAULT_BEHAVIOR_DISABLED = 2; + } + + DefaultBehavior new_provider_default = 1; + DefaultBehavior new_model_default = 2; + map providers = 3; + optional ModelAllowlistByok byok = 4; + optional int64 new_model_default_enabled_at = 5; +} + +// Copied from: local:aiserver.v1.ModelAllowlistByok (var: abu) +message ModelAllowlistByok { + optional ModelAllowlistByokEntry openai = 1; + optional ModelAllowlistByokEntry anthropic = 2; + optional ModelAllowlistByokEntry google = 3; + optional ModelAllowlistByokEntry azure = 4; + optional ModelAllowlistByokEntry bedrock = 5; +} + +// Copied from: local:aiserver.v1.ModelAllowlistByokEntry (var: H3t) +message ModelAllowlistByokEntry { + bool enabled = 1; + repeated string models = 2; +} + +// Copied from: local:aiserver.v1.ModelAllowlistModelEntry (var: sbu) +message ModelAllowlistModelEntry { + bool enabled = 1; + map parameter_restrictions = 2; + map parameter_grants = 3; + repeated TeamAdminModelRef.ModelParameterValue default_parameter_values = 4; +} + +// Copied from: local:aiserver.v1.ModelAllowlistParameterGrant (var: rbu) +message ModelAllowlistParameterGrant { + repeated string granted_values = 1; +} + +// Copied from: local:aiserver.v1.ModelAllowlistParameterRestriction (var: ibu) +message ModelAllowlistParameterRestriction { + repeated string allowed_values = 1; +} + +// Copied from: local:aiserver.v1.ModelAllowlistProviderEntry (var: obu) +message ModelAllowlistProviderEntry { + bool enabled = 1; + map models = 2; +} + +// Copied from: local:aiserver.v1.ModelChange (var: gAi) +message ModelChange { + string text = 1; + IRange range = 2; + optional string final_model_hash = 3; + optional int32 model_version_immediately_after_this_change = 4; + optional double performance_now_timestamp = 5; + optional bool is_undoing = 7; + optional bool is_redoing = 8; + bool model_is_attached_to_editor = 9; + bool model_is_attached_to_the_active_editor = 10; + repeated CursorSelection cursor_selections = 11; + int32 model_version_at_metadata_retrieval_time = 12; + optional int64 global_index = 13; + optional double performance_now_flush_time = 14; + optional int32 change_index = 15; + optional int32 flush_index = 16; + optional int32 global_index_v2 = 17; +} + +// Copied from: local:aiserver.v1.ModelDetails (var: Yg) +message ModelDetails { + optional string model_name = 1; + optional string api_key = 2; + optional bool enable_ghost_mode = 3; + optional AzureState azure_state = 4; + optional bool enable_slow_pool = 5; + optional string openai_api_base_url = 6; + optional BedrockState bedrock_state = 7; + optional bool max_mode = 8; +} + +// Copied from: local:aiserver.v1.ModelInfo (var: Qbc) +message ModelInfo { + string model_name = 1; +} + +// Copied from: local:aiserver.v1.ModelMigration (var: I8u) +message ModelMigration { + string id = 1; + string model_setting = 2; + string target_model = 3; + optional string previous_model = 4; + optional bool migrate_mode_models = 5; + optional bool remove_previous_model = 6; + optional bool max_mode = 7; + optional bool migrate_old_composers_and_current_composer = 8; +} + +// Copied from: local:aiserver.v1.ModelOpenedEvent (var: _7l) +message ModelOpenedEvent { + PointInTimeModel point_in_time_model = 1; + MaybeDefinedPointInTimeModel maybe_defined_point_in_time_model = 2; +} + +// Copied from: local:aiserver.v1.ModelParameterDefinition (var: SGl) +message ModelParameterDefinition { + // Copied from: local:aiserver.v1.ModelParameterDefinition.BooleanParameterDefinition (var: kGl) + message BooleanParameterDefinition { + // Copied from: local:aiserver.v1.ModelParameterDefinition.BooleanParameterDefinition.BooleanParameterValue (var: CGl) + message BooleanParameterValue { + string value = 1; + optional string display_name = 2; + optional bool increases_model_cost = 3; + optional bool default_blocked_in_admin_allowlist = 4; + optional bool hide_from_user_picker_when_admin_blocked = 5; + optional bool blocked_by_admin_allowlist = 6; + } + + repeated BooleanParameterValue values = 1; + } + + // Copied from: local:aiserver.v1.ModelParameterDefinition.EnumParameterDefinition (var: EGl) + message EnumParameterDefinition { + // Copied from: local:aiserver.v1.ModelParameterDefinition.EnumParameterDefinition.EnumParameterValue (var: xGl) + message EnumParameterValue { + string value = 1; + optional string display_name = 2; + optional bool increases_model_cost = 3; + optional bool blocked_by_admin_allowlist = 4; + optional string markdown_tooltip = 5; + repeated AvailableModelsResponse.ModelPickerBadge model_picker_badges = 6; + } + + repeated EnumParameterValue values = 1; + } + + // Copied from: local:aiserver.v1.ModelParameterDefinition.ModelParameterType (var: wGl) + message ModelParameterType { + optional ModelParameterDefinition.BooleanParameterDefinition boolean_parameter = 1; + optional ModelParameterDefinition.EnumParameterDefinition enum_parameter = 2; + } + + string id = 1; + string name = 2; + optional string markdown_tooltip = 3; + ModelParameterType parameter_type = 4; + optional bool is_cycleable_by_hotkey = 5; +} + +// Copied from: local:aiserver.v1.ModelQueryRequest (var: MIs) +message ModelQueryRequest { + // Copied from: local:aiserver.v1.ModelQueryRequest.QueryType (var: vVl) + enum QueryType { + QUERY_TYPE_UNSPECIFIED = 0; + QUERY_TYPE_KEYWORDS = 1; + QUERY_TYPE_EMBEDDINGS = 2; + } + + CurrentFileInfo current_file = 1; + repeated ConversationMessage conversation = 2; + repeated RepositoryInfo repositories = 3; + ExplicitContext explicit_context = 4; + optional string workspace_root_path = 5; + repeated CodeBlock code_blocks = 6; + ModelDetails model_details = 7; + QueryType query_type = 8; + RepositoryInfo repository_info = 9; + bool faster_and_stupider = 10; + bool use_globs = 11; +} + +// Copied from: local:aiserver.v1.ModelQueryResponse (var: bVl) +message ModelQueryResponse { + // Copied from: local:aiserver.v1.ModelQueryResponse.Query (var: _Vl) + message Query { + string query = 1; + bool successful_parse = 2; + repeated string good_file_extensions = 3; + repeated string bad_file_extensions = 4; + repeated string good_paths = 5; + repeated string bad_paths = 6; + } + + repeated Query queries = 1; +} + +// Copied from: local:aiserver.v1.ModelQueryResponseV2 (var: yVl) +message ModelQueryResponseV2 { + // Copied from: local:aiserver.v1.ModelQueryResponseV2.QueryItem (var: SVl) + message QueryItem { + int32 index = 3; + oneof partial_query { + string text = 1; + string glob = 2; + } + } + + oneof query_or_reasoning { + QueryItem query = 1; + string reasoning = 2; + } +} + +// Copied from: local:aiserver.v1.ModelRecommendationNudge (var: z_u) +message ModelRecommendationNudge { + string nudge_id = 1; + string experiment_name = 2; + string group = 3; + RequestedModel source_model = 4; + RequestedModel target_model = 5; +} + +// Copied from: local:aiserver.v1.ModelRoutingLoadTestCancelOutcome (var: hDu) +enum ModelRoutingLoadTestCancelOutcome { + MODEL_ROUTING_LOAD_TEST_CANCEL_OUTCOME_UNSPECIFIED = 0; + MODEL_ROUTING_LOAD_TEST_CANCEL_OUTCOME_CANCEL_REQUESTED = 1; + MODEL_ROUTING_LOAD_TEST_CANCEL_OUTCOME_NOT_FOUND = 2; + MODEL_ROUTING_LOAD_TEST_CANCEL_OUTCOME_ALREADY_CLOSED = 3; +} + +// Copied from: local:aiserver.v1.ModelSelectionSnapshot (var: cIs) +message ModelSelectionSnapshot { + // Copied from: local:aiserver.v1.ModelSelectionSnapshot.ModelParameterValue (var: DWl) + message ModelParameterValue { + string id = 1; + string value = 2; + } + + string model_id = 1; + bool max_mode = 2; + repeated ModelParameterValue parameters = 3; +} + +// Copied from: local:aiserver.v1.ModelWithHistory (var: jt) +message ModelWithHistory { + repeated ModelChange changes = 1; + string model_uuid = 2; + StartingModel starting_model = 3; + int32 num_correct_changes = 4; + int32 num_unvalidated_changes = 5; + int32 num_incorrect_changes = 6; + repeated ModelChange before_start_model_changes = 7; + optional double starting_performance_now_timestamp = 8; +} + +// Copied from: agent.v1.MountedAgentStore (var: M1s) +message MountedAgentStore { + string path = 1; + MountedAgentStoreKind kind = 2; + optional string alias = 3; + bool read_only = 4; +} + +// Copied from: agent.v1.MountedAgentStoreKind (var: fBt) +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: agent.v1.MouseButton (var: cht) +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: agent.v1.MouseDownAction (var: WRl) +message MouseDownAction { + MouseButton button = 1; +} + +// Copied from: agent.v1.MouseMoveAction (var: $Rl) +message MouseMoveAction { + Coordinate coordinate = 1; +} + +// Copied from: agent.v1.MouseUpAction (var: HRl) +message MouseUpAction { + MouseButton button = 1; +} + +// Copied from: local:aiserver.v1.MoveOrganizationMemberToTeamRequest (var: buu) +message MoveOrganizationMemberToTeamRequest { + string organization_id = 1; + int32 user_id = 2; + int32 destination_team_id = 3; +} + +// Copied from: local:aiserver.v1.MoveOrganizationMemberToTeamResponse (var: _uu) +message MoveOrganizationMemberToTeamResponse { + bool moved = 1; +} + +// Copied from: local:aiserver.v1.MoveUserMcpServerToTeamRequest (var: Jhu) +message MoveUserMcpServerToTeamRequest { + string server_name = 1; + int32 team_id = 2; +} + +// Copied from: local:aiserver.v1.MoveUserMcpServerToTeamResponse (var: epu) +message MoveUserMcpServerToTeamResponse { +} + +// Copied from: local:aiserver.v1.MultiRepoEnvironmentReusePolicy (var: ZOs) +enum MultiRepoEnvironmentReusePolicy { + MULTI_REPO_ENVIRONMENT_REUSE_POLICY_UNSPECIFIED = 0; + MULTI_REPO_ENVIRONMENT_REUSE_POLICY_SAME_SCOPE_ONLY = 1; + MULTI_REPO_ENVIRONMENT_REUSE_POLICY_ALLOW_TEAM_NAMED_FOR_PERSONAL = 2; +} + +// Copied from: agent.v1.NameAgentRequest (var: eAs) +message NameAgentRequest { + string user_message = 1; +} + +// Copied from: agent.v1.NameAgentResponse (var: tAs) +message NameAgentResponse { + string name = 1; +} + +// Copied from: local:aiserver.v1.NameTabRequest (var: _Is) +message NameTabRequest { + repeated ConversationMessage messages = 1; + bool is_project = 2; + string conversation_id = 6; + bool is_side_chat = 7; + oneof credentials { + ApiKeyCredentials api_key_credentials = 3; + AzureCredentials azure_credentials = 4; + BedrockCredentials bedrock_credentials = 5; + } +} + +// Copied from: local:aiserver.v1.NameTabResponse (var: yIs) +message NameTabResponse { + string name = 1; + string reason = 2; + string icon = 3; +} + +// Copied from: local:aiserver.v1.NamedAgent (var: oPu) +message NamedAgent { + string named_agent_id = 1; + string home_bc_id = 2; + string name = 3; + optional BackgroundComposerParticipant creator = 4; + double created_at_ms = 5; + double updated_at_ms = 6; + bool pinned = 7; + optional NamedAgentProfile profile = 8; +} + +// Copied from: local:aiserver.v1.NamedAgentProfile (var: uMi) +message NamedAgentProfile { + optional string profile_picture_url = 1; +} + +// Copied from: local:aiserver.v1.NamedAgentSession (var: sPu) +message NamedAgentSession { + string named_agent_id = 1; + string bc_id = 2; + string session_key = 3; + string session_kind = 4; + double created_at_ms = 10; + double updated_at_ms = 11; + optional double last_awakened_at_ms = 12; + optional string slack_channel_id = 13; + optional string slack_channel_name = 14; + optional string slack_permalink = 15; +} + +// Copied from: local:aiserver.v1.NeedsPrivacyModeMigrationRequest (var: Rwu) +message NeedsPrivacyModeMigrationRequest { +} + +// Copied from: local:aiserver.v1.NeedsPrivacyModeMigrationResponse (var: Dwu) +message NeedsPrivacyModeMigrationResponse { + bool needs_migration = 1; +} + +// Copied from: agent.v1.NetworkPolicy (var: XTl) +message NetworkPolicy { + // Copied from: agent.v1.NetworkPolicy.DefaultAction (var: JTl) + 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: agent.v1.NetworkPolicyLoggingConfig (var: ZTl) +message NetworkPolicyLoggingConfig { + optional string decision_log_path = 1; + optional string log_format = 2; +} + +// Copied from: local:aiserver.v1.NetworkingMode (var: Ukn) +enum NetworkingMode { + NETWORKING_MODE_UNSPECIFIED = 0; + NETWORKING_MODE_USER_CONTROLLED = 1; + NETWORKING_MODE_ALWAYS_DISABLED = 2; +} + +// Copied from: agent.v1.NewCloudVmTarget (var: O4l) +message NewCloudVmTarget { + optional string environment_build_id = 1; + optional string base_branch = 2; +} + +// Copied from: local:aiserver.v1.NewDocumentationRequest (var: wpo) +message NewDocumentationRequest { + string doc_identifier = 1; + DocumentationMetadata metadata = 2; + repeated string ignore_prefixes = 4; + repeated string ignore_urls = 5; + optional string custom_instructions = 6; + optional bool publish_to_team = 7; + optional bool client_handles_uuid = 8; +} + +// Copied from: local:aiserver.v1.NewEditParams (var: ybs) +message NewEditParams { + string relative_workspace_path = 1; + optional int32 start_line_number = 2; + optional int32 end_line_number = 3; + string text = 4; + string edit_id = 5; + bool first_edit = 6; +} + +// Copied from: local:aiserver.v1.NewEditResult (var: Sbs) +message NewEditResult { +} + +// Copied from: local:aiserver.v1.NewFileParams (var: ebs) +message NewFileParams { + string relative_workspace_path = 1; +} + +// Copied from: local:aiserver.v1.NewFileResult (var: pbs) +message NewFileResult { + string relative_workspace_path = 1; + int32 file_total_lines = 2; +} + +// Copied from: local:aiserver.v1.NextTurnSystemReminderEntry (var: $p) +message NextTurnSystemReminderEntry { + NextTurnSystemReminderKind kind = 1; + string reminder = 2; +} + +// Copied from: local:aiserver.v1.NextTurnSystemReminderKind (var: $r) +enum NextTurnSystemReminderKind { + NEXT_TURN_SYSTEM_REMINDER_KIND_UNSPECIFIED = 0; + NEXT_TURN_SYSTEM_REMINDER_KIND_PR_TITLE_EDITED = 1; + NEXT_TURN_SYSTEM_REMINDER_KIND_PR_DESCRIPTION_EDITED = 2; +} + +// Copied from: local:aiserver.v1.NextTurnSystemRemindersWrapper (var: Zp) +message NextTurnSystemRemindersWrapper { + repeated NextTurnSystemReminderEntry reminders = 1; +} + +// Copied from: local:aiserver.v1.NoZdrModelConsentStatusEntry (var: nku) +message NoZdrModelConsentStatusEntry { + string model_id = 1; + string consent_version = 2; + string accepted_at = 3; +} + +// Copied from: local:aiserver.v1.NodeResult (var: nRl) +message NodeResult { + IndexFileData.NodeData node = 1; + File file = 2; + float score = 3; +} + +// Copied from: local:aiserver.v1.NotifyBackgroundComposerShownRequest (var: xDu) +message NotifyBackgroundComposerShownRequest { + string bc_id = 1; +} + +// Copied from: local:aiserver.v1.NotifyBackgroundComposerShownResponse (var: TDu) +message NotifyBackgroundComposerShownResponse { +} + +// Copied from: local:aiserver.v1.NotifySandAgentTurnFinishedRequest (var: Pqd) +message NotifySandAgentTurnFinishedRequest { + string agent_id = 1; + string agent_name = 2; + string message_preview = 3; + string last_message_id = 4; + bool awaiting_user_response = 5; + repeated string member_agent_ids = 7; + string sender_agent_id = 8; +} + +// Copied from: local:aiserver.v1.NotifySandAgentTurnFinishedResponse (var: Lqd) +message NotifySandAgentTurnFinishedResponse { +} + +// Copied from: local:aiserver.v1.NotifyTeamAdminsRepo (var: $Ns) +message NotifyTeamAdminsRepo { + int64 installation_id = 1; + string repo_node_id = 2; + string owner = 3; + string name = 4; +} + +// Copied from: local:aiserver.v1.NotifyTeamAdminsRequest (var: Z0u) +message NotifyTeamAdminsRequest { + int32 team_id = 1; + AdminNotificationRequestType request_type = 2; + repeated NotifyTeamAdminsRepo repos = 3; + optional string ghe_application = 4; +} + +// Copied from: local:aiserver.v1.NotifyTeamAdminsResponse (var: X0u) +message NotifyTeamAdminsResponse { + bool success = 1; + optional string error_message = 2; +} + +// Copied from: local:aiserver.v1.NtpEvent (var: G7l) +message NtpEvent { + double originate_timestamp = 1; + double receive_timestamp = 2; + double transmit_timestamp = 3; + double destination_timestamp = 4; +} + +// Copied from: local:aiserver.v1.NudgeMessage (var: Hfs) +message NudgeMessage { + string raw_message = 1; +} + +// Copied from: local:aiserver.v1.OffboardingBanner (var: X1u) +message OffboardingBanner { + string id = 1; + string severity = 2; + string message_key = 3; + optional int64 countdown_date_epoch_millis = 4; + bool dismissible = 5; + string flow_type = 6; + string phase_id = 7; + optional string action_url = 8; +} + +// Copied from: local:aiserver.v1.OnboardingChecklistItem (var: Bfv) +message OnboardingChecklistItem { + string item_id = 1; + string title = 2; + string subtitle = 3; + OnboardingChecklistSurface surface = 4; + OnboardingChecklistItemStatus status = 5; +} + +// Copied from: local:aiserver.v1.OnboardingChecklistItemStatus (var: Ffv) +enum OnboardingChecklistItemStatus { + ONBOARDING_CHECKLIST_ITEM_STATUS_UNSPECIFIED = 0; + ONBOARDING_CHECKLIST_ITEM_STATUS_PENDING = 1; + ONBOARDING_CHECKLIST_ITEM_STATUS_COMPLETED = 2; + ONBOARDING_CHECKLIST_ITEM_STATUS_DISMISSED = 3; +} + +// Copied from: local:aiserver.v1.OnboardingChecklistSurface (var: nQd) +enum OnboardingChecklistSurface { + ONBOARDING_CHECKLIST_SURFACE_UNSPECIFIED = 0; + ONBOARDING_CHECKLIST_SURFACE_WEB = 1; + ONBOARDING_CHECKLIST_SURFACE_GLASS = 2; + ONBOARDING_CHECKLIST_SURFACE_IDE = 3; + ONBOARDING_CHECKLIST_SURFACE_CLI = 4; + ONBOARDING_CHECKLIST_SURFACE_MOBILE = 5; +} + +// Copied from: local:aiserver.v1.OnboardingConfig (var: P8u) +message OnboardingConfig { + repeated string marketplace_plugin_names = 1; + bool agentic_onboarding_enabled = 2; +} + +// Copied from: local:aiserver.v1.OneIndexedPosition (var: VBt) +message OneIndexedPosition { + int32 line_number_one_indexed = 1; + int32 column_one_indexed = 2; +} + +// Copied from: local:aiserver.v1.OnlineMetricsConfig (var: s8u) +message OnlineMetricsConfig { + bool enabled = 1; + int32 max_requests_tracked = 2; + int32 max_requests_tracked_mb = 3; + double max_request_retention_seconds = 4; + bool send_original_file_contents_for_initial_snapshot = 5; + bool send_full_added_lines_in_diff_changes = 6; + int32 num_commits_tracked = 7; + repeated int32 time_intervals_tracked_minutes = 8; + int32 too_big_file_size_bytes = 9; +} + +// Copied from: local:aiserver.v1.OpenFileRequest (var: wuv) +message OpenFileRequest { + string content = 2; + string absolute_path = 1; +} + +// Copied from: local:aiserver.v1.OpenFileResponse (var: kuv) +message OpenFileResponse { + string absolute_path = 1; +} + +// Copied from: local:aiserver.v1.OpenPRBackgroundComposerRequest (var: iPu) +message OpenPRBackgroundComposerRequest { + string bc_id = 1; + optional string title = 2; + optional string body = 3; + optional string base_branch = 4; + optional bool draft = 5; + optional bool open_as_cursor_github_app = 6; + optional bool skip_reviewer_request = 7; + bytes agent_state_blob_id = 8; + optional string workflow_id = 9; + optional string branch_name = 10; + optional string repo_url = 11; +} + +// Copied from: local:aiserver.v1.OpenPRBackgroundComposerResponse (var: rPu) +message OpenPRBackgroundComposerResponse { + string pr_url = 1; + int32 pr_number = 2; + string branch_name = 3; + string base_branch = 4; + bool success = 5; + optional string error = 6; +} + +// Copied from: local:aiserver.v1.OpenUrlCallToAction (var: ecu) +message OpenUrlCallToAction { + string url = 1; + string button_text = 2; +} + +// Copied from: local:aiserver.v1.OptOutNewPricingRequest (var: i1u) +message OptOutNewPricingRequest { + bool opt_in = 1; +} + +// Copied from: local:aiserver.v1.OptOutNewPricingResponse (var: r1u) +message OptOutNewPricingResponse { +} + +// Copied from: local:aiserver.v1.OptimizedDiffState (var: uBs) +message OptimizedDiffState { + optional string branch_name = 3; + optional string base_branch = 4; + optional string repo_url = 5; + oneof state { + google.protobuf.Empty pending = 1; + bytes diff_blob_id = 2; + } +} + +// Copied from: local:aiserver.v1.Opus2ChainApplyPlanRequest (var: vgv) +message Opus2ChainApplyPlanRequest { + string relative_workspace_path = 1; + string file_contents = 2; + int32 implementation_start_line_inclusive = 3; + int32 implementation_end_line_inclusive = 4; + string apply_plan = 5; +} + +// Copied from: local:aiserver.v1.Opus2ChainApplyPlanResponse (var: bgv) +message Opus2ChainApplyPlanResponse { + string text = 1; +} + +// Copied from: local:aiserver.v1.Opus2ChainPlanRequest (var: Rgv) +message Opus2ChainPlanRequest { + // Copied from: local:aiserver.v1.Opus2ChainPlanRequest.BranchDiff (var: Mgv) + message BranchDiff { + // Copied from: local:aiserver.v1.Opus2ChainPlanRequest.BranchDiff.FileDiff (var: Pgv) + message FileDiff { + string file_name = 1; + string diff = 2; + bool too_big = 3; + } + + repeated FileDiff file_diffs = 1; + repeated Commit commits = 2; + } + + // Copied from: local:aiserver.v1.Opus2ChainPlanRequest.CodebaseInformation (var: Lgv) + message CodebaseInformation { + // Copied from: local:aiserver.v1.Opus2ChainPlanRequest.CodebaseInformation.File (var: Ngv) + message File { + string relative_workspace_path = 1; + string contents = 2; + repeated int32 interesting_lines = 3; + } + + // Copied from: local:aiserver.v1.Opus2ChainPlanRequest.CodebaseInformation.QA (var: Ogv) + message QA { + string question = 1; + string answer = 2; + } + + repeated File files = 1; + repeated QA qa = 2; + } + + // Copied from: local:aiserver.v1.Opus2ChainPlanRequest.File (var: GKd) + message File { + string relative_workspace_path = 1; + string text = 2; + } + + // Copied from: local:aiserver.v1.Opus2ChainPlanRequest.OpusPlanVersion (var: Dgv) + enum OpusPlanVersion { + OPUS_PLAN_VERSION_UNSPECIFIED = 0; + OPUS_PLAN_VERSION_V0 = 1; + OPUS_PLAN_VERSION_V1_MORE_CONTEXT_AND_GUIDELINES = 2; + } + + string relative_workspace_path = 1; + string file_contents = 2; + int32 implementation_start_line_inclusive = 3; + int32 implementation_end_line_inclusive = 4; + repeated CppFileDiffHistory diff_history = 5; + repeated int32 call_site_lines = 6; + string function_name = 7; + CmdKDebugInfo debug_info = 9; + HallucinatedFunctionsProtoPrompt prompt = 20; + string branch_notes = 10; + string branch_name = 11; + repeated CodeResult scored_codebase_context = 12; + BranchDiff diff_to_base_branch = 13; + repeated File branch_diff_files = 16; + repeated File diff_history_files = 14; + optional CodebaseInformation codebase_information = 8; + OpusPlanVersion plan_version = 15; + ContextAST context_ast = 17; +} + +// Copied from: local:aiserver.v1.Opus2ChainPlanResponse (var: Fgv) +message Opus2ChainPlanResponse { + string text = 1; +} + +// Copied from: local:aiserver.v1.Opus2ChainReflectRequest (var: wgv) +message Opus2ChainReflectRequest { + string relative_workspace_path = 1; + string old_file_contents = 2; + int32 implementation_start_line_inclusive = 3; + int32 implementation_end_line_inclusive = 4; + repeated string new_implementation_lines = 5; + repeated int32 call_site_lines = 6; + string function_name = 7; + string branch_notes = 8; + string branch_name = 9; + GetLintsForChangeResponse lints = 10; +} + +// Copied from: local:aiserver.v1.Opus2ChainReflectResponse (var: kgv) +message Opus2ChainReflectResponse { + // Copied from: local:aiserver.v1.Opus2ChainReflectResponse.AcceptDecision (var: Cgv) + message AcceptDecision { + } + + // Copied from: local:aiserver.v1.Opus2ChainReflectResponse.Decision (var: Tgv) + message Decision { + oneof decision { + Opus2ChainReflectResponse.AcceptDecision accept = 1; + Opus2ChainReflectResponse.RetryWithoutMoreInformationDecision retry_without_more_information = 2; + Opus2ChainReflectResponse.RetryWithCodebaseQuestionDecision retry_with_codebase_question = 3; + } + } + + // Copied from: local:aiserver.v1.Opus2ChainReflectResponse.RetryWithCodebaseQuestionDecision (var: xgv) + message RetryWithCodebaseQuestionDecision { + repeated string codebase_questions = 1; + } + + // Copied from: local:aiserver.v1.Opus2ChainReflectResponse.RetryWithoutMoreInformationDecision (var: Egv) + message RetryWithoutMoreInformationDecision { + } + + string text = 1; + Decision decision = 2; +} + +// Copied from: local:aiserver.v1.OpusChainGetFileInstructionRequest (var: flv) +message OpusChainGetFileInstructionRequest { + string relative_workspace_path = 1; + string high_level_ai_answer = 2; +} + +// Copied from: local:aiserver.v1.OpusChainGetFileInstructionResponse (var: vlv) +message OpusChainGetFileInstructionResponse { + string file_instruction = 1; +} + +// Copied from: local:aiserver.v1.OpusChainGetFilePathsRequest (var: alv) +message OpusChainGetFilePathsRequest { + string ans = 1; +} + +// Copied from: local:aiserver.v1.OpusChainGetFilePathsResponse (var: clv) +message OpusChainGetFilePathsResponse { + // Copied from: local:aiserver.v1.OpusChainGetFilePathsResponse.Path (var: llv) + message Path { + string raw_path = 1; + repeated int32 interesting_lines = 2; + } + + repeated Path paths = 1; +} + +// Copied from: local:aiserver.v1.OpusChainGetPlanRequest (var: blv) +message OpusChainGetPlanRequest { + // Copied from: local:aiserver.v1.OpusChainGetPlanRequest.CodebaseInformation (var: _lv) + message CodebaseInformation { + // Copied from: local:aiserver.v1.OpusChainGetPlanRequest.CodebaseInformation.File (var: ylv) + message File { + string relative_workspace_path = 1; + string contents = 2; + repeated int32 interesting_lines = 3; + } + + // Copied from: local:aiserver.v1.OpusChainGetPlanRequest.CodebaseInformation.QA (var: Slv) + message QA { + string question = 1; + string answer = 2; + } + + repeated File files = 1; + repeated QA qa = 2; + } + + string relative_workspace_path = 1; + string file_contents = 2; + string branch_notes = 3; + string branch_name = 4; + string high_level_ai_answer = 5; + string originating_reflection = 9; + optional string override_model = 6; + optional int32 override_token_limit = 7; + repeated CodeResult scored_codebase_context = 15; + optional CodebaseInformation codebase_information = 8; +} + +// Copied from: local:aiserver.v1.OpusChainGetPlanResponse (var: wlv) +message OpusChainGetPlanResponse { + string text = 1; +} + +// Copied from: local:aiserver.v1.OpusChainReflectRequest (var: ulv) +message OpusChainReflectRequest { + string relative_workspace_path = 1; + string old_file_contents = 2; + string new_file_contents = 3; + string patch_string = 9; + string branch_notes = 4; + string branch_name = 5; + string high_level_ai_answer = 6; + optional string override_model = 7; + optional int32 override_token_limit = 8; + GetLintsForChangeResponse lints = 10; +} + +// Copied from: local:aiserver.v1.OpusChainReflectResponse (var: dlv) +message OpusChainReflectResponse { + // Copied from: local:aiserver.v1.OpusChainReflectResponse.AcceptDecision (var: hlv) + message AcceptDecision { + } + + // Copied from: local:aiserver.v1.OpusChainReflectResponse.Decision (var: glv) + message Decision { + oneof decision { + OpusChainReflectResponse.AcceptDecision accept = 1; + OpusChainReflectResponse.RetryWithoutMoreInformationDecision retry_without_more_information = 2; + OpusChainReflectResponse.RetryWithCodebaseQuestionDecision retry_with_codebase_question = 3; + } + } + + // Copied from: local:aiserver.v1.OpusChainReflectResponse.RetryWithCodebaseQuestionDecision (var: mlv) + message RetryWithCodebaseQuestionDecision { + repeated string codebase_questions = 1; + } + + // Copied from: local:aiserver.v1.OpusChainReflectResponse.RetryWithoutMoreInformationDecision (var: plv) + message RetryWithoutMoreInformationDecision { + } + + string text = 1; + Decision decision = 2; +} + +// Copied from: local:aiserver.v1.OrgTeamBudget (var: Emu) +message OrgTeamBudget { + int32 team_id = 1; + string team_name = 2; + optional int32 limit_dollars = 3; + int32 current_spend_cents = 4; +} + +// Copied from: local:aiserver.v1.OrganizationApiKey (var: Hgu) +message OrganizationApiKey { + string id = 1; + string masked_key = 2; + string name = 3; + int64 created_at = 4; + repeated string scopes = 5; +} + +// Copied from: local:aiserver.v1.OrganizationGroup (var: qkn) +message OrganizationGroup { + int64 id = 1; + string name = 2; + string organization_id = 3; + int64 created_at = 4; + int64 updated_at = 5; + int32 member_count = 6; + string public_id = 7; + optional int32 monthly_spending_limit_dollars = 8; + bool ant_cyber_approved = 9; + optional AnthropicCyberVerificationStatus ant_cyber_verification_status = 10; + GroupVisibility visibility = 11; +} + +// Copied from: local:aiserver.v1.OrganizationGroupMember (var: u2s) +message OrganizationGroupMember { + int32 user_id = 1; + optional string email = 2; + optional string first_name = 3; + optional string last_name = 4; + int64 joined_at = 5; + bool is_admin = 6; + optional int32 monthly_spending_limit_dollars = 7; +} + +// Copied from: local:aiserver.v1.OrganizationIdentityProvider (var: o2s) +message OrganizationIdentityProvider { + string public_id = 1; + bool is_default = 2; + string status = 3; + repeated OrganizationIdentityProviderUsedByTeam used_by_teams = 4; + string description = 5; + OrganizationIdentityProviderSsoSettings sso = 6; + OrganizationIdentityProviderDomains domains = 7; + OrganizationIdentityProviderScimSettings scim = 8; + OrganizationIdentityProviderDomainJoinSettings domain_join = 9; +} + +// Copied from: local:aiserver.v1.OrganizationIdentityProviderDomainJoinSettings (var: nuu) +message OrganizationIdentityProviderDomainJoinSettings { + bool enabled = 1; + repeated string allowed_domains = 2; +} + +// Copied from: local:aiserver.v1.OrganizationIdentityProviderDomains (var: euu) +message OrganizationIdentityProviderDomains { + repeated string verified = 1; + repeated string pending = 2; + string verify_link = 3; +} + +// Copied from: local:aiserver.v1.OrganizationIdentityProviderScimSettings (var: tuu) +message OrganizationIdentityProviderScimSettings { + bool connected = 1; + string summary = 2; + string manage_link = 3; +} + +// Copied from: local:aiserver.v1.OrganizationIdentityProviderSsoSettings (var: Jlu) +message OrganizationIdentityProviderSsoSettings { + bool connected = 1; + string summary = 2; + string manage_link = 3; +} + +// Copied from: local:aiserver.v1.OrganizationIdentityProviderUsedByTeam (var: Xlu) +message OrganizationIdentityProviderUsedByTeam { + string team_public_id = 1; + string team_name = 2; +} + +// Copied from: local:aiserver.v1.OrganizationMember (var: s2s) +message OrganizationMember { + int32 user_id = 1; + string auth_id = 2; + optional string email = 3; + optional string first_name = 4; + optional string last_name = 5; + UserOrganizationRole role = 6; + repeated OrganizationMemberTeam teams = 7; + string member_public_id = 8; +} + +// Copied from: local:aiserver.v1.OrganizationMemberGroup (var: Qlu) +message OrganizationMemberGroup { + string group_public_id = 1; + string group_name = 2; + int64 joined_at = 3; + bool is_admin = 4; + optional int32 monthly_spending_limit_dollars = 5; +} + +// Copied from: local:aiserver.v1.OrganizationMemberTeam (var: Glu) +message OrganizationMemberTeam { + int32 team_id = 1; + string team_name = 2; + string team_slug = 3; + TeamRole team_role = 4; +} + +// Copied from: local:aiserver.v1.OrganizationMemberTeamMove (var: c2s) +message OrganizationMemberTeamMove { + string email = 1; + int32 destination_team_id = 2; + optional string destination_team_name = 3; +} + +// Copied from: local:aiserver.v1.OrganizationMergeIdpBlocker (var: huu) +message OrganizationMergeIdpBlocker { + string code = 1; + string message = 2; +} + +// Copied from: local:aiserver.v1.OrganizationMergeIdpRequestInfo (var: a2s) +message OrganizationMergeIdpRequestInfo { + string request_public_id = 1; + string status = 2; + optional string current_phase = 3; + optional string source_identity_provider_public_id = 4; + optional string target_identity_provider_public_id = 5; + optional int32 total_users = 6; + int32 processed_users = 7; + int32 moved_membership_count = 8; + int32 skipped_membership_count = 9; + int32 failed_membership_count = 10; + optional string last_error = 11; + int64 created_at_ms = 12; + optional int64 started_at_ms = 13; + optional int64 completed_at_ms = 14; + optional int64 source_deletion_eligible_at_ms = 15; +} + +// Copied from: local:aiserver.v1.OrganizationTeamAdminCandidate (var: $uu) +message OrganizationTeamAdminCandidate { + int32 user_id = 1; + string email = 2; + string first_name = 3; + string last_name = 4; +} + +// Copied from: local:aiserver.v1.OutputLocation (var: Gbs) +message OutputLocation { + string file_path = 1; + int64 size_bytes = 2; + int64 line_count = 3; +} + +// Copied from: local:aiserver.v1.OwnerFilter (var: dFs) +message OwnerFilter { + repeated OwnerIdentifier owners = 1; +} + +// Copied from: local:aiserver.v1.OwnerIdentifier (var: AMu) +message OwnerIdentifier { + string id = 1; + OwnerType owner_type = 2; +} + +// Copied from: local:aiserver.v1.OwnerType (var: YRu) +enum OwnerType { + OWNER_TYPE_UNSPECIFIED = 0; + OWNER_TYPE_USER = 1; + OWNER_TYPE_SERVICE_ACCOUNT = 2; +} + +// Copied from: local:aiserver.v1.P2PReferralHistoryEntry (var: wvu) +message P2PReferralHistoryEntry { + string referee_label = 1; + string display_status = 2; + int64 credit_cents_earned = 3; + int64 created_at_ms = 4; +} + +// Copied from: local:aiserver.v1.PRCheck (var: sRu) +message PRCheck { + string name = 1; + string status = 2; + optional string details_url = 3; + optional string summary = 4; + optional string started_at = 5; + optional string completed_at = 6; + optional string provider = 7; + optional string provider_check_id = 8; + bool can_rerun = 9; + optional string rerun_disabled_reason = 10; + repeated PRCheckAnnotation annotations = 11; + bool annotations_truncated = 12; + bool is_required = 13; +} + +// Copied from: local:aiserver.v1.PRCheckAnnotation (var: rRu) +message PRCheckAnnotation { + string path = 1; + optional int32 start_line = 2; + optional int32 end_line = 3; + optional string annotation_level = 4; + optional string title = 5; + string message = 6; +} + +// Copied from: local:aiserver.v1.PRCheckStatus (var: tMi) +message PRCheckStatus { + string overall_state = 1; + int32 success_count = 2; + int32 failure_count = 3; + int32 pending_count = 4; + int32 neutral_count = 5; + int32 skipped_count = 6; + int32 total_count = 7; + repeated PRCheck checks = 8; + optional int32 required_failure_count = 9; + optional int32 required_pending_count = 10; +} + +// Copied from: local:aiserver.v1.PRCommit (var: rOu) +message PRCommit { + string sha = 1; + string message = 2; + string committed_date = 3; + int32 additions = 4; + int32 deletions = 5; + optional int32 changed_files = 6; + PRCommitUser author = 7; + PRCommitUser committer = 8; + repeated PRCommitUser authors = 9; +} + +// Copied from: local:aiserver.v1.PRCommitUser (var: yMi) +message PRCommitUser { + optional string name = 1; + optional string email = 2; + optional string avatar_url = 3; +} + +// Copied from: local:aiserver.v1.PRDeploymentPreview (var: XNu) +message PRDeploymentPreview { + string environment = 1; + PRDeploymentState state = 2; + PRDeploymentPreviewStatus latest_status = 3; +} + +// Copied from: local:aiserver.v1.PRDeploymentPreviewStatus (var: ZNu) +message PRDeploymentPreviewStatus { + string environment_url = 1; + string log_url = 2; + PRDeploymentStatusState state = 3; +} + +// Copied from: local:aiserver.v1.PRDeploymentState (var: lDu) +enum PRDeploymentState { + PR_DEPLOYMENT_STATE_UNSPECIFIED = 0; + PR_DEPLOYMENT_STATE_UNKNOWN = 1; + PR_DEPLOYMENT_STATE_PENDING = 2; + PR_DEPLOYMENT_STATE_QUEUED = 3; + PR_DEPLOYMENT_STATE_IN_PROGRESS = 4; + PR_DEPLOYMENT_STATE_SUCCESS = 5; + PR_DEPLOYMENT_STATE_FAILURE = 6; + PR_DEPLOYMENT_STATE_ERROR = 7; + PR_DEPLOYMENT_STATE_INACTIVE = 8; + PR_DEPLOYMENT_STATE_WAITING = 9; + PR_DEPLOYMENT_STATE_ACTIVE = 10; + PR_DEPLOYMENT_STATE_ABANDONED = 11; + PR_DEPLOYMENT_STATE_DESTROYED = 12; + PR_DEPLOYMENT_STATE_BLOCKED = 13; + PR_DEPLOYMENT_STATE_CANCELED = 14; +} + +// Copied from: local:aiserver.v1.PRDeploymentStatusState (var: uDu) +enum PRDeploymentStatusState { + PR_DEPLOYMENT_STATUS_STATE_UNSPECIFIED = 0; + PR_DEPLOYMENT_STATUS_STATE_UNKNOWN = 1; + PR_DEPLOYMENT_STATUS_STATE_PENDING = 2; + PR_DEPLOYMENT_STATUS_STATE_QUEUED = 3; + PR_DEPLOYMENT_STATUS_STATE_IN_PROGRESS = 4; + PR_DEPLOYMENT_STATUS_STATE_SUCCESS = 5; + PR_DEPLOYMENT_STATUS_STATE_FAILURE = 6; + PR_DEPLOYMENT_STATUS_STATE_ERROR = 7; + PR_DEPLOYMENT_STATUS_STATE_INACTIVE = 8; + PR_DEPLOYMENT_STATUS_STATE_WAITING = 9; + PR_DEPLOYMENT_STATUS_STATE_BLOCKED = 10; + PR_DEPLOYMENT_STATUS_STATE_CANCELED = 11; +} + +// Copied from: local:aiserver.v1.PRDiffChunkPointer (var: ERl) +message PRDiffChunkPointer { + string file_path = 1; + int32 start_line_number_zero_indexed = 2; + int32 end_line_number_zero_indexed_exclusive = 3; +} + +// Copied from: local:aiserver.v1.PRRequestedReviewer (var: eOu) +message PRRequestedReviewer { + string login = 1; + optional string name = 2; + optional string avatar_url = 3; + optional string kind = 4; +} + +// Copied from: local:aiserver.v1.PRReviewComment (var: nOu) +message PRReviewComment { + string id = 1; + string author_login = 2; + string avatar_url = 3; + string body = 4; + string created_at = 5; + optional string diff_hunk = 6; + optional string body_html = 7; + optional string author_name = 8; +} + +// Copied from: local:aiserver.v1.PRReviewSummary (var: JNu) +message PRReviewSummary { + string author_login = 1; + optional string author_name = 2; + optional string author_avatar_url = 3; + optional string state = 4; +} + +// Copied from: local:aiserver.v1.PRReviewThread (var: _Mi) +message PRReviewThread { + string id = 1; + string path = 2; + optional int32 line = 3; + optional int32 start_line = 4; + optional int32 original_line = 5; + optional int32 original_start_line = 6; + string diff_side = 7; + bool is_resolved = 8; + bool is_outdated = 9; + repeated PRReviewComment comments = 10; + optional string pull_request_review_id = 11; +} + +// Copied from: local:aiserver.v1.PRStatus (var: Aae) +enum PRStatus { + PR_STATUS_UNSPECIFIED = 0; + PR_STATUS_OPEN = 1; + PR_STATUS_DRAFT = 2; + PR_STATUS_MERGED = 3; + PR_STATUS_CLOSED = 4; +} + +// Copied from: local:aiserver.v1.PRTimelineActor (var: dOu) +message PRTimelineActor { + string login = 1; + optional string avatar_url = 2; + optional string name = 3; +} + +// Copied from: local:aiserver.v1.PRTimelineEvent (var: uOu) +message PRTimelineEvent { + string id = 1; + string event_type = 2; + string created_at = 3; + optional PRTimelineActor actor = 4; + optional string label = 5; + optional string body = 6; +} + +// Copied from: local:aiserver.v1.PRTopLevelComment (var: iOu) +message PRTopLevelComment { + string id = 1; + string author_login = 2; + string avatar_url = 3; + string body = 4; + string created_at = 5; + optional string body_html = 6; + optional string author_name = 7; +} + +// Copied from: local:aiserver.v1.PRUserOption (var: Cyu) +message PRUserOption { + string github_user_node_id = 1; + optional string github_username = 2; +} + +// Copied from: local:aiserver.v1.PackfileMetadata (var: Ddv) +message PackfileMetadata { + string pack_id = 1; + string content_sha256 = 2; + uint64 size_bytes = 3; +} + +// Copied from: local:aiserver.v1.PackfileUploadCompletion (var: Bdv) +message PackfileUploadCompletion { + // Copied from: local:aiserver.v1.PackfileUploadCompletion.DirectChunkedUpload (var: Udv) + message DirectChunkedUpload { + } + + oneof completion { + DirectChunkedUpload direct_chunked_upload = 1; + } +} + +// Copied from: local:aiserver.v1.PackfileUploadMethod (var: Mdv) +message PackfileUploadMethod { + // Copied from: local:aiserver.v1.PackfileUploadMethod.DirectChunkedUpload (var: Pdv) + message DirectChunkedUpload { + uint64 chunk_size_bytes = 1; + } + + oneof method { + DirectChunkedUpload direct_chunked_upload = 1; + } +} + +// Copied from: local:aiserver.v1.PagerDutyIncidentAcknowledgedEvent (var: bWu) +message PagerDutyIncidentAcknowledgedEvent { +} + +// Copied from: local:aiserver.v1.PagerDutyIncidentAnyEvent (var: SWu) +message PagerDutyIncidentAnyEvent { +} + +// Copied from: local:aiserver.v1.PagerDutyIncidentEscalatedEvent (var: yWu) +message PagerDutyIncidentEscalatedEvent { +} + +// Copied from: local:aiserver.v1.PagerDutyIncidentResolvedEvent (var: _Wu) +message PagerDutyIncidentResolvedEvent { +} + +// Copied from: local:aiserver.v1.PagerDutyIncidentTriggeredEvent (var: vWu) +message PagerDutyIncidentTriggeredEvent { +} + +// Copied from: local:aiserver.v1.PagerDutySamplePayload (var: A9s) +message PagerDutySamplePayload { + string incident_id = 1; + string event_type = 2; +} + +// Copied from: local:aiserver.v1.PagerDutyServiceInfo (var: bCu) +message PagerDutyServiceInfo { + string id = 1; + string name = 2; + string description = 3; + string status = 4; +} + +// Copied from: local:aiserver.v1.PagerDutyTrigger (var: fWu) +message PagerDutyTrigger { + repeated string service_ids = 6; + oneof event { + PagerDutyIncidentTriggeredEvent incident_triggered = 1; + PagerDutyIncidentAcknowledgedEvent incident_acknowledged = 2; + PagerDutyIncidentResolvedEvent incident_resolved = 3; + PagerDutyIncidentEscalatedEvent incident_escalated = 4; + PagerDutyIncidentAnyEvent incident_any = 5; + } +} + +// Copied from: local:aiserver.v1.Pages (var: Pbv) +message Pages { + repeated string pages = 1; + repeated string page_urls = 2; +} + +// Copied from: local:aiserver.v1.ParseGitHubRepoForPluginRequest (var: WDi) +message ParseGitHubRepoForPluginRequest { + string git_url = 1; + optional string git_ref = 2; + optional bool enforce_auth = 3; +} + +// Copied from: local:aiserver.v1.ParseGitHubRepoForPluginsResponse (var: HDi) +message ParseGitHubRepoForPluginsResponse { + string marketplace_name = 1; + string marketplace_description = 2; + string default_branch = 3; + string repository_url = 4; + repeated ParsedPluginEntry plugins = 5; + string commit_sha = 6; +} + +// Copied from: local:aiserver.v1.ParsePluginPublisherRepoInternalRequest (var: GTu) +message ParsePluginPublisherRepoInternalRequest { + string git_url = 1; + optional string git_ref = 2; + optional string release_tag = 3; + optional string release_asset = 4; +} + +// Copied from: local:aiserver.v1.ParsePluginPublisherRepoInternalResponse (var: qTu) +message ParsePluginPublisherRepoInternalResponse { + ParseGitHubRepoForPluginsResponse parsed_repo = 1; + optional string release_repo = 2; + optional string release_asset = 3; + optional string release_tag = 4; +} + +// Copied from: local:aiserver.v1.ParsedPluginEntry (var: dOs) +message ParsedPluginEntry { + string name = 1; + string display_name = 2; + string description = 3; + string git_path = 4; + repeated SkillDescriptor skills = 5; + repeated SubagentDescriptor subagents = 6; + repeated HookDescriptor hooks = 7; + repeated RuleDescriptor rules = 8; + repeated McpDescriptor mcp_servers = 9; + repeated CommandDescriptor commands = 10; + optional string logo_url = 11; + google.protobuf.Struct variables = 12; + optional string source_git_url = 13; + optional string source_git_ref = 14; + optional string parse_error = 15; + optional PluginMinClientVersions min_client_versions = 16; +} + +// Copied from: local:aiserver.v1.PartialPathItem (var: Dpe) +message PartialPathItem { + string relative_workspace_path = 1; + string hash_of_node = 2; +} + +// Copied from: agent.v1.PartialToolCallUpdate (var: RTi) +message PartialToolCallUpdate { + string call_id = 1; + ToolCall tool_call = 2; + string args_text_delta = 3; + string model_call_id = 4; +} + +// Copied from: local:aiserver.v1.PathKeyHashType (var: gfs) +enum PathKeyHashType { + PATH_KEY_HASH_TYPE_UNSPECIFIED = 0; + PATH_KEY_HASH_TYPE_SHA256 = 1; +} + +// Copied from: local:aiserver.v1.PauseBackgroundComposerRequest (var: fFs) +message PauseBackgroundComposerRequest { + string bc_id = 1; + BackgroundComposerSource source = 3; + optional string run_id = 4; +} + +// Copied from: local:aiserver.v1.PauseBackgroundComposerResponse (var: $Mu) +message PauseBackgroundComposerResponse { +} + +// Copied from: local:aiserver.v1.PausedInteractionStep (var: gf) +message PausedInteractionStep { + bytes step_context_blob_id = 1; + bytes agent_state_blob_id = 2; + bool is_time_limit_expired = 3; + bool use_step_separation = 4; + uint32 tool_call_index = 5; + uint32 query_id = 6; + string tool_call_id = 7; + int32 current_step_in_turn = 8; + bytes request_context_blob_id = 9; + repeated uint32 superseded_query_ids = 11; + optional int32 consecutive_shell_spawn_failure_count = 12; + optional string interaction_query_type = 13; +} + +// Copied from: local:aiserver.v1.PayableTeamInvoices (var: wwu) +message PayableTeamInvoices { + int32 team_id = 1; + string team_name = 2; + string subscription_status = 3; + repeated InvoiceInfo invoices = 4; +} + +// Copied from: local:aiserver.v1.PendingContextInjection (var: uf) +message PendingContextInjection { + string injection_id = 1; + string expected_run_id = 2; + int64 created_at_ms = 3; + BackgroundComposerSource source = 4; + ConversationActionReference conversation_action_ref = 5; + optional string delivery_batch_id = 6; +} + +// Copied from: local:aiserver.v1.PendingFollowup (var: uLu) +message PendingFollowup { + string followup_id = 1; + string text = 2; + string rich_text = 3; + int64 created_at_ms = 4; + BackgroundComposerSource source = 5; + repeated SelectedCursorCommand cursor_commands = 6; + bool cursor_commands_explicitly_set = 7; + repeated SelectedPastChat past_chats = 8; + bool past_chats_explicitly_set = 9; + optional ConversationAction conversation_action = 10; + repeated BlobData blob_data = 11; + optional bool use_experimental_model_opt_out = 12; +} + +// Copied from: local:aiserver.v1.PendingIdleFollowup (var: ff) +message PendingIdleFollowup { + string grouping_identifier = 1; + string followup_id = 2; + BackgroundComposerSource source = 3; + ConversationAction conversation_action = 4; + repeated string merged_followup_ids = 5; +} + +// Copied from: local:aiserver.v1.PendingPrivateWorkerRequest (var: AFu) +message PendingPrivateWorkerRequest { + string bc_id = 1; + int32 user_id = 2; + optional string service_account_id = 3; + optional string repo_owner = 4; + optional string repo_name = 5; + optional string repo_url = 6; + repeated PrivateWorkerLabel labels = 7; + double created_at_ms = 8; +} + +// Copied from: local:aiserver.v1.PendingPromotion (var: lf) +message PendingPromotion { + string followup_id = 1; + optional string expected_run_id = 2; + int64 created_at_ms = 3; +} + +// Copied from: local:aiserver.v1.PendingPullRequestData (var: ef) +message PendingPullRequestData { + string title = 1; + string body = 2; + string branch_name = 3; + optional string base_branch = 4; +} + +// Copied from: local:aiserver.v1.PendingSeatTierUpgradeRequest (var: pyu) +message PendingSeatTierUpgradeRequest { + int32 user_id = 1; + string name = 2; + string email = 3; + optional string profile_picture_url = 4; + TeamRole role = 5; + TeamMemberBillingTier billing_tier = 6; + string requested_at = 7; +} + +// Copied from: local:aiserver.v1.PendingUserAccessRequest (var: h_u) +message PendingUserAccessRequest { + int64 id = 1; + UserAccessRequestKind kind = 2; + int32 requester_user_id = 3; + string requester_name = 4; + string requester_email = 5; + google.protobuf.Timestamp requested_at = 6; + string summary = 7; +} + +// Copied from: local:aiserver.v1.PerformanceChunk (var: _qd) +message PerformanceChunk { + repeated MachineInfo machines = 1; + repeated ProcessInfo processes = 2; + repeated TestSuiteInfo suites = 3; + repeated TestCaseInfo cases = 4; + repeated IterationInfo iterations = 5; + repeated MetricSample metrics = 6; +} + +// Copied from: local:aiserver.v1.PerformanceData (var: tdv) +message PerformanceData { + InvocationInfo invocation = 1; + repeated MachineInfo machines = 2; + repeated ProcessInfo processes = 3; + repeated TestSuiteInfo suites = 4; + repeated TestCaseInfo cases = 5; + repeated IterationInfo iterations = 6; + repeated MetricSample metric_samples = 7; +} + +// Copied from: local:aiserver.v1.PerformanceEvent (var: q8s) +message PerformanceEvent { + PerformanceEventType event_type = 1; + google.protobuf.Timestamp timestamp = 2; + double performance_timestamp = 3; + optional double duration = 4; + optional string target_element = 5; + optional string target_class = 6; + optional string target_id = 7; + optional string target_aria_id = 26; + optional int32 client_x = 8; + optional int32 client_y = 9; + optional string key = 10; + optional string code = 11; + optional bool ctrl_key = 12; + optional bool alt_key = 13; + optional bool shift_key = 14; + optional bool meta_key = 15; + optional double scroll_x = 16; + optional double scroll_y = 17; + optional double scroll_delta_x = 18; + optional double scroll_delta_y = 19; + optional double render_start = 21; + optional double style_and_layout_start = 22; + optional double first_ui_event_timestamp = 23; + optional double blocking_duration = 24; + repeated ScriptTiming scripts = 25; + map metadata = 20; +} + +// Copied from: local:aiserver.v1.PerformanceEventType (var: QZu) +enum PerformanceEventType { + PERFORMANCE_EVENT_TYPE_UNSPECIFIED = 0; + PERFORMANCE_EVENT_TYPE_CLICK = 1; + PERFORMANCE_EVENT_TYPE_POINTER = 2; + PERFORMANCE_EVENT_TYPE_TOUCH = 3; + PERFORMANCE_EVENT_TYPE_KEYDOWN = 4; + PERFORMANCE_EVENT_TYPE_KEYUP = 5; + PERFORMANCE_EVENT_TYPE_SCROLL = 6; + PERFORMANCE_EVENT_TYPE_LONG_ANIMATION_FRAME = 7; + PERFORMANCE_EVENT_TYPE_MOUSEDOWN = 8; + PERFORMANCE_EVENT_TYPE_MOUSEUP = 9; +} + +// Copied from: local:aiserver.v1.PerformanceEventsConfig (var: E8u) +message PerformanceEventsConfig { + bool enabled = 1; + optional int32 buffer_size = 2; + optional int32 flush_interval_ms = 3; +} + +// Copied from: local:aiserver.v1.PerformanceMetric (var: t$s) +message PerformanceMetric { + google.protobuf.Timestamp timestamp = 1; + string name = 2; + double value = 3; + optional string unit = 4; + map metadata = 5; +} + +// Copied from: agent.v1.PermissionsAutoRunInstructions (var: _Bt) +message PermissionsAutoRunInstructions { + repeated string allow_instructions = 1; + repeated string block_instructions = 2; +} + +// Copied from: local:aiserver.v1.PersistentRecurringBuildFailure (var: x2u) +message PersistentRecurringBuildFailure { + uint32 consecutive_failed_count = 1; + int64 first_failed_at_ms = 2; + int64 last_failed_at_ms = 3; + string latest_failed_build_id = 4; +} + +// Copied from: local:aiserver.v1.PersonalEnvironment (var: i2u) +message PersonalEnvironment { + string repo_url = 1; + string environment_json = 2; + int64 created_at_ms = 3; + int64 updated_at_ms = 4; + int64 id = 5; + optional string environment_public_id = 6; +} + +// Copied from: agent.v1.Phase (var: $0s) +message Phase { + string name = 1; + repeated TodoItem todos = 2; +} + +// Copied from: agent.v1.PiBashExecArgs (var: wUl) +message PiBashExecArgs { + string command = 1; + optional double timeout = 2; +} + +// Copied from: agent.v1.PiBashExecError (var: EUl) +message PiBashExecError { + string error = 1; + optional PiTruncation truncation = 2; + optional string full_output_path = 3; +} + +// Copied from: agent.v1.PiBashExecResult (var: kUl) +message PiBashExecResult { + oneof result { + PiBashExecSuccess success = 1; + PiBashExecError error = 2; + } +} + +// Copied from: agent.v1.PiBashExecSuccess (var: CUl) +message PiBashExecSuccess { + string output = 1; + optional PiTruncation truncation = 2; + optional string full_output_path = 3; +} + +// Copied from: agent.v1.PiEditExecArgs (var: xUl) +message PiEditExecArgs { + string path = 1; + repeated PiEditReplacement edits = 2; +} + +// Copied from: agent.v1.PiEditExecError (var: IUl) +message PiEditExecError { + string error = 1; +} + +// Copied from: agent.v1.PiEditExecRejected (var: RUl) +message PiEditExecRejected { + string reason = 1; +} + +// Copied from: agent.v1.PiEditExecResult (var: TUl) +message PiEditExecResult { + oneof result { + PiEditExecSuccess success = 1; + PiEditExecError error = 2; + PiEditExecRejected rejected = 3; + } +} + +// Copied from: agent.v1.PiEditExecSuccess (var: AUl) +message PiEditExecSuccess { + string output = 1; + string diff = 2; + string patch = 3; + optional uint32 first_changed_line = 4; +} + +// Copied from: agent.v1.PiEditReplacement (var: _1s) +message PiEditReplacement { + string old_text = 1; + string new_text = 2; +} + +// Copied from: agent.v1.PiFindExecArgs (var: $Ul) +message PiFindExecArgs { + string pattern = 1; + optional string path = 2; + optional int32 limit = 3; +} + +// Copied from: agent.v1.PiFindExecError (var: HUl) +message PiFindExecError { + string error = 1; +} + +// Copied from: agent.v1.PiFindExecResult (var: jUl) +message PiFindExecResult { + oneof result { + PiFindExecSuccess success = 1; + PiFindExecError error = 2; + } +} + +// Copied from: agent.v1.PiFindExecSuccess (var: WUl) +message PiFindExecSuccess { + string output = 1; + optional PiTruncation truncation = 2; + optional uint32 result_limit_reached = 3; +} + +// Copied from: agent.v1.PiGrepExecArgs (var: OUl) +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: agent.v1.PiGrepExecError (var: UUl) +message PiGrepExecError { + string error = 1; +} + +// Copied from: agent.v1.PiGrepExecResult (var: FUl) +message PiGrepExecResult { + oneof result { + PiGrepExecSuccess success = 1; + PiGrepExecError error = 2; + } +} + +// Copied from: agent.v1.PiGrepExecSuccess (var: BUl) +message PiGrepExecSuccess { + string output = 1; + optional PiTruncation truncation = 2; + optional uint32 match_limit_reached = 3; + bool lines_truncated = 4; +} + +// Copied from: agent.v1.PiLsExecArgs (var: zUl) +message PiLsExecArgs { + optional string path = 1; + optional int32 limit = 2; +} + +// Copied from: agent.v1.PiLsExecError (var: qUl) +message PiLsExecError { + string error = 1; +} + +// Copied from: agent.v1.PiLsExecResult (var: VUl) +message PiLsExecResult { + oneof result { + PiLsExecSuccess success = 1; + PiLsExecError error = 2; + } +} + +// Copied from: agent.v1.PiLsExecSuccess (var: GUl) +message PiLsExecSuccess { + string output = 1; + optional PiTruncation truncation = 2; + optional uint32 entry_limit_reached = 3; +} + +// Copied from: agent.v1.PiReadExecArgs (var: bUl) +message PiReadExecArgs { + string path = 1; + optional int32 offset = 2; + optional int32 limit = 3; +} + +// Copied from: agent.v1.PiReadExecError (var: SUl) +message PiReadExecError { + string error = 1; +} + +// Copied from: agent.v1.PiReadExecResult (var: _Ul) +message PiReadExecResult { + oneof result { + PiReadExecSuccess success = 1; + PiReadExecError error = 2; + } +} + +// Copied from: agent.v1.PiReadExecSuccess (var: yUl) +message PiReadExecSuccess { + string output = 1; + optional PiTruncation truncation = 2; +} + +// Copied from: agent.v1.PiTruncation (var: gae) +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: agent.v1.PiWriteExecArgs (var: DUl) +message PiWriteExecArgs { + string path = 1; + string content = 2; +} + +// Copied from: agent.v1.PiWriteExecError (var: LUl) +message PiWriteExecError { + string error = 1; +} + +// Copied from: agent.v1.PiWriteExecRejected (var: NUl) +message PiWriteExecRejected { + string reason = 1; +} + +// Copied from: agent.v1.PiWriteExecResult (var: MUl) +message PiWriteExecResult { + oneof result { + PiWriteExecSuccess success = 1; + PiWriteExecError error = 2; + PiWriteExecRejected rejected = 3; + } +} + +// Copied from: agent.v1.PiWriteExecSuccess (var: PUl) +message PiWriteExecSuccess { + string output = 1; +} + +// Copied from: local:aiserver.v1.PinBackgroundComposersRequest (var: yFs) +message PinBackgroundComposersRequest { + repeated string bc_ids = 1; +} + +// Copied from: local:aiserver.v1.PinBackgroundComposersResponse (var: SPu) +message PinBackgroundComposersResponse { +} + +// Copied from: local:aiserver.v1.PingRequest (var: v_v) +message PingRequest { +} + +// Copied from: local:aiserver.v1.PingResponse (var: b_v) +message PingResponse { +} + +// Copied from: local:aiserver.v1.PlanChoice (var: n_c) +message PlanChoice { + string label = 1; + optional string sublabel = 2; + optional string description = 3; + string value = 4; +} + +// Copied from: local:aiserver.v1.PlanFollowupType (var: QOs) +enum PlanFollowupType { + PLAN_FOLLOWUP_TYPE_UNSPECIFIED = 0; + PLAN_FOLLOWUP_TYPE_PLAN = 1; + PLAN_FOLLOWUP_TYPE_EXECUTE = 2; +} + +// Copied from: local:aiserver.v1.PlanPhase (var: A_s) +message PlanPhase { + string name = 1; + repeated TodoItem todos = 2; +} + +// Copied from: agent.v1.PlanRegistryEntry (var: w9l) +message PlanRegistryEntry { + string id = 1; + string path = 2; +} + +// Copied from: local:aiserver.v1.PlanType (var: hQd) +enum PlanType { + PLAN_TYPE_UNSPECIFIED = 0; + PLAN_TYPE_FREE = 1; + PLAN_TYPE_FREE_TRIAL = 2; + PLAN_TYPE_PRO = 3; + PLAN_TYPE_PRO_STUDENT = 4; + PLAN_TYPE_PRO_PLUS = 5; + PLAN_TYPE_ULTRA = 6; + PLAN_TYPE_TEAM = 7; + PLAN_TYPE_ENTERPRISE = 8; +} + +// Copied from: local:aiserver.v1.PlatformActionEntry (var: jWu) +message PlatformActionEntry { + PlatformActionScope scope = 1; + int32 action_index = 2; + string action_type = 3; + PlatformActionStatus status = 4; + string error_message = 5; + map metadata = 6; + int64 timestamp = 8; +} + +// Copied from: local:aiserver.v1.PlatformActionScope (var: Dju) +enum PlatformActionScope { + PLATFORM_ACTION_SCOPE_UNSPECIFIED = 0; + PLATFORM_ACTION_SCOPE_WORKFLOW = 1; + PLATFORM_ACTION_SCOPE_TRIGGER = 2; +} + +// Copied from: local:aiserver.v1.PlatformActionStatus (var: Rju) +enum PlatformActionStatus { + PLATFORM_ACTION_STATUS_UNSPECIFIED = 0; + PLATFORM_ACTION_STATUS_PENDING = 1; + PLATFORM_ACTION_STATUS_SUCCESS = 2; + PLATFORM_ACTION_STATUS_ERROR = 3; + PLATFORM_ACTION_STATUS_SKIPPED = 4; +} + +// Copied from: local:aiserver.v1.PlatformActionsPayload (var: WWu) +message PlatformActionsPayload { + repeated PlatformActionEntry actions = 1; +} + +// Copied from: local:aiserver.v1.PlatformTriggerType (var: Mju) +enum PlatformTriggerType { + PLATFORM_TRIGGER_TYPE_UNSPECIFIED = 0; + PLATFORM_TRIGGER_TYPE_GIT = 1; + PLATFORM_TRIGGER_TYPE_SLACK = 2; + PLATFORM_TRIGGER_TYPE_LINEAR = 3; + PLATFORM_TRIGGER_TYPE_CRON = 4; + PLATFORM_TRIGGER_TYPE_WEBHOOK = 5; + PLATFORM_TRIGGER_TYPE_SLACK_CHANNEL_CREATED = 6; + PLATFORM_TRIGGER_TYPE_PAGERDUTY = 7; + PLATFORM_TRIGGER_TYPE_SENTRY = 8; + PLATFORM_TRIGGER_TYPE_MICROSOFT_TEAMS = 9; + PLATFORM_TRIGGER_TYPE_MICROSOFT_TEAMS_CHANNEL_CREATED = 10; + PLATFORM_TRIGGER_TYPE_SLACK_REACTION_ADDED = 11; +} + +// Copied from: local:aiserver.v1.Plugin (var: tR) +message Plugin { + int64 id = 1; + string name = 2; + string display_name = 3; + string description = 4; + PluginStatus status = 6; + optional string repository_url = 8; + repeated string tags = 9; + optional string logo_url = 10; + optional string primary_color = 11; + bool is_published = 12; + int64 created_at = 13; + int64 updated_at = 14; + optional int64 publisher_id = 16; + optional Publisher publisher = 17; + bool is_deprecated = 18; + optional string deprecation_message = 19; + optional int64 deprecated_at = 20; + optional int64 replaced_by_plugin_id = 21; + optional int64 marketplace_id = 22; + optional Marketplace marketplace = 23; + string git_url = 24; + optional string git_ref = 25; + optional string git_path = 26; + string full_ref = 27; + repeated SkillDescriptor skills = 28; + repeated SubagentDescriptor subagents = 29; + repeated HookDescriptor hooks = 30; + repeated RuleDescriptor rules = 31; + repeated McpDescriptor mcp_servers = 32; + repeated CommandDescriptor commands = 33; + optional string release_repo = 34; + optional string release_asset = 35; + optional string release_tag = 36; + repeated string curated_category_keys = 37; + google.protobuf.Struct variables = 38; + optional TeamMarketplacePluginInstallMode team_marketplace_install_mode = 39; + google.protobuf.Struct team_marketplace_configured_variables = 40; + PluginLifecycleState lifecycle_state = 41; + optional PluginMinClientVersions min_client_versions = 42; + bool published_by_user = 43; +} + +// Copied from: local:aiserver.v1.PluginLifecycleState (var: IP) +enum PluginLifecycleState { + PLUGIN_LIFECYCLE_STATE_UNSPECIFIED = 0; + PLUGIN_LIFECYCLE_STATE_PUBLIC_LISTED = 1; + PLUGIN_LIFECYCLE_STATE_PUBLIC_UNLISTED = 2; + PLUGIN_LIFECYCLE_STATE_PUBLIC_DRAFT = 3; + PLUGIN_LIFECYCLE_STATE_PUBLIC_PENDING = 4; + PLUGIN_LIFECYCLE_STATE_PUBLIC_REJECTED = 5; + PLUGIN_LIFECYCLE_STATE_PUBLISHER_SUBMISSION = 6; + PLUGIN_LIFECYCLE_STATE_PRIVATE_ACTIVE = 7; + PLUGIN_LIFECYCLE_STATE_PUBLIC_DEPRECATED = 10; + PLUGIN_LIFECYCLE_STATE_PRIVATE_DEPRECATED = 11; + PLUGIN_LIFECYCLE_STATE_PUBLIC_INVALID = 12; + PLUGIN_LIFECYCLE_STATE_PRIVATE_INVALID = 13; + PLUGIN_LIFECYCLE_STATE_PRIVATE_PUBLISHED = 14; +} + +// Copied from: local:aiserver.v1.PluginMcpConfigEntry (var: Qpu) +message PluginMcpConfigEntry { + string config_json = 1; + string commit_sha = 2; +} + +// Copied from: local:aiserver.v1.PluginMinClientVersions (var: BDi) +message PluginMinClientVersions { + optional string cursor = 1; + optional string sand = 2; +} + +// Copied from: local:aiserver.v1.PluginPrimitiveType (var: kqe) +enum PluginPrimitiveType { + PLUGIN_PRIMITIVE_TYPE_UNSPECIFIED = 0; + PLUGIN_PRIMITIVE_TYPE_SKILL = 1; + PLUGIN_PRIMITIVE_TYPE_MCP = 2; + PLUGIN_PRIMITIVE_TYPE_SUBAGENT = 3; + PLUGIN_PRIMITIVE_TYPE_COMMAND = 4; +} + +// Copied from: local:aiserver.v1.PluginPrimitiveUsageInterval (var: Cqe) +enum PluginPrimitiveUsageInterval { + PLUGIN_PRIMITIVE_USAGE_INTERVAL_UNSPECIFIED = 0; + PLUGIN_PRIMITIVE_USAGE_INTERVAL_LAST_1W = 1; + PLUGIN_PRIMITIVE_USAGE_INTERVAL_ALL_TIME = 2; + PLUGIN_PRIMITIVE_USAGE_INTERVAL_LAST_1D = 3; + PLUGIN_PRIMITIVE_USAGE_INTERVAL_LAST_14D = 4; + PLUGIN_PRIMITIVE_USAGE_INTERVAL_LAST_90D = 5; + PLUGIN_PRIMITIVE_USAGE_INTERVAL_LAST_30D = 6; +} + +// Copied from: local:aiserver.v1.PluginRef (var: SOs) +message PluginRef { + string name = 1; + optional string marketplace_name = 2; +} + +// Copied from: local:aiserver.v1.PluginStatus (var: une) +enum PluginStatus { + PLUGIN_STATUS_UNSPECIFIED = 0; + PLUGIN_STATUS_DRAFT = 1; + PLUGIN_STATUS_PENDING_APPROVAL = 2; + PLUGIN_STATUS_APPROVED = 3; + PLUGIN_STATUS_REJECTED = 4; + PLUGIN_STATUS_UNLISTED = 5; +} + +// Copied from: anyrun.v1.PodCreatingPhase (var: Bau) +enum PodCreatingPhase { + POD_CREATING_PHASE_UNSPECIFIED = 0; + POD_CREATING_PHASE_CLONE = 1; + POD_CREATING_PHASE_BUILD = 2; + POD_CREATING_PHASE_POST_CREATE = 3; + POD_CREATING_PHASE_UPDATE_CONTENT = 4; + POD_CREATING_PHASE_POST_START = 5; + POD_CREATING_PHASE_QUEUED = 6; +} + +// Copied from: anyrun.v1.PodCreatingStatus (var: jau) +message PodCreatingStatus { + PodCreatingPhase phase = 1; +} + +// Copied from: anyrun.v1.PodErrorEvent (var: Cau) +message PodErrorEvent { + string error_message = 1; +} + +// Copied from: anyrun.v1.PodEvent (var: rDi) +message PodEvent { + uint64 creation_timestamp = 49; + oneof payload { + PodErrorEvent error = 26; + string debug_event = 1; + google.protobuf.Empty hydration_started = 43; + HydrationProgress hydration_progress = 44; + google.protobuf.Empty hydration_completed = 45; + google.protobuf.Empty clone_started = 31; + google.protobuf.Empty clone_completed = 32; + CloneStarted clone_started_v2 = 51; + CloneCompleted clone_completed_v2 = 52; + google.protobuf.Empty checkout_started = 33; + google.protobuf.Empty checkout_completed = 34; + string build_started = 2; + string build_status_message = 3; + BuildStepStarted build_step_started = 27; + BuildStatusLine build_status_line = 28; + InternalBuildMessage internal_build_message = 29; + int32 build_exit_code = 30; + string prepare_stdout = 14; + string prepare_stderr = 15; + int64 prepare_exit_code = 16; + InstallCommand install_command = 50; + string install_stdout = 17; + string install_stderr = 18; + int64 install_exit_code = 19; + string verify_stdout = 46; + string verify_stderr = 47; + int64 verify_exit_code = 48; + string start_stdout = 6; + string start_stderr = 7; + int64 start_exit_code = 8; + FeatureOutput extension_install_stdout = 20; + FeatureOutput extension_install_stderr = 21; + FeatureExitCode extension_install_exit_code = 22; + google.protobuf.Empty snapshot_started = 35; + google.protobuf.Empty snapshot_completed = 36; + google.protobuf.Empty creation_completed = 9; + string post_start_stdout = 10; + string post_start_stderr = 11; + int64 post_start_exit_code = 12; + FeatureOutput extension_start_stdout = 23; + FeatureOutput extension_start_stderr = 24; + FeatureExitCode extension_start_exit_code = 25; + google.protobuf.Empty startup_completed = 13; + ImagePullStarted image_pull_started = 37; + ImagePullLayerUpdate image_pull_layer_update = 38; + ImagePullStatusUpdate image_pull_status_update = 39; + ImagePullCompleted image_pull_completed = 40; + PodIdentity blocked_repo_state = 41; + google.protobuf.Empty acquired_repo_state = 42; + google.protobuf.Empty private_worker_ready = 53; + WaitingForWorkerStatus waiting_for_worker = 54; + SpanStarted span_started = 55; + SpanEnded span_ended = 56; + LifecycleProcessRestarted lifecycle_process_restarted = 57; + LifecycleProcessExited lifecycle_process_exited = 58; + } +} + +// Copied from: anyrun.v1.PodFailedStatus (var: Hau) +message PodFailedStatus { + string reason = 1; + optional PodFailureDetails failure_details = 2; +} + +// Copied from: anyrun.v1.PodFailureDetails (var: Vau) +message PodFailureDetails { + oneof details { + InstallCommandFailure install_command_failure = 1; + DockerBuildFailure docker_build_failure = 2; + GitCloneFailure git_clone_failure = 3; + GitCheckoutFailure git_checkout_failure = 4; + ContainerWaitFailure container_wait_failure = 5; + ImagePullFailure image_pull_failure = 6; + } +} + +// Copied from: anyrun.v1.PodIdentity (var: vau) +message PodIdentity { + string tenant_id = 1; + string pod_id = 2; +} + +// Copied from: local:aiserver.v1.PodReference (var: LLu) +message PodReference { + string pod_id = 1; + string tenant_id = 2; + string network_token = 3; + string cluster = 4; + optional string exec_daemon_auth_token = 5; + optional string pty_auth_token = 6; +} + +// Copied from: anyrun.v1.PodRunningStatus (var: Wau) +message PodRunningStatus { + optional uint64 missed_heartbeat_deadline = 1; +} + +// Copied from: anyrun.v1.PodStatus (var: wLs) +message PodStatus { + oneof status { + PodCreatingStatus creating = 1; + PodRunningStatus running = 2; + PodFailedStatus failed = 3; + PodTerminatedStatus terminated = 4; + } +} + +// Copied from: anyrun.v1.PodTerminatedStatus (var: zau) +message PodTerminatedStatus { + string reason = 1; + optional uint32 exit_code = 2; +} + +// Copied from: local:aiserver.v1.PointInTimeModel (var: OL) +message PointInTimeModel { + string model_uuid = 1; + int32 model_version = 2; + string relative_path = 3; + string model_id = 4; +} + +// Copied from: local:aiserver.v1.PollLoginRequest (var: dt) +message PollLoginRequest { +} + +// Copied from: local:aiserver.v1.PollLoginResponse (var: pt) +message PollLoginResponse { + // Copied from: local:aiserver.v1.PollLoginResponse.Status (var: B) + enum Status { + STATUS_UNSPECIFIED = 0; + STATUS_LOGGED_IN = 1; + STATUS_FAILURE = 2; + STATUS_CHECKING = 3; + } + + Status status = 1; +} + +// Copied from: agent.v1.PostCommentAction (var: iBl) +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: agent.v1.PostRequestPromptUpdate (var: H9l) +message PostRequestPromptUpdate { + string title = 1; + string message = 2; + string button_label = 3; + string button_url = 4; +} + +// Copied from: agent.v1.PostToolUseFailureRequestQuery (var: u6l) +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: agent.v1.PostToolUseFailureRequestResponse (var: d6l) +message PostToolUseFailureRequestResponse { + optional string additional_context = 1; +} + +// Copied from: agent.v1.PostToolUseRequestQuery (var: c6l) +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: agent.v1.PostToolUseRequestResponse (var: l6l) +message PostToolUseRequestResponse { + optional string additional_context = 1; +} + +// Copied from: local:aiserver.v1.PotentialLocsInitialQueriesRequest (var: yql) +message PotentialLocsInitialQueriesRequest { + string query = 1; +} + +// Copied from: local:aiserver.v1.PotentialLocsInitialQueriesResponse (var: Sql) +message PotentialLocsInitialQueriesResponse { + string hyde_query = 1; +} + +// Copied from: local:aiserver.v1.PotentialLocsRequest (var: Cql) +message PotentialLocsRequest { + string text = 1; +} + +// Copied from: local:aiserver.v1.PotentialLocsResponse (var: Eql) +message PotentialLocsResponse { + string potential_loc = 1; +} + +// Copied from: local:aiserver.v1.PotentialLocsUnderneathRequest (var: wql) +message PotentialLocsUnderneathRequest { + string file = 1; + repeated SimplestRange ranges = 2; + string query = 3; +} + +// Copied from: local:aiserver.v1.PotentialLocsUnderneathResponse (var: kql) +message PotentialLocsUnderneathResponse { + string text = 1; +} + +// Copied from: local:aiserver.v1.PotentiallyCachedContextItem (var: LGe) +message PotentiallyCachedContextItem { + oneof item { + ContextItem context_item = 1; + string context_item_hash = 2; + } +} + +// Copied from: local:aiserver.v1.PotentiallyGenerateMemoryRequest (var: CYl) +message PotentiallyGenerateMemoryRequest { + string request_id = 1; + repeated ConversationMessage conversation = 2; + optional string git_upstream_url = 3; + string composer_id = 4; +} + +// Copied from: local:aiserver.v1.PotentiallyGenerateMemoryResponse (var: EYl) +message PotentiallyGenerateMemoryResponse { + optional string saved_memory = 1; + optional string knowledge_id = 2; + optional string title = 3; +} + +// Copied from: local:aiserver.v1.PrCodeTourRevisionInfo (var: kMu) +message PrCodeTourRevisionInfo { + string revision_id = 1; + PrCodeTourRevisionSource source = 2; + string feedback = 3; + PrCodeTourRevisionStatus status = 4; + string markdown = 5; + string error_message = 6; + int64 created_at_ms = 7; + int64 updated_at_ms = 8; + string head_sha = 9; + string base_sha = 10; + string stack_id = 11; + repeated PrCodeTourStackMember stack_members = 12; + string range_base_sha = 13; + string range_head_sha = 14; +} + +// Copied from: local:aiserver.v1.PrCodeTourRevisionSource (var: QRu) +enum PrCodeTourRevisionSource { + PR_CODE_TOUR_REVISION_SOURCE_UNSPECIFIED = 0; + PR_CODE_TOUR_REVISION_SOURCE_AGENT = 1; +} + +// Copied from: local:aiserver.v1.PrCodeTourRevisionStatus (var: KRu) +enum PrCodeTourRevisionStatus { + PR_CODE_TOUR_REVISION_STATUS_UNSPECIFIED = 0; + PR_CODE_TOUR_REVISION_STATUS_GENERATING = 1; + PR_CODE_TOUR_REVISION_STATUS_COMPLETE = 2; + PR_CODE_TOUR_REVISION_STATUS_ERROR = 3; +} + +// Copied from: local:aiserver.v1.PrCodeTourStackMember (var: wMu) +message PrCodeTourStackMember { + string pr_url = 1; + string head_sha = 2; +} + +// Copied from: local:aiserver.v1.PrCommentAction (var: MWu) +message PrCommentAction { + bool minimize_previous_comments = 1; + bool allow_inline_comments = 2; + bool resolve_stale_threads = 3; + bool allow_approve = 4; +} + +// Copied from: agent.v1.PrManagementArgs (var: a1s) +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: agent.v1.PrManagementError (var: Yxi) +message PrManagementError { + string error = 1; +} + +// Copied from: agent.v1.PrManagementNeedsConfirmation (var: lBl) +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: agent.v1.PrManagementRegistered (var: cBl) +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: agent.v1.PrManagementRejected (var: c1s) +message PrManagementRejected { + string reason = 1; +} + +// Copied from: agent.v1.PrManagementRequestQuery (var: dBl) +message PrManagementRequestQuery { + PrManagementArgs args = 1; +} + +// Copied from: agent.v1.PrManagementResult (var: dBt) +message PrManagementResult { + oneof result { + PrManagementSuccess success = 1; + PrManagementError error = 2; + PrManagementRejected rejected = 3; + PrManagementRegistered registered = 4; + PrManagementNeedsConfirmation needs_confirmation = 5; + } +} + +// Copied from: agent.v1.PrManagementSuccess (var: aBl) +message PrManagementSuccess { + string pr_url = 1; + int32 pr_number = 2; + string message = 3; +} + +// Copied from: local:aiserver.v1.PrReviewOpenDestinationMode (var: iD) +enum PrReviewOpenDestinationMode { + PR_REVIEW_OPEN_DESTINATION_MODE_UNSPECIFIED = 0; + PR_REVIEW_OPEN_DESTINATION_MODE_GITHUB = 1; + PR_REVIEW_OPEN_DESTINATION_MODE_GRAPHITE = 2; + PR_REVIEW_OPEN_DESTINATION_MODE_REVIEW_CURSOR = 3; +} + +// Copied from: local:aiserver.v1.PrReviewOpenSurfaceMode (var: wqe) +enum PrReviewOpenSurfaceMode { + PR_REVIEW_OPEN_SURFACE_MODE_UNSPECIFIED = 0; + PR_REVIEW_OPEN_SURFACE_MODE_IN_APP = 1; + PR_REVIEW_OPEN_SURFACE_MODE_EXTERNAL_BROWSER = 2; +} + +// Copied from: agent.v1.PreCompactRequestQuery (var: V9l) +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: agent.v1.PreCompactRequestResponse (var: G9l) +message PreCompactRequestResponse { + optional string user_message = 1; +} + +// Copied from: local:aiserver.v1.PreFetchedBlob (var: q7) +message PreFetchedBlob { + bytes id = 1; + bytes value = 2; +} + +// Copied from: local:aiserver.v1.PreFetchedBlobFilter (var: EFs) +message PreFetchedBlobFilter { + uint32 seed = 1; + uint32 segment_length = 2; + uint32 segment_count = 3; + uint32 fingerprint_bits = 4; + uint32 slot_count = 5; + bytes packed_fingerprints = 6; +} + +// Copied from: agent.v1.PreToolUseRequestQuery (var: o6l) +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: agent.v1.PreToolUseRequestResponse (var: a6l) +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:aiserver.v1.PreWarmPodRequest (var: aFs) +message PreWarmPodRequest { + StartBackgroundComposerFromSnapshotRequest start_request = 1; +} + +// Copied from: local:aiserver.v1.PreWarmPodResponse (var: YDu) +message PreWarmPodResponse { +} + +// Copied from: agent.v1.PrecomputedHumanChange (var: l4l) +message PrecomputedHumanChange { + string path = 1; + repeated PrecomputedHumanChangeRenderedDiff rendered_diffs = 2; + bool is_new_file = 3; + bool is_deleted_file = 4; +} + +// Copied from: agent.v1.PrecomputedHumanChangeRenderedDiff (var: c4l) +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:aiserver.v1.PreferredRepoSourceMode (var: sme) +enum PreferredRepoSourceMode { + PREFERRED_REPO_SOURCE_MODE_UNSPECIFIED = 0; + PREFERRED_REPO_SOURCE_MODE_GITHUB = 1; + PREFERRED_REPO_SOURCE_MODE_ORIGIN = 2; +} + +// Copied from: local:aiserver.v1.PrefillPromptPayload (var: Kfv) +message PrefillPromptPayload { + string prompt = 1; +} + +// Copied from: local:aiserver.v1.PreflightMergeOrganizationIdentityProviderRequest (var: duu) +message PreflightMergeOrganizationIdentityProviderRequest { + string organization_id = 1; + string source_identity_provider_public_id = 2; +} + +// Copied from: local:aiserver.v1.PreflightMergeOrganizationIdentityProviderResponse (var: puu) +message PreflightMergeOrganizationIdentityProviderResponse { + bool can_merge = 1; + repeated OrganizationMergeIdpBlocker blockers = 2; +} + +// Copied from: local:aiserver.v1.PreloadEditRequest (var: KGl) +message PreloadEditRequest { + StreamEditRequest req = 1; +} + +// Copied from: local:aiserver.v1.PreloadEditResponse (var: QGl) +message PreloadEditResponse { +} + +// Copied from: local:aiserver.v1.PrepareGithubConnectFlowRequest (var: Vcu) +message PrepareGithubConnectFlowRequest { + // Copied from: local:aiserver.v1.PrepareGithubConnectFlowRequest.Source (var: Gcu) + enum Source { + SOURCE_UNSPECIFIED = 0; + SOURCE_GLASS_CLOUD_AGENT = 1; + SOURCE_GLASS_DIFF = 2; + SOURCE_GLASS_AUTOMATIONS = 3; + } + + string github_repo = 1; + optional string ghe_application = 2; + Source source = 3; + string verifier_hash = 4; + bool force_oauth = 5; + optional ScmConnectIntentTarget connect_target = 6; + optional ScmConnectIntentSource connect_source = 7; +} + +// Copied from: local:aiserver.v1.PrepareGithubConnectFlowResponse (var: qcu) +message PrepareGithubConnectFlowResponse { + string flow_id = 1; + string state = 2; + string github_url = 3; + int64 expires_at_ms = 4; + bool should_install = 5; + optional string ghe_application = 6; +} + +// Copied from: local:aiserver.v1.PrepareLocalFullSelfDrivingRunRequest (var: Zru) +message PrepareLocalFullSelfDrivingRunRequest { + string pr_url = 1; + FullSelfDrivingMode mode = 2; + optional string trigger_description = 3; + optional string model_id = 4; +} + +// Copied from: local:aiserver.v1.PrepareLocalFullSelfDrivingRunResponse (var: Xru) +message PrepareLocalFullSelfDrivingRunResponse { + string local_run_id = 1; + string prompt = 2; + string triage_context_json = 3; + FullSelfDrivingMode mode = 4; + string model_id = 5; + repeated string skill_ids = 6; + repeated AgentSkill skills = 7; +} + +// Copied from: local:aiserver.v1.PrepareSetupGithubEnterpriseAppRequest (var: Zcu) +message PrepareSetupGithubEnterpriseAppRequest { + string hostname = 1; + optional string external_host = 2; +} + +// Copied from: local:aiserver.v1.PrepareSetupGithubEnterpriseAppResponse (var: Xcu) +message PrepareSetupGithubEnterpriseAppResponse { + string pending_app_uuid = 1; + string serialized_manifest = 2; +} + +// Copied from: local:aiserver.v1.PresignAgentStoreReadsRequest (var: pBu) +message PresignAgentStoreReadsRequest { + string agent_id = 1; + repeated string rel_paths = 2; + optional string share_id = 3; + optional string store_id = 4; +} + +// Copied from: local:aiserver.v1.PresignAgentStoreReadsResponse (var: mBu) +message PresignAgentStoreReadsResponse { + repeated AgentStoreReadInstruction instructions = 1; +} + +// Copied from: local:aiserver.v1.PresignAgentStoreWritesRequest (var: SBu) +message PresignAgentStoreWritesRequest { + string agent_id = 1; + repeated AgentStoreWriteFileEntry files = 2; + optional string store_id = 3; + optional string lock_token = 4; + optional string lock_client_uuid = 5; +} + +// Copied from: local:aiserver.v1.PresignAgentStoreWritesResponse (var: wBu) +message PresignAgentStoreWritesResponse { + repeated AgentStoreWriteInstruction instructions = 1; +} + +// Copied from: local:aiserver.v1.PresignPromptUploadRequest (var: _Bs) +message PresignPromptUploadRequest { + string filename = 1; + string mime_type = 2; + int64 content_length_bytes = 3; + optional int32 team_id = 4; +} + +// Copied from: local:aiserver.v1.PresignPromptUploadResponse (var: NBu) +message PresignPromptUploadResponse { + // Copied from: local:aiserver.v1.PresignPromptUploadResponse.Multipart (var: OBu) + message Multipart { + string s3_upload_id = 1; + repeated PromptUploadPart parts = 2; + int64 part_size_bytes = 3; + } + + string upload_id = 1; + int64 urls_expire_at_ms = 3; + oneof upload { + Multipart multipart = 5; + } +} + +// Copied from: local:aiserver.v1.PresignSandBoxStoreReadsRequest (var: UKd) +message PresignSandBoxStoreReadsRequest { + repeated string rel_paths = 1; +} + +// Copied from: local:aiserver.v1.PresignSandBoxStoreReadsResponse (var: $Kd) +message PresignSandBoxStoreReadsResponse { + repeated SandBoxStoreReadInstruction instructions = 1; +} + +// Copied from: local:aiserver.v1.PresignSandBoxStoreWritesRequest (var: MKd) +message PresignSandBoxStoreWritesRequest { + repeated SandBoxStoreWriteFile files = 1; +} + +// Copied from: local:aiserver.v1.PresignSandBoxStoreWritesResponse (var: PKd) +message PresignSandBoxStoreWritesResponse { + repeated SandBoxStoreWriteInstruction instructions = 1; +} + +// Copied from: local:aiserver.v1.PreviewAttachGroupToDirectoryRequest (var: C0u) +message PreviewAttachGroupToDirectoryRequest { + int32 group_id = 1; + int32 team_id = 2; + int32 directory_group_id = 3; + optional GroupType type = 4; +} + +// Copied from: local:aiserver.v1.PreviewAttachGroupToDirectoryResponse (var: T0u) +message PreviewAttachGroupToDirectoryResponse { + repeated GroupMemberChange changes = 1; + int32 members_to_add = 2; + int32 members_to_remove = 3; + string directory_group_name = 4; + int32 members_skipped_due_to_conflict = 5; + repeated ConflictedUser conflicted_users = 6; +} + +// Copied from: local:aiserver.v1.PreviewMigrateReindexPluginRepoInternalRequest (var: tAu) +message PreviewMigrateReindexPluginRepoInternalRequest { + int64 publisher_id = 1; + string from_git_url = 2; + string to_git_url = 3; + optional string git_ref = 4; + optional string release_tag = 5; +} + +// Copied from: local:aiserver.v1.PreviewMigrateReindexPluginRepoResponse (var: nAu) +message PreviewMigrateReindexPluginRepoResponse { + string publisher_name = 1; + string from_git_url = 2; + string to_git_url = 3; + string git_url = 4; + string git_ref = 5; + string commit_sha = 6; + repeated ReindexPluginDiff plugin_diffs = 7; + ReindexSummary summary = 8; + repeated string conflicting_names = 9; + repeated string target_repo_name_conflicts = 10; + repeated string deprecated_source_name_conflicts = 11; + bool can_apply = 12; +} + +// Copied from: local:aiserver.v1.PreviewReindexPluginRepoInternalRequest (var: YTu) +message PreviewReindexPluginRepoInternalRequest { + int64 publisher_id = 1; + string git_url = 2; + optional string git_ref = 3; + optional string pinned_git_ref = 4; + optional string release_tag = 5; +} + +// Copied from: local:aiserver.v1.PreviewReindexPluginRepoResponse (var: QTu) +message PreviewReindexPluginRepoResponse { + string publisher_name = 1; + string git_url = 2; + string git_ref = 3; + string commit_sha = 4; + repeated ReindexPluginDiff plugin_diffs = 5; + ReindexSummary summary = 6; + int32 new_commit_count = 7; + repeated string conflicting_names = 8; +} + +// Copied from: local:aiserver.v1.PreviewTeamMarketplaceMcpImpactRequest (var: POs) +message PreviewTeamMarketplaceMcpImpactRequest { + // Copied from: local:aiserver.v1.PreviewTeamMarketplaceMcpImpactRequest.RemoveMarketplacePreview (var: NOs) + message RemoveMarketplacePreview { + } + + // Copied from: local:aiserver.v1.PreviewTeamMarketplaceMcpImpactRequest.SetPoliciesPreview (var: LOs) + message SetPoliciesPreview { + repeated SetTeamMarketplacePluginPoliciesRequest.Policy policies = 1; + } + + int64 marketplace_id = 1; + optional int32 team_id = 2; + oneof action { + SetPoliciesPreview set_policies = 3; + RemoveMarketplacePreview remove_marketplace = 4; + } +} + +// Copied from: local:aiserver.v1.PreviewTeamMarketplaceMcpImpactResponse (var: tIu) +message PreviewTeamMarketplaceMcpImpactResponse { + // Copied from: local:aiserver.v1.PreviewTeamMarketplaceMcpImpactResponse.ImpactedPlugin (var: nIu) + message ImpactedPlugin { + int64 plugin_id = 1; + string plugin_name = 2; + repeated string mcp_server_names = 3; + } + + repeated ImpactedPlugin impacted_plugins = 1; +} + +// Copied from: local:aiserver.v1.PrivacyCheckRequest (var: DGl) +message PrivacyCheckRequest { +} + +// Copied from: local:aiserver.v1.PrivacyCheckResponse (var: MGl) +message PrivacyCheckResponse { + bool is_on_privacy_pod = 1; + bool is_ghost_mode_on = 2; +} + +// Copied from: local:aiserver.v1.PrivacyMode (var: vl) +enum PrivacyMode { + PRIVACY_MODE_UNSPECIFIED = 0; + PRIVACY_MODE_NO_STORAGE = 1; + PRIVACY_MODE_NO_TRAINING = 2; + PRIVACY_MODE_USAGE_DATA_TRAINING_ALLOWED = 3; + PRIVACY_MODE_USAGE_CODEBASE_TRAINING_ALLOWED = 4; +} + +// Copied from: local:aiserver.v1.PrivacyModeCacheInfo (var: iCn) +message PrivacyModeCacheInfo { + PrivacyMode privacy_mode = 1; + bool is_enforced_by_team = 2; +} + +// Copied from: local:aiserver.v1.PrivateWorker (var: kMi) +message PrivateWorker { + string worker_id = 1; + string repo_owner = 2; + string repo_name = 3; + string workspace_root_path = 4; + double connected_at_ms = 5; + int32 user_id = 6; + optional int32 team_id = 7; + optional string service_account_id = 8; + bool is_in_use = 9; + optional string active_bc_id = 10; + repeated PrivateWorkerLabel labels = 11; + optional string repo_url = 12; + optional string display_name = 13; + optional string machine_id = 14; + optional string machine_display_name = 15; + repeated PrivateWorkerRepo repos = 16; +} + +// Copied from: local:aiserver.v1.PrivateWorkerLabel (var: Iae) +message PrivateWorkerLabel { + string key = 1; + string value = 2; +} + +// Copied from: local:aiserver.v1.PrivateWorkerListScope (var: tFs) +enum PrivateWorkerListScope { + PRIVATE_WORKER_LIST_SCOPE_UNSPECIFIED = 0; + PRIVATE_WORKER_LIST_SCOPE_ALL = 1; + PRIVATE_WORKER_LIST_SCOPE_TEAM_POOL = 2; + PRIVATE_WORKER_LIST_SCOPE_PERSONAL = 3; +} + +// Copied from: local:aiserver.v1.PrivateWorkerOwnerFilter (var: CMi) +message PrivateWorkerOwnerFilter { + int32 owner_cursor_user_id = 1; +} + +// Copied from: local:aiserver.v1.PrivateWorkerPool (var: MFu) +message PrivateWorkerPool { + PrivateWorkerPoolScope scope = 1; + int32 owner_id = 2; + string pool_name = 3; + optional string repo_owner = 4; + optional string repo_name = 5; + optional string repo_url = 6; + int32 connected_worker_count = 7; + int32 in_use_worker_count = 8; + double first_seen_at_ms = 9; + double last_seen_at_ms = 10; + bool is_stale = 11; +} + +// Copied from: local:aiserver.v1.PrivateWorkerPoolScope (var: oMi) +enum PrivateWorkerPoolScope { + PRIVATE_WORKER_POOL_SCOPE_UNSPECIFIED = 0; + PRIVATE_WORKER_POOL_SCOPE_USER = 1; + PRIVATE_WORKER_POOL_SCOPE_TEAM = 2; +} + +// Copied from: local:aiserver.v1.PrivateWorkerRepo (var: DFu) +message PrivateWorkerRepo { + string owner = 1; + string name = 2; + string url = 3; +} + +// Copied from: local:aiserver.v1.PrivateWorkerStatusFilter (var: mDu) +enum PrivateWorkerStatusFilter { + PRIVATE_WORKER_STATUS_FILTER_UNSPECIFIED = 0; + PRIVATE_WORKER_STATUS_FILTER_ALL = 1; + PRIVATE_WORKER_STATUS_FILTER_IN_USE = 2; + PRIVATE_WORKER_STATUS_FILTER_IDLE = 3; +} + +// Copied from: anyrun.v1.PrivateWorkerWaitReason (var: bBe) +enum PrivateWorkerWaitReason { + PRIVATE_WORKER_WAIT_REASON_UNSPECIFIED = 0; + PRIVATE_WORKER_WAIT_REASON_NO_CONNECTED_WORKERS = 1; + PRIVATE_WORKER_WAIT_REASON_LABEL_MISMATCH = 2; + PRIVATE_WORKER_WAIT_REASON_OWNER_FILTERED = 3; + PRIVATE_WORKER_WAIT_REASON_SHARED_ASSIGNMENT_FILTERED = 4; + PRIVATE_WORKER_WAIT_REASON_ALL_BUSY = 5; +} + +// Copied from: local:aiserver.v1.PrivateWorkspaceIdentifier (var: Iqe) +message PrivateWorkspaceIdentifier { + string id = 1; + string uri = 2; +} + +// Copied from: local:aiserver.v1.ProbeMcpUrlRequest (var: Jpu) +message ProbeMcpUrlRequest { + string url = 1; + map headers = 2; + optional string oauth_redirect_uri = 3; + optional string auth_client_id = 4; + optional string auth_client_secret = 5; +} + +// Copied from: local:aiserver.v1.ProbeMcpUrlResponse (var: emu) +message ProbeMcpUrlResponse { + bool is_available = 1; + bool requires_auth = 2; + optional string auth_url = 3; + optional string error = 4; +} + +// Copied from: local:aiserver.v1.ProcessInfo (var: mqd) +message ProcessInfo { + string local_id = 1; + string machine_local_id = 2; + int32 pid = 3; + optional string name = 4; + optional string arch = 5; + optional int32 start_ms = 6; + optional google.protobuf.Struct metadata = 7; +} + +// Copied from: local:aiserver.v1.ProcessMetricsRowRequest (var: fYl) +message ProcessMetricsRowRequest { + int32 pid = 1; + int32 ppid = 2; + string name = 3; + string extension_id = 4; + int64 cpu_time_ms_sample = 5; + double sample_avg_mem_mb = 6; + double sample_peak_mem_mb = 7; + double session_peak_mem_mb = 8; + optional string process_name_hash = 9; +} + +// Copied from: local:aiserver.v1.ProcessMetricsV2RowRequest (var: pRs) +message ProcessMetricsV2RowRequest { + int32 pid = 1; + int32 ppid = 2; + string process_name = 3; + string extension_id = 4; + string process_name_hash = 5; + int64 sample_cpu_time_ms = 6; + double sample_avg_mem_mb = 7; + double sample_peak_mem_mb = 8; + double session_peak_mem_mb = 9; + double memory_during_sample_peak_mb = 10; + double cpu_during_sample_peak_pct = 11; + repeated string argv = 12; +} + +// Copied from: local:aiserver.v1.ProfileConfig (var: QUu) +message ProfileConfig { + string id = 1; + optional HeapProfileConfig heap = 2; + optional CpuProfileConfig cpu = 3; +} + +// Copied from: local:aiserver.v1.ProfileKind (var: LKe) +enum ProfileKind { + PROFILE_KIND_UNSPECIFIED = 0; + PROFILE_KIND_WALL = 1; + PROFILE_KIND_ALLOCATION = 2; + PROFILE_KIND_CPU = 3; +} + +// Copied from: local:aiserver.v1.ProfileScheduleConfig (var: YUu) +message ProfileScheduleConfig { + // Copied from: local:aiserver.v1.ProfileScheduleConfig.ScheduleConfig (var: ZUu) + message ScheduleConfig { + int32 interval = 1; + int32 duration = 2; + } + + string id = 1; + string process = 2; + string config_id = 3; + ScheduleConfig schedule = 4; + int32 activity_timeout = 5; +} + +// Copied from: local:aiserver.v1.ProfilingConfig (var: XUu) +message ProfilingConfig { + bool enabled = 1; + repeated ProfileConfig configs = 2; + repeated ProfileScheduleConfig schedules = 3; +} + +// Copied from: anyrun.v1.ProgressDetail (var: yLs) +message ProgressDetail { + uint64 current = 1; + uint64 total = 2; +} + +// Copied from: local:aiserver.v1.ProjectAppearance (var: xCn) +message ProjectAppearance { + string icon = 1; + string color_id = 2; +} + +// Copied from: agent.v1.ProjectDetails (var: WFe) +message ProjectDetails { + optional string name = 1; + optional ProjectSubagentDetails subagent = 2; + optional ProjectSideChatDetails side_chat = 3; +} + +// Copied from: local:aiserver.v1.ProjectLayout (var: eAi) +message ProjectLayout { + string root_path = 1; + ProjectLayoutDirectoryContent content = 2; + optional ListDirV2Result list_dir_v2_result = 3; +} + +// Copied from: local:aiserver.v1.ProjectLayoutDirectory (var: PTs) +message ProjectLayoutDirectory { + string name = 1; + ProjectLayoutDirectoryContent content = 2; +} + +// Copied from: local:aiserver.v1.ProjectLayoutDirectoryContent (var: tAi) +message ProjectLayoutDirectoryContent { + repeated ProjectLayoutDirectory directories = 1; + repeated ProjectLayoutFile files = 2; + optional int32 total_files = 3; + optional int32 total_subfolders = 4; + repeated ProjectLayoutFile hidden_files = 5; +} + +// Copied from: local:aiserver.v1.ProjectLayoutFile (var: nAi) +message ProjectLayoutFile { + string name = 1; +} + +// Copied from: local:aiserver.v1.ProjectMetadata (var: TCn) +message ProjectMetadata { + optional ProjectAppearance appearance = 1; +} + +// Copied from: agent.v1.ProjectSideChatDetails (var: vEs) +message ProjectSideChatDetails { + string store_dir = 1; +} + +// Copied from: agent.v1.ProjectSubagentDetails (var: fEs) +message ProjectSubagentDetails { + optional string store_dir = 2; +} + +// Copied from: local:aiserver.v1.ProjectionScoreSet (var: NGf) +message ProjectionScoreSet { + int64 source_watermark_ms = 1; + int64 generated_at_ms = 2; + int64 expires_at_ms = 3; + repeated SubjectScore scores = 4; +} + +// Copied from: local:aiserver.v1.Prompt (var: zju) +message Prompt { + string prompt = 1; + PromptEffortLevel effort_level = 2; + optional string model = 3; + optional bool is_filter = 4; + optional PromptRunMode run_mode = 5; + optional bool suppress_slack_reaction = 6; +} + +// Copied from: agent.v1.PromptContextNode (var: A9l) +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: agent.v1.PromptContextSourceRef (var: T9l) +message PromptContextSourceRef { + string source_type = 1; + uint32 message_index = 3; + string content_path = 4; + uint32 start_offset = 5; + uint32 end_offset = 6; +} + +// Copied from: agent.v1.PromptContextUsageTree (var: SEs) +message PromptContextUsageTree { + uint32 schema_version = 1; + repeated PromptContextNode nodes = 2; +} + +// Copied from: local:aiserver.v1.PromptDeeplinkControls (var: H2s) +message PromptDeeplinkControls { + bool enabled = 1; +} + +// Copied from: local:aiserver.v1.PromptEffortLevel (var: Eju) +enum PromptEffortLevel { + PROMPT_EFFORT_LEVEL_UNSPECIFIED = 0; + PROMPT_EFFORT_LEVEL_STANDARD = 1; + PROMPT_EFFORT_LEVEL_HARD = 10; +} + +// Copied from: local:aiserver.v1.PromptRunMode (var: xju) +enum PromptRunMode { + PROMPT_RUN_MODE_UNSPECIFIED = 0; + PROMPT_RUN_MODE_SAME_CHAT = 1; + PROMPT_RUN_MODE_NEW_AGENT = 2; +} + +// Copied from: agent.v1.PromptSuggestionUpdate (var: OEs) +message PromptSuggestionUpdate { + string suggestion = 1; +} + +// Copied from: agent.v1.PromptTokenBreakdownCategory (var: E9l) +message PromptTokenBreakdownCategory { + string id = 1; + string label = 2; + uint32 estimated_tokens = 3; + optional uint32 character_count = 4; +} + +// Copied from: agent.v1.PromptTokenBreakdownSnapshot (var: x9l) +message PromptTokenBreakdownSnapshot { + uint32 total_used_tokens = 1; + uint32 max_tokens = 2; + repeated PromptTokenBreakdownCategory categories = 3; +} + +// Copied from: local:aiserver.v1.PromptUploadCompletionStatus (var: iFs) +enum PromptUploadCompletionStatus { + PROMPT_UPLOAD_COMPLETION_STATUS_UNSPECIFIED = 0; + PROMPT_UPLOAD_COMPLETION_STATUS_COMPLETED = 1; + PROMPT_UPLOAD_COMPLETION_STATUS_NOT_FOUND = 2; + PROMPT_UPLOAD_COMPLETION_STATUS_NO_PARTS = 3; + PROMPT_UPLOAD_COMPLETION_STATUS_INVALID_PARTS = 5; + PROMPT_UPLOAD_COMPLETION_STATUS_SIZE_MISMATCH = 4; +} + +// Copied from: local:aiserver.v1.PromptUploadPart (var: LBu) +message PromptUploadPart { + int32 part_number = 1; + string url = 2; + int64 offset_bytes = 3; + int64 size_bytes = 4; +} + +// Copied from: agent.v1.PromptUploadRef (var: xSn) +message PromptUploadRef { + string upload_id = 1; +} + +// Copied from: local:aiserver.v1.ProtectedGitProvider (var: B3t) +enum ProtectedGitProvider { + PROTECTED_GIT_PROVIDER_UNSPECIFIED = 0; + PROTECTED_GIT_PROVIDER_GITHUB = 1; + PROTECTED_GIT_PROVIDER_GITLAB = 2; + PROTECTED_GIT_PROVIDER_GITHUB_ENTERPRISE = 3; + PROTECTED_GIT_PROVIDER_GITLAB_SELF_HOSTED = 4; + PROTECTED_GIT_PROVIDER_ORIGIN = 5; +} + +// Copied from: local:aiserver.v1.ProtectedGitScope (var: M2s) +message ProtectedGitScope { + int64 id = 1; + int32 team_id = 2; + string team_name = 3; + string git_org_owner = 4; + ProtectedGitProvider git_provider = 5; + optional string git_enterprise_uuid = 6; + int64 created_at = 7; + int64 updated_at = 8; +} + +// Copied from: local:aiserver.v1.ProtoDoc (var: Dbv) +message ProtoDoc { + int32 id = 1; + string uuid = 2; + string doc_identifier = 3; + string doc_name = 4; + string doc_url_root = 5; + string doc_url_prefix = 6; + bool is_different_prefix = 7; + string created_at = 8; + string updated_at = 9; + string last_uploaded_at = 10; + UploadedStatus upload_status = 11; + bool show_to_all_users = 12; + int32 team_id = 13; + string custom_instructions = 14; + repeated ProtoDocPage pages = 15; + bool publish_to_team = 16; +} + +// Copied from: local:aiserver.v1.ProtoDocPage (var: Mbv) +message ProtoDocPage { + string url = 1; + string title = 2; +} + +// Copied from: local:aiserver.v1.ProvideTemporaryAccessTokenRequest (var: g_v) +message ProvideTemporaryAccessTokenRequest { + string access_token = 1; +} + +// Copied from: local:aiserver.v1.ProvideTemporaryAccessTokenResponse (var: f_v) +message ProvideTemporaryAccessTokenResponse { +} + +// Copied from: local:aiserver.v1.ProviderErrorType (var: oQd) +enum ProviderErrorType { + PROVIDER_ERROR_TYPE_UNSPECIFIED = 0; + PROVIDER_ERROR_TYPE_RATE_LIMIT = 1; + PROVIDER_ERROR_TYPE_SERVER = 2; + PROVIDER_ERROR_TYPE_TIMEOUT = 3; +} + +// Copied from: local:aiserver.v1.ProvisionSyntheticsServiceAccountsRequest (var: ZOu) +message ProvisionSyntheticsServiceAccountsRequest { + int32 team_id = 1; + int32 count = 2; + string name_prefix = 3; + string pool_name = 4; + string created_by = 5; + bool provision_origin_repos = 6; + string origin_namespace = 7; +} + +// Copied from: local:aiserver.v1.ProvisionSyntheticsServiceAccountsResponse (var: JOu) +message ProvisionSyntheticsServiceAccountsResponse { + repeated ProvisionedSyntheticsIdentity identities = 1; + string pool_id = 2; +} + +// Copied from: local:aiserver.v1.ProvisionedSyntheticsIdentity (var: XOu) +message ProvisionedSyntheticsIdentity { + string identity_id = 1; + string service_account_id = 2; + string service_account_name = 3; + string masked_api_key = 4; + string repo_url = 5; + string repo_ref = 6; +} + +// Copied from: local:aiserver.v1.PseudocodeTarget (var: HIs) +message PseudocodeTarget { + SimpleRange range = 1; + string content = 2; +} + +// Copied from: local:aiserver.v1.PublicArtifactSharingMode (var: FLs) +enum PublicArtifactSharingMode { + PUBLIC_ARTIFACT_SHARING_MODE_UNSPECIFIED = 0; + PUBLIC_ARTIFACT_SHARING_MODE_ALLOWED = 1; + PUBLIC_ARTIFACT_SHARING_MODE_DISABLED = 2; +} + +// Copied from: local:aiserver.v1.PublicProfileActivityCount (var: kTu) +message PublicProfileActivityCount { + string date = 1; + int32 count = 2; + int64 value = 3; +} + +// Copied from: local:aiserver.v1.PublicProfileActivitySummary (var: mCn) +message PublicProfileActivitySummary { + string most_active_month = 1; + string most_active_day = 2; + int32 longest_streak = 3; + int32 current_streak = 4; + repeated string active_dates = 5; + repeated PublicProfileDailyAgentCount daily_agent_counts = 6; + repeated PublicProfileActivityCount activity_counts = 7; + repeated PublicProfileModelUsage top_models = 8; + int32 agents_local = 10; + int32 agents_cloud = 11; + int64 longest_agent_seconds = 12; + repeated PublicProfileTokensPerDay tokens_over_time = 13; + repeated PublicProfileAgentsPerDay agents_over_time = 14; +} + +// Copied from: local:aiserver.v1.PublicProfileAgentsPerDay (var: xTu) +message PublicProfileAgentsPerDay { + string date = 1; + int32 local_count = 2; + int32 cloud_count = 3; +} + +// Copied from: local:aiserver.v1.PublicProfileDailyAgentCount (var: wTu) +message PublicProfileDailyAgentCount { + string date = 1; + int32 agent_count = 2; +} + +// Copied from: local:aiserver.v1.PublicProfileModelUsage (var: CTu) +message PublicProfileModelUsage { + string name = 1; + int32 agent_requests = 2; + string vendor = 3; +} + +// Copied from: local:aiserver.v1.PublicProfileSettings (var: Jkn) +message PublicProfileSettings { + bool public_visibility_allowed = 1; + string policy = 2; +} + +// Copied from: local:aiserver.v1.PublicProfileTokensPerDay (var: ETu) +message PublicProfileTokensPerDay { + string date = 1; + int64 tokens = 2; +} + +// Copied from: local:aiserver.v1.PublicSharedCanvasPreview (var: uxu) +message PublicSharedCanvasPreview { + string title = 1; +} + +// Copied from: local:aiserver.v1.PublishBackgroundComposerTempRepoRequest (var: DDu) +message PublishBackgroundComposerTempRepoRequest { + // Copied from: local:aiserver.v1.PublishBackgroundComposerTempRepoRequest.Visibility (var: MDu) + enum Visibility { + VISIBILITY_UNSPECIFIED = 0; + VISIBILITY_PRIVATE = 1; + VISIBILITY_INTERNAL = 2; + } + + string bc_id = 1; + string new_name = 2; + Visibility visibility = 3; +} + +// Copied from: local:aiserver.v1.PublishBackgroundComposerTempRepoResponse (var: PDu) +message PublishBackgroundComposerTempRepoResponse { + string owner = 1; + string name = 2; + string canonical_repo_url = 3; +} + +// Copied from: local:aiserver.v1.PublishEnvironmentRequest (var: a2u) +message PublishEnvironmentRequest { + int64 id = 1; + EnvironmentType environment_type = 2; +} + +// Copied from: local:aiserver.v1.PublishEnvironmentResponse (var: c2u) +message PublishEnvironmentResponse { + bool success = 1; + string pr_url = 2; + string branch_name = 3; + optional string error = 4; +} + +// Copied from: local:aiserver.v1.PublishPersonalEnvironmentRequest (var: l2u) +message PublishPersonalEnvironmentRequest { + int64 id = 1; +} + +// Copied from: local:aiserver.v1.PublishPersonalEnvironmentResponse (var: u2u) +message PublishPersonalEnvironmentResponse { + bool success = 1; + string pr_url = 2; + string branch_name = 3; + optional string error = 4; +} + +// Copied from: local:aiserver.v1.PublishPluginRequest (var: jDi) +message PublishPluginRequest { + int32 team_id = 1; + string name = 2; + string display_name = 3; + string description = 4; + bytes plugin_tar_gz = 5; + optional string commit_message = 6; +} + +// Copied from: local:aiserver.v1.PublishPluginResponse (var: zTu) +message PublishPluginResponse { + int64 plugin_id = 1; + int64 marketplace_id = 2; + string commit_sha = 3; +} + +// Copied from: local:aiserver.v1.Publisher (var: _Tu) +message Publisher { + int64 id = 1; + string name = 2; + string display_name = 3; + optional string description = 4; + optional int32 owner_user_id = 5; + optional int32 owner_team_id = 6; + bool is_user_owned = 15; + bool is_verified = 7; + optional int64 verified_at = 8; + optional string verified_domain = 9; + optional string logo_url = 10; + optional string website_url = 11; + optional string support_url = 12; + int64 created_at = 13; + int64 updated_at = 14; +} + +// Copied from: local:aiserver.v1.PullRequest (var: YTi) +message PullRequest { + string title = 1; + string body = 2; + repeated FileDiff diff = 3; + int64 id = 4; + int64 number = 5; +} + +// Copied from: local:aiserver.v1.PullRequestFileContentsStatus (var: Y3t) +enum PullRequestFileContentsStatus { + PULL_REQUEST_FILE_CONTENTS_STATUS_UNSPECIFIED = 0; + PULL_REQUEST_FILE_CONTENTS_STATUS_OK = 1; + PULL_REQUEST_FILE_CONTENTS_STATUS_NOT_FOUND = 2; + PULL_REQUEST_FILE_CONTENTS_STATUS_TOO_LARGE = 3; + PULL_REQUEST_FILE_CONTENTS_STATUS_NOT_SUPPORTED = 4; + PULL_REQUEST_FILE_CONTENTS_STATUS_ERROR = 5; +} + +// Copied from: local:aiserver.v1.PullRequestLabel (var: uSu) +message PullRequestLabel { + int64 id = 1; + string node_id = 2; + string url = 3; + string name = 4; + string description = 5; + string color = 6; + bool is_default = 7; +} + +// Copied from: local:aiserver.v1.PullRequestPathCodeowners (var: NRu) +message PullRequestPathCodeowners { + string path = 1; + repeated string owners = 2; +} + +// Copied from: local:aiserver.v1.PullRequestPreferences (var: O2s) +message PullRequestPreferences { + PrReviewOpenDestinationMode pr_review_open_destination = 1; +} + +// Copied from: local:aiserver.v1.PullRequestReference (var: q0i) +message PullRequestReference { + string sha = 1; + float score = 2; + optional string title = 3; + optional string summary = 4; + optional uint32 pr_number = 5; + optional string author = 6; + optional string date = 7; + repeated string changed_files = 8; +} + +// Copied from: local:aiserver.v1.PullRequestResult (var: Mu) +message PullRequestResult { + string sha = 1; + string full_pr_contents = 2; + float score = 3; +} + +// Copied from: local:aiserver.v1.PullRequestSamplePayload (var: _9s) +message PullRequestSamplePayload { + string head_branch = 2; + string base_branch = 3; + string repo = 4; + string pr_url = 5; +} + +// Copied from: agent.v1.PullRequestStatus (var: eBl) +enum PullRequestStatus { + PULL_REQUEST_STATUS_UNSPECIFIED = 0; + PULL_REQUEST_STATUS_OPEN = 1; + PULL_REQUEST_STATUS_CLOSED = 2; +} + +// Copied from: local:aiserver.v1.PullRequestUpdatedEvent (var: $Ru) +message PullRequestUpdatedEvent { + oneof event { + PullRequestUpdatedNotification updated = 1; + PullRequestUpdatesHeartbeat heartbeat = 2; + } +} + +// Copied from: local:aiserver.v1.PullRequestUpdatedNotification (var: BRu) +message PullRequestUpdatedNotification { + string pr_url = 1; +} + +// Copied from: local:aiserver.v1.PullRequestUpdatesHeartbeat (var: URu) +message PullRequestUpdatesHeartbeat { +} + +// Copied from: local:aiserver.v1.PureMessage (var: WDt) +message PureMessage { + // Copied from: local:aiserver.v1.PureMessage.MessageType (var: Xbc) + enum MessageType { + MESSAGE_TYPE_UNSPECIFIED = 0; + MESSAGE_TYPE_SYSTEM = 1; + MESSAGE_TYPE_USER = 2; + MESSAGE_TYPE_ASSISTANT = 3; + } + + MessageType message_type = 1; + string content = 2; +} + +// Copied from: local:aiserver.v1.PushAiThoughtRequest (var: CKl) +message PushAiThoughtRequest { + // Copied from: local:aiserver.v1.PushAiThoughtRequest.Metadata (var: EKl) + message Metadata { + // Copied from: local:aiserver.v1.PushAiThoughtRequest.Metadata.AcceptedHallucinatedFunctionEvent (var: xKl) + message AcceptedHallucinatedFunctionEvent { + string implementation_uuid = 1; + string hallucinated_function_uuid = 2; + string implementation = 3; + string source = 4; + string implementation_reqid = 5; + string plan_reqid = 6; + string reflection_reqid = 7; + } + + oneof event { + AcceptedHallucinatedFunctionEvent accepted_hallucinated_function_event = 1; + } + } + + string thought = 1; + CmdKDebugInfo cmd_k_debug_info = 2; + bool automated = 3; + optional Metadata metadata = 4; +} + +// Copied from: local:aiserver.v1.PushAiThoughtResponse (var: TKl) +message PushAiThoughtResponse { +} + +// Copied from: local:aiserver.v1.PushPlatform (var: wCn) +enum PushPlatform { + PUSH_PLATFORM_UNSPECIFIED = 0; + PUSH_PLATFORM_IOS = 1; + PUSH_PLATFORM_ANDROID = 2; + PUSH_PLATFORM_WEB = 3; +} + +// Copied from: local:aiserver.v1.PushSamplePayload (var: y9s) +message PushSamplePayload { + string repo = 1; + string ref = 2; +} + +// Copied from: local:aiserver.v1.QueryOnlyRepoAccess (var: NOt) +message QueryOnlyRepoAccess { + string owner_auth_id = 1; + string access_token = 2; + string user_repo_owner = 3; + string user_repo_name = 4; +} + +// Copied from: local:aiserver.v1.QueryOnlyRepositoryInfo (var: bIl) +message QueryOnlyRepositoryInfo { + RepositoryInfo repository = 1; + QueryOnlyRepoAccess query_only_repo_access = 2; +} + +// Copied from: local:aiserver.v1.QueuedFollowup (var: pf) +message QueuedFollowup { + string followup_id = 1; + int64 created_at_ms = 2; + BackgroundComposerSource source = 3; + bool is_simulated = 4; + bool synchronous = 5; + repeated SelectedCursorCommand cursor_commands = 6; + bool cursor_commands_explicitly_set = 7; + optional ConversationAction conversation_action = 8; + repeated UpdateBitbucketServerInstanceTokenRequest.ClearToken blob_data = 9; + optional ModelDetails model_details = 10; + optional int64 editing_started_at_ms = 11; + optional string run_id = 12; + optional RequestedModel requested_model = 13; + optional int64 turn_start_unix_ms = 14; + optional int64 not_before_unix_ms = 15; + bytes conversation_action_blob_id = 16; + optional string request_id = 17; + optional StopHookContinuation stop_hook_continuation = 18; + optional string resubmit_from_message_id = 19; + optional bool use_experimental_model_opt_out = 20; + string coalescing_key = 21; + repeated string merged_followup_ids = 22; + repeated ConversationActionReference merged_action_refs = 23; + optional int64 coalesce_not_before_unix_ms = 24; +} + +// Copied from: local:aiserver.v1.QueuedInteractionResponse (var: hf) +message QueuedInteractionResponse { + uint32 query_id = 1; + InteractionResponse interaction_response = 2; + int64 submitted_at_ms = 3; +} + +// Copied from: local:aiserver.v1.QueuedMakePRRequest (var: Af) +message QueuedMakePRRequest { + string request_id = 1; + int64 created_at_ms = 2; + bytes request_blob_id = 3; +} + +// Copied from: local:aiserver.v1.QueuedOpenPRRequest (var: _f) +message QueuedOpenPRRequest { + string request_id = 1; + int64 created_at_ms = 2; + bytes request_blob_id = 3; +} + +// Copied from: local:aiserver.v1.QuickActionCandidate (var: KIs) +message QuickActionCandidate { + string id = 1; + string description = 2; +} + +// Copied from: local:aiserver.v1.RCPCallFrame (var: v_c) +message RCPCallFrame { + optional string function_name = 1; + optional string url = 2; + optional int32 line_number = 3; + optional int32 column_number = 4; +} + +// Copied from: local:aiserver.v1.RCPChatMessage (var: We) +message RCPChatMessage { + string text = 1; +} + +// Copied from: local:aiserver.v1.RCPLogEntry (var: __c) +message RCPLogEntry { + string message = 1; + double timestamp = 2; + string level = 3; + string client_name = 4; + string session_id = 5; + optional RCPStackTrace stack_trace = 6; + optional string object_data_json = 7; +} + +// Copied from: local:aiserver.v1.RCPMessage (var: ze) +message RCPMessage { + oneof message { + RCPLogEntry console = 1; + RCPUIElementPicked ui_element_picked = 2; + RCPChatMessage chat_message = 3; + } +} + +// Copied from: local:aiserver.v1.RCPStackTrace (var: b_c) +message RCPStackTrace { + repeated RCPCallFrame call_frames = 1; + optional string raw_stack_trace = 2; +} + +// Copied from: local:aiserver.v1.RCPUIElementPicked (var: y_c) +message RCPUIElementPicked { + 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:aiserver.v1.Range (var: nbs) +message Range { + int32 start_line = 1; + int32 start_character = 2; + int32 end_line = 3; + int32 end_character = 4; +} + +// Copied from: local:aiserver.v1.RangeGroup (var: dRs) +message RangeGroup { + optional string conversation_id = 1; + optional string model = 2; + string operation_type = 3; + repeated CommitLineRange ranges = 4; + optional string request_id = 5; +} + +// Copied from: local:aiserver.v1.RankedContext (var: $Ti) +message RankedContext { + ContextToRank context = 1; + float score = 2; +} + +// Copied from: local:aiserver.v1.RateLimitReason (var: Jvv) +enum RateLimitReason { + RATE_LIMIT_REASON_UNSPECIFIED = 0; + RATE_LIMIT_REASON_TIMEOUT = 1; + RATE_LIMIT_REASON_NO_BUDGET = 2; + RATE_LIMIT_REASON_WORKLOAD_BLOCKED = 3; + RATE_LIMIT_REASON_QUEUE_FULL = 4; + RATE_LIMIT_REASON_CONNECTION_ERROR = 5; + RATE_LIMIT_REASON_DEPLOYMENT_DISABLED = 6; +} + +// Copied from: local:aiserver.v1.RawResponse (var: vuv) +message RawResponse { + string response = 1; +} + +// Copied from: local:aiserver.v1.RawUserData (var: zbu) +message RawUserData { + int64 date = 1; + int32 user_id = 2; + bool is_active = 3; + int32 total_lines_added = 4; + int32 total_lines_deleted = 5; + int32 accepted_lines_added = 6; + int32 accepted_lines_deleted = 7; + int32 total_applies = 8; + int32 total_accepts = 9; + int32 total_rejects = 10; + int32 total_tabs_shown = 11; + int32 total_tabs_accepted = 12; + int32 composer_requests = 13; + int32 chat_requests = 14; + int32 agent_requests = 15; + int32 cmdk_usages = 16; + int32 subscription_included_reqs = 17; + int32 api_key_reqs = 18; + int32 usage_based_reqs = 19; + int32 bugbot_usages = 20; + optional string most_used_model = 21; + optional string apply_most_used_extension = 22; + optional string tab_most_used_extension = 23; + optional string client_version = 24; + optional string email = 25; +} + +// Copied from: local:aiserver.v1.ReadAgentStoreFileRequest (var: rBu) +message ReadAgentStoreFileRequest { + string store_id = 1; + string relative_path = 2; + optional string share_id = 3; +} + +// Copied from: local:aiserver.v1.ReadAgentStoreFileResponse (var: sBu) +message ReadAgentStoreFileResponse { + string content = 1; +} + +// Copied from: agent.v1.ReadArgs (var: WSn) +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:aiserver.v1.ReadBinaryFileRequest (var: RNu) +message ReadBinaryFileRequest { + string bc_id = 1; + string path = 2; +} + +// Copied from: local:aiserver.v1.ReadBinaryFileResponse (var: DNu) +message ReadBinaryFileResponse { + bytes content = 1; +} + +// Copied from: local:aiserver.v1.ReadChunkParams (var: lbs) +message ReadChunkParams { + string relative_workspace_path = 1; + int32 start_line_number = 2; + optional int32 num_lines = 3; +} + +// Copied from: local:aiserver.v1.ReadChunkResult (var: ubs) +message ReadChunkResult { + string relative_workspace_path = 1; + int32 start_line_number = 2; + repeated string lines = 3; + int32 total_num_lines = 4; + bool cropped = 5; +} + +// Copied from: agent.v1.ReadError (var: Q6l) +message ReadError { + string path = 1; + string error = 2; +} + +// Copied from: agent.v1.ReadFileNotFound (var: Z6l) +message ReadFileNotFound { + string path = 1; +} + +// Copied from: local:aiserver.v1.ReadFileParams (var: M_n) +message ReadFileParams { + string relative_workspace_path = 1; + bool read_entire_file = 2; + optional int32 start_line_one_indexed = 3; + optional int32 end_line_one_indexed_inclusive = 4; + bool file_is_allowed_to_be_read_entirely = 5; + optional int32 max_lines = 6; + optional int32 max_chars = 7; + optional int32 min_lines = 8; +} + +// Copied from: local:aiserver.v1.ReadFileResult (var: P_n) +message ReadFileResult { + string contents = 1; + bool did_downgrade_to_line_range = 2; + bool did_shorten_line_range = 3; + bool did_set_default_line_range = 4; + optional string full_file_contents = 5; + optional string outline = 6; + optional int32 start_line_one_indexed = 7; + optional int32 end_line_one_indexed_inclusive = 8; + string relative_workspace_path = 9; + bool did_shorten_char_range = 10; + optional bool read_full_file = 11; + optional int32 total_lines = 12; + repeated CursorRule matching_cursor_rules = 13; + FileGit file_git_context = 14; +} + +// Copied from: local:aiserver.v1.ReadFileStream (var: lvs) +message ReadFileStream { +} + +// Copied from: local:aiserver.v1.ReadFileV2Params (var: pht) +message ReadFileV2Params { + string target_file = 1; + optional int32 offset = 2; + optional int32 limit = 3; + int32 chars_limit = 4; + string effective_uri = 5; + optional bool enable_line_numbers = 6; +} + +// Copied from: local:aiserver.v1.ReadFileV2Result (var: qTe) +message ReadFileV2Result { + optional string contents = 1; + int32 num_characters_in_requested_range = 2; + optional bool offset_is_bigger_than_number_of_lines_in_file = 3; + optional int32 total_lines_in_file = 4; + repeated CursorRule matching_cursor_rules = 5; + repeated ImageProto images = 6; +} + +// Copied from: local:aiserver.v1.ReadFileV2Stream (var: w_s) +message ReadFileV2Stream { + optional ReadFileV2Params params = 1; +} + +// Copied from: agent.v1.ReadInvalidFile (var: X6l) +message ReadInvalidFile { + string path = 1; + string reason = 2; +} + +// Copied from: local:aiserver.v1.ReadLintsParams (var: XOt) +message ReadLintsParams { + string path = 1; + repeated string paths = 2; +} + +// Copied from: local:aiserver.v1.ReadLintsResult (var: Y_n) +message ReadLintsResult { + string path = 1; + repeated LinterError linter_errors = 2; + repeated LinterErrors linter_errors_by_file = 3; +} + +// Copied from: local:aiserver.v1.ReadLintsStream (var: a_s) +message ReadLintsStream { +} + +// Copied from: agent.v1.ReadMcpResourceError (var: lFl) +message ReadMcpResourceError { + string uri = 1; + string error = 2; +} + +// Copied from: agent.v1.ReadMcpResourceExecArgs (var: $xi) +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: agent.v1.ReadMcpResourceExecResult (var: jxi) +message ReadMcpResourceExecResult { + oneof result { + ReadMcpResourceSuccess success = 1; + ReadMcpResourceError error = 2; + ReadMcpResourceRejected rejected = 3; + ReadMcpResourceNotFound not_found = 4; + } +} + +// Copied from: agent.v1.ReadMcpResourceNotFound (var: dFl) +message ReadMcpResourceNotFound { + string uri = 1; +} + +// Copied from: local:aiserver.v1.ReadMcpResourceParams (var: YOt) +message ReadMcpResourceParams { + string server = 1; + string uri = 2; + optional string download_path = 3; +} + +// Copied from: agent.v1.ReadMcpResourceRejected (var: uFl) +message ReadMcpResourceRejected { + string uri = 1; + string reason = 2; +} + +// Copied from: local:aiserver.v1.ReadMcpResourceResult (var: $_n) +message ReadMcpResourceResult { + string uri = 1; + optional string name = 2; + optional string description = 3; + optional string mime_type = 4; + map annotations = 7; + oneof content { + string text = 5; + bytes blob = 6; + } +} + +// Copied from: local:aiserver.v1.ReadMcpResourceStream (var: x_s) +message ReadMcpResourceStream { +} + +// Copied from: agent.v1.ReadMcpResourceSuccess (var: N0s) +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:aiserver.v1.ReadMicrosoftTeamsAction (var: $Wu) +message ReadMicrosoftTeamsAction { +} + +// Copied from: local:aiserver.v1.ReadOnlySharedPodLifecycleEvent (var: FPu) +message ReadOnlySharedPodLifecycleEvent { + // Copied from: local:aiserver.v1.ReadOnlySharedPodLifecycleEvent.Phase (var: BPu) + enum Phase { + PHASE_UNSPECIFIED = 0; + PHASE_AWAITING_FULL_POD = 2; + PHASE_INACTIVE = 3; + } + + Phase phase = 1; +} + +// Copied from: agent.v1.ReadPermissionDenied (var: $Ts) +message ReadPermissionDenied { + string path = 1; +} + +// Copied from: local:aiserver.v1.ReadProjectParams (var: oyn) +message ReadProjectParams { +} + +// Copied from: local:aiserver.v1.ReadProjectResult (var: o1i) +message ReadProjectResult { + string plan = 1; +} + +// Copied from: local:aiserver.v1.ReadProjectStream (var: P_s) +message ReadProjectStream { +} + +// Copied from: agent.v1.ReadRejected (var: Y6l) +message ReadRejected { + string path = 1; + string reason = 2; +} + +// Copied from: agent.v1.ReadResult (var: IGe) +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:aiserver.v1.ReadSemsearchFilesParams (var: HOt) +message ReadSemsearchFilesParams { + RepositoryInfo repository_info = 1; + repeated CodeResult code_results = 2; + string query = 3; + repeated PullRequestReference pr_references = 4; + optional bool pr_search_on = 5; +} + +// Copied from: local:aiserver.v1.ReadSemsearchFilesResult (var: zOt) +message ReadSemsearchFilesResult { + repeated CodeResult code_results = 1; + repeated File all_files = 2; + repeated MissingFile missing_files = 3; + repeated Knowledge knowledge_results = 4; + repeated ToolPullRequestResult pr_results = 5; + optional string git_remote_url = 6; + optional bool pr_hydration_timed_out = 7; +} + +// Copied from: local:aiserver.v1.ReadSemsearchFilesStream (var: Ovs) +message ReadSemsearchFilesStream { + int32 num_files = 1; +} + +// Copied from: local:aiserver.v1.ReadSlackAction (var: OWu) +message ReadSlackAction { +} + +// Copied from: agent.v1.ReadSuccess (var: UBt) +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:aiserver.v1.ReadTextFileRequest (var: __v) +message ReadTextFileRequest { + string absolute_path = 1; +} + +// Copied from: local:aiserver.v1.ReadTextFileResponse (var: y_v) +message ReadTextFileResponse { + string contents = 1; + bool path_does_not_exist = 2; + bool was_truncated = 3; + bool is_not_a_file = 4; +} + +// Copied from: local:aiserver.v1.ReadWithLinterParams (var: Vvs) +message ReadWithLinterParams { + string relative_workspace_path = 1; +} + +// Copied from: local:aiserver.v1.ReadWithLinterResult (var: Gvs) +message ReadWithLinterResult { + string contents = 1; + repeated Diagnostic diagnostics = 2; +} + +// Copied from: local:aiserver.v1.ReapplyParams (var: E_n) +message ReapplyParams { + string relative_workspace_path = 1; +} + +// Copied from: local:aiserver.v1.ReapplyResult (var: T0i) +message ReapplyResult { + EditFileResult.FileDiff diff = 1; + bool is_applied = 2; + bool apply_failed = 3; + repeated LinterError linter_errors = 4; + optional bool rejected = 5; +} + +// Copied from: local:aiserver.v1.ReapplyStream (var: $fs) +message ReapplyStream { +} + +// Copied from: local:aiserver.v1.ReassignAutomationOwnerRequest (var: XWu) +message ReassignAutomationOwnerRequest { + string automation_id = 1; + int32 new_owner_user_id = 2; +} + +// Copied from: local:aiserver.v1.ReassignAutomationOwnerResponse (var: JWu) +message ReassignAutomationOwnerResponse { + AutomationWithOwner workflow = 1; +} + +// Copied from: agent.v1.RecentAgent (var: K1s) +message RecentAgent { + string name = 1; + string path = 2; + optional string overview = 3; +} + +// Copied from: agent.v1.RecentAgentsContext (var: Q1s) +message RecentAgentsContext { + repeated RecentAgent recent_agents = 1; +} + +// Copied from: local:aiserver.v1.RecentChat (var: JWl) +message RecentChat { + string title = 1; + optional int64 timestamp = 2; + optional string summary = 3; + repeated RecentChatMessage messages = 4; + optional string todos = 5; +} + +// Copied from: local:aiserver.v1.RecentChatMessage (var: gIs) +message RecentChatMessage { + string role = 1; + string text = 2; + string context = 3; +} + +// Copied from: agent.v1.RecentlyAddedPlugin (var: N1s) +message RecentlyAddedPlugin { + // Copied from: agent.v1.RecentlyAddedPlugin.CapabilityDescriptor (var: SSe) + 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:aiserver.v1.RechunkerChoice (var: cIl) +enum RechunkerChoice { + RECHUNKER_CHOICE_UNSPECIFIED = 0; + RECHUNKER_CHOICE_IDENTITY = 1; + RECHUNKER_CHOICE_600_TOKS = 2; + RECHUNKER_CHOICE_2400_TOKS = 3; + RECHUNKER_CHOICE_4000_TOKS = 4; +} + +// Copied from: local:aiserver.v1.RecommendedAction (var: Qfv) +message RecommendedAction { + string action_id = 1; + string title = 2; + string subtitle = 3; + optional string icon_url = 4; + optional string icon_name = 5; + RecommendedActionSurface surface = 6; + oneof payload { + InstallPluginAndPrefillPromptPayload install_plugin_and_prefill_prompt = 7; + PrefillPromptPayload prefill_prompt = 8; + } +} + +// Copied from: local:aiserver.v1.RecommendedActionOwnerScope (var: mpo) +message RecommendedActionOwnerScope { + optional int64 team_id = 1; +} + +// Copied from: local:aiserver.v1.RecommendedActionSurface (var: iQd) +enum RecommendedActionSurface { + RECOMMENDED_ACTION_SURFACE_UNSPECIFIED = 0; + RECOMMENDED_ACTION_SURFACE_GLASS_EMPTY_STATE_QUICKSTART = 1; +} + +// Copied from: local:aiserver.v1.RecordAcceptedPatchRequest (var: slv) +message RecordAcceptedPatchRequest { + string patch_uuid = 1; + string patch_string = 2; + string source = 3; + string reflection = 4; + CmdKDebugInfo debug_info = 5; +} + +// Copied from: local:aiserver.v1.RecordAcceptedPatchResponse (var: olv) +message RecordAcceptedPatchResponse { +} + +// Copied from: local:aiserver.v1.RecordBugbotDeeplinkEventRequest (var: CDi) +message RecordBugbotDeeplinkEventRequest { + // Copied from: local:aiserver.v1.RecordBugbotDeeplinkEventRequest.BugbotDeeplinkEvent (var: $Se) + enum BugbotDeeplinkEvent { + BUGBOT_DEEPLINK_EVENT_UNSPECIFIED = 0; + BUGBOT_DEEPLINK_EVENT_CLICKED = 1; + BUGBOT_DEEPLINK_EVENT_HANDLED_DIALOG_SHOWN = 2; + BUGBOT_DEEPLINK_EVENT_HANDLED_CHAT_CREATED = 3; + BUGBOT_DEEPLINK_EVENT_ERROR = 4; + BUGBOT_DEEPLINK_EVENT_HANDLED_FIX_IN_WEB = 5; + } + + string bug_id = 1; + BugbotDeeplinkEvent event = 2; + optional string comment_id = 3; +} + +// Copied from: local:aiserver.v1.RecordBugbotDeeplinkEventResponse (var: xNs) +message RecordBugbotDeeplinkEventResponse { +} + +// Copied from: local:aiserver.v1.RecordCppFateRequest (var: RAs) +message RecordCppFateRequest { + string request_id = 1; + float performance_now_time = 2; + CppFate fate = 3; + string extension = 4; +} + +// Copied from: local:aiserver.v1.RecordCppFateResponse (var: i$l) +message RecordCppFateResponse { +} + +// Copied from: local:aiserver.v1.RecordFullSelfDrivingAutoApplyConfigRequest (var: dsu) +message RecordFullSelfDrivingAutoApplyConfigRequest { + string match_kind = 1; + string match_key = 2; + string scope = 3; + string repo_owner = 4; + string repo_name = 5; + optional string producer = 6; +} + +// Copied from: local:aiserver.v1.RecordFullSelfDrivingAutoApplyConfigResponse (var: hsu) +message RecordFullSelfDrivingAutoApplyConfigResponse { + FullSelfDrivingAutoApplyConfig config = 1; +} + +// Copied from: local:aiserver.v1.RecordFullSelfDrivingOutputsRequest (var: Dru) +message RecordFullSelfDrivingOutputsRequest { + string pr_url = 1; + string bc_id = 2; + repeated FullSelfDrivingOutputInput outputs = 3; +} + +// Copied from: local:aiserver.v1.RecordFullSelfDrivingOutputsResponse (var: Mru) +message RecordFullSelfDrivingOutputsResponse { + repeated FullSelfDrivingFinding findings = 1; +} + +// Copied from: local:aiserver.v1.RecordFullSelfDrivingPrScopedSuggestionRequest (var: isu) +message RecordFullSelfDrivingPrScopedSuggestionRequest { + string pr_url = 1; + string producer = 2; + string producer_run_id = 3; + FullSelfDrivingOutputInput output = 4; +} + +// Copied from: local:aiserver.v1.RecordFullSelfDrivingPrScopedSuggestionResponse (var: rsu) +message RecordFullSelfDrivingPrScopedSuggestionResponse { + FullSelfDrivingPrScopedSuggestion suggestion = 1; +} + +// Copied from: local:aiserver.v1.RecordIdeBugReactionRequest (var: bHl) +message RecordIdeBugReactionRequest { + string bug_id = 1; + string reaction = 2; +} + +// Copied from: local:aiserver.v1.RecordIdeBugReactionResponse (var: _Hl) +message RecordIdeBugReactionResponse { + bool success = 1; +} + +// Copied from: local:aiserver.v1.RecordInvocationWithDataRequest (var: cdv) +message RecordInvocationWithDataRequest { + InvocationInfo invocation = 1; + PerformanceChunk chunk = 2; +} + +// Copied from: local:aiserver.v1.RecordInvocationWithDataResponse (var: ldv) +message RecordInvocationWithDataResponse { + string invocation_id = 1; + string message = 2; +} + +// Copied from: local:aiserver.v1.RecordPerformanceChunkRequest (var: odv) +message RecordPerformanceChunkRequest { + PerformanceChunk chunk = 3; + oneof invocation_ref { + string invocation_id = 1; + InvocationInfo invocation_info = 2; + } +} + +// Copied from: local:aiserver.v1.RecordPerformanceChunkResponse (var: adv) +message RecordPerformanceChunkResponse { + string invocation_id = 1; + int32 machines_inserted = 2; + int32 processes_inserted = 3; + int32 suites_inserted = 4; + int32 cases_inserted = 5; + int32 iterations_inserted = 6; + int32 metric_samples_inserted = 7; + string message = 8; +} + +// Copied from: local:aiserver.v1.RecordPerformanceDataRequest (var: ndv) +message RecordPerformanceDataRequest { + PerformanceData data = 1; +} + +// Copied from: local:aiserver.v1.RecordPerformanceDataResponse (var: idv) +message RecordPerformanceDataResponse { + string invocation_id = 1; + string message = 2; +} + +// Copied from: local:aiserver.v1.RecordRequestRequest (var: qvv) +message RecordRequestRequest { + string request_id = 1; + string auth_id = 2; + string json_payload = 3; +} + +// Copied from: local:aiserver.v1.RecordRequestResponse (var: Kvv) +message RecordRequestResponse { +} + +// Copied from: local:aiserver.v1.RecordSandAuditEventsRequest (var: Cpu) +message RecordSandAuditEventsRequest { + repeated SandAuditEvent events = 1; +} + +// Copied from: local:aiserver.v1.RecordSandAuditEventsResponse (var: Epu) +message RecordSandAuditEventsResponse { + int32 recorded_count = 1; +} + +// Copied from: agent.v1.RecordScreenArgs (var: JVe) +message RecordScreenArgs { + RecordingMode mode = 1; + string tool_call_id = 2; + optional string save_as_filename = 3; +} + +// Copied from: agent.v1.RecordScreenDiscardSuccess (var: fAl) +message RecordScreenDiscardSuccess { +} + +// Copied from: agent.v1.RecordScreenFailure (var: vAl) +message RecordScreenFailure { + string error = 1; +} + +// Copied from: agent.v1.RecordScreenResult (var: POt) +message RecordScreenResult { + oneof result { + RecordScreenStartSuccess start_success = 1; + RecordScreenSaveSuccess save_success = 2; + RecordScreenDiscardSuccess discard_success = 3; + RecordScreenFailure failure = 4; + } +} + +// Copied from: agent.v1.RecordScreenSaveSuccess (var: gAl) +message RecordScreenSaveSuccess { + string path = 1; + int64 recording_duration_ms = 2; + optional RequestedFilePathRejectedReason requested_file_path_rejected_reason = 3; +} + +// Copied from: agent.v1.RecordScreenStartSuccess (var: mAl) +message RecordScreenStartSuccess { + bool was_prior_recording_cancelled = 1; + bool was_save_as_filename_ignored = 2; +} + +// Copied from: agent.v1.RecordingMode (var: g_n) +enum RecordingMode { + RECORDING_MODE_UNSPECIFIED = 0; + RECORDING_MODE_START_RECORDING = 1; + RECORDING_MODE_SAVE_RECORDING = 2; + RECORDING_MODE_DISCARD_RECORDING = 3; +} + +// Copied from: local:aiserver.v1.RecoverableCppData (var: MAs) +message RecoverableCppData { + string request_id = 1; + string suggestion_text = 2; + IRange suggestion_range = 3; + OneIndexedPosition position = 4; +} + +// Copied from: local:aiserver.v1.RecreateSandBoxRequest (var: Yqd) +message RecreateSandBoxRequest { + bool preserve_data = 1; + bool force = 2; + bool acknowledge_terminal_upgrade_schedule = 3; +} + +// Copied from: local:aiserver.v1.RecreateSandBoxResponse (var: xZe) +message RecreateSandBoxResponse { + bool started = 1; + string reason = 2; + string operation_id = 3; +} + +// Copied from: local:aiserver.v1.RedDiff (var: Mxs) +message RedDiff { + string relative_workspace_path = 1; + repeated SimplestRange red_ranges = 2; + repeated SimplestRange red_ranges_reversed = 3; + string start_hash = 4; + string end_hash = 5; +} + +// Copied from: local:aiserver.v1.RedeemEventCodeRequest (var: K1u) +message RedeemEventCodeRequest { + string code = 1; +} + +// Copied from: local:aiserver.v1.RedeemEventCodeResponse (var: Q1u) +message RedeemEventCodeResponse { + bool success = 1; + EventCodeClaimState claim_state = 2; + bool already_claimed = 3; + int64 credit_cents = 4; + int64 grant_expires_at_ms = 5; +} + +// Copied from: local:aiserver.v1.RedeemGiftCodeRequest (var: z1u) +message RedeemGiftCodeRequest { + string code = 1; +} + +// Copied from: local:aiserver.v1.RedeemGiftCodeResponse (var: V1u) +message RedeemGiftCodeResponse { + bool success = 1; + optional string error_message = 2; + optional int32 credit_cents = 3; + optional string currency = 4; +} + +// Copied from: local:aiserver.v1.ReferralCodeEntry (var: Evu) +message ReferralCodeEntry { + string code = 1; + int64 created_at_ms = 2; + optional int64 redeemed_at_ms = 3; + optional string redeemer_name = 4; +} + +// Copied from: local:aiserver.v1.ReflectionData (var: YAl) +message ReflectionData { + string index_id = 1; + string id = 2; + string summary = 3; +} + +// Copied from: local:aiserver.v1.ReflectionResult (var: iRl) +message ReflectionResult { + ReflectionData reflection = 1; + float score = 2; +} + +// Copied from: local:aiserver.v1.RefreshGitHubAccessTokenRequest (var: I_v) +message RefreshGitHubAccessTokenRequest { + string github_access_token = 1; + string hostname = 2; +} + +// Copied from: local:aiserver.v1.RefreshGitHubAccessTokenResponse (var: R_v) +message RefreshGitHubAccessTokenResponse { +} + +// Copied from: local:aiserver.v1.RefreshGithubAccessTokenInBackgroundComposerRequest (var: GDu) +message RefreshGithubAccessTokenInBackgroundComposerRequest { + string bc_id = 1; +} + +// Copied from: local:aiserver.v1.RefreshGithubAccessTokenInBackgroundComposerResponse (var: qDu) +message RefreshGithubAccessTokenInBackgroundComposerResponse { +} + +// Copied from: local:aiserver.v1.RefreshMarketplaceRequest (var: EOs) +message RefreshMarketplaceRequest { + int64 marketplace_id = 1; + optional int32 team_id = 2; +} + +// Copied from: local:aiserver.v1.RefreshMarketplaceResponse (var: FAu) +message RefreshMarketplaceResponse { + Marketplace marketplace = 1; + int32 plugins_indexed = 2; + int32 plugins_updated = 3; + int32 plugins_deprecated = 4; + repeated string deprecated_plugin_names = 5; + repeated string errors = 6; +} + +// Copied from: local:aiserver.v1.RefreshMobileSessionRequest (var: Ulv) +message RefreshMobileSessionRequest { + string refresh_token = 1; +} + +// Copied from: local:aiserver.v1.RefreshMobileSessionResponse (var: $lv) +message RefreshMobileSessionResponse { + string session_token = 1; + string refresh_token = 2; +} + +// Copied from: local:aiserver.v1.RefreshTabContextRequest (var: c$l) +message RefreshTabContextRequest { + CurrentFileInfo current_file = 1; + optional string model_name = 2; + optional LinterErrors linter_errors = 3; + repeated CppFileDiffHistory file_diff_histories = 4; + repeated AdditionalFile additional_files = 5; + optional double client_time = 6; + double time_since_request_start = 7; + double time_at_request_send = 8; + optional bool is_debug = 9; + optional string workspace_id = 10; + optional bool supports_cpt = 11; + optional bool supports_crlf_cpt = 12; + RepositoryInfo repository_info = 13; +} + +// Copied from: local:aiserver.v1.RefreshTabContextResponse (var: l$l) +message RefreshTabContextResponse { + repeated CodeResult code_results = 1; +} + +// Copied from: local:aiserver.v1.RegisterCodeReferencesRequest (var: VAl) +message RegisterCodeReferencesRequest { + string node_id = 1; + repeated SymbolActionResults references = 2; +} + +// Copied from: local:aiserver.v1.RegisterCodeReferencesResponse (var: GAl) +message RegisterCodeReferencesResponse { + repeated string dependencies = 1; +} + +// Copied from: local:aiserver.v1.RegisterCodebaseRequest (var: wdv) +message RegisterCodebaseRequest { + string codebase_uuid = 1; + string path = 2; + CodebaseKind kind = 3; + optional CodebaseEnvironment environment = 4; +} + +// Copied from: local:aiserver.v1.RegisterCodebaseResponse (var: kdv) +message RegisterCodebaseResponse { +} + +// Copied from: local:aiserver.v1.RegisterCodebaseSnapshotRequest (var: Cdv) +message RegisterCodebaseSnapshotRequest { + string codebase_uuid = 1; + string commit_hash = 2; + string tree_hash = 3; + CodebaseSnapshotReason reason = 4; +} + +// Copied from: local:aiserver.v1.RegisterCodebaseSnapshotResponse (var: Edv) +message RegisterCodebaseSnapshotResponse { +} + +// Copied from: local:aiserver.v1.RegisterFileToIndexRequest (var: p0i) +message RegisterFileToIndexRequest { + string index_id = 1; + string workspace_relative_path = 2; + SerializedContextNode root_context_node = 3; + repeated string content = 4; +} + +// Copied from: local:aiserver.v1.RegisterFileToIndexResponse (var: OAl) +message RegisterFileToIndexResponse { + string file_id = 1; + string root_context_node_id = 2; + repeated URIResolutionAttempt dependency_resolution_attempts = 3; + IndexFileData file_data = 4; +} + +// Copied from: local:aiserver.v1.RegisterGithubCursorCodeRequest (var: Rlu) +message RegisterGithubCursorCodeRequest { + string github_repo = 1; + optional string ghe_application = 3; + optional ScmConnectIntentTarget connect_target = 4; + optional ScmConnectIntentSource connect_source = 5; +} + +// Copied from: local:aiserver.v1.RegisterGithubCursorCodeResponse (var: Dlu) +message RegisterGithubCursorCodeResponse { + string cursor_code = 1; + bool should_install = 2; + optional string ghe_hostname = 3; + optional string ghe_app_slug = 4; + optional string ghe_client_id = 5; + optional string github_oauth_client_id = 6; + optional string github_app_slug = 7; +} + +// Copied from: local:aiserver.v1.RegisterMarketplaceAndPluginsRequest (var: umt) +message RegisterMarketplaceAndPluginsRequest { + string git_url = 1; + string git_ref = 2; + string marketplace_name = 3; + repeated RegisterPluginEntry plugins = 4; + optional int32 team_id = 5; + optional string commit_sha = 6; +} + +// Copied from: local:aiserver.v1.RegisterMarketplaceAndPluginsResponse (var: UAu) +message RegisterMarketplaceAndPluginsResponse { + int64 marketplace_id = 1; + repeated RegisteredPlugin plugins = 2; +} + +// Copied from: local:aiserver.v1.RegisterPluginEntry (var: G3t) +message RegisterPluginEntry { + string name = 1; + string description = 2; + string version = 3; + string git_path = 4; + string git_url = 5; + string git_ref = 6; + string display_name = 7; + repeated SkillDescriptor skills = 8; + repeated SubagentDescriptor subagents = 9; + repeated HookDescriptor hooks = 10; + repeated RuleDescriptor rules = 11; + repeated McpDescriptor mcp_servers = 12; + repeated CommandDescriptor commands = 13; + optional string logo_url = 14; + google.protobuf.Struct variables = 15; + optional PluginMinClientVersions min_client_versions = 16; +} + +// Copied from: local:aiserver.v1.RegisterPrivateWorkerPoolRequest (var: NFu) +message RegisterPrivateWorkerPoolRequest { + PrivateWorkerPoolScope scope = 1; + string pool_name = 2; + optional string repo_owner = 3; + optional string repo_name = 4; + optional string repo_url = 5; +} + +// Copied from: local:aiserver.v1.RegisterPrivateWorkerPoolResponse (var: OFu) +message RegisterPrivateWorkerPoolResponse { + bool registered = 1; +} + +// Copied from: local:aiserver.v1.RegisterPushNotificationTokenRequest (var: wOu) +message RegisterPushNotificationTokenRequest { + string token = 1; + PushPlatform platform = 2; + string device_id = 3; + optional string bundle_id = 4; +} + +// Copied from: local:aiserver.v1.RegisterPushNotificationTokenResponse (var: kOu) +message RegisterPushNotificationTokenResponse { +} + +// Copied from: local:aiserver.v1.RegisteredPlugin (var: TOs) +message RegisteredPlugin { + int64 plugin_id = 1; + string name = 2; +} + +// Copied from: local:aiserver.v1.ReindexAndApplyTeamMarketplaceChangesRequest (var: xOs) +message ReindexAndApplyTeamMarketplaceChangesRequest { + int64 marketplace_id = 1; + optional string git_ref = 2; + optional string commit_sha = 3; + optional int32 team_id = 4; +} + +// Copied from: local:aiserver.v1.ReindexAndApplyTeamMarketplaceChangesResponse (var: BAu) +message ReindexAndApplyTeamMarketplaceChangesResponse { + int64 marketplace_id = 1; + repeated RegisteredPlugin plugins = 2; + repeated string removed_plugin_names = 3; +} + +// Copied from: local:aiserver.v1.ReindexComponentDiff (var: KTu) +message ReindexComponentDiff { + string type = 1; + repeated string added = 2; + repeated string removed = 3; +} + +// Copied from: local:aiserver.v1.ReindexPluginDiff (var: hOs) +message ReindexPluginDiff { + string name = 1; + string display_name = 2; + string status = 3; + repeated ReindexComponentDiff component_changes = 4; + repeated string metadata_changes = 5; +} + +// Copied from: local:aiserver.v1.ReindexSummary (var: pOs) +message ReindexSummary { + int32 new_plugins = 1; + int32 removed_plugins = 2; + int32 updated_plugins = 3; + int32 unchanged_plugins = 4; + int32 total_new_components = 5; + int32 total_removed_components = 6; +} + +// Copied from: local:aiserver.v1.RejectCursorPredictionEvent (var: x$l) +message RejectCursorPredictionEvent { + CursorPrediction cursor_prediction = 1; + PointInTimeModel point_in_time_model = 2; +} + +// Copied from: local:aiserver.v1.RejectPluginRequest (var: dAu) +message RejectPluginRequest { + int64 plugin_id = 1; + optional string reason = 2; +} + +// Copied from: local:aiserver.v1.RejectPluginResponse (var: hAu) +message RejectPluginResponse { + Plugin plugin = 1; +} + +// Copied from: local:aiserver.v1.RelayBackfillExistingRunPolicy (var: _po) +enum RelayBackfillExistingRunPolicy { + RELAY_BACKFILL_EXISTING_RUN_POLICY_UNSPECIFIED = 0; + RELAY_BACKFILL_EXISTING_RUN_POLICY_SKIP_EXISTING_SUCCESS = 1; + RELAY_BACKFILL_EXISTING_RUN_POLICY_SKIP_EXISTING_ANY = 2; + RELAY_BACKFILL_EXISTING_RUN_POLICY_RERUN_ALL = 3; +} + +// Copied from: local:aiserver.v1.RelayBackfillFailurePolicy (var: ypo) +enum RelayBackfillFailurePolicy { + RELAY_BACKFILL_FAILURE_POLICY_UNSPECIFIED = 0; + RELAY_BACKFILL_FAILURE_POLICY_STOP_ON_FAILURE = 1; + RELAY_BACKFILL_FAILURE_POLICY_CONTINUE = 2; +} + +// Copied from: local:aiserver.v1.RelayBackfillRecord (var: mMn) +message RelayBackfillRecord { + string id = 1; + string pipeline_definition_id = 2; + string pipeline_name = 3; + string pipeline_version = 4; + optional string schedule_id = 5; + string dedupe_key = 6; + google.protobuf.Timestamp logical_start = 7; + google.protobuf.Timestamp logical_end = 8; + string interval = 9; + RelayBackfillStatus status = 10; + RelayBackfillExistingRunPolicy existing_run_policy = 11; + RelayBackfillFailurePolicy failure_policy = 12; + int32 max_concurrency = 13; + optional string retry_of_backfill_id = 14; + optional string temporal_workflow_id = 15; + google.protobuf.Struct input_template_json = 16; + google.protobuf.Struct stats_json = 17; + optional string error_message = 18; + bool cancel_requested = 19; + optional string created_by = 20; + google.protobuf.Timestamp created_at = 21; + google.protobuf.Timestamp started_at = 22; + google.protobuf.Timestamp completed_at = 23; + int32 window_count = 24; +} + +// Copied from: local:aiserver.v1.RelayBackfillStatus (var: rQd) +enum RelayBackfillStatus { + RELAY_BACKFILL_STATUS_UNSPECIFIED = 0; + RELAY_BACKFILL_STATUS_PENDING = 1; + RELAY_BACKFILL_STATUS_RUNNING = 2; + RELAY_BACKFILL_STATUS_FINISHED = 3; + RELAY_BACKFILL_STATUS_FAILED = 4; + RELAY_BACKFILL_STATUS_CANCELED = 5; +} + +// Copied from: local:aiserver.v1.RelayBackfillWindowDisposition (var: svv) +enum RelayBackfillWindowDisposition { + RELAY_BACKFILL_WINDOW_DISPOSITION_UNSPECIFIED = 0; + RELAY_BACKFILL_WINDOW_DISPOSITION_MATERIALIZED = 1; + RELAY_BACKFILL_WINDOW_DISPOSITION_SATISFIED_EXISTING = 2; + RELAY_BACKFILL_WINDOW_DISPOSITION_UNMATERIALIZED = 3; +} + +// Copied from: local:aiserver.v1.RelayBackfillWindowRecord (var: sQd) +message RelayBackfillWindowRecord { + int32 index = 1; + google.protobuf.Timestamp logical_start = 2; + google.protobuf.Timestamp logical_end = 3; + RelayBackfillWindowDisposition disposition = 4; + optional string run_id = 5; + optional RelayPipelineRunStatus run_status = 6; + optional string latest_finished_run_id = 7; +} + +// Copied from: local:aiserver.v1.RelayJobExecutionRecord (var: ovv) +message RelayJobExecutionRecord { + string id = 1; + string stage_key = 2; + int32 attempt = 3; + string external_job_key = 4; + RelayJobExecutionStatus status = 5; + optional string ray_job_name = 6; + optional string ray_job_namespace = 7; + optional string output_s3_uri = 8; + optional string error_message = 9; +} + +// Copied from: local:aiserver.v1.RelayJobExecutionStatus (var: rvv) +enum RelayJobExecutionStatus { + RELAY_JOB_EXECUTION_STATUS_UNSPECIFIED = 0; + RELAY_JOB_EXECUTION_STATUS_PENDING = 1; + RELAY_JOB_EXECUTION_STATUS_SUBMITTED = 2; + RELAY_JOB_EXECUTION_STATUS_RUNNING = 3; + RELAY_JOB_EXECUTION_STATUS_FINISHED = 4; + RELAY_JOB_EXECUTION_STATUS_FAILED = 5; + RELAY_JOB_EXECUTION_STATUS_CANCELED = 6; + RELAY_JOB_EXECUTION_STATUS_JOB_TIMEOUT = 7; +} + +// Copied from: local:aiserver.v1.RelayPipelineDefinitionSummary (var: Spo) +message RelayPipelineDefinitionSummary { + string id = 1; + string name = 2; + string version = 3; + string content_hash = 4; + bool sync_enabled = 5; + repeated string stage_keys = 6; +} + +// Copied from: local:aiserver.v1.RelayPipelineRunRecord (var: pMn) +message RelayPipelineRunRecord { + string id = 1; + string pipeline_definition_id = 2; + string pipeline_name = 3; + string pipeline_version = 4; + RelayRunKind run_kind = 5; + RelayPipelineRunStatus status = 6; + google.protobuf.Timestamp logical_start = 7; + google.protobuf.Timestamp logical_end = 8; + optional string manual_dedupe_key = 9; + optional string temporal_workflow_id = 10; + optional string temporal_run_id = 11; + optional string created_by = 12; + optional string error_message = 13; + google.protobuf.Struct input_json = 14; + google.protobuf.Struct output_json = 15; + repeated RelayPipelineRunStageRecord stages = 16; + optional string output_prefix = 17; + bool kill_requested = 18; + optional string schedule_id = 19; + google.protobuf.Timestamp scheduled_fire_time = 20; + optional string backfill_id = 21; + optional string retry_of_run_id = 22; + optional string retried_by_run_id = 23; + optional string from_stage_key = 24; + optional string retried_from_stage_key = 25; +} + +// Copied from: local:aiserver.v1.RelayPipelineRunStageRecord (var: avv) +message RelayPipelineRunStageRecord { + string id = 1; + string stage_key = 2; + int32 stage_index = 3; + RelayPipelineRunStageStatus status = 4; + optional string selected_job_execution_id = 5; + optional string rendered_ray_submission_s3_uri = 6; + optional string rendered_job_config_s3_uri = 7; + optional string error_message = 8; + repeated RelayJobExecutionRecord job_executions = 9; + optional google.protobuf.Struct output_json = 10; + optional string reused_from_stage_id = 11; +} + +// Copied from: local:aiserver.v1.RelayPipelineRunStageStatus (var: ivv) +enum RelayPipelineRunStageStatus { + RELAY_PIPELINE_RUN_STAGE_STATUS_UNSPECIFIED = 0; + RELAY_PIPELINE_RUN_STAGE_STATUS_PENDING = 1; + RELAY_PIPELINE_RUN_STAGE_STATUS_RUNNING = 2; + RELAY_PIPELINE_RUN_STAGE_STATUS_FINISHED = 3; + RELAY_PIPELINE_RUN_STAGE_STATUS_FAILED = 4; + RELAY_PIPELINE_RUN_STAGE_STATUS_SKIPPED = 5; + RELAY_PIPELINE_RUN_STAGE_STATUS_CANCELED = 6; +} + +// Copied from: local:aiserver.v1.RelayPipelineRunStatus (var: fpo) +enum RelayPipelineRunStatus { + RELAY_PIPELINE_RUN_STATUS_UNSPECIFIED = 0; + RELAY_PIPELINE_RUN_STATUS_PENDING = 1; + RELAY_PIPELINE_RUN_STATUS_RUNNING = 2; + RELAY_PIPELINE_RUN_STATUS_FINISHED = 3; + RELAY_PIPELINE_RUN_STATUS_FAILED = 4; + RELAY_PIPELINE_RUN_STATUS_CANCELED = 5; +} + +// Copied from: local:aiserver.v1.RelayRunKind (var: gpo) +enum RelayRunKind { + RELAY_RUN_KIND_UNSPECIFIED = 0; + RELAY_RUN_KIND_MANUAL = 1; + RELAY_RUN_KIND_SCHEDULED = 2; + RELAY_RUN_KIND_BACKFILL = 3; + RELAY_RUN_KIND_RETRY = 4; +} + +// Copied from: local:aiserver.v1.RelayScheduleCatchupPolicy (var: bpo) +enum RelayScheduleCatchupPolicy { + RELAY_SCHEDULE_CATCHUP_POLICY_UNSPECIFIED = 0; + RELAY_SCHEDULE_CATCHUP_POLICY_NONE = 1; + RELAY_SCHEDULE_CATCHUP_POLICY_ONCE_PER_INTERVAL = 2; +} + +// Copied from: local:aiserver.v1.RelayScheduleOverlapPolicy (var: vpo) +enum RelayScheduleOverlapPolicy { + RELAY_SCHEDULE_OVERLAP_POLICY_UNSPECIFIED = 0; + RELAY_SCHEDULE_OVERLAP_POLICY_SKIP = 1; + RELAY_SCHEDULE_OVERLAP_POLICY_ALLOW = 2; +} + +// Copied from: local:aiserver.v1.RelayScheduleRecord (var: JHi) +message RelayScheduleRecord { + string id = 1; + string pipeline_definition_id = 2; + string pipeline_name = 3; + string pipeline_version = 4; + string temporal_schedule_id = 5; + string cron_expression = 6; + string timezone = 7; + string interval = 8; + google.protobuf.Struct input_template_json = 9; + bool enabled = 10; + RelayScheduleOverlapPolicy overlap_policy = 11; + RelayScheduleCatchupPolicy catchup_policy = 12; + google.protobuf.Timestamp starts_at = 13; + google.protobuf.Timestamp ends_at = 14; + optional string created_by = 15; + google.protobuf.Timestamp created_at = 16; + google.protobuf.Timestamp last_triggered_at = 17; +} + +// Copied from: local:aiserver.v1.ReleaseAgentStoreFileLockRequest (var: HBu) +message ReleaseAgentStoreFileLockRequest { + string store_id = 1; + string rel_path = 2; + string lock_token = 3; +} + +// Copied from: local:aiserver.v1.ReleaseAgentStoreFileLockResponse (var: zBu) +message ReleaseAgentStoreFileLockResponse { + bool released = 1; +} + +// Copied from: local:aiserver.v1.ReleasePrivateWorkerRequest (var: GFu) +message ReleasePrivateWorkerRequest { + string worker_id = 1; +} + +// Copied from: local:aiserver.v1.ReleasePrivateWorkerResponse (var: qFu) +message ReleasePrivateWorkerResponse { +} + +// Copied from: local:aiserver.v1.ReloadWindowAction (var: Kln) +message ReloadWindowAction { +} + +// Copied from: local:aiserver.v1.RemoteAuthority (var: qPi) +message RemoteAuthority { + RemoteConnectionType connection_type = 1; +} + +// Copied from: local:aiserver.v1.RemoteConnectionType (var: PBe) +enum RemoteConnectionType { + REMOTE_CONNECTION_TYPE_UNSPECIFIED = 0; + REMOTE_CONNECTION_TYPE_LOCAL = 1; + REMOTE_CONNECTION_TYPE_WSL = 2; + REMOTE_CONNECTION_TYPE_SSH = 3; + REMOTE_CONNECTION_TYPE_DEVCONTAINER = 4; + REMOTE_CONNECTION_TYPE_DEVCONTAINER_SSH = 5; + REMOTE_CONNECTION_TYPE_DEVCONTAINER_WSL = 6; +} + +// Copied from: local:aiserver.v1.RemoveGroupMembersRequest (var: b0u) +message RemoveGroupMembersRequest { + int32 group_id = 1; + int32 team_id = 2; + repeated int32 user_ids = 3; + optional GroupType type = 4; +} + +// Copied from: local:aiserver.v1.RemoveGroupMembersResponse (var: _0u) +message RemoveGroupMembersResponse { + Group group = 1; +} + +// Copied from: local:aiserver.v1.RemoveMarketplaceRequest (var: QDi) +message RemoveMarketplaceRequest { + int64 marketplace_id = 1; + optional int32 team_id = 2; +} + +// Copied from: local:aiserver.v1.RemoveMarketplaceResponse (var: OAu) +message RemoveMarketplaceResponse { + bool success = 1; +} + +// Copied from: local:aiserver.v1.RemoveMemberRequest (var: Pfu) +message RemoveMemberRequest { + int32 team_id = 1; + int32 user_id = 2; +} + +// Copied from: local:aiserver.v1.RemoveMemberResponse (var: Lfu) +message RemoveMemberResponse { + bool has_billing_cycle_usage = 1; +} + +// Copied from: local:aiserver.v1.RemoveOrganizationGroupMembersRequest (var: Sdu) +message RemoveOrganizationGroupMembersRequest { + string organization_id = 1; + int64 group_id = 2; + repeated int32 user_ids = 3; +} + +// Copied from: local:aiserver.v1.RemoveOrganizationGroupMembersResponse (var: wdu) +message RemoveOrganizationGroupMembersResponse { + int32 removed_count = 1; +} + +// Copied from: local:aiserver.v1.RemoveOrganizationIdentityProviderDomainJoinRequest (var: cuu) +message RemoveOrganizationIdentityProviderDomainJoinRequest { + string organization_id = 1; + string identity_provider_public_id = 2; + string domain = 3; +} + +// Copied from: local:aiserver.v1.RemoveRepoHistoryRequest (var: ARl) +message RemoveRepoHistoryRequest { + RepositoryInfo repository = 1; +} + +// Copied from: local:aiserver.v1.RemoveRepoHistoryResponse (var: IRl) +message RemoveRepoHistoryResponse { + // Copied from: local:aiserver.v1.RemoveRepoHistoryResponse.Status (var: RRl) + enum Status { + STATUS_UNSPECIFIED = 0; + STATUS_NOT_FOUND = 1; + STATUS_NOT_AUTHORIZED = 2; + STATUS_PARTIAL_SUCCESS = 3; + STATUS_SUCCESS = 4; + } + + Status status = 1; +} + +// Copied from: local:aiserver.v1.RemoveRepoPatternRequest (var: Ovu) +message RemoveRepoPatternRequest { + int32 team_id = 1; + int32 repo_id = 2; + int32 pattern_id = 3; +} + +// Copied from: local:aiserver.v1.RemoveRepoPatternResponse (var: Fvu) +message RemoveRepoPatternResponse { +} + +// Copied from: local:aiserver.v1.RemoveRepositoryRequest (var: Sfs) +message RemoveRepositoryRequest { + RepositoryInfo repository = 1; +} + +// Copied from: local:aiserver.v1.RemoveRepositoryResponse (var: ZIl) +message RemoveRepositoryResponse { + // Copied from: local:aiserver.v1.RemoveRepositoryResponse.Status (var: XIl) + enum Status { + STATUS_UNSPECIFIED = 0; + STATUS_NOT_FOUND = 1; + STATUS_NOT_AUTHORIZED = 2; + STATUS_STARTED = 3; + STATUS_SUCCESS = 4; + } + + Status status = 1; +} + +// Copied from: local:aiserver.v1.RemoveTeamGroupMembersRequest (var: Fdu) +message RemoveTeamGroupMembersRequest { + int32 team_id = 1; + int64 group_id = 2; + repeated int32 user_ids = 3; +} + +// Copied from: local:aiserver.v1.RemoveTeamGroupMembersResponse (var: Bdu) +message RemoveTeamGroupMembersResponse { + int32 removed_count = 1; +} + +// Copied from: local:aiserver.v1.RenameBackgroundComposerRequest (var: ADu) +message RenameBackgroundComposerRequest { + string bc_id = 1; + string new_name = 2; +} + +// Copied from: local:aiserver.v1.RenameBackgroundComposerResponse (var: IDu) +message RenameBackgroundComposerResponse { + string name = 1; +} + +// Copied from: local:aiserver.v1.RenameEnvironmentRequest (var: v2u) +message RenameEnvironmentRequest { + string public_id = 1; + optional string name = 2; +} + +// Copied from: local:aiserver.v1.RenameEnvironmentResponse (var: b2u) +message RenameEnvironmentResponse { +} + +// Copied from: local:aiserver.v1.RenameKeyringRequest (var: d3u) +message RenameKeyringRequest { + string public_id = 1; + string name = 2; +} + +// Copied from: local:aiserver.v1.RenameKeyringResponse (var: h3u) +message RenameKeyringResponse { + Keyring keyring = 1; +} + +// Copied from: local:aiserver.v1.RenameMcpOAuthAccountRequest (var: Hpu) +message RenameMcpOAuthAccountRequest { + int32 server_id = 1; + string account_key = 2; + string new_account_key = 3; +} + +// Copied from: local:aiserver.v1.RenameMcpOAuthAccountResponse (var: zpu) +message RenameMcpOAuthAccountResponse { +} + +// Copied from: local:aiserver.v1.RenewAgentStoreFileLockRequest (var: jBu) +message RenewAgentStoreFileLockRequest { + string store_id = 1; + string rel_path = 2; + string lock_token = 3; +} + +// Copied from: local:aiserver.v1.RenewAgentStoreFileLockResponse (var: WBu) +message RenewAgentStoreFileLockResponse { + bool renewed = 1; + int64 expires_at_ms = 2; +} + +// Copied from: local:aiserver.v1.ReorderPendingFollowupRequest (var: LFs) +message ReorderPendingFollowupRequest { + string bc_id = 1; + string followup_id = 2; + string target_followup_id = 3; + bool insert_after = 4; +} + +// Copied from: local:aiserver.v1.ReorderPendingFollowupResponse (var: mLu) +message ReorderPendingFollowupResponse { + bool success = 1; + string error_message = 2; +} + +// Copied from: local:aiserver.v1.ReparentBackgroundComposerRequest (var: LDu) +message ReparentBackgroundComposerRequest { + string bc_id = 1; + string parent_agent_id = 2; + CloudSubagentParentAgentType parent_agent_type = 3; + string subagent_type = 4; +} + +// Copied from: local:aiserver.v1.ReparentBackgroundComposerResponse (var: NDu) +message ReparentBackgroundComposerResponse { +} + +// Copied from: agent.v1.ReplaceEnvArgs (var: b1s) +message ReplaceEnvArgs { + ReplaceEnvConfig config = 1; + ReplaceEnvMode mode = 2; + repeated RepoCheckoutRefOverride checkout_ref_overrides = 3; +} + +// Copied from: agent.v1.ReplaceEnvConfig (var: YBl) +message ReplaceEnvConfig { + string install_script = 1; + string dockerfile_contents = 2; +} + +// Copied from: agent.v1.ReplaceEnvFailure (var: SSn) +message ReplaceEnvFailure { + string error_message = 1; + string setup_logs = 2; +} + +// Copied from: agent.v1.ReplaceEnvMode (var: KBl) +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: agent.v1.ReplaceEnvResult (var: mBt) +message ReplaceEnvResult { + oneof result { + ReplaceEnvSuccess success = 1; + ReplaceEnvFailure failure = 2; + } +} + +// Copied from: agent.v1.ReplaceEnvSuccess (var: ZBl) +message ReplaceEnvSuccess { + string setup_logs = 1; +} + +// Copied from: agent.v1.ReplaceEnvToolCallDelta (var: JBl) +message ReplaceEnvToolCallDelta { + string associated_pod_key = 1; +} + +// Copied from: local:aiserver.v1.ReplaceTeamLlmGatewayCredentialRequest (var: pbu) +message ReplaceTeamLlmGatewayCredentialRequest { + int32 team_id = 1; + string credential = 2; +} + +// Copied from: local:aiserver.v1.ReplaceTeamLlmGatewayCredentialResponse (var: mbu) +message ReplaceTeamLlmGatewayCredentialResponse { + TeamLlmGatewayCredentialStatus status = 1; +} + +// Copied from: local:aiserver.v1.ReplayRequestRequest (var: Qvv) +message ReplayRequestRequest { + string request_id = 1; + string auth_id = 2; +} + +// Copied from: local:aiserver.v1.ReplayRequestResponse (var: Yvv) +message ReplayRequestResponse { + string json_payload = 1; +} + +// Copied from: local:aiserver.v1.ReplyToReviewThreadRequest (var: nBs) +message ReplyToReviewThreadRequest { + string pr_url = 1; + string thread_id = 2; + string body = 3; +} + +// Copied from: local:aiserver.v1.ReplyToReviewThreadResponse (var: hOu) +message ReplyToReviewThreadResponse { + optional PRReviewThread thread = 1; +} + +// Copied from: agent.v1.RepoCheckoutRefOverride (var: QBl) +message RepoCheckoutRefOverride { + string repo_url = 1; + string ref = 2; +} + +// Copied from: local:aiserver.v1.RepoConfigSummary (var: z2u) +message RepoConfigSummary { + repeated string repo_urls = 1; + optional string environment_json_path = 2; +} + +// Copied from: local:aiserver.v1.RepoEvent (var: q7l) +message RepoEvent { + // Copied from: local:aiserver.v1.RepoEvent.Type (var: qpe) + enum Type { + TYPE_UNSPECIFIED = 0; + TYPE_SYNCED = 1; + TYPE_LOADING = 2; + TYPE_INDEXING_SETUP = 3; + TYPE_INDEXING_INIT_FROM_SIMILAR_CODEBASE = 4; + TYPE_PAUSED = 5; + TYPE_INDEXING = 6; + TYPE_ERROR = 7; + TYPE_NOT_AUTO_INDEXING = 8; + TYPE_NOT_INDEXED = 9; + } + + string repo_owner = 1; + string repo_name = 2; + Type event_type = 3; +} + +// Copied from: local:aiserver.v1.RepoHistoryInfo (var: mRl) +message RepoHistoryInfo { + string history_id = 1; + optional string branch_name = 2; + optional string last_indexed_commit = 3; + optional uint32 last_indexed_commit_generation = 4; + optional bytes sync_bitmap = 5; +} + +// Copied from: local:aiserver.v1.RepoHistoryInitHandshakeRequest (var: pRl) +message RepoHistoryInitHandshakeRequest { + RepositoryInfo repository = 1; + string origin = 2; + optional string test_origin_commit = 3; + optional string test_origin_commit_secret = 4; + optional bool send_copy_candidates = 5; +} + +// Copied from: local:aiserver.v1.RepoHistoryInitHandshakeResponse (var: gRl) +message RepoHistoryInitHandshakeResponse { + // Copied from: local:aiserver.v1.RepoHistoryInitHandshakeResponse.Status (var: fRl) + enum Status { + STATUS_UNSPECIFIED = 0; + STATUS_FAILURE = 1; + STATUS_SUCCESS = 2; + STATUS_TEST_CANDIDATES = 3; + STATUS_NO_INDEXING = 4; + } + + Status status = 1; + repeated RepoHistoryInfo histories = 2; + optional string copy_candidate_nonce = 3; + repeated string copy_candidates = 4; + optional string error_message = 5; +} + +// Copied from: local:aiserver.v1.RepoHistorySyncCompleteRequest (var: yRl) +message RepoHistorySyncCompleteRequest { + // Copied from: local:aiserver.v1.RepoHistorySyncCompleteRequest.Status (var: SRl) + enum Status { + STATUS_UNSPECIFIED = 0; + STATUS_SUCCESS = 1; + STATUS_FAILURE = 2; + STATUS_TOTAL_FAILURE = 3; + STATUS_INTERRUPTED = 4; + } + + // Copied from: local:aiserver.v1.RepoHistorySyncCompleteRequest.SyncedHistory (var: wRl) + message SyncedHistory { + string history_id = 1; + RepoHistorySyncCompleteRequest.Status status = 2; + optional string last_indexed_commit = 3; + optional string last_indexed_commit_secret = 4; + optional uint32 last_indexed_commit_generation = 5; + } + + repeated SyncedHistory synced_histories = 1; +} + +// Copied from: local:aiserver.v1.RepoHistorySyncCompleteResponse (var: kRl) +message RepoHistorySyncCompleteResponse { +} + +// Copied from: local:aiserver.v1.RepoHistorySyncOneRequest (var: vRl) +message RepoHistorySyncOneRequest { + string history_id = 1; + repeated IndexedPullRequest pull_requests = 2; + repeated uint32 ignore_commits = 3; +} + +// Copied from: local:aiserver.v1.RepoHistorySyncOneResponse (var: bRl) +message RepoHistorySyncOneResponse { + // Copied from: local:aiserver.v1.RepoHistorySyncOneResponse.Status (var: _Rl) + enum Status { + STATUS_UNSPECIFIED = 0; + STATUS_SUCCESS = 1; + STATUS_FAILURE = 2; + STATUS_PARTIAL_SUCCESS = 3; + STATUS_NOT_INDEXING = 4; + } + + Status status = 1; +} + +// Copied from: local:aiserver.v1.RepoIdentifier (var: Pyu) +message RepoIdentifier { + int64 installation_id = 1; + string repo_node_id = 2; +} + +// Copied from: local:aiserver.v1.RepoSettings (var: yNs) +message RepoSettings { + bool bug_bot_enabled = 1; + bool bug_bot_manual_only = 2; + optional bool bug_bot_learning_enabled = 3; + optional bool bug_bot_learning_inherit_installation_default = 4; +} + +// Copied from: local:aiserver.v1.RepoStartingRef (var: ACn) +message RepoStartingRef { + string repo_url = 1; + string ref = 2; + string base_ref = 3; +} + +// Copied from: local:aiserver.v1.RepoWithLocalEnvironment (var: uNu) +message RepoWithLocalEnvironment { + string repo_url = 1; + bool file_exists = 2; + int64 last_seen_at_ms = 3; +} + +// Copied from: local:aiserver.v1.ReportAgentFeedbackRequest (var: Ozl) +message ReportAgentFeedbackRequest { + // Copied from: local:aiserver.v1.ReportAgentFeedbackRequest.Sentiment (var: own) + enum Sentiment { + SENTIMENT_UNSPECIFIED = 0; + SENTIMENT_UP = 1; + SENTIMENT_DOWN = 2; + SENTIMENT_RETRACTED = 3; + } + + // Copied from: local:aiserver.v1.ReportAgentFeedbackRequest.Source (var: RAi) + enum Source { + SOURCE_UNSPECIFIED = 0; + SOURCE_IDE = 1; + SOURCE_GLASS = 2; + SOURCE_SAND = 3; + } + + // Copied from: local:aiserver.v1.ReportAgentFeedbackRequest.Variant (var: DAi) + enum Variant { + VARIANT_UNSPECIFIED = 0; + VARIANT_PROMINENT = 1; + VARIANT_INLINE = 2; + } + + string request_id = 1; + Sentiment sentiment = 2; + repeated string categories = 3; + optional string comment = 4; + optional string canonical_model_name = 5; + optional Source source = 6; + optional Variant variant = 7; +} + +// Copied from: local:aiserver.v1.ReportAgentFeedbackResponse (var: Fzl) +message ReportAgentFeedbackResponse { +} + +// Copied from: local:aiserver.v1.ReportAgentMessageFeedbackRequest (var: Bzl) +message ReportAgentMessageFeedbackRequest { + string request_id = 1; + string bubble_id = 2; + optional string composer_id = 3; + string selected_text = 4; + optional int32 selection_start = 5; + optional int32 selection_end = 6; + string comment = 7; + optional string canonical_model_name = 8; + optional string category = 9; + optional string sentiment = 10; +} + +// Copied from: local:aiserver.v1.ReportAgentMessageFeedbackResponse (var: Uzl) +message ReportAgentMessageFeedbackResponse { + string s3_uri = 1; +} + +// Copied from: local:aiserver.v1.ReportAgentSnapshotRequest (var: JUu) +message ReportAgentSnapshotRequest { + string agent_request_id = 1; + repeated RequestTrackingFileSnapshot initial_file_snapshots = 2; + repeated RequestTrackingFileSnapshot file_snapshots = 3; + repeated string too_big_files = 4; + string name = 11; + double snapshot_date_unix_milliseconds = 10; +} + +// Copied from: local:aiserver.v1.ReportAgentSnapshotResponse (var: r8u) +message ReportAgentSnapshotResponse { +} + +// Copied from: local:aiserver.v1.ReportAiCodeChangeMetricsRequest (var: pYl) +message ReportAiCodeChangeMetricsRequest { + repeated AiCodeChange changes = 1; +} + +// Copied from: local:aiserver.v1.ReportAiCodeChangeMetricsResponse (var: mYl) +message ReportAiCodeChangeMetricsResponse { +} + +// Copied from: local:aiserver.v1.ReportAutoRoutingResultFeedbackRequest (var: $zl) +message ReportAutoRoutingResultFeedbackRequest { + string request_id = 1; + string rating = 2; + string source = 3; + string displayed_model_label = 4; +} + +// Copied from: local:aiserver.v1.ReportAutoRoutingResultFeedbackResponse (var: jzl) +message ReportAutoRoutingResultFeedbackResponse { +} + +// Copied from: local:aiserver.v1.ReportBugRequest (var: rQl) +message ReportBugRequest { + // Copied from: local:aiserver.v1.ReportBugRequest.BugType (var: oZ) + enum BugType { + BUG_TYPE_UNSPECIFIED = 0; + BUG_TYPE_LOW = 1; + BUG_TYPE_MEDIUM = 2; + BUG_TYPE_URGENT = 3; + BUG_TYPE_CRASH = 4; + BUG_TYPE_CONNECTION_ERROR = 5; + BUG_TYPE_IDEA = 6; + BUG_TYPE_MISC_AUTOMATIC_ERROR = 7; + } + + string bug = 1; + BugType bug_type = 2; + BugContext context = 3; + string contact_email = 4; +} + +// Copied from: local:aiserver.v1.ReportBugResponse (var: sQl) +message ReportBugResponse { +} + +// Copied from: agent.v1.ReportBugfixResultsError (var: Bfs) +message ReportBugfixResultsError { + string error = 1; +} + +// Copied from: local:aiserver.v1.ReportBugfixResultsParams (var: aFt) +message ReportBugfixResultsParams { + string summary = 1; + repeated BugfixResultItem results = 2; +} + +// Copied from: local:aiserver.v1.ReportBugfixResultsResult (var: d1i) +message ReportBugfixResultsResult { + oneof result { + ReportBugfixResultsSuccess success = 1; + ReportBugfixResultsError error = 2; + } +} + +// Copied from: local:aiserver.v1.ReportBugfixResultsStream (var: j_s) +message ReportBugfixResultsStream { + ReportBugfixResultsParams params = 1; +} + +// Copied from: agent.v1.ReportBugfixResultsSuccess (var: Ffs) +message ReportBugfixResultsSuccess { + repeated BugfixResultItem results = 1; +} + +// Copied from: local:aiserver.v1.ReportClientNumericMetricsRequest (var: wYl) +message ReportClientNumericMetricsRequest { + repeated ClientNumericMetric metrics = 1; +} + +// Copied from: local:aiserver.v1.ReportClientNumericMetricsResponse (var: kYl) +message ReportClientNumericMetricsResponse { +} + +// Copied from: local:aiserver.v1.ReportCmdKFateRequest (var: kQl) +message ReportCmdKFateRequest { + // Copied from: local:aiserver.v1.ReportCmdKFateRequest.Fate (var: CQl) + enum Fate { + FATE_UNSPECIFIED = 0; + FATE_CANCELLED = 1; + FATE_ACCEPTED = 2; + FATE_REJECTED = 3; + FATE_FOLLOWED_UP = 4; + FATE_REPROMPTED = 5; + } + + string request_id = 1; + Fate fate = 2; +} + +// Copied from: local:aiserver.v1.ReportCmdKFateResponse (var: EQl) +message ReportCmdKFateResponse { +} + +// Copied from: local:aiserver.v1.ReportCommitAiAnalyticsRequest (var: dYl) +message ReportCommitAiAnalyticsRequest { + string commit_hash = 1; + int32 total_lines_added = 2; + int32 total_lines_deleted = 3; + int32 tab_lines_added = 4; + int32 tab_lines_deleted = 5; + int32 composer_lines_added = 6; + int32 composer_lines_deleted = 7; + optional string branch_name = 8; + optional bool is_primary_branch = 9; + optional string repo_name = 10; + int32 non_ai_lines_added = 11; + int32 non_ai_lines_deleted = 12; + repeated string change_ids = 13; + optional string message = 14; + optional int64 commit_ts = 15; + repeated FileRangeAnnotations range_annotations = 16; + optional string commit_source = 17; +} + +// Copied from: local:aiserver.v1.ReportCommitAiAnalyticsResponse (var: hYl) +message ReportCommitAiAnalyticsResponse { +} + +// Copied from: local:aiserver.v1.ReportEditFateRequest (var: aWl) +message ReportEditFateRequest { + string request_id = 1; + optional EditFate fate = 2; + optional int32 num_accepted_partial_diffs = 3; + optional int32 num_rejected_partial_diffs = 4; +} + +// Copied from: local:aiserver.v1.ReportEditFateResponse (var: cWl) +message ReportEditFateResponse { +} + +// Copied from: local:aiserver.v1.ReportFeedbackRequest (var: eQl) +message ReportFeedbackRequest { + // Copied from: local:aiserver.v1.ReportFeedbackRequest.FeedbackType (var: tQl) + enum FeedbackType { + FEEDBACK_TYPE_UNSPECIFIED = 0; + FEEDBACK_TYPE_LOW_PRIORITY = 1; + FEEDBACK_TYPE_HIGH_PRIORITY = 2; + } + + string feedback = 1; + FeedbackType feedback_type = 2; +} + +// Copied from: local:aiserver.v1.ReportFeedbackResponse (var: nQl) +message ReportFeedbackResponse { +} + +// Copied from: local:aiserver.v1.ReportGenerationFeedbackRequest (var: Lzl) +message ReportGenerationFeedbackRequest { + // Copied from: local:aiserver.v1.ReportGenerationFeedbackRequest.FeedbackType (var: QFe) + enum FeedbackType { + FEEDBACK_TYPE_UNSPECIFIED = 0; + FEEDBACK_TYPE_THUMBS_UP = 1; + FEEDBACK_TYPE_THUMBS_DOWN = 2; + FEEDBACK_TYPE_NEUTRAL = 3; + FEEDBACK_TYPE_STARS = 4; + } + + // Copied from: local:aiserver.v1.ReportGenerationFeedbackRequest.Source (var: xIs) + enum Source { + SOURCE_UNSPECIFIED = 0; + SOURCE_INLINE = 1; + SOURCE_VIBEOMETER = 2; + } + + FeedbackType feedback_type = 1; + string request_id = 2; + optional string comment = 3; + optional int32 stars_overall = 4; + optional int32 stars_speed = 6; + optional int32 stars_accuracy = 7; + optional int32 stars_style_taste = 8; + optional bool never_ask_again = 9; + optional bool did_popup = 10; + Source source = 11; +} + +// Copied from: local:aiserver.v1.ReportGenerationFeedbackResponse (var: Nzl) +message ReportGenerationFeedbackResponse { +} + +// Copied from: local:aiserver.v1.ReportGroundTruthCandidateRequest (var: SQl) +message ReportGroundTruthCandidateRequest { + string request_id = 1; + int32 time_since_completed_action_ms = 2; + FeatureType feature_type = 3; + string relative_workspace_path = 4; + string contents = 5; + LineRange selection_in_question = 6; + int32 lines_above_and_below = 7; +} + +// Copied from: local:aiserver.v1.ReportGroundTruthCandidateResponse (var: wQl) +message ReportGroundTruthCandidateResponse { +} + +// Copied from: local:aiserver.v1.ReportInlineActionRequest (var: ZZu) +message ReportInlineActionRequest { + string action = 1; + string generation_uuid = 2; +} + +// Copied from: local:aiserver.v1.ReportInlineActionResponse (var: XZu) +message ReportInlineActionResponse { +} + +// Copied from: local:aiserver.v1.ReportMetricsRequest (var: q1n) +message ReportMetricsRequest { + // Copied from: local:aiserver.v1.ReportMetricsRequest.Metric (var: JZu) + message Metric { + optional double value = 1; + map tags = 2; + } + + // Copied from: local:aiserver.v1.ReportMetricsRequest.NamedMetric (var: eXu) + message NamedMetric { + string name = 1; + optional double value = 2; + map tags = 3; + } + + map metrics = 1; + repeated NamedMetric metrics_list = 2; +} + +// Copied from: local:aiserver.v1.ReportMetricsResponse (var: K1n) +message ReportMetricsResponse { +} + +// Copied from: local:aiserver.v1.ReportModeSelectionRequest (var: ilv) +message ReportModeSelectionRequest { + string mode = 1; + CmdKDebugInfo debug_info = 2; +} + +// Copied from: local:aiserver.v1.ReportModeSelectionResponse (var: rlv) +message ReportModeSelectionResponse { +} + +// Copied from: local:aiserver.v1.ReportProcessMetricsRequest (var: gYl) +message ReportProcessMetricsRequest { + int64 sample_start = 1; + int64 sample_end = 2; + int32 num_subsamples = 3; + int64 window_seq = 4; + string session_id = 5; + repeated ProcessMetricsRowRequest rows = 6; + optional string os = 7; + optional string os_version = 8; + optional string arch = 9; + optional string client_version = 10; + optional string client_id = 11; +} + +// Copied from: local:aiserver.v1.ReportProcessMetricsResponse (var: vYl) +message ReportProcessMetricsResponse { +} + +// Copied from: local:aiserver.v1.ReportProcessMetricsV2Request (var: hRs) +message ReportProcessMetricsV2Request { + int64 sample_start = 1; + int64 sample_end = 2; + int32 num_subsamples = 3; + string session_id = 4; + repeated ProcessMetricsV2RowRequest rows = 5; + string os = 6; + string arch = 7; + string client_version = 8; + string origin = 9; +} + +// Copied from: local:aiserver.v1.ReportProcessMetricsV2Response (var: bYl) +message ReportProcessMetricsV2Response { +} + +// Copied from: local:aiserver.v1.ReportSandProcessMetricsRequest (var: _Yl) +message ReportSandProcessMetricsRequest { + int64 sample_start = 1; + int64 sample_end = 2; + int32 num_subsamples = 3; + int64 sample_seqno = 4; + string session_id = 5; + repeated SandProcessMetricsRowRequest rows = 6; + string os = 7; + string os_version = 8; + string arch = 9; + string client_version = 10; + string client_id = 11; +} + +// Copied from: local:aiserver.v1.ReportSandProcessMetricsResponse (var: SYl) +message ReportSandProcessMetricsResponse { +} + +// Copied from: local:aiserver.v1.ReportUsageRequest (var: sbv) +message ReportUsageRequest { + string provider = 1; + string deployment = 2; + string workload_id = 3; + string conversation_id = 4; + int64 input_tokens = 5; + int64 output_tokens = 6; + int64 total_tokens = 7; + bool success = 8; + int64 duration_ms = 9; + string model = 10; + ProviderErrorType provider_error_type = 11; + string conversation_group_id = 12; + int64 cached_input_tokens = 13; + bool is_stream = 14; + string canonical_model = 15; +} + +// Copied from: local:aiserver.v1.ReportUsageResponse (var: obv) +message ReportUsageResponse { +} + +// Copied from: local:aiserver.v1.ReportWorkspaceRepositoriesRequest (var: mdv) +message ReportWorkspaceRepositoriesRequest { + repeated CodebaseRepositoryIdentity identities = 1; +} + +// Copied from: local:aiserver.v1.ReportWorkspaceRepositoriesResponse (var: gdv) +message ReportWorkspaceRepositoriesResponse { +} + +// Copied from: local:aiserver.v1.RepositoriesRequest (var: ht) +message RepositoriesRequest { +} + +// Copied from: local:aiserver.v1.RepositoriesResponse (var: At) +message RepositoriesResponse { + repeated RepositoryInfo repositories = 1; +} + +// Copied from: local:aiserver.v1.RepositoryCodebaseInfo (var: _Il) +message RepositoryCodebaseInfo { + // Copied from: local:aiserver.v1.RepositoryCodebaseInfo.Status (var: yIl) + enum Status { + STATUS_UNSPECIFIED = 0; + STATUS_UP_TO_DATE = 1; + STATUS_OUT_OF_SYNC = 2; + STATUS_EMPTY = 3; + STATUS_EMPTY_WITH_COPY_AVAILABLE = 4; + STATUS_COPY_IN_PROGRESS = 5; + } + + string codebase_id = 1; + Status status = 2; + QueryOnlyRepositoryInfo query_only_similar_repo = 3; + string copy_task_handle = 4; +} + +// Copied from: local:aiserver.v1.RepositoryCodebaseSyncStatus (var: kIl) +message RepositoryCodebaseSyncStatus { + // Copied from: local:aiserver.v1.RepositoryCodebaseSyncStatus.Status (var: CIl) + enum Status { + STATUS_UNSPECIFIED = 0; + STATUS_SUCCESS = 1; + STATUS_FAILURE = 2; + } + + string codebase_id = 1; + Status status = 2; + SimilarityMetricType similarity_metric_type = 3; + repeated float similarity_metric = 4; + string path_key_hash = 5; + PathKeyHashType path_key_hash_type = 6; + int32 failed_upload_count = 7; + int32 failed_delete_count = 8; + int32 total_upload_count = 9; + int32 total_delete_count = 10; + int32 failed_subtree_count = 11; + int32 total_subtree_count = 12; + bool hit_iteration_limit = 13; +} + +// Copied from: agent.v1.RepositoryIndexingInfo (var: r4l) +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:aiserver.v1.RepositoryInfo (var: S0) +message RepositoryInfo { + 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 int32 num_files = 8; + optional double orthogonal_transform_seed = 9; + optional EmbeddingModel preferred_embedding_model = 10; + string workspace_uri = 11; + optional DatabaseProvider preferred_db_provider = 12; +} + +// Copied from: local:aiserver.v1.RepositoryStatusRequest (var: yt) +message RepositoryStatusRequest { + RepositoryInfo repository = 1; +} + +// Copied from: local:aiserver.v1.RepositoryStatusResponse (var: kt) +message RepositoryStatusResponse { + // Copied from: local:aiserver.v1.RepositoryStatusResponse.AuthTokenNotAuthorized (var: Ct) + message AuthTokenNotAuthorized { + } + + // Copied from: local:aiserver.v1.RepositoryStatusResponse.AuthTokenNotFound (var: Jt) + message AuthTokenNotFound { + } + + // Copied from: local:aiserver.v1.RepositoryStatusResponse.EmptyMessage (var: Nt) + message EmptyMessage { + } + + // Copied from: local:aiserver.v1.RepositoryStatusResponse.NotFound (var: wt) + message NotFound { + } + + // Copied from: local:aiserver.v1.RepositoryStatusResponse.NotSubscribed (var: Et) + message NotSubscribed { + } + + // Copied from: local:aiserver.v1.RepositoryStatusResponse.Synced (var: vt) + message Synced { + string branch = 1; + string commit = 2; + } + + // Copied from: local:aiserver.v1.RepositoryStatusResponse.Syncing (var: It) + message Syncing { + string branch = 1; + string old_commit = 2; + string new_commit = 3; + float progress = 4; + } + + // Copied from: local:aiserver.v1.RepositoryStatusResponse.TooBig (var: Bt) + message TooBig { + int32 max_size = 1; + } + + // Copied from: local:aiserver.v1.RepositoryStatusResponse.Uploading (var: St) + message Uploading { + float progress = 1; + } + + optional bool is_owner = 9; + oneof status { + NotFound not_found = 1; + Uploading uploading = 2; + Syncing syncing = 3; + Synced synced = 4; + NotSubscribed not_subscribed = 5; + TooBig too_big = 6; + AuthTokenNotFound auth_token_not_found = 7; + AuthTokenNotAuthorized auth_token_not_authorized = 8; + EmptyMessage error_uploading = 10; + EmptyMessage error_syncing = 11; + } +} + +// Copied from: agent.v1.RequestContext (var: qte) +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; + optional SystemPromptSpec system_prompt_override = 53; +} + +// Copied from: agent.v1.RequestContextArgs (var: ESn) +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: agent.v1.RequestContextEnv (var: xGe) +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: agent.v1.RequestContextError (var: s4l) +message RequestContextError { + string error = 1; +} + +// Copied from: agent.v1.RequestContextPartReferences (var: L1s) +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: agent.v1.RequestContextRejected (var: o4l) +message RequestContextRejected { + string reason = 1; +} + +// Copied from: agent.v1.RequestContextResult (var: vBt) +message RequestContextResult { + oneof result { + RequestContextSuccess success = 1; + RequestContextError error = 2; + RequestContextRejected rejected = 3; + } +} + +// Copied from: agent.v1.RequestContextSuccess (var: bBt) +message RequestContextSuccess { + RequestContext request_context = 1; + optional bool served_from_disk_cache = 2; +} + +// Copied from: local:aiserver.v1.RequestIndividualLimitsOptOutRequest (var: aTu) +message RequestIndividualLimitsOptOutRequest { +} + +// Copied from: local:aiserver.v1.RequestIndividualLimitsOptOutResponse (var: cTu) +message RequestIndividualLimitsOptOutResponse { + repeated IndividualLimitsOptOutTeamResult team_results = 1; +} + +// Copied from: local:aiserver.v1.RequestKillRequest (var: _pv) +message RequestKillRequest { + string run_id = 1; + EvalKillReason reason = 2; +} + +// Copied from: local:aiserver.v1.RequestKillResponse (var: ypv) +message RequestKillResponse { + bool ok = 1; +} + +// Copied from: local:aiserver.v1.RequestReceivedResponse (var: f0i) +message RequestReceivedResponse { + string req_uuid = 1; +} + +// Copied from: local:aiserver.v1.RequestRelayBackfillCancelRequest (var: Bvv) +message RequestRelayBackfillCancelRequest { + string backfill_id = 1; + optional string requested_by = 2; +} + +// Copied from: local:aiserver.v1.RequestRelayBackfillCancelResponse (var: Uvv) +message RequestRelayBackfillCancelResponse { + RelayBackfillRecord backfill = 1; +} + +// Copied from: local:aiserver.v1.RequestRelayPipelineRunCancelRequest (var: yvv) +message RequestRelayPipelineRunCancelRequest { + string run_id = 1; + optional string requested_by = 2; +} + +// Copied from: local:aiserver.v1.RequestRelayPipelineRunCancelResponse (var: Svv) +message RequestRelayPipelineRunCancelResponse { + RelayPipelineRunRecord run = 1; +} + +// Copied from: local:aiserver.v1.RequestReplayHealthRequest (var: Vvv) +message RequestReplayHealthRequest { +} + +// Copied from: local:aiserver.v1.RequestReplayHealthResponse (var: Gvv) +message RequestReplayHealthResponse { + bool healthy = 1; +} + +// Copied from: local:aiserver.v1.RequestReviewersAction (var: LWu) +message RequestReviewersAction { +} + +// Copied from: local:aiserver.v1.RequestRlEvalStepKillRequest (var: qpv) +message RequestRlEvalStepKillRequest { + string job_id = 1; + int32 step = 2; + optional string requested_by = 3; +} + +// Copied from: local:aiserver.v1.RequestRlEvalStepKillResponse (var: Kpv) +message RequestRlEvalStepKillResponse { + bool ok = 1; +} + +// Copied from: local:aiserver.v1.RequestSandTeamAccessRequest (var: l_u) +message RequestSandTeamAccessRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.RequestSandTeamAccessResponse (var: u_u) +message RequestSandTeamAccessResponse { +} + +// Copied from: local:aiserver.v1.RequestTrackingFileGitInfo (var: n8u) +message RequestTrackingFileGitInfo { + // Copied from: local:aiserver.v1.RequestTrackingFileGitInfo.GitInfo (var: i8u) + message GitInfo { + string git_root = 1; + string branch = 2; + string commit_hash = 3; + } + + oneof info { + GitInfo git_info = 1; + bool no_repo_found = 2; + } +} + +// Copied from: local:aiserver.v1.RequestTrackingFileSnapshot (var: W5s) +message RequestTrackingFileSnapshot { + // Copied from: local:aiserver.v1.RequestTrackingFileSnapshot.DiffChange (var: t8u) + message DiffChange { + int32 original_start_line_number_one_indexed = 1; + int32 original_end_line_number_exclusive_one_indexed = 2; + int32 modified_start_line_number_one_indexed = 3; + int32 modified_end_line_number_exclusive_one_indexed = 4; + repeated int32 tokenized_added_lines = 6; + repeated string added_lines = 5; + } + + // Copied from: local:aiserver.v1.RequestTrackingFileSnapshot.Kind (var: e8u) + enum Kind { + KIND_UNSPECIFIED = 0; + KIND_ADDED = 1; + KIND_DELETED = 2; + KIND_MODIFIED = 3; + } + + string fs_path = 1; + string file_uuid = 2; + double file_size_bytes = 3; + int32 num_lines = 4; + Kind kind = 9; + bool diff_timed_out = 5; + RequestTrackingFileGitInfo git_info = 8; + repeated DiffChange diff_changes = 6; + optional string original_file_contents = 7; +} + +// Copied from: agent.v1.RequestedFilePathRejectedReason (var: pAl) +enum RequestedFilePathRejectedReason { + REQUESTED_FILE_PATH_REJECTED_REASON_UNSPECIFIED = 0; + REQUESTED_FILE_PATH_REJECTED_REASON_SLASHES_NOT_ALLOWED = 1; +} + +// Copied from: agent.v1.RequestedModel (var: cA) +message RequestedModel { + // Copied from: agent.v1.RequestedModel.ModelParameterValue (var: CP) + 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:aiserver.v1.RerankCmdKContextRequest (var: kAi) +message RerankCmdKContextRequest { + repeated PotentiallyCachedContextItem context_items = 1; + CmdKLegacyContext legacy_context = 3; + CmdKOptions cmd_k_options = 2; +} + +// Copied from: local:aiserver.v1.RerankCmdKContextResponse (var: Ujl) +message RerankCmdKContextResponse { + optional bool did_call = 3; + oneof response { + ContextStatusUpdate context_status_update = 1; + MissingContextItems missing_context_items = 2; + } +} + +// Copied from: local:aiserver.v1.RerankDocumentsRequest (var: hxs) +message RerankDocumentsRequest { + string query = 1; + repeated Document documents = 2; +} + +// Copied from: local:aiserver.v1.RerankDocumentsResponse (var: pxs) +message RerankDocumentsResponse { + repeated DocumentIdsWithScores documents = 1; +} + +// Copied from: local:aiserver.v1.RerankTerminalCmdKContextRequest (var: $jl) +message RerankTerminalCmdKContextRequest { + repeated PotentiallyCachedContextItem context_items = 1; + TerminalCmdKOptions cmd_k_options = 2; +} + +// Copied from: local:aiserver.v1.RerankTerminalCmdKContextResponse (var: jjl) +message RerankTerminalCmdKContextResponse { + oneof response { + ContextStatusUpdate context_status_update = 1; + MissingContextItems missing_context_items = 2; + } +} + +// Copied from: local:aiserver.v1.RerankerAlgorithm (var: oIl) +enum RerankerAlgorithm { + RERANKER_ALGORITHM_UNSPECIFIED = 0; + RERANKER_ALGORITHM_LULEA = 1; + RERANKER_ALGORITHM_UMEA = 2; + RERANKER_ALGORITHM_NONE = 3; + RERANKER_ALGORITHM_LLAMA = 4; + RERANKER_ALGORITHM_STARCODER_V1 = 5; + RERANKER_ALGORITHM_GPT_3_5_LOGPROBS = 6; + RERANKER_ALGORITHM_LULEA_HAIKU = 7; + RERANKER_ALGORITHM_COHERE = 8; + RERANKER_ALGORITHM_VOYAGE = 9; + RERANKER_ALGORITHM_VOYAGE_EMBEDS = 10; + RERANKER_ALGORITHM_IDENTITY = 11; + RERANKER_ALGORITHM_ADA_EMBEDS = 12; +} + +// Copied from: local:aiserver.v1.RerankerRequest (var: kVl) +message RerankerRequest { + repeated CodeResult code_results = 1; + string query = 2; + int32 num_blocks = 3; + CurrentFileInfo current_file = 4; + repeated ConversationMessage conversation = 5; + ApiDetails api_details = 6; + oneof context_results { + FullFileSearchResult file_search_results = 7; + CodeSearchResult code_search_results = 8; + } +} + +// Copied from: local:aiserver.v1.RerankerResponse (var: CVl) +message RerankerResponse { + repeated CodeResult results = 1; +} + +// Copied from: local:aiserver.v1.RescheduleSandBoxUpgradeRequest (var: AKd) +message RescheduleSandBoxUpgradeRequest { + string timezone = 1; + string local_time = 2; + bool recurring = 3; +} + +// Copied from: local:aiserver.v1.RescheduleSandBoxUpgradeResponse (var: IKd) +message RescheduleSandBoxUpgradeResponse { + SandBoxUpgradeSchedule schedule = 1; +} + +// Copied from: local:aiserver.v1.RescrapeDocsRequest (var: xbv) +message RescrapeDocsRequest { + string doc_identifier = 1; + optional bool force_reupload = 2; +} + +// Copied from: local:aiserver.v1.RescrapeDocsRequestV2 (var: Tbv) +message RescrapeDocsRequestV2 { + NewDocumentationRequest new_doc_req = 1; + optional bool force_reupload = 2; +} + +// Copied from: local:aiserver.v1.RescrapeDocsResponse (var: lQd) +message RescrapeDocsResponse { + bool success = 1; + optional string new_doc_identifier = 2; +} + +// Copied from: local:aiserver.v1.ResetUserAdViewsRequest (var: Wgv) +message ResetUserAdViewsRequest { +} + +// Copied from: local:aiserver.v1.ResetUserAdViewsResponse (var: Hgv) +message ResetUserAdViewsResponse { +} + +// Copied from: agent.v1.ResolveCommentAction (var: rBl) +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:aiserver.v1.ResolveOrCreateDraftEnvironmentRequest (var: W2u) +message ResolveOrCreateDraftEnvironmentRequest { + string bc_id = 1; + LogicalEnvironmentScope target_scope = 2; + string repo_url = 3; + optional EnvironmentRepoConfig repo_config = 4; +} + +// Copied from: local:aiserver.v1.ResolveOrCreateDraftEnvironmentResponse (var: H2u) +message ResolveOrCreateDraftEnvironmentResponse { + LogicalEnvironment environment = 1; + bool created = 2; +} + +// Copied from: local:aiserver.v1.ResolveOrCreateMultiRepoEnvironmentRequest (var: VFs) +message ResolveOrCreateMultiRepoEnvironmentRequest { + EnvironmentRepoConfig repo_config = 4; + EnvironmentWriteSource write_source = 5; + MultiRepoEnvironmentReusePolicy reuse_policy = 6; + oneof owner_id { + int32 user_id = 1; + int32 team_id = 2; + string service_account_id = 3; + } +} + +// Copied from: local:aiserver.v1.ResolveOrCreateMultiRepoEnvironmentResponse (var: j2u) +message ResolveOrCreateMultiRepoEnvironmentResponse { + LogicalEnvironment environment = 1; + bool created = 2; +} + +// Copied from: local:aiserver.v1.ResolvePluginsByRefRequest (var: wOs) +message ResolvePluginsByRefRequest { + repeated PluginRef refs = 1; +} + +// Copied from: local:aiserver.v1.ResolvePluginsByRefResponse (var: KDi) +message ResolvePluginsByRefResponse { + repeated Plugin plugins = 1; +} + +// Copied from: local:aiserver.v1.ResolvePrCreationForgeRequest (var: Qvu) +message ResolvePrCreationForgeRequest { + string repo_url = 1; + optional int32 team_id = 2; +} + +// Copied from: local:aiserver.v1.ResolvePrCreationForgeResponse (var: Yvu) +message ResolvePrCreationForgeResponse { + // Copied from: local:aiserver.v1.ResolvePrCreationForgeResponse.PrCreationForge (var: U2s) + enum PrCreationForge { + PR_CREATION_FORGE_UNSPECIFIED = 0; + PR_CREATION_FORGE_GITHUB = 1; + PR_CREATION_FORGE_ORIGIN = 2; + } + + PrCreationForge forge = 1; + string repo_url = 2; + bool switched = 3; +} + +// Copied from: local:aiserver.v1.ResolveReviewThreadRequest (var: iBs) +message ResolveReviewThreadRequest { + string pr_url = 1; + string thread_id = 2; +} + +// Copied from: local:aiserver.v1.ResolveReviewThreadResponse (var: pOu) +message ResolveReviewThreadResponse { + bool success = 1; +} + +// Copied from: local:aiserver.v1.ResolveReviewThreadsAction (var: FWu) +message ResolveReviewThreadsAction { +} + +// Copied from: agent.v1.ResponseComparisonCompleted (var: U9l) +message ResponseComparisonCompleted { +} + +// Copied from: agent.v1.ResponseComparisonDisplayOrder (var: ISn) +enum ResponseComparisonDisplayOrder { + RESPONSE_COMPARISON_DISPLAY_ORDER_UNSPECIFIED = 0; + RESPONSE_COMPARISON_DISPLAY_ORDER_PARENT_FIRST = 1; + RESPONSE_COMPARISON_DISPLAY_ORDER_ALTERNATE_FIRST = 2; +} + +// Copied from: agent.v1.ResponseComparisonSkipReason (var: L4l) +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: agent.v1.ResponseComparisonSkipped (var: $9l) +message ResponseComparisonSkipped { + ResponseComparisonSkipReason reason = 1; +} + +// Copied from: agent.v1.ResponseComparisonStarted (var: F9l) +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: agent.v1.ResponseComparisonTextDelta (var: B9l) +message ResponseComparisonTextDelta { + string text = 1; +} + +// Copied from: agent.v1.ResponseComparisonUpdate (var: j9l) +message ResponseComparisonUpdate { + string comparison_id = 1; + oneof event { + ResponseComparisonStarted started = 2; + ResponseComparisonTextDelta text_delta = 3; + ResponseComparisonCompleted completed = 4; + ResponseComparisonSkipped skipped = 5; + } +} + +// Copied from: anyrun.v1.RestartReason (var: gau) +enum RestartReason { + RESTART_REASON_UNSPECIFIED = 0; + RESTART_REASON_PROCESS_EXITED = 1; + RESTART_REASON_HEALTH_CHECK_FAILED = 2; +} + +// Copied from: local:aiserver.v1.RestoreEnvironmentVersionRequest (var: tNu) +message RestoreEnvironmentVersionRequest { + string environment_version_public_id = 1; + LogicalEnvironmentScope target_scope = 2; + optional string target_environment_public_id = 3; + optional string delete_personal_environment_public_id = 4; +} + +// Copied from: local:aiserver.v1.RestoreEnvironmentVersionResponse (var: nNu) +message RestoreEnvironmentVersionResponse { + optional LogicalEnvironment environment = 1; +} + +// Copied from: local:aiserver.v1.RestrictedAutomationSummary (var: ZWu) +message RestrictedAutomationSummary { + string automation_id = 1; + string name = 2; + bool enabled = 3; + string owner_name = 4; +} + +// Copied from: agent.v1.ResumeAction (var: TTi) +message ResumeAction { + RequestContext request_context = 2; +} + +// Copied from: local:aiserver.v1.ResumeBackgroundComposerRequest (var: QMu) +message ResumeBackgroundComposerRequest { + string bc_id = 1; +} + +// Copied from: local:aiserver.v1.ResumeBackgroundComposerResponse (var: YMu) +message ResumeBackgroundComposerResponse { +} + +// Copied from: local:aiserver.v1.RetrievalKeepAliveConfig (var: a8u) +enum RetrievalKeepAliveConfig { + RETRIEVAL_KEEP_ALIVE_CONFIG_UNSPECIFIED = 0; + RETRIEVAL_KEEP_ALIVE_CONFIG_FORCE_DISABLED = 1; + RETRIEVAL_KEEP_ALIVE_CONFIG_FORCE_ENABLED = 2; +} + +// Copied from: local:aiserver.v1.RetryAutomationRunRequest (var: BHu) +message RetryAutomationRunRequest { + string run_uuid = 1; +} + +// Copied from: local:aiserver.v1.RetryAutomationRunResponse (var: UHu) +message RetryAutomationRunResponse { + string background_composer_id = 1; + string run_uuid = 2; +} + +// Copied from: local:aiserver.v1.RetryRelayBackfillRequest (var: $vv) +message RetryRelayBackfillRequest { + string backfill_id = 1; + string dedupe_key = 2; + RelayBackfillExistingRunPolicy existing_run_policy = 3; + RelayBackfillFailurePolicy failure_policy = 4; + optional int32 max_concurrency = 5; + optional string created_by = 6; +} + +// Copied from: local:aiserver.v1.RetryRelayBackfillResponse (var: jvv) +message RetryRelayBackfillResponse { + string backfill_action = 1; + RelayBackfillRecord backfill = 2; + optional string temporal_workflow_id = 3; + optional string temporal_run_id = 4; +} + +// Copied from: local:aiserver.v1.RetryRelayPipelineRunRequest (var: Wvv) +message RetryRelayPipelineRunRequest { + string run_id = 1; + optional string created_by = 2; + optional string from_stage_key = 3; +} + +// Copied from: local:aiserver.v1.RetryRelayPipelineRunResponse (var: Hvv) +message RetryRelayPipelineRunResponse { + string run_action = 1; + RelayPipelineRunRecord run = 2; + optional string temporal_workflow_id = 3; + optional string temporal_run_id = 4; + optional string output_prefix = 5; +} + +// Copied from: local:aiserver.v1.ReviewBug (var: BGl) +message ReviewBug { + string id = 1; + optional int32 start_line = 2; + optional int32 end_line = 3; + optional string description = 4; + optional int32 severity = 5; + optional string tldr = 6; +} + +// Copied from: local:aiserver.v1.ReviewBugV2 (var: $5s) +message ReviewBugV2 { + string id = 1; + string chunk_id = 2; + string relative_workspace_path = 3; + int32 start_line = 4; + int32 end_line = 5; + string description = 6; + int32 severity = 7; + string tldr = 8; + string diff = 9; + int32 full_chunk_start_line = 10; + int32 full_chunk_end_line = 11; + int32 full_chunk_total_lines = 12; +} + +// Copied from: local:aiserver.v1.ReviewChangesOpenedEvent (var: HAs) +message ReviewChangesOpenedEvent { + string composer_id = 1; + optional string best_of_n_group_id = 2; +} + +// Copied from: local:aiserver.v1.ReviewChatMessage (var: UIs) +message ReviewChatMessage { + // Copied from: local:aiserver.v1.ReviewChatMessage.ReviewChatMessageType (var: NGl) + enum ReviewChatMessageType { + REVIEW_CHAT_MESSAGE_TYPE_UNSPECIFIED = 0; + REVIEW_CHAT_MESSAGE_TYPE_HUMAN = 1; + REVIEW_CHAT_MESSAGE_TYPE_AI = 2; + } + + string text = 1; + ReviewChatMessageType type = 2; +} + +// Copied from: local:aiserver.v1.ReviewChatRequest (var: OGl) +message ReviewChatRequest { + string chunk = 1; + string file_context = 2; + LineRange chunk_range = 3; + repeated ReviewChatMessage messages = 4; +} + +// Copied from: local:aiserver.v1.ReviewChatRequestV2 (var: TUu) +message ReviewChatRequestV2 { + File file = 1; + ReviewBugV2 bug = 2; + optional string linter_rules = 3; + repeated ReviewChatMessage messages = 4; +} + +// Copied from: local:aiserver.v1.ReviewChatResponse (var: FGl) +message ReviewChatResponse { + string text = 1; + optional bool should_resolve = 2; +} + +// Copied from: local:aiserver.v1.ReviewChatResponseV2 (var: AUu) +message ReviewChatResponseV2 { + string text = 1; +} + +// Copied from: local:aiserver.v1.ReviewRequest (var: LGl) +message ReviewRequest { + string chunk = 1; + string file_context = 2; + LineRange chunk_range = 3; + optional string diff_string = 4; + optional string custom_instructions = 5; +} + +// Copied from: local:aiserver.v1.ReviewRequestV2 (var: U5s) +message ReviewRequestV2 { + // Copied from: local:aiserver.v1.ReviewRequestV2.FileDiff (var: xUu) + message FileDiff { + File file = 1; + repeated ChunkDiff chunk_diffs = 2; + } + + repeated FileDiff file_diffs = 1; + optional string linter_rules = 2; + optional bool also_find_hard_bugs = 3; + optional string save_request_as = 4; +} + +// Copied from: local:aiserver.v1.ReviewResponse (var: UGl) +message ReviewResponse { + string text = 1; + optional string prompt = 2; + optional string tldr = 3; + optional bool is_bug = 4; + repeated ReviewBug bugs = 5; +} + +// Copied from: local:aiserver.v1.ReviewResponseV2 (var: j5s) +message ReviewResponseV2 { + ReviewBugV2 bug = 1; +} + +// Copied from: local:aiserver.v1.RevokeBackgroundComposerSecretRequest (var: Fhu) +message RevokeBackgroundComposerSecretRequest { + string name = 1; + bool team_scope = 2; + int32 id = 3; + BackgroundComposerSecretOwner owner = 4; +} + +// Copied from: local:aiserver.v1.RevokeBackgroundComposerSecretResponse (var: Bhu) +message RevokeBackgroundComposerSecretResponse { +} + +// Copied from: local:aiserver.v1.RevokeBugBotLicensesRequest (var: $1u) +message RevokeBugBotLicensesRequest { + int32 team_id = 1; + int32 new_num_licenses = 2; +} + +// Copied from: local:aiserver.v1.RevokeBugBotLicensesResponse (var: j1u) +message RevokeBugBotLicensesResponse { +} + +// Copied from: local:aiserver.v1.RevokeCurrentSessionRequest (var: Llv) +message RevokeCurrentSessionRequest { +} + +// Copied from: local:aiserver.v1.RevokeCurrentSessionResponse (var: Nlv) +message RevokeCurrentSessionResponse { +} + +// Copied from: local:aiserver.v1.RevokeKeyringPermissionsRequest (var: D3u) +message RevokeKeyringPermissionsRequest { + string keyring_public_id = 1; + KeyringPrincipalType principal_type = 2; + string principal_id = 3; +} + +// Copied from: local:aiserver.v1.RevokeKeyringPermissionsResponse (var: M3u) +message RevokeKeyringPermissionsResponse { +} + +// Copied from: local:aiserver.v1.RevokeKeyringSecretRequest (var: w3u) +message RevokeKeyringSecretRequest { + string keyring_public_id = 1; + string name = 2; +} + +// Copied from: local:aiserver.v1.RevokeKeyringSecretResponse (var: k3u) +message RevokeKeyringSecretResponse { +} + +// Copied from: local:aiserver.v1.RevokeMobileSessionFamilyRequest (var: jlv) +message RevokeMobileSessionFamilyRequest { + string refresh_token = 1; +} + +// Copied from: local:aiserver.v1.RevokeMobileSessionFamilyResponse (var: Wlv) +message RevokeMobileSessionFamilyResponse { +} + +// Copied from: local:aiserver.v1.RevokeOrganizationApiKeyRequest (var: Ggu) +message RevokeOrganizationApiKeyRequest { + string organization_id = 1; + string api_key_id = 2; +} + +// Copied from: local:aiserver.v1.RevokeOrganizationApiKeyResponse (var: qgu) +message RevokeOrganizationApiKeyResponse { +} + +// Copied from: local:aiserver.v1.RevokeSessionRequest (var: Mlv) +message RevokeSessionRequest { + string session_id = 1; + Session.SessionType type = 2; +} + +// Copied from: local:aiserver.v1.RevokeSessionResponse (var: Plv) +message RevokeSessionResponse { + bool success = 1; +} + +// Copied from: local:aiserver.v1.RevokeTeamApiKeyRequest (var: Ugu) +message RevokeTeamApiKeyRequest { + int32 team_id = 1; + int32 id = 2; +} + +// Copied from: local:aiserver.v1.RevokeTeamApiKeyResponse (var: $gu) +message RevokeTeamApiKeyResponse { +} + +// Copied from: local:aiserver.v1.RevokeTeamInviteLinkRequest (var: owu) +message RevokeTeamInviteLinkRequest { + string invite_code = 1; +} + +// Copied from: local:aiserver.v1.RevokeTeamInviteLinkResponse (var: awu) +message RevokeTeamInviteLinkResponse { +} + +// Copied from: local:aiserver.v1.RevokeUserApiKeyRequest (var: pfu) +message RevokeUserApiKeyRequest { + int32 id = 1; +} + +// Copied from: local:aiserver.v1.RevokeUserApiKeyResponse (var: mfu) +message RevokeUserApiKeyResponse { +} + +// Copied from: local:aiserver.v1.RevokeUserBugbotLicenseRequest (var: W1u) +message RevokeUserBugbotLicenseRequest { + int32 team_id = 1; + string github_user_node_id = 2; +} + +// Copied from: local:aiserver.v1.RevokeUserBugbotLicenseResponse (var: H1u) +message RevokeUserBugbotLicenseResponse { +} + +// Copied from: local:aiserver.v1.RipgrepRawSearchContentMatch (var: iyn) +message RipgrepRawSearchContentMatch { + int32 line_number = 1; + string content = 2; + bool content_truncated = 3; + bool is_context_line = 4; +} + +// Copied from: local:aiserver.v1.RipgrepRawSearchContentResult (var: tyn) +message RipgrepRawSearchContentResult { + repeated RipgrepRawSearchFileMatch 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:aiserver.v1.RipgrepRawSearchCountResult (var: X_n) +message RipgrepRawSearchCountResult { + repeated RipgrepRawSearchFileCount counts = 1; + int32 total_files = 2; + int32 total_matches = 3; + bool client_truncated = 4; + optional int32 head_limit_applied = 6; + optional int32 offset_applied = 7; + bool ripgrep_truncated = 5; +} + +// Copied from: local:aiserver.v1.RipgrepRawSearchError (var: Z_n) +message RipgrepRawSearchError { + string error = 1; +} + +// Copied from: local:aiserver.v1.RipgrepRawSearchFileCount (var: J_n) +message RipgrepRawSearchFileCount { + string file = 1; + int32 count = 2; + optional bool is_dirty = 3; + optional bool is_out_of_workspace = 4; + optional string absolute_path = 5; +} + +// Copied from: local:aiserver.v1.RipgrepRawSearchFileMatch (var: nyn) +message RipgrepRawSearchFileMatch { + string file = 1; + repeated RipgrepRawSearchContentMatch matches = 2; + optional bool is_dirty = 3; + optional bool is_out_of_workspace = 4; + optional string absolute_path = 5; +} + +// Copied from: local:aiserver.v1.RipgrepRawSearchFilesResult (var: eyn) +message RipgrepRawSearchFilesResult { + // Copied from: local:aiserver.v1.RipgrepRawSearchFilesResult.FileEntry (var: p_s) + message FileEntry { + string file = 1; + bool is_dirty = 2; + bool is_out_of_workspace = 3; + optional string absolute_path = 4; + } + + repeated string files = 1; + int32 total_files = 2; + bool client_truncated = 3; + bool ripgrep_truncated = 4; + repeated FileEntry files_with_meta = 5; + optional int32 head_limit_applied = 6; + optional int32 offset_applied = 7; +} + +// Copied from: local:aiserver.v1.RipgrepRawSearchParams (var: dht) +message RipgrepRawSearchParams { + 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; + repeated string ignore_globs = 14; + optional int32 offset = 15; +} + +// Copied from: local:aiserver.v1.RipgrepRawSearchResult (var: JOt) +message RipgrepRawSearchResult { + oneof result { + RipgrepRawSearchSuccess success = 1; + RipgrepRawSearchError error = 2; + } +} + +// Copied from: local:aiserver.v1.RipgrepRawSearchStream (var: m_s) +message RipgrepRawSearchStream { + string pattern = 1; +} + +// Copied from: local:aiserver.v1.RipgrepRawSearchSuccess (var: e1i) +message RipgrepRawSearchSuccess { + string pattern = 1; + string path = 2; + string output_mode = 3; + map workspace_results = 4; + optional RipgrepRawSearchUnionResult active_editor_result = 5; +} + +// Copied from: local:aiserver.v1.RipgrepRawSearchUnionResult (var: eFt) +message RipgrepRawSearchUnionResult { + oneof result { + RipgrepRawSearchCountResult count = 1; + RipgrepRawSearchFilesResult files = 2; + RipgrepRawSearchContentResult content = 3; + } +} + +// Copied from: local:aiserver.v1.RipgrepSearchParams (var: L_n) +message RipgrepSearchParams { + // Copied from: local:aiserver.v1.RipgrepSearchParams.IPatternInfoProto (var: uvs) + message IPatternInfoProto { + // Copied from: local:aiserver.v1.RipgrepSearchParams.IPatternInfoProto.INotebookPatternInfoProto (var: dvs) + message INotebookPatternInfoProto { + optional bool is_in_notebook_markdown_input = 1; + optional bool is_in_notebook_markdown_preview = 2; + optional bool is_in_notebook_cell_input = 3; + optional bool is_in_notebook_cell_output = 4; + } + + string pattern = 1; + optional bool is_reg_exp = 2; + optional bool is_word_match = 3; + optional string word_separators = 4; + optional bool is_multiline = 5; + optional bool is_unicode = 6; + optional bool is_case_sensitive = 7; + INotebookPatternInfoProto notebook_info = 8; + optional bool pattern_was_escaped = 9; + } + + // Copied from: local:aiserver.v1.RipgrepSearchParams.ITextQueryBuilderOptionsProto (var: hvs) + message ITextQueryBuilderOptionsProto { + // Copied from: local:aiserver.v1.RipgrepSearchParams.ITextQueryBuilderOptionsProto.ExcludePatternProto (var: mvs) + message ExcludePatternProto { + repeated RipgrepSearchParams.ITextQueryBuilderOptionsProto.ISearchPatternBuilderProto exclude_pattern = 1; + } + + // Copied from: local:aiserver.v1.RipgrepSearchParams.ITextQueryBuilderOptionsProto.ExtraFileResourcesProto (var: pvs) + message ExtraFileResourcesProto { + repeated string extra_file_resources = 1; + } + + // Copied from: local:aiserver.v1.RipgrepSearchParams.ITextQueryBuilderOptionsProto.INotebookSearchConfigProto (var: vvs) + message INotebookSearchConfigProto { + bool include_markup_input = 1; + bool include_markup_preview = 2; + bool include_code_input = 3; + bool include_output = 4; + } + + // Copied from: local:aiserver.v1.RipgrepSearchParams.ITextQueryBuilderOptionsProto.ISearchPathPatternBuilderProto (var: D0i) + message ISearchPathPatternBuilderProto { + optional string pattern = 1; + repeated string patterns = 2; + } + + // Copied from: local:aiserver.v1.RipgrepSearchParams.ITextQueryBuilderOptionsProto.ISearchPatternBuilderProto (var: gvs) + message ISearchPatternBuilderProto { + optional string uri = 1; + RipgrepSearchParams.ITextQueryBuilderOptionsProto.ISearchPathPatternBuilderProto pattern = 2; + } + + // Copied from: local:aiserver.v1.RipgrepSearchParams.ITextQueryBuilderOptionsProto.ITextSearchPreviewOptionsProto (var: fvs) + message ITextSearchPreviewOptionsProto { + int32 match_lines = 1; + int32 chars_per_line = 2; + } + + ITextSearchPreviewOptionsProto preview_options = 1; + optional string file_encoding = 2; + optional int32 surrounding_context = 3; + optional bool is_smart_case = 4; + INotebookSearchConfigProto notebook_search_config = 5; + ExcludePatternProto exclude_pattern = 6; + ISearchPathPatternBuilderProto include_pattern = 7; + optional bool expand_patterns = 8; + optional int32 max_results = 9; + optional int32 max_file_size = 10; + optional bool disregard_ignore_files = 11; + optional bool disregard_global_ignore_files = 12; + optional bool disregard_parent_ignore_files = 13; + optional bool disregard_exclude_settings = 14; + optional bool disregard_search_exclude_settings = 15; + optional bool ignore_symlinks = 16; + optional bool only_open_editors = 17; + optional bool only_file_scheme = 18; + optional string reason = 19; + ExtraFileResourcesProto extra_file_resources = 20; + } + + ITextQueryBuilderOptionsProto options = 1; + IPatternInfoProto pattern_info = 2; +} + +// Copied from: local:aiserver.v1.RipgrepSearchResult (var: M0i) +message RipgrepSearchResult { + RipgrepSearchResultInternal internal = 1; +} + +// Copied from: local:aiserver.v1.RipgrepSearchResultInternal (var: bvs) +message RipgrepSearchResultInternal { + // Copied from: local:aiserver.v1.RipgrepSearchResultInternal.ICachedSearchStats (var: Mvs) + message ICachedSearchStats { + bool cache_was_resolved = 1; + int32 cache_lookup_time = 2; + int32 cache_filter_time = 3; + int32 cache_entry_count = 4; + } + + // Copied from: local:aiserver.v1.RipgrepSearchResultInternal.IFileMatch (var: Svs) + message IFileMatch { + string resource = 1; + repeated RipgrepSearchResultInternal.ITextSearchResult results = 2; + } + + // Copied from: local:aiserver.v1.RipgrepSearchResultInternal.IFileSearchProviderStats (var: Pvs) + message IFileSearchProviderStats { + int32 provider_time = 1; + int32 post_process_time = 2; + } + + // Copied from: local:aiserver.v1.RipgrepSearchResultInternal.IFileSearchStats (var: Tvs) + message IFileSearchStats { + // Copied from: local:aiserver.v1.RipgrepSearchResultInternal.IFileSearchStats.FileSearchProviderType (var: Avs) + enum FileSearchProviderType { + FILE_SEARCH_PROVIDER_TYPE_UNSPECIFIED = 0; + FILE_SEARCH_PROVIDER_TYPE_FILE_SEARCH_PROVIDER = 1; + FILE_SEARCH_PROVIDER_TYPE_SEARCH_PROCESS = 2; + } + + bool from_cache = 1; + int32 result_count = 5; + FileSearchProviderType type = 6; + optional int32 sorting_time = 7; + oneof detail_stats { + RipgrepSearchResultInternal.ISearchEngineStats search_engine_stats = 2; + RipgrepSearchResultInternal.ICachedSearchStats cached_search_stats = 3; + RipgrepSearchResultInternal.IFileSearchProviderStats file_search_provider_stats = 4; + } + } + + // Copied from: local:aiserver.v1.RipgrepSearchResultInternal.ISearchEngineStats (var: Dvs) + message ISearchEngineStats { + int32 file_walk_time = 1; + int32 directories_walked = 2; + int32 files_walked = 3; + int32 cmd_time = 4; + optional int32 cmd_result_count = 5; + } + + // Copied from: local:aiserver.v1.RipgrepSearchResultInternal.ISearchRange (var: P0i) + message ISearchRange { + int32 start_line_number = 1; + int32 start_column = 2; + int32 end_line_number = 3; + int32 end_column = 4; + } + + // Copied from: local:aiserver.v1.RipgrepSearchResultInternal.ISearchRangeSetPairing (var: Evs) + message ISearchRangeSetPairing { + RipgrepSearchResultInternal.ISearchRange source = 1; + RipgrepSearchResultInternal.ISearchRange preview = 2; + } + + // Copied from: local:aiserver.v1.RipgrepSearchResultInternal.ITextSearchCompleteMessage (var: xvs) + message ITextSearchCompleteMessage { + string text = 1; + RipgrepSearchResultInternal.TextSearchCompleteMessageType type = 2; + optional bool trusted = 3; + } + + // Copied from: local:aiserver.v1.RipgrepSearchResultInternal.ITextSearchContext (var: Cvs) + message ITextSearchContext { + optional string uri = 1; + string text = 2; + int32 line_number = 3; + } + + // Copied from: local:aiserver.v1.RipgrepSearchResultInternal.ITextSearchMatch (var: kvs) + message ITextSearchMatch { + optional string uri = 1; + repeated RipgrepSearchResultInternal.ISearchRangeSetPairing range_locations = 2; + string preview_text = 3; + optional int32 webview_index = 4; + optional string cell_fragment = 5; + } + + // Copied from: local:aiserver.v1.RipgrepSearchResultInternal.ITextSearchResult (var: wvs) + message ITextSearchResult { + oneof result { + RipgrepSearchResultInternal.ITextSearchMatch match = 1; + RipgrepSearchResultInternal.ITextSearchContext context = 2; + } + } + + // Copied from: local:aiserver.v1.RipgrepSearchResultInternal.ITextSearchStats (var: Ivs) + message ITextSearchStats { + // Copied from: local:aiserver.v1.RipgrepSearchResultInternal.ITextSearchStats.TextSearchProviderType (var: Rvs) + enum TextSearchProviderType { + TEXT_SEARCH_PROVIDER_TYPE_UNSPECIFIED = 0; + TEXT_SEARCH_PROVIDER_TYPE_TEXT_SEARCH_PROVIDER = 1; + TEXT_SEARCH_PROVIDER_TYPE_SEARCH_PROCESS = 2; + TEXT_SEARCH_PROVIDER_TYPE_AI_TEXT_SEARCH_PROVIDER = 3; + } + + TextSearchProviderType type = 1; + } + + // Copied from: local:aiserver.v1.RipgrepSearchResultInternal.SearchCompletionExitCode (var: yvs) + enum SearchCompletionExitCode { + SEARCH_COMPLETION_EXIT_CODE_UNSPECIFIED = 0; + SEARCH_COMPLETION_EXIT_CODE_NORMAL = 1; + SEARCH_COMPLETION_EXIT_CODE_NEW_SEARCH_STARTED = 2; + } + + // Copied from: local:aiserver.v1.RipgrepSearchResultInternal.TextSearchCompleteMessageType (var: _vs) + enum TextSearchCompleteMessageType { + TEXT_SEARCH_COMPLETE_MESSAGE_TYPE_UNSPECIFIED = 0; + TEXT_SEARCH_COMPLETE_MESSAGE_TYPE_INFORMATION = 1; + TEXT_SEARCH_COMPLETE_MESSAGE_TYPE_WARNING = 2; + } + + repeated IFileMatch results = 1; + optional SearchCompletionExitCode exit = 2; + optional bool limit_hit = 3; + repeated ITextSearchCompleteMessage messages = 4; + oneof stats { + IFileSearchStats file_search_stats = 5; + ITextSearchStats text_search_stats = 6; + } +} + +// Copied from: local:aiserver.v1.RipgrepSearchStream (var: Lvs) +message RipgrepSearchStream { + string query = 1; +} + +// Copied from: local:aiserver.v1.RlEvalJobDbStatus (var: rpo) +enum RlEvalJobDbStatus { + RL_EVAL_JOB_DB_STATUS_UNSPECIFIED = 0; + RL_EVAL_JOB_DB_STATUS_PENDING = 1; + RL_EVAL_JOB_DB_STATUS_BUILDING = 2; + RL_EVAL_JOB_DB_STATUS_SUBMITTED = 3; + RL_EVAL_JOB_DB_STATUS_RUNNING = 4; + RL_EVAL_JOB_DB_STATUS_FINISHED = 5; + RL_EVAL_JOB_DB_STATUS_FAILED = 6; + RL_EVAL_JOB_DB_STATUS_CANCELED = 7; +} + +// Copied from: local:aiserver.v1.RlEvalJobRecord (var: Rqd) +message RlEvalJobRecord { + string id = 1; + RlEvalJobDbStatus status = 2; + string experiment_name = 3; + string cluster_name = 4; + string config_name = 5; + optional string config_version_id = 6; + optional string config_s3_uri = 7; + optional string config_toml_s3_uri = 8; + optional string description = 9; + string anytitan_ref = 10; + string everysphere_branch = 11; + optional string everysphere_commit = 12; + optional google.protobuf.Struct params_snapshot = 13; + optional int32 from_step = 14; + optional int32 to_step = 15; + optional int32 step_interval = 16; + optional string buildkite_build_id = 17; + optional int32 buildkite_build_number = 18; + optional string buildkite_build_url = 19; + optional string ray_job_name = 20; + optional string ray_job_namespace = 21; + optional string created_by = 22; + google.protobuf.Timestamp created_at = 23; + optional google.protobuf.Timestamp started_at = 24; + optional google.protobuf.Timestamp finished_at = 25; +} + +// Copied from: local:aiserver.v1.RlEvalStepDbStatus (var: Eqd) +enum RlEvalStepDbStatus { + RL_EVAL_STEP_DB_STATUS_UNSPECIFIED = 0; + RL_EVAL_STEP_DB_STATUS_PENDING = 1; + RL_EVAL_STEP_DB_STATUS_RUNNING = 2; + RL_EVAL_STEP_DB_STATUS_FINISHED = 3; + RL_EVAL_STEP_DB_STATUS_FAILED = 4; + RL_EVAL_STEP_DB_STATUS_SKIPPED = 5; + RL_EVAL_STEP_DB_STATUS_CANCELED = 6; + RL_EVAL_STEP_DB_STATUS_WAITING_ON_DEPLOYMENT_REPLICAS = 7; + RL_EVAL_STEP_DB_STATUS_SYNCING_WEIGHTS = 8; + RL_EVAL_STEP_DB_STATUS_WAITING_ON_LEASE = 9; +} + +// Copied from: local:aiserver.v1.RotateGitlabEnterpriseWebhookSecretRequest (var: dlu) +message RotateGitlabEnterpriseWebhookSecretRequest { + string git_enterprise_uuid = 1; + optional int32 team_id = 2; +} + +// Copied from: local:aiserver.v1.RotateGitlabEnterpriseWebhookSecretResponse (var: hlu) +message RotateGitlabEnterpriseWebhookSecretResponse { +} + +// Copied from: local:aiserver.v1.RotateServiceAccountApiKeyRequest (var: rfu) +message RotateServiceAccountApiKeyRequest { + int32 team_id = 1; + string service_account_id = 2; + optional int32 old_api_key_id = 3; +} + +// Copied from: local:aiserver.v1.RotateServiceAccountApiKeyResponse (var: sfu) +message RotateServiceAccountApiKeyResponse { + string api_key = 1; + ServiceAccountKeyInfo key_info = 2; +} + +// Copied from: local:aiserver.v1.RouteResult (var: aQd) +message RouteResult { + string deployment_id = 1; + DeploymentInfo deployment_info = 2; + string full_model_id = 3; + string provider = 4; + string canonical_model = 5; +} + +// Copied from: agent.v1.RoutedModelUpdate (var: N9l) +message RoutedModelUpdate { + string display_name = 1; +} + +// Copied from: local:aiserver.v1.Rule (var: aCn) +message Rule { + string id = 1; + string name = 2; + string content = 3; + repeated string globs = 6; + bool is_active = 4; + bool is_required = 5; + TeamRuleAgentType agent_type = 7; +} + +// Copied from: local:aiserver.v1.RuleDescriptor (var: ODi) +message RuleDescriptor { + string name = 1; + optional string description = 2; + optional string source_path = 3; + optional string source_url = 4; +} + +// Copied from: local:aiserver.v1.RunBugBotPromptProps (var: f) +message RunBugBotPromptProps { + StreamBugBotRequest req = 1; + string seed = 2; + string date = 3; + repeated FileAndOutline context_files = 4; + optional string file_content_source = 5; +} + +// Copied from: local:aiserver.v1.RunDiamondToBugbotMigrationRequest (var: XEu) +message RunDiamondToBugbotMigrationRequest { + int32 team_id = 1; + int64 installation_id = 2; + optional string ghe_application = 3; + string graphite_workspace_id = 4; + DiamondToBugbotMigrationMode mode = 5; + optional string approved_preview_hash = 6; + google.protobuf.Struct extracted_settings = 7; +} + +// Copied from: local:aiserver.v1.RunDiamondToBugbotMigrationResponse (var: JEu) +message RunDiamondToBugbotMigrationResponse { + string status = 1; + string preview_hash = 2; + string preview_json = 3; + string repository_rules_json = 4; + string apply_plan_json = 5; + string audit_json = 6; + repeated string warnings = 7; + repeated string blockers = 8; + repeated string applied_operation_ids = 9; + repeated string skipped_operation_ids = 10; + int32 resolved_team_id = 11; +} + +// Copied from: local:aiserver.v1.RunFullSelfDrivingCloudCommandRequest (var: Jru) +message RunFullSelfDrivingCloudCommandRequest { + string pr_url = 1; + FullSelfDrivingMode mode = 2; + optional string user_instructions = 3; + optional string trigger_description = 4; + optional string model_id = 5; +} + +// Copied from: local:aiserver.v1.RunFullSelfDrivingCloudCommandResponse (var: esu) +message RunFullSelfDrivingCloudCommandResponse { + string bc_id = 1; + FullSelfDrivingCloudCommandAction action = 2; + FullSelfDrivingMode mode = 3; +} + +// Copied from: local:aiserver.v1.RunFullSelfDrivingWorkflowSuggestionRequest (var: qru) +message RunFullSelfDrivingWorkflowSuggestionRequest { + string pr_url = 1; + string bc_id = 2; + string stable_key = 3; + string event_id = 4; +} + +// Copied from: local:aiserver.v1.RunFullSelfDrivingWorkflowSuggestionResponse (var: Kru) +message RunFullSelfDrivingWorkflowSuggestionResponse { + string bc_id = 1; + bool spawned_new_run = 2; +} + +// Copied from: local:aiserver.v1.RunGenerateImageError (var: iGl) +message RunGenerateImageError { + string error = 1; + bool model_restricted = 2; +} + +// Copied from: local:aiserver.v1.RunGenerateImageRequest (var: tGl) +message RunGenerateImageRequest { + string description = 1; + repeated GenerateImageReferenceImage reference_images = 2; + string model_id = 3; + bool max_mode = 4; +} + +// Copied from: local:aiserver.v1.RunGenerateImageResponse (var: rGl) +message RunGenerateImageResponse { + oneof result { + RunGenerateImageSuccess success = 1; + RunGenerateImageError error = 2; + } +} + +// Copied from: local:aiserver.v1.RunGenerateImageSuccess (var: nGl) +message RunGenerateImageSuccess { + string image_data = 1; + string mime_type = 2; +} + +// Copied from: local:aiserver.v1.RunMetricItem (var: Hhv) +message RunMetricItem { + string key = 1; + double value_num = 2; + string value_text = 3; + string unit = 4; + google.protobuf.Struct tags = 5; + int32 step = 6; + google.protobuf.Timestamp ts = 7; +} + +// Copied from: local:aiserver.v1.RunParamKV (var: opo) +message RunParamKV { + string key_path = 1; + oneof value { + string value_text = 2; + double value_num = 3; + bool value_bool = 4; + google.protobuf.Struct value_json = 5; + bool value_null = 6; + } +} + +// Copied from: local:aiserver.v1.RunSummaryWindow (var: CHu) +message RunSummaryWindow { + string key = 1; + int32 succeeded = 2; + int32 failed = 3; +} + +// Copied from: local:aiserver.v1.RunTagKV (var: apo) +message RunTagKV { + string key = 1; + string value = 2; +} + +// Copied from: local:aiserver.v1.RunTerminalCommandEndedReason (var: Y9) +enum RunTerminalCommandEndedReason { + RUN_TERMINAL_COMMAND_ENDED_REASON_UNSPECIFIED = 0; + RUN_TERMINAL_COMMAND_ENDED_REASON_EXECUTION_COMPLETED = 1; + RUN_TERMINAL_COMMAND_ENDED_REASON_EXECUTION_ABORTED = 2; + RUN_TERMINAL_COMMAND_ENDED_REASON_EXECUTION_FAILED = 3; + RUN_TERMINAL_COMMAND_ENDED_REASON_ERROR_OCCURRED_CHECKING_REASON = 4; + RUN_TERMINAL_COMMAND_ENDED_REASON_IDLE_TIMEOUT = 5; +} + +// Copied from: local:aiserver.v1.RunTerminalCommandV2Params (var: lSe) +message RunTerminalCommandV2Params { + // Copied from: local:aiserver.v1.RunTerminalCommandV2Params.ExecutionOptions (var: F_n) + message ExecutionOptions { + optional int32 timeout = 1; + optional bool skip_ai_check = 2; + optional int32 command_run_timeout_ms = 3; + optional int32 command_change_check_interval_ms = 4; + optional int32 ai_finish_check_max_attempts = 5; + optional int32 ai_finish_check_interval_ms = 6; + optional int32 delayer_interval_ms = 7; + optional bool ai_check_for_hangs = 8; + } + + string command = 1; + optional string cwd = 2; + optional bool new_session = 3; + optional ExecutionOptions options = 4; + bool is_background = 5; + bool require_user_approval = 6; + optional ShellCommandParsingResult parsing_result = 7; + optional int32 idle_timeout_seconds = 8; + optional SandboxPolicy requested_sandbox_policy = 9; + optional int64 file_output_threshold_bytes = 10; + optional string command_description = 11; + optional CommandClassifierResult classifier_result = 12; +} + +// Copied from: local:aiserver.v1.RunTerminalCommandV2Result (var: bH) +message RunTerminalCommandV2Result { + string output = 1; + int32 exit_code = 2; + optional bool rejected = 3; + bool popped_out_into_background = 4; + bool is_running_in_background = 5; + bool not_interrupted = 6; + string resulting_working_directory = 7; + bool did_user_change = 8; + RunTerminalCommandEndedReason ended_reason = 9; + optional int32 exit_code_v2 = 10; + optional string updated_command = 11; + string output_raw = 12; + optional HumanReview human_review_v2 = 13; + optional SandboxPolicy effective_sandbox_policy = 14; + optional int32 terminal_instance_id = 15; + optional OutputLocation output_location = 16; + optional string terminal_instance_path = 17; + optional uint32 background_shell_id = 18; +} + +// Copied from: local:aiserver.v1.RunTerminalCommandV2Stream (var: qbs) +message RunTerminalCommandV2Stream { + string command = 1; + bool is_background = 2; + optional ShellCommandParsingResult parsing_result = 7; + optional int32 idle_timeout_seconds = 8; + optional SandboxPolicy requested_sandbox_policy = 9; +} + +// Copied from: local:aiserver.v1.RunTerminalCommandsParams (var: qvs) +message RunTerminalCommandsParams { + repeated string commands = 1; + string commands_uuid = 2; +} + +// Copied from: local:aiserver.v1.RunTerminalCommandsResult (var: Kvs) +message RunTerminalCommandsResult { + repeated string outputs = 1; +} + +// Copied from: local:aiserver.v1.RunTerminalServerConfig (var: R8u) +message RunTerminalServerConfig { + repeated string composite_shell_commands = 1; + repeated string safe_shell_commands = 2; +} + +// Copied from: local:aiserver.v1.RunTestParams (var: Dbs) +message RunTestParams { + string relative_workspace_path = 1; + optional string test_name = 2; +} + +// Copied from: local:aiserver.v1.RunTestResult (var: Mbs) +message RunTestResult { + string result = 1; +} + +// Copied from: local:aiserver.v1.RunWebFetchError (var: XVl) +message RunWebFetchError { + string error = 1; + bool is_timeout = 2; +} + +// Copied from: local:aiserver.v1.RunWebFetchRequest (var: YVl) +message RunWebFetchRequest { + string url = 1; +} + +// Copied from: local:aiserver.v1.RunWebFetchResponse (var: JVl) +message RunWebFetchResponse { + oneof result { + RunWebFetchSuccess success = 1; + RunWebFetchError error = 2; + } +} + +// Copied from: local:aiserver.v1.RunWebFetchSuccess (var: ZVl) +message RunWebFetchSuccess { + string content = 1; +} + +// Copied from: local:aiserver.v1.RunWebSearchRequest (var: qVl) +message RunWebSearchRequest { + string search_term = 1; + optional string explanation = 2; + string model_id = 3; +} + +// Copied from: local:aiserver.v1.RunWebSearchResponse (var: QVl) +message RunWebSearchResponse { + optional string answer = 1; + repeated WebSearchDocument documents = 2; +} + +// Copied from: local:aiserver.v1.SCMBatchGetPullRequestForBranchRequest (var: fRu) +message SCMBatchGetPullRequestForBranchRequest { + repeated SCMBranchRef branches = 1; + optional bool skip_cache = 2; +} + +// Copied from: local:aiserver.v1.SCMBatchGetPullRequestForBranchResponse (var: bRu) +message SCMBatchGetPullRequestForBranchResponse { + repeated SCMBranchPullRequests results = 1; +} + +// Copied from: local:aiserver.v1.SCMBranchPullRequests (var: vRu) +message SCMBranchPullRequests { + string repo_url = 1; + string branch_name = 2; + repeated string pr_urls = 3; +} + +// Copied from: local:aiserver.v1.SCMBranchRef (var: gRu) +message SCMBranchRef { + string repo_url = 1; + string branch_name = 2; +} + +// Copied from: local:aiserver.v1.SCMCiStatus (var: vCn) +enum SCMCiStatus { + SCM_CI_STATUS_UNSPECIFIED = 0; + SCM_CI_STATUS_UNKNOWN = 1; + SCM_CI_STATUS_SUCCESS = 2; + SCM_CI_STATUS_FAILURE = 3; + SCM_CI_STATUS_PENDING = 4; +} + +// Copied from: local:aiserver.v1.SCMClosePullRequestRequest (var: ERu) +message SCMClosePullRequestRequest { + string pr_url = 1; +} + +// Copied from: local:aiserver.v1.SCMClosePullRequestResponse (var: xRu) +message SCMClosePullRequestResponse { + bool success = 1; + string error = 2; +} + +// Copied from: local:aiserver.v1.SCMDisablePullRequestAutoMergeRequest (var: DRu) +message SCMDisablePullRequestAutoMergeRequest { + string pr_url = 1; +} + +// Copied from: local:aiserver.v1.SCMDisablePullRequestAutoMergeResponse (var: MRu) +message SCMDisablePullRequestAutoMergeResponse { + bool success = 1; + string error = 2; + optional string pr_node_id = 3; +} + +// Copied from: local:aiserver.v1.SCMEnablePullRequestAutoMergeRequest (var: IRu) +message SCMEnablePullRequestAutoMergeRequest { + string pr_url = 1; + SCMMergeMethod merge_method = 2; +} + +// Copied from: local:aiserver.v1.SCMEnablePullRequestAutoMergeResponse (var: RRu) +message SCMEnablePullRequestAutoMergeResponse { + bool success = 1; + string error = 2; + optional string pr_node_id = 3; +} + +// Copied from: local:aiserver.v1.SCMGetPullRequestForBranchRequest (var: pRu) +message SCMGetPullRequestForBranchRequest { + string repo_url = 1; + string branch_name = 2; + optional bool skip_cache = 3; +} + +// Copied from: local:aiserver.v1.SCMGetPullRequestForBranchResponse (var: mRu) +message SCMGetPullRequestForBranchResponse { + repeated string pr_urls = 1; +} + +// Copied from: local:aiserver.v1.SCMMakePullRequestReadyRequest (var: kRu) +message SCMMakePullRequestReadyRequest { + string pr_url = 1; +} + +// Copied from: local:aiserver.v1.SCMMakePullRequestReadyResponse (var: CRu) +message SCMMakePullRequestReadyResponse { + bool success = 1; + string error = 2; +} + +// Copied from: local:aiserver.v1.SCMMergeMethod (var: dmt) +enum SCMMergeMethod { + SCM_MERGE_METHOD_UNSPECIFIED = 0; + SCM_MERGE_METHOD_MERGE = 1; + SCM_MERGE_METHOD_SQUASH = 2; + SCM_MERGE_METHOD_REBASE = 3; +} + +// Copied from: local:aiserver.v1.SCMMergePullRequestRequest (var: _Ru) +message SCMMergePullRequestRequest { + string pr_url = 1; + SCMMergeMethod merge_method = 2; + bool use_merge_queue = 3; +} + +// Copied from: local:aiserver.v1.SCMMergePullRequestResponse (var: yRu) +message SCMMergePullRequestResponse { + bool success = 1; + string error = 2; + optional string pr_node_id = 3; + bool was_enqueued = 4; +} + +// Copied from: local:aiserver.v1.SCMMergeability (var: JDi) +enum SCMMergeability { + SCM_MERGEABILITY_UNSPECIFIED = 0; + SCM_MERGEABILITY_UNKNOWN = 1; + SCM_MERGEABILITY_MERGEABLE = 2; + SCM_MERGEABILITY_CONFLICTING = 3; +} + +// Copied from: local:aiserver.v1.SCMPullRequest (var: eMi) +message SCMPullRequest { + string id = 1; + string pr_url = 2; + int32 number = 3; + string title = 4; + SCMPullRequestState state = 5; + bool is_merged = 6; + bool is_draft = 7; + string repository = 8; + optional string head_ref_name = 9; + optional string base_ref_name = 10; + SCMMergeability mergeable = 11; + string merge_state_status = 12; + optional string review_decision = 13; + SCMCiStatus ci_status = 14; + optional string author_login = 15; + optional string created_at = 16; + optional string updated_at = 17; + optional string merged_at = 18; + optional string closed_at = 19; + bool is_auto_merge_enabled = 20; + optional bool viewer_can_enable_auto_merge = 21; + optional string body = 22; + optional int32 commit_count = 23; + optional int32 review_count = 24; + repeated SCMPullRequestReviewer reviewers = 25; + repeated SCMPullRequestRequestedReviewer requested_reviewers = 26; + optional bool merge_status_degraded_by_rate_limit = 27; + optional bool requires_merge_queue = 28; + optional bool is_in_merge_queue = 29; + optional string author_avatar_url = 30; +} + +// Copied from: local:aiserver.v1.SCMPullRequestCommit (var: oRu) +message SCMPullRequestCommit { + string sha = 1; + string message = 2; + optional string committed_date = 3; + int32 additions = 4; + int32 deletions = 5; + optional int32 changed_files = 6; + optional SCMPullRequestCommitUser author = 7; + optional SCMPullRequestCommitUser committer = 8; + repeated SCMPullRequestCommitUser authors = 9; +} + +// Copied from: local:aiserver.v1.SCMPullRequestCommitUser (var: nMi) +message SCMPullRequestCommitUser { + optional string name = 1; + optional string email = 2; + optional string avatar_url = 3; +} + +// Copied from: local:aiserver.v1.SCMPullRequestDiffFile (var: VOs) +message SCMPullRequestDiffFile { + string filename = 1; + optional string previous_filename = 2; + SCMPullRequestDiffFileStatus status = 3; + optional string original_contents = 4; + optional string modified_contents = 5; + optional string patch = 6; + optional bool is_generated = 7; +} + +// Copied from: local:aiserver.v1.SCMPullRequestDiffFileStatus (var: K3t) +enum SCMPullRequestDiffFileStatus { + SCM_PULL_REQUEST_DIFF_FILE_STATUS_UNSPECIFIED = 0; + SCM_PULL_REQUEST_DIFF_FILE_STATUS_ADDED = 1; + SCM_PULL_REQUEST_DIFF_FILE_STATUS_DELETED = 2; + SCM_PULL_REQUEST_DIFF_FILE_STATUS_MODIFIED = 3; + SCM_PULL_REQUEST_DIFF_FILE_STATUS_RENAMED = 4; +} + +// Copied from: local:aiserver.v1.SCMPullRequestRequestedReviewer (var: tRu) +message SCMPullRequestRequestedReviewer { + string login = 1; + optional string name = 2; + optional string avatar_url = 3; + optional string kind = 4; +} + +// Copied from: local:aiserver.v1.SCMPullRequestReviewer (var: eRu) +message SCMPullRequestReviewer { + string login = 1; + optional string name = 2; + optional string avatar_url = 3; + optional string state = 4; +} + +// Copied from: local:aiserver.v1.SCMPullRequestStack (var: GIu) +message SCMPullRequestStack { + SCMPullRequestStackSource source = 1; + repeated SCMPullRequestStackMember members = 2; + repeated SCMPullRequestStackEdge edges = 3; + optional string base_ref_name = 4; +} + +// Copied from: local:aiserver.v1.SCMPullRequestStackEdge (var: KIu) +message SCMPullRequestStackEdge { + string parent_pr_url = 1; + string child_pr_url = 2; +} + +// Copied from: local:aiserver.v1.SCMPullRequestStackMember (var: qIu) +message SCMPullRequestStackMember { + SCMPullRequest pull_request = 1; + optional int32 position = 2; +} + +// Copied from: local:aiserver.v1.SCMPullRequestStackSource (var: Q3t) +enum SCMPullRequestStackSource { + SCM_PULL_REQUEST_STACK_SOURCE_UNSPECIFIED = 0; + SCM_PULL_REQUEST_STACK_SOURCE_ORIGIN = 1; + SCM_PULL_REQUEST_STACK_SOURCE_GRAPHITE = 2; + SCM_PULL_REQUEST_STACK_SOURCE_GITHUB_NATIVE = 3; +} + +// Copied from: local:aiserver.v1.SCMPullRequestState (var: q3t) +enum SCMPullRequestState { + SCM_PULL_REQUEST_STATE_UNSPECIFIED = 0; + SCM_PULL_REQUEST_STATE_OPEN = 1; + SCM_PULL_REQUEST_STATE_CLOSED = 2; + SCM_PULL_REQUEST_STATE_MERGED = 3; +} + +// Copied from: local:aiserver.v1.SCMPullRequestStatus (var: JIu) +message SCMPullRequestStatus { + string title = 1; + SCMPullRequestState state = 2; + bool is_merged = 3; + bool is_draft = 4; + optional bool degraded_by_rate_limit = 5; + optional string updated_at = 6; +} + +// Copied from: local:aiserver.v1.SCMPullRequestTimelineActor (var: uRu) +message SCMPullRequestTimelineActor { + string login = 1; + optional string avatar_url = 2; + optional string name = 3; +} + +// Copied from: local:aiserver.v1.SCMPullRequestTimelineEvent (var: lRu) +message SCMPullRequestTimelineEvent { + string id = 1; + string event_type = 2; + string created_at = 3; + optional SCMPullRequestTimelineActor actor = 4; + optional string label = 5; + optional string body = 6; +} + +// Copied from: local:aiserver.v1.SCMReopenPullRequestRequest (var: TRu) +message SCMReopenPullRequestRequest { + string pr_url = 1; +} + +// Copied from: local:aiserver.v1.SCMReopenPullRequestResponse (var: ARu) +message SCMReopenPullRequestResponse { + bool success = 1; + string error = 2; +} + +// Copied from: local:aiserver.v1.SCMUpdatePullRequestTitleRequest (var: SRu) +message SCMUpdatePullRequestTitleRequest { + string pr_url = 1; + string title = 2; +} + +// Copied from: local:aiserver.v1.SCMUpdatePullRequestTitleResponse (var: wRu) +message SCMUpdatePullRequestTitleResponse { + bool success = 1; + string error = 2; +} + +// Copied from: agent.v1.SameMachineTarget (var: N4l) +message SameMachineTarget { +} + +// Copied from: local:aiserver.v1.SandActionAuditSettings (var: aNs) +message SandActionAuditSettings { + optional bool enabled = 1; +} + +// Copied from: local:aiserver.v1.SandAssignedSetupManifest (var: Zmv) +message SandAssignedSetupManifest { + SandSetupManifestScopeKind scope_kind = 1; + string scope_id = 2; + string manifest_id = 3; + string revision = 4; + repeated SandSetupManifestEntry entries = 5; +} + +// Copied from: local:aiserver.v1.SandAuditEvent (var: _pu) +message SandAuditEvent { + // Copied from: local:aiserver.v1.SandAuditEvent.BrowserNavigation (var: wpu) + message BrowserNavigation { + string url = 1; + string page_title = 2; + } + + // Copied from: local:aiserver.v1.SandAuditEvent.ComputerUseSession (var: kpu) + message ComputerUseSession { + string tool_call_id = 1; + int64 action_count = 2; + map action_counts = 3; + int64 duration_ms = 4; + int64 screenshot_count = 5; + } + + // Copied from: local:aiserver.v1.SandAuditEvent.McpToolCall (var: ypu) + message McpToolCall { + string tool_call_id = 1; + string server_identifier = 2; + string server_name = 3; + string tool_name = 4; + string status = 5; + int64 duration_ms = 6; + } + + // Copied from: local:aiserver.v1.SandAuditEvent.ShellCommand (var: Spu) + message ShellCommand { + string command = 1; + string kind = 2; + string target = 3; + bool allowed = 4; + string blocked_reason = 5; + repeated string classification_reasons = 6; + } + + string event_id = 1; + int64 occurred_at_ms = 2; + string agent_id = 3; + string turn_id = 4; + string box_id = 5; + oneof action { + McpToolCall mcp_tool_call = 6; + ShellCommand shell_command = 7; + BrowserNavigation browser_navigation = 8; + ComputerUseSession computer_use_session = 9; + } +} + +// Copied from: local:aiserver.v1.SandBankedReset (var: r_u) +message SandBankedReset { + int64 id = 1; + google.protobuf.Timestamp created_at = 2; + optional google.protobuf.Timestamp expires_at = 3; +} + +// Copied from: local:aiserver.v1.SandBoxDescriptor (var: egv) +message SandBoxDescriptor { + bool running = 2; +} + +// Copied from: local:aiserver.v1.SandBoxMigrationEvent (var: QHi) +message SandBoxMigrationEvent { + SandBoxMigrationPhase phase = 1; + string detail = 2; + int64 at_ms = 3; + string offset_key = 4; + string operation_id = 5; +} + +// Copied from: local:aiserver.v1.SandBoxMigrationPhase (var: qmv) +enum SandBoxMigrationPhase { + SAND_BOX_MIGRATION_PHASE_UNSPECIFIED = 0; + SAND_BOX_MIGRATION_PHASE_BACKING_UP = 1; + SAND_BOX_MIGRATION_PHASE_CREATING = 2; + SAND_BOX_MIGRATION_PHASE_MOVING = 3; + SAND_BOX_MIGRATION_PHASE_CLEANING_UP = 4; + SAND_BOX_MIGRATION_PHASE_WIPING = 5; + SAND_BOX_MIGRATION_PHASE_DONE = 6; + SAND_BOX_MIGRATION_PHASE_FAILED = 7; +} + +// Copied from: local:aiserver.v1.SandBoxRunState (var: Kmv) +enum SandBoxRunState { + SAND_BOX_RUN_STATE_UNSPECIFIED = 0; + SAND_BOX_RUN_STATE_ABSENT = 1; + SAND_BOX_RUN_STATE_HIBERNATED = 2; + SAND_BOX_RUN_STATE_RUNNING = 3; +} + +// Copied from: local:aiserver.v1.SandBoxStoreManifestVersion (var: Jmv) +message SandBoxStoreManifestVersion { + string version_id = 1; + int64 last_modified_ms = 2; + int64 size_bytes = 3; + bool is_latest = 4; + string etag = 5; + optional int64 entry_count = 6; + optional int64 total_bytes = 7; + optional bool fully_hydrated = 8; + string parse_error = 9; +} + +// Copied from: local:aiserver.v1.SandBoxStoreMultipartAbortResult (var: hgv) +message SandBoxStoreMultipartAbortResult { + uint32 input_index = 1; + string rel_path = 2; + oneof outcome { + SandBoxStoreMultipartAbortSuccess success = 3; + SandBoxStoreMultipartOperationFailure failure = 4; + } +} + +// Copied from: local:aiserver.v1.SandBoxStoreMultipartAbortSuccess (var: dgv) +message SandBoxStoreMultipartAbortSuccess { + bool already_finished = 1; +} + +// Copied from: local:aiserver.v1.SandBoxStoreMultipartOperationFailure (var: NKd) +message SandBoxStoreMultipartOperationFailure { + SandBoxStoreMultipartOperationFailureCode code = 1; +} + +// Copied from: local:aiserver.v1.SandBoxStoreMultipartOperationFailureCode (var: Ymv) +enum SandBoxStoreMultipartOperationFailureCode { + SAND_BOX_STORE_MULTIPART_OPERATION_FAILURE_CODE_UNSPECIFIED = 0; + SAND_BOX_STORE_MULTIPART_OPERATION_FAILURE_CODE_PRECONDITION_FAILED = 1; + SAND_BOX_STORE_MULTIPART_OPERATION_FAILURE_CODE_UPLOAD_NOT_FOUND = 2; + SAND_BOX_STORE_MULTIPART_OPERATION_FAILURE_CODE_INVALID_PARTS = 3; + SAND_BOX_STORE_MULTIPART_OPERATION_FAILURE_CODE_CHECKSUM_MISMATCH = 4; + SAND_BOX_STORE_MULTIPART_OPERATION_FAILURE_CODE_TRANSIENT = 5; + SAND_BOX_STORE_MULTIPART_OPERATION_FAILURE_CODE_INTERNAL = 6; + SAND_BOX_STORE_MULTIPART_OPERATION_FAILURE_CODE_RESTART_REQUIRED = 7; +} + +// Copied from: local:aiserver.v1.SandBoxStoreMultipartPart (var: tgv) +message SandBoxStoreMultipartPart { + uint32 part_number = 1; + int64 size_bytes = 2; + string sha256 = 3; +} + +// Copied from: local:aiserver.v1.SandBoxStoreMultipartUploadContext (var: lpo) +message SandBoxStoreMultipartUploadContext { + string upload_id = 1; + string rel_path = 2; + int64 size_bytes = 3; + string sha256 = 4; + uint32 expected_part_count = 5; + repeated string part_sha256s = 6; + string session_id = 9; + oneof precondition { + string if_match_etag = 7; + bool expect_absent = 8; + } +} + +// Copied from: local:aiserver.v1.SandBoxStoreMultipartUploadPartInstruction (var: igv) +message SandBoxStoreMultipartUploadPartInstruction { + uint32 part_number = 1; + string url = 2; + map headers = 3; + int64 offset_bytes = 4; + int64 size_bytes = 5; +} + +// Copied from: local:aiserver.v1.SandBoxStoreMultipartUploadedPart (var: ogv) +message SandBoxStoreMultipartUploadedPart { + uint32 part_number = 1; + string etag = 2; +} + +// Copied from: local:aiserver.v1.SandBoxStoreMultipartWriteAbort (var: ugv) +message SandBoxStoreMultipartWriteAbort { + SandBoxStoreMultipartUploadContext context = 1; +} + +// Copied from: local:aiserver.v1.SandBoxStoreMultipartWriteCompletion (var: agv) +message SandBoxStoreMultipartWriteCompletion { + SandBoxStoreMultipartUploadContext context = 1; + repeated SandBoxStoreMultipartUploadedPart parts = 2; +} + +// Copied from: local:aiserver.v1.SandBoxStoreMultipartWriteInstruction (var: rgv) +message SandBoxStoreMultipartWriteInstruction { + SandBoxStoreMultipartUploadContext context = 1; + repeated SandBoxStoreMultipartUploadPartInstruction parts = 2; + int64 part_urls_expires_at_ms = 3; +} + +// Copied from: local:aiserver.v1.SandBoxStoreMultipartWriteResult (var: lgv) +message SandBoxStoreMultipartWriteResult { + uint32 input_index = 1; + string rel_path = 2; + oneof outcome { + SandBoxStoreMultipartWriteSuccess success = 3; + SandBoxStoreMultipartOperationFailure failure = 4; + } +} + +// Copied from: local:aiserver.v1.SandBoxStoreMultipartWriteSuccess (var: cgv) +message SandBoxStoreMultipartWriteSuccess { + string etag = 1; +} + +// Copied from: local:aiserver.v1.SandBoxStoreObjectEntry (var: mgv) +message SandBoxStoreObjectEntry { + string rel_path = 1; + string etag = 2; + int64 size_bytes = 3; + int64 last_modified_ms = 4; +} + +// Copied from: local:aiserver.v1.SandBoxStoreReadInstruction (var: pgv) +message SandBoxStoreReadInstruction { + string rel_path = 1; + string url = 2; + int64 expires_at_ms = 3; +} + +// Copied from: local:aiserver.v1.SandBoxStoreWriteFile (var: ngv) +message SandBoxStoreWriteFile { + string rel_path = 1; + string sha256 = 2; + int64 size_bytes = 3; + bool content_addressed = 4; + string if_match_etag = 5; + bool expect_absent = 6; + repeated SandBoxStoreMultipartPart multipart_parts = 7; +} + +// Copied from: local:aiserver.v1.SandBoxStoreWriteInstruction (var: sgv) +message SandBoxStoreWriteInstruction { + string rel_path = 1; + string url = 2; + map headers = 3; + int64 expires_at_ms = 4; + optional SandBoxStoreMultipartWriteInstruction multipart = 5; +} + +// Copied from: local:aiserver.v1.SandBoxUpgradeSchedule (var: YHi) +message SandBoxUpgradeSchedule { + string timezone = 1; + string local_time = 2; + bool recurring = 3; + optional string target_image_tag = 4; + optional int64 next_fire_at_ms = 5; + SandBoxUpgradeScheduleState state = 6; + optional string last_completed_image_tag = 7; + optional string failure_reason = 8; +} + +// Copied from: local:aiserver.v1.SandBoxUpgradeScheduleState (var: Qmv) +enum SandBoxUpgradeScheduleState { + SAND_BOX_UPGRADE_SCHEDULE_STATE_UNSPECIFIED = 0; + SAND_BOX_UPGRADE_SCHEDULE_STATE_SCHEDULED = 1; + SAND_BOX_UPGRADE_SCHEDULE_STATE_CLAIMED = 2; + SAND_BOX_UPGRADE_SCHEDULE_STATE_RUNNING = 3; + SAND_BOX_UPGRADE_SCHEDULE_STATE_WAITING_FOR_IMAGE = 4; + SAND_BOX_UPGRADE_SCHEDULE_STATE_COMPLETED = 5; + SAND_BOX_UPGRADE_SCHEDULE_STATE_MISSED = 6; + SAND_BOX_UPGRADE_SCHEDULE_STATE_FAILED = 7; + SAND_BOX_UPGRADE_SCHEDULE_STATE_CANCELLED = 8; +} + +// Copied from: local:aiserver.v1.SandEgressMode (var: Scu) +enum SandEgressMode { + SAND_EGRESS_MODE_UNSPECIFIED = 0; + SAND_EGRESS_MODE_ALLOW_ALL = 1; + SAND_EGRESS_MODE_DEFAULT_WITH_NETWORK_SETTINGS = 2; + SAND_EGRESS_MODE_NETWORK_SETTINGS_ONLY = 3; +} + +// Copied from: local:aiserver.v1.SandNetworkControls (var: imt) +message SandNetworkControls { + SandEgressMode egress_mode = 1; + repeated string allowlist = 2; + bool locked = 3; +} + +// Copied from: local:aiserver.v1.SandOnboardingState (var: ybu) +message SandOnboardingState { + bool completed = 1; + bool seen = 2; +} + +// Copied from: local:aiserver.v1.SandProcessMetricsRowRequest (var: yYl) +message SandProcessMetricsRowRequest { + int32 pid = 1; + int32 ppid = 2; + string process_name = 3; + string process_name_hash = 4; + int64 sample_cpu_time_ms = 5; + double sample_avg_mem_mb = 6; + double sample_peak_mem_mb = 7; + double session_peak_mem_mb = 8; + double memory_during_sample_peak_mb = 9; + double cpu_during_sample_peak_pct = 10; +} + +// Copied from: local:aiserver.v1.SandResetAlreadyAppliedError (var: ff) +message SandResetAlreadyAppliedError { +} + +// Copied from: local:aiserver.v1.SandResetTooRecentError (var: gf) +message SandResetTooRecentError { + google.protobuf.Timestamp retry_after = 1; +} + +// Copied from: local:aiserver.v1.SandResetUnavailableError (var: hf) +message SandResetUnavailableError { +} + +// Copied from: local:aiserver.v1.SandSetupManifestEntry (var: cpo) +message SandSetupManifestEntry { + string id = 1; + string setup = 2; + optional string check = 3; +} + +// Copied from: local:aiserver.v1.SandSetupManifestScopeKind (var: Gmv) +enum SandSetupManifestScopeKind { + SAND_SETUP_MANIFEST_SCOPE_KIND_UNSPECIFIED = 0; + SAND_SETUP_MANIFEST_SCOPE_KIND_USER = 1; + SAND_SETUP_MANIFEST_SCOPE_KIND_TEAM = 2; + SAND_SETUP_MANIFEST_SCOPE_KIND_ORGANIZATION = 3; +} + +// Copied from: local:aiserver.v1.SandTeamSetupManifest (var: Fqd) +message SandTeamSetupManifest { + string manifest_id = 1; + string revision = 2; + string etag = 3; + repeated SandSetupManifestEntry entries = 4; +} + +// Copied from: local:aiserver.v1.SandUpgradeRecommendation (var: gNs) +message SandUpgradeRecommendation { + ErrorButton cta = 1; + bool disabled = 2; + optional string supporting_text = 3; + optional string kind = 4; +} + +// Copied from: agent.v1.SandboxPolicy (var: Rpe) +message SandboxPolicy { + // Copied from: agent.v1.SandboxPolicy.ReadBoundaryMode (var: u_n) + enum ReadBoundaryMode { + READ_BOUNDARY_MODE_UNSPECIFIED = 0; + READ_BOUNDARY_MODE_SYSTEM = 1; + READ_BOUNDARY_MODE_WORKSPACE = 2; + } + + // Copied from: agent.v1.SandboxPolicy.Type (var: CFe) + 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:aiserver.v1.SandboxReadBoundaryMode (var: BLs) +enum SandboxReadBoundaryMode { + SANDBOX_READ_BOUNDARY_MODE_UNSPECIFIED = 0; + SANDBOX_READ_BOUNDARY_MODE_SYSTEM = 1; + SANDBOX_READ_BOUNDARY_MODE_WORKSPACE = 2; +} + +// Copied from: local:aiserver.v1.SandboxingMode (var: Jpt) +enum SandboxingMode { + SANDBOXING_MODE_UNSPECIFIED = 0; + SANDBOXING_MODE_ENABLED = 1; + SANDBOXING_MODE_DISABLED = 2; +} + +// Copied from: local:aiserver.v1.SaveFileParams (var: Bbs) +message SaveFileParams { + string relative_workspace_path = 1; +} + +// Copied from: local:aiserver.v1.SaveFileResult (var: Ubs) +message SaveFileResult { +} + +// Copied from: local:aiserver.v1.SaveTeamSandSetupManifestRequest (var: $qd) +message SaveTeamSandSetupManifestRequest { + string manifest_id = 1; + string expected_etag = 2; + repeated SandSetupManifestEntry entries = 3; +} + +// Copied from: local:aiserver.v1.SaveTeamSandSetupManifestResponse (var: jqd) +message SaveTeamSandSetupManifestResponse { + SandTeamSetupManifest manifest = 1; +} + +// Copied from: local:aiserver.v1.ScenarioConfig (var: Gbv) +message ScenarioConfig { + PlanType plan = 1; + ScenarioType scenario = 2; + optional bool can_edit_limit = 3; +} + +// Copied from: local:aiserver.v1.ScenarioType (var: pQd) +enum ScenarioType { + SCENARIO_TYPE_UNSPECIFIED = 0; + SCENARIO_TYPE_PLAN_LIMIT = 1; + SCENARIO_TYPE_TIER_1_LIMIT = 2; + SCENARIO_TYPE_TIER_2_LIMIT = 3; + SCENARIO_TYPE_TIER_3_LIMIT = 4; + SCENARIO_TYPE_ON_DEMAND_LIMIT = 5; + SCENARIO_TYPE_TEAM_ON_DEMAND_LIMIT = 6; + SCENARIO_TYPE_MONTHLY_LIMIT = 7; + SCENARIO_TYPE_POOLED_LIMIT = 8; +} + +// Copied from: local:aiserver.v1.ScheduleSandBoxUpgradeRequest (var: CKd) +message ScheduleSandBoxUpgradeRequest { + string timezone = 1; + string local_time = 2; + bool recurring = 3; +} + +// Copied from: local:aiserver.v1.ScheduleSandBoxUpgradeResponse (var: EKd) +message ScheduleSandBoxUpgradeResponse { + SandBoxUpgradeSchedule schedule = 1; +} + +// Copied from: local:aiserver.v1.SchedulerStreamRequest (var: ebv) +message SchedulerStreamRequest { + string scheduler_id = 1; + repeated DeploymentDemand demands = 2; + repeated UsageReport usage_reports = 3; +} + +// Copied from: local:aiserver.v1.SchedulerStreamResponse (var: tbv) +message SchedulerStreamResponse { + repeated WorkloadGrant grants = 1; +} + +// Copied from: local:aiserver.v1.ScimConflictDirectoryGroup (var: D0u) +message ScimConflictDirectoryGroup { + int32 directory_group_id = 1; + string directory_group_name = 2; +} + +// Copied from: local:aiserver.v1.ScimConflictUser (var: M0u) +message ScimConflictUser { + int32 user_id = 1; + string email = 2; + string name = 3; + repeated ScimConflictDirectoryGroup directory_groups = 4; + optional int32 current_billing_group_id = 5; + optional string current_billing_group_name = 6; + optional int32 current_billing_group_directory_group_id = 7; +} + +// Copied from: local:aiserver.v1.ScimDirectory (var: sCn) +message ScimDirectory { + int64 id = 1; + string organization_id = 2; + int64 owner_id = 3; + ScimDirectoryOwnerType owner_type = 4; + string scim_directory_external_id = 5; + ScimDirectoryProvider provider = 6; + int64 created_at = 7; + int64 updated_at = 8; + optional bool sync_directory_users_to_root_team = 9; + string identity_provider_public_id = 10; +} + +// Copied from: local:aiserver.v1.ScimDirectoryOwnerType (var: zLs) +enum ScimDirectoryOwnerType { + SCIM_DIRECTORY_OWNER_TYPE_UNSPECIFIED = 0; + SCIM_DIRECTORY_OWNER_TYPE_ORGANIZATION = 1; + SCIM_DIRECTORY_OWNER_TYPE_TEAM = 2; +} + +// Copied from: local:aiserver.v1.ScimDirectoryProvider (var: VLs) +enum ScimDirectoryProvider { + SCIM_DIRECTORY_PROVIDER_UNSPECIFIED = 0; + SCIM_DIRECTORY_PROVIDER_WORKOS = 1; +} + +// Copied from: local:aiserver.v1.ScimRequireUserDirectoryImpactedUser (var: Mmu) +message ScimRequireUserDirectoryImpactedUser { + int32 user_id = 1; + string name = 2; + string email = 3; + optional string profile_picture_url = 4; +} + +// Copied from: local:aiserver.v1.ScimTargetMapping (var: z3t) +message ScimTargetMapping { + int64 id = 1; + int64 scim_directory_id = 2; + string scim_group_external_id = 3; + int64 target_id = 4; + ScimTargetMappingTargetType target_type = 5; + ScimTargetMappingSyncState sync_state = 6; + optional int64 last_synced_at = 7; + int64 created_at = 8; + int64 updated_at = 9; + ScimTargetMappingSourceType source_type = 10; + optional int64 cursor_group_id = 11; + ScimTargetMappingRole role = 12; +} + +// Copied from: local:aiserver.v1.ScimTargetMappingRole (var: KLs) +enum ScimTargetMappingRole { + SCIM_TARGET_MAPPING_ROLE_UNSPECIFIED = 0; + SCIM_TARGET_MAPPING_ROLE_MEMBER = 1; + SCIM_TARGET_MAPPING_ROLE_ADMIN = 2; + SCIM_TARGET_MAPPING_ROLE_UNPAID_ADMIN = 3; +} + +// Copied from: local:aiserver.v1.ScimTargetMappingSourceType (var: qLs) +enum ScimTargetMappingSourceType { + SCIM_TARGET_MAPPING_SOURCE_TYPE_UNSPECIFIED = 0; + SCIM_TARGET_MAPPING_SOURCE_TYPE_SCIM_DIRECTORY_GROUP = 1; + SCIM_TARGET_MAPPING_SOURCE_TYPE_CURSOR_GROUP = 2; +} + +// Copied from: local:aiserver.v1.ScimTargetMappingSyncState (var: Dcu) +enum ScimTargetMappingSyncState { + SCIM_TARGET_MAPPING_SYNC_STATE_UNSPECIFIED = 0; + SCIM_TARGET_MAPPING_SYNC_STATE_PENDING = 1; + SCIM_TARGET_MAPPING_SYNC_STATE_SYNCED = 2; + SCIM_TARGET_MAPPING_SYNC_STATE_ERRORED = 3; +} + +// Copied from: local:aiserver.v1.ScimTargetMappingTargetType (var: GLs) +enum ScimTargetMappingTargetType { + SCIM_TARGET_MAPPING_TARGET_TYPE_UNSPECIFIED = 0; + SCIM_TARGET_MAPPING_TARGET_TYPE_GROUP = 1; + SCIM_TARGET_MAPPING_TARGET_TYPE_TEAM = 2; +} + +// Copied from: local:aiserver.v1.ScimUpstreamGroup (var: UNs) +message ScimUpstreamGroup { + string scim_group_external_id = 1; + string name = 2; + string workos_group_id = 3; + string idp_id = 4; +} + +// Copied from: local:aiserver.v1.ScmConnectAdConnectionState (var: Nmt) +enum ScmConnectAdConnectionState { + SCM_CONNECT_AD_CONNECTION_STATE_UNSPECIFIED = 0; + SCM_CONNECT_AD_CONNECTION_STATE_UNKNOWN = 1; + SCM_CONNECT_AD_CONNECTION_STATE_NOT_CONNECTED = 2; + SCM_CONNECT_AD_CONNECTION_STATE_HAS_ACCESS = 3; +} + +// Copied from: local:aiserver.v1.ScmConnectAdContext (var: q5s) +message ScmConnectAdContext { + ScmConnectAdProvider provider = 1; + string remote_url = 2; + ScmConnectAdConnectionState connection_state = 3; +} + +// Copied from: local:aiserver.v1.ScmConnectAdProvider (var: hme) +enum ScmConnectAdProvider { + SCM_CONNECT_AD_PROVIDER_UNSPECIFIED = 0; + SCM_CONNECT_AD_PROVIDER_GITHUB = 1; + SCM_CONNECT_AD_PROVIDER_GITLAB = 2; +} + +// Copied from: local:aiserver.v1.ScmConnectIntentSource (var: PLs) +enum ScmConnectIntentSource { + SCM_CONNECT_INTENT_SOURCE_UNSPECIFIED = 0; + SCM_CONNECT_INTENT_SOURCE_PORTAL = 1; + SCM_CONNECT_INTENT_SOURCE_GLASS_CLOUD_AGENT = 2; + SCM_CONNECT_INTENT_SOURCE_GLASS_DIFF = 3; + SCM_CONNECT_INTENT_SOURCE_GLASS_AUTOMATIONS = 4; +} + +// Copied from: local:aiserver.v1.ScmConnectIntentTarget (var: JLs) +message ScmConnectIntentTarget { + // Copied from: local:aiserver.v1.ScmConnectIntentTarget.User (var: zcu) + message User { + } + + oneof target { + User user = 1; + int32 team_id = 2; + } +} + +// Copied from: local:aiserver.v1.ScoredAiCodeMetadata (var: UAi) +message ScoredAiCodeMetadata { + string file_extension = 1; + int32 lines_added = 2; + int32 lines_deleted = 3; + repeated string change_hashes = 5; + optional string file_name = 4; +} + +// Copied from: local:aiserver.v1.ScratchpadResult (var: rDl) +message ScratchpadResult { +} + +// Copied from: agent.v1.ScreenshotAction (var: QRl) +message ScreenshotAction { +} + +// Copied from: local:aiserver.v1.ScriptTiming (var: tXu) +message ScriptTiming { + string name = 1; + double start_time = 2; + double duration = 3; + double execution_start = 4; + double forced_style_and_layout_duration = 5; + double pause_duration = 6; + string source_url = 7; + string source_function_name = 8; + int32 source_char_position = 9; + optional string invoker = 10; + string invoker_type = 11; + string window_attribution = 12; +} + +// Copied from: agent.v1.ScrollAction (var: VRl) +message ScrollAction { + optional Coordinate coordinate = 1; + ScrollDirection direction = 2; + int32 amount = 3; + optional string modifier_keys = 4; +} + +// Copied from: agent.v1.ScrollDirection (var: UOt) +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:aiserver.v1.ScrollEvent (var: w7l) +message ScrollEvent { + PointInTimeModel point_in_time_model = 1; + repeated IRange visible_ranges = 2; + string editor_id = 3; +} + +// Copied from: local:aiserver.v1.SearchEvent (var: njl) +message SearchEvent { + string query = 1; + int32 result_count = 2; + int32 file_count = 3; + bool is_regex = 4; + bool is_case_sensitive = 5; + bool is_whole_word = 6; + optional string files_to_include = 7; + optional string files_to_exclude = 8; + int32 duration_ms = 9; + repeated SearchResultFile results = 10; +} + +// Copied from: local:aiserver.v1.SearchFileInfo (var: nTs) +message SearchFileInfo { + string relative_path = 1; + string content = 2; +} + +// Copied from: local:aiserver.v1.SearchInfo (var: A6l) +message SearchInfo { + string query = 1; + repeated SearchFileInfo files = 2; +} + +// Copied from: local:aiserver.v1.SearchMatch (var: ejl) +message SearchMatch { + int32 line_number = 1; + int32 column = 2; + string match_text = 3; +} + +// Copied from: local:aiserver.v1.SearchPRHistoryRequest (var: CRl) +message SearchPRHistoryRequest { + RepositoryInfo repository = 1; + string query = 2; + int32 top_k = 3; +} + +// Copied from: local:aiserver.v1.SearchPRHistoryResponse (var: xRl) +message SearchPRHistoryResponse { + // Copied from: local:aiserver.v1.SearchPRHistoryResponse.PRSearchResult (var: TRl) + message PRSearchResult { + string commit_hash = 1; + float score = 2; + repeated PRDiffChunkPointer diff_chunks = 3; + optional string title = 4; + optional string summary = 5; + optional uint32 pr_number = 6; + optional string author = 7; + optional string date = 8; + repeated string changed_files = 9; + } + + repeated PRSearchResult results = 1; + optional uint32 git_height = 2; +} + +// Copied from: local:aiserver.v1.SearchParams (var: sbs) +message SearchParams { + string query = 1; + bool regex = 2; + string include_pattern = 3; + string exclude_pattern = 4; + bool filename_search = 5; +} + +// Copied from: local:aiserver.v1.SearchRepositoryDeepContextRequest (var: Pt) +message SearchRepositoryDeepContextRequest { + string query = 1; + int32 top_k = 2; + int32 top_reflections_k = 3; + repeated string index_ids = 4; + bool use_model_on_files = 5; + bool use_reflections = 6; +} + +// Copied from: local:aiserver.v1.SearchRepositoryDeepContextResponse (var: rRl) +message SearchRepositoryDeepContextResponse { + repeated NodeResult top_nodes = 1; + repeated ReflectionResult reflections = 2; + string index_id = 3; +} + +// Copied from: local:aiserver.v1.SearchRepositoryRequest (var: wfs) +message SearchRepositoryRequest { + string query = 1; + RepositoryInfo repository = 2; + int32 top_k = 3; + ModelDetails model_details = 4; + bool rerank = 5; + optional bool context_cache_request = 6; + optional string glob_filter = 7; + optional string not_glob_filter = 8; + optional int32 race_n_requests = 9; + QueryOnlyRepoAccess query_only_repo_access = 10; +} + +// Copied from: local:aiserver.v1.SearchRepositoryResponse (var: kfs) +message SearchRepositoryResponse { + repeated CodeResult code_results = 1; +} + +// Copied from: local:aiserver.v1.SearchResult (var: cbs) +message SearchResult { + repeated SearchToolFileSearchResult file_results = 1; + int32 num_total_matches = 2; + int32 num_total_matched_files = 3; + bool num_total_may_be_incomplete = 4; + bool files_only = 5; +} + +// Copied from: local:aiserver.v1.SearchResultFile (var: tjl) +message SearchResultFile { + string file_path = 1; + int32 match_count = 2; + repeated SearchMatch matches = 3; +} + +// Copied from: local:aiserver.v1.SearchSymbolsParams (var: H_n) +message SearchSymbolsParams { + string query = 1; +} + +// Copied from: local:aiserver.v1.SearchSymbolsResult (var: H0i) +message SearchSymbolsResult { + // Copied from: local:aiserver.v1.SearchSymbolsResult.SymbolMatch (var: Xbs) + message SymbolMatch { + string name = 1; + string uri = 2; + Range range = 3; + string secondary_text = 4; + repeated MatchRange label_matches = 5; + repeated MatchRange description_matches = 6; + double score = 7; + } + + repeated SymbolMatch matches = 1; + optional bool rejected = 2; +} + +// Copied from: local:aiserver.v1.SearchSymbolsStream (var: Jbs) +message SearchSymbolsStream { + string query = 1; +} + +// Copied from: local:aiserver.v1.SearchToolFileSearchResult (var: obs) +message SearchToolFileSearchResult { + // Copied from: local:aiserver.v1.SearchToolFileSearchResult.Line (var: abs) + message Line { + int32 line_number = 1; + string text = 2; + } + + string relative_workspace_path = 1; + int32 num_matches = 2; + repeated Line potentially_relevant_lines = 3; + bool cropped = 4; +} + +// Copied from: local:aiserver.v1.SeatUpgradePoolDriver (var: Tcu) +enum SeatUpgradePoolDriver { + SEAT_UPGRADE_POOL_DRIVER_UNSPECIFIED = 0; + SEAT_UPGRADE_POOL_DRIVER_FIRST_PARTY = 1; + SEAT_UPGRADE_POOL_DRIVER_THIRD_PARTY = 2; + SEAT_UPGRADE_POOL_DRIVER_BOTH = 3; +} + +// Copied from: local:aiserver.v1.SeatUpgradeRecommendation (var: uyu) +message SeatUpgradeRecommendation { + int32 user_id = 1; + string name = 2; + string email = 3; + optional string profile_picture_url = 4; + TeamRole role = 5; + TeamMemberBillingTier billing_tier = 6; + bool previous_cycle_savings = 7; + bool current_cycle_pacing = 8; + SeatUpgradePoolDriver pool_driver = 9; + optional int32 previous_cycle_savings_cents = 10; + optional int32 projected_current_cycle_savings_cents = 11; +} + +// Copied from: agent.v1.SelectedAgenticGitAction (var: kBt) +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: agent.v1.SelectedAgenticGitActionBabysitPrInCloudParams (var: A4l) +message SelectedAgenticGitActionBabysitPrInCloudParams { + optional string base_branch = 1; +} + +// Copied from: agent.v1.SelectedAgenticGitActionCommitParams (var: wBt) +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: agent.v1.SelectedAgenticGitActionCreateBranchParams (var: x4l) +message SelectedAgenticGitActionCreateBranchParams { +} + +// Copied from: agent.v1.SelectedAgenticGitActionFixMergeConflictsParams (var: T4l) +message SelectedAgenticGitActionFixMergeConflictsParams { + optional string base_branch = 1; + optional string pr_url = 2; +} + +// Copied from: agent.v1.SelectedAgenticGitActionPullLocallyParams (var: gTi) +message SelectedAgenticGitActionPullLocallyParams { + string remote_branch = 1; +} + +// Copied from: agent.v1.SelectedAgenticGitActionPushParams (var: J1s) +message SelectedAgenticGitActionPushParams { + repeated string files_to_push = 1; + optional bool create_pr_draft = 2; +} + +// Copied from: agent.v1.SelectedAgenticGitActionUpdateBranchParams (var: I4l) +message SelectedAgenticGitActionUpdateBranchParams { + optional string base_branch = 1; +} + +// Copied from: agent.v1.SelectedAgenticGitFileWithStatus (var: X1s) +message SelectedAgenticGitFileWithStatus { + string path = 1; + optional string status = 2; +} + +// Copied from: agent.v1.SelectedBrowser (var: Z1s) +message SelectedBrowser { + string browser_id = 1; + string url = 2; + optional string page_title = 3; +} + +// Copied from: agent.v1.SelectedCodeSelection (var: tpt) +message SelectedCodeSelection { + string content = 1; + string path = 2; + optional string relative_path = 3; + Range range = 4; +} + +// Copied from: agent.v1.SelectedConsoleLog (var: C4l) +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: agent.v1.SelectedContext (var: Kte) +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: agent.v1.SelectedCursorCommand (var: tAe) +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: agent.v1.SelectedCursorRule (var: W1s) +message SelectedCursorRule { + CursorRule rule = 1; +} + +// Copied from: agent.v1.SelectedDocument (var: SBt) +message SelectedDocument { + // Copied from: agent.v1.SelectedDocument.BlobIdWithData (var: g4l) + 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: agent.v1.SelectedDocumentation (var: q1s) +message SelectedDocumentation { + string doc_id = 1; + string name = 2; +} + +// Copied from: agent.v1.SelectedExternalLink (var: j1s) +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: agent.v1.SelectedFile (var: b4l) +message SelectedFile { + string content = 1; + string path = 2; + optional string relative_path = 3; +} + +// Copied from: agent.v1.SelectedFolder (var: y4l) +message SelectedFolder { + string path = 1; + optional string relative_path = 2; + LsDirectoryTreeNode directory_tree = 3; +} + +// Copied from: agent.v1.SelectedGitBranchContext (var: R4l) +message SelectedGitBranchContext { + optional string current_branch = 1; + optional string base_branch = 2; + optional string agent_branch_prefix = 3; +} + +// Copied from: agent.v1.SelectedGitCommit (var: z1s) +message SelectedGitCommit { + string sha = 1; + string message = 2; + optional string description = 3; + string diff = 4; +} + +// Copied from: agent.v1.SelectedGitDiff (var: H1s) +message SelectedGitDiff { + string content = 1; + int32 full_content_length_char_count = 2; +} + +// Copied from: agent.v1.SelectedGitDiffFromBranchToMain (var: mTi) +message SelectedGitDiffFromBranchToMain { + string content = 1; + int32 full_content_length_char_count = 2; +} + +// Copied from: agent.v1.SelectedGitPRDiffSelection (var: G1s) +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: agent.v1.SelectedImage (var: yBt) +message SelectedImage { + // Copied from: agent.v1.SelectedImage.BlobIdWithData (var: F1s) + message BlobIdWithData { + bytes blob_id = 1; + bytes data = 2; + } + + // Copied from: agent.v1.SelectedImage.Dimension (var: B1s) + 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; + PromptUploadRef prompt_upload_ref = 10; + } +} + +// Copied from: agent.v1.SelectedPastChat (var: ASn) +message SelectedPastChat { + string agent_id = 1; + string name = 2; +} + +// Copied from: agent.v1.SelectedPluginCapabilityRef (var: S4l) +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: agent.v1.SelectedPluginCapabilityType (var: O1s) +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: agent.v1.SelectedPullRequest (var: V1s) +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: agent.v1.SelectedSubagent (var: Y1s) +message SelectedSubagent { + string name = 1; +} + +// Copied from: agent.v1.SelectedTerminal (var: _4l) +message SelectedTerminal { + string content = 1; + optional string title = 2; + optional string path = 3; +} + +// Copied from: agent.v1.SelectedTerminalSelection (var: $1s) +message SelectedTerminalSelection { + string content = 1; + optional string title = 2; + optional string path = 3; + Range range = 4; +} + +// Copied from: agent.v1.SelectedUIElement (var: E4l) +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: agent.v1.SelectedVideo (var: TSn) +message SelectedVideo { + // Copied from: agent.v1.SelectedVideo.BlobIdWithData (var: f4l) + message BlobIdWithData { + bytes blob_id = 1; + bytes data = 2; + } + + // Copied from: agent.v1.SelectedVideo.SignedUrl (var: U1s) + 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:aiserver.v1.SelectionWithOrientation (var: Fbc) +message SelectionWithOrientation { + int32 selection_start_line_number = 1; + int32 selection_start_column = 2; + int32 position_line_number = 3; + int32 position_column = 4; +} + +// Copied from: agent.v1.SelfHostedPoolTarget (var: B4l) +message SelfHostedPoolTarget { + optional string pool = 1; + repeated SelfHostedWorkerLabel labels = 2; +} + +// Copied from: agent.v1.SelfHostedWorkerLabel (var: U4l) +message SelfHostedWorkerLabel { + string key = 1; + string value = 2; +} + +// Copied from: agent.v1.SelfHostedWorkerTarget (var: F4l) +message SelfHostedWorkerTarget { + string worker_id = 1; +} + +// Copied from: local:aiserver.v1.SemSearchRequest (var: Cfs) +message SemSearchRequest { + SearchRepositoryRequest request = 1; +} + +// Copied from: local:aiserver.v1.SemSearchResponse (var: xfs) +message SemSearchResponse { + // Copied from: local:aiserver.v1.SemSearchResponse.SemSearchMetadata (var: tRl) + message SemSearchMetadata { + optional string query_embedding_model = 1; + optional int32 server_side_latency_ms = 2; + optional int32 embed_latency_ms = 3; + optional int32 knn_latency_ms = 4; + } + + SearchRepositoryResponse response = 1; + optional SemSearchMetadata metadata = 2; + repeated CodeResultWithClassificationInfo code_results = 3; +} + +// Copied from: local:aiserver.v1.SemanticDiffGroup (var: zQl) +message SemanticDiffGroup { + string description = 1; + repeated SemanticDiffReference diffs = 2; + string title = 3; +} + +// Copied from: local:aiserver.v1.SemanticDiffGroups (var: HQl) +message SemanticDiffGroups { + repeated SemanticDiffGroup groups = 1; + optional string summary = 2; +} + +// Copied from: local:aiserver.v1.SemanticDiffReference (var: VQl) +message SemanticDiffReference { + string relative_workspace_path = 1; + int32 chunk_index = 2; +} + +// Copied from: local:aiserver.v1.SemanticFileGroup (var: KQl) +message SemanticFileGroup { + string title = 1; + string description = 2; + repeated string files = 3; +} + +// Copied from: local:aiserver.v1.SemanticFileGroups (var: qQl) +message SemanticFileGroups { + repeated SemanticFileGroup groups = 1; + optional string summary = 2; +} + +// Copied from: local:aiserver.v1.SemanticSearchArguments (var: nDl) +message SemanticSearchArguments { + string query = 1; + repeated string target_directories = 2; + string explanation = 3; +} + +// Copied from: local:aiserver.v1.SemanticSearchFullParams (var: VOt) +message SemanticSearchFullParams { + RepositoryInfo repository_info = 1; + string query = 2; + optional string include_pattern = 3; + optional string exclude_pattern = 4; + int32 top_k = 5; + repeated PullRequestReference pr_references = 6; + optional bool pr_search_on = 7; + optional string explanation = 8; + repeated CodeResult code_results = 9; +} + +// Copied from: local:aiserver.v1.SemanticSearchFullResult (var: GOt) +message SemanticSearchFullResult { + repeated CodeResult code_results = 1; + repeated File all_files = 2; + repeated MissingFile missing_files = 3; + repeated Knowledge knowledge_results = 4; + repeated ToolPullRequestResult pr_results = 5; + optional string git_remote_url = 6; + optional bool pr_hydration_timed_out = 7; +} + +// Copied from: local:aiserver.v1.SemanticSearchFullStream (var: Fvs) +message SemanticSearchFullStream { + int32 num_files = 1; +} + +// Copied from: local:aiserver.v1.SemanticSearchParams (var: tbs) +message SemanticSearchParams { + string query = 1; + optional string include_pattern = 2; + optional string exclude_pattern = 3; + int32 top_k = 4; + optional string index_id = 5; + bool grab_whole_file = 6; +} + +// Copied from: local:aiserver.v1.SemanticSearchResult (var: ibs) +message SemanticSearchResult { + // Copied from: local:aiserver.v1.SemanticSearchResult.Item (var: rbs) + message Item { + string relative_workspace_path = 1; + float score = 2; + string content = 3; + SimpleRange range = 4; + optional string original_content = 5; + repeated DetailedLine detailed_lines = 6; + } + + repeated Item results = 1; + map files = 2; +} + +// Copied from: local:aiserver.v1.SendDownloadEmailRequest (var: vTu) +message SendDownloadEmailRequest { +} + +// Copied from: local:aiserver.v1.SendDownloadEmailResponse (var: bTu) +message SendDownloadEmailResponse { + bool success = 1; +} + +// Copied from: local:aiserver.v1.SendP2PReferralInvitesFailure (var: _vu) +message SendP2PReferralInvitesFailure { + string email = 1; + string reason = 2; +} + +// Copied from: local:aiserver.v1.SendP2PReferralInvitesRequest (var: I2s) +message SendP2PReferralInvitesRequest { + repeated string emails = 1; +} + +// Copied from: local:aiserver.v1.SendP2PReferralInvitesResponse (var: bvu) +message SendP2PReferralInvitesResponse { + repeated string sent_emails = 1; + repeated SendP2PReferralInvitesFailure failures = 2; + string code = 3; + string url_path = 4; +} + +// Copied from: local:aiserver.v1.SendTeamInviteRequest (var: ggu) +message SendTeamInviteRequest { + int32 team_id = 1; + string email = 2; + TeamRole role = 3; + optional string message = 4; + optional TeamMemberBillingTier billing_tier = 5; +} + +// Copied from: local:aiserver.v1.SendTeamInviteResponse (var: fgu) +message SendTeamInviteResponse { + int64 valid_until = 1; +} + +// Copied from: local:aiserver.v1.SentryIssueAnyEvent (var: AWu) +message SentryIssueAnyEvent { +} + +// Copied from: local:aiserver.v1.SentryIssueArchivedEvent (var: xWu) +message SentryIssueArchivedEvent { +} + +// Copied from: local:aiserver.v1.SentryIssueAssignedEvent (var: EWu) +message SentryIssueAssignedEvent { +} + +// Copied from: local:aiserver.v1.SentryIssueCreatedEvent (var: kWu) +message SentryIssueCreatedEvent { +} + +// Copied from: local:aiserver.v1.SentryIssueResolvedEvent (var: CWu) +message SentryIssueResolvedEvent { +} + +// Copied from: local:aiserver.v1.SentryIssueUnresolvedEvent (var: TWu) +message SentryIssueUnresolvedEvent { +} + +// Copied from: local:aiserver.v1.SentryProject (var: pzu) +message SentryProject { + string id = 1; + string slug = 2; + string name = 3; +} + +// Copied from: local:aiserver.v1.SentrySamplePayload (var: T9s) +message SentrySamplePayload { + string issue_id = 1; + string action = 2; + string project_id = 3; +} + +// Copied from: local:aiserver.v1.SentryTrigger (var: wWu) +message SentryTrigger { + repeated string project_ids = 7; + oneof event { + SentryIssueCreatedEvent issue_created = 1; + SentryIssueResolvedEvent issue_resolved = 2; + SentryIssueAssignedEvent issue_assigned = 3; + SentryIssueArchivedEvent issue_archived = 4; + SentryIssueUnresolvedEvent issue_unresolved = 5; + SentryIssueAnyEvent issue_any = 6; + } +} + +// Copied from: local:aiserver.v1.SerializablePrivacyMode (var: g_) +message SerializablePrivacyMode { + PrivacyMode privacy_mode = 1; +} + +// Copied from: local:aiserver.v1.SerializedContextNode (var: hfs) +message SerializedContextNode { + string workspace_relative_path = 1; + int32 start_line_number = 2; + int32 end_line_number = 3; + repeated SerializedContextNode children = 4; + FileCodeSnippets node_snippets = 5; +} + +// Copied from: local:aiserver.v1.ServerSideToolResult (var: iDl) +message ServerSideToolResult { +} + +// Copied from: local:aiserver.v1.ServerTimeRequest (var: TGl) +message ServerTimeRequest { +} + +// Copied from: local:aiserver.v1.ServerTimeResponse (var: AGl) +message ServerTimeResponse { + double receive_timestamp = 1; + double transmit_timestamp = 2; +} + +// Copied from: local:aiserver.v1.ServerTimingInfo (var: Yql) +message ServerTimingInfo { + double server_start_time = 1; + double server_first_token_time = 2; + double server_request_sent_time = 3; + double server_end_time = 4; +} + +// Copied from: local:aiserver.v1.ServiceAccountInfo (var: x2s) +message ServiceAccountInfo { + string id = 1; + string service_type = 2; + string name = 3; + optional string description = 4; + optional int32 created_by_user_id = 5; + optional int32 owning_team_id = 6; + optional int32 owning_user_id = 7; + optional int32 usage_limit_cents = 8; + int64 created_at = 9; + int64 updated_at = 10; + repeated string default_scopes = 11; + repeated ServiceAccountKeyInfo api_keys = 12; + optional int64 archived_at = 13; +} + +// Copied from: local:aiserver.v1.ServiceAccountKeyInfo (var: uDi) +message ServiceAccountKeyInfo { + int32 api_key_id = 1; + string masked_api_key = 2; + repeated string scopes = 3; + int64 created_at = 4; + repeated string repo_scope = 5; + bool repo_scope_enabled = 6; +} + +// Copied from: local:aiserver.v1.ServiceAccountScopeRepository (var: afu) +message ServiceAccountScopeRepository { + string owner = 1; + string name = 2; + string html_url = 3; +} + +// Copied from: local:aiserver.v1.ServiceAccountSpendInfo (var: s0u) +message ServiceAccountSpendInfo { + string service_account_id = 1; + string name = 2; + string service_type = 3; + int32 spend_cents = 4; + repeated DailySpendPoint daily_spend = 5; + optional string creator_name = 6; + optional int64 created_at = 7; +} + +// Copied from: local:aiserver.v1.ServiceStatusUpdate (var: NBt) +message ServiceStatusUpdate { + string message = 1; + string codicon = 2; + optional bool allow_command_links_potentially_unsafe_please_only_use_for_handwritten_trusted_markdown = 3; + optional string action_to_run_on_status_update = 4; +} + +// Copied from: local:aiserver.v1.Session (var: Ilv) +message Session { + // Copied from: local:aiserver.v1.Session.SessionType (var: aqd) + enum SessionType { + SESSION_TYPE_UNSPECIFIED = 0; + SESSION_TYPE_WEB = 1; + SESSION_TYPE_CLIENT = 2; + SESSION_TYPE_BUGBOT = 3; + SESSION_TYPE_BACKGROUND_AGENT = 4; + SESSION_TYPE_SUPPORT_IMPERSONATION = 5; + SESSION_TYPE_API_KEY_TOKEN = 6; + SESSION_TYPE_TRAINING = 7; + SESSION_TYPE_EXEC_DAEMON = 8; + SESSION_TYPE_GRAPHITE = 9; + SESSION_TYPE_MOBILE = 10; + } + + string session_id = 1; + SessionType type = 2; + string created_at = 3; + string expires_at = 4; +} + +// Copied from: local:aiserver.v1.SetAdminOnlyUsagePricingRequest (var: evu) +message SetAdminOnlyUsagePricingRequest { + int32 team_id = 1; + bool admin_only_usage_pricing = 2; +} + +// Copied from: local:aiserver.v1.SetAdminOnlyUsagePricingResponse (var: tvu) +message SetAdminOnlyUsagePricingResponse { +} + +// Copied from: local:aiserver.v1.SetEvalRunRlEvalJobStepRequest (var: Hpv) +message SetEvalRunRlEvalJobStepRequest { + optional string run_id = 1; + optional string rl_eval_job_step_id = 2; + optional string request_id = 3; + optional string job_id = 4; + optional int32 step = 5; +} + +// Copied from: local:aiserver.v1.SetEvalRunRlEvalJobStepResponse (var: zpv) +message SetEvalRunRlEvalJobStepResponse { + bool ok = 1; +} + +// Copied from: local:aiserver.v1.SetFullSelfDrivingConfigRequest (var: Sru) +message SetFullSelfDrivingConfigRequest { + string pr_url = 1; + bool enabled = 2; + FullSelfDrivingMode mode = 3; +} + +// Copied from: local:aiserver.v1.SetFullSelfDrivingConfigResponse (var: wru) +message SetFullSelfDrivingConfigResponse { + bool enabled = 1; + FullSelfDrivingMode mode = 2; + string spawned_bc_id = 3; + bool auto_started = 4; +} + +// Copied from: local:aiserver.v1.SetFullSelfDrivingRepoEnabledRequest (var: kSu) +message SetFullSelfDrivingRepoEnabledRequest { + ProtectedGitProvider scm_provider = 1; + optional string git_enterprise_uuid = 2; + string scm_repo_node_id = 3; + string repo_url = 4; + bool enabled = 5; +} + +// Copied from: local:aiserver.v1.SetFullSelfDrivingRepoEnabledResponse (var: CSu) +message SetFullSelfDrivingRepoEnabledResponse { + FullSelfDrivingRepoSetting repo = 1; +} + +// Copied from: local:aiserver.v1.SetFullSelfDrivingTeamRepoEnabledRequest (var: DSu) +message SetFullSelfDrivingTeamRepoEnabledRequest { + int32 team_id = 1; + ProtectedGitProvider scm_provider = 2; + optional string git_enterprise_uuid = 3; + string scm_repo_node_id = 4; + string repo_url = 5; + bool enabled = 6; +} + +// Copied from: local:aiserver.v1.SetFullSelfDrivingTeamRepoEnabledResponse (var: MSu) +message SetFullSelfDrivingTeamRepoEnabledResponse { + FullSelfDrivingTeamRepoSetting repo = 1; +} + +// Copied from: local:aiserver.v1.SetGitlabEnterpriseHostControlledServiceAccountTokenRequest (var: llu) +message SetGitlabEnterpriseHostControlledServiceAccountTokenRequest { + string git_enterprise_uuid = 1; + string access_token = 2; + bool clear_token = 3; + optional int32 team_id = 4; +} + +// Copied from: local:aiserver.v1.SetGitlabEnterpriseHostControlledServiceAccountTokenResponse (var: ulu) +message SetGitlabEnterpriseHostControlledServiceAccountTokenResponse { +} + +// Copied from: local:aiserver.v1.SetGlobalLeaderboardOptInRequest (var: uku) +message SetGlobalLeaderboardOptInRequest { + bool opted_in = 1; +} + +// Copied from: local:aiserver.v1.SetGlobalLeaderboardOptInResponse (var: dku) +message SetGlobalLeaderboardOptInResponse { +} + +// Copied from: local:aiserver.v1.SetHardLimitRequest (var: _2s) +message SetHardLimitRequest { + optional int32 team_id = 1; + int32 hard_limit = 2; + bool no_usage_based_allowed = 3; + optional int32 hard_limit_per_user = 4; + bool preserve_hard_limit_per_user = 5; + int32 per_user_monthly_limit_dollars = 6; + bool clear_per_user_monthly_limit_dollars = 7; + bool is_dynamic_team_limit = 8; + bool clear_conflicting_policy = 9; + optional bool auto_alerts_enabled = 10; +} + +// Copied from: local:aiserver.v1.SetHardLimitResponse (var: bmu) +message SetHardLimitResponse { +} + +// Copied from: local:aiserver.v1.SetJobDataRequest (var: cIu) +message SetJobDataRequest { + string job_role = 1; + optional string use_case = 2; +} + +// Copied from: local:aiserver.v1.SetJobDataResponse (var: lIu) +message SetJobDataResponse { +} + +// Copied from: local:aiserver.v1.SetMarketplaceOriginDistributionRequest (var: IOs) +message SetMarketplaceOriginDistributionRequest { + int64 marketplace_id = 1; + optional int32 team_id = 2; + bool enabled = 3; +} + +// Copied from: local:aiserver.v1.SetMarketplaceOriginDistributionResponse (var: zAu) +message SetMarketplaceOriginDistributionResponse { + bool enabled = 1; +} + +// Copied from: local:aiserver.v1.SetMcpConfigRequest (var: Zhu) +message SetMcpConfigRequest { + bool team_scope = 1; + int32 team_id = 2; + string config_json = 3; + map server_renames = 4; + map server_ids_by_name = 5; +} + +// Copied from: local:aiserver.v1.SetMcpConfigResponse (var: Xhu) +message SetMcpConfigResponse { +} + +// Copied from: local:aiserver.v1.SetMicrosoftTeamsAuthRequest (var: xku) +message SetMicrosoftTeamsAuthRequest { + string link_id = 1; +} + +// Copied from: local:aiserver.v1.SetMicrosoftTeamsAuthResponse (var: Tku) +message SetMicrosoftTeamsAuthResponse { + string success_type = 1; +} + +// Copied from: local:aiserver.v1.SetOrgTeamBudgetRequest (var: Tmu) +message SetOrgTeamBudgetRequest { + string organization_id = 1; + int32 team_id = 2; + optional int32 limit_dollars = 3; +} + +// Copied from: local:aiserver.v1.SetOrgTeamBudgetResponse (var: Amu) +message SetOrgTeamBudgetResponse { +} + +// Copied from: local:aiserver.v1.SetOrganizationIdentityProviderAllowDomainJoinRequest (var: ouu) +message SetOrganizationIdentityProviderAllowDomainJoinRequest { + string organization_id = 1; + string identity_provider_public_id = 2; + bool allow_domain_join = 3; +} + +// Copied from: local:aiserver.v1.SetOrganizationMemberRoleRequest (var: Ruu) +message SetOrganizationMemberRoleRequest { + string organization_id = 1; + int32 user_id = 2; + UserOrganizationRole role = 3; +} + +// Copied from: local:aiserver.v1.SetOrganizationMemberRoleResponse (var: Duu) +message SetOrganizationMemberRoleResponse { + bool updated = 1; + UserOrganizationRole role = 2; +} + +// Copied from: local:aiserver.v1.SetOrganizationMemberTeamsRequest (var: yuu) +message SetOrganizationMemberTeamsRequest { + string organization_id = 1; + int32 user_id = 2; + repeated int32 team_ids = 3; +} + +// Copied from: local:aiserver.v1.SetOrganizationMemberTeamsResponse (var: Suu) +message SetOrganizationMemberTeamsResponse { + bool changed = 1; + repeated int32 added_team_ids = 2; + repeated int32 removed_team_ids = 3; +} + +// Copied from: local:aiserver.v1.SetOrganizationNoZdrModelConsentRequest (var: zwu) +message SetOrganizationNoZdrModelConsentRequest { + string organization_id = 1; + string model_id = 2; + bool enabled = 3; + bool acknowledged = 4; + string consent_version = 5; +} + +// Copied from: local:aiserver.v1.SetOrganizationNoZdrModelConsentResponse (var: Vwu) +message SetOrganizationNoZdrModelConsentResponse { + bool consented = 1; +} + +// Copied from: local:aiserver.v1.SetOrganizationOnDemandSpendDisabledRequest (var: Kwu) +message SetOrganizationOnDemandSpendDisabledRequest { + string organization_id = 1; + bool disabled = 2; +} + +// Copied from: local:aiserver.v1.SetOrganizationOnDemandSpendDisabledResponse (var: Qwu) +message SetOrganizationOnDemandSpendDisabledResponse { + bool disabled = 1; +} + +// Copied from: local:aiserver.v1.SetPersonalEnvironmentJsonRequest (var: YLu) +message SetPersonalEnvironmentJsonRequest { + string environment_json = 1; + string repo_url = 2; + EnvironmentWriteSource write_source = 3; + optional string source_bc_id = 4; + optional string environment_name = 5; + optional EnvironmentRepoConfig repo_config = 6; + optional int64 environment_id = 7; + optional string environment_public_id = 8; +} + +// Copied from: local:aiserver.v1.SetPersonalEnvironmentJsonResponse (var: ZLu) +message SetPersonalEnvironmentJsonResponse { + optional LogicalEnvironment environment = 1; + optional LiveEgressReapplyResult live_egress_reapply = 2; + optional bool created = 3; +} + +// Copied from: agent.v1.SetPrStatusAction (var: oBl) +message SetPrStatusAction { + optional string pr_url = 1; + optional string branch_name = 2; + optional string repo_url = 3; + PullRequestStatus status = 4; +} + +// Copied from: local:aiserver.v1.SetPrivacyModeRequest (var: uuv) +message SetPrivacyModeRequest { + bool privacy_mode_enabled = 1; + string machine_identifier = 2; + bool new_onboarding_done = 3; + bool new_change_management_done = 4; + bool eligible_for_snippet_learning = 5; + optional int64 timestamp_of_onboarding = 6; + optional int64 timestamp_of_change_management = 7; +} + +// Copied from: local:aiserver.v1.SetPrivacyModeResponse (var: duv) +message SetPrivacyModeResponse { +} + +// Copied from: local:aiserver.v1.SetProUserTrialEndRequest (var: Kuv) +message SetProUserTrialEndRequest { + int32 user_id = 1; + optional google.protobuf.Timestamp trial_end_date = 2; +} + +// Copied from: local:aiserver.v1.SetProUserTrialEndResponse (var: Quv) +message SetProUserTrialEndResponse { + bool success = 1; +} + +// Copied from: local:aiserver.v1.SetRayJobNameRequest (var: Spv) +message SetRayJobNameRequest { + string run_id = 1; + string ray_job_name = 2; +} + +// Copied from: local:aiserver.v1.SetRayJobNameResponse (var: Cpv) +message SetRayJobNameResponse { + bool ok = 1; +} + +// Copied from: local:aiserver.v1.SetRunParamsRequest (var: spv) +message SetRunParamsRequest { + string run_id = 1; + repeated RunParamKV params = 2; + bool replace_existing = 3; +} + +// Copied from: local:aiserver.v1.SetRunParamsResponse (var: opv) +message SetRunParamsResponse { + int32 count = 1; +} + +// Copied from: local:aiserver.v1.SetRunSummaryRequest (var: tpv) +message SetRunSummaryRequest { + string run_id = 1; + google.protobuf.Struct summary = 2; + optional string artifact_uri = 3; +} + +// Copied from: local:aiserver.v1.SetRunSummaryResponse (var: npv) +message SetRunSummaryResponse { + bool ok = 1; +} + +// Copied from: local:aiserver.v1.SetRunTagsRequest (var: apv) +message SetRunTagsRequest { + string run_id = 1; + repeated RunTagKV tags = 2; + bool replace_existing = 3; +} + +// Copied from: local:aiserver.v1.SetRunTagsResponse (var: cpv) +message SetRunTagsResponse { + int32 count = 1; +} + +// Copied from: local:aiserver.v1.SetServiceAccountSpendLimitRequest (var: Owu) +message SetServiceAccountSpendLimitRequest { + optional int32 team_id = 1; + string service_type = 2; + int32 spend_limit_cents = 3; +} + +// Copied from: local:aiserver.v1.SetServiceAccountSpendLimitResponse (var: Fwu) +message SetServiceAccountSpendLimitResponse { + bool success = 1; +} + +// Copied from: local:aiserver.v1.SetSimulationRequest (var: Wbv) +message SetSimulationRequest { + int32 user_id = 1; + ScenarioConfig config = 2; +} + +// Copied from: local:aiserver.v1.SetSimulationResponse (var: Hbv) +message SetSimulationResponse { + bool success = 1; +} + +// Copied from: local:aiserver.v1.SetSlackAuthRequest (var: Qmu) +message SetSlackAuthRequest { + string slack_team_id = 1; + string slack_user_id = 2; + string nonce = 3; + optional bool setup_complete = 4; +} + +// Copied from: local:aiserver.v1.SetSlackAuthResponse (var: Ymu) +message SetSlackAuthResponse { +} + +// Copied from: local:aiserver.v1.SetSlackDefaultWorkerRuleRequest (var: FCu) +message SetSlackDefaultWorkerRuleRequest { + string repo = 1; + string worker_name = 2; +} + +// Copied from: local:aiserver.v1.SetSlackDefaultWorkerRuleResponse (var: BCu) +message SetSlackDefaultWorkerRuleResponse { + SlackDefaultWorkerRule rule = 1; +} + +// Copied from: local:aiserver.v1.SetSpendLimitPolicyRequest (var: wmu) +message SetSpendLimitPolicyRequest { + int32 team_id = 1; + SpendLimitPolicyScope scope = 2; + SpendLimitPolicyType type = 3; + optional int32 amount_dollars = 4; + optional bool is_dynamic_team_limit = 5; + optional bool alert_enabled = 6; + optional int32 alert_threshold_bps = 7; + optional string notification_mode = 8; + optional bool notify_all_admins = 9; + repeated int32 notify_admin_user_ids = 10; + optional bool notify_member = 11; + bool clear_conflicting_policy = 12; + optional bool auto_alerts_enabled = 13; +} + +// Copied from: local:aiserver.v1.SetSpendLimitPolicyResponse (var: kmu) +message SetSpendLimitPolicyResponse { + SpendLimitPolicy policy = 1; +} + +// Copied from: local:aiserver.v1.SetTeamCreditsRequest (var: gbv) +message SetTeamCreditsRequest { + int32 team_id = 1; + int32 credit_dollars = 2; +} + +// Copied from: local:aiserver.v1.SetTeamCreditsResponse (var: fbv) +message SetTeamCreditsResponse { + bool success = 1; +} + +// Copied from: local:aiserver.v1.SetTeamEnvironmentJsonRequest (var: iNu) +message SetTeamEnvironmentJsonRequest { + string environment_json = 1; + string repo_url = 2; + string scm_repo_node_id = 3; + optional string git_enterprise_uuid = 4; + bool delete_personal_environment = 5; + EnvironmentWriteSource write_source = 6; + optional string source_bc_id = 7; + optional string environment_name = 8; + optional EnvironmentRepoConfig repo_config = 9; + optional int64 environment_id = 10; + optional string environment_public_id = 11; + optional string delete_personal_environment_public_id = 12; +} + +// Copied from: local:aiserver.v1.SetTeamEnvironmentJsonResponse (var: rNu) +message SetTeamEnvironmentJsonResponse { + optional LogicalEnvironment environment = 1; + optional LiveEgressReapplyResult live_egress_reapply = 2; + optional bool created = 3; +} + +// Copied from: local:aiserver.v1.SetTeamLlmGatewayCredentialRequest (var: dbu) +message SetTeamLlmGatewayCredentialRequest { + int32 team_id = 1; + string credential = 2; +} + +// Copied from: local:aiserver.v1.SetTeamLlmGatewayCredentialResponse (var: hbu) +message SetTeamLlmGatewayCredentialResponse { + TeamLlmGatewayCredentialStatus status = 1; +} + +// Copied from: local:aiserver.v1.SetTeamMarketplacePluginPoliciesRequest (var: DOs) +message SetTeamMarketplacePluginPoliciesRequest { + // Copied from: local:aiserver.v1.SetTeamMarketplacePluginPoliciesRequest.Policy (var: fCn) + message Policy { + int64 plugin_id = 1; + TeamMarketplacePluginInstallMode install_mode = 2; + } + + int64 marketplace_id = 1; + repeated Policy policies = 2; + optional int32 team_id = 3; +} + +// Copied from: local:aiserver.v1.SetTeamMarketplacePluginPoliciesResponse (var: qAu) +message SetTeamMarketplacePluginPoliciesResponse { + repeated TeamMarketplacePluginPolicy policies = 1; +} + +// Copied from: local:aiserver.v1.SetTeamMarketplacePluginPolicyVariablesRequest (var: MOs) +message SetTeamMarketplacePluginPolicyVariablesRequest { + int64 marketplace_id = 1; + int64 plugin_id = 2; + google.protobuf.Struct variables = 3; + optional int32 team_id = 4; +} + +// Copied from: local:aiserver.v1.SetTeamMarketplacePluginPolicyVariablesResponse (var: KAu) +message SetTeamMarketplacePluginPolicyVariablesResponse { +} + +// Copied from: local:aiserver.v1.SetTeamMarketplaceRepositoryRequest (var: WAu) +message SetTeamMarketplaceRepositoryRequest { + int64 marketplace_id = 1; + string git_url = 2; + optional string git_ref = 3; +} + +// Copied from: local:aiserver.v1.SetTeamMarketplaceRepositoryResponse (var: HAu) +message SetTeamMarketplaceRepositoryResponse { + Marketplace marketplace = 1; +} + +// Copied from: local:aiserver.v1.SetTeamMemberNoZdrModelConsentRequest (var: Xwu) +message SetTeamMemberNoZdrModelConsentRequest { + int32 team_id = 1; + string model_id = 2; + bool enabled = 3; + bool acknowledged = 4; + string consent_version = 5; +} + +// Copied from: local:aiserver.v1.SetTeamMemberNoZdrModelConsentResponse (var: Jwu) +message SetTeamMemberNoZdrModelConsentResponse { + bool consented = 1; +} + +// Copied from: local:aiserver.v1.SetTeamNoZdrModelConsentRequest (var: Wwu) +message SetTeamNoZdrModelConsentRequest { + int32 team_id = 1; + string model_id = 2; + bool enabled = 3; + bool acknowledged = 4; + string consent_version = 5; +} + +// Copied from: local:aiserver.v1.SetTeamNoZdrModelConsentResponse (var: Hwu) +message SetTeamNoZdrModelConsentResponse { + bool consented = 1; +} + +// Copied from: local:aiserver.v1.SetTeamRepoTypeRequest (var: Gbu) +message SetTeamRepoTypeRequest { + int32 team_id = 1; + string team_repo_type = 2; + int32 repo_id = 3; +} + +// Copied from: local:aiserver.v1.SetTeamRepoTypeResponse (var: qbu) +message SetTeamRepoTypeResponse { +} + +// Copied from: local:aiserver.v1.SetTeamTrialEndRequest (var: zuv) +message SetTeamTrialEndRequest { + int32 team_id = 1; + optional google.protobuf.Timestamp trial_end_date = 2; +} + +// Copied from: local:aiserver.v1.SetTeamTrialEndResponse (var: Vuv) +message SetTeamTrialEndResponse { + bool success = 1; +} + +// Copied from: local:aiserver.v1.SetTrialSpendLimitOverrideInternalRequest (var: Mbu) +message SetTrialSpendLimitOverrideInternalRequest { + int32 team_id = 1; + optional int32 override_dollars = 2; + optional bool clear = 3; + optional string changed_by = 4; +} + +// Copied from: local:aiserver.v1.SetTrialSpendLimitOverrideInternalResponse (var: Pbu) +message SetTrialSpendLimitOverrideInternalResponse { + int32 team_id = 1; + optional int32 override_dollars = 2; + int32 effective_limit_dollars = 3; +} + +// Copied from: local:aiserver.v1.SetUsageBasedPremiumRequestsRequest (var: uvu) +message SetUsageBasedPremiumRequestsRequest { + int32 team_id = 1; + bool usage_based_premium_requests = 2; +} + +// Copied from: local:aiserver.v1.SetUsageBasedPremiumRequestsResponse (var: dvu) +message SetUsageBasedPremiumRequestsResponse { +} + +// Copied from: local:aiserver.v1.SetUserDefaultTeamRequest (var: jlu) +message SetUserDefaultTeamRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.SetUserDefaultTeamResponse (var: Wlu) +message SetUserDefaultTeamResponse { +} + +// Copied from: local:aiserver.v1.SetUserHardLimitRequest (var: Bwu) +message SetUserHardLimitRequest { + int32 team_id = 1; + int32 user_id = 2; + int32 hard_limit_dollars = 3; +} + +// Copied from: local:aiserver.v1.SetUserHardLimitResponse (var: Uwu) +message SetUserHardLimitResponse { +} + +// Copied from: local:aiserver.v1.SetUserMonthlyLimitRequest (var: $wu) +message SetUserMonthlyLimitRequest { + int32 team_id = 1; + int32 user_id = 2; + int32 monthly_limit_dollars = 3; +} + +// Copied from: local:aiserver.v1.SetUserMonthlyLimitResponse (var: jwu) +message SetUserMonthlyLimitResponse { +} + +// Copied from: local:aiserver.v1.SetUserNoZdrModelConsentRequest (var: Ywu) +message SetUserNoZdrModelConsentRequest { + string model_id = 1; + bool enabled = 2; + bool acknowledged = 3; + string consent_version = 4; +} + +// Copied from: local:aiserver.v1.SetUserNoZdrModelConsentResponse (var: Zwu) +message SetUserNoZdrModelConsentResponse { + bool consented = 1; +} + +// Copied from: local:aiserver.v1.SetUserPrivacyModeRequest (var: RNs) +message SetUserPrivacyModeRequest { + PrivacyMode privacy_mode = 1; +} + +// Copied from: local:aiserver.v1.SetUserPrivacyModeResponse (var: Ewu) +message SetUserPrivacyModeResponse { +} + +// Copied from: local:aiserver.v1.SetWorkerManagerRequest (var: ODu) +message SetWorkerManagerRequest { + string worker_bc_id = 1; + string manager_bc_id = 2; + ManagerSpawnKind spawn_kind = 3; + optional string tool_call_id = 4; +} + +// Copied from: local:aiserver.v1.SetWorkerManagerResponse (var: FDu) +message SetWorkerManagerResponse { +} + +// Copied from: local:aiserver.v1.SetupBitbucketServerInstanceRequest (var: glu) +message SetupBitbucketServerInstanceRequest { + string hostname = 1; + optional string external_host = 2; + string access_token = 3; +} + +// Copied from: local:aiserver.v1.SetupBitbucketServerInstanceResponse (var: flu) +message SetupBitbucketServerInstanceResponse { + string uuid = 1; +} + +// Copied from: local:aiserver.v1.SetupGitlabEnterpriseInstanceRequest (var: slu) +message SetupGitlabEnterpriseInstanceRequest { + string hostname = 1; + string access_token = 2; + optional string group_path = 3; + optional string slug = 4; + optional string client_id = 5; + optional string client_secret = 6; + optional string external_host = 7; + optional int32 team_id = 8; +} + +// Copied from: local:aiserver.v1.SetupGitlabEnterpriseInstanceResponse (var: olu) +message SetupGitlabEnterpriseInstanceResponse { + string uuid = 1; +} + +// Copied from: local:aiserver.v1.SetupIndexDependenciesRequest (var: FAl) +message SetupIndexDependenciesRequest { + string index_id = 1; + string file_id = 3; + repeated URIResolutionResult dependency_resolution_results = 2; +} + +// Copied from: local:aiserver.v1.SetupIndexDependenciesResponse (var: BAl) +message SetupIndexDependenciesResponse { +} + +// Copied from: agent.v1.SetupVmEnvironmentArgs (var: i1s) +message SetupVmEnvironmentArgs { + string install_command = 2; + string start_command = 3; + string dockerfile_contents = 4; +} + +// Copied from: agent.v1.SetupVmEnvironmentResult (var: _Sn) +message SetupVmEnvironmentResult { + oneof result { + SetupVmEnvironmentSuccess success = 1; + } +} + +// Copied from: agent.v1.SetupVmEnvironmentSuccess (var: qxi) +message SetupVmEnvironmentSuccess { +} + +// Copied from: local:aiserver.v1.SetupWaterfallSentinel (var: Xau) +message SetupWaterfallSentinel { +} + +// Copied from: local:aiserver.v1.ShadowHealthCheckRequest (var: QEs) +message ShadowHealthCheckRequest { +} + +// Copied from: local:aiserver.v1.ShadowHealthCheckResponse (var: YEs) +message ShadowHealthCheckResponse { +} + +// Copied from: local:aiserver.v1.ShareAgentStoreRequest (var: XBu) +message ShareAgentStoreRequest { + string agent_id = 1; + string path_prefix = 2; + optional string store_id = 4; + AgentStoreSourceRef source = 5; +} + +// Copied from: local:aiserver.v1.ShareAgentStoreResponse (var: JBu) +message ShareAgentStoreResponse { + string share_id = 1; + string share_url = 2; +} + +// Copied from: local:aiserver.v1.ShareBackgroundComposerArtifactRequest (var: ONu) +message ShareBackgroundComposerArtifactRequest { + string bc_id = 1; + string absolute_path = 2; + optional string title = 3; +} + +// Copied from: local:aiserver.v1.ShareBackgroundComposerArtifactResponse (var: FNu) +message ShareBackgroundComposerArtifactResponse { + BackgroundComposerSharedArtifact artifact = 1; +} + +// Copied from: local:aiserver.v1.ShareCanvasRequest (var: YNs) +message ShareCanvasRequest { + string title = 1; + SharedCanvasVisibility visibility = 2; + bytes app_js = 3; + bytes data_json = 4; + optional string canvas_key = 6; +} + +// Copied from: local:aiserver.v1.ShareCanvasResponse (var: oxu) +message ShareCanvasResponse { + string share_id = 1; + string share_url = 2; +} + +// Copied from: local:aiserver.v1.ShareConversationRequest (var: JNs) +message ShareConversationRequest { + string conversation_id = 1; + string title = 2; + SharedConversationVisibility visibility = 3; + repeated ConversationMessage messages = 4; + optional SharedConversationLatestPlan latest_plan = 5; +} + +// Copied from: local:aiserver.v1.ShareConversationResponse (var: fxu) +message ShareConversationResponse { + string share_id = 1; + string share_url = 2; + optional int32 redactions = 3; +} + +// Copied from: local:aiserver.v1.SharedAgentStoreInfo (var: ZBu) +message SharedAgentStoreInfo { + string share_id = 1; + string path_prefix = 2; + AgentStoreShareVisibility visibility = 3; + double created_at_ms = 4; + optional double revoked_at_ms = 5; +} + +// Copied from: local:aiserver.v1.SharedAgentStoreListing (var: i3u) +message SharedAgentStoreListing { + string share_id = 1; + string agent_id = 2; + string store_id = 3; + string path_prefix = 4; + AgentStoreShareVisibility visibility = 5; + double created_at_ms = 6; + optional double revoked_at_ms = 7; + optional int32 owning_user_id = 8; + optional int32 owning_team_id = 9; + string owner_display_name = 10; + string store_kind = 11; + AgentStoreKind kind = 12; + AgentStoreSourceRef source = 13; +} + +// Copied from: local:aiserver.v1.SharedCanvasCreator (var: sxu) +message SharedCanvasCreator { + string user_id = 1; + optional string first_name = 2; +} + +// Copied from: local:aiserver.v1.SharedCanvasMetadata (var: QNs) +message SharedCanvasMetadata { + string id = 1; + string title = 2; + SharedCanvasVisibility visibility = 3; + string created_at = 4; + SharedCanvasCreator creator = 5; + string updated_at = 7; +} + +// Copied from: local:aiserver.v1.SharedCanvasSettings (var: Xkn) +message SharedCanvasSettings { + bool enabled = 1; +} + +// Copied from: local:aiserver.v1.SharedCanvasSnapshot (var: vS) +message SharedCanvasSnapshot { + bytes app_js = 1; + bytes data_json = 2; +} + +// Copied from: local:aiserver.v1.SharedCanvasVisibility (var: j3t) +enum SharedCanvasVisibility { + SHARED_CANVAS_VISIBILITY_UNSPECIFIED = 0; + SHARED_CANVAS_VISIBILITY_PRIVATE = 1; + SHARED_CANVAS_VISIBILITY_TEAM = 2; + SHARED_CANVAS_VISIBILITY_PUBLIC = 3; +} + +// Copied from: local:aiserver.v1.SharedConversationCreator (var: rxu) +message SharedConversationCreator { + optional int32 user_id = 1; + optional string first_name = 2; +} + +// Copied from: local:aiserver.v1.SharedConversationLatestPlan (var: PDi) +message SharedConversationLatestPlan { + string plan_id = 1; + string title = 2; + string content = 3; +} + +// Copied from: local:aiserver.v1.SharedConversationMetadata (var: MDi) +message SharedConversationMetadata { + string id = 1; + string title = 2; + SharedConversationVisibility visibility = 3; + string created_at = 4; + SharedConversationCreator creator = 5; + optional string conversation_id = 6; +} + +// Copied from: local:aiserver.v1.SharedConversationSettings (var: Zkn) +message SharedConversationSettings { + bool enabled = 1; + repeated SharedConversationVisibility allowed_visibilities = 2; + optional bool allow_public_indexing = 3; +} + +// Copied from: local:aiserver.v1.SharedConversationSnapshot (var: IS) +message SharedConversationSnapshot { + repeated ConversationMessage messages = 1; + optional SharedConversationLatestPlan latest_plan = 2; +} + +// Copied from: local:aiserver.v1.SharedConversationVisibility (var: BL) +enum SharedConversationVisibility { + SHARED_CONVERSATION_VISIBILITY_UNSPECIFIED = 0; + SHARED_CONVERSATION_VISIBILITY_PRIVATE = 1; + SHARED_CONVERSATION_VISIBILITY_TEAM = 2; + SHARED_CONVERSATION_VISIBILITY_PUBLIC = 3; +} + +// Copied from: agent.v1.ShellAbortReason (var: Hgs) +enum ShellAbortReason { + SHELL_ABORT_REASON_UNSPECIFIED = 0; + SHELL_ABORT_REASON_USER_ABORT = 1; + SHELL_ABORT_REASON_TIMEOUT = 2; +} + +// Copied from: agent.v1.ShellAllowlistPrecheckArgs (var: lUl) +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: agent.v1.ShellAllowlistPrecheckResult (var: uUl) +message ShellAllowlistPrecheckResult { + bool allowlisted = 1; +} + +// Copied from: agent.v1.ShellArgs (var: ZVe) +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: agent.v1.ShellBackgroundReason (var: h_n) +enum ShellBackgroundReason { + SHELL_BACKGROUND_REASON_UNSPECIFIED = 0; + SHELL_BACKGROUND_REASON_TIMEOUT = 1; + SHELL_BACKGROUND_REASON_USER_REQUEST = 2; +} + +// Copied from: agent.v1.ShellCommand (var: _Es) +message ShellCommand { + string command = 1; +} + +// Copied from: agent.v1.ShellCommandAction (var: f9l) +message ShellCommandAction { + ShellCommand shell_command = 1; + string exec_id = 2; +} + +// Copied from: local:aiserver.v1.ShellCommandParsingResult (var: U0i) +message ShellCommandParsingResult { + // Copied from: local:aiserver.v1.ShellCommandParsingResult.ExecutableCommand (var: zbs) + message ExecutableCommand { + string name = 1; + repeated ShellCommandParsingResult.ExecutableCommandArg args = 2; + string full_text = 3; + } + + // Copied from: local:aiserver.v1.ShellCommandParsingResult.ExecutableCommandArg (var: Hbs) + message ExecutableCommandArg { + string type = 1; + string value = 2; + } + + // Copied from: local:aiserver.v1.ShellCommandParsingResult.Redirect (var: Vbs) + 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: agent.v1.ShellFailure (var: l0i) +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: agent.v1.ShellHookApprovalRequirement (var: Kgs) +message ShellHookApprovalRequirement { + // Copied from: agent.v1.ShellHookApprovalRequirement.Kind (var: rAl) + enum Kind { + KIND_UNSPECIFIED = 0; + KIND_FORCE_PROMPT = 1; + } + + Kind kind = 1; + optional string reason = 2; +} + +// Copied from: agent.v1.ShellOutputDeltaUpdate (var: PEs) +message ShellOutputDeltaUpdate { + oneof event { + ShellStreamStdout stdout = 1; + ShellStreamStderr stderr = 2; + ShellStreamExit exit = 3; + ShellStreamStart start = 4; + } +} + +// Copied from: agent.v1.ShellOutputNotificationConfig (var: Ggs) +message ShellOutputNotificationConfig { + string pattern = 1; + string reason = 2; + optional double debounce = 3; + optional int32 notification_limit = 4; +} + +// Copied from: agent.v1.ShellPermissionDenied (var: u0i) +message ShellPermissionDenied { + string command = 1; + string working_directory = 2; + string error = 3; + bool is_readonly = 4; +} + +// Copied from: agent.v1.ShellRejected (var: rht) +message ShellRejected { + string command = 1; + string working_directory = 2; + string reason = 3; + bool is_readonly = 4; +} + +// Copied from: agent.v1.ShellResult (var: vH) +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: agent.v1.ShellSandboxUnsupported (var: Ygs) +message ShellSandboxUnsupported { + string command = 1; + string working_directory = 2; + string sandbox_policy_type = 3; + string reason = 4; + bool is_readonly = 5; +} + +// Copied from: agent.v1.ShellSpawnError (var: m_n) +message ShellSpawnError { + string command = 1; + string working_directory = 2; + string error = 3; +} + +// Copied from: agent.v1.ShellStream (var: Zgs) +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: agent.v1.ShellStreamBackgrounded (var: sAl) +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: agent.v1.ShellStreamExit (var: c0i) +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: agent.v1.ShellStreamHookContext (var: oAl) +message ShellStreamHookContext { + repeated HookAdditionalContext hook_additional_contexts = 1; +} + +// Copied from: agent.v1.ShellStreamStart (var: Qgs) +message ShellStreamStart { + optional SandboxPolicy sandbox_policy = 1; +} + +// Copied from: agent.v1.ShellStreamStderr (var: a0i) +message ShellStreamStderr { + string data = 1; +} + +// Copied from: agent.v1.ShellStreamStdout (var: o0i) +message ShellStreamStdout { + string data = 1; +} + +// Copied from: agent.v1.ShellSuccess (var: MOt) +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: agent.v1.ShellTimeout (var: aAl) +message ShellTimeout { + string command = 1; + string working_directory = 2; + int32 timeout_ms = 3; +} + +// Copied from: agent.v1.ShellToolCallDelta (var: mOl) +message ShellToolCallDelta { + oneof delta { + ShellToolCallStdoutDelta stdout = 1; + ShellToolCallStderrDelta stderr = 2; + } +} + +// Copied from: agent.v1.ShellToolCallStderrDelta (var: pOl) +message ShellToolCallStderrDelta { + string content = 1; +} + +// Copied from: agent.v1.ShellToolCallStdoutDelta (var: hOl) +message ShellToolCallStdoutDelta { + string content = 1; +} + +// Copied from: local:aiserver.v1.ShellType (var: E0i) +enum ShellType { + SHELL_TYPE_UNSPECIFIED = 0; + SHELL_TYPE_BASH = 1; + SHELL_TYPE_POWERSHELL = 2; +} + +// Copied from: local:aiserver.v1.ShouldTurnOnCppOnboardingRequest (var: V8l) +message ShouldTurnOnCppOnboardingRequest { +} + +// Copied from: local:aiserver.v1.ShouldTurnOnCppOnboardingResponse (var: G8l) +message ShouldTurnOnCppOnboardingResponse { + bool should_turn_on_cpp_onboarding = 1; +} + +// Copied from: local:aiserver.v1.ShowWelcomeScreenRequest (var: Wzl) +message ShowWelcomeScreenRequest { +} + +// Copied from: local:aiserver.v1.ShowWelcomeScreenResponse (var: Hzl) +message ShowWelcomeScreenResponse { + repeated string enable_cards = 1; +} + +// Copied from: local:aiserver.v1.SideChatInfo (var: EMu) +message SideChatInfo { + string parent_bc_id = 1; + int32 seed_turn_count = 2; +} + +// Copied from: local:aiserver.v1.SimilarityMetricType (var: mfs) +enum SimilarityMetricType { + SIMILARITY_METRIC_TYPE_UNSPECIFIED = 0; + SIMILARITY_METRIC_TYPE_SIMHASH = 1; +} + +// Copied from: local:aiserver.v1.SimpleCommitWithDiff (var: hn) +message SimpleCommitWithDiff { + string commit_hash = 1; + string diff = 2; +} + +// Copied from: local:aiserver.v1.SimpleFileChunk (var: N) +message SimpleFileChunk { + string relative_workspace_path = 1; + SimplestRange range = 2; + string chunk_hash = 3; +} + +// Copied from: local:aiserver.v1.SimpleFileDiff (var: oTs) +message SimpleFileDiff { + // Copied from: local:aiserver.v1.SimpleFileDiff.Chunk (var: aTs) + message Chunk { + repeated string old_lines = 1; + repeated string new_lines = 2; + LineRange old_range = 3; + LineRange new_range = 4; + } + + string relative_workspace_path = 1; + repeated Chunk chunks = 3; +} + +// Copied from: local:aiserver.v1.SimpleRange (var: LO) +message SimpleRange { + int32 start_line_number = 1; + int32 start_column = 2; + int32 end_line_number_inclusive = 3; + int32 end_column = 4; +} + +// Copied from: local:aiserver.v1.SimpleUnaryCrossExtensionHostMessage (var: gct) +message SimpleUnaryCrossExtensionHostMessage { + bytes message = 1; + CrossExtHostHeaders header = 2; + CrossExtHostHeaders trailer = 3; + bool is_error = 4; + string connect_error = 5; +} + +// Copied from: local:aiserver.v1.SimplestRange (var: soe) +message SimplestRange { + int32 start_line = 1; + int32 end_line_inclusive = 2; +} + +// Copied from: agent.v1.SimulatedMsgReason (var: cd) +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; + SIMULATED_MSG_REASON_MARKDOWN_PROMPT_BUTTON = 33; + SIMULATED_MSG_REASON_USER_QUICK_ACTION = 34; +} + +// Copied from: local:aiserver.v1.SimulationData (var: mQd) +message SimulationData { + PlanType plan = 1; + ScenarioType scenario = 2; + optional bool can_edit_limit = 3; + bool is_from_anybot = 4; +} + +// Copied from: local:aiserver.v1.SimulationWithUser (var: qbv) +message SimulationWithUser { + int32 user_id = 1; + optional string auth_id = 2; + optional string first_name = 3; + optional string last_name = 4; + optional string email = 5; + SimulationData simulation = 6; +} + +// Copied from: local:aiserver.v1.SingleUpdateRequest (var: R8l) +message SingleUpdateRequest { + int32 start_position = 1; + int32 end_position = 2; + int32 change_length = 3; + string replaced_string = 4; + SimpleRange range = 5; +} + +// Copied from: local:aiserver.v1.SkillDescriptor (var: hCn) +message SkillDescriptor { + string name = 1; + optional string description = 2; + optional string source_path = 3; + optional string source_url = 4; + repeated string environments = 5; + repeated string disabled_environments = 6; + optional CustomModeDescriptor custom_mode = 7; + optional string display_name = 8; + optional string icon = 9; + optional string color = 10; +} + +// Copied from: agent.v1.SkillOptions (var: pTi) +message SkillOptions { + repeated SkillDescriptor skill_descriptors = 1; +} + +// Copied from: local:aiserver.v1.SkipPrivacyModeGracePeriodRequest (var: Awu) +message SkipPrivacyModeGracePeriodRequest { +} + +// Copied from: local:aiserver.v1.SkipPrivacyModeGracePeriodResponse (var: Iwu) +message SkipPrivacyModeGracePeriodResponse { +} + +// Copied from: local:aiserver.v1.SlackAction (var: BWu) +message SlackAction { + string channel = 1; + bool generalized = 2; + bool respond_in_thread = 3; + bool post_as_thread = 4; + repeated string channels = 5; +} + +// Copied from: local:aiserver.v1.SlackAnyReactionAddedTrigger (var: uWu) +message SlackAnyReactionAddedTrigger { + string channel = 1; + repeated string channels = 2; + bool block_unauthenticated_slack_users = 3; + bool only_owner_reactions = 4; +} + +// Copied from: local:aiserver.v1.SlackChannelCreatedSamplePayload (var: C9s) +message SlackChannelCreatedSamplePayload { + string channel_name = 1; +} + +// Copied from: local:aiserver.v1.SlackChannelCreatedTrigger (var: aWu) +message SlackChannelCreatedTrigger { + string channel_name_contains = 1; +} + +// Copied from: local:aiserver.v1.SlackChannelRepoMapping (var: k2s) +message SlackChannelRepoMapping { + string slack_channel = 1; + string repo = 2; +} + +// Copied from: local:aiserver.v1.SlackCompletionReactionMode (var: a9s) +enum SlackCompletionReactionMode { + SLACK_COMPLETION_REACTION_MODE_UNSPECIFIED = 0; + SLACK_COMPLETION_REACTION_MODE_ON = 1; + SLACK_COMPLETION_REACTION_MODE_OFF = 2; + SLACK_COMPLETION_REACTION_MODE_CUSTOM = 3; +} + +// Copied from: local:aiserver.v1.SlackConversation (var: oOs) +message SlackConversation { + string id = 1; + string name = 2; + SlackConversationType type = 3; + bool is_private = 4; + optional bool is_bot_in_channel = 5; +} + +// Copied from: local:aiserver.v1.SlackConversationType (var: Ucu) +enum SlackConversationType { + SLACK_CONVERSATION_TYPE_UNSPECIFIED = 0; + SLACK_CONVERSATION_TYPE_CHANNEL = 1; + SLACK_CONVERSATION_TYPE_DM = 2; + SLACK_CONVERSATION_TYPE_GROUP_DM = 3; +} + +// Copied from: local:aiserver.v1.SlackDefaultWorkerRule (var: LNs) +message SlackDefaultWorkerRule { + int32 id = 1; + string repo = 2; + string worker_name = 3; +} + +// Copied from: local:aiserver.v1.SlackIntegrationSettings (var: Q2s) +message SlackIntegrationSettings { + bool hidden = 1; +} + +// Copied from: local:aiserver.v1.SlackMentionTrigger (var: lWu) +message SlackMentionTrigger { + string channel = 1; + repeated string channels = 2; + bool block_unauthenticated_slack_users = 3; +} + +// Copied from: local:aiserver.v1.SlackReactionAddedSamplePayload (var: E9s) +message SlackReactionAddedSamplePayload { + string emoji_name = 1; + string message = 2; +} + +// Copied from: local:aiserver.v1.SlackReactionAddedTrigger (var: cWu) +message SlackReactionAddedTrigger { + string channel = 1; + string emoji_name = 3; + repeated string channels = 5; + bool block_unauthenticated_slack_users = 6; + bool only_owner_reactions = 9; +} + +// Copied from: local:aiserver.v1.SlackRepoRoutingRule (var: xDi) +message SlackRepoRoutingRule { + int32 id = 1; + string pattern = 2; + string repo = 3; + bool is_team_rule = 4; + SlackRoutingRuleTargetType target_type = 5; + optional string environment_public_id = 6; +} + +// Copied from: local:aiserver.v1.SlackRoutingRuleTargetType (var: cDi) +enum SlackRoutingRuleTargetType { + SLACK_ROUTING_RULE_TARGET_TYPE_UNSPECIFIED = 0; + SLACK_ROUTING_RULE_TARGET_TYPE_REPOSITORY = 1; + SLACK_ROUTING_RULE_TARGET_TYPE_ENVIRONMENT = 2; +} + +// Copied from: local:aiserver.v1.SlackSamplePayload (var: S9s) +message SlackSamplePayload { + string message = 1; + bool is_thread_reply = 2; +} + +// Copied from: local:aiserver.v1.SlackSourceMetadata (var: vPu) +message SlackSourceMetadata { + optional string channel_id = 1; + optional string channel_name = 2; + optional string team_id = 3; + optional string message_timestamp = 4; + optional string message_permalink = 5; +} + +// Copied from: local:aiserver.v1.SlackTrigger (var: oWu) +message SlackTrigger { + string channel = 1; + string message_contains = 3; + bool message_contains_is_regex = 4; + repeated string channels = 5; + bool block_unauthenticated_slack_users = 6; + optional SlackCompletionReactionMode slack_completion_reaction_mode = 7; + optional string slack_completion_reaction_custom_emoji = 8; + optional bool top_level_only = 9; +} + +// Copied from: local:aiserver.v1.SlashEditFollowUpWithPreviousEditsRequest (var: WGl) +message SlashEditFollowUpWithPreviousEditsRequest { + repeated ConversationMessage conversation = 1; + ModelDetails model_details = 2; + repeated SlashEditPreviousEdit previous_edits = 3; +} + +// Copied from: local:aiserver.v1.SlashEditPreviousEdit (var: jIs) +message SlashEditPreviousEdit { + repeated string original_lines = 1; + repeated string new_lines = 2; + string relative_workspace_path = 3; + LineRange range = 4; +} + +// Copied from: local:aiserver.v1.SlashEditRequest (var: $Gl) +message SlashEditRequest { + // Copied from: local:aiserver.v1.SlashEditRequest.FastApplyModelType (var: $Is) + enum FastApplyModelType { + FAST_APPLY_MODEL_TYPE_UNSPECIFIED = 0; + FAST_APPLY_MODEL_TYPE_DEFAULT = 1; + FAST_APPLY_MODEL_TYPE_DEEPSEEK = 2; + FAST_APPLY_MODEL_TYPE_SONNET = 3; + FAST_APPLY_MODEL_TYPE_OPUS_DIFF = 4; + FAST_APPLY_MODEL_TYPE_SMART_REWRITE = 5; + FAST_APPLY_MODEL_TYPE_GPT4 = 6; + FAST_APPLY_MODEL_TYPE_GPT4_NOSPEC = 7; + FAST_APPLY_MODEL_TYPE_SMART_REWRITE_NOSPEC = 8; + FAST_APPLY_MODEL_TYPE_OPUS = 9; + FAST_APPLY_MODEL_TYPE_HAIKU = 10; + FAST_APPLY_MODEL_TYPE_GPT4O_NOSPEC = 11; + FAST_APPLY_MODEL_TYPE_GPT4O_DIFF = 12; + FAST_APPLY_MODEL_TYPE_CODESTRAL_REWRITE = 13; + FAST_APPLY_MODEL_TYPE_DEEPSEEK_33B = 14; + FAST_APPLY_MODEL_TYPE_SONNET_35_DIFF = 15; + FAST_APPLY_MODEL_TYPE_SONNET_35_REWRITE = 16; + FAST_APPLY_MODEL_TYPE_PROMPTED_DEEPSEEK_V2 = 17; + FAST_APPLY_MODEL_TYPE_CODESTRAL_REWRITE_OLD = 18; + FAST_APPLY_MODEL_TYPE_CODESTRAL_REWRITE_FP16 = 19; + FAST_APPLY_MODEL_TYPE_DEEPSEEK_33B_V2 = 20; + FAST_APPLY_MODEL_TYPE_CODESTRAL_V4 = 21; + FAST_APPLY_MODEL_TYPE_CODESTRAL_V5 = 22; + FAST_APPLY_MODEL_TYPE_CODESTRAL_V6 = 23; + FAST_APPLY_MODEL_TYPE_CODESTRAL_V7 = 24; + } + + CurrentFileInfo current_file = 2; + repeated ConversationMessage conversation = 3; + ExplicitContext explicit_context = 4; + ModelDetails model_details = 7; + bool is_cmd_i = 8; + optional string summary = 11; + optional int32 summary_up_until_index = 12; + optional bool should_use_turbo_debug_prompt = 13; + optional LineRange edit_selection = 14; + repeated CurrentFileInfo files = 15; + optional string clicked_code_block_contents = 16; + optional bool is_an_optimistic_request_for_caching_and_linting = 17; + optional string specific_instructions = 18; + bool use_fast_apply = 19; + FastApplyModelType fast_apply_model_type = 20; + optional bool use_chunk_speculation_for_long_files = 25; + optional string parent_request_id = 26; + optional FastApplySource source = 27; + optional bool is_reapply = 28; + optional bool willing_to_pay_extra_for_speed = 29; + optional int32 attempt_number = 30; + optional bool should_throw_timeout_error = 31; +} + +// Copied from: local:aiserver.v1.SlashEditResponse (var: jGl) +message SlashEditResponse { + StreamCmdKResponse cmd_k_response = 1; +} + +// Copied from: local:aiserver.v1.SmartAutoMemberTeamConflict (var: Axu) +message SmartAutoMemberTeamConflict { + SmartAutoRequiredModel model = 1; + repeated string team_names = 2; +} + +// Copied from: local:aiserver.v1.SmartAutoModelSeverity (var: Fcu) +enum SmartAutoModelSeverity { + SMART_AUTO_MODEL_SEVERITY_UNSPECIFIED = 0; + SMART_AUTO_MODEL_SEVERITY_REQUIRED = 1; + SMART_AUTO_MODEL_SEVERITY_RECOMMENDED = 2; +} + +// Copied from: local:aiserver.v1.SmartAutoOptimizeForSettings (var: Txu) +message SmartAutoOptimizeForSettings { + repeated string allowed_values = 1; +} + +// Copied from: local:aiserver.v1.SmartAutoRequiredModel (var: rOs) +message SmartAutoRequiredModel { + string model_id = 1; + string display_name = 2; + SmartAutoModelSeverity severity = 3; + bool blocked = 4; +} + +// Copied from: local:aiserver.v1.SmartAutoSettings (var: kAe) +message SmartAutoSettings { + optional bool enabled = 1; + optional SmartAutoOptimizeForSettings optimize_for = 2; + optional bool show_routed_model = 3; +} + +// Copied from: agent.v1.SmartModeApproval (var: DOt) +message SmartModeApproval { + string request_id = 1; + string reason = 2; +} + +// Copied from: agent.v1.SmartModeClassifierArgs (var: GTs) +message SmartModeClassifierArgs { + string tool_call_id = 1; + optional string parent_conversation_id = 2; + SmartModeRiskTarget target = 3; + repeated SmartModeClassifierConversationMessage conversation_context = 4; +} + +// Copied from: agent.v1.SmartModeClassifierConversationMessage (var: tUl) +message SmartModeClassifierConversationMessage { + string role = 1; + string content = 2; +} + +// Copied from: agent.v1.SmartModeClassifierDecision (var: eUl) +enum SmartModeClassifierDecision { + SMART_MODE_CLASSIFIER_DECISION_UNSPECIFIED = 0; + SMART_MODE_CLASSIFIER_DECISION_ALLOW = 1; + SMART_MODE_CLASSIFIER_DECISION_BLOCK = 2; +} + +// Copied from: agent.v1.SmartModeClassifierError (var: rUl) +message SmartModeClassifierError { + string error = 1; +} + +// Copied from: agent.v1.SmartModeClassifierResult (var: qTs) +message SmartModeClassifierResult { + oneof result { + SmartModeClassifierSuccess success = 1; + SmartModeClassifierError error = 2; + } +} + +// Copied from: agent.v1.SmartModeClassifierSuccess (var: iUl) +message SmartModeClassifierSuccess { + SmartModeClassifierDecision decision = 1; + optional string block_reason = 2; + optional string proposed_allow_rule = 3; +} + +// Copied from: agent.v1.SmartModeRiskTarget (var: nUl) +message SmartModeRiskTarget { + string action = 1; + google.protobuf.Struct arguments = 2; +} + +// Copied from: local:aiserver.v1.SnapshotAndSaveEnvironmentRequest (var: sNu) +message SnapshotAndSaveEnvironmentRequest { + // Copied from: local:aiserver.v1.SnapshotAndSaveEnvironmentRequest.EgressConfig (var: aNu) + message EgressConfig { + CloudAgentEgressProtectionMode mode = 1; + repeated string allowlist = 2; + } + + // Copied from: local:aiserver.v1.SnapshotAndSaveEnvironmentRequest.Target (var: oNu) + enum Target { + TARGET_UNSPECIFIED = 0; + TARGET_PERSONAL = 1; + TARGET_TEAM = 2; + } + + Target target = 1; + string bc_id = 2; + string repo_url = 3; + optional string install_command = 4; + optional string existing_snapshot_id = 5; + optional string scm_repo_node_id = 6; + optional string git_enterprise_uuid = 7; + optional string environment_name = 8; + optional EnvironmentRepoConfig repo_config = 9; + optional string environment_public_id = 10; + optional EgressConfig egress_config = 11; + optional string start_command = 12; + optional string environment_build_id = 13; +} + +// Copied from: local:aiserver.v1.SnapshotAndSaveEnvironmentResponse (var: cNu) +message SnapshotAndSaveEnvironmentResponse { + string snapshot_id = 1; +} + +// Copied from: anyrun.v1.SnapshotState (var: kLs) +enum SnapshotState { + SNAPSHOT_STATE_UNSPECIFIED = 0; + SNAPSHOT_STATE_CREATING = 1; + SNAPSHOT_STATE_READY = 2; + SNAPSHOT_STATE_FAILED = 3; + SNAPSHOT_STATE_FINALIZING = 4; +} + +// Copied from: local:aiserver.v1.SortUsefulTypesNaiveRequest (var: _gv) +message SortUsefulTypesNaiveRequest { + // Copied from: local:aiserver.v1.SortUsefulTypesNaiveRequest.IRange (var: ygv) + message IRange { + int32 start_line_number = 1; + int32 start_column = 2; + int32 end_line_number = 3; + int32 end_column = 4; + } + + string relative_workspace_path = 1; + string file_contents = 2; + IRange query_range = 3; + repeated UsefulType useful_types = 4; +} + +// Copied from: local:aiserver.v1.SortUsefulTypesNaiveResponse (var: Sgv) +message SortUsefulTypesNaiveResponse { + repeated UsefulType useful_types = 1; +} + +// Copied from: local:aiserver.v1.SpanContext (var: sxs) +message SpanContext { + string trace_id = 1; + string span_id = 2; + optional uint32 trace_flags = 3; + optional string trace_state = 4; +} + +// Copied from: local:aiserver.v1.SpanEnd (var: xLs) +message SpanEnd { + string span_id = 1; + WaterfallSpanEndStatus end_status = 2; +} + +// Copied from: anyrun.v1.SpanEnded (var: Sau) +message SpanEnded { + string span_id = 1; +} + +// Copied from: local:aiserver.v1.SpanKind (var: YZu) +enum SpanKind { + SPAN_KIND_UNSPECIFIED = 0; + SPAN_KIND_INTERNAL = 1; + SPAN_KIND_SERVER = 2; + SPAN_KIND_CLIENT = 3; + SPAN_KIND_PRODUCER = 4; + SPAN_KIND_CONSUMER = 5; +} + +// Copied from: local:aiserver.v1.SpanLog (var: TLs) +message SpanLog { + string span_id = 1; + google.protobuf.Timestamp timestamp = 2; + string message = 3; + WaterfallLogLevel level = 4; +} + +// Copied from: local:aiserver.v1.SpanStart (var: ELs) +message SpanStart { + string span_id = 1; + optional string parent_span_id = 2; + WaterfallPhaseType phase_type = 5; + optional string fallback_phase_label = 6; + oneof span_details { + GitReposSetupSpanDetails git_repos_setup = 3; + GitRepoSetupSpanDetails git_repo_setup = 4; + } +} + +// Copied from: anyrun.v1.SpanStarted (var: yau) +message SpanStarted { + string span_id = 1; + string name = 2; + optional string parent_span_id = 3; + optional string href = 5; +} + +// Copied from: local:aiserver.v1.SpanState (var: w4i) +message SpanState { + oneof span_state { + GitReposSetupSpanState git_repos_setup = 1; + GitRepoSetupSpanState git_repo_setup = 2; + } +} + +// Copied from: local:aiserver.v1.SpanStatusUpdate (var: ALs) +message SpanStatusUpdate { + string span_id = 1; + google.protobuf.Timestamp timestamp = 2; + WaterfallSpanStatusType status_type = 3; + string message = 4; + optional CallToAction call_to_action = 5; +} + +// Copied from: local:aiserver.v1.SpanUpdate (var: Jau) +message SpanUpdate { + string span_id = 1; + oneof span_update { + GenericLogSpanUpdate generic_log = 2; + } +} + +// Copied from: local:aiserver.v1.SpecSubagentParams (var: RTs) +message SpecSubagentParams { + string plan = 1; +} + +// Copied from: local:aiserver.v1.SpecSubagentReturnValue (var: DTs) +message SpecSubagentReturnValue { + string summary = 1; + repeated StringReplacement string_replacements = 2; +} + +// Copied from: local:aiserver.v1.SpendGroupByCategory (var: Hkn) +enum SpendGroupByCategory { + SPEND_GROUP_BY_CATEGORY_UNSPECIFIED = 0; + SPEND_GROUP_BY_CATEGORY_MODEL = 1; + SPEND_GROUP_BY_CATEGORY_USAGE_TYPE = 2; +} + +// Copied from: local:aiserver.v1.SpendLimitPolicy (var: y2s) +message SpendLimitPolicy { + SpendLimitPolicyScope scope = 1; + SpendLimitPolicyType type = 2; + optional int32 amount_dollars = 3; + optional bool is_dynamic_team_limit = 4; + optional string resource_threshold_id = 5; + optional LinkedUsageAlertPolicy linked_alert = 6; + optional bool auto_alerts_enabled = 7; +} + +// Copied from: local:aiserver.v1.SpendLimitPolicyScope (var: oDi) +enum SpendLimitPolicyScope { + SPEND_LIMIT_POLICY_SCOPE_UNSPECIFIED = 0; + SPEND_LIMIT_POLICY_SCOPE_TEAM_TOTAL = 1; + SPEND_LIMIT_POLICY_SCOPE_TEAM_MEMBER_DEFAULT = 2; +} + +// Copied from: local:aiserver.v1.SpendLimitPolicyType (var: OLs) +enum SpendLimitPolicyType { + SPEND_LIMIT_POLICY_TYPE_UNSPECIFIED = 0; + SPEND_LIMIT_POLICY_TYPE_NONE = 1; + SPEND_LIMIT_POLICY_TYPE_HARD = 2; + SPEND_LIMIT_POLICY_TYPE_SOFT = 3; +} + +// Copied from: local:aiserver.v1.SpendType (var: U3t) +enum SpendType { + SPEND_TYPE_UNSPECIFIED = 0; + SPEND_TYPE_ON_DEMAND = 1; + SPEND_TYPE_INCLUDED = 2; + SPEND_TYPE_ALL = 3; +} + +// Copied from: local:aiserver.v1.SshConfigPromptProps (var: ja) +message SshConfigPromptProps { + string ssh_string = 1; +} + +// Copied from: agent.v1.StackTrace (var: k4l) +message StackTrace { + repeated CallFrame call_frames = 1; + optional string raw_stack_trace = 2; +} + +// Copied from: local:aiserver.v1.StarsFeedbackRequest (var: Rxs) +message StarsFeedbackRequest { + string bubble_id = 1; + string message = 2; +} + +// Copied from: local:aiserver.v1.StartBackgroundComposerFromSnapshotRequest (var: Rqe) +message StartBackgroundComposerFromSnapshotRequest { + // Copied from: local:aiserver.v1.StartBackgroundComposerFromSnapshotRequest.File (var: APu) + message File { + string relative_workspace_path = 1; + string contents = 2; + } + + // Copied from: local:aiserver.v1.StartBackgroundComposerFromSnapshotRequest.WebhookConfig (var: IPu) + message WebhookConfig { + string url = 1; + optional string secret = 2; + } + + string snapshot_name_or_id = 1; + DevcontainerStartingPoint devcontainer_starting_point = 11; + string prompt = 2; + string rich_prompt = 17; + repeated File files = 3; + ModelDetails model_details = 4; + repeated ModelDetails additional_model_details = 16; + repeated RequestedModel requested_models = 58; + HeadlessAgenticComposerRepositoryInfo repository_info = 5; + string snapshot_workspace_root_path = 6; + string start_for_auth_id_on_team = 8; + bool auto_branch = 9; + bool return_immediately = 10; + optional string force_vm_backend = 12; + optional string force_cluster = 15; + optional string force_machine_template = 29; + repeated ImageProto images = 13; + optional string repo_url = 14; + repeated ConversationMessage conversation_history = 18; + optional BackgroundComposerSource source = 23; + repeated string documentation_identifiers = 19; + optional bool use_web = 20; + repeated ComposerExternalLink external_links = 21; + string bc_id = 22; + optional string slack_channel_id = 24; + optional string slack_message_timestamp = 25; + optional string slack_team_id = 27; + optional string linear_issue_id = 28; + optional string github_issue_id = 40; + optional bool add_initial_message_to_responses = 26; + optional string linear_org_id = 30; + optional string linear_issue_identifier = 33; + optional ExternalSourceMetadata external_source_metadata = 94; + optional string base_branch = 31; + optional string custom_branch_name = 38; + optional string client_ip = 32; + optional string prompt_group_id = 34; + optional bool should_synthesize = 53; + optional string pod_id = 35; + optional bool wait_on_branch_name = 36; + optional bool auto_create_pr = 37; + optional WebhookConfig webhook_config = 39; + optional StartingMessageType starting_message_type = 41; + optional bool open_as_cursor_github_app = 42; + optional bool skip_reviewer_request = 43; + optional ConversationAction conversation_action = 44; + optional bool test_mode_enabled = 45; + optional bool skip_user_install_commands_and_cloud_testing = 60; + optional string agent_session_id = 46; + optional ConversationStateStructure conversation_state = 47; + repeated PreFetchedBlob pre_fetched_blobs = 48; + optional string kickoff_message_id = 49; + optional string name = 50; + optional bool enable_setup_vm_environment_tool = 51; + optional GrindModeConfig grind_mode_config = 52; + optional string automation_id = 73; + optional bool use_private_worker = 55; + repeated PrivateWorkerLabel labels = 59; + optional PrivateWorkerOwnerFilter private_worker_owner_filter = 97; + optional PrivateWorkspaceIdentifier private_workspace_identifier = 100; + optional AgentWorkspaceBinding workspace_binding = 110; + optional bool force_non_chargeable = 56; + optional string pr_url = 57; + optional CloudAgentEffortMode effort_mode = 75; + optional bool auto_proceed_after_planning = 76; + optional int64 time_budget_seconds = 77; + optional int64 time_budget_ms = 78; + optional bool init_empty_repo = 79; + repeated AgentSkill skills = 80; + optional string cloud_plugin_manifest_json = 81; + optional string cloud_plugin_snapshot_token = 82; + optional string mcp_config_json = 95; + repeated CustomSubagent custom_subagents = 96; + optional int32 team_id = 98; + optional CloudSubagentParentReference cloud_subagent_parent = 99; + repeated string requested_additional_store_ids = 101; + repeated AgentStoreMount store_mounts = 108; + optional bool is_slack_v2 = 104; + optional bool is_slack_v1_5 = 113; + optional string named_agent_id = 105; + optional string named_agent_session_key = 106; + optional string named_agent_session_kind = 107; + optional NamedAgentProfile named_agent_profile = 109; + map run_env_vars = 111; + optional string selected_private_worker_id = 112; + optional bool use_experimental_model_opt_out = 114; + optional string forked_from_bc_id = 115; + optional string requested_environment_build_id = 116; + map external_metadata = 117; + optional EnvironmentSetupRunStartedMetadata environment_setup_run_started_metadata = 118; + optional ProjectDetails project_details = 119; + optional bool disable_pr_management_tool = 120; + optional SystemPromptSpec system_prompt_spec = 121; + optional ProjectMetadata project_metadata = 122; + optional bool new_project_seeded_empty_root = 123; +} + +// Copied from: local:aiserver.v1.StartBackgroundComposerFromSnapshotResponse (var: RPu) +message StartBackgroundComposerFromSnapshotResponse { + BackgroundComposer composer = 1; + optional bool was_swapped_to_default = 2; + optional string initial_run_id = 3; +} + +// Copied from: local:aiserver.v1.StartBugbotBackfillLearningRequest (var: $yu) +message StartBugbotBackfillLearningRequest { + int64 installation_id = 1; + string repo_node_id = 2; + optional string ghe_application = 3; + optional bool skip_write_access_check = 4; +} + +// Copied from: local:aiserver.v1.StartBugbotBackfillLearningResponse (var: jyu) +message StartBugbotBackfillLearningResponse { +} + +// Copied from: local:aiserver.v1.StartBulkMoveOrganizationMembersRequest (var: Euu) +message StartBulkMoveOrganizationMembersRequest { + string organization_id = 1; + repeated OrganizationMemberTeamMove moves = 2; +} + +// Copied from: local:aiserver.v1.StartBulkMoveOrganizationMembersResponse (var: xuu) +message StartBulkMoveOrganizationMembersResponse { + string job_handle = 1; +} + +// Copied from: local:aiserver.v1.StartCloudAgentLoadTestRequest (var: tFu) +message StartCloudAgentLoadTestRequest { + string scenario_name = 1; + CloudAgentSyntheticsScenarioInput custom_scenario = 2; + string pool_id = 3; + uint32 count = 4; + uint32 per_identity_create_per_min = 5; + uint32 ramp_up_sec = 6; + string created_by = 7; +} + +// Copied from: local:aiserver.v1.StartCloudAgentLoadTestResponse (var: nFu) +message StartCloudAgentLoadTestResponse { + string temporal_workflow_id = 1; + string temporal_run_id = 2; + string load_test_run_id = 3; +} + +// Copied from: local:aiserver.v1.StartGithubStreamingForFollowupRequest (var: _Lu) +message StartGithubStreamingForFollowupRequest { + string bc_id = 1; +} + +// Copied from: local:aiserver.v1.StartGithubStreamingForFollowupResponse (var: yLu) +message StartGithubStreamingForFollowupResponse { +} + +// Copied from: local:aiserver.v1.StartLinearStreamingForFollowupRequest (var: SLu) +message StartLinearStreamingForFollowupRequest { + string bc_id = 1; +} + +// Copied from: local:aiserver.v1.StartLinearStreamingForFollowupResponse (var: wLu) +message StartLinearStreamingForFollowupResponse { +} + +// Copied from: agent.v1.StartPlanAction (var: v9l) +message StartPlanAction { + UserMessage user_message = 1; + RequestContext request_context = 2; + bool is_spec = 3; +} + +// Copied from: local:aiserver.v1.StartSandTrialRequest (var: f_u) +message StartSandTrialRequest { +} + +// Copied from: local:aiserver.v1.StartSandTrialResponse (var: v_u) +message StartSandTrialResponse { + // Copied from: local:aiserver.v1.StartSandTrialResponse.Activated (var: b_u) + message Activated { + int32 amount_cents = 1; + google.protobuf.Timestamp expires_at = 2; + } + + // Copied from: local:aiserver.v1.StartSandTrialResponse.CardVerificationRequired (var: __u) + message CardVerificationRequired { + string checkout_url = 1; + } + + oneof outcome { + Activated activated = 1; + CardVerificationRequired card_verification_required = 2; + } +} + +// Copied from: local:aiserver.v1.StartSideChatBackgroundComposerRequest (var: cMi) +message StartSideChatBackgroundComposerRequest { + string parent_bc_id = 1; + optional string name = 2; + BackgroundComposerSource creation_source = 3; + optional string creation_id = 4; +} + +// Copied from: local:aiserver.v1.StartSideChatBackgroundComposerResponse (var: xMu) +message StartSideChatBackgroundComposerResponse { + BackgroundComposer composer = 1; +} + +// Copied from: local:aiserver.v1.StartSlackStreamingForFollowupRequest (var: vLu) +message StartSlackStreamingForFollowupRequest { + string bc_id = 1; +} + +// Copied from: local:aiserver.v1.StartSlackStreamingForFollowupResponse (var: bLu) +message StartSlackStreamingForFollowupResponse { +} + +// Copied from: local:aiserver.v1.StartTokenBasedTrialRequest (var: Ihv) +message StartTokenBasedTrialRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.StartTokenBasedTrialResponse (var: Rhv) +message StartTokenBasedTrialResponse { + bool success = 1; +} + +// Copied from: local:aiserver.v1.StartUpdateRepoRequest (var: qe) +message StartUpdateRepoRequest { + RepositoryInfo repository = 1; +} + +// Copied from: local:aiserver.v1.StartUpdateRepoResponse (var: Fe) +message StartUpdateRepoResponse { + // Copied from: local:aiserver.v1.StartUpdateRepoResponse.Status (var: y) + enum Status { + STATUS_UNSPECIFIED = 0; + STATUS_SUCCESS = 1; + STATUS_FAILURE = 2; + STATUS_NOT_FOUND = 3; + STATUS_ALREADY_SYNCING = 4; + } + + Status status = 1; +} + +// Copied from: local:aiserver.v1.StartUploadRepoRequest (var: Ne) +message StartUploadRepoRequest { + RepositoryInfo repository = 1; +} + +// Copied from: local:aiserver.v1.StartUploadRepoResponse (var: Re) +message StartUploadRepoResponse { + // Copied from: local:aiserver.v1.StartUploadRepoResponse.Status (var: A) + enum Status { + STATUS_UNSPECIFIED = 0; + STATUS_SUCCESS = 1; + STATUS_FAILURE = 2; + STATUS_ALREADY_EXISTS = 3; + } + + Status status = 1; + repeated string seen_files = 2; +} + +// Copied from: local:aiserver.v1.StartXaiTeamLinkRequest (var: Lku) +message StartXaiTeamLinkRequest { + string organization_id = 1; +} + +// Copied from: local:aiserver.v1.StartXaiTeamLinkResponse (var: Nku) +message StartXaiTeamLinkResponse { + string connect_url = 1; +} + +// Copied from: local:aiserver.v1.StartingMessageType (var: eFs) +enum StartingMessageType { + STARTING_MESSAGE_TYPE_UNSPECIFIED = 0; + STARTING_MESSAGE_TYPE_USER_MESSAGE = 1; + STARTING_MESSAGE_TYPE_PLAN_START = 2; + STARTING_MESSAGE_TYPE_PLAN_EXECUTE = 3; +} + +// Copied from: local:aiserver.v1.StartingModel (var: xt) +message StartingModel { + string relative_path = 1; + string starting_contents = 2; + optional int32 starting_model_version = 3; + repeated ModelChange before_start_model_changes = 4; + string client_version = 5; + optional string client_commit = 6; + string model_uuid = 7; + string session_id = 8; + string uri = 9; +} + +// Copied from: local:aiserver.v1.StatSandBoxStoreObjectRequest (var: jKd) +message StatSandBoxStoreObjectRequest { + string rel_path = 1; +} + +// Copied from: local:aiserver.v1.StatSandBoxStoreObjectResponse (var: WKd) +message StatSandBoxStoreObjectResponse { + bool exists = 1; + string etag = 2; + int64 size_bytes = 3; + int64 last_modified_ms = 4; +} + +// Copied from: local:aiserver.v1.Status (var: sXu) +message Status { + // Copied from: local:aiserver.v1.Status.StatusCode (var: oXu) + enum StatusCode { + STATUS_CODE_UNSPECIFIED = 0; + STATUS_CODE_OK = 1; + STATUS_CODE_ERROR = 2; + } + + string message = 1; + StatusCode code = 2; +} + +// Copied from: local:aiserver.v1.StatusUpdate (var: dxs) +message StatusUpdate { + string message = 1; + optional string metadata = 2; +} + +// Copied from: local:aiserver.v1.StatusUpdates (var: zTi) +message StatusUpdates { + repeated StatusUpdate updates = 1; +} + +// Copied from: local:aiserver.v1.Step (var: T_s) +message Step { + string id = 1; + string title = 2; + string description = 3; + string instructions = 4; + repeated string prerequisites = 5; + string sub_composer_id = 6; +} + +// Copied from: agent.v1.StepCompletedUpdate (var: NEs) +message StepCompletedUpdate { + uint64 step_id = 1; + int64 step_duration_ms = 2; +} + +// Copied from: agent.v1.StepStartedUpdate (var: LEs) +message StepStartedUpdate { + uint64 step_id = 1; +} + +// Copied from: agent.v1.StepTiming (var: D9l) +message StepTiming { + uint64 duration_ms = 1; + uint64 timestamp_ms = 2; +} + +// Copied from: local:aiserver.v1.StopHookContinuation (var: df) +message StopHookContinuation { + string base_run_id = 1; + int32 loop_count = 2; +} + +// Copied from: agent.v1.StopRequestQuery (var: r6l) +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: agent.v1.StopRequestResponse (var: s6l) +message StopRequestResponse { + optional string followup_message = 1; +} + +// Copied from: local:aiserver.v1.StoreMcpOAuthPendingStateRequest (var: Bpu) +message StoreMcpOAuthPendingStateRequest { + string server_url = 1; + string code_verifier = 2; + optional string client_id = 3; + optional string client_secret = 4; + optional string redirect_uri = 5; + optional string service_account_id = 6; + string account_key = 7; +} + +// Copied from: local:aiserver.v1.StoreMcpOAuthPendingStateResponse (var: Upu) +message StoreMcpOAuthPendingStateResponse { + string state_id = 1; +} + +// Copied from: local:aiserver.v1.StoreMcpOAuthTokenRequest (var: apu) +message StoreMcpOAuthTokenRequest { + string server_url = 1; + optional string refresh_token = 2; + optional string client_id = 3; + optional string client_secret = 4; + optional string redirect_uri = 5; + optional string access_token = 6; + optional string service_account_id = 7; + optional int64 client_token_created_at_ms = 8; + optional string source = 9; + string account_key = 10; +} + +// Copied from: local:aiserver.v1.StoreMcpOAuthTokenResponse (var: cpu) +message StoreMcpOAuthTokenResponse { + optional int64 updated_at_ms = 1; + bool applied = 2; + bool skipped_because_backend_newer = 3; +} + +// Copied from: local:aiserver.v1.StoredRequestTrackingMetadata (var: Te) +message StoredRequestTrackingMetadata { + // Copied from: local:aiserver.v1.StoredRequestTrackingMetadata.File (var: ye) + message File { + string fs_path = 1; + string file_uuid = 2; + RequestTrackingFileGitInfo git_info = 3; + bool too_big = 4; + } + + string agent_request_id = 1; + repeated File request_files = 2; + repeated RequestTrackingFileGitInfo deduplicated_git_infos = 3; + int32 num_commits_tracked = 4; + double start_tracking_date_unix_milliseconds = 5; + double file_size_bytes = 6; + string workspace_id = 7; +} + +// Copied from: local:aiserver.v1.StreamAiCursorHelpRequest (var: aql) +message StreamAiCursorHelpRequest { + repeated CursorHelpConversationMessage messages = 1; + string user_os = 2; + ModelDetails model_details = 3; +} + +// Copied from: local:aiserver.v1.StreamAiCursorHelpResponse (var: cql) +message StreamAiCursorHelpResponse { + string text = 1; + repeated string actions = 2; +} + +// Copied from: local:aiserver.v1.StreamAiLintBugRequest (var: YGl) +message StreamAiLintBugRequest { + // Copied from: local:aiserver.v1.StreamAiLintBugRequest.CodeChunk (var: WIs) + message CodeChunk { + string relative_workspace_path = 1; + int32 start_line_number = 2; + repeated string lines = 3; + repeated string context_lines_before = 4; + repeated string context_lines_after = 5; + } + + // Copied from: local:aiserver.v1.StreamAiLintBugRequest.CodeChunkList (var: ZGl) + message CodeChunkList { + repeated StreamAiLintBugRequest.CodeChunk chunks = 13; + repeated int32 referred_start_lines = 14; + repeated int32 referred_end_lines = 15; + } + + // Copied from: local:aiserver.v1.StreamAiLintBugRequest.DiscriminatorOptions (var: XGl) + message DiscriminatorOptions { + bool specific_rules = 1; + bool compile_errors = 2; + bool change_behavior = 3; + bool match_code = 4; + bool relevance = 5; + bool user_awareness = 6; + } + + repeated CodeChunk chunks_to_analyze = 1; + ExplicitContext explicit_context = 4; + optional string workspace_root_path = 5; + ModelDetails model_details = 9; + repeated AiLintBug dismissed_bugs = 10; + repeated AiLintBug active_bugs = 11; + repeated AiLintRule lint_rules = 12; + repeated CodeChunkList clients = 14; + repeated LintDiscriminator force_enable_discriminators = 17; + repeated LintDiscriminator force_disable_discriminators = 18; + repeated LintGenerator force_enable_generators = 19; + repeated LintGenerator force_disable_generators = 20; + int32 version = 21; + optional DiscriminatorOptions discriminator_options = 15; + bool debug_mode = 16; +} + +// Copied from: local:aiserver.v1.StreamAiLintBugResponse (var: JGl) +message StreamAiLintBugResponse { + oneof response { + AiLintBug bug = 1; + string background_task_uuid = 2; + } +} + +// Copied from: local:aiserver.v1.StreamAiPreviewsIntent (var: GZu) +message StreamAiPreviewsIntent { + repeated DocumentSymbolWithText main_symbols_to_analyze_from_go_to_def = 1; + HoverDetails main_symbol_hover_details = 4; + repeated DocumentSymbolWithText related_symbols = 3; + repeated DocumentSymbolWithText main_symbols_to_analyze_from_implementations = 6; +} + +// Copied from: local:aiserver.v1.StreamAiPreviewsRequest (var: qZu) +message StreamAiPreviewsRequest { + CurrentFileInfo current_file = 1; + StreamAiPreviewsIntent intent = 2; + ModelDetails model_details = 14; + optional bool is_detailed = 15; +} + +// Copied from: local:aiserver.v1.StreamAiPreviewsResponse (var: KZu) +message StreamAiPreviewsResponse { + string text = 1; +} + +// Copied from: local:aiserver.v1.StreamBackgroundComposerArtifactRequest (var: MNu) +message StreamBackgroundComposerArtifactRequest { + string bc_id = 1; + string absolute_path = 2; +} + +// Copied from: local:aiserver.v1.StreamBackgroundComposerArtifactResponse (var: PNu) +message StreamBackgroundComposerArtifactResponse { + bytes content_chunk = 1; + string content_type = 2; + int64 total_size = 3; +} + +// Copied from: local:aiserver.v1.StreamBugBotAgenticClientMessage (var: swn) +message StreamBugBotAgenticClientMessage { + oneof message { + StreamBugBotRequest start = 1; + ExecClientMessage exec_client_message = 2; + ExecClientControlMessage exec_client_control_message = 3; + } +} + +// Copied from: local:aiserver.v1.StreamBugBotAgenticServerMessage (var: vIs) +message StreamBugBotAgenticServerMessage { + oneof message { + StreamBugBotResponse bugbot_response = 1; + ExecServerMessage exec_server_message = 2; + ExecServerControlMessage exec_server_control_message = 3; + } +} + +// Copied from: local:aiserver.v1.StreamBugBotLinterRequest (var: kUu) +message StreamBugBotLinterRequest { + GitDiff git_diff = 1; + string active_file = 2; + int32 cursor_line_number_one_indexed = 3; + optional string session_id = 4; + bool telem_enabled = 5; +} + +// Copied from: local:aiserver.v1.StreamBugBotLinterResponse (var: CUu) +message StreamBugBotLinterResponse { + repeated BugReport bugs = 1; +} + +// Copied from: local:aiserver.v1.StreamBugBotRequest (var: iAi) +message StreamBugBotRequest { + // Copied from: local:aiserver.v1.StreamBugBotRequest.Range (var: M6l) + message Range { + int32 start_line = 1; + int32 end_line_inclusive = 2; + } + + GitDiff git_diff = 1; + repeated CodeBlock context_files = 13; + ModelDetails model_details = 2; + optional string user_instructions = 3; + optional string bug_detection_guidelines = 4; + optional int32 iterations = 5; + optional int32 unified_context_lines = 12; + bool in_background_subsidized = 6; + optional string session_id = 7; + optional string price_id = 8; + bool has_telemetry = 9; + optional string constrain_to_file = 10; + optional Range constrain_to_range = 11; + optional bool deep_review = 14; +} + +// Copied from: local:aiserver.v1.StreamBugBotResponse (var: fIs) +message StreamBugBotResponse { + optional BugReports bug_reports = 1; + BugBotStatus status = 2; + optional string summary = 3; + optional BugbotTrialNotification trial_notification = 4; + optional int32 num_turns = 5; +} + +// Copied from: local:aiserver.v1.StreamBugFindingRequest (var: WUu) +message StreamBugFindingRequest { + // Copied from: local:aiserver.v1.StreamBugFindingRequest.FileDiff (var: HUu) + message FileDiff { + // Copied from: local:aiserver.v1.StreamBugFindingRequest.FileDiff.Hunk (var: zUu) + message Hunk { + int32 old_start_one_indexed = 1; + int32 new_start_one_indexed = 2; + repeated string old_lines = 3; + repeated string new_lines = 4; + } + + // Copied from: local:aiserver.v1.StreamBugFindingRequest.FileDiff.Line (var: VUu) + message Line { + int32 one_indexed_line_number = 1; + string line = 2; + } + + string relative_workspace_path = 1; + repeated Line lines = 2; + repeated Hunk hunks = 3; + optional string old_relative_workspace_path = 4; + bool not_truncated = 5; + } + + repeated FileDiff file_diffs = 1; +} + +// Copied from: local:aiserver.v1.StreamBugFindingResponse (var: $Uu) +message StreamBugFindingResponse { + // Copied from: local:aiserver.v1.StreamBugFindingResponse.Bug (var: jUu) + message Bug { + string relative_workspace_path = 1; + int32 start_line = 2; + int32 end_line_inclusive = 3; + repeated string code_lines = 4; + double severity = 5; + double confidence = 6; + string description = 7; + } + + repeated Bug bugs = 1; +} + +// Copied from: local:aiserver.v1.StreamChatContextRequest (var: PIs) +message StreamChatContextRequest { + // Copied from: local:aiserver.v1.StreamChatContextRequest.CodeContext (var: BVl) + message CodeContext { + repeated CodeBlock chunks = 1; + repeated CodeResult scored_chunks = 2; + } + + CurrentFileInfo current_file = 1; + repeated ConversationMessage conversation = 2; + repeated RepositoryInfo repositories = 3; + ExplicitContext explicit_context = 4; + optional string workspace_root_path = 5; + repeated CodeBlock code_blocks = 6; + ModelDetails model_details = 7; + repeated string documentation_identifiers = 8; + string query = 9; + CodeContext code_context = 10; + bool rerank_results = 11; + LinterErrors linter_errors = 14; + optional bool is_bash = 15; + bool rerank_results_v2 = 16; + string conversation_id = 17; + bool can_handle_filenames_after_language_ids = 18; + bool long_context_mode = 19; + bool is_eval = 20; + string request_id = 21; + optional int32 desired_max_tokens = 22; + optional bool runnable_code_blocks = 23; + oneof context_results { + FullFileSearchResult file_search_results = 12; + CodeSearchResult code_search_results = 13; + } +} + +// Copied from: local:aiserver.v1.StreamChatContextResponse (var: LIs) +message StreamChatContextResponse { + // Copied from: local:aiserver.v1.StreamChatContextResponse.ChunkIdentity (var: jVl) + message ChunkIdentity { + string file_name = 1; + int32 start_line = 2; + int32 end_line = 3; + string text = 4; + ChunkType chunk_type = 5; + } + + // Copied from: local:aiserver.v1.StreamChatContextResponse.CodeLink (var: $Vl) + message CodeLink { + string relative_workspace_path = 1; + int32 start_line_number = 2; + int32 end_line_number = 3; + } + + // Copied from: local:aiserver.v1.StreamChatContextResponse.UsedCode (var: UVl) + message UsedCode { + repeated CodeResult code_results = 1; + } + + string text = 1; + optional string debugging_only_chat_prompt = 2; + optional int32 debugging_only_token_count = 3; + DocumentationCitation document_citation = 4; + optional string filled_prompt = 5; + UsedCode used_code = 6; + CodeLink code_link = 7; + optional ChunkIdentity chunk_identity = 8; + optional DocsReference docs_reference = 9; + optional SymbolLink symbol_link = 10; + optional FileLink file_link = 11; +} + +// Copied from: local:aiserver.v1.StreamChatDeepContextRequest (var: WVl) +message StreamChatDeepContextRequest { + repeated ConversationMessage conversation = 1; + ExplicitContext explicit_context = 2; + ModelDetails model_details = 3; + SearchRepositoryDeepContextResponse context_results = 4; + bool rerank_results = 5; +} + +// Copied from: local:aiserver.v1.StreamChatDeepContextResponse (var: HVl) +message StreamChatDeepContextResponse { + string text = 1; +} + +// Copied from: local:aiserver.v1.StreamChatResponse (var: oAe) +message StreamChatResponse { + // Copied from: local:aiserver.v1.StreamChatResponse.ChunkIdentity (var: Xql) + message ChunkIdentity { + string file_name = 1; + int32 start_line = 2; + int32 end_line = 3; + string text = 4; + ChunkType chunk_type = 5; + } + + // Copied from: local:aiserver.v1.StreamChatResponse.UsedCode (var: Zql) + message UsedCode { + repeated CodeResult code_results = 1; + } + + string text = 1; + optional string server_bubble_id = 22; + optional string debugging_only_chat_prompt = 2; + optional int32 debugging_only_token_count = 3; + DocumentationCitation document_citation = 4; + optional string filled_prompt = 5; + optional bool is_big_file = 6; + optional string intermediate_text = 7; + optional bool is_using_slow_request = 10; + optional ChunkIdentity chunk_identity = 8; + optional DocsReference docs_reference = 9; + optional WebCitation web_citation = 11; + optional StatusUpdates status_updates = 12; + optional ServerTimingInfo timing_info = 13; + optional SymbolLink symbol_link = 14; + optional FileLink file_link = 15; + optional ConversationSummary conversation_summary = 16; + optional ServiceStatusUpdate service_status_update = 17; + optional UsedCode used_code = 18; + optional bool stop_using_dsv3_agentic_model = 26; + optional string usage_uuid = 27; +} + +// Copied from: local:aiserver.v1.StreamChatToolformerContinueRequest (var: bKl) +message StreamChatToolformerContinueRequest { + string toolformer_session_id = 1; + ToolResult tool_result = 2; +} + +// Copied from: local:aiserver.v1.StreamChatToolformerResponse (var: YIs) +message StreamChatToolformerResponse { + // Copied from: local:aiserver.v1.StreamChatToolformerResponse.Output (var: _Kl) + message Output { + string text = 1; + } + + // Copied from: local:aiserver.v1.StreamChatToolformerResponse.Thought (var: yKl) + message Thought { + string text = 1; + } + + // Copied from: local:aiserver.v1.StreamChatToolformerResponse.ToolAction (var: SKl) + message ToolAction { + string user_facing_text = 1; + string raw_model_output = 3; + ToolCall tool_call = 2; + bool more_to_come = 4; + } + + optional string toolformer_session_id = 1; + oneof response_type { + Output output = 2; + ToolAction tool_action = 3; + Thought thought = 4; + } +} + +// Copied from: local:aiserver.v1.StreamCmdKRequest (var: JAs) +message StreamCmdKRequest { + // Copied from: local:aiserver.v1.StreamCmdKRequest.BranchDiff (var: Hjl) + message BranchDiff { + // Copied from: local:aiserver.v1.StreamCmdKRequest.BranchDiff.FileDiff (var: zjl) + message FileDiff { + string file_name = 1; + string diff = 2; + bool too_big = 3; + } + + repeated FileDiff file_diffs = 1; + repeated Commit commits = 2; + } + + repeated PotentiallyCachedContextItem context_items = 1; + CmdKOptions cmd_k_options = 2; + CmdKDebugInfo cmd_k_debug_info = 4; + string session_id = 6; + CmdKLegacyContext legacy_context = 5; + optional CmdKPreviousEdit previous_edit = 7; + repeated CmdKPreviousEdit previous_edits = 8; + repeated CmdKUpcomingEdit upcoming_edits = 12; + optional bool use_big_cmdk_for_multi_file_edit = 9; + repeated ImageProto images = 10; + repeated CmdKExternalLink links = 11; + repeated CppFileDiffHistory diff_history = 13; + optional BranchDiff diff_to_base_branch = 14; + optional TimingInfo timing_info = 15; + repeated CursorRule rules = 16; +} + +// Copied from: local:aiserver.v1.StreamCmdKResponse (var: nwn) +message StreamCmdKResponse { + // Copied from: local:aiserver.v1.StreamCmdKResponse.Chat (var: Jjl) + message Chat { + string text = 1; + } + + // Copied from: local:aiserver.v1.StreamCmdKResponse.EditEnd (var: Xjl) + message EditEnd { + int32 end_line_number_exclusive = 1; + int32 edit_id = 2; + optional string file_path = 3; + } + + // Copied from: local:aiserver.v1.StreamCmdKResponse.EditStart (var: Yjl) + message EditStart { + int32 start_line_number = 1; + int32 edit_id = 2; + optional int32 max_end_line_number_exclusive = 3; + optional string file_path = 4; + } + + // Copied from: local:aiserver.v1.StreamCmdKResponse.EditStream (var: Zjl) + message EditStream { + string text = 1; + int32 edit_id = 2; + optional string file_path = 3; + } + + // Copied from: local:aiserver.v1.StreamCmdKResponse.StatusUpdate (var: eWl) + message StatusUpdate { + repeated string messages = 1; + } + + oneof response { + EditStart edit_start = 1; + EditStream edit_stream = 2; + EditEnd edit_end = 3; + Chat chat = 4; + StatusUpdate status_update = 5; + } +} + +// Copied from: local:aiserver.v1.StreamCmdKResponseContextWrapped (var: nIs) +message StreamCmdKResponseContextWrapped { + oneof response { + StreamCmdKResponse real_response = 1; + ContextStatusUpdate context_status_update = 2; + MissingContextItems missing_context_items = 3; + } +} + +// Copied from: local:aiserver.v1.StreamCodeTourRequest (var: IUu) +message StreamCodeTourRequest { + // Copied from: local:aiserver.v1.StreamCodeTourRequest.PromptConstructionMode (var: RUu) + enum PromptConstructionMode { + PROMPT_CONSTRUCTION_MODE_UNSPECIFIED = 0; + PROMPT_CONSTRUCTION_MODE_SERVER_COMPACT = 1; + PROMPT_CONSTRUCTION_MODE_CLIENT_RAW = 2; + } + + // Copied from: local:aiserver.v1.StreamCodeTourRequest.PullRequestReference (var: DUu) + message PullRequestReference { + string provider = 1; + string owner = 2; + string repository = 3; + int64 pull_request_number = 4; + optional string title = 5; + optional string body = 6; + optional string base_branch = 7; + optional string base_sha = 8; + optional string head_sha = 9; + } + + PullRequestReference pull_request = 1; + GitDiff diff = 2; + optional string user_prompt = 3; + optional string idempotency_key = 4; + optional int32 max_steps = 5; + optional string model_id = 6; + repeated string commit_hashes = 7; + optional string system_prompt = 8; + optional bool diff_references_only = 9; + optional PromptConstructionMode prompt_construction_mode = 10; + optional string raw_user_prompt = 11; + optional string background_composer_id = 12; +} + +// Copied from: local:aiserver.v1.StreamCodeTourResponse (var: MUu) +message StreamCodeTourResponse { + // Copied from: local:aiserver.v1.StreamCodeTourResponse.Blame (var: UUu) + message Blame { + repeated CommitMetrics commits = 1; + repeated ConversationReference conversations = 2; + } + + // Copied from: local:aiserver.v1.StreamCodeTourResponse.DoneEvent (var: NUu) + message DoneEvent { + CodeTourDoneReason reason = 1; + } + + // Copied from: local:aiserver.v1.StreamCodeTourResponse.ErrorEvent (var: OUu) + message ErrorEvent { + string message = 1; + CodeTourDoneReason reason = 2; + } + + // Copied from: local:aiserver.v1.StreamCodeTourResponse.MarkdownDeltaEvent (var: FUu) + message MarkdownDeltaEvent { + string markdown_delta = 1; + } + + // Copied from: local:aiserver.v1.StreamCodeTourResponse.StatusEvent (var: PUu) + message StatusEvent { + // Copied from: local:aiserver.v1.StreamCodeTourResponse.StatusEvent.Status (var: LUu) + enum Status { + STATUS_UNSPECIFIED = 0; + STATUS_STARTED = 1; + STATUS_PROCESSING = 2; + } + + Status status = 1; + optional string message = 2; + } + + // Copied from: local:aiserver.v1.StreamCodeTourResponse.ThinkingDeltaEvent (var: BUu) + message ThinkingDeltaEvent { + string thinking_delta = 1; + } + + optional string request_id = 4; + optional string conversation_id = 5; + optional Blame blame = 6; + oneof event { + StatusEvent status = 1; + DoneEvent done = 2; + ErrorEvent error = 3; + MarkdownDeltaEvent markdown_delta = 7; + ThinkingDeltaEvent thinking_delta = 8; + } +} + +// Copied from: local:aiserver.v1.StreamComposerContextRequest (var: Qo) +message StreamComposerContextRequest { + // Copied from: local:aiserver.v1.StreamComposerContextRequest.CodeContext (var: Go) + message CodeContext { + repeated CodeBlock chunks = 1; + repeated CodeResult scored_chunks = 2; + } + + CurrentFileInfo current_file = 1; + repeated ConversationMessage conversation = 2; + repeated RepositoryInfo repositories = 3; + ExplicitContext explicit_context = 4; + optional string workspace_root_path = 5; + repeated CodeBlock code_blocks = 6; + ModelDetails model_details = 7; + repeated string documentation_identifiers = 8; + string query = 9; + CodeContext code_context = 10; + bool rerank_results = 11; + LinterErrors linter_errors = 14; + optional bool is_bash = 15; + bool rerank_results_v2 = 16; + string conversation_id = 17; + bool can_handle_filenames_after_language_ids = 18; + bool long_context_mode = 19; + bool is_eval = 20; + string request_id = 21; + optional int32 desired_max_tokens = 22; + optional bool runnable_code_blocks = 23; + oneof context_results { + FullFileSearchResult file_search_results = 12; + CodeSearchResult code_search_results = 13; + } +} + +// Copied from: local:aiserver.v1.StreamConversationPurpose (var: bCn) +enum StreamConversationPurpose { + STREAM_CONVERSATION_PURPOSE_UNSPECIFIED = 0; + STREAM_CONVERSATION_PURPOSE_LIVE = 1; + STREAM_CONVERSATION_PURPOSE_PREWARM = 2; +} + +// Copied from: local:aiserver.v1.StreamConversationRequest (var: ICn) +message StreamConversationRequest { + string bc_id = 1; + optional string offset_key = 2; + optional bool filter_heavy_step_data = 3; + bool should_send_prefetched_blobs_first = 4; + repeated bytes pre_fetched_blob_ids = 5; + optional bool prefetch_only_last_step_per_turn = 6; + optional bool send_stream_signal_after_prefetch = 7; + optional uint32 max_blobs_after_prefetch = 8; + optional bool allow_streaming_when_terminal_status = 9; + optional PreFetchedBlobFilter pre_fetched_blob_filter = 10; + optional bool include_stream_heartbeats = 11; + optional StreamConversationPurpose purpose = 12; +} + +// Copied from: local:aiserver.v1.StreamConversationResponse (var: jSe) +message StreamConversationResponse { + // Copied from: local:aiserver.v1.StreamConversationResponse.CloudAgentStateWithIdAndOffset (var: xFs) + message CloudAgentStateWithIdAndOffset { + string offset_key = 1; + bytes blob_id = 2; + CloudAgentState cloud_agent_state = 3; + repeated PreFetchedBlob pre_fetched_blobs = 4; + repeated UserDisplayInfo user_display_infos = 5; + } + + // Copied from: local:aiserver.v1.StreamConversationResponse.DevBannerMessage (var: HPu) + message DevBannerMessage { + string text = 1; + } + + // Copied from: local:aiserver.v1.StreamConversationResponse.InitialState (var: RCn) + message InitialState { + bytes blob_id = 1; + CloudAgentState cloud_agent_state = 2; + repeated PreFetchedBlob pre_fetched_blobs = 4; + CloudAgentWorkflowStatus workflow_status = 5; + repeated UserDisplayInfo user_display_infos = 6; + } + + // Copied from: local:aiserver.v1.StreamConversationResponse.InteractionQueryWithOffset (var: WPu) + message InteractionQueryWithOffset { + string offset_key = 1; + InteractionQuery interaction_query = 2; + } + + // Copied from: local:aiserver.v1.StreamConversationResponse.InteractionUpdateWithOffset (var: TFs) + message InteractionUpdateWithOffset { + string offset_key = 1; + InteractionUpdate interaction_update = 2; + repeated UserDisplayInfo user_display_infos = 3; + } + + // Copied from: local:aiserver.v1.StreamConversationResponse.PrefetchedBlobs (var: jPu) + message PrefetchedBlobs { + repeated PreFetchedBlob pre_fetched_blobs = 1; + } + + // Copied from: local:aiserver.v1.StreamConversationResponse.ReadOnlySharedPodLifecycleEventWithOffset (var: GPu) + message ReadOnlySharedPodLifecycleEventWithOffset { + string offset_key = 1; + ReadOnlySharedPodLifecycleEvent read_only_shared_pod_lifecycle_event = 2; + } + + // Copied from: local:aiserver.v1.StreamConversationResponse.StreamHeartbeat (var: zPu) + message StreamHeartbeat { + } + + // Copied from: local:aiserver.v1.StreamConversationResponse.StreamSignal (var: $Pu) + enum StreamSignal { + STREAM_SIGNAL_UNSPECIFIED = 0; + STREAM_SIGNAL_END_OF_INITIAL_STATE_PREFETCH = 1; + } + + // Copied from: local:aiserver.v1.StreamConversationResponse.TransientErrorWithOffset (var: IFs) + message TransientErrorWithOffset { + string offset_key = 1; + TransientError transient_error = 2; + } + + // Copied from: local:aiserver.v1.StreamConversationResponse.WorkerLifecycleEventWithOffset (var: VPu) + message WorkerLifecycleEventWithOffset { + string offset_key = 1; + WorkerLifecycleEvent worker_lifecycle_event = 2; + } + + // Copied from: local:aiserver.v1.StreamConversationResponse.WorkflowStatusWithOffset (var: AFs) + message WorkflowStatusWithOffset { + string offset_key = 1; + CloudAgentWorkflowStatus workflow_status = 2; + } + + oneof message { + InitialState initial_state = 3; + InteractionUpdateWithOffset interaction_update_with_offset = 4; + CloudAgentStateWithIdAndOffset cloud_agent_state_with_id_and_offset = 5; + WorkflowStatusWithOffset workflow_status_with_offset = 6; + PrefetchedBlobs prefetched_blobs = 7; + StreamSignal stream_signal = 8; + TransientErrorWithOffset transient_error_with_offset = 9; + DevBannerMessage dev_banner_message = 10; + WorkerLifecycleEventWithOffset worker_lifecycle_event_with_offset = 11; + InteractionQueryWithOffset interaction_query_with_offset = 12; + ReadOnlySharedPodLifecycleEventWithOffset read_only_shared_pod_lifecycle_event_with_offset = 13; + StreamHeartbeat stream_heartbeat = 14; + } +} + +// Copied from: local:aiserver.v1.StreamCppRequest (var: uAi) +message StreamCppRequest { + // Copied from: local:aiserver.v1.StreamCppRequest.ControlToken (var: _ae) + enum ControlToken { + CONTROL_TOKEN_UNSPECIFIED = 0; + CONTROL_TOKEN_QUIET = 1; + CONTROL_TOKEN_LOUD = 2; + CONTROL_TOKEN_OP = 3; + } + + CurrentFileInfo current_file = 1; + repeated string diff_history = 2; + optional string model_name = 3; + optional LinterErrors linter_errors = 4; + repeated CppContextItem context_items = 13; + repeated string diff_history_keys = 5; + optional bool give_debug_output = 6; + repeated CppFileDiffHistory file_diff_histories = 7; + repeated CppFileDiffHistory merged_diff_histories = 8; + repeated BlockDiffPatch block_diff_patches = 9; + optional bool is_nightly = 10; + optional bool is_debug = 11; + optional bool immediately_ack = 12; + optional bool enable_more_context = 17; + repeated CppParameterHint parameter_hints = 14; + repeated LspSubgraphFullContext lsp_contexts = 15; + optional CppIntentInfo cpp_intent_info = 16; + optional string workspace_id = 18; + repeated AdditionalFile additional_files = 19; + optional ControlToken control_token = 20; + optional double client_time = 21; + repeated FilesyncUpdateWithModelVersion filesync_updates = 22; + double time_since_request_start = 23; + double time_at_request_send = 24; + optional double client_timezone_offset = 25; + optional LspSuggestedItems lsp_suggested_items = 26; + optional bool supports_cpt = 27; + optional bool supports_crlf_cpt = 28; + repeated CodeResult code_results = 29; +} + +// Copied from: local:aiserver.v1.StreamCppResponse (var: q8l) +message StreamCppResponse { + // Copied from: local:aiserver.v1.StreamCppResponse.CursorPredictionTarget (var: K8l) + message CursorPredictionTarget { + string relative_path = 1; + int32 line_number_one_indexed = 2; + string expected_content = 3; + bool should_retrigger_cpp = 4; + } + + // Copied from: local:aiserver.v1.StreamCppResponse.ModelInfo (var: Q8l) + message ModelInfo { + bool is_fused_cursor_prediction_model = 1; + bool is_multidiff_model = 2; + } + + string text = 1; + optional int32 suggestion_start_line = 2; + optional int32 suggestion_confidence = 3; + optional bool done_stream = 4; + optional string debug_model_output = 5; + optional string debug_model_input = 6; + optional string debug_stream_time = 7; + optional string debug_total_time = 8; + optional string debug_ttft_time = 9; + optional string debug_server_timing = 10; + optional LineRange range_to_replace = 11; + optional CursorPredictionTarget cursor_prediction_target = 12; + optional bool done_edit = 13; + optional ModelInfo model_info = 14; + optional bool begin_edit = 15; + optional bool should_remove_leading_eol = 16; + optional string binding_id = 17; +} + +// Copied from: local:aiserver.v1.StreamCursorTutorRequest (var: gVl) +message StreamCursorTutorRequest { + repeated ConversationMessage conversation = 1; + ModelDetails model_details = 2; +} + +// Copied from: local:aiserver.v1.StreamCursorTutorResponse (var: fVl) +message StreamCursorTutorResponse { + string text = 1; +} + +// Copied from: local:aiserver.v1.StreamDiffReviewByFileResponse (var: GQl) +message StreamDiffReviewByFileResponse { + oneof response { + string text = 1; + SemanticFileGroups groups = 2; + } +} + +// Copied from: local:aiserver.v1.StreamDiffReviewResponse (var: WQl) +message StreamDiffReviewResponse { + oneof response { + string text = 1; + SemanticDiffGroups groups = 2; + } +} + +// Copied from: local:aiserver.v1.StreamEditRequest (var: NAi) +message StreamEditRequest { + CurrentFileInfo current_file = 1; + repeated ConversationMessage conversation = 2; + repeated RepositoryInfo repositories = 3; + ExplicitContext explicit_context = 4; + optional string workspace_root_path = 5; + string query = 6; + repeated CodeBlock code_blocks = 7; + ModelDetails model_details = 9; + repeated string documentation_identifiers = 10; + LinterErrors linter_errors = 11; + repeated CodeBlock prompt_code_blocks = 12; + string session_id = 14; + CmdKDebugInfo cmd_k_debug_info = 13; + bool fast_mode = 15; + StreamEditRequest original_request = 16; + repeated ImageProto images = 17; + repeated CmdKExternalLink links = 18; + repeated CursorRule rules = 19; +} + +// Copied from: local:aiserver.v1.StreamFastEditRequest (var: GGl) +message StreamFastEditRequest { + CurrentFileInfo current_file = 1; + repeated RepositoryInfo repositories = 3; + ExplicitContext explicit_context = 4; + optional string workspace_root_path = 5; + string query = 6; + repeated CodeBlock code_blocks = 7; + ModelDetails model_details = 9; + repeated string documentation_identifiers = 10; + LinterErrors linter_errors = 11; +} + +// Copied from: local:aiserver.v1.StreamFastEditResponse (var: qGl) +message StreamFastEditResponse { + int32 line_number = 2; + int32 replace_num_lines = 3; + string edit_uuid = 5; + optional bool done = 4; + optional string new_line = 6; + bool reset_new_lines = 7; +} + +// Copied from: local:aiserver.v1.StreamGenerateRequest (var: BIs) +message StreamGenerateRequest { + CurrentFileInfo current_file = 1; + repeated ConversationMessage conversation = 2; + repeated RepositoryInfo repositories = 3; + ExplicitContext explicit_context = 4; + optional string workspace_root_path = 5; + string query = 6; + repeated CodeBlock code_blocks = 7; + ModelDetails model_details = 9; + repeated string documentation_identifiers = 10; + LinterErrors linter_errors = 11; + repeated CodeBlock prompt_code_blocks = 12; + string session_id = 14; + CmdKDebugInfo cmd_k_debug_info = 13; + bool fast_mode = 15; + StreamGenerateRequest original_request = 16; +} + +// Copied from: local:aiserver.v1.StreamGetRelevantChunksResponseContextWrapped (var: nWl) +message StreamGetRelevantChunksResponseContextWrapped { + oneof response { + GetRelevantChunksResponse real_response = 1; + } +} + +// Copied from: local:aiserver.v1.StreamHoldCppRequest (var: o$l) +message StreamHoldCppRequest { + CurrentFileInfo current_file = 1; + optional LinterErrors linter_errors = 4; + repeated CppContextItem context_items = 13; + repeated CppFileDiffHistory file_diff_histories = 7; + repeated CppFileDiffHistory merged_diff_histories = 8; + repeated BlockDiffPatch block_diff_patches = 9; + ModelDetails model_details = 10; +} + +// Copied from: local:aiserver.v1.StreamHoldCppResponse (var: a$l) +message StreamHoldCppResponse { + string text = 1; +} + +// Copied from: local:aiserver.v1.StreamHypermodeRequest (var: Wjl) +message StreamHypermodeRequest { + repeated PotentiallyCachedContextItem context_items = 1; + CmdKOptions cmd_k_options = 2; + CmdKDebugInfo cmd_k_debug_info = 4; + string session_id = 6; + CmdKLegacyContext legacy_context = 5; + optional CmdKPreviousEdit previous_edit = 7; + repeated CmdKPreviousEdit previous_edits = 8; + repeated CmdKUpcomingEdit upcoming_edits = 12; + optional bool use_big_cmdk_for_multi_file_edit = 9; + repeated ImageProto images = 10; + repeated CmdKExternalLink links = 11; + repeated CppFileDiffHistory diff_history = 13; + optional string hyper_model = 14; + optional TimingInfo timing_info = 15; +} + +// Copied from: local:aiserver.v1.StreamInlineLongCompletionRequest (var: HZu) +message StreamInlineLongCompletionRequest { + // Copied from: local:aiserver.v1.StreamInlineLongCompletionRequest.ContextBlock (var: zZu) + message ContextBlock { + // Copied from: local:aiserver.v1.StreamInlineLongCompletionRequest.ContextBlock.ContextType (var: VZu) + enum ContextType { + CONTEXT_TYPE_UNSPECIFIED = 0; + CONTEXT_TYPE_RECENT_LOCATIONS = 1; + } + + ContextType context_type = 1; + repeated CodeBlock blocks = 2; + } + + CurrentFileInfo current_file = 1; + repeated RepositoryInfo repositories = 6; + repeated ContextBlock context_blocks = 7; + ExplicitContext explicit_context = 13; + ModelDetails model_details = 14; + LinterErrors linter_errors = 15; +} + +// Copied from: local:aiserver.v1.StreamInterfaceAgentStatusRequest (var: MKl) +message StreamInterfaceAgentStatusRequest { + string task_uuid = 1; +} + +// Copied from: local:aiserver.v1.StreamInterfaceAgentStatusResponse (var: PKl) +message StreamInterfaceAgentStatusResponse { + InterfaceAgentStatus status = 1; +} + +// Copied from: local:aiserver.v1.StreamLintRequest (var: yQl) +message StreamLintRequest { + CurrentFileInfo current_file = 1; + repeated ConversationMessage conversation = 2; + repeated RepositoryInfo repositories = 3; + ExplicitContext explicit_context = 4; + optional string workspace_root_path = 5; + string query = 6; + repeated CodeBlock code_blocks = 7; + ModelDetails model_details = 9; + repeated string documentation_identifiers = 10; + repeated string bad_notifications = 11; + string lint_rules = 12; +} + +// Copied from: local:aiserver.v1.StreamNewRuleRequest (var: sql) +message StreamNewRuleRequest { + string current_rules = 1; + string dismissed_bug = 2; +} + +// Copied from: local:aiserver.v1.StreamNextCursorPredictionRequest (var: Azl) +message StreamNextCursorPredictionRequest { + // Copied from: local:aiserver.v1.StreamNextCursorPredictionRequest.FileVisibleRange (var: EIs) + message FileVisibleRange { + string filename = 1; + repeated StreamNextCursorPredictionRequest.VisibleRange visible_ranges = 2; + } + + // Copied from: local:aiserver.v1.StreamNextCursorPredictionRequest.VisibleRange (var: CIs) + message VisibleRange { + int32 start_line_number_inclusive = 1; + int32 end_line_number_exclusive = 2; + } + + CurrentFileInfo current_file = 1; + repeated string diff_history = 2; + optional string model_name = 3; + optional LinterErrors linter_errors = 4; + repeated CppContextItem context_items = 13; + repeated string diff_history_keys = 5; + optional bool give_debug_output = 6; + repeated CppFileDiffHistory file_diff_histories = 7; + repeated CppFileDiffHistory merged_diff_histories = 8; + repeated BlockDiffPatch block_diff_patches = 9; + optional bool is_nightly = 10; + optional bool is_debug = 11; + optional bool immediately_ack = 12; + optional bool enable_more_context = 17; + repeated CppParameterHint parameter_hints = 14; + repeated LspSubgraphFullContext lsp_contexts = 15; + optional CppIntentInfo cpp_intent_info = 16; + optional string workspace_id = 18; + repeated FilesyncUpdateWithModelVersion file_sync_updates = 19; + repeated FileVisibleRange file_visible_ranges = 20; +} + +// Copied from: local:aiserver.v1.StreamNextCursorPredictionResponse (var: Izl) +message StreamNextCursorPredictionResponse { + oneof response { + string text = 1; + int32 line_number = 2; + bool is_not_in_range = 3; + string file_name = 4; + } +} + +// Copied from: local:aiserver.v1.StreamPriomptPromptRequest (var: Kzl) +message StreamPriomptPromptRequest { + string prompt_props = 2; + string prompt_props_type_name = 3; + bool skip_login_check = 5; + ModelDetails model_details = 4; +} + +// Copied from: local:aiserver.v1.StreamPriomptPromptResponse (var: Qzl) +message StreamPriomptPromptResponse { + string text = 1; +} + +// Copied from: local:aiserver.v1.StreamPseudocodeGeneratorRequest (var: uql) +message StreamPseudocodeGeneratorRequest { + CurrentFileInfo current_file = 1; + PseudocodeTarget target = 2; +} + +// Copied from: local:aiserver.v1.StreamPseudocodeGeneratorResponse (var: dql) +message StreamPseudocodeGeneratorResponse { + string text = 1; +} + +// Copied from: local:aiserver.v1.StreamPseudocodeMapperRequest (var: hql) +message StreamPseudocodeMapperRequest { + PseudocodeTarget target = 2; + string pseudocode = 1; +} + +// Copied from: local:aiserver.v1.StreamPseudocodeMapperResponse (var: pql) +message StreamPseudocodeMapperResponse { + string text = 1; +} + +// Copied from: local:aiserver.v1.StreamPullRequestUpdatesRequest (var: FRu) +message StreamPullRequestUpdatesRequest { + repeated string pr_urls = 1; +} + +// Copied from: local:aiserver.v1.StreamReplayChatRequest (var: nxs) +message StreamReplayChatRequest { + string request_id = 1; + optional double tokens_per_second = 3; +} + +// Copied from: local:aiserver.v1.StreamSlashEditFollowUpWithPreviousEditsResponse (var: HGl) +message StreamSlashEditFollowUpWithPreviousEditsResponse { + // Copied from: local:aiserver.v1.StreamSlashEditFollowUpWithPreviousEditsResponse.Chat (var: zGl) + message Chat { + string text = 1; + } + + // Copied from: local:aiserver.v1.StreamSlashEditFollowUpWithPreviousEditsResponse.EditsToUpdate (var: VGl) + message EditsToUpdate { + repeated SlashEditPreviousEdit previous_edits = 1; + } + + oneof response { + Chat chat = 1; + EditsToUpdate edits_to_update = 2; + } +} + +// Copied from: local:aiserver.v1.StreamStart (var: rxs) +message StreamStart { + string padding = 1; +} + +// Copied from: local:aiserver.v1.StreamTerminalAutocompleteRequest (var: lql) +message StreamTerminalAutocompleteRequest { + string current_command = 1; + repeated string command_history = 2; + optional string model_name = 3; + repeated CppFileDiffHistory file_diff_histories = 4; + optional string git_diff = 5; + repeated string commit_history = 6; + repeated string past_results = 7; +} + +// Copied from: local:aiserver.v1.StreamTerminalAutocompleteResponse (var: mql) +message StreamTerminalAutocompleteResponse { + string text = 1; + optional bool done_stream = 2; +} + +// Copied from: local:aiserver.v1.StreamTerminalCmdKRequest (var: tIs) +message StreamTerminalCmdKRequest { + repeated PotentiallyCachedContextItem context_items = 1; + TerminalCmdKOptions cmd_k_options = 2; + string session_id = 6; + CmdKLegacyContext legacy_context = 5; +} + +// Copied from: local:aiserver.v1.StreamTerminalCmdKResponse (var: Gjl) +message StreamTerminalCmdKResponse { + // Copied from: local:aiserver.v1.StreamTerminalCmdKResponse.Chat (var: Kjl) + message Chat { + string text = 1; + } + + // Copied from: local:aiserver.v1.StreamTerminalCmdKResponse.StatusUpdate (var: Qjl) + message StatusUpdate { + repeated string messages = 1; + } + + // Copied from: local:aiserver.v1.StreamTerminalCmdKResponse.TerminalCommand (var: qjl) + message TerminalCommand { + string partial_command = 1; + } + + oneof response { + TerminalCommand terminal_command = 1; + Chat chat = 4; + StatusUpdate status_update = 5; + } +} + +// Copied from: local:aiserver.v1.StreamTerminalCmdKResponseContextWrapped (var: Vjl) +message StreamTerminalCmdKResponseContextWrapped { + oneof response { + StreamTerminalCmdKResponse real_response = 1; + ContextStatusUpdate context_status_update = 2; + MissingContextItems missing_context_items = 3; + } +} + +// Copied from: local:aiserver.v1.StreamUiBestOfNJudgeClientMessage (var: IHl) +message StreamUiBestOfNJudgeClientMessage { + oneof message { + StreamUiBestOfNJudgeStartRequest start = 1; + ExecClientMessage exec_client_message = 2; + ExecClientControlMessage exec_client_control_message = 3; + } +} + +// Copied from: local:aiserver.v1.StreamUiBestOfNJudgeServerMessage (var: bIs) +message StreamUiBestOfNJudgeServerMessage { + oneof message { + UiBestOfNJudgeFinalResult final_result = 1; + ExecServerMessage exec_server_message = 2; + ExecServerControlMessage exec_server_control_message = 3; + } +} + +// Copied from: local:aiserver.v1.StreamUiBestOfNJudgeStartRequest (var: THl) +message StreamUiBestOfNJudgeStartRequest { + string task = 1; + repeated UiBestOfNJudgeCandidate candidates = 2; +} + +// Copied from: local:aiserver.v1.StreamUnifiedChatRequest (var: CSe) +message StreamUnifiedChatRequest { + // Copied from: local:aiserver.v1.StreamUnifiedChatRequest.CodeSearchResult (var: wxs) + message CodeSearchResult { + repeated CodeResult results = 1; + repeated File all_files = 2; + } + + // Copied from: local:aiserver.v1.StreamUnifiedChatRequest.CurrentPlan (var: Cxs) + message CurrentPlan { + string content = 1; + string name = 2; + } + + // Copied from: local:aiserver.v1.StreamUnifiedChatRequest.FullFileCmdKOptions (var: kxs) + message FullFileCmdKOptions { + string file_path = 1; + } + + // Copied from: local:aiserver.v1.StreamUnifiedChatRequest.RecentEdits (var: _xs) + message RecentEdits { + // Copied from: local:aiserver.v1.StreamUnifiedChatRequest.RecentEdits.CodeBlockInfo (var: yxs) + message CodeBlockInfo { + string relative_workspace_path = 1; + optional string content_before = 2; + optional string content_after = 3; + optional string generation_uuid = 4; + optional int32 version = 5; + } + + // Copied from: local:aiserver.v1.StreamUnifiedChatRequest.RecentEdits.FileInfo (var: Sxs) + message FileInfo { + string relative_workspace_path = 1; + string content = 2; + } + + repeated CodeBlockInfo code_block_info = 1; + repeated FileInfo final_file_values = 2; + optional string edits_belong_to_composer_generation_uuid = 3; + } + + // Copied from: local:aiserver.v1.StreamUnifiedChatRequest.RedDiff (var: bxs) + message RedDiff { + string relative_workspace_path = 1; + repeated SimplestRange red_ranges = 2; + repeated SimplestRange red_ranges_reversed = 3; + string start_hash = 4; + string end_hash = 5; + } + + // Copied from: local:aiserver.v1.StreamUnifiedChatRequest.ThinkingLevel (var: vxs) + enum ThinkingLevel { + THINKING_LEVEL_UNSPECIFIED = 0; + THINKING_LEVEL_MEDIUM = 1; + THINKING_LEVEL_HIGH = 2; + } + + // Copied from: local:aiserver.v1.StreamUnifiedChatRequest.UnifiedMode (var: ESe) + enum UnifiedMode { + UNIFIED_MODE_UNSPECIFIED = 0; + UNIFIED_MODE_CHAT = 1; + UNIFIED_MODE_AGENT = 2; + UNIFIED_MODE_EDIT = 3; + UNIFIED_MODE_CUSTOM = 4; + UNIFIED_MODE_PLAN = 5; + UNIFIED_MODE_DEBUG = 6; + } + + repeated ConversationMessage conversation = 1; + repeated ConversationMessageHeader full_conversation_headers_only = 30; + optional bool allow_long_file_scan = 2; + ExplicitContext explicit_context = 3; + optional bool can_handle_filenames_after_language_ids = 4; + ModelDetails model_details = 5; + LinterErrors linter_errors = 6; + repeated string documentation_identifiers = 7; + optional string use_web = 8; + repeated ComposerExternalLink external_links = 9; + optional ConversationMessage project_context = 10; + repeated RedDiff diffs_for_compressing_files = 11; + optional bool compress_edits = 12; + optional bool should_cache = 13; + repeated LinterErrors multi_file_linter_errors = 14; + CurrentFileInfo current_file = 15; + optional RecentEdits recent_edits = 16; + optional bool use_reference_composer_diff_prompt = 17; + repeated ComposerFileDiffHistory file_diff_histories = 18; + optional bool use_new_compression_scheme = 19; + repeated ChatQuote quotes = 21; + repeated RankedContext additional_ranked_context = 20; + bool is_chat = 22; + string conversation_id = 23; + string replying_to_request_id = 72; + RepositoryInfo repository_info = 24; + bool repository_info_should_query_staging = 25; + bool repository_info_should_query_prod = 39; + QueryOnlyRepoAccess query_only_repo_access = 52; + string repo_query_auth_token = 44; + EnvironmentInfo environment_info = 26; + bool is_agentic = 27; + optional ConversationSummary conversation_summary = 28; + repeated ClientSideToolV2 supported_tools = 29; + bool enable_yolo_mode = 31; + string yolo_prompt = 32; + bool use_unified_chat_prompt = 33; + repeated MCPParams.Tool mcp_tools = 34; + optional bool use_full_inputs_context = 35; + optional bool is_resume = 36; + optional bool allow_model_fallbacks = 37; + optional int32 number_of_times_shown_fallback_model_warning = 38; + optional string context_bank_session_id = 40; + optional int32 context_bank_version = 41; + optional bytes context_bank_encryption_key = 43; + bool is_headless = 45; + bool is_background_composer = 68; + optional CodeSearchResult uses_codebase_results = 42; + optional UnifiedMode unified_mode = 46; + repeated ClientSideToolV2 tools_requiring_accepted_return = 47; + optional bool should_disable_tools = 48; + optional ThinkingLevel thinking_level = 49; + optional bool should_use_chat_prompt = 50; + optional string background_composer_id = 55; + optional bool uses_rules = 51; + optional bool mode_uses_auto_apply = 53; + optional string unified_mode_name = 54; + optional bool use_generate_rules_prompt = 56; + optional bool edit_tool_supports_search_and_replace = 57; + repeated ProjectLayout project_layouts = 58; + optional string repository_name_if_unindexed = 59; + optional double indexing_progress = 60; + optional FullFileCmdKOptions full_file_cmd_k_options = 61; + optional string indexing_phase_if_unindexed = 62; + optional bool use_knowledge_base_prompt = 63; + optional int32 indexing_num_files_if_unindexed = 64; + optional SubagentInfo subagent_info = 66; + bool supports_git_index = 67; + bool force_is_not_dev = 69; + optional bool disable_edit_file_timeout = 70; + optional bool should_attach_linter_errors = 71; + optional bool should_speculatively_route_gpt5 = 73; + optional bool force_terminal_hanging_detection = 74; + optional bool force_summarization = 75; + optional bool is_quick_search_query = 76; + optional bool is_spec_mode = 77; + bool allow_server_side_semantic_search = 78; + optional bytes speculative_summarization_encryption_key = 79; + repeated WorkspaceFolder workspace_folders = 81; + optional bool does_readfile_support_images = 82; + optional bool sandboxing_support_enabled = 83; + optional string custom_planning_instructions = 84; + optional bool enable_terminal_file_persistence = 85; + optional string terminals_folder = 86; + optional string agent_transcripts_folder = 93; + optional string agent_notes_folder = 87; + optional string agent_tools_folder = 88; + optional CurrentPlan current_plan = 89; + optional bool has_mcp_descriptors = 90; + optional string best_of_n_group_id = 91; + optional bool try_use_best_of_n_promotion = 92; +} + +// Copied from: local:aiserver.v1.StreamUnifiedChatRequestWithTools (var: BTi) +message StreamUnifiedChatRequestWithTools { + oneof request { + StreamUnifiedChatRequest stream_unified_chat_request = 1; + ClientSideToolV2Result client_side_tool_v2_result = 2; + } +} + +// Copied from: local:aiserver.v1.StreamUnifiedChatRequestWithToolsIdempotent (var: oxs) +message StreamUnifiedChatRequestWithToolsIdempotent { + optional string idempotency_key = 4; + optional uint32 seqno = 5; + oneof request { + StreamUnifiedChatRequestWithTools client_chunk = 1; + google.protobuf.Empty abort = 2; + google.protobuf.Empty close = 3; + } +} + +// Copied from: local:aiserver.v1.StreamUnifiedChatResponse (var: LBt) +message StreamUnifiedChatResponse { + // Copied from: local:aiserver.v1.StreamUnifiedChatResponse.ChunkIdentity (var: Txs) + message ChunkIdentity { + string file_name = 1; + int32 start_line = 2; + int32 end_line = 3; + string text = 4; + ChunkType chunk_type = 5; + } + + // Copied from: local:aiserver.v1.StreamUnifiedChatResponse.FinalToolResult (var: Axs) + message FinalToolResult { + string tool_call_id = 1; + ClientSideToolV2Result result = 2; + } + + // Copied from: local:aiserver.v1.StreamUnifiedChatResponse.ImageDescription (var: Ixs) + message ImageDescription { + string description = 1; + string image_uuid = 2; + } + + // Copied from: local:aiserver.v1.StreamUnifiedChatResponse.UsedCode (var: xxs) + message UsedCode { + repeated CodeResult code_results = 1; + } + + string text = 1; + optional string server_bubble_id = 22; + optional string debugging_only_chat_prompt = 2; + optional int32 debugging_only_token_count = 3; + DocumentationCitation document_citation = 4; + optional string filled_prompt = 5; + optional bool is_big_file = 6; + optional string intermediate_text = 7; + optional bool is_using_slow_request = 10; + optional ChunkIdentity chunk_identity = 8; + optional DocsReference docs_reference = 9; + optional WebCitation web_citation = 11; + optional AiWebSearchResults ai_web_search_results = 33; + optional StatusUpdates status_updates = 12; + optional StreamedBackToolCall tool_call = 13; + optional StreamedBackToolCallV2 tool_call_v2 = 36; + optional bool should_break_ai_message = 14; + optional StreamedBackPartialToolCall partial_tool_call = 15; + optional FinalToolResult final_tool_result = 16; + optional SymbolLink symbol_link = 17; + optional FileLink file_link = 19; + optional ConversationSummary conversation_summary = 18; + optional ServiceStatusUpdate service_status_update = 20; + optional ViewableGitContext viewable_git_context = 21; + optional ContextPieceUpdate context_piece_update = 23; + optional UsedCode used_code = 24; + optional ConversationMessage.Thinking thinking = 25; + optional ConversationMessage.ThinkingStyle thinking_style = 37; + optional bool stop_using_dsv3_agentic_model = 26; + optional string usage_uuid = 27; + optional ConversationSummaryStarter conversation_summary_starter = 28; + optional SubagentReturnCall subagent_return = 29; + optional ContextWindowStatus context_window_status = 30; + optional ImageDescription image_description = 31; + optional bool parallel_tool_calls_complete = 32; + optional StarsFeedbackRequest stars_feedback_request = 34; + optional string model_provider_request_json = 35; +} + +// Copied from: local:aiserver.v1.StreamUnifiedChatResponseWithTools (var: nAe) +message StreamUnifiedChatResponseWithTools { + optional SpanContext tracing_context = 6; + string event_id = 7; + oneof response { + ClientSideToolV2Call client_side_tool_v2_call = 1; + StreamUnifiedChatResponse stream_unified_chat_response = 2; + ConversationSummary conversation_summary = 3; + UserRules user_rules = 4; + StreamStart stream_start = 5; + } +} + +// Copied from: local:aiserver.v1.StreamUnifiedChatResponseWithToolsIdempotent (var: UTi) +message StreamUnifiedChatResponseWithToolsIdempotent { + oneof response { + StreamUnifiedChatResponseWithTools server_chunk = 1; + WelcomeMessage welcome_message = 3; + uint32 seqno_ack = 4; + } +} + +// Copied from: local:aiserver.v1.StreamWebCmdKV1Request (var: Rzl) +message StreamWebCmdKV1Request { + string relative_workspace_path = 1; + string file_contents = 2; + string prompt = 3; + LineRange selection_range = 4; + ModelDetails model_details = 5; + repeated ImageProto images = 10; +} + +// Copied from: local:aiserver.v1.StreamWebCmdKV1Response (var: Dzl) +message StreamWebCmdKV1Response { + StreamCmdKResponse cmd_k_response = 1; +} + +// Copied from: local:aiserver.v1.StreamedBackPartialToolCall (var: qfs) +message StreamedBackPartialToolCall { + ClientSideToolV2 tool = 1; + string tool_call_id = 2; + string name = 3; + optional uint32 tool_index = 4; + optional string model_call_id = 5; +} + +// Copied from: local:aiserver.v1.StreamedBackToolCall (var: I0i) +message StreamedBackToolCall { + ClientSideToolV2 tool = 1; + string tool_call_id = 2; + string name = 8; + string raw_args = 9; + optional ToolResultError error = 10; + optional uint32 tool_index = 50; + optional string model_call_id = 51; + oneof params { + ReadSemsearchFilesStream read_semsearch_files_stream = 3; + RipgrepSearchStream ripgrep_search_stream = 5; + ReadFileStream read_file_stream = 7; + ListDirStream list_dir_stream = 12; + EditFileStream edit_file_stream = 13; + ToolCallFileSearchStream file_search_stream = 14; + SemanticSearchFullStream semantic_search_full_stream = 19; + DeleteFileStream delete_file_stream = 21; + ReapplyStream reapply_stream = 22; + RunTerminalCommandV2Stream run_terminal_command_v2_stream = 25; + FetchRulesStream fetch_rules_stream = 26; + WebSearchStream web_search_stream = 28; + MCPStream mcp_stream = 29; + SearchSymbolsStream search_symbols_stream = 33; + GotodefStream gotodef_stream = 41; + BackgroundComposerFollowupStream background_composer_followup_stream = 34; + KnowledgeBaseStream knowledge_base_stream = 35; + FetchPullRequestStream fetch_pull_request_stream = 36; + DeepSearchStream deep_search_stream = 37; + CreateDiagramStream create_diagram_stream = 38; + FixLintsStream fix_lints_stream = 39; + ReadLintsStream read_lints_stream = 40; + TaskStream task_stream = 42; + AwaitTaskStream await_task_stream = 43; + TodoReadStream todo_read_stream = 44; + TodoWriteStream todo_write_stream = 45; + EditFileV2Stream edit_file_v2_stream = 52; + ListDirV2Stream list_dir_v2_stream = 53; + ReadFileV2Stream read_file_v2_stream = 54; + RipgrepRawSearchStream ripgrep_raw_search_stream = 55; + GlobFileSearchStream glob_file_search_stream = 56; + CreatePlanStream create_plan_stream = 57; + ListMcpResourcesStream list_mcp_resources_stream = 58; + ReadMcpResourceStream read_mcp_resource_stream = 59; + ReadProjectStream read_project_stream = 60; + UpdateProjectStream update_project_stream = 61; + TaskV2Stream task_v2_stream = 62; + CallMcpToolStream call_mcp_tool_stream = 63; + AskQuestionStream ask_question_stream = 64; + SwitchModeStream switch_mode_stream = 65; + ComputerUseStream computer_use_stream = 66; + WriteShellStdinStream write_shell_stdin_stream = 67; + WebFetchStream web_fetch_stream = 68; + ReportBugfixResultsStream report_bugfix_results_stream = 69; + McpAuthStream mcp_auth_stream = 70; + ConnectScmStream connect_scm_stream = 71; + } +} + +// Copied from: local:aiserver.v1.StreamedBackToolCallV2 (var: Kfs) +message StreamedBackToolCallV2 { + ClientSideToolV2 tool = 1; + string tool_call_id = 2; + string name = 8; + string raw_args = 10; + optional ToolResultError error = 11; + optional uint32 tool_index = 50; + optional string model_call_id = 51; + oneof params { + ReadSemsearchFilesParams read_semsearch_files_params = 3; + RipgrepSearchParams ripgrep_search_params = 5; + ReadFileParams read_file_params = 9; + ListDirParams list_dir_params = 12; + EditFileParams edit_file_params = 13; + ToolCallFileSearchParams file_search_params = 16; + SemanticSearchFullParams semantic_search_full_params = 17; + DeleteFileParams delete_file_params = 19; + ReapplyParams reapply_params = 20; + RunTerminalCommandV2Params run_terminal_command_v2_params = 23; + FetchRulesParams fetch_rules_params = 24; + WebSearchParams web_search_params = 26; + MCPParams mcp_params = 27; + SearchSymbolsParams search_symbols_params = 31; + GotodefParams gotodef_params = 41; + BackgroundComposerFollowupParams background_composer_followup_params = 32; + KnowledgeBaseParams knowledge_base_params = 33; + FetchPullRequestParams fetch_pull_request_params = 34; + DeepSearchParams deep_search_params = 35; + CreateDiagramParams create_diagram_params = 36; + FixLintsParams fix_lints_params = 37; + ReadLintsParams read_lints_params = 38; + TaskParams task_params = 42; + AwaitTaskParams await_task_params = 43; + TodoReadParams todo_read_params = 44; + TodoWriteParams todo_write_params = 45; + EditFileV2Params edit_file_v2_params = 48; + ListDirV2Params list_dir_v2_params = 49; + ReadFileV2Params read_file_v2_params = 61; + RipgrepRawSearchParams ripgrep_raw_search_params = 62; + GlobFileSearchParams glob_file_search_params = 63; + CreatePlanParams create_plan_params = 64; + ListMcpResourcesParams list_mcp_resources_params = 65; + ReadMcpResourceParams read_mcp_resource_params = 66; + ReadProjectParams read_project_params = 67; + UpdateProjectParams update_project_params = 68; + TaskV2Params task_v2_params = 69; + CallMcpToolParams call_mcp_tool_params = 70; + ApplyAgentDiffParams apply_agent_diff_params = 71; + AskQuestionParams ask_question_params = 72; + SwitchModeParams switch_mode_params = 73; + ComputerUseParams computer_use_params = 74; + WriteShellStdinArgs write_shell_stdin_params = 75; + RecordScreenArgs record_screen_params = 76; + WebFetchParams web_fetch_params = 77; + ReportBugfixResultsParams report_bugfix_results_params = 78; + McpAuthParams mcp_auth_params = 79; + GetMcpToolsParams get_mcp_tools_params = 80; + ConnectScmParams connect_scm_params = 81; + } +} + +// Copied from: local:aiserver.v1.StringCount (var: tCn) +message StringCount { + string name = 1; + int32 count = 2; +} + +// Copied from: local:aiserver.v1.StringList (var: L9s) +message StringList { + repeated string values = 1; +} + +// Copied from: local:aiserver.v1.StringReplacement (var: MTs) +message StringReplacement { + string old_string = 1; + string new_string = 2; +} + +// Copied from: local:aiserver.v1.SttAudioChunk (var: zYl) +message SttAudioChunk { + bytes pcm16 = 1; +} + +// Copied from: local:aiserver.v1.SttClientMessage (var: cwn) +message SttClientMessage { + oneof payload { + SttConfig config = 1; + SttAudioChunk audio = 2; + SttControl control = 3; + } +} + +// Copied from: local:aiserver.v1.SttConfig (var: HYl) +message SttConfig { + optional string language = 1; + optional bool punctuate = 2; +} + +// Copied from: local:aiserver.v1.SttControl (var: VYl) +message SttControl { + // Copied from: local:aiserver.v1.SttControl.Type (var: $Ai) + enum Type { + TYPE_UNSPECIFIED = 0; + TYPE_STOP = 1; + TYPE_CANCEL = 2; + } + + Type type = 1; +} + +// Copied from: local:aiserver.v1.SttServerMessage (var: gRs) +message SttServerMessage { + string text = 1; + bool is_final = 2; +} + +// Copied from: local:aiserver.v1.SubAgent (var: uqd) +enum SubAgent { + SUB_AGENT_UNSPECIFIED = 0; + SUB_AGENT_TERMINAL_AGENT = 1; + SUB_AGENT_WEB_AGENT = 2; + SUB_AGENT_PROGRAMMER_AGENT = 3; +} + +// Copied from: agent.v1.SubagentArgs (var: HSn) +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; + repeated RequestedModel.ModelParameterValue model_parameters = 21; + oneof credentials { + ApiKeyCredentials api_key_credentials = 10; + AzureCredentials azure_credentials = 11; + BedrockCredentials bedrock_credentials = 12; + } +} + +// Copied from: agent.v1.SubagentAwaitArgs (var: WTs) +message SubagentAwaitArgs { + string agent_id = 1; + uint32 timeout_ms = 2; +} + +// Copied from: agent.v1.SubagentAwaitComplete (var: HTs) +message SubagentAwaitComplete { + string agent_id = 1; + optional string transcript_path = 2; + int32 tool_call_count = 3; + optional string final_message = 4; +} + +// Copied from: agent.v1.SubagentAwaitError (var: zSn) +message SubagentAwaitError { + optional string agent_id = 1; + string error = 2; +} + +// Copied from: agent.v1.SubagentAwaitNotFound (var: VTs) +message SubagentAwaitNotFound { + string agent_id = 1; +} + +// Copied from: agent.v1.SubagentAwaitResult (var: DGe) +message SubagentAwaitResult { + oneof result { + SubagentAwaitComplete complete = 1; + SubagentAwaitStillRunning still_running = 2; + SubagentAwaitNotFound not_found = 3; + SubagentAwaitError error = 4; + } +} + +// Copied from: agent.v1.SubagentAwaitStillRunning (var: zTs) +message SubagentAwaitStillRunning { + string agent_id = 1; + optional string transcript_path = 2; +} + +// Copied from: agent.v1.SubagentBackgroundReason (var: wSe) +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:aiserver.v1.SubagentDescriptor (var: LDi) +message SubagentDescriptor { + string name = 1; + optional string description = 2; + optional string source_path = 3; + optional string source_url = 4; +} + +// Copied from: agent.v1.SubagentError (var: $Bt) +message SubagentError { + optional string agent_id = 1; + string error = 2; +} + +// Copied from: agent.v1.SubagentExecutionEnvironment (var: Wpe) +enum SubagentExecutionEnvironment { + SUBAGENT_EXECUTION_ENVIRONMENT_UNSPECIFIED = 0; + SUBAGENT_EXECUTION_ENVIRONMENT_LOCAL = 1; + SUBAGENT_EXECUTION_ENVIRONMENT_CLOUD = 2; +} + +// Copied from: local:aiserver.v1.SubagentInfo (var: wTs) +message SubagentInfo { + SubagentType subagent_type = 1; + string subagent_id = 2; + optional string parent_request_id = 5; + oneof params { + DeepSearchSubagentParams deep_search_params = 3; + FixLintsSubagentParams fix_lints_params = 4; + TaskSubagentParams task_params = 6; + SpecSubagentParams spec_params = 7; + } +} + +// Copied from: agent.v1.SubagentPersistedState (var: apt) +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: agent.v1.SubagentResult (var: RGe) +message SubagentResult { + oneof result { + SubagentSuccess success = 1; + SubagentError error = 2; + } +} + +// Copied from: local:aiserver.v1.SubagentReturnCall (var: JTi) +message SubagentReturnCall { + SubagentType subagent_type = 1; + oneof return_value { + DeepSearchSubagentReturnValue deep_search_return_value = 2; + FixLintsSubagentReturnValue fix_lints_return_value = 3; + TaskSubagentReturnValue task_return_value = 4; + SpecSubagentReturnValue spec_return_value = 5; + } +} + +// Copied from: agent.v1.SubagentRunState (var: oEs) +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: agent.v1.SubagentRunStatus (var: kP) +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: agent.v1.SubagentStartRequestQuery (var: q9l) +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: agent.v1.SubagentStartRequestResponse (var: K9l) +message SubagentStartRequestResponse { + optional string permission = 1; + optional string user_message = 2; + optional string additional_context = 3; +} + +// Copied from: agent.v1.SubagentStopRequestQuery (var: Q9l) +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: agent.v1.SubagentStopRequestResponse (var: Y9l) +message SubagentStopRequestResponse { + optional string followup_message = 1; + optional string additional_context = 2; +} + +// Copied from: agent.v1.SubagentSuccess (var: rAi) +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:aiserver.v1.SubagentType (var: vae) +enum SubagentType { + SUBAGENT_TYPE_UNSPECIFIED = 0; + SUBAGENT_TYPE_DEEP_SEARCH = 1; + SUBAGENT_TYPE_FIX_LINTS = 2; + SUBAGENT_TYPE_TASK = 3; + SUBAGENT_TYPE_SPEC = 4; +} + +// Copied from: local:aiserver.v1.SubjectScore (var: LGf) +message SubjectScore { + string subject_key = 1; + double score = 2; + double sample_count = 3; +} + +// Copied from: local:aiserver.v1.SubmitChatRequestEventsRequest (var: hXu) +message SubmitChatRequestEventsRequest { + string session_id = 1; + repeated ChatRequestTelemetryEvent events = 2; + string client_version = 3; + string client_commit = 4; + map platform_tags = 5; + optional string window_type = 6; +} + +// Copied from: local:aiserver.v1.SubmitChatRequestEventsResponse (var: pXu) +message SubmitChatRequestEventsResponse { + bool success = 1; + optional string error_message = 2; + int32 events_processed = 3; +} + +// Copied from: local:aiserver.v1.SubmitChatRequestEventsV2Request (var: Sbv) +message SubmitChatRequestEventsV2Request { + string session_id = 1; + repeated ChatRequestTelemetryEventV2 events = 2; + string client_version = 3; + string client_commit = 4; + map platform_tags = 5; + optional string window_type = 6; +} + +// Copied from: local:aiserver.v1.SubmitChatRequestEventsV2Response (var: wbv) +message SubmitChatRequestEventsV2Response { + bool success = 1; + optional string error_message = 2; + int32 events_processed = 3; +} + +// Copied from: local:aiserver.v1.SubmitFeedbackRequest (var: jNs) +message SubmitFeedbackRequest { + string message = 1; + string version = 2; + optional string last_agent_req_id = 3; + optional string os = 4; + optional string terminal = 5; + optional string shell = 6; + optional string model = 7; + optional string update_channel = 8; + optional string agent_mode = 9; +} + +// Copied from: local:aiserver.v1.SubmitFeedbackResponse (var: WNs) +message SubmitFeedbackResponse { +} + +// Copied from: local:aiserver.v1.SubmitInteractionResponseBackgroundComposerRequest (var: hMi) +message SubmitInteractionResponseBackgroundComposerRequest { + string bc_id = 1; + InteractionResponse interaction_response = 2; + optional string ask_question_tool_call_id = 3; +} + +// Copied from: local:aiserver.v1.SubmitInteractionResponseBackgroundComposerResponse (var: lLu) +message SubmitInteractionResponseBackgroundComposerResponse { + // Copied from: local:aiserver.v1.SubmitInteractionResponseBackgroundComposerResponse.ResolutionOutcome (var: J3t) + enum ResolutionOutcome { + RESOLUTION_OUTCOME_UNSPECIFIED = 0; + RESOLUTION_OUTCOME_SIGNAL_ENQUEUED = 1; + RESOLUTION_OUTCOME_NOT_PAUSED = 2; + RESOLUTION_OUTCOME_QUERY_ID_SIGNAL_ENQUEUED = 3; + } + + ResolutionOutcome resolution_outcome = 1; +} + +// Copied from: local:aiserver.v1.SubmitInteractionWindowRequest (var: e$s) +message SubmitInteractionWindowRequest { + google.protobuf.Timestamp time_origin = 1; + CapturedWebProfile web_profile = 2; + repeated Interaction interactions = 3; + string session_id = 4; +} + +// Copied from: local:aiserver.v1.SubmitInteractionWindowResponse (var: rXu) +message SubmitInteractionWindowResponse { + bool success = 1; + optional string error_message = 2; +} + +// Copied from: local:aiserver.v1.SubmitLogsRequest (var: W$u) +message SubmitLogsRequest { + repeated ClientLogEntry logs = 1; +} + +// Copied from: local:aiserver.v1.SubmitLogsResponse (var: H$u) +message SubmitLogsResponse { + bool success = 1; + optional string error_message = 2; + uint32 logs_processed = 3; + uint32 logs_dropped = 4; +} + +// Copied from: local:aiserver.v1.SubmitPendingFollowupNowRequest (var: mMi) +message SubmitPendingFollowupNowRequest { + string bc_id = 1; + string followup_id = 2; +} + +// Copied from: local:aiserver.v1.SubmitPendingFollowupNowResponse (var: gLu) +message SubmitPendingFollowupNowResponse { + bool success = 1; + string error_message = 2; +} + +// Copied from: local:aiserver.v1.SubmitPerformanceEventsRequest (var: Q8s) +message SubmitPerformanceEventsRequest { + string session_id = 1; + repeated PerformanceEvent events = 2; + optional SystemMetadata system_metadata = 3; + string client_version = 4; + string client_commit = 5; + map platform_tags = 6; + optional string window_type = 7; + repeated PerformanceMetric metrics = 8; +} + +// Copied from: local:aiserver.v1.SubmitPerformanceEventsResponse (var: nXu) +message SubmitPerformanceEventsResponse { + bool success = 1; + optional string error_message = 2; + int32 events_processed = 3; +} + +// Copied from: local:aiserver.v1.SubmitPluginForApprovalRequest (var: aAu) +message SubmitPluginForApprovalRequest { + int64 plugin_id = 1; +} + +// Copied from: local:aiserver.v1.SubmitPluginForApprovalResponse (var: cAu) +message SubmitPluginForApprovalResponse { + Plugin plugin = 1; +} + +// Copied from: local:aiserver.v1.SubmitProfileRequest (var: J8s) +message SubmitProfileRequest { + repeated CapturedProfile profiles = 1; +} + +// Copied from: local:aiserver.v1.SubmitProfileResponse (var: iXu) +message SubmitProfileResponse { + repeated string profile_ids = 1; +} + +// Copied from: local:aiserver.v1.SubmitSpansRequest (var: Q1n) +message SubmitSpansRequest { + repeated TraceSpan spans = 1; + string client_version = 2; + string client_commit = 3; +} + +// Copied from: local:aiserver.v1.SubmitSpansResponse (var: cXu) +message SubmitSpansResponse { + bool success = 1; + optional string error_message = 2; +} + +// Copied from: local:aiserver.v1.SubmitToolCallEventsRequest (var: lXu) +message SubmitToolCallEventsRequest { + string session_id = 1; + repeated ToolCallTelemetryEvent events = 2; + string client_version = 3; + string client_commit = 4; + map platform_tags = 5; + optional string window_type = 6; +} + +// Copied from: local:aiserver.v1.SubmitToolCallEventsResponse (var: uXu) +message SubmitToolCallEventsResponse { + bool success = 1; + optional string error_message = 2; + int32 events_processed = 3; +} + +// Copied from: agent.v1.SubmittedCustomMode (var: kTi) +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: agent.v1.SubmittedExitedCustomMode (var: ETi) +message SubmittedExitedCustomMode { + string id = 1; + string label = 2; +} + +// Copied from: local:aiserver.v1.SubscribeRepositoryRequest (var: je) +message SubscribeRepositoryRequest { + RepositoryInfo repository = 1; +} + +// Copied from: local:aiserver.v1.SubscribeRepositoryResponse (var: Xe) +message SubscribeRepositoryResponse { + // Copied from: local:aiserver.v1.SubscribeRepositoryResponse.Status (var: v) + enum Status { + STATUS_UNSPECIFIED = 0; + STATUS_NOT_FOUND = 1; + STATUS_NOT_AUTHORIZED = 2; + STATUS_ALREADY_SUBSCRIBED = 3; + STATUS_SUCCESS = 4; + } + + Status status = 1; +} + +// Copied from: agent.v1.SubscriptionEventDisplay (var: gEs) +message SubscriptionEventDisplay { + optional string display_label = 1; + optional string resource_url = 2; + optional string subscription_id = 3; +} + +// Copied from: agent.v1.SubscriptionNotificationAction (var: c9l) +message SubscriptionNotificationAction { + repeated UserMessage notifications = 1; + RequestContext request_context = 2; + optional bool send_to_interaction_listener = 3; +} + +// Copied from: agent.v1.SubscriptionSource (var: GB) +enum SubscriptionSource { + SUBSCRIPTION_SOURCE_UNSPECIFIED = 0; + SUBSCRIPTION_SOURCE_SLACK = 1; + SUBSCRIPTION_SOURCE_GITHUB = 2; + SUBSCRIPTION_SOURCE_LINEAR = 3; + SUBSCRIPTION_SOURCE_ORIGIN = 4; +} + +// Copied from: local:aiserver.v1.SuggestCursorPredictionEvent (var: C$l) +message SuggestCursorPredictionEvent { + CursorPrediction cursor_prediction = 1; + PointInTimeModel point_in_time_model = 2; +} + +// Copied from: local:aiserver.v1.SuggestQuickActionsRequest (var: qIs) +message SuggestQuickActionsRequest { + repeated QuickActionCandidate candidates = 1; + string last_user_message = 2; + string last_assistant_message = 3; + optional int32 max_suggestions = 4; + repeated string recently_used_skill_ids = 5; + bool include_skills = 6; + bool include_text = 7; +} + +// Copied from: local:aiserver.v1.SuggestQuickActionsResponse (var: Uql) +message SuggestQuickActionsResponse { + repeated SuggestedQuickAction suggestions = 1; +} + +// Copied from: local:aiserver.v1.SuggestedCodeBlock (var: cTs) +message SuggestedCodeBlock { + string relative_workspace_path = 1; +} + +// Copied from: local:aiserver.v1.SuggestedEdit (var: hAi) +message SuggestedEdit { + SimpleRange edit_range = 1; + string text = 2; +} + +// Copied from: local:aiserver.v1.SuggestedQuickAction (var: $ql) +message SuggestedQuickAction { + string id = 1; + string label = 2; + string type = 3; +} + +// Copied from: agent.v1.SummarizeAction (var: mEs) +message SummarizeAction { +} + +// Copied from: local:aiserver.v1.SummarizeCodeParams (var: sDl) +message SummarizeCodeParams { + repeated string target_files = 1; + string focus_query = 2; +} + +// Copied from: local:aiserver.v1.SummarizeCodeResult (var: oDl) +message SummarizeCodeResult { + string summary = 1; +} + +// Copied from: local:aiserver.v1.SummarizeCodeStream (var: aDl) +message SummarizeCodeStream { +} + +// Copied from: local:aiserver.v1.SummarizeWithReferencesRequest (var: g0i) +message SummarizeWithReferencesRequest { + string index_id = 1; + string node_id = 2; + bool recompute = 3; +} + +// Copied from: local:aiserver.v1.SummarizeWithReferencesResponse (var: qAl) +message SummarizeWithReferencesResponse { + // Copied from: local:aiserver.v1.SummarizeWithReferencesResponse.Dependency (var: QAl) + message Dependency { + repeated string nodes = 2; + } + + // Copied from: local:aiserver.v1.SummarizeWithReferencesResponse.Success (var: KAl) + message Success { + string summary = 1; + } + + string node_id = 3; + oneof response { + Success success = 1; + Dependency dependency = 2; + } +} + +// Copied from: agent.v1.SummaryCompletedUpdate (var: MEs) +message SummaryCompletedUpdate { + optional string hook_message = 1; + optional bool failed = 2; +} + +// Copied from: agent.v1.SummaryStartedUpdate (var: DEs) +message SummaryStartedUpdate { +} + +// Copied from: agent.v1.SummaryUpdate (var: REs) +message SummaryUpdate { + string summary = 1; +} + +// Copied from: local:aiserver.v1.SupersedeFullSelfDrivingOutputRequest (var: Nru) +message SupersedeFullSelfDrivingOutputRequest { + string pr_url = 1; + string bc_id = 2; + string stable_key = 3; + optional string replacement_stable_key = 4; + optional string reason = 5; +} + +// Copied from: local:aiserver.v1.SupersedeFullSelfDrivingOutputResponse (var: Oru) +message SupersedeFullSelfDrivingOutputResponse { + FullSelfDrivingFinding finding = 1; +} + +// Copied from: local:aiserver.v1.SurroundingLines (var: nKl) +message SurroundingLines { + int32 start_line = 1; + repeated string lines = 2; +} + +// Copied from: local:aiserver.v1.SwCallClientSideV2ToolRequest (var: _6l) +message SwCallClientSideV2ToolRequest { + ClientSideToolV2Call tool_call = 1; + string composer_id = 2; +} + +// Copied from: local:aiserver.v1.SwCallClientSideV2ToolResponse (var: OTi) +message SwCallClientSideV2ToolResponse { + ClientSideToolV2Result tool_result = 1; +} + +// Copied from: local:aiserver.v1.SwCallDiagnosticsExecutorRequest (var: p6l) +message SwCallDiagnosticsExecutorRequest { + DiagnosticsArgs diagnostics_args = 1; +} + +// Copied from: local:aiserver.v1.SwCallDiagnosticsExecutorResponse (var: jEs) +message SwCallDiagnosticsExecutorResponse { + DiagnosticsResult diagnostics_result = 1; +} + +// Copied from: local:aiserver.v1.SwCompileRepoIncludeExcludePatternsRequest (var: qEs) +message SwCompileRepoIncludeExcludePatternsRequest { + optional string include_pattern = 1; + optional string exclude_pattern = 2; + string path_encryption_key = 3; + RepositoryInfo repository_info = 4; +} + +// Copied from: local:aiserver.v1.SwCompileRepoIncludeExcludePatternsResponse (var: FTi) +message SwCompileRepoIncludeExcludePatternsResponse { + optional string glob_filter = 1; + optional string not_glob_filter = 2; +} + +// Copied from: local:aiserver.v1.SwGetEnvironmentInfoRequest (var: f6l) +message SwGetEnvironmentInfoRequest { +} + +// Copied from: local:aiserver.v1.SwGetEnvironmentInfoResponse (var: zEs) +message SwGetEnvironmentInfoResponse { + EnvironmentInfo environment_info = 1; +} + +// Copied from: local:aiserver.v1.SwGetExplicitContextRequest (var: g6l) +message SwGetExplicitContextRequest { +} + +// Copied from: local:aiserver.v1.SwGetExplicitContextResponse (var: HEs) +message SwGetExplicitContextResponse { + ExplicitContext explicit_context = 1; +} + +// Copied from: local:aiserver.v1.SwGetLinterErrorsRequest (var: v6l) +message SwGetLinterErrorsRequest { + repeated string absolute_paths = 1; +} + +// Copied from: local:aiserver.v1.SwGetLinterErrorsResponse (var: VEs) +message SwGetLinterErrorsResponse { + repeated LinterErrors linter_errors = 1; +} + +// Copied from: local:aiserver.v1.SwGetMcpToolsRequest (var: b6l) +message SwGetMcpToolsRequest { + optional string browser_integration_preference = 1; +} + +// Copied from: local:aiserver.v1.SwGetMcpToolsResponse (var: GEs) +message SwGetMcpToolsResponse { + repeated MCPParams.Tool tools = 1; +} + +// Copied from: local:aiserver.v1.SwProvideTemporaryAccessTokenRequest (var: y6l) +message SwProvideTemporaryAccessTokenRequest { + string access_token = 1; +} + +// Copied from: local:aiserver.v1.SwProvideTemporaryAccessTokenResponse (var: KEs) +message SwProvideTemporaryAccessTokenResponse { +} + +// Copied from: local:aiserver.v1.SwSyncIndexRequest (var: S6l) +message SwSyncIndexRequest { + RepositoryInfo repository_info = 1; + string path_encryption_key = 2; + optional double indexing_progress_threshold = 3; +} + +// Copied from: local:aiserver.v1.SwSyncIndexResponse (var: ZEs) +message SwSyncIndexResponse { +} + +// Copied from: local:aiserver.v1.SwTrackModelRequest (var: h6l) +message SwTrackModelRequest { + string absolute_path = 1; +} + +// Copied from: local:aiserver.v1.SwTrackModelResponse (var: $Es) +message SwTrackModelResponse { +} + +// Copied from: local:aiserver.v1.SwWriteTextFileWithLintsRequest (var: m6l) +message SwWriteTextFileWithLintsRequest { + string absolute_path = 1; + string new_contents = 2; +} + +// Copied from: local:aiserver.v1.SwWriteTextFileWithLintsResponse (var: WEs) +message SwWriteTextFileWithLintsResponse { + repeated LinterError new_linter_errors = 1; +} + +// Copied from: local:aiserver.v1.SwitchCmdKFractionRequest (var: cuv) +message SwitchCmdKFractionRequest { + bool use_turbo = 1; +} + +// Copied from: local:aiserver.v1.SwitchCmdKFractionResponse (var: luv) +message SwitchCmdKFractionResponse { +} + +// Copied from: agent.v1.SwitchModeArgs (var: fSn) +message SwitchModeArgs { + string target_mode_id = 1; + optional string explanation = 2; + string tool_call_id = 3; +} + +// Copied from: local:aiserver.v1.SwitchModeParams (var: sGe) +message SwitchModeParams { + string from_mode_id = 1; + string to_mode_id = 2; + optional string explanation = 3; +} + +// Copied from: agent.v1.SwitchModeRequestQuery (var: e1s) +message SwitchModeRequestQuery { + SwitchModeArgs args = 1; +} + +// Copied from: agent.v1.SwitchModeRequestResponse (var: bSe) +message SwitchModeRequestResponse { + // Copied from: agent.v1.SwitchModeRequestResponse.Approved (var: vSn) + message Approved { + } + + // Copied from: agent.v1.SwitchModeRequestResponse.Rejected (var: kGe) + message Rejected { + string reason = 1; + } + + oneof result { + Approved approved = 1; + Rejected rejected = 2; + } +} + +// Copied from: local:aiserver.v1.SwitchModeResult (var: rFt) +message SwitchModeResult { + string from_mode_id = 1; + string to_mode_id = 2; + bool auto_approved = 3; + bool user_approved = 4; +} + +// Copied from: local:aiserver.v1.SwitchModeStream (var: F_s) +message SwitchModeStream { + SwitchModeParams params = 1; +} + +// Copied from: local:aiserver.v1.SwitchModelAction (var: o_c) +message SwitchModelAction { + // Copied from: local:aiserver.v1.SwitchModelAction.ModelParameterValue (var: a_c) + message ModelParameterValue { + string id = 1; + string value = 2; + } + + optional string suggested_model = 1; + repeated ModelParameterValue parameters = 2; + optional bool max_mode = 3; +} + +// Copied from: local:aiserver.v1.SwitchTeamPrivacyModeRequest (var: khu) +message SwitchTeamPrivacyModeRequest { + int32 team_id = 1; + bool privacy_mode_forced = 2; + PrivacyMode privacy_mode = 3; +} + +// Copied from: local:aiserver.v1.SwitchTeamPrivacyModeResponse (var: Chu) +message SwitchTeamPrivacyModeResponse { +} + +// Copied from: local:aiserver.v1.SymbolActionResultReference (var: tIl) +message SymbolActionResultReference { + SimpleRange range = 1; + FileCodeSnippets reference = 2; +} + +// Copied from: local:aiserver.v1.SymbolActionResults (var: eIl) +message SymbolActionResults { + CodeSymbolWithAction action = 1; + repeated SymbolActionResultReference references = 2; +} + +// Copied from: local:aiserver.v1.SymbolLink (var: OBt) +message SymbolLink { + string symbol_name = 1; + string symbol_search_string = 2; + string relative_workspace_path = 3; + int32 rough_line_number = 4; +} + +// Copied from: local:aiserver.v1.SyncGitlabReposRequest (var: xlu) +message SyncGitlabReposRequest { + string git_enterprise_uuid = 1; +} + +// Copied from: local:aiserver.v1.SyncGitlabReposResponse (var: Tlu) +message SyncGitlabReposResponse { + bool started = 1; + string error_message = 2; +} + +// Copied from: local:aiserver.v1.SyncIndexRequest (var: k_v) +message SyncIndexRequest { + string root_path = 1; + RepositoryInfo repository_info = 2; + string path_encryption_key = 3; + optional double indexing_progress_threshold = 4; + optional bool async = 5; +} + +// Copied from: local:aiserver.v1.SyncIndexResponse (var: C_v) +message SyncIndexResponse { +} + +// Copied from: local:aiserver.v1.SyncLiveActivityRequest (var: AOu) +message SyncLiveActivityRequest { + string device_id = 1; + PushPlatform platform = 2; + string activity_push_token = 3; + LiveActivityContentState content_state = 4; + uint64 state_version = 5; + string bundle_id = 6; +} + +// Copied from: local:aiserver.v1.SyncLiveActivityResponse (var: IOu) +message SyncLiveActivityResponse { +} + +// Copied from: local:aiserver.v1.SyncMerkleSubtreeRequest (var: TIl) +message SyncMerkleSubtreeRequest { + RepositoryInfo repository = 1; + PartialPathItem local_partial_path = 2; +} + +// Copied from: local:aiserver.v1.SyncMerkleSubtreeResponse (var: AIl) +message SyncMerkleSubtreeResponse { + // Copied from: local:aiserver.v1.SyncMerkleSubtreeResponse.Mismatch (var: IIl) + message Mismatch { + repeated PartialPathItem children = 1; + } + + oneof result { + bool match = 1; + Mismatch mismatch = 2; + } +} + +// Copied from: local:aiserver.v1.SyncMerkleSubtreeV2Request (var: RIl) +message SyncMerkleSubtreeV2Request { + ClientRepositoryInfo client_repository_info = 1; + string codebase_id = 2; + PartialPathItem local_partial_path = 3; + repeated PartialPathItem local_partial_paths = 4; +} + +// Copied from: local:aiserver.v1.SyncMerkleSubtreeV2Response (var: DIl) +message SyncMerkleSubtreeV2Response { + // Copied from: local:aiserver.v1.SyncMerkleSubtreeV2Response.Mismatch (var: bfs) + message Mismatch { + repeated PartialPathItem children = 1; + } + + // Copied from: local:aiserver.v1.SyncMerkleSubtreeV2Response.PartialPathResult (var: MIl) + message PartialPathResult { + oneof result { + bool match = 1; + SyncMerkleSubtreeV2Response.Mismatch mismatch = 2; + bool response_size_limit_exceeded = 3; + } + } + + repeated PartialPathResult results = 3; + oneof result { + bool match = 1; + Mismatch mismatch = 2; + } +} + +// Copied from: local:aiserver.v1.SyncRepositoryRequest (var: Je) +message SyncRepositoryRequest { + int32 codebase_id = 1; +} + +// Copied from: local:aiserver.v1.SyncRepositoryResponse (var: Ce) +message SyncRepositoryResponse { +} + +// Copied from: local:aiserver.v1.SynthesisSubagentConfig (var: BOu) +message SynthesisSubagentConfig { + repeated string additional_model_names = 1; + bytes original_user_prompt_blob_id = 2; +} + +// Copied from: agent.v1.SystemContextInjection (var: l9l) +message SystemContextInjection { + string producer = 1; + string content = 2; +} + +// Copied from: local:aiserver.v1.SystemMetadata (var: K8s) +message SystemMetadata { + google.protobuf.Timestamp timestamp = 1; + optional double memory_used_mb = 2; + optional double memory_total_mb = 3; + optional double cpu_usage_percent = 4; + optional int32 active_tabs_count = 5; + optional int32 open_editors_count = 6; + optional bool window_focused = 7; + optional string window_size = 8; + map additional_metadata = 9; +} + +// Copied from: agent.v1.SystemPromptSpec (var: uTi) +message SystemPromptSpec { + oneof spec { + string replace = 1; + string append = 2; + } +} + +// Copied from: local:aiserver.v1.TabCloseEvent (var: C7l) +message TabCloseEvent { + MaybeDefinedPointInTimeModel point_in_time_model = 1; +} + +// Copied from: local:aiserver.v1.TakeNotesOnCommitDiffRequest (var: Czl) +message TakeNotesOnCommitDiffRequest { + CommitDiffString diff = 1; + string commit_hash = 2; +} + +// Copied from: local:aiserver.v1.TakeNotesOnCommitDiffResponse (var: Ezl) +message TakeNotesOnCommitDiffResponse { + repeated CommitNoteWithEmbeddings notes = 1; +} + +// Copied from: agent.v1.TargetMachine (var: rEs) +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:aiserver.v1.TaskGetInterfaceAgentStatusRequest (var: LKl) +message TaskGetInterfaceAgentStatusRequest { + InterfaceAgentClientState interface_agent_client_state = 1; +} + +// Copied from: local:aiserver.v1.TaskGetInterfaceAgentStatusResponse (var: NKl) +message TaskGetInterfaceAgentStatusResponse { + InterfaceAgentStatus status = 1; +} + +// Copied from: local:aiserver.v1.TaskGetInterfaceAgentStatusResponseWrapped (var: OKl) +message TaskGetInterfaceAgentStatusResponseWrapped { + oneof response { + TaskGetInterfaceAgentStatusResponse real_response = 1; + string background_task_uuid = 2; + } +} + +// Copied from: local:aiserver.v1.TaskInfoRequest (var: VKl) +message TaskInfoRequest { + string task_uuid = 1; +} + +// Copied from: local:aiserver.v1.TaskInfoResponse (var: JIs) +message TaskInfoResponse { + string human_readable_title = 1; + TaskStatus task_status = 2; + int32 last_log_sequence_number = 3; +} + +// Copied from: local:aiserver.v1.TaskInitRequest (var: FKl) +message TaskInitRequest { + TaskInstruction instruction = 1; + ModelDetails model_details = 2; + bool debugging_only_live_mode = 3; + optional string engine_id = 4; +} + +// Copied from: local:aiserver.v1.TaskInitResponse (var: BKl) +message TaskInitResponse { + string task_uuid = 1; + string human_readable_title = 2; +} + +// Copied from: local:aiserver.v1.TaskInstruction (var: ZIs) +message TaskInstruction { + // Copied from: local:aiserver.v1.TaskInstruction.CodeChunk (var: wKl) + message CodeChunk { + string relative_workspace_path = 1; + int32 start_line_number = 2; + repeated string lines = 3; + } + + string text = 1; + repeated CodeChunk attached_code_chunks = 2; + CurrentFileInfo current_file = 3; + repeated RepositoryInfo repositories = 4; + ExplicitContext explicit_context = 5; +} + +// Copied from: local:aiserver.v1.TaskLogItem (var: zKl) +message TaskLogItem { + int32 sequence_number = 1; + bool is_not_done = 2; + oneof log_item { + TaskLogOutput output = 3; + TaskLogToolAction tool_action = 4; + TaskLogThought thought = 5; + TaskUserMessage user_message = 6; + TaskInstruction instruction = 7; + TaskLogToolResult tool_result = 8; + } +} + +// Copied from: local:aiserver.v1.TaskLogOutput (var: $Kl) +message TaskLogOutput { + string text = 1; +} + +// Copied from: local:aiserver.v1.TaskLogThought (var: WKl) +message TaskLogThought { + string text = 1; +} + +// Copied from: local:aiserver.v1.TaskLogToolAction (var: jKl) +message TaskLogToolAction { + string user_facing_text = 1; + string raw_model_output = 3; + ToolCall tool_call = 2; +} + +// Copied from: local:aiserver.v1.TaskLogToolResult (var: HKl) +message TaskLogToolResult { + ToolResult tool_result = 1; + int32 action_sequence_number = 2; +} + +// Copied from: agent.v1.TaskMode (var: __n) +enum TaskMode { + TASK_MODE_UNSPECIFIED = 0; + TASK_MODE_AGENT = 1; + TASK_MODE_PLAN = 2; +} + +// Copied from: local:aiserver.v1.TaskParams (var: X0i) +message TaskParams { + string task_description = 1; + string task_title = 4; + optional bool async = 2; + repeated string allowed_write_directories = 3; + optional string model_override = 5; + optional bool max_mode_override = 6; + optional bool default_expanded_while_running = 7; +} + +// Copied from: local:aiserver.v1.TaskPauseRequest (var: GKl) +message TaskPauseRequest { + string task_uuid = 1; +} + +// Copied from: local:aiserver.v1.TaskPauseResponse (var: qKl) +message TaskPauseResponse { +} + +// Copied from: local:aiserver.v1.TaskProvideResultRequest (var: YKl) +message TaskProvideResultRequest { + string task_uuid = 1; + int32 action_sequence_number = 2; + ToolResult tool_result = 3; +} + +// Copied from: local:aiserver.v1.TaskProvideResultResponse (var: ZKl) +message TaskProvideResultResponse { +} + +// Copied from: local:aiserver.v1.TaskResult (var: l_s) +message TaskResult { + // Copied from: local:aiserver.v1.TaskResult.AsyncTaskResult (var: u_s) + message AsyncTaskResult { + string task_id = 1; + bool user_aborted = 2; + bool subagent_errored = 3; + } + + // Copied from: local:aiserver.v1.TaskResult.CompletedTaskResult (var: J0i) + message CompletedTaskResult { + string summary = 1; + repeated FixLintsResult.FileResult file_results = 2; + bool user_aborted = 3; + bool subagent_errored = 4; + } + + oneof result { + CompletedTaskResult completed_task_result = 1; + AsyncTaskResult async_task_result = 2; + } +} + +// Copied from: local:aiserver.v1.TaskSendMessageRequest (var: XKl) +message TaskSendMessageRequest { + string task_uuid = 1; + TaskUserMessage user_message = 2; + bool wants_attention_right_now = 3; +} + +// Copied from: local:aiserver.v1.TaskSendMessageResponse (var: JKl) +message TaskSendMessageResponse { +} + +// Copied from: local:aiserver.v1.TaskStatus (var: hIs) +enum TaskStatus { + TASK_STATUS_UNSPECIFIED = 0; + TASK_STATUS_RUNNING = 1; + TASK_STATUS_PAUSED = 2; + TASK_STATUS_DONE = 3; + TASK_STATUS_NOT_STARTED = 4; +} + +// Copied from: local:aiserver.v1.TaskStream (var: d_s) +message TaskStream { +} + +// Copied from: local:aiserver.v1.TaskStreamChatContextRequest (var: TVl) +message TaskStreamChatContextRequest { + CurrentFileInfo current_file = 1; + repeated ConversationMessage conversation = 2; + repeated RepositoryInfo repositories = 3; + ExplicitContext explicit_context = 4; + optional string workspace_root_path = 5; + repeated CodeBlock code_blocks = 6; + ModelDetails model_details = 7; + repeated string documentation_identifiers = 8; + LinterErrors linter_errors = 14; + AdvancedCodebaseContextOptions advanced_codebase_context = 15; + optional bool is_eval = 16; + string request_id = 17; + optional int32 desired_token_limit = 18; +} + +// Copied from: local:aiserver.v1.TaskStreamChatContextResponse (var: IVl) +message TaskStreamChatContextResponse { + // Copied from: local:aiserver.v1.TaskStreamChatContextResponse.GatheringFile (var: DVl) + message GatheringFile { + string relative_workspace_path = 1; + SimpleRange range = 2; + int32 step_index = 3; + float score = 4; + } + + // Copied from: local:aiserver.v1.TaskStreamChatContextResponse.GatheringStep (var: MVl) + message GatheringStep { + string title = 1; + int32 index = 2; + string query = 3; + } + + // Copied from: local:aiserver.v1.TaskStreamChatContextResponse.Output (var: RVl) + message Output { + string text = 1; + } + + // Copied from: local:aiserver.v1.TaskStreamChatContextResponse.ReasoningStep (var: NVl) + message ReasoningStep { + string title = 1; + int32 index = 2; + } + + // Copied from: local:aiserver.v1.TaskStreamChatContextResponse.ReasoningSubstep (var: OVl) + message ReasoningSubstep { + string markdown_explanation = 1; + int32 step_index = 2; + } + + // Copied from: local:aiserver.v1.TaskStreamChatContextResponse.RerankingFile (var: LVl) + message RerankingFile { + string relative_workspace_path = 1; + SimpleRange range = 2; + string reason = 3; + bool failed = 4; + float score = 5; + int32 step_index = 6; + } + + // Copied from: local:aiserver.v1.TaskStreamChatContextResponse.RerankingStep (var: PVl) + message RerankingStep { + string title = 1; + int32 index = 2; + } + + oneof response { + Output output = 1; + GatheringStep gathering_step = 2; + GatheringFile gathering_file = 3; + RerankingStep reranking_step = 4; + RerankingFile reranking_file = 5; + ReasoningStep reasoning_step = 6; + ReasoningSubstep reasoning_substep = 7; + } +} + +// Copied from: local:aiserver.v1.TaskStreamChatContextResponseWrapped (var: FVl) +message TaskStreamChatContextResponseWrapped { + oneof response { + TaskStreamChatContextResponse real_response = 1; + string background_task_uuid = 2; + } +} + +// Copied from: local:aiserver.v1.TaskStreamLogRequest (var: UKl) +message TaskStreamLogRequest { + string task_uuid = 1; + int32 start_sequence_number = 2; +} + +// Copied from: local:aiserver.v1.TaskStreamLogResponse (var: KKl) +message TaskStreamLogResponse { + // Copied from: local:aiserver.v1.TaskStreamLogResponse.InfoUpdate (var: QKl) + message InfoUpdate { + optional string human_readable_title = 1; + optional TaskStatus task_status = 2; + } + + oneof response { + TaskLogItem streamed_log_item = 1; + InfoUpdate info_update = 2; + TaskInfoResponse initial_task_info = 3; + } +} + +// Copied from: local:aiserver.v1.TaskSubagentParams (var: ATs) +message TaskSubagentParams { + string task_description = 1; + repeated string allowed_write_directories = 2; +} + +// Copied from: local:aiserver.v1.TaskSubagentReturnValue (var: ITs) +message TaskSubagentReturnValue { + string summary = 1; +} + +// Copied from: agent.v1.TaskToolCallDelta (var: $4l) +message TaskToolCallDelta { + InteractionUpdate interaction_update = 1; +} + +// Copied from: local:aiserver.v1.TaskUserMessage (var: XIs) +message TaskUserMessage { + // Copied from: local:aiserver.v1.TaskUserMessage.CodeChunk (var: kKl) + message CodeChunk { + string relative_workspace_path = 1; + int32 start_line_number = 2; + repeated string lines = 3; + } + + string text = 1; + repeated CodeChunk attached_code_chunks = 2; +} + +// Copied from: local:aiserver.v1.TaskV2Params (var: IFe) +message TaskV2Params { + string description = 1; + string prompt = 2; + string subagent_type = 3; + optional string model = 4; + string name = 5; + TaskMode mode = 6; +} + +// Copied from: local:aiserver.v1.TaskV2Result (var: RFe) +message TaskV2Result { + optional string agent_id = 1; + bool is_background = 2; + optional string cloud_agent_bc_id = 3; +} + +// Copied from: local:aiserver.v1.TaskV2Stream (var: h_s) +message TaskV2Stream { +} + +// Copied from: local:aiserver.v1.Team (var: S2s) +message Team { + string name = 1; + int32 id = 2; + TeamRole role = 3; + int32 seats = 4; + bool has_billing = 5; + int32 request_quota_per_seat = 6; + bool privacy_mode_forced = 7; + bool allow_sso = 8; + bool admin_only_usage_pricing = 9; + string subscription_status = 10; + string bedrock_iam_role = 11; + bool verified = 12; + bool is_enterprise = 13; + bool privacy_mode_migration_opted_out = 14; + string bedrock_external_id = 15; + string membership_type = 16; + optional int32 purchased_seats = 17; + optional int64 billing_cycle_start = 18; + optional int64 billing_cycle_end = 19; + optional string pricing_strategy = 20; + optional int32 total_committed_dollars = 21; + bool data_sharing_discount_eligible = 22; + bool dashboard_analytics_requires_admin = 23; + bool individual_spend_limits_blocked = 24; + bool allow_domain_join = 25; + repeated string domain_join_domains = 26; + bool sso_enabled = 27; + optional int64 customer_balance_cents = 28; + bool scim_require_user_directory = 29; + bool self_serve_tiered_pricing_enabled = 30; + bool new_member_usage_promo_eligible = 31; + optional int64 deleted_at_ms = 34; + repeated string granted_permissions = 35; + bool is_direct_member = 36; + string team_slug = 37; +} + +// Copied from: local:aiserver.v1.TeamAdminModelRef (var: iNs) +message TeamAdminModelRef { + // Copied from: local:aiserver.v1.TeamAdminModelRef.ModelParameterValue (var: rNs) + message ModelParameterValue { + string id = 1; + string value = 2; + } + + string model_id = 1; + repeated ModelParameterValue parameters = 2; +} + +// Copied from: local:aiserver.v1.TeamAdminNewChatModelResetRule (var: nbu) +message TeamAdminNewChatModelResetRule { + TeamAdminModelRef source_model = 1; + TeamAdminModelRef target_model = 2; +} + +// Copied from: local:aiserver.v1.TeamAdminNewChatModelResetSettings (var: sNs) +message TeamAdminNewChatModelResetSettings { + bool enabled = 1; + repeated TeamAdminNewChatModelResetRule rules = 2; +} + +// Copied from: local:aiserver.v1.TeamCommand (var: lCn) +message TeamCommand { + string id = 1; + string name = 2; + string content = 3; + optional string description = 4; + bool is_active = 5; +} + +// Copied from: local:aiserver.v1.TeamCustomerTelemetryDestination (var: RDi) +message TeamCustomerTelemetryDestination { + string id = 1; + TeamCustomerTelemetryDestinationKind kind = 2; + string endpoint_url = 3; + bool enabled = 4; + bool metrics_enabled = 5; + bool logs_enabled = 6; + bool has_credentials = 7; + int64 activated_at_epoch_millis = 8; + int64 created_at_epoch_millis = 9; + int64 updated_at_epoch_millis = 10; + repeated string credential_header_names = 11; + repeated string disabled_families = 12; + repeated string enabled_families = 13; + bool auto_enable_new_families = 14; +} + +// Copied from: local:aiserver.v1.TeamCustomerTelemetryDestinationFamily (var: m1u) +message TeamCustomerTelemetryDestinationFamily { + string id = 1; + string display_name = 2; + string description = 3; + bool metrics = 4; + bool logs = 5; +} + +// Copied from: local:aiserver.v1.TeamCustomerTelemetryDestinationFamilyList (var: oCn) +message TeamCustomerTelemetryDestinationFamilyList { + repeated string ids = 1; +} + +// Copied from: local:aiserver.v1.TeamCustomerTelemetryDestinationHeaders (var: IDi) +message TeamCustomerTelemetryDestinationHeaders { + map values = 1; +} + +// Copied from: local:aiserver.v1.TeamCustomerTelemetryDestinationHealthBucket (var: E1u) +message TeamCustomerTelemetryDestinationHealthBucket { + int64 bucket_start_epoch_millis = 1; + int64 exported = 2; + int64 failed = 3; + int64 dropped = 4; +} + +// Copied from: local:aiserver.v1.TeamCustomerTelemetryDestinationHealthStatus (var: Ncu) +enum TeamCustomerTelemetryDestinationHealthStatus { + TEAM_CUSTOMER_TELEMETRY_DESTINATION_HEALTH_STATUS_UNSPECIFIED = 0; + TEAM_CUSTOMER_TELEMETRY_DESTINATION_HEALTH_STATUS_HEALTHY = 1; + TEAM_CUSTOMER_TELEMETRY_DESTINATION_HEALTH_STATUS_DEGRADED = 2; + TEAM_CUSTOMER_TELEMETRY_DESTINATION_HEALTH_STATUS_FAILING = 3; + TEAM_CUSTOMER_TELEMETRY_DESTINATION_HEALTH_STATUS_IDLE = 4; +} + +// Copied from: local:aiserver.v1.TeamCustomerTelemetryDestinationKind (var: Mcu) +enum TeamCustomerTelemetryDestinationKind { + TEAM_CUSTOMER_TELEMETRY_DESTINATION_KIND_UNSPECIFIED = 0; + TEAM_CUSTOMER_TELEMETRY_DESTINATION_KIND_OTLP_HTTP = 1; +} + +// Copied from: local:aiserver.v1.TeamCustomerTelemetryDestinationRecentError (var: x1u) +message TeamCustomerTelemetryDestinationRecentError { + int64 at_epoch_millis = 1; + string error_class = 2; + optional int32 status_code = 3; + string signal = 4; +} + +// Copied from: local:aiserver.v1.TeamCustomerTelemetryDestinationTestOutcome (var: Lcu) +enum TeamCustomerTelemetryDestinationTestOutcome { + TEAM_CUSTOMER_TELEMETRY_DESTINATION_TEST_OUTCOME_UNSPECIFIED = 0; + TEAM_CUSTOMER_TELEMETRY_DESTINATION_TEST_OUTCOME_OK = 1; + TEAM_CUSTOMER_TELEMETRY_DESTINATION_TEST_OUTCOME_VALIDATION_ERROR = 2; + TEAM_CUSTOMER_TELEMETRY_DESTINATION_TEST_OUTCOME_HTTP_ERROR = 3; + TEAM_CUSTOMER_TELEMETRY_DESTINATION_TEST_OUTCOME_REDIRECT = 4; + TEAM_CUSTOMER_TELEMETRY_DESTINATION_TEST_OUTCOME_TIMED_OUT = 5; + TEAM_CUSTOMER_TELEMETRY_DESTINATION_TEST_OUTCOME_TLS_ERROR = 6; + TEAM_CUSTOMER_TELEMETRY_DESTINATION_TEST_OUTCOME_NETWORK_ERROR = 7; +} + +// Copied from: local:aiserver.v1.TeamCustomerTelemetryDestinationTestSignal (var: Pcu) +enum TeamCustomerTelemetryDestinationTestSignal { + TEAM_CUSTOMER_TELEMETRY_DESTINATION_TEST_SIGNAL_UNSPECIFIED = 0; + TEAM_CUSTOMER_TELEMETRY_DESTINATION_TEST_SIGNAL_LOGS = 1; + TEAM_CUSTOMER_TELEMETRY_DESTINATION_TEST_SIGNAL_METRICS = 2; +} + +// Copied from: local:aiserver.v1.TeamEnvironment (var: h2u) +message TeamEnvironment { + int64 id = 1; + int32 team_id = 2; + string repo_url = 3; + string environment_json = 4; + int32 created_by_user_id = 5; + int64 created_at_ms = 6; + int64 updated_at_ms = 7; + string scm_repo_node_id = 8; + optional string git_enterprise_uuid = 9; + optional string environment_public_id = 10; +} + +// Copied from: local:aiserver.v1.TeamFollowupEnabledMode (var: _cu) +enum TeamFollowupEnabledMode { + TEAM_FOLLOWUP_ENABLED_MODE_UNSPECIFIED = 0; + TEAM_FOLLOWUP_ENABLED_MODE_DISABLED = 1; + TEAM_FOLLOWUP_ENABLED_MODE_SERVICE_ACCOUNTS_ONLY = 2; + TEAM_FOLLOWUP_ENABLED_MODE_ALL = 3; +} + +// Copied from: local:aiserver.v1.TeamGroup (var: Kkn) +message TeamGroup { + int64 id = 1; + string name = 2; + int32 team_id = 3; + int64 created_at = 4; + int64 updated_at = 5; + int32 member_count = 6; + string public_id = 7; + optional int32 monthly_spending_limit_dollars = 8; + bool ant_cyber_approved = 9; + optional AnthropicCyberVerificationStatus ant_cyber_verification_status = 10; + GroupVisibility visibility = 11; +} + +// Copied from: local:aiserver.v1.TeamGroupMember (var: h2s) +message TeamGroupMember { + int32 user_id = 1; + optional string email = 2; + optional string first_name = 3; + optional string last_name = 4; + int64 joined_at = 5; + optional int32 monthly_spending_limit_dollars = 6; +} + +// Copied from: local:aiserver.v1.TeamHook (var: cCn) +message TeamHook { + int32 id = 1; + string hook_step = 2; + string script_name = 3; + repeated string operating_systems = 4; + bool is_active = 5; + optional string script_content = 6; + optional string hook_type = 7; + optional string prompt_content = 8; + optional string prompt_model = 9; +} + +// Copied from: local:aiserver.v1.TeamLlmGatewayCredentialStatus (var: eCn) +message TeamLlmGatewayCredentialStatus { + bool configured = 1; + optional int32 credential_version = 2; + optional int64 updated_at_epoch_millis = 3; +} + +// Copied from: local:aiserver.v1.TeamMarketplaceConfig (var: $Au) +message TeamMarketplaceConfig { + repeated int64 directory_group_ids = 1; + optional int32 configured_by = 2; + int64 created_at = 3; + int64 updated_at = 4; + repeated MarketplaceAccessGrant access_grants = 5; +} + +// Copied from: local:aiserver.v1.TeamMarketplacePluginInstallMode (var: RH) +enum TeamMarketplacePluginInstallMode { + TEAM_MARKETPLACE_PLUGIN_INSTALL_MODE_OPTIONAL = 0; + TEAM_MARKETPLACE_PLUGIN_INSTALL_MODE_DEFAULT = 1; + TEAM_MARKETPLACE_PLUGIN_INSTALL_MODE_REQUIRED = 2; +} + +// Copied from: local:aiserver.v1.TeamMarketplacePluginPolicy (var: GAu) +message TeamMarketplacePluginPolicy { + int64 plugin_id = 1; + TeamMarketplacePluginInstallMode install_mode = 2; + optional int32 configured_by = 3; + int64 created_at = 4; + int64 updated_at = 5; +} + +// Copied from: local:aiserver.v1.TeamMember (var: dgu) +message TeamMember { + string name = 1; + string email = 4; + int32 id = 2; + TeamRole role = 3; + bool is_removed = 5; + TeamMemberBillingTier billing_tier = 6; + TeamMemberBillingTier pending_billing_tier = 7; + bool role_is_managed = 8; +} + +// Copied from: local:aiserver.v1.TeamMemberBillingTier (var: _Be) +enum TeamMemberBillingTier { + TEAM_MEMBER_BILLING_TIER_UNSPECIFIED = 0; + TEAM_MEMBER_BILLING_TIER_TIER_1000 = 1; + TEAM_MEMBER_BILLING_TIER_TIER_2000 = 2; +} + +// Copied from: local:aiserver.v1.TeamMemberDomain (var: Tfu) +message TeamMemberDomain { + string domain = 1; + int32 member_count = 2; + bool is_enabled = 3; +} + +// Copied from: local:aiserver.v1.TeamMemberSandBoxPod (var: Xmv) +message TeamMemberSandBoxPod { + string cluster = 1; + string pod_id = 2; + string tenant_id = 3; + string flavor = 4; + string run_state = 5; + optional string image_tag = 6; + optional int64 created_at_ms = 7; + optional int64 last_active_at_ms = 8; + optional string node_id = 9; + optional string failure_reason = 10; +} + +// Copied from: local:aiserver.v1.TeamPluginInstall (var: $Di) +message TeamPluginInstall { + int32 team_id = 1; + int64 plugin_id = 2; + optional int32 added_by_user_id = 3; + bool is_required = 4; + int64 created_at = 6; + int64 updated_at = 7; + Plugin plugin = 8; + optional string pinned_git_ref = 10; +} + +// Copied from: local:aiserver.v1.TeamPluginPopularityCount (var: bAu) +message TeamPluginPopularityCount { + int64 plugin_id = 1; + int32 member_install_count = 2; +} + +// Copied from: local:aiserver.v1.TeamPluginPrimitiveUsageRow (var: yAu) +message TeamPluginPrimitiveUsageRow { + string primitive_name = 1; + int64 plugin_id = 2; + PluginPrimitiveType primitive_type = 3; + uint64 usage_count = 4; + uint64 human_usage_count = 5; + uint64 agent_usage_count = 6; +} + +// Copied from: local:aiserver.v1.TeamRole (var: IH) +enum TeamRole { + TEAM_ROLE_UNSPECIFIED = 0; + TEAM_ROLE_OWNER = 1; + TEAM_ROLE_MEMBER = 2; + TEAM_ROLE_FREE_OWNER = 3; + TEAM_ROLE_REMOVED = 4; +} + +// Copied from: local:aiserver.v1.TeamRoleCount (var: oyu) +message TeamRoleCount { + TeamRole role = 1; + int32 count = 2; +} + +// Copied from: local:aiserver.v1.TeamRuleAgentType (var: zkn) +enum TeamRuleAgentType { + TEAM_RULE_AGENT_TYPE_UNSPECIFIED = 0; + TEAM_RULE_AGENT_TYPE_ALL = 1; + TEAM_RULE_AGENT_TYPE_SAND = 2; + TEAM_RULE_AGENT_TYPE_CURSOR = 3; +} + +// Copied from: local:aiserver.v1.TeamSkill (var: $Tu) +message TeamSkill { +} + +// Copied from: local:aiserver.v1.TeamSubagent (var: jTu) +message TeamSubagent { +} + +// Copied from: local:aiserver.v1.TeamWorkerLimitSummary (var: HFu) +message TeamWorkerLimitSummary { + int32 total_connected = 1; + int32 max_workers = 2; +} + +// Copied from: local:aiserver.v1.TeamWorkerSummary (var: WFu) +message TeamWorkerSummary { + int32 total_connected = 1; + int32 in_use = 2; +} + +// Copied from: local:aiserver.v1.TerminalCmdKOptions (var: ZAs) +message TerminalCmdKOptions { + ModelDetails model_details = 3; + bool chat_mode = 1; + bool ada_cmd_k_context = 2; + optional bool use_web = 4; +} + +// Copied from: local:aiserver.v1.TerminalCommandRequest (var: Muv) +message TerminalCommandRequest { + string response = 1; +} + +// Copied from: local:aiserver.v1.TerminalCommandResponse (var: Puv) +message TerminalCommandResponse { + string command = 1; + optional double timeout = 2; + optional bool is_run_server = 3; +} + +// Copied from: local:aiserver.v1.TerminalEvent (var: $7l) +message TerminalEvent { + // Copied from: local:aiserver.v1.TerminalEvent.CommandFinish (var: z7l) + message CommandFinish { + PointInTimeModel point_in_time_model = 1; + optional int32 exit_code = 2; + } + + // Copied from: local:aiserver.v1.TerminalEvent.CommandStart (var: H7l) + message CommandStart { + PointInTimeModel point_in_time_model = 1; + optional string cwd = 2; + } + + // Copied from: local:aiserver.v1.TerminalEvent.Create (var: j7l) + message Create { + bool is_remote = 1; + } + + // Copied from: local:aiserver.v1.TerminalEvent.Exit (var: W7l) + message Exit { + optional int32 exit_code = 1; + } + + string uri = 1; + oneof event { + Create create = 2; + Exit exit = 3; + CommandStart command_start = 4; + CommandFinish command_finish = 5; + } +} + +// Copied from: agent.v1.TerminalMetadata (var: k0i) +message TerminalMetadata { + // Copied from: agent.v1.TerminalMetadata.Command (var: S_n) + 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:aiserver.v1.TerminalTipConfig (var: M8u) +message TerminalTipConfig { + string message = 1; + bool enabled = 2; +} + +// Copied from: local:aiserver.v1.TestAutomationFilterRequest (var: dHu) +message TestAutomationFilterRequest { + string automation_id = 1; + optional int32 trigger_index = 11; + optional string test_repo = 12; + optional string test_branch = 13; + oneof sample_payload { + CronSamplePayload cron = 2; + PullRequestSamplePayload pull_request = 3; + PushSamplePayload push = 4; + SlackSamplePayload slack = 5; + LinearSamplePayload linear = 6; + CICompletedSamplePayload ci_completed = 7; + WebhookSamplePayload webhook = 8; + SlackChannelCreatedSamplePayload slack_channel_created = 9; + PagerDutySamplePayload pagerduty = 10; + SentrySamplePayload sentry = 15; + MicrosoftTeamsSamplePayload microsoft_teams = 16; + MicrosoftTeamsChannelCreatedSamplePayload microsoft_teams_channel_created = 17; + SlackReactionAddedSamplePayload slack_reaction_added = 18; + } +} + +// Copied from: local:aiserver.v1.TestAutomationFilterResponse (var: hHu) +message TestAutomationFilterResponse { + AutomationFilterDecision decision = 1; + optional string rationale = 2; + optional string error_message = 3; +} + +// Copied from: local:aiserver.v1.TestAutomationRequest (var: nHu) +message TestAutomationRequest { + string automation_id = 8; + optional int32 trigger_index = 12; + optional string test_repo = 13; + optional string test_branch = 14; + oneof sample_payload { + CronSamplePayload cron = 2; + PullRequestSamplePayload pull_request = 3; + PushSamplePayload push = 4; + SlackSamplePayload slack = 5; + LinearSamplePayload linear = 6; + CICompletedSamplePayload ci_completed = 7; + WebhookSamplePayload webhook = 9; + SlackChannelCreatedSamplePayload slack_channel_created = 10; + PagerDutySamplePayload pagerduty = 11; + SentrySamplePayload sentry = 15; + MicrosoftTeamsSamplePayload microsoft_teams = 16; + MicrosoftTeamsChannelCreatedSamplePayload microsoft_teams_channel_created = 17; + SlackReactionAddedSamplePayload slack_reaction_added = 18; + } +} + +// Copied from: local:aiserver.v1.TestAutomationResponse (var: iHu) +message TestAutomationResponse { + string message = 1; + optional string background_composer_id = 2; + optional string run_uuid = 3; +} + +// Copied from: local:aiserver.v1.TestBedrockCredentialsRequest (var: lYl) +message TestBedrockCredentialsRequest { + string access_key = 1; + string secret_key = 2; + string region = 3; + string model_name = 4; +} + +// Copied from: local:aiserver.v1.TestBedrockCredentialsResponse (var: uYl) +message TestBedrockCredentialsResponse { + bool success = 1; + optional string error = 2; +} + +// Copied from: local:aiserver.v1.TestBidiRequest (var: oHl) +message TestBidiRequest { + string message = 1; +} + +// Copied from: local:aiserver.v1.TestBidiResponse (var: aHl) +message TestBidiResponse { + string message = 1; +} + +// Copied from: local:aiserver.v1.TestCaseInfo (var: fqd) +message TestCaseInfo { + string local_id = 1; + string suite_local_id = 2; + string name = 3; + optional string conceptual_test_id = 4; + optional google.protobuf.Struct metadata = 5; +} + +// Copied from: local:aiserver.v1.TestModelStatusRequest (var: MHl) +message TestModelStatusRequest { + string model_name = 1; +} + +// Copied from: local:aiserver.v1.TestModelStatusResponse (var: PHl) +message TestModelStatusResponse { + string text = 1; + float latency = 2; + float ttft = 3; + float max_time_between_chunks = 4; + string server_timing = 5; +} + +// Copied from: local:aiserver.v1.TestSuiteInfo (var: gqd) +message TestSuiteInfo { + string local_id = 1; + string process_local_id = 2; + string file_path = 3; + string name = 4; + optional google.protobuf.Struct metadata = 5; +} + +// Copied from: local:aiserver.v1.TestTeamCustomerTelemetryDestinationConnectionRequest (var: k1u) +message TestTeamCustomerTelemetryDestinationConnectionRequest { + int32 team_id = 1; + string endpoint_url = 2; + optional TeamCustomerTelemetryDestinationHeaders headers = 3; + TeamCustomerTelemetryDestinationTestSignal signal = 4; +} + +// Copied from: local:aiserver.v1.TestTeamCustomerTelemetryDestinationConnectionResponse (var: C1u) +message TestTeamCustomerTelemetryDestinationConnectionResponse { + bool ok = 1; + TeamCustomerTelemetryDestinationTestOutcome outcome = 2; + optional int32 status_code = 3; + optional int64 latency_ms = 4; + string message = 5; +} + +// Copied from: agent.v1.TextDeltaUpdate (var: RBt) +message TextDeltaUpdate { + string text = 1; + bool is_server_notice = 2; +} + +// Copied from: agent.v1.ThinkingCompletedUpdate (var: MTi) +message ThinkingCompletedUpdate { + int32 thinking_duration_ms = 1; +} + +// Copied from: agent.v1.ThinkingDeltaUpdate (var: DTi) +message ThinkingDeltaUpdate { + string text = 1; + optional ThinkingStyle thinking_style = 2; +} + +// Copied from: agent.v1.ThinkingStyle (var: xBt) +enum ThinkingStyle { + THINKING_STYLE_UNSPECIFIED = 0; + THINKING_STYLE_DEFAULT = 1; + THINKING_STYLE_CODEX = 2; + THINKING_STYLE_GPT5 = 3; +} + +// Copied from: local:aiserver.v1.ThirdPartyUsageNudge (var: V_u) +message ThirdPartyUsageNudge { + string experiment_name = 1; + string group = 2; + int32 threshold = 3; + string cycle_id = 4; + string target_model = 5; + string label = 6; + string cta_label = 7; + string nudge_id = 8; + string description = 9; +} + +// Copied from: local:aiserver.v1.ThrowErrorCheckRequest (var: sGl) +message ThrowErrorCheckRequest { + ErrorDetails.Error error = 1; +} + +// Copied from: local:aiserver.v1.ThrowErrorCheckResponse (var: oGl) +message ThrowErrorCheckResponse { +} + +// Copied from: local:aiserver.v1.TimeLeftHealthCheckResponse (var: PGl) +message TimeLeftHealthCheckResponse { + string time_left = 1; +} + +// Copied from: agent.v1.TimeoutBehavior (var: eAl) +enum TimeoutBehavior { + TIMEOUT_BEHAVIOR_UNSPECIFIED = 0; + TIMEOUT_BEHAVIOR_CANCEL = 1; + TIMEOUT_BEHAVIOR_BACKGROUND = 2; +} + +// Copied from: local:aiserver.v1.TimingInfo (var: eIs) +message TimingInfo { + double user_input_time = 1; + double stream_cmdk_time = 2; +} + +// Copied from: local:aiserver.v1.ToCamelCaseRequest (var: Gzl) +message ToCamelCaseRequest { + string text = 1; +} + +// Copied from: local:aiserver.v1.ToCamelCaseResponse (var: qzl) +message ToCamelCaseResponse { + string text = 1; +} + +// Copied from: local:aiserver.v1.TodoItem (var: pT) +message TodoItem { + string content = 1; + string status = 2; + string id = 3; + repeated string dependencies = 4; +} + +// Copied from: local:aiserver.v1.TodoReadParams (var: ryn) +message TodoReadParams { + bool read = 1; +} + +// Copied from: local:aiserver.v1.TodoReadResult (var: n1i) +message TodoReadResult { + repeated TodoItem todos = 1; +} + +// Copied from: local:aiserver.v1.TodoReadStream (var: b_s) +message TodoReadStream { +} + +// Copied from: local:aiserver.v1.TodoWriteParams (var: hht) +message TodoWriteParams { + repeated TodoItem todos = 1; + bool merge = 2; +} + +// Copied from: local:aiserver.v1.TodoWriteResult (var: DFe) +message TodoWriteResult { + bool success = 1; + repeated string ready_task_ids = 2; + bool needs_in_progress_todos = 3; + repeated TodoItem final_todos = 4; + repeated TodoItem initial_todos = 5; + bool was_merge = 6; +} + +// Copied from: local:aiserver.v1.TodoWriteStream (var: __s) +message TodoWriteStream { +} + +// Copied from: local:aiserver.v1.ToggleMarketingEmailOptRequest (var: rku) +message ToggleMarketingEmailOptRequest { + bool opt_out = 1; +} + +// Copied from: local:aiserver.v1.ToggleMarketingEmailOptResponse (var: sku) +message ToggleMarketingEmailOptResponse { + bool opted_out = 1; +} + +// Copied from: agent.v1.TokenDeltaUpdate (var: IEs) +message TokenDeltaUpdate { + int32 tokens = 1; +} + +// Copied from: local:aiserver.v1.TokenIndex (var: xAi) +message TokenIndex { + repeated TokensWithLogprobs tokens_with_logprobs = 1; + string actual_token = 2; +} + +// Copied from: local:aiserver.v1.TokenUsage (var: TSe) +message TokenUsage { + int32 input_tokens = 1; + int32 output_tokens = 2; + int32 cache_write_tokens = 3; + int32 cache_read_tokens = 4; + float total_cents = 5; + optional int32 discount_percent_off = 6; + optional float enterprise_usage_discount_percent = 7; +} + +// Copied from: local:aiserver.v1.TokensWithLogprobs (var: _Wl) +message TokensWithLogprobs { + string token = 1; + float log_probability = 2; +} + +// Copied from: local:aiserver.v1.ToolCall (var: F0i) +message ToolCall { + oneof tool_call { + BuiltinToolCall builtin_tool_call = 1; + CustomToolCall custom_tool_call = 2; + } +} + +// Copied from: agent.v1.ToolCallCompletedUpdate (var: cpt) +message ToolCallCompletedUpdate { + string call_id = 1; + ToolCall tool_call = 2; + string model_call_id = 3; +} + +// Copied from: agent.v1.ToolCallDelta (var: vTi) +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: agent.v1.ToolCallDeltaUpdate (var: AEs) +message ToolCallDeltaUpdate { + string call_id = 1; + ToolCallDelta tool_call_delta = 2; + string model_call_id = 3; +} + +// Copied from: local:aiserver.v1.ToolCallEvent (var: J7l) +message ToolCallEvent { + string tool_call_id = 1; + string request_id = 2; + string tool_name = 3; +} + +// Copied from: local:aiserver.v1.ToolCallFileSearchParams (var: I_n) +message ToolCallFileSearchParams { + string query = 1; +} + +// Copied from: local:aiserver.v1.ToolCallFileSearchResult (var: R0i) +message ToolCallFileSearchResult { + // Copied from: local:aiserver.v1.ToolCallFileSearchResult.File (var: ovs) + message File { + string uri = 1; + } + + repeated File files = 1; + optional bool limit_hit = 2; + int32 num_results = 3; +} + +// Copied from: local:aiserver.v1.ToolCallFileSearchStream (var: svs) +message ToolCallFileSearchStream { + string query = 1; +} + +// Copied from: agent.v1.ToolCallStartedUpdate (var: DBt) +message ToolCallStartedUpdate { + string call_id = 1; + ToolCall tool_call = 2; + string model_call_id = 3; +} + +// Copied from: local:aiserver.v1.ToolCallTelemetryEvent (var: dXu) +message ToolCallTelemetryEvent { + string tool_call_id = 1; + string tool_type = 2; + string chat_request_uuid = 3; + string model_name = 4; + google.protobuf.Timestamp start_time = 5; + google.protobuf.Timestamp end_time = 6; + google.protobuf.Duration duration = 7; + bool is_parallel = 8; + optional int32 parallel_batch_size = 9; + bool success = 10; + optional string error_message = 11; + map metadata = 12; + optional google.protobuf.Duration approval_wait_duration = 13; + bool is_stream = 14; +} + +// Copied from: local:aiserver.v1.ToolPullRequestResult (var: O0i) +message ToolPullRequestResult { + string sha = 1; + string full_pr_contents = 2; + float score = 3; + optional string title = 4; + optional string summary = 5; + optional uint32 pr_number = 6; + repeated string changed_files = 7; + optional string author = 8; + optional string date = 9; +} + +// Copied from: local:aiserver.v1.ToolResult (var: N_n) +message ToolResult { + oneof tool_result { + BuiltinToolResult builtin_tool_result = 1; + CustomToolResult custom_tool_result = 2; + ErrorToolResult error_tool_result = 3; + } +} + +// Copied from: local:aiserver.v1.ToolResultAttachments (var: zfs) +message ToolResultAttachments { + // Copied from: local:aiserver.v1.ToolResultAttachments.DiscoveryBudgetReminder (var: Gfs) + message DiscoveryBudgetReminder { + int32 discovery_rounds_remaining = 1; + optional string discovery_effort = 2; + } + + // Copied from: local:aiserver.v1.ToolResultAttachments.TodoReminderType (var: Vfs) + enum TodoReminderType { + TODO_REMINDER_TYPE_UNSPECIFIED = 0; + TODO_REMINDER_TYPE_EVERY_10_TURNS = 1; + TODO_REMINDER_TYPE_AFTER_EDIT = 2; + } + + repeated TodoItem original_todos = 1; + repeated TodoItem updated_todos = 2; + repeated NudgeMessage nudge_messages = 3; + bool should_show_todo_write_reminder = 4; + TodoReminderType todo_reminder_type = 5; + optional DiscoveryBudgetReminder discovery_budget_reminder = 6; +} + +// Copied from: local:aiserver.v1.ToolResultError (var: cae) +message ToolResultError { + // Copied from: local:aiserver.v1.ToolResultError.EditFileError (var: jfs) + message EditFileError { + int32 num_lines_in_file_before_edit = 1; + } + + // Copied from: local:aiserver.v1.ToolResultError.SearchReplaceError (var: Wfs) + message SearchReplaceError { + int32 num_lines_in_file_before_edit = 1; + } + + string client_visible_error_message = 1; + string model_visible_error_message = 2; + optional string actual_error_message_only_send_from_client_to_server_never_the_other_way_around_because_that_may_be_a_security_risk = 3; + oneof error_details { + EditFileError edit_file_error_details = 5; + SearchReplaceError search_replace_error_details = 6; + } +} + +// Copied from: local:aiserver.v1.ToolSuggestion (var: JHu) +message ToolSuggestion { + string slug = 1; + string label = 2; + repeated string evidence = 3; + string config_note = 4; +} + +// Copied from: local:aiserver.v1.TouchRolloutThrottleRequest (var: upv) +message TouchRolloutThrottleRequest { + string run_id = 1; + string rollout_request_id = 2; +} + +// Copied from: local:aiserver.v1.TouchRolloutThrottleResponse (var: dpv) +message TouchRolloutThrottleResponse { + bool ok = 1; +} + +// Copied from: local:aiserver.v1.TraceConfig (var: A8u) +message TraceConfig { + bool enabled = 1; + optional int32 buffer_size = 2; + optional int32 flush_interval_ms = 3; + optional double sample_rate = 4; + optional double internal_sample_rate = 5; + optional double internal_ext_host_sample_rate = 6; +} + +// Copied from: local:aiserver.v1.TraceLink (var: aXu) +message TraceLink { + string trace_id = 1; + string span_id = 2; + optional string trace_state = 3; + map attributes = 4; + optional uint32 flags = 5; +} + +// Copied from: local:aiserver.v1.TraceSpan (var: n$s) +message TraceSpan { + string trace_id = 1; + string span_id = 2; + optional string parent_span_id = 3; + string name = 4; + google.protobuf.Timestamp start_time = 5; + google.protobuf.Timestamp end_time = 6; + map attributes = 7; + optional bool error = 8; + optional string trace_state = 9; + optional uint32 flags = 10; + optional SpanKind kind = 11; + optional Status status = 12; + repeated TraceLink links = 13; +} + +// Copied from: local:aiserver.v1.TrackEventsRequest (var: N$u) +message TrackEventsRequest { + repeated AnalyticsEvent events = 1; +} + +// Copied from: local:aiserver.v1.TrackEventsResponse (var: O$u) +message TrackEventsResponse { +} + +// Copied from: local:aiserver.v1.TrackModelRequest (var: Xbv) +message TrackModelRequest { + string root_path = 1; + string absolute_path = 2; +} + +// Copied from: local:aiserver.v1.TrackModelResponse (var: Jbv) +message TrackModelResponse { +} + +// Copied from: agent.v1.TrackedGitRepo (var: P9l) +message TrackedGitRepo { + string repo_path = 1; + string branch_name = 2; +} + +// Copied from: local:aiserver.v1.TranscribeAudioRequest (var: fRs) +message TranscribeAudioRequest { + bytes audio = 1; + string mime_type = 2; + optional string language = 3; +} + +// Copied from: local:aiserver.v1.TranscribeAudioResponse (var: GYl) +message TranscribeAudioResponse { + string text = 1; + int64 transcription_time_ms = 2; +} + +// Copied from: local:aiserver.v1.TransferXaiCreditsRequest (var: Wku) +message TransferXaiCreditsRequest { + string organization_id = 1; + int64 amount_cents = 2; + string transfer_id = 3; +} + +// Copied from: local:aiserver.v1.TransferXaiCreditsResponse (var: DNs) +message TransferXaiCreditsResponse { + XaiCreditTransferOutcome outcome = 1; + string transfer_id = 2; +} + +// Copied from: local:aiserver.v1.TransientError (var: dBs) +message TransientError { + string error_message = 1; +} + +// Copied from: local:aiserver.v1.TrialType (var: Ccu) +enum TrialType { + TRIAL_TYPE_UNSPECIFIED = 0; + TRIAL_TYPE_REQUEST = 1; + TRIAL_TYPE_TOKEN = 2; +} + +// Copied from: local:aiserver.v1.Trigger (var: Fju) +message Trigger { + optional string agentic_filter_prompt = 14; + oneof trigger { + CronTrigger cron = 1; + GitTrigger git = 2; + SlackTrigger slack_trigger = 7; + LinearTrigger linear = 9; + WebhookTrigger webhook = 11; + SlackChannelCreatedTrigger slack_channel_created = 12; + PagerDutyTrigger pagerduty = 13; + SentryTrigger sentry = 15; + MicrosoftTeamsTrigger microsoft_teams_trigger = 16; + MicrosoftTeamsChannelCreatedTrigger microsoft_teams_channel_created = 17; + SlackReactionAddedTrigger slack_reaction_added = 18; + SlackMentionTrigger slack_mention = 19; + SlackAnyReactionAddedTrigger slack_any_reaction_added = 20; + } +} + +// Copied from: local:aiserver.v1.TriggerEnvironmentBuildRequest (var: D2u) +message TriggerEnvironmentBuildRequest { + string environment_public_id = 1; + optional bool is_draft = 2; + repeated RepoStartingRef refs = 3; +} + +// Copied from: local:aiserver.v1.TriggerEnvironmentBuildResponse (var: M2u) +message TriggerEnvironmentBuildResponse { + string build_id = 1; +} + +// Copied from: local:aiserver.v1.TriggerMetadataEntry (var: HWu) +message TriggerMetadataEntry { + PlatformTriggerType trigger_type = 1; + map metadata = 2; +} + +// Copied from: local:aiserver.v1.TriggerMetadataPayload (var: zWu) +message TriggerMetadataPayload { + repeated TriggerMetadataEntry entries = 1; +} + +// Copied from: agent.v1.TriggeringUserInfo (var: bTi) +message TriggeringUserInfo { + optional string auth_id = 1; + optional int32 user_id = 2; +} + +// Copied from: local:aiserver.v1.TryParseTypeScriptTreeSitterRequest (var: NHl) +message TryParseTypeScriptTreeSitterRequest { + string workspace_relative_path = 1; + string text = 2; +} + +// Copied from: local:aiserver.v1.TryParseTypeScriptTreeSitterResponse (var: OHl) +message TryParseTypeScriptTreeSitterResponse { + string text = 1; +} + +// Copied from: agent.v1.TurnEndedUpdate (var: LTi) +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: agent.v1.TypeAction (var: GRl) +message TypeAction { + string text = 1; +} + +// Copied from: local:aiserver.v1.URIResolutionAttempt (var: pfs) +message URIResolutionAttempt { + string workspace_relative_path = 1; + string node_id = 2; + CodeSymbolWithAction symbol = 3; +} + +// Copied from: local:aiserver.v1.URIResolutionResult (var: ZAl) +message URIResolutionResult { + URIResolutionAttempt request = 1; + repeated string resolved_paths = 2; +} + +// Copied from: local:aiserver.v1.UiBestOfNJudgeCandidate (var: xHl) +message UiBestOfNJudgeCandidate { + string composer_id = 1; + GitDiff diff = 2; +} + +// Copied from: local:aiserver.v1.UiBestOfNJudgeFinalResult (var: AHl) +message UiBestOfNJudgeFinalResult { + string winner_composer_id = 1; + string reasoning = 2; +} + +// Copied from: local:aiserver.v1.UndoEditParams (var: dbs) +message UndoEditParams { +} + +// Copied from: local:aiserver.v1.UndoEditResult (var: mbs) +message UndoEditResult { + repeated string feedback = 1; + string relative_workspace_path = 4; + int32 context_start_line_number = 2; + repeated string context_lines = 3; + int32 context_total_num_lines = 5; + int32 file_total_lines = 6; +} + +// Copied from: local:aiserver.v1.UndoFullSelfDrivingOutputRequest (var: Uru) +message UndoFullSelfDrivingOutputRequest { + string pr_url = 1; + string bc_id = 2; + string stable_key = 3; +} + +// Copied from: local:aiserver.v1.UndoFullSelfDrivingOutputResponse (var: $ru) +message UndoFullSelfDrivingOutputResponse { + FullSelfDrivingFinding finding = 1; +} + +// Copied from: local:aiserver.v1.UnenrollFromGlassEarlyPreviewRequest (var: YSu) +message UnenrollFromGlassEarlyPreviewRequest { +} + +// Copied from: local:aiserver.v1.UnenrollFromGlassEarlyPreviewResponse (var: ZSu) +message UnenrollFromGlassEarlyPreviewResponse { +} + +// Copied from: local:aiserver.v1.UninstallTeamPluginRequest (var: qDi) +message UninstallTeamPluginRequest { + int32 team_id = 1; + int64 plugin_id = 2; +} + +// Copied from: local:aiserver.v1.UninstallTeamPluginResponse (var: RAu) +message UninstallTeamPluginResponse { + bool success = 1; +} + +// Copied from: local:aiserver.v1.UninstallUserPluginRequest (var: VDi) +message UninstallUserPluginRequest { + int64 plugin_id = 1; +} + +// Copied from: local:aiserver.v1.UninstallUserPluginResponse (var: fAu) +message UninstallUserPluginResponse { + bool success = 1; +} + +// Copied from: local:aiserver.v1.UniqueFileIdentifier (var: sKl) +message UniqueFileIdentifier { + string project_uuid = 1; + string relative_path = 2; + optional string language_id = 3; +} + +// Copied from: local:aiserver.v1.UnlinkJiraUserRequest (var: WIu) +message UnlinkJiraUserRequest { + string cloud_id = 1; + string jira_account_id = 2; +} + +// Copied from: local:aiserver.v1.UnlinkJiraUserResponse (var: HIu) +message UnlinkJiraUserResponse { + bool success = 1; +} + +// Copied from: local:aiserver.v1.UnlinkPluginsFromTeamMarketplaceRequest (var: JAu) +message UnlinkPluginsFromTeamMarketplaceRequest { + repeated string plugin_ids = 1; + int64 marketplace_id = 2; +} + +// Copied from: local:aiserver.v1.UnlinkPluginsFromTeamMarketplaceResponse (var: eIu) +message UnlinkPluginsFromTeamMarketplaceResponse { + bool success = 1; +} + +// Copied from: local:aiserver.v1.UnlinkSlackAccessRequest (var: kCu) +message UnlinkSlackAccessRequest { +} + +// Copied from: local:aiserver.v1.UnlinkSlackAccessResponse (var: CCu) +message UnlinkSlackAccessResponse { + bool success = 1; +} + +// Copied from: local:aiserver.v1.UnlinkXaiTeamRequest (var: $ku) +message UnlinkXaiTeamRequest { + string organization_id = 1; +} + +// Copied from: local:aiserver.v1.UnlinkXaiTeamResponse (var: jku) +message UnlinkXaiTeamResponse { +} + +// Copied from: local:aiserver.v1.UnpinBackgroundComposersRequest (var: SFs) +message UnpinBackgroundComposersRequest { + repeated string bc_ids = 1; +} + +// Copied from: local:aiserver.v1.UnpinBackgroundComposersResponse (var: wPu) +message UnpinBackgroundComposersResponse { +} + +// Copied from: local:aiserver.v1.UnpublishPluginRequest (var: uOs) +message UnpublishPluginRequest { + int64 plugin_id = 1; + optional int32 team_id = 2; + optional string commit_message = 3; +} + +// Copied from: local:aiserver.v1.UnpublishPluginResponse (var: VTu) +message UnpublishPluginResponse { + string commit_sha = 1; +} + +// Copied from: local:aiserver.v1.UnresolveReviewThreadRequest (var: rBs) +message UnresolveReviewThreadRequest { + string pr_url = 1; + string thread_id = 2; +} + +// Copied from: local:aiserver.v1.UnresolveReviewThreadResponse (var: mOu) +message UnresolveReviewThreadResponse { + bool success = 1; +} + +// Copied from: local:aiserver.v1.UnshareAgentStoreRequest (var: e3u) +message UnshareAgentStoreRequest { + string share_id = 1; +} + +// Copied from: local:aiserver.v1.UnshareAgentStoreResponse (var: t3u) +message UnshareAgentStoreResponse { +} + +// Copied from: local:aiserver.v1.UnshareBackgroundComposerArtifactRequest (var: BNu) +message UnshareBackgroundComposerArtifactRequest { + string artifact_id = 1; +} + +// Copied from: local:aiserver.v1.UnshareBackgroundComposerArtifactResponse (var: UNu) +message UnshareBackgroundComposerArtifactResponse { + optional BackgroundComposerSharedArtifact artifact = 1; +} + +// Copied from: local:aiserver.v1.UnsubscribeRepositoryRequest (var: He) +message UnsubscribeRepositoryRequest { + RepositoryInfo repository = 1; +} + +// Copied from: local:aiserver.v1.UnsubscribeRepositoryResponse (var: Ve) +message UnsubscribeRepositoryResponse { + // Copied from: local:aiserver.v1.UnsubscribeRepositoryResponse.Status (var: E) + enum Status { + STATUS_UNSPECIFIED = 0; + STATUS_NOT_FOUND = 1; + STATUS_NOT_SUBSCRIBED = 2; + STATUS_SUCCESS = 3; + } + + Status status = 1; +} + +// Copied from: local:aiserver.v1.UpdateAllGithubRepoSettingsFailure (var: Vyu) +message UpdateAllGithubRepoSettingsFailure { + // Copied from: local:aiserver.v1.UpdateAllGithubRepoSettingsFailure.Reason (var: Gyu) + enum Reason { + REASON_UNSPECIFIED = 0; + REASON_INTERNAL = 1; + REASON_BITBUCKET_WORKSPACE_UNLINKED = 2; + REASON_BITBUCKET_WORKSPACE_LINKED_TO_OTHER_TEAM = 3; + REASON_BITBUCKET_WORKSPACE_CONNECTION_UNVERIFIABLE = 4; + } + + string repo_node_id = 1; + Reason reason = 2; +} + +// Copied from: local:aiserver.v1.UpdateAllGithubRepoSettingsRequest (var: zyu) +message UpdateAllGithubRepoSettingsRequest { + int64 installation_id = 1; + bool bug_bot_enabled = 2; + optional int32 total_pages = 3; + optional bool include_all_team_owned_repos = 5; + optional string ghe_application = 6; + optional int32 team_id = 7; +} + +// Copied from: local:aiserver.v1.UpdateAllGithubRepoSettingsResponse (var: qyu) +message UpdateAllGithubRepoSettingsResponse { + int32 updated_count = 1; + bool async_operation_started = 2; + bool async_operation_already_in_progress = 3; + repeated string failed_repo_node_ids = 4; + repeated UpdateAllGithubRepoSettingsFailure failures = 5; +} + +// Copied from: local:aiserver.v1.UpdateAutomationAuthoringModeRequest (var: eHu) +message UpdateAutomationAuthoringModeRequest { + string automation_id = 1; + AutomationManagedBy managed_by = 2; + optional string deploy_key = 3; +} + +// Copied from: local:aiserver.v1.UpdateAutomationAuthoringModeResponse (var: tHu) +message UpdateAutomationAuthoringModeResponse { + AutomationWithOwner workflow = 1; +} + +// Copied from: local:aiserver.v1.UpdateAutomationMemoryRequest (var: vHu) +message UpdateAutomationMemoryRequest { + string automation_id = 1; + string file = 2; + string content = 3; + oneof expected { + string expected_version = 4; + bool expect_missing = 5; + } +} + +// Copied from: local:aiserver.v1.UpdateAutomationMemoryResponse (var: bHu) +message UpdateAutomationMemoryResponse { + string file = 1; + string content = 2; + optional string version = 3; + bool conflict = 4; +} + +// Copied from: local:aiserver.v1.UpdateAutomationRequest (var: qLi) +message UpdateAutomationRequest { + optional string name = 2; + optional Workflow workflow = 3; + optional bool enabled = 4; + optional string description = 5; + string automation_id = 6; + optional AutomationScope scope = 7; + optional string managed_type = 8; + optional bool hidden = 9; +} + +// Copied from: local:aiserver.v1.UpdateAutomationResponse (var: g9s) +message UpdateAutomationResponse { + AutomationWithOwner workflow = 1; +} + +// Copied from: local:aiserver.v1.UpdateBackgroundComposerEnvironmentRequest (var: kDu) +message UpdateBackgroundComposerEnvironmentRequest { + string bc_id = 1; + bool replace = 2; +} + +// Copied from: local:aiserver.v1.UpdateBackgroundComposerEnvironmentResponse (var: CDu) +message UpdateBackgroundComposerEnvironmentResponse { + uint32 applied = 1; + uint32 removed = 2; +} + +// Copied from: local:aiserver.v1.UpdateBackgroundComposerExperimentalModelOptOutRequest (var: oFs) +message UpdateBackgroundComposerExperimentalModelOptOutRequest { + string bc_id = 1; + bool use_experimental_model_opt_out = 2; +} + +// Copied from: local:aiserver.v1.UpdateBackgroundComposerExperimentalModelOptOutResponse (var: VDu) +message UpdateBackgroundComposerExperimentalModelOptOutResponse { +} + +// Copied from: local:aiserver.v1.UpdateBackgroundComposerSecretRequest (var: Uhu) +message UpdateBackgroundComposerSecretRequest { + string name = 1; + bool team_scope = 2; + repeated string scoped_to_repos = 3; + BackgroundComposerSecretLevel level = 4; + optional string value = 5; + int32 id = 6; + BackgroundComposerSecretOwner owner = 7; +} + +// Copied from: local:aiserver.v1.UpdateBackgroundComposerSecretResponse (var: $hu) +message UpdateBackgroundComposerSecretResponse { +} + +// Copied from: local:aiserver.v1.UpdateBackgroundComposerUserSettingsRequest (var: zNu) +message UpdateBackgroundComposerUserSettingsRequest { + optional string model_name = 1; + optional bool slack_notifications_for_web_enabled = 2; + optional bool ci_failure_followup_enabled = 3; + optional bool browser_use_enabled = 4; + optional AutoCreatePrSetting auto_create_pr_setting = 5; + optional PrReviewOpenDestinationMode pr_review_open_destination = 6; + optional GithubArtifactPostingMode github_artifact_posting = 7; + optional CloudAgentEgressProtectionMode egress_protection_mode = 8; + optional BackgroundComposerUserEgressPolicy egress_policy = 9; + optional string branch_prefix = 10; + optional BackgroundComposerQuickActionSettings quick_action_settings = 11; + optional bool allow_private_workers = 12; + optional string bc_id = 13; + optional string default_environment_public_id = 14; + repeated BackgroundComposerDefaultEnvironmentSetting default_environment_settings = 15; + optional bool remote_control_enabled = 16; + optional PrReviewOpenSurfaceMode pr_review_open_surface = 17; + repeated string sidebar_named_agent_ids = 18; + optional bool sidebar_named_agent_ids_explicitly_set = 19; + optional CloudAgentModelSelection default_model_selection = 20; + optional int32 ask_question_auto_answer_timeout_minutes = 21; +} + +// Copied from: local:aiserver.v1.UpdateBackgroundComposerUserSettingsResponse (var: VNu) +message UpdateBackgroundComposerUserSettingsResponse { +} + +// Copied from: local:aiserver.v1.UpdateBitbucketServerInstanceTokenRequest (var: ylu) +message UpdateBitbucketServerInstanceTokenRequest { + // Copied from: local:aiserver.v1.UpdateBitbucketServerInstanceTokenRequest.ClearToken (var: wlu) + message ClearToken { + } + + // Copied from: local:aiserver.v1.UpdateBitbucketServerInstanceTokenRequest.SetToken (var: Slu) + message SetToken { + string access_token = 1; + } + + string uuid = 1; + oneof action { + SetToken set_token = 2; + ClearToken clear_token = 3; + } +} + +// Copied from: local:aiserver.v1.UpdateBitbucketServerInstanceTokenResponse (var: klu) +message UpdateBitbucketServerInstanceTokenResponse { +} + +// Copied from: local:aiserver.v1.UpdateBugBotProUserModeRequest (var: B1u) +message UpdateBugBotProUserModeRequest { + BugbotMode mode = 1; + repeated BugbotModePrompt prompts = 2; + optional bool smart_frontier_enabled = 3; +} + +// Copied from: local:aiserver.v1.UpdateBugBotProUserModeResponse (var: U1u) +message UpdateBugBotProUserModeResponse { + BugbotMode mode = 1; + repeated BugbotModePrompt prompts = 2; + bool smart_frontier_enabled = 3; + bool frontier_available = 4; +} + +// Copied from: local:aiserver.v1.UpdateBugBotProUserSettingsRequest (var: WSu) +message UpdateBugBotProUserSettingsRequest { + bool enabled = 1; +} + +// Copied from: local:aiserver.v1.UpdateBugBotProUserSettingsResponse (var: HSu) +message UpdateBugBotProUserSettingsResponse { +} + +// Copied from: local:aiserver.v1.UpdateBugbotLearnedRuleRequest (var: $Eu) +message UpdateBugbotLearnedRuleRequest { + string rule_id = 1; + int64 installation_id = 2; + optional string ghe_application = 3; + optional string name = 4; + optional string content = 5; + optional string status = 6; + repeated string scoped_paths = 7; +} + +// Copied from: local:aiserver.v1.UpdateBugbotLearnedRuleResponse (var: jEu) +message UpdateBugbotLearnedRuleResponse { + BugbotLearnedRule rule = 1; +} + +// Copied from: local:aiserver.v1.UpdateBugbotManualRepositoryRuleRequest (var: KEu) +message UpdateBugbotManualRepositoryRuleRequest { + string rule_id = 1; + int64 installation_id = 2; + optional string ghe_application = 3; + optional string name = 4; + optional string content = 5; + optional string status = 6; + repeated string scoped_paths = 7; +} + +// Copied from: local:aiserver.v1.UpdateBugbotManualRepositoryRuleResponse (var: QEu) +message UpdateBugbotManualRepositoryRuleResponse { + BugbotManualRepositoryRule rule = 1; +} + +// Copied from: local:aiserver.v1.UpdateBugbotModeRequest (var: L1u) +message UpdateBugbotModeRequest { + BugbotMode mode = 1; + repeated BugbotModePrompt prompts = 2; + optional bool smart_frontier_enabled = 3; + optional int32 team_id = 4; +} + +// Copied from: local:aiserver.v1.UpdateBugbotModeResponse (var: N1u) +message UpdateBugbotModeResponse { + BugbotMode mode = 1; + repeated BugbotModePrompt prompts = 2; + bool smart_frontier_enabled = 3; + bool frontier_available = 4; +} + +// Copied from: local:aiserver.v1.UpdateBugbotTeamRuleRequest (var: LEu) +message UpdateBugbotTeamRuleRequest { + string rule_id = 1; + optional string name = 2; + optional string content = 3; + optional bool is_active = 4; + optional bool is_required = 5; + optional int32 team_id = 6; +} + +// Copied from: local:aiserver.v1.UpdateBugbotTeamRuleResponse (var: NEu) +message UpdateBugbotTeamRuleResponse { + BugbotRule rule = 1; +} + +// Copied from: local:aiserver.v1.UpdateBugbotUserSettingsRequest (var: gSu) +message UpdateBugbotUserSettingsRequest { + bool manual_trigger_only = 1; + bool run_only_once = 2; + bool suppress_no_bugs_comments = 3; + optional bool enable_draft = 4; + optional bool is_pr_summary_enabled = 5; + BugbotAutofixMode bugbot_autofix_mode = 6; + bool enable_vm_run = 7; + bool fail_github_action_on_bugbot_findings = 8; + repeated string bugbot_autofix_severity_filter = 9; + optional bool is_incremental_review_enabled = 10; + optional bool is_pr_risk_score_enabled = 11; +} + +// Copied from: local:aiserver.v1.UpdateBugbotUserSettingsResponse (var: fSu) +message UpdateBugbotUserSettingsResponse { +} + +// Copied from: local:aiserver.v1.UpdateConfig (var: k8u) +message UpdateConfig { + // Copied from: local:aiserver.v1.UpdateConfig.UpdateMode (var: C8u) + enum UpdateMode { + UPDATE_MODE_UNSPECIFIED = 0; + UPDATE_MODE_ONE_TIME = 1; + } + + string release_track = 1; + UpdateMode mode = 2; + optional int32 applied_at = 3; +} + +// Copied from: local:aiserver.v1.UpdateDataOpsJobRequest (var: Xpv) +message UpdateDataOpsJobRequest { + string job_id = 1; + optional DataOpsJobDbStatus status = 2; + optional google.protobuf.Timestamp started_at = 3; + optional google.protobuf.Timestamp finished_at = 4; + optional string buildkite_build_id = 5; + optional int32 buildkite_build_number = 6; + optional string buildkite_build_url = 7; + optional string finalized_train_s3_uri = 8; + optional string finalized_eval_s3_uri = 9; + optional string manifest_s3_uri = 10; + optional string stats_s3_uri = 11; + optional string config_block_s3_uri = 12; + optional string error_message = 13; + optional string rollouts_s3_uri = 14; + optional string rewards_s3_uri = 15; + optional string datacheck_s3_uri = 16; +} + +// Copied from: local:aiserver.v1.UpdateDataOpsJobResponse (var: Jpv) +message UpdateDataOpsJobResponse { + bool ok = 1; +} + +// Copied from: local:aiserver.v1.UpdateDatagenRLPipelineRunRequest (var: cmv) +message UpdateDatagenRLPipelineRunRequest { + string run_id = 1; + optional DatagenRLPipelineRunDbStatus status = 2; + optional string status_message = 3; + optional google.protobuf.Timestamp started_at = 4; + optional google.protobuf.Timestamp finished_at = 5; + optional string output_path = 6; + optional string config_s3_uri = 7; + optional string stats_s3_uri = 8; + optional google.protobuf.Struct artifacts = 9; + optional google.protobuf.Struct params_snapshot = 10; + optional string ray_job_name = 11; + optional string ray_job_namespace = 12; + optional string buildkite_build_id = 13; + optional int32 buildkite_build_number = 14; + optional string buildkite_build_url = 15; + optional string error_message = 16; +} + +// Copied from: local:aiserver.v1.UpdateDatagenRLPipelineRunResponse (var: lmv) +message UpdateDatagenRLPipelineRunResponse { + bool ok = 1; +} + +// Copied from: local:aiserver.v1.UpdateDirectoryGroupSettingsRequest (var: t0u) +message UpdateDirectoryGroupSettingsRequest { + int32 directory_group_id = 1; + optional int32 hard_limit_per_user_dollars = 2; + int32 per_user_monthly_limit_dollars = 4; + AutoRunControls auto_run_controls = 3; + int32 team_id = 5; + optional AllowedMCPConfiguration allowed_mcp_configuration = 6; +} + +// Copied from: local:aiserver.v1.UpdateDirectoryGroupSettingsResponse (var: n0u) +message UpdateDirectoryGroupSettingsResponse { +} + +// Copied from: local:aiserver.v1.UpdateEnvironmentBuildRequest (var: I2u) +message UpdateEnvironmentBuildRequest { + string build_id = 1; + optional bool is_draft = 2; +} + +// Copied from: local:aiserver.v1.UpdateEnvironmentBuildResponse (var: R2u) +message UpdateEnvironmentBuildResponse { + EnvironmentBuildRow row = 1; +} + +// Copied from: local:aiserver.v1.UpdateEnvironmentBuildSettingsRequest (var: U2u) +message UpdateEnvironmentBuildSettingsRequest { + string environment_public_id = 1; + optional bool fast_forward_default_branch = 2; + bool clear_fast_forward_default_branch = 3; + optional bool builds_enabled = 4; + bool clear_builds_enabled = 5; + optional int32 auto_fast_forward_staleness_hours = 6; + bool clear_auto_fast_forward_staleness_hours = 7; +} + +// Copied from: local:aiserver.v1.UpdateEnvironmentBuildSettingsResponse (var: $2u) +message UpdateEnvironmentBuildSettingsResponse { + EnvironmentBuildSettings settings = 1; +} + +// Copied from: local:aiserver.v1.UpdateFastRequestsRequest (var: n2s) +message UpdateFastRequestsRequest { + int32 request_quota = 1; +} + +// Copied from: local:aiserver.v1.UpdateFastRequestsResponse (var: Llu) +message UpdateFastRequestsResponse { +} + +// Copied from: local:aiserver.v1.UpdateFileRequest (var: De) +message UpdateFileRequest { + RepositoryInfo repository = 1; + File added_file = 2; + optional string deleted_file_path = 3; + string commit_sha = 4; + string queue_id = 5; +} + +// Copied from: local:aiserver.v1.UpdateFileResponse (var: Oe) +message UpdateFileResponse { + // Copied from: local:aiserver.v1.UpdateFileResponse.Status (var: k) + enum Status { + STATUS_UNSPECIFIED = 0; + STATUS_SUCCESS = 1; + STATUS_FAILURE = 2; + STATUS_EXPECTED_FAILURE = 3; + STATUS_QUEUE_BACKED_UP = 4; + } + + Status status = 1; +} + +// Copied from: local:aiserver.v1.UpdateFullSelfDrivingFindingStatusRequest (var: Vru) +message UpdateFullSelfDrivingFindingStatusRequest { + string pr_url = 1; + string bc_id = 2; + string stable_key = 3; + string status = 4; +} + +// Copied from: local:aiserver.v1.UpdateFullSelfDrivingFindingStatusResponse (var: Gru) +message UpdateFullSelfDrivingFindingStatusResponse { + FullSelfDrivingFinding finding = 1; +} + +// Copied from: local:aiserver.v1.UpdateFullSelfDrivingOutputRequest (var: Pru) +message UpdateFullSelfDrivingOutputRequest { + string pr_url = 1; + string bc_id = 2; + string stable_key = 3; + optional string title = 4; + optional string body = 5; + optional string status = 6; + optional string severity = 7; + optional bool clear_severity = 8; + optional string action = 9; + optional bool clear_action = 10; + google.protobuf.Struct payload = 11; +} + +// Copied from: local:aiserver.v1.UpdateFullSelfDrivingOutputResponse (var: Lru) +message UpdateFullSelfDrivingOutputResponse { + FullSelfDrivingFinding finding = 1; +} + +// Copied from: local:aiserver.v1.UpdateFullSelfDrivingPrConfigRequest (var: BSu) +message UpdateFullSelfDrivingPrConfigRequest { + string pr_url = 1; + optional bool enabled = 2; + optional FullSelfDrivingMode mode = 3; + optional int32 team_id = 4; +} + +// Copied from: local:aiserver.v1.UpdateFullSelfDrivingPrConfigResponse (var: USu) +message UpdateFullSelfDrivingPrConfigResponse { + FullSelfDrivingActiveAgent agent = 1; +} + +// Copied from: local:aiserver.v1.UpdateFullSelfDrivingPrScopedSuggestionStatusRequest (var: asu) +message UpdateFullSelfDrivingPrScopedSuggestionStatusRequest { + string pr_url = 1; + string stable_key = 2; + string status = 3; + optional string reason = 4; +} + +// Copied from: local:aiserver.v1.UpdateFullSelfDrivingPrScopedSuggestionStatusResponse (var: csu) +message UpdateFullSelfDrivingPrScopedSuggestionStatusResponse { + FullSelfDrivingPrScopedSuggestion suggestion = 1; +} + +// Copied from: local:aiserver.v1.UpdateFullSelfDrivingTeamSettingsRequest (var: TSu) +message UpdateFullSelfDrivingTeamSettingsRequest { + int32 team_id = 1; + optional FullSelfDrivingMode default_mode = 2; + optional bool only_cloud_agent_prs = 3; + optional bool globally_disabled = 4; + optional bool auto_create_on_first_pr_push = 5; +} + +// Copied from: local:aiserver.v1.UpdateFullSelfDrivingTeamSettingsResponse (var: ASu) +message UpdateFullSelfDrivingTeamSettingsResponse { + FullSelfDrivingTeamSettings settings = 1; +} + +// Copied from: local:aiserver.v1.UpdateFullSelfDrivingUserSettingsRequest (var: _Su) +message UpdateFullSelfDrivingUserSettingsRequest { + optional FullSelfDrivingMode default_mode = 1; + optional bool only_cloud_agent_prs = 2; + optional bool globally_disabled = 3; + optional bool auto_create_on_first_pr_push = 4; + optional bool slack_notifications_enabled = 5; + optional string fsd_slack_channel_id = 6; + optional string default_model = 7; +} + +// Copied from: local:aiserver.v1.UpdateFullSelfDrivingUserSettingsResponse (var: ySu) +message UpdateFullSelfDrivingUserSettingsResponse { + FullSelfDrivingMode default_mode = 1; + bool only_cloud_agent_prs = 2; + bool globally_disabled = 3; + bool auto_create_on_first_pr_push = 4; + bool slack_notifications_enabled = 5; + optional string fsd_slack_channel_id = 6; + optional string default_model = 7; +} + +// Copied from: local:aiserver.v1.UpdateGithubInstallationSettingsRequest (var: Oyu) +message UpdateGithubInstallationSettingsRequest { + int64 installation_id = 1; + InstallationSettings settings = 2; + optional string ghe_application = 4; + optional int32 team_id = 5; +} + +// Copied from: local:aiserver.v1.UpdateGithubInstallationSettingsResponse (var: Fyu) +message UpdateGithubInstallationSettingsResponse { +} + +// Copied from: local:aiserver.v1.UpdateGithubInstallationTeamScopeRequest (var: Byu) +message UpdateGithubInstallationTeamScopeRequest { + int64 installation_id = 1; + optional string ghe_application = 2; + int32 team_id = 3; +} + +// Copied from: local:aiserver.v1.UpdateGithubInstallationTeamScopeResponse (var: Uyu) +message UpdateGithubInstallationTeamScopeResponse { +} + +// Copied from: local:aiserver.v1.UpdateGithubRepoSettingsRequest (var: Lyu) +message UpdateGithubRepoSettingsRequest { + RepoIdentifier repo = 1; + RepoSettings settings = 2; + optional bool skip_write_access_check = 3; + optional string ghe_application = 4; + optional int32 team_id = 5; +} + +// Copied from: local:aiserver.v1.UpdateGithubRepoSettingsResponse (var: Nyu) +message UpdateGithubRepoSettingsResponse { +} + +// Copied from: local:aiserver.v1.UpdateGroupRequest (var: h0u) +message UpdateGroupRequest { + int32 group_id = 1; + int32 team_id = 2; + optional string name = 3; + optional GroupType type = 4; + optional int32 directory_group_id = 5; +} + +// Copied from: local:aiserver.v1.UpdateGroupResponse (var: p0u) +message UpdateGroupResponse { + Group group = 1; +} + +// Copied from: local:aiserver.v1.UpdateInvocationStatusRequest (var: udv) +message UpdateInvocationStatusRequest { + string invocation_id = 1; + InvocationStatus status = 2; +} + +// Copied from: local:aiserver.v1.UpdateInvocationStatusResponse (var: ddv) +message UpdateInvocationStatusResponse { + string invocation_id = 1; + InvocationStatus status = 2; +} + +// Copied from: local:aiserver.v1.UpdateJiraRoutingRuleRequest (var: PIu) +message UpdateJiraRoutingRuleRequest { + int32 team_id = 1; + int64 rule_id = 2; + string repo = 3; + string rule_text = 4; +} + +// Copied from: local:aiserver.v1.UpdateJiraRoutingRuleResponse (var: LIu) +message UpdateJiraRoutingRuleResponse { + JiraRoutingRule rule = 1; +} + +// Copied from: local:aiserver.v1.UpdateJiraTeamSettingsRequest (var: TIu) +message UpdateJiraTeamSettingsRequest { + int32 team_id = 1; + optional bool require_user_auth = 2; +} + +// Copied from: local:aiserver.v1.UpdateJiraTeamSettingsResponse (var: AIu) +message UpdateJiraTeamSettingsResponse { +} + +// Copied from: local:aiserver.v1.UpdateKeyringPermissionsRequest (var: I3u) +message UpdateKeyringPermissionsRequest { + string keyring_public_id = 1; + KeyringPrincipalType principal_type = 2; + string principal_id = 3; + KeyringAccessLevel access_level = 4; +} + +// Copied from: local:aiserver.v1.UpdateKeyringPermissionsResponse (var: R3u) +message UpdateKeyringPermissionsResponse { +} + +// Copied from: local:aiserver.v1.UpdateKeyringSecretRequest (var: y3u) +message UpdateKeyringSecretRequest { + string keyring_public_id = 1; + string name = 2; + optional string value = 3; + optional BackgroundComposerSecretLevel level = 4; +} + +// Copied from: local:aiserver.v1.UpdateKeyringSecretResponse (var: S3u) +message UpdateKeyringSecretResponse { +} + +// Copied from: local:aiserver.v1.UpdateLinearProjectSettingRequest (var: rCu) +message UpdateLinearProjectSettingRequest { + optional int32 team_id = 1; + string linear_team_id = 2; + string project_id = 3; + LinearRunOption run_option = 4; + string conditions = 5; +} + +// Copied from: local:aiserver.v1.UpdateLinearProjectSettingResponse (var: sCu) +message UpdateLinearProjectSettingResponse { + bool success = 1; +} + +// Copied from: local:aiserver.v1.UpdateLinearTeamSettingRequest (var: nCu) +message UpdateLinearTeamSettingRequest { + optional int32 team_id = 1; + string linear_team_id = 2; + LinearRunOption default_run_option = 3; + string default_conditions = 4; + LabelFilterMode label_filter_mode = 5; + repeated string required_label_ids = 6; + optional int32 autorun_as_user_id = 7; +} + +// Copied from: local:aiserver.v1.UpdateLinearTeamSettingResponse (var: iCu) +message UpdateLinearTeamSettingResponse { + bool success = 1; +} + +// Copied from: local:aiserver.v1.UpdateManagedAutomationTeamSettingsRequest (var: MHu) +message UpdateManagedAutomationTeamSettingsRequest { + int32 team_id = 1; + bool security_agent_disabled = 2; + bool approval_agent_disabled = 3; + optional bool security_agent_disabled_patch = 4; + optional bool approval_agent_disabled_patch = 5; +} + +// Copied from: local:aiserver.v1.UpdateManagedAutomationTeamSettingsResponse (var: PHu) +message UpdateManagedAutomationTeamSettingsResponse { + ManagedAutomationTeamSettings settings = 1; +} + +// Copied from: local:aiserver.v1.UpdateMarketplaceRequest (var: COs) +message UpdateMarketplaceRequest { + int64 marketplace_id = 1; + optional string name = 2; + optional string description = 3; + optional bool auto_reindex = 4; + optional int32 team_id = 5; + optional string display_name = 6; + optional bool allow_user_publish = 7; +} + +// Copied from: local:aiserver.v1.UpdateMarketplaceResponse (var: NAu) +message UpdateMarketplaceResponse { + Marketplace marketplace = 1; +} + +// Copied from: local:aiserver.v1.UpdateOrganizationGroupAutoReviewSettingsRequest (var: ddu) +message UpdateOrganizationGroupAutoReviewSettingsRequest { + string organization_id = 1; + int64 group_id = 2; + AutoReviewInstructions auto_review = 3; +} + +// Copied from: local:aiserver.v1.UpdateOrganizationGroupAutoReviewSettingsResponse (var: hdu) +message UpdateOrganizationGroupAutoReviewSettingsResponse { +} + +// Copied from: local:aiserver.v1.UpdateOrganizationGroupAutorunSettingsRequest (var: idu) +message UpdateOrganizationGroupAutorunSettingsRequest { + string organization_id = 1; + int64 group_id = 2; + AutoRunControls auto_run_controls = 3; +} + +// Copied from: local:aiserver.v1.UpdateOrganizationGroupAutorunSettingsResponse (var: rdu) +message UpdateOrganizationGroupAutorunSettingsResponse { +} + +// Copied from: local:aiserver.v1.UpdateOrganizationGroupMemberRequest (var: quu) +message UpdateOrganizationGroupMemberRequest { + string organization_id = 1; + int64 group_id = 2; + int32 user_id = 3; + optional int32 monthly_spending_limit_dollars = 4; + bool clear_monthly_spending_limit_dollars = 5; +} + +// Copied from: local:aiserver.v1.UpdateOrganizationGroupMemberResponse (var: Kuu) +message UpdateOrganizationGroupMemberResponse { + OrganizationGroupMember member = 1; +} + +// Copied from: local:aiserver.v1.UpdateOrganizationGroupModelAllowlistRequest (var: adu) +message UpdateOrganizationGroupModelAllowlistRequest { + string organization_id = 1; + int64 group_id = 2; + optional ModelAllowlist model_allowlist = 3; +} + +// Copied from: local:aiserver.v1.UpdateOrganizationGroupModelAllowlistResponse (var: cdu) +message UpdateOrganizationGroupModelAllowlistResponse { +} + +// Copied from: local:aiserver.v1.UpdateOrganizationGroupRequest (var: Zuu) +message UpdateOrganizationGroupRequest { + string organization_id = 1; + int64 group_id = 2; + string name = 3; + optional int32 monthly_spending_limit_dollars = 4; + bool clear_monthly_spending_limit_dollars = 5; + GroupVisibility visibility = 6; +} + +// Copied from: local:aiserver.v1.UpdateOrganizationGroupResponse (var: Xuu) +message UpdateOrganizationGroupResponse { + OrganizationGroup group = 1; +} + +// Copied from: local:aiserver.v1.UpdateOrganizationGroupSmartAutoSettingsRequest (var: gdu) +message UpdateOrganizationGroupSmartAutoSettingsRequest { + string organization_id = 1; + int64 group_id = 2; + SmartAutoSettings settings = 3; + optional bool new_chat_nudge_all_to_smart_auto = 4; + optional bool models_auto_only = 5; + optional string new_chat_nudge_all_to_smart_auto_optimize_for = 6; +} + +// Copied from: local:aiserver.v1.UpdateOrganizationGroupSmartAutoSettingsResponse (var: fdu) +message UpdateOrganizationGroupSmartAutoSettingsResponse { +} + +// Copied from: local:aiserver.v1.UpdateOrganizationIdentityProviderResponse (var: Gkn) +message UpdateOrganizationIdentityProviderResponse { + OrganizationIdentityProvider provider = 1; +} + +// Copied from: local:aiserver.v1.UpdateOrganizationIdentityProviderSsoSettingsRequest (var: suu) +message UpdateOrganizationIdentityProviderSsoSettingsRequest { + string organization_id = 1; + string identity_provider_public_id = 2; + bool allow_sso = 3; +} + +// Copied from: local:aiserver.v1.UpdateOrganizationRequest (var: Muu) +message UpdateOrganizationRequest { + string organization_id = 1; + string name = 2; +} + +// Copied from: local:aiserver.v1.UpdateOrganizationResponse (var: Puu) +message UpdateOrganizationResponse { + string name = 1; +} + +// Copied from: local:aiserver.v1.UpdateOrganizationTeamRequest (var: Luu) +message UpdateOrganizationTeamRequest { + string organization_id = 1; + int32 team_id = 2; + string name = 3; + string slug = 4; +} + +// Copied from: local:aiserver.v1.UpdateOrganizationTeamResponse (var: Nuu) +message UpdateOrganizationTeamResponse { + string name = 1; + string slug = 2; +} + +// Copied from: local:aiserver.v1.UpdatePendingFollowupRequest (var: MFs) +message UpdatePendingFollowupRequest { + string bc_id = 1; + string followup_id = 2; + ConversationMessage updated_message = 3; +} + +// Copied from: local:aiserver.v1.UpdatePendingFollowupResponse (var: hLu) +message UpdatePendingFollowupResponse { + bool success = 1; + string error_message = 2; +} + +// Copied from: local:aiserver.v1.UpdatePluginMcpConfigRequest (var: lOs) +message UpdatePluginMcpConfigRequest { + int64 plugin_id = 1; + string mcp_config_json = 2; + optional int32 team_id = 3; +} + +// Copied from: local:aiserver.v1.UpdatePluginMcpConfigResponse (var: HTu) +message UpdatePluginMcpConfigResponse { + Plugin plugin = 1; +} + +// Copied from: agent.v1.UpdatePrAction (var: nBl) +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:aiserver.v1.UpdateProjectAppearanceRequest (var: sFs) +message UpdateProjectAppearanceRequest { + string bc_id = 1; + ProjectAppearance appearance = 2; +} + +// Copied from: local:aiserver.v1.UpdateProjectAppearanceResponse (var: RDu) +message UpdateProjectAppearanceResponse { + ProjectMetadata project_metadata = 1; +} + +// Copied from: local:aiserver.v1.UpdateProjectParams (var: ayn) +message UpdateProjectParams { + repeated UpdateProjectStringReplacement string_replacements = 1; + string summary = 2; +} + +// Copied from: local:aiserver.v1.UpdateProjectResult (var: a1i) +message UpdateProjectResult { + bool success = 1; + string updated_plan = 2; +} + +// Copied from: local:aiserver.v1.UpdateProjectStream (var: N_s) +message UpdateProjectStream { +} + +// Copied from: local:aiserver.v1.UpdateProjectStringReplacement (var: L_s) +message UpdateProjectStringReplacement { + string old_string = 1; + string new_string = 2; +} + +// Copied from: local:aiserver.v1.UpdatePullRequestBranchRequest (var: NOu) +message UpdatePullRequestBranchRequest { + string pr_url = 1; +} + +// Copied from: local:aiserver.v1.UpdatePullRequestBranchResponse (var: OOu) +message UpdatePullRequestBranchResponse { + bool success = 1; + string error = 2; + optional string new_head_sha = 3; +} + +// Copied from: local:aiserver.v1.UpdateRelayScheduleRequest (var: Avv) +message UpdateRelayScheduleRequest { + string schedule_id = 1; + optional string cron_expression = 2; + optional string timezone = 3; + optional string interval = 4; + google.protobuf.Struct input_template_json = 5; + optional bool enabled = 6; + optional RelayScheduleOverlapPolicy overlap_policy = 7; + optional RelayScheduleCatchupPolicy catchup_policy = 8; +} + +// Copied from: local:aiserver.v1.UpdateRelayScheduleResponse (var: Ivv) +message UpdateRelayScheduleResponse { + RelayScheduleRecord schedule = 1; +} + +// Copied from: local:aiserver.v1.UpdateRlEvalJobRequest (var: Upv) +message UpdateRlEvalJobRequest { + string job_id = 1; + optional RlEvalJobDbStatus status = 2; + optional string ray_job_name = 3; + optional string ray_job_namespace = 4; + optional string experiment_name = 5; + optional google.protobuf.Timestamp started_at = 6; + optional google.protobuf.Timestamp finished_at = 7; + optional string buildkite_build_id = 8; + optional int32 buildkite_build_number = 9; + optional string buildkite_build_url = 10; +} + +// Copied from: local:aiserver.v1.UpdateRlEvalJobResponse (var: $pv) +message UpdateRlEvalJobResponse { + bool ok = 1; +} + +// Copied from: local:aiserver.v1.UpdateRlEvalStepDatasetEvalRequest (var: Vpv) +message UpdateRlEvalStepDatasetEvalRequest { + string job_id = 1; + int32 step = 2; + optional RlEvalStepDbStatus status = 3; + optional int32 progress_completed = 4; + optional int32 progress_failed = 5; + optional int32 progress_total = 6; + optional google.protobuf.Struct metrics = 7; + optional google.protobuf.Timestamp completed_at = 8; +} + +// Copied from: local:aiserver.v1.UpdateRlEvalStepDatasetEvalResponse (var: Gpv) +message UpdateRlEvalStepDatasetEvalResponse { + bool ok = 1; +} + +// Copied from: local:aiserver.v1.UpdateRoleRequest (var: Dfu) +message UpdateRoleRequest { + int32 team_id = 1; + int32 user_id = 2; + TeamRole role = 3; +} + +// Copied from: local:aiserver.v1.UpdateRoleResponse (var: Mfu) +message UpdateRoleResponse { +} + +// Copied from: local:aiserver.v1.UpdateRunStatusRequest (var: Jhv) +message UpdateRunStatusRequest { + string run_id = 1; + EvalRunStatus status = 2; + optional string error_message = 3; + optional google.protobuf.Timestamp end_time = 4; +} + +// Copied from: local:aiserver.v1.UpdateRunStatusResponse (var: epv) +message UpdateRunStatusResponse { + bool ok = 1; +} + +// Copied from: local:aiserver.v1.UpdateScimDirectorySyncSettingsRequest (var: F0u) +message UpdateScimDirectorySyncSettingsRequest { + string organization_id = 1; + int64 scim_directory_id = 2; + optional bool sync_directory_users_to_root_team = 3; +} + +// Copied from: local:aiserver.v1.UpdateScimDirectorySyncSettingsResponse (var: B0u) +message UpdateScimDirectorySyncSettingsResponse { + ScimDirectory directory = 1; +} + +// Copied from: local:aiserver.v1.UpdateSelfGithubAllowlistRequest (var: Kyu) +message UpdateSelfGithubAllowlistRequest { + // Copied from: local:aiserver.v1.UpdateSelfGithubAllowlistRequest.Operation (var: Qyu) + enum Operation { + OPERATION_UNSPECIFIED = 0; + OPERATION_ADD = 1; + OPERATION_REMOVE = 2; + } + + int64 installation_id = 1; + Operation operation = 2; + optional string ghe_application = 4; +} + +// Copied from: local:aiserver.v1.UpdateSelfGithubAllowlistResponse (var: Yyu) +message UpdateSelfGithubAllowlistResponse { + repeated string allowlist = 1; +} + +// Copied from: local:aiserver.v1.UpdateServiceAccountRepoScopeRequest (var: lfu) +message UpdateServiceAccountRepoScopeRequest { + int32 team_id = 1; + string service_account_id = 2; + int32 api_key_id = 3; + repeated string repo_scope = 4; + bool repo_scope_enabled = 5; +} + +// Copied from: local:aiserver.v1.UpdateServiceAccountRepoScopeResponse (var: ufu) +message UpdateServiceAccountRepoScopeResponse { + ServiceAccountKeyInfo api_key = 1; +} + +// Copied from: local:aiserver.v1.UpdateSharedConversationVisibilityRequest (var: iOs) +message UpdateSharedConversationVisibilityRequest { + string share_id = 1; + SharedConversationVisibility visibility = 2; +} + +// Copied from: local:aiserver.v1.UpdateSharedConversationVisibilityResponse (var: yxu) +message UpdateSharedConversationVisibilityResponse { + bool success = 1; +} + +// Copied from: local:aiserver.v1.UpdateSlackRepoRoutingRuleRequest (var: PCu) +message UpdateSlackRepoRoutingRuleRequest { + int32 team_id = 1; + string rule_id = 2; + string pattern = 3; + string repo = 4; + SlackRoutingRuleTargetType target_type = 5; + optional string environment_public_id = 6; +} + +// Copied from: local:aiserver.v1.UpdateSlackRepoRoutingRuleResponse (var: LCu) +message UpdateSlackRepoRoutingRuleResponse { + SlackRepoRoutingRule rule = 1; +} + +// Copied from: local:aiserver.v1.UpdateSlackTeamSettingsRequest (var: Jmu) +message UpdateSlackTeamSettingsRequest { + int32 team_id = 1; + string default_repo = 2; + string default_branch = 3; + string default_model = 4; + bool share_summary = 5; + bool share_summary_in_external_channel = 6; + repeated SlackChannelRepoMapping channel_repo_mappings = 7; + optional bool use_github_app_for_auto_draft_prs = 8; + string branch_prefix = 9; + optional CloudAgentModelSelection default_model_selection = 10; +} + +// Copied from: local:aiserver.v1.UpdateSlackTeamSettingsResponse (var: egu) +message UpdateSlackTeamSettingsResponse { +} + +// Copied from: local:aiserver.v1.UpdateSlackUserSettingsRequest (var: ECu) +message UpdateSlackUserSettingsRequest { + int32 team_id = 1; + string default_repo = 2; + string default_branch = 3; + string default_model = 4; + bool open_pr_by_default = 5; + optional bool use_github_app_for_auto_draft_prs = 6; + bool ci_failure_followup_enabled = 7; + string branch_prefix = 8; + optional CloudAgentModelSelection default_model_selection = 9; +} + +// Copied from: local:aiserver.v1.UpdateSlackUserSettingsResponse (var: xCu) +message UpdateSlackUserSettingsResponse { +} + +// Copied from: local:aiserver.v1.UpdateTeamAdminSettingsRequest (var: wbu) +message UpdateTeamAdminSettingsRequest { + int32 team_id = 1; + repeated string allowed_models = 2; + repeated string blocked_models = 3; + AutoRunControls auto_run_controls = 4; + CursorIgnoreControls cursor_ignore_controls = 5; + bool dot_cursor_protection = 6; + optional AllowedMCPConfiguration allowed_mcp_configuration = 7; + optional BackgroundAgentSettings background_agent_settings = 8; + optional CliSettings cli_settings = 9; + optional MCPControls mcp_controls = 10; + optional PromptDeeplinkControls prompt_deeplink_controls = 11; + optional CommandDeeplinkControls command_deeplink_controls = 12; + optional DeeplinkControls deeplink_controls = 13; + optional GithubIntegrationSettings github_integration_settings = 14; + optional SlackIntegrationSettings slack_integration_settings = 15; + optional LinearIntegrationSettings linear_integration_settings = 16; + optional WorkspaceTrustControls workspace_trust_controls = 17; + optional GitlabIntegrationSettings gitlab_integration_settings = 18; + optional bool browser_features = 19; + repeated string browser_origin_allowlist = 24; + optional bool byok_disabled = 20; + optional bool dashboard_analytics_requires_admin = 21; + optional SharedConversationSettings shared_conversation_settings = 22; + optional string allowed_extensions = 23; + optional bool disable_conversation_insights = 25; + optional CursorBlameSettings cursor_blame_settings = 26; + repeated string network_denylist = 27; + repeated string network_allowlist = 28; + optional ExtensionSigningSettings extension_signing_settings = 29; + optional bool enforce_invite_domain_on_accept = 30; + optional FirstPartyPluginConfiguration first_party_plugin_configuration = 31; + optional AttributionControls attribution_controls = 32; + optional bool allow_third_party_plugin_imports = 33; + optional bool allow_user_local_plugin_imports = 44; + optional GlassSettings glass_settings = 34; + optional LocalToolControls local_tool_controls = 59; + optional SandActionAuditSettings sand_action_audit_settings = 60; + optional TeamAdminNewChatModelResetSettings new_chat_model_reset_settings = 35; + optional ModelAllowlist model_allowlist = 36; + optional JiraIntegrationSettings jira_integration_settings = 37; + optional PullRequestPreferences pull_request_preferences = 38; + optional BrowserSettings browser_settings = 39; + repeated string cloud_agent_egress_allowlist = 40; + optional bool mirror_sandbox_allowlist_for_egress = 41; + AutoReviewInstructions auto_review = 49; + optional string remote_permissions_file_path = 42; + repeated string remote_permissions_file_paths = 46; + repeated string local_permissions_file_path = 45; + optional bool permissions_file_overrides_auto_run = 47; + optional bool update_permissions_file_paths = 57; + optional SharedCanvasSettings shared_canvas_settings = 43; + optional ExtensionInstallCooldownSettings extension_install_cooldown_settings = 48; + optional PublicProfileSettings public_profile_settings = 50; + optional BitbucketIntegrationSettings bitbucket_integration_settings = 51; + optional bool marketplace_leaderboard_disabled = 52; + optional bool new_chat_nudge_all_to_smart_auto = 53; + optional bool models_auto_only = 54; + optional string new_chat_nudge_all_to_smart_auto_optimize_for = 55; + optional bool enforce_hooks_readiness = 56; + optional LlmGatewaySettings llm_gateway = 58; + optional bool origin_disabled = 63; +} + +// Copied from: local:aiserver.v1.UpdateTeamAdminSettingsResponse (var: kbu) +message UpdateTeamAdminSettingsResponse { +} + +// Copied from: local:aiserver.v1.UpdateTeamBackgroundAgentSettingsRequest (var: Zxu) +message UpdateTeamBackgroundAgentSettingsRequest { + int32 team_id = 1; + BackgroundAgentSettings settings = 2; +} + +// Copied from: local:aiserver.v1.UpdateTeamBackgroundAgentSettingsResponse (var: Xxu) +message UpdateTeamBackgroundAgentSettingsResponse { +} + +// Copied from: local:aiserver.v1.UpdateTeamBugbotSettingsRequest (var: u1u) +message UpdateTeamBugbotSettingsRequest { + int32 team_id = 1; + optional int32 bugbot_licenses_hard_limit = 2; + optional bool bugbot_plan_enabled = 3; + repeated string allowlist = 4; + optional AllowlistConfig allowlist_config = 5; + optional bool bugbot_globally_disabled = 6; + repeated string mcp_server_names = 7; + optional bool is_incremental_review_enabled = 8; + optional bool merged_pr_scan_opt_out = 9; + optional bool apply_onboarding_high_effort_learning_defaults = 10; + optional int32 max_main_agent_cost_cents = 11; + optional int32 max_subagent_cost_cents = 12; + optional int32 max_runs_per_pr = 13; +} + +// Copied from: local:aiserver.v1.UpdateTeamBugbotSettingsResponse (var: d1u) +message UpdateTeamBugbotSettingsResponse { +} + +// Copied from: local:aiserver.v1.UpdateTeamCommandRequest (var: yEu) +message UpdateTeamCommandRequest { + string command_id = 1; + optional string name = 2; + optional string content = 3; + optional string description = 4; + optional bool is_active = 5; + optional int32 team_id = 6; +} + +// Copied from: local:aiserver.v1.UpdateTeamCommandResponse (var: SEu) +message UpdateTeamCommandResponse { + TeamCommand command = 1; +} + +// Copied from: local:aiserver.v1.UpdateTeamCustomerTelemetryDestinationRequest (var: _1u) +message UpdateTeamCustomerTelemetryDestinationRequest { + int32 team_id = 1; + string destination_id = 2; + optional string endpoint_url = 3; + optional TeamCustomerTelemetryDestinationHeaders headers = 4; + optional bool metrics_enabled = 5; + optional bool logs_enabled = 6; + optional bool enabled = 7; + optional TeamCustomerTelemetryDestinationFamilyList disabled_families = 8; + optional TeamCustomerTelemetryDestinationFamilyList enabled_families = 9; + optional bool auto_enable_new_families = 10; +} + +// Copied from: local:aiserver.v1.UpdateTeamCustomerTelemetryDestinationResponse (var: y1u) +message UpdateTeamCustomerTelemetryDestinationResponse { + TeamCustomerTelemetryDestination destination = 1; +} + +// Copied from: local:aiserver.v1.UpdateTeamDashboardAnalyticsSettingRequest (var: mku) +message UpdateTeamDashboardAnalyticsSettingRequest { + int32 team_id = 1; + bool dashboard_analytics_requires_admin = 2; +} + +// Copied from: local:aiserver.v1.UpdateTeamDashboardAnalyticsSettingResponse (var: gku) +message UpdateTeamDashboardAnalyticsSettingResponse { +} + +// Copied from: local:aiserver.v1.UpdateTeamDomainJoinSettingRequest (var: Cfu) +message UpdateTeamDomainJoinSettingRequest { + int32 team_id = 1; + bool allow_domain_join = 2; + repeated string enabled_domains = 3; + optional bool enforce_invite_domain_on_accept = 4; +} + +// Copied from: local:aiserver.v1.UpdateTeamDomainJoinSettingResponse (var: Efu) +message UpdateTeamDomainJoinSettingResponse { +} + +// Copied from: local:aiserver.v1.UpdateTeamGroupAutoReviewSettingsRequest (var: Zdu) +message UpdateTeamGroupAutoReviewSettingsRequest { + int32 team_id = 1; + int64 group_id = 2; + AutoReviewInstructions auto_review = 3; +} + +// Copied from: local:aiserver.v1.UpdateTeamGroupAutoReviewSettingsResponse (var: Xdu) +message UpdateTeamGroupAutoReviewSettingsResponse { +} + +// Copied from: local:aiserver.v1.UpdateTeamGroupAutorunSettingsRequest (var: Hdu) +message UpdateTeamGroupAutorunSettingsRequest { + int32 team_id = 1; + int64 group_id = 2; + AutoRunControls auto_run_controls = 3; +} + +// Copied from: local:aiserver.v1.UpdateTeamGroupAutorunSettingsResponse (var: zdu) +message UpdateTeamGroupAutorunSettingsResponse { +} + +// Copied from: local:aiserver.v1.UpdateTeamGroupMemberRequest (var: Udu) +message UpdateTeamGroupMemberRequest { + int32 team_id = 1; + int64 group_id = 2; + int32 user_id = 3; + optional int32 monthly_spending_limit_dollars = 4; + bool clear_monthly_spending_limit_dollars = 5; +} + +// Copied from: local:aiserver.v1.UpdateTeamGroupMemberResponse (var: $du) +message UpdateTeamGroupMemberResponse { + TeamGroupMember member = 1; +} + +// Copied from: local:aiserver.v1.UpdateTeamGroupModelAllowlistRequest (var: qdu) +message UpdateTeamGroupModelAllowlistRequest { + int32 team_id = 1; + int64 group_id = 2; + optional ModelAllowlist model_allowlist = 3; +} + +// Copied from: local:aiserver.v1.UpdateTeamGroupModelAllowlistResponse (var: Kdu) +message UpdateTeamGroupModelAllowlistResponse { +} + +// Copied from: local:aiserver.v1.UpdateTeamGroupRequest (var: Ddu) +message UpdateTeamGroupRequest { + int32 team_id = 1; + int64 group_id = 2; + string name = 3; + optional int32 monthly_spending_limit_dollars = 4; + bool clear_monthly_spending_limit_dollars = 5; + GroupVisibility visibility = 6; +} + +// Copied from: local:aiserver.v1.UpdateTeamGroupResponse (var: Mdu) +message UpdateTeamGroupResponse { + TeamGroup group = 1; +} + +// Copied from: local:aiserver.v1.UpdateTeamGroupSandNetworkSettingsRequest (var: shu) +message UpdateTeamGroupSandNetworkSettingsRequest { + int32 team_id = 1; + int64 group_id = 2; + SandNetworkControls sand_network_controls = 3; +} + +// Copied from: local:aiserver.v1.UpdateTeamGroupSandNetworkSettingsResponse (var: ohu) +message UpdateTeamGroupSandNetworkSettingsResponse { +} + +// Copied from: local:aiserver.v1.UpdateTeamGroupSmartAutoSettingsRequest (var: lhu) +message UpdateTeamGroupSmartAutoSettingsRequest { + int32 team_id = 1; + int64 group_id = 2; + SmartAutoSettings settings = 3; + optional bool new_chat_nudge_all_to_smart_auto = 4; + optional bool models_auto_only = 5; + optional string new_chat_nudge_all_to_smart_auto_optimize_for = 6; +} + +// Copied from: local:aiserver.v1.UpdateTeamGroupSmartAutoSettingsResponse (var: uhu) +message UpdateTeamGroupSmartAutoSettingsResponse { +} + +// Copied from: local:aiserver.v1.UpdateTeamHookRequest (var: pEu) +message UpdateTeamHookRequest { + string hook_id = 1; + optional string script_name = 2; + repeated string operating_systems = 3; + optional bool is_active = 4; + optional string script_content = 5; + optional string hook_type = 6; + optional string prompt_content = 7; + optional string prompt_model = 8; + optional int32 team_id = 9; +} + +// Copied from: local:aiserver.v1.UpdateTeamHookResponse (var: mEu) +message UpdateTeamHookResponse { + TeamHook hook = 1; +} + +// Copied from: local:aiserver.v1.UpdateTeamInviteLinkTTLSettingRequest (var: Cbu) +message UpdateTeamInviteLinkTTLSettingRequest { + int32 team_id = 1; + int32 invite_link_max_ttl_seconds = 2; +} + +// Copied from: local:aiserver.v1.UpdateTeamInviteLinkTTLSettingResponse (var: Ebu) +message UpdateTeamInviteLinkTTLSettingResponse { +} + +// Copied from: local:aiserver.v1.UpdateTeamMarketplaceConfigRequest (var: AOs) +message UpdateTeamMarketplaceConfigRequest { + int64 marketplace_id = 1; + repeated int64 directory_group_ids = 2; + optional int32 team_id = 3; + repeated MarketplaceAccessGrant access_grants = 4; + optional bool sync_access_grants = 5; +} + +// Copied from: local:aiserver.v1.UpdateTeamMarketplaceConfigResponse (var: jAu) +message UpdateTeamMarketplaceConfigResponse { + Marketplace marketplace = 1; +} + +// Copied from: local:aiserver.v1.UpdateTeamMarketplaceOriginDistributionInternalRequest (var: JTu) +message UpdateTeamMarketplaceOriginDistributionInternalRequest { + int64 marketplace_id = 1; + string distribution_git_url = 2; + string origin_repo_uuid = 3; + bool acknowledge_distribution_risk = 4; +} + +// Copied from: local:aiserver.v1.UpdateTeamMarketplaceOriginDistributionInternalResponse (var: eAu) +message UpdateTeamMarketplaceOriginDistributionInternalResponse { + bool changed = 1; + string distribution_git_url = 2; + string origin_repo_uuid = 3; +} + +// Copied from: local:aiserver.v1.UpdateTeamMemberInviteSettingRequest (var: xbu) +message UpdateTeamMemberInviteSettingRequest { + int32 team_id = 1; + bool restrict_invites_to_admins = 2; +} + +// Copied from: local:aiserver.v1.UpdateTeamMemberInviteSettingResponse (var: Tbu) +message UpdateTeamMemberInviteSettingResponse { +} + +// Copied from: local:aiserver.v1.UpdateTeamNameRequest (var: hku) +message UpdateTeamNameRequest { + int32 team_id = 1; + string new_name = 2; +} + +// Copied from: local:aiserver.v1.UpdateTeamNameResponse (var: pku) +message UpdateTeamNameResponse { +} + +// Copied from: local:aiserver.v1.UpdateTeamOriginSettingRequest (var: fku) +message UpdateTeamOriginSettingRequest { + int32 team_id = 1; + bool origin_disabled = 2; +} + +// Copied from: local:aiserver.v1.UpdateTeamOriginSettingResponse (var: vku) +message UpdateTeamOriginSettingResponse { +} + +// Copied from: local:aiserver.v1.UpdateTeamPinnedMarketplacePluginsRequest (var: EAu) +message UpdateTeamPinnedMarketplacePluginsRequest { + int32 team_id = 1; + repeated int64 plugin_ids = 2; +} + +// Copied from: local:aiserver.v1.UpdateTeamPinnedMarketplacePluginsResponse (var: xAu) +message UpdateTeamPinnedMarketplacePluginsResponse { + repeated Plugin plugins = 1; +} + +// Copied from: local:aiserver.v1.UpdateTeamPluginInstallRequest (var: AAu) +message UpdateTeamPluginInstallRequest { + int32 team_id = 1; + int64 plugin_id = 2; + optional bool is_required = 4; + optional string pinned_git_ref = 5; +} + +// Copied from: local:aiserver.v1.UpdateTeamPluginInstallResponse (var: IAu) +message UpdateTeamPluginInstallResponse { + TeamPluginInstall install = 1; +} + +// Copied from: local:aiserver.v1.UpdateTeamPrivacyModeMigrationOptOutRequest (var: s1u) +message UpdateTeamPrivacyModeMigrationOptOutRequest { + int32 team_id = 1; + bool opt_out = 2; +} + +// Copied from: local:aiserver.v1.UpdateTeamPrivacyModeMigrationOptOutResponse (var: o1u) +message UpdateTeamPrivacyModeMigrationOptOutResponse { +} + +// Copied from: local:aiserver.v1.UpdateTeamPromptCachingSettingsRequest (var: Nxu) +message UpdateTeamPromptCachingSettingsRequest { + int32 team_id = 1; + ClaudeCacheTtlPolicy claude_cache_ttl = 2; +} + +// Copied from: local:aiserver.v1.UpdateTeamPromptCachingSettingsResponse (var: Oxu) +message UpdateTeamPromptCachingSettingsResponse { +} + +// Copied from: local:aiserver.v1.UpdateTeamPublicProfileSettingsRequest (var: qxu) +message UpdateTeamPublicProfileSettingsRequest { + int32 team_id = 1; + PublicProfileSettings settings = 2; +} + +// Copied from: local:aiserver.v1.UpdateTeamPublicProfileSettingsResponse (var: Kxu) +message UpdateTeamPublicProfileSettingsResponse { +} + +// Copied from: local:aiserver.v1.UpdateTeamRepoSourcePreferenceRequest (var: qvu) +message UpdateTeamRepoSourcePreferenceRequest { + int32 team_id = 1; + PreferredRepoSourceMode preference = 2; +} + +// Copied from: local:aiserver.v1.UpdateTeamRepoSourcePreferenceResponse (var: Kvu) +message UpdateTeamRepoSourcePreferenceResponse { +} + +// Copied from: local:aiserver.v1.UpdateTeamRuleRequest (var: sEu) +message UpdateTeamRuleRequest { + string rule_id = 1; + optional string name = 2; + optional string content = 3; + repeated string globs = 6; + optional bool is_active = 4; + optional bool is_required = 5; + optional int32 team_id = 7; + optional TeamRuleAgentType agent_type = 8; +} + +// Copied from: local:aiserver.v1.UpdateTeamRuleResponse (var: oEu) +message UpdateTeamRuleResponse { + Rule rule = 1; +} + +// Copied from: local:aiserver.v1.UpdateTeamSandNetworkSettingsRequest (var: thu) +message UpdateTeamSandNetworkSettingsRequest { + int32 team_id = 1; + SandNetworkControls sand_network_controls = 2; +} + +// Copied from: local:aiserver.v1.UpdateTeamSandNetworkSettingsResponse (var: nhu) +message UpdateTeamSandNetworkSettingsResponse { +} + +// Copied from: local:aiserver.v1.UpdateTeamSandOnboardingCompletedRequest (var: Abu) +message UpdateTeamSandOnboardingCompletedRequest { + int32 team_id = 1; + bool completed = 2; +} + +// Copied from: local:aiserver.v1.UpdateTeamSandOnboardingCompletedResponse (var: Ibu) +message UpdateTeamSandOnboardingCompletedResponse { +} + +// Copied from: local:aiserver.v1.UpdateTeamScimRequireUserDirectorySettingRequest (var: bku) +message UpdateTeamScimRequireUserDirectorySettingRequest { + int32 team_id = 1; + bool scim_require_user_directory = 2; +} + +// Copied from: local:aiserver.v1.UpdateTeamScimRequireUserDirectorySettingResponse (var: _ku) +message UpdateTeamScimRequireUserDirectorySettingResponse { +} + +// Copied from: local:aiserver.v1.UpdateTeamSharedCanvasSettingsRequest (var: Hxu) +message UpdateTeamSharedCanvasSettingsRequest { + int32 team_id = 1; + SharedCanvasSettings settings = 2; +} + +// Copied from: local:aiserver.v1.UpdateTeamSharedCanvasSettingsResponse (var: zxu) +message UpdateTeamSharedCanvasSettingsResponse { +} + +// Copied from: local:aiserver.v1.UpdateTeamSharedConversationSettingsRequest (var: Exu) +message UpdateTeamSharedConversationSettingsRequest { + int32 team_id = 1; + SharedConversationSettings settings = 2; +} + +// Copied from: local:aiserver.v1.UpdateTeamSharedConversationSettingsResponse (var: xxu) +message UpdateTeamSharedConversationSettingsResponse { +} + +// Copied from: local:aiserver.v1.UpdateTeamSmartAutoSettingsRequest (var: Dxu) +message UpdateTeamSmartAutoSettingsRequest { + int32 team_id = 1; + SmartAutoSettings settings = 2; + optional bool new_chat_nudge_all_to_smart_auto = 3; + optional bool models_auto_only = 4; + optional string new_chat_nudge_all_to_smart_auto_optimize_for = 5; +} + +// Copied from: local:aiserver.v1.UpdateTeamSmartAutoSettingsResponse (var: Mxu) +message UpdateTeamSmartAutoSettingsResponse { +} + +// Copied from: local:aiserver.v1.UpdateUsageAlertsRequest (var: sTu) +message UpdateUsageAlertsRequest { + int32 team_id = 1; + repeated string alert_ids = 2; + string notification_mode = 3; + optional bool notify_all_admins = 4; + repeated int32 notify_admin_user_ids = 5; + optional bool notify_member = 6; + repeated string notification_channels = 7; +} + +// Copied from: local:aiserver.v1.UpdateUsageAlertsResponse (var: oTu) +message UpdateUsageAlertsResponse { + int32 updated_count = 1; +} + +// Copied from: local:aiserver.v1.UpdateUserDefaultMcpSettingsRequest (var: ipu) +message UpdateUserDefaultMcpSettingsRequest { + repeated int32 enabled_server_ids = 1; +} + +// Copied from: local:aiserver.v1.UpdateUserDefaultMcpSettingsResponse (var: rpu) +message UpdateUserDefaultMcpSettingsResponse { +} + +// Copied from: local:aiserver.v1.UpdateUserNameRequest (var: dwu) +message UpdateUserNameRequest { + string first_name = 1; + string last_name = 2; +} + +// Copied from: local:aiserver.v1.UpdateUserNameResponse (var: hwu) +message UpdateUserNameResponse { +} + +// Copied from: local:aiserver.v1.UpdateUserPluginInstallRequest (var: mOs) +message UpdateUserPluginInstallRequest { + int64 plugin_id = 1; + optional bool is_enabled = 3; + optional string pinned_git_ref = 5; + google.protobuf.Struct variables = 6; +} + +// Copied from: local:aiserver.v1.UpdateUserPluginInstallResponse (var: gAu) +message UpdateUserPluginInstallResponse { + UserPluginInstall install = 1; +} + +// Copied from: local:aiserver.v1.UpdateUserProfilePictureRequest (var: gwu) +message UpdateUserProfilePictureRequest { + optional string profile_picture_url = 1; +} + +// Copied from: local:aiserver.v1.UpdateUserProfilePictureResponse (var: fwu) +message UpdateUserProfilePictureResponse { + optional string profile_picture_url = 1; +} + +// Copied from: local:aiserver.v1.UpdateUserProfileRequest (var: ITu) +message UpdateUserProfileRequest { + optional string visibility = 1; + map links = 2; + optional google.protobuf.Struct metadata = 3; +} + +// Copied from: local:aiserver.v1.UpdateUserProfileResponse (var: RTu) +message UpdateUserProfileResponse { + UserProfile profile = 1; +} + +// Copied from: local:aiserver.v1.UpdateUserRepoSourcePreferenceRequest (var: B2s) +message UpdateUserRepoSourcePreferenceRequest { + PreferredRepoSourceMode preference = 1; +} + +// Copied from: local:aiserver.v1.UpdateUserRepoSourcePreferenceResponse (var: Gvu) +message UpdateUserRepoSourcePreferenceResponse { +} + +// Copied from: local:aiserver.v1.UpdateUserSmartAutoSettingsRequest (var: Uxu) +message UpdateUserSmartAutoSettingsRequest { + SmartAutoSettings settings = 1; +} + +// Copied from: local:aiserver.v1.UpdateUserSmartAutoSettingsResponse (var: $xu) +message UpdateUserSmartAutoSettingsResponse { + SmartAutoSettings settings = 1; +} + +// Copied from: local:aiserver.v1.UpdateVscodeProfileRequest (var: kIs) +message UpdateVscodeProfileRequest { + string machine_id = 1; + repeated string workspace_extensions = 2; + repeated string extensions = 3; +} + +// Copied from: local:aiserver.v1.UpdateVscodeProfileResponse (var: bzl) +message UpdateVscodeProfileResponse { +} + +// Copied from: local:aiserver.v1.UpgradeAction (var: s_c) +message UpgradeAction { + string membership_to_upgrade_to = 1; + optional bool try_immediate_upgrade = 2; + optional bool allow_trial = 3; +} + +// Copied from: local:aiserver.v1.UpgradeChoice (var: r_c) +message UpgradeChoice { +} + +// Copied from: local:aiserver.v1.UpgradeMobileSessionRequest (var: Ylv) +message UpgradeMobileSessionRequest { +} + +// Copied from: local:aiserver.v1.UpgradeMobileSessionResponse (var: Zlv) +message UpgradeMobileSessionResponse { + string session_token = 1; + string workos_id = 2; +} + +// Copied from: local:aiserver.v1.UpgradeRequest (var: E_v) +message UpgradeRequest { +} + +// Copied from: local:aiserver.v1.UpgradeResponse (var: x_v) +message UpgradeResponse { + string version = 1; + string new_port = 2; +} + +// Copied from: local:aiserver.v1.UpgradeScopeRequest (var: ft) +message UpgradeScopeRequest { + repeated string scopes = 2; +} + +// Copied from: local:aiserver.v1.UpgradeScopeResponse (var: gt) +message UpgradeScopeResponse { + // Copied from: local:aiserver.v1.UpgradeScopeResponse.Status (var: J) + enum Status { + STATUS_UNSPECIFIED = 0; + STATUS_SUCCESS = 1; + STATUS_FAILURE = 2; + } + + Status status = 1; +} + +// Copied from: local:aiserver.v1.UpgradeToYearlyRequest (var: rvu) +message UpgradeToYearlyRequest { + int32 team_id = 1; +} + +// Copied from: local:aiserver.v1.UpgradeToYearlyResponse (var: svu) +message UpgradeToYearlyResponse { +} + +// Copied from: local:aiserver.v1.UploadDocumentationRequest (var: Ibv) +message UploadDocumentationRequest { + string doc_identifier = 1; +} + +// Copied from: local:aiserver.v1.UploadFileRequest (var: Pe) +message UploadFileRequest { + RepositoryInfo repository = 1; + File file = 2; + string commit_sha = 3; + string queue_id = 4; +} + +// Copied from: local:aiserver.v1.UploadFileResponse (var: be) +message UploadFileResponse { + // Copied from: local:aiserver.v1.UploadFileResponse.Status (var: _) + enum Status { + STATUS_UNSPECIFIED = 0; + STATUS_SUCCESS = 1; + STATUS_FAILURE = 2; + STATUS_EXPECTED_FAILURE = 3; + STATUS_QUEUE_BACKED_UP = 4; + } + + Status status = 1; +} + +// Copied from: local:aiserver.v1.UploadIssueTraceRequest (var: V$u) +message UploadIssueTraceRequest { + string token = 1; + string payload = 2; + string payload_hash = 3; +} + +// Copied from: local:aiserver.v1.UploadIssueTraceResponse (var: G$u) +message UploadIssueTraceResponse { + string event_id = 1; + int64 size = 2; +} + +// Copied from: local:aiserver.v1.UploadPackfileChunkRequest (var: Wdv) +message UploadPackfileChunkRequest { + string codebase_uuid = 1; + string upload_uuid = 2; + uint32 chunk_index = 3; + bytes data = 4; +} + +// Copied from: local:aiserver.v1.UploadPackfileChunkResponse (var: Hdv) +message UploadPackfileChunkResponse { +} + +// Copied from: local:aiserver.v1.UploadRepositoryRequest (var: _t) +message UploadRepositoryRequest { + RepositoryInfo repository = 1; +} + +// Copied from: local:aiserver.v1.UploadRepositoryResponse (var: Tt) +message UploadRepositoryResponse { + // Copied from: local:aiserver.v1.UploadRepositoryResponse.Status (var: C) + enum Status { + STATUS_UNSPECIFIED = 0; + STATUS_SUCCESS = 1; + STATUS_FAILURE = 2; + STATUS_AUTH_TOKEN_BAD_PERMISSIONS = 3; + STATUS_ALREADY_EXISTS = 4; + } + + Status status = 1; +} + +// Copied from: local:aiserver.v1.UploadResponse (var: dQd) +message UploadResponse { + // Copied from: local:aiserver.v1.UploadResponse.Status (var: Nbv) + enum Status { + STATUS_UNSPECIFIED = 0; + STATUS_SUCCESS = 1; + STATUS_FAILURE = 2; + STATUS_ALREADY_EXISTS = 3; + STATUS_SIMILAR_ALREADY_EXISTS = 4; + } + + Status status = 1; + float progress = 2; + string similar_doc_identifier = 3; + repeated string uploaded_pages = 4; + string doc_uuid = 5; +} + +// Copied from: local:aiserver.v1.UploadStatus (var: Ebv) +enum UploadStatus { + UPLOAD_STATUS_UNSPECIFIED = 0; + UPLOAD_STATUS_IN_PROGRESS = 1; + UPLOAD_STATUS_SUCCEEDED = 2; + UPLOAD_STATUS_FAILED = 3; + UPLOAD_STATUS_NOT_FOUND = 4; +} + +// Copied from: local:aiserver.v1.UploadUserProfilePictureRequest (var: pwu) +message UploadUserProfilePictureRequest { + string content_type = 1; + bytes bytes = 2; +} + +// Copied from: local:aiserver.v1.UploadUserProfilePictureResponse (var: mwu) +message UploadUserProfilePictureResponse { + string profile_picture_url = 1; +} + +// Copied from: local:aiserver.v1.UploadedStatus (var: ezi) +message UploadedStatus { + // Copied from: local:aiserver.v1.UploadedStatus.Status (var: TZe) + enum Status { + STATUS_UNSPECIFIED = 0; + STATUS_IN_PROGRESS = 1; + STATUS_SUCCEEDED = 2; + STATUS_FAILED = 3; + STATUS_NOT_FOUND = 4; + } + + Status status = 1; + repeated string uploaded_pages = 2; +} + +// Copied from: local:aiserver.v1.UploadedStatusRequest (var: Abv) +message UploadedStatusRequest { + string doc_identifier = 1; +} + +// Copied from: local:aiserver.v1.UpsertDataOpsJobStepRequest (var: rmv) +message UpsertDataOpsJobStepRequest { + string job_id = 1; + DataOpsPhase phase = 2; + optional DataOpsStepDbStatus status = 3; + optional string ray_job_name = 4; + optional string ray_job_namespace = 5; + optional google.protobuf.Timestamp started_at = 6; + optional google.protobuf.Timestamp finished_at = 7; +} + +// Copied from: local:aiserver.v1.UpsertDataOpsJobStepResponse (var: smv) +message UpsertDataOpsJobStepResponse { + bool ok = 1; + string step_id = 2; +} + +// Copied from: local:aiserver.v1.UpsertDatagenRLPipelineRunStageRequest (var: hmv) +message UpsertDatagenRLPipelineRunStageRequest { + string run_id = 1; + string stage = 2; + optional int32 stage_index = 3; + optional DatagenRLPipelineStageDbStatus status = 4; + optional int32 progress_completed = 5; + optional int32 progress_failed = 6; + optional int32 progress_total = 7; + optional string artifact_s3_uri = 8; + optional google.protobuf.Struct artifacts = 9; + optional string message = 10; + optional string error_message = 11; + optional google.protobuf.Timestamp started_at = 12; + optional google.protobuf.Timestamp finished_at = 13; +} + +// Copied from: local:aiserver.v1.UpsertDatagenRLPipelineRunStageResponse (var: pmv) +message UpsertDatagenRLPipelineRunStageResponse { + bool ok = 1; + string stage_id = 2; +} + +// Copied from: local:aiserver.v1.UpsertDocsRequest (var: Obv) +message UpsertDocsRequest { + optional UploadStatus upload_status = 1; + optional string ignore_index_prefix = 2; + optional int32 doc_id = 3; +} + +// Copied from: local:aiserver.v1.UpsertDocsResponse (var: Fbv) +message UpsertDocsResponse { + repeated UploadResponse responses = 1; +} + +// Copied from: local:aiserver.v1.UpsertInvocationRequest (var: rdv) +message UpsertInvocationRequest { + InvocationInfo invocation = 1; +} + +// Copied from: local:aiserver.v1.UpsertInvocationResponse (var: sdv) +message UpsertInvocationResponse { + string invocation_id = 1; + bool already_existed = 2; + InvocationStatus status = 3; +} + +// Copied from: local:aiserver.v1.UpsertManualEnterpriseContractRequest (var: _hv) +message UpsertManualEnterpriseContractRequest { + int32 id = 1; + int32 team_id = 2; + google.protobuf.Timestamp start_date = 3; + google.protobuf.Timestamp end_date = 4; + int32 committed_usage_dollars = 5; + int32 committed_seats = 6; + double platform_discount_percent = 7; + string salesforce_account_id = 8; + string salesforce_opportunity_id = 9; + string salesforce_line_item_id = 10; + optional double cursor_token_fee_cents_per_million_tokens = 11; + optional double pooled_usage_revenue_discount_percent = 12; + optional double on_demand_usage_revenue_discount_percent = 13; + optional int64 organization_id = 14; + optional google.protobuf.Struct changed_by = 15; + optional bool waive_auto_smart_cursor_token_fee = 16; +} + +// Copied from: local:aiserver.v1.UpsertManualEnterpriseContractResponse (var: yhv) +message UpsertManualEnterpriseContractResponse { + EnterpriseContract contract = 1; +} + +// Copied from: local:aiserver.v1.UpsertRlEvalJobStepRequest (var: jpv) +message UpsertRlEvalJobStepRequest { + string job_id = 1; + int32 step = 2; + optional RlEvalStepDbStatus status = 3; + optional google.protobuf.Timestamp started_at = 9; + optional google.protobuf.Timestamp finished_at = 10; + optional google.protobuf.Timestamp status_started_at = 11; +} + +// Copied from: local:aiserver.v1.UpsertRlEvalJobStepResponse (var: Wpv) +message UpsertRlEvalJobStepResponse { + bool ok = 1; + string step_id = 2; +} + +// Copied from: local:aiserver.v1.UpsertRunRolloutStatusRequest (var: lpv) +message UpsertRunRolloutStatusRequest { + string run_id = 1; + string rollout_request_id = 2; + string data_point_id = 3; + int32 iteration_no = 4; + EvalRolloutStatus status = 5; + optional string message = 6; + optional string s3_task_result_key = 7; + optional double latency_ms = 8; + optional google.protobuf.Struct metrics = 9; + optional google.protobuf.Struct metrics_by_scorer = 10; + optional google.protobuf.Struct error = 11; + optional string error_message = 12; + optional google.protobuf.Timestamp end_time = 13; + optional int32 prompt_tokens = 14; + optional int32 completion_tokens = 15; + optional int32 cache_read_tokens = 16; + optional int32 cache_write_tokens = 17; + optional int32 reasoning_tokens = 23; + optional double total_cost_usd = 18; + optional google.protobuf.Struct structured_outputs_by_scorer = 19; + optional double env_prep_ms = 20; + optional double agent_loop_ms = 21; + optional double scoring_ms = 22; + optional string reused_from_rollout_request_id = 24; +} + +// Copied from: local:aiserver.v1.UpsertRunRolloutStatusResponse (var: hpv) +message UpsertRunRolloutStatusResponse { + bool ok = 1; +} + +// Copied from: local:aiserver.v1.UriComponents (var: e_c) +message UriComponents { + string scheme = 1; + optional string authority = 2; + optional string path = 3; + optional string query = 4; + optional string fragment = 5; +} + +// Copied from: local:aiserver.v1.UrlAction (var: l_c) +message UrlAction { + string url = 1; +} + +// Copied from: local:aiserver.v1.UsageAlert (var: sOs) +message UsageAlert { + string id = 1; + int32 team_id = 2; + string target_type = 3; + string target_scope = 4; + int32 threshold_cents = 5; + string notification_mode = 6; + bool enabled = 7; + int64 created_at = 8; + optional bool notify_all_admins = 9; + repeated int32 notify_admin_user_ids = 10; + optional bool notify_member = 11; + optional int32 group_id = 12; + optional string group_name = 13; + optional string threshold_type = 14; + optional int32 threshold_bps = 15; + optional string resource_threshold_id = 16; + optional int32 resource_threshold_cents = 17; + optional string resource_threshold_level = 18; + repeated string notification_channels = 19; + optional string spend_bucket = 20; +} + +// Copied from: local:aiserver.v1.UsageData (var: aKl) +message UsageData { + int32 gpt4_requests = 2; + int32 gpt4_max_requests = 3; +} + +// Copied from: local:aiserver.v1.UsageEvent (var: lIs) +message UsageEvent { + int64 timestamp = 1; + UsageEventDetails details = 2; + optional string subscription_product_id = 3; + optional string usage_price_id = 4; + bool is_slow = 5; + string status = 6; + optional string owning_user = 7; + optional string owning_team = 8; + optional float price_cents = 9; + optional string team_membership_type = 10; +} + +// Copied from: local:aiserver.v1.UsageEventDetails (var: TAi) +message UsageEventDetails { + // Copied from: local:aiserver.v1.UsageEventDetails.AiReviewAcceptedComment (var: HWl) + message AiReviewAcceptedComment { + } + + // Copied from: local:aiserver.v1.UsageEventDetails.BugBot (var: LWl) + message BugBot { + string model_intent = 1; + TokenUsage token_usage = 2; + bool is_token_based_call = 3; + bool max_mode = 4; + string billing_mode = 7; + oneof discount { + google.protobuf.Empty no_discount = 5; + google.protobuf.Empty free = 6; + } + } + + // Copied from: local:aiserver.v1.UsageEventDetails.BugFinderTriggerV1 (var: PWl) + message BugFinderTriggerV1 { + bool in_background_subsidized = 1; + int32 cost_cents = 2; + bool is_fast = 3; + } + + // Copied from: local:aiserver.v1.UsageEventDetails.Chat (var: NWl) + message Chat { + string model_intent = 1; + optional int32 override_num_requests_counted = 2; + optional bool is_token_based_call = 3; + optional TokenUsage token_usage = 4; + optional bool max_mode = 5; + } + + // Copied from: local:aiserver.v1.UsageEventDetails.CmdK (var: jWl) + message CmdK { + string model_intent = 1; + optional int32 override_num_requests_counted = 2; + optional bool is_token_based_call = 3; + optional TokenUsage token_usage = 4; + optional bool max_mode = 5; + } + + // Copied from: local:aiserver.v1.UsageEventDetails.Composer (var: FWl) + message Composer { + string model_intent = 1; + optional int32 override_num_requests_counted = 2; + optional bool is_headless = 3; + optional bool is_token_based_call = 4; + optional TokenUsage token_usage = 5; + optional bool max_mode = 6; + } + + // Copied from: local:aiserver.v1.UsageEventDetails.ContextChat (var: $Wl) + message ContextChat { + string model_intent = 1; + optional int32 override_num_requests_counted = 2; + optional bool is_token_based_call = 3; + optional TokenUsage token_usage = 4; + optional bool max_mode = 5; + } + + // Copied from: local:aiserver.v1.UsageEventDetails.FastApply (var: OWl) + message FastApply { + bool is_optimistic = 1; + bool willing_to_pay_extra_for_speed = 2; + } + + // Copied from: local:aiserver.v1.UsageEventDetails.InterpreterChat (var: zWl) + message InterpreterChat { + string model_intent = 1; + optional int32 override_num_requests_counted = 2; + optional bool is_token_based_call = 3; + optional TokenUsage token_usage = 4; + optional bool max_mode = 5; + } + + // Copied from: local:aiserver.v1.UsageEventDetails.PromptHook (var: MWl) + message PromptHook { + string model_intent = 1; + optional TokenUsage token_usage = 2; + optional bool max_mode = 3; + optional bool is_token_based_call = 4; + } + + // Copied from: local:aiserver.v1.UsageEventDetails.SlashEdit (var: VWl) + message SlashEdit { + string model_intent = 1; + optional bool max_mode = 2; + } + + // Copied from: local:aiserver.v1.UsageEventDetails.TerminalCmdK (var: WWl) + message TerminalCmdK { + string model_intent = 1; + optional int32 override_num_requests_counted = 2; + optional bool is_token_based_call = 3; + optional TokenUsage token_usage = 4; + optional bool max_mode = 5; + } + + // Copied from: local:aiserver.v1.UsageEventDetails.ToolCallComposer (var: BWl) + message ToolCallComposer { + string model_intent = 1; + optional int32 override_num_requests_counted = 2; + optional bool is_headless = 3; + optional bool is_token_based_call = 4; + optional TokenUsage token_usage = 5; + optional bool max_mode = 6; + } + + // Copied from: local:aiserver.v1.UsageEventDetails.WarmComposer (var: UWl) + message WarmComposer { + string model_intent = 1; + optional bool max_mode = 2; + } + + optional int32 override_num_requests_counted = 13; + optional int32 override_num_requests_counted_millis = 16; + optional string routed_model = 17; + optional ModelSelectionSnapshot requested_model_selection = 18; + optional ModelSelectionSnapshot effective_model_selection = 19; + oneof feature { + Chat chat = 1; + ContextChat context_chat = 2; + CmdK cmd_k = 3; + TerminalCmdK terminal_cmd_k = 4; + AiReviewAcceptedComment ai_review_accepted_comment = 5; + InterpreterChat interpreter_chat = 6; + SlashEdit slash_edit = 7; + Composer composer = 8; + FastApply fast_apply = 9; + WarmComposer warm_composer = 10; + BugFinderTriggerV1 bug_finder_trigger_v1 = 11; + ToolCallComposer tool_call_composer = 12; + BugBot bug_bot = 14; + PromptHook prompt_hook = 15; + } +} + +// Copied from: local:aiserver.v1.UsageEventDisplay (var: GWl) +message UsageEventDisplay { + int64 timestamp = 1; + string model = 2; + UsageEventKind kind = 3; + optional string custom_subscription_name = 4; + bool max_mode = 5; + float requests_costs = 6; + optional string usage_based_costs = 7; + optional bool is_token_based_call = 8; + optional TokenUsage token_usage = 9; + optional string owning_user = 10; + optional string owning_team = 11; + optional string user_email = 12; + optional float cursor_token_fee = 13; + optional bool is_chargeable = 14; + optional string service_account_name = 15; + optional string service_account_id = 16; + optional bool is_headless = 17; + optional float charged_cents = 18; + optional string cloud_agent_id = 19; + optional string automation_id = 20; + optional string automation_managed_type = 21; + optional string client_type = 22; + optional string conversation_id = 23; + optional string subscription_product_id = 24; +} + +// Copied from: local:aiserver.v1.UsageEventKind (var: RWl) +enum UsageEventKind { + USAGE_EVENT_KIND_UNSPECIFIED = 0; + USAGE_EVENT_KIND_USAGE_BASED = 1; + USAGE_EVENT_KIND_USER_API_KEY = 2; + USAGE_EVENT_KIND_INCLUDED_IN_PRO = 3; + USAGE_EVENT_KIND_INCLUDED_IN_BUSINESS = 4; + USAGE_EVENT_KIND_ERRORED_NOT_CHARGED = 5; + USAGE_EVENT_KIND_ABORTED_NOT_CHARGED = 6; + USAGE_EVENT_KIND_CUSTOM_SUBSCRIPTION = 7; + USAGE_EVENT_KIND_INCLUDED_IN_PRO_PLUS = 8; + USAGE_EVENT_KIND_INCLUDED_IN_ULTRA = 9; + USAGE_EVENT_KIND_FREE_CREDIT = 10; +} + +// Copied from: local:aiserver.v1.UsageReport (var: ubv) +message UsageReport { + string provider = 1; + string model = 2; + string deployment = 3; + string workload_id = 4; + int64 input_tokens = 5; + int64 output_tokens = 6; + bool success = 7; + ProviderErrorType provider_error_type = 8; + int64 cached_input_tokens = 9; + bool is_stream = 10; + string canonical_model = 11; +} + +// Copied from: local:aiserver.v1.UseSandBankedResetRequest (var: t_u) +message UseSandBankedResetRequest { + int64 expected_current_period_start_ms = 1; +} + +// Copied from: local:aiserver.v1.UseSandBankedResetResponse (var: n_u) +message UseSandBankedResetResponse { + google.protobuf.Timestamp new_current_period_start = 1; +} + +// Copied from: local:aiserver.v1.UsedEnvironmentBuildInfo (var: ELu) +message UsedEnvironmentBuildInfo { + optional EnvironmentBuildBootInfo boot_info = 1; +} + +// Copied from: local:aiserver.v1.UsefulType (var: upo) +message UsefulType { + string relative_workspace_path = 1; + int32 start_line = 2; + string text = 3; + optional double score = 4; +} + +// Copied from: local:aiserver.v1.User (var: oqd) +message User { + string id = 2; + optional string email = 3; + optional bool email_verified = 4; + optional string first_name = 5; + optional string last_name = 6; + optional string created_at = 7; + optional string updated_at = 8; +} + +// Copied from: local:aiserver.v1.UserAccessRequestKind (var: xcu) +enum UserAccessRequestKind { + USER_ACCESS_REQUEST_KIND_UNSPECIFIED = 0; + USER_ACCESS_REQUEST_KIND_SAND_TEAM_ACCESS = 1; +} + +// Copied from: agent.v1.UserContextInjection (var: wTi) +message UserContextInjection { + UserMessage user_message = 1; + RequestContext request_context = 2; +} + +// Copied from: agent.v1.UserDisplayInfo (var: ATi) +message UserDisplayInfo { + int32 user_id = 1; + optional string display_name = 2; + optional string email = 3; + optional string profile_picture_url = 4; +} + +// Copied from: agent.v1.UserMessage (var: Pk) +message UserMessage { + // Copied from: agent.v1.UserMessage.SimulatedMessageMetadata (var: _9l) + 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; + optional bool turn_steer = 24; +} + +// Copied from: agent.v1.UserMessageAction (var: zpe) +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: agent.v1.UserMessageAppendedUpdate (var: NTi) +message UserMessageAppendedUpdate { + UserMessage user_message = 1; +} + +// Copied from: local:aiserver.v1.UserOrganizationRole (var: F3t) +enum UserOrganizationRole { + USER_ORGANIZATION_ROLE_UNSPECIFIED = 0; + USER_ORGANIZATION_ROLE_ADMIN = 1; + USER_ORGANIZATION_ROLE_MEMBER = 2; + USER_ORGANIZATION_ROLE_BILLING_ADMIN = 4; +} + +// Copied from: local:aiserver.v1.UserPluginInstall (var: UDi) +message UserPluginInstall { + int32 user_id = 1; + int64 plugin_id = 2; + bool is_enabled = 4; + int64 created_at = 6; + int64 updated_at = 7; + Plugin plugin = 8; + optional string pinned_git_ref = 10; +} + +// Copied from: local:aiserver.v1.UserProfile (var: lmt) +message UserProfile { + optional string handle = 1; + string visibility = 2; + map links = 3; + string created_at = 4; + string updated_at = 5; + optional string display_name = 6; + optional string avatar_url = 7; + repeated string badges = 8; +} + +// Copied from: local:aiserver.v1.UserPullRequest (var: omt) +message UserPullRequest { + int32 number = 1; + string title = 2; + string state = 3; + string url = 4; + string repository = 5; + string created_at = 6; + string updated_at = 7; + bool is_draft = 8; + string author = 9; + string description = 10; + repeated PullRequestLabel labels = 11; + string head_ref = 12; + string base_ref = 13; + int32 comments = 14; + int32 review_comments = 15; + string merged_at = 16; + string closed_at = 17; + string description_raw = 18; + string head_sha = 19; +} + +// Copied from: local:aiserver.v1.UserResponseToSuggestedCodeBlock (var: lTs) +message UserResponseToSuggestedCodeBlock { + // Copied from: local:aiserver.v1.UserResponseToSuggestedCodeBlock.UserResponseType (var: uTs) + enum UserResponseType { + USER_RESPONSE_TYPE_UNSPECIFIED = 0; + USER_RESPONSE_TYPE_ACCEPT = 1; + USER_RESPONSE_TYPE_REJECT = 2; + USER_RESPONSE_TYPE_MODIFY = 3; + } + + UserResponseType user_response_type = 1; + string file_path = 2; + optional FileDiff user_modifications_to_suggested_code_blocks = 3; +} + +// Copied from: local:aiserver.v1.UserRules (var: ixs) +message UserRules { + repeated ConversationMessage.KnowledgeItem rules = 1; +} + +// Copied from: local:aiserver.v1.UserWorkerSummary (var: jFu) +message UserWorkerSummary { + int32 total_connected = 1; + int32 in_use = 2; + int32 team_workers_in_use_by_user = 3; +} + +// Copied from: local:aiserver.v1.V0ChainRunRequest (var: Agv) +message V0ChainRunRequest { + string relative_workspace_path = 1; + string file_contents = 2; + int32 implementation_start_line_inclusive = 3; + int32 implementation_end_line_inclusive = 4; + repeated CppFileDiffHistory diff_history = 5; + repeated int32 call_site_lines = 6; + string function_name = 7; + repeated UsefulType useful_types = 8; + HallucinatedFunctionsProtoPrompt prompt = 10; + CmdKDebugInfo debug_info = 9; +} + +// Copied from: local:aiserver.v1.V0ChainRunResponse (var: Igv) +message V0ChainRunResponse { + string text = 1; +} + +// Copied from: local:aiserver.v1.ValidateAutomationSpecRequest (var: GWu) +message ValidateAutomationSpecRequest { + AutomationDeploySpec spec = 1; +} + +// Copied from: local:aiserver.v1.ValidateAutomationSpecResponse (var: qWu) +message ValidateAutomationSpecResponse { + bool would_create = 1; + optional string automation_id = 2; +} + +// Copied from: local:aiserver.v1.ValidateAutomationToolsRequest (var: ZHu) +message ValidateAutomationToolsRequest { + string prompt = 1; + repeated string trigger_types = 2; +} + +// Copied from: local:aiserver.v1.ValidateAutomationToolsResponse (var: XHu) +message ValidateAutomationToolsResponse { + repeated ToolSuggestion suggestions = 1; +} + +// Copied from: local:aiserver.v1.ValidateBedrockIamRoleRequest (var: tyu) +message ValidateBedrockIamRoleRequest { + int32 team_id = 1; + string bedrock_iam_role = 2; + string region = 3; + string model_id = 4; +} + +// Copied from: local:aiserver.v1.ValidateBedrockIamRoleResponse (var: nyu) +message ValidateBedrockIamRoleResponse { + bool success = 1; + string error_message = 2; +} + +// Copied from: local:aiserver.v1.ValidateMcpOAuthTokensRequest (var: Mpu) +message ValidateMcpOAuthTokensRequest { + // Copied from: local:aiserver.v1.ValidateMcpOAuthTokensRequest.Target (var: Ppu) + message Target { + string server_url = 1; + string account_key = 2; + } + + repeated string server_urls = 1; + optional string service_account_id = 2; + repeated Target targets = 3; +} + +// Copied from: local:aiserver.v1.ValidateMcpOAuthTokensResponse (var: Lpu) +message ValidateMcpOAuthTokensResponse { + // Copied from: local:aiserver.v1.ValidateMcpOAuthTokensResponse.Result (var: Npu) + message Result { + string server_url = 1; + bool has_valid_token = 2; + string account_key = 3; + } + + repeated Result results = 1; +} + +// Copied from: local:aiserver.v1.VerifyAppleTransactionRequest (var: D_u) +message VerifyAppleTransactionRequest { + string signed_transaction_jws = 1; + string product_id = 2; + string app_account_token = 3; +} + +// Copied from: local:aiserver.v1.VerifyAppleTransactionResponse (var: M_u) +message VerifyAppleTransactionResponse { + string tier = 1; +} + +// Copied from: local:aiserver.v1.VerifyBackgroundComposerAccessRequest (var: MOu) +message VerifyBackgroundComposerAccessRequest { + string bc_id = 1; + string access_type = 2; +} + +// Copied from: local:aiserver.v1.VerifyBackgroundComposerAccessResponse (var: POu) +message VerifyBackgroundComposerAccessResponse { + bool has_access = 1; +} + +// Copied from: local:aiserver.v1.VideoAnnotation (var: ILu) +message VideoAnnotation { + repeated VideoChapter labeled_chapters = 1; + VideoTimestamp thumbnail_timestamp = 2; + optional double trim_start_seconds = 3; + optional double trim_end_seconds = 4; +} + +// Copied from: local:aiserver.v1.VideoAnnotationEntry (var: FFs) +message VideoAnnotationEntry { + string artifact_path = 1; + VideoAnnotation annotation = 2; +} + +// Copied from: local:aiserver.v1.VideoAnnotationsWrapper (var: UOu) +message VideoAnnotationsWrapper { + repeated VideoAnnotationEntry entries = 1; +} + +// Copied from: local:aiserver.v1.VideoChapter (var: ALu) +message VideoChapter { + VideoTimestamp start_time = 1; + string label = 3; + bool should_hide = 4; +} + +// Copied from: local:aiserver.v1.VideoTimestamp (var: OFs) +message VideoTimestamp { + int32 minutes = 1; + double seconds = 2; +} + +// Copied from: local:aiserver.v1.ViewableCommitProps (var: Lxs) +message ViewableCommitProps { + string description = 1; + string message = 2; + repeated DiffFile files = 3; +} + +// Copied from: local:aiserver.v1.ViewableDiffProps (var: Oxs) +message ViewableDiffProps { + repeated DiffFile files = 1; + string diff_preface = 2; +} + +// Copied from: local:aiserver.v1.ViewableGitContext (var: qTi) +message ViewableGitContext { + optional ViewableCommitProps commit_data = 1; + optional ViewablePRProps pull_request_data = 2; + repeated ViewableDiffProps diff_data = 3; +} + +// Copied from: local:aiserver.v1.ViewablePRProps (var: Nxs) +message ViewablePRProps { + string title = 1; + string body = 2; + repeated DiffFile files = 3; +} + +// Copied from: local:aiserver.v1.VmProvisionedCommand (var: rm) +message VmProvisionedCommand { + string name = 1; + string description = 2; +} + +// Copied from: local:aiserver.v1.VmProvisionedSkill (var: xLu) +message VmProvisionedSkill { + string skill_id = 1; + string description = 2; + repeated string environments = 3; + repeated string disabled_environments = 4; + optional CustomModeDescriptor custom_mode = 5; + optional string display_name = 6; + optional string icon = 7; + optional string color = 8; +} + +// Copied from: local:aiserver.v1.VscodeCPUProperties (var: Obc) +message VscodeCPUProperties { + string model = 1; + double speed = 2; +} + +// Copied from: local:aiserver.v1.VscodeOSProperties (var: Nbc) +message VscodeOSProperties { + string type = 1; + string release = 2; + string arch = 3; + string platform = 4; + repeated VscodeCPUProperties cpus = 5; +} + +// Copied from: local:aiserver.v1.VscodeOSStatistics (var: Lbc) +message VscodeOSStatistics { + double totalmem = 1; + double freemem = 2; + repeated double loadavg = 3; +} + +// Copied from: agent.v1.WaitAction (var: KRl) +message WaitAction { + int32 duration_ms = 1; +} + +// Copied from: anyrun.v1.WaitingForWorkerStatus (var: wau) +message WaitingForWorkerStatus { + int32 retry_count = 1; + int32 max_retries = 2; + PrivateWorkerWaitReason wait_reason = 3; +} + +// Copied from: local:aiserver.v1.WakeBackgroundComposerReason (var: qOs) +enum WakeBackgroundComposerReason { + WAKE_BACKGROUND_COMPOSER_REASON_UNSPECIFIED = 0; + WAKE_BACKGROUND_COMPOSER_REASON_FOLLOWUP_COMPOSE = 1; +} + +// Copied from: local:aiserver.v1.WakeBackgroundComposerRequest (var: cFs) +message WakeBackgroundComposerRequest { + string bc_id = 1; + WakeBackgroundComposerReason reason = 2; +} + +// Copied from: local:aiserver.v1.WakeBackgroundComposerResponse (var: lFs) +message WakeBackgroundComposerResponse { + bool signaled = 1; +} + +// Copied from: local:aiserver.v1.WarmApplyRequest (var: lWl) +message WarmApplyRequest { + CurrentFileInfo current_file = 2; + repeated ConversationMessage conversation = 3; + ExplicitContext explicit_context = 4; + FastApplySource source = 5; + bool willing_to_pay_extra_for_speed = 6; +} + +// Copied from: local:aiserver.v1.WarmApplyResponse (var: uWl) +message WarmApplyResponse { +} + +// Copied from: local:aiserver.v1.WarmChatCacheRequest (var: eKl) +message WarmChatCacheRequest { + GetChatRequest request = 1; +} + +// Copied from: local:aiserver.v1.WarmChatCacheResponse (var: tKl) +message WarmChatCacheResponse { + bool did_warm_cache = 1; +} + +// Copied from: local:aiserver.v1.WarmComposerCacheResponse (var: Jql) +message WarmComposerCacheResponse { + bool did_warm_cache = 1; +} + +// Copied from: local:aiserver.v1.WarmCursorServerDownloadRequest (var: JMu) +message WarmCursorServerDownloadRequest { + string bc_id = 1; + string commit = 2; +} + +// Copied from: local:aiserver.v1.WarmCursorServerDownloadResponse (var: ePu) +message WarmCursorServerDownloadResponse { + bool already_downloaded = 1; +} + +// Copied from: local:aiserver.v1.WarmCursorServerRequest (var: r_v) +message WarmCursorServerRequest { + string commit = 1; + int32 port = 2; + string connection_token = 3; + string root_path = 4; +} + +// Copied from: local:aiserver.v1.WarmCursorServerResponse (var: s_v) +message WarmCursorServerResponse { +} + +// Copied from: anyrun.v1.WarmForkMode (var: Oau) +enum WarmForkMode { + WARM_FORK_MODE_UNSPECIFIED = 0; + WARM_FORK_MODE_NONE = 1; + WARM_FORK_MODE_FORKED = 2; + WARM_FORK_MODE_COLD_FALLBACK = 3; + WARM_FORK_MODE_LAZY_LOAD = 4; + WARM_FORK_MODE_COLD_FALLBACK_LAZY_LOAD = 5; +} + +// Copied from: local:aiserver.v1.WarmStreamUnifiedChatWithToolsResponse (var: ZTi) +message WarmStreamUnifiedChatWithToolsResponse { +} + +// Copied from: local:aiserver.v1.WatchBackgroundComposerSnapshotStateRequest (var: mMu) +message WatchBackgroundComposerSnapshotStateRequest { + string snapshot_id = 1; +} + +// Copied from: local:aiserver.v1.WatchBackgroundComposerSnapshotStateResponse (var: gMu) +message WatchBackgroundComposerSnapshotStateResponse { + string snapshot_id = 1; + SnapshotState state = 2; + optional string error_message = 3; +} + +// Copied from: local:aiserver.v1.WatchSandBoxMigrationRequest (var: bKd) +message WatchSandBoxMigrationRequest { + string from_offset_key = 1; + bool include_finished = 2; +} + +// Copied from: local:aiserver.v1.WaterfallLogLevel (var: BSe) +enum WaterfallLogLevel { + WATERFALL_LOG_LEVEL_UNSPECIFIED = 0; + WATERFALL_LOG_LEVEL_DEBUG = 1; + WATERFALL_LOG_LEVEL_INFO = 2; + WATERFALL_LOG_LEVEL_WARN = 3; + WATERFALL_LOG_LEVEL_ERROR = 4; +} + +// Copied from: local:aiserver.v1.WaterfallPhaseType (var: eR) +enum WaterfallPhaseType { + WATERFALL_PHASE_TYPE_UNSPECIFIED = 0; + WATERFALL_PHASE_TYPE_ENVIRONMENT = 1; + WATERFALL_PHASE_TYPE_CREATE_CLOUD_WORKSPACE = 2; + WATERFALL_PHASE_TYPE_PROVISION_SANDBOX = 3; + WATERFALL_PHASE_TYPE_RESTORE_WORKSPACE_FILES = 4; + WATERFALL_PHASE_TYPE_DOCKER_BUILD = 5; + WATERFALL_PHASE_TYPE_SETUP_REPOSITORY = 6; + WATERFALL_PHASE_TYPE_INSTALL_DEPENDENCIES = 7; + WATERFALL_PHASE_TYPE_RUN_WORKSPACE_SETUP = 8; + WATERFALL_PHASE_TYPE_START_AGENT_SERVICES = 9; + WATERFALL_PHASE_TYPE_INSTALL_EXTENSIONS = 10; + WATERFALL_PHASE_TYPE_COMPLETE = 11; + WATERFALL_PHASE_TYPE_ACQUIRE_POD = 12; + WATERFALL_PHASE_TYPE_HYDRATE = 13; +} + +// Copied from: local:aiserver.v1.WaterfallSpan (var: y4i) +message WaterfallSpan { + string span_id = 1; + optional string parent_span_id = 2; + WaterfallPhaseType phase_type = 10; + optional string fallback_phase_label = 11; + google.protobuf.Timestamp start_time = 3; + optional WaterfallSpanEnd end = 9; + repeated WaterfallSpanLog logs = 5; + optional WaterfallSpanStatus status = 6; + optional CallToAction call_to_action = 7; + SpanState span_state = 8; +} + +// Copied from: local:aiserver.v1.WaterfallSpanEnd (var: S4i) +message WaterfallSpanEnd { + google.protobuf.Timestamp timestamp = 1; + WaterfallSpanEndStatus end_status = 2; +} + +// Copied from: local:aiserver.v1.WaterfallSpanEndStatus (var: Zpt) +enum WaterfallSpanEndStatus { + WATERFALL_SPAN_END_STATUS_UNSPECIFIED = 0; + WATERFALL_SPAN_END_STATUS_SUCCESS = 1; + WATERFALL_SPAN_END_STATUS_FAILURE = 2; + WATERFALL_SPAN_END_STATUS_SKIPPED = 3; +} + +// Copied from: local:aiserver.v1.WaterfallSpanLog (var: wTn) +message WaterfallSpanLog { + google.protobuf.Timestamp timestamp = 1; + string message = 2; + WaterfallLogLevel level = 3; +} + +// Copied from: local:aiserver.v1.WaterfallSpanStatus (var: k4i) +message WaterfallSpanStatus { + google.protobuf.Timestamp timestamp = 1; + WaterfallSpanStatusType status_type = 2; + string message = 3; +} + +// Copied from: local:aiserver.v1.WaterfallSpanStatusType (var: yqe) +enum WaterfallSpanStatusType { + WATERFALL_SPAN_STATUS_TYPE_UNSPECIFIED = 0; + WATERFALL_SPAN_STATUS_TYPE_MESSAGE = 1; + WATERFALL_SPAN_STATUS_TYPE_WARN = 2; + WATERFALL_SPAN_STATUS_TYPE_ERROR = 3; +} + +// Copied from: local:aiserver.v1.WaterfallState (var: _4i) +message WaterfallState { + repeated WaterfallSpan spans = 1; +} + +// Copied from: local:aiserver.v1.WaterfallUpdate (var: Xpt) +message WaterfallUpdate { + google.protobuf.Timestamp timestamp = 1; + oneof update { + SpanStart span_start = 2; + SpanEnd span_end = 3; + SpanLog span_log = 4; + SpanStatusUpdate span_status_update = 5; + SpanUpdate span_update = 6; + SetupWaterfallSentinel sentinel = 8; + } +} + +// Copied from: local:aiserver.v1.WebAcknowledgeGracePeriodDisclaimerRequest (var: xwu) +message WebAcknowledgeGracePeriodDisclaimerRequest { +} + +// Copied from: local:aiserver.v1.WebAcknowledgeGracePeriodDisclaimerResponse (var: Twu) +message WebAcknowledgeGracePeriodDisclaimerResponse { +} + +// Copied from: local:aiserver.v1.WebCitation (var: jTi) +message WebCitation { + repeated WebReference references = 1; +} + +// Copied from: agent.v1.WebFetchAllowlistPrecheckArgs (var: gUl) +message WebFetchAllowlistPrecheckArgs { + string url = 1; + optional string tool_call_id = 2; +} + +// Copied from: agent.v1.WebFetchAllowlistPrecheckResult (var: fUl) +message WebFetchAllowlistPrecheckResult { + bool allowlisted = 1; +} + +// Copied from: agent.v1.WebFetchArgs (var: Kxi) +message WebFetchArgs { + string url = 1; + string tool_call_id = 2; +} + +// Copied from: local:aiserver.v1.WebFetchParams (var: oGe) +message WebFetchParams { + string url = 1; +} + +// Copied from: agent.v1.WebFetchRequestQuery (var: JFl) +message WebFetchRequestQuery { + WebFetchArgs args = 1; + bool skip_approval = 2; + SmartModeApproval smart_mode_approval = 3; +} + +// Copied from: agent.v1.WebFetchRequestResponse (var: CGe) +message WebFetchRequestResponse { + // Copied from: agent.v1.WebFetchRequestResponse.Approved (var: uBt) + message Approved { + } + + // Copied from: agent.v1.WebFetchRequestResponse.Rejected (var: ySn) + message Rejected { + string reason = 1; + } + + oneof result { + Approved approved = 1; + Rejected rejected = 2; + } +} + +// Copied from: local:aiserver.v1.WebFetchResult (var: oFt) +message WebFetchResult { + string url = 1; + optional string markdown = 2; + optional string error = 3; +} + +// Copied from: local:aiserver.v1.WebFetchStream (var: $_s) +message WebFetchStream { + WebFetchParams params = 1; +} + +// Copied from: local:aiserver.v1.WebReference (var: WTi) +message WebReference { + string title = 2; + string url = 1; + string chunk = 3; +} + +// Copied from: agent.v1.WebSearchArgs (var: Vxi) +message WebSearchArgs { + string search_term = 1; + string tool_call_id = 2; +} + +// Copied from: local:aiserver.v1.WebSearchDocument (var: KVl) +message WebSearchDocument { + string url = 1; + string title = 2; + string text = 3; +} + +// Copied from: local:aiserver.v1.WebSearchParams (var: lht) +message WebSearchParams { + string search_term = 1; +} + +// Copied from: local:aiserver.v1.WebSearchRequest (var: Ruv) +message WebSearchRequest { + string query = 1; +} + +// Copied from: agent.v1.WebSearchRequestQuery (var: SFl) +message WebSearchRequestQuery { + WebSearchArgs args = 1; +} + +// Copied from: agent.v1.WebSearchRequestResponse (var: Jht) +message WebSearchRequestResponse { + // Copied from: agent.v1.WebSearchRequestResponse.Approved (var: pSn) + message Approved { + } + + // Copied from: agent.v1.WebSearchRequestResponse.Rejected (var: mSn) + message Rejected { + string reason = 1; + } + + oneof result { + Approved approved = 1; + Rejected rejected = 2; + } +} + +// Copied from: local:aiserver.v1.WebSearchResponse (var: Duv) +message WebSearchResponse { + string answer = 1; +} + +// Copied from: local:aiserver.v1.WebSearchResult (var: uht) +message WebSearchResult { + // Copied from: local:aiserver.v1.WebSearchResult.WebReference (var: $0i) + message WebReference { + string title = 1; + string url = 2; + string chunk = 3; + } + + repeated WebReference references = 1; + optional bool is_final = 2; + optional bool rejected = 3; +} + +// Copied from: local:aiserver.v1.WebSearchStream (var: Qbs) +message WebSearchStream { + string search_term = 1; +} + +// Copied from: local:aiserver.v1.WebhookSamplePayload (var: x9s) +message WebhookSamplePayload { + string context = 1; + string webhook_payload_json = 2; +} + +// Copied from: local:aiserver.v1.WebhookTrigger (var: gWu) +message WebhookTrigger { +} + +// Copied from: local:aiserver.v1.WelcomeMessage (var: axs) +message WelcomeMessage { + string message = 1; + bool is_degraded_mode = 2; +} + +// Copied from: local:aiserver.v1.WorkerCreation (var: FOu) +message WorkerCreation { + uint32 worker_index = 1; + int64 created_at_unix_ms = 2; + uint32 num_completed_turns = 3; +} + +// Copied from: local:aiserver.v1.WorkerDesktopCapability (var: OLu) +message WorkerDesktopCapability { + bool available = 1; + optional string ws_url = 2; + optional string session_id = 3; + optional string session_secret = 4; + optional string protocol = 5; + optional string display_kind = 6; + optional string auth_scheme = 7; + bool control_allowed = 8; + optional string unavailable_reason = 9; +} + +// Copied from: local:aiserver.v1.WorkerLifecycleEvent (var: UPu) +message WorkerLifecycleEvent { + uint32 worker_index = 1; + oneof event { + google.protobuf.Empty creating = 2; + } +} + +// Copied from: local:aiserver.v1.WorkerManagerMembership (var: HDu) +message WorkerManagerMembership { + string worker_bc_id = 1; + string manager_bc_id = 2; + ManagerSpawnKind spawn_kind = 3; + optional string tool_call_id = 4; + BackgroundComposerStatus status = 5; +} + +// Copied from: local:aiserver.v1.WorkerReference (var: NLu) +message WorkerReference { + string worker_id = 1; + string workspace_root_path = 2; + optional WorkerDesktopCapability desktop = 3; +} + +// Copied from: local:aiserver.v1.Workflow (var: Ymt) +message Workflow { + repeated Trigger triggers = 10; + repeated Action actions = 11; + repeated Prompt prompts = 3; + optional string model = 8; + optional GitConfig git_config = 12; + optional AgentOptions agent_options = 13; + optional bool memory_enabled = 14; + repeated string slack_notified_channels = 15; + optional SlackCompletionReactionMode slack_completion_reaction_mode = 16; + optional string slack_completion_reaction_custom_emoji = 17; + optional google.protobuf.Struct managed_config = 18; + repeated AutomationDefaultTool disabled_default_tools = 19; +} + +// Copied from: local:aiserver.v1.WorkflowTemplate (var: P9s) +message WorkflowTemplate { + string id = 1; + string name = 2; + string description = 3; + string category = 4; + Workflow workflow = 5; + InputSchema input_schema = 6; + string icon = 7; + optional int32 featured_index = 8; + repeated McpTemplateHint mcp_hints = 9; +} + +// Copied from: local:aiserver.v1.WorkloadDemand (var: cbv) +message WorkloadDemand { + string workload_id = 1; + int64 tokens = 2; + int64 requests = 3; + int64 input_tokens = 4; + int64 output_tokens = 5; + bool is_stream = 6; + string client_protocol = 7; + int64 estimated_input_tokens = 8; + int64 estimated_input_token_requests = 9; +} + +// Copied from: local:aiserver.v1.WorkloadGrant (var: lbv) +message WorkloadGrant { + string provider = 1; + string deployment = 2; + string workload_id = 3; + int64 tokens = 4; + int64 requests = 5; + int64 expires_at_ms = 6; + int64 input_tokens = 7; + int64 output_tokens = 8; + string model = 9; + bool is_stream = 12; + RouteResult route_result = 13; + string canonical_model = 14; + string client_protocol = 15; +} + +// Copied from: local:aiserver.v1.WorkspaceFolder (var: fxs) +message WorkspaceFolder { + string uri = 1; + string name = 2; +} + +// Copied from: anyrun.v1.WorkspaceGitSetupMode (var: Nau) +enum WorkspaceGitSetupMode { + WORKSPACE_GIT_SETUP_MODE_UNSPECIFIED = 0; + WORKSPACE_GIT_SETUP_MODE_REUSE = 1; + WORKSPACE_GIT_SETUP_MODE_REUSE_THEN_CHECKOUT = 2; + WORKSPACE_GIT_SETUP_MODE_NO_REPO = 3; +} + +// Copied from: local:aiserver.v1.WorkspaceTrustControls (var: X2s) +message WorkspaceTrustControls { + bool enabled = 1; +} + +// Copied from: local:aiserver.v1.WorktreeEvent (var: Y7l) +message WorktreeEvent { + // Copied from: local:aiserver.v1.WorktreeEvent.BackgroundAgentComposerMapping (var: X7l) + message BackgroundAgentComposerMapping { + string bc_id = 1; + string composer_id = 2; + } + + // Copied from: local:aiserver.v1.WorktreeEvent.EventType (var: PGe) + enum EventType { + EVENT_TYPE_UNSPECIFIED = 0; + EVENT_TYPE_APPLY_TO_MAIN = 1; + EVENT_TYPE_UNDO_APPLY = 2; + EVENT_TYPE_VIEW_SUBCOMPOSER = 3; + } + + // Copied from: local:aiserver.v1.WorktreeEvent.WorktreeComposerMapping (var: Z7l) + message WorktreeComposerMapping { + string worktree_path = 1; + string composer_id = 2; + } + + EventType event_type = 1; + optional string model_name = 2; + optional string best_of_n_group_id = 3; + repeated string all_worktree_paths = 4; + optional string applied_worktree_path = 5; + repeated WorktreeComposerMapping worktree_composer_mappings = 6; + repeated BackgroundAgentComposerMapping background_agent_composer_mappings = 7; + optional string applied_composer_id = 8; + optional string viewed_composer_id = 9; +} + +// Copied from: agent.v1.WriteArgs (var: BTs) +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: agent.v1.WriteError (var: q6l) +message WriteError { + string path = 1; + string error = 2; +} + +// Copied from: local:aiserver.v1.WriteGitBranchNameRequest (var: rRs) +message WriteGitBranchNameRequest { + string diffs = 1; + optional string context = 2; + optional string conversation_id = 3; + oneof credentials { + ApiKeyCredentials api_key_credentials = 4; + AzureCredentials azure_credentials = 5; + BedrockCredentials bedrock_credentials = 6; + } +} + +// Copied from: local:aiserver.v1.WriteGitBranchNameResponse (var: FQl) +message WriteGitBranchNameResponse { + string branch_name = 1; +} + +// Copied from: local:aiserver.v1.WriteGitCommitMessageRequest (var: iRs) +message WriteGitCommitMessageRequest { + repeated string diffs = 1; + repeated string previous_commit_messages = 2; + ExplicitContext explicit_context = 3; + oneof credentials { + ApiKeyCredentials api_key_credentials = 4; + AzureCredentials azure_credentials = 5; + BedrockCredentials bedrock_credentials = 6; + } +} + +// Copied from: local:aiserver.v1.WriteGitCommitMessageResponse (var: OQl) +message WriteGitCommitMessageResponse { + string commit_message = 1; +} + +// Copied from: agent.v1.WriteNoSpace (var: G6l) +message WriteNoSpace { + string path = 1; +} + +// Copied from: agent.v1.WritePermissionDenied (var: V6l) +message WritePermissionDenied { + string path = 1; + string directory = 2; + string operation = 3; + string error = 4; + bool is_readonly = 5; +} + +// Copied from: agent.v1.WriteRejected (var: K6l) +message WriteRejected { + string path = 1; + string reason = 2; +} + +// Copied from: agent.v1.WriteResult (var: H6l) +message WriteResult { + oneof result { + WriteSuccess success = 1; + WritePermissionDenied permission_denied = 3; + WriteNoSpace no_space = 4; + WriteError error = 5; + WriteRejected rejected = 6; + } +} + +// Copied from: agent.v1.WriteShellStdinArgs (var: EFe) +message WriteShellStdinArgs { + uint32 shell_id = 1; + string chars = 2; +} + +// Copied from: agent.v1.WriteShellStdinError (var: hAl) +message WriteShellStdinError { + string error = 1; +} + +// Copied from: agent.v1.WriteShellStdinResult (var: sht) +message WriteShellStdinResult { + oneof result { + WriteShellStdinSuccess success = 1; + WriteShellStdinError error = 2; + } +} + +// Copied from: local:aiserver.v1.WriteShellStdinStream (var: U_s) +message WriteShellStdinStream { + WriteShellStdinArgs params = 1; +} + +// Copied from: agent.v1.WriteShellStdinSuccess (var: dAl) +message WriteShellStdinSuccess { + uint32 shell_id = 1; + uint32 terminal_file_length_before_input_written = 2; +} + +// Copied from: agent.v1.WriteSuccess (var: z6l) +message WriteSuccess { + string path = 1; + int32 lines_created = 2; + int32 file_size = 3; + optional string file_content_after_write = 4; +} + +// Copied from: local:aiserver.v1.WriteTextFileRequest (var: S_v) +message WriteTextFileRequest { + string absolute_path = 1; + string new_contents = 2; + bool get_new_linter_errors = 3; + string root_path = 4; +} + +// Copied from: local:aiserver.v1.WriteTextFileResponse (var: w_v) +message WriteTextFileResponse { + repeated LinterError new_linter_errors = 1; +} + +// Copied from: local:aiserver.v1.XaiCreditTransfer (var: Vku) +message XaiCreditTransfer { + string transfer_id = 1; + int64 created_at_ms = 2; + int64 amount_cents = 3; + string status = 4; + XaiCreditTransferOutcome outcome = 5; + optional int32 requested_by_user_id = 6; + string requested_by_user_display_name = 7; + string requested_by_user_email = 8; +} + +// Copied from: local:aiserver.v1.XaiCreditTransferOutcome (var: jLs) +enum XaiCreditTransferOutcome { + XAI_CREDIT_TRANSFER_OUTCOME_UNSPECIFIED = 0; + XAI_CREDIT_TRANSFER_OUTCOME_SUCCEEDED = 1; + XAI_CREDIT_TRANSFER_OUTCOME_NOT_CONFIGURED = 2; + XAI_CREDIT_TRANSFER_OUTCOME_FAILED = 3; + XAI_CREDIT_TRANSFER_OUTCOME_NEEDS_RECONCILIATION = 4; + XAI_CREDIT_TRANSFER_OUTCOME_PENDING = 5; +} + +// Source: aiserver.v1.AiBranchService (var: klv) +service AiBranchService { + rpc OpusChainGetPlan(OpusChainGetPlanRequest) returns (stream OpusChainGetPlanResponse) {} + rpc OpusChainGetFileInstruction(OpusChainGetFileInstructionRequest) returns (OpusChainGetFileInstructionResponse) {} + rpc OpusChainReflect(OpusChainReflectRequest) returns (stream OpusChainReflectResponse) {} + rpc OpusChainGetFilePaths(OpusChainGetFilePathsRequest) returns (OpusChainGetFilePathsResponse) {} + rpc RecordAcceptedPatch(RecordAcceptedPatchRequest) returns (RecordAcceptedPatchResponse) {} + rpc ReportModeSelection(ReportModeSelectionRequest) returns (ReportModeSelectionResponse) {} +} + +// Source: aiserver.v1.AiProjectService (var: nlv) +service AiProjectService { + rpc AiProjectAgentInit(AiProjectAgentInitRequest) returns (stream AiProjectClarificationResponse) {} + rpc AiProjectClarification(AiProjectClarificationRequest) returns (stream AiProjectClarificationResponse) {} + rpc AiProjectPlan(AiProjectAgentPlanRequest) returns (stream AiProjectAgentPlanResponse) {} + rpc AiProjectPlanFeedback(AiProjectPlanFeedbackRequest) returns (stream AiProjectPlanFeedbackResponse) {} + rpc AiProjectBreakdown(AiProjectBreakdownRequest) returns (stream AiProjectBreakdownResponse) {} + rpc AiProjectBreakdownFeedback(AiProjectBreakdownFeedbackRequest) returns (stream AiProjectBreakdownFeedbackResponse) {} + rpc AiProjectStep(AiProjectStepRequest) returns (stream AiProjectStepResponseWrapped) {} + rpc AiProjectStepFeedback(AiProjectStepFeedbackRequest) returns (stream AiProjectStepFeedbackResponseWrapped) {} +} + +// Source: aiserver.v1.AiService (var: uwe) +service AiService { + rpc ServerTime(ServerTimeRequest) returns (ServerTimeResponse) {} + rpc HealthCheck(HealthCheckRequest) returns (HealthCheckResponse) {} + rpc PrivacyCheck(PrivacyCheckRequest) returns (PrivacyCheckResponse) {} + rpc TimeLeftHealthCheck(HealthCheckRequest) returns (TimeLeftHealthCheckResponse) {} + rpc ThrowErrorCheck(ThrowErrorCheckRequest) returns (ThrowErrorCheckResponse) {} + rpc AvailableModels(AvailableModelsRequest) returns (AvailableModelsResponse) {} + rpc StreamChatTryReallyHard(GetChatRequest) returns (stream StreamChatResponse) {} + rpc RerankDocuments(RerankDocumentsRequest) returns (RerankDocumentsResponse) {} + rpc StreamComposer(GetComposerChatRequest) returns (stream StreamChatResponse) {} + rpc StreamComposerContext(StreamChatContextRequest) returns (stream StreamChatContextResponse) {} + rpc WarmComposerCache(GetComposerChatRequest) returns (WarmComposerCacheResponse) {} + rpc KeepComposerCacheWarm(KeepComposerCacheWarmRequest) returns (KeepComposerCacheWarmResponse) {} + rpc CountTokens(CountTokensRequest) returns (CountTokensResponse) {} + rpc StreamPotentialLocs(PotentialLocsRequest) returns (stream PotentialLocsResponse) {} + rpc StreamPotentialLocsUnderneath(PotentialLocsUnderneathRequest) returns (stream PotentialLocsUnderneathResponse) {} + rpc StreamPotentialLocsInitialQueries(PotentialLocsInitialQueriesRequest) returns (stream PotentialLocsInitialQueriesResponse) {} + rpc GetChatTitle(GetChatTitleRequest) returns (GetChatTitleResponse) {} + rpc GetCompletion(GetCompletionRequest) returns (GetCompletionResponse) {} + rpc IsolatedTreesitter(IsolatedTreesitterRequest) returns (IsolatedTreesitterResponse) {} + rpc GetSimplePrompt(GetSimplePromptRequest) returns (GetSimplePromptResponse) {} + rpc GetPassthroughPrompt(GetPassthroughPromptRequest) returns (GetPassthroughPromptResponse) {} + rpc SuggestQuickActions(SuggestQuickActionsRequest) returns (SuggestQuickActionsResponse) {} + rpc CheckLongFilesFit(GetChatRequest) returns (CheckLongFilesFitResponse) {} + rpc GetEvaluationPrompt(GetEvaluationPromptRequest) returns (GetEvaluationPromptResponse) {} + rpc GetUserInfo(GetUserInfoRequest) returns (GetUserInfoResponse) {} + rpc StreamChat(GetChatRequest) returns (stream StreamChatResponse) {} + rpc StreamChatWeb(GetChatRequest) returns (stream StreamChatResponse) {} + rpc WarmChatCache(WarmChatCacheRequest) returns (WarmChatCacheResponse) {} + rpc StreamEdit(StreamEditRequest) returns (stream StreamChatResponse) {} + rpc PreloadEdit(PreloadEditRequest) returns (PreloadEditResponse) {} + rpc StreamFastEdit(StreamFastEditRequest) returns (stream StreamFastEditResponse) {} + rpc StreamGenerate(StreamGenerateRequest) returns (stream StreamChatResponse) {} + rpc StreamInlineLongCompletion(StreamInlineLongCompletionRequest) returns (stream StreamChatResponse) {} + rpc SlashEdit(SlashEditRequest) returns (stream SlashEditResponse) {} + rpc SlashEditFollowUpWithPreviousEdits(SlashEditFollowUpWithPreviousEditsRequest) returns (stream StreamSlashEditFollowUpWithPreviousEditsResponse) {} + rpc StreamAiPreviews(StreamAiPreviewsRequest) returns (stream StreamAiPreviewsResponse) {} + rpc ShouldTurnOnCppOnboarding(ShouldTurnOnCppOnboardingRequest) returns (ShouldTurnOnCppOnboardingResponse) {} + rpc GetComposerAutocomplete(GetComposerAutocompleteRequest) returns (GetComposerAutocompleteResponse) {} + rpc StreamReview(ReviewRequest) returns (stream ReviewResponse) {} + rpc StreamReviewChat(ReviewChatRequest) returns (stream ReviewChatResponse) {} + rpc CheckQueuePosition(CheckQueuePositionRequest) returns (CheckQueuePositionResponse) {} + rpc CheckUsageBasedPrice(CheckUsageBasedPriceRequest) returns (CheckUsageBasedPriceResponse) {} + rpc DoThisForMeCheck(DoThisForMeCheckRequest) returns (DoThisForMeCheckResponse) {} + rpc StreamDoThisForMe(DoThisForMeRequest) returns (stream DoThisForMeResponseWrapped) {} + rpc StreamChatToolformer(GetChatRequest) returns (stream StreamChatToolformerResponse) {} + rpc StreamChatToolformerContinue(StreamChatToolformerContinueRequest) returns (stream StreamChatToolformerResponse) {} + rpc PushAiThought(PushAiThoughtRequest) returns (PushAiThoughtResponse) {} + rpc CheckDoableAsTask(CheckDoableAsTaskRequest) returns (CheckDoableAsTaskResponse) {} + rpc ReportGroundTruthCandidate(ReportGroundTruthCandidateRequest) returns (ReportGroundTruthCandidateResponse) {} + rpc ReportCmdKFate(ReportCmdKFateRequest) returns (ReportCmdKFateResponse) {} + rpc ShowWelcomeScreen(ShowWelcomeScreenRequest) returns (ShowWelcomeScreenResponse) {} + rpc InterfaceAgentInit(InterfaceAgentInitRequest) returns (InterfaceAgentInitResponse) {} + rpc StreamInterfaceAgentStatus(StreamInterfaceAgentStatusRequest) returns (stream StreamInterfaceAgentStatusResponse) {} + rpc TaskGetInterfaceAgentStatus(TaskGetInterfaceAgentStatusRequest) returns (stream TaskGetInterfaceAgentStatusResponseWrapped) {} + rpc UpdateVscodeProfile(UpdateVscodeProfileRequest) returns (UpdateVscodeProfileResponse) {} + rpc TaskInit(TaskInitRequest) returns (TaskInitResponse) {} + rpc TaskPause(TaskPauseRequest) returns (TaskPauseResponse) {} + rpc TaskInfo(TaskInfoRequest) returns (TaskInfoResponse) {} + rpc TaskStreamLog(TaskStreamLogRequest) returns (stream TaskStreamLogResponse) {} + rpc TaskSendMessage(TaskSendMessageRequest) returns (TaskSendMessageResponse) {} + rpc TaskProvideResult(TaskProvideResultRequest) returns (TaskProvideResultResponse) {} + rpc CreateExperimentalIndex(CreateExperimentalIndexRequest) returns (CreateExperimentalIndexResponse) {} + rpc ListExperimentalIndexFiles(ListExperimentalIndexFilesRequest) returns (ListExperimentalIndexFilesResponse) {} + rpc ListenExperimentalIndex(ListenExperimentalIndexRequest) returns (stream ListenExperimentalIndexResponse) {} + rpc RegisterFileToIndex(RegisterFileToIndexRequest) returns (RequestReceivedResponse) {} + rpc SetupIndexDependencies(SetupIndexDependenciesRequest) returns (SetupIndexDependenciesResponse) {} + rpc ComputeIndexTopoSort(ComputeIndexTopoSortRequest) returns (ComputeIndexTopoSortResponse) {} + rpc StreamChatDeepContext(StreamChatDeepContextRequest) returns (stream StreamChatDeepContextResponse) {} + rpc ChooseCodeReferences(ChooseCodeReferencesRequest) returns (RequestReceivedResponse) {} + rpc RegisterCodeReferences(RegisterCodeReferencesRequest) returns (RegisterCodeReferencesResponse) {} + rpc ExtractPaths(ExtractPathsRequest) returns (ExtractPathsResponse) {} + rpc SummarizeWithReferences(SummarizeWithReferencesRequest) returns (RequestReceivedResponse) {} + rpc DocumentationQuery(DocumentationQueryRequest) returns (DocumentationQueryResponse) {} + rpc AvailableDocs(AvailableDocsRequest) returns (AvailableDocsResponse) {} + rpc RunWebSearch(RunWebSearchRequest) returns (RunWebSearchResponse) {} + rpc RunWebFetch(RunWebFetchRequest) returns (RunWebFetchResponse) {} + rpc RunGenerateImage(RunGenerateImageRequest) returns (RunGenerateImageResponse) {} + rpc ReportFeedback(ReportFeedbackRequest) returns (ReportFeedbackResponse) {} + rpc ReportBug(ReportBugRequest) returns (ReportBugResponse) {} + rpc StreamChatContext(StreamChatContextRequest) returns (stream StreamChatContextResponse) {} + rpc GenerateTldr(GenerateTldrRequest) returns (GenerateTldrResponse) {} + rpc TaskStreamChatContext(TaskStreamChatContextRequest) returns (stream TaskStreamChatContextResponseWrapped) {} + rpc RerankResults(RerankerRequest) returns (RerankerResponse) {} + rpc ModelQuery(ModelQueryRequest) returns (ModelQueryResponse) {} + rpc ModelQueryV2(ModelQueryRequest) returns (stream ModelQueryResponseV2) {} + rpc IntentPrediction(IntentPredictionRequest) returns (IntentPredictionResponse) {} + rpc GetChatSuggestions(GetChatSuggestionsRequest) returns (GetChatSuggestionsResponse) {} + rpc GetUserInstructions(GetUserInstructionsRequest) returns (GetUserInstructionsResponse) {} + rpc StreamCursorTutor(StreamCursorTutorRequest) returns (stream StreamCursorTutorResponse) {} + rpc CheckFeatureStatus(CheckFeatureStatusRequest) returns (CheckFeatureStatusResponse) {} + rpc CheckFeaturesStatus(CheckFeaturesStatusRequest) returns (CheckFeaturesStatusResponse) {} + rpc CheckFeatureStatusUnauthenticated(CheckFeatureStatusRequest) returns (CheckFeatureStatusResponse) {} + rpc GetEffectiveTokenLimit(GetEffectiveTokenLimitRequest) returns (GetEffectiveTokenLimitResponse) {} + rpc GetContextScores(ContextScoresRequest) returns (ContextScoresResponse) {} + rpc StreamCpp(StreamCppRequest) returns (stream StreamCppResponse) {} + rpc CppConfig(CppConfigRequest) returns (CppConfigResponse) {} + rpc CppEditHistoryStatus(CppEditHistoryStatusRequest) returns (CppEditHistoryStatusResponse) {} + rpc CppAppend(CppAppendRequest) returns (CppAppendResponse) {} + rpc RefreshTabContext(RefreshTabContextRequest) returns (RefreshTabContextResponse) {} + rpc CheckNumberConfig(CheckNumberConfigRequest) returns (CheckNumberConfigResponse) {} + rpc CheckNumberConfigUnauthenticated(CheckNumberConfigRequest) returns (CheckNumberConfigResponse) {} + rpc CheckNumberConfigs(CheckNumberConfigsRequest) returns (CheckNumberConfigsResponse) {} + rpc StreamTerminalAutocomplete(StreamTerminalAutocompleteRequest) returns (stream StreamTerminalAutocompleteResponse) {} + rpc StreamPseudocodeGenerator(StreamPseudocodeGeneratorRequest) returns (stream StreamPseudocodeGeneratorResponse) {} + rpc StreamPseudocodeMapper(StreamPseudocodeMapperRequest) returns (stream StreamPseudocodeMapperResponse) {} + rpc AcknowledgeGracePeriodDisclaimer(AcknowledgeGracePeriodDisclaimerRequest) returns (AcknowledgeGracePeriodDisclaimerResponse) {} + rpc StreamAiLintBug(StreamAiLintBugRequest) returns (stream StreamAiLintBugResponse) {} + rpc StreamAiCursorHelp(StreamAiCursorHelpRequest) returns (stream StreamAiCursorHelpResponse) {} + rpc LogUserLintReply(LogUserLintReplyRequest) returns (LogUserLintReplyResponse) {} + rpc LogLinterExplicitUserFeedback(LogLinterExplicitUserFeedbackRequest) returns (LogLinterExplicitUserFeedbackResponse) {} + rpc StreamFixMarkers(FixMarkersRequest) returns (stream FixMarkersResponse) {} + rpc ReportInlineAction(ReportInlineActionRequest) returns (ReportInlineActionResponse) {} + rpc StreamPriomptPrompt(StreamPriomptPromptRequest) returns (stream StreamPriomptPromptResponse) {} + rpc StreamLint(StreamLintRequest) returns (stream StreamChatResponse) {} + rpc StreamNewLintRule(StreamNewRuleRequest) returns (stream StreamChatResponse) {} + rpc AiProject(AiProjectRequest) returns (stream AiProjectResponse) {} + rpc ToCamelCase(ToCamelCaseRequest) returns (ToCamelCaseResponse) {} + rpc ReportGenerationFeedback(ReportGenerationFeedbackRequest) returns (ReportGenerationFeedbackResponse) {} + rpc ReportAgentFeedback(ReportAgentFeedbackRequest) returns (ReportAgentFeedbackResponse) {} + rpc ReportAgentMessageFeedback(ReportAgentMessageFeedbackRequest) returns (ReportAgentMessageFeedbackResponse) {} + rpc ReportAutoRoutingResultFeedback(ReportAutoRoutingResultFeedbackRequest) returns (ReportAutoRoutingResultFeedbackResponse) {} + rpc GetThoughtAnnotation(GetThoughtAnnotationRequest) returns (GetThoughtAnnotationResponse) {} + rpc StreamWebCmdKV1(StreamWebCmdKV1Request) returns (stream StreamWebCmdKV1Response) {} + rpc StreamNextCursorPrediction(StreamNextCursorPredictionRequest) returns (stream StreamNextCursorPredictionResponse) {} + rpc IsCursorPredictionEnabled(IsCursorPredictionEnabledRequest) returns (IsCursorPredictionEnabledResponse) {} + rpc GetCppEditClassification(GetCppEditClassificationRequest) returns (GetCppEditClassificationResponse) {} + rpc GetTerminalCompletion(GetTerminalCompletionRequest) returns (GetTerminalCompletionResponse) {} + rpc TakeNotesOnCommitDiff(TakeNotesOnCommitDiffRequest) returns (TakeNotesOnCommitDiffResponse) {} + rpc BulkEmbed(BulkEmbedRequest) returns (BulkEmbedResponse) {} + rpc BackgroundCmdKEval(BackgroundCmdKEvalRequest) returns (stream BackgroundCmdKEvalResponse) {} + rpc BackgroundCmdK(BackgroundCmdKRequest) returns (stream BackgroundCmdKResponse) {} + rpc CalculateAutoSelection(CalculateAutoSelectionRequest) returns (CalculateAutoSelectionResponse) {} + rpc GetAtSymbolSuggestions(GetAtSymbolSuggestionsRequest) returns (GetAtSymbolSuggestionsResponse) {} + rpc GetCodebaseQuestions(GetChatRequest) returns (GetCodebaseQuestionsResponse) {} + rpc CppEditHistoryAppend(EditHistoryAppendChangesRequest) returns (EditHistoryAppendChangesResponse) {} + rpc DevOnlyGetPastRequestIds(DevOnlyGetPastRequestIdsRequest) returns (DevOnlyGetPastRequestIdsResponse) {} + rpc GetFilesForComposer(GetFilesForComposerRequest) returns (GetFilesForComposerResponse) {} + rpc TryParseTypeScriptTreeSitter(TryParseTypeScriptTreeSitterRequest) returns (TryParseTypeScriptTreeSitterResponse) {} + rpc NameTab(NameTabRequest) returns (NameTabResponse) {} + rpc IsTerminalFinishedV2(IsTerminalFinishedRequest) returns (IsTerminalFinishedResponseV2) {} + rpc TestModelStatus(TestModelStatusRequest) returns (TestModelStatusResponse) {} + rpc FindBugs(FindBugsRequest) returns (FindBugsResponse) {} + rpc ContextReranking(ContextRerankingRequest) returns (ContextRerankingResponse) {} + rpc AutoContext(AutoContextRequest) returns (AutoContextResponse) {} + rpc WriteGitCommitMessage(WriteGitCommitMessageRequest) returns (WriteGitCommitMessageResponse) {} + rpc WriteGitBranchName(WriteGitBranchNameRequest) returns (WriteGitBranchNameResponse) {} + rpc StreamBugBot(StreamBugBotRequest) returns (stream StreamBugBotResponse) {} + rpc StreamBugBotAgentic(stream StreamBugBotAgenticClientMessage) returns (stream StreamBugBotAgenticServerMessage) {} + rpc StreamBugBotAgenticSSE(BidiRequestId) returns (stream StreamBugBotAgenticServerMessage) {} + rpc StreamBugBotAgenticPoll(BidiPollRequest) returns (stream BidiPollResponse) {} + rpc StreamUiBestOfNJudge(stream StreamUiBestOfNJudgeClientMessage) returns (stream StreamUiBestOfNJudgeServerMessage) {} + rpc StreamUiBestOfNJudgeSSE(BidiRequestId) returns (stream StreamUiBestOfNJudgeServerMessage) {} + rpc StreamUiBestOfNJudgePoll(BidiPollRequest) returns (stream BidiPollResponse) {} + rpc CheckBugBotPrice(CheckBugBotPriceRequest) returns (CheckBugBotPriceResponse) {} + rpc CheckBugBotTelemetryHealthy(CheckBugBotTelemetryHealthyRequest) returns (CheckBugBotTelemetryHealthyResponse) {} + rpc RecordIdeBugReaction(RecordIdeBugReactionRequest) returns (RecordIdeBugReactionResponse) {} + rpc GetSuggestedBugBotIterations(GetSuggestedBugBotIterationsRequest) returns (GetSuggestedBugBotIterationsResponse) {} + rpc GetEditorBugbotAutoRunStatus(GetEditorBugbotAutoRunStatusRequest) returns (GetEditorBugbotAutoRunStatusResponse) {} + rpc TestBidi(stream TestBidiRequest) returns (stream TestBidiResponse) {} + rpc StreamDiffReview(GetDiffReviewRequest) returns (stream StreamDiffReviewResponse) {} + rpc StreamDiffReviewByFile(GetDiffReviewRequest) returns (stream StreamDiffReviewByFileResponse) {} + rpc GetModelLabels(GetModelLabelsRequest) returns (GetModelLabelsResponse) {} + rpc GetLastDefaultModelNudge(GetLastDefaultModelNudgeRequest) returns (GetLastDefaultModelNudgeResponse) {} + rpc GetDefaultModelNudgeData(GetDefaultModelNudgeDataRequest) returns (GetDefaultModelNudgeDataResponse) {} + rpc GetDefaultModel(GetDefaultModelRequest) returns (GetDefaultModelResponse) {} + rpc ReportCommitAiAnalytics(ReportCommitAiAnalyticsRequest) returns (ReportCommitAiAnalyticsResponse) {} + rpc TestBedrockCredentials(TestBedrockCredentialsRequest) returns (TestBedrockCredentialsResponse) {} + rpc ReportAiCodeChangeMetrics(ReportAiCodeChangeMetricsRequest) returns (ReportAiCodeChangeMetricsResponse) {} + rpc ReportProcessMetrics(ReportProcessMetricsRequest) returns (ReportProcessMetricsResponse) {} + rpc ReportProcessMetricsV2(ReportProcessMetricsV2Request) returns (ReportProcessMetricsV2Response) {} + rpc ReportSandProcessMetrics(ReportSandProcessMetricsRequest) returns (ReportSandProcessMetricsResponse) {} + rpc ReportClientNumericMetrics(ReportClientNumericMetricsRequest) returns (ReportClientNumericMetricsResponse) {} + rpc PotentiallyGenerateMemory(PotentiallyGenerateMemoryRequest) returns (PotentiallyGenerateMemoryResponse) {} + rpc KnowledgeBaseAdd(KnowledgeBaseAddRequest) returns (KnowledgeBaseAddResponse) {} + rpc KnowledgeBaseList(KnowledgeBaseListRequest) returns (KnowledgeBaseListResponse) {} + rpc KnowledgeBaseRemove(KnowledgeBaseRemoveRequest) returns (KnowledgeBaseRemoveResponse) {} + rpc KnowledgeBaseUpdate(KnowledgeBaseUpdateRequest) returns (KnowledgeBaseUpdateResponse) {} + rpc FetchRelevantKnowledgeForConversation(FetchRelevantKnowledgeForConversationRequest) returns (FetchRelevantKnowledgeForConversationResponse) {} + rpc InferBackgroundComposerScripts(InferBackgroundComposerScriptsRequest) returns (InferBackgroundComposerScriptsResponse) {} + rpc GetBackgroundComposerFeedbackLink(GetBackgroundComposerFeedbackLinkRequest) returns (GetBackgroundComposerFeedbackLinkResponse) {} + rpc GetUsableModels(GetUsableModelsRequest) returns (GetUsableModelsResponse) {} + rpc GetDefaultModelForCli(GetDefaultModelForCliRequest) returns (GetDefaultModelForCliResponse) {} + rpc StreamComposerEnhancer(stream ComposerEnhancerClientMessage) returns (stream ComposerEnhancerServerMessage) {} + rpc StreamComposerEnhancerSSE(BidiRequestId) returns (stream ComposerEnhancerServerMessage) {} + rpc StreamComposerEnhancerPoll(BidiPollRequest) returns (stream BidiPollResponse) {} + rpc StreamStt(stream SttClientMessage) returns (stream SttServerMessage) {} + rpc StreamSttSSE(BidiRequestId) returns (stream SttServerMessage) {} + rpc StreamSttPoll(BidiPollRequest) returns (stream BidiPollResponse) {} + rpc TranscribeAudio(TranscribeAudioRequest) returns (TranscribeAudioResponse) {} + rpc NameAgent(NameAgentRequest) returns (NameAgentResponse) {} + rpc EvaluatePromptHook(EvaluatePromptHookRequest) returns (EvaluatePromptHookResponse) {} + rpc GetCloudSetupBlockers(GetCloudSetupBlockersRequest) returns (GetCloudSetupBlockersResponse) {} +} + +// Source: aiserver.v1.AnalyticsService (var: x0n) +service AnalyticsService { + rpc TrackEvents(TrackEventsRequest) returns (TrackEventsResponse) {} + rpc Batch(BatchRequest) returns (BatchResponse) {} + rpc BootstrapStatsig(BootstrapStatsigRequest) returns (BootstrapStatsigResponse) {} + rpc GetFirstWindowStatsigDecision(GetFirstWindowStatsigDecisionRequest) returns (GetFirstWindowStatsigDecisionResponse) {} + rpc SubmitLogs(SubmitLogsRequest) returns (SubmitLogsResponse) {} + rpc IngestConversation(IngestConversationRequest) returns (IngestConversationResponse) {} + rpc UploadIssueTrace(UploadIssueTraceRequest) returns (UploadIssueTraceResponse) {} + rpc DownloadIssueTraces(DownloadIssueTracesRequest) returns (DownloadIssueTracesResponse) {} +} + +// Source: aiserver.v1.AuthService (var: cqd) +service AuthService { + rpc GetEmail(GetEmailRequest) returns (GetEmailResponse) {} + rpc GetUserMeta(GetUserMetaRequest) returns (GetUserMetaResponse) {} + rpc EmailValid(EmailValidRequest) returns (EmailValidResponse) {} + rpc MarkPrivacy(MarkPrivacyRequest) returns (MarkPrivacyResponse) {} + rpc SwitchCmdKFraction(SwitchCmdKFractionRequest) returns (SwitchCmdKFractionResponse) {} + rpc GetCustomerId(CustomerIdRequest) returns (CustomerIdResponse) {} + rpc SetPrivacyMode(SetPrivacyModeRequest) returns (SetPrivacyModeResponse) {} + rpc GetSessionToken(GetSessionTokenRequest) returns (GetSessionTokenResponse) {} + rpc CheckSessionToken(CheckSessionTokenRequest) returns (CheckSessionTokenResponse) {} + rpc CreateMobileSession(CreateMobileSessionRequest) returns (CreateMobileSessionResponse) {} + rpc UpgradeMobileSession(UpgradeMobileSessionRequest) returns (UpgradeMobileSessionResponse) {} + rpc RefreshMobileSession(RefreshMobileSessionRequest) returns (RefreshMobileSessionResponse) {} + rpc RevokeMobileSessionFamily(RevokeMobileSessionFamilyRequest) returns (RevokeMobileSessionFamilyResponse) {} + rpc ConvertMobileSessionToRefreshPair(ConvertMobileSessionToRefreshPairRequest) returns (ConvertMobileSessionToRefreshPairResponse) {} + rpc ListActiveSessions(ListActiveSessionsRequest) returns (ListActiveSessionsResponse) {} + rpc RevokeSession(RevokeSessionRequest) returns (RevokeSessionResponse) {} + rpc RevokeCurrentSession(RevokeCurrentSessionRequest) returns (RevokeCurrentSessionResponse) {} + rpc ListJwtPublicKeys(ListJwtPublicKeysRequest) returns (ListJwtPublicKeysResponse) {} +} + +// Source: aiserver.v1.AutomationsService (var: lqd) +service AutomationsService { + rpc CreateAutomation(CreateAutomationRequest) returns (CreateAutomationResponse) {} + rpc ListAutomations(ListAutomationsRequest) returns (ListAutomationsResponse) {} + rpc GetAutomation(GetAutomationRequest) returns (GetAutomationResponse) {} + rpc UpdateAutomation(UpdateAutomationRequest) returns (UpdateAutomationResponse) {} + rpc CreateSandAutomation(CreateAutomationRequest) returns (CreateAutomationResponse) {} + rpc ListSandAutomations(ListSandAutomationsRequest) returns (ListAutomationsResponse) {} + rpc GetSandAutomation(GetAutomationRequest) returns (GetAutomationResponse) {} + rpc UpdateSandAutomation(UpdateAutomationRequest) returns (UpdateAutomationResponse) {} + rpc DeleteSandAutomation(DeleteAutomationRequest) returns (DeleteAutomationResponse) {} + rpc ReassignAutomationOwner(ReassignAutomationOwnerRequest) returns (ReassignAutomationOwnerResponse) {} + rpc UpdateAutomationAuthoringMode(UpdateAutomationAuthoringModeRequest) returns (UpdateAutomationAuthoringModeResponse) {} + rpc ValidateAutomationSpec(ValidateAutomationSpecRequest) returns (ValidateAutomationSpecResponse) {} + rpc ApplyAutomationSpec(ApplyAutomationSpecRequest) returns (ApplyAutomationSpecResponse) {} + rpc DeleteAutomation(DeleteAutomationRequest) returns (DeleteAutomationResponse) {} + rpc TestAutomation(TestAutomationRequest) returns (TestAutomationResponse) {} + rpc TestAutomationFilter(TestAutomationFilterRequest) returns (TestAutomationFilterResponse) {} + rpc ListAutomationRuns(ListAutomationRunsRequest) returns (ListAutomationRunsResponse) {} + rpc GetAutomationRun(GetAutomationRunRequest) returns (GetAutomationRunResponse) {} + rpc ListAllRuns(ListAllRunsRequest) returns (ListAllRunsResponse) {} + rpc GetRunSummary(GetRunSummaryRequest) returns (GetRunSummaryResponse) {} + rpc GetSecuritybotResolutionStats(GetSecuritybotResolutionStatsRequest) returns (GetSecuritybotResolutionStatsResponse) {} + rpc GetApprovalAgentAnalytics(GetApprovalAgentAnalyticsRequest) returns (GetApprovalAgentAnalyticsResponse) {} + rpc GetManagedAutomationTeamSettings(GetManagedAutomationTeamSettingsRequest) returns (GetManagedAutomationTeamSettingsResponse) {} + rpc UpdateManagedAutomationTeamSettings(UpdateManagedAutomationTeamSettingsRequest) returns (UpdateManagedAutomationTeamSettingsResponse) {} + rpc CancelAutomationRun(CancelAutomationRunRequest) returns (CancelAutomationRunResponse) {} + rpc CancelAllAutomationRuns(CancelAllAutomationRunsRequest) returns (CancelAllAutomationRunsResponse) {} + rpc RetryAutomationRun(RetryAutomationRunRequest) returns (RetryAutomationRunResponse) {} + rpc ListAutomationMemories(ListAutomationMemoriesRequest) returns (ListAutomationMemoriesResponse) {} + rpc GetAutomationMemory(GetAutomationMemoryRequest) returns (GetAutomationMemoryResponse) {} + rpc UpdateAutomationMemory(UpdateAutomationMemoryRequest) returns (UpdateAutomationMemoryResponse) {} + rpc DeleteAutomationMemory(DeleteAutomationMemoryRequest) returns (DeleteAutomationMemoryResponse) {} + rpc ListWorkflowTemplates(ListWorkflowTemplatesRequest) returns (ListWorkflowTemplatesResponse) {} + rpc GetWorkflowTemplate(GetWorkflowTemplateRequest) returns (GetWorkflowTemplateResponse) {} + rpc CreateWorkflowFromTemplate(CreateWorkflowFromTemplateRequest) returns (CreateWorkflowFromTemplateResponse) {} + rpc ValidateAutomationTools(ValidateAutomationToolsRequest) returns (ValidateAutomationToolsResponse) {} + rpc BuilderCompletion(BuilderCompletionRequest) returns (BuilderCompletionResponse) {} + rpc DisableAutomationForTeamShutdown(DisableAutomationForTeamShutdownRequest) returns (DisableAutomationForTeamShutdownResponse) {} + rpc GetSentryAuthUrl(GetSentryAuthUrlRequest) returns (GetSentryAuthUrlResponse) {} + rpc ConnectSentryCallback(ConnectSentryCallbackRequest) returns (ConnectSentryCallbackResponse) {} + rpc GetSentryStatus(GetSentryStatusRequest) returns (GetSentryStatusResponse) {} + rpc GetSentryProjects(GetSentryProjectsRequest) returns (GetSentryProjectsResponse) {} + rpc DisconnectSentry(DisconnectSentryRequest) returns (DisconnectSentryResponse) {} +} + +// Source: aiserver.v1.AutopilotService (var: juv) +service AutopilotService { + rpc StreamAutopilot(AutopilotRequest) returns (stream AutopilotResponse) {} +} + +// Source: aiserver.v1.BackgroundComposerService (var: hMn) +service BackgroundComposerService { + rpc ListBackgroundComposers(ListBackgroundComposersRequest) returns (ListBackgroundComposersResponse) {} + rpc PinBackgroundComposers(PinBackgroundComposersRequest) returns (PinBackgroundComposersResponse) {} + rpc UnpinBackgroundComposers(UnpinBackgroundComposersRequest) returns (UnpinBackgroundComposersResponse) {} + rpc AttachBackgroundComposer(AttachBackgroundComposerRequest) returns (stream AttachBackgroundComposerResponse) {} + rpc StreamConversation(StreamConversationRequest) returns (stream StreamConversationResponse) {} + rpc GetLatestAgentConversationState(GetLatestAgentConversationStateRequest) returns (GetLatestAgentConversationStateResponse) {} + rpc GetBlobForAgentKV(GetBlobForAgentKVRequest) returns (GetBlobForAgentKVResponse) {} + rpc AttachBackgroundComposerLogs(AttachBackgroundComposerLogsRequest) returns (stream AttachBackgroundComposerLogsResponse) {} + rpc AttachAgentStartupTrace(AttachAgentStartupTraceRequest) returns (stream AttachAgentStartupTraceResponse) {} + rpc StartBackgroundComposerFromSnapshot(StartBackgroundComposerFromSnapshotRequest) returns (StartBackgroundComposerFromSnapshotResponse) {} + rpc ForkBackgroundComposer(ForkBackgroundComposerRequest) returns (ForkBackgroundComposerResponse) {} + rpc StartSideChatBackgroundComposer(StartSideChatBackgroundComposerRequest) returns (StartSideChatBackgroundComposerResponse) {} + rpc ListBackgroundComposerChildren(ListBackgroundComposerChildrenRequest) returns (ListBackgroundComposerChildrenResponse) {} + rpc MakePRBackgroundComposer(MakePRBackgroundComposerRequest) returns (MakePRBackgroundComposerResponse) {} + rpc OpenPRBackgroundComposer(OpenPRBackgroundComposerRequest) returns (OpenPRBackgroundComposerResponse) {} + rpc GetBackgroundComposerStatus(GetBackgroundComposerStatusRequest) returns (GetBackgroundComposerStatusResponse) {} + rpc AddAsyncFollowupBackgroundComposer(AddAsyncFollowupBackgroundComposerRequest) returns (AddAsyncFollowupBackgroundComposerResponse) {} + rpc InjectBackgroundComposerContext(InjectBackgroundComposerContextRequest) returns (InjectBackgroundComposerContextResponse) {} + rpc SubmitInteractionResponseBackgroundComposer(SubmitInteractionResponseBackgroundComposerRequest) returns (SubmitInteractionResponseBackgroundComposerResponse) {} + rpc ListPendingFollowups(ListPendingFollowupsRequest) returns (ListPendingFollowupsResponse) {} + rpc UpdatePendingFollowup(UpdatePendingFollowupRequest) returns (UpdatePendingFollowupResponse) {} + rpc DeletePendingFollowup(DeletePendingFollowupRequest) returns (DeletePendingFollowupResponse) {} + rpc ReorderPendingFollowup(ReorderPendingFollowupRequest) returns (ReorderPendingFollowupResponse) {} + rpc SubmitPendingFollowupNow(SubmitPendingFollowupNowRequest) returns (SubmitPendingFollowupNowResponse) {} + rpc MarkFollowupEditing(MarkFollowupEditingRequest) returns (MarkFollowupEditingResponse) {} + rpc GetCursorServerUrl(GetCursorServerUrlRequest) returns (GetCursorServerUrlResponse) {} + rpc WarmCursorServerDownload(WarmCursorServerDownloadRequest) returns (WarmCursorServerDownloadResponse) {} + rpc PreWarmPod(PreWarmPodRequest) returns (PreWarmPodResponse) {} + rpc WakeBackgroundComposer(WakeBackgroundComposerRequest) returns (WakeBackgroundComposerResponse) {} + rpc PauseBackgroundComposer(PauseBackgroundComposerRequest) returns (PauseBackgroundComposerResponse) {} + rpc CancelBackgroundComposerToolCall(CancelBackgroundComposerToolCallRequest) returns (CancelBackgroundComposerToolCallResponse) {} + rpc ResumeBackgroundComposer(ResumeBackgroundComposerRequest) returns (ResumeBackgroundComposerResponse) {} + rpc ArchiveBackgroundComposer(ArchiveBackgroundComposerRequest) returns (ArchiveBackgroundComposerResponse) {} + rpc ArchiveRepoBackgroundComposers(ArchiveRepoBackgroundComposersRequest) returns (ArchiveRepoBackgroundComposersResponse) {} + rpc DeleteBackgroundComposer(DeleteBackgroundComposerRequest) returns (DeleteBackgroundComposerResponse) {} + rpc GetBackgroundComposerInfo(GetBackgroundComposerInfoRequest) returns (GetBackgroundComposerInfoResponse) {} + rpc GetBackgroundComposerEnvironmentVersion(GetBackgroundComposerEnvironmentVersionRequest) returns (GetBackgroundComposerEnvironmentVersionResponse) {} + rpc GetEnvironmentHistory(GetEnvironmentHistoryRequest) returns (GetEnvironmentHistoryResponse) {} + rpc GetBackgroundComposerTimings(GetBackgroundComposerTimingsRequest) returns (GetBackgroundComposerTimingsResponse) {} + rpc GetBackgroundComposerRepositoryInfo(GetBackgroundComposerRepositoryInfoRequest) returns (GetBackgroundComposerRepositoryInfoResponse) {} + rpc GetMachine(GetMachineRequest) returns (GetMachineResponse) {} + rpc ListWorkspaceFiles(ListWorkspaceFilesRequest) returns (ListWorkspaceFilesResponse) {} + rpc ListDetailedBackgroundComposers(ListDetailedBackgroundComposersRequest) returns (ListDetailedBackgroundComposersResponse) {} + rpc ListCloudAgentRunsForDashboard(ListCloudAgentRunsForDashboardRequest) returns (ListCloudAgentRunsForDashboardResponse) {} + rpc AggregateCloudAgentRunsForDashboard(AggregateCloudAgentRunsForDashboardRequest) returns (AggregateCloudAgentRunsForDashboardResponse) {} + rpc GetCloudAgentRunForDashboard(GetCloudAgentRunForDashboardRequest) returns (GetCloudAgentRunForDashboardResponse) {} + rpc ListCloudAgentRunEventsForDashboard(ListCloudAgentRunEventsForDashboardRequest) returns (ListCloudAgentRunEventsForDashboardResponse) {} + rpc ListNamedAgents(ListNamedAgentsRequest) returns (ListNamedAgentsResponse) {} + rpc ListNamedAgentSessions(ListNamedAgentSessionsRequest) returns (ListNamedAgentSessionsResponse) {} + rpc ListEventSubscriptions(ListEventSubscriptionsRequest) returns (ListEventSubscriptionsResponse) {} + rpc CloseEventSubscription(CloseEventSubscriptionRequest) returns (CloseEventSubscriptionResponse) {} + rpc GetGithubAccessTokenForRepos(GetGithubAccessTokenForReposRequest) returns (GetGithubAccessTokenForReposResponse) {} + rpc MakeGithubRequest(MakeGithubRequestRequest) returns (MakeGithubRequestResponse) {} + rpc GetBackgroundComposerDiffDetails(GetBackgroundComposerDiffDetailsRequest) returns (GetBackgroundComposerDiffDetailsResponse) {} + rpc GetOptimizedDiffDetails(GetOptimizedDiffDetailsRequest) returns (GetOptimizedDiffDetailsResponse) {} + rpc ListPrCodeTourRevisions(ListPrCodeTourRevisionsRequest) returns (ListPrCodeTourRevisionsResponse) {} + rpc GetBackgroundComposerChangesHash(GetBackgroundComposerChangesHashRequest) returns (GetBackgroundComposerChangesHashResponse) {} + rpc GetBackgroundComposerPullRequest(GetBackgroundComposerPullRequestRequest) returns (GetBackgroundComposerPullRequestResponse) {} + rpc RefreshGithubAccessTokenInBackgroundComposer(RefreshGithubAccessTokenInBackgroundComposerRequest) returns (RefreshGithubAccessTokenInBackgroundComposerResponse) {} + rpc CreateBackgroundComposerPod(CreateBackgroundComposerPodRequest) returns (CreateBackgroundComposerPodResponse) {} + rpc AttachBackgroundComposerPod(AttachBackgroundComposerPodRequest) returns (stream AttachBackgroundComposerPodResponse) {} + rpc CreateBackgroundComposerPodSnapshot(CreateBackgroundComposerPodSnapshotRequest) returns (CreateBackgroundComposerPodSnapshotResponse) {} + rpc ChangeBackgroundComposerSnapshotVisibility(ChangeBackgroundComposerSnapshotVisibilityRequest) returns (ChangeBackgroundComposerSnapshotVisibilityResponse) {} + rpc GetBackgroundComposerSnapshotInfo(GetBackgroundComposerSnapshotInfoRequest) returns (GetBackgroundComposerSnapshotInfoResponse) {} + rpc ListBackgroundComposerSnapshotsByBcId(ListBackgroundComposerSnapshotsByBcIdRequest) returns (ListBackgroundComposerSnapshotsByBcIdResponse) {} + rpc ListBackgroundComposerSnapshotStatusesByBcIds(ListBackgroundComposerSnapshotStatusesByBcIdsRequest) returns (ListBackgroundComposerSnapshotStatusesByBcIdsResponse) {} + rpc GetBackgroundComposerSnapshotState(GetBackgroundComposerSnapshotStateRequest) returns (GetBackgroundComposerSnapshotStateResponse) {} + rpc WatchBackgroundComposerSnapshotState(WatchBackgroundComposerSnapshotStateRequest) returns (stream WatchBackgroundComposerSnapshotStateResponse) {} + rpc GetBackgroundComposerConversation(GetBackgroundComposerConversationRequest) returns (GetBackgroundComposerConversationResponse) {} + rpc RenameBackgroundComposer(RenameBackgroundComposerRequest) returns (RenameBackgroundComposerResponse) {} + rpc UpdateProjectAppearance(UpdateProjectAppearanceRequest) returns (UpdateProjectAppearanceResponse) {} + rpc PublishBackgroundComposerTempRepo(PublishBackgroundComposerTempRepoRequest) returns (PublishBackgroundComposerTempRepoResponse) {} + rpc ReparentBackgroundComposer(ReparentBackgroundComposerRequest) returns (ReparentBackgroundComposerResponse) {} + rpc SetWorkerManager(SetWorkerManagerRequest) returns (SetWorkerManagerResponse) {} + rpc CreateProjectWorker(CreateProjectWorkerRequest) returns (CreateProjectWorkerResponse) {} + rpc ClearWorkerManager(ClearWorkerManagerRequest) returns (ClearWorkerManagerResponse) {} + rpc ListWorkersForManager(ListWorkersForManagerRequest) returns (ListWorkersForManagerResponse) {} + rpc UpdateBackgroundComposerExperimentalModelOptOut(UpdateBackgroundComposerExperimentalModelOptOutRequest) returns (UpdateBackgroundComposerExperimentalModelOptOutResponse) {} + rpc CommitBackgroundComposer(CommitBackgroundComposerRequest) returns (CommitBackgroundComposerResponse) {} + rpc SetPersonalEnvironmentJson(SetPersonalEnvironmentJsonRequest) returns (SetPersonalEnvironmentJsonResponse) {} + rpc GetPersonalEnvironmentJson(GetPersonalEnvironmentJsonRequest) returns (GetPersonalEnvironmentJsonResponse) {} + rpc GetEnvironmentJsonCandidates(GetEnvironmentJsonCandidatesRequest) returns (GetEnvironmentJsonCandidatesResponse) {} + rpc ListPersonalEnvironments(ListPersonalEnvironmentsRequest) returns (ListPersonalEnvironmentsResponse) {} + rpc DeletePersonalEnvironmentJson(DeletePersonalEnvironmentJsonRequest) returns (DeletePersonalEnvironmentJsonResponse) {} + rpc PublishEnvironment(PublishEnvironmentRequest) returns (PublishEnvironmentResponse) {} + rpc PublishPersonalEnvironment(PublishPersonalEnvironmentRequest) returns (PublishPersonalEnvironmentResponse) {} + rpc ListTeamEnvironments(ListTeamEnvironmentsRequest) returns (ListTeamEnvironmentsResponse) {} + rpc DeleteTeamEnvironment(DeleteTeamEnvironmentRequest) returns (DeleteTeamEnvironmentResponse) {} + rpc SetTeamEnvironmentJson(SetTeamEnvironmentJsonRequest) returns (SetTeamEnvironmentJsonResponse) {} + rpc RestoreEnvironmentVersion(RestoreEnvironmentVersionRequest) returns (RestoreEnvironmentVersionResponse) {} + rpc ListEnvironments(ListEnvironmentsRequest) returns (ListEnvironmentsResponse) {} + rpc GetEnvironment(GetEnvironmentRequest) returns (GetEnvironmentResponse) {} + rpc RenameEnvironment(RenameEnvironmentRequest) returns (RenameEnvironmentResponse) {} + rpc ListEnvironmentBuilds(ListEnvironmentBuildsRequest) returns (ListEnvironmentBuildsResponse) {} + rpc GetEnvironmentActiveBuild(GetEnvironmentActiveBuildRequest) returns (GetEnvironmentActiveBuildResponse) {} + rpc GetEnvironmentPersistentRecurringBuildFailures(GetEnvironmentPersistentRecurringBuildFailuresRequest) returns (GetEnvironmentPersistentRecurringBuildFailuresResponse) {} + rpc GetEnvironmentBuild(GetEnvironmentBuildRequest) returns (GetEnvironmentBuildResponse) {} + rpc UpdateEnvironmentBuild(UpdateEnvironmentBuildRequest) returns (UpdateEnvironmentBuildResponse) {} + rpc TriggerEnvironmentBuild(TriggerEnvironmentBuildRequest) returns (TriggerEnvironmentBuildResponse) {} + rpc AttachEnvironmentBuildLog(AttachEnvironmentBuildLogRequest) returns (stream AttachEnvironmentBuildLogResponse) {} + rpc CancelEnvironmentBuild(CancelEnvironmentBuildRequest) returns (CancelEnvironmentBuildResponse) {} + rpc GetEnvironmentBuildSettings(GetEnvironmentBuildSettingsRequest) returns (GetEnvironmentBuildSettingsResponse) {} + rpc UpdateEnvironmentBuildSettings(UpdateEnvironmentBuildSettingsRequest) returns (UpdateEnvironmentBuildSettingsResponse) {} + rpc ResolveOrCreateMultiRepoEnvironment(ResolveOrCreateMultiRepoEnvironmentRequest) returns (ResolveOrCreateMultiRepoEnvironmentResponse) {} + rpc ResolveOrCreateDraftEnvironment(ResolveOrCreateDraftEnvironmentRequest) returns (ResolveOrCreateDraftEnvironmentResponse) {} + rpc SnapshotAndSaveEnvironment(SnapshotAndSaveEnvironmentRequest) returns (SnapshotAndSaveEnvironmentResponse) {} + rpc ListReposWithLocalEnvironment(ListReposWithLocalEnvironmentRequest) returns (ListReposWithLocalEnvironmentResponse) {} + rpc MarkBackgroundComposerRead(MarkBackgroundComposerReadRequest) returns (MarkBackgroundComposerReadResponse) {} + rpc MarkBackgroundComposerUnread(MarkBackgroundComposerUnreadRequest) returns (MarkBackgroundComposerUnreadResponse) {} + rpc NotifyBackgroundComposerShown(NotifyBackgroundComposerShownRequest) returns (NotifyBackgroundComposerShownResponse) {} + rpc FetchBackgroundComposer(FetchBackgroundComposerRequest) returns (FetchBackgroundComposerResponse) {} + rpc GetTurnSummaryBackgroundComposer(GetTurnSummaryBackgroundComposerRequest) returns (GetTurnSummaryBackgroundComposerResponse) {} + rpc GetBackgroundComposerName(GetBackgroundComposerNameRequest) returns (GetBackgroundComposerNameResponse) {} + rpc GetBackgroundComposerPrompt(GetBackgroundComposerPromptRequest) returns (GetBackgroundComposerPromptResponse) {} + rpc ReadBinaryFile(ReadBinaryFileRequest) returns (ReadBinaryFileResponse) {} + rpc ListBackgroundComposerArtifacts(ListBackgroundComposerArtifactsRequest) returns (ListBackgroundComposerArtifactsResponse) {} + rpc GetBackgroundComposerArtifact(GetBackgroundComposerArtifactRequest) returns (GetBackgroundComposerArtifactResponse) {} + rpc GetBackgroundComposerArtifactBytes(GetBackgroundComposerArtifactBytesRequest) returns (GetBackgroundComposerArtifactBytesResponse) {} + rpc StreamBackgroundComposerArtifact(StreamBackgroundComposerArtifactRequest) returns (stream StreamBackgroundComposerArtifactResponse) {} + rpc ListSharedBackgroundComposerArtifacts(ListSharedBackgroundComposerArtifactsRequest) returns (ListSharedBackgroundComposerArtifactsResponse) {} + rpc ShareBackgroundComposerArtifact(ShareBackgroundComposerArtifactRequest) returns (ShareBackgroundComposerArtifactResponse) {} + rpc UnshareBackgroundComposerArtifact(UnshareBackgroundComposerArtifactRequest) returns (UnshareBackgroundComposerArtifactResponse) {} + rpc GetPublicBackgroundComposerArtifact(GetPublicBackgroundComposerArtifactRequest) returns (GetPublicBackgroundComposerArtifactResponse) {} + rpc UpdateBackgroundComposerUserSettings(UpdateBackgroundComposerUserSettingsRequest) returns (UpdateBackgroundComposerUserSettingsResponse) {} + rpc GetBackgroundComposerUserSettings(GetBackgroundComposerUserSettingsRequest) returns (GetBackgroundComposerUserSettingsResponse) {} + rpc UpdateBackgroundComposerEnvironment(UpdateBackgroundComposerEnvironmentRequest) returns (UpdateBackgroundComposerEnvironmentResponse) {} + rpc GetRepositoryBranches(GetRepositoryBranchesRequest) returns (GetRepositoryBranchesResponse) {} + rpc GetPullRequestMergeStatus(GetPullRequestMergeStatusRequest) returns (GetPullRequestMergeStatusResponse) {} + rpc GetDetailedPullRequestStatus(GetDetailedPullRequestStatusRequest) returns (GetDetailedPullRequestStatusResponse) {} + rpc CheckPullRequestMergeability(CheckPullRequestMergeabilityRequest) returns (CheckPullRequestMergeabilityResponse) {} + rpc GetPullRequestDiscussions(GetPullRequestDiscussionsRequest) returns (GetPullRequestDiscussionsResponse) {} + rpc GetPullRequestCommits(GetPullRequestCommitsRequest) returns (GetPullRequestCommitsResponse) {} + rpc GetPullRequestTimelineEvents(GetPullRequestTimelineEventsRequest) returns (GetPullRequestTimelineEventsResponse) {} + rpc ReplyToReviewThread(ReplyToReviewThreadRequest) returns (ReplyToReviewThreadResponse) {} + rpc ResolveReviewThread(ResolveReviewThreadRequest) returns (ResolveReviewThreadResponse) {} + rpc UnresolveReviewThread(UnresolveReviewThreadRequest) returns (UnresolveReviewThreadResponse) {} + rpc DeletePullRequestReviewComment(DeletePullRequestReviewCommentRequest) returns (DeletePullRequestReviewCommentResponse) {} + rpc AddPullRequestReviewComment(AddPullRequestReviewCommentRequest) returns (AddPullRequestReviewCommentResponse) {} + rpc MergePullRequest(MergePullRequestRequest) returns (MergePullRequestResponse) {} + rpc EnablePullRequestAutoMerge(EnablePullRequestAutoMergeRequest) returns (EnablePullRequestAutoMergeResponse) {} + rpc DisablePullRequestAutoMerge(DisablePullRequestAutoMergeRequest) returns (DisablePullRequestAutoMergeResponse) {} + rpc ConvertPullRequestFromDraft(ConvertPullRequestFromDraftRequest) returns (ConvertPullRequestFromDraftResponse) {} + rpc UpdatePullRequestBranch(UpdatePullRequestBranchRequest) returns (UpdatePullRequestBranchResponse) {} + rpc RegisterPushNotificationToken(RegisterPushNotificationTokenRequest) returns (RegisterPushNotificationTokenResponse) {} + rpc DeletePushNotificationToken(DeletePushNotificationTokenRequest) returns (DeletePushNotificationTokenResponse) {} + rpc SyncLiveActivity(SyncLiveActivityRequest) returns (SyncLiveActivityResponse) {} + rpc DeleteLiveActivity(DeleteLiveActivityRequest) returns (DeleteLiveActivityResponse) {} + rpc VerifyBackgroundComposerAccess(VerifyBackgroundComposerAccessRequest) returns (VerifyBackgroundComposerAccessResponse) {} + rpc StartSlackStreamingForFollowup(StartSlackStreamingForFollowupRequest) returns (StartSlackStreamingForFollowupResponse) {} + rpc StartGithubStreamingForFollowup(StartGithubStreamingForFollowupRequest) returns (StartGithubStreamingForFollowupResponse) {} + rpc StartLinearStreamingForFollowup(StartLinearStreamingForFollowupRequest) returns (StartLinearStreamingForFollowupResponse) {} + rpc GetGithubInstallations(GetGithubInstallationsRequest) returns (GetGithubInstallationsResponse) {} + rpc FetchAllInstallationRepos(FetchAllInstallationReposRequest) returns (FetchAllInstallationReposResponse) {} + rpc GetBackgroundComposerVmUsage(GetBackgroundComposerVmUsageRequest) returns (GetBackgroundComposerVmUsageResponse) {} + rpc ListGrindModeComposers(ListGrindModeComposersRequest) returns (ListGrindModeComposersResponse) {} + rpc GetCloudAgentDebugDetails(GetCloudAgentDebugDetailsRequest) returns (GetCloudAgentDebugDetailsResponse) {} + rpc GetCloudAgentMemoryDbLogs(GetCloudAgentMemoryDbLogsRequest) returns (GetCloudAgentMemoryDbLogsResponse) {} + rpc CreateAgentShare(CreateAgentShareRequest) returns (CreateAgentShareResponse) {} + rpc GetAgentSharePreview(GetAgentSharePreviewRequest) returns (GetAgentSharePreviewResponse) {} + rpc ListPrivateWorkers(ListPrivateWorkersRequest) returns (ListPrivateWorkersResponse) {} + rpc ListPrivateWorkerPools(ListPrivateWorkerPoolsRequest) returns (ListPrivateWorkerPoolsResponse) {} + rpc RegisterPrivateWorkerPool(RegisterPrivateWorkerPoolRequest) returns (RegisterPrivateWorkerPoolResponse) {} + rpc DeregisterPrivateWorkerPool(DeregisterPrivateWorkerPoolRequest) returns (DeregisterPrivateWorkerPoolResponse) {} + rpc AdminListUserPrivateWorkers(AdminListUserPrivateWorkersRequest) returns (AdminListUserPrivateWorkersResponse) {} + rpc ListPendingPrivateWorkerRequests(ListPendingPrivateWorkerRequestsRequest) returns (ListPendingPrivateWorkerRequestsResponse) {} + rpc ClaimPendingPrivateWorkerRequest(ClaimPendingPrivateWorkerRequestRequest) returns (ClaimPendingPrivateWorkerRequestResponse) {} + rpc GetPrivateWorkersSummary(GetPrivateWorkersSummaryRequest) returns (GetPrivateWorkersSummaryResponse) {} + rpc GetPrivateWorker(GetPrivateWorkerRequest) returns (GetPrivateWorkerResponse) {} + rpc ReleasePrivateWorker(ReleasePrivateWorkerRequest) returns (ReleasePrivateWorkerResponse) {} + rpc BatchRefreshPullRequestStatus(BatchRefreshPullRequestStatusRequest) returns (BatchRefreshPullRequestStatusResponse) {} + rpc ListAgentStores(ListAgentStoresRequest) returns (ListAgentStoresResponse) {} + rpc ListAgentStoreEntries(ListAgentStoreEntriesRequest) returns (ListAgentStoreEntriesResponse) {} + rpc ReadAgentStoreFile(ReadAgentStoreFileRequest) returns (ReadAgentStoreFileResponse) {} + rpc MintAgentStoreToken(MintAgentStoreTokenRequest) returns (MintAgentStoreTokenResponse) {} + rpc ListAgentStoreFiles(ListAgentStoreFilesRequest) returns (ListAgentStoreFilesResponse) {} + rpc ListAgentStoreDirectory(ListAgentStoreDirectoryRequest) returns (ListAgentStoreDirectoryResponse) {} + rpc PresignAgentStoreReads(PresignAgentStoreReadsRequest) returns (PresignAgentStoreReadsResponse) {} + rpc PresignAgentStoreWrites(PresignAgentStoreWritesRequest) returns (PresignAgentStoreWritesResponse) {} + rpc CompleteAgentStoreMultipartWrites(CompleteAgentStoreMultipartWritesRequest) returns (CompleteAgentStoreMultipartWritesResponse) {} + rpc AbortAgentStoreMultipartWrites(AbortAgentStoreMultipartWritesRequest) returns (AbortAgentStoreMultipartWritesResponse) {} + rpc PresignPromptUpload(PresignPromptUploadRequest) returns (PresignPromptUploadResponse) {} + rpc CompletePromptUpload(CompletePromptUploadRequest) returns (CompletePromptUploadResponse) {} + rpc AbortPromptUpload(AbortPromptUploadRequest) returns (AbortPromptUploadResponse) {} + rpc AcquireAgentStoreFileLock(AcquireAgentStoreFileLockRequest) returns (AcquireAgentStoreFileLockResponse) {} + rpc RenewAgentStoreFileLock(RenewAgentStoreFileLockRequest) returns (RenewAgentStoreFileLockResponse) {} + rpc ReleaseAgentStoreFileLock(ReleaseAgentStoreFileLockRequest) returns (ReleaseAgentStoreFileLockResponse) {} + rpc GetAgentStoreFileLock(GetAgentStoreFileLockRequest) returns (GetAgentStoreFileLockResponse) {} + rpc DeleteAgentStoreFiles(DeleteAgentStoreFilesRequest) returns (DeleteAgentStoreFilesResponse) {} + rpc ShareAgentStore(ShareAgentStoreRequest) returns (ShareAgentStoreResponse) {} + rpc UnshareAgentStore(UnshareAgentStoreRequest) returns (UnshareAgentStoreResponse) {} + rpc ListSharedAgentStores(ListSharedAgentStoresRequest) returns (ListSharedAgentStoresResponse) {} + rpc ProvisionSyntheticsServiceAccounts(ProvisionSyntheticsServiceAccountsRequest) returns (ProvisionSyntheticsServiceAccountsResponse) {} + rpc StartCloudAgentLoadTest(StartCloudAgentLoadTestRequest) returns (StartCloudAgentLoadTestResponse) {} + rpc EnsureModelRoutingLoadTestStarted(EnsureModelRoutingLoadTestStartedRequest) returns (EnsureModelRoutingLoadTestStartedResponse) {} + rpc CancelModelRoutingLoadTest(CancelModelRoutingLoadTestRequest) returns (CancelModelRoutingLoadTestResponse) {} + rpc MintCustomerPrivatelinkProxyToken(MintCustomerPrivatelinkProxyTokenRequest) returns (MintCustomerPrivatelinkProxyTokenResponse) {} + rpc AdminListTeamNamedAgents(AdminListTeamNamedAgentsRequest) returns (AdminListTeamNamedAgentsResponse) {} + rpc AdminDeleteNamedAgent(AdminDeleteNamedAgentRequest) returns (AdminDeleteNamedAgentResponse) {} + rpc ListKeyrings(ListKeyringsRequest) returns (ListKeyringsResponse) {} + rpc GetKeyring(GetKeyringRequest) returns (GetKeyringResponse) {} + rpc CreateKeyring(CreateKeyringRequest) returns (CreateKeyringResponse) {} + rpc RenameKeyring(RenameKeyringRequest) returns (RenameKeyringResponse) {} + rpc DeleteKeyring(DeleteKeyringRequest) returns (DeleteKeyringResponse) {} + rpc ListKeyringSecrets(ListKeyringSecretsRequest) returns (ListKeyringSecretsResponse) {} + rpc CreateKeyringSecret(CreateKeyringSecretRequest) returns (CreateKeyringSecretResponse) {} + rpc UpdateKeyringSecret(UpdateKeyringSecretRequest) returns (UpdateKeyringSecretResponse) {} + rpc RevokeKeyringSecret(RevokeKeyringSecretRequest) returns (RevokeKeyringSecretResponse) {} + rpc ListKeyringGrants(ListKeyringGrantsRequest) returns (ListKeyringGrantsResponse) {} + rpc GrantKeyringPermissions(GrantKeyringPermissionsRequest) returns (GrantKeyringPermissionsResponse) {} + rpc UpdateKeyringPermissions(UpdateKeyringPermissionsRequest) returns (UpdateKeyringPermissionsResponse) {} + rpc RevokeKeyringPermissions(RevokeKeyringPermissionsRequest) returns (RevokeKeyringPermissionsResponse) {} +} + +// Source: aiserver.v1.BidiService (var: Clv) +service BidiService { + rpc BidiAppend(BidiAppendRequest) returns (BidiAppendResponse) {} +} + +// Source: aiserver.v1.BugbotAdminService (var: Xuv) +service BugbotAdminService { + rpc GetTeamTrialEnd(GetTeamTrialEndRequest) returns (GetTeamTrialEndResponse) {} + rpc SetTeamTrialEnd(SetTeamTrialEndRequest) returns (SetTeamTrialEndResponse) {} + rpc GetProUserTrialEnd(GetProUserTrialEndRequest) returns (GetProUserTrialEndResponse) {} + rpc SetProUserTrialEnd(SetProUserTrialEndRequest) returns (SetProUserTrialEndResponse) {} + rpc GetRepoNodeId(GetRepoNodeIdRequest) returns (GetRepoNodeIdResponse) {} +} + +// Source: aiserver.v1.BugbotService (var: Elv) +service BugbotService { + rpc LogDeeplinkEvent(LogDeeplinkEventRequest) returns (LogDeeplinkEventResponse) {} + rpc GetEncryptedBugData(GetEncryptedBugDataRequest) returns (GetEncryptedBugDataResponse) {} + rpc GetEncryptedBugDataMultiple(GetEncryptedBugDataMultipleRequest) returns (GetEncryptedBugDataMultipleResponse) {} + rpc AddBugbotFeedback(AddBugbotFeedbackRequest) returns (AddBugbotFeedbackResponse) {} + rpc GetBugBotRunEta(GetBugBotRunEtaRequest) returns (GetBugBotRunEtaResponse) {} +} + +// Source: aiserver.v1.ChatRequestEventService (var: Msv) +service ChatRequestEventService { + rpc SubmitChatRequestEvents(SubmitChatRequestEventsRequest) returns (SubmitChatRequestEventsResponse) {} +} + +// Source: aiserver.v1.ChatRequestEventV2Service (var: Cbv) +service ChatRequestEventV2Service { + rpc SubmitChatRequestEventsV2(SubmitChatRequestEventsV2Request) returns (SubmitChatRequestEventsV2Response) {} +} + +// Source: aiserver.v1.ChatService (var: VBi) +service ChatService { + rpc StreamUnifiedChat(StreamUnifiedChatRequest) returns (stream StreamUnifiedChatResponse) {} + rpc StreamUnifiedChatWithTools(stream StreamUnifiedChatRequestWithTools) returns (stream StreamUnifiedChatResponseWithTools) {} + rpc StreamUnifiedChatWithToolsSSE(BidiRequestId) returns (stream StreamUnifiedChatResponseWithTools) {} + rpc StreamUnifiedChatWithToolsPoll(BidiPollRequest) returns (stream BidiPollResponse) {} + rpc StreamUnifiedChatWithToolsIdempotent(stream StreamUnifiedChatRequestWithToolsIdempotent) returns (stream StreamUnifiedChatResponseWithToolsIdempotent) {} + rpc StreamUnifiedChatWithToolsIdempotentSSE(BidiRequestId) returns (stream StreamUnifiedChatResponseWithToolsIdempotent) {} + rpc StreamUnifiedChatWithToolsIdempotentPoll(BidiPollRequest) returns (stream BidiPollResponse) {} + rpc GetConversationSummary(StreamUnifiedChatRequest) returns (ConversationSummary) {} + rpc StreamSpeculativeSummaries(StreamUnifiedChatRequest) returns (stream ConversationSummary) {} + rpc WarmStreamUnifiedChatWithTools(StreamUnifiedChatRequest) returns (WarmStreamUnifiedChatWithToolsResponse) {} + rpc GetPromptDryRun(StreamUnifiedChatRequest) returns (GetPromptDryRunResponse) {} + rpc StreamFullFileCmdK(StreamUnifiedChatRequest) returns (stream StreamUnifiedChatResponseWithTools) {} + rpc WarmFullFileCmdK(StreamUnifiedChatRequest) returns (WarmStreamUnifiedChatWithToolsResponse) {} + rpc ConvertOALToNAL(ConvertOALToNALRequest) returns (ConvertOALToNALResponse) {} +} + +// Source: aiserver.v1.CiMetricsService (var: hdv) +service CiMetricsService { + rpc RecordPerformanceData(RecordPerformanceDataRequest) returns (RecordPerformanceDataResponse) {} + rpc UpsertInvocation(UpsertInvocationRequest) returns (UpsertInvocationResponse) {} + rpc RecordPerformanceChunk(RecordPerformanceChunkRequest) returns (RecordPerformanceChunkResponse) {} + rpc RecordInvocationWithData(RecordInvocationWithDataRequest) returns (RecordInvocationWithDataResponse) {} + rpc UpdateInvocationStatus(UpdateInvocationStatusRequest) returns (UpdateInvocationStatusResponse) {} +} + +// Source: aiserver.v1.ClientLoggerService (var: kqd) +service ClientLoggerService { + rpc GetDebuggingDataUploadUrl(GetDebuggingDataUploadUrlRequest) returns (GetDebuggingDataUploadUrlResponse) {} + rpc LogWhenTabTurnsOff(LogWhenTabTurnsOffRequest) returns (LogWhenTabTurnsOffResponse) {} +} + +// Source: aiserver.v1.CmdKService (var: O$t) +service CmdKService { + rpc StreamCmdK(StreamCmdKRequest) returns (stream StreamCmdKResponseContextWrapped) {} + rpc StreamHypermode(StreamHypermodeRequest) returns (stream StreamCmdKResponseContextWrapped) {} + rpc RerankCmdKContext(RerankCmdKContextRequest) returns (RerankCmdKContextResponse) {} + rpc StreamTerminalCmdK(StreamTerminalCmdKRequest) returns (stream StreamTerminalCmdKResponseContextWrapped) {} + rpc RerankTerminalCmdKContext(RerankTerminalCmdKContextRequest) returns (RerankTerminalCmdKContextResponse) {} + rpc GetRelevantChunks(GetRelevantChunksRequest) returns (stream StreamGetRelevantChunksResponseContextWrapped) {} +} + +// Source: aiserver.v1.CodebaseProtectionService (var: bdv) +service CodebaseProtectionService { + rpc ReportWorkspaceRepositories(ReportWorkspaceRepositoriesRequest) returns (ReportWorkspaceRepositoriesResponse) {} + rpc CheckCodebaseTelemetryPolicy(CheckCodebaseTelemetryPolicyRequest) returns (CheckCodebaseTelemetryPolicyResponse) {} +} + +// Source: aiserver.v1.CodebaseSnapshotService (var: zdv) +service CodebaseSnapshotService { + rpc RegisterCodebase(RegisterCodebaseRequest) returns (RegisterCodebaseResponse) {} + rpc RegisterCodebaseSnapshot(RegisterCodebaseSnapshotRequest) returns (RegisterCodebaseSnapshotResponse) {} + rpc GetCodebaseSnapshotStatus(GetCodebaseSnapshotStatusRequest) returns (GetCodebaseSnapshotStatusResponse) {} + rpc CreatePackfileUpload(CreatePackfileUploadRequest) returns (CreatePackfileUploadResponse) {} + rpc CompletePackfileUpload(CompletePackfileUploadRequest) returns (CompletePackfileUploadResponse) {} + rpc UploadPackfileChunk(UploadPackfileChunkRequest) returns (UploadPackfileChunkResponse) {} +} + +// Source: aiserver.v1.ConversationsService (var: Weo) +service ConversationsService { + rpc GetCommitMetrics(GetCommitMetricsRequest) returns (GetCommitMetricsResponse) {} + rpc GetCommitMetricsByFilePath(GetCommitMetricsByFilePathRequest) returns (GetCommitMetricsResponse) {} +} + +// Source: aiserver.v1.CppService (var: A2i) +service CppService { + rpc MarkCppForEval(MarkCppRequest) returns (MarkCppResponse) {} + rpc StreamHoldCpp(StreamHoldCppRequest) returns (stream StreamHoldCppResponse) {} + rpc AvailableModels(AvailableCppModelsRequest) returns (AvailableCppModelsResponse) {} + rpc RecordCppFate(RecordCppFateRequest) returns (RecordCppFateResponse) {} + rpc AddTabRequestToEval(AddTabRequestToEvalRequest) returns (AddTabRequestToEvalResponse) {} +} + +// Source: aiserver.v1.CursorPredictionService (var: Qdv) +service CursorPredictionService { + rpc CursorPredictionConfig(CursorPredictionConfigRequest) returns (CursorPredictionConfigResponse) {} +} + +// Source: aiserver.v1.DashboardService (var: mbt) +service DashboardService { + rpc GetTeams(GetTeamsRequest) returns (GetTeamsResponse) {} + rpc GetMe(GetMeRequest) returns (GetMeResponse) {} + rpc GetAgenticOnboardingConfig(GetAgenticOnboardingConfigRequest) returns (GetAgenticOnboardingConfigResponse) {} + rpc GetUserOrganizations(GetUserOrganizationsRequest) returns (GetUserOrganizationsResponse) {} + rpc SetUserDefaultTeam(SetUserDefaultTeamRequest) returns (SetUserDefaultTeamResponse) {} + rpc GetOrganizationMembers(GetOrganizationMembersRequest) returns (GetOrganizationMembersResponse) {} + rpc GetOrganizationMember(GetOrganizationMemberRequest) returns (GetOrganizationMemberResponse) {} + rpc ListOrganizationIdentityProviders(ListOrganizationIdentityProvidersRequest) returns (ListOrganizationIdentityProvidersResponse) {} + rpc UpdateOrganizationIdentityProviderSsoSettings(UpdateOrganizationIdentityProviderSsoSettingsRequest) returns (UpdateOrganizationIdentityProviderResponse) {} + rpc SetOrganizationIdentityProviderAllowDomainJoin(SetOrganizationIdentityProviderAllowDomainJoinRequest) returns (UpdateOrganizationIdentityProviderResponse) {} + rpc AddOrganizationIdentityProviderDomainJoin(AddOrganizationIdentityProviderDomainJoinRequest) returns (UpdateOrganizationIdentityProviderResponse) {} + rpc RemoveOrganizationIdentityProviderDomainJoin(RemoveOrganizationIdentityProviderDomainJoinRequest) returns (UpdateOrganizationIdentityProviderResponse) {} + rpc MergeOrganizationIdentityProvider(MergeOrganizationIdentityProviderRequest) returns (MergeOrganizationIdentityProviderResponse) {} + rpc PreflightMergeOrganizationIdentityProvider(PreflightMergeOrganizationIdentityProviderRequest) returns (PreflightMergeOrganizationIdentityProviderResponse) {} + rpc GetOrganizationMergeIdpRequest(GetOrganizationMergeIdpRequestRequest) returns (GetOrganizationMergeIdpRequestResponse) {} + rpc ListOrganizationMergeIdpRequests(ListOrganizationMergeIdpRequestsRequest) returns (ListOrganizationMergeIdpRequestsResponse) {} + rpc MoveOrganizationMemberToTeam(MoveOrganizationMemberToTeamRequest) returns (MoveOrganizationMemberToTeamResponse) {} + rpc SetOrganizationMemberTeams(SetOrganizationMemberTeamsRequest) returns (SetOrganizationMemberTeamsResponse) {} + rpc BulkMoveOrganizationMembers(BulkMoveOrganizationMembersRequest) returns (BulkMoveOrganizationMembersResponse) {} + rpc StartBulkMoveOrganizationMembers(StartBulkMoveOrganizationMembersRequest) returns (StartBulkMoveOrganizationMembersResponse) {} + rpc GetBackgroundJob(GetBackgroundJobRequest) returns (GetBackgroundJobResponse) {} + rpc SetOrganizationMemberRole(SetOrganizationMemberRoleRequest) returns (SetOrganizationMemberRoleResponse) {} + rpc UpdateOrganization(UpdateOrganizationRequest) returns (UpdateOrganizationResponse) {} + rpc UpdateOrganizationTeam(UpdateOrganizationTeamRequest) returns (UpdateOrganizationTeamResponse) {} + rpc CreateOrganizationTeam(CreateOrganizationTeamRequest) returns (CreateOrganizationTeamResponse) {} + rpc GetOrganizationTeamAdminCandidates(GetOrganizationTeamAdminCandidatesRequest) returns (GetOrganizationTeamAdminCandidatesResponse) {} + rpc GetDirectoryGroups(GetDirectoryGroupsRequest) returns (GetDirectoryGroupsResponse) {} + rpc UpdateDirectoryGroupSettings(UpdateDirectoryGroupSettingsRequest) returns (UpdateDirectoryGroupSettingsResponse) {} + rpc GetOrganizationGroups(GetOrganizationGroupsRequest) returns (GetOrganizationGroupsResponse) {} + rpc GetOrganizationGroup(GetOrganizationGroupRequest) returns (GetOrganizationGroupResponse) {} + rpc GetOrganizationGroupMembers(GetOrganizationGroupMembersRequest) returns (GetOrganizationGroupMembersResponse) {} + rpc CreateOrganizationGroup(CreateOrganizationGroupRequest) returns (CreateOrganizationGroupResponse) {} + rpc UpdateOrganizationGroup(UpdateOrganizationGroupRequest) returns (UpdateOrganizationGroupResponse) {} + rpc DeleteOrganizationGroup(DeleteOrganizationGroupRequest) returns (DeleteOrganizationGroupResponse) {} + rpc AddOrganizationGroupMembers(AddOrganizationGroupMembersRequest) returns (AddOrganizationGroupMembersResponse) {} + rpc RemoveOrganizationGroupMembers(RemoveOrganizationGroupMembersRequest) returns (RemoveOrganizationGroupMembersResponse) {} + rpc UpdateOrganizationGroupMember(UpdateOrganizationGroupMemberRequest) returns (UpdateOrganizationGroupMemberResponse) {} + rpc GetOrganizationGroupAutorunSettings(GetOrganizationGroupAutorunSettingsRequest) returns (GetOrganizationGroupAutorunSettingsResponse) {} + rpc UpdateOrganizationGroupAutorunSettings(UpdateOrganizationGroupAutorunSettingsRequest) returns (UpdateOrganizationGroupAutorunSettingsResponse) {} + rpc GetOrganizationGroupModelAllowlist(GetOrganizationGroupModelAllowlistRequest) returns (GetOrganizationGroupModelAllowlistResponse) {} + rpc UpdateOrganizationGroupModelAllowlist(UpdateOrganizationGroupModelAllowlistRequest) returns (UpdateOrganizationGroupModelAllowlistResponse) {} + rpc GetOrganizationGroupAutoReviewSettings(GetOrganizationGroupAutoReviewSettingsRequest) returns (GetOrganizationGroupAutoReviewSettingsResponse) {} + rpc UpdateOrganizationGroupAutoReviewSettings(UpdateOrganizationGroupAutoReviewSettingsRequest) returns (UpdateOrganizationGroupAutoReviewSettingsResponse) {} + rpc GetOrganizationGroupSmartAutoSettings(GetOrganizationGroupSmartAutoSettingsRequest) returns (GetOrganizationGroupSmartAutoSettingsResponse) {} + rpc UpdateOrganizationGroupSmartAutoSettings(UpdateOrganizationGroupSmartAutoSettingsRequest) returns (UpdateOrganizationGroupSmartAutoSettingsResponse) {} + rpc CreateOrganizationGroupAnthropicCyberEnrollmentUrl(CreateOrganizationGroupAnthropicCyberEnrollmentUrlRequest) returns (CreateOrganizationGroupAnthropicCyberEnrollmentUrlResponse) {} + rpc GetTeamGroups(GetTeamGroupsRequest) returns (GetTeamGroupsResponse) {} + rpc GetTeamGroup(GetTeamGroupRequest) returns (GetTeamGroupResponse) {} + rpc GetTeamGroupMembers(GetTeamGroupMembersRequest) returns (GetTeamGroupMembersResponse) {} + rpc CreateTeamGroup(CreateTeamGroupRequest) returns (CreateTeamGroupResponse) {} + rpc UpdateTeamGroup(UpdateTeamGroupRequest) returns (UpdateTeamGroupResponse) {} + rpc DeleteTeamGroup(DeleteTeamGroupRequest) returns (DeleteTeamGroupResponse) {} + rpc AddTeamGroupMembers(AddTeamGroupMembersRequest) returns (AddTeamGroupMembersResponse) {} + rpc RemoveTeamGroupMembers(RemoveTeamGroupMembersRequest) returns (RemoveTeamGroupMembersResponse) {} + rpc UpdateTeamGroupMember(UpdateTeamGroupMemberRequest) returns (UpdateTeamGroupMemberResponse) {} + rpc GetTeamGroupAutorunSettings(GetTeamGroupAutorunSettingsRequest) returns (GetTeamGroupAutorunSettingsResponse) {} + rpc UpdateTeamGroupAutorunSettings(UpdateTeamGroupAutorunSettingsRequest) returns (UpdateTeamGroupAutorunSettingsResponse) {} + rpc GetTeamGroupModelAllowlist(GetTeamGroupModelAllowlistRequest) returns (GetTeamGroupModelAllowlistResponse) {} + rpc UpdateTeamGroupModelAllowlist(UpdateTeamGroupModelAllowlistRequest) returns (UpdateTeamGroupModelAllowlistResponse) {} + rpc GetTeamGroupAutoReviewSettings(GetTeamGroupAutoReviewSettingsRequest) returns (GetTeamGroupAutoReviewSettingsResponse) {} + rpc UpdateTeamGroupAutoReviewSettings(UpdateTeamGroupAutoReviewSettingsRequest) returns (UpdateTeamGroupAutoReviewSettingsResponse) {} + rpc GetTeamSandNetworkSettings(GetTeamSandNetworkSettingsRequest) returns (GetTeamSandNetworkSettingsResponse) {} + rpc UpdateTeamSandNetworkSettings(UpdateTeamSandNetworkSettingsRequest) returns (UpdateTeamSandNetworkSettingsResponse) {} + rpc GetTeamGroupSandNetworkSettings(GetTeamGroupSandNetworkSettingsRequest) returns (GetTeamGroupSandNetworkSettingsResponse) {} + rpc UpdateTeamGroupSandNetworkSettings(UpdateTeamGroupSandNetworkSettingsRequest) returns (UpdateTeamGroupSandNetworkSettingsResponse) {} + rpc GetTeamGroupSmartAutoSettings(GetTeamGroupSmartAutoSettingsRequest) returns (GetTeamGroupSmartAutoSettingsResponse) {} + rpc UpdateTeamGroupSmartAutoSettings(UpdateTeamGroupSmartAutoSettingsRequest) returns (UpdateTeamGroupSmartAutoSettingsResponse) {} + rpc CreateTeamGroupAnthropicCyberEnrollmentUrl(CreateTeamGroupAnthropicCyberEnrollmentUrlRequest) returns (CreateTeamGroupAnthropicCyberEnrollmentUrlResponse) {} + rpc ListTeamGroupScimDirectories(ListTeamGroupScimDirectoriesRequest) returns (ListTeamGroupScimDirectoriesResponse) {} + rpc ListTeamGroupScimGroupsFromUpstream(ListTeamGroupScimGroupsFromUpstreamRequest) returns (ListTeamGroupScimGroupsFromUpstreamResponse) {} + rpc ListTeamGroupScimTargetMappings(ListTeamGroupScimTargetMappingsRequest) returns (ListTeamGroupScimTargetMappingsResponse) {} + rpc CreateTeamGroupScimTargetMapping(CreateTeamGroupScimTargetMappingRequest) returns (CreateTeamGroupScimTargetMappingResponse) {} + rpc DeleteTeamGroupScimTargetMapping(DeleteTeamGroupScimTargetMappingRequest) returns (DeleteTeamGroupScimTargetMappingResponse) {} + rpc GetGroups(GetGroupsRequest) returns (GetGroupsResponse) {} + rpc GetGroupMembers(GetGroupMembersRequest) returns (GetGroupMembersResponse) {} + rpc CreateGroup(CreateGroupRequest) returns (CreateGroupResponse) {} + rpc UpdateGroup(UpdateGroupRequest) returns (UpdateGroupResponse) {} + rpc DeleteGroup(DeleteGroupRequest) returns (DeleteGroupResponse) {} + rpc AddGroupMembers(AddGroupMembersRequest) returns (AddGroupMembersResponse) {} + rpc RemoveGroupMembers(RemoveGroupMembersRequest) returns (RemoveGroupMembersResponse) {} + rpc BulkAssignGroupMembers(BulkAssignGroupMembersRequest) returns (BulkAssignGroupMembersResponse) {} + rpc PreviewAttachGroupToDirectory(PreviewAttachGroupToDirectoryRequest) returns (PreviewAttachGroupToDirectoryResponse) {} + rpc DetachGroupFromDirectory(DetachGroupFromDirectoryRequest) returns (DetachGroupFromDirectoryResponse) {} + rpc GetScimConflicts(GetScimConflictsRequest) returns (GetScimConflictsResponse) {} + rpc ListScimDirectories(ListScimDirectoriesRequest) returns (ListScimDirectoriesResponse) {} + rpc GetOrganizationScimConfigurationLinks(ListScimDirectoriesRequest) returns (GetOrganizationScimConfigurationLinksResponse) {} + rpc CreateScimDirectory(CreateScimDirectoryRequest) returns (CreateScimDirectoryResponse) {} + rpc UpdateScimDirectorySyncSettings(UpdateScimDirectorySyncSettingsRequest) returns (UpdateScimDirectorySyncSettingsResponse) {} + rpc DeleteScimDirectory(DeleteScimDirectoryRequest) returns (DeleteScimDirectoryResponse) {} + rpc ListScimGroupsFromUpstream(ListScimGroupsFromUpstreamRequest) returns (ListScimGroupsFromUpstreamResponse) {} + rpc ListScimTargetMappings(ListScimTargetMappingsRequest) returns (ListScimTargetMappingsResponse) {} + rpc ListOrganizationGroupTargetMappings(ListOrganizationGroupTargetMappingsRequest) returns (ListOrganizationGroupTargetMappingsResponse) {} + rpc CreateScimTargetMapping(CreateScimTargetMappingRequest) returns (CreateScimTargetMappingResponse) {} + rpc DeleteScimTargetMapping(DeleteScimTargetMappingRequest) returns (DeleteScimTargetMappingResponse) {} + rpc GetActivationCheckoutUrl(GetActivationCheckoutUrlRequest) returns (GetActivationCheckoutUrlResponse) {} + rpc CheckPromotionEligibility(CheckPromotionEligibilityRequest) returns (CheckPromotionEligibilityResponse) {} + rpc ActivatePromotion(ActivatePromotionRequest) returns (ActivatePromotionResponse) {} + rpc GetTeamCustomerPortalUrl(GetTeamCustomerPortalUrlRequest) returns (GetTeamCustomerPortalUrlResponse) {} + rpc CancelPendingTeamSubscriptionNow(CancelPendingTeamSubscriptionNowRequest) returns (CancelPendingTeamSubscriptionNowResponse) {} + rpc CreatePendingTeamProCheckout(CreatePendingTeamProCheckoutRequest) returns (CreatePendingTeamProCheckoutResponse) {} + rpc GetTeamMembers(GetTeamMembersRequest) returns (GetTeamMembersResponse) {} + rpc SendTeamInvite(SendTeamInviteRequest) returns (SendTeamInviteResponse) {} + rpc GetTeamInviteLink(GetTeamInviteLinkRequest) returns (GetTeamInviteLinkResponse) {} + rpc AcceptInvite(AcceptInviteRequest) returns (AcceptInviteResponse) {} + rpc GetTeamInviteMetadata(GetTeamInviteMetadataRequest) returns (GetTeamInviteMetadataResponse) {} + rpc ListContactImportConnections(ListContactImportConnectionsRequest) returns (ListContactImportConnectionsResponse) {} + rpc GetGoogleContactImportAuthUrl(GetGoogleContactImportAuthUrlRequest) returns (GetGoogleContactImportAuthUrlResponse) {} + rpc ConnectGoogleContactImportCallback(ConnectGoogleContactImportCallbackRequest) returns (ConnectGoogleContactImportCallbackResponse) {} + rpc ListContactImportContacts(ListContactImportContactsRequest) returns (ListContactImportContactsResponse) {} + rpc GetContactImportAvatar(GetContactImportAvatarRequest) returns (GetContactImportAvatarResponse) {} + rpc DisconnectContactImportConnection(DisconnectContactImportConnectionRequest) returns (DisconnectContactImportConnectionResponse) {} + rpc CreateTeam(CreateTeamRequest) returns (CreateTeamResponse) {} + rpc GetJoinableTeamsByDomain(GetJoinableTeamsByDomainRequest) returns (GetJoinableTeamsByDomainResponse) {} + rpc JoinTeamByDomain(JoinTeamByDomainRequest) returns (JoinTeamByDomainResponse) {} + rpc UpdateTeamDomainJoinSetting(UpdateTeamDomainJoinSettingRequest) returns (UpdateTeamDomainJoinSettingResponse) {} + rpc GetTeamMemberDomains(GetTeamMemberDomainsRequest) returns (GetTeamMemberDomainsResponse) {} + rpc GetTeamIdForReactivation(GetTeamIdForReactivationRequest) returns (GetTeamIdForReactivationResponse) {} + rpc ChangeSeat(ChangeSeatRequest) returns (ChangeSeatResponse) {} + rpc ChangeTeamSubscription(ChangeTeamSubscriptionRequest) returns (ChangeTeamSubscriptionResponse) {} + rpc ConnectGithubCallback(ConnectGithubCallbackRequest) returns (ConnectGithubCallbackResponse) {} + rpc RegisterGithubCursorCode(RegisterGithubCursorCodeRequest) returns (RegisterGithubCursorCodeResponse) {} + rpc PrepareGithubConnectFlow(PrepareGithubConnectFlowRequest) returns (PrepareGithubConnectFlowResponse) {} + rpc CompleteGithubConnectFlow(CompleteGithubConnectFlowRequest) returns (CompleteGithubConnectFlowResponse) {} + rpc DisconnectGithub(DisconnectGithubRequest) returns (DisconnectGithubResponse) {} + rpc PrepareSetupGithubEnterpriseApp(PrepareSetupGithubEnterpriseAppRequest) returns (PrepareSetupGithubEnterpriseAppResponse) {} + rpc FinishSetupGithubEnterpriseApp(FinishSetupGithubEnterpriseAppRequest) returns (FinishSetupGithubEnterpriseAppResponse) {} + rpc ListGithubEnterpriseApps(ListGithubEnterpriseAppsRequest) returns (ListGithubEnterpriseAppsResponse) {} + rpc DeleteGithubEnterpriseApp(DeleteGithubEnterpriseAppRequest) returns (DeleteGithubEnterpriseAppResponse) {} + rpc SetupGitlabEnterpriseInstance(SetupGitlabEnterpriseInstanceRequest) returns (SetupGitlabEnterpriseInstanceResponse) {} + rpc ListGitlabEnterpriseInstances(ListGitlabEnterpriseInstancesRequest) returns (ListGitlabEnterpriseInstancesResponse) {} + rpc SetGitlabEnterpriseHostControlledServiceAccountToken(SetGitlabEnterpriseHostControlledServiceAccountTokenRequest) returns (SetGitlabEnterpriseHostControlledServiceAccountTokenResponse) {} + rpc RotateGitlabEnterpriseWebhookSecret(RotateGitlabEnterpriseWebhookSecretRequest) returns (RotateGitlabEnterpriseWebhookSecretResponse) {} + rpc DeleteGitlabEnterpriseInstance(DeleteGitlabEnterpriseInstanceRequest) returns (DeleteGitlabEnterpriseInstanceResponse) {} + rpc SetupBitbucketServerInstance(SetupBitbucketServerInstanceRequest) returns (SetupBitbucketServerInstanceResponse) {} + rpc ListBitbucketServerInstances(ListBitbucketServerInstancesRequest) returns (ListBitbucketServerInstancesResponse) {} + rpc UpdateBitbucketServerInstanceToken(UpdateBitbucketServerInstanceTokenRequest) returns (UpdateBitbucketServerInstanceTokenResponse) {} + rpc DeleteBitbucketServerInstance(DeleteBitbucketServerInstanceRequest) returns (DeleteBitbucketServerInstanceResponse) {} + rpc SyncGitlabRepos(SyncGitlabReposRequest) returns (SyncGitlabReposResponse) {} + rpc UpdateRole(UpdateRoleRequest) returns (UpdateRoleResponse) {} + rpc RemoveMember(RemoveMemberRequest) returns (RemoveMemberResponse) {} + rpc GetMemberRemovalInsights(GetMemberRemovalInsightsRequest) returns (GetMemberRemovalInsightsResponse) {} + rpc GetSignUpType(GetSignUpTypeRequest) returns (GetSignUpTypeResponse) {} + rpc GetHardLimit(GetHardLimitRequest) returns (GetHardLimitResponse) {} + rpc SetHardLimit(SetHardLimitRequest) returns (SetHardLimitResponse) {} + rpc GetSpendLimitPolicy(GetSpendLimitPolicyRequest) returns (GetSpendLimitPolicyResponse) {} + rpc SetSpendLimitPolicy(SetSpendLimitPolicyRequest) returns (SetSpendLimitPolicyResponse) {} + rpc GetOrgTeamBudgets(GetOrgTeamBudgetsRequest) returns (GetOrgTeamBudgetsResponse) {} + rpc SetOrgTeamBudget(SetOrgTeamBudgetRequest) returns (SetOrgTeamBudgetResponse) {} + rpc GetOrgDailySpendByCategory(GetOrgDailySpendByCategoryRequest) returns (GetDailySpendByCategoryResponse) {} + rpc EnableOnDemandSpend(EnableOnDemandSpendRequest) returns (EnableOnDemandSpendResponse) {} + rpc DeleteAccount(DeleteAccountRequest) returns (DeleteAccountResponse) {} + rpc SendDownloadEmail(SendDownloadEmailRequest) returns (SendDownloadEmailResponse) {} + rpc GetMonthlyInvoice(GetMonthlyInvoiceRequest) returns (GetMonthlyInvoiceResponse) {} + rpc ListInvoiceCycles(ListInvoiceCyclesRequest) returns (ListInvoiceCyclesResponse) {} + rpc GetDailySpendByCategory(GetDailySpendByCategoryRequest) returns (GetDailySpendByCategoryResponse) {} + rpc GetPricingHistory(GetPricingHistoryRequest) returns (GetPricingHistoryResponse) {} + rpc ListBackgroundComposerSecrets(ListBackgroundComposerSecretsRequest) returns (ListBackgroundComposerSecretsResponse) {} + rpc CreateBackgroundComposerSecret(CreateBackgroundComposerSecretRequest) returns (CreateBackgroundComposerSecretResponse) {} + rpc CreateBackgroundComposerSecretBatch(CreateBackgroundComposerSecretBatchRequest) returns (CreateBackgroundComposerSecretBatchResponse) {} + rpc RevokeBackgroundComposerSecret(RevokeBackgroundComposerSecretRequest) returns (RevokeBackgroundComposerSecretResponse) {} + rpc UpdateBackgroundComposerSecret(UpdateBackgroundComposerSecretRequest) returns (UpdateBackgroundComposerSecretResponse) {} + rpc GetMcpConfig(GetMcpConfigRequest) returns (GetMcpConfigResponse) {} + rpc GetEffectiveMcpConfigForUser(GetEffectiveMcpConfigForUserRequest) returns (GetEffectiveMcpConfigForUserResponse) {} + rpc GetAvailableMcpServers(GetAvailableMcpServersRequest) returns (GetAvailableMcpServersResponse) {} + rpc GetMcpServerUsageSummary(GetMcpServerUsageSummaryRequest) returns (GetMcpServerUsageSummaryResponse) {} + rpc SetMcpConfig(SetMcpConfigRequest) returns (SetMcpConfigResponse) {} + rpc UpdateUserDefaultMcpSettings(UpdateUserDefaultMcpSettingsRequest) returns (UpdateUserDefaultMcpSettingsResponse) {} + rpc MarkMcpServersSeen(MarkMcpServersSeenRequest) returns (MarkMcpServersSeenResponse) {} + rpc StoreMcpOAuthToken(StoreMcpOAuthTokenRequest) returns (StoreMcpOAuthTokenResponse) {} + rpc GetMcpOAuthTokens(GetMcpOAuthTokensRequest) returns (GetMcpOAuthTokensResponse) {} + rpc ListSandMcpTools(ListSandMcpToolsRequest) returns (ListSandMcpToolsResponse) {} + rpc ExecuteSandMcpTool(ExecuteSandMcpToolRequest) returns (ExecuteSandMcpToolResponse) {} + rpc ClassifySandAutoReview(ClassifySandAutoReviewRequest) returns (ClassifySandAutoReviewResponse) {} + rpc RecordSandAuditEvents(RecordSandAuditEventsRequest) returns (RecordSandAuditEventsResponse) {} + rpc McpOAuthRefreshLockBegin(McpOAuthRefreshLockBeginRequest) returns (McpOAuthRefreshLockBeginResponse) {} + rpc McpOAuthRefreshLockRelease(McpOAuthRefreshLockReleaseRequest) returns (McpOAuthRefreshLockReleaseResponse) {} + rpc DeleteMcpOAuthToken(DeleteMcpOAuthTokenRequest) returns (DeleteMcpOAuthTokenResponse) {} + rpc ValidateMcpOAuthTokens(ValidateMcpOAuthTokensRequest) returns (ValidateMcpOAuthTokensResponse) {} + rpc CheckHttpMcpStatus(CheckHttpMcpStatusRequest) returns (CheckHttpMcpStatusResponse) {} + rpc StoreMcpOAuthPendingState(StoreMcpOAuthPendingStateRequest) returns (StoreMcpOAuthPendingStateResponse) {} + rpc GetMcpOAuthPendingState(GetMcpOAuthPendingStateRequest) returns (GetMcpOAuthPendingStateResponse) {} + rpc RenameMcpOAuthAccount(RenameMcpOAuthAccountRequest) returns (RenameMcpOAuthAccountResponse) {} + rpc DeleteMcpOAuthAccount(DeleteMcpOAuthAccountRequest) returns (DeleteMcpOAuthAccountResponse) {} + rpc CompleteMcpOAuth(CompleteMcpOAuthRequest) returns (CompleteMcpOAuthResponse) {} + rpc GetPluginMcpConfig(GetPluginMcpConfigRequest) returns (GetPluginMcpConfigResponse) {} + rpc BatchGetPluginMcpConfig(BatchGetPluginMcpConfigRequest) returns (BatchGetPluginMcpConfigResponse) {} + rpc AddMcpServersFromPlugin(AddMcpServersFromPluginRequest) returns (AddMcpServersFromPluginResponse) {} + rpc MoveUserMcpServerToTeam(MoveUserMcpServerToTeamRequest) returns (MoveUserMcpServerToTeamResponse) {} + rpc MigrateTeamMcpServersToDefaultMarketplace(MigrateTeamMcpServersToDefaultMarketplaceRequest) returns (MigrateTeamMcpServersToDefaultMarketplaceResponse) {} + rpc ProbeMcpUrl(ProbeMcpUrlRequest) returns (ProbeMcpUrlResponse) {} + rpc CreateTeamWithFreeTrial(CreateTeamWithFreeTrialRequest) returns (CreateTeamWithFreeTrialResponse) {} + rpc CreateTeamWithOrg(CreateTeamWithOrgRequest) returns (CreateTeamWithOrgResponse) {} + rpc GetTeamHasValidPaymentMethod(GetTeamHasValidPaymentMethodRequest) returns (GetTeamHasValidPaymentMethodResponse) {} + rpc GetTeamPrivacyModeForced(GetTeamPrivacyModeForcedRequest) returns (GetTeamPrivacyModeForcedResponse) {} + rpc SwitchTeamPrivacyMode(SwitchTeamPrivacyModeRequest) returns (SwitchTeamPrivacyModeResponse) {} + rpc UpdateFastRequests(UpdateFastRequestsRequest) returns (UpdateFastRequestsResponse) {} + rpc GetFastRequests(GetFastRequestsRequest) returns (GetFastRequestsResponse) {} + rpc GetDownloadLink(GetDownloadLinkRequest) returns (GetDownloadLinkResponse) {} + rpc GetCliDownloadUrl(GetCliDownloadUrlRequest) returns (GetCliDownloadUrlResponse) {} + rpc GetSsoConfigurationLinks(GetSsoConfigurationLinksRequest) returns (GetSsoConfigurationLinksResponse) {} + rpc GetScimConfigurationLinks(GetScimConfigurationLinksRequest) returns (GetScimConfigurationLinksResponse) {} + rpc SetAdminOnlyUsagePricing(SetAdminOnlyUsagePricingRequest) returns (SetAdminOnlyUsagePricingResponse) {} + rpc GetYearlyUpgradeEligibility(GetYearlyUpgradeEligibilityRequest) returns (GetYearlyUpgradeEligibilityResponse) {} + rpc UpgradeToYearly(UpgradeToYearlyRequest) returns (UpgradeToYearlyResponse) {} + rpc GetEnterpriseCTAEligibility(GetEnterpriseCTAEligibilityRequest) returns (GetEnterpriseCTAEligibilityResponse) {} + rpc GetUsageBasedPremiumRequests(GetUsageBasedPremiumRequestsRequest) returns (GetUsageBasedPremiumRequestsResponse) {} + rpc SetUsageBasedPremiumRequests(SetUsageBasedPremiumRequestsRequest) returns (SetUsageBasedPremiumRequestsResponse) {} + rpc GetReferrals(GetReferralsRequest) returns (GetReferralsResponse) {} + rpc GetReferralCodes(GetReferralCodesRequest) returns (GetReferralCodesResponse) {} + rpc CreateP2PReferralLink(CreateP2PReferralLinkRequest) returns (CreateP2PReferralLinkResponse) {} + rpc GetP2PReferralStatus(GetP2PReferralStatusRequest) returns (GetP2PReferralStatusResponse) {} + rpc SendP2PReferralInvites(SendP2PReferralInvitesRequest) returns (SendP2PReferralInvitesResponse) {} + rpc GetP2PReferralHistory(GetP2PReferralHistoryRequest) returns (GetP2PReferralHistoryResponse) {} + rpc CheckReferralAllowlist(CheckReferralAllowlistRequest) returns (CheckReferralAllowlistResponse) {} + rpc CheckReferralCode(CheckReferralCodeRequest) returns (CheckReferralCodeResponse) {} + rpc RedeemGiftCode(RedeemGiftCodeRequest) returns (RedeemGiftCodeResponse) {} + rpc GetEventCodeInfo(GetEventCodeInfoRequest) returns (GetEventCodeInfoResponse) {} + rpc RedeemEventCode(RedeemEventCodeRequest) returns (RedeemEventCodeResponse) {} + rpc GetTeamRepos(GetTeamReposRequest) returns (GetTeamReposResponse) {} + rpc GetTeamReposOrEmptyIfNotInTeam(GetTeamReposRequest) returns (GetTeamReposResponse) {} + rpc GetTeamRules(GetTeamRulesRequest) returns (GetTeamRulesResponse) {} + rpc CreateTeamRule(CreateTeamRuleRequest) returns (CreateTeamRuleResponse) {} + rpc UpdateTeamRule(UpdateTeamRuleRequest) returns (UpdateTeamRuleResponse) {} + rpc DeleteTeamRule(DeleteTeamRuleRequest) returns (DeleteTeamRuleResponse) {} + rpc GetTeamHooks(GetTeamHooksRequest) returns (GetTeamHooksResponse) {} + rpc CreateTeamHook(CreateTeamHookRequest) returns (CreateTeamHookResponse) {} + rpc UpdateTeamHook(UpdateTeamHookRequest) returns (UpdateTeamHookResponse) {} + rpc DeleteTeamHook(DeleteTeamHookRequest) returns (DeleteTeamHookResponse) {} + rpc GetTeamCommands(GetTeamCommandsRequest) returns (GetTeamCommandsResponse) {} + rpc CreateTeamCommand(CreateTeamCommandRequest) returns (CreateTeamCommandResponse) {} + rpc UpdateTeamCommand(UpdateTeamCommandRequest) returns (UpdateTeamCommandResponse) {} + rpc DeleteTeamCommand(DeleteTeamCommandRequest) returns (DeleteTeamCommandResponse) {} + rpc GetGlobalCommands(GetGlobalCommandsRequest) returns (GetGlobalCommandsResponse) {} + rpc GetRepoSlashCommands(GetRepoSlashCommandsRequest) returns (GetRepoSlashCommandsResponse) {} + rpc GetBackgroundComposerSlashCommands(GetBackgroundComposerSlashCommandsRequest) returns (GetBackgroundComposerSlashCommandsResponse) {} + rpc GetCloudAgentPluginsSnapshot(GetCloudAgentPluginsSnapshotRequest) returns (GetCloudAgentPluginsSnapshotResponse) {} + rpc GetBugbotTeamRules(GetBugbotTeamRulesRequest) returns (GetBugbotTeamRulesResponse) {} + rpc CreateBugbotTeamRule(CreateBugbotTeamRuleRequest) returns (CreateBugbotTeamRuleResponse) {} + rpc UpdateBugbotTeamRule(UpdateBugbotTeamRuleRequest) returns (UpdateBugbotTeamRuleResponse) {} + rpc DeleteBugbotTeamRule(DeleteBugbotTeamRuleRequest) returns (DeleteBugbotTeamRuleResponse) {} + rpc GetBugbotLearnedRules(GetBugbotLearnedRulesRequest) returns (GetBugbotLearnedRulesResponse) {} + rpc UpdateBugbotLearnedRule(UpdateBugbotLearnedRuleRequest) returns (UpdateBugbotLearnedRuleResponse) {} + rpc DeleteBugbotLearnedRule(DeleteBugbotLearnedRuleRequest) returns (DeleteBugbotLearnedRuleResponse) {} + rpc CreateBugbotManualRepositoryRule(CreateBugbotManualRepositoryRuleRequest) returns (CreateBugbotManualRepositoryRuleResponse) {} + rpc GetBugbotManualRepositoryRules(GetBugbotManualRepositoryRulesRequest) returns (GetBugbotManualRepositoryRulesResponse) {} + rpc UpdateBugbotManualRepositoryRule(UpdateBugbotManualRepositoryRuleRequest) returns (UpdateBugbotManualRepositoryRuleResponse) {} + rpc DeleteBugbotManualRepositoryRule(DeleteBugbotManualRepositoryRuleRequest) returns (DeleteBugbotManualRepositoryRuleResponse) {} + rpc RunDiamondToBugbotMigration(RunDiamondToBugbotMigrationRequest) returns (RunDiamondToBugbotMigrationResponse) {} + rpc GetBugbotRuleAnalytics(GetBugbotRuleAnalyticsRequest) returns (GetBugbotRuleAnalyticsResponse) {} + rpc GetBugbotRuleById(GetBugbotRuleByIdRequest) returns (GetBugbotRuleByIdResponse) {} + rpc CreateTeamRepo(CreateTeamRepoRequest) returns (CreateTeamRepoResponse) {} + rpc DeleteTeamRepo(DeleteTeamRepoRequest) returns (DeleteTeamRepoResponse) {} + rpc AddRepoPattern(AddRepoPatternRequest) returns (AddRepoPatternResponse) {} + rpc RemoveRepoPattern(RemoveRepoPatternRequest) returns (RemoveRepoPatternResponse) {} + rpc SetTeamRepoType(SetTeamRepoTypeRequest) returns (SetTeamRepoTypeResponse) {} + rpc GetTeamAdminSettings(GetTeamAdminSettingsRequest) returns (GetTeamAdminSettingsResponse) {} + rpc GetTeamAdminSettingsOrEmptyIfNotInTeam(GetTeamAdminSettingsRequest) returns (GetTeamAdminSettingsResponse) {} + rpc GetBaseTeamAdminSettings(GetBaseTeamAdminSettingsRequest) returns (GetTeamAdminSettingsResponse) {} + rpc UpdateTeamAdminSettings(UpdateTeamAdminSettingsRequest) returns (UpdateTeamAdminSettingsResponse) {} + rpc GetTeamCustomerTelemetryDestinations(GetTeamCustomerTelemetryDestinationsRequest) returns (GetTeamCustomerTelemetryDestinationsResponse) {} + rpc CreateTeamCustomerTelemetryDestination(CreateTeamCustomerTelemetryDestinationRequest) returns (CreateTeamCustomerTelemetryDestinationResponse) {} + rpc UpdateTeamCustomerTelemetryDestination(UpdateTeamCustomerTelemetryDestinationRequest) returns (UpdateTeamCustomerTelemetryDestinationResponse) {} + rpc DeleteTeamCustomerTelemetryDestination(DeleteTeamCustomerTelemetryDestinationRequest) returns (DeleteTeamCustomerTelemetryDestinationResponse) {} + rpc TestTeamCustomerTelemetryDestinationConnection(TestTeamCustomerTelemetryDestinationConnectionRequest) returns (TestTeamCustomerTelemetryDestinationConnectionResponse) {} + rpc GetTeamCustomerTelemetryDestinationHealth(GetTeamCustomerTelemetryDestinationHealthRequest) returns (GetTeamCustomerTelemetryDestinationHealthResponse) {} + rpc GetTeamLlmGatewayCredentialStatus(GetTeamLlmGatewayCredentialStatusRequest) returns (GetTeamLlmGatewayCredentialStatusResponse) {} + rpc SetTeamLlmGatewayCredential(SetTeamLlmGatewayCredentialRequest) returns (SetTeamLlmGatewayCredentialResponse) {} + rpc ReplaceTeamLlmGatewayCredential(ReplaceTeamLlmGatewayCredentialRequest) returns (ReplaceTeamLlmGatewayCredentialResponse) {} + rpc ClearTeamLlmGatewayCredential(ClearTeamLlmGatewayCredentialRequest) returns (ClearTeamLlmGatewayCredentialResponse) {} + rpc SetTeamNoZdrModelConsent(SetTeamNoZdrModelConsentRequest) returns (SetTeamNoZdrModelConsentResponse) {} + rpc SetOrganizationNoZdrModelConsent(SetOrganizationNoZdrModelConsentRequest) returns (SetOrganizationNoZdrModelConsentResponse) {} + rpc GetOrganizationOnDemandSpendDisabled(GetOrganizationOnDemandSpendDisabledRequest) returns (GetOrganizationOnDemandSpendDisabledResponse) {} + rpc SetOrganizationOnDemandSpendDisabled(SetOrganizationOnDemandSpendDisabledRequest) returns (SetOrganizationOnDemandSpendDisabledResponse) {} + rpc SetUserNoZdrModelConsent(SetUserNoZdrModelConsentRequest) returns (SetUserNoZdrModelConsentResponse) {} + rpc SetTeamMemberNoZdrModelConsent(SetTeamMemberNoZdrModelConsentRequest) returns (SetTeamMemberNoZdrModelConsentResponse) {} + rpc GetNoZdrModelConsentStatus(GetNoZdrModelConsentStatusRequest) returns (GetNoZdrModelConsentStatusResponse) {} + rpc UpdateTeamInviteLinkTTLSetting(UpdateTeamInviteLinkTTLSettingRequest) returns (UpdateTeamInviteLinkTTLSettingResponse) {} + rpc UpdateTeamMemberInviteSetting(UpdateTeamMemberInviteSettingRequest) returns (UpdateTeamMemberInviteSettingResponse) {} + rpc UpdateTeamSandOnboardingCompleted(UpdateTeamSandOnboardingCompletedRequest) returns (UpdateTeamSandOnboardingCompletedResponse) {} + rpc MarkTeamSandOnboardingSeen(MarkTeamSandOnboardingSeenRequest) returns (MarkTeamSandOnboardingSeenResponse) {} + rpc GetProtectedGitScopes(GetProtectedGitScopesRequest) returns (GetProtectedGitScopesResponse) {} + rpc CreateProtectedGitScope(CreateProtectedGitScopeRequest) returns (CreateProtectedGitScopeResponse) {} + rpc DeleteProtectedGitScope(DeleteProtectedGitScopeRequest) returns (DeleteProtectedGitScopeResponse) {} + rpc CreateTeamFreeTrialCode(CreateTeamFreeTrialCodeRequest) returns (CreateTeamFreeTrialCodeResponse) {} + rpc CreateTeamFreeTrialCodeInternal(CreateTeamFreeTrialCodeRequest) returns (CreateTeamFreeTrialCodeResponse) {} + rpc SetTrialSpendLimitOverrideInternal(SetTrialSpendLimitOverrideInternalRequest) returns (SetTrialSpendLimitOverrideInternalResponse) {} + rpc GetTrialSpendLimitInternal(GetTrialSpendLimitInternalRequest) returns (GetTrialSpendLimitInternalResponse) {} + rpc CreateTeamsTrialV2ReferralCode(CreateTeamsTrialV2ReferralCodeRequest) returns (CreateTeamsTrialV2ReferralCodeResponse) {} + rpc GetTeamAnalytics(GetTeamAnalyticsRequest) returns (GetTeamAnalyticsResponse) {} + rpc GetUserAnalytics(GetUserAnalyticsRequest) returns (GetUserAnalyticsResponse) {} + rpc GetTeamRawData(GetTeamRawDataRequest) returns (GetTeamRawDataResponse) {} + rpc GetClientUsageData(GetClientUsageDataRequest) returns (GetClientUsageDataResponse) {} + rpc GetCurrentPeriodUsage(GetCurrentPeriodUsageRequest) returns (GetCurrentPeriodUsageResponse) {} + rpc UseSandBankedReset(UseSandBankedResetRequest) returns (UseSandBankedResetResponse) {} + rpc ListSandBankedResets(ListSandBankedResetsRequest) returns (ListSandBankedResetsResponse) {} + rpc GetSandUsageStatus(GetSandUsageStatusRequest) returns (GetSandUsageStatusResponse) {} + rpc StartSandTrial(StartSandTrialRequest) returns (StartSandTrialResponse) {} + rpc IsEligibleForSandTrial(IsEligibleForSandTrialRequest) returns (IsEligibleForSandTrialResponse) {} + rpc GetSandTrialClaimStatus(GetSandTrialClaimStatusRequest) returns (GetSandTrialClaimStatusResponse) {} + rpc CancelSandTrial(CancelSandTrialRequest) returns (CancelSandTrialResponse) {} + rpc GetSandAccessStatus(GetSandAccessStatusRequest) returns (GetSandAccessStatusResponse) {} + rpc RequestSandTeamAccess(RequestSandTeamAccessRequest) returns (RequestSandTeamAccessResponse) {} + rpc ListPendingUserAccessRequests(ListPendingUserAccessRequestsRequest) returns (ListPendingUserAccessRequestsResponse) {} + rpc GetUsageSignalsProjectionSnapshot(GetProjectionSnapshotRequest) returns (GetProjectionSnapshotResponse) {} + rpc GetPlanInfo(GetPlanInfoRequest) returns (GetPlanInfoResponse) {} + rpc VerifyAppleTransaction(VerifyAppleTransactionRequest) returns (VerifyAppleTransactionResponse) {} + rpc GetCursorReviewEntitlement(GetCursorReviewEntitlementRequest) returns (GetCursorReviewEntitlementResponse) {} + rpc GetUsageLimitPolicyStatus(GetUsageLimitPolicyStatusRequest) returns (GetUsageLimitPolicyStatusResponse) {} + rpc GetUsageLimitStatusAndActiveGrants(GetUsageLimitStatusAndActiveGrantsRequest) returns (GetUsageLimitStatusAndActiveGrantsResponse) {} + rpc GetCreditGrantsBalance(GetCreditGrantsBalanceRequest) returns (GetCreditGrantsBalanceResponse) {} + rpc GetClientVisibleCreditGrants(GetClientVisibleCreditGrantsRequest) returns (GetClientVisibleCreditGrantsResponse) {} + rpc GetAdvancedAnalyticsEnabled(GetAdvancedAnalyticsEnabledRequest) returns (GetAdvancedAnalyticsEnabledResponse) {} + rpc GetTokenUsage(GetTokenUsageRequest) returns (GetTokenUsageResponse) {} + rpc ValidateBedrockIamRole(ValidateBedrockIamRoleRequest) returns (ValidateBedrockIamRoleResponse) {} + rpc GetTeamSpend(GetTeamSpendRequest) returns (GetTeamSpendResponse) {} + rpc GetTeamSeatUpgradeRecommendations(GetTeamSeatUpgradeRecommendationsRequest) returns (GetTeamSeatUpgradeRecommendationsResponse) {} + rpc GetPendingSeatTierUpgradeRequests(GetPendingSeatTierUpgradeRequestsRequest) returns (GetPendingSeatTierUpgradeRequestsResponse) {} + rpc GetCurrentBillingCycle(GetCurrentBillingCycleRequest) returns (GetCurrentBillingCycleResponse) {} + rpc GetMonthlyBillingCycle(GetMonthlyBillingCycleRequest) returns (GetMonthlyBillingCycleResponse) {} + rpc GetBugbotSettings(GetBugbotSettingsRequest) returns (GetBugbotSettingsResponse) {} + rpc GetBugbotAnalyticsV2(GetBugbotAnalyticsV2Request) returns (GetBugbotAnalyticsV2Response) {} + rpc GetBugBotPRAnalytics(GetBugBotPRAnalyticsRequest) returns (GetBugBotPRAnalyticsResponse) {} + rpc GetGithubInstallations(GetGithubInstallationsRequest) returns (GetGithubInstallationsResponse) {} + rpc GetBugbotSuggestedRepos(GetBugbotSuggestedReposRequest) returns (GetBugbotSuggestedReposResponse) {} + rpc GetScmConnectionStatus(GetScmConnectionStatusRequest) returns (GetScmConnectionStatusResponse) {} + rpc GetInstallationRepos(GetInstallationReposRequest) returns (GetInstallationReposResponse) {} + rpc FetchAllInstallationRepos(FetchAllInstallationReposRequest) returns (FetchAllInstallationReposResponse) {} + rpc GetInstallationGithubUsers(GetInstallationGithubUsersRequest) returns (GetInstallationGithubUsersResponse) {} + rpc GetUserAdminOrganizations(GetUserAdminOrganizationsRequest) returns (GetUserAdminOrganizationsResponse) {} + rpc GetTeamGithubUsers(GetTeamGithubUsersRequest) returns (GetTeamGithubUsersResponse) {} + rpc AddGithubUsersToTeam(AddGithubUsersToTeamRequest) returns (AddGithubUsersToTeamResponse) {} + rpc GetUserPullRequests(GetUserPullRequestsRequest) returns (GetUserPullRequestsResponse) {} + rpc GetUserReviewRequests(GetUserReviewRequestsRequest) returns (GetUserReviewRequestsResponse) {} + rpc GetPullRequestForBranch(GetPullRequestForBranchRequest) returns (GetPullRequestForBranchResponse) {} + rpc UpdateGithubRepoSettings(UpdateGithubRepoSettingsRequest) returns (UpdateGithubRepoSettingsResponse) {} + rpc UpdateGithubInstallationSettings(UpdateGithubInstallationSettingsRequest) returns (UpdateGithubInstallationSettingsResponse) {} + rpc UpdateAllGithubRepoSettings(UpdateAllGithubRepoSettingsRequest) returns (UpdateAllGithubRepoSettingsResponse) {} + rpc UpdateGithubInstallationTeamScope(UpdateGithubInstallationTeamScopeRequest) returns (UpdateGithubInstallationTeamScopeResponse) {} + rpc UpdateSelfGithubAllowlist(UpdateSelfGithubAllowlistRequest) returns (UpdateSelfGithubAllowlistResponse) {} + rpc GetTeamBugbotSettings(GetTeamBugbotSettingsRequest) returns (GetTeamBugbotSettingsResponse) {} + rpc UpdateTeamBugbotSettings(UpdateTeamBugbotSettingsRequest) returns (UpdateTeamBugbotSettingsResponse) {} + rpc MigrateTeamBugbotToUsageBasedBilling(MigrateTeamBugbotToUsageBasedBillingRequest) returns (MigrateTeamBugbotToUsageBasedBillingResponse) {} + rpc GetBugbotMergedPrScanSummary(GetBugbotMergedPrScanSummaryRequest) returns (GetBugbotMergedPrScanSummaryResponse) {} + rpc GetBugbotMode(GetBugbotModeRequest) returns (GetBugbotModeResponse) {} + rpc UpdateBugbotMode(UpdateBugbotModeRequest) returns (UpdateBugbotModeResponse) {} + rpc GetBugBotProUserMode(GetBugBotProUserModeRequest) returns (GetBugBotProUserModeResponse) {} + rpc UpdateBugBotProUserMode(UpdateBugBotProUserModeRequest) returns (UpdateBugBotProUserModeResponse) {} + rpc GetBugbotUserSettings(GetBugbotUserSettingsRequest) returns (GetBugbotUserSettingsResponse) {} + rpc UpdateBugbotUserSettings(UpdateBugbotUserSettingsRequest) returns (UpdateBugbotUserSettingsResponse) {} + rpc GetFullSelfDrivingUserSettings(GetFullSelfDrivingUserSettingsRequest) returns (GetFullSelfDrivingUserSettingsResponse) {} + rpc UpdateFullSelfDrivingUserSettings(UpdateFullSelfDrivingUserSettingsRequest) returns (UpdateFullSelfDrivingUserSettingsResponse) {} + rpc ListFullSelfDrivingRepoSettings(ListFullSelfDrivingRepoSettingsRequest) returns (ListFullSelfDrivingRepoSettingsResponse) {} + rpc SetFullSelfDrivingRepoEnabled(SetFullSelfDrivingRepoEnabledRequest) returns (SetFullSelfDrivingRepoEnabledResponse) {} + rpc GetFullSelfDrivingTeamSettings(GetFullSelfDrivingTeamSettingsRequest) returns (GetFullSelfDrivingTeamSettingsResponse) {} + rpc UpdateFullSelfDrivingTeamSettings(UpdateFullSelfDrivingTeamSettingsRequest) returns (UpdateFullSelfDrivingTeamSettingsResponse) {} + rpc ListFullSelfDrivingTeamRepoSettings(ListFullSelfDrivingTeamRepoSettingsRequest) returns (ListFullSelfDrivingTeamRepoSettingsResponse) {} + rpc SetFullSelfDrivingTeamRepoEnabled(SetFullSelfDrivingTeamRepoEnabledRequest) returns (SetFullSelfDrivingTeamRepoEnabledResponse) {} + rpc ListFullSelfDrivingActiveAgents(ListFullSelfDrivingActiveAgentsRequest) returns (ListFullSelfDrivingActiveAgentsResponse) {} + rpc ListFullSelfDrivingTeamActiveAgents(ListFullSelfDrivingTeamActiveAgentsRequest) returns (ListFullSelfDrivingTeamActiveAgentsResponse) {} + rpc UpdateFullSelfDrivingPrConfig(UpdateFullSelfDrivingPrConfigRequest) returns (UpdateFullSelfDrivingPrConfigResponse) {} + rpc GetBugBotProUserSettings(GetBugBotProUserSettingsRequest) returns (GetBugBotProUserSettingsResponse) {} + rpc UpdateBugBotProUserSettings(UpdateBugBotProUserSettingsRequest) returns (UpdateBugBotProUserSettingsResponse) {} + rpc MigrateBugBotProUserToUsageBasedBilling(MigrateBugBotProUserToUsageBasedBillingRequest) returns (MigrateBugBotProUserToUsageBasedBillingResponse) {} + rpc GetGlassEarlyPreviewEnrollment(GetGlassEarlyPreviewEnrollmentRequest) returns (GetGlassEarlyPreviewEnrollmentResponse) {} + rpc EnrollInGlassEarlyPreview(EnrollInGlassEarlyPreviewRequest) returns (EnrollInGlassEarlyPreviewResponse) {} + rpc UnenrollFromGlassEarlyPreview(UnenrollFromGlassEarlyPreviewRequest) returns (UnenrollFromGlassEarlyPreviewResponse) {} + rpc RecordBugbotDeeplinkEvent(RecordBugbotDeeplinkEventRequest) returns (RecordBugbotDeeplinkEventResponse) {} + rpc RecordBugbotDeeplinkEventUnauthenticated(RecordBugbotDeeplinkEventRequest) returns (RecordBugbotDeeplinkEventResponse) {} + rpc RevokeBugBotLicenses(RevokeBugBotLicensesRequest) returns (RevokeBugBotLicensesResponse) {} + rpc RevokeUserBugbotLicense(RevokeUserBugbotLicenseRequest) returns (RevokeUserBugbotLicenseResponse) {} + rpc StartBugbotBackfillLearning(StartBugbotBackfillLearningRequest) returns (StartBugbotBackfillLearningResponse) {} + rpc GetBugbotBackfillStatus(GetBugbotBackfillStatusRequest) returns (GetBugbotBackfillStatusResponse) {} + rpc SetSlackAuth(SetSlackAuthRequest) returns (SetSlackAuthResponse) {} + rpc GetSlackTeamSettings(GetSlackTeamSettingsRequest) returns (GetSlackTeamSettingsResponse) {} + rpc UpdateSlackTeamSettings(UpdateSlackTeamSettingsRequest) returns (UpdateSlackTeamSettingsResponse) {} + rpc GetSlackSettings(GetSlackSettingsRequest) returns (GetSlackSettingsResponse) {} + rpc GetSlackModelOptions(GetSlackModelOptionsRequest) returns (GetSlackModelOptionsResponse) {} + rpc GetSlackInstallUrl(GetSlackInstallUrlRequest) returns (GetSlackInstallUrlResponse) {} + rpc GetSlackInstallUrlPublic(GetPublicSlackInstallUrlRequest) returns (GetPublicSlackInstallUrlResponse) {} + rpc GetSlackInstallUrlPublicWithUserScopes(GetPublicSlackInstallUrlWithUserScopesRequest) returns (GetPublicSlackInstallUrlWithUserScopesResponse) {} + rpc GetFilteredUsageEvents(GetFilteredUsageEventsRequest) returns (GetFilteredUsageEventsResponse) {} + rpc GetAggregatedUsageEvents(GetAggregatedUsageEventsRequest) returns (GetAggregatedUsageEventsResponse) {} + rpc GetAuditLogs(GetAuditLogsRequest) returns (GetAuditLogsResponse) {} + rpc GetOrganizationAuditLogs(GetOrganizationAuditLogsRequest) returns (GetOrganizationAuditLogsResponse) {} + rpc GetUserPrivacyMode(GetUserPrivacyModeRequest) returns (GetUserPrivacyModeResponse) {} + rpc SetUserPrivacyMode(SetUserPrivacyModeRequest) returns (SetUserPrivacyModeResponse) {} + rpc WebAcknowledgeGracePeriodDisclaimer(WebAcknowledgeGracePeriodDisclaimerRequest) returns (WebAcknowledgeGracePeriodDisclaimerResponse) {} + rpc SkipPrivacyModeGracePeriod(SkipPrivacyModeGracePeriodRequest) returns (SkipPrivacyModeGracePeriodResponse) {} + rpc NeedsPrivacyModeMigration(NeedsPrivacyModeMigrationRequest) returns (NeedsPrivacyModeMigrationResponse) {} + rpc UpdateTeamPrivacyModeMigrationOptOut(UpdateTeamPrivacyModeMigrationOptOutRequest) returns (UpdateTeamPrivacyModeMigrationOptOutResponse) {} + rpc ShareConversation(ShareConversationRequest) returns (ShareConversationResponse) {} + rpc GetSharedConversation(GetSharedConversationRequest) returns (GetSharedConversationResponse) {} + rpc GetPublicSharedConversation(GetPublicSharedConversationRequest) returns (GetPublicSharedConversationResponse) {} + rpc ListSharedConversations(ListSharedConversationsRequest) returns (ListSharedConversationsResponse) {} + rpc DeleteSharedConversation(DeleteSharedConversationRequest) returns (DeleteSharedConversationResponse) {} + rpc UpdateSharedConversationVisibility(UpdateSharedConversationVisibilityRequest) returns (UpdateSharedConversationVisibilityResponse) {} + rpc ShareCanvas(ShareCanvasRequest) returns (ShareCanvasResponse) {} + rpc GetSharedCanvas(GetSharedCanvasRequest) returns (GetSharedCanvasResponse) {} + rpc GetPublicSharedCanvas(GetPublicSharedCanvasRequest) returns (GetPublicSharedCanvasResponse) {} + rpc ListSharedCanvases(ListSharedCanvasesRequest) returns (ListSharedCanvasesResponse) {} + rpc DeleteSharedCanvas(DeleteSharedCanvasRequest) returns (DeleteSharedCanvasResponse) {} + rpc LookupSharedCanvasByKey(LookupSharedCanvasByKeyRequest) returns (LookupSharedCanvasByKeyResponse) {} + rpc GetTeamSharedConversationSettings(GetTeamSharedConversationSettingsRequest) returns (GetTeamSharedConversationSettingsResponse) {} + rpc UpdateTeamSharedConversationSettings(UpdateTeamSharedConversationSettingsRequest) returns (UpdateTeamSharedConversationSettingsResponse) {} + rpc GetTeamSharedCanvasSettings(GetTeamSharedCanvasSettingsRequest) returns (GetTeamSharedCanvasSettingsResponse) {} + rpc UpdateTeamSharedCanvasSettings(UpdateTeamSharedCanvasSettingsRequest) returns (UpdateTeamSharedCanvasSettingsResponse) {} + rpc GetTeamPublicProfileSettings(GetTeamPublicProfileSettingsRequest) returns (GetTeamPublicProfileSettingsResponse) {} + rpc UpdateTeamPublicProfileSettings(UpdateTeamPublicProfileSettingsRequest) returns (UpdateTeamPublicProfileSettingsResponse) {} + rpc GetTeamSmartAutoSettings(GetTeamSmartAutoSettingsRequest) returns (GetTeamSmartAutoSettingsResponse) {} + rpc UpdateTeamSmartAutoSettings(UpdateTeamSmartAutoSettingsRequest) returns (UpdateTeamSmartAutoSettingsResponse) {} + rpc GetTeamPromptCachingSettings(GetTeamPromptCachingSettingsRequest) returns (GetTeamPromptCachingSettingsResponse) {} + rpc UpdateTeamPromptCachingSettings(UpdateTeamPromptCachingSettingsRequest) returns (UpdateTeamPromptCachingSettingsResponse) {} + rpc GetUserSmartAutoSettings(GetUserSmartAutoSettingsRequest) returns (GetUserSmartAutoSettingsResponse) {} + rpc UpdateUserSmartAutoSettings(UpdateUserSmartAutoSettingsRequest) returns (UpdateUserSmartAutoSettingsResponse) {} + rpc GetTeamBackgroundAgentSettings(GetTeamBackgroundAgentSettingsRequest) returns (GetTeamBackgroundAgentSettingsResponse) {} + rpc UpdateTeamBackgroundAgentSettings(UpdateTeamBackgroundAgentSettingsRequest) returns (UpdateTeamBackgroundAgentSettingsResponse) {} + rpc GetRepoSourcePreference(GetRepoSourcePreferenceRequest) returns (GetRepoSourcePreferenceResponse) {} + rpc UpdateUserRepoSourcePreference(UpdateUserRepoSourcePreferenceRequest) returns (UpdateUserRepoSourcePreferenceResponse) {} + rpc UpdateTeamRepoSourcePreference(UpdateTeamRepoSourcePreferenceRequest) returns (UpdateTeamRepoSourcePreferenceResponse) {} + rpc ResolvePrCreationForge(ResolvePrCreationForgeRequest) returns (ResolvePrCreationForgeResponse) {} + rpc RevokeTeamInviteLink(RevokeTeamInviteLinkRequest) returns (RevokeTeamInviteLinkResponse) {} + rpc ListTeamInviteLinks(ListTeamInviteLinksRequest) returns (ListTeamInviteLinksResponse) {} + rpc UpdateUserName(UpdateUserNameRequest) returns (UpdateUserNameResponse) {} + rpc UploadUserProfilePicture(UploadUserProfilePictureRequest) returns (UploadUserProfilePictureResponse) {} + rpc UpdateUserProfilePicture(UpdateUserProfilePictureRequest) returns (UpdateUserProfilePictureResponse) {} + rpc ListInvoices(ListInvoicesRequest) returns (ListInvoicesResponse) {} + rpc ListBlockingCheckoutInvoices(ListBlockingCheckoutInvoicesRequest) returns (ListBlockingCheckoutInvoicesResponse) {} + rpc ListPayableTeamInvoices(ListPayableTeamInvoicesRequest) returns (ListPayableTeamInvoicesResponse) {} + rpc GetRemainingRefunds(GetRemainingRefundsRequest) returns (GetRemainingRefundsResponse) {} + rpc GetServiceAccountSpendLimit(GetServiceAccountSpendLimitRequest) returns (GetServiceAccountSpendLimitResponse) {} + rpc SetServiceAccountSpendLimit(SetServiceAccountSpendLimitRequest) returns (SetServiceAccountSpendLimitResponse) {} + rpc SetUserHardLimit(SetUserHardLimitRequest) returns (SetUserHardLimitResponse) {} + rpc SetUserMonthlyLimit(SetUserMonthlyLimitRequest) returns (SetUserMonthlyLimitResponse) {} + rpc ToggleMarketingEmailOpt(ToggleMarketingEmailOptRequest) returns (ToggleMarketingEmailOptResponse) {} + rpc GetMarketingEmailOpt(GetMarketingEmailOptRequest) returns (GetMarketingEmailOptResponse) {} + rpc GetGlobalLeaderboardOptIn(GetGlobalLeaderboardOptInRequest) returns (GetGlobalLeaderboardOptInResponse) {} + rpc SetGlobalLeaderboardOptIn(SetGlobalLeaderboardOptInRequest) returns (SetGlobalLeaderboardOptInResponse) {} + rpc CreateTeamApiKey(CreateTeamApiKeyRequest) returns (CreateTeamApiKeyResponse) {} + rpc RevokeTeamApiKey(RevokeTeamApiKeyRequest) returns (RevokeTeamApiKeyResponse) {} + rpc ListTeamApiKeys(ListTeamApiKeysRequest) returns (ListTeamApiKeysResponse) {} + rpc CreateOrganizationApiKey(CreateOrganizationApiKeyRequest) returns (CreateOrganizationApiKeyResponse) {} + rpc RevokeOrganizationApiKey(RevokeOrganizationApiKeyRequest) returns (RevokeOrganizationApiKeyResponse) {} + rpc ListOrganizationApiKeys(ListOrganizationApiKeysRequest) returns (ListOrganizationApiKeysResponse) {} + rpc CreateAutomationWebhookApiKey(CreateAutomationWebhookApiKeyRequest) returns (CreateAutomationWebhookApiKeyResponse) {} + rpc CreateTeamServiceAccount(CreateTeamServiceAccountRequest) returns (CreateTeamServiceAccountResponse) {} + rpc ListTeamServiceAccounts(ListTeamServiceAccountsRequest) returns (ListTeamServiceAccountsResponse) {} + rpc DeleteTeamServiceAccount(DeleteTeamServiceAccountRequest) returns (DeleteTeamServiceAccountResponse) {} + rpc ArchiveTeamServiceAccount(ArchiveTeamServiceAccountRequest) returns (ArchiveTeamServiceAccountResponse) {} + rpc RotateServiceAccountApiKey(RotateServiceAccountApiKeyRequest) returns (RotateServiceAccountApiKeyResponse) {} + rpc GetTeamRepositoriesForServiceAccountScope(GetTeamRepositoriesForServiceAccountScopeRequest) returns (GetTeamRepositoriesForServiceAccountScopeResponse) {} + rpc UpdateServiceAccountRepoScope(UpdateServiceAccountRepoScopeRequest) returns (UpdateServiceAccountRepoScopeResponse) {} + rpc CreateUserApiKey(CreateUserApiKeyRequest) returns (CreateUserApiKeyResponse) {} + rpc RevokeUserApiKey(RevokeUserApiKeyRequest) returns (RevokeUserApiKeyResponse) {} + rpc ListUserApiKeys(ListUserApiKeysRequest) returns (ListUserApiKeysResponse) {} + rpc ConfirmGithubInstallation(ConfirmGithubInstallationRequest) returns (ConfirmGithubInstallationResponse) {} + rpc UpdateTeamName(UpdateTeamNameRequest) returns (UpdateTeamNameResponse) {} + rpc UpdateTeamDashboardAnalyticsSetting(UpdateTeamDashboardAnalyticsSettingRequest) returns (UpdateTeamDashboardAnalyticsSettingResponse) {} + rpc UpdateTeamOriginSetting(UpdateTeamOriginSettingRequest) returns (UpdateTeamOriginSettingResponse) {} + rpc UpdateTeamScimRequireUserDirectorySetting(UpdateTeamScimRequireUserDirectorySettingRequest) returns (UpdateTeamScimRequireUserDirectorySettingResponse) {} + rpc GetTeamScimRequireUserDirectoryPreview(GetTeamScimRequireUserDirectoryPreviewRequest) returns (GetTeamScimRequireUserDirectoryPreviewResponse) {} + rpc GetSlackUserSettings(GetSlackUserSettingsRequest) returns (GetSlackUserSettingsResponse) {} + rpc UpdateSlackUserSettings(UpdateSlackUserSettingsRequest) returns (UpdateSlackUserSettingsResponse) {} + rpc GetSlackRepoRoutingRules(GetSlackRepoRoutingRulesRequest) returns (GetSlackRepoRoutingRulesResponse) {} + rpc CreateSlackRepoRoutingRule(CreateSlackRepoRoutingRuleRequest) returns (CreateSlackRepoRoutingRuleResponse) {} + rpc UpdateSlackRepoRoutingRule(UpdateSlackRepoRoutingRuleRequest) returns (UpdateSlackRepoRoutingRuleResponse) {} + rpc DeleteSlackRepoRoutingRule(DeleteSlackRepoRoutingRuleRequest) returns (DeleteSlackRepoRoutingRuleResponse) {} + rpc GetSlackDefaultWorkerRules(GetSlackDefaultWorkerRulesRequest) returns (GetSlackDefaultWorkerRulesResponse) {} + rpc SetSlackDefaultWorkerRule(SetSlackDefaultWorkerRuleRequest) returns (SetSlackDefaultWorkerRuleResponse) {} + rpc DeleteSlackDefaultWorkerRule(DeleteSlackDefaultWorkerRuleRequest) returns (DeleteSlackDefaultWorkerRuleResponse) {} + rpc IsOnNewPricing(IsOnNewPricingRequest) returns (IsOnNewPricingResponse) {} + rpc GetLinearAuthUrl(GetLinearAuthUrlRequest) returns (GetLinearAuthUrlResponse) {} + rpc ConnectLinearCallback(ConnectLinearCallbackRequest) returns (ConnectLinearCallbackResponse) {} + rpc GetMicrosoftTeamsLinkContext(GetMicrosoftTeamsLinkContextRequest) returns (GetMicrosoftTeamsLinkContextResponse) {} + rpc SetMicrosoftTeamsAuth(SetMicrosoftTeamsAuthRequest) returns (SetMicrosoftTeamsAuthResponse) {} + rpc GetLinearStatus(GetLinearStatusRequest) returns (GetLinearStatusResponse) {} + rpc DisconnectLinear(DisconnectLinearRequest) returns (DisconnectLinearResponse) {} + rpc GetLinearTeams(GetLinearTeamsRequest) returns (GetLinearTeamsResponse) {} + rpc GetLinearSettings(GetLinearSettingsRequest) returns (GetLinearSettingsResponse) {} + rpc UpdateLinearTeamSetting(UpdateLinearTeamSettingRequest) returns (UpdateLinearTeamSettingResponse) {} + rpc UpdateLinearProjectSetting(UpdateLinearProjectSettingRequest) returns (UpdateLinearProjectSettingResponse) {} + rpc GetLinearLabels(GetLinearLabelsRequest) returns (GetLinearLabelsResponse) {} + rpc GetLinearIssues(GetLinearIssuesRequest) returns (GetLinearIssuesResponse) {} + rpc GetXaiTeamLinkStatus(GetXaiTeamLinkStatusRequest) returns (GetXaiTeamLinkStatusResponse) {} + rpc StartXaiTeamLink(StartXaiTeamLinkRequest) returns (StartXaiTeamLinkResponse) {} + rpc ConfirmXaiTeamLink(ConfirmXaiTeamLinkRequest) returns (ConfirmXaiTeamLinkResponse) {} + rpc CancelXaiTeamLinkProposal(CancelXaiTeamLinkProposalRequest) returns (CancelXaiTeamLinkProposalResponse) {} + rpc UnlinkXaiTeam(UnlinkXaiTeamRequest) returns (UnlinkXaiTeamResponse) {} + rpc TransferXaiCredits(TransferXaiCreditsRequest) returns (TransferXaiCreditsResponse) {} + rpc GetXaiCreditTransferStatus(GetXaiCreditTransferStatusRequest) returns (TransferXaiCreditsResponse) {} + rpc ListXaiCreditTransfers(ListXaiCreditTransfersRequest) returns (ListXaiCreditTransfersResponse) {} + rpc GetPagerDutyAuthUrl(GetPagerDutyAuthUrlRequest) returns (GetPagerDutyAuthUrlResponse) {} + rpc ConnectPagerDutyCallback(ConnectPagerDutyCallbackRequest) returns (ConnectPagerDutyCallbackResponse) {} + rpc GetPagerDutyStatus(GetPagerDutyStatusRequest) returns (GetPagerDutyStatusResponse) {} + rpc GetPagerDutyServices(GetPagerDutyServicesRequest) returns (GetPagerDutyServicesResponse) {} + rpc DisconnectPagerDuty(DisconnectPagerDutyRequest) returns (DisconnectPagerDutyResponse) {} + rpc GetJiraInstallUrl(GetJiraInstallUrlRequest) returns (GetJiraInstallUrlResponse) {} + rpc LinkJiraInstallation(LinkJiraInstallationRequest) returns (LinkJiraInstallationResponse) {} + rpc GetJiraStatus(GetJiraStatusRequest) returns (GetJiraStatusResponse) {} + rpc GetBitbucketForgeStatus(GetBitbucketForgeStatusRequest) returns (GetBitbucketForgeStatusResponse) {} + rpc DisconnectJira(DisconnectJiraRequest) returns (DisconnectJiraResponse) {} + rpc DisconnectBitbucketForge(DisconnectBitbucketForgeRequest) returns (DisconnectBitbucketForgeResponse) {} + rpc GetJiraProjects(GetJiraProjectsRequest) returns (GetJiraProjectsResponse) {} + rpc GetJiraTeamSettings(GetJiraTeamSettingsRequest) returns (GetJiraTeamSettingsResponse) {} + rpc UpdateJiraTeamSettings(UpdateJiraTeamSettingsRequest) returns (UpdateJiraTeamSettingsResponse) {} + rpc GetJiraRoutingRules(GetJiraRoutingRulesRequest) returns (GetJiraRoutingRulesResponse) {} + rpc CreateJiraRoutingRule(CreateJiraRoutingRuleRequest) returns (CreateJiraRoutingRuleResponse) {} + rpc UpdateJiraRoutingRule(UpdateJiraRoutingRuleRequest) returns (UpdateJiraRoutingRuleResponse) {} + rpc DeleteJiraRoutingRule(DeleteJiraRoutingRuleRequest) returns (DeleteJiraRoutingRuleResponse) {} + rpc LinkJiraUser(LinkJiraUserRequest) returns (LinkJiraUserResponse) {} + rpc ListJiraUserLinks(ListJiraUserLinksRequest) returns (ListJiraUserLinksResponse) {} + rpc UnlinkJiraUser(UnlinkJiraUserRequest) returns (UnlinkJiraUserResponse) {} + rpc DeleteBedrockIamRole(DeleteBedrockIamRoleRequest) returns (DeleteBedrockIamRoleResponse) {} + rpc UnlinkSlackAccess(UnlinkSlackAccessRequest) returns (UnlinkSlackAccessResponse) {} + rpc ListSlackConversations(ListSlackConversationsRequest) returns (ListSlackConversationsResponse) {} + rpc ListMicrosoftTeamsChannels(ListMicrosoftTeamsChannelsRequest) returns (ListMicrosoftTeamsChannelsResponse) {} + rpc GetSlackConversationsByIds(GetSlackConversationsByIdsRequest) returns (GetSlackConversationsByIdsResponse) {} + rpc LogSlackbotAuthConversionFunnel(LogSlackbotAuthConversionFunnelRequest) returns (LogSlackbotAuthConversionFunnelResponse) {} + rpc LogClickedConnectSlack(LogClickedConnectSlackRequest) returns (LogClickedConnectSlackResponse) {} + rpc CheckUserApiKeyAccess(CheckUserApiKeyAccessRequest) returns (CheckUserApiKeyAccessResponse) {} + rpc IsAllowedFreeTrialUsage(IsAllowedFreeTrialUsageRequest) returns (IsAllowedFreeTrialUsageResponse) {} + rpc IsNextSetupRunFree(IsNextSetupRunFreeRequest) returns (IsNextSetupRunFreeResponse) {} + rpc CompletedLinkSlackAccount(CompletedLinkSlackAccountRequest) returns (CompletedLinkSlackAccountResponse) {} + rpc NotifyBugbotTeamAdmins(NotifyTeamAdminsRequest) returns (NotifyTeamAdminsResponse) {} + rpc GetAdminNotificationStatus(GetAdminNotificationStatusRequest) returns (GetAdminNotificationStatusResponse) {} + rpc OptOutNewPricing(OptOutNewPricingRequest) returns (OptOutNewPricingResponse) {} + rpc SubmitFeedback(SubmitFeedbackRequest) returns (SubmitFeedbackResponse) {} + rpc SubmitFeedbackAnon(SubmitFeedbackRequest) returns (SubmitFeedbackResponse) {} + rpc GetActiveOffboardingBanner(GetActiveOffboardingBannerRequest) returns (GetActiveOffboardingBannerResponse) {} + rpc ClientAction(ClientActionRequest) returns (ClientActionResponse) {} + rpc ListUsageAlerts(ListUsageAlertsRequest) returns (ListUsageAlertsResponse) {} + rpc CreateUsageAlerts(CreateUsageAlertsRequest) returns (CreateUsageAlertsResponse) {} + rpc DeleteUsageAlerts(DeleteUsageAlertsRequest) returns (DeleteUsageAlertsResponse) {} + rpc UpdateUsageAlerts(UpdateUsageAlertsRequest) returns (UpdateUsageAlertsResponse) {} + rpc RequestIndividualLimitsOptOut(RequestIndividualLimitsOptOutRequest) returns (RequestIndividualLimitsOptOutResponse) {} + rpc ListMarketplacePlugins(ListMarketplacePluginsRequest) returns (ListMarketplacePluginsResponse) {} + rpc GetUserProfile(GetUserProfileRequest) returns (GetUserProfileResponse) {} + rpc UpdateUserProfile(UpdateUserProfileRequest) returns (UpdateUserProfileResponse) {} + rpc ClaimUserProfileHandle(ClaimUserProfileHandleRequest) returns (ClaimUserProfileHandleResponse) {} + rpc GetPublicProfileByHandle(GetPublicProfileByHandleRequest) returns (GetPublicProfileByHandleResponse) {} + rpc GetViewableProfileByHandle(GetViewableProfileByHandleRequest) returns (GetViewableProfileByHandleResponse) {} + rpc GetTeamMemberProfileByHandle(GetTeamMemberProfileByHandleRequest) returns (GetTeamMemberProfileByHandleResponse) {} + rpc GetPlugin(GetPluginRequest) returns (GetPluginResponse) {} + rpc CreatePlugin(CreatePluginRequest) returns (CreatePluginResponse) {} + rpc UpdatePluginMcpConfig(UpdatePluginMcpConfigRequest) returns (UpdatePluginMcpConfigResponse) {} + rpc PublishPlugin(PublishPluginRequest) returns (PublishPluginResponse) {} + rpc UnpublishPlugin(UnpublishPluginRequest) returns (UnpublishPluginResponse) {} + rpc ParseGitHubRepoForPlugins(ParseGitHubRepoForPluginRequest) returns (ParseGitHubRepoForPluginsResponse) {} + rpc ParsePluginPublisherRepoInternal(ParsePluginPublisherRepoInternalRequest) returns (ParsePluginPublisherRepoInternalResponse) {} + rpc PreviewReindexPluginRepoInternal(PreviewReindexPluginRepoInternalRequest) returns (PreviewReindexPluginRepoResponse) {} + rpc ApplyReindexPluginRepoInternal(ApplyReindexPluginRepoInternalRequest) returns (ApplyReindexPluginRepoResponse) {} + rpc PreviewMigrateReindexPluginRepoInternal(PreviewMigrateReindexPluginRepoInternalRequest) returns (PreviewMigrateReindexPluginRepoResponse) {} + rpc ApplyMigrateReindexPluginRepoInternal(ApplyMigrateReindexPluginRepoInternalRequest) returns (ApplyMigrateReindexPluginRepoResponse) {} + rpc UpdateTeamMarketplaceOriginDistributionInternal(UpdateTeamMarketplaceOriginDistributionInternalRequest) returns (UpdateTeamMarketplaceOriginDistributionInternalResponse) {} + rpc CreateSupportImpersonationSessionInternal(CreateSupportImpersonationSessionInternalRequest) returns (CreateSupportImpersonationSessionInternalResponse) {} + rpc SubmitPluginForApproval(SubmitPluginForApprovalRequest) returns (SubmitPluginForApprovalResponse) {} + rpc ApprovePlugin(ApprovePluginRequest) returns (ApprovePluginResponse) {} + rpc RejectPlugin(RejectPluginRequest) returns (RejectPluginResponse) {} + rpc ListUserPluginInstalls(ListUserPluginInstallsRequest) returns (ListUserPluginInstallsResponse) {} + rpc InstallUserPlugin(InstallUserPluginRequest) returns (InstallUserPluginResponse) {} + rpc UpdateUserPluginInstall(UpdateUserPluginInstallRequest) returns (UpdateUserPluginInstallResponse) {} + rpc UninstallUserPlugin(UninstallUserPluginRequest) returns (UninstallUserPluginResponse) {} + rpc ListTeamPluginInstalls(ListTeamPluginInstallsRequest) returns (ListTeamPluginInstallsResponse) {} + rpc GetTeamPluginPopularity(GetTeamPluginPopularityRequest) returns (GetTeamPluginPopularityResponse) {} + rpc GetTeamPluginPrimitiveUsage(GetTeamPluginPrimitiveUsageRequest) returns (GetTeamPluginPrimitiveUsageResponse) {} + rpc ListTeamAvailableMarketplacePlugins(ListTeamAvailableMarketplacePluginsRequest) returns (ListTeamAvailableMarketplacePluginsResponse) {} + rpc GetTeamPinnedMarketplacePlugins(GetTeamPinnedMarketplacePluginsRequest) returns (GetTeamPinnedMarketplacePluginsResponse) {} + rpc UpdateTeamPinnedMarketplacePlugins(UpdateTeamPinnedMarketplacePluginsRequest) returns (UpdateTeamPinnedMarketplacePluginsResponse) {} + rpc InstallTeamPlugin(InstallTeamPluginRequest) returns (InstallTeamPluginResponse) {} + rpc UpdateTeamPluginInstall(UpdateTeamPluginInstallRequest) returns (UpdateTeamPluginInstallResponse) {} + rpc UninstallTeamPlugin(UninstallTeamPluginRequest) returns (UninstallTeamPluginResponse) {} + rpc GetEffectiveUserPlugins(GetEffectiveUserPluginsRequest) returns (GetEffectiveUserPluginsResponse) {} + rpc ResolvePluginsByRef(ResolvePluginsByRefRequest) returns (ResolvePluginsByRefResponse) {} + rpc ListMarketplaces(ListMarketplacesRequest) returns (ListMarketplacesResponse) {} + rpc AddMarketplace(AddMarketplaceRequest) returns (AddMarketplaceResponse) {} + rpc GetOrCreateDefaultTeamMarketplace(GetOrCreateDefaultTeamMarketplaceRequest) returns (GetOrCreateDefaultTeamMarketplaceResponse) {} + rpc UpdateMarketplace(UpdateMarketplaceRequest) returns (UpdateMarketplaceResponse) {} + rpc RemoveMarketplace(RemoveMarketplaceRequest) returns (RemoveMarketplaceResponse) {} + rpc RefreshMarketplace(RefreshMarketplaceRequest) returns (RefreshMarketplaceResponse) {} + rpc ReindexAndApplyTeamMarketplaceChanges(ReindexAndApplyTeamMarketplaceChangesRequest) returns (ReindexAndApplyTeamMarketplaceChangesResponse) {} + rpc RegisterMarketplaceAndPlugins(RegisterMarketplaceAndPluginsRequest) returns (RegisterMarketplaceAndPluginsResponse) {} + rpc UpdateTeamMarketplaceConfig(UpdateTeamMarketplaceConfigRequest) returns (UpdateTeamMarketplaceConfigResponse) {} + rpc SetTeamMarketplaceRepository(SetTeamMarketplaceRepositoryRequest) returns (SetTeamMarketplaceRepositoryResponse) {} + rpc SetMarketplaceOriginDistribution(SetMarketplaceOriginDistributionRequest) returns (SetMarketplaceOriginDistributionResponse) {} + rpc GetMarketplaceOriginDistributionStatus(GetMarketplaceOriginDistributionStatusRequest) returns (GetMarketplaceOriginDistributionStatusResponse) {} + rpc SetTeamMarketplacePluginPolicies(SetTeamMarketplacePluginPoliciesRequest) returns (SetTeamMarketplacePluginPoliciesResponse) {} + rpc SetTeamMarketplacePluginPolicyVariables(SetTeamMarketplacePluginPolicyVariablesRequest) returns (SetTeamMarketplacePluginPolicyVariablesResponse) {} + rpc ApplyTeamMarketplaceRequiredPlugins(ApplyTeamMarketplaceRequiredPluginsRequest) returns (ApplyTeamMarketplaceRequiredPluginsResponse) {} + rpc LinkPluginsToTeamMarketplace(LinkPluginsToTeamMarketplaceRequest) returns (LinkPluginsToTeamMarketplaceResponse) {} + rpc UnlinkPluginsFromTeamMarketplace(UnlinkPluginsFromTeamMarketplaceRequest) returns (UnlinkPluginsFromTeamMarketplaceResponse) {} + rpc PreviewTeamMarketplaceMcpImpact(PreviewTeamMarketplaceMcpImpactRequest) returns (PreviewTeamMarketplaceMcpImpactResponse) {} + rpc GetManagedSkills(GetManagedSkillsRequest) returns (GetManagedSkillsResponse) {} + rpc GetCursorUserState(GetCursorUserStateRequest) returns (GetCursorUserStateResponse) {} + rpc SetJobData(SetJobDataRequest) returns (SetJobDataResponse) {} +} + +// Source: aiserver.v1.DebuggerService (var: nhv) +service DebuggerService { + rpc GitFilter(GitFilterRequest) returns (stream GitFilterResponse) {} + rpc FileFilter(FileFilterRequest) returns (stream FileFilterResponse) {} + rpc BugAnalysis(BugAnalysisRequest) returns (stream BugAnalysisResponse) {} +} + +// Source: aiserver.v1.DeeplinkService (var: uhv) +service DeeplinkService { + rpc CreateDeeplink(CreateDeeplinkRequest) returns (CreateDeeplinkResponse) {} + rpc GetDeeplinkData(GetDeeplinkDataRequest) returns (GetDeeplinkDataResponse) {} + rpc ListDeeplinks(ListDeeplinksRequest) returns (ListDeeplinksResponse) {} +} + +// Source: aiserver.v1.DistributorService (var: hbv) +service DistributorService { + rpc SchedulerStream(stream SchedulerStreamRequest) returns (stream SchedulerStreamResponse) {} +} + +// Source: aiserver.v1.EnterpriseAdminService (var: Ohv) +service EnterpriseAdminService { + rpc GetManualEnterpriseContract(GetManualEnterpriseContractRequest) returns (GetManualEnterpriseContractResponse) {} + rpc ListManualEnterpriseContracts(ListManualEnterpriseContractsRequest) returns (ListManualEnterpriseContractsResponse) {} + rpc ListManualEnterpriseContractArchive(ListManualEnterpriseContractArchiveRequest) returns (ListManualEnterpriseContractArchiveResponse) {} + rpc CreateManualEnterpriseContract(CreateManualEnterpriseContractRequest) returns (CreateManualEnterpriseContractResponse) {} + rpc CreateContractExpansion(CreateContractExpansionRequest) returns (CreateContractExpansionResponse) {} + rpc UpsertManualEnterpriseContract(UpsertManualEnterpriseContractRequest) returns (UpsertManualEnterpriseContractResponse) {} + rpc DeleteManualEnterpriseContract(DeleteManualEnterpriseContractRequest) returns (DeleteManualEnterpriseContractResponse) {} + rpc ListEnterpriseContracts(ListEnterpriseContractsRequest) returns (ListEnterpriseContractsResponse) {} + rpc EnableTokenBasedPricing(EnableTokenBasedPricingRequest) returns (EnableTokenBasedPricingResponse) {} + rpc GetEnterpriseStatus(GetEnterpriseStatusRequest) returns (GetEnterpriseStatusResponse) {} + rpc StartTokenBasedTrial(StartTokenBasedTrialRequest) returns (StartTokenBasedTrialResponse) {} + rpc GetTeamUsageForDateRange(GetTeamUsageForDateRangeRequest) returns (GetTeamUsageForDateRangeResponse) {} +} + +// Source: aiserver.v1.EvalTrackingService (var: fmv) +service EvalTrackingService { + rpc CreateEval(CreateEvalRequest) returns (CreateEvalResponse) {} + rpc GetEvalByName(GetEvalByNameRequest) returns (GetEvalByNameResponse) {} + rpc GetRun(GetRunRequest) returns (GetRunResponse) {} + rpc CreateRun(CreateRunRequest) returns (CreateRunResponse) {} + rpc UpdateRunStatus(UpdateRunStatusRequest) returns (UpdateRunStatusResponse) {} + rpc SetRunSummary(SetRunSummaryRequest) returns (SetRunSummaryResponse) {} + rpc LogRunMetrics(LogRunMetricsRequest) returns (LogRunMetricsResponse) {} + rpc SetRunParams(SetRunParamsRequest) returns (SetRunParamsResponse) {} + rpc SetRunTags(SetRunTagsRequest) returns (SetRunTagsResponse) {} + rpc UpsertRunRolloutStatus(UpsertRunRolloutStatusRequest) returns (UpsertRunRolloutStatusResponse) {} + rpc TouchRolloutThrottle(TouchRolloutThrottleRequest) returns (TouchRolloutThrottleResponse) {} + rpc GetLastRolloutRequestId(GetLastRolloutRequestIdRequest) returns (GetLastRolloutRequestIdResponse) {} + rpc Heartbeat(HeartbeatRequest) returns (HeartbeatResponse) {} + rpc RequestKill(RequestKillRequest) returns (RequestKillResponse) {} + rpc SetRayJobName(SetRayJobNameRequest) returns (SetRayJobNameResponse) {} + rpc GetRunKillStatus(GetRunKillStatusRequest) returns (GetRunKillStatusResponse) {} + rpc CreateEvalCronJob(CreateEvalCronJobRequest) returns (CreateEvalCronJobResponse) {} + rpc GetEvalCronJobByName(GetEvalCronJobByNameRequest) returns (GetEvalCronJobByNameResponse) {} + rpc ListEvalCronJobs(ListEvalCronJobsRequest) returns (ListEvalCronJobsResponse) {} + rpc DeleteEvalCronJobByName(DeleteEvalCronJobByNameRequest) returns (DeleteEvalCronJobByNameResponse) {} + rpc CreateRlEvalJob(CreateRlEvalJobRequest) returns (CreateRlEvalJobResponse) {} + rpc GetRlEvalJob(GetRlEvalJobRequest) returns (GetRlEvalJobResponse) {} + rpc ListRlEvalJobs(ListRlEvalJobsRequest) returns (ListRlEvalJobsResponse) {} + rpc UpdateRlEvalJob(UpdateRlEvalJobRequest) returns (UpdateRlEvalJobResponse) {} + rpc UpsertRlEvalJobStep(UpsertRlEvalJobStepRequest) returns (UpsertRlEvalJobStepResponse) {} + rpc SetEvalRunRlEvalJobStep(SetEvalRunRlEvalJobStepRequest) returns (SetEvalRunRlEvalJobStepResponse) {} + rpc UpdateRlEvalStepDatasetEval(UpdateRlEvalStepDatasetEvalRequest) returns (UpdateRlEvalStepDatasetEvalResponse) {} + rpc RequestRlEvalStepKill(RequestRlEvalStepKillRequest) returns (RequestRlEvalStepKillResponse) {} + rpc GetRlEvalStepKillSignals(GetRlEvalStepKillSignalsRequest) returns (GetRlEvalStepKillSignalsResponse) {} + rpc UpdateDataOpsJob(UpdateDataOpsJobRequest) returns (UpdateDataOpsJobResponse) {} + rpc GetDataOpsJob(GetDataOpsJobRequest) returns (GetDataOpsJobResponse) {} + rpc ListDataOpsJobs(ListDataOpsJobsRequest) returns (ListDataOpsJobsResponse) {} + rpc UpsertDataOpsJobStep(UpsertDataOpsJobStepRequest) returns (UpsertDataOpsJobStepResponse) {} + rpc CreateDatagenRLPipelineRun(CreateDatagenRLPipelineRunRequest) returns (CreateDatagenRLPipelineRunResponse) {} + rpc UpdateDatagenRLPipelineRun(UpdateDatagenRLPipelineRunRequest) returns (UpdateDatagenRLPipelineRunResponse) {} + rpc DatagenRLPipelineRunHeartbeat(DatagenRLPipelineRunHeartbeatRequest) returns (DatagenRLPipelineRunHeartbeatResponse) {} + rpc UpsertDatagenRLPipelineRunStage(UpsertDatagenRLPipelineRunStageRequest) returns (UpsertDatagenRLPipelineRunStageResponse) {} + rpc ClaimDatagenRLPipelineRun(ClaimDatagenRLPipelineRunRequest) returns (ClaimDatagenRLPipelineRunResponse) {} +} + +// Source: aiserver.v1.FastApplyService (var: Tlv) +service FastApplyService { + rpc ReportEditFate(ReportEditFateRequest) returns (ReportEditFateResponse) {} + rpc WarmApply(WarmApplyRequest) returns (WarmApplyResponse) {} +} + +// Source: aiserver.v1.FileSyncService (var: xlv) +service FileSyncService { + rpc FSUploadFile(FSUploadFileRequest) returns (FSUploadFileResponse) {} + rpc FSSyncFile(FSSyncFileRequest) returns (FSSyncFileResponse) {} + rpc FSIsEnabledForUser(FSIsEnabledForUserRequest) returns (FSIsEnabledForUserResponse) {} + rpc FSConfig(FSConfigRequest) returns (FSConfigResponse) {} + rpc FSGetFileContents(FSGetFileContentsRequest) returns (FSGetFileContentsResponse) {} + rpc FSGetMultiFileContents(FSGetMultiFileContentsRequest) returns (FSGetMultiFileContentsResponse) {} + rpc FSInternalSyncFile(FSSyncFileRequest) returns (FSSyncFileResponse) {} + rpc FSInternalUploadFile(FSUploadFileRequest) returns (FSUploadFileResponse) {} + rpc FSInternalHealthCheck(FSInternalHealthCheckRequest) returns (FSInternalHealthCheckResponse) {} +} + +// Source: aiserver.v1.FullSelfDrivingService (var: hqd) +service FullSelfDrivingService { + rpc SetFullSelfDrivingConfig(SetFullSelfDrivingConfigRequest) returns (SetFullSelfDrivingConfigResponse) {} + rpc GetFullSelfDrivingConfig(GetFullSelfDrivingConfigRequest) returns (GetFullSelfDrivingConfigResponse) {} + rpc ListFullSelfDrivingRuns(ListFullSelfDrivingRunsRequest) returns (ListFullSelfDrivingRunsResponse) {} + rpc GetFullSelfDrivingRunSuggestion(GetFullSelfDrivingRunSuggestionRequest) returns (GetFullSelfDrivingRunSuggestionResponse) {} + rpc ApplyFullSelfDrivingSuggestion(ApplyFullSelfDrivingSuggestionRequest) returns (ApplyFullSelfDrivingSuggestionResponse) {} + rpc ListFullSelfDrivingFindings(ListFullSelfDrivingFindingsRequest) returns (ListFullSelfDrivingFindingsResponse) {} + rpc RecordFullSelfDrivingOutputs(RecordFullSelfDrivingOutputsRequest) returns (RecordFullSelfDrivingOutputsResponse) {} + rpc UpdateFullSelfDrivingOutput(UpdateFullSelfDrivingOutputRequest) returns (UpdateFullSelfDrivingOutputResponse) {} + rpc SupersedeFullSelfDrivingOutput(SupersedeFullSelfDrivingOutputRequest) returns (SupersedeFullSelfDrivingOutputResponse) {} + rpc DismissFullSelfDrivingOutput(DismissFullSelfDrivingOutputRequest) returns (DismissFullSelfDrivingOutputResponse) {} + rpc UndoFullSelfDrivingOutput(UndoFullSelfDrivingOutputRequest) returns (UndoFullSelfDrivingOutputResponse) {} + rpc UpdateFullSelfDrivingFindingStatus(UpdateFullSelfDrivingFindingStatusRequest) returns (UpdateFullSelfDrivingFindingStatusResponse) {} + rpc RunFullSelfDrivingWorkflowSuggestion(RunFullSelfDrivingWorkflowSuggestionRequest) returns (RunFullSelfDrivingWorkflowSuggestionResponse) {} + rpc BuildFullSelfDrivingTriageContext(BuildFullSelfDrivingTriageContextRequest) returns (BuildFullSelfDrivingTriageContextResponse) {} + rpc PrepareLocalFullSelfDrivingRun(PrepareLocalFullSelfDrivingRunRequest) returns (PrepareLocalFullSelfDrivingRunResponse) {} + rpc RunFullSelfDrivingCloudCommand(RunFullSelfDrivingCloudCommandRequest) returns (RunFullSelfDrivingCloudCommandResponse) {} + rpc EnrollExternalFullSelfDrivingRun(EnrollExternalFullSelfDrivingRunRequest) returns (EnrollExternalFullSelfDrivingRunResponse) {} + rpc ListFullSelfDrivingPrScopedSuggestions(ListFullSelfDrivingPrScopedSuggestionsRequest) returns (ListFullSelfDrivingPrScopedSuggestionsResponse) {} + rpc RecordFullSelfDrivingPrScopedSuggestion(RecordFullSelfDrivingPrScopedSuggestionRequest) returns (RecordFullSelfDrivingPrScopedSuggestionResponse) {} + rpc UpdateFullSelfDrivingPrScopedSuggestionStatus(UpdateFullSelfDrivingPrScopedSuggestionStatusRequest) returns (UpdateFullSelfDrivingPrScopedSuggestionStatusResponse) {} + rpc ApplyFullSelfDrivingPrScopedSuggestion(ApplyFullSelfDrivingPrScopedSuggestionRequest) returns (ApplyFullSelfDrivingPrScopedSuggestionResponse) {} + rpc RecordFullSelfDrivingAutoApplyConfig(RecordFullSelfDrivingAutoApplyConfigRequest) returns (RecordFullSelfDrivingAutoApplyConfigResponse) {} + rpc DeleteFullSelfDrivingAutoApplyConfig(DeleteFullSelfDrivingAutoApplyConfigRequest) returns (DeleteFullSelfDrivingAutoApplyConfigResponse) {} + rpc ListFullSelfDrivingAutoApplyConfigs(ListFullSelfDrivingAutoApplyConfigsRequest) returns (ListFullSelfDrivingAutoApplyConfigsResponse) {} +} + +// Source: aiserver.v1.GitGraphService (var: Vmv) +service GitGraphService { + rpc InitGitGraph(InitGitGraphRequest) returns (InitGitGraphResponse) {} + rpc InitGitGraphChallenge(InitGitGraphChallengeRequest) returns (InitGitGraphChallengeResponse) {} + rpc BatchedUploadCommitsIntoGitGraph(BatchedUploadCommitsIntoGitGraphRequest) returns (BatchedUploadCommitsIntoGitGraphResponse) {} + rpc GetPendingCommits(GetPendingCommitsRequest) returns (GetPendingCommitsResponse) {} + rpc MarkPendingCommits(MarkPendingCommitsRequest) returns (MarkPendingCommitsResponse) {} + rpc GetGitGraphRelatedFiles(GetGitGraphRelatedFilesRequest) returns (GetGitGraphRelatedFilesResponse) {} + rpc GetGitGraphStatus(GetGitGraphStatusRequest) returns (GetGitGraphStatusResponse) {} + rpc DeleteGitGraph(DeleteGitGraphRequest) returns (DeleteGitGraphResponse) {} + rpc IsGitGraphEnabled(IsGitGraphEnabledRequest) returns (IsGitGraphEnabledResponse) {} +} + +// Source: aiserver.v1.GitIndexService (var: WZu) +service GitIndexService { + rpc RepoHistoryInitHandshake(RepoHistoryInitHandshakeRequest) returns (RepoHistoryInitHandshakeResponse) {} + rpc RepoHistorySyncOne(RepoHistorySyncOneRequest) returns (RepoHistorySyncOneResponse) {} + rpc RepoHistorySyncComplete(RepoHistorySyncCompleteRequest) returns (RepoHistorySyncCompleteResponse) {} + rpc RemoveRepoHistory(RemoveRepoHistoryRequest) returns (RemoveRepoHistoryResponse) {} + rpc SearchPRHistory(SearchPRHistoryRequest) returns (SearchPRHistoryResponse) {} + rpc GetPRIndexingStatus(GetPRIndexingStatusRequest) returns (GetPRIndexingStatusResponse) {} +} + +// Source: aiserver.v1.GrokBotService (var: fgv) +service GrokBotService { + rpc EnsureSandBox(EnsureSandBoxRequest) returns (EnsureSandBoxResponse) {} + rpc EnsureSandBoxWindow(EnsureSandBoxWindowRequest) returns (EnsureSandBoxResponse) {} + rpc RecreateSandBox(RecreateSandBoxRequest) returns (RecreateSandBoxResponse) {} + rpc ForceRecreateSandBox(ForceRecreateSandBoxRequest) returns (RecreateSandBoxResponse) {} + rpc AdminRecreateSandBox(AdminRecreateSandBoxRequest) returns (RecreateSandBoxResponse) {} + rpc AdminForceRecreateSandBox(AdminForceRecreateSandBoxRequest) returns (RecreateSandBoxResponse) {} + rpc PresignSandBoxStoreWrites(PresignSandBoxStoreWritesRequest) returns (PresignSandBoxStoreWritesResponse) {} + rpc CompleteSandBoxStoreMultipartWrites(CompleteSandBoxStoreMultipartWritesRequest) returns (CompleteSandBoxStoreMultipartWritesResponse) {} + rpc AbortSandBoxStoreMultipartWrites(AbortSandBoxStoreMultipartWritesRequest) returns (AbortSandBoxStoreMultipartWritesResponse) {} + rpc PresignSandBoxStoreReads(PresignSandBoxStoreReadsRequest) returns (PresignSandBoxStoreReadsResponse) {} + rpc StatSandBoxStoreObject(StatSandBoxStoreObjectRequest) returns (StatSandBoxStoreObjectResponse) {} + rpc ListSandBoxStoreObjects(ListSandBoxStoreObjectsRequest) returns (ListSandBoxStoreObjectsResponse) {} + rpc AdminGetSandBoxStoreStatus(AdminSandBoxStoreStatusRequest) returns (AdminSandBoxStoreStatusResponse) {} + rpc AdminUpdateSandBoxHost(AdminUpdateSandBoxHostRequest) returns (AdminUpdateSandBoxHostResponse) {} + rpc AdminGetSandBoxHostStatus(AdminSandBoxHostStatusRequest) returns (AdminSandBoxHostStatusResponse) {} + rpc AdminSnapshotSandBoxStore(AdminSnapshotSandBoxStoreRequest) returns (AdminSnapshotSandBoxStoreResponse) {} + rpc AdminListSandBoxStoreManifestVersions(AdminListSandBoxStoreManifestVersionsRequest) returns (AdminListSandBoxStoreManifestVersionsResponse) {} + rpc AdminRestoreSandBoxStoreSnapshot(AdminRestoreSandBoxStoreSnapshotRequest) returns (AdminRestoreSandBoxStoreSnapshotResponse) {} + rpc AdminHibernateSandBox(AdminHibernateSandBoxRequest) returns (AdminHibernateSandBoxResponse) {} + rpc AdminListSandAgents(AdminListSandAgentsRequest) returns (AdminListSandAgentsResponse) {} + rpc AdminGetSandAgentTranscriptPage(AdminGetSandAgentTranscriptPageRequest) returns (AdminGetSandAgentTranscriptPageResponse) {} + rpc WatchSandBoxMigration(WatchSandBoxMigrationRequest) returns (stream SandBoxMigrationEvent) {} + rpc AdminWatchSandBoxMigration(AdminWatchSandBoxMigrationRequest) returns (stream SandBoxMigrationEvent) {} + rpc GetSandBoxRunState(GetSandBoxRunStateRequest) returns (GetSandBoxRunStateResponse) {} + rpc GetSandBoxUpgradeSchedule(GetSandBoxUpgradeScheduleRequest) returns (GetSandBoxUpgradeScheduleResponse) {} + rpc ScheduleSandBoxUpgrade(ScheduleSandBoxUpgradeRequest) returns (ScheduleSandBoxUpgradeResponse) {} + rpc CancelSandBoxUpgrade(CancelSandBoxUpgradeRequest) returns (CancelSandBoxUpgradeResponse) {} + rpc RescheduleSandBoxUpgrade(RescheduleSandBoxUpgradeRequest) returns (RescheduleSandBoxUpgradeResponse) {} + rpc ListSandBoxes(ListSandBoxesRequest) returns (ListSandBoxesResponse) {} + rpc NotifySandAgentTurnFinished(NotifySandAgentTurnFinishedRequest) returns (NotifySandAgentTurnFinishedResponse) {} + rpc ListSandSetupManifests(ListSandSetupManifestsRequest) returns (ListSandSetupManifestsResponse) {} + rpc ListTeamSandSetupManifests(ListTeamSandSetupManifestsRequest) returns (ListTeamSandSetupManifestsResponse) {} + rpc SaveTeamSandSetupManifest(SaveTeamSandSetupManifestRequest) returns (SaveTeamSandSetupManifestResponse) {} + rpc DeleteTeamSandSetupManifest(DeleteTeamSandSetupManifestRequest) returns (DeleteTeamSandSetupManifestResponse) {} + rpc ListTeamMemberSandBoxes(ListTeamMemberSandBoxesRequest) returns (ListTeamMemberSandBoxesResponse) {} + rpc KillTeamMemberSandBox(KillTeamMemberSandBoxRequest) returns (KillTeamMemberSandBoxResponse) {} +} + +// Source: aiserver.v1.HallucinatedFunctionsService (var: Bgv) +service HallucinatedFunctionsService { + rpc V0ChainRun(V0ChainRunRequest) returns (stream V0ChainRunResponse) {} + rpc Opus2ChainPlan(Opus2ChainPlanRequest) returns (stream Opus2ChainPlanResponse) {} + rpc Opus2ChainApplyPlan(Opus2ChainApplyPlanRequest) returns (stream Opus2ChainApplyPlanResponse) {} + rpc Opus2ChainReflect(Opus2ChainReflectRequest) returns (stream Opus2ChainReflectResponse) {} + rpc SortUsefulTypesNaive(SortUsefulTypesNaiveRequest) returns (SortUsefulTypesNaiveResponse) {} +} + +// Source: aiserver.v1.HealthService (var: qKd) +service HealthService { + rpc Ping(HealthRequest) returns (HealthResponse) {} + rpc Unary(HealthEmptyRequest) returns (HealthResponse) {} + rpc Stream(HealthRequest) returns (stream HealthResponse) {} + rpc StreamSSE(HealthRequest) returns (stream HealthResponse) {} + rpc StreamBidi(stream HealthRequest) returns (stream HealthResponse) {} + rpc StreamBidiSSE(BidiRequestId) returns (stream HealthResponse) {} + rpc StreamBidiPoll(BidiPollRequest) returns (stream BidiPollResponse) {} +} + +// Source: aiserver.v1.InAppAdService (var: dpo) +service InAppAdService { + rpc HasSeenAd(HasSeenAdRequest) returns (HasSeenAdResponse) {} + rpc MarkAdAsSeen(MarkAdAsSeenRequest) returns (MarkAdAsSeenResponse) {} + rpc ResetUserAdViews(ResetUserAdViewsRequest) returns (ResetUserAdViewsResponse) {} + rpc GetAllAdPreviews(GetAllAdPreviewsRequest) returns (GetAllAdPreviewsResponse) {} +} + +// Source: aiserver.v1.InferenceService (var: Afv) +service InferenceService { + rpc Stream(InferenceStreamRequest) returns (stream InferenceStreamResponse) {} + rpc RecordAgentFollowupClassification(AgentFollowupCategorizationRequest) returns (google.protobuf.Empty) {} + rpc RecordAgentPostTurnLabeling(AgentPostTurnLabelingRequest) returns (google.protobuf.Empty) {} +} + +// Source: aiserver.v1.LinterService (var: Alv) +service LinterService { + rpc LintFile(LintFileRequest) returns (LintFileResponse) {} + rpc LintChunk(LintChunkRequest) returns (LintChunkResponse) {} + rpc LintFimChunk(LintFimChunkRequest) returns (LintFimChunkResponse) {} + rpc LintExplanation(LintExplanationRequest) returns (stream LintExplanationResponse) {} + rpc LintExplanation2(LintExplanationRequest) returns (LintExplanationResponse2) {} +} + +// Source: aiserver.v1.MCPRegistryService (var: F$s) +service MCPRegistryService { + rpc GetKnownServers(GetKnownServersRequest) returns (GetKnownServersResponse) {} +} + +// Source: aiserver.v1.MarketplaceService (var: Dfv) +service MarketplaceService { + rpc CreateMarketplaceExtensionPublisher(CreateMarketplaceExtensionPublisherRequest) returns (CreateMarketplaceExtensionPublisherResponse) {} +} + +// Source: aiserver.v1.MetricsService (var: Rsv) +service MetricsService { + rpc ReportIncrement(ReportMetricsRequest) returns (ReportMetricsResponse) {} + rpc ReportDecrement(ReportMetricsRequest) returns (ReportMetricsResponse) {} + rpc ReportDistribution(ReportMetricsRequest) returns (ReportMetricsResponse) {} + rpc ReportGauge(ReportMetricsRequest) returns (ReportMetricsResponse) {} +} + +// Source: aiserver.v1.NetworkService (var: Ofv) +service NetworkService { + rpc GetPublicIp(GetPublicIpRequest) returns (GetPublicIpResponse) {} + rpc IsConnected(IsConnectedRequest) returns (IsConnectedResponse) {} +} + +// Source: aiserver.v1.OnboardingChecklistService (var: Vfv) +service OnboardingChecklistService { + rpc ListOnboardingChecklistItems(ListOnboardingChecklistItemsRequest) returns (ListOnboardingChecklistItemsResponse) {} + rpc CompleteOnboardingChecklistItem(CompleteOnboardingChecklistItemRequest) returns (CompleteOnboardingChecklistItemResponse) {} + rpc DismissOnboardingChecklistItem(DismissOnboardingChecklistItemRequest) returns (DismissOnboardingChecklistItemResponse) {} +} + +// Source: aiserver.v1.OnlineMetricsService (var: Gfv) +service OnlineMetricsService { + rpc ReportAgentSnapshot(ReportAgentSnapshotRequest) returns (ReportAgentSnapshotResponse) {} +} + +// Source: aiserver.v1.PerformanceEventService (var: _Gd) +service PerformanceEventService { + rpc SubmitPerformanceEvents(SubmitPerformanceEventsRequest) returns (SubmitPerformanceEventsResponse) {} +} + +// Source: aiserver.v1.ProfilingService (var: yGd) +service ProfilingService { + rpc SubmitProfile(SubmitProfileRequest) returns (SubmitProfileResponse) {} +} + +// Source: aiserver.v1.RecommendedActionsService (var: nvv) +service RecommendedActionsService { + rpc ListRecommendedActions(ListRecommendedActionsRequest) returns (ListRecommendedActionsResponse) {} + rpc DismissRecommendedAction(DismissRecommendedActionRequest) returns (DismissRecommendedActionResponse) {} + rpc CompleteRecommendedAction(CompleteRecommendedActionRequest) returns (CompleteRecommendedActionResponse) {} +} + +// Source: aiserver.v1.RelayService (var: zvv) +service RelayService { + rpc ListPipelineDefinitions(ListRelayPipelineDefinitionsRequest) returns (ListRelayPipelineDefinitionsResponse) {} + rpc GetPipelineDefinition(GetRelayPipelineDefinitionRequest) returns (GetRelayPipelineDefinitionResponse) {} + rpc EnsurePipelineDefinition(EnsureRelayPipelineDefinitionRequest) returns (EnsureRelayPipelineDefinitionResponse) {} + rpc CreatePipelineRun(CreateRelayPipelineRunRequest) returns (CreateRelayPipelineRunResponse) {} + rpc GetPipelineRun(GetRelayPipelineRunRequest) returns (GetRelayPipelineRunResponse) {} + rpc ListPipelineRuns(ListRelayPipelineRunsRequest) returns (ListRelayPipelineRunsResponse) {} + rpc RequestPipelineRunCancel(RequestRelayPipelineRunCancelRequest) returns (RequestRelayPipelineRunCancelResponse) {} + rpc CreateSchedule(CreateRelayScheduleRequest) returns (CreateRelayScheduleResponse) {} + rpc GetSchedule(GetRelayScheduleRequest) returns (GetRelayScheduleResponse) {} + rpc ListSchedules(ListRelaySchedulesRequest) returns (ListRelaySchedulesResponse) {} + rpc UpdateSchedule(UpdateRelayScheduleRequest) returns (UpdateRelayScheduleResponse) {} + rpc DeleteSchedule(DeleteRelayScheduleRequest) returns (DeleteRelayScheduleResponse) {} + rpc CreateBackfill(CreateRelayBackfillRequest) returns (CreateRelayBackfillResponse) {} + rpc GetBackfill(GetRelayBackfillRequest) returns (GetRelayBackfillResponse) {} + rpc ListBackfills(ListRelayBackfillsRequest) returns (ListRelayBackfillsResponse) {} + rpc RequestBackfillCancel(RequestRelayBackfillCancelRequest) returns (RequestRelayBackfillCancelResponse) {} + rpc RetryBackfill(RetryRelayBackfillRequest) returns (RetryRelayBackfillResponse) {} + rpc RetryPipelineRun(RetryRelayPipelineRunRequest) returns (RetryRelayPipelineRunResponse) {} +} + +// Source: aiserver.v1.ReplayChatService (var: aud) +service ReplayChatService { + rpc StreamReplayChat(StreamReplayChatRequest) returns (stream StreamUnifiedChatResponseWithTools) {} +} + +// Source: aiserver.v1.RepositoryService (var: V8s) +service RepositoryService { + rpc FastRepoInitHandshake(FastRepoInitHandshakeRequest) returns (FastRepoInitHandshakeResponse) {} + rpc SyncMerkleSubtree(SyncMerkleSubtreeRequest) returns (SyncMerkleSubtreeResponse) {} + rpc FastUpdateFile(FastUpdateFileRequest) returns (FastUpdateFileResponse) {} + rpc SearchRepositoryV2(SearchRepositoryRequest) returns (SearchRepositoryResponse) {} + rpc RemoveRepositoryV2(RemoveRepositoryRequest) returns (RemoveRepositoryResponse) {} + rpc FastRepoInitHandshakeV2(FastRepoInitHandshakeV2Request) returns (FastRepoInitHandshakeV2Response) {} + rpc SyncMerkleSubtreeV2(SyncMerkleSubtreeV2Request) returns (SyncMerkleSubtreeV2Response) {} + rpc FastUpdateFileV2(FastUpdateFileV2Request) returns (FastUpdateFileV2Response) {} + rpc FastRepoSyncComplete(FastRepoSyncCompleteRequest) returns (FastRepoSyncCompleteResponse) {} + rpc SemSearchFast(SemSearchRequest) returns (stream SemSearchResponse) {} + rpc SemSearch(SemSearchRequest) returns (stream SemSearchResponse) {} + rpc EnsureIndexCreated(EnsureIndexCreatedRequest) returns (EnsureIndexCreatedResponse) {} + rpc GetHighLevelFolderDescription(GetHighLevelFolderDescriptionRequest) returns (GetHighLevelFolderDescriptionResponse) {} + rpc GetEmbeddings(GetEmbeddingsRequest) returns (GetEmbeddingsResponse) {} + rpc GetUploadLimits(GetUploadLimitsRequest) returns (GetUploadLimitsResponse) {} + rpc GetNumFilesToSend(GetNumFilesToSendRequest) returns (GetNumFilesToSendResponse) {} + rpc GetAvailableChunkingStrategies(GetAvailableChunkingStrategiesRequest) returns (GetAvailableChunkingStrategiesResponse) {} + rpc GetLineNumberClassifications(GetLineNumberClassificationsRequest) returns (stream GetLineNumberClassificationsResponse) {} + rpc GetCopyStatus(GetCopyStatusRequest) returns (GetCopyStatusResponse) {} +} + +// Source: aiserver.v1.RequestReplayService (var: Zvv) +service RequestReplayService { + rpc Health(RequestReplayHealthRequest) returns (RequestReplayHealthResponse) {} + rpc RecordRequest(RecordRequestRequest) returns (RecordRequestResponse) {} + rpc ReplayRequest(ReplayRequestRequest) returns (ReplayRequestResponse) {} +} + +// Source: aiserver.v1.ReviewService (var: Xvv) +service ReviewService { + rpc StreamReview(ReviewRequestV2) returns (stream ReviewResponseV2) {} + rpc StreamReviewChat(ReviewChatRequestV2) returns (stream ReviewChatResponseV2) {} + rpc StreamSlowReview(ReviewRequestV2) returns (stream ReviewResponseV2) {} + rpc StreamCodeTour(StreamCodeTourRequest) returns (stream StreamCodeTourResponse) {} + rpc BugConfig(BugConfigRequest) returns (BugConfigResponse) {} + rpc StreamBugBotLinter(StreamBugBotLinterRequest) returns (stream StreamBugBotLinterResponse) {} + rpc StreamBugFinding(StreamBugFindingRequest) returns (stream StreamBugFindingResponse) {} +} + +// Source: aiserver.v1.SCMService (var: tpo) +service SCMService { + rpc GetPullRequest(GetPullRequestRequest) returns (GetPullRequestResponse) {} + rpc GetPullRequestStack(GetPullRequestStackRequest) returns (GetPullRequestStackResponse) {} + rpc BatchGetPullRequests(BatchGetPullRequestsRequest) returns (BatchGetPullRequestsResponse) {} + rpc BatchGetPullRequestStatus(BatchGetPullRequestStatusRequest) returns (BatchGetPullRequestStatusResponse) {} + rpc GetPullRequestDiff(GetPullRequestDiffRequest) returns (GetPullRequestDiffResponse) {} + rpc GetPullRequestFileContents(GetPullRequestFileContentsRequest) returns (GetPullRequestFileContentsResponse) {} + rpc GetPullRequestChecks(GetPullRequestChecksRequest) returns (GetPullRequestChecksResponse) {} + rpc GetSCMPullRequestCommits(GetSCMPullRequestCommitsRequest) returns (GetSCMPullRequestCommitsResponse) {} + rpc GetSCMPullRequestTimelineEvents(GetSCMPullRequestTimelineEventsRequest) returns (GetSCMPullRequestTimelineEventsResponse) {} + rpc InternalGetPullRequest(GetPullRequestRequest) returns (GetPullRequestResponse) {} + rpc InternalGetPullRequestDiff(GetPullRequestDiffRequest) returns (GetPullRequestDiffResponse) {} + rpc InternalGetPullRequestChecks(GetPullRequestChecksRequest) returns (GetPullRequestChecksResponse) {} + rpc InternalGetSCMPullRequestCommits(GetSCMPullRequestCommitsRequest) returns (GetSCMPullRequestCommitsResponse) {} + rpc GetPullRequestCheckLogExcerpt(GetPullRequestCheckLogExcerptRequest) returns (GetPullRequestCheckLogExcerptResponse) {} + rpc GetBranchComparison(GetBranchComparisonRequest) returns (GetBranchComparisonResponse) {} + rpc GetPullRequestForBranch(SCMGetPullRequestForBranchRequest) returns (SCMGetPullRequestForBranchResponse) {} + rpc BatchGetPullRequestForBranch(SCMBatchGetPullRequestForBranchRequest) returns (SCMBatchGetPullRequestForBranchResponse) {} + rpc MergePullRequest(SCMMergePullRequestRequest) returns (SCMMergePullRequestResponse) {} + rpc UpdatePullRequestTitle(SCMUpdatePullRequestTitleRequest) returns (SCMUpdatePullRequestTitleResponse) {} + rpc MakePullRequestReady(SCMMakePullRequestReadyRequest) returns (SCMMakePullRequestReadyResponse) {} + rpc ClosePullRequest(SCMClosePullRequestRequest) returns (SCMClosePullRequestResponse) {} + rpc ReopenPullRequest(SCMReopenPullRequestRequest) returns (SCMReopenPullRequestResponse) {} + rpc EnablePullRequestAutoMerge(SCMEnablePullRequestAutoMergeRequest) returns (SCMEnablePullRequestAutoMergeResponse) {} + rpc DisablePullRequestAutoMerge(SCMDisablePullRequestAutoMergeRequest) returns (SCMDisablePullRequestAutoMergeResponse) {} + rpc GetPullRequestCodeowners(GetPullRequestCodeownersRequest) returns (GetPullRequestCodeownersResponse) {} + rpc StreamPullRequestUpdates(StreamPullRequestUpdatesRequest) returns (stream PullRequestUpdatedEvent) {} +} + +// Source: aiserver.v1.SandBoxService (var: ggv) +service SandBoxService { + rpc EnsureSandBox(EnsureSandBoxRequest) returns (EnsureSandBoxResponse) {} + rpc EnsureSandBoxWindow(EnsureSandBoxWindowRequest) returns (EnsureSandBoxResponse) {} + rpc RecreateSandBox(RecreateSandBoxRequest) returns (RecreateSandBoxResponse) {} + rpc ForceRecreateSandBox(ForceRecreateSandBoxRequest) returns (RecreateSandBoxResponse) {} + rpc AdminRecreateSandBox(AdminRecreateSandBoxRequest) returns (RecreateSandBoxResponse) {} + rpc AdminForceRecreateSandBox(AdminForceRecreateSandBoxRequest) returns (RecreateSandBoxResponse) {} + rpc PresignSandBoxStoreWrites(PresignSandBoxStoreWritesRequest) returns (PresignSandBoxStoreWritesResponse) {} + rpc CompleteSandBoxStoreMultipartWrites(CompleteSandBoxStoreMultipartWritesRequest) returns (CompleteSandBoxStoreMultipartWritesResponse) {} + rpc AbortSandBoxStoreMultipartWrites(AbortSandBoxStoreMultipartWritesRequest) returns (AbortSandBoxStoreMultipartWritesResponse) {} + rpc PresignSandBoxStoreReads(PresignSandBoxStoreReadsRequest) returns (PresignSandBoxStoreReadsResponse) {} + rpc StatSandBoxStoreObject(StatSandBoxStoreObjectRequest) returns (StatSandBoxStoreObjectResponse) {} + rpc ListSandBoxStoreObjects(ListSandBoxStoreObjectsRequest) returns (ListSandBoxStoreObjectsResponse) {} + rpc AdminGetSandBoxStoreStatus(AdminSandBoxStoreStatusRequest) returns (AdminSandBoxStoreStatusResponse) {} + rpc AdminUpdateSandBoxHost(AdminUpdateSandBoxHostRequest) returns (AdminUpdateSandBoxHostResponse) {} + rpc AdminGetSandBoxHostStatus(AdminSandBoxHostStatusRequest) returns (AdminSandBoxHostStatusResponse) {} + rpc AdminSnapshotSandBoxStore(AdminSnapshotSandBoxStoreRequest) returns (AdminSnapshotSandBoxStoreResponse) {} + rpc AdminListSandBoxStoreManifestVersions(AdminListSandBoxStoreManifestVersionsRequest) returns (AdminListSandBoxStoreManifestVersionsResponse) {} + rpc AdminRestoreSandBoxStoreSnapshot(AdminRestoreSandBoxStoreSnapshotRequest) returns (AdminRestoreSandBoxStoreSnapshotResponse) {} + rpc AdminHibernateSandBox(AdminHibernateSandBoxRequest) returns (AdminHibernateSandBoxResponse) {} + rpc AdminListSandAgents(AdminListSandAgentsRequest) returns (AdminListSandAgentsResponse) {} + rpc AdminGetSandAgentTranscriptPage(AdminGetSandAgentTranscriptPageRequest) returns (AdminGetSandAgentTranscriptPageResponse) {} + rpc WatchSandBoxMigration(WatchSandBoxMigrationRequest) returns (stream SandBoxMigrationEvent) {} + rpc AdminWatchSandBoxMigration(AdminWatchSandBoxMigrationRequest) returns (stream SandBoxMigrationEvent) {} + rpc GetSandBoxRunState(GetSandBoxRunStateRequest) returns (GetSandBoxRunStateResponse) {} + rpc GetSandBoxUpgradeSchedule(GetSandBoxUpgradeScheduleRequest) returns (GetSandBoxUpgradeScheduleResponse) {} + rpc ScheduleSandBoxUpgrade(ScheduleSandBoxUpgradeRequest) returns (ScheduleSandBoxUpgradeResponse) {} + rpc CancelSandBoxUpgrade(CancelSandBoxUpgradeRequest) returns (CancelSandBoxUpgradeResponse) {} + rpc RescheduleSandBoxUpgrade(RescheduleSandBoxUpgradeRequest) returns (RescheduleSandBoxUpgradeResponse) {} + rpc ListSandBoxes(ListSandBoxesRequest) returns (ListSandBoxesResponse) {} + rpc NotifySandAgentTurnFinished(NotifySandAgentTurnFinishedRequest) returns (NotifySandAgentTurnFinishedResponse) {} + rpc ListSandSetupManifests(ListSandSetupManifestsRequest) returns (ListSandSetupManifestsResponse) {} + rpc ListTeamSandSetupManifests(ListTeamSandSetupManifestsRequest) returns (ListTeamSandSetupManifestsResponse) {} + rpc SaveTeamSandSetupManifest(SaveTeamSandSetupManifestRequest) returns (SaveTeamSandSetupManifestResponse) {} + rpc DeleteTeamSandSetupManifest(DeleteTeamSandSetupManifestRequest) returns (DeleteTeamSandSetupManifestResponse) {} + rpc ListTeamMemberSandBoxes(ListTeamMemberSandBoxesRequest) returns (ListTeamMemberSandBoxesResponse) {} + rpc KillTeamMemberSandBox(KillTeamMemberSandBoxRequest) returns (KillTeamMemberSandBoxResponse) {} +} + +// Source: aiserver.v1.SchedulerService (var: dbv) +service SchedulerService { + rpc Acquire(AcquireRequest) returns (AcquireResponse) {} + rpc ReportUsage(ReportUsageRequest) returns (ReportUsageResponse) {} +} + +// Source: aiserver.v1.ServerConfigService (var: cQd) +service ServerConfigService { + rpc GetServerConfig(GetServerConfigRequest) returns (GetServerConfigResponse) {} +} + +// Source: aiserver.v1.ShadowWorkspaceService (var: BHi) +service ShadowWorkspaceService { + rpc GetLintsForChange(GetLintsForChangeRequest) returns (GetLintsForChangeResponse) {} + rpc ShadowHealthCheck(ShadowHealthCheckRequest) returns (ShadowHealthCheckResponse) {} + rpc SwSyncIndex(SwSyncIndexRequest) returns (SwSyncIndexResponse) {} + rpc SwProvideTemporaryAccessToken(SwProvideTemporaryAccessTokenRequest) returns (SwProvideTemporaryAccessTokenResponse) {} + rpc SwCompileRepoIncludeExcludePatterns(SwCompileRepoIncludeExcludePatternsRequest) returns (SwCompileRepoIncludeExcludePatternsResponse) {} + rpc SwCallClientSideV2Tool(SwCallClientSideV2ToolRequest) returns (SwCallClientSideV2ToolResponse) {} + rpc SwGetExplicitContext(SwGetExplicitContextRequest) returns (SwGetExplicitContextResponse) {} + rpc SwWriteTextFileWithLints(SwWriteTextFileWithLintsRequest) returns (SwWriteTextFileWithLintsResponse) {} + rpc SwGetEnvironmentInfo(SwGetEnvironmentInfoRequest) returns (SwGetEnvironmentInfoResponse) {} + rpc SwGetLinterErrors(SwGetLinterErrorsRequest) returns (SwGetLinterErrorsResponse) {} + rpc SwGetMcpTools(SwGetMcpToolsRequest) returns (SwGetMcpToolsResponse) {} + rpc SwTrackModel(SwTrackModelRequest) returns (SwTrackModelResponse) {} + rpc SwCallDiagnosticsExecutor(SwCallDiagnosticsExecutorRequest) returns (SwCallDiagnosticsExecutorResponse) {} +} + +// Source: aiserver.v1.TeamCreditsService (var: _bv) +service TeamCreditsService { + rpc GetTeamCredits(GetTeamCreditsRequest) returns (GetTeamCreditsResponse) {} + rpc SetTeamCredits(SetTeamCreditsRequest) returns (SetTeamCreditsResponse) {} + rpc ClearTeamCredits(ClearTeamCreditsRequest) returns (ClearTeamCreditsResponse) {} +} + +// Source: aiserver.v1.ToolCallEventService (var: Dsv) +service ToolCallEventService { + rpc SubmitToolCallEvents(SubmitToolCallEventsRequest) returns (SubmitToolCallEventsResponse) {} +} + +// Source: aiserver.v1.TraceService (var: Mho) +service TraceService { + rpc SubmitSpans(SubmitSpansRequest) returns (SubmitSpansResponse) {} +} + +// Source: aiserver.v1.UploadService (var: tzi) +service UploadService { + rpc UploadDocumentation(NewDocumentationRequest) returns (UploadResponse) {} + rpc UploadDocumentationStatus(UploadDocumentationRequest) returns (UploadedStatus) {} + rpc MarkAsPublic(MarkAsPublicRequest) returns (UploadedStatus) {} + rpc UploadStatus(UploadedStatusRequest) returns (UploadedStatus) {} + rpc GetPages(GetPagesRequest) returns (Pages) {} + rpc GetDoc(GetDocRequest) returns (ProtoDoc) {} + rpc RescrapeDocs(RescrapeDocsRequest) returns (RescrapeDocsResponse) {} + rpc RescrapeDocsV2(RescrapeDocsRequestV2) returns (RescrapeDocsResponse) {} + rpc UpsertAllDocs(UpsertDocsRequest) returns (UpsertDocsResponse) {} +} + +// Source: aiserver.v1.UsageSimulationService (var: Ybv) +service UsageSimulationService { + rpc GetSimulation(GetSimulationRequest) returns (GetSimulationResponse) {} + rpc SetSimulation(SetSimulationRequest) returns (SetSimulationResponse) {} + rpc ClearSimulation(ClearSimulationRequest) returns (ClearSimulationResponse) {} + rpc GetAllSimulations(GetAllSimulationsRequest) returns (GetAllSimulationsResponse) {} + rpc AddSyntheticUsage(AddSyntheticUsageRequest) returns (AddSyntheticUsageResponse) {} +} + +// Source: aiserver.v1.VmDaemonService (var: W_v) +service VmDaemonService { + rpc SyncIndex(SyncIndexRequest) returns (SyncIndexResponse) {} + rpc CompileRepoIncludeExcludePatterns(CompileRepoIncludeExcludePatternsRequest) returns (CompileRepoIncludeExcludePatternsResponse) {} + rpc Upgrade(UpgradeRequest) returns (UpgradeResponse) {} + rpc Ping(PingRequest) returns (PingResponse) {} + rpc Exec(ExecRequest) returns (ExecResponse) {} + rpc CallClientSideV2Tool(CallClientSideV2ToolRequest) returns (CallClientSideV2ToolResponse) {} + rpc ReadTextFile(ReadTextFileRequest) returns (ReadTextFileResponse) {} + rpc WriteTextFile(WriteTextFileRequest) returns (WriteTextFileResponse) {} + rpc GetFileStats(GetFileStatsRequest) returns (GetFileStatsResponse) {} + rpc GetExplicitContext(GetExplicitContextRequest) returns (GetExplicitContextResponse) {} + rpc GetEnvironmentInfo(GetEnvironmentInfoRequest) returns (GetEnvironmentInfoResponse) {} + rpc ProvideTemporaryAccessToken(ProvideTemporaryAccessTokenRequest) returns (ProvideTemporaryAccessTokenResponse) {} + rpc WarmCursorServer(WarmCursorServerRequest) returns (WarmCursorServerResponse) {} + rpc RefreshGitHubAccessToken(RefreshGitHubAccessTokenRequest) returns (RefreshGitHubAccessTokenResponse) {} + rpc GetWorkspaceChangesHash(GetWorkspaceChangesHashRequest) returns (GetWorkspaceChangesHashResponse) {} + rpc GetDiff(GetDiffRequest) returns (GetDiffResponse) {} + rpc GetLinterErrors(GetLinterErrorsRequest) returns (GetLinterErrorsResponse) {} + rpc GetLogs(GetLogsRequest) returns (GetLogsResponse) {} + rpc InstallExtensions(InstallExtensionsRequest) returns (InstallExtensionsResponse) {} + rpc GetMcpTools(GetMcpToolsRequest) returns (GetMcpToolsResponse) {} + rpc TrackModel(TrackModelRequest) returns (TrackModelResponse) {} + rpc CallDiagnosticsExecutor(CallDiagnosticsExecutorRequest) returns (CallDiagnosticsExecutorResponse) {} +} + +// Source: aiserver.v1.WebProfilingService (var: SGd) +service WebProfilingService { + rpc SubmitInteractionWindow(SubmitInteractionWindowRequest) returns (SubmitInteractionWindowResponse) {} +} + diff --git a/cursor-proto/proto/anyrun_v1.proto b/cursor-proto/proto/anyrun_v1.proto new file mode 100644 index 0000000..574cbba --- /dev/null +++ b/cursor-proto/proto/anyrun_v1.proto @@ -0,0 +1,1621 @@ +syntax = "proto3"; + +package anyrun.v1; + +import "google/protobuf/empty.proto"; + +option go_package = "github.com/leookun/cursor-byok/cursor-proto/gen/anyrun/v1;anyrunv1"; + +// Copied from: local:anyrun.v1.AllowedDomain (var: kt) +message AllowedDomain { + string domain = 1; +} + +// Copied from: local:anyrun.v1.AllowedTcpDestination (var: wt) +message AllowedTcpDestination { + string cidr = 1; + uint32 port = 2; +} + +// Copied from: local:anyrun.v1.AntiAffinityTags (var: it) +message AntiAffinityTags { + repeated string tags = 1; +} + +// Copied from: local:anyrun.v1.AnygressLocalPodDenyRules (var: st) +message AnygressLocalPodDenyRules { + uint32 version = 1; + string pod_id = 2; + AnygressPerPodDenyRules deny_rules = 3; +} + +// Copied from: local:anyrun.v1.AnygressPerPodDenyRules (var: rt) +message AnygressPerPodDenyRules { + map denies = 1; +} + +// Copied from: local:anyrun.v1.AnygressPodDenyRule (var: tt) +message AnygressPodDenyRule { + string verb = 1; + string path = 2; +} + +// Copied from: local:anyrun.v1.AnygressPodDenyRuleList (var: nt) +message AnygressPodDenyRuleList { + repeated AnygressPodDenyRule rules = 1; +} + +// Copied from: local:anyrun.v1.AttachProcessRequest (var: q) +message AttachProcessRequest { + int64 pid = 1; + optional string last_event_id = 2; +} + +// Copied from: local:anyrun.v1.BlobStorageFormat (var: A) +enum BlobStorageFormat { + BLOB_STORAGE_FORMAT_LEGACY_UNSPECIFIED = 0; + BLOB_STORAGE_FORMAT_V1 = 1; + BLOB_STORAGE_FORMAT_VM_SNAPSHOT_V1 = 2; + BLOB_STORAGE_FORMAT_V2 = 3; + BLOB_STORAGE_FORMAT_V2_LAYERED = 4; + BLOB_STORAGE_FORMAT_V3 = 5; + BLOB_STORAGE_FORMAT_VM_SNAPSHOT_V2 = 6; + BLOB_STORAGE_FORMAT_V4 = 7; +} + +// Copied from: local:anyrun.v1.Build (var: ct) +message Build { + string dockerfile = 1; + string context = 2; +} + +// Copied from: local:anyrun.v1.BuildStatusLine (var: xau) +message BuildStatusLine { + uint32 stream_id = 1; + string timestamp = 2; + string content = 3; +} + +// Copied from: local:anyrun.v1.BuildStepStarted (var: Eau) +message BuildStepStarted { + uint32 stream_id = 1; + uint32 step = 2; + uint32 total_steps = 3; + string command = 4; +} + +// Copied from: local:anyrun.v1.CaptureErrorTag (var: u) +enum CaptureErrorTag { + CAPTURE_ERROR_TAG_UNSPECIFIED = 0; + CAPTURE_ERROR_TAG_INVALID_IMAGE_USER = 1; +} + +// Copied from: local:anyrun.v1.CaptureErrorType (var: l) +enum CaptureErrorType { + CAPTURE_ERROR_TYPE_UNSPECIFIED = 0; + CAPTURE_ERROR_TYPE_SYSTEM = 1; + CAPTURE_ERROR_TYPE_USER = 2; +} + +// Copied from: local:anyrun.v1.CaptureFailureDetails (var: Fe) +message CaptureFailureDetails { + CaptureErrorType error_type = 1; + CaptureErrorTag error_tag = 2; + bool is_client_error = 4; + oneof details { + InvalidImageUserFailure invalid_image_user = 3; + } +} + +// Copied from: local:anyrun.v1.CloneCompleted (var: Lau) +message CloneCompleted { + ClonePurpose purpose = 1; +} + +// Copied from: local:anyrun.v1.ClonePurpose (var: Pkn) +enum ClonePurpose { + CLONE_PURPOSE_UNSPECIFIED = 0; + CLONE_PURPOSE_DOCKER_BUILD = 1; + CLONE_PURPOSE_WORKSPACE_SETUP = 2; +} + +// Copied from: local:anyrun.v1.CloneStarted (var: Pau) +message CloneStarted { + ClonePurpose purpose = 1; +} + +// Copied from: local:anyrun.v1.ContainerRuntime (var: g) +enum ContainerRuntime { + CONTAINER_RUNTIME_DOCKERD_UNSPECIFIED = 0; + CONTAINER_RUNTIME_ISOD_RUNC = 1; + CONTAINER_RUNTIME_WINDOWS_GUEST = 2; +} + +// Copied from: local:anyrun.v1.ContainerWaitFailure (var: Gau) +message ContainerWaitFailure { + int64 exit_code = 1; + string message = 2; +} + +// Copied from: local:anyrun.v1.CreateProcessRequest (var: M) +message CreateProcessRequest { + repeated string command = 1; + string user = 2; + string working_directory = 3; + map env = 4; + optional string idempotency_key = 5; + optional ProcessSupervision supervision = 6; + optional ProcessSupervision durable_supervision = 7; +} + +// Copied from: local:anyrun.v1.CreateProcessResponse (var: L) +message CreateProcessResponse { + int64 pid = 1; + bool reused_existing_pid = 2; + optional int64 process_pid = 3; +} + +// Copied from: local:anyrun.v1.DaemonCommandHandlerPersistentState (var: jt) +message DaemonCommandHandlerPersistentState { + int64 vpid = 1; + optional string last_event_id = 2; +} + +// Copied from: local:anyrun.v1.DaemonPod (var: Tn) +message DaemonPod { + PodStatus status = 2; + optional uint32 internal_proxy_port = 3; + optional DefaultPortConfig default_port_config = 4; + optional string started_from_checkpoint_group_id = 5; + optional string started_from_checkpoint_id = 8; + optional PodStartCacheSource started_from_cache_source = 6; + optional uint64 started_from_checkpoint_creation_timestamp = 7; +} + +// Copied from: local:anyrun.v1.DefaultPortConfig (var: Ue) +message DefaultPortConfig { + oneof authentication { + google.protobuf.Empty open = 3; + google.protobuf.Empty token = 4; + } + oneof visibility { + google.protobuf.Empty public = 1; + google.protobuf.Empty private = 2; + } +} + +// Copied from: local:anyrun.v1.DevContainerConfig (var: mt) +message DevContainerConfig { + // Copied from: local:anyrun.v1.DevContainerConfig.RegistryReferenceAlias (var: y) + enum RegistryReferenceAlias { + REGISTRY_REFERENCE_ALIAS_UNSPECIFIED = 0; + REGISTRY_REFERENCE_ALIAS_BUILDER = 1; + } + + optional bytes prepare_commands_tag = 19; + repeated DevContainerExecCommand prepare_commands = 8; + optional bytes install_commands_tag = 20; + repeated DevContainerExecCommand install_commands = 9; + optional bytes verify_commands_tag = 24; + repeated DevContainerExecCommand verify_commands = 25; + optional bytes start_commands_tag = 21; + repeated DevContainerExecCommand start_commands = 10; + repeated PortDefinition ports = 11; + optional DefaultPortConfig default_port_config = 26; + optional string user = 12; + repeated DevContainerEnv env = 13; + string shell = 14; + optional bool privileged = 17; + optional bool build_container = 29; + optional uint64 checkpoint_threshold_ms = 23; + optional bool enable_cgroup_subtree_control = 30; + optional bool enable_checkpoint_scratch_drive = 34; + optional bool blob_client_resilience_enabled = 35; + optional bool skip_workspace_source_checkout = 36; + ContainerRuntime container_runtime = 37; + FirecrackerVersion firecracker_version = 39; + oneof image { + string registry_reference = 4; + string snapshot_id = 5; + Build build = 6; + ExternalSnapshot external_snapshot = 27; + string checkpoint_group_id = 28; + RegistryReferenceAlias registry_reference_alias = 32; + InlineBuild inline_build = 33; + DockerArchiveImage docker_archive = 38; + } + oneof source { + GitRepoSourceReference git = 1; + TarRepoSourceReference tar = 2; + LocalDirectoryReference local = 15; + TarGzipUrlSourceReference tar_gzip_url = 16; + NoopSourceReference noop = 22; + MultiSourceReference multi = 31; + } + oneof workspace { + string workspace_path = 7; + string workdir_relative_path = 18; + } +} + +// Copied from: local:anyrun.v1.DevContainerEnv (var: at) +message DevContainerEnv { + string name = 1; + optional string value_hash = 4; + oneof value { + string inline = 2; + string encrypted = 3; + } +} + +// Copied from: local:anyrun.v1.DevContainerExecCommand (var: xe) +message DevContainerExecCommand { + string name = 1; + optional string user = 2; + string command = 3; + bool is_system = 4; + optional string cache_key = 5; + bool failure_tolerant = 6; + repeated string depends_on = 7; + bool depends_on_git_checkout = 8; + optional ProcessSupervision supervision = 9; + bool ignore_failure_for_install_health = 10; + optional ProcessSupervision durable_supervision = 11; +} + +// Copied from: local:anyrun.v1.DevContainerSpec (var: ot) +message DevContainerSpec { + string name = 5; + optional string platform = 23; + optional uint64 deletion_timestamp = 6; + optional uint64 hibernation_timestamp = 14; + map pod_labels = 7; + map node_labels = 8; + repeated string low_cardinality_pod_labels = 27; + ResourceRequests requests = 9; + ResourceRequests hibernated_requests = 16; + ResourceLimits limits = 10; + optional bool cache = 13; + optional bool enable_base_container_cache = 20; + optional bool enable_checkpoint_read = 18; + optional bool enable_checkpoint_write = 19; + BlobStorageFormat blob_storage_format = 17; + optional string cache_tag = 15; + string workload = 21; + DevContainerConfig config = 12; + optional bool persist_config = 22; + optional uint32 expected_fork_count = 24; + optional EgressPolicy egress_policy = 26; + optional AnygressPerPodDenyRules anygress_per_pod_deny_rules = 28; + optional AntiAffinityTags anti_affinity_tags = 32; + optional bool enable_lazy_v3_squashfs_snapshot_load = 34; + optional V4RootArchiveOptions v4_root_archive_options = 35; + optional bool enable_lazy_v4_load = 36; + optional bool enable_writable_ublk_load = 37; +} + +// Copied from: local:anyrun.v1.DirectoryEntry (var: oe) +message DirectoryEntry { + string name = 1; + string path = 2; + EntryType type = 3; + uint64 size_bytes = 4; + int64 modified_at_unix_ms = 5; +} + +// Copied from: local:anyrun.v1.DiskUsage (var: Ve) +message DiskUsage { + uint64 bytes_used = 1; + uint64 bytes_total = 2; + optional double busy_percentage = 3; +} + +// Copied from: local:anyrun.v1.DockerArchiveImage (var: ut) +message DockerArchiveImage { + string url = 1; + string registry_reference = 2; +} + +// Copied from: local:anyrun.v1.DockerBuildConfig (var: ft) +message DockerBuildConfig { + string dockerfile = 1; + string context = 2; + string user = 3; + string registry_cache_ref = 4; + RegistryCredentials cache_registry_credentials = 5; + repeated DockerBuildSecretEntry build_secrets = 6; + repeated string cache_from_refs = 7; +} + +// Copied from: local:anyrun.v1.DockerBuildFailure (var: Kau) +message DockerBuildFailure { + int64 exit_code = 1; +} + +// Copied from: local:anyrun.v1.DockerBuildResult (var: At) +message DockerBuildResult { + DockerImageRef image = 1; +} + +// Copied from: local:anyrun.v1.DockerBuildSecretEntry (var: pt) +message DockerBuildSecretEntry { + string name = 1; + optional string value_hash = 4; + oneof value { + string inline = 2; + string encrypted = 3; + } +} + +// Copied from: local:anyrun.v1.DockerContainerPersistentState (var: Wt) +message DockerContainerPersistentState { + string id = 1; + string name = 2; + bool stopped = 3; + bool removed = 4; + bool leaked = 5; + optional uint64 post_pause_unpause_delay_ms = 6; + optional string isod_container_name = 8; +} + +// Copied from: local:anyrun.v1.DockerDevContainerPersistentState (var: Kt) +message DockerDevContainerPersistentState { + string name = 1; + DockerContainerPersistentState container = 2; + RuntimeStatePersistentState runtime_state = 3; + ImageMetadata image_metadata = 4; + NetworkInfo network_info = 5; + optional string user = 6; + string shell = 7; + uint32 daemon_port = 8; + WorkspaceConfig workspace = 9; + bool v2_hydrated = 10; + optional string pod_daemon_auth_token = 11; +} + +// Copied from: local:anyrun.v1.DockerImageBuildEvent (var: _t) +message DockerImageBuildEvent { + uint64 creation_timestamp = 1; + oneof payload { + google.protobuf.Empty queued = 2; + google.protobuf.Empty started = 3; + string build_status_message = 4; + BuildStepStarted build_step_started = 5; + BuildStatusLine build_status_line = 6; + InternalBuildMessage internal_build_message = 7; + PodErrorEvent error = 8; + DockerBuildResult completed = 9; + int32 build_exit_code = 10; + } +} + +// Copied from: local:anyrun.v1.DockerImageRef (var: ht) +message DockerImageRef { + string registry_reference = 1; +} + +// Copied from: local:anyrun.v1.DrainingReason (var: m) +enum DrainingReason { + DRAINING_REASON_UNSPECIFIED = 0; + DRAINING_REASON_CAPACITY = 1; + DRAINING_REASON_UPGRADE = 2; + DRAINING_REASON_MANUAL = 3; + DRAINING_REASON_HEALTH = 4; + DRAINING_REASON_RETIREMENT = 5; + DRAINING_REASON_COMPACTION = 6; +} + +// Copied from: local:anyrun.v1.EgressPolicy (var: Tt) +message EgressPolicy { + repeated ScmConfig scm = 3; + bool use_scm_egress_config = 4; + oneof policy { + google.protobuf.Empty allow_all = 1; + EgressRestricted restricted = 2; + } +} + +// Copied from: local:anyrun.v1.EgressRestricted (var: yt) +message EgressRestricted { + repeated AllowedDomain allowed_domains = 1; + repeated AllowedTcpDestination allowed_tcp_destinations = 2; +} + +// Copied from: local:anyrun.v1.EntryType (var: o) +enum EntryType { + ENTRY_TYPE_UNSPECIFIED = 0; + ENTRY_TYPE_FILE = 1; + ENTRY_TYPE_DIRECTORY = 2; + ENTRY_TYPE_SYMLINK = 3; +} + +// Copied from: local:anyrun.v1.EnvironmentBuildBootInfo (var: SLs) +message EnvironmentBuildBootInfo { + optional string build_id = 1; + string snapshot_id = 2; + WorkspaceGitSetupMode workspace_git_setup_mode = 3; + WarmForkMode warm_fork_mode = 4; + bool fast_forward_default_branch = 5; + EnvironmentBuildResolution resolution = 6; + bool default_image_fallback = 7; +} + +// Copied from: local:anyrun.v1.EnvironmentBuildResolution (var: O3t) +enum EnvironmentBuildResolution { + ENVIRONMENT_BUILD_RESOLUTION_UNSPECIFIED = 0; + ENVIRONMENT_BUILD_RESOLUTION_RESOLVED = 1; + ENVIRONMENT_BUILD_RESOLUTION_NO_FINISHED_BUILDS = 2; + ENVIRONMENT_BUILD_RESOLUTION_NO_HEALTHY_BUILDS = 3; +} + +// Copied from: local:anyrun.v1.ExternalSnapshot (var: lt) +message ExternalSnapshot { + string snapshot_id = 1; + string presigned_url = 2; + ImageMetadata image_metadata = 3; + BlobStorageFormat blob_storage_format = 4; + optional string node_machine_type = 5; + optional string cpu_baseline_id = 6; + optional SnapshotUsageStats usage_stats = 7; + optional V4RootArchiveOptions v4_root_archive_options = 8; +} + +// Copied from: local:anyrun.v1.FeatureExitCode (var: _Ls) +message FeatureExitCode { + string feature_id = 1; + int64 exit_code = 2; +} + +// Copied from: local:anyrun.v1.FeatureOutput (var: Lkn) +message FeatureOutput { + string feature_id = 1; + string output = 2; +} + +// Copied from: local:anyrun.v1.FirecrackerVersion (var: h) +enum FirecrackerVersion { + FIRECRACKER_VERSION_UNSPECIFIED = 0; + FIRECRACKER_VERSION_V1_12_1 = 1; + FIRECRACKER_VERSION_V1_16_1 = 2; +} + +// Copied from: local:anyrun.v1.GetProcessStatusRequest (var: Q) +message GetProcessStatusRequest { + int64 pid = 1; +} + +// Copied from: local:anyrun.v1.GetProcessStatusResponse (var: G) +message GetProcessStatusResponse { + // Copied from: local:anyrun.v1.GetProcessStatusResponse.Completed (var: V) + message Completed { + int32 exit_code = 1; + } + + // Copied from: local:anyrun.v1.GetProcessStatusResponse.Running (var: H) + message Running { + } + + oneof status { + Running running = 1; + Completed completed = 2; + } +} + +// Copied from: local:anyrun.v1.GitCheckoutFailure (var: Yau) +message GitCheckoutFailure { + int64 exit_code = 1; +} + +// Copied from: local:anyrun.v1.GitCloneFailure (var: Qau) +message GitCloneFailure { + int64 exit_code = 1; + GitCloneFailureCategory category = 2; + bool retryable = 3; + optional string remote_host = 4; + optional int32 http_status = 5; +} + +// Copied from: local:anyrun.v1.GitCloneFailureCategory (var: Uau) +enum GitCloneFailureCategory { + GIT_CLONE_FAILURE_CATEGORY_UNSPECIFIED = 0; + GIT_CLONE_FAILURE_CATEGORY_IP_ALLOW_LIST = 1; + GIT_CLONE_FAILURE_CATEGORY_INVALID_CREDENTIALS = 2; + GIT_CLONE_FAILURE_CATEGORY_SSO_REDIRECT = 3; + GIT_CLONE_FAILURE_CATEGORY_PROXY_CONNECT = 4; + GIT_CLONE_FAILURE_CATEGORY_CONNECTION_RESET = 5; + GIT_CLONE_FAILURE_CATEGORY_TRANSPORT_INTERRUPTED = 6; + GIT_CLONE_FAILURE_CATEGORY_REMOTE_FORBIDDEN = 7; + GIT_CLONE_FAILURE_CATEGORY_UPSTREAM_BAD_GATEWAY = 8; +} + +// Copied from: local:anyrun.v1.GitRepoSourceReference (var: We) +message GitRepoSourceReference { + string cache_uri = 1; + string checkout_uri = 2; + bytes commit_hash = 3; + string http_proxy = 5; + optional string mtls_cert_pem = 6; + optional string mtls_key_pem = 7; +} + +// Copied from: local:anyrun.v1.HttpHealthCheck (var: $) +message HttpHealthCheck { + string url = 1; + string method = 2; + map headers = 3; + bytes body = 4; + uint32 interval_ms = 5; + uint32 timeout_ms = 6; + uint32 start_period_ms = 7; + uint32 unhealthy_threshold = 8; +} + +// Copied from: local:anyrun.v1.HydrationProgress (var: kau) +message HydrationProgress { + uint64 transferred = 1; + uint64 total = 2; +} + +// Copied from: local:anyrun.v1.ImageMetadata (var: qe) +message ImageMetadata { + optional string user = 1; + map env = 2; + optional string working_dir = 3; + optional string arch = 4; +} + +// Copied from: local:anyrun.v1.ImagePullCompleted (var: Dau) +message ImagePullCompleted { + string image_name = 1; + string pull_id = 2; +} + +// Copied from: local:anyrun.v1.ImagePullFailure (var: Zau) +message ImagePullFailure { + ImagePullFailureCategory category = 1; + bool retryable = 2; + optional int32 http_status = 3; + optional string repository = 4; +} + +// Copied from: local:anyrun.v1.ImagePullFailureCategory (var: $au) +enum ImagePullFailureCategory { + IMAGE_PULL_FAILURE_CATEGORY_UNSPECIFIED = 0; + IMAGE_PULL_FAILURE_CATEGORY_DENIED = 1; + IMAGE_PULL_FAILURE_CATEGORY_UNAUTHORIZED = 2; + IMAGE_PULL_FAILURE_CATEGORY_NOT_FOUND = 3; + IMAGE_PULL_FAILURE_CATEGORY_RATE_LIMITED = 4; + IMAGE_PULL_FAILURE_CATEGORY_UPSTREAM = 5; +} + +// Copied from: local:anyrun.v1.ImagePullLayerUpdate (var: Iau) +message ImagePullLayerUpdate { + string image_name = 1; + string pull_id = 2; + string layer_id = 3; + oneof status { + bool pulling_fs_layer = 4; + bool waiting = 5; + bool verifying_checksum = 6; + bool download_complete = 7; + bool pull_complete = 8; + ProgressDetail downloading = 9; + ProgressDetail extracting = 10; + string other = 11; + } +} + +// Copied from: local:anyrun.v1.ImagePullStarted (var: Aau) +message ImagePullStarted { + string image_name = 1; + string pull_id = 2; +} + +// Copied from: local:anyrun.v1.ImagePullStatusUpdate (var: Rau) +message ImagePullStatusUpdate { + string image_name = 1; + string pull_id = 2; + string status = 3; +} + +// Copied from: local:anyrun.v1.InlineBuild (var: dt) +message InlineBuild { + string dockerfile_contents = 1; + string context = 2; +} + +// Copied from: local:anyrun.v1.InstallCommand (var: Mau) +message InstallCommand { + string name = 1; + string command = 2; + optional string user = 3; + bool is_system = 4; + bool failure_tolerant = 5; +} + +// Copied from: local:anyrun.v1.InstallCommandFailure (var: qau) +message InstallCommandFailure { + bool is_system = 1; +} + +// Copied from: local:anyrun.v1.InternalBuildMessage (var: Tau) +message InternalBuildMessage { + uint32 stream_id = 1; + string content = 2; +} + +// Copied from: local:anyrun.v1.InvalidImageUserFailure (var: De) +message InvalidImageUserFailure { + string user = 1; +} + +// Copied from: local:anyrun.v1.IsoDevContainerMetadata (var: qt) +message IsoDevContainerMetadata { + string name = 1; + DockerDevContainerPersistentState persistent_state = 2; + IsoEnvConfig env_config = 3; + repeated PersistedDriveDescriptor drive_descriptors = 4; +} + +// Copied from: local:anyrun.v1.IsoEnvBalloonConfig (var: Vt) +message IsoEnvBalloonConfig { + uint32 amount_mib = 1; + bool deflate_on_oom = 2; + optional uint32 stats_polling_interval_s = 3; +} + +// Copied from: local:anyrun.v1.IsoEnvConfig (var: Yt) +message IsoEnvConfig { + uint32 vcpu_count = 1; + uint32 mem_size_mib = 2; + optional uint32 swap_size_mib = 3; + optional uint32 rootfs_size_mib = 4; + repeated IsoEnvExtraDriveConfig extra_drives = 5; + optional IsoEnvBalloonConfig balloon = 6; + FirecrackerVersion firecracker_version = 7; +} + +// Copied from: local:anyrun.v1.IsoEnvExtraDriveConfig (var: Ht) +message IsoEnvExtraDriveConfig { + IsoEnvExtraDrivePurpose purpose = 1; + uint32 size_mib = 3; + string drive_id = 4; + string guest_device = 5; + string guest_mount_path = 6; +} + +// Copied from: local:anyrun.v1.IsoEnvExtraDrivePurpose (var: E) +enum IsoEnvExtraDrivePurpose { + ISO_ENV_EXTRA_DRIVE_PURPOSE_UNSPECIFIED = 0; + ISO_ENV_EXTRA_DRIVE_PURPOSE_CHECKPOINT_SCRATCH = 1; +} + +// Copied from: local:anyrun.v1.LifecycleProcessExited (var: _au) +message LifecycleProcessExited { + int32 exit_code = 1; + string command_name = 2; +} + +// Copied from: local:anyrun.v1.LifecycleProcessRestarted (var: bau) +message LifecycleProcessRestarted { + uint32 attempt = 1; + int32 previous_exit_code = 2; + RestartReason reason = 3; + string command_name = 4; +} + +// Copied from: local:anyrun.v1.ListDirectoryRequest (var: re) +message ListDirectoryRequest { + string path = 1; + bool include_hidden = 2; +} + +// Copied from: local:anyrun.v1.ListDirectoryResponse (var: se) +message ListDirectoryResponse { + repeated DirectoryEntry entries = 1; +} + +// Copied from: local:anyrun.v1.ListProcessesRequest (var: Y) +message ListProcessesRequest { +} + +// Copied from: local:anyrun.v1.ListProcessesResponse (var: W) +message ListProcessesResponse { + repeated ListedProcess processes = 1; +} + +// Copied from: local:anyrun.v1.ListedProcess (var: K) +message ListedProcess { + int64 pid = 1; + GetProcessStatusResponse status = 2; +} + +// Copied from: local:anyrun.v1.LocalDirectoryReference (var: je) +message LocalDirectoryReference { + string path = 1; +} + +// Copied from: local:anyrun.v1.MemoryUsage (var: Ye) +message MemoryUsage { + uint64 bytes_used = 1; + uint64 bytes_total = 2; + uint64 collected_at_timestamp = 3; +} + +// Copied from: local:anyrun.v1.MultiSourceEntry (var: Ze) +message MultiSourceEntry { + string relative_path = 1; + oneof source { + GitRepoSourceReference git = 2; + TarRepoSourceReference tar = 3; + LocalDirectoryReference local = 4; + TarGzipUrlSourceReference tar_gzip_url = 5; + NoopSourceReference noop = 6; + } +} + +// Copied from: local:anyrun.v1.MultiSourceReference (var: et) +message MultiSourceReference { + repeated MultiSourceEntry sources = 1; +} + +// Copied from: local:anyrun.v1.NetworkInfo (var: Xt) +message NetworkInfo { + string ip_address = 1; +} + +// Copied from: local:anyrun.v1.NoopSourceReference (var: $e) +message NoopSourceReference { +} + +// Copied from: local:anyrun.v1.PersistedDevContainerConfig (var: Lt) +message PersistedDevContainerConfig { + repeated DevContainerExecCommand prepare_commands = 10; + repeated DevContainerExecCommand install_commands = 11; + repeated DevContainerExecCommand verify_commands = 19; + repeated DevContainerExecCommand start_commands = 12; + repeated PersistedEnvVar env = 13; + repeated PortDefinition ports = 14; + string shell = 15; + optional string user = 16; + optional bool privileged = 17; + optional bool build_container = 22; + optional bool enable_checkpoint_scratch_drive = 25; + optional bool blob_client_resilience_enabled = 26; + ContainerRuntime container_runtime = 27; + FirecrackerVersion firecracker_version = 28; + optional bool enable_lazy_v3_squashfs_snapshot_load = 29; + optional bool enable_lazy_v4_load = 30; + optional bool enable_writable_ublk_load = 31; + oneof image { + string registry_reference = 5; + Build build = 6; + string snapshot_id = 7; + PersistedExternalSnapshot external_snapshot = 20; + string checkpoint_group_id = 21; + DevContainerConfig.RegistryReferenceAlias registry_reference_alias = 24; + } + oneof source { + PersistedGitRepoSource git = 1; + PersistedTarRepoSource tar = 2; + PersistedLocalRepoSource local = 3; + PersistedTarGzipUrlSource tar_gzip_url = 4; + PersistedNoopSource noop = 18; + PersistedMultiSource multi = 23; + } + oneof workspace { + string workspace_path = 8; + string workdir_relative_path = 9; + } +} + +// Copied from: local:anyrun.v1.PersistedDriveDescriptor (var: Ft) +message PersistedDriveDescriptor { + oneof descriptor { + PersistedFileDriveDescriptor file_v1 = 1; + PersistedLazySquashfsDriveDescriptor lazy_squashfs_v1 = 2; + PersistedWritableUblkDriveDescriptor writable_ublk_v1 = 3; + } +} + +// Copied from: local:anyrun.v1.PersistedEnvVar (var: Mt) +message PersistedEnvVar { + string name = 1; + string value = 2; +} + +// Copied from: local:anyrun.v1.PersistedExternalSnapshot (var: bt) +message PersistedExternalSnapshot { + string snapshot_id = 1; + optional string cpu_baseline_id = 2; +} + +// Copied from: local:anyrun.v1.PersistedFileDriveDescriptor (var: Dt) +message PersistedFileDriveDescriptor { + string artifact_reference = 1; + string drive_id = 2; + string guest_path = 3; + bool is_root_device = 4; + optional uint32 size_mib = 5; +} + +// Copied from: local:anyrun.v1.PersistedGitRepoSource (var: vt) +message PersistedGitRepoSource { + string cache_uri = 1; + bytes commit_hash = 2; +} + +// Copied from: local:anyrun.v1.PersistedLazyCheckpointSource (var: xt) +message PersistedLazyCheckpointSource { + string tenant_id = 1; + string checkpoint_id = 2; +} + +// Copied from: local:anyrun.v1.PersistedLazySnapshotSource (var: Ut) +message PersistedLazySnapshotSource { + string tenant_id = 1; + string snapshot_id = 2; +} + +// Copied from: local:anyrun.v1.PersistedLazySquashfsDriveDescriptor (var: Ot) +message PersistedLazySquashfsDriveDescriptor { + string drive_id = 1; + string guest_path = 2; + uint64 chunk_size = 4; + optional BlobStorageFormat blob_storage_format = 6; + optional V4RootArchiveOptions v4_root_archive_options = 7; + oneof source { + PersistedLazySnapshotSource snapshot = 3; + PersistedLazyCheckpointSource checkpoint = 5; + } +} + +// Copied from: local:anyrun.v1.PersistedLocalRepoSource (var: Jt) +message PersistedLocalRepoSource { + string path = 1; +} + +// Copied from: local:anyrun.v1.PersistedMultiSource (var: Pt) +message PersistedMultiSource { + repeated PersistedMultiSourceEntry sources = 1; +} + +// Copied from: local:anyrun.v1.PersistedMultiSourceEntry (var: Rt) +message PersistedMultiSourceEntry { + string relative_path = 1; + oneof source { + PersistedGitRepoSource git = 2; + PersistedTarRepoSource tar = 3; + PersistedLocalRepoSource local = 4; + PersistedTarGzipUrlSource tar_gzip_url = 5; + PersistedNoopSource noop = 6; + } +} + +// Copied from: local:anyrun.v1.PersistedNoopSource (var: Nt) +message PersistedNoopSource { +} + +// Copied from: local:anyrun.v1.PersistedTarGzipUrlSource (var: Ct) +message PersistedTarGzipUrlSource { + string name = 1; +} + +// Copied from: local:anyrun.v1.PersistedTarRepoSource (var: Bt) +message PersistedTarRepoSource { + string name = 1; +} + +// Copied from: local:anyrun.v1.PersistedWritableUblkDriveDescriptor (var: Gt) +message PersistedWritableUblkDriveDescriptor { + string drive_id = 1; + string guest_path = 2; + WritableFilesystem filesystem = 5; + string overlay_artifact_reference = 6; + uint64 device_size_bytes = 7; + oneof source { + PersistedLazySnapshotSource snapshot = 3; + PersistedLazyCheckpointSource checkpoint = 4; + PersistedZeroBlockSource zero = 8; + } +} + +// Copied from: local:anyrun.v1.PersistedZeroBlockSource (var: Qt) +message PersistedZeroBlockSource { +} + +// Copied from: local:anyrun.v1.Pod (var: rn) +message Pod { + string tenant_id = 1; + string pod_id = 2; + uint32 resource_version = 9; + string name = 10; + map labels = 11; + uint64 creation_timestamp = 12; + optional uint64 deletion_timestamp = 13; + optional uint64 hibernation_timestamp = 14; + ResourceRequests resource_requests = 4; + ResourceRequests hibernated_resource_requests = 20; + optional ResourceLimits resource_limits = 17; + optional bool cache = 18; + optional string cache_tag = 19; + string workload = 21; + string node_id = 5; + optional bool hibernated = 15; + string network_token = 7; + PodStatus status = 8; + PodPorts ports = 6; + optional uint32 internal_proxy_port = 22; + optional PersistedDevContainerConfig config = 16; + optional uint64 modified_timestamp = 23; + optional uint64 pod_awake_since = 24; + repeated string low_cardinality_labels = 25; + repeated string checkpoint_group_ids = 26; + optional string started_from_checkpoint_group_id = 27; + optional string started_from_checkpoint_id = 30; + optional PodStartCacheSource started_from_cache_source = 28; + optional uint64 started_from_checkpoint_creation_timestamp = 29; + optional AntiAffinityTags anti_affinity_tags = 31; + optional bool collect_metrics = 32; + repeated PodMeshLink mesh_links = 34; + ContainerRuntime container_runtime = 35; +} + +// Copied from: local:anyrun.v1.PodCollection (var: sn) +message PodCollection { + repeated Pod items = 1; + optional string next_cursor = 2; +} + +// Copied from: local:anyrun.v1.PodCreatingPhase (var: Bau) +enum PodCreatingPhase { + POD_CREATING_PHASE_UNSPECIFIED = 0; + POD_CREATING_PHASE_CLONE = 1; + POD_CREATING_PHASE_BUILD = 2; + POD_CREATING_PHASE_POST_CREATE = 3; + POD_CREATING_PHASE_UPDATE_CONTENT = 4; + POD_CREATING_PHASE_POST_START = 5; + POD_CREATING_PHASE_QUEUED = 6; +} + +// Copied from: local:anyrun.v1.PodCreatingStatus (var: jau) +message PodCreatingStatus { + PodCreatingPhase phase = 1; +} + +// Copied from: local:anyrun.v1.PodDiskUsage (var: U) +message PodDiskUsage { + string device = 1; + uint64 usage_bytes = 2; + uint64 limit_bytes = 3; + string path = 4; +} + +// Copied from: local:anyrun.v1.PodErrorEvent (var: Cau) +message PodErrorEvent { + string error_message = 1; +} + +// Copied from: local:anyrun.v1.PodEvent (var: rDi) +message PodEvent { + uint64 creation_timestamp = 49; + oneof payload { + PodErrorEvent error = 26; + string debug_event = 1; + google.protobuf.Empty hydration_started = 43; + HydrationProgress hydration_progress = 44; + google.protobuf.Empty hydration_completed = 45; + google.protobuf.Empty clone_started = 31; + google.protobuf.Empty clone_completed = 32; + CloneStarted clone_started_v2 = 51; + CloneCompleted clone_completed_v2 = 52; + google.protobuf.Empty checkout_started = 33; + google.protobuf.Empty checkout_completed = 34; + string build_started = 2; + string build_status_message = 3; + BuildStepStarted build_step_started = 27; + BuildStatusLine build_status_line = 28; + InternalBuildMessage internal_build_message = 29; + int32 build_exit_code = 30; + string prepare_stdout = 14; + string prepare_stderr = 15; + int64 prepare_exit_code = 16; + InstallCommand install_command = 50; + string install_stdout = 17; + string install_stderr = 18; + int64 install_exit_code = 19; + string verify_stdout = 46; + string verify_stderr = 47; + int64 verify_exit_code = 48; + string start_stdout = 6; + string start_stderr = 7; + int64 start_exit_code = 8; + FeatureOutput extension_install_stdout = 20; + FeatureOutput extension_install_stderr = 21; + FeatureExitCode extension_install_exit_code = 22; + google.protobuf.Empty snapshot_started = 35; + google.protobuf.Empty snapshot_completed = 36; + google.protobuf.Empty creation_completed = 9; + string post_start_stdout = 10; + string post_start_stderr = 11; + int64 post_start_exit_code = 12; + FeatureOutput extension_start_stdout = 23; + FeatureOutput extension_start_stderr = 24; + FeatureExitCode extension_start_exit_code = 25; + google.protobuf.Empty startup_completed = 13; + ImagePullStarted image_pull_started = 37; + ImagePullLayerUpdate image_pull_layer_update = 38; + ImagePullStatusUpdate image_pull_status_update = 39; + ImagePullCompleted image_pull_completed = 40; + PodIdentity blocked_repo_state = 41; + google.protobuf.Empty acquired_repo_state = 42; + google.protobuf.Empty private_worker_ready = 53; + WaitingForWorkerStatus waiting_for_worker = 54; + SpanStarted span_started = 55; + SpanEnded span_ended = 56; + LifecycleProcessRestarted lifecycle_process_restarted = 57; + LifecycleProcessExited lifecycle_process_exited = 58; + } +} + +// Copied from: local:anyrun.v1.PodFailedStatus (var: Hau) +message PodFailedStatus { + string reason = 1; + optional PodFailureDetails failure_details = 2; +} + +// Copied from: local:anyrun.v1.PodFailureDetails (var: Vau) +message PodFailureDetails { + oneof details { + InstallCommandFailure install_command_failure = 1; + DockerBuildFailure docker_build_failure = 2; + GitCloneFailure git_clone_failure = 3; + GitCheckoutFailure git_checkout_failure = 4; + ContainerWaitFailure container_wait_failure = 5; + ImagePullFailure image_pull_failure = 6; + } +} + +// Copied from: local:anyrun.v1.PodFilter (var: an) +message PodFilter { + optional string pod_id = 1; + map labels = 2; +} + +// Copied from: local:anyrun.v1.PodIdentity (var: vau) +message PodIdentity { + string tenant_id = 1; + string pod_id = 2; +} + +// Copied from: local:anyrun.v1.PodMemoryBreakdown (var: O) +message PodMemoryBreakdown { + uint64 all_process_rss_bytes = 1; + uint64 process_rss_count = 2; + optional uint64 cgroup_anon_bytes = 3; + optional uint64 cgroup_file_bytes = 4; + optional uint64 cgroup_kernel_bytes = 5; +} + +// Copied from: local:anyrun.v1.PodMeshLink (var: nn) +message PodMeshLink { + string target_pod_id = 1; + string virtual_ip = 2; +} + +// Copied from: local:anyrun.v1.PodMetricsSample (var: D) +message PodMetricsSample { + uint64 cpu_usage_mcores = 1; + uint64 cpu_limit_mcores = 2; + uint64 memory_usage_bytes = 3; + uint64 memory_limit_bytes = 4; + uint64 cgroup_memory_current_bytes = 5; + uint64 cgroup_memory_max_bytes = 6; + uint64 oom_kill_count = 7; + uint64 pids_current = 8; + uint64 pids_max = 9; + uint64 process_count = 10; + uint64 new_procs_this_interval = 12; + uint64 procs_seen_total = 13; + map process_state_counts = 14; + map top_procs_by_name = 15; + repeated TopProcess top_procs = 16; + double memory_psi_full_avg10 = 17; + int64 oom_victim_pid = 18; + string oom_victim_comm = 19; + uint64 oom_victim_rss_kb = 20; + repeated PodDiskUsage disk_usage_by_device = 21; + uint64 event_stream_subscribers_fell_behind_total = 22; + double cpu_psi_some_avg10 = 23; + PodMemoryBreakdown memory_breakdown = 24; +} + +// Copied from: local:anyrun.v1.PodPorts (var: Zt) +message PodPorts { + repeated PortDefinition ports = 1; + optional DefaultPortConfig default_port_config = 2; +} + +// Copied from: local:anyrun.v1.PodRunningStatus (var: Wau) +message PodRunningStatus { + optional uint64 missed_heartbeat_deadline = 1; +} + +// Copied from: local:anyrun.v1.PodStartCacheSource (var: S) +enum PodStartCacheSource { + POD_START_CACHE_SOURCE_UNSPECIFIED = 0; + POD_START_CACHE_SOURCE_NODE_LOCAL_FIRECRACKER_SNAPSHOT = 1; + POD_START_CACHE_SOURCE_REMOTE_ROOTAR_CHECKPOINT = 2; + POD_START_CACHE_SOURCE_NODE_LOCAL_CLOUD_HYPERVISOR_SNAPSHOT = 3; +} + +// Copied from: local:anyrun.v1.PodStatus (var: wLs) +message PodStatus { + oneof status { + PodCreatingStatus creating = 1; + PodRunningStatus running = 2; + PodFailedStatus failed = 3; + PodTerminatedStatus terminated = 4; + } +} + +// Copied from: local:anyrun.v1.PodTerminatedStatus (var: zau) +message PodTerminatedStatus { + string reason = 1; + optional uint32 exit_code = 2; +} + +// Copied from: local:anyrun.v1.PodUpdate (var: on) +message PodUpdate { + optional string event_id = 1; + oneof update { + PodCollection initial = 2; + Pod added = 3; + Pod updated = 4; + Pod removed = 5; + } +} + +// Copied from: local:anyrun.v1.PortDefinition (var: Oe) +message PortDefinition { + string name = 1; + uint32 port = 2; + oneof authentication { + google.protobuf.Empty open = 5; + google.protobuf.Empty token = 6; + } + oneof visibility { + google.protobuf.Empty public = 3; + google.protobuf.Empty private = 4; + } +} + +// Copied from: local:anyrun.v1.PortState (var: en) +message PortState { + string port_name = 1; + uint32 container_port = 2; + uint32 host_port = 3; + oneof authentication { + google.protobuf.Empty open = 6; + google.protobuf.Empty token = 7; + } + oneof visibility { + google.protobuf.Empty public = 4; + google.protobuf.Empty private = 5; + } +} + +// Copied from: local:anyrun.v1.PrivateWorkerWaitReason (var: bBe) +enum PrivateWorkerWaitReason { + PRIVATE_WORKER_WAIT_REASON_UNSPECIFIED = 0; + PRIVATE_WORKER_WAIT_REASON_NO_CONNECTED_WORKERS = 1; + PRIVATE_WORKER_WAIT_REASON_LABEL_MISMATCH = 2; + PRIVATE_WORKER_WAIT_REASON_OWNER_FILTERED = 3; + PRIVATE_WORKER_WAIT_REASON_SHARED_ASSIGNMENT_FILTERED = 4; + PRIVATE_WORKER_WAIT_REASON_ALL_BUSY = 5; +} + +// Copied from: local:anyrun.v1.ProcessEvent (var: z) +message ProcessEvent { + string event_id = 1; + oneof data { + StdoutData stdout = 2; + StderrData stderr = 3; + ProcessExited exited = 4; + ProcessRestarted restarted = 5; + } +} + +// Copied from: local:anyrun.v1.ProcessExited (var: te) +message ProcessExited { + int32 exit_code = 1; +} + +// Copied from: local:anyrun.v1.ProcessRestarted (var: ne) +message ProcessRestarted { + uint32 attempt = 1; + int32 previous_exit_code = 2; + RestartReason reason = 3; +} + +// Copied from: local:anyrun.v1.ProcessSupervision (var: j) +message ProcessSupervision { + RestartPolicy restart_policy = 1; + optional RestartBackoff backoff = 2; + optional HttpHealthCheck health_check = 3; + optional string exclusive_group = 4; +} + +// Copied from: local:anyrun.v1.ProgressDetail (var: yLs) +message ProgressDetail { + uint64 current = 1; + uint64 total = 2; +} + +// Copied from: local:anyrun.v1.ReadBinaryFileRequest (var: me) +message ReadBinaryFileRequest { + string path = 1; +} + +// Copied from: local:anyrun.v1.ReadBinaryFileResponse (var: ce) +message ReadBinaryFileResponse { + bytes content = 1; +} + +// Copied from: local:anyrun.v1.ReadTextFileRequest (var: ie) +message ReadTextFileRequest { + string path = 1; +} + +// Copied from: local:anyrun.v1.ReadTextFileResponse (var: ae) +message ReadTextFileResponse { + string content = 1; +} + +// Copied from: local:anyrun.v1.RegistryCredentials (var: gt) +message RegistryCredentials { + string registry_url = 1; + string username = 2; + string password = 3; +} + +// Copied from: local:anyrun.v1.ResourceLimits (var: Ge) +message ResourceLimits { + optional uint64 cpu_mcores = 1; + optional uint64 memory_mb = 2; + optional uint64 disk_mb = 3; + optional uint64 swap_mb = 4; +} + +// Copied from: local:anyrun.v1.ResourceRequests (var: Qe) +message ResourceRequests { + uint64 cpu_mcores = 1; + uint64 memory_mb = 2; + uint64 disk_mb = 3; + uint64 gpu_count = 4; +} + +// Copied from: local:anyrun.v1.RestartBackoff (var: X) +message RestartBackoff { + uint32 initial_ms = 1; + uint32 max_ms = 2; + double multiplier = 3; + uint32 reset_after_healthy_ms = 4; +} + +// Copied from: local:anyrun.v1.RestartPolicy (var: r) +enum RestartPolicy { + RESTART_POLICY_UNSPECIFIED = 0; + RESTART_POLICY_NEVER = 1; + RESTART_POLICY_ON_FAILURE = 2; + RESTART_POLICY_ALWAYS = 3; +} + +// Copied from: local:anyrun.v1.RestartReason (var: gau) +enum RestartReason { + RESTART_REASON_UNSPECIFIED = 0; + RESTART_REASON_PROCESS_EXITED = 1; + RESTART_REASON_HEALTH_CHECK_FAILED = 2; +} + +// Copied from: local:anyrun.v1.RootArchiveCompressionAlgorithm (var: T) +enum RootArchiveCompressionAlgorithm { + ROOT_ARCHIVE_COMPRESSION_ALGORITHM_NONE = 0; + ROOT_ARCHIVE_COMPRESSION_ALGORITHM_ZSTD = 1; +} + +// Copied from: local:anyrun.v1.RootArchiveFormat (var: _) +enum RootArchiveFormat { + ROOT_ARCHIVE_FORMAT_UNSPECIFIED = 0; + ROOT_ARCHIVE_FORMAT_EXT4 = 1; + ROOT_ARCHIVE_FORMAT_SQUASHFS = 2; + ROOT_ARCHIVE_FORMAT_EROFS = 3; +} + +// Copied from: local:anyrun.v1.RootArchivePayloadSummary (var: St) +message RootArchivePayloadSummary { + uint64 logical_payload_length = 1; + RootArchiveCompressionAlgorithm compression_algorithm = 2; + uint64 compression_block_size = 3; +} + +// Copied from: local:anyrun.v1.RuntimeStatePersistentState (var: zt) +message RuntimeStatePersistentState { + map command_handlers = 1; +} + +// Copied from: local:anyrun.v1.ScmConfig (var: Et) +message ScmConfig { + // Copied from: local:anyrun.v1.ScmConfig.AuthMethod (var: k) + enum AuthMethod { + AUTH_METHOD_UNSPECIFIED = 0; + AUTH_METHOD_BASIC = 1; + AUTH_METHOD_BEARER = 2; + } + + string domain = 1; + string auth_value = 2; + string proxy_url = 3; + AuthMethod auth_method = 4; +} + +// Copied from: local:anyrun.v1.Snapshot (var: yn) +message Snapshot { + string snapshot_id = 1; + uint32 resource_version = 2; + string name = 3; + map labels = 4; + uint64 creation_timestamp = 5; + optional uint64 deletion_timestamp = 6; + optional uint64 deletion_duration_ms = 12; + optional uint64 archive_timestamp = 14; + optional uint64 archive_duration_ms = 15; + string tenant_id = 7; + string pod_id = 8; + optional PersistedDevContainerConfig pod_config = 13; + SnapshotState state = 9; + ImageMetadata image_metadata = 10; + BlobStorageFormat blob_storage_format = 11; + optional string node_machine_type = 16; + optional ResourceRequests resource_requests = 17; + optional ResourceLimits resource_limits = 18; + optional string cpu_baseline_id = 19; + optional SnapshotUsageStats usage_stats = 20; + optional uint64 object_size_bytes = 21; + optional V4RootArchiveOptions v4_root_archive_options = 22; + optional string failure_reason = 23; + optional CaptureFailureDetails failure_details = 24; +} + +// Copied from: local:anyrun.v1.SnapshotCategory (var: C) +enum SnapshotCategory { + SNAPSHOT_CATEGORY_EXPLICIT_FORMAT = 0; + SNAPSHOT_CATEGORY_FULL_VM = 1; +} + +// Copied from: local:anyrun.v1.SnapshotCollection (var: kn) +message SnapshotCollection { + repeated Snapshot items = 1; + optional string next_cursor = 2; +} + +// Copied from: local:anyrun.v1.SnapshotDriveArtifactFile (var: Sn) +message SnapshotDriveArtifactFile { + string artifact_reference = 1; + repeated SnapshotFileChunk file_chunks = 2; + uint64 file_size = 3; +} + +// Copied from: local:anyrun.v1.SnapshotExtraDriveFile (var: En) +message SnapshotExtraDriveFile { + string drive_id = 1; + repeated SnapshotFileChunk file_chunks = 2; + uint64 file_size = 3; +} + +// Copied from: local:anyrun.v1.SnapshotFileChunk (var: wn) +message SnapshotFileChunk { + uint64 blob_begin = 1; + uint64 blob_end = 2; + uint64 file_begin = 3; + uint64 file_end = 4; + string hash = 5; +} + +// Copied from: local:anyrun.v1.SnapshotMemoryCell (var: vn) +message SnapshotMemoryCell { + uint64 blob_begin = 1; + uint64 blob_end = 2; +} + +// Copied from: local:anyrun.v1.SnapshotMemoryCellAttributes (var: Bn) +message SnapshotMemoryCellAttributes { + uint64 chunk_index = 1; + optional bytes hash = 2; +} + +// Copied from: local:anyrun.v1.SnapshotMemoryHashAlgorithm (var: N) +enum SnapshotMemoryHashAlgorithm { + SNAPSHOT_MEMORY_HASH_ALGORITHM_UNSPECIFIED = 0; + SNAPSHOT_MEMORY_HASH_ALGORITHM_SHA256 = 1; + SNAPSHOT_MEMORY_HASH_ALGORITHM_BLAKE3 = 2; +} + +// Copied from: local:anyrun.v1.SnapshotMemoryPrefetchHint (var: Jn) +message SnapshotMemoryPrefetchHint { + uint32 version = 1; + bytes payload = 2; +} + +// Copied from: local:anyrun.v1.SnapshotState (var: kLs) +enum SnapshotState { + SNAPSHOT_STATE_UNSPECIFIED = 0; + SNAPSHOT_STATE_CREATING = 1; + SNAPSHOT_STATE_READY = 2; + SNAPSHOT_STATE_FAILED = 3; + SNAPSHOT_STATE_FINALIZING = 4; +} + +// Copied from: local:anyrun.v1.SnapshotUsageStats (var: He) +message SnapshotUsageStats { + uint64 max_memory_bytes = 1; + uint64 avg_cpu_mcores = 2; + uint32 sample_count = 3; + uint64 last_updated_timestamp = 4; + optional uint64 max_cache_adjusted_memory_bytes = 5; + uint32 cache_adjusted_sample_count = 6; +} + +// Copied from: local:anyrun.v1.SnapshotVmSnapshotV1Metadata (var: In) +message SnapshotVmSnapshotV1Metadata { + repeated SnapshotFileChunk rootfs_file_chunks = 1; + uint64 rootfs_file_size = 2; + SnapshotFileChunk memory_file_chunk = 3; + SnapshotFileChunk state_file_chunk = 4; + SnapshotFileChunk kernel_file_chunk = 5; + IsoDevContainerMetadata dev_container_metadata = 6; + repeated SnapshotExtraDriveFile extra_drive_files = 7; + repeated SnapshotDriveArtifactFile drive_artifact_files = 8; +} + +// Copied from: local:anyrun.v1.SnapshotVmSnapshotV2Metadata (var: Cn) +message SnapshotVmSnapshotV2Metadata { + repeated SnapshotFileChunk rootfs_file_chunks = 1; + uint64 rootfs_file_size = 2; + repeated SnapshotMemoryCell memory_cells = 3; + uint64 memory_file_size = 4; + uint64 memory_cell_size = 5; + SnapshotFileChunk state_file_chunk = 6; + SnapshotFileChunk kernel_file_chunk = 7; + IsoDevContainerMetadata dev_container_metadata = 8; + repeated SnapshotExtraDriveFile extra_drive_files = 9; + optional SnapshotMemoryPrefetchHint memory_prefetch_hint = 10; + SnapshotMemoryHashAlgorithm memory_hash_algorithm = 11; + repeated SnapshotMemoryCellAttributes memory_cell_attrs = 12; + repeated SnapshotDriveArtifactFile drive_artifact_files = 13; +} + +// Copied from: local:anyrun.v1.SpanEnded (var: Sau) +message SpanEnded { + string span_id = 1; +} + +// Copied from: local:anyrun.v1.SpanStarted (var: yau) +message SpanStarted { + string span_id = 1; + string name = 2; + optional string parent_span_id = 3; + optional string href = 5; +} + +// Copied from: local:anyrun.v1.StderrData (var: ee) +message StderrData { + bytes data = 1; +} + +// Copied from: local:anyrun.v1.StdoutData (var: Z) +message StdoutData { + bytes data = 1; +} + +// Copied from: local:anyrun.v1.StreamMetricsRequest (var: F) +message StreamMetricsRequest { +} + +// Copied from: local:anyrun.v1.TarGzipUrlSourceReference (var: Xe) +message TarGzipUrlSourceReference { + string name = 1; + string url = 2; +} + +// Copied from: local:anyrun.v1.TarRepoSourceReference (var: ze) +message TarRepoSourceReference { + string name = 1; + bytes tar_archive = 2; +} + +// Copied from: local:anyrun.v1.TopProcess (var: x) +message TopProcess { + int64 pid = 1; + int64 ppid = 2; + string comm = 3; + string state = 4; + uint64 rss_kb = 5; + uint64 threads = 6; + uint64 num_fds = 7; + uint64 cpu_ticks_delta = 8; +} + +// Copied from: local:anyrun.v1.UploadPriority (var: c) +enum UploadPriority { + UPLOAD_PRIORITY_UNSPECIFIED = 0; + UPLOAD_PRIORITY_P0 = 1; + UPLOAD_PRIORITY_P1 = 2; + UPLOAD_PRIORITY_P2 = 3; +} + +// Copied from: local:anyrun.v1.V4RootArchiveOptions (var: It) +message V4RootArchiveOptions { + RootArchiveFormat format = 1; + optional RootArchivePayloadSummary payload_summary = 2; +} + +// Copied from: local:anyrun.v1.WaitingForWorkerStatus (var: wau) +message WaitingForWorkerStatus { + int32 retry_count = 1; + int32 max_retries = 2; + PrivateWorkerWaitReason wait_reason = 3; +} + +// Copied from: local:anyrun.v1.WarmForkMode (var: Oau) +enum WarmForkMode { + WARM_FORK_MODE_UNSPECIFIED = 0; + WARM_FORK_MODE_NONE = 1; + WARM_FORK_MODE_FORKED = 2; + WARM_FORK_MODE_COLD_FALLBACK = 3; + WARM_FORK_MODE_LAZY_LOAD = 4; + WARM_FORK_MODE_COLD_FALLBACK_LAZY_LOAD = 5; +} + +// Copied from: local:anyrun.v1.WorkspaceConfig (var: $t) +message WorkspaceConfig { + oneof config { + string absolute = 1; + string workdir_relative = 2; + } +} + +// Copied from: local:anyrun.v1.WorkspaceGitSetupMode (var: Nau) +enum WorkspaceGitSetupMode { + WORKSPACE_GIT_SETUP_MODE_UNSPECIFIED = 0; + WORKSPACE_GIT_SETUP_MODE_REUSE = 1; + WORKSPACE_GIT_SETUP_MODE_REUSE_THEN_CHECKOUT = 2; + WORKSPACE_GIT_SETUP_MODE_NO_REPO = 3; +} + +// Copied from: local:anyrun.v1.WritableFilesystem (var: w) +enum WritableFilesystem { + WRITABLE_FILESYSTEM_UNSPECIFIED = 0; + WRITABLE_FILESYSTEM_EXT4 = 1; +} + +// Copied from: local:anyrun.v1.WriteBinaryFileRequest (var: de) +message WriteBinaryFileRequest { + string path = 1; + bytes content = 2; +} + +// Copied from: local:anyrun.v1.WriteBinaryFileResponse (var: pe) +message WriteBinaryFileResponse { +} + +// Copied from: local:anyrun.v1.WriteTextFileRequest (var: le) +message WriteTextFileRequest { + string path = 1; + string content = 2; +} + +// Copied from: local:anyrun.v1.WriteTextFileResponse (var: ue) +message WriteTextFileResponse { +} + diff --git a/cursor-proto/proto/git_forge_v1.proto b/cursor-proto/proto/git_forge_v1.proto new file mode 100644 index 0000000..ba4dd7d --- /dev/null +++ b/cursor-proto/proto/git_forge_v1.proto @@ -0,0 +1,929 @@ +syntax = "proto3"; + +package git_forge.v1; + +option go_package = "github.com/leookun/cursor-byok/cursor-proto/gen/git_forge/v1;git_forgev1"; + +// Copied from: local:git_forge.v1.BatchGetBlobOidsRequest (var: Gn) +message BatchGetBlobOidsRequest { + string repo_uuid = 1; + string revision = 2; + repeated string paths = 3; +} + +// Copied from: local:git_forge.v1.BatchGetBlobOidsResponse (var: Vn) +message BatchGetBlobOidsResponse { + repeated BlobOidResult results = 1; + string resolved_commit_sha = 2; +} + +// Copied from: local:git_forge.v1.BatchGetCommitMetadataRequest (var: Ut) +message BatchGetCommitMetadataRequest { + string repo_uuid = 1; + repeated string revisions = 2; +} + +// Copied from: local:git_forge.v1.BatchGetCommitMetadataResponse (var: Gt) +message BatchGetCommitMetadataResponse { + repeated BatchGetCommitMetadataResult results = 1; +} + +// Copied from: local:git_forge.v1.BatchGetCommitMetadataResult (var: Qt) +message BatchGetCommitMetadataResult { + string revision = 1; + CommitMetadata metadata = 2; +} + +// Copied from: local:git_forge.v1.BatchGetRepoContentRequest (var: Un) +message BatchGetRepoContentRequest { + string repo_uuid = 1; + string revision = 2; + repeated string paths = 3; + optional uint64 max_file_size = 4; +} + +// Copied from: local:git_forge.v1.BatchGetRepoContentResponse (var: Qn) +message BatchGetRepoContentResponse { + repeated BatchRepoContentResult results = 1; + string resolved_commit_sha = 2; +} + +// Copied from: local:git_forge.v1.BatchRepoContentResult (var: xn) +message BatchRepoContentResult { + string path = 1; + bool found = 2; + oneof content { + FileContent file_content = 3; + DirectoryContent directory_content = 4; + } +} + +// Copied from: local:git_forge.v1.BlameChunk (var: GSv) +message BlameChunk { + repeated ShortCommit commits = 1; + repeated BlameLineRange line_ranges = 2; +} + +// Copied from: local:git_forge.v1.BlameLineRange (var: VSv) +message BlameLineRange { + bytes commit_sha = 1; + uint32 start_in_blamed_file = 2; + uint32 len = 3; +} + +// Copied from: local:git_forge.v1.BlobOidResult (var: Hn) +message BlobOidResult { + string path = 1; + bool found = 2; + string blob_oid = 3; +} + +// Copied from: local:git_forge.v1.BranchDeletion (var: Or) +message BranchDeletion { + string target_ref = 1; + string expected_head_sha = 2; +} + +// Copied from: local:git_forge.v1.CanMergeRequest (var: on) +message CanMergeRequest { + string repo_uuid = 1; + string ours = 2; + string theirs = 3; + uint64 change_number = 4; + MergeMode mode = 7; + bool use_git_conflict_semantics = 8; +} + +// Copied from: local:git_forge.v1.CanMergeResponse (var: LSv) +message CanMergeResponse { + bool can_merge_without_conflicts = 1; + optional bytes merged_tree_sha = 2; + repeated string conflicted_paths = 3; +} + +// Copied from: local:git_forge.v1.ChangeKind (var: TQd) +enum ChangeKind { + CHANGE_KIND_UNSPECIFIED = 0; + CHANGE_KIND_ADDED = 1; + CHANGE_KIND_DELETED = 2; + CHANGE_KIND_MODIFIED = 3; + CHANGE_KIND_RENAMED = 4; + CHANGE_KIND_COPIED = 5; +} + +// Copied from: local:git_forge.v1.Commit (var: azi) +message Commit { + string sha = 1; + string message = 2; + Signature author = 3; + Signature committer = 4; + repeated string parent_shas = 5; + string tree_sha = 7; + optional string change_id = 8; +} + +// Copied from: local:git_forge.v1.CommitDiffChunk (var: rwv) +message CommitDiffChunk { + optional CommitDiffHeader header = 1; + repeated DiffEntry entries = 3; +} + +// Copied from: local:git_forge.v1.CommitDiffHeader (var: iwv) +message CommitDiffHeader { + Commit commit = 1; + optional string base_commit_sha = 2; + CommitDiffStats stats = 3; + bool has_more = 5; + optional string next_page_cursor = 6; + repeated DiffEntry entries = 7; +} + +// Copied from: local:git_forge.v1.CommitDiffStats (var: owv) +message CommitDiffStats { + uint32 files_changed = 1; + int32 additions = 2; + int32 deletions = 3; +} + +// Copied from: local:git_forge.v1.CommitFileDelete (var: OSv) +message CommitFileDelete { +} + +// Copied from: local:git_forge.v1.CommitFileMode (var: kSv) +enum CommitFileMode { + COMMIT_FILE_MODE_UNSPECIFIED = 0; + COMMIT_FILE_MODE_REGULAR = 1; + COMMIT_FILE_MODE_EXECUTABLE = 2; + COMMIT_FILE_MODE_SYMLINK = 3; +} + +// Copied from: local:git_forge.v1.CommitFileOperation (var: FSv) +message CommitFileOperation { + string path = 1; + oneof operation { + CommitFileUpsert upsert = 2; + CommitFileDelete delete = 3; + } +} + +// Copied from: local:git_forge.v1.CommitFileUpsert (var: NSv) +message CommitFileUpsert { + bytes content = 1; + CommitFileMode mode = 2; +} + +// Copied from: local:git_forge.v1.CommitMetadata (var: xt) +message CommitMetadata { + string sha = 1; + Signature author = 2; + Signature committer = 3; + string message = 4; +} + +// Copied from: local:git_forge.v1.CompareCommitsRequest (var: rn) +message CompareCommitsRequest { + string repo_uuid = 1; + string base_revision = 2; + string head_revision = 3; +} + +// Copied from: local:git_forge.v1.CompareCommitsResponse (var: PSv) +message CompareCommitsResponse { + CompareCommitsStatus status = 1; + int32 ahead_by = 2; + int32 behind_by = 3; + string base_commit_sha = 4; + string head_commit_sha = 5; + string merge_base_commit_sha = 6; +} + +// Copied from: local:git_forge.v1.CompareCommitsStatus (var: wSv) +enum CompareCommitsStatus { + COMPARE_COMMITS_STATUS_UNSPECIFIED = 0; + COMPARE_COMMITS_STATUS_IDENTICAL = 1; + COMPARE_COMMITS_STATUS_AHEAD = 2; + COMPARE_COMMITS_STATUS_BEHIND = 3; + COMPARE_COMMITS_STATUS_DIVERGED = 4; +} + +// Copied from: local:git_forge.v1.ComputeMergeCommitRequest (var: mn) +message ComputeMergeCommitRequest { + string repo_uuid = 1; + string ours_sha = 2; + string theirs_sha = 3; + string message = 4; + Signature author = 5; + Signature committer = 6; + MergeMode mode = 7; +} + +// Copied from: local:git_forge.v1.ComputeMergeCommitResponse (var: cn) +message ComputeMergeCommitResponse { + string merge_commit_sha = 1; + bytes packfile = 2; +} + +// Copied from: local:git_forge.v1.CreateBranchRequest (var: Qr) +message CreateBranchRequest { + string repo_uuid = 1; + string target_ref = 2; + string new_head_sha = 3; +} + +// Copied from: local:git_forge.v1.CreateBranchResponse (var: Gr) +message CreateBranchResponse { + string new_head_sha = 1; + string wal_entry_key = 2; + bool unchanged = 3; +} + +// Copied from: local:git_forge.v1.CreateCommitFromFilesRequest (var: En) +message CreateCommitFromFilesRequest { + string repo_uuid = 1; + string target_ref = 2; + optional string expected_head_sha = 3; + string message = 4; + Signature author = 5; + optional Signature committer = 6; + repeated CommitFileOperation files = 7; +} + +// Copied from: local:git_forge.v1.CreateCommitFromFilesResponse (var: Sn) +message CreateCommitFromFilesResponse { + string commit_sha = 1; + string tree_sha = 2; + string old_head_sha = 3; + string wal_entry_key = 4; +} + +// Copied from: local:git_forge.v1.CreateMergeCommitRequest (var: ln) +message CreateMergeCommitRequest { + string repo_uuid = 1; + optional string ours_sha = 2; + optional string theirs_sha = 3; + string ours_ref = 4; + string theirs_ref = 5; + string message = 6; + Signature author = 7; + Signature committer = 8; + uint64 change_number = 9; + MergeMode mode = 10; +} + +// Copied from: local:git_forge.v1.CreateMergeCommitResponse (var: un) +message CreateMergeCommitResponse { + string merge_commit_sha = 1; + string wal_entry_key = 2; +} + +// Copied from: local:git_forge.v1.CreateRepoRequest (var: kr) +message CreateRepoRequest { + string repo_uuid = 1; +} + +// Copied from: local:git_forge.v1.CreateRepoResponse (var: wr) +message CreateRepoResponse { +} + +// Copied from: local:git_forge.v1.CreateRevertBranchConflict (var: Jn) +message CreateRevertBranchConflict { + repeated string conflicted_paths = 1; +} + +// Copied from: local:git_forge.v1.CreateRevertBranchRequest (var: In) +message CreateRevertBranchRequest { + string repo_uuid = 1; + string commit_sha = 2; + string base_ref = 3; + string branch_ref = 4; + string message = 5; + Signature author = 6; + optional Signature committer = 7; +} + +// Copied from: local:git_forge.v1.CreateRevertBranchResponse (var: vn) +message CreateRevertBranchResponse { + oneof result { + CreateRevertBranchSuccess success = 1; + CreateRevertBranchConflict conflict = 2; + } +} + +// Copied from: local:git_forge.v1.CreateRevertBranchSuccess (var: Bn) +message CreateRevertBranchSuccess { + string revert_commit_sha = 1; + string base_sha = 2; + string wal_entry_key = 3; +} + +// Copied from: local:git_forge.v1.DeleteBranchesRequest (var: Ur) +message DeleteBranchesRequest { + string repo_uuid = 1; + repeated BranchDeletion branches = 2; +} + +// Copied from: local:git_forge.v1.DeleteBranchesResponse (var: xr) +message DeleteBranchesResponse { + uint32 deleted_count = 1; + uint32 missing_count = 2; + string wal_entry_key = 3; + bool unchanged = 4; +} + +// Copied from: local:git_forge.v1.DiffEntry (var: czi) +message DiffEntry { + string path = 1; + optional string old_path = 2; + ChangeKind change_kind = 3; + optional FileMode old_mode = 4; + optional FileMode new_mode = 5; + optional string old_sha = 6; + optional string new_sha = 7; + optional FileStats stats = 8; + optional string patch = 9; + optional bool is_generated = 10; +} + +// Copied from: local:git_forge.v1.DiffHeader (var: swv) +message DiffHeader { + string merge_base_commit_sha = 1; + bool has_more = 4; + optional string next_page_cursor = 5; + repeated DiffEntry entries = 6; +} + +// Copied from: local:git_forge.v1.DirectoryContent (var: BSv) +message DirectoryContent { + repeated RepoContentEntry entries = 1; + string sha = 2; +} + +// Copied from: local:git_forge.v1.FastForwardRefRequest (var: Fr) +message FastForwardRefRequest { + string repo_uuid = 1; + string target_ref = 2; + string expected_head_sha = 3; + string new_head_sha = 4; +} + +// Copied from: local:git_forge.v1.FastForwardRefResponse (var: Dr) +message FastForwardRefResponse { + string old_head_sha = 1; + string new_head_sha = 2; + string wal_entry_key = 3; + bool unchanged = 4; +} + +// Copied from: local:git_forge.v1.FileContent (var: IQd) +message FileContent { + string size = 1; + string encoding = 2; + string content = 3; + string sha = 4; +} + +// Copied from: local:git_forge.v1.FileHistoryCommitEntry (var: HSv) +message FileHistoryCommitEntry { + ShortCommit commit = 1; + optional string diff_base_commit_sha = 2; + optional FileStats path_stats = 8; +} + +// Copied from: local:git_forge.v1.FileHistoryWithDiffStatsChunk (var: er) +message FileHistoryWithDiffStatsChunk { + repeated FileHistoryCommitEntry entries = 1; + bool exhausted = 2; + bool scan_truncated = 3; + optional string resume_commit_sha = 4; +} + +// Copied from: local:git_forge.v1.FileMode (var: xQd) +enum FileMode { + FILE_MODE_UNSPECIFIED = 0; + FILE_MODE_REGULAR = 1; + FILE_MODE_EXECUTABLE = 2; + FILE_MODE_SYMLINK = 3; + FILE_MODE_GITLINK = 4; +} + +// Copied from: local:git_forge.v1.FileStats (var: DQd) +message FileStats { + int32 additions = 1; + int32 deletions = 2; + bool is_binary = 3; +} + +// Copied from: local:git_forge.v1.GetBlameRequest (var: nr) +message GetBlameRequest { + string repo_uuid = 1; + string start_commit_sha = 2; + string path = 3; +} + +// Copied from: local:git_forge.v1.GetBlobRequest (var: Ht) +message GetBlobRequest { + string repo_uuid = 1; + string blob_sha = 2; +} + +// Copied from: local:git_forge.v1.GetBlobResponse (var: xSv) +message GetBlobResponse { + FileContent blob = 1; +} + +// Copied from: local:git_forge.v1.GetCommitDiffRequest (var: Ir) +message GetCommitDiffRequest { + string repo_uuid = 1; + string commit_sha = 2; + optional string base_commit_sha = 3; + bool include_patches = 4; + repeated string paths = 5; + optional uint32 page_size = 6; + optional string page_cursor = 7; +} + +// Copied from: local:git_forge.v1.GetCommitRequest (var: Dt) +message GetCommitRequest { + string repo_uuid = 1; + string commit_sha = 2; +} + +// Copied from: local:git_forge.v1.GetCommitResponse (var: ESv) +message GetCommitResponse { + Commit commit = 1; +} + +// Copied from: local:git_forge.v1.GetDefaultBranchRequest (var: qn) +message GetDefaultBranchRequest { + string repo_uuid = 1; +} + +// Copied from: local:git_forge.v1.GetDefaultBranchResponse (var: Fn) +message GetDefaultBranchResponse { + string default_branch = 1; +} + +// Copied from: local:git_forge.v1.GetFileHistoryPageWithDiffStatsResponse (var: zSv) +message GetFileHistoryPageWithDiffStatsResponse { + repeated FileHistoryCommitEntry entries = 1; + bool has_more = 2; + optional string next_cursor = 3; +} + +// Copied from: local:git_forge.v1.GetFileHistoryRequest (var: zn) +message GetFileHistoryRequest { + string repo_uuid = 1; + string start_commit_sha = 2; + optional string path = 3; + uint32 max_commits = 4; +} + +// Copied from: local:git_forge.v1.GetFileHistoryResponse (var: WSv) +message GetFileHistoryResponse { + repeated ShortCommit commits = 1; +} + +// Copied from: local:git_forge.v1.GetFileHistoryWithDiffStatsRequest (var: Xn) +message GetFileHistoryWithDiffStatsRequest { + string repo_uuid = 1; + string start_commit_sha = 2; + optional string path = 3; + uint32 max_commits = 4; + optional string next_cursor = 5; + bool include_diff_stats = 6; + optional uint32 max_commits_scanned = 7; +} + +// Copied from: local:git_forge.v1.GetFileHistoryWithDiffStatsResponse (var: Zn) +message GetFileHistoryWithDiffStatsResponse { + repeated FileHistoryCommitEntry entries = 1; + bool has_more = 2; + optional string next_cursor = 3; +} + +// Copied from: local:git_forge.v1.GetFuzzyPathsRequest (var: lr) +message GetFuzzyPathsRequest { + string repo_uuid = 1; + string commit_sha = 2; + string query = 3; + uint32 limit = 4; +} + +// Copied from: local:git_forge.v1.GetFuzzyPathsResponse (var: QSv) +message GetFuzzyPathsResponse { + repeated string paths = 1; + bool has_more = 2; +} + +// Copied from: local:git_forge.v1.GetLocalDevInfoRequest (var: qt) +message GetLocalDevInfoRequest { +} + +// Copied from: local:git_forge.v1.GetLocalDevInfoResponse (var: Ft) +message GetLocalDevInfoResponse { + string repo_uuid = 1; + string git_forge_root_dir = 2; +} + +// Copied from: local:git_forge.v1.GetPullRequestDiffRequest (var: Er) +message GetPullRequestDiffRequest { + string repo_uuid = 1; + string head_commit_sha = 2; + string base_commit_sha = 3; + optional bool include_patches = 4; + optional uint32 page_size = 5; + optional string page_cursor = 6; + optional bool include_file_stats = 7; + optional bool include_generated = 8; +} + +// Copied from: local:git_forge.v1.GetRepoContentDetailsRequest (var: Kn) +message GetRepoContentDetailsRequest { + string repo_uuid = 1; + PathIdentifier path_identifier = 2; +} + +// Copied from: local:git_forge.v1.GetRepoContentDetailsResponse (var: jSv) +message GetRepoContentDetailsResponse { + optional RepoContentDetails details = 1; + PathIdentifier path_identifier = 2; + string resolved_commit_sha = 3; +} + +// Copied from: local:git_forge.v1.GetRepoContentRequest (var: Dn) +message GetRepoContentRequest { + string repo_uuid = 1; + optional uint64 max_file_size = 4; + oneof id { + PathIdentifier path_identifier = 2; + string ref_and_path = 3; + } +} + +// Copied from: local:git_forge.v1.GetRepoContentResponse (var: RQd) +message GetRepoContentResponse { + PathIdentifier path_identifier = 3; + string resolved_commit_sha = 4; + oneof content { + FileContent file_content = 1; + DirectoryContent directory_content = 2; + } +} + +// Copied from: local:git_forge.v1.GetTagRequest (var: Yt) +message GetTagRequest { + string repo_uuid = 1; + string tag_sha = 2; +} + +// Copied from: local:git_forge.v1.GetTagResponse (var: TSv) +message GetTagResponse { + Tag tag = 1; +} + +// Copied from: local:git_forge.v1.GetTreeBlameRequest (var: or) +message GetTreeBlameRequest { + string repo_uuid = 1; + string start_commit_sha = 2; + string path = 3; +} + +// Copied from: local:git_forge.v1.GetTreeBlameResponse (var: KSv) +message GetTreeBlameResponse { + repeated TreeEntryBlame entries = 1; +} + +// Copied from: local:git_forge.v1.GetTreeRequest (var: Wt) +message GetTreeRequest { + string repo_uuid = 1; + string tree_sha = 2; + bool recursive = 3; +} + +// Copied from: local:git_forge.v1.GetTreeResponse (var: ASv) +message GetTreeResponse { + Tree tree = 1; +} + +// Copied from: local:git_forge.v1.GrepLineKind (var: CSv) +enum GrepLineKind { + GREP_LINE_KIND_UNSPECIFIED = 0; + GREP_LINE_KIND_MATCH = 1; + GREP_LINE_KIND_CONTEXT = 2; +} + +// Copied from: local:git_forge.v1.GrepMatch (var: JSv) +message GrepMatch { + string path = 1; + string lines = 2; + uint32 line_number = 3; + uint64 absolute_offset = 4; + repeated GrepSubmatch submatches = 5; + GrepLineKind kind = 6; +} + +// Copied from: local:git_forge.v1.GrepRepoChunk (var: ewv) +message GrepRepoChunk { + repeated GrepMatch matches = 1; + bool limit_hit = 2; +} + +// Copied from: local:git_forge.v1.GrepRepoRequest (var: pr) +message GrepRepoRequest { + string repo_uuid = 1; + string revision = 2; + string query = 3; + GrepSearchOptions options = 4; + uint32 max_results = 5; +} + +// Copied from: local:git_forge.v1.GrepSearchOptions (var: ZSv) +message GrepSearchOptions { + bool literal = 1; + bool case_insensitive = 2; + bool whole_word = 3; + uint32 context_before = 4; + uint32 context_after = 5; + optional uint64 max_lines = 6; + optional string filter_path = 7; + repeated string includes = 8; + repeated string excludes = 9; +} + +// Copied from: local:git_forge.v1.GrepSubmatch (var: XSv) +message GrepSubmatch { + uint32 start = 1; + uint32 end = 2; +} + +// Copied from: local:git_forge.v1.ListCommitsInRangeRequest (var: tn) +message ListCommitsInRangeRequest { + string repo_uuid = 1; + string base_revision = 2; + string head_revision = 3; + optional int32 max_commits = 4; + bool oldest_first = 5; + ListCommitsSort sort = 6; +} + +// Copied from: local:git_forge.v1.ListCommitsInRangeResponse (var: MSv) +message ListCommitsInRangeResponse { + repeated Commit commits = 1; + string base_commit_sha = 2; + string head_commit_sha = 3; + string merge_base_commit_sha = 4; + bool truncated = 5; +} + +// Copied from: local:git_forge.v1.ListCommitsRequest (var: Zt) +message ListCommitsRequest { + string repo_uuid = 1; + string revision = 2; + int32 page = 3; + int32 per_page = 4; + ListCommitsSort sort = 5; +} + +// Copied from: local:git_forge.v1.ListCommitsResponse (var: en) +message ListCommitsResponse { + repeated Commit commits = 1; + optional int32 next_page = 2; +} + +// Copied from: local:git_forge.v1.ListCommitsSort (var: k) +enum ListCommitsSort { + LIST_COMMITS_SORT_UNSPECIFIED = 0; + LIST_COMMITS_SORT_COMMIT_TIME = 1; + LIST_COMMITS_SORT_TOPOLOGICAL = 2; +} + +// Copied from: local:git_forge.v1.ListRefsFilter (var: AQd) +enum ListRefsFilter { + LIST_REFS_FILTER_UNSPECIFIED = 0; + LIST_REFS_FILTER_ALL = 1; + LIST_REFS_FILTER_BRANCHES = 2; + LIST_REFS_FILTER_TAGS = 3; +} + +// Copied from: local:git_forge.v1.ListRefsRequest (var: Pr) +message ListRefsRequest { + string repo_uuid = 1; + ListRefsFilter filter = 2; + bool names_only = 3; + string prefix = 4; + optional uint32 limit = 5; + optional string page_token = 7; +} + +// Copied from: local:git_forge.v1.ListRefsResponse (var: awv) +message ListRefsResponse { + repeated string refs = 1; + repeated RefInfo ref_infos = 2; + optional string next_page_token = 5; +} + +// Copied from: local:git_forge.v1.ListTreePathsRequest (var: mr) +message ListTreePathsRequest { + string repo_uuid = 1; + string revision = 2; + repeated string includes = 3; + repeated string excludes = 4; + uint32 limit = 5; +} + +// Copied from: local:git_forge.v1.ListTreePathsResponse (var: YSv) +message ListTreePathsResponse { + repeated string paths = 1; + bool has_more = 2; +} + +// Copied from: local:git_forge.v1.MergeMode (var: EQd) +enum MergeMode { + MERGE_MODE_UNSPECIFIED = 0; + MERGE_MODE_MERGE_COMMIT = 1; + MERGE_MODE_SQUASH = 2; +} + +// Copied from: local:git_forge.v1.NotifyRepoPushedRequest (var: Ar) +message NotifyRepoPushedRequest { + string repo_uuid = 1; +} + +// Copied from: local:git_forge.v1.NotifyRepoPushedResponse (var: _r) +message NotifyRepoPushedResponse { +} + +// Copied from: local:git_forge.v1.PathIdentifier (var: B$t) +message PathIdentifier { + string revision = 1; + string path = 2; +} + +// Copied from: local:git_forge.v1.PrepareChangeMergeRequest (var: dn) +message PrepareChangeMergeRequest { + string repo_uuid = 1; + string base_ref = 2; + string head_ref = 3; + uint64 change_number = 4; + optional string expected_base_sha = 5; + optional string expected_head_sha = 6; + MergeMode mode = 7; +} + +// Copied from: local:git_forge.v1.PrepareChangeMergeResponse (var: pn) +message PrepareChangeMergeResponse { + bool mergeable = 1; + optional string merged_tree_sha = 2; + optional string change_merge_ref = 3; + optional string dummy_commit_sha = 4; +} + +// Copied from: local:git_forge.v1.PullRequestDiffChunk (var: nwv) +message PullRequestDiffChunk { + optional DiffHeader header = 1; + repeated DiffEntry entries = 3; +} + +// Copied from: local:git_forge.v1.RebaseStackBranch (var: gn) +message RebaseStackBranch { + string head_ref = 1; + string expected_old_oid = 2; + optional string replay_base_oid = 3; +} + +// Copied from: local:git_forge.v1.RebaseStackBranchUpdate (var: _n) +message RebaseStackBranchUpdate { + string head_ref = 1; + string old_oid = 2; + string new_oid = 3; +} + +// Copied from: local:git_forge.v1.RebaseStackConflict (var: Tn) +message RebaseStackConflict { + string conflicted_head_ref = 1; + repeated string conflicted_paths = 2; +} + +// Copied from: local:git_forge.v1.RebaseStackRequest (var: fn) +message RebaseStackRequest { + string repo_uuid = 1; + string onto_ref = 2; + optional string expected_onto_oid = 3; + repeated RebaseStackBranch branches = 4; + bool dry_run = 5; +} + +// Copied from: local:git_forge.v1.RebaseStackResponse (var: hn) +message RebaseStackResponse { + oneof result { + RebaseStackSuccess success = 1; + RebaseStackConflict conflict = 2; + } +} + +// Copied from: local:git_forge.v1.RebaseStackSuccess (var: An) +message RebaseStackSuccess { + string wal_entry_key = 1; + repeated RebaseStackBranchUpdate updates = 2; +} + +// Copied from: local:git_forge.v1.RefInfo (var: MQd) +message RefInfo { + string name = 1; + string target_sha = 2; + string object_sha = 3; + string object_type = 4; +} + +// Copied from: local:git_forge.v1.RepoContentDetails (var: $Sv) +message RepoContentDetails { + string type = 1; + optional uint64 size = 2; + bool is_binary = 3; + bool too_large_to_introspect = 4; +} + +// Copied from: local:git_forge.v1.RepoContentEntry (var: twv) +message RepoContentEntry { + string type = 1; + string name = 2; + string path = 3; + string sha = 4; + optional uint64 size = 5; +} + +// Copied from: local:git_forge.v1.ResolveRefPathRequest (var: Mn) +message ResolveRefPathRequest { + string repo_uuid = 1; + string ref_path = 2; +} + +// Copied from: local:git_forge.v1.ResolveRefPathResponse (var: USv) +message ResolveRefPathResponse { + PathIdentifier path_identifier = 1; + string resolved_commit_sha = 2; +} + +// Copied from: local:git_forge.v1.SearchRefsRequest (var: Lr) +message SearchRefsRequest { + string repo_uuid = 1; + ListRefsFilter filter = 2; + string query = 3; + optional uint32 limit = 4; +} + +// Copied from: local:git_forge.v1.SearchRefsResponse (var: cwv) +message SearchRefsResponse { + repeated RefInfo ref_infos = 1; + bool exact_match = 2; +} + +// Copied from: local:git_forge.v1.ShortCommit (var: fMn) +message ShortCommit { + bytes sha = 1; + string summary = 2; + string author_name = 3; + string author_email = 4; + int64 timestamp = 5; +} + +// Copied from: local:git_forge.v1.Signature (var: o_t) +message Signature { + string name = 1; + string email = 2; + int64 timestamp = 3; + int32 timezone_offset = 4; +} + +// Copied from: local:git_forge.v1.Tag (var: DSv) +message Tag { + string sha = 1; + string name = 2; + string message = 3; + Signature tagger = 4; + string object_sha = 5; + string object_type = 6; +} + +// Copied from: local:git_forge.v1.Tree (var: ISv) +message Tree { + string sha = 1; + repeated TreeEntry tree = 2; + bool truncated = 3; +} + +// Copied from: local:git_forge.v1.TreeEntry (var: RSv) +message TreeEntry { + string path = 1; + string mode = 2; + string type = 3; + string sha = 4; + optional uint64 size = 5; +} + +// Copied from: local:git_forge.v1.TreeEntryBlame (var: qSv) +message TreeEntryBlame { + string name = 1; + ShortCommit last_commit = 2; +} + diff --git a/cursor-proto/proto/internapi_v1.proto b/cursor-proto/proto/internapi_v1.proto new file mode 100644 index 0000000..94eedb0 --- /dev/null +++ b/cursor-proto/proto/internapi_v1.proto @@ -0,0 +1,41 @@ +syntax = "proto3"; + +package internapi.v1; + +option go_package = "github.com/leookun/cursor-byok/cursor-proto/gen/internapi/v1;internapiv1"; + +// Copied from: local:internapi.v1.BlobData (var: RLs) +message BlobData { + BlobType blob_type = 1; + bytes blob_id = 2; + int32 index = 3; + oneof type_specific_data { + ImageBlobData image_data = 4; + } +} + +// Copied from: local:internapi.v1.BlobDataPerMessage (var: ocu) +message BlobDataPerMessage { + repeated BlobData blob_data = 1; +} + +// Copied from: local:internapi.v1.BlobType (var: rcu) +enum BlobType { + BLOB_TYPE_UNSPECIFIED = 0; + BLOB_TYPE_IMAGE = 1; + BLOB_TYPE_INVOCATION_CONTEXT = 2; + BLOB_TYPE_EXTRA_CONTEXT = 3; + BLOB_TYPE_GIT_PR_DIFF_SELECTION = 4; + BLOB_TYPE_SELECTED_PULL_REQUEST = 5; + BLOB_TYPE_TEXT = 6; + BLOB_TYPE_RICH_TEXT = 7; + BLOB_TYPE_EXTERNAL_LINK_PDF = 8; + BLOB_TYPE_DOCUMENT = 9; + BLOB_TYPE_VIDEO = 10; +} + +// Copied from: local:internapi.v1.ImageBlobData (var: scu) +message ImageBlobData { + string mime_type = 1; +} + diff --git a/cursor-proto/proto/origin_v1.proto b/cursor-proto/proto/origin_v1.proto new file mode 100644 index 0000000..e84cd65 --- /dev/null +++ b/cursor-proto/proto/origin_v1.proto @@ -0,0 +1,4326 @@ +syntax = "proto3"; + +package origin.v1; + +import "google/protobuf/struct.proto"; +import "google/protobuf/timestamp.proto"; + +option go_package = "github.com/leookun/cursor-byok/cursor-proto/gen/origin/v1;originv1"; + +// Copied from: local:origin.v1.ActorWithDisplay (var: x4e) +message ActorWithDisplay { + string id = 1; + string kind = 2; + string display_name = 3; + string avatar_url = 4; +} + +// Copied from: local:origin.v1.AddAppSigningKeyRequest (var: L1v) +message AddAppSigningKeyRequest { + string app_id = 1; + string public_key = 2; +} + +// Copied from: local:origin.v1.AddAppSigningKeyResponse (var: N1v) +message AddAppSigningKeyResponse { + AppSigningKey key = 1; +} + +// Copied from: local:origin.v1.AddAssigneeRequest (var: Vkv) +message AddAssigneeRequest { + ChangeIdentifier change = 1; + oneof target { + string auth_id = 2; + string group_id = 3; + int64 cursor_user_id = 4; + int64 cursor_group_id = 5; + } +} + +// Copied from: local:origin.v1.AddAssigneeResponse (var: Gkv) +message AddAssigneeResponse { + ChangeAssignment assignment = 1; +} + +// Copied from: local:origin.v1.AddCommentToThreadRequest (var: t0v) +message AddCommentToThreadRequest { + ChangeIdentifier change = 1; + string thread_id = 2; + string body = 3; +} + +// Copied from: local:origin.v1.AddCommentToThreadResponse (var: n0v) +message AddCommentToThreadResponse { + Comment comment = 1; +} + +// Copied from: local:origin.v1.AddLabelToChangeRequest (var: uxv) +message AddLabelToChangeRequest { + ChangeIdentifier change = 1; + string label_id = 2; +} + +// Copied from: local:origin.v1.AddLabelToChangeResponse (var: dxv) +message AddLabelToChangeResponse { +} + +// Copied from: local:origin.v1.AddSshPublicKeyRequest (var: fSv) +message AddSshPublicKeyRequest { + string public_key = 1; + string name = 2; +} + +// Copied from: local:origin.v1.AddSshPublicKeyResponse (var: vSv) +message AddSshPublicKeyResponse { + SshPublicKey ssh_public_key = 1; +} + +// Copied from: local:origin.v1.App (var: yMn) +message App { + string id = 1; + string slug = 2; + string display_name = 3; + string webhook_url = 4; + bool is_public = 6; + string namespace_slug = 7; + repeated string events = 8; + string created_at = 10; + string updated_at = 11; + repeated string installation_redirect_uris = 12; + string icon_url = 13; + string description = 14; + string website_url = 15; + repeated string default_scopes = 16; +} + +// Copied from: local:origin.v1.AppDefaultScopesReplace (var: Z1v) +message AppDefaultScopesReplace { + repeated string scopes = 1; +} + +// Copied from: local:origin.v1.AppDisplayMetadata (var: iYd) +message AppDisplayMetadata { + string id = 1; + string slug = 2; + string display_name = 3; + optional string icon_url = 4; + optional string description = 5; +} + +// Copied from: local:origin.v1.AppEventsReplace (var: Q1v) +message AppEventsReplace { + repeated string events = 1; +} + +// Copied from: local:origin.v1.AppInstallationRedirectUrisReplace (var: Y1v) +message AppInstallationRedirectUrisReplace { + repeated string installation_redirect_uris = 1; +} + +// Copied from: local:origin.v1.AppMetadata (var: aEv) +message AppMetadata { + string id = 1; + string slug = 2; + string display_name = 3; + string namespace_slug = 4; + string icon_url = 5; + string description = 6; + string website_url = 7; + repeated string default_scopes = 8; + string install_redirect_uri = 9; +} + +// Copied from: local:origin.v1.AppSigningKey (var: nYd) +message AppSigningKey { + string kid = 1; + string created_at = 2; +} + +// Copied from: local:origin.v1.AppStats (var: tYd) +message AppStats { + uint32 installation_count = 1; +} + +// Copied from: local:origin.v1.ApplyReviewRequestChangesRequest (var: Ukv) +message ApplyReviewRequestChangesRequest { + ChangeIdentifier change = 1; + repeated ReviewRequestTarget additions = 2; + repeated ReviewRequestTarget removals = 3; +} + +// Copied from: local:origin.v1.ApplyReviewRequestChangesResponse (var: $kv) +message ApplyReviewRequestChangesResponse { +} + +// Copied from: local:origin.v1.AtlasFreshness (var: oYd) +enum AtlasFreshness { + ATLAS_FRESHNESS_UNSPECIFIED = 0; + ATLAS_FRESHNESS_EAGER = 1; + ATLAS_FRESHNESS_BALANCED = 2; + ATLAS_FRESHNESS_RELAXED = 3; + ATLAS_FRESHNESS_MANUAL = 4; +} + +// Copied from: local:origin.v1.AtlasLayerStatus (var: OEv) +message AtlasLayerStatus { + string layer = 1; + string label = 2; + bool enabled = 3; + int32 generated_nodes = 4; + int32 pending_nodes = 5; + string last_gen_at = 6; +} + +// Copied from: local:origin.v1.AtlasNodeLayerContent (var: LEv) +message AtlasNodeLayerContent { + string layer = 1; + string label = 2; + string content_markdown = 3; + string digest_json = 4; + string status = 5; + string last_gen_at = 6; +} + +// Copied from: local:origin.v1.AuthPolicyAppliesTo (var: $yv) +enum AuthPolicyAppliesTo { + AUTH_POLICY_APPLIES_TO_UNSPECIFIED = 0; + AUTH_POLICY_APPLIES_TO_REPOSITORY = 1; + AUTH_POLICY_APPLIES_TO_NAMESPACE = 2; +} + +// Copied from: local:origin.v1.AuthPolicyStatement (var: jyv) +message AuthPolicyStatement { + string resource_kind = 1; + string action = 2; +} + +// Copied from: local:origin.v1.AuthPolicySummary (var: wQd) +message AuthPolicySummary { + string name = 1; + string display_name = 2; + string description = 3; + AuthPolicyAppliesTo applies_to = 4; + bool is_origin_managed = 5; + bool is_custom = 6; + repeated AuthPolicyStatement statements = 7; + int32 user_facing_scope_count = 8; +} + +// Copied from: local:origin.v1.AuthorizedNamespace (var: Uyv) +message AuthorizedNamespace { + OriginNamespace namespace = 1; + AuthorizedNamespaceAccessReason access_reason = 2; +} + +// Copied from: local:origin.v1.AuthorizedNamespaceAccessReason (var: G_v) +enum AuthorizedNamespaceAccessReason { + AUTHORIZED_NAMESPACE_ACCESS_REASON_UNSPECIFIED = 0; + AUTHORIZED_NAMESPACE_ACCESS_REASON_TEAM_OWNERSHIP = 1; + AUTHORIZED_NAMESPACE_ACCESS_REASON_USER_OWNERSHIP = 2; +} + +// Copied from: local:origin.v1.BatchGetChangesRequest (var: uCv) +message BatchGetChangesRequest { + ClientRepoIdentifier identifier = 1; + repeated uint64 change_numbers = 2; + repeated string head_refs = 3; +} + +// Copied from: local:origin.v1.BatchGetChangesResponse (var: dCv) +message BatchGetChangesResponse { + repeated ChangeWithLatestVersion changes = 1; +} + +// Copied from: git_forge.v1.BlameChunk (var: GSv) +message BlameChunk { + repeated ShortCommit commits = 1; + repeated BlameLineRange line_ranges = 2; +} + +// Copied from: git_forge.v1.BlameLineRange (var: VSv) +message BlameLineRange { + bytes commit_sha = 1; + uint32 start_in_blamed_file = 2; + uint32 len = 3; +} + +// Copied from: local:origin.v1.BuildkiteBranchFilters (var: fEv) +message BuildkiteBranchFilters { + repeated string patterns = 1; +} + +// Copied from: local:origin.v1.BuildkiteTrigger (var: Mpo) +message BuildkiteTrigger { + string id = 1; + ClientRepoIdentifier repo = 2; + string buildkite_org_slug = 3; + string pipeline_slug = 4; + bool enabled = 5; + bool trigger_on_prs = 6; + repeated string branch_filters = 7; +} + +// Copied from: local:origin.v1.CanMergeClientRequest (var: Nwv) +message CanMergeClientRequest { + ClientRepoIdentifier identifier = 1; + string ours = 2; + string theirs = 3; +} + +// Copied from: git_forge.v1.CanMergeResponse (var: LSv) +message CanMergeResponse { + bool can_merge_without_conflicts = 1; + optional bytes merged_tree_sha = 2; + repeated string conflicted_paths = 3; +} + +// Copied from: local:origin.v1.Change (var: Vce) +message Change { + string id = 1; + string repo_uuid = 2; + uint64 number = 3; + string title = 4; + string description = 5; + string head_ref = 6; + string base_ref = 7; + string author_id = 8; + ChangeStatus status = 9; + google.protobuf.Timestamp created_at = 10; + google.protobuf.Timestamp updated_at = 11; + optional google.protobuf.Timestamp merged_at = 12; + optional google.protobuf.Timestamp closed_at = 13; + optional string parent_change_id = 14; + optional string stack_id = 15; + optional string merge_commit_sha = 16; + string author_kind = 17; + string author_display_name = 18; + string author_avatar_url = 19; + optional string merged_by_id = 20; + optional string merged_by_kind = 21; + ActorWithDisplay author = 22; + ActorWithDisplay merged_by = 23; +} + +// Copied from: local:origin.v1.ChangeAssignment (var: bMn) +message ChangeAssignment { + string id = 1; + string change_id = 2; + ChangeAssignmentKind kind = 3; + string assigned_auth_id = 4; + string assigned_group_id = 5; + ChangeAssignmentCreatedVia created_via = 6; + string created_by_auth_id = 7; + google.protobuf.Timestamp created_at = 8; + google.protobuf.Timestamp updated_at = 9; + int64 cursor_user_id = 10; + int64 cursor_group_id = 11; + OriginReviewerCandidateUser assigned_user = 12; + OriginReviewerCandidateGroup assigned_group = 13; +} + +// Copied from: local:origin.v1.ChangeAssignmentCreatedVia (var: LQd) +enum ChangeAssignmentCreatedVia { + CHANGE_ASSIGNMENT_CREATED_VIA_UNSPECIFIED = 0; + CHANGE_ASSIGNMENT_CREATED_VIA_HUMAN = 1; + CHANGE_ASSIGNMENT_CREATED_VIA_CODEOWNERS = 2; + CHANGE_ASSIGNMENT_CREATED_VIA_SYSTEM = 3; +} + +// Copied from: local:origin.v1.ChangeAssignmentKind (var: PQd) +enum ChangeAssignmentKind { + CHANGE_ASSIGNMENT_KIND_UNSPECIFIED = 0; + CHANGE_ASSIGNMENT_KIND_REVIEW_REQUEST = 1; + CHANGE_ASSIGNMENT_KIND_ASSIGNEE = 2; +} + +// Copied from: local:origin.v1.ChangeIdentifier (var: Zf) +message ChangeIdentifier { + ClientRepoIdentifier identifier = 1; + uint64 change_number = 2; +} + +// Copied from: git_forge.v1.ChangeKind (var: TQd) +enum ChangeKind { + CHANGE_KIND_UNSPECIFIED = 0; + CHANGE_KIND_ADDED = 1; + CHANGE_KIND_DELETED = 2; + CHANGE_KIND_MODIFIED = 3; + CHANGE_KIND_RENAMED = 4; + CHANGE_KIND_COPIED = 5; +} + +// Copied from: local:origin.v1.ChangeLabel (var: Zkv) +message ChangeLabel { + string id = 1; + string name = 2; + string color = 3; + optional string description = 4; +} + +// Copied from: local:origin.v1.ChangeMergeWhenReady (var: HQd) +message ChangeMergeWhenReady { + string id = 1; + string change_id = 2; + string repo_uuid = 3; + uint64 change_number = 4; + string enabling_user_id = 5; + string status = 6; + string source = 7; + string trunk_branch = 8; + optional google.protobuf.Timestamp lock_expires_at = 9; + int32 consecutive_failed_attempts = 10; + bool dev = 11; + optional string repo_org = 12; + optional string repo_name = 13; +} + +// Copied from: local:origin.v1.ChangeStackPageItem (var: I1v) +message ChangeStackPageItem { + Change change = 1; + repeated Version versions = 2; + repeated ChangeAssignment assignments = 3; + repeated Review reviews = 4; + GetChangesetMergeabilityResponse mergeability = 5; + int32 total_thread_count = 6; + int32 unresolved_thread_count = 7; +} + +// Copied from: local:origin.v1.ChangeStatus (var: xpo) +enum ChangeStatus { + CHANGE_STATUS_UNSPECIFIED = 0; + CHANGE_STATUS_DRAFT = 1; + CHANGE_STATUS_OPEN = 2; + CHANGE_STATUS_MERGED = 3; + CHANGE_STATUS_CLOSED = 4; +} + +// Copied from: local:origin.v1.ChangeSyncTarget (var: c_t) +message ChangeSyncTarget { + ClientRepoIdentifier identifier = 1; + uint64 change_number = 2; +} + +// Copied from: local:origin.v1.ChangeWithLatestVersion (var: BQd) +message ChangeWithLatestVersion { + Change change = 1; + optional Version latest_version = 2; +} + +// Copied from: local:origin.v1.ChangesetMergeBlocker (var: JQd) +message ChangesetMergeBlocker { + string kind = 1; + optional ChangesetRuleEvaluation rule_failure = 2; + optional string merge_ref_sha = 3; + optional string base_tip_sha_at_computation = 4; + optional string current_base_tip_sha = 5; + optional string ruleset_id = 6; + optional string rule_id = 7; + optional string enforcement = 8; + optional string message = 9; + optional uint64 change_number = 10; + optional string merge_commit_oid = 11; + repeated uint64 merged_change_numbers = 12; + repeated uint64 open_change_numbers = 13; + optional uint64 top_change_number = 14; + optional uint64 downstack_change_number = 15; + optional string top_head_sha = 16; + optional string downstack_head_sha = 17; + optional string compare_status = 18; + optional string topology_reason = 19; + optional string root_base_ref = 20; + repeated string conflicted_paths = 21; + optional bool conflict_inherited_from_downstack = 22; + optional string recorded_base_sha = 23; + optional string target_base_ref = 24; +} + +// Copied from: local:origin.v1.ChangesetMergeability (var: ZQd) +message ChangesetMergeability { + string verdict = 1; + repeated ChangesetRuleEvaluation evaluations = 2; + repeated ChangesetMergeBlocker blockers = 3; + repeated ChangesetRuleConfigurationDiagnostic configuration_diagnostics = 4; +} + +// Copied from: local:origin.v1.ChangesetRuleActionableSignal (var: o1v) +message ChangesetRuleActionableSignal { + string kind = 1; + repeated string check_names = 2; + optional int32 required_count = 3; + optional int32 actual_count = 4; + repeated string owner_labels = 5; + repeated string paths = 6; +} + +// Copied from: local:origin.v1.ChangesetRuleConfigurationDiagnostic (var: a1v) +message ChangesetRuleConfigurationDiagnostic { + string kind = 1; + string severity = 2; + string message = 3; + optional string ruleset_id = 4; + optional string rule_id = 5; + optional string bypass_actor_id = 6; + optional string enforcement = 7; +} + +// Copied from: local:origin.v1.ChangesetRuleEvaluation (var: XQd) +message ChangesetRuleEvaluation { + string rule_type = 1; + string ruleset_id = 2; + string ruleset_name = 3; + string rule_id = 4; + string enforcement = 5; + string result = 6; + string message = 7; + string category = 8; + repeated ChangesetRuleViolation violations = 9; +} + +// Copied from: local:origin.v1.ChangesetRuleViolation (var: s1v) +message ChangesetRuleViolation { + string rule_type = 1; + string detail = 2; + optional string remediation = 3; + optional ChangesetRuleActionableSignal actionable_signal = 4; +} + +// Copied from: local:origin.v1.CheckChangeCreationAccessRequest (var: KCv) +message CheckChangeCreationAccessRequest { + ClientRepoIdentifier identifier = 1; +} + +// Copied from: local:origin.v1.CheckChangeCreationAccessResponse (var: QCv) +message CheckChangeCreationAccessResponse { +} + +// Copied from: local:origin.v1.CheckRunActor (var: GQd) +message CheckRunActor { + string kind = 1; + string id = 2; + string display_name = 3; + string slug = 4; + string icon_url = 5; +} + +// Copied from: local:origin.v1.CheckRunConclusion (var: VQd) +enum CheckRunConclusion { + CHECK_RUN_CONCLUSION_UNSPECIFIED = 0; + success = 1; + failure = 2; + neutral = 3; + cancelled = 4; + skipped = 5; + timed_out = 6; + action_required = 7; + stale = 8; +} + +// Copied from: local:origin.v1.CheckRunGroup (var: QQd) +message CheckRunGroup { + string id = 1; + string name = 2; + optional string app_name = 3; + optional string details_url = 4; + repeated CheckRunStatus check_runs = 5; + CheckRunActor actor = 6; + string external_id = 7; +} + +// Copied from: local:origin.v1.CheckRunGroupInput (var: J0v) +message CheckRunGroupInput { + string key = 1; + string name = 2; + string external_id = 3; + optional string details_url = 4; +} + +// Copied from: local:origin.v1.CheckRunInput (var: e1v) +message CheckRunInput { + string key = 1; + string name = 2; + string external_id = 3; + CheckRunLifecycleStatus status = 4; + optional CheckRunConclusion conclusion = 5; + int64 external_updated_at_unix_ms = 6; + optional int64 started_at_unix_ms = 7; + optional int64 completed_at_unix_ms = 8; + optional string details_url = 10; + optional CheckRunOutput output = 11; +} + +// Copied from: local:origin.v1.CheckRunLifecycleStatus (var: zQd) +enum CheckRunLifecycleStatus { + CHECK_RUN_LIFECYCLE_STATUS_UNSPECIFIED = 0; + queued = 1; + in_progress = 2; + completed = 3; +} + +// Copied from: local:origin.v1.CheckRunOutput (var: qQd) +message CheckRunOutput { + optional string title = 1; + optional string summary = 2; + optional string text = 3; +} + +// Copied from: local:origin.v1.CheckRunStatus (var: KQd) +message CheckRunStatus { + string id = 1; + string name = 2; + optional string details_url = 4; + CheckRunLifecycleStatus status = 5; + optional CheckRunConclusion conclusion = 6; + optional int64 started_at_unix_ms = 7; + optional int64 completed_at_unix_ms = 8; + string external_id = 9; + optional bool required = 10; + optional CheckRunOutput output = 11; +} + +// Copied from: local:origin.v1.CiState (var: Z0v) +message CiState { + repeated CheckRunGroup check_run_groups = 1; +} + +// Copied from: local:origin.v1.ClaimInboundMirrorGithubMergeOperationRequest (var: g1v) +message ClaimInboundMirrorGithubMergeOperationRequest { + ChangeIdentifier change = 1; + string requested_merge_method = 2; + optional string commit_title = 3; + optional string commit_message = 4; + string initiated_by_user_id = 5; + bool include_stack = 6; +} + +// Copied from: local:origin.v1.ClaimInboundMirrorGithubMergeOperationResponse (var: f1v) +message ClaimInboundMirrorGithubMergeOperationResponse { + InboundMirrorGithubMergeOperation operation = 1; + bool lease_acquired = 2; + InboundMirrorMergeStack merge_stack = 3; +} + +// Copied from: local:origin.v1.ClientRepoIdentifier (var: Fd) +message ClientRepoIdentifier { + string org = 1; + string name = 2; +} + +// Copied from: local:origin.v1.CloseReviewRequestRequest (var: Hkv) +message CloseReviewRequestRequest { + ChangeIdentifier change = 1; + oneof target { + string auth_id = 2; + string group_id = 3; + int64 cursor_user_id = 4; + int64 cursor_group_id = 5; + } +} + +// Copied from: local:origin.v1.CloseReviewRequestResponse (var: zkv) +message CloseReviewRequestResponse { +} + +// Copied from: local:origin.v1.CodeownersOwners (var: fwv) +message CodeownersOwners { + repeated string owners = 1; +} + +// Copied from: local:origin.v1.CollectedFileDiff (var: zwv) +message CollectedFileDiff { + string path = 1; + optional string old_path = 2; + ChangeKind change_kind = 3; + bool is_binary = 4; + string patch = 5; + int32 additions = 6; + int32 deletions = 7; + optional bool is_generated = 8; +} + +// Copied from: local:origin.v1.Comment (var: vMn) +message Comment { + string id = 1; + string change_id = 2; + string version_id = 3; + uint64 version_number = 4; + string author_id = 5; + string body = 6; + google.protobuf.Timestamp created_at = 7; + google.protobuf.Timestamp updated_at = 8; + string thread_id = 9; + string author_kind = 10; + string author_display_name = 11; + string author_avatar_url = 12; + repeated CommentReactionGroup reaction_groups = 13; + ActorWithDisplay author = 14; +} + +// Copied from: local:origin.v1.CommentReaction (var: Skv) +message CommentReaction { + string emoji = 1; + string reactor_id = 2; + string reactor_kind = 3; + string reactor_display_name = 4; + string reactor_avatar_url = 5; + bool viewer_is_reactor = 6; + ActorWithDisplay reactor = 7; +} + +// Copied from: local:origin.v1.CommentReactionGroup (var: ykv) +message CommentReactionGroup { + string emoji = 1; + uint32 count = 2; + bool viewer_has_reacted = 3; +} + +// Copied from: local:origin.v1.CommentSide (var: jQd) +enum CommentSide { + COMMENT_SIDE_UNSPECIFIED = 0; + COMMENT_SIDE_LEFT = 1; + COMMENT_SIDE_RIGHT = 2; +} + +// Copied from: local:origin.v1.CommentThread (var: lzi) +message CommentThread { + string id = 1; + string change_id = 2; + string version_id = 3; + uint64 version_number = 4; + string review_id = 5; + google.protobuf.Timestamp resolved_at = 6; + string resolved_by_id = 7; + string path = 8; + CommentSide side = 9; + uint32 start_line = 10; + uint32 end_line = 11; + string external_id = 12; + google.protobuf.Timestamp created_at = 13; + google.protobuf.Timestamp updated_at = 14; + repeated Comment comments = 15; + string resolved_by_kind = 16; + string resolved_by_display_name = 17; + string resolved_by_avatar_url = 18; + ActorWithDisplay resolved_by = 19; + uint64 ported_to_version_number = 20; + CommentThreadPortingStatus porting_status = 21; + string ported_path = 22; + uint32 ported_start_line = 23; + uint32 ported_end_line = 24; +} + +// Copied from: local:origin.v1.CommentThreadPortingStatus (var: YCv) +enum CommentThreadPortingStatus { + COMMENT_THREAD_PORTING_STATUS_UNSPECIFIED = 0; + COMMENT_THREAD_PORTING_STATUS_PORTED = 1; + COMMENT_THREAD_PORTING_STATUS_ORPHANED = 2; +} + +// Copied from: git_forge.v1.Commit (var: azi) +message Commit { + string sha = 1; + string message = 2; + Signature author = 3; + Signature committer = 4; + repeated string parent_shas = 5; + string tree_sha = 7; + optional string change_id = 8; +} + +// Copied from: local:origin.v1.CommitActorDisplay (var: FQd) +message CommitActorDisplay { + string display_name = 1; + string avatar_url = 2; +} + +// Copied from: local:origin.v1.CommitActorDisplays (var: oCv) +message CommitActorDisplays { + CommitActorDisplay author = 1; + CommitActorDisplay committer = 2; +} + +// Copied from: git_forge.v1.CommitDiffChunk (var: rwv) +message CommitDiffChunk { + optional CommitDiffHeader header = 1; + repeated DiffEntry entries = 3; +} + +// Copied from: git_forge.v1.CommitDiffHeader (var: iwv) +message CommitDiffHeader { + Commit commit = 1; + optional string base_commit_sha = 2; + CommitDiffStats stats = 3; + bool has_more = 5; + optional string next_page_cursor = 6; + repeated DiffEntry entries = 7; +} + +// Copied from: git_forge.v1.CommitDiffStats (var: owv) +message CommitDiffStats { + uint32 files_changed = 1; + int32 additions = 2; + int32 deletions = 3; +} + +// Copied from: git_forge.v1.CommitFileDelete (var: OSv) +message CommitFileDelete { +} + +// Copied from: git_forge.v1.CommitFileMode (var: kSv) +enum CommitFileMode { + COMMIT_FILE_MODE_UNSPECIFIED = 0; + COMMIT_FILE_MODE_REGULAR = 1; + COMMIT_FILE_MODE_EXECUTABLE = 2; + COMMIT_FILE_MODE_SYMLINK = 3; +} + +// Copied from: git_forge.v1.CommitFileOperation (var: FSv) +message CommitFileOperation { + string path = 1; + oneof operation { + CommitFileUpsert upsert = 2; + CommitFileDelete delete = 3; + } +} + +// Copied from: git_forge.v1.CommitFileUpsert (var: NSv) +message CommitFileUpsert { + bytes content = 1; + CommitFileMode mode = 2; +} + +// Copied from: local:origin.v1.CompareCommitsClientRequest (var: Owv) +message CompareCommitsClientRequest { + ClientRepoIdentifier identifier = 1; + string base_revision = 2; + string head_revision = 3; +} + +// Copied from: git_forge.v1.CompareCommitsResponse (var: PSv) +message CompareCommitsResponse { + CompareCommitsStatus status = 1; + int32 ahead_by = 2; + int32 behind_by = 3; + string base_commit_sha = 4; + string head_commit_sha = 5; + string merge_base_commit_sha = 6; +} + +// Copied from: git_forge.v1.CompareCommitsStatus (var: wSv) +enum CompareCommitsStatus { + COMPARE_COMMITS_STATUS_UNSPECIFIED = 0; + COMPARE_COMMITS_STATUS_IDENTICAL = 1; + COMPARE_COMMITS_STATUS_AHEAD = 2; + COMPARE_COMMITS_STATUS_BEHIND = 3; + COMPARE_COMMITS_STATUS_DIVERGED = 4; +} + +// Copied from: local:origin.v1.CreateAppRequest (var: R1v) +message CreateAppRequest { + string slug = 1; + string display_name = 2; + string webhook_url = 3; + string namespace_slug = 6; + string public_key = 7; + repeated string events = 8; + repeated string installation_redirect_uris = 10; + string description = 11; + string website_url = 12; + repeated string default_scopes = 13; +} + +// Copied from: local:origin.v1.CreateAppResponse (var: D1v) +message CreateAppResponse { + App app = 1; +} + +// Copied from: local:origin.v1.CreateChangeRequest (var: Jwv) +message CreateChangeRequest { + ClientRepoIdentifier identifier = 1; + string title = 2; + string description = 3; + string head_ref = 4; + string base_ref = 5; + ChangeStatus status = 6; + ChangeIdentifier parent_change = 7; +} + +// Copied from: local:origin.v1.CreateChangeResponse (var: ekv) +message CreateChangeResponse { + Change change = 1; + Version initial_version = 2; +} + +// Copied from: local:origin.v1.CreateCommentRequest (var: Rkv) +message CreateCommentRequest { + ChangeIdentifier change = 1; + string body = 2; + uint64 version_number = 3; +} + +// Copied from: local:origin.v1.CreateCommentResponse (var: Dkv) +message CreateCommentResponse { + Comment comment = 1; +} + +// Copied from: local:origin.v1.CreateCommentThreadRequest (var: ZCv) +message CreateCommentThreadRequest { + ChangeIdentifier change = 1; + string body = 2; + uint64 version_number = 3; + string path = 4; + CommentSide side = 5; + uint32 start_line = 6; + uint32 end_line = 7; + string review_id = 8; +} + +// Copied from: local:origin.v1.CreateCommentThreadResponse (var: XCv) +message CreateCommentThreadResponse { + CommentThread thread = 1; +} + +// Copied from: local:origin.v1.CreateCommitFromFilesClientRequest (var: $wv) +message CreateCommitFromFilesClientRequest { + ClientRepoIdentifier identifier = 1; + string branch = 2; + optional string expected_head_sha = 3; + string message = 4; + Signature author = 5; + optional Signature committer = 6; + repeated CommitFileOperation files = 7; +} + +// Copied from: local:origin.v1.CreateCommitFromFilesClientResponse (var: jwv) +message CreateCommitFromFilesClientResponse { + string commit_sha = 1; + string tree_sha = 2; + string old_head_sha = 3; + bool reverse_mirror_push_failed = 4; +} + +// Copied from: local:origin.v1.CreateGithubPrForReverseMirroredRepoRequest (var: Wwv) +message CreateGithubPrForReverseMirroredRepoRequest { + ClientRepoIdentifier identifier = 1; + string head_ref = 2; + string title = 3; + string description = 4; +} + +// Copied from: local:origin.v1.CreateGithubPrForReverseMirroredRepoResponse (var: Hwv) +message CreateGithubPrForReverseMirroredRepoResponse { + string pr_url = 1; + int32 pr_number = 2; + bool created = 3; +} + +// Copied from: local:origin.v1.CreateInstallationRequest (var: W1v) +message CreateInstallationRequest { + string app_id = 1; + string namespace_slug = 2; + repeated string repo_ids = 3; + repeated string requested_scopes = 4; + optional string state = 5; +} + +// Copied from: local:origin.v1.CreateInstallationResponse (var: H1v) +message CreateInstallationResponse { + Installation installation = 1; + string installation_receipt = 2; +} + +// Copied from: local:origin.v1.CreateLabelRequest (var: exv) +message CreateLabelRequest { + ClientRepoIdentifier repo = 1; + string name = 2; + string color = 3; + optional string description = 4; +} + +// Copied from: local:origin.v1.CreateLabelResponse (var: txv) +message CreateLabelResponse { + Label label = 1; +} + +// Copied from: local:origin.v1.CreateMergeCommitBypassingChecksClientRequest (var: Bwv) +message CreateMergeCommitBypassingChecksClientRequest { + ClientRepoIdentifier identifier = 1; + optional string ours_sha = 2; + optional string theirs_sha = 3; + string ours_ref = 4; + string theirs_ref = 5; + string message = 6; + Signature author = 7; + Signature committer = 8; + MergeMode mode = 9; +} + +// Copied from: local:origin.v1.CreateMergeCommitBypassingChecksResponse (var: Uwv) +message CreateMergeCommitBypassingChecksResponse { + string merge_commit_sha = 1; + string wal_entry_key = 2; + bool reverse_mirror_push_failed = 3; +} + +// Copied from: local:origin.v1.CreateMirroredRepoRequest (var: X_v) +message CreateMirroredRepoRequest { + GithubRepoIdentifier github_source = 1; + string target_namespace = 2; + optional string forge_environment = 3; + optional RepoKind repo_kind = 4; + optional int64 github_installation_id = 6; +} + +// Copied from: local:origin.v1.CreateOriginNamespaceRequest (var: Eyv) +message CreateOriginNamespaceRequest { + OriginNamespaceOwnerType owner_type = 1; + int64 owner_entity_id = 2; + string namespace = 3; +} + +// Copied from: local:origin.v1.CreateOriginNamespaceResponse (var: xyv) +message CreateOriginNamespaceResponse { + OriginNamespace origin_namespace = 1; +} + +// Copied from: local:origin.v1.CreateRepoRequest (var: bQd) +message CreateRepoRequest { + ClientRepoIdentifier identifier = 1; + optional string default_branch = 2; + optional string forge_environment = 6; + optional RepoKind repo_kind = 7; + optional RepoVisibility visibility = 8; +} + +// Copied from: local:origin.v1.CreateRepoResponse (var: Cpo) +message CreateRepoResponse { + Repo repository = 3; +} + +// Copied from: local:origin.v1.CreateReviewRequest (var: wkv) +message CreateReviewRequest { + ChangeIdentifier change = 1; + ReviewVerdict verdict = 2; + string body = 3; + uint64 version_number = 4; +} + +// Copied from: local:origin.v1.CreateReviewResponse (var: kkv) +message CreateReviewResponse { + Review review = 1; +} + +// Copied from: local:origin.v1.DeleteBuildkiteTriggerRequest (var: kEv) +message DeleteBuildkiteTriggerRequest { + ClientRepoIdentifier repo = 1; + string trigger_id = 2; +} + +// Copied from: local:origin.v1.DeleteBuildkiteTriggerResponse (var: CEv) +message DeleteBuildkiteTriggerResponse { + string trigger_id = 1; +} + +// Copied from: local:origin.v1.DeleteChangeHeadBranchRequest (var: akv) +message DeleteChangeHeadBranchRequest { + ChangeIdentifier change = 1; +} + +// Copied from: local:origin.v1.DeleteChangeHeadBranchResponse (var: ckv) +message DeleteChangeHeadBranchResponse { + bool already_deleted = 1; +} + +// Copied from: local:origin.v1.DeleteCommentRequest (var: l0v) +message DeleteCommentRequest { + string comment_id = 1; +} + +// Copied from: local:origin.v1.DeleteCommentResponse (var: u0v) +message DeleteCommentResponse { +} + +// Copied from: local:origin.v1.DeleteInstallationRequest (var: tEv) +message DeleteInstallationRequest { + string id = 1; +} + +// Copied from: local:origin.v1.DeleteInstallationResponse (var: nEv) +message DeleteInstallationResponse { +} + +// Copied from: local:origin.v1.DeleteLabelRequest (var: rxv) +message DeleteLabelRequest { + ClientRepoIdentifier repo = 1; + string label_id = 2; +} + +// Copied from: local:origin.v1.DeleteLabelResponse (var: sxv) +message DeleteLabelResponse { +} + +// Copied from: local:origin.v1.DeleteMirroredRepoRequest (var: dyv) +message DeleteMirroredRepoRequest { + ClientRepoIdentifier identifier = 1; +} + +// Copied from: local:origin.v1.DeleteMirroredRepoResponse (var: hyv) +message DeleteMirroredRepoResponse { + string repo_uuid = 1; +} + +// Copied from: local:origin.v1.DeleteRepoClientRequest (var: lyv) +message DeleteRepoClientRequest { + ClientRepoIdentifier identifier = 1; +} + +// Copied from: local:origin.v1.DeleteRepoClientResponse (var: uyv) +message DeleteRepoClientResponse { + string repo_uuid = 1; +} + +// Copied from: local:origin.v1.DeleteRulesetRequest (var: XEv) +message DeleteRulesetRequest { + ClientRepoIdentifier repo = 1; + string ruleset_id = 2; +} + +// Copied from: local:origin.v1.DeleteRulesetResponse (var: JEv) +message DeleteRulesetResponse { + string ruleset_id = 1; +} + +// Copied from: local:origin.v1.DeleteSshPublicKeyRequest (var: ySv) +message DeleteSshPublicKeyRequest { + string id = 1; +} + +// Copied from: local:origin.v1.DeleteSshPublicKeyResponse (var: SSv) +message DeleteSshPublicKeyResponse { +} + +// Copied from: local:origin.v1.DeleteVercelTriggerRequest (var: DEv) +message DeleteVercelTriggerRequest { + ClientRepoIdentifier repo = 1; + string trigger_id = 2; +} + +// Copied from: local:origin.v1.DeleteVercelTriggerResponse (var: MEv) +message DeleteVercelTriggerResponse { + string trigger_id = 1; +} + +// Copied from: local:origin.v1.DetachRepoMirrorRequest (var: tyv) +message DetachRepoMirrorRequest { + ClientRepoIdentifier identifier = 1; +} + +// Copied from: local:origin.v1.DetachRepoMirrorResponse (var: nyv) +message DetachRepoMirrorResponse { +} + +// Copied from: git_forge.v1.DiffEntry (var: czi) +message DiffEntry { + string path = 1; + optional string old_path = 2; + ChangeKind change_kind = 3; + optional FileMode old_mode = 4; + optional FileMode new_mode = 5; + optional string old_sha = 6; + optional string new_sha = 7; + optional FileStats stats = 8; + optional string patch = 9; + optional bool is_generated = 10; +} + +// Copied from: git_forge.v1.DiffHeader (var: swv) +message DiffHeader { + string merge_base_commit_sha = 1; + bool has_more = 4; + optional string next_page_cursor = 5; + repeated DiffEntry entries = 6; +} + +// Copied from: git_forge.v1.DirectoryContent (var: BSv) +message DirectoryContent { + repeated RepoContentEntry entries = 1; + string sha = 2; +} + +// Copied from: local:origin.v1.DisableChangeMergeWhenReadyRequest (var: U0v) +message DisableChangeMergeWhenReadyRequest { + ChangeIdentifier change = 1; +} + +// Copied from: local:origin.v1.DisableChangeMergeWhenReadyResponse (var: $0v) +message DisableChangeMergeWhenReadyResponse { +} + +// Copied from: local:origin.v1.DiscardPendingReviewRequest (var: zCv) +message DiscardPendingReviewRequest { + ChangeIdentifier change = 1; + string review_id = 2; +} + +// Copied from: local:origin.v1.DiscardPendingReviewResponse (var: VCv) +message DiscardPendingReviewResponse { +} + +// Copied from: local:origin.v1.DismissReviewRequest (var: xkv) +message DismissReviewRequest { + ChangeIdentifier change = 1; + string review_id = 2; + string reason = 3; +} + +// Copied from: local:origin.v1.DismissReviewResponse (var: Tkv) +message DismissReviewResponse { + Review review = 1; +} + +// Copied from: local:origin.v1.DoesNamespaceExistForTeamRequest (var: Nyv) +message DoesNamespaceExistForTeamRequest { + int64 team_id = 1; +} + +// Copied from: local:origin.v1.DoesNamespaceExistForTeamResponse (var: Oyv) +message DoesNamespaceExistForTeamResponse { + bool exists = 1; +} + +// Copied from: local:origin.v1.EnableChangeMergeWhenReadyRequest (var: N0v) +message EnableChangeMergeWhenReadyRequest { + ChangeIdentifier change = 1; + string trunk_branch = 2; + optional string source = 3; + optional bool dev = 4; +} + +// Copied from: local:origin.v1.EnableChangeMergeWhenReadyResponse (var: O0v) +message EnableChangeMergeWhenReadyResponse { + ChangeMergeWhenReady record = 1; +} + +// Copied from: local:origin.v1.ExistingInstallation (var: oEv) +message ExistingInstallation { + string installation_id = 1; + RepoSelectionMode repo_selection_mode = 2; + repeated string repo_ids = 3; +} + +// Copied from: local:origin.v1.FastForwardBranchClientRequest (var: qwv) +message FastForwardBranchClientRequest { + ClientRepoIdentifier identifier = 1; + string branch = 2; + string expected_head_sha = 3; + string new_head_sha = 4; +} + +// Copied from: local:origin.v1.FastForwardBranchClientResponse (var: Kwv) +message FastForwardBranchClientResponse { + string old_head_sha = 1; + string new_head_sha = 2; + bool unchanged = 3; + bool reverse_mirror_push_failed = 4; +} + +// Copied from: git_forge.v1.FileContent (var: IQd) +message FileContent { + string size = 1; + string encoding = 2; + string content = 3; + string sha = 4; +} + +// Copied from: git_forge.v1.FileHistoryCommitEntry (var: HSv) +message FileHistoryCommitEntry { + ShortCommit commit = 1; + optional string diff_base_commit_sha = 2; + optional FileStats path_stats = 8; +} + +// Copied from: git_forge.v1.FileMode (var: xQd) +enum FileMode { + FILE_MODE_UNSPECIFIED = 0; + FILE_MODE_REGULAR = 1; + FILE_MODE_EXECUTABLE = 2; + FILE_MODE_SYMLINK = 3; + FILE_MODE_GITLINK = 4; +} + +// Copied from: git_forge.v1.FileStats (var: DQd) +message FileStats { + int32 additions = 1; + int32 deletions = 2; + bool is_binary = 3; +} + +// Copied from: local:origin.v1.FileViewedState (var: T0v) +message FileViewedState { + string file_path = 1; + string version_id = 2; + optional bool stale = 3; +} + +// Copied from: local:origin.v1.FilterMirrorableGithubReposRequest (var: J_v) +message FilterMirrorableGithubReposRequest { + repeated GithubRepoIdentifier repos = 1; +} + +// Copied from: local:origin.v1.FilterMirrorableGithubReposResponse (var: eyv) +message FilterMirrorableGithubReposResponse { + repeated GithubRepoIdentifier mirrorable_repos = 1; +} + +// Copied from: local:origin.v1.FoldChangeRequest (var: pkv) +message FoldChangeRequest { + ChangeIdentifier change = 1; +} + +// Copied from: local:origin.v1.FoldChangeResponse (var: mkv) +message FoldChangeResponse { +} + +// Copied from: local:origin.v1.GeneratedCodeTour (var: WQd) +message GeneratedCodeTour { + string id = 1; + string storage_key = 2; + string result = 3; + optional string agentic_markdown = 4; + optional string agentic_error_message = 5; + optional uint32 format_version = 6; + optional uint32 prompt_revision = 7; + bool machine_generated = 8; + int64 updated_at_ms = 9; +} + +// Copied from: local:origin.v1.GetActiveMirrorTransitionJobRequest (var: syv) +message GetActiveMirrorTransitionJobRequest { + ClientRepoIdentifier identifier = 1; +} + +// Copied from: local:origin.v1.GetActiveMirrorTransitionJobResponse (var: oyv) +message GetActiveMirrorTransitionJobResponse { + RepoMirrorTransitionJob active_job_info = 1; + RepoMirrorTransitionJob last_job_info = 2; +} + +// Copied from: local:origin.v1.GetAppMetadataRequest (var: cEv) +message GetAppMetadataRequest { + string id = 1; +} + +// Copied from: local:origin.v1.GetAppMetadataResponse (var: lEv) +message GetAppMetadataResponse { + AppMetadata app = 1; + AppStats stats = 2; +} + +// Copied from: local:origin.v1.GetAppRequest (var: M1v) +message GetAppRequest { + string id = 1; +} + +// Copied from: local:origin.v1.GetAppResponse (var: P1v) +message GetAppResponse { + App app = 1; + AppStats stats = 2; + repeated AppSigningKey signing_keys = 3; +} + +// Copied from: local:origin.v1.GetAtlasNodeRequest (var: PEv) +message GetAtlasNodeRequest { + ClientRepoIdentifier repo = 1; + string path = 2; +} + +// Copied from: local:origin.v1.GetAtlasNodeResponse (var: NEv) +message GetAtlasNodeResponse { + string last_commit = 1; + repeated AtlasNodeLayerContent layers = 2; +} + +// Copied from: local:origin.v1.GetAtlasRepoStatusRequest (var: FEv) +message GetAtlasRepoStatusRequest { + ClientRepoIdentifier repo = 1; +} + +// Copied from: local:origin.v1.GetAtlasRepoStatusResponse (var: aYd) +message GetAtlasRepoStatusResponse { + bool configured = 1; + bool enabled = 2; + string model = 3; + int32 node_count = 4; + repeated AtlasLayerStatus layers = 5; + bool refreshing = 6; + AtlasFreshness freshness = 7; +} + +// Copied from: local:origin.v1.GetAuthorizedNamespacesRequest (var: Fyv) +message GetAuthorizedNamespacesRequest { +} + +// Copied from: local:origin.v1.GetAuthorizedNamespacesResponse (var: Byv) +message GetAuthorizedNamespacesResponse { + repeated AuthorizedNamespace namespaces = 1; + bool origin_disabled_for_team = 2; +} + +// Copied from: local:origin.v1.GetBlameClientRequest (var: xwv) +message GetBlameClientRequest { + ClientRepoIdentifier identifier = 1; + string start_commit_sha = 2; + string path = 3; +} + +// Copied from: local:origin.v1.GetBlobClientRequest (var: _wv) +message GetBlobClientRequest { + ClientRepoIdentifier identifier = 1; + string blob_sha = 2; +} + +// Copied from: git_forge.v1.GetBlobResponse (var: xSv) +message GetBlobResponse { + FileContent blob = 1; +} + +// Copied from: local:origin.v1.GetChangeMergeWhenReadyRequest (var: F0v) +message GetChangeMergeWhenReadyRequest { + ChangeIdentifier change = 1; + optional string status = 2; +} + +// Copied from: local:origin.v1.GetChangeMergeWhenReadyResponse (var: B0v) +message GetChangeMergeWhenReadyResponse { + optional ChangeMergeWhenReady record = 1; +} + +// Copied from: local:origin.v1.GetChangeRequest (var: Ykv) +message GetChangeRequest { + ChangeIdentifier change = 1; +} + +// Copied from: local:origin.v1.GetChangeResponse (var: Xkv) +message GetChangeResponse { + Change change = 1; + repeated Version versions = 2; + repeated ChangeAssignment assignments = 3; + repeated ChangeLabel labels = 4; + optional google.protobuf.Timestamp viewer_last_viewed_at = 5; + optional google.protobuf.Timestamp viewer_timeline_viewed_at = 6; +} + +// Copied from: local:origin.v1.GetChangeStackPageDataRequest (var: T1v) +message GetChangeStackPageDataRequest { + ChangeIdentifier change = 1; +} + +// Copied from: local:origin.v1.GetChangeStackPageDataResponse (var: A1v) +message GetChangeStackPageDataResponse { + MirrorStatus mirror_status = 1; + repeated ChangeStackPageItem items = 2; + ListOriginRepoReviewerCandidatesResponse reviewer_candidates = 3; +} + +// Copied from: local:origin.v1.GetChangeStackRequest (var: Jkv) +message GetChangeStackRequest { + ChangeIdentifier change = 1; +} + +// Copied from: local:origin.v1.GetChangeStackResponse (var: eCv) +message GetChangeStackResponse { + repeated Change changes = 1; + optional string stack_id = 6; + optional string convergence_state = 2; + optional uint64 convergence_conflicted_change_number = 3; + repeated string convergence_conflicted_paths = 4; + optional string convergence_blocked_reason = 5; +} + +// Copied from: local:origin.v1.GetChangesetMergeabilityRequest (var: r1v) +message GetChangesetMergeabilityRequest { + ClientRepoIdentifier identifier = 1; + uint64 change_number = 2; + optional string expected_head_sha = 3; + MergeabilityScope scope = 4; +} + +// Copied from: local:origin.v1.GetChangesetMergeabilityResponse (var: YQd) +message GetChangesetMergeabilityResponse { + bool mergeable = 1; + bool ci_passing = 2; + CiState ci_state = 3; + bool meets_approval_requirements = 4; + bool has_merge_conflicts = 5; + ChangesetMergeability mergeability = 6; + optional StackMergeability stack_mergeability = 7; + repeated string conflicted_paths = 8; +} + +// Copied from: local:origin.v1.GetCheckRunRequest (var: z0v) +message GetCheckRunRequest { + ClientRepoIdentifier identifier = 1; + string check_run_id = 2; +} + +// Copied from: local:origin.v1.GetCheckRunResponse (var: V0v) +message GetCheckRunResponse { + CheckRunStatus check_run = 1; +} + +// Copied from: local:origin.v1.GetCiStateRequest (var: W0v) +message GetCiStateRequest { + ClientRepoIdentifier identifier = 1; + string sha = 2; + optional uint64 change_number = 3; +} + +// Copied from: local:origin.v1.GetCiStateResponse (var: H0v) +message GetCiStateResponse { + repeated CheckRunGroup check_run_groups = 1; + repeated MissingRequiredCheck missing_required_checks = 2; +} + +// Copied from: local:origin.v1.GetCollectedPullRequestDiffRequest (var: Vwv) +message GetCollectedPullRequestDiffRequest { + ClientRepoIdentifier identifier = 1; + string head_commit_sha = 2; + string base_commit_sha = 3; + optional bool include_patches = 4; + optional bool include_file_stats = 5; + optional uint32 page_size = 6; + optional string page_cursor = 7; +} + +// Copied from: local:origin.v1.GetCollectedPullRequestDiffResponse (var: Gwv) +message GetCollectedPullRequestDiffResponse { + string merge_base_sha = 1; + repeated CollectedFileDiff files = 2; + optional string next_page_cursor = 4; +} + +// Copied from: local:origin.v1.GetCommitClientRequest (var: bwv) +message GetCommitClientRequest { + ClientRepoIdentifier identifier = 1; + string commit_sha = 2; +} + +// Copied from: local:origin.v1.GetCommitDiffClientRequest (var: Mwv) +message GetCommitDiffClientRequest { + ClientRepoIdentifier identifier = 1; + string commit_sha = 2; + optional string base_commit_sha = 3; + bool include_patches = 4; + repeated string paths = 5; + optional uint32 page_size = 6; + optional string page_cursor = 7; +} + +// Copied from: git_forge.v1.GetCommitResponse (var: ESv) +message GetCommitResponse { + Commit commit = 1; +} + +// Copied from: local:origin.v1.GetFileHistoryClientRequest (var: wwv) +message GetFileHistoryClientRequest { + ClientRepoIdentifier identifier = 1; + string start_commit_sha = 2; + optional string path = 3; + uint32 max_commits = 4; +} + +// Copied from: local:origin.v1.GetFileHistoryPageClientRequest (var: kwv) +message GetFileHistoryPageClientRequest { + ClientRepoIdentifier identifier = 1; + string start_commit_sha = 2; + optional string path = 3; + uint32 page_size = 4; + optional string next_cursor = 5; +} + +// Copied from: local:origin.v1.GetFileHistoryPageResponse (var: Cwv) +message GetFileHistoryPageResponse { + repeated ShortCommit commits = 1; + bool has_more = 2; + optional string next_cursor = 3; +} + +// Copied from: local:origin.v1.GetFileHistoryPageWithDiffStatsClientRequest (var: Ewv) +message GetFileHistoryPageWithDiffStatsClientRequest { + ClientRepoIdentifier identifier = 1; + string start_commit_sha = 2; + optional string path = 3; + uint32 page_size = 4; + optional string next_cursor = 5; +} + +// Copied from: git_forge.v1.GetFileHistoryPageWithDiffStatsResponse (var: zSv) +message GetFileHistoryPageWithDiffStatsResponse { + repeated FileHistoryCommitEntry entries = 1; + bool has_more = 2; + optional string next_cursor = 3; +} + +// Copied from: git_forge.v1.GetFileHistoryResponse (var: WSv) +message GetFileHistoryResponse { + repeated ShortCommit commits = 1; +} + +// Copied from: local:origin.v1.GetFuzzyPathsClientRequest (var: Awv) +message GetFuzzyPathsClientRequest { + ClientRepoIdentifier identifier = 1; + string commit_sha = 2; + string query = 3; + uint32 limit = 4; +} + +// Copied from: git_forge.v1.GetFuzzyPathsResponse (var: QSv) +message GetFuzzyPathsResponse { + repeated string paths = 1; + bool has_more = 2; +} + +// Copied from: local:origin.v1.GetGeneratedCodeTourRequest (var: D0v) +message GetGeneratedCodeTourRequest { + ChangeIdentifier change = 1; + string storage_key = 2; +} + +// Copied from: local:origin.v1.GetGeneratedCodeTourResponse (var: M0v) +message GetGeneratedCodeTourResponse { + optional GeneratedCodeTour tour = 1; +} + +// Copied from: local:origin.v1.GetInstallationRequest (var: z1v) +message GetInstallationRequest { + string id = 1; +} + +// Copied from: local:origin.v1.GetInstallationResponse (var: V1v) +message GetInstallationResponse { + Installation installation = 1; +} + +// Copied from: local:origin.v1.GetLabelByNameRequest (var: cxv) +message GetLabelByNameRequest { + ClientRepoIdentifier repo = 1; + string name = 2; +} + +// Copied from: local:origin.v1.GetLabelByNameResponse (var: lxv) +message GetLabelByNameResponse { + optional Label label = 1; +} + +// Copied from: local:origin.v1.GetMirrorTransitionJobRequest (var: ayv) +message GetMirrorTransitionJobRequest { + ClientRepoIdentifier identifier = 1; + string job_id = 2; +} + +// Copied from: local:origin.v1.GetMirrorTransitionJobResponse (var: cyv) +message GetMirrorTransitionJobResponse { + RepoMirrorTransitionJob job = 1; + Repo repository = 2; +} + +// Copied from: local:origin.v1.GetNamespaceTeamAccessRequest (var: iSv) +message GetNamespaceTeamAccessRequest { + string namespace_slug = 1; +} + +// Copied from: local:origin.v1.GetNamespaceTeamAccessResponse (var: rSv) +message GetNamespaceTeamAccessResponse { + OriginNamespace namespace = 1; + NamespaceTeamGroupAccess team_admins = 2; + NamespaceTeamGroupAccess team_members = 3; +} + +// Copied from: local:origin.v1.GetPendingReviewRequest (var: GCv) +message GetPendingReviewRequest { + ChangeIdentifier change = 1; +} + +// Copied from: local:origin.v1.GetPendingReviewResponse (var: qCv) +message GetPendingReviewResponse { + optional Review review = 1; + uint32 thread_count = 2; +} + +// Copied from: local:origin.v1.GetProjectedLatestVersionsRequest (var: tCv) +message GetProjectedLatestVersionsRequest { + ClientRepoIdentifier identifier = 1; + repeated uint64 change_numbers = 2; +} + +// Copied from: local:origin.v1.GetProjectedLatestVersionsResponse (var: iCv) +message GetProjectedLatestVersionsResponse { + repeated ProjectedLatestVersionEntry entries = 1; +} + +// Copied from: local:origin.v1.GetPullRequestDiffClientRequest (var: Dwv) +message GetPullRequestDiffClientRequest { + ClientRepoIdentifier identifier = 1; + string head_commit_sha = 2; + string base_commit_sha = 3; + optional bool include_patches = 4; + optional bool include_file_stats = 5; + optional uint32 page_size = 6; + optional string page_cursor = 7; +} + +// Copied from: local:origin.v1.GetRepoByGithubMirrorRequest (var: wyv) +message GetRepoByGithubMirrorRequest { + string github_node_id = 1; + optional string github_enterprise_id = 2; +} + +// Copied from: local:origin.v1.GetRepoCodeownersClientRequest (var: gwv) +message GetRepoCodeownersClientRequest { + ClientRepoIdentifier identifier = 1; + string base_ref = 2; + repeated string paths = 3; +} + +// Copied from: local:origin.v1.GetRepoCodeownersResponse (var: vwv) +message GetRepoCodeownersResponse { + map codeowners_by_path = 1; +} + +// Copied from: local:origin.v1.GetRepoContentAtShaClientRequest (var: pwv) +message GetRepoContentAtShaClientRequest { + ClientRepoIdentifier identifier = 1; + PathIdentifier path_identifier = 2; + optional uint64 max_file_size = 3; +} + +// Copied from: local:origin.v1.GetRepoContentClientRequest (var: uwv) +message GetRepoContentClientRequest { + ClientRepoIdentifier identifier = 1; + string ref_path = 2; +} + +// Copied from: local:origin.v1.GetRepoContentDetailsAtShaClientRequest (var: mwv) +message GetRepoContentDetailsAtShaClientRequest { + ClientRepoIdentifier identifier = 1; + PathIdentifier path_identifier = 2; +} + +// Copied from: git_forge.v1.GetRepoContentDetailsResponse (var: jSv) +message GetRepoContentDetailsResponse { + optional RepoContentDetails details = 1; + PathIdentifier path_identifier = 2; + string resolved_commit_sha = 3; +} + +// Copied from: git_forge.v1.GetRepoContentResponse (var: RQd) +message GetRepoContentResponse { + PathIdentifier path_identifier = 3; + string resolved_commit_sha = 4; + oneof content { + FileContent file_content = 1; + DirectoryContent directory_content = 2; + } +} + +// Copied from: local:origin.v1.GetRepoNamespaceRequest (var: Pyv) +message GetRepoNamespaceRequest { + OriginNamespaceOwnerType owner_type = 1; + int64 owner_entity_id = 2; +} + +// Copied from: local:origin.v1.GetRepoNamespaceResponse (var: Lyv) +message GetRepoNamespaceResponse { + OriginNamespace origin_namespace = 1; +} + +// Copied from: local:origin.v1.GetRepoRequest (var: _Qd) +message GetRepoRequest { + ClientRepoIdentifier identifier = 1; +} + +// Copied from: local:origin.v1.GetRepoResponse (var: Syv) +message GetRepoResponse { + Repo repository = 1; + optional RepoGithubMirrorInfo github_mirror_info = 2; +} + +// Copied from: local:origin.v1.GetRepoTeamAccessRequest (var: Gyv) +message GetRepoTeamAccessRequest { + ClientRepoIdentifier identifier = 1; +} + +// Copied from: local:origin.v1.GetRepoTeamAccessResponse (var: qyv) +message GetRepoTeamAccessResponse { + OriginNamespace namespace = 1; + TeamGroupAccess team_admins = 2; + TeamGroupAccess team_members = 3; +} + +// Copied from: local:origin.v1.GetRepoWithMirrorInfoResponse (var: yQd) +message GetRepoWithMirrorInfoResponse { + Repo repository = 1; + RepoGithubMirrorInfo github_mirror_info = 2; + optional bool viewer_can_write_changes = 3; +} + +// Copied from: local:origin.v1.GetRulesetRequest (var: KEv) +message GetRulesetRequest { + ClientRepoIdentifier repo = 1; + string ruleset_id = 2; +} + +// Copied from: local:origin.v1.GetRulesetResponse (var: QEv) +message GetRulesetResponse { + Ruleset ruleset = 1; +} + +// Copied from: local:origin.v1.GetSectionOfChangesRequest (var: UQd) +message GetSectionOfChangesRequest { + repeated ClientRepoIdentifier repos = 1; + SectionOfChangesFilter filter = 2; + optional string cursor = 3; + int32 limit = 4; + SectionOfChangesSortField sort_field = 5; + bool sort_is_asc = 6; + bool skip_total_count = 7; +} + +// Copied from: local:origin.v1.GetSectionOfChangesResponse (var: pCv) +message GetSectionOfChangesResponse { + repeated SectionOfChanges changes = 1; + bool has_more = 2; + int32 total_count = 3; +} + +// Copied from: local:origin.v1.GetTagClientRequest (var: ywv) +message GetTagClientRequest { + ClientRepoIdentifier identifier = 1; + string tag_sha = 2; +} + +// Copied from: git_forge.v1.GetTagResponse (var: TSv) +message GetTagResponse { + Tag tag = 1; +} + +// Copied from: local:origin.v1.GetTreeBlameClientRequest (var: Twv) +message GetTreeBlameClientRequest { + ClientRepoIdentifier identifier = 1; + string start_commit_sha = 2; + string path = 3; +} + +// Copied from: git_forge.v1.GetTreeBlameResponse (var: KSv) +message GetTreeBlameResponse { + repeated TreeEntryBlame entries = 1; +} + +// Copied from: local:origin.v1.GetTreeClientRequest (var: Swv) +message GetTreeClientRequest { + ClientRepoIdentifier identifier = 1; + string tree_sha = 2; + bool recursive = 3; +} + +// Copied from: git_forge.v1.GetTreeResponse (var: ASv) +message GetTreeResponse { + Tree tree = 1; +} + +// Copied from: local:origin.v1.GithubRepoIdentifier (var: kpo) +message GithubRepoIdentifier { + string owner = 1; + string repo = 2; + optional string enterprise_id = 3; +} + +// Copied from: local:origin.v1.GrantPolicyRef (var: AZe) +message GrantPolicyRef { + string name = 1; + string display_name = 2; +} + +// Copied from: local:origin.v1.GrantPrincipal (var: kQd) +message GrantPrincipal { + string kind = 1; + string external_id = 2; + string display_name = 3; + string email = 4; + int32 group_admin_count = 5; + int32 group_member_count = 6; +} + +// Copied from: git_forge.v1.GrepLineKind (var: CSv) +enum GrepLineKind { + GREP_LINE_KIND_UNSPECIFIED = 0; + GREP_LINE_KIND_MATCH = 1; + GREP_LINE_KIND_CONTEXT = 2; +} + +// Copied from: git_forge.v1.GrepMatch (var: JSv) +message GrepMatch { + string path = 1; + string lines = 2; + uint32 line_number = 3; + uint64 absolute_offset = 4; + repeated GrepSubmatch submatches = 5; + GrepLineKind kind = 6; +} + +// Copied from: git_forge.v1.GrepRepoChunk (var: ewv) +message GrepRepoChunk { + repeated GrepMatch matches = 1; + bool limit_hit = 2; +} + +// Copied from: local:origin.v1.GrepRepoClientRequest (var: Rwv) +message GrepRepoClientRequest { + ClientRepoIdentifier identifier = 1; + string revision = 2; + string query = 3; + GrepSearchOptions options = 4; + uint32 max_results = 5; +} + +// Copied from: git_forge.v1.GrepSearchOptions (var: ZSv) +message GrepSearchOptions { + bool literal = 1; + bool case_insensitive = 2; + bool whole_word = 3; + uint32 context_before = 4; + uint32 context_after = 5; + optional uint64 max_lines = 6; + optional string filter_path = 7; + repeated string includes = 8; + repeated string excludes = 9; +} + +// Copied from: git_forge.v1.GrepSubmatch (var: XSv) +message GrepSubmatch { + uint32 start = 1; + uint32 end = 2; +} + +// Copied from: local:origin.v1.HasOriginPermissionRequest (var: Wyv) +message HasOriginPermissionRequest { + string scope = 1; + oneof resource { + string namespace_slug = 2; + ClientRepoIdentifier repository = 3; + } +} + +// Copied from: local:origin.v1.HasOriginPermissionResponse (var: Hyv) +message HasOriginPermissionResponse { + bool allowed = 1; +} + +// Copied from: local:origin.v1.InboundMirrorGithubMergeOperation (var: uzi) +message InboundMirrorGithubMergeOperation { + string id = 1; + ChangeIdentifier change = 2; + string status = 3; + optional string lease_token = 4; + optional string lease_expires_at = 5; + optional string github_pull_request_node_id = 6; + optional uint64 github_pull_request_number = 7; + optional string github_pull_request_url = 8; + optional string merge_commit_sha = 9; + string requested_merge_method = 10; + optional string commit_title = 11; + optional string commit_message = 12; + string initiated_by_user_id = 13; + optional string last_error_message = 14; + optional string last_error_at = 15; + string created_at = 16; + string updated_at = 17; +} + +// Copied from: local:origin.v1.InboundMirrorMergeStack (var: m1v) +message InboundMirrorMergeStack { + repeated uint64 change_numbers = 1; + string root_base_ref = 2; + string target_head_ref = 3; + string target_head_sha = 4; +} + +// Copied from: local:origin.v1.Installation (var: Dpo) +message Installation { + string id = 1; + string app_id = 2; + string namespace_slug = 3; + string created_at = 4; + string updated_at = 5; + RepoSelectionMode repo_selection_mode = 6; + repeated string repo_ids = 7; + repeated string accepted_scopes = 8; + optional string suspended_at = 9; +} + +// Copied from: local:origin.v1.InstallationReference (var: rYd) +message InstallationReference { + string id = 1; + string app_id = 2; + AppDisplayMetadata app_metadata = 3; +} + +// Copied from: local:origin.v1.Label (var: dzi) +message Label { + string id = 1; + string repo_uuid = 2; + string name = 3; + string color = 4; + optional string description = 5; + google.protobuf.Timestamp created_at = 6; + google.protobuf.Timestamp updated_at = 7; +} + +// Copied from: local:origin.v1.ListAtlasNodePathsRequest (var: $Ev) +message ListAtlasNodePathsRequest { + ClientRepoIdentifier repo = 1; +} + +// Copied from: local:origin.v1.ListAtlasNodePathsResponse (var: jEv) +message ListAtlasNodePathsResponse { + repeated string paths = 1; +} + +// Copied from: local:origin.v1.ListBuildkiteTriggersRequest (var: _Ev) +message ListBuildkiteTriggersRequest { + ClientRepoIdentifier repo = 1; +} + +// Copied from: local:origin.v1.ListBuildkiteTriggersResponse (var: yEv) +message ListBuildkiteTriggersResponse { + repeated BuildkiteTrigger triggers = 1; +} + +// Copied from: local:origin.v1.ListChangeCommitsRequest (var: rCv) +message ListChangeCommitsRequest { + ChangeIdentifier change = 1; + uint64 version_number = 2; + optional uint32 max_commits = 3; +} + +// Copied from: local:origin.v1.ListChangeCommitsResponse (var: sCv) +message ListChangeCommitsResponse { + repeated Commit commits = 1; + string merge_base_sha = 2; + bool truncated = 3; + map actor_displays_by_sha = 4; +} + +// Copied from: local:origin.v1.ListChangesByHeadRefRequest (var: cCv) +message ListChangesByHeadRefRequest { + ClientRepoIdentifier identifier = 1; + string head_ref = 2; + bool include_inactive = 3; +} + +// Copied from: local:origin.v1.ListChangesByHeadRefResponse (var: lCv) +message ListChangesByHeadRefResponse { + repeated Change changes = 1; +} + +// Copied from: local:origin.v1.ListChangesRequest (var: aCv) +message ListChangesRequest { + ClientRepoIdentifier identifier = 1; + optional string status = 2; + optional uint64 cursor = 3; + optional int32 limit = 4; + optional string author_id = 5; + optional string base_ref = 6; + optional string head_ref = 7; + repeated string file = 8; +} + +// Copied from: local:origin.v1.ListChangesResponse (var: hCv) +message ListChangesResponse { + repeated ChangeWithLatestVersion changes = 1; + optional uint64 next_cursor = 2; +} + +// Copied from: local:origin.v1.ListCommentReactionsRequest (var: p0v) +message ListCommentReactionsRequest { + string comment_id = 1; +} + +// Copied from: local:origin.v1.ListCommentReactionsResponse (var: m0v) +message ListCommentReactionsResponse { + repeated CommentReaction reactions = 1; +} + +// Copied from: local:origin.v1.ListCommentThreadsRequest (var: JCv) +message ListCommentThreadsRequest { + ChangeIdentifier change = 1; + uint64 version_number = 2; +} + +// Copied from: local:origin.v1.ListCommentThreadsResponse (var: e0v) +message ListCommentThreadsResponse { + repeated CommentThread threads = 1; +} + +// Copied from: local:origin.v1.ListCommentsRequest (var: Mkv) +message ListCommentsRequest { + ChangeIdentifier change = 1; +} + +// Copied from: local:origin.v1.ListCommentsResponse (var: Pkv) +message ListCommentsResponse { + repeated Comment comments = 1; +} + +// Copied from: local:origin.v1.ListCommitsClientRequest (var: rs) +message ListCommitsClientRequest { + ClientRepoIdentifier identifier = 1; + string revision = 2; + int32 page = 3; + int32 per_page = 4; +} + +// Copied from: local:origin.v1.ListCommitsInRangeClientRequest (var: Fwv) +message ListCommitsInRangeClientRequest { + ClientRepoIdentifier identifier = 1; + string base_revision = 2; + string head_revision = 3; + optional int32 max_commits = 4; + bool oldest_first = 5; +} + +// Copied from: git_forge.v1.ListCommitsInRangeResponse (var: MSv) +message ListCommitsInRangeResponse { + repeated Commit commits = 1; + string base_commit_sha = 2; + string head_commit_sha = 3; + string merge_base_commit_sha = 4; + bool truncated = 5; +} + +// Copied from: local:origin.v1.ListFileViewedStatesRequest (var: E0v) +message ListFileViewedStatesRequest { + ChangeIdentifier change = 1; + string head_commit_sha = 2; +} + +// Copied from: local:origin.v1.ListFileViewedStatesResponse (var: x0v) +message ListFileViewedStatesResponse { + repeated FileViewedState file_viewed_states = 1; + optional string head_version_id = 2; +} + +// Copied from: local:origin.v1.ListHostedReposOrderBy (var: H_v) +enum ListHostedReposOrderBy { + LIST_HOSTED_REPOS_ORDER_BY_UNSPECIFIED = 0; + LIST_HOSTED_REPOS_ORDER_BY_NAME_ASC = 1; + LIST_HOSTED_REPOS_ORDER_BY_NAME_DESC = 2; + LIST_HOSTED_REPOS_ORDER_BY_LAST_PUSHED_DESC = 3; + LIST_HOSTED_REPOS_ORDER_BY_LAST_PUSHED_ASC = 4; + LIST_HOSTED_REPOS_ORDER_BY_ID_ASC = 5; + LIST_HOSTED_REPOS_ORDER_BY_ID_DESC = 6; +} + +// Copied from: local:origin.v1.ListHostedReposRequest (var: K_v) +message ListHostedReposRequest { + uint32 page_size = 1; + string page_token = 2; + string search = 3; + ListHostedReposOrderBy order_by = 4; + string namespace = 5; + bool include_github_mirror_info = 6; + bool apply_repository_picker_policy = 7; +} + +// Copied from: local:origin.v1.ListHostedReposResponse (var: vQd) +message ListHostedReposResponse { + repeated RepoSummary repositories = 1; + string next_page_token = 2; + uint32 total_count = 3; +} + +// Copied from: local:origin.v1.ListLabelsRequest (var: oxv) +message ListLabelsRequest { + ClientRepoIdentifier repo = 1; + optional string cursor = 2; + optional int32 limit = 3; + optional string search_query = 4; +} + +// Copied from: local:origin.v1.ListLabelsResponse (var: axv) +message ListLabelsResponse { + repeated Label labels = 1; + optional string next_cursor = 2; +} + +// Copied from: local:origin.v1.ListNamespaceAppsRequest (var: B1v) +message ListNamespaceAppsRequest { + string namespace_slug = 1; + uint32 page_size = 2; + string page_token = 3; +} + +// Copied from: local:origin.v1.ListNamespaceAppsResponse (var: U1v) +message ListNamespaceAppsResponse { + repeated App apps = 1; + string next_page_token = 2; +} + +// Copied from: local:origin.v1.ListNamespaceAssignablePoliciesRequest (var: mSv) +message ListNamespaceAssignablePoliciesRequest { + string namespace_slug = 1; +} + +// Copied from: local:origin.v1.ListNamespaceAssignablePoliciesResponse (var: gSv) +message ListNamespaceAssignablePoliciesResponse { + repeated AuthPolicySummary policies = 1; +} + +// Copied from: local:origin.v1.ListNamespaceGrantsRequest (var: cSv) +message ListNamespaceGrantsRequest { + string namespace_slug = 1; + int32 page = 2; + int32 page_size = 3; + string search = 4; +} + +// Copied from: local:origin.v1.ListNamespaceGrantsResponse (var: lSv) +message ListNamespaceGrantsResponse { + repeated NamespaceGrantRow rows = 1; + int32 total_count = 2; + bool list_truncated = 3; +} + +// Copied from: local:origin.v1.ListNamespaceInstallationsRequest (var: G1v) +message ListNamespaceInstallationsRequest { + string namespace_slug = 1; + uint32 page_size = 2; + string page_token = 3; +} + +// Copied from: local:origin.v1.ListNamespaceInstallationsResponse (var: q1v) +message ListNamespaceInstallationsResponse { + repeated Installation installations = 1; + string next_page_token = 2; + repeated InstallationReference installation_references = 3; +} + +// Copied from: local:origin.v1.ListOriginRepoReviewerCandidatesRequest (var: Qkv) +message ListOriginRepoReviewerCandidatesRequest { + ClientRepoIdentifier repo = 1; +} + +// Copied from: local:origin.v1.ListOriginRepoReviewerCandidatesResponse (var: OQd) +message ListOriginRepoReviewerCandidatesResponse { + repeated OriginReviewerCandidateUser users = 1; + repeated OriginReviewerCandidateGroup groups = 2; +} + +// Copied from: local:origin.v1.ListPublicAppsRequest (var: $1v) +message ListPublicAppsRequest { + uint32 page_size = 1; + string page_token = 2; +} + +// Copied from: local:origin.v1.ListPublicAppsResponse (var: j1v) +message ListPublicAppsResponse { + repeated AppDisplayMetadata apps = 1; + string next_page_token = 2; +} + +// Copied from: local:origin.v1.ListRefsClientRequest (var: Pwv) +message ListRefsClientRequest { + ClientRepoIdentifier identifier = 1; + ListRefsFilter filter = 2; + bool names_only = 3; + string prefix = 4; + optional uint32 limit = 5; + optional string page_token = 7; +} + +// Copied from: git_forge.v1.ListRefsFilter (var: AQd) +enum ListRefsFilter { + LIST_REFS_FILTER_UNSPECIFIED = 0; + LIST_REFS_FILTER_ALL = 1; + LIST_REFS_FILTER_BRANCHES = 2; + LIST_REFS_FILTER_TAGS = 3; +} + +// Copied from: git_forge.v1.ListRefsResponse (var: awv) +message ListRefsResponse { + repeated string refs = 1; + repeated RefInfo ref_infos = 2; + optional string next_page_token = 5; +} + +// Copied from: local:origin.v1.ListRepoAssignablePoliciesRequest (var: zyv) +message ListRepoAssignablePoliciesRequest { + ClientRepoIdentifier identifier = 1; +} + +// Copied from: local:origin.v1.ListRepoAssignablePoliciesResponse (var: Vyv) +message ListRepoAssignablePoliciesResponse { + repeated AuthPolicySummary policies = 1; +} + +// Copied from: local:origin.v1.ListRepoCheckSourcesRequest (var: G0v) +message ListRepoCheckSourcesRequest { + ClientRepoIdentifier identifier = 1; +} + +// Copied from: local:origin.v1.ListRepoCheckSourcesResponse (var: Q0v) +message ListRepoCheckSourcesResponse { + repeated RepoCheckSource sources = 1; +} + +// Copied from: local:origin.v1.ListRepoGrantsRequest (var: Qyv) +message ListRepoGrantsRequest { + ClientRepoIdentifier identifier = 1; + int32 page = 2; + int32 page_size = 3; + string search = 4; +} + +// Copied from: local:origin.v1.ListRepoGrantsResponse (var: Yyv) +message ListRepoGrantsResponse { + repeated RepoGrantRow rows = 1; + int32 total_count = 2; + bool list_truncated = 3; +} + +// Copied from: local:origin.v1.ListRepoInstallationsRequest (var: mEv) +message ListRepoInstallationsRequest { + string repo_id = 1; + uint32 page_size = 2; + string page_token = 3; +} + +// Copied from: local:origin.v1.ListRepoInstallationsResponse (var: gEv) +message ListRepoInstallationsResponse { + repeated InstallationReference installations = 1; + string next_page_token = 2; +} + +// Copied from: local:origin.v1.ListRepoPathsClientRequest (var: Iwv) +message ListRepoPathsClientRequest { + ClientRepoIdentifier identifier = 1; + string revision = 2; + repeated string includes = 3; + repeated string excludes = 4; + uint32 limit = 5; +} + +// Copied from: local:origin.v1.ListReposForAppInstallRequest (var: Q_v) +message ListReposForAppInstallRequest { + string namespace = 1; + uint32 page_size = 2; + string page_token = 3; + string search = 4; +} + +// Copied from: local:origin.v1.ListReviewRequestEventsRequest (var: Nkv) +message ListReviewRequestEventsRequest { + ChangeIdentifier change = 1; +} + +// Copied from: local:origin.v1.ListReviewRequestEventsResponse (var: Okv) +message ListReviewRequestEventsResponse { + repeated ReviewRequestEvent events = 1; +} + +// Copied from: local:origin.v1.ListReviewsRequest (var: Akv) +message ListReviewsRequest { + ChangeIdentifier change = 1; +} + +// Copied from: local:origin.v1.ListReviewsResponse (var: Ikv) +message ListReviewsResponse { + repeated Review reviews = 1; +} + +// Copied from: local:origin.v1.ListRulesetsRequest (var: GEv) +message ListRulesetsRequest { + ClientRepoIdentifier repo = 1; +} + +// Copied from: local:origin.v1.ListRulesetsResponse (var: qEv) +message ListRulesetsResponse { + repeated Ruleset rulesets = 1; +} + +// Copied from: local:origin.v1.ListSshPublicKeysRequest (var: bSv) +message ListSshPublicKeysRequest { +} + +// Copied from: local:origin.v1.ListSshPublicKeysResponse (var: _Sv) +message ListSshPublicKeysResponse { + repeated SshPublicKey ssh_public_keys = 1; +} + +// Copied from: git_forge.v1.ListTreePathsResponse (var: YSv) +message ListTreePathsResponse { + repeated string paths = 1; + bool has_more = 2; +} + +// Copied from: local:origin.v1.ListVercelTriggersRequest (var: TEv) +message ListVercelTriggersRequest { + ClientRepoIdentifier repo = 1; +} + +// Copied from: local:origin.v1.ListVercelTriggersResponse (var: AEv) +message ListVercelTriggersResponse { + repeated VercelTrigger triggers = 1; +} + +// Copied from: local:origin.v1.MarkAllFilesAsViewedRequest (var: S0v) +message MarkAllFilesAsViewedRequest { + ChangeIdentifier change = 1; + repeated string file_paths = 2; + string version_id = 3; +} + +// Copied from: local:origin.v1.MarkAllFilesAsViewedResponse (var: w0v) +message MarkAllFilesAsViewedResponse { +} + +// Copied from: local:origin.v1.MarkDirectoryAsViewedRequest (var: _0v) +message MarkDirectoryAsViewedRequest { + ChangeIdentifier change = 1; + string directory_path = 2; + repeated string file_paths = 3; + string version_id = 4; +} + +// Copied from: local:origin.v1.MarkDirectoryAsViewedResponse (var: y0v) +message MarkDirectoryAsViewedResponse { +} + +// Copied from: local:origin.v1.MarkFileAsViewedRequest (var: g0v) +message MarkFileAsViewedRequest { + ChangeIdentifier change = 1; + string file_path = 2; + string version_id = 3; + string head_commit_sha = 4; +} + +// Copied from: local:origin.v1.MarkFileAsViewedResponse (var: f0v) +message MarkFileAsViewedResponse { +} + +// Copied from: local:origin.v1.MarkPullRequestAsViewedRequest (var: I0v) +message MarkPullRequestAsViewedRequest { + ChangeIdentifier change = 1; + google.protobuf.Timestamp viewed_at = 2; + PullRequestViewedCursor cursor = 3; +} + +// Copied from: local:origin.v1.MarkPullRequestAsViewedResponse (var: R0v) +message MarkPullRequestAsViewedResponse { + google.protobuf.Timestamp viewed_at = 1; + optional google.protobuf.Timestamp timeline_viewed_at = 2; +} + +// Copied from: local:origin.v1.MergeChangesetRequest (var: pl) +message MergeChangesetRequest { + ClientRepoIdentifier identifier = 1; + uint64 change_number = 2; +} + +// Copied from: local:origin.v1.MergeChangesetResponse (var: fl) +message MergeChangesetResponse { +} + +// Copied from: git_forge.v1.MergeMode (var: EQd) +enum MergeMode { + MERGE_MODE_UNSPECIFIED = 0; + MERGE_MODE_MERGE_COMMIT = 1; + MERGE_MODE_SQUASH = 2; +} + +// Copied from: local:origin.v1.MergeStackRequest (var: u1v) +message MergeStackRequest { + ClientRepoIdentifier identifier = 1; + uint64 top_change_number = 2; + MergeMode mode = 3; +} + +// Copied from: local:origin.v1.MergeStackResponse (var: d1v) +message MergeStackResponse { + string merge_commit_sha = 1; + repeated uint64 merged_change_numbers = 2; +} + +// Copied from: local:origin.v1.MergeabilityScope (var: j0v) +enum MergeabilityScope { + MERGEABILITY_SCOPE_UNSPECIFIED = 0; + MERGEABILITY_SCOPE_STACK = 1; + MERGEABILITY_SCOPE_SINGLE_CHANGE = 2; +} + +// Copied from: local:origin.v1.MintRawRepoFileLinkClientRequest (var: dwv) +message MintRawRepoFileLinkClientRequest { + ClientRepoIdentifier identifier = 1; + string ref_path = 2; +} + +// Copied from: local:origin.v1.MintRawRepoFileLinkClientResponse (var: hwv) +message MintRawRepoFileLinkClientResponse { + string token = 1; + PathIdentifier path_identifier = 2; + string raw_origin = 3; +} + +// Copied from: local:origin.v1.MirrorStatus (var: nzi) +enum MirrorStatus { + MIRROR_STATUS_UNSPECIFIED = 0; + MIRROR_STATUS_TRANSITIONING_TO_INBOUND = 1; + MIRROR_STATUS_INBOUND = 2; + MIRROR_STATUS_OUTBOUND = 3; + MIRROR_STATUS_TRANSITIONING_INBOUND_TO_OUTBOUND = 4; + MIRROR_STATUS_TRANSITIONING_OUTBOUND_TO_INBOUND = 5; + MIRROR_STATUS_INITIAL_SYNC_PENDING = 6; +} + +// Copied from: local:origin.v1.MissingRequiredCheck (var: Y0v) +message MissingRequiredCheck { + string display_name = 1; + string identity_path = 2; +} + +// Copied from: local:origin.v1.NamespaceGrantRow (var: aSv) +message NamespaceGrantRow { + GrantPrincipal principal = 1; + GrantPolicyRef policy = 2; +} + +// Copied from: local:origin.v1.NamespaceTeamGroupAccess (var: ozi) +message NamespaceTeamGroupAccess { + GrantPolicyRef policy = 1; +} + +// Copied from: local:origin.v1.OriginNamespace (var: xke) +message OriginNamespace { + string id = 1; + OriginNamespaceOwnerType owner_type = 2; + int64 owner_entity_id = 3; + string namespace = 4; +} + +// Copied from: local:origin.v1.OriginNamespaceOwnerType (var: izi) +enum OriginNamespaceOwnerType { + ORIGIN_NAMESPACE_OWNER_TYPE_UNSPECIFIED = 0; + ORIGIN_NAMESPACE_OWNER_TYPE_TEAM = 1; + ORIGIN_NAMESPACE_OWNER_TYPE_USER = 2; +} + +// Copied from: local:origin.v1.OriginReviewerCandidateGroup (var: Rpo) +message OriginReviewerCandidateGroup { + string group_public_id = 1; + string organization_slug = 2; + string group_slug = 3; + string name = 4; + repeated string member_auth_ids = 5; + int64 cursor_group_id = 6; + repeated string member_user_ids = 7; +} + +// Copied from: local:origin.v1.OriginReviewerCandidateUser (var: Ipo) +message OriginReviewerCandidateUser { + string auth_id = 1; + string first_name = 3; + string last_name = 4; + string email = 5; + string avatar_url = 6; + int64 cursor_user_id = 7; + string user_id = 8; +} + +// Copied from: git_forge.v1.PathIdentifier (var: B$t) +message PathIdentifier { + string revision = 1; + string path = 2; +} + +// Copied from: local:origin.v1.PostCheckRunRequest (var: X0v) +message PostCheckRunRequest { + ClientRepoIdentifier identifier = 1; + string head_sha = 2; + CheckRunGroupInput group = 3; + CheckRunInput check = 4; +} + +// Copied from: local:origin.v1.PostCheckRunResponse (var: t1v) +message PostCheckRunResponse { + string repo_id = 1; + string sha = 2; + string check_run_group_id = 3; + string check_run_id = 4; +} + +// Copied from: local:origin.v1.PrepareInboundStackMergeCommitRequest (var: E1v) +message PrepareInboundStackMergeCommitRequest { + ChangeIdentifier change = 1; + string operation_id = 2; + string lease_token = 3; + string ours_sha = 4; + string message = 5; + optional string author_name = 6; + optional string author_email = 7; +} + +// Copied from: local:origin.v1.PrepareInboundStackMergeCommitResponse (var: x1v) +message PrepareInboundStackMergeCommitResponse { + string merge_commit_sha = 1; + string exported_ref = 2; +} + +// Copied from: local:origin.v1.PreviewAppInstallationOptions (var: iEv) +message PreviewAppInstallationOptions { + bool include_granted_scopes = 1; +} + +// Copied from: local:origin.v1.PreviewAppInstallationRequest (var: rEv) +message PreviewAppInstallationRequest { + string namespace_slug = 1; + string app_id = 2; + repeated string requested_scopes = 3; + string summary = 4; + optional string redirect_uri = 5; + PreviewAppInstallationOptions options = 6; +} + +// Copied from: local:origin.v1.PreviewAppInstallationResponse (var: sEv) +message PreviewAppInstallationResponse { + string app_id = 1; + string app_slug = 2; + string app_display_name = 3; + string app_logo_url = 4; + string summary = 5; + repeated PreviewAppInstallationScope requested_scopes = 6; + repeated PreviewAppInstallationScope granted_scopes = 7; + ExistingInstallation existing_installation = 8; + string app_description = 9; + string app_website_url = 10; +} + +// Copied from: local:origin.v1.PreviewAppInstallationScope (var: sYd) +message PreviewAppInstallationScope { + string scope = 1; +} + +// Copied from: local:origin.v1.ProjectedLatestVersionEntry (var: nCv) +message ProjectedLatestVersionEntry { + uint64 change_number = 1; + Version projected_latest_version = 2; +} + +// Copied from: local:origin.v1.PublishAgentTempRepoRequest (var: Y_v) +message PublishAgentTempRepoRequest { + ClientRepoIdentifier identifier = 1; + optional string new_name = 2; + optional RepoVisibility visibility = 3; +} + +// Copied from: local:origin.v1.PublishAgentTempRepoResponse (var: Z_v) +message PublishAgentTempRepoResponse { + bool published = 1; + Repo repository = 2; +} + +// Copied from: git_forge.v1.PullRequestDiffChunk (var: nwv) +message PullRequestDiffChunk { + optional DiffHeader header = 1; + repeated DiffEntry entries = 3; +} + +// Copied from: local:origin.v1.PullRequestViewedCursor (var: A0v) +enum PullRequestViewedCursor { + PULL_REQUEST_VIEWED_CURSOR_UNSPECIFIED = 0; + PULL_REQUEST_VIEWED_CURSOR_OPENED = 1; + PULL_REQUEST_VIEWED_CURSOR_TIMELINE = 2; +} + +// Copied from: local:origin.v1.RebuildBuildkiteCheckRunRequest (var: n1v) +message RebuildBuildkiteCheckRunRequest { + ChangeIdentifier change = 1; + string check_run_id = 2; +} + +// Copied from: local:origin.v1.RebuildBuildkiteCheckRunResponse (var: i1v) +message RebuildBuildkiteCheckRunResponse { +} + +// Copied from: local:origin.v1.RecordInboundMirrorExternalGithubMergeRequest (var: k1v) +message RecordInboundMirrorExternalGithubMergeRequest { + ChangeIdentifier change = 1; + string github_merge_commit_sha = 2; + string operation_id = 3; + string lease_token = 4; +} + +// Copied from: local:origin.v1.RecordInboundMirrorExternalGithubMergeResponse (var: C1v) +message RecordInboundMirrorExternalGithubMergeResponse { + Change change = 1; +} + +// Copied from: local:origin.v1.RecordInboundMirrorGithubMergeErrorRequest (var: S1v) +message RecordInboundMirrorGithubMergeErrorRequest { + ChangeIdentifier change = 1; + string operation_id = 2; + string lease_token = 3; + string error_message = 4; +} + +// Copied from: local:origin.v1.RecordInboundMirrorGithubMergeErrorResponse (var: w1v) +message RecordInboundMirrorGithubMergeErrorResponse { + InboundMirrorGithubMergeOperation operation = 1; +} + +// Copied from: local:origin.v1.RecordInboundMirrorGithubMergeGithubPrRequest (var: v1v) +message RecordInboundMirrorGithubMergeGithubPrRequest { + ChangeIdentifier change = 1; + string operation_id = 2; + string lease_token = 3; + string github_pull_request_node_id = 4; + uint64 github_pull_request_number = 5; + string github_pull_request_url = 6; +} + +// Copied from: local:origin.v1.RecordInboundMirrorGithubMergeGithubPrResponse (var: b1v) +message RecordInboundMirrorGithubMergeGithubPrResponse { + InboundMirrorGithubMergeOperation operation = 1; +} + +// Copied from: local:origin.v1.RecordInboundMirrorGithubMergeGithubResultRequest (var: _1v) +message RecordInboundMirrorGithubMergeGithubResultRequest { + ChangeIdentifier change = 1; + string operation_id = 2; + string lease_token = 3; + string merge_commit_sha = 4; +} + +// Copied from: local:origin.v1.RecordInboundMirrorGithubMergeGithubResultResponse (var: y1v) +message RecordInboundMirrorGithubMergeGithubResultResponse { + InboundMirrorGithubMergeOperation operation = 1; +} + +// Copied from: git_forge.v1.RefInfo (var: MQd) +message RefInfo { + string name = 1; + string target_sha = 2; + string object_sha = 3; + string object_type = 4; +} + +// Copied from: local:origin.v1.RemoveAssigneeRequest (var: qkv) +message RemoveAssigneeRequest { + ChangeIdentifier change = 1; + oneof target { + string auth_id = 2; + string group_id = 3; + int64 cursor_user_id = 4; + int64 cursor_group_id = 5; + } +} + +// Copied from: local:origin.v1.RemoveAssigneeResponse (var: Kkv) +message RemoveAssigneeResponse { +} + +// Copied from: local:origin.v1.RemoveLabelFromChangeRequest (var: hxv) +message RemoveLabelFromChangeRequest { + ChangeIdentifier change = 1; + string label_id = 2; +} + +// Copied from: local:origin.v1.RemoveLabelFromChangeResponse (var: pxv) +message RemoveLabelFromChangeResponse { +} + +// Copied from: local:origin.v1.ReopenCommentThreadRequest (var: s0v) +message ReopenCommentThreadRequest { + ChangeIdentifier change = 1; + string thread_id = 2; +} + +// Copied from: local:origin.v1.ReopenCommentThreadResponse (var: o0v) +message ReopenCommentThreadResponse { + CommentThread thread = 1; +} + +// Copied from: local:origin.v1.Repo (var: E4e) +message Repo { + ClientRepoIdentifier identifier = 1; + string default_branch = 2; + optional string github_node_id = 4; + optional string github_enterprise_id = 5; + MirrorStatus mirror_status = 6; + optional string active_mirror_transition_job_id = 7; + string repo_uuid = 8; + optional uint64 github_installation_id = 9; + optional google.protobuf.Timestamp created_at = 10; + optional google.protobuf.Timestamp updated_at = 11; + optional google.protobuf.Timestamp last_pushed_at = 12; + optional int64 owner_entity_id = 13; + optional string owner_type = 14; + string forge_environment = 15; + string origin_namespace_id = 16; + bool allow_merge_commit = 17; + bool allow_squash_merge = 18; + RepoVisibility visibility = 19; + bool delete_branch_on_merge = 20; +} + +// Copied from: local:origin.v1.RepoCheckSource (var: K0v) +message RepoCheckSource { + CheckRunActor actor = 1; + string group_key = 2; + string suite_name = 3; + repeated RepoCheckSourceRun runs = 4; + int64 last_seen_at_unix_ms = 5; + string actor_id_uuid = 6; +} + +// Copied from: local:origin.v1.RepoCheckSourceRun (var: q0v) +message RepoCheckSourceRun { + string run_key = 1; + string name = 2; +} + +// Copied from: git_forge.v1.RepoContentDetails (var: $Sv) +message RepoContentDetails { + string type = 1; + optional uint64 size = 2; + bool is_binary = 3; + bool too_large_to_introspect = 4; +} + +// Copied from: git_forge.v1.RepoContentEntry (var: twv) +message RepoContentEntry { + string type = 1; + string name = 2; + string path = 3; + string sha = 4; + optional uint64 size = 5; +} + +// Copied from: local:origin.v1.RepoGithubMirrorInfo (var: Epo) +message RepoGithubMirrorInfo { + string github_owner = 1; + string github_repo = 2; + string github_repo_url = 3; +} + +// Copied from: local:origin.v1.RepoGrantRow (var: Kyv) +message RepoGrantRow { + GrantPrincipal principal = 1; + GrantPolicyRef namespace_policy = 2; + GrantPolicyRef repo_policy = 3; + GrantPolicyRef effective_policy = 4; + bool is_namespace_owned = 5; +} + +// Copied from: local:origin.v1.RepoKind (var: s_t) +enum RepoKind { + REPO_KIND_UNSPECIFIED = 0; + REPO_KIND_STANDARD = 1; + REPO_KIND_CURSOR_MARKETPLACE = 2; + REPO_KIND_ORIGIN_NATIVE_CURSOR_MARKETPLACE = 3; + REPO_KIND_AGENT_TEMP = 4; +} + +// Copied from: local:origin.v1.RepoMirrorTransition (var: fQd) +enum RepoMirrorTransition { + REPO_MIRROR_TRANSITION_UNSPECIFIED = 0; + REPO_MIRROR_TRANSITION_INBOUND_TO_OUTBOUND = 1; + REPO_MIRROR_TRANSITION_OUTBOUND_TO_INBOUND = 2; + REPO_MIRROR_TRANSITION_INITIAL_TO_INBOUND = 3; +} + +// Copied from: local:origin.v1.RepoMirrorTransitionJob (var: rzi) +message RepoMirrorTransitionJob { + string id = 1; + ClientRepoIdentifier identifier = 2; + RepoMirrorTransition transition = 3; + MirrorStatus mirror_status = 4; + RepoMirrorTransitionJobStatus status = 5; + RepoMirrorTransitionJobPhase phase = 6; + uint32 attempt_count = 7; + optional string drain_until = 11; + optional string last_error_code = 12; + optional string last_error_message = 13; + optional string started_at = 15; + optional string completed_at = 16; + string created_at = 17; + string updated_at = 18; +} + +// Copied from: local:origin.v1.RepoMirrorTransitionJobPhase (var: V_v) +enum RepoMirrorTransitionJobPhase { + REPO_MIRROR_TRANSITION_JOB_PHASE_UNSPECIFIED = 0; + REPO_MIRROR_TRANSITION_JOB_PHASE_QUEUED = 1; + REPO_MIRROR_TRANSITION_JOB_PHASE_STARTING = 2; + REPO_MIRROR_TRANSITION_JOB_PHASE_DRAINING_WRITES = 3; + REPO_MIRROR_TRANSITION_JOB_PHASE_FINALIZING_MIRROR_FETCH = 4; + REPO_MIRROR_TRANSITION_JOB_PHASE_FINALIZING_MIRROR_PUSH = 5; + REPO_MIRROR_TRANSITION_JOB_PHASE_COMMITTING_TARGET_STATUS = 6; + REPO_MIRROR_TRANSITION_JOB_PHASE_ROLLING_BACK = 7; + REPO_MIRROR_TRANSITION_JOB_PHASE_COMPLETED = 8; + REPO_MIRROR_TRANSITION_JOB_PHASE_INITIALIZING_MIRROR_FETCH = 9; +} + +// Copied from: local:origin.v1.RepoMirrorTransitionJobStatus (var: z_v) +enum RepoMirrorTransitionJobStatus { + REPO_MIRROR_TRANSITION_JOB_STATUS_UNSPECIFIED = 0; + REPO_MIRROR_TRANSITION_JOB_STATUS_QUEUED = 1; + REPO_MIRROR_TRANSITION_JOB_STATUS_RUNNING = 2; + REPO_MIRROR_TRANSITION_JOB_STATUS_SUCCEEDED = 3; + REPO_MIRROR_TRANSITION_JOB_STATUS_FAILED_ROLLED_BACK = 4; + REPO_MIRROR_TRANSITION_JOB_STATUS_REQUIRES_ATTENTION = 5; +} + +// Copied from: local:origin.v1.RepoSelectionMode (var: eYd) +enum RepoSelectionMode { + REPO_SELECTION_MODE_UNSPECIFIED = 0; + REPO_SELECTION_MODE_ALL = 1; + REPO_SELECTION_MODE_SELECTED = 2; +} + +// Copied from: local:origin.v1.RepoSummary (var: q_v) +message RepoSummary { + string org = 1; + string name = 2; + string clone_url = 3; + string default_branch = 4; + optional string github_node_id = 6; + optional string github_enterprise_id = 7; + string repo_uuid = 8; + MirrorStatus mirror_status = 9; + optional google.protobuf.Timestamp last_pushed_at = 10; + string forge_environment = 11; + string origin_namespace_id = 12; + bool allow_merge_commit = 13; + bool allow_squash_merge = 14; + RepoVisibility visibility = 15; + optional RepoGithubMirrorInfo github_mirror_info = 16; +} + +// Copied from: local:origin.v1.RepoVisibility (var: gMn) +enum RepoVisibility { + REPO_VISIBILITY_UNSPECIFIED = 0; + REPO_VISIBILITY_INTERNAL = 1; + REPO_VISIBILITY_PRIVATE = 2; +} + +// Copied from: local:origin.v1.RequestReviewRequest (var: Fkv) +message RequestReviewRequest { + ChangeIdentifier change = 1; + oneof target { + string auth_id = 2; + string group_id = 3; + int64 cursor_user_id = 4; + int64 cursor_group_id = 5; + } +} + +// Copied from: local:origin.v1.RequestReviewResponse (var: Bkv) +message RequestReviewResponse { + ChangeAssignment assignment = 1; +} + +// Copied from: local:origin.v1.RequestReviewsRequest (var: jkv) +message RequestReviewsRequest { + ChangeIdentifier change = 1; + repeated ReviewRequestTarget targets = 2; +} + +// Copied from: local:origin.v1.RequestReviewsResponse (var: Wkv) +message RequestReviewsResponse { + repeated ChangeAssignment assignments = 1; +} + +// Copied from: local:origin.v1.ResolveCommentThreadRequest (var: i0v) +message ResolveCommentThreadRequest { + ChangeIdentifier change = 1; + string thread_id = 2; +} + +// Copied from: local:origin.v1.ResolveCommentThreadResponse (var: r0v) +message ResolveCommentThreadResponse { + CommentThread thread = 1; +} + +// Copied from: local:origin.v1.ResolveOriginPullRequestRedirectRequest (var: kyv) +message ResolveOriginPullRequestRedirectRequest { + ClientRepoIdentifier identifier = 1; + int64 pull_number = 2; +} + +// Copied from: local:origin.v1.ResolveOriginPullRequestRedirectResponse (var: Cyv) +message ResolveOriginPullRequestRedirectResponse { + string pull_request_url = 1; +} + +// Copied from: git_forge.v1.ResolveRefPathResponse (var: USv) +message ResolveRefPathResponse { + PathIdentifier path_identifier = 1; + string resolved_commit_sha = 2; +} + +// Copied from: local:origin.v1.ResolveRepoPathClientRequest (var: lwv) +message ResolveRepoPathClientRequest { + ClientRepoIdentifier identifier = 1; + string ref_path = 2; +} + +// Copied from: local:origin.v1.RestackStackRequest (var: h1v) +message RestackStackRequest { + ClientRepoIdentifier identifier = 1; + uint64 top_change_number = 2; +} + +// Copied from: local:origin.v1.RestackStackResponse (var: p1v) +message RestackStackResponse { + repeated uint64 restacked_change_numbers = 1; +} + +// Copied from: local:origin.v1.RestorePullRequestBranchRequest (var: lkv) +message RestorePullRequestBranchRequest { + ChangeIdentifier change = 1; +} + +// Copied from: local:origin.v1.RestorePullRequestBranchResponse (var: ukv) +message RestorePullRequestBranchResponse { + bool already_restored = 1; +} + +// Copied from: local:origin.v1.RetargetChangeRequest (var: dkv) +message RetargetChangeRequest { + ChangeIdentifier change = 1; + string base_ref = 2; +} + +// Copied from: local:origin.v1.RetargetChangeResponse (var: hkv) +message RetargetChangeResponse { + Change change = 1; + Version latest_version = 2; + bool unchanged = 3; +} + +// Copied from: local:origin.v1.RevertPullRequestRequest (var: tkv) +message RevertPullRequestRequest { + ChangeIdentifier change = 1; + optional string title = 2; + optional string description = 3; + bool draft = 4; +} + +// Copied from: local:origin.v1.RevertPullRequestResponse (var: nkv) +message RevertPullRequestResponse { + Change change = 1; + bool reverse_mirror_push_failed = 2; +} + +// Copied from: local:origin.v1.Review (var: RZe) +message Review { + string id = 1; + string change_id = 2; + string version_id = 3; + uint64 version_number = 4; + string author_id = 5; + ReviewVerdict verdict = 6; + string body = 7; + google.protobuf.Timestamp created_at = 8; + string author_kind = 9; + string author_display_name = 10; + string author_avatar_url = 11; + optional google.protobuf.Timestamp submitted_at = 12; + optional ReviewDismissal dismissal = 13; + ActorWithDisplay author = 14; +} + +// Copied from: local:origin.v1.ReviewDismissal (var: _kv) +message ReviewDismissal { + google.protobuf.Timestamp dismissed_at = 1; + string dismissed_by_id = 2; + string dismissed_by_kind = 3; + string dismissal_message = 4; +} + +// Copied from: local:origin.v1.ReviewRequestEvent (var: Lkv) +message ReviewRequestEvent { + string id = 1; + string change_id = 2; + ChangeAssignmentKind kind = 3; + ReviewRequestEventAction action = 4; + string assigned_auth_id = 5; + string assigned_group_id = 6; + ChangeAssignmentCreatedVia created_via = 7; + string actor_auth_id = 8; + google.protobuf.Timestamp created_at = 9; + ActorWithDisplay actor = 10; + OriginReviewerCandidateUser assigned_user = 11; + OriginReviewerCandidateGroup assigned_group = 12; +} + +// Copied from: local:origin.v1.ReviewRequestEventAction (var: Ywv) +enum ReviewRequestEventAction { + REVIEW_REQUEST_EVENT_ACTION_UNSPECIFIED = 0; + REVIEW_REQUEST_EVENT_ACTION_REQUESTED = 1; + REVIEW_REQUEST_EVENT_ACTION_REMOVED = 2; +} + +// Copied from: local:origin.v1.ReviewRequestTarget (var: Apo) +message ReviewRequestTarget { + oneof target { + string auth_id = 1; + string group_id = 2; + int64 cursor_user_id = 3; + int64 cursor_group_id = 4; + } +} + +// Copied from: local:origin.v1.ReviewVerdict (var: Tpo) +enum ReviewVerdict { + REVIEW_VERDICT_UNSPECIFIED = 0; + REVIEW_VERDICT_APPROVE = 1; + REVIEW_VERDICT_REQUEST_CHANGES = 2; + REVIEW_VERDICT_COMMENT = 3; +} + +// Copied from: local:origin.v1.RevokeAppSigningKeyRequest (var: O1v) +message RevokeAppSigningKeyRequest { + string app_id = 1; + string kid = 2; +} + +// Copied from: local:origin.v1.RevokeAppSigningKeyResponse (var: F1v) +message RevokeAppSigningKeyResponse { +} + +// Copied from: local:origin.v1.Ruleset (var: Lpo) +message Ruleset { + string id = 1; + ClientRepoIdentifier repo = 2; + string name = 3; + string description = 4; + RulesetEnforcement enforcement = 5; + RulesetKind kind = 6; + repeated string included_ref_names = 7; + repeated string excluded_ref_names = 8; + repeated RulesetRule rules = 9; + repeated RulesetBypassActor bypass_actors = 10; +} + +// Copied from: local:origin.v1.RulesetBypassActor (var: HEv) +message RulesetBypassActor { + string id = 1; + RulesetBypassMode bypass_mode = 2; + RulesetBypassActorKind actor_kind = 3; + google.protobuf.Struct actor_payload = 4; +} + +// Copied from: local:origin.v1.RulesetBypassActorInput (var: VEv) +message RulesetBypassActorInput { + RulesetBypassMode bypass_mode = 1; + RulesetBypassActorKind actor_kind = 2; + google.protobuf.Struct actor_payload = 3; +} + +// Copied from: local:origin.v1.RulesetBypassActorKind (var: dYd) +enum RulesetBypassActorKind { + RULESET_BYPASS_ACTOR_KIND_UNSPECIFIED = 0; + RULESET_BYPASS_ACTOR_KIND_USER = 1; + RULESET_BYPASS_ACTOR_KIND_TEAM = 2; + RULESET_BYPASS_ACTOR_KIND_APP = 3; + RULESET_BYPASS_ACTOR_KIND_ORGANIZATION_ADMIN = 4; + RULESET_BYPASS_ACTOR_KIND_REPOSITORY_ROLE = 5; +} + +// Copied from: local:origin.v1.RulesetBypassMode (var: uYd) +enum RulesetBypassMode { + RULESET_BYPASS_MODE_UNSPECIFIED = 0; + RULESET_BYPASS_MODE_ALWAYS = 1; + RULESET_BYPASS_MODE_PULL_REQUEST_ONLY = 2; +} + +// Copied from: local:origin.v1.RulesetEnforcement (var: cYd) +enum RulesetEnforcement { + RULESET_ENFORCEMENT_UNSPECIFIED = 0; + RULESET_ENFORCEMENT_ACTIVE = 1; + RULESET_ENFORCEMENT_EVALUATE = 2; + RULESET_ENFORCEMENT_DISABLED = 3; +} + +// Copied from: local:origin.v1.RulesetKind (var: lYd) +enum RulesetKind { + RULESET_KIND_UNSPECIFIED = 0; + RULESET_KIND_MERGE_BRANCH = 1; + RULESET_KIND_PUSH_BRANCH = 2; + RULESET_KIND_PUSH_TAG = 3; + RULESET_KIND_PUSH_REPOSITORY = 4; +} + +// Copied from: local:origin.v1.RulesetRule (var: WEv) +message RulesetRule { + string id = 1; + string rule_type = 2; + google.protobuf.Struct parameters = 3; +} + +// Copied from: local:origin.v1.RulesetRuleInput (var: zEv) +message RulesetRuleInput { + string rule_type = 1; + google.protobuf.Struct parameters = 2; +} + +// Copied from: local:origin.v1.SearchRefsClientRequest (var: Lwv) +message SearchRefsClientRequest { + ClientRepoIdentifier identifier = 1; + ListRefsFilter filter = 2; + string query = 3; + optional uint32 limit = 4; +} + +// Copied from: git_forge.v1.SearchRefsResponse (var: cwv) +message SearchRefsResponse { + repeated RefInfo ref_infos = 1; + bool exact_match = 2; +} + +// Copied from: local:origin.v1.SectionOfChanges (var: mCv) +message SectionOfChanges { + string id = 1; + int32 number = 2; + string repo_id = 3; + string title = 4; + string description = 5; + string head_ref = 6; + string base_ref = 7; + string author_id = 8; + SectionOfChangesStatus status = 9; + google.protobuf.Timestamp created_at = 10; + google.protobuf.Timestamp updated_at = 11; + optional google.protobuf.Timestamp merged_at = 12; + optional google.protobuf.Timestamp closed_at = 13; + string head_sha = 14; + string base_sha = 15; + int32 additions = 16; + int32 deletions = 17; + int32 changed_files = 18; + int32 version_count = 19; + optional string review_decision = 20; + repeated SectionOfChangesReviewer reviewers = 21; + int32 total_thread_count = 22; + int32 unresolved_thread_count = 23; + optional string parent_change_id = 24; + optional string stack_id = 25; + string repo_namespace = 26; + string repo_name = 27; + string author_kind = 28; + string author_display_name = 29; + string author_avatar_url = 30; + ActorWithDisplay author = 31; + optional google.protobuf.Timestamp viewer_last_viewed_at = 32; +} + +// Copied from: local:origin.v1.SectionOfChangesFilter (var: _Mn) +message SectionOfChangesFilter { + oneof kind { + SectionOfChangesFilterAnd and = 1; + SectionOfChangesFilterOr or = 2; + SectionOfChangesFilterNot not = 3; + SectionOfChangesFilterConsolidatedStatus consolidated_status = 4; + SectionOfChangesFilterTitleContains title_contains = 5; + SectionOfChangesFilterDescriptionContains description_contains = 6; + SectionOfChangesFilterMergeBase merge_base = 7; + SectionOfChangesFilterTrunk trunk = 8; + SectionOfChangesFilterLastUpdated last_updated = 9; + SectionOfChangesFilterOpenReviewRequestFor open_review_request_for = 10; + SectionOfChangesFilterReopenedReviewRequestFor reopened_review_request_for = 11; + SectionOfChangesFilterClosedReviewRequestFrom closed_review_request_from = 12; + SectionOfChangesFilterIncludesDirectReviewer includes_direct_reviewer = 13; + SectionOfChangesFilterAuthorIs author_is = 14; + SectionOfChangesFilterReviewStatus review_status = 15; + SectionOfChangesFilterApprovedBy approved_by = 16; + SectionOfChangesFilterIncludesPastReviewer includes_past_reviewer = 17; + SectionOfChangesFilterHasLabel has_label = 18; + SectionOfChangesFilterNumFilesChanged num_files_changed = 19; + SectionOfChangesFilterNumLinesChanged num_lines_changed = 20; + SectionOfChangesFilterIncludesReviewer includes_reviewer = 21; + SectionOfChangesFilterIncludesAssignee includes_assignee = 22; + SectionOfChangesFilterIncludesDirectTeamReviewer includes_direct_team_reviewer = 23; + SectionOfChangesFilterMentions mentions = 24; + SectionOfChangesFilterUnsupported unsupported = 100; + } +} + +// Copied from: local:origin.v1.SectionOfChangesFilterAnd (var: fCv) +message SectionOfChangesFilterAnd { + repeated SectionOfChangesFilter exprs = 1; +} + +// Copied from: local:origin.v1.SectionOfChangesFilterApprovedBy (var: RCv) +message SectionOfChangesFilterApprovedBy { + string auth_id = 1; + int64 cursor_user_id = 2; +} + +// Copied from: local:origin.v1.SectionOfChangesFilterAuthorIs (var: $Qd) +message SectionOfChangesFilterAuthorIs { + string auth_id = 1; + int64 cursor_user_id = 2; +} + +// Copied from: local:origin.v1.SectionOfChangesFilterClosedReviewRequestFrom (var: TCv) +message SectionOfChangesFilterClosedReviewRequestFrom { + string auth_id = 1; + int64 cursor_user_id = 2; +} + +// Copied from: local:origin.v1.SectionOfChangesFilterConsolidatedStatus (var: _Cv) +message SectionOfChangesFilterConsolidatedStatus { + SectionOfChangesStatus status = 1; +} + +// Copied from: local:origin.v1.SectionOfChangesFilterDescriptionContains (var: SCv) +message SectionOfChangesFilterDescriptionContains { + string text = 1; +} + +// Copied from: local:origin.v1.SectionOfChangesFilterHasLabel (var: MCv) +message SectionOfChangesFilterHasLabel { + string name = 1; +} + +// Copied from: local:origin.v1.SectionOfChangesFilterIncludesAssignee (var: OCv) +message SectionOfChangesFilterIncludesAssignee { + string auth_id = 1; + int64 cursor_user_id = 2; +} + +// Copied from: local:origin.v1.SectionOfChangesFilterIncludesDirectReviewer (var: ACv) +message SectionOfChangesFilterIncludesDirectReviewer { + string auth_id = 1; + int64 cursor_user_id = 2; +} + +// Copied from: local:origin.v1.SectionOfChangesFilterIncludesDirectTeamReviewer (var: FCv) +message SectionOfChangesFilterIncludesDirectTeamReviewer { + string slug = 1; +} + +// Copied from: local:origin.v1.SectionOfChangesFilterIncludesPastReviewer (var: DCv) +message SectionOfChangesFilterIncludesPastReviewer { + string auth_id = 1; + int64 cursor_user_id = 2; +} + +// Copied from: local:origin.v1.SectionOfChangesFilterIncludesReviewer (var: NCv) +message SectionOfChangesFilterIncludesReviewer { + string auth_id = 1; + repeated string group_public_ids = 2; + int64 cursor_user_id = 3; +} + +// Copied from: local:origin.v1.SectionOfChangesFilterLastUpdated (var: CCv) +message SectionOfChangesFilterLastUpdated { + int32 hours = 1; +} + +// Copied from: local:origin.v1.SectionOfChangesFilterMentions (var: BCv) +message SectionOfChangesFilterMentions { + string username = 1; +} + +// Copied from: local:origin.v1.SectionOfChangesFilterMergeBase (var: wCv) +message SectionOfChangesFilterMergeBase { + string merge_base = 1; +} + +// Copied from: local:origin.v1.SectionOfChangesFilterNot (var: bCv) +message SectionOfChangesFilterNot { + SectionOfChangesFilter expr = 1; +} + +// Copied from: local:origin.v1.SectionOfChangesFilterNumFilesChanged (var: PCv) +message SectionOfChangesFilterNumFilesChanged { + int32 num_files = 1; +} + +// Copied from: local:origin.v1.SectionOfChangesFilterNumLinesChanged (var: LCv) +message SectionOfChangesFilterNumLinesChanged { + int32 num_lines = 1; +} + +// Copied from: local:origin.v1.SectionOfChangesFilterOpenReviewRequestFor (var: ECv) +message SectionOfChangesFilterOpenReviewRequestFor { + string auth_id = 1; + int64 cursor_user_id = 2; +} + +// Copied from: local:origin.v1.SectionOfChangesFilterOr (var: vCv) +message SectionOfChangesFilterOr { + repeated SectionOfChangesFilter exprs = 1; +} + +// Copied from: local:origin.v1.SectionOfChangesFilterReopenedReviewRequestFor (var: xCv) +message SectionOfChangesFilterReopenedReviewRequestFor { + string auth_id = 1; + int64 cursor_user_id = 2; +} + +// Copied from: local:origin.v1.SectionOfChangesFilterReviewStatus (var: ICv) +message SectionOfChangesFilterReviewStatus { + SectionOfChangesReviewStatusState state = 1; +} + +// Copied from: local:origin.v1.SectionOfChangesFilterTitleContains (var: yCv) +message SectionOfChangesFilterTitleContains { + string text = 1; +} + +// Copied from: local:origin.v1.SectionOfChangesFilterTrunk (var: kCv) +message SectionOfChangesFilterTrunk { + string trunk = 1; +} + +// Copied from: local:origin.v1.SectionOfChangesFilterUnsupported (var: UCv) +message SectionOfChangesFilterUnsupported { + string kind = 1; +} + +// Copied from: local:origin.v1.SectionOfChangesReviewStatusState (var: Xwv) +enum SectionOfChangesReviewStatusState { + SECTION_OF_CHANGES_REVIEW_STATUS_STATE_UNSPECIFIED = 0; + SECTION_OF_CHANGES_REVIEW_STATUS_STATE_ONE_OR_MORE_APPROVALS = 1; + SECTION_OF_CHANGES_REVIEW_STATUS_STATE_IS_FULLY_APPROVED = 2; + SECTION_OF_CHANGES_REVIEW_STATUS_STATE_HAS_ACTIVE_REVIEW = 3; + SECTION_OF_CHANGES_REVIEW_STATUS_STATE_HAS_REQUESTED_REVIEWERS = 4; + SECTION_OF_CHANGES_REVIEW_STATUS_STATE_HAS_REREQUESTED_REVIEW = 5; + SECTION_OF_CHANGES_REVIEW_STATUS_STATE_HAS_UNADDRESSED_CHANGES_REQUESTED = 6; + SECTION_OF_CHANGES_REVIEW_STATUS_STATE_HAS_CHANGES_REQUESTED = 7; +} + +// Copied from: local:origin.v1.SectionOfChangesReviewer (var: gCv) +message SectionOfChangesReviewer { + string author_id = 1; + SectionOfChangesVerdict verdict = 2; + google.protobuf.Timestamp reviewed_at = 3; + string author_kind = 4; + string author_display_name = 5; + string author_avatar_url = 6; + ActorWithDisplay author = 7; +} + +// Copied from: local:origin.v1.SectionOfChangesSortField (var: NQd) +enum SectionOfChangesSortField { + SECTION_OF_CHANGES_SORT_FIELD_UNSPECIFIED = 0; + SECTION_OF_CHANGES_SORT_FIELD_UPDATED_AT = 1; + SECTION_OF_CHANGES_SORT_FIELD_CREATED_AT = 2; + SECTION_OF_CHANGES_SORT_FIELD_TITLE = 3; + SECTION_OF_CHANGES_SORT_FIELD_LINES_CHANGED = 4; +} + +// Copied from: local:origin.v1.SectionOfChangesStatus (var: a_t) +enum SectionOfChangesStatus { + SECTION_OF_CHANGES_STATUS_UNSPECIFIED = 0; + SECTION_OF_CHANGES_STATUS_DRAFT = 1; + SECTION_OF_CHANGES_STATUS_OPEN = 2; + SECTION_OF_CHANGES_STATUS_MERGED = 3; + SECTION_OF_CHANGES_STATUS_CLOSED = 4; +} + +// Copied from: local:origin.v1.SectionOfChangesVerdict (var: Zwv) +enum SectionOfChangesVerdict { + SECTION_OF_CHANGES_VERDICT_UNSPECIFIED = 0; + SECTION_OF_CHANGES_VERDICT_APPROVE = 1; + SECTION_OF_CHANGES_VERDICT_COMMENT = 2; + SECTION_OF_CHANGES_VERDICT_REQUEST_CHANGES = 3; +} + +// Copied from: local:origin.v1.SetAppIconRequest (var: J1v) +message SetAppIconRequest { + string app_id = 1; + bytes icon = 2; +} + +// Copied from: local:origin.v1.SetAppIconResponse (var: eEv) +message SetAppIconResponse { + App app = 1; +} + +// Copied from: local:origin.v1.SetAtlasRepoConfigRequest (var: BEv) +message SetAtlasRepoConfigRequest { + ClientRepoIdentifier repo = 1; + bool enabled = 2; + repeated string enabled_layers = 3; + AtlasFreshness freshness = 4; +} + +// Copied from: local:origin.v1.SetAtlasRepoConfigResponse (var: UEv) +message SetAtlasRepoConfigResponse { + GetAtlasRepoStatusResponse status = 1; +} + +// Copied from: local:origin.v1.SetBuildkiteTriggerEnabledRequest (var: SEv) +message SetBuildkiteTriggerEnabledRequest { + ClientRepoIdentifier repo = 1; + string trigger_id = 2; + bool enabled = 3; +} + +// Copied from: local:origin.v1.SetBuildkiteTriggerEnabledResponse (var: wEv) +message SetBuildkiteTriggerEnabledResponse { + BuildkiteTrigger trigger = 1; +} + +// Copied from: local:origin.v1.SetCommentReactionRequest (var: d0v) +message SetCommentReactionRequest { + string comment_id = 1; + string emoji = 2; + bool active = 3; +} + +// Copied from: local:origin.v1.SetCommentReactionResponse (var: h0v) +message SetCommentReactionResponse { +} + +// Copied from: local:origin.v1.SetNamespaceGroupAccessRequest (var: hSv) +message SetNamespaceGroupAccessRequest { + string namespace_slug = 1; + repeated string group_ids = 2; + bool retain_self_admin = 5; + oneof policy_update { + string policy_name = 3; + bool clear_access = 4; + } +} + +// Copied from: local:origin.v1.SetNamespaceGroupAccessResponse (var: pSv) +message SetNamespaceGroupAccessResponse { + OriginNamespace namespace = 1; + bool self_admin_granted = 2; +} + +// Copied from: local:origin.v1.SetNamespaceTeamAccessRequest (var: sSv) +message SetNamespaceTeamAccessRequest { + string namespace_slug = 1; + TeamGroupKind group = 2; + bool retain_self_admin = 5; + oneof policy_update { + string policy_name = 3; + bool clear_access = 4; + } +} + +// Copied from: local:origin.v1.SetNamespaceTeamAccessResponse (var: oSv) +message SetNamespaceTeamAccessResponse { + OriginNamespace namespace = 1; + NamespaceTeamGroupAccess team_admins = 2; + NamespaceTeamGroupAccess team_members = 3; + bool self_admin_granted = 4; +} + +// Copied from: local:origin.v1.SetNamespaceUserAccessRequest (var: uSv) +message SetNamespaceUserAccessRequest { + string namespace_slug = 1; + repeated string user_ids = 2; + bool retain_self_admin = 5; + oneof policy_update { + string policy_name = 3; + bool clear_access = 4; + } +} + +// Copied from: local:origin.v1.SetNamespaceUserAccessResponse (var: dSv) +message SetNamespaceUserAccessResponse { + OriginNamespace namespace = 1; + bool self_admin_granted = 2; +} + +// Copied from: local:origin.v1.SetRepoGroupAccessRequest (var: tSv) +message SetRepoGroupAccessRequest { + ClientRepoIdentifier identifier = 1; + string group_id = 2; + oneof policy_update { + string policy_name = 3; + bool clear_access = 4; + } +} + +// Copied from: local:origin.v1.SetRepoGroupAccessResponse (var: nSv) +message SetRepoGroupAccessResponse { +} + +// Copied from: local:origin.v1.SetRepoTeamAccessRequest (var: Zyv) +message SetRepoTeamAccessRequest { + ClientRepoIdentifier identifier = 1; + TeamGroupKind group = 2; + oneof policy_update { + string policy_name = 3; + bool clear_override = 4; + } +} + +// Copied from: local:origin.v1.SetRepoTeamAccessResponse (var: Xyv) +message SetRepoTeamAccessResponse { + OriginNamespace namespace = 1; + TeamGroupAccess team_admins = 2; + TeamGroupAccess team_members = 3; +} + +// Copied from: local:origin.v1.SetRepoUserAccessRequest (var: Jyv) +message SetRepoUserAccessRequest { + ClientRepoIdentifier identifier = 1; + string user_id = 2; + oneof policy_update { + string policy_name = 3; + bool clear_access = 4; + } +} + +// Copied from: local:origin.v1.SetRepoUserAccessResponse (var: eSv) +message SetRepoUserAccessResponse { +} + +// Copied from: local:origin.v1.SetVercelTriggerEnabledRequest (var: IEv) +message SetVercelTriggerEnabledRequest { + ClientRepoIdentifier repo = 1; + string trigger_id = 2; + bool enabled = 3; +} + +// Copied from: local:origin.v1.SetVercelTriggerEnabledResponse (var: REv) +message SetVercelTriggerEnabledResponse { + VercelTrigger trigger = 1; +} + +// Copied from: local:origin.v1.SetupTeamNamespaceRequest (var: Tyv) +message SetupTeamNamespaceRequest { + OriginNamespaceOwnerType owner_type = 1; + int64 owner_entity_id = 2; + string namespace = 3; +} + +// Copied from: local:origin.v1.SetupTeamNamespaceResponse (var: Ayv) +message SetupTeamNamespaceResponse { + OriginNamespace origin_namespace = 1; + bool namespace_created = 2; + bool grants_changed = 3; +} + +// Copied from: local:origin.v1.SetupUserNamespaceRequest (var: Iyv) +message SetupUserNamespaceRequest { + string namespace = 1; +} + +// Copied from: local:origin.v1.SetupUserNamespaceResponse (var: Myv) +message SetupUserNamespaceResponse { + OriginNamespace origin_namespace = 1; + bool namespace_created = 2; + bool grants_changed = 3; +} + +// Copied from: git_forge.v1.ShortCommit (var: fMn) +message ShortCommit { + bytes sha = 1; + string summary = 2; + string author_name = 3; + string author_email = 4; + int64 timestamp = 5; +} + +// Copied from: git_forge.v1.Signature (var: o_t) +message Signature { + string name = 1; + string email = 2; + int64 timestamp = 3; + int32 timezone_offset = 4; +} + +// Copied from: local:origin.v1.SshPublicKey (var: CQd) +message SshPublicKey { + string id = 1; + string name = 2; + string algo = 3; + string fingerprint = 4; + google.protobuf.Timestamp created_at = 5; + google.protobuf.Timestamp last_used_at = 6; +} + +// Copied from: local:origin.v1.StackMemberEvaluation (var: l1v) +message StackMemberEvaluation { + uint64 change_number = 1; + string role = 2; + ChangesetMergeability mergeability = 3; +} + +// Copied from: local:origin.v1.StackMergeability (var: c1v) +message StackMergeability { + uint64 target_change_number = 1; + repeated uint64 prefix_change_numbers = 2; + string root_base_ref = 3; + string verdict = 4; + repeated ChangesetMergeBlocker blockers = 5; + repeated StackMemberEvaluation member_evaluations = 6; + optional string convergence_state = 7; + optional uint64 convergence_conflicted_change_number = 8; + repeated string convergence_conflicted_paths = 9; + optional string convergence_updated_at = 10; +} + +// Copied from: local:origin.v1.StartReviewRequest (var: $Cv) +message StartReviewRequest { + ChangeIdentifier change = 1; + ReviewVerdict verdict = 2; + string body = 3; + uint64 version_number = 4; +} + +// Copied from: local:origin.v1.StartReviewResponse (var: jCv) +message StartReviewResponse { + Review review = 1; +} + +// Copied from: local:origin.v1.SubmitReviewRequest (var: WCv) +message SubmitReviewRequest { + ChangeIdentifier change = 1; + string review_id = 2; +} + +// Copied from: local:origin.v1.SubmitReviewResponse (var: HCv) +message SubmitReviewResponse { + Review review = 1; +} + +// Copied from: local:origin.v1.SuggestOriginNamespaceRequest (var: Ryv) +message SuggestOriginNamespaceRequest { + string preferred_slug = 1; +} + +// Copied from: local:origin.v1.SuggestOriginNamespaceResponse (var: Dyv) +message SuggestOriginNamespaceResponse { + bool available = 1; + string normalized_slug = 2; + string suggested_slug = 3; + string message = 4; +} + +// Copied from: local:origin.v1.SuspendInstallationRequest (var: uEv) +message SuspendInstallationRequest { + string id = 1; +} + +// Copied from: local:origin.v1.SuspendInstallationResponse (var: dEv) +message SuspendInstallationResponse { +} + +// Copied from: local:origin.v1.SyncEventHeartbeat (var: hYd) +message SyncEventHeartbeat { +} + +// Copied from: git_forge.v1.Tag (var: DSv) +message Tag { + string sha = 1; + string name = 2; + string message = 3; + Signature tagger = 4; + string object_sha = 5; + string object_type = 6; +} + +// Copied from: local:origin.v1.TaggedSyncEvent (var: _xv) +message TaggedSyncEvent { + ChangeSyncTarget target = 1; + string event_json = 2; +} + +// Copied from: local:origin.v1.TaggedSyncSnapshot (var: bxv) +message TaggedSyncSnapshot { + ChangeSyncTarget target = 1; + string snapshot_json = 2; +} + +// Copied from: local:origin.v1.TeamGroupAccess (var: szi) +message TeamGroupAccess { + GrantPolicyRef namespace_policy = 1; + GrantPolicyRef repo_policy = 2; + GrantPolicyRef effective_policy = 3; +} + +// Copied from: local:origin.v1.TeamGroupKind (var: SQd) +enum TeamGroupKind { + TEAM_GROUP_KIND_UNSPECIFIED = 0; + TEAM_GROUP_KIND_ADMINS = 1; + TEAM_GROUP_KIND_MEMBERS = 2; +} + +// Copied from: local:origin.v1.TransitionRepoMirrorStatusRequest (var: iyv) +message TransitionRepoMirrorStatusRequest { + ClientRepoIdentifier identifier = 1; + RepoMirrorTransition transition = 2; +} + +// Copied from: local:origin.v1.TransitionRepoMirrorStatusResponse (var: ryv) +message TransitionRepoMirrorStatusResponse { + Repo repository = 1; + RepoMirrorTransitionJob active_job_info = 2; +} + +// Copied from: git_forge.v1.Tree (var: ISv) +message Tree { + string sha = 1; + repeated TreeEntry tree = 2; + bool truncated = 3; +} + +// Copied from: git_forge.v1.TreeEntry (var: RSv) +message TreeEntry { + string path = 1; + string mode = 2; + string type = 3; + string sha = 4; + optional uint64 size = 5; +} + +// Copied from: git_forge.v1.TreeEntryBlame (var: qSv) +message TreeEntryBlame { + string name = 1; + ShortCommit last_commit = 2; +} + +// Copied from: local:origin.v1.UnmarkAllFilesAsViewedRequest (var: k0v) +message UnmarkAllFilesAsViewedRequest { + ChangeIdentifier change = 1; +} + +// Copied from: local:origin.v1.UnmarkAllFilesAsViewedResponse (var: C0v) +message UnmarkAllFilesAsViewedResponse { +} + +// Copied from: local:origin.v1.UnmarkFileAsViewedRequest (var: v0v) +message UnmarkFileAsViewedRequest { + ChangeIdentifier change = 1; + string file_path = 2; +} + +// Copied from: local:origin.v1.UnmarkFileAsViewedResponse (var: b0v) +message UnmarkFileAsViewedResponse { +} + +// Copied from: local:origin.v1.UnsuspendInstallationRequest (var: hEv) +message UnsuspendInstallationRequest { + string id = 1; +} + +// Copied from: local:origin.v1.UnsuspendInstallationResponse (var: pEv) +message UnsuspendInstallationResponse { +} + +// Copied from: local:origin.v1.UpdateAppRequest (var: K1v) +message UpdateAppRequest { + string id = 1; + optional string display_name = 2; + optional string webhook_url = 3; + optional AppEventsReplace events = 5; + optional bool is_public = 6; + optional AppInstallationRedirectUrisReplace installation_redirect_uris = 8; + optional string description = 9; + optional string website_url = 10; + optional AppDefaultScopesReplace default_scopes = 11; +} + +// Copied from: local:origin.v1.UpdateAppResponse (var: X1v) +message UpdateAppResponse { + App app = 1; +} + +// Copied from: local:origin.v1.UpdateChangeBranchMethod (var: Qwv) +enum UpdateChangeBranchMethod { + UPDATE_CHANGE_BRANCH_METHOD_UNSPECIFIED = 0; + UPDATE_CHANGE_BRANCH_METHOD_MERGE_COMMIT = 1; +} + +// Copied from: local:origin.v1.UpdateChangeBranchRequest (var: skv) +message UpdateChangeBranchRequest { + ChangeIdentifier change = 1; + UpdateChangeBranchMethod method = 2; +} + +// Copied from: local:origin.v1.UpdateChangeBranchResponse (var: okv) +message UpdateChangeBranchResponse { + Change change = 1; + Version latest_version = 2; + bool unchanged = 3; +} + +// Copied from: local:origin.v1.UpdateChangeMetadataRequest (var: gkv) +message UpdateChangeMetadataRequest { + ChangeIdentifier change = 1; + optional string title = 2; + optional string description = 3; +} + +// Copied from: local:origin.v1.UpdateChangeMetadataResponse (var: fkv) +message UpdateChangeMetadataResponse { + Change change = 1; +} + +// Copied from: local:origin.v1.UpdateChangeRequest (var: ikv) +message UpdateChangeRequest { + ChangeIdentifier change = 1; + optional string head_ref = 2; + optional string base_ref = 3; + oneof parent_update { + ChangeIdentifier parent_change = 4; + bool clear_parent = 5; + } +} + +// Copied from: local:origin.v1.UpdateChangeResponse (var: rkv) +message UpdateChangeResponse { + Change change = 1; + Version latest_version = 2; + bool unchanged = 3; +} + +// Copied from: local:origin.v1.UpdateChangeStatusRequest (var: vkv) +message UpdateChangeStatusRequest { + ChangeIdentifier change = 1; + ChangeStatus status = 2; +} + +// Copied from: local:origin.v1.UpdateChangeStatusResponse (var: bkv) +message UpdateChangeStatusResponse { + Change change = 1; +} + +// Copied from: local:origin.v1.UpdateCommentRequest (var: a0v) +message UpdateCommentRequest { + string comment_id = 1; + string body = 2; +} + +// Copied from: local:origin.v1.UpdateCommentResponse (var: c0v) +message UpdateCommentResponse { + Comment comment = 1; +} + +// Copied from: local:origin.v1.UpdateLabelRequest (var: nxv) +message UpdateLabelRequest { + ClientRepoIdentifier repo = 1; + string label_id = 2; + optional string name = 3; + optional string color = 4; + optional string description = 5; +} + +// Copied from: local:origin.v1.UpdateLabelResponse (var: ixv) +message UpdateLabelResponse { + Label label = 1; +} + +// Copied from: local:origin.v1.UpdateRepoBranchDeletionSettingRequest (var: gyv) +message UpdateRepoBranchDeletionSettingRequest { + ClientRepoIdentifier identifier = 1; + optional bool delete_branch_on_merge = 2; +} + +// Copied from: local:origin.v1.UpdateRepoBranchDeletionSettingResponse (var: fyv) +message UpdateRepoBranchDeletionSettingResponse { + Repo repository = 1; +} + +// Copied from: local:origin.v1.UpdateRepoDefaultBranchRequest (var: _yv) +message UpdateRepoDefaultBranchRequest { + ClientRepoIdentifier identifier = 1; + string default_branch = 2; +} + +// Copied from: local:origin.v1.UpdateRepoDefaultBranchResponse (var: yyv) +message UpdateRepoDefaultBranchResponse { + string default_branch = 1; + bool changed = 2; +} + +// Copied from: local:origin.v1.UpdateRepoMergeSettingsRequest (var: pyv) +message UpdateRepoMergeSettingsRequest { + ClientRepoIdentifier identifier = 1; + bool allow_merge_commit = 2; + bool allow_squash_merge = 3; +} + +// Copied from: local:origin.v1.UpdateRepoMergeSettingsResponse (var: myv) +message UpdateRepoMergeSettingsResponse { + Repo repository = 1; +} + +// Copied from: local:origin.v1.UpdateRepoVisibilityRequest (var: vyv) +message UpdateRepoVisibilityRequest { + ClientRepoIdentifier identifier = 1; + optional RepoVisibility visibility = 2; +} + +// Copied from: local:origin.v1.UpdateRepoVisibilityResponse (var: byv) +message UpdateRepoVisibilityResponse { + Repo repository = 1; +} + +// Copied from: local:origin.v1.UpdateReviewRequest (var: Ckv) +message UpdateReviewRequest { + ChangeIdentifier change = 1; + string review_id = 2; + string body = 3; +} + +// Copied from: local:origin.v1.UpdateReviewResponse (var: Ekv) +message UpdateReviewResponse { + Review review = 1; +} + +// Copied from: local:origin.v1.UpdateWatchChangeSyncSubscriptionsRequest (var: kxv) +message UpdateWatchChangeSyncSubscriptionsRequest { + string connection_id = 1; + repeated ChangeSyncTarget add = 2; + repeated ChangeSyncTarget remove = 3; +} + +// Copied from: local:origin.v1.UpdateWatchChangeSyncSubscriptionsResponse (var: Cxv) +message UpdateWatchChangeSyncSubscriptionsResponse { +} + +// Copied from: local:origin.v1.UpsertBuildkiteTriggerRequest (var: vEv) +message UpsertBuildkiteTriggerRequest { + ClientRepoIdentifier repo = 1; + string buildkite_org_slug = 2; + string pipeline_slug = 3; + string plaintext_api_token = 4; + optional bool enabled = 5; + optional bool trigger_on_prs = 6; + optional BuildkiteBranchFilters branch_filters = 7; +} + +// Copied from: local:origin.v1.UpsertBuildkiteTriggerResponse (var: bEv) +message UpsertBuildkiteTriggerResponse { + BuildkiteTrigger trigger = 1; +} + +// Copied from: local:origin.v1.UpsertGeneratedCodeTourRequest (var: P0v) +message UpsertGeneratedCodeTourRequest { + ChangeIdentifier change = 1; + string storage_key = 2; + string head_sha = 3; + string result = 4; + optional string agentic_markdown = 5; + optional string agentic_error_message = 6; + string feature_configuration_json = 7; +} + +// Copied from: local:origin.v1.UpsertGeneratedCodeTourResponse (var: L0v) +message UpsertGeneratedCodeTourResponse { + GeneratedCodeTour tour = 1; +} + +// Copied from: local:origin.v1.UpsertRulesetRequest (var: YEv) +message UpsertRulesetRequest { + ClientRepoIdentifier repo = 1; + optional string ruleset_id = 2; + string name = 3; + string description = 4; + RulesetEnforcement enforcement = 5; + RulesetKind kind = 6; + repeated string included_ref_names = 7; + repeated string excluded_ref_names = 8; + repeated RulesetRuleInput rules = 9; + repeated RulesetBypassActorInput bypass_actors = 10; +} + +// Copied from: local:origin.v1.UpsertRulesetResponse (var: ZEv) +message UpsertRulesetResponse { + Ruleset ruleset = 1; +} + +// Copied from: local:origin.v1.UpsertVercelTriggerRequest (var: EEv) +message UpsertVercelTriggerRequest { + ClientRepoIdentifier repo = 1; + string vercel_project_id = 2; + string vercel_team_id = 3; + string target = 4; + string plaintext_api_token = 5; + optional string branch_filter = 6; + optional bool enabled = 7; +} + +// Copied from: local:origin.v1.UpsertVercelTriggerResponse (var: xEv) +message UpsertVercelTriggerResponse { + VercelTrigger trigger = 1; +} + +// Copied from: local:origin.v1.VercelTrigger (var: Ppo) +message VercelTrigger { + string id = 1; + ClientRepoIdentifier repo = 2; + string vercel_project_id = 3; + string vercel_team_id = 4; + string target = 5; + optional string branch_filter = 6; + bool enabled = 7; +} + +// Copied from: local:origin.v1.Version (var: IZe) +message Version { + string id = 1; + string change_id = 2; + uint64 number = 3; + string head_sha = 4; + string base_sha = 5; + google.protobuf.Timestamp created_at = 6; + int32 additions = 7; + int32 deletions = 8; + int32 changed_files = 9; +} + +// Copied from: local:origin.v1.WatchChangeSyncEventsRequest (var: mxv) +message WatchChangeSyncEventsRequest { + ClientRepoIdentifier identifier = 1; + uint64 change_number = 2; +} + +// Copied from: local:origin.v1.WatchChangeSyncEventsResponse (var: gxv) +message WatchChangeSyncEventsResponse { + oneof frame { + string snapshot_json = 1; + string event_json = 2; + SyncEventHeartbeat heartbeat = 3; + } +} + +// Copied from: local:origin.v1.WatchChangeSyncEventsV2Request (var: fxv) +message WatchChangeSyncEventsV2Request { + repeated ChangeSyncTarget subscriptions = 1; +} + +// Copied from: local:origin.v1.WatchChangeSyncEventsV2Response (var: wxv) +message WatchChangeSyncEventsV2Response { + oneof frame { + WatchSyncSessionStarted session = 1; + TaggedSyncSnapshot snapshot = 2; + TaggedSyncEvent event = 3; + SyncEventHeartbeat heartbeat = 4; + WatchSyncSubscriptionNack nack = 5; + WatchSyncSubscriptionRemoved removed = 6; + } +} + +// Copied from: local:origin.v1.WatchSyncSessionStarted (var: vxv) +message WatchSyncSessionStarted { + string connection_id = 1; +} + +// Copied from: local:origin.v1.WatchSyncSubscriptionNack (var: yxv) +message WatchSyncSubscriptionNack { + ChangeSyncTarget target = 1; + string reason = 2; + string message = 3; +} + +// Copied from: local:origin.v1.WatchSyncSubscriptionRemoved (var: Sxv) +message WatchSyncSubscriptionRemoved { + ChangeSyncTarget target = 1; +} + +// Source: origin.v1.OriginService (var: pYd) +service OriginService { + rpc ListHostedRepos(ListHostedReposRequest) returns (ListHostedReposResponse) {} + rpc CreateRepo(CreateRepoRequest) returns (CreateRepoResponse) {} + rpc CreateRepoAndEnsureUserNamespace(CreateRepoRequest) returns (CreateRepoResponse) {} + rpc PublishAgentTempRepo(PublishAgentTempRepoRequest) returns (PublishAgentTempRepoResponse) {} + rpc CreateMirroredRepo(CreateMirroredRepoRequest) returns (CreateRepoResponse) {} + rpc FilterMirrorableGithubRepos(FilterMirrorableGithubReposRequest) returns (FilterMirrorableGithubReposResponse) {} + rpc DeleteRepo(DeleteRepoClientRequest) returns (DeleteRepoClientResponse) {} + rpc DeleteMirroredRepo(DeleteMirroredRepoRequest) returns (DeleteMirroredRepoResponse) {} + rpc GetRepo(GetRepoRequest) returns (GetRepoResponse) {} + rpc GetRepoWithMirrorInfo(GetRepoRequest) returns (GetRepoWithMirrorInfoResponse) {} + rpc GetRepoByGithubMirror(GetRepoByGithubMirrorRequest) returns (GetRepoWithMirrorInfoResponse) {} + rpc UpdateRepoMergeSettings(UpdateRepoMergeSettingsRequest) returns (UpdateRepoMergeSettingsResponse) {} + rpc UpdateRepoBranchDeletionSetting(UpdateRepoBranchDeletionSettingRequest) returns (UpdateRepoBranchDeletionSettingResponse) {} + rpc UpdateRepoVisibility(UpdateRepoVisibilityRequest) returns (UpdateRepoVisibilityResponse) {} + rpc UpdateRepoDefaultBranch(UpdateRepoDefaultBranchRequest) returns (UpdateRepoDefaultBranchResponse) {} + rpc DetachRepoMirror(DetachRepoMirrorRequest) returns (DetachRepoMirrorResponse) {} + rpc TransitionRepoMirrorStatus(TransitionRepoMirrorStatusRequest) returns (TransitionRepoMirrorStatusResponse) {} + rpc GetMirrorTransitionJob(GetMirrorTransitionJobRequest) returns (GetMirrorTransitionJobResponse) {} + rpc GetActiveMirrorTransitionJob(GetActiveMirrorTransitionJobRequest) returns (GetActiveMirrorTransitionJobResponse) {} + rpc GetRepoNamespace(GetRepoNamespaceRequest) returns (GetRepoNamespaceResponse) {} + rpc DoesNamespaceExistForTeam(DoesNamespaceExistForTeamRequest) returns (DoesNamespaceExistForTeamResponse) {} + rpc GetAuthorizedNamespaces(GetAuthorizedNamespacesRequest) returns (GetAuthorizedNamespacesResponse) {} + rpc CreateOriginNamespace(CreateOriginNamespaceRequest) returns (CreateOriginNamespaceResponse) {} + rpc SetupTeamNamespace(SetupTeamNamespaceRequest) returns (SetupTeamNamespaceResponse) {} + rpc SetupUserNamespace(SetupUserNamespaceRequest) returns (SetupUserNamespaceResponse) {} + rpc SuggestOriginNamespace(SuggestOriginNamespaceRequest) returns (SuggestOriginNamespaceResponse) {} + rpc ListRepoAssignablePolicies(ListRepoAssignablePoliciesRequest) returns (ListRepoAssignablePoliciesResponse) {} + rpc GetRepoTeamAccess(GetRepoTeamAccessRequest) returns (GetRepoTeamAccessResponse) {} + rpc ListRepoGrants(ListRepoGrantsRequest) returns (ListRepoGrantsResponse) {} + rpc SetRepoTeamAccess(SetRepoTeamAccessRequest) returns (SetRepoTeamAccessResponse) {} + rpc SetRepoUserAccess(SetRepoUserAccessRequest) returns (SetRepoUserAccessResponse) {} + rpc SetRepoGroupAccess(SetRepoGroupAccessRequest) returns (SetRepoGroupAccessResponse) {} + rpc HasOriginPermission(HasOriginPermissionRequest) returns (HasOriginPermissionResponse) {} + rpc GetNamespaceTeamAccess(GetNamespaceTeamAccessRequest) returns (GetNamespaceTeamAccessResponse) {} + rpc SetNamespaceTeamAccess(SetNamespaceTeamAccessRequest) returns (SetNamespaceTeamAccessResponse) {} + rpc ListNamespaceGrants(ListNamespaceGrantsRequest) returns (ListNamespaceGrantsResponse) {} + rpc SetNamespaceUserAccess(SetNamespaceUserAccessRequest) returns (SetNamespaceUserAccessResponse) {} + rpc SetNamespaceGroupAccess(SetNamespaceGroupAccessRequest) returns (SetNamespaceGroupAccessResponse) {} + rpc ListNamespaceAssignablePolicies(ListNamespaceAssignablePoliciesRequest) returns (ListNamespaceAssignablePoliciesResponse) {} + rpc AddSshPublicKey(AddSshPublicKeyRequest) returns (AddSshPublicKeyResponse) {} + rpc ListSshPublicKeys(ListSshPublicKeysRequest) returns (ListSshPublicKeysResponse) {} + rpc DeleteSshPublicKey(DeleteSshPublicKeyRequest) returns (DeleteSshPublicKeyResponse) {} + rpc GetCommit(GetCommitClientRequest) returns (GetCommitResponse) {} + rpc GetBlob(GetBlobClientRequest) returns (GetBlobResponse) {} + rpc GetTag(GetTagClientRequest) returns (GetTagResponse) {} + rpc GetTree(GetTreeClientRequest) returns (GetTreeResponse) {} + rpc ResolveRepoPath(ResolveRepoPathClientRequest) returns (ResolveRefPathResponse) {} + rpc GetRepoContent(GetRepoContentClientRequest) returns (GetRepoContentResponse) {} + rpc MintRawRepoFileLink(MintRawRepoFileLinkClientRequest) returns (MintRawRepoFileLinkClientResponse) {} + rpc GetRepoContentAtSha(GetRepoContentAtShaClientRequest) returns (GetRepoContentResponse) {} + rpc GetRepoContentDetailsAtSha(GetRepoContentDetailsAtShaClientRequest) returns (GetRepoContentDetailsResponse) {} + rpc GetRepoCodeowners(GetRepoCodeownersClientRequest) returns (GetRepoCodeownersResponse) {} + rpc GetFileHistory(GetFileHistoryClientRequest) returns (GetFileHistoryResponse) {} + rpc GetFileHistoryPage(GetFileHistoryPageClientRequest) returns (GetFileHistoryPageResponse) {} + rpc GetFileHistoryPageWithDiffStats(GetFileHistoryPageWithDiffStatsClientRequest) returns (GetFileHistoryPageWithDiffStatsResponse) {} + rpc GetFuzzyPaths(GetFuzzyPathsClientRequest) returns (GetFuzzyPathsResponse) {} + rpc ListRepoPaths(ListRepoPathsClientRequest) returns (ListTreePathsResponse) {} + rpc GrepRepo(GrepRepoClientRequest) returns (stream GrepRepoChunk) {} + rpc GetPullRequestDiff(GetPullRequestDiffClientRequest) returns (stream PullRequestDiffChunk) {} + rpc GetCommitDiff(GetCommitDiffClientRequest) returns (stream CommitDiffChunk) {} + rpc GetBlame(GetBlameClientRequest) returns (stream BlameChunk) {} + rpc GetTreeBlame(GetTreeBlameClientRequest) returns (GetTreeBlameResponse) {} + rpc ListRefs(ListRefsClientRequest) returns (ListRefsResponse) {} + rpc SearchRefs(SearchRefsClientRequest) returns (SearchRefsResponse) {} + rpc CompareCommits(CompareCommitsClientRequest) returns (CompareCommitsResponse) {} + rpc ListCommitsInRange(ListCommitsInRangeClientRequest) returns (ListCommitsInRangeResponse) {} + rpc CanMerge(CanMergeClientRequest) returns (CanMergeResponse) {} + rpc CreateMergeCommitBypassingChecks(CreateMergeCommitBypassingChecksClientRequest) returns (CreateMergeCommitBypassingChecksResponse) {} + rpc CreateCommitFromFiles(CreateCommitFromFilesClientRequest) returns (CreateCommitFromFilesClientResponse) {} + rpc CreateGithubPrForReverseMirroredRepo(CreateGithubPrForReverseMirroredRepoRequest) returns (CreateGithubPrForReverseMirroredRepoResponse) {} + rpc GetCollectedPullRequestDiff(GetCollectedPullRequestDiffRequest) returns (GetCollectedPullRequestDiffResponse) {} + rpc CreateChange(CreateChangeRequest) returns (CreateChangeResponse) {} + rpc UpdateChange(UpdateChangeRequest) returns (UpdateChangeResponse) {} + rpc UpdateChangeBranch(UpdateChangeBranchRequest) returns (UpdateChangeBranchResponse) {} + rpc DeleteChangeHeadBranch(DeleteChangeHeadBranchRequest) returns (DeleteChangeHeadBranchResponse) {} + rpc RestorePullRequestBranch(RestorePullRequestBranchRequest) returns (RestorePullRequestBranchResponse) {} + rpc RetargetChange(RetargetChangeRequest) returns (RetargetChangeResponse) {} + rpc FoldChange(FoldChangeRequest) returns (FoldChangeResponse) {} + rpc UpdateChangeMetadata(UpdateChangeMetadataRequest) returns (UpdateChangeMetadataResponse) {} + rpc UpdateChangeStatus(UpdateChangeStatusRequest) returns (UpdateChangeStatusResponse) {} + rpc CreateReview(CreateReviewRequest) returns (CreateReviewResponse) {} + rpc UpdateReview(UpdateReviewRequest) returns (UpdateReviewResponse) {} + rpc DismissReview(DismissReviewRequest) returns (DismissReviewResponse) {} + rpc ListReviews(ListReviewsRequest) returns (ListReviewsResponse) {} + rpc StartReview(StartReviewRequest) returns (StartReviewResponse) {} + rpc SubmitReview(SubmitReviewRequest) returns (SubmitReviewResponse) {} + rpc DiscardPendingReview(DiscardPendingReviewRequest) returns (DiscardPendingReviewResponse) {} + rpc GetPendingReview(GetPendingReviewRequest) returns (GetPendingReviewResponse) {} + rpc RequestReview(RequestReviewRequest) returns (RequestReviewResponse) {} + rpc ApplyReviewRequestChanges(ApplyReviewRequestChangesRequest) returns (ApplyReviewRequestChangesResponse) {} + rpc RequestReviews(RequestReviewsRequest) returns (RequestReviewsResponse) {} + rpc CloseReviewRequest(CloseReviewRequestRequest) returns (CloseReviewRequestResponse) {} + rpc ListReviewRequestEvents(ListReviewRequestEventsRequest) returns (ListReviewRequestEventsResponse) {} + rpc AddAssignee(AddAssigneeRequest) returns (AddAssigneeResponse) {} + rpc RemoveAssignee(RemoveAssigneeRequest) returns (RemoveAssigneeResponse) {} + rpc ListOriginRepoReviewerCandidates(ListOriginRepoReviewerCandidatesRequest) returns (ListOriginRepoReviewerCandidatesResponse) {} + rpc CreateComment(CreateCommentRequest) returns (CreateCommentResponse) {} + rpc ListComments(ListCommentsRequest) returns (ListCommentsResponse) {} + rpc CreateCommentThread(CreateCommentThreadRequest) returns (CreateCommentThreadResponse) {} + rpc ListCommentThreads(ListCommentThreadsRequest) returns (ListCommentThreadsResponse) {} + rpc AddCommentToThread(AddCommentToThreadRequest) returns (AddCommentToThreadResponse) {} + rpc ResolveCommentThread(ResolveCommentThreadRequest) returns (ResolveCommentThreadResponse) {} + rpc ReopenCommentThread(ReopenCommentThreadRequest) returns (ReopenCommentThreadResponse) {} + rpc UpdateComment(UpdateCommentRequest) returns (UpdateCommentResponse) {} + rpc DeleteComment(DeleteCommentRequest) returns (DeleteCommentResponse) {} + rpc SetCommentReaction(SetCommentReactionRequest) returns (SetCommentReactionResponse) {} + rpc ListCommentReactions(ListCommentReactionsRequest) returns (ListCommentReactionsResponse) {} + rpc MarkFileAsViewed(MarkFileAsViewedRequest) returns (MarkFileAsViewedResponse) {} + rpc UnmarkFileAsViewed(UnmarkFileAsViewedRequest) returns (UnmarkFileAsViewedResponse) {} + rpc MarkDirectoryAsViewed(MarkDirectoryAsViewedRequest) returns (MarkDirectoryAsViewedResponse) {} + rpc MarkAllFilesAsViewed(MarkAllFilesAsViewedRequest) returns (MarkAllFilesAsViewedResponse) {} + rpc UnmarkAllFilesAsViewed(UnmarkAllFilesAsViewedRequest) returns (UnmarkAllFilesAsViewedResponse) {} + rpc ListFileViewedStates(ListFileViewedStatesRequest) returns (ListFileViewedStatesResponse) {} + rpc MarkPullRequestAsViewed(MarkPullRequestAsViewedRequest) returns (MarkPullRequestAsViewedResponse) {} + rpc GetGeneratedCodeTour(GetGeneratedCodeTourRequest) returns (GetGeneratedCodeTourResponse) {} + rpc UpsertGeneratedCodeTour(UpsertGeneratedCodeTourRequest) returns (UpsertGeneratedCodeTourResponse) {} + rpc EnableChangeMergeWhenReady(EnableChangeMergeWhenReadyRequest) returns (EnableChangeMergeWhenReadyResponse) {} + rpc GetChangeMergeWhenReady(GetChangeMergeWhenReadyRequest) returns (GetChangeMergeWhenReadyResponse) {} + rpc DisableChangeMergeWhenReady(DisableChangeMergeWhenReadyRequest) returns (DisableChangeMergeWhenReadyResponse) {} + rpc GetChange(GetChangeRequest) returns (GetChangeResponse) {} + rpc GetProjectedLatestVersions(GetProjectedLatestVersionsRequest) returns (GetProjectedLatestVersionsResponse) {} + rpc GetChangeStackPageData(GetChangeStackPageDataRequest) returns (GetChangeStackPageDataResponse) {} + rpc GetChangeStack(GetChangeStackRequest) returns (GetChangeStackResponse) {} + rpc ListChangeCommits(ListChangeCommitsRequest) returns (ListChangeCommitsResponse) {} + rpc ListChanges(ListChangesRequest) returns (ListChangesResponse) {} + rpc ListChangesByHeadRef(ListChangesByHeadRefRequest) returns (ListChangesByHeadRefResponse) {} + rpc BatchGetChanges(BatchGetChangesRequest) returns (BatchGetChangesResponse) {} + rpc GetSectionOfChanges(GetSectionOfChangesRequest) returns (GetSectionOfChangesResponse) {} + rpc ResolveOriginPullRequestRedirect(ResolveOriginPullRequestRedirectRequest) returns (ResolveOriginPullRequestRedirectResponse) {} + rpc GetCiState(GetCiStateRequest) returns (GetCiStateResponse) {} + rpc GetCheckRun(GetCheckRunRequest) returns (GetCheckRunResponse) {} + rpc ListRepoCheckSources(ListRepoCheckSourcesRequest) returns (ListRepoCheckSourcesResponse) {} + rpc PostCheckRun(PostCheckRunRequest) returns (PostCheckRunResponse) {} + rpc RebuildBuildkiteCheckRun(RebuildBuildkiteCheckRunRequest) returns (RebuildBuildkiteCheckRunResponse) {} + rpc GetChangesetMergeability(GetChangesetMergeabilityRequest) returns (GetChangesetMergeabilityResponse) {} + rpc MergeStack(MergeStackRequest) returns (MergeStackResponse) {} + rpc RevertPullRequest(RevertPullRequestRequest) returns (RevertPullRequestResponse) {} + rpc RestackStack(RestackStackRequest) returns (RestackStackResponse) {} + rpc ClaimInboundMirrorGithubMergeOperation(ClaimInboundMirrorGithubMergeOperationRequest) returns (ClaimInboundMirrorGithubMergeOperationResponse) {} + rpc RecordInboundMirrorGithubMergeGithubPr(RecordInboundMirrorGithubMergeGithubPrRequest) returns (RecordInboundMirrorGithubMergeGithubPrResponse) {} + rpc RecordInboundMirrorGithubMergeGithubResult(RecordInboundMirrorGithubMergeGithubResultRequest) returns (RecordInboundMirrorGithubMergeGithubResultResponse) {} + rpc RecordInboundMirrorGithubMergeError(RecordInboundMirrorGithubMergeErrorRequest) returns (RecordInboundMirrorGithubMergeErrorResponse) {} + rpc RecordInboundMirrorExternalGithubMerge(RecordInboundMirrorExternalGithubMergeRequest) returns (RecordInboundMirrorExternalGithubMergeResponse) {} + rpc PrepareInboundStackMergeCommit(PrepareInboundStackMergeCommitRequest) returns (PrepareInboundStackMergeCommitResponse) {} + rpc GetApp(GetAppRequest) returns (GetAppResponse) {} + rpc CreateApp(CreateAppRequest) returns (CreateAppResponse) {} + rpc AddAppSigningKey(AddAppSigningKeyRequest) returns (AddAppSigningKeyResponse) {} + rpc RevokeAppSigningKey(RevokeAppSigningKeyRequest) returns (RevokeAppSigningKeyResponse) {} + rpc GetAppMetadata(GetAppMetadataRequest) returns (GetAppMetadataResponse) {} + rpc ListNamespaceApps(ListNamespaceAppsRequest) returns (ListNamespaceAppsResponse) {} + rpc ListPublicApps(ListPublicAppsRequest) returns (ListPublicAppsResponse) {} + rpc CreateInstallation(CreateInstallationRequest) returns (CreateInstallationResponse) {} + rpc GetInstallation(GetInstallationRequest) returns (GetInstallationResponse) {} + rpc ListNamespaceInstallations(ListNamespaceInstallationsRequest) returns (ListNamespaceInstallationsResponse) {} + rpc ListRepoInstallations(ListRepoInstallationsRequest) returns (ListRepoInstallationsResponse) {} + rpc UpdateApp(UpdateAppRequest) returns (UpdateAppResponse) {} + rpc SetAppIcon(SetAppIconRequest) returns (SetAppIconResponse) {} + rpc DeleteInstallation(DeleteInstallationRequest) returns (DeleteInstallationResponse) {} + rpc SuspendInstallation(SuspendInstallationRequest) returns (SuspendInstallationResponse) {} + rpc UnsuspendInstallation(UnsuspendInstallationRequest) returns (UnsuspendInstallationResponse) {} + rpc ListReposForAppInstall(ListReposForAppInstallRequest) returns (ListHostedReposResponse) {} + rpc PreviewAppInstallation(PreviewAppInstallationRequest) returns (PreviewAppInstallationResponse) {} + rpc UpsertBuildkiteTrigger(UpsertBuildkiteTriggerRequest) returns (UpsertBuildkiteTriggerResponse) {} + rpc ListBuildkiteTriggers(ListBuildkiteTriggersRequest) returns (ListBuildkiteTriggersResponse) {} + rpc SetBuildkiteTriggerEnabled(SetBuildkiteTriggerEnabledRequest) returns (SetBuildkiteTriggerEnabledResponse) {} + rpc DeleteBuildkiteTrigger(DeleteBuildkiteTriggerRequest) returns (DeleteBuildkiteTriggerResponse) {} + rpc UpsertVercelTrigger(UpsertVercelTriggerRequest) returns (UpsertVercelTriggerResponse) {} + rpc ListVercelTriggers(ListVercelTriggersRequest) returns (ListVercelTriggersResponse) {} + rpc SetVercelTriggerEnabled(SetVercelTriggerEnabledRequest) returns (SetVercelTriggerEnabledResponse) {} + rpc DeleteVercelTrigger(DeleteVercelTriggerRequest) returns (DeleteVercelTriggerResponse) {} + rpc GetAtlasNode(GetAtlasNodeRequest) returns (GetAtlasNodeResponse) {} + rpc ListAtlasNodePaths(ListAtlasNodePathsRequest) returns (ListAtlasNodePathsResponse) {} + rpc GetAtlasRepoStatus(GetAtlasRepoStatusRequest) returns (GetAtlasRepoStatusResponse) {} + rpc SetAtlasRepoConfig(SetAtlasRepoConfigRequest) returns (SetAtlasRepoConfigResponse) {} + rpc ListRulesets(ListRulesetsRequest) returns (ListRulesetsResponse) {} + rpc GetRuleset(GetRulesetRequest) returns (GetRulesetResponse) {} + rpc UpsertRuleset(UpsertRulesetRequest) returns (UpsertRulesetResponse) {} + rpc DeleteRuleset(DeleteRulesetRequest) returns (DeleteRulesetResponse) {} + rpc CreateLabel(CreateLabelRequest) returns (CreateLabelResponse) {} + rpc UpdateLabel(UpdateLabelRequest) returns (UpdateLabelResponse) {} + rpc DeleteLabel(DeleteLabelRequest) returns (DeleteLabelResponse) {} + rpc ListLabels(ListLabelsRequest) returns (ListLabelsResponse) {} + rpc GetLabelByName(GetLabelByNameRequest) returns (GetLabelByNameResponse) {} + rpc AddLabelToChange(AddLabelToChangeRequest) returns (AddLabelToChangeResponse) {} + rpc RemoveLabelFromChange(RemoveLabelFromChangeRequest) returns (RemoveLabelFromChangeResponse) {} + rpc CheckChangeCreationAccess(CheckChangeCreationAccessRequest) returns (CheckChangeCreationAccessResponse) {} + rpc WatchChangeSyncEvents(WatchChangeSyncEventsRequest) returns (stream WatchChangeSyncEventsResponse) {} + rpc WatchChangeSyncEventsV2(WatchChangeSyncEventsV2Request) returns (stream WatchChangeSyncEventsV2Response) {} + rpc UpdateWatchChangeSyncSubscriptions(UpdateWatchChangeSyncSubscriptionsRequest) returns (UpdateWatchChangeSyncSubscriptionsResponse) {} + rpc FastForwardBranch(FastForwardBranchClientRequest) returns (FastForwardBranchClientResponse) {} +} + diff --git a/server/src/cursor/request/context.rs b/server/src/cursor/request/context.rs index 0c2d5d9..a9aab5d 100644 --- a/server/src/cursor/request/context.rs +++ b/server/src/cursor/request/context.rs @@ -459,24 +459,36 @@ pub fn dynamic_mcp( Error::Protocol(format!("MCP tool {} is missing input schema", wire.name)) })?), }; + let name = model_tool_name(&wire.name); let definition = ToolDefinition { - name: wire.name.clone(), + name: name.clone(), description: wire.description.clone(), parameters, }; if output - .insert(wire.name.clone(), (wire.clone(), definition)) + .insert(name.clone(), (wire.clone(), definition)) .is_some() { return Err(Error::Protocol(format!( - "duplicate MCP tool definition: {}", - wire.name + "duplicate MCP tool name after normalization: {name}" ))); } } Ok(output) } +fn model_tool_name(name: &str) -> String { + name.chars() + .map(|character| { + if character.is_ascii_alphanumeric() || matches!(character, '_' | '-') { + character + } else { + '_' + } + }) + .collect() +} + fn prost_value(value: &prost_types::Value) -> Value { use prost_types::value::Kind; match value.kind.as_ref() { @@ -511,6 +523,58 @@ fn xml(value: &str) -> String { mod tests { use super::*; + fn direct_mcp_tool(name: &str) -> pb::McpToolDefinition { + pb::McpToolDefinition { + name: name.into(), + provider_identifier: "extension-GitKraken".into(), + tool_name: "git_status".into(), + description: "Get repository status".into(), + input_schema_json: Some(r#"{"type":"object"}"#.into()), + ..Default::default() + } + } + + #[test] + fn dynamic_mcp_normalizes_extension_identifier_for_model_tool_names() { + let original = "user-eamodio.gitlens-extension-GitKraken-git_status"; + let request = pb::AgentRunRequest { + mcp_tools: Some(pb::McpTools { + mcp_tools: vec![direct_mcp_tool(original)], + }), + ..Default::default() + }; + + let tools = dynamic_mcp(&request, &pb::RequestContext::default()).unwrap(); + let normalized = "user-eamodio_gitlens-extension-GitKraken-git_status"; + let (wire, definition) = tools.get(normalized).unwrap(); + + assert_eq!(definition.name, normalized); + assert_eq!(wire.name, original); + assert_eq!(wire.provider_identifier, "extension-GitKraken"); + assert_eq!(wire.tool_name, "git_status"); + assert!(normalized + .chars() + .all(|character| character.is_ascii_alphanumeric() || matches!(character, '_' | '-'))); + } + + #[test] + fn dynamic_mcp_rejects_names_that_collide_after_normalization() { + let request = pb::AgentRunRequest { + mcp_tools: Some(pb::McpTools { + mcp_tools: vec![ + direct_mcp_tool("server.name-tool"), + direct_mcp_tool("server_name-tool"), + ], + }), + ..Default::default() + }; + + let error = dynamic_mcp(&request, &pb::RequestContext::default()).unwrap_err(); + assert!(error + .to_string() + .contains("duplicate MCP tool name after normalization: server_name-tool")); + } + #[test] fn meta_mcp_routes_projects_descriptor_routing_without_runtime_discovery() { let context = pb::RequestContext { diff --git a/server/src/provider/openai_responses.rs b/server/src/provider/openai_responses.rs index 54647ae..788256a 100644 --- a/server/src/provider/openai_responses.rs +++ b/server/src/provider/openai_responses.rs @@ -27,6 +27,12 @@ struct ResponseToolState { ended: bool, } +enum ResponseToolArguments<'a> { + None, + Delta(&'a str), + Snapshot(&'a str), +} + pub struct OpenAiResponsesProvider { client: reqwest::Client, config: ProviderConfig, @@ -152,7 +158,7 @@ impl Provider for OpenAiResponsesProvider { if item.get("type").and_then(Value::as_str) == Some("function_call") { let index = required_u64(&value, "output_index")? as usize; saw_tool = true; - for event in update_response_tool(index, item, None, false, &mut tools)? { yield event; } + for event in update_response_tool(index, item, ResponseToolArguments::None, false, &mut tools)? { yield event; } } } "response.output_item.done" => { @@ -172,8 +178,11 @@ impl Provider for OpenAiResponsesProvider { Some("function_call") => { let index = required_u64(&value, "output_index")? as usize; saw_tool = true; - let final_arguments = item.get("arguments").and_then(Value::as_str); - for event in update_response_tool(index, item, final_arguments, true, &mut tools)? { yield event; } + let arguments = item + .get("arguments") + .and_then(Value::as_str) + .map_or(ResponseToolArguments::None, ResponseToolArguments::Snapshot); + for event in update_response_tool(index, item, arguments, true, &mut tools)? { yield event; } } _ => {} } @@ -182,13 +191,16 @@ impl Provider for OpenAiResponsesProvider { let index = required_u64(&value, "output_index")? as usize; if let Some(delta) = value.get("delta").and_then(Value::as_str) { saw_tool = true; - for event in update_response_tool(index, &Value::Null, Some(delta), false, &mut tools)? { yield event; } + for event in update_response_tool(index, &Value::Null, ResponseToolArguments::Delta(delta), false, &mut tools)? { yield event; } } } "response.function_call_arguments.done" => { let index = required_u64(&value, "output_index")? as usize; - let final_arguments = value.get("arguments").and_then(Value::as_str); - for event in update_response_tool(index, &Value::Null, final_arguments, true, &mut tools)? { yield event; } + let arguments = value + .get("arguments") + .and_then(Value::as_str) + .map_or(ResponseToolArguments::None, ResponseToolArguments::Snapshot); + for event in update_response_tool(index, &Value::Null, arguments, true, &mut tools)? { yield event; } } "response.completed" => { if let Some(usage) = value.pointer("/response/usage") { yield ModelEvent::Usage(responses_usage(usage)); } @@ -208,8 +220,11 @@ impl Provider for OpenAiResponsesProvider { } Some("function_call") => { saw_tool = true; - let final_arguments = item.get("arguments").and_then(Value::as_str); - for event in update_response_tool(index, item, final_arguments, true, &mut tools)? { yield event; } + let arguments = item + .get("arguments") + .and_then(Value::as_str) + .map_or(ResponseToolArguments::None, ResponseToolArguments::Snapshot); + for event in update_response_tool(index, item, arguments, true, &mut tools)? { yield event; } } _ => {} } @@ -303,7 +318,7 @@ fn reconcile_response_text( fn update_response_tool( index: usize, item: &Value, - arguments: Option<&str>, + arguments: ResponseToolArguments<'_>, done: bool, tools: &mut std::collections::BTreeMap, ) -> Result> { @@ -314,11 +329,17 @@ fn update_response_tool( if let Some(name) = item.get("name").and_then(Value::as_str) { tool.name.get_or_insert_with(|| name.into()); } - if let Some(arguments) = arguments { - if arguments.starts_with(&tool.arguments) { - tool.arguments.push_str(&arguments[tool.arguments.len()..]); - } else if !tool.arguments.ends_with(arguments) { - tool.arguments.push_str(arguments); + match arguments { + ResponseToolArguments::None => {} + ResponseToolArguments::Delta(delta) => tool.arguments.push_str(delta), + ResponseToolArguments::Snapshot(snapshot) if snapshot == tool.arguments => {} + ResponseToolArguments::Snapshot(snapshot) if snapshot.starts_with(&tool.arguments) => { + tool.arguments.push_str(&snapshot[tool.arguments.len()..]); + } + ResponseToolArguments::Snapshot(_) => { + return Err(Error::Provider( + "OpenAI Responses final tool arguments do not match streamed arguments".into(), + )); } } @@ -509,8 +530,11 @@ fn responses_usage(value: &Value) -> Usage { #[cfg(test)] mod tests { - use super::responses_input; + use std::collections::BTreeMap; + + use super::{responses_input, update_response_tool, ResponseToolArguments, ResponseToolState}; use crate::model::{ContentPart, ProjectedContent, ProjectedMessage, Role, ToolResultContent}; + use crate::provider::ModelEvent; #[test] fn read_image_stays_in_its_function_call_output() { @@ -542,4 +566,71 @@ mod tests { assert_eq!(input[0]["output"][1]["type"], "input_image"); assert_eq!(input[0]["output"][1]["detail"], "auto"); } + + #[test] + fn tool_argument_deltas_are_ordered_bytes_and_final_snapshots_are_idempotent() { + let item = serde_json::json!({"call_id": "call-1", "name": "Shell"}); + let mut tools = BTreeMap::::new(); + let mut events = update_response_tool( + 0, + &item, + ResponseToolArguments::Delta(r#"{"block_until_ms":300"#), + false, + &mut tools, + ) + .unwrap(); + events.extend( + update_response_tool( + 0, + &item, + ResponseToolArguments::Delta("00"), + false, + &mut tools, + ) + .unwrap(), + ); + events.extend( + update_response_tool( + 0, + &item, + ResponseToolArguments::Delta("}"), + false, + &mut tools, + ) + .unwrap(), + ); + events.extend( + update_response_tool( + 0, + &item, + ResponseToolArguments::Snapshot(r#"{"block_until_ms":30000}"#), + true, + &mut tools, + ) + .unwrap(), + ); + + let arguments = events + .iter() + .filter_map(|event| match event { + ModelEvent::ToolCallArgumentsDelta { delta, .. } => Some(delta.as_str()), + _ => None, + }) + .collect::(); + assert_eq!(arguments, r#"{"block_until_ms":30000}"#); + assert_eq!( + serde_json::from_str::(&arguments).unwrap()["block_until_ms"], + 30000 + ); + + assert!(update_response_tool( + 0, + &item, + ResponseToolArguments::Snapshot(r#"{"block_until_ms":30000}"#), + true, + &mut tools, + ) + .unwrap() + .is_empty()); + } } diff --git a/server/tests/provider_stream.rs b/server/tests/provider_stream.rs index 8800240..0fc7189 100644 --- a/server/tests/provider_stream.rs +++ b/server/tests/provider_stream.rs @@ -424,6 +424,38 @@ async fn openai_responses_item_done_closes_text_and_tool_arguments() { ); } +#[tokio::test] +async fn openai_responses_preserves_delta_that_repeats_the_streamed_suffix() { + let (base_url, _requests, server) = fixture_server( + "/v1/responses", + concat!( + "data: {\"type\":\"response.output_item.added\",\"output_index\":0,\"item\":{\"type\":\"function_call\",\"call_id\":\"call-1\",\"name\":\"Shell\"}}\n\n", + "data: {\"type\":\"response.function_call_arguments.delta\",\"output_index\":0,\"delta\":\"{\\\"block_until_ms\\\":300\"}\n\n", + "data: {\"type\":\"response.function_call_arguments.delta\",\"output_index\":0,\"delta\":\"00\"}\n\n", + "data: {\"type\":\"response.function_call_arguments.delta\",\"output_index\":0,\"delta\":\"}\"}\n\n", + "data: {\"type\":\"response.function_call_arguments.done\",\"output_index\":0,\"arguments\":\"{\\\"block_until_ms\\\":30000}\"}\n\n", + "data: {\"type\":\"response.output_item.done\",\"output_index\":0,\"item\":{\"type\":\"function_call\",\"call_id\":\"call-1\",\"name\":\"Shell\",\"arguments\":\"{\\\"block_until_ms\\\":30000}\"}}\n\n", + "data: {\"type\":\"response.completed\",\"response\":{}}\n\n", + ), + ) + .await; + let provider = OpenAiResponsesProvider::new( + reqwest::Client::new(), + config(ProviderKind::OpenAiResponses, base_url, None), + ); + let (sender, _receiver) = tokio::sync::mpsc::channel(32); + + let result = consume_model_cycle( + provider.stream(invocation(), CancellationToken::new()), + &sender, + &CancellationToken::new(), + ) + .await; + server.abort(); + + assert_eq!(result.unwrap().calls[0].arguments["block_until_ms"], 30000); +} + #[tokio::test] async fn openai_responses_completed_object_recovers_missing_item_events() { let (base_url, _requests, server) = fixture_server(