Files
cursor-byok/cursor-proto/proto/agent_v1.proto
T

9578 lines
270 KiB
Protocol Buffer

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<string, string> 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<string, string> 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<string, string> 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<string, FileState> file_states = 10;
repeated ConversationSummaryArchive summary_archives = 11;
map<string, PlanRegistryEntry> plans = 12;
repeated CommunicateUpdateHistoryEntry communicate_update_history = 13;
optional string communicate_update_final_summary = 14;
optional string communicate_update_completed_subtitle = 15;
map<string, CommunicateUpdateTurnState> communicate_update_states_by_parent_tool_call_id = 16;
}
// Copied from: local:agent.v1.ConversationStateStructure (var: 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<string, bytes> file_states = 12;
map<string, FileStateStructure> file_states_v2 = 15;
repeated bytes summary_archives = 13;
repeated StepTiming turn_timings = 14;
map<string, SubagentPersistedState> subagent_states = 16;
uint32 self_summary_count = 17;
repeated string read_paths = 18;
optional string active_branch_name = 19;
map<string, PlanRegistryEntry> plans = 20;
repeated TrackedGitRepo tracked_git_repo_branches = 21;
optional string agent_type = 22;
repeated CommunicateUpdateHistoryEntry communicate_update_history = 23;
map<string, string> subagent_threads = 24;
optional string communicate_update_final_summary = 25;
optional string communicate_update_completed_subtitle = 28;
map<string, CommunicateUpdateTurnState> communicate_update_states_by_parent_tool_call_id = 29;
map<string, SubagentRunState> subagent_runs_by_parent_tool_call_id = 30;
optional uint64 conversation_started_timestamp_ms = 26;
optional string conversation_started_time_zone = 27;
map<string, bytes> subagent_state_refs = 31;
optional GoalState goal_state = 32;
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<string, string> 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<string, string> 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<string, string> 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<string, string> 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<string, string> 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<string, string> 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<string, string> 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<string, GrepUnionResult> 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<string, ArtifactPathError> 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<string, string> 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<string, int32> 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<string, google.protobuf.Value> args = 2;
string tool_call_id = 3;
string provider_identifier = 4;
string tool_name = 5;
optional SmartModeApproval smart_mode_approval = 6;
bool smart_mode_approval_only = 7;
bool skip_approval = 8;
string server_identifier = 9;
}
// Copied from: local:agent.v1.McpAuthArgs (var: 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<string, string> annotations = 7;
optional string download_path = 8;
optional OutputLocation output_location = 9;
oneof content {
string text = 5;
bytes blob = 6;
}
}
// Copied from: local:agent.v1.ReadMcpResourceToolCall (var: 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<string, string> file_contents = 20;
optional string user_intent_summary = 21;
repeated CustomSubagent custom_subagents = 22;
optional McpFileSystemOptions mcp_file_system_options = 23;
optional bool web_fetch_enabled = 24;
optional string hooks_additional_context = 25;
optional string commit_attribution_message = 26;
optional string pr_attribution_message = 27;
optional HooksConfigInfo hooks_config = 28;
repeated AgentSkill agent_skills = 29;
repeated PrecomputedHumanChange precomputed_human_changes = 30;
optional RecentlyAddedPlugin recently_added_plugin = 31;
optional bool supports_mcp_auth = 32;
optional bool git_repo_info_complete = 33;
optional McpMetaToolOptions mcp_meta_tool_options = 34;
optional bool read_lints_enabled = 35;
optional bool mcp_info_complete = 36;
repeated CursorRule non_file_rules = 37;
optional MatchedInstalledPlugin matched_installed_plugin = 38;
optional bool rules_info_complete = 39;
optional bool env_info_complete = 40;
optional bool repository_info_complete = 41;
optional bool custom_subagents_info_complete = 42;
optional bool agent_skills_info_complete = 43;
optional bool mcp_file_system_info_complete = 44;
optional bool git_status_info_complete = 45;
optional PermissionsAutoRunInstructions user_permissions_auto_run = 46;
optional PermissionsAutoRunInstructions project_permissions_auto_run = 47;
optional PermissionsAutoRunInstructions admin_permissions_auto_run = 48;
repeated string disabled_team_rules = 49;
optional bool search_conversations_enabled = 50;
optional bool send_message_enabled = 51;
repeated string admin_command_denylist = 52;
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<string, string> 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<string, string> 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) {}
}