Files
leokun 2e265d415e feat(forwarder): make checkpoint recovery idempotent
Preserve interrupted provider output, keep checkpoint projections deterministic, and enforce proto snapshot synchronization.
2026-08-06 21:08:43 +08:00

36988 lines
1.2 MiB
Plaintext

syntax = "proto3";
package aiserver.v1;
import "google/protobuf/duration.proto";
import "google/protobuf/empty.proto";
import "google/protobuf/struct.proto";
import "google/protobuf/timestamp.proto";
option go_package = "cursor/gen/aiserverv1;aiserverv1";
// Copied from: local:aiserver.v1.AbortAgentStoreMultipartWritesRequest (var: Of)
message AbortAgentStoreMultipartWritesRequest {
string store_id = 1;
repeated AgentStoreMultipartWriteAbort uploads = 2;
}
// Copied from: local:aiserver.v1.AbortAgentStoreMultipartWritesResponse (var: Qf)
message AbortAgentStoreMultipartWritesResponse {
repeated AgentStoreMultipartAbortResult results = 1;
}
// Copied from: local:aiserver.v1.AcceptCursorPredictionEvent (var: ve)
message AcceptCursorPredictionEvent {
CursorPrediction cursor_prediction = 1;
PointInTimeModel point_in_time_model = 2;
}
// Copied from: local:aiserver.v1.AcceptInviteRequest (var: yl)
message AcceptInviteRequest {
string invite_code = 1;
}
// Copied from: local:aiserver.v1.AcceptInviteResponse (var: kl)
message AcceptInviteResponse {
int32 team_id = 1;
}
// Copied from: local:aiserver.v1.AcknowledgeGracePeriodDisclaimerRequest (var: Xe)
message AcknowledgeGracePeriodDisclaimerRequest {
}
// Copied from: local:aiserver.v1.AcknowledgeGracePeriodDisclaimerResponse (var: Ze)
message AcknowledgeGracePeriodDisclaimerResponse {
}
// Copied from: local:aiserver.v1.AcquireAgentStoreFileLockRequest (var: Hf)
message AcquireAgentStoreFileLockRequest {
string store_id = 1;
string rel_path = 2;
AgentStoreFileLockHolder holder = 3;
string acquisition_id = 4;
optional int64 ttl_seconds = 5;
}
// Copied from: local:aiserver.v1.AcquireAgentStoreFileLockResponse (var: Vf)
message AcquireAgentStoreFileLockResponse {
bool acquired = 1;
optional string lock_token = 2;
optional AgentStoreFileLockHolder current_holder = 3;
int64 expires_at_ms = 4;
}
// Copied from: local:aiserver.v1.ActivatePromotionRequest (var: Pa)
message ActivatePromotionRequest {
string promo_type_id = 1;
}
// Copied from: local:aiserver.v1.ActivatePromotionResponse (var: ba)
message ActivatePromotionResponse {
// Copied from: local:aiserver.v1.ActivatePromotionResponse.ActivationType (var: Nt)
enum ActivationType {
ACTIVATION_TYPE_UNSPECIFIED = 0;
ACTIVATION_TYPE_CHECKOUT = 1;
ACTIVATION_TYPE_SUBSCRIPTION = 2;
}
ActivationType type = 1;
optional string checkout_url = 2;
optional bool success = 3;
}
// Copied from: local:aiserver.v1.ActivationStatus (var: Ra)
message ActivationStatus {
bool is_activated = 1;
optional int64 activated_at = 2;
}
// Copied from: agent.v1.ActiveBranchChange (var: La)
message ActiveBranchChange {
string path = 1;
string branch_name = 2;
}
// Copied from: local:aiserver.v1.ActiveCreditGrant (var: zd)
message ActiveCreditGrant {
string grant_id = 1;
int64 total_cents = 2;
int64 remaining_cents = 3;
int64 expires_at_ms = 4;
repeated string allowed_model_ids = 5;
repeated string allowed_model_tags = 6;
string grant_type = 7;
optional int32 slowness_ms = 8;
optional string source = 9;
optional string campaign_name = 10;
bool show_in_client = 11;
repeated string allowed_client_types = 12;
}
// Copied from: local:aiserver.v1.ActiveUsers (var: cd)
message ActiveUsers {
int32 current = 1;
int32 previous = 2;
int32 percent_change = 3;
}
// Copied from: local:aiserver.v1.AdButton (var: Je)
message AdButton {
string text = 1;
ButtonType button_type = 2;
oneof action {
string external_url = 3;
string command_id = 4;
ClientAction client_action = 5;
}
}
// Copied from: local:aiserver.v1.AdContent (var: ve)
message AdContent {
optional string tag = 1;
string title = 2;
repeated AdSection sections = 3;
optional bool center_title = 4;
}
// Copied from: local:aiserver.v1.AdHeader (var: Ie)
message AdHeader {
optional string banner_url = 1;
optional string banner_url_light = 2;
optional string banner_url_dark = 3;
}
// Copied from: local:aiserver.v1.AdSection (var: Be)
message AdSection {
string icon_svg = 1;
string title = 2;
string description = 3;
optional bool is_beta = 4;
}
// Copied from: local:aiserver.v1.AddAsyncFollowupBackgroundComposerRequest (var: nl)
message AddAsyncFollowupBackgroundComposerRequest {
string bc_id = 1;
string followup = 2;
string rich_followup = 4;
bool synchronous = 3;
ConversationMessage followup_message = 5;
optional ModelDetails model_details = 6;
optional RequestedModel requested_model = 15;
optional BackgroundComposerSource followup_source = 7;
optional bool continue_rebase = 8;
optional PlanFollowupType plan_followup_type = 9;
optional ConversationAction followup_conversation_action = 10;
optional string followup_id = 11;
optional int64 time_budget_ms = 12;
optional int64 time_budget_seconds = 13;
optional string followup_system_reminder = 14;
optional string mcp_config_json = 16;
repeated string requested_additional_store_ids = 17;
map<string, string> run_env_vars = 18;
repeated AgentStoreMount store_mounts = 19;
optional string resubmit_from_message_id = 20;
optional bool use_experimental_model_opt_out = 21;
optional string coalescing_key = 22;
}
// Copied from: local:aiserver.v1.AddAsyncFollowupBackgroundComposerResponse (var: rl)
message AddAsyncFollowupBackgroundComposerResponse {
string run_id = 1;
}
// Copied from: local:aiserver.v1.AddBugbotFeedbackRequest (var: E)
message AddBugbotFeedbackRequest {
int64 comment_id = 1;
BugbotFeedbackReaction reaction = 2;
optional string feedback = 3;
}
// Copied from: local:aiserver.v1.AddBugbotFeedbackResponse (var: S)
message AddBugbotFeedbackResponse {
int64 id = 1;
}
// Copied from: local:aiserver.v1.AddGithubUsersToTeamRequest (var: Sf)
message AddGithubUsersToTeamRequest {
int64 installation_id = 1;
repeated GithubUser github_users = 2;
optional string ghe_application = 4;
}
// Copied from: local:aiserver.v1.AddGithubUsersToTeamResponse (var: If)
message AddGithubUsersToTeamResponse {
int32 added_user_count = 1;
}
// Copied from: local:aiserver.v1.AddGroupMembersRequest (var: I_)
message AddGroupMembersRequest {
int32 group_id = 1;
int32 team_id = 2;
repeated int32 user_ids = 3;
optional GroupType type = 4;
}
// Copied from: local:aiserver.v1.AddGroupMembersResponse (var: v_)
message AddGroupMembersResponse {
Group group = 1;
}
// Copied from: local:aiserver.v1.AddMarketplaceRequest (var: tI)
message AddMarketplaceRequest {
string name = 1;
string git_url = 2;
optional string git_ref = 3;
optional string display_name = 4;
optional string description = 5;
optional int32 team_id = 6;
optional bool auto_reindex = 7;
}
// Copied from: local:aiserver.v1.AddMarketplaceResponse (var: nI)
message AddMarketplaceResponse {
Marketplace marketplace = 1;
}
// Copied from: local:aiserver.v1.AddMcpServersFromPluginRequest (var: Di)
message AddMcpServersFromPluginRequest {
int64 plugin_id = 1;
string scope = 2;
optional int32 team_id = 3;
optional string commit_sha = 4;
optional string server_name = 5;
map<string, string> substitutions = 6;
optional string oauth_redirect_uri = 7;
}
// Copied from: local:aiserver.v1.AddMcpServersFromPluginResponse (var: Oi)
message AddMcpServersFromPluginResponse {
repeated int64 added_server_ids = 1;
}
// Copied from: local:aiserver.v1.AddOrganizationGroupMembersRequest (var: Fs)
message AddOrganizationGroupMembersRequest {
string organization_id = 1;
int64 group_id = 2;
repeated int32 user_ids = 3;
}
// Copied from: local:aiserver.v1.AddOrganizationGroupMembersResponse (var: qs)
message AddOrganizationGroupMembersResponse {
int32 added_count = 1;
}
// Copied from: local:aiserver.v1.AddOrganizationIdentityProviderDomainJoinRequest (var: Ar)
message AddOrganizationIdentityProviderDomainJoinRequest {
string organization_id = 1;
string identity_provider_public_id = 2;
string domain = 3;
}
// Copied from: local:aiserver.v1.AddPullRequestReviewCommentRequest (var: Yc)
message AddPullRequestReviewCommentRequest {
string pr_url = 1;
string path = 2;
string body = 3;
int32 line = 4;
optional int32 start_line = 5;
optional string diff_side = 6;
optional string commit_oid = 7;
}
// Copied from: local:aiserver.v1.AddPullRequestReviewCommentResponse (var: Kc)
message AddPullRequestReviewCommentResponse {
optional PRReviewThread thread = 1;
}
// Copied from: local:aiserver.v1.AddRepoPatternRequest (var: Nm)
message AddRepoPatternRequest {
int32 team_id = 1;
int32 repo_id = 2;
string pattern = 3;
}
// Copied from: local:aiserver.v1.AddRepoPatternResponse (var: Rm)
message AddRepoPatternResponse {
int32 pattern_id = 1;
}
// Copied from: local:aiserver.v1.AddTabRequestToEvalRequest (var: oe)
message AddTabRequestToEvalRequest {
string request_id = 1;
string expected_behavior = 2;
}
// Copied from: local:aiserver.v1.AddTabRequestToEvalResponse (var: ie)
message AddTabRequestToEvalResponse {
}
// Copied from: local:aiserver.v1.AddTeamGroupMembersRequest (var: eo)
message AddTeamGroupMembersRequest {
int32 team_id = 1;
int64 group_id = 2;
repeated int32 user_ids = 3;
}
// Copied from: local:aiserver.v1.AddTeamGroupMembersResponse (var: to)
message AddTeamGroupMembersResponse {
int32 added_count = 1;
}
// Copied from: local:aiserver.v1.AddTestParams (var: jt)
message AddTestParams {
string relative_workspace_path = 1;
string test_name = 2;
string test_code = 3;
}
// Copied from: local:aiserver.v1.AddTestResult (var: Xt)
message AddTestResult {
// Copied from: local:aiserver.v1.AddTestResult.Feedback (var: $t)
message Feedback {
string message = 1;
string severity = 2;
int32 start_line_number = 3;
int32 end_line_number = 4;
repeated AddTestResult.RelatedInformation related_information = 5;
}
// Copied from: local:aiserver.v1.AddTestResult.RelatedInformation (var: Zt)
message RelatedInformation {
string message = 1;
int32 start_line_number = 2;
int32 end_line_number = 3;
string relative_workspace_path = 4;
}
repeated Feedback feedback = 1;
}
// Copied from: local:aiserver.v1.AddUiStepParams (var: st)
message AddUiStepParams {
// Copied from: local:aiserver.v1.AddUiStepParams.SearchResult (var: ot)
message SearchResult {
string relative_workspace_path = 1;
}
// Copied from: local:aiserver.v1.AddUiStepParams.SearchResults (var: it)
message SearchResults {
repeated AddUiStepParams.SearchResult search_results = 1;
}
string conversation_id = 1;
oneof step {
SearchResults search_results = 2;
}
}
// Copied from: local:aiserver.v1.AddUiStepResult (var: at)
message AddUiStepResult {
}
// Copied from: local:aiserver.v1.AdditionalFile (var: Y)
message AdditionalFile {
string relative_workspace_path = 1;
bool is_open = 2;
repeated string visible_range_content = 3;
optional double last_viewed_at = 4;
repeated int32 start_line_number_one_indexed = 5;
repeated LineRange visible_ranges = 6;
}
// Copied from: local:aiserver.v1.AdminCommandDenylist (var: Qm)
message AdminCommandDenylist {
repeated string rules = 1;
}
// Copied from: local:aiserver.v1.AdminDeleteNamedAgentRequest (var: fp)
message AdminDeleteNamedAgentRequest {
string named_agent_id = 1;
int32 team_id = 2;
}
// Copied from: local:aiserver.v1.AdminDeleteNamedAgentResponse (var: gp)
message AdminDeleteNamedAgentResponse {
repeated string deleted_bc_ids = 1;
repeated string failed_bc_ids = 2;
}
// Copied from: local:aiserver.v1.AdminListTeamNamedAgentsRequest (var: mp)
message AdminListTeamNamedAgentsRequest {
int32 team_id = 1;
}
// Copied from: local:aiserver.v1.AdminListTeamNamedAgentsResponse (var: pp)
message AdminListTeamNamedAgentsResponse {
repeated AdminNamedAgent named_agents = 1;
}
// Copied from: local:aiserver.v1.AdminListUserPrivateWorkersRequest (var: Ip)
message AdminListUserPrivateWorkersRequest {
optional string auth_id = 1;
optional int32 user_id = 2;
optional string email = 3;
}
// Copied from: local:aiserver.v1.AdminListUserPrivateWorkersResponse (var: vp)
message AdminListUserPrivateWorkersResponse {
int32 user_id = 1;
string auth_id = 2;
string email = 3;
repeated int32 team_ids = 4;
repeated PrivateWorker private_workers = 5;
bool remote_control_enabled = 7;
bool team_remote_control_allowed = 8;
}
// Copied from: local:aiserver.v1.AdminNamedAgent (var: dp)
message AdminNamedAgent {
string named_agent_id = 1;
optional string name = 2;
optional string profile_picture_url = 3;
optional int32 owning_user = 4;
optional int32 owning_team = 5;
string created_at = 6;
string updated_at = 7;
repeated AdminNamedAgentSession sessions = 8;
}
// Copied from: local:aiserver.v1.AdminNamedAgentSession (var: cp)
message AdminNamedAgentSession {
string bc_id = 1;
string session_key = 2;
string session_kind = 3;
}
// Copied from: local:aiserver.v1.AdminNotificationRequestType (var: rt)
enum AdminNotificationRequestType {
ADMIN_NOTIFICATION_REQUEST_TYPE_UNSPECIFIED = 0;
ADMIN_NOTIFICATION_REQUEST_TYPE_PRIVACY_MODE = 1;
ADMIN_NOTIFICATION_REQUEST_TYPE_BUGBOT = 2;
ADMIN_NOTIFICATION_REQUEST_TYPE_BUGBOT_ENABLE_REPOS = 3;
}
// Copied from: local:aiserver.v1.AdminRemoveRepositoryRequest (var: ve)
message AdminRemoveRepositoryRequest {
int32 codebase_id = 1;
}
// Copied from: local:aiserver.v1.AdminRemoveRepositoryResponse (var: Be)
message AdminRemoveRepositoryResponse {
}
// Copied from: local:aiserver.v1.AdmittedCustomModeState (var: ua)
message AdmittedCustomModeState {
string id = 1;
string label = 2;
optional string icon = 3;
optional string color = 4;
CustomModeSource source = 5;
optional string source_path = 6;
optional string source_hash = 7;
string active_reminder = 8;
string admitted_by_turn_id = 9;
optional string description = 10;
optional string managed_skill_id = 11;
optional string plugin_id = 12;
}
// Copied from: local:aiserver.v1.AdvancedCodebaseContextOptions (var: vr)
message AdvancedCodebaseContextOptions {
int32 num_results_per_search = 1;
optional string include_pattern = 2;
optional string exclude_pattern = 3;
RerankerAlgorithm reranker = 4;
optional string index_id = 5;
bool reasoning_step = 6;
optional RechunkerChoice rechunker = 7;
}
// Copied from: agent.v1.AfterAgentResponseRequestQuery (var: il)
message AfterAgentResponseRequestQuery {
string text = 1;
optional string conversation_id = 2;
optional string generation_id = 3;
optional string model = 4;
optional string model_id = 5;
repeated RequestedModel.ModelParameterValue model_params = 6;
optional int64 input_tokens = 7;
optional int64 output_tokens = 8;
optional int64 cache_read_tokens = 9;
optional int64 cache_write_tokens = 10;
}
// Copied from: agent.v1.AfterAgentResponseRequestResponse (var: al)
message AfterAgentResponseRequestResponse {
}
// Copied from: agent.v1.AfterAgentThoughtRequestQuery (var: ll)
message AfterAgentThoughtRequestQuery {
string text = 1;
optional int64 duration_ms = 2;
optional string conversation_id = 3;
optional string generation_id = 4;
optional string model = 5;
optional string model_id = 6;
repeated RequestedModel.ModelParameterValue model_params = 7;
}
// Copied from: agent.v1.AfterAgentThoughtRequestResponse (var: ul)
message AfterAgentThoughtRequestResponse {
}
// Copied from: local:aiserver.v1.AgentLayoutPolicy (var: je)
message AgentLayoutPolicy {
repeated string allowed_action_ids = 1;
repeated string denied_action_ids = 2;
}
// Copied from: agent.v1.AgentMode (var: xs)
enum AgentMode {
AGENT_MODE_UNSPECIFIED = 0;
AGENT_MODE_AGENT = 1;
AGENT_MODE_ASK = 2;
AGENT_MODE_PLAN = 3;
AGENT_MODE_DEBUG = 4;
AGENT_MODE_TRIAGE = 5;
AGENT_MODE_PROJECT = 6;
AGENT_MODE_MULTITASK = 7;
AGENT_MODE_CUSTOM = 8;
}
// Copied from: agent.v1.AgentSkill (var: s)
message AgentSkill {
string full_path = 1;
string content = 2;
string description = 3;
optional string parse_error = 4;
repeated string environments = 5;
repeated string disabled_environments = 6;
optional string git_remote_origin = 7;
bool disable_model_invocation = 8;
optional string plugin = 9;
optional string marketplace = 10;
optional string plugin_id = 11;
optional string marketplace_id = 12;
repeated string globs = 13;
repeated string scoped_to = 14;
}
// Copied from: local:aiserver.v1.AgentStartupTraceEvent (var: js)
message AgentStartupTraceEvent {
// Copied from: local:aiserver.v1.AgentStartupTraceEvent.ContextLink (var: Xs)
message ContextLink {
string name = 1;
string href = 2;
}
// Copied from: local:aiserver.v1.AgentStartupTraceEvent.SpanEnded (var: $s)
message SpanEnded {
string span_id = 1;
}
// Copied from: local:aiserver.v1.AgentStartupTraceEvent.SpanStarted (var: Zs)
message SpanStarted {
string span_id = 1;
string name = 2;
optional string parent_span_id = 3;
optional string href = 4;
optional string temporal_run_id = 5;
optional string temporal_activity_id = 6;
}
// Copied from: local:aiserver.v1.AgentStartupTraceEvent.TurnClose (var: to)
message TurnClose {
uint32 turn_index = 1;
}
// Copied from: local:aiserver.v1.AgentStartupTraceEvent.UserAction (var: eo)
message UserAction {
uint32 turn_index = 1;
}
uint64 creation_timestamp_ms = 1;
oneof payload {
SpanStarted span_started = 2;
SpanEnded span_ended = 3;
UserAction user_action = 4;
TurnClose turn_close = 5;
ContextLink context_link = 6;
}
}
// Copied from: local:aiserver.v1.AgentStore (var: nf)
message AgentStore {
string store_id = 1;
double created_at_ms = 4;
double updated_at_ms = 5;
repeated string repo_urls = 8;
repeated SharedAgentStoreInfo shares = 9;
AgentStoreKind kind = 10;
optional double last_file_write_at_ms = 11;
string source_id = 12;
optional string source_display_name = 13;
AgentStoreSourceRef source = 14;
}
// Copied from: agent.v1.AgentStoreConflictArgs (var: Oe)
message AgentStoreConflictArgs {
optional AgentStoreConflictCursor cursor = 1;
optional bool advance = 2;
}
// Copied from: agent.v1.AgentStoreConflictCursor (var: De)
message AgentStoreConflictCursor {
string journal_epoch = 1;
uint64 seq = 2;
string last_event_id = 3;
}
// Copied from: agent.v1.AgentStoreConflictError (var: Ge)
message AgentStoreConflictError {
string error = 1;
}
// Copied from: agent.v1.AgentStoreConflictEvent (var: Ue)
message AgentStoreConflictEvent {
uint32 v = 1;
string event_id = 2;
string journal_epoch = 3;
uint64 seq = 4;
uint64 ts_ms = 5;
string kind = 6;
optional string store_id = 7;
optional string original_rel_path = 8;
optional string conflict_rel_path = 9;
optional string original_abs_path = 10;
optional string conflict_abs_path = 11;
optional uint64 preserved_bytes = 12;
}
// Copied from: agent.v1.AgentStoreConflictResult (var: xe)
message AgentStoreConflictResult {
oneof result {
AgentStoreConflictSuccess success = 1;
AgentStoreConflictError error = 2;
}
}
// Copied from: agent.v1.AgentStoreConflictSuccess (var: Qe)
message AgentStoreConflictSuccess {
repeated AgentStoreConflictEvent events = 1;
AgentStoreConflictCursor next_cursor = 2;
bool gap = 3;
}
// Copied from: local:aiserver.v1.AgentStoreConflictWriteInstruction (var: Ef)
message AgentStoreConflictWriteInstruction {
string rel_path = 1;
string url = 2;
map<string, string> headers = 3;
int64 expires_at_ms = 4;
optional AgentStoreMultipartWriteInstruction multipart = 5;
}
// Copied from: local:aiserver.v1.AgentStoreDeleteFileEntry (var: Zf)
message AgentStoreDeleteFileEntry {
string rel_path = 1;
string base_etag = 2;
optional string mutation_id = 3;
}
// Copied from: local:aiserver.v1.AgentStoreDeleteFileResult (var: $f)
message AgentStoreDeleteFileResult {
string rel_path = 1;
AgentStoreDeleteFileStatus status = 2;
string tombstone_etag = 3;
optional string current_etag = 4;
}
// Copied from: local:aiserver.v1.AgentStoreDeleteFileStatus (var: Fr)
enum AgentStoreDeleteFileStatus {
AGENT_STORE_DELETE_FILE_STATUS_UNSPECIFIED = 0;
AGENT_STORE_DELETE_FILE_STATUS_DELETED = 1;
AGENT_STORE_DELETE_FILE_STATUS_ALREADY_DELETED = 2;
AGENT_STORE_DELETE_FILE_STATUS_CONFLICT = 3;
}
// Copied from: local:aiserver.v1.AgentStoreDirectoryListingMode (var: Mr)
enum AgentStoreDirectoryListingMode {
AGENT_STORE_DIRECTORY_LISTING_MODE_UNSPECIFIED = 0;
AGENT_STORE_DIRECTORY_LISTING_MODE_DIRECTORY_PAGE = 1;
AGENT_STORE_DIRECTORY_LISTING_MODE_COMPLETE_FLAT_STORE = 2;
}
// Copied from: local:aiserver.v1.AgentStoreEntry (var: of)
message AgentStoreEntry {
string name = 1;
string relative_path = 2;
AgentStoreEntryKind kind = 3;
optional int64 size_bytes = 4;
optional double updated_at_ms = 5;
}
// Copied from: local:aiserver.v1.AgentStoreEntryKind (var: br)
enum AgentStoreEntryKind {
AGENT_STORE_ENTRY_KIND_UNSPECIFIED = 0;
AGENT_STORE_ENTRY_KIND_DIRECTORY = 1;
AGENT_STORE_ENTRY_KIND_FILE = 2;
}
// Copied from: local:aiserver.v1.AgentStoreFileEntry (var: df)
message AgentStoreFileEntry {
string rel_path = 1;
string etag = 2;
int64 size_bytes = 3;
int64 last_modified_ms = 4;
}
// Copied from: local:aiserver.v1.AgentStoreFileLockHolder (var: Gf)
message AgentStoreFileLockHolder {
string client_uuid = 1;
uint32 pid = 2;
}
// Copied from: local:aiserver.v1.AgentStoreKind (var: Rr)
enum AgentStoreKind {
AGENT_STORE_KIND_UNSPECIFIED = 0;
AGENT_STORE_KIND_CLOUD = 1;
AGENT_STORE_KIND_LOCAL = 2;
AGENT_STORE_KIND_AUTOMATION = 3;
AGENT_STORE_KIND_USER = 4;
AGENT_STORE_KIND_TEAM = 5;
AGENT_STORE_KIND_NAMED_AGENT = 6;
}
// Copied from: local:aiserver.v1.AgentStoreLockRedirect (var: Sf)
message AgentStoreLockRedirect {
optional AgentStoreFileLockHolder holder = 1;
string conflict_rel_path = 2;
int64 lock_expires_at_ms = 3;
}
// Copied from: local:aiserver.v1.AgentStoreMount (var: tf)
message AgentStoreMount {
optional string mount_name = 1;
bool server_generated = 5;
oneof target {
AgentStoreSourceRef source = 2;
string store_id = 3;
string share_id = 4;
}
}
// Copied from: local:aiserver.v1.AgentStoreMultipartAbortResult (var: xf)
message AgentStoreMultipartAbortResult {
uint32 input_index = 1;
string rel_path = 2;
oneof outcome {
AgentStoreMultipartAbortSuccess success = 3;
AgentStoreMultipartOperationFailure failure = 4;
}
}
// Copied from: local:aiserver.v1.AgentStoreMultipartAbortSuccess (var: Uf)
message AgentStoreMultipartAbortSuccess {
bool already_finished = 1;
}
// Copied from: local:aiserver.v1.AgentStoreMultipartOperationFailure (var: Lf)
message AgentStoreMultipartOperationFailure {
AgentStoreMultipartOperationFailureCode code = 1;
}
// Copied from: local:aiserver.v1.AgentStoreMultipartOperationFailureCode (var: Lr)
enum AgentStoreMultipartOperationFailureCode {
AGENT_STORE_MULTIPART_OPERATION_FAILURE_CODE_UNSPECIFIED = 0;
AGENT_STORE_MULTIPART_OPERATION_FAILURE_CODE_PRECONDITION_FAILED = 1;
AGENT_STORE_MULTIPART_OPERATION_FAILURE_CODE_UPLOAD_NOT_FOUND = 2;
AGENT_STORE_MULTIPART_OPERATION_FAILURE_CODE_INVALID_PARTS = 3;
AGENT_STORE_MULTIPART_OPERATION_FAILURE_CODE_CHECKSUM_MISMATCH = 4;
AGENT_STORE_MULTIPART_OPERATION_FAILURE_CODE_TRANSIENT = 5;
AGENT_STORE_MULTIPART_OPERATION_FAILURE_CODE_INTERNAL = 6;
AGENT_STORE_MULTIPART_OPERATION_FAILURE_CODE_RESTART_REQUIRED = 7;
}
// Copied from: local:aiserver.v1.AgentStoreMultipartUploadContext (var: Jf)
message AgentStoreMultipartUploadContext {
string upload_id = 1;
string store_id = 2;
string rel_path = 3;
int64 size_bytes = 4;
string sha = 5;
uint32 expected_part_count = 6;
string session_id = 9;
oneof precondition {
string base_etag = 7;
bool expect_absent = 8;
}
}
// Copied from: local:aiserver.v1.AgentStoreMultipartUploadPartDescriptor (var: kf)
message AgentStoreMultipartUploadPartDescriptor {
uint32 part_number = 1;
int64 offset_bytes = 2;
int64 size_bytes = 3;
bytes checksum_sha256 = 4;
}
// Copied from: local:aiserver.v1.AgentStoreMultipartUploadPartInstruction (var: Bf)
message AgentStoreMultipartUploadPartInstruction {
uint32 part_number = 1;
string url = 2;
map<string, string> headers = 3;
int64 offset_bytes = 4;
int64 size_bytes = 5;
}
// Copied from: local:aiserver.v1.AgentStoreMultipartUploadedPart (var: Rf)
message AgentStoreMultipartUploadedPart {
uint32 part_number = 1;
string etag = 2;
bytes checksum_sha256 = 3;
}
// Copied from: local:aiserver.v1.AgentStoreMultipartWriteAbort (var: Df)
message AgentStoreMultipartWriteAbort {
AgentStoreMultipartUploadContext context = 1;
}
// Copied from: local:aiserver.v1.AgentStoreMultipartWriteCompletion (var: Pf)
message AgentStoreMultipartWriteCompletion {
AgentStoreMultipartUploadContext context = 1;
repeated AgentStoreMultipartUploadedPart parts = 2;
}
// Copied from: local:aiserver.v1.AgentStoreMultipartWriteInstruction (var: vf)
message AgentStoreMultipartWriteInstruction {
AgentStoreMultipartUploadContext context = 1;
repeated AgentStoreMultipartUploadPartInstruction parts = 2;
int64 part_urls_expires_at_ms = 3;
}
// Copied from: local:aiserver.v1.AgentStoreMultipartWriteResult (var: Ff)
message AgentStoreMultipartWriteResult {
uint32 input_index = 1;
string rel_path = 2;
oneof outcome {
AgentStoreMultipartWriteSuccess success = 3;
AgentStoreMultipartOperationFailure failure = 4;
}
}
// Copied from: local:aiserver.v1.AgentStoreMultipartWriteSuccess (var: Mf)
message AgentStoreMultipartWriteSuccess {
string etag = 1;
}
// Copied from: local:aiserver.v1.AgentStoreReadInstruction (var: _f)
message AgentStoreReadInstruction {
string rel_path = 1;
string url = 2;
int64 expires_at_ms = 3;
}
// Copied from: local:aiserver.v1.AgentStoreShareVisibility (var: qr)
enum AgentStoreShareVisibility {
AGENT_STORE_SHARE_VISIBILITY_UNSPECIFIED = 0;
AGENT_STORE_SHARE_VISIBILITY_TEAM = 2;
AGENT_STORE_SHARE_VISIBILITY_PUBLIC = 3;
}
// Copied from: local:aiserver.v1.AgentStoreSourceKind (var: Pr)
enum AgentStoreSourceKind {
AGENT_STORE_SOURCE_KIND_UNSPECIFIED = 0;
AGENT_STORE_SOURCE_KIND_CLOUD = 1;
AGENT_STORE_SOURCE_KIND_LOCAL = 2;
AGENT_STORE_SOURCE_KIND_AUTOMATION = 3;
AGENT_STORE_SOURCE_KIND_USER = 4;
AGENT_STORE_SOURCE_KIND_TEAM = 5;
AGENT_STORE_SOURCE_KIND_NAMED_AGENT = 6;
}
// Copied from: local:aiserver.v1.AgentStoreSourceRef (var: ef)
message AgentStoreSourceRef {
AgentStoreSourceKind kind = 1;
string source_id = 2;
}
// Copied from: local:aiserver.v1.AgentStoreTombstone (var: gf)
message AgentStoreTombstone {
string rel_path = 1;
string tombstone_etag = 2;
int64 deleted_at_ms = 3;
}
// Copied from: local:aiserver.v1.AgentStoreWriteFileEntry (var: wf)
message AgentStoreWriteFileEntry {
string rel_path = 1;
int64 size_bytes = 2;
string sha = 3;
repeated AgentStoreMultipartUploadPartDescriptor multipart_parts = 6;
oneof precondition {
string base_etag = 4;
bool expect_absent = 5;
}
}
// Copied from: local:aiserver.v1.AgentStoreWriteInstruction (var: If)
message AgentStoreWriteInstruction {
string rel_path = 1;
string url = 2;
map<string, string> headers = 3;
int64 expires_at_ms = 4;
optional AgentStoreConflictWriteInstruction conflict = 5;
optional AgentStoreLockRedirect lock_redirect = 6;
optional AgentStoreMultipartWriteInstruction multipart = 7;
bool primary_precondition_failed = 8;
}
// Copied from: local:aiserver.v1.AgentTelemetryConfig (var: Ve)
message AgentTelemetryConfig {
bool enabled = 1;
}
// Copied from: local:aiserver.v1.AgentUrlConfig (var: st)
message AgentUrlConfig {
string agent_url = 1;
string agentn_url = 2;
}
// Copied from: local:aiserver.v1.AgentWorkspaceBinding (var: Ki)
message AgentWorkspaceBinding {
string id = 1;
string display_name = 2;
optional PrivateWorkspaceIdentifier private_workspace_identifier = 3;
}
// Copied from: local:aiserver.v1.AggregateCloudAgentRunsForDashboardRequest (var: ri)
message AggregateCloudAgentRunsForDashboardRequest {
CloudAgentDashboardRunFilter filter = 1;
int32 tz_offset_minutes = 2;
}
// Copied from: local:aiserver.v1.AggregateCloudAgentRunsForDashboardResponse (var: oi)
message AggregateCloudAgentRunsForDashboardResponse {
repeated CloudAgentDashboardRunDayBucket buckets = 1;
}
// Copied from: agent.v1.AiAttributionError (var: l)
message AiAttributionError {
string error = 1;
}
// Copied from: agent.v1.AiAttributionResult (var: i)
message AiAttributionResult {
oneof result {
AiAttributionSuccess success = 1;
AiAttributionError error = 2;
}
}
// Copied from: agent.v1.AiAttributionSuccess (var: a)
message AiAttributionSuccess {
string attribution_text = 1;
optional OutputLocation output_location = 2;
}
// Copied from: local:aiserver.v1.AiCodeChange (var: jl)
message AiCodeChange {
string change_id = 1;
string source = 2;
repeated ScoredAiCodeMetadata metadata = 3;
optional string model = 4;
int32 total_lines_added = 5;
int32 total_lines_deleted = 6;
}
// Copied from: local:aiserver.v1.AiLintBug (var: D)
message AiLintBug {
string relative_workspace_path = 1;
string uuid = 8;
string message = 2;
SimpleRange replace_range = 3;
string replace_text = 4;
string replace_initial_text = 5;
SimpleRange reevaluate_range = 6;
string reevaluate_initial_text = 7;
LintGenerator generator = 9;
repeated LintDiscriminatorResult discriminator_results = 10;
LogprobsLintPayload logprobs_payload = 11;
}
// Copied from: local:aiserver.v1.AiLintInlineSuggestion (var: U)
message AiLintInlineSuggestion {
string relative_workspace_path = 1;
string uuid = 8;
string message = 2;
int32 line_number = 3;
SimpleRange reevaluate_range = 4;
string reevaluate_initial_text = 5;
}
// Copied from: local:aiserver.v1.AiLintOutOfFlowSuggestion (var: x)
message AiLintOutOfFlowSuggestion {
string relative_workspace_path = 1;
string uuid = 8;
string message = 2;
}
// Copied from: local:aiserver.v1.AiLintRule (var: Q)
message AiLintRule {
string text = 1;
}
// Copied from: local:aiserver.v1.AiProjectRequest (var: Ln)
message AiProjectRequest {
string description = 1;
ModelDetails model_details = 2;
}
// Copied from: local:aiserver.v1.AiProjectResponse (var: Fn)
message AiProjectResponse {
string text = 1;
}
// Copied from: local:aiserver.v1.AiRequestEvent (var: kt)
message AiRequestEvent {
// Copied from: local:aiserver.v1.AiRequestEvent.RequestType (var: d)
enum RequestType {
REQUEST_TYPE_UNSPECIFIED = 0;
REQUEST_TYPE_START = 1;
REQUEST_TYPE_END = 2;
}
// Copied from: local:aiserver.v1.AiRequestEvent.Source (var: p)
enum Source {
SOURCE_UNSPECIFIED = 0;
SOURCE_CHAT = 1;
SOURCE_CMDK = 2;
SOURCE_APPLY = 3;
SOURCE_COMPOSER = 4;
SOURCE_TASK = 5;
SOURCE_CODE_INTERPRETER = 6;
SOURCE_INTERPRETER_EXECUTION = 7;
SOURCE_BUGBOT = 8;
}
RequestType request_type = 1;
string request_id = 2;
Source source = 3;
}
// Copied from: local:aiserver.v1.AiThoughtAnnotation (var: mn)
message AiThoughtAnnotation {
string request_id = 1;
string auth_id = 2;
CmdKDebugInfo debug_info = 3;
string thought = 4;
}
// Copied from: local:aiserver.v1.AiWebSearchResult (var: Ye)
message AiWebSearchResult {
string content = 1;
string title = 2;
}
// Copied from: local:aiserver.v1.AiWebSearchResults (var: Ke)
message AiWebSearchResults {
repeated AiWebSearchResult results = 1;
}
// Copied from: local:aiserver.v1.AllowedMCPConfiguration (var: Km)
message AllowedMCPConfiguration {
optional bool disable_all = 1;
repeated AllowedMCPServer allowed_mcp_servers = 2;
optional bool require_mcp_servers_in_team_network_allowlist = 3;
optional bool allow_user_override_mcp_servers = 4;
repeated AllowedMCPServer denied_mcp_servers = 10;
optional bool enable_cursor_cloud_mcp = 11;
}
// Copied from: local:aiserver.v1.AllowedMCPServer (var: Ym)
message AllowedMCPServer {
optional string command = 1;
optional string server_url = 2;
optional string name = 3;
repeated string network_allowlist = 4;
repeated string tool_allowlist = 5;
optional string network_mode = 6;
}
// Copied from: local:aiserver.v1.AllowlistConfig (var: qe)
enum AllowlistConfig {
ALLOWLIST_CONFIG_UNSPECIFIED = 0;
ALLOWLIST_CONFIG_ALLOWLIST = 1;
ALLOWLIST_CONFIG_BLOCKLIST = 2;
}
// Copied from: local:aiserver.v1.AnalyticsContext (var: g)
message AnalyticsContext {
optional ClientInfo client = 1;
}
// Copied from: local:aiserver.v1.AnalyticsEvent (var: c)
message AnalyticsEvent {
string event_name = 1;
map<string, EventData> event_data = 2;
int64 timestamp = 3;
}
// Copied from: local:aiserver.v1.AnalyticsPeriod (var: dd)
message AnalyticsPeriod {
int64 start_date = 1;
int64 end_date = 2;
}
// Copied from: local:aiserver.v1.AnthropicCyberVerificationStatus (var: ae)
enum AnthropicCyberVerificationStatus {
ANTHROPIC_CYBER_VERIFICATION_STATUS_UNSPECIFIED = 0;
ANTHROPIC_CYBER_VERIFICATION_STATUS_ACTIVE = 1;
ANTHROPIC_CYBER_VERIFICATION_STATUS_PENDING = 2;
ANTHROPIC_CYBER_VERIFICATION_STATUS_REJECTED = 3;
}
// Copied from: local:aiserver.v1.AnythingQuickAccessItem (var: Ct)
message AnythingQuickAccessItem {
// Copied from: local:aiserver.v1.AnythingQuickAccessItem.Resource (var: Nt)
message Resource {
optional PointInTimeModel model = 1;
optional IRange range = 2;
optional string uri = 3;
}
oneof item {
Resource resource = 1;
string separator = 2;
string section = 3;
}
}
// Copied from: local:aiserver.v1.AnythingQuickAccessSelectionEvent (var: Rt)
message AnythingQuickAccessSelectionEvent {
string query = 1;
repeated AnythingQuickAccessItem items = 2;
repeated int32 selected_indices = 3;
}
// Copied from: local:aiserver.v1.ApiDetails (var: _r)
message ApiDetails {
string api_key = 1;
optional bool enable_ghost_mode = 2;
}
// Copied from: local:aiserver.v1.ApiKey (var: Nl)
message ApiKey {
int32 id = 1;
string masked_key = 2;
string name = 3;
int64 created_at = 4;
optional string service_account_name = 5;
repeated string scopes = 6;
optional int64 expires_at = 7;
}
// Copied from: agent.v1.ApiKeyCredentials (var: la)
message ApiKeyCredentials {
string api_key = 1;
optional string base_url = 2;
}
// Copied from: agent.v1.AppliedAgentChange (var: u)
message AppliedAgentChange {
// Copied from: agent.v1.AppliedAgentChange.ChangeType (var: r)
enum ChangeType {
CHANGE_TYPE_UNSPECIFIED = 0;
CHANGE_TYPE_CREATED = 1;
CHANGE_TYPE_MODIFIED = 2;
CHANGE_TYPE_DELETED = 3;
}
string path = 1;
ChangeType change_type = 2;
optional string before_content = 3;
optional string after_content = 4;
optional string error = 5;
optional string message_for_model = 6;
}
// Copied from: agent.v1.ApplyAgentDiffError (var: m)
message ApplyAgentDiffError {
string error = 1;
repeated AppliedAgentChange applied_changes = 2;
}
// Copied from: local:aiserver.v1.ApplyAgentDiffParams (var: R)
message ApplyAgentDiffParams {
string agent_id = 1;
}
// Copied from: agent.v1.ApplyAgentDiffResult (var: a)
message ApplyAgentDiffResult {
oneof result {
ApplyAgentDiffSuccess success = 1;
ApplyAgentDiffError error = 2;
}
}
// Copied from: agent.v1.ApplyAgentDiffSuccess (var: l)
message ApplyAgentDiffSuccess {
repeated AppliedAgentChange applied_changes = 1;
}
// Copied from: local:aiserver.v1.ApplyFullSelfDrivingSuggestionRequest (var: V)
message ApplyFullSelfDrivingSuggestionRequest {
string pr_url = 1;
string bc_id = 2;
string head_commit_sha = 3;
}
// Copied from: local:aiserver.v1.ApplyFullSelfDrivingSuggestionResponse (var: Y)
message ApplyFullSelfDrivingSuggestionResponse {
string new_pr_head_sha = 1;
}
// Copied from: local:aiserver.v1.ApplyMigrateReindexPluginRepoInternalRequest (var: uS)
message ApplyMigrateReindexPluginRepoInternalRequest {
int64 publisher_id = 1;
string from_git_url = 2;
string to_git_url = 3;
optional string git_ref = 4;
optional string release_tag = 5;
bool deprecate_removed = 6;
}
// Copied from: local:aiserver.v1.ApplyMigrateReindexPluginRepoResponse (var: mS)
message ApplyMigrateReindexPluginRepoResponse {
int32 migrated_count = 1;
int32 created_count = 2;
int32 updated_count = 3;
int32 deprecated_count = 4;
repeated string created_plugin_names = 5;
repeated string updated_plugin_names = 6;
repeated string deprecated_plugin_names = 7;
string to_git_url = 8;
}
// Copied from: local:aiserver.v1.ApplyReindexPluginRepoInternalRequest (var: oS)
message ApplyReindexPluginRepoInternalRequest {
int64 publisher_id = 1;
string git_url = 2;
optional string git_ref = 3;
bool deprecate_removed = 4;
optional string release_tag = 5;
}
// Copied from: local:aiserver.v1.ApplyReindexPluginRepoResponse (var: iS)
message ApplyReindexPluginRepoResponse {
int32 created_count = 1;
int32 updated_count = 2;
int32 deprecated_count = 3;
repeated string created_plugin_names = 4;
repeated string updated_plugin_names = 5;
repeated string deprecated_plugin_names = 6;
}
// Copied from: local:aiserver.v1.ApplyTeamMarketplaceRequiredPluginsRequest (var: bI)
message ApplyTeamMarketplaceRequiredPluginsRequest {
repeated string plugin_ids = 1;
int64 marketplace_id = 2;
}
// Copied from: local:aiserver.v1.ApplyTeamMarketplaceRequiredPluginsResponse (var: MI)
message ApplyTeamMarketplaceRequiredPluginsResponse {
bool success = 1;
}
// Copied from: local:aiserver.v1.ApprovePluginRequest (var: gS)
message ApprovePluginRequest {
int64 plugin_id = 1;
}
// Copied from: local:aiserver.v1.ApprovePluginResponse (var: hS)
message ApprovePluginResponse {
Plugin plugin = 1;
}
// Copied from: local:aiserver.v1.ArchiveBackgroundComposerRequest (var: pi)
message ArchiveBackgroundComposerRequest {
string bc_id = 1;
bool unarchive = 2;
bool only_notify_runner = 3;
BackgroundComposerSource source = 4;
optional bool close_pull_request = 5;
}
// Copied from: local:aiserver.v1.ArchiveBackgroundComposerResponse (var: fi)
message ArchiveBackgroundComposerResponse {
bool closed_pull_request = 1;
}
// Copied from: local:aiserver.v1.ArchiveRepoBackgroundComposersRequest (var: gi)
message ArchiveRepoBackgroundComposersRequest {
repeated string repo_urls = 1;
optional int32 team_id = 2;
BackgroundComposerSource source = 3;
bool dry_run = 4;
bool remove_repo_environment_json = 5;
}
// Copied from: local:aiserver.v1.ArchiveRepoBackgroundComposersResponse (var: hi)
message ArchiveRepoBackgroundComposersResponse {
repeated string archived_bc_ids = 1;
repeated string failed_bc_ids = 2;
int32 remaining_count = 3;
int32 running_count = 4;
bool has_repo_environment_json = 5;
bool removed_repo_environment_json = 6;
}
// Copied from: local:aiserver.v1.ArchiveTeamServiceAccountRequest (var: Wl)
message ArchiveTeamServiceAccountRequest {
int32 team_id = 1;
string service_account_id = 2;
}
// Copied from: local:aiserver.v1.ArchiveTeamServiceAccountResponse (var: zl)
message ArchiveTeamServiceAccountResponse {
}
// Copied from: agent.v1.AskQuestionArgs (var: Oe)
message AskQuestionArgs {
// Copied from: agent.v1.AskQuestionArgs.Option (var: xe)
message Option {
string id = 1;
string label = 2;
}
// Copied from: agent.v1.AskQuestionArgs.Question (var: Ue)
message Question {
string id = 1;
string prompt = 2;
repeated AskQuestionArgs.Option options = 3;
bool allow_multiple = 4;
}
string title = 1;
repeated Question questions = 2;
bool run_async = 5;
string async_original_tool_call_id = 6;
}
// Copied from: agent.v1.AskQuestionInteractionQuery (var: za)
message AskQuestionInteractionQuery {
AskQuestionArgs args = 1;
string tool_call_id = 2;
}
// Copied from: agent.v1.AskQuestionInteractionResponse (var: ja)
message AskQuestionInteractionResponse {
AskQuestionResult result = 1;
}
// Copied from: local:aiserver.v1.AskQuestionParams (var: Js)
message AskQuestionParams {
// Copied from: local:aiserver.v1.AskQuestionParams.Option (var: Ns)
message Option {
string id = 1;
string label = 2;
}
// Copied from: local:aiserver.v1.AskQuestionParams.Question (var: Cs)
message Question {
string id = 1;
string prompt = 2;
repeated AskQuestionParams.Option options = 3;
bool allow_multiple = 4;
}
string title = 1;
repeated Question questions = 2;
bool run_async = 3;
}
// Copied from: local:aiserver.v1.AskQuestionResult (var: Rs)
message AskQuestionResult {
// Copied from: local:aiserver.v1.AskQuestionResult.Answer (var: Ps)
message Answer {
string question_id = 1;
repeated string selected_option_ids = 2;
optional string freeform_text = 3;
}
repeated Answer answers = 1;
bool is_async = 2;
}
// Copied from: local:aiserver.v1.AskQuestionStream (var: bs)
message AskQuestionStream {
AskQuestionParams params = 1;
}
// Copied from: local:aiserver.v1.AssignmentResult (var: R_)
message AssignmentResult {
string email = 1;
string group_name = 2;
bool success = 3;
optional string error_message = 4;
}
// Copied from: agent.v1.AsyncAskQuestionCompletionAction (var: _i)
message AsyncAskQuestionCompletionAction {
string original_tool_call_id = 1;
AskQuestionArgs original_args = 2;
AskQuestionResult result = 3;
}
// Copied from: local:aiserver.v1.AtSymbolDependencyInformation (var: Pt)
message AtSymbolDependencyInformation {
string name = 1;
string from_file = 2;
}
// Copied from: local:aiserver.v1.AtSymbolOption (var: Rt)
message AtSymbolOption {
int32 index = 1;
string text = 2;
string type = 3;
}
// Copied from: local:aiserver.v1.AttachAgentStartupTraceRequest (var: Xp)
message AttachAgentStartupTraceRequest {
string bc_id = 1;
optional string last_event_id = 2;
}
// Copied from: local:aiserver.v1.AttachAgentStartupTraceResponse (var: Zp)
message AttachAgentStartupTraceResponse {
string event_id = 1;
AgentStartupTraceEvent trace_event = 3;
}
// Copied from: local:aiserver.v1.AttachBackgroundComposerLogsRequest (var: Aa)
message AttachBackgroundComposerLogsRequest {
string bc_id = 1;
optional string last_event_id = 2;
optional uint32 worker_index = 3;
optional string last_docker_build_event_id = 4;
optional string last_setup_event_id = 5;
optional string associated_pod_key = 6;
}
// Copied from: local:aiserver.v1.AttachBackgroundComposerLogsResponse (var: _a)
message AttachBackgroundComposerLogsResponse {
// Copied from: local:aiserver.v1.AttachBackgroundComposerLogsResponse.Event (var: Ta)
message Event {
string event_id = 1;
SwGetLinterErrorsRequest event = 2;
WaterfallUpdate waterfall_update = 3;
}
Event event = 1;
ConversationMessage.EditTrailContext updated_status = 2;
ErrorDetails start_error = 3;
}
// Copied from: local:aiserver.v1.AttachBackgroundComposerPodRequest (var: Eo)
message AttachBackgroundComposerPodRequest {
string pod_id = 1;
optional string last_event_id = 2;
}
// Copied from: local:aiserver.v1.AttachBackgroundComposerPodResponse (var: So)
message AttachBackgroundComposerPodResponse {
// Copied from: local:aiserver.v1.AttachBackgroundComposerPodResponse.Event (var: Io)
message Event {
string event_id = 1;
SwGetLinterErrorsRequest event = 2;
}
Event event = 1;
IndexedFile updated_status = 2;
}
// Copied from: local:aiserver.v1.AttachBackgroundComposerRequest (var: ya)
message AttachBackgroundComposerRequest {
string bc_id = 1;
optional int32 starting_index = 2;
}
// Copied from: local:aiserver.v1.AttachBackgroundComposerResponse (var: ka)
message AttachBackgroundComposerResponse {
HeadlessAgenticComposerResponse headless_agentic_composer_response = 1;
HeadlessAgenticComposerPrompt prompt = 2;
string starting_commit = 4;
string base_branch = 5;
BackgroundComposerStatus status_update = 6;
GitDiff diff_since_start = 3;
}
// Copied from: local:aiserver.v1.AttachEnvironmentBuildLogRequest (var: xu)
message AttachEnvironmentBuildLogRequest {
string build_id = 1;
optional string cursor = 2;
}
// Copied from: local:aiserver.v1.AttachEnvironmentBuildLogResponse (var: Qu)
message AttachEnvironmentBuildLogResponse {
string text = 1;
string next_cursor = 2;
EnvironmentBuildRowStatus status = 3;
bool log_complete = 4;
}
// Copied from: local:aiserver.v1.AttributionControls (var: Cc)
message AttributionControls {
bool disable_attribution = 1;
}
// Copied from: local:aiserver.v1.AuditLogEvent (var: Pg)
message AuditLogEvent {
int64 id = 1;
string created_at = 2;
string event_id = 3;
string timestamp = 4;
string request_id = 5;
string auth_id = 6;
bool ghost_mode = 7;
string team_id = 8;
string ip_address = 9;
string user_email = 10;
string event_type = 11;
string event_data = 12;
string org_id = 13;
}
// Copied from: local:aiserver.v1.AutoContextConfig (var: Ue)
message AutoContextConfig {
bool enabled = 1;
bool enabled_fallback = 2;
bool enabled_git_graph = 3;
bool enabled_sem_search = 4;
bool enabled_v2 = 5;
}
// Copied from: local:aiserver.v1.AutoContextFile (var: Ve)
message AutoContextFile {
string relative_workspace_path = 1;
string file_content = 2;
}
// Copied from: local:aiserver.v1.AutoContextRankedFile (var: Ke)
message AutoContextRankedFile {
string relative_workspace_path = 1;
float reranking_score = 2;
}
// Copied from: local:aiserver.v1.AutoContextRequest (var: Ye)
message AutoContextRequest {
string text = 1;
repeated AutoContextFile candidate_files = 2;
ModelDetails model_details = 3;
}
// Copied from: local:aiserver.v1.AutoContextResponse (var: We)
message AutoContextResponse {
repeated AutoContextRankedFile ranked_files = 1;
}
// Copied from: local:aiserver.v1.AutoCreatePrMode (var: ke)
enum AutoCreatePrMode {
AUTO_CREATE_PR_MODE_UNSPECIFIED = 0;
AUTO_CREATE_PR_MODE_ALWAYS = 1;
AUTO_CREATE_PR_MODE_SINGLE = 2;
AUTO_CREATE_PR_MODE_NEVER = 3;
}
// Copied from: local:aiserver.v1.AutoCreatePrSetting (var: hr)
enum AutoCreatePrSetting {
AUTO_CREATE_PR_SETTING_UNSPECIFIED = 0;
AUTO_CREATE_PR_SETTING_ALWAYS = 1;
AUTO_CREATE_PR_SETTING_SINGLE = 2;
AUTO_CREATE_PR_SETTING_NEVER = 3;
}
// Copied from: local:aiserver.v1.AutoReviewInstructions (var: Hm)
message AutoReviewInstructions {
repeated string allow_instructions = 1;
repeated string block_instructions = 2;
}
// Copied from: local:aiserver.v1.AutoRunControls (var: Gm)
message AutoRunControls {
bool enabled = 1;
repeated string allowed = 2;
repeated string blocked = 3;
bool disable_mcp_auto_run = 4;
bool delete_file_protection = 5;
bool enable_run_everything = 6;
repeated string mcp_tool_allowlist = 7;
AutoRunSandboxingControls sandboxing_controls = 8;
bool browser_protection = 9;
optional bool enable_smart_auto = 10;
optional bool enable_allowlist_mode = 11;
AdminCommandDenylist admin_command_denylist = 12;
}
// Copied from: local:aiserver.v1.AutoRunSandboxingControls (var: dc)
message AutoRunSandboxingControls {
SandboxingMode sandboxing = 1;
NetworkingMode sandbox_networking = 2;
GitMode sandbox_git = 3;
SandboxReadBoundaryMode sandbox_read_boundary = 4;
repeated string sandbox_read_allowlist_paths = 5;
}
// Copied from: local:aiserver.v1.AutoSelectionInstructions (var: Ut)
message AutoSelectionInstructions {
string text = 1;
int32 start_line = 2;
int32 end_line = 3;
}
// Copied from: local:aiserver.v1.AutoSelectionResult (var: xt)
message AutoSelectionResult {
int32 start_line = 1;
int32 end_line = 2;
repeated AutoSelectionInstructions instructions = 3;
}
// Copied from: local:aiserver.v1.AvailableCppModelsRequest (var: z)
message AvailableCppModelsRequest {
}
// Copied from: local:aiserver.v1.AvailableCppModelsResponse (var: j)
message AvailableCppModelsResponse {
repeated string models = 1;
optional string default_model = 2;
}
// Copied from: local:aiserver.v1.AvailableDocsRequest (var: Vr)
message AvailableDocsRequest {
repeated string additional_doc_identifiers = 4;
oneof partial_doc {
string partial_url = 1;
string partial_doc_name = 2;
bool get_all = 3;
}
}
// Copied from: local:aiserver.v1.AvailableDocsResponse (var: Yr)
message AvailableDocsResponse {
repeated DocumentationInfo docs = 1;
}
// Copied from: local:aiserver.v1.AvailableModelsRequest (var: as)
message AvailableModelsRequest {
bool is_nightly = 1;
bool include_long_context_models = 2;
bool exclude_max_named_models = 3;
repeated string additional_model_names = 4;
optional bool use_model_parameters = 5;
optional bool include_hidden_models = 6;
optional bool do_not_use_markdown = 7;
optional bool variants_will_be_shown_in_exploded_list = 8;
optional bool for_automations = 9;
optional AvailableModelsScope scope = 10;
optional bool byok_enabled = 14;
optional bool use_react_model_picker = 11;
optional bool use_cloud_agent_effort_modes = 12;
optional string admin_settings_group_public_id = 13;
}
// Copied from: local:aiserver.v1.AvailableModelsResponse (var: ls)
message AvailableModelsResponse {
// Copied from: local:aiserver.v1.AvailableModelsResponse.AvailableModel (var: ds)
message AvailableModel {
string name = 1;
bool default_on = 2;
optional bool is_long_context_only = 3;
optional bool is_chat_only = 4;
optional bool supports_agent = 5;
optional AvailableModelsResponse.DegradationStatus degradation_status = 6;
optional double price = 7;
optional AvailableModelsResponse.TooltipData tooltip_data = 8;
optional AvailableModelsResponse.TooltipData tooltip_data_for_max_mode = 20;
optional bool supports_thinking = 9;
optional bool supports_images = 10;
optional bool supports_auto_context = 11;
optional int32 auto_context_max_tokens = 12;
optional int32 auto_context_extended_max_tokens = 13;
optional bool supports_max_mode = 14;
optional bool supports_non_max_mode = 19;
optional int32 context_token_limit = 15;
optional int32 context_token_limit_for_max_mode = 16;
optional string client_display_name = 17;
optional string server_model_name = 18;
optional bool is_recommended_for_background_composer = 21;
optional bool supports_plan_mode = 22;
optional bool supports_sandboxing = 25;
optional bool is_user_added = 23;
optional string inputbox_short_model_name = 24;
optional bool supports_cmd_k = 26;
optional bool only_supports_cmd_k = 27;
optional int32 background_composer_sort_order = 28;
repeated ModelParameterDefinition parameter_definitions = 29;
repeated AvailableModelsResponse.ModelVariantConfig variants = 30;
optional CloudAgentEffortMode cloud_agent_effort_mode = 32;
optional string cloud_migrate_to_model = 33;
optional string upgrade_model_id = 34;
optional bool is_hidden = 35;
repeated string legacy_slugs = 36;
repeated string id_aliases = 37;
optional int32 named_model_section_index = 38;
optional string tagline = 39;
optional bool visible_in_routed_model_view = 40;
optional string vendor_name = 41;
optional AvailableModelsResponse.ModelVendor vendor = 42;
optional bool default_disabled_in_admin_allowlist = 43;
repeated CloudAgentEffortMode cloud_agent_effort_modes = 44;
optional bool supports_smart_mode_classifier = 45;
optional bool requires_data_retention = 46;
optional string reason_for_zdr_consent_block = 47;
repeated AvailableModelsResponse.ModelPickerBadge model_picker_badges = 48;
}
// Copied from: local:aiserver.v1.AvailableModelsResponse.ConfirmationDialogue (var: fs)
message ConfirmationDialogue {
// Copied from: local:aiserver.v1.AvailableModelsResponse.ConfirmationDialogue.Presentation (var: he)
enum Presentation {
PRESENTATION_UNSPECIFIED = 0;
PRESENTATION_POST_PICKER_WARNING = 1;
}
string title = 1;
string body = 2;
string key = 3;
bool blocks_submission = 4;
optional Presentation presentation = 5;
}
// Copied from: local:aiserver.v1.AvailableModelsResponse.DegradationStatus (var: pe)
enum DegradationStatus {
DEGRADATION_STATUS_UNSPECIFIED = 0;
DEGRADATION_STATUS_DEGRADED = 1;
DEGRADATION_STATUS_DISABLED = 2;
}
// Copied from: local:aiserver.v1.AvailableModelsResponse.FeatureModelConfig (var: gs)
message FeatureModelConfig {
string default_model = 1;
repeated string fallback_models = 2;
repeated string best_of_n_default_models = 3;
}
// Copied from: local:aiserver.v1.AvailableModelsResponse.ModelPickerBadge (var: cs)
message ModelPickerBadge {
// Copied from: local:aiserver.v1.AvailableModelsResponse.ModelPickerBadge.Variant (var: ge)
enum Variant {
VARIANT_UNSPECIFIED = 0;
VARIANT_ACCENT = 1;
VARIANT_NEUTRAL = 2;
VARIANT_SUCCESS = 3;
VARIANT_WARN = 4;
VARIANT_DANGER = 5;
}
string label = 1;
Variant variant = 2;
bool dismiss_on_selection = 3;
}
// Copied from: local:aiserver.v1.AvailableModelsResponse.ModelPickerDisplayConfiguration (var: hs)
message ModelPickerDisplayConfiguration {
// Copied from: local:aiserver.v1.AvailableModelsResponse.ModelPickerDisplayConfiguration.NamedModelsViewConfig (var: ys)
message NamedModelsViewConfig {
// Copied from: local:aiserver.v1.AvailableModelsResponse.ModelPickerDisplayConfiguration.NamedModelsViewConfig.NamedViewToRoutedModelViewButton (var: Es)
message NamedViewToRoutedModelViewButton {
string markdown = 1;
}
// Copied from: local:aiserver.v1.AvailableModelsResponse.ModelPickerDisplayConfiguration.NamedModelsViewConfig.NamedViewToRoutedModelViewNoButton (var: ws)
message NamedViewToRoutedModelViewNoButton {
}
// Copied from: local:aiserver.v1.AvailableModelsResponse.ModelPickerDisplayConfiguration.NamedModelsViewConfig.NamedViewToRoutedModelViewToggle (var: ks)
message NamedViewToRoutedModelViewToggle {
string markdown = 1;
}
optional NamedViewToRoutedModelViewToggle named_view_to_routed_model_view_toggle = 2;
optional NamedViewToRoutedModelViewNoButton named_view_to_routed_model_view_no_button = 3;
optional NamedViewToRoutedModelViewButton named_view_to_routed_model_view_button = 4;
}
// Copied from: local:aiserver.v1.AvailableModelsResponse.ModelPickerDisplayConfiguration.RoutedModelViewConfig (var: As)
message RoutedModelViewConfig {
// Copied from: local:aiserver.v1.AvailableModelsResponse.ModelPickerDisplayConfiguration.RoutedModelViewConfig.RoutedModelViewToNamedViewButton (var: Ts)
message RoutedModelViewToNamedViewButton {
string markdown = 1;
}
// Copied from: local:aiserver.v1.AvailableModelsResponse.ModelPickerDisplayConfiguration.RoutedModelViewConfig.RoutedModelViewToNamedViewToggle (var: _s)
message RoutedModelViewToNamedViewToggle {
string title_markdown = 1;
optional string subtitle = 2;
optional bool set_to_last_named_model = 3;
}
optional string title = 1;
optional RoutedModelViewToNamedViewToggle routed_model_view_to_named_view_toggle = 2;
optional RoutedModelViewToNamedViewButton routed_model_view_to_named_view_button = 3;
optional bool hide_search_bar = 4;
optional bool hide_routed_model_view = 5;
}
RoutedModelViewConfig routed_model_view_config = 1;
NamedModelsViewConfig named_models_view_config = 2;
optional bool hide_search_bar = 3;
optional bool hide_add_models = 4;
optional string model_selection_restriction_message = 5;
}
// Copied from: local:aiserver.v1.AvailableModelsResponse.ModelVariantConfig (var: ps)
message ModelVariantConfig {
repeated RequestedModel.ModelParameterValue parameter_values = 1;
string display_name = 2;
optional string display_name_outside_picker = 8;
bool is_max_mode = 3;
optional bool is_default_max_config = 4;
optional bool is_default_non_max_config = 5;
optional AvailableModelsResponse.TooltipData tooltip_data = 6;
optional string tagline = 7;
optional string variant_string_representation = 9;
optional AvailableModelsResponse.ConfirmationDialogue confirmation_dialogue = 10;
optional string legacy_slug = 11;
}
// Copied from: local:aiserver.v1.AvailableModelsResponse.ModelVendor (var: ms)
message ModelVendor {
AvailableModelsResponse.ModelVendorId id = 1;
string display_name = 2;
}
// Copied from: local:aiserver.v1.AvailableModelsResponse.ModelVendorId (var: fe)
enum ModelVendorId {
MODEL_VENDOR_ID_UNSPECIFIED = 0;
MODEL_VENDOR_ID_ANTHROPIC = 1;
MODEL_VENDOR_ID_OPENAI = 2;
MODEL_VENDOR_ID_GOOGLE = 3;
MODEL_VENDOR_ID_XAI = 4;
MODEL_VENDOR_ID_MOONSHOT = 5;
MODEL_VENDOR_ID_CURSOR = 6;
MODEL_VENDOR_ID_NVIDIA = 7;
MODEL_VENDOR_ID_ZAI = 8;
MODEL_VENDOR_ID_META = 9;
}
// Copied from: local:aiserver.v1.AvailableModelsResponse.TooltipData (var: us)
message TooltipData {
string primary_text = 1;
string secondary_text = 2;
bool secondary_warning_text = 3;
string icon = 4;
string tertiary_text = 5;
string tertiary_text_url = 6;
optional string markdown_content = 7;
}
repeated AvailableModel models = 2;
repeated string model_names = 1;
optional FeatureModelConfig composer_model_config = 4;
optional FeatureModelConfig cmd_k_model_config = 5;
optional FeatureModelConfig background_composer_model_config = 6;
optional FeatureModelConfig plan_execution_model_config = 7;
optional FeatureModelConfig spec_model_config = 8;
optional FeatureModelConfig deep_search_model_config = 9;
optional FeatureModelConfig quick_agent_model_config = 10;
map<string, FeatureModelConfig> subagent_model_configs = 16;
bool use_model_parameters = 11;
optional int32 disable_unused_models_after_n_hours = 12;
optional int32 upgrade_unchanged_models_after_n_hours = 13;
ModelPickerDisplayConfiguration display_configuration = 15;
optional string experimental_model_id = 19;
optional string experimental_model_display_name = 20;
optional string nudge_new_chats_to_auto_optimize_for = 21;
}
// Copied from: local:aiserver.v1.AvailableModelsScope (var: ee)
enum AvailableModelsScope {
AVAILABLE_MODELS_SCOPE_UNSPECIFIED = 0;
AVAILABLE_MODELS_SCOPE_USER_AVAILABLE = 1;
AVAILABLE_MODELS_SCOPE_AUTOMATIONS = 2;
AVAILABLE_MODELS_SCOPE_ADMIN_SETTINGS_ALL_APPLICATION_MODELS = 3;
}
// Copied from: local:aiserver.v1.AwaitTaskParams (var: Ur)
message AwaitTaskParams {
repeated string ids = 1;
}
// Copied from: local:aiserver.v1.AwaitTaskResult (var: xr)
message AwaitTaskResult {
// Copied from: local:aiserver.v1.AwaitTaskResult.TaskResultItem (var: Qr)
message TaskResultItem {
string task_id = 1;
TaskResult.CompletedTaskResult result = 2;
}
repeated TaskResultItem task_results = 1;
repeated string missing_task_ids = 2;
}
// Copied from: local:aiserver.v1.AwaitTaskStream (var: Gr)
message AwaitTaskStream {
}
// Copied from: agent.v1.AzureCredentials (var: ua)
message AzureCredentials {
string api_key = 1;
string base_url = 2;
string deployment = 3;
}
// Copied from: local:aiserver.v1.AzureState (var: j)
message AzureState {
string api_key = 1;
string base_url = 2;
string deployment = 3;
bool use_azure = 4;
}
// Copied from: local:aiserver.v1.BM25Chunk (var: K)
message BM25Chunk {
string content = 1;
SimplestRange range = 2;
int32 score = 3;
string relative_path = 4;
}
// Copied from: local:aiserver.v1.BackgroundAgentSettings (var: sc)
message BackgroundAgentSettings {
repeated string allowlist = 1;
AllowlistConfig allowlist_config = 2;
bool team_followup_enabled = 3;
AutoCreatePrMode auto_create_pr = 4;
PrReviewOpenDestinationMode pr_review_open_destination = 5;
optional bool require_private_workers = 6;
GithubArtifactPostingMode github_artifact_posting = 7;
optional TeamFollowupEnabledMode team_followup_enabled_v2 = 8;
optional bool enable_long_running_agent_mode = 9;
CloudAgentEgressProtectionMode egress_protection_mode = 10;
optional bool lock_egress_protection_mode = 11;
optional bool enable_cloud_agent_testing = 12;
optional bool restrict_team_secrets_to_admins = 13;
optional bool enable_automations = 14;
optional bool allow_vm_sharing = 15;
optional bool allow_private_workers = 16;
optional PublicArtifactSharingMode public_artifact_sharing = 17;
optional bool ci_failure_followup_enabled = 18;
DataRetentionPolicy data_retention = 19;
optional bool restrict_team_environment_writes_to_admins = 20;
optional bool allow_remote_control = 21;
optional bool allow_private_worker_github_token_mint = 22;
optional bool allow_private_worker_secret_sync = 23;
}
// Copied from: local:aiserver.v1.BackgroundCmdKEvalRequest (var: $t)
message BackgroundCmdKEvalRequest {
// Copied from: local:aiserver.v1.BackgroundCmdKEvalRequest.Experiment (var: ie)
enum Experiment {
EXPERIMENT_UNSPECIFIED = 0;
EXPERIMENT_REFLECT = 1;
EXPERIMENT_CMD_K_ORIGINAL_RADIUS = 2;
EXPERIMENT_LOOP_ON_LINTS = 3;
EXPERIMENT_CHAT_AND_APPLY = 4;
EXPERIMENT_COMMIT_NOTES = 5;
EXPERIMENT_COALESCE_GENERATIONS = 6;
EXPERIMENT_REWORD_INSTRUCTIONS = 7;
EXPERIMENT_CODEBASE_CHUNKS = 8;
EXPERIMENT_SPEC_AND_APPLY = 9;
EXPERIMENT_ASK_CODEBASE = 10;
}
// Copied from: local:aiserver.v1.BackgroundCmdKEvalRequest.Lint (var: en)
message Lint {
// Copied from: local:aiserver.v1.BackgroundCmdKEvalRequest.Lint.QuickFix (var: tn)
message QuickFix {
// Copied from: local:aiserver.v1.BackgroundCmdKEvalRequest.Lint.QuickFix.Edit (var: nn)
message Edit {
string relative_workspace_path = 1;
string text = 2;
int32 start_line_number_one_indexed = 3;
int32 start_column_one_indexed = 4;
int32 end_line_number_inclusive_one_indexed = 5;
int32 end_column_one_indexed = 6;
}
string message = 1;
string kind = 2;
bool is_preferred = 3;
repeated Edit edits = 4;
}
string message = 1;
string severity = 2;
string relative_workspace_path = 3;
int32 start_line_number_one_indexed = 4;
int32 start_column_one_indexed = 5;
int32 end_line_number_inclusive_one_indexed = 6;
int32 end_column_one_indexed = 7;
repeated QuickFix quick_fixes = 9;
}
// Copied from: local:aiserver.v1.BackgroundCmdKEvalRequest.ProposedChange (var: rn)
message ProposedChange {
string change = 1;
repeated BackgroundCmdKEvalRequest.Lint linter_errors = 2;
}
string instruction = 1;
CurrentFileInfo current_file = 2;
SimpleRange selection_range = 3;
string ground_truth = 4;
Experiment experiment = 5;
bool run_automated_eval = 6;
repeated ProposedChange proposed_change_history = 7;
repeated CommitNote commit_notes = 8;
repeated CodeBlock related_code_blocks = 9;
}
// Copied from: local:aiserver.v1.BackgroundCmdKEvalResponse (var: sn)
message BackgroundCmdKEvalResponse {
string proposed_change = 1;
}
// Copied from: local:aiserver.v1.BackgroundCmdKRequest (var: Gt)
message BackgroundCmdKRequest {
// Copied from: local:aiserver.v1.BackgroundCmdKRequest.Diff (var: Xt)
message Diff {
string relative_workspace_path = 1;
string diff = 2;
}
// Copied from: local:aiserver.v1.BackgroundCmdKRequest.Lint (var: Ht)
message Lint {
// Copied from: local:aiserver.v1.BackgroundCmdKRequest.Lint.QuickFix (var: Vt)
message QuickFix {
// Copied from: local:aiserver.v1.BackgroundCmdKRequest.Lint.QuickFix.Edit (var: Yt)
message Edit {
string relative_workspace_path = 1;
string text = 2;
int32 start_line_number_one_indexed = 3;
int32 start_column_one_indexed = 4;
int32 end_line_number_inclusive_one_indexed = 5;
int32 end_column_one_indexed = 6;
}
string message = 1;
string kind = 2;
bool is_preferred = 3;
repeated Edit edits = 4;
}
string message = 1;
string severity = 2;
string relative_workspace_path = 3;
int32 start_line_number_one_indexed = 4;
int32 start_column_one_indexed = 5;
int32 end_line_number_inclusive_one_indexed = 6;
int32 end_column_one_indexed = 7;
repeated QuickFix quick_fixes = 9;
}
// Copied from: local:aiserver.v1.BackgroundCmdKRequest.ProposedChange (var: Kt)
message ProposedChange {
string change = 1;
repeated BackgroundCmdKRequest.Lint linter_errors = 2;
}
// Copied from: local:aiserver.v1.BackgroundCmdKRequest.RecentlyViewedFile (var: zt)
message RecentlyViewedFile {
// Copied from: local:aiserver.v1.BackgroundCmdKRequest.RecentlyViewedFile.VisibleRange (var: jt)
message VisibleRange {
int32 start_line_number_inclusive = 1;
int32 end_line_number_exclusive = 2;
optional int32 viewed_at = 3;
optional int32 global_order_descending = 4;
}
string relative_workspace_path = 1;
string contents = 2;
repeated VisibleRange visible_ranges = 3;
}
// Copied from: local:aiserver.v1.BackgroundCmdKRequest.Type (var: oe)
enum Type {
TYPE_UNSPECIFIED = 0;
TYPE_REFLECT = 1;
TYPE_LOOP_ON_LINTS = 2;
TYPE_CHAT_AND_APPLY = 3;
TYPE_COALESCE_GENERATIONS = 4;
TYPE_CODEBASE_CHUNKS = 5;
TYPE_SPEC_AND_APPLY = 6;
TYPE_ASK_CODEBASE = 7;
TYPE_FINETUNED_INSTRUCTIONS = 8;
TYPE_USEFUL_TYPES = 9;
TYPE_CHAT_AND_APPLY_UNDERSPECIFIED = 10;
}
// Copied from: local:aiserver.v1.BackgroundCmdKRequest.UsefulType (var: Wt)
message UsefulType {
string relative_workspace_path = 1;
int32 start_line = 2;
string text = 3;
optional double score = 4;
}
string instruction = 1;
CurrentFileInfo current_file = 2;
SimpleRange selection_range = 3;
Type type = 4;
repeated ProposedChange proposed_change_history = 5;
repeated CodeBlock related_code_blocks = 6;
repeated CppFileDiffHistory diff_history = 7;
repeated Lint linter_errors = 8;
repeated UsefulType useful_types = 9;
repeated RecentlyViewedFile recently_viewed_files = 10;
repeated Diff recent_diffs = 11;
optional bool multiple_completions = 12;
}
// Copied from: local:aiserver.v1.BackgroundCmdKResponse (var: Zt)
message BackgroundCmdKResponse {
string proposed_change = 1;
}
// Copied from: local:aiserver.v1.BackgroundComposer (var: Ri)
message BackgroundComposer {
string bc_id = 1;
double created_at_ms = 2;
double updated_at_ms = 20;
string workspace_root_path = 3;
bool is_owned_by_different_team_member = 4;
string name = 5;
string branch_name = 6;
bool has_started_vm = 7;
string repo_url = 8;
bool is_archived = 9;
string n_id = 10;
bool is_killed = 11;
BackgroundComposerStatus status = 12;
bool is_unread = 13;
BackgroundComposerSource source = 14;
string github_issue_id = 24;
string slack_channel_id = 15;
string slack_message_timestamp = 16;
string slack_team_id = 17;
string linear_issue_id = 18;
string linear_org_id = 19;
string prompt_group_id = 21;
string pr_url = 22;
bool is_pr_merged = 23;
optional int32 lines_added = 25;
optional int32 lines_removed = 26;
optional int32 files_changed = 27;
optional ModelDetails model_details = 28;
string triggered_principal_type = 29;
string triggered_principal_id = 30;
string visibility = 31;
EnsembleStatus ensemble_status = 32;
optional string workflow_id = 33;
optional string agent_session_id = 34;
optional string kickoff_message_id = 35;
optional string grind_phase = 36;
optional int32 commit_count = 37;
optional string latest_commit_sha = 38;
optional string latest_commit_message = 39;
optional double last_message_activity_at_ms = 40;
optional string owning_service_account = 41;
optional string owning_service_account_name = 42;
optional PRStatus pr_status = 43;
optional ExternalSourceMetadata external_source_metadata = 57;
optional string worker_id = 58;
optional RequestedModel requested_model = 59;
optional bool use_private_worker = 60;
repeated int32 participant_user_ids = 45;
optional CloudSubagentParentReference cloud_subagent_parent = 61;
repeated string repo_urls = 62;
optional string environment_name = 63;
optional PrivateWorkspaceIdentifier private_workspace_identifier = 64;
optional string private_worker_display_name = 65;
optional AgentWorkspaceBinding workspace_binding = 66;
optional bool use_experimental_model_opt_out = 67;
}
// Copied from: local:aiserver.v1.BackgroundComposerArtifact (var: qm)
message BackgroundComposerArtifact {
string absolute_path = 1;
int64 size_bytes = 2;
int64 updated_at_unix_ms = 3;
}
// Copied from: local:aiserver.v1.BackgroundComposerCachedDetailsProto (var: jp)
message BackgroundComposerCachedDetailsProto {
string diff_changes_hash = 1;
GetDiffResponse detailed_diff = 2;
DetailedBackgroundComposer bc = 3;
}
// Copied from: local:aiserver.v1.BackgroundComposerCommit (var: Gd)
message BackgroundComposerCommit {
string sha = 1;
string message = 2;
string author_name = 3;
string author_email = 4;
string timestamp = 5;
}
// Copied from: local:aiserver.v1.BackgroundComposerConfig (var: Oe)
message BackgroundComposerConfig {
bool enable_background_agent = 1;
bool show_background_agent_in_beta_settings = 2;
optional int32 window_in_window_preload_count = 3;
optional double window_in_window_ping_interval_ms = 4;
optional bool show_background_agent_disclaimer = 5;
optional bool show_background_agent_slack_ad = 6;
bool show_background_agent_history_action = 7;
optional int32 max_window_in_windows = 8;
bool use_modal_experience = 9;
}
// Copied from: local:aiserver.v1.BackgroundComposerDefaultEnvironmentSetting (var: ac)
message BackgroundComposerDefaultEnvironmentSetting {
optional EnvironmentRepoConfig repo_config = 1;
optional string environment_public_id = 2;
}
// Copied from: local:aiserver.v1.BackgroundComposerFollowupContent (var: ho)
message BackgroundComposerFollowupContent {
string text = 1;
string rich_text = 2;
}
// Copied from: local:aiserver.v1.BackgroundComposerFollowupParams (var: Vn)
message BackgroundComposerFollowupParams {
string proposed_followup = 1;
string bc_id = 2;
}
// Copied from: local:aiserver.v1.BackgroundComposerFollowupResult (var: Yn)
message BackgroundComposerFollowupResult {
string proposed_followup = 1;
bool is_sent = 2;
}
// Copied from: local:aiserver.v1.BackgroundComposerFollowupStream (var: Kn)
message BackgroundComposerFollowupStream {
}
// Copied from: local:aiserver.v1.BackgroundComposerFullDiff (var: Vo)
message BackgroundComposerFullDiff {
string path = 1;
string original_content = 2;
string modified_content = 3;
optional string submodule_path = 4;
GitDiff git_diff = 5;
string full_path = 6;
string base_ref = 7;
}
// Copied from: local:aiserver.v1.BackgroundComposerParticipant (var: Pi)
message BackgroundComposerParticipant {
int32 user_id = 1;
optional string display_name = 2;
optional string email = 3;
optional string profile_picture_url = 4;
}
// Copied from: local:aiserver.v1.BackgroundComposerPr (var: Ml)
message BackgroundComposerPr {
string branch_name = 1;
string base_branch = 2;
optional string scm_repo_node_id = 3;
optional int32 pull_number = 4;
optional PRStatus pr_status = 5;
optional string pr_url = 6;
optional string scm_provider = 7;
}
// Copied from: local:aiserver.v1.BackgroundComposerQuickActionExecutionMode (var: Ar)
enum BackgroundComposerQuickActionExecutionMode {
BACKGROUND_COMPOSER_QUICK_ACTION_EXECUTION_MODE_UNSPECIFIED = 0;
BACKGROUND_COMPOSER_QUICK_ACTION_EXECUTION_MODE_SUBAGENT = 1;
BACKGROUND_COMPOSER_QUICK_ACTION_EXECUTION_MODE_PARENT_AGENT = 2;
}
// Copied from: local:aiserver.v1.BackgroundComposerQuickActionSettings (var: ic)
message BackgroundComposerQuickActionSettings {
repeated BackgroundComposerQuickActionSubagentSlot quick_action_subagent_slots = 1;
bool quick_action_subagent_slots_explicitly_set = 2;
optional uint32 quick_action_subagent_catalog_version = 3;
repeated BackgroundComposerQuickActionSubagentTemplate quick_action_subagent_templates = 4;
repeated BackgroundComposerQuickActionSubagentTemplateMutation quick_action_subagent_template_mutations = 5;
}
// Copied from: local:aiserver.v1.BackgroundComposerQuickActionSubagentSlot (var: rc)
message BackgroundComposerQuickActionSubagentSlot {
string id = 1;
string label = 2;
string template_id = 3;
string subagent_type = 4;
bool enabled = 5;
int32 order = 6;
BackgroundComposerQuickActionExecutionMode execution_mode = 7;
}
// Copied from: local:aiserver.v1.BackgroundComposerQuickActionSubagentTemplate (var: sc)
message BackgroundComposerQuickActionSubagentTemplate {
string template_id = 1;
string label = 2;
string description = 3;
string subagent_type = 4;
optional string prompt = 5;
BackgroundComposerQuickActionSubagentTemplateScope scope = 6;
bool can_edit = 7;
bool can_delete = 8;
optional string icon_name = 9;
}
// Copied from: local:aiserver.v1.BackgroundComposerQuickActionSubagentTemplateMutation (var: oc)
message BackgroundComposerQuickActionSubagentTemplateMutation {
BackgroundComposerQuickActionSubagentTemplateOperation operation = 1;
BackgroundComposerQuickActionSubagentTemplate template = 2;
}
// Copied from: local:aiserver.v1.BackgroundComposerQuickActionSubagentTemplateOperation (var: Tr)
enum BackgroundComposerQuickActionSubagentTemplateOperation {
BACKGROUND_COMPOSER_QUICK_ACTION_SUBAGENT_TEMPLATE_OPERATION_UNSPECIFIED = 0;
BACKGROUND_COMPOSER_QUICK_ACTION_SUBAGENT_TEMPLATE_OPERATION_CREATE = 1;
BACKGROUND_COMPOSER_QUICK_ACTION_SUBAGENT_TEMPLATE_OPERATION_UPDATE = 2;
BACKGROUND_COMPOSER_QUICK_ACTION_SUBAGENT_TEMPLATE_OPERATION_DELETE = 3;
}
// Copied from: local:aiserver.v1.BackgroundComposerQuickActionSubagentTemplateScope (var: _r)
enum BackgroundComposerQuickActionSubagentTemplateScope {
BACKGROUND_COMPOSER_QUICK_ACTION_SUBAGENT_TEMPLATE_SCOPE_UNSPECIFIED = 0;
BACKGROUND_COMPOSER_QUICK_ACTION_SUBAGENT_TEMPLATE_SCOPE_BUILTIN = 1;
BACKGROUND_COMPOSER_QUICK_ACTION_SUBAGENT_TEMPLATE_SCOPE_USER = 2;
BACKGROUND_COMPOSER_QUICK_ACTION_SUBAGENT_TEMPLATE_SCOPE_TEAM = 3;
}
// Copied from: local:aiserver.v1.BackgroundComposerSecretLevel (var: le)
enum BackgroundComposerSecretLevel {
BACKGROUND_COMPOSER_SECRET_LEVEL_UNSPECIFIED = 0;
BACKGROUND_COMPOSER_SECRET_LEVEL_ENVIRONMENT_VARIABLE = 1;
BACKGROUND_COMPOSER_SECRET_LEVEL_INJECTED_SECRET = 2;
BACKGROUND_COMPOSER_SECRET_LEVEL_BUILD_SECRET = 3;
}
// Copied from: local:aiserver.v1.BackgroundComposerSecretOwner (var: lo)
message BackgroundComposerSecretOwner {
oneof kind {
bool user = 1;
bool team = 2;
string environment_id = 3;
}
}
// Copied from: local:aiserver.v1.BackgroundComposerSharedArtifact (var: Km)
message BackgroundComposerSharedArtifact {
string artifact_id = 1;
string source_bc_id = 2;
string source_absolute_path = 3;
string public_url = 4;
string title = 5;
string content_type = 6;
string share_source = 7;
optional int64 revoked_at_ms = 8;
int64 created_at_ms = 9;
int64 updated_at_ms = 10;
}
// Copied from: local:aiserver.v1.BackgroundComposerSnapshotStatusByBcId (var: Fo)
message BackgroundComposerSnapshotStatusByBcId {
string bc_id = 1;
optional string snapshot_id = 2;
optional ChangeBackgroundComposerSnapshotVisibilityRequest.Visibility visibility = 3;
optional double created_at_ms = 4;
}
// Copied from: local:aiserver.v1.BackgroundComposerSnapshotSummary (var: bo)
message BackgroundComposerSnapshotSummary {
string snapshot_id = 1;
ChangeBackgroundComposerSnapshotVisibilityRequest.Visibility visibility = 2;
double created_at_ms = 3;
}
// Copied from: local:aiserver.v1.BackgroundComposerSource (var: Vn)
enum BackgroundComposerSource {
BACKGROUND_COMPOSER_SOURCE_UNSPECIFIED = 0;
BACKGROUND_COMPOSER_SOURCE_EDITOR = 1;
BACKGROUND_COMPOSER_SOURCE_SLACK = 2;
BACKGROUND_COMPOSER_SOURCE_WEBSITE = 3;
BACKGROUND_COMPOSER_SOURCE_LINEAR = 4;
BACKGROUND_COMPOSER_SOURCE_IOS_APP = 5;
BACKGROUND_COMPOSER_SOURCE_API = 6;
BACKGROUND_COMPOSER_SOURCE_GITHUB = 7;
BACKGROUND_COMPOSER_SOURCE_CLI = 8;
BACKGROUND_COMPOSER_SOURCE_GITHUB_CI_AUTOFIX = 9;
BACKGROUND_COMPOSER_SOURCE_GITLAB = 10;
BACKGROUND_COMPOSER_SOURCE_ENVIRONMENT_SETUP_WEB = 11;
BACKGROUND_COMPOSER_SOURCE_GRIND_WEB = 12;
BACKGROUND_COMPOSER_SOURCE_BUGBOT_AUTOFIX = 13;
BACKGROUND_COMPOSER_SOURCE_AUTOMATIONS = 14;
BACKGROUND_COMPOSER_SOURCE_GRAPHITE_CHAT_WEB = 15;
BACKGROUND_COMPOSER_SOURCE_GLASS = 16;
BACKGROUND_COMPOSER_SOURCE_GRAPHITE_FULL_SELF_DRIVING = 17;
BACKGROUND_COMPOSER_SOURCE_TEAMS = 18;
BACKGROUND_COMPOSER_SOURCE_LOCAL = 19;
BACKGROUND_COMPOSER_SOURCE_JIRA = 20;
BACKGROUND_COMPOSER_SOURCE_SDK = 21;
BACKGROUND_COMPOSER_SOURCE_FULL_SELF_DRIVING = 22;
BACKGROUND_COMPOSER_SOURCE_QABOT_FRONTEND = 23;
BACKGROUND_COMPOSER_SOURCE_AS_SUBAGENT_FROM_LOCAL = 24;
BACKGROUND_COMPOSER_SOURCE_ENVIRONMENT_SETUP_GLASS = 25;
BACKGROUND_COMPOSER_SOURCE_SAND_CODING_SUBAGENT = 26;
BACKGROUND_COMPOSER_SOURCE_BITBUCKET = 27;
BACKGROUND_COMPOSER_SOURCE_CLOUD_META_AGENT = 28;
BACKGROUND_COMPOSER_SOURCE_AS_SUBAGENT_FROM_CLOUD = 29;
BACKGROUND_COMPOSER_SOURCE_ENVIRONMENT_SETUP_ONBOARDING_AUTO = 30;
BACKGROUND_COMPOSER_SOURCE_ORIGIN = 31;
}
// Copied from: local:aiserver.v1.BackgroundComposerStatus (var: Gn)
enum BackgroundComposerStatus {
BACKGROUND_COMPOSER_STATUS_UNSPECIFIED = 0;
BACKGROUND_COMPOSER_STATUS_RUNNING = 1;
BACKGROUND_COMPOSER_STATUS_FINISHED = 2;
BACKGROUND_COMPOSER_STATUS_ERROR = 3;
BACKGROUND_COMPOSER_STATUS_CREATING = 4;
BACKGROUND_COMPOSER_STATUS_EXPIRED = 5;
}
// Copied from: local:aiserver.v1.BackgroundComposerUserEgressPolicy (var: nc)
message BackgroundComposerUserEgressPolicy {
repeated string allowlist = 1;
}
// Copied from: local:aiserver.v1.BackgroundFilesEvent (var: Et)
message BackgroundFilesEvent {
// Copied from: local:aiserver.v1.BackgroundFilesEvent.BackgroundFile (var: St)
message BackgroundFile {
string relative_workspace_path = 1;
string contents = 2;
string hash = 3;
string full_path = 4;
}
repeated BackgroundFile files = 2;
}
// Copied from: local:aiserver.v1.BackgroundJobStatus (var: xr)
message BackgroundJobStatus {
string phase = 1;
float percent_done = 2;
optional string message = 3;
optional string error = 4;
map<string, string> metadata = 5;
optional string result_json = 6;
}
// Copied from: agent.v1.BackgroundShellAction (var: Fo)
message BackgroundShellAction {
string tool_call_id = 1;
}
// Copied from: agent.v1.BackgroundShellSpawnArgs (var: a)
message BackgroundShellSpawnArgs {
string command = 1;
string working_directory = 2;
string tool_call_id = 3;
ShellCommandParsingResult parsing_result = 4;
optional SandboxPolicy sandbox_policy = 5;
bool enable_write_shell_stdin_tool = 6;
optional string description = 7;
optional CommandClassifierResult classifier_result = 8;
optional ShellOutputNotificationConfig output_notification = 9;
optional SmartModeApproval smart_mode_approval = 10;
optional ShellHookApprovalRequirement hook_approval_requirement = 11;
bool skip_approval = 12;
optional string conversation_id = 13;
}
// Copied from: agent.v1.BackgroundShellSpawnError (var: m)
message BackgroundShellSpawnError {
string command = 1;
string working_directory = 2;
string error = 3;
}
// Copied from: agent.v1.BackgroundShellSpawnResult (var: l)
message BackgroundShellSpawnResult {
oneof result {
BackgroundShellSpawnSuccess success = 1;
BackgroundShellSpawnError error = 2;
ShellRejected rejected = 3;
ShellPermissionDenied permission_denied = 4;
ShellSandboxUnsupported sandbox_unsupported = 5;
}
}
// Copied from: agent.v1.BackgroundShellSpawnSuccess (var: u)
message BackgroundShellSpawnSuccess {
uint32 shell_id = 1;
string command = 2;
string working_directory = 3;
optional uint32 pid = 4;
}
// Copied from: agent.v1.BackgroundSubagentAction (var: qo)
message BackgroundSubagentAction {
string tool_call_id = 1;
}
// Copied from: agent.v1.BackgroundTaskCompletion (var: bo)
message BackgroundTaskCompletion {
string task_id = 1;
BackgroundTaskKind kind = 2;
BackgroundTaskStatus status = 3;
string title = 4;
optional string detail = 5;
optional string output_path = 6;
optional string thread_id = 7;
BackgroundTaskCompletionReason reason = 8;
optional string subagent_id = 9;
optional string tool_call_id = 10;
}
// Copied from: agent.v1.BackgroundTaskCompletionAction (var: Po)
message BackgroundTaskCompletionAction {
repeated BackgroundTaskCompletion completions = 1;
}
// Copied from: agent.v1.BackgroundTaskCompletionReason (var: Ys)
enum BackgroundTaskCompletionReason {
BACKGROUND_TASK_COMPLETION_REASON_UNSPECIFIED = 0;
BACKGROUND_TASK_COMPLETION_REASON_TASK_FINISHED = 1;
BACKGROUND_TASK_COMPLETION_REASON_TASK_PROGRESS = 2;
}
// Copied from: agent.v1.BackgroundTaskKind (var: Hs)
enum BackgroundTaskKind {
BACKGROUND_TASK_KIND_UNSPECIFIED = 0;
BACKGROUND_TASK_KIND_SHELL = 1;
BACKGROUND_TASK_KIND_SUBAGENT = 2;
}
// Copied from: agent.v1.BackgroundTaskStatus (var: Vs)
enum BackgroundTaskStatus {
BACKGROUND_TASK_STATUS_UNSPECIFIED = 0;
BACKGROUND_TASK_STATUS_SUCCESS = 1;
BACKGROUND_TASK_STATUS_ERROR = 2;
BACKGROUND_TASK_STATUS_ABORTED = 3;
}
// Copied from: local:aiserver.v1.BatchEvent (var: f)
message BatchEvent {
string event = 1;
google.protobuf.Struct properties = 2;
int64 timestamp = 3;
optional string user_id = 4;
optional string anonymous_id = 5;
optional string message_id = 6;
optional AnalyticsContext context = 7;
}
// Copied from: local:aiserver.v1.BatchGetPluginMcpConfigRequest (var: Li)
message BatchGetPluginMcpConfigRequest {
repeated int64 plugin_ids = 1;
}
// Copied from: local:aiserver.v1.BatchGetPluginMcpConfigResponse (var: qi)
message BatchGetPluginMcpConfigResponse {
map<int64, PluginMcpConfigEntry> configs = 1;
}
// Copied from: local:aiserver.v1.BatchGetPullRequestStatusRequest (var: $r)
message BatchGetPullRequestStatusRequest {
repeated string pr_urls = 1;
bool skip_cache = 2;
}
// Copied from: local:aiserver.v1.BatchGetPullRequestStatusResponse (var: es)
message BatchGetPullRequestStatusResponse {
map<string, SCMPullRequestStatus> statuses = 1;
repeated string failed_pr_urls = 2;
}
// Copied from: local:aiserver.v1.BatchGetPullRequestsRequest (var: Xr)
message BatchGetPullRequestsRequest {
repeated string pr_urls = 1;
bool skip_cache = 2;
}
// Copied from: local:aiserver.v1.BatchGetPullRequestsResponse (var: Zr)
message BatchGetPullRequestsResponse {
map<string, SCMPullRequest> pull_requests = 1;
repeated string failed_pr_urls = 2;
}
// Copied from: local:aiserver.v1.BatchRefreshPullRequestStatusRequest (var: Wp)
message BatchRefreshPullRequestStatusRequest {
repeated string bc_ids = 1;
}
// Copied from: local:aiserver.v1.BatchRefreshPullRequestStatusResponse (var: zp)
message BatchRefreshPullRequestStatusResponse {
map<string, GetDetailedPullRequestStatusResponse> results = 1;
repeated string failed_bc_ids = 2;
}
// Copied from: local:aiserver.v1.BatchRepositoryStatusRequest (var: Qe)
message BatchRepositoryStatusRequest {
repeated RepositoryStatusRequest requests = 1;
}
// Copied from: local:aiserver.v1.BatchRepositoryStatusResponse (var: Ge)
message BatchRepositoryStatusResponse {
repeated RepositoryStatusResponse responses = 1;
}
// Copied from: local:aiserver.v1.BatchRequest (var: A)
message BatchRequest {
repeated BatchEvent events = 1;
}
// Copied from: local:aiserver.v1.BatchResponse (var: _)
message BatchResponse {
}
// Copied from: agent.v1.BedrockCredentials (var: ma)
message BedrockCredentials {
string access_key = 1;
string secret_key = 2;
string region = 3;
optional string session_token = 4;
}
// Copied from: local:aiserver.v1.BedrockState (var: X)
message BedrockState {
string access_key = 1;
string secret_key = 2;
string region = 3;
bool use_bedrock = 4;
string session_token = 5;
}
// Copied from: local:aiserver.v1.BeforeAiEditEvent (var: Mt)
message BeforeAiEditEvent {
string tool_call_id = 2;
optional string request_id = 3;
optional string tool_name = 4;
oneof model {
PointInTimeModel point_in_time_model = 1;
string relative_workspace_path = 5;
}
}
// Copied from: agent.v1.BeforeSubmitPromptAttachment (var: rl)
message BeforeSubmitPromptAttachment {
string type = 1;
string file_path = 2;
}
// Copied from: agent.v1.BeforeSubmitPromptRequestQuery (var: sl)
message BeforeSubmitPromptRequestQuery {
string prompt = 1;
repeated BeforeSubmitPromptAttachment attachments = 2;
optional string composer_mode = 3;
optional string conversation_id = 4;
optional string generation_id = 5;
optional string model = 6;
optional string model_id = 7;
repeated RequestedModel.ModelParameterValue model_params = 8;
}
// Copied from: agent.v1.BeforeSubmitPromptRequestResponse (var: ol)
message BeforeSubmitPromptRequestResponse {
optional bool continue = 1;
optional string user_message = 2;
optional string additional_context = 3;
}
// Copied from: local:aiserver.v1.BidiAppendRequest (var: o)
message BidiAppendRequest {
string data = 1;
BidiRequestId request_id = 2;
int64 append_seqno = 3;
bytes data_binary = 4;
}
// Copied from: local:aiserver.v1.BidiAppendResponse (var: i)
message BidiAppendResponse {
}
// Copied from: local:aiserver.v1.BidiPollRequest (var: a)
message BidiPollRequest {
BidiRequestId request_id = 1;
optional bool start_request = 2;
}
// Copied from: local:aiserver.v1.BidiPollResponse (var: l)
message BidiPollResponse {
int64 seqno = 1;
string data = 2;
optional bool eof = 3;
}
// Copied from: local:aiserver.v1.BidiRequestId (var: s)
message BidiRequestId {
string request_id = 1;
}
// Copied from: local:aiserver.v1.BitbucketIntegrationSettings (var: _c)
message BitbucketIntegrationSettings {
bool hidden = 1;
}
// Copied from: local:aiserver.v1.BlockDiffPatch (var: Qt)
message BlockDiffPatch {
// Copied from: local:aiserver.v1.BlockDiffPatch.Change (var: Gt)
message Change {
string text = 1;
IRange range = 2;
}
// Copied from: local:aiserver.v1.BlockDiffPatch.ModelWindow (var: Ht)
message ModelWindow {
repeated string lines = 1;
int32 start_line_number = 2;
int32 end_line_number = 3;
}
ModelWindow start_model_window = 1;
repeated Change changes = 3;
string relative_path = 4;
string model_uuid = 7;
int32 start_from_change_index = 5;
}
// Copied from: local:aiserver.v1.BootstrapStatsigRequest (var: i)
message BootstrapStatsigRequest {
optional bool ignore_dev_status = 1;
optional ClientOS operating_system = 2;
optional string device_model = 3;
optional string os_version = 4;
optional string form_factor = 5;
optional string stable_id = 6;
optional string client_channel = 7;
optional string bundle_id = 8;
}
// Copied from: local:aiserver.v1.BootstrapStatsigResponse (var: a)
message BootstrapStatsigResponse {
string config = 1;
uint64 generated_at_ms = 2;
}
// Copied from: local:aiserver.v1.BrowserAccessControl (var: uc)
message BrowserAccessControl {
repeated string allowlist = 1;
AllowlistConfig allowlist_config = 2;
}
// Copied from: local:aiserver.v1.BrowserEvent (var: sn)
message BrowserEvent {
// Copied from: local:aiserver.v1.BrowserEvent.Navigation (var: ln)
message Navigation {
string url = 1;
optional string title = 2;
}
// Copied from: local:aiserver.v1.BrowserEvent.TabClosed (var: an)
message TabClosed {
}
// Copied from: local:aiserver.v1.BrowserEvent.TabCreated (var: on)
message TabCreated {
}
// Copied from: local:aiserver.v1.BrowserEvent.ToolAction (var: un)
message ToolAction {
// Copied from: local:aiserver.v1.BrowserEvent.ToolAction.Source (var: h)
enum Source {
SOURCE_UNSPECIFIED = 0;
SOURCE_MCP_TOOL = 1;
SOURCE_MANUAL_USER = 2;
}
string tool_name = 1;
string args_json = 2;
optional bool success = 3;
optional string post_snapshot_yaml = 4;
optional string post_url = 5;
optional string post_title = 6;
Source source = 7;
}
string view_id = 1;
oneof event {
TabCreated tab_created = 2;
TabClosed tab_closed = 3;
Navigation navigation = 4;
ToolAction tool_action = 5;
}
}
// Copied from: local:aiserver.v1.BrowserSettings (var: mc)
message BrowserSettings {
BrowserAccessControl access_control = 1;
}
// Copied from: local:aiserver.v1.BugBotDiscriminatorPromptProps (var: g)
message BugBotDiscriminatorPromptProps {
StreamBugBotRequest req = 1;
BugReport bug = 2;
string date = 3;
string seed = 4;
}
// Copied from: local:aiserver.v1.BugBotDiscriminatorTrainingPromptProps (var: h)
message BugBotDiscriminatorTrainingPromptProps {
BugBotDiscriminatorPromptProps props = 1;
bool is_real_bug = 2;
}
// Copied from: local:aiserver.v1.BugBotEvent (var: lt)
message BugBotEvent {
// Copied from: local:aiserver.v1.BugBotEvent.BackgroundIntervalEnded (var: _t)
message BackgroundIntervalEnded {
bool success = 1;
}
// Copied from: local:aiserver.v1.BugBotEvent.BackgroundIntervalErrored (var: yt)
message BackgroundIntervalErrored {
string error_message = 1;
}
// Copied from: local:aiserver.v1.BugBotEvent.BackgroundIntervalInterrupted (var: Tt)
message BackgroundIntervalInterrupted {
BugBotEvent.BackgroundIntervalInterruptedReason reason = 1;
}
// Copied from: local:aiserver.v1.BugBotEvent.BackgroundIntervalInterruptedReason (var: c)
enum BackgroundIntervalInterruptedReason {
BACKGROUND_INTERVAL_INTERRUPTED_REASON_UNSPECIFIED = 0;
BACKGROUND_INTERVAL_INTERRUPTED_REASON_DISABLED = 1;
BACKGROUND_INTERVAL_INTERRUPTED_REASON_TOO_RECENT = 2;
BACKGROUND_INTERVAL_INTERRUPTED_REASON_UNVIEWED_BUG_REPORTS = 3;
BACKGROUND_INTERVAL_INTERRUPTED_REASON_NOT_IN_GIT_REPO = 4;
BACKGROUND_INTERVAL_INTERRUPTED_REASON_DEFAULT_BRANCH_IS_NOT_CURRENT_BRANCH = 5;
BACKGROUND_INTERVAL_INTERRUPTED_REASON_NO_GIT_USER = 6;
BACKGROUND_INTERVAL_INTERRUPTED_REASON_NO_LAST_COMMIT = 7;
BACKGROUND_INTERVAL_INTERRUPTED_REASON_LAST_COMMIT_NOT_MADE_BY_USER = 8;
BACKGROUND_INTERVAL_INTERRUPTED_REASON_LAST_COMMIT_TOO_OLD = 9;
BACKGROUND_INTERVAL_INTERRUPTED_REASON_DIFF_TOO_LONG = 10;
BACKGROUND_INTERVAL_INTERRUPTED_REASON_DIFF_TOO_SHORT = 11;
BACKGROUND_INTERVAL_INTERRUPTED_REASON_TELEMETRY_UNHEALTHY = 12;
}
// Copied from: local:aiserver.v1.BugBotEvent.BackgroundIntervalStarted (var: At)
message BackgroundIntervalStarted {
}
// Copied from: local:aiserver.v1.BugBotEvent.PressedAddToChat (var: dt)
message PressedAddToChat {
string bug_report_id = 1;
}
// Copied from: local:aiserver.v1.BugBotEvent.PressedFixInComposer (var: ct)
message PressedFixInComposer {
string bug_report_id = 1;
}
// Copied from: local:aiserver.v1.BugBotEvent.PressedOpenInEditor (var: pt)
message PressedOpenInEditor {
BugLocation bug_location = 1;
string bug_report_id = 2;
}
// Copied from: local:aiserver.v1.BugBotEvent.ReportsGenerated (var: mt)
message ReportsGenerated {
BugReports bug_reports = 1;
}
// Copied from: local:aiserver.v1.BugBotEvent.Started (var: ut)
message Started {
}
// Copied from: local:aiserver.v1.BugBotEvent.UserFeedback (var: ht)
message UserFeedback {
string bug_report_id = 1;
string feedback = 2;
}
// Copied from: local:aiserver.v1.BugBotEvent.ViewedReport (var: ft)
message ViewedReport {
// Copied from: local:aiserver.v1.BugBotEvent.ViewedReport.ReportView (var: gt)
message ReportView {
string bug_report_id = 1;
double view_percentage = 2;
double text_percentage = 3;
}
int32 seconds_viewed = 1;
repeated ReportView report_views = 2;
}
string request_id = 1;
oneof event_type {
Started started = 2;
ReportsGenerated reports_generated = 3;
PressedFixInComposer pressed_fix_in_composer = 4;
PressedOpenInEditor pressed_open_in_editor = 5;
ViewedReport viewed_report = 6;
UserFeedback user_feedback = 7;
PressedAddToChat pressed_add_to_chat = 8;
BackgroundIntervalStarted background_interval_started = 9;
BackgroundIntervalEnded background_interval_ended = 10;
BackgroundIntervalInterrupted background_interval_interrupted = 11;
BackgroundIntervalErrored background_interval_errored = 12;
}
}
// Copied from: local:aiserver.v1.BugBotLinterEvent (var: et)
message BugBotLinterEvent {
// Copied from: local:aiserver.v1.BugBotLinterEvent.LintDismissed (var: rt)
message LintDismissed {
string bug_report_id = 1;
}
// Copied from: local:aiserver.v1.BugBotLinterEvent.LintGenerated (var: nt)
message LintGenerated {
BugReport bug_report = 1;
}
// Copied from: local:aiserver.v1.BugBotLinterEvent.NotShownBecauseHeuristic (var: at)
message NotShownBecauseHeuristic {
// Copied from: local:aiserver.v1.BugBotLinterEvent.NotShownBecauseHeuristic.Heuristic (var: m)
enum Heuristic {
HEURISTIC_UNSPECIFIED = 0;
HEURISTIC_LINT_OVERLAP = 1;
HEURISTIC_LINES_MISMATCH = 2;
}
Heuristic heuristic = 1;
}
// Copied from: local:aiserver.v1.BugBotLinterEvent.Started (var: tt)
message Started {
}
// Copied from: local:aiserver.v1.BugBotLinterEvent.UnviewedReport (var: it)
message UnviewedReport {
string bug_report_id = 1;
}
// Copied from: local:aiserver.v1.BugBotLinterEvent.UserFeedback (var: st)
message UserFeedback {
string bug_report_id = 1;
string feedback = 2;
}
// Copied from: local:aiserver.v1.BugBotLinterEvent.ViewedReport (var: ot)
message ViewedReport {
string bug_report_id = 1;
}
string request_id = 1;
PointInTimeModel point_in_time_model = 2;
oneof event_type {
LintGenerated lint_generated = 3;
LintDismissed lint_dismissed = 4;
UserFeedback user_feedback = 5;
ViewedReport viewed_report = 6;
UnviewedReport unviewed_report = 7;
Started started = 8;
NotShownBecauseHeuristic not_shown_because_heuristic = 9;
}
}
// Copied from: local:aiserver.v1.BugBotPRAnalytics (var: Fp)
message BugBotPRAnalytics {
string github_repo_node_id = 1;
int32 pr_number = 2;
int64 request_time = 3;
int32 total_runs = 4;
int32 total_bugs = 5;
int32 resolved_bugs = 6;
int32 unresolved_bugs = 7;
bool is_merged = 8;
optional string github_username = 9;
int32 high_sev_resolved_bugs = 10;
int32 medium_sev_resolved_bugs = 11;
int32 low_sev_resolved_bugs = 12;
}
// Copied from: local:aiserver.v1.BugBotPRData (var: Rp)
message BugBotPRData {
optional string start_date = 1;
optional string end_date = 2;
optional string grouping = 3;
}
// Copied from: local:aiserver.v1.BugBotRunStatus (var: o)
enum BugBotRunStatus {
BUG_BOT_RUN_STATUS_UNSPECIFIED = 0;
BUG_BOT_RUN_STATUS_NO_RUN = 1;
BUG_BOT_RUN_STATUS_IN_PROGRESS = 2;
BUG_BOT_RUN_STATUS_COMPLETED = 3;
}
// Copied from: local:aiserver.v1.BugBotStatus (var: at)
message BugBotStatus {
// Copied from: local:aiserver.v1.BugBotStatus.Status (var: re)
enum Status {
STATUS_UNSPECIFIED = 0;
STATUS_IN_PROGRESS = 1;
STATUS_IN_PROGRESS_ITERATIONS = 2;
STATUS_DONE = 3;
STATUS_ERROR = 4;
}
Status status = 1;
string message = 2;
optional int32 iterations_completed = 3;
optional int32 total_iterations = 4;
optional int32 total_tokens = 5;
optional int32 processed_tokens = 6;
optional float processed_cost = 7;
optional int32 thinking_tokens = 8;
optional float thinking_cost = 9;
}
// Copied from: local:aiserver.v1.BugConfigRequest (var: b)
message BugConfigRequest {
bool telem_enabled = 1;
repeated double bug_bot_dismissed_notification_last_10_times_unix_ms = 2;
repeated double bug_bot_viewed_notification_last_10_times_unix_ms = 3;
}
// Copied from: local:aiserver.v1.BugConfigResponse (var: M)
message BugConfigResponse {
// Copied from: local:aiserver.v1.BugConfigResponse.BugBotV1 (var: q)
message BugBotV1 {
bool enabled = 1;
bool is_subsidized = 2;
int32 background_call_frequency_ms = 3;
bool kill_switch = 4;
double show_intrusive_notification_only_if_last_time_was_more_than_ms_ago = 5;
optional int32 background_diff_absolute_max_tokens = 6;
optional int32 background_diff_min_min_token_threshold = 7;
optional int32 background_diff_min_max_token_threshold = 8;
optional double background_diff_last_commit_less_than_this_many_ms_ago = 9;
optional int32 background_unified_context_lines = 15;
optional bool background_diff_include_uncommitted = 16;
optional int32 default_diff_context_lines = 10;
optional int32 diff_absolute_max_tokens = 11;
optional int32 custom_instructions_max_char_length = 12;
optional int32 default_fallback_iterations = 13;
optional int32 threshold_for_expensive_run_modal_cents = 14;
optional string cheap_model_name = 17;
optional int32 cheap_absolute_max_tokens = 18;
optional int32 expensive_absolute_max_tokens = 19;
}
// Copied from: local:aiserver.v1.BugConfigResponse.LinterStrategyV1 (var: L)
message LinterStrategyV1 {
bool enabled = 1;
bool try_trigger_on_save = 2;
double wait_between_triggers_ms = 3;
}
// Copied from: local:aiserver.v1.BugConfigResponse.LinterStrategyV2 (var: F)
message LinterStrategyV2 {
bool enabled = 1;
double wait_between_triggers_ms = 2;
double debounce_triggers_ms = 3;
int32 keep_lines_around_chunk = 4;
int32 prevent_triggering_for_files_with_this_many_lines = 5;
bool prevent_triggering_when_lints = 6;
}
LinterStrategyV1 linter_strategy_v1 = 1;
BugBotV1 bug_bot_v1 = 2;
LinterStrategyV2 linter_strategy_v2 = 3;
}
// Copied from: local:aiserver.v1.BugContext (var: va)
message BugContext {
repeated string screenshots = 1;
CurrentFileInfo current_file = 2;
repeated ConversationMessage conversation = 3;
repeated LogFile logs = 4;
string console_logs = 5;
string cursor_version = 6;
string os = 7;
string proto_url = 8;
string failing_requst_id = 9;
string connection_error_raw = 10;
CmdKDebugInfo debug_info = 12;
optional int32 connect_error_code = 13;
optional ErrorDetails.Error error_detail_code = 14;
optional string error_detail_title = 15;
optional string error_detail_detail = 16;
repeated BugReportScreenshot binary_screenshots = 17;
}
// Copied from: local:aiserver.v1.BugLocation (var: l)
message BugLocation {
string file = 1;
int32 start_line = 2;
int32 end_line = 3;
repeated string code_lines = 4;
}
// Copied from: local:aiserver.v1.BugReport (var: u)
message BugReport {
repeated BugLocation locations = 1;
string id = 2;
string description = 3;
optional float confidence = 4;
optional string category = 5;
optional string severity = 6;
optional string title = 7;
optional string rationale = 9;
optional string triggered_by_rule_id = 10;
optional float model_confidence = 11;
}
// Copied from: local:aiserver.v1.BugReportScreenshot (var: Ia)
message BugReportScreenshot {
bytes data = 1;
string mime_type = 2;
}
// Copied from: local:aiserver.v1.BugReports (var: m)
message BugReports {
repeated BugReport bug_reports = 1;
}
// Copied from: local:aiserver.v1.BugbotAnalyticsDataPoint (var: Pp)
message BugbotAnalyticsDataPoint {
int64 date = 1;
int32 value = 2;
}
// Copied from: local:aiserver.v1.BugbotAutofixMode (var: De)
enum BugbotAutofixMode {
BUGBOT_AUTOFIX_MODE_UNSPECIFIED = 0;
BUGBOT_AUTOFIX_MODE_OFF = 1;
BUGBOT_AUTOFIX_MODE_MANUAL = 2;
BUGBOT_AUTOFIX_MODE_AUTO_PR = 3;
BUGBOT_AUTOFIX_MODE_AUTO_MERGE = 4;
}
// Copied from: local:aiserver.v1.BugbotBackfillStatus (var: Oe)
enum BugbotBackfillStatus {
BUGBOT_BACKFILL_STATUS_UNSPECIFIED = 0;
BUGBOT_BACKFILL_STATUS_RUNNING = 1;
BUGBOT_BACKFILL_STATUS_COMPLETED = 2;
BUGBOT_BACKFILL_STATUS_FAILED = 3;
}
// Copied from: local:aiserver.v1.BugbotBillingMode (var: xe)
enum BugbotBillingMode {
BUGBOT_BILLING_MODE_UNSPECIFIED = 0;
BUGBOT_BILLING_MODE_SEAT = 1;
BUGBOT_BILLING_MODE_TOKEN = 2;
}
// Copied from: local:aiserver.v1.BugbotConfig (var: $e)
message BugbotConfig {
bool bugbot_plan_enabled = 1;
BugbotPlanType bugbot_plan_type = 2;
}
// Copied from: local:aiserver.v1.BugbotDeeplinkEventKind (var: r)
enum BugbotDeeplinkEventKind {
BUGBOT_DEEPLINK_EVENT_KIND_UNSPECIFIED = 0;
BUGBOT_DEEPLINK_EVENT_KIND_CLICKED = 1;
BUGBOT_DEEPLINK_EVENT_KIND_HANDLED_DIALOG_SHOWN = 2;
BUGBOT_DEEPLINK_EVENT_KIND_HANDLED_CHAT_CREATED = 3;
BUGBOT_DEEPLINK_EVENT_KIND_ERROR = 4;
BUGBOT_DEEPLINK_EVENT_KIND_HANDLED_FIX_IN_WEB = 5;
}
// Copied from: local:aiserver.v1.BugbotFeedbackReaction (var: s)
enum BugbotFeedbackReaction {
BUGBOT_FEEDBACK_REACTION_UNSPECIFIED = 0;
BUGBOT_FEEDBACK_REACTION_THUMBS_UP = 1;
BUGBOT_FEEDBACK_REACTION_THUMBS_DOWN = 2;
}
// Copied from: local:aiserver.v1.BugbotLearnedRule (var: ck)
message BugbotLearnedRule {
string id = 1;
string name = 2;
string content = 3;
string repo_node_id = 4;
string repo_name = 5;
string status = 6;
string created_at = 7;
string updated_at = 8;
repeated int32 example_pr_numbers = 9;
string repo_owner = 11;
repeated string scoped_paths = 12;
}
// Copied from: local:aiserver.v1.BugbotLicenseUsage (var: ST)
message BugbotLicenseUsage {
string github_username = 1;
int64 first_review_timestamp = 2;
optional string github_user_node_id = 3;
}
// Copied from: local:aiserver.v1.BugbotManualRepositoryRule (var: hk)
message BugbotManualRepositoryRule {
string id = 1;
string name = 2;
string content = 3;
string repo_node_id = 4;
string repo_name = 5;
string status = 6;
string created_at = 7;
string updated_at = 8;
string repo_owner = 9;
repeated string scoped_paths = 10;
}
// Copied from: local:aiserver.v1.BugbotMode (var: lt)
enum BugbotMode {
BUGBOT_MODE_UNSPECIFIED = 0;
BUGBOT_MODE_DEFAULT = 1;
BUGBOT_MODE_HIGH = 2;
BUGBOT_MODE_AUTO = 3;
BUGBOT_MODE_FRONTIER = 4;
}
// Copied from: local:aiserver.v1.BugbotModePrompt (var: XT)
message BugbotModePrompt {
string content = 1;
int32 sort_order = 2;
}
// Copied from: local:aiserver.v1.BugbotPlanType (var: A)
enum BugbotPlanType {
BUGBOT_PLAN_TYPE_UNSPECIFIED = 0;
BUGBOT_PLAN_TYPE_TEAM = 1;
BUGBOT_PLAN_TYPE_USER = 2;
}
// Copied from: local:aiserver.v1.BugbotRule (var: ek)
message BugbotRule {
string id = 1;
string name = 2;
string content = 3;
bool is_active = 4;
bool is_required = 5;
string created_at = 6;
string updated_at = 7;
}
// Copied from: local:aiserver.v1.BugbotRuleAnalytics (var: Ck)
message BugbotRuleAnalytics {
string rule_id = 1;
string rule_type = 2;
string name = 3;
string content = 4;
repeated string repositories = 5;
int32 issues_found = 6;
int32 prs_reviewed = 7;
int32 accepted_issues = 8;
double acceptance_rate = 9;
double upvote_rate = 10;
double downvote_rate = 11;
string status = 12;
string created_at = 13;
}
// Copied from: local:aiserver.v1.BugbotTrialNotification (var: lt)
message BugbotTrialNotification {
bool show = 1;
optional string message = 2;
optional string learn_more_url = 3;
}
// Copied from: local:aiserver.v1.BugbotUsageTier (var: Ue)
enum BugbotUsageTier {
BUGBOT_USAGE_TIER_UNSPECIFIED = 0;
BUGBOT_USAGE_TIER_FREE_TIER = 1;
BUGBOT_USAGE_TIER_TRIAL = 2;
BUGBOT_USAGE_TIER_PAID = 3;
}
// Copied from: agent.v1.BugfixResultItem (var: o)
message BugfixResultItem {
string bug_id = 1;
string bug_title = 2;
BugfixVerdict verdict = 3;
string explanation = 4;
optional string severity = 5;
}
// Copied from: agent.v1.BugfixVerdict (var: r)
enum BugfixVerdict {
BUGFIX_VERDICT_UNSPECIFIED = 0;
BUGFIX_VERDICT_FIXED = 1;
BUGFIX_VERDICT_FALSE_POSITIVE = 2;
BUGFIX_VERDICT_COULD_NOT_FIX = 3;
BUGFIX_VERDICT_RESOLVED_BY_OTHER_FIX = 4;
}
// Copied from: local:aiserver.v1.BuildFullSelfDrivingTriageContextRequest (var: X)
message BuildFullSelfDrivingTriageContextRequest {
string pr_url = 1;
string trigger_description = 2;
optional string event_name = 3;
FullSelfDrivingMode mode = 4;
optional string bc_id = 5;
bool fetch_ci_log_excerpts = 6;
}
// Copied from: local:aiserver.v1.BuildFullSelfDrivingTriageContextResponse (var: Z)
message BuildFullSelfDrivingTriageContextResponse {
string triage_json = 1;
}
// Copied from: local:aiserver.v1.BuiltinTool (var: o)
enum BuiltinTool {
BUILTIN_TOOL_UNSPECIFIED = 0;
BUILTIN_TOOL_SEARCH = 1;
BUILTIN_TOOL_READ_CHUNK = 2;
BUILTIN_TOOL_GOTODEF = 3;
BUILTIN_TOOL_EDIT = 4;
BUILTIN_TOOL_UNDO_EDIT = 5;
BUILTIN_TOOL_END = 6;
BUILTIN_TOOL_NEW_FILE = 7;
BUILTIN_TOOL_ADD_TEST = 8;
BUILTIN_TOOL_RUN_TEST = 9;
BUILTIN_TOOL_DELETE_TEST = 10;
BUILTIN_TOOL_SAVE_FILE = 11;
BUILTIN_TOOL_GET_TESTS = 12;
BUILTIN_TOOL_GET_SYMBOLS = 13;
BUILTIN_TOOL_SEMANTIC_SEARCH = 14;
BUILTIN_TOOL_GET_PROJECT_STRUCTURE = 15;
BUILTIN_TOOL_CREATE_RM_FILES = 16;
BUILTIN_TOOL_RUN_TERMINAL_COMMANDS = 17;
BUILTIN_TOOL_NEW_EDIT = 18;
BUILTIN_TOOL_READ_WITH_LINTER = 19;
}
// Copied from: local:aiserver.v1.BuiltinToolCall (var: nt)
message BuiltinToolCall {
BuiltinTool tool = 1;
optional string tool_call_id = 22;
oneof params {
SearchParams search_params = 2;
ReadChunkParams read_chunk_params = 3;
GotodefParams gotodef_params = 4;
EditParams edit_params = 5;
UndoEditParams undo_edit_params = 6;
EndParams end_params = 7;
NewFileParams new_file_params = 8;
AddTestParams add_test_params = 9;
RunTestParams run_test_params = 10;
DeleteTestParams delete_test_params = 11;
SaveFileParams save_file_params = 12;
GetTestsParams get_tests_params = 13;
GetSymbolsParams get_symbols_params = 14;
SemanticSearchParams semantic_search_params = 15;
GetProjectStructureParams get_project_structure_params = 16;
CreateRmFilesParams create_rm_files_params = 17;
RunTerminalCommandsParams run_terminal_commands_params = 18;
NewEditParams new_edit_params = 19;
ReadWithLinterParams read_with_linter_params = 20;
AddUiStepParams add_ui_step_params = 21;
ReadSemsearchFilesParams read_semsearch_files_params = 23;
DeleteFileParams delete_file_params = 26;
}
}
// Copied from: local:aiserver.v1.BuiltinToolResult (var: rt)
message BuiltinToolResult {
BuiltinTool tool = 1;
oneof result {
SearchResult search_result = 2;
ReadChunkResult read_chunk_result = 3;
GotodefResult gotodef_result = 4;
EditResult edit_result = 5;
UndoEditResult undo_edit_result = 6;
EndResult end_result = 7;
NewFileResult new_file_result = 8;
AddTestResult add_test_result = 9;
RunTestResult run_test_result = 10;
DeleteTestResult delete_test_result = 11;
SaveFileResult save_file_result = 12;
GetTestsResult get_tests_result = 13;
GetSymbolsResult get_symbols_result = 14;
SemanticSearchResult semantic_search_result = 15;
GetProjectStructureResult get_project_structure_result = 16;
CreateRmFilesResult create_rm_files_result = 17;
RunTerminalCommandsResult run_terminal_commands_result = 18;
NewEditResult new_edit_result = 19;
ReadWithLinterResult read_with_linter_result = 20;
AddUiStepResult add_ui_step_result = 21;
ReadSemsearchFilesResult read_semsearch_files_result = 22;
DeleteFileResult delete_file_result = 24;
}
}
// Copied from: local:aiserver.v1.BulkAssignGroupMembersRequest (var: N_)
message BulkAssignGroupMembersRequest {
int32 team_id = 1;
repeated GroupAssignment assignments = 2;
optional GroupType type = 3;
}
// Copied from: local:aiserver.v1.BulkAssignGroupMembersResponse (var: P_)
message BulkAssignGroupMembersResponse {
repeated string created_groups = 1;
repeated AssignmentResult results = 2;
int32 success_count = 3;
int32 error_count = 4;
}
// Copied from: local:aiserver.v1.BulkEmbedRequest (var: cn)
message BulkEmbedRequest {
repeated string texts = 1;
}
// Copied from: local:aiserver.v1.BulkEmbedResponse (var: dn)
message BulkEmbedResponse {
repeated EmbeddingResponse embeddings = 1;
}
// Copied from: local:aiserver.v1.BulkMoveOrganizationMembersRequest (var: Lr)
message BulkMoveOrganizationMembersRequest {
string organization_id = 1;
repeated OrganizationMemberTeamMove moves = 2;
}
// Copied from: local:aiserver.v1.BulkMoveOrganizationMembersResponse (var: qr)
message BulkMoveOrganizationMembersResponse {
repeated BulkOrganizationMemberMoveResult results = 1;
}
// Copied from: local:aiserver.v1.BulkOrganizationMemberMoveResult (var: Fr)
message BulkOrganizationMemberMoveResult {
int32 added_count = 1;
int32 removed_count = 2;
optional string error_message = 3;
}
// Copied from: local:aiserver.v1.ButtonType (var: a)
enum ButtonType {
BUTTON_TYPE_UNSPECIFIED = 0;
BUTTON_TYPE_LEADING = 1;
BUTTON_TYPE_PRIMARY = 2;
BUTTON_TYPE_SECONDARY = 3;
}
// Copied from: local:aiserver.v1.CachedFileContext (var: be)
message CachedFileContext {
string relative_path = 1;
string language = 2;
string full_content = 3;
int64 last_viewed_timestamp = 4;
}
// Copied from: local:aiserver.v1.CalculateAutoSelectionRequest (var: Ot)
message CalculateAutoSelectionRequest {
CurrentFileInfo current_file_info = 1;
CursorPosition cursor_position = 2;
SimpleRange selection_range = 3;
ModelDetails model_details = 4;
repeated HeuristicsSelection heuristics_selections = 5;
}
// Copied from: local:aiserver.v1.CalculateAutoSelectionResponse (var: Qt)
message CalculateAutoSelectionResponse {
repeated AutoSelectionResult results = 1;
}
// Copied from: agent.v1.CallFrame (var: F)
message CallFrame {
optional string function_name = 1;
optional string url = 2;
optional int32 line_number = 3;
optional int32 column_number = 4;
}
// Copied from: local:aiserver.v1.CallMcpToolParams (var: qn)
message CallMcpToolParams {
string server = 1;
string tool_name = 2;
google.protobuf.Struct tool_args = 3;
}
// Copied from: local:aiserver.v1.CallMcpToolResult (var: Dn)
message CallMcpToolResult {
string server = 1;
string tool_name = 2;
google.protobuf.Struct result = 3;
}
// Copied from: local:aiserver.v1.CallMcpToolStream (var: cs)
message CallMcpToolStream {
}
// Copied from: local:aiserver.v1.CallToAction (var: In)
message CallToAction {
oneof call_to_action {
OpenUrlCallToAction open_url = 1;
}
}
// Copied from: agent.v1.CancelAction (var: hi)
message CancelAction {
string reason = 1;
optional InterruptedPendingToolCallResolutions interrupted_pending_tool_call_resolutions = 3;
}
// Copied from: local:aiserver.v1.CancelEnvironmentBuildRequest (var: Gu)
message CancelEnvironmentBuildRequest {
string build_id = 1;
}
// Copied from: local:aiserver.v1.CancelEnvironmentBuildResponse (var: Hu)
message CancelEnvironmentBuildResponse {
EnvironmentBuildRow row = 1;
}
// Copied from: local:aiserver.v1.CancelModelRoutingLoadTestRequest (var: ip)
message CancelModelRoutingLoadTestRequest {
string run_id = 1;
}
// Copied from: local:aiserver.v1.CancelModelRoutingLoadTestResponse (var: ap)
message CancelModelRoutingLoadTestResponse {
ModelRoutingLoadTestCancelOutcome outcome = 1;
}
// Copied from: agent.v1.CancelSubagentAction (var: Lo)
message CancelSubagentAction {
string subagent_id = 1;
}
// Copied from: agent.v1.CanvasDiagnosticsArgs (var: W)
message CanvasDiagnosticsArgs {
string path = 1;
string tool_call_id = 2;
}
// Copied from: agent.v1.CanvasDiagnosticsError (var: X)
message CanvasDiagnosticsError {
string path = 1;
string error = 2;
}
// Copied from: agent.v1.CanvasDiagnosticsResult (var: z)
message CanvasDiagnosticsResult {
oneof result {
CanvasDiagnosticsSuccess success = 1;
CanvasDiagnosticsError error = 2;
}
}
// Copied from: agent.v1.CanvasDiagnosticsSuccess (var: j)
message CanvasDiagnosticsSuccess {
string path = 1;
repeated Diagnostic diagnostics = 2;
}
// Copied from: local:aiserver.v1.CapturedProfile (var: y)
message CapturedProfile {
google.protobuf.Timestamp timestamp = 1;
google.protobuf.Duration duration = 2;
bytes profile_data = 3;
string profile_config_id = 4;
ProfileKind profile_kind = 5;
map<string, string> tags = 6;
}
// Copied from: local:aiserver.v1.CapturedWebProfile (var: w)
message CapturedWebProfile {
google.protobuf.Timestamp timestamp = 1;
bytes trace_data = 3;
map<string, string> tags = 4;
}
// Copied from: local:aiserver.v1.ChangeBackgroundComposerSnapshotVisibilityRequest (var: Jo)
message ChangeBackgroundComposerSnapshotVisibilityRequest {
// Copied from: local:aiserver.v1.ChangeBackgroundComposerSnapshotVisibilityRequest.Visibility (var: Or)
enum Visibility {
VISIBILITY_UNSPECIFIED = 0;
VISIBILITY_USER = 1;
VISIBILITY_REPO_READ_WRITE = 2;
VISIBILITY_PUBLIC = 4;
VISIBILITY_TEAM = 5;
}
string snapshot_id = 1;
Visibility visibility = 2;
string repo_url = 3;
}
// Copied from: local:aiserver.v1.ChangeBackgroundComposerSnapshotVisibilityResponse (var: Co)
message ChangeBackgroundComposerSnapshotVisibilityResponse {
}
// Copied from: local:aiserver.v1.ChangeSeatRequest (var: Cu)
message ChangeSeatRequest {
int32 team_id = 1;
int32 new_seats = 2;
}
// Copied from: local:aiserver.v1.ChangeSeatResponse (var: Nu)
message ChangeSeatResponse {
bool success = 1;
}
// Copied from: local:aiserver.v1.ChangeTeamSubscriptionRequest (var: Ru)
message ChangeTeamSubscriptionRequest {
int32 team_id = 1;
int32 new_num_seats = 2;
int32 new_request_quota_per_seat = 3;
}
// Copied from: local:aiserver.v1.ChangeTeamSubscriptionResponse (var: Pu)
message ChangeTeamSubscriptionResponse {
bool success = 1;
}
// Copied from: local:aiserver.v1.ChatConfig (var: be)
message ChatConfig {
bool disable_unification = 1;
int32 full_context_token_limit = 2;
bool disable_yolo_mode = 3;
int32 max_rule_length = 4;
int32 max_mcp_tools = 5;
int32 warn_mcp_tools = 6;
string summarization_message = 7;
int32 num_files_for_memory_generation = 8;
bool memory_default_enabled = 9;
int32 num_summarizations_before_warning_shown = 10;
bool cursor_rules_read_file_fix_enabled = 11;
bool dont_send_ctrl_c_before_command = 12;
int32 client_statsig_poll_interval_ms = 13;
bool disable_statsig = 14;
repeated string list_dir_v2_predefined_ignore_globs = 15;
}
// Copied from: local:aiserver.v1.ChatEvent (var: je)
message ChatEvent {
// Copied from: local:aiserver.v1.ChatEvent.EndOfAnyGeneration (var: Ze)
message EndOfAnyGeneration {
}
// Copied from: local:aiserver.v1.ChatEvent.EndOfUninterruptedGeneration (var: $e)
message EndOfUninterruptedGeneration {
}
// Copied from: local:aiserver.v1.ChatEvent.SubmitPrompt (var: Xe)
message SubmitPrompt {
string prompt = 1;
}
string request_id = 1;
oneof event_type {
SubmitPrompt submit_prompt = 2;
EndOfAnyGeneration end_of_any_generation = 3;
EndOfUninterruptedGeneration end_of_uninterrupted_generation = 4;
}
}
// Copied from: local:aiserver.v1.ChatExternalLink (var: Pe)
message ChatExternalLink {
string url = 1;
string uuid = 2;
optional string pdf_content = 3;
optional bool is_pdf = 4;
optional string filename = 5;
}
// Copied from: local:aiserver.v1.ChatQuote (var: Re)
message ChatQuote {
string markdown = 1;
string bubble_id = 2;
int32 section_index = 3;
}
// Copied from: local:aiserver.v1.ChatRequestTelemetryEvent (var: D)
message ChatRequestTelemetryEvent {
string chat_request_uuid = 1;
string requested_model = 2;
string actual_model = 3;
google.protobuf.Timestamp start_time = 4;
google.protobuf.Timestamp end_time = 5;
google.protobuf.Duration duration = 6;
bool success = 7;
optional string error_message = 8;
optional string transport = 9;
string completion_status = 10;
map<string, string> metadata = 11;
optional double total_ttft_ms = 12;
optional double total_generate_ms = 13;
optional double total_stream_ms = 14;
optional double total_request_ms = 15;
optional int32 model_call_count = 16;
optional double total_tool_call_latency = 17;
optional int32 tool_call_count = 18;
}
// Copied from: local:aiserver.v1.ChatSuggestionItem (var: Me)
message ChatSuggestionItem {
string text = 1;
string reason = 2;
string type = 3;
string category = 4;
}
// Copied from: local:aiserver.v1.CheckBugBotPriceRequest (var: ze)
message CheckBugBotPriceRequest {
int32 diff_char_len = 1;
int32 iterations = 2;
ModelDetails model_details = 3;
optional string session_id = 4;
}
// Copied from: local:aiserver.v1.CheckBugBotPriceResponse (var: je)
message CheckBugBotPriceResponse {
double cost = 1;
string price_id = 2;
}
// Copied from: local:aiserver.v1.CheckBugBotTelemetryHealthyRequest (var: $e)
message CheckBugBotTelemetryHealthyRequest {
string session_id = 1;
}
// Copied from: local:aiserver.v1.CheckBugBotTelemetryHealthyResponse (var: et)
message CheckBugBotTelemetryHealthyResponse {
bool is_healthy = 1;
}
// Copied from: local:aiserver.v1.CheckDoableAsTaskRequest (var: zi)
message CheckDoableAsTaskRequest {
string model_output = 1;
ModelDetails model_details = 2;
}
// Copied from: local:aiserver.v1.CheckDoableAsTaskResponse (var: ji)
message CheckDoableAsTaskResponse {
bool doable_as_task = 1;
}
// Copied from: local:aiserver.v1.CheckFeatureStatusRequest (var: xn)
message CheckFeatureStatusRequest {
string feature_name = 1;
}
// Copied from: local:aiserver.v1.CheckFeatureStatusResponse (var: Kn)
message CheckFeatureStatusResponse {
bool enabled = 1;
}
// Copied from: local:aiserver.v1.CheckFeaturesStatusRequest (var: Qn)
message CheckFeaturesStatusRequest {
repeated string feature_names = 1;
}
// Copied from: local:aiserver.v1.CheckFeaturesStatusResponse (var: Gn)
message CheckFeaturesStatusResponse {
// Copied from: local:aiserver.v1.CheckFeaturesStatusResponse.FeatureStatus (var: Hn)
message FeatureStatus {
string feature_name = 1;
bool enabled = 2;
}
repeated FeatureStatus feature_statuses = 1;
}
// Copied from: local:aiserver.v1.CheckHttpMcpStatusRequest (var: yi)
message CheckHttpMcpStatusRequest {
repeated int32 server_ids = 1;
string oauth_redirect_uri = 2;
optional int32 team_id = 3;
optional string service_account_id = 4;
bool force_reauth = 5;
optional string service_account_type = 6;
optional string post_auth_return_url = 7;
string account_key = 8;
}
// Copied from: local:aiserver.v1.CheckHttpMcpStatusResponse (var: ki)
message CheckHttpMcpStatusResponse {
// Copied from: local:aiserver.v1.CheckHttpMcpStatusResponse.ServerStatus (var: wi)
message ServerStatus {
int32 id = 1;
bool is_available = 2;
bool requires_auth = 3;
optional string auth_url = 4;
optional string error = 5;
bool has_valid_token = 6;
}
repeated ServerStatus statuses = 1;
}
// Copied from: local:aiserver.v1.CheckLogExcerptStatus (var: Qn)
enum CheckLogExcerptStatus {
CHECK_LOG_EXCERPT_STATUS_UNSPECIFIED = 0;
CHECK_LOG_EXCERPT_STATUS_OK = 1;
CHECK_LOG_EXCERPT_STATUS_NOT_SUPPORTED = 2;
CHECK_LOG_EXCERPT_STATUS_NOT_FOUND = 3;
CHECK_LOG_EXCERPT_STATUS_INSUFFICIENT_PERMISSIONS = 4;
CHECK_LOG_EXCERPT_STATUS_AUTH_REQUIRED = 5;
CHECK_LOG_EXCERPT_STATUS_ERROR = 6;
}
// Copied from: local:aiserver.v1.CheckLongFilesFitResponse (var: ii)
message CheckLongFilesFitResponse {
bool did_fit = 1;
}
// Copied from: local:aiserver.v1.CheckNumberConfigRequest (var: Wn)
message CheckNumberConfigRequest {
string key = 1;
}
// Copied from: local:aiserver.v1.CheckNumberConfigResponse (var: zn)
message CheckNumberConfigResponse {
int32 value = 1;
}
// Copied from: local:aiserver.v1.CheckNumberConfigsRequest (var: jn)
message CheckNumberConfigsRequest {
repeated string config_names = 1;
}
// Copied from: local:aiserver.v1.CheckNumberConfigsResponse (var: Xn)
message CheckNumberConfigsResponse {
// Copied from: local:aiserver.v1.CheckNumberConfigsResponse.Config (var: Zn)
message Config {
string config_name = 1;
int32 value = 2;
}
repeated Config configs = 1;
}
// Copied from: local:aiserver.v1.CheckPromotionEligibilityRequest (var: Ca)
message CheckPromotionEligibilityRequest {
string promo_type_id = 1;
}
// Copied from: local:aiserver.v1.CheckPromotionEligibilityResponse (var: Na)
message CheckPromotionEligibilityResponse {
bool can_activate = 1;
optional ActivationStatus activation_status = 2;
}
// Copied from: local:aiserver.v1.CheckPullRequestMergeabilityRequest (var: Ec)
message CheckPullRequestMergeabilityRequest {
string pr_url = 1;
}
// Copied from: local:aiserver.v1.CheckPullRequestMergeabilityResponse (var: Sc)
message CheckPullRequestMergeabilityResponse {
bool can_merge = 1;
string error = 2;
optional string mergeable_state = 3;
}
// Copied from: local:aiserver.v1.CheckQueuePositionRequest (var: Ho)
message CheckQueuePositionRequest {
string orig_request_id = 1;
ModelDetails model_details = 2;
string usage_uuid = 3;
}
// Copied from: local:aiserver.v1.CheckQueuePositionResponse (var: Vo)
message CheckQueuePositionResponse {
// Copied from: local:aiserver.v1.CheckQueuePositionResponse.CustomLink (var: Yo)
message CustomLink {
string address = 1;
string message = 2;
}
// Copied from: local:aiserver.v1.CheckQueuePositionResponse.ModelForSlowPoolNudgeData (var: Ko)
message ModelForSlowPoolNudgeData {
string model = 1;
string message = 2;
}
int32 position = 1;
optional int32 seconds_left_to_wait = 2;
optional int32 new_queue_position = 7;
bool hit_hard_limit = 3;
bool could_enable_usage_based_pricing_to_skip = 4;
UsageEventDetails usage_event_details = 5;
CustomLink custom_link = 6;
optional ModelForSlowPoolNudgeData model_for_slow_pool_nudge_data = 8;
}
// Copied from: local:aiserver.v1.CheckReferralAllowlistRequest (var: hm)
message CheckReferralAllowlistRequest {
}
// Copied from: local:aiserver.v1.CheckReferralAllowlistResponse (var: Am)
message CheckReferralAllowlistResponse {
bool is_in_allowlist = 1;
}
// Copied from: local:aiserver.v1.CheckReferralCodeRequest (var: Tm)
message CheckReferralCodeRequest {
string referral_code = 1;
string auth_id = 2;
}
// Copied from: local:aiserver.v1.CheckReferralCodeResponse (var: ym)
message CheckReferralCodeResponse {
bool is_valid = 1;
bool user_is_eligible = 2;
bool max_redemptions = 3;
optional Metadata metadata = 4;
}
// Copied from: local:aiserver.v1.CheckUsageBasedPriceRequest (var: Qo)
message CheckUsageBasedPriceRequest {
UsageEventDetails usage_event_details = 1;
}
// Copied from: local:aiserver.v1.CheckUsageBasedPriceResponse (var: Go)
message CheckUsageBasedPriceResponse {
string markdown_response = 1;
int32 cents = 2;
string price_id = 3;
}
// Copied from: local:aiserver.v1.CheckUserApiKeyAccessRequest (var: jA)
message CheckUserApiKeyAccessRequest {
}
// Copied from: local:aiserver.v1.CheckUserApiKeyAccessResponse (var: XA)
message CheckUserApiKeyAccessResponse {
bool has_access = 1;
}
// Copied from: local:aiserver.v1.ChooseCodeReferencesRequest (var: E)
message ChooseCodeReferencesRequest {
// Copied from: local:aiserver.v1.ChooseCodeReferencesRequest.FileRequest (var: S)
message FileRequest {
string file_id = 1;
}
// Copied from: local:aiserver.v1.ChooseCodeReferencesRequest.NodeRequest (var: I)
message NodeRequest {
string node_id = 1;
}
string index_id = 1;
bool recompute = 4;
oneof request {
FileRequest file = 2;
NodeRequest node = 3;
}
}
// Copied from: local:aiserver.v1.ChooseCodeReferencesResponse (var: v)
message ChooseCodeReferencesResponse {
// Copied from: local:aiserver.v1.ChooseCodeReferencesResponse.FileResponse (var: J)
message FileResponse {
string file_id = 1;
repeated ChooseCodeReferencesResponse.NodeResponse node_responses = 2;
}
// Copied from: local:aiserver.v1.ChooseCodeReferencesResponse.NodeResponse (var: B)
message NodeResponse {
string node_id = 1;
repeated CodeSymbolWithAction actions = 2;
bool skipped = 3;
repeated string dependencies = 4;
}
oneof response {
FileResponse file = 1;
NodeResponse node = 2;
}
}
// Copied from: local:aiserver.v1.ChunkDiff (var: U)
message ChunkDiff {
string diff_string = 1;
int32 old_start = 2;
int32 new_start = 3;
int32 old_lines = 4;
int32 new_lines = 5;
}
// Copied from: local:aiserver.v1.ChunkType (var: P)
enum ChunkType {
CHUNK_TYPE_UNSPECIFIED = 0;
CHUNK_TYPE_CODEBASE = 1;
CHUNK_TYPE_LONG_FILE = 2;
CHUNK_TYPE_DOCS = 3;
}
// Copied from: local:aiserver.v1.ChunkingStrategy (var: r)
enum ChunkingStrategy {
CHUNKING_STRATEGY_UNSPECIFIED = 0;
CHUNKING_STRATEGY_DEFAULT = 1;
}
// Copied from: local:aiserver.v1.ClaimUserProfileHandleRequest (var: RE)
message ClaimUserProfileHandleRequest {
string handle = 1;
}
// Copied from: local:aiserver.v1.ClaimUserProfileHandleResponse (var: PE)
message ClaimUserProfileHandleResponse {
UserProfile profile = 1;
}
// Copied from: local:aiserver.v1.ClassifySandAutoReviewRequest (var: ei)
message ClassifySandAutoReviewRequest {
SmartModeClassifierArgs args = 1;
optional uint32 attempt_index = 2;
optional string mode = 3;
}
// Copied from: local:aiserver.v1.ClassifySandAutoReviewResponse (var: ti)
message ClassifySandAutoReviewResponse {
SmartModeClassifierResult result = 1;
}
// Copied from: local:aiserver.v1.CliSettings (var: lc)
message CliSettings {
repeated string allowlist = 1;
AllowlistConfig allowlist_config = 2;
bool disable_headless = 3;
}
// Copied from: agent.v1.ClickAction (var: m)
message ClickAction {
optional Coordinate coordinate = 1;
MouseButton button = 2;
int32 count = 3;
optional string modifier_keys = 4;
}
// Copied from: local:aiserver.v1.ClientAction (var: ke)
message ClientAction {
string command_id = 1;
map<string, string> args = 2;
}
// Copied from: local:aiserver.v1.ClientActionRequest (var: gy)
message ClientActionRequest {
string action = 1;
map<string, string> args = 2;
}
// Copied from: local:aiserver.v1.ClientActionResponse (var: hy)
message ClientActionResponse {
bool success = 1;
optional string error_message = 2;
optional string info_message = 3;
}
// Copied from: agent.v1.ClientContinuationConfig (var: L)
message ClientContinuationConfig {
int32 idle_threshold = 1;
int32 max_loops = 2;
string nudge_message = 3;
string escape_message_template = 4;
bool collect_background_children = 5;
string children_completed_message_template = 6;
int32 continuation_round_delay_ms = 7;
}
// Copied from: local:aiserver.v1.ClientInfo (var: h)
message ClientInfo {
optional string os = 1;
optional string arch = 2;
optional string os_version = 3;
optional string version = 4;
optional string layout = 5;
}
// Copied from: local:aiserver.v1.ClientLogEntry (var: T)
message ClientLogEntry {
ClientLogLevel level = 1;
string message = 2;
map<string, string> metadata = 3;
int64 timestamp = 4;
optional string error_message = 5;
optional string error_stack = 6;
string key = 7;
}
// Copied from: local:aiserver.v1.ClientLogLevel (var: s)
enum ClientLogLevel {
CLIENT_LOG_LEVEL_UNSPECIFIED = 0;
CLIENT_LOG_LEVEL_INFO = 1;
CLIENT_LOG_LEVEL_DEBUG = 2;
CLIENT_LOG_LEVEL_WARN = 3;
CLIENT_LOG_LEVEL_ERROR = 4;
}
// Copied from: local:aiserver.v1.ClientNumericMetric (var: lu)
message ClientNumericMetric {
string metric = 1;
double value = 2;
optional string session_id = 3;
optional string ff_hash = 4;
int64 timestamp_ms = 5;
optional string client_version = 6;
optional string os = 7;
optional string enabled_extensions_hash = 8;
optional string ff_resolved = 9;
optional string extensions_resolved = 10;
optional string window_type = 11;
}
// Copied from: local:aiserver.v1.ClientOS (var: r)
enum ClientOS {
CLIENT_OS_UNSPECIFIED = 0;
CLIENT_OS_WINDOWS = 1;
CLIENT_OS_MACOS = 2;
CLIENT_OS_LINUX = 3;
CLIENT_OS_IOS = 4;
}
// Copied from: local:aiserver.v1.ClientRepositoryInfo (var: oe)
message ClientRepositoryInfo {
double orthogonal_transform_seed = 1;
}
// Copied from: local:aiserver.v1.ClientSideToolV2 (var: r)
enum ClientSideToolV2 {
CLIENT_SIDE_TOOL_V2_UNSPECIFIED = 0;
CLIENT_SIDE_TOOL_V2_READ_SEMSEARCH_FILES = 1;
CLIENT_SIDE_TOOL_V2_RIPGREP_SEARCH = 3;
CLIENT_SIDE_TOOL_V2_READ_FILE = 5;
CLIENT_SIDE_TOOL_V2_LIST_DIR = 6;
CLIENT_SIDE_TOOL_V2_EDIT_FILE = 7;
CLIENT_SIDE_TOOL_V2_FILE_SEARCH = 8;
CLIENT_SIDE_TOOL_V2_SEMANTIC_SEARCH_FULL = 9;
CLIENT_SIDE_TOOL_V2_DELETE_FILE = 11;
CLIENT_SIDE_TOOL_V2_REAPPLY = 12;
CLIENT_SIDE_TOOL_V2_RUN_TERMINAL_COMMAND_V2 = 15;
CLIENT_SIDE_TOOL_V2_FETCH_RULES = 16;
CLIENT_SIDE_TOOL_V2_WEB_SEARCH = 18;
CLIENT_SIDE_TOOL_V2_MCP = 19;
CLIENT_SIDE_TOOL_V2_SEARCH_SYMBOLS = 23;
CLIENT_SIDE_TOOL_V2_BACKGROUND_COMPOSER_FOLLOWUP = 24;
CLIENT_SIDE_TOOL_V2_KNOWLEDGE_BASE = 25;
CLIENT_SIDE_TOOL_V2_FETCH_PULL_REQUEST = 26;
CLIENT_SIDE_TOOL_V2_DEEP_SEARCH = 27;
CLIENT_SIDE_TOOL_V2_CREATE_DIAGRAM = 28;
CLIENT_SIDE_TOOL_V2_FIX_LINTS = 29;
CLIENT_SIDE_TOOL_V2_READ_LINTS = 30;
CLIENT_SIDE_TOOL_V2_GO_TO_DEFINITION = 31;
CLIENT_SIDE_TOOL_V2_TASK = 32;
CLIENT_SIDE_TOOL_V2_AWAIT_TASK = 33;
CLIENT_SIDE_TOOL_V2_TODO_READ = 34;
CLIENT_SIDE_TOOL_V2_TODO_WRITE = 35;
CLIENT_SIDE_TOOL_V2_EDIT_FILE_V2 = 38;
CLIENT_SIDE_TOOL_V2_LIST_DIR_V2 = 39;
CLIENT_SIDE_TOOL_V2_READ_FILE_V2 = 40;
CLIENT_SIDE_TOOL_V2_RIPGREP_RAW_SEARCH = 41;
CLIENT_SIDE_TOOL_V2_GLOB_FILE_SEARCH = 42;
CLIENT_SIDE_TOOL_V2_CREATE_PLAN = 43;
CLIENT_SIDE_TOOL_V2_LIST_MCP_RESOURCES = 44;
CLIENT_SIDE_TOOL_V2_READ_MCP_RESOURCE = 45;
CLIENT_SIDE_TOOL_V2_READ_PROJECT = 46;
CLIENT_SIDE_TOOL_V2_UPDATE_PROJECT = 47;
CLIENT_SIDE_TOOL_V2_TASK_V2 = 48;
CLIENT_SIDE_TOOL_V2_CALL_MCP_TOOL = 49;
CLIENT_SIDE_TOOL_V2_APPLY_AGENT_DIFF = 50;
CLIENT_SIDE_TOOL_V2_ASK_QUESTION = 51;
CLIENT_SIDE_TOOL_V2_SWITCH_MODE = 52;
CLIENT_SIDE_TOOL_V2_GENERATE_IMAGE = 53;
CLIENT_SIDE_TOOL_V2_COMPUTER_USE = 54;
CLIENT_SIDE_TOOL_V2_WRITE_SHELL_STDIN = 55;
CLIENT_SIDE_TOOL_V2_RECORD_SCREEN = 56;
CLIENT_SIDE_TOOL_V2_WEB_FETCH = 57;
CLIENT_SIDE_TOOL_V2_REPORT_BUGFIX_RESULTS = 58;
CLIENT_SIDE_TOOL_V2_AI_ATTRIBUTION = 59;
CLIENT_SIDE_TOOL_V2_MCP_AUTH = 60;
CLIENT_SIDE_TOOL_V2_REFLECT = 61;
CLIENT_SIDE_TOOL_V2_AWAIT = 62;
CLIENT_SIDE_TOOL_V2_GET_MCP_TOOLS = 63;
CLIENT_SIDE_TOOL_V2_SEND_TO_USER = 65;
CLIENT_SIDE_TOOL_V2_CONNECT_SCM = 66;
}
// Copied from: local:aiserver.v1.ClientSideToolV2Call (var: U)
message ClientSideToolV2Call {
ClientSideToolV2 tool = 1;
string tool_call_id = 3;
optional double timeout_ms = 6;
string name = 9;
bool is_streaming = 14;
bool is_last_message = 15;
bool internal = 51;
string raw_args = 10;
optional uint32 tool_index = 48;
optional string model_call_id = 49;
oneof params {
ReadSemsearchFilesParams read_semsearch_files_params = 2;
RipgrepSearchParams ripgrep_search_params = 5;
ReadFileParams read_file_params = 8;
ListDirParams list_dir_params = 12;
EditFileParams edit_file_params = 13;
ToolCallFileSearchParams file_search_params = 16;
SemanticSearchFullParams semantic_search_full_params = 17;
DeleteFileParams delete_file_params = 19;
ReapplyParams reapply_params = 20;
RunTerminalCommandV2Params run_terminal_command_v2_params = 23;
FetchRulesParams fetch_rules_params = 24;
WebSearchParams web_search_params = 26;
MCPParams mcp_params = 27;
SearchSymbolsParams search_symbols_params = 31;
GotodefParams gotodef_params = 41;
BackgroundComposerFollowupParams background_composer_followup_params = 32;
KnowledgeBaseParams knowledge_base_params = 33;
FetchPullRequestParams fetch_pull_request_params = 34;
DeepSearchParams deep_search_params = 35;
CreateDiagramParams create_diagram_params = 36;
FixLintsParams fix_lints_params = 37;
ReadLintsParams read_lints_params = 38;
TaskParams task_params = 42;
AwaitTaskParams await_task_params = 43;
TodoReadParams todo_read_params = 44;
TodoWriteParams todo_write_params = 45;
EditFileV2Params edit_file_v2_params = 50;
ListDirV2Params list_dir_v2_params = 52;
ReadFileV2Params read_file_v2_params = 53;
RipgrepRawSearchParams ripgrep_raw_search_params = 54;
GlobFileSearchParams glob_file_search_params = 55;
CreatePlanParams create_plan_params = 56;
ListMcpResourcesParams list_mcp_resources_params = 57;
ReadMcpResourceParams read_mcp_resource_params = 58;
ReadProjectParams read_project_params = 59;
UpdateProjectParams update_project_params = 60;
TaskV2Params task_v2_params = 61;
CallMcpToolParams call_mcp_tool_params = 62;
ApplyAgentDiffParams apply_agent_diff_params = 63;
AskQuestionParams ask_question_params = 64;
SwitchModeParams switch_mode_params = 65;
ComputerUseParams computer_use_params = 66;
WriteShellStdinArgs write_shell_stdin_params = 67;
RecordScreenArgs record_screen_params = 68;
WebFetchParams web_fetch_params = 69;
ReportBugfixResultsParams report_bugfix_results_params = 70;
McpAuthParams mcp_auth_params = 71;
GetMcpToolsParams get_mcp_tools_params = 72;
ConnectScmParams connect_scm_params = 73;
}
}
// Copied from: local:aiserver.v1.ClientSideToolV2Result (var: x)
message ClientSideToolV2Result {
ClientSideToolV2 tool = 1;
string tool_call_id = 35;
optional ToolResultError error = 8;
optional string model_call_id = 48;
optional uint32 tool_index = 49;
optional ToolResultAttachments attachments = 50;
oneof result {
ReadSemsearchFilesResult read_semsearch_files_result = 2;
RipgrepSearchResult ripgrep_search_result = 4;
ReadFileResult read_file_result = 6;
ListDirResult list_dir_result = 9;
EditFileResult edit_file_result = 10;
ToolCallFileSearchResult file_search_result = 11;
SemanticSearchFullResult semantic_search_full_result = 18;
DeleteFileResult delete_file_result = 20;
ReapplyResult reapply_result = 21;
RunTerminalCommandV2Result run_terminal_command_v2_result = 24;
FetchRulesResult fetch_rules_result = 25;
WebSearchResult web_search_result = 27;
MCPResult mcp_result = 28;
SearchSymbolsResult search_symbols_result = 32;
BackgroundComposerFollowupResult background_composer_followup_result = 33;
KnowledgeBaseResult knowledge_base_result = 34;
FetchPullRequestResult fetch_pull_request_result = 36;
DeepSearchResult deep_search_result = 37;
CreateDiagramResult create_diagram_result = 38;
FixLintsResult fix_lints_result = 39;
ReadLintsResult read_lints_result = 40;
GotodefResult gotodef_result = 41;
TaskResult task_result = 42;
AwaitTaskResult await_task_result = 43;
TodoReadResult todo_read_result = 44;
TodoWriteResult todo_write_result = 45;
EditFileV2Result edit_file_v2_result = 51;
ListDirV2Result list_dir_v2_result = 52;
ReadFileV2Result read_file_v2_result = 53;
RipgrepRawSearchResult ripgrep_raw_search_result = 54;
GlobFileSearchResult glob_file_search_result = 55;
CreatePlanResult create_plan_result = 56;
ListMcpResourcesResult list_mcp_resources_result = 57;
ReadMcpResourceResult read_mcp_resource_result = 58;
ReadProjectResult read_project_result = 59;
UpdateProjectResult update_project_result = 60;
TaskV2Result task_v2_result = 61;
CallMcpToolResult call_mcp_tool_result = 62;
ApplyAgentDiffResult apply_agent_diff_result = 63;
AskQuestionResult ask_question_result = 64;
SwitchModeResult switch_mode_result = 65;
ComputerUseResult computer_use_result = 66;
GenerateImageResult generate_image_result = 67;
WriteShellStdinResult write_shell_stdin_result = 68;
RecordScreenResult record_screen_result = 69;
WebFetchResult web_fetch_result = 70;
ReportBugfixResultsResult report_bugfix_results_result = 71;
AiAttributionResult ai_attribution_result = 72;
McpAuthResult mcp_auth_result = 73;
GetMcpToolsResult get_mcp_tools_result = 74;
ConnectScmResult connect_scm_result = 75;
}
}
// Copied from: local:aiserver.v1.ClientSurface (var: c)
enum ClientSurface {
CLIENT_SURFACE_UNSPECIFIED = 0;
CLIENT_SURFACE_EDITOR = 1;
CLIENT_SURFACE_GLASS = 2;
}
// Copied from: local:aiserver.v1.ClientTracingConfig (var: Pe)
message ClientTracingConfig {
double global_sample_rate = 1;
double traces_sample_rate = 2;
double logger_sample_rate = 3;
double minidump_sample_rate = 4;
double error_rate_limit = 5;
double performance_unit_rate_limit = 6;
double profiles_sample_rate = 7;
double json_stringify_sample_rate = 8;
}
// Copied from: local:aiserver.v1.ClientUpdateLevel (var: u)
enum ClientUpdateLevel {
CLIENT_UPDATE_LEVEL_UNSPECIFIED = 0;
CLIENT_UPDATE_LEVEL_NONE = 1;
CLIENT_UPDATE_LEVEL_RECOMMENDED = 2;
CLIENT_UPDATE_LEVEL_REQUIRED = 3;
}
// Copied from: local:aiserver.v1.ClientVersionStatus (var: Ce)
message ClientVersionStatus {
ClientUpdateLevel update_level = 1;
string current_client_version = 2;
string min_supported_client_version = 3;
string min_allowed_client_version = 4;
optional string message = 5;
}
// Copied from: local:aiserver.v1.ClientVisibleCreditGrant (var: sp)
message ClientVisibleCreditGrant {
int64 remaining_cents = 1;
int64 total_cents = 2;
int64 expires_at_ms = 3;
string display_name = 4;
optional int32 percent_used = 5;
}
// Copied from: local:aiserver.v1.CloseEventSubscriptionRequest (var: Gi)
message CloseEventSubscriptionRequest {
string named_agent_id = 1;
string subscription_id = 2;
}
// Copied from: local:aiserver.v1.CloseEventSubscriptionResponse (var: Hi)
message CloseEventSubscriptionResponse {
bool closed = 1;
}
// Copied from: local:aiserver.v1.CloudAgentAnyrunPendingDockerBuildVmInfo (var: jd)
message CloudAgentAnyrunPendingDockerBuildVmInfo {
string anyrun_cluster = 1;
string docker_build_events_redis_stream_key = 2;
}
// Copied from: local:aiserver.v1.CloudAgentAnyrunVmInfo (var: zd)
message CloudAgentAnyrunVmInfo {
string tenant_id = 1;
string pod_id = 2;
string anyrun_cluster = 3;
string workspace_root_path = 4;
optional string docker_build_events_redis_stream_key = 5;
optional string setup_events_redis_stream_key = 6;
optional string prewarm_workflow_id = 7;
optional StreamUnifiedChatResponseWithToolsIdempotent environment_build_boot_info = 8;
}
// Copied from: local:aiserver.v1.CloudAgentDashboardRunDayBucket (var: si)
message CloudAgentDashboardRunDayBucket {
int64 day_start_ms = 1;
int64 success_count = 2;
int64 warning_count = 3;
int64 failure_count = 4;
}
// Copied from: local:aiserver.v1.CloudAgentDashboardRunFilter (var: $o)
message CloudAgentDashboardRunFilter {
optional string team_id = 1;
int64 created_after_ms = 2;
int64 created_before_ms = 3;
repeated CloudAgentSourceCategory triggers = 4;
repeated CloudAgentDashboardRunStatus statuses = 5;
optional int64 created_by_user_id = 6;
}
// Copied from: local:aiserver.v1.CloudAgentDashboardRunRow (var: ti)
message CloudAgentDashboardRunRow {
string bc_id = 1;
int64 created_at_ms = 2;
CloudAgentSourceCategory trigger = 3;
optional int64 created_by_user_id = 4;
optional string created_by_display = 5;
optional string environment_name = 6;
optional string environment_public_id = 7;
optional string repo_url = 8;
CloudAgentDashboardRunStatus status = 9;
}
// Copied from: local:aiserver.v1.CloudAgentDashboardRunSort (var: Xo)
message CloudAgentDashboardRunSort {
CloudAgentDashboardRunSortField field = 1;
CloudAgentDashboardRunSortDirection direction = 2;
}
// Copied from: local:aiserver.v1.CloudAgentDashboardRunSortDirection (var: zn)
enum CloudAgentDashboardRunSortDirection {
CLOUD_AGENT_DASHBOARD_RUN_SORT_DIRECTION_UNSPECIFIED = 0;
CLOUD_AGENT_DASHBOARD_RUN_SORT_DIRECTION_DESC = 1;
CLOUD_AGENT_DASHBOARD_RUN_SORT_DIRECTION_ASC = 2;
}
// Copied from: local:aiserver.v1.CloudAgentDashboardRunSortField (var: Wn)
enum CloudAgentDashboardRunSortField {
CLOUD_AGENT_DASHBOARD_RUN_SORT_FIELD_UNSPECIFIED = 0;
CLOUD_AGENT_DASHBOARD_RUN_SORT_FIELD_CREATED_AT = 1;
}
// Copied from: local:aiserver.v1.CloudAgentDashboardRunStatus (var: Kn)
enum CloudAgentDashboardRunStatus {
CLOUD_AGENT_DASHBOARD_RUN_STATUS_UNSPECIFIED = 0;
CLOUD_AGENT_DASHBOARD_RUN_STATUS_RUNNING = 1;
CLOUD_AGENT_DASHBOARD_RUN_STATUS_FINISHED = 2;
CLOUD_AGENT_DASHBOARD_RUN_STATUS_ERROR = 3;
CLOUD_AGENT_DASHBOARD_RUN_STATUS_INSTALL_FAILED = 4;
}
// Copied from: local:aiserver.v1.CloudAgentEffortMode (var: te)
enum CloudAgentEffortMode {
CLOUD_AGENT_EFFORT_MODE_UNSPECIFIED = 0;
CLOUD_AGENT_EFFORT_MODE_STANDARD = 1;
CLOUD_AGENT_EFFORT_MODE_GRIND = 2;
}
// Copied from: local:aiserver.v1.CloudAgentEgressProtectionMode (var: ve)
enum CloudAgentEgressProtectionMode {
CLOUD_AGENT_EGRESS_PROTECTION_MODE_UNSPECIFIED = 0;
CLOUD_AGENT_EGRESS_PROTECTION_MODE_ALLOW_ALL = 1;
CLOUD_AGENT_EGRESS_PROTECTION_MODE_DEFAULT_WITH_NETWORK_SETTINGS = 2;
CLOUD_AGENT_EGRESS_PROTECTION_MODE_NETWORK_SETTINGS_ONLY = 3;
CLOUD_AGENT_EGRESS_PROTECTION_MODE_PARENT_PLUS_NETWORK_SETTINGS = 4;
}
// Copied from: local:aiserver.v1.CloudAgentErrorDetails (var: Dd)
message CloudAgentErrorDetails {
string error_message = 1;
string error_code = 2;
optional string dev_only_message = 3;
optional ErrorDetails error_details = 4;
}
// Copied from: local:aiserver.v1.CloudAgentMemoryDbLogEntry (var: _p)
message CloudAgentMemoryDbLogEntry {
CloudAgentMemoryDbLogSource source = 2;
optional uint32 worker_index = 3;
oneof log {
SwGetLinterErrorsRequest event = 4;
WaterfallUpdate waterfall_update = 5;
}
}
// Copied from: local:aiserver.v1.CloudAgentMemoryDbLogSource (var: Br)
enum CloudAgentMemoryDbLogSource {
CLOUD_AGENT_MEMORY_DB_LOG_SOURCE_UNSPECIFIED = 0;
CLOUD_AGENT_MEMORY_DB_LOG_SOURCE_DOCKER_BUILD = 1;
CLOUD_AGENT_MEMORY_DB_LOG_SOURCE_SETUP = 2;
}
// Copied from: local:aiserver.v1.CloudAgentModelSelection (var: $)
message CloudAgentModelSelection {
// Copied from: local:aiserver.v1.CloudAgentModelSelection.ParameterValue (var: ee)
message ParameterValue {
string id = 1;
string value = 2;
}
string model_id = 1;
repeated ParameterValue parameters = 2;
optional bool max_mode = 3;
}
// Copied from: local:aiserver.v1.CloudAgentPluginSnapshot (var: Zy)
message CloudAgentPluginSnapshot {
EffectivePlugin effective_plugin = 1;
optional string git_ref = 3;
}
// Copied from: local:aiserver.v1.CloudAgentRunEvent (var: li)
message CloudAgentRunEvent {
string public_id = 1;
int64 created_at_ms = 2;
CloudAgentRunEventCategory category = 3;
CloudAgentRunEventLogLevel log_level = 4;
string kind = 5;
string title = 6;
optional string detail = 7;
optional string link_url = 8;
}
// Copied from: local:aiserver.v1.CloudAgentRunEventCategory (var: jn)
enum CloudAgentRunEventCategory {
CLOUD_AGENT_RUN_EVENT_CATEGORY_UNSPECIFIED = 0;
CLOUD_AGENT_RUN_EVENT_CATEGORY_BUILD = 1;
CLOUD_AGENT_RUN_EVENT_CATEGORY_AGENT_SETUP = 2;
CLOUD_AGENT_RUN_EVENT_CATEGORY_AGENT_RUN = 3;
}
// Copied from: local:aiserver.v1.CloudAgentRunEventLogLevel (var: Xn)
enum CloudAgentRunEventLogLevel {
CLOUD_AGENT_RUN_EVENT_LOG_LEVEL_UNSPECIFIED = 0;
CLOUD_AGENT_RUN_EVENT_LOG_LEVEL_INFO = 1;
CLOUD_AGENT_RUN_EVENT_LOG_LEVEL_WARN = 2;
CLOUD_AGENT_RUN_EVENT_LOG_LEVEL_ERROR = 3;
}
// Copied from: local:aiserver.v1.CloudAgentRunsCursor (var: Zo)
message CloudAgentRunsCursor {
int64 created_at_ms = 1;
string bc_id = 2;
int64 id = 3;
}
// Copied from: local:aiserver.v1.CloudAgentSourceCategory (var: E)
enum CloudAgentSourceCategory {
CLOUD_AGENT_SOURCE_CATEGORY_UNSPECIFIED = 0;
CLOUD_AGENT_SOURCE_CATEGORY_DESKTOP = 1;
CLOUD_AGENT_SOURCE_CATEGORY_WEB = 2;
CLOUD_AGENT_SOURCE_CATEGORY_MOBILE = 3;
CLOUD_AGENT_SOURCE_CATEGORY_SLACK = 4;
CLOUD_AGENT_SOURCE_CATEGORY_LINEAR = 5;
CLOUD_AGENT_SOURCE_CATEGORY_SCM = 6;
CLOUD_AGENT_SOURCE_CATEGORY_CLI = 7;
CLOUD_AGENT_SOURCE_CATEGORY_SETUP = 8;
CLOUD_AGENT_SOURCE_CATEGORY_SDK = 9;
CLOUD_AGENT_SOURCE_CATEGORY_AUTOMATIONS = 10;
CLOUD_AGENT_SOURCE_CATEGORY_API = 11;
CLOUD_AGENT_SOURCE_CATEGORY_BUGBOT_AUTOFIX = 12;
CLOUD_AGENT_SOURCE_CATEGORY_QABOT_FRONTEND = 13;
CLOUD_AGENT_SOURCE_CATEGORY_LOCAL = 14;
CLOUD_AGENT_SOURCE_CATEGORY_INTERNAL = 15;
CLOUD_AGENT_SOURCE_CATEGORY_SAND = 16;
}
// Copied from: local:aiserver.v1.CloudAgentStartupWarning (var: Od)
message CloudAgentStartupWarning {
CloudAgentStartupWarningType warning_type = 1;
string user_facing_message = 2;
}
// Copied from: local:aiserver.v1.CloudAgentStartupWarningType (var: Ir)
enum CloudAgentStartupWarningType {
CLOUD_AGENT_STARTUP_WARNING_TYPE_UNSPECIFIED = 0;
CLOUD_AGENT_STARTUP_WARNING_TYPE_SNAPSHOT_EXPIRED = 1;
CLOUD_AGENT_STARTUP_WARNING_TYPE_SNAPSHOT_INVALID = 2;
CLOUD_AGENT_STARTUP_WARNING_TYPE_SNAPSHOT_NOT_FOUND_OR_NO_ACCESS = 3;
CLOUD_AGENT_STARTUP_WARNING_TYPE_SNAPSHOT_COPY_FAILED = 4;
}
// Copied from: local:aiserver.v1.CloudAgentState (var: _d)
message CloudAgentState {
ConversationStateStructure conversation_state = 1;
uint32 num_prior_interaction_updates = 2;
bytes pr_body = 3;
bytes summary = 4;
bytes branch_name = 5;
bytes pr_url = 6;
bytes agent_name = 8;
string last_interaction_update_offset_key = 7;
optional string starting_commit = 9;
optional string base_branch = 10;
bytes config = 11;
optional string local_state_branch = 12;
bytes original_prompt_blob_id = 13;
bytes repository_info_blob_id = 14;
bytes original_conversation_action_blob_id = 15;
bytes video_annotations_blob_id = 16;
optional string last_user_turn_commit = 17;
optional BackgroundComposerSource last_followup_source = 18;
optional bool continue_rebase = 19;
repeated string turn_start_todo_ids = 20;
optional int64 original_request_start_unix_ms = 21;
optional bool initial_turn_latency_reported = 22;
optional string agent_session_id = 23;
optional string kickoff_message_id = 24;
optional GrindModeConfig grind_mode_config = 25;
repeated BackgroundComposerCommit commits = 26;
optional int32 commit_count = 27;
optional CloudAgentErrorDetails user_facing_error_details = 28;
optional BackgroundComposerSource initial_source = 29;
uint32 num_completed_turns = 30;
optional SynthesisSubagentConfig synthesis_subagent_config = 31;
bytes start_request_blob_id = 32;
bytes commit_reminder_state_blob_id = 33;
bytes grind_mode_tracking_state_blob_id = 34;
bytes workflow_control_state_blob_id = 35;
repeated WorkerCreation worker_creations = 36;
optional bool is_time_limit_expired = 37;
bytes resolved_egress_policy_blob_id = 38;
optional OptimizedDiffState optimized_diff = 39;
bytes pending_pr_blob_id = 40;
optional bool is_pod_finalized = 41;
bytes next_turn_system_reminders_blob_id = 42;
bytes cloud_plugin_manifest_blob_id = 43;
map<string, OptimizedDiffState> per_branch_optimized_diffs = 44;
repeated CloudAgentStartupWarning startup_warnings = 45;
optional PrivateWorkspaceIdentifier private_workspace_identifier = 46;
optional bool uses_first_class_subagents = 48;
optional uint32 conversation_rewind_epoch = 49;
bytes pending_summarization_state_blob_id = 50;
bytes pending_summarization_snapshot_blob_id = 51;
bytes admitted_custom_mode_state_blob_id = 52;
optional bool agent_store_artifacts_symlink_enabled = 53;
optional ProjectDetails project_details = 54;
}
// Copied from: local:aiserver.v1.CloudAgentStatePersistedMetadata (var: Ad)
message CloudAgentStatePersistedMetadata {
// Copied from: local:aiserver.v1.CloudAgentStatePersistedMetadata.PersistedMetadataVersion (var: Yr)
enum PersistedMetadataVersion {
PERSISTED_METADATA_VERSION_UNSPECIFIED = 0;
PERSISTED_METADATA_VERSION_1 = 1;
}
bytes cloud_agent_state_blob_id = 1;
string offset_key = 2;
double timestamp_ms = 3;
CloudAgentWorkflowStatus workflow_status = 4;
PersistedMetadataVersion version = 5;
}
// Copied from: local:aiserver.v1.CloudAgentSyntheticsScenarioInput (var: tp)
message CloudAgentSyntheticsScenarioInput {
string name = 1;
string prompt = 2;
string model = 3;
string repo_url = 4;
string repo_ref = 5;
bool canary = 6;
uint32 max_duration_sec = 7;
}
// Copied from: local:aiserver.v1.CloudAgentTimingEvent (var: Cl)
message CloudAgentTimingEvent {
double timestamp_ms = 1;
CloudAgentTimingEventType event = 2;
optional uint32 turn_number = 3;
}
// Copied from: local:aiserver.v1.CloudAgentTimingEventType (var: sr)
enum CloudAgentTimingEventType {
CLOUD_AGENT_TIMING_EVENT_TYPE_UNSPECIFIED = 0;
CLOUD_AGENT_TIMING_EVENT_TYPE_REQUEST_RECEIVED = 1;
CLOUD_AGENT_TIMING_EVENT_TYPE_PREWARMED_POD_RECEIVED = 2;
CLOUD_AGENT_TIMING_EVENT_TYPE_POD_REQUESTED = 3;
CLOUD_AGENT_TIMING_EVENT_TYPE_POD_READY = 4;
CLOUD_AGENT_TIMING_EVENT_TYPE_FIRST_TOKEN = 5;
CLOUD_AGENT_TIMING_EVENT_TYPE_STALE_SNAPSHOT_USED = 6;
}
// Copied from: local:aiserver.v1.CloudAgentVmHistory (var: Kd)
message CloudAgentVmHistory {
repeated CloudAgentVmHistoryEntry entries = 1;
}
// Copied from: local:aiserver.v1.CloudAgentVmHistoryEntry (var: Wd)
message CloudAgentVmHistoryEntry {
int32 worker_index = 1;
bool is_current_worker = 2;
optional int64 environment_version_id = 3;
optional int64 replaced_at_unix_ms = 4;
oneof info {
CloudAgentAnyrunVmInfo anyrun = 5;
CloudAgentAnyrunPendingDockerBuildVmInfo anyrun_pending_docker_build = 6;
}
}
// Copied from: local:aiserver.v1.CloudAgentWorkflowControlState (var: Bd)
message CloudAgentWorkflowControlState {
repeated QueuedFollowup pending_followups = 1;
int32 followup_completion_count = 2;
bool running_desired = 3;
bool can_run_loop = 4;
repeated QueuedMakePRRequest pending_make_pr_requests = 5;
repeated QueuedOpenPRRequest pending_open_pr_requests = 6;
repeated string immediate_followup_ids = 7;
int64 last_updated_ms = 8;
repeated string completed_followup_ids = 9;
repeated ConversationAction skipped_input_actions = 10;
repeated CompletedMakePRRequest completed_make_pr_requests = 11;
repeated CompletedOpenPRRequest completed_open_pr_requests = 12;
optional PausedInteractionStep paused_interaction_step = 13;
repeated QueuedInteractionResponse pending_interaction_responses = 14;
repeated uint32 completed_interaction_query_ids = 15;
repeated PendingIdleFollowup pending_idle_followups = 16;
repeated ConversationActionReference skipped_input_action_refs = 17;
optional string last_completed_resubmit_followup_id = 18;
optional uint32 async_subagent_completion_epoch = 19;
repeated PendingContextInjection pending_context_injections = 20;
repeated string completed_injection_ids = 21;
repeated string completed_delivery_batch_ids = 22;
}
// Copied from: local:aiserver.v1.CloudAgentWorkflowStatus (var: Hn)
enum CloudAgentWorkflowStatus {
CLOUD_AGENT_WORKFLOW_STATUS_UNSPECIFIED = 0;
CLOUD_AGENT_WORKFLOW_STATUS_RUNNING = 1;
CLOUD_AGENT_WORKFLOW_STATUS_IDLE = 2;
CLOUD_AGENT_WORKFLOW_STATUS_ERROR = 3;
CLOUD_AGENT_WORKFLOW_STATUS_ARCHIVED = 4;
CLOUD_AGENT_WORKFLOW_STATUS_EXPIRED = 5;
CLOUD_AGENT_WORKFLOW_STATUS_NOT_YET_STARTED = 6;
CLOUD_AGENT_WORKFLOW_STATUS_WAITING_FOR_BACKGROUND_WORK = 7;
}
// Copied from: local:aiserver.v1.CloudSetupBlocker (var: ql)
message CloudSetupBlocker {
string id = 1;
string icon = 2;
CloudSetupBlockerAction action = 3;
string cta_label = 4;
string checklist_title = 7;
string checklist_description = 8;
}
// Copied from: local:aiserver.v1.CloudSetupBlockerAction (var: Fl)
message CloudSetupBlockerAction {
oneof action {
string url = 1;
google.protobuf.Empty open_privacy_settings = 2;
google.protobuf.Empty open_github_connect = 3;
google.protobuf.Empty open_repo_picker = 4;
}
}
// Copied from: local:aiserver.v1.CloudSubagentParentAgentType (var: $n)
enum CloudSubagentParentAgentType {
CLOUD_SUBAGENT_PARENT_AGENT_TYPE_UNSPECIFIED = 0;
CLOUD_SUBAGENT_PARENT_AGENT_TYPE_LOCAL = 1;
CLOUD_SUBAGENT_PARENT_AGENT_TYPE_CLOUD = 2;
}
// Copied from: local:aiserver.v1.CloudSubagentParentReference (var: ji)
message CloudSubagentParentReference {
string parent_agent_id = 1;
string parent_tool_call_id = 2;
CloudSubagentParentAgentType parent_agent_type = 3;
optional string subagent_type_name = 5;
optional CloudSubagentParentSpawnKind parent_spawn_kind = 6;
optional string parent_spawn_id = 7;
oneof lineage {
CloudSubagentTaskLineage task = 8;
CloudSubagentSubscriptionResourceLineage subscription_resource = 9;
}
}
// Copied from: local:aiserver.v1.CloudSubagentParentSpawnKind (var: er)
enum CloudSubagentParentSpawnKind {
CLOUD_SUBAGENT_PARENT_SPAWN_KIND_UNSPECIFIED = 0;
CLOUD_SUBAGENT_PARENT_SPAWN_KIND_TASK = 1;
CLOUD_SUBAGENT_PARENT_SPAWN_KIND_EVENT_SUBSCRIPTION = 2;
}
// Copied from: agent.v1.CloudSubagentReference (var: sa)
message CloudSubagentReference {
string bc_id = 1;
optional string transcript_path = 2;
}
// Copied from: local:aiserver.v1.CloudSubagentSubscriptionResourceLineage (var: zi)
message CloudSubagentSubscriptionResourceLineage {
string route_id = 1;
string route_kind = 2;
}
// Copied from: local:aiserver.v1.CloudSubagentTaskLineage (var: Wi)
message CloudSubagentTaskLineage {
string parent_tool_call_id = 1;
}
// Copied from: local:aiserver.v1.CmdKDebugInfo (var: R)
message CmdKDebugInfo {
// Copied from: local:aiserver.v1.CmdKDebugInfo.CppFileDiffHistory (var: M)
message CppFileDiffHistory {
string file_name = 1;
repeated string diff_history = 2;
}
// Copied from: local:aiserver.v1.CmdKDebugInfo.OpenEditor (var: b)
message OpenEditor {
string relative_workspace_path = 1;
int32 editor_group_index = 2;
int32 editor_group_id = 3;
bool is_active = 4;
}
// Copied from: local:aiserver.v1.CmdKDebugInfo.PastThought (var: L)
message PastThought {
string text = 1;
double time_in_unix_seconds = 2;
}
// Copied from: local:aiserver.v1.CmdKDebugInfo.UnsavedFiles (var: P)
message UnsavedFiles {
string relative_workspace_path = 1;
string contents = 2;
}
string remote_url = 1;
string commit_id = 2;
string git_patch = 3;
repeated UnsavedFiles unsaved_files = 4;
double unix_timestamp_ms = 5;
repeated OpenEditor open_editors = 6;
repeated CppFileDiffHistory file_diff_histories = 7;
string branch_name = 8;
string branch_notes = 9;
string branch_notes_rich = 12;
string global_notes = 10;
repeated PastThought past_thoughts = 11;
string base_branch_name = 13;
string base_branch_commit_id = 14;
}
// Copied from: local:aiserver.v1.CmdKEvent (var: xe)
message CmdKEvent {
// Copied from: local:aiserver.v1.CmdKEvent.AcceptDiffs (var: Ve)
message AcceptDiffs {
}
// Copied from: local:aiserver.v1.CmdKEvent.AcceptPartialDiff (var: Ke)
message AcceptPartialDiff {
IRange green_range = 1;
repeated string green_lines = 2;
repeated string red_lines = 3;
}
// Copied from: local:aiserver.v1.CmdKEvent.AfterReject (var: ze)
message AfterReject {
}
// Copied from: local:aiserver.v1.CmdKEvent.EndOfGeneration (var: Ge)
message EndOfGeneration {
}
// Copied from: local:aiserver.v1.CmdKEvent.InterruptGeneration (var: He)
message InterruptGeneration {
}
// Copied from: local:aiserver.v1.CmdKEvent.RejectDiffs (var: Ye)
message RejectDiffs {
optional string actor_request_id = 1;
optional bool silent = 2;
}
// Copied from: local:aiserver.v1.CmdKEvent.RejectPartialDiff (var: We)
message RejectPartialDiff {
IRange green_range = 1;
repeated string green_lines = 2;
repeated string red_lines = 3;
}
// Copied from: local:aiserver.v1.CmdKEvent.SubmitPrompt (var: Qe)
message SubmitPrompt {
IRange original_range = 1;
string original_text = 2;
string prompt = 3;
}
PointInTimeModel point_in_time_model = 1;
string request_id = 2;
optional string prompt_bar_id = 20;
oneof event_type {
SubmitPrompt submit_prompt = 3;
EndOfGeneration end_of_generation = 4;
InterruptGeneration interrupt_generation = 5;
AcceptDiffs accept_all = 6;
RejectDiffs reject_all = 7;
RejectPartialDiff reject_partial_diff = 8;
AcceptPartialDiff accept_partial_diff = 9;
AfterReject after_reject = 10;
}
}
// Copied from: local:aiserver.v1.CmdKExternalLink (var: Me)
message CmdKExternalLink {
string url = 1;
string uuid = 2;
}
// Copied from: local:aiserver.v1.CmdKLegacyContext (var: w)
message CmdKLegacyContext {
ExplicitContext explicit_context = 4;
repeated CodeBlock prompt_code_blocks = 12;
repeated string documentation_identifiers = 10;
}
// Copied from: local:aiserver.v1.CmdKOptions (var: p)
message CmdKOptions {
ModelDetails model_details = 3;
bool chat_mode = 1;
bool ada_cmd_k_context = 2;
optional bool use_reranker = 4;
optional bool use_web = 5;
optional bool request_is_for_caching = 6;
}
// Copied from: local:aiserver.v1.CmdKPreviousEdit (var: g)
message CmdKPreviousEdit {
repeated string original_lines = 1;
repeated string new_lines = 2;
string relative_path = 3;
repeated string extra_context_above = 4;
repeated string extra_context_below = 5;
}
// Copied from: local:aiserver.v1.CmdKUpcomingEdit (var: f)
message CmdKUpcomingEdit {
repeated string original_lines = 1;
string relative_path = 3;
repeated string extra_context_above = 4;
repeated string extra_context_below = 5;
}
// Copied from: local:aiserver.v1.CodeBlock (var: O)
message CodeBlock {
// Copied from: local:aiserver.v1.CodeBlock.Signatures (var: U)
message Signatures {
repeated CursorRange ranges = 1;
}
string relative_workspace_path = 1;
optional string file_contents = 2;
optional int32 file_contents_length = 9;
CursorRange range = 3;
string contents = 4;
Signatures signatures = 5;
optional string override_contents = 6;
optional string original_contents = 7;
repeated DetailedLine detailed_lines = 8;
FileGit file_git_context = 10;
}
// Copied from: local:aiserver.v1.CodeChunk (var: Qe)
message CodeChunk {
// Copied from: local:aiserver.v1.CodeChunk.Intent (var: d)
enum Intent {
INTENT_UNSPECIFIED = 0;
INTENT_COMPOSER_FILE = 1;
INTENT_COMPRESSED_COMPOSER_FILE = 2;
}
// Copied from: local:aiserver.v1.CodeChunk.SummarizationStrategy (var: p)
enum SummarizationStrategy {
SUMMARIZATION_STRATEGY_NONE_UNSPECIFIED = 0;
SUMMARIZATION_STRATEGY_SUMMARIZED = 1;
SUMMARIZATION_STRATEGY_EMBEDDED = 2;
}
string relative_workspace_path = 1;
int32 start_line_number = 2;
repeated string lines = 3;
optional SummarizationStrategy summarization_strategy = 4;
string language_identifier = 5;
optional Intent intent = 6;
optional bool is_final_version = 7;
optional bool is_first_version = 8;
}
// Copied from: local:aiserver.v1.CodeChunkContextInclusionInfo (var: Sn)
message CodeChunkContextInclusionInfo {
// Copied from: local:aiserver.v1.CodeChunkContextInclusionInfo.InclusionType (var: H)
enum InclusionType {
INCLUSION_TYPE_UNSPECIFIED = 0;
INCLUSION_TYPE_FULL = 1;
INCLUSION_TYPE_OUTLINE = 2;
INCLUSION_TYPE_FILENAME = 3;
}
// Copied from: local:aiserver.v1.CodeChunkContextInclusionInfo.Intent (var: V)
enum Intent {
INTENT_UNSPECIFIED = 0;
INTENT_FILE = 1;
INTENT_SELECTION = 2;
}
// Copied from: local:aiserver.v1.CodeChunkContextInclusionInfo.TokenCount (var: In)
message TokenCount {
bool is_too_large_to_count = 1;
int32 num_tokens = 2;
}
string relative_workspace_path = 1;
int32 start_line_number = 2;
int32 end_line_number_inclusive = 3;
InclusionType inclusion_type = 4;
int32 full_file_token_count = 5;
int32 prompt_token_count = 6;
TokenCount full_file_tokens_count = 11;
optional string exclusion_tooltip = 7;
Intent intent = 8;
bool chunk_is_from_last_user_message = 9;
bool is_compressed = 10;
}
// Copied from: local:aiserver.v1.CodeChunkContextInclusionInfoV2 (var: kn)
message CodeChunkContextInclusionInfoV2 {
// Copied from: local:aiserver.v1.CodeChunkContextInclusionInfoV2.InclusionType (var: G)
enum InclusionType {
INCLUSION_TYPE_UNSPECIFIED = 0;
INCLUSION_TYPE_FULL = 1;
INCLUSION_TYPE_OUTLINE = 2;
INCLUSION_TYPE_FILENAME = 3;
}
// Copied from: local:aiserver.v1.CodeChunkContextInclusionInfoV2.Intent (var: Q)
enum Intent {
INTENT_UNSPECIFIED = 0;
INTENT_FILE = 1;
INTENT_SELECTION = 2;
}
string relative_workspace_path = 1;
int32 start_line_number = 2;
int32 end_line_number_inclusive = 3;
Intent intent = 4;
InclusionType inclusion_type = 10;
optional string tooltip_text = 6;
optional bool pill_is_dashed = 9;
optional string pill_sub_codicon_name = 8;
optional string detail_text = 5;
optional string codicon_name = 7;
}
// Copied from: local:aiserver.v1.CodeResult (var: et)
message CodeResult {
CodeBlock code_block = 1;
float score = 2;
}
// Copied from: local:aiserver.v1.CodeResultWithClassificationInfo (var: st)
message CodeResultWithClassificationInfo {
// Copied from: local:aiserver.v1.CodeResultWithClassificationInfo.LineNumberClassification (var: ot)
message LineNumberClassification {
DetailedLine detailed_line = 1;
string query_computed_for = 2;
repeated string matched_strings = 3;
SimpleRange highlight_range = 4;
}
CodeResult code_result = 1;
optional LineNumberClassification line_number_classification = 2;
}
// Copied from: local:aiserver.v1.CodeSearchResult (var: yr)
message CodeSearchResult {
repeated CodeResult results = 1;
repeated File all_files = 2;
}
// Copied from: local:aiserver.v1.CodeSnippet (var: K)
message CodeSnippet {
int32 start_line_number = 1;
int32 end_line_number = 2;
repeated string lines = 3;
}
// Copied from: local:aiserver.v1.CodeSymbolWithAction (var: W)
message CodeSymbolWithAction {
// Copied from: local:aiserver.v1.CodeSymbolWithAction.CodeSymbolAction (var: r)
enum CodeSymbolAction {
CODE_SYMBOL_ACTION_UNSPECIFIED = 0;
CODE_SYMBOL_ACTION_GO_TO_DEFINITION = 1;
CODE_SYMBOL_ACTION_GO_TO_IMPLEMENTATION = 2;
CODE_SYMBOL_ACTION_REFERENCES = 3;
}
string workspace_relative_path = 1;
int32 line_number = 2;
int32 symbol_start_column = 3;
int32 symbol_end_column = 4;
CodeSymbolAction action = 5;
string symbol = 6;
}
// Copied from: local:aiserver.v1.CodeTourDoneReason (var: r)
enum CodeTourDoneReason {
CODE_TOUR_DONE_REASON_UNSPECIFIED = 0;
CODE_TOUR_DONE_REASON_OK = 1;
CODE_TOUR_DONE_REASON_INVALID_REQUEST = 2;
CODE_TOUR_DONE_REASON_DIFF_TOO_LONG = 3;
CODE_TOUR_DONE_REASON_ERROR = 4;
CODE_TOUR_DONE_REASON_CANCELLED = 5;
}
// Copied from: local:aiserver.v1.CodebaseTelemetryConfig (var: et)
message CodebaseTelemetryConfig {
bool enabled = 1;
string reset_token = 2;
}
// Copied from: agent.v1.CommandClassifierResult (var: A)
message CommandClassifierResult {
// Copied from: agent.v1.CommandClassifierResult.ClassifiedCommand (var: _)
message ClassifiedCommand {
string name = 1;
repeated string arguments = 2;
optional string suggested_allowlist_entry = 3;
repeated string subcommand_tokens = 4;
}
// Copied from: agent.v1.CommandClassifierResult.SuggestedSandboxMode (var: a)
enum SuggestedSandboxMode {
SUGGESTED_SANDBOX_MODE_UNSPECIFIED = 0;
SUGGESTED_SANDBOX_MODE_SANDBOX = 1;
SUGGESTED_SANDBOX_MODE_NO_SANDBOX = 2;
SUGGESTED_SANDBOX_MODE_UNDETERMINED = 3;
}
repeated ClassifiedCommand commands = 1;
SuggestedSandboxMode suggested_sandbox_mode = 2;
bool classification_failed = 3;
}
// Copied from: local:aiserver.v1.CommandDeeplinkControls (var: fc)
message CommandDeeplinkControls {
bool enabled = 1;
}
// Copied from: local:aiserver.v1.CommandDescriptor (var: fE)
message CommandDescriptor {
string name = 1;
optional string description = 2;
optional string source_path = 3;
optional string source_url = 4;
}
// Copied from: local:aiserver.v1.Commit (var: dn)
message Commit {
string sha = 1;
string message = 2;
string description = 3;
repeated FileDiff diff = 4;
string author = 5;
string date = 6;
}
// Copied from: local:aiserver.v1.CommitBackgroundComposerRequest (var: ou)
message CommitBackgroundComposerRequest {
string bc_id = 1;
string commit_message = 2;
}
// Copied from: local:aiserver.v1.CommitBackgroundComposerResponse (var: iu)
message CommitBackgroundComposerResponse {
string commit_hash = 1;
}
// Copied from: local:aiserver.v1.CommitDiffString (var: qe)
message CommitDiffString {
string diff = 1;
}
// Copied from: local:aiserver.v1.CommitLineRange (var: Hl)
message CommitLineRange {
int32 start = 1;
int32 end = 2;
optional int32 absolute_start = 3;
optional int32 absolute_end = 4;
}
// Copied from: local:aiserver.v1.CommitMetrics (var: B)
message CommitMetrics {
string commit_hash = 1;
int32 total_lines_added = 2;
int32 total_lines_deleted = 3;
int32 tab_lines_added = 4;
int32 tab_lines_deleted = 5;
int32 agent_lines_added = 6;
int32 agent_lines_deleted = 7;
int32 non_ai_lines_added = 8;
int32 non_ai_lines_deleted = 9;
optional string branch_name = 10;
optional bool is_primary_branch = 11;
string repo_name = 12;
optional string message = 13;
optional google.protobuf.Timestamp commit_timestamp = 14;
string user_email = 16;
repeated FileRangeAnnotations range_annotations = 19;
optional string commit_source = 20;
}
// Copied from: local:aiserver.v1.CommitNote (var: Le)
message CommitNote {
string note = 1;
string commit_hash = 2;
}
// Copied from: local:aiserver.v1.CommitNoteWithEmbeddings (var: Fe)
message CommitNoteWithEmbeddings {
string note = 1;
string commit_hash = 2;
repeated double embeddings = 3;
}
// Copied from: agent.v1.CommunicateUpdateHistoryEntry (var: ta)
message CommunicateUpdateHistoryEntry {
string step = 1;
uint32 message_index = 3;
}
// Copied from: agent.v1.CommunicateUpdateTurnState (var: na)
message CommunicateUpdateTurnState {
repeated CommunicateUpdateHistoryEntry history = 1;
optional string final_summary = 2;
optional string completed_subtitle = 3;
}
// Copied from: local:aiserver.v1.CompleteAgentStoreMultipartWritesRequest (var: bf)
message CompleteAgentStoreMultipartWritesRequest {
string store_id = 1;
repeated AgentStoreMultipartWriteCompletion completions = 2;
}
// Copied from: local:aiserver.v1.CompleteAgentStoreMultipartWritesResponse (var: qf)
message CompleteAgentStoreMultipartWritesResponse {
repeated AgentStoreMultipartWriteResult results = 1;
}
// Copied from: local:aiserver.v1.CompleteGithubConnectFlowRequest (var: jt)
message CompleteGithubConnectFlowRequest {
string state = 1;
string verifier = 2;
string code = 3;
string installation_id = 4;
string setup_action = 5;
optional string ghe_application = 6;
}
// Copied from: local:aiserver.v1.CompleteGithubConnectFlowResponse (var: Xt)
message CompleteGithubConnectFlowResponse {
// Copied from: local:aiserver.v1.CompleteGithubConnectFlowResponse.Outcome (var: Bt)
enum Outcome {
OUTCOME_UNSPECIFIED = 0;
OUTCOME_CONNECTED = 1;
OUTCOME_PENDING_APPROVAL = 2;
OUTCOME_NEEDS_CONFIRMATION = 3;
}
Outcome outcome = 1;
string installation_id = 2;
string confirmation_code = 3;
string github_login = 4;
}
// Copied from: local:aiserver.v1.CompleteMcpOAuthRequest (var: Bi)
message CompleteMcpOAuthRequest {
string state_id = 1;
string authorization_code = 2;
}
// Copied from: local:aiserver.v1.CompleteMcpOAuthResponse (var: Ji)
message CompleteMcpOAuthResponse {
string post_auth_return_url = 1;
string account_key = 2;
}
// Copied from: local:aiserver.v1.CompletedLinkSlackAccountRequest (var: gT)
message CompletedLinkSlackAccountRequest {
string slack_team_id = 1;
string slack_user_id = 2;
bool setup_prerequisites_complete = 3;
}
// Copied from: local:aiserver.v1.CompletedLinkSlackAccountResponse (var: hT)
message CompletedLinkSlackAccountResponse {
}
// Copied from: local:aiserver.v1.CompletedMakePRRequest (var: Cd)
message CompletedMakePRRequest {
string request_id = 1;
int64 completed_at_ms = 2;
optional MakePRBackgroundComposerResponse response = 3;
optional string error_message = 4;
optional string error_code = 5;
}
// Copied from: local:aiserver.v1.CompletedOpenPRRequest (var: Nd)
message CompletedOpenPRRequest {
string request_id = 1;
int64 completed_at_ms = 2;
optional OpenPRBackgroundComposerResponse response = 3;
optional string error_message = 4;
optional string error_code = 5;
}
// Copied from: local:aiserver.v1.ComposerAutocompleteContext (var: Re)
message ComposerAutocompleteContext {
optional CurrentFileContext current_file = 1;
repeated CachedFileContext cached_files = 2;
repeated ConversationMessage conversation_messages = 3;
optional string visible_viewport_text = 4;
repeated string first_user_messages = 5;
}
// Copied from: local:aiserver.v1.ComposerCapabilityContext (var: J)
message ComposerCapabilityContext {
// Copied from: local:aiserver.v1.ComposerCapabilityContext.GithubPRContext (var: R)
message GithubPRContext {
string title = 1;
string description = 2;
string comments = 3;
optional string ci_failures = 4;
}
// Copied from: local:aiserver.v1.ComposerCapabilityContext.MicrosoftTeamsIntegrationContext (var: N)
message MicrosoftTeamsIntegrationContext {
string thread = 1;
optional string channel_name = 2;
optional string team_name = 3;
optional string channel_description = 4;
optional string team_description = 5;
}
// Copied from: local:aiserver.v1.ComposerCapabilityContext.SlackIntegrationContext (var: C)
message SlackIntegrationContext {
string thread = 1;
optional string channel_name = 2;
optional string channel_purpose = 3;
optional string channel_topic = 4;
optional string sender_name = 5;
optional string sender_id = 6;
optional string sender_type = 7;
optional bool is_directly_addressed = 8;
}
oneof data {
SlackIntegrationContext slack_integration = 27;
GithubPRContext github_pr = 28;
MicrosoftTeamsIntegrationContext microsoft_teams_integration = 29;
}
}
// Copied from: local:aiserver.v1.ComposerCapabilityRequest (var: m)
message ComposerCapabilityRequest {
// Copied from: local:aiserver.v1.ComposerCapabilityRequest.AutoContextCapability (var: S)
message AutoContextCapability {
optional string custom_instructions = 1;
repeated string additional_files = 2;
}
// Copied from: local:aiserver.v1.ComposerCapabilityRequest.ComposerCapabilityType (var: r)
enum ComposerCapabilityType {
COMPOSER_CAPABILITY_TYPE_UNSPECIFIED = 0;
COMPOSER_CAPABILITY_TYPE_LOOP_ON_LINTS = 1;
COMPOSER_CAPABILITY_TYPE_LOOP_ON_TESTS = 2;
COMPOSER_CAPABILITY_TYPE_MEGA_PLANNER = 3;
COMPOSER_CAPABILITY_TYPE_LOOP_ON_COMMAND = 4;
COMPOSER_CAPABILITY_TYPE_TOOL_CALL = 5;
COMPOSER_CAPABILITY_TYPE_DIFF_REVIEW = 6;
COMPOSER_CAPABILITY_TYPE_CONTEXT_PICKING = 7;
COMPOSER_CAPABILITY_TYPE_EDIT_TRAIL = 8;
COMPOSER_CAPABILITY_TYPE_AUTO_CONTEXT = 9;
COMPOSER_CAPABILITY_TYPE_CONTEXT_PLANNER = 10;
COMPOSER_CAPABILITY_TYPE_DIFF_HISTORY = 11;
COMPOSER_CAPABILITY_TYPE_REMEMBER_THIS = 12;
COMPOSER_CAPABILITY_TYPE_DECOMPOSER = 13;
COMPOSER_CAPABILITY_TYPE_USES_CODEBASE = 14;
COMPOSER_CAPABILITY_TYPE_TOOL_FORMER = 15;
COMPOSER_CAPABILITY_TYPE_CURSOR_RULES = 16;
COMPOSER_CAPABILITY_TYPE_TOKEN_COUNTER = 17;
COMPOSER_CAPABILITY_TYPE_USAGE_DATA = 18;
COMPOSER_CAPABILITY_TYPE_CHIMES = 19;
COMPOSER_CAPABILITY_TYPE_CODE_DECAY_TRACKER = 20;
COMPOSER_CAPABILITY_TYPE_BACKGROUND_COMPOSER = 21;
COMPOSER_CAPABILITY_TYPE_SUMMARIZATION = 22;
COMPOSER_CAPABILITY_TYPE_AI_CODE_TRACKING = 23;
COMPOSER_CAPABILITY_TYPE_QUEUING = 24;
COMPOSER_CAPABILITY_TYPE_MEMORIES = 25;
COMPOSER_CAPABILITY_TYPE_RCP_LOGS = 26;
COMPOSER_CAPABILITY_TYPE_KNOWLEDGE_FETCH = 27;
COMPOSER_CAPABILITY_TYPE_SLACK_INTEGRATION = 28;
COMPOSER_CAPABILITY_TYPE_SUB_COMPOSER = 29;
COMPOSER_CAPABILITY_TYPE_THINKING = 30;
COMPOSER_CAPABILITY_TYPE_CONTEXT_WINDOW = 31;
COMPOSER_CAPABILITY_TYPE_ONLINE_METRICS = 32;
COMPOSER_CAPABILITY_TYPE_NOTIFICATIONS = 33;
COMPOSER_CAPABILITY_TYPE_SPEC = 34;
COMPOSER_CAPABILITY_TYPE_BROWSER_AGENT = 35;
}
// Copied from: local:aiserver.v1.ComposerCapabilityRequest.ContextPickingCapability (var: w)
message ContextPickingCapability {
optional string custom_instructions = 1;
repeated string potential_context_files = 2;
repeated CodeChunk potential_context_code_chunks = 3;
repeated string files_in_context = 4;
}
// Copied from: local:aiserver.v1.ComposerCapabilityRequest.ContextPlannerCapability (var: I)
message ContextPlannerCapability {
optional string custom_instructions = 1;
repeated CodeChunk attached_code_chunks = 2;
}
// Copied from: local:aiserver.v1.ComposerCapabilityRequest.CursorRulesCapability (var: B)
message CursorRulesCapability {
optional string custom_instructions = 1;
}
// Copied from: local:aiserver.v1.ComposerCapabilityRequest.DecomposerCapability (var: k)
message DecomposerCapability {
optional string custom_instructions = 1;
}
// Copied from: local:aiserver.v1.ComposerCapabilityRequest.DiffReviewCapability (var: _)
message DiffReviewCapability {
// Copied from: local:aiserver.v1.ComposerCapabilityRequest.DiffReviewCapability.SimpleFileDiff (var: T)
message SimpleFileDiff {
// Copied from: local:aiserver.v1.ComposerCapabilityRequest.DiffReviewCapability.SimpleFileDiff.Chunk (var: y)
message Chunk {
repeated string old_lines = 1;
repeated string new_lines = 2;
LineRange old_range = 3;
LineRange new_range = 4;
}
string relative_workspace_path = 1;
repeated Chunk chunks = 3;
}
optional string custom_instructions = 1;
repeated SimpleFileDiff diffs = 2;
}
// Copied from: local:aiserver.v1.ComposerCapabilityRequest.EditTrailCapability (var: E)
message EditTrailCapability {
optional string custom_instructions = 1;
}
// Copied from: local:aiserver.v1.ComposerCapabilityRequest.LoopOnCommandCapability (var: h)
message LoopOnCommandCapability {
string command = 1;
optional string custom_instructions = 2;
optional string output = 3;
optional int32 exit_code = 4;
}
// Copied from: local:aiserver.v1.ComposerCapabilityRequest.LoopOnLintsCapability (var: p)
message LoopOnLintsCapability {
repeated LinterErrors linter_errors = 1;
optional string custom_instructions = 2;
}
// Copied from: local:aiserver.v1.ComposerCapabilityRequest.LoopOnTestsCapability (var: f)
message LoopOnTestsCapability {
repeated string test_names = 1;
optional string custom_instructions = 2;
}
// Copied from: local:aiserver.v1.ComposerCapabilityRequest.MegaPlannerCapability (var: g)
message MegaPlannerCapability {
optional string custom_instructions = 1;
}
// Copied from: local:aiserver.v1.ComposerCapabilityRequest.RememberThisCapability (var: v)
message RememberThisCapability {
optional string custom_instructions = 1;
string memory = 2;
}
// Copied from: local:aiserver.v1.ComposerCapabilityRequest.SchemaProperty (var: d)
message SchemaProperty {
string type = 1;
optional string description = 2;
}
// Copied from: local:aiserver.v1.ComposerCapabilityRequest.ToolCallCapability (var: A)
message ToolCallCapability {
optional string custom_instructions = 1;
repeated ComposerCapabilityRequest.ToolSchema tool_schemas = 2;
repeated string relevant_files = 3;
repeated string files_in_context = 4;
repeated string semantic_search_files = 5;
}
// Copied from: local:aiserver.v1.ComposerCapabilityRequest.ToolSchema (var: c)
message ToolSchema {
ComposerCapabilityRequest.ToolType type = 1;
string name = 2;
map<string, ComposerCapabilityRequest.SchemaProperty> properties = 3;
repeated string required = 4;
}
// Copied from: local:aiserver.v1.ComposerCapabilityRequest.ToolType (var: s)
enum ToolType {
TOOL_TYPE_UNSPECIFIED = 0;
TOOL_TYPE_ADD_FILE_TO_CONTEXT = 1;
TOOL_TYPE_ITERATE = 3;
TOOL_TYPE_REMOVE_FILE_FROM_CONTEXT = 4;
TOOL_TYPE_SEMANTIC_SEARCH_CODEBASE = 5;
}
ComposerCapabilityType type = 1;
oneof data {
LoopOnLintsCapability loop_on_lints = 2;
LoopOnTestsCapability loop_on_tests = 3;
MegaPlannerCapability mega_planner = 4;
LoopOnCommandCapability loop_on_command = 5;
ToolCallCapability tool_call = 6;
DiffReviewCapability diff_review = 7;
ContextPickingCapability context_picking = 8;
EditTrailCapability edit_trail = 9;
AutoContextCapability auto_context = 10;
ContextPlannerCapability context_planner = 11;
RememberThisCapability remember_this = 12;
DecomposerCapability decomposer = 13;
CursorRulesCapability cursor_rules = 14;
}
}
// Copied from: local:aiserver.v1.ComposerEnhancerClientMessage (var: Xa)
message ComposerEnhancerClientMessage {
oneof message {
ComposerEnhancerRequest request = 1;
ComposerEnhancerToolResult tool_result = 2;
}
}
// Copied from: local:aiserver.v1.ComposerEnhancerRequest (var: $a)
message ComposerEnhancerRequest {
string input_text = 1;
optional string composer_id = 2;
}
// Copied from: local:aiserver.v1.ComposerEnhancerResponse (var: el)
message ComposerEnhancerResponse {
string improved_text = 1;
bool is_final = 2;
}
// Copied from: local:aiserver.v1.ComposerEnhancerServerMessage (var: Za)
message ComposerEnhancerServerMessage {
oneof message {
ComposerEnhancerResponse response = 1;
ComposerEnhancerToolCall tool_call = 2;
}
}
// Copied from: local:aiserver.v1.ComposerEnhancerToolCall (var: tl)
message ComposerEnhancerToolCall {
string tool_call_id = 1;
string tool_name = 2;
string tool_args = 3;
int32 tool_index = 4;
}
// Copied from: local:aiserver.v1.ComposerEnhancerToolResult (var: nl)
message ComposerEnhancerToolResult {
string tool_call_id = 1;
string result = 2;
bool is_error = 3;
}
// Copied from: local:aiserver.v1.ComposerExternalLink (var: be)
message ComposerExternalLink {
string url = 1;
string uuid = 2;
optional string pdf_content = 3;
optional bool is_pdf = 4;
optional string filename = 5;
}
// Copied from: local:aiserver.v1.ComposerFileDiff (var: An)
message ComposerFileDiff {
// Copied from: local:aiserver.v1.ComposerFileDiff.ChunkDiff (var: _n)
message ChunkDiff {
string diff_string = 1;
int32 old_start = 2;
int32 new_start = 3;
int32 old_lines = 4;
int32 new_lines = 5;
int32 lines_removed = 6;
int32 lines_added = 7;
}
// Copied from: local:aiserver.v1.ComposerFileDiff.Editor (var: x)
enum Editor {
EDITOR_UNSPECIFIED = 0;
EDITOR_AI = 1;
EDITOR_HUMAN = 2;
}
repeated ChunkDiff chunks = 1;
Editor editor = 2;
bool hit_timeout = 3;
}
// Copied from: local:aiserver.v1.ComposerFileDiffHistory (var: et)
message ComposerFileDiffHistory {
string file_name = 1;
repeated string diff_history = 2;
repeated double diff_history_timestamps = 3;
}
// Copied from: local:aiserver.v1.ComputeIndexTopoSortRequest (var: k)
message ComputeIndexTopoSortRequest {
string index_id = 1;
}
// Copied from: local:aiserver.v1.ComputeIndexTopoSortResponse (var: w)
message ComputeIndexTopoSortResponse {
}
// Copied from: local:aiserver.v1.ComputeLinesDiffOriginalAndModified (var: I)
message ComputeLinesDiffOriginalAndModified {
repeated string original = 1;
repeated string modified = 2;
}
// Copied from: agent.v1.ComputerUseAction (var: l)
message ComputerUseAction {
oneof action {
MouseMoveAction mouse_move = 1;
ClickAction click = 2;
MouseDownAction mouse_down = 3;
MouseUpAction mouse_up = 4;
DragAction drag = 5;
ScrollAction scroll = 6;
TypeAction type = 7;
KeyAction key = 8;
WaitAction wait = 9;
ScreenshotAction screenshot = 10;
CursorPositionAction cursor_position = 11;
}
}
// Copied from: agent.v1.ComputerUseArgs (var: a)
message ComputerUseArgs {
string tool_call_id = 1;
repeated ComputerUseAction actions = 2;
optional string description = 3;
}
// Copied from: agent.v1.ComputerUseError (var: w)
message ComputerUseError {
string error = 1;
int32 action_count = 2;
int32 duration_ms = 3;
optional string log = 4;
optional string screenshot = 5;
optional string screenshot_path = 6;
}
// Copied from: local:aiserver.v1.ComputerUseParams (var: qs)
message ComputerUseParams {
repeated ComputerUseAction actions = 1;
}
// Copied from: local:aiserver.v1.ComputerUseResult (var: Ds)
message ComputerUseResult {
oneof result {
ComputerUseSuccess success = 1;
ComputerUseError error = 2;
}
}
// Copied from: local:aiserver.v1.ComputerUseStream (var: Os)
message ComputerUseStream {
ComputerUseParams params = 1;
}
// Copied from: agent.v1.ComputerUseSuccess (var: k)
message ComputerUseSuccess {
int32 action_count = 1;
int32 duration_ms = 2;
optional string screenshot = 3;
optional string log = 4;
optional string screenshot_path = 5;
optional Coordinate cursor_position = 6;
}
// Copied from: local:aiserver.v1.ConfigureSpendLimitAction (var: Be)
message ConfigureSpendLimitAction {
string confirm_label = 1;
}
// Copied from: local:aiserver.v1.ConfirmGithubInstallationRequest (var: Pn)
message ConfirmGithubInstallationRequest {
string installation_id = 1;
string confirmation_code = 2;
}
// Copied from: local:aiserver.v1.ConfirmGithubInstallationResponse (var: bn)
message ConfirmGithubInstallationResponse {
}
// Copied from: local:aiserver.v1.ConflictedUser (var: L_)
message ConflictedUser {
int32 user_id = 1;
string email = 2;
string name = 3;
int32 current_group_id = 4;
string current_group_name = 5;
bool is_current_group_scim = 6;
}
// Copied from: local:aiserver.v1.ConnectGithubCallbackRequest (var: Yt)
message ConnectGithubCallbackRequest {
// Copied from: local:aiserver.v1.ConnectGithubCallbackRequest.Source (var: It)
enum Source {
SOURCE_UNSPECIFIED = 0;
SOURCE_APP = 1;
SOURCE_SLACK = 2;
}
string code = 1;
string installation_id = 2;
string setup_action = 3;
string cursor_code = 4;
Source source = 5;
optional string ghe_application = 7;
}
// Copied from: local:aiserver.v1.ConnectGithubCallbackResponse (var: Kt)
message ConnectGithubCallbackResponse {
bool need_confirmation = 1;
string installation_id = 2;
string confirmation_code = 3;
string github_login = 4;
bool pending_approval = 5;
string github_user_node_id = 6;
string github_user_database_id = 7;
string github_name = 8;
string github_avatar_url = 9;
}
// Copied from: local:aiserver.v1.ConnectGoogleContactImportCallbackRequest (var: cl)
message ConnectGoogleContactImportCallbackRequest {
string code = 1;
string state = 2;
}
// Copied from: local:aiserver.v1.ConnectGoogleContactImportCallbackResponse (var: dl)
message ConnectGoogleContactImportCallbackResponse {
int64 connection_id = 1;
int64 sync_run_id = 2;
int32 total_contacts = 3;
}
// Copied from: local:aiserver.v1.ConnectLinearCallbackRequest (var: Hh)
message ConnectLinearCallbackRequest {
string code = 1;
string state = 2;
}
// Copied from: local:aiserver.v1.ConnectLinearCallbackResponse (var: Vh)
message ConnectLinearCallbackResponse {
string success_type = 1;
}
// Copied from: local:aiserver.v1.ConnectPagerDutyCallbackRequest (var: yA)
message ConnectPagerDutyCallbackRequest {
string code = 1;
string state = 2;
}
// Copied from: local:aiserver.v1.ConnectPagerDutyCallbackResponse (var: kA)
message ConnectPagerDutyCallbackResponse {
bool success = 1;
}
// Copied from: agent.v1.ConnectScmArgs (var: hs)
message ConnectScmArgs {
string tool_call_id = 1;
oneof target {
ConnectScmGithub github = 2;
}
}
// Copied from: local:aiserver.v1.ConnectScmGithub (var: Xs)
message ConnectScmGithub {
ConnectScmGithubRepository repository = 1;
optional string ghe_application = 2;
}
// Copied from: local:aiserver.v1.ConnectScmGithubRepository (var: Zs)
message ConnectScmGithubRepository {
string owner = 1;
string repo = 2;
}
// Copied from: local:aiserver.v1.ConnectScmParams (var: js)
message ConnectScmParams {
ConnectScmGithub github = 1;
}
// Copied from: agent.v1.ConnectScmRequestQuery (var: Ss)
message ConnectScmRequestQuery {
ConnectScmArgs args = 1;
}
// Copied from: agent.v1.ConnectScmRequestResponse (var: Is)
message ConnectScmRequestResponse {
// Copied from: agent.v1.ConnectScmRequestResponse.Approved (var: vs)
message Approved {
}
// Copied from: agent.v1.ConnectScmRequestResponse.Failed (var: Js)
message Failed {
string error = 1;
}
// Copied from: agent.v1.ConnectScmRequestResponse.Rejected (var: Bs)
message Rejected {
string reason = 1;
}
oneof result {
Approved approved = 1;
Rejected rejected = 2;
Failed failed = 3;
}
}
// Copied from: local:aiserver.v1.ConnectScmResult (var: $s)
message ConnectScmResult {
bool success = 1;
string message = 2;
}
// Copied from: local:aiserver.v1.ConnectScmStream (var: eo)
message ConnectScmStream {
}
// Copied from: local:aiserver.v1.ContactImportConnectionSummary (var: il)
message ContactImportConnectionSummary {
int64 connection_id = 1;
ContactImportProvider provider = 2;
string provider_account_id = 3;
optional string provider_workspace_id = 4;
optional string provider_account_email = 5;
optional int64 last_synced_at_ms = 6;
optional ContactImportSyncRunStatus latest_sync_status = 7;
optional int32 latest_sync_total_contacts = 8;
optional int64 latest_sync_completed_at_ms = 9;
}
// Copied from: local:aiserver.v1.ContactImportContactRow (var: pl)
message ContactImportContactRow {
int64 contact_id = 1;
string provider_contact_id = 2;
optional string display_name = 3;
optional string given_name = 4;
optional string family_name = 5;
optional string primary_email = 6;
optional string normalized_email = 7;
optional string photo_url = 8;
}
// Copied from: local:aiserver.v1.ContactImportProvider (var: Ae)
enum ContactImportProvider {
CONTACT_IMPORT_PROVIDER_UNSPECIFIED = 0;
CONTACT_IMPORT_PROVIDER_SLACK = 1;
CONTACT_IMPORT_PROVIDER_GOOGLE = 2;
}
// Copied from: local:aiserver.v1.ContactImportSyncRunStatus (var: _e)
enum ContactImportSyncRunStatus {
CONTACT_IMPORT_SYNC_RUN_STATUS_UNSPECIFIED = 0;
CONTACT_IMPORT_SYNC_RUN_STATUS_IN_PROGRESS = 1;
CONTACT_IMPORT_SYNC_RUN_STATUS_ACTIVE = 2;
CONTACT_IMPORT_SYNC_RUN_STATUS_SUPERSEDED = 3;
CONTACT_IMPORT_SYNC_RUN_STATUS_FAILED = 4;
}
// Copied from: local:aiserver.v1.ContainerTree (var: H)
message ContainerTree {
string relative_workspace_path = 1;
repeated ContainerTreeNode nodes = 2;
}
// Copied from: local:aiserver.v1.ContainerTreeNode (var: V)
message ContainerTreeNode {
// Copied from: local:aiserver.v1.ContainerTreeNode.Blob (var: W)
message Blob {
optional string value = 1;
}
// Copied from: local:aiserver.v1.ContainerTreeNode.Container (var: K)
message Container {
string doc_string = 1;
string header = 2;
string trailer = 3;
repeated ContainerTreeNode children = 5;
repeated ContainerTreeNode.Reference references = 6;
double score = 7;
}
// Copied from: local:aiserver.v1.ContainerTreeNode.Reference (var: z)
message Reference {
string value = 1;
string relative_workspace_path = 2;
}
// Copied from: local:aiserver.v1.ContainerTreeNode.Symbol (var: Y)
message Symbol {
string doc_string = 1;
string value = 2;
repeated ContainerTreeNode.Reference references = 6;
double score = 7;
}
oneof node {
Container container = 1;
Blob blob = 2;
Symbol symbol = 3;
}
}
// Copied from: local:aiserver.v1.ContextAST (var: G)
message ContextAST {
repeated ContainerTree files = 1;
}
// Copied from: agent.v1.ContextInjectionCancelled (var: ui)
message ContextInjectionCancelled {
}
// Copied from: agent.v1.ContextInjectionDelivered (var: ai)
message ContextInjectionDelivered {
int32 step = 1;
string delivery_batch_id = 2;
int64 delivered_at_ms = 3;
}
// Copied from: agent.v1.ContextInjectionQueued (var: ii)
message ContextInjectionQueued {
}
// Copied from: agent.v1.ContextInjectionQueuedForNextTurn (var: li)
message ContextInjectionQueuedForNextTurn {
}
// Copied from: agent.v1.ContextInjectionRejected (var: mi)
message ContextInjectionRejected {
string reason = 1;
}
// Copied from: agent.v1.ContextInjectionState (var: oi)
message ContextInjectionState {
oneof state {
ContextInjectionQueued queued = 1;
ContextInjectionDelivered delivered = 2;
ContextInjectionQueuedForNextTurn queued_for_next_turn = 3;
ContextInjectionCancelled cancelled = 4;
ContextInjectionRejected rejected = 5;
}
}
// Copied from: agent.v1.ContextInjectionStateUpdate (var: Va)
message ContextInjectionStateUpdate {
string injection_id = 1;
ContextInjectionState state = 2;
}
// Copied from: local:aiserver.v1.ContextIntent (var: O)
message ContextIntent {
// Copied from: local:aiserver.v1.ContextIntent.ChatHistory (var: ne)
message ChatHistory {
}
// Copied from: local:aiserver.v1.ContextIntent.CmdKCurrentFile (var: Z)
message CmdKCurrentFile {
}
// Copied from: local:aiserver.v1.ContextIntent.CmdKDefinitions (var: te)
message CmdKDefinitions {
}
// Copied from: local:aiserver.v1.ContextIntent.CmdKQueryEtc (var: $)
message CmdKQueryEtc {
}
// Copied from: local:aiserver.v1.ContextIntent.CodeSelection (var: Q)
message CodeSelection {
string relative_workspace_path = 1;
SimpleRange potentially_out_of_date_range = 2;
string text = 3;
}
// Copied from: local:aiserver.v1.ContextIntent.CodebaseChunks (var: X)
message CodebaseChunks {
}
// Copied from: local:aiserver.v1.ContextIntent.CommitNotes (var: H)
message CommitNotes {
}
// Copied from: local:aiserver.v1.ContextIntent.CustomInstructions (var: ee)
message CustomInstructions {
}
// Copied from: local:aiserver.v1.ContextIntent.DiffHistory (var: re)
message DiffHistory {
}
// Copied from: local:aiserver.v1.ContextIntent.Documentation (var: U)
message Documentation {
string documentation_identifier = 1;
}
// Copied from: local:aiserver.v1.ContextIntent.File (var: x)
message File {
// Copied from: local:aiserver.v1.ContextIntent.File.Mode (var: o)
enum Mode {
MODE_UNSPECIFIED = 0;
MODE_FULL = 1;
MODE_OUTLINE = 2;
MODE_CHUNKS = 3;
}
string relative_workspace_path = 1;
Mode mode = 2;
}
// Copied from: local:aiserver.v1.ContextIntent.Lints (var: V)
message Lints {
// Copied from: local:aiserver.v1.ContextIntent.Lints.CmdKScope (var: Y)
message CmdKScope {
}
// Copied from: local:aiserver.v1.ContextIntent.Lints.FileScope (var: K)
message FileScope {
string relative_workspace_path = 1;
optional LineRange filter_range = 2;
}
repeated LintSeverity filter_to_severities = 3;
oneof scope {
CmdKScope cmdk_scope = 1;
FileScope file_scope = 2;
}
}
// Copied from: local:aiserver.v1.ContextIntent.LspSubgraph (var: ie)
message LspSubgraph {
}
// Copied from: local:aiserver.v1.ContextIntent.PastCmdkConversationsInDiffSessions (var: z)
message PastCmdkConversationsInDiffSessions {
}
// Copied from: local:aiserver.v1.ContextIntent.RecentLocations (var: W)
message RecentLocations {
optional double timestamp = 2;
}
// Copied from: local:aiserver.v1.ContextIntent.Symbol (var: G)
message Symbol {
DocumentSymbol symbol = 1;
string relative_workspace_path = 2;
}
// Copied from: local:aiserver.v1.ContextIntent.TerminalCmdKDefaults (var: se)
message TerminalCmdKDefaults {
}
// Copied from: local:aiserver.v1.ContextIntent.TerminalHistory (var: oe)
message TerminalHistory {
int32 instance_id = 1;
bool active_for_cmd_k = 2;
optional bool use_active_instance_as_fallback = 3;
}
// Copied from: local:aiserver.v1.ContextIntent.Type (var: s)
enum Type {
TYPE_UNSPECIFIED = 0;
TYPE_USER_ADDED = 1;
TYPE_AUTOMATIC = 2;
}
// Copied from: local:aiserver.v1.ContextIntent.VisibleTabs (var: j)
message VisibleTabs {
}
Type type = 1;
string uuid = 15;
oneof intent {
File file = 2;
CodeSelection code_selection = 3;
Lints lints = 5;
RecentLocations recent_locations = 6;
CmdKCurrentFile cmd_k_current_file = 8;
CmdKQueryEtc cmd_k_query_etc = 9;
TerminalCmdKDefaults terminal_cmd_k_defaults = 14;
CmdKDefinitions cmd_k_definitions = 10;
Documentation documentation = 11;
CustomInstructions custom_instructions = 12;
ChatHistory chat_history = 13;
TerminalHistory terminal_history = 16;
VisibleTabs visible_tabs = 17;
LspSubgraph lsp_subgraph = 18;
CommitNotes commit_notes = 19;
DiffHistory diff_history = 20;
PastCmdkConversationsInDiffSessions past_cmdk_messages_in_diff_sessions = 21;
}
}
// Copied from: local:aiserver.v1.ContextItem (var: f)
message ContextItem {
// Copied from: local:aiserver.v1.ContextItem.ChatHistory (var: C)
message ChatHistory {
string user_message = 1;
string assistant_response = 2;
ContextItem.ChatHistory chat_history = 3;
bool active_for_cmd_k = 4;
optional int64 timestamp = 5;
optional double timestamp_double = 6;
}
// Copied from: local:aiserver.v1.ContextItem.CmdKImmediateContext (var: k)
message CmdKImmediateContext {
// Copied from: local:aiserver.v1.ContextItem.CmdKImmediateContext.Line (var: w)
message Line {
string line = 1;
int32 line_number = 2;
}
string relative_workspace_path = 1;
repeated Line lines = 2;
int32 total_number_of_lines_in_file = 3;
optional int32 cell_number = 4;
}
// Copied from: local:aiserver.v1.ContextItem.CmdKQuery (var: E)
message CmdKQuery {
string query = 1;
}
// Copied from: local:aiserver.v1.ContextItem.CmdKQueryHistory (var: v)
message CmdKQueryHistory {
ContextItem.CmdKQuery query = 1;
ContextItem.CmdKImmediateContext immediate_context = 2;
ContextItem.CmdKSelection selection = 3;
ContextItem.CmdKQueryHistory query_history = 4;
repeated string context_item_hashes = 5;
optional int64 timestamp = 6;
optional double timestamp_double = 7;
}
// Copied from: local:aiserver.v1.ContextItem.CmdKQueryHistoryInDiffSession (var: B)
message CmdKQueryHistoryInDiffSession {
// Copied from: local:aiserver.v1.ContextItem.CmdKQueryHistoryInDiffSession.PastCmdKQueryInDiffSession (var: J)
message PastCmdKQueryInDiffSession {
ContextItem.CmdKQuery query = 1;
string relative_workspace_path = 2;
optional bool cmdk_was_accepted = 5;
double timestamp_double = 6;
optional double timestamp_for_diff_interleaving = 7;
optional string request_id = 8;
}
repeated PastCmdKQueryInDiffSession past_cmdk_queries = 1;
double curr_timestamp_double = 3;
}
// Copied from: local:aiserver.v1.ContextItem.CmdKSelection (var: T)
message CmdKSelection {
repeated string lines = 1;
int32 start_line_number = 2;
}
// Copied from: local:aiserver.v1.ContextItem.CommitNoteChunk (var: D)
message CommitNoteChunk {
string note = 1;
}
// Copied from: local:aiserver.v1.ContextItem.CustomInstructions (var: R)
message CustomInstructions {
string instructions = 1;
}
// Copied from: local:aiserver.v1.ContextItem.DocumentationChunk (var: b)
message DocumentationChunk {
string doc_name = 1;
string page_url = 2;
string documentation_chunk = 3;
float score = 4;
}
// Copied from: local:aiserver.v1.ContextItem.FileChunk (var: g)
message FileChunk {
string relative_workspace_path = 1;
string chunk_contents = 2;
int32 start_line_number = 3;
}
// Copied from: local:aiserver.v1.ContextItem.FileDiffHistory (var: y)
message FileDiffHistory {
CppFileDiffHistory cpp_file_diff_history = 1;
int32 how_many_diffs_ago = 2;
bool is_very_recent = 3;
}
// Copied from: local:aiserver.v1.ContextItem.GoToDefinitionResult (var: P)
message GoToDefinitionResult {
string relative_workspace_path = 1;
string line = 2;
int32 line_number = 3;
int32 column_number = 4;
ContextItem.FileChunk definition_chunk = 5;
}
// Copied from: local:aiserver.v1.ContextItem.Lints (var: M)
message Lints {
// Copied from: local:aiserver.v1.ContextItem.Lints.Line (var: L)
message Line {
string line = 1;
int32 line_number = 2;
}
string relative_workspace_path = 1;
repeated Lint lints = 2;
repeated Line context_lines = 3;
}
// Copied from: local:aiserver.v1.ContextItem.LspSubgraphChunk (var: q)
message LspSubgraphChunk {
LspSubgraphFullContext lsp_subgraph_full_context = 1;
}
// Copied from: local:aiserver.v1.ContextItem.NotebookCellOutput (var: F)
message NotebookCellOutput {
string relative_workspace_path = 1;
string cell_output = 2;
int32 cell_number = 3;
}
// Copied from: local:aiserver.v1.ContextItem.OutlineChunk (var: _)
message OutlineChunk {
string relative_workspace_path = 1;
string contents = 2;
LineRange full_range = 3;
}
// Copied from: local:aiserver.v1.ContextItem.SparseFileChunk (var: h)
message SparseFileChunk {
// Copied from: local:aiserver.v1.ContextItem.SparseFileChunk.Line (var: A)
message Line {
string line = 1;
int32 line_number = 2;
}
string relative_workspace_path = 1;
repeated Line lines = 2;
int32 total_number_of_lines_in_file = 3;
optional int32 cell_number = 4;
}
// Copied from: local:aiserver.v1.ContextItem.TerminalCmdKQuery (var: S)
message TerminalCmdKQuery {
string query = 1;
}
// Copied from: local:aiserver.v1.ContextItem.TerminalCmdKQueryHistory (var: I)
message TerminalCmdKQueryHistory {
ContextItem.TerminalCmdKQuery query = 1;
ContextItem.TerminalCmdKQueryHistory query_history = 2;
repeated string context_item_hashes = 5;
string suggested_command = 6;
}
// Copied from: local:aiserver.v1.ContextItem.TerminalHistory (var: N)
message TerminalHistory {
string history = 1;
string cwd_full = 5;
string cwd_relative_workspace_path = 6;
bool active_for_cmd_k = 4;
optional int64 timestamp = 7;
optional double timestamp_double = 8;
}
ContextIntent intent = 1;
oneof item {
FileChunk file_chunk = 2;
OutlineChunk outline_chunk = 3;
CmdKSelection cmd_k_selection = 4;
CmdKImmediateContext cmd_k_immediate_context = 5;
CmdKQuery cmd_k_query = 6;
CmdKQueryHistory cmd_k_query_history = 7;
CustomInstructions custom_instructions = 8;
GoToDefinitionResult go_to_definition_result = 9;
DocumentationChunk documentation_chunk = 10;
Lints lints = 11;
ChatHistory chat_history = 12;
NotebookCellOutput notebook_cell_output = 13;
TerminalHistory terminal_history = 14;
TerminalCmdKQuery terminal_cmd_k_query = 15;
TerminalCmdKQueryHistory terminal_cmd_k_query_history = 16;
SparseFileChunk sparse_file_chunk = 17;
LspSubgraphChunk lsp_subgraph_chunk = 18;
CommitNoteChunk commit_note_chunk = 19;
FileDiffHistory file_diff_history = 20;
CmdKQueryHistoryInDiffSession cmd_k_query_history_in_diff_session = 21;
CursorRule project_rule = 22;
}
}
// Copied from: local:aiserver.v1.ContextItemStatus (var: p)
message ContextItemStatus {
// Copied from: local:aiserver.v1.ContextItemStatus.PostGenerationEvaluation (var: r)
enum PostGenerationEvaluation {
POST_GENERATION_EVALUATION_UNSPECIFIED = 0;
POST_GENERATION_EVALUATION_USEFUL = 1;
POST_GENERATION_EVALUATION_USELESS = 2;
}
string context_item_hash = 1;
bool shown_to_the_model = 2;
float score = 3;
float percentage_of_available_space = 4;
PostGenerationEvaluation post_generation_evaluation = 5;
}
// Copied from: local:aiserver.v1.ContextItemTokenDetail (var: El)
message ContextItemTokenDetail {
string relative_workspace_path = 1;
int32 count = 2;
int32 line_count = 3;
}
// Copied from: local:aiserver.v1.ContextOptions (var: sr)
message ContextOptions {
// Copied from: local:aiserver.v1.ContextOptions.AllDocumentation (var: or)
message AllDocumentation {
// Copied from: local:aiserver.v1.ContextOptions.AllDocumentation.Documentation (var: ir)
message Documentation {
string name = 1;
string url = 2;
string identifier = 3;
}
repeated Documentation available_docs = 1;
}
// Copied from: local:aiserver.v1.ContextOptions.CurrentFileContents (var: ar)
message CurrentFileContents {
string relative_workspace_path = 1;
string contents = 2;
CursorPosition cursor_position = 3;
repeated DataframeInfo dataframes = 4;
string language_id = 5;
CursorRange selection = 6;
}
// Copied from: local:aiserver.v1.ContextOptions.GlobalContext (var: mr)
message GlobalContext {
}
// Copied from: local:aiserver.v1.ContextOptions.LinterDiagnostics (var: lr)
message LinterDiagnostics {
// Copied from: local:aiserver.v1.ContextOptions.LinterDiagnostics.Diagnostic (var: ur)
message Diagnostic {
string message = 1;
string source = 2;
CursorRange range = 3;
string relative_workspace_path = 4;
}
string relative_workspace_path = 1;
string contents = 2;
repeated Diagnostic diagnostics = 3;
}
AllDocumentation all_documentation = 1;
CurrentFileContents current_file_contents = 2;
LinterDiagnostics linter_diagnostics = 3;
GlobalContext global_context = 4;
}
// Copied from: local:aiserver.v1.ContextPiece (var: mt)
message ContextPiece {
string relative_workspace_path = 1;
string content = 2;
float score = 3;
}
// Copied from: local:aiserver.v1.ContextPieceUpdate (var: ct)
message ContextPieceUpdate {
repeated ContextPiece pieces = 1;
}
// Copied from: local:aiserver.v1.ContextRerankingCandidateFile (var: hn)
message ContextRerankingCandidateFile {
string file_name = 1;
string file_content = 2;
}
// Copied from: local:aiserver.v1.ContextRerankingRequest (var: At)
message ContextRerankingRequest {
optional CurrentFileInfo current_file = 1;
repeated ConversationMessage chat_conversation_history = 2;
repeated CppFileDiffHistory cpp_diff_trajectories = 3;
repeated ContextRerankingCandidateFile candidate_files = 4;
}
// Copied from: local:aiserver.v1.ContextRerankingResponse (var: _t)
message ContextRerankingResponse {
repeated float reranking_scores = 1;
}
// Copied from: local:aiserver.v1.ContextScoresRequest (var: In)
message ContextScoresRequest {
string source_range = 1;
repeated string method_signatures = 2;
}
// Copied from: local:aiserver.v1.ContextScoresResponse (var: vn)
message ContextScoresResponse {
repeated float scores = 1;
}
// Copied from: local:aiserver.v1.ContextStatusUpdate (var: c)
message ContextStatusUpdate {
repeated ContextItemStatus context_item_statuses = 1;
}
// Copied from: local:aiserver.v1.ContextToRank (var: Ue)
message ContextToRank {
string relative_workspace_path = 1;
string contents = 2;
optional LineRange line_range = 3;
optional CodeBlock code_block = 4;
}
// Copied from: local:aiserver.v1.ContextWindowStatus (var: At)
message ContextWindowStatus {
int32 percentage_remaining = 1;
optional int32 tokens_used = 2;
optional int32 token_limit = 3;
optional float percentage_remaining_float = 4;
}
// Copied from: agent.v1.ConversationAction (var: No)
message ConversationAction {
optional string triggering_auth_id = 11;
optional TriggeringUserInfo triggering_user_info = 15;
optional RequestContextPartReferences request_context_parts = 17;
oneof action {
UserMessageAction user_message_action = 1;
ResumeAction resume_action = 2;
CancelAction cancel_action = 3;
SummarizeAction summarize_action = 4;
ShellCommandAction shell_command_action = 5;
StartPlanAction start_plan_action = 6;
ExecutePlanAction execute_plan_action = 7;
AsyncAskQuestionCompletionAction async_ask_question_completion_action = 8;
CancelSubagentAction cancel_subagent_action = 10;
BackgroundTaskCompletionAction background_task_completion_action = 12;
BackgroundShellAction background_shell_action = 13;
BackgroundSubagentAction background_subagent_action = 14;
SubscriptionNotificationAction subscription_notification_action = 16;
GoalContinuationAction goal_continuation_action = 18;
InjectContextAction inject_context_action = 19;
}
}
// Copied from: local:aiserver.v1.ConversationActionReference (var: vd)
message ConversationActionReference {
optional ConversationAction conversation_action = 1;
bytes conversation_action_blob_id = 2;
}
// Copied from: agent.v1.ConversationHistory (var: Uo)
message ConversationHistory {
repeated ConversationHistoryMessage messages = 1;
optional bool replace_user_info = 2;
}
// Copied from: agent.v1.ConversationHistoryAssistantContent (var: Ko)
message ConversationHistoryAssistantContent {
oneof content {
ConversationHistoryTextContent text = 1;
ConversationHistoryReasoningContent reasoning = 2;
ConversationHistoryRedactedReasoningContent redacted_reasoning = 3;
ConversationHistoryToolCall tool_call = 4;
}
}
// Copied from: agent.v1.ConversationHistoryAssistantMessage (var: Yo)
message ConversationHistoryAssistantMessage {
repeated ConversationHistoryAssistantContent content = 1;
}
// Copied from: agent.v1.ConversationHistoryImageContent (var: Vo)
message ConversationHistoryImageContent {
string data = 1;
optional string mime_type = 2;
}
// Copied from: agent.v1.ConversationHistoryMessage (var: xo)
message ConversationHistoryMessage {
oneof message {
ConversationHistoryUserMessage user = 1;
ConversationHistoryAssistantMessage assistant = 2;
ConversationHistoryToolMessage tool = 3;
}
}
// Copied from: agent.v1.ConversationHistoryReasoningContent (var: Wo)
message ConversationHistoryReasoningContent {
string text = 1;
optional string signature = 2;
}
// Copied from: agent.v1.ConversationHistoryRedactedReasoningContent (var: zo)
message ConversationHistoryRedactedReasoningContent {
string data = 1;
}
// Copied from: agent.v1.ConversationHistoryTextContent (var: Ho)
message ConversationHistoryTextContent {
string text = 1;
}
// Copied from: agent.v1.ConversationHistoryToolCall (var: jo)
message ConversationHistoryToolCall {
string tool_call_id = 1;
string tool_name = 2;
string args_json = 3;
}
// Copied from: agent.v1.ConversationHistoryToolMessage (var: Xo)
message ConversationHistoryToolMessage {
string tool_call_id = 1;
string tool_name = 2;
repeated ConversationHistoryToolResultContent content = 3;
optional bool is_error = 4;
repeated HookAdditionalContext hook_additional_contexts = 5;
}
// Copied from: agent.v1.ConversationHistoryToolResultContent (var: Zo)
message ConversationHistoryToolResultContent {
oneof content {
ConversationHistoryTextContent text = 1;
ConversationHistoryImageContent image = 2;
}
}
// Copied from: agent.v1.ConversationHistoryUserContent (var: Go)
message ConversationHistoryUserContent {
oneof content {
ConversationHistoryTextContent text = 1;
ConversationHistoryImageContent image = 2;
}
}
// Copied from: agent.v1.ConversationHistoryUserMessage (var: Qo)
message ConversationHistoryUserMessage {
repeated ConversationHistoryUserContent content = 1;
}
// Copied from: local:aiserver.v1.ConversationMcp (var: N)
message ConversationMcp {
string tool_name = 1;
optional string mcp_server_name = 2;
optional int32 call_count = 3;
optional google.protobuf.Timestamp last_called_at = 4;
optional string plugin = 5;
optional string marketplace = 6;
}
// Copied from: local:aiserver.v1.ConversationMessage (var: Nt)
message ConversationMessage {
// Copied from: local:aiserver.v1.ConversationMessage.ApproximateLintError (var: xt)
message ApproximateLintError {
string message = 1;
string value = 2;
int32 start_line = 3;
int32 end_line = 4;
int32 start_column = 5;
int32 end_column = 6;
}
// Copied from: local:aiserver.v1.ConversationMessage.CodeChunk (var: Rt)
message CodeChunk {
// Copied from: local:aiserver.v1.ConversationMessage.CodeChunk.CodeChunkGitContext (var: Pt)
message CodeChunkGitContext {
// Copied from: local:aiserver.v1.ConversationMessage.CodeChunk.CodeChunkGitContext.CodeChunkGitInfo (var: bt)
message CodeChunkGitInfo {
string commit = 1;
string author = 2;
string date = 3;
string message = 4;
}
repeated CodeChunkGitInfo git_info = 1;
}
// Copied from: local:aiserver.v1.ConversationMessage.CodeChunk.Intent (var: D)
enum Intent {
INTENT_UNSPECIFIED = 0;
INTENT_COMPOSER_FILE = 1;
INTENT_COMPRESSED_COMPOSER_FILE = 2;
INTENT_RECENTLY_VIEWED_FILE = 3;
INTENT_OUTLINE = 4;
INTENT_MENTIONED_FILE = 5;
INTENT_CODE_SELECTION = 6;
INTENT_AI_EDITED_FILE = 7;
INTENT_VISIBLE_FILE = 8;
INTENT_TERMINAL_SELECTION = 9;
}
// Copied from: local:aiserver.v1.ConversationMessage.CodeChunk.SummarizationStrategy (var: O)
enum SummarizationStrategy {
SUMMARIZATION_STRATEGY_NONE_UNSPECIFIED = 0;
SUMMARIZATION_STRATEGY_SUMMARIZED = 1;
SUMMARIZATION_STRATEGY_EMBEDDED = 2;
}
string relative_workspace_path = 1;
int32 start_line_number = 2;
repeated string lines = 3;
optional SummarizationStrategy summarization_strategy = 4;
string language_identifier = 5;
optional Intent intent = 6;
optional bool is_final_version = 7;
optional bool is_first_version = 8;
optional bool contents_are_missing = 9;
optional bool is_only_included_from_folder = 10;
optional CodeChunkGitContext code_chunk_git_context = 11;
}
// Copied from: local:aiserver.v1.ConversationMessage.ComposerContext (var: Dt)
message ComposerContext {
string name = 1;
ConversationSummary conversation_summary = 2;
}
// Copied from: local:aiserver.v1.ConversationMessage.DeletedFile (var: Wt)
message DeletedFile {
string relative_workspace_path = 1;
}
// Copied from: local:aiserver.v1.ConversationMessage.DiffSinceLastApply (var: Kt)
message DiffSinceLastApply {
string relative_workspace_path = 1;
optional EditFileResult.FileDiff diff = 2;
optional bool is_accepted = 4;
optional bool is_rejected = 5;
optional int32 last_apply_chained_from_n_human_messages_ago = 6;
}
// Copied from: local:aiserver.v1.ConversationMessage.DocumentationSelection (var: jt)
message DocumentationSelection {
string doc_id = 1;
string name = 2;
}
// Copied from: local:aiserver.v1.ConversationMessage.EditLocation (var: Ot)
message EditLocation {
string relative_workspace_path = 1;
SimplestRange range = 3;
SimplestRange initial_range = 4;
string context_lines = 5;
string text = 6;
SimplestRange text_range = 7;
}
// Copied from: local:aiserver.v1.ConversationMessage.EditTrailContext (var: Ut)
message EditTrailContext {
string unique_id = 1;
repeated ConversationMessage.EditLocation edit_trail_sorted = 2;
}
// Copied from: local:aiserver.v1.ConversationMessage.HumanChange (var: Vt)
message HumanChange {
string relative_workspace_path = 1;
repeated ConversationMessage.RenderedDiff rendered_diffs = 2;
}
// Copied from: local:aiserver.v1.ConversationMessage.IdeEditorsState (var: Xt)
message IdeEditorsState {
// Copied from: local:aiserver.v1.ConversationMessage.IdeEditorsState.File (var: Zt)
message File {
string relative_path = 1;
optional bool is_currently_focused = 2;
optional int32 current_line_number = 3;
optional string current_line_text = 4;
optional int32 line_count = 5;
optional string absolute_path = 6;
}
bool is_pill_displayed = 1;
repeated string visible_file_paths = 2;
repeated string recently_viewed_file_paths = 3;
repeated File visible_files = 4;
repeated File recently_viewed_files = 5;
}
// Copied from: local:aiserver.v1.ConversationMessage.KnowledgeItem (var: zt)
message KnowledgeItem {
string title = 1;
string knowledge = 2;
string knowledge_id = 3;
bool is_generated = 4;
}
// Copied from: local:aiserver.v1.ConversationMessage.Lints (var: Qt)
message Lints {
GetLintsForChangeResponse lints = 1;
string chat_codeblock_model_value = 2;
}
// Copied from: local:aiserver.v1.ConversationMessage.McpDescriptor (var: tn)
message McpDescriptor {
// Copied from: local:aiserver.v1.ConversationMessage.McpDescriptor.Tool (var: nn)
message Tool {
string tool_name = 1;
optional string description = 2;
}
string folder_path = 1;
optional string server_name = 2;
repeated Tool tools = 3;
optional string server_use_instructions = 4;
}
// Copied from: local:aiserver.v1.ConversationMessage.MessageType (var: F)
enum MessageType {
MESSAGE_TYPE_UNSPECIFIED = 0;
MESSAGE_TYPE_HUMAN = 1;
MESSAGE_TYPE_AI = 2;
}
// Copied from: local:aiserver.v1.ConversationMessage.MultiRangeCodeChunk (var: Lt)
message MultiRangeCodeChunk {
// Copied from: local:aiserver.v1.ConversationMessage.MultiRangeCodeChunk.RangeWithPriority (var: Ft)
message RangeWithPriority {
SimplestRange range = 1;
double priority = 2;
}
repeated RangeWithPriority ranges = 1;
string content = 2;
string relative_workspace_path = 3;
}
// Copied from: local:aiserver.v1.ConversationMessage.NotepadContext (var: qt)
message NotepadContext {
string name = 1;
string text = 2;
repeated ConversationMessage.CodeChunk attached_code_chunks = 3;
repeated string attached_folders = 4;
repeated Commit commits = 5;
repeated PullRequest pull_requests = 6;
repeated GitDiff git_diffs = 7;
repeated ImageProto images = 8;
}
// Copied from: local:aiserver.v1.ConversationMessage.PlanUpdate (var: $t)
message PlanUpdate {
string current_plan = 1;
bool is_first_time_seen = 2;
}
// Copied from: local:aiserver.v1.ConversationMessage.RecentLocation (var: Gt)
message RecentLocation {
string relative_workspace_path = 1;
int32 line_number = 2;
}
// Copied from: local:aiserver.v1.ConversationMessage.RenderedDiff (var: Ht)
message RenderedDiff {
int32 start_line_number = 1;
int32 end_line_number_exclusive = 2;
repeated string before_context_lines = 3;
repeated string removed_lines = 4;
repeated string added_lines = 5;
repeated string after_context_lines = 6;
}
// Copied from: local:aiserver.v1.ConversationMessage.SimulatedMessageMetadata (var: en)
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;
}
// Copied from: local:aiserver.v1.ConversationMessage.Thinking (var: Yt)
message Thinking {
string text = 1;
string signature = 2;
string redacted_thinking = 3;
bool is_last_thinking_chunk = 4;
}
// Copied from: local:aiserver.v1.ConversationMessage.ThinkingStyle (var: q)
enum ThinkingStyle {
THINKING_STYLE_UNSPECIFIED = 0;
THINKING_STYLE_DEFAULT = 1;
THINKING_STYLE_CODEX = 2;
THINKING_STYLE_GPT5 = 3;
}
// Copied from: local:aiserver.v1.ConversationMessage.ToolResult (var: Mt)
message ToolResult {
string tool_call_id = 1;
string tool_name = 2;
uint32 tool_index = 3;
optional string model_call_id = 12;
string args = 4;
string raw_args = 5;
repeated ConversationMessage.CodeChunk attached_code_chunks = 6;
optional string content = 7;
ClientSideToolV2Result result = 8;
optional ToolResultError error = 9;
repeated ImageProto images = 10;
optional ClientSideToolV2Call tool_call = 11;
optional uint64 started_at_ms = 13;
optional uint64 completed_at_ms = 14;
}
string text = 1;
MessageType type = 2;
repeated CodeChunk attached_code_chunks = 3;
repeated CodeBlock codebase_context_chunks = 4;
repeated Commit commits = 5;
repeated PullRequest pull_requests = 6;
repeated GitDiff git_diffs = 7;
repeated SimpleFileDiff assistant_suggested_diffs = 8;
repeated InterpreterResult interpreter_results = 9;
repeated ImageProto images = 10;
repeated string attached_folders = 11;
repeated ApproximateLintError approximate_lint_errors = 12;
string bubble_id = 13;
optional string server_bubble_id = 32;
repeated FolderInfo attached_folders_new = 14;
repeated Lints lints = 15;
repeated UserResponseToSuggestedCodeBlock user_responses_to_suggested_code_blocks = 16;
repeated string relevant_files = 17;
repeated ToolResult tool_results = 18;
repeated NotepadContext notepads = 19;
optional bool is_capability_iteration = 20;
repeated ComposerCapabilityRequest capabilities = 21;
repeated EditTrailContext edit_trail_contexts = 22;
repeated SuggestedCodeBlock suggested_code_blocks = 23;
repeated RedDiff diffs_for_compressing_files = 24;
repeated LinterErrorsWithoutFileContents multi_file_linter_errors = 25;
repeated DiffHistoryData diff_histories = 26;
repeated CodeChunk recently_viewed_files = 27;
repeated RecentLocation recent_locations_history = 28;
bool is_agentic = 29;
repeated ComposerFileDiffHistory file_diff_trajectories = 30;
optional ConversationSummary conversation_summary = 31;
bool existed_subsequent_terminal_command = 33;
bool existed_previous_terminal_command = 34;
repeated DocsReference docs_references = 35;
repeated WebReference web_references = 36;
repeated AiWebSearchResult ai_web_search_results = 75;
optional ViewableGitContext git_context = 37;
repeated ListDirResult attached_folders_list_dir_results = 38;
optional ConversationSummary cached_conversation_summary = 39;
repeated HumanChange human_changes = 40;
bool attached_human_changes = 41;
repeated ComposerContext summarized_composers = 42;
repeated CursorRule cursor_rules = 43;
repeated ContextPiece context_pieces = 44;
optional Thinking thinking = 45;
repeated Thinking all_thinking_blocks = 46;
optional ThinkingStyle thinking_style = 85;
optional StreamUnifiedChatRequest.UnifiedMode unified_mode = 47;
repeated DiffSinceLastApply diffs_since_last_apply = 48;
repeated DeletedFile deleted_files = 49;
optional string usage_uuid = 50;
repeated ClientSideToolV2 supported_tools = 51;
optional CurrentFileLocationData current_file_location_data = 52;
optional bool edit_tool_supports_search_and_replace = 53;
optional string last_terminal_cwd = 54;
optional bool user_explicitly_asked_to_generate_cursor_rules = 55;
repeated RCPLogEntry console_logs = 56;
optional string rich_text = 57;
repeated KnowledgeItem knowledge_items = 58;
repeated RCPUIElementPicked ui_element_picked = 59;
optional bool user_explicitly_asked_to_add_to_knowledge_base = 60;
repeated DocumentationSelection documentation_selections = 61;
repeated ComposerExternalLink external_links = 62;
optional bool use_web = 63;
repeated ProjectLayout project_layouts = 64;
optional int32 thinking_duration_ms = 65;
optional int32 step_duration_ms = 88;
optional SubagentReturnCall subagent_return = 66;
optional bool is_simple_looping_message = 67;
repeated ComposerCapabilityContext capability_contexts = 68;
optional string checkpoint_commit_hash = 69;
optional string git_status_raw = 70;
repeated TodoItem todos = 71;
optional bool is_review_edits_followup = 72;
string request_id = 74;
optional IdeEditorsState ide_editors_state = 73;
optional ContextWindowStatus context_window_status = 76;
optional bool is_plan_execution = 77;
string created_at = 78;
ModelInfo model_info = 79;
optional bool is_quick_search_query = 80;
optional PlanUpdate plan_update = 81;
optional bool is_simulated_msg = 82;
optional SimulatedMsgReason simulated_msg_reason = 95;
optional SimulatedMessageMetadata simulated_message_metadata = 97;
repeated McpDescriptor mcp_descriptors = 83;
optional string workspace_project_dir = 84;
repeated string workspace_uris = 87;
optional DebugModeConfig debug_mode_config = 86;
optional bytes text_blob_id = 89;
optional bytes rich_text_blob_id = 90;
repeated SelectedCursorCommand cursor_commands = 91;
bool cursor_commands_explicitly_set = 92;
repeated SelectedPastChat past_chats = 93;
bool past_chats_explicitly_set = 94;
optional TriggeringUserInfo triggering_user_info = 96;
}
// Copied from: local:aiserver.v1.ConversationMessageHeader (var: St)
message ConversationMessageHeader {
string bubble_id = 1;
optional string server_bubble_id = 2;
ConversationMessage.MessageType type = 3;
}
// Copied from: local:aiserver.v1.ConversationPlan (var: J)
message ConversationPlan {
optional string title = 1;
optional int32 todo_count = 2;
optional string plan_file_uri = 3;
optional google.protobuf.Timestamp updated_at = 4;
optional string content = 5;
}
// Copied from: local:aiserver.v1.ConversationReference (var: R)
message ConversationReference {
string id = 1;
optional string title = 2;
optional string tldr = 3;
optional string overview = 4;
repeated string summary_bullets = 5;
repeated string models = 6;
repeated ConversationPlan plans = 7;
optional string author_email = 8;
repeated ConversationSkill skills = 9;
repeated ConversationMcp mcps = 10;
optional string initial_prompt = 11;
}
// Copied from: agent.v1.ConversationSearchArgs (var: o)
message ConversationSearchArgs {
string query = 1;
string tool_call_id = 2;
optional int32 limit = 3;
}
// Copied from: agent.v1.ConversationSearchError (var: u)
message ConversationSearchError {
string error = 1;
}
// Copied from: agent.v1.ConversationSearchHit (var: l)
message ConversationSearchHit {
string conversation_id = 1;
string title = 2;
ConversationSearchSource source = 3;
int64 updated_at_ms = 4;
optional string snippet = 5;
}
// Copied from: agent.v1.ConversationSearchResult (var: i)
message ConversationSearchResult {
oneof result {
ConversationSearchSuccess success = 1;
ConversationSearchError error = 2;
}
}
// Copied from: agent.v1.ConversationSearchSource (var: r)
enum ConversationSearchSource {
CONVERSATION_SEARCH_SOURCE_UNSPECIFIED = 0;
CONVERSATION_SEARCH_SOURCE_LOCAL = 1;
CONVERSATION_SEARCH_SOURCE_CLOUD_CACHE = 2;
}
// Copied from: agent.v1.ConversationSearchSuccess (var: a)
message ConversationSearchSuccess {
repeated ConversationSearchHit hits = 1;
bool truncated = 2;
bool partial = 3;
bool rebuilding = 4;
}
// Copied from: local:aiserver.v1.ConversationSkill (var: C)
message ConversationSkill {
string skill_id = 1;
optional string platform = 2;
optional string skill_source = 3;
optional string entrypoint = 4;
optional string model_name = 5;
optional int32 usage_count = 6;
optional google.protobuf.Timestamp last_applied_at = 7;
optional string plugin = 8;
optional string marketplace = 9;
}
// Copied from: agent.v1.ConversationStateStructure (var: ia)
message ConversationStateStructure {
repeated bytes root_prompt_messages_json = 1;
repeated bytes turns = 8;
repeated bytes todos = 3;
repeated string pending_tool_calls = 4;
ConversationTokenDetails token_details = 5;
optional bytes summary = 6;
optional bytes plan = 7;
repeated string previous_workspace_uris = 9;
optional AgentMode mode = 10;
optional bytes summary_archive = 11;
map<string, bytes> file_states = 12;
map<string, FileStateStructure> file_states_v2 = 15;
repeated bytes summary_archives = 13;
repeated StepTiming turn_timings = 14;
map<string, SubagentPersistedState> subagent_states = 16;
uint32 self_summary_count = 17;
repeated string read_paths = 18;
optional string active_branch_name = 19;
map<string, PlanRegistryEntry> plans = 20;
repeated TrackedGitRepo tracked_git_repo_branches = 21;
optional string agent_type = 22;
repeated CommunicateUpdateHistoryEntry communicate_update_history = 23;
map<string, string> subagent_threads = 24;
optional string communicate_update_final_summary = 25;
optional string communicate_update_completed_subtitle = 28;
map<string, CommunicateUpdateTurnState> communicate_update_states_by_parent_tool_call_id = 29;
map<string, SubagentRunState> subagent_runs_by_parent_tool_call_id = 30;
optional uint64 conversation_started_timestamp_ms = 26;
optional string conversation_started_time_zone = 27;
map<string, bytes> subagent_state_refs = 31;
optional GoalState goal_state = 32;
}
// Copied from: local:aiserver.v1.ConversationStreamMessage (var: Sa)
message ConversationStreamMessage {
oneof message {
InteractionUpdate interaction_update = 1;
bytes cloud_agent_state_blob_id = 2;
CloudAgentWorkflowStatus workflow_status = 3;
bytes interaction_update_blob_id = 4;
TransientError transient_error = 5;
WorkerLifecycleEvent worker_lifecycle_event = 6;
bytes transient_error_blob_id = 7;
InteractionQuery interaction_query = 8;
ReadOnlySharedPodLifecycleEvent read_only_shared_pod_lifecycle_event = 9;
}
}
// Copied from: local:aiserver.v1.ConversationSummarizationPromptOptions (var: S)
message ConversationSummarizationPromptOptions {
optional string inline_system_prompt = 1;
optional string summarization_model = 2;
optional string prompt_config_id = 3;
}
// Copied from: local:aiserver.v1.ConversationSummary (var: Oe)
message ConversationSummary {
string summary = 1;
string truncation_last_bubble_id_inclusive = 2;
string client_should_start_sending_from_inclusive_bubble_id = 3;
string previous_conversation_summary_bubble_id = 4;
bool includes_tool_results = 5;
string strategy = 6;
}
// Copied from: local:aiserver.v1.ConversationSummaryStarter (var: Tt)
message ConversationSummaryStarter {
string message = 1;
}
// Copied from: local:aiserver.v1.ConversationSummaryStrategy (var: qe)
message ConversationSummaryStrategy {
// Copied from: local:aiserver.v1.ConversationSummaryStrategy.ArbitrarySummaryPlusToolResultTruncation (var: De)
message ArbitrarySummaryPlusToolResultTruncation {
ConversationSummary arbitrary_summary = 1;
int32 tool_result_truncation_length = 2;
}
oneof strategy {
string plain_text_summary = 1;
ArbitrarySummaryPlusToolResultTruncation arbitrary_summary_plus_tool_result_truncation = 2;
}
}
// Copied from: agent.v1.ConversationTokenDetails (var: ji)
message ConversationTokenDetails {
uint32 used_tokens = 1;
uint32 max_tokens = 2;
optional PromptTokenBreakdownSnapshot breakdown = 3;
optional PromptContextUsageTree prompt_context_usage_tree = 4;
}
// Copied from: local:aiserver.v1.ConvertOALToNALRequest (var: Qn)
message ConvertOALToNALRequest {
StreamUnifiedChatRequest request = 1;
map<string, FileState> file_states = 2;
}
// Copied from: local:aiserver.v1.ConvertOALToNALResponse (var: Gn)
message ConvertOALToNALResponse {
ConversationStateStructure conversation_state = 1;
map<string, bytes> blobs = 2;
map<string, ConversationStateStructure> bubble_checkpoints = 3;
}
// Copied from: local:aiserver.v1.ConvertPullRequestFromDraftRequest (var: pd)
message ConvertPullRequestFromDraftRequest {
string bc_id = 1;
optional string pr_url = 2;
}
// Copied from: local:aiserver.v1.ConvertPullRequestFromDraftResponse (var: fd)
message ConvertPullRequestFromDraftResponse {
bool success = 1;
string error = 2;
}
// Copied from: agent.v1.Coordinate (var: i)
message Coordinate {
int32 x = 1;
int32 y = 2;
}
// Copied from: local:aiserver.v1.CountTokensRequest (var: wl)
message CountTokensRequest {
repeated ContextItem context_items = 1;
string model_name = 2;
}
// Copied from: local:aiserver.v1.CountTokensResponse (var: Sl)
message CountTokensResponse {
int32 count = 1;
repeated ContextItemTokenDetail token_details = 2;
}
// Copied from: local:aiserver.v1.CppAcceptEvent (var: Kt)
message CppAcceptEvent {
CppSuggestion cpp_suggestion = 1;
}
// Copied from: local:aiserver.v1.CppAcceptEventNew (var: he)
message CppAcceptEventNew {
CurrentlyShownCppSuggestion cpp_suggestion = 1;
PointInTimeModel point_in_time_model = 7;
}
// Copied from: local:aiserver.v1.CppAppendRequest (var: Lt)
message CppAppendRequest {
bytes changes = 1;
}
// Copied from: local:aiserver.v1.CppAppendResponse (var: Ft)
message CppAppendResponse {
bool success = 1;
}
// Copied from: local:aiserver.v1.CppChangeQuickActionEvent (var: Oe)
message CppChangeQuickActionEvent {
PointInTimeModel point_in_time_model = 1;
repeated CppQuickAction added = 2;
repeated CppQuickAction removed = 3;
repeated CppQuickAction actions = 4;
}
// Copied from: local:aiserver.v1.CppConfigRequest (var: L)
message CppConfigRequest {
optional bool is_nightly = 1;
string model = 2;
optional bool supports_cpt = 3;
}
// Copied from: local:aiserver.v1.CppConfigResponse (var: F)
message CppConfigResponse {
// Copied from: local:aiserver.v1.CppConfigResponse.Heuristic (var: i)
enum Heuristic {
HEURISTIC_UNSPECIFIED = 0;
HEURISTIC_LOTS_OF_ADDED_TEXT = 1;
HEURISTIC_DUPLICATING_LINE_AFTER_SUGGESTION = 2;
HEURISTIC_DUPLICATING_MULTIPLE_LINES_AFTER_SUGGESTION = 3;
HEURISTIC_REVERTING_USER_CHANGE = 4;
HEURISTIC_OUTPUT_EXTENDS_BEYOND_RANGE_AND_IS_REPEATED = 5;
HEURISTIC_SUGGESTING_RECENTLY_REJECTED_EDIT = 6;
}
// Copied from: local:aiserver.v1.CppConfigResponse.ImportPredictionConfig (var: q)
message ImportPredictionConfig {
bool is_disabled_by_backend = 1;
bool should_turn_on_automatically = 2;
bool python_enabled = 3;
}
// Copied from: local:aiserver.v1.CppConfigResponse.MergeBehavior (var: D)
message MergeBehavior {
string type = 1;
optional int32 limit = 2;
optional int32 radius = 3;
}
// Copied from: local:aiserver.v1.CppConfigResponse.RecentlyRejectedEditThresholds (var: O)
message RecentlyRejectedEditThresholds {
int32 hard_reject_threshold = 1;
int32 soft_reject_threshold = 2;
}
// Copied from: local:aiserver.v1.CppConfigResponse.SuggestionHintConfig (var: U)
message SuggestionHintConfig {
repeated string important_lsp_extensions = 1;
repeated string enabled_for_path_extensions = 2;
}
optional int32 above_radius = 1;
optional int32 below_radius = 2;
optional MergeBehavior merge_behavior = 4;
optional bool is_on = 5;
optional bool is_ghost_text = 6;
optional bool should_let_user_enable_cpp_even_if_not_pro = 7;
repeated Heuristic heuristics = 8;
repeated string exclude_recently_viewed_files_patterns = 9;
bool enable_rvf_tracking = 10;
int32 global_debounce_duration_millis = 11;
int32 client_debounce_duration_millis = 12;
string cpp_url = 13;
bool use_whitespace_diff_history = 14;
ImportPredictionConfig import_prediction_config = 15;
bool enable_filesync_debounce_skipping = 16;
float check_filesync_hash_percent = 17;
string geo_cpp_backend_url = 18;
optional RecentlyRejectedEditThresholds recently_rejected_edit_thresholds = 19;
bool is_fused_cursor_prediction_model = 20;
bool include_unchanged_lines = 21;
bool should_fetch_rvf_text = 22;
optional int32 max_number_of_cleared_suggestions_since_last_accept = 23;
optional SuggestionHintConfig suggestion_hint_config = 24;
bool allows_tab_chunks = 25;
optional int32 tab_context_refresh_debounce_ms = 26;
optional int32 tab_context_refresh_editor_change_debounce_ms = 27;
}
// Copied from: local:aiserver.v1.CppContextItem (var: se)
message CppContextItem {
string contents = 1;
optional string symbol = 2;
string relative_workspace_path = 3;
float score = 4;
}
// Copied from: local:aiserver.v1.CppCopyEvent (var: Le)
message CppCopyEvent {
string clipboard_contents = 1;
}
// Copied from: local:aiserver.v1.CppDebouncedCursorMovementEvent (var: be)
message CppDebouncedCursorMovementEvent {
PointInTimeModel point_in_time_model = 1;
OneIndexedPosition cursor_position = 2;
}
// Copied from: local:aiserver.v1.CppEditHistoryStatusRequest (var: Ot)
message CppEditHistoryStatusRequest {
}
// Copied from: local:aiserver.v1.CppEditHistoryStatusResponse (var: Ut)
message CppEditHistoryStatusResponse {
bool on = 1;
bool only_if_explicit = 2;
}
// Copied from: local:aiserver.v1.CppEditorChangedEvent (var: Me)
message CppEditorChangedEvent {
PointInTimeModel point_in_time_model = 1;
OneIndexedPosition cursor_position = 2;
repeated IRange visible_ranges = 3;
string editor_id = 4;
}
// Copied from: local:aiserver.v1.CppFate (var: r)
enum CppFate {
CPP_FATE_UNSPECIFIED = 0;
CPP_FATE_ACCEPT = 1;
CPP_FATE_REJECT = 2;
CPP_FATE_PARTIAL_ACCEPT = 3;
}
// Copied from: local:aiserver.v1.CppFileDiffHistory (var: $)
message CppFileDiffHistory {
string file_name = 1;
repeated string diff_history = 2;
repeated double diff_history_timestamps = 3;
}
// Copied from: local:aiserver.v1.CppHistoryAppendEvent (var: Vt)
message CppHistoryAppendEvent {
optional string final_model_hash = 10;
oneof event {
ModelChange model_change = 1;
CppAcceptEvent accept_event = 2;
CppRejectEvent reject_event = 3;
CppManualTriggerEvent manual_trigger_event = 4;
}
}
// Copied from: local:aiserver.v1.CppIntentInfo (var: v)
message CppIntentInfo {
string source = 1;
}
// Copied from: local:aiserver.v1.CppLinterErrorEvent (var: Pe)
message CppLinterErrorEvent {
PointInTimeModel point_in_time_model = 1;
repeated LinterError added_errors = 2;
repeated LinterError removed_errors = 3;
repeated LinterError errors = 4;
}
// Copied from: local:aiserver.v1.CppManualTriggerEvent (var: Yt)
message CppManualTriggerEvent {
CursorPosition position = 2;
}
// Copied from: local:aiserver.v1.CppManualTriggerEventNew (var: Ne)
message CppManualTriggerEventNew {
int32 line_number_one_indexed = 1;
int32 column_number_one_indexed = 2;
PointInTimeModel point_in_time_model = 7;
}
// Copied from: local:aiserver.v1.CppParameterHint (var: ue)
message CppParameterHint {
string label = 1;
optional string documentation = 2;
}
// Copied from: local:aiserver.v1.CppPartialAcceptEvent (var: Ee)
message CppPartialAcceptEvent {
CurrentlyShownCppSuggestion cpp_suggestion = 1;
Edit edit = 2;
PointInTimeModel point_in_time_model = 3;
}
// Copied from: local:aiserver.v1.CppQuickAction (var: qe)
message CppQuickAction {
// Copied from: local:aiserver.v1.CppQuickAction.Edit (var: De)
message Edit {
string text = 1;
IRange range = 2;
}
string title = 1;
repeated Edit edits = 2;
optional bool is_preferred = 3;
CppQuickActionCommand command = 4;
}
// Copied from: local:aiserver.v1.CppQuickActionCommand (var: Fe)
message CppQuickActionCommand {
string title = 1;
string id = 2;
repeated string arguments = 3;
}
// Copied from: local:aiserver.v1.CppQuickActionFireEvent (var: Ue)
message CppQuickActionFireEvent {
PointInTimeModel point_in_time_model = 1;
oneof action_identifier {
CppQuickActionCommand quick_action_command = 2;
CppQuickAction quick_action_event = 3;
}
}
// Copied from: local:aiserver.v1.CppRejectEvent (var: Wt)
message CppRejectEvent {
CppSuggestion cpp_suggestion = 1;
}
// Copied from: local:aiserver.v1.CppRejectEventNew (var: ke)
message CppRejectEventNew {
CurrentlyShownCppSuggestion cpp_suggestion = 1;
PointInTimeModel point_in_time_model = 7;
}
// Copied from: local:aiserver.v1.CppSessionEvent (var: bt)
message CppSessionEvent {
double performance_now_timestamp = 5;
optional double performance_time_origin = 25;
optional int64 global_index = 41;
optional double performance_now_flush_time = 42;
optional int32 event_index = 43;
optional int32 flush_index = 44;
optional int32 global_index_v2 = 45;
oneof event {
CppAcceptEventNew accept_event = 2;
CppRejectEventNew reject_event = 3;
CppManualTriggerEventNew manual_trigger_event = 4;
CppStoppedTrackingModelEvent stopped_tracking_model_event = 6;
CppSuggestEvent suggest_event = 7;
CppLinterErrorEvent linter_error_event = 8;
CppDebouncedCursorMovementEvent debounced_cursor_movement_event = 9;
CppEditorChangedEvent editor_changed_event = 10;
CppCopyEvent copy_event = 11;
CppChangeQuickActionEvent quick_action_event = 13;
CppQuickActionFireEvent quick_action_fire_event = 14;
ModelOpenedEvent model_opened_event = 15;
CmdKEvent cmd_k_event = 17;
ChatEvent chat_event = 18;
AiRequestEvent ai_event = 19;
ScrollEvent scroll_event = 21;
EditorCloseEvent editor_close_event = 22;
TabCloseEvent tab_close_event = 23;
ModelAddedEvent model_added_event = 33;
CppPartialAcceptEvent partial_accept_event = 26;
AcceptCursorPredictionEvent accept_cursor_prediction_event = 27;
RejectCursorPredictionEvent reject_cursor_prediction_event = 28;
SuggestCursorPredictionEvent suggest_cursor_prediction_event = 29;
CppTriggerEvent cpp_trigger_event = 30;
FinishedCppGenerationEvent finished_cpp_generation_event = 31;
BugBotEvent bug_bot_event = 32;
BugBotLinterEvent bug_bot_linter_event = 34;
AnythingQuickAccessSelectionEvent anything_quick_access_selection_event = 35;
LspSuggestionEvent lsp_suggestion_event = 36;
NtpEvent ntp_event = 37;
RepoEvent repo_event = 38;
GitEvent git_event = 39;
ToolCallEvent tool_call_event = 40;
BeforeAiEditEvent before_ai_edit_event = 46;
SearchEvent search_event = 47;
TerminalEvent terminal_event = 48;
WorktreeEvent worktree_event = 49;
ReviewChangesOpenedEvent review_changes_opened_event = 50;
BrowserEvent browser_event = 51;
BackgroundFilesEvent background_files_event = 16;
}
}
// Copied from: local:aiserver.v1.CppSource (var: s)
enum CppSource {
CPP_SOURCE_UNSPECIFIED = 0;
CPP_SOURCE_LINE_CHANGE = 1;
CPP_SOURCE_TYPING = 2;
CPP_SOURCE_OPTION_HOLD = 3;
CPP_SOURCE_LINTER_ERRORS = 4;
CPP_SOURCE_PARAMETER_HINTS = 5;
CPP_SOURCE_CURSOR_PREDICTION = 6;
CPP_SOURCE_MANUAL_TRIGGER = 7;
CPP_SOURCE_EDITOR_CHANGE = 8;
CPP_SOURCE_LSP_SUGGESTIONS = 9;
}
// Copied from: local:aiserver.v1.CppStoppedTrackingModelEvent (var: Re)
message CppStoppedTrackingModelEvent {
// Copied from: local:aiserver.v1.CppStoppedTrackingModelEvent.StoppedTrackingModelReason (var: u)
enum StoppedTrackingModelReason {
STOPPED_TRACKING_MODEL_REASON_UNSPECIFIED = 0;
STOPPED_TRACKING_MODEL_REASON_FILE_TOO_BIG = 1;
STOPPED_TRACKING_MODEL_REASON_FILE_DISPOSED = 2;
STOPPED_TRACKING_MODEL_REASON_CHANGE_TOO_BIG = 3;
}
string model_uuid = 1;
string relative_path = 2;
StoppedTrackingModelReason reason = 3;
}
// Copied from: local:aiserver.v1.CppSuggestEvent (var: _e)
message CppSuggestEvent {
CurrentlyShownCppSuggestion cpp_suggestion = 1;
PointInTimeModel point_in_time_model = 2;
RecoverableCppData recoverable_cpp_data = 3;
}
// Copied from: local:aiserver.v1.CppSuggestion (var: zt)
message CppSuggestion {
string suggestion_text = 1;
IRange range = 2;
bool seen = 5;
SelectionWithOrientation editor_selection_before_peek = 6;
optional string binding_id = 7;
}
// Copied from: local:aiserver.v1.CppTimelineEvent (var: Xt)
message CppTimelineEvent {
// Copied from: local:aiserver.v1.CppTimelineEvent.Change (var: Zt)
message Change {
// Copied from: local:aiserver.v1.CppTimelineEvent.Change.Status (var: g)
enum Status {
STATUS_UNSPECIFIED = 0;
STATUS_CORRECT = 1;
STATUS_UNVALIDATED = 2;
STATUS_INCORRECT = 3;
}
string model_uuid = 1;
int32 change_index = 2;
ModelChange change = 3;
Status status = 4;
}
double timestamp = 1;
oneof v {
CppSessionEvent event = 2;
Change change = 3;
}
}
// Copied from: local:aiserver.v1.CppTriggerEvent (var: Te)
message CppTriggerEvent {
string generation_uuid = 1;
int32 model_version = 2;
OneIndexedPosition cursor_position = 3;
PointInTimeModel point_in_time_model = 4;
CppSource source = 5;
}
// Copied from: local:aiserver.v1.CptFileDiffHistory (var: re)
message CptFileDiffHistory {
string file_name = 1;
repeated EditPatch edit_patches = 2;
}
// Copied from: local:aiserver.v1.CpuProfileConfig (var: ue)
message CpuProfileConfig {
int32 interval = 1;
}
// Copied from: local:aiserver.v1.CreateAgentShareRequest (var: Tp)
message CreateAgentShareRequest {
string bc_id = 1;
}
// Copied from: local:aiserver.v1.CreateAgentShareResponse (var: yp)
message CreateAgentShareResponse {
string share_id = 1;
string share_url = 2;
}
// Copied from: local:aiserver.v1.CreateAutomationWebhookApiKeyRequest (var: vl)
message CreateAutomationWebhookApiKeyRequest {
string automation_id = 1;
optional string name = 2;
}
// Copied from: local:aiserver.v1.CreateAutomationWebhookApiKeyResponse (var: Bl)
message CreateAutomationWebhookApiKeyResponse {
string api_key = 1;
}
// Copied from: local:aiserver.v1.CreateBackgroundComposerPodRequest (var: Ao)
message CreateBackgroundComposerPodRequest {
DevcontainerStartingPoint devcontainer_starting_point = 1;
bool include_secrets = 2;
optional string force_cluster = 3;
optional string force_machine_template = 4;
optional string client_ip = 32;
bool optimistic_prewarming = 5;
}
// Copied from: local:aiserver.v1.CreateBackgroundComposerPodResponse (var: _o)
message CreateBackgroundComposerPodResponse {
string pod_id = 1;
string workspace_root_path = 2;
}
// Copied from: local:aiserver.v1.CreateBackgroundComposerPodSnapshotRequest (var: vo)
message CreateBackgroundComposerPodSnapshotRequest {
string pod_id = 1;
ChangeBackgroundComposerSnapshotVisibilityRequest.Visibility visibility = 2;
optional string bc_id = 3;
}
// Copied from: local:aiserver.v1.CreateBackgroundComposerPodSnapshotResponse (var: Bo)
message CreateBackgroundComposerPodSnapshotResponse {
string snapshot_id = 1;
}
// Copied from: local:aiserver.v1.CreateBackgroundComposerSecretBatchRequest (var: go)
message CreateBackgroundComposerSecretBatchRequest {
// Copied from: local:aiserver.v1.CreateBackgroundComposerSecretBatchRequest.Secret (var: ho)
message Secret {
string name = 1;
string value = 2;
BackgroundComposerSecretLevel level = 3;
}
repeated Secret secrets = 1;
bool team_scope = 2;
repeated string scoped_to_repos = 3;
BackgroundComposerSecretOwner owner = 4;
}
// Copied from: local:aiserver.v1.CreateBackgroundComposerSecretBatchResponse (var: Ao)
message CreateBackgroundComposerSecretBatchResponse {
// Copied from: local:aiserver.v1.CreateBackgroundComposerSecretBatchResponse.ErrorType (var: Ct)
enum ErrorType {
ERROR_TYPE_UNSPECIFIED = 0;
ERROR_TYPE_BAD_REQUEST = 1;
ERROR_TYPE_UNAUTHORIZED = 2;
ERROR_TYPE_INTERNAL = 3;
}
// Copied from: local:aiserver.v1.CreateBackgroundComposerSecretBatchResponse.Result (var: _o)
message Result {
string name = 1;
CreateBackgroundComposerSecretBatchResponse.Status status = 2;
optional string error_message = 3;
optional CreateBackgroundComposerSecretBatchResponse.ErrorType error_type = 4;
}
// Copied from: local:aiserver.v1.CreateBackgroundComposerSecretBatchResponse.Status (var: Jt)
enum Status {
STATUS_UNSPECIFIED = 0;
STATUS_CREATED = 1;
STATUS_UPDATED = 2;
STATUS_ERROR = 3;
}
repeated Result results = 1;
}
// Copied from: local:aiserver.v1.CreateBackgroundComposerSecretRequest (var: po)
message CreateBackgroundComposerSecretRequest {
string name = 1;
string value = 2;
bool team_scope = 3;
repeated string scoped_to_repos = 4;
BackgroundComposerSecretLevel level = 5;
BackgroundComposerSecretOwner owner = 6;
}
// Copied from: local:aiserver.v1.CreateBackgroundComposerSecretResponse (var: fo)
message CreateBackgroundComposerSecretResponse {
}
// Copied from: local:aiserver.v1.CreateBugbotManualRepositoryRuleRequest (var: Ak)
message CreateBugbotManualRepositoryRuleRequest {
int64 installation_id = 1;
optional string ghe_application = 2;
string repo_node_id = 3;
string name = 4;
string content = 5;
optional string status = 6;
repeated string scoped_paths = 7;
}
// Copied from: local:aiserver.v1.CreateBugbotManualRepositoryRuleResponse (var: _k)
message CreateBugbotManualRepositoryRuleResponse {
BugbotManualRepositoryRule rule = 1;
}
// Copied from: local:aiserver.v1.CreateBugbotTeamRuleRequest (var: rk)
message CreateBugbotTeamRuleRequest {
string name = 1;
string content = 2;
optional bool is_active = 3;
optional bool is_required = 4;
optional int32 team_id = 5;
}
// Copied from: local:aiserver.v1.CreateBugbotTeamRuleResponse (var: sk)
message CreateBugbotTeamRuleResponse {
BugbotRule rule = 1;
}
// Copied from: local:aiserver.v1.CreateCrewRequest (var: Vv)
message CreateCrewRequest {
string name = 1;
}
// Copied from: local:aiserver.v1.CreateCrewResponse (var: Yv)
message CreateCrewResponse {
Crew crew = 1;
}
// Copied from: local:aiserver.v1.CreateDiagramParams (var: lr)
message CreateDiagramParams {
string content = 1;
}
// Copied from: local:aiserver.v1.CreateDiagramResult (var: ur)
message CreateDiagramResult {
optional string error = 1;
}
// Copied from: local:aiserver.v1.CreateDiagramStream (var: mr)
message CreateDiagramStream {
}
// Copied from: local:aiserver.v1.CreateExperimentalIndexRequest (var: i)
message CreateExperimentalIndexRequest {
repeated string files = 1;
string target_dir = 2;
string repo = 3;
}
// Copied from: local:aiserver.v1.CreateExperimentalIndexResponse (var: a)
message CreateExperimentalIndexResponse {
string index_id = 1;
}
// Copied from: local:aiserver.v1.CreateGroupRequest (var: T_)
message CreateGroupRequest {
int32 team_id = 1;
string name = 2;
optional int32 directory_group_id = 3;
optional GroupType type = 4;
}
// Copied from: local:aiserver.v1.CreateGroupResponse (var: y_)
message CreateGroupResponse {
Group group = 1;
}
// Copied from: local:aiserver.v1.CreateJiraRoutingRuleRequest (var: kv)
message CreateJiraRoutingRuleRequest {
int32 team_id = 1;
string repo = 2;
string rule_text = 3;
}
// Copied from: local:aiserver.v1.CreateJiraRoutingRuleResponse (var: wv)
message CreateJiraRoutingRuleResponse {
JiraRoutingRule rule = 1;
}
// Copied from: local:aiserver.v1.CreateOrganizationApiKeyRequest (var: Ml)
message CreateOrganizationApiKeyRequest {
string organization_id = 1;
string name = 2;
repeated string scopes = 3;
}
// Copied from: local:aiserver.v1.CreateOrganizationApiKeyResponse (var: Ll)
message CreateOrganizationApiKeyResponse {
string api_key = 1;
string api_key_id = 2;
}
// Copied from: local:aiserver.v1.CreateOrganizationGroupAnthropicCyberEnrollmentUrlRequest (var: Ms)
message CreateOrganizationGroupAnthropicCyberEnrollmentUrlRequest {
string organization_id = 1;
int64 group_id = 2;
}
// Copied from: local:aiserver.v1.CreateOrganizationGroupAnthropicCyberEnrollmentUrlResponse (var: Ls)
message CreateOrganizationGroupAnthropicCyberEnrollmentUrlResponse {
string enrollment_url = 1;
string user_profile_id = 2;
}
// Copied from: local:aiserver.v1.CreateOrganizationGroupRequest (var: cs)
message CreateOrganizationGroupRequest {
string organization_id = 1;
string name = 2;
optional CreateOrganizationGroupScimMapping scim_mapping = 3;
}
// Copied from: local:aiserver.v1.CreateOrganizationGroupResponse (var: ps)
message CreateOrganizationGroupResponse {
OrganizationGroup group = 1;
}
// Copied from: local:aiserver.v1.CreateOrganizationGroupScimMapping (var: ds)
message CreateOrganizationGroupScimMapping {
int64 scim_directory_id = 1;
string scim_group_external_id = 2;
}
// Copied from: local:aiserver.v1.CreateOrganizationTeamIdentityProviderMode (var: ie)
enum CreateOrganizationTeamIdentityProviderMode {
CREATE_ORGANIZATION_TEAM_IDENTITY_PROVIDER_MODE_UNSPECIFIED = 0;
CREATE_ORGANIZATION_TEAM_IDENTITY_PROVIDER_MODE_USE_ORGANIZATION = 1;
CREATE_ORGANIZATION_TEAM_IDENTITY_PROVIDER_MODE_CREATE_NEW = 2;
}
// Copied from: local:aiserver.v1.CreateOrganizationTeamRequest (var: zr)
message CreateOrganizationTeamRequest {
string organization_id = 1;
string name = 2;
string slug = 3;
int32 owner_user_id = 4;
optional CreateOrganizationTeamScimMapping scim_mapping = 5;
CreateOrganizationTeamIdentityProviderMode identity_provider_mode = 6;
}
// Copied from: local:aiserver.v1.CreateOrganizationTeamResponse (var: Xr)
message CreateOrganizationTeamResponse {
int32 team_id = 1;
string name = 2;
string slug = 3;
}
// Copied from: local:aiserver.v1.CreateOrganizationTeamScimMapping (var: jr)
message CreateOrganizationTeamScimMapping {
int64 scim_directory_id = 1;
string scim_group_external_id = 2;
}
// Copied from: local:aiserver.v1.CreateP2PReferralLinkRequest (var: im)
message CreateP2PReferralLinkRequest {
}
// Copied from: local:aiserver.v1.CreateP2PReferralLinkResponse (var: am)
message CreateP2PReferralLinkResponse {
string code = 1;
string url_path = 2;
string title = 3;
string description = 4;
}
// Copied from: agent.v1.CreatePlanArgs (var: _e)
message CreatePlanArgs {
string plan = 1;
repeated TodoItem todos = 2;
string overview = 3;
string name = 4;
bool is_project = 5;
repeated Phase phases = 6;
}
// Copied from: local:aiserver.v1.CreatePlanParams (var: gs)
message CreatePlanParams {
string plan = 1;
string title = 2;
string summary = 3;
repeated Step steps = 4;
string old_str = 5;
string new_str = 6;
string name = 7;
repeated TodoItem todos = 8;
string overview = 9;
bool is_spec = 10;
bool is_project = 11;
repeated PlanPhase phases = 12;
}
// Copied from: agent.v1.CreatePlanRequestQuery (var: we)
message CreatePlanRequestQuery {
CreatePlanArgs args = 1;
string tool_call_id = 2;
}
// Copied from: agent.v1.CreatePlanRequestResponse (var: Ee)
message CreatePlanRequestResponse {
CreatePlanResult result = 1;
}
// Copied from: local:aiserver.v1.CreatePlanResult (var: hs)
message CreatePlanResult {
// Copied from: local:aiserver.v1.CreatePlanResult.Accepted (var: As)
message Accepted {
repeated TodoItem final_todos = 1;
}
// Copied from: local:aiserver.v1.CreatePlanResult.Modified (var: Ts)
message Modified {
string new_plan = 1;
repeated TodoItem final_todos = 2;
}
// Copied from: local:aiserver.v1.CreatePlanResult.Rejected (var: _s)
message Rejected {
}
string plan_uri = 4;
oneof result {
Accepted accepted = 1;
Rejected rejected = 2;
Modified modified = 3;
}
}
// Copied from: local:aiserver.v1.CreatePlanStream (var: ys)
message CreatePlanStream {
}
// Copied from: local:aiserver.v1.CreatePluginRequest (var: GE)
message CreatePluginRequest {
string name = 2;
string display_name = 3;
string description = 4;
repeated string tags = 5;
optional string git_url = 6;
optional string git_ref = 7;
optional string repository_url = 8;
optional string logo_url = 9;
repeated Rule inline_rules = 16;
repeated TeamHook inline_hooks = 17;
repeated TeamCommand inline_commands = 18;
string mcp_config_json = 19;
google.protobuf.Struct variables = 20;
repeated TeamSkill inline_skills = 21;
repeated TeamSubagent inline_subagents = 22;
optional int64 marketplace_id = 23;
optional int32 team_id = 24;
}
// Copied from: local:aiserver.v1.CreatePluginResponse (var: HE)
message CreatePluginResponse {
Plugin plugin = 1;
}
// Copied from: agent.v1.CreatePrAction (var: Yt)
message CreatePrAction {
string title = 1;
string body = 2;
optional string base_branch = 3;
optional bool draft = 4;
string branch_name = 5;
repeated string add_labels = 6;
optional string repo_url = 7;
optional bool skip_branch_prefix_check = 8;
}
// Copied from: local:aiserver.v1.CreateProtectedGitScopeRequest (var: qm)
message CreateProtectedGitScopeRequest {
int32 team_id = 1;
string repo_url = 2;
}
// Copied from: local:aiserver.v1.CreateProtectedGitScopeResponse (var: Dm)
message CreateProtectedGitScopeResponse {
ProtectedGitScope scope = 1;
}
// Copied from: local:aiserver.v1.CreateRmFilesParams (var: gt)
message CreateRmFilesParams {
repeated string removed_file_paths = 1;
repeated string created_file_paths = 2;
repeated string created_directory_paths = 3;
}
// Copied from: local:aiserver.v1.CreateRmFilesResult (var: ht)
message CreateRmFilesResult {
repeated string created_file_paths = 1;
repeated string removed_file_paths = 2;
}
// Copied from: local:aiserver.v1.CreateScimDirectoryRequest (var: Y_)
message CreateScimDirectoryRequest {
string organization_id = 1;
string scim_directory_external_id = 2;
ScimDirectoryProvider provider = 3;
ScimDirectoryOwnerType owner_type = 4;
}
// Copied from: local:aiserver.v1.CreateScimDirectoryResponse (var: K_)
message CreateScimDirectoryResponse {
ScimDirectory directory = 1;
}
// Copied from: local:aiserver.v1.CreateScimTargetMappingRequest (var: iT)
message CreateScimTargetMappingRequest {
string organization_id = 1;
int64 scim_directory_id = 2;
string scim_group_external_id = 3;
int64 target_id = 4;
ScimTargetMappingTargetType target_type = 5;
optional int64 cursor_group_id = 6;
ScimTargetMappingRole role = 7;
ScimTargetMappingSourceType source_type = 8;
}
// Copied from: local:aiserver.v1.CreateScimTargetMappingResponse (var: aT)
message CreateScimTargetMappingResponse {
ScimTargetMapping mapping = 1;
}
// Copied from: local:aiserver.v1.CreateSlackRepoRoutingRuleRequest (var: DA)
message CreateSlackRepoRoutingRuleRequest {
int32 team_id = 1;
string pattern = 2;
string repo = 3;
SlackRoutingRuleTargetType target_type = 4;
optional string environment_public_id = 5;
}
// Copied from: local:aiserver.v1.CreateSlackRepoRoutingRuleResponse (var: OA)
message CreateSlackRepoRoutingRuleResponse {
SlackRepoRoutingRule rule = 1;
}
// Copied from: local:aiserver.v1.CreateSupportImpersonationSessionInternalRequest (var: cS)
message CreateSupportImpersonationSessionInternalRequest {
int64 target_user_id = 1;
string reason = 2;
}
// Copied from: local:aiserver.v1.CreateSupportImpersonationSessionInternalResponse (var: dS)
message CreateSupportImpersonationSessionInternalResponse {
string redemption_code = 1;
string target_email = 2;
string target_auth_id = 3;
int64 redemption_expires_at_ms = 4;
}
// Copied from: local:aiserver.v1.CreateTeamApiKeyRequest (var: Sl)
message CreateTeamApiKeyRequest {
int32 team_id = 1;
string name = 2;
repeated string scopes = 3;
optional int64 expires_at = 4;
}
// Copied from: local:aiserver.v1.CreateTeamApiKeyResponse (var: Il)
message CreateTeamApiKeyResponse {
string api_key = 1;
}
// Copied from: local:aiserver.v1.CreateTeamCommandRequest (var: Dy)
message CreateTeamCommandRequest {
string name = 1;
string content = 2;
optional string description = 3;
optional bool is_active = 4;
optional int32 team_id = 5;
}
// Copied from: local:aiserver.v1.CreateTeamCommandResponse (var: Oy)
message CreateTeamCommandResponse {
TeamCommand command = 1;
}
// Copied from: local:aiserver.v1.CreateTeamCustomerTelemetryDestinationRequest (var: FT)
message CreateTeamCustomerTelemetryDestinationRequest {
int32 team_id = 1;
string endpoint_url = 2;
optional TeamCustomerTelemetryDestinationHeaders headers = 3;
bool metrics_enabled = 4;
bool logs_enabled = 5;
bool enabled = 6;
optional TeamCustomerTelemetryDestinationFamilyList disabled_families = 7;
optional TeamCustomerTelemetryDestinationFamilyList enabled_families = 8;
optional bool auto_enable_new_families = 9;
}
// Copied from: local:aiserver.v1.CreateTeamCustomerTelemetryDestinationResponse (var: qT)
message CreateTeamCustomerTelemetryDestinationResponse {
TeamCustomerTelemetryDestination destination = 1;
}
// Copied from: local:aiserver.v1.CreateTeamFreeTrialCodeRequest (var: ed)
message CreateTeamFreeTrialCodeRequest {
optional TrialType trial_type = 1;
optional FreeTrialCodePurpose code_purpose = 2;
}
// Copied from: local:aiserver.v1.CreateTeamFreeTrialCodeResponse (var: td)
message CreateTeamFreeTrialCodeResponse {
string code = 1;
}
// Copied from: local:aiserver.v1.CreateTeamGroupRequest (var: Ws)
message CreateTeamGroupRequest {
int32 team_id = 1;
string name = 2;
optional CreateOrganizationGroupScimMapping scim_mapping = 3;
}
// Copied from: local:aiserver.v1.CreateTeamGroupResponse (var: zs)
message CreateTeamGroupResponse {
TeamGroup group = 1;
}
// Copied from: local:aiserver.v1.CreateTeamHookRequest (var: Cy)
message CreateTeamHookRequest {
string hook_step = 1;
string script_name = 2;
repeated string operating_systems = 3;
bool is_active = 4;
optional string script_content = 5;
optional string hook_type = 6;
optional string prompt_content = 7;
optional string prompt_model = 8;
optional int32 team_id = 9;
}
// Copied from: local:aiserver.v1.CreateTeamHookResponse (var: Ny)
message CreateTeamHookResponse {
TeamHook hook = 1;
}
// Copied from: local:aiserver.v1.CreateTeamRepoRequest (var: vm)
message CreateTeamRepoRequest {
int32 team_id = 1;
string repo_url = 2;
string repo_type = 3;
}
// Copied from: local:aiserver.v1.CreateTeamRepoResponse (var: Bm)
message CreateTeamRepoResponse {
int32 repo_id = 1;
}
// Copied from: local:aiserver.v1.CreateTeamRequest (var: uu)
message CreateTeamRequest {
string name = 1;
optional bool privacy_mode_forced = 2;
optional bool allow_domain_join = 3;
optional string source = 4;
}
// Copied from: local:aiserver.v1.CreateTeamResponse (var: mu)
message CreateTeamResponse {
int32 team_id = 1;
}
// Copied from: local:aiserver.v1.CreateTeamRuleRequest (var: yy)
message CreateTeamRuleRequest {
string name = 1;
string content = 2;
repeated string globs = 5;
bool is_active = 3;
bool is_required = 4;
optional int32 team_id = 6;
TeamRuleAgentType agent_type = 7;
}
// Copied from: local:aiserver.v1.CreateTeamRuleResponse (var: ky)
message CreateTeamRuleResponse {
Rule rule = 1;
}
// Copied from: local:aiserver.v1.CreateTeamServiceAccountRequest (var: Ul)
message CreateTeamServiceAccountRequest {
int32 team_id = 1;
string name = 2;
optional string description = 3;
repeated string initial_repo_scope = 4;
optional bool initial_repo_scope_enabled = 5;
}
// Copied from: local:aiserver.v1.CreateTeamServiceAccountResponse (var: xl)
message CreateTeamServiceAccountResponse {
ServiceAccountInfo service_account = 1;
string api_key = 2;
}
// Copied from: local:aiserver.v1.CreateTeamWithFreeTrialRequest (var: Hi)
message CreateTeamWithFreeTrialRequest {
string name = 1;
optional bool privacy_mode_forced = 2;
optional string free_trial_code = 3;
}
// Copied from: local:aiserver.v1.CreateTeamWithFreeTrialResponse (var: Vi)
message CreateTeamWithFreeTrialResponse {
int32 team_id = 1;
}
// Copied from: local:aiserver.v1.CreateTeamWithOrgRequest (var: Yi)
message CreateTeamWithOrgRequest {
string name = 1;
string invite_code = 2;
optional bool privacy_mode_forced = 3;
}
// Copied from: local:aiserver.v1.CreateTeamWithOrgResponse (var: Ki)
message CreateTeamWithOrgResponse {
int32 team_id = 1;
int64 org_id = 2;
}
// Copied from: local:aiserver.v1.CreateTeamsTrialV2ReferralCodeRequest (var: nd)
message CreateTeamsTrialV2ReferralCodeRequest {
}
// Copied from: local:aiserver.v1.CreateTeamsTrialV2ReferralCodeResponse (var: rd)
message CreateTeamsTrialV2ReferralCodeResponse {
string code = 1;
}
// Copied from: local:aiserver.v1.CreateUsageAlertsRequest (var: xw)
message CreateUsageAlertsRequest {
int32 team_id = 1;
string target_type = 2;
string target_scope = 3;
repeated int32 threshold_cents = 4;
string notification_mode = 5;
optional bool notify_all_admins = 6;
repeated int32 notify_admin_user_ids = 7;
optional bool notify_member = 8;
optional int32 group_id = 9;
optional string threshold_type = 10;
repeated int32 threshold_bps = 11;
optional int32 resource_threshold_cents = 12;
optional string resource_threshold_id = 13;
optional string resource_threshold_level = 14;
repeated string notification_channels = 15;
}
// Copied from: local:aiserver.v1.CreateUsageAlertsResponse (var: Qw)
message CreateUsageAlertsResponse {
repeated UsageAlert created_alerts = 1;
}
// Copied from: local:aiserver.v1.CreateUserApiKeyRequest (var: ru)
message CreateUserApiKeyRequest {
string name = 1;
repeated string scopes = 2;
optional int64 expires_at = 3;
}
// Copied from: local:aiserver.v1.CreateUserApiKeyResponse (var: su)
message CreateUserApiKeyResponse {
string api_key = 1;
}
// Copied from: local:aiserver.v1.Crew (var: Fv)
message Crew {
string id = 1;
string name = 2;
string vision = 3;
string goals = 4;
string slack_channel = 5;
repeated CrewAgent agents = 6;
string created_at = 7;
string updated_at = 8;
string standup_time = 9;
string datadog_dashboard_url = 10;
string notion_doc_url = 11;
string repo_url = 12;
string base_branch = 13;
string linear_project_url = 14;
string steering_note = 15;
string steering_note_updated_at = 16;
}
// Copied from: local:aiserver.v1.CrewActivityRun (var: $v)
message CrewActivityRun {
string run_uuid = 1;
string status = 2;
int64 created_at = 3;
bool posted_to_slack = 4;
string slack_delivery = 5;
string slack_error = 6;
string background_composer_id = 7;
string summary = 8;
}
// Copied from: local:aiserver.v1.CrewAgent (var: Mv)
message CrewAgent {
string id = 1;
string name = 3;
string automation_id = 7;
string archetype = 9;
bool drifted = 10;
bool paused = 11;
string repo_mode = 12;
repeated CrewMcpToolStatus mcp_tool_statuses = 14;
string persona = 15;
}
// Copied from: local:aiserver.v1.CrewArchetype (var: Dv)
message CrewArchetype {
string key = 1;
string label = 2;
string description = 3;
string repo_mode = 4;
repeated CrewRecommendedMcp recommended_mcp = 5;
}
// Copied from: local:aiserver.v1.CrewMcpToolStatus (var: Lv)
message CrewMcpToolStatus {
string key = 1;
string label = 2;
string state = 3;
string server_name = 4;
}
// Copied from: local:aiserver.v1.CrewMemberActivity (var: eB)
message CrewMemberActivity {
string agent_id = 1;
string agent_name = 2;
string archetype = 3;
string automation_id = 4;
bool paused = 5;
repeated CrewActivityRun recent_runs = 6;
optional int64 next_run_at = 7;
}
// Copied from: local:aiserver.v1.CrewMemberStats (var: aB)
message CrewMemberStats {
string agent_id = 1;
string agent_name = 2;
string automation_id = 3;
int32 runs = 4;
int32 prs_opened = 5;
int32 prs_merged = 6;
int32 files_changed = 7;
string last_activity_at = 8;
int32 runs_posted = 9;
}
// Copied from: local:aiserver.v1.CrewPullRequest (var: lB)
message CrewPullRequest {
string pr_url = 1;
string title = 2;
string agent_id = 3;
string agent_name = 4;
bool is_draft = 5;
string created_at = 6;
string background_composer_id = 7;
}
// Copied from: local:aiserver.v1.CrewRecommendedMcp (var: qv)
message CrewRecommendedMcp {
string name = 1;
string label = 2;
}
// Copied from: local:aiserver.v1.CrewScheduleStatus (var: Gv)
message CrewScheduleStatus {
bool ok = 1;
string warning = 2;
}
// Copied from: local:aiserver.v1.CrewSlackChannelStatus (var: Hv)
message CrewSlackChannelStatus {
bool ok = 1;
bool bot_in_channel = 2;
string warning = 3;
}
// Copied from: local:aiserver.v1.CrewStandupDigestEntry (var: cB)
message CrewStandupDigestEntry {
string agent_id = 1;
string agent_name = 2;
string archetype = 3;
string persona = 4;
string text = 5;
int64 posted_at = 6;
}
// Copied from: local:aiserver.v1.CrewStandupTriggerResult (var: sB)
message CrewStandupTriggerResult {
string agent_id = 1;
string agent_name = 2;
bool success = 3;
string background_composer_id = 4;
string error = 5;
}
// Copied from: local:aiserver.v1.CrewWriteBackRequest (var: hB)
message CrewWriteBackRequest {
string token = 1;
string action = 2;
string kind = 3;
string url = 4;
string text = 5;
}
// Copied from: local:aiserver.v1.CrewWriteBackResponse (var: AB)
message CrewWriteBackResponse {
bool ok = 1;
bool updated = 2;
string reason = 3;
}
// Copied from: local:aiserver.v1.CrossExtHostHeader (var: Oe)
message CrossExtHostHeader {
string key = 1;
string value = 2;
}
// Copied from: local:aiserver.v1.CrossExtHostHeaders (var: Ue)
message CrossExtHostHeaders {
repeated CrossExtHostHeader headers = 1;
}
// Copied from: local:aiserver.v1.CurrentFileContext (var: Pe)
message CurrentFileContext {
string relative_path = 1;
string language = 2;
int32 cursor_line = 3;
string full_content = 4;
}
// Copied from: local:aiserver.v1.CurrentFileInfo (var: W)
message CurrentFileInfo {
// Copied from: local:aiserver.v1.CurrentFileInfo.NotebookCell (var: z)
message NotebookCell {
}
string relative_workspace_path = 1;
string contents = 2;
bool rely_on_filesync = 18;
optional string sha_256_hash = 17;
repeated NotebookCell cells = 16;
repeated BM25Chunk top_chunks = 10;
int32 contents_start_at_line = 9;
CursorPosition cursor_position = 3;
repeated DataframeInfo dataframes = 4;
int32 total_number_of_lines = 8;
string language_id = 5;
CursorRange selection = 6;
optional int32 alternative_version_id = 11;
repeated Diagnostic diagnostics = 7;
optional int32 file_version = 14;
repeated int32 cell_start_lines = 15;
string workspace_root_path = 19;
optional string line_ending = 20;
}
// Copied from: local:aiserver.v1.CurrentFileLocationData (var: rn)
message CurrentFileLocationData {
string relative_workspace_path = 1;
int32 line_number = 2;
string text = 3;
}
// Copied from: local:aiserver.v1.CurrentFolderFileOrFolder (var: Lt)
message CurrentFolderFileOrFolder {
string name = 1;
bool is_folder = 2;
}
// Copied from: local:aiserver.v1.CurrentlyShownCppSuggestion (var: ge)
message CurrentlyShownCppSuggestion {
int32 suggestion_id = 1;
string suggestion_text = 2;
int32 model_version_when_the_change_is_first_indicated_to_the_user_but_not_shown_in_the_model = 3;
optional IRange range_of_suggestion_in_current_model = 4;
string original_text = 5;
optional string binding_id = 6;
}
// Copied from: local:aiserver.v1.CursorBlameSettings (var: vc)
message CursorBlameSettings {
bool enabled = 1;
}
// Copied from: local:aiserver.v1.CursorHelpConversationMessage (var: po)
message CursorHelpConversationMessage {
string id = 1;
string role = 2;
string content = 3;
}
// Copied from: local:aiserver.v1.CursorIgnoreControls (var: Vm)
message CursorIgnoreControls {
bool hierarchical_enabled = 1;
bool ignore_symlinks = 2;
}
// Copied from: local:aiserver.v1.CursorPosition (var: g)
message CursorPosition {
int32 line = 1;
int32 column = 2;
}
// Copied from: agent.v1.CursorPositionAction (var: T)
message CursorPositionAction {
}
// Copied from: local:aiserver.v1.CursorPrediction (var: Se)
message CursorPrediction {
// Copied from: local:aiserver.v1.CursorPrediction.CursorPredictionSource (var: l)
enum CursorPredictionSource {
CURSOR_PREDICTION_SOURCE_UNSPECIFIED = 0;
CURSOR_PREDICTION_SOURCE_ALWAYS_ON = 1;
CURSOR_PREDICTION_SOURCE_ACCEPT = 2;
CURSOR_PREDICTION_SOURCE_UNDO = 3;
CURSOR_PREDICTION_SOURCE_EDITOR_CHANGE = 4;
}
string request_id = 1;
int32 prediction_id = 2;
int32 line_number = 3;
CursorPredictionSource source = 4;
optional string binding_id = 5;
}
// Copied from: local:aiserver.v1.CursorRange (var: q)
message CursorRange {
CursorPosition start_position = 1;
CursorPosition end_position = 2;
}
// Copied from: local:aiserver.v1.CursorRule (var: ae)
message CursorRule {
string name = 1;
string description = 2;
optional string body = 3;
optional bool is_from_glob = 4;
optional bool always_apply = 5;
optional bool attach_to_background_agents = 6;
optional string full_path = 7;
repeated string environments = 8;
repeated string disabled_environments = 9;
optional string plugin = 10;
optional string marketplace = 11;
}
// Copied from: local:aiserver.v1.CursorSelection (var: pe)
message CursorSelection {
int32 selection_start_line_number = 1;
int32 selection_start_column = 2;
int32 position_line_number = 3;
int32 position_column = 4;
}
// Copied from: local:aiserver.v1.CustomErrorDetails (var: Ae)
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: agent.v1.CustomModeDescriptor (var: di)
message CustomModeDescriptor {
string id = 1;
string label = 2;
optional string description = 3;
optional string icon = 4;
optional string color = 5;
CustomModeSource source = 6;
optional string source_path = 7;
optional string source_hash = 8;
optional string managed_skill_id = 9;
optional string plugin_id = 10;
optional string plugin_snapshot_token = 11;
}
// Copied from: agent.v1.CustomModeExitIntent (var: fi)
message CustomModeExitIntent {
AgentMode next_mode = 1;
SubmittedExitedCustomMode exited_mode = 2;
}
// Copied from: agent.v1.CustomModeIntent (var: gi)
message CustomModeIntent {
oneof intent {
SubmittedCustomMode enter = 1;
CustomModeExitIntent exit = 2;
}
}
// Copied from: agent.v1.CustomModeSource (var: Ws)
enum CustomModeSource {
CUSTOM_MODE_SOURCE_UNSPECIFIED = 0;
CUSTOM_MODE_SOURCE_AGENT_SKILL = 1;
CUSTOM_MODE_SOURCE_PLUGIN_SKILL = 2;
CUSTOM_MODE_SOURCE_REPO_SKILL = 3;
CUSTOM_MODE_SOURCE_MANAGED_SKILL = 4;
}
// Copied from: agent.v1.CustomSubagent (var: T)
message CustomSubagent {
string full_path = 1;
string name = 2;
string description = 3;
repeated string tools = 4;
string model = 5;
string prompt = 6;
CustomSubagentPermissionMode permission_mode = 7;
bool is_background = 8;
optional string plugin = 9;
optional string marketplace = 10;
optional string plugin_id = 11;
optional string marketplace_id = 12;
bool force_default_model = 13;
optional string source = 14;
}
// Copied from: agent.v1.CustomSubagentPermissionMode (var: r)
enum CustomSubagentPermissionMode {
CUSTOM_SUBAGENT_PERMISSION_MODE_UNSPECIFIED = 0;
CUSTOM_SUBAGENT_PERMISSION_MODE_DEFAULT = 1;
CUSTOM_SUBAGENT_PERMISSION_MODE_READONLY = 2;
CUSTOM_SUBAGENT_PERMISSION_MODE_AGENT_ONLY = 3;
}
// Copied from: local:aiserver.v1.CustomToolCall (var: qt)
message CustomToolCall {
string tool_id = 1;
string params = 2;
}
// Copied from: local:aiserver.v1.CustomToolResult (var: Ot)
message CustomToolResult {
string tool_id = 1;
string result = 2;
}
// Copied from: local:aiserver.v1.CycleType (var: de)
enum CycleType {
CYCLE_TYPE_UNSPECIFIED = 0;
CYCLE_TYPE_MONTH = 1;
CYCLE_TYPE_START_TIME = 2;
}
// Copied from: local:aiserver.v1.DailyMetrics (var: pd)
message DailyMetrics {
int64 date = 1;
int32 active_users = 2;
int32 lines_added = 3;
int32 lines_deleted = 4;
int32 accepted_lines_added = 5;
int32 accepted_lines_deleted = 6;
int32 total_applies = 7;
int32 total_accepts = 8;
int32 total_rejects = 9;
int32 total_tabs_shown = 10;
int32 total_tabs_accepted = 11;
int32 composer_requests = 12;
int32 chat_requests = 13;
int32 agent_requests = 14;
int32 cmdk_usages = 15;
int32 subscription_included_reqs = 16;
int32 api_key_reqs = 17;
int32 usage_based_reqs = 18;
int32 bugbot_usages = 19;
repeated StringCount model_usage = 20;
repeated StringCount extension_usage = 21;
repeated StringCount tab_extension_usage = 22;
repeated StringCount client_version_usage = 23;
}
// Copied from: local:aiserver.v1.DailySpendByCategory (var: u_)
message DailySpendByCategory {
int64 day = 1;
string category = 2;
int32 spend_cents = 3;
int64 total_tokens = 4;
}
// Copied from: local:aiserver.v1.DailySpendPoint (var: a_)
message DailySpendPoint {
int64 day = 1;
int32 spend_cents = 2;
}
// Copied from: local:aiserver.v1.DashboardAction (var: Ee)
message DashboardAction {
string action = 1;
map<string, string> args = 2;
optional string success_message = 3;
}
// Copied from: local:aiserver.v1.DataRetentionPolicy (var: oc)
message DataRetentionPolicy {
// Copied from: local:aiserver.v1.DataRetentionPolicy.Indefinite (var: ic)
message Indefinite {
}
// Copied from: local:aiserver.v1.DataRetentionPolicy.Limited (var: ac)
message Limited {
uint32 hours = 1;
}
oneof kind {
Indefinite indefinite = 1;
Limited limited = 2;
}
}
// Copied from: local:aiserver.v1.DatabaseProvider (var: a)
enum DatabaseProvider {
DATABASE_PROVIDER_UNSPECIFIED = 0;
DATABASE_PROVIDER_AURORA = 1;
DATABASE_PROVIDER_PLANETSCALE = 2;
}
// Copied from: local:aiserver.v1.DataframeInfo (var: ne)
message DataframeInfo {
// Copied from: local:aiserver.v1.DataframeInfo.Column (var: re)
message Column {
string key = 1;
string type = 2;
}
string name = 1;
string shape = 2;
int32 data_dimensionality = 3;
repeated Column columns = 6;
int32 row_count = 7;
string index_column = 8;
}
// Copied from: local:aiserver.v1.DebugInfo (var: Eo)
message DebugInfo {
// Copied from: local:aiserver.v1.DebugInfo.Breakpoint (var: Bo)
message Breakpoint {
string relative_workspace_path = 1;
int32 line_number = 2;
repeated string lines_before_breakpoint = 3;
repeated string lines_after_breakpoint = 4;
optional string exception_info = 5;
}
// Copied from: local:aiserver.v1.DebugInfo.CallStackFrame (var: vo)
message CallStackFrame {
string relative_workspace_path = 1;
int32 line_number = 2;
string function_name = 3;
repeated DebugInfo.Scope scopes = 4;
}
// Copied from: local:aiserver.v1.DebugInfo.Scope (var: Io)
message Scope {
string name = 1;
repeated DebugInfo.Variable variables = 2;
}
// Copied from: local:aiserver.v1.DebugInfo.Variable (var: So)
message Variable {
string name = 1;
string value = 2;
optional string type = 3;
}
Breakpoint breakpoint = 1;
repeated CallStackFrame call_stack = 2;
repeated CodeBlock history = 3;
}
// Copied from: agent.v1.DebugModeConfig (var: I)
message DebugModeConfig {
string log_path = 1;
string server_endpoint = 2;
string session_id = 3;
}
// Copied from: local:aiserver.v1.DeepSearchParams (var: or)
message DeepSearchParams {
string query = 1;
}
// Copied from: local:aiserver.v1.DeepSearchResult (var: ir)
message DeepSearchResult {
bool success = 1;
string result = 2;
}
// Copied from: local:aiserver.v1.DeepSearchStream (var: ar)
message DeepSearchStream {
}
// Copied from: local:aiserver.v1.DeepSearchSubagentParams (var: Jn)
message DeepSearchSubagentParams {
string query = 1;
}
// Copied from: local:aiserver.v1.DeepSearchSubagentReturnValue (var: Cn)
message DeepSearchSubagentReturnValue {
// Copied from: local:aiserver.v1.DeepSearchSubagentReturnValue.ContextItem (var: Nn)
message ContextItem {
string file = 1;
optional LineRange line_range = 2;
string explanation = 3;
}
repeated ContextItem context_items = 1;
}
// Copied from: local:aiserver.v1.DeeplinkControls (var: gc)
message DeeplinkControls {
bool enabled = 1;
bool allow_public_deeplinks = 2;
}
// Copied from: local:aiserver.v1.DeleteAccountRequest (var: Qn)
message DeleteAccountRequest {
}
// Copied from: local:aiserver.v1.DeleteAccountResponse (var: Gn)
message DeleteAccountResponse {
}
// Copied from: local:aiserver.v1.DeleteAgentStoreFilesRequest (var: eg)
message DeleteAgentStoreFilesRequest {
optional string store_id = 1;
repeated AgentStoreDeleteFileEntry files = 2;
}
// Copied from: local:aiserver.v1.DeleteAgentStoreFilesResponse (var: tg)
message DeleteAgentStoreFilesResponse {
repeated AgentStoreDeleteFileResult results = 1;
}
// Copied from: agent.v1.DeleteArgs (var: s)
message DeleteArgs {
string path = 1;
string tool_call_id = 2;
}
// Copied from: local:aiserver.v1.DeleteBackgroundComposerRequest (var: Ai)
message DeleteBackgroundComposerRequest {
string bc_id = 1;
}
// Copied from: local:aiserver.v1.DeleteBackgroundComposerResponse (var: _i)
message DeleteBackgroundComposerResponse {
}
// Copied from: local:aiserver.v1.DeleteBedrockIamRoleRequest (var: cp)
message DeleteBedrockIamRoleRequest {
int32 team_id = 1;
}
// Copied from: local:aiserver.v1.DeleteBedrockIamRoleResponse (var: dp)
message DeleteBedrockIamRoleResponse {
bool success = 1;
string error_message = 2;
}
// Copied from: local:aiserver.v1.DeleteBitbucketServerInstanceRequest (var: Jn)
message DeleteBitbucketServerInstanceRequest {
string uuid = 1;
}
// Copied from: local:aiserver.v1.DeleteBitbucketServerInstanceResponse (var: Cn)
message DeleteBitbucketServerInstanceResponse {
}
// Copied from: local:aiserver.v1.DeleteBugbotLearnedRuleRequest (var: fk)
message DeleteBugbotLearnedRuleRequest {
string rule_id = 1;
int64 installation_id = 2;
optional string ghe_application = 3;
}
// Copied from: local:aiserver.v1.DeleteBugbotLearnedRuleResponse (var: gk)
message DeleteBugbotLearnedRuleResponse {
}
// Copied from: local:aiserver.v1.DeleteBugbotManualRepositoryRuleRequest (var: Ek)
message DeleteBugbotManualRepositoryRuleRequest {
string rule_id = 1;
int64 installation_id = 2;
optional string ghe_application = 3;
}
// Copied from: local:aiserver.v1.DeleteBugbotManualRepositoryRuleResponse (var: Sk)
message DeleteBugbotManualRepositoryRuleResponse {
}
// Copied from: local:aiserver.v1.DeleteBugbotTeamRuleRequest (var: ak)
message DeleteBugbotTeamRuleRequest {
string rule_id = 1;
optional int32 team_id = 2;
}
// Copied from: local:aiserver.v1.DeleteBugbotTeamRuleResponse (var: lk)
message DeleteBugbotTeamRuleResponse {
}
// Copied from: local:aiserver.v1.DeleteCrewRequest (var: zv)
message DeleteCrewRequest {
string crew_id = 1;
}
// Copied from: local:aiserver.v1.DeleteCrewResponse (var: jv)
message DeleteCrewResponse {
repeated Crew crews = 1;
}
// Copied from: agent.v1.DeleteError (var: d)
message DeleteError {
string path = 1;
string error = 2;
}
// Copied from: agent.v1.DeleteFileBusy (var: m)
message DeleteFileBusy {
string path = 1;
}
// Copied from: agent.v1.DeleteFileNotFound (var: a)
message DeleteFileNotFound {
string path = 1;
}
// Copied from: local:aiserver.v1.DeleteFileParams (var: $e)
message DeleteFileParams {
string relative_workspace_path = 1;
}
// Copied from: local:aiserver.v1.DeleteFileResult (var: et)
message DeleteFileResult {
bool rejected = 1;
bool file_non_existent = 2;
bool file_deleted_successfully = 3;
}
// Copied from: local:aiserver.v1.DeleteFileStream (var: tt)
message DeleteFileStream {
string relative_workspace_path = 1;
}
// Copied from: local:aiserver.v1.DeleteGithubEnterpriseAppRequest (var: on)
message DeleteGithubEnterpriseAppRequest {
string uuid = 1;
}
// Copied from: local:aiserver.v1.DeleteGithubEnterpriseAppResponse (var: an)
message DeleteGithubEnterpriseAppResponse {
}
// Copied from: local:aiserver.v1.DeleteGitlabEnterpriseInstanceRequest (var: An)
message DeleteGitlabEnterpriseInstanceRequest {
string uuid = 1;
}
// Copied from: local:aiserver.v1.DeleteGitlabEnterpriseInstanceResponse (var: _n)
message DeleteGitlabEnterpriseInstanceResponse {
}
// Copied from: local:aiserver.v1.DeleteGroupRequest (var: E_)
message DeleteGroupRequest {
int32 group_id = 1;
int32 team_id = 2;
optional GroupType type = 3;
}
// Copied from: local:aiserver.v1.DeleteGroupResponse (var: S_)
message DeleteGroupResponse {
}
// Copied from: local:aiserver.v1.DeleteJiraRoutingRuleRequest (var: Iv)
message DeleteJiraRoutingRuleRequest {
int32 team_id = 1;
int64 rule_id = 2;
}
// Copied from: local:aiserver.v1.DeleteJiraRoutingRuleResponse (var: vv)
message DeleteJiraRoutingRuleResponse {
}
// Copied from: local:aiserver.v1.DeleteLiveActivityRequest (var: ud)
message DeleteLiveActivityRequest {
string device_id = 1;
PushPlatform platform = 2;
}
// Copied from: local:aiserver.v1.DeleteLiveActivityResponse (var: md)
message DeleteLiveActivityResponse {
}
// Copied from: local:aiserver.v1.DeleteMcpOAuthAccountRequest (var: Ri)
message DeleteMcpOAuthAccountRequest {
int32 server_id = 1;
string account_key = 2;
}
// Copied from: local:aiserver.v1.DeleteMcpOAuthAccountResponse (var: Pi)
message DeleteMcpOAuthAccountResponse {
}
// Copied from: local:aiserver.v1.DeleteMcpOAuthTokenRequest (var: fi)
message DeleteMcpOAuthTokenRequest {
string server_url = 1;
optional string service_account_id = 2;
optional string source = 3;
string account_key = 4;
}
// Copied from: local:aiserver.v1.DeleteMcpOAuthTokenResponse (var: gi)
message DeleteMcpOAuthTokenResponse {
}
// Copied from: agent.v1.DeleteNotFile (var: l)
message DeleteNotFile {
string path = 1;
string actual_type = 2;
}
// Copied from: local:aiserver.v1.DeleteOrganizationGroupRequest (var: hs)
message DeleteOrganizationGroupRequest {
string organization_id = 1;
int64 group_id = 2;
}
// Copied from: local:aiserver.v1.DeleteOrganizationGroupResponse (var: As)
message DeleteOrganizationGroupResponse {
}
// Copied from: local:aiserver.v1.DeletePendingFollowupRequest (var: pl)
message DeletePendingFollowupRequest {
string bc_id = 1;
string followup_id = 2;
}
// Copied from: local:aiserver.v1.DeletePendingFollowupResponse (var: fl)
message DeletePendingFollowupResponse {
bool success = 1;
string error_message = 2;
}
// Copied from: agent.v1.DeletePermissionDenied (var: u)
message DeletePermissionDenied {
string path = 1;
string client_visible_error = 2;
bool is_readonly = 3;
}
// Copied from: local:aiserver.v1.DeletePersonalEnvironmentJsonRequest (var: hu)
message DeletePersonalEnvironmentJsonRequest {
int64 id = 1;
optional string environment_public_id = 2;
}
// Copied from: local:aiserver.v1.DeletePersonalEnvironmentJsonResponse (var: Au)
message DeletePersonalEnvironmentJsonResponse {
}
// Copied from: local:aiserver.v1.DeleteProtectedGitScopeRequest (var: Om)
message DeleteProtectedGitScopeRequest {
int32 team_id = 1;
int64 scope_id = 2;
}
// Copied from: local:aiserver.v1.DeleteProtectedGitScopeResponse (var: Um)
message DeleteProtectedGitScopeResponse {
}
// Copied from: local:aiserver.v1.DeletePullRequestReviewCommentRequest (var: Hc)
message DeletePullRequestReviewCommentRequest {
string pr_url = 1;
string comment_id = 2;
optional string comment_kind = 3;
}
// Copied from: local:aiserver.v1.DeletePullRequestReviewCommentResponse (var: Vc)
message DeletePullRequestReviewCommentResponse {
bool success = 1;
}
// Copied from: local:aiserver.v1.DeletePushNotificationTokenRequest (var: rd)
message DeletePushNotificationTokenRequest {
string device_id = 1;
PushPlatform platform = 2;
}
// Copied from: local:aiserver.v1.DeletePushNotificationTokenResponse (var: sd)
message DeletePushNotificationTokenResponse {
}
// Copied from: agent.v1.DeleteRejected (var: c)
message DeleteRejected {
string path = 1;
string reason = 2;
}
// Copied from: agent.v1.DeleteResult (var: o)
message DeleteResult {
oneof result {
DeleteSuccess success = 1;
DeleteFileNotFound file_not_found = 2;
DeleteNotFile not_file = 3;
DeletePermissionDenied permission_denied = 4;
DeleteFileBusy file_busy = 5;
DeleteRejected rejected = 6;
DeleteError error = 7;
}
}
// Copied from: local:aiserver.v1.DeleteScimDirectoryRequest (var: j_)
message DeleteScimDirectoryRequest {
string organization_id = 1;
int64 scim_directory_id = 2;
}
// Copied from: local:aiserver.v1.DeleteScimDirectoryResponse (var: X_)
message DeleteScimDirectoryResponse {
}
// Copied from: local:aiserver.v1.DeleteScimTargetMappingRequest (var: lT)
message DeleteScimTargetMappingRequest {
string organization_id = 1;
int64 scim_target_mapping_id = 2;
}
// Copied from: local:aiserver.v1.DeleteScimTargetMappingResponse (var: uT)
message DeleteScimTargetMappingResponse {
}
// Copied from: local:aiserver.v1.DeleteSharedCanvasRequest (var: Wk)
message DeleteSharedCanvasRequest {
string share_id = 1;
}
// Copied from: local:aiserver.v1.DeleteSharedCanvasResponse (var: zk)
message DeleteSharedCanvasResponse {
}
// Copied from: local:aiserver.v1.DeleteSharedConversationRequest (var: sw)
message DeleteSharedConversationRequest {
string share_id = 1;
}
// Copied from: local:aiserver.v1.DeleteSharedConversationResponse (var: ow)
message DeleteSharedConversationResponse {
bool success = 1;
}
// Copied from: local:aiserver.v1.DeleteSlackRepoRoutingRuleRequest (var: UA)
message DeleteSlackRepoRoutingRuleRequest {
int32 team_id = 1;
string rule_id = 2;
}
// Copied from: local:aiserver.v1.DeleteSlackRepoRoutingRuleResponse (var: xA)
message DeleteSlackRepoRoutingRuleResponse {
}
// Copied from: agent.v1.DeleteSuccess (var: i)
message DeleteSuccess {
string path = 1;
string deleted_file = 2;
int64 file_size = 3;
string prev_content = 4;
}
// Copied from: local:aiserver.v1.DeleteTeamCommandRequest (var: Qy)
message DeleteTeamCommandRequest {
string command_id = 1;
optional int32 team_id = 2;
}
// Copied from: local:aiserver.v1.DeleteTeamCommandResponse (var: Gy)
message DeleteTeamCommandResponse {
}
// Copied from: local:aiserver.v1.DeleteTeamCustomerTelemetryDestinationRequest (var: UT)
message DeleteTeamCustomerTelemetryDestinationRequest {
int32 team_id = 1;
string destination_id = 2;
}
// Copied from: local:aiserver.v1.DeleteTeamCustomerTelemetryDestinationResponse (var: xT)
message DeleteTeamCustomerTelemetryDestinationResponse {
}
// Copied from: local:aiserver.v1.DeleteTeamEnvironmentRequest (var: dm)
message DeleteTeamEnvironmentRequest {
int64 id = 1;
optional string environment_public_id = 2;
}
// Copied from: local:aiserver.v1.DeleteTeamEnvironmentResponse (var: pm)
message DeleteTeamEnvironmentResponse {
}
// Copied from: local:aiserver.v1.DeleteTeamGroupRequest (var: Zs)
message DeleteTeamGroupRequest {
int32 team_id = 1;
int64 group_id = 2;
}
// Copied from: local:aiserver.v1.DeleteTeamGroupResponse (var: $s)
message DeleteTeamGroupResponse {
}
// Copied from: local:aiserver.v1.DeleteTeamHookRequest (var: by)
message DeleteTeamHookRequest {
string hook_id = 1;
optional int32 team_id = 2;
}
// Copied from: local:aiserver.v1.DeleteTeamHookResponse (var: My)
message DeleteTeamHookResponse {
}
// Copied from: local:aiserver.v1.DeleteTeamRepoRequest (var: Jm)
message DeleteTeamRepoRequest {
int32 team_id = 1;
int32 repo_id = 2;
}
// Copied from: local:aiserver.v1.DeleteTeamRepoResponse (var: Cm)
message DeleteTeamRepoResponse {
}
// Copied from: local:aiserver.v1.DeleteTeamRuleRequest (var: Sy)
message DeleteTeamRuleRequest {
string rule_id = 1;
optional int32 team_id = 2;
}
// Copied from: local:aiserver.v1.DeleteTeamRuleResponse (var: Iy)
message DeleteTeamRuleResponse {
}
// Copied from: local:aiserver.v1.DeleteTeamServiceAccountRequest (var: Yl)
message DeleteTeamServiceAccountRequest {
int32 team_id = 1;
string service_account_id = 2;
}
// Copied from: local:aiserver.v1.DeleteTeamServiceAccountResponse (var: Kl)
message DeleteTeamServiceAccountResponse {
}
// Copied from: local:aiserver.v1.DeleteTestParams (var: on)
message DeleteTestParams {
string relative_workspace_path = 1;
optional string test_name = 2;
}
// Copied from: local:aiserver.v1.DeleteTestResult (var: an)
message DeleteTestResult {
}
// Copied from: local:aiserver.v1.DeleteUsageAlertsRequest (var: Gw)
message DeleteUsageAlertsRequest {
int32 team_id = 1;
repeated string alert_ids = 2;
}
// Copied from: local:aiserver.v1.DeleteUsageAlertsResponse (var: Hw)
message DeleteUsageAlertsResponse {
int32 deleted_count = 1;
}
// Copied from: local:aiserver.v1.DeregisterPrivateWorkerPoolRequest (var: Fp)
message DeregisterPrivateWorkerPoolRequest {
PrivateWorkerPoolScope scope = 1;
string pool_name = 2;
optional string repo_owner = 3;
optional string repo_name = 4;
}
// Copied from: local:aiserver.v1.DeregisterPrivateWorkerPoolResponse (var: qp)
message DeregisterPrivateWorkerPoolResponse {
bool deregistered = 1;
}
// Copied from: local:aiserver.v1.DetachGroupFromDirectoryRequest (var: q_)
message DetachGroupFromDirectoryRequest {
int32 group_id = 1;
int32 team_id = 2;
optional GroupType type = 3;
}
// Copied from: local:aiserver.v1.DetachGroupFromDirectoryResponse (var: D_)
message DetachGroupFromDirectoryResponse {
Group group = 1;
}
// Copied from: local:aiserver.v1.DetailedBackgroundComposer (var: Rl)
message DetailedBackgroundComposer {
BackgroundComposer composer = 1;
string starting_commit = 2;
string base_branch = 3;
HeadlessAgenticComposerPrompt prompt = 4;
BackgroundComposerStatus status = 5;
GitDiff diff_since_start = 6;
ErrorDetails start_error = 7;
ModelDetails model_details = 8;
bool unread = 9;
optional string summary = 10;
repeated EnvironmentPort environment_ports = 11;
optional bool auto_create_pr = 12;
optional bool open_as_cursor_github_app = 13;
optional bool skip_reviewer_request = 14;
optional string local_state_branch = 15;
optional ErrorDetails permanent_error = 16;
repeated VideoAnnotationEntry video_annotations = 18;
optional bool auto_branch = 19;
repeated BackgroundComposerPr prs = 20;
repeated VmProvisionedSkill vm_provisioned_skills = 21;
optional ConversationAction original_conversation_action = 22;
optional EnvironmentRepoConfig repo_config = 23;
optional string environment_name = 24;
optional bool use_private_worker = 25;
repeated PrivateWorkerLabel labels = 26;
optional EnvironmentVersionSummary used_environment_version = 27;
optional RequestedModel requested_model = 28;
optional CloudSubagentParentReference cloud_subagent_parent = 29;
repeated CloudAgentStartupWarning startup_warnings = 30;
optional UsedEnvironmentBuildInfo used_environment_build = 31;
optional bool use_experimental_model_opt_out = 34;
}
// Copied from: local:aiserver.v1.DetailedLine (var: D)
message DetailedLine {
string text = 1;
float line_number = 2;
bool is_signature = 3;
}
// Copied from: local:aiserver.v1.DevEnvironment (var: Fe)
message DevEnvironment {
bool has_alternative_cli = 1;
bool has_cursor_agent_cli = 2;
}
// Copied from: local:aiserver.v1.DevOnlyGetPastRequestIdsRequest (var: Bt)
message DevOnlyGetPastRequestIdsRequest {
optional int32 count = 1;
optional int32 page = 2;
}
// Copied from: local:aiserver.v1.DevOnlyGetPastRequestIdsResponse (var: Ct)
message DevOnlyGetPastRequestIdsResponse {
repeated DevOnlyPastRequest past_requests = 1;
int32 total_count = 10;
bool has_more = 11;
}
// Copied from: local:aiserver.v1.DevOnlyPastRequest (var: Jt)
message DevOnlyPastRequest {
string request_id = 1;
string date_time = 2;
string model_name = 3;
string feature_name = 4;
string s3_uri = 5;
string status = 6;
int32 num_prompt_tokens = 7;
int32 num_completion_tokens = 8;
string api_call_method = 9;
}
// Copied from: local:aiserver.v1.DevcontainerStartingPoint (var: ia)
message DevcontainerStartingPoint {
string url = 1;
string ref = 2;
repeated string user_extensions = 4;
string cursor_server_commit = 5;
string environment_json_override = 6;
GitDiff git_diff_to_apply = 8;
bool dont_allow_reading_environment_json_from_database = 9;
bool skip_build_caches = 10;
optional EnvironmentRepoConfig repo_config = 11;
optional string environment_name = 12;
optional int64 environment_id = 13;
optional string environment_public_id = 15;
repeated RepoStartingRef starting_refs = 14;
}
// Copied from: local:aiserver.v1.Diagnostic (var: H)
message Diagnostic {
// Copied from: local:aiserver.v1.Diagnostic.DiagnosticSeverity (var: l)
enum DiagnosticSeverity {
DIAGNOSTIC_SEVERITY_UNSPECIFIED = 0;
DIAGNOSTIC_SEVERITY_ERROR = 1;
DIAGNOSTIC_SEVERITY_WARNING = 2;
DIAGNOSTIC_SEVERITY_INFORMATION = 3;
DIAGNOSTIC_SEVERITY_HINT = 4;
}
// Copied from: local:aiserver.v1.Diagnostic.RelatedInformation (var: V)
message RelatedInformation {
string message = 1;
CursorRange range = 2;
}
string message = 1;
CursorRange range = 2;
DiagnosticSeverity severity = 3;
repeated RelatedInformation related_information = 4;
}
// Copied from: agent.v1.DiagnosticsArgs (var: i)
message DiagnosticsArgs {
string path = 1;
string tool_call_id = 2;
}
// Copied from: agent.v1.DiagnosticsError (var: m)
message DiagnosticsError {
string path = 1;
string error = 2;
}
// Copied from: agent.v1.DiagnosticsFileNotFound (var: d)
message DiagnosticsFileNotFound {
string path = 1;
}
// Copied from: agent.v1.DiagnosticsPermissionDenied (var: p)
message DiagnosticsPermissionDenied {
string path = 1;
}
// Copied from: agent.v1.DiagnosticsRejected (var: c)
message DiagnosticsRejected {
string path = 1;
string reason = 2;
}
// Copied from: agent.v1.DiagnosticsResult (var: a)
message DiagnosticsResult {
oneof result {
DiagnosticsSuccess success = 1;
DiagnosticsError error = 2;
DiagnosticsRejected rejected = 3;
DiagnosticsFileNotFound file_not_found = 4;
DiagnosticsPermissionDenied permission_denied = 5;
}
}
// Copied from: agent.v1.DiagnosticsSuccess (var: l)
message DiagnosticsSuccess {
string path = 1;
repeated Diagnostic diagnostics = 2;
int32 total_diagnostics = 3;
}
// Copied from: local:aiserver.v1.DiamondToBugbotMigrationMode (var: dt)
enum DiamondToBugbotMigrationMode {
DIAMOND_TO_BUGBOT_MIGRATION_MODE_UNSPECIFIED = 0;
DIAMOND_TO_BUGBOT_MIGRATION_MODE_DRY_RUN = 1;
DIAMOND_TO_BUGBOT_MIGRATION_MODE_APPLY = 2;
}
// Copied from: local:aiserver.v1.DiffFile (var: It)
message DiffFile {
string file_details = 1;
string file_name = 2;
}
// Copied from: local:aiserver.v1.DiffHistoryData (var: Tn)
message DiffHistoryData {
string relative_workspace_path = 1;
repeated ComposerFileDiff diffs = 2;
double timestamp = 3;
string unique_id = 4;
ComposerFileDiff start_to_end_diff = 5;
}
// Copied from: local:aiserver.v1.DirectoryGroup (var: n_)
message DirectoryGroup {
string name = 1;
int32 id = 2;
int32 member_count = 3;
int32 hard_limit_per_user_dollars = 4;
AutoRunControls auto_run_controls = 5;
string external_id = 6;
int32 per_user_monthly_limit_dollars = 7;
AllowedMCPConfiguration allowed_mcp_configuration = 8;
}
// Copied from: local:aiserver.v1.DisablePullRequestAutoMergeRequest (var: Zc)
message DisablePullRequestAutoMergeRequest {
string pr_url = 1;
}
// Copied from: local:aiserver.v1.DisablePullRequestAutoMergeResponse (var: $c)
message DisablePullRequestAutoMergeResponse {
bool success = 1;
string error = 2;
optional string pr_node_id = 3;
}
// Copied from: local:aiserver.v1.DisconnectBitbucketForgeRequest (var: uv)
message DisconnectBitbucketForgeRequest {
int32 team_id = 1;
}
// Copied from: local:aiserver.v1.DisconnectBitbucketForgeResponse (var: mv)
message DisconnectBitbucketForgeResponse {
}
// Copied from: local:aiserver.v1.DisconnectContactImportConnectionRequest (var: _l)
message DisconnectContactImportConnectionRequest {
int64 connection_id = 1;
}
// Copied from: local:aiserver.v1.DisconnectContactImportConnectionResponse (var: Tl)
message DisconnectContactImportConnectionResponse {
bool success = 1;
}
// Copied from: local:aiserver.v1.DisconnectGithubRequest (var: Fn)
message DisconnectGithubRequest {
optional string ghe_application = 2;
}
// Copied from: local:aiserver.v1.DisconnectGithubResponse (var: qn)
message DisconnectGithubResponse {
int32 removed_connections_count = 1;
}
// Copied from: local:aiserver.v1.DisconnectJiraRequest (var: av)
message DisconnectJiraRequest {
int32 team_id = 1;
}
// Copied from: local:aiserver.v1.DisconnectJiraResponse (var: lv)
message DisconnectJiraResponse {
}
// Copied from: local:aiserver.v1.DisconnectLinearRequest (var: Zh)
message DisconnectLinearRequest {
}
// Copied from: local:aiserver.v1.DisconnectLinearResponse (var: $h)
message DisconnectLinearResponse {
}
// Copied from: local:aiserver.v1.DisconnectPagerDutyRequest (var: BA)
message DisconnectPagerDutyRequest {
}
// Copied from: local:aiserver.v1.DisconnectPagerDutyResponse (var: JA)
message DisconnectPagerDutyResponse {
bool success = 1;
}
// Copied from: local:aiserver.v1.DismissFullSelfDrivingOutputRequest (var: O)
message DismissFullSelfDrivingOutputRequest {
string pr_url = 1;
string bc_id = 2;
string stable_key = 3;
optional string reason = 4;
}
// Copied from: local:aiserver.v1.DismissFullSelfDrivingOutputResponse (var: U)
message DismissFullSelfDrivingOutputResponse {
FullSelfDrivingFinding finding = 1;
}
// Copied from: local:aiserver.v1.DisplayMode (var: l)
enum DisplayMode {
DISPLAY_MODE_UNSPECIFIED = 0;
DISPLAY_MODE_TOAST = 1;
DISPLAY_MODE_MODAL = 2;
}
// Copied from: local:aiserver.v1.DoThisForMeCheckRequest (var: vi)
message DoThisForMeCheckRequest {
string generation_uuid = 1;
string completion = 2;
}
// Copied from: local:aiserver.v1.DoThisForMeCheckResponse (var: Bi)
message DoThisForMeCheckResponse {
// Copied from: local:aiserver.v1.DoThisForMeCheckResponse.CreateAction (var: Ni)
message CreateAction {
string relative_workspace_path = 1;
}
// Copied from: local:aiserver.v1.DoThisForMeCheckResponse.EditAction (var: Ci)
message EditAction {
string relative_workspace_path = 1;
}
// Copied from: local:aiserver.v1.DoThisForMeCheckResponse.RunAction (var: Ri)
message RunAction {
string command = 1;
}
// Copied from: local:aiserver.v1.DoThisForMeCheckResponse.SkipAction (var: Ji)
message SkipAction {
}
string reasoning = 5;
oneof action {
SkipAction skip_action = 1;
EditAction edit_action = 2;
CreateAction create_action = 3;
RunAction run_action = 4;
}
}
// Copied from: local:aiserver.v1.DoThisForMeRequest (var: Pi)
message DoThisForMeRequest {
string generation_uuid = 1;
string completion = 2;
DoThisForMeCheckResponse action = 3;
}
// Copied from: local:aiserver.v1.DoThisForMeResponse (var: bi)
message DoThisForMeResponse {
// Copied from: local:aiserver.v1.DoThisForMeResponse.UpdateStatus (var: Mi)
message UpdateStatus {
string status = 1;
}
oneof event {
UpdateStatus update_status = 1;
}
}
// Copied from: local:aiserver.v1.DoThisForMeResponseWrapped (var: Li)
message DoThisForMeResponseWrapped {
oneof response {
DoThisForMeResponse real_response = 1;
string background_task_uuid = 2;
}
}
// Copied from: local:aiserver.v1.DocsReference (var: Ve)
message DocsReference {
string title = 1;
string url = 2;
string chunk = 3;
string name = 4;
}
// Copied from: local:aiserver.v1.Document (var: Ze)
message Document {
string content = 1;
string id = 2;
}
// Copied from: local:aiserver.v1.DocumentIdsWithScores (var: $e)
message DocumentIdsWithScores {
string document_id = 1;
float score = 2;
}
// Copied from: local:aiserver.v1.DocumentSymbol (var: ce)
message DocumentSymbol {
// Copied from: local:aiserver.v1.DocumentSymbol.Range (var: de)
message Range {
int32 start_line_number = 1;
int32 start_column = 2;
int32 end_line_number = 3;
int32 end_column = 4;
}
// Copied from: local:aiserver.v1.DocumentSymbol.SymbolKind (var: m)
enum SymbolKind {
SYMBOL_KIND_UNSPECIFIED = 0;
SYMBOL_KIND_FILE = 1;
SYMBOL_KIND_MODULE = 2;
SYMBOL_KIND_NAMESPACE = 3;
SYMBOL_KIND_PACKAGE = 4;
SYMBOL_KIND_CLASS = 5;
SYMBOL_KIND_METHOD = 6;
SYMBOL_KIND_PROPERTY = 7;
SYMBOL_KIND_FIELD = 8;
SYMBOL_KIND_CONSTRUCTOR = 9;
SYMBOL_KIND_ENUM = 10;
SYMBOL_KIND_INTERFACE = 11;
SYMBOL_KIND_FUNCTION = 12;
SYMBOL_KIND_VARIABLE = 13;
SYMBOL_KIND_CONSTANT = 14;
SYMBOL_KIND_STRING = 15;
SYMBOL_KIND_NUMBER = 16;
SYMBOL_KIND_BOOLEAN = 17;
SYMBOL_KIND_ARRAY = 18;
SYMBOL_KIND_OBJECT = 19;
SYMBOL_KIND_KEY = 20;
SYMBOL_KIND_NULL = 21;
SYMBOL_KIND_ENUM_MEMBER = 22;
SYMBOL_KIND_STRUCT = 23;
SYMBOL_KIND_EVENT = 24;
SYMBOL_KIND_OPERATOR = 25;
SYMBOL_KIND_TYPE_PARAMETER = 26;
}
string name = 1;
string detail = 2;
SymbolKind kind = 3;
string container_name = 5;
Range range = 6;
Range selection_range = 7;
repeated DocumentSymbol children = 8;
}
// Copied from: local:aiserver.v1.DocumentSymbolWithText (var: ge)
message DocumentSymbolWithText {
DocumentSymbol symbol = 1;
string relative_workspace_path = 2;
string text_in_symbol_range = 3;
UriComponents uri_components = 4;
}
// Copied from: local:aiserver.v1.DocumentationChunk (var: i)
message DocumentationChunk {
string doc_name = 1;
string page_url = 2;
string documentation_chunk = 3;
float score = 4;
string page_title = 5;
}
// Copied from: local:aiserver.v1.DocumentationCitation (var: Qe)
message DocumentationCitation {
repeated DocumentationChunk chunks = 1;
}
// Copied from: local:aiserver.v1.DocumentationInfo (var: Hr)
message DocumentationInfo {
string doc_identifier = 1;
DocumentationMetadata metadata = 2;
}
// Copied from: local:aiserver.v1.DocumentationMetadata (var: o)
message DocumentationMetadata {
string prefix_url = 1;
string doc_name = 2;
bool is_different_prefix_origin = 3;
string true_prefix_url = 4;
bool public = 5;
optional int32 team_id = 6;
}
// Copied from: local:aiserver.v1.DocumentationQueryRequest (var: a)
message DocumentationQueryRequest {
string doc_identifier = 1;
string query = 2;
uint32 top_k = 3;
bool rerank_results = 4;
}
// Copied from: local:aiserver.v1.DocumentationQueryResponse (var: l)
message DocumentationQueryResponse {
// Copied from: local:aiserver.v1.DocumentationQueryResponse.Status (var: r)
enum Status {
STATUS_UNSPECIFIED = 0;
STATUS_NOT_FOUND = 1;
STATUS_SUCCESS = 2;
STATUS_FAILURE = 3;
}
string doc_identifier = 1;
string doc_name = 2;
repeated DocumentationChunk doc_chunks = 3;
Status status = 4;
}
// Copied from: local:aiserver.v1.DownloadIssueTracesRequest (var: v)
message DownloadIssueTracesRequest {
string token = 1;
int32 limit = 2;
}
// Copied from: local:aiserver.v1.DownloadIssueTracesResponse (var: B)
message DownloadIssueTracesResponse {
bytes data = 1;
int32 total_traces = 2;
int64 total_bytes = 3;
}
// Copied from: local:aiserver.v1.DraftCrewBriefMember (var: fB)
message DraftCrewBriefMember {
string name = 1;
string archetype = 2;
}
// Copied from: local:aiserver.v1.DraftCrewBriefRequest (var: pB)
message DraftCrewBriefRequest {
string goal = 1;
}
// Copied from: local:aiserver.v1.DraftCrewBriefResponse (var: gB)
message DraftCrewBriefResponse {
string name = 1;
string vision = 2;
string goals = 3;
repeated DraftCrewBriefMember members = 4;
}
// Copied from: agent.v1.DragAction (var: p)
message DragAction {
repeated Coordinate path = 1;
MouseButton button = 2;
optional string modifier_keys = 3;
}
// Copied from: local:aiserver.v1.Edit (var: we)
message Edit {
string text = 1;
IRange range = 2;
}
// Copied from: local:aiserver.v1.EditFate (var: r)
enum EditFate {
EDIT_FATE_UNSPECIFIED = 0;
EDIT_FATE_ACCEPTED = 1;
EDIT_FATE_REJECTED = 2;
EDIT_FATE_PARTIALLY_ACCEPTED = 3;
}
// Copied from: local:aiserver.v1.EditFileParams (var: $)
message EditFileParams {
string relative_workspace_path = 1;
string language = 2;
bool blocking = 4;
string contents = 3;
optional string instructions = 5;
optional bool should_edit_file_fail_for_large_files = 12;
optional string old_string = 6;
optional string new_string = 7;
optional bool allow_multiple_matches = 8;
optional bool use_whitespace_insensitive_fallback = 10;
optional bool use_did_you_mean_fuzzy_match = 11;
optional bool gracefully_handle_recoverable_errors = 16;
repeated LineRange line_ranges = 9;
optional int32 notebook_cell_idx = 13;
optional bool is_new_cell = 14;
optional string cell_language = 15;
optional string edit_category = 17;
optional bool should_eagerly_process_lints = 18;
}
// Copied from: local:aiserver.v1.EditFileResult (var: ee)
message EditFileResult {
// Copied from: local:aiserver.v1.EditFileResult.EditFileHumanReview (var: se)
message EditFileHumanReview {
bool is_edit_accepted = 1;
string text_result = 2;
bool stop_and_get_new_user_input = 3;
}
// Copied from: local:aiserver.v1.EditFileResult.FileDiff (var: te)
message FileDiff {
// Copied from: local:aiserver.v1.EditFileResult.FileDiff.ChunkDiff (var: ne)
message ChunkDiff {
string diff_string = 1;
int32 old_start = 2;
int32 new_start = 3;
int32 old_lines = 4;
int32 new_lines = 5;
int32 lines_removed = 6;
int32 lines_added = 7;
}
// Copied from: local:aiserver.v1.EditFileResult.FileDiff.Editor (var: l)
enum Editor {
EDITOR_UNSPECIFIED = 0;
EDITOR_AI = 1;
EDITOR_HUMAN = 2;
}
repeated ChunkDiff chunks = 1;
Editor editor = 2;
bool hit_timeout = 3;
}
// Copied from: local:aiserver.v1.EditFileResult.HumanFeedback (var: oe)
message HumanFeedback {
string selected_option = 1;
string feedback_text = 2;
bool submit_feedback_as_new_message = 3;
string bubble_id = 4;
}
// Copied from: local:aiserver.v1.EditFileResult.RecoverableError (var: re)
message RecoverableError {
// Copied from: local:aiserver.v1.EditFileResult.RecoverableError.RecoverableErrorType (var: u)
enum RecoverableErrorType {
RECOVERABLE_ERROR_TYPE_UNSPECIFIED = 0;
RECOVERABLE_ERROR_TYPE_SEARCH_STRING_NOT_FOUND = 1;
RECOVERABLE_ERROR_TYPE_AMBIGUOUS_SEARCH_STRING = 2;
}
RecoverableErrorType error_type = 1;
string model_message = 2;
}
FileDiff diff = 1;
bool is_applied = 2;
bool apply_failed = 3;
repeated LinterError linter_errors = 4;
optional bool rejected = 5;
optional int32 num_matches = 6;
optional bool whitespace_insensitive_fallback_found_match = 7;
optional bool no_match_found_in_line_ranges = 8;
optional RecoverableError recoverable_error = 11;
optional int32 num_lines_in_file = 9;
optional bool is_subagent_edit = 10;
optional bool diff_became_no_op_due_to_on_save_fixes = 12;
optional EditFileHumanReview human_review = 13;
optional HumanFeedback human_feedback = 14;
optional bool should_eagerly_process_lints = 15;
optional HumanReview human_review_v2 = 16;
optional bool were_all_new_linter_errors_resolved_by_this_edit = 17;
}
// Copied from: local:aiserver.v1.EditFileStream (var: ae)
message EditFileStream {
}
// Copied from: local:aiserver.v1.EditFileV2Params (var: W)
message EditFileV2Params {
// Copied from: local:aiserver.v1.EditFileV2Params.StreamingEditCode (var: j)
message StreamingEditCode {
string code = 1;
}
// Copied from: local:aiserver.v1.EditFileV2Params.StreamingEditText (var: z)
message StreamingEditText {
string text = 1;
}
string relative_workspace_path = 1;
optional string contents_after_edit = 2;
optional bool waiting_for_file_contents = 3;
bool should_send_back_linter_errors = 6;
optional EditFileResult.FileDiff diff = 7;
string result_for_model = 8;
optional string streaming_content = 9;
optional bool no_codeblock = 10;
optional bool cloud_agent_edit = 11;
oneof streaming_edit {
StreamingEditText text = 4;
StreamingEditCode code = 5;
}
}
// Copied from: local:aiserver.v1.EditFileV2Result (var: X)
message EditFileV2Result {
optional string contents_before_edit = 1;
optional string eol_sequence = 9;
optional string detected_language = 11;
bool file_was_created = 2;
optional EditFileResult.FileDiff diff = 3;
optional bool rejected = 4;
repeated LinterError linter_errors = 5;
bool sent_back_linter_errors = 6;
bool should_auto_fix_lints = 8;
optional HumanReview human_review_v2 = 7;
string result_for_model = 10;
optional string contents_after_edit = 12;
optional string before_content_id = 13;
string after_content_id = 14;
}
// Copied from: local:aiserver.v1.EditFileV2Stream (var: Z)
message EditFileV2Stream {
}
// Copied from: local:aiserver.v1.EditHistoryAppendChangesRequest (var: qt)
message EditHistoryAppendChangesRequest {
// Copied from: local:aiserver.v1.EditHistoryAppendChangesRequest.PrivacyModeStatus (var: f)
enum PrivacyModeStatus {
PRIVACY_MODE_STATUS_UNSPECIFIED = 0;
PRIVACY_MODE_STATUS_PRIVACY_ENABLED = 1;
PRIVACY_MODE_STATUS_IMPLICIT_NO_PRIVACY = 2;
PRIVACY_MODE_STATUS_EXPLICIT_NO_PRIVACY = 3;
}
string session_id = 1;
string model_uuid = 2;
optional string starting_model_value = 3;
optional int32 starting_model_version = 10;
string relative_path = 5;
string uri = 14;
string client_version = 6;
optional string client_commit = 8;
repeated ModelChange changes = 4;
repeated CppSessionEvent session_events = 9;
bool model_changes_may_be_out_of_order = 11;
PrivacyModeStatus privacy_mode_status = 12;
repeated CppHistoryAppendEvent events = 7;
float time_origin = 13;
}
// Copied from: local:aiserver.v1.EditHistoryAppendChangesResponse (var: Dt)
message EditHistoryAppendChangesResponse {
bool success = 1;
}
// Copied from: local:aiserver.v1.EditParams (var: Yt)
message EditParams {
// Copied from: local:aiserver.v1.EditParams.FrontendEditType (var: g)
enum FrontendEditType {
FRONTEND_EDIT_TYPE_UNSPECIFIED = 0;
FRONTEND_EDIT_TYPE_INLINE_DIFFS = 1;
FRONTEND_EDIT_TYPE_SIMPLE = 2;
}
string relative_workspace_path = 1;
optional int32 line_number = 2;
int32 replace_num_lines = 3;
repeated string new_lines = 4;
optional bool replace_whole_file = 7;
string edit_id = 5;
FrontendEditType frontend_edit_type = 6;
optional bool auto_fix_all_linter_errors_in_file = 8;
}
// Copied from: local:aiserver.v1.EditPatch (var: ne)
message EditPatch {
string relative_path = 1;
uint32 line_number = 2;
repeated string deleted_lines = 3;
repeated string inserted_lines = 4;
}
// Copied from: local:aiserver.v1.EditResult (var: Kt)
message EditResult {
// Copied from: local:aiserver.v1.EditResult.Feedback (var: zt)
message Feedback {
string message = 1;
string severity = 2;
int32 start_line_number = 3;
int32 end_line_number = 4;
repeated EditResult.RelatedInformation related_information = 5;
}
// Copied from: local:aiserver.v1.EditResult.RelatedInformation (var: Wt)
message RelatedInformation {
string message = 1;
int32 start_line_number = 2;
int32 end_line_number = 3;
string relative_workspace_path = 4;
}
repeated string feedback = 1;
int32 context_start_line_number = 2;
repeated string context_lines = 3;
string file = 4;
int32 file_total_lines = 5;
repeated Feedback structured_feedback = 6;
}
// Copied from: agent.v1.EditToolCallDelta (var: K)
message EditToolCallDelta {
string stream_content_delta = 1;
}
// Copied from: local:aiserver.v1.EditorCloseEvent (var: vt)
message EditorCloseEvent {
string editor_id = 1;
}
// Copied from: local:aiserver.v1.EffectivePlugin (var: WS)
message EffectivePlugin {
Plugin plugin = 1;
bool is_team_required = 3;
bool is_enabled = 4;
optional string pinned_git_ref = 6;
google.protobuf.Struct configured_variables = 7;
bool has_team_configured_variables = 8;
optional string inline_content_json = 9;
EffectivePluginInstallMode install_mode = 10;
}
// Copied from: local:aiserver.v1.EffectivePluginInstallMode (var: wt)
enum EffectivePluginInstallMode {
EFFECTIVE_PLUGIN_INSTALL_MODE_UNSPECIFIED = 0;
EFFECTIVE_PLUGIN_INSTALL_MODE_USER = 1;
EFFECTIVE_PLUGIN_INSTALL_MODE_TEAM_DEFAULT = 2;
EFFECTIVE_PLUGIN_INSTALL_MODE_TEAM_REQUIRED = 3;
}
// Copied from: local:aiserver.v1.EmbeddingModel (var: o)
enum EmbeddingModel {
EMBEDDING_MODEL_UNSPECIFIED = 0;
EMBEDDING_MODEL_VOYAGE_CODE_2 = 1;
EMBEDDING_MODEL_TEXT_EMBEDDINGS_LARGE_3 = 2;
EMBEDDING_MODEL_QWEN_1_5B_CUSTOM = 3;
EMBEDDING_MODEL_MOCK_CHUNKER_ERROR = 4;
EMBEDDING_MODEL_QWEN_1_5B_0618_CUSTOM = 5;
EMBEDDING_MODEL_QWEN_1_5B_0618_FP8_MM_CUSTOM = 6;
}
// Copied from: local:aiserver.v1.EmbeddingResponse (var: pn)
message EmbeddingResponse {
repeated double embedding = 1;
}
// Copied from: local:aiserver.v1.EnableOnDemandSpendRequest (var: Ta)
message EnableOnDemandSpendRequest {
optional int32 team_id = 1;
}
// Copied from: local:aiserver.v1.EnableOnDemandSpendResponse (var: ya)
message EnableOnDemandSpendResponse {
int32 hard_limit = 1;
optional int32 hard_limit_per_user = 2;
}
// Copied from: local:aiserver.v1.EnablePullRequestAutoMergeRequest (var: jc)
message EnablePullRequestAutoMergeRequest {
string pr_url = 1;
optional string merge_method = 2;
}
// Copied from: local:aiserver.v1.EnablePullRequestAutoMergeResponse (var: Xc)
message EnablePullRequestAutoMergeResponse {
bool success = 1;
string error = 2;
optional string pr_node_id = 3;
}
// Copied from: local:aiserver.v1.EndParams (var: bt)
message EndParams {
}
// Copied from: local:aiserver.v1.EndResult (var: Ft)
message EndResult {
}
// Copied from: local:aiserver.v1.EnrollExternalFullSelfDrivingRunRequest (var: re)
message EnrollExternalFullSelfDrivingRunRequest {
string pr_url = 1;
string bc_id = 2;
FullSelfDrivingMode mode = 3;
bool enable_config = 4;
}
// Copied from: local:aiserver.v1.EnrollExternalFullSelfDrivingRunResponse (var: se)
message EnrollExternalFullSelfDrivingRunResponse {
bool enrolled = 1;
}
// Copied from: local:aiserver.v1.EnrollInGlassEarlyPreviewRequest (var: Ag)
message EnrollInGlassEarlyPreviewRequest {
}
// Copied from: local:aiserver.v1.EnrollInGlassEarlyPreviewResponse (var: _g)
message EnrollInGlassEarlyPreviewResponse {
}
// Copied from: local:aiserver.v1.EnsembleStatus (var: tr)
enum EnsembleStatus {
ENSEMBLE_STATUS_UNSPECIFIED = 0;
ENSEMBLE_STATUS_PARENT = 1;
ENSEMBLE_STATUS_CHILD = 2;
}
// Copied from: local:aiserver.v1.EnsureIndexCreatedRequest (var: G)
message EnsureIndexCreatedRequest {
RepositoryInfo repository = 1;
}
// Copied from: local:aiserver.v1.EnsureIndexCreatedResponse (var: H)
message EnsureIndexCreatedResponse {
}
// Copied from: local:aiserver.v1.EnsureModelRoutingLoadTestStartedRequest (var: sp)
message EnsureModelRoutingLoadTestStartedRequest {
string run_id = 1;
}
// Copied from: local:aiserver.v1.EnsureModelRoutingLoadTestStartedResponse (var: op)
message EnsureModelRoutingLoadTestStartedResponse {
string temporal_run_id = 1;
}
// Copied from: local:aiserver.v1.EnvironmentBuildRepoCommit (var: Nu)
message EnvironmentBuildRepoCommit {
string repo_url = 1;
string workspace_root_path = 2;
string commit_hash_hex = 3;
}
// Copied from: local:aiserver.v1.EnvironmentBuildRow (var: Ru)
message EnvironmentBuildRow {
string build_id = 1;
string environment_public_id = 2;
EnvironmentBuildRowStatus status = 3;
EnvironmentBuildRowTriggerType trigger_type = 4;
EnvironmentBuildRowSource source = 5;
optional EnvironmentBuildRowFailureType failure_type = 6;
optional int64 environment_version_id = 7;
optional string user_facing_snapshot_id = 8;
int64 created_at_ms = 9;
int64 updated_at_ms = 10;
optional int64 completed_at_ms = 11;
bool is_draft = 12;
bool has_ref_overrides = 13;
repeated RepoStartingRef requested_refs = 14;
repeated EnvironmentBuildRepoCommit repo_commits = 15;
optional string created_by_display = 16;
bool will_adopt_environment_settings_on_activate = 17;
}
// Copied from: local:aiserver.v1.EnvironmentBuildRowFailureType (var: dr)
enum EnvironmentBuildRowFailureType {
ENVIRONMENT_BUILD_ROW_FAILURE_TYPE_UNSPECIFIED = 0;
ENVIRONMENT_BUILD_ROW_FAILURE_TYPE_INSTALL_FAILED = 1;
ENVIRONMENT_BUILD_ROW_FAILURE_TYPE_TERMINAL_FAILURE = 2;
}
// Copied from: local:aiserver.v1.EnvironmentBuildRowSource (var: cr)
enum EnvironmentBuildRowSource {
ENVIRONMENT_BUILD_ROW_SOURCE_UNSPECIFIED = 0;
ENVIRONMENT_BUILD_ROW_SOURCE_SYSTEM = 1;
ENVIRONMENT_BUILD_ROW_SOURCE_WEBSITE = 2;
ENVIRONMENT_BUILD_ROW_SOURCE_API = 3;
ENVIRONMENT_BUILD_ROW_SOURCE_AGENT = 4;
}
// Copied from: local:aiserver.v1.EnvironmentBuildRowStatus (var: ur)
enum EnvironmentBuildRowStatus {
ENVIRONMENT_BUILD_ROW_STATUS_UNSPECIFIED = 0;
ENVIRONMENT_BUILD_ROW_STATUS_IN_PROGRESS = 1;
ENVIRONMENT_BUILD_ROW_STATUS_SUCCEEDED = 2;
ENVIRONMENT_BUILD_ROW_STATUS_FAILED = 3;
ENVIRONMENT_BUILD_ROW_STATUS_CANCELLED = 4;
}
// Copied from: local:aiserver.v1.EnvironmentBuildRowTriggerType (var: mr)
enum EnvironmentBuildRowTriggerType {
ENVIRONMENT_BUILD_ROW_TRIGGER_TYPE_UNSPECIFIED = 0;
ENVIRONMENT_BUILD_ROW_TRIGGER_TYPE_MANUAL = 1;
ENVIRONMENT_BUILD_ROW_TRIGGER_TYPE_RECURRING = 2;
ENVIRONMENT_BUILD_ROW_TRIGGER_TYPE_CONFIG_CHANGE = 3;
}
// Copied from: local:aiserver.v1.EnvironmentBuildSettings (var: Vu)
message EnvironmentBuildSettings {
optional bool fast_forward_default_branch = 1;
optional bool builds_enabled = 2;
}
// Copied from: local:aiserver.v1.EnvironmentBuildsCursor (var: Pu)
message EnvironmentBuildsCursor {
int64 created_at_ms = 1;
string build_id = 2;
}
// Copied from: local:aiserver.v1.EnvironmentEffectiveHistoryEvent (var: um)
message EnvironmentEffectiveHistoryEvent {
string id = 1;
int64 created_at_ms = 2;
LogicalEnvironmentScope scope = 3;
EnvironmentUpdateEventKind event_kind = 4;
string title = 5;
string description = 6;
optional EnvironmentVersionSummary version = 7;
optional EnvironmentVersionSummary fallback_version = 8;
optional EnvironmentSetupRunLink setup_run = 9;
optional string environment_public_id = 10;
optional string environment_name = 11;
optional EnvironmentVersionRestoreMetadata restore_metadata = 12;
}
// Copied from: local:aiserver.v1.EnvironmentHistoryLifecycleEvent (var: am)
message EnvironmentHistoryLifecycleEvent {
string public_id = 1;
EnvironmentUpdateEventKind event_kind = 2;
EnvironmentVersionSourceKind source_kind = 3;
string recorded_via = 4;
int64 created_at_ms = 5;
optional EnvironmentVersionSummary version = 6;
optional EnvironmentSetupRunLink setup_run = 7;
optional EnvironmentVersionRestoreMetadata restore_metadata = 8;
}
// Copied from: local:aiserver.v1.EnvironmentHistoryObject (var: lm)
message EnvironmentHistoryObject {
LogicalEnvironment environment = 1;
repeated EnvironmentHistoryVersion versions = 2;
repeated EnvironmentHistoryLifecycleEvent lifecycle_events = 3;
}
// Copied from: local:aiserver.v1.EnvironmentHistoryVersion (var: im)
message EnvironmentHistoryVersion {
EnvironmentVersionSummary version = 1;
optional EnvironmentSetupRunLink setup_run = 2;
}
// Copied from: local:aiserver.v1.EnvironmentInfo (var: T)
message EnvironmentInfo {
optional string exthost_platform = 1;
optional string exthost_arch = 2;
optional string exthost_release = 3;
optional string exthost_shell = 4;
optional string local_timestamp = 5;
repeated string workspace_uris = 6;
optional string cursor_version = 7;
optional bool is_remote = 8;
optional string local_os_type = 9;
optional string home_directory = 10;
optional string local_timezone = 11;
}
// Copied from: local:aiserver.v1.EnvironmentJsonFileLocation (var: ra)
message EnvironmentJsonFileLocation {
string repo_url = 1;
string path = 2;
}
// Copied from: local:aiserver.v1.EnvironmentPort (var: ed)
message EnvironmentPort {
string name = 1;
int32 port = 2;
}
// Copied from: local:aiserver.v1.EnvironmentRepoConfig (var: sa)
message EnvironmentRepoConfig {
repeated EnvironmentRepoEntry repos = 1;
optional EnvironmentJsonFileLocation environment_json_location = 2;
}
// Copied from: local:aiserver.v1.EnvironmentRepoEntry (var: na)
message EnvironmentRepoEntry {
string repo_url = 1;
string scm_repo_node_id = 2;
optional string git_enterprise_uuid = 3;
}
// Copied from: local:aiserver.v1.EnvironmentSetupRunLink (var: om)
message EnvironmentSetupRunLink {
string bc_id = 1;
optional string status = 2;
int64 created_at_ms = 3;
optional string snapshot_id = 4;
}
// Copied from: local:aiserver.v1.EnvironmentSetupRunStartedMetadata (var: ma)
message EnvironmentSetupRunStartedMetadata {
string setup_session_id = 1;
optional string surface = 2;
optional string entrypoint = 3;
bool resumed_session = 4;
}
// Copied from: local:aiserver.v1.EnvironmentType (var: ar)
enum EnvironmentType {
ENVIRONMENT_TYPE_UNSPECIFIED = 0;
ENVIRONMENT_TYPE_PERSONAL = 1;
ENVIRONMENT_TYPE_TEAM = 2;
}
// Copied from: local:aiserver.v1.EnvironmentUpdateEventKind (var: gr)
enum EnvironmentUpdateEventKind {
ENVIRONMENT_UPDATE_EVENT_KIND_UNSPECIFIED = 0;
ENVIRONMENT_UPDATE_EVENT_KIND_CREATED = 1;
ENVIRONMENT_UPDATE_EVENT_KIND_UPDATED = 2;
ENVIRONMENT_UPDATE_EVENT_KIND_DELETED = 3;
ENVIRONMENT_UPDATE_EVENT_KIND_FORWARD_FILLED = 4;
}
// Copied from: local:aiserver.v1.EnvironmentVersionRestoreMetadata (var: tm)
message EnvironmentVersionRestoreMetadata {
string restored_from_environment_version_public_id = 1;
EnvironmentVersionSourceKind restored_from_source_kind = 2;
optional string restored_from_environment_public_id = 3;
optional string restored_from_environment_name = 4;
optional string restored_from_snapshot_id = 5;
}
// Copied from: local:aiserver.v1.EnvironmentVersionSourceKind (var: fr)
enum EnvironmentVersionSourceKind {
ENVIRONMENT_VERSION_SOURCE_KIND_UNSPECIFIED = 0;
ENVIRONMENT_VERSION_SOURCE_KIND_REPO_FILE = 1;
ENVIRONMENT_VERSION_SOURCE_KIND_DATABASE_USER = 2;
ENVIRONMENT_VERSION_SOURCE_KIND_DATABASE_TEAM = 3;
ENVIRONMENT_VERSION_SOURCE_KIND_REQUEST_OVERRIDE = 4;
}
// Copied from: local:aiserver.v1.EnvironmentVersionSummary (var: nm)
message EnvironmentVersionSummary {
string public_id = 1;
EnvironmentVersionSourceKind source_kind = 2;
optional string commit_hash = 3;
optional string environment_public_id = 4;
optional RepoConfigSummary repo_config = 5;
int64 created_at_ms = 6;
optional string environment_json = 7;
optional string environment_name = 8;
optional string snapshot_id = 9;
optional string recorded_via = 10;
optional string update_script = 11;
}
// Copied from: local:aiserver.v1.EnvironmentWriteSource (var: ir)
enum EnvironmentWriteSource {
ENVIRONMENT_WRITE_SOURCE_UNSPECIFIED = 0;
ENVIRONMENT_WRITE_SOURCE_DASHBOARD = 1;
ENVIRONMENT_WRITE_SOURCE_SETUP_FLOW = 2;
ENVIRONMENT_WRITE_SOURCE_SDK_V1 = 3;
ENVIRONMENT_WRITE_SOURCE_RESTORE = 4;
}
// Copied from: local:aiserver.v1.ErrorAnalyticsMetadata (var: _e)
message ErrorAnalyticsMetadata {
optional string action_required = 1;
}
// Copied from: local:aiserver.v1.ErrorButton (var: ye)
message ErrorButton {
string label = 1;
oneof action {
UpgradeAction upgrade = 2;
SwitchModelAction switch_model = 3;
ConfigureSpendLimitAction configure_spend_limit = 4;
UrlAction url = 5;
UpgradeChoice upgrade_choice = 6;
DashboardAction dashboard_action = 7;
ReloadWindowAction reload_window = 8;
ClientAction client_action = 9;
}
}
// Copied from: local:aiserver.v1.ErrorDetails (var: he)
message ErrorDetails {
// Copied from: local:aiserver.v1.ErrorDetails.Error (var: c)
enum Error {
ERROR_UNSPECIFIED = 0;
ERROR_BAD_API_KEY = 1;
ERROR_BAD_USER_API_KEY = 42;
ERROR_NOT_LOGGED_IN = 2;
ERROR_INVALID_AUTH_ID = 3;
ERROR_NOT_HIGH_ENOUGH_PERMISSIONS = 4;
ERROR_AGENT_REQUIRES_LOGIN = 18;
ERROR_BAD_MODEL_NAME = 5;
ERROR_NOT_FOUND = 39;
ERROR_DEPRECATED = 40;
ERROR_USER_NOT_FOUND = 6;
ERROR_FREE_USER_RATE_LIMIT_EXCEEDED = 7;
ERROR_PRO_USER_RATE_LIMIT_EXCEEDED = 8;
ERROR_FREE_USER_USAGE_LIMIT = 9;
ERROR_PRO_USER_USAGE_LIMIT = 10;
ERROR_RESOURCE_EXHAUSTED = 41;
ERROR_AUTH_TOKEN_NOT_FOUND = 11;
ERROR_AUTH_TOKEN_EXPIRED = 12;
ERROR_OPENAI = 13;
ERROR_OPENAI_RATE_LIMIT_EXCEEDED = 14;
ERROR_MAX_TOKENS = 20;
ERROR_PRO_USER_ONLY = 23;
ERROR_USER_ABORTED_REQUEST = 21;
ERROR_TIMEOUT = 25;
ERROR_GENERIC_RATE_LIMIT_EXCEEDED = 22;
ERROR_GPT_4_VISION_PREVIEW_RATE_LIMIT = 28;
ERROR_CUSTOM_MESSAGE = 29;
ERROR_OUTDATED_CLIENT = 30;
ERROR_CLAUDE_IMAGE_TOO_LARGE = 31;
ERROR_FILE_NOT_FOUND = 33;
ERROR_API_KEY_RATE_LIMIT = 34;
ERROR_DEBOUNCED = 35;
ERROR_BAD_REQUEST = 36;
ERROR_REPOSITORY_SERVICE_REPOSITORY_IS_NOT_INITIALIZED = 37;
ERROR_UNAUTHORIZED = 38;
ERROR_CONVERSATION_TOO_LONG = 43;
ERROR_USAGE_PRICING_REQUIRED = 44;
ERROR_USAGE_PRICING_REQUIRED_CHANGEABLE = 45;
ERROR_GITHUB_NO_USER_CREDENTIALS = 46;
ERROR_GITHUB_USER_NO_ACCESS = 47;
ERROR_GITHUB_APP_NO_ACCESS = 48;
ERROR_GITHUB_MULTIPLE_OWNERS = 49;
ERROR_RATE_LIMITED = 50;
ERROR_RATE_LIMITED_CHANGEABLE = 51;
ERROR_CUSTOM = 52;
ERROR_HOOKS_BLOCKED = 53;
ERROR_SUSPICIOUS_USAGE_BLOCKED = 54;
ERROR_EXTENSION_HOST_TIMEOUT = 55;
ERROR_NETWORK_ERROR = 56;
ERROR_PROVIDER_ERROR = 57;
ERROR_MODEL_BLOCKED = 58;
ERROR_INTERNAL = 59;
ERROR_MAX_MODE_REQUIRED = 60;
ERROR_MODEL_NO_LONGER_SUPPORTED = 61;
ERROR_PRICING_WARNING = 62;
ERROR_SLOW_POOL = 63;
ERROR_UNSUPPORTED_REGION = 64;
ERROR_ACCOUNT_CLOSED = 65;
}
Error error = 1;
CustomErrorDetails details = 2;
optional bool is_expected = 3;
}
// Copied from: local:aiserver.v1.ErrorToolResult (var: Gt)
message ErrorToolResult {
string error_message = 1;
}
// Copied from: local:aiserver.v1.EvaluatePromptHookRequest (var: Et)
message EvaluatePromptHookRequest {
string prompt = 1;
google.protobuf.Value hook_input_json = 2;
optional string model_name = 3;
}
// Copied from: local:aiserver.v1.EvaluatePromptHookResponse (var: St)
message EvaluatePromptHookResponse {
bool ok = 1;
optional string reason = 2;
}
// Copied from: local:aiserver.v1.EventData (var: m)
message EventData {
oneof data {
string string_value = 1;
int64 int_value = 2;
bool bool_value = 3;
double double_value = 4;
}
}
// Copied from: local:aiserver.v1.EventSubscription (var: Ui)
message EventSubscription {
string subscription_id = 1;
string subscription_type = 2;
string subscription_args_json = 3;
optional string subscription_metadata_json = 4;
double open_time_ms = 10;
double expires_at_ms = 11;
optional double last_delivered_at_ms = 12;
int32 delivery_count = 13;
}
// Copied from: agent.v1.ExecClientControlMessage (var: We)
message ExecClientControlMessage {
oneof message {
ExecClientStreamClose stream_close = 1;
ExecClientThrow throw = 2;
ExecClientHeartbeat heartbeat = 3;
}
}
// Copied from: agent.v1.ExecClientHeartbeat (var: Ke)
message ExecClientHeartbeat {
uint32 id = 1;
}
// Copied from: agent.v1.ExecClientMessage (var: $e)
message ExecClientMessage {
uint32 id = 1;
string exec_id = 15;
optional int32 local_execution_time_ms = 39;
repeated HookAdditionalContext hook_additional_contexts = 45;
oneof message {
ShellResult shell_result = 2;
WriteResult write_result = 3;
DeleteResult delete_result = 4;
GrepResult grep_result = 5;
ReadResult read_result = 7;
ReadResult redacted_read_result = 29;
LsResult ls_result = 8;
DiagnosticsResult diagnostics_result = 9;
RequestContextResult request_context_result = 10;
McpResult mcp_result = 11;
ShellStream shell_stream = 14;
BackgroundShellSpawnResult background_shell_spawn_result = 16;
ListMcpResourcesExecResult list_mcp_resources_exec_result = 17;
ReadMcpResourceExecResult read_mcp_resource_exec_result = 18;
McpStateExecResult mcp_state_exec_result = 36;
FetchResult fetch_result = 20;
RecordScreenResult record_screen_result = 21;
ComputerUseResult computer_use_result = 22;
WriteShellStdinResult write_shell_stdin_result = 23;
ExecuteHookResult execute_hook_result = 27;
SubagentResult subagent_result = 28;
ForceBackgroundShellResult force_background_shell_result = 30;
ForceBackgroundSubagentResult force_background_subagent_result = 31;
SubagentAwaitResult subagent_await_result = 37;
SmartModeClassifierResult smart_mode_classifier_result = 38;
CanvasDiagnosticsResult canvas_diagnostics_result = 40;
ShellAllowlistPrecheckResult shell_allowlist_precheck_result = 41;
McpAllowlistPrecheckResult mcp_allowlist_precheck_result = 42;
WebFetchAllowlistPrecheckResult web_fetch_allowlist_precheck_result = 43;
GetDiffResponse git_diff_response = 44;
PiReadExecResult pi_read_result = 46;
PiBashExecResult pi_bash_result = 47;
PiEditExecResult pi_edit_result = 48;
PiWriteExecResult pi_write_result = 49;
PiGrepExecResult pi_grep_result = 50;
PiFindExecResult pi_find_result = 51;
PiLsExecResult pi_ls_result = 52;
ConversationSearchResult conversation_search_result = 53;
AgentStoreConflictResult agent_store_conflict_result = 54;
ShellResult mini_swe_agent_bash_result = 55;
}
}
// Copied from: agent.v1.ExecClientStreamClose (var: Ve)
message ExecClientStreamClose {
uint32 id = 1;
}
// Copied from: agent.v1.ExecClientThrow (var: Ye)
message ExecClientThrow {
uint32 id = 1;
string error = 2;
optional string stack_trace = 3;
optional string error_code = 4;
}
// Copied from: agent.v1.ExecServerAbort (var: A)
message ExecServerAbort {
uint32 id = 1;
}
// Copied from: agent.v1.ExecServerControlMessage (var: _)
message ExecServerControlMessage {
oneof message {
ExecServerAbort abort = 1;
}
}
// Copied from: agent.v1.ExecServerMessage (var: Ze)
message ExecServerMessage {
uint32 id = 1;
string exec_id = 15;
optional SpanContext span_context = 19;
optional bool accept_hook_additional_contexts = 55;
oneof message {
ShellArgs shell_args = 2;
WriteArgs write_args = 3;
DeleteArgs delete_args = 4;
GrepArgs grep_args = 5;
ReadArgs read_args = 7;
ReadArgs redacted_read_args = 29;
LsArgs ls_args = 8;
DiagnosticsArgs diagnostics_args = 9;
RequestContextArgs request_context_args = 10;
McpArgs mcp_args = 11;
ShellArgs shell_stream_args = 14;
BackgroundShellSpawnArgs background_shell_spawn_args = 16;
ListMcpResourcesExecArgs list_mcp_resources_exec_args = 17;
ReadMcpResourceExecArgs read_mcp_resource_exec_args = 18;
McpStateExecArgs mcp_state_exec_args = 36;
FetchArgs fetch_args = 20;
RecordScreenArgs record_screen_args = 21;
ComputerUseArgs computer_use_args = 22;
WriteShellStdinArgs write_shell_stdin_args = 23;
ExecuteHookArgs execute_hook_args = 27;
SubagentArgs subagent_args = 28;
ForceBackgroundShellArgs force_background_shell_args = 30;
ForceBackgroundSubagentArgs force_background_subagent_args = 31;
SubagentAwaitArgs subagent_await_args = 37;
SmartModeClassifierArgs smart_mode_classifier_args = 38;
CanvasDiagnosticsArgs canvas_diagnostics_args = 40;
ShellAllowlistPrecheckArgs shell_allowlist_precheck_args = 41;
McpAllowlistPrecheckArgs mcp_allowlist_precheck_args = 42;
WebFetchAllowlistPrecheckArgs web_fetch_allowlist_precheck_args = 43;
GetDiffRequest git_diff_request = 44;
PiReadExecArgs pi_read_args = 45;
PiBashExecArgs pi_bash_args = 46;
PiEditExecArgs pi_edit_args = 47;
PiWriteExecArgs pi_write_args = 48;
PiGrepExecArgs pi_grep_args = 49;
PiFindExecArgs pi_find_args = 50;
PiLsExecArgs pi_ls_args = 51;
ShellArgs mini_swe_agent_bash_args = 52;
ConversationSearchArgs conversation_search_args = 53;
AgentStoreConflictArgs agent_store_conflict_args = 54;
}
}
// Copied from: agent.v1.ExecuteHookArgs (var: et)
message ExecuteHookArgs {
ExecuteHookRequest request = 1;
}
// Copied from: agent.v1.ExecuteHookRequest (var: nt)
message ExecuteHookRequest {
oneof request {
PreCompactRequestQuery pre_compact = 1;
SubagentStartRequestQuery subagent_start = 2;
SubagentStopRequestQuery subagent_stop = 3;
PreToolUseRequestQuery pre_tool_use = 4;
PostToolUseRequestQuery post_tool_use = 5;
PostToolUseFailureRequestQuery post_tool_use_failure = 6;
BeforeSubmitPromptRequestQuery before_submit_prompt = 7;
AfterAgentResponseRequestQuery after_agent_response = 8;
AfterAgentThoughtRequestQuery after_agent_thought = 9;
StopRequestQuery stop = 11;
}
}
// Copied from: agent.v1.ExecuteHookResponse (var: rt)
message ExecuteHookResponse {
oneof response {
PreCompactRequestResponse pre_compact = 1;
SubagentStartRequestResponse subagent_start = 2;
SubagentStopRequestResponse subagent_stop = 3;
PreToolUseRequestResponse pre_tool_use = 4;
PostToolUseRequestResponse post_tool_use = 5;
PostToolUseFailureRequestResponse post_tool_use_failure = 6;
BeforeSubmitPromptRequestResponse before_submit_prompt = 7;
AfterAgentResponseRequestResponse after_agent_response = 8;
AfterAgentThoughtRequestResponse after_agent_thought = 9;
StopRequestResponse stop = 11;
}
}
// Copied from: agent.v1.ExecuteHookResult (var: tt)
message ExecuteHookResult {
ExecuteHookResponse response = 1;
}
// Copied from: agent.v1.ExecutePlanAction (var: wi)
message ExecutePlanAction {
RequestContext request_context = 1;
optional ConversationPlan plan = 2;
optional string plan_file_uri = 3;
optional string plan_file_content = 4;
AgentMode execution_mode = 5;
optional string kickoff_message_id = 6;
optional string plan_id = 7;
optional string plan_file_path = 8;
}
// Copied from: agent.v1.ExecutePlanInfo (var: Si)
message ExecutePlanInfo {
string plan_id = 1;
string plan_title = 2;
}
// Copied from: local:aiserver.v1.ExecuteSandMcpToolRequest (var: $o)
message ExecuteSandMcpToolRequest {
string server_identifier = 1;
string tool_name = 2;
google.protobuf.Struct args = 3;
string tool_call_id = 4;
string agent_id = 5;
string turn_id = 6;
}
// Copied from: local:aiserver.v1.ExecuteSandMcpToolResponse (var: ni)
message ExecuteSandMcpToolResponse {
FSIsEnabledForUserRequest result = 1;
}
// Copied from: local:aiserver.v1.ExplicitContext (var: le)
message ExplicitContext {
string context = 1;
optional string repo_context = 2;
repeated CursorRule rules = 3;
optional string mode_specific_context = 4;
repeated MCPInstructions mcp_instructions = 5;
}
// Copied from: local:aiserver.v1.ExtensionInstallCooldownSettings (var: Jc)
message ExtensionInstallCooldownSettings {
int32 cooldown_hours = 1;
}
// Copied from: local:aiserver.v1.ExtensionSigningSettings (var: Bc)
message ExtensionSigningSettings {
bool verification_enabled = 1;
}
// Copied from: local:aiserver.v1.ExternalSourceMetadata (var: Vi)
message ExternalSourceMetadata {
optional SlackSourceMetadata slack = 1;
optional LinearSourceMetadata linear = 2;
optional GithubSourceMetadata github = 3;
optional GitlabSourceMetadata gitlab = 4;
}
// Copied from: agent.v1.ExtraContextEntry (var: A)
message ExtraContextEntry {
oneof data_or_blob_id {
string data = 1;
bytes blob_id = 2;
}
}
// Copied from: local:aiserver.v1.ExtractPathsRequest (var: Q)
message ExtractPathsRequest {
FileCodeSnippets file_code_snippets = 1;
}
// Copied from: local:aiserver.v1.ExtractPathsResponse (var: G)
message ExtractPathsResponse {
repeated CodeSymbolWithAction paths = 1;
}
// Copied from: local:aiserver.v1.FSConfigRequest (var: E)
message FSConfigRequest {
}
// Copied from: local:aiserver.v1.FSConfigResponse (var: S)
message FSConfigResponse {
float check_filesync_hash_percent = 1;
optional int32 rate_limiter_breaker_reset_time_ms = 2;
optional int32 rate_limiter_rps = 3;
optional int32 rate_limiter_burst_capacity = 4;
optional int32 max_recent_updates_stored = 5;
optional int32 max_model_version_cache_size = 6;
optional int32 max_file_size_to_sync_bytes = 7;
optional int32 sync_retry_max_attempts = 8;
optional int32 sync_retry_initial_delay_ms = 9;
optional int32 sync_retry_time_multiplier = 10;
optional int32 file_sync_status_max_cache_size = 11;
optional int32 successive_syncs_required_for_reliance = 12;
optional int32 extra_successful_syncs_needed_after_errors = 13;
optional int32 big_change_stripping_threshold_bytes = 14;
optional int32 last_n_updates_to_send = 15;
optional int32 file_sync_status_ttl_ms = 16;
optional int32 sync_debounce_ms = 17;
optional int32 sync_update_threshold = 18;
}
// Copied from: local:aiserver.v1.FSGetFileContentsRequest (var: g)
message FSGetFileContentsRequest {
string uuid = 1;
string auth_id = 2;
string relative_workspace_path = 3;
int32 model_version = 4;
repeated FilesyncUpdateWithModelVersion filesync_updates = 5;
optional string sha256_hash = 6;
optional google.protobuf.Timestamp earliest_time = 7;
}
// Copied from: local:aiserver.v1.FSGetFileContentsResponse (var: h)
message FSGetFileContentsResponse {
string contents = 1;
optional string sha256_hash = 2;
}
// Copied from: local:aiserver.v1.FSGetMultiFileContentsRequest (var: _)
message FSGetMultiFileContentsRequest {
string auth_id = 1;
repeated FilesyncUpdateWithModelVersion filesync_updates = 2;
repeated FileRequest file_requests = 3;
bool get_all_recent_files = 4;
}
// Copied from: local:aiserver.v1.FSGetMultiFileContentsResponse (var: y)
message FSGetMultiFileContentsResponse {
repeated FileRetrieved files = 1;
}
// Copied from: local:aiserver.v1.FSInternalHealthCheckRequest (var: k)
message FSInternalHealthCheckRequest {
optional bool from_server = 1;
}
// Copied from: local:aiserver.v1.FSInternalHealthCheckResponse (var: w)
message FSInternalHealthCheckResponse {
bool success = 1;
}
// Copied from: local:aiserver.v1.FSIsEnabledForUserRequest (var: p)
message FSIsEnabledForUserRequest {
string uuid = 1;
}
// Copied from: local:aiserver.v1.FSIsEnabledForUserResponse (var: f)
message FSIsEnabledForUserResponse {
bool enabled = 1;
}
// Copied from: local:aiserver.v1.FSSyncErrorType (var: s)
enum FSSyncErrorType {
FS_SYNC_ERROR_TYPE_UNSPECIFIED = 0;
FS_SYNC_ERROR_TYPE_NON_EXISTANT = 1;
FS_SYNC_ERROR_TYPE_HASH_MISMATCH = 2;
}
// Copied from: local:aiserver.v1.FSSyncFileRequest (var: c)
message FSSyncFileRequest {
string uuid = 1;
string relative_workspace_path = 2;
int32 model_version = 3;
repeated FilesyncUpdateWithModelVersion filesync_updates = 4;
string sha256_hash = 5;
}
// Copied from: local:aiserver.v1.FSSyncFileResponse (var: d)
message FSSyncFileResponse {
FSSyncErrorType error = 1;
}
// Copied from: local:aiserver.v1.FSUploadErrorType (var: r)
enum FSUploadErrorType {
FS_UPLOAD_ERROR_TYPE_UNSPECIFIED = 0;
FS_UPLOAD_ERROR_TYPE_NON_EXISTANT = 1;
FS_UPLOAD_ERROR_TYPE_HASH_MISMATCH = 2;
}
// Copied from: local:aiserver.v1.FSUploadFileRequest (var: a)
message FSUploadFileRequest {
string uuid = 1;
string relative_workspace_path = 2;
string contents = 3;
int32 model_version = 4;
optional string sha256_hash = 5;
}
// Copied from: local:aiserver.v1.FSUploadFileResponse (var: l)
message FSUploadFileResponse {
FSUploadErrorType error = 1;
}
// Copied from: local:aiserver.v1.FastApplySource (var: s)
enum FastApplySource {
FAST_APPLY_SOURCE_UNSPECIFIED = 0;
FAST_APPLY_SOURCE_COMPOSER = 1;
FAST_APPLY_SOURCE_CLICKED_APPLY = 2;
FAST_APPLY_SOURCE_CACHED_APPLY = 3;
FAST_APPLY_SOURCE_COMPOSER_AGENT = 4;
}
// Copied from: local:aiserver.v1.FastRepoInitHandshakeRequest (var: Y)
message FastRepoInitHandshakeRequest {
RepositoryInfo repository = 1;
string root_hash = 2;
string potential_legacy_repo_name = 3;
}
// Copied from: local:aiserver.v1.FastRepoInitHandshakeResponse (var: K)
message FastRepoInitHandshakeResponse {
// Copied from: local:aiserver.v1.FastRepoInitHandshakeResponse.Status (var: u)
enum Status {
STATUS_UNSPECIFIED = 0;
STATUS_UP_TO_DATE = 1;
STATUS_OUT_OF_SYNC = 2;
STATUS_FAILURE = 3;
STATUS_EMPTY = 4;
}
Status status = 1;
string repo_name = 2;
}
// Copied from: local:aiserver.v1.FastRepoInitHandshakeV2Request (var: z)
message FastRepoInitHandshakeV2Request {
RepositoryInfo repository = 1;
string root_hash = 2;
SimilarityMetricType similarity_metric_type = 3;
repeated float similarity_metric = 4;
string path_key_hash = 5;
PathKeyHashType path_key_hash_type = 6;
bool do_copy = 7;
string path_key = 8;
LocalCodebaseFileInfo local_codebase_root_info = 9;
bool return_after_background_copy_started = 10;
}
// Copied from: local:aiserver.v1.FastRepoInitHandshakeV2Response (var: Z)
message FastRepoInitHandshakeV2Response {
// Copied from: local:aiserver.v1.FastRepoInitHandshakeV2Response.Status (var: c)
enum Status {
STATUS_UNSPECIFIED = 0;
STATUS_FAILURE = 1;
STATUS_SUCCESS = 2;
}
Status status = 1;
repeated RepositoryCodebaseInfo codebases = 2;
}
// Copied from: local:aiserver.v1.FastRepoSyncCompleteRequest (var: ee)
message FastRepoSyncCompleteRequest {
repeated RepositoryCodebaseSyncStatus codebases = 1;
}
// Copied from: local:aiserver.v1.FastRepoSyncCompleteResponse (var: te)
message FastRepoSyncCompleteResponse {
}
// Copied from: local:aiserver.v1.FastUpdateFileRequest (var: me)
message FastUpdateFileRequest {
// Copied from: local:aiserver.v1.FastUpdateFileRequest.LocalFile (var: ce)
message LocalFile {
File file = 1;
string hash = 2;
string unencrypted_relative_workspace_path = 3;
}
// Copied from: local:aiserver.v1.FastUpdateFileRequest.UpdateType (var: p)
enum UpdateType {
UPDATE_TYPE_UNSPECIFIED = 0;
UPDATE_TYPE_ADD = 1;
UPDATE_TYPE_DELETE = 2;
UPDATE_TYPE_MODIFY = 3;
}
RepositoryInfo repository = 1;
repeated PartialPathItem ancestor_spline = 4;
UpdateType update_type = 5;
oneof partial_path {
PartialPathItem directory = 2;
LocalFile local_file = 3;
}
}
// Copied from: local:aiserver.v1.FastUpdateFileResponse (var: de)
message FastUpdateFileResponse {
// Copied from: local:aiserver.v1.FastUpdateFileResponse.Status (var: f)
enum Status {
STATUS_UNSPECIFIED = 0;
STATUS_SUCCESS = 1;
STATUS_FAILURE = 2;
STATUS_EXPECTED_FAILURE = 3;
}
Status status = 1;
}
// Copied from: local:aiserver.v1.FastUpdateFileV2Request (var: pe)
message FastUpdateFileV2Request {
// Copied from: local:aiserver.v1.FastUpdateFileV2Request.FileUpdate (var: ge)
message FileUpdate {
repeated PartialPathItem ancestor_spline = 3;
FastUpdateFileV2Request.UpdateType update_type = 4;
oneof partial_path {
PartialPathItem directory = 1;
FastUpdateFileV2Request.LocalFile local_file = 2;
}
}
// Copied from: local:aiserver.v1.FastUpdateFileV2Request.LocalFile (var: fe)
message LocalFile {
File file = 1;
string hash = 2;
string unencrypted_relative_workspace_path = 3;
}
// Copied from: local:aiserver.v1.FastUpdateFileV2Request.UpdateType (var: g)
enum UpdateType {
UPDATE_TYPE_UNSPECIFIED = 0;
UPDATE_TYPE_ADD = 1;
UPDATE_TYPE_DELETE = 2;
UPDATE_TYPE_MODIFY = 3;
UPDATE_TYPE_BATCH = 4;
}
ClientRepositoryInfo client_repository_info = 1;
string codebase_id = 2;
repeated PartialPathItem ancestor_spline = 5;
UpdateType update_type = 6;
repeated FileUpdate file_updates = 7;
oneof partial_path {
PartialPathItem directory = 3;
LocalFile local_file = 4;
}
}
// Copied from: local:aiserver.v1.FastUpdateFileV2Response (var: he)
message FastUpdateFileV2Response {
// Copied from: local:aiserver.v1.FastUpdateFileV2Response.Status (var: h)
enum Status {
STATUS_UNSPECIFIED = 0;
STATUS_SUCCESS = 1;
STATUS_FAILURE = 2;
STATUS_EXPECTED_FAILURE = 3;
}
Status status = 1;
}
// Copied from: local:aiserver.v1.FeatureType (var: s)
enum FeatureType {
FEATURE_TYPE_UNSPECIFIED = 0;
FEATURE_TYPE_EDIT = 1;
FEATURE_TYPE_GENERATE = 2;
FEATURE_TYPE_INLINE_LONG_COMPLETION = 3;
}
// Copied from: agent.v1.FeedbackRequestCategory (var: Fa)
message FeedbackRequestCategory {
string id = 1;
string label = 2;
}
// Copied from: agent.v1.FeedbackRequestCategoryGroup (var: qa)
message FeedbackRequestCategoryGroup {
string id = 1;
string prompt = 2;
repeated FeedbackRequestCategory categories = 3;
}
// Copied from: agent.v1.FeedbackRequestUpdate (var: Da)
message FeedbackRequestUpdate {
string request_id = 1;
optional string canonical_model_name = 2;
repeated FeedbackRequestCategory categories = 3;
repeated FeedbackRequestCategoryGroup category_groups = 4;
bool show_form_immediately = 5;
optional string title = 6;
optional string negative_title = 7;
optional string comment_placeholder = 8;
}
// Copied from: local:aiserver.v1.FetchAllInstallationReposRequest (var: pf)
message FetchAllInstallationReposRequest {
int64 installation_id = 1;
optional int32 total_pages = 2;
optional bool include_all_team_owned_repos = 4;
optional string ghe_application = 5;
optional bool skip_cache = 6;
}
// Copied from: local:aiserver.v1.FetchAllInstallationReposResponse (var: ff)
message FetchAllInstallationReposResponse {
repeated GetGithubInstallationsResponse.Repository repos = 1;
optional string access_error = 2;
}
// Copied from: agent.v1.FetchArgs (var: s)
message FetchArgs {
string url = 1;
string tool_call_id = 2;
}
// Copied from: local:aiserver.v1.FetchBackgroundComposerRequest (var: Jm)
message FetchBackgroundComposerRequest {
string bc_id = 1;
int32 start_index = 2;
optional int32 limit = 3;
}
// Copied from: local:aiserver.v1.FetchBackgroundComposerResponse (var: Cm)
message FetchBackgroundComposerResponse {
repeated HeadlessAgenticComposerResponse responses = 1;
int32 total_responses = 2;
}
// Copied from: agent.v1.FetchError (var: a)
message FetchError {
string url = 1;
string error = 2;
}
// Copied from: local:aiserver.v1.FetchPullRequestParams (var: er)
message FetchPullRequestParams {
string pull_number_or_commit_hash = 1;
optional string repo = 2;
optional bool is_github = 3;
}
// Copied from: local:aiserver.v1.FetchPullRequestResult (var: tr)
message FetchPullRequestResult {
string content = 1;
uint32 pr_number = 2;
string title = 3;
string body = 4;
string author = 5;
string date = 6;
string diff = 7;
optional string sha = 8;
optional string external_link = 9;
optional string url = 10;
repeated IssueComment comments = 11;
repeated string labels = 12;
repeated string assignees = 13;
optional bool is_issue = 14;
optional string state = 15;
optional bool prompt_connect_github = 16;
}
// Copied from: local:aiserver.v1.FetchPullRequestStream (var: rr)
message FetchPullRequestStream {
}
// Copied from: local:aiserver.v1.FetchRelevantKnowledgeForConversationRequest (var: Su)
message FetchRelevantKnowledgeForConversationRequest {
string request_id = 1;
repeated ConversationMessage conversation = 2;
optional string git_origin = 3;
optional int32 limit = 4;
repeated string tagged_filenames = 5;
}
// Copied from: local:aiserver.v1.FetchRelevantKnowledgeForConversationResponse (var: Iu)
message FetchRelevantKnowledgeForConversationResponse {
repeated ConversationMessage.KnowledgeItem knowledge_items = 1;
}
// Copied from: agent.v1.FetchResult (var: o)
message FetchResult {
oneof result {
FetchSuccess success = 1;
FetchError error = 2;
}
}
// Copied from: local:aiserver.v1.FetchRulesParams (var: b)
message FetchRulesParams {
repeated string rule_names = 1;
}
// Copied from: local:aiserver.v1.FetchRulesResult (var: M)
message FetchRulesResult {
repeated CursorRule rules = 1;
}
// Copied from: local:aiserver.v1.FetchRulesStream (var: wn)
message FetchRulesStream {
repeated string rule_names = 1;
}
// Copied from: agent.v1.FetchSuccess (var: i)
message FetchSuccess {
string url = 1;
string content = 2;
int32 status_code = 3;
string content_type = 4;
}
// Copied from: local:aiserver.v1.File (var: G)
message File {
string relative_workspace_path = 1;
string contents = 2;
FileGit file_git_context = 3;
}
// Copied from: local:aiserver.v1.FileAndOutline (var: p)
message FileAndOutline {
CodeBlock file = 1;
optional string outline = 2;
}
// Copied from: local:aiserver.v1.FileCodeSnippets (var: Y)
message FileCodeSnippets {
string relative_workspace_path = 1;
int32 total_lines = 2;
repeated CodeSnippet snippets = 3;
}
// Copied from: local:aiserver.v1.FileDiff (var: B)
message FileDiff {
// Copied from: local:aiserver.v1.FileDiff.Chunk (var: J)
message Chunk {
string content = 1;
repeated string lines = 2;
int32 old_start = 3;
int32 old_lines = 4;
int32 new_start = 5;
int32 new_lines = 6;
}
int32 added = 4;
int32 removed = 5;
string from = 1;
string to = 2;
repeated Chunk chunks = 3;
optional string before_file_contents = 6;
optional string after_file_contents = 7;
optional bool is_generated = 8;
}
// Copied from: local:aiserver.v1.FileGit (var: Q)
message FileGit {
repeated GitCommit commits = 1;
}
// Copied from: local:aiserver.v1.FileLink (var: wt)
message FileLink {
string display_name = 1;
string relative_workspace_path = 2;
}
// Copied from: local:aiserver.v1.FileRangeAnnotations (var: Yl)
message FileRangeAnnotations {
string file_path = 1;
repeated RangeGroup groups = 2;
}
// Copied from: local:aiserver.v1.FileRequest (var: A)
message FileRequest {
string relative_workspace_path = 1;
optional int32 requested_version = 2;
optional string sha256_hash = 3;
bool required = 4;
optional google.protobuf.Timestamp earliest_time = 5;
}
// Copied from: local:aiserver.v1.FileResult (var: tt)
message FileResult {
File file = 1;
float score = 2;
}
// Copied from: local:aiserver.v1.FileRetrieved (var: T)
message FileRetrieved {
string relative_workspace_path = 1;
string contents = 2;
int32 model_version = 3;
google.protobuf.Timestamp last_modified = 4;
}
// Copied from: agent.v1.FileState (var: Xi)
message FileState {
optional string content = 1;
optional string initial_content = 2;
}
// Copied from: agent.v1.FileStateStructure (var: Zi)
message FileStateStructure {
optional bytes content = 1;
optional bytes initial_content = 2;
}
// Copied from: local:aiserver.v1.FilesyncUpdateWithModelVersion (var: u)
message FilesyncUpdateWithModelVersion {
int32 model_version = 1;
string relative_workspace_path = 2;
repeated SingleUpdateRequest updates = 3;
int32 expected_file_length = 4;
}
// Copied from: local:aiserver.v1.FindBugsRequest (var: rl)
message FindBugsRequest {
CurrentFileInfo current_file = 1;
ModelDetails model_details = 2;
}
// Copied from: local:aiserver.v1.FindBugsResponse (var: sl)
message FindBugsResponse {
// Copied from: local:aiserver.v1.FindBugsResponse.Bug (var: ol)
message Bug {
string description = 1;
int32 line_number = 2;
float confidence = 3;
}
optional Bug bug = 1;
}
// Copied from: local:aiserver.v1.FinishSetupGithubEnterpriseAppRequest (var: en)
message FinishSetupGithubEnterpriseAppRequest {
string installation_code = 1;
string pending_app_uuid = 2;
}
// Copied from: local:aiserver.v1.FinishSetupGithubEnterpriseAppResponse (var: tn)
message FinishSetupGithubEnterpriseAppResponse {
optional string install_url = 1;
}
// Copied from: local:aiserver.v1.FinishUpdateRepoRequest (var: Ue)
message FinishUpdateRepoRequest {
RepositoryInfo repository = 1;
}
// Copied from: local:aiserver.v1.FinishUpdateRepoResponse (var: xe)
message FinishUpdateRepoResponse {
// Copied from: local:aiserver.v1.FinishUpdateRepoResponse.Status (var: w)
enum Status {
STATUS_UNSPECIFIED = 0;
STATUS_SUCCESS = 1;
STATUS_FAILURE = 2;
}
Status status = 1;
}
// Copied from: local:aiserver.v1.FinishUploadRepoRequest (var: Me)
message FinishUploadRepoRequest {
RepositoryInfo repository = 1;
}
// Copied from: local:aiserver.v1.FinishUploadRepoResponse (var: Le)
message FinishUploadRepoResponse {
// Copied from: local:aiserver.v1.FinishUploadRepoResponse.Status (var: T)
enum Status {
STATUS_UNSPECIFIED = 0;
STATUS_SUCCESS = 1;
STATUS_FAILURE = 2;
}
Status status = 1;
}
// Copied from: local:aiserver.v1.FinishedCppGenerationEvent (var: ye)
message FinishedCppGenerationEvent {
PointInTimeModel point_in_time_model = 1;
RecoverableCppData recoverable_cpp_data = 2;
}
// Copied from: local:aiserver.v1.FirstPartyPluginConfiguration (var: Wm)
message FirstPartyPluginConfiguration {
FirstPartyPluginMode mode = 1;
repeated string allowed_plugin_ids = 2;
}
// Copied from: local:aiserver.v1.FirstPartyPluginMode (var: ye)
enum FirstPartyPluginMode {
FIRST_PARTY_PLUGIN_MODE_UNSPECIFIED = 0;
FIRST_PARTY_PLUGIN_MODE_ENABLE_ALL = 1;
FIRST_PARTY_PLUGIN_MODE_ALLOWLIST = 2;
}
// Copied from: local:aiserver.v1.FixLintsParams (var: cr)
message FixLintsParams {
}
// Copied from: local:aiserver.v1.FixLintsResult (var: dr)
message FixLintsResult {
// Copied from: local:aiserver.v1.FixLintsResult.FileResult (var: pr)
message FileResult {
string file_path = 1;
EditFileResult.FileDiff diff = 2;
bool is_applied = 3;
bool apply_failed = 4;
optional string error = 5;
repeated LinterError linter_errors = 6;
}
repeated FileResult file_results = 1;
}
// Copied from: local:aiserver.v1.FixLintsStream (var: fr)
message FixLintsStream {
}
// Copied from: local:aiserver.v1.FixLintsSubagentParams (var: Rn)
message FixLintsSubagentParams {
}
// Copied from: local:aiserver.v1.FixLintsSubagentReturnValue (var: Pn)
message FixLintsSubagentReturnValue {
}
// Copied from: local:aiserver.v1.FixMarkersRequest (var: Ca)
message FixMarkersRequest {
// Copied from: local:aiserver.v1.FixMarkersRequest.Marker (var: Na)
message Marker {
// Copied from: local:aiserver.v1.FixMarkersRequest.Marker.AncestorTypeDefinition (var: ba)
message AncestorTypeDefinition {
string name = 1;
string relative_workspace_path = 2;
int32 start_line = 3;
repeated string lines = 4;
}
// Copied from: local:aiserver.v1.FixMarkersRequest.Marker.ClassInformation (var: qa)
message ClassInformation {
// Copied from: local:aiserver.v1.FixMarkersRequest.Marker.ClassInformation.Constructor (var: Da)
message Constructor {
int32 start_line = 1;
int32 end_line_inclusive = 2;
}
string class_name = 1;
int32 start_line = 2;
repeated int32 top_level_lines = 3;
repeated string lines = 4;
repeated Constructor constructors = 5;
string detail = 6;
}
// Copied from: local:aiserver.v1.FixMarkersRequest.Marker.ContextRange (var: Pa)
message ContextRange {
int32 start_line = 1;
int32 end_line_inclusive = 2;
}
// Copied from: local:aiserver.v1.FixMarkersRequest.Marker.FunctionSignature (var: Oa)
message FunctionSignature {
// Copied from: local:aiserver.v1.FixMarkersRequest.Marker.FunctionSignature.FunctionParameter (var: Ua)
message FunctionParameter {
string label = 1;
string documentation = 2;
}
string label = 1;
string documentation = 2;
repeated FunctionParameter parameters = 3;
}
// Copied from: local:aiserver.v1.FixMarkersRequest.Marker.InsertedSymbolType (var: Ma)
message InsertedSymbolType {
string symbol_name = 1;
string symbol_type = 2;
string relative_workspace_path = 3;
int32 symbol_line = 4;
}
// Copied from: local:aiserver.v1.FixMarkersRequest.Marker.QuickFix (var: La)
message QuickFix {
// Copied from: local:aiserver.v1.FixMarkersRequest.Marker.QuickFix.Edit (var: Fa)
message Edit {
string relative_workspace_path = 1;
int32 start_line = 2;
int32 end_line_inclusive = 3;
repeated string deleted_lines = 4;
repeated string add_lines = 5;
int32 snapshot = 6;
}
string message = 1;
string kind = 2;
bool is_preferred = 3;
repeated Edit edits = 4;
}
// Copied from: local:aiserver.v1.FixMarkersRequest.Marker.RelatedInformation (var: Ra)
message RelatedInformation {
string message = 1;
string relative_workspace_path = 2;
repeated string relevant_lines = 3;
int32 start_line = 4;
}
repeated string lines = 1;
int32 start_line = 2;
int32 end_line_inclusive = 3;
string message = 4;
string relative_workspace_path = 5;
repeated RelatedInformation related_information = 6;
repeated ContextRange context_ranges = 7;
repeated AncestorTypeDefinition ancestor_type_definitions = 8;
repeated InsertedSymbolType inserted_symbol_types = 9;
repeated QuickFix quick_fixes = 10;
int32 start_column = 11;
int32 end_column_inclusive = 12;
repeated ClassInformation class_information = 13;
repeated FunctionSignature function_signatures = 14;
int32 snapshot = 15;
}
repeated Marker markers = 1;
ModelDetails model_details = 2;
int32 iteration_number = 3;
string sequence_id = 4;
string user_instruction = 5;
}
// Copied from: local:aiserver.v1.FixMarkersResponse (var: xa)
message FixMarkersResponse {
// Copied from: local:aiserver.v1.FixMarkersResponse.Change (var: Qa)
message Change {
int32 start_line = 1;
int32 end_line_exclusive = 2;
repeated string deleted_lines = 3;
repeated string add_lines = 4;
}
string relative_workspace_path = 1;
repeated Change changes = 2;
bool success = 3;
int32 iteration_number = 4;
}
// Copied from: local:aiserver.v1.FolderFileInfo (var: ln)
message FolderFileInfo {
string relative_path = 1;
string content = 2;
bool truncated = 3;
float score = 4;
}
// Copied from: local:aiserver.v1.FolderInfo (var: an)
message FolderInfo {
string relative_path = 1;
repeated FolderFileInfo files = 2;
}
// Copied from: local:aiserver.v1.FolderSizeLimit (var: We)
message FolderSizeLimit {
int32 max_total_bytes = 1;
int32 max_num_files = 2;
}
// Copied from: agent.v1.ForceBackgroundShellArgs (var: y)
message ForceBackgroundShellArgs {
string tool_call_id = 1;
}
// Copied from: agent.v1.ForceBackgroundShellResult (var: k)
message ForceBackgroundShellResult {
ForceBackgroundShellStatus status = 1;
optional ShellResult shell_result = 2;
}
// Copied from: agent.v1.ForceBackgroundShellStatus (var: o)
enum ForceBackgroundShellStatus {
FORCE_BACKGROUND_SHELL_STATUS_UNSPECIFIED = 0;
FORCE_BACKGROUND_SHELL_STATUS_ACCEPTED = 1;
FORCE_BACKGROUND_SHELL_STATUS_NOT_FOUND = 2;
}
// Copied from: agent.v1.ForceBackgroundSubagentArgs (var: V)
message ForceBackgroundSubagentArgs {
string tool_call_id = 1;
}
// Copied from: agent.v1.ForceBackgroundSubagentResult (var: Y)
message ForceBackgroundSubagentResult {
ForceBackgroundSubagentStatus status = 1;
}
// Copied from: agent.v1.ForceBackgroundSubagentStatus (var: w)
enum ForceBackgroundSubagentStatus {
FORCE_BACKGROUND_SUBAGENT_STATUS_UNSPECIFIED = 0;
FORCE_BACKGROUND_SUBAGENT_STATUS_ACCEPTED = 1;
FORCE_BACKGROUND_SUBAGENT_STATUS_NOT_FOUND = 2;
}
// Copied from: local:aiserver.v1.ForkBackgroundComposerMode (var: nr)
enum ForkBackgroundComposerMode {
FORK_BACKGROUND_COMPOSER_MODE_UNSPECIFIED = 0;
FORK_BACKGROUND_COMPOSER_MODE_CONVERSATION = 1;
FORK_BACKGROUND_COMPOSER_MODE_POD = 2;
}
// Copied from: local:aiserver.v1.ForkBackgroundComposerRequest (var: ga)
message ForkBackgroundComposerRequest {
string source_bc_id = 1;
ForkBackgroundComposerMode mode = 2;
optional string name = 3;
optional uint32 turn_count = 4;
}
// Copied from: local:aiserver.v1.ForkBackgroundComposerResponse (var: ha)
message ForkBackgroundComposerResponse {
BackgroundComposer composer = 1;
string bc_id = 2;
string source_bc_id = 3;
ForkBackgroundComposerMode mode = 4;
optional string initial_run_id = 5;
}
// Copied from: local:aiserver.v1.FreeTrialCodePurpose (var: Me)
enum FreeTrialCodePurpose {
FREE_TRIAL_CODE_PURPOSE_UNSPECIFIED = 0;
FREE_TRIAL_CODE_PURPOSE_FREE_TRIAL = 1;
FREE_TRIAL_CODE_PURPOSE_ORG_INVITE = 2;
}
// Copied from: local:aiserver.v1.FullCommitNotes (var: De)
message FullCommitNotes {
repeated CommitNote notes = 1;
string commit_hash = 2;
string repo_url = 3;
string files_changed_relative_path = 4;
}
// Copied from: local:aiserver.v1.FullFileSearchResult (var: Tr)
message FullFileSearchResult {
repeated FileResult results = 1;
}
// Copied from: local:aiserver.v1.FullSelfDrivingActiveAgent (var: tg)
message FullSelfDrivingActiveAgent {
string pr_url = 1;
string repo_url = 2;
int32 pull_number = 3;
string bc_id = 4;
bool enabled = 5;
FullSelfDrivingMode mode = 6;
int32 owner_user_id = 7;
optional string owner_display_name = 8;
optional string owner_email = 9;
optional string mergeable_state = 10;
optional bool is_mergeable = 11;
optional int32 visible_findings_count = 12;
optional FullSelfDrivingStatusUpdate latest_status_update = 13;
optional string pr_title = 14;
}
// Copied from: local:aiserver.v1.FullSelfDrivingCloudCommandAction (var: p)
enum FullSelfDrivingCloudCommandAction {
FULL_SELF_DRIVING_CLOUD_COMMAND_ACTION_UNSPECIFIED = 0;
FULL_SELF_DRIVING_CLOUD_COMMAND_ACTION_SPAWNED = 1;
FULL_SELF_DRIVING_CLOUD_COMMAND_ACTION_FOLLOWED_UP = 2;
}
// Copied from: local:aiserver.v1.FullSelfDrivingFinding (var: N)
message FullSelfDrivingFinding {
string event_id = 1;
google.protobuf.Timestamp last_updated_at = 2;
string pr_url = 3;
string bc_id = 4;
string stable_key = 5;
string status = 6;
string title = 7;
string body = 8;
string severity = 9;
google.protobuf.Struct payload = 10;
string superseded_by_stable_key = 11;
string superseded_reason = 12;
string dismissed_reason = 13;
string kind = 14;
string action = 15;
}
// Copied from: local:aiserver.v1.FullSelfDrivingMode (var: c)
enum FullSelfDrivingMode {
FULL_SELF_DRIVING_MODE_UNSPECIFIED = 0;
FULL_SELF_DRIVING_MODE_SUGGEST = 1;
FULL_SELF_DRIVING_MODE_APPLY = 2;
}
// Copied from: local:aiserver.v1.FullSelfDrivingOutputInput (var: P)
message FullSelfDrivingOutputInput {
string stable_key = 1;
string kind = 2;
string status = 3;
string title = 4;
string body = 5;
string severity = 6;
string action = 7;
google.protobuf.Struct payload = 8;
}
// Copied from: local:aiserver.v1.FullSelfDrivingRepoSetting (var: Uf)
message FullSelfDrivingRepoSetting {
ProtectedGitProvider scm_provider = 1;
optional string git_enterprise_uuid = 2;
string scm_repo_node_id = 3;
string repo_url = 4;
bool enabled = 5;
}
// Copied from: local:aiserver.v1.FullSelfDrivingRun (var: B)
message FullSelfDrivingRun {
string bc_id = 1;
string status = 2;
google.protobuf.Timestamp created_at = 3;
google.protobuf.Timestamp first_finished_at = 4;
string branch_name = 5;
bool auto_branch = 6;
int32 files_changed = 7;
string source = 8;
string active_run_id = 9;
optional FullSelfDrivingRunLiveStatus latest_status_update = 10;
}
// Copied from: local:aiserver.v1.FullSelfDrivingRunLiveStatus (var: v)
message FullSelfDrivingRunLiveStatus {
string state = 1;
string status = 2;
repeated string loading_messages = 3;
google.protobuf.Timestamp updated_at = 4;
}
// Copied from: local:aiserver.v1.FullSelfDrivingRunSuggestionState (var: d)
enum FullSelfDrivingRunSuggestionState {
FULL_SELF_DRIVING_RUN_SUGGESTION_STATE_UNSPECIFIED = 0;
FULL_SELF_DRIVING_RUN_SUGGESTION_STATE_RUNNING = 1;
FULL_SELF_DRIVING_RUN_SUGGESTION_STATE_NO_CHANGES = 2;
FULL_SELF_DRIVING_RUN_SUGGESTION_STATE_READY = 3;
FULL_SELF_DRIVING_RUN_SUGGESTION_STATE_NOT_SUGGEST_MODE = 4;
}
// Copied from: local:aiserver.v1.FullSelfDrivingStatusUpdate (var: ng)
message FullSelfDrivingStatusUpdate {
string state = 1;
string status = 2;
repeated string loading_messages = 3;
google.protobuf.Timestamp updated_at = 4;
}
// Copied from: local:aiserver.v1.FullSelfDrivingTeamRepoSetting (var: jf)
message FullSelfDrivingTeamRepoSetting {
int32 team_id = 1;
ProtectedGitProvider scm_provider = 2;
optional string git_enterprise_uuid = 3;
string scm_repo_node_id = 4;
string repo_url = 5;
bool enabled = 6;
}
// Copied from: local:aiserver.v1.FullSelfDrivingTeamSettings (var: Vf)
message FullSelfDrivingTeamSettings {
int32 team_id = 1;
FullSelfDrivingMode default_mode = 2;
bool only_cloud_agent_prs = 3;
bool globally_disabled = 4;
bool auto_create_on_first_pr_push = 5;
}
// Copied from: agent.v1.GenerateImageArgs (var: s)
message GenerateImageArgs {
string description = 1;
optional string file_path = 2;
repeated string reference_image_paths = 5;
optional string aspect_ratio = 6;
}
// Copied from: agent.v1.GenerateImageError (var: a)
message GenerateImageError {
string error = 1;
}
// Copied from: local:aiserver.v1.GenerateImageReferenceImage (var: es)
message GenerateImageReferenceImage {
string data = 1;
string mime_type = 2;
}
// Copied from: agent.v1.GenerateImageRequestQuery (var: u)
message GenerateImageRequestQuery {
GenerateImageArgs args = 1;
string tool_call_id = 2;
}
// Copied from: agent.v1.GenerateImageRequestResponse (var: m)
message GenerateImageRequestResponse {
// Copied from: agent.v1.GenerateImageRequestResponse.Approved (var: c)
message Approved {
string description = 1;
}
// Copied from: agent.v1.GenerateImageRequestResponse.Rejected (var: d)
message Rejected {
string reason = 1;
}
oneof result {
Approved approved = 1;
Rejected rejected = 2;
}
}
// Copied from: agent.v1.GenerateImageResult (var: o)
message GenerateImageResult {
oneof result {
GenerateImageSuccess success = 1;
GenerateImageError error = 2;
}
}
// Copied from: agent.v1.GenerateImageSuccess (var: i)
message GenerateImageSuccess {
string file_path = 1;
string image_data = 2;
}
// Copied from: local:aiserver.v1.GenerateTldrRequest (var: Er)
message GenerateTldrRequest {
string text = 1;
}
// Copied from: local:aiserver.v1.GenerateTldrResponse (var: Sr)
message GenerateTldrResponse {
string summary = 1;
string all = 2;
}
// Copied from: local:aiserver.v1.GenericLogSpanUpdate (var: Cn)
message GenericLogSpanUpdate {
google.protobuf.Timestamp timestamp = 1;
string message = 2;
WaterfallLogLevel level = 3;
}
// Copied from: local:aiserver.v1.GetActivationCheckoutUrlRequest (var: Ba)
message GetActivationCheckoutUrlRequest {
int32 team_id = 1;
int32 seats = 2;
bool yearly = 3;
int32 request_quota_per_seat = 4;
optional string code = 5;
optional string radar_session_id = 6;
optional bool include_bugbot = 7;
optional TeamMemberBillingTier billing_tier = 8;
}
// Copied from: local:aiserver.v1.GetActivationCheckoutUrlResponse (var: Ja)
message GetActivationCheckoutUrlResponse {
string checkout_url = 1;
}
// Copied from: local:aiserver.v1.GetActiveOffboardingBannerRequest (var: dy)
message GetActiveOffboardingBannerRequest {
optional int32 team_id = 1;
}
// Copied from: local:aiserver.v1.GetActiveOffboardingBannerResponse (var: py)
message GetActiveOffboardingBannerResponse {
bool has_banner = 1;
optional OffboardingBanner banner = 2;
}
// Copied from: local:aiserver.v1.GetAdminNotificationStatusRequest (var: pT)
message GetAdminNotificationStatusRequest {
int32 team_id = 1;
AdminNotificationRequestType request_type = 2;
repeated NotifyTeamAdminsRepo repos = 3;
optional string ghe_application = 4;
}
// Copied from: local:aiserver.v1.GetAdminNotificationStatusResponse (var: fT)
message GetAdminNotificationStatusResponse {
bool can_send = 1;
optional int64 last_sent_timestamp = 2;
}
// Copied from: local:aiserver.v1.GetAdvancedAnalyticsEnabledRequest (var: op)
message GetAdvancedAnalyticsEnabledRequest {
int32 team_id = 1;
}
// Copied from: local:aiserver.v1.GetAdvancedAnalyticsEnabledResponse (var: ip)
message GetAdvancedAnalyticsEnabledResponse {
bool enabled = 1;
}
// Copied from: local:aiserver.v1.GetAgentSharePreviewRequest (var: kp)
message GetAgentSharePreviewRequest {
string share_id = 1;
optional bool include_preview_image = 2;
}
// Copied from: local:aiserver.v1.GetAgentSharePreviewResponse (var: wp)
message GetAgentSharePreviewResponse {
string share_id = 1;
string bc_id = 2;
optional string name = 3;
optional string summary = 4;
optional string status = 5;
optional string error_message = 6;
optional string repo_url = 7;
optional string branch_name = 8;
optional string artifact_image_url = 9;
optional bytes preview_image_png = 10;
}
// Copied from: local:aiserver.v1.GetAgentStoreFileLockRequest (var: jf)
message GetAgentStoreFileLockRequest {
string store_id = 1;
string rel_path = 2;
}
// Copied from: local:aiserver.v1.GetAgentStoreFileLockResponse (var: Xf)
message GetAgentStoreFileLockResponse {
bool held = 1;
optional AgentStoreFileLockHolder holder = 2;
int64 expires_at_ms = 3;
}
// Copied from: local:aiserver.v1.GetAgenticOnboardingConfigRequest (var: Yn)
message GetAgenticOnboardingConfigRequest {
}
// Copied from: local:aiserver.v1.GetAgenticOnboardingConfigResponse (var: Kn)
message GetAgenticOnboardingConfigResponse {
bool agentic_onboarding_enabled = 1;
}
// Copied from: local:aiserver.v1.GetAggregatedUsageEventsRequest (var: Ig)
message GetAggregatedUsageEventsRequest {
int32 team_id = 1;
optional int64 start_date = 2;
optional int64 end_date = 3;
optional int32 user_id = 4;
}
// Copied from: local:aiserver.v1.GetAggregatedUsageEventsResponse (var: vg)
message GetAggregatedUsageEventsResponse {
// Copied from: local:aiserver.v1.GetAggregatedUsageEventsResponse.ModelUsageAggregation (var: Bg)
message ModelUsageAggregation {
string model_intent = 1;
int64 input_tokens = 2;
int64 output_tokens = 3;
int64 cache_write_tokens = 4;
int64 cache_read_tokens = 5;
double total_cents = 6;
optional double request_cost = 7;
optional int32 tier = 8;
}
repeated ModelUsageAggregation aggregations = 1;
int64 total_input_tokens = 2;
int64 total_output_tokens = 3;
int64 total_cache_write_tokens = 4;
int64 total_cache_read_tokens = 5;
double total_cost_cents = 6;
double percent_of_burst_used = 7;
optional double total_request_cost = 8;
}
// Copied from: local:aiserver.v1.GetAtSymbolSuggestionsRequest (var: bt)
message GetAtSymbolSuggestionsRequest {
CurrentFileInfo current_file_info = 1;
repeated AtSymbolDependencyInformation at_symbol_dependencies = 2;
repeated AtSymbolOption at_symbol_options = 3;
string user_query = 4;
ModelDetails model_details = 5;
}
// Copied from: local:aiserver.v1.GetAtSymbolSuggestionsResponse (var: Mt)
message GetAtSymbolSuggestionsResponse {
repeated int32 indices = 1;
string explanation = 2;
}
// Copied from: local:aiserver.v1.GetAuditLogsRequest (var: Jg)
message GetAuditLogsRequest {
optional int32 team_id = 1;
optional int64 start_date = 2;
optional int64 end_date = 3;
optional string event_type = 4;
optional string search = 5;
optional int32 page = 6;
optional int32 page_size = 7;
}
// Copied from: local:aiserver.v1.GetAuditLogsResponse (var: Cg)
message GetAuditLogsResponse {
repeated AuditLogEvent events = 1;
int32 total_count = 2;
}
// Copied from: local:aiserver.v1.GetAvailableChunkingStrategiesRequest (var: ke)
message GetAvailableChunkingStrategiesRequest {
RepositoryInfo repository = 1;
}
// Copied from: local:aiserver.v1.GetAvailableChunkingStrategiesResponse (var: we)
message GetAvailableChunkingStrategiesResponse {
repeated ChunkingStrategy chunking_strategies = 1;
}
// Copied from: local:aiserver.v1.GetAvailableMcpServersRequest (var: Jo)
message GetAvailableMcpServersRequest {
}
// Copied from: local:aiserver.v1.GetAvailableMcpServersResponse (var: Co)
message GetAvailableMcpServersResponse {
// Copied from: local:aiserver.v1.GetAvailableMcpServersResponse.McpAccountInfo (var: Ro)
message McpAccountInfo {
string account_key = 1;
string server_identifier = 2;
bool user_has_access_token = 3;
}
// Copied from: local:aiserver.v1.GetAvailableMcpServersResponse.McpServerInfo (var: No)
message McpServerInfo {
int32 id = 1;
string name = 2;
bool is_team_server = 3;
bool enabled = 4;
string type = 5;
optional string command = 6;
repeated string args = 7;
optional string url = 8;
optional int64 plugin_id = 9;
bool is_unseen = 10;
optional bool user_has_access_token = 11;
bool is_required = 12;
bool managed_by_team_plugin_policy = 13;
bool disabled_by_team_admin_policy = 14;
optional string server_identifier = 15;
optional int32 owning_team_id = 16;
repeated GetAvailableMcpServersResponse.McpAccountInfo accounts = 17;
}
repeated McpServerInfo servers = 1;
}
// Copied from: local:aiserver.v1.GetBackgroundComposerArtifactBytesRequest (var: xm)
message GetBackgroundComposerArtifactBytesRequest {
string bc_id = 1;
string absolute_path = 2;
}
// Copied from: local:aiserver.v1.GetBackgroundComposerArtifactBytesResponse (var: Qm)
message GetBackgroundComposerArtifactBytesResponse {
bytes content = 1;
string content_type = 2;
}
// Copied from: local:aiserver.v1.GetBackgroundComposerArtifactRequest (var: Om)
message GetBackgroundComposerArtifactRequest {
string bc_id = 1;
string absolute_path = 2;
}
// Copied from: local:aiserver.v1.GetBackgroundComposerArtifactResponse (var: Um)
message GetBackgroundComposerArtifactResponse {
string url = 1;
string expires_at = 2;
}
// Copied from: local:aiserver.v1.GetBackgroundComposerChangesHashRequest (var: Qo)
message GetBackgroundComposerChangesHashRequest {
string bc_id = 1;
optional string branch_name = 2;
}
// Copied from: local:aiserver.v1.GetBackgroundComposerChangesHashResponse (var: Go)
message GetBackgroundComposerChangesHashResponse {
string hash = 1;
}
// Copied from: local:aiserver.v1.GetBackgroundComposerConversationRequest (var: tu)
message GetBackgroundComposerConversationRequest {
string bc_id = 1;
}
// Copied from: local:aiserver.v1.GetBackgroundComposerConversationResponse (var: nu)
message GetBackgroundComposerConversationResponse {
repeated ConversationMessage conversation = 1;
}
// Copied from: local:aiserver.v1.GetBackgroundComposerDiffDetailsRequest (var: Ho)
message GetBackgroundComposerDiffDetailsRequest {
string bc_id = 1;
optional string branch_name = 2;
optional string repo_url = 3;
}
// Copied from: local:aiserver.v1.GetBackgroundComposerDiffDetailsResponse (var: Yo)
message GetBackgroundComposerDiffDetailsResponse {
string branch_name = 1;
string base_branch = 2;
repeated BackgroundComposerFullDiff diffs = 3;
repeated GitDiff git_diffs = 4;
}
// Copied from: local:aiserver.v1.GetBackgroundComposerEnvironmentVersionRequest (var: rm)
message GetBackgroundComposerEnvironmentVersionRequest {
string bc_id = 1;
}
// Copied from: local:aiserver.v1.GetBackgroundComposerEnvironmentVersionResponse (var: sm)
message GetBackgroundComposerEnvironmentVersionResponse {
repeated EnvironmentVersionSummary environment_version_history = 1;
}
// Copied from: local:aiserver.v1.GetBackgroundComposerFeedbackLinkRequest (var: Nu)
message GetBackgroundComposerFeedbackLinkRequest {
}
// Copied from: local:aiserver.v1.GetBackgroundComposerFeedbackLinkResponse (var: Ru)
message GetBackgroundComposerFeedbackLinkResponse {
string url = 1;
}
// Copied from: local:aiserver.v1.GetBackgroundComposerInfoRequest (var: Bl)
message GetBackgroundComposerInfoRequest {
string bc_id = 1;
bool include_diff = 2;
bool do_not_throw_if_setup_not_finished = 3;
}
// Copied from: local:aiserver.v1.GetBackgroundComposerInfoResponse (var: Ol)
message GetBackgroundComposerInfoResponse {
DetailedBackgroundComposer composer = 1;
}
// Copied from: local:aiserver.v1.GetBackgroundComposerNameRequest (var: Pm)
message GetBackgroundComposerNameRequest {
string bc_id = 1;
}
// Copied from: local:aiserver.v1.GetBackgroundComposerNameResponse (var: bm)
message GetBackgroundComposerNameResponse {
string name = 1;
}
// Copied from: local:aiserver.v1.GetBackgroundComposerPromptRequest (var: Mm)
message GetBackgroundComposerPromptRequest {
string bc_id = 1;
}
// Copied from: local:aiserver.v1.GetBackgroundComposerPromptResponse (var: Lm)
message GetBackgroundComposerPromptResponse {
ConversationMessage prompt = 1;
}
// Copied from: local:aiserver.v1.GetBackgroundComposerPullRequestRequest (var: ru)
message GetBackgroundComposerPullRequestRequest {
string bc_id = 1;
}
// Copied from: local:aiserver.v1.GetBackgroundComposerPullRequestResponse (var: su)
message GetBackgroundComposerPullRequestResponse {
string pr_url = 1;
}
// Copied from: local:aiserver.v1.GetBackgroundComposerRepositoryInfoRequest (var: xl)
message GetBackgroundComposerRepositoryInfoRequest {
string bc_id = 1;
}
// Copied from: local:aiserver.v1.GetBackgroundComposerRepositoryInfoResponse (var: Ql)
message GetBackgroundComposerRepositoryInfoResponse {
RepositoryInfo repository_info = 1;
optional string path_encryption_key = 2;
QueryOnlyRepoAccess query_only_repo_access = 3;
}
// Copied from: local:aiserver.v1.GetBackgroundComposerSlashCommandsRequest (var: zy)
message GetBackgroundComposerSlashCommandsRequest {
string bc_id = 1;
optional string repo_url = 2;
optional string git_ref = 3;
}
// Copied from: local:aiserver.v1.GetBackgroundComposerSlashCommandsResponse (var: jy)
message GetBackgroundComposerSlashCommandsResponse {
repeated string skill_names = 3;
repeated string command_names = 4;
repeated SkillDescriptor skills = 5;
repeated CommandDescriptor commands = 6;
optional bool machine_inventory_pending = 8;
}
// Copied from: local:aiserver.v1.GetBackgroundComposerSnapshotInfoRequest (var: No)
message GetBackgroundComposerSnapshotInfoRequest {
string snapshot_id = 1;
}
// Copied from: local:aiserver.v1.GetBackgroundComposerSnapshotInfoResponse (var: Ro)
message GetBackgroundComposerSnapshotInfoResponse {
string snapshot_id = 1;
ChangeBackgroundComposerSnapshotVisibilityRequest.Visibility visibility = 2;
string repo_url = 3;
double created_at_ms = 4;
}
// Copied from: local:aiserver.v1.GetBackgroundComposerSnapshotStateRequest (var: Do)
message GetBackgroundComposerSnapshotStateRequest {
string snapshot_id = 1;
}
// Copied from: local:aiserver.v1.GetBackgroundComposerSnapshotStateResponse (var: Oo)
message GetBackgroundComposerSnapshotStateResponse {
string snapshot_id = 1;
FinishUpdateRepoResponse.Status state = 2;
optional string error_message = 3;
}
// Copied from: local:aiserver.v1.GetBackgroundComposerStatusRequest (var: el)
message GetBackgroundComposerStatusRequest {
string bc_id = 1;
}
// Copied from: local:aiserver.v1.GetBackgroundComposerStatusResponse (var: tl)
message GetBackgroundComposerStatusResponse {
BackgroundComposerStatus status = 1;
bool is_unread = 2;
}
// Copied from: local:aiserver.v1.GetBackgroundComposerTimingsRequest (var: Jl)
message GetBackgroundComposerTimingsRequest {
string bc_id = 1;
}
// Copied from: local:aiserver.v1.GetBackgroundComposerTimingsResponse (var: Ul)
message GetBackgroundComposerTimingsResponse {
repeated CloudAgentTimingEvent events = 1;
}
// Copied from: local:aiserver.v1.GetBackgroundComposerUserSettingsRequest (var: mc)
message GetBackgroundComposerUserSettingsRequest {
}
// Copied from: local:aiserver.v1.GetBackgroundComposerUserSettingsResponse (var: cc)
message GetBackgroundComposerUserSettingsResponse {
optional string model_name = 1;
optional bool slack_notifications_for_web_enabled = 2;
optional bool ci_failure_followup_enabled = 3;
optional bool browser_use_enabled = 4;
optional AutoCreatePrSetting auto_create_pr_setting = 5;
optional PrReviewOpenDestinationMode pr_review_open_destination = 6;
optional GithubArtifactPostingMode github_artifact_posting = 7;
optional CloudAgentEgressProtectionMode egress_protection_mode = 8;
optional BackgroundComposerUserEgressPolicy egress_policy = 9;
optional string branch_prefix = 10;
optional BackgroundComposerQuickActionSettings quick_action_settings = 11;
optional bool allow_private_workers = 12;
optional string default_environment_public_id = 13;
repeated BackgroundComposerDefaultEnvironmentSetting default_environment_settings = 14;
optional bool remote_control_enabled = 15;
optional PrReviewOpenSurfaceMode pr_review_open_surface = 16;
repeated string sidebar_named_agent_ids = 17;
optional CloudAgentModelSelection default_model_selection = 18;
optional int32 ask_question_auto_answer_timeout_minutes = 19;
}
// Copied from: local:aiserver.v1.GetBackgroundComposerVmUsageRequest (var: xd)
message GetBackgroundComposerVmUsageRequest {
string bc_id = 1;
}
// Copied from: local:aiserver.v1.GetBackgroundComposerVmUsageResponse (var: Qd)
message GetBackgroundComposerVmUsageResponse {
int64 total_duration_ms = 1;
}
// Copied from: local:aiserver.v1.GetBackgroundJobRequest (var: Ur)
message GetBackgroundJobRequest {
string job_handle = 1;
}
// Copied from: local:aiserver.v1.GetBackgroundJobResponse (var: Qr)
message GetBackgroundJobResponse {
optional BackgroundJobStatus status = 1;
}
// Copied from: local:aiserver.v1.GetBaseTeamAdminSettingsRequest (var: Kc)
message GetBaseTeamAdminSettingsRequest {
int32 team_id = 1;
}
// Copied from: local:aiserver.v1.GetBedrockModelsRequest (var: Ql)
message GetBedrockModelsRequest {
string access_key = 1;
string secret_key = 2;
string region = 3;
}
// Copied from: local:aiserver.v1.GetBedrockModelsResponse (var: Gl)
message GetBedrockModelsResponse {
repeated string models = 1;
optional string error = 2;
}
// Copied from: local:aiserver.v1.GetBitbucketForgeStatusRequest (var: ov)
message GetBitbucketForgeStatusRequest {
int32 team_id = 1;
}
// Copied from: local:aiserver.v1.GetBitbucketForgeStatusResponse (var: iv)
message GetBitbucketForgeStatusResponse {
string status = 1;
optional string workspace_name = 2;
optional string base_url = 3;
optional string workspace_settings_url = 4;
}
// Copied from: local:aiserver.v1.GetBlobForAgentKVRequest (var: Qa)
message GetBlobForAgentKVRequest {
string bc_id = 1;
bytes blob_id = 2;
}
// Copied from: local:aiserver.v1.GetBlobForAgentKVResponse (var: Ga)
message GetBlobForAgentKVResponse {
bytes blob_data = 1;
}
// Copied from: local:aiserver.v1.GetBranchComparisonRequest (var: ws)
message GetBranchComparisonRequest {
string repo_url = 1;
string branch_name = 2;
optional string base_branch = 3;
}
// Copied from: local:aiserver.v1.GetBranchComparisonResponse (var: Es)
message GetBranchComparisonResponse {
repeated SCMPullRequestDiffFile files = 1;
string base_sha = 2;
string head_sha = 3;
string base_branch = 4;
}
// Copied from: local:aiserver.v1.GetBugBotPRAnalyticsRequest (var: bp)
message GetBugBotPRAnalyticsRequest {
optional string github_repo_node_id = 1;
optional string status = 2;
optional string github_user_node_id = 3;
optional string start_date = 4;
optional string end_date = 5;
optional int32 min_bugs_found = 6;
optional int32 limit = 7;
optional int32 team_id = 8;
}
// Copied from: local:aiserver.v1.GetBugBotPRAnalyticsResponse (var: Mp)
message GetBugBotPRAnalyticsResponse {
repeated BugBotPRAnalytics prs = 2;
repeated PRUserOption user_options = 3;
}
// Copied from: local:aiserver.v1.GetBugBotProUserModeRequest (var: ny)
message GetBugBotProUserModeRequest {
}
// Copied from: local:aiserver.v1.GetBugBotProUserModeResponse (var: ry)
message GetBugBotProUserModeResponse {
BugbotMode mode = 1;
repeated BugbotModePrompt prompts = 2;
bool smart_frontier_enabled = 3;
bool frontier_available = 4;
}
// Copied from: local:aiserver.v1.GetBugBotProUserSettingsRequest (var: ug)
message GetBugBotProUserSettingsRequest {
}
// Copied from: local:aiserver.v1.GetBugBotProUserSettingsResponse (var: mg)
message GetBugBotProUserSettingsResponse {
bool enabled = 1;
bool bugbot_was_enabled_in_this_billing_cycle = 2;
BugbotUsageTier bugbot_usage_tier = 3;
BugbotBillingMode bugbot_billing_mode = 4;
bool can_migrate_to_usage_based = 5;
int32 seat_license_count = 6;
bool bugbot_usage_based_on_enable = 7;
bool bugbot_migration_credit_already_granted = 8;
}
// Copied from: local:aiserver.v1.GetBugBotRunEtaRequest (var: I)
message GetBugBotRunEtaRequest {
string repository_owner = 1;
string repository_name = 2;
int32 pr_number = 3;
}
// Copied from: local:aiserver.v1.GetBugBotRunEtaResponse (var: v)
message GetBugBotRunEtaResponse {
BugBotRunStatus status = 1;
optional int64 estimated_completion_time_ms = 2;
}
// Copied from: local:aiserver.v1.GetBugbotAnalyticsV2Request (var: Cp)
message GetBugbotAnalyticsV2Request {
optional string start_date = 1;
optional string end_date = 2;
optional string grouping = 3;
optional int32 team_id = 4;
}
// Copied from: local:aiserver.v1.GetBugbotAnalyticsV2Response (var: Np)
message GetBugbotAnalyticsV2Response {
bool should_see_analytics = 1;
repeated BugbotAnalyticsDataPoint prs_reviewed_series = 2;
repeated BugbotAnalyticsDataPoint bugs_found_series = 3;
repeated BugbotAnalyticsDataPoint num_runs_series = 4;
repeated BugbotAnalyticsDataPoint bugs_resolved_series = 5;
double pct_resolution_rate = 6;
repeated BugbotAnalyticsDataPoint unique_users_series = 7;
int32 unique_users_total = 8;
repeated BugbotAnalyticsDataPoint high_sev_resolved_series = 9;
repeated BugbotAnalyticsDataPoint medium_sev_resolved_series = 10;
repeated BugbotAnalyticsDataPoint low_sev_resolved_series = 11;
repeated BugbotAnalyticsDataPoint autofix_prs_merged_series = 12;
int32 total_autofix_runs = 13;
repeated BugbotAnalyticsDataPoint cost_cents_series = 14;
repeated BugbotAnalyticsDataPoint num_billed_runs_series = 15;
int32 total_bugs_found = 16;
int32 total_bugs_evaluated = 17;
repeated BugbotAnalyticsDataPoint bugs_evaluated_series = 18;
}
// Copied from: local:aiserver.v1.GetBugbotBackfillStatusRequest (var: rf)
message GetBugbotBackfillStatusRequest {
string workflow_id = 1;
}
// Copied from: local:aiserver.v1.GetBugbotBackfillStatusResponse (var: sf)
message GetBugbotBackfillStatusResponse {
BugbotBackfillStatus status = 1;
optional string error_message = 2;
optional int32 rules_generated = 3;
}
// Copied from: local:aiserver.v1.GetBugbotLearnedRulesRequest (var: uk)
message GetBugbotLearnedRulesRequest {
int64 installation_id = 1;
optional string ghe_application = 2;
optional string repo_node_id_filter = 3;
}
// Copied from: local:aiserver.v1.GetBugbotLearnedRulesResponse (var: mk)
message GetBugbotLearnedRulesResponse {
repeated BugbotLearnedRule rules = 1;
}
// Copied from: local:aiserver.v1.GetBugbotManualRepositoryRulesRequest (var: Tk)
message GetBugbotManualRepositoryRulesRequest {
int64 installation_id = 1;
optional string ghe_application = 2;
optional string repo_node_id_filter = 3;
}
// Copied from: local:aiserver.v1.GetBugbotManualRepositoryRulesResponse (var: yk)
message GetBugbotManualRepositoryRulesResponse {
repeated BugbotManualRepositoryRule rules = 1;
}
// Copied from: local:aiserver.v1.GetBugbotMergedPrScanSummaryRequest (var: WT)
message GetBugbotMergedPrScanSummaryRequest {
int32 team_id = 1;
}
// Copied from: local:aiserver.v1.GetBugbotMergedPrScanSummaryResponse (var: zT)
message GetBugbotMergedPrScanSummaryResponse {
// Copied from: local:aiserver.v1.GetBugbotMergedPrScanSummaryResponse.Finding (var: jT)
message Finding {
string description = 1;
string severity = 2;
string category = 3;
string repo_owner = 4;
string repo_name = 5;
int32 pr_number = 6;
string pr_url = 7;
string file = 8;
int32 start_line = 9;
int32 end_line = 10;
repeated string code_lines = 11;
string installation_id = 12;
string repo_node_id = 13;
int64 pr_merged_at_epoch_millis = 14;
string pr_title = 15;
string diff_hunk = 16;
}
bool has_scan = 1;
int64 scanned_at_epoch_millis = 2;
int32 window_days = 3;
int32 prs_sampled = 4;
int32 prs_with_findings = 5;
int32 bugs_found = 6;
repeated Finding findings = 7;
int32 total_merged_prs = 8;
}
// Copied from: local:aiserver.v1.GetBugbotModeRequest (var: ZT)
message GetBugbotModeRequest {
}
// Copied from: local:aiserver.v1.GetBugbotModeResponse (var: $T)
message GetBugbotModeResponse {
BugbotMode mode = 1;
repeated BugbotModePrompt prompts = 2;
bool smart_frontier_enabled = 3;
bool frontier_available = 4;
}
// Copied from: local:aiserver.v1.GetBugbotRuleAnalyticsRequest (var: Bk)
message GetBugbotRuleAnalyticsRequest {
optional string date_range_start = 1;
optional string date_range_end = 2;
optional int32 team_id = 3;
}
// Copied from: local:aiserver.v1.GetBugbotRuleAnalyticsResponse (var: Jk)
message GetBugbotRuleAnalyticsResponse {
repeated BugbotRuleAnalytics rules = 1;
}
// Copied from: local:aiserver.v1.GetBugbotRuleByIdRequest (var: Nk)
message GetBugbotRuleByIdRequest {
string rule_id = 1;
optional int32 team_id = 2;
}
// Copied from: local:aiserver.v1.GetBugbotRuleByIdResponse (var: Rk)
message GetBugbotRuleByIdResponse {
optional BugbotRule team_rule = 1;
optional BugbotLearnedRule learned_rule = 2;
BugbotRuleAnalytics analytics = 3;
optional BugbotManualRepositoryRule manual_rule = 4;
}
// Copied from: local:aiserver.v1.GetBugbotSettingsRequest (var: Bp)
message GetBugbotSettingsRequest {
}
// Copied from: local:aiserver.v1.GetBugbotSettingsResponse (var: Jp)
message GetBugbotSettingsResponse {
bool available = 1;
bool enabled = 2;
repeated string pr_urls = 3;
}
// Copied from: local:aiserver.v1.GetBugbotSuggestedReposRequest (var: Gp)
message GetBugbotSuggestedReposRequest {
optional string ghe_application = 1;
optional int32 limit = 2;
}
// Copied from: local:aiserver.v1.GetBugbotSuggestedReposResponse (var: Hp)
message GetBugbotSuggestedReposResponse {
// Copied from: local:aiserver.v1.GetBugbotSuggestedReposResponse.SuggestedRepo (var: Vp)
message SuggestedRepo {
int64 installation_id = 1;
string repo_node_id = 2;
string owner = 3;
string name = 4;
string html_url = 5;
int32 pr_count_last_week = 6;
}
repeated SuggestedRepo repos = 1;
bool can_enable = 2;
}
// Copied from: local:aiserver.v1.GetBugbotTeamRulesRequest (var: tk)
message GetBugbotTeamRulesRequest {
optional bool active_only = 1;
optional int32 team_id = 2;
}
// Copied from: local:aiserver.v1.GetBugbotTeamRulesResponse (var: nk)
message GetBugbotTeamRulesResponse {
repeated BugbotRule rules = 1;
}
// Copied from: local:aiserver.v1.GetBugbotUserSettingsRequest (var: Pf)
message GetBugbotUserSettingsRequest {
optional int32 team_id = 1;
}
// Copied from: local:aiserver.v1.GetBugbotUserSettingsResponse (var: bf)
message GetBugbotUserSettingsResponse {
bool manual_trigger_only = 1;
bool run_only_once = 2;
bool suppress_no_bugs_comments = 3;
optional bool enable_draft = 4;
optional bool is_pr_summary_enabled = 5;
BugbotAutofixMode bugbot_autofix_mode = 6;
bool enable_vm_run = 7;
bool fail_github_action_on_bugbot_findings = 8;
repeated string bugbot_autofix_severity_filter = 9;
optional bool installation_default_enable_draft = 10;
optional bool installation_default_is_pr_summary_enabled = 11;
BugbotAutofixMode installation_default_bugbot_autofix_mode = 12;
repeated string installation_default_bugbot_autofix_severity_filter = 13;
optional bool is_incremental_review_enabled = 14;
optional bool team_default_is_incremental_review_enabled = 15;
optional bool is_pr_risk_score_enabled = 16;
optional bool installation_default_is_pr_risk_score_enabled = 17;
}
// Copied from: local:aiserver.v1.GetChatPromptResponse (var: ci)
message GetChatPromptResponse {
string prompt = 1;
int32 token_count = 2;
}
// Copied from: local:aiserver.v1.GetChatRequest (var: Jo)
message GetChatRequest {
CurrentFileInfo current_file = 1;
repeated ConversationMessage conversation = 2;
repeated RepositoryInfo repositories = 3;
ExplicitContext explicit_context = 4;
optional string workspace_root_path = 5;
repeated CodeBlock code_blocks = 6;
ModelDetails model_details = 7;
repeated string documentation_identifiers = 8;
string request_id = 9;
LinterErrors linter_errors = 10;
optional string summary = 11;
optional int32 summary_up_until_index = 12;
optional bool allow_long_file_scan = 13;
optional bool is_bash = 14;
string conversation_id = 15;
optional bool can_handle_filenames_after_language_ids = 16;
optional string use_web = 17;
repeated ChatQuote quotes = 18;
optional DebugInfo debug_info = 19;
optional string workspace_id = 20;
repeated ChatExternalLink external_links = 21;
repeated CommitNote commit_notes = 23;
optional bool long_context_mode = 22;
optional bool is_eval = 24;
optional int32 desired_max_tokens = 26;
ContextAST context_ast = 25;
optional bool is_composer = 27;
optional bool runnable_code_blocks = 28;
optional bool should_cache = 29;
optional bool allow_model_fallbacks = 30;
optional int32 number_of_times_shown_fallback_model_warning = 31;
}
// Copied from: local:aiserver.v1.GetChatSuggestionsRequest (var: qe)
message GetChatSuggestionsRequest {
repeated RecentChat recent_chats = 1;
}
// Copied from: local:aiserver.v1.GetChatSuggestionsResponse (var: De)
message GetChatSuggestionsResponse {
repeated ChatSuggestionItem suggestions = 1;
}
// Copied from: local:aiserver.v1.GetChatTitleRequest (var: ui)
message GetChatTitleRequest {
repeated ConversationMessage conversation = 2;
}
// Copied from: local:aiserver.v1.GetChatTitleResponse (var: mi)
message GetChatTitleResponse {
string title = 1;
}
// Copied from: agent.v1.GetCiStatusAction (var: jt)
message GetCiStatusAction {
optional string pr_url = 1;
optional string branch_name = 2;
optional string repo_url = 3;
}
// Copied from: local:aiserver.v1.GetCliDownloadUrlRequest (var: qu)
message GetCliDownloadUrlRequest {
string current_version = 1;
string channel = 2;
}
// Copied from: local:aiserver.v1.GetCliDownloadUrlResponse (var: Du)
message GetCliDownloadUrlResponse {
string url = 1;
string version = 2;
}
// Copied from: local:aiserver.v1.GetClientUsageDataRequest (var: Ad)
message GetClientUsageDataRequest {
string conversation_id = 1;
int32 timestamp_before_request = 2;
}
// Copied from: local:aiserver.v1.GetClientUsageDataResponse (var: _d)
message GetClientUsageDataResponse {
// Copied from: local:aiserver.v1.GetClientUsageDataResponse.NameToCost (var: Td)
message NameToCost {
string name = 1;
int32 cost_in_cents = 2;
}
repeated NameToCost items_with_cost = 1;
}
// Copied from: local:aiserver.v1.GetClientVisibleCreditGrantsRequest (var: np)
message GetClientVisibleCreditGrantsRequest {
optional int32 team_id = 1;
}
// Copied from: local:aiserver.v1.GetClientVisibleCreditGrantsResponse (var: rp)
message GetClientVisibleCreditGrantsResponse {
repeated ClientVisibleCreditGrant grants = 1;
}
// Copied from: local:aiserver.v1.GetCloudAgentDebugDetailsRequest (var: Yd)
message GetCloudAgentDebugDetailsRequest {
string bc_id = 1;
optional bytes agent_blob_id = 2;
optional bytes blob_id = 3;
}
// Copied from: local:aiserver.v1.GetCloudAgentDebugDetailsResponse (var: Xd)
message GetCloudAgentDebugDetailsResponse {
bytes cloud_agent_state_blob_id = 1;
CloudAgentState cloud_agent_state = 2;
repeated StreamConversationResponse stream_messages = 3;
repeated PreFetchedBlob pre_fetched_blobs = 4;
CloudAgentVmHistory vm_history = 5;
}
// Copied from: local:aiserver.v1.GetCloudAgentMemoryDbLogsRequest (var: hp)
message GetCloudAgentMemoryDbLogsRequest {
string bc_id = 1;
optional uint32 worker_index = 2;
optional int32 limit = 3;
}
// Copied from: local:aiserver.v1.GetCloudAgentMemoryDbLogsResponse (var: Ap)
message GetCloudAgentMemoryDbLogsResponse {
repeated CloudAgentMemoryDbLogEntry entries = 1;
bool truncated = 2;
}
// Copied from: local:aiserver.v1.GetCloudAgentPluginsSnapshotRequest (var: Xy)
message GetCloudAgentPluginsSnapshotRequest {
optional bool use_replica = 1;
optional int32 team_id = 2;
}
// Copied from: local:aiserver.v1.GetCloudAgentPluginsSnapshotResponse (var: $y)
message GetCloudAgentPluginsSnapshotResponse {
string snapshot_token = 1;
repeated CloudAgentPluginSnapshot plugins = 2;
repeated string warnings = 3;
}
// Copied from: local:aiserver.v1.GetCloudAgentRunForDashboardRequest (var: ii)
message GetCloudAgentRunForDashboardRequest {
string bc_id = 1;
}
// Copied from: local:aiserver.v1.GetCloudAgentRunForDashboardResponse (var: ai)
message GetCloudAgentRunForDashboardResponse {
CloudAgentDashboardRunRow row = 1;
string name = 2;
}
// Copied from: local:aiserver.v1.GetCloudSetupBlockersRequest (var: Dl)
message GetCloudSetupBlockersRequest {
string selected_target_repo_url = 1;
}
// Copied from: local:aiserver.v1.GetCloudSetupBlockersResponse (var: Ol)
message GetCloudSetupBlockersResponse {
repeated CloudSetupBlocker pending = 1;
repeated CloudSetupBlocker completed = 2;
}
// Copied from: local:aiserver.v1.GetCodebaseQuestionsResponse (var: Nt)
message GetCodebaseQuestionsResponse {
repeated string questions = 1;
}
// Copied from: local:aiserver.v1.GetCommitMetricsByFilePathRequest (var: v)
message GetCommitMetricsByFilePathRequest {
string file_path = 1;
optional int32 start_line = 2;
optional int32 end_line = 3;
optional string commit_hash = 4;
optional int32 limit = 5;
optional string branch = 6;
optional string user_email = 7;
optional bool include_plans = 9;
optional bool include_skills = 10;
optional bool include_mcps = 11;
optional ConversationSummarizationPromptOptions summarization_prompt_options = 12;
optional int32 team_id = 13;
}
// Copied from: local:aiserver.v1.GetCommitMetricsRequest (var: I)
message GetCommitMetricsRequest {
repeated string commit_hashes = 1;
optional string branch = 2;
bool on_demand_summaries = 3;
optional bool include_plans = 5;
optional bool include_skills = 6;
optional bool include_mcps = 7;
optional ConversationSummarizationPromptOptions summarization_prompt_options = 12;
optional int32 team_id = 13;
}
// Copied from: local:aiserver.v1.GetCommitMetricsResponse (var: P)
message GetCommitMetricsResponse {
repeated CommitMetrics commits = 1;
repeated ConversationReference conversations = 2;
}
// Copied from: local:aiserver.v1.GetCompletionRequest (var: yi)
message GetCompletionRequest {
UniqueFileIdentifier file_identifier = 1;
CursorPosition cursor_position = 2;
SurroundingLines surrounding_lines = 3;
ExplicitContext explicit_context = 4;
repeated string suggestions_from_editor = 5;
}
// Copied from: local:aiserver.v1.GetCompletionResponse (var: ki)
message GetCompletionResponse {
string completion = 1;
float score = 2;
optional string debugging_only_completion_prompt = 3;
}
// Copied from: local:aiserver.v1.GetComposerAutocompleteRequest (var: Ce)
message GetComposerAutocompleteRequest {
string input_text = 1;
optional string composer_id = 2;
optional ComposerAutocompleteContext context = 3;
}
// Copied from: local:aiserver.v1.GetComposerAutocompleteResponse (var: Ne)
message GetComposerAutocompleteResponse {
string suggestion = 1;
}
// Copied from: local:aiserver.v1.GetComposerChatRequest (var: Lo)
message GetComposerChatRequest {
// Copied from: local:aiserver.v1.GetComposerChatRequest.RecentEdits (var: qo)
message RecentEdits {
// Copied from: local:aiserver.v1.GetComposerChatRequest.RecentEdits.CodeBlockInfo (var: Do)
message CodeBlockInfo {
string relative_workspace_path = 1;
optional string content_before = 2;
optional string content_after = 3;
optional string generation_uuid = 4;
optional int32 version = 5;
}
// Copied from: local:aiserver.v1.GetComposerChatRequest.RecentEdits.FileInfo (var: Oo)
message FileInfo {
string relative_workspace_path = 1;
string content = 2;
}
repeated CodeBlockInfo code_block_info = 1;
repeated FileInfo final_file_values = 2;
optional string edits_belong_to_composer_generation_uuid = 3;
}
// Copied from: local:aiserver.v1.GetComposerChatRequest.RedDiff (var: Fo)
message RedDiff {
string relative_workspace_path = 1;
repeated SimplestRange red_ranges = 2;
repeated SimplestRange red_ranges_reversed = 3;
string start_hash = 4;
string end_hash = 5;
}
repeated ConversationMessage conversation = 1;
optional bool allow_long_file_scan = 2;
ExplicitContext explicit_context = 3;
optional bool can_handle_filenames_after_language_ids = 4;
ModelDetails model_details = 5;
LinterErrors linter_errors = 6;
repeated string documentation_identifiers = 7;
optional string use_web = 8;
repeated ComposerExternalLink external_links = 9;
optional ConversationMessage project_context = 10;
repeated RedDiff diffs_for_compressing_files = 11;
optional bool compress_edits = 12;
optional bool should_cache = 13;
repeated LinterErrors multi_file_linter_errors = 14;
CurrentFileInfo current_file = 15;
optional RecentEdits recent_edits = 16;
optional bool use_reference_composer_diff_prompt = 17;
repeated ComposerFileDiffHistory file_diff_histories = 18;
optional bool use_new_compression_scheme = 19;
repeated RankedContext additional_ranked_context = 20;
repeated ChatQuote quotes = 21;
optional bool willing_to_pay_extra_for_speed = 22;
string conversation_id = 23;
optional bool use_unified_chat_prompt = 24;
optional bool use_full_inputs_context = 25;
optional bool is_resume = 26;
optional string context_bank_session_id = 27;
optional int32 context_bank_version = 28;
optional bytes context_bank_encryption_key = 31;
CodeSearchResult uses_codebase_results = 29;
}
// Copied from: local:aiserver.v1.GetContactImportAvatarRequest (var: hl)
message GetContactImportAvatarRequest {
int64 contact_id = 1;
}
// Copied from: local:aiserver.v1.GetContactImportAvatarResponse (var: Al)
message GetContactImportAvatarResponse {
bytes bytes = 1;
string content_type = 2;
string etag = 3;
}
// Copied from: local:aiserver.v1.GetCopyStatusRequest (var: Dt)
message GetCopyStatusRequest {
string codebase_id = 1;
string copy_task_handle = 2;
}
// Copied from: local:aiserver.v1.GetCopyStatusResponse (var: Ot)
message GetCopyStatusResponse {
// Copied from: local:aiserver.v1.GetCopyStatusResponse.CompletedStatus (var: R)
enum CompletedStatus {
COMPLETED_STATUS_UNSPECIFIED = 0;
COMPLETED_STATUS_UP_TO_DATE = 1;
COMPLETED_STATUS_OUT_OF_SYNC = 2;
COMPLETED_STATUS_FAILURE = 3;
}
// Copied from: local:aiserver.v1.GetCopyStatusResponse.Phase (var: N)
enum Phase {
PHASE_UNSPECIFIED = 0;
PHASE_INITIALIZING = 1;
PHASE_COPYING = 2;
PHASE_COMPLETED = 3;
PHASE_CREATING_SEARCH_FILTERS = 4;
PHASE_COPYING_SEARCH_STATE = 5;
PHASE_COPYING_TREE_STATE = 6;
PHASE_SYNCING_COPY = 7;
}
Phase phase = 1;
float percent_done = 2;
string error_message = 3;
optional CompletedStatus completed_status = 4;
}
// Copied from: local:aiserver.v1.GetCppEditClassificationRequest (var: Q)
message GetCppEditClassificationRequest {
StreamCppRequest cpp_request = 1;
repeated SuggestedEdit suggested_edits = 25;
bool marker_touches_green = 26;
string current_file_contents_for_linter_errors = 27;
}
// Copied from: local:aiserver.v1.GetCppEditClassificationResponse (var: G)
message GetCppEditClassificationResponse {
// Copied from: local:aiserver.v1.GetCppEditClassificationResponse.LogProbs (var: H)
message LogProbs {
repeated string tokens = 1;
repeated double token_logprobs = 2;
}
// Copied from: local:aiserver.v1.GetCppEditClassificationResponse.ScoredEdit (var: V)
message ScoredEdit {
SuggestedEdit edit = 1;
GetCppEditClassificationResponse.LogProbs log_probs = 2;
}
repeated ScoredEdit scored_edits = 1;
ScoredEdit noop_edit = 2;
optional bool should_noop = 3;
ScoredEdit generation_edit = 4;
}
// Copied from: local:aiserver.v1.GetCreditGrantsBalanceRequest (var: ep)
message GetCreditGrantsBalanceRequest {
optional int32 team_id = 1;
}
// Copied from: local:aiserver.v1.GetCreditGrantsBalanceResponse (var: tp)
message GetCreditGrantsBalanceResponse {
bool has_credit_grants = 1;
int64 credit_balance_cents = 2;
int64 total_cents = 3;
int64 used_cents = 4;
}
// Copied from: local:aiserver.v1.GetCrewActivityRequest (var: tB)
message GetCrewActivityRequest {
string crew_id = 1;
}
// Copied from: local:aiserver.v1.GetCrewActivityResponse (var: nB)
message GetCrewActivityResponse {
repeated CrewMemberActivity members = 1;
}
// Copied from: local:aiserver.v1.GetCrewRequest (var: xv)
message GetCrewRequest {
string crew_id = 1;
}
// Copied from: local:aiserver.v1.GetCrewResponse (var: Qv)
message GetCrewResponse {
Crew crew = 1;
optional CrewSlackChannelStatus slack_channel_status = 2;
optional CrewScheduleStatus schedule_status = 3;
}
// Copied from: local:aiserver.v1.GetCrewStandupDigestRequest (var: mB)
message GetCrewStandupDigestRequest {
string crew_id = 1;
}
// Copied from: local:aiserver.v1.GetCrewStandupDigestResponse (var: dB)
message GetCrewStandupDigestResponse {
bool available = 1;
int64 posted_at = 2;
string thread_url = 3;
repeated CrewStandupDigestEntry entries = 4;
}
// Copied from: local:aiserver.v1.GetCrewStatsRequest (var: iB)
message GetCrewStatsRequest {
string crew_id = 1;
}
// Copied from: local:aiserver.v1.GetCrewStatsResponse (var: uB)
message GetCrewStatsResponse {
int32 runs = 1;
int32 prs_opened = 2;
int32 prs_merged = 3;
int32 files_changed = 4;
string last_activity_at = 5;
repeated CrewMemberStats members = 6;
int32 runs_posted = 7;
repeated CrewPullRequest open_prs = 8;
}
// Copied from: local:aiserver.v1.GetCurrentBillingCycleRequest (var: Ep)
message GetCurrentBillingCycleRequest {
optional int32 team_id = 1;
}
// Copied from: local:aiserver.v1.GetCurrentBillingCycleResponse (var: Sp)
message GetCurrentBillingCycleResponse {
int64 start_date_epoch_millis = 1;
int64 end_date_epoch_millis = 2;
}
// Copied from: local:aiserver.v1.GetCurrentPeriodUsageRequest (var: yd)
message GetCurrentPeriodUsageRequest {
optional int32 team_id = 1;
}
// Copied from: local:aiserver.v1.GetCurrentPeriodUsageResponse (var: kd)
message GetCurrentPeriodUsageResponse {
// Copied from: local:aiserver.v1.GetCurrentPeriodUsageResponse.FreeBestOfNPromotion (var: Sd)
message FreeBestOfNPromotion {
int32 trials_used = 1;
int32 trials_remaining = 2;
}
// Copied from: local:aiserver.v1.GetCurrentPeriodUsageResponse.PlanUsage (var: wd)
message PlanUsage {
int32 total_spend = 1;
int32 included_spend = 2;
int32 bonus_spend = 3;
int32 remaining = 4;
int32 limit = 5;
optional bool remaining_bonus = 6;
optional string bonus_tooltip = 7;
optional int32 auto_spend = 8;
optional int32 api_spend = 9;
optional int32 auto_limit = 10;
optional int32 api_limit = 11;
optional double auto_percent_used = 12;
optional double api_percent_used = 13;
optional double total_percent_used = 14;
}
// Copied from: local:aiserver.v1.GetCurrentPeriodUsageResponse.SpendLimitUsage (var: Ed)
message SpendLimitUsage {
int32 total_spend = 1;
optional int32 pooled_limit = 2;
optional int32 pooled_used = 3;
optional int32 pooled_remaining = 4;
optional int32 individual_limit = 5;
int32 individual_used = 6;
int32 individual_remaining = 7;
string limit_type = 8;
optional int32 overall_limit = 9;
optional int32 overall_used = 10;
optional int32 overall_remaining = 11;
}
int64 billing_cycle_start = 1;
int64 billing_cycle_end = 2;
PlanUsage plan_usage = 3;
SpendLimitUsage spend_limit_usage = 4;
optional int32 display_threshold = 5;
bool enabled = 6;
string display_message = 7;
optional FreeBestOfNPromotion free_best_of_n_promotion = 8;
optional string auto_model_selected_display_message = 11;
optional string named_model_selected_display_message = 12;
repeated string auto_bucket_models = 13;
}
// Copied from: local:aiserver.v1.GetCursorReviewEntitlementRequest (var: Gd)
message GetCursorReviewEntitlementRequest {
}
// Copied from: local:aiserver.v1.GetCursorReviewEntitlementResponse (var: Hd)
message GetCursorReviewEntitlementResponse {
// Copied from: local:aiserver.v1.GetCursorReviewEntitlementResponse.BillingContext (var: Dt)
enum BillingContext {
BILLING_CONTEXT_UNSPECIFIED = 0;
BILLING_CONTEXT_INDIVIDUAL = 1;
BILLING_CONTEXT_TEAM = 2;
BILLING_CONTEXT_ENTERPRISE = 3;
}
// Copied from: local:aiserver.v1.GetCursorReviewEntitlementResponse.Reason (var: Ot)
enum Reason {
REASON_UNSPECIFIED = 0;
REASON_OK = 1;
REASON_REQUIRES_TEAM_OR_ENTERPRISE = 2;
REASON_CURSOR_REVIEW_DISABLED = 3;
}
bool eligible_for_cursor_review = 1;
bool requires_onboarding = 2;
BillingContext billing_context = 3;
Reason reason = 4;
optional int32 team_id = 5;
optional string team_name = 6;
}
// Copied from: local:aiserver.v1.GetCursorServerUrlRequest (var: ki)
message GetCursorServerUrlRequest {
string bc_id = 1;
string commit = 2;
optional string connection_token = 3;
}
// Copied from: local:aiserver.v1.GetCursorServerUrlResponse (var: wi)
message GetCursorServerUrlResponse {
// Copied from: local:aiserver.v1.GetCursorServerUrlResponse.Header (var: Ei)
message Header {
string key = 1;
string value = 2;
}
string host = 1;
int32 port = 2;
string connection_token = 3;
repeated Header headers = 4;
}
// Copied from: local:aiserver.v1.GetCursorUserStateRequest (var: zI)
message GetCursorUserStateRequest {
}
// Copied from: local:aiserver.v1.GetCursorUserStateResponse (var: jI)
message GetCursorUserStateResponse {
google.protobuf.Struct state = 1;
}
// Copied from: local:aiserver.v1.GetDailySpendByCategoryRequest (var: l_)
message GetDailySpendByCategoryRequest {
optional int32 team_id = 1;
optional int32 user_id = 2;
int64 period_start_ms = 3;
int64 period_end_ms = 4;
SpendGroupByCategory group_by = 5;
optional SpendType spend_type = 6;
optional string service_account_id = 7;
optional string cloud_agent_id = 8;
optional string automation_id = 9;
optional string automation_managed_type = 10;
optional string client_type = 11;
repeated string products = 12;
}
// Copied from: local:aiserver.v1.GetDailySpendByCategoryResponse (var: m_)
message GetDailySpendByCategoryResponse {
repeated DailySpendByCategory daily_spend = 1;
repeated string categories = 2;
optional int32 effective_limit_cents = 3;
}
// Copied from: agent.v1.GetDefaultModelForCliRequest (var: N)
message GetDefaultModelForCliRequest {
}
// Copied from: agent.v1.GetDefaultModelForCliResponse (var: R)
message GetDefaultModelForCliResponse {
ModelDetails model = 1;
}
// Copied from: local:aiserver.v1.GetDefaultModelNudgeDataRequest (var: Nl)
message GetDefaultModelNudgeDataRequest {
// Copied from: local:aiserver.v1.GetDefaultModelNudgeDataRequest.StartupOpportunity (var: ve)
enum StartupOpportunity {
STARTUP_OPPORTUNITY_UNSPECIFIED = 0;
STARTUP_OPPORTUNITY_FIRST_OPEN = 1;
STARTUP_OPPORTUNITY_REOPEN = 2;
}
StartupOpportunity startup_opportunity = 1;
RequestedModel current_model = 2;
}
// Copied from: local:aiserver.v1.GetDefaultModelNudgeDataResponse (var: Rl)
message GetDefaultModelNudgeDataResponse {
// Copied from: local:aiserver.v1.GetDefaultModelNudgeDataResponse.ApplicationOpenModelSwitch (var: bl)
message ApplicationOpenModelSwitch {
string nudge_id = 1;
string experiment_name = 2;
GetDefaultModelNudgeDataResponse.InitialModel target_model = 3;
}
// Copied from: local:aiserver.v1.GetDefaultModelNudgeDataResponse.InitialModel (var: Pl)
message InitialModel {
string model_id = 1;
repeated RequestedModel.ModelParameterValue parameters = 2;
}
string nudge_date = 1;
bool should_default_switch_on_new_chat = 2;
repeated string models_with_no_default_switch = 3;
string conversion_model_override = 4;
InitialModel initial_model = 5;
ApplicationOpenModelSwitch application_open_model_switch = 6;
}
// Copied from: local:aiserver.v1.GetDefaultModelRequest (var: Ml)
message GetDefaultModelRequest {
}
// Copied from: local:aiserver.v1.GetDefaultModelResponse (var: Ll)
message GetDefaultModelResponse {
string model = 1;
string thinking_model = 2;
bool max_mode = 3;
string next_default_set_date = 4;
}
// Copied from: local:aiserver.v1.GetDetailedPullRequestStatusRequest (var: Ac)
message GetDetailedPullRequestStatusRequest {
string pr_url = 1;
optional int32 cache_expiration_seconds = 2;
}
// Copied from: local:aiserver.v1.GetDetailedPullRequestStatusResponse (var: yc)
message GetDetailedPullRequestStatusResponse {
bool is_merged = 1;
bool is_closed = 2;
string mergeable_state = 3;
string state = 4;
bool is_draft = 5;
string title = 6;
string base_branch = 7;
int32 behind_by = 8;
bool can_update_branch = 9;
optional PRCheckStatus check_status = 10;
optional string review_decision = 11;
bool is_auto_merge_enabled = 12;
optional string head_sha = 13;
optional string base_sha = 14;
optional bool viewer_can_enable_auto_merge = 15;
repeated PRDeploymentPreview deployment_previews = 16;
optional int32 additions = 17;
optional int32 deletions = 18;
optional int32 commit_count = 19;
optional int32 review_count = 20;
repeated PRReviewSummary reviewers = 21;
repeated PRRequestedReviewer requested_reviewers = 22;
}
// Copied from: local:aiserver.v1.GetDiffRequest (var: k)
message GetDiffRequest {
// Copied from: local:aiserver.v1.GetDiffRequest.OutputFormat (var: i)
enum OutputFormat {
OUTPUT_FORMAT_UNSPECIFIED = 0;
OUTPUT_FORMAT_NAME_STATUS = 1;
OUTPUT_FORMAT_NAME_STATUS_AND_NUMSTAT = 2;
OUTPUT_FORMAT_FILE_DIFFS = 3;
OUTPUT_FORMAT_DIFFS_WITH_BEFORE_AND_AFTER = 4;
}
string cwd = 1;
string ref = 2;
string base_ref = 3;
bool merge_base = 4;
repeated string target_paths = 5;
optional int32 unified_context_lines = 6;
int32 max_untracked_files = 7;
int32 submodule_recurse_depth = 9;
bool include_space_changes = 10;
bool committed_only = 11;
bool compute_patch_id = 12;
optional bool return_head_sha = 13;
optional int32 max_response_bytes = 14;
optional OutputFormat output_format = 8;
}
// Copied from: local:aiserver.v1.GetDiffResponse (var: w)
message GetDiffResponse {
// Copied from: local:aiserver.v1.GetDiffResponse.SubmoduleDiff (var: E)
message SubmoduleDiff {
string relative_path = 1;
GitDiff diff = 2;
bool errored = 3;
}
GitDiff diff = 1;
repeated SubmoduleDiff submodule_diffs = 2;
optional string patch_id = 3;
optional string head_sha = 4;
optional bool has_uncommitted_changes = 5;
}
// Copied from: local:aiserver.v1.GetDiffReviewRequest (var: dl)
message GetDiffReviewRequest {
// Copied from: local:aiserver.v1.GetDiffReviewRequest.SimpleFileDiff (var: pl)
message SimpleFileDiff {
// Copied from: local:aiserver.v1.GetDiffReviewRequest.SimpleFileDiff.Chunk (var: fl)
message Chunk {
repeated string old_lines = 1;
repeated string new_lines = 2;
LineRange old_range = 3;
LineRange new_range = 4;
}
string relative_workspace_path = 1;
repeated Chunk chunks = 2;
}
repeated SimpleFileDiff diffs = 1;
optional string model = 2;
}
// Copied from: local:aiserver.v1.GetDirectoryGroupsRequest (var: r_)
message GetDirectoryGroupsRequest {
int32 team_id = 1;
}
// Copied from: local:aiserver.v1.GetDirectoryGroupsResponse (var: s_)
message GetDirectoryGroupsResponse {
repeated DirectoryGroup directory_groups = 1;
}
// Copied from: local:aiserver.v1.GetDocRequest (var: f)
message GetDocRequest {
string doc_identifier = 1;
}
// Copied from: local:aiserver.v1.GetDownloadLinkRequest (var: Lu)
message GetDownloadLinkRequest {
// Copied from: local:aiserver.v1.GetDownloadLinkRequest.Platform (var: Pt)
enum Platform {
PLATFORM_UNSPECIFIED = 0;
PLATFORM_MAC_APPLE_SILICON = 1;
PLATFORM_MAC_INTEL = 2;
PLATFORM_MAC_UNIVERSAL = 3;
PLATFORM_WINDOWS = 4;
PLATFORM_LINUX = 5;
}
Platform platform = 1;
}
// Copied from: local:aiserver.v1.GetDownloadLinkResponse (var: Fu)
message GetDownloadLinkResponse {
string cached_download_link = 1;
}
// Copied from: local:aiserver.v1.GetEditorBugbotAutoRunStatusRequest (var: ot)
message GetEditorBugbotAutoRunStatusRequest {
}
// Copied from: local:aiserver.v1.GetEditorBugbotAutoRunStatusResponse (var: it)
message GetEditorBugbotAutoRunStatusResponse {
bool should_auto_run = 1;
}
// Copied from: local:aiserver.v1.GetEffectiveMcpConfigForUserRequest (var: vo)
message GetEffectiveMcpConfigForUserRequest {
}
// Copied from: local:aiserver.v1.GetEffectiveMcpConfigForUserResponse (var: Bo)
message GetEffectiveMcpConfigForUserResponse {
string config_json = 1;
}
// Copied from: local:aiserver.v1.GetEffectiveTokenLimitRequest (var: Vn)
message GetEffectiveTokenLimitRequest {
ModelDetails model_details = 1;
}
// Copied from: local:aiserver.v1.GetEffectiveTokenLimitResponse (var: Yn)
message GetEffectiveTokenLimitResponse {
int32 token_limit = 1;
}
// Copied from: local:aiserver.v1.GetEffectiveUserPluginsRequest (var: KS)
message GetEffectiveUserPluginsRequest {
optional bool use_replica = 1;
optional int32 team_id = 2;
bool exclude_configured_variables = 4;
}
// Copied from: local:aiserver.v1.GetEffectiveUserPluginsResponse (var: zS)
message GetEffectiveUserPluginsResponse {
repeated EffectivePlugin plugins = 1;
repeated Marketplace marketplaces = 2;
}
// Copied from: local:aiserver.v1.GetEmbeddingsRequest (var: Ee)
message GetEmbeddingsRequest {
repeated string texts = 1;
}
// Copied from: local:aiserver.v1.GetEmbeddingsResponse (var: Se)
message GetEmbeddingsResponse {
// Copied from: local:aiserver.v1.GetEmbeddingsResponse.Embedding (var: Ie)
message Embedding {
repeated float embedding = 1;
}
repeated Embedding embeddings = 2;
}
// Copied from: local:aiserver.v1.GetEncryptedBugDataMultipleRequest (var: k)
message GetEncryptedBugDataMultipleRequest {
string redis_key = 1;
string encryption_key = 2;
}
// Copied from: local:aiserver.v1.GetEncryptedBugDataMultipleResponse (var: w)
message GetEncryptedBugDataMultipleResponse {
repeated BugReport bug_reports = 1;
}
// Copied from: local:aiserver.v1.GetEncryptedBugDataRequest (var: T)
message GetEncryptedBugDataRequest {
string redis_key = 1;
string encryption_key = 2;
}
// Copied from: local:aiserver.v1.GetEncryptedBugDataResponse (var: y)
message GetEncryptedBugDataResponse {
BugReport bug_report = 1;
}
// Copied from: local:aiserver.v1.GetEnterpriseCTAEligibilityRequest (var: ju)
message GetEnterpriseCTAEligibilityRequest {
int32 team_id = 1;
}
// Copied from: local:aiserver.v1.GetEnterpriseCTAEligibilityResponse (var: Xu)
message GetEnterpriseCTAEligibilityResponse {
bool eligible = 1;
}
// Copied from: local:aiserver.v1.GetEnvironmentBuildRequest (var: Lu)
message GetEnvironmentBuildRequest {
string build_id = 1;
}
// Copied from: local:aiserver.v1.GetEnvironmentBuildResponse (var: Fu)
message GetEnvironmentBuildResponse {
EnvironmentBuildRow row = 1;
}
// Copied from: local:aiserver.v1.GetEnvironmentBuildSettingsRequest (var: Yu)
message GetEnvironmentBuildSettingsRequest {
string environment_public_id = 1;
}
// Copied from: local:aiserver.v1.GetEnvironmentBuildSettingsResponse (var: Ku)
message GetEnvironmentBuildSettingsResponse {
EnvironmentBuildSettings settings = 1;
}
// Copied from: local:aiserver.v1.GetEnvironmentHistoryRequest (var: mm)
message GetEnvironmentHistoryRequest {
optional EnvironmentRepoConfig repo_config = 1;
repeated string environment_public_ids = 2;
optional int32 limit = 3;
optional string dashboard_scope_id = 4;
}
// Copied from: local:aiserver.v1.GetEnvironmentHistoryResponse (var: cm)
message GetEnvironmentHistoryResponse {
repeated EnvironmentEffectiveHistoryEvent effective_events = 1;
repeated EnvironmentHistoryObject environment_histories = 2;
bool truncated = 3;
bool dashboard_scope_unavailable = 4;
}
// Copied from: local:aiserver.v1.GetEnvironmentJsonCandidatesRequest (var: cu)
message GetEnvironmentJsonCandidatesRequest {
string repo_url = 1;
string ref = 2;
}
// Copied from: local:aiserver.v1.GetEnvironmentJsonCandidatesResponse (var: du)
message GetEnvironmentJsonCandidatesResponse {
optional string repo_environment_json = 1;
optional string personal_environment_json = 2;
optional string team_environment_json = 3;
}
// Copied from: local:aiserver.v1.GetEnvironmentRequest (var: Ju)
message GetEnvironmentRequest {
string public_id = 1;
optional bool include_environment_json = 2;
}
// Copied from: local:aiserver.v1.GetEnvironmentResponse (var: Cu)
message GetEnvironmentResponse {
optional LogicalEnvironment environment = 1;
}
// Copied from: local:aiserver.v1.GetEvaluationPromptRequest (var: ai)
message GetEvaluationPromptRequest {
// Copied from: local:aiserver.v1.GetEvaluationPromptRequest.EvaluationPromptType (var: ke)
enum EvaluationPromptType {
EVALUATION_PROMPT_TYPE_UNSPECIFIED = 0;
EVALUATION_PROMPT_TYPE_GENERATE = 1;
EVALUATION_PROMPT_TYPE_CHAT = 2;
}
// Copied from: local:aiserver.v1.GetEvaluationPromptRequest.RerankingStrategy (var: we)
enum RerankingStrategy {
RERANKING_STRATEGY_UNSPECIFIED = 0;
RERANKING_STRATEGY_DISTANCE_ONLY = 1;
RERANKING_STRATEGY_GPT4_RELEVANCE = 2;
}
EvaluationPromptType prompt_type = 1;
CurrentFileInfo current_file = 2;
string query = 3;
string bucket_id = 4;
string query_strategy = 5;
int32 token_limit = 6;
RerankingStrategy reranking_strategy = 7;
}
// Copied from: local:aiserver.v1.GetEvaluationPromptResponse (var: li)
message GetEvaluationPromptResponse {
string prompt = 1;
int32 token_count = 2;
int32 estimated_token_count = 3;
}
// Copied from: local:aiserver.v1.GetFastRequestsRequest (var: Un)
message GetFastRequestsRequest {
}
// Copied from: local:aiserver.v1.GetFastRequestsResponse (var: xn)
message GetFastRequestsResponse {
int32 request_quota = 1;
}
// Copied from: local:aiserver.v1.GetFilesForComposerRequest (var: za)
message GetFilesForComposerRequest {
repeated ConversationMessage conversation = 1;
repeated CurrentFileInfo files = 2;
optional bool rerank_results = 3;
optional bool rerank_results_v2 = 6;
optional bool long_context_mode = 7;
optional bool is_eval = 8;
optional string request_id = 9;
ModelDetails model_details = 10;
oneof context_results {
FullFileSearchResult file_search_results = 4;
CodeSearchResult code_search_results = 5;
}
}
// Copied from: local:aiserver.v1.GetFilesForComposerResponse (var: ja)
message GetFilesForComposerResponse {
repeated string relative_workspace_paths = 1;
}
// Copied from: local:aiserver.v1.GetFilteredUsageEventsRequest (var: Eg)
message GetFilteredUsageEventsRequest {
int32 team_id = 1;
optional int64 start_date = 2;
optional int64 end_date = 3;
optional int32 user_id = 4;
optional string model_id = 5;
optional int32 page = 6;
optional int32 page_size = 7;
optional string service_account_id = 8;
optional string cloud_agent_id = 9;
optional string automation_id = 10;
optional string automation_managed_type = 11;
optional string client_type = 12;
}
// Copied from: local:aiserver.v1.GetFilteredUsageEventsResponse (var: Sg)
message GetFilteredUsageEventsResponse {
repeated UsageEvent usage_events = 1;
int32 total_usage_events_count = 2;
repeated UsageEventDisplay usage_events_display = 3;
}
// Copied from: local:aiserver.v1.GetFirstWindowStatsigDecisionRequest (var: l)
message GetFirstWindowStatsigDecisionRequest {
optional ClientOS operating_system = 1;
}
// Copied from: local:aiserver.v1.GetFirstWindowStatsigDecisionResponse (var: u)
message GetFirstWindowStatsigDecisionResponse {
string variant = 1;
string reason = 2;
}
// Copied from: local:aiserver.v1.GetFullSelfDrivingConfigRequest (var: E)
message GetFullSelfDrivingConfigRequest {
string pr_url = 1;
}
// Copied from: local:aiserver.v1.GetFullSelfDrivingConfigResponse (var: S)
message GetFullSelfDrivingConfigResponse {
bool has_config = 1;
bool enabled = 2;
FullSelfDrivingMode mode = 3;
bool auto_started = 4;
}
// Copied from: local:aiserver.v1.GetFullSelfDrivingRunSuggestionRequest (var: G)
message GetFullSelfDrivingRunSuggestionRequest {
string pr_url = 1;
string bc_id = 2;
}
// Copied from: local:aiserver.v1.GetFullSelfDrivingRunSuggestionResponse (var: H)
message GetFullSelfDrivingRunSuggestionResponse {
FullSelfDrivingRunSuggestionState state = 1;
string side_branch_name = 2;
string head_commit_sha = 3;
string base_commit_sha = 4;
string create_pr_url = 5;
bool already_applied = 6;
}
// Copied from: local:aiserver.v1.GetFullSelfDrivingTeamSettingsRequest (var: Yf)
message GetFullSelfDrivingTeamSettingsRequest {
int32 team_id = 1;
}
// Copied from: local:aiserver.v1.GetFullSelfDrivingTeamSettingsResponse (var: Kf)
message GetFullSelfDrivingTeamSettingsResponse {
FullSelfDrivingTeamSettings settings = 1;
}
// Copied from: local:aiserver.v1.GetFullSelfDrivingUserSettingsRequest (var: Ff)
message GetFullSelfDrivingUserSettingsRequest {
}
// Copied from: local:aiserver.v1.GetFullSelfDrivingUserSettingsResponse (var: qf)
message GetFullSelfDrivingUserSettingsResponse {
FullSelfDrivingMode default_mode = 1;
bool only_cloud_agent_prs = 2;
bool globally_disabled = 3;
bool auto_create_on_first_pr_push = 4;
bool slack_notifications_enabled = 5;
optional string fsd_slack_channel_id = 6;
optional string default_model = 7;
}
// Copied from: local:aiserver.v1.GetGithubAccessTokenForReposRequest (var: jl)
message GetGithubAccessTokenForReposRequest {
repeated string mandatory_repo_urls = 1;
repeated string optional_repo_urls = 2;
optional bool skip_cache = 3;
}
// Copied from: local:aiserver.v1.GetGithubAccessTokenForReposResponse (var: Xl)
message GetGithubAccessTokenForReposResponse {
// Copied from: local:aiserver.v1.GetGithubAccessTokenForReposResponse.Status (var: Zl)
message Status {
string repo_url = 1;
bool has_access = 2;
optional string error = 3;
}
optional bool has_access = 1;
optional string error = 2;
repeated Status repo_url_statuses = 3;
GithubAccessErrorType error_type = 4;
optional string github_redirect_url = 5;
}
// Copied from: local:aiserver.v1.GetGithubInstallationsRequest (var: qp)
message GetGithubInstallationsRequest {
optional bool include_team_owned_repos = 2;
optional string ghe_application = 3;
optional string search = 4;
}
// Copied from: local:aiserver.v1.GetGithubInstallationsResponse (var: Up)
message GetGithubInstallationsResponse {
// Copied from: local:aiserver.v1.GetGithubInstallationsResponse.Installation (var: Qp)
message Installation {
int64 installation_id = 1;
repeated GetGithubInstallationsResponse.Repository repos = 2;
InstallationSettings settings = 3;
bool can_modify = 4;
bool has_more_repos = 5;
optional int32 total_pages = 6;
optional string access_error = 7;
optional bool needs_team_scope = 9;
bool can_modify_installation_settings = 10;
}
// Copied from: local:aiserver.v1.GetGithubInstallationsResponse.Repository (var: xp)
message Repository {
int64 installation_id = 1;
string repo_node_id = 2;
string owner = 3;
string name = 4;
string html_url = 5;
RepoSettings settings = 6;
bool archived = 7;
}
repeated Installation installations = 1;
bool github_connected = 2;
bool team_has_bugbot_repos = 3;
repeated string github_usernames = 4;
optional string ghe_hostname = 5;
optional string ghe_app_slug = 6;
repeated int64 sso_required_orgs = 7;
repeated string sso_required_org_display_names = 8;
}
// Copied from: local:aiserver.v1.GetGlassEarlyPreviewEnrollmentRequest (var: gg)
message GetGlassEarlyPreviewEnrollmentRequest {
}
// Copied from: local:aiserver.v1.GetGlassEarlyPreviewEnrollmentResponse (var: hg)
message GetGlassEarlyPreviewEnrollmentResponse {
bool enabled = 1;
optional bool enterprise_glass_self_enroll_eligible = 2;
optional bool glass_access_granted = 3;
}
// Copied from: local:aiserver.v1.GetGlobalCommandsRequest (var: Vy)
message GetGlobalCommandsRequest {
GlobalCommandSurface surface = 1;
}
// Copied from: local:aiserver.v1.GetGlobalCommandsResponse (var: Yy)
message GetGlobalCommandsResponse {
repeated GlobalCommand commands = 1;
}
// Copied from: local:aiserver.v1.GetGlobalLeaderboardOptInRequest (var: Ph)
message GetGlobalLeaderboardOptInRequest {
}
// Copied from: local:aiserver.v1.GetGlobalLeaderboardOptInResponse (var: bh)
message GetGlobalLeaderboardOptInResponse {
optional bool opted_in = 1;
}
// Copied from: local:aiserver.v1.GetGoogleContactImportAuthUrlRequest (var: ul)
message GetGoogleContactImportAuthUrlRequest {
}
// Copied from: local:aiserver.v1.GetGoogleContactImportAuthUrlResponse (var: ml)
message GetGoogleContactImportAuthUrlResponse {
string auth_url = 1;
string csrf_token = 2;
}
// Copied from: local:aiserver.v1.GetGroupMembersRequest (var: A_)
message GetGroupMembersRequest {
int32 group_id = 1;
int32 team_id = 2;
optional GroupType type = 3;
}
// Copied from: local:aiserver.v1.GetGroupMembersResponse (var: __)
message GetGroupMembersResponse {
repeated GroupMember members = 1;
}
// Copied from: local:aiserver.v1.GetGroupsRequest (var: g_)
message GetGroupsRequest {
int32 team_id = 1;
optional GroupType type = 2;
optional int64 reference_date = 3;
}
// Copied from: local:aiserver.v1.GetGroupsResponse (var: h_)
message GetGroupsResponse {
repeated Group groups = 1;
repeated GroupMember unassigned_members = 2;
optional Group unassigned_group = 3;
optional int64 cycle_start = 4;
optional int64 cycle_end = 5;
repeated DailySpendPoint team_daily_spend = 6;
repeated ServiceAccountSpendInfo service_accounts = 7;
}
// Copied from: local:aiserver.v1.GetHardLimitRequest (var: sa)
message GetHardLimitRequest {
optional int32 team_id = 1;
}
// Copied from: local:aiserver.v1.GetHardLimitResponse (var: oa)
message GetHardLimitResponse {
int32 hard_limit = 1;
bool no_usage_based_allowed = 2;
optional int32 hard_limit_per_user = 3;
int32 per_user_monthly_limit_dollars = 4;
bool is_dynamic_team_limit = 5;
bool has_pending_setup_onboarding_credit_claim = 6;
bool is_setup_promo_active = 7;
optional int32 setup_promo_amount_cents = 8;
optional int32 setup_promo_credit_validity_days = 9;
}
// Copied from: local:aiserver.v1.GetHighLevelFolderDescriptionRequest (var: U)
message GetHighLevelFolderDescriptionRequest {
// Copied from: local:aiserver.v1.GetHighLevelFolderDescriptionRequest.Readme (var: x)
message Readme {
string relative_workspace_path = 1;
string contents = 2;
}
repeated Readme readmes = 1;
repeated string top_level_relative_workspace_paths = 2;
string workspace_root_path = 4;
}
// Copied from: local:aiserver.v1.GetHighLevelFolderDescriptionResponse (var: Q)
message GetHighLevelFolderDescriptionResponse {
string description = 1;
}
// Copied from: local:aiserver.v1.GetInstallationGithubUsersRequest (var: gf)
message GetInstallationGithubUsersRequest {
int64 installation_id = 1;
optional string ghe_application = 4;
}
// Copied from: local:aiserver.v1.GetInstallationGithubUsersResponse (var: _f)
message GetInstallationGithubUsersResponse {
repeated GithubUser github_users = 1;
optional GithubPermissionInfo permission_info = 2;
}
// Copied from: local:aiserver.v1.GetInstallationReposRequest (var: cf)
message GetInstallationReposRequest {
int64 installation_id = 1;
int32 start_page = 2;
optional string ghe_application = 4;
optional int32 page_size = 5;
optional string search = 6;
}
// Copied from: local:aiserver.v1.GetInstallationReposResponse (var: df)
message GetInstallationReposResponse {
repeated GetGithubInstallationsResponse.Repository repos = 1;
bool has_more = 2;
optional string access_error = 3;
}
// Copied from: local:aiserver.v1.GetJiraInstallUrlRequest (var: $I)
message GetJiraInstallUrlRequest {
}
// Copied from: local:aiserver.v1.GetJiraInstallUrlResponse (var: ev)
message GetJiraInstallUrlResponse {
string install_url = 1;
}
// Copied from: local:aiserver.v1.GetJiraProjectsRequest (var: dv)
message GetJiraProjectsRequest {
int32 team_id = 1;
}
// Copied from: local:aiserver.v1.GetJiraProjectsResponse (var: pv)
message GetJiraProjectsResponse {
repeated JiraProject projects = 1;
optional string error = 2;
}
// Copied from: local:aiserver.v1.GetJiraRoutingRulesRequest (var: Tv)
message GetJiraRoutingRulesRequest {
int32 team_id = 1;
}
// Copied from: local:aiserver.v1.GetJiraRoutingRulesResponse (var: yv)
message GetJiraRoutingRulesResponse {
repeated JiraRoutingRule rules = 1;
}
// Copied from: local:aiserver.v1.GetJiraStatusRequest (var: rv)
message GetJiraStatusRequest {
int32 team_id = 1;
}
// Copied from: local:aiserver.v1.GetJiraStatusResponse (var: sv)
message GetJiraStatusResponse {
string status = 1;
optional string site_name = 2;
optional string base_url = 3;
}
// Copied from: local:aiserver.v1.GetJiraTeamSettingsRequest (var: fv)
message GetJiraTeamSettingsRequest {
int32 team_id = 1;
}
// Copied from: local:aiserver.v1.GetJiraTeamSettingsResponse (var: gv)
message GetJiraTeamSettingsResponse {
bool require_user_auth = 1;
}
// Copied from: local:aiserver.v1.GetJoinableTeamsByDomainRequest (var: cu)
message GetJoinableTeamsByDomainRequest {
}
// Copied from: local:aiserver.v1.GetJoinableTeamsByDomainResponse (var: pu)
message GetJoinableTeamsByDomainResponse {
repeated JoinableTeam teams = 1;
string email_domain = 2;
}
// Copied from: local:aiserver.v1.GetKnownServersRequest (var: u)
message GetKnownServersRequest {
}
// Copied from: local:aiserver.v1.GetKnownServersResponse (var: m)
message GetKnownServersResponse {
repeated MCPServerRegistration servers = 1;
}
// Copied from: local:aiserver.v1.GetLastDefaultModelNudgeRequest (var: Jl)
message GetLastDefaultModelNudgeRequest {
}
// Copied from: local:aiserver.v1.GetLastDefaultModelNudgeResponse (var: Cl)
message GetLastDefaultModelNudgeResponse {
string nudge_date = 1;
}
// Copied from: local:aiserver.v1.GetLatestAgentConversationStateRequest (var: Oa)
message GetLatestAgentConversationStateRequest {
string bc_id = 1;
}
// Copied from: local:aiserver.v1.GetLatestAgentConversationStateResponse (var: xa)
message GetLatestAgentConversationStateResponse {
LatestAgentConversationState latest_conversation_state = 1;
repeated PreFetchedBlob pre_fetched_blobs = 2;
}
// Copied from: local:aiserver.v1.GetLineNumberClassificationsRequest (var: Ft)
message GetLineNumberClassificationsRequest {
string query = 1;
repeated CodeResult code_results = 2;
}
// Copied from: local:aiserver.v1.GetLineNumberClassificationsResponse (var: qt)
message GetLineNumberClassificationsResponse {
CodeResultWithClassificationInfo classified_result = 1;
}
// Copied from: local:aiserver.v1.GetLinearAuthUrlRequest (var: Qh)
message GetLinearAuthUrlRequest {
LinearActor actor = 1;
bool use_portal_callback = 2;
}
// Copied from: local:aiserver.v1.GetLinearAuthUrlResponse (var: Gh)
message GetLinearAuthUrlResponse {
string auth_url = 1;
string csrf_token = 2;
}
// Copied from: local:aiserver.v1.GetLinearIssuesRequest (var: gA)
message GetLinearIssuesRequest {
optional int32 team_id = 1;
optional string linear_team_id = 2;
optional string search_query = 3;
optional bool include_completed = 4;
optional bool include_archived = 5;
optional int32 first = 6;
optional string after = 7;
LinearIssuesOrderBy order_by = 8;
optional bool assigned_to_me_only = 9;
}
// Copied from: local:aiserver.v1.GetLinearIssuesResponse (var: hA)
message GetLinearIssuesResponse {
repeated LinearIssue issues = 1;
optional string next_cursor = 2;
bool has_more = 3;
optional string error = 4;
}
// Copied from: local:aiserver.v1.GetLinearLabelsRequest (var: pA)
message GetLinearLabelsRequest {
optional int32 team_id = 1;
}
// Copied from: local:aiserver.v1.GetLinearLabelsResponse (var: fA)
message GetLinearLabelsResponse {
repeated LinearLabel labels = 1;
optional string error = 2;
}
// Copied from: local:aiserver.v1.GetLinearSettingsRequest (var: iA)
message GetLinearSettingsRequest {
optional int32 team_id = 1;
}
// Copied from: local:aiserver.v1.GetLinearSettingsResponse (var: aA)
message GetLinearSettingsResponse {
repeated LinearTeamSettings team_settings = 1;
bool is_team_settings = 2;
}
// Copied from: local:aiserver.v1.GetLinearStatusRequest (var: jh)
message GetLinearStatusRequest {
}
// Copied from: local:aiserver.v1.GetLinearStatusResponse (var: Xh)
message GetLinearStatusResponse {
string status = 1;
bool autodrafting_enabled = 2;
}
// Copied from: local:aiserver.v1.GetLinearTeamsRequest (var: eA)
message GetLinearTeamsRequest {
}
// Copied from: local:aiserver.v1.GetLinearTeamsResponse (var: tA)
message GetLinearTeamsResponse {
repeated LinearTeam teams = 1;
optional string error = 2;
}
// Copied from: local:aiserver.v1.GetLintsForChangeRequest (var: ye)
message GetLintsForChangeRequest {
// Copied from: local:aiserver.v1.GetLintsForChangeRequest.File (var: ke)
message File {
// Copied from: local:aiserver.v1.GetLintsForChangeRequest.File.IRange (var: Ee)
message IRange {
int32 start_line_number = 1;
int32 start_column = 2;
int32 end_line_number = 3;
int32 end_column = 4;
}
// Copied from: local:aiserver.v1.GetLintsForChangeRequest.File.RangeCollection (var: we)
message RangeCollection {
repeated GetLintsForChangeRequest.File.IRange ranges = 1;
}
string relative_workspace_path = 1;
string initial_content = 2;
string final_content = 3;
optional RangeCollection get_all_lints_not_just_delta_lints_for_ranges_in_final_model = 4;
}
repeated File files = 1;
bool include_quick_fixes = 2;
bool do_not_use_in_prod_new_files_should_be_temporarily_created_for_increased_accuracy = 3;
}
// Copied from: local:aiserver.v1.GetLintsForChangeResponse (var: Se)
message GetLintsForChangeResponse {
// Copied from: local:aiserver.v1.GetLintsForChangeResponse.Lint (var: Ie)
message Lint {
// Copied from: local:aiserver.v1.GetLintsForChangeResponse.Lint.QuickFix (var: ve)
message QuickFix {
// Copied from: local:aiserver.v1.GetLintsForChangeResponse.Lint.QuickFix.Edit (var: Be)
message Edit {
string relative_workspace_path = 1;
string text = 2;
int32 start_line_number_one_indexed = 3;
int32 start_column_one_indexed = 4;
int32 end_line_number_inclusive_one_indexed = 5;
int32 end_column_one_indexed = 6;
}
string message = 1;
string kind = 2;
bool is_preferred = 3;
repeated Edit edits = 4;
}
string message = 1;
string severity = 2;
string relative_workspace_path = 3;
int32 start_line_number_one_indexed = 4;
int32 start_column_one_indexed = 5;
int32 end_line_number_inclusive_one_indexed = 6;
int32 end_column_one_indexed = 7;
repeated QuickFix quick_fixes = 9;
}
repeated Lint lints = 1;
}
// Copied from: local:aiserver.v1.GetMachineRequest (var: Gl)
message GetMachineRequest {
string bc_id = 1;
}
// Copied from: local:aiserver.v1.GetMachineResponse (var: Kl)
message GetMachineResponse {
MachineReference machine = 1;
}
// Copied from: local:aiserver.v1.GetManagedSkillsRequest (var: YI)
message GetManagedSkillsRequest {
}
// Copied from: local:aiserver.v1.GetManagedSkillsResponse (var: WI)
message GetManagedSkillsResponse {
repeated ManagedSkill skills = 1;
}
// Copied from: local:aiserver.v1.GetMarketingEmailOptRequest (var: Nh)
message GetMarketingEmailOptRequest {
}
// Copied from: local:aiserver.v1.GetMarketingEmailOptResponse (var: Rh)
message GetMarketingEmailOptResponse {
bool opted_out = 1;
}
// Copied from: local:aiserver.v1.GetMarketplaceOriginDistributionStatusRequest (var: II)
message GetMarketplaceOriginDistributionStatusRequest {
int64 marketplace_id = 1;
optional int32 team_id = 2;
}
// Copied from: local:aiserver.v1.GetMarketplaceOriginDistributionStatusResponse (var: vI)
message GetMarketplaceOriginDistributionStatusResponse {
bool enabled = 1;
bool initial_sync_complete = 2;
}
// Copied from: local:aiserver.v1.GetMcpConfigRequest (var: Eo)
message GetMcpConfigRequest {
bool team_scope = 1;
int32 team_id = 2;
bool redact_secrets = 3;
}
// Copied from: local:aiserver.v1.GetMcpConfigResponse (var: Io)
message GetMcpConfigResponse {
string config_json = 1;
map<string, McpServerMetadata> server_metadata_by_name = 2;
}
// Copied from: local:aiserver.v1.GetMcpOAuthPendingStateRequest (var: Ii)
message GetMcpOAuthPendingStateRequest {
string state_id = 1;
}
// Copied from: local:aiserver.v1.GetMcpOAuthPendingStateResponse (var: vi)
message GetMcpOAuthPendingStateResponse {
string server_url = 1;
string code_verifier = 2;
optional string client_id = 3;
optional string client_secret = 4;
optional string redirect_uri = 5;
optional string service_account_id = 6;
optional string post_auth_return_url = 7;
string account_key = 8;
}
// Copied from: local:aiserver.v1.GetMcpOAuthTokensRequest (var: Ko)
message GetMcpOAuthTokensRequest {
repeated string server_urls = 1;
optional string service_account_id = 2;
string account_key = 3;
}
// Copied from: local:aiserver.v1.GetMcpOAuthTokensResponse (var: Wo)
message GetMcpOAuthTokensResponse {
// Copied from: local:aiserver.v1.GetMcpOAuthTokensResponse.Entry (var: zo)
message Entry {
string server_url = 1;
McpOAuthStoredData token_data = 2;
int64 updated_at_ms = 3;
string account_key = 4;
}
repeated Entry entries = 1;
}
// Copied from: local:aiserver.v1.GetMcpServerUsageSummaryRequest (var: Po)
message GetMcpServerUsageSummaryRequest {
bool team_scope = 1;
int32 team_id = 2;
repeated int64 server_ids = 3;
}
// Copied from: local:aiserver.v1.GetMcpServerUsageSummaryResponse (var: Mo)
message GetMcpServerUsageSummaryResponse {
repeated McpServerUsageSummary summaries = 1;
}
// Copied from: local:aiserver.v1.GetMcpToolsParams (var: On)
message GetMcpToolsParams {
optional string server = 1;
optional string tool_name = 2;
optional string pattern = 3;
}
// Copied from: local:aiserver.v1.GetMcpToolsResult (var: Un)
message GetMcpToolsResult {
string content = 1;
optional string output_file_path = 2;
}
// Copied from: local:aiserver.v1.GetMeRequest (var: Hn)
message GetMeRequest {
optional int32 team_id = 1;
optional string source_site_hostname = 2;
optional bool include_mobile_app_status = 3;
}
// Copied from: local:aiserver.v1.GetMeResponse (var: Vn)
message GetMeResponse {
string auth_id = 1;
int32 user_id = 2;
optional string email = 3;
optional string first_name = 4;
optional string last_name = 5;
optional string workos_id = 6;
optional int32 team_id = 7;
optional string created_at = 8;
optional bool is_enterprise_user = 9;
optional string team_name = 10;
optional string email_domain_type = 11;
optional string country = 12;
optional string profile_picture_url = 13;
optional bool cursor_review_onboarding_use_cursor_github_app = 14;
optional int64 organization_id = 15;
optional string organization_public_id = 16;
optional bool is_team_admin = 17;
optional bool has_active_mobile_session = 18;
}
// Copied from: local:aiserver.v1.GetMemberRemovalInsightsRequest (var: Bu)
message GetMemberRemovalInsightsRequest {
int32 team_id = 1;
int32 user_id = 2;
}
// Copied from: local:aiserver.v1.GetMemberRemovalInsightsResponse (var: Ju)
message GetMemberRemovalInsightsResponse {
optional int64 last_active_at = 1;
optional int32 accepted_generated_lines_last_30_days = 2;
}
// Copied from: local:aiserver.v1.GetMicrosoftTeamsLinkContextRequest (var: Yh)
message GetMicrosoftTeamsLinkContextRequest {
string link_id = 1;
}
// Copied from: local:aiserver.v1.GetMicrosoftTeamsLinkContextResponse (var: Kh)
message GetMicrosoftTeamsLinkContextResponse {
optional string team_name = 1;
optional string user_name = 2;
}
// Copied from: local:aiserver.v1.GetModelLabelsRequest (var: Il)
message GetModelLabelsRequest {
}
// Copied from: local:aiserver.v1.GetModelLabelsResponse (var: vl)
message GetModelLabelsResponse {
// Copied from: local:aiserver.v1.GetModelLabelsResponse.ModelLabel (var: Bl)
message ModelLabel {
string name = 1;
string label = 2;
optional string short_label = 3;
optional bool supports_agent = 4;
}
repeated ModelLabel model_labels = 1;
}
// Copied from: local:aiserver.v1.GetMonthlyBillingCycleRequest (var: Ip)
message GetMonthlyBillingCycleRequest {
optional int32 team_id = 1;
}
// Copied from: local:aiserver.v1.GetMonthlyBillingCycleResponse (var: vp)
message GetMonthlyBillingCycleResponse {
int64 start_date_epoch_millis = 1;
int64 end_date_epoch_millis = 2;
}
// Copied from: local:aiserver.v1.GetMonthlyInvoiceRequest (var: ea)
message GetMonthlyInvoiceRequest {
optional int32 team_id = 1;
int32 month = 2;
int32 year = 3;
optional bool include_usage_events = 4;
optional CycleType cycle_filter_type = 5;
optional int64 start_time_ms = 6;
optional bool use_current_cycle = 7;
}
// Copied from: local:aiserver.v1.GetMonthlyInvoiceResponse (var: ta)
message GetMonthlyInvoiceResponse {
// Copied from: local:aiserver.v1.GetMonthlyInvoiceResponse.InvoiceItem (var: na)
message InvoiceItem {
string description = 1;
int32 cents = 2;
}
// Copied from: local:aiserver.v1.GetMonthlyInvoiceResponse.PricingDescription (var: ra)
message PricingDescription {
string description = 1;
string id = 2;
}
repeated InvoiceItem items = 1;
PricingDescription pricing_description = 2;
repeated UsageEvent usage_events = 3;
bool is_usage_events_maybe_cutoff = 4;
bool has_unpaid_mid_month_invoice = 5;
int32 last_hard_limit_cents = 6;
int64 period_start_ms = 7;
int64 period_end_ms = 8;
}
// Copied from: local:aiserver.v1.GetNoZdrModelConsentStatusRequest (var: Ih)
message GetNoZdrModelConsentStatusRequest {
// Copied from: local:aiserver.v1.GetNoZdrModelConsentStatusRequest.Scope (var: Gt)
enum Scope {
SCOPE_UNSPECIFIED = 0;
SCOPE_TEAM = 1;
SCOPE_TEAM_MEMBER = 2;
SCOPE_USER = 3;
}
Scope scope = 1;
int32 team_id = 2;
}
// Copied from: local:aiserver.v1.GetNoZdrModelConsentStatusResponse (var: Bh)
message GetNoZdrModelConsentStatusResponse {
repeated NoZdrModelConsentStatusEntry consents = 1;
}
// Copied from: local:aiserver.v1.GetNumFilesToSendRequest (var: Te)
message GetNumFilesToSendRequest {
RepositoryInfo repository = 1;
}
// Copied from: local:aiserver.v1.GetNumFilesToSendResponse (var: ye)
message GetNumFilesToSendResponse {
int32 num_files = 1;
}
// Copied from: local:aiserver.v1.GetOptimizedDiffDetailsRequest (var: so)
message GetOptimizedDiffDetailsRequest {
string bc_id = 1;
bool exclude_before_after_diffs = 2;
bool committed_only = 3;
optional string branch_name = 4;
optional string repo_url = 5;
}
// Copied from: local:aiserver.v1.GetOptimizedDiffDetailsResponse (var: oo)
message GetOptimizedDiffDetailsResponse {
// Copied from: local:aiserver.v1.GetOptimizedDiffDetailsResponse.SubmoduleDiff (var: io)
message SubmoduleDiff {
string relative_path = 1;
GitDiff diff = 2;
bool errored = 3;
}
GitDiff diff = 1;
repeated SubmoduleDiff submodule_diffs = 2;
}
// Copied from: local:aiserver.v1.GetOrCreateDefaultTeamMarketplaceRequest (var: rI)
message GetOrCreateDefaultTeamMarketplaceRequest {
int32 team_id = 1;
}
// Copied from: local:aiserver.v1.GetOrCreateDefaultTeamMarketplaceResponse (var: sI)
message GetOrCreateDefaultTeamMarketplaceResponse {
int64 marketplace_id = 1;
}
// Copied from: local:aiserver.v1.GetOrgDailySpendByCategoryRequest (var: c_)
message GetOrgDailySpendByCategoryRequest {
string organization_id = 1;
int64 period_start_ms = 2;
int64 period_end_ms = 3;
SpendGroupByCategory group_by = 4;
optional SpendType spend_type = 5;
optional int32 team_id = 6;
optional string service_account_id = 7;
optional string cloud_agent_id = 8;
optional string automation_id = 9;
optional string automation_managed_type = 10;
optional string client_type = 11;
repeated string products = 12;
}
// Copied from: local:aiserver.v1.GetOrgTeamBudgetsRequest (var: fa)
message GetOrgTeamBudgetsRequest {
string organization_id = 1;
}
// Copied from: local:aiserver.v1.GetOrgTeamBudgetsResponse (var: ha)
message GetOrgTeamBudgetsResponse {
repeated OrgTeamBudget budgets = 1;
}
// Copied from: local:aiserver.v1.GetOrganizationAuditLogsRequest (var: Ng)
message GetOrganizationAuditLogsRequest {
string organization_id = 1;
optional int32 team_id = 2;
optional int64 start_date = 3;
optional int64 end_date = 4;
optional string event_type = 5;
optional string search = 6;
optional int32 page = 7;
optional int32 page_size = 8;
}
// Copied from: local:aiserver.v1.GetOrganizationAuditLogsResponse (var: Rg)
message GetOrganizationAuditLogsResponse {
repeated AuditLogEvent events = 1;
int32 total_count = 2;
}
// Copied from: local:aiserver.v1.GetOrganizationGroupAutoReviewSettingsRequest (var: vs)
message GetOrganizationGroupAutoReviewSettingsRequest {
string organization_id = 1;
string group_public_id = 2;
}
// Copied from: local:aiserver.v1.GetOrganizationGroupAutoReviewSettingsResponse (var: Bs)
message GetOrganizationGroupAutoReviewSettingsResponse {
AutoReviewInstructions auto_review = 1;
}
// Copied from: local:aiserver.v1.GetOrganizationGroupAutorunSettingsRequest (var: _s)
message GetOrganizationGroupAutorunSettingsRequest {
string organization_id = 1;
string group_public_id = 2;
}
// Copied from: local:aiserver.v1.GetOrganizationGroupAutorunSettingsResponse (var: Ts)
message GetOrganizationGroupAutorunSettingsResponse {
AutoRunControls auto_run_controls = 1;
}
// Copied from: local:aiserver.v1.GetOrganizationGroupMembersRequest (var: as)
message GetOrganizationGroupMembersRequest {
string organization_id = 1;
string group_public_id = 3;
optional int32 page = 4;
optional int32 page_size = 5;
optional string search_term = 6;
optional string sort_by = 7;
optional string sort_direction = 8;
}
// Copied from: local:aiserver.v1.GetOrganizationGroupMembersResponse (var: ls)
message GetOrganizationGroupMembersResponse {
repeated OrganizationGroupMember members = 1;
int32 total_members = 2;
int32 total_pages = 3;
}
// Copied from: local:aiserver.v1.GetOrganizationGroupModelAllowlistRequest (var: ws)
message GetOrganizationGroupModelAllowlistRequest {
string organization_id = 1;
string group_public_id = 2;
}
// Copied from: local:aiserver.v1.GetOrganizationGroupModelAllowlistResponse (var: Es)
message GetOrganizationGroupModelAllowlistResponse {
optional ModelAllowlist model_allowlist = 1;
}
// Copied from: local:aiserver.v1.GetOrganizationGroupRequest (var: ss)
message GetOrganizationGroupRequest {
string organization_id = 1;
string group_public_id = 3;
}
// Copied from: local:aiserver.v1.GetOrganizationGroupResponse (var: os)
message GetOrganizationGroupResponse {
OrganizationGroup group = 1;
}
// Copied from: local:aiserver.v1.GetOrganizationGroupSmartAutoSettingsRequest (var: Ns)
message GetOrganizationGroupSmartAutoSettingsRequest {
string organization_id = 1;
string group_public_id = 2;
}
// Copied from: local:aiserver.v1.GetOrganizationGroupSmartAutoSettingsResponse (var: Rs)
message GetOrganizationGroupSmartAutoSettingsResponse {
SmartAutoSettings settings = 1;
bool can_enable = 2;
optional bool new_chat_nudge_all_to_smart_auto = 3;
repeated SmartAutoMemberTeamConflict member_team_conflicts = 4;
optional bool models_auto_only = 5;
optional string new_chat_nudge_all_to_smart_auto_optimize_for = 6;
}
// Copied from: local:aiserver.v1.GetOrganizationGroupsRequest (var: ns)
message GetOrganizationGroupsRequest {
string organization_id = 1;
optional int32 page = 2;
optional int32 page_size = 3;
optional string search_term = 4;
}
// Copied from: local:aiserver.v1.GetOrganizationGroupsResponse (var: rs)
message GetOrganizationGroupsResponse {
repeated OrganizationGroup groups = 1;
int32 total_groups = 2;
int32 total_pages = 3;
}
// Copied from: local:aiserver.v1.GetOrganizationMemberRequest (var: or)
message GetOrganizationMemberRequest {
string organization_id = 1;
string member_public_id = 2;
}
// Copied from: local:aiserver.v1.GetOrganizationMemberResponse (var: ir)
message GetOrganizationMemberResponse {
OrganizationMember member = 1;
repeated OrganizationMemberGroup groups = 2;
}
// Copied from: local:aiserver.v1.GetOrganizationMembersRequest (var: nr)
message GetOrganizationMembersRequest {
string organization_id = 1;
optional int32 page = 2;
optional int32 page_size = 3;
optional string search_term = 4;
optional string sort_by = 5;
optional string sort_direction = 6;
optional UserOrganizationRole role_filter = 7;
}
// Copied from: local:aiserver.v1.GetOrganizationMembersResponse (var: rr)
message GetOrganizationMembersResponse {
repeated OrganizationMember members = 1;
int32 total_members = 2;
int32 total_pages = 3;
}
// Copied from: local:aiserver.v1.GetOrganizationMergeIdpRequestRequest (var: vr)
message GetOrganizationMergeIdpRequestRequest {
string organization_id = 1;
string request_public_id = 2;
}
// Copied from: local:aiserver.v1.GetOrganizationMergeIdpRequestResponse (var: Br)
message GetOrganizationMergeIdpRequestResponse {
OrganizationMergeIdpRequestInfo request = 1;
}
// Copied from: local:aiserver.v1.GetOrganizationScimConfigurationLinksResponse (var: Gu)
message GetOrganizationScimConfigurationLinksResponse {
string scim_url = 1;
repeated string scim_statuses = 2;
}
// Copied from: local:aiserver.v1.GetOrganizationTeamAdminCandidatesRequest (var: Zr)
message GetOrganizationTeamAdminCandidatesRequest {
string organization_id = 1;
}
// Copied from: local:aiserver.v1.GetOrganizationTeamAdminCandidatesResponse (var: es)
message GetOrganizationTeamAdminCandidatesResponse {
repeated OrganizationTeamAdminCandidate candidates = 1;
}
// Copied from: local:aiserver.v1.GetP2PReferralHistoryRequest (var: pm)
message GetP2PReferralHistoryRequest {
}
// Copied from: local:aiserver.v1.GetP2PReferralHistoryResponse (var: fm)
message GetP2PReferralHistoryResponse {
repeated P2PReferralHistoryEntry entries = 1;
}
// Copied from: local:aiserver.v1.GetP2PReferralStatusRequest (var: lm)
message GetP2PReferralStatusRequest {
}
// Copied from: local:aiserver.v1.GetP2PReferralStatusResponse (var: um)
message GetP2PReferralStatusResponse {
bool is_eligible = 1;
optional string code = 2;
optional string url_path = 3;
int32 successful_referrals = 4;
int32 pending_referrals = 5;
int32 remaining_cap = 6;
int64 total_credit_cents_earned = 7;
int64 cycle_credit_cents_earned = 22;
string title = 8;
string description = 9;
optional int64 cycle_start_ms = 10;
int32 invited_referrals = 11;
int32 invited_reward_earned = 12;
int32 invited_signed_up = 13;
int32 invited_not_eligible = 14;
int32 invited_clawed_back = 15;
string cap_window_label = 16;
int32 referrer_credit_cents = 17;
int32 referee_credit_cents = 18;
string currency = 19;
string referrer_mode = 20;
string referee_mode = 21;
int32 remaining_redemption_cap = 23;
int32 rewarded_referrals = 24;
}
// Copied from: local:aiserver.v1.GetPRIndexingStatusRequest (var: nn)
message GetPRIndexingStatusRequest {
RepositoryInfo repository = 1;
}
// Copied from: local:aiserver.v1.GetPRIndexingStatusResponse (var: rn)
message GetPRIndexingStatusResponse {
// Copied from: local:aiserver.v1.GetPRIndexingStatusResponse.Status (var: F)
enum Status {
STATUS_UNSPECIFIED = 0;
STATUS_EMPTY = 1;
STATUS_SYNCING = 2;
STATUS_SYNCED = 3;
STATUS_PARTIAL = 4;
}
Status status = 1;
float sync_percentage = 2;
optional string last_indexed_commit = 3;
optional uint32 last_indexed_generation = 4;
optional uint32 total_commits = 5;
optional float indexing_rate = 6;
optional int64 last_updated_timestamp = 7;
optional uint32 index_version = 8;
}
// Copied from: local:aiserver.v1.GetPagerDutyAuthUrlRequest (var: _A)
message GetPagerDutyAuthUrlRequest {
}
// Copied from: local:aiserver.v1.GetPagerDutyAuthUrlResponse (var: TA)
message GetPagerDutyAuthUrlResponse {
string auth_url = 1;
string csrf_token = 2;
}
// Copied from: local:aiserver.v1.GetPagerDutyServicesRequest (var: SA)
message GetPagerDutyServicesRequest {
}
// Copied from: local:aiserver.v1.GetPagerDutyServicesResponse (var: IA)
message GetPagerDutyServicesResponse {
repeated PagerDutyServiceInfo services = 1;
}
// Copied from: local:aiserver.v1.GetPagerDutyStatusRequest (var: wA)
message GetPagerDutyStatusRequest {
}
// Copied from: local:aiserver.v1.GetPagerDutyStatusResponse (var: EA)
message GetPagerDutyStatusResponse {
bool is_connected = 1;
optional string account_name = 2;
optional string subdomain = 3;
}
// Copied from: local:aiserver.v1.GetPagesRequest (var: p)
message GetPagesRequest {
string doc_identifier = 1;
}
// Copied from: local:aiserver.v1.GetPassthroughPromptRequest (var: si)
message GetPassthroughPromptRequest {
string query = 1;
string model_name = 2;
}
// Copied from: local:aiserver.v1.GetPassthroughPromptResponse (var: oi)
message GetPassthroughPromptResponse {
string result = 1;
}
// Copied from: local:aiserver.v1.GetPendingSeatTierUpgradeRequestsRequest (var: yp)
message GetPendingSeatTierUpgradeRequestsRequest {
int32 team_id = 1;
}
// Copied from: local:aiserver.v1.GetPendingSeatTierUpgradeRequestsResponse (var: wp)
message GetPendingSeatTierUpgradeRequestsResponse {
repeated PendingSeatTierUpgradeRequest requests = 1;
}
// Copied from: local:aiserver.v1.GetPersonalEnvironmentJsonRequest (var: uu)
message GetPersonalEnvironmentJsonRequest {
string repo_url = 1;
}
// Copied from: local:aiserver.v1.GetPersonalEnvironmentJsonResponse (var: mu)
message GetPersonalEnvironmentJsonResponse {
string environment_json = 1;
string repo_url = 2;
}
// Copied from: local:aiserver.v1.GetPlanInfoRequest (var: qd)
message GetPlanInfoRequest {
}
// Copied from: local:aiserver.v1.GetPlanInfoResponse (var: Dd)
message GetPlanInfoResponse {
// Copied from: local:aiserver.v1.GetPlanInfoResponse.NextUpgrade (var: Ud)
message NextUpgrade {
string tier = 1;
string name = 2;
int32 included_amount_cents = 3;
string price = 4;
string description = 5;
}
// Copied from: local:aiserver.v1.GetPlanInfoResponse.PlanInfo (var: Od)
message PlanInfo {
// Copied from: local:aiserver.v1.GetPlanInfoResponse.PlanInfo.PlanOwner (var: qt)
enum PlanOwner {
PLAN_OWNER_UNSPECIFIED = 0;
PLAN_OWNER_STRIPE = 1;
PLAN_OWNER_APPLE = 2;
}
string plan_name = 1;
int32 included_amount_cents = 2;
optional string price = 3;
optional int64 billing_cycle_end = 4;
PlanOwner plan_owner = 5;
}
optional PlanInfo plan_info = 1;
optional NextUpgrade next_upgrade = 2;
}
// Copied from: local:aiserver.v1.GetPluginMcpConfigRequest (var: bi)
message GetPluginMcpConfigRequest {
int64 plugin_id = 1;
}
// Copied from: local:aiserver.v1.GetPluginMcpConfigResponse (var: Mi)
message GetPluginMcpConfigResponse {
string config_json = 1;
string commit_sha = 2;
}
// Copied from: local:aiserver.v1.GetPluginRequest (var: OE)
message GetPluginRequest {
int64 plugin_id = 1;
}
// Copied from: local:aiserver.v1.GetPluginResponse (var: UE)
message GetPluginResponse {
Plugin plugin = 1;
}
// Copied from: local:aiserver.v1.GetPricingHistoryRequest (var: Wi)
message GetPricingHistoryRequest {
}
// Copied from: local:aiserver.v1.GetPricingHistoryResponse (var: zi)
message GetPricingHistoryResponse {
// Copied from: local:aiserver.v1.GetPricingHistoryResponse.PricingDescription (var: ji)
message PricingDescription {
string description = 1;
string id = 2;
string changelog = 3;
int64 created_at = 4;
}
repeated PricingDescription pricing_history = 1;
}
// Copied from: local:aiserver.v1.GetPrivateWorkerRequest (var: Hp)
message GetPrivateWorkerRequest {
string worker_id = 1;
}
// Copied from: local:aiserver.v1.GetPrivateWorkerResponse (var: Vp)
message GetPrivateWorkerResponse {
PrivateWorker worker = 1;
}
// Copied from: local:aiserver.v1.GetPrivateWorkersSummaryRequest (var: Op)
message GetPrivateWorkersSummaryRequest {
}
// Copied from: local:aiserver.v1.GetPrivateWorkersSummaryResponse (var: Up)
message GetPrivateWorkersSummaryResponse {
optional UserWorkerSummary user_summary = 1;
optional TeamWorkerSummary team_summary = 2;
optional TeamWorkerLimitSummary team_limit_summary = 3;
}
// Copied from: local:aiserver.v1.GetProjectStructureParams (var: At)
message GetProjectStructureParams {
}
// Copied from: local:aiserver.v1.GetProjectStructureResult (var: _t)
message GetProjectStructureResult {
// Copied from: local:aiserver.v1.GetProjectStructureResult.File (var: Tt)
message File {
string relative_workspace_path = 1;
string outline = 2;
}
repeated File files = 1;
string root_workspace_path = 2;
}
// Copied from: local:aiserver.v1.GetProjectionSnapshotRequest (var: a)
message GetProjectionSnapshotRequest {
string policy_id = 1;
uint64 known_snapshot_version = 2;
}
// Copied from: local:aiserver.v1.GetProjectionSnapshotResponse (var: l)
message GetProjectionSnapshotResponse {
string policy_id = 1;
uint32 policy_version = 2;
uint64 snapshot_version = 3;
ProjectionScoreSet team = 4;
bool not_modified = 5;
}
// Copied from: local:aiserver.v1.GetPromptDryRunResponse (var: wn)
message GetPromptDryRunResponse {
// Copied from: local:aiserver.v1.GetPromptDryRunResponse.TokenCount (var: En)
message TokenCount {
bool is_over_token_limit = 1;
optional int32 num_tokens = 2;
}
repeated CodeChunkContextInclusionInfo code_chunks = 1;
int32 user_message_token_limit = 3;
TokenCount user_message_token_count = 4;
TokenCount full_conversation_token_count = 5;
repeated CodeChunkContextInclusionInfoV2 code_chunks_v2 = 6;
string folder_exclusion_tooltip = 2;
float bar_fraction = 7;
bool did_bar_overflow = 8;
bool should_show_new_chat_hint = 9;
}
// Copied from: local:aiserver.v1.GetProtectedGitScopesRequest (var: Lm)
message GetProtectedGitScopesRequest {
int32 team_id = 1;
}
// Copied from: local:aiserver.v1.GetProtectedGitScopesResponse (var: Fm)
message GetProtectedGitScopesResponse {
repeated ProtectedGitScope scopes = 1;
}
// Copied from: local:aiserver.v1.GetPublicBackgroundComposerArtifactRequest (var: ec)
message GetPublicBackgroundComposerArtifactRequest {
string artifact_id = 1;
}
// Copied from: local:aiserver.v1.GetPublicBackgroundComposerArtifactResponse (var: tc)
message GetPublicBackgroundComposerArtifactResponse {
string url = 1;
string content_type = 2;
optional string title = 3;
}
// Copied from: local:aiserver.v1.GetPublicProfileByHandleRequest (var: bE)
message GetPublicProfileByHandleRequest {
string handle = 1;
}
// Copied from: local:aiserver.v1.GetPublicProfileByHandleResponse (var: ME)
message GetPublicProfileByHandleResponse {
UserProfile profile = 1;
PublicProfileActivitySummary activity_summary = 2;
}
// Copied from: local:aiserver.v1.GetPublicSharedCanvasRequest (var: Gk)
message GetPublicSharedCanvasRequest {
string share_id = 1;
}
// Copied from: local:aiserver.v1.GetPublicSharedCanvasResponse (var: Vk)
message GetPublicSharedCanvasResponse {
PublicSharedCanvasPreview preview = 1;
}
// Copied from: local:aiserver.v1.GetPublicSharedConversationRequest (var: lw)
message GetPublicSharedConversationRequest {
string share_id = 1;
}
// Copied from: local:aiserver.v1.GetPublicSharedConversationResponse (var: uw)
message GetPublicSharedConversationResponse {
SharedConversationMetadata metadata = 1;
repeated ConversationMessage messages = 2;
bool allow_indexing = 3;
optional SharedConversationLatestPlan latest_plan = 4;
}
// Copied from: local:aiserver.v1.GetPublicSlackInstallUrlRequest (var: Ka)
message GetPublicSlackInstallUrlRequest {
}
// Copied from: local:aiserver.v1.GetPublicSlackInstallUrlResponse (var: Wa)
message GetPublicSlackInstallUrlResponse {
string url = 1;
}
// Copied from: local:aiserver.v1.GetPublicSlackInstallUrlWithUserScopesRequest (var: za)
message GetPublicSlackInstallUrlWithUserScopesRequest {
}
// Copied from: local:aiserver.v1.GetPublicSlackInstallUrlWithUserScopesResponse (var: ja)
message GetPublicSlackInstallUrlWithUserScopesResponse {
string url = 1;
}
// Copied from: local:aiserver.v1.GetPullRequestCheckLogExcerptRequest (var: Vs)
message GetPullRequestCheckLogExcerptRequest {
string pr_url = 1;
string provider = 2;
string provider_check_id = 3;
optional uint32 max_bytes = 4;
}
// Copied from: local:aiserver.v1.GetPullRequestCheckLogExcerptResponse (var: zs)
message GetPullRequestCheckLogExcerptResponse {
CheckLogExcerptStatus status = 1;
string excerpt = 2;
uint64 total_bytes = 3;
bool truncated = 4;
string message = 5;
}
// Copied from: local:aiserver.v1.GetPullRequestChecksRequest (var: ls)
message GetPullRequestChecksRequest {
string pr_url = 1;
bool skip_cache = 2;
}
// Copied from: local:aiserver.v1.GetPullRequestChecksResponse (var: us)
message GetPullRequestChecksResponse {
optional PRCheckStatus check_status = 1;
}
// Copied from: local:aiserver.v1.GetPullRequestCodeownersRequest (var: Ys)
message GetPullRequestCodeownersRequest {
string pr_url = 1;
repeated string paths = 2;
bool skip_cache = 3;
}
// Copied from: local:aiserver.v1.GetPullRequestCodeownersResponse (var: Ws)
message GetPullRequestCodeownersResponse {
repeated PullRequestPathCodeowners entries = 1;
}
// Copied from: local:aiserver.v1.GetPullRequestCommitsRequest (var: Pc)
message GetPullRequestCommitsRequest {
string pr_url = 1;
optional string after_cursor = 2;
}
// Copied from: local:aiserver.v1.GetPullRequestCommitsResponse (var: bc)
message GetPullRequestCommitsResponse {
repeated PRCommit commits = 1;
bool has_next_page = 2;
optional string end_cursor = 3;
}
// Copied from: local:aiserver.v1.GetPullRequestDiffRequest (var: os)
message GetPullRequestDiffRequest {
string pr_url = 1;
}
// Copied from: local:aiserver.v1.GetPullRequestDiffResponse (var: ks)
message GetPullRequestDiffResponse {
repeated SCMPullRequestDiffFile files = 1;
string base_sha = 2;
string head_sha = 3;
optional string base_ref_name = 4;
optional string head_ref_name = 5;
}
// Copied from: local:aiserver.v1.GetPullRequestDiscussionsRequest (var: Nc)
message GetPullRequestDiscussionsRequest {
string pr_url = 1;
optional bool skip_cache = 2;
}
// Copied from: local:aiserver.v1.GetPullRequestDiscussionsResponse (var: Rc)
message GetPullRequestDiscussionsResponse {
repeated PRReviewThread threads = 1;
repeated PRTopLevelComment top_level_comments = 2;
optional PRCheckStatus check_status = 3;
}
// Copied from: local:aiserver.v1.GetPullRequestFileContentsRequest (var: is)
message GetPullRequestFileContentsRequest {
string pr_url = 1;
string path = 2;
string ref = 3;
optional uint32 max_bytes = 4;
}
// Copied from: local:aiserver.v1.GetPullRequestFileContentsResponse (var: as)
message GetPullRequestFileContentsResponse {
PullRequestFileContentsStatus status = 1;
string content_base64 = 2;
uint64 size_bytes = 3;
}
// Copied from: local:aiserver.v1.GetPullRequestForBranchRequest (var: HI)
message GetPullRequestForBranchRequest {
string repo_url = 1;
string branch_name = 2;
optional bool skip_cache = 3;
}
// Copied from: local:aiserver.v1.GetPullRequestForBranchResponse (var: VI)
message GetPullRequestForBranchResponse {
string pr_url = 1;
repeated string pr_urls = 2;
}
// Copied from: local:aiserver.v1.GetPullRequestMergeStatusRequest (var: gc)
message GetPullRequestMergeStatusRequest {
string pr_url = 1;
optional bool include_behind_count = 2;
}
// Copied from: local:aiserver.v1.GetPullRequestMergeStatusResponse (var: hc)
message GetPullRequestMergeStatusResponse {
bool is_merged = 1;
bool is_closed = 2;
string mergeable_state = 3;
string state = 4;
bool is_draft = 5;
string title = 6;
string base_branch = 7;
int32 behind_by = 8;
bool can_update_branch = 9;
bool is_auto_merge_enabled = 10;
optional bool viewer_can_enable_auto_merge = 11;
}
// Copied from: local:aiserver.v1.GetPullRequestRequest (var: zr)
message GetPullRequestRequest {
string pr_url = 1;
bool skip_cache = 2;
}
// Copied from: local:aiserver.v1.GetPullRequestResponse (var: jr)
message GetPullRequestResponse {
SCMPullRequest pull_request = 1;
}
// Copied from: local:aiserver.v1.GetPullRequestTimelineEventsRequest (var: Mc)
message GetPullRequestTimelineEventsRequest {
string pr_url = 1;
optional int32 page = 2;
}
// Copied from: local:aiserver.v1.GetPullRequestTimelineEventsResponse (var: Lc)
message GetPullRequestTimelineEventsResponse {
repeated PRTimelineEvent events = 1;
bool has_next_page = 2;
optional int32 next_page = 3;
}
// Copied from: local:aiserver.v1.GetReferralCodesRequest (var: sm)
message GetReferralCodesRequest {
}
// Copied from: local:aiserver.v1.GetReferralCodesResponse (var: om)
message GetReferralCodesResponse {
repeated ReferralCodeEntry referral_codes = 1;
}
// Copied from: local:aiserver.v1.GetReferralsRequest (var: nm)
message GetReferralsRequest {
}
// Copied from: local:aiserver.v1.GetReferralsResponse (var: rm)
message GetReferralsResponse {
int32 num_referrals = 1;
string referral_code = 2;
}
// Copied from: local:aiserver.v1.GetRelevantChunksRequest (var: L)
message GetRelevantChunksRequest {
repeated CodeBlock code_blocks = 1;
CmdKOptions cmd_k_options = 2;
repeated PotentiallyCachedContextItem context_items = 3;
string session_id = 4;
CmdKLegacyContext legacy_context = 5;
}
// Copied from: local:aiserver.v1.GetRelevantChunksResponse (var: q)
message GetRelevantChunksResponse {
// Copied from: local:aiserver.v1.GetRelevantChunksResponse.ChainOfThoughtStream (var: D)
message ChainOfThoughtStream {
string text = 1;
}
// Copied from: local:aiserver.v1.GetRelevantChunksResponse.CodeBlocks (var: O)
message CodeBlocks {
repeated CodeBlock code_blocks = 1;
}
oneof response {
CodeBlocks code_blocks = 1;
ChainOfThoughtStream chain_of_thought_stream = 2;
}
}
// Copied from: local:aiserver.v1.GetRemainingRefundsRequest (var: ah)
message GetRemainingRefundsRequest {
}
// Copied from: local:aiserver.v1.GetRemainingRefundsResponse (var: lh)
message GetRemainingRefundsResponse {
int32 remaining_refunds = 1;
}
// Copied from: local:aiserver.v1.GetRepoSlashCommandsRequest (var: Ky)
message GetRepoSlashCommandsRequest {
string repo_url = 1;
optional string git_ref = 2;
}
// Copied from: local:aiserver.v1.GetRepoSlashCommandsResponse (var: Wy)
message GetRepoSlashCommandsResponse {
repeated string skill_names = 3;
repeated string command_names = 4;
}
// Copied from: local:aiserver.v1.GetRepoSourcePreferenceRequest (var: jm)
message GetRepoSourcePreferenceRequest {
optional int32 team_id = 1;
}
// Copied from: local:aiserver.v1.GetRepoSourcePreferenceResponse (var: Xm)
message GetRepoSourcePreferenceResponse {
PreferredRepoSourceMode user_preference = 1;
PreferredRepoSourceMode team_preference = 2;
PreferredRepoSourceMode effective_preference = 3;
bool can_configure = 4;
}
// Copied from: local:aiserver.v1.GetRepositoryBranchesRequest (var: dc)
message GetRepositoryBranchesRequest {
string repo_url = 1;
optional int32 page = 2;
optional string query = 3;
optional bool only_user_branches = 4;
optional int32 team_id = 5;
}
// Copied from: local:aiserver.v1.GetRepositoryBranchesResponse (var: pc)
message GetRepositoryBranchesResponse {
// Copied from: local:aiserver.v1.GetRepositoryBranchesResponse.Branch (var: fc)
message Branch {
string name = 1;
bool is_default = 2;
}
repeated Branch branches = 1;
bool has_more = 2;
int32 page = 3;
bool is_empty_repo = 4;
string bootstrap_branch = 5;
}
// Copied from: local:aiserver.v1.GetSCMPullRequestCommitsRequest (var: ps)
message GetSCMPullRequestCommitsRequest {
string pr_url = 1;
optional string after_cursor = 2;
bool skip_cache = 3;
}
// Copied from: local:aiserver.v1.GetSCMPullRequestCommitsResponse (var: fs)
message GetSCMPullRequestCommitsResponse {
repeated SCMPullRequestCommit commits = 1;
bool has_next_page = 2;
optional string end_cursor = 3;
}
// Copied from: local:aiserver.v1.GetSCMPullRequestTimelineEventsRequest (var: As)
message GetSCMPullRequestTimelineEventsRequest {
string pr_url = 1;
optional int32 page = 2;
bool skip_cache = 3;
}
// Copied from: local:aiserver.v1.GetSCMPullRequestTimelineEventsResponse (var: _s)
message GetSCMPullRequestTimelineEventsResponse {
repeated SCMPullRequestTimelineEvent events = 1;
bool has_next_page = 2;
optional int32 next_page = 3;
}
// Copied from: local:aiserver.v1.GetSandAccessStatusRequest (var: bd)
message GetSandAccessStatusRequest {
}
// Copied from: local:aiserver.v1.GetSandAccessStatusResponse (var: Md)
message GetSandAccessStatusResponse {
// Copied from: local:aiserver.v1.GetSandAccessStatusResponse.SandAccessState (var: Lt)
enum SandAccessState {
SAND_ACCESS_STATE_UNSPECIFIED = 0;
SAND_ACCESS_STATE_GRANTED = 1;
SAND_ACCESS_STATE_UNAVAILABLE = 2;
SAND_ACCESS_STATE_PAYMENT_REQUIRED = 3;
}
// Copied from: local:aiserver.v1.GetSandAccessStatusResponse.SandPurchaseChannel (var: Ft)
enum SandPurchaseChannel {
SAND_PURCHASE_CHANNEL_UNSPECIFIED = 0;
SAND_PURCHASE_CHANNEL_IN_APP = 1;
SAND_PURCHASE_CHANNEL_MANAGE_IN_CURSOR = 2;
SAND_PURCHASE_CHANNEL_MANAGE_ON_WEB = 3;
}
SandAccessState state = 1;
SandPurchaseChannel purchase_channel = 2;
}
// Copied from: local:aiserver.v1.GetSandUsageStatusRequest (var: Ld)
message GetSandUsageStatusRequest {
}
// Copied from: local:aiserver.v1.GetSandUsageStatusResponse (var: Fd)
message GetSandUsageStatusResponse {
google.protobuf.Timestamp current_period_start = 1;
google.protobuf.Timestamp next_reset_timestamp_utc = 2;
optional double usage_percent = 3;
bool included_limit_zero = 4;
int64 available_banked_reset_count = 5;
bool uses_pooled_enterprise_allowance = 6;
bool has_available_usage = 7;
bool has_non_zero_included_limit = 8;
}
// Copied from: local:aiserver.v1.GetScimConfigurationLinksRequest (var: xu)
message GetScimConfigurationLinksRequest {
int32 team_id = 1;
}
// Copied from: local:aiserver.v1.GetScimConfigurationLinksResponse (var: Qu)
message GetScimConfigurationLinksResponse {
string scim_url = 1;
string scim_status = 2;
}
// Copied from: local:aiserver.v1.GetScimConflictsRequest (var: O_)
message GetScimConflictsRequest {
int32 team_id = 1;
optional GroupType type = 2;
}
// Copied from: local:aiserver.v1.GetScimConflictsResponse (var: Q_)
message GetScimConflictsResponse {
repeated ScimConflictUser conflicted_users = 1;
}
// Copied from: local:aiserver.v1.GetScmConnectionStatusRequest (var: Dp)
message GetScmConnectionStatusRequest {
optional string ghe_application = 1;
optional int32 team_id = 2;
}
// Copied from: local:aiserver.v1.GetScmConnectionStatusResponse (var: Op)
message GetScmConnectionStatusResponse {
bool connected = 1;
}
// Copied from: local:aiserver.v1.GetServerConfigRequest (var: qe)
message GetServerConfigRequest {
bool telem_enabled = 1;
repeated double bug_bot_dismissed_notification_last_10_times_unix_ms = 2;
repeated double bug_bot_viewed_notification_last_10_times_unix_ms = 3;
VscodeOSStatistics os_stats = 4;
VscodeOSProperties os_properties = 5;
RemoteAuthority remote_authority = 6;
InAppAdTrigger in_app_ad_trigger = 7;
DevEnvironment dev_environment = 8;
ClientSurface client_surface = 9;
ScmConnectAdContext scm_connect_ad_context = 10;
}
// Copied from: local:aiserver.v1.GetServerConfigResponse (var: tt)
message GetServerConfigResponse {
BugConfigResponse bug_config_response = 1;
bool is_dev_do_not_use_for_secret_things_because_can_be_spoofed_by_users = 2;
IndexingConfig indexing_config = 3;
ClientTracingConfig client_tracing_config = 4;
ChatConfig chat_config = 5;
string config_version = 6;
Http2Config http2_config = 7;
ProfilingConfig profiling_config = 8;
MetricsConfig metrics_config = 9;
BackgroundComposerConfig background_composer_config = 10;
AutoContextConfig auto_context_config = 11;
repeated ModelMigration model_migrations = 12;
MemoryMonitorConfig memory_monitor_config = 13;
FolderSizeLimit folder_size_limit = 14;
OnlineMetricsConfig online_metrics_config = 20;
GitIndexingConfig git_indexing_config = 15;
PerformanceEventsConfig performance_events_config = 16;
optional InAppAd current_in_app_ad = 17;
TraceConfig trace_config = 18;
optional RunTerminalServerConfig run_terminal_server_config = 19;
InteractionConfig interaction_config = 21;
AgentTelemetryConfig agent_telemetry_config = 22;
optional ClientVersionStatus client_version_status = 23;
optional UpdateConfig update_config = 24;
optional AgentLayoutPolicy agent_layout_policy = 25;
bool use_nlb_for_nal = 26;
AgentUrlConfig agent_url_config = 27;
optional bool cli_sandbox_default_enabled = 28;
optional TerminalTipConfig terminal_tip_config = 30;
optional string model_picker_nudge = 31;
repeated InferenceProviderWarning inference_provider_warnings = 32;
optional OnboardingConfig onboarding_config = 33;
optional BugbotConfig bugbot_config = 34;
optional CodebaseTelemetryConfig codebase_telemetry_config = 35;
RetrievalKeepAliveConfig retrieval_keep_alive_config = 36;
optional GoogleWorkspaceMcpOAuthClient google_workspace_mcp_oauth_client = 37;
}
// Copied from: local:aiserver.v1.GetServiceAccountSpendLimitRequest (var: uh)
message GetServiceAccountSpendLimitRequest {
optional int32 team_id = 1;
string service_type = 2;
}
// Copied from: local:aiserver.v1.GetServiceAccountSpendLimitResponse (var: mh)
message GetServiceAccountSpendLimitResponse {
optional int32 spend_limit_cents = 1;
optional int32 current_spend_cents = 2;
optional bool is_in_free_trial = 3;
optional int64 free_trial_expires_at = 4;
}
// Copied from: local:aiserver.v1.GetSharedCanvasRequest (var: xk)
message GetSharedCanvasRequest {
string share_id = 1;
}
// Copied from: local:aiserver.v1.GetSharedCanvasResponse (var: Qk)
message GetSharedCanvasResponse {
SharedCanvasMetadata metadata = 1;
bytes app_js = 2;
bytes data_json = 3;
}
// Copied from: local:aiserver.v1.GetSharedConversationRequest (var: ew)
message GetSharedConversationRequest {
string share_id = 1;
}
// Copied from: local:aiserver.v1.GetSharedConversationResponse (var: tw)
message GetSharedConversationResponse {
SharedConversationMetadata metadata = 1;
repeated ConversationMessage messages = 2;
optional SharedConversationLatestPlan latest_plan = 3;
}
// Copied from: local:aiserver.v1.GetSignUpTypeRequest (var: bu)
message GetSignUpTypeRequest {
}
// Copied from: local:aiserver.v1.GetSignUpTypeResponse (var: Mu)
message GetSignUpTypeResponse {
// Copied from: local:aiserver.v1.GetSignUpTypeResponse.SignUpType (var: Rt)
enum SignUpType {
SIGN_UP_TYPE_UNSPECIFIED = 0;
SIGN_UP_TYPE_AUTH_0 = 1;
SIGN_UP_TYPE_GOOGLE = 2;
SIGN_UP_TYPE_GITHUB = 3;
SIGN_UP_TYPE_WORKOS = 4;
}
SignUpType sign_up_type = 1;
}
// Copied from: local:aiserver.v1.GetSimplePromptRequest (var: Zo)
message GetSimplePromptRequest {
string query = 1;
string answer_placeholder = 2;
}
// Copied from: local:aiserver.v1.GetSimplePromptResponse (var: $o)
message GetSimplePromptResponse {
string result = 1;
}
// Copied from: local:aiserver.v1.GetSlackConversationsByIdsRequest (var: tE)
message GetSlackConversationsByIdsRequest {
repeated string conversation_ids = 1;
}
// Copied from: local:aiserver.v1.GetSlackConversationsByIdsResponse (var: nE)
message GetSlackConversationsByIdsResponse {
repeated SlackConversation conversations = 1;
}
// Copied from: local:aiserver.v1.GetSlackInstallUrlRequest (var: Va)
message GetSlackInstallUrlRequest {
int32 team_id = 1;
optional string repo_url = 2;
}
// Copied from: local:aiserver.v1.GetSlackInstallUrlResponse (var: Ya)
message GetSlackInstallUrlResponse {
string url = 1;
}
// Copied from: local:aiserver.v1.GetSlackModelOptionsRequest (var: Xa)
message GetSlackModelOptionsRequest {
}
// Copied from: local:aiserver.v1.GetSlackModelOptionsResponse (var: Za)
message GetSlackModelOptionsResponse {
repeated string model_options = 1;
}
// Copied from: local:aiserver.v1.GetSlackRepoRoutingRulesRequest (var: FA)
message GetSlackRepoRoutingRulesRequest {
int32 team_id = 1;
}
// Copied from: local:aiserver.v1.GetSlackRepoRoutingRulesResponse (var: qA)
message GetSlackRepoRoutingRulesResponse {
repeated SlackRepoRoutingRule rules = 1;
}
// Copied from: local:aiserver.v1.GetSlackSettingsRequest (var: Ga)
message GetSlackSettingsRequest {
}
// Copied from: local:aiserver.v1.GetSlackSettingsResponse (var: Ha)
message GetSlackSettingsResponse {
bool available = 1;
}
// Copied from: local:aiserver.v1.GetSlackTeamSettingsRequest (var: Da)
message GetSlackTeamSettingsRequest {
int32 team_id = 1;
}
// Copied from: local:aiserver.v1.GetSlackTeamSettingsResponse (var: Ua)
message GetSlackTeamSettingsResponse {
string default_repo = 1;
string default_branch = 2;
string default_model = 3;
bool share_summary = 4;
bool share_summary_in_external_channel = 5;
repeated SlackChannelRepoMapping channel_repo_mappings = 6;
optional bool auto_draft_enabled = 7;
optional bool use_github_app_for_auto_draft_prs = 8;
string branch_prefix = 9;
optional CloudAgentModelSelection default_model_selection = 10;
}
// Copied from: local:aiserver.v1.GetSlackUserSettingsRequest (var: CA)
message GetSlackUserSettingsRequest {
int32 team_id = 1;
}
// Copied from: local:aiserver.v1.GetSlackUserSettingsResponse (var: NA)
message GetSlackUserSettingsResponse {
bool has_slack_auth = 1;
string default_repo = 2;
string default_branch = 3;
string default_model = 4;
bool can_show = 5;
bool open_pr_by_default = 6;
optional bool use_github_app_for_auto_draft_prs = 7;
bool ci_failure_followup_enabled = 8;
string branch_prefix = 9;
optional CloudAgentModelSelection default_model_selection = 10;
}
// Copied from: local:aiserver.v1.GetSpendLimitPolicyRequest (var: ma)
message GetSpendLimitPolicyRequest {
int32 team_id = 1;
SpendLimitPolicyScope scope = 2;
}
// Copied from: local:aiserver.v1.GetSpendLimitPolicyResponse (var: ca)
message GetSpendLimitPolicyResponse {
SpendLimitPolicy policy = 1;
}
// Copied from: local:aiserver.v1.GetSsoConfigurationLinksRequest (var: Ou)
message GetSsoConfigurationLinksRequest {
int32 team_id = 1;
}
// Copied from: local:aiserver.v1.GetSsoConfigurationLinksResponse (var: Uu)
message GetSsoConfigurationLinksResponse {
string sso_url = 1;
string domain_verification_url = 2;
string sso_status = 3;
}
// Copied from: local:aiserver.v1.GetSuggestedBugBotIterationsRequest (var: rt)
message GetSuggestedBugBotIterationsRequest {
int32 diff_char_len = 1;
ModelDetails model_details = 2;
}
// Copied from: local:aiserver.v1.GetSuggestedBugBotIterationsResponse (var: st)
message GetSuggestedBugBotIterationsResponse {
int32 iterations = 1;
}
// Copied from: local:aiserver.v1.GetSymbolsParams (var: mn)
message GetSymbolsParams {
// Copied from: local:aiserver.v1.GetSymbolsParams.LineRange (var: cn)
message LineRange {
int32 start_line_number = 1;
int32 end_line_number_inclusive = 2;
}
string relative_workspace_path = 1;
optional LineRange line_range = 2;
bool include_children = 3;
}
// Copied from: local:aiserver.v1.GetSymbolsResult (var: dn)
message GetSymbolsResult {
repeated DocumentSymbol symbols = 1;
}
// Copied from: local:aiserver.v1.GetTeamAdminSettingsRequest (var: xm)
message GetTeamAdminSettingsRequest {
optional int32 team_id = 1;
}
// Copied from: local:aiserver.v1.GetTeamAdminSettingsResponse (var: Yc)
message GetTeamAdminSettingsResponse {
repeated string allowed_models = 1;
repeated string blocked_models = 2;
AutoRunControls auto_run_controls = 3;
CursorIgnoreControls cursor_ignore_controls = 4;
bool dot_cursor_protection = 5;
optional AllowedMCPConfiguration allowed_mcp_configuration = 6;
optional BackgroundAgentSettings background_agent_settings = 7;
optional CliSettings cli_settings = 8;
optional MCPControls mcp_controls = 9;
optional PromptDeeplinkControls prompt_deeplink_controls = 10;
optional CommandDeeplinkControls command_deeplink_controls = 11;
optional DeeplinkControls deeplink_controls = 12;
optional GithubIntegrationSettings github_integration_settings = 13;
optional SlackIntegrationSettings slack_integration_settings = 14;
optional LinearIntegrationSettings linear_integration_settings = 15;
optional WorkspaceTrustControls workspace_trust_controls = 16;
optional GitlabIntegrationSettings gitlab_integration_settings = 17;
optional bool browser_features = 18;
repeated string browser_origin_allowlist = 23;
optional bool byok_disabled = 19;
optional bool dashboard_analytics_requires_admin = 20;
optional SharedConversationSettings shared_conversation_settings = 21;
optional string allowed_extensions = 22;
optional bool disable_conversation_insights = 24;
optional CursorBlameSettings cursor_blame_settings = 25;
repeated string network_denylist = 26;
repeated string network_allowlist = 27;
optional ExtensionSigningSettings extension_signing_settings = 28;
optional bool enforce_invite_domain_on_accept = 29;
optional FirstPartyPluginConfiguration first_party_plugin_configuration = 30;
optional AttributionControls attribution_controls = 31;
optional bool allow_third_party_plugin_imports = 32;
optional bool allow_user_local_plugin_imports = 44;
optional GlassSettings glass_settings = 33;
optional TeamAdminNewChatModelResetSettings new_chat_model_reset_settings = 34;
optional ModelAllowlist model_allowlist = 35;
optional JiraIntegrationSettings jira_integration_settings = 36;
optional PullRequestPreferences pull_request_preferences = 37;
optional BrowserSettings browser_settings = 38;
repeated string cloud_agent_egress_allowlist = 39;
optional bool mirror_sandbox_allowlist_for_egress = 40;
AutoReviewInstructions auto_review = 49;
optional string remote_permissions_file_path = 41;
repeated string remote_permissions_file_paths = 46;
repeated string local_permissions_file_path = 45;
optional bool permissions_file_overrides_auto_run = 47;
optional SharedCanvasSettings shared_canvas_settings = 42;
optional int32 invite_link_max_ttl_seconds = 43;
optional ExtensionInstallCooldownSettings extension_install_cooldown_settings = 48;
optional PublicProfileSettings public_profile_settings = 50;
optional BitbucketIntegrationSettings bitbucket_integration_settings = 51;
optional bool marketplace_leaderboard_disabled = 52;
optional bool new_chat_nudge_all_to_smart_auto = 53;
optional bool models_auto_only = 54;
optional string new_chat_nudge_all_to_smart_auto_optimize_for = 55;
optional bool restrict_invites_to_admins = 56;
optional bool viewer_can_invite_members = 57;
optional bool enforce_hooks_readiness = 58;
optional LlmGatewaySettings llm_gateway = 59;
}
// Copied from: local:aiserver.v1.GetTeamAnalyticsRequest (var: sd)
message GetTeamAnalyticsRequest {
int32 team_id = 1;
optional int64 start_date = 2;
optional int64 end_date = 3;
optional string version = 4;
}
// Copied from: local:aiserver.v1.GetTeamAnalyticsResponse (var: od)
message GetTeamAnalyticsResponse {
repeated DailyMetrics daily_metrics = 1;
AnalyticsPeriod period = 2;
ActiveUsers active_users = 3;
}
// Copied from: local:aiserver.v1.GetTeamBackgroundAgentSettingsRequest (var: Mw)
message GetTeamBackgroundAgentSettingsRequest {
int32 team_id = 1;
}
// Copied from: local:aiserver.v1.GetTeamBackgroundAgentSettingsResponse (var: Lw)
message GetTeamBackgroundAgentSettingsResponse {
BackgroundAgentSettings settings = 1;
}
// Copied from: local:aiserver.v1.GetTeamBugbotSettingsRequest (var: ET)
message GetTeamBugbotSettingsRequest {
int32 team_id = 1;
}
// Copied from: local:aiserver.v1.GetTeamBugbotSettingsResponse (var: IT)
message GetTeamBugbotSettingsResponse {
int32 bugbot_licenses_hard_limit = 1;
bool bugbot_plan_enabled = 2;
repeated string allowlist = 3;
int32 current_cycle_unique_users = 4;
int32 bugbot_license_count = 5;
AllowlistConfig allowlist_config = 6;
bool bugbot_was_enabled_in_this_billing_cycle = 7;
repeated BugbotLicenseUsage license_usage = 8;
BugbotUsageTier bugbot_usage_tier = 9;
bool bugbot_globally_disabled = 10;
repeated string mcp_server_names = 11;
BugbotBillingMode bugbot_billing_mode = 12;
bool bugbot_usage_based_on_enable = 13;
bool can_migrate_to_usage_based = 14;
int32 seat_license_count = 15;
bool bugbot_migration_credit_already_granted = 16;
bool is_incremental_review_enabled = 17;
bool merged_pr_scan_opted_out = 18;
}
// Copied from: local:aiserver.v1.GetTeamCommandsRequest (var: Fy)
message GetTeamCommandsRequest {
optional bool active_only = 1;
optional int32 team_id = 2;
}
// Copied from: local:aiserver.v1.GetTeamCommandsResponse (var: qy)
message GetTeamCommandsResponse {
repeated TeamCommand commands = 1;
}
// Copied from: local:aiserver.v1.GetTeamCustomerPortalUrlRequest (var: Ma)
message GetTeamCustomerPortalUrlRequest {
int32 team_id = 1;
}
// Copied from: local:aiserver.v1.GetTeamCustomerPortalUrlResponse (var: La)
message GetTeamCustomerPortalUrlResponse {
string portal_url = 1;
}
// Copied from: local:aiserver.v1.GetTeamCustomerTelemetryDestinationHealthRequest (var: YT)
message GetTeamCustomerTelemetryDestinationHealthRequest {
int32 team_id = 1;
string destination_id = 2;
}
// Copied from: local:aiserver.v1.GetTeamCustomerTelemetryDestinationHealthResponse (var: KT)
message GetTeamCustomerTelemetryDestinationHealthResponse {
TeamCustomerTelemetryDestinationHealthStatus status = 1;
repeated TeamCustomerTelemetryDestinationHealthBucket buckets = 2;
optional int64 last_success_at_epoch_millis = 3;
optional int64 last_error_at_epoch_millis = 4;
string last_error_class = 5;
optional int32 last_error_status = 6;
int64 queue_depth = 7;
string breaker_state = 8;
int64 oldest_batch_age_ms = 9;
repeated TeamCustomerTelemetryDestinationRecentError recent_errors = 10;
}
// Copied from: local:aiserver.v1.GetTeamCustomerTelemetryDestinationsRequest (var: MT)
message GetTeamCustomerTelemetryDestinationsRequest {
int32 team_id = 1;
}
// Copied from: local:aiserver.v1.GetTeamCustomerTelemetryDestinationsResponse (var: LT)
message GetTeamCustomerTelemetryDestinationsResponse {
repeated TeamCustomerTelemetryDestination destinations = 1;
repeated TeamCustomerTelemetryDestinationFamily available_families = 2;
}
// Copied from: local:aiserver.v1.GetTeamGithubUsersRequest (var: wf)
message GetTeamGithubUsersRequest {
int32 team_id = 1;
optional string ghe_application = 3;
}
// Copied from: local:aiserver.v1.GetTeamGithubUsersResponse (var: Ef)
message GetTeamGithubUsersResponse {
repeated GithubUser users = 1;
}
// Copied from: local:aiserver.v1.GetTeamGroupMembersRequest (var: Ys)
message GetTeamGroupMembersRequest {
int32 team_id = 1;
string group_public_id = 2;
optional int32 page = 3;
optional int32 page_size = 4;
optional string search_term = 5;
optional string sort_by = 6;
optional string sort_direction = 7;
}
// Copied from: local:aiserver.v1.GetTeamGroupMembersResponse (var: Ks)
message GetTeamGroupMembersResponse {
repeated TeamGroupMember members = 1;
int32 total_members = 2;
int32 total_pages = 3;
}
// Copied from: local:aiserver.v1.GetTeamGroupRequest (var: Gs)
message GetTeamGroupRequest {
int32 team_id = 1;
string group_public_id = 2;
}
// Copied from: local:aiserver.v1.GetTeamGroupResponse (var: Hs)
message GetTeamGroupResponse {
TeamGroup group = 1;
}
// Copied from: local:aiserver.v1.GetTeamGroupsRequest (var: xs)
message GetTeamGroupsRequest {
int32 team_id = 1;
optional int32 page = 2;
optional int32 page_size = 3;
optional string search_term = 4;
}
// Copied from: local:aiserver.v1.GetTeamGroupsResponse (var: Qs)
message GetTeamGroupsResponse {
repeated TeamGroup groups = 1;
int32 total_groups = 2;
int32 total_pages = 3;
}
// Copied from: local:aiserver.v1.GetTeamHasValidPaymentMethodRequest (var: Qi)
message GetTeamHasValidPaymentMethodRequest {
int32 team_id = 1;
}
// Copied from: local:aiserver.v1.GetTeamHasValidPaymentMethodResponse (var: Gi)
message GetTeamHasValidPaymentMethodResponse {
bool has_valid_payment_method = 1;
int32 trial_days_remaining = 2;
}
// Copied from: local:aiserver.v1.GetTeamHooksRequest (var: By)
message GetTeamHooksRequest {
optional bool active_only = 1;
optional int32 team_id = 2;
}
// Copied from: local:aiserver.v1.GetTeamHooksResponse (var: Jy)
message GetTeamHooksResponse {
repeated TeamHook hooks = 1;
}
// Copied from: local:aiserver.v1.GetTeamIdForReactivationRequest (var: ku)
message GetTeamIdForReactivationRequest {
}
// Copied from: local:aiserver.v1.GetTeamIdForReactivationResponse (var: wu)
message GetTeamIdForReactivationResponse {
optional int32 team_id = 1;
bool is_eligible = 2;
}
// Copied from: local:aiserver.v1.GetTeamInviteLinkRequest (var: nl)
message GetTeamInviteLinkRequest {
int32 team_id = 1;
optional bool create_if_missing = 3;
optional TeamMemberBillingTier billing_tier = 4;
optional TeamRole role = 5;
}
// Copied from: local:aiserver.v1.GetTeamInviteLinkResponse (var: rl)
message GetTeamInviteLinkResponse {
optional string invite_link = 1;
}
// Copied from: local:aiserver.v1.GetTeamInviteMetadataRequest (var: wl)
message GetTeamInviteMetadataRequest {
string invite_code = 1;
}
// Copied from: local:aiserver.v1.GetTeamInviteMetadataResponse (var: El)
message GetTeamInviteMetadataResponse {
int32 team_id = 1;
string team_name = 2;
string inviter_name = 3;
string inviter_email = 4;
bool invitee_email_matches_authenticated_user = 5;
optional bool invite_has_bound_recipient = 6;
}
// Copied from: local:aiserver.v1.GetTeamMemberDomainsRequest (var: _u)
message GetTeamMemberDomainsRequest {
int32 team_id = 1;
}
// Copied from: local:aiserver.v1.GetTeamMemberDomainsResponse (var: yu)
message GetTeamMemberDomainsResponse {
repeated TeamMemberDomain domains = 1;
}
// Copied from: local:aiserver.v1.GetTeamMemberProfileByHandleRequest (var: qE)
message GetTeamMemberProfileByHandleRequest {
string handle = 1;
}
// Copied from: local:aiserver.v1.GetTeamMemberProfileByHandleResponse (var: DE)
message GetTeamMemberProfileByHandleResponse {
UserProfile profile = 1;
PublicProfileActivitySummary activity_summary = 2;
}
// Copied from: local:aiserver.v1.GetTeamMembersRequest (var: $a)
message GetTeamMembersRequest {
int32 team_id = 1;
}
// Copied from: local:aiserver.v1.GetTeamMembersResponse (var: tl)
message GetTeamMembersResponse {
repeated TeamMember team_members = 1;
int32 user_id = 2;
bool is_scim_synced = 3;
}
// Copied from: local:aiserver.v1.GetTeamPinnedMarketplacePluginsRequest (var: qS)
message GetTeamPinnedMarketplacePluginsRequest {
int32 team_id = 1;
}
// Copied from: local:aiserver.v1.GetTeamPinnedMarketplacePluginsResponse (var: DS)
message GetTeamPinnedMarketplacePluginsResponse {
repeated Plugin plugins = 1;
}
// Copied from: local:aiserver.v1.GetTeamPluginPopularityRequest (var: NS)
message GetTeamPluginPopularityRequest {
int32 team_id = 1;
optional bool use_replica = 2;
}
// Copied from: local:aiserver.v1.GetTeamPluginPopularityResponse (var: RS)
message GetTeamPluginPopularityResponse {
repeated TeamPluginPopularityCount counts = 1;
}
// Copied from: local:aiserver.v1.GetTeamPluginPrimitiveUsageRequest (var: PS)
message GetTeamPluginPrimitiveUsageRequest {
int32 team_id = 1;
PluginPrimitiveType primitive_type = 2;
PluginPrimitiveUsageInterval interval = 3;
optional int32 limit = 4;
optional int32 page_number = 5;
}
// Copied from: local:aiserver.v1.GetTeamPluginPrimitiveUsageResponse (var: MS)
message GetTeamPluginPrimitiveUsageResponse {
repeated TeamPluginPrimitiveUsageRow rows = 1;
bool has_more = 2;
int32 page_size = 3;
int32 page_number = 4;
}
// Copied from: local:aiserver.v1.GetTeamPrivacyModeForcedRequest (var: io)
message GetTeamPrivacyModeForcedRequest {
int32 team_id = 1;
}
// Copied from: local:aiserver.v1.GetTeamPrivacyModeForcedResponse (var: ao)
message GetTeamPrivacyModeForcedResponse {
bool privacy_mode_forced = 1;
PrivacyMode privacy_mode = 2;
bool privacy_mode_migration_opted_out = 3;
}
// Copied from: local:aiserver.v1.GetTeamPublicProfileSettingsRequest (var: Nw)
message GetTeamPublicProfileSettingsRequest {
int32 team_id = 1;
}
// Copied from: local:aiserver.v1.GetTeamPublicProfileSettingsResponse (var: Rw)
message GetTeamPublicProfileSettingsResponse {
PublicProfileSettings settings = 1;
}
// Copied from: local:aiserver.v1.GetTeamRawDataRequest (var: ld)
message GetTeamRawDataRequest {
int32 team_id = 1;
optional int64 start_date = 2;
optional int64 end_date = 3;
optional string version = 4;
}
// Copied from: local:aiserver.v1.GetTeamRawDataResponse (var: ud)
message GetTeamRawDataResponse {
repeated RawUserData data = 1;
AnalyticsPeriod period = 2;
}
// Copied from: local:aiserver.v1.GetTeamReposRequest (var: wm)
message GetTeamReposRequest {
int32 team_id = 1;
}
// Copied from: local:aiserver.v1.GetTeamReposResponse (var: Em)
message GetTeamReposResponse {
// Copied from: local:aiserver.v1.GetTeamReposResponse.Pattern (var: Im)
message Pattern {
int32 id = 1;
string pattern = 2;
}
// Copied from: local:aiserver.v1.GetTeamReposResponse.Repo (var: Sm)
message Repo {
int32 id = 1;
string url = 2;
repeated GetTeamReposResponse.Pattern patterns = 3;
}
repeated Repo repos = 1;
string team_repo_type = 2;
repeated Repo allowed_repos = 3;
}
// Copied from: local:aiserver.v1.GetTeamRepositoriesForServiceAccountScopeRequest (var: Zl)
message GetTeamRepositoriesForServiceAccountScopeRequest {
int32 team_id = 1;
}
// Copied from: local:aiserver.v1.GetTeamRepositoriesForServiceAccountScopeResponse (var: eu)
message GetTeamRepositoriesForServiceAccountScopeResponse {
repeated ServiceAccountScopeRepository repositories = 1;
}
// Copied from: local:aiserver.v1.GetTeamRulesRequest (var: _y)
message GetTeamRulesRequest {
optional bool active_only = 1;
optional int32 team_id = 2;
}
// Copied from: local:aiserver.v1.GetTeamRulesResponse (var: Ty)
message GetTeamRulesResponse {
repeated Rule rules = 1;
}
// Copied from: local:aiserver.v1.GetTeamScimRequireUserDirectoryPreviewRequest (var: Ia)
message GetTeamScimRequireUserDirectoryPreviewRequest {
int32 team_id = 1;
}
// Copied from: local:aiserver.v1.GetTeamScimRequireUserDirectoryPreviewResponse (var: va)
message GetTeamScimRequireUserDirectoryPreviewResponse {
int32 impacted_user_count = 1;
repeated ScimRequireUserDirectoryImpactedUser impacted_users = 2;
}
// Copied from: local:aiserver.v1.GetTeamSeatUpgradeRecommendationsRequest (var: Ap)
message GetTeamSeatUpgradeRecommendationsRequest {
int32 team_id = 1;
}
// Copied from: local:aiserver.v1.GetTeamSeatUpgradeRecommendationsResponse (var: Tp)
message GetTeamSeatUpgradeRecommendationsResponse {
repeated SeatUpgradeRecommendation recommendations = 1;
bool enabled = 2;
int32 total_monthly_savings_cents = 3;
}
// Copied from: local:aiserver.v1.GetTeamSharedCanvasSettingsRequest (var: vw)
message GetTeamSharedCanvasSettingsRequest {
int32 team_id = 1;
}
// Copied from: local:aiserver.v1.GetTeamSharedCanvasSettingsResponse (var: Bw)
message GetTeamSharedCanvasSettingsResponse {
SharedCanvasSettings settings = 1;
}
// Copied from: local:aiserver.v1.GetTeamSharedConversationSettingsRequest (var: mw)
message GetTeamSharedConversationSettingsRequest {
int32 team_id = 1;
}
// Copied from: local:aiserver.v1.GetTeamSharedConversationSettingsResponse (var: cw)
message GetTeamSharedConversationSettingsResponse {
SharedConversationSettings settings = 1;
}
// Copied from: local:aiserver.v1.GetTeamSmartAutoSettingsRequest (var: _w)
message GetTeamSmartAutoSettingsRequest {
int32 team_id = 1;
}
// Copied from: local:aiserver.v1.GetTeamSmartAutoSettingsResponse (var: Tw)
message GetTeamSmartAutoSettingsResponse {
SmartAutoSettings settings = 1;
bool can_enable = 2;
repeated SmartAutoRequiredModel required_models = 3;
optional bool new_chat_nudge_all_to_smart_auto = 4;
optional bool models_auto_only = 5;
optional string new_chat_nudge_all_to_smart_auto_optimize_for = 6;
}
// Copied from: local:aiserver.v1.GetTeamSpendRequest (var: pp)
message GetTeamSpendRequest {
int32 team_id = 1;
optional int32 page = 2;
optional int32 page_size = 3;
optional string sort_by = 4;
optional string sort_direction = 5;
optional string search_term = 6;
optional int32 directory_group_id = 7;
optional int64 start_date = 8;
optional int64 end_date = 9;
optional int32 user_id = 10;
}
// Copied from: local:aiserver.v1.GetTeamSpendResponse (var: gp)
message GetTeamSpendResponse {
// Copied from: local:aiserver.v1.GetTeamSpendResponse.TeamMemberSpend (var: hp)
message TeamMemberSpend {
int32 user_id = 1;
int32 spend_cents = 2;
int32 fast_premium_requests = 3;
string name = 4;
string email = 5;
TeamRole role = 6;
int32 hard_limit_override_dollars = 7;
optional int32 included_spend_cents = 8;
optional int32 overall_spend_cents = 9;
optional int32 monthly_limit_dollars = 10;
optional int64 removed_at = 11;
optional int32 effective_per_user_limit_dollars = 12;
optional string profile_picture_url = 13;
optional TeamMemberBillingTier billing_tier = 14;
optional double auto_percent_used = 15;
optional double api_percent_used = 16;
optional double total_percent_used = 17;
optional int64 usage_promo_expires_at = 18;
}
repeated TeamMemberSpend team_member_spend = 1;
int64 subscription_cycle_start = 2;
int32 total_members = 3;
int32 total_pages = 4;
repeated TeamRoleCount total_by_role = 5;
optional int64 next_cycle_start = 6;
optional int32 pooled_limit_dollars = 7;
optional int32 limited_user_count = 8;
optional int32 max_user_spend_cents = 9;
optional int32 subscription_limited_users = 10;
optional bool has_any_spend_limit_overrides = 11;
optional bool has_any_free_usage = 12;
optional bool self_serve_tiered_pricing_enabled = 13;
}
// Copied from: local:aiserver.v1.GetTeamsRequest (var: wa)
message GetTeamsRequest {
optional bool active_only = 1;
}
// Copied from: local:aiserver.v1.GetTeamsResponse (var: Ea)
message GetTeamsResponse {
repeated Team teams = 1;
}
// Copied from: local:aiserver.v1.GetTerminalCompletionRequest (var: Ft)
message GetTerminalCompletionRequest {
string current_command = 1;
repeated string command_history = 2;
optional string model_name = 3;
repeated CppFileDiffHistory file_diff_histories = 4;
optional string git_diff = 5;
repeated string commit_history = 6;
repeated string past_results = 7;
ModelDetails model_details = 8;
string user_platform = 9;
string current_folder = 10;
repeated CurrentFolderFileOrFolder current_folder_structure = 11;
repeated File relevant_files = 12;
}
// Copied from: local:aiserver.v1.GetTerminalCompletionResponse (var: qt)
message GetTerminalCompletionResponse {
string command = 1;
}
// Copied from: local:aiserver.v1.GetTestsParams (var: nn)
message GetTestsParams {
string relative_workspace_path = 1;
}
// Copied from: local:aiserver.v1.GetTestsResult (var: rn)
message GetTestsResult {
// Copied from: local:aiserver.v1.GetTestsResult.Test (var: sn)
message Test {
string name = 1;
repeated string lines = 2;
}
repeated Test tests = 1;
}
// Copied from: local:aiserver.v1.GetThoughtAnnotationRequest (var: on)
message GetThoughtAnnotationRequest {
string request_id = 1;
}
// Copied from: local:aiserver.v1.GetThoughtAnnotationResponse (var: un)
message GetThoughtAnnotationResponse {
AiThoughtAnnotation thought_annotation = 1;
}
// Copied from: local:aiserver.v1.GetTokenUsageRequest (var: ap)
message GetTokenUsageRequest {
string usage_uuid = 1;
}
// Copied from: local:aiserver.v1.GetTokenUsageResponse (var: lp)
message GetTokenUsageResponse {
int32 input_tokens = 1;
int32 output_tokens = 2;
}
// Copied from: local:aiserver.v1.GetTurnSummaryBackgroundComposerRequest (var: Nm)
message GetTurnSummaryBackgroundComposerRequest {
string bc_id = 1;
optional BackgroundComposerSource source_type = 2;
}
// Copied from: local:aiserver.v1.GetTurnSummaryBackgroundComposerResponse (var: Rm)
message GetTurnSummaryBackgroundComposerResponse {
string summary = 1;
}
// Copied from: local:aiserver.v1.GetUploadLimitsRequest (var: Ae)
message GetUploadLimitsRequest {
optional RepositoryInfo repository = 1;
}
// Copied from: local:aiserver.v1.GetUploadLimitsResponse (var: _e)
message GetUploadLimitsResponse {
int32 soft_limit = 1;
int32 hard_limit = 2;
}
// Copied from: agent.v1.GetUsableModelsRequest (var: J)
message GetUsableModelsRequest {
repeated string custom_model_ids = 1;
}
// Copied from: agent.v1.GetUsableModelsResponse (var: C)
message GetUsableModelsResponse {
repeated ModelDetails models = 1;
}
// Copied from: local:aiserver.v1.GetUsageBasedPremiumRequestsRequest (var: Zu)
message GetUsageBasedPremiumRequestsRequest {
int32 team_id = 1;
}
// Copied from: local:aiserver.v1.GetUsageBasedPremiumRequestsResponse (var: $u)
message GetUsageBasedPremiumRequestsResponse {
bool usage_based_premium_requests = 1;
}
// Copied from: local:aiserver.v1.GetUsageLimitPolicyStatusRequest (var: Vd)
message GetUsageLimitPolicyStatusRequest {
}
// Copied from: local:aiserver.v1.GetUsageLimitPolicyStatusResponse (var: Yd)
message GetUsageLimitPolicyStatusResponse {
bool is_in_slow_pool = 1;
optional string error_title = 2;
optional string error_detail = 3;
optional int32 slowness_ms = 4;
map<string, string> features = 5;
bool can_configure_spend_limit = 6;
optional string limit_type = 7;
bool has_pending_request = 8;
repeated string allowed_model_ids = 9;
repeated string allowed_model_tags = 10;
optional ErrorButton primary_button = 11;
LimitHitStage stage = 12;
optional string tray_label = 13;
optional string tray_description = 14;
optional string cta_label = 15;
optional bool dismissible = 16;
optional int64 reset_at_ms = 17;
optional int32 reset_days_remaining = 18;
optional bool can_adjust_on_demand = 19;
optional int64 recommended_on_demand_limit_cents = 20;
optional int64 on_demand_min_cents = 21;
optional int64 on_demand_max_cents = 22;
optional int64 current_on_demand_limit_cents = 23;
}
// Copied from: local:aiserver.v1.GetUsageLimitStatusAndActiveGrantsRequest (var: Kd)
message GetUsageLimitStatusAndActiveGrantsRequest {
optional MidConversationModelRecommendationContext mid_conversation_model_recommendation_context = 1;
}
// Copied from: local:aiserver.v1.GetUsageLimitStatusAndActiveGrantsResponse (var: jd)
message GetUsageLimitStatusAndActiveGrantsResponse {
// Copied from: local:aiserver.v1.GetUsageLimitStatusAndActiveGrantsResponse.UsageLimitPolicyStatus (var: Xd)
message UsageLimitPolicyStatus {
bool is_in_slow_pool = 1;
optional string error_title = 2;
optional string error_detail = 3;
optional int32 slowness_ms = 4;
map<string, string> features = 5;
bool can_configure_spend_limit = 6;
optional string limit_type = 7;
bool has_pending_request = 8;
repeated string allowed_model_ids = 9;
repeated string allowed_model_tags = 10;
optional ErrorButton primary_button = 11;
LimitHitStage stage = 12;
optional string tray_label = 13;
optional string tray_description = 14;
optional string cta_label = 15;
optional bool dismissible = 16;
optional int64 reset_at_ms = 17;
optional int32 reset_days_remaining = 18;
optional bool can_adjust_on_demand = 19;
optional int64 recommended_on_demand_limit_cents = 20;
optional int64 on_demand_min_cents = 21;
optional int64 on_demand_max_cents = 22;
optional int64 current_on_demand_limit_cents = 23;
}
UsageLimitPolicyStatus usage_limit_policy_status = 1;
repeated ActiveCreditGrant active_grants = 2;
optional ThirdPartyUsageNudge third_party_usage_nudge = 3;
optional ModelRecommendationNudge model_recommendation_nudge = 4;
}
// Copied from: local:aiserver.v1.GetUserAdminOrganizationsRequest (var: Tf)
message GetUserAdminOrganizationsRequest {
optional string ghe_application_uuid = 1;
}
// Copied from: local:aiserver.v1.GetUserAdminOrganizationsResponse (var: yf)
message GetUserAdminOrganizationsResponse {
// Copied from: local:aiserver.v1.GetUserAdminOrganizationsResponse.Organization (var: kf)
message Organization {
string login = 1;
string hostname = 2;
}
repeated Organization organizations = 1;
}
// Copied from: local:aiserver.v1.GetUserAnalyticsRequest (var: id)
message GetUserAnalyticsRequest {
int32 team_id = 1;
int32 user_id = 2;
optional int64 start_date = 3;
optional int64 end_date = 4;
optional string version = 5;
}
// Copied from: local:aiserver.v1.GetUserAnalyticsResponse (var: ad)
message GetUserAnalyticsResponse {
repeated DailyMetrics daily_metrics = 1;
AnalyticsPeriod period = 2;
optional int32 apply_lines_rank = 3;
optional int32 tabs_accepted_rank = 4;
optional int32 total_team_members = 5;
optional int32 total_apply_lines = 6;
optional int32 team_average_apply_lines = 7;
optional int32 total_tabs_accepted = 8;
optional int32 team_average_tabs_accepted = 9;
optional int32 total_members_in_team = 10;
}
// Copied from: local:aiserver.v1.GetUserInfoRequest (var: Ei)
message GetUserInfoRequest {
}
// Copied from: local:aiserver.v1.GetUserInfoResponse (var: Ii)
message GetUserInfoResponse {
string user_id = 1;
string jupyter_token = 2;
UsageData usage = 3;
}
// Copied from: local:aiserver.v1.GetUserInstructionsRequest (var: Oe)
message GetUserInstructionsRequest {
repeated RecentChatMessage chats = 1;
optional string existing_instructions = 2;
}
// Copied from: local:aiserver.v1.GetUserInstructionsResponse (var: Ue)
message GetUserInstructionsResponse {
string text = 1;
}
// Copied from: local:aiserver.v1.GetUserOrganizationsRequest (var: Wn)
message GetUserOrganizationsRequest {
}
// Copied from: local:aiserver.v1.GetUserOrganizationsResponse (var: Xn)
message GetUserOrganizationsResponse {
// Copied from: local:aiserver.v1.GetUserOrganizationsResponse.Organization (var: $n)
message Organization {
string organization_id = 1;
string organization_name = 2;
string organization_slug = 3;
UserOrganizationRole role = 4;
repeated GetUserOrganizationsResponse.Team teams = 5;
optional int32 default_team_id = 6;
optional int32 effective_max_teams = 7;
repeated string granted_permissions = 8;
optional bool can_create_organization_teams = 9;
}
// Copied from: local:aiserver.v1.GetUserOrganizationsResponse.Team (var: Zn)
message Team {
int32 team_id = 1;
string team_name = 2;
string team_slug = 3;
optional int64 team_organization_membership_created_at_ms = 4;
optional TeamRole viewer_team_role = 5;
optional int64 team_deleted_at_ms = 6;
}
repeated Organization organizations = 1;
}
// Copied from: local:aiserver.v1.GetUserPrivacyModeRequest (var: zg)
message GetUserPrivacyModeRequest {
PrivacyMode inferred_privacy_mode = 1;
optional int32 team_id = 2;
}
// Copied from: local:aiserver.v1.GetUserPrivacyModeResponse (var: jg)
message GetUserPrivacyModeResponse {
PrivacyMode privacy_mode = 1;
int32 hours_remaining_in_grace_period = 2;
bool is_enforced_by_team = 3;
bool is_not_migrated_to_server_source_of_truth = 4;
bool partner_data_share = 5;
bool has_acknowledged_grace_period_disclaimer = 6;
}
// Copied from: local:aiserver.v1.GetUserProfileRequest (var: BE)
message GetUserProfileRequest {
bool include_activity_summary = 1;
}
// Copied from: local:aiserver.v1.GetUserProfileResponse (var: JE)
message GetUserProfileResponse {
optional UserProfile profile = 1;
PublicProfileActivitySummary activity_summary = 3;
optional bool public_visibility_allowed = 4;
optional string max_visibility = 5;
}
// Copied from: local:aiserver.v1.GetUserPullRequestsRequest (var: vf)
message GetUserPullRequestsRequest {
optional string repository_filter = 1;
optional string git_application = 2;
optional int32 page = 3;
optional int32 page_size = 4;
optional string search_query = 5;
optional string author_filter = 6;
optional string state_filter = 7;
optional int32 pr_number = 8;
}
// Copied from: local:aiserver.v1.GetUserPullRequestsResponse (var: Bf)
message GetUserPullRequestsResponse {
repeated UserPullRequest pull_requests = 1;
bool has_more = 2;
optional int32 total_count = 3;
bool has_git_connection = 4;
optional string current_user_login = 5;
}
// Copied from: local:aiserver.v1.GetUserReviewRequestsRequest (var: Nf)
message GetUserReviewRequestsRequest {
optional string repository_filter = 1;
optional string git_application = 2;
optional int32 page = 3;
optional int32 page_size = 4;
optional string search_query = 5;
optional string state_filter = 6;
}
// Copied from: local:aiserver.v1.GetUserReviewRequestsResponse (var: Rf)
message GetUserReviewRequestsResponse {
repeated UserPullRequest pull_requests = 1;
bool has_more = 2;
optional int32 total_count = 3;
bool has_git_connection = 4;
optional string current_user_login = 5;
}
// Copied from: local:aiserver.v1.GetUserSmartAutoSettingsRequest (var: ww)
message GetUserSmartAutoSettingsRequest {
}
// Copied from: local:aiserver.v1.GetUserSmartAutoSettingsResponse (var: Ew)
message GetUserSmartAutoSettingsResponse {
SmartAutoSettings settings = 1;
bool can_enable = 2;
}
// Copied from: local:aiserver.v1.GetViewableProfileByHandleRequest (var: LE)
message GetViewableProfileByHandleRequest {
string handle = 1;
}
// Copied from: local:aiserver.v1.GetViewableProfileByHandleResponse (var: FE)
message GetViewableProfileByHandleResponse {
UserProfile profile = 1;
PublicProfileActivitySummary activity_summary = 2;
string viewed_as = 3;
}
// Copied from: local:aiserver.v1.GetYearlyUpgradeEligibilityRequest (var: Yu)
message GetYearlyUpgradeEligibilityRequest {
int32 team_id = 1;
}
// Copied from: local:aiserver.v1.GetYearlyUpgradeEligibilityResponse (var: Ku)
message GetYearlyUpgradeEligibilityResponse {
bool eligible = 1;
}
// Copied from: local:aiserver.v1.GitCommit (var: x)
message GitCommit {
string commit = 1;
string author = 2;
string date = 3;
string message = 4;
}
// Copied from: local:aiserver.v1.GitDiff (var: v)
message GitDiff {
// Copied from: local:aiserver.v1.GitDiff.DiffType (var: a)
enum DiffType {
DIFF_TYPE_UNSPECIFIED = 0;
DIFF_TYPE_DIFF_TO_HEAD = 1;
DIFF_TYPE_DIFF_FROM_BRANCH_TO_MAIN = 2;
}
repeated FileDiff diffs = 1;
DiffType diff_type = 2;
}
// Copied from: local:aiserver.v1.GitEvent (var: dn)
message GitEvent {
// Copied from: local:aiserver.v1.GitEvent.OperationType (var: _)
enum OperationType {
OPERATION_TYPE_UNSPECIFIED = 0;
OPERATION_TYPE_COMMIT = 1;
OPERATION_TYPE_CHECKOUT = 2;
OPERATION_TYPE_PULL = 3;
OPERATION_TYPE_FETCH = 4;
OPERATION_TYPE_MERGE = 5;
OPERATION_TYPE_REBASE = 6;
OPERATION_TYPE_STASH = 7;
OPERATION_TYPE_BRANCH = 8;
OPERATION_TYPE_TAG = 9;
}
OperationType operation_type = 1;
string repository_path = 2;
bool operation_success = 3;
optional string branch_name = 4;
optional string error_message = 5;
optional bool is_default_branch = 6;
optional string default_branch_name = 7;
optional string commit_hash = 8;
optional string previous_commit_hash = 9;
optional string remote_url = 10;
}
// Copied from: local:aiserver.v1.GitIndexingConfig (var: Re)
message GitIndexingConfig {
optional bool enabled = 1;
optional int32 max_pr_count = 2;
optional int32 max_pr_size = 3;
optional int32 pr_embedding_context = 4;
optional int32 js_concurrency = 5;
optional int32 js_chunk_size = 6;
optional int32 cpu_concurrency = 7;
optional int32 indexing_period_seconds = 8;
optional int32 max_attempts_per_pr = 9;
optional bool allow_index_copy_from_server = 10;
}
// Copied from: local:aiserver.v1.GitMode (var: Re)
enum GitMode {
GIT_MODE_UNSPECIFIED = 0;
GIT_MODE_USER_CONTROLLED = 1;
GIT_MODE_ALWAYS_DISABLED = 2;
}
// Copied from: agent.v1.GitRepoInfo (var: k)
message GitRepoInfo {
string path = 1;
string status = 2;
string branch_name = 3;
optional string remote_url = 4;
optional bool previous_branch_is_ancestor = 5;
optional bool is_origin_backed = 6;
}
// Copied from: local:aiserver.v1.GitRepoSetupSpanDetails (var: Jn)
message GitRepoSetupSpanDetails {
string repo_display_name = 1;
}
// Copied from: local:aiserver.v1.GitReposSetupSpanDetails (var: Bn)
message GitReposSetupSpanDetails {
}
// Copied from: local:aiserver.v1.GithubAccessErrorType (var: or)
enum GithubAccessErrorType {
GITHUB_ACCESS_ERROR_TYPE_UNSPECIFIED = 0;
GITHUB_ACCESS_ERROR_TYPE_NONE = 1;
GITHUB_ACCESS_ERROR_TYPE_NO_AUTH_TOKEN = 2;
GITHUB_ACCESS_ERROR_TYPE_APP_NOT_INSTALLED = 3;
GITHUB_ACCESS_ERROR_TYPE_USER_NO_ACCESS = 4;
GITHUB_ACCESS_ERROR_TYPE_APP_INSUFFICIENT_PERMS = 5;
GITHUB_ACCESS_ERROR_TYPE_PUBLIC_REPO = 6;
}
// Copied from: local:aiserver.v1.GithubArtifactPostingMode (var: Se)
enum GithubArtifactPostingMode {
GITHUB_ARTIFACT_POSTING_MODE_UNSPECIFIED = 0;
GITHUB_ARTIFACT_POSTING_MODE_POST_ARTIFACT = 1;
GITHUB_ARTIFACT_POSTING_MODE_LINK_ONLY = 2;
}
// Copied from: local:aiserver.v1.GithubIntegrationSettings (var: hc)
message GithubIntegrationSettings {
bool hidden = 1;
}
// Copied from: local:aiserver.v1.GithubPermissionInfo (var: Af)
message GithubPermissionInfo {
bool has_permission = 1;
string permission_settings_url = 2;
}
// Copied from: local:aiserver.v1.GithubSourceMetadata (var: $i)
message GithubSourceMetadata {
optional string issue_id = 1;
optional int32 pr_number = 2;
optional string pr_title = 3;
optional string issue_title = 4;
optional string issue_url = 5;
}
// Copied from: local:aiserver.v1.GithubUser (var: hf)
message GithubUser {
string login = 1;
string node_id = 2;
optional string hostname = 3;
}
// Copied from: local:aiserver.v1.GitlabIntegrationSettings (var: Ac)
message GitlabIntegrationSettings {
bool hidden = 1;
}
// Copied from: local:aiserver.v1.GitlabSourceMetadata (var: ea)
message GitlabSourceMetadata {
optional int32 mr_iid = 1;
optional string mr_title = 2;
optional string mr_web_url = 3;
}
// Copied from: local:aiserver.v1.GlassSettings (var: Mc)
message GlassSettings {
repeated int32 allowed_user_ids = 1;
optional bool allow_all_team_members = 2;
}
// Copied from: local:aiserver.v1.GlobFileSearchParams (var: os)
message GlobFileSearchParams {
string target_directory = 1;
string glob_pattern = 2;
}
// Copied from: local:aiserver.v1.GlobFileSearchResult (var: is)
message GlobFileSearchResult {
// Copied from: local:aiserver.v1.GlobFileSearchResult.Directory (var: ls)
message Directory {
string abs_path = 1;
repeated GlobFileSearchResult.File files = 2;
int32 total_files = 3;
bool ripgrep_truncated = 4;
}
// Copied from: local:aiserver.v1.GlobFileSearchResult.File (var: as)
message File {
string rel_path = 1;
}
repeated Directory directories = 1;
}
// Copied from: local:aiserver.v1.GlobFileSearchStream (var: us)
message GlobFileSearchStream {
}
// Copied from: local:aiserver.v1.GlobalCommand (var: Hy)
message GlobalCommand {
string name = 1;
string content = 2;
optional string description = 3;
GlobalCommandAvailability availability = 4;
optional string argument_hint = 5;
repeated GlobalCommandSurface disabled_surfaces = 6;
bool requires_all_workspace_folders_are_git_repos = 7;
}
// Copied from: local:aiserver.v1.GlobalCommandAvailability (var: mt)
enum GlobalCommandAvailability {
GLOBAL_COMMAND_AVAILABILITY_UNSPECIFIED = 0;
GLOBAL_COMMAND_AVAILABILITY_ALL_AGENTS = 1;
GLOBAL_COMMAND_AVAILABILITY_CLOUD_ONLY = 2;
GLOBAL_COMMAND_AVAILABILITY_LOCAL_ONLY = 3;
}
// Copied from: local:aiserver.v1.GlobalCommandSurface (var: ct)
enum GlobalCommandSurface {
GLOBAL_COMMAND_SURFACE_UNSPECIFIED = 0;
GLOBAL_COMMAND_SURFACE_CLASSIC = 1;
GLOBAL_COMMAND_SURFACE_GLASS = 2;
GLOBAL_COMMAND_SURFACE_CLI = 3;
}
// Copied from: agent.v1.GoalContinuationAction (var: ti)
message GoalContinuationAction {
}
// Copied from: agent.v1.GoalState (var: qi)
message GoalState {
string conversation_id = 1;
string goal_id = 2;
string objective = 3;
GoalStatus status = 4;
uint32 idle_continuations_without_tool_calls = 5;
optional uint64 active_duration_ms = 6;
optional uint64 last_accrued_at_ms = 7;
}
// Copied from: agent.v1.GoalStatus (var: Cs)
enum GoalStatus {
GOAL_STATUS_UNSPECIFIED = 0;
GOAL_STATUS_ACTIVE = 1;
GOAL_STATUS_PAUSED = 2;
GOAL_STATUS_COMPLETE = 3;
GOAL_STATUS_CLEARED = 4;
}
// Copied from: local:aiserver.v1.GoogleWorkspaceMcpOAuthClient (var: nt)
message GoogleWorkspaceMcpOAuthClient {
string client_id = 1;
string client_secret = 2;
}
// Copied from: local:aiserver.v1.GotodefDefinition (var: xt)
message GotodefDefinition {
string relative_workspace_path = 1;
optional string fully_qualified_name = 2;
optional string symbol_kind = 3;
int32 start_line = 4;
int32 end_line = 5;
repeated string code_context_lines = 6;
}
// Copied from: local:aiserver.v1.GotodefParams (var: Ut)
message GotodefParams {
string relative_workspace_path = 1;
string symbol = 2;
int32 start_line = 3;
int32 end_line = 4;
}
// Copied from: local:aiserver.v1.GotodefResult (var: Qt)
message GotodefResult {
repeated GotodefDefinition definitions = 1;
}
// Copied from: local:aiserver.v1.GotodefStream (var: _r)
message GotodefStream {
}
// Copied from: agent.v1.GrepArgs (var: o)
message GrepArgs {
string pattern = 1;
optional string path = 2;
optional string glob = 3;
optional string output_mode = 4;
optional int32 context_before = 5;
optional int32 context_after = 6;
optional int32 context = 7;
optional bool case_insensitive = 8;
optional string type = 9;
optional int32 head_limit = 10;
optional bool multiline = 11;
optional string sort = 12;
optional bool sort_ascending = 13;
string tool_call_id = 14;
optional SandboxPolicy sandbox_policy = 15;
optional int32 offset = 16;
}
// Copied from: agent.v1.GrepContentMatch (var: g)
message GrepContentMatch {
int32 line_number = 1;
string content = 2;
bool content_truncated = 3;
bool is_context_line = 4;
}
// Copied from: agent.v1.GrepContentResult (var: p)
message GrepContentResult {
repeated GrepFileMatch matches = 1;
int32 total_lines = 2;
int32 total_matched_lines = 3;
bool client_truncated = 4;
bool ripgrep_truncated = 5;
optional int32 head_limit_applied = 6;
optional int32 offset_applied = 7;
}
// Copied from: agent.v1.GrepCountResult (var: m)
message GrepCountResult {
repeated GrepFileCount counts = 1;
int32 total_files = 2;
int32 total_matches = 3;
bool client_truncated = 4;
bool ripgrep_truncated = 5;
optional int32 head_limit_applied = 6;
optional int32 offset_applied = 7;
}
// Copied from: agent.v1.GrepError (var: a)
message GrepError {
string error = 1;
}
// Copied from: agent.v1.GrepFileCount (var: c)
message GrepFileCount {
string file = 1;
int32 count = 2;
}
// Copied from: agent.v1.GrepFileMatch (var: f)
message GrepFileMatch {
string file = 1;
repeated GrepContentMatch matches = 2;
}
// Copied from: agent.v1.GrepFilesResult (var: d)
message GrepFilesResult {
repeated string files = 1;
int32 total_files = 2;
bool client_truncated = 3;
bool ripgrep_truncated = 4;
optional int32 head_limit_applied = 5;
optional int32 offset_applied = 6;
}
// Copied from: agent.v1.GrepResult (var: i)
message GrepResult {
oneof result {
GrepSuccess success = 1;
GrepError error = 2;
}
}
// Copied from: agent.v1.GrepSuccess (var: l)
message GrepSuccess {
string pattern = 1;
string path = 2;
string output_mode = 3;
map<string, GrepUnionResult> workspace_results = 4;
optional GrepUnionResult active_editor_result = 5;
}
// Copied from: agent.v1.GrepUnionResult (var: u)
message GrepUnionResult {
oneof result {
GrepCountResult count = 1;
GrepFilesResult files = 2;
GrepContentResult content = 3;
}
}
// Copied from: local:aiserver.v1.GrindModeConfig (var: aa)
message GrindModeConfig {
// Copied from: local:aiserver.v1.GrindModeConfig.Phase (var: Ur)
enum Phase {
PHASE_UNSPECIFIED = 0;
PHASE_PLANNING = 1;
PHASE_EXECUTING = 2;
PHASE_CONTROLLER = 3;
}
int64 time_budget_ms = 1;
optional int64 start_time_unix_ms = 2;
Phase phase = 3;
optional bool auto_proceed_after_planning = 4;
optional int64 time_budget_seconds = 5;
optional bool grind_prompt_calibrate_effort = 6;
}
// Copied from: local:aiserver.v1.GrindModeTrackingState (var: la)
message GrindModeTrackingState {
int32 no_tool_turn_streak = 1;
optional string pending_done_token = 2;
bool final_summary_requested = 3;
optional int64 start_time_unix_ms = 4;
}
// Copied from: local:aiserver.v1.Group (var: d_)
message Group {
int32 id = 1;
string name = 2;
int32 team_id = 3;
optional int32 directory_group_id = 4;
int32 member_count = 5;
int64 created_at = 6;
int64 updated_at = 7;
GroupType type = 8;
repeated GroupMember members = 9;
optional int32 spend_cents = 10;
optional string directory_group_name = 11;
repeated GroupMember former_members = 12;
repeated DailySpendPoint daily_spend = 13;
}
// Copied from: local:aiserver.v1.GroupAssignment (var: C_)
message GroupAssignment {
string email = 1;
string group_name = 2;
}
// Copied from: local:aiserver.v1.GroupMember (var: p_)
message GroupMember {
int32 user_id = 1;
string name = 2;
string email = 3;
int64 joined_at = 4;
optional int32 spend_cents = 5;
optional int64 left_at = 6;
optional int32 effective_per_user_limit_dollars = 7;
}
// Copied from: local:aiserver.v1.GroupMemberChange (var: M_)
message GroupMemberChange {
int32 user_id = 1;
string email = 2;
string name = 3;
GroupMemberChangeType change_type = 4;
}
// Copied from: local:aiserver.v1.GroupMemberChangeType (var: je)
enum GroupMemberChangeType {
GROUP_MEMBER_CHANGE_TYPE_UNSPECIFIED = 0;
GROUP_MEMBER_CHANGE_TYPE_ADD = 1;
GROUP_MEMBER_CHANGE_TYPE_REMOVE = 2;
}
// Copied from: local:aiserver.v1.GroupType (var: Ke)
enum GroupType {
GROUP_TYPE_UNSPECIFIED = 0;
GROUP_TYPE_BILLING = 1;
GROUP_TYPE_PRODUCT = 2;
}
// Copied from: local:aiserver.v1.HeadlessAgenticComposerConfig (var: $a)
message HeadlessAgenticComposerConfig {
string chat_model_name = 2;
ModelDetails chat_model_details = 5;
bool auto_commit = 4;
bool is_background = 6;
optional bool auto_create_pr = 7;
optional BackgroundComposerSource background_agent_source = 8;
optional bool open_as_cursor_github_app = 9;
optional bool skip_reviewer_request = 10;
optional bool enable_cloud_testing = 11;
optional bool enable_setup_vm_environment_tool = 12;
repeated ModelDetails additional_model_details = 13;
optional bool should_synthesize = 14;
optional bool show_onboarding_setup_note_for_manual_testing = 15;
optional RequestedModel requested_model = 16;
optional CloudSubagentParentReference cloud_subagent_parent = 17;
optional bool enable_computer_use = 18;
optional bool is_slack_v2 = 19;
optional bool is_slack_v1_5 = 25;
optional string named_agent_id = 20;
optional string named_agent_session_key = 21;
optional string named_agent_session_kind = 22;
optional string initiating_client_version = 23;
optional string initiating_client_commit = 24;
optional bool use_experimental_model_opt_out = 26;
optional bool disable_computer_use_reflect = 27;
}
// Copied from: local:aiserver.v1.HeadlessAgenticComposerPrompt (var: ja)
message HeadlessAgenticComposerPrompt {
// Copied from: local:aiserver.v1.HeadlessAgenticComposerPrompt.FileAttachment (var: Za)
message FileAttachment {
string name = 1;
string contents = 2;
}
// Copied from: local:aiserver.v1.HeadlessAgenticComposerPrompt.FileSelection (var: Xa)
message FileSelection {
string relative_workspace_path = 1;
}
ConversationMessage base_conversation_message = 5;
string text = 1;
string rich_text = 6;
repeated FileSelection file_selections = 2;
repeated FileAttachment file_attachments = 3;
repeated ImageProto images = 4;
repeated ConversationMessage conversation_history = 7;
repeated string documentation_identifiers = 8;
optional bool use_web = 9;
repeated ComposerExternalLink external_links = 10;
repeated SpecSubagentParams blob_data_per_message = 11;
}
// Copied from: local:aiserver.v1.HeadlessAgenticComposerRepositoryInfo (var: za)
message HeadlessAgenticComposerRepositoryInfo {
RepositoryInfo repository_info = 1;
string path_encryption_key = 2;
bool repository_info_should_query_staging = 3;
bool repository_info_should_query_prod = 4;
string repo_query_auth_token = 5;
bool should_sync_index = 6;
QueryOnlyRepoAccess query_only_repo_access = 7;
}
// Copied from: local:aiserver.v1.HeadlessAgenticComposerResponse (var: Ha)
message HeadlessAgenticComposerResponse {
// Copied from: local:aiserver.v1.HeadlessAgenticComposerResponse.Error (var: Ka)
message Error {
string message = 1;
ErrorDetails error_details = 2;
}
// Copied from: local:aiserver.v1.HeadlessAgenticComposerResponse.FinalToolResult (var: Ya)
message FinalToolResult {
string tool_call_id = 1;
ClientSideToolV2Result result = 2;
}
// Copied from: local:aiserver.v1.HeadlessAgenticComposerResponse.Status (var: Wa)
message Status {
// Copied from: local:aiserver.v1.HeadlessAgenticComposerResponse.Status.StatusType (var: Gr)
enum StatusType {
STATUS_TYPE_UNSPECIFIED = 0;
STATUS_TYPE_INDEX_SYNC = 1;
STATUS_TYPE_GENERIC = 2;
}
StatusType type = 1;
string message = 2;
bool is_complete = 3;
}
// Copied from: local:aiserver.v1.HeadlessAgenticComposerResponse.UserMessage (var: Va)
message UserMessage {
string text = 1;
string rich_text = 2;
}
string text = 1;
optional ClientSideToolV2Call tool_call = 2;
optional FinalToolResult final_tool_result = 3;
optional StreamedBackToolCall streamed_back_tool_call = 6;
UserMessage user_message = 4;
bool is_message_done = 5;
optional Error error = 7;
ConversationMessage human_message = 8;
optional ConversationMessage.Thinking thinking = 9;
optional int32 thinking_duration_ms = 10;
optional ConversationMessage.ThinkingStyle thinking_style = 12;
optional Status status = 11;
}
// Copied from: local:aiserver.v1.HealthCheckRequest (var: Ps)
message HealthCheckRequest {
}
// Copied from: local:aiserver.v1.HealthCheckResponse (var: bs)
message HealthCheckResponse {
// Copied from: local:aiserver.v1.HealthCheckResponse.Status (var: Ae)
enum Status {
STATUS_UNSPECIFIED = 0;
STATUS_HEALTHY = 1;
}
Status status = 1;
}
// Copied from: local:aiserver.v1.HealthEmptyRequest (var: s)
message HealthEmptyRequest {
}
// Copied from: local:aiserver.v1.HealthRequest (var: o)
message HealthRequest {
string payload = 1;
optional bool simulate_error = 2;
}
// Copied from: local:aiserver.v1.HealthResponse (var: i)
message HealthResponse {
string payload = 1;
}
// Copied from: local:aiserver.v1.HeapProfileConfig (var: le)
message HeapProfileConfig {
int32 sampling_interval = 1;
optional bool include_objects_collected_by_major_gc = 2;
optional bool include_objects_collected_by_minor_gc = 3;
}
// Copied from: agent.v1.HeartbeatUpdate (var: Ba)
message HeartbeatUpdate {
}
// Copied from: local:aiserver.v1.HeuristicsSelection (var: Dt)
message HeuristicsSelection {
// Copied from: local:aiserver.v1.HeuristicsSelection.HeuristicsSelectionType (var: se)
enum HeuristicsSelectionType {
HEURISTICS_SELECTION_TYPE_UNSPECIFIED = 0;
HEURISTICS_SELECTION_TYPE_GROUP = 1;
HEURISTICS_SELECTION_TYPE_LINE = 2;
HEURISTICS_SELECTION_TYPE_FOLDING = 3;
}
HeuristicsSelectionType type = 1;
int32 start_line = 2;
int32 end_line = 3;
}
// Copied from: agent.v1.HookAdditionalContext (var: s)
message HookAdditionalContext {
string hook_event_name = 1;
string content = 2;
}
// Copied from: local:aiserver.v1.HookDescriptor (var: cE)
message HookDescriptor {
string name = 1;
optional string description = 2;
optional string source_path = 3;
optional string source_url = 4;
}
// Copied from: agent.v1.HooksConfigInfo (var: J)
message HooksConfigInfo {
repeated string configured_steps = 1;
}
// Copied from: local:aiserver.v1.HoverDetails (var: pe)
message HoverDetails {
string code_details = 1;
repeated string markdown_blocks = 2;
}
// Copied from: local:aiserver.v1.Http2Config (var: g)
enum Http2Config {
HTTP2_CONFIG_UNSPECIFIED = 0;
HTTP2_CONFIG_FORCE_ALL_DISABLED = 1;
HTTP2_CONFIG_FORCE_ALL_ENABLED = 2;
HTTP2_CONFIG_FORCE_BIDI_DISABLED = 3;
HTTP2_CONFIG_FORCE_BIDI_ENABLED = 4;
}
// Copied from: local:aiserver.v1.HumanReview (var: ie)
message HumanReview {
string selected_option = 1;
string feedback_text = 2;
bool submit_feedback_as_new_message = 3;
string bubble_id = 4;
}
// Copied from: local:aiserver.v1.IRange (var: ce)
message IRange {
int32 start_line_number = 1;
int32 start_column = 2;
int32 end_line_number = 3;
int32 end_column = 4;
}
// Copied from: local:aiserver.v1.ImageProto (var: Ce)
message ImageProto {
// Copied from: local:aiserver.v1.ImageProto.Dimension (var: Ne)
message Dimension {
int32 width = 1;
int32 height = 2;
}
bytes data = 1;
Dimension dimension = 2;
string uuid = 3;
optional string task_specific_description = 4;
}
// Copied from: local:aiserver.v1.InAppAd (var: Se)
message InAppAd {
string id = 1;
AdHeader header = 2;
AdContent content = 3;
repeated AdButton buttons = 4;
optional bool force_dark_close_button = 5;
DisplayMode display_mode = 6;
optional string analytics_variant = 7;
optional ModalDisplayConfig modal_display_config = 8;
repeated ClientSurface target_surfaces = 9;
}
// Copied from: local:aiserver.v1.InAppAdTrigger (var: d)
enum InAppAdTrigger {
IN_APP_AD_TRIGGER_UNSPECIFIED = 0;
IN_APP_AD_TRIGGER_MOUNT = 1;
IN_APP_AD_TRIGGER_FIND_ISSUES = 2;
IN_APP_AD_TRIGGER_GIT_PUSH = 3;
IN_APP_AD_TRIGGER_COMMIT = 4;
IN_APP_AD_TRIGGER_IOS_DOWNLOAD_MENU = 5;
}
// Copied from: local:aiserver.v1.IndexFileData (var: q)
message IndexFileData {
// Copied from: local:aiserver.v1.IndexFileData.NodeData (var: D)
message NodeData {
string node_id = 1;
string stage = 2;
string content = 3;
string summary = 4;
}
string index_id = 1;
string workspace_relative_path = 2;
string stage = 3;
int32 order = 4;
repeated NodeData nodes = 5;
}
// Copied from: local:aiserver.v1.IndexedFile (var: Ut)
message IndexedFile {
string path = 1;
repeated string diff = 2;
}
// Copied from: local:aiserver.v1.IndexedPullRequest (var: xt)
message IndexedPullRequest {
uint32 pr_number = 1;
string sha = 2;
string message = 3;
repeated IndexedFile changed_files = 4;
uint32 generation = 5;
string commit_secret = 6;
int64 unix_timestamp = 7;
optional string title = 8;
optional string author = 9;
}
// Copied from: local:aiserver.v1.IndexingConfig (var: Ne)
message IndexingConfig {
int32 max_concurrent_uploads = 1;
int32 absolute_max_number_files = 2;
int32 max_file_retries = 3;
int32 sync_concurrency = 4;
int32 auto_indexing_max_num_files = 5;
int32 indexing_period_seconds = 6;
string repo42_auth_token = 7;
optional bool incremental = 8;
optional string default_user_path_encryption_key = 9;
optional string default_team_path_encryption_key = 10;
optional bool multi_root_indexing_enabled = 11;
double copy_status_check_period_seconds = 12;
int32 copy_timeout_seconds = 13;
int32 max_batch_bytes = 14;
int32 max_batch_num_requests = 15;
int32 max_sync_merkle_batch_size = 16;
}
// Copied from: local:aiserver.v1.IndividualLimitsOptOutOutcome (var: ht)
enum IndividualLimitsOptOutOutcome {
INDIVIDUAL_LIMITS_OPT_OUT_OUTCOME_UNSPECIFIED = 0;
INDIVIDUAL_LIMITS_OPT_OUT_OUTCOME_SUCCESS = 1;
INDIVIDUAL_LIMITS_OPT_OUT_OUTCOME_ALREADY_ALLOWED = 2;
INDIVIDUAL_LIMITS_OPT_OUT_OUTCOME_ENTERPRISE = 3;
INDIVIDUAL_LIMITS_OPT_OUT_OUTCOME_NOT_ADMIN = 4;
INDIVIDUAL_LIMITS_OPT_OUT_OUTCOME_CREATED_AFTER_CUTOFF = 5;
}
// Copied from: local:aiserver.v1.IndividualLimitsOptOutTeamResult (var: zw)
message IndividualLimitsOptOutTeamResult {
int32 team_id = 1;
string team_name = 2;
IndividualLimitsOptOutOutcome outcome = 3;
}
// Copied from: local:aiserver.v1.InferBackgroundComposerScriptsRequest (var: vu)
message InferBackgroundComposerScriptsRequest {
// Copied from: local:aiserver.v1.InferBackgroundComposerScriptsRequest.Command (var: Bu)
message Command {
string command = 1;
float timestamp = 2;
optional string cwd = 3;
}
repeated Command commands = 1;
}
// Copied from: local:aiserver.v1.InferBackgroundComposerScriptsResponse (var: Ju)
message InferBackgroundComposerScriptsResponse {
// Copied from: local:aiserver.v1.InferBackgroundComposerScriptsResponse.Terminal (var: Cu)
message Terminal {
string name = 1;
string command = 2;
}
string install_script = 1;
string start_script = 2;
repeated Terminal terminals = 3;
}
// Copied from: local:aiserver.v1.InferenceProviderWarning (var: rt)
message InferenceProviderWarning {
string message = 1;
repeated string affected_models = 2;
optional string fallback_model = 3;
InferenceProviderWarningTrigger trigger = 4;
}
// Copied from: local:aiserver.v1.InferenceProviderWarningTrigger (var: _)
enum InferenceProviderWarningTrigger {
INFERENCE_PROVIDER_WARNING_TRIGGER_UNSPECIFIED = 0;
INFERENCE_PROVIDER_WARNING_TRIGGER_ON_SELECT = 1;
INFERENCE_PROVIDER_WARNING_TRIGGER_ON_ERROR = 2;
}
// Copied from: local:aiserver.v1.IngestConversationRequest (var: w)
message IngestConversationRequest {
string conversation_id = 1;
string transcript = 2;
optional string transcript_json = 3;
optional string mode = 4;
optional string model = 5;
int64 last_updated_at = 6;
}
// Copied from: local:aiserver.v1.IngestConversationResponse (var: E)
message IngestConversationResponse {
bool success = 1;
optional string summary = 2;
optional string detailed_summary = 3;
optional string error_message = 4;
}
// Copied from: local:aiserver.v1.InjectBackgroundComposerContextRequest (var: sl)
message InjectBackgroundComposerContextRequest {
string bc_id = 1;
InjectContextAction inject_context_action = 2;
BackgroundComposerSource source = 3;
ConversationMessage followup_message = 4;
string promote_followup_id = 5;
}
// Copied from: local:aiserver.v1.InjectBackgroundComposerContextResponse (var: ol)
message InjectBackgroundComposerContextResponse {
// Copied from: local:aiserver.v1.InjectBackgroundComposerContextResponse.Outcome (var: Hr)
enum Outcome {
OUTCOME_UNSPECIFIED = 0;
OUTCOME_QUEUED = 1;
OUTCOME_QUEUED_FOR_NEXT_TURN = 2;
OUTCOME_REJECTED = 3;
}
Outcome outcome = 1;
}
// Copied from: agent.v1.InjectContextAction (var: ni)
message InjectContextAction {
string injection_id = 1;
string expected_run_id = 2;
oneof payload {
UserContextInjection user_context = 3;
SystemContextInjection system_context = 4;
}
}
// Copied from: local:aiserver.v1.InlineGPT4PromptProtoV1 (var: u)
message InlineGPT4PromptProtoV1 {
CurrentFileInfo current_file = 1;
}
// Copied from: local:aiserver.v1.InstallTeamPluginRequest (var: xS)
message InstallTeamPluginRequest {
int32 team_id = 1;
int64 plugin_id = 2;
optional bool is_required = 4;
optional string pinned_git_ref = 5;
}
// Copied from: local:aiserver.v1.InstallTeamPluginResponse (var: QS)
message InstallTeamPluginResponse {
TeamPluginInstall install = 1;
}
// Copied from: local:aiserver.v1.InstallUserPluginRequest (var: kS)
message InstallUserPluginRequest {
int64 plugin_id = 1;
optional string pinned_git_ref = 4;
google.protobuf.Struct variables = 5;
}
// Copied from: local:aiserver.v1.InstallUserPluginResponse (var: wS)
message InstallUserPluginResponse {
UserPluginInstall install = 1;
}
// Copied from: local:aiserver.v1.InstallationSettings (var: Yp)
message InstallationSettings {
repeated string allowlist = 1;
AllowlistConfig allowlist_config = 2;
bool run_only_once = 3;
bool suppress_no_bugs_comments = 4;
bool disable_inline_reviews = 5;
bool auto_enable_new_repos = 6;
bool is_pr_summary_enabled = 7;
bool pr_summary_use_comment = 8;
bool is_learning_enabled = 9;
BugbotAutofixMode bugbot_autofix_mode = 10;
bool enable_draft = 11;
bool fail_github_action_on_bugbot_findings = 12;
repeated string bugbot_autofix_severity_filter = 13;
optional bool is_pr_risk_score_enabled = 14;
}
// Copied from: local:aiserver.v1.IntentPredictionRequest (var: $n)
message IntentPredictionRequest {
repeated ConversationMessage messages = 1;
ContextOptions context_options = 2;
ModelDetails model_details = 3;
}
// Copied from: local:aiserver.v1.IntentPredictionResponse (var: er)
message IntentPredictionResponse {
// Copied from: local:aiserver.v1.IntentPredictionResponse.ChosenDocumentation (var: tr)
message ChosenDocumentation {
repeated int32 doc_indices = 1;
repeated string doc_identifiers = 2;
repeated string doc_names = 3;
}
// Copied from: local:aiserver.v1.IntentPredictionResponse.ChosenFileContents (var: nr)
message ChosenFileContents {
}
// Copied from: local:aiserver.v1.IntentPredictionResponse.ChosenLinterDiagnostics (var: rr)
message ChosenLinterDiagnostics {
repeated int32 diagnostic_indices = 1;
}
ChosenDocumentation chosen_documentation = 1;
ChosenFileContents chosen_file_contents = 2;
ChosenLinterDiagnostics chosen_linter_diagnostics = 3;
bool use_global_context = 4;
bool use_with_folder_context = 5;
}
// Copied from: local:aiserver.v1.Interaction (var: k)
message Interaction {
string id = 1;
InteractionType type = 2;
double performance_start_timestamp = 3;
double performance_end_timestamp = 4;
}
// Copied from: local:aiserver.v1.InteractionConfig (var: He)
message InteractionConfig {
bool profiling_enabled = 1;
bool metrics_enabled = 2;
optional int32 profiling_interval_sec = 3;
optional int32 metrics_interval_sec = 4;
optional int32 profiling_max_buffer_size = 5;
optional int32 profiling_interaction_duration_threshold_ms = 6;
optional int32 profiling_sample_interval_ms = 7;
optional int32 metrics_min_interactions_for_loaf = 8;
optional int32 metrics_min_foreground_time_ms = 9;
optional int32 metrics_combined_inp_drop_highest_count = 10;
optional int32 metrics_click_inp_drop_highest_count = 11;
optional int32 metrics_keypress_inp_drop_highest_count = 12;
optional int32 metrics_startup_threshold_sec = 13;
optional int32 analytics_summary_every_n_windows = 14;
optional int32 ext_host_lag_summary_interval_sec = 15;
}
// Copied from: agent.v1.InteractionQuery (var: Ka)
message InteractionQuery {
uint32 id = 1;
oneof query {
WebSearchRequestQuery web_search_request_query = 2;
AskQuestionInteractionQuery ask_question_interaction_query = 3;
SwitchModeRequestQuery switch_mode_request_query = 4;
CreatePlanRequestQuery create_plan_request_query = 7;
SetupVmEnvironmentArgs setup_vm_environment_args = 8;
WebFetchRequestQuery web_fetch_request_query = 9;
PrManagementRequestQuery pr_management_request_query = 10;
McpAuthRequestQuery mcp_auth_request_query = 11;
GenerateImageRequestQuery generate_image_request_query = 12;
ReplaceEnvArgs replace_env_args = 13;
ConnectScmRequestQuery connect_scm_request_query = 14;
}
}
// Copied from: agent.v1.InteractionResponse (var: Wa)
message InteractionResponse {
uint32 id = 1;
oneof result {
WebSearchRequestResponse web_search_request_response = 2;
AskQuestionInteractionResponse ask_question_interaction_response = 3;
SwitchModeRequestResponse switch_mode_request_response = 4;
CreatePlanRequestResponse create_plan_request_response = 7;
SetupVmEnvironmentResult setup_vm_environment_result = 8;
WebFetchRequestResponse web_fetch_request_response = 9;
PrManagementResult pr_management_result = 10;
McpAuthRequestResponse mcp_auth_request_response = 11;
GenerateImageRequestResponse generate_image_request_response = 12;
ReplaceEnvResult replace_env_result = 13;
ConnectScmRequestResponse connect_scm_request_response = 14;
}
}
// Copied from: local:aiserver.v1.InteractionType (var: o)
enum InteractionType {
INTERACTION_TYPE_UNSPECIFIED = 0;
INTERACTION_TYPE_CLICK = 1;
INTERACTION_TYPE_KEYPRESS = 2;
}
// Copied from: agent.v1.InteractionUpdate (var: Ha)
message InteractionUpdate {
oneof message {
TextDeltaUpdate text_delta = 1;
PartialToolCallUpdate partial_tool_call = 7;
ToolCallDeltaUpdate tool_call_delta = 15;
ToolCallStartedUpdate tool_call_started = 2;
ToolCallCompletedUpdate tool_call_completed = 3;
ThinkingDeltaUpdate thinking_delta = 4;
ThinkingCompletedUpdate thinking_completed = 5;
UserMessageAppendedUpdate user_message_appended = 6;
TokenDeltaUpdate token_delta = 8;
SummaryUpdate summary = 9;
SummaryStartedUpdate summary_started = 10;
SummaryCompletedUpdate summary_completed = 11;
ShellOutputDeltaUpdate shell_output_delta = 12;
HeartbeatUpdate heartbeat = 13;
TurnEndedUpdate turn_ended = 14;
StepStartedUpdate step_started = 16;
StepCompletedUpdate step_completed = 17;
PromptSuggestionUpdate prompt_suggestion = 18;
PostRequestPromptUpdate post_request_prompt = 19;
ActiveBranchChange active_branch_change = 20;
FeedbackRequestUpdate feedback_request = 21;
ResponseComparisonUpdate response_comparison = 22;
ContextInjectionStateUpdate context_injection_state = 23;
}
}
// Copied from: local:aiserver.v1.InterfaceAgentClientState (var: Z)
message InterfaceAgentClientState {
string interface_relative_workspace_path = 3;
repeated string interface_lines = 4;
optional string test_relative_workspace_path = 5;
repeated string test_lines = 10;
optional string implementation_relative_workspace_path = 6;
repeated string implementation_lines = 7;
string language = 8;
string testing_framework = 9;
}
// Copied from: local:aiserver.v1.InterfaceAgentInitRequest (var: Xi)
message InterfaceAgentInitRequest {
ModelDetails model_details = 1;
bool debugging_only_live_mode = 2;
InterfaceAgentClientState interface_agent_client_state = 3;
}
// Copied from: local:aiserver.v1.InterfaceAgentInitResponse (var: Zi)
message InterfaceAgentInitResponse {
string task_uuid = 1;
string human_readable_title = 2;
}
// Copied from: local:aiserver.v1.InterfaceAgentStatus (var: $)
message InterfaceAgentStatus {
// Copied from: local:aiserver.v1.InterfaceAgentStatus.Status (var: j)
enum Status {
STATUS_UNSPECIFIED = 0;
STATUS_WAITING = 1;
STATUS_RUNNING = 2;
STATUS_SUCCESS = 3;
STATUS_FAILURE = 4;
}
Status validate_configuration = 1;
Status stub_new_function = 2;
Status verify_spec = 3;
Status write_test_plan = 15;
Status write_tests = 4;
Status write_implementation = 5;
Status implement_new_function = 6;
Status run_tests = 7;
string validate_configuration_message = 8;
string stub_new_function_message = 9;
string verify_spec_message = 10;
string write_test_plan_message = 16;
string write_tests_message = 11;
string write_implementation_message = 12;
string implement_new_function_message = 13;
string run_tests_message = 14;
}
// Copied from: local:aiserver.v1.InterpreterResult (var: un)
message InterpreterResult {
string output = 1;
bool success = 2;
}
// Copied from: agent.v1.InterruptedPendingToolCallResolution (var: Do)
message InterruptedPendingToolCallResolution {
string tool_call_id = 1;
oneof resolution {
ShellResult shell_result = 2;
TaskResult task_result = 3;
}
}
// Copied from: agent.v1.InterruptedPendingToolCallResolutions (var: Oo)
message InterruptedPendingToolCallResolutions {
repeated InterruptedPendingToolCallResolution resolutions = 1;
}
// Copied from: local:aiserver.v1.InviteLinkInfo (var: Fg)
message InviteLinkInfo {
string invite_link = 1;
int64 valid_until = 2;
}
// Copied from: agent.v1.InvocationContext (var: $)
message InvocationContext {
// Copied from: agent.v1.InvocationContext.GithubPR (var: ne)
message GithubPR {
string title = 1;
string description = 2;
string comments = 3;
optional string ci_failures = 4;
}
// Copied from: agent.v1.InvocationContext.IdeState (var: re)
message IdeState {
// Copied from: agent.v1.InvocationContext.IdeState.File (var: se)
message File {
// Copied from: agent.v1.InvocationContext.IdeState.File.CursorPosition (var: oe)
message CursorPosition {
int32 line = 1;
string text = 2;
}
string path = 1;
optional string relative_path = 2;
optional CursorPosition cursor_position = 3;
int32 total_lines = 4;
optional string active_command = 5;
}
// Copied from: agent.v1.InvocationContext.IdeState.ViewedPullRequest (var: ie)
message ViewedPullRequest {
int32 number = 1;
string url = 2;
optional string title = 3;
optional string folder_path = 4;
optional string summary_json = 5;
optional string description = 6;
}
repeated File visible_files = 1;
repeated File recently_viewed_files = 2;
repeated ViewedPullRequest currently_viewed_prs = 3;
}
// Copied from: agent.v1.InvocationContext.MicrosoftTeamsThread (var: te)
message MicrosoftTeamsThread {
string thread = 1;
optional string channel_name = 2;
optional string team_name = 3;
optional string channel_description = 4;
optional string team_description = 5;
}
// Copied from: agent.v1.InvocationContext.SlackThread (var: ee)
message SlackThread {
string thread = 1;
optional string channel_name = 2;
optional string channel_purpose = 3;
optional string channel_topic = 4;
optional string sender_name = 5;
optional string sender_id = 6;
optional string sender_type = 7;
optional bool is_directly_addressed = 8;
}
oneof data {
SlackThread slack_thread = 1;
GithubPR github_pr = 2;
IdeState ide_state = 3;
MicrosoftTeamsThread microsoft_teams_thread = 4;
bytes blob_id = 10;
}
}
// Copied from: local:aiserver.v1.InvoiceCycle (var: Zi)
message InvoiceCycle {
int64 start_ms = 1;
CycleType type = 2;
int64 end_ms = 3;
}
// Copied from: local:aiserver.v1.InvoiceInfo (var: Vg)
message InvoiceInfo {
string invoice_id = 1;
int64 date = 2;
int32 amount_cents = 3;
string currency = 4;
string status = 5;
string hosted_invoice_url = 6;
int32 refund_amount = 7;
string description = 8;
bool is_mid_month_invoice = 9;
}
// Copied from: local:aiserver.v1.IsAllowedFreeTrialUsageRequest (var: ZA)
message IsAllowedFreeTrialUsageRequest {
}
// Copied from: local:aiserver.v1.IsAllowedFreeTrialUsageResponse (var: $A)
message IsAllowedFreeTrialUsageResponse {
bool is_allowed = 1;
}
// Copied from: local:aiserver.v1.IsCursorPredictionEnabledRequest (var: An)
message IsCursorPredictionEnabledRequest {
}
// Copied from: local:aiserver.v1.IsCursorPredictionEnabledResponse (var: _n)
message IsCursorPredictionEnabledResponse {
bool enabled = 1;
}
// Copied from: local:aiserver.v1.IsLoggedInRequest (var: mt)
message IsLoggedInRequest {
}
// Copied from: local:aiserver.v1.IsLoggedInResponse (var: ct)
message IsLoggedInResponse {
bool logged_in = 1;
}
// Copied from: local:aiserver.v1.IsNextSetupRunFreeRequest (var: e_)
message IsNextSetupRunFreeRequest {
optional string bc_id = 1;
}
// Copied from: local:aiserver.v1.IsNextSetupRunFreeResponse (var: t_)
message IsNextSetupRunFreeResponse {
bool is_free = 1;
uint32 remaining_runs = 2;
bool is_promotion_enabled = 3;
bool are_followups_free = 4;
uint32 remaining_followups = 5;
bool is_current_run_free = 6;
}
// Copied from: local:aiserver.v1.IsOnNewPricingRequest (var: HA)
message IsOnNewPricingRequest {
}
// Copied from: local:aiserver.v1.IsOnNewPricingResponse (var: VA)
message IsOnNewPricingResponse {
bool is_on_new_pricing = 1;
bool is_opted_out = 2;
bool has_auto_spillover = 3;
optional int32 dashboard_user_id = 4;
bool has_tiered_self_serve_team_spillover = 5;
}
// Copied from: local:aiserver.v1.IsTerminalFinishedRequest (var: xe)
message IsTerminalFinishedRequest {
string terminal_content = 1;
bool check_for_hangs = 2;
optional string chat_request_id = 3;
optional string command = 4;
}
// Copied from: local:aiserver.v1.IsTerminalFinishedResponseV2 (var: Qe)
message IsTerminalFinishedResponseV2 {
bool is_finished = 1;
optional RunTerminalCommandEndedReason ended_reason = 2;
optional int32 exit_code = 3;
bool is_hanging = 4;
}
// Copied from: local:aiserver.v1.IsolatedTreesitterRequest (var: Wo)
message IsolatedTreesitterRequest {
string file_content = 1;
string language_id = 2;
string command_id = 3;
}
// Copied from: local:aiserver.v1.IsolatedTreesitterResponse (var: zo)
message IsolatedTreesitterResponse {
// Copied from: local:aiserver.v1.IsolatedTreesitterResponse.TreeSitterPosition (var: jo)
message TreeSitterPosition {
int32 row = 1;
int32 column = 2;
}
// Copied from: local:aiserver.v1.IsolatedTreesitterResponse.TreesitterSymbolNameItem (var: Xo)
message TreesitterSymbolNameItem {
string symbol_name = 1;
optional IsolatedTreesitterResponse.TreeSitterPosition start_position = 2;
optional IsolatedTreesitterResponse.TreeSitterPosition end_position = 3;
}
repeated TreesitterSymbolNameItem items = 1;
}
// Copied from: local:aiserver.v1.IssueComment (var: nr)
message IssueComment {
uint32 id = 1;
string body = 2;
optional string author = 3;
string created_at = 4;
string updated_at = 5;
optional string author_association = 6;
}
// Copied from: local:aiserver.v1.IterativeSftInferenceConfig (var: Mu)
message IterativeSftInferenceConfig {
optional double temperature = 1;
optional double top_p = 2;
}
// Copied from: local:aiserver.v1.JiraIntegrationSettings (var: kc)
message JiraIntegrationSettings {
bool hidden = 1;
}
// Copied from: local:aiserver.v1.JiraProject (var: cv)
message JiraProject {
string id = 1;
string key = 2;
string name = 3;
}
// Copied from: local:aiserver.v1.JiraRoutingRule (var: _v)
message JiraRoutingRule {
int64 id = 1;
string repo = 2;
string rule_text = 3;
}
// Copied from: local:aiserver.v1.JiraUserLink (var: Rv)
message JiraUserLink {
string cloud_id = 1;
string jira_account_id = 2;
string site_name = 3;
string base_url = 4;
int64 linked_at_ms = 5;
}
// Copied from: local:aiserver.v1.JoinTeamByDomainRequest (var: fu)
message JoinTeamByDomainRequest {
int32 team_id = 1;
}
// Copied from: local:aiserver.v1.JoinTeamByDomainResponse (var: gu)
message JoinTeamByDomainResponse {
bool success = 1;
}
// Copied from: local:aiserver.v1.JoinableTeam (var: du)
message JoinableTeam {
int32 id = 1;
string name = 2;
int32 member_count = 3;
repeated string member_names = 4;
}
// Copied from: local:aiserver.v1.KeepComposerCacheWarmRequest (var: ml)
message KeepComposerCacheWarmRequest {
GetComposerChatRequest request = 1;
string request_id = 2;
bool is_composer_visible = 3;
}
// Copied from: local:aiserver.v1.KeepComposerCacheWarmResponse (var: cl)
message KeepComposerCacheWarmResponse {
bool did_keep_warm = 1;
}
// Copied from: agent.v1.KeyAction (var: h)
message KeyAction {
string key = 1;
optional int32 hold_duration_ms = 2;
}
// Copied from: local:aiserver.v1.Knowledge (var: Ye)
message Knowledge {
string knowledge = 1;
string title = 2;
}
// Copied from: local:aiserver.v1.KnowledgeBaseAddRequest (var: du)
message KnowledgeBaseAddRequest {
string knowledge = 1;
string title = 2;
string git_origin = 3;
optional string composer_id = 4;
}
// Copied from: local:aiserver.v1.KnowledgeBaseAddResponse (var: pu)
message KnowledgeBaseAddResponse {
bool success = 1;
string id = 2;
}
// Copied from: local:aiserver.v1.KnowledgeBaseGetRequest (var: ku)
message KnowledgeBaseGetRequest {
string id = 1;
}
// Copied from: local:aiserver.v1.KnowledgeBaseGetResponse (var: wu)
message KnowledgeBaseGetResponse {
// Copied from: local:aiserver.v1.KnowledgeBaseGetResponse.Item (var: Eu)
message Item {
string id = 1;
string knowledge = 2;
string title = 3;
string created_at = 4;
}
bool success = 1;
Item result = 2;
}
// Copied from: local:aiserver.v1.KnowledgeBaseListRequest (var: _u)
message KnowledgeBaseListRequest {
optional int32 limit = 1;
optional string git_origin = 2;
}
// Copied from: local:aiserver.v1.KnowledgeBaseListResponse (var: Tu)
message KnowledgeBaseListResponse {
// Copied from: local:aiserver.v1.KnowledgeBaseListResponse.Item (var: yu)
message Item {
string id = 1;
string knowledge = 2;
string title = 3;
string created_at = 4;
bool is_generated = 5;
}
bool success = 1;
repeated Item all_results = 2;
}
// Copied from: local:aiserver.v1.KnowledgeBaseParams (var: Xn)
message KnowledgeBaseParams {
string knowledge_to_store = 1;
string title = 2;
optional string existing_knowledge_id = 3;
optional string action = 4;
}
// Copied from: local:aiserver.v1.KnowledgeBaseRemoveRequest (var: fu)
message KnowledgeBaseRemoveRequest {
string id = 1;
}
// Copied from: local:aiserver.v1.KnowledgeBaseRemoveResponse (var: gu)
message KnowledgeBaseRemoveResponse {
bool success = 1;
}
// Copied from: local:aiserver.v1.KnowledgeBaseResult (var: Zn)
message KnowledgeBaseResult {
bool success = 1;
string confirmation_message = 2;
string id = 3;
}
// Copied from: local:aiserver.v1.KnowledgeBaseStream (var: $n)
message KnowledgeBaseStream {
}
// Copied from: local:aiserver.v1.KnowledgeBaseUpdateRequest (var: hu)
message KnowledgeBaseUpdateRequest {
string id = 1;
string knowledge = 2;
string title = 3;
}
// Copied from: local:aiserver.v1.KnowledgeBaseUpdateResponse (var: Au)
message KnowledgeBaseUpdateResponse {
bool success = 1;
}
// Copied from: local:aiserver.v1.LabelFilterMode (var: He)
enum LabelFilterMode {
LABEL_FILTER_MODE_UNSPECIFIED = 0;
LABEL_FILTER_MODE_AND = 1;
LABEL_FILTER_MODE_OR = 2;
}
// Copied from: local:aiserver.v1.LatestAgentConversationState (var: Ua)
message LatestAgentConversationState {
ConversationStateStructure conversation_state = 1;
uint32 num_prior_interaction_updates = 2;
optional uint32 conversation_rewind_epoch = 3;
}
// Copied from: local:aiserver.v1.LimitHitStage (var: Le)
enum LimitHitStage {
LIMIT_HIT_STAGE_UNSPECIFIED = 0;
LIMIT_HIT_STAGE_AUTO_SWITCH = 1;
LIMIT_HIT_STAGE_SLOW_POOL = 2;
LIMIT_HIT_STAGE_HARD_BLOCK = 3;
}
// Copied from: local:aiserver.v1.LineRange (var: F)
message LineRange {
int32 start_line_number = 1;
int32 end_line_number_inclusive = 2;
}
// Copied from: local:aiserver.v1.LinearActor (var: Qe)
enum LinearActor {
LINEAR_ACTOR_UNSPECIFIED = 0;
LINEAR_ACTOR_APP = 1;
LINEAR_ACTOR_USER = 2;
}
// Copied from: local:aiserver.v1.LinearIntegrationSettings (var: yc)
message LinearIntegrationSettings {
bool hidden = 1;
}
// Copied from: local:aiserver.v1.LinearIssue (var: AA)
message LinearIssue {
string id = 1;
string identifier = 2;
string title = 3;
optional string description = 4;
optional string state_id = 5;
optional string state_name = 6;
optional string state_type = 7;
optional string team_id = 8;
optional string project_id = 9;
optional string project_name = 10;
optional string assignee_id = 11;
optional string assignee_name = 12;
repeated string label_ids = 13;
optional int32 priority = 14;
bool archived = 15;
optional int64 created_at = 16;
optional int64 updated_at = 17;
optional string url = 18;
optional string due_date = 19;
}
// Copied from: local:aiserver.v1.LinearIssuesOrderBy (var: Ve)
enum LinearIssuesOrderBy {
LINEAR_ISSUES_ORDER_BY_UNSPECIFIED = 0;
LINEAR_ISSUES_ORDER_BY_UPDATED_AT = 1;
LINEAR_ISSUES_ORDER_BY_CREATED_AT = 2;
}
// Copied from: local:aiserver.v1.LinearLabel (var: dA)
message LinearLabel {
string id = 1;
string name = 2;
optional string color = 3;
}
// Copied from: local:aiserver.v1.LinearProject (var: rA)
message LinearProject {
string id = 1;
string name = 2;
}
// Copied from: local:aiserver.v1.LinearProjectSettings (var: sA)
message LinearProjectSettings {
string project_id = 1;
LinearRunOption run_option = 2;
string conditions = 3;
}
// Copied from: local:aiserver.v1.LinearRunOption (var: Ge)
enum LinearRunOption {
LINEAR_RUN_OPTION_UNSPECIFIED = 0;
LINEAR_RUN_OPTION_AUTOMATICALLY = 1;
LINEAR_RUN_OPTION_BASED_ON_CONDITIONS = 2;
LINEAR_RUN_OPTION_MANUALLY = 3;
}
// Copied from: local:aiserver.v1.LinearSourceMetadata (var: Zi)
message LinearSourceMetadata {
optional string issue_id = 1;
optional string org_id = 2;
optional string issue_identifier = 3;
optional string issue_title = 4;
}
// Copied from: local:aiserver.v1.LinearTeam (var: nA)
message LinearTeam {
string id = 1;
string key = 2;
string name = 3;
string display_name = 4;
optional string description = 5;
repeated LinearProject projects = 6;
repeated LinearLabel labels = 7;
}
// Copied from: local:aiserver.v1.LinearTeamSettings (var: oA)
message LinearTeamSettings {
string linear_team_id = 1;
LinearRunOption default_run_option = 2;
repeated LinearProjectSettings project_settings = 3;
string default_conditions = 4;
LabelFilterMode label_filter_mode = 5;
repeated string required_label_ids = 6;
optional int32 autorun_as_user_id = 7;
}
// Copied from: local:aiserver.v1.LinkJiraInstallationRequest (var: tv)
message LinkJiraInstallationRequest {
string installation_id = 1;
int32 team_id = 2;
string install_token = 3;
string setup_code = 4;
}
// Copied from: local:aiserver.v1.LinkJiraInstallationResponse (var: nv)
message LinkJiraInstallationResponse {
bool success = 1;
}
// Copied from: local:aiserver.v1.LinkJiraUserRequest (var: Bv)
message LinkJiraUserRequest {
string cloud_id = 1;
string jira_account_id = 2;
string link_token = 3;
}
// Copied from: local:aiserver.v1.LinkJiraUserResponse (var: Jv)
message LinkJiraUserResponse {
bool success = 1;
}
// Copied from: local:aiserver.v1.LinkPluginsToTeamMarketplaceRequest (var: LI)
message LinkPluginsToTeamMarketplaceRequest {
repeated string plugin_ids = 1;
int64 marketplace_id = 2;
}
// Copied from: local:aiserver.v1.LinkPluginsToTeamMarketplaceResponse (var: FI)
message LinkPluginsToTeamMarketplaceResponse {
bool success = 1;
}
// Copied from: local:aiserver.v1.LinkedUsageAlertPolicy (var: la)
message LinkedUsageAlertPolicy {
optional string alert_id = 1;
optional int32 threshold_bps = 2;
optional string notification_mode = 3;
optional bool notify_all_admins = 4;
repeated int32 notify_admin_user_ids = 5;
optional bool notify_member = 6;
}
// Copied from: local:aiserver.v1.Lint (var: Y)
message Lint {
string message = 1;
SimpleRange range = 2;
LintSeverity severity = 3;
}
// Copied from: local:aiserver.v1.LintChunk (var: J)
message LintChunk {
string chunk_contents = 2;
int32 start_line_number = 3;
int32 num_remaining_lines = 4;
}
// Copied from: local:aiserver.v1.LintChunkRequest (var: C)
message LintChunkRequest {
string relative_file_path = 1;
LintChunk chunk = 2;
optional bool use_speculative_linter = 3;
}
// Copied from: local:aiserver.v1.LintChunkResponse (var: N)
message LintChunkResponse {
repeated TokenIndex chunk_tokens = 1;
}
// Copied from: local:aiserver.v1.LintDiscriminator (var: o)
enum LintDiscriminator {
LINT_DISCRIMINATOR_UNSPECIFIED = 0;
LINT_DISCRIMINATOR_SPECIFIC_RULES = 1;
LINT_DISCRIMINATOR_COMPILE_ERRORS = 2;
LINT_DISCRIMINATOR_CHANGE_BEHAVIOR = 3;
LINT_DISCRIMINATOR_RELEVANCE = 5;
LINT_DISCRIMINATOR_USER_AWARENESS = 6;
LINT_DISCRIMINATOR_CORRECTNESS = 7;
LINT_DISCRIMINATOR_CHUNKING = 8;
LINT_DISCRIMINATOR_TYPO = 9;
LINT_DISCRIMINATOR_CONFIDENCE = 10;
LINT_DISCRIMINATOR_DISMISSED_BUGS = 11;
}
// Copied from: local:aiserver.v1.LintDiscriminatorResult (var: q)
message LintDiscriminatorResult {
LintDiscriminator discriminator = 1;
bool allow = 2;
string reasoning = 3;
}
// Copied from: local:aiserver.v1.LintExplanationRequest (var: I)
message LintExplanationRequest {
string relative_file_path = 1;
LintChunk chunk = 2;
string line_selection = 3;
int32 token_start_index = 4;
int32 token_end_index = 5;
string likely_alternate_token = 6;
int32 line_chunk_index_zero_based = 7;
}
// Copied from: local:aiserver.v1.LintExplanationResponse (var: v)
message LintExplanationResponse {
string explanation = 1;
}
// Copied from: local:aiserver.v1.LintExplanationResponse2 (var: B)
message LintExplanationResponse2 {
string orig_line = 1;
string new_line = 2;
}
// Copied from: local:aiserver.v1.LintFileRequest (var: b)
message LintFileRequest {
string relative_file_path = 1;
string file_contents = 2;
}
// Copied from: local:aiserver.v1.LintFileResponse (var: F)
message LintFileResponse {
repeated TokenIndex tokens = 1;
}
// Copied from: local:aiserver.v1.LintFimChunkRequest (var: R)
message LintFimChunkRequest {
string relative_file_path = 1;
LintChunk prefix = 2;
LintChunk suffix = 3;
LintChunk middle = 4;
}
// Copied from: local:aiserver.v1.LintFimChunkResponse (var: P)
message LintFimChunkResponse {
repeated TokenIndex middle_chunk_tokens = 1;
}
// Copied from: local:aiserver.v1.LintGenerator (var: i)
enum LintGenerator {
LINT_GENERATOR_UNSPECIFIED = 0;
LINT_GENERATOR_NAIVE = 1;
LINT_GENERATOR_COMMENT_PIPELINE = 2;
LINT_GENERATOR_SIMPLE_BUG = 3;
LINT_GENERATOR_SIMPLE_LINT_RULES = 4;
}
// Copied from: local:aiserver.v1.LintSeverity (var: r)
enum LintSeverity {
LINT_SEVERITY_UNSPECIFIED = 0;
LINT_SEVERITY_ERROR = 1;
LINT_SEVERITY_WARNING = 2;
LINT_SEVERITY_INFO = 3;
LINT_SEVERITY_HINT = 4;
LINT_SEVERITY_AI = 5;
}
// Copied from: local:aiserver.v1.LinterError (var: se)
message LinterError {
string message = 1;
CursorRange range = 2;
optional string source = 3;
repeated Diagnostic.RelatedInformation related_information = 4;
optional Diagnostic.DiagnosticSeverity severity = 5;
optional bool is_stale = 6;
}
// Copied from: local:aiserver.v1.LinterErrors (var: oe)
message LinterErrors {
string relative_workspace_path = 1;
repeated LinterError errors = 2;
string file_contents = 3;
}
// Copied from: local:aiserver.v1.LinterErrorsWithoutFileContents (var: ie)
message LinterErrorsWithoutFileContents {
string relative_workspace_path = 1;
repeated LinterError errors = 2;
}
// Copied from: local:aiserver.v1.ListAgentStoreDirectoryRequest (var: hf)
message ListAgentStoreDirectoryRequest {
optional string store_id = 1;
optional string share_id = 2;
string relative_path = 3;
int32 page_size = 4;
string page_token = 5;
bool prefer_complete_flat_store = 6;
}
// Copied from: local:aiserver.v1.ListAgentStoreDirectoryResponse (var: Af)
message ListAgentStoreDirectoryResponse {
repeated AgentStoreFileEntry files = 1;
repeated string subdirs = 2;
string next_page_token = 3;
AgentStoreDirectoryListingMode mode = 4;
repeated AgentStoreTombstone tombstones = 5;
}
// Copied from: local:aiserver.v1.ListAgentStoreEntriesRequest (var: sf)
message ListAgentStoreEntriesRequest {
string store_id = 1;
string relative_path = 2;
optional string share_id = 3;
}
// Copied from: local:aiserver.v1.ListAgentStoreEntriesResponse (var: af)
message ListAgentStoreEntriesResponse {
string normalized_relative_path = 1;
repeated AgentStoreEntry entries = 2;
}
// Copied from: local:aiserver.v1.ListAgentStoreFilesRequest (var: pf)
message ListAgentStoreFilesRequest {
string agent_id = 1;
optional string share_id = 2;
optional string store_id = 3;
}
// Copied from: local:aiserver.v1.ListAgentStoreFilesResponse (var: ff)
message ListAgentStoreFilesResponse {
repeated AgentStoreFileEntry files = 1;
repeated AgentStoreTombstone tombstones = 2;
bool listing_complete = 3;
}
// Copied from: local:aiserver.v1.ListAgentStoresRequest (var: $p)
message ListAgentStoresRequest {
int32 n = 1;
optional string page_token = 5;
}
// Copied from: local:aiserver.v1.ListAgentStoresResponse (var: rf)
message ListAgentStoresResponse {
repeated AgentStore stores = 1;
bool has_more = 2;
optional string next_page_token = 4;
}
// Copied from: local:aiserver.v1.ListBackgroundComposerArtifactsRequest (var: Fm)
message ListBackgroundComposerArtifactsRequest {
string bc_id = 1;
}
// Copied from: local:aiserver.v1.ListBackgroundComposerArtifactsResponse (var: Dm)
message ListBackgroundComposerArtifactsResponse {
repeated BackgroundComposerArtifact artifacts = 1;
}
// Copied from: local:aiserver.v1.ListBackgroundComposerSecretsRequest (var: uo)
message ListBackgroundComposerSecretsRequest {
bool team_scope = 1;
BackgroundComposerSecretOwner owner = 2;
}
// Copied from: local:aiserver.v1.ListBackgroundComposerSecretsResponse (var: mo)
message ListBackgroundComposerSecretsResponse {
// Copied from: local:aiserver.v1.ListBackgroundComposerSecretsResponse.Secret (var: co)
message Secret {
string name = 1;
double created_at = 2;
repeated string scoped_to_repos = 3;
BackgroundComposerSecretLevel level = 4;
int32 id = 5;
BackgroundComposerSecretOwner owner = 6;
}
repeated Secret secrets = 1;
}
// Copied from: local:aiserver.v1.ListBackgroundComposerSnapshotStatusesByBcIdsRequest (var: Lo)
message ListBackgroundComposerSnapshotStatusesByBcIdsRequest {
repeated string bc_ids = 1;
optional bool use_primary = 2;
}
// Copied from: local:aiserver.v1.ListBackgroundComposerSnapshotStatusesByBcIdsResponse (var: qo)
message ListBackgroundComposerSnapshotStatusesByBcIdsResponse {
repeated BackgroundComposerSnapshotStatusByBcId snapshot_statuses = 1;
}
// Copied from: local:aiserver.v1.ListBackgroundComposerSnapshotsByBcIdRequest (var: Po)
message ListBackgroundComposerSnapshotsByBcIdRequest {
string bc_id = 1;
optional bool use_primary = 2;
optional uint32 limit = 3;
}
// Copied from: local:aiserver.v1.ListBackgroundComposerSnapshotsByBcIdResponse (var: Mo)
message ListBackgroundComposerSnapshotsByBcIdResponse {
repeated BackgroundComposerSnapshotSummary snapshots = 1;
}
// Copied from: local:aiserver.v1.ListBackgroundComposersRequest (var: Ni)
message ListBackgroundComposersRequest {
int32 n = 1;
bool include_team_wide = 2;
optional string bc_id = 3;
optional string preferred_repo_url = 4;
repeated string additional_repo_urls = 5;
bool include_status = 6;
repeated BackgroundComposerSource include_sources = 7;
optional OwnerFilter owner_filter = 8;
optional double last_message_activity_at_ms_offset = 9;
optional bool include_archived = 10;
optional bool should_include_collaborators = 11;
optional int32 team_id = 12;
repeated BackgroundComposerSource include_hidden_sources = 13;
optional string preferred_workspace_binding_id = 14;
}
// Copied from: local:aiserver.v1.ListBackgroundComposersResponse (var: ta)
message ListBackgroundComposersResponse {
repeated BackgroundComposer composers = 1;
bool did_load_status = 2;
bool has_more = 3;
optional double next_page_offset = 4;
repeated BackgroundComposerParticipant participants = 5;
}
// Copied from: local:aiserver.v1.ListBitbucketServerInstancesRequest (var: kn)
message ListBitbucketServerInstancesRequest {
}
// Copied from: local:aiserver.v1.ListBitbucketServerInstancesResponse (var: wn)
message ListBitbucketServerInstancesResponse {
// Copied from: local:aiserver.v1.ListBitbucketServerInstancesResponse.BitbucketServerInstance (var: En)
message BitbucketServerInstance {
string uuid = 1;
string hostname = 2;
string external_host = 3;
bool can_delete = 4;
bool service_account_token_configured = 5;
string browser_base_url = 6;
string outbound_base_url = 7;
}
repeated BitbucketServerInstance instances = 1;
}
// Copied from: local:aiserver.v1.ListBlockingCheckoutInvoicesRequest (var: Kg)
message ListBlockingCheckoutInvoicesRequest {
}
// Copied from: local:aiserver.v1.ListBlockingCheckoutInvoicesResponse (var: Wg)
message ListBlockingCheckoutInvoicesResponse {
repeated InvoiceInfo invoices = 1;
}
// Copied from: local:aiserver.v1.ListCloudAgentRunEventsForDashboardRequest (var: ui)
message ListCloudAgentRunEventsForDashboardRequest {
string bc_id = 1;
}
// Copied from: local:aiserver.v1.ListCloudAgentRunEventsForDashboardResponse (var: mi)
message ListCloudAgentRunEventsForDashboardResponse {
repeated CloudAgentRunEvent events = 1;
}
// Copied from: local:aiserver.v1.ListCloudAgentRunsForDashboardRequest (var: ei)
message ListCloudAgentRunsForDashboardRequest {
CloudAgentDashboardRunFilter filter = 1;
CloudAgentDashboardRunSort sort = 2;
optional CloudAgentRunsCursor cursor = 3;
}
// Copied from: local:aiserver.v1.ListCloudAgentRunsForDashboardResponse (var: ni)
message ListCloudAgentRunsForDashboardResponse {
repeated CloudAgentDashboardRunRow rows = 1;
bool has_more = 2;
optional CloudAgentRunsCursor next_cursor = 3;
}
// Copied from: local:aiserver.v1.ListContactImportConnectionsRequest (var: al)
message ListContactImportConnectionsRequest {
}
// Copied from: local:aiserver.v1.ListContactImportConnectionsResponse (var: ll)
message ListContactImportConnectionsResponse {
repeated ContactImportConnectionSummary connections = 1;
}
// Copied from: local:aiserver.v1.ListContactImportContactsRequest (var: fl)
message ListContactImportContactsRequest {
int64 connection_id = 1;
optional int32 limit = 2;
optional string normalized_email_query = 3;
optional int64 after_contact_id = 4;
}
// Copied from: local:aiserver.v1.ListContactImportContactsResponse (var: gl)
message ListContactImportContactsResponse {
repeated ContactImportContactRow contacts = 1;
int32 total_count = 2;
}
// Copied from: local:aiserver.v1.ListCrewArchetypesRequest (var: Xv)
message ListCrewArchetypesRequest {
}
// Copied from: local:aiserver.v1.ListCrewArchetypesResponse (var: Zv)
message ListCrewArchetypesResponse {
repeated CrewArchetype archetypes = 1;
}
// Copied from: local:aiserver.v1.ListCrewsRequest (var: Ov)
message ListCrewsRequest {
}
// Copied from: local:aiserver.v1.ListCrewsResponse (var: Uv)
message ListCrewsResponse {
repeated Crew crews = 1;
}
// Copied from: local:aiserver.v1.ListDetailedBackgroundComposersRequest (var: zo)
message ListDetailedBackgroundComposersRequest {
bool include_team_wide = 1;
optional string bc_id = 2;
optional int32 n = 3;
bool include_diff = 4;
optional string cursor = 5;
repeated string bc_ids = 6;
optional OwnerFilter owner_filter = 7;
optional string repo_url_prefix = 8;
optional string pr_url = 9;
optional bool include_archived = 10;
}
// Copied from: local:aiserver.v1.ListDetailedBackgroundComposersResponse (var: jo)
message ListDetailedBackgroundComposersResponse {
repeated DetailedBackgroundComposer composers = 1;
repeated BackgroundComposerParticipant participants = 2;
}
// Copied from: local:aiserver.v1.ListDirParams (var: de)
message ListDirParams {
string directory_path = 1;
}
// Copied from: local:aiserver.v1.ListDirResult (var: pe)
message ListDirResult {
// Copied from: local:aiserver.v1.ListDirResult.File (var: fe)
message File {
string name = 1;
bool is_directory = 2;
optional int64 size = 3;
optional google.protobuf.Timestamp last_modified = 4;
optional int32 num_children = 5;
optional int32 num_lines = 6;
}
repeated File files = 1;
string directory_relative_workspace_path = 2;
}
// Copied from: local:aiserver.v1.ListDirStream (var: ge)
message ListDirStream {
}
// Copied from: local:aiserver.v1.ListDirV2Params (var: Xr)
message ListDirV2Params {
string target_directory = 1;
repeated string ignore_globs = 2;
optional bool should_enrich_terminal_metadata = 3;
}
// Copied from: local:aiserver.v1.ListDirV2Result (var: Zr)
message ListDirV2Result {
// Copied from: local:aiserver.v1.ListDirV2Result.DirectoryTreeNode (var: $r)
message DirectoryTreeNode {
// Copied from: local:aiserver.v1.ListDirV2Result.DirectoryTreeNode.File (var: es)
message File {
string name = 1;
optional TerminalMetadata terminal_metadata = 2;
}
string abs_path = 1;
repeated ListDirV2Result.DirectoryTreeNode children_dirs = 2;
repeated File children_files = 3;
bool children_were_processed = 4;
map<string, int32> full_subtree_extension_counts = 5;
int32 num_files = 6;
}
DirectoryTreeNode directory_tree_root = 1;
}
// Copied from: local:aiserver.v1.ListDirV2Stream (var: ts)
message ListDirV2Stream {
}
// Copied from: local:aiserver.v1.ListEnvironmentBuildsRequest (var: bu)
message ListEnvironmentBuildsRequest {
string environment_public_id = 1;
optional EnvironmentBuildsCursor cursor = 2;
}
// Copied from: local:aiserver.v1.ListEnvironmentBuildsResponse (var: Mu)
message ListEnvironmentBuildsResponse {
repeated EnvironmentBuildRow rows = 1;
bool has_more = 2;
optional EnvironmentBuildsCursor next_cursor = 3;
}
// Copied from: local:aiserver.v1.ListEnvironmentsRequest (var: Iu)
message ListEnvironmentsRequest {
optional int32 limit = 1;
optional bool include_environment_json = 2;
repeated string repository_scope_repo_urls = 3;
optional bool include_repository_scope_environments = 4;
}
// Copied from: local:aiserver.v1.ListEnvironmentsResponse (var: Bu)
message ListEnvironmentsResponse {
repeated LogicalEnvironment environments = 1;
optional string dashboard_scope_id = 2;
}
// Copied from: local:aiserver.v1.ListEventSubscriptionsRequest (var: xi)
message ListEventSubscriptionsRequest {
string named_agent_id = 1;
}
// Copied from: local:aiserver.v1.ListEventSubscriptionsResponse (var: Qi)
message ListEventSubscriptionsResponse {
repeated EventSubscription subscriptions = 1;
}
// Copied from: local:aiserver.v1.ListExperimentalIndexFilesRequest (var: l)
message ListExperimentalIndexFilesRequest {
string index_id = 1;
}
// Copied from: local:aiserver.v1.ListExperimentalIndexFilesResponse (var: u)
message ListExperimentalIndexFilesResponse {
string index_id = 1;
repeated IndexFileData files = 2;
}
// Copied from: local:aiserver.v1.ListFullSelfDrivingActiveAgentsRequest (var: rg)
message ListFullSelfDrivingActiveAgentsRequest {
optional string search_query = 1;
optional int32 page = 2;
optional int32 page_size = 3;
optional bool archived = 4;
optional string status_visual = 5;
}
// Copied from: local:aiserver.v1.ListFullSelfDrivingActiveAgentsResponse (var: sg)
message ListFullSelfDrivingActiveAgentsResponse {
repeated FullSelfDrivingActiveAgent agents = 1;
int32 total_count = 2;
}
// Copied from: local:aiserver.v1.ListFullSelfDrivingFindingsRequest (var: C)
message ListFullSelfDrivingFindingsRequest {
string pr_url = 1;
string bc_id = 2;
optional int32 limit = 3;
bool include_superseded = 4;
repeated string kinds = 5;
}
// Copied from: local:aiserver.v1.ListFullSelfDrivingFindingsResponse (var: R)
message ListFullSelfDrivingFindingsResponse {
repeated FullSelfDrivingFinding findings = 1;
}
// Copied from: local:aiserver.v1.ListFullSelfDrivingRepoSettingsRequest (var: xf)
message ListFullSelfDrivingRepoSettingsRequest {
}
// Copied from: local:aiserver.v1.ListFullSelfDrivingRepoSettingsResponse (var: Qf)
message ListFullSelfDrivingRepoSettingsResponse {
repeated FullSelfDrivingRepoSetting repos = 1;
}
// Copied from: local:aiserver.v1.ListFullSelfDrivingRunsRequest (var: I)
message ListFullSelfDrivingRunsRequest {
string pr_url = 1;
optional int32 limit = 2;
}
// Copied from: local:aiserver.v1.ListFullSelfDrivingRunsResponse (var: J)
message ListFullSelfDrivingRunsResponse {
repeated FullSelfDrivingRun runs = 1;
}
// Copied from: local:aiserver.v1.ListFullSelfDrivingTeamActiveAgentsRequest (var: og)
message ListFullSelfDrivingTeamActiveAgentsRequest {
int32 team_id = 1;
optional string search_query = 2;
optional int32 page = 3;
optional int32 page_size = 4;
optional bool archived = 5;
}
// Copied from: local:aiserver.v1.ListFullSelfDrivingTeamActiveAgentsResponse (var: ig)
message ListFullSelfDrivingTeamActiveAgentsResponse {
repeated FullSelfDrivingActiveAgent agents = 1;
int32 total_count = 2;
}
// Copied from: local:aiserver.v1.ListFullSelfDrivingTeamRepoSettingsRequest (var: Xf)
message ListFullSelfDrivingTeamRepoSettingsRequest {
int32 team_id = 1;
}
// Copied from: local:aiserver.v1.ListFullSelfDrivingTeamRepoSettingsResponse (var: Zf)
message ListFullSelfDrivingTeamRepoSettingsResponse {
repeated FullSelfDrivingTeamRepoSetting repos = 1;
}
// Copied from: local:aiserver.v1.ListGithubEnterpriseAppsRequest (var: nn)
message ListGithubEnterpriseAppsRequest {
optional int32 team_id = 1;
}
// Copied from: local:aiserver.v1.ListGithubEnterpriseAppsResponse (var: rn)
message ListGithubEnterpriseAppsResponse {
// Copied from: local:aiserver.v1.ListGithubEnterpriseAppsResponse.GithubEnterpriseApp (var: sn)
message GithubEnterpriseApp {
string uuid = 1;
string slug = 2;
string hostname = 3;
bool can_delete = 4;
}
repeated GithubEnterpriseApp apps = 1;
bool can_manage = 2;
}
// Copied from: local:aiserver.v1.ListGitlabEnterpriseInstancesRequest (var: mn)
message ListGitlabEnterpriseInstancesRequest {
optional int32 team_id = 1;
}
// Copied from: local:aiserver.v1.ListGitlabEnterpriseInstancesResponse (var: cn)
message ListGitlabEnterpriseInstancesResponse {
// Copied from: local:aiserver.v1.ListGitlabEnterpriseInstancesResponse.GitlabEnterpriseInstance (var: dn)
message GitlabEnterpriseInstance {
string uuid = 1;
string hostname = 2;
string username = 3;
bool can_delete = 4;
string host_controlled_webhook_url = 5;
string host_controlled_webhook_secret = 6;
bool host_controlled_service_account_token_configured = 7;
optional string external_host = 8;
}
repeated GitlabEnterpriseInstance instances = 1;
}
// Copied from: local:aiserver.v1.ListGrindModeComposersRequest (var: Hd)
message ListGrindModeComposersRequest {
int32 limit = 1;
}
// Copied from: local:aiserver.v1.ListGrindModeComposersResponse (var: Vd)
message ListGrindModeComposersResponse {
repeated BackgroundComposer composers = 1;
}
// Copied from: local:aiserver.v1.ListInvoiceCyclesRequest (var: Xi)
message ListInvoiceCyclesRequest {
optional int32 team_id = 1;
}
// Copied from: local:aiserver.v1.ListInvoiceCyclesResponse (var: $i)
message ListInvoiceCyclesResponse {
repeated InvoiceCycle cycles = 1;
}
// Copied from: local:aiserver.v1.ListInvoicesRequest (var: Hg)
message ListInvoicesRequest {
optional int32 team_id = 1;
optional int32 page = 2;
optional int32 page_size = 3;
optional string status = 4;
}
// Copied from: local:aiserver.v1.ListInvoicesResponse (var: Yg)
message ListInvoicesResponse {
repeated InvoiceInfo invoices = 1;
int32 total = 2;
int32 total_pages = 3;
optional bool has_more = 4;
}
// Copied from: local:aiserver.v1.ListJiraUserLinksRequest (var: Cv)
message ListJiraUserLinksRequest {
}
// Copied from: local:aiserver.v1.ListJiraUserLinksResponse (var: Nv)
message ListJiraUserLinksResponse {
repeated JiraUserLink links = 1;
}
// Copied from: local:aiserver.v1.ListMarketplacePluginsRequest (var: _E)
message ListMarketplacePluginsRequest {
optional string search = 1;
repeated string tags = 2;
optional int32 page_size = 3;
optional string page_token = 4;
optional int64 marketplace_id = 5;
optional int64 publisher_id = 6;
optional bool skip_team_admin_filter = 7;
optional bool exclude_cloud_agent_plugins = 8;
}
// Copied from: local:aiserver.v1.ListMarketplacePluginsResponse (var: TE)
message ListMarketplacePluginsResponse {
repeated Plugin plugins = 1;
optional string next_page_token = 2;
bool has_more = 3;
}
// Copied from: local:aiserver.v1.ListMarketplacesRequest (var: $S)
message ListMarketplacesRequest {
}
// Copied from: local:aiserver.v1.ListMarketplacesResponse (var: eI)
message ListMarketplacesResponse {
repeated Marketplace marketplaces = 1;
}
// Copied from: agent.v1.ListMcpResourcesError (var: J)
message ListMcpResourcesError {
string error = 1;
}
// Copied from: agent.v1.ListMcpResourcesExecArgs (var: S)
message ListMcpResourcesExecArgs {
optional string server = 1;
}
// Copied from: agent.v1.ListMcpResourcesExecResult (var: I)
message ListMcpResourcesExecResult {
// Copied from: agent.v1.ListMcpResourcesExecResult.McpResource (var: v)
message McpResource {
string uri = 1;
optional string name = 2;
optional string description = 3;
optional string mime_type = 4;
string server = 5;
map<string, string> annotations = 6;
}
oneof result {
ListMcpResourcesSuccess success = 1;
ListMcpResourcesError error = 2;
ListMcpResourcesRejected rejected = 3;
}
}
// Copied from: local:aiserver.v1.ListMcpResourcesParams (var: Pn)
message ListMcpResourcesParams {
optional string server = 1;
}
// Copied from: agent.v1.ListMcpResourcesRejected (var: C)
message ListMcpResourcesRejected {
string reason = 1;
}
// Copied from: local:aiserver.v1.ListMcpResourcesResult (var: bn)
message ListMcpResourcesResult {
// Copied from: local:aiserver.v1.ListMcpResourcesResult.MCPResource (var: Mn)
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;
}
repeated MCPResource resources = 1;
}
// Copied from: local:aiserver.v1.ListMcpResourcesStream (var: ms)
message ListMcpResourcesStream {
}
// Copied from: agent.v1.ListMcpResourcesSuccess (var: B)
message ListMcpResourcesSuccess {
repeated ListMcpResourcesExecResult.McpResource resources = 1;
}
// Copied from: local:aiserver.v1.ListMicrosoftTeamsChannelsRequest (var: Zw)
message ListMicrosoftTeamsChannelsRequest {
optional string search = 1;
}
// Copied from: local:aiserver.v1.ListMicrosoftTeamsChannelsResponse (var: $w)
message ListMicrosoftTeamsChannelsResponse {
repeated MicrosoftTeamsChannel channels = 1;
bool has_microsoft_teams_auth = 2;
}
// Copied from: local:aiserver.v1.ListNamedAgentSessionsRequest (var: Di)
message ListNamedAgentSessionsRequest {
string named_agent_id = 1;
optional int32 page_size = 2;
optional string page_token = 3;
}
// Copied from: local:aiserver.v1.ListNamedAgentSessionsResponse (var: Oi)
message ListNamedAgentSessionsResponse {
repeated NamedAgentSession sessions = 1;
optional string next_page_token = 2;
}
// Copied from: local:aiserver.v1.ListNamedAgentsRequest (var: Fi)
message ListNamedAgentsRequest {
}
// Copied from: local:aiserver.v1.ListNamedAgentsResponse (var: qi)
message ListNamedAgentsResponse {
repeated NamedAgent agents = 1;
}
// Copied from: local:aiserver.v1.ListOrganizationApiKeysRequest (var: Dl)
message ListOrganizationApiKeysRequest {
string organization_id = 1;
}
// Copied from: local:aiserver.v1.ListOrganizationApiKeysResponse (var: Ol)
message ListOrganizationApiKeysResponse {
repeated OrganizationApiKey api_keys = 1;
}
// Copied from: local:aiserver.v1.ListOrganizationGroupTargetMappingsRequest (var: sT)
message ListOrganizationGroupTargetMappingsRequest {
string organization_id = 1;
}
// Copied from: local:aiserver.v1.ListOrganizationGroupTargetMappingsResponse (var: oT)
message ListOrganizationGroupTargetMappingsResponse {
repeated ScimTargetMapping mappings = 1;
}
// Copied from: local:aiserver.v1.ListOrganizationIdentityProvidersRequest (var: pr)
message ListOrganizationIdentityProvidersRequest {
string organization_id = 1;
}
// Copied from: local:aiserver.v1.ListOrganizationIdentityProvidersResponse (var: fr)
message ListOrganizationIdentityProvidersResponse {
repeated OrganizationIdentityProvider providers = 1;
bool merge_enabled = 2;
bool scim_inside_identity_provider_enabled = 3;
}
// Copied from: local:aiserver.v1.ListOrganizationMergeIdpRequestsRequest (var: Jr)
message ListOrganizationMergeIdpRequestsRequest {
string organization_id = 1;
}
// Copied from: local:aiserver.v1.ListOrganizationMergeIdpRequestsResponse (var: Cr)
message ListOrganizationMergeIdpRequestsResponse {
repeated OrganizationMergeIdpRequestInfo requests = 1;
}
// Copied from: local:aiserver.v1.ListPendingFollowupsRequest (var: ll)
message ListPendingFollowupsRequest {
string bc_id = 1;
}
// Copied from: local:aiserver.v1.ListPendingFollowupsResponse (var: ml)
message ListPendingFollowupsResponse {
repeated PendingFollowup pending_followups = 1;
}
// Copied from: local:aiserver.v1.ListPendingPrivateWorkerRequestsRequest (var: Bp)
message ListPendingPrivateWorkerRequestsRequest {
int32 page_size = 1;
optional string page_token = 2;
optional string repository = 3;
}
// Copied from: local:aiserver.v1.ListPendingPrivateWorkerRequestsResponse (var: Jp)
message ListPendingPrivateWorkerRequestsResponse {
repeated PendingPrivateWorkerRequest requests = 1;
string next_page_token = 2;
int32 total_count = 3;
}
// Copied from: local:aiserver.v1.ListPersonalEnvironmentsRequest (var: pu)
message ListPersonalEnvironmentsRequest {
optional int32 limit = 1;
}
// Copied from: local:aiserver.v1.ListPersonalEnvironmentsResponse (var: gu)
message ListPersonalEnvironmentsResponse {
repeated PersonalEnvironment environments = 1;
}
// Copied from: local:aiserver.v1.ListPrivateWorkerPoolsRequest (var: Mp)
message ListPrivateWorkerPoolsRequest {
PrivateWorkerListScope list_scope = 1;
bool include_stale = 2;
}
// Copied from: local:aiserver.v1.ListPrivateWorkerPoolsResponse (var: Lp)
message ListPrivateWorkerPoolsResponse {
repeated PrivateWorkerPool pools = 1;
}
// Copied from: local:aiserver.v1.ListPrivateWorkersRequest (var: Ep)
message ListPrivateWorkersRequest {
PrivateWorkerStatusFilter status_filter = 1;
int32 page_size = 2;
optional string page_token = 3;
PrivateWorkerListScope list_scope = 4;
}
// Copied from: local:aiserver.v1.ListPrivateWorkersResponse (var: Sp)
message ListPrivateWorkersResponse {
repeated PrivateWorker workers = 1;
string next_page_token = 2;
int32 total_count = 3;
}
// Copied from: local:aiserver.v1.ListReposWithLocalEnvironmentRequest (var: km)
message ListReposWithLocalEnvironmentRequest {
}
// Copied from: local:aiserver.v1.ListReposWithLocalEnvironmentResponse (var: Em)
message ListReposWithLocalEnvironmentResponse {
repeated RepoWithLocalEnvironment repos = 1;
}
// Copied from: local:aiserver.v1.ListSandBankedResetsRequest (var: Nd)
message ListSandBankedResetsRequest {
}
// Copied from: local:aiserver.v1.ListSandBankedResetsResponse (var: Pd)
message ListSandBankedResetsResponse {
repeated SandBankedReset resets = 1;
}
// Copied from: local:aiserver.v1.ListSandMcpToolsRequest (var: jo)
message ListSandMcpToolsRequest {
repeated string server_identifiers = 1;
}
// Copied from: local:aiserver.v1.ListSandMcpToolsResponse (var: Xo)
message ListSandMcpToolsResponse {
// Copied from: local:aiserver.v1.ListSandMcpToolsResponse.Server (var: Zo)
message Server {
string server_identifier = 1;
string status = 2;
repeated McpToolDefinition tools = 3;
string account_label = 4;
string row_server_identifier = 5;
}
repeated Server servers = 1;
}
// Copied from: local:aiserver.v1.ListScimDirectoriesRequest (var: H_)
message ListScimDirectoriesRequest {
string organization_id = 1;
}
// Copied from: local:aiserver.v1.ListScimDirectoriesResponse (var: V_)
message ListScimDirectoriesResponse {
repeated ScimDirectory directories = 1;
bool multi_source_enabled = 2;
}
// Copied from: local:aiserver.v1.ListScimGroupsFromUpstreamRequest (var: $_)
message ListScimGroupsFromUpstreamRequest {
string organization_id = 1;
int64 scim_directory_id = 2;
}
// Copied from: local:aiserver.v1.ListScimGroupsFromUpstreamResponse (var: eT)
message ListScimGroupsFromUpstreamResponse {
repeated ScimUpstreamGroup groups = 1;
}
// Copied from: local:aiserver.v1.ListScimTargetMappingsRequest (var: nT)
message ListScimTargetMappingsRequest {
string organization_id = 1;
int64 scim_directory_id = 2;
}
// Copied from: local:aiserver.v1.ListScimTargetMappingsResponse (var: rT)
message ListScimTargetMappingsResponse {
repeated ScimTargetMapping mappings = 1;
}
// Copied from: local:aiserver.v1.ListSharedAgentStoresRequest (var: ag)
message ListSharedAgentStoresRequest {
int32 limit = 1;
optional double created_before_ms = 2;
optional int32 owning_user_id = 3;
optional string search_query = 4;
optional ListSharedAgentStoresScope scope = 5;
optional string created_before_share_id = 6;
}
// Copied from: local:aiserver.v1.ListSharedAgentStoresResponse (var: ug)
message ListSharedAgentStoresResponse {
repeated SharedAgentStoreListing listings = 1;
bool has_more = 2;
optional double next_created_before_ms = 3;
optional string next_created_before_share_id = 4;
}
// Copied from: local:aiserver.v1.ListSharedAgentStoresScope (var: Dr)
enum ListSharedAgentStoresScope {
LIST_SHARED_AGENT_STORES_SCOPE_UNSPECIFIED = 0;
LIST_SHARED_AGENT_STORES_SCOPE_MINE = 1;
LIST_SHARED_AGENT_STORES_SCOPE_TEAM = 2;
}
// Copied from: local:aiserver.v1.ListSharedBackgroundComposerArtifactsRequest (var: Wm)
message ListSharedBackgroundComposerArtifactsRequest {
string bc_id = 1;
}
// Copied from: local:aiserver.v1.ListSharedBackgroundComposerArtifactsResponse (var: zm)
message ListSharedBackgroundComposerArtifactsResponse {
repeated BackgroundComposerSharedArtifact artifacts = 1;
}
// Copied from: local:aiserver.v1.ListSharedCanvasesRequest (var: Yk)
message ListSharedCanvasesRequest {
optional uint32 limit = 1;
optional string created_before = 2;
optional string creator_id = 3;
optional string team_id = 4;
}
// Copied from: local:aiserver.v1.ListSharedCanvasesResponse (var: Kk)
message ListSharedCanvasesResponse {
repeated SharedCanvasMetadata canvases = 1;
bool has_more = 2;
}
// Copied from: local:aiserver.v1.ListSharedConversationsRequest (var: nw)
message ListSharedConversationsRequest {
optional SharedConversationVisibility visibility = 1;
optional int32 creator_id = 2;
optional string created_before = 3;
repeated SharedConversationVisibility visibilities = 4;
optional int32 team_id = 5;
}
// Copied from: local:aiserver.v1.ListSharedConversationsResponse (var: rw)
message ListSharedConversationsResponse {
repeated SharedConversationMetadata shares = 1;
bool has_more = 2;
}
// Copied from: local:aiserver.v1.ListSlackConversationsRequest (var: jw)
message ListSlackConversationsRequest {
optional string search = 1;
optional bool include_private = 2;
optional bool skip_cache = 3;
optional bool allow_partial = 4;
}
// Copied from: local:aiserver.v1.ListSlackConversationsResponse (var: Xw)
message ListSlackConversationsResponse {
repeated SlackConversation conversations = 1;
bool has_slack_auth = 2;
bool is_partial = 3;
}
// Copied from: local:aiserver.v1.ListTeamApiKeysRequest (var: Rl)
message ListTeamApiKeysRequest {
int32 team_id = 1;
}
// Copied from: local:aiserver.v1.ListTeamApiKeysResponse (var: Pl)
message ListTeamApiKeysResponse {
repeated ApiKey api_keys = 1;
}
// Copied from: local:aiserver.v1.ListTeamAvailableMarketplacePluginsRequest (var: LS)
message ListTeamAvailableMarketplacePluginsRequest {
int32 team_id = 1;
optional string search = 2;
optional int32 page_size = 3;
optional string page_token = 4;
optional bool sort_by_team_popularity = 5;
optional int32 offset = 6;
}
// Copied from: local:aiserver.v1.ListTeamAvailableMarketplacePluginsResponse (var: FS)
message ListTeamAvailableMarketplacePluginsResponse {
repeated Plugin plugins = 1;
optional string next_page_token = 2;
bool has_more = 3;
optional int32 total_count = 4;
}
// Copied from: local:aiserver.v1.ListTeamEnvironmentsRequest (var: wu)
message ListTeamEnvironmentsRequest {
optional int32 limit = 1;
}
// Copied from: local:aiserver.v1.ListTeamEnvironmentsResponse (var: Su)
message ListTeamEnvironmentsResponse {
repeated TeamEnvironment environments = 1;
}
// Copied from: local:aiserver.v1.ListTeamInviteLinksRequest (var: Lg)
message ListTeamInviteLinksRequest {
int32 team_id = 1;
}
// Copied from: local:aiserver.v1.ListTeamInviteLinksResponse (var: qg)
message ListTeamInviteLinksResponse {
repeated InviteLinkInfo invite_links = 1;
}
// Copied from: local:aiserver.v1.ListTeamPluginInstallsRequest (var: BS)
message ListTeamPluginInstallsRequest {
int32 team_id = 1;
optional bool use_replica = 2;
}
// Copied from: local:aiserver.v1.ListTeamPluginInstallsResponse (var: JS)
message ListTeamPluginInstallsResponse {
repeated TeamPluginInstall installs = 1;
}
// Copied from: local:aiserver.v1.ListTeamServiceAccountsRequest (var: Ql)
message ListTeamServiceAccountsRequest {
int32 team_id = 1;
optional bool include_archived = 2;
}
// Copied from: local:aiserver.v1.ListTeamServiceAccountsResponse (var: Gl)
message ListTeamServiceAccountsResponse {
repeated ServiceAccountInfo service_accounts = 1;
}
// Copied from: local:aiserver.v1.ListUsageAlertsRequest (var: Ow)
message ListUsageAlertsRequest {
int32 team_id = 1;
}
// Copied from: local:aiserver.v1.ListUsageAlertsResponse (var: Uw)
message ListUsageAlertsResponse {
repeated UsageAlert alerts = 1;
}
// Copied from: local:aiserver.v1.ListUserApiKeysRequest (var: au)
message ListUserApiKeysRequest {
}
// Copied from: local:aiserver.v1.ListUserApiKeysResponse (var: lu)
message ListUserApiKeysResponse {
repeated ApiKey api_keys = 1;
}
// Copied from: local:aiserver.v1.ListUserPluginInstallsRequest (var: TS)
message ListUserPluginInstallsRequest {
optional bool use_replica = 1;
}
// Copied from: local:aiserver.v1.ListUserPluginInstallsResponse (var: yS)
message ListUserPluginInstallsResponse {
repeated UserPluginInstall installs = 1;
}
// Copied from: local:aiserver.v1.ListWorkspaceFilesRequest (var: Wl)
message ListWorkspaceFilesRequest {
string bc_id = 1;
}
// Copied from: local:aiserver.v1.ListWorkspaceFilesResponse (var: zl)
message ListWorkspaceFilesResponse {
repeated string relative_paths = 1;
}
// Copied from: local:aiserver.v1.ListenExperimentalIndexRequest (var: m)
message ListenExperimentalIndexRequest {
string index_id = 1;
}
// Copied from: local:aiserver.v1.ListenExperimentalIndexResponse (var: c)
message ListenExperimentalIndexResponse {
// Copied from: local:aiserver.v1.ListenExperimentalIndexResponse.ChooseItem (var: f)
message ChooseItem {
ChooseCodeReferencesResponse response = 1;
ChooseCodeReferencesRequest request = 2;
string req_uuid = 3;
}
// Copied from: local:aiserver.v1.ListenExperimentalIndexResponse.ErrorItem (var: h)
message ErrorItem {
string message = 1;
int32 status_code = 2;
string req_uuid = 6;
oneof request {
RegisterFileToIndexRequest register = 3;
ChooseCodeReferencesRequest choose = 4;
SummarizeWithReferencesRequest summarize = 5;
}
}
// Copied from: local:aiserver.v1.ListenExperimentalIndexResponse.ReadyItem (var: d)
message ReadyItem {
string index_id = 1;
ListenExperimentalIndexRequest request = 2;
}
// Copied from: local:aiserver.v1.ListenExperimentalIndexResponse.RegisterItem (var: p)
message RegisterItem {
RegisterFileToIndexResponse response = 1;
RegisterFileToIndexRequest request = 2;
string req_uuid = 3;
}
// Copied from: local:aiserver.v1.ListenExperimentalIndexResponse.SummarizeItem (var: g)
message SummarizeItem {
SummarizeWithReferencesResponse response = 1;
SummarizeWithReferencesRequest request = 2;
string req_uuid = 3;
}
string index_id = 1;
oneof item {
ReadyItem ready = 2;
RegisterItem register = 3;
ChooseItem choose = 4;
SummarizeItem summarize = 5;
ErrorItem error = 6;
}
}
// Copied from: local:aiserver.v1.LiveActivityAgentEntry (var: od)
message LiveActivityAgentEntry {
string bc_id = 1;
string title = 2;
BackgroundComposerStatus status = 3;
int64 started_at_epoch_seconds = 4;
optional string repo_label = 5;
optional string branch_name = 6;
optional int64 finished_at_epoch_seconds = 7;
optional string result_type = 8;
optional int32 lines_added = 9;
optional int32 lines_removed = 10;
optional int32 changed_files = 11;
}
// Copied from: local:aiserver.v1.LiveActivityContentState (var: id)
message LiveActivityContentState {
repeated LiveActivityAgentEntry agents = 1;
}
// Copied from: local:aiserver.v1.LlmGatewayRoutedModelEntry (var: Vc)
message LlmGatewayRoutedModelEntry {
bool enabled = 1;
}
// Copied from: local:aiserver.v1.LlmGatewayRouting (var: Gc)
message LlmGatewayRouting {
map<string, LlmGatewayRoutingProviderEntry> providers = 1;
}
// Copied from: local:aiserver.v1.LlmGatewayRoutingProviderEntry (var: Hc)
message LlmGatewayRoutingProviderEntry {
bool enabled = 1;
map<string, LlmGatewayRoutedModelEntry> models = 2;
}
// Copied from: local:aiserver.v1.LlmGatewaySettings (var: Qc)
message LlmGatewaySettings {
bool enabled = 1;
map<string, string> endpoints = 2;
string audience = 3;
LlmGatewayRouting routing = 4;
bool can_enable = 5;
}
// Copied from: local:aiserver.v1.LocalCodebaseFileInfo (var: W)
message LocalCodebaseFileInfo {
string encrypted_relative_path = 1;
string hash = 2;
repeated LocalCodebaseFileInfo children = 3;
optional string separator = 4;
}
// Copied from: local:aiserver.v1.LogClickedConnectSlackRequest (var: WA)
message LogClickedConnectSlackRequest {
// Copied from: local:aiserver.v1.LogClickedConnectSlackRequest.Origin (var: Ht)
enum Origin {
ORIGIN_UNSPECIFIED = 0;
ORIGIN_APP = 1;
ORIGIN_WEBSITE = 2;
ORIGIN_SLACK = 3;
ORIGIN_PUBLIC_URL = 4;
}
Origin origin = 1;
bool skip_setup_flow = 2;
}
// Copied from: local:aiserver.v1.LogClickedConnectSlackResponse (var: zA)
message LogClickedConnectSlackResponse {
}
// Copied from: local:aiserver.v1.LogDeeplinkEventRequest (var: A)
message LogDeeplinkEventRequest {
int32 user_id = 1;
string bug_id = 2;
optional int64 comment_id = 3;
BugbotDeeplinkEventKind event = 4;
}
// Copied from: local:aiserver.v1.LogDeeplinkEventResponse (var: _)
message LogDeeplinkEventResponse {
bool success = 1;
}
// Copied from: local:aiserver.v1.LogFile (var: Sa)
message LogFile {
string relative_path_to_cursor_folder = 1;
string contents = 2;
}
// Copied from: local:aiserver.v1.LogLinterExplicitUserFeedbackRequest (var: uo)
message LogLinterExplicitUserFeedbackRequest {
// Copied from: local:aiserver.v1.LogLinterExplicitUserFeedbackRequest.LinterUserFeedback (var: ye)
enum LinterUserFeedback {
LINTER_USER_FEEDBACK_UNSPECIFIED = 0;
LINTER_USER_FEEDBACK_CORRECT = 1;
LINTER_USER_FEEDBACK_INCORRECT = 2;
LINTER_USER_FEEDBACK_OTHER = 3;
}
AiLintBug bug = 1;
LinterUserFeedback user_feedback = 3;
string user_feedback_details = 4;
}
// Copied from: local:aiserver.v1.LogLinterExplicitUserFeedbackResponse (var: mo)
message LogLinterExplicitUserFeedbackResponse {
}
// Copied from: local:aiserver.v1.LogSlackbotAuthConversionFunnelRequest (var: YA)
message LogSlackbotAuthConversionFunnelRequest {
map<string, bool> checkpoints = 1;
optional PrivacyMode privacy_mode = 2;
bool is_team_admin = 3;
bool is_loading = 4;
bool is_privacy_mode_loading = 5;
bool is_github_loading = 6;
bool is_usage_pricing_loading = 7;
bool triggered_by_github_connect = 8;
optional string scm_provider = 9;
}
// Copied from: local:aiserver.v1.LogSlackbotAuthConversionFunnelResponse (var: KA)
message LogSlackbotAuthConversionFunnelResponse {
}
// Copied from: local:aiserver.v1.LogUserLintReplyRequest (var: ao)
message LogUserLintReplyRequest {
string uuid = 1;
string user_action = 2;
bool debug_mode = 3;
}
// Copied from: local:aiserver.v1.LogUserLintReplyResponse (var: lo)
message LogUserLintReplyResponse {
}
// Copied from: local:aiserver.v1.LogicalEnvironment (var: vu)
message LogicalEnvironment {
int64 id = 1;
string public_id = 2;
string name = 3;
LogicalEnvironmentScope scope = 4;
optional int32 owning_team = 5;
optional int32 owning_user = 6;
optional EnvironmentRepoConfig repo_config = 7;
int64 created_at_ms = 8;
int64 updated_at_ms = 9;
optional string environment_json = 10;
optional string latest_environment_version_public_id = 11;
}
// Copied from: local:aiserver.v1.LogicalEnvironmentScope (var: lr)
enum LogicalEnvironmentScope {
LOGICAL_ENVIRONMENT_SCOPE_UNSPECIFIED = 0;
LOGICAL_ENVIRONMENT_SCOPE_PERSONAL = 1;
LOGICAL_ENVIRONMENT_SCOPE_TEAM = 2;
LOGICAL_ENVIRONMENT_SCOPE_REPOSITORY = 3;
}
// Copied from: local:aiserver.v1.LoginRequest (var: lt)
message LoginRequest {
}
// Copied from: local:aiserver.v1.LoginResponse (var: ut)
message LoginResponse {
string login_url = 1;
}
// Copied from: local:aiserver.v1.LogoutRequest (var: Ye)
message LogoutRequest {
}
// Copied from: local:aiserver.v1.LogoutResponse (var: Ke)
message LogoutResponse {
// Copied from: local:aiserver.v1.LogoutResponse.Status (var: S)
enum Status {
STATUS_UNSPECIFIED = 0;
STATUS_SUCCESS = 1;
STATUS_FAILURE = 2;
STATUS_NOT_LOGGED_IN = 3;
}
Status status = 1;
}
// Copied from: local:aiserver.v1.LogprobsLintPayload (var: O)
message LogprobsLintPayload {
string chunk = 1;
string problematic_line = 2;
int32 start_col = 3;
int32 end_col = 4;
string most_likely_replace = 5;
int32 line_chunk_index_zero_based = 6;
}
// Copied from: local:aiserver.v1.LookupSharedCanvasByKeyRequest (var: jk)
message LookupSharedCanvasByKeyRequest {
string canvas_key = 1;
}
// Copied from: local:aiserver.v1.LookupSharedCanvasByKeyResponse (var: Xk)
message LookupSharedCanvasByKeyResponse {
optional string share_id = 1;
optional SharedCanvasVisibility visibility = 2;
optional string share_url = 3;
optional string updated_at = 4;
}
// Copied from: agent.v1.LsArgs (var: o)
message LsArgs {
string path = 1;
repeated string ignore = 2;
string tool_call_id = 3;
optional SandboxPolicy sandbox_policy = 4;
optional uint32 timeout_ms = 5;
}
// Copied from: agent.v1.LsDirectoryTreeNode (var: l)
message LsDirectoryTreeNode {
// Copied from: agent.v1.LsDirectoryTreeNode.File (var: u)
message File {
string name = 1;
optional TerminalMetadata terminal_metadata = 2;
}
string abs_path = 1;
repeated LsDirectoryTreeNode children_dirs = 2;
repeated File children_files = 3;
bool children_were_processed = 4;
map<string, int32> full_subtree_extension_counts = 5;
int32 num_files = 6;
}
// Copied from: agent.v1.LsError (var: m)
message LsError {
string path = 1;
string error = 2;
}
// Copied from: agent.v1.LsRejected (var: c)
message LsRejected {
string path = 1;
string reason = 2;
}
// Copied from: agent.v1.LsResult (var: i)
message LsResult {
oneof result {
LsSuccess success = 1;
LsError error = 2;
LsRejected rejected = 3;
LsTimeout timeout = 4;
}
}
// Copied from: agent.v1.LsSuccess (var: a)
message LsSuccess {
LsDirectoryTreeNode directory_tree_root = 1;
}
// Copied from: agent.v1.LsTimeout (var: d)
message LsTimeout {
LsDirectoryTreeNode directory_tree_root = 1;
}
// Copied from: local:aiserver.v1.LspSubgraphContextItem (var: i)
message LspSubgraphContextItem {
optional string uri = 1;
string type = 2;
string content = 3;
optional LspSubgraphRange range = 4;
}
// Copied from: local:aiserver.v1.LspSubgraphFullContext (var: a)
message LspSubgraphFullContext {
string uri = 1;
string symbol_name = 2;
repeated LspSubgraphPosition positions = 3;
repeated LspSubgraphContextItem context_items = 4;
float score = 5;
}
// Copied from: local:aiserver.v1.LspSubgraphPosition (var: s)
message LspSubgraphPosition {
int32 line = 1;
int32 character = 2;
}
// Copied from: local:aiserver.v1.LspSubgraphRange (var: o)
message LspSubgraphRange {
int32 start_line = 1;
int32 start_character = 2;
int32 end_line = 3;
int32 end_character = 4;
}
// Copied from: local:aiserver.v1.LspSuggestedItems (var: J)
message LspSuggestedItems {
repeated LspSuggestion suggestions = 1;
}
// Copied from: local:aiserver.v1.LspSuggestion (var: B)
message LspSuggestion {
string label = 1;
}
// Copied from: local:aiserver.v1.LspSuggestionEvent (var: Pt)
message LspSuggestionEvent {
repeated string suggestions = 1;
optional string request_id = 2;
optional string editor_id = 3;
PointInTimeModel point_in_time_model = 4;
}
// Copied from: local:aiserver.v1.MCPControls (var: cc)
message MCPControls {
bool enabled = 1;
repeated string allowed_tools = 2;
}
// Copied from: local:aiserver.v1.MCPInstructions (var: ue)
message MCPInstructions {
string server_name = 1;
string server_identifier = 2;
string instructions = 3;
}
// Copied from: local:aiserver.v1.MCPKnownServerInfo (var: a)
message MCPKnownServerInfo {
string name = 1;
string description = 2;
string icon = 3;
string endpoint = 4;
bool is_featured = 5;
}
// Copied from: local:aiserver.v1.MCPParams (var: Bn)
message MCPParams {
// Copied from: local:aiserver.v1.MCPParams.Tool (var: Jn)
message Tool {
string name = 1;
string description = 2;
string parameters = 3;
string server_name = 4;
optional MCPParams.TranscriptDisplay transcript_display = 5;
}
// Copied from: local:aiserver.v1.MCPParams.TranscriptDisplay (var: Cn)
message TranscriptDisplay {
string loading = 1;
string success = 2;
string error = 3;
}
repeated Tool tools = 1;
optional int64 file_output_threshold_bytes = 2;
}
// Copied from: local:aiserver.v1.MCPResult (var: Nn)
message MCPResult {
string selected_tool = 1;
string result = 2;
}
// Copied from: local:aiserver.v1.MCPServerRegistration (var: l)
message MCPServerRegistration {
repeated string domains = 1;
MCPKnownServerInfo info = 2;
}
// Copied from: local:aiserver.v1.MCPStream (var: Rn)
message MCPStream {
repeated MCPParams.Tool tools = 1;
}
// Copied from: local:aiserver.v1.MachineReference (var: Yl)
message MachineReference {
oneof reference {
PodReference pod = 1;
WorkerReference worker = 2;
}
}
// Copied from: local:aiserver.v1.MakeGithubRequestRequest (var: $l)
message MakeGithubRequestRequest {
string method = 1;
string path = 2;
optional string body_json = 3;
string github_user_token = 4;
string caller = 5;
optional string host = 6;
optional string path_template = 7;
optional string accept_header = 8;
}
// Copied from: local:aiserver.v1.MakeGithubRequestResponse (var: eu)
message MakeGithubRequestResponse {
int32 status = 1;
string status_text = 4;
map<string, string> headers = 2;
string body = 3;
}
// Copied from: local:aiserver.v1.MakePRBackgroundComposerRequest (var: vi)
message MakePRBackgroundComposerRequest {
string bc_id = 1;
optional string workflow_id = 2;
optional string branch_name = 3;
}
// Copied from: local:aiserver.v1.MakePRBackgroundComposerResponse (var: Bi)
message MakePRBackgroundComposerResponse {
string pr_url = 1;
string branch_name = 2;
bool has_commits = 3;
optional string owner = 4;
optional string repo = 5;
}
// Copied from: local:aiserver.v1.ManagedSkill (var: KI)
message ManagedSkill {
string id = 1;
string description = 2;
string content = 3;
bool disable_model_invocation = 4;
repeated string environments = 5;
repeated string disabled_environments = 6;
optional bool enabled = 7;
optional CustomModeDescriptor custom_mode = 8;
}
// Copied from: local:aiserver.v1.MarkAsPublicRequest (var: _)
message MarkAsPublicRequest {
string doc_identifier = 1;
string password = 2;
string doc_name = 3;
}
// Copied from: local:aiserver.v1.MarkBackgroundComposerReadRequest (var: Sm)
message MarkBackgroundComposerReadRequest {
string bc_id = 1;
}
// Copied from: local:aiserver.v1.MarkBackgroundComposerReadResponse (var: Im)
message MarkBackgroundComposerReadResponse {
}
// Copied from: local:aiserver.v1.MarkBackgroundComposerUnreadRequest (var: vm)
message MarkBackgroundComposerUnreadRequest {
string bc_id = 1;
}
// Copied from: local:aiserver.v1.MarkBackgroundComposerUnreadResponse (var: Bm)
message MarkBackgroundComposerUnreadResponse {
}
// Copied from: local:aiserver.v1.MarkCppRequest (var: ae)
message MarkCppRequest {
// Copied from: local:aiserver.v1.MarkCppRequest.CppResponseTypes (var: a)
enum CppResponseTypes {
CPP_RESPONSE_TYPES_UNSPECIFIED = 0;
CPP_RESPONSE_TYPES_GOOD = 1;
CPP_RESPONSE_TYPES_BAD = 2;
CPP_RESPONSE_TYPES_BAD_CONTEXT = 3;
CPP_RESPONSE_TYPES_BAD_REASONING = 4;
CPP_RESPONSE_TYPES_BAD_STUPID_MISTAKE = 5;
CPP_RESPONSE_TYPES_BAD_FORMATTING = 6;
CPP_RESPONSE_TYPES_BAD_RANGE = 7;
CPP_RESPONSE_TYPES_GOOD_PREDICTION = 8;
CPP_RESPONSE_TYPES_BAD_FALSE_POSITIVE_TRIGGER = 9;
CPP_RESPONSE_TYPES_BAD_FALSE_NEGATIVE_TRIGGER = 10;
}
// Copied from: local:aiserver.v1.MarkCppRequest.RangeTransformation (var: le)
message RangeTransformation {
int32 start_line_number = 1;
int32 end_line_number = 2;
}
string request_id = 1;
string session_id = 2;
CppResponseTypes response_type = 3;
optional string desired_completion = 4;
RangeTransformation range_transformation = 5;
string model_code_name = 10;
string model_openai_name = 11;
double current_performance_now_time = 12;
double session_performance_origin_time = 13;
}
// Copied from: local:aiserver.v1.MarkCppResponse (var: me)
message MarkCppResponse {
}
// Copied from: local:aiserver.v1.MarkFollowupEditingRequest (var: Tl)
message MarkFollowupEditingRequest {
string bc_id = 1;
string followup_id = 2;
optional bool editing = 3;
}
// Copied from: local:aiserver.v1.MarkFollowupEditingResponse (var: yl)
message MarkFollowupEditingResponse {
bool success = 1;
string error_message = 2;
}
// Copied from: local:aiserver.v1.MarkMcpServersSeenRequest (var: Go)
message MarkMcpServersSeenRequest {
repeated int32 server_ids = 1;
}
// Copied from: local:aiserver.v1.MarkMcpServersSeenResponse (var: Ho)
message MarkMcpServersSeenResponse {
}
// Copied from: local:aiserver.v1.Marketplace (var: lE)
message Marketplace {
int64 id = 1;
string name = 2;
optional string display_name = 3;
optional string description = 4;
string git_url = 5;
optional string git_ref = 6;
optional int32 user_id = 7;
optional int32 team_id = 8;
optional string logo_url = 9;
int64 created_at = 10;
int64 updated_at = 11;
optional int64 last_indexed_at = 12;
optional string last_indexed_commit_sha = 13;
optional TeamMarketplaceConfig team_config = 14;
repeated MarketplaceRequiredPluginInstall required_plugin_installs = 15;
bool auto_reindex = 16;
optional string distribution_git_url = 17;
bool is_default = 18;
bool allow_user_publish = 19;
}
// Copied from: local:aiserver.v1.MarketplaceAccessGrant (var: AI)
message MarketplaceAccessGrant {
MarketplaceAccessPrincipalKind principal_kind = 1;
string principal_id = 2;
}
// Copied from: local:aiserver.v1.MarketplaceAccessPrincipalKind (var: Et)
enum MarketplaceAccessPrincipalKind {
MARKETPLACE_ACCESS_PRINCIPAL_KIND_UNSPECIFIED = 0;
MARKETPLACE_ACCESS_PRINCIPAL_KIND_USER = 1;
MARKETPLACE_ACCESS_PRINCIPAL_KIND_TEAM_MEMBER_GROUP = 2;
MARKETPLACE_ACCESS_PRINCIPAL_KIND_TEAM_ADMIN_GROUP = 3;
MARKETPLACE_ACCESS_PRINCIPAL_KIND_GROUP = 4;
}
// Copied from: local:aiserver.v1.MarketplaceRequiredPluginInstall (var: aE)
message MarketplaceRequiredPluginInstall {
int64 plugin_id = 1;
repeated int64 directory_group_ids = 2;
}
// Copied from: local:aiserver.v1.MatchRange (var: Et)
message MatchRange {
int32 start = 1;
int32 end = 2;
}
// Copied from: agent.v1.MatchedInstalledPlugin (var: U)
message MatchedInstalledPlugin {
string display_name = 1;
string description = 2;
string matched_keyword = 3;
repeated RecentlyAddedPlugin.CapabilityDescriptor skills = 4;
repeated RecentlyAddedPlugin.CapabilityDescriptor subagents = 5;
repeated RecentlyAddedPlugin.CapabilityDescriptor hooks = 6;
repeated RecentlyAddedPlugin.CapabilityDescriptor rules = 7;
repeated RecentlyAddedPlugin.CapabilityDescriptor commands = 8;
repeated string mcp_servers = 9;
}
// Copied from: local:aiserver.v1.MaybeDefinedPointInTimeModel (var: Je)
message MaybeDefinedPointInTimeModel {
optional string model_uuid = 1;
int32 model_version = 2;
string relative_path = 3;
string model_id = 4;
}
// Copied from: agent.v1.McpAllowlistPrecheckArgs (var: ee)
message McpAllowlistPrecheckArgs {
string provider_identifier = 1;
string tool_name = 2;
optional string tool_call_id = 3;
}
// Copied from: agent.v1.McpAllowlistPrecheckResult (var: te)
message McpAllowlistPrecheckResult {
bool allowlisted = 1;
}
// Copied from: agent.v1.McpApproved (var: l)
message McpApproved {
}
// Copied from: agent.v1.McpArgs (var: i)
message McpArgs {
string name = 1;
map<string, google.protobuf.Value> args = 2;
string tool_call_id = 3;
string provider_identifier = 4;
string tool_name = 5;
optional SmartModeApproval smart_mode_approval = 6;
bool smart_mode_approval_only = 7;
bool skip_approval = 8;
string server_identifier = 9;
}
// Copied from: agent.v1.McpAuthArgs (var: an)
message McpAuthArgs {
string server_identifier = 1;
string tool_call_id = 2;
}
// Copied from: local:aiserver.v1.McpAuthParams (var: Ks)
message McpAuthParams {
string server_identifier = 1;
}
// Copied from: agent.v1.McpAuthRequestQuery (var: pn)
message McpAuthRequestQuery {
McpAuthArgs args = 1;
}
// Copied from: agent.v1.McpAuthRequestResponse (var: fn)
message McpAuthRequestResponse {
// Copied from: agent.v1.McpAuthRequestResponse.Approved (var: gn)
message Approved {
}
// Copied from: agent.v1.McpAuthRequestResponse.Rejected (var: hn)
message Rejected {
string reason = 1;
}
oneof result {
Approved approved = 1;
Rejected rejected = 2;
}
}
// Copied from: local:aiserver.v1.McpAuthResult (var: Ws)
message McpAuthResult {
bool success = 1;
string message = 2;
}
// Copied from: local:aiserver.v1.McpAuthStream (var: zs)
message McpAuthStream {
}
// Copied from: local:aiserver.v1.McpDescriptor (var: pE)
message McpDescriptor {
string name = 1;
optional string description = 2;
optional string source_path = 3;
optional string source_url = 4;
}
// Copied from: agent.v1.McpError (var: g)
message McpError {
string error = 1;
}
// Copied from: agent.v1.McpFileSystemOptions (var: u)
message McpFileSystemOptions {
bool enabled = 1;
string workspace_project_dir = 2;
repeated McpDescriptor mcp_descriptors = 3;
}
// Copied from: agent.v1.McpImageContent (var: d)
message McpImageContent {
bytes data = 1;
string mime_type = 2;
}
// Copied from: agent.v1.McpInstructions (var: i)
message McpInstructions {
string server_name = 1;
string instructions = 2;
string server_identifier = 3;
}
// Copied from: agent.v1.McpMetaToolOptions (var: m)
message McpMetaToolOptions {
bool enabled = 1;
repeated McpDescriptor mcp_descriptors = 2;
}
// Copied from: local:aiserver.v1.McpOAuthRefreshLockBeginOutcome (var: me)
enum McpOAuthRefreshLockBeginOutcome {
MCP_O_AUTH_REFRESH_LOCK_BEGIN_OUTCOME_UNSPECIFIED = 0;
MCP_O_AUTH_REFRESH_LOCK_BEGIN_OUTCOME_SKIPPED = 1;
MCP_O_AUTH_REFRESH_LOCK_BEGIN_OUTCOME_WOULD_ACQUIRE = 2;
MCP_O_AUTH_REFRESH_LOCK_BEGIN_OUTCOME_WOULD_WAIT = 3;
MCP_O_AUTH_REFRESH_LOCK_BEGIN_OUTCOME_REDIS_ERROR = 4;
}
// Copied from: local:aiserver.v1.McpOAuthRefreshLockBeginRequest (var: mi)
message McpOAuthRefreshLockBeginRequest {
string server_url = 1;
McpOAuthRefreshLockExecutorKind executor_kind = 2;
string executor_id = 3;
optional int64 observed_updated_at_ms = 4;
optional string service_account_id = 5;
string account_key = 6;
}
// Copied from: local:aiserver.v1.McpOAuthRefreshLockBeginResponse (var: ci)
message McpOAuthRefreshLockBeginResponse {
McpOAuthRefreshLockBeginOutcome outcome = 1;
optional string lease_handle = 2;
bool should_enforce = 3;
}
// Copied from: local:aiserver.v1.McpOAuthRefreshLockExecutorKind (var: ue)
enum McpOAuthRefreshLockExecutorKind {
MCP_O_AUTH_REFRESH_LOCK_EXECUTOR_KIND_UNSPECIFIED = 0;
MCP_O_AUTH_REFRESH_LOCK_EXECUTOR_KIND_LOCAL_IDE = 1;
MCP_O_AUTH_REFRESH_LOCK_EXECUTOR_KIND_REMOTE_EXTENSION_HOST = 2;
}
// Copied from: local:aiserver.v1.McpOAuthRefreshLockReleaseReason (var: ce)
enum McpOAuthRefreshLockReleaseReason {
MCP_O_AUTH_REFRESH_LOCK_RELEASE_REASON_UNSPECIFIED = 0;
MCP_O_AUTH_REFRESH_LOCK_RELEASE_REASON_COMPLETE = 1;
MCP_O_AUTH_REFRESH_LOCK_RELEASE_REASON_ERROR = 2;
MCP_O_AUTH_REFRESH_LOCK_RELEASE_REASON_ABANDONED = 3;
}
// Copied from: local:aiserver.v1.McpOAuthRefreshLockReleaseRequest (var: di)
message McpOAuthRefreshLockReleaseRequest {
string lease_handle = 1;
McpOAuthRefreshLockReleaseReason reason = 2;
}
// Copied from: local:aiserver.v1.McpOAuthRefreshLockReleaseResponse (var: pi)
message McpOAuthRefreshLockReleaseResponse {
}
// Copied from: local:aiserver.v1.McpOAuthStoredClientInfo (var: i)
message McpOAuthStoredClientInfo {
string client_id = 1;
optional string client_secret = 2;
repeated string redirect_uris = 3;
}
// Copied from: local:aiserver.v1.McpOAuthStoredData (var: o)
message McpOAuthStoredData {
optional string refresh_token = 1;
string client_id = 2;
optional string client_secret = 3;
repeated string redirect_uris = 4;
optional string access_token = 5;
}
// Copied from: agent.v1.McpPermissionDenied (var: A)
message McpPermissionDenied {
string error = 1;
bool is_readonly = 2;
}
// Copied from: agent.v1.McpRejected (var: h)
message McpRejected {
string reason = 1;
bool is_readonly = 2;
}
// Copied from: agent.v1.McpResult (var: a)
message McpResult {
oneof result {
McpSuccess success = 1;
McpError error = 2;
McpRejected rejected = 3;
McpPermissionDenied permission_denied = 4;
McpToolNotFound tool_not_found = 5;
McpServerNotFound server_not_found = 6;
McpApproved approved = 7;
}
}
// Copied from: local:aiserver.v1.McpServerMetadata (var: So)
message McpServerMetadata {
optional int64 plugin_id = 1;
int64 server_id = 2;
}
// Copied from: agent.v1.McpServerNotFound (var: m)
message McpServerNotFound {
string name = 1;
repeated string available_servers = 2;
}
// Copied from: local:aiserver.v1.McpServerUsageSummary (var: bo)
message McpServerUsageSummary {
int64 server_id = 1;
int32 enabled_user_count = 2;
int32 automation_count = 3;
}
// Copied from: agent.v1.McpStateError (var: w)
message McpStateError {
string error = 1;
}
// Copied from: agent.v1.McpStateExecArgs (var: _)
message McpStateExecArgs {
repeated string server_identifiers = 1;
bool kick_only = 2;
}
// Copied from: agent.v1.McpStateExecResult (var: T)
message McpStateExecResult {
oneof result {
McpStateSuccess success = 1;
McpStateError error = 2;
McpStateRejected rejected = 3;
}
}
// Copied from: agent.v1.McpStateRejected (var: E)
message McpStateRejected {
string reason = 1;
}
// Copied from: agent.v1.McpStateServer (var: y)
message McpStateServer {
string server_name = 1;
string server_identifier = 2;
optional string plugin = 3;
optional string marketplace = 4;
repeated McpToolDefinition tools = 5;
repeated McpInstructions instructions = 6;
optional string status = 7;
}
// Copied from: agent.v1.McpStateSuccess (var: k)
message McpStateSuccess {
repeated McpStateServer servers = 1;
}
// Copied from: agent.v1.McpSuccess (var: f)
message McpSuccess {
repeated McpToolResultContentItem content = 1;
bool is_error = 2;
google.protobuf.Struct structured_content = 3;
}
// Copied from: agent.v1.McpTextContent (var: c)
message McpTextContent {
string text = 1;
optional OutputLocation output_location = 2;
}
// Copied from: agent.v1.McpToolDefinition (var: s)
message McpToolDefinition {
string name = 1;
string provider_identifier = 4;
string tool_name = 5;
string description = 2;
google.protobuf.Value input_schema = 3;
optional string input_schema_json = 6;
}
// Copied from: agent.v1.McpToolNotFound (var: u)
message McpToolNotFound {
string name = 1;
repeated string available_tools = 2;
}
// Copied from: agent.v1.McpToolResultContentItem (var: p)
message McpToolResultContentItem {
oneof content {
McpTextContent text = 1;
McpImageContent image = 2;
}
}
// Copied from: local:aiserver.v1.MemoryMonitorConfig (var: xe)
message MemoryMonitorConfig {
bool enabled = 1;
bool show_status_entry = 2;
optional int32 base_threshold_mb = 3;
optional int32 critical_offset_mb = 4;
optional int32 process_memory_interval_sec = 5;
}
// Copied from: local:aiserver.v1.MergeOrganizationIdentityProviderRequest (var: yr)
message MergeOrganizationIdentityProviderRequest {
string organization_id = 1;
string source_identity_provider_public_id = 2;
}
// Copied from: local:aiserver.v1.MergeOrganizationIdentityProviderResponse (var: kr)
message MergeOrganizationIdentityProviderResponse {
string request_public_id = 1;
}
// Copied from: local:aiserver.v1.MergePullRequestRequest (var: Wc)
message MergePullRequestRequest {
string pr_url = 1;
optional string merge_method = 2;
}
// Copied from: local:aiserver.v1.MergePullRequestResponse (var: zc)
message MergePullRequestResponse {
bool success = 1;
string error = 2;
optional string pr_node_id = 3;
}
// Copied from: local:aiserver.v1.Metadata (var: km)
message Metadata {
optional string title = 1;
optional string description = 2;
optional string discount_type = 3;
}
// Copied from: local:aiserver.v1.MetricsConfig (var: De)
message MetricsConfig {
bool enabled_in_privacy_mode = 2;
bool enabled_in_non_privacy_mode = 3;
}
// Copied from: local:aiserver.v1.MicrosoftTeamsChannel (var: eE)
message MicrosoftTeamsChannel {
string tenant_id = 1;
string team_id = 2;
string team_display_name = 3;
string channel_id = 4;
string display_name = 5;
optional string description = 6;
}
// Copied from: local:aiserver.v1.MidConversationModelRecommendationContext (var: Wd)
message MidConversationModelRecommendationContext {
RequestedModel current_model = 1;
}
// Copied from: local:aiserver.v1.MigrateBugBotProUserToUsageBasedBillingRequest (var: pg)
message MigrateBugBotProUserToUsageBasedBillingRequest {
optional bool keep_high_effort_default = 1;
}
// Copied from: local:aiserver.v1.MigrateBugBotProUserToUsageBasedBillingResponse (var: fg)
message MigrateBugBotProUserToUsageBasedBillingResponse {
}
// Copied from: local:aiserver.v1.MigrateTeamBugbotToUsageBasedBillingRequest (var: JT)
message MigrateTeamBugbotToUsageBasedBillingRequest {
int32 team_id = 1;
optional bool keep_high_effort_default = 2;
}
// Copied from: local:aiserver.v1.MigrateTeamBugbotToUsageBasedBillingResponse (var: CT)
message MigrateTeamBugbotToUsageBasedBillingResponse {
}
// Copied from: local:aiserver.v1.MigrateTeamMcpServersToDefaultMarketplaceRequest (var: Oo)
message MigrateTeamMcpServersToDefaultMarketplaceRequest {
int32 team_id = 1;
}
// Copied from: local:aiserver.v1.MigrateTeamMcpServersToDefaultMarketplaceResponse (var: Uo)
message MigrateTeamMcpServersToDefaultMarketplaceResponse {
int32 migrated_count = 1;
int32 skipped_count = 2;
int64 default_marketplace_id = 3;
}
// Copied from: local:aiserver.v1.MintAgentStoreTokenRequest (var: mf)
message MintAgentStoreTokenRequest {
string agent_id = 1;
optional string share_id = 2;
optional string store_id = 3;
AgentStoreSourceRef source = 4;
}
// Copied from: local:aiserver.v1.MintAgentStoreTokenResponse (var: cf)
message MintAgentStoreTokenResponse {
string token = 1;
int64 expires_at_ms = 2;
repeated string agent_ids = 3;
repeated string store_ids = 4;
}
// Copied from: local:aiserver.v1.MintCustomerPrivatelinkProxyTokenRequest (var: lp)
message MintCustomerPrivatelinkProxyTokenRequest {
int32 team_id = 1;
repeated string allowed_hosts = 2;
}
// Copied from: local:aiserver.v1.MintCustomerPrivatelinkProxyTokenResponse (var: up)
message MintCustomerPrivatelinkProxyTokenResponse {
string proxy_username = 1;
string token = 2;
repeated string allowed_hosts = 3;
}
// Copied from: local:aiserver.v1.MissingContextItems (var: d)
message MissingContextItems {
repeated string missing_context_item_hashes = 2;
}
// Copied from: local:aiserver.v1.MissingFile (var: Ve)
message MissingFile {
// Copied from: local:aiserver.v1.MissingFile.MissingReason (var: f)
enum MissingReason {
MISSING_REASON_UNSPECIFIED = 0;
MISSING_REASON_TOO_LARGE = 1;
MISSING_REASON_NOT_FOUND = 2;
}
string relative_workspace_path = 1;
MissingReason missing_reason = 2;
optional int32 num_lines = 3;
}
// Copied from: local:aiserver.v1.ModalDisplayConfig (var: Ee)
message ModalDisplayConfig {
optional string background_gradient = 1;
optional string description = 2;
optional string background_gradient_light = 3;
optional string background_gradient_dark = 4;
}
// Copied from: local:aiserver.v1.ModelAddedEvent (var: Jt)
message ModelAddedEvent {
MaybeDefinedPointInTimeModel point_in_time_model = 1;
string full_uri = 2;
string model_id = 3;
string uri_scheme = 4;
bool is_too_large_for_syncing = 5;
bool is_too_large_for_tokenization = 6;
bool is_too_large_for_heap_operation = 7;
}
// Copied from: local:aiserver.v1.ModelAllowlist (var: xc)
message ModelAllowlist {
// Copied from: local:aiserver.v1.ModelAllowlist.DefaultBehavior (var: Mt)
enum DefaultBehavior {
DEFAULT_BEHAVIOR_UNSPECIFIED = 0;
DEFAULT_BEHAVIOR_ENABLED = 1;
DEFAULT_BEHAVIOR_DISABLED = 2;
}
DefaultBehavior new_provider_default = 1;
DefaultBehavior new_model_default = 2;
map<string, ModelAllowlistProviderEntry> providers = 3;
optional ModelAllowlistByok byok = 4;
}
// Copied from: local:aiserver.v1.ModelAllowlistByok (var: Uc)
message ModelAllowlistByok {
optional ModelAllowlistByokEntry openai = 1;
optional ModelAllowlistByokEntry anthropic = 2;
optional ModelAllowlistByokEntry google = 3;
optional ModelAllowlistByokEntry azure = 4;
optional ModelAllowlistByokEntry bedrock = 5;
}
// Copied from: local:aiserver.v1.ModelAllowlistByokEntry (var: Oc)
message ModelAllowlistByokEntry {
bool enabled = 1;
repeated string models = 2;
}
// Copied from: local:aiserver.v1.ModelAllowlistModelEntry (var: qc)
message ModelAllowlistModelEntry {
bool enabled = 1;
map<string, ModelAllowlistParameterRestriction> parameter_restrictions = 2;
map<string, ModelAllowlistParameterGrant> parameter_grants = 3;
repeated TeamAdminModelRef.ModelParameterValue default_parameter_values = 4;
}
// Copied from: local:aiserver.v1.ModelAllowlistParameterGrant (var: Fc)
message ModelAllowlistParameterGrant {
repeated string granted_values = 1;
}
// Copied from: local:aiserver.v1.ModelAllowlistParameterRestriction (var: Lc)
message ModelAllowlistParameterRestriction {
repeated string allowed_values = 1;
}
// Copied from: local:aiserver.v1.ModelAllowlistProviderEntry (var: Dc)
message ModelAllowlistProviderEntry {
bool enabled = 1;
map<string, ModelAllowlistModelEntry> models = 2;
}
// Copied from: local:aiserver.v1.ModelChange (var: fe)
message ModelChange {
string text = 1;
IRange range = 2;
optional string final_model_hash = 3;
optional int32 model_version_immediately_after_this_change = 4;
optional double performance_now_timestamp = 5;
optional bool is_undoing = 7;
optional bool is_redoing = 8;
bool model_is_attached_to_editor = 9;
bool model_is_attached_to_the_active_editor = 10;
repeated CursorSelection cursor_selections = 11;
int32 model_version_at_metadata_retrieval_time = 12;
optional int64 global_index = 13;
optional double performance_now_flush_time = 14;
optional int32 change_index = 15;
optional int32 flush_index = 16;
optional int32 global_index_v2 = 17;
}
// Copied from: local:aiserver.v1.ModelDetails (var: Z)
message ModelDetails {
optional string model_name = 1;
optional string api_key = 2;
optional bool enable_ghost_mode = 3;
optional AzureState azure_state = 4;
optional bool enable_slow_pool = 5;
optional string openai_api_base_url = 6;
optional BedrockState bedrock_state = 7;
optional bool max_mode = 8;
}
// Copied from: local:aiserver.v1.ModelInfo (var: te)
message ModelInfo {
string model_name = 1;
}
// Copied from: local:aiserver.v1.ModelMigration (var: Ke)
message ModelMigration {
string id = 1;
string model_setting = 2;
string target_model = 3;
optional string previous_model = 4;
optional bool migrate_mode_models = 5;
optional bool remove_previous_model = 6;
optional bool max_mode = 7;
optional bool migrate_old_composers_and_current_composer = 8;
}
// Copied from: local:aiserver.v1.ModelOpenedEvent (var: wt)
message ModelOpenedEvent {
PointInTimeModel point_in_time_model = 1;
MaybeDefinedPointInTimeModel maybe_defined_point_in_time_model = 2;
}
// Copied from: local:aiserver.v1.ModelParameterDefinition (var: Ss)
message ModelParameterDefinition {
// Copied from: local:aiserver.v1.ModelParameterDefinition.BooleanParameterDefinition (var: vs)
message BooleanParameterDefinition {
// Copied from: local:aiserver.v1.ModelParameterDefinition.BooleanParameterDefinition.BooleanParameterValue (var: Bs)
message BooleanParameterValue {
string value = 1;
optional string display_name = 2;
optional bool increases_model_cost = 3;
optional bool default_blocked_in_admin_allowlist = 4;
optional bool hide_from_user_picker_when_admin_blocked = 5;
}
repeated BooleanParameterValue values = 1;
}
// Copied from: local:aiserver.v1.ModelParameterDefinition.EnumParameterDefinition (var: Js)
message EnumParameterDefinition {
// Copied from: local:aiserver.v1.ModelParameterDefinition.EnumParameterDefinition.EnumParameterValue (var: Cs)
message EnumParameterValue {
string value = 1;
optional string display_name = 2;
optional bool increases_model_cost = 3;
optional bool blocked_by_admin_allowlist = 4;
optional string markdown_tooltip = 5;
repeated AvailableModelsResponse.ModelPickerBadge model_picker_badges = 6;
}
repeated EnumParameterValue values = 1;
}
// Copied from: local:aiserver.v1.ModelParameterDefinition.ModelParameterType (var: Is)
message ModelParameterType {
optional ModelParameterDefinition.BooleanParameterDefinition boolean_parameter = 1;
optional ModelParameterDefinition.EnumParameterDefinition enum_parameter = 2;
}
string id = 1;
string name = 2;
optional string markdown_tooltip = 3;
ModelParameterType parameter_type = 4;
optional bool is_cycleable_by_hotkey = 5;
}
// Copied from: local:aiserver.v1.ModelQueryRequest (var: pr)
message ModelQueryRequest {
// Copied from: local:aiserver.v1.ModelQueryRequest.QueryType (var: de)
enum QueryType {
QUERY_TYPE_UNSPECIFIED = 0;
QUERY_TYPE_KEYWORDS = 1;
QUERY_TYPE_EMBEDDINGS = 2;
}
CurrentFileInfo current_file = 1;
repeated ConversationMessage conversation = 2;
repeated RepositoryInfo repositories = 3;
ExplicitContext explicit_context = 4;
optional string workspace_root_path = 5;
repeated CodeBlock code_blocks = 6;
ModelDetails model_details = 7;
QueryType query_type = 8;
RepositoryInfo repository_info = 9;
bool faster_and_stupider = 10;
bool use_globs = 11;
}
// Copied from: local:aiserver.v1.ModelQueryResponse (var: fr)
message ModelQueryResponse {
// Copied from: local:aiserver.v1.ModelQueryResponse.Query (var: gr)
message Query {
string query = 1;
bool successful_parse = 2;
repeated string good_file_extensions = 3;
repeated string bad_file_extensions = 4;
repeated string good_paths = 5;
repeated string bad_paths = 6;
}
repeated Query queries = 1;
}
// Copied from: local:aiserver.v1.ModelQueryResponseV2 (var: hr)
message ModelQueryResponseV2 {
// Copied from: local:aiserver.v1.ModelQueryResponseV2.QueryItem (var: Ar)
message QueryItem {
int32 index = 3;
oneof partial_query {
string text = 1;
string glob = 2;
}
}
oneof query_or_reasoning {
QueryItem query = 1;
string reasoning = 2;
}
}
// Copied from: local:aiserver.v1.ModelRecommendationNudge (var: Zd)
message ModelRecommendationNudge {
string nudge_id = 1;
string experiment_name = 2;
string group = 3;
RequestedModel source_model = 4;
RequestedModel target_model = 5;
}
// Copied from: local:aiserver.v1.ModelRoutingLoadTestCancelOutcome (var: vr)
enum ModelRoutingLoadTestCancelOutcome {
MODEL_ROUTING_LOAD_TEST_CANCEL_OUTCOME_UNSPECIFIED = 0;
MODEL_ROUTING_LOAD_TEST_CANCEL_OUTCOME_CANCEL_REQUESTED = 1;
MODEL_ROUTING_LOAD_TEST_CANCEL_OUTCOME_NOT_FOUND = 2;
MODEL_ROUTING_LOAD_TEST_CANCEL_OUTCOME_ALREADY_CLOSED = 3;
}
// Copied from: local:aiserver.v1.ModelSelectionSnapshot (var: o)
message ModelSelectionSnapshot {
// Copied from: local:aiserver.v1.ModelSelectionSnapshot.ModelParameterValue (var: i)
message ModelParameterValue {
string id = 1;
string value = 2;
}
string model_id = 1;
bool max_mode = 2;
repeated ModelParameterValue parameters = 3;
}
// Copied from: local:aiserver.v1.ModelWithHistory (var: jt)
message ModelWithHistory {
repeated ModelChange changes = 1;
string model_uuid = 2;
StartingModel starting_model = 3;
int32 num_correct_changes = 4;
int32 num_unvalidated_changes = 5;
int32 num_incorrect_changes = 6;
repeated ModelChange before_start_model_changes = 7;
optional double starting_performance_now_timestamp = 8;
}
// Copied from: agent.v1.MountedAgentStore (var: E)
message MountedAgentStore {
string path = 1;
MountedAgentStoreKind kind = 2;
optional string alias = 3;
bool read_only = 4;
}
// Copied from: agent.v1.MountedAgentStoreKind (var: u)
enum MountedAgentStoreKind {
MOUNTED_AGENT_STORE_KIND_UNSPECIFIED = 0;
MOUNTED_AGENT_STORE_KIND_SELF = 1;
MOUNTED_AGENT_STORE_KIND_PEER = 2;
MOUNTED_AGENT_STORE_KIND_SHARE = 3;
MOUNTED_AGENT_STORE_KIND_PRINCIPAL = 4;
}
// Copied from: agent.v1.MouseButton (var: r)
enum MouseButton {
MOUSE_BUTTON_UNSPECIFIED = 0;
MOUSE_BUTTON_LEFT = 1;
MOUSE_BUTTON_RIGHT = 2;
MOUSE_BUTTON_MIDDLE = 3;
MOUSE_BUTTON_BACK = 4;
MOUSE_BUTTON_FORWARD = 5;
}
// Copied from: agent.v1.MouseDownAction (var: c)
message MouseDownAction {
MouseButton button = 1;
}
// Copied from: agent.v1.MouseMoveAction (var: u)
message MouseMoveAction {
Coordinate coordinate = 1;
}
// Copied from: agent.v1.MouseUpAction (var: d)
message MouseUpAction {
MouseButton button = 1;
}
// Copied from: local:aiserver.v1.MoveOrganizationMemberToTeamRequest (var: Nr)
message MoveOrganizationMemberToTeamRequest {
string organization_id = 1;
int32 user_id = 2;
int32 destination_team_id = 3;
}
// Copied from: local:aiserver.v1.MoveOrganizationMemberToTeamResponse (var: Rr)
message MoveOrganizationMemberToTeamResponse {
bool moved = 1;
}
// Copied from: local:aiserver.v1.MoveUserMcpServerToTeamRequest (var: qo)
message MoveUserMcpServerToTeamRequest {
string server_name = 1;
int32 team_id = 2;
}
// Copied from: local:aiserver.v1.MoveUserMcpServerToTeamResponse (var: Do)
message MoveUserMcpServerToTeamResponse {
}
// Copied from: local:aiserver.v1.MultiRepoEnvironmentReusePolicy (var: pr)
enum MultiRepoEnvironmentReusePolicy {
MULTI_REPO_ENVIRONMENT_REUSE_POLICY_UNSPECIFIED = 0;
MULTI_REPO_ENVIRONMENT_REUSE_POLICY_SAME_SCOPE_ONLY = 1;
MULTI_REPO_ENVIRONMENT_REUSE_POLICY_ALLOW_TEAM_NAMED_FOR_PERSONAL = 2;
}
// Copied from: agent.v1.NameAgentRequest (var: w)
message NameAgentRequest {
string user_message = 1;
}
// Copied from: agent.v1.NameAgentResponse (var: E)
message NameAgentResponse {
string name = 1;
}
// Copied from: local:aiserver.v1.NameTabRequest (var: Tt)
message NameTabRequest {
repeated ConversationMessage messages = 1;
bool is_project = 2;
string conversation_id = 6;
bool is_side_chat = 7;
oneof credentials {
ApiKeyCredentials api_key_credentials = 3;
AzureCredentials azure_credentials = 4;
BedrockCredentials bedrock_credentials = 5;
}
}
// Copied from: local:aiserver.v1.NameTabResponse (var: yt)
message NameTabResponse {
string name = 1;
string reason = 2;
string icon = 3;
}
// Copied from: local:aiserver.v1.NamedAgent (var: Li)
message NamedAgent {
string named_agent_id = 1;
string home_bc_id = 2;
string name = 3;
optional BackgroundComposerParticipant creator = 4;
double created_at_ms = 5;
double updated_at_ms = 6;
bool pinned = 7;
optional NamedAgentProfile profile = 8;
}
// Copied from: local:aiserver.v1.NamedAgentProfile (var: bi)
message NamedAgentProfile {
optional string profile_picture_url = 1;
}
// Copied from: local:aiserver.v1.NamedAgentSession (var: Mi)
message NamedAgentSession {
string named_agent_id = 1;
string bc_id = 2;
string session_key = 3;
string session_kind = 4;
double created_at_ms = 10;
double updated_at_ms = 11;
optional double last_awakened_at_ms = 12;
optional string slack_channel_id = 13;
optional string slack_channel_name = 14;
optional string slack_permalink = 15;
}
// Copied from: local:aiserver.v1.NeedsPrivacyModeMigrationRequest (var: rh)
message NeedsPrivacyModeMigrationRequest {
}
// Copied from: local:aiserver.v1.NeedsPrivacyModeMigrationResponse (var: sh)
message NeedsPrivacyModeMigrationResponse {
bool needs_migration = 1;
}
// Copied from: agent.v1.NetworkPolicy (var: l)
message NetworkPolicy {
// Copied from: agent.v1.NetworkPolicy.DefaultAction (var: r)
enum DefaultAction {
DEFAULT_ACTION_UNSPECIFIED = 0;
DEFAULT_ACTION_ALLOW = 1;
DEFAULT_ACTION_DENY = 2;
}
optional uint32 version = 1;
optional DefaultAction default_action = 2;
repeated string deny = 3;
repeated string allow = 4;
optional NetworkPolicyLoggingConfig logging = 5;
}
// Copied from: agent.v1.NetworkPolicyLoggingConfig (var: a)
message NetworkPolicyLoggingConfig {
optional string decision_log_path = 1;
optional string log_format = 2;
}
// Copied from: local:aiserver.v1.NetworkingMode (var: Ne)
enum NetworkingMode {
NETWORKING_MODE_UNSPECIFIED = 0;
NETWORKING_MODE_USER_CONTROLLED = 1;
NETWORKING_MODE_ALWAYS_DISABLED = 2;
}
// Copied from: local:aiserver.v1.NewDocumentationRequest (var: T)
message NewDocumentationRequest {
string doc_identifier = 1;
DocumentationMetadata metadata = 2;
repeated string ignore_prefixes = 4;
repeated string ignore_urls = 5;
optional string custom_instructions = 6;
optional bool publish_to_team = 7;
optional bool client_handles_uuid = 8;
}
// Copied from: local:aiserver.v1.NewEditParams (var: Ht)
message NewEditParams {
string relative_workspace_path = 1;
optional int32 start_line_number = 2;
optional int32 end_line_number = 3;
string text = 4;
string edit_id = 5;
bool first_edit = 6;
}
// Copied from: local:aiserver.v1.NewEditResult (var: Vt)
message NewEditResult {
}
// Copied from: local:aiserver.v1.NewFileParams (var: yt)
message NewFileParams {
string relative_workspace_path = 1;
}
// Copied from: local:aiserver.v1.NewFileResult (var: Mt)
message NewFileResult {
string relative_workspace_path = 1;
int32 file_total_lines = 2;
}
// Copied from: local:aiserver.v1.NextTurnSystemReminderEntry (var: Td)
message NextTurnSystemReminderEntry {
NextTurnSystemReminderKind kind = 1;
string reminder = 2;
}
// Copied from: local:aiserver.v1.NextTurnSystemReminderKind (var: Sr)
enum NextTurnSystemReminderKind {
NEXT_TURN_SYSTEM_REMINDER_KIND_UNSPECIFIED = 0;
NEXT_TURN_SYSTEM_REMINDER_KIND_PR_TITLE_EDITED = 1;
NEXT_TURN_SYSTEM_REMINDER_KIND_PR_DESCRIPTION_EDITED = 2;
}
// Copied from: local:aiserver.v1.NextTurnSystemRemindersWrapper (var: yd)
message NextTurnSystemRemindersWrapper {
repeated NextTurnSystemReminderEntry reminders = 1;
}
// Copied from: local:aiserver.v1.NoZdrModelConsentStatusEntry (var: vh)
message NoZdrModelConsentStatusEntry {
string model_id = 1;
string consent_version = 2;
string accepted_at = 3;
}
// Copied from: local:aiserver.v1.NodeResult (var: bt)
message NodeResult {
IndexFileData.NodeData node = 1;
File file = 2;
float score = 3;
}
// Copied from: local:aiserver.v1.NotifyBackgroundComposerShownRequest (var: ao)
message NotifyBackgroundComposerShownRequest {
string bc_id = 1;
}
// Copied from: local:aiserver.v1.NotifyBackgroundComposerShownResponse (var: lo)
message NotifyBackgroundComposerShownResponse {
}
// Copied from: local:aiserver.v1.NotifyTeamAdminsRepo (var: mT)
message NotifyTeamAdminsRepo {
int64 installation_id = 1;
string repo_node_id = 2;
string owner = 3;
string name = 4;
}
// Copied from: local:aiserver.v1.NotifyTeamAdminsRequest (var: cT)
message NotifyTeamAdminsRequest {
int32 team_id = 1;
AdminNotificationRequestType request_type = 2;
repeated NotifyTeamAdminsRepo repos = 3;
optional string ghe_application = 4;
}
// Copied from: local:aiserver.v1.NotifyTeamAdminsResponse (var: dT)
message NotifyTeamAdminsResponse {
bool success = 1;
optional string error_message = 2;
}
// Copied from: local:aiserver.v1.NtpEvent (var: mn)
message NtpEvent {
double originate_timestamp = 1;
double receive_timestamp = 2;
double transmit_timestamp = 3;
double destination_timestamp = 4;
}
// Copied from: local:aiserver.v1.NudgeMessage (var: Q)
message NudgeMessage {
string raw_message = 1;
}
// Copied from: local:aiserver.v1.OffboardingBanner (var: fy)
message OffboardingBanner {
string id = 1;
string severity = 2;
string message_key = 3;
optional int64 countdown_date_epoch_millis = 4;
bool dismissible = 5;
string flow_type = 6;
string phase_id = 7;
optional string action_url = 8;
}
// Copied from: local:aiserver.v1.OnboardingConfig (var: Ze)
message OnboardingConfig {
repeated string marketplace_plugin_names = 1;
bool agentic_onboarding_enabled = 2;
}
// Copied from: local:aiserver.v1.OneIndexedPosition (var: de)
message OneIndexedPosition {
int32 line_number_one_indexed = 1;
int32 column_one_indexed = 2;
}
// Copied from: local:aiserver.v1.OnlineMetricsConfig (var: we)
message OnlineMetricsConfig {
bool enabled = 1;
int32 max_requests_tracked = 2;
int32 max_requests_tracked_mb = 3;
double max_request_retention_seconds = 4;
bool send_original_file_contents_for_initial_snapshot = 5;
bool send_full_added_lines_in_diff_changes = 6;
int32 num_commits_tracked = 7;
repeated int32 time_intervals_tracked_minutes = 8;
int32 too_big_file_size_bytes = 9;
}
// Copied from: local:aiserver.v1.OpenPRBackgroundComposerRequest (var: Ji)
message OpenPRBackgroundComposerRequest {
string bc_id = 1;
optional string title = 2;
optional string body = 3;
optional string base_branch = 4;
optional bool draft = 5;
optional bool open_as_cursor_github_app = 6;
optional bool skip_reviewer_request = 7;
bytes agent_state_blob_id = 8;
optional string workflow_id = 9;
optional string branch_name = 10;
optional string repo_url = 11;
}
// Copied from: local:aiserver.v1.OpenPRBackgroundComposerResponse (var: Ci)
message OpenPRBackgroundComposerResponse {
string pr_url = 1;
int32 pr_number = 2;
string branch_name = 3;
string base_branch = 4;
bool success = 5;
optional string error = 6;
}
// Copied from: local:aiserver.v1.OpenUrlCallToAction (var: vn)
message OpenUrlCallToAction {
string url = 1;
string button_text = 2;
}
// Copied from: local:aiserver.v1.OptOutNewPricingRequest (var: AT)
message OptOutNewPricingRequest {
bool opt_in = 1;
}
// Copied from: local:aiserver.v1.OptOutNewPricingResponse (var: _T)
message OptOutNewPricingResponse {
}
// Copied from: local:aiserver.v1.OptimizedDiffState (var: wd)
message OptimizedDiffState {
optional string branch_name = 3;
optional string base_branch = 4;
optional string repo_url = 5;
oneof state {
google.protobuf.Empty pending = 1;
bytes diff_blob_id = 2;
}
}
// Copied from: local:aiserver.v1.OrgTeamBudget (var: ga)
message OrgTeamBudget {
int32 team_id = 1;
string team_name = 2;
optional int32 limit_dollars = 3;
int32 current_spend_cents = 4;
}
// Copied from: local:aiserver.v1.OrganizationApiKey (var: bl)
message OrganizationApiKey {
string id = 1;
string masked_key = 2;
string name = 3;
int64 created_at = 4;
repeated string scopes = 5;
}
// Copied from: local:aiserver.v1.OrganizationGroup (var: ts)
message OrganizationGroup {
int64 id = 1;
string name = 2;
string organization_id = 3;
int64 created_at = 4;
int64 updated_at = 5;
int32 member_count = 6;
string public_id = 7;
optional int32 monthly_spending_limit_dollars = 8;
bool ant_cyber_approved = 9;
optional AnthropicCyberVerificationStatus ant_cyber_verification_status = 10;
}
// Copied from: local:aiserver.v1.OrganizationGroupMember (var: is)
message OrganizationGroupMember {
int32 user_id = 1;
optional string email = 2;
optional string first_name = 3;
optional string last_name = 4;
int64 joined_at = 5;
bool is_admin = 6;
optional int32 monthly_spending_limit_dollars = 7;
}
// Copied from: local:aiserver.v1.OrganizationIdentityProvider (var: dr)
message OrganizationIdentityProvider {
string public_id = 1;
bool is_default = 2;
string status = 3;
repeated OrganizationIdentityProviderUsedByTeam used_by_teams = 4;
string description = 5;
OrganizationIdentityProviderSsoSettings sso = 6;
OrganizationIdentityProviderDomains domains = 7;
OrganizationIdentityProviderScimSettings scim = 8;
OrganizationIdentityProviderDomainJoinSettings domain_join = 9;
}
// Copied from: local:aiserver.v1.OrganizationIdentityProviderDomainJoinSettings (var: cr)
message OrganizationIdentityProviderDomainJoinSettings {
bool enabled = 1;
repeated string allowed_domains = 2;
}
// Copied from: local:aiserver.v1.OrganizationIdentityProviderDomains (var: ur)
message OrganizationIdentityProviderDomains {
repeated string verified = 1;
repeated string pending = 2;
string verify_link = 3;
}
// Copied from: local:aiserver.v1.OrganizationIdentityProviderScimSettings (var: mr)
message OrganizationIdentityProviderScimSettings {
bool connected = 1;
string summary = 2;
string manage_link = 3;
}
// Copied from: local:aiserver.v1.OrganizationIdentityProviderSsoSettings (var: lr)
message OrganizationIdentityProviderSsoSettings {
bool connected = 1;
string summary = 2;
string manage_link = 3;
}
// Copied from: local:aiserver.v1.OrganizationIdentityProviderUsedByTeam (var: ar)
message OrganizationIdentityProviderUsedByTeam {
string team_public_id = 1;
string team_name = 2;
}
// Copied from: local:aiserver.v1.OrganizationMember (var: tr)
message OrganizationMember {
int32 user_id = 1;
string auth_id = 2;
optional string email = 3;
optional string first_name = 4;
optional string last_name = 5;
UserOrganizationRole role = 6;
repeated OrganizationMemberTeam teams = 7;
string member_public_id = 8;
}
// Copied from: local:aiserver.v1.OrganizationMemberGroup (var: sr)
message OrganizationMemberGroup {
string group_public_id = 1;
string group_name = 2;
int64 joined_at = 3;
bool is_admin = 4;
optional int32 monthly_spending_limit_dollars = 5;
}
// Copied from: local:aiserver.v1.OrganizationMemberTeam (var: er)
message OrganizationMemberTeam {
int32 team_id = 1;
string team_name = 2;
string team_slug = 3;
TeamRole team_role = 4;
}
// Copied from: local:aiserver.v1.OrganizationMemberTeamMove (var: Mr)
message OrganizationMemberTeamMove {
string email = 1;
int32 destination_team_id = 2;
optional string destination_team_name = 3;
}
// Copied from: local:aiserver.v1.OrganizationMergeIdpBlocker (var: Er)
message OrganizationMergeIdpBlocker {
string code = 1;
string message = 2;
}
// Copied from: local:aiserver.v1.OrganizationMergeIdpRequestInfo (var: Ir)
message OrganizationMergeIdpRequestInfo {
string request_public_id = 1;
string status = 2;
optional string current_phase = 3;
optional string source_identity_provider_public_id = 4;
optional string target_identity_provider_public_id = 5;
optional int32 total_users = 6;
int32 processed_users = 7;
int32 moved_membership_count = 8;
int32 skipped_membership_count = 9;
int32 failed_membership_count = 10;
optional string last_error = 11;
int64 created_at_ms = 12;
optional int64 started_at_ms = 13;
optional int64 completed_at_ms = 14;
optional int64 source_deletion_eligible_at_ms = 15;
}
// Copied from: local:aiserver.v1.OrganizationTeamAdminCandidate (var: $r)
message OrganizationTeamAdminCandidate {
int32 user_id = 1;
string email = 2;
string first_name = 3;
string last_name = 4;
}
// Copied from: local:aiserver.v1.OutputLocation (var: Tn)
message OutputLocation {
string file_path = 1;
int64 size_bytes = 2;
int64 line_count = 3;
}
// Copied from: local:aiserver.v1.OwnerFilter (var: Wo)
message OwnerFilter {
repeated OwnerIdentifier owners = 1;
}
// Copied from: local:aiserver.v1.OwnerIdentifier (var: Ko)
message OwnerIdentifier {
string id = 1;
OwnerType owner_type = 2;
}
// Copied from: local:aiserver.v1.OwnerType (var: Yn)
enum OwnerType {
OWNER_TYPE_UNSPECIFIED = 0;
OWNER_TYPE_USER = 1;
OWNER_TYPE_SERVICE_ACCOUNT = 2;
}
// Copied from: local:aiserver.v1.P2PReferralHistoryEntry (var: gm)
message P2PReferralHistoryEntry {
string referee_label = 1;
string display_status = 2;
int64 credit_cents_earned = 3;
int64 created_at_ms = 4;
}
// Copied from: local:aiserver.v1.PRCheck (var: ds)
message PRCheck {
string name = 1;
string status = 2;
optional string details_url = 3;
optional string summary = 4;
optional string started_at = 5;
optional string completed_at = 6;
optional string provider = 7;
optional string provider_check_id = 8;
bool can_rerun = 9;
optional string rerun_disabled_reason = 10;
repeated PRCheckAnnotation annotations = 11;
bool annotations_truncated = 12;
bool is_required = 13;
}
// Copied from: local:aiserver.v1.PRCheckAnnotation (var: cs)
message PRCheckAnnotation {
string path = 1;
optional int32 start_line = 2;
optional int32 end_line = 3;
optional string annotation_level = 4;
optional string title = 5;
string message = 6;
}
// Copied from: local:aiserver.v1.PRCheckStatus (var: ms)
message PRCheckStatus {
string overall_state = 1;
int32 success_count = 2;
int32 failure_count = 3;
int32 pending_count = 4;
int32 neutral_count = 5;
int32 skipped_count = 6;
int32 total_count = 7;
repeated PRCheck checks = 8;
optional int32 required_failure_count = 9;
optional int32 required_pending_count = 10;
}
// Copied from: local:aiserver.v1.PRCommit (var: Cc)
message PRCommit {
string sha = 1;
string message = 2;
string committed_date = 3;
int32 additions = 4;
int32 deletions = 5;
optional int32 changed_files = 6;
PRCommitUser author = 7;
PRCommitUser committer = 8;
repeated PRCommitUser authors = 9;
}
// Copied from: local:aiserver.v1.PRCommitUser (var: Jc)
message PRCommitUser {
optional string name = 1;
optional string email = 2;
optional string avatar_url = 3;
}
// Copied from: local:aiserver.v1.PRDeploymentPreview (var: Tc)
message PRDeploymentPreview {
string environment = 1;
PRDeploymentState state = 2;
PRDeploymentPreviewStatus latest_status = 3;
}
// Copied from: local:aiserver.v1.PRDeploymentPreviewStatus (var: _c)
message PRDeploymentPreviewStatus {
string environment_url = 1;
string log_url = 2;
PRDeploymentStatusState state = 3;
}
// Copied from: local:aiserver.v1.PRDeploymentState (var: yr)
enum PRDeploymentState {
PR_DEPLOYMENT_STATE_UNSPECIFIED = 0;
PR_DEPLOYMENT_STATE_UNKNOWN = 1;
PR_DEPLOYMENT_STATE_PENDING = 2;
PR_DEPLOYMENT_STATE_QUEUED = 3;
PR_DEPLOYMENT_STATE_IN_PROGRESS = 4;
PR_DEPLOYMENT_STATE_SUCCESS = 5;
PR_DEPLOYMENT_STATE_FAILURE = 6;
PR_DEPLOYMENT_STATE_ERROR = 7;
PR_DEPLOYMENT_STATE_INACTIVE = 8;
PR_DEPLOYMENT_STATE_WAITING = 9;
PR_DEPLOYMENT_STATE_ACTIVE = 10;
PR_DEPLOYMENT_STATE_ABANDONED = 11;
PR_DEPLOYMENT_STATE_DESTROYED = 12;
PR_DEPLOYMENT_STATE_BLOCKED = 13;
PR_DEPLOYMENT_STATE_CANCELED = 14;
}
// Copied from: local:aiserver.v1.PRDeploymentStatusState (var: kr)
enum PRDeploymentStatusState {
PR_DEPLOYMENT_STATUS_STATE_UNSPECIFIED = 0;
PR_DEPLOYMENT_STATUS_STATE_UNKNOWN = 1;
PR_DEPLOYMENT_STATUS_STATE_PENDING = 2;
PR_DEPLOYMENT_STATUS_STATE_QUEUED = 3;
PR_DEPLOYMENT_STATUS_STATE_IN_PROGRESS = 4;
PR_DEPLOYMENT_STATUS_STATE_SUCCESS = 5;
PR_DEPLOYMENT_STATUS_STATE_FAILURE = 6;
PR_DEPLOYMENT_STATUS_STATE_ERROR = 7;
PR_DEPLOYMENT_STATUS_STATE_INACTIVE = 8;
PR_DEPLOYMENT_STATUS_STATE_WAITING = 9;
PR_DEPLOYMENT_STATUS_STATE_BLOCKED = 10;
PR_DEPLOYMENT_STATUS_STATE_CANCELED = 11;
}
// Copied from: local:aiserver.v1.PRDiffChunkPointer (var: Xt)
message PRDiffChunkPointer {
string file_path = 1;
int32 start_line_number_zero_indexed = 2;
int32 end_line_number_zero_indexed_exclusive = 3;
}
// Copied from: local:aiserver.v1.PRRequestedReviewer (var: wc)
message PRRequestedReviewer {
string login = 1;
optional string name = 2;
optional string avatar_url = 3;
optional string kind = 4;
}
// Copied from: local:aiserver.v1.PRReviewComment (var: Ic)
message PRReviewComment {
string id = 1;
string author_login = 2;
string avatar_url = 3;
string body = 4;
string created_at = 5;
optional string diff_hunk = 6;
optional string body_html = 7;
optional string author_name = 8;
}
// Copied from: local:aiserver.v1.PRReviewSummary (var: kc)
message PRReviewSummary {
string author_login = 1;
optional string author_name = 2;
optional string author_avatar_url = 3;
optional string state = 4;
}
// Copied from: local:aiserver.v1.PRReviewThread (var: vc)
message PRReviewThread {
string id = 1;
string path = 2;
optional int32 line = 3;
optional int32 start_line = 4;
optional int32 original_line = 5;
optional int32 original_start_line = 6;
string diff_side = 7;
bool is_resolved = 8;
bool is_outdated = 9;
repeated PRReviewComment comments = 10;
optional string pull_request_review_id = 11;
}
// Copied from: local:aiserver.v1.PRStatus (var: Zn)
enum PRStatus {
PR_STATUS_UNSPECIFIED = 0;
PR_STATUS_OPEN = 1;
PR_STATUS_DRAFT = 2;
PR_STATUS_MERGED = 3;
PR_STATUS_CLOSED = 4;
}
// Copied from: local:aiserver.v1.PRTimelineActor (var: qc)
message PRTimelineActor {
string login = 1;
optional string avatar_url = 2;
optional string name = 3;
}
// Copied from: local:aiserver.v1.PRTimelineEvent (var: Fc)
message PRTimelineEvent {
string id = 1;
string event_type = 2;
string created_at = 3;
optional PRTimelineActor actor = 4;
optional string label = 5;
optional string body = 6;
}
// Copied from: local:aiserver.v1.PRTopLevelComment (var: Bc)
message PRTopLevelComment {
string id = 1;
string author_login = 2;
string avatar_url = 3;
string body = 4;
string created_at = 5;
optional string body_html = 6;
optional string author_name = 7;
}
// Copied from: local:aiserver.v1.PRUserOption (var: Lp)
message PRUserOption {
string github_user_node_id = 1;
optional string github_username = 2;
}
// Copied from: local:aiserver.v1.PagerDutyServiceInfo (var: vA)
message PagerDutyServiceInfo {
string id = 1;
string name = 2;
string description = 3;
string status = 4;
}
// Copied from: local:aiserver.v1.Pages (var: A)
message Pages {
repeated string pages = 1;
repeated string page_urls = 2;
}
// Copied from: local:aiserver.v1.ParseGitHubRepoForPluginRequest (var: zE)
message ParseGitHubRepoForPluginRequest {
string git_url = 1;
optional string git_ref = 2;
optional bool enforce_auth = 3;
}
// Copied from: local:aiserver.v1.ParseGitHubRepoForPluginsResponse (var: XE)
message ParseGitHubRepoForPluginsResponse {
string marketplace_name = 1;
string marketplace_description = 2;
string default_branch = 3;
string repository_url = 4;
repeated ParsedPluginEntry plugins = 5;
string commit_sha = 6;
}
// Copied from: local:aiserver.v1.ParsePluginPublisherRepoInternalRequest (var: ZE)
message ParsePluginPublisherRepoInternalRequest {
string git_url = 1;
optional string git_ref = 2;
optional string release_tag = 3;
optional string release_asset = 4;
}
// Copied from: local:aiserver.v1.ParsePluginPublisherRepoInternalResponse (var: $E)
message ParsePluginPublisherRepoInternalResponse {
ParseGitHubRepoForPluginsResponse parsed_repo = 1;
optional string release_repo = 2;
optional string release_asset = 3;
optional string release_tag = 4;
}
// Copied from: local:aiserver.v1.ParsedPluginEntry (var: jE)
message ParsedPluginEntry {
string name = 1;
string display_name = 2;
string description = 3;
string git_path = 4;
repeated SkillDescriptor skills = 5;
repeated SubagentDescriptor subagents = 6;
repeated HookDescriptor hooks = 7;
repeated RuleDescriptor rules = 8;
repeated McpDescriptor mcp_servers = 9;
repeated CommandDescriptor commands = 10;
optional string logo_url = 11;
google.protobuf.Struct variables = 12;
optional string source_git_url = 13;
optional string source_git_ref = 14;
optional string parse_error = 15;
}
// Copied from: local:aiserver.v1.PartialPathItem (var: V)
message PartialPathItem {
string relative_workspace_path = 1;
string hash_of_node = 2;
}
// Copied from: agent.v1.PartialToolCallUpdate (var: ka)
message PartialToolCallUpdate {
string call_id = 1;
ToolCall tool_call = 2;
string args_text_delta = 3;
string model_call_id = 4;
}
// Copied from: local:aiserver.v1.PathKeyHashType (var: o)
enum PathKeyHashType {
PATH_KEY_HASH_TYPE_UNSPECIFIED = 0;
PATH_KEY_HASH_TYPE_SHA256 = 1;
}
// Copied from: local:aiserver.v1.PauseBackgroundComposerRequest (var: ci)
message PauseBackgroundComposerRequest {
string bc_id = 1;
BackgroundComposerSource source = 3;
optional string run_id = 4;
}
// Copied from: local:aiserver.v1.PauseBackgroundComposerResponse (var: di)
message PauseBackgroundComposerResponse {
}
// Copied from: local:aiserver.v1.PausedInteractionStep (var: Md)
message PausedInteractionStep {
bytes step_context_blob_id = 1;
bytes agent_state_blob_id = 2;
bool is_time_limit_expired = 3;
bool use_step_separation = 4;
uint32 tool_call_index = 5;
uint32 query_id = 6;
string tool_call_id = 7;
int32 current_step_in_turn = 8;
bytes request_context_blob_id = 9;
}
// Copied from: local:aiserver.v1.PendingContextInjection (var: Jd)
message PendingContextInjection {
string injection_id = 1;
string expected_run_id = 2;
int64 created_at_ms = 3;
BackgroundComposerSource source = 4;
ConversationActionReference conversation_action_ref = 5;
optional string delivery_batch_id = 6;
}
// Copied from: local:aiserver.v1.PendingFollowup (var: ul)
message PendingFollowup {
string followup_id = 1;
string text = 2;
string rich_text = 3;
int64 created_at_ms = 4;
BackgroundComposerSource source = 5;
repeated SelectedCursorCommand cursor_commands = 6;
bool cursor_commands_explicitly_set = 7;
repeated SelectedPastChat past_chats = 8;
bool past_chats_explicitly_set = 9;
optional ConversationAction conversation_action = 10;
repeated TaskSubagentReturnValue blob_data = 11;
optional bool use_experimental_model_opt_out = 12;
}
// Copied from: local:aiserver.v1.PendingIdleFollowup (var: bd)
message PendingIdleFollowup {
string grouping_identifier = 1;
string followup_id = 2;
BackgroundComposerSource source = 3;
ConversationAction conversation_action = 4;
repeated string merged_followup_ids = 5;
}
// Copied from: local:aiserver.v1.PendingPrivateWorkerRequest (var: Cp)
message PendingPrivateWorkerRequest {
string bc_id = 1;
int32 user_id = 2;
optional string service_account_id = 3;
optional string repo_owner = 4;
optional string repo_name = 5;
optional string repo_url = 6;
repeated PrivateWorkerLabel labels = 7;
double created_at_ms = 8;
}
// Copied from: local:aiserver.v1.PendingPullRequestData (var: kd)
message PendingPullRequestData {
string title = 1;
string body = 2;
string branch_name = 3;
optional string base_branch = 4;
}
// Copied from: local:aiserver.v1.PendingSeatTierUpgradeRequest (var: kp)
message PendingSeatTierUpgradeRequest {
int32 user_id = 1;
string name = 2;
string email = 3;
optional string profile_picture_url = 4;
TeamRole role = 5;
TeamMemberBillingTier billing_tier = 6;
string requested_at = 7;
}
// Copied from: local:aiserver.v1.PerformanceEvent (var: h)
message PerformanceEvent {
PerformanceEventType event_type = 1;
google.protobuf.Timestamp timestamp = 2;
double performance_timestamp = 3;
optional double duration = 4;
optional string target_element = 5;
optional string target_class = 6;
optional string target_id = 7;
optional string target_aria_id = 26;
optional int32 client_x = 8;
optional int32 client_y = 9;
optional string key = 10;
optional string code = 11;
optional bool ctrl_key = 12;
optional bool alt_key = 13;
optional bool shift_key = 14;
optional bool meta_key = 15;
optional double scroll_x = 16;
optional double scroll_y = 17;
optional double scroll_delta_x = 18;
optional double scroll_delta_y = 19;
optional double render_start = 21;
optional double style_and_layout_start = 22;
optional double first_ui_event_timestamp = 23;
optional double blocking_duration = 24;
repeated ScriptTiming scripts = 25;
map<string, string> metadata = 20;
}
// Copied from: local:aiserver.v1.PerformanceEventType (var: r)
enum PerformanceEventType {
PERFORMANCE_EVENT_TYPE_UNSPECIFIED = 0;
PERFORMANCE_EVENT_TYPE_CLICK = 1;
PERFORMANCE_EVENT_TYPE_POINTER = 2;
PERFORMANCE_EVENT_TYPE_TOUCH = 3;
PERFORMANCE_EVENT_TYPE_KEYDOWN = 4;
PERFORMANCE_EVENT_TYPE_KEYUP = 5;
PERFORMANCE_EVENT_TYPE_SCROLL = 6;
PERFORMANCE_EVENT_TYPE_LONG_ANIMATION_FRAME = 7;
PERFORMANCE_EVENT_TYPE_MOUSEDOWN = 8;
PERFORMANCE_EVENT_TYPE_MOUSEUP = 9;
}
// Copied from: local:aiserver.v1.PerformanceEventsConfig (var: Ge)
message PerformanceEventsConfig {
bool enabled = 1;
optional int32 buffer_size = 2;
optional int32 flush_interval_ms = 3;
}
// Copied from: local:aiserver.v1.PerformanceMetric (var: B)
message PerformanceMetric {
google.protobuf.Timestamp timestamp = 1;
string name = 2;
double value = 3;
optional string unit = 4;
map<string, string> metadata = 5;
}
// Copied from: agent.v1.PermissionsAutoRunInstructions (var: C)
message PermissionsAutoRunInstructions {
repeated string allow_instructions = 1;
repeated string block_instructions = 2;
}
// Copied from: local:aiserver.v1.PersonalEnvironment (var: fu)
message PersonalEnvironment {
string repo_url = 1;
string environment_json = 2;
int64 created_at_ms = 3;
int64 updated_at_ms = 4;
int64 id = 5;
optional string environment_public_id = 6;
}
// Copied from: agent.v1.Phase (var: Ae)
message Phase {
string name = 1;
repeated TodoItem todos = 2;
}
// Copied from: agent.v1.PiBashExecArgs (var: me)
message PiBashExecArgs {
string command = 1;
optional double timeout = 2;
}
// Copied from: agent.v1.PiBashExecError (var: pe)
message PiBashExecError {
string error = 1;
optional PiTruncation truncation = 2;
optional string full_output_path = 3;
}
// Copied from: agent.v1.PiBashExecResult (var: ce)
message PiBashExecResult {
oneof result {
PiBashExecSuccess success = 1;
PiBashExecError error = 2;
}
}
// Copied from: agent.v1.PiBashExecSuccess (var: de)
message PiBashExecSuccess {
string output = 1;
optional PiTruncation truncation = 2;
optional string full_output_path = 3;
}
// Copied from: agent.v1.PiEditExecArgs (var: ge)
message PiEditExecArgs {
string path = 1;
repeated PiEditReplacement edits = 2;
}
// Copied from: agent.v1.PiEditExecError (var: _e)
message PiEditExecError {
string error = 1;
}
// Copied from: agent.v1.PiEditExecRejected (var: Te)
message PiEditExecRejected {
string reason = 1;
}
// Copied from: agent.v1.PiEditExecResult (var: he)
message PiEditExecResult {
oneof result {
PiEditExecSuccess success = 1;
PiEditExecError error = 2;
PiEditExecRejected rejected = 3;
}
}
// Copied from: agent.v1.PiEditExecSuccess (var: Ae)
message PiEditExecSuccess {
string output = 1;
string diff = 2;
string patch = 3;
optional uint32 first_changed_line = 4;
}
// Copied from: agent.v1.PiEditReplacement (var: s)
message PiEditReplacement {
string old_text = 1;
string new_text = 2;
}
// Copied from: agent.v1.PiFindExecArgs (var: Ce)
message PiFindExecArgs {
string pattern = 1;
optional string path = 2;
optional int32 limit = 3;
}
// Copied from: agent.v1.PiFindExecError (var: Pe)
message PiFindExecError {
string error = 1;
}
// Copied from: agent.v1.PiFindExecResult (var: Ne)
message PiFindExecResult {
oneof result {
PiFindExecSuccess success = 1;
PiFindExecError error = 2;
}
}
// Copied from: agent.v1.PiFindExecSuccess (var: Re)
message PiFindExecSuccess {
string output = 1;
optional PiTruncation truncation = 2;
optional uint32 result_limit_reached = 3;
}
// Copied from: agent.v1.PiGrepExecArgs (var: Ie)
message PiGrepExecArgs {
string pattern = 1;
optional string path = 2;
optional string glob = 3;
optional bool ignore_case = 4;
optional bool literal = 5;
optional int32 context = 6;
optional int32 limit = 7;
}
// Copied from: agent.v1.PiGrepExecError (var: Je)
message PiGrepExecError {
string error = 1;
}
// Copied from: agent.v1.PiGrepExecResult (var: ve)
message PiGrepExecResult {
oneof result {
PiGrepExecSuccess success = 1;
PiGrepExecError error = 2;
}
}
// Copied from: agent.v1.PiGrepExecSuccess (var: Be)
message PiGrepExecSuccess {
string output = 1;
optional PiTruncation truncation = 2;
optional uint32 match_limit_reached = 3;
bool lines_truncated = 4;
}
// Copied from: agent.v1.PiLsExecArgs (var: be)
message PiLsExecArgs {
optional string path = 1;
optional int32 limit = 2;
}
// Copied from: agent.v1.PiLsExecError (var: Fe)
message PiLsExecError {
string error = 1;
}
// Copied from: agent.v1.PiLsExecResult (var: Me)
message PiLsExecResult {
oneof result {
PiLsExecSuccess success = 1;
PiLsExecError error = 2;
}
}
// Copied from: agent.v1.PiLsExecSuccess (var: Le)
message PiLsExecSuccess {
string output = 1;
optional PiTruncation truncation = 2;
optional uint32 entry_limit_reached = 3;
}
// Copied from: agent.v1.PiReadExecArgs (var: ie)
message PiReadExecArgs {
string path = 1;
optional int32 offset = 2;
optional int32 limit = 3;
}
// Copied from: agent.v1.PiReadExecError (var: ue)
message PiReadExecError {
string error = 1;
}
// Copied from: agent.v1.PiReadExecResult (var: ae)
message PiReadExecResult {
oneof result {
PiReadExecSuccess success = 1;
PiReadExecError error = 2;
}
}
// Copied from: agent.v1.PiReadExecSuccess (var: le)
message PiReadExecSuccess {
string output = 1;
optional PiTruncation truncation = 2;
}
// Copied from: agent.v1.PiTruncation (var: s)
message PiTruncation {
bool truncated = 1;
string truncated_by = 2;
uint32 total_lines = 3;
uint32 output_lines = 4;
uint32 output_bytes = 5;
optional uint32 max_lines = 6;
optional uint32 max_bytes = 7;
bool first_line_exceeds_limit = 8;
bool last_line_partial = 9;
}
// Copied from: agent.v1.PiWriteExecArgs (var: ye)
message PiWriteExecArgs {
string path = 1;
string content = 2;
}
// Copied from: agent.v1.PiWriteExecError (var: Ee)
message PiWriteExecError {
string error = 1;
}
// Copied from: agent.v1.PiWriteExecRejected (var: Se)
message PiWriteExecRejected {
string reason = 1;
}
// Copied from: agent.v1.PiWriteExecResult (var: ke)
message PiWriteExecResult {
oneof result {
PiWriteExecSuccess success = 1;
PiWriteExecError error = 2;
PiWriteExecRejected rejected = 3;
}
}
// Copied from: agent.v1.PiWriteExecSuccess (var: we)
message PiWriteExecSuccess {
string output = 1;
}
// Copied from: local:aiserver.v1.PlanChoice (var: Te)
message PlanChoice {
string label = 1;
optional string sublabel = 2;
optional string description = 3;
string value = 4;
}
// Copied from: local:aiserver.v1.PlanFollowupType (var: rr)
enum PlanFollowupType {
PLAN_FOLLOWUP_TYPE_UNSPECIFIED = 0;
PLAN_FOLLOWUP_TYPE_PLAN = 1;
PLAN_FOLLOWUP_TYPE_EXECUTE = 2;
}
// Copied from: local:aiserver.v1.PlanPhase (var: fs)
message PlanPhase {
string name = 1;
repeated TodoItem todos = 2;
}
// Copied from: agent.v1.PlanRegistryEntry (var: Fi)
message PlanRegistryEntry {
string id = 1;
string path = 2;
}
// Copied from: local:aiserver.v1.Plugin (var: gE)
message Plugin {
int64 id = 1;
string name = 2;
string display_name = 3;
string description = 4;
PluginStatus status = 6;
optional string repository_url = 8;
repeated string tags = 9;
optional string logo_url = 10;
optional string primary_color = 11;
bool is_published = 12;
int64 created_at = 13;
int64 updated_at = 14;
optional int64 publisher_id = 16;
optional Publisher publisher = 17;
bool is_deprecated = 18;
optional string deprecation_message = 19;
optional int64 deprecated_at = 20;
optional int64 replaced_by_plugin_id = 21;
optional int64 marketplace_id = 22;
optional Marketplace marketplace = 23;
string git_url = 24;
optional string git_ref = 25;
optional string git_path = 26;
string full_ref = 27;
repeated SkillDescriptor skills = 28;
repeated SubagentDescriptor subagents = 29;
repeated HookDescriptor hooks = 30;
repeated RuleDescriptor rules = 31;
repeated McpDescriptor mcp_servers = 32;
repeated CommandDescriptor commands = 33;
optional string release_repo = 34;
optional string release_asset = 35;
optional string release_tag = 36;
repeated string curated_category_keys = 37;
google.protobuf.Struct variables = 38;
optional TeamMarketplacePluginInstallMode team_marketplace_install_mode = 39;
google.protobuf.Struct team_marketplace_configured_variables = 40;
PluginLifecycleState lifecycle_state = 41;
}
// Copied from: local:aiserver.v1.PluginLifecycleState (var: Tt)
enum PluginLifecycleState {
PLUGIN_LIFECYCLE_STATE_UNSPECIFIED = 0;
PLUGIN_LIFECYCLE_STATE_PUBLIC_LISTED = 1;
PLUGIN_LIFECYCLE_STATE_PUBLIC_UNLISTED = 2;
PLUGIN_LIFECYCLE_STATE_PUBLIC_DRAFT = 3;
PLUGIN_LIFECYCLE_STATE_PUBLIC_PENDING = 4;
PLUGIN_LIFECYCLE_STATE_PUBLIC_REJECTED = 5;
PLUGIN_LIFECYCLE_STATE_PUBLISHER_SUBMISSION = 6;
PLUGIN_LIFECYCLE_STATE_PRIVATE_ACTIVE = 7;
PLUGIN_LIFECYCLE_STATE_PUBLIC_DEPRECATED = 10;
PLUGIN_LIFECYCLE_STATE_PRIVATE_DEPRECATED = 11;
PLUGIN_LIFECYCLE_STATE_PUBLIC_INVALID = 12;
PLUGIN_LIFECYCLE_STATE_PRIVATE_INVALID = 13;
PLUGIN_LIFECYCLE_STATE_PRIVATE_PUBLISHED = 14;
}
// Copied from: local:aiserver.v1.PluginMcpConfigEntry (var: Fi)
message PluginMcpConfigEntry {
string config_json = 1;
string commit_sha = 2;
}
// Copied from: local:aiserver.v1.PluginPrimitiveType (var: yt)
enum PluginPrimitiveType {
PLUGIN_PRIMITIVE_TYPE_UNSPECIFIED = 0;
PLUGIN_PRIMITIVE_TYPE_SKILL = 1;
PLUGIN_PRIMITIVE_TYPE_MCP = 2;
PLUGIN_PRIMITIVE_TYPE_SUBAGENT = 3;
PLUGIN_PRIMITIVE_TYPE_COMMAND = 4;
}
// Copied from: local:aiserver.v1.PluginPrimitiveUsageInterval (var: kt)
enum PluginPrimitiveUsageInterval {
PLUGIN_PRIMITIVE_USAGE_INTERVAL_UNSPECIFIED = 0;
PLUGIN_PRIMITIVE_USAGE_INTERVAL_LAST_1W = 1;
PLUGIN_PRIMITIVE_USAGE_INTERVAL_ALL_TIME = 2;
PLUGIN_PRIMITIVE_USAGE_INTERVAL_LAST_1D = 3;
PLUGIN_PRIMITIVE_USAGE_INTERVAL_LAST_14D = 4;
PLUGIN_PRIMITIVE_USAGE_INTERVAL_LAST_90D = 5;
PLUGIN_PRIMITIVE_USAGE_INTERVAL_LAST_30D = 6;
}
// Copied from: local:aiserver.v1.PluginRef (var: jS)
message PluginRef {
string name = 1;
optional string marketplace_name = 2;
}
// Copied from: local:aiserver.v1.PluginStatus (var: _t)
enum PluginStatus {
PLUGIN_STATUS_UNSPECIFIED = 0;
PLUGIN_STATUS_DRAFT = 1;
PLUGIN_STATUS_PENDING_APPROVAL = 2;
PLUGIN_STATUS_APPROVED = 3;
PLUGIN_STATUS_REJECTED = 4;
PLUGIN_STATUS_UNLISTED = 5;
}
// Copied from: local:aiserver.v1.PodReference (var: Hl)
message PodReference {
string pod_id = 1;
string tenant_id = 2;
string network_token = 3;
string cluster = 4;
optional string exec_daemon_auth_token = 5;
optional string pty_auth_token = 6;
}
// Copied from: local:aiserver.v1.PointInTimeModel (var: Ce)
message PointInTimeModel {
string model_uuid = 1;
int32 model_version = 2;
string relative_path = 3;
string model_id = 4;
}
// Copied from: local:aiserver.v1.PollLoginRequest (var: dt)
message PollLoginRequest {
}
// Copied from: local:aiserver.v1.PollLoginResponse (var: pt)
message PollLoginResponse {
// Copied from: local:aiserver.v1.PollLoginResponse.Status (var: B)
enum Status {
STATUS_UNSPECIFIED = 0;
STATUS_LOGGED_IN = 1;
STATUS_FAILURE = 2;
STATUS_CHECKING = 3;
}
Status status = 1;
}
// Copied from: agent.v1.PostCommentAction (var: Wt)
message PostCommentAction {
optional string pr_url = 1;
optional string branch_name = 2;
string body = 3;
optional string repo_url = 4;
optional int64 in_reply_to = 5;
optional string path = 6;
optional int32 line = 7;
optional int32 start_line = 8;
optional string side = 9;
}
// Copied from: agent.v1.PostRequestPromptUpdate (var: Ya)
message PostRequestPromptUpdate {
string title = 1;
string message = 2;
string button_label = 3;
string button_url = 4;
}
// Copied from: agent.v1.PostToolUseFailureRequestQuery (var: hl)
message PostToolUseFailureRequestQuery {
string tool_name = 1;
google.protobuf.Struct tool_input = 2;
string error_message = 3;
string failure_type = 4;
int64 duration_ms = 5;
string tool_use_id = 6;
bool is_interrupt = 7;
optional string conversation_id = 8;
optional string generation_id = 9;
optional string model = 10;
optional string model_id = 11;
repeated RequestedModel.ModelParameterValue model_params = 12;
}
// Copied from: agent.v1.PostToolUseFailureRequestResponse (var: Al)
message PostToolUseFailureRequestResponse {
optional string additional_context = 1;
}
// Copied from: agent.v1.PostToolUseRequestQuery (var: fl)
message PostToolUseRequestQuery {
string tool_name = 1;
google.protobuf.Struct tool_input = 2;
string tool_output = 3;
int64 duration_ms = 4;
string tool_use_id = 5;
optional string cwd = 6;
optional string conversation_id = 7;
optional string generation_id = 8;
optional string model = 9;
optional string model_id = 10;
repeated RequestedModel.ModelParameterValue model_params = 11;
}
// Copied from: agent.v1.PostToolUseRequestResponse (var: gl)
message PostToolUseRequestResponse {
optional string additional_context = 1;
}
// Copied from: local:aiserver.v1.PotentialLocsInitialQueriesRequest (var: Co)
message PotentialLocsInitialQueriesRequest {
string query = 1;
}
// Copied from: local:aiserver.v1.PotentialLocsInitialQueriesResponse (var: No)
message PotentialLocsInitialQueriesResponse {
string hyde_query = 1;
}
// Copied from: local:aiserver.v1.PotentialLocsRequest (var: bo)
message PotentialLocsRequest {
string text = 1;
}
// Copied from: local:aiserver.v1.PotentialLocsResponse (var: Mo)
message PotentialLocsResponse {
string potential_loc = 1;
}
// Copied from: local:aiserver.v1.PotentialLocsUnderneathRequest (var: Ro)
message PotentialLocsUnderneathRequest {
string file = 1;
repeated SimplestRange ranges = 2;
string query = 3;
}
// Copied from: local:aiserver.v1.PotentialLocsUnderneathResponse (var: Po)
message PotentialLocsUnderneathResponse {
string text = 1;
}
// Copied from: local:aiserver.v1.PotentiallyCachedContextItem (var: m)
message PotentiallyCachedContextItem {
oneof item {
ContextItem context_item = 1;
string context_item_hash = 2;
}
}
// Copied from: local:aiserver.v1.PotentiallyGenerateMemoryRequest (var: mu)
message PotentiallyGenerateMemoryRequest {
string request_id = 1;
repeated ConversationMessage conversation = 2;
optional string git_upstream_url = 3;
string composer_id = 4;
}
// Copied from: local:aiserver.v1.PotentiallyGenerateMemoryResponse (var: cu)
message PotentiallyGenerateMemoryResponse {
optional string saved_memory = 1;
optional string knowledge_id = 2;
optional string title = 3;
}
// Copied from: agent.v1.PrManagementArgs (var: Vt)
message PrManagementArgs {
string tool_call_id = 1;
oneof action {
CreatePrAction create_pr = 2;
UpdatePrAction update_pr = 3;
PostCommentAction post_comment = 4;
ResolveCommentAction resolve_comment = 5;
GetCiStatusAction get_ci_status = 6;
SetPrStatusAction set_pr_status = 7;
}
}
// Copied from: agent.v1.PrManagementError (var: en)
message PrManagementError {
string error = 1;
}
// Copied from: agent.v1.PrManagementNeedsConfirmation (var: rn)
message PrManagementNeedsConfirmation {
string message = 1;
string discovered_pr_url = 2;
int32 discovered_pr_number = 3;
string discovered_pr_title = 4;
string branch_name = 5;
}
// Copied from: agent.v1.PrManagementRegistered (var: nn)
message PrManagementRegistered {
string message = 1;
string title = 2;
string body = 3;
optional string base_branch = 4;
optional bool draft = 5;
string branch_name = 6;
}
// Copied from: agent.v1.PrManagementRejected (var: tn)
message PrManagementRejected {
string reason = 1;
}
// Copied from: agent.v1.PrManagementRequestQuery (var: on)
message PrManagementRequestQuery {
PrManagementArgs args = 1;
}
// Copied from: agent.v1.PrManagementResult (var: Zt)
message PrManagementResult {
oneof result {
PrManagementSuccess success = 1;
PrManagementError error = 2;
PrManagementRejected rejected = 3;
PrManagementRegistered registered = 4;
PrManagementNeedsConfirmation needs_confirmation = 5;
}
}
// Copied from: agent.v1.PrManagementSuccess (var: $t)
message PrManagementSuccess {
string pr_url = 1;
int32 pr_number = 2;
string message = 3;
}
// Copied from: local:aiserver.v1.PrReviewOpenDestinationMode (var: we)
enum PrReviewOpenDestinationMode {
PR_REVIEW_OPEN_DESTINATION_MODE_UNSPECIFIED = 0;
PR_REVIEW_OPEN_DESTINATION_MODE_GITHUB = 1;
PR_REVIEW_OPEN_DESTINATION_MODE_GRAPHITE = 2;
PR_REVIEW_OPEN_DESTINATION_MODE_REVIEW_CURSOR = 3;
}
// Copied from: local:aiserver.v1.PrReviewOpenSurfaceMode (var: Ee)
enum PrReviewOpenSurfaceMode {
PR_REVIEW_OPEN_SURFACE_MODE_UNSPECIFIED = 0;
PR_REVIEW_OPEN_SURFACE_MODE_IN_APP = 1;
PR_REVIEW_OPEN_SURFACE_MODE_EXTERNAL_BROWSER = 2;
}
// Copied from: agent.v1.PreCompactRequestQuery (var: Xa)
message PreCompactRequestQuery {
string trigger = 1;
double context_usage_percent = 2;
int64 context_tokens = 3;
int64 context_window_size = 4;
int32 message_count = 5;
int32 messages_to_compact = 6;
bool is_first_compaction = 7;
optional string conversation_id = 8;
optional string generation_id = 9;
optional string model = 10;
optional string model_id = 11;
repeated RequestedModel.ModelParameterValue model_params = 12;
}
// Copied from: agent.v1.PreCompactRequestResponse (var: Za)
message PreCompactRequestResponse {
optional string user_message = 1;
}
// Copied from: local:aiserver.v1.PreFetchedBlob (var: Ba)
message PreFetchedBlob {
bytes id = 1;
bytes value = 2;
}
// Copied from: local:aiserver.v1.PreFetchedBlobFilter (var: Ea)
message PreFetchedBlobFilter {
uint32 seed = 1;
uint32 segment_length = 2;
uint32 segment_count = 3;
uint32 fingerprint_bits = 4;
uint32 slot_count = 5;
bytes packed_fingerprints = 6;
}
// Copied from: agent.v1.PreToolUseRequestQuery (var: dl)
message PreToolUseRequestQuery {
string tool_name = 1;
google.protobuf.Struct tool_input = 2;
string tool_use_id = 3;
optional string cwd = 4;
optional string conversation_id = 5;
optional string generation_id = 6;
optional string model = 7;
optional string model_id = 8;
repeated RequestedModel.ModelParameterValue model_params = 9;
}
// Copied from: agent.v1.PreToolUseRequestResponse (var: pl)
message PreToolUseRequestResponse {
optional string permission = 1;
optional string user_message = 2;
optional string agent_message = 3;
optional string updated_input = 4;
optional string additional_context = 5;
}
// Copied from: local:aiserver.v1.PreWarmPodRequest (var: To)
message PreWarmPodRequest {
StartBackgroundComposerFromSnapshotRequest start_request = 1;
}
// Copied from: local:aiserver.v1.PreWarmPodResponse (var: yo)
message PreWarmPodResponse {
}
// Copied from: agent.v1.PrecomputedHumanChange (var: R)
message PrecomputedHumanChange {
string path = 1;
repeated PrecomputedHumanChangeRenderedDiff rendered_diffs = 2;
bool is_new_file = 3;
bool is_deleted_file = 4;
}
// Copied from: agent.v1.PrecomputedHumanChangeRenderedDiff (var: N)
message PrecomputedHumanChangeRenderedDiff {
int32 start_line_number = 1;
int32 end_line_number_exclusive = 2;
repeated string before_context_lines = 3;
repeated string removed_lines = 4;
repeated string added_lines = 5;
repeated string after_context_lines = 6;
}
// Copied from: local:aiserver.v1.PreferredRepoSourceMode (var: Je)
enum PreferredRepoSourceMode {
PREFERRED_REPO_SOURCE_MODE_UNSPECIFIED = 0;
PREFERRED_REPO_SOURCE_MODE_GITHUB = 1;
PREFERRED_REPO_SOURCE_MODE_ORIGIN = 2;
}
// Copied from: local:aiserver.v1.PreflightMergeOrganizationIdentityProviderRequest (var: wr)
message PreflightMergeOrganizationIdentityProviderRequest {
string organization_id = 1;
string source_identity_provider_public_id = 2;
}
// Copied from: local:aiserver.v1.PreflightMergeOrganizationIdentityProviderResponse (var: Sr)
message PreflightMergeOrganizationIdentityProviderResponse {
bool can_merge = 1;
repeated OrganizationMergeIdpBlocker blockers = 2;
}
// Copied from: local:aiserver.v1.PreloadEditRequest (var: eo)
message PreloadEditRequest {
StreamEditRequest req = 1;
}
// Copied from: local:aiserver.v1.PreloadEditResponse (var: to)
message PreloadEditResponse {
}
// Copied from: local:aiserver.v1.PrepareGithubConnectFlowRequest (var: Wt)
message PrepareGithubConnectFlowRequest {
// Copied from: local:aiserver.v1.PrepareGithubConnectFlowRequest.Source (var: vt)
enum Source {
SOURCE_UNSPECIFIED = 0;
SOURCE_GLASS_CLOUD_AGENT = 1;
SOURCE_GLASS_DIFF = 2;
SOURCE_GLASS_AUTOMATIONS = 3;
}
string github_repo = 1;
optional string ghe_application = 2;
Source source = 3;
string verifier_hash = 4;
bool force_oauth = 5;
}
// Copied from: local:aiserver.v1.PrepareGithubConnectFlowResponse (var: zt)
message PrepareGithubConnectFlowResponse {
string flow_id = 1;
string state = 2;
string github_url = 3;
int64 expires_at_ms = 4;
bool should_install = 5;
optional string ghe_application = 6;
}
// Copied from: local:aiserver.v1.PrepareLocalFullSelfDrivingRunRequest (var: $)
message PrepareLocalFullSelfDrivingRunRequest {
string pr_url = 1;
FullSelfDrivingMode mode = 2;
optional string trigger_description = 3;
optional string model_id = 4;
}
// Copied from: local:aiserver.v1.PrepareLocalFullSelfDrivingRunResponse (var: ee)
message PrepareLocalFullSelfDrivingRunResponse {
string local_run_id = 1;
string prompt = 2;
string triage_context_json = 3;
FullSelfDrivingMode mode = 4;
string model_id = 5;
repeated string skill_ids = 6;
repeated AgentSkill skills = 7;
}
// Copied from: local:aiserver.v1.PrepareSetupGithubEnterpriseAppRequest (var: Zt)
message PrepareSetupGithubEnterpriseAppRequest {
string hostname = 1;
optional string external_host = 2;
}
// Copied from: local:aiserver.v1.PrepareSetupGithubEnterpriseAppResponse (var: $t)
message PrepareSetupGithubEnterpriseAppResponse {
string pending_app_uuid = 1;
string serialized_manifest = 2;
}
// Copied from: local:aiserver.v1.PresignAgentStoreReadsRequest (var: Tf)
message PresignAgentStoreReadsRequest {
string agent_id = 1;
repeated string rel_paths = 2;
optional string share_id = 3;
optional string store_id = 4;
}
// Copied from: local:aiserver.v1.PresignAgentStoreReadsResponse (var: yf)
message PresignAgentStoreReadsResponse {
repeated AgentStoreReadInstruction instructions = 1;
}
// Copied from: local:aiserver.v1.PresignAgentStoreWritesRequest (var: Cf)
message PresignAgentStoreWritesRequest {
string agent_id = 1;
repeated AgentStoreWriteFileEntry files = 2;
optional string store_id = 3;
optional string lock_token = 4;
optional string lock_client_uuid = 5;
}
// Copied from: local:aiserver.v1.PresignAgentStoreWritesResponse (var: Nf)
message PresignAgentStoreWritesResponse {
repeated AgentStoreWriteInstruction instructions = 1;
}
// Copied from: local:aiserver.v1.PreviewAttachGroupToDirectoryRequest (var: b_)
message PreviewAttachGroupToDirectoryRequest {
int32 group_id = 1;
int32 team_id = 2;
int32 directory_group_id = 3;
optional GroupType type = 4;
}
// Copied from: local:aiserver.v1.PreviewAttachGroupToDirectoryResponse (var: F_)
message PreviewAttachGroupToDirectoryResponse {
repeated GroupMemberChange changes = 1;
int32 members_to_add = 2;
int32 members_to_remove = 3;
string directory_group_name = 4;
int32 members_skipped_due_to_conflict = 5;
repeated ConflictedUser conflicted_users = 6;
}
// Copied from: local:aiserver.v1.PreviewMigrateReindexPluginRepoInternalRequest (var: aS)
message PreviewMigrateReindexPluginRepoInternalRequest {
int64 publisher_id = 1;
string from_git_url = 2;
string to_git_url = 3;
optional string git_ref = 4;
optional string release_tag = 5;
}
// Copied from: local:aiserver.v1.PreviewMigrateReindexPluginRepoResponse (var: lS)
message PreviewMigrateReindexPluginRepoResponse {
string publisher_name = 1;
string from_git_url = 2;
string to_git_url = 3;
string git_url = 4;
string git_ref = 5;
string commit_sha = 6;
repeated ReindexPluginDiff plugin_diffs = 7;
ReindexSummary summary = 8;
repeated string conflicting_names = 9;
repeated string target_repo_name_conflicts = 10;
repeated string deprecated_source_name_conflicts = 11;
bool can_apply = 12;
}
// Copied from: local:aiserver.v1.PreviewReindexPluginRepoInternalRequest (var: sS)
message PreviewReindexPluginRepoInternalRequest {
int64 publisher_id = 1;
string git_url = 2;
optional string git_ref = 3;
optional string pinned_git_ref = 4;
optional string release_tag = 5;
}
// Copied from: local:aiserver.v1.PreviewReindexPluginRepoResponse (var: rS)
message PreviewReindexPluginRepoResponse {
string publisher_name = 1;
string git_url = 2;
string git_ref = 3;
string commit_sha = 4;
repeated ReindexPluginDiff plugin_diffs = 5;
ReindexSummary summary = 6;
int32 new_commit_count = 7;
repeated string conflicting_names = 8;
}
// Copied from: local:aiserver.v1.PreviewTeamMarketplaceMcpImpactRequest (var: OI)
message PreviewTeamMarketplaceMcpImpactRequest {
// Copied from: local:aiserver.v1.PreviewTeamMarketplaceMcpImpactRequest.RemoveMarketplacePreview (var: xI)
message RemoveMarketplacePreview {
}
// Copied from: local:aiserver.v1.PreviewTeamMarketplaceMcpImpactRequest.SetPoliciesPreview (var: UI)
message SetPoliciesPreview {
repeated SetTeamMarketplacePluginPoliciesRequest.Policy policies = 1;
}
int64 marketplace_id = 1;
optional int32 team_id = 2;
oneof action {
SetPoliciesPreview set_policies = 3;
RemoveMarketplacePreview remove_marketplace = 4;
}
}
// Copied from: local:aiserver.v1.PreviewTeamMarketplaceMcpImpactResponse (var: QI)
message PreviewTeamMarketplaceMcpImpactResponse {
// Copied from: local:aiserver.v1.PreviewTeamMarketplaceMcpImpactResponse.ImpactedPlugin (var: GI)
message ImpactedPlugin {
int64 plugin_id = 1;
string plugin_name = 2;
repeated string mcp_server_names = 3;
}
repeated ImpactedPlugin impacted_plugins = 1;
}
// Copied from: local:aiserver.v1.PrivacyCheckRequest (var: Ms)
message PrivacyCheckRequest {
}
// Copied from: local:aiserver.v1.PrivacyCheckResponse (var: Ls)
message PrivacyCheckResponse {
bool is_on_privacy_pod = 1;
bool is_ghost_mode_on = 2;
}
// Copied from: local:aiserver.v1.PrivacyMode (var: r)
enum PrivacyMode {
PRIVACY_MODE_UNSPECIFIED = 0;
PRIVACY_MODE_NO_STORAGE = 1;
PRIVACY_MODE_NO_TRAINING = 2;
PRIVACY_MODE_USAGE_DATA_TRAINING_ALLOWED = 3;
PRIVACY_MODE_USAGE_CODEBASE_TRAINING_ALLOWED = 4;
}
// Copied from: local:aiserver.v1.PrivacyModeCacheInfo (var: ih)
message PrivacyModeCacheInfo {
PrivacyMode privacy_mode = 1;
bool is_enforced_by_team = 2;
}
// Copied from: local:aiserver.v1.PrivateWorker (var: Rp)
message PrivateWorker {
string worker_id = 1;
string repo_owner = 2;
string repo_name = 3;
string workspace_root_path = 4;
double connected_at_ms = 5;
int32 user_id = 6;
optional int32 team_id = 7;
optional string service_account_id = 8;
bool is_in_use = 9;
optional string active_bc_id = 10;
repeated PrivateWorkerLabel labels = 11;
optional string repo_url = 12;
optional string display_name = 13;
optional string machine_id = 14;
optional string machine_display_name = 15;
repeated PrivateWorkerRepo repos = 16;
}
// Copied from: local:aiserver.v1.PrivateWorkerLabel (var: Pp)
message PrivateWorkerLabel {
string key = 1;
string value = 2;
}
// Copied from: local:aiserver.v1.PrivateWorkerListScope (var: Jr)
enum PrivateWorkerListScope {
PRIVATE_WORKER_LIST_SCOPE_UNSPECIFIED = 0;
PRIVATE_WORKER_LIST_SCOPE_ALL = 1;
PRIVATE_WORKER_LIST_SCOPE_TEAM_POOL = 2;
PRIVATE_WORKER_LIST_SCOPE_PERSONAL = 3;
}
// Copied from: local:aiserver.v1.PrivateWorkerOwnerFilter (var: Dp)
message PrivateWorkerOwnerFilter {
int32 owner_cursor_user_id = 1;
}
// Copied from: local:aiserver.v1.PrivateWorkerPool (var: bp)
message PrivateWorkerPool {
PrivateWorkerPoolScope scope = 1;
int32 owner_id = 2;
string pool_name = 3;
optional string repo_owner = 4;
optional string repo_name = 5;
optional string repo_url = 6;
int32 connected_worker_count = 7;
int32 in_use_worker_count = 8;
double first_seen_at_ms = 9;
double last_seen_at_ms = 10;
bool is_stale = 11;
}
// Copied from: local:aiserver.v1.PrivateWorkerPoolScope (var: Cr)
enum PrivateWorkerPoolScope {
PRIVATE_WORKER_POOL_SCOPE_UNSPECIFIED = 0;
PRIVATE_WORKER_POOL_SCOPE_USER = 1;
PRIVATE_WORKER_POOL_SCOPE_TEAM = 2;
}
// Copied from: local:aiserver.v1.PrivateWorkerRepo (var: Np)
message PrivateWorkerRepo {
string owner = 1;
string name = 2;
string url = 3;
}
// Copied from: local:aiserver.v1.PrivateWorkerStatusFilter (var: Nr)
enum PrivateWorkerStatusFilter {
PRIVATE_WORKER_STATUS_FILTER_UNSPECIFIED = 0;
PRIVATE_WORKER_STATUS_FILTER_ALL = 1;
PRIVATE_WORKER_STATUS_FILTER_IN_USE = 2;
PRIVATE_WORKER_STATUS_FILTER_IDLE = 3;
}
// Copied from: local:aiserver.v1.PrivateWorkspaceIdentifier (var: Yi)
message PrivateWorkspaceIdentifier {
string id = 1;
string uri = 2;
}
// Copied from: local:aiserver.v1.ProbeMcpUrlRequest (var: Ui)
message ProbeMcpUrlRequest {
string url = 1;
map<string, string> headers = 2;
optional string oauth_redirect_uri = 3;
optional string auth_client_id = 4;
optional string auth_client_secret = 5;
}
// Copied from: local:aiserver.v1.ProbeMcpUrlResponse (var: xi)
message ProbeMcpUrlResponse {
bool is_available = 1;
bool requires_auth = 2;
optional string auth_url = 3;
optional string error = 4;
}
// Copied from: local:aiserver.v1.ProcessMetricsRowRequest (var: $l)
message ProcessMetricsRowRequest {
int32 pid = 1;
int32 ppid = 2;
string name = 3;
string extension_id = 4;
int64 cpu_time_ms_sample = 5;
double sample_avg_mem_mb = 6;
double sample_peak_mem_mb = 7;
double session_peak_mem_mb = 8;
optional string process_name_hash = 9;
}
// Copied from: local:aiserver.v1.ProcessMetricsV2RowRequest (var: nu)
message ProcessMetricsV2RowRequest {
int32 pid = 1;
int32 ppid = 2;
string process_name = 3;
string extension_id = 4;
string process_name_hash = 5;
int64 sample_cpu_time_ms = 6;
double sample_avg_mem_mb = 7;
double sample_peak_mem_mb = 8;
double session_peak_mem_mb = 9;
double memory_during_sample_peak_mb = 10;
double cpu_during_sample_peak_pct = 11;
repeated string argv = 12;
}
// Copied from: local:aiserver.v1.ProfileConfig (var: me)
message ProfileConfig {
string id = 1;
optional HeapProfileConfig heap = 2;
optional CpuProfileConfig cpu = 3;
}
// Copied from: local:aiserver.v1.ProfileKind (var: s)
enum ProfileKind {
PROFILE_KIND_UNSPECIFIED = 0;
PROFILE_KIND_WALL = 1;
PROFILE_KIND_ALLOCATION = 2;
PROFILE_KIND_CPU = 3;
}
// Copied from: local:aiserver.v1.ProfileScheduleConfig (var: ce)
message ProfileScheduleConfig {
// Copied from: local:aiserver.v1.ProfileScheduleConfig.ScheduleConfig (var: de)
message ScheduleConfig {
int32 interval = 1;
int32 duration = 2;
}
string id = 1;
string process = 2;
string config_id = 3;
ScheduleConfig schedule = 4;
int32 activity_timeout = 5;
}
// Copied from: local:aiserver.v1.ProfilingConfig (var: pe)
message ProfilingConfig {
bool enabled = 1;
repeated ProfileConfig configs = 2;
repeated ProfileScheduleConfig schedules = 3;
}
// Copied from: agent.v1.ProjectDetails (var: Ii)
message ProjectDetails {
optional string name = 1;
optional ProjectSubagentDetails subagent = 2;
optional ProjectSideChatDetails side_chat = 3;
}
// Copied from: local:aiserver.v1.ProjectLayout (var: Dn)
message ProjectLayout {
string root_path = 1;
ProjectLayoutDirectoryContent content = 2;
optional ListDirV2Result list_dir_v2_result = 3;
}
// Copied from: local:aiserver.v1.ProjectLayoutDirectory (var: Un)
message ProjectLayoutDirectory {
string name = 1;
ProjectLayoutDirectoryContent content = 2;
}
// Copied from: local:aiserver.v1.ProjectLayoutDirectoryContent (var: On)
message ProjectLayoutDirectoryContent {
repeated ProjectLayoutDirectory directories = 1;
repeated ProjectLayoutFile files = 2;
optional int32 total_files = 3;
optional int32 total_subfolders = 4;
repeated ProjectLayoutFile hidden_files = 5;
}
// Copied from: local:aiserver.v1.ProjectLayoutFile (var: xn)
message ProjectLayoutFile {
string name = 1;
}
// Copied from: agent.v1.ProjectSideChatDetails (var: Bi)
message ProjectSideChatDetails {
string store_dir = 1;
}
// Copied from: agent.v1.ProjectSubagentDetails (var: vi)
message ProjectSubagentDetails {
optional string store_dir = 2;
}
// Copied from: local:aiserver.v1.ProjectionScoreSet (var: i)
message ProjectionScoreSet {
int64 source_watermark_ms = 1;
int64 generated_at_ms = 2;
int64 expires_at_ms = 3;
repeated SubjectScore scores = 4;
}
// Copied from: agent.v1.PromptContextNode (var: Wi)
message PromptContextNode {
string id = 1;
optional string parent_id = 2;
string kind = 3;
string label = 4;
string category_id = 5;
uint32 estimated_tokens = 6;
uint32 character_count = 7;
bool content_available = 9;
optional PromptContextSourceRef source = 11;
optional string inline_content = 12;
}
// Copied from: agent.v1.PromptContextSourceRef (var: Ki)
message PromptContextSourceRef {
string source_type = 1;
uint32 message_index = 3;
string content_path = 4;
uint32 start_offset = 5;
uint32 end_offset = 6;
}
// Copied from: agent.v1.PromptContextUsageTree (var: zi)
message PromptContextUsageTree {
uint32 schema_version = 1;
repeated PromptContextNode nodes = 2;
}
// Copied from: local:aiserver.v1.PromptDeeplinkControls (var: pc)
message PromptDeeplinkControls {
bool enabled = 1;
}
// Copied from: agent.v1.PromptSuggestionUpdate (var: Ma)
message PromptSuggestionUpdate {
string suggestion = 1;
}
// Copied from: agent.v1.PromptTokenBreakdownCategory (var: Vi)
message PromptTokenBreakdownCategory {
string id = 1;
string label = 2;
uint32 estimated_tokens = 3;
optional uint32 character_count = 4;
}
// Copied from: agent.v1.PromptTokenBreakdownSnapshot (var: Yi)
message PromptTokenBreakdownSnapshot {
uint32 total_used_tokens = 1;
uint32 max_tokens = 2;
repeated PromptTokenBreakdownCategory categories = 3;
}
// Copied from: local:aiserver.v1.ProtectedGitProvider (var: Te)
enum ProtectedGitProvider {
PROTECTED_GIT_PROVIDER_UNSPECIFIED = 0;
PROTECTED_GIT_PROVIDER_GITHUB = 1;
PROTECTED_GIT_PROVIDER_GITLAB = 2;
PROTECTED_GIT_PROVIDER_GITHUB_ENTERPRISE = 3;
PROTECTED_GIT_PROVIDER_GITLAB_SELF_HOSTED = 4;
PROTECTED_GIT_PROVIDER_ORIGIN = 5;
}
// Copied from: local:aiserver.v1.ProtectedGitScope (var: Mm)
message ProtectedGitScope {
int64 id = 1;
int32 team_id = 2;
string team_name = 3;
string git_org_owner = 4;
ProtectedGitProvider git_provider = 5;
optional string git_enterprise_uuid = 6;
int64 created_at = 7;
int64 updated_at = 8;
}
// Copied from: local:aiserver.v1.ProtoDoc (var: g)
message ProtoDoc {
int32 id = 1;
string uuid = 2;
string doc_identifier = 3;
string doc_name = 4;
string doc_url_root = 5;
string doc_url_prefix = 6;
bool is_different_prefix = 7;
string created_at = 8;
string updated_at = 9;
string last_uploaded_at = 10;
UploadedStatus upload_status = 11;
bool show_to_all_users = 12;
int32 team_id = 13;
string custom_instructions = 14;
repeated ProtoDocPage pages = 15;
bool publish_to_team = 16;
}
// Copied from: local:aiserver.v1.ProtoDocPage (var: h)
message ProtoDocPage {
string url = 1;
string title = 2;
}
// Copied from: local:aiserver.v1.ProvisionSyntheticsServiceAccountsRequest (var: Zd)
message ProvisionSyntheticsServiceAccountsRequest {
int32 team_id = 1;
int32 count = 2;
string name_prefix = 3;
string pool_name = 4;
string created_by = 5;
bool provision_origin_repos = 6;
string origin_namespace = 7;
}
// Copied from: local:aiserver.v1.ProvisionSyntheticsServiceAccountsResponse (var: ep)
message ProvisionSyntheticsServiceAccountsResponse {
repeated ProvisionedSyntheticsIdentity identities = 1;
string pool_id = 2;
}
// Copied from: local:aiserver.v1.ProvisionedSyntheticsIdentity (var: $d)
message ProvisionedSyntheticsIdentity {
string identity_id = 1;
string service_account_id = 2;
string service_account_name = 3;
string masked_api_key = 4;
string repo_url = 5;
string repo_ref = 6;
}
// Copied from: local:aiserver.v1.PseudocodeTarget (var: Ao)
message PseudocodeTarget {
SimpleRange range = 1;
string content = 2;
}
// Copied from: local:aiserver.v1.PublicArtifactSharingMode (var: Ie)
enum PublicArtifactSharingMode {
PUBLIC_ARTIFACT_SHARING_MODE_UNSPECIFIED = 0;
PUBLIC_ARTIFACT_SHARING_MODE_ALLOWED = 1;
PUBLIC_ARTIFACT_SHARING_MODE_DISABLED = 2;
}
// Copied from: local:aiserver.v1.PublicProfileActivityCount (var: wE)
message PublicProfileActivityCount {
string date = 1;
int32 count = 2;
int64 value = 3;
}
// Copied from: local:aiserver.v1.PublicProfileActivitySummary (var: vE)
message PublicProfileActivitySummary {
string most_active_month = 1;
string most_active_day = 2;
int32 longest_streak = 3;
int32 current_streak = 4;
repeated string active_dates = 5;
repeated PublicProfileDailyAgentCount daily_agent_counts = 6;
repeated PublicProfileActivityCount activity_counts = 7;
repeated PublicProfileModelUsage top_models = 8;
int32 agents_local = 10;
int32 agents_cloud = 11;
int64 longest_agent_seconds = 12;
repeated PublicProfileTokensPerDay tokens_over_time = 13;
repeated PublicProfileAgentsPerDay agents_over_time = 14;
}
// Copied from: local:aiserver.v1.PublicProfileAgentsPerDay (var: IE)
message PublicProfileAgentsPerDay {
string date = 1;
int32 local_count = 2;
int32 cloud_count = 3;
}
// Copied from: local:aiserver.v1.PublicProfileDailyAgentCount (var: kE)
message PublicProfileDailyAgentCount {
string date = 1;
int32 agent_count = 2;
}
// Copied from: local:aiserver.v1.PublicProfileModelUsage (var: EE)
message PublicProfileModelUsage {
string name = 1;
int32 agent_requests = 2;
string vendor = 3;
}
// Copied from: local:aiserver.v1.PublicProfileSettings (var: Ic)
message PublicProfileSettings {
bool public_visibility_allowed = 1;
string policy = 2;
}
// Copied from: local:aiserver.v1.PublicProfileTokensPerDay (var: SE)
message PublicProfileTokensPerDay {
string date = 1;
int64 tokens = 2;
}
// Copied from: local:aiserver.v1.PublicSharedCanvasPreview (var: Hk)
message PublicSharedCanvasPreview {
string title = 1;
}
// Copied from: local:aiserver.v1.PublishEnvironmentRequest (var: _u)
message PublishEnvironmentRequest {
int64 id = 1;
EnvironmentType environment_type = 2;
}
// Copied from: local:aiserver.v1.PublishEnvironmentResponse (var: Tu)
message PublishEnvironmentResponse {
bool success = 1;
string pr_url = 2;
string branch_name = 3;
optional string error = 4;
}
// Copied from: local:aiserver.v1.PublishPersonalEnvironmentRequest (var: yu)
message PublishPersonalEnvironmentRequest {
int64 id = 1;
}
// Copied from: local:aiserver.v1.PublishPersonalEnvironmentResponse (var: ku)
message PublishPersonalEnvironmentResponse {
bool success = 1;
string pr_url = 2;
string branch_name = 3;
optional string error = 4;
}
// Copied from: local:aiserver.v1.PublishPluginRequest (var: VE)
message PublishPluginRequest {
int32 team_id = 1;
string name = 2;
string display_name = 3;
string description = 4;
bytes plugin_tar_gz = 5;
optional string commit_message = 6;
}
// Copied from: local:aiserver.v1.PublishPluginResponse (var: YE)
message PublishPluginResponse {
int64 plugin_id = 1;
int64 marketplace_id = 2;
string commit_sha = 3;
}
// Copied from: local:aiserver.v1.Publisher (var: iE)
message Publisher {
int64 id = 1;
string name = 2;
string display_name = 3;
optional string description = 4;
optional int32 owner_user_id = 5;
optional int32 owner_team_id = 6;
bool is_verified = 7;
optional int64 verified_at = 8;
optional string verified_domain = 9;
optional string logo_url = 10;
optional string website_url = 11;
optional string support_url = 12;
int64 created_at = 13;
int64 updated_at = 14;
}
// Copied from: local:aiserver.v1.PullRequest (var: pn)
message PullRequest {
string title = 1;
string body = 2;
repeated FileDiff diff = 3;
int64 id = 4;
int64 number = 5;
}
// Copied from: local:aiserver.v1.PullRequestFileContentsStatus (var: xn)
enum PullRequestFileContentsStatus {
PULL_REQUEST_FILE_CONTENTS_STATUS_UNSPECIFIED = 0;
PULL_REQUEST_FILE_CONTENTS_STATUS_OK = 1;
PULL_REQUEST_FILE_CONTENTS_STATUS_NOT_FOUND = 2;
PULL_REQUEST_FILE_CONTENTS_STATUS_TOO_LARGE = 3;
PULL_REQUEST_FILE_CONTENTS_STATUS_NOT_SUPPORTED = 4;
PULL_REQUEST_FILE_CONTENTS_STATUS_ERROR = 5;
}
// Copied from: local:aiserver.v1.PullRequestLabel (var: Jf)
message PullRequestLabel {
int64 id = 1;
string node_id = 2;
string url = 3;
string name = 4;
string description = 5;
string color = 6;
bool is_default = 7;
}
// Copied from: local:aiserver.v1.PullRequestPathCodeowners (var: Ks)
message PullRequestPathCodeowners {
string path = 1;
repeated string owners = 2;
}
// Copied from: local:aiserver.v1.PullRequestPreferences (var: zm)
message PullRequestPreferences {
PrReviewOpenDestinationMode pr_review_open_destination = 1;
}
// Copied from: local:aiserver.v1.PullRequestReference (var: sr)
message PullRequestReference {
string sha = 1;
float score = 2;
optional string title = 3;
optional string summary = 4;
optional uint32 pr_number = 5;
optional string author = 6;
optional string date = 7;
repeated string changed_files = 8;
}
// Copied from: local:aiserver.v1.PullRequestResult (var: Pu)
message PullRequestResult {
string sha = 1;
string full_pr_contents = 2;
float score = 3;
}
// Copied from: agent.v1.PullRequestStatus (var: xt)
enum PullRequestStatus {
PULL_REQUEST_STATUS_UNSPECIFIED = 0;
PULL_REQUEST_STATUS_OPEN = 1;
PULL_REQUEST_STATUS_CLOSED = 2;
}
// Copied from: local:aiserver.v1.PureMessage (var: me)
message PureMessage {
// Copied from: local:aiserver.v1.PureMessage.MessageType (var: u)
enum MessageType {
MESSAGE_TYPE_UNSPECIFIED = 0;
MESSAGE_TYPE_SYSTEM = 1;
MESSAGE_TYPE_USER = 2;
MESSAGE_TYPE_ASSISTANT = 3;
}
MessageType message_type = 1;
string content = 2;
}
// Copied from: local:aiserver.v1.PushAiThoughtRequest (var: Vi)
message PushAiThoughtRequest {
// Copied from: local:aiserver.v1.PushAiThoughtRequest.Metadata (var: Yi)
message Metadata {
// Copied from: local:aiserver.v1.PushAiThoughtRequest.Metadata.AcceptedHallucinatedFunctionEvent (var: Ki)
message AcceptedHallucinatedFunctionEvent {
string implementation_uuid = 1;
string hallucinated_function_uuid = 2;
string implementation = 3;
string source = 4;
string implementation_reqid = 5;
string plan_reqid = 6;
string reflection_reqid = 7;
}
oneof event {
AcceptedHallucinatedFunctionEvent accepted_hallucinated_function_event = 1;
}
}
string thought = 1;
CmdKDebugInfo cmd_k_debug_info = 2;
bool automated = 3;
optional Metadata metadata = 4;
}
// Copied from: local:aiserver.v1.PushAiThoughtResponse (var: Wi)
message PushAiThoughtResponse {
}
// Copied from: local:aiserver.v1.PushPlatform (var: wr)
enum PushPlatform {
PUSH_PLATFORM_UNSPECIFIED = 0;
PUSH_PLATFORM_IOS = 1;
PUSH_PLATFORM_ANDROID = 2;
PUSH_PLATFORM_WEB = 3;
}
// Copied from: local:aiserver.v1.QueryOnlyRepoAccess (var: $e)
message QueryOnlyRepoAccess {
string owner_auth_id = 1;
string access_token = 2;
string user_repo_owner = 3;
string user_repo_name = 4;
}
// Copied from: local:aiserver.v1.QueryOnlyRepositoryInfo (var: j)
message QueryOnlyRepositoryInfo {
RepositoryInfo repository = 1;
QueryOnlyRepoAccess query_only_repo_access = 2;
}
// Copied from: local:aiserver.v1.QueuedFollowup (var: Pd)
message QueuedFollowup {
string followup_id = 1;
int64 created_at_ms = 2;
BackgroundComposerSource source = 3;
bool is_simulated = 4;
bool synchronous = 5;
repeated SelectedCursorCommand cursor_commands = 6;
bool cursor_commands_explicitly_set = 7;
optional ConversationAction conversation_action = 8;
repeated TaskSubagentReturnValue blob_data = 9;
optional ModelDetails model_details = 10;
optional int64 editing_started_at_ms = 11;
optional string run_id = 12;
optional RequestedModel requested_model = 13;
optional int64 turn_start_unix_ms = 14;
optional int64 not_before_unix_ms = 15;
bytes conversation_action_blob_id = 16;
optional string request_id = 17;
optional StopHookContinuation stop_hook_continuation = 18;
optional string resubmit_from_message_id = 19;
optional bool use_experimental_model_opt_out = 20;
string coalescing_key = 21;
repeated string merged_followup_ids = 22;
repeated ConversationActionReference merged_action_refs = 23;
}
// Copied from: local:aiserver.v1.QueuedInteractionResponse (var: Ld)
message QueuedInteractionResponse {
uint32 query_id = 1;
InteractionResponse interaction_response = 2;
int64 submitted_at_ms = 3;
}
// Copied from: local:aiserver.v1.QueuedMakePRRequest (var: Fd)
message QueuedMakePRRequest {
string request_id = 1;
int64 created_at_ms = 2;
bytes request_blob_id = 3;
}
// Copied from: local:aiserver.v1.QueuedOpenPRRequest (var: qd)
message QueuedOpenPRRequest {
string request_id = 1;
int64 created_at_ms = 2;
bytes request_blob_id = 3;
}
// Copied from: local:aiserver.v1.QuickActionCandidate (var: ti)
message QuickActionCandidate {
string id = 1;
string description = 2;
}
// Copied from: local:aiserver.v1.RCPCallFrame (var: Ge)
message RCPCallFrame {
optional string function_name = 1;
optional string url = 2;
optional int32 line_number = 3;
optional int32 column_number = 4;
}
// Copied from: local:aiserver.v1.RCPChatMessage (var: Ke)
message RCPChatMessage {
string text = 1;
}
// Copied from: local:aiserver.v1.RCPLogEntry (var: Ve)
message RCPLogEntry {
string message = 1;
double timestamp = 2;
string level = 3;
string client_name = 4;
string session_id = 5;
optional RCPStackTrace stack_trace = 6;
optional string object_data_json = 7;
}
// Copied from: local:aiserver.v1.RCPMessage (var: We)
message RCPMessage {
oneof message {
RCPLogEntry console = 1;
RCPUIElementPicked ui_element_picked = 2;
RCPChatMessage chat_message = 3;
}
}
// Copied from: local:aiserver.v1.RCPStackTrace (var: He)
message RCPStackTrace {
repeated RCPCallFrame call_frames = 1;
optional string raw_stack_trace = 2;
}
// Copied from: local:aiserver.v1.RCPUIElementPicked (var: Ye)
message RCPUIElementPicked {
string element = 1;
string xpath = 2;
string text_content = 3;
string extra = 4;
optional string component = 5;
optional string component_props_json = 6;
}
// Copied from: local:aiserver.v1.Range (var: wt)
message Range {
int32 start_line = 1;
int32 start_character = 2;
int32 end_line = 3;
int32 end_character = 4;
}
// Copied from: local:aiserver.v1.RangeGroup (var: Vl)
message RangeGroup {
optional string conversation_id = 1;
optional string model = 2;
string operation_type = 3;
repeated CommitLineRange ranges = 4;
optional string request_id = 5;
}
// Copied from: local:aiserver.v1.RankedContext (var: xe)
message RankedContext {
ContextToRank context = 1;
float score = 2;
}
// Copied from: local:aiserver.v1.RawUserData (var: md)
message RawUserData {
int64 date = 1;
int32 user_id = 2;
bool is_active = 3;
int32 total_lines_added = 4;
int32 total_lines_deleted = 5;
int32 accepted_lines_added = 6;
int32 accepted_lines_deleted = 7;
int32 total_applies = 8;
int32 total_accepts = 9;
int32 total_rejects = 10;
int32 total_tabs_shown = 11;
int32 total_tabs_accepted = 12;
int32 composer_requests = 13;
int32 chat_requests = 14;
int32 agent_requests = 15;
int32 cmdk_usages = 16;
int32 subscription_included_reqs = 17;
int32 api_key_reqs = 18;
int32 usage_based_reqs = 19;
int32 bugbot_usages = 20;
optional string most_used_model = 21;
optional string apply_most_used_extension = 22;
optional string tab_most_used_extension = 23;
optional string client_version = 24;
optional string email = 25;
}
// Copied from: local:aiserver.v1.ReadAgentStoreFileRequest (var: lf)
message ReadAgentStoreFileRequest {
string store_id = 1;
string relative_path = 2;
optional string share_id = 3;
}
// Copied from: local:aiserver.v1.ReadAgentStoreFileResponse (var: uf)
message ReadAgentStoreFileResponse {
string content = 1;
}
// Copied from: agent.v1.ReadArgs (var: f)
message ReadArgs {
string path = 1;
string tool_call_id = 2;
optional int32 offset = 4;
optional uint32 limit = 5;
optional string encoding_hint = 6;
}
// Copied from: local:aiserver.v1.ReadBinaryFileRequest (var: Gm)
message ReadBinaryFileRequest {
string bc_id = 1;
string path = 2;
}
// Copied from: local:aiserver.v1.ReadBinaryFileResponse (var: Hm)
message ReadBinaryFileResponse {
bytes content = 1;
}
// Copied from: local:aiserver.v1.ReadChunkParams (var: Nt)
message ReadChunkParams {
string relative_workspace_path = 1;
int32 start_line_number = 2;
optional int32 num_lines = 3;
}
// Copied from: local:aiserver.v1.ReadChunkResult (var: Rt)
message ReadChunkResult {
string relative_workspace_path = 1;
int32 start_line_number = 2;
repeated string lines = 3;
int32 total_num_lines = 4;
bool cropped = 5;
}
// Copied from: agent.v1.ReadError (var: A)
message ReadError {
string path = 1;
string error = 2;
}
// Copied from: agent.v1.ReadFileNotFound (var: T)
message ReadFileNotFound {
string path = 1;
}
// Copied from: local:aiserver.v1.ReadFileParams (var: he)
message ReadFileParams {
string relative_workspace_path = 1;
bool read_entire_file = 2;
optional int32 start_line_one_indexed = 3;
optional int32 end_line_one_indexed_inclusive = 4;
bool file_is_allowed_to_be_read_entirely = 5;
optional int32 max_lines = 6;
optional int32 max_chars = 7;
optional int32 min_lines = 8;
}
// Copied from: local:aiserver.v1.ReadFileResult (var: Ae)
message ReadFileResult {
string contents = 1;
bool did_downgrade_to_line_range = 2;
bool did_shorten_line_range = 3;
bool did_set_default_line_range = 4;
optional string full_file_contents = 5;
optional string outline = 6;
optional int32 start_line_one_indexed = 7;
optional int32 end_line_one_indexed_inclusive = 8;
string relative_workspace_path = 9;
bool did_shorten_char_range = 10;
optional bool read_full_file = 11;
optional int32 total_lines = 12;
repeated CursorRule matching_cursor_rules = 13;
FileGit file_git_context = 14;
}
// Copied from: local:aiserver.v1.ReadFileStream (var: _e)
message ReadFileStream {
}
// Copied from: local:aiserver.v1.ReadFileV2Params (var: ns)
message ReadFileV2Params {
string target_file = 1;
optional int32 offset = 2;
optional int32 limit = 3;
int32 chars_limit = 4;
string effective_uri = 5;
optional bool enable_line_numbers = 6;
}
// Copied from: local:aiserver.v1.ReadFileV2Result (var: rs)
message ReadFileV2Result {
optional string contents = 1;
int32 num_characters_in_requested_range = 2;
optional bool offset_is_bigger_than_number_of_lines_in_file = 3;
optional int32 total_lines_in_file = 4;
repeated CursorRule matching_cursor_rules = 5;
repeated ImageProto images = 6;
}
// Copied from: local:aiserver.v1.ReadFileV2Stream (var: ss)
message ReadFileV2Stream {
optional ReadFileV2Params params = 1;
}
// Copied from: agent.v1.ReadInvalidFile (var: k)
message ReadInvalidFile {
string path = 1;
string reason = 2;
}
// Copied from: local:aiserver.v1.ReadLintsParams (var: gr)
message ReadLintsParams {
string path = 1;
repeated string paths = 2;
}
// Copied from: local:aiserver.v1.ReadLintsResult (var: hr)
message ReadLintsResult {
string path = 1;
repeated LinterError linter_errors = 2;
repeated LinterErrors linter_errors_by_file = 3;
}
// Copied from: local:aiserver.v1.ReadLintsStream (var: Ar)
message ReadLintsStream {
}
// Copied from: agent.v1.ReadMcpResourceError (var: b)
message ReadMcpResourceError {
string uri = 1;
string error = 2;
}
// Copied from: agent.v1.ReadMcpResourceExecArgs (var: N)
message ReadMcpResourceExecArgs {
string server = 1;
string uri = 2;
optional string download_path = 3;
string tool_call_id = 4;
optional SmartModeApproval smart_mode_approval = 5;
}
// Copied from: agent.v1.ReadMcpResourceExecResult (var: R)
message ReadMcpResourceExecResult {
oneof result {
ReadMcpResourceSuccess success = 1;
ReadMcpResourceError error = 2;
ReadMcpResourceRejected rejected = 3;
ReadMcpResourceNotFound not_found = 4;
}
}
// Copied from: agent.v1.ReadMcpResourceNotFound (var: L)
message ReadMcpResourceNotFound {
string uri = 1;
}
// Copied from: local:aiserver.v1.ReadMcpResourceParams (var: Ln)
message ReadMcpResourceParams {
string server = 1;
string uri = 2;
optional string download_path = 3;
}
// Copied from: agent.v1.ReadMcpResourceRejected (var: M)
message ReadMcpResourceRejected {
string uri = 1;
string reason = 2;
}
// Copied from: local:aiserver.v1.ReadMcpResourceResult (var: Fn)
message ReadMcpResourceResult {
string uri = 1;
optional string name = 2;
optional string description = 3;
optional string mime_type = 4;
map<string, string> annotations = 7;
oneof content {
string text = 5;
bytes blob = 6;
}
}
// Copied from: local:aiserver.v1.ReadMcpResourceStream (var: ds)
message ReadMcpResourceStream {
}
// Copied from: agent.v1.ReadMcpResourceSuccess (var: P)
message ReadMcpResourceSuccess {
string uri = 1;
optional string name = 2;
optional string description = 3;
optional string mime_type = 4;
map<string, string> annotations = 7;
optional string download_path = 8;
optional OutputLocation output_location = 9;
oneof content {
string text = 5;
bytes blob = 6;
}
}
// Copied from: local:aiserver.v1.ReadOnlySharedPodLifecycleEvent (var: Ia)
message ReadOnlySharedPodLifecycleEvent {
// Copied from: local:aiserver.v1.ReadOnlySharedPodLifecycleEvent.Phase (var: xr)
enum Phase {
PHASE_UNSPECIFIED = 0;
PHASE_AWAITING_FULL_POD = 2;
PHASE_INACTIVE = 3;
}
Phase phase = 1;
}
// Copied from: agent.v1.ReadPermissionDenied (var: y)
message ReadPermissionDenied {
string path = 1;
}
// Copied from: local:aiserver.v1.ReadProjectParams (var: ks)
message ReadProjectParams {
}
// Copied from: local:aiserver.v1.ReadProjectResult (var: ws)
message ReadProjectResult {
string plan = 1;
}
// Copied from: local:aiserver.v1.ReadProjectStream (var: Es)
message ReadProjectStream {
}
// Copied from: agent.v1.ReadRejected (var: _)
message ReadRejected {
string path = 1;
string reason = 2;
}
// Copied from: agent.v1.ReadResult (var: g)
message ReadResult {
oneof result {
ReadSuccess success = 1;
ReadError error = 2;
ReadRejected rejected = 3;
ReadFileNotFound file_not_found = 4;
ReadPermissionDenied permission_denied = 5;
ReadInvalidFile invalid_file = 6;
}
}
// Copied from: local:aiserver.v1.ReadSemsearchFilesParams (var: He)
message ReadSemsearchFilesParams {
RepositoryInfo repository_info = 1;
repeated CodeResult code_results = 2;
string query = 3;
repeated PullRequestReference pr_references = 4;
optional bool pr_search_on = 5;
}
// Copied from: local:aiserver.v1.ReadSemsearchFilesResult (var: We)
message ReadSemsearchFilesResult {
repeated CodeResult code_results = 1;
repeated File all_files = 2;
repeated MissingFile missing_files = 3;
repeated Knowledge knowledge_results = 4;
repeated ToolPullRequestResult pr_results = 5;
optional string git_remote_url = 6;
optional bool pr_hydration_timed_out = 7;
}
// Copied from: local:aiserver.v1.ReadSemsearchFilesStream (var: ze)
message ReadSemsearchFilesStream {
int32 num_files = 1;
}
// Copied from: agent.v1.ReadSuccess (var: h)
message ReadSuccess {
string path = 1;
int32 total_lines = 3;
int64 file_size = 4;
bool truncated = 6;
optional bytes output_blob_id = 7;
bool range_applied = 8;
oneof output {
string content = 2;
bytes data = 5;
}
}
// Copied from: local:aiserver.v1.ReadWithLinterParams (var: ct)
message ReadWithLinterParams {
string relative_workspace_path = 1;
}
// Copied from: local:aiserver.v1.ReadWithLinterResult (var: dt)
message ReadWithLinterResult {
string contents = 1;
repeated Diagnostic diagnostics = 2;
}
// Copied from: local:aiserver.v1.ReapplyParams (var: N)
message ReapplyParams {
string relative_workspace_path = 1;
}
// Copied from: local:aiserver.v1.ReapplyResult (var: P)
message ReapplyResult {
EditFileResult.FileDiff diff = 1;
bool is_applied = 2;
bool apply_failed = 3;
repeated LinterError linter_errors = 4;
optional bool rejected = 5;
}
// Copied from: local:aiserver.v1.ReapplyStream (var: L)
message ReapplyStream {
}
// Copied from: agent.v1.RecentAgent (var: M)
message RecentAgent {
string name = 1;
string path = 2;
optional string overview = 3;
}
// Copied from: agent.v1.RecentAgentsContext (var: L)
message RecentAgentsContext {
repeated RecentAgent recent_agents = 1;
}
// Copied from: local:aiserver.v1.RecentChat (var: Le)
message RecentChat {
string title = 1;
optional int64 timestamp = 2;
optional string summary = 3;
repeated RecentChatMessage messages = 4;
optional string todos = 5;
}
// Copied from: local:aiserver.v1.RecentChatMessage (var: Fe)
message RecentChatMessage {
string role = 1;
string text = 2;
string context = 3;
}
// Copied from: agent.v1.RecentlyAddedPlugin (var: D)
message RecentlyAddedPlugin {
// Copied from: agent.v1.RecentlyAddedPlugin.CapabilityDescriptor (var: O)
message CapabilityDescriptor {
string name = 1;
string description = 2;
}
string display_name = 1;
string description = 2;
repeated CapabilityDescriptor skills = 3;
repeated CapabilityDescriptor subagents = 4;
repeated CapabilityDescriptor hooks = 5;
repeated CapabilityDescriptor rules = 6;
repeated CapabilityDescriptor commands = 7;
repeated string mcp_servers = 8;
}
// Copied from: local:aiserver.v1.RechunkerChoice (var: l)
enum RechunkerChoice {
RECHUNKER_CHOICE_UNSPECIFIED = 0;
RECHUNKER_CHOICE_IDENTITY = 1;
RECHUNKER_CHOICE_600_TOKS = 2;
RECHUNKER_CHOICE_2400_TOKS = 3;
RECHUNKER_CHOICE_4000_TOKS = 4;
}
// Copied from: local:aiserver.v1.RecordBugbotDeeplinkEventRequest (var: kg)
message RecordBugbotDeeplinkEventRequest {
// Copied from: local:aiserver.v1.RecordBugbotDeeplinkEventRequest.BugbotDeeplinkEvent (var: Qt)
enum BugbotDeeplinkEvent {
BUGBOT_DEEPLINK_EVENT_UNSPECIFIED = 0;
BUGBOT_DEEPLINK_EVENT_CLICKED = 1;
BUGBOT_DEEPLINK_EVENT_HANDLED_DIALOG_SHOWN = 2;
BUGBOT_DEEPLINK_EVENT_HANDLED_CHAT_CREATED = 3;
BUGBOT_DEEPLINK_EVENT_ERROR = 4;
BUGBOT_DEEPLINK_EVENT_HANDLED_FIX_IN_WEB = 5;
}
string bug_id = 1;
BugbotDeeplinkEvent event = 2;
optional string comment_id = 3;
}
// Copied from: local:aiserver.v1.RecordBugbotDeeplinkEventResponse (var: wg)
message RecordBugbotDeeplinkEventResponse {
}
// Copied from: local:aiserver.v1.RecordCppFateRequest (var: K)
message RecordCppFateRequest {
string request_id = 1;
float performance_now_time = 2;
CppFate fate = 3;
string extension = 4;
}
// Copied from: local:aiserver.v1.RecordCppFateResponse (var: W)
message RecordCppFateResponse {
}
// Copied from: local:aiserver.v1.RecordFullSelfDrivingOutputsRequest (var: b)
message RecordFullSelfDrivingOutputsRequest {
string pr_url = 1;
string bc_id = 2;
repeated FullSelfDrivingOutputInput outputs = 3;
}
// Copied from: local:aiserver.v1.RecordFullSelfDrivingOutputsResponse (var: M)
message RecordFullSelfDrivingOutputsResponse {
repeated FullSelfDrivingFinding findings = 1;
}
// Copied from: local:aiserver.v1.RecordIdeBugReactionRequest (var: tt)
message RecordIdeBugReactionRequest {
string bug_id = 1;
string reaction = 2;
}
// Copied from: local:aiserver.v1.RecordIdeBugReactionResponse (var: nt)
message RecordIdeBugReactionResponse {
bool success = 1;
}
// Copied from: local:aiserver.v1.RecordSandAuditEventsRequest (var: li)
message RecordSandAuditEventsRequest {
repeated SandAuditEvent events = 1;
}
// Copied from: local:aiserver.v1.RecordSandAuditEventsResponse (var: ui)
message RecordSandAuditEventsResponse {
int32 recorded_count = 1;
}
// Copied from: agent.v1.RecordScreenArgs (var: i)
message RecordScreenArgs {
RecordingMode mode = 1;
string tool_call_id = 2;
optional string save_as_filename = 3;
}
// Copied from: agent.v1.RecordScreenDiscardSuccess (var: m)
message RecordScreenDiscardSuccess {
}
// Copied from: agent.v1.RecordScreenFailure (var: c)
message RecordScreenFailure {
string error = 1;
}
// Copied from: agent.v1.RecordScreenResult (var: a)
message RecordScreenResult {
oneof result {
RecordScreenStartSuccess start_success = 1;
RecordScreenSaveSuccess save_success = 2;
RecordScreenDiscardSuccess discard_success = 3;
RecordScreenFailure failure = 4;
}
}
// Copied from: agent.v1.RecordScreenSaveSuccess (var: u)
message RecordScreenSaveSuccess {
string path = 1;
int64 recording_duration_ms = 2;
optional RequestedFilePathRejectedReason requested_file_path_rejected_reason = 3;
}
// Copied from: agent.v1.RecordScreenStartSuccess (var: l)
message RecordScreenStartSuccess {
bool was_prior_recording_cancelled = 1;
bool was_save_as_filename_ignored = 2;
}
// Copied from: agent.v1.RecordingMode (var: r)
enum RecordingMode {
RECORDING_MODE_UNSPECIFIED = 0;
RECORDING_MODE_START_RECORDING = 1;
RECORDING_MODE_SAVE_RECORDING = 2;
RECORDING_MODE_DISCARD_RECORDING = 3;
}
// Copied from: local:aiserver.v1.RecoverableCppData (var: Ae)
message RecoverableCppData {
string request_id = 1;
string suggestion_text = 2;
IRange suggestion_range = 3;
OneIndexedPosition position = 4;
}
// Copied from: local:aiserver.v1.RedDiff (var: Et)
message RedDiff {
string relative_workspace_path = 1;
repeated SimplestRange red_ranges = 2;
repeated SimplestRange red_ranges_reversed = 3;
string start_hash = 4;
string end_hash = 5;
}
// Copied from: local:aiserver.v1.RedeemGiftCodeRequest (var: my)
message RedeemGiftCodeRequest {
string code = 1;
}
// Copied from: local:aiserver.v1.RedeemGiftCodeResponse (var: cy)
message RedeemGiftCodeResponse {
bool success = 1;
optional string error_message = 2;
optional int32 credit_cents = 3;
optional string currency = 4;
}
// Copied from: local:aiserver.v1.ReferralCodeEntry (var: _m)
message ReferralCodeEntry {
string code = 1;
int64 created_at_ms = 2;
optional int64 redeemed_at_ms = 3;
optional string redeemer_name = 4;
}
// Copied from: local:aiserver.v1.ReflectionData (var: F)
message ReflectionData {
string index_id = 1;
string id = 2;
string summary = 3;
}
// Copied from: local:aiserver.v1.ReflectionResult (var: Mt)
message ReflectionResult {
ReflectionData reflection = 1;
float score = 2;
}
// Copied from: local:aiserver.v1.RefreshGithubAccessTokenInBackgroundComposerRequest (var: fo)
message RefreshGithubAccessTokenInBackgroundComposerRequest {
string bc_id = 1;
}
// Copied from: local:aiserver.v1.RefreshGithubAccessTokenInBackgroundComposerResponse (var: go)
message RefreshGithubAccessTokenInBackgroundComposerResponse {
}
// Copied from: local:aiserver.v1.RefreshMarketplaceRequest (var: uI)
message RefreshMarketplaceRequest {
int64 marketplace_id = 1;
optional int32 team_id = 2;
}
// Copied from: local:aiserver.v1.RefreshMarketplaceResponse (var: mI)
message RefreshMarketplaceResponse {
Marketplace marketplace = 1;
int32 plugins_indexed = 2;
int32 plugins_updated = 3;
int32 plugins_deprecated = 4;
repeated string deprecated_plugin_names = 5;
repeated string errors = 6;
}
// Copied from: local:aiserver.v1.RefreshTabContextRequest (var: ee)
message RefreshTabContextRequest {
CurrentFileInfo current_file = 1;
optional string model_name = 2;
optional LinterErrors linter_errors = 3;
repeated CppFileDiffHistory file_diff_histories = 4;
repeated AdditionalFile additional_files = 5;
optional double client_time = 6;
double time_since_request_start = 7;
double time_at_request_send = 8;
optional bool is_debug = 9;
optional string workspace_id = 10;
optional bool supports_cpt = 11;
optional bool supports_crlf_cpt = 12;
RepositoryInfo repository_info = 13;
}
// Copied from: local:aiserver.v1.RefreshTabContextResponse (var: te)
message RefreshTabContextResponse {
repeated CodeResult code_results = 1;
}
// Copied from: local:aiserver.v1.RegisterCodeReferencesRequest (var: C)
message RegisterCodeReferencesRequest {
string node_id = 1;
repeated SymbolActionResults references = 2;
}
// Copied from: local:aiserver.v1.RegisterCodeReferencesResponse (var: N)
message RegisterCodeReferencesResponse {
repeated string dependencies = 1;
}
// Copied from: local:aiserver.v1.RegisterFileToIndexRequest (var: A)
message RegisterFileToIndexRequest {
string index_id = 1;
string workspace_relative_path = 2;
SerializedContextNode root_context_node = 3;
repeated string content = 4;
}
// Copied from: local:aiserver.v1.RegisterFileToIndexResponse (var: _)
message RegisterFileToIndexResponse {
string file_id = 1;
string root_context_node_id = 2;
repeated URIResolutionAttempt dependency_resolution_attempts = 3;
IndexFileData file_data = 4;
}
// Copied from: local:aiserver.v1.RegisterGithubCursorCodeRequest (var: Mn)
message RegisterGithubCursorCodeRequest {
string github_repo = 1;
optional string ghe_application = 3;
}
// Copied from: local:aiserver.v1.RegisterGithubCursorCodeResponse (var: Ln)
message RegisterGithubCursorCodeResponse {
string cursor_code = 1;
bool should_install = 2;
optional string ghe_hostname = 3;
optional string ghe_app_slug = 4;
optional string ghe_client_id = 5;
optional string github_oauth_client_id = 6;
optional string github_app_slug = 7;
}
// Copied from: local:aiserver.v1.RegisterMarketplaceAndPluginsRequest (var: pI)
message RegisterMarketplaceAndPluginsRequest {
string git_url = 1;
string git_ref = 2;
string marketplace_name = 3;
repeated RegisterPluginEntry plugins = 4;
optional int32 team_id = 5;
optional string commit_sha = 6;
}
// Copied from: local:aiserver.v1.RegisterMarketplaceAndPluginsResponse (var: gI)
message RegisterMarketplaceAndPluginsResponse {
int64 marketplace_id = 1;
repeated RegisteredPlugin plugins = 2;
}
// Copied from: local:aiserver.v1.RegisterPluginEntry (var: fI)
message RegisterPluginEntry {
string name = 1;
string description = 2;
string version = 3;
string git_path = 4;
string git_url = 5;
string git_ref = 6;
string display_name = 7;
repeated SkillDescriptor skills = 8;
repeated SubagentDescriptor subagents = 9;
repeated HookDescriptor hooks = 10;
repeated RuleDescriptor rules = 11;
repeated McpDescriptor mcp_servers = 12;
repeated CommandDescriptor commands = 13;
optional string logo_url = 14;
google.protobuf.Struct variables = 15;
}
// Copied from: local:aiserver.v1.RegisterPushNotificationTokenRequest (var: td)
message RegisterPushNotificationTokenRequest {
string token = 1;
PushPlatform platform = 2;
string device_id = 3;
}
// Copied from: local:aiserver.v1.RegisterPushNotificationTokenResponse (var: nd)
message RegisterPushNotificationTokenResponse {
}
// Copied from: local:aiserver.v1.RegisteredPlugin (var: hI)
message RegisteredPlugin {
int64 plugin_id = 1;
string name = 2;
}
// Copied from: local:aiserver.v1.ReindexAndApplyTeamMarketplaceChangesRequest (var: cI)
message ReindexAndApplyTeamMarketplaceChangesRequest {
int64 marketplace_id = 1;
optional string git_ref = 2;
optional string commit_sha = 3;
optional int32 team_id = 4;
}
// Copied from: local:aiserver.v1.ReindexAndApplyTeamMarketplaceChangesResponse (var: dI)
message ReindexAndApplyTeamMarketplaceChangesResponse {
int64 marketplace_id = 1;
repeated RegisteredPlugin plugins = 2;
repeated string removed_plugin_names = 3;
}
// Copied from: local:aiserver.v1.ReindexComponentDiff (var: eS)
message ReindexComponentDiff {
string type = 1;
repeated string added = 2;
repeated string removed = 3;
}
// Copied from: local:aiserver.v1.ReindexPluginDiff (var: tS)
message ReindexPluginDiff {
string name = 1;
string display_name = 2;
string status = 3;
repeated ReindexComponentDiff component_changes = 4;
repeated string metadata_changes = 5;
}
// Copied from: local:aiserver.v1.ReindexSummary (var: nS)
message ReindexSummary {
int32 new_plugins = 1;
int32 removed_plugins = 2;
int32 updated_plugins = 3;
int32 unchanged_plugins = 4;
int32 total_new_components = 5;
int32 total_removed_components = 6;
}
// Copied from: local:aiserver.v1.RejectCursorPredictionEvent (var: Be)
message RejectCursorPredictionEvent {
CursorPrediction cursor_prediction = 1;
PointInTimeModel point_in_time_model = 2;
}
// Copied from: local:aiserver.v1.RejectPluginRequest (var: AS)
message RejectPluginRequest {
int64 plugin_id = 1;
optional string reason = 2;
}
// Copied from: local:aiserver.v1.RejectPluginResponse (var: _S)
message RejectPluginResponse {
Plugin plugin = 1;
}
// Copied from: local:aiserver.v1.ReleaseAgentStoreFileLockRequest (var: Wf)
message ReleaseAgentStoreFileLockRequest {
string store_id = 1;
string rel_path = 2;
string lock_token = 3;
}
// Copied from: local:aiserver.v1.ReleaseAgentStoreFileLockResponse (var: zf)
message ReleaseAgentStoreFileLockResponse {
bool released = 1;
}
// Copied from: local:aiserver.v1.ReleasePrivateWorkerRequest (var: Yp)
message ReleasePrivateWorkerRequest {
string worker_id = 1;
}
// Copied from: local:aiserver.v1.ReleasePrivateWorkerResponse (var: Kp)
message ReleasePrivateWorkerResponse {
}
// Copied from: local:aiserver.v1.ReloadWindowAction (var: we)
message ReloadWindowAction {
}
// Copied from: local:aiserver.v1.RemoteAuthority (var: Me)
message RemoteAuthority {
RemoteConnectionType connection_type = 1;
}
// Copied from: local:aiserver.v1.RemoteConnectionType (var: m)
enum RemoteConnectionType {
REMOTE_CONNECTION_TYPE_UNSPECIFIED = 0;
REMOTE_CONNECTION_TYPE_LOCAL = 1;
REMOTE_CONNECTION_TYPE_WSL = 2;
REMOTE_CONNECTION_TYPE_SSH = 3;
REMOTE_CONNECTION_TYPE_DEVCONTAINER = 4;
REMOTE_CONNECTION_TYPE_DEVCONTAINER_SSH = 5;
REMOTE_CONNECTION_TYPE_DEVCONTAINER_WSL = 6;
}
// Copied from: local:aiserver.v1.RemoveGroupMembersRequest (var: B_)
message RemoveGroupMembersRequest {
int32 group_id = 1;
int32 team_id = 2;
repeated int32 user_ids = 3;
optional GroupType type = 4;
}
// Copied from: local:aiserver.v1.RemoveGroupMembersResponse (var: J_)
message RemoveGroupMembersResponse {
Group group = 1;
}
// Copied from: local:aiserver.v1.RemoveMarketplaceRequest (var: aI)
message RemoveMarketplaceRequest {
int64 marketplace_id = 1;
optional int32 team_id = 2;
}
// Copied from: local:aiserver.v1.RemoveMarketplaceResponse (var: lI)
message RemoveMarketplaceResponse {
bool success = 1;
}
// Copied from: local:aiserver.v1.RemoveMemberRequest (var: Iu)
message RemoveMemberRequest {
int32 team_id = 1;
int32 user_id = 2;
}
// Copied from: local:aiserver.v1.RemoveMemberResponse (var: vu)
message RemoveMemberResponse {
bool has_billing_cycle_usage = 1;
}
// Copied from: local:aiserver.v1.RemoveOrganizationGroupMembersRequest (var: Ds)
message RemoveOrganizationGroupMembersRequest {
string organization_id = 1;
int64 group_id = 2;
repeated int32 user_ids = 3;
}
// Copied from: local:aiserver.v1.RemoveOrganizationGroupMembersResponse (var: Os)
message RemoveOrganizationGroupMembersResponse {
int32 removed_count = 1;
}
// Copied from: local:aiserver.v1.RemoveOrganizationIdentityProviderDomainJoinRequest (var: _r)
message RemoveOrganizationIdentityProviderDomainJoinRequest {
string organization_id = 1;
string identity_provider_public_id = 2;
string domain = 3;
}
// Copied from: local:aiserver.v1.RemoveRepoHistoryRequest (var: en)
message RemoveRepoHistoryRequest {
RepositoryInfo repository = 1;
}
// Copied from: local:aiserver.v1.RemoveRepoHistoryResponse (var: tn)
message RemoveRepoHistoryResponse {
// Copied from: local:aiserver.v1.RemoveRepoHistoryResponse.Status (var: L)
enum Status {
STATUS_UNSPECIFIED = 0;
STATUS_NOT_FOUND = 1;
STATUS_NOT_AUTHORIZED = 2;
STATUS_PARTIAL_SUCCESS = 3;
STATUS_SUCCESS = 4;
}
Status status = 1;
}
// Copied from: local:aiserver.v1.RemoveRepoPatternRequest (var: Pm)
message RemoveRepoPatternRequest {
int32 team_id = 1;
int32 repo_id = 2;
int32 pattern_id = 3;
}
// Copied from: local:aiserver.v1.RemoveRepoPatternResponse (var: bm)
message RemoveRepoPatternResponse {
}
// Copied from: local:aiserver.v1.RemoveRepositoryRequest (var: We)
message RemoveRepositoryRequest {
RepositoryInfo repository = 1;
}
// Copied from: local:aiserver.v1.RemoveRepositoryResponse (var: ze)
message RemoveRepositoryResponse {
// Copied from: local:aiserver.v1.RemoveRepositoryResponse.Status (var: I)
enum Status {
STATUS_UNSPECIFIED = 0;
STATUS_NOT_FOUND = 1;
STATUS_NOT_AUTHORIZED = 2;
STATUS_STARTED = 3;
STATUS_SUCCESS = 4;
}
Status status = 1;
}
// Copied from: local:aiserver.v1.RemoveTeamGroupMembersRequest (var: no)
message RemoveTeamGroupMembersRequest {
int32 team_id = 1;
int64 group_id = 2;
repeated int32 user_ids = 3;
}
// Copied from: local:aiserver.v1.RemoveTeamGroupMembersResponse (var: ro)
message RemoveTeamGroupMembersResponse {
int32 removed_count = 1;
}
// Copied from: local:aiserver.v1.RenameBackgroundComposerRequest (var: uo)
message RenameBackgroundComposerRequest {
string bc_id = 1;
string new_name = 2;
}
// Copied from: local:aiserver.v1.RenameBackgroundComposerResponse (var: mo)
message RenameBackgroundComposerResponse {
string name = 1;
}
// Copied from: local:aiserver.v1.RenameMcpOAuthAccountRequest (var: Ci)
message RenameMcpOAuthAccountRequest {
int32 server_id = 1;
string account_key = 2;
string new_account_key = 3;
}
// Copied from: local:aiserver.v1.RenameMcpOAuthAccountResponse (var: Ni)
message RenameMcpOAuthAccountResponse {
}
// Copied from: local:aiserver.v1.RenewAgentStoreFileLockRequest (var: Yf)
message RenewAgentStoreFileLockRequest {
string store_id = 1;
string rel_path = 2;
string lock_token = 3;
}
// Copied from: local:aiserver.v1.RenewAgentStoreFileLockResponse (var: Kf)
message RenewAgentStoreFileLockResponse {
bool renewed = 1;
int64 expires_at_ms = 2;
}
// Copied from: local:aiserver.v1.ReorderPendingFollowupRequest (var: gl)
message ReorderPendingFollowupRequest {
string bc_id = 1;
string followup_id = 2;
string target_followup_id = 3;
bool insert_after = 4;
}
// Copied from: local:aiserver.v1.ReorderPendingFollowupResponse (var: hl)
message ReorderPendingFollowupResponse {
bool success = 1;
string error_message = 2;
}
// Copied from: agent.v1.ReplaceEnvArgs (var: nr)
message ReplaceEnvArgs {
ReplaceEnvConfig config = 1;
ReplaceEnvMode mode = 2;
repeated RepoCheckoutRefOverride checkout_ref_overrides = 3;
}
// Copied from: agent.v1.ReplaceEnvConfig (var: tr)
message ReplaceEnvConfig {
string install_script = 1;
string dockerfile_contents = 2;
}
// Copied from: agent.v1.ReplaceEnvFailure (var: sr)
message ReplaceEnvFailure {
string error_message = 1;
string setup_logs = 2;
}
// Copied from: agent.v1.ReplaceEnvMode (var: Qt)
enum ReplaceEnvMode {
REPLACE_ENV_MODE_UNSPECIFIED = 0;
REPLACE_ENV_MODE_CUSTOM = 1;
REPLACE_ENV_MODE_CLEAN_SLATE = 2;
REPLACE_ENV_MODE_DEFAULT = 3;
}
// Copied from: agent.v1.ReplaceEnvResult (var: or)
message ReplaceEnvResult {
oneof result {
ReplaceEnvSuccess success = 1;
ReplaceEnvFailure failure = 2;
}
}
// Copied from: agent.v1.ReplaceEnvSuccess (var: rr)
message ReplaceEnvSuccess {
string setup_logs = 1;
}
// Copied from: agent.v1.ReplaceEnvToolCallDelta (var: ar)
message ReplaceEnvToolCallDelta {
string associated_pod_key = 1;
}
// Copied from: local:aiserver.v1.ReplyToReviewThreadRequest (var: Dc)
message ReplyToReviewThreadRequest {
string pr_url = 1;
string thread_id = 2;
string body = 3;
}
// Copied from: local:aiserver.v1.ReplyToReviewThreadResponse (var: Oc)
message ReplyToReviewThreadResponse {
optional PRReviewThread thread = 1;
}
// Copied from: agent.v1.RepoCheckoutRefOverride (var: er)
message RepoCheckoutRefOverride {
string repo_url = 1;
string ref = 2;
}
// Copied from: local:aiserver.v1.RepoConfigSummary (var: em)
message RepoConfigSummary {
repeated string repo_urls = 1;
optional string environment_json_path = 2;
}
// Copied from: local:aiserver.v1.RepoEvent (var: cn)
message RepoEvent {
// Copied from: local:aiserver.v1.RepoEvent.Type (var: A)
enum Type {
TYPE_UNSPECIFIED = 0;
TYPE_SYNCED = 1;
TYPE_LOADING = 2;
TYPE_INDEXING_SETUP = 3;
TYPE_INDEXING_INIT_FROM_SIMILAR_CODEBASE = 4;
TYPE_PAUSED = 5;
TYPE_INDEXING = 6;
TYPE_ERROR = 7;
TYPE_NOT_AUTO_INDEXING = 8;
TYPE_NOT_INDEXED = 9;
}
string repo_owner = 1;
string repo_name = 2;
Type event_type = 3;
}
// Copied from: local:aiserver.v1.RepoHistoryInfo (var: Gt)
message RepoHistoryInfo {
string history_id = 1;
optional string branch_name = 2;
optional string last_indexed_commit = 3;
optional uint32 last_indexed_commit_generation = 4;
optional bytes sync_bitmap = 5;
}
// Copied from: local:aiserver.v1.RepoHistoryInitHandshakeRequest (var: Qt)
message RepoHistoryInitHandshakeRequest {
RepositoryInfo repository = 1;
string origin = 2;
optional string test_origin_commit = 3;
optional string test_origin_commit_secret = 4;
optional bool send_copy_candidates = 5;
}
// Copied from: local:aiserver.v1.RepoHistoryInitHandshakeResponse (var: Ht)
message RepoHistoryInitHandshakeResponse {
// Copied from: local:aiserver.v1.RepoHistoryInitHandshakeResponse.Status (var: P)
enum Status {
STATUS_UNSPECIFIED = 0;
STATUS_FAILURE = 1;
STATUS_SUCCESS = 2;
STATUS_TEST_CANDIDATES = 3;
STATUS_NO_INDEXING = 4;
}
Status status = 1;
repeated RepoHistoryInfo histories = 2;
optional string copy_candidate_nonce = 3;
repeated string copy_candidates = 4;
optional string error_message = 5;
}
// Copied from: local:aiserver.v1.RepoHistorySyncCompleteRequest (var: Kt)
message RepoHistorySyncCompleteRequest {
// Copied from: local:aiserver.v1.RepoHistorySyncCompleteRequest.Status (var: M)
enum Status {
STATUS_UNSPECIFIED = 0;
STATUS_SUCCESS = 1;
STATUS_FAILURE = 2;
STATUS_TOTAL_FAILURE = 3;
STATUS_INTERRUPTED = 4;
}
// Copied from: local:aiserver.v1.RepoHistorySyncCompleteRequest.SyncedHistory (var: Wt)
message SyncedHistory {
string history_id = 1;
RepoHistorySyncCompleteRequest.Status status = 2;
optional string last_indexed_commit = 3;
optional string last_indexed_commit_secret = 4;
optional uint32 last_indexed_commit_generation = 5;
}
repeated SyncedHistory synced_histories = 1;
}
// Copied from: local:aiserver.v1.RepoHistorySyncCompleteResponse (var: zt)
message RepoHistorySyncCompleteResponse {
}
// Copied from: local:aiserver.v1.RepoHistorySyncOneRequest (var: Vt)
message RepoHistorySyncOneRequest {
string history_id = 1;
repeated IndexedPullRequest pull_requests = 2;
repeated uint32 ignore_commits = 3;
}
// Copied from: local:aiserver.v1.RepoHistorySyncOneResponse (var: Yt)
message RepoHistorySyncOneResponse {
// Copied from: local:aiserver.v1.RepoHistorySyncOneResponse.Status (var: b)
enum Status {
STATUS_UNSPECIFIED = 0;
STATUS_SUCCESS = 1;
STATUS_FAILURE = 2;
STATUS_PARTIAL_SUCCESS = 3;
STATUS_NOT_INDEXING = 4;
}
Status status = 1;
}
// Copied from: local:aiserver.v1.RepoIdentifier (var: Wp)
message RepoIdentifier {
int64 installation_id = 1;
string repo_node_id = 2;
}
// Copied from: local:aiserver.v1.RepoSettings (var: Kp)
message RepoSettings {
bool bug_bot_enabled = 1;
bool bug_bot_manual_only = 2;
optional bool bug_bot_learning_enabled = 3;
optional bool bug_bot_learning_inherit_installation_default = 4;
}
// Copied from: local:aiserver.v1.RepoStartingRef (var: oa)
message RepoStartingRef {
string repo_url = 1;
string ref = 2;
string base_ref = 3;
}
// Copied from: local:aiserver.v1.RepoWithLocalEnvironment (var: wm)
message RepoWithLocalEnvironment {
string repo_url = 1;
bool file_exists = 2;
int64 last_seen_at_ms = 3;
}
// Copied from: local:aiserver.v1.ReportAgentFeedbackRequest (var: Cn)
message ReportAgentFeedbackRequest {
// Copied from: local:aiserver.v1.ReportAgentFeedbackRequest.Sentiment (var: ue)
enum Sentiment {
SENTIMENT_UNSPECIFIED = 0;
SENTIMENT_UP = 1;
SENTIMENT_DOWN = 2;
SENTIMENT_RETRACTED = 3;
}
// Copied from: local:aiserver.v1.ReportAgentFeedbackRequest.Source (var: me)
enum Source {
SOURCE_UNSPECIFIED = 0;
SOURCE_IDE = 1;
SOURCE_GLASS = 2;
}
// Copied from: local:aiserver.v1.ReportAgentFeedbackRequest.Variant (var: ce)
enum Variant {
VARIANT_UNSPECIFIED = 0;
VARIANT_PROMINENT = 1;
VARIANT_INLINE = 2;
}
string request_id = 1;
Sentiment sentiment = 2;
repeated string categories = 3;
optional string comment = 4;
optional string canonical_model_name = 5;
optional Source source = 6;
optional Variant variant = 7;
}
// Copied from: local:aiserver.v1.ReportAgentFeedbackResponse (var: Nn)
message ReportAgentFeedbackResponse {
}
// Copied from: local:aiserver.v1.ReportAgentMessageFeedbackRequest (var: Rn)
message ReportAgentMessageFeedbackRequest {
string request_id = 1;
string bubble_id = 2;
optional string composer_id = 3;
string selected_text = 4;
optional int32 selection_start = 5;
optional int32 selection_end = 6;
string comment = 7;
optional string canonical_model_name = 8;
optional string category = 9;
optional string sentiment = 10;
}
// Copied from: local:aiserver.v1.ReportAgentMessageFeedbackResponse (var: Pn)
message ReportAgentMessageFeedbackResponse {
string s3_uri = 1;
}
// Copied from: local:aiserver.v1.ReportAgentSnapshotRequest (var: fe)
message ReportAgentSnapshotRequest {
string agent_request_id = 1;
repeated RequestTrackingFileSnapshot initial_file_snapshots = 2;
repeated RequestTrackingFileSnapshot file_snapshots = 3;
repeated string too_big_files = 4;
string name = 11;
double snapshot_date_unix_milliseconds = 10;
}
// Copied from: local:aiserver.v1.ReportAgentSnapshotResponse (var: ke)
message ReportAgentSnapshotResponse {
}
// Copied from: local:aiserver.v1.ReportAiCodeChangeMetricsRequest (var: zl)
message ReportAiCodeChangeMetricsRequest {
repeated AiCodeChange changes = 1;
}
// Copied from: local:aiserver.v1.ReportAiCodeChangeMetricsResponse (var: Xl)
message ReportAiCodeChangeMetricsResponse {
}
// Copied from: local:aiserver.v1.ReportBugRequest (var: Ba)
message ReportBugRequest {
// Copied from: local:aiserver.v1.ReportBugRequest.BugType (var: Se)
enum BugType {
BUG_TYPE_UNSPECIFIED = 0;
BUG_TYPE_LOW = 1;
BUG_TYPE_MEDIUM = 2;
BUG_TYPE_URGENT = 3;
BUG_TYPE_CRASH = 4;
BUG_TYPE_CONNECTION_ERROR = 5;
BUG_TYPE_IDEA = 6;
BUG_TYPE_MISC_AUTOMATIC_ERROR = 7;
}
string bug = 1;
BugType bug_type = 2;
BugContext context = 3;
string contact_email = 4;
}
// Copied from: local:aiserver.v1.ReportBugResponse (var: Ja)
message ReportBugResponse {
}
// Copied from: agent.v1.ReportBugfixResultsError (var: l)
message ReportBugfixResultsError {
string error = 1;
}
// Copied from: local:aiserver.v1.ReportBugfixResultsParams (var: Hs)
message ReportBugfixResultsParams {
string summary = 1;
repeated BugfixResultItem results = 2;
}
// Copied from: local:aiserver.v1.ReportBugfixResultsResult (var: Vs)
message ReportBugfixResultsResult {
oneof result {
ReportBugfixResultsSuccess success = 1;
ReportBugfixResultsError error = 2;
}
}
// Copied from: local:aiserver.v1.ReportBugfixResultsStream (var: Ys)
message ReportBugfixResultsStream {
ReportBugfixResultsParams params = 1;
}
// Copied from: agent.v1.ReportBugfixResultsSuccess (var: a)
message ReportBugfixResultsSuccess {
repeated BugfixResultItem results = 1;
}
// Copied from: local:aiserver.v1.ReportClientNumericMetricsRequest (var: au)
message ReportClientNumericMetricsRequest {
repeated ClientNumericMetric metrics = 1;
}
// Copied from: local:aiserver.v1.ReportClientNumericMetricsResponse (var: uu)
message ReportClientNumericMetricsResponse {
}
// Copied from: local:aiserver.v1.ReportCmdKFateRequest (var: Ya)
message ReportCmdKFateRequest {
// Copied from: local:aiserver.v1.ReportCmdKFateRequest.Fate (var: Ie)
enum Fate {
FATE_UNSPECIFIED = 0;
FATE_CANCELLED = 1;
FATE_ACCEPTED = 2;
FATE_REJECTED = 3;
FATE_FOLLOWED_UP = 4;
FATE_REPROMPTED = 5;
}
string request_id = 1;
Fate fate = 2;
}
// Copied from: local:aiserver.v1.ReportCmdKFateResponse (var: Ka)
message ReportCmdKFateResponse {
}
// Copied from: local:aiserver.v1.ReportCommitAiAnalyticsRequest (var: Kl)
message ReportCommitAiAnalyticsRequest {
string commit_hash = 1;
int32 total_lines_added = 2;
int32 total_lines_deleted = 3;
int32 tab_lines_added = 4;
int32 tab_lines_deleted = 5;
int32 composer_lines_added = 6;
int32 composer_lines_deleted = 7;
optional string branch_name = 8;
optional bool is_primary_branch = 9;
optional string repo_name = 10;
int32 non_ai_lines_added = 11;
int32 non_ai_lines_deleted = 12;
repeated string change_ids = 13;
optional string message = 14;
optional int64 commit_ts = 15;
repeated FileRangeAnnotations range_annotations = 16;
optional string commit_source = 17;
}
// Copied from: local:aiserver.v1.ReportCommitAiAnalyticsResponse (var: Wl)
message ReportCommitAiAnalyticsResponse {
}
// Copied from: local:aiserver.v1.ReportEditFateRequest (var: k)
message ReportEditFateRequest {
string request_id = 1;
optional EditFate fate = 2;
optional int32 num_accepted_partial_diffs = 3;
optional int32 num_rejected_partial_diffs = 4;
}
// Copied from: local:aiserver.v1.ReportEditFateResponse (var: w)
message ReportEditFateResponse {
}
// Copied from: local:aiserver.v1.ReportFeedbackRequest (var: wa)
message ReportFeedbackRequest {
// Copied from: local:aiserver.v1.ReportFeedbackRequest.FeedbackType (var: Ee)
enum FeedbackType {
FEEDBACK_TYPE_UNSPECIFIED = 0;
FEEDBACK_TYPE_LOW_PRIORITY = 1;
FEEDBACK_TYPE_HIGH_PRIORITY = 2;
}
string feedback = 1;
FeedbackType feedback_type = 2;
}
// Copied from: local:aiserver.v1.ReportFeedbackResponse (var: Ea)
message ReportFeedbackResponse {
}
// Copied from: local:aiserver.v1.ReportGenerationFeedbackRequest (var: Bn)
message ReportGenerationFeedbackRequest {
// Copied from: local:aiserver.v1.ReportGenerationFeedbackRequest.FeedbackType (var: ae)
enum FeedbackType {
FEEDBACK_TYPE_UNSPECIFIED = 0;
FEEDBACK_TYPE_THUMBS_UP = 1;
FEEDBACK_TYPE_THUMBS_DOWN = 2;
FEEDBACK_TYPE_NEUTRAL = 3;
FEEDBACK_TYPE_STARS = 4;
}
// Copied from: local:aiserver.v1.ReportGenerationFeedbackRequest.Source (var: le)
enum Source {
SOURCE_UNSPECIFIED = 0;
SOURCE_INLINE = 1;
SOURCE_VIBEOMETER = 2;
}
FeedbackType feedback_type = 1;
string request_id = 2;
optional string comment = 3;
optional int32 stars_overall = 4;
optional int32 stars_speed = 6;
optional int32 stars_accuracy = 7;
optional int32 stars_style_taste = 8;
optional bool never_ask_again = 9;
optional bool did_popup = 10;
Source source = 11;
}
// Copied from: local:aiserver.v1.ReportGenerationFeedbackResponse (var: Jn)
message ReportGenerationFeedbackResponse {
}
// Copied from: local:aiserver.v1.ReportGroundTruthCandidateRequest (var: Ha)
message ReportGroundTruthCandidateRequest {
string request_id = 1;
int32 time_since_completed_action_ms = 2;
FeatureType feature_type = 3;
string relative_workspace_path = 4;
string contents = 5;
LineRange selection_in_question = 6;
int32 lines_above_and_below = 7;
}
// Copied from: local:aiserver.v1.ReportGroundTruthCandidateResponse (var: Va)
message ReportGroundTruthCandidateResponse {
}
// Copied from: local:aiserver.v1.ReportInlineActionRequest (var: u)
message ReportInlineActionRequest {
string action = 1;
string generation_uuid = 2;
}
// Copied from: local:aiserver.v1.ReportInlineActionResponse (var: m)
message ReportInlineActionResponse {
}
// Copied from: local:aiserver.v1.ReportMetricsRequest (var: c)
message ReportMetricsRequest {
// Copied from: local:aiserver.v1.ReportMetricsRequest.Metric (var: d)
message Metric {
optional double value = 1;
map<string, string> tags = 2;
}
// Copied from: local:aiserver.v1.ReportMetricsRequest.NamedMetric (var: p)
message NamedMetric {
string name = 1;
optional double value = 2;
map<string, string> tags = 3;
}
map<string, Metric> metrics = 1;
repeated NamedMetric metrics_list = 2;
}
// Copied from: local:aiserver.v1.ReportMetricsResponse (var: f)
message ReportMetricsResponse {
}
// Copied from: local:aiserver.v1.ReportProcessMetricsRequest (var: Zl)
message ReportProcessMetricsRequest {
int64 sample_start = 1;
int64 sample_end = 2;
int32 num_subsamples = 3;
int64 window_seq = 4;
string session_id = 5;
repeated ProcessMetricsRowRequest rows = 6;
optional string os = 7;
optional string os_version = 8;
optional string arch = 9;
optional string client_version = 10;
optional string client_id = 11;
}
// Copied from: local:aiserver.v1.ReportProcessMetricsResponse (var: eu)
message ReportProcessMetricsResponse {
}
// Copied from: local:aiserver.v1.ReportProcessMetricsV2Request (var: tu)
message ReportProcessMetricsV2Request {
int64 sample_start = 1;
int64 sample_end = 2;
int32 num_subsamples = 3;
string session_id = 4;
repeated ProcessMetricsV2RowRequest rows = 5;
string os = 6;
string arch = 7;
string client_version = 8;
string origin = 9;
}
// Copied from: local:aiserver.v1.ReportProcessMetricsV2Response (var: ru)
message ReportProcessMetricsV2Response {
}
// Copied from: local:aiserver.v1.ReportSandProcessMetricsRequest (var: su)
message ReportSandProcessMetricsRequest {
int64 sample_start = 1;
int64 sample_end = 2;
int32 num_subsamples = 3;
int64 sample_seqno = 4;
string session_id = 5;
repeated SandProcessMetricsRowRequest rows = 6;
string os = 7;
string os_version = 8;
string arch = 9;
string client_version = 10;
string client_id = 11;
}
// Copied from: local:aiserver.v1.ReportSandProcessMetricsResponse (var: iu)
message ReportSandProcessMetricsResponse {
}
// Copied from: local:aiserver.v1.RepositoriesRequest (var: ht)
message RepositoriesRequest {
}
// Copied from: local:aiserver.v1.RepositoriesResponse (var: At)
message RepositoriesResponse {
repeated RepositoryInfo repositories = 1;
}
// Copied from: local:aiserver.v1.RepositoryCodebaseInfo (var: X)
message RepositoryCodebaseInfo {
// Copied from: local:aiserver.v1.RepositoryCodebaseInfo.Status (var: m)
enum Status {
STATUS_UNSPECIFIED = 0;
STATUS_UP_TO_DATE = 1;
STATUS_OUT_OF_SYNC = 2;
STATUS_EMPTY = 3;
STATUS_EMPTY_WITH_COPY_AVAILABLE = 4;
STATUS_COPY_IN_PROGRESS = 5;
}
string codebase_id = 1;
Status status = 2;
QueryOnlyRepositoryInfo query_only_similar_repo = 3;
string copy_task_handle = 4;
}
// Copied from: local:aiserver.v1.RepositoryCodebaseSyncStatus (var: $)
message RepositoryCodebaseSyncStatus {
// Copied from: local:aiserver.v1.RepositoryCodebaseSyncStatus.Status (var: d)
enum Status {
STATUS_UNSPECIFIED = 0;
STATUS_SUCCESS = 1;
STATUS_FAILURE = 2;
}
string codebase_id = 1;
Status status = 2;
SimilarityMetricType similarity_metric_type = 3;
repeated float similarity_metric = 4;
string path_key_hash = 5;
PathKeyHashType path_key_hash_type = 6;
int32 failed_upload_count = 7;
int32 failed_delete_count = 8;
int32 total_upload_count = 9;
int32 total_delete_count = 10;
int32 failed_subtree_count = 11;
int32 total_subtree_count = 12;
bool hit_iteration_limit = 13;
}
// Copied from: agent.v1.RepositoryIndexingInfo (var: l)
message RepositoryIndexingInfo {
string relative_workspace_path = 1;
repeated string remote_urls = 2;
repeated string remote_names = 3;
string repo_name = 4;
string repo_owner = 5;
bool is_tracked = 6;
bool is_local = 7;
optional double orthogonal_transform_seed = 8;
string workspace_uri = 9;
string path_encryption_key = 10;
}
// Copied from: local:aiserver.v1.RepositoryInfo (var: Rt)
message RepositoryInfo {
string relative_workspace_path = 1;
repeated string remote_urls = 2;
repeated string remote_names = 3;
string repo_name = 4;
string repo_owner = 5;
bool is_tracked = 6;
bool is_local = 7;
optional int32 num_files = 8;
optional double orthogonal_transform_seed = 9;
optional EmbeddingModel preferred_embedding_model = 10;
string workspace_uri = 11;
optional DatabaseProvider preferred_db_provider = 12;
}
// Copied from: local:aiserver.v1.RepositoryStatusRequest (var: yt)
message RepositoryStatusRequest {
RepositoryInfo repository = 1;
}
// Copied from: local:aiserver.v1.RepositoryStatusResponse (var: kt)
message RepositoryStatusResponse {
// Copied from: local:aiserver.v1.RepositoryStatusResponse.AuthTokenNotAuthorized (var: Ct)
message AuthTokenNotAuthorized {
}
// Copied from: local:aiserver.v1.RepositoryStatusResponse.AuthTokenNotFound (var: Jt)
message AuthTokenNotFound {
}
// Copied from: local:aiserver.v1.RepositoryStatusResponse.EmptyMessage (var: Nt)
message EmptyMessage {
}
// Copied from: local:aiserver.v1.RepositoryStatusResponse.NotFound (var: wt)
message NotFound {
}
// Copied from: local:aiserver.v1.RepositoryStatusResponse.NotSubscribed (var: Et)
message NotSubscribed {
}
// Copied from: local:aiserver.v1.RepositoryStatusResponse.Synced (var: vt)
message Synced {
string branch = 1;
string commit = 2;
}
// Copied from: local:aiserver.v1.RepositoryStatusResponse.Syncing (var: It)
message Syncing {
string branch = 1;
string old_commit = 2;
string new_commit = 3;
float progress = 4;
}
// Copied from: local:aiserver.v1.RepositoryStatusResponse.TooBig (var: Bt)
message TooBig {
int32 max_size = 1;
}
// Copied from: local:aiserver.v1.RepositoryStatusResponse.Uploading (var: St)
message Uploading {
float progress = 1;
}
optional bool is_owner = 9;
oneof status {
NotFound not_found = 1;
Uploading uploading = 2;
Syncing syncing = 3;
Synced synced = 4;
NotSubscribed not_subscribed = 5;
TooBig too_big = 6;
AuthTokenNotFound auth_token_not_found = 7;
AuthTokenNotAuthorized auth_token_not_authorized = 8;
EmptyMessage error_uploading = 10;
EmptyMessage error_syncing = 11;
}
}
// Copied from: agent.v1.RequestContext (var: P)
message RequestContext {
repeated CursorRule rules = 2;
RequestContextEnv env = 4;
repeated RepositoryIndexingInfo repository_info = 6;
repeated McpToolDefinition tools = 7;
optional string conversation_notes_listing = 8;
optional string shared_notes_listing = 9;
repeated GitRepoInfo git_repos = 11;
repeated LsDirectoryTreeNode project_layouts = 13;
repeated McpInstructions mcp_instructions = 14;
optional DebugModeConfig debug_mode_config = 15;
optional string cloud_rule = 16;
optional bool web_search_enabled = 17;
optional SkillOptions skill_options = 18;
optional bool repository_info_should_query_prod = 19;
map<string, string> file_contents = 20;
optional string user_intent_summary = 21;
repeated CustomSubagent custom_subagents = 22;
optional McpFileSystemOptions mcp_file_system_options = 23;
optional bool web_fetch_enabled = 24;
optional string hooks_additional_context = 25;
optional string commit_attribution_message = 26;
optional string pr_attribution_message = 27;
optional HooksConfigInfo hooks_config = 28;
repeated AgentSkill agent_skills = 29;
repeated PrecomputedHumanChange precomputed_human_changes = 30;
optional RecentlyAddedPlugin recently_added_plugin = 31;
optional bool supports_mcp_auth = 32;
optional bool git_repo_info_complete = 33;
optional McpMetaToolOptions mcp_meta_tool_options = 34;
optional bool read_lints_enabled = 35;
optional bool mcp_info_complete = 36;
repeated CursorRule non_file_rules = 37;
optional MatchedInstalledPlugin matched_installed_plugin = 38;
optional bool rules_info_complete = 39;
optional bool env_info_complete = 40;
optional bool repository_info_complete = 41;
optional bool custom_subagents_info_complete = 42;
optional bool agent_skills_info_complete = 43;
optional bool mcp_file_system_info_complete = 44;
optional bool git_status_info_complete = 45;
optional PermissionsAutoRunInstructions user_permissions_auto_run = 46;
optional PermissionsAutoRunInstructions project_permissions_auto_run = 47;
optional PermissionsAutoRunInstructions admin_permissions_auto_run = 48;
repeated string disabled_team_rules = 49;
optional bool search_conversations_enabled = 50;
optional bool send_message_enabled = 51;
repeated string admin_command_denylist = 52;
}
// Copied from: agent.v1.RequestContextArgs (var: f)
message RequestContextArgs {
optional string notes_session_id = 2;
optional string workspace_id = 3;
optional string read_only_pinned_tree_sha = 4;
optional string read_only_plugin_cache_root = 5;
optional bool use_cached = 7;
}
// Copied from: agent.v1.RequestContextEnv (var: w)
message RequestContextEnv {
string os_version = 1;
repeated string workspace_paths = 2;
string shell = 3;
bool sandbox_enabled = 5;
string terminals_folder = 7;
string agent_shared_notes_folder = 8;
string agent_conversation_notes_folder = 9;
string time_zone = 10;
string project_folder = 11;
string agent_transcripts_folder = 12;
optional string artifacts_folder = 13;
optional bool sandbox_supported = 14;
optional bool sandbox_network_has_defaults = 16;
repeated string sandbox_network_explicit_allowlist = 17;
optional bool secret_redaction_enabled = 18;
optional bool computer_use_supported = 19;
optional bool is_working_dir_home_dir = 20;
optional string process_working_directory = 21;
optional bool smart_mode_classifier_auto_mode_enabled = 22;
optional string dev_force_next_smart_mode_classifier_block_token = 23;
optional string dev_delay_next_smart_mode_classifier_token = 24;
repeated MountedAgentStore mounted_agent_stores = 25;
}
// Copied from: agent.v1.RequestContextError (var: A)
message RequestContextError {
string error = 1;
}
// Copied from: agent.v1.RequestContextPartReferences (var: q)
message RequestContextPartReferences {
bytes rules_blob_id = 1;
uint32 rules_byte_length = 2;
bytes skills_blob_id = 3;
uint32 skills_byte_length = 4;
bytes subagents_blob_id = 5;
uint32 subagents_byte_length = 6;
bytes mcps_blob_id = 7;
uint32 mcps_byte_length = 8;
RequestContext dynamic_context = 9;
}
// Copied from: agent.v1.RequestContextRejected (var: _)
message RequestContextRejected {
string reason = 1;
}
// Copied from: agent.v1.RequestContextResult (var: g)
message RequestContextResult {
oneof result {
RequestContextSuccess success = 1;
RequestContextError error = 2;
RequestContextRejected rejected = 3;
}
}
// Copied from: agent.v1.RequestContextSuccess (var: h)
message RequestContextSuccess {
RequestContext request_context = 1;
optional bool served_from_disk_cache = 2;
}
// Copied from: local:aiserver.v1.RequestIndividualLimitsOptOutRequest (var: Kw)
message RequestIndividualLimitsOptOutRequest {
}
// Copied from: local:aiserver.v1.RequestIndividualLimitsOptOutResponse (var: Ww)
message RequestIndividualLimitsOptOutResponse {
repeated IndividualLimitsOptOutTeamResult team_results = 1;
}
// Copied from: local:aiserver.v1.RequestReceivedResponse (var: L)
message RequestReceivedResponse {
string req_uuid = 1;
}
// Copied from: local:aiserver.v1.RequestTrackingFileGitInfo (var: Ae)
message RequestTrackingFileGitInfo {
// Copied from: local:aiserver.v1.RequestTrackingFileGitInfo.GitInfo (var: _e)
message GitInfo {
string git_root = 1;
string branch = 2;
string commit_hash = 3;
}
oneof info {
GitInfo git_info = 1;
bool no_repo_found = 2;
}
}
// Copied from: local:aiserver.v1.RequestTrackingFileSnapshot (var: ge)
message RequestTrackingFileSnapshot {
// Copied from: local:aiserver.v1.RequestTrackingFileSnapshot.DiffChange (var: he)
message DiffChange {
int32 original_start_line_number_one_indexed = 1;
int32 original_end_line_number_exclusive_one_indexed = 2;
int32 modified_start_line_number_one_indexed = 3;
int32 modified_end_line_number_exclusive_one_indexed = 4;
repeated int32 tokenized_added_lines = 6;
repeated string added_lines = 5;
}
// Copied from: local:aiserver.v1.RequestTrackingFileSnapshot.Kind (var: i)
enum Kind {
KIND_UNSPECIFIED = 0;
KIND_ADDED = 1;
KIND_DELETED = 2;
KIND_MODIFIED = 3;
}
string fs_path = 1;
string file_uuid = 2;
double file_size_bytes = 3;
int32 num_lines = 4;
Kind kind = 9;
bool diff_timed_out = 5;
RequestTrackingFileGitInfo git_info = 8;
repeated DiffChange diff_changes = 6;
optional string original_file_contents = 7;
}
// Copied from: agent.v1.RequestedFilePathRejectedReason (var: s)
enum RequestedFilePathRejectedReason {
REQUESTED_FILE_PATH_REJECTED_REASON_UNSPECIFIED = 0;
REQUESTED_FILE_PATH_REJECTED_REASON_SLASHES_NOT_ALLOWED = 1;
}
// Copied from: agent.v1.RequestedModel (var: da)
message RequestedModel {
// Copied from: agent.v1.RequestedModel.ModelParameterValue (var: pa)
message ModelParameterValue {
string id = 1;
string value = 2;
}
string model_id = 1;
bool max_mode = 2;
repeated ModelParameterValue parameters = 3;
bool built_in_model = 7;
bool is_variant_string_representation = 8;
oneof credentials {
ApiKeyCredentials api_key_credentials = 4;
AzureCredentials azure_credentials = 5;
BedrockCredentials bedrock_credentials = 6;
}
}
// Copied from: local:aiserver.v1.RerankCmdKContextRequest (var: l)
message RerankCmdKContextRequest {
repeated PotentiallyCachedContextItem context_items = 1;
CmdKLegacyContext legacy_context = 3;
CmdKOptions cmd_k_options = 2;
}
// Copied from: local:aiserver.v1.RerankCmdKContextResponse (var: u)
message RerankCmdKContextResponse {
optional bool did_call = 3;
oneof response {
ContextStatusUpdate context_status_update = 1;
MissingContextItems missing_context_items = 2;
}
}
// Copied from: local:aiserver.v1.RerankDocumentsRequest (var: je)
message RerankDocumentsRequest {
string query = 1;
repeated Document documents = 2;
}
// Copied from: local:aiserver.v1.RerankDocumentsResponse (var: Xe)
message RerankDocumentsResponse {
repeated DocumentIdsWithScores documents = 1;
}
// Copied from: local:aiserver.v1.RerankTerminalCmdKContextRequest (var: m)
message RerankTerminalCmdKContextRequest {
repeated PotentiallyCachedContextItem context_items = 1;
TerminalCmdKOptions cmd_k_options = 2;
}
// Copied from: local:aiserver.v1.RerankTerminalCmdKContextResponse (var: c)
message RerankTerminalCmdKContextResponse {
oneof response {
ContextStatusUpdate context_status_update = 1;
MissingContextItems missing_context_items = 2;
}
}
// Copied from: local:aiserver.v1.RerankerAlgorithm (var: i)
enum RerankerAlgorithm {
RERANKER_ALGORITHM_UNSPECIFIED = 0;
RERANKER_ALGORITHM_LULEA = 1;
RERANKER_ALGORITHM_UMEA = 2;
RERANKER_ALGORITHM_NONE = 3;
RERANKER_ALGORITHM_LLAMA = 4;
RERANKER_ALGORITHM_STARCODER_V1 = 5;
RERANKER_ALGORITHM_GPT_3_5_LOGPROBS = 6;
RERANKER_ALGORITHM_LULEA_HAIKU = 7;
RERANKER_ALGORITHM_COHERE = 8;
RERANKER_ALGORITHM_VOYAGE = 9;
RERANKER_ALGORITHM_VOYAGE_EMBEDS = 10;
RERANKER_ALGORITHM_IDENTITY = 11;
RERANKER_ALGORITHM_ADA_EMBEDS = 12;
}
// Copied from: local:aiserver.v1.RerankerRequest (var: kr)
message RerankerRequest {
repeated CodeResult code_results = 1;
string query = 2;
int32 num_blocks = 3;
CurrentFileInfo current_file = 4;
repeated ConversationMessage conversation = 5;
ApiDetails api_details = 6;
oneof context_results {
FullFileSearchResult file_search_results = 7;
CodeSearchResult code_search_results = 8;
}
}
// Copied from: local:aiserver.v1.RerankerResponse (var: wr)
message RerankerResponse {
repeated CodeResult results = 1;
}
// Copied from: local:aiserver.v1.RescrapeDocsRequest (var: l)
message RescrapeDocsRequest {
string doc_identifier = 1;
optional bool force_reupload = 2;
}
// Copied from: local:aiserver.v1.RescrapeDocsRequestV2 (var: u)
message RescrapeDocsRequestV2 {
NewDocumentationRequest new_doc_req = 1;
optional bool force_reupload = 2;
}
// Copied from: local:aiserver.v1.RescrapeDocsResponse (var: m)
message RescrapeDocsResponse {
bool success = 1;
optional string new_doc_identifier = 2;
}
// Copied from: agent.v1.ResolveCommentAction (var: zt)
message ResolveCommentAction {
optional string pr_url = 1;
optional string branch_name = 2;
int64 comment_id = 3;
optional string repo_url = 4;
}
// Copied from: local:aiserver.v1.ResolveOrCreateDraftEnvironmentRequest (var: Zu)
message ResolveOrCreateDraftEnvironmentRequest {
string bc_id = 1;
LogicalEnvironmentScope target_scope = 2;
string repo_url = 3;
optional EnvironmentRepoConfig repo_config = 4;
}
// Copied from: local:aiserver.v1.ResolveOrCreateDraftEnvironmentResponse (var: $u)
message ResolveOrCreateDraftEnvironmentResponse {
LogicalEnvironment environment = 1;
bool created = 2;
}
// Copied from: local:aiserver.v1.ResolveOrCreateMultiRepoEnvironmentRequest (var: ju)
message ResolveOrCreateMultiRepoEnvironmentRequest {
EnvironmentRepoConfig repo_config = 4;
EnvironmentWriteSource write_source = 5;
MultiRepoEnvironmentReusePolicy reuse_policy = 6;
oneof owner_id {
int32 user_id = 1;
int32 team_id = 2;
string service_account_id = 3;
}
}
// Copied from: local:aiserver.v1.ResolveOrCreateMultiRepoEnvironmentResponse (var: Xu)
message ResolveOrCreateMultiRepoEnvironmentResponse {
LogicalEnvironment environment = 1;
bool created = 2;
}
// Copied from: local:aiserver.v1.ResolvePluginsByRefRequest (var: XS)
message ResolvePluginsByRefRequest {
repeated PluginRef refs = 1;
}
// Copied from: local:aiserver.v1.ResolvePluginsByRefResponse (var: ZS)
message ResolvePluginsByRefResponse {
repeated Plugin plugins = 1;
}
// Copied from: local:aiserver.v1.ResolvePrCreationForgeRequest (var: nc)
message ResolvePrCreationForgeRequest {
string repo_url = 1;
optional int32 team_id = 2;
}
// Copied from: local:aiserver.v1.ResolvePrCreationForgeResponse (var: rc)
message ResolvePrCreationForgeResponse {
// Copied from: local:aiserver.v1.ResolvePrCreationForgeResponse.PrCreationForge (var: bt)
enum PrCreationForge {
PR_CREATION_FORGE_UNSPECIFIED = 0;
PR_CREATION_FORGE_GITHUB = 1;
PR_CREATION_FORGE_ORIGIN = 2;
}
PrCreationForge forge = 1;
string repo_url = 2;
bool switched = 3;
}
// Copied from: local:aiserver.v1.ResolveReviewThreadRequest (var: Uc)
message ResolveReviewThreadRequest {
string pr_url = 1;
string thread_id = 2;
}
// Copied from: local:aiserver.v1.ResolveReviewThreadResponse (var: xc)
message ResolveReviewThreadResponse {
bool success = 1;
}
// Copied from: agent.v1.ResponseComparisonCompleted (var: xa)
message ResponseComparisonCompleted {
}
// Copied from: agent.v1.ResponseComparisonDisplayOrder (var: Zs)
enum ResponseComparisonDisplayOrder {
RESPONSE_COMPARISON_DISPLAY_ORDER_UNSPECIFIED = 0;
RESPONSE_COMPARISON_DISPLAY_ORDER_PARENT_FIRST = 1;
RESPONSE_COMPARISON_DISPLAY_ORDER_ALTERNATE_FIRST = 2;
}
// Copied from: agent.v1.ResponseComparisonSkipReason (var: $s)
enum ResponseComparisonSkipReason {
RESPONSE_COMPARISON_SKIP_REASON_UNSPECIFIED = 0;
RESPONSE_COMPARISON_SKIP_REASON_ALTERNATE_TOOL_CALL = 1;
RESPONSE_COMPARISON_SKIP_REASON_INFERENCE_ERROR = 2;
RESPONSE_COMPARISON_SKIP_REASON_TIMEOUT = 3;
RESPONSE_COMPARISON_SKIP_REASON_CANCELLED = 4;
}
// Copied from: agent.v1.ResponseComparisonSkipped (var: Qa)
message ResponseComparisonSkipped {
ResponseComparisonSkipReason reason = 1;
}
// Copied from: agent.v1.ResponseComparisonStarted (var: Oa)
message ResponseComparisonStarted {
ResponseComparisonDisplayOrder display_order = 1;
string parent_invocation_id = 2;
string alternate_invocation_id = 3;
string parent_response = 4;
string comparison_config_id = 5;
string alternate_model_id = 6;
}
// Copied from: agent.v1.ResponseComparisonTextDelta (var: Ua)
message ResponseComparisonTextDelta {
string text = 1;
}
// Copied from: agent.v1.ResponseComparisonUpdate (var: Ga)
message ResponseComparisonUpdate {
string comparison_id = 1;
oneof event {
ResponseComparisonStarted started = 2;
ResponseComparisonTextDelta text_delta = 3;
ResponseComparisonCompleted completed = 4;
ResponseComparisonSkipped skipped = 5;
}
}
// Copied from: local:aiserver.v1.RestoreEnvironmentVersionRequest (var: fm)
message RestoreEnvironmentVersionRequest {
string environment_version_public_id = 1;
LogicalEnvironmentScope target_scope = 2;
optional string target_environment_public_id = 3;
optional string delete_personal_environment_public_id = 4;
}
// Copied from: local:aiserver.v1.RestoreEnvironmentVersionResponse (var: gm)
message RestoreEnvironmentVersionResponse {
optional LogicalEnvironment environment = 1;
}
// Copied from: agent.v1.ResumeAction (var: Ai)
message ResumeAction {
RequestContext request_context = 2;
}
// Copied from: local:aiserver.v1.ResumeBackgroundComposerRequest (var: Ti)
message ResumeBackgroundComposerRequest {
string bc_id = 1;
}
// Copied from: local:aiserver.v1.ResumeBackgroundComposerResponse (var: yi)
message ResumeBackgroundComposerResponse {
}
// Copied from: local:aiserver.v1.RetrievalKeepAliveConfig (var: h)
enum RetrievalKeepAliveConfig {
RETRIEVAL_KEEP_ALIVE_CONFIG_UNSPECIFIED = 0;
RETRIEVAL_KEEP_ALIVE_CONFIG_FORCE_DISABLED = 1;
RETRIEVAL_KEEP_ALIVE_CONFIG_FORCE_ENABLED = 2;
}
// Copied from: local:aiserver.v1.ReviewBug (var: Qs)
message ReviewBug {
string id = 1;
optional int32 start_line = 2;
optional int32 end_line = 3;
optional string description = 4;
optional int32 severity = 5;
optional string tldr = 6;
}
// Copied from: local:aiserver.v1.ReviewBugV2 (var: G)
message ReviewBugV2 {
string id = 1;
string chunk_id = 2;
string relative_workspace_path = 3;
int32 start_line = 4;
int32 end_line = 5;
string description = 6;
int32 severity = 7;
string tldr = 8;
string diff = 9;
int32 full_chunk_start_line = 10;
int32 full_chunk_end_line = 11;
int32 full_chunk_total_lines = 12;
}
// Copied from: local:aiserver.v1.ReviewChangesOpenedEvent (var: hn)
message ReviewChangesOpenedEvent {
string composer_id = 1;
optional string best_of_n_group_id = 2;
}
// Copied from: local:aiserver.v1.ReviewChatMessage (var: Os)
message ReviewChatMessage {
// Copied from: local:aiserver.v1.ReviewChatMessage.ReviewChatMessageType (var: _e)
enum ReviewChatMessageType {
REVIEW_CHAT_MESSAGE_TYPE_UNSPECIFIED = 0;
REVIEW_CHAT_MESSAGE_TYPE_HUMAN = 1;
REVIEW_CHAT_MESSAGE_TYPE_AI = 2;
}
string text = 1;
ReviewChatMessageType type = 2;
}
// Copied from: local:aiserver.v1.ReviewChatRequest (var: Us)
message ReviewChatRequest {
string chunk = 1;
string file_context = 2;
LineRange chunk_range = 3;
repeated ReviewChatMessage messages = 4;
}
// Copied from: local:aiserver.v1.ReviewChatRequestV2 (var: V)
message ReviewChatRequestV2 {
File file = 1;
ReviewBugV2 bug = 2;
optional string linter_rules = 3;
repeated ReviewChatMessage messages = 4;
}
// Copied from: local:aiserver.v1.ReviewChatResponse (var: xs)
message ReviewChatResponse {
string text = 1;
optional bool should_resolve = 2;
}
// Copied from: local:aiserver.v1.ReviewChatResponseV2 (var: Y)
message ReviewChatResponseV2 {
string text = 1;
}
// Copied from: local:aiserver.v1.ReviewRequest (var: Ds)
message ReviewRequest {
string chunk = 1;
string file_context = 2;
LineRange chunk_range = 3;
optional string diff_string = 4;
optional string custom_instructions = 5;
}
// Copied from: local:aiserver.v1.ReviewRequestV2 (var: x)
message ReviewRequestV2 {
// Copied from: local:aiserver.v1.ReviewRequestV2.FileDiff (var: Q)
message FileDiff {
File file = 1;
repeated ChunkDiff chunk_diffs = 2;
}
repeated FileDiff file_diffs = 1;
optional string linter_rules = 2;
optional bool also_find_hard_bugs = 3;
optional string save_request_as = 4;
}
// Copied from: local:aiserver.v1.ReviewResponse (var: Gs)
message ReviewResponse {
string text = 1;
optional string prompt = 2;
optional string tldr = 3;
optional bool is_bug = 4;
repeated ReviewBug bugs = 5;
}
// Copied from: local:aiserver.v1.ReviewResponseV2 (var: H)
message ReviewResponseV2 {
ReviewBugV2 bug = 1;
}
// Copied from: local:aiserver.v1.RevokeBackgroundComposerSecretRequest (var: To)
message RevokeBackgroundComposerSecretRequest {
string name = 1;
bool team_scope = 2;
int32 id = 3;
BackgroundComposerSecretOwner owner = 4;
}
// Copied from: local:aiserver.v1.RevokeBackgroundComposerSecretResponse (var: yo)
message RevokeBackgroundComposerSecretResponse {
}
// Copied from: local:aiserver.v1.RevokeBugBotLicensesRequest (var: iy)
message RevokeBugBotLicensesRequest {
int32 team_id = 1;
int32 new_num_licenses = 2;
}
// Copied from: local:aiserver.v1.RevokeBugBotLicensesResponse (var: ay)
message RevokeBugBotLicensesResponse {
}
// Copied from: local:aiserver.v1.RevokeOrganizationApiKeyRequest (var: Fl)
message RevokeOrganizationApiKeyRequest {
string organization_id = 1;
string api_key_id = 2;
}
// Copied from: local:aiserver.v1.RevokeOrganizationApiKeyResponse (var: ql)
message RevokeOrganizationApiKeyResponse {
}
// Copied from: local:aiserver.v1.RevokeTeamApiKeyRequest (var: Jl)
message RevokeTeamApiKeyRequest {
int32 team_id = 1;
int32 id = 2;
}
// Copied from: local:aiserver.v1.RevokeTeamApiKeyResponse (var: Cl)
message RevokeTeamApiKeyResponse {
}
// Copied from: local:aiserver.v1.RevokeTeamInviteLinkRequest (var: bg)
message RevokeTeamInviteLinkRequest {
string invite_code = 1;
}
// Copied from: local:aiserver.v1.RevokeTeamInviteLinkResponse (var: Mg)
message RevokeTeamInviteLinkResponse {
}
// Copied from: local:aiserver.v1.RevokeUserApiKeyRequest (var: ou)
message RevokeUserApiKeyRequest {
int32 id = 1;
}
// Copied from: local:aiserver.v1.RevokeUserApiKeyResponse (var: iu)
message RevokeUserApiKeyResponse {
}
// Copied from: local:aiserver.v1.RevokeUserBugbotLicenseRequest (var: ly)
message RevokeUserBugbotLicenseRequest {
int32 team_id = 1;
string github_user_node_id = 2;
}
// Copied from: local:aiserver.v1.RevokeUserBugbotLicenseResponse (var: uy)
message RevokeUserBugbotLicenseResponse {
}
// Copied from: local:aiserver.v1.RipgrepRawSearchContentMatch (var: Dr)
message RipgrepRawSearchContentMatch {
int32 line_number = 1;
string content = 2;
bool content_truncated = 3;
bool is_context_line = 4;
}
// Copied from: local:aiserver.v1.RipgrepRawSearchContentResult (var: Fr)
message RipgrepRawSearchContentResult {
repeated RipgrepRawSearchFileMatch matches = 1;
int32 total_lines = 2;
int32 total_matched_lines = 3;
bool client_truncated = 4;
bool ripgrep_truncated = 5;
optional int32 head_limit_applied = 6;
optional int32 offset_applied = 7;
}
// Copied from: local:aiserver.v1.RipgrepRawSearchCountResult (var: Pr)
message RipgrepRawSearchCountResult {
repeated RipgrepRawSearchFileCount counts = 1;
int32 total_files = 2;
int32 total_matches = 3;
bool client_truncated = 4;
optional int32 head_limit_applied = 6;
optional int32 offset_applied = 7;
bool ripgrep_truncated = 5;
}
// Copied from: local:aiserver.v1.RipgrepRawSearchError (var: Cr)
message RipgrepRawSearchError {
string error = 1;
}
// Copied from: local:aiserver.v1.RipgrepRawSearchFileCount (var: br)
message RipgrepRawSearchFileCount {
string file = 1;
int32 count = 2;
optional bool is_dirty = 3;
optional bool is_out_of_workspace = 4;
optional string absolute_path = 5;
}
// Copied from: local:aiserver.v1.RipgrepRawSearchFileMatch (var: qr)
message RipgrepRawSearchFileMatch {
string file = 1;
repeated RipgrepRawSearchContentMatch matches = 2;
optional bool is_dirty = 3;
optional bool is_out_of_workspace = 4;
optional string absolute_path = 5;
}
// Copied from: local:aiserver.v1.RipgrepRawSearchFilesResult (var: Mr)
message RipgrepRawSearchFilesResult {
// Copied from: local:aiserver.v1.RipgrepRawSearchFilesResult.FileEntry (var: Lr)
message FileEntry {
string file = 1;
bool is_dirty = 2;
bool is_out_of_workspace = 3;
optional string absolute_path = 4;
}
repeated string files = 1;
int32 total_files = 2;
bool client_truncated = 3;
bool ripgrep_truncated = 4;
repeated FileEntry files_with_meta = 5;
optional int32 head_limit_applied = 6;
optional int32 offset_applied = 7;
}
// Copied from: local:aiserver.v1.RipgrepRawSearchParams (var: Br)
message RipgrepRawSearchParams {
string pattern = 1;
optional string path = 2;
optional string glob = 3;
optional string output_mode = 4;
optional int32 context_before = 5;
optional int32 context_after = 6;
optional int32 context = 7;
optional bool case_insensitive = 8;
optional string type = 9;
optional int32 head_limit = 10;
optional bool multiline = 11;
optional string sort = 12;
optional bool sort_ascending = 13;
repeated string ignore_globs = 14;
optional int32 offset = 15;
}
// Copied from: local:aiserver.v1.RipgrepRawSearchResult (var: Jr)
message RipgrepRawSearchResult {
oneof result {
RipgrepRawSearchSuccess success = 1;
RipgrepRawSearchError error = 2;
}
}
// Copied from: local:aiserver.v1.RipgrepRawSearchStream (var: Or)
message RipgrepRawSearchStream {
string pattern = 1;
}
// Copied from: local:aiserver.v1.RipgrepRawSearchSuccess (var: Nr)
message RipgrepRawSearchSuccess {
string pattern = 1;
string path = 2;
string output_mode = 3;
map<string, RipgrepRawSearchUnionResult> workspace_results = 4;
optional RipgrepRawSearchUnionResult active_editor_result = 5;
}
// Copied from: local:aiserver.v1.RipgrepRawSearchUnionResult (var: Rr)
message RipgrepRawSearchUnionResult {
oneof result {
RipgrepRawSearchCountResult count = 1;
RipgrepRawSearchFilesResult files = 2;
RipgrepRawSearchContentResult content = 3;
}
}
// Copied from: local:aiserver.v1.RipgrepSearchParams (var: Te)
message RipgrepSearchParams {
// Copied from: local:aiserver.v1.RipgrepSearchParams.IPatternInfoProto (var: ye)
message IPatternInfoProto {
// Copied from: local:aiserver.v1.RipgrepSearchParams.IPatternInfoProto.INotebookPatternInfoProto (var: ke)
message INotebookPatternInfoProto {
optional bool is_in_notebook_markdown_input = 1;
optional bool is_in_notebook_markdown_preview = 2;
optional bool is_in_notebook_cell_input = 3;
optional bool is_in_notebook_cell_output = 4;
}
string pattern = 1;
optional bool is_reg_exp = 2;
optional bool is_word_match = 3;
optional string word_separators = 4;
optional bool is_multiline = 5;
optional bool is_unicode = 6;
optional bool is_case_sensitive = 7;
INotebookPatternInfoProto notebook_info = 8;
optional bool pattern_was_escaped = 9;
}
// Copied from: local:aiserver.v1.RipgrepSearchParams.ITextQueryBuilderOptionsProto (var: we)
message ITextQueryBuilderOptionsProto {
// Copied from: local:aiserver.v1.RipgrepSearchParams.ITextQueryBuilderOptionsProto.ExcludePatternProto (var: Se)
message ExcludePatternProto {
repeated RipgrepSearchParams.ITextQueryBuilderOptionsProto.ISearchPatternBuilderProto exclude_pattern = 1;
}
// Copied from: local:aiserver.v1.RipgrepSearchParams.ITextQueryBuilderOptionsProto.ExtraFileResourcesProto (var: Ee)
message ExtraFileResourcesProto {
repeated string extra_file_resources = 1;
}
// Copied from: local:aiserver.v1.RipgrepSearchParams.ITextQueryBuilderOptionsProto.INotebookSearchConfigProto (var: Je)
message INotebookSearchConfigProto {
bool include_markup_input = 1;
bool include_markup_preview = 2;
bool include_code_input = 3;
bool include_output = 4;
}
// Copied from: local:aiserver.v1.RipgrepSearchParams.ITextQueryBuilderOptionsProto.ISearchPathPatternBuilderProto (var: ve)
message ISearchPathPatternBuilderProto {
optional string pattern = 1;
repeated string patterns = 2;
}
// Copied from: local:aiserver.v1.RipgrepSearchParams.ITextQueryBuilderOptionsProto.ISearchPatternBuilderProto (var: Ie)
message ISearchPatternBuilderProto {
optional string uri = 1;
RipgrepSearchParams.ITextQueryBuilderOptionsProto.ISearchPathPatternBuilderProto pattern = 2;
}
// Copied from: local:aiserver.v1.RipgrepSearchParams.ITextQueryBuilderOptionsProto.ITextSearchPreviewOptionsProto (var: Be)
message ITextSearchPreviewOptionsProto {
int32 match_lines = 1;
int32 chars_per_line = 2;
}
ITextSearchPreviewOptionsProto preview_options = 1;
optional string file_encoding = 2;
optional int32 surrounding_context = 3;
optional bool is_smart_case = 4;
INotebookSearchConfigProto notebook_search_config = 5;
ExcludePatternProto exclude_pattern = 6;
ISearchPathPatternBuilderProto include_pattern = 7;
optional bool expand_patterns = 8;
optional int32 max_results = 9;
optional int32 max_file_size = 10;
optional bool disregard_ignore_files = 11;
optional bool disregard_global_ignore_files = 12;
optional bool disregard_parent_ignore_files = 13;
optional bool disregard_exclude_settings = 14;
optional bool disregard_search_exclude_settings = 15;
optional bool ignore_symlinks = 16;
optional bool only_open_editors = 17;
optional bool only_file_scheme = 18;
optional string reason = 19;
ExtraFileResourcesProto extra_file_resources = 20;
}
ITextQueryBuilderOptionsProto options = 1;
IPatternInfoProto pattern_info = 2;
}
// Copied from: local:aiserver.v1.RipgrepSearchResult (var: Ce)
message RipgrepSearchResult {
RipgrepSearchResultInternal internal = 1;
}
// Copied from: local:aiserver.v1.RipgrepSearchResultInternal (var: Ne)
message RipgrepSearchResultInternal {
// Copied from: local:aiserver.v1.RipgrepSearchResultInternal.ICachedSearchStats (var: xe)
message ICachedSearchStats {
bool cache_was_resolved = 1;
int32 cache_lookup_time = 2;
int32 cache_filter_time = 3;
int32 cache_entry_count = 4;
}
// Copied from: local:aiserver.v1.RipgrepSearchResultInternal.IFileMatch (var: Re)
message IFileMatch {
string resource = 1;
repeated RipgrepSearchResultInternal.ITextSearchResult results = 2;
}
// Copied from: local:aiserver.v1.RipgrepSearchResultInternal.IFileSearchProviderStats (var: Qe)
message IFileSearchProviderStats {
int32 provider_time = 1;
int32 post_process_time = 2;
}
// Copied from: local:aiserver.v1.RipgrepSearchResultInternal.IFileSearchStats (var: De)
message IFileSearchStats {
// Copied from: local:aiserver.v1.RipgrepSearchResultInternal.IFileSearchStats.FileSearchProviderType (var: d)
enum FileSearchProviderType {
FILE_SEARCH_PROVIDER_TYPE_UNSPECIFIED = 0;
FILE_SEARCH_PROVIDER_TYPE_FILE_SEARCH_PROVIDER = 1;
FILE_SEARCH_PROVIDER_TYPE_SEARCH_PROCESS = 2;
}
bool from_cache = 1;
int32 result_count = 5;
FileSearchProviderType type = 6;
optional int32 sorting_time = 7;
oneof detail_stats {
RipgrepSearchResultInternal.ISearchEngineStats search_engine_stats = 2;
RipgrepSearchResultInternal.ICachedSearchStats cached_search_stats = 3;
RipgrepSearchResultInternal.IFileSearchProviderStats file_search_provider_stats = 4;
}
}
// Copied from: local:aiserver.v1.RipgrepSearchResultInternal.ISearchEngineStats (var: Ue)
message ISearchEngineStats {
int32 file_walk_time = 1;
int32 directories_walked = 2;
int32 files_walked = 3;
int32 cmd_time = 4;
optional int32 cmd_result_count = 5;
}
// Copied from: local:aiserver.v1.RipgrepSearchResultInternal.ISearchRange (var: Fe)
message ISearchRange {
int32 start_line_number = 1;
int32 start_column = 2;
int32 end_line_number = 3;
int32 end_column = 4;
}
// Copied from: local:aiserver.v1.RipgrepSearchResultInternal.ISearchRangeSetPairing (var: Le)
message ISearchRangeSetPairing {
RipgrepSearchResultInternal.ISearchRange source = 1;
RipgrepSearchResultInternal.ISearchRange preview = 2;
}
// Copied from: local:aiserver.v1.RipgrepSearchResultInternal.ITextSearchCompleteMessage (var: qe)
message ITextSearchCompleteMessage {
string text = 1;
RipgrepSearchResultInternal.TextSearchCompleteMessageType type = 2;
optional bool trusted = 3;
}
// Copied from: local:aiserver.v1.RipgrepSearchResultInternal.ITextSearchContext (var: Me)
message ITextSearchContext {
optional string uri = 1;
string text = 2;
int32 line_number = 3;
}
// Copied from: local:aiserver.v1.RipgrepSearchResultInternal.ITextSearchMatch (var: be)
message ITextSearchMatch {
optional string uri = 1;
repeated RipgrepSearchResultInternal.ISearchRangeSetPairing range_locations = 2;
string preview_text = 3;
optional int32 webview_index = 4;
optional string cell_fragment = 5;
}
// Copied from: local:aiserver.v1.RipgrepSearchResultInternal.ITextSearchResult (var: Pe)
message ITextSearchResult {
oneof result {
RipgrepSearchResultInternal.ITextSearchMatch match = 1;
RipgrepSearchResultInternal.ITextSearchContext context = 2;
}
}
// Copied from: local:aiserver.v1.RipgrepSearchResultInternal.ITextSearchStats (var: Oe)
message ITextSearchStats {
// Copied from: local:aiserver.v1.RipgrepSearchResultInternal.ITextSearchStats.TextSearchProviderType (var: p)
enum TextSearchProviderType {
TEXT_SEARCH_PROVIDER_TYPE_UNSPECIFIED = 0;
TEXT_SEARCH_PROVIDER_TYPE_TEXT_SEARCH_PROVIDER = 1;
TEXT_SEARCH_PROVIDER_TYPE_SEARCH_PROCESS = 2;
TEXT_SEARCH_PROVIDER_TYPE_AI_TEXT_SEARCH_PROVIDER = 3;
}
TextSearchProviderType type = 1;
}
// Copied from: local:aiserver.v1.RipgrepSearchResultInternal.SearchCompletionExitCode (var: c)
enum SearchCompletionExitCode {
SEARCH_COMPLETION_EXIT_CODE_UNSPECIFIED = 0;
SEARCH_COMPLETION_EXIT_CODE_NORMAL = 1;
SEARCH_COMPLETION_EXIT_CODE_NEW_SEARCH_STARTED = 2;
}
// Copied from: local:aiserver.v1.RipgrepSearchResultInternal.TextSearchCompleteMessageType (var: m)
enum TextSearchCompleteMessageType {
TEXT_SEARCH_COMPLETE_MESSAGE_TYPE_UNSPECIFIED = 0;
TEXT_SEARCH_COMPLETE_MESSAGE_TYPE_INFORMATION = 1;
TEXT_SEARCH_COMPLETE_MESSAGE_TYPE_WARNING = 2;
}
repeated IFileMatch results = 1;
optional SearchCompletionExitCode exit = 2;
optional bool limit_hit = 3;
repeated ITextSearchCompleteMessage messages = 4;
oneof stats {
IFileSearchStats file_search_stats = 5;
ITextSearchStats text_search_stats = 6;
}
}
// Copied from: local:aiserver.v1.RipgrepSearchStream (var: Ge)
message RipgrepSearchStream {
string query = 1;
}
// Copied from: local:aiserver.v1.RotateGitlabEnterpriseWebhookSecretRequest (var: gn)
message RotateGitlabEnterpriseWebhookSecretRequest {
string git_enterprise_uuid = 1;
}
// Copied from: local:aiserver.v1.RotateGitlabEnterpriseWebhookSecretResponse (var: hn)
message RotateGitlabEnterpriseWebhookSecretResponse {
}
// Copied from: local:aiserver.v1.RotateServiceAccountApiKeyRequest (var: jl)
message RotateServiceAccountApiKeyRequest {
int32 team_id = 1;
string service_account_id = 2;
optional int32 old_api_key_id = 3;
}
// Copied from: local:aiserver.v1.RotateServiceAccountApiKeyResponse (var: Xl)
message RotateServiceAccountApiKeyResponse {
string api_key = 1;
ServiceAccountKeyInfo key_info = 2;
}
// Copied from: local:aiserver.v1.Rule (var: Ay)
message Rule {
string id = 1;
string name = 2;
string content = 3;
repeated string globs = 6;
bool is_active = 4;
bool is_required = 5;
TeamRuleAgentType agent_type = 7;
}
// Copied from: local:aiserver.v1.RuleDescriptor (var: dE)
message RuleDescriptor {
string name = 1;
optional string description = 2;
optional string source_path = 3;
optional string source_url = 4;
}
// Copied from: local:aiserver.v1.RunBugBotPromptProps (var: f)
message RunBugBotPromptProps {
StreamBugBotRequest req = 1;
string seed = 2;
string date = 3;
repeated FileAndOutline context_files = 4;
optional string file_content_source = 5;
}
// Copied from: local:aiserver.v1.RunDiamondToBugbotMigrationRequest (var: Ik)
message RunDiamondToBugbotMigrationRequest {
int32 team_id = 1;
int64 installation_id = 2;
optional string ghe_application = 3;
string graphite_workspace_id = 4;
DiamondToBugbotMigrationMode mode = 5;
optional string approved_preview_hash = 6;
google.protobuf.Struct extracted_settings = 7;
}
// Copied from: local:aiserver.v1.RunDiamondToBugbotMigrationResponse (var: vk)
message RunDiamondToBugbotMigrationResponse {
string status = 1;
string preview_hash = 2;
string preview_json = 3;
string repository_rules_json = 4;
string apply_plan_json = 5;
string audit_json = 6;
repeated string warnings = 7;
repeated string blockers = 8;
repeated string applied_operation_ids = 9;
repeated string skipped_operation_ids = 10;
int32 resolved_team_id = 11;
}
// Copied from: local:aiserver.v1.RunFullSelfDrivingCloudCommandRequest (var: te)
message RunFullSelfDrivingCloudCommandRequest {
string pr_url = 1;
FullSelfDrivingMode mode = 2;
optional string user_instructions = 3;
optional string trigger_description = 4;
optional string model_id = 5;
}
// Copied from: local:aiserver.v1.RunFullSelfDrivingCloudCommandResponse (var: ne)
message RunFullSelfDrivingCloudCommandResponse {
string bc_id = 1;
FullSelfDrivingCloudCommandAction action = 2;
FullSelfDrivingMode mode = 3;
}
// Copied from: local:aiserver.v1.RunFullSelfDrivingWorkflowSuggestionRequest (var: z)
message RunFullSelfDrivingWorkflowSuggestionRequest {
string pr_url = 1;
string bc_id = 2;
string stable_key = 3;
}
// Copied from: local:aiserver.v1.RunFullSelfDrivingWorkflowSuggestionResponse (var: j)
message RunFullSelfDrivingWorkflowSuggestionResponse {
string bc_id = 1;
bool spawned_new_run = 2;
}
// Copied from: local:aiserver.v1.RunGenerateImageError (var: rs)
message RunGenerateImageError {
string error = 1;
bool model_restricted = 2;
}
// Copied from: local:aiserver.v1.RunGenerateImageRequest (var: ts)
message RunGenerateImageRequest {
string description = 1;
repeated GenerateImageReferenceImage reference_images = 2;
string model_id = 3;
bool max_mode = 4;
}
// Copied from: local:aiserver.v1.RunGenerateImageResponse (var: ss)
message RunGenerateImageResponse {
oneof result {
RunGenerateImageSuccess success = 1;
RunGenerateImageError error = 2;
}
}
// Copied from: local:aiserver.v1.RunGenerateImageSuccess (var: ns)
message RunGenerateImageSuccess {
string image_data = 1;
string mime_type = 2;
}
// Copied from: local:aiserver.v1.RunTerminalCommandEndedReason (var: i)
enum RunTerminalCommandEndedReason {
RUN_TERMINAL_COMMAND_ENDED_REASON_UNSPECIFIED = 0;
RUN_TERMINAL_COMMAND_ENDED_REASON_EXECUTION_COMPLETED = 1;
RUN_TERMINAL_COMMAND_ENDED_REASON_EXECUTION_ABORTED = 2;
RUN_TERMINAL_COMMAND_ENDED_REASON_EXECUTION_FAILED = 3;
RUN_TERMINAL_COMMAND_ENDED_REASON_ERROR_OCCURRED_CHECKING_REASON = 4;
RUN_TERMINAL_COMMAND_ENDED_REASON_IDLE_TIMEOUT = 5;
}
// Copied from: local:aiserver.v1.RunTerminalCommandV2Params (var: An)
message RunTerminalCommandV2Params {
// Copied from: local:aiserver.v1.RunTerminalCommandV2Params.ExecutionOptions (var: _n)
message ExecutionOptions {
optional int32 timeout = 1;
optional bool skip_ai_check = 2;
optional int32 command_run_timeout_ms = 3;
optional int32 command_change_check_interval_ms = 4;
optional int32 ai_finish_check_max_attempts = 5;
optional int32 ai_finish_check_interval_ms = 6;
optional int32 delayer_interval_ms = 7;
optional bool ai_check_for_hangs = 8;
}
string command = 1;
optional string cwd = 2;
optional bool new_session = 3;
optional ExecutionOptions options = 4;
bool is_background = 5;
bool require_user_approval = 6;
optional ShellCommandParsingResult parsing_result = 7;
optional int32 idle_timeout_seconds = 8;
optional SandboxPolicy requested_sandbox_policy = 9;
optional int64 file_output_threshold_bytes = 10;
optional string command_description = 11;
optional CommandClassifierResult classifier_result = 12;
}
// Copied from: local:aiserver.v1.RunTerminalCommandV2Result (var: yn)
message RunTerminalCommandV2Result {
string output = 1;
int32 exit_code = 2;
optional bool rejected = 3;
bool popped_out_into_background = 4;
bool is_running_in_background = 5;
bool not_interrupted = 6;
string resulting_working_directory = 7;
bool did_user_change = 8;
RunTerminalCommandEndedReason ended_reason = 9;
optional int32 exit_code_v2 = 10;
optional string updated_command = 11;
string output_raw = 12;
optional HumanReview human_review_v2 = 13;
optional SandboxPolicy effective_sandbox_policy = 14;
optional int32 terminal_instance_id = 15;
optional OutputLocation output_location = 16;
optional string terminal_instance_path = 17;
optional uint32 background_shell_id = 18;
}
// Copied from: local:aiserver.v1.RunTerminalCommandV2Stream (var: kn)
message RunTerminalCommandV2Stream {
string command = 1;
bool is_background = 2;
optional ShellCommandParsingResult parsing_result = 7;
optional int32 idle_timeout_seconds = 8;
optional SandboxPolicy requested_sandbox_policy = 9;
}
// Copied from: local:aiserver.v1.RunTerminalCommandsParams (var: pt)
message RunTerminalCommandsParams {
repeated string commands = 1;
string commands_uuid = 2;
}
// Copied from: local:aiserver.v1.RunTerminalCommandsResult (var: ft)
message RunTerminalCommandsResult {
repeated string outputs = 1;
}
// Copied from: local:aiserver.v1.RunTerminalServerConfig (var: ze)
message RunTerminalServerConfig {
repeated string composite_shell_commands = 1;
repeated string safe_shell_commands = 2;
}
// Copied from: local:aiserver.v1.RunTestParams (var: en)
message RunTestParams {
string relative_workspace_path = 1;
optional string test_name = 2;
}
// Copied from: local:aiserver.v1.RunTestResult (var: tn)
message RunTestResult {
string result = 1;
}
// Copied from: local:aiserver.v1.RunWebFetchError (var: Zr)
message RunWebFetchError {
string error = 1;
bool is_timeout = 2;
}
// Copied from: local:aiserver.v1.RunWebFetchRequest (var: jr)
message RunWebFetchRequest {
string url = 1;
}
// Copied from: local:aiserver.v1.RunWebFetchResponse (var: $r)
message RunWebFetchResponse {
oneof result {
RunWebFetchSuccess success = 1;
RunWebFetchError error = 2;
}
}
// Copied from: local:aiserver.v1.RunWebFetchSuccess (var: Xr)
message RunWebFetchSuccess {
string content = 1;
}
// Copied from: local:aiserver.v1.RunWebSearchRequest (var: Kr)
message RunWebSearchRequest {
string search_term = 1;
optional string explanation = 2;
string model_id = 3;
}
// Copied from: local:aiserver.v1.RunWebSearchResponse (var: zr)
message RunWebSearchResponse {
optional string answer = 1;
repeated WebSearchDocument documents = 2;
}
// Copied from: local:aiserver.v1.SCMBatchGetPullRequestForBranchRequest (var: Bs)
message SCMBatchGetPullRequestForBranchRequest {
repeated SCMBranchRef branches = 1;
optional bool skip_cache = 2;
}
// Copied from: local:aiserver.v1.SCMBatchGetPullRequestForBranchResponse (var: Cs)
message SCMBatchGetPullRequestForBranchResponse {
repeated SCMBranchPullRequests results = 1;
}
// Copied from: local:aiserver.v1.SCMBranchPullRequests (var: Js)
message SCMBranchPullRequests {
string repo_url = 1;
string branch_name = 2;
repeated string pr_urls = 3;
}
// Copied from: local:aiserver.v1.SCMBranchRef (var: vs)
message SCMBranchRef {
string repo_url = 1;
string branch_name = 2;
}
// Copied from: local:aiserver.v1.SCMCiStatus (var: Dn)
enum SCMCiStatus {
SCM_CI_STATUS_UNSPECIFIED = 0;
SCM_CI_STATUS_UNKNOWN = 1;
SCM_CI_STATUS_SUCCESS = 2;
SCM_CI_STATUS_FAILURE = 3;
SCM_CI_STATUS_PENDING = 4;
}
// Copied from: local:aiserver.v1.SCMClosePullRequestRequest (var: qs)
message SCMClosePullRequestRequest {
string pr_url = 1;
}
// Copied from: local:aiserver.v1.SCMClosePullRequestResponse (var: Ds)
message SCMClosePullRequestResponse {
bool success = 1;
string error = 2;
}
// Copied from: local:aiserver.v1.SCMDisablePullRequestAutoMergeRequest (var: Gs)
message SCMDisablePullRequestAutoMergeRequest {
string pr_url = 1;
}
// Copied from: local:aiserver.v1.SCMDisablePullRequestAutoMergeResponse (var: Hs)
message SCMDisablePullRequestAutoMergeResponse {
bool success = 1;
string error = 2;
optional string pr_node_id = 3;
}
// Copied from: local:aiserver.v1.SCMEnablePullRequestAutoMergeRequest (var: xs)
message SCMEnablePullRequestAutoMergeRequest {
string pr_url = 1;
SCMMergeMethod merge_method = 2;
}
// Copied from: local:aiserver.v1.SCMEnablePullRequestAutoMergeResponse (var: Qs)
message SCMEnablePullRequestAutoMergeResponse {
bool success = 1;
string error = 2;
optional string pr_node_id = 3;
}
// Copied from: local:aiserver.v1.SCMGetPullRequestForBranchRequest (var: Ss)
message SCMGetPullRequestForBranchRequest {
string repo_url = 1;
string branch_name = 2;
optional bool skip_cache = 3;
}
// Copied from: local:aiserver.v1.SCMGetPullRequestForBranchResponse (var: Is)
message SCMGetPullRequestForBranchResponse {
repeated string pr_urls = 1;
}
// Copied from: local:aiserver.v1.SCMMakePullRequestReadyRequest (var: Ls)
message SCMMakePullRequestReadyRequest {
string pr_url = 1;
}
// Copied from: local:aiserver.v1.SCMMakePullRequestReadyResponse (var: Fs)
message SCMMakePullRequestReadyResponse {
bool success = 1;
string error = 2;
}
// Copied from: local:aiserver.v1.SCMMergeMethod (var: Un)
enum SCMMergeMethod {
SCM_MERGE_METHOD_UNSPECIFIED = 0;
SCM_MERGE_METHOD_MERGE = 1;
SCM_MERGE_METHOD_SQUASH = 2;
SCM_MERGE_METHOD_REBASE = 3;
}
// Copied from: local:aiserver.v1.SCMMergePullRequestRequest (var: Rs)
message SCMMergePullRequestRequest {
string pr_url = 1;
SCMMergeMethod merge_method = 2;
}
// Copied from: local:aiserver.v1.SCMMergePullRequestResponse (var: Ps)
message SCMMergePullRequestResponse {
bool success = 1;
string error = 2;
optional string pr_node_id = 3;
}
// Copied from: local:aiserver.v1.SCMMergeability (var: qn)
enum SCMMergeability {
SCM_MERGEABILITY_UNSPECIFIED = 0;
SCM_MERGEABILITY_UNKNOWN = 1;
SCM_MERGEABILITY_MERGEABLE = 2;
SCM_MERGEABILITY_CONFLICTING = 3;
}
// Copied from: local:aiserver.v1.SCMPullRequest (var: ns)
message SCMPullRequest {
string id = 1;
string pr_url = 2;
int32 number = 3;
string title = 4;
SCMPullRequestState state = 5;
bool is_merged = 6;
bool is_draft = 7;
string repository = 8;
optional string head_ref_name = 9;
optional string base_ref_name = 10;
SCMMergeability mergeable = 11;
string merge_state_status = 12;
optional string review_decision = 13;
SCMCiStatus ci_status = 14;
optional string author_login = 15;
optional string created_at = 16;
optional string updated_at = 17;
optional string merged_at = 18;
optional string closed_at = 19;
bool is_auto_merge_enabled = 20;
optional bool viewer_can_enable_auto_merge = 21;
optional string body = 22;
optional int32 commit_count = 23;
optional int32 review_count = 24;
repeated SCMPullRequestReviewer reviewers = 25;
repeated SCMPullRequestRequestedReviewer requested_reviewers = 26;
optional bool merge_status_degraded_by_rate_limit = 27;
}
// Copied from: local:aiserver.v1.SCMPullRequestCommit (var: gs)
message SCMPullRequestCommit {
string sha = 1;
string message = 2;
optional string committed_date = 3;
int32 additions = 4;
int32 deletions = 5;
optional int32 changed_files = 6;
optional SCMPullRequestCommitUser author = 7;
optional SCMPullRequestCommitUser committer = 8;
repeated SCMPullRequestCommitUser authors = 9;
}
// Copied from: local:aiserver.v1.SCMPullRequestCommitUser (var: hs)
message SCMPullRequestCommitUser {
optional string name = 1;
optional string email = 2;
optional string avatar_url = 3;
}
// Copied from: local:aiserver.v1.SCMPullRequestDiffFile (var: Ns)
message SCMPullRequestDiffFile {
string filename = 1;
optional string previous_filename = 2;
SCMPullRequestDiffFileStatus status = 3;
optional string original_contents = 4;
optional string modified_contents = 5;
optional string patch = 6;
optional bool is_generated = 7;
}
// Copied from: local:aiserver.v1.SCMPullRequestDiffFileStatus (var: On)
enum SCMPullRequestDiffFileStatus {
SCM_PULL_REQUEST_DIFF_FILE_STATUS_UNSPECIFIED = 0;
SCM_PULL_REQUEST_DIFF_FILE_STATUS_ADDED = 1;
SCM_PULL_REQUEST_DIFF_FILE_STATUS_DELETED = 2;
SCM_PULL_REQUEST_DIFF_FILE_STATUS_MODIFIED = 3;
SCM_PULL_REQUEST_DIFF_FILE_STATUS_RENAMED = 4;
}
// Copied from: local:aiserver.v1.SCMPullRequestRequestedReviewer (var: ss)
message SCMPullRequestRequestedReviewer {
string login = 1;
optional string name = 2;
optional string avatar_url = 3;
optional string kind = 4;
}
// Copied from: local:aiserver.v1.SCMPullRequestReviewer (var: rs)
message SCMPullRequestReviewer {
string login = 1;
optional string name = 2;
optional string avatar_url = 3;
optional string state = 4;
}
// Copied from: local:aiserver.v1.SCMPullRequestState (var: Fn)
enum SCMPullRequestState {
SCM_PULL_REQUEST_STATE_UNSPECIFIED = 0;
SCM_PULL_REQUEST_STATE_OPEN = 1;
SCM_PULL_REQUEST_STATE_CLOSED = 2;
SCM_PULL_REQUEST_STATE_MERGED = 3;
}
// Copied from: local:aiserver.v1.SCMPullRequestStatus (var: ts)
message SCMPullRequestStatus {
string title = 1;
SCMPullRequestState state = 2;
bool is_merged = 3;
bool is_draft = 4;
optional bool degraded_by_rate_limit = 5;
optional string updated_at = 6;
}
// Copied from: local:aiserver.v1.SCMPullRequestTimelineActor (var: ys)
message SCMPullRequestTimelineActor {
string login = 1;
optional string avatar_url = 2;
optional string name = 3;
}
// Copied from: local:aiserver.v1.SCMPullRequestTimelineEvent (var: Ts)
message SCMPullRequestTimelineEvent {
string id = 1;
string event_type = 2;
string created_at = 3;
optional SCMPullRequestTimelineActor actor = 4;
optional string label = 5;
optional string body = 6;
}
// Copied from: local:aiserver.v1.SCMReopenPullRequestRequest (var: Os)
message SCMReopenPullRequestRequest {
string pr_url = 1;
}
// Copied from: local:aiserver.v1.SCMReopenPullRequestResponse (var: Us)
message SCMReopenPullRequestResponse {
bool success = 1;
string error = 2;
}
// Copied from: local:aiserver.v1.SCMUpdatePullRequestTitleRequest (var: bs)
message SCMUpdatePullRequestTitleRequest {
string pr_url = 1;
string title = 2;
}
// Copied from: local:aiserver.v1.SCMUpdatePullRequestTitleResponse (var: Ms)
message SCMUpdatePullRequestTitleResponse {
bool success = 1;
string error = 2;
}
// Copied from: local:aiserver.v1.SandAuditEvent (var: ri)
message SandAuditEvent {
// Copied from: local:aiserver.v1.SandAuditEvent.BrowserNavigation (var: ii)
message BrowserNavigation {
string url = 1;
string page_title = 2;
}
// Copied from: local:aiserver.v1.SandAuditEvent.ComputerUseSession (var: ai)
message ComputerUseSession {
string tool_call_id = 1;
int64 action_count = 2;
map<string, int64> action_counts = 3;
int64 duration_ms = 4;
int64 screenshot_count = 5;
}
// Copied from: local:aiserver.v1.SandAuditEvent.McpToolCall (var: si)
message McpToolCall {
string tool_call_id = 1;
string server_identifier = 2;
string server_name = 3;
string tool_name = 4;
string status = 5;
int64 duration_ms = 6;
}
// Copied from: local:aiserver.v1.SandAuditEvent.ShellCommand (var: oi)
message ShellCommand {
string command = 1;
string kind = 2;
string target = 3;
bool allowed = 4;
string blocked_reason = 5;
repeated string classification_reasons = 6;
}
string event_id = 1;
int64 occurred_at_ms = 2;
string agent_id = 3;
string turn_id = 4;
string box_id = 5;
oneof action {
McpToolCall mcp_tool_call = 6;
ShellCommand shell_command = 7;
BrowserNavigation browser_navigation = 8;
ComputerUseSession computer_use_session = 9;
}
}
// Copied from: local:aiserver.v1.SandBankedReset (var: Rd)
message SandBankedReset {
int64 id = 1;
google.protobuf.Timestamp created_at = 2;
optional google.protobuf.Timestamp expires_at = 3;
}
// Copied from: local:aiserver.v1.SandProcessMetricsRowRequest (var: ou)
message SandProcessMetricsRowRequest {
int32 pid = 1;
int32 ppid = 2;
string process_name = 3;
string process_name_hash = 4;
int64 sample_cpu_time_ms = 5;
double sample_avg_mem_mb = 6;
double sample_peak_mem_mb = 7;
double session_peak_mem_mb = 8;
double memory_during_sample_peak_mb = 9;
double cpu_during_sample_peak_pct = 10;
}
// Copied from: local:aiserver.v1.SandResetAlreadyAppliedError (var: Bd)
message SandResetAlreadyAppliedError {
}
// Copied from: local:aiserver.v1.SandResetTooRecentError (var: Jd)
message SandResetTooRecentError {
google.protobuf.Timestamp retry_after = 1;
}
// Copied from: local:aiserver.v1.SandResetUnavailableError (var: Cd)
message SandResetUnavailableError {
}
// Copied from: agent.v1.SandboxPolicy (var: u)
message SandboxPolicy {
// Copied from: agent.v1.SandboxPolicy.ReadBoundaryMode (var: o)
enum ReadBoundaryMode {
READ_BOUNDARY_MODE_UNSPECIFIED = 0;
READ_BOUNDARY_MODE_SYSTEM = 1;
READ_BOUNDARY_MODE_WORKSPACE = 2;
READ_BOUNDARY_MODE_CUSTOM = 3;
}
// Copied from: agent.v1.SandboxPolicy.Type (var: s)
enum Type {
TYPE_UNSPECIFIED = 0;
TYPE_INSECURE_NONE = 1;
TYPE_WORKSPACE_READWRITE = 2;
TYPE_WORKSPACE_READONLY = 3;
}
Type type = 1;
optional bool network_access = 2;
repeated string additional_readwrite_paths = 3;
repeated string additional_readonly_paths = 4;
optional string debug_output_dir = 5;
optional bool disable_tmp_write = 7;
optional bool allowlist_escalated = 8;
optional bool enable_shared_build_cache = 9;
optional NetworkPolicy network_policy = 10;
optional bool network_policy_strict = 11;
optional bool capture_denies = 12;
optional bool skip_statsig_defaults = 13;
ReadBoundaryMode read_boundary = 14;
repeated string additional_read_paths = 15;
}
// Copied from: local:aiserver.v1.SandboxReadBoundaryMode (var: Pe)
enum SandboxReadBoundaryMode {
SANDBOX_READ_BOUNDARY_MODE_UNSPECIFIED = 0;
SANDBOX_READ_BOUNDARY_MODE_SYSTEM = 1;
SANDBOX_READ_BOUNDARY_MODE_WORKSPACE = 2;
SANDBOX_READ_BOUNDARY_MODE_CUSTOM = 3;
}
// Copied from: local:aiserver.v1.SandboxingMode (var: Ce)
enum SandboxingMode {
SANDBOXING_MODE_UNSPECIFIED = 0;
SANDBOXING_MODE_ENABLED = 1;
SANDBOXING_MODE_DISABLED = 2;
}
// Copied from: local:aiserver.v1.SaveFileParams (var: ln)
message SaveFileParams {
string relative_workspace_path = 1;
}
// Copied from: local:aiserver.v1.SaveFileResult (var: un)
message SaveFileResult {
}
// Copied from: local:aiserver.v1.ScimConflictDirectoryGroup (var: U_)
message ScimConflictDirectoryGroup {
int32 directory_group_id = 1;
string directory_group_name = 2;
}
// Copied from: local:aiserver.v1.ScimConflictUser (var: x_)
message ScimConflictUser {
int32 user_id = 1;
string email = 2;
string name = 3;
repeated ScimConflictDirectoryGroup directory_groups = 4;
optional int32 current_billing_group_id = 5;
optional string current_billing_group_name = 6;
optional int32 current_billing_group_directory_group_id = 7;
}
// Copied from: local:aiserver.v1.ScimDirectory (var: G_)
message ScimDirectory {
int64 id = 1;
string organization_id = 2;
int64 owner_id = 3;
ScimDirectoryOwnerType owner_type = 4;
string scim_directory_external_id = 5;
ScimDirectoryProvider provider = 6;
int64 created_at = 7;
int64 updated_at = 8;
optional bool sync_directory_users_to_root_team = 9;
string identity_provider_public_id = 10;
}
// Copied from: local:aiserver.v1.ScimDirectoryOwnerType (var: Xe)
enum ScimDirectoryOwnerType {
SCIM_DIRECTORY_OWNER_TYPE_UNSPECIFIED = 0;
SCIM_DIRECTORY_OWNER_TYPE_ORGANIZATION = 1;
SCIM_DIRECTORY_OWNER_TYPE_TEAM = 2;
}
// Copied from: local:aiserver.v1.ScimDirectoryProvider (var: Ze)
enum ScimDirectoryProvider {
SCIM_DIRECTORY_PROVIDER_UNSPECIFIED = 0;
SCIM_DIRECTORY_PROVIDER_WORKOS = 1;
}
// Copied from: local:aiserver.v1.ScimRequireUserDirectoryImpactedUser (var: Sa)
message ScimRequireUserDirectoryImpactedUser {
int32 user_id = 1;
string name = 2;
string email = 3;
optional string profile_picture_url = 4;
}
// Copied from: local:aiserver.v1.ScimTargetMapping (var: tT)
message ScimTargetMapping {
int64 id = 1;
int64 scim_directory_id = 2;
string scim_group_external_id = 3;
int64 target_id = 4;
ScimTargetMappingTargetType target_type = 5;
ScimTargetMappingSyncState sync_state = 6;
optional int64 last_synced_at = 7;
int64 created_at = 8;
int64 updated_at = 9;
ScimTargetMappingSourceType source_type = 10;
optional int64 cursor_group_id = 11;
ScimTargetMappingRole role = 12;
}
// Copied from: local:aiserver.v1.ScimTargetMappingRole (var: nt)
enum ScimTargetMappingRole {
SCIM_TARGET_MAPPING_ROLE_UNSPECIFIED = 0;
SCIM_TARGET_MAPPING_ROLE_MEMBER = 1;
SCIM_TARGET_MAPPING_ROLE_ADMIN = 2;
SCIM_TARGET_MAPPING_ROLE_UNPAID_ADMIN = 3;
}
// Copied from: local:aiserver.v1.ScimTargetMappingSourceType (var: tt)
enum ScimTargetMappingSourceType {
SCIM_TARGET_MAPPING_SOURCE_TYPE_UNSPECIFIED = 0;
SCIM_TARGET_MAPPING_SOURCE_TYPE_SCIM_DIRECTORY_GROUP = 1;
SCIM_TARGET_MAPPING_SOURCE_TYPE_CURSOR_GROUP = 2;
}
// Copied from: local:aiserver.v1.ScimTargetMappingSyncState (var: et)
enum ScimTargetMappingSyncState {
SCIM_TARGET_MAPPING_SYNC_STATE_UNSPECIFIED = 0;
SCIM_TARGET_MAPPING_SYNC_STATE_PENDING = 1;
SCIM_TARGET_MAPPING_SYNC_STATE_SYNCED = 2;
SCIM_TARGET_MAPPING_SYNC_STATE_ERRORED = 3;
}
// Copied from: local:aiserver.v1.ScimTargetMappingTargetType (var: $e)
enum ScimTargetMappingTargetType {
SCIM_TARGET_MAPPING_TARGET_TYPE_UNSPECIFIED = 0;
SCIM_TARGET_MAPPING_TARGET_TYPE_GROUP = 1;
SCIM_TARGET_MAPPING_TARGET_TYPE_TEAM = 2;
}
// Copied from: local:aiserver.v1.ScimUpstreamGroup (var: Z_)
message ScimUpstreamGroup {
string scim_group_external_id = 1;
string name = 2;
string workos_group_id = 3;
string idp_id = 4;
}
// Copied from: local:aiserver.v1.ScmConnectAdConnectionState (var: f)
enum ScmConnectAdConnectionState {
SCM_CONNECT_AD_CONNECTION_STATE_UNSPECIFIED = 0;
SCM_CONNECT_AD_CONNECTION_STATE_UNKNOWN = 1;
SCM_CONNECT_AD_CONNECTION_STATE_NOT_CONNECTED = 2;
SCM_CONNECT_AD_CONNECTION_STATE_HAS_ACCESS = 3;
}
// Copied from: local:aiserver.v1.ScmConnectAdContext (var: Le)
message ScmConnectAdContext {
ScmConnectAdProvider provider = 1;
string remote_url = 2;
ScmConnectAdConnectionState connection_state = 3;
}
// Copied from: local:aiserver.v1.ScmConnectAdProvider (var: p)
enum ScmConnectAdProvider {
SCM_CONNECT_AD_PROVIDER_UNSPECIFIED = 0;
SCM_CONNECT_AD_PROVIDER_GITHUB = 1;
SCM_CONNECT_AD_PROVIDER_GITLAB = 2;
}
// Copied from: local:aiserver.v1.ScoredAiCodeMetadata (var: bu)
message ScoredAiCodeMetadata {
string file_extension = 1;
int32 lines_added = 2;
int32 lines_deleted = 3;
repeated string change_hashes = 5;
optional string file_name = 4;
}
// Copied from: local:aiserver.v1.ScratchpadResult (var: Dt)
message ScratchpadResult {
}
// Copied from: agent.v1.ScreenshotAction (var: _)
message ScreenshotAction {
}
// Copied from: local:aiserver.v1.ScriptTiming (var: g)
message ScriptTiming {
string name = 1;
double start_time = 2;
double duration = 3;
double execution_start = 4;
double forced_style_and_layout_duration = 5;
double pause_duration = 6;
string source_url = 7;
string source_function_name = 8;
int32 source_char_position = 9;
optional string invoker = 10;
string invoker_type = 11;
string window_attribution = 12;
}
// Copied from: agent.v1.ScrollAction (var: f)
message ScrollAction {
optional Coordinate coordinate = 1;
ScrollDirection direction = 2;
int32 amount = 3;
optional string modifier_keys = 4;
}
// Copied from: agent.v1.ScrollDirection (var: s)
enum ScrollDirection {
SCROLL_DIRECTION_UNSPECIFIED = 0;
SCROLL_DIRECTION_UP = 1;
SCROLL_DIRECTION_DOWN = 2;
SCROLL_DIRECTION_LEFT = 3;
SCROLL_DIRECTION_RIGHT = 4;
}
// Copied from: local:aiserver.v1.ScrollEvent (var: It)
message ScrollEvent {
PointInTimeModel point_in_time_model = 1;
repeated IRange visible_ranges = 2;
string editor_id = 3;
}
// Copied from: local:aiserver.v1.SearchEvent (var: yn)
message SearchEvent {
string query = 1;
int32 result_count = 2;
int32 file_count = 3;
bool is_regex = 4;
bool is_case_sensitive = 5;
bool is_whole_word = 6;
optional string files_to_include = 7;
optional string files_to_exclude = 8;
int32 duration_ms = 9;
repeated SearchResultFile results = 10;
}
// Copied from: local:aiserver.v1.SearchFileInfo (var: on)
message SearchFileInfo {
string relative_path = 1;
string content = 2;
}
// Copied from: local:aiserver.v1.SearchInfo (var: sn)
message SearchInfo {
string query = 1;
repeated SearchFileInfo files = 2;
}
// Copied from: local:aiserver.v1.SearchMatch (var: _n)
message SearchMatch {
int32 line_number = 1;
int32 column = 2;
string match_text = 3;
}
// Copied from: local:aiserver.v1.SearchPRHistoryRequest (var: jt)
message SearchPRHistoryRequest {
RepositoryInfo repository = 1;
string query = 2;
int32 top_k = 3;
}
// Copied from: local:aiserver.v1.SearchPRHistoryResponse (var: Zt)
message SearchPRHistoryResponse {
// Copied from: local:aiserver.v1.SearchPRHistoryResponse.PRSearchResult (var: $t)
message PRSearchResult {
string commit_hash = 1;
float score = 2;
repeated PRDiffChunkPointer diff_chunks = 3;
optional string title = 4;
optional string summary = 5;
optional uint32 pr_number = 6;
optional string author = 7;
optional string date = 8;
repeated string changed_files = 9;
}
repeated PRSearchResult results = 1;
optional uint32 git_height = 2;
}
// Copied from: local:aiserver.v1.SearchParams (var: vt)
message SearchParams {
string query = 1;
bool regex = 2;
string include_pattern = 3;
string exclude_pattern = 4;
bool filename_search = 5;
}
// Copied from: local:aiserver.v1.SearchRepositoryDeepContextRequest (var: Pt)
message SearchRepositoryDeepContextRequest {
string query = 1;
int32 top_k = 2;
int32 top_reflections_k = 3;
repeated string index_ids = 4;
bool use_model_on_files = 5;
bool use_reflections = 6;
}
// Copied from: local:aiserver.v1.SearchRepositoryDeepContextResponse (var: Lt)
message SearchRepositoryDeepContextResponse {
repeated NodeResult top_nodes = 1;
repeated ReflectionResult reflections = 2;
string index_id = 3;
}
// Copied from: local:aiserver.v1.SearchRepositoryRequest (var: Ze)
message SearchRepositoryRequest {
string query = 1;
RepositoryInfo repository = 2;
int32 top_k = 3;
ModelDetails model_details = 4;
bool rerank = 5;
optional bool context_cache_request = 6;
optional string glob_filter = 7;
optional string not_glob_filter = 8;
optional int32 race_n_requests = 9;
QueryOnlyRepoAccess query_only_repo_access = 10;
}
// Copied from: local:aiserver.v1.SearchRepositoryResponse (var: nt)
message SearchRepositoryResponse {
repeated CodeResult code_results = 1;
}
// Copied from: local:aiserver.v1.SearchResult (var: Ct)
message SearchResult {
repeated SearchToolFileSearchResult file_results = 1;
int32 num_total_matches = 2;
int32 num_total_matched_files = 3;
bool num_total_may_be_incomplete = 4;
bool files_only = 5;
}
// Copied from: local:aiserver.v1.SearchResultFile (var: Tn)
message SearchResultFile {
string file_path = 1;
int32 match_count = 2;
repeated SearchMatch matches = 3;
}
// Copied from: local:aiserver.v1.SearchSymbolsParams (var: xn)
message SearchSymbolsParams {
string query = 1;
}
// Copied from: local:aiserver.v1.SearchSymbolsResult (var: Qn)
message SearchSymbolsResult {
// Copied from: local:aiserver.v1.SearchSymbolsResult.SymbolMatch (var: Gn)
message SymbolMatch {
string name = 1;
string uri = 2;
Range range = 3;
string secondary_text = 4;
repeated MatchRange label_matches = 5;
repeated MatchRange description_matches = 6;
double score = 7;
}
repeated SymbolMatch matches = 1;
optional bool rejected = 2;
}
// Copied from: local:aiserver.v1.SearchSymbolsStream (var: Hn)
message SearchSymbolsStream {
string query = 1;
}
// Copied from: local:aiserver.v1.SearchToolFileSearchResult (var: Bt)
message SearchToolFileSearchResult {
// Copied from: local:aiserver.v1.SearchToolFileSearchResult.Line (var: Jt)
message Line {
int32 line_number = 1;
string text = 2;
}
string relative_workspace_path = 1;
int32 num_matches = 2;
repeated Line potentially_relevant_lines = 3;
bool cropped = 4;
}
// Copied from: local:aiserver.v1.SeatUpgradePoolDriver (var: Fe)
enum SeatUpgradePoolDriver {
SEAT_UPGRADE_POOL_DRIVER_UNSPECIFIED = 0;
SEAT_UPGRADE_POOL_DRIVER_FIRST_PARTY = 1;
SEAT_UPGRADE_POOL_DRIVER_THIRD_PARTY = 2;
SEAT_UPGRADE_POOL_DRIVER_BOTH = 3;
}
// Copied from: local:aiserver.v1.SeatUpgradeRecommendation (var: _p)
message SeatUpgradeRecommendation {
int32 user_id = 1;
string name = 2;
string email = 3;
optional string profile_picture_url = 4;
TeamRole role = 5;
TeamMemberBillingTier billing_tier = 6;
bool previous_cycle_savings = 7;
bool current_cycle_pacing = 8;
SeatUpgradePoolDriver pool_driver = 9;
optional int32 previous_cycle_savings_cents = 10;
optional int32 projected_current_cycle_savings_cents = 11;
}
// Copied from: agent.v1.SelectedAgenticGitAction (var: j)
message SelectedAgenticGitAction {
optional SelectedGitBranchContext branch_context = 5;
optional string path_to_template_file = 9;
optional string path_to_template_dir = 10;
oneof params {
SelectedAgenticGitActionCommitParams commit_params = 2;
SelectedAgenticGitActionCommitParams commit_and_push_params = 6;
SelectedAgenticGitActionPushParams push_params = 3;
SelectedAgenticGitActionPushParams create_pr_params = 7;
SelectedAgenticGitActionCommitParams create_pr_with_changes_params = 8;
SelectedAgenticGitActionFixMergeConflictsParams fix_merge_conflicts_params = 4;
SelectedAgenticGitActionBabysitPrInCloudParams babysit_pr_in_cloud_params = 11;
SelectedAgenticGitActionPullLocallyParams apply_locally_params = 14;
SelectedAgenticGitActionPullLocallyParams checkout_branch_params = 15;
SelectedAgenticGitActionCommitParams create_branch_and_commit_params = 12;
SelectedAgenticGitActionCommitParams create_branch_commit_and_push_params = 13;
SelectedAgenticGitActionUpdateBranchParams update_branch_params = 16;
SelectedAgenticGitActionCreateBranchParams create_branch_params = 17;
}
}
// Copied from: agent.v1.SelectedAgenticGitActionBabysitPrInCloudParams (var: K)
message SelectedAgenticGitActionBabysitPrInCloudParams {
optional string base_branch = 1;
}
// Copied from: agent.v1.SelectedAgenticGitActionCommitParams (var: Q)
message SelectedAgenticGitActionCommitParams {
repeated string files_to_commit = 1;
repeated string files_to_exclude_from_commit = 2;
bool should_stage_all_changes = 3;
optional bool create_pr_draft = 4;
repeated SelectedAgenticGitFileWithStatus files_to_commit_with_status = 5;
repeated SelectedAgenticGitFileWithStatus files_to_exclude_from_commit_with_status = 6;
}
// Copied from: agent.v1.SelectedAgenticGitActionCreateBranchParams (var: G)
message SelectedAgenticGitActionCreateBranchParams {
}
// Copied from: agent.v1.SelectedAgenticGitActionFixMergeConflictsParams (var: Y)
message SelectedAgenticGitActionFixMergeConflictsParams {
optional string base_branch = 1;
optional string pr_url = 2;
}
// Copied from: agent.v1.SelectedAgenticGitActionPullLocallyParams (var: z)
message SelectedAgenticGitActionPullLocallyParams {
string remote_branch = 1;
}
// Copied from: agent.v1.SelectedAgenticGitActionPushParams (var: V)
message SelectedAgenticGitActionPushParams {
repeated string files_to_push = 1;
optional bool create_pr_draft = 2;
}
// Copied from: agent.v1.SelectedAgenticGitActionUpdateBranchParams (var: W)
message SelectedAgenticGitActionUpdateBranchParams {
optional string base_branch = 1;
}
// Copied from: agent.v1.SelectedAgenticGitFileWithStatus (var: H)
message SelectedAgenticGitFileWithStatus {
string path = 1;
optional string status = 2;
}
// Copied from: agent.v1.SelectedBrowser (var: x)
message SelectedBrowser {
string browser_id = 1;
string url = 2;
optional string page_title = 3;
}
// Copied from: agent.v1.SelectedCodeSelection (var: T)
message SelectedCodeSelection {
string content = 1;
string path = 2;
optional string relative_path = 3;
Range range = 4;
}
// Copied from: agent.v1.SelectedConsoleLog (var: D)
message SelectedConsoleLog {
string message = 1;
double timestamp = 2;
string level = 3;
string client_name = 4;
string session_id = 5;
optional StackTrace stack_trace = 6;
optional string object_data_json = 7;
}
// Copied from: agent.v1.SelectedContext (var: Z)
message SelectedContext {
repeated SelectedImage selected_images = 1;
optional InvocationContext invocation_context = 2;
repeated string extra_context = 3;
repeated ExtraContextEntry extra_context_entries = 16;
repeated SelectedFile files = 4;
repeated SelectedCodeSelection code_selections = 5;
repeated SelectedTerminal terminals = 6;
repeated SelectedTerminalSelection terminal_selections = 7;
repeated SelectedFolder folders = 8;
repeated SelectedExternalLink external_links = 9;
repeated SelectedCursorRule cursor_rules = 10;
optional SelectedGitDiff git_diff = 18;
optional SelectedGitDiffFromBranchToMain git_diff_from_branch_to_main = 11;
repeated SelectedCursorCommand cursor_commands = 12;
repeated SelectedDocumentation documentations = 13;
repeated SelectedUIElement ui_elements = 14;
repeated SelectedConsoleLog console_logs = 15;
repeated SelectedGitCommit git_commits = 17;
repeated SelectedPastChat past_chats = 19;
repeated SelectedGitPRDiffSelection git_pr_diff_selections = 20;
repeated SelectedPullRequest selected_pull_requests = 21;
repeated SelectedSubagent selected_subagents = 22;
repeated SelectedVideo selected_videos = 23;
repeated SelectedBrowser selected_browsers = 24;
repeated SelectedDocument selected_documents = 25;
repeated AgentSkill selected_skills = 26;
optional RecentAgentsContext recent_agents_context = 27;
optional SelectedAgenticGitAction selected_agentic_git_action = 34;
}
// Copied from: agent.v1.SelectedCursorCommand (var: R)
message SelectedCursorCommand {
string name = 1;
string content = 2;
optional SelectedPluginCapabilityRef plugin_capability = 3;
optional string full_path = 4;
optional string display_name = 5;
}
// Copied from: agent.v1.SelectedCursorRule (var: S)
message SelectedCursorRule {
CursorRule rule = 1;
}
// Copied from: agent.v1.SelectedDocument (var: d)
message SelectedDocument {
// Copied from: agent.v1.SelectedDocument.BlobIdWithData (var: p)
message BlobIdWithData {
bytes blob_id = 1;
bytes data = 2;
}
string uuid = 2;
string filename = 3;
string mime_type = 4;
string path = 7;
oneof data_or_blob_id {
bytes blob_id = 1;
bytes data = 8;
BlobIdWithData blob_id_with_data = 9;
}
}
// Copied from: agent.v1.SelectedDocumentation (var: P)
message SelectedDocumentation {
string doc_id = 1;
string name = 2;
}
// Copied from: agent.v1.SelectedExternalLink (var: E)
message SelectedExternalLink {
string url = 1;
string uuid = 2;
optional string pdf_content = 3;
optional bool is_pdf = 4;
optional string filename = 5;
optional bytes blob_id = 6;
}
// Copied from: agent.v1.SelectedFile (var: _)
message SelectedFile {
string content = 1;
string path = 2;
optional string relative_path = 3;
}
// Copied from: agent.v1.SelectedFolder (var: w)
message SelectedFolder {
string path = 1;
optional string relative_path = 2;
LsDirectoryTreeNode directory_tree = 3;
}
// Copied from: agent.v1.SelectedGitBranchContext (var: X)
message SelectedGitBranchContext {
optional string current_branch = 1;
optional string base_branch = 2;
optional string agent_branch_prefix = 3;
}
// Copied from: agent.v1.SelectedGitCommit (var: B)
message SelectedGitCommit {
string sha = 1;
string message = 2;
optional string description = 3;
string diff = 4;
}
// Copied from: agent.v1.SelectedGitDiff (var: I)
message SelectedGitDiff {
string content = 1;
int32 full_content_length_char_count = 2;
}
// Copied from: agent.v1.SelectedGitDiffFromBranchToMain (var: v)
message SelectedGitDiffFromBranchToMain {
string content = 1;
int32 full_content_length_char_count = 2;
}
// Copied from: agent.v1.SelectedGitPRDiffSelection (var: C)
message SelectedGitPRDiffSelection {
string pr_url = 1;
string file_path = 2;
int32 start_line = 3;
int32 end_line = 4;
optional string diff_content = 5;
optional bytes blob_id = 6;
}
// Copied from: agent.v1.SelectedImage (var: u)
message SelectedImage {
// Copied from: agent.v1.SelectedImage.BlobIdWithData (var: m)
message BlobIdWithData {
bytes blob_id = 1;
bytes data = 2;
}
// Copied from: agent.v1.SelectedImage.Dimension (var: c)
message Dimension {
int32 width = 1;
int32 height = 2;
}
string uuid = 2;
string path = 3;
Dimension dimension = 4;
string mime_type = 7;
oneof data_or_blob_id {
bytes blob_id = 1;
bytes data = 8;
BlobIdWithData blob_id_with_data = 9;
}
}
// Copied from: agent.v1.SelectedPastChat (var: b)
message SelectedPastChat {
string agent_id = 1;
string name = 2;
}
// Copied from: agent.v1.SelectedPluginCapabilityRef (var: N)
message SelectedPluginCapabilityRef {
string plugin_id = 1;
SelectedPluginCapabilityType capability_type = 2;
string source_path = 3;
string snapshot_token = 4;
optional string resolved_commit_sha = 5;
}
// Copied from: agent.v1.SelectedPluginCapabilityType (var: r)
enum SelectedPluginCapabilityType {
SELECTED_PLUGIN_CAPABILITY_TYPE_UNSPECIFIED = 0;
SELECTED_PLUGIN_CAPABILITY_TYPE_COMMAND = 1;
SELECTED_PLUGIN_CAPABILITY_TYPE_SKILL = 2;
SELECTED_PLUGIN_CAPABILITY_TYPE_SUBAGENT = 3;
}
// Copied from: agent.v1.SelectedPullRequest (var: J)
message SelectedPullRequest {
int32 number = 1;
string url = 2;
optional string title = 3;
string folder_path = 4;
optional string summary_json = 5;
optional string description = 6;
optional bytes blob_id = 7;
}
// Copied from: agent.v1.SelectedSubagent (var: U)
message SelectedSubagent {
string name = 1;
}
// Copied from: agent.v1.SelectedTerminal (var: y)
message SelectedTerminal {
string content = 1;
optional string title = 2;
optional string path = 3;
}
// Copied from: agent.v1.SelectedTerminalSelection (var: k)
message SelectedTerminalSelection {
string content = 1;
optional string title = 2;
optional string path = 3;
Range range = 4;
}
// Copied from: agent.v1.SelectedUIElement (var: O)
message SelectedUIElement {
string element = 1;
string xpath = 2;
string text_content = 3;
string extra = 4;
optional string component = 5;
optional string component_props_json = 6;
}
// Copied from: agent.v1.SelectedVideo (var: f)
message SelectedVideo {
// Copied from: agent.v1.SelectedVideo.BlobIdWithData (var: g)
message BlobIdWithData {
bytes blob_id = 1;
bytes data = 2;
}
// Copied from: agent.v1.SelectedVideo.SignedUrl (var: h)
message SignedUrl {
string url = 1;
string key = 2;
int64 expires_at_unix_ms = 3;
int64 refresh_after_unix_ms = 4;
string conversation_id = 5;
}
string uuid = 2;
string path = 3;
optional float fps = 4;
string mime_type = 7;
string filename = 10;
bool materialize_to_filesystem = 12;
oneof data_or_blob_id {
bytes blob_id = 1;
bytes data = 8;
BlobIdWithData blob_id_with_data = 9;
SignedUrl signed_url = 11;
}
}
// Copied from: local:aiserver.v1.SelectionWithOrientation (var: y)
message SelectionWithOrientation {
int32 selection_start_line_number = 1;
int32 selection_start_column = 2;
int32 position_line_number = 3;
int32 position_column = 4;
}
// Copied from: local:aiserver.v1.SemSearchRequest (var: rt)
message SemSearchRequest {
SearchRepositoryRequest request = 1;
}
// Copied from: local:aiserver.v1.SemSearchResponse (var: it)
message SemSearchResponse {
// Copied from: local:aiserver.v1.SemSearchResponse.SemSearchMetadata (var: at)
message SemSearchMetadata {
optional string query_embedding_model = 1;
optional int32 server_side_latency_ms = 2;
optional int32 embed_latency_ms = 3;
optional int32 knn_latency_ms = 4;
}
SearchRepositoryResponse response = 1;
optional SemSearchMetadata metadata = 2;
repeated CodeResultWithClassificationInfo code_results = 3;
}
// Copied from: local:aiserver.v1.SemanticDiffGroup (var: Al)
message SemanticDiffGroup {
string description = 1;
repeated SemanticDiffReference diffs = 2;
string title = 3;
}
// Copied from: local:aiserver.v1.SemanticDiffGroups (var: hl)
message SemanticDiffGroups {
repeated SemanticDiffGroup groups = 1;
optional string summary = 2;
}
// Copied from: local:aiserver.v1.SemanticDiffReference (var: _l)
message SemanticDiffReference {
string relative_workspace_path = 1;
int32 chunk_index = 2;
}
// Copied from: local:aiserver.v1.SemanticFileGroup (var: kl)
message SemanticFileGroup {
string title = 1;
string description = 2;
repeated string files = 3;
}
// Copied from: local:aiserver.v1.SemanticFileGroups (var: yl)
message SemanticFileGroups {
repeated SemanticFileGroup groups = 1;
optional string summary = 2;
}
// Copied from: local:aiserver.v1.SemanticSearchArguments (var: F)
message SemanticSearchArguments {
string query = 1;
repeated string target_directories = 2;
string explanation = 3;
}
// Copied from: local:aiserver.v1.SemanticSearchFullParams (var: je)
message SemanticSearchFullParams {
RepositoryInfo repository_info = 1;
string query = 2;
optional string include_pattern = 3;
optional string exclude_pattern = 4;
int32 top_k = 5;
repeated PullRequestReference pr_references = 6;
optional bool pr_search_on = 7;
optional string explanation = 8;
repeated CodeResult code_results = 9;
}
// Copied from: local:aiserver.v1.SemanticSearchFullResult (var: Xe)
message SemanticSearchFullResult {
repeated CodeResult code_results = 1;
repeated File all_files = 2;
repeated MissingFile missing_files = 3;
repeated Knowledge knowledge_results = 4;
repeated ToolPullRequestResult pr_results = 5;
optional string git_remote_url = 6;
optional bool pr_hydration_timed_out = 7;
}
// Copied from: local:aiserver.v1.SemanticSearchFullStream (var: Ze)
message SemanticSearchFullStream {
int32 num_files = 1;
}
// Copied from: local:aiserver.v1.SemanticSearchParams (var: kt)
message SemanticSearchParams {
string query = 1;
optional string include_pattern = 2;
optional string exclude_pattern = 3;
int32 top_k = 4;
optional string index_id = 5;
bool grab_whole_file = 6;
}
// Copied from: local:aiserver.v1.SemanticSearchResult (var: St)
message SemanticSearchResult {
// Copied from: local:aiserver.v1.SemanticSearchResult.Item (var: It)
message Item {
string relative_workspace_path = 1;
float score = 2;
string content = 3;
SimpleRange range = 4;
optional string original_content = 5;
repeated DetailedLine detailed_lines = 6;
}
repeated Item results = 1;
map<string, string> files = 2;
}
// Copied from: local:aiserver.v1.SendDownloadEmailRequest (var: sE)
message SendDownloadEmailRequest {
}
// Copied from: local:aiserver.v1.SendDownloadEmailResponse (var: oE)
message SendDownloadEmailResponse {
bool success = 1;
}
// Copied from: local:aiserver.v1.SendP2PReferralInvitesFailure (var: dm)
message SendP2PReferralInvitesFailure {
string email = 1;
string reason = 2;
}
// Copied from: local:aiserver.v1.SendP2PReferralInvitesRequest (var: mm)
message SendP2PReferralInvitesRequest {
repeated string emails = 1;
}
// Copied from: local:aiserver.v1.SendP2PReferralInvitesResponse (var: cm)
message SendP2PReferralInvitesResponse {
repeated string sent_emails = 1;
repeated SendP2PReferralInvitesFailure failures = 2;
string code = 3;
string url_path = 4;
}
// Copied from: local:aiserver.v1.SendTeamInviteRequest (var: sl)
message SendTeamInviteRequest {
int32 team_id = 1;
string email = 2;
TeamRole role = 3;
optional string message = 4;
optional TeamMemberBillingTier billing_tier = 5;
}
// Copied from: local:aiserver.v1.SendTeamInviteResponse (var: ol)
message SendTeamInviteResponse {
int64 valid_until = 1;
}
// Copied from: local:aiserver.v1.SerializablePrivacyMode (var: oh)
message SerializablePrivacyMode {
PrivacyMode privacy_mode = 1;
}
// Copied from: local:aiserver.v1.SerializedContextNode (var: O)
message SerializedContextNode {
string workspace_relative_path = 1;
int32 start_line_number = 2;
int32 end_line_number = 3;
repeated SerializedContextNode children = 4;
FileCodeSnippets node_snippets = 5;
}
// Copied from: local:aiserver.v1.ServerSideToolResult (var: lt)
message ServerSideToolResult {
}
// Copied from: local:aiserver.v1.ServerTimeRequest (var: Ns)
message ServerTimeRequest {
}
// Copied from: local:aiserver.v1.ServerTimeResponse (var: Rs)
message ServerTimeResponse {
double receive_timestamp = 1;
double transmit_timestamp = 2;
}
// Copied from: local:aiserver.v1.ServerTimingInfo (var: di)
message ServerTimingInfo {
double server_start_time = 1;
double server_first_token_time = 2;
double server_request_sent_time = 3;
double server_end_time = 4;
}
// Copied from: local:aiserver.v1.ServiceAccountInfo (var: Hl)
message ServiceAccountInfo {
string id = 1;
string service_type = 2;
string name = 3;
optional string description = 4;
optional int32 created_by_user_id = 5;
optional int32 owning_team_id = 6;
optional int32 owning_user_id = 7;
optional int32 usage_limit_cents = 8;
int64 created_at = 9;
int64 updated_at = 10;
repeated string default_scopes = 11;
repeated ServiceAccountKeyInfo api_keys = 12;
optional int64 archived_at = 13;
}
// Copied from: local:aiserver.v1.ServiceAccountKeyInfo (var: Vl)
message ServiceAccountKeyInfo {
int32 api_key_id = 1;
string masked_api_key = 2;
repeated string scopes = 3;
int64 created_at = 4;
repeated string repo_scope = 5;
bool repo_scope_enabled = 6;
}
// Copied from: local:aiserver.v1.ServiceAccountScopeRepository (var: $l)
message ServiceAccountScopeRepository {
string owner = 1;
string name = 2;
string html_url = 3;
}
// Copied from: local:aiserver.v1.ServiceAccountSpendInfo (var: f_)
message ServiceAccountSpendInfo {
string service_account_id = 1;
string name = 2;
string service_type = 3;
int32 spend_cents = 4;
repeated DailySpendPoint daily_spend = 5;
optional string creator_name = 6;
optional int64 created_at = 7;
}
// Copied from: local:aiserver.v1.ServiceStatusUpdate (var: yt)
message ServiceStatusUpdate {
string message = 1;
string codicon = 2;
optional bool allow_command_links_potentially_unsafe_please_only_use_for_handwritten_trusted_markdown = 3;
optional string action_to_run_on_status_update = 4;
}
// Copied from: local:aiserver.v1.SetAdminOnlyUsagePricingRequest (var: Hu)
message SetAdminOnlyUsagePricingRequest {
int32 team_id = 1;
bool admin_only_usage_pricing = 2;
}
// Copied from: local:aiserver.v1.SetAdminOnlyUsagePricingResponse (var: Vu)
message SetAdminOnlyUsagePricingResponse {
}
// Copied from: local:aiserver.v1.SetFullSelfDrivingConfigRequest (var: k)
message SetFullSelfDrivingConfigRequest {
string pr_url = 1;
bool enabled = 2;
FullSelfDrivingMode mode = 3;
}
// Copied from: local:aiserver.v1.SetFullSelfDrivingConfigResponse (var: w)
message SetFullSelfDrivingConfigResponse {
bool enabled = 1;
FullSelfDrivingMode mode = 2;
string spawned_bc_id = 3;
bool auto_started = 4;
}
// Copied from: local:aiserver.v1.SetFullSelfDrivingRepoEnabledRequest (var: Gf)
message SetFullSelfDrivingRepoEnabledRequest {
ProtectedGitProvider scm_provider = 1;
optional string git_enterprise_uuid = 2;
string scm_repo_node_id = 3;
string repo_url = 4;
bool enabled = 5;
}
// Copied from: local:aiserver.v1.SetFullSelfDrivingRepoEnabledResponse (var: Hf)
message SetFullSelfDrivingRepoEnabledResponse {
FullSelfDrivingRepoSetting repo = 1;
}
// Copied from: local:aiserver.v1.SetFullSelfDrivingTeamRepoEnabledRequest (var: $f)
message SetFullSelfDrivingTeamRepoEnabledRequest {
int32 team_id = 1;
ProtectedGitProvider scm_provider = 2;
optional string git_enterprise_uuid = 3;
string scm_repo_node_id = 4;
string repo_url = 5;
bool enabled = 6;
}
// Copied from: local:aiserver.v1.SetFullSelfDrivingTeamRepoEnabledResponse (var: eg)
message SetFullSelfDrivingTeamRepoEnabledResponse {
FullSelfDrivingTeamRepoSetting repo = 1;
}
// Copied from: local:aiserver.v1.SetGitlabEnterpriseHostControlledServiceAccountTokenRequest (var: pn)
message SetGitlabEnterpriseHostControlledServiceAccountTokenRequest {
string git_enterprise_uuid = 1;
string access_token = 2;
bool clear_token = 3;
}
// Copied from: local:aiserver.v1.SetGitlabEnterpriseHostControlledServiceAccountTokenResponse (var: fn)
message SetGitlabEnterpriseHostControlledServiceAccountTokenResponse {
}
// Copied from: local:aiserver.v1.SetGlobalLeaderboardOptInRequest (var: Mh)
message SetGlobalLeaderboardOptInRequest {
bool opted_in = 1;
}
// Copied from: local:aiserver.v1.SetGlobalLeaderboardOptInResponse (var: Lh)
message SetGlobalLeaderboardOptInResponse {
}
// Copied from: local:aiserver.v1.SetHardLimitRequest (var: ia)
message SetHardLimitRequest {
optional int32 team_id = 1;
int32 hard_limit = 2;
bool no_usage_based_allowed = 3;
optional int32 hard_limit_per_user = 4;
bool preserve_hard_limit_per_user = 5;
int32 per_user_monthly_limit_dollars = 6;
bool clear_per_user_monthly_limit_dollars = 7;
bool is_dynamic_team_limit = 8;
bool clear_conflicting_policy = 9;
optional bool auto_alerts_enabled = 10;
}
// Copied from: local:aiserver.v1.SetHardLimitResponse (var: aa)
message SetHardLimitResponse {
}
// Copied from: local:aiserver.v1.SetJobDataRequest (var: XI)
message SetJobDataRequest {
string job_role = 1;
optional string use_case = 2;
}
// Copied from: local:aiserver.v1.SetJobDataResponse (var: ZI)
message SetJobDataResponse {
}
// Copied from: local:aiserver.v1.SetMarketplaceOriginDistributionRequest (var: EI)
message SetMarketplaceOriginDistributionRequest {
int64 marketplace_id = 1;
optional int32 team_id = 2;
bool enabled = 3;
}
// Copied from: local:aiserver.v1.SetMarketplaceOriginDistributionResponse (var: SI)
message SetMarketplaceOriginDistributionResponse {
bool enabled = 1;
}
// Copied from: local:aiserver.v1.SetMcpConfigRequest (var: Lo)
message SetMcpConfigRequest {
bool team_scope = 1;
int32 team_id = 2;
string config_json = 3;
map<string, string> server_renames = 4;
map<string, int64> server_ids_by_name = 5;
}
// Copied from: local:aiserver.v1.SetMcpConfigResponse (var: Fo)
message SetMcpConfigResponse {
}
// Copied from: local:aiserver.v1.SetMicrosoftTeamsAuthRequest (var: Wh)
message SetMicrosoftTeamsAuthRequest {
string link_id = 1;
}
// Copied from: local:aiserver.v1.SetMicrosoftTeamsAuthResponse (var: zh)
message SetMicrosoftTeamsAuthResponse {
string success_type = 1;
}
// Copied from: local:aiserver.v1.SetOrgTeamBudgetRequest (var: Aa)
message SetOrgTeamBudgetRequest {
string organization_id = 1;
int32 team_id = 2;
optional int32 limit_dollars = 3;
}
// Copied from: local:aiserver.v1.SetOrgTeamBudgetResponse (var: _a)
message SetOrgTeamBudgetResponse {
}
// Copied from: local:aiserver.v1.SetOrganizationIdentityProviderAllowDomainJoinRequest (var: hr)
message SetOrganizationIdentityProviderAllowDomainJoinRequest {
string organization_id = 1;
string identity_provider_public_id = 2;
bool allow_domain_join = 3;
}
// Copied from: local:aiserver.v1.SetOrganizationMemberRoleRequest (var: Gr)
message SetOrganizationMemberRoleRequest {
string organization_id = 1;
int32 user_id = 2;
UserOrganizationRole role = 3;
}
// Copied from: local:aiserver.v1.SetOrganizationMemberRoleResponse (var: Hr)
message SetOrganizationMemberRoleResponse {
bool updated = 1;
UserOrganizationRole role = 2;
}
// Copied from: local:aiserver.v1.SetOrganizationMemberTeamsRequest (var: Pr)
message SetOrganizationMemberTeamsRequest {
string organization_id = 1;
int32 user_id = 2;
repeated int32 team_ids = 3;
}
// Copied from: local:aiserver.v1.SetOrganizationMemberTeamsResponse (var: br)
message SetOrganizationMemberTeamsResponse {
bool changed = 1;
repeated int32 added_team_ids = 2;
repeated int32 removed_team_ids = 3;
}
// Copied from: local:aiserver.v1.SetOrganizationNoZdrModelConsentRequest (var: Th)
message SetOrganizationNoZdrModelConsentRequest {
string organization_id = 1;
string model_id = 2;
bool enabled = 3;
bool acknowledged = 4;
string consent_version = 5;
}
// Copied from: local:aiserver.v1.SetOrganizationNoZdrModelConsentResponse (var: yh)
message SetOrganizationNoZdrModelConsentResponse {
bool consented = 1;
}
// Copied from: local:aiserver.v1.SetPersonalEnvironmentJsonRequest (var: au)
message SetPersonalEnvironmentJsonRequest {
string environment_json = 1;
string repo_url = 2;
EnvironmentWriteSource write_source = 3;
optional string source_bc_id = 4;
optional string environment_name = 5;
optional EnvironmentRepoConfig repo_config = 6;
optional int64 environment_id = 7;
optional string environment_public_id = 8;
}
// Copied from: local:aiserver.v1.SetPersonalEnvironmentJsonResponse (var: lu)
message SetPersonalEnvironmentJsonResponse {
optional LogicalEnvironment environment = 1;
}
// Copied from: agent.v1.SetPrStatusAction (var: Xt)
message SetPrStatusAction {
optional string pr_url = 1;
optional string branch_name = 2;
optional string repo_url = 3;
PullRequestStatus status = 4;
}
// Copied from: local:aiserver.v1.SetServiceAccountSpendLimitRequest (var: ch)
message SetServiceAccountSpendLimitRequest {
optional int32 team_id = 1;
string service_type = 2;
int32 spend_limit_cents = 3;
}
// Copied from: local:aiserver.v1.SetServiceAccountSpendLimitResponse (var: dh)
message SetServiceAccountSpendLimitResponse {
bool success = 1;
}
// Copied from: local:aiserver.v1.SetSlackAuthRequest (var: Fa)
message SetSlackAuthRequest {
string slack_team_id = 1;
string slack_user_id = 2;
string nonce = 3;
optional bool setup_complete = 4;
}
// Copied from: local:aiserver.v1.SetSlackAuthResponse (var: qa)
message SetSlackAuthResponse {
}
// Copied from: local:aiserver.v1.SetSpendLimitPolicyRequest (var: da)
message SetSpendLimitPolicyRequest {
int32 team_id = 1;
SpendLimitPolicyScope scope = 2;
SpendLimitPolicyType type = 3;
optional int32 amount_dollars = 4;
optional bool is_dynamic_team_limit = 5;
optional bool alert_enabled = 6;
optional int32 alert_threshold_bps = 7;
optional string notification_mode = 8;
optional bool notify_all_admins = 9;
repeated int32 notify_admin_user_ids = 10;
optional bool notify_member = 11;
bool clear_conflicting_policy = 12;
optional bool auto_alerts_enabled = 13;
}
// Copied from: local:aiserver.v1.SetSpendLimitPolicyResponse (var: pa)
message SetSpendLimitPolicyResponse {
SpendLimitPolicy policy = 1;
}
// Copied from: local:aiserver.v1.SetTeamEnvironmentJsonRequest (var: hm)
message SetTeamEnvironmentJsonRequest {
string environment_json = 1;
string repo_url = 2;
string scm_repo_node_id = 3;
optional string git_enterprise_uuid = 4;
bool delete_personal_environment = 5;
EnvironmentWriteSource write_source = 6;
optional string source_bc_id = 7;
optional string environment_name = 8;
optional EnvironmentRepoConfig repo_config = 9;
optional int64 environment_id = 10;
optional string environment_public_id = 11;
optional string delete_personal_environment_public_id = 12;
}
// Copied from: local:aiserver.v1.SetTeamEnvironmentJsonResponse (var: Am)
message SetTeamEnvironmentJsonResponse {
optional LogicalEnvironment environment = 1;
}
// Copied from: local:aiserver.v1.SetTeamMarketplacePluginPoliciesRequest (var: JI)
message SetTeamMarketplacePluginPoliciesRequest {
// Copied from: local:aiserver.v1.SetTeamMarketplacePluginPoliciesRequest.Policy (var: CI)
message Policy {
int64 plugin_id = 1;
TeamMarketplacePluginInstallMode install_mode = 2;
}
int64 marketplace_id = 1;
repeated Policy policies = 2;
optional int32 team_id = 3;
}
// Copied from: local:aiserver.v1.SetTeamMarketplacePluginPoliciesResponse (var: NI)
message SetTeamMarketplacePluginPoliciesResponse {
repeated TeamMarketplacePluginPolicy policies = 1;
}
// Copied from: local:aiserver.v1.SetTeamMarketplacePluginPolicyVariablesRequest (var: RI)
message SetTeamMarketplacePluginPolicyVariablesRequest {
int64 marketplace_id = 1;
int64 plugin_id = 2;
google.protobuf.Struct variables = 3;
optional int32 team_id = 4;
}
// Copied from: local:aiserver.v1.SetTeamMarketplacePluginPolicyVariablesResponse (var: PI)
message SetTeamMarketplacePluginPolicyVariablesResponse {
}
// Copied from: local:aiserver.v1.SetTeamMarketplaceRepositoryRequest (var: kI)
message SetTeamMarketplaceRepositoryRequest {
int64 marketplace_id = 1;
string git_url = 2;
optional string git_ref = 3;
}
// Copied from: local:aiserver.v1.SetTeamMarketplaceRepositoryResponse (var: wI)
message SetTeamMarketplaceRepositoryResponse {
Marketplace marketplace = 1;
}
// Copied from: local:aiserver.v1.SetTeamMemberNoZdrModelConsentRequest (var: Eh)
message SetTeamMemberNoZdrModelConsentRequest {
int32 team_id = 1;
string model_id = 2;
bool enabled = 3;
bool acknowledged = 4;
string consent_version = 5;
}
// Copied from: local:aiserver.v1.SetTeamMemberNoZdrModelConsentResponse (var: Sh)
message SetTeamMemberNoZdrModelConsentResponse {
bool consented = 1;
}
// Copied from: local:aiserver.v1.SetTeamNoZdrModelConsentRequest (var: Ah)
message SetTeamNoZdrModelConsentRequest {
int32 team_id = 1;
string model_id = 2;
bool enabled = 3;
bool acknowledged = 4;
string consent_version = 5;
}
// Copied from: local:aiserver.v1.SetTeamNoZdrModelConsentResponse (var: _h)
message SetTeamNoZdrModelConsentResponse {
bool consented = 1;
}
// Copied from: local:aiserver.v1.SetTeamRepoTypeRequest (var: gd)
message SetTeamRepoTypeRequest {
int32 team_id = 1;
string team_repo_type = 2;
int32 repo_id = 3;
}
// Copied from: local:aiserver.v1.SetTeamRepoTypeResponse (var: hd)
message SetTeamRepoTypeResponse {
}
// Copied from: local:aiserver.v1.SetUsageBasedPremiumRequestsRequest (var: em)
message SetUsageBasedPremiumRequestsRequest {
int32 team_id = 1;
bool usage_based_premium_requests = 2;
}
// Copied from: local:aiserver.v1.SetUsageBasedPremiumRequestsResponse (var: tm)
message SetUsageBasedPremiumRequestsResponse {
}
// Copied from: local:aiserver.v1.SetUserDefaultTeamRequest (var: zn)
message SetUserDefaultTeamRequest {
int32 team_id = 1;
}
// Copied from: local:aiserver.v1.SetUserDefaultTeamResponse (var: jn)
message SetUserDefaultTeamResponse {
}
// Copied from: local:aiserver.v1.SetUserHardLimitRequest (var: ph)
message SetUserHardLimitRequest {
int32 team_id = 1;
int32 user_id = 2;
int32 hard_limit_dollars = 3;
}
// Copied from: local:aiserver.v1.SetUserHardLimitResponse (var: fh)
message SetUserHardLimitResponse {
}
// Copied from: local:aiserver.v1.SetUserMonthlyLimitRequest (var: gh)
message SetUserMonthlyLimitRequest {
int32 team_id = 1;
int32 user_id = 2;
int32 monthly_limit_dollars = 3;
}
// Copied from: local:aiserver.v1.SetUserMonthlyLimitResponse (var: hh)
message SetUserMonthlyLimitResponse {
}
// Copied from: local:aiserver.v1.SetUserNoZdrModelConsentRequest (var: kh)
message SetUserNoZdrModelConsentRequest {
string model_id = 1;
bool enabled = 2;
bool acknowledged = 3;
string consent_version = 4;
}
// Copied from: local:aiserver.v1.SetUserNoZdrModelConsentResponse (var: wh)
message SetUserNoZdrModelConsentResponse {
bool consented = 1;
}
// Copied from: local:aiserver.v1.SetUserPrivacyModeRequest (var: Xg)
message SetUserPrivacyModeRequest {
PrivacyMode privacy_mode = 1;
}
// Copied from: local:aiserver.v1.SetUserPrivacyModeResponse (var: Zg)
message SetUserPrivacyModeResponse {
}
// Copied from: local:aiserver.v1.SetupBitbucketServerInstanceRequest (var: Tn)
message SetupBitbucketServerInstanceRequest {
string hostname = 1;
optional string external_host = 2;
string access_token = 3;
}
// Copied from: local:aiserver.v1.SetupBitbucketServerInstanceResponse (var: yn)
message SetupBitbucketServerInstanceResponse {
string uuid = 1;
}
// Copied from: local:aiserver.v1.SetupGitlabEnterpriseInstanceRequest (var: ln)
message SetupGitlabEnterpriseInstanceRequest {
string hostname = 1;
string access_token = 2;
optional string group_path = 3;
optional string slug = 4;
optional string client_id = 5;
optional string client_secret = 6;
optional string external_host = 7;
}
// Copied from: local:aiserver.v1.SetupGitlabEnterpriseInstanceResponse (var: un)
message SetupGitlabEnterpriseInstanceResponse {
string uuid = 1;
}
// Copied from: local:aiserver.v1.SetupIndexDependenciesRequest (var: T)
message SetupIndexDependenciesRequest {
string index_id = 1;
string file_id = 3;
repeated URIResolutionResult dependency_resolution_results = 2;
}
// Copied from: local:aiserver.v1.SetupIndexDependenciesResponse (var: y)
message SetupIndexDependenciesResponse {
}
// Copied from: agent.v1.SetupVmEnvironmentArgs (var: At)
message SetupVmEnvironmentArgs {
string install_command = 2;
string start_command = 3;
string dockerfile_contents = 4;
}
// Copied from: agent.v1.SetupVmEnvironmentResult (var: _t)
message SetupVmEnvironmentResult {
oneof result {
SetupVmEnvironmentSuccess success = 1;
}
}
// Copied from: agent.v1.SetupVmEnvironmentSuccess (var: Tt)
message SetupVmEnvironmentSuccess {
}
// Copied from: local:aiserver.v1.SetupWaterfallSentinel (var: Tn)
message SetupWaterfallSentinel {
}
// Copied from: local:aiserver.v1.ShadowHealthCheckRequest (var: he)
message ShadowHealthCheckRequest {
}
// Copied from: local:aiserver.v1.ShadowHealthCheckResponse (var: Ae)
message ShadowHealthCheckResponse {
}
// Copied from: local:aiserver.v1.ShareAgentStoreRequest (var: rg)
message ShareAgentStoreRequest {
string agent_id = 1;
string path_prefix = 2;
optional string store_id = 4;
AgentStoreSourceRef source = 5;
}
// Copied from: local:aiserver.v1.ShareAgentStoreResponse (var: sg)
message ShareAgentStoreResponse {
string share_id = 1;
string share_url = 2;
}
// Copied from: local:aiserver.v1.ShareBackgroundComposerArtifactRequest (var: jm)
message ShareBackgroundComposerArtifactRequest {
string bc_id = 1;
string absolute_path = 2;
optional string title = 3;
}
// Copied from: local:aiserver.v1.ShareBackgroundComposerArtifactResponse (var: Xm)
message ShareBackgroundComposerArtifactResponse {
BackgroundComposerSharedArtifact artifact = 1;
}
// Copied from: local:aiserver.v1.ShareCanvasRequest (var: Ok)
message ShareCanvasRequest {
string title = 1;
SharedCanvasVisibility visibility = 2;
bytes app_js = 3;
bytes data_json = 4;
optional string canvas_key = 6;
}
// Copied from: local:aiserver.v1.ShareCanvasResponse (var: Uk)
message ShareCanvasResponse {
string share_id = 1;
string share_url = 2;
}
// Copied from: local:aiserver.v1.ShareConversationRequest (var: Zk)
message ShareConversationRequest {
string conversation_id = 1;
string title = 2;
SharedConversationVisibility visibility = 3;
repeated ConversationMessage messages = 4;
optional SharedConversationLatestPlan latest_plan = 5;
}
// Copied from: local:aiserver.v1.ShareConversationResponse (var: $k)
message ShareConversationResponse {
string share_id = 1;
string share_url = 2;
optional int32 redactions = 3;
}
// Copied from: local:aiserver.v1.SharedAgentStoreInfo (var: ng)
message SharedAgentStoreInfo {
string share_id = 1;
string path_prefix = 2;
AgentStoreShareVisibility visibility = 3;
double created_at_ms = 4;
optional double revoked_at_ms = 5;
}
// Copied from: local:aiserver.v1.SharedAgentStoreListing (var: lg)
message SharedAgentStoreListing {
string share_id = 1;
string agent_id = 2;
string store_id = 3;
string path_prefix = 4;
AgentStoreShareVisibility visibility = 5;
double created_at_ms = 6;
optional double revoked_at_ms = 7;
optional int32 owning_user_id = 8;
optional int32 owning_team_id = 9;
string owner_display_name = 10;
string store_kind = 11;
AgentStoreKind kind = 12;
AgentStoreSourceRef source = 13;
}
// Copied from: local:aiserver.v1.SharedCanvasCreator (var: qk)
message SharedCanvasCreator {
string user_id = 1;
optional string first_name = 2;
}
// Copied from: local:aiserver.v1.SharedCanvasMetadata (var: Dk)
message SharedCanvasMetadata {
string id = 1;
string title = 2;
SharedCanvasVisibility visibility = 3;
string created_at = 4;
SharedCanvasCreator creator = 5;
string updated_at = 7;
}
// Copied from: local:aiserver.v1.SharedCanvasSettings (var: Sc)
message SharedCanvasSettings {
bool enabled = 1;
}
// Copied from: local:aiserver.v1.SharedCanvasSnapshot (var: Fk)
message SharedCanvasSnapshot {
bytes app_js = 1;
bytes data_json = 2;
}
// Copied from: local:aiserver.v1.SharedCanvasVisibility (var: ft)
enum SharedCanvasVisibility {
SHARED_CANVAS_VISIBILITY_UNSPECIFIED = 0;
SHARED_CANVAS_VISIBILITY_PRIVATE = 1;
SHARED_CANVAS_VISIBILITY_TEAM = 2;
SHARED_CANVAS_VISIBILITY_PUBLIC = 3;
}
// Copied from: local:aiserver.v1.SharedConversationCreator (var: Pk)
message SharedConversationCreator {
optional int32 user_id = 1;
optional string first_name = 2;
}
// Copied from: local:aiserver.v1.SharedConversationLatestPlan (var: Mk)
message SharedConversationLatestPlan {
string plan_id = 1;
string title = 2;
string content = 3;
}
// Copied from: local:aiserver.v1.SharedConversationMetadata (var: bk)
message SharedConversationMetadata {
string id = 1;
string title = 2;
SharedConversationVisibility visibility = 3;
string created_at = 4;
SharedConversationCreator creator = 5;
}
// Copied from: local:aiserver.v1.SharedConversationSettings (var: Ec)
message SharedConversationSettings {
bool enabled = 1;
repeated SharedConversationVisibility allowed_visibilities = 2;
optional bool allow_public_indexing = 3;
}
// Copied from: local:aiserver.v1.SharedConversationSnapshot (var: Lk)
message SharedConversationSnapshot {
repeated ConversationMessage messages = 1;
optional SharedConversationLatestPlan latest_plan = 2;
}
// Copied from: local:aiserver.v1.SharedConversationVisibility (var: pt)
enum SharedConversationVisibility {
SHARED_CONVERSATION_VISIBILITY_UNSPECIFIED = 0;
SHARED_CONVERSATION_VISIBILITY_PRIVATE = 1;
SHARED_CONVERSATION_VISIBILITY_TEAM = 2;
SHARED_CONVERSATION_VISIBILITY_PUBLIC = 3;
}
// Copied from: agent.v1.ShellAbortReason (var: i)
enum ShellAbortReason {
SHELL_ABORT_REASON_UNSPECIFIED = 0;
SHELL_ABORT_REASON_USER_ABORT = 1;
SHELL_ABORT_REASON_TIMEOUT = 2;
}
// Copied from: agent.v1.ShellAllowlistPrecheckArgs (var: Z)
message ShellAllowlistPrecheckArgs {
string command = 1;
string working_directory = 2;
ShellCommandParsingResult parsing_result = 3;
optional CommandClassifierResult classifier_result = 4;
optional string tool_call_id = 5;
}
// Copied from: agent.v1.ShellAllowlistPrecheckResult (var: $)
message ShellAllowlistPrecheckResult {
bool allowlisted = 1;
}
// Copied from: agent.v1.ShellArgs (var: E)
message ShellArgs {
string command = 1;
string working_directory = 2;
int32 timeout = 3;
string tool_call_id = 4;
repeated string simple_commands = 5;
bool has_input_redirect = 6;
bool has_output_redirect = 7;
ShellCommandParsingResult parsing_result = 8;
optional SandboxPolicy requested_sandbox_policy = 9;
optional uint64 file_output_threshold_bytes = 10;
bool is_background = 11;
bool skip_approval = 12;
TimeoutBehavior timeout_behavior = 13;
optional int32 hard_timeout = 14;
optional string description = 15;
optional CommandClassifierResult classifier_result = 16;
bool close_stdin = 17;
optional ShellOutputNotificationConfig output_notification = 18;
optional SmartModeApproval smart_mode_approval = 19;
optional ShellHookApprovalRequirement hook_approval_requirement = 20;
optional string conversation_id = 21;
}
// Copied from: agent.v1.ShellBackgroundReason (var: s)
enum ShellBackgroundReason {
SHELL_BACKGROUND_REASON_UNSPECIFIED = 0;
SHELL_BACKGROUND_REASON_TIMEOUT = 1;
SHELL_BACKGROUND_REASON_USER_REQUEST = 2;
}
// Copied from: agent.v1.ShellCommand (var: Pi)
message ShellCommand {
string command = 1;
}
// Copied from: agent.v1.ShellCommandAction (var: yi)
message ShellCommandAction {
ShellCommand shell_command = 1;
string exec_id = 2;
}
// Copied from: local:aiserver.v1.ShellCommandParsingResult (var: pn)
message ShellCommandParsingResult {
// Copied from: local:aiserver.v1.ShellCommandParsingResult.ExecutableCommand (var: gn)
message ExecutableCommand {
string name = 1;
repeated ShellCommandParsingResult.ExecutableCommandArg args = 2;
string full_text = 3;
}
// Copied from: local:aiserver.v1.ShellCommandParsingResult.ExecutableCommandArg (var: fn)
message ExecutableCommandArg {
string type = 1;
string value = 2;
}
// Copied from: local:aiserver.v1.ShellCommandParsingResult.Redirect (var: hn)
message Redirect {
string operator = 1;
repeated uint32 destination_fds = 2;
string target_node_type = 3;
optional string target_text = 4;
}
bool parsing_failed = 1;
repeated ExecutableCommand executable_commands = 2;
bool has_redirects = 3;
bool has_command_substitution = 4;
optional bool all_redirects_are_dev_null = 5;
repeated Redirect redirects = 6;
}
// Copied from: agent.v1.ShellFailure (var: M)
message ShellFailure {
string command = 1;
string working_directory = 2;
int32 exit_code = 3;
string signal = 4;
string stdout = 5;
string stderr = 6;
int32 execution_time = 7;
optional OutputLocation output_location = 8;
optional string interleaved_output = 9;
optional ShellAbortReason abort_reason = 10;
bool aborted = 11;
optional int32 local_execution_time_ms = 12;
optional string output_head = 13;
optional string output_tail = 14;
optional uint32 elided_chars = 15;
}
// Copied from: agent.v1.ShellHookApprovalRequirement (var: w)
message ShellHookApprovalRequirement {
// Copied from: agent.v1.ShellHookApprovalRequirement.Kind (var: l)
enum Kind {
KIND_UNSPECIFIED = 0;
KIND_FORCE_PROMPT = 1;
}
Kind kind = 1;
optional string reason = 2;
}
// Copied from: agent.v1.ShellOutputDeltaUpdate (var: Ca)
message ShellOutputDeltaUpdate {
oneof event {
ShellStreamStdout stdout = 1;
ShellStreamStderr stderr = 2;
ShellStreamExit exit = 3;
ShellStreamStart start = 4;
}
}
// Copied from: agent.v1.ShellOutputNotificationConfig (var: T)
message ShellOutputNotificationConfig {
string pattern = 1;
string reason = 2;
optional double debounce = 3;
optional int32 notification_limit = 4;
}
// Copied from: agent.v1.ShellPermissionDenied (var: q)
message ShellPermissionDenied {
string command = 1;
string working_directory = 2;
string error = 3;
bool is_readonly = 4;
}
// Copied from: agent.v1.ShellRejected (var: F)
message ShellRejected {
string command = 1;
string working_directory = 2;
string reason = 3;
bool is_readonly = 4;
}
// Copied from: agent.v1.ShellResult (var: S)
message ShellResult {
optional SandboxPolicy sandbox_policy = 101;
optional bool is_background = 102;
optional string terminals_folder = 103;
optional uint32 pid = 104;
oneof result {
ShellSuccess success = 1;
ShellFailure failure = 2;
ShellTimeout timeout = 3;
ShellRejected rejected = 4;
ShellSpawnError spawn_error = 5;
ShellPermissionDenied permission_denied = 7;
}
}
// Copied from: agent.v1.ShellSandboxUnsupported (var: R)
message ShellSandboxUnsupported {
string command = 1;
string working_directory = 2;
string sandbox_policy_type = 3;
string reason = 4;
bool is_readonly = 5;
}
// Copied from: agent.v1.ShellSpawnError (var: D)
message ShellSpawnError {
string command = 1;
string working_directory = 2;
string error = 3;
}
// Copied from: agent.v1.ShellStream (var: P)
message ShellStream {
oneof event {
ShellStreamStdout stdout = 1;
ShellStreamStderr stderr = 2;
ShellStreamExit exit = 3;
ShellStreamStart start = 4;
ShellRejected rejected = 5;
ShellPermissionDenied permission_denied = 6;
ShellStreamBackgrounded backgrounded = 7;
ShellStreamHookContext hook_context = 8;
ShellSandboxUnsupported sandbox_unsupported = 9;
}
}
// Copied from: agent.v1.ShellStreamBackgrounded (var: C)
message ShellStreamBackgrounded {
uint32 shell_id = 1;
string command = 2;
string working_directory = 3;
optional uint32 pid = 4;
optional int32 ms_to_wait = 5;
optional ShellBackgroundReason reason = 6;
}
// Copied from: agent.v1.ShellStreamExit (var: B)
message ShellStreamExit {
uint32 code = 1;
string cwd = 2;
optional OutputLocation output_location = 3;
bool aborted = 4;
optional ShellAbortReason abort_reason = 5;
optional int32 local_execution_time_ms = 6;
}
// Copied from: agent.v1.ShellStreamHookContext (var: N)
message ShellStreamHookContext {
repeated HookAdditionalContext hook_additional_contexts = 1;
}
// Copied from: agent.v1.ShellStreamStart (var: J)
message ShellStreamStart {
optional SandboxPolicy sandbox_policy = 1;
}
// Copied from: agent.v1.ShellStreamStderr (var: v)
message ShellStreamStderr {
string data = 1;
}
// Copied from: agent.v1.ShellStreamStdout (var: I)
message ShellStreamStdout {
string data = 1;
}
// Copied from: agent.v1.ShellSuccess (var: b)
message ShellSuccess {
string command = 1;
string working_directory = 2;
int32 exit_code = 3;
string signal = 4;
string stdout = 5;
string stderr = 6;
int32 execution_time = 7;
optional OutputLocation output_location = 8;
optional uint32 shell_id = 9;
optional string interleaved_output = 10;
optional uint32 pid = 11;
optional int32 ms_to_wait = 12;
optional int32 local_execution_time_ms = 13;
optional ShellBackgroundReason background_reason = 14;
optional string output_head = 15;
optional string output_tail = 16;
optional uint32 elided_chars = 17;
}
// Copied from: agent.v1.ShellTimeout (var: L)
message ShellTimeout {
string command = 1;
string working_directory = 2;
int32 timeout_ms = 3;
}
// Copied from: agent.v1.ShellToolCallDelta (var: u)
message ShellToolCallDelta {
oneof delta {
ShellToolCallStdoutDelta stdout = 1;
ShellToolCallStderrDelta stderr = 2;
}
}
// Copied from: agent.v1.ShellToolCallStderrDelta (var: l)
message ShellToolCallStderrDelta {
string content = 1;
}
// Copied from: agent.v1.ShellToolCallStdoutDelta (var: a)
message ShellToolCallStdoutDelta {
string content = 1;
}
// Copied from: local:aiserver.v1.ShellType (var: s)
enum ShellType {
SHELL_TYPE_UNSPECIFIED = 0;
SHELL_TYPE_BASH = 1;
SHELL_TYPE_POWERSHELL = 2;
}
// Copied from: local:aiserver.v1.ShouldTurnOnCppOnboardingRequest (var: C)
message ShouldTurnOnCppOnboardingRequest {
}
// Copied from: local:aiserver.v1.ShouldTurnOnCppOnboardingResponse (var: N)
message ShouldTurnOnCppOnboardingResponse {
bool should_turn_on_cpp_onboarding = 1;
}
// Copied from: local:aiserver.v1.ShowWelcomeScreenRequest (var: bn)
message ShowWelcomeScreenRequest {
}
// Copied from: local:aiserver.v1.ShowWelcomeScreenResponse (var: Mn)
message ShowWelcomeScreenResponse {
repeated string enable_cards = 1;
}
// Copied from: local:aiserver.v1.SimilarityMetricType (var: s)
enum SimilarityMetricType {
SIMILARITY_METRIC_TYPE_UNSPECIFIED = 0;
SIMILARITY_METRIC_TYPE_SIMHASH = 1;
}
// Copied from: local:aiserver.v1.SimpleCommitWithDiff (var: hn)
message SimpleCommitWithDiff {
string commit_hash = 1;
string diff = 2;
}
// Copied from: local:aiserver.v1.SimpleFileChunk (var: N)
message SimpleFileChunk {
string relative_workspace_path = 1;
SimplestRange range = 2;
string chunk_hash = 3;
}
// Copied from: local:aiserver.v1.SimpleFileDiff (var: mn)
message SimpleFileDiff {
// Copied from: local:aiserver.v1.SimpleFileDiff.Chunk (var: cn)
message Chunk {
repeated string old_lines = 1;
repeated string new_lines = 2;
LineRange old_range = 3;
LineRange new_range = 4;
}
string relative_workspace_path = 1;
repeated Chunk chunks = 3;
}
// Copied from: local:aiserver.v1.SimpleRange (var: C)
message SimpleRange {
int32 start_line_number = 1;
int32 start_column = 2;
int32 end_line_number_inclusive = 3;
int32 end_column = 4;
}
// Copied from: local:aiserver.v1.SimpleUnaryCrossExtensionHostMessage (var: xe)
message SimpleUnaryCrossExtensionHostMessage {
bytes message = 1;
CrossExtHostHeaders header = 2;
CrossExtHostHeaders trailer = 3;
bool is_error = 4;
string connect_error = 5;
}
// Copied from: local:aiserver.v1.SimplestRange (var: S)
message SimplestRange {
int32 start_line = 1;
int32 end_line_inclusive = 2;
}
// Copied from: agent.v1.SimulatedMsgReason (var: zs)
enum SimulatedMsgReason {
SIMULATED_MSG_REASON_UNSPECIFIED = 0;
SIMULATED_MSG_REASON_PLAN_EXECUTION = 1;
SIMULATED_MSG_REASON_COMMIT_REMINDER = 2;
SIMULATED_MSG_REASON_BACKGROUND_TASK_COMPLETION = 3;
SIMULATED_MSG_REASON_DIFF_TAB_COMMIT = 4;
SIMULATED_MSG_REASON_DIFF_TAB_COMMIT_AND_PUSH = 5;
SIMULATED_MSG_REASON_DIFF_TAB_PUSH = 6;
SIMULATED_MSG_REASON_DIFF_TAB_CREATE_PR = 7;
SIMULATED_MSG_REASON_DIFF_TAB_FIX_MERGE_CONFLICTS = 8;
SIMULATED_MSG_REASON_USER_SENT_TO_SUBAGENT = 9;
SIMULATED_MSG_REASON_USER_INTERRUPTED_SUBAGENT = 10;
SIMULATED_MSG_REASON_USER_QUEUED_TO_SUBAGENT = 11;
SIMULATED_MSG_REASON_BABYSIT_PR_IN_CLOUD = 12;
SIMULATED_MSG_REASON_CI_PANEL_INVESTIGATE_FAILURE = 13;
SIMULATED_MSG_REASON_MULTITASK = 14;
SIMULATED_MSG_REASON_BUILD_IN_PARALLEL = 15;
SIMULATED_MSG_REASON_MULTITASK_SPLIT_PRS = 16;
SIMULATED_MSG_REASON_APPLY_LOCALLY = 17;
SIMULATED_MSG_REASON_CHECKOUT_BRANCH = 18;
SIMULATED_MSG_REASON_DIFF_TAB_UPDATE_BRANCH = 19;
SIMULATED_MSG_REASON_PR_TAB_BUGBOT_FIX = 20;
SIMULATED_MSG_REASON_RUN_BUGBOT_REVIEW = 22;
SIMULATED_MSG_REASON_RUN_SECURITY_REVIEW = 23;
SIMULATED_MSG_REASON_FSD_APPLY_FINDING = 24;
SIMULATED_MSG_REASON_FSD_UNDO_FINDING = 25;
SIMULATED_MSG_REASON_FSD_START = 26;
SIMULATED_MSG_REASON_FSD_PR_INTERRUPT = 27;
SIMULATED_MSG_REASON_SUBSCRIPTION = 28;
SIMULATED_MSG_REASON_DIFF_TAB_CREATE_BRANCH = 29;
SIMULATED_MSG_REASON_AGENT_STORE_CONFLICT = 30;
SIMULATED_MSG_REASON_GOAL_CONTINUATION = 31;
SIMULATED_MSG_REASON_PROJECT_KICKOFF = 32;
}
// Copied from: local:aiserver.v1.SingleUpdateRequest (var: m)
message SingleUpdateRequest {
int32 start_position = 1;
int32 end_position = 2;
int32 change_length = 3;
string replaced_string = 4;
SimpleRange range = 5;
}
// Copied from: local:aiserver.v1.SkillDescriptor (var: uE)
message SkillDescriptor {
string name = 1;
optional string description = 2;
optional string source_path = 3;
optional string source_url = 4;
repeated string environments = 5;
repeated string disabled_environments = 6;
optional CustomModeDescriptor custom_mode = 7;
optional string display_name = 8;
}
// Copied from: agent.v1.SkillOptions (var: B)
message SkillOptions {
repeated SkillDescriptor skill_descriptors = 1;
}
// Copied from: local:aiserver.v1.SkipPrivacyModeGracePeriodRequest (var: th)
message SkipPrivacyModeGracePeriodRequest {
}
// Copied from: local:aiserver.v1.SkipPrivacyModeGracePeriodResponse (var: nh)
message SkipPrivacyModeGracePeriodResponse {
}
// Copied from: local:aiserver.v1.SlackChannelRepoMapping (var: Oa)
message SlackChannelRepoMapping {
string slack_channel = 1;
string repo = 2;
}
// Copied from: local:aiserver.v1.SlackConversation (var: rE)
message SlackConversation {
string id = 1;
string name = 2;
SlackConversationType type = 3;
bool is_private = 4;
optional bool is_bot_in_channel = 5;
}
// Copied from: local:aiserver.v1.SlackConversationType (var: At)
enum SlackConversationType {
SLACK_CONVERSATION_TYPE_UNSPECIFIED = 0;
SLACK_CONVERSATION_TYPE_CHANNEL = 1;
SLACK_CONVERSATION_TYPE_DM = 2;
SLACK_CONVERSATION_TYPE_GROUP_DM = 3;
}
// Copied from: local:aiserver.v1.SlackIntegrationSettings (var: Tc)
message SlackIntegrationSettings {
bool hidden = 1;
}
// Copied from: local:aiserver.v1.SlackRepoRoutingRule (var: LA)
message SlackRepoRoutingRule {
int32 id = 1;
string pattern = 2;
string repo = 3;
bool is_team_rule = 4;
SlackRoutingRuleTargetType target_type = 5;
optional string environment_public_id = 6;
}
// Copied from: local:aiserver.v1.SlackRoutingRuleTargetType (var: Ye)
enum SlackRoutingRuleTargetType {
SLACK_ROUTING_RULE_TARGET_TYPE_UNSPECIFIED = 0;
SLACK_ROUTING_RULE_TARGET_TYPE_REPOSITORY = 1;
SLACK_ROUTING_RULE_TARGET_TYPE_ENVIRONMENT = 2;
}
// Copied from: local:aiserver.v1.SlackSourceMetadata (var: Xi)
message SlackSourceMetadata {
optional string channel_id = 1;
optional string channel_name = 2;
optional string team_id = 3;
optional string message_timestamp = 4;
optional string message_permalink = 5;
}
// Copied from: local:aiserver.v1.SlashEditFollowUpWithPreviousEditsRequest (var: Ks)
message SlashEditFollowUpWithPreviousEditsRequest {
repeated ConversationMessage conversation = 1;
ModelDetails model_details = 2;
repeated SlashEditPreviousEdit previous_edits = 3;
}
// Copied from: local:aiserver.v1.SlashEditPreviousEdit (var: Ys)
message SlashEditPreviousEdit {
repeated string original_lines = 1;
repeated string new_lines = 2;
string relative_workspace_path = 3;
LineRange range = 4;
}
// Copied from: local:aiserver.v1.SlashEditRequest (var: Hs)
message SlashEditRequest {
// Copied from: local:aiserver.v1.SlashEditRequest.FastApplyModelType (var: Te)
enum FastApplyModelType {
FAST_APPLY_MODEL_TYPE_UNSPECIFIED = 0;
FAST_APPLY_MODEL_TYPE_DEFAULT = 1;
FAST_APPLY_MODEL_TYPE_DEEPSEEK = 2;
FAST_APPLY_MODEL_TYPE_SONNET = 3;
FAST_APPLY_MODEL_TYPE_OPUS_DIFF = 4;
FAST_APPLY_MODEL_TYPE_SMART_REWRITE = 5;
FAST_APPLY_MODEL_TYPE_GPT4 = 6;
FAST_APPLY_MODEL_TYPE_GPT4_NOSPEC = 7;
FAST_APPLY_MODEL_TYPE_SMART_REWRITE_NOSPEC = 8;
FAST_APPLY_MODEL_TYPE_OPUS = 9;
FAST_APPLY_MODEL_TYPE_HAIKU = 10;
FAST_APPLY_MODEL_TYPE_GPT4O_NOSPEC = 11;
FAST_APPLY_MODEL_TYPE_GPT4O_DIFF = 12;
FAST_APPLY_MODEL_TYPE_CODESTRAL_REWRITE = 13;
FAST_APPLY_MODEL_TYPE_DEEPSEEK_33B = 14;
FAST_APPLY_MODEL_TYPE_SONNET_35_DIFF = 15;
FAST_APPLY_MODEL_TYPE_SONNET_35_REWRITE = 16;
FAST_APPLY_MODEL_TYPE_PROMPTED_DEEPSEEK_V2 = 17;
FAST_APPLY_MODEL_TYPE_CODESTRAL_REWRITE_OLD = 18;
FAST_APPLY_MODEL_TYPE_CODESTRAL_REWRITE_FP16 = 19;
FAST_APPLY_MODEL_TYPE_DEEPSEEK_33B_V2 = 20;
FAST_APPLY_MODEL_TYPE_CODESTRAL_V4 = 21;
FAST_APPLY_MODEL_TYPE_CODESTRAL_V5 = 22;
FAST_APPLY_MODEL_TYPE_CODESTRAL_V6 = 23;
FAST_APPLY_MODEL_TYPE_CODESTRAL_V7 = 24;
}
CurrentFileInfo current_file = 2;
repeated ConversationMessage conversation = 3;
ExplicitContext explicit_context = 4;
ModelDetails model_details = 7;
bool is_cmd_i = 8;
optional string summary = 11;
optional int32 summary_up_until_index = 12;
optional bool should_use_turbo_debug_prompt = 13;
optional LineRange edit_selection = 14;
repeated CurrentFileInfo files = 15;
optional string clicked_code_block_contents = 16;
optional bool is_an_optimistic_request_for_caching_and_linting = 17;
optional string specific_instructions = 18;
bool use_fast_apply = 19;
FastApplyModelType fast_apply_model_type = 20;
optional bool use_chunk_speculation_for_long_files = 25;
optional string parent_request_id = 26;
optional FastApplySource source = 27;
optional bool is_reapply = 28;
optional bool willing_to_pay_extra_for_speed = 29;
optional int32 attempt_number = 30;
optional bool should_throw_timeout_error = 31;
}
// Copied from: local:aiserver.v1.SlashEditResponse (var: Vs)
message SlashEditResponse {
StreamCmdKResponse cmd_k_response = 1;
}
// Copied from: local:aiserver.v1.SmartAutoMemberTeamConflict (var: Aw)
message SmartAutoMemberTeamConflict {
SmartAutoRequiredModel model = 1;
repeated string team_names = 2;
}
// Copied from: local:aiserver.v1.SmartAutoModelSeverity (var: gt)
enum SmartAutoModelSeverity {
SMART_AUTO_MODEL_SEVERITY_UNSPECIFIED = 0;
SMART_AUTO_MODEL_SEVERITY_REQUIRED = 1;
SMART_AUTO_MODEL_SEVERITY_RECOMMENDED = 2;
}
// Copied from: local:aiserver.v1.SmartAutoOptimizeForSettings (var: gw)
message SmartAutoOptimizeForSettings {
repeated string allowed_values = 1;
}
// Copied from: local:aiserver.v1.SmartAutoRequiredModel (var: hw)
message SmartAutoRequiredModel {
string model_id = 1;
string display_name = 2;
SmartAutoModelSeverity severity = 3;
bool blocked = 4;
}
// Copied from: local:aiserver.v1.SmartAutoSettings (var: fw)
message SmartAutoSettings {
optional bool enabled = 1;
optional SmartAutoOptimizeForSettings optimize_for = 2;
optional bool show_routed_model = 3;
}
// Copied from: agent.v1.SmartModeApproval (var: a)
message SmartModeApproval {
string request_id = 1;
string reason = 2;
}
// Copied from: agent.v1.SmartModeClassifierArgs (var: i)
message SmartModeClassifierArgs {
string tool_call_id = 1;
optional string parent_conversation_id = 2;
SmartModeRiskTarget target = 3;
repeated SmartModeClassifierConversationMessage conversation_context = 4;
}
// Copied from: agent.v1.SmartModeClassifierConversationMessage (var: o)
message SmartModeClassifierConversationMessage {
string role = 1;
string content = 2;
}
// Copied from: agent.v1.SmartModeClassifierDecision (var: r)
enum SmartModeClassifierDecision {
SMART_MODE_CLASSIFIER_DECISION_UNSPECIFIED = 0;
SMART_MODE_CLASSIFIER_DECISION_ALLOW = 1;
SMART_MODE_CLASSIFIER_DECISION_BLOCK = 2;
}
// Copied from: agent.v1.SmartModeClassifierError (var: m)
message SmartModeClassifierError {
string error = 1;
}
// Copied from: agent.v1.SmartModeClassifierResult (var: l)
message SmartModeClassifierResult {
oneof result {
SmartModeClassifierSuccess success = 1;
SmartModeClassifierError error = 2;
}
}
// Copied from: agent.v1.SmartModeClassifierSuccess (var: u)
message SmartModeClassifierSuccess {
SmartModeClassifierDecision decision = 1;
optional string block_reason = 2;
}
// Copied from: agent.v1.SmartModeRiskTarget (var: a)
message SmartModeRiskTarget {
string action = 1;
google.protobuf.Struct arguments = 2;
}
// Copied from: local:aiserver.v1.SnapshotAndSaveEnvironmentRequest (var: _m)
message SnapshotAndSaveEnvironmentRequest {
// Copied from: local:aiserver.v1.SnapshotAndSaveEnvironmentRequest.EgressConfig (var: Tm)
message EgressConfig {
CloudAgentEgressProtectionMode mode = 1;
repeated string allowlist = 2;
}
// Copied from: local:aiserver.v1.SnapshotAndSaveEnvironmentRequest.Target (var: Vr)
enum Target {
TARGET_UNSPECIFIED = 0;
TARGET_PERSONAL = 1;
TARGET_TEAM = 2;
}
Target target = 1;
string bc_id = 2;
string repo_url = 3;
optional string install_command = 4;
optional string existing_snapshot_id = 5;
optional string scm_repo_node_id = 6;
optional string git_enterprise_uuid = 7;
optional string environment_name = 8;
optional EnvironmentRepoConfig repo_config = 9;
optional string environment_public_id = 10;
optional EgressConfig egress_config = 11;
}
// Copied from: local:aiserver.v1.SnapshotAndSaveEnvironmentResponse (var: ym)
message SnapshotAndSaveEnvironmentResponse {
string snapshot_id = 1;
}
// Copied from: local:aiserver.v1.SpanContext (var: Pe)
message SpanContext {
string trace_id = 1;
string span_id = 2;
optional uint32 trace_flags = 3;
optional string trace_state = 4;
}
// Copied from: local:aiserver.v1.SpanEnd (var: wn)
message SpanEnd {
string span_id = 1;
WaterfallSpanEndStatus end_status = 2;
}
// Copied from: local:aiserver.v1.SpanKind (var: i)
enum SpanKind {
SPAN_KIND_UNSPECIFIED = 0;
SPAN_KIND_INTERNAL = 1;
SPAN_KIND_SERVER = 2;
SPAN_KIND_CLIENT = 3;
SPAN_KIND_PRODUCER = 4;
SPAN_KIND_CONSUMER = 5;
}
// Copied from: local:aiserver.v1.SpanLog (var: En)
message SpanLog {
string span_id = 1;
google.protobuf.Timestamp timestamp = 2;
string message = 3;
WaterfallLogLevel level = 4;
}
// Copied from: local:aiserver.v1.SpanStart (var: yn)
message SpanStart {
string span_id = 1;
optional string parent_span_id = 2;
WaterfallPhaseType phase_type = 5;
optional string fallback_phase_label = 6;
oneof span_details {
GitReposSetupSpanDetails git_repos_setup = 3;
GitRepoSetupSpanDetails git_repo_setup = 4;
}
}
// Copied from: local:aiserver.v1.SpanStatusUpdate (var: Sn)
message SpanStatusUpdate {
string span_id = 1;
google.protobuf.Timestamp timestamp = 2;
WaterfallSpanStatusType status_type = 3;
string message = 4;
optional CallToAction call_to_action = 5;
}
// Copied from: local:aiserver.v1.SpanUpdate (var: kn)
message SpanUpdate {
string span_id = 1;
oneof span_update {
GenericLogSpanUpdate generic_log = 2;
}
}
// Copied from: local:aiserver.v1.SpecSubagentParams (var: Ln)
message SpecSubagentParams {
string plan = 1;
}
// Copied from: local:aiserver.v1.SpecSubagentReturnValue (var: Fn)
message SpecSubagentReturnValue {
string summary = 1;
repeated StringReplacement string_replacements = 2;
}
// Copied from: local:aiserver.v1.SpendGroupByCategory (var: We)
enum SpendGroupByCategory {
SPEND_GROUP_BY_CATEGORY_UNSPECIFIED = 0;
SPEND_GROUP_BY_CATEGORY_MODEL = 1;
SPEND_GROUP_BY_CATEGORY_USAGE_TYPE = 2;
}
// Copied from: local:aiserver.v1.SpendLimitPolicy (var: ua)
message SpendLimitPolicy {
SpendLimitPolicyScope scope = 1;
SpendLimitPolicyType type = 2;
optional int32 amount_dollars = 3;
optional bool is_dynamic_team_limit = 4;
optional string resource_threshold_id = 5;
optional LinkedUsageAlertPolicy linked_alert = 6;
optional bool auto_alerts_enabled = 7;
}
// Copied from: local:aiserver.v1.SpendLimitPolicyScope (var: pe)
enum SpendLimitPolicyScope {
SPEND_LIMIT_POLICY_SCOPE_UNSPECIFIED = 0;
SPEND_LIMIT_POLICY_SCOPE_TEAM_TOTAL = 1;
SPEND_LIMIT_POLICY_SCOPE_TEAM_MEMBER_DEFAULT = 2;
}
// Copied from: local:aiserver.v1.SpendLimitPolicyType (var: fe)
enum SpendLimitPolicyType {
SPEND_LIMIT_POLICY_TYPE_UNSPECIFIED = 0;
SPEND_LIMIT_POLICY_TYPE_NONE = 1;
SPEND_LIMIT_POLICY_TYPE_HARD = 2;
SPEND_LIMIT_POLICY_TYPE_SOFT = 3;
}
// Copied from: local:aiserver.v1.SpendType (var: ze)
enum SpendType {
SPEND_TYPE_UNSPECIFIED = 0;
SPEND_TYPE_ON_DEMAND = 1;
SPEND_TYPE_INCLUDED = 2;
SPEND_TYPE_ALL = 3;
}
// Copied from: local:aiserver.v1.SshConfigPromptProps (var: Wa)
message SshConfigPromptProps {
string ssh_string = 1;
}
// Copied from: agent.v1.StackTrace (var: q)
message StackTrace {
repeated CallFrame call_frames = 1;
optional string raw_stack_trace = 2;
}
// Copied from: local:aiserver.v1.StarsFeedbackRequest (var: _t)
message StarsFeedbackRequest {
string bubble_id = 1;
string message = 2;
}
// Copied from: local:aiserver.v1.StartBackgroundComposerFromSnapshotRequest (var: ca)
message StartBackgroundComposerFromSnapshotRequest {
// Copied from: local:aiserver.v1.StartBackgroundComposerFromSnapshotRequest.File (var: da)
message File {
string relative_workspace_path = 1;
string contents = 2;
}
// Copied from: local:aiserver.v1.StartBackgroundComposerFromSnapshotRequest.WebhookConfig (var: pa)
message WebhookConfig {
string url = 1;
optional string secret = 2;
}
string snapshot_name_or_id = 1;
DevcontainerStartingPoint devcontainer_starting_point = 11;
string prompt = 2;
string rich_prompt = 17;
repeated File files = 3;
ModelDetails model_details = 4;
repeated ModelDetails additional_model_details = 16;
repeated RequestedModel requested_models = 58;
HeadlessAgenticComposerRepositoryInfo repository_info = 5;
string snapshot_workspace_root_path = 6;
string start_for_auth_id_on_team = 8;
bool auto_branch = 9;
bool return_immediately = 10;
optional string force_vm_backend = 12;
optional string force_cluster = 15;
optional string force_machine_template = 29;
repeated ImageProto images = 13;
optional string repo_url = 14;
repeated ConversationMessage conversation_history = 18;
optional BackgroundComposerSource source = 23;
repeated string documentation_identifiers = 19;
optional bool use_web = 20;
repeated ComposerExternalLink external_links = 21;
string bc_id = 22;
optional string slack_channel_id = 24;
optional string slack_message_timestamp = 25;
optional string slack_team_id = 27;
optional string linear_issue_id = 28;
optional string github_issue_id = 40;
optional bool add_initial_message_to_responses = 26;
optional string linear_org_id = 30;
optional string linear_issue_identifier = 33;
optional ExternalSourceMetadata external_source_metadata = 94;
optional string base_branch = 31;
optional string custom_branch_name = 38;
optional string client_ip = 32;
optional string prompt_group_id = 34;
optional bool should_synthesize = 53;
optional string pod_id = 35;
optional bool wait_on_branch_name = 36;
optional bool auto_create_pr = 37;
optional WebhookConfig webhook_config = 39;
optional StartingMessageType starting_message_type = 41;
optional bool open_as_cursor_github_app = 42;
optional bool skip_reviewer_request = 43;
optional ConversationAction conversation_action = 44;
optional bool test_mode_enabled = 45;
optional bool skip_user_install_commands_and_cloud_testing = 60;
optional string agent_session_id = 46;
optional ConversationStateStructure conversation_state = 47;
repeated PreFetchedBlob pre_fetched_blobs = 48;
optional string kickoff_message_id = 49;
optional string name = 50;
optional bool enable_setup_vm_environment_tool = 51;
optional GrindModeConfig grind_mode_config = 52;
optional string automation_id = 73;
optional bool use_private_worker = 55;
repeated PrivateWorkerLabel labels = 59;
optional PrivateWorkerOwnerFilter private_worker_owner_filter = 97;
optional PrivateWorkspaceIdentifier private_workspace_identifier = 100;
optional AgentWorkspaceBinding workspace_binding = 110;
optional bool force_non_chargeable = 56;
optional string pr_url = 57;
optional CloudAgentEffortMode effort_mode = 75;
optional bool auto_proceed_after_planning = 76;
optional int64 time_budget_seconds = 77;
optional int64 time_budget_ms = 78;
optional bool init_empty_repo = 79;
repeated AgentSkill skills = 80;
optional string cloud_plugin_manifest_json = 81;
optional string cloud_plugin_snapshot_token = 82;
optional string mcp_config_json = 95;
repeated CustomSubagent custom_subagents = 96;
optional int32 team_id = 98;
optional CloudSubagentParentReference cloud_subagent_parent = 99;
repeated string requested_additional_store_ids = 101;
repeated AgentStoreMount store_mounts = 108;
optional bool is_slack_v2 = 104;
optional bool is_slack_v1_5 = 113;
optional string named_agent_id = 105;
optional string named_agent_session_key = 106;
optional string named_agent_session_kind = 107;
optional NamedAgentProfile named_agent_profile = 109;
map<string, string> run_env_vars = 111;
optional string selected_private_worker_id = 112;
optional bool use_experimental_model_opt_out = 114;
optional string forked_from_bc_id = 115;
optional string requested_environment_build_id = 116;
map<string, string> external_metadata = 117;
optional EnvironmentSetupRunStartedMetadata environment_setup_run_started_metadata = 118;
optional ProjectDetails project_details = 119;
}
// Copied from: local:aiserver.v1.StartBackgroundComposerFromSnapshotResponse (var: fa)
message StartBackgroundComposerFromSnapshotResponse {
BackgroundComposer composer = 1;
optional bool was_swapped_to_default = 2;
optional string initial_run_id = 3;
}
// Copied from: local:aiserver.v1.StartBugbotBackfillLearningRequest (var: tf)
message StartBugbotBackfillLearningRequest {
int64 installation_id = 1;
string repo_node_id = 2;
optional string ghe_application = 3;
optional bool skip_write_access_check = 4;
}
// Copied from: local:aiserver.v1.StartBugbotBackfillLearningResponse (var: nf)
message StartBugbotBackfillLearningResponse {
}
// Copied from: local:aiserver.v1.StartBulkMoveOrganizationMembersRequest (var: Dr)
message StartBulkMoveOrganizationMembersRequest {
string organization_id = 1;
repeated OrganizationMemberTeamMove moves = 2;
}
// Copied from: local:aiserver.v1.StartBulkMoveOrganizationMembersResponse (var: Or)
message StartBulkMoveOrganizationMembersResponse {
string job_handle = 1;
}
// Copied from: local:aiserver.v1.StartCloudAgentLoadTestRequest (var: np)
message StartCloudAgentLoadTestRequest {
string scenario_name = 1;
CloudAgentSyntheticsScenarioInput custom_scenario = 2;
string pool_id = 3;
uint32 count = 4;
uint32 per_identity_create_per_min = 5;
uint32 ramp_up_sec = 6;
string created_by = 7;
}
// Copied from: local:aiserver.v1.StartCloudAgentLoadTestResponse (var: rp)
message StartCloudAgentLoadTestResponse {
string temporal_workflow_id = 1;
string temporal_run_id = 2;
string load_test_run_id = 3;
}
// Copied from: local:aiserver.v1.StartGithubStreamingForFollowupRequest (var: El)
message StartGithubStreamingForFollowupRequest {
string bc_id = 1;
}
// Copied from: local:aiserver.v1.StartGithubStreamingForFollowupResponse (var: Sl)
message StartGithubStreamingForFollowupResponse {
}
// Copied from: local:aiserver.v1.StartLinearStreamingForFollowupRequest (var: Il)
message StartLinearStreamingForFollowupRequest {
string bc_id = 1;
}
// Copied from: local:aiserver.v1.StartLinearStreamingForFollowupResponse (var: vl)
message StartLinearStreamingForFollowupResponse {
}
// Copied from: agent.v1.StartPlanAction (var: ki)
message StartPlanAction {
UserMessage user_message = 1;
RequestContext request_context = 2;
bool is_spec = 3;
}
// Copied from: local:aiserver.v1.StartSlackStreamingForFollowupRequest (var: kl)
message StartSlackStreamingForFollowupRequest {
string bc_id = 1;
}
// Copied from: local:aiserver.v1.StartSlackStreamingForFollowupResponse (var: wl)
message StartSlackStreamingForFollowupResponse {
}
// Copied from: local:aiserver.v1.StartUpdateRepoRequest (var: Fe)
message StartUpdateRepoRequest {
RepositoryInfo repository = 1;
}
// Copied from: local:aiserver.v1.StartUpdateRepoResponse (var: qe)
message StartUpdateRepoResponse {
// Copied from: local:aiserver.v1.StartUpdateRepoResponse.Status (var: y)
enum Status {
STATUS_UNSPECIFIED = 0;
STATUS_SUCCESS = 1;
STATUS_FAILURE = 2;
STATUS_NOT_FOUND = 3;
STATUS_ALREADY_SYNCING = 4;
}
Status status = 1;
}
// Copied from: local:aiserver.v1.StartUploadRepoRequest (var: Ne)
message StartUploadRepoRequest {
RepositoryInfo repository = 1;
}
// Copied from: local:aiserver.v1.StartUploadRepoResponse (var: Re)
message StartUploadRepoResponse {
// Copied from: local:aiserver.v1.StartUploadRepoResponse.Status (var: A)
enum Status {
STATUS_UNSPECIFIED = 0;
STATUS_SUCCESS = 1;
STATUS_FAILURE = 2;
STATUS_ALREADY_EXISTS = 3;
}
Status status = 1;
repeated string seen_files = 2;
}
// Copied from: local:aiserver.v1.StartingMessageType (var: Er)
enum StartingMessageType {
STARTING_MESSAGE_TYPE_UNSPECIFIED = 0;
STARTING_MESSAGE_TYPE_USER_MESSAGE = 1;
STARTING_MESSAGE_TYPE_PLAN_START = 2;
STARTING_MESSAGE_TYPE_PLAN_EXECUTE = 3;
}
// Copied from: local:aiserver.v1.StartingModel (var: xt)
message StartingModel {
string relative_path = 1;
string starting_contents = 2;
optional int32 starting_model_version = 3;
repeated ModelChange before_start_model_changes = 4;
string client_version = 5;
optional string client_commit = 6;
string model_uuid = 7;
string session_id = 8;
string uri = 9;
}
// Copied from: local:aiserver.v1.Status (var: C)
message Status {
// Copied from: local:aiserver.v1.Status.StatusCode (var: a)
enum StatusCode {
STATUS_CODE_UNSPECIFIED = 0;
STATUS_CODE_OK = 1;
STATUS_CODE_ERROR = 2;
}
string message = 1;
StatusCode code = 2;
}
// Copied from: local:aiserver.v1.StatusUpdate (var: We)
message StatusUpdate {
string message = 1;
optional string metadata = 2;
}
// Copied from: local:aiserver.v1.StatusUpdates (var: ze)
message StatusUpdates {
repeated StatusUpdate updates = 1;
}
// Copied from: local:aiserver.v1.Step (var: ps)
message Step {
string id = 1;
string title = 2;
string description = 3;
string instructions = 4;
repeated string prerequisites = 5;
string sub_composer_id = 6;
}
// Copied from: agent.v1.StepCompletedUpdate (var: ba)
message StepCompletedUpdate {
uint64 step_id = 1;
int64 step_duration_ms = 2;
}
// Copied from: agent.v1.StepStartedUpdate (var: Pa)
message StepStartedUpdate {
uint64 step_id = 1;
}
// Copied from: agent.v1.StepTiming (var: $i)
message StepTiming {
uint64 duration_ms = 1;
uint64 timestamp_ms = 2;
}
// Copied from: local:aiserver.v1.StopHookContinuation (var: Rd)
message StopHookContinuation {
string base_run_id = 1;
int32 loop_count = 2;
}
// Copied from: agent.v1.StopRequestQuery (var: ml)
message StopRequestQuery {
string status = 1;
int32 loop_count = 2;
optional string conversation_id = 3;
optional string generation_id = 4;
optional string model = 5;
optional string model_id = 6;
repeated RequestedModel.ModelParameterValue model_params = 7;
optional int64 input_tokens = 8;
optional int64 output_tokens = 9;
optional int64 cache_read_tokens = 10;
optional int64 cache_write_tokens = 11;
}
// Copied from: agent.v1.StopRequestResponse (var: cl)
message StopRequestResponse {
optional string followup_message = 1;
}
// Copied from: local:aiserver.v1.StoreMcpOAuthPendingStateRequest (var: Ei)
message StoreMcpOAuthPendingStateRequest {
string server_url = 1;
string code_verifier = 2;
optional string client_id = 3;
optional string client_secret = 4;
optional string redirect_uri = 5;
optional string service_account_id = 6;
string account_key = 7;
}
// Copied from: local:aiserver.v1.StoreMcpOAuthPendingStateResponse (var: Si)
message StoreMcpOAuthPendingStateResponse {
string state_id = 1;
}
// Copied from: local:aiserver.v1.StoreMcpOAuthTokenRequest (var: Vo)
message StoreMcpOAuthTokenRequest {
string server_url = 1;
optional string refresh_token = 2;
optional string client_id = 3;
optional string client_secret = 4;
optional string redirect_uri = 5;
optional string access_token = 6;
optional string service_account_id = 7;
optional int64 client_token_created_at_ms = 8;
optional string source = 9;
string account_key = 10;
}
// Copied from: local:aiserver.v1.StoreMcpOAuthTokenResponse (var: Yo)
message StoreMcpOAuthTokenResponse {
optional int64 updated_at_ms = 1;
bool applied = 2;
bool skipped_because_backend_newer = 3;
}
// Copied from: local:aiserver.v1.StoredRequestTrackingMetadata (var: Te)
message StoredRequestTrackingMetadata {
// Copied from: local:aiserver.v1.StoredRequestTrackingMetadata.File (var: ye)
message File {
string fs_path = 1;
string file_uuid = 2;
RequestTrackingFileGitInfo git_info = 3;
bool too_big = 4;
}
string agent_request_id = 1;
repeated File request_files = 2;
repeated RequestTrackingFileGitInfo deduplicated_git_infos = 3;
int32 num_commits_tracked = 4;
double start_tracking_date_unix_milliseconds = 5;
double file_size_bytes = 6;
string workspace_id = 7;
}
// Copied from: local:aiserver.v1.StreamAiCursorHelpRequest (var: fo)
message StreamAiCursorHelpRequest {
repeated CursorHelpConversationMessage messages = 1;
string user_os = 2;
ModelDetails model_details = 3;
}
// Copied from: local:aiserver.v1.StreamAiCursorHelpResponse (var: go)
message StreamAiCursorHelpResponse {
string text = 1;
repeated string actions = 2;
}
// Copied from: local:aiserver.v1.StreamAiLintBugRequest (var: no)
message StreamAiLintBugRequest {
// Copied from: local:aiserver.v1.StreamAiLintBugRequest.CodeChunk (var: ro)
message CodeChunk {
string relative_workspace_path = 1;
int32 start_line_number = 2;
repeated string lines = 3;
repeated string context_lines_before = 4;
repeated string context_lines_after = 5;
}
// Copied from: local:aiserver.v1.StreamAiLintBugRequest.CodeChunkList (var: so)
message CodeChunkList {
repeated StreamAiLintBugRequest.CodeChunk chunks = 13;
repeated int32 referred_start_lines = 14;
repeated int32 referred_end_lines = 15;
}
// Copied from: local:aiserver.v1.StreamAiLintBugRequest.DiscriminatorOptions (var: oo)
message DiscriminatorOptions {
bool specific_rules = 1;
bool compile_errors = 2;
bool change_behavior = 3;
bool match_code = 4;
bool relevance = 5;
bool user_awareness = 6;
}
repeated CodeChunk chunks_to_analyze = 1;
ExplicitContext explicit_context = 4;
optional string workspace_root_path = 5;
ModelDetails model_details = 9;
repeated AiLintBug dismissed_bugs = 10;
repeated AiLintBug active_bugs = 11;
repeated AiLintRule lint_rules = 12;
repeated CodeChunkList clients = 14;
repeated LintDiscriminator force_enable_discriminators = 17;
repeated LintDiscriminator force_disable_discriminators = 18;
repeated LintGenerator force_enable_generators = 19;
repeated LintGenerator force_disable_generators = 20;
int32 version = 21;
optional DiscriminatorOptions discriminator_options = 15;
bool debug_mode = 16;
}
// Copied from: local:aiserver.v1.StreamAiLintBugResponse (var: io)
message StreamAiLintBugResponse {
oneof response {
AiLintBug bug = 1;
string background_task_uuid = 2;
}
}
// Copied from: local:aiserver.v1.StreamAiPreviewsIntent (var: d)
message StreamAiPreviewsIntent {
repeated DocumentSymbolWithText main_symbols_to_analyze_from_go_to_def = 1;
HoverDetails main_symbol_hover_details = 4;
repeated DocumentSymbolWithText related_symbols = 3;
repeated DocumentSymbolWithText main_symbols_to_analyze_from_implementations = 6;
}
// Copied from: local:aiserver.v1.StreamAiPreviewsRequest (var: p)
message StreamAiPreviewsRequest {
CurrentFileInfo current_file = 1;
StreamAiPreviewsIntent intent = 2;
ModelDetails model_details = 14;
optional bool is_detailed = 15;
}
// Copied from: local:aiserver.v1.StreamAiPreviewsResponse (var: f)
message StreamAiPreviewsResponse {
string text = 1;
}
// Copied from: local:aiserver.v1.StreamBackgroundComposerArtifactRequest (var: Vm)
message StreamBackgroundComposerArtifactRequest {
string bc_id = 1;
string absolute_path = 2;
}
// Copied from: local:aiserver.v1.StreamBackgroundComposerArtifactResponse (var: Ym)
message StreamBackgroundComposerArtifactResponse {
bytes content_chunk = 1;
string content_type = 2;
int64 total_size = 3;
}
// Copied from: local:aiserver.v1.StreamBugBotAgenticClientMessage (var: mt)
message StreamBugBotAgenticClientMessage {
oneof message {
StreamBugBotRequest start = 1;
ExecClientMessage exec_client_message = 2;
ExecClientControlMessage exec_client_control_message = 3;
}
}
// Copied from: local:aiserver.v1.StreamBugBotAgenticServerMessage (var: ct)
message StreamBugBotAgenticServerMessage {
oneof message {
StreamBugBotResponse bugbot_response = 1;
ExecServerMessage exec_server_message = 2;
ExecServerControlMessage exec_server_control_message = 3;
}
}
// Copied from: local:aiserver.v1.StreamBugBotLinterRequest (var: D)
message StreamBugBotLinterRequest {
GitDiff git_diff = 1;
string active_file = 2;
int32 cursor_line_number_one_indexed = 3;
optional string session_id = 4;
bool telem_enabled = 5;
}
// Copied from: local:aiserver.v1.StreamBugBotLinterResponse (var: O)
message StreamBugBotLinterResponse {
repeated BugReport bugs = 1;
}
// Copied from: local:aiserver.v1.StreamBugBotRequest (var: c)
message StreamBugBotRequest {
// Copied from: local:aiserver.v1.StreamBugBotRequest.Range (var: d)
message Range {
int32 start_line = 1;
int32 end_line_inclusive = 2;
}
GitDiff git_diff = 1;
repeated CodeBlock context_files = 13;
ModelDetails model_details = 2;
optional string user_instructions = 3;
optional string bug_detection_guidelines = 4;
optional int32 iterations = 5;
optional int32 unified_context_lines = 12;
bool in_background_subsidized = 6;
optional string session_id = 7;
optional string price_id = 8;
bool has_telemetry = 9;
optional string constrain_to_file = 10;
optional Range constrain_to_range = 11;
optional bool deep_review = 14;
}
// Copied from: local:aiserver.v1.StreamBugBotResponse (var: ut)
message StreamBugBotResponse {
optional BugReports bug_reports = 1;
BugBotStatus status = 2;
optional string summary = 3;
optional BugbotTrialNotification trial_notification = 4;
optional int32 num_turns = 5;
}
// Copied from: local:aiserver.v1.StreamBugFindingRequest (var: se)
message StreamBugFindingRequest {
// Copied from: local:aiserver.v1.StreamBugFindingRequest.FileDiff (var: oe)
message FileDiff {
// Copied from: local:aiserver.v1.StreamBugFindingRequest.FileDiff.Hunk (var: ie)
message Hunk {
int32 old_start_one_indexed = 1;
int32 new_start_one_indexed = 2;
repeated string old_lines = 3;
repeated string new_lines = 4;
}
// Copied from: local:aiserver.v1.StreamBugFindingRequest.FileDiff.Line (var: ae)
message Line {
int32 one_indexed_line_number = 1;
string line = 2;
}
string relative_workspace_path = 1;
repeated Line lines = 2;
repeated Hunk hunks = 3;
optional string old_relative_workspace_path = 4;
bool not_truncated = 5;
}
repeated FileDiff file_diffs = 1;
}
// Copied from: local:aiserver.v1.StreamBugFindingResponse (var: ne)
message StreamBugFindingResponse {
// Copied from: local:aiserver.v1.StreamBugFindingResponse.Bug (var: re)
message Bug {
string relative_workspace_path = 1;
int32 start_line = 2;
int32 end_line_inclusive = 3;
repeated string code_lines = 4;
double severity = 5;
double confidence = 6;
string description = 7;
}
repeated Bug bugs = 1;
}
// Copied from: local:aiserver.v1.StreamChatContextRequest (var: Fr)
message StreamChatContextRequest {
// Copied from: local:aiserver.v1.StreamChatContextRequest.CodeContext (var: qr)
message CodeContext {
repeated CodeBlock chunks = 1;
repeated CodeResult scored_chunks = 2;
}
CurrentFileInfo current_file = 1;
repeated ConversationMessage conversation = 2;
repeated RepositoryInfo repositories = 3;
ExplicitContext explicit_context = 4;
optional string workspace_root_path = 5;
repeated CodeBlock code_blocks = 6;
ModelDetails model_details = 7;
repeated string documentation_identifiers = 8;
string query = 9;
CodeContext code_context = 10;
bool rerank_results = 11;
LinterErrors linter_errors = 14;
optional bool is_bash = 15;
bool rerank_results_v2 = 16;
string conversation_id = 17;
bool can_handle_filenames_after_language_ids = 18;
bool long_context_mode = 19;
bool is_eval = 20;
string request_id = 21;
optional int32 desired_max_tokens = 22;
optional bool runnable_code_blocks = 23;
oneof context_results {
FullFileSearchResult file_search_results = 12;
CodeSearchResult code_search_results = 13;
}
}
// Copied from: local:aiserver.v1.StreamChatContextResponse (var: Dr)
message StreamChatContextResponse {
// Copied from: local:aiserver.v1.StreamChatContextResponse.ChunkIdentity (var: xr)
message ChunkIdentity {
string file_name = 1;
int32 start_line = 2;
int32 end_line = 3;
string text = 4;
ChunkType chunk_type = 5;
}
// Copied from: local:aiserver.v1.StreamChatContextResponse.CodeLink (var: Ur)
message CodeLink {
string relative_workspace_path = 1;
int32 start_line_number = 2;
int32 end_line_number = 3;
}
// Copied from: local:aiserver.v1.StreamChatContextResponse.UsedCode (var: Or)
message UsedCode {
repeated CodeResult code_results = 1;
}
string text = 1;
optional string debugging_only_chat_prompt = 2;
optional int32 debugging_only_token_count = 3;
DocumentationCitation document_citation = 4;
optional string filled_prompt = 5;
UsedCode used_code = 6;
CodeLink code_link = 7;
optional ChunkIdentity chunk_identity = 8;
optional DocsReference docs_reference = 9;
optional SymbolLink symbol_link = 10;
optional FileLink file_link = 11;
}
// Copied from: local:aiserver.v1.StreamChatDeepContextRequest (var: Qr)
message StreamChatDeepContextRequest {
repeated ConversationMessage conversation = 1;
ExplicitContext explicit_context = 2;
ModelDetails model_details = 3;
SearchRepositoryDeepContextResponse context_results = 4;
bool rerank_results = 5;
}
// Copied from: local:aiserver.v1.StreamChatDeepContextResponse (var: Gr)
message StreamChatDeepContextResponse {
string text = 1;
}
// Copied from: local:aiserver.v1.StreamChatResponse (var: pi)
message StreamChatResponse {
// Copied from: local:aiserver.v1.StreamChatResponse.ChunkIdentity (var: gi)
message ChunkIdentity {
string file_name = 1;
int32 start_line = 2;
int32 end_line = 3;
string text = 4;
ChunkType chunk_type = 5;
}
// Copied from: local:aiserver.v1.StreamChatResponse.UsedCode (var: fi)
message UsedCode {
repeated CodeResult code_results = 1;
}
string text = 1;
optional string server_bubble_id = 22;
optional string debugging_only_chat_prompt = 2;
optional int32 debugging_only_token_count = 3;
DocumentationCitation document_citation = 4;
optional string filled_prompt = 5;
optional bool is_big_file = 6;
optional string intermediate_text = 7;
optional bool is_using_slow_request = 10;
optional ChunkIdentity chunk_identity = 8;
optional DocsReference docs_reference = 9;
optional WebCitation web_citation = 11;
optional StatusUpdates status_updates = 12;
optional ServerTimingInfo timing_info = 13;
optional SymbolLink symbol_link = 14;
optional FileLink file_link = 15;
optional ConversationSummary conversation_summary = 16;
optional ServiceStatusUpdate service_status_update = 17;
optional UsedCode used_code = 18;
optional bool stop_using_dsv3_agentic_model = 26;
optional string usage_uuid = 27;
}
// Copied from: local:aiserver.v1.StreamChatToolformerContinueRequest (var: Fi)
message StreamChatToolformerContinueRequest {
string toolformer_session_id = 1;
ToolResult tool_result = 2;
}
// Copied from: local:aiserver.v1.StreamChatToolformerResponse (var: qi)
message StreamChatToolformerResponse {
// Copied from: local:aiserver.v1.StreamChatToolformerResponse.Output (var: Di)
message Output {
string text = 1;
}
// Copied from: local:aiserver.v1.StreamChatToolformerResponse.Thought (var: Oi)
message Thought {
string text = 1;
}
// Copied from: local:aiserver.v1.StreamChatToolformerResponse.ToolAction (var: Ui)
message ToolAction {
string user_facing_text = 1;
string raw_model_output = 3;
ToolCall tool_call = 2;
bool more_to_come = 4;
}
optional string toolformer_session_id = 1;
oneof response_type {
Output output = 2;
ToolAction tool_action = 3;
Thought thought = 4;
}
}
// Copied from: local:aiserver.v1.StreamCmdKRequest (var: A)
message StreamCmdKRequest {
// Copied from: local:aiserver.v1.StreamCmdKRequest.BranchDiff (var: _)
message BranchDiff {
// Copied from: local:aiserver.v1.StreamCmdKRequest.BranchDiff.FileDiff (var: T)
message FileDiff {
string file_name = 1;
string diff = 2;
bool too_big = 3;
}
repeated FileDiff file_diffs = 1;
repeated Commit commits = 2;
}
repeated PotentiallyCachedContextItem context_items = 1;
CmdKOptions cmd_k_options = 2;
CmdKDebugInfo cmd_k_debug_info = 4;
string session_id = 6;
CmdKLegacyContext legacy_context = 5;
optional CmdKPreviousEdit previous_edit = 7;
repeated CmdKPreviousEdit previous_edits = 8;
repeated CmdKUpcomingEdit upcoming_edits = 12;
optional bool use_big_cmdk_for_multi_file_edit = 9;
repeated ImageProto images = 10;
repeated CmdKExternalLink links = 11;
repeated CppFileDiffHistory diff_history = 13;
optional BranchDiff diff_to_base_branch = 14;
optional TimingInfo timing_info = 15;
repeated CursorRule rules = 16;
}
// Copied from: local:aiserver.v1.StreamCmdKResponse (var: C)
message StreamCmdKResponse {
// Copied from: local:aiserver.v1.StreamCmdKResponse.Chat (var: b)
message Chat {
string text = 1;
}
// Copied from: local:aiserver.v1.StreamCmdKResponse.EditEnd (var: P)
message EditEnd {
int32 end_line_number_exclusive = 1;
int32 edit_id = 2;
optional string file_path = 3;
}
// Copied from: local:aiserver.v1.StreamCmdKResponse.EditStart (var: N)
message EditStart {
int32 start_line_number = 1;
int32 edit_id = 2;
optional int32 max_end_line_number_exclusive = 3;
optional string file_path = 4;
}
// Copied from: local:aiserver.v1.StreamCmdKResponse.EditStream (var: R)
message EditStream {
string text = 1;
int32 edit_id = 2;
optional string file_path = 3;
}
// Copied from: local:aiserver.v1.StreamCmdKResponse.StatusUpdate (var: M)
message StatusUpdate {
repeated string messages = 1;
}
oneof response {
EditStart edit_start = 1;
EditStream edit_stream = 2;
EditEnd edit_end = 3;
Chat chat = 4;
StatusUpdate status_update = 5;
}
}
// Copied from: local:aiserver.v1.StreamCmdKResponseContextWrapped (var: E)
message StreamCmdKResponseContextWrapped {
oneof response {
StreamCmdKResponse real_response = 1;
ContextStatusUpdate context_status_update = 2;
MissingContextItems missing_context_items = 3;
}
}
// Copied from: local:aiserver.v1.StreamCodeTourRequest (var: K)
message StreamCodeTourRequest {
// Copied from: local:aiserver.v1.StreamCodeTourRequest.PromptConstructionMode (var: s)
enum PromptConstructionMode {
PROMPT_CONSTRUCTION_MODE_UNSPECIFIED = 0;
PROMPT_CONSTRUCTION_MODE_SERVER_COMPACT = 1;
PROMPT_CONSTRUCTION_MODE_CLIENT_RAW = 2;
}
// Copied from: local:aiserver.v1.StreamCodeTourRequest.PullRequestReference (var: W)
message PullRequestReference {
string provider = 1;
string owner = 2;
string repository = 3;
int64 pull_request_number = 4;
optional string title = 5;
optional string body = 6;
optional string base_branch = 7;
optional string base_sha = 8;
optional string head_sha = 9;
}
PullRequestReference pull_request = 1;
GitDiff diff = 2;
optional string user_prompt = 3;
optional string idempotency_key = 4;
optional int32 max_steps = 5;
optional string model_id = 6;
repeated string commit_hashes = 7;
optional string system_prompt = 8;
optional bool diff_references_only = 9;
optional PromptConstructionMode prompt_construction_mode = 10;
optional string raw_user_prompt = 11;
}
// Copied from: local:aiserver.v1.StreamCodeTourResponse (var: z)
message StreamCodeTourResponse {
// Copied from: local:aiserver.v1.StreamCodeTourResponse.Blame (var: te)
message Blame {
repeated CommitMetrics commits = 1;
repeated ConversationReference conversations = 2;
}
// Copied from: local:aiserver.v1.StreamCodeTourResponse.DoneEvent (var: X)
message DoneEvent {
CodeTourDoneReason reason = 1;
}
// Copied from: local:aiserver.v1.StreamCodeTourResponse.ErrorEvent (var: Z)
message ErrorEvent {
string message = 1;
CodeTourDoneReason reason = 2;
}
// Copied from: local:aiserver.v1.StreamCodeTourResponse.MarkdownDeltaEvent (var: $)
message MarkdownDeltaEvent {
string markdown_delta = 1;
}
// Copied from: local:aiserver.v1.StreamCodeTourResponse.StatusEvent (var: j)
message StatusEvent {
// Copied from: local:aiserver.v1.StreamCodeTourResponse.StatusEvent.Status (var: o)
enum Status {
STATUS_UNSPECIFIED = 0;
STATUS_STARTED = 1;
STATUS_PROCESSING = 2;
}
Status status = 1;
optional string message = 2;
}
// Copied from: local:aiserver.v1.StreamCodeTourResponse.ThinkingDeltaEvent (var: ee)
message ThinkingDeltaEvent {
string thinking_delta = 1;
}
optional string request_id = 4;
optional string conversation_id = 5;
optional Blame blame = 6;
oneof event {
StatusEvent status = 1;
DoneEvent done = 2;
ErrorEvent error = 3;
MarkdownDeltaEvent markdown_delta = 7;
ThinkingDeltaEvent thinking_delta = 8;
}
}
// Copied from: local:aiserver.v1.StreamComposerContextRequest (var: Uo)
message StreamComposerContextRequest {
// Copied from: local:aiserver.v1.StreamComposerContextRequest.CodeContext (var: xo)
message CodeContext {
repeated CodeBlock chunks = 1;
repeated CodeResult scored_chunks = 2;
}
CurrentFileInfo current_file = 1;
repeated ConversationMessage conversation = 2;
repeated RepositoryInfo repositories = 3;
ExplicitContext explicit_context = 4;
optional string workspace_root_path = 5;
repeated CodeBlock code_blocks = 6;
ModelDetails model_details = 7;
repeated string documentation_identifiers = 8;
string query = 9;
CodeContext code_context = 10;
bool rerank_results = 11;
LinterErrors linter_errors = 14;
optional bool is_bash = 15;
bool rerank_results_v2 = 16;
string conversation_id = 17;
bool can_handle_filenames_after_language_ids = 18;
bool long_context_mode = 19;
bool is_eval = 20;
string request_id = 21;
optional int32 desired_max_tokens = 22;
optional bool runnable_code_blocks = 23;
oneof context_results {
FullFileSearchResult file_search_results = 12;
CodeSearchResult code_search_results = 13;
}
}
// Copied from: local:aiserver.v1.StreamConversationRequest (var: wa)
message StreamConversationRequest {
string bc_id = 1;
optional string offset_key = 2;
optional bool filter_heavy_step_data = 3;
bool should_send_prefetched_blobs_first = 4;
repeated bytes pre_fetched_blob_ids = 5;
optional bool prefetch_only_last_step_per_turn = 6;
optional bool send_stream_signal_after_prefetch = 7;
optional uint32 max_blobs_after_prefetch = 8;
optional bool allow_streaming_when_terminal_status = 9;
optional PreFetchedBlobFilter pre_fetched_blob_filter = 10;
}
// Copied from: local:aiserver.v1.StreamConversationResponse (var: Ja)
message StreamConversationResponse {
// Copied from: local:aiserver.v1.StreamConversationResponse.CloudAgentStateWithIdAndOffset (var: Ra)
message CloudAgentStateWithIdAndOffset {
string offset_key = 1;
bytes blob_id = 2;
CloudAgentState cloud_agent_state = 3;
repeated PreFetchedBlob pre_fetched_blobs = 4;
repeated UserDisplayInfo user_display_infos = 5;
}
// Copied from: local:aiserver.v1.StreamConversationResponse.DevBannerMessage (var: Fa)
message DevBannerMessage {
string text = 1;
}
// Copied from: local:aiserver.v1.StreamConversationResponse.InitialState (var: Na)
message InitialState {
bytes blob_id = 1;
CloudAgentState cloud_agent_state = 2;
repeated PreFetchedBlob pre_fetched_blobs = 4;
CloudAgentWorkflowStatus workflow_status = 5;
repeated UserDisplayInfo user_display_infos = 6;
}
// Copied from: local:aiserver.v1.StreamConversationResponse.InteractionQueryWithOffset (var: ba)
message InteractionQueryWithOffset {
string offset_key = 1;
InteractionQuery interaction_query = 2;
}
// Copied from: local:aiserver.v1.StreamConversationResponse.InteractionUpdateWithOffset (var: Pa)
message InteractionUpdateWithOffset {
string offset_key = 1;
InteractionUpdate interaction_update = 2;
repeated UserDisplayInfo user_display_infos = 3;
}
// Copied from: local:aiserver.v1.StreamConversationResponse.PrefetchedBlobs (var: Ca)
message PrefetchedBlobs {
repeated PreFetchedBlob pre_fetched_blobs = 1;
}
// Copied from: local:aiserver.v1.StreamConversationResponse.ReadOnlySharedPodLifecycleEventWithOffset (var: Da)
message ReadOnlySharedPodLifecycleEventWithOffset {
string offset_key = 1;
ReadOnlySharedPodLifecycleEvent read_only_shared_pod_lifecycle_event = 2;
}
// Copied from: local:aiserver.v1.StreamConversationResponse.StreamSignal (var: Qr)
enum StreamSignal {
STREAM_SIGNAL_UNSPECIFIED = 0;
STREAM_SIGNAL_END_OF_INITIAL_STATE_PREFETCH = 1;
}
// Copied from: local:aiserver.v1.StreamConversationResponse.TransientErrorWithOffset (var: La)
message TransientErrorWithOffset {
string offset_key = 1;
TransientError transient_error = 2;
}
// Copied from: local:aiserver.v1.StreamConversationResponse.WorkerLifecycleEventWithOffset (var: qa)
message WorkerLifecycleEventWithOffset {
string offset_key = 1;
WorkerLifecycleEvent worker_lifecycle_event = 2;
}
// Copied from: local:aiserver.v1.StreamConversationResponse.WorkflowStatusWithOffset (var: Ma)
message WorkflowStatusWithOffset {
string offset_key = 1;
CloudAgentWorkflowStatus workflow_status = 2;
}
oneof message {
InitialState initial_state = 3;
InteractionUpdateWithOffset interaction_update_with_offset = 4;
CloudAgentStateWithIdAndOffset cloud_agent_state_with_id_and_offset = 5;
WorkflowStatusWithOffset workflow_status_with_offset = 6;
PrefetchedBlobs prefetched_blobs = 7;
StreamSignal stream_signal = 8;
TransientErrorWithOffset transient_error_with_offset = 9;
DevBannerMessage dev_banner_message = 10;
WorkerLifecycleEventWithOffset worker_lifecycle_event_with_offset = 11;
InteractionQueryWithOffset interaction_query_with_offset = 12;
ReadOnlySharedPodLifecycleEventWithOffset read_only_shared_pod_lifecycle_event_with_offset = 13;
}
}
// Copied from: local:aiserver.v1.StreamCppRequest (var: R)
message StreamCppRequest {
// Copied from: local:aiserver.v1.StreamCppRequest.ControlToken (var: o)
enum ControlToken {
CONTROL_TOKEN_UNSPECIFIED = 0;
CONTROL_TOKEN_QUIET = 1;
CONTROL_TOKEN_LOUD = 2;
CONTROL_TOKEN_OP = 3;
}
CurrentFileInfo current_file = 1;
repeated string diff_history = 2;
optional string model_name = 3;
optional LinterErrors linter_errors = 4;
repeated CppContextItem context_items = 13;
repeated string diff_history_keys = 5;
optional bool give_debug_output = 6;
repeated CppFileDiffHistory file_diff_histories = 7;
repeated CppFileDiffHistory merged_diff_histories = 8;
repeated BlockDiffPatch block_diff_patches = 9;
optional bool is_nightly = 10;
optional bool is_debug = 11;
optional bool immediately_ack = 12;
optional bool enable_more_context = 17;
repeated CppParameterHint parameter_hints = 14;
repeated LspSubgraphFullContext lsp_contexts = 15;
optional CppIntentInfo cpp_intent_info = 16;
optional string workspace_id = 18;
repeated AdditionalFile additional_files = 19;
optional ControlToken control_token = 20;
optional double client_time = 21;
repeated FilesyncUpdateWithModelVersion filesync_updates = 22;
double time_since_request_start = 23;
double time_at_request_send = 24;
optional double client_timezone_offset = 25;
optional LspSuggestedItems lsp_suggested_items = 26;
optional bool supports_cpt = 27;
optional bool supports_crlf_cpt = 28;
repeated CodeResult code_results = 29;
}
// Copied from: local:aiserver.v1.StreamCppResponse (var: P)
message StreamCppResponse {
// Copied from: local:aiserver.v1.StreamCppResponse.CursorPredictionTarget (var: b)
message CursorPredictionTarget {
string relative_path = 1;
int32 line_number_one_indexed = 2;
string expected_content = 3;
bool should_retrigger_cpp = 4;
}
// Copied from: local:aiserver.v1.StreamCppResponse.ModelInfo (var: M)
message ModelInfo {
bool is_fused_cursor_prediction_model = 1;
bool is_multidiff_model = 2;
}
string text = 1;
optional int32 suggestion_start_line = 2;
optional int32 suggestion_confidence = 3;
optional bool done_stream = 4;
optional string debug_model_output = 5;
optional string debug_model_input = 6;
optional string debug_stream_time = 7;
optional string debug_total_time = 8;
optional string debug_ttft_time = 9;
optional string debug_server_timing = 10;
optional LineRange range_to_replace = 11;
optional CursorPredictionTarget cursor_prediction_target = 12;
optional bool done_edit = 13;
optional ModelInfo model_info = 14;
optional bool begin_edit = 15;
optional bool should_remove_leading_eol = 16;
optional string binding_id = 17;
}
// Copied from: local:aiserver.v1.StreamCursorTutorRequest (var: cr)
message StreamCursorTutorRequest {
repeated ConversationMessage conversation = 1;
ModelDetails model_details = 2;
}
// Copied from: local:aiserver.v1.StreamCursorTutorResponse (var: dr)
message StreamCursorTutorResponse {
string text = 1;
}
// Copied from: local:aiserver.v1.StreamDiffReviewByFileResponse (var: Tl)
message StreamDiffReviewByFileResponse {
oneof response {
string text = 1;
SemanticFileGroups groups = 2;
}
}
// Copied from: local:aiserver.v1.StreamDiffReviewResponse (var: gl)
message StreamDiffReviewResponse {
oneof response {
string text = 1;
SemanticDiffGroups groups = 2;
}
}
// Copied from: local:aiserver.v1.StreamEditRequest (var: $s)
message StreamEditRequest {
CurrentFileInfo current_file = 1;
repeated ConversationMessage conversation = 2;
repeated RepositoryInfo repositories = 3;
ExplicitContext explicit_context = 4;
optional string workspace_root_path = 5;
string query = 6;
repeated CodeBlock code_blocks = 7;
ModelDetails model_details = 9;
repeated string documentation_identifiers = 10;
LinterErrors linter_errors = 11;
repeated CodeBlock prompt_code_blocks = 12;
string session_id = 14;
CmdKDebugInfo cmd_k_debug_info = 13;
bool fast_mode = 15;
StreamEditRequest original_request = 16;
repeated ImageProto images = 17;
repeated CmdKExternalLink links = 18;
repeated CursorRule rules = 19;
}
// Copied from: local:aiserver.v1.StreamFastEditRequest (var: Xs)
message StreamFastEditRequest {
CurrentFileInfo current_file = 1;
repeated RepositoryInfo repositories = 3;
ExplicitContext explicit_context = 4;
optional string workspace_root_path = 5;
string query = 6;
repeated CodeBlock code_blocks = 7;
ModelDetails model_details = 9;
repeated string documentation_identifiers = 10;
LinterErrors linter_errors = 11;
}
// Copied from: local:aiserver.v1.StreamFastEditResponse (var: Zs)
message StreamFastEditResponse {
int32 line_number = 2;
int32 replace_num_lines = 3;
string edit_uuid = 5;
optional bool done = 4;
optional string new_line = 6;
bool reset_new_lines = 7;
}
// Copied from: local:aiserver.v1.StreamGenerateRequest (var: qs)
message StreamGenerateRequest {
CurrentFileInfo current_file = 1;
repeated ConversationMessage conversation = 2;
repeated RepositoryInfo repositories = 3;
ExplicitContext explicit_context = 4;
optional string workspace_root_path = 5;
string query = 6;
repeated CodeBlock code_blocks = 7;
ModelDetails model_details = 9;
repeated string documentation_identifiers = 10;
LinterErrors linter_errors = 11;
repeated CodeBlock prompt_code_blocks = 12;
string session_id = 14;
CmdKDebugInfo cmd_k_debug_info = 13;
bool fast_mode = 15;
StreamGenerateRequest original_request = 16;
}
// Copied from: local:aiserver.v1.StreamGetRelevantChunksResponseContextWrapped (var: F)
message StreamGetRelevantChunksResponseContextWrapped {
oneof response {
GetRelevantChunksResponse real_response = 1;
}
}
// Copied from: local:aiserver.v1.StreamHoldCppRequest (var: X)
message StreamHoldCppRequest {
CurrentFileInfo current_file = 1;
optional LinterErrors linter_errors = 4;
repeated CppContextItem context_items = 13;
repeated CppFileDiffHistory file_diff_histories = 7;
repeated CppFileDiffHistory merged_diff_histories = 8;
repeated BlockDiffPatch block_diff_patches = 9;
ModelDetails model_details = 10;
}
// Copied from: local:aiserver.v1.StreamHoldCppResponse (var: Z)
message StreamHoldCppResponse {
string text = 1;
}
// Copied from: local:aiserver.v1.StreamHypermodeRequest (var: h)
message StreamHypermodeRequest {
repeated PotentiallyCachedContextItem context_items = 1;
CmdKOptions cmd_k_options = 2;
CmdKDebugInfo cmd_k_debug_info = 4;
string session_id = 6;
CmdKLegacyContext legacy_context = 5;
optional CmdKPreviousEdit previous_edit = 7;
repeated CmdKPreviousEdit previous_edits = 8;
repeated CmdKUpcomingEdit upcoming_edits = 12;
optional bool use_big_cmdk_for_multi_file_edit = 9;
repeated ImageProto images = 10;
repeated CmdKExternalLink links = 11;
repeated CppFileDiffHistory diff_history = 13;
optional string hyper_model = 14;
optional TimingInfo timing_info = 15;
}
// Copied from: local:aiserver.v1.StreamInlineLongCompletionRequest (var: m)
message StreamInlineLongCompletionRequest {
// Copied from: local:aiserver.v1.StreamInlineLongCompletionRequest.ContextBlock (var: c)
message ContextBlock {
// Copied from: local:aiserver.v1.StreamInlineLongCompletionRequest.ContextBlock.ContextType (var: r)
enum ContextType {
CONTEXT_TYPE_UNSPECIFIED = 0;
CONTEXT_TYPE_RECENT_LOCATIONS = 1;
}
ContextType context_type = 1;
repeated CodeBlock blocks = 2;
}
CurrentFileInfo current_file = 1;
repeated RepositoryInfo repositories = 6;
repeated ContextBlock context_blocks = 7;
ExplicitContext explicit_context = 13;
ModelDetails model_details = 14;
LinterErrors linter_errors = 15;
}
// Copied from: local:aiserver.v1.StreamInterfaceAgentStatusRequest (var: $i)
message StreamInterfaceAgentStatusRequest {
string task_uuid = 1;
}
// Copied from: local:aiserver.v1.StreamInterfaceAgentStatusResponse (var: ea)
message StreamInterfaceAgentStatusResponse {
InterfaceAgentStatus status = 1;
}
// Copied from: local:aiserver.v1.StreamLintRequest (var: Ga)
message StreamLintRequest {
CurrentFileInfo current_file = 1;
repeated ConversationMessage conversation = 2;
repeated RepositoryInfo repositories = 3;
ExplicitContext explicit_context = 4;
optional string workspace_root_path = 5;
string query = 6;
repeated CodeBlock code_blocks = 7;
ModelDetails model_details = 9;
repeated string documentation_identifiers = 10;
repeated string bad_notifications = 11;
string lint_rules = 12;
}
// Copied from: local:aiserver.v1.StreamNewRuleRequest (var: co)
message StreamNewRuleRequest {
string current_rules = 1;
string dismissed_bug = 2;
}
// Copied from: local:aiserver.v1.StreamNextCursorPredictionRequest (var: Tn)
message StreamNextCursorPredictionRequest {
// Copied from: local:aiserver.v1.StreamNextCursorPredictionRequest.FileVisibleRange (var: kn)
message FileVisibleRange {
string filename = 1;
repeated StreamNextCursorPredictionRequest.VisibleRange visible_ranges = 2;
}
// Copied from: local:aiserver.v1.StreamNextCursorPredictionRequest.VisibleRange (var: yn)
message VisibleRange {
int32 start_line_number_inclusive = 1;
int32 end_line_number_exclusive = 2;
}
CurrentFileInfo current_file = 1;
repeated string diff_history = 2;
optional string model_name = 3;
optional LinterErrors linter_errors = 4;
repeated CppContextItem context_items = 13;
repeated string diff_history_keys = 5;
optional bool give_debug_output = 6;
repeated CppFileDiffHistory file_diff_histories = 7;
repeated CppFileDiffHistory merged_diff_histories = 8;
repeated BlockDiffPatch block_diff_patches = 9;
optional bool is_nightly = 10;
optional bool is_debug = 11;
optional bool immediately_ack = 12;
optional bool enable_more_context = 17;
repeated CppParameterHint parameter_hints = 14;
repeated LspSubgraphFullContext lsp_contexts = 15;
optional CppIntentInfo cpp_intent_info = 16;
optional string workspace_id = 18;
repeated FilesyncUpdateWithModelVersion file_sync_updates = 19;
repeated FileVisibleRange file_visible_ranges = 20;
}
// Copied from: local:aiserver.v1.StreamNextCursorPredictionResponse (var: wn)
message StreamNextCursorPredictionResponse {
oneof response {
string text = 1;
int32 line_number = 2;
bool is_not_in_range = 3;
string file_name = 4;
}
}
// Copied from: local:aiserver.v1.StreamPriomptPromptRequest (var: On)
message StreamPriomptPromptRequest {
string prompt_props = 2;
string prompt_props_type_name = 3;
bool skip_login_check = 5;
ModelDetails model_details = 4;
}
// Copied from: local:aiserver.v1.StreamPriomptPromptResponse (var: Un)
message StreamPriomptPromptResponse {
string text = 1;
}
// Copied from: local:aiserver.v1.StreamPseudocodeGeneratorRequest (var: _o)
message StreamPseudocodeGeneratorRequest {
CurrentFileInfo current_file = 1;
PseudocodeTarget target = 2;
}
// Copied from: local:aiserver.v1.StreamPseudocodeGeneratorResponse (var: To)
message StreamPseudocodeGeneratorResponse {
string text = 1;
}
// Copied from: local:aiserver.v1.StreamPseudocodeMapperRequest (var: yo)
message StreamPseudocodeMapperRequest {
PseudocodeTarget target = 2;
string pseudocode = 1;
}
// Copied from: local:aiserver.v1.StreamPseudocodeMapperResponse (var: ko)
message StreamPseudocodeMapperResponse {
string text = 1;
}
// Copied from: local:aiserver.v1.StreamReplayChatRequest (var: Je)
message StreamReplayChatRequest {
string request_id = 1;
optional double tokens_per_second = 3;
}
// Copied from: local:aiserver.v1.StreamSlashEditFollowUpWithPreviousEditsResponse (var: Ws)
message StreamSlashEditFollowUpWithPreviousEditsResponse {
// Copied from: local:aiserver.v1.StreamSlashEditFollowUpWithPreviousEditsResponse.Chat (var: zs)
message Chat {
string text = 1;
}
// Copied from: local:aiserver.v1.StreamSlashEditFollowUpWithPreviousEditsResponse.EditsToUpdate (var: js)
message EditsToUpdate {
repeated SlashEditPreviousEdit previous_edits = 1;
}
oneof response {
Chat chat = 1;
EditsToUpdate edits_to_update = 2;
}
}
// Copied from: local:aiserver.v1.StreamStart (var: Re)
message StreamStart {
string padding = 1;
}
// Copied from: local:aiserver.v1.StreamTerminalAutocompleteRequest (var: ho)
message StreamTerminalAutocompleteRequest {
string current_command = 1;
repeated string command_history = 2;
optional string model_name = 3;
repeated CppFileDiffHistory file_diff_histories = 4;
optional string git_diff = 5;
repeated string commit_history = 6;
repeated string past_results = 7;
}
// Copied from: local:aiserver.v1.StreamTerminalAutocompleteResponse (var: wo)
message StreamTerminalAutocompleteResponse {
string text = 1;
optional bool done_stream = 2;
}
// Copied from: local:aiserver.v1.StreamTerminalCmdKRequest (var: k)
message StreamTerminalCmdKRequest {
repeated PotentiallyCachedContextItem context_items = 1;
TerminalCmdKOptions cmd_k_options = 2;
string session_id = 6;
CmdKLegacyContext legacy_context = 5;
}
// Copied from: local:aiserver.v1.StreamTerminalCmdKResponse (var: I)
message StreamTerminalCmdKResponse {
// Copied from: local:aiserver.v1.StreamTerminalCmdKResponse.Chat (var: B)
message Chat {
string text = 1;
}
// Copied from: local:aiserver.v1.StreamTerminalCmdKResponse.StatusUpdate (var: J)
message StatusUpdate {
repeated string messages = 1;
}
// Copied from: local:aiserver.v1.StreamTerminalCmdKResponse.TerminalCommand (var: v)
message TerminalCommand {
string partial_command = 1;
}
oneof response {
TerminalCommand terminal_command = 1;
Chat chat = 4;
StatusUpdate status_update = 5;
}
}
// Copied from: local:aiserver.v1.StreamTerminalCmdKResponseContextWrapped (var: S)
message StreamTerminalCmdKResponseContextWrapped {
oneof response {
StreamTerminalCmdKResponse real_response = 1;
ContextStatusUpdate context_status_update = 2;
MissingContextItems missing_context_items = 3;
}
}
// Copied from: local:aiserver.v1.StreamUiBestOfNJudgeClientMessage (var: gt)
message StreamUiBestOfNJudgeClientMessage {
oneof message {
StreamUiBestOfNJudgeStartRequest start = 1;
ExecClientMessage exec_client_message = 2;
ExecClientControlMessage exec_client_control_message = 3;
}
}
// Copied from: local:aiserver.v1.StreamUiBestOfNJudgeServerMessage (var: ht)
message StreamUiBestOfNJudgeServerMessage {
oneof message {
UiBestOfNJudgeFinalResult final_result = 1;
ExecServerMessage exec_server_message = 2;
ExecServerControlMessage exec_server_control_message = 3;
}
}
// Copied from: local:aiserver.v1.StreamUiBestOfNJudgeStartRequest (var: pt)
message StreamUiBestOfNJudgeStartRequest {
string task = 1;
repeated UiBestOfNJudgeCandidate candidates = 2;
}
// Copied from: local:aiserver.v1.StreamUnifiedChatRequest (var: nt)
message StreamUnifiedChatRequest {
// Copied from: local:aiserver.v1.StreamUnifiedChatRequest.CodeSearchResult (var: at)
message CodeSearchResult {
repeated CodeResult results = 1;
repeated File all_files = 2;
}
// Copied from: local:aiserver.v1.StreamUnifiedChatRequest.CurrentPlan (var: ut)
message CurrentPlan {
string content = 1;
string name = 2;
}
// Copied from: local:aiserver.v1.StreamUnifiedChatRequest.FullFileCmdKOptions (var: lt)
message FullFileCmdKOptions {
string file_path = 1;
}
// Copied from: local:aiserver.v1.StreamUnifiedChatRequest.RecentEdits (var: st)
message RecentEdits {
// Copied from: local:aiserver.v1.StreamUnifiedChatRequest.RecentEdits.CodeBlockInfo (var: ot)
message CodeBlockInfo {
string relative_workspace_path = 1;
optional string content_before = 2;
optional string content_after = 3;
optional string generation_uuid = 4;
optional int32 version = 5;
}
// Copied from: local:aiserver.v1.StreamUnifiedChatRequest.RecentEdits.FileInfo (var: it)
message FileInfo {
string relative_workspace_path = 1;
string content = 2;
}
repeated CodeBlockInfo code_block_info = 1;
repeated FileInfo final_file_values = 2;
optional string edits_belong_to_composer_generation_uuid = 3;
}
// Copied from: local:aiserver.v1.StreamUnifiedChatRequest.RedDiff (var: rt)
message RedDiff {
string relative_workspace_path = 1;
repeated SimplestRange red_ranges = 2;
repeated SimplestRange red_ranges_reversed = 3;
string start_hash = 4;
string end_hash = 5;
}
// Copied from: local:aiserver.v1.StreamUnifiedChatRequest.ThinkingLevel (var: L)
enum ThinkingLevel {
THINKING_LEVEL_UNSPECIFIED = 0;
THINKING_LEVEL_MEDIUM = 1;
THINKING_LEVEL_HIGH = 2;
}
// Copied from: local:aiserver.v1.StreamUnifiedChatRequest.UnifiedMode (var: M)
enum UnifiedMode {
UNIFIED_MODE_UNSPECIFIED = 0;
UNIFIED_MODE_CHAT = 1;
UNIFIED_MODE_AGENT = 2;
UNIFIED_MODE_EDIT = 3;
UNIFIED_MODE_CUSTOM = 4;
UNIFIED_MODE_PLAN = 5;
UNIFIED_MODE_DEBUG = 6;
}
repeated ConversationMessage conversation = 1;
repeated ConversationMessageHeader full_conversation_headers_only = 30;
optional bool allow_long_file_scan = 2;
ExplicitContext explicit_context = 3;
optional bool can_handle_filenames_after_language_ids = 4;
ModelDetails model_details = 5;
LinterErrors linter_errors = 6;
repeated string documentation_identifiers = 7;
optional string use_web = 8;
repeated ComposerExternalLink external_links = 9;
optional ConversationMessage project_context = 10;
repeated RedDiff diffs_for_compressing_files = 11;
optional bool compress_edits = 12;
optional bool should_cache = 13;
repeated LinterErrors multi_file_linter_errors = 14;
CurrentFileInfo current_file = 15;
optional RecentEdits recent_edits = 16;
optional bool use_reference_composer_diff_prompt = 17;
repeated ComposerFileDiffHistory file_diff_histories = 18;
optional bool use_new_compression_scheme = 19;
repeated ChatQuote quotes = 21;
repeated RankedContext additional_ranked_context = 20;
bool is_chat = 22;
string conversation_id = 23;
string replying_to_request_id = 72;
RepositoryInfo repository_info = 24;
bool repository_info_should_query_staging = 25;
bool repository_info_should_query_prod = 39;
QueryOnlyRepoAccess query_only_repo_access = 52;
string repo_query_auth_token = 44;
EnvironmentInfo environment_info = 26;
bool is_agentic = 27;
optional ConversationSummary conversation_summary = 28;
repeated ClientSideToolV2 supported_tools = 29;
bool enable_yolo_mode = 31;
string yolo_prompt = 32;
bool use_unified_chat_prompt = 33;
repeated MCPParams.Tool mcp_tools = 34;
optional bool use_full_inputs_context = 35;
optional bool is_resume = 36;
optional bool allow_model_fallbacks = 37;
optional int32 number_of_times_shown_fallback_model_warning = 38;
optional string context_bank_session_id = 40;
optional int32 context_bank_version = 41;
optional bytes context_bank_encryption_key = 43;
bool is_headless = 45;
bool is_background_composer = 68;
optional CodeSearchResult uses_codebase_results = 42;
optional UnifiedMode unified_mode = 46;
repeated ClientSideToolV2 tools_requiring_accepted_return = 47;
optional bool should_disable_tools = 48;
optional ThinkingLevel thinking_level = 49;
optional bool should_use_chat_prompt = 50;
optional string background_composer_id = 55;
optional bool uses_rules = 51;
optional bool mode_uses_auto_apply = 53;
optional string unified_mode_name = 54;
optional bool use_generate_rules_prompt = 56;
optional bool edit_tool_supports_search_and_replace = 57;
repeated ProjectLayout project_layouts = 58;
optional string repository_name_if_unindexed = 59;
optional double indexing_progress = 60;
optional FullFileCmdKOptions full_file_cmd_k_options = 61;
optional string indexing_phase_if_unindexed = 62;
optional bool use_knowledge_base_prompt = 63;
optional int32 indexing_num_files_if_unindexed = 64;
optional SubagentInfo subagent_info = 66;
bool supports_git_index = 67;
bool force_is_not_dev = 69;
optional bool disable_edit_file_timeout = 70;
optional bool should_attach_linter_errors = 71;
optional bool should_speculatively_route_gpt5 = 73;
optional bool force_terminal_hanging_detection = 74;
optional bool force_summarization = 75;
optional bool is_quick_search_query = 76;
optional bool is_spec_mode = 77;
bool allow_server_side_semantic_search = 78;
optional bytes speculative_summarization_encryption_key = 79;
repeated WorkspaceFolder workspace_folders = 81;
optional bool does_readfile_support_images = 82;
optional bool sandboxing_support_enabled = 83;
optional string custom_planning_instructions = 84;
optional bool enable_terminal_file_persistence = 85;
optional string terminals_folder = 86;
optional string agent_transcripts_folder = 93;
optional string agent_notes_folder = 87;
optional string agent_tools_folder = 88;
optional CurrentPlan current_plan = 89;
optional bool has_mcp_descriptors = 90;
optional string best_of_n_group_id = 91;
optional bool try_use_best_of_n_promotion = 92;
}
// Copied from: local:aiserver.v1.StreamUnifiedChatRequestWithTools (var: Ce)
message StreamUnifiedChatRequestWithTools {
oneof request {
StreamUnifiedChatRequest stream_unified_chat_request = 1;
ClientSideToolV2Result client_side_tool_v2_result = 2;
}
}
// Copied from: local:aiserver.v1.StreamUnifiedChatRequestWithToolsIdempotent (var: Me)
message StreamUnifiedChatRequestWithToolsIdempotent {
optional string idempotency_key = 4;
optional uint32 seqno = 5;
oneof request {
StreamUnifiedChatRequestWithTools client_chunk = 1;
google.protobuf.Empty abort = 2;
google.protobuf.Empty close = 3;
}
}
// Copied from: local:aiserver.v1.StreamUnifiedChatResponse (var: dt)
message StreamUnifiedChatResponse {
// Copied from: local:aiserver.v1.StreamUnifiedChatResponse.ChunkIdentity (var: ft)
message ChunkIdentity {
string file_name = 1;
int32 start_line = 2;
int32 end_line = 3;
string text = 4;
ChunkType chunk_type = 5;
}
// Copied from: local:aiserver.v1.StreamUnifiedChatResponse.FinalToolResult (var: gt)
message FinalToolResult {
string tool_call_id = 1;
ClientSideToolV2Result result = 2;
}
// Copied from: local:aiserver.v1.StreamUnifiedChatResponse.ImageDescription (var: ht)
message ImageDescription {
string description = 1;
string image_uuid = 2;
}
// Copied from: local:aiserver.v1.StreamUnifiedChatResponse.UsedCode (var: pt)
message UsedCode {
repeated CodeResult code_results = 1;
}
string text = 1;
optional string server_bubble_id = 22;
optional string debugging_only_chat_prompt = 2;
optional int32 debugging_only_token_count = 3;
DocumentationCitation document_citation = 4;
optional string filled_prompt = 5;
optional bool is_big_file = 6;
optional string intermediate_text = 7;
optional bool is_using_slow_request = 10;
optional ChunkIdentity chunk_identity = 8;
optional DocsReference docs_reference = 9;
optional WebCitation web_citation = 11;
optional AiWebSearchResults ai_web_search_results = 33;
optional StatusUpdates status_updates = 12;
optional StreamedBackToolCall tool_call = 13;
optional StreamedBackToolCallV2 tool_call_v2 = 36;
optional bool should_break_ai_message = 14;
optional StreamedBackPartialToolCall partial_tool_call = 15;
optional FinalToolResult final_tool_result = 16;
optional SymbolLink symbol_link = 17;
optional FileLink file_link = 19;
optional ConversationSummary conversation_summary = 18;
optional ServiceStatusUpdate service_status_update = 20;
optional ViewableGitContext viewable_git_context = 21;
optional ContextPieceUpdate context_piece_update = 23;
optional UsedCode used_code = 24;
optional ConversationMessage.Thinking thinking = 25;
optional ConversationMessage.ThinkingStyle thinking_style = 37;
optional bool stop_using_dsv3_agentic_model = 26;
optional string usage_uuid = 27;
optional ConversationSummaryStarter conversation_summary_starter = 28;
optional SubagentReturnCall subagent_return = 29;
optional ContextWindowStatus context_window_status = 30;
optional ImageDescription image_description = 31;
optional bool parallel_tool_calls_complete = 32;
optional StarsFeedbackRequest stars_feedback_request = 34;
optional string model_provider_request_json = 35;
}
// Copied from: local:aiserver.v1.StreamUnifiedChatResponseWithTools (var: be)
message StreamUnifiedChatResponseWithTools {
optional SpanContext tracing_context = 6;
string event_id = 7;
oneof response {
ClientSideToolV2Call client_side_tool_v2_call = 1;
StreamUnifiedChatResponse stream_unified_chat_response = 2;
ConversationSummary conversation_summary = 3;
UserRules user_rules = 4;
StreamStart stream_start = 5;
}
}
// Copied from: local:aiserver.v1.StreamUnifiedChatResponseWithToolsIdempotent (var: Fe)
message StreamUnifiedChatResponseWithToolsIdempotent {
oneof response {
StreamUnifiedChatResponseWithTools server_chunk = 1;
WelcomeMessage welcome_message = 3;
uint32 seqno_ack = 4;
}
}
// Copied from: local:aiserver.v1.StreamWebCmdKV1Request (var: En)
message StreamWebCmdKV1Request {
string relative_workspace_path = 1;
string file_contents = 2;
string prompt = 3;
LineRange selection_range = 4;
ModelDetails model_details = 5;
repeated ImageProto images = 10;
}
// Copied from: local:aiserver.v1.StreamWebCmdKV1Response (var: Sn)
message StreamWebCmdKV1Response {
StreamCmdKResponse cmd_k_response = 1;
}
// Copied from: local:aiserver.v1.StreamedBackPartialToolCall (var: V)
message StreamedBackPartialToolCall {
ClientSideToolV2 tool = 1;
string tool_call_id = 2;
string name = 3;
optional uint32 tool_index = 4;
optional string model_call_id = 5;
}
// Copied from: local:aiserver.v1.StreamedBackToolCall (var: Y)
message StreamedBackToolCall {
ClientSideToolV2 tool = 1;
string tool_call_id = 2;
string name = 8;
string raw_args = 9;
optional ToolResultError error = 10;
optional uint32 tool_index = 50;
optional string model_call_id = 51;
oneof params {
ReadSemsearchFilesStream read_semsearch_files_stream = 3;
RipgrepSearchStream ripgrep_search_stream = 5;
ReadFileStream read_file_stream = 7;
ListDirStream list_dir_stream = 12;
EditFileStream edit_file_stream = 13;
ToolCallFileSearchStream file_search_stream = 14;
SemanticSearchFullStream semantic_search_full_stream = 19;
DeleteFileStream delete_file_stream = 21;
ReapplyStream reapply_stream = 22;
RunTerminalCommandV2Stream run_terminal_command_v2_stream = 25;
FetchRulesStream fetch_rules_stream = 26;
WebSearchStream web_search_stream = 28;
MCPStream mcp_stream = 29;
SearchSymbolsStream search_symbols_stream = 33;
GotodefStream gotodef_stream = 41;
BackgroundComposerFollowupStream background_composer_followup_stream = 34;
KnowledgeBaseStream knowledge_base_stream = 35;
FetchPullRequestStream fetch_pull_request_stream = 36;
DeepSearchStream deep_search_stream = 37;
CreateDiagramStream create_diagram_stream = 38;
FixLintsStream fix_lints_stream = 39;
ReadLintsStream read_lints_stream = 40;
TaskStream task_stream = 42;
AwaitTaskStream await_task_stream = 43;
TodoReadStream todo_read_stream = 44;
TodoWriteStream todo_write_stream = 45;
EditFileV2Stream edit_file_v2_stream = 52;
ListDirV2Stream list_dir_v2_stream = 53;
ReadFileV2Stream read_file_v2_stream = 54;
RipgrepRawSearchStream ripgrep_raw_search_stream = 55;
GlobFileSearchStream glob_file_search_stream = 56;
CreatePlanStream create_plan_stream = 57;
ListMcpResourcesStream list_mcp_resources_stream = 58;
ReadMcpResourceStream read_mcp_resource_stream = 59;
ReadProjectStream read_project_stream = 60;
UpdateProjectStream update_project_stream = 61;
TaskV2Stream task_v2_stream = 62;
CallMcpToolStream call_mcp_tool_stream = 63;
AskQuestionStream ask_question_stream = 64;
SwitchModeStream switch_mode_stream = 65;
ComputerUseStream computer_use_stream = 66;
WriteShellStdinStream write_shell_stdin_stream = 67;
WebFetchStream web_fetch_stream = 68;
ReportBugfixResultsStream report_bugfix_results_stream = 69;
McpAuthStream mcp_auth_stream = 70;
ConnectScmStream connect_scm_stream = 71;
}
}
// Copied from: local:aiserver.v1.StreamedBackToolCallV2 (var: K)
message StreamedBackToolCallV2 {
ClientSideToolV2 tool = 1;
string tool_call_id = 2;
string name = 8;
string raw_args = 10;
optional ToolResultError error = 11;
optional uint32 tool_index = 50;
optional string model_call_id = 51;
oneof params {
ReadSemsearchFilesParams read_semsearch_files_params = 3;
RipgrepSearchParams ripgrep_search_params = 5;
ReadFileParams read_file_params = 9;
ListDirParams list_dir_params = 12;
EditFileParams edit_file_params = 13;
ToolCallFileSearchParams file_search_params = 16;
SemanticSearchFullParams semantic_search_full_params = 17;
DeleteFileParams delete_file_params = 19;
ReapplyParams reapply_params = 20;
RunTerminalCommandV2Params run_terminal_command_v2_params = 23;
FetchRulesParams fetch_rules_params = 24;
WebSearchParams web_search_params = 26;
MCPParams mcp_params = 27;
SearchSymbolsParams search_symbols_params = 31;
GotodefParams gotodef_params = 41;
BackgroundComposerFollowupParams background_composer_followup_params = 32;
KnowledgeBaseParams knowledge_base_params = 33;
FetchPullRequestParams fetch_pull_request_params = 34;
DeepSearchParams deep_search_params = 35;
CreateDiagramParams create_diagram_params = 36;
FixLintsParams fix_lints_params = 37;
ReadLintsParams read_lints_params = 38;
TaskParams task_params = 42;
AwaitTaskParams await_task_params = 43;
TodoReadParams todo_read_params = 44;
TodoWriteParams todo_write_params = 45;
EditFileV2Params edit_file_v2_params = 48;
ListDirV2Params list_dir_v2_params = 49;
ReadFileV2Params read_file_v2_params = 61;
RipgrepRawSearchParams ripgrep_raw_search_params = 62;
GlobFileSearchParams glob_file_search_params = 63;
CreatePlanParams create_plan_params = 64;
ListMcpResourcesParams list_mcp_resources_params = 65;
ReadMcpResourceParams read_mcp_resource_params = 66;
ReadProjectParams read_project_params = 67;
UpdateProjectParams update_project_params = 68;
TaskV2Params task_v2_params = 69;
CallMcpToolParams call_mcp_tool_params = 70;
ApplyAgentDiffParams apply_agent_diff_params = 71;
AskQuestionParams ask_question_params = 72;
SwitchModeParams switch_mode_params = 73;
ComputerUseParams computer_use_params = 74;
WriteShellStdinArgs write_shell_stdin_params = 75;
RecordScreenArgs record_screen_params = 76;
WebFetchParams web_fetch_params = 77;
ReportBugfixResultsParams report_bugfix_results_params = 78;
McpAuthParams mcp_auth_params = 79;
GetMcpToolsParams get_mcp_tools_params = 80;
ConnectScmParams connect_scm_params = 81;
}
}
// Copied from: local:aiserver.v1.StringCount (var: fd)
message StringCount {
string name = 1;
int32 count = 2;
}
// Copied from: local:aiserver.v1.StringReplacement (var: qn)
message StringReplacement {
string old_string = 1;
string new_string = 2;
}
// Copied from: local:aiserver.v1.SttAudioChunk (var: Fu)
message SttAudioChunk {
bytes pcm16 = 1;
}
// Copied from: local:aiserver.v1.SttClientMessage (var: Du)
message SttClientMessage {
oneof payload {
SttConfig config = 1;
SttAudioChunk audio = 2;
SttControl control = 3;
}
}
// Copied from: local:aiserver.v1.SttConfig (var: Lu)
message SttConfig {
optional string language = 1;
optional bool punctuate = 2;
}
// Copied from: local:aiserver.v1.SttControl (var: qu)
message SttControl {
// Copied from: local:aiserver.v1.SttControl.Type (var: Be)
enum Type {
TYPE_UNSPECIFIED = 0;
TYPE_STOP = 1;
TYPE_CANCEL = 2;
}
Type type = 1;
}
// Copied from: local:aiserver.v1.SttServerMessage (var: Ou)
message SttServerMessage {
string text = 1;
bool is_final = 2;
}
// Copied from: agent.v1.SubagentArgs (var: M)
message SubagentArgs {
string tool_call_id = 1;
string subagent_type = 2;
string model_id = 3;
string prompt = 4;
bool readonly = 5;
optional string resume_agent_id = 6;
optional bool run_in_background = 7;
ClientContinuationConfig continuation_config = 8;
optional string parent_conversation_id = 9;
optional bool interrupt = 13;
TaskMode mode = 14;
optional string fork_agent_id = 15;
optional string root_parent_conversation_id = 16;
optional SelectedContext selected_context = 17;
optional bool direct_meta_parent_child_subagent = 18;
SubagentExecutionEnvironment environment = 19;
optional string cloud_base_branch = 20;
oneof credentials {
ApiKeyCredentials api_key_credentials = 10;
AzureCredentials azure_credentials = 11;
BedrockCredentials bedrock_credentials = 12;
}
}
// Copied from: agent.v1.SubagentAwaitArgs (var: q)
message SubagentAwaitArgs {
string agent_id = 1;
uint32 timeout_ms = 2;
}
// Copied from: agent.v1.SubagentAwaitComplete (var: O)
message SubagentAwaitComplete {
string agent_id = 1;
optional string transcript_path = 2;
int32 tool_call_count = 3;
optional string final_message = 4;
}
// Copied from: agent.v1.SubagentAwaitError (var: Q)
message SubagentAwaitError {
optional string agent_id = 1;
string error = 2;
}
// Copied from: agent.v1.SubagentAwaitNotFound (var: x)
message SubagentAwaitNotFound {
string agent_id = 1;
}
// Copied from: agent.v1.SubagentAwaitResult (var: D)
message SubagentAwaitResult {
oneof result {
SubagentAwaitComplete complete = 1;
SubagentAwaitStillRunning still_running = 2;
SubagentAwaitNotFound not_found = 3;
SubagentAwaitError error = 4;
}
}
// Copied from: agent.v1.SubagentAwaitStillRunning (var: U)
message SubagentAwaitStillRunning {
string agent_id = 1;
optional string transcript_path = 2;
}
// Copied from: agent.v1.SubagentBackgroundReason (var: Gs)
enum SubagentBackgroundReason {
SUBAGENT_BACKGROUND_REASON_UNSPECIFIED = 0;
SUBAGENT_BACKGROUND_REASON_AGENT_REQUEST = 1;
SUBAGENT_BACKGROUND_REASON_USER_REQUEST = 2;
SUBAGENT_BACKGROUND_REASON_QUEUED_FOLLOW_UP = 3;
}
// Copied from: local:aiserver.v1.SubagentDescriptor (var: mE)
message SubagentDescriptor {
string name = 1;
optional string description = 2;
optional string source_path = 3;
optional string source_url = 4;
}
// Copied from: agent.v1.SubagentError (var: H)
message SubagentError {
optional string agent_id = 1;
string error = 2;
}
// Copied from: agent.v1.SubagentExecutionEnvironment (var: Qs)
enum SubagentExecutionEnvironment {
SUBAGENT_EXECUTION_ENVIRONMENT_UNSPECIFIED = 0;
SUBAGENT_EXECUTION_ENVIRONMENT_LOCAL = 1;
SUBAGENT_EXECUTION_ENVIRONMENT_CLOUD = 2;
}
// Copied from: local:aiserver.v1.SubagentInfo (var: Bn)
message SubagentInfo {
SubagentType subagent_type = 1;
string subagent_id = 2;
optional string parent_request_id = 5;
oneof params {
DeepSearchSubagentParams deep_search_params = 3;
FixLintsSubagentParams fix_lints_params = 4;
TaskSubagentParams task_params = 6;
SpecSubagentParams spec_params = 7;
}
}
// Copied from: agent.v1.SubagentPersistedState (var: ra)
message SubagentPersistedState {
ConversationStateStructure conversation_state = 1;
uint64 created_timestamp_ms = 2;
uint64 last_used_timestamp_ms = 3;
SubagentType subagent_type = 4;
optional string model_id = 5;
SubagentExecutionEnvironment environment = 6;
optional CloudSubagentReference cloud_subagent = 7;
optional string first_class_bc_id = 8;
optional string cloud_requested_environment_build_id = 9;
}
// Copied from: agent.v1.SubagentResult (var: F)
message SubagentResult {
oneof result {
SubagentSuccess success = 1;
SubagentError error = 2;
}
}
// Copied from: local:aiserver.v1.SubagentReturnCall (var: vn)
message SubagentReturnCall {
SubagentType subagent_type = 1;
oneof return_value {
DeepSearchSubagentReturnValue deep_search_return_value = 2;
FixLintsSubagentReturnValue fix_lints_return_value = 3;
TaskSubagentReturnValue task_return_value = 4;
SpecSubagentReturnValue spec_return_value = 5;
}
}
// Copied from: agent.v1.SubagentRunState (var: Mo)
message SubagentRunState {
string parent_tool_call_id = 1;
optional string subagent_id = 2;
SubagentExecutionEnvironment environment = 3;
SubagentRunStatus status = 4;
optional string title = 5;
optional string detail = 6;
optional string transcript_path = 7;
optional string output_path = 8;
optional uint64 completed_timestamp_ms = 9;
optional BackgroundTaskCompletionReason completion_reason = 10;
}
// Copied from: agent.v1.SubagentRunStatus (var: Ks)
enum SubagentRunStatus {
SUBAGENT_RUN_STATUS_UNSPECIFIED = 0;
SUBAGENT_RUN_STATUS_RUNNING = 1;
SUBAGENT_RUN_STATUS_BACKGROUNDED = 2;
SUBAGENT_RUN_STATUS_SUCCESS = 3;
SUBAGENT_RUN_STATUS_ERROR = 4;
SUBAGENT_RUN_STATUS_ABORTED = 5;
}
// Copied from: agent.v1.SubagentStartRequestQuery (var: $a)
message SubagentStartRequestQuery {
string subagent_id = 1;
string subagent_type = 2;
string task = 3;
string parent_conversation_id = 4;
optional string tool_call_id = 5;
optional string subagent_model = 6;
bool is_parallel_worker = 7;
optional string git_branch = 8;
optional string conversation_id = 9;
optional string generation_id = 10;
optional string model = 11;
optional string model_id = 12;
repeated RequestedModel.ModelParameterValue model_params = 13;
}
// Copied from: agent.v1.SubagentStartRequestResponse (var: el)
message SubagentStartRequestResponse {
optional string permission = 1;
optional string user_message = 2;
optional string additional_context = 3;
}
// Copied from: agent.v1.SubagentStopRequestQuery (var: tl)
message SubagentStopRequestQuery {
string subagent_id = 1;
string subagent_type = 2;
string status = 3;
int64 duration_ms = 4;
optional string summary = 5;
string parent_conversation_id = 6;
int32 message_count = 7;
int32 tool_call_count = 8;
optional string error_message = 9;
repeated string modified_files = 10;
optional string git_branch = 11;
optional string conversation_id = 12;
optional string generation_id = 13;
optional string model = 14;
int32 loop_count = 15;
optional string task = 16;
optional string description = 17;
optional string model_id = 18;
repeated RequestedModel.ModelParameterValue model_params = 19;
}
// Copied from: agent.v1.SubagentStopRequestResponse (var: nl)
message SubagentStopRequestResponse {
optional string followup_message = 1;
optional string additional_context = 2;
}
// Copied from: agent.v1.SubagentSuccess (var: G)
message SubagentSuccess {
string agent_id = 1;
optional string final_message = 2;
int32 tool_call_count = 3;
SubagentBackgroundReason background_reason = 4;
optional string transcript_path = 5;
}
// Copied from: local:aiserver.v1.SubagentType (var: b)
enum SubagentType {
SUBAGENT_TYPE_UNSPECIFIED = 0;
SUBAGENT_TYPE_DEEP_SEARCH = 1;
SUBAGENT_TYPE_FIX_LINTS = 2;
SUBAGENT_TYPE_TASK = 3;
SUBAGENT_TYPE_SPEC = 4;
}
// Copied from: local:aiserver.v1.SubjectScore (var: o)
message SubjectScore {
string subject_key = 1;
double score = 2;
double sample_count = 3;
}
// Copied from: local:aiserver.v1.SubmitChatRequestEventsRequest (var: F)
message SubmitChatRequestEventsRequest {
string session_id = 1;
repeated ChatRequestTelemetryEvent events = 2;
string client_version = 3;
string client_commit = 4;
map<string, string> platform_tags = 5;
optional string window_type = 6;
}
// Copied from: local:aiserver.v1.SubmitChatRequestEventsResponse (var: q)
message SubmitChatRequestEventsResponse {
bool success = 1;
optional string error_message = 2;
int32 events_processed = 3;
}
// Copied from: local:aiserver.v1.SubmitFeedbackRequest (var: kT)
message SubmitFeedbackRequest {
string message = 1;
string version = 2;
optional string last_agent_req_id = 3;
optional string os = 4;
optional string terminal = 5;
optional string shell = 6;
optional string model = 7;
optional string update_channel = 8;
optional string agent_mode = 9;
}
// Copied from: local:aiserver.v1.SubmitFeedbackResponse (var: wT)
message SubmitFeedbackResponse {
}
// Copied from: local:aiserver.v1.SubmitInteractionResponseBackgroundComposerRequest (var: il)
message SubmitInteractionResponseBackgroundComposerRequest {
string bc_id = 1;
InteractionResponse interaction_response = 2;
}
// Copied from: local:aiserver.v1.SubmitInteractionResponseBackgroundComposerResponse (var: al)
message SubmitInteractionResponseBackgroundComposerResponse {
}
// Copied from: local:aiserver.v1.SubmitInteractionWindowRequest (var: I)
message SubmitInteractionWindowRequest {
google.protobuf.Timestamp time_origin = 1;
CapturedWebProfile web_profile = 2;
repeated Interaction interactions = 3;
string session_id = 4;
}
// Copied from: local:aiserver.v1.SubmitInteractionWindowResponse (var: v)
message SubmitInteractionWindowResponse {
bool success = 1;
optional string error_message = 2;
}
// Copied from: local:aiserver.v1.SubmitLogsRequest (var: y)
message SubmitLogsRequest {
repeated ClientLogEntry logs = 1;
}
// Copied from: local:aiserver.v1.SubmitLogsResponse (var: k)
message SubmitLogsResponse {
bool success = 1;
optional string error_message = 2;
uint32 logs_processed = 3;
uint32 logs_dropped = 4;
}
// Copied from: local:aiserver.v1.SubmitPendingFollowupNowRequest (var: Al)
message SubmitPendingFollowupNowRequest {
string bc_id = 1;
string followup_id = 2;
}
// Copied from: local:aiserver.v1.SubmitPendingFollowupNowResponse (var: _l)
message SubmitPendingFollowupNowResponse {
bool success = 1;
string error_message = 2;
}
// Copied from: local:aiserver.v1.SubmitPerformanceEventsRequest (var: _)
message SubmitPerformanceEventsRequest {
string session_id = 1;
repeated PerformanceEvent events = 2;
optional SystemMetadata system_metadata = 3;
string client_version = 4;
string client_commit = 5;
map<string, string> platform_tags = 6;
optional string window_type = 7;
repeated PerformanceMetric metrics = 8;
}
// Copied from: local:aiserver.v1.SubmitPerformanceEventsResponse (var: T)
message SubmitPerformanceEventsResponse {
bool success = 1;
optional string error_message = 2;
int32 events_processed = 3;
}
// Copied from: local:aiserver.v1.SubmitPluginForApprovalRequest (var: pS)
message SubmitPluginForApprovalRequest {
int64 plugin_id = 1;
}
// Copied from: local:aiserver.v1.SubmitPluginForApprovalResponse (var: fS)
message SubmitPluginForApprovalResponse {
Plugin plugin = 1;
}
// Copied from: local:aiserver.v1.SubmitProfileRequest (var: E)
message SubmitProfileRequest {
repeated CapturedProfile profiles = 1;
}
// Copied from: local:aiserver.v1.SubmitProfileResponse (var: S)
message SubmitProfileResponse {
repeated string profile_ids = 1;
}
// Copied from: local:aiserver.v1.SubmitSpansRequest (var: R)
message SubmitSpansRequest {
repeated TraceSpan spans = 1;
string client_version = 2;
string client_commit = 3;
}
// Copied from: local:aiserver.v1.SubmitSpansResponse (var: P)
message SubmitSpansResponse {
bool success = 1;
optional string error_message = 2;
}
// Copied from: local:aiserver.v1.SubmitToolCallEventsRequest (var: b)
message SubmitToolCallEventsRequest {
string session_id = 1;
repeated ToolCallTelemetryEvent events = 2;
string client_version = 3;
string client_commit = 4;
map<string, string> platform_tags = 5;
optional string window_type = 6;
}
// Copied from: local:aiserver.v1.SubmitToolCallEventsResponse (var: M)
message SubmitToolCallEventsResponse {
bool success = 1;
optional string error_message = 2;
int32 events_processed = 3;
}
// Copied from: agent.v1.SubmittedCustomMode (var: ci)
message SubmittedCustomMode {
string id = 1;
string label = 2;
CustomModeSource source = 5;
optional string source_path = 6;
optional string source_hash = 7;
optional string managed_skill_id = 10;
optional string plugin_id = 11;
optional string plugin_snapshot_token = 12;
}
// Copied from: agent.v1.SubmittedExitedCustomMode (var: pi)
message SubmittedExitedCustomMode {
string id = 1;
string label = 2;
}
// Copied from: local:aiserver.v1.SubscribeRepositoryRequest (var: je)
message SubscribeRepositoryRequest {
RepositoryInfo repository = 1;
}
// Copied from: local:aiserver.v1.SubscribeRepositoryResponse (var: Xe)
message SubscribeRepositoryResponse {
// Copied from: local:aiserver.v1.SubscribeRepositoryResponse.Status (var: v)
enum Status {
STATUS_UNSPECIFIED = 0;
STATUS_NOT_FOUND = 1;
STATUS_NOT_AUTHORIZED = 2;
STATUS_ALREADY_SUBSCRIBED = 3;
STATUS_SUCCESS = 4;
}
Status status = 1;
}
// Copied from: agent.v1.SubscriptionNotificationAction (var: ei)
message SubscriptionNotificationAction {
repeated UserMessage notifications = 1;
RequestContext request_context = 2;
optional bool send_to_interaction_listener = 3;
}
// Copied from: agent.v1.SubscriptionSource (var: js)
enum SubscriptionSource {
SUBSCRIPTION_SOURCE_UNSPECIFIED = 0;
SUBSCRIPTION_SOURCE_SLACK = 1;
SUBSCRIPTION_SOURCE_GITHUB = 2;
}
// Copied from: local:aiserver.v1.SuggestCursorPredictionEvent (var: Ie)
message SuggestCursorPredictionEvent {
CursorPrediction cursor_prediction = 1;
PointInTimeModel point_in_time_model = 2;
}
// Copied from: local:aiserver.v1.SuggestQuickActionsRequest (var: ei)
message SuggestQuickActionsRequest {
repeated QuickActionCandidate candidates = 1;
string last_user_message = 2;
string last_assistant_message = 3;
optional int32 max_suggestions = 4;
repeated string recently_used_skill_ids = 5;
bool include_skills = 6;
bool include_text = 7;
}
// Copied from: local:aiserver.v1.SuggestQuickActionsResponse (var: ni)
message SuggestQuickActionsResponse {
repeated SuggestedQuickAction suggestions = 1;
}
// Copied from: local:aiserver.v1.SuggestedCodeBlock (var: fn)
message SuggestedCodeBlock {
string relative_workspace_path = 1;
}
// Copied from: local:aiserver.v1.SuggestedEdit (var: x)
message SuggestedEdit {
SimpleRange edit_range = 1;
string text = 2;
}
// Copied from: local:aiserver.v1.SuggestedQuickAction (var: ri)
message SuggestedQuickAction {
string id = 1;
string label = 2;
string type = 3;
}
// Copied from: agent.v1.SummarizeAction (var: Ti)
message SummarizeAction {
}
// Copied from: local:aiserver.v1.SummarizeCodeParams (var: Wn)
message SummarizeCodeParams {
repeated string target_files = 1;
string focus_query = 2;
}
// Copied from: local:aiserver.v1.SummarizeCodeResult (var: zn)
message SummarizeCodeResult {
string summary = 1;
}
// Copied from: local:aiserver.v1.SummarizeCodeStream (var: jn)
message SummarizeCodeStream {
}
// Copied from: local:aiserver.v1.SummarizeWithReferencesRequest (var: R)
message SummarizeWithReferencesRequest {
string index_id = 1;
string node_id = 2;
bool recompute = 3;
}
// Copied from: local:aiserver.v1.SummarizeWithReferencesResponse (var: P)
message SummarizeWithReferencesResponse {
// Copied from: local:aiserver.v1.SummarizeWithReferencesResponse.Dependency (var: M)
message Dependency {
repeated string nodes = 2;
}
// Copied from: local:aiserver.v1.SummarizeWithReferencesResponse.Success (var: b)
message Success {
string summary = 1;
}
string node_id = 3;
oneof response {
Success success = 1;
Dependency dependency = 2;
}
}
// Copied from: agent.v1.SummaryCompletedUpdate (var: Ja)
message SummaryCompletedUpdate {
optional string hook_message = 1;
}
// Copied from: agent.v1.SummaryStartedUpdate (var: va)
message SummaryStartedUpdate {
}
// Copied from: agent.v1.SummaryUpdate (var: Ia)
message SummaryUpdate {
string summary = 1;
}
// Copied from: local:aiserver.v1.SupersedeFullSelfDrivingOutputRequest (var: q)
message SupersedeFullSelfDrivingOutputRequest {
string pr_url = 1;
string bc_id = 2;
string stable_key = 3;
optional string replacement_stable_key = 4;
optional string reason = 5;
}
// Copied from: local:aiserver.v1.SupersedeFullSelfDrivingOutputResponse (var: D)
message SupersedeFullSelfDrivingOutputResponse {
FullSelfDrivingFinding finding = 1;
}
// Copied from: local:aiserver.v1.SurroundingLines (var: Ti)
message SurroundingLines {
int32 start_line = 1;
repeated string lines = 2;
}
// Copied from: local:aiserver.v1.SwCallClientSideV2ToolRequest (var: me)
message SwCallClientSideV2ToolRequest {
ClientSideToolV2Call tool_call = 1;
string composer_id = 2;
}
// Copied from: local:aiserver.v1.SwCallClientSideV2ToolResponse (var: ce)
message SwCallClientSideV2ToolResponse {
ClientSideToolV2Result tool_result = 1;
}
// Copied from: local:aiserver.v1.SwCallDiagnosticsExecutorRequest (var: Z)
message SwCallDiagnosticsExecutorRequest {
DiagnosticsArgs diagnostics_args = 1;
}
// Copied from: local:aiserver.v1.SwCallDiagnosticsExecutorResponse (var: $)
message SwCallDiagnosticsExecutorResponse {
DiagnosticsResult diagnostics_result = 1;
}
// Copied from: local:aiserver.v1.SwCompileRepoIncludeExcludePatternsRequest (var: de)
message SwCompileRepoIncludeExcludePatternsRequest {
optional string include_pattern = 1;
optional string exclude_pattern = 2;
string path_encryption_key = 3;
RepositoryInfo repository_info = 4;
}
// Copied from: local:aiserver.v1.SwCompileRepoIncludeExcludePatternsResponse (var: pe)
message SwCompileRepoIncludeExcludePatternsResponse {
optional string glob_filter = 1;
optional string not_glob_filter = 2;
}
// Copied from: local:aiserver.v1.SwGetEnvironmentInfoRequest (var: se)
message SwGetEnvironmentInfoRequest {
}
// Copied from: local:aiserver.v1.SwGetEnvironmentInfoResponse (var: oe)
message SwGetEnvironmentInfoResponse {
EnvironmentInfo environment_info = 1;
}
// Copied from: local:aiserver.v1.SwGetExplicitContextRequest (var: ne)
message SwGetExplicitContextRequest {
}
// Copied from: local:aiserver.v1.SwGetExplicitContextResponse (var: re)
message SwGetExplicitContextResponse {
ExplicitContext explicit_context = 1;
}
// Copied from: local:aiserver.v1.SwGetLinterErrorsRequest (var: ie)
message SwGetLinterErrorsRequest {
repeated string absolute_paths = 1;
}
// Copied from: local:aiserver.v1.SwGetLinterErrorsResponse (var: ae)
message SwGetLinterErrorsResponse {
repeated LinterErrors linter_errors = 1;
}
// Copied from: local:aiserver.v1.SwGetMcpToolsRequest (var: le)
message SwGetMcpToolsRequest {
optional string browser_integration_preference = 1;
}
// Copied from: local:aiserver.v1.SwGetMcpToolsResponse (var: ue)
message SwGetMcpToolsResponse {
repeated MCPParams.Tool tools = 1;
}
// Copied from: local:aiserver.v1.SwProvideTemporaryAccessTokenRequest (var: fe)
message SwProvideTemporaryAccessTokenRequest {
string access_token = 1;
}
// Copied from: local:aiserver.v1.SwProvideTemporaryAccessTokenResponse (var: ge)
message SwProvideTemporaryAccessTokenResponse {
}
// Copied from: local:aiserver.v1.SwSyncIndexRequest (var: _e)
message SwSyncIndexRequest {
RepositoryInfo repository_info = 1;
string path_encryption_key = 2;
optional double indexing_progress_threshold = 3;
}
// Copied from: local:aiserver.v1.SwSyncIndexResponse (var: Te)
message SwSyncIndexResponse {
}
// Copied from: local:aiserver.v1.SwTrackModelRequest (var: j)
message SwTrackModelRequest {
string absolute_path = 1;
}
// Copied from: local:aiserver.v1.SwTrackModelResponse (var: X)
message SwTrackModelResponse {
}
// Copied from: local:aiserver.v1.SwWriteTextFileWithLintsRequest (var: ee)
message SwWriteTextFileWithLintsRequest {
string absolute_path = 1;
string new_contents = 2;
}
// Copied from: local:aiserver.v1.SwWriteTextFileWithLintsResponse (var: te)
message SwWriteTextFileWithLintsResponse {
repeated LinterError new_linter_errors = 1;
}
// Copied from: agent.v1.SwitchModeArgs (var: je)
message SwitchModeArgs {
string target_mode_id = 1;
optional string explanation = 2;
string tool_call_id = 3;
}
// Copied from: local:aiserver.v1.SwitchModeParams (var: Ms)
message SwitchModeParams {
string from_mode_id = 1;
string to_mode_id = 2;
optional string explanation = 3;
}
// Copied from: agent.v1.SwitchModeRequestQuery (var: nt)
message SwitchModeRequestQuery {
SwitchModeArgs args = 1;
}
// Copied from: agent.v1.SwitchModeRequestResponse (var: rt)
message SwitchModeRequestResponse {
// Copied from: agent.v1.SwitchModeRequestResponse.Approved (var: st)
message Approved {
}
// Copied from: agent.v1.SwitchModeRequestResponse.Rejected (var: ot)
message Rejected {
string reason = 1;
}
oneof result {
Approved approved = 1;
Rejected rejected = 2;
}
}
// Copied from: local:aiserver.v1.SwitchModeResult (var: Ls)
message SwitchModeResult {
string from_mode_id = 1;
string to_mode_id = 2;
bool auto_approved = 3;
bool user_approved = 4;
}
// Copied from: local:aiserver.v1.SwitchModeStream (var: Fs)
message SwitchModeStream {
SwitchModeParams params = 1;
}
// Copied from: local:aiserver.v1.SwitchModelAction (var: ve)
message SwitchModelAction {
optional string suggested_model = 1;
}
// Copied from: local:aiserver.v1.SwitchTeamPrivacyModeRequest (var: so)
message SwitchTeamPrivacyModeRequest {
int32 team_id = 1;
bool privacy_mode_forced = 2;
PrivacyMode privacy_mode = 3;
}
// Copied from: local:aiserver.v1.SwitchTeamPrivacyModeResponse (var: oo)
message SwitchTeamPrivacyModeResponse {
}
// Copied from: local:aiserver.v1.SymbolActionResultReference (var: V)
message SymbolActionResultReference {
SimpleRange range = 1;
FileCodeSnippets reference = 2;
}
// Copied from: local:aiserver.v1.SymbolActionResults (var: H)
message SymbolActionResults {
CodeSymbolWithAction action = 1;
repeated SymbolActionResultReference references = 2;
}
// Copied from: local:aiserver.v1.SymbolLink (var: kt)
message SymbolLink {
string symbol_name = 1;
string symbol_search_string = 2;
string relative_workspace_path = 3;
int32 rough_line_number = 4;
}
// Copied from: local:aiserver.v1.SyncGitlabReposRequest (var: Nn)
message SyncGitlabReposRequest {
string git_enterprise_uuid = 1;
}
// Copied from: local:aiserver.v1.SyncGitlabReposResponse (var: Rn)
message SyncGitlabReposResponse {
bool started = 1;
string error_message = 2;
}
// Copied from: local:aiserver.v1.SyncLiveActivityRequest (var: ad)
message SyncLiveActivityRequest {
string device_id = 1;
PushPlatform platform = 2;
string activity_push_token = 3;
LiveActivityContentState content_state = 4;
uint64 state_version = 5;
string bundle_id = 6;
}
// Copied from: local:aiserver.v1.SyncLiveActivityResponse (var: ld)
message SyncLiveActivityResponse {
}
// Copied from: local:aiserver.v1.SyncMerkleSubtreeRequest (var: ne)
message SyncMerkleSubtreeRequest {
RepositoryInfo repository = 1;
PartialPathItem local_partial_path = 2;
}
// Copied from: local:aiserver.v1.SyncMerkleSubtreeResponse (var: re)
message SyncMerkleSubtreeResponse {
// Copied from: local:aiserver.v1.SyncMerkleSubtreeResponse.Mismatch (var: se)
message Mismatch {
repeated PartialPathItem children = 1;
}
oneof result {
bool match = 1;
Mismatch mismatch = 2;
}
}
// Copied from: local:aiserver.v1.SyncMerkleSubtreeV2Request (var: ie)
message SyncMerkleSubtreeV2Request {
ClientRepositoryInfo client_repository_info = 1;
string codebase_id = 2;
PartialPathItem local_partial_path = 3;
repeated PartialPathItem local_partial_paths = 4;
}
// Copied from: local:aiserver.v1.SyncMerkleSubtreeV2Response (var: ae)
message SyncMerkleSubtreeV2Response {
// Copied from: local:aiserver.v1.SyncMerkleSubtreeV2Response.Mismatch (var: le)
message Mismatch {
repeated PartialPathItem children = 1;
}
// Copied from: local:aiserver.v1.SyncMerkleSubtreeV2Response.PartialPathResult (var: ue)
message PartialPathResult {
oneof result {
bool match = 1;
SyncMerkleSubtreeV2Response.Mismatch mismatch = 2;
bool response_size_limit_exceeded = 3;
}
}
repeated PartialPathResult results = 3;
oneof result {
bool match = 1;
Mismatch mismatch = 2;
}
}
// Copied from: local:aiserver.v1.SyncRepositoryRequest (var: Je)
message SyncRepositoryRequest {
int32 codebase_id = 1;
}
// Copied from: local:aiserver.v1.SyncRepositoryResponse (var: Ce)
message SyncRepositoryResponse {
}
// Copied from: local:aiserver.v1.SynthesisSubagentConfig (var: Sd)
message SynthesisSubagentConfig {
repeated string additional_model_names = 1;
bytes original_user_prompt_blob_id = 2;
}
// Copied from: agent.v1.SystemContextInjection (var: si)
message SystemContextInjection {
string producer = 1;
string content = 2;
}
// Copied from: local:aiserver.v1.SystemMetadata (var: A)
message SystemMetadata {
google.protobuf.Timestamp timestamp = 1;
optional double memory_used_mb = 2;
optional double memory_total_mb = 3;
optional double cpu_usage_percent = 4;
optional int32 active_tabs_count = 5;
optional int32 open_editors_count = 6;
optional bool window_focused = 7;
optional string window_size = 8;
map<string, string> additional_metadata = 9;
}
// Copied from: local:aiserver.v1.TabCloseEvent (var: Bt)
message TabCloseEvent {
MaybeDefinedPointInTimeModel point_in_time_model = 1;
}
// Copied from: local:aiserver.v1.TakeNotesOnCommitDiffRequest (var: fn)
message TakeNotesOnCommitDiffRequest {
CommitDiffString diff = 1;
string commit_hash = 2;
}
// Copied from: local:aiserver.v1.TakeNotesOnCommitDiffResponse (var: gn)
message TakeNotesOnCommitDiffResponse {
repeated CommitNoteWithEmbeddings notes = 1;
}
// Copied from: local:aiserver.v1.TaskGetInterfaceAgentStatusRequest (var: ta)
message TaskGetInterfaceAgentStatusRequest {
InterfaceAgentClientState interface_agent_client_state = 1;
}
// Copied from: local:aiserver.v1.TaskGetInterfaceAgentStatusResponse (var: na)
message TaskGetInterfaceAgentStatusResponse {
InterfaceAgentStatus status = 1;
}
// Copied from: local:aiserver.v1.TaskGetInterfaceAgentStatusResponseWrapped (var: ra)
message TaskGetInterfaceAgentStatusResponseWrapped {
oneof response {
TaskGetInterfaceAgentStatusResponse real_response = 1;
string background_task_uuid = 2;
}
}
// Copied from: local:aiserver.v1.TaskInfoRequest (var: da)
message TaskInfoRequest {
string task_uuid = 1;
}
// Copied from: local:aiserver.v1.TaskInfoResponse (var: ga)
message TaskInfoResponse {
string human_readable_title = 1;
TaskStatus task_status = 2;
int32 last_log_sequence_number = 3;
}
// Copied from: local:aiserver.v1.TaskInitRequest (var: sa)
message TaskInitRequest {
TaskInstruction instruction = 1;
ModelDetails model_details = 2;
bool debugging_only_live_mode = 3;
optional string engine_id = 4;
}
// Copied from: local:aiserver.v1.TaskInitResponse (var: oa)
message TaskInitResponse {
string task_uuid = 1;
string human_readable_title = 2;
}
// Copied from: local:aiserver.v1.TaskInstruction (var: xi)
message TaskInstruction {
// Copied from: local:aiserver.v1.TaskInstruction.CodeChunk (var: Qi)
message CodeChunk {
string relative_workspace_path = 1;
int32 start_line_number = 2;
repeated string lines = 3;
}
string text = 1;
repeated CodeChunk attached_code_chunks = 2;
CurrentFileInfo current_file = 3;
repeated RepositoryInfo repositories = 4;
ExplicitContext explicit_context = 5;
}
// Copied from: local:aiserver.v1.TaskLogItem (var: ca)
message TaskLogItem {
int32 sequence_number = 1;
bool is_not_done = 2;
oneof log_item {
TaskLogOutput output = 3;
TaskLogToolAction tool_action = 4;
TaskLogThought thought = 5;
TaskUserMessage user_message = 6;
TaskInstruction instruction = 7;
TaskLogToolResult tool_result = 8;
}
}
// Copied from: local:aiserver.v1.TaskLogOutput (var: aa)
message TaskLogOutput {
string text = 1;
}
// Copied from: local:aiserver.v1.TaskLogThought (var: ua)
message TaskLogThought {
string text = 1;
}
// Copied from: local:aiserver.v1.TaskLogToolAction (var: la)
message TaskLogToolAction {
string user_facing_text = 1;
string raw_model_output = 3;
ToolCall tool_call = 2;
}
// Copied from: local:aiserver.v1.TaskLogToolResult (var: ma)
message TaskLogToolResult {
ToolResult tool_result = 1;
int32 action_sequence_number = 2;
}
// Copied from: agent.v1.TaskMode (var: s)
enum TaskMode {
TASK_MODE_UNSPECIFIED = 0;
TASK_MODE_AGENT = 1;
TASK_MODE_PLAN = 2;
}
// Copied from: local:aiserver.v1.TaskParams (var: Tr)
message TaskParams {
string task_description = 1;
string task_title = 4;
optional bool async = 2;
repeated string allowed_write_directories = 3;
optional string model_override = 5;
optional bool max_mode_override = 6;
optional bool default_expanded_while_running = 7;
}
// Copied from: local:aiserver.v1.TaskPauseRequest (var: pa)
message TaskPauseRequest {
string task_uuid = 1;
}
// Copied from: local:aiserver.v1.TaskPauseResponse (var: fa)
message TaskPauseResponse {
}
// Copied from: local:aiserver.v1.TaskProvideResultRequest (var: _a)
message TaskProvideResultRequest {
string task_uuid = 1;
int32 action_sequence_number = 2;
ToolResult tool_result = 3;
}
// Copied from: local:aiserver.v1.TaskProvideResultResponse (var: Ta)
message TaskProvideResultResponse {
}
// Copied from: local:aiserver.v1.TaskResult (var: yr)
message TaskResult {
// Copied from: local:aiserver.v1.TaskResult.AsyncTaskResult (var: wr)
message AsyncTaskResult {
string task_id = 1;
bool user_aborted = 2;
bool subagent_errored = 3;
}
// Copied from: local:aiserver.v1.TaskResult.CompletedTaskResult (var: kr)
message CompletedTaskResult {
string summary = 1;
repeated FixLintsResult.FileResult file_results = 2;
bool user_aborted = 3;
bool subagent_errored = 4;
}
oneof result {
CompletedTaskResult completed_task_result = 1;
AsyncTaskResult async_task_result = 2;
}
}
// Copied from: local:aiserver.v1.TaskSendMessageRequest (var: ya)
message TaskSendMessageRequest {
string task_uuid = 1;
TaskUserMessage user_message = 2;
bool wants_attention_right_now = 3;
}
// Copied from: local:aiserver.v1.TaskSendMessageResponse (var: ka)
message TaskSendMessageResponse {
}
// Copied from: local:aiserver.v1.TaskStatus (var: ne)
enum TaskStatus {
TASK_STATUS_UNSPECIFIED = 0;
TASK_STATUS_RUNNING = 1;
TASK_STATUS_PAUSED = 2;
TASK_STATUS_DONE = 3;
TASK_STATUS_NOT_STARTED = 4;
}
// Copied from: local:aiserver.v1.TaskStream (var: Er)
message TaskStream {
}
// Copied from: local:aiserver.v1.TaskStreamChatContextRequest (var: Ir)
message TaskStreamChatContextRequest {
CurrentFileInfo current_file = 1;
repeated ConversationMessage conversation = 2;
repeated RepositoryInfo repositories = 3;
ExplicitContext explicit_context = 4;
optional string workspace_root_path = 5;
repeated CodeBlock code_blocks = 6;
ModelDetails model_details = 7;
repeated string documentation_identifiers = 8;
LinterErrors linter_errors = 14;
AdvancedCodebaseContextOptions advanced_codebase_context = 15;
optional bool is_eval = 16;
string request_id = 17;
optional int32 desired_token_limit = 18;
}
// Copied from: local:aiserver.v1.TaskStreamChatContextResponse (var: Br)
message TaskStreamChatContextResponse {
// Copied from: local:aiserver.v1.TaskStreamChatContextResponse.GatheringFile (var: Cr)
message GatheringFile {
string relative_workspace_path = 1;
SimpleRange range = 2;
int32 step_index = 3;
float score = 4;
}
// Copied from: local:aiserver.v1.TaskStreamChatContextResponse.GatheringStep (var: Nr)
message GatheringStep {
string title = 1;
int32 index = 2;
string query = 3;
}
// Copied from: local:aiserver.v1.TaskStreamChatContextResponse.Output (var: Jr)
message Output {
string text = 1;
}
// Copied from: local:aiserver.v1.TaskStreamChatContextResponse.ReasoningStep (var: br)
message ReasoningStep {
string title = 1;
int32 index = 2;
}
// Copied from: local:aiserver.v1.TaskStreamChatContextResponse.ReasoningSubstep (var: Mr)
message ReasoningSubstep {
string markdown_explanation = 1;
int32 step_index = 2;
}
// Copied from: local:aiserver.v1.TaskStreamChatContextResponse.RerankingFile (var: Pr)
message RerankingFile {
string relative_workspace_path = 1;
SimpleRange range = 2;
string reason = 3;
bool failed = 4;
float score = 5;
int32 step_index = 6;
}
// Copied from: local:aiserver.v1.TaskStreamChatContextResponse.RerankingStep (var: Rr)
message RerankingStep {
string title = 1;
int32 index = 2;
}
oneof response {
Output output = 1;
GatheringStep gathering_step = 2;
GatheringFile gathering_file = 3;
RerankingStep reranking_step = 4;
RerankingFile reranking_file = 5;
ReasoningStep reasoning_step = 6;
ReasoningSubstep reasoning_substep = 7;
}
}
// Copied from: local:aiserver.v1.TaskStreamChatContextResponseWrapped (var: Lr)
message TaskStreamChatContextResponseWrapped {
oneof response {
TaskStreamChatContextResponse real_response = 1;
string background_task_uuid = 2;
}
}
// Copied from: local:aiserver.v1.TaskStreamLogRequest (var: ia)
message TaskStreamLogRequest {
string task_uuid = 1;
int32 start_sequence_number = 2;
}
// Copied from: local:aiserver.v1.TaskStreamLogResponse (var: ha)
message TaskStreamLogResponse {
// Copied from: local:aiserver.v1.TaskStreamLogResponse.InfoUpdate (var: Aa)
message InfoUpdate {
optional string human_readable_title = 1;
optional TaskStatus task_status = 2;
}
oneof response {
TaskLogItem streamed_log_item = 1;
InfoUpdate info_update = 2;
TaskInfoResponse initial_task_info = 3;
}
}
// Copied from: local:aiserver.v1.TaskSubagentParams (var: bn)
message TaskSubagentParams {
string task_description = 1;
repeated string allowed_write_directories = 2;
}
// Copied from: local:aiserver.v1.TaskSubagentReturnValue (var: Mn)
message TaskSubagentReturnValue {
string summary = 1;
}
// Copied from: agent.v1.TaskToolCallDelta (var: ho)
message TaskToolCallDelta {
InteractionUpdate interaction_update = 1;
}
// Copied from: local:aiserver.v1.TaskUserMessage (var: Gi)
message TaskUserMessage {
// Copied from: local:aiserver.v1.TaskUserMessage.CodeChunk (var: Hi)
message CodeChunk {
string relative_workspace_path = 1;
int32 start_line_number = 2;
repeated string lines = 3;
}
string text = 1;
repeated CodeChunk attached_code_chunks = 2;
}
// Copied from: local:aiserver.v1.TaskV2Params (var: Sr)
message TaskV2Params {
string description = 1;
string prompt = 2;
string subagent_type = 3;
optional string model = 4;
string name = 5;
TaskMode mode = 6;
}
// Copied from: local:aiserver.v1.TaskV2Result (var: Ir)
message TaskV2Result {
optional string agent_id = 1;
bool is_background = 2;
optional string cloud_agent_bc_id = 3;
}
// Copied from: local:aiserver.v1.TaskV2Stream (var: vr)
message TaskV2Stream {
}
// Copied from: local:aiserver.v1.Team (var: ka)
message Team {
string name = 1;
int32 id = 2;
TeamRole role = 3;
int32 seats = 4;
bool has_billing = 5;
int32 request_quota_per_seat = 6;
bool privacy_mode_forced = 7;
bool allow_sso = 8;
bool admin_only_usage_pricing = 9;
string subscription_status = 10;
string bedrock_iam_role = 11;
bool verified = 12;
bool is_enterprise = 13;
bool privacy_mode_migration_opted_out = 14;
string bedrock_external_id = 15;
string membership_type = 16;
optional int32 purchased_seats = 17;
optional int64 billing_cycle_start = 18;
optional int64 billing_cycle_end = 19;
optional string pricing_strategy = 20;
optional int32 total_committed_dollars = 21;
bool data_sharing_discount_eligible = 22;
bool dashboard_analytics_requires_admin = 23;
bool individual_spend_limits_blocked = 24;
bool allow_domain_join = 25;
repeated string domain_join_domains = 26;
bool sso_enabled = 27;
optional int64 customer_balance_cents = 28;
bool scim_require_user_directory = 29;
bool self_serve_tiered_pricing_enabled = 30;
bool new_member_usage_promo_eligible = 31;
optional int64 deleted_at_ms = 34;
repeated string granted_permissions = 35;
bool is_direct_member = 36;
string team_slug = 37;
}
// Copied from: local:aiserver.v1.TeamAdminModelRef (var: Nc)
message TeamAdminModelRef {
// Copied from: local:aiserver.v1.TeamAdminModelRef.ModelParameterValue (var: Rc)
message ModelParameterValue {
string id = 1;
string value = 2;
}
string model_id = 1;
repeated ModelParameterValue parameters = 2;
}
// Copied from: local:aiserver.v1.TeamAdminNewChatModelResetRule (var: Pc)
message TeamAdminNewChatModelResetRule {
TeamAdminModelRef source_model = 1;
TeamAdminModelRef target_model = 2;
}
// Copied from: local:aiserver.v1.TeamAdminNewChatModelResetSettings (var: bc)
message TeamAdminNewChatModelResetSettings {
bool enabled = 1;
repeated TeamAdminNewChatModelResetRule rules = 2;
}
// Copied from: local:aiserver.v1.TeamCommand (var: Ly)
message TeamCommand {
string id = 1;
string name = 2;
string content = 3;
optional string description = 4;
bool is_active = 5;
}
// Copied from: local:aiserver.v1.TeamCustomerTelemetryDestination (var: bT)
message TeamCustomerTelemetryDestination {
string id = 1;
TeamCustomerTelemetryDestinationKind kind = 2;
string endpoint_url = 3;
bool enabled = 4;
bool metrics_enabled = 5;
bool logs_enabled = 6;
bool has_credentials = 7;
int64 activated_at_epoch_millis = 8;
int64 created_at_epoch_millis = 9;
int64 updated_at_epoch_millis = 10;
repeated string credential_header_names = 11;
repeated string disabled_families = 12;
repeated string enabled_families = 13;
bool auto_enable_new_families = 14;
}
// Copied from: local:aiserver.v1.TeamCustomerTelemetryDestinationFamily (var: PT)
message TeamCustomerTelemetryDestinationFamily {
string id = 1;
string display_name = 2;
string description = 3;
bool metrics = 4;
bool logs = 5;
}
// Copied from: local:aiserver.v1.TeamCustomerTelemetryDestinationFamilyList (var: RT)
message TeamCustomerTelemetryDestinationFamilyList {
repeated string ids = 1;
}
// Copied from: local:aiserver.v1.TeamCustomerTelemetryDestinationHeaders (var: NT)
message TeamCustomerTelemetryDestinationHeaders {
map<string, string> values = 1;
}
// Copied from: local:aiserver.v1.TeamCustomerTelemetryDestinationHealthBucket (var: HT)
message TeamCustomerTelemetryDestinationHealthBucket {
int64 bucket_start_epoch_millis = 1;
int64 exported = 2;
int64 failed = 3;
int64 dropped = 4;
}
// Copied from: local:aiserver.v1.TeamCustomerTelemetryDestinationHealthStatus (var: at)
enum TeamCustomerTelemetryDestinationHealthStatus {
TEAM_CUSTOMER_TELEMETRY_DESTINATION_HEALTH_STATUS_UNSPECIFIED = 0;
TEAM_CUSTOMER_TELEMETRY_DESTINATION_HEALTH_STATUS_HEALTHY = 1;
TEAM_CUSTOMER_TELEMETRY_DESTINATION_HEALTH_STATUS_DEGRADED = 2;
TEAM_CUSTOMER_TELEMETRY_DESTINATION_HEALTH_STATUS_FAILING = 3;
TEAM_CUSTOMER_TELEMETRY_DESTINATION_HEALTH_STATUS_IDLE = 4;
}
// Copied from: local:aiserver.v1.TeamCustomerTelemetryDestinationKind (var: st)
enum TeamCustomerTelemetryDestinationKind {
TEAM_CUSTOMER_TELEMETRY_DESTINATION_KIND_UNSPECIFIED = 0;
TEAM_CUSTOMER_TELEMETRY_DESTINATION_KIND_OTLP_HTTP = 1;
}
// Copied from: local:aiserver.v1.TeamCustomerTelemetryDestinationRecentError (var: VT)
message TeamCustomerTelemetryDestinationRecentError {
int64 at_epoch_millis = 1;
string error_class = 2;
optional int32 status_code = 3;
string signal = 4;
}
// Copied from: local:aiserver.v1.TeamCustomerTelemetryDestinationTestOutcome (var: it)
enum TeamCustomerTelemetryDestinationTestOutcome {
TEAM_CUSTOMER_TELEMETRY_DESTINATION_TEST_OUTCOME_UNSPECIFIED = 0;
TEAM_CUSTOMER_TELEMETRY_DESTINATION_TEST_OUTCOME_OK = 1;
TEAM_CUSTOMER_TELEMETRY_DESTINATION_TEST_OUTCOME_VALIDATION_ERROR = 2;
TEAM_CUSTOMER_TELEMETRY_DESTINATION_TEST_OUTCOME_HTTP_ERROR = 3;
TEAM_CUSTOMER_TELEMETRY_DESTINATION_TEST_OUTCOME_REDIRECT = 4;
TEAM_CUSTOMER_TELEMETRY_DESTINATION_TEST_OUTCOME_TIMED_OUT = 5;
TEAM_CUSTOMER_TELEMETRY_DESTINATION_TEST_OUTCOME_TLS_ERROR = 6;
TEAM_CUSTOMER_TELEMETRY_DESTINATION_TEST_OUTCOME_NETWORK_ERROR = 7;
}
// Copied from: local:aiserver.v1.TeamCustomerTelemetryDestinationTestSignal (var: ot)
enum TeamCustomerTelemetryDestinationTestSignal {
TEAM_CUSTOMER_TELEMETRY_DESTINATION_TEST_SIGNAL_UNSPECIFIED = 0;
TEAM_CUSTOMER_TELEMETRY_DESTINATION_TEST_SIGNAL_LOGS = 1;
TEAM_CUSTOMER_TELEMETRY_DESTINATION_TEST_SIGNAL_METRICS = 2;
}
// Copied from: local:aiserver.v1.TeamEnvironment (var: Eu)
message TeamEnvironment {
int64 id = 1;
int32 team_id = 2;
string repo_url = 3;
string environment_json = 4;
int32 created_by_user_id = 5;
int64 created_at_ms = 6;
int64 updated_at_ms = 7;
string scm_repo_node_id = 8;
optional string git_enterprise_uuid = 9;
optional string environment_public_id = 10;
}
// Copied from: local:aiserver.v1.TeamFollowupEnabledMode (var: Be)
enum TeamFollowupEnabledMode {
TEAM_FOLLOWUP_ENABLED_MODE_UNSPECIFIED = 0;
TEAM_FOLLOWUP_ENABLED_MODE_DISABLED = 1;
TEAM_FOLLOWUP_ENABLED_MODE_SERVICE_ACCOUNTS_ONLY = 2;
TEAM_FOLLOWUP_ENABLED_MODE_ALL = 3;
}
// Copied from: local:aiserver.v1.TeamGroup (var: Us)
message TeamGroup {
int64 id = 1;
string name = 2;
int32 team_id = 3;
int64 created_at = 4;
int64 updated_at = 5;
int32 member_count = 6;
string public_id = 7;
}
// Copied from: local:aiserver.v1.TeamGroupMember (var: Vs)
message TeamGroupMember {
int32 user_id = 1;
optional string email = 2;
optional string first_name = 3;
optional string last_name = 4;
int64 joined_at = 5;
}
// Copied from: local:aiserver.v1.TeamHook (var: vy)
message TeamHook {
int32 id = 1;
string hook_step = 2;
string script_name = 3;
repeated string operating_systems = 4;
bool is_active = 5;
optional string script_content = 6;
optional string hook_type = 7;
optional string prompt_content = 8;
optional string prompt_model = 9;
}
// Copied from: local:aiserver.v1.TeamMarketplaceConfig (var: _I)
message TeamMarketplaceConfig {
repeated int64 directory_group_ids = 1;
optional int32 configured_by = 2;
int64 created_at = 3;
int64 updated_at = 4;
repeated MarketplaceAccessGrant access_grants = 5;
}
// Copied from: local:aiserver.v1.TeamMarketplacePluginInstallMode (var: St)
enum TeamMarketplacePluginInstallMode {
TEAM_MARKETPLACE_PLUGIN_INSTALL_MODE_OPTIONAL = 0;
TEAM_MARKETPLACE_PLUGIN_INSTALL_MODE_DEFAULT = 1;
TEAM_MARKETPLACE_PLUGIN_INSTALL_MODE_REQUIRED = 2;
}
// Copied from: local:aiserver.v1.TeamMarketplacePluginPolicy (var: BI)
message TeamMarketplacePluginPolicy {
int64 plugin_id = 1;
TeamMarketplacePluginInstallMode install_mode = 2;
optional int32 configured_by = 3;
int64 created_at = 4;
int64 updated_at = 5;
}
// Copied from: local:aiserver.v1.TeamMember (var: el)
message TeamMember {
string name = 1;
string email = 4;
int32 id = 2;
TeamRole role = 3;
bool is_removed = 5;
TeamMemberBillingTier billing_tier = 6;
TeamMemberBillingTier pending_billing_tier = 7;
bool role_is_managed = 8;
}
// Copied from: local:aiserver.v1.TeamMemberBillingTier (var: he)
enum TeamMemberBillingTier {
TEAM_MEMBER_BILLING_TIER_UNSPECIFIED = 0;
TEAM_MEMBER_BILLING_TIER_TIER_1000 = 1;
TEAM_MEMBER_BILLING_TIER_TIER_2000 = 2;
}
// Copied from: local:aiserver.v1.TeamMemberDomain (var: Tu)
message TeamMemberDomain {
string domain = 1;
int32 member_count = 2;
bool is_enabled = 3;
}
// Copied from: local:aiserver.v1.TeamPluginInstall (var: AE)
message TeamPluginInstall {
int32 team_id = 1;
int64 plugin_id = 2;
optional int32 added_by_user_id = 3;
bool is_required = 4;
int64 created_at = 6;
int64 updated_at = 7;
Plugin plugin = 8;
optional string pinned_git_ref = 10;
}
// Copied from: local:aiserver.v1.TeamPluginPopularityCount (var: CS)
message TeamPluginPopularityCount {
int64 plugin_id = 1;
int32 member_install_count = 2;
}
// Copied from: local:aiserver.v1.TeamPluginPrimitiveUsageRow (var: bS)
message TeamPluginPrimitiveUsageRow {
string primitive_name = 1;
int64 plugin_id = 2;
PluginPrimitiveType primitive_type = 3;
uint64 usage_count = 4;
uint64 human_usage_count = 5;
uint64 agent_usage_count = 6;
}
// Copied from: local:aiserver.v1.TeamRole (var: ge)
enum TeamRole {
TEAM_ROLE_UNSPECIFIED = 0;
TEAM_ROLE_OWNER = 1;
TEAM_ROLE_MEMBER = 2;
TEAM_ROLE_FREE_OWNER = 3;
TEAM_ROLE_REMOVED = 4;
}
// Copied from: local:aiserver.v1.TeamRoleCount (var: fp)
message TeamRoleCount {
TeamRole role = 1;
int32 count = 2;
}
// Copied from: local:aiserver.v1.TeamRuleAgentType (var: ut)
enum TeamRuleAgentType {
TEAM_RULE_AGENT_TYPE_UNSPECIFIED = 0;
TEAM_RULE_AGENT_TYPE_ALL = 1;
TEAM_RULE_AGENT_TYPE_SAND = 2;
TEAM_RULE_AGENT_TYPE_CURSOR = 3;
}
// Copied from: local:aiserver.v1.TeamSkill (var: xE)
message TeamSkill {
}
// Copied from: local:aiserver.v1.TeamSubagent (var: QE)
message TeamSubagent {
}
// Copied from: local:aiserver.v1.TeamWorkerLimitSummary (var: Gp)
message TeamWorkerLimitSummary {
int32 total_connected = 1;
int32 max_workers = 2;
}
// Copied from: local:aiserver.v1.TeamWorkerSummary (var: Qp)
message TeamWorkerSummary {
int32 total_connected = 1;
int32 in_use = 2;
}
// Copied from: local:aiserver.v1.TerminalCmdKOptions (var: d)
message TerminalCmdKOptions {
ModelDetails model_details = 3;
bool chat_mode = 1;
bool ada_cmd_k_context = 2;
optional bool use_web = 4;
}
// Copied from: local:aiserver.v1.TerminalEvent (var: $t)
message TerminalEvent {
// Copied from: local:aiserver.v1.TerminalEvent.CommandFinish (var: rn)
message CommandFinish {
PointInTimeModel point_in_time_model = 1;
optional int32 exit_code = 2;
}
// Copied from: local:aiserver.v1.TerminalEvent.CommandStart (var: nn)
message CommandStart {
PointInTimeModel point_in_time_model = 1;
optional string cwd = 2;
}
// Copied from: local:aiserver.v1.TerminalEvent.Create (var: en)
message Create {
bool is_remote = 1;
}
// Copied from: local:aiserver.v1.TerminalEvent.Exit (var: tn)
message Exit {
optional int32 exit_code = 1;
}
string uri = 1;
oneof event {
Create create = 2;
Exit exit = 3;
CommandStart command_start = 4;
CommandFinish command_finish = 5;
}
}
// Copied from: agent.v1.TerminalMetadata (var: p)
message TerminalMetadata {
// Copied from: agent.v1.TerminalMetadata.Command (var: f)
message Command {
string command = 1;
optional int32 exit_code = 2;
optional int64 timestamp_ms = 3;
optional int64 duration_ms = 4;
}
optional string cwd = 1;
repeated Command last_commands = 2;
optional int64 last_modified_ms = 3;
optional Command current_command = 4;
}
// Copied from: local:aiserver.v1.TerminalTipConfig (var: Xe)
message TerminalTipConfig {
string message = 1;
bool enabled = 2;
}
// Copied from: local:aiserver.v1.TestBedrockCredentialsRequest (var: Ul)
message TestBedrockCredentialsRequest {
string access_key = 1;
string secret_key = 2;
string region = 3;
string model_name = 4;
}
// Copied from: local:aiserver.v1.TestBedrockCredentialsResponse (var: xl)
message TestBedrockCredentialsResponse {
bool success = 1;
optional string error = 2;
}
// Copied from: local:aiserver.v1.TestBidiRequest (var: Ge)
message TestBidiRequest {
string message = 1;
}
// Copied from: local:aiserver.v1.TestBidiResponse (var: He)
message TestBidiResponse {
string message = 1;
}
// Copied from: local:aiserver.v1.TestModelStatusRequest (var: kt)
message TestModelStatusRequest {
string model_name = 1;
}
// Copied from: local:aiserver.v1.TestModelStatusResponse (var: wt)
message TestModelStatusResponse {
string text = 1;
float latency = 2;
float ttft = 3;
float max_time_between_chunks = 4;
string server_timing = 5;
}
// Copied from: local:aiserver.v1.TestTeamCustomerTelemetryDestinationConnectionRequest (var: QT)
message TestTeamCustomerTelemetryDestinationConnectionRequest {
int32 team_id = 1;
string endpoint_url = 2;
optional TeamCustomerTelemetryDestinationHeaders headers = 3;
TeamCustomerTelemetryDestinationTestSignal signal = 4;
}
// Copied from: local:aiserver.v1.TestTeamCustomerTelemetryDestinationConnectionResponse (var: GT)
message TestTeamCustomerTelemetryDestinationConnectionResponse {
bool ok = 1;
TeamCustomerTelemetryDestinationTestOutcome outcome = 2;
optional int32 status_code = 3;
optional int64 latency_ms = 4;
string message = 5;
}
// Copied from: agent.v1.TextDeltaUpdate (var: Aa)
message TextDeltaUpdate {
string text = 1;
bool is_server_notice = 2;
}
// Copied from: agent.v1.ThinkingCompletedUpdate (var: Ea)
message ThinkingCompletedUpdate {
int32 thinking_duration_ms = 1;
}
// Copied from: agent.v1.ThinkingDeltaUpdate (var: wa)
message ThinkingDeltaUpdate {
string text = 1;
optional ThinkingStyle thinking_style = 2;
}
// Copied from: agent.v1.ThinkingStyle (var: Xs)
enum ThinkingStyle {
THINKING_STYLE_UNSPECIFIED = 0;
THINKING_STYLE_DEFAULT = 1;
THINKING_STYLE_CODEX = 2;
THINKING_STYLE_GPT5 = 3;
}
// Copied from: local:aiserver.v1.ThirdPartyUsageNudge (var: $d)
message ThirdPartyUsageNudge {
string experiment_name = 1;
string group = 2;
int32 threshold = 3;
string cycle_id = 4;
string target_model = 5;
string label = 6;
string cta_label = 7;
string nudge_id = 8;
string description = 9;
}
// Copied from: local:aiserver.v1.ThrowErrorCheckRequest (var: os)
message ThrowErrorCheckRequest {
ErrorDetails.Error error = 1;
}
// Copied from: local:aiserver.v1.ThrowErrorCheckResponse (var: is)
message ThrowErrorCheckResponse {
}
// Copied from: local:aiserver.v1.TimeLeftHealthCheckResponse (var: Fs)
message TimeLeftHealthCheckResponse {
string time_left = 1;
}
// Copied from: agent.v1.TimeoutBehavior (var: r)
enum TimeoutBehavior {
TIMEOUT_BEHAVIOR_UNSPECIFIED = 0;
TIMEOUT_BEHAVIOR_CANCEL = 1;
TIMEOUT_BEHAVIOR_BACKGROUND = 2;
}
// Copied from: local:aiserver.v1.TimingInfo (var: y)
message TimingInfo {
double user_input_time = 1;
double stream_cmdk_time = 2;
}
// Copied from: local:aiserver.v1.ToCamelCaseRequest (var: qn)
message ToCamelCaseRequest {
string text = 1;
}
// Copied from: local:aiserver.v1.ToCamelCaseResponse (var: Dn)
message ToCamelCaseResponse {
string text = 1;
}
// Copied from: local:aiserver.v1.TodoItem (var: Vr)
message TodoItem {
string content = 1;
string status = 2;
string id = 3;
repeated string dependencies = 4;
}
// Copied from: local:aiserver.v1.TodoReadParams (var: Hr)
message TodoReadParams {
bool read = 1;
}
// Copied from: local:aiserver.v1.TodoReadResult (var: Yr)
message TodoReadResult {
repeated TodoItem todos = 1;
}
// Copied from: local:aiserver.v1.TodoReadStream (var: Kr)
message TodoReadStream {
}
// Copied from: local:aiserver.v1.TodoWriteParams (var: Wr)
message TodoWriteParams {
repeated TodoItem todos = 1;
bool merge = 2;
}
// Copied from: local:aiserver.v1.TodoWriteResult (var: zr)
message TodoWriteResult {
bool success = 1;
repeated string ready_task_ids = 2;
bool needs_in_progress_todos = 3;
repeated TodoItem final_todos = 4;
repeated TodoItem initial_todos = 5;
bool was_merge = 6;
}
// Copied from: local:aiserver.v1.TodoWriteStream (var: jr)
message TodoWriteStream {
}
// Copied from: local:aiserver.v1.ToggleMarketingEmailOptRequest (var: Jh)
message ToggleMarketingEmailOptRequest {
bool opt_out = 1;
}
// Copied from: local:aiserver.v1.ToggleMarketingEmailOptResponse (var: Ch)
message ToggleMarketingEmailOptResponse {
bool opted_out = 1;
}
// Copied from: agent.v1.TokenDeltaUpdate (var: Sa)
message TokenDeltaUpdate {
int32 tokens = 1;
}
// Copied from: local:aiserver.v1.TokenIndex (var: L)
message TokenIndex {
repeated TokensWithLogprobs tokens_with_logprobs = 1;
string actual_token = 2;
}
// Copied from: local:aiserver.v1.TokenUsage (var: S)
message TokenUsage {
int32 input_tokens = 1;
int32 output_tokens = 2;
int32 cache_write_tokens = 3;
int32 cache_read_tokens = 4;
float total_cents = 5;
optional int32 discount_percent_off = 6;
optional float enterprise_usage_discount_percent = 7;
}
// Copied from: local:aiserver.v1.TokensWithLogprobs (var: M)
message TokensWithLogprobs {
string token = 1;
float log_probability = 2;
}
// Copied from: local:aiserver.v1.ToolCall (var: ut)
message ToolCall {
oneof tool_call {
BuiltinToolCall builtin_tool_call = 1;
CustomToolCall custom_tool_call = 2;
}
}
// Copied from: agent.v1.ToolCallCompletedUpdate (var: Ta)
message ToolCallCompletedUpdate {
string call_id = 1;
ToolCall tool_call = 2;
string model_call_id = 3;
}
// Copied from: agent.v1.ToolCallDelta (var: Jo)
message ToolCallDelta {
oneof delta {
ShellToolCallDelta shell_tool_call_delta = 1;
TaskToolCallDelta task_tool_call_delta = 2;
EditToolCallDelta edit_tool_call_delta = 3;
ReplaceEnvToolCallDelta replace_env_tool_call_delta = 4;
}
}
// Copied from: agent.v1.ToolCallDeltaUpdate (var: ya)
message ToolCallDeltaUpdate {
string call_id = 1;
ToolCallDelta tool_call_delta = 2;
string model_call_id = 3;
}
// Copied from: local:aiserver.v1.ToolCallEvent (var: An)
message ToolCallEvent {
string tool_call_id = 1;
string request_id = 2;
string tool_name = 3;
}
// Copied from: local:aiserver.v1.ToolCallFileSearchParams (var: le)
message ToolCallFileSearchParams {
string query = 1;
}
// Copied from: local:aiserver.v1.ToolCallFileSearchResult (var: me)
message ToolCallFileSearchResult {
// Copied from: local:aiserver.v1.ToolCallFileSearchResult.File (var: ce)
message File {
string uri = 1;
}
repeated File files = 1;
optional bool limit_hit = 2;
int32 num_results = 3;
}
// Copied from: local:aiserver.v1.ToolCallFileSearchStream (var: ue)
message ToolCallFileSearchStream {
string query = 1;
}
// Copied from: agent.v1.ToolCallStartedUpdate (var: _a)
message ToolCallStartedUpdate {
string call_id = 1;
ToolCall tool_call = 2;
string model_call_id = 3;
}
// Copied from: local:aiserver.v1.ToolCallTelemetryEvent (var: L)
message ToolCallTelemetryEvent {
string tool_call_id = 1;
string tool_type = 2;
string chat_request_uuid = 3;
string model_name = 4;
google.protobuf.Timestamp start_time = 5;
google.protobuf.Timestamp end_time = 6;
google.protobuf.Duration duration = 7;
bool is_parallel = 8;
optional int32 parallel_batch_size = 9;
bool success = 10;
optional string error_message = 11;
map<string, string> metadata = 12;
optional google.protobuf.Duration approval_wait_duration = 13;
bool is_stream = 14;
}
// Copied from: local:aiserver.v1.ToolPullRequestResult (var: Ke)
message ToolPullRequestResult {
string sha = 1;
string full_pr_contents = 2;
float score = 3;
optional string title = 4;
optional string summary = 5;
optional uint32 pr_number = 6;
repeated string changed_files = 7;
optional string author = 8;
optional string date = 9;
}
// Copied from: local:aiserver.v1.ToolResult (var: mt)
message ToolResult {
oneof tool_result {
BuiltinToolResult builtin_tool_result = 1;
CustomToolResult custom_tool_result = 2;
ErrorToolResult error_tool_result = 3;
}
}
// Copied from: local:aiserver.v1.ToolResultAttachments (var: G)
message ToolResultAttachments {
// Copied from: local:aiserver.v1.ToolResultAttachments.DiscoveryBudgetReminder (var: H)
message DiscoveryBudgetReminder {
int32 discovery_rounds_remaining = 1;
optional string discovery_effort = 2;
}
// Copied from: local:aiserver.v1.ToolResultAttachments.TodoReminderType (var: a)
enum TodoReminderType {
TODO_REMINDER_TYPE_UNSPECIFIED = 0;
TODO_REMINDER_TYPE_EVERY_10_TURNS = 1;
TODO_REMINDER_TYPE_AFTER_EDIT = 2;
}
repeated TodoItem original_todos = 1;
repeated TodoItem updated_todos = 2;
repeated NudgeMessage nudge_messages = 3;
bool should_show_todo_write_reminder = 4;
TodoReminderType todo_reminder_type = 5;
optional DiscoveryBudgetReminder discovery_budget_reminder = 6;
}
// Copied from: local:aiserver.v1.ToolResultError (var: q)
message ToolResultError {
// Copied from: local:aiserver.v1.ToolResultError.EditFileError (var: D)
message EditFileError {
int32 num_lines_in_file_before_edit = 1;
}
// Copied from: local:aiserver.v1.ToolResultError.SearchReplaceError (var: O)
message SearchReplaceError {
int32 num_lines_in_file_before_edit = 1;
}
string client_visible_error_message = 1;
string model_visible_error_message = 2;
optional string actual_error_message_only_send_from_client_to_server_never_the_other_way_around_because_that_may_be_a_security_risk = 3;
oneof error_details {
EditFileError edit_file_error_details = 5;
SearchReplaceError search_replace_error_details = 6;
}
}
// Copied from: local:aiserver.v1.TraceConfig (var: Ye)
message TraceConfig {
bool enabled = 1;
optional int32 buffer_size = 2;
optional int32 flush_interval_ms = 3;
optional double sample_rate = 4;
optional double internal_sample_rate = 5;
optional double internal_ext_host_sample_rate = 6;
}
// Copied from: local:aiserver.v1.TraceLink (var: N)
message TraceLink {
string trace_id = 1;
string span_id = 2;
optional string trace_state = 3;
map<string, string> attributes = 4;
optional uint32 flags = 5;
}
// Copied from: local:aiserver.v1.TraceSpan (var: J)
message TraceSpan {
string trace_id = 1;
string span_id = 2;
optional string parent_span_id = 3;
string name = 4;
google.protobuf.Timestamp start_time = 5;
google.protobuf.Timestamp end_time = 6;
map<string, string> attributes = 7;
optional bool error = 8;
optional string trace_state = 9;
optional uint32 flags = 10;
optional SpanKind kind = 11;
optional Status status = 12;
repeated TraceLink links = 13;
}
// Copied from: local:aiserver.v1.TrackEventsRequest (var: d)
message TrackEventsRequest {
repeated AnalyticsEvent events = 1;
}
// Copied from: local:aiserver.v1.TrackEventsResponse (var: p)
message TrackEventsResponse {
}
// Copied from: agent.v1.TrackedGitRepo (var: oa)
message TrackedGitRepo {
string repo_path = 1;
string branch_name = 2;
}
// Copied from: local:aiserver.v1.TranscribeAudioRequest (var: Uu)
message TranscribeAudioRequest {
bytes audio = 1;
string mime_type = 2;
optional string language = 3;
}
// Copied from: local:aiserver.v1.TranscribeAudioResponse (var: xu)
message TranscribeAudioResponse {
string text = 1;
int64 transcription_time_ms = 2;
}
// Copied from: local:aiserver.v1.TransientError (var: Id)
message TransientError {
string error_message = 1;
}
// Copied from: local:aiserver.v1.TrialType (var: be)
enum TrialType {
TRIAL_TYPE_UNSPECIFIED = 0;
TRIAL_TYPE_REQUEST = 1;
TRIAL_TYPE_TOKEN = 2;
}
// Copied from: local:aiserver.v1.TriggerCrewStandupRequest (var: rB)
message TriggerCrewStandupRequest {
string crew_id = 1;
string member_id = 2;
string instructions = 3;
}
// Copied from: local:aiserver.v1.TriggerCrewStandupResponse (var: oB)
message TriggerCrewStandupResponse {
int32 triggered_count = 1;
repeated CrewStandupTriggerResult results = 2;
bool skipped = 3;
}
// Copied from: local:aiserver.v1.TriggerEnvironmentBuildRequest (var: Ou)
message TriggerEnvironmentBuildRequest {
string environment_public_id = 1;
optional bool is_draft = 2;
repeated RepoStartingRef refs = 3;
}
// Copied from: local:aiserver.v1.TriggerEnvironmentBuildResponse (var: Uu)
message TriggerEnvironmentBuildResponse {
string build_id = 1;
}
// Copied from: agent.v1.TriggeringUserInfo (var: Ro)
message TriggeringUserInfo {
optional string auth_id = 1;
optional int32 user_id = 2;
}
// Copied from: local:aiserver.v1.TryParseTypeScriptTreeSitterRequest (var: It)
message TryParseTypeScriptTreeSitterRequest {
string workspace_relative_path = 1;
string text = 2;
}
// Copied from: local:aiserver.v1.TryParseTypeScriptTreeSitterResponse (var: vt)
message TryParseTypeScriptTreeSitterResponse {
string text = 1;
}
// Copied from: agent.v1.TurnEndedUpdate (var: Na)
message TurnEndedUpdate {
optional int64 input_tokens = 1;
optional int64 output_tokens = 2;
optional int64 cache_read_tokens = 3;
optional int64 cache_write_tokens = 4;
optional int64 reasoning_tokens = 5;
}
// Copied from: agent.v1.TypeAction (var: g)
message TypeAction {
string text = 1;
}
// Copied from: local:aiserver.v1.URIResolutionAttempt (var: U)
message URIResolutionAttempt {
string workspace_relative_path = 1;
string node_id = 2;
CodeSymbolWithAction symbol = 3;
}
// Copied from: local:aiserver.v1.URIResolutionResult (var: x)
message URIResolutionResult {
URIResolutionAttempt request = 1;
repeated string resolved_paths = 2;
}
// Copied from: local:aiserver.v1.UiBestOfNJudgeCandidate (var: dt)
message UiBestOfNJudgeCandidate {
string composer_id = 1;
GitDiff diff = 2;
}
// Copied from: local:aiserver.v1.UiBestOfNJudgeFinalResult (var: ft)
message UiBestOfNJudgeFinalResult {
string winner_composer_id = 1;
string reasoning = 2;
}
// Copied from: local:aiserver.v1.UndoEditParams (var: Pt)
message UndoEditParams {
}
// Copied from: local:aiserver.v1.UndoEditResult (var: Lt)
message UndoEditResult {
repeated string feedback = 1;
string relative_workspace_path = 4;
int32 context_start_line_number = 2;
repeated string context_lines = 3;
int32 context_total_num_lines = 5;
int32 file_total_lines = 6;
}
// Copied from: local:aiserver.v1.UndoFullSelfDrivingOutputRequest (var: x)
message UndoFullSelfDrivingOutputRequest {
string pr_url = 1;
string bc_id = 2;
string stable_key = 3;
}
// Copied from: local:aiserver.v1.UndoFullSelfDrivingOutputResponse (var: Q)
message UndoFullSelfDrivingOutputResponse {
FullSelfDrivingFinding finding = 1;
}
// Copied from: local:aiserver.v1.UnenrollFromGlassEarlyPreviewRequest (var: Tg)
message UnenrollFromGlassEarlyPreviewRequest {
}
// Copied from: local:aiserver.v1.UnenrollFromGlassEarlyPreviewResponse (var: yg)
message UnenrollFromGlassEarlyPreviewResponse {
}
// Copied from: local:aiserver.v1.UninstallTeamPluginRequest (var: VS)
message UninstallTeamPluginRequest {
int32 team_id = 1;
int64 plugin_id = 2;
}
// Copied from: local:aiserver.v1.UninstallTeamPluginResponse (var: YS)
message UninstallTeamPluginResponse {
bool success = 1;
}
// Copied from: local:aiserver.v1.UninstallUserPluginRequest (var: IS)
message UninstallUserPluginRequest {
int64 plugin_id = 1;
}
// Copied from: local:aiserver.v1.UninstallUserPluginResponse (var: vS)
message UninstallUserPluginResponse {
bool success = 1;
}
// Copied from: local:aiserver.v1.UniqueFileIdentifier (var: wi)
message UniqueFileIdentifier {
string project_uuid = 1;
string relative_path = 2;
optional string language_id = 3;
}
// Copied from: local:aiserver.v1.UnlinkJiraUserRequest (var: Pv)
message UnlinkJiraUserRequest {
string cloud_id = 1;
string jira_account_id = 2;
}
// Copied from: local:aiserver.v1.UnlinkJiraUserResponse (var: bv)
message UnlinkJiraUserResponse {
bool success = 1;
}
// Copied from: local:aiserver.v1.UnlinkPluginsFromTeamMarketplaceRequest (var: qI)
message UnlinkPluginsFromTeamMarketplaceRequest {
repeated string plugin_ids = 1;
int64 marketplace_id = 2;
}
// Copied from: local:aiserver.v1.UnlinkPluginsFromTeamMarketplaceResponse (var: DI)
message UnlinkPluginsFromTeamMarketplaceResponse {
bool success = 1;
}
// Copied from: local:aiserver.v1.UnlinkSlackAccessRequest (var: RA)
message UnlinkSlackAccessRequest {
}
// Copied from: local:aiserver.v1.UnlinkSlackAccessResponse (var: PA)
message UnlinkSlackAccessResponse {
bool success = 1;
}
// Copied from: local:aiserver.v1.UnpublishPluginRequest (var: KE)
message UnpublishPluginRequest {
int64 plugin_id = 1;
optional int32 team_id = 2;
optional string commit_message = 3;
}
// Copied from: local:aiserver.v1.UnpublishPluginResponse (var: WE)
message UnpublishPluginResponse {
string commit_sha = 1;
}
// Copied from: local:aiserver.v1.UnresolveReviewThreadRequest (var: Qc)
message UnresolveReviewThreadRequest {
string pr_url = 1;
string thread_id = 2;
}
// Copied from: local:aiserver.v1.UnresolveReviewThreadResponse (var: Gc)
message UnresolveReviewThreadResponse {
bool success = 1;
}
// Copied from: local:aiserver.v1.UnshareAgentStoreRequest (var: og)
message UnshareAgentStoreRequest {
string share_id = 1;
}
// Copied from: local:aiserver.v1.UnshareAgentStoreResponse (var: ig)
message UnshareAgentStoreResponse {
}
// Copied from: local:aiserver.v1.UnshareBackgroundComposerArtifactRequest (var: Zm)
message UnshareBackgroundComposerArtifactRequest {
string artifact_id = 1;
}
// Copied from: local:aiserver.v1.UnshareBackgroundComposerArtifactResponse (var: $m)
message UnshareBackgroundComposerArtifactResponse {
optional BackgroundComposerSharedArtifact artifact = 1;
}
// Copied from: local:aiserver.v1.UnsubscribeRepositoryRequest (var: He)
message UnsubscribeRepositoryRequest {
RepositoryInfo repository = 1;
}
// Copied from: local:aiserver.v1.UnsubscribeRepositoryResponse (var: Ve)
message UnsubscribeRepositoryResponse {
// Copied from: local:aiserver.v1.UnsubscribeRepositoryResponse.Status (var: E)
enum Status {
STATUS_UNSPECIFIED = 0;
STATUS_NOT_FOUND = 1;
STATUS_NOT_SUBSCRIBED = 2;
STATUS_SUCCESS = 3;
}
Status status = 1;
}
// Copied from: local:aiserver.v1.UpdateAllGithubRepoSettingsFailure (var: af)
message UpdateAllGithubRepoSettingsFailure {
// Copied from: local:aiserver.v1.UpdateAllGithubRepoSettingsFailure.Reason (var: Ut)
enum Reason {
REASON_UNSPECIFIED = 0;
REASON_INTERNAL = 1;
REASON_BITBUCKET_WORKSPACE_UNLINKED = 2;
REASON_BITBUCKET_WORKSPACE_LINKED_TO_OTHER_TEAM = 3;
REASON_BITBUCKET_WORKSPACE_CONNECTION_UNVERIFIABLE = 4;
}
string repo_node_id = 1;
Reason reason = 2;
}
// Copied from: local:aiserver.v1.UpdateAllGithubRepoSettingsRequest (var: of)
message UpdateAllGithubRepoSettingsRequest {
int64 installation_id = 1;
bool bug_bot_enabled = 2;
optional int32 total_pages = 3;
optional bool include_all_team_owned_repos = 5;
optional string ghe_application = 6;
optional int32 team_id = 7;
}
// Copied from: local:aiserver.v1.UpdateAllGithubRepoSettingsResponse (var: lf)
message UpdateAllGithubRepoSettingsResponse {
int32 updated_count = 1;
bool async_operation_started = 2;
bool async_operation_already_in_progress = 3;
repeated string failed_repo_node_ids = 4;
repeated UpdateAllGithubRepoSettingsFailure failures = 5;
}
// Copied from: local:aiserver.v1.UpdateBackgroundComposerEnvironmentRequest (var: no)
message UpdateBackgroundComposerEnvironmentRequest {
string bc_id = 1;
bool replace = 2;
}
// Copied from: local:aiserver.v1.UpdateBackgroundComposerEnvironmentResponse (var: ro)
message UpdateBackgroundComposerEnvironmentResponse {
uint32 applied = 1;
uint32 removed = 2;
}
// Copied from: local:aiserver.v1.UpdateBackgroundComposerExperimentalModelOptOutRequest (var: co)
message UpdateBackgroundComposerExperimentalModelOptOutRequest {
string bc_id = 1;
bool use_experimental_model_opt_out = 2;
}
// Copied from: local:aiserver.v1.UpdateBackgroundComposerExperimentalModelOptOutResponse (var: po)
message UpdateBackgroundComposerExperimentalModelOptOutResponse {
}
// Copied from: local:aiserver.v1.UpdateBackgroundComposerSecretRequest (var: ko)
message UpdateBackgroundComposerSecretRequest {
string name = 1;
bool team_scope = 2;
repeated string scoped_to_repos = 3;
BackgroundComposerSecretLevel level = 4;
optional string value = 5;
int32 id = 6;
BackgroundComposerSecretOwner owner = 7;
}
// Copied from: local:aiserver.v1.UpdateBackgroundComposerSecretResponse (var: wo)
message UpdateBackgroundComposerSecretResponse {
}
// Copied from: local:aiserver.v1.UpdateBackgroundComposerUserSettingsRequest (var: lc)
message UpdateBackgroundComposerUserSettingsRequest {
optional string model_name = 1;
optional bool slack_notifications_for_web_enabled = 2;
optional bool ci_failure_followup_enabled = 3;
optional bool browser_use_enabled = 4;
optional AutoCreatePrSetting auto_create_pr_setting = 5;
optional PrReviewOpenDestinationMode pr_review_open_destination = 6;
optional GithubArtifactPostingMode github_artifact_posting = 7;
optional CloudAgentEgressProtectionMode egress_protection_mode = 8;
optional BackgroundComposerUserEgressPolicy egress_policy = 9;
optional string branch_prefix = 10;
optional BackgroundComposerQuickActionSettings quick_action_settings = 11;
optional bool allow_private_workers = 12;
optional string bc_id = 13;
optional string default_environment_public_id = 14;
repeated BackgroundComposerDefaultEnvironmentSetting default_environment_settings = 15;
optional bool remote_control_enabled = 16;
optional PrReviewOpenSurfaceMode pr_review_open_surface = 17;
repeated string sidebar_named_agent_ids = 18;
optional bool sidebar_named_agent_ids_explicitly_set = 19;
optional CloudAgentModelSelection default_model_selection = 20;
optional int32 ask_question_auto_answer_timeout_minutes = 21;
}
// Copied from: local:aiserver.v1.UpdateBackgroundComposerUserSettingsResponse (var: uc)
message UpdateBackgroundComposerUserSettingsResponse {
}
// Copied from: local:aiserver.v1.UpdateBitbucketServerInstanceTokenRequest (var: Sn)
message UpdateBitbucketServerInstanceTokenRequest {
// Copied from: local:aiserver.v1.UpdateBitbucketServerInstanceTokenRequest.ClearToken (var: vn)
message ClearToken {
}
// Copied from: local:aiserver.v1.UpdateBitbucketServerInstanceTokenRequest.SetToken (var: In)
message SetToken {
string access_token = 1;
}
string uuid = 1;
oneof action {
SetToken set_token = 2;
ClearToken clear_token = 3;
}
}
// Copied from: local:aiserver.v1.UpdateBitbucketServerInstanceTokenResponse (var: Bn)
message UpdateBitbucketServerInstanceTokenResponse {
}
// Copied from: local:aiserver.v1.UpdateBugBotProUserModeRequest (var: sy)
message UpdateBugBotProUserModeRequest {
BugbotMode mode = 1;
repeated BugbotModePrompt prompts = 2;
optional bool smart_frontier_enabled = 3;
}
// Copied from: local:aiserver.v1.UpdateBugBotProUserModeResponse (var: oy)
message UpdateBugBotProUserModeResponse {
BugbotMode mode = 1;
repeated BugbotModePrompt prompts = 2;
bool smart_frontier_enabled = 3;
bool frontier_available = 4;
}
// Copied from: local:aiserver.v1.UpdateBugBotProUserSettingsRequest (var: cg)
message UpdateBugBotProUserSettingsRequest {
bool enabled = 1;
}
// Copied from: local:aiserver.v1.UpdateBugBotProUserSettingsResponse (var: dg)
message UpdateBugBotProUserSettingsResponse {
}
// Copied from: local:aiserver.v1.UpdateBugbotLearnedRuleRequest (var: dk)
message UpdateBugbotLearnedRuleRequest {
string rule_id = 1;
int64 installation_id = 2;
optional string ghe_application = 3;
optional string name = 4;
optional string content = 5;
optional string status = 6;
repeated string scoped_paths = 7;
}
// Copied from: local:aiserver.v1.UpdateBugbotLearnedRuleResponse (var: pk)
message UpdateBugbotLearnedRuleResponse {
BugbotLearnedRule rule = 1;
}
// Copied from: local:aiserver.v1.UpdateBugbotManualRepositoryRuleRequest (var: kk)
message UpdateBugbotManualRepositoryRuleRequest {
string rule_id = 1;
int64 installation_id = 2;
optional string ghe_application = 3;
optional string name = 4;
optional string content = 5;
optional string status = 6;
repeated string scoped_paths = 7;
}
// Copied from: local:aiserver.v1.UpdateBugbotManualRepositoryRuleResponse (var: wk)
message UpdateBugbotManualRepositoryRuleResponse {
BugbotManualRepositoryRule rule = 1;
}
// Copied from: local:aiserver.v1.UpdateBugbotModeRequest (var: ey)
message UpdateBugbotModeRequest {
BugbotMode mode = 1;
repeated BugbotModePrompt prompts = 2;
optional bool smart_frontier_enabled = 3;
optional int32 team_id = 4;
}
// Copied from: local:aiserver.v1.UpdateBugbotModeResponse (var: ty)
message UpdateBugbotModeResponse {
BugbotMode mode = 1;
repeated BugbotModePrompt prompts = 2;
bool smart_frontier_enabled = 3;
bool frontier_available = 4;
}
// Copied from: local:aiserver.v1.UpdateBugbotTeamRuleRequest (var: ok)
message UpdateBugbotTeamRuleRequest {
string rule_id = 1;
optional string name = 2;
optional string content = 3;
optional bool is_active = 4;
optional bool is_required = 5;
optional int32 team_id = 6;
}
// Copied from: local:aiserver.v1.UpdateBugbotTeamRuleResponse (var: ik)
message UpdateBugbotTeamRuleResponse {
BugbotRule rule = 1;
}
// Copied from: local:aiserver.v1.UpdateBugbotUserSettingsRequest (var: Mf)
message UpdateBugbotUserSettingsRequest {
bool manual_trigger_only = 1;
bool run_only_once = 2;
bool suppress_no_bugs_comments = 3;
optional bool enable_draft = 4;
optional bool is_pr_summary_enabled = 5;
BugbotAutofixMode bugbot_autofix_mode = 6;
bool enable_vm_run = 7;
bool fail_github_action_on_bugbot_findings = 8;
repeated string bugbot_autofix_severity_filter = 9;
optional bool is_incremental_review_enabled = 10;
optional bool is_pr_risk_score_enabled = 11;
}
// Copied from: local:aiserver.v1.UpdateBugbotUserSettingsResponse (var: Lf)
message UpdateBugbotUserSettingsResponse {
}
// Copied from: local:aiserver.v1.UpdateConfig (var: Qe)
message UpdateConfig {
// Copied from: local:aiserver.v1.UpdateConfig.UpdateMode (var: T)
enum UpdateMode {
UPDATE_MODE_UNSPECIFIED = 0;
UPDATE_MODE_ONE_TIME = 1;
}
string release_track = 1;
UpdateMode mode = 2;
optional int32 applied_at = 3;
}
// Copied from: local:aiserver.v1.UpdateCrewRequest (var: Kv)
message UpdateCrewRequest {
Crew crew = 1;
}
// Copied from: local:aiserver.v1.UpdateCrewResponse (var: Wv)
message UpdateCrewResponse {
Crew crew = 1;
optional CrewSlackChannelStatus slack_channel_status = 2;
bool annotations_refreshed = 3;
optional CrewScheduleStatus schedule_status = 4;
}
// Copied from: local:aiserver.v1.UpdateDirectoryGroupSettingsRequest (var: o_)
message UpdateDirectoryGroupSettingsRequest {
int32 directory_group_id = 1;
optional int32 hard_limit_per_user_dollars = 2;
int32 per_user_monthly_limit_dollars = 4;
AutoRunControls auto_run_controls = 3;
int32 team_id = 5;
optional AllowedMCPConfiguration allowed_mcp_configuration = 6;
}
// Copied from: local:aiserver.v1.UpdateDirectoryGroupSettingsResponse (var: i_)
message UpdateDirectoryGroupSettingsResponse {
}
// Copied from: local:aiserver.v1.UpdateEnvironmentBuildRequest (var: qu)
message UpdateEnvironmentBuildRequest {
string build_id = 1;
optional bool is_draft = 2;
}
// Copied from: local:aiserver.v1.UpdateEnvironmentBuildResponse (var: Du)
message UpdateEnvironmentBuildResponse {
EnvironmentBuildRow row = 1;
}
// Copied from: local:aiserver.v1.UpdateEnvironmentBuildSettingsRequest (var: Wu)
message UpdateEnvironmentBuildSettingsRequest {
string environment_public_id = 1;
optional bool fast_forward_default_branch = 2;
bool clear_fast_forward_default_branch = 3;
optional bool builds_enabled = 4;
bool clear_builds_enabled = 5;
}
// Copied from: local:aiserver.v1.UpdateEnvironmentBuildSettingsResponse (var: zu)
message UpdateEnvironmentBuildSettingsResponse {
EnvironmentBuildSettings settings = 1;
}
// Copied from: local:aiserver.v1.UpdateFastRequestsRequest (var: Dn)
message UpdateFastRequestsRequest {
int32 request_quota = 1;
}
// Copied from: local:aiserver.v1.UpdateFastRequestsResponse (var: On)
message UpdateFastRequestsResponse {
}
// Copied from: local:aiserver.v1.UpdateFileRequest (var: De)
message UpdateFileRequest {
RepositoryInfo repository = 1;
File added_file = 2;
optional string deleted_file_path = 3;
string commit_sha = 4;
string queue_id = 5;
}
// Copied from: local:aiserver.v1.UpdateFileResponse (var: Oe)
message UpdateFileResponse {
// Copied from: local:aiserver.v1.UpdateFileResponse.Status (var: k)
enum Status {
STATUS_UNSPECIFIED = 0;
STATUS_SUCCESS = 1;
STATUS_FAILURE = 2;
STATUS_EXPECTED_FAILURE = 3;
STATUS_QUEUE_BACKED_UP = 4;
}
Status status = 1;
}
// Copied from: local:aiserver.v1.UpdateFullSelfDrivingFindingStatusRequest (var: K)
message UpdateFullSelfDrivingFindingStatusRequest {
string pr_url = 1;
string bc_id = 2;
string stable_key = 3;
string status = 4;
}
// Copied from: local:aiserver.v1.UpdateFullSelfDrivingFindingStatusResponse (var: W)
message UpdateFullSelfDrivingFindingStatusResponse {
FullSelfDrivingFinding finding = 1;
}
// Copied from: local:aiserver.v1.UpdateFullSelfDrivingOutputRequest (var: L)
message UpdateFullSelfDrivingOutputRequest {
string pr_url = 1;
string bc_id = 2;
string stable_key = 3;
optional string title = 4;
optional string body = 5;
optional string status = 6;
optional string severity = 7;
optional bool clear_severity = 8;
optional string action = 9;
optional bool clear_action = 10;
google.protobuf.Struct payload = 11;
}
// Copied from: local:aiserver.v1.UpdateFullSelfDrivingOutputResponse (var: F)
message UpdateFullSelfDrivingOutputResponse {
FullSelfDrivingFinding finding = 1;
}
// Copied from: local:aiserver.v1.UpdateFullSelfDrivingPrConfigRequest (var: ag)
message UpdateFullSelfDrivingPrConfigRequest {
string pr_url = 1;
optional bool enabled = 2;
optional FullSelfDrivingMode mode = 3;
optional int32 team_id = 4;
}
// Copied from: local:aiserver.v1.UpdateFullSelfDrivingPrConfigResponse (var: lg)
message UpdateFullSelfDrivingPrConfigResponse {
FullSelfDrivingActiveAgent agent = 1;
}
// Copied from: local:aiserver.v1.UpdateFullSelfDrivingTeamSettingsRequest (var: Wf)
message UpdateFullSelfDrivingTeamSettingsRequest {
int32 team_id = 1;
optional FullSelfDrivingMode default_mode = 2;
optional bool only_cloud_agent_prs = 3;
optional bool globally_disabled = 4;
optional bool auto_create_on_first_pr_push = 5;
}
// Copied from: local:aiserver.v1.UpdateFullSelfDrivingTeamSettingsResponse (var: zf)
message UpdateFullSelfDrivingTeamSettingsResponse {
FullSelfDrivingTeamSettings settings = 1;
}
// Copied from: local:aiserver.v1.UpdateFullSelfDrivingUserSettingsRequest (var: Df)
message UpdateFullSelfDrivingUserSettingsRequest {
optional FullSelfDrivingMode default_mode = 1;
optional bool only_cloud_agent_prs = 2;
optional bool globally_disabled = 3;
optional bool auto_create_on_first_pr_push = 4;
optional bool slack_notifications_enabled = 5;
optional string fsd_slack_channel_id = 6;
optional string default_model = 7;
}
// Copied from: local:aiserver.v1.UpdateFullSelfDrivingUserSettingsResponse (var: Of)
message UpdateFullSelfDrivingUserSettingsResponse {
FullSelfDrivingMode default_mode = 1;
bool only_cloud_agent_prs = 2;
bool globally_disabled = 3;
bool auto_create_on_first_pr_push = 4;
bool slack_notifications_enabled = 5;
optional string fsd_slack_channel_id = 6;
optional string default_model = 7;
}
// Copied from: local:aiserver.v1.UpdateGithubInstallationSettingsRequest (var: Xp)
message UpdateGithubInstallationSettingsRequest {
int64 installation_id = 1;
InstallationSettings settings = 2;
optional string ghe_application = 4;
optional int32 team_id = 5;
}
// Copied from: local:aiserver.v1.UpdateGithubInstallationSettingsResponse (var: Zp)
message UpdateGithubInstallationSettingsResponse {
}
// Copied from: local:aiserver.v1.UpdateGithubInstallationTeamScopeRequest (var: $p)
message UpdateGithubInstallationTeamScopeRequest {
int64 installation_id = 1;
optional string ghe_application = 2;
int32 team_id = 3;
}
// Copied from: local:aiserver.v1.UpdateGithubInstallationTeamScopeResponse (var: ef)
message UpdateGithubInstallationTeamScopeResponse {
}
// Copied from: local:aiserver.v1.UpdateGithubRepoSettingsRequest (var: zp)
message UpdateGithubRepoSettingsRequest {
RepoIdentifier repo = 1;
RepoSettings settings = 2;
optional bool skip_write_access_check = 3;
optional string ghe_application = 4;
optional int32 team_id = 5;
}
// Copied from: local:aiserver.v1.UpdateGithubRepoSettingsResponse (var: jp)
message UpdateGithubRepoSettingsResponse {
}
// Copied from: local:aiserver.v1.UpdateGroupRequest (var: k_)
message UpdateGroupRequest {
int32 group_id = 1;
int32 team_id = 2;
optional string name = 3;
optional GroupType type = 4;
optional int32 directory_group_id = 5;
}
// Copied from: local:aiserver.v1.UpdateGroupResponse (var: w_)
message UpdateGroupResponse {
Group group = 1;
}
// Copied from: local:aiserver.v1.UpdateJiraRoutingRuleRequest (var: Ev)
message UpdateJiraRoutingRuleRequest {
int32 team_id = 1;
int64 rule_id = 2;
string repo = 3;
string rule_text = 4;
}
// Copied from: local:aiserver.v1.UpdateJiraRoutingRuleResponse (var: Sv)
message UpdateJiraRoutingRuleResponse {
JiraRoutingRule rule = 1;
}
// Copied from: local:aiserver.v1.UpdateJiraTeamSettingsRequest (var: hv)
message UpdateJiraTeamSettingsRequest {
int32 team_id = 1;
optional bool require_user_auth = 2;
}
// Copied from: local:aiserver.v1.UpdateJiraTeamSettingsResponse (var: Av)
message UpdateJiraTeamSettingsResponse {
}
// Copied from: local:aiserver.v1.UpdateLinearProjectSettingRequest (var: mA)
message UpdateLinearProjectSettingRequest {
optional int32 team_id = 1;
string linear_team_id = 2;
string project_id = 3;
LinearRunOption run_option = 4;
string conditions = 5;
}
// Copied from: local:aiserver.v1.UpdateLinearProjectSettingResponse (var: cA)
message UpdateLinearProjectSettingResponse {
bool success = 1;
}
// Copied from: local:aiserver.v1.UpdateLinearTeamSettingRequest (var: lA)
message UpdateLinearTeamSettingRequest {
optional int32 team_id = 1;
string linear_team_id = 2;
LinearRunOption default_run_option = 3;
string default_conditions = 4;
LabelFilterMode label_filter_mode = 5;
repeated string required_label_ids = 6;
optional int32 autorun_as_user_id = 7;
}
// Copied from: local:aiserver.v1.UpdateLinearTeamSettingResponse (var: uA)
message UpdateLinearTeamSettingResponse {
bool success = 1;
}
// Copied from: local:aiserver.v1.UpdateMarketplaceRequest (var: oI)
message UpdateMarketplaceRequest {
int64 marketplace_id = 1;
optional string name = 2;
optional string description = 3;
optional bool auto_reindex = 4;
optional int32 team_id = 5;
optional string display_name = 6;
optional bool allow_user_publish = 7;
}
// Copied from: local:aiserver.v1.UpdateMarketplaceResponse (var: iI)
message UpdateMarketplaceResponse {
Marketplace marketplace = 1;
}
// Copied from: local:aiserver.v1.UpdateOrganizationGroupAutoReviewSettingsRequest (var: Js)
message UpdateOrganizationGroupAutoReviewSettingsRequest {
string organization_id = 1;
int64 group_id = 2;
AutoReviewInstructions auto_review = 3;
}
// Copied from: local:aiserver.v1.UpdateOrganizationGroupAutoReviewSettingsResponse (var: Cs)
message UpdateOrganizationGroupAutoReviewSettingsResponse {
}
// Copied from: local:aiserver.v1.UpdateOrganizationGroupAutorunSettingsRequest (var: ys)
message UpdateOrganizationGroupAutorunSettingsRequest {
string organization_id = 1;
int64 group_id = 2;
AutoRunControls auto_run_controls = 3;
}
// Copied from: local:aiserver.v1.UpdateOrganizationGroupAutorunSettingsResponse (var: ks)
message UpdateOrganizationGroupAutorunSettingsResponse {
}
// Copied from: local:aiserver.v1.UpdateOrganizationGroupMemberRequest (var: us)
message UpdateOrganizationGroupMemberRequest {
string organization_id = 1;
int64 group_id = 2;
int32 user_id = 3;
optional int32 monthly_spending_limit_dollars = 4;
bool clear_monthly_spending_limit_dollars = 5;
}
// Copied from: local:aiserver.v1.UpdateOrganizationGroupMemberResponse (var: ms)
message UpdateOrganizationGroupMemberResponse {
OrganizationGroupMember member = 1;
}
// Copied from: local:aiserver.v1.UpdateOrganizationGroupModelAllowlistRequest (var: Ss)
message UpdateOrganizationGroupModelAllowlistRequest {
string organization_id = 1;
int64 group_id = 2;
optional ModelAllowlist model_allowlist = 3;
}
// Copied from: local:aiserver.v1.UpdateOrganizationGroupModelAllowlistResponse (var: Is)
message UpdateOrganizationGroupModelAllowlistResponse {
}
// Copied from: local:aiserver.v1.UpdateOrganizationGroupRequest (var: fs)
message UpdateOrganizationGroupRequest {
string organization_id = 1;
int64 group_id = 2;
string name = 3;
optional int32 monthly_spending_limit_dollars = 4;
bool clear_monthly_spending_limit_dollars = 5;
}
// Copied from: local:aiserver.v1.UpdateOrganizationGroupResponse (var: gs)
message UpdateOrganizationGroupResponse {
OrganizationGroup group = 1;
}
// Copied from: local:aiserver.v1.UpdateOrganizationGroupSmartAutoSettingsRequest (var: Ps)
message UpdateOrganizationGroupSmartAutoSettingsRequest {
string organization_id = 1;
int64 group_id = 2;
SmartAutoSettings settings = 3;
optional bool new_chat_nudge_all_to_smart_auto = 4;
optional bool models_auto_only = 5;
optional string new_chat_nudge_all_to_smart_auto_optimize_for = 6;
}
// Copied from: local:aiserver.v1.UpdateOrganizationGroupSmartAutoSettingsResponse (var: bs)
message UpdateOrganizationGroupSmartAutoSettingsResponse {
}
// Copied from: local:aiserver.v1.UpdateOrganizationIdentityProviderResponse (var: Tr)
message UpdateOrganizationIdentityProviderResponse {
OrganizationIdentityProvider provider = 1;
}
// Copied from: local:aiserver.v1.UpdateOrganizationIdentityProviderSsoSettingsRequest (var: gr)
message UpdateOrganizationIdentityProviderSsoSettingsRequest {
string organization_id = 1;
string identity_provider_public_id = 2;
bool allow_sso = 3;
}
// Copied from: local:aiserver.v1.UpdateOrganizationRequest (var: Vr)
message UpdateOrganizationRequest {
string organization_id = 1;
string name = 2;
}
// Copied from: local:aiserver.v1.UpdateOrganizationResponse (var: Yr)
message UpdateOrganizationResponse {
string name = 1;
}
// Copied from: local:aiserver.v1.UpdateOrganizationTeamRequest (var: Kr)
message UpdateOrganizationTeamRequest {
string organization_id = 1;
int32 team_id = 2;
string name = 3;
string slug = 4;
}
// Copied from: local:aiserver.v1.UpdateOrganizationTeamResponse (var: Wr)
message UpdateOrganizationTeamResponse {
string name = 1;
string slug = 2;
}
// Copied from: local:aiserver.v1.UpdatePendingFollowupRequest (var: cl)
message UpdatePendingFollowupRequest {
string bc_id = 1;
string followup_id = 2;
ConversationMessage updated_message = 3;
}
// Copied from: local:aiserver.v1.UpdatePendingFollowupResponse (var: dl)
message UpdatePendingFollowupResponse {
bool success = 1;
string error_message = 2;
}
// Copied from: agent.v1.UpdatePrAction (var: Kt)
message UpdatePrAction {
optional string pr_url = 1;
optional string title = 2;
optional string body = 3;
optional string base_branch = 4;
optional string branch_name = 5;
repeated string add_labels = 6;
repeated string remove_labels = 7;
optional string repo_url = 8;
}
// Copied from: local:aiserver.v1.UpdateProjectParams (var: Is)
message UpdateProjectParams {
repeated UpdateProjectStringReplacement string_replacements = 1;
string summary = 2;
}
// Copied from: local:aiserver.v1.UpdateProjectResult (var: vs)
message UpdateProjectResult {
bool success = 1;
string updated_plan = 2;
}
// Copied from: local:aiserver.v1.UpdateProjectStream (var: Bs)
message UpdateProjectStream {
}
// Copied from: local:aiserver.v1.UpdateProjectStringReplacement (var: Ss)
message UpdateProjectStringReplacement {
string old_string = 1;
string new_string = 2;
}
// Copied from: local:aiserver.v1.UpdatePullRequestBranchRequest (var: gd)
message UpdatePullRequestBranchRequest {
string pr_url = 1;
}
// Copied from: local:aiserver.v1.UpdatePullRequestBranchResponse (var: hd)
message UpdatePullRequestBranchResponse {
bool success = 1;
string error = 2;
optional string new_head_sha = 3;
}
// Copied from: local:aiserver.v1.UpdateRoleRequest (var: Eu)
message UpdateRoleRequest {
int32 team_id = 1;
int32 user_id = 2;
TeamRole role = 3;
}
// Copied from: local:aiserver.v1.UpdateRoleResponse (var: Su)
message UpdateRoleResponse {
}
// Copied from: local:aiserver.v1.UpdateScimDirectorySyncSettingsRequest (var: W_)
message UpdateScimDirectorySyncSettingsRequest {
string organization_id = 1;
int64 scim_directory_id = 2;
optional bool sync_directory_users_to_root_team = 3;
}
// Copied from: local:aiserver.v1.UpdateScimDirectorySyncSettingsResponse (var: z_)
message UpdateScimDirectorySyncSettingsResponse {
ScimDirectory directory = 1;
}
// Copied from: local:aiserver.v1.UpdateSelfGithubAllowlistRequest (var: uf)
message UpdateSelfGithubAllowlistRequest {
// Copied from: local:aiserver.v1.UpdateSelfGithubAllowlistRequest.Operation (var: xt)
enum Operation {
OPERATION_UNSPECIFIED = 0;
OPERATION_ADD = 1;
OPERATION_REMOVE = 2;
}
int64 installation_id = 1;
Operation operation = 2;
optional string ghe_application = 4;
}
// Copied from: local:aiserver.v1.UpdateSelfGithubAllowlistResponse (var: mf)
message UpdateSelfGithubAllowlistResponse {
repeated string allowlist = 1;
}
// Copied from: local:aiserver.v1.UpdateServiceAccountRepoScopeRequest (var: tu)
message UpdateServiceAccountRepoScopeRequest {
int32 team_id = 1;
string service_account_id = 2;
int32 api_key_id = 3;
repeated string repo_scope = 4;
bool repo_scope_enabled = 5;
}
// Copied from: local:aiserver.v1.UpdateServiceAccountRepoScopeResponse (var: nu)
message UpdateServiceAccountRepoScopeResponse {
ServiceAccountKeyInfo api_key = 1;
}
// Copied from: local:aiserver.v1.UpdateSharedConversationVisibilityRequest (var: iw)
message UpdateSharedConversationVisibilityRequest {
string share_id = 1;
SharedConversationVisibility visibility = 2;
}
// Copied from: local:aiserver.v1.UpdateSharedConversationVisibilityResponse (var: aw)
message UpdateSharedConversationVisibilityResponse {
bool success = 1;
}
// Copied from: local:aiserver.v1.UpdateSlackRepoRoutingRuleRequest (var: QA)
message UpdateSlackRepoRoutingRuleRequest {
int32 team_id = 1;
string rule_id = 2;
string pattern = 3;
string repo = 4;
SlackRoutingRuleTargetType target_type = 5;
optional string environment_public_id = 6;
}
// Copied from: local:aiserver.v1.UpdateSlackRepoRoutingRuleResponse (var: GA)
message UpdateSlackRepoRoutingRuleResponse {
SlackRepoRoutingRule rule = 1;
}
// Copied from: local:aiserver.v1.UpdateSlackTeamSettingsRequest (var: xa)
message UpdateSlackTeamSettingsRequest {
int32 team_id = 1;
string default_repo = 2;
string default_branch = 3;
string default_model = 4;
bool share_summary = 5;
bool share_summary_in_external_channel = 6;
repeated SlackChannelRepoMapping channel_repo_mappings = 7;
optional bool use_github_app_for_auto_draft_prs = 8;
string branch_prefix = 9;
optional CloudAgentModelSelection default_model_selection = 10;
}
// Copied from: local:aiserver.v1.UpdateSlackTeamSettingsResponse (var: Qa)
message UpdateSlackTeamSettingsResponse {
}
// Copied from: local:aiserver.v1.UpdateSlackUserSettingsRequest (var: bA)
message UpdateSlackUserSettingsRequest {
int32 team_id = 1;
string default_repo = 2;
string default_branch = 3;
string default_model = 4;
bool open_pr_by_default = 5;
optional bool use_github_app_for_auto_draft_prs = 6;
bool ci_failure_followup_enabled = 7;
string branch_prefix = 8;
optional CloudAgentModelSelection default_model_selection = 9;
}
// Copied from: local:aiserver.v1.UpdateSlackUserSettingsResponse (var: MA)
message UpdateSlackUserSettingsResponse {
}
// Copied from: local:aiserver.v1.UpdateTeamAdminSettingsRequest (var: Wc)
message UpdateTeamAdminSettingsRequest {
int32 team_id = 1;
repeated string allowed_models = 2;
repeated string blocked_models = 3;
AutoRunControls auto_run_controls = 4;
CursorIgnoreControls cursor_ignore_controls = 5;
bool dot_cursor_protection = 6;
optional AllowedMCPConfiguration allowed_mcp_configuration = 7;
optional BackgroundAgentSettings background_agent_settings = 8;
optional CliSettings cli_settings = 9;
optional MCPControls mcp_controls = 10;
optional PromptDeeplinkControls prompt_deeplink_controls = 11;
optional CommandDeeplinkControls command_deeplink_controls = 12;
optional DeeplinkControls deeplink_controls = 13;
optional GithubIntegrationSettings github_integration_settings = 14;
optional SlackIntegrationSettings slack_integration_settings = 15;
optional LinearIntegrationSettings linear_integration_settings = 16;
optional WorkspaceTrustControls workspace_trust_controls = 17;
optional GitlabIntegrationSettings gitlab_integration_settings = 18;
optional bool browser_features = 19;
repeated string browser_origin_allowlist = 24;
optional bool byok_disabled = 20;
optional bool dashboard_analytics_requires_admin = 21;
optional SharedConversationSettings shared_conversation_settings = 22;
optional string allowed_extensions = 23;
optional bool disable_conversation_insights = 25;
optional CursorBlameSettings cursor_blame_settings = 26;
repeated string network_denylist = 27;
repeated string network_allowlist = 28;
optional ExtensionSigningSettings extension_signing_settings = 29;
optional bool enforce_invite_domain_on_accept = 30;
optional FirstPartyPluginConfiguration first_party_plugin_configuration = 31;
optional AttributionControls attribution_controls = 32;
optional bool allow_third_party_plugin_imports = 33;
optional bool allow_user_local_plugin_imports = 44;
optional GlassSettings glass_settings = 34;
optional TeamAdminNewChatModelResetSettings new_chat_model_reset_settings = 35;
optional ModelAllowlist model_allowlist = 36;
optional JiraIntegrationSettings jira_integration_settings = 37;
optional PullRequestPreferences pull_request_preferences = 38;
optional BrowserSettings browser_settings = 39;
repeated string cloud_agent_egress_allowlist = 40;
optional bool mirror_sandbox_allowlist_for_egress = 41;
AutoReviewInstructions auto_review = 49;
optional string remote_permissions_file_path = 42;
repeated string remote_permissions_file_paths = 46;
repeated string local_permissions_file_path = 45;
optional bool permissions_file_overrides_auto_run = 47;
optional bool update_permissions_file_paths = 57;
optional SharedCanvasSettings shared_canvas_settings = 43;
optional ExtensionInstallCooldownSettings extension_install_cooldown_settings = 48;
optional PublicProfileSettings public_profile_settings = 50;
optional BitbucketIntegrationSettings bitbucket_integration_settings = 51;
optional bool marketplace_leaderboard_disabled = 52;
optional bool new_chat_nudge_all_to_smart_auto = 53;
optional bool models_auto_only = 54;
optional string new_chat_nudge_all_to_smart_auto_optimize_for = 55;
optional bool enforce_hooks_readiness = 56;
optional LlmGatewaySettings llm_gateway = 58;
}
// Copied from: local:aiserver.v1.UpdateTeamAdminSettingsResponse (var: zc)
message UpdateTeamAdminSettingsResponse {
}
// Copied from: local:aiserver.v1.UpdateTeamBackgroundAgentSettingsRequest (var: Fw)
message UpdateTeamBackgroundAgentSettingsRequest {
int32 team_id = 1;
BackgroundAgentSettings settings = 2;
}
// Copied from: local:aiserver.v1.UpdateTeamBackgroundAgentSettingsResponse (var: qw)
message UpdateTeamBackgroundAgentSettingsResponse {
}
// Copied from: local:aiserver.v1.UpdateTeamBugbotSettingsRequest (var: vT)
message UpdateTeamBugbotSettingsRequest {
int32 team_id = 1;
optional int32 bugbot_licenses_hard_limit = 2;
optional bool bugbot_plan_enabled = 3;
repeated string allowlist = 4;
optional AllowlistConfig allowlist_config = 5;
optional bool bugbot_globally_disabled = 6;
repeated string mcp_server_names = 7;
optional bool is_incremental_review_enabled = 8;
optional bool merged_pr_scan_opt_out = 9;
optional bool apply_onboarding_high_effort_learning_defaults = 10;
}
// Copied from: local:aiserver.v1.UpdateTeamBugbotSettingsResponse (var: BT)
message UpdateTeamBugbotSettingsResponse {
}
// Copied from: local:aiserver.v1.UpdateTeamCommandRequest (var: Uy)
message UpdateTeamCommandRequest {
string command_id = 1;
optional string name = 2;
optional string content = 3;
optional string description = 4;
optional bool is_active = 5;
optional int32 team_id = 6;
}
// Copied from: local:aiserver.v1.UpdateTeamCommandResponse (var: xy)
message UpdateTeamCommandResponse {
TeamCommand command = 1;
}
// Copied from: local:aiserver.v1.UpdateTeamCustomerTelemetryDestinationRequest (var: DT)
message UpdateTeamCustomerTelemetryDestinationRequest {
int32 team_id = 1;
string destination_id = 2;
optional string endpoint_url = 3;
optional TeamCustomerTelemetryDestinationHeaders headers = 4;
optional bool metrics_enabled = 5;
optional bool logs_enabled = 6;
optional bool enabled = 7;
optional TeamCustomerTelemetryDestinationFamilyList disabled_families = 8;
optional TeamCustomerTelemetryDestinationFamilyList enabled_families = 9;
optional bool auto_enable_new_families = 10;
}
// Copied from: local:aiserver.v1.UpdateTeamCustomerTelemetryDestinationResponse (var: OT)
message UpdateTeamCustomerTelemetryDestinationResponse {
TeamCustomerTelemetryDestination destination = 1;
}
// Copied from: local:aiserver.v1.UpdateTeamDashboardAnalyticsSettingRequest (var: Dh)
message UpdateTeamDashboardAnalyticsSettingRequest {
int32 team_id = 1;
bool dashboard_analytics_requires_admin = 2;
}
// Copied from: local:aiserver.v1.UpdateTeamDashboardAnalyticsSettingResponse (var: Oh)
message UpdateTeamDashboardAnalyticsSettingResponse {
}
// Copied from: local:aiserver.v1.UpdateTeamDomainJoinSettingRequest (var: hu)
message UpdateTeamDomainJoinSettingRequest {
int32 team_id = 1;
bool allow_domain_join = 2;
repeated string enabled_domains = 3;
optional bool enforce_invite_domain_on_accept = 4;
}
// Copied from: local:aiserver.v1.UpdateTeamDomainJoinSettingResponse (var: Au)
message UpdateTeamDomainJoinSettingResponse {
}
// Copied from: local:aiserver.v1.UpdateTeamGroupRequest (var: js)
message UpdateTeamGroupRequest {
int32 team_id = 1;
int64 group_id = 2;
string name = 3;
}
// Copied from: local:aiserver.v1.UpdateTeamGroupResponse (var: Xs)
message UpdateTeamGroupResponse {
TeamGroup group = 1;
}
// Copied from: local:aiserver.v1.UpdateTeamHookRequest (var: Ry)
message UpdateTeamHookRequest {
string hook_id = 1;
optional string script_name = 2;
repeated string operating_systems = 3;
optional bool is_active = 4;
optional string script_content = 5;
optional string hook_type = 6;
optional string prompt_content = 7;
optional string prompt_model = 8;
optional int32 team_id = 9;
}
// Copied from: local:aiserver.v1.UpdateTeamHookResponse (var: Py)
message UpdateTeamHookResponse {
TeamHook hook = 1;
}
// Copied from: local:aiserver.v1.UpdateTeamInviteLinkTTLSettingRequest (var: jc)
message UpdateTeamInviteLinkTTLSettingRequest {
int32 team_id = 1;
int32 invite_link_max_ttl_seconds = 2;
}
// Copied from: local:aiserver.v1.UpdateTeamInviteLinkTTLSettingResponse (var: Xc)
message UpdateTeamInviteLinkTTLSettingResponse {
}
// Copied from: local:aiserver.v1.UpdateTeamMarketplaceConfigRequest (var: TI)
message UpdateTeamMarketplaceConfigRequest {
int64 marketplace_id = 1;
repeated int64 directory_group_ids = 2;
optional int32 team_id = 3;
repeated MarketplaceAccessGrant access_grants = 4;
optional bool sync_access_grants = 5;
}
// Copied from: local:aiserver.v1.UpdateTeamMarketplaceConfigResponse (var: yI)
message UpdateTeamMarketplaceConfigResponse {
Marketplace marketplace = 1;
}
// Copied from: local:aiserver.v1.UpdateTeamMemberInviteSettingRequest (var: Zc)
message UpdateTeamMemberInviteSettingRequest {
int32 team_id = 1;
bool restrict_invites_to_admins = 2;
}
// Copied from: local:aiserver.v1.UpdateTeamMemberInviteSettingResponse (var: $c)
message UpdateTeamMemberInviteSettingResponse {
}
// Copied from: local:aiserver.v1.UpdateTeamNameRequest (var: Fh)
message UpdateTeamNameRequest {
int32 team_id = 1;
string new_name = 2;
}
// Copied from: local:aiserver.v1.UpdateTeamNameResponse (var: qh)
message UpdateTeamNameResponse {
}
// Copied from: local:aiserver.v1.UpdateTeamPinnedMarketplacePluginsRequest (var: OS)
message UpdateTeamPinnedMarketplacePluginsRequest {
int32 team_id = 1;
repeated int64 plugin_ids = 2;
}
// Copied from: local:aiserver.v1.UpdateTeamPinnedMarketplacePluginsResponse (var: US)
message UpdateTeamPinnedMarketplacePluginsResponse {
repeated Plugin plugins = 1;
}
// Copied from: local:aiserver.v1.UpdateTeamPluginInstallRequest (var: GS)
message UpdateTeamPluginInstallRequest {
int32 team_id = 1;
int64 plugin_id = 2;
optional bool is_required = 4;
optional string pinned_git_ref = 5;
}
// Copied from: local:aiserver.v1.UpdateTeamPluginInstallResponse (var: HS)
message UpdateTeamPluginInstallResponse {
TeamPluginInstall install = 1;
}
// Copied from: local:aiserver.v1.UpdateTeamPrivacyModeMigrationOptOutRequest (var: TT)
message UpdateTeamPrivacyModeMigrationOptOutRequest {
int32 team_id = 1;
bool opt_out = 2;
}
// Copied from: local:aiserver.v1.UpdateTeamPrivacyModeMigrationOptOutResponse (var: yT)
message UpdateTeamPrivacyModeMigrationOptOutResponse {
}
// Copied from: local:aiserver.v1.UpdateTeamPublicProfileSettingsRequest (var: Pw)
message UpdateTeamPublicProfileSettingsRequest {
int32 team_id = 1;
PublicProfileSettings settings = 2;
}
// Copied from: local:aiserver.v1.UpdateTeamPublicProfileSettingsResponse (var: bw)
message UpdateTeamPublicProfileSettingsResponse {
}
// Copied from: local:aiserver.v1.UpdateTeamRepoSourcePreferenceRequest (var: ec)
message UpdateTeamRepoSourcePreferenceRequest {
int32 team_id = 1;
PreferredRepoSourceMode preference = 2;
}
// Copied from: local:aiserver.v1.UpdateTeamRepoSourcePreferenceResponse (var: tc)
message UpdateTeamRepoSourcePreferenceResponse {
}
// Copied from: local:aiserver.v1.UpdateTeamRuleRequest (var: wy)
message UpdateTeamRuleRequest {
string rule_id = 1;
optional string name = 2;
optional string content = 3;
repeated string globs = 6;
optional bool is_active = 4;
optional bool is_required = 5;
optional int32 team_id = 7;
optional TeamRuleAgentType agent_type = 8;
}
// Copied from: local:aiserver.v1.UpdateTeamRuleResponse (var: Ey)
message UpdateTeamRuleResponse {
Rule rule = 1;
}
// Copied from: local:aiserver.v1.UpdateTeamScimRequireUserDirectorySettingRequest (var: Uh)
message UpdateTeamScimRequireUserDirectorySettingRequest {
int32 team_id = 1;
bool scim_require_user_directory = 2;
}
// Copied from: local:aiserver.v1.UpdateTeamScimRequireUserDirectorySettingResponse (var: xh)
message UpdateTeamScimRequireUserDirectorySettingResponse {
}
// Copied from: local:aiserver.v1.UpdateTeamSharedCanvasSettingsRequest (var: Jw)
message UpdateTeamSharedCanvasSettingsRequest {
int32 team_id = 1;
SharedCanvasSettings settings = 2;
}
// Copied from: local:aiserver.v1.UpdateTeamSharedCanvasSettingsResponse (var: Cw)
message UpdateTeamSharedCanvasSettingsResponse {
}
// Copied from: local:aiserver.v1.UpdateTeamSharedConversationSettingsRequest (var: dw)
message UpdateTeamSharedConversationSettingsRequest {
int32 team_id = 1;
SharedConversationSettings settings = 2;
}
// Copied from: local:aiserver.v1.UpdateTeamSharedConversationSettingsResponse (var: pw)
message UpdateTeamSharedConversationSettingsResponse {
}
// Copied from: local:aiserver.v1.UpdateTeamSmartAutoSettingsRequest (var: yw)
message UpdateTeamSmartAutoSettingsRequest {
int32 team_id = 1;
SmartAutoSettings settings = 2;
optional bool new_chat_nudge_all_to_smart_auto = 3;
optional bool models_auto_only = 4;
optional string new_chat_nudge_all_to_smart_auto_optimize_for = 5;
}
// Copied from: local:aiserver.v1.UpdateTeamSmartAutoSettingsResponse (var: kw)
message UpdateTeamSmartAutoSettingsResponse {
}
// Copied from: local:aiserver.v1.UpdateUsageAlertsRequest (var: Vw)
message UpdateUsageAlertsRequest {
int32 team_id = 1;
repeated string alert_ids = 2;
string notification_mode = 3;
optional bool notify_all_admins = 4;
repeated int32 notify_admin_user_ids = 5;
optional bool notify_member = 6;
repeated string notification_channels = 7;
}
// Copied from: local:aiserver.v1.UpdateUsageAlertsResponse (var: Yw)
message UpdateUsageAlertsResponse {
int32 updated_count = 1;
}
// Copied from: local:aiserver.v1.UpdateUserDefaultMcpSettingsRequest (var: xo)
message UpdateUserDefaultMcpSettingsRequest {
repeated int32 enabled_server_ids = 1;
}
// Copied from: local:aiserver.v1.UpdateUserDefaultMcpSettingsResponse (var: Qo)
message UpdateUserDefaultMcpSettingsResponse {
}
// Copied from: local:aiserver.v1.UpdateUserNameRequest (var: Dg)
message UpdateUserNameRequest {
string first_name = 1;
string last_name = 2;
}
// Copied from: local:aiserver.v1.UpdateUserNameResponse (var: Og)
message UpdateUserNameResponse {
}
// Copied from: local:aiserver.v1.UpdateUserPluginInstallRequest (var: ES)
message UpdateUserPluginInstallRequest {
int64 plugin_id = 1;
optional bool is_enabled = 3;
optional string pinned_git_ref = 5;
google.protobuf.Struct variables = 6;
}
// Copied from: local:aiserver.v1.UpdateUserPluginInstallResponse (var: SS)
message UpdateUserPluginInstallResponse {
UserPluginInstall install = 1;
}
// Copied from: local:aiserver.v1.UpdateUserProfilePictureRequest (var: Qg)
message UpdateUserProfilePictureRequest {
optional string profile_picture_url = 1;
}
// Copied from: local:aiserver.v1.UpdateUserProfilePictureResponse (var: Gg)
message UpdateUserProfilePictureResponse {
optional string profile_picture_url = 1;
}
// Copied from: local:aiserver.v1.UpdateUserProfileRequest (var: CE)
message UpdateUserProfileRequest {
optional string visibility = 1;
map<string, string> links = 2;
optional google.protobuf.Struct metadata = 3;
}
// Copied from: local:aiserver.v1.UpdateUserProfileResponse (var: NE)
message UpdateUserProfileResponse {
UserProfile profile = 1;
}
// Copied from: local:aiserver.v1.UpdateUserRepoSourcePreferenceRequest (var: Zm)
message UpdateUserRepoSourcePreferenceRequest {
PreferredRepoSourceMode preference = 1;
}
// Copied from: local:aiserver.v1.UpdateUserRepoSourcePreferenceResponse (var: $m)
message UpdateUserRepoSourcePreferenceResponse {
}
// Copied from: local:aiserver.v1.UpdateUserSmartAutoSettingsRequest (var: Sw)
message UpdateUserSmartAutoSettingsRequest {
SmartAutoSettings settings = 1;
}
// Copied from: local:aiserver.v1.UpdateUserSmartAutoSettingsResponse (var: Iw)
message UpdateUserSmartAutoSettingsResponse {
SmartAutoSettings settings = 1;
}
// Copied from: local:aiserver.v1.UpdateVscodeProfileRequest (var: an)
message UpdateVscodeProfileRequest {
string machine_id = 1;
repeated string workspace_extensions = 2;
repeated string extensions = 3;
}
// Copied from: local:aiserver.v1.UpdateVscodeProfileResponse (var: ln)
message UpdateVscodeProfileResponse {
}
// Copied from: local:aiserver.v1.UpgradeAction (var: Ie)
message UpgradeAction {
string membership_to_upgrade_to = 1;
optional bool try_immediate_upgrade = 2;
optional bool allow_trial = 3;
}
// Copied from: local:aiserver.v1.UpgradeChoice (var: Se)
message UpgradeChoice {
}
// Copied from: local:aiserver.v1.UpgradeScopeRequest (var: ft)
message UpgradeScopeRequest {
repeated string scopes = 2;
}
// Copied from: local:aiserver.v1.UpgradeScopeResponse (var: gt)
message UpgradeScopeResponse {
// Copied from: local:aiserver.v1.UpgradeScopeResponse.Status (var: J)
enum Status {
STATUS_UNSPECIFIED = 0;
STATUS_SUCCESS = 1;
STATUS_FAILURE = 2;
}
Status status = 1;
}
// Copied from: local:aiserver.v1.UpgradeToYearlyRequest (var: Wu)
message UpgradeToYearlyRequest {
int32 team_id = 1;
}
// Copied from: local:aiserver.v1.UpgradeToYearlyResponse (var: zu)
message UpgradeToYearlyResponse {
}
// Copied from: local:aiserver.v1.UploadDocumentationRequest (var: d)
message UploadDocumentationRequest {
string doc_identifier = 1;
}
// Copied from: local:aiserver.v1.UploadFileRequest (var: Pe)
message UploadFileRequest {
RepositoryInfo repository = 1;
File file = 2;
string commit_sha = 3;
string queue_id = 4;
}
// Copied from: local:aiserver.v1.UploadFileResponse (var: be)
message UploadFileResponse {
// Copied from: local:aiserver.v1.UploadFileResponse.Status (var: _)
enum Status {
STATUS_UNSPECIFIED = 0;
STATUS_SUCCESS = 1;
STATUS_FAILURE = 2;
STATUS_EXPECTED_FAILURE = 3;
STATUS_QUEUE_BACKED_UP = 4;
}
Status status = 1;
}
// Copied from: local:aiserver.v1.UploadIssueTraceRequest (var: S)
message UploadIssueTraceRequest {
string token = 1;
string payload = 2;
string payload_hash = 3;
}
// Copied from: local:aiserver.v1.UploadIssueTraceResponse (var: I)
message UploadIssueTraceResponse {
string event_id = 1;
int64 size = 2;
}
// Copied from: local:aiserver.v1.UploadRepositoryRequest (var: _t)
message UploadRepositoryRequest {
RepositoryInfo repository = 1;
}
// Copied from: local:aiserver.v1.UploadRepositoryResponse (var: Tt)
message UploadRepositoryResponse {
// Copied from: local:aiserver.v1.UploadRepositoryResponse.Status (var: C)
enum Status {
STATUS_UNSPECIFIED = 0;
STATUS_SUCCESS = 1;
STATUS_FAILURE = 2;
STATUS_AUTH_TOKEN_BAD_PERMISSIONS = 3;
STATUS_ALREADY_EXISTS = 4;
}
Status status = 1;
}
// Copied from: local:aiserver.v1.UploadResponse (var: y)
message UploadResponse {
// Copied from: local:aiserver.v1.UploadResponse.Status (var: s)
enum Status {
STATUS_UNSPECIFIED = 0;
STATUS_SUCCESS = 1;
STATUS_FAILURE = 2;
STATUS_ALREADY_EXISTS = 3;
STATUS_SIMILAR_ALREADY_EXISTS = 4;
}
Status status = 1;
float progress = 2;
string similar_doc_identifier = 3;
repeated string uploaded_pages = 4;
string doc_uuid = 5;
}
// Copied from: local:aiserver.v1.UploadStatus (var: r)
enum UploadStatus {
UPLOAD_STATUS_UNSPECIFIED = 0;
UPLOAD_STATUS_IN_PROGRESS = 1;
UPLOAD_STATUS_SUCCEEDED = 2;
UPLOAD_STATUS_FAILED = 3;
UPLOAD_STATUS_NOT_FOUND = 4;
}
// Copied from: local:aiserver.v1.UploadUserProfilePictureRequest (var: Ug)
message UploadUserProfilePictureRequest {
string content_type = 1;
bytes bytes = 2;
}
// Copied from: local:aiserver.v1.UploadUserProfilePictureResponse (var: xg)
message UploadUserProfilePictureResponse {
string profile_picture_url = 1;
}
// Copied from: local:aiserver.v1.UploadedStatus (var: k)
message UploadedStatus {
// Copied from: local:aiserver.v1.UploadedStatus.Status (var: o)
enum Status {
STATUS_UNSPECIFIED = 0;
STATUS_IN_PROGRESS = 1;
STATUS_SUCCEEDED = 2;
STATUS_FAILED = 3;
STATUS_NOT_FOUND = 4;
}
Status status = 1;
repeated string uploaded_pages = 2;
}
// Copied from: local:aiserver.v1.UploadedStatusRequest (var: c)
message UploadedStatusRequest {
string doc_identifier = 1;
}
// Copied from: local:aiserver.v1.UpsertDocsRequest (var: w)
message UpsertDocsRequest {
optional UploadStatus upload_status = 1;
optional string ignore_index_prefix = 2;
optional int32 doc_id = 3;
}
// Copied from: local:aiserver.v1.UpsertDocsResponse (var: E)
message UpsertDocsResponse {
repeated UploadResponse responses = 1;
}
// Copied from: local:aiserver.v1.UriComponents (var: fe)
message UriComponents {
string scheme = 1;
optional string authority = 2;
optional string path = 3;
optional string query = 4;
optional string fragment = 5;
}
// Copied from: local:aiserver.v1.UrlAction (var: Je)
message UrlAction {
string url = 1;
}
// Copied from: local:aiserver.v1.UsageAlert (var: Dw)
message UsageAlert {
string id = 1;
int32 team_id = 2;
string target_type = 3;
string target_scope = 4;
int32 threshold_cents = 5;
string notification_mode = 6;
bool enabled = 7;
int64 created_at = 8;
optional bool notify_all_admins = 9;
repeated int32 notify_admin_user_ids = 10;
optional bool notify_member = 11;
optional int32 group_id = 12;
optional string group_name = 13;
optional string threshold_type = 14;
optional int32 threshold_bps = 15;
optional string resource_threshold_id = 16;
optional int32 resource_threshold_cents = 17;
optional string resource_threshold_level = 18;
repeated string notification_channels = 19;
}
// Copied from: local:aiserver.v1.UsageData (var: Si)
message UsageData {
int32 gpt4_requests = 2;
int32 gpt4_max_requests = 3;
}
// Copied from: local:aiserver.v1.UsageEvent (var: w)
message UsageEvent {
int64 timestamp = 1;
UsageEventDetails details = 2;
optional string subscription_product_id = 3;
optional string usage_price_id = 4;
bool is_slow = 5;
string status = 6;
optional string owning_user = 7;
optional string owning_team = 8;
optional float price_cents = 9;
optional string team_membership_type = 10;
}
// Copied from: local:aiserver.v1.UsageEventDetails (var: a)
message UsageEventDetails {
// Copied from: local:aiserver.v1.UsageEventDetails.AiReviewAcceptedComment (var: T)
message AiReviewAcceptedComment {
}
// Copied from: local:aiserver.v1.UsageEventDetails.BugBot (var: m)
message BugBot {
string model_intent = 1;
TokenUsage token_usage = 2;
bool is_token_based_call = 3;
bool max_mode = 4;
string billing_mode = 7;
oneof discount {
google.protobuf.Empty no_discount = 5;
google.protobuf.Empty free = 6;
}
}
// Copied from: local:aiserver.v1.UsageEventDetails.BugFinderTriggerV1 (var: u)
message BugFinderTriggerV1 {
bool in_background_subsidized = 1;
int32 cost_cents = 2;
bool is_fast = 3;
}
// Copied from: local:aiserver.v1.UsageEventDetails.Chat (var: c)
message Chat {
string model_intent = 1;
optional int32 override_num_requests_counted = 2;
optional bool is_token_based_call = 3;
optional TokenUsage token_usage = 4;
optional bool max_mode = 5;
}
// Copied from: local:aiserver.v1.UsageEventDetails.CmdK (var: A)
message CmdK {
string model_intent = 1;
optional int32 override_num_requests_counted = 2;
optional bool is_token_based_call = 3;
optional TokenUsage token_usage = 4;
optional bool max_mode = 5;
}
// Copied from: local:aiserver.v1.UsageEventDetails.Composer (var: p)
message Composer {
string model_intent = 1;
optional int32 override_num_requests_counted = 2;
optional bool is_headless = 3;
optional bool is_token_based_call = 4;
optional TokenUsage token_usage = 5;
optional bool max_mode = 6;
}
// Copied from: local:aiserver.v1.UsageEventDetails.ContextChat (var: h)
message ContextChat {
string model_intent = 1;
optional int32 override_num_requests_counted = 2;
optional bool is_token_based_call = 3;
optional TokenUsage token_usage = 4;
optional bool max_mode = 5;
}
// Copied from: local:aiserver.v1.UsageEventDetails.FastApply (var: d)
message FastApply {
bool is_optimistic = 1;
bool willing_to_pay_extra_for_speed = 2;
}
// Copied from: local:aiserver.v1.UsageEventDetails.InterpreterChat (var: y)
message InterpreterChat {
string model_intent = 1;
optional int32 override_num_requests_counted = 2;
optional bool is_token_based_call = 3;
optional TokenUsage token_usage = 4;
optional bool max_mode = 5;
}
// Copied from: local:aiserver.v1.UsageEventDetails.PromptHook (var: l)
message PromptHook {
string model_intent = 1;
optional TokenUsage token_usage = 2;
optional bool max_mode = 3;
optional bool is_token_based_call = 4;
}
// Copied from: local:aiserver.v1.UsageEventDetails.SlashEdit (var: k)
message SlashEdit {
string model_intent = 1;
optional bool max_mode = 2;
}
// Copied from: local:aiserver.v1.UsageEventDetails.TerminalCmdK (var: _)
message TerminalCmdK {
string model_intent = 1;
optional int32 override_num_requests_counted = 2;
optional bool is_token_based_call = 3;
optional TokenUsage token_usage = 4;
optional bool max_mode = 5;
}
// Copied from: local:aiserver.v1.UsageEventDetails.ToolCallComposer (var: f)
message ToolCallComposer {
string model_intent = 1;
optional int32 override_num_requests_counted = 2;
optional bool is_headless = 3;
optional bool is_token_based_call = 4;
optional TokenUsage token_usage = 5;
optional bool max_mode = 6;
}
// Copied from: local:aiserver.v1.UsageEventDetails.WarmComposer (var: g)
message WarmComposer {
string model_intent = 1;
optional bool max_mode = 2;
}
optional int32 override_num_requests_counted = 13;
optional int32 override_num_requests_counted_millis = 16;
optional string routed_model = 17;
optional ModelSelectionSnapshot requested_model_selection = 18;
optional ModelSelectionSnapshot effective_model_selection = 19;
oneof feature {
Chat chat = 1;
ContextChat context_chat = 2;
CmdK cmd_k = 3;
TerminalCmdK terminal_cmd_k = 4;
AiReviewAcceptedComment ai_review_accepted_comment = 5;
InterpreterChat interpreter_chat = 6;
SlashEdit slash_edit = 7;
Composer composer = 8;
FastApply fast_apply = 9;
WarmComposer warm_composer = 10;
BugFinderTriggerV1 bug_finder_trigger_v1 = 11;
ToolCallComposer tool_call_composer = 12;
BugBot bug_bot = 14;
PromptHook prompt_hook = 15;
}
}
// Copied from: local:aiserver.v1.UsageEventDisplay (var: E)
message UsageEventDisplay {
int64 timestamp = 1;
string model = 2;
UsageEventKind kind = 3;
optional string custom_subscription_name = 4;
bool max_mode = 5;
float requests_costs = 6;
optional string usage_based_costs = 7;
optional bool is_token_based_call = 8;
optional TokenUsage token_usage = 9;
optional string owning_user = 10;
optional string owning_team = 11;
optional string user_email = 12;
optional float cursor_token_fee = 13;
optional bool is_chargeable = 14;
optional string service_account_name = 15;
optional string service_account_id = 16;
optional bool is_headless = 17;
optional float charged_cents = 18;
optional string cloud_agent_id = 19;
optional string automation_id = 20;
optional string automation_managed_type = 21;
optional string client_type = 22;
optional string conversation_id = 23;
optional string subscription_product_id = 24;
}
// Copied from: local:aiserver.v1.UsageEventKind (var: r)
enum UsageEventKind {
USAGE_EVENT_KIND_UNSPECIFIED = 0;
USAGE_EVENT_KIND_USAGE_BASED = 1;
USAGE_EVENT_KIND_USER_API_KEY = 2;
USAGE_EVENT_KIND_INCLUDED_IN_PRO = 3;
USAGE_EVENT_KIND_INCLUDED_IN_BUSINESS = 4;
USAGE_EVENT_KIND_ERRORED_NOT_CHARGED = 5;
USAGE_EVENT_KIND_ABORTED_NOT_CHARGED = 6;
USAGE_EVENT_KIND_CUSTOM_SUBSCRIPTION = 7;
USAGE_EVENT_KIND_INCLUDED_IN_PRO_PLUS = 8;
USAGE_EVENT_KIND_INCLUDED_IN_ULTRA = 9;
USAGE_EVENT_KIND_FREE_CREDIT = 10;
}
// Copied from: local:aiserver.v1.UseSandBankedResetRequest (var: Id)
message UseSandBankedResetRequest {
int64 expected_current_period_start_ms = 1;
}
// Copied from: local:aiserver.v1.UseSandBankedResetResponse (var: vd)
message UseSandBankedResetResponse {
google.protobuf.Timestamp new_current_period_start = 1;
}
// Copied from: local:aiserver.v1.UsedEnvironmentBuildInfo (var: Nl)
message UsedEnvironmentBuildInfo {
optional StreamUnifiedChatResponseWithToolsIdempotent boot_info = 1;
}
// Copied from: agent.v1.UserContextInjection (var: ri)
message UserContextInjection {
UserMessage user_message = 1;
RequestContext request_context = 2;
}
// Copied from: agent.v1.UserDisplayInfo (var: Ei)
message UserDisplayInfo {
int32 user_id = 1;
optional string display_name = 2;
optional string email = 3;
optional string profile_picture_url = 4;
}
// Copied from: agent.v1.UserMessage (var: Ji)
message UserMessage {
// Copied from: agent.v1.UserMessage.SimulatedMessageMetadata (var: Ci)
message SimulatedMessageMetadata {
optional string title = 1;
optional string task_id = 2;
optional string fsd_finding_action = 3;
optional string url = 4;
optional SubscriptionSource subscription_source = 5;
}
string text = 1;
string message_id = 2;
optional SelectedContext selected_context = 3;
AgentMode mode = 4;
optional bool is_simulated_msg = 5;
optional string best_of_n_group_id = 6;
optional bool try_use_best_of_n_promotion = 7;
optional string rich_text = 8;
optional SimulatedMsgReason simulated_msg_reason = 9;
bytes conversation_state_blob_id = 10;
optional string subagent_system_reminder = 11;
optional TriggeringUserInfo triggering_user_info = 13;
optional ExecutePlanInfo execute_plan_info = 14;
optional SimulatedMessageMetadata simulated_message_metadata = 15;
optional string prompt_reference_id = 16;
optional string thread_id = 17;
optional bytes text_blob_id = 18;
optional bytes rich_text_blob_id = 19;
repeated HookAdditionalContext hook_additional_contexts = 21;
optional CustomModeIntent custom_mode_intent = 22;
optional ProjectDetails project_details = 23;
}
// Copied from: agent.v1.UserMessageAction (var: $o)
message UserMessageAction {
UserMessage user_message = 1;
RequestContext request_context = 2;
optional bool send_to_interaction_listener = 3;
repeated UserMessage prepend_user_messages = 4;
optional InterruptedPendingToolCallResolutions interrupted_pending_tool_call_resolutions = 6;
optional ConversationHistory conversation_history = 7;
}
// Copied from: agent.v1.UserMessageAppendedUpdate (var: Ra)
message UserMessageAppendedUpdate {
UserMessage user_message = 1;
}
// Copied from: local:aiserver.v1.UserOrganizationRole (var: oe)
enum UserOrganizationRole {
USER_ORGANIZATION_ROLE_UNSPECIFIED = 0;
USER_ORGANIZATION_ROLE_ADMIN = 1;
USER_ORGANIZATION_ROLE_MEMBER = 2;
}
// Copied from: local:aiserver.v1.UserPluginInstall (var: hE)
message UserPluginInstall {
int32 user_id = 1;
int64 plugin_id = 2;
bool is_enabled = 4;
int64 created_at = 6;
int64 updated_at = 7;
Plugin plugin = 8;
optional string pinned_git_ref = 10;
}
// Copied from: local:aiserver.v1.UserProfile (var: yE)
message UserProfile {
optional string handle = 1;
string visibility = 2;
map<string, string> links = 3;
string created_at = 4;
string updated_at = 5;
optional string display_name = 6;
optional string avatar_url = 7;
repeated string badges = 8;
}
// Copied from: local:aiserver.v1.UserPullRequest (var: Cf)
message UserPullRequest {
int32 number = 1;
string title = 2;
string state = 3;
string url = 4;
string repository = 5;
string created_at = 6;
string updated_at = 7;
bool is_draft = 8;
string author = 9;
string description = 10;
repeated PullRequestLabel labels = 11;
string head_ref = 12;
string base_ref = 13;
int32 comments = 14;
int32 review_comments = 15;
string merged_at = 16;
string closed_at = 17;
string description_raw = 18;
string head_sha = 19;
}
// Copied from: local:aiserver.v1.UserResponseToSuggestedCodeBlock (var: gn)
message UserResponseToSuggestedCodeBlock {
// Copied from: local:aiserver.v1.UserResponseToSuggestedCodeBlock.UserResponseType (var: U)
enum UserResponseType {
USER_RESPONSE_TYPE_UNSPECIFIED = 0;
USER_RESPONSE_TYPE_ACCEPT = 1;
USER_RESPONSE_TYPE_REJECT = 2;
USER_RESPONSE_TYPE_MODIFY = 3;
}
UserResponseType user_response_type = 1;
string file_path = 2;
optional FileDiff user_modifications_to_suggested_code_blocks = 3;
}
// Copied from: local:aiserver.v1.UserRules (var: Ne)
message UserRules {
repeated ConversationMessage.KnowledgeItem rules = 1;
}
// Copied from: local:aiserver.v1.UserWorkerSummary (var: xp)
message UserWorkerSummary {
int32 total_connected = 1;
int32 in_use = 2;
int32 team_workers_in_use_by_user = 3;
}
// Copied from: local:aiserver.v1.ValidateBedrockIamRoleRequest (var: up)
message ValidateBedrockIamRoleRequest {
int32 team_id = 1;
string bedrock_iam_role = 2;
string region = 3;
string model_id = 4;
}
// Copied from: local:aiserver.v1.ValidateBedrockIamRoleResponse (var: mp)
message ValidateBedrockIamRoleResponse {
bool success = 1;
string error_message = 2;
}
// Copied from: local:aiserver.v1.ValidateMcpOAuthTokensRequest (var: hi)
message ValidateMcpOAuthTokensRequest {
// Copied from: local:aiserver.v1.ValidateMcpOAuthTokensRequest.Target (var: Ai)
message Target {
string server_url = 1;
string account_key = 2;
}
repeated string server_urls = 1;
optional string service_account_id = 2;
repeated Target targets = 3;
}
// Copied from: local:aiserver.v1.ValidateMcpOAuthTokensResponse (var: _i)
message ValidateMcpOAuthTokensResponse {
// Copied from: local:aiserver.v1.ValidateMcpOAuthTokensResponse.Result (var: Ti)
message Result {
string server_url = 1;
bool has_valid_token = 2;
string account_key = 3;
}
repeated Result results = 1;
}
// Copied from: local:aiserver.v1.VerifyAppleTransactionRequest (var: xd)
message VerifyAppleTransactionRequest {
string signed_transaction_jws = 1;
string product_id = 2;
string app_account_token = 3;
}
// Copied from: local:aiserver.v1.VerifyAppleTransactionResponse (var: Qd)
message VerifyAppleTransactionResponse {
string tier = 1;
}
// Copied from: local:aiserver.v1.VerifyBackgroundComposerAccessRequest (var: cd)
message VerifyBackgroundComposerAccessRequest {
string bc_id = 1;
string access_type = 2;
}
// Copied from: local:aiserver.v1.VerifyBackgroundComposerAccessResponse (var: dd)
message VerifyBackgroundComposerAccessResponse {
bool has_access = 1;
}
// Copied from: local:aiserver.v1.VideoAnnotation (var: ql)
message VideoAnnotation {
repeated VideoChapter labeled_chapters = 1;
VideoTimestamp thumbnail_timestamp = 2;
optional double trim_start_seconds = 3;
optional double trim_end_seconds = 4;
}
// Copied from: local:aiserver.v1.VideoAnnotationEntry (var: Dl)
message VideoAnnotationEntry {
string artifact_path = 1;
VideoAnnotation annotation = 2;
}
// Copied from: local:aiserver.v1.VideoAnnotationsWrapper (var: Ud)
message VideoAnnotationsWrapper {
repeated VideoAnnotationEntry entries = 1;
}
// Copied from: local:aiserver.v1.VideoChapter (var: Fl)
message VideoChapter {
VideoTimestamp start_time = 1;
string label = 3;
bool should_hide = 4;
}
// Copied from: local:aiserver.v1.VideoTimestamp (var: Ll)
message VideoTimestamp {
int32 minutes = 1;
double seconds = 2;
}
// Copied from: local:aiserver.v1.ViewableCommitProps (var: vt)
message ViewableCommitProps {
string description = 1;
string message = 2;
repeated DiffFile files = 3;
}
// Copied from: local:aiserver.v1.ViewableDiffProps (var: Jt)
message ViewableDiffProps {
repeated DiffFile files = 1;
string diff_preface = 2;
}
// Copied from: local:aiserver.v1.ViewableGitContext (var: Ct)
message ViewableGitContext {
optional ViewableCommitProps commit_data = 1;
optional ViewablePRProps pull_request_data = 2;
repeated ViewableDiffProps diff_data = 3;
}
// Copied from: local:aiserver.v1.ViewablePRProps (var: Bt)
message ViewablePRProps {
string title = 1;
string body = 2;
repeated DiffFile files = 3;
}
// Copied from: local:aiserver.v1.VmProvisionedCommand (var: bl)
message VmProvisionedCommand {
string name = 1;
string description = 2;
}
// Copied from: local:aiserver.v1.VmProvisionedSkill (var: Pl)
message VmProvisionedSkill {
string skill_id = 1;
string description = 2;
repeated string environments = 3;
repeated string disabled_environments = 4;
optional CustomModeDescriptor custom_mode = 5;
optional string display_name = 6;
}
// Copied from: local:aiserver.v1.VscodeCPUProperties (var: _)
message VscodeCPUProperties {
string model = 1;
double speed = 2;
}
// Copied from: local:aiserver.v1.VscodeOSProperties (var: A)
message VscodeOSProperties {
string type = 1;
string release = 2;
string arch = 3;
string platform = 4;
repeated VscodeCPUProperties cpus = 5;
}
// Copied from: local:aiserver.v1.VscodeOSStatistics (var: h)
message VscodeOSStatistics {
double totalmem = 1;
double freemem = 2;
repeated double loadavg = 3;
}
// Copied from: agent.v1.WaitAction (var: A)
message WaitAction {
int32 duration_ms = 1;
}
// Copied from: local:aiserver.v1.WakeBackgroundComposerRequest (var: ko)
message WakeBackgroundComposerRequest {
string bc_id = 1;
}
// Copied from: local:aiserver.v1.WakeBackgroundComposerResponse (var: wo)
message WakeBackgroundComposerResponse {
}
// Copied from: local:aiserver.v1.WarmApplyRequest (var: E)
message WarmApplyRequest {
CurrentFileInfo current_file = 2;
repeated ConversationMessage conversation = 3;
ExplicitContext explicit_context = 4;
FastApplySource source = 5;
bool willing_to_pay_extra_for_speed = 6;
}
// Copied from: local:aiserver.v1.WarmApplyResponse (var: S)
message WarmApplyResponse {
}
// Copied from: local:aiserver.v1.WarmChatCacheRequest (var: Ai)
message WarmChatCacheRequest {
GetChatRequest request = 1;
}
// Copied from: local:aiserver.v1.WarmChatCacheResponse (var: _i)
message WarmChatCacheResponse {
bool did_warm_cache = 1;
}
// Copied from: local:aiserver.v1.WarmComposerCacheResponse (var: hi)
message WarmComposerCacheResponse {
bool did_warm_cache = 1;
}
// Copied from: local:aiserver.v1.WarmCursorServerDownloadRequest (var: Si)
message WarmCursorServerDownloadRequest {
string bc_id = 1;
string commit = 2;
}
// Copied from: local:aiserver.v1.WarmCursorServerDownloadResponse (var: Ii)
message WarmCursorServerDownloadResponse {
bool already_downloaded = 1;
}
// Copied from: local:aiserver.v1.WarmStreamUnifiedChatWithToolsResponse (var: yn)
message WarmStreamUnifiedChatWithToolsResponse {
}
// Copied from: local:aiserver.v1.WatchBackgroundComposerSnapshotStateRequest (var: Uo)
message WatchBackgroundComposerSnapshotStateRequest {
string snapshot_id = 1;
}
// Copied from: local:aiserver.v1.WatchBackgroundComposerSnapshotStateResponse (var: xo)
message WatchBackgroundComposerSnapshotStateResponse {
string snapshot_id = 1;
FinishUpdateRepoResponse.Status state = 2;
optional string error_message = 3;
}
// Copied from: local:aiserver.v1.WaterfallLogLevel (var: un)
enum WaterfallLogLevel {
WATERFALL_LOG_LEVEL_UNSPECIFIED = 0;
WATERFALL_LOG_LEVEL_DEBUG = 1;
WATERFALL_LOG_LEVEL_INFO = 2;
WATERFALL_LOG_LEVEL_WARN = 3;
WATERFALL_LOG_LEVEL_ERROR = 4;
}
// Copied from: local:aiserver.v1.WaterfallPhaseType (var: dn)
enum WaterfallPhaseType {
WATERFALL_PHASE_TYPE_UNSPECIFIED = 0;
WATERFALL_PHASE_TYPE_ENVIRONMENT = 1;
WATERFALL_PHASE_TYPE_CREATE_CLOUD_WORKSPACE = 2;
WATERFALL_PHASE_TYPE_PROVISION_SANDBOX = 3;
WATERFALL_PHASE_TYPE_RESTORE_WORKSPACE_FILES = 4;
WATERFALL_PHASE_TYPE_DOCKER_BUILD = 5;
WATERFALL_PHASE_TYPE_SETUP_REPOSITORY = 6;
WATERFALL_PHASE_TYPE_INSTALL_DEPENDENCIES = 7;
WATERFALL_PHASE_TYPE_RUN_WORKSPACE_SETUP = 8;
WATERFALL_PHASE_TYPE_START_AGENT_SERVICES = 9;
WATERFALL_PHASE_TYPE_INSTALL_EXTENSIONS = 10;
WATERFALL_PHASE_TYPE_COMPLETE = 11;
WATERFALL_PHASE_TYPE_ACQUIRE_POD = 12;
WATERFALL_PHASE_TYPE_HYDRATE = 13;
}
// Copied from: local:aiserver.v1.WaterfallSpanEndStatus (var: cn)
enum WaterfallSpanEndStatus {
WATERFALL_SPAN_END_STATUS_UNSPECIFIED = 0;
WATERFALL_SPAN_END_STATUS_SUCCESS = 1;
WATERFALL_SPAN_END_STATUS_FAILURE = 2;
WATERFALL_SPAN_END_STATUS_SKIPPED = 3;
}
// Copied from: local:aiserver.v1.WaterfallSpanStatusType (var: mn)
enum WaterfallSpanStatusType {
WATERFALL_SPAN_STATUS_TYPE_UNSPECIFIED = 0;
WATERFALL_SPAN_STATUS_TYPE_MESSAGE = 1;
WATERFALL_SPAN_STATUS_TYPE_WARN = 2;
WATERFALL_SPAN_STATUS_TYPE_ERROR = 3;
}
// Copied from: local:aiserver.v1.WaterfallUpdate (var: _n)
message WaterfallUpdate {
google.protobuf.Timestamp timestamp = 1;
oneof update {
SpanStart span_start = 2;
SpanEnd span_end = 3;
SpanLog span_log = 4;
SpanStatusUpdate span_status_update = 5;
SpanUpdate span_update = 6;
SetupWaterfallSentinel sentinel = 8;
}
}
// Copied from: local:aiserver.v1.WebAcknowledgeGracePeriodDisclaimerRequest (var: $g)
message WebAcknowledgeGracePeriodDisclaimerRequest {
}
// Copied from: local:aiserver.v1.WebAcknowledgeGracePeriodDisclaimerResponse (var: eh)
message WebAcknowledgeGracePeriodDisclaimerResponse {
}
// Copied from: local:aiserver.v1.WebCitation (var: Ge)
message WebCitation {
repeated WebReference references = 1;
}
// Copied from: agent.v1.WebFetchAllowlistPrecheckArgs (var: ne)
message WebFetchAllowlistPrecheckArgs {
string url = 1;
optional string tool_call_id = 2;
}
// Copied from: agent.v1.WebFetchAllowlistPrecheckResult (var: re)
message WebFetchAllowlistPrecheckResult {
bool allowlisted = 1;
}
// Copied from: agent.v1.WebFetchArgs (var: Rt)
message WebFetchArgs {
string url = 1;
string tool_call_id = 2;
}
// Copied from: local:aiserver.v1.WebFetchParams (var: xs)
message WebFetchParams {
string url = 1;
}
// Copied from: agent.v1.WebFetchRequestQuery (var: qt)
message WebFetchRequestQuery {
WebFetchArgs args = 1;
bool skip_approval = 2;
SmartModeApproval smart_mode_approval = 3;
}
// Copied from: agent.v1.WebFetchRequestResponse (var: Dt)
message WebFetchRequestResponse {
// Copied from: agent.v1.WebFetchRequestResponse.Approved (var: Ot)
message Approved {
}
// Copied from: agent.v1.WebFetchRequestResponse.Rejected (var: Ut)
message Rejected {
string reason = 1;
}
oneof result {
Approved approved = 1;
Rejected rejected = 2;
}
}
// Copied from: local:aiserver.v1.WebFetchResult (var: Qs)
message WebFetchResult {
string url = 1;
optional string markdown = 2;
optional string error = 3;
}
// Copied from: local:aiserver.v1.WebFetchStream (var: Gs)
message WebFetchStream {
WebFetchParams params = 1;
}
// Copied from: local:aiserver.v1.WebReference (var: He)
message WebReference {
string title = 2;
string url = 1;
string chunk = 3;
}
// Copied from: agent.v1.WebSearchArgs (var: Se)
message WebSearchArgs {
string search_term = 1;
string tool_call_id = 2;
}
// Copied from: local:aiserver.v1.WebSearchDocument (var: Wr)
message WebSearchDocument {
string url = 1;
string title = 2;
string text = 3;
}
// Copied from: local:aiserver.v1.WebSearchParams (var: En)
message WebSearchParams {
string search_term = 1;
}
// Copied from: agent.v1.WebSearchRequestQuery (var: Re)
message WebSearchRequestQuery {
WebSearchArgs args = 1;
}
// Copied from: agent.v1.WebSearchRequestResponse (var: Pe)
message WebSearchRequestResponse {
// Copied from: agent.v1.WebSearchRequestResponse.Approved (var: be)
message Approved {
}
// Copied from: agent.v1.WebSearchRequestResponse.Rejected (var: Me)
message Rejected {
string reason = 1;
}
oneof result {
Approved approved = 1;
Rejected rejected = 2;
}
}
// Copied from: local:aiserver.v1.WebSearchResult (var: Sn)
message WebSearchResult {
// Copied from: local:aiserver.v1.WebSearchResult.WebReference (var: In)
message WebReference {
string title = 1;
string url = 2;
string chunk = 3;
}
repeated WebReference references = 1;
optional bool is_final = 2;
optional bool rejected = 3;
}
// Copied from: local:aiserver.v1.WebSearchStream (var: vn)
message WebSearchStream {
string search_term = 1;
}
// Copied from: local:aiserver.v1.WelcomeMessage (var: Le)
message WelcomeMessage {
string message = 1;
bool is_degraded_mode = 2;
}
// Copied from: local:aiserver.v1.WorkerCreation (var: Ed)
message WorkerCreation {
uint32 worker_index = 1;
int64 created_at_unix_ms = 2;
uint32 num_completed_turns = 3;
}
// Copied from: local:aiserver.v1.WorkerLifecycleEvent (var: va)
message WorkerLifecycleEvent {
uint32 worker_index = 1;
oneof event {
google.protobuf.Empty creating = 2;
}
}
// Copied from: local:aiserver.v1.WorkerReference (var: Vl)
message WorkerReference {
string worker_id = 1;
string workspace_root_path = 2;
}
// Copied from: local:aiserver.v1.WorkspaceFolder (var: tt)
message WorkspaceFolder {
string uri = 1;
string name = 2;
}
// Copied from: local:aiserver.v1.WorkspaceTrustControls (var: wc)
message WorkspaceTrustControls {
bool enabled = 1;
}
// Copied from: local:aiserver.v1.WorktreeEvent (var: pn)
message WorktreeEvent {
// Copied from: local:aiserver.v1.WorktreeEvent.BackgroundAgentComposerMapping (var: gn)
message BackgroundAgentComposerMapping {
string bc_id = 1;
string composer_id = 2;
}
// Copied from: local:aiserver.v1.WorktreeEvent.EventType (var: T)
enum EventType {
EVENT_TYPE_UNSPECIFIED = 0;
EVENT_TYPE_APPLY_TO_MAIN = 1;
EVENT_TYPE_UNDO_APPLY = 2;
EVENT_TYPE_VIEW_SUBCOMPOSER = 3;
}
// Copied from: local:aiserver.v1.WorktreeEvent.WorktreeComposerMapping (var: fn)
message WorktreeComposerMapping {
string worktree_path = 1;
string composer_id = 2;
}
EventType event_type = 1;
optional string model_name = 2;
optional string best_of_n_group_id = 3;
repeated string all_worktree_paths = 4;
optional string applied_worktree_path = 5;
repeated WorktreeComposerMapping worktree_composer_mappings = 6;
repeated BackgroundAgentComposerMapping background_agent_composer_mappings = 7;
optional string applied_composer_id = 8;
optional string viewed_composer_id = 9;
}
// Copied from: agent.v1.WriteArgs (var: o)
message WriteArgs {
string path = 1;
string file_text = 2;
string tool_call_id = 3;
bool return_file_content_after_write = 4;
bytes file_bytes = 5;
optional string encoding_hint = 6;
}
// Copied from: agent.v1.WriteError (var: m)
message WriteError {
string path = 1;
string error = 2;
}
// Copied from: local:aiserver.v1.WriteGitBranchNameRequest (var: ll)
message WriteGitBranchNameRequest {
string diffs = 1;
optional string context = 2;
optional string conversation_id = 3;
oneof credentials {
ApiKeyCredentials api_key_credentials = 4;
AzureCredentials azure_credentials = 5;
BedrockCredentials bedrock_credentials = 6;
}
}
// Copied from: local:aiserver.v1.WriteGitBranchNameResponse (var: ul)
message WriteGitBranchNameResponse {
string branch_name = 1;
}
// Copied from: local:aiserver.v1.WriteGitCommitMessageRequest (var: il)
message WriteGitCommitMessageRequest {
repeated string diffs = 1;
repeated string previous_commit_messages = 2;
ExplicitContext explicit_context = 3;
oneof credentials {
ApiKeyCredentials api_key_credentials = 4;
AzureCredentials azure_credentials = 5;
BedrockCredentials bedrock_credentials = 6;
}
}
// Copied from: local:aiserver.v1.WriteGitCommitMessageResponse (var: al)
message WriteGitCommitMessageResponse {
string commit_message = 1;
}
// Copied from: agent.v1.WriteNoSpace (var: u)
message WriteNoSpace {
string path = 1;
}
// Copied from: agent.v1.WritePermissionDenied (var: l)
message WritePermissionDenied {
string path = 1;
string directory = 2;
string operation = 3;
string error = 4;
bool is_readonly = 5;
}
// Copied from: agent.v1.WriteRejected (var: c)
message WriteRejected {
string path = 1;
string reason = 2;
}
// Copied from: agent.v1.WriteResult (var: i)
message WriteResult {
oneof result {
WriteSuccess success = 1;
WritePermissionDenied permission_denied = 3;
WriteNoSpace no_space = 4;
WriteError error = 5;
WriteRejected rejected = 6;
}
}
// Copied from: agent.v1.WriteShellStdinArgs (var: c)
message WriteShellStdinArgs {
uint32 shell_id = 1;
string chars = 2;
}
// Copied from: agent.v1.WriteShellStdinError (var: f)
message WriteShellStdinError {
string error = 1;
}
// Copied from: agent.v1.WriteShellStdinResult (var: d)
message WriteShellStdinResult {
oneof result {
WriteShellStdinSuccess success = 1;
WriteShellStdinError error = 2;
}
}
// Copied from: local:aiserver.v1.WriteShellStdinStream (var: Us)
message WriteShellStdinStream {
WriteShellStdinArgs params = 1;
}
// Copied from: agent.v1.WriteShellStdinSuccess (var: p)
message WriteShellStdinSuccess {
uint32 shell_id = 1;
uint32 terminal_file_length_before_input_written = 2;
}
// Copied from: agent.v1.WriteSuccess (var: a)
message WriteSuccess {
string path = 1;
int32 lines_created = 2;
int32 file_size = 3;
optional string file_content_after_write = 4;
}
// Source: aiserver.v1.AiService (var: w)
service AiService {
rpc ServerTime(ServerTimeRequest) returns (ServerTimeResponse) {}
rpc HealthCheck(HealthCheckRequest) returns (HealthCheckResponse) {}
rpc PrivacyCheck(PrivacyCheckRequest) returns (PrivacyCheckResponse) {}
rpc TimeLeftHealthCheck(HealthCheckRequest) returns (TimeLeftHealthCheckResponse) {}
rpc ThrowErrorCheck(ThrowErrorCheckRequest) returns (ThrowErrorCheckResponse) {}
rpc AvailableModels(AvailableModelsRequest) returns (AvailableModelsResponse) {}
rpc StreamChatTryReallyHard(GetChatRequest) returns (stream StreamChatResponse) {}
rpc RerankDocuments(RerankDocumentsRequest) returns (RerankDocumentsResponse) {}
rpc StreamComposer(GetComposerChatRequest) returns (stream StreamChatResponse) {}
rpc StreamComposerContext(StreamChatContextRequest) returns (stream StreamChatContextResponse) {}
rpc WarmComposerCache(GetComposerChatRequest) returns (WarmComposerCacheResponse) {}
rpc KeepComposerCacheWarm(KeepComposerCacheWarmRequest) returns (KeepComposerCacheWarmResponse) {}
rpc CountTokens(CountTokensRequest) returns (CountTokensResponse) {}
rpc StreamPotentialLocs(PotentialLocsRequest) returns (stream PotentialLocsResponse) {}
rpc StreamPotentialLocsUnderneath(PotentialLocsUnderneathRequest) returns (stream PotentialLocsUnderneathResponse) {}
rpc StreamPotentialLocsInitialQueries(PotentialLocsInitialQueriesRequest) returns (stream PotentialLocsInitialQueriesResponse) {}
rpc GetChatTitle(GetChatTitleRequest) returns (GetChatTitleResponse) {}
rpc GetCompletion(GetCompletionRequest) returns (GetCompletionResponse) {}
rpc IsolatedTreesitter(IsolatedTreesitterRequest) returns (IsolatedTreesitterResponse) {}
rpc GetSimplePrompt(GetSimplePromptRequest) returns (GetSimplePromptResponse) {}
rpc GetPassthroughPrompt(GetPassthroughPromptRequest) returns (GetPassthroughPromptResponse) {}
rpc SuggestQuickActions(SuggestQuickActionsRequest) returns (SuggestQuickActionsResponse) {}
rpc CheckLongFilesFit(GetChatRequest) returns (CheckLongFilesFitResponse) {}
rpc GetEvaluationPrompt(GetEvaluationPromptRequest) returns (GetEvaluationPromptResponse) {}
rpc GetUserInfo(GetUserInfoRequest) returns (GetUserInfoResponse) {}
rpc StreamChat(GetChatRequest) returns (stream StreamChatResponse) {}
rpc StreamChatWeb(GetChatRequest) returns (stream StreamChatResponse) {}
rpc WarmChatCache(WarmChatCacheRequest) returns (WarmChatCacheResponse) {}
rpc StreamEdit(StreamEditRequest) returns (stream StreamChatResponse) {}
rpc PreloadEdit(PreloadEditRequest) returns (PreloadEditResponse) {}
rpc StreamFastEdit(StreamFastEditRequest) returns (stream StreamFastEditResponse) {}
rpc StreamGenerate(StreamGenerateRequest) returns (stream StreamChatResponse) {}
rpc StreamInlineLongCompletion(StreamInlineLongCompletionRequest) returns (stream StreamChatResponse) {}
rpc SlashEdit(SlashEditRequest) returns (stream SlashEditResponse) {}
rpc SlashEditFollowUpWithPreviousEdits(SlashEditFollowUpWithPreviousEditsRequest) returns (stream StreamSlashEditFollowUpWithPreviousEditsResponse) {}
rpc StreamAiPreviews(StreamAiPreviewsRequest) returns (stream StreamAiPreviewsResponse) {}
rpc ShouldTurnOnCppOnboarding(ShouldTurnOnCppOnboardingRequest) returns (ShouldTurnOnCppOnboardingResponse) {}
rpc GetComposerAutocomplete(GetComposerAutocompleteRequest) returns (GetComposerAutocompleteResponse) {}
rpc StreamReview(ReviewRequest) returns (stream ReviewResponse) {}
rpc StreamReviewChat(ReviewChatRequest) returns (stream ReviewChatResponse) {}
rpc CheckQueuePosition(CheckQueuePositionRequest) returns (CheckQueuePositionResponse) {}
rpc CheckUsageBasedPrice(CheckUsageBasedPriceRequest) returns (CheckUsageBasedPriceResponse) {}
rpc DoThisForMeCheck(DoThisForMeCheckRequest) returns (DoThisForMeCheckResponse) {}
rpc StreamDoThisForMe(DoThisForMeRequest) returns (stream DoThisForMeResponseWrapped) {}
rpc StreamChatToolformer(GetChatRequest) returns (stream StreamChatToolformerResponse) {}
rpc StreamChatToolformerContinue(StreamChatToolformerContinueRequest) returns (stream StreamChatToolformerResponse) {}
rpc PushAiThought(PushAiThoughtRequest) returns (PushAiThoughtResponse) {}
rpc CheckDoableAsTask(CheckDoableAsTaskRequest) returns (CheckDoableAsTaskResponse) {}
rpc ReportGroundTruthCandidate(ReportGroundTruthCandidateRequest) returns (ReportGroundTruthCandidateResponse) {}
rpc ReportCmdKFate(ReportCmdKFateRequest) returns (ReportCmdKFateResponse) {}
rpc ShowWelcomeScreen(ShowWelcomeScreenRequest) returns (ShowWelcomeScreenResponse) {}
rpc InterfaceAgentInit(InterfaceAgentInitRequest) returns (InterfaceAgentInitResponse) {}
rpc StreamInterfaceAgentStatus(StreamInterfaceAgentStatusRequest) returns (stream StreamInterfaceAgentStatusResponse) {}
rpc TaskGetInterfaceAgentStatus(TaskGetInterfaceAgentStatusRequest) returns (stream TaskGetInterfaceAgentStatusResponseWrapped) {}
rpc UpdateVscodeProfile(UpdateVscodeProfileRequest) returns (UpdateVscodeProfileResponse) {}
rpc TaskInit(TaskInitRequest) returns (TaskInitResponse) {}
rpc TaskPause(TaskPauseRequest) returns (TaskPauseResponse) {}
rpc TaskInfo(TaskInfoRequest) returns (TaskInfoResponse) {}
rpc TaskStreamLog(TaskStreamLogRequest) returns (stream TaskStreamLogResponse) {}
rpc TaskSendMessage(TaskSendMessageRequest) returns (TaskSendMessageResponse) {}
rpc TaskProvideResult(TaskProvideResultRequest) returns (TaskProvideResultResponse) {}
rpc CreateExperimentalIndex(CreateExperimentalIndexRequest) returns (CreateExperimentalIndexResponse) {}
rpc ListExperimentalIndexFiles(ListExperimentalIndexFilesRequest) returns (ListExperimentalIndexFilesResponse) {}
rpc ListenExperimentalIndex(ListenExperimentalIndexRequest) returns (stream ListenExperimentalIndexResponse) {}
rpc RegisterFileToIndex(RegisterFileToIndexRequest) returns (RequestReceivedResponse) {}
rpc SetupIndexDependencies(SetupIndexDependenciesRequest) returns (SetupIndexDependenciesResponse) {}
rpc ComputeIndexTopoSort(ComputeIndexTopoSortRequest) returns (ComputeIndexTopoSortResponse) {}
rpc StreamChatDeepContext(StreamChatDeepContextRequest) returns (stream StreamChatDeepContextResponse) {}
rpc ChooseCodeReferences(ChooseCodeReferencesRequest) returns (RequestReceivedResponse) {}
rpc RegisterCodeReferences(RegisterCodeReferencesRequest) returns (RegisterCodeReferencesResponse) {}
rpc ExtractPaths(ExtractPathsRequest) returns (ExtractPathsResponse) {}
rpc SummarizeWithReferences(SummarizeWithReferencesRequest) returns (RequestReceivedResponse) {}
rpc DocumentationQuery(DocumentationQueryRequest) returns (DocumentationQueryResponse) {}
rpc AvailableDocs(AvailableDocsRequest) returns (AvailableDocsResponse) {}
rpc RunWebSearch(RunWebSearchRequest) returns (RunWebSearchResponse) {}
rpc RunWebFetch(RunWebFetchRequest) returns (RunWebFetchResponse) {}
rpc RunGenerateImage(RunGenerateImageRequest) returns (RunGenerateImageResponse) {}
rpc ReportFeedback(ReportFeedbackRequest) returns (ReportFeedbackResponse) {}
rpc ReportBug(ReportBugRequest) returns (ReportBugResponse) {}
rpc StreamChatContext(StreamChatContextRequest) returns (stream StreamChatContextResponse) {}
rpc GenerateTldr(GenerateTldrRequest) returns (GenerateTldrResponse) {}
rpc TaskStreamChatContext(TaskStreamChatContextRequest) returns (stream TaskStreamChatContextResponseWrapped) {}
rpc RerankResults(RerankerRequest) returns (RerankerResponse) {}
rpc ModelQuery(ModelQueryRequest) returns (ModelQueryResponse) {}
rpc ModelQueryV2(ModelQueryRequest) returns (stream ModelQueryResponseV2) {}
rpc IntentPrediction(IntentPredictionRequest) returns (IntentPredictionResponse) {}
rpc GetChatSuggestions(GetChatSuggestionsRequest) returns (GetChatSuggestionsResponse) {}
rpc GetUserInstructions(GetUserInstructionsRequest) returns (GetUserInstructionsResponse) {}
rpc StreamCursorTutor(StreamCursorTutorRequest) returns (stream StreamCursorTutorResponse) {}
rpc CheckFeatureStatus(CheckFeatureStatusRequest) returns (CheckFeatureStatusResponse) {}
rpc CheckFeaturesStatus(CheckFeaturesStatusRequest) returns (CheckFeaturesStatusResponse) {}
rpc CheckFeatureStatusUnauthenticated(CheckFeatureStatusRequest) returns (CheckFeatureStatusResponse) {}
rpc GetEffectiveTokenLimit(GetEffectiveTokenLimitRequest) returns (GetEffectiveTokenLimitResponse) {}
rpc GetContextScores(ContextScoresRequest) returns (ContextScoresResponse) {}
rpc StreamCpp(StreamCppRequest) returns (stream StreamCppResponse) {}
rpc CppConfig(CppConfigRequest) returns (CppConfigResponse) {}
rpc CppEditHistoryStatus(CppEditHistoryStatusRequest) returns (CppEditHistoryStatusResponse) {}
rpc CppAppend(CppAppendRequest) returns (CppAppendResponse) {}
rpc RefreshTabContext(RefreshTabContextRequest) returns (RefreshTabContextResponse) {}
rpc CheckNumberConfig(CheckNumberConfigRequest) returns (CheckNumberConfigResponse) {}
rpc CheckNumberConfigUnauthenticated(CheckNumberConfigRequest) returns (CheckNumberConfigResponse) {}
rpc CheckNumberConfigs(CheckNumberConfigsRequest) returns (CheckNumberConfigsResponse) {}
rpc StreamTerminalAutocomplete(StreamTerminalAutocompleteRequest) returns (stream StreamTerminalAutocompleteResponse) {}
rpc StreamPseudocodeGenerator(StreamPseudocodeGeneratorRequest) returns (stream StreamPseudocodeGeneratorResponse) {}
rpc StreamPseudocodeMapper(StreamPseudocodeMapperRequest) returns (stream StreamPseudocodeMapperResponse) {}
rpc AcknowledgeGracePeriodDisclaimer(AcknowledgeGracePeriodDisclaimerRequest) returns (AcknowledgeGracePeriodDisclaimerResponse) {}
rpc StreamAiLintBug(StreamAiLintBugRequest) returns (stream StreamAiLintBugResponse) {}
rpc StreamAiCursorHelp(StreamAiCursorHelpRequest) returns (stream StreamAiCursorHelpResponse) {}
rpc LogUserLintReply(LogUserLintReplyRequest) returns (LogUserLintReplyResponse) {}
rpc LogLinterExplicitUserFeedback(LogLinterExplicitUserFeedbackRequest) returns (LogLinterExplicitUserFeedbackResponse) {}
rpc StreamFixMarkers(FixMarkersRequest) returns (stream FixMarkersResponse) {}
rpc ReportInlineAction(ReportInlineActionRequest) returns (ReportInlineActionResponse) {}
rpc StreamPriomptPrompt(StreamPriomptPromptRequest) returns (stream StreamPriomptPromptResponse) {}
rpc StreamLint(StreamLintRequest) returns (stream StreamChatResponse) {}
rpc StreamNewLintRule(StreamNewRuleRequest) returns (stream StreamChatResponse) {}
rpc AiProject(AiProjectRequest) returns (stream AiProjectResponse) {}
rpc ToCamelCase(ToCamelCaseRequest) returns (ToCamelCaseResponse) {}
rpc ReportGenerationFeedback(ReportGenerationFeedbackRequest) returns (ReportGenerationFeedbackResponse) {}
rpc ReportAgentFeedback(ReportAgentFeedbackRequest) returns (ReportAgentFeedbackResponse) {}
rpc ReportAgentMessageFeedback(ReportAgentMessageFeedbackRequest) returns (ReportAgentMessageFeedbackResponse) {}
rpc GetThoughtAnnotation(GetThoughtAnnotationRequest) returns (GetThoughtAnnotationResponse) {}
rpc StreamWebCmdKV1(StreamWebCmdKV1Request) returns (stream StreamWebCmdKV1Response) {}
rpc StreamNextCursorPrediction(StreamNextCursorPredictionRequest) returns (stream StreamNextCursorPredictionResponse) {}
rpc IsCursorPredictionEnabled(IsCursorPredictionEnabledRequest) returns (IsCursorPredictionEnabledResponse) {}
rpc GetCppEditClassification(GetCppEditClassificationRequest) returns (GetCppEditClassificationResponse) {}
rpc GetTerminalCompletion(GetTerminalCompletionRequest) returns (GetTerminalCompletionResponse) {}
rpc TakeNotesOnCommitDiff(TakeNotesOnCommitDiffRequest) returns (TakeNotesOnCommitDiffResponse) {}
rpc BulkEmbed(BulkEmbedRequest) returns (BulkEmbedResponse) {}
rpc BackgroundCmdKEval(BackgroundCmdKEvalRequest) returns (stream BackgroundCmdKEvalResponse) {}
rpc BackgroundCmdK(BackgroundCmdKRequest) returns (stream BackgroundCmdKResponse) {}
rpc CalculateAutoSelection(CalculateAutoSelectionRequest) returns (CalculateAutoSelectionResponse) {}
rpc GetAtSymbolSuggestions(GetAtSymbolSuggestionsRequest) returns (GetAtSymbolSuggestionsResponse) {}
rpc GetCodebaseQuestions(GetChatRequest) returns (GetCodebaseQuestionsResponse) {}
rpc CppEditHistoryAppend(EditHistoryAppendChangesRequest) returns (EditHistoryAppendChangesResponse) {}
rpc DevOnlyGetPastRequestIds(DevOnlyGetPastRequestIdsRequest) returns (DevOnlyGetPastRequestIdsResponse) {}
rpc GetFilesForComposer(GetFilesForComposerRequest) returns (GetFilesForComposerResponse) {}
rpc TryParseTypeScriptTreeSitter(TryParseTypeScriptTreeSitterRequest) returns (TryParseTypeScriptTreeSitterResponse) {}
rpc NameTab(NameTabRequest) returns (NameTabResponse) {}
rpc IsTerminalFinishedV2(IsTerminalFinishedRequest) returns (IsTerminalFinishedResponseV2) {}
rpc TestModelStatus(TestModelStatusRequest) returns (TestModelStatusResponse) {}
rpc FindBugs(FindBugsRequest) returns (FindBugsResponse) {}
rpc ContextReranking(ContextRerankingRequest) returns (ContextRerankingResponse) {}
rpc AutoContext(AutoContextRequest) returns (AutoContextResponse) {}
rpc WriteGitCommitMessage(WriteGitCommitMessageRequest) returns (WriteGitCommitMessageResponse) {}
rpc WriteGitBranchName(WriteGitBranchNameRequest) returns (WriteGitBranchNameResponse) {}
rpc StreamBugBot(StreamBugBotRequest) returns (stream StreamBugBotResponse) {}
rpc StreamBugBotAgentic(stream StreamBugBotAgenticClientMessage) returns (stream StreamBugBotAgenticServerMessage) {}
rpc StreamBugBotAgenticSSE(BidiRequestId) returns (stream StreamBugBotAgenticServerMessage) {}
rpc StreamBugBotAgenticPoll(BidiPollRequest) returns (stream BidiPollResponse) {}
rpc StreamUiBestOfNJudge(stream StreamUiBestOfNJudgeClientMessage) returns (stream StreamUiBestOfNJudgeServerMessage) {}
rpc StreamUiBestOfNJudgeSSE(BidiRequestId) returns (stream StreamUiBestOfNJudgeServerMessage) {}
rpc StreamUiBestOfNJudgePoll(BidiPollRequest) returns (stream BidiPollResponse) {}
rpc CheckBugBotPrice(CheckBugBotPriceRequest) returns (CheckBugBotPriceResponse) {}
rpc CheckBugBotTelemetryHealthy(CheckBugBotTelemetryHealthyRequest) returns (CheckBugBotTelemetryHealthyResponse) {}
rpc RecordIdeBugReaction(RecordIdeBugReactionRequest) returns (RecordIdeBugReactionResponse) {}
rpc GetSuggestedBugBotIterations(GetSuggestedBugBotIterationsRequest) returns (GetSuggestedBugBotIterationsResponse) {}
rpc GetEditorBugbotAutoRunStatus(GetEditorBugbotAutoRunStatusRequest) returns (GetEditorBugbotAutoRunStatusResponse) {}
rpc TestBidi(stream TestBidiRequest) returns (stream TestBidiResponse) {}
rpc StreamDiffReview(GetDiffReviewRequest) returns (stream StreamDiffReviewResponse) {}
rpc StreamDiffReviewByFile(GetDiffReviewRequest) returns (stream StreamDiffReviewByFileResponse) {}
rpc GetModelLabels(GetModelLabelsRequest) returns (GetModelLabelsResponse) {}
rpc GetLastDefaultModelNudge(GetLastDefaultModelNudgeRequest) returns (GetLastDefaultModelNudgeResponse) {}
rpc GetDefaultModelNudgeData(GetDefaultModelNudgeDataRequest) returns (GetDefaultModelNudgeDataResponse) {}
rpc GetDefaultModel(GetDefaultModelRequest) returns (GetDefaultModelResponse) {}
rpc ReportCommitAiAnalytics(ReportCommitAiAnalyticsRequest) returns (ReportCommitAiAnalyticsResponse) {}
rpc TestBedrockCredentials(TestBedrockCredentialsRequest) returns (TestBedrockCredentialsResponse) {}
rpc ReportAiCodeChangeMetrics(ReportAiCodeChangeMetricsRequest) returns (ReportAiCodeChangeMetricsResponse) {}
rpc ReportProcessMetrics(ReportProcessMetricsRequest) returns (ReportProcessMetricsResponse) {}
rpc ReportProcessMetricsV2(ReportProcessMetricsV2Request) returns (ReportProcessMetricsV2Response) {}
rpc ReportSandProcessMetrics(ReportSandProcessMetricsRequest) returns (ReportSandProcessMetricsResponse) {}
rpc ReportClientNumericMetrics(ReportClientNumericMetricsRequest) returns (ReportClientNumericMetricsResponse) {}
rpc PotentiallyGenerateMemory(PotentiallyGenerateMemoryRequest) returns (PotentiallyGenerateMemoryResponse) {}
rpc KnowledgeBaseAdd(KnowledgeBaseAddRequest) returns (KnowledgeBaseAddResponse) {}
rpc KnowledgeBaseList(KnowledgeBaseListRequest) returns (KnowledgeBaseListResponse) {}
rpc KnowledgeBaseRemove(KnowledgeBaseRemoveRequest) returns (KnowledgeBaseRemoveResponse) {}
rpc KnowledgeBaseUpdate(KnowledgeBaseUpdateRequest) returns (KnowledgeBaseUpdateResponse) {}
rpc FetchRelevantKnowledgeForConversation(FetchRelevantKnowledgeForConversationRequest) returns (FetchRelevantKnowledgeForConversationResponse) {}
rpc InferBackgroundComposerScripts(InferBackgroundComposerScriptsRequest) returns (InferBackgroundComposerScriptsResponse) {}
rpc GetBackgroundComposerFeedbackLink(GetBackgroundComposerFeedbackLinkRequest) returns (GetBackgroundComposerFeedbackLinkResponse) {}
rpc GetUsableModels(GetUsableModelsRequest) returns (GetUsableModelsResponse) {}
rpc GetDefaultModelForCli(GetDefaultModelForCliRequest) returns (GetDefaultModelForCliResponse) {}
rpc StreamComposerEnhancer(stream ComposerEnhancerClientMessage) returns (stream ComposerEnhancerServerMessage) {}
rpc StreamComposerEnhancerSSE(BidiRequestId) returns (stream ComposerEnhancerServerMessage) {}
rpc StreamComposerEnhancerPoll(BidiPollRequest) returns (stream BidiPollResponse) {}
rpc StreamStt(stream SttClientMessage) returns (stream SttServerMessage) {}
rpc StreamSttSSE(BidiRequestId) returns (stream SttServerMessage) {}
rpc StreamSttPoll(BidiPollRequest) returns (stream BidiPollResponse) {}
rpc TranscribeAudio(TranscribeAudioRequest) returns (TranscribeAudioResponse) {}
rpc NameAgent(NameAgentRequest) returns (NameAgentResponse) {}
rpc EvaluatePromptHook(EvaluatePromptHookRequest) returns (EvaluatePromptHookResponse) {}
rpc GetCloudSetupBlockers(GetCloudSetupBlockersRequest) returns (GetCloudSetupBlockersResponse) {}
}
// Source: aiserver.v1.AnalyticsService (var: o)
service AnalyticsService {
rpc TrackEvents(TrackEventsRequest) returns (TrackEventsResponse) {}
rpc Batch(BatchRequest) returns (BatchResponse) {}
rpc BootstrapStatsig(BootstrapStatsigRequest) returns (BootstrapStatsigResponse) {}
rpc GetFirstWindowStatsigDecision(GetFirstWindowStatsigDecisionRequest) returns (GetFirstWindowStatsigDecisionResponse) {}
rpc SubmitLogs(SubmitLogsRequest) returns (SubmitLogsResponse) {}
rpc IngestConversation(IngestConversationRequest) returns (IngestConversationResponse) {}
rpc UploadIssueTrace(UploadIssueTraceRequest) returns (UploadIssueTraceResponse) {}
rpc DownloadIssueTraces(DownloadIssueTracesRequest) returns (DownloadIssueTracesResponse) {}
}
// Source: aiserver.v1.BackgroundComposerService (var: mg)
service BackgroundComposerService {
rpc ListBackgroundComposers(ListBackgroundComposersRequest) returns (ListBackgroundComposersResponse) {}
rpc AttachBackgroundComposer(AttachBackgroundComposerRequest) returns (stream AttachBackgroundComposerResponse) {}
rpc StreamConversation(StreamConversationRequest) returns (stream StreamConversationResponse) {}
rpc GetLatestAgentConversationState(GetLatestAgentConversationStateRequest) returns (GetLatestAgentConversationStateResponse) {}
rpc GetBlobForAgentKV(GetBlobForAgentKVRequest) returns (GetBlobForAgentKVResponse) {}
rpc AttachBackgroundComposerLogs(AttachBackgroundComposerLogsRequest) returns (stream AttachBackgroundComposerLogsResponse) {}
rpc AttachAgentStartupTrace(AttachAgentStartupTraceRequest) returns (stream AttachAgentStartupTraceResponse) {}
rpc StartBackgroundComposerFromSnapshot(StartBackgroundComposerFromSnapshotRequest) returns (StartBackgroundComposerFromSnapshotResponse) {}
rpc ForkBackgroundComposer(ForkBackgroundComposerRequest) returns (ForkBackgroundComposerResponse) {}
rpc MakePRBackgroundComposer(MakePRBackgroundComposerRequest) returns (MakePRBackgroundComposerResponse) {}
rpc OpenPRBackgroundComposer(OpenPRBackgroundComposerRequest) returns (OpenPRBackgroundComposerResponse) {}
rpc GetBackgroundComposerStatus(GetBackgroundComposerStatusRequest) returns (GetBackgroundComposerStatusResponse) {}
rpc AddAsyncFollowupBackgroundComposer(AddAsyncFollowupBackgroundComposerRequest) returns (AddAsyncFollowupBackgroundComposerResponse) {}
rpc InjectBackgroundComposerContext(InjectBackgroundComposerContextRequest) returns (InjectBackgroundComposerContextResponse) {}
rpc SubmitInteractionResponseBackgroundComposer(SubmitInteractionResponseBackgroundComposerRequest) returns (SubmitInteractionResponseBackgroundComposerResponse) {}
rpc ListPendingFollowups(ListPendingFollowupsRequest) returns (ListPendingFollowupsResponse) {}
rpc UpdatePendingFollowup(UpdatePendingFollowupRequest) returns (UpdatePendingFollowupResponse) {}
rpc DeletePendingFollowup(DeletePendingFollowupRequest) returns (DeletePendingFollowupResponse) {}
rpc ReorderPendingFollowup(ReorderPendingFollowupRequest) returns (ReorderPendingFollowupResponse) {}
rpc SubmitPendingFollowupNow(SubmitPendingFollowupNowRequest) returns (SubmitPendingFollowupNowResponse) {}
rpc MarkFollowupEditing(MarkFollowupEditingRequest) returns (MarkFollowupEditingResponse) {}
rpc GetCursorServerUrl(GetCursorServerUrlRequest) returns (GetCursorServerUrlResponse) {}
rpc WarmCursorServerDownload(WarmCursorServerDownloadRequest) returns (WarmCursorServerDownloadResponse) {}
rpc PreWarmPod(PreWarmPodRequest) returns (PreWarmPodResponse) {}
rpc WakeBackgroundComposer(WakeBackgroundComposerRequest) returns (WakeBackgroundComposerResponse) {}
rpc PauseBackgroundComposer(PauseBackgroundComposerRequest) returns (PauseBackgroundComposerResponse) {}
rpc ResumeBackgroundComposer(ResumeBackgroundComposerRequest) returns (ResumeBackgroundComposerResponse) {}
rpc ArchiveBackgroundComposer(ArchiveBackgroundComposerRequest) returns (ArchiveBackgroundComposerResponse) {}
rpc ArchiveRepoBackgroundComposers(ArchiveRepoBackgroundComposersRequest) returns (ArchiveRepoBackgroundComposersResponse) {}
rpc DeleteBackgroundComposer(DeleteBackgroundComposerRequest) returns (DeleteBackgroundComposerResponse) {}
rpc GetBackgroundComposerInfo(GetBackgroundComposerInfoRequest) returns (GetBackgroundComposerInfoResponse) {}
rpc GetBackgroundComposerEnvironmentVersion(GetBackgroundComposerEnvironmentVersionRequest) returns (GetBackgroundComposerEnvironmentVersionResponse) {}
rpc GetEnvironmentHistory(GetEnvironmentHistoryRequest) returns (GetEnvironmentHistoryResponse) {}
rpc GetBackgroundComposerTimings(GetBackgroundComposerTimingsRequest) returns (GetBackgroundComposerTimingsResponse) {}
rpc GetBackgroundComposerRepositoryInfo(GetBackgroundComposerRepositoryInfoRequest) returns (GetBackgroundComposerRepositoryInfoResponse) {}
rpc GetMachine(GetMachineRequest) returns (GetMachineResponse) {}
rpc ListWorkspaceFiles(ListWorkspaceFilesRequest) returns (ListWorkspaceFilesResponse) {}
rpc ListDetailedBackgroundComposers(ListDetailedBackgroundComposersRequest) returns (ListDetailedBackgroundComposersResponse) {}
rpc ListCloudAgentRunsForDashboard(ListCloudAgentRunsForDashboardRequest) returns (ListCloudAgentRunsForDashboardResponse) {}
rpc AggregateCloudAgentRunsForDashboard(AggregateCloudAgentRunsForDashboardRequest) returns (AggregateCloudAgentRunsForDashboardResponse) {}
rpc GetCloudAgentRunForDashboard(GetCloudAgentRunForDashboardRequest) returns (GetCloudAgentRunForDashboardResponse) {}
rpc ListCloudAgentRunEventsForDashboard(ListCloudAgentRunEventsForDashboardRequest) returns (ListCloudAgentRunEventsForDashboardResponse) {}
rpc ListNamedAgents(ListNamedAgentsRequest) returns (ListNamedAgentsResponse) {}
rpc ListNamedAgentSessions(ListNamedAgentSessionsRequest) returns (ListNamedAgentSessionsResponse) {}
rpc ListEventSubscriptions(ListEventSubscriptionsRequest) returns (ListEventSubscriptionsResponse) {}
rpc CloseEventSubscription(CloseEventSubscriptionRequest) returns (CloseEventSubscriptionResponse) {}
rpc GetGithubAccessTokenForRepos(GetGithubAccessTokenForReposRequest) returns (GetGithubAccessTokenForReposResponse) {}
rpc MakeGithubRequest(MakeGithubRequestRequest) returns (MakeGithubRequestResponse) {}
rpc GetBackgroundComposerDiffDetails(GetBackgroundComposerDiffDetailsRequest) returns (GetBackgroundComposerDiffDetailsResponse) {}
rpc GetOptimizedDiffDetails(GetOptimizedDiffDetailsRequest) returns (GetOptimizedDiffDetailsResponse) {}
rpc GetBackgroundComposerChangesHash(GetBackgroundComposerChangesHashRequest) returns (GetBackgroundComposerChangesHashResponse) {}
rpc GetBackgroundComposerPullRequest(GetBackgroundComposerPullRequestRequest) returns (GetBackgroundComposerPullRequestResponse) {}
rpc RefreshGithubAccessTokenInBackgroundComposer(RefreshGithubAccessTokenInBackgroundComposerRequest) returns (RefreshGithubAccessTokenInBackgroundComposerResponse) {}
rpc CreateBackgroundComposerPod(CreateBackgroundComposerPodRequest) returns (CreateBackgroundComposerPodResponse) {}
rpc AttachBackgroundComposerPod(AttachBackgroundComposerPodRequest) returns (stream AttachBackgroundComposerPodResponse) {}
rpc CreateBackgroundComposerPodSnapshot(CreateBackgroundComposerPodSnapshotRequest) returns (CreateBackgroundComposerPodSnapshotResponse) {}
rpc ChangeBackgroundComposerSnapshotVisibility(ChangeBackgroundComposerSnapshotVisibilityRequest) returns (ChangeBackgroundComposerSnapshotVisibilityResponse) {}
rpc GetBackgroundComposerSnapshotInfo(GetBackgroundComposerSnapshotInfoRequest) returns (GetBackgroundComposerSnapshotInfoResponse) {}
rpc ListBackgroundComposerSnapshotsByBcId(ListBackgroundComposerSnapshotsByBcIdRequest) returns (ListBackgroundComposerSnapshotsByBcIdResponse) {}
rpc ListBackgroundComposerSnapshotStatusesByBcIds(ListBackgroundComposerSnapshotStatusesByBcIdsRequest) returns (ListBackgroundComposerSnapshotStatusesByBcIdsResponse) {}
rpc GetBackgroundComposerSnapshotState(GetBackgroundComposerSnapshotStateRequest) returns (GetBackgroundComposerSnapshotStateResponse) {}
rpc WatchBackgroundComposerSnapshotState(WatchBackgroundComposerSnapshotStateRequest) returns (stream WatchBackgroundComposerSnapshotStateResponse) {}
rpc GetBackgroundComposerConversation(GetBackgroundComposerConversationRequest) returns (GetBackgroundComposerConversationResponse) {}
rpc RenameBackgroundComposer(RenameBackgroundComposerRequest) returns (RenameBackgroundComposerResponse) {}
rpc UpdateBackgroundComposerExperimentalModelOptOut(UpdateBackgroundComposerExperimentalModelOptOutRequest) returns (UpdateBackgroundComposerExperimentalModelOptOutResponse) {}
rpc CommitBackgroundComposer(CommitBackgroundComposerRequest) returns (CommitBackgroundComposerResponse) {}
rpc SetPersonalEnvironmentJson(SetPersonalEnvironmentJsonRequest) returns (SetPersonalEnvironmentJsonResponse) {}
rpc GetPersonalEnvironmentJson(GetPersonalEnvironmentJsonRequest) returns (GetPersonalEnvironmentJsonResponse) {}
rpc GetEnvironmentJsonCandidates(GetEnvironmentJsonCandidatesRequest) returns (GetEnvironmentJsonCandidatesResponse) {}
rpc ListPersonalEnvironments(ListPersonalEnvironmentsRequest) returns (ListPersonalEnvironmentsResponse) {}
rpc DeletePersonalEnvironmentJson(DeletePersonalEnvironmentJsonRequest) returns (DeletePersonalEnvironmentJsonResponse) {}
rpc PublishEnvironment(PublishEnvironmentRequest) returns (PublishEnvironmentResponse) {}
rpc PublishPersonalEnvironment(PublishPersonalEnvironmentRequest) returns (PublishPersonalEnvironmentResponse) {}
rpc ListTeamEnvironments(ListTeamEnvironmentsRequest) returns (ListTeamEnvironmentsResponse) {}
rpc DeleteTeamEnvironment(DeleteTeamEnvironmentRequest) returns (DeleteTeamEnvironmentResponse) {}
rpc SetTeamEnvironmentJson(SetTeamEnvironmentJsonRequest) returns (SetTeamEnvironmentJsonResponse) {}
rpc RestoreEnvironmentVersion(RestoreEnvironmentVersionRequest) returns (RestoreEnvironmentVersionResponse) {}
rpc ListEnvironments(ListEnvironmentsRequest) returns (ListEnvironmentsResponse) {}
rpc GetEnvironment(GetEnvironmentRequest) returns (GetEnvironmentResponse) {}
rpc ListEnvironmentBuilds(ListEnvironmentBuildsRequest) returns (ListEnvironmentBuildsResponse) {}
rpc GetEnvironmentBuild(GetEnvironmentBuildRequest) returns (GetEnvironmentBuildResponse) {}
rpc UpdateEnvironmentBuild(UpdateEnvironmentBuildRequest) returns (UpdateEnvironmentBuildResponse) {}
rpc TriggerEnvironmentBuild(TriggerEnvironmentBuildRequest) returns (TriggerEnvironmentBuildResponse) {}
rpc AttachEnvironmentBuildLog(AttachEnvironmentBuildLogRequest) returns (stream AttachEnvironmentBuildLogResponse) {}
rpc CancelEnvironmentBuild(CancelEnvironmentBuildRequest) returns (CancelEnvironmentBuildResponse) {}
rpc GetEnvironmentBuildSettings(GetEnvironmentBuildSettingsRequest) returns (GetEnvironmentBuildSettingsResponse) {}
rpc UpdateEnvironmentBuildSettings(UpdateEnvironmentBuildSettingsRequest) returns (UpdateEnvironmentBuildSettingsResponse) {}
rpc ResolveOrCreateMultiRepoEnvironment(ResolveOrCreateMultiRepoEnvironmentRequest) returns (ResolveOrCreateMultiRepoEnvironmentResponse) {}
rpc ResolveOrCreateDraftEnvironment(ResolveOrCreateDraftEnvironmentRequest) returns (ResolveOrCreateDraftEnvironmentResponse) {}
rpc SnapshotAndSaveEnvironment(SnapshotAndSaveEnvironmentRequest) returns (SnapshotAndSaveEnvironmentResponse) {}
rpc ListReposWithLocalEnvironment(ListReposWithLocalEnvironmentRequest) returns (ListReposWithLocalEnvironmentResponse) {}
rpc MarkBackgroundComposerRead(MarkBackgroundComposerReadRequest) returns (MarkBackgroundComposerReadResponse) {}
rpc MarkBackgroundComposerUnread(MarkBackgroundComposerUnreadRequest) returns (MarkBackgroundComposerUnreadResponse) {}
rpc NotifyBackgroundComposerShown(NotifyBackgroundComposerShownRequest) returns (NotifyBackgroundComposerShownResponse) {}
rpc FetchBackgroundComposer(FetchBackgroundComposerRequest) returns (FetchBackgroundComposerResponse) {}
rpc GetTurnSummaryBackgroundComposer(GetTurnSummaryBackgroundComposerRequest) returns (GetTurnSummaryBackgroundComposerResponse) {}
rpc GetBackgroundComposerName(GetBackgroundComposerNameRequest) returns (GetBackgroundComposerNameResponse) {}
rpc GetBackgroundComposerPrompt(GetBackgroundComposerPromptRequest) returns (GetBackgroundComposerPromptResponse) {}
rpc ReadBinaryFile(ReadBinaryFileRequest) returns (ReadBinaryFileResponse) {}
rpc ListBackgroundComposerArtifacts(ListBackgroundComposerArtifactsRequest) returns (ListBackgroundComposerArtifactsResponse) {}
rpc GetBackgroundComposerArtifact(GetBackgroundComposerArtifactRequest) returns (GetBackgroundComposerArtifactResponse) {}
rpc GetBackgroundComposerArtifactBytes(GetBackgroundComposerArtifactBytesRequest) returns (GetBackgroundComposerArtifactBytesResponse) {}
rpc StreamBackgroundComposerArtifact(StreamBackgroundComposerArtifactRequest) returns (stream StreamBackgroundComposerArtifactResponse) {}
rpc ListSharedBackgroundComposerArtifacts(ListSharedBackgroundComposerArtifactsRequest) returns (ListSharedBackgroundComposerArtifactsResponse) {}
rpc ShareBackgroundComposerArtifact(ShareBackgroundComposerArtifactRequest) returns (ShareBackgroundComposerArtifactResponse) {}
rpc UnshareBackgroundComposerArtifact(UnshareBackgroundComposerArtifactRequest) returns (UnshareBackgroundComposerArtifactResponse) {}
rpc GetPublicBackgroundComposerArtifact(GetPublicBackgroundComposerArtifactRequest) returns (GetPublicBackgroundComposerArtifactResponse) {}
rpc UpdateBackgroundComposerUserSettings(UpdateBackgroundComposerUserSettingsRequest) returns (UpdateBackgroundComposerUserSettingsResponse) {}
rpc GetBackgroundComposerUserSettings(GetBackgroundComposerUserSettingsRequest) returns (GetBackgroundComposerUserSettingsResponse) {}
rpc UpdateBackgroundComposerEnvironment(UpdateBackgroundComposerEnvironmentRequest) returns (UpdateBackgroundComposerEnvironmentResponse) {}
rpc GetRepositoryBranches(GetRepositoryBranchesRequest) returns (GetRepositoryBranchesResponse) {}
rpc GetPullRequestMergeStatus(GetPullRequestMergeStatusRequest) returns (GetPullRequestMergeStatusResponse) {}
rpc GetDetailedPullRequestStatus(GetDetailedPullRequestStatusRequest) returns (GetDetailedPullRequestStatusResponse) {}
rpc CheckPullRequestMergeability(CheckPullRequestMergeabilityRequest) returns (CheckPullRequestMergeabilityResponse) {}
rpc GetPullRequestDiscussions(GetPullRequestDiscussionsRequest) returns (GetPullRequestDiscussionsResponse) {}
rpc GetPullRequestCommits(GetPullRequestCommitsRequest) returns (GetPullRequestCommitsResponse) {}
rpc GetPullRequestTimelineEvents(GetPullRequestTimelineEventsRequest) returns (GetPullRequestTimelineEventsResponse) {}
rpc ReplyToReviewThread(ReplyToReviewThreadRequest) returns (ReplyToReviewThreadResponse) {}
rpc ResolveReviewThread(ResolveReviewThreadRequest) returns (ResolveReviewThreadResponse) {}
rpc UnresolveReviewThread(UnresolveReviewThreadRequest) returns (UnresolveReviewThreadResponse) {}
rpc DeletePullRequestReviewComment(DeletePullRequestReviewCommentRequest) returns (DeletePullRequestReviewCommentResponse) {}
rpc AddPullRequestReviewComment(AddPullRequestReviewCommentRequest) returns (AddPullRequestReviewCommentResponse) {}
rpc MergePullRequest(MergePullRequestRequest) returns (MergePullRequestResponse) {}
rpc EnablePullRequestAutoMerge(EnablePullRequestAutoMergeRequest) returns (EnablePullRequestAutoMergeResponse) {}
rpc DisablePullRequestAutoMerge(DisablePullRequestAutoMergeRequest) returns (DisablePullRequestAutoMergeResponse) {}
rpc ConvertPullRequestFromDraft(ConvertPullRequestFromDraftRequest) returns (ConvertPullRequestFromDraftResponse) {}
rpc UpdatePullRequestBranch(UpdatePullRequestBranchRequest) returns (UpdatePullRequestBranchResponse) {}
rpc RegisterPushNotificationToken(RegisterPushNotificationTokenRequest) returns (RegisterPushNotificationTokenResponse) {}
rpc DeletePushNotificationToken(DeletePushNotificationTokenRequest) returns (DeletePushNotificationTokenResponse) {}
rpc SyncLiveActivity(SyncLiveActivityRequest) returns (SyncLiveActivityResponse) {}
rpc DeleteLiveActivity(DeleteLiveActivityRequest) returns (DeleteLiveActivityResponse) {}
rpc VerifyBackgroundComposerAccess(VerifyBackgroundComposerAccessRequest) returns (VerifyBackgroundComposerAccessResponse) {}
rpc StartSlackStreamingForFollowup(StartSlackStreamingForFollowupRequest) returns (StartSlackStreamingForFollowupResponse) {}
rpc StartGithubStreamingForFollowup(StartGithubStreamingForFollowupRequest) returns (StartGithubStreamingForFollowupResponse) {}
rpc StartLinearStreamingForFollowup(StartLinearStreamingForFollowupRequest) returns (StartLinearStreamingForFollowupResponse) {}
rpc GetGithubInstallations(GetGithubInstallationsRequest) returns (GetGithubInstallationsResponse) {}
rpc FetchAllInstallationRepos(FetchAllInstallationReposRequest) returns (FetchAllInstallationReposResponse) {}
rpc GetBackgroundComposerVmUsage(GetBackgroundComposerVmUsageRequest) returns (GetBackgroundComposerVmUsageResponse) {}
rpc ListGrindModeComposers(ListGrindModeComposersRequest) returns (ListGrindModeComposersResponse) {}
rpc GetCloudAgentDebugDetails(GetCloudAgentDebugDetailsRequest) returns (GetCloudAgentDebugDetailsResponse) {}
rpc GetCloudAgentMemoryDbLogs(GetCloudAgentMemoryDbLogsRequest) returns (GetCloudAgentMemoryDbLogsResponse) {}
rpc CreateAgentShare(CreateAgentShareRequest) returns (CreateAgentShareResponse) {}
rpc GetAgentSharePreview(GetAgentSharePreviewRequest) returns (GetAgentSharePreviewResponse) {}
rpc ListPrivateWorkers(ListPrivateWorkersRequest) returns (ListPrivateWorkersResponse) {}
rpc ListPrivateWorkerPools(ListPrivateWorkerPoolsRequest) returns (ListPrivateWorkerPoolsResponse) {}
rpc DeregisterPrivateWorkerPool(DeregisterPrivateWorkerPoolRequest) returns (DeregisterPrivateWorkerPoolResponse) {}
rpc AdminListUserPrivateWorkers(AdminListUserPrivateWorkersRequest) returns (AdminListUserPrivateWorkersResponse) {}
rpc ListPendingPrivateWorkerRequests(ListPendingPrivateWorkerRequestsRequest) returns (ListPendingPrivateWorkerRequestsResponse) {}
rpc GetPrivateWorkersSummary(GetPrivateWorkersSummaryRequest) returns (GetPrivateWorkersSummaryResponse) {}
rpc GetPrivateWorker(GetPrivateWorkerRequest) returns (GetPrivateWorkerResponse) {}
rpc ReleasePrivateWorker(ReleasePrivateWorkerRequest) returns (ReleasePrivateWorkerResponse) {}
rpc BatchRefreshPullRequestStatus(BatchRefreshPullRequestStatusRequest) returns (BatchRefreshPullRequestStatusResponse) {}
rpc ListAgentStores(ListAgentStoresRequest) returns (ListAgentStoresResponse) {}
rpc ListAgentStoreEntries(ListAgentStoreEntriesRequest) returns (ListAgentStoreEntriesResponse) {}
rpc ReadAgentStoreFile(ReadAgentStoreFileRequest) returns (ReadAgentStoreFileResponse) {}
rpc MintAgentStoreToken(MintAgentStoreTokenRequest) returns (MintAgentStoreTokenResponse) {}
rpc ListAgentStoreFiles(ListAgentStoreFilesRequest) returns (ListAgentStoreFilesResponse) {}
rpc ListAgentStoreDirectory(ListAgentStoreDirectoryRequest) returns (ListAgentStoreDirectoryResponse) {}
rpc PresignAgentStoreReads(PresignAgentStoreReadsRequest) returns (PresignAgentStoreReadsResponse) {}
rpc PresignAgentStoreWrites(PresignAgentStoreWritesRequest) returns (PresignAgentStoreWritesResponse) {}
rpc CompleteAgentStoreMultipartWrites(CompleteAgentStoreMultipartWritesRequest) returns (CompleteAgentStoreMultipartWritesResponse) {}
rpc AbortAgentStoreMultipartWrites(AbortAgentStoreMultipartWritesRequest) returns (AbortAgentStoreMultipartWritesResponse) {}
rpc AcquireAgentStoreFileLock(AcquireAgentStoreFileLockRequest) returns (AcquireAgentStoreFileLockResponse) {}
rpc RenewAgentStoreFileLock(RenewAgentStoreFileLockRequest) returns (RenewAgentStoreFileLockResponse) {}
rpc ReleaseAgentStoreFileLock(ReleaseAgentStoreFileLockRequest) returns (ReleaseAgentStoreFileLockResponse) {}
rpc GetAgentStoreFileLock(GetAgentStoreFileLockRequest) returns (GetAgentStoreFileLockResponse) {}
rpc DeleteAgentStoreFiles(DeleteAgentStoreFilesRequest) returns (DeleteAgentStoreFilesResponse) {}
rpc ShareAgentStore(ShareAgentStoreRequest) returns (ShareAgentStoreResponse) {}
rpc UnshareAgentStore(UnshareAgentStoreRequest) returns (UnshareAgentStoreResponse) {}
rpc ListSharedAgentStores(ListSharedAgentStoresRequest) returns (ListSharedAgentStoresResponse) {}
rpc ProvisionSyntheticsServiceAccounts(ProvisionSyntheticsServiceAccountsRequest) returns (ProvisionSyntheticsServiceAccountsResponse) {}
rpc StartCloudAgentLoadTest(StartCloudAgentLoadTestRequest) returns (StartCloudAgentLoadTestResponse) {}
rpc EnsureModelRoutingLoadTestStarted(EnsureModelRoutingLoadTestStartedRequest) returns (EnsureModelRoutingLoadTestStartedResponse) {}
rpc CancelModelRoutingLoadTest(CancelModelRoutingLoadTestRequest) returns (CancelModelRoutingLoadTestResponse) {}
rpc MintCustomerPrivatelinkProxyToken(MintCustomerPrivatelinkProxyTokenRequest) returns (MintCustomerPrivatelinkProxyTokenResponse) {}
rpc AdminListTeamNamedAgents(AdminListTeamNamedAgentsRequest) returns (AdminListTeamNamedAgentsResponse) {}
rpc AdminDeleteNamedAgent(AdminDeleteNamedAgentRequest) returns (AdminDeleteNamedAgentResponse) {}
}
// Source: aiserver.v1.BidiService (var: o)
service BidiService {
rpc BidiAppend(BidiAppendRequest) returns (BidiAppendResponse) {}
}
// Source: aiserver.v1.ChatRequestEventService (var: c)
service ChatRequestEventService {
rpc SubmitChatRequestEvents(SubmitChatRequestEventsRequest) returns (SubmitChatRequestEventsResponse) {}
}
// Source: aiserver.v1.ChatService (var: i)
service ChatService {
rpc StreamUnifiedChat(StreamUnifiedChatRequest) returns (stream StreamUnifiedChatResponse) {}
rpc StreamUnifiedChatWithTools(stream StreamUnifiedChatRequestWithTools) returns (stream StreamUnifiedChatResponseWithTools) {}
rpc StreamUnifiedChatWithToolsSSE(BidiRequestId) returns (stream StreamUnifiedChatResponseWithTools) {}
rpc StreamUnifiedChatWithToolsPoll(BidiPollRequest) returns (stream BidiPollResponse) {}
rpc StreamUnifiedChatWithToolsIdempotent(stream StreamUnifiedChatRequestWithToolsIdempotent) returns (stream StreamUnifiedChatResponseWithToolsIdempotent) {}
rpc StreamUnifiedChatWithToolsIdempotentSSE(BidiRequestId) returns (stream StreamUnifiedChatResponseWithToolsIdempotent) {}
rpc StreamUnifiedChatWithToolsIdempotentPoll(BidiPollRequest) returns (stream BidiPollResponse) {}
rpc GetConversationSummary(StreamUnifiedChatRequest) returns (ConversationSummary) {}
rpc StreamSpeculativeSummaries(StreamUnifiedChatRequest) returns (stream ConversationSummary) {}
rpc WarmStreamUnifiedChatWithTools(StreamUnifiedChatRequest) returns (WarmStreamUnifiedChatWithToolsResponse) {}
rpc GetPromptDryRun(StreamUnifiedChatRequest) returns (GetPromptDryRunResponse) {}
rpc StreamFullFileCmdK(StreamUnifiedChatRequest) returns (stream StreamUnifiedChatResponseWithTools) {}
rpc WarmFullFileCmdK(StreamUnifiedChatRequest) returns (WarmStreamUnifiedChatWithToolsResponse) {}
rpc ConvertOALToNAL(ConvertOALToNALRequest) returns (ConvertOALToNALResponse) {}
}
// Source: aiserver.v1.CmdKService (var: o)
service CmdKService {
rpc StreamCmdK(StreamCmdKRequest) returns (stream StreamCmdKResponseContextWrapped) {}
rpc StreamHypermode(StreamHypermodeRequest) returns (stream StreamCmdKResponseContextWrapped) {}
rpc RerankCmdKContext(RerankCmdKContextRequest) returns (RerankCmdKContextResponse) {}
rpc StreamTerminalCmdK(StreamTerminalCmdKRequest) returns (stream StreamTerminalCmdKResponseContextWrapped) {}
rpc RerankTerminalCmdKContext(RerankTerminalCmdKContextRequest) returns (RerankTerminalCmdKContextResponse) {}
rpc GetRelevantChunks(GetRelevantChunksRequest) returns (stream StreamGetRelevantChunksResponseContextWrapped) {}
}
// Source: aiserver.v1.DashboardService (var: u)
service DashboardService {
rpc GetTeams(GetTeamsRequest) returns (GetTeamsResponse) {}
rpc GetMe(GetMeRequest) returns (GetMeResponse) {}
rpc GetAgenticOnboardingConfig(GetAgenticOnboardingConfigRequest) returns (GetAgenticOnboardingConfigResponse) {}
rpc GetUserOrganizations(GetUserOrganizationsRequest) returns (GetUserOrganizationsResponse) {}
rpc SetUserDefaultTeam(SetUserDefaultTeamRequest) returns (SetUserDefaultTeamResponse) {}
rpc GetOrganizationMembers(GetOrganizationMembersRequest) returns (GetOrganizationMembersResponse) {}
rpc GetOrganizationMember(GetOrganizationMemberRequest) returns (GetOrganizationMemberResponse) {}
rpc ListOrganizationIdentityProviders(ListOrganizationIdentityProvidersRequest) returns (ListOrganizationIdentityProvidersResponse) {}
rpc UpdateOrganizationIdentityProviderSsoSettings(UpdateOrganizationIdentityProviderSsoSettingsRequest) returns (UpdateOrganizationIdentityProviderResponse) {}
rpc SetOrganizationIdentityProviderAllowDomainJoin(SetOrganizationIdentityProviderAllowDomainJoinRequest) returns (UpdateOrganizationIdentityProviderResponse) {}
rpc AddOrganizationIdentityProviderDomainJoin(AddOrganizationIdentityProviderDomainJoinRequest) returns (UpdateOrganizationIdentityProviderResponse) {}
rpc RemoveOrganizationIdentityProviderDomainJoin(RemoveOrganizationIdentityProviderDomainJoinRequest) returns (UpdateOrganizationIdentityProviderResponse) {}
rpc MergeOrganizationIdentityProvider(MergeOrganizationIdentityProviderRequest) returns (MergeOrganizationIdentityProviderResponse) {}
rpc PreflightMergeOrganizationIdentityProvider(PreflightMergeOrganizationIdentityProviderRequest) returns (PreflightMergeOrganizationIdentityProviderResponse) {}
rpc GetOrganizationMergeIdpRequest(GetOrganizationMergeIdpRequestRequest) returns (GetOrganizationMergeIdpRequestResponse) {}
rpc ListOrganizationMergeIdpRequests(ListOrganizationMergeIdpRequestsRequest) returns (ListOrganizationMergeIdpRequestsResponse) {}
rpc MoveOrganizationMemberToTeam(MoveOrganizationMemberToTeamRequest) returns (MoveOrganizationMemberToTeamResponse) {}
rpc SetOrganizationMemberTeams(SetOrganizationMemberTeamsRequest) returns (SetOrganizationMemberTeamsResponse) {}
rpc BulkMoveOrganizationMembers(BulkMoveOrganizationMembersRequest) returns (BulkMoveOrganizationMembersResponse) {}
rpc StartBulkMoveOrganizationMembers(StartBulkMoveOrganizationMembersRequest) returns (StartBulkMoveOrganizationMembersResponse) {}
rpc GetBackgroundJob(GetBackgroundJobRequest) returns (GetBackgroundJobResponse) {}
rpc SetOrganizationMemberRole(SetOrganizationMemberRoleRequest) returns (SetOrganizationMemberRoleResponse) {}
rpc UpdateOrganization(UpdateOrganizationRequest) returns (UpdateOrganizationResponse) {}
rpc UpdateOrganizationTeam(UpdateOrganizationTeamRequest) returns (UpdateOrganizationTeamResponse) {}
rpc CreateOrganizationTeam(CreateOrganizationTeamRequest) returns (CreateOrganizationTeamResponse) {}
rpc GetOrganizationTeamAdminCandidates(GetOrganizationTeamAdminCandidatesRequest) returns (GetOrganizationTeamAdminCandidatesResponse) {}
rpc GetDirectoryGroups(GetDirectoryGroupsRequest) returns (GetDirectoryGroupsResponse) {}
rpc UpdateDirectoryGroupSettings(UpdateDirectoryGroupSettingsRequest) returns (UpdateDirectoryGroupSettingsResponse) {}
rpc GetOrganizationGroups(GetOrganizationGroupsRequest) returns (GetOrganizationGroupsResponse) {}
rpc GetOrganizationGroup(GetOrganizationGroupRequest) returns (GetOrganizationGroupResponse) {}
rpc GetOrganizationGroupMembers(GetOrganizationGroupMembersRequest) returns (GetOrganizationGroupMembersResponse) {}
rpc CreateOrganizationGroup(CreateOrganizationGroupRequest) returns (CreateOrganizationGroupResponse) {}
rpc UpdateOrganizationGroup(UpdateOrganizationGroupRequest) returns (UpdateOrganizationGroupResponse) {}
rpc DeleteOrganizationGroup(DeleteOrganizationGroupRequest) returns (DeleteOrganizationGroupResponse) {}
rpc AddOrganizationGroupMembers(AddOrganizationGroupMembersRequest) returns (AddOrganizationGroupMembersResponse) {}
rpc RemoveOrganizationGroupMembers(RemoveOrganizationGroupMembersRequest) returns (RemoveOrganizationGroupMembersResponse) {}
rpc UpdateOrganizationGroupMember(UpdateOrganizationGroupMemberRequest) returns (UpdateOrganizationGroupMemberResponse) {}
rpc GetOrganizationGroupAutorunSettings(GetOrganizationGroupAutorunSettingsRequest) returns (GetOrganizationGroupAutorunSettingsResponse) {}
rpc UpdateOrganizationGroupAutorunSettings(UpdateOrganizationGroupAutorunSettingsRequest) returns (UpdateOrganizationGroupAutorunSettingsResponse) {}
rpc GetOrganizationGroupModelAllowlist(GetOrganizationGroupModelAllowlistRequest) returns (GetOrganizationGroupModelAllowlistResponse) {}
rpc UpdateOrganizationGroupModelAllowlist(UpdateOrganizationGroupModelAllowlistRequest) returns (UpdateOrganizationGroupModelAllowlistResponse) {}
rpc GetOrganizationGroupAutoReviewSettings(GetOrganizationGroupAutoReviewSettingsRequest) returns (GetOrganizationGroupAutoReviewSettingsResponse) {}
rpc UpdateOrganizationGroupAutoReviewSettings(UpdateOrganizationGroupAutoReviewSettingsRequest) returns (UpdateOrganizationGroupAutoReviewSettingsResponse) {}
rpc GetOrganizationGroupSmartAutoSettings(GetOrganizationGroupSmartAutoSettingsRequest) returns (GetOrganizationGroupSmartAutoSettingsResponse) {}
rpc UpdateOrganizationGroupSmartAutoSettings(UpdateOrganizationGroupSmartAutoSettingsRequest) returns (UpdateOrganizationGroupSmartAutoSettingsResponse) {}
rpc CreateOrganizationGroupAnthropicCyberEnrollmentUrl(CreateOrganizationGroupAnthropicCyberEnrollmentUrlRequest) returns (CreateOrganizationGroupAnthropicCyberEnrollmentUrlResponse) {}
rpc GetTeamGroups(GetTeamGroupsRequest) returns (GetTeamGroupsResponse) {}
rpc GetTeamGroup(GetTeamGroupRequest) returns (GetTeamGroupResponse) {}
rpc GetTeamGroupMembers(GetTeamGroupMembersRequest) returns (GetTeamGroupMembersResponse) {}
rpc CreateTeamGroup(CreateTeamGroupRequest) returns (CreateTeamGroupResponse) {}
rpc UpdateTeamGroup(UpdateTeamGroupRequest) returns (UpdateTeamGroupResponse) {}
rpc DeleteTeamGroup(DeleteTeamGroupRequest) returns (DeleteTeamGroupResponse) {}
rpc AddTeamGroupMembers(AddTeamGroupMembersRequest) returns (AddTeamGroupMembersResponse) {}
rpc RemoveTeamGroupMembers(RemoveTeamGroupMembersRequest) returns (RemoveTeamGroupMembersResponse) {}
rpc GetGroups(GetGroupsRequest) returns (GetGroupsResponse) {}
rpc GetGroupMembers(GetGroupMembersRequest) returns (GetGroupMembersResponse) {}
rpc CreateGroup(CreateGroupRequest) returns (CreateGroupResponse) {}
rpc UpdateGroup(UpdateGroupRequest) returns (UpdateGroupResponse) {}
rpc DeleteGroup(DeleteGroupRequest) returns (DeleteGroupResponse) {}
rpc AddGroupMembers(AddGroupMembersRequest) returns (AddGroupMembersResponse) {}
rpc RemoveGroupMembers(RemoveGroupMembersRequest) returns (RemoveGroupMembersResponse) {}
rpc BulkAssignGroupMembers(BulkAssignGroupMembersRequest) returns (BulkAssignGroupMembersResponse) {}
rpc PreviewAttachGroupToDirectory(PreviewAttachGroupToDirectoryRequest) returns (PreviewAttachGroupToDirectoryResponse) {}
rpc DetachGroupFromDirectory(DetachGroupFromDirectoryRequest) returns (DetachGroupFromDirectoryResponse) {}
rpc GetScimConflicts(GetScimConflictsRequest) returns (GetScimConflictsResponse) {}
rpc ListScimDirectories(ListScimDirectoriesRequest) returns (ListScimDirectoriesResponse) {}
rpc GetOrganizationScimConfigurationLinks(ListScimDirectoriesRequest) returns (GetOrganizationScimConfigurationLinksResponse) {}
rpc CreateScimDirectory(CreateScimDirectoryRequest) returns (CreateScimDirectoryResponse) {}
rpc UpdateScimDirectorySyncSettings(UpdateScimDirectorySyncSettingsRequest) returns (UpdateScimDirectorySyncSettingsResponse) {}
rpc DeleteScimDirectory(DeleteScimDirectoryRequest) returns (DeleteScimDirectoryResponse) {}
rpc ListScimGroupsFromUpstream(ListScimGroupsFromUpstreamRequest) returns (ListScimGroupsFromUpstreamResponse) {}
rpc ListScimTargetMappings(ListScimTargetMappingsRequest) returns (ListScimTargetMappingsResponse) {}
rpc ListOrganizationGroupTargetMappings(ListOrganizationGroupTargetMappingsRequest) returns (ListOrganizationGroupTargetMappingsResponse) {}
rpc CreateScimTargetMapping(CreateScimTargetMappingRequest) returns (CreateScimTargetMappingResponse) {}
rpc DeleteScimTargetMapping(DeleteScimTargetMappingRequest) returns (DeleteScimTargetMappingResponse) {}
rpc GetActivationCheckoutUrl(GetActivationCheckoutUrlRequest) returns (GetActivationCheckoutUrlResponse) {}
rpc CheckPromotionEligibility(CheckPromotionEligibilityRequest) returns (CheckPromotionEligibilityResponse) {}
rpc ActivatePromotion(ActivatePromotionRequest) returns (ActivatePromotionResponse) {}
rpc GetTeamCustomerPortalUrl(GetTeamCustomerPortalUrlRequest) returns (GetTeamCustomerPortalUrlResponse) {}
rpc GetTeamMembers(GetTeamMembersRequest) returns (GetTeamMembersResponse) {}
rpc SendTeamInvite(SendTeamInviteRequest) returns (SendTeamInviteResponse) {}
rpc GetTeamInviteLink(GetTeamInviteLinkRequest) returns (GetTeamInviteLinkResponse) {}
rpc AcceptInvite(AcceptInviteRequest) returns (AcceptInviteResponse) {}
rpc GetTeamInviteMetadata(GetTeamInviteMetadataRequest) returns (GetTeamInviteMetadataResponse) {}
rpc ListContactImportConnections(ListContactImportConnectionsRequest) returns (ListContactImportConnectionsResponse) {}
rpc GetGoogleContactImportAuthUrl(GetGoogleContactImportAuthUrlRequest) returns (GetGoogleContactImportAuthUrlResponse) {}
rpc ConnectGoogleContactImportCallback(ConnectGoogleContactImportCallbackRequest) returns (ConnectGoogleContactImportCallbackResponse) {}
rpc ListContactImportContacts(ListContactImportContactsRequest) returns (ListContactImportContactsResponse) {}
rpc GetContactImportAvatar(GetContactImportAvatarRequest) returns (GetContactImportAvatarResponse) {}
rpc DisconnectContactImportConnection(DisconnectContactImportConnectionRequest) returns (DisconnectContactImportConnectionResponse) {}
rpc CreateTeam(CreateTeamRequest) returns (CreateTeamResponse) {}
rpc GetJoinableTeamsByDomain(GetJoinableTeamsByDomainRequest) returns (GetJoinableTeamsByDomainResponse) {}
rpc JoinTeamByDomain(JoinTeamByDomainRequest) returns (JoinTeamByDomainResponse) {}
rpc UpdateTeamDomainJoinSetting(UpdateTeamDomainJoinSettingRequest) returns (UpdateTeamDomainJoinSettingResponse) {}
rpc GetTeamMemberDomains(GetTeamMemberDomainsRequest) returns (GetTeamMemberDomainsResponse) {}
rpc GetTeamIdForReactivation(GetTeamIdForReactivationRequest) returns (GetTeamIdForReactivationResponse) {}
rpc ChangeSeat(ChangeSeatRequest) returns (ChangeSeatResponse) {}
rpc ChangeTeamSubscription(ChangeTeamSubscriptionRequest) returns (ChangeTeamSubscriptionResponse) {}
rpc ConnectGithubCallback(ConnectGithubCallbackRequest) returns (ConnectGithubCallbackResponse) {}
rpc RegisterGithubCursorCode(RegisterGithubCursorCodeRequest) returns (RegisterGithubCursorCodeResponse) {}
rpc PrepareGithubConnectFlow(PrepareGithubConnectFlowRequest) returns (PrepareGithubConnectFlowResponse) {}
rpc CompleteGithubConnectFlow(CompleteGithubConnectFlowRequest) returns (CompleteGithubConnectFlowResponse) {}
rpc DisconnectGithub(DisconnectGithubRequest) returns (DisconnectGithubResponse) {}
rpc PrepareSetupGithubEnterpriseApp(PrepareSetupGithubEnterpriseAppRequest) returns (PrepareSetupGithubEnterpriseAppResponse) {}
rpc FinishSetupGithubEnterpriseApp(FinishSetupGithubEnterpriseAppRequest) returns (FinishSetupGithubEnterpriseAppResponse) {}
rpc ListGithubEnterpriseApps(ListGithubEnterpriseAppsRequest) returns (ListGithubEnterpriseAppsResponse) {}
rpc DeleteGithubEnterpriseApp(DeleteGithubEnterpriseAppRequest) returns (DeleteGithubEnterpriseAppResponse) {}
rpc SetupGitlabEnterpriseInstance(SetupGitlabEnterpriseInstanceRequest) returns (SetupGitlabEnterpriseInstanceResponse) {}
rpc ListGitlabEnterpriseInstances(ListGitlabEnterpriseInstancesRequest) returns (ListGitlabEnterpriseInstancesResponse) {}
rpc SetGitlabEnterpriseHostControlledServiceAccountToken(SetGitlabEnterpriseHostControlledServiceAccountTokenRequest) returns (SetGitlabEnterpriseHostControlledServiceAccountTokenResponse) {}
rpc RotateGitlabEnterpriseWebhookSecret(RotateGitlabEnterpriseWebhookSecretRequest) returns (RotateGitlabEnterpriseWebhookSecretResponse) {}
rpc DeleteGitlabEnterpriseInstance(DeleteGitlabEnterpriseInstanceRequest) returns (DeleteGitlabEnterpriseInstanceResponse) {}
rpc SetupBitbucketServerInstance(SetupBitbucketServerInstanceRequest) returns (SetupBitbucketServerInstanceResponse) {}
rpc ListBitbucketServerInstances(ListBitbucketServerInstancesRequest) returns (ListBitbucketServerInstancesResponse) {}
rpc UpdateBitbucketServerInstanceToken(UpdateBitbucketServerInstanceTokenRequest) returns (UpdateBitbucketServerInstanceTokenResponse) {}
rpc DeleteBitbucketServerInstance(DeleteBitbucketServerInstanceRequest) returns (DeleteBitbucketServerInstanceResponse) {}
rpc SyncGitlabRepos(SyncGitlabReposRequest) returns (SyncGitlabReposResponse) {}
rpc UpdateRole(UpdateRoleRequest) returns (UpdateRoleResponse) {}
rpc RemoveMember(RemoveMemberRequest) returns (RemoveMemberResponse) {}
rpc GetMemberRemovalInsights(GetMemberRemovalInsightsRequest) returns (GetMemberRemovalInsightsResponse) {}
rpc GetSignUpType(GetSignUpTypeRequest) returns (GetSignUpTypeResponse) {}
rpc GetHardLimit(GetHardLimitRequest) returns (GetHardLimitResponse) {}
rpc SetHardLimit(SetHardLimitRequest) returns (SetHardLimitResponse) {}
rpc GetSpendLimitPolicy(GetSpendLimitPolicyRequest) returns (GetSpendLimitPolicyResponse) {}
rpc SetSpendLimitPolicy(SetSpendLimitPolicyRequest) returns (SetSpendLimitPolicyResponse) {}
rpc GetOrgTeamBudgets(GetOrgTeamBudgetsRequest) returns (GetOrgTeamBudgetsResponse) {}
rpc SetOrgTeamBudget(SetOrgTeamBudgetRequest) returns (SetOrgTeamBudgetResponse) {}
rpc GetOrgDailySpendByCategory(GetOrgDailySpendByCategoryRequest) returns (GetDailySpendByCategoryResponse) {}
rpc EnableOnDemandSpend(EnableOnDemandSpendRequest) returns (EnableOnDemandSpendResponse) {}
rpc DeleteAccount(DeleteAccountRequest) returns (DeleteAccountResponse) {}
rpc SendDownloadEmail(SendDownloadEmailRequest) returns (SendDownloadEmailResponse) {}
rpc GetMonthlyInvoice(GetMonthlyInvoiceRequest) returns (GetMonthlyInvoiceResponse) {}
rpc ListInvoiceCycles(ListInvoiceCyclesRequest) returns (ListInvoiceCyclesResponse) {}
rpc GetDailySpendByCategory(GetDailySpendByCategoryRequest) returns (GetDailySpendByCategoryResponse) {}
rpc GetPricingHistory(GetPricingHistoryRequest) returns (GetPricingHistoryResponse) {}
rpc ListBackgroundComposerSecrets(ListBackgroundComposerSecretsRequest) returns (ListBackgroundComposerSecretsResponse) {}
rpc CreateBackgroundComposerSecret(CreateBackgroundComposerSecretRequest) returns (CreateBackgroundComposerSecretResponse) {}
rpc CreateBackgroundComposerSecretBatch(CreateBackgroundComposerSecretBatchRequest) returns (CreateBackgroundComposerSecretBatchResponse) {}
rpc RevokeBackgroundComposerSecret(RevokeBackgroundComposerSecretRequest) returns (RevokeBackgroundComposerSecretResponse) {}
rpc UpdateBackgroundComposerSecret(UpdateBackgroundComposerSecretRequest) returns (UpdateBackgroundComposerSecretResponse) {}
rpc GetMcpConfig(GetMcpConfigRequest) returns (GetMcpConfigResponse) {}
rpc GetEffectiveMcpConfigForUser(GetEffectiveMcpConfigForUserRequest) returns (GetEffectiveMcpConfigForUserResponse) {}
rpc GetAvailableMcpServers(GetAvailableMcpServersRequest) returns (GetAvailableMcpServersResponse) {}
rpc GetMcpServerUsageSummary(GetMcpServerUsageSummaryRequest) returns (GetMcpServerUsageSummaryResponse) {}
rpc SetMcpConfig(SetMcpConfigRequest) returns (SetMcpConfigResponse) {}
rpc UpdateUserDefaultMcpSettings(UpdateUserDefaultMcpSettingsRequest) returns (UpdateUserDefaultMcpSettingsResponse) {}
rpc MarkMcpServersSeen(MarkMcpServersSeenRequest) returns (MarkMcpServersSeenResponse) {}
rpc StoreMcpOAuthToken(StoreMcpOAuthTokenRequest) returns (StoreMcpOAuthTokenResponse) {}
rpc GetMcpOAuthTokens(GetMcpOAuthTokensRequest) returns (GetMcpOAuthTokensResponse) {}
rpc ListSandMcpTools(ListSandMcpToolsRequest) returns (ListSandMcpToolsResponse) {}
rpc ExecuteSandMcpTool(ExecuteSandMcpToolRequest) returns (ExecuteSandMcpToolResponse) {}
rpc ClassifySandAutoReview(ClassifySandAutoReviewRequest) returns (ClassifySandAutoReviewResponse) {}
rpc RecordSandAuditEvents(RecordSandAuditEventsRequest) returns (RecordSandAuditEventsResponse) {}
rpc McpOAuthRefreshLockBegin(McpOAuthRefreshLockBeginRequest) returns (McpOAuthRefreshLockBeginResponse) {}
rpc McpOAuthRefreshLockRelease(McpOAuthRefreshLockReleaseRequest) returns (McpOAuthRefreshLockReleaseResponse) {}
rpc DeleteMcpOAuthToken(DeleteMcpOAuthTokenRequest) returns (DeleteMcpOAuthTokenResponse) {}
rpc ValidateMcpOAuthTokens(ValidateMcpOAuthTokensRequest) returns (ValidateMcpOAuthTokensResponse) {}
rpc CheckHttpMcpStatus(CheckHttpMcpStatusRequest) returns (CheckHttpMcpStatusResponse) {}
rpc StoreMcpOAuthPendingState(StoreMcpOAuthPendingStateRequest) returns (StoreMcpOAuthPendingStateResponse) {}
rpc GetMcpOAuthPendingState(GetMcpOAuthPendingStateRequest) returns (GetMcpOAuthPendingStateResponse) {}
rpc RenameMcpOAuthAccount(RenameMcpOAuthAccountRequest) returns (RenameMcpOAuthAccountResponse) {}
rpc DeleteMcpOAuthAccount(DeleteMcpOAuthAccountRequest) returns (DeleteMcpOAuthAccountResponse) {}
rpc CompleteMcpOAuth(CompleteMcpOAuthRequest) returns (CompleteMcpOAuthResponse) {}
rpc GetPluginMcpConfig(GetPluginMcpConfigRequest) returns (GetPluginMcpConfigResponse) {}
rpc BatchGetPluginMcpConfig(BatchGetPluginMcpConfigRequest) returns (BatchGetPluginMcpConfigResponse) {}
rpc AddMcpServersFromPlugin(AddMcpServersFromPluginRequest) returns (AddMcpServersFromPluginResponse) {}
rpc MoveUserMcpServerToTeam(MoveUserMcpServerToTeamRequest) returns (MoveUserMcpServerToTeamResponse) {}
rpc MigrateTeamMcpServersToDefaultMarketplace(MigrateTeamMcpServersToDefaultMarketplaceRequest) returns (MigrateTeamMcpServersToDefaultMarketplaceResponse) {}
rpc ProbeMcpUrl(ProbeMcpUrlRequest) returns (ProbeMcpUrlResponse) {}
rpc CreateTeamWithFreeTrial(CreateTeamWithFreeTrialRequest) returns (CreateTeamWithFreeTrialResponse) {}
rpc CreateTeamWithOrg(CreateTeamWithOrgRequest) returns (CreateTeamWithOrgResponse) {}
rpc GetTeamHasValidPaymentMethod(GetTeamHasValidPaymentMethodRequest) returns (GetTeamHasValidPaymentMethodResponse) {}
rpc GetTeamPrivacyModeForced(GetTeamPrivacyModeForcedRequest) returns (GetTeamPrivacyModeForcedResponse) {}
rpc SwitchTeamPrivacyMode(SwitchTeamPrivacyModeRequest) returns (SwitchTeamPrivacyModeResponse) {}
rpc UpdateFastRequests(UpdateFastRequestsRequest) returns (UpdateFastRequestsResponse) {}
rpc GetFastRequests(GetFastRequestsRequest) returns (GetFastRequestsResponse) {}
rpc GetDownloadLink(GetDownloadLinkRequest) returns (GetDownloadLinkResponse) {}
rpc GetCliDownloadUrl(GetCliDownloadUrlRequest) returns (GetCliDownloadUrlResponse) {}
rpc GetSsoConfigurationLinks(GetSsoConfigurationLinksRequest) returns (GetSsoConfigurationLinksResponse) {}
rpc GetScimConfigurationLinks(GetScimConfigurationLinksRequest) returns (GetScimConfigurationLinksResponse) {}
rpc SetAdminOnlyUsagePricing(SetAdminOnlyUsagePricingRequest) returns (SetAdminOnlyUsagePricingResponse) {}
rpc GetYearlyUpgradeEligibility(GetYearlyUpgradeEligibilityRequest) returns (GetYearlyUpgradeEligibilityResponse) {}
rpc UpgradeToYearly(UpgradeToYearlyRequest) returns (UpgradeToYearlyResponse) {}
rpc GetEnterpriseCTAEligibility(GetEnterpriseCTAEligibilityRequest) returns (GetEnterpriseCTAEligibilityResponse) {}
rpc GetUsageBasedPremiumRequests(GetUsageBasedPremiumRequestsRequest) returns (GetUsageBasedPremiumRequestsResponse) {}
rpc SetUsageBasedPremiumRequests(SetUsageBasedPremiumRequestsRequest) returns (SetUsageBasedPremiumRequestsResponse) {}
rpc GetReferrals(GetReferralsRequest) returns (GetReferralsResponse) {}
rpc GetReferralCodes(GetReferralCodesRequest) returns (GetReferralCodesResponse) {}
rpc CreateP2PReferralLink(CreateP2PReferralLinkRequest) returns (CreateP2PReferralLinkResponse) {}
rpc GetP2PReferralStatus(GetP2PReferralStatusRequest) returns (GetP2PReferralStatusResponse) {}
rpc SendP2PReferralInvites(SendP2PReferralInvitesRequest) returns (SendP2PReferralInvitesResponse) {}
rpc GetP2PReferralHistory(GetP2PReferralHistoryRequest) returns (GetP2PReferralHistoryResponse) {}
rpc CheckReferralAllowlist(CheckReferralAllowlistRequest) returns (CheckReferralAllowlistResponse) {}
rpc CheckReferralCode(CheckReferralCodeRequest) returns (CheckReferralCodeResponse) {}
rpc RedeemGiftCode(RedeemGiftCodeRequest) returns (RedeemGiftCodeResponse) {}
rpc GetTeamRepos(GetTeamReposRequest) returns (GetTeamReposResponse) {}
rpc GetTeamReposOrEmptyIfNotInTeam(GetTeamReposRequest) returns (GetTeamReposResponse) {}
rpc GetTeamRules(GetTeamRulesRequest) returns (GetTeamRulesResponse) {}
rpc CreateTeamRule(CreateTeamRuleRequest) returns (CreateTeamRuleResponse) {}
rpc UpdateTeamRule(UpdateTeamRuleRequest) returns (UpdateTeamRuleResponse) {}
rpc DeleteTeamRule(DeleteTeamRuleRequest) returns (DeleteTeamRuleResponse) {}
rpc GetTeamHooks(GetTeamHooksRequest) returns (GetTeamHooksResponse) {}
rpc CreateTeamHook(CreateTeamHookRequest) returns (CreateTeamHookResponse) {}
rpc UpdateTeamHook(UpdateTeamHookRequest) returns (UpdateTeamHookResponse) {}
rpc DeleteTeamHook(DeleteTeamHookRequest) returns (DeleteTeamHookResponse) {}
rpc GetTeamCommands(GetTeamCommandsRequest) returns (GetTeamCommandsResponse) {}
rpc CreateTeamCommand(CreateTeamCommandRequest) returns (CreateTeamCommandResponse) {}
rpc UpdateTeamCommand(UpdateTeamCommandRequest) returns (UpdateTeamCommandResponse) {}
rpc DeleteTeamCommand(DeleteTeamCommandRequest) returns (DeleteTeamCommandResponse) {}
rpc GetGlobalCommands(GetGlobalCommandsRequest) returns (GetGlobalCommandsResponse) {}
rpc GetRepoSlashCommands(GetRepoSlashCommandsRequest) returns (GetRepoSlashCommandsResponse) {}
rpc GetBackgroundComposerSlashCommands(GetBackgroundComposerSlashCommandsRequest) returns (GetBackgroundComposerSlashCommandsResponse) {}
rpc GetCloudAgentPluginsSnapshot(GetCloudAgentPluginsSnapshotRequest) returns (GetCloudAgentPluginsSnapshotResponse) {}
rpc GetBugbotTeamRules(GetBugbotTeamRulesRequest) returns (GetBugbotTeamRulesResponse) {}
rpc CreateBugbotTeamRule(CreateBugbotTeamRuleRequest) returns (CreateBugbotTeamRuleResponse) {}
rpc UpdateBugbotTeamRule(UpdateBugbotTeamRuleRequest) returns (UpdateBugbotTeamRuleResponse) {}
rpc DeleteBugbotTeamRule(DeleteBugbotTeamRuleRequest) returns (DeleteBugbotTeamRuleResponse) {}
rpc GetBugbotLearnedRules(GetBugbotLearnedRulesRequest) returns (GetBugbotLearnedRulesResponse) {}
rpc UpdateBugbotLearnedRule(UpdateBugbotLearnedRuleRequest) returns (UpdateBugbotLearnedRuleResponse) {}
rpc DeleteBugbotLearnedRule(DeleteBugbotLearnedRuleRequest) returns (DeleteBugbotLearnedRuleResponse) {}
rpc CreateBugbotManualRepositoryRule(CreateBugbotManualRepositoryRuleRequest) returns (CreateBugbotManualRepositoryRuleResponse) {}
rpc GetBugbotManualRepositoryRules(GetBugbotManualRepositoryRulesRequest) returns (GetBugbotManualRepositoryRulesResponse) {}
rpc UpdateBugbotManualRepositoryRule(UpdateBugbotManualRepositoryRuleRequest) returns (UpdateBugbotManualRepositoryRuleResponse) {}
rpc DeleteBugbotManualRepositoryRule(DeleteBugbotManualRepositoryRuleRequest) returns (DeleteBugbotManualRepositoryRuleResponse) {}
rpc RunDiamondToBugbotMigration(RunDiamondToBugbotMigrationRequest) returns (RunDiamondToBugbotMigrationResponse) {}
rpc GetBugbotRuleAnalytics(GetBugbotRuleAnalyticsRequest) returns (GetBugbotRuleAnalyticsResponse) {}
rpc GetBugbotRuleById(GetBugbotRuleByIdRequest) returns (GetBugbotRuleByIdResponse) {}
rpc CreateTeamRepo(CreateTeamRepoRequest) returns (CreateTeamRepoResponse) {}
rpc DeleteTeamRepo(DeleteTeamRepoRequest) returns (DeleteTeamRepoResponse) {}
rpc AddRepoPattern(AddRepoPatternRequest) returns (AddRepoPatternResponse) {}
rpc RemoveRepoPattern(RemoveRepoPatternRequest) returns (RemoveRepoPatternResponse) {}
rpc SetTeamRepoType(SetTeamRepoTypeRequest) returns (SetTeamRepoTypeResponse) {}
rpc GetTeamAdminSettings(GetTeamAdminSettingsRequest) returns (GetTeamAdminSettingsResponse) {}
rpc GetTeamAdminSettingsOrEmptyIfNotInTeam(GetTeamAdminSettingsRequest) returns (GetTeamAdminSettingsResponse) {}
rpc GetBaseTeamAdminSettings(GetBaseTeamAdminSettingsRequest) returns (GetTeamAdminSettingsResponse) {}
rpc UpdateTeamAdminSettings(UpdateTeamAdminSettingsRequest) returns (UpdateTeamAdminSettingsResponse) {}
rpc GetTeamCustomerTelemetryDestinations(GetTeamCustomerTelemetryDestinationsRequest) returns (GetTeamCustomerTelemetryDestinationsResponse) {}
rpc CreateTeamCustomerTelemetryDestination(CreateTeamCustomerTelemetryDestinationRequest) returns (CreateTeamCustomerTelemetryDestinationResponse) {}
rpc UpdateTeamCustomerTelemetryDestination(UpdateTeamCustomerTelemetryDestinationRequest) returns (UpdateTeamCustomerTelemetryDestinationResponse) {}
rpc DeleteTeamCustomerTelemetryDestination(DeleteTeamCustomerTelemetryDestinationRequest) returns (DeleteTeamCustomerTelemetryDestinationResponse) {}
rpc TestTeamCustomerTelemetryDestinationConnection(TestTeamCustomerTelemetryDestinationConnectionRequest) returns (TestTeamCustomerTelemetryDestinationConnectionResponse) {}
rpc GetTeamCustomerTelemetryDestinationHealth(GetTeamCustomerTelemetryDestinationHealthRequest) returns (GetTeamCustomerTelemetryDestinationHealthResponse) {}
rpc SetTeamNoZdrModelConsent(SetTeamNoZdrModelConsentRequest) returns (SetTeamNoZdrModelConsentResponse) {}
rpc SetOrganizationNoZdrModelConsent(SetOrganizationNoZdrModelConsentRequest) returns (SetOrganizationNoZdrModelConsentResponse) {}
rpc SetUserNoZdrModelConsent(SetUserNoZdrModelConsentRequest) returns (SetUserNoZdrModelConsentResponse) {}
rpc SetTeamMemberNoZdrModelConsent(SetTeamMemberNoZdrModelConsentRequest) returns (SetTeamMemberNoZdrModelConsentResponse) {}
rpc GetNoZdrModelConsentStatus(GetNoZdrModelConsentStatusRequest) returns (GetNoZdrModelConsentStatusResponse) {}
rpc UpdateTeamInviteLinkTTLSetting(UpdateTeamInviteLinkTTLSettingRequest) returns (UpdateTeamInviteLinkTTLSettingResponse) {}
rpc UpdateTeamMemberInviteSetting(UpdateTeamMemberInviteSettingRequest) returns (UpdateTeamMemberInviteSettingResponse) {}
rpc GetProtectedGitScopes(GetProtectedGitScopesRequest) returns (GetProtectedGitScopesResponse) {}
rpc CreateProtectedGitScope(CreateProtectedGitScopeRequest) returns (CreateProtectedGitScopeResponse) {}
rpc DeleteProtectedGitScope(DeleteProtectedGitScopeRequest) returns (DeleteProtectedGitScopeResponse) {}
rpc CreateTeamFreeTrialCode(CreateTeamFreeTrialCodeRequest) returns (CreateTeamFreeTrialCodeResponse) {}
rpc CreateTeamFreeTrialCodeInternal(CreateTeamFreeTrialCodeRequest) returns (CreateTeamFreeTrialCodeResponse) {}
rpc CreateTeamsTrialV2ReferralCode(CreateTeamsTrialV2ReferralCodeRequest) returns (CreateTeamsTrialV2ReferralCodeResponse) {}
rpc GetTeamAnalytics(GetTeamAnalyticsRequest) returns (GetTeamAnalyticsResponse) {}
rpc GetUserAnalytics(GetUserAnalyticsRequest) returns (GetUserAnalyticsResponse) {}
rpc GetTeamRawData(GetTeamRawDataRequest) returns (GetTeamRawDataResponse) {}
rpc GetClientUsageData(GetClientUsageDataRequest) returns (GetClientUsageDataResponse) {}
rpc GetCurrentPeriodUsage(GetCurrentPeriodUsageRequest) returns (GetCurrentPeriodUsageResponse) {}
rpc UseSandBankedReset(UseSandBankedResetRequest) returns (UseSandBankedResetResponse) {}
rpc ListSandBankedResets(ListSandBankedResetsRequest) returns (ListSandBankedResetsResponse) {}
rpc GetSandUsageStatus(GetSandUsageStatusRequest) returns (GetSandUsageStatusResponse) {}
rpc GetSandAccessStatus(GetSandAccessStatusRequest) returns (GetSandAccessStatusResponse) {}
rpc GetUsageSignalsProjectionSnapshot(GetProjectionSnapshotRequest) returns (GetProjectionSnapshotResponse) {}
rpc GetPlanInfo(GetPlanInfoRequest) returns (GetPlanInfoResponse) {}
rpc VerifyAppleTransaction(VerifyAppleTransactionRequest) returns (VerifyAppleTransactionResponse) {}
rpc GetCursorReviewEntitlement(GetCursorReviewEntitlementRequest) returns (GetCursorReviewEntitlementResponse) {}
rpc GetUsageLimitPolicyStatus(GetUsageLimitPolicyStatusRequest) returns (GetUsageLimitPolicyStatusResponse) {}
rpc GetUsageLimitStatusAndActiveGrants(GetUsageLimitStatusAndActiveGrantsRequest) returns (GetUsageLimitStatusAndActiveGrantsResponse) {}
rpc GetCreditGrantsBalance(GetCreditGrantsBalanceRequest) returns (GetCreditGrantsBalanceResponse) {}
rpc GetClientVisibleCreditGrants(GetClientVisibleCreditGrantsRequest) returns (GetClientVisibleCreditGrantsResponse) {}
rpc GetAdvancedAnalyticsEnabled(GetAdvancedAnalyticsEnabledRequest) returns (GetAdvancedAnalyticsEnabledResponse) {}
rpc GetTokenUsage(GetTokenUsageRequest) returns (GetTokenUsageResponse) {}
rpc ValidateBedrockIamRole(ValidateBedrockIamRoleRequest) returns (ValidateBedrockIamRoleResponse) {}
rpc GetTeamSpend(GetTeamSpendRequest) returns (GetTeamSpendResponse) {}
rpc GetTeamSeatUpgradeRecommendations(GetTeamSeatUpgradeRecommendationsRequest) returns (GetTeamSeatUpgradeRecommendationsResponse) {}
rpc GetPendingSeatTierUpgradeRequests(GetPendingSeatTierUpgradeRequestsRequest) returns (GetPendingSeatTierUpgradeRequestsResponse) {}
rpc GetCurrentBillingCycle(GetCurrentBillingCycleRequest) returns (GetCurrentBillingCycleResponse) {}
rpc GetMonthlyBillingCycle(GetMonthlyBillingCycleRequest) returns (GetMonthlyBillingCycleResponse) {}
rpc GetBugbotSettings(GetBugbotSettingsRequest) returns (GetBugbotSettingsResponse) {}
rpc GetBugbotAnalyticsV2(GetBugbotAnalyticsV2Request) returns (GetBugbotAnalyticsV2Response) {}
rpc GetBugBotPRAnalytics(GetBugBotPRAnalyticsRequest) returns (GetBugBotPRAnalyticsResponse) {}
rpc GetGithubInstallations(GetGithubInstallationsRequest) returns (GetGithubInstallationsResponse) {}
rpc GetBugbotSuggestedRepos(GetBugbotSuggestedReposRequest) returns (GetBugbotSuggestedReposResponse) {}
rpc GetScmConnectionStatus(GetScmConnectionStatusRequest) returns (GetScmConnectionStatusResponse) {}
rpc GetInstallationRepos(GetInstallationReposRequest) returns (GetInstallationReposResponse) {}
rpc FetchAllInstallationRepos(FetchAllInstallationReposRequest) returns (FetchAllInstallationReposResponse) {}
rpc GetInstallationGithubUsers(GetInstallationGithubUsersRequest) returns (GetInstallationGithubUsersResponse) {}
rpc GetUserAdminOrganizations(GetUserAdminOrganizationsRequest) returns (GetUserAdminOrganizationsResponse) {}
rpc GetTeamGithubUsers(GetTeamGithubUsersRequest) returns (GetTeamGithubUsersResponse) {}
rpc AddGithubUsersToTeam(AddGithubUsersToTeamRequest) returns (AddGithubUsersToTeamResponse) {}
rpc GetUserPullRequests(GetUserPullRequestsRequest) returns (GetUserPullRequestsResponse) {}
rpc GetUserReviewRequests(GetUserReviewRequestsRequest) returns (GetUserReviewRequestsResponse) {}
rpc GetPullRequestForBranch(GetPullRequestForBranchRequest) returns (GetPullRequestForBranchResponse) {}
rpc UpdateGithubRepoSettings(UpdateGithubRepoSettingsRequest) returns (UpdateGithubRepoSettingsResponse) {}
rpc UpdateGithubInstallationSettings(UpdateGithubInstallationSettingsRequest) returns (UpdateGithubInstallationSettingsResponse) {}
rpc UpdateAllGithubRepoSettings(UpdateAllGithubRepoSettingsRequest) returns (UpdateAllGithubRepoSettingsResponse) {}
rpc UpdateGithubInstallationTeamScope(UpdateGithubInstallationTeamScopeRequest) returns (UpdateGithubInstallationTeamScopeResponse) {}
rpc UpdateSelfGithubAllowlist(UpdateSelfGithubAllowlistRequest) returns (UpdateSelfGithubAllowlistResponse) {}
rpc GetTeamBugbotSettings(GetTeamBugbotSettingsRequest) returns (GetTeamBugbotSettingsResponse) {}
rpc UpdateTeamBugbotSettings(UpdateTeamBugbotSettingsRequest) returns (UpdateTeamBugbotSettingsResponse) {}
rpc MigrateTeamBugbotToUsageBasedBilling(MigrateTeamBugbotToUsageBasedBillingRequest) returns (MigrateTeamBugbotToUsageBasedBillingResponse) {}
rpc GetBugbotMergedPrScanSummary(GetBugbotMergedPrScanSummaryRequest) returns (GetBugbotMergedPrScanSummaryResponse) {}
rpc GetBugbotMode(GetBugbotModeRequest) returns (GetBugbotModeResponse) {}
rpc UpdateBugbotMode(UpdateBugbotModeRequest) returns (UpdateBugbotModeResponse) {}
rpc GetBugBotProUserMode(GetBugBotProUserModeRequest) returns (GetBugBotProUserModeResponse) {}
rpc UpdateBugBotProUserMode(UpdateBugBotProUserModeRequest) returns (UpdateBugBotProUserModeResponse) {}
rpc GetBugbotUserSettings(GetBugbotUserSettingsRequest) returns (GetBugbotUserSettingsResponse) {}
rpc UpdateBugbotUserSettings(UpdateBugbotUserSettingsRequest) returns (UpdateBugbotUserSettingsResponse) {}
rpc GetFullSelfDrivingUserSettings(GetFullSelfDrivingUserSettingsRequest) returns (GetFullSelfDrivingUserSettingsResponse) {}
rpc UpdateFullSelfDrivingUserSettings(UpdateFullSelfDrivingUserSettingsRequest) returns (UpdateFullSelfDrivingUserSettingsResponse) {}
rpc ListFullSelfDrivingRepoSettings(ListFullSelfDrivingRepoSettingsRequest) returns (ListFullSelfDrivingRepoSettingsResponse) {}
rpc SetFullSelfDrivingRepoEnabled(SetFullSelfDrivingRepoEnabledRequest) returns (SetFullSelfDrivingRepoEnabledResponse) {}
rpc GetFullSelfDrivingTeamSettings(GetFullSelfDrivingTeamSettingsRequest) returns (GetFullSelfDrivingTeamSettingsResponse) {}
rpc UpdateFullSelfDrivingTeamSettings(UpdateFullSelfDrivingTeamSettingsRequest) returns (UpdateFullSelfDrivingTeamSettingsResponse) {}
rpc ListFullSelfDrivingTeamRepoSettings(ListFullSelfDrivingTeamRepoSettingsRequest) returns (ListFullSelfDrivingTeamRepoSettingsResponse) {}
rpc SetFullSelfDrivingTeamRepoEnabled(SetFullSelfDrivingTeamRepoEnabledRequest) returns (SetFullSelfDrivingTeamRepoEnabledResponse) {}
rpc ListFullSelfDrivingActiveAgents(ListFullSelfDrivingActiveAgentsRequest) returns (ListFullSelfDrivingActiveAgentsResponse) {}
rpc ListFullSelfDrivingTeamActiveAgents(ListFullSelfDrivingTeamActiveAgentsRequest) returns (ListFullSelfDrivingTeamActiveAgentsResponse) {}
rpc UpdateFullSelfDrivingPrConfig(UpdateFullSelfDrivingPrConfigRequest) returns (UpdateFullSelfDrivingPrConfigResponse) {}
rpc GetBugBotProUserSettings(GetBugBotProUserSettingsRequest) returns (GetBugBotProUserSettingsResponse) {}
rpc UpdateBugBotProUserSettings(UpdateBugBotProUserSettingsRequest) returns (UpdateBugBotProUserSettingsResponse) {}
rpc MigrateBugBotProUserToUsageBasedBilling(MigrateBugBotProUserToUsageBasedBillingRequest) returns (MigrateBugBotProUserToUsageBasedBillingResponse) {}
rpc GetGlassEarlyPreviewEnrollment(GetGlassEarlyPreviewEnrollmentRequest) returns (GetGlassEarlyPreviewEnrollmentResponse) {}
rpc EnrollInGlassEarlyPreview(EnrollInGlassEarlyPreviewRequest) returns (EnrollInGlassEarlyPreviewResponse) {}
rpc UnenrollFromGlassEarlyPreview(UnenrollFromGlassEarlyPreviewRequest) returns (UnenrollFromGlassEarlyPreviewResponse) {}
rpc RecordBugbotDeeplinkEvent(RecordBugbotDeeplinkEventRequest) returns (RecordBugbotDeeplinkEventResponse) {}
rpc RecordBugbotDeeplinkEventUnauthenticated(RecordBugbotDeeplinkEventRequest) returns (RecordBugbotDeeplinkEventResponse) {}
rpc RevokeBugBotLicenses(RevokeBugBotLicensesRequest) returns (RevokeBugBotLicensesResponse) {}
rpc RevokeUserBugbotLicense(RevokeUserBugbotLicenseRequest) returns (RevokeUserBugbotLicenseResponse) {}
rpc StartBugbotBackfillLearning(StartBugbotBackfillLearningRequest) returns (StartBugbotBackfillLearningResponse) {}
rpc GetBugbotBackfillStatus(GetBugbotBackfillStatusRequest) returns (GetBugbotBackfillStatusResponse) {}
rpc SetSlackAuth(SetSlackAuthRequest) returns (SetSlackAuthResponse) {}
rpc GetSlackTeamSettings(GetSlackTeamSettingsRequest) returns (GetSlackTeamSettingsResponse) {}
rpc UpdateSlackTeamSettings(UpdateSlackTeamSettingsRequest) returns (UpdateSlackTeamSettingsResponse) {}
rpc GetSlackSettings(GetSlackSettingsRequest) returns (GetSlackSettingsResponse) {}
rpc GetSlackModelOptions(GetSlackModelOptionsRequest) returns (GetSlackModelOptionsResponse) {}
rpc GetSlackInstallUrl(GetSlackInstallUrlRequest) returns (GetSlackInstallUrlResponse) {}
rpc GetSlackInstallUrlPublic(GetPublicSlackInstallUrlRequest) returns (GetPublicSlackInstallUrlResponse) {}
rpc GetSlackInstallUrlPublicWithUserScopes(GetPublicSlackInstallUrlWithUserScopesRequest) returns (GetPublicSlackInstallUrlWithUserScopesResponse) {}
rpc GetFilteredUsageEvents(GetFilteredUsageEventsRequest) returns (GetFilteredUsageEventsResponse) {}
rpc GetAggregatedUsageEvents(GetAggregatedUsageEventsRequest) returns (GetAggregatedUsageEventsResponse) {}
rpc GetAuditLogs(GetAuditLogsRequest) returns (GetAuditLogsResponse) {}
rpc GetOrganizationAuditLogs(GetOrganizationAuditLogsRequest) returns (GetOrganizationAuditLogsResponse) {}
rpc GetUserPrivacyMode(GetUserPrivacyModeRequest) returns (GetUserPrivacyModeResponse) {}
rpc SetUserPrivacyMode(SetUserPrivacyModeRequest) returns (SetUserPrivacyModeResponse) {}
rpc WebAcknowledgeGracePeriodDisclaimer(WebAcknowledgeGracePeriodDisclaimerRequest) returns (WebAcknowledgeGracePeriodDisclaimerResponse) {}
rpc SkipPrivacyModeGracePeriod(SkipPrivacyModeGracePeriodRequest) returns (SkipPrivacyModeGracePeriodResponse) {}
rpc NeedsPrivacyModeMigration(NeedsPrivacyModeMigrationRequest) returns (NeedsPrivacyModeMigrationResponse) {}
rpc UpdateTeamPrivacyModeMigrationOptOut(UpdateTeamPrivacyModeMigrationOptOutRequest) returns (UpdateTeamPrivacyModeMigrationOptOutResponse) {}
rpc ShareConversation(ShareConversationRequest) returns (ShareConversationResponse) {}
rpc GetSharedConversation(GetSharedConversationRequest) returns (GetSharedConversationResponse) {}
rpc GetPublicSharedConversation(GetPublicSharedConversationRequest) returns (GetPublicSharedConversationResponse) {}
rpc ListSharedConversations(ListSharedConversationsRequest) returns (ListSharedConversationsResponse) {}
rpc DeleteSharedConversation(DeleteSharedConversationRequest) returns (DeleteSharedConversationResponse) {}
rpc UpdateSharedConversationVisibility(UpdateSharedConversationVisibilityRequest) returns (UpdateSharedConversationVisibilityResponse) {}
rpc ShareCanvas(ShareCanvasRequest) returns (ShareCanvasResponse) {}
rpc GetSharedCanvas(GetSharedCanvasRequest) returns (GetSharedCanvasResponse) {}
rpc GetPublicSharedCanvas(GetPublicSharedCanvasRequest) returns (GetPublicSharedCanvasResponse) {}
rpc ListSharedCanvases(ListSharedCanvasesRequest) returns (ListSharedCanvasesResponse) {}
rpc DeleteSharedCanvas(DeleteSharedCanvasRequest) returns (DeleteSharedCanvasResponse) {}
rpc LookupSharedCanvasByKey(LookupSharedCanvasByKeyRequest) returns (LookupSharedCanvasByKeyResponse) {}
rpc GetTeamSharedConversationSettings(GetTeamSharedConversationSettingsRequest) returns (GetTeamSharedConversationSettingsResponse) {}
rpc UpdateTeamSharedConversationSettings(UpdateTeamSharedConversationSettingsRequest) returns (UpdateTeamSharedConversationSettingsResponse) {}
rpc GetTeamSharedCanvasSettings(GetTeamSharedCanvasSettingsRequest) returns (GetTeamSharedCanvasSettingsResponse) {}
rpc UpdateTeamSharedCanvasSettings(UpdateTeamSharedCanvasSettingsRequest) returns (UpdateTeamSharedCanvasSettingsResponse) {}
rpc GetTeamPublicProfileSettings(GetTeamPublicProfileSettingsRequest) returns (GetTeamPublicProfileSettingsResponse) {}
rpc UpdateTeamPublicProfileSettings(UpdateTeamPublicProfileSettingsRequest) returns (UpdateTeamPublicProfileSettingsResponse) {}
rpc GetTeamSmartAutoSettings(GetTeamSmartAutoSettingsRequest) returns (GetTeamSmartAutoSettingsResponse) {}
rpc UpdateTeamSmartAutoSettings(UpdateTeamSmartAutoSettingsRequest) returns (UpdateTeamSmartAutoSettingsResponse) {}
rpc GetUserSmartAutoSettings(GetUserSmartAutoSettingsRequest) returns (GetUserSmartAutoSettingsResponse) {}
rpc UpdateUserSmartAutoSettings(UpdateUserSmartAutoSettingsRequest) returns (UpdateUserSmartAutoSettingsResponse) {}
rpc GetTeamBackgroundAgentSettings(GetTeamBackgroundAgentSettingsRequest) returns (GetTeamBackgroundAgentSettingsResponse) {}
rpc UpdateTeamBackgroundAgentSettings(UpdateTeamBackgroundAgentSettingsRequest) returns (UpdateTeamBackgroundAgentSettingsResponse) {}
rpc GetRepoSourcePreference(GetRepoSourcePreferenceRequest) returns (GetRepoSourcePreferenceResponse) {}
rpc UpdateUserRepoSourcePreference(UpdateUserRepoSourcePreferenceRequest) returns (UpdateUserRepoSourcePreferenceResponse) {}
rpc UpdateTeamRepoSourcePreference(UpdateTeamRepoSourcePreferenceRequest) returns (UpdateTeamRepoSourcePreferenceResponse) {}
rpc ResolvePrCreationForge(ResolvePrCreationForgeRequest) returns (ResolvePrCreationForgeResponse) {}
rpc RevokeTeamInviteLink(RevokeTeamInviteLinkRequest) returns (RevokeTeamInviteLinkResponse) {}
rpc ListTeamInviteLinks(ListTeamInviteLinksRequest) returns (ListTeamInviteLinksResponse) {}
rpc UpdateUserName(UpdateUserNameRequest) returns (UpdateUserNameResponse) {}
rpc UploadUserProfilePicture(UploadUserProfilePictureRequest) returns (UploadUserProfilePictureResponse) {}
rpc UpdateUserProfilePicture(UpdateUserProfilePictureRequest) returns (UpdateUserProfilePictureResponse) {}
rpc ListInvoices(ListInvoicesRequest) returns (ListInvoicesResponse) {}
rpc ListBlockingCheckoutInvoices(ListBlockingCheckoutInvoicesRequest) returns (ListBlockingCheckoutInvoicesResponse) {}
rpc GetRemainingRefunds(GetRemainingRefundsRequest) returns (GetRemainingRefundsResponse) {}
rpc GetServiceAccountSpendLimit(GetServiceAccountSpendLimitRequest) returns (GetServiceAccountSpendLimitResponse) {}
rpc SetServiceAccountSpendLimit(SetServiceAccountSpendLimitRequest) returns (SetServiceAccountSpendLimitResponse) {}
rpc SetUserHardLimit(SetUserHardLimitRequest) returns (SetUserHardLimitResponse) {}
rpc SetUserMonthlyLimit(SetUserMonthlyLimitRequest) returns (SetUserMonthlyLimitResponse) {}
rpc ToggleMarketingEmailOpt(ToggleMarketingEmailOptRequest) returns (ToggleMarketingEmailOptResponse) {}
rpc GetMarketingEmailOpt(GetMarketingEmailOptRequest) returns (GetMarketingEmailOptResponse) {}
rpc GetGlobalLeaderboardOptIn(GetGlobalLeaderboardOptInRequest) returns (GetGlobalLeaderboardOptInResponse) {}
rpc SetGlobalLeaderboardOptIn(SetGlobalLeaderboardOptInRequest) returns (SetGlobalLeaderboardOptInResponse) {}
rpc CreateTeamApiKey(CreateTeamApiKeyRequest) returns (CreateTeamApiKeyResponse) {}
rpc RevokeTeamApiKey(RevokeTeamApiKeyRequest) returns (RevokeTeamApiKeyResponse) {}
rpc ListTeamApiKeys(ListTeamApiKeysRequest) returns (ListTeamApiKeysResponse) {}
rpc CreateOrganizationApiKey(CreateOrganizationApiKeyRequest) returns (CreateOrganizationApiKeyResponse) {}
rpc RevokeOrganizationApiKey(RevokeOrganizationApiKeyRequest) returns (RevokeOrganizationApiKeyResponse) {}
rpc ListOrganizationApiKeys(ListOrganizationApiKeysRequest) returns (ListOrganizationApiKeysResponse) {}
rpc CreateAutomationWebhookApiKey(CreateAutomationWebhookApiKeyRequest) returns (CreateAutomationWebhookApiKeyResponse) {}
rpc CreateTeamServiceAccount(CreateTeamServiceAccountRequest) returns (CreateTeamServiceAccountResponse) {}
rpc ListTeamServiceAccounts(ListTeamServiceAccountsRequest) returns (ListTeamServiceAccountsResponse) {}
rpc DeleteTeamServiceAccount(DeleteTeamServiceAccountRequest) returns (DeleteTeamServiceAccountResponse) {}
rpc ArchiveTeamServiceAccount(ArchiveTeamServiceAccountRequest) returns (ArchiveTeamServiceAccountResponse) {}
rpc RotateServiceAccountApiKey(RotateServiceAccountApiKeyRequest) returns (RotateServiceAccountApiKeyResponse) {}
rpc GetTeamRepositoriesForServiceAccountScope(GetTeamRepositoriesForServiceAccountScopeRequest) returns (GetTeamRepositoriesForServiceAccountScopeResponse) {}
rpc UpdateServiceAccountRepoScope(UpdateServiceAccountRepoScopeRequest) returns (UpdateServiceAccountRepoScopeResponse) {}
rpc CreateUserApiKey(CreateUserApiKeyRequest) returns (CreateUserApiKeyResponse) {}
rpc RevokeUserApiKey(RevokeUserApiKeyRequest) returns (RevokeUserApiKeyResponse) {}
rpc ListUserApiKeys(ListUserApiKeysRequest) returns (ListUserApiKeysResponse) {}
rpc ConfirmGithubInstallation(ConfirmGithubInstallationRequest) returns (ConfirmGithubInstallationResponse) {}
rpc UpdateTeamName(UpdateTeamNameRequest) returns (UpdateTeamNameResponse) {}
rpc UpdateTeamDashboardAnalyticsSetting(UpdateTeamDashboardAnalyticsSettingRequest) returns (UpdateTeamDashboardAnalyticsSettingResponse) {}
rpc UpdateTeamScimRequireUserDirectorySetting(UpdateTeamScimRequireUserDirectorySettingRequest) returns (UpdateTeamScimRequireUserDirectorySettingResponse) {}
rpc GetTeamScimRequireUserDirectoryPreview(GetTeamScimRequireUserDirectoryPreviewRequest) returns (GetTeamScimRequireUserDirectoryPreviewResponse) {}
rpc GetSlackUserSettings(GetSlackUserSettingsRequest) returns (GetSlackUserSettingsResponse) {}
rpc UpdateSlackUserSettings(UpdateSlackUserSettingsRequest) returns (UpdateSlackUserSettingsResponse) {}
rpc GetSlackRepoRoutingRules(GetSlackRepoRoutingRulesRequest) returns (GetSlackRepoRoutingRulesResponse) {}
rpc CreateSlackRepoRoutingRule(CreateSlackRepoRoutingRuleRequest) returns (CreateSlackRepoRoutingRuleResponse) {}
rpc UpdateSlackRepoRoutingRule(UpdateSlackRepoRoutingRuleRequest) returns (UpdateSlackRepoRoutingRuleResponse) {}
rpc DeleteSlackRepoRoutingRule(DeleteSlackRepoRoutingRuleRequest) returns (DeleteSlackRepoRoutingRuleResponse) {}
rpc IsOnNewPricing(IsOnNewPricingRequest) returns (IsOnNewPricingResponse) {}
rpc GetLinearAuthUrl(GetLinearAuthUrlRequest) returns (GetLinearAuthUrlResponse) {}
rpc ConnectLinearCallback(ConnectLinearCallbackRequest) returns (ConnectLinearCallbackResponse) {}
rpc GetMicrosoftTeamsLinkContext(GetMicrosoftTeamsLinkContextRequest) returns (GetMicrosoftTeamsLinkContextResponse) {}
rpc SetMicrosoftTeamsAuth(SetMicrosoftTeamsAuthRequest) returns (SetMicrosoftTeamsAuthResponse) {}
rpc GetLinearStatus(GetLinearStatusRequest) returns (GetLinearStatusResponse) {}
rpc DisconnectLinear(DisconnectLinearRequest) returns (DisconnectLinearResponse) {}
rpc GetLinearTeams(GetLinearTeamsRequest) returns (GetLinearTeamsResponse) {}
rpc GetLinearSettings(GetLinearSettingsRequest) returns (GetLinearSettingsResponse) {}
rpc UpdateLinearTeamSetting(UpdateLinearTeamSettingRequest) returns (UpdateLinearTeamSettingResponse) {}
rpc UpdateLinearProjectSetting(UpdateLinearProjectSettingRequest) returns (UpdateLinearProjectSettingResponse) {}
rpc GetLinearLabels(GetLinearLabelsRequest) returns (GetLinearLabelsResponse) {}
rpc GetLinearIssues(GetLinearIssuesRequest) returns (GetLinearIssuesResponse) {}
rpc GetPagerDutyAuthUrl(GetPagerDutyAuthUrlRequest) returns (GetPagerDutyAuthUrlResponse) {}
rpc ConnectPagerDutyCallback(ConnectPagerDutyCallbackRequest) returns (ConnectPagerDutyCallbackResponse) {}
rpc GetPagerDutyStatus(GetPagerDutyStatusRequest) returns (GetPagerDutyStatusResponse) {}
rpc GetPagerDutyServices(GetPagerDutyServicesRequest) returns (GetPagerDutyServicesResponse) {}
rpc DisconnectPagerDuty(DisconnectPagerDutyRequest) returns (DisconnectPagerDutyResponse) {}
rpc GetJiraInstallUrl(GetJiraInstallUrlRequest) returns (GetJiraInstallUrlResponse) {}
rpc LinkJiraInstallation(LinkJiraInstallationRequest) returns (LinkJiraInstallationResponse) {}
rpc GetJiraStatus(GetJiraStatusRequest) returns (GetJiraStatusResponse) {}
rpc GetBitbucketForgeStatus(GetBitbucketForgeStatusRequest) returns (GetBitbucketForgeStatusResponse) {}
rpc DisconnectJira(DisconnectJiraRequest) returns (DisconnectJiraResponse) {}
rpc DisconnectBitbucketForge(DisconnectBitbucketForgeRequest) returns (DisconnectBitbucketForgeResponse) {}
rpc GetJiraProjects(GetJiraProjectsRequest) returns (GetJiraProjectsResponse) {}
rpc GetJiraTeamSettings(GetJiraTeamSettingsRequest) returns (GetJiraTeamSettingsResponse) {}
rpc UpdateJiraTeamSettings(UpdateJiraTeamSettingsRequest) returns (UpdateJiraTeamSettingsResponse) {}
rpc GetJiraRoutingRules(GetJiraRoutingRulesRequest) returns (GetJiraRoutingRulesResponse) {}
rpc CreateJiraRoutingRule(CreateJiraRoutingRuleRequest) returns (CreateJiraRoutingRuleResponse) {}
rpc UpdateJiraRoutingRule(UpdateJiraRoutingRuleRequest) returns (UpdateJiraRoutingRuleResponse) {}
rpc DeleteJiraRoutingRule(DeleteJiraRoutingRuleRequest) returns (DeleteJiraRoutingRuleResponse) {}
rpc LinkJiraUser(LinkJiraUserRequest) returns (LinkJiraUserResponse) {}
rpc ListJiraUserLinks(ListJiraUserLinksRequest) returns (ListJiraUserLinksResponse) {}
rpc UnlinkJiraUser(UnlinkJiraUserRequest) returns (UnlinkJiraUserResponse) {}
rpc DeleteBedrockIamRole(DeleteBedrockIamRoleRequest) returns (DeleteBedrockIamRoleResponse) {}
rpc UnlinkSlackAccess(UnlinkSlackAccessRequest) returns (UnlinkSlackAccessResponse) {}
rpc ListSlackConversations(ListSlackConversationsRequest) returns (ListSlackConversationsResponse) {}
rpc ListMicrosoftTeamsChannels(ListMicrosoftTeamsChannelsRequest) returns (ListMicrosoftTeamsChannelsResponse) {}
rpc GetSlackConversationsByIds(GetSlackConversationsByIdsRequest) returns (GetSlackConversationsByIdsResponse) {}
rpc LogSlackbotAuthConversionFunnel(LogSlackbotAuthConversionFunnelRequest) returns (LogSlackbotAuthConversionFunnelResponse) {}
rpc LogClickedConnectSlack(LogClickedConnectSlackRequest) returns (LogClickedConnectSlackResponse) {}
rpc CheckUserApiKeyAccess(CheckUserApiKeyAccessRequest) returns (CheckUserApiKeyAccessResponse) {}
rpc IsAllowedFreeTrialUsage(IsAllowedFreeTrialUsageRequest) returns (IsAllowedFreeTrialUsageResponse) {}
rpc IsNextSetupRunFree(IsNextSetupRunFreeRequest) returns (IsNextSetupRunFreeResponse) {}
rpc CompletedLinkSlackAccount(CompletedLinkSlackAccountRequest) returns (CompletedLinkSlackAccountResponse) {}
rpc NotifyBugbotTeamAdmins(NotifyTeamAdminsRequest) returns (NotifyTeamAdminsResponse) {}
rpc GetAdminNotificationStatus(GetAdminNotificationStatusRequest) returns (GetAdminNotificationStatusResponse) {}
rpc OptOutNewPricing(OptOutNewPricingRequest) returns (OptOutNewPricingResponse) {}
rpc SubmitFeedback(SubmitFeedbackRequest) returns (SubmitFeedbackResponse) {}
rpc SubmitFeedbackAnon(SubmitFeedbackRequest) returns (SubmitFeedbackResponse) {}
rpc GetActiveOffboardingBanner(GetActiveOffboardingBannerRequest) returns (GetActiveOffboardingBannerResponse) {}
rpc ClientAction(ClientActionRequest) returns (ClientActionResponse) {}
rpc ListUsageAlerts(ListUsageAlertsRequest) returns (ListUsageAlertsResponse) {}
rpc CreateUsageAlerts(CreateUsageAlertsRequest) returns (CreateUsageAlertsResponse) {}
rpc DeleteUsageAlerts(DeleteUsageAlertsRequest) returns (DeleteUsageAlertsResponse) {}
rpc UpdateUsageAlerts(UpdateUsageAlertsRequest) returns (UpdateUsageAlertsResponse) {}
rpc RequestIndividualLimitsOptOut(RequestIndividualLimitsOptOutRequest) returns (RequestIndividualLimitsOptOutResponse) {}
rpc ListMarketplacePlugins(ListMarketplacePluginsRequest) returns (ListMarketplacePluginsResponse) {}
rpc GetUserProfile(GetUserProfileRequest) returns (GetUserProfileResponse) {}
rpc UpdateUserProfile(UpdateUserProfileRequest) returns (UpdateUserProfileResponse) {}
rpc ClaimUserProfileHandle(ClaimUserProfileHandleRequest) returns (ClaimUserProfileHandleResponse) {}
rpc GetPublicProfileByHandle(GetPublicProfileByHandleRequest) returns (GetPublicProfileByHandleResponse) {}
rpc GetViewableProfileByHandle(GetViewableProfileByHandleRequest) returns (GetViewableProfileByHandleResponse) {}
rpc GetTeamMemberProfileByHandle(GetTeamMemberProfileByHandleRequest) returns (GetTeamMemberProfileByHandleResponse) {}
rpc GetPlugin(GetPluginRequest) returns (GetPluginResponse) {}
rpc CreatePlugin(CreatePluginRequest) returns (CreatePluginResponse) {}
rpc PublishPlugin(PublishPluginRequest) returns (PublishPluginResponse) {}
rpc UnpublishPlugin(UnpublishPluginRequest) returns (UnpublishPluginResponse) {}
rpc ParseGitHubRepoForPlugins(ParseGitHubRepoForPluginRequest) returns (ParseGitHubRepoForPluginsResponse) {}
rpc ParsePluginPublisherRepoInternal(ParsePluginPublisherRepoInternalRequest) returns (ParsePluginPublisherRepoInternalResponse) {}
rpc PreviewReindexPluginRepoInternal(PreviewReindexPluginRepoInternalRequest) returns (PreviewReindexPluginRepoResponse) {}
rpc ApplyReindexPluginRepoInternal(ApplyReindexPluginRepoInternalRequest) returns (ApplyReindexPluginRepoResponse) {}
rpc PreviewMigrateReindexPluginRepoInternal(PreviewMigrateReindexPluginRepoInternalRequest) returns (PreviewMigrateReindexPluginRepoResponse) {}
rpc ApplyMigrateReindexPluginRepoInternal(ApplyMigrateReindexPluginRepoInternalRequest) returns (ApplyMigrateReindexPluginRepoResponse) {}
rpc CreateSupportImpersonationSessionInternal(CreateSupportImpersonationSessionInternalRequest) returns (CreateSupportImpersonationSessionInternalResponse) {}
rpc SubmitPluginForApproval(SubmitPluginForApprovalRequest) returns (SubmitPluginForApprovalResponse) {}
rpc ApprovePlugin(ApprovePluginRequest) returns (ApprovePluginResponse) {}
rpc RejectPlugin(RejectPluginRequest) returns (RejectPluginResponse) {}
rpc ListUserPluginInstalls(ListUserPluginInstallsRequest) returns (ListUserPluginInstallsResponse) {}
rpc InstallUserPlugin(InstallUserPluginRequest) returns (InstallUserPluginResponse) {}
rpc UpdateUserPluginInstall(UpdateUserPluginInstallRequest) returns (UpdateUserPluginInstallResponse) {}
rpc UninstallUserPlugin(UninstallUserPluginRequest) returns (UninstallUserPluginResponse) {}
rpc ListTeamPluginInstalls(ListTeamPluginInstallsRequest) returns (ListTeamPluginInstallsResponse) {}
rpc GetTeamPluginPopularity(GetTeamPluginPopularityRequest) returns (GetTeamPluginPopularityResponse) {}
rpc GetTeamPluginPrimitiveUsage(GetTeamPluginPrimitiveUsageRequest) returns (GetTeamPluginPrimitiveUsageResponse) {}
rpc ListTeamAvailableMarketplacePlugins(ListTeamAvailableMarketplacePluginsRequest) returns (ListTeamAvailableMarketplacePluginsResponse) {}
rpc GetTeamPinnedMarketplacePlugins(GetTeamPinnedMarketplacePluginsRequest) returns (GetTeamPinnedMarketplacePluginsResponse) {}
rpc UpdateTeamPinnedMarketplacePlugins(UpdateTeamPinnedMarketplacePluginsRequest) returns (UpdateTeamPinnedMarketplacePluginsResponse) {}
rpc InstallTeamPlugin(InstallTeamPluginRequest) returns (InstallTeamPluginResponse) {}
rpc UpdateTeamPluginInstall(UpdateTeamPluginInstallRequest) returns (UpdateTeamPluginInstallResponse) {}
rpc UninstallTeamPlugin(UninstallTeamPluginRequest) returns (UninstallTeamPluginResponse) {}
rpc GetEffectiveUserPlugins(GetEffectiveUserPluginsRequest) returns (GetEffectiveUserPluginsResponse) {}
rpc ResolvePluginsByRef(ResolvePluginsByRefRequest) returns (ResolvePluginsByRefResponse) {}
rpc ListMarketplaces(ListMarketplacesRequest) returns (ListMarketplacesResponse) {}
rpc AddMarketplace(AddMarketplaceRequest) returns (AddMarketplaceResponse) {}
rpc GetOrCreateDefaultTeamMarketplace(GetOrCreateDefaultTeamMarketplaceRequest) returns (GetOrCreateDefaultTeamMarketplaceResponse) {}
rpc UpdateMarketplace(UpdateMarketplaceRequest) returns (UpdateMarketplaceResponse) {}
rpc RemoveMarketplace(RemoveMarketplaceRequest) returns (RemoveMarketplaceResponse) {}
rpc RefreshMarketplace(RefreshMarketplaceRequest) returns (RefreshMarketplaceResponse) {}
rpc ReindexAndApplyTeamMarketplaceChanges(ReindexAndApplyTeamMarketplaceChangesRequest) returns (ReindexAndApplyTeamMarketplaceChangesResponse) {}
rpc RegisterMarketplaceAndPlugins(RegisterMarketplaceAndPluginsRequest) returns (RegisterMarketplaceAndPluginsResponse) {}
rpc UpdateTeamMarketplaceConfig(UpdateTeamMarketplaceConfigRequest) returns (UpdateTeamMarketplaceConfigResponse) {}
rpc SetTeamMarketplaceRepository(SetTeamMarketplaceRepositoryRequest) returns (SetTeamMarketplaceRepositoryResponse) {}
rpc SetMarketplaceOriginDistribution(SetMarketplaceOriginDistributionRequest) returns (SetMarketplaceOriginDistributionResponse) {}
rpc GetMarketplaceOriginDistributionStatus(GetMarketplaceOriginDistributionStatusRequest) returns (GetMarketplaceOriginDistributionStatusResponse) {}
rpc SetTeamMarketplacePluginPolicies(SetTeamMarketplacePluginPoliciesRequest) returns (SetTeamMarketplacePluginPoliciesResponse) {}
rpc SetTeamMarketplacePluginPolicyVariables(SetTeamMarketplacePluginPolicyVariablesRequest) returns (SetTeamMarketplacePluginPolicyVariablesResponse) {}
rpc ApplyTeamMarketplaceRequiredPlugins(ApplyTeamMarketplaceRequiredPluginsRequest) returns (ApplyTeamMarketplaceRequiredPluginsResponse) {}
rpc LinkPluginsToTeamMarketplace(LinkPluginsToTeamMarketplaceRequest) returns (LinkPluginsToTeamMarketplaceResponse) {}
rpc UnlinkPluginsFromTeamMarketplace(UnlinkPluginsFromTeamMarketplaceRequest) returns (UnlinkPluginsFromTeamMarketplaceResponse) {}
rpc PreviewTeamMarketplaceMcpImpact(PreviewTeamMarketplaceMcpImpactRequest) returns (PreviewTeamMarketplaceMcpImpactResponse) {}
rpc GetManagedSkills(GetManagedSkillsRequest) returns (GetManagedSkillsResponse) {}
rpc GetCursorUserState(GetCursorUserStateRequest) returns (GetCursorUserStateResponse) {}
rpc SetJobData(SetJobDataRequest) returns (SetJobDataResponse) {}
rpc ListCrews(ListCrewsRequest) returns (ListCrewsResponse) {}
rpc GetCrew(GetCrewRequest) returns (GetCrewResponse) {}
rpc CreateCrew(CreateCrewRequest) returns (CreateCrewResponse) {}
rpc UpdateCrew(UpdateCrewRequest) returns (UpdateCrewResponse) {}
rpc DeleteCrew(DeleteCrewRequest) returns (DeleteCrewResponse) {}
rpc ListCrewArchetypes(ListCrewArchetypesRequest) returns (ListCrewArchetypesResponse) {}
rpc GetCrewActivity(GetCrewActivityRequest) returns (GetCrewActivityResponse) {}
rpc TriggerCrewStandup(TriggerCrewStandupRequest) returns (TriggerCrewStandupResponse) {}
rpc GetCrewStats(GetCrewStatsRequest) returns (GetCrewStatsResponse) {}
rpc GetCrewStandupDigest(GetCrewStandupDigestRequest) returns (GetCrewStandupDigestResponse) {}
rpc DraftCrewBrief(DraftCrewBriefRequest) returns (DraftCrewBriefResponse) {}
rpc CrewWriteBack(CrewWriteBackRequest) returns (CrewWriteBackResponse) {}
}
// Source: aiserver.v1.FileSyncService (var: o)
service FileSyncService {
rpc FSUploadFile(FSUploadFileRequest) returns (FSUploadFileResponse) {}
rpc FSSyncFile(FSSyncFileRequest) returns (FSSyncFileResponse) {}
rpc FSIsEnabledForUser(FSIsEnabledForUserRequest) returns (FSIsEnabledForUserResponse) {}
rpc FSConfig(FSConfigRequest) returns (FSConfigResponse) {}
rpc FSGetFileContents(FSGetFileContentsRequest) returns (FSGetFileContentsResponse) {}
rpc FSGetMultiFileContents(FSGetMultiFileContentsRequest) returns (FSGetMultiFileContentsResponse) {}
rpc FSInternalSyncFile(FSSyncFileRequest) returns (FSSyncFileResponse) {}
rpc FSInternalUploadFile(FSUploadFileRequest) returns (FSUploadFileResponse) {}
rpc FSInternalHealthCheck(FSInternalHealthCheckRequest) returns (FSInternalHealthCheckResponse) {}
}
// Source: aiserver.v1.GitIndexService (var: i)
service GitIndexService {
rpc RepoHistoryInitHandshake(RepoHistoryInitHandshakeRequest) returns (RepoHistoryInitHandshakeResponse) {}
rpc RepoHistorySyncOne(RepoHistorySyncOneRequest) returns (RepoHistorySyncOneResponse) {}
rpc RepoHistorySyncComplete(RepoHistorySyncCompleteRequest) returns (RepoHistorySyncCompleteResponse) {}
rpc RemoveRepoHistory(RemoveRepoHistoryRequest) returns (RemoveRepoHistoryResponse) {}
rpc SearchPRHistory(SearchPRHistoryRequest) returns (SearchPRHistoryResponse) {}
rpc GetPRIndexingStatus(GetPRIndexingStatusRequest) returns (GetPRIndexingStatusResponse) {}
}
// Source: aiserver.v1.HealthService (var: l)
service HealthService {
rpc Ping(HealthRequest) returns (HealthResponse) {}
rpc Unary(HealthEmptyRequest) returns (HealthResponse) {}
rpc Stream(HealthRequest) returns (stream HealthResponse) {}
rpc StreamSSE(HealthRequest) returns (stream HealthResponse) {}
rpc StreamBidi(stream HealthRequest) returns (stream HealthResponse) {}
rpc StreamBidiSSE(BidiRequestId) returns (stream HealthResponse) {}
rpc StreamBidiPoll(BidiPollRequest) returns (stream BidiPollResponse) {}
}
// Source: aiserver.v1.MetricsService (var: o)
service MetricsService {
rpc ReportIncrement(ReportMetricsRequest) returns (ReportMetricsResponse) {}
rpc ReportDecrement(ReportMetricsRequest) returns (ReportMetricsResponse) {}
rpc ReportDistribution(ReportMetricsRequest) returns (ReportMetricsResponse) {}
rpc ReportGauge(ReportMetricsRequest) returns (ReportMetricsResponse) {}
}
// Source: aiserver.v1.PerformanceEventService (var: i)
service PerformanceEventService {
rpc SubmitPerformanceEvents(SubmitPerformanceEventsRequest) returns (SubmitPerformanceEventsResponse) {}
}
// Source: aiserver.v1.ProfilingService (var: a)
service ProfilingService {
rpc SubmitProfile(SubmitProfileRequest) returns (SubmitProfileResponse) {}
}
// Source: aiserver.v1.ReplayChatService (var: a)
service ReplayChatService {
rpc StreamReplayChat(StreamReplayChatRequest) returns (stream StreamUnifiedChatResponseWithTools) {}
}
// Source: aiserver.v1.RepositoryService (var: o)
service RepositoryService {
rpc FastRepoInitHandshake(FastRepoInitHandshakeRequest) returns (FastRepoInitHandshakeResponse) {}
rpc SyncMerkleSubtree(SyncMerkleSubtreeRequest) returns (SyncMerkleSubtreeResponse) {}
rpc FastUpdateFile(FastUpdateFileRequest) returns (FastUpdateFileResponse) {}
rpc SearchRepositoryV2(SearchRepositoryRequest) returns (SearchRepositoryResponse) {}
rpc RemoveRepositoryV2(RemoveRepositoryRequest) returns (RemoveRepositoryResponse) {}
rpc FastRepoInitHandshakeV2(FastRepoInitHandshakeV2Request) returns (FastRepoInitHandshakeV2Response) {}
rpc SyncMerkleSubtreeV2(SyncMerkleSubtreeV2Request) returns (SyncMerkleSubtreeV2Response) {}
rpc FastUpdateFileV2(FastUpdateFileV2Request) returns (FastUpdateFileV2Response) {}
rpc FastRepoSyncComplete(FastRepoSyncCompleteRequest) returns (FastRepoSyncCompleteResponse) {}
rpc SemSearchFast(SemSearchRequest) returns (stream SemSearchResponse) {}
rpc SemSearch(SemSearchRequest) returns (stream SemSearchResponse) {}
rpc EnsureIndexCreated(EnsureIndexCreatedRequest) returns (EnsureIndexCreatedResponse) {}
rpc GetHighLevelFolderDescription(GetHighLevelFolderDescriptionRequest) returns (GetHighLevelFolderDescriptionResponse) {}
rpc GetEmbeddings(GetEmbeddingsRequest) returns (GetEmbeddingsResponse) {}
rpc GetUploadLimits(GetUploadLimitsRequest) returns (GetUploadLimitsResponse) {}
rpc GetNumFilesToSend(GetNumFilesToSendRequest) returns (GetNumFilesToSendResponse) {}
rpc GetAvailableChunkingStrategies(GetAvailableChunkingStrategiesRequest) returns (GetAvailableChunkingStrategiesResponse) {}
rpc GetLineNumberClassifications(GetLineNumberClassificationsRequest) returns (stream GetLineNumberClassificationsResponse) {}
rpc GetCopyStatus(GetCopyStatusRequest) returns (GetCopyStatusResponse) {}
}
// Source: aiserver.v1.ToolCallEventService (var: m)
service ToolCallEventService {
rpc SubmitToolCallEvents(SubmitToolCallEventsRequest) returns (SubmitToolCallEventsResponse) {}
}
// Source: aiserver.v1.TraceService (var: u)
service TraceService {
rpc SubmitSpans(SubmitSpansRequest) returns (SubmitSpansResponse) {}
}
// Source: aiserver.v1.UploadService (var: S)
service UploadService {
rpc UploadDocumentation(NewDocumentationRequest) returns (UploadResponse) {}
rpc UploadDocumentationStatus(UploadDocumentationRequest) returns (UploadedStatus) {}
rpc MarkAsPublic(MarkAsPublicRequest) returns (UploadedStatus) {}
rpc UploadStatus(UploadedStatusRequest) returns (UploadedStatus) {}
rpc GetPages(GetPagesRequest) returns (Pages) {}
rpc GetDoc(GetDocRequest) returns (ProtoDoc) {}
rpc RescrapeDocs(RescrapeDocsRequest) returns (RescrapeDocsResponse) {}
rpc RescrapeDocsV2(RescrapeDocsRequestV2) returns (RescrapeDocsResponse) {}
rpc UpsertAllDocs(UpsertDocsRequest) returns (UpsertDocsResponse) {}
}
// Source: aiserver.v1.WebProfilingService (var: l)
service WebProfilingService {
rpc SubmitInteractionWindow(SubmitInteractionWindowRequest) returns (SubmitInteractionWindowResponse) {}
}