Documentation
¶
Overview ¶
Package devboxv1 holds the generated devbox.v1 gRPC contract (from proto/devbox/v1 in the repository root, regenerate with `make devbox-proto`) plus the metadata conventions shared by console, KAS, devbox-gateway and devbox-daemon.
Index ¶
- Constants
- Variables
- func GatewayMethodForControl(fullMethod string) (string, bool)
- func RegisterControlServer(s grpc.ServiceRegistrar, srv ControlServer)
- func RegisterDaemonServer(s grpc.ServiceRegistrar, srv DaemonServer)
- func RegisterGatewayServer(s grpc.ServiceRegistrar, srv GatewayServer)
- func RegisterIngestServer(s grpc.ServiceRegistrar, srv IngestServer)
- func RegisterSandboxCredentialsServer(s grpc.ServiceRegistrar, srv SandboxCredentialsServer)
- func RegisterTunnelServer(s grpc.ServiceRegistrar, srv TunnelServer)
- type AckEventsRequest
- type AckEventsResponse
- func (*AckEventsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AckEventsResponse) GetAckedOffset() uint64
- func (*AckEventsResponse) ProtoMessage()
- func (x *AckEventsResponse) ProtoReflect() protoreflect.Message
- func (x *AckEventsResponse) Reset()
- func (x *AckEventsResponse) String() string
- type AcpEntity
- func (*AcpEntity) Descriptor() ([]byte, []int)deprecated
- func (x *AcpEntity) GetAcpJson() []byte
- func (x *AcpEntity) GetBody() isAcpEntity_Body
- func (x *AcpEntity) GetCompaction() *CompactionEntity
- func (x *AcpEntity) GetCreatedAt() *timestamppb.Timestamp
- func (x *AcpEntity) GetKey() *EntityKey
- func (x *AcpEntity) GetMessage() *MessageEntity
- func (x *AcpEntity) GetPlan() *PlanEntity
- func (x *AcpEntity) GetPosition() uint64
- func (x *AcpEntity) GetRevision() uint64
- func (x *AcpEntity) GetSessionMessage() *SessionMessageEntity
- func (x *AcpEntity) GetSettled() bool
- func (x *AcpEntity) GetTerminal() *TerminalEntity
- func (x *AcpEntity) GetToolCall() *ToolCall
- func (x *AcpEntity) GetUnknown() *UnknownVariant
- func (x *AcpEntity) GetUpdatedAt() *timestamppb.Timestamp
- func (*AcpEntity) ProtoMessage()
- func (x *AcpEntity) ProtoReflect() protoreflect.Message
- func (x *AcpEntity) Reset()
- func (x *AcpEntity) String() string
- type AcpEntity_Compaction
- type AcpEntity_Message
- type AcpEntity_Plan
- type AcpEntity_SessionMessage
- type AcpEntity_Terminal
- type AcpEntity_ToolCall
- type AcpEntity_Unknown
- type AddRepositoryRequest
- func (*AddRepositoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddRepositoryRequest) GetIdempotencyKey() string
- func (x *AddRepositoryRequest) GetInstanceId() string
- func (x *AddRepositoryRequest) GetRepository() *RepositorySpec
- func (x *AddRepositoryRequest) GetRequestedBy() *Principal
- func (*AddRepositoryRequest) ProtoMessage()
- func (x *AddRepositoryRequest) ProtoReflect() protoreflect.Message
- func (x *AddRepositoryRequest) Reset()
- func (x *AddRepositoryRequest) String() string
- type AddRepositoryResponse
- func (*AddRepositoryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddRepositoryResponse) GetCheckout() *Checkout
- func (*AddRepositoryResponse) ProtoMessage()
- func (x *AddRepositoryResponse) ProtoReflect() protoreflect.Message
- func (x *AddRepositoryResponse) Reset()
- func (x *AddRepositoryResponse) String() string
- type AgentCapabilities
- func (*AgentCapabilities) Descriptor() ([]byte, []int)deprecated
- func (x *AgentCapabilities) GetElicitation() bool
- func (x *AgentCapabilities) GetLifecycle() *LifecycleSupport
- func (x *AgentCapabilities) GetMcpHttp() bool
- func (x *AgentCapabilities) GetPromptAudio() bool
- func (x *AgentCapabilities) GetPromptEmbeddedContext() bool
- func (x *AgentCapabilities) GetPromptImage() bool
- func (x *AgentCapabilities) GetRaw() *structpb.Struct
- func (x *AgentCapabilities) GetSubagents() bool
- func (*AgentCapabilities) ProtoMessage()
- func (x *AgentCapabilities) ProtoReflect() protoreflect.Message
- func (x *AgentCapabilities) Reset()
- func (x *AgentCapabilities) String() string
- type AgentCatalogEntry
- func (*AgentCatalogEntry) Descriptor() ([]byte, []int)deprecated
- func (x *AgentCatalogEntry) GetAdapterName() string
- func (x *AgentCatalogEntry) GetAdapterVersion() string
- func (x *AgentCatalogEntry) GetCapabilities() *AgentCapabilities
- func (x *AgentCatalogEntry) GetConfigOptions() []*ConfigOption
- func (x *AgentCatalogEntry) GetCurrentModel() string
- func (x *AgentCatalogEntry) GetDefaultModel() string
- func (x *AgentCatalogEntry) GetInitialCommands() []*AvailableCommand
- func (x *AgentCatalogEntry) GetIsDefault() bool
- func (x *AgentCatalogEntry) GetModelConfigOptionId() string
- func (x *AgentCatalogEntry) GetModelSwitchable() bool
- func (x *AgentCatalogEntry) GetModels() []*ConfigOptionValue
- func (x *AgentCatalogEntry) GetProbeError() string
- func (x *AgentCatalogEntry) GetProbeStatus() ProbeStatus
- func (x *AgentCatalogEntry) GetProbedAt() *timestamppb.Timestamp
- func (x *AgentCatalogEntry) GetProtocolVersion() int32
- func (x *AgentCatalogEntry) GetType() AgentType
- func (*AgentCatalogEntry) ProtoMessage()
- func (x *AgentCatalogEntry) ProtoReflect() protoreflect.Message
- func (x *AgentCatalogEntry) Reset()
- func (x *AgentCatalogEntry) String() string
- type AgentConnection
- func (*AgentConnection) Descriptor() ([]byte, []int)deprecated
- func (x *AgentConnection) GetAdapterName() string
- func (x *AgentConnection) GetAdapterVersion() string
- func (x *AgentConnection) GetAgent() AgentType
- func (x *AgentConnection) GetBilling() BillingMode
- func (x *AgentConnection) GetCapabilities() *AgentCapabilities
- func (x *AgentConnection) GetError() *AgentError
- func (x *AgentConnection) GetProtocolVersion() int32
- func (x *AgentConnection) GetState() string
- func (*AgentConnection) ProtoMessage()
- func (x *AgentConnection) ProtoReflect() protoreflect.Message
- func (x *AgentConnection) Reset()
- func (x *AgentConnection) String() string
- type AgentError
- func (*AgentError) Descriptor() ([]byte, []int)deprecated
- func (x *AgentError) GetCode() int32
- func (x *AgentError) GetData() *structpb.Value
- func (x *AgentError) GetDetail() *ErrorDetail
- func (x *AgentError) GetMessage() string
- func (*AgentError) ProtoMessage()
- func (x *AgentError) ProtoReflect() protoreflect.Message
- func (x *AgentError) Reset()
- func (x *AgentError) String() string
- type AgentLaunch
- func (*AgentLaunch) Descriptor() ([]byte, []int)deprecated
- func (x *AgentLaunch) GetAcpV2() bool
- func (x *AgentLaunch) GetAgent() AgentType
- func (x *AgentLaunch) GetAllowCollaborators() bool
- func (x *AgentLaunch) GetBilling() BillingMode
- func (x *AgentLaunch) GetCredentialId() string
- func (x *AgentLaunch) GetCredentialKind() string
- func (x *AgentLaunch) GetProxyModels() *ProxyModels
- func (*AgentLaunch) ProtoMessage()
- func (x *AgentLaunch) ProtoReflect() protoreflect.Message
- func (x *AgentLaunch) Reset()
- func (x *AgentLaunch) String() string
- type AgentProbeSpec
- func (*AgentProbeSpec) Descriptor() ([]byte, []int)deprecated
- func (x *AgentProbeSpec) GetAcpV2() bool
- func (x *AgentProbeSpec) GetAdapterVersion() string
- func (x *AgentProbeSpec) GetDefaultModel() string
- func (x *AgentProbeSpec) GetIsDefault() bool
- func (x *AgentProbeSpec) GetModels() []string
- func (x *AgentProbeSpec) GetType() AgentType
- func (*AgentProbeSpec) ProtoMessage()
- func (x *AgentProbeSpec) ProtoReflect() protoreflect.Message
- func (x *AgentProbeSpec) Reset()
- func (x *AgentProbeSpec) String() string
- type AgentType
- type Annotations
- func (*Annotations) Descriptor() ([]byte, []int)deprecated
- func (x *Annotations) GetAudience() []string
- func (x *Annotations) GetLastModified() string
- func (x *Annotations) GetMeta() *structpb.Struct
- func (x *Annotations) GetPriority() float64
- func (*Annotations) ProtoMessage()
- func (x *Annotations) ProtoReflect() protoreflect.Message
- func (x *Annotations) Reset()
- func (x *Annotations) String() string
- type AudioContent
- func (*AudioContent) Descriptor() ([]byte, []int)deprecated
- func (x *AudioContent) GetAnnotations() *Annotations
- func (x *AudioContent) GetData() string
- func (x *AudioContent) GetMeta() *structpb.Struct
- func (x *AudioContent) GetMimeType() string
- func (*AudioContent) ProtoMessage()
- func (x *AudioContent) ProtoReflect() protoreflect.Message
- func (x *AudioContent) Reset()
- func (x *AudioContent) String() string
- type Autonomy
- type AutonomyPolicy
- func (*AutonomyPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *AutonomyPolicy) GetDefault() Autonomy
- func (x *AutonomyPolicy) GetMax() Autonomy
- func (*AutonomyPolicy) ProtoMessage()
- func (x *AutonomyPolicy) ProtoReflect() protoreflect.Message
- func (x *AutonomyPolicy) Reset()
- func (x *AutonomyPolicy) String() string
- type AvailableCommand
- func (*AvailableCommand) Descriptor() ([]byte, []int)deprecated
- func (x *AvailableCommand) GetDescription() string
- func (x *AvailableCommand) GetInput() *CommandInput
- func (x *AvailableCommand) GetMeta() *structpb.Struct
- func (x *AvailableCommand) GetName() string
- func (*AvailableCommand) ProtoMessage()
- func (x *AvailableCommand) ProtoReflect() protoreflect.Message
- func (x *AvailableCommand) Reset()
- func (x *AvailableCommand) String() string
- type AwsIdentity
- func (*AwsIdentity) Descriptor() ([]byte, []int)deprecated
- func (x *AwsIdentity) GetDurationSeconds() int32
- func (x *AwsIdentity) GetRoleArn() string
- func (x *AwsIdentity) GetSessionPolicy() string
- func (*AwsIdentity) ProtoMessage()
- func (x *AwsIdentity) ProtoReflect() protoreflect.Message
- func (x *AwsIdentity) Reset()
- func (x *AwsIdentity) String() string
- type AzureIdentity
- func (*AzureIdentity) Descriptor() ([]byte, []int)deprecated
- func (x *AzureIdentity) GetAuthorityHost() string
- func (x *AzureIdentity) GetClientId() string
- func (x *AzureIdentity) GetTenantId() string
- func (*AzureIdentity) ProtoMessage()
- func (x *AzureIdentity) ProtoReflect() protoreflect.Message
- func (x *AzureIdentity) Reset()
- func (x *AzureIdentity) String() string
- type BillingMode
- func (BillingMode) Descriptor() protoreflect.EnumDescriptor
- func (x BillingMode) Enum() *BillingMode
- func (BillingMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x BillingMode) Number() protoreflect.EnumNumber
- func (x BillingMode) String() string
- func (BillingMode) Type() protoreflect.EnumType
- type BlobResourceContents
- func (*BlobResourceContents) Descriptor() ([]byte, []int)deprecated
- func (x *BlobResourceContents) GetBlob() string
- func (x *BlobResourceContents) GetMeta() *structpb.Struct
- func (x *BlobResourceContents) GetMimeType() string
- func (x *BlobResourceContents) GetUri() string
- func (*BlobResourceContents) ProtoMessage()
- func (x *BlobResourceContents) ProtoReflect() protoreflect.Message
- func (x *BlobResourceContents) Reset()
- func (x *BlobResourceContents) String() string
- type BranchDiffStatRequest
- func (*BranchDiffStatRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BranchDiffStatRequest) GetBase() string
- func (x *BranchDiffStatRequest) GetHead() string
- func (x *BranchDiffStatRequest) GetInstanceId() string
- func (x *BranchDiffStatRequest) GetRepository() string
- func (*BranchDiffStatRequest) ProtoMessage()
- func (x *BranchDiffStatRequest) ProtoReflect() protoreflect.Message
- func (x *BranchDiffStatRequest) Reset()
- func (x *BranchDiffStatRequest) String() string
- type BranchDiffStatResponse
- func (*BranchDiffStatResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BranchDiffStatResponse) GetAdditions() int32
- func (x *BranchDiffStatResponse) GetBaseSha() string
- func (x *BranchDiffStatResponse) GetDeletions() int32
- func (x *BranchDiffStatResponse) GetFiles() int32
- func (x *BranchDiffStatResponse) GetHeadSha() string
- func (*BranchDiffStatResponse) ProtoMessage()
- func (x *BranchDiffStatResponse) ProtoReflect() protoreflect.Message
- func (x *BranchDiffStatResponse) Reset()
- func (x *BranchDiffStatResponse) String() string
- type BrowserInfo
- func (*BrowserInfo) Descriptor() ([]byte, []int)deprecated
- func (x *BrowserInfo) GetCdpPort() int32
- func (x *BrowserInfo) GetHeight() int32
- func (x *BrowserInfo) GetRunning() bool
- func (x *BrowserInfo) GetStartedAt() *timestamppb.Timestamp
- func (x *BrowserInfo) GetVncPath() string
- func (x *BrowserInfo) GetWidth() int32
- func (*BrowserInfo) ProtoMessage()
- func (x *BrowserInfo) ProtoReflect() protoreflect.Message
- func (x *BrowserInfo) Reset()
- func (x *BrowserInfo) String() string
- type BusyReason
- func (*BusyReason) Descriptor() ([]byte, []int)deprecated
- func (x *BusyReason) GetDetail() string
- func (x *BusyReason) GetKind() BusyReasonKind
- func (x *BusyReason) GetTerminalId() string
- func (x *BusyReason) GetThreadId() string
- func (x *BusyReason) GetUntil() *timestamppb.Timestamp
- func (*BusyReason) ProtoMessage()
- func (x *BusyReason) ProtoReflect() protoreflect.Message
- func (x *BusyReason) Reset()
- func (x *BusyReason) String() string
- type BusyReasonKind
- func (BusyReasonKind) Descriptor() protoreflect.EnumDescriptor
- func (x BusyReasonKind) Enum() *BusyReasonKind
- func (BusyReasonKind) EnumDescriptor() ([]byte, []int)deprecated
- func (x BusyReasonKind) Number() protoreflect.EnumNumber
- func (x BusyReasonKind) String() string
- func (BusyReasonKind) Type() protoreflect.EnumType
- type CancelPromptRequest
- func (*CancelPromptRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CancelPromptRequest) GetRequestedBy() *Principal
- func (x *CancelPromptRequest) GetThread() *ThreadRef
- func (*CancelPromptRequest) ProtoMessage()
- func (x *CancelPromptRequest) ProtoReflect() protoreflect.Message
- func (x *CancelPromptRequest) Reset()
- func (x *CancelPromptRequest) String() string
- type CancelPromptResponse
- func (*CancelPromptResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CancelPromptResponse) GetCancelled() bool
- func (*CancelPromptResponse) ProtoMessage()
- func (x *CancelPromptResponse) ProtoReflect() protoreflect.Message
- func (x *CancelPromptResponse) Reset()
- func (x *CancelPromptResponse) String() string
- type ChangeStatus
- func (ChangeStatus) Descriptor() protoreflect.EnumDescriptor
- func (x ChangeStatus) Enum() *ChangeStatus
- func (ChangeStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x ChangeStatus) Number() protoreflect.EnumNumber
- func (x ChangeStatus) String() string
- func (ChangeStatus) Type() protoreflect.EnumType
- type ChangesBase
- func (ChangesBase) Descriptor() protoreflect.EnumDescriptor
- func (x ChangesBase) Enum() *ChangesBase
- func (ChangesBase) EnumDescriptor() ([]byte, []int)deprecated
- func (x ChangesBase) Number() protoreflect.EnumNumber
- func (x ChangesBase) String() string
- func (ChangesBase) Type() protoreflect.EnumType
- type Checkout
- func (*Checkout) Descriptor() ([]byte, []int)deprecated
- func (x *Checkout) GetAhead() int32
- func (x *Checkout) GetBehind() int32
- func (x *Checkout) GetBranch() string
- func (x *Checkout) GetDefaultBranch() string
- func (x *Checkout) GetDirty() bool
- func (x *Checkout) GetHeadSha() string
- func (x *Checkout) GetName() string
- func (x *Checkout) GetPath() string
- func (x *Checkout) GetRemoteUrl() string
- func (x *Checkout) GetWorktreeThreadId() string
- func (*Checkout) ProtoMessage()
- func (x *Checkout) ProtoReflect() protoreflect.Message
- func (x *Checkout) Reset()
- func (x *Checkout) String() string
- type CloseTerminalRequest
- func (*CloseTerminalRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CloseTerminalRequest) GetInstanceId() string
- func (x *CloseTerminalRequest) GetSignal() string
- func (x *CloseTerminalRequest) GetTerminalId() string
- func (*CloseTerminalRequest) ProtoMessage()
- func (x *CloseTerminalRequest) ProtoReflect() protoreflect.Message
- func (x *CloseTerminalRequest) Reset()
- func (x *CloseTerminalRequest) String() string
- type CloudIdentity
- func (*CloudIdentity) Descriptor() ([]byte, []int)deprecated
- func (x *CloudIdentity) GetAws() *AwsIdentity
- func (x *CloudIdentity) GetAzure() *AzureIdentity
- func (x *CloudIdentity) GetCloud() isCloudIdentity_Cloud
- func (x *CloudIdentity) GetGcp() *GcpIdentity
- func (x *CloudIdentity) GetIsDefault() bool
- func (x *CloudIdentity) GetName() string
- func (*CloudIdentity) ProtoMessage()
- func (x *CloudIdentity) ProtoReflect() protoreflect.Message
- func (x *CloudIdentity) Reset()
- func (x *CloudIdentity) String() string
- type CloudIdentity_Aws
- type CloudIdentity_Azure
- type CloudIdentity_Gcp
- type CodexCredentialMode
- func (CodexCredentialMode) Descriptor() protoreflect.EnumDescriptor
- func (x CodexCredentialMode) Enum() *CodexCredentialMode
- func (CodexCredentialMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x CodexCredentialMode) Number() protoreflect.EnumNumber
- func (x CodexCredentialMode) String() string
- func (CodexCredentialMode) Type() protoreflect.EnumType
- type CommandInput
- func (*CommandInput) Descriptor() ([]byte, []int)deprecated
- func (x *CommandInput) GetHint() string
- func (x *CommandInput) GetType() string
- func (*CommandInput) ProtoMessage()
- func (x *CommandInput) ProtoReflect() protoreflect.Message
- func (x *CommandInput) Reset()
- func (x *CommandInput) String() string
- type CommitSha
- type CompactionEntity
- func (*CompactionEntity) Descriptor() ([]byte, []int)deprecated
- func (x *CompactionEntity) GetCompactionId() string
- func (x *CompactionEntity) GetMeta() *structpb.Struct
- func (x *CompactionEntity) GetStatus() string
- func (x *CompactionEntity) GetSummary() []*ContentBlock
- func (*CompactionEntity) ProtoMessage()
- func (x *CompactionEntity) ProtoReflect() protoreflect.Message
- func (x *CompactionEntity) Reset()
- func (x *CompactionEntity) String() string
- type ConfigOption
- func (*ConfigOption) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigOption) GetCategory() string
- func (x *ConfigOption) GetCurrentValue() string
- func (x *ConfigOption) GetDescription() string
- func (x *ConfigOption) GetId() string
- func (x *ConfigOption) GetMeta() *structpb.Struct
- func (x *ConfigOption) GetName() string
- func (x *ConfigOption) GetOptions() []*ConfigOptionValue
- func (x *ConfigOption) GetRawJson() []byte
- func (x *ConfigOption) GetType() string
- func (*ConfigOption) ProtoMessage()
- func (x *ConfigOption) ProtoReflect() protoreflect.Message
- func (x *ConfigOption) Reset()
- func (x *ConfigOption) String() string
- type ConfigOptionSetting
- func (*ConfigOptionSetting) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigOptionSetting) GetConfigId() string
- func (x *ConfigOptionSetting) GetValue() string
- func (*ConfigOptionSetting) ProtoMessage()
- func (x *ConfigOptionSetting) ProtoReflect() protoreflect.Message
- func (x *ConfigOptionSetting) Reset()
- func (x *ConfigOptionSetting) String() string
- type ConfigOptionValue
- func (*ConfigOptionValue) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigOptionValue) GetDescription() string
- func (x *ConfigOptionValue) GetGroup() string
- func (x *ConfigOptionValue) GetMeta() *structpb.Struct
- func (x *ConfigOptionValue) GetName() string
- func (x *ConfigOptionValue) GetValue() string
- func (*ConfigOptionValue) ProtoMessage()
- func (x *ConfigOptionValue) ProtoReflect() protoreflect.Message
- func (x *ConfigOptionValue) Reset()
- func (x *ConfigOptionValue) String() string
- type ContentBlock
- func (*ContentBlock) Descriptor() ([]byte, []int)deprecated
- func (x *ContentBlock) GetAudio() *AudioContent
- func (x *ContentBlock) GetBlock() isContentBlock_Block
- func (x *ContentBlock) GetImage() *ImageContent
- func (x *ContentBlock) GetResource() *EmbeddedResource
- func (x *ContentBlock) GetResourceLink() *ResourceLink
- func (x *ContentBlock) GetText() *TextContent
- func (x *ContentBlock) GetUnknown() *UnknownVariant
- func (*ContentBlock) ProtoMessage()
- func (x *ContentBlock) ProtoReflect() protoreflect.Message
- func (x *ContentBlock) Reset()
- func (x *ContentBlock) String() string
- type ContentBlock_Audio
- type ContentBlock_Image
- type ContentBlock_Resource
- type ContentBlock_ResourceLink
- type ContentBlock_Text
- type ContentBlock_Unknown
- type ControlClient
- type ControlServer
- type Cost
- type CreateInstanceRequest
- func (*CreateInstanceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateInstanceRequest) GetAgent() AgentType
- func (x *CreateInstanceRequest) GetAgents() []*AgentLaunch
- func (x *CreateInstanceRequest) GetAllowedRepositories() []string
- func (x *CreateInstanceRequest) GetConfigOptions() []*ConfigOptionSetting
- func (x *CreateInstanceRequest) GetDecisionReview() bool
- func (x *CreateInstanceRequest) GetDevboxId() string
- func (x *CreateInstanceRequest) GetFirstThreadId() string
- func (x *CreateInstanceRequest) GetFirstThreadTitle() string
- func (x *CreateInstanceRequest) GetIdempotencyKey() string
- func (x *CreateInstanceRequest) GetIdlePolicy() *IdlePolicy
- func (x *CreateInstanceRequest) GetInstanceId() string
- func (x *CreateInstanceRequest) GetLeases() []*Lease
- func (x *CreateInstanceRequest) GetMaxRunningThreads() int32
- func (x *CreateInstanceRequest) GetModel() string
- func (x *CreateInstanceRequest) GetOwner() *Principal
- func (x *CreateInstanceRequest) GetRepositories() []*RepositorySpec
- func (x *CreateInstanceRequest) GetRunnerName() string
- func (x *CreateInstanceRequest) GetRunnerNamespace() string
- func (x *CreateInstanceRequest) GetWorkbenchId() string
- func (*CreateInstanceRequest) ProtoMessage()
- func (x *CreateInstanceRequest) ProtoReflect() protoreflect.Message
- func (x *CreateInstanceRequest) Reset()
- func (x *CreateInstanceRequest) String() string
- type CreateInstanceResponse
- func (*CreateInstanceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateInstanceResponse) GetActorId() string
- func (x *CreateInstanceResponse) GetImageDigest() string
- func (x *CreateInstanceResponse) GetInstanceId() string
- func (x *CreateInstanceResponse) GetMessage() string
- func (x *CreateInstanceResponse) GetRestoreFidelity() SnapshotFidelity
- func (x *CreateInstanceResponse) GetStatus() InstanceStatus
- func (x *CreateInstanceResponse) GetTemplateRevision() int64
- func (*CreateInstanceResponse) ProtoMessage()
- func (x *CreateInstanceResponse) ProtoReflect() protoreflect.Message
- func (x *CreateInstanceResponse) Reset()
- func (x *CreateInstanceResponse) String() string
- type CreateTerminalRequest
- func (*CreateTerminalRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTerminalRequest) GetArgs() []string
- func (x *CreateTerminalRequest) GetCols() int32
- func (x *CreateTerminalRequest) GetCommand() string
- func (x *CreateTerminalRequest) GetCreatedBy() *Principal
- func (x *CreateTerminalRequest) GetCwd() string
- func (x *CreateTerminalRequest) GetEnv() map[string]string
- func (x *CreateTerminalRequest) GetInstanceId() string
- func (x *CreateTerminalRequest) GetRows() int32
- func (x *CreateTerminalRequest) GetTerminalId() string
- func (*CreateTerminalRequest) ProtoMessage()
- func (x *CreateTerminalRequest) ProtoReflect() protoreflect.Message
- func (x *CreateTerminalRequest) Reset()
- func (x *CreateTerminalRequest) String() string
- type CreateThreadRequest
- func (*CreateThreadRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateThreadRequest) GetAgent() AgentType
- func (x *CreateThreadRequest) GetConfigOptions() []*ConfigOptionSetting
- func (x *CreateThreadRequest) GetCreatedBy() *Principal
- func (x *CreateThreadRequest) GetCwd() string
- func (x *CreateThreadRequest) GetInstanceId() string
- func (x *CreateThreadRequest) GetModel() string
- func (x *CreateThreadRequest) GetResumeIfSuspended() bool
- func (x *CreateThreadRequest) GetThreadId() string
- func (x *CreateThreadRequest) GetTitle() string
- func (x *CreateThreadRequest) GetWorktreeRepos() []string
- func (*CreateThreadRequest) ProtoMessage()
- func (x *CreateThreadRequest) ProtoReflect() protoreflect.Message
- func (x *CreateThreadRequest) Reset()
- func (x *CreateThreadRequest) String() string
- type CredentialKind
- func (CredentialKind) Descriptor() protoreflect.EnumDescriptor
- func (x CredentialKind) Enum() *CredentialKind
- func (CredentialKind) EnumDescriptor() ([]byte, []int)deprecated
- func (x CredentialKind) Number() protoreflect.EnumNumber
- func (x CredentialKind) String() string
- func (CredentialKind) Type() protoreflect.EnumType
- type CredentialSelector
- func (*CredentialSelector) Descriptor() ([]byte, []int)deprecated
- func (x *CredentialSelector) GetHost() string
- func (x *CredentialSelector) GetIdentity() string
- func (x *CredentialSelector) GetKind() CredentialKind
- func (*CredentialSelector) ProtoMessage()
- func (x *CredentialSelector) ProtoReflect() protoreflect.Message
- func (x *CredentialSelector) Reset()
- func (x *CredentialSelector) String() string
- type DaemonClient
- type DaemonCondition
- func (*DaemonCondition) Descriptor() ([]byte, []int)deprecated
- func (x *DaemonCondition) GetActive() bool
- func (x *DaemonCondition) GetError() *ErrorDetail
- func (x *DaemonCondition) GetMessage() string
- func (x *DaemonCondition) GetSeverity() string
- func (x *DaemonCondition) GetType() string
- func (*DaemonCondition) ProtoMessage()
- func (x *DaemonCondition) ProtoReflect() protoreflect.Message
- func (x *DaemonCondition) Reset()
- func (x *DaemonCondition) String() string
- type DaemonEvent
- func (*DaemonEvent) Descriptor() ([]byte, []int)deprecated
- func (x *DaemonEvent) GetAggregate() *InstanceAggregate
- func (x *DaemonEvent) GetCondition() *DaemonCondition
- func (x *DaemonEvent) GetDelta() *Delta
- func (x *DaemonEvent) GetEmittedAt() *timestamppb.Timestamp
- func (x *DaemonEvent) GetEvent() isDaemonEvent_Event
- func (x *DaemonEvent) GetHeartbeat() *DaemonHeartbeat
- func (x *DaemonEvent) GetIdleState() *IdleState
- func (x *DaemonEvent) GetInteraction() *Interaction
- func (x *DaemonEvent) GetOffset() uint64
- func (x *DaemonEvent) GetSession() *Session
- func (x *DaemonEvent) GetSuspendRequested() *SuspendRequested
- func (*DaemonEvent) ProtoMessage()
- func (x *DaemonEvent) ProtoReflect() protoreflect.Message
- func (x *DaemonEvent) Reset()
- func (x *DaemonEvent) String() string
- type DaemonEvent_Aggregate
- type DaemonEvent_Condition
- type DaemonEvent_Delta
- type DaemonEvent_Heartbeat
- type DaemonEvent_IdleState
- type DaemonEvent_Interaction
- type DaemonEvent_Session
- type DaemonEvent_SuspendRequested
- type DaemonHeartbeat
- func (*DaemonHeartbeat) Descriptor() ([]byte, []int)deprecated
- func (x *DaemonHeartbeat) GetHeadOffset() uint64
- func (x *DaemonHeartbeat) GetIdle() *IdleState
- func (*DaemonHeartbeat) ProtoMessage()
- func (x *DaemonHeartbeat) ProtoReflect() protoreflect.Message
- func (x *DaemonHeartbeat) Reset()
- func (x *DaemonHeartbeat) String() string
- type DaemonInfo
- func (*DaemonInfo) Descriptor() ([]byte, []int)deprecated
- func (x *DaemonInfo) GetAckedOffset() uint64
- func (x *DaemonInfo) GetAgents() []*AgentCatalogEntry
- func (x *DaemonInfo) GetBootId() string
- func (x *DaemonInfo) GetConnections() []*AgentConnection
- func (x *DaemonInfo) GetContractVersion() string
- func (x *DaemonInfo) GetHeadOffset() uint64
- func (x *DaemonInfo) GetInstanceId() string
- func (x *DaemonInfo) GetStartedAt() *timestamppb.Timestamp
- func (x *DaemonInfo) GetVersion() string
- func (*DaemonInfo) ProtoMessage()
- func (x *DaemonInfo) ProtoReflect() protoreflect.Message
- func (x *DaemonInfo) Reset()
- func (x *DaemonInfo) String() string
- type DaemonServer
- type Daemon_AttachTerminalClient
- type Daemon_AttachTerminalServer
- type Daemon_SubscribeEventsClient
- type Daemon_SubscribeEventsServer
- type Daemon_WatchFilesClient
- type Daemon_WatchFilesServer
- type DeleteSnapshotRequest
- func (*DeleteSnapshotRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteSnapshotRequest) GetSnapshot() *SnapshotRef
- func (*DeleteSnapshotRequest) ProtoMessage()
- func (x *DeleteSnapshotRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteSnapshotRequest) Reset()
- func (x *DeleteSnapshotRequest) String() string
- type DeleteSnapshotResponse
- func (*DeleteSnapshotResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteSnapshotResponse) GetDeleted() bool
- func (*DeleteSnapshotResponse) ProtoMessage()
- func (x *DeleteSnapshotResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteSnapshotResponse) Reset()
- func (x *DeleteSnapshotResponse) String() string
- type DeleteThreadResponse
- func (*DeleteThreadResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteThreadResponse) GetAgentSideDeleted() bool
- func (x *DeleteThreadResponse) GetSession() *Session
- func (*DeleteThreadResponse) ProtoMessage()
- func (x *DeleteThreadResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteThreadResponse) Reset()
- func (x *DeleteThreadResponse) String() string
- type Delta
- func (*Delta) Descriptor() ([]byte, []int)deprecated
- func (x *Delta) GetEmittedAt() *timestamppb.Timestamp
- func (x *Delta) GetEntity() *AcpEntity
- func (x *Delta) GetEntityId() string
- func (x *Delta) GetEntityType() EntityType
- func (x *Delta) GetInstanceId() string
- func (x *Delta) GetOffset() uint64
- func (x *Delta) GetOp() DeltaOp
- func (x *Delta) GetPayloadJson() []byte
- func (x *Delta) GetPosition() uint64
- func (x *Delta) GetSeq() uint64
- func (x *Delta) GetSessionId() string
- func (x *Delta) GetStateKind() string
- func (x *Delta) GetStream() string
- func (*Delta) ProtoMessage()
- func (x *Delta) ProtoReflect() protoreflect.Message
- func (x *Delta) Reset()
- func (x *Delta) String() string
- type DeltaOp
- type DevboxPullRequestRequest
- func (*DevboxPullRequestRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DevboxPullRequestRequest) GetAttributes() *PullRequestAttributes
- func (x *DevboxPullRequestRequest) GetInstanceId() string
- func (x *DevboxPullRequestRequest) GetPosition() uint64
- func (x *DevboxPullRequestRequest) GetSubagentSessionId() string
- func (x *DevboxPullRequestRequest) GetThreadId() string
- func (x *DevboxPullRequestRequest) GetToolCallId() string
- func (*DevboxPullRequestRequest) ProtoMessage()
- func (x *DevboxPullRequestRequest) ProtoReflect() protoreflect.Message
- func (x *DevboxPullRequestRequest) Reset()
- func (x *DevboxPullRequestRequest) String() string
- type DevboxPullRequestResponse
- func (*DevboxPullRequestResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DevboxPullRequestResponse) GetNumber() int64
- func (x *DevboxPullRequestResponse) GetPullRequestId() string
- func (x *DevboxPullRequestResponse) GetUrl() string
- func (*DevboxPullRequestResponse) ProtoMessage()
- func (x *DevboxPullRequestResponse) ProtoReflect() protoreflect.Message
- func (x *DevboxPullRequestResponse) Reset()
- func (x *DevboxPullRequestResponse) String() string
- type Diff
- func (*Diff) Descriptor() ([]byte, []int)deprecated
- func (x *Diff) GetMeta() *structpb.Struct
- func (x *Diff) GetNewText() string
- func (x *Diff) GetOldText() string
- func (x *Diff) GetPath() string
- func (*Diff) ProtoMessage()
- func (x *Diff) ProtoReflect() protoreflect.Message
- func (x *Diff) Reset()
- func (x *Diff) String() string
- type ElicitationRequest
- func (*ElicitationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ElicitationRequest) GetElicitationId() string
- func (x *ElicitationRequest) GetMessage() string
- func (x *ElicitationRequest) GetMeta() *structpb.Struct
- func (x *ElicitationRequest) GetRequestedSchema() *structpb.Struct
- func (x *ElicitationRequest) GetUrl() string
- func (*ElicitationRequest) ProtoMessage()
- func (x *ElicitationRequest) ProtoReflect() protoreflect.Message
- func (x *ElicitationRequest) Reset()
- func (x *ElicitationRequest) String() string
- type ElicitationResponse
- func (*ElicitationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ElicitationResponse) GetAction() string
- func (x *ElicitationResponse) GetContent() *structpb.Struct
- func (*ElicitationResponse) ProtoMessage()
- func (x *ElicitationResponse) ProtoReflect() protoreflect.Message
- func (x *ElicitationResponse) Reset()
- func (x *ElicitationResponse) String() string
- type EmbeddedResource
- func (*EmbeddedResource) Descriptor() ([]byte, []int)deprecated
- func (x *EmbeddedResource) GetAnnotations() *Annotations
- func (x *EmbeddedResource) GetBlob() *BlobResourceContents
- func (x *EmbeddedResource) GetMeta() *structpb.Struct
- func (x *EmbeddedResource) GetResource() isEmbeddedResource_Resource
- func (x *EmbeddedResource) GetText() *TextResourceContents
- func (x *EmbeddedResource) GetUnknown() *UnknownVariant
- func (*EmbeddedResource) ProtoMessage()
- func (x *EmbeddedResource) ProtoReflect() protoreflect.Message
- func (x *EmbeddedResource) Reset()
- func (x *EmbeddedResource) String() string
- type EmbeddedResource_Blob
- type EmbeddedResource_Text
- type EmbeddedResource_Unknown
- type EntityKey
- func (*EntityKey) Descriptor() ([]byte, []int)deprecated
- func (x *EntityKey) GetId() string
- func (x *EntityKey) GetSessionId() string
- func (x *EntityKey) GetType() EntityType
- func (*EntityKey) ProtoMessage()
- func (x *EntityKey) ProtoReflect() protoreflect.Message
- func (x *EntityKey) Reset()
- func (x *EntityKey) String() string
- type EntityType
- type ErrorDetail
- func (*ErrorDetail) Descriptor() ([]byte, []int)deprecated
- func (x *ErrorDetail) GetMessage() string
- func (x *ErrorDetail) GetMetadata() map[string]string
- func (x *ErrorDetail) GetReason() ErrorReason
- func (*ErrorDetail) ProtoMessage()
- func (x *ErrorDetail) ProtoReflect() protoreflect.Message
- func (x *ErrorDetail) Reset()
- func (x *ErrorDetail) String() string
- type ErrorReason
- func (ErrorReason) Descriptor() protoreflect.EnumDescriptor
- func (x ErrorReason) Enum() *ErrorReason
- func (ErrorReason) EnumDescriptor() ([]byte, []int)deprecated
- func (x ErrorReason) Number() protoreflect.EnumNumber
- func (x ErrorReason) String() string
- func (ErrorReason) Type() protoreflect.EnumType
- type FileChange
- func (*FileChange) Descriptor() ([]byte, []int)deprecated
- func (x *FileChange) GetAdditions() int32
- func (x *FileChange) GetBinary() bool
- func (x *FileChange) GetDeletions() int32
- func (x *FileChange) GetDiff() string
- func (x *FileChange) GetDiffTruncated() bool
- func (x *FileChange) GetOldPath() string
- func (x *FileChange) GetPath() string
- func (x *FileChange) GetStaged() bool
- func (x *FileChange) GetStatus() ChangeStatus
- func (*FileChange) ProtoMessage()
- func (x *FileChange) ProtoReflect() protoreflect.Message
- func (x *FileChange) Reset()
- func (x *FileChange) String() string
- type FileEntry
- func (*FileEntry) Descriptor() ([]byte, []int)deprecated
- func (x *FileEntry) GetGitStatus() string
- func (x *FileEntry) GetMode() uint32
- func (x *FileEntry) GetModifiedAt() *timestamppb.Timestamp
- func (x *FileEntry) GetName() string
- func (x *FileEntry) GetPath() string
- func (x *FileEntry) GetRepository() string
- func (x *FileEntry) GetSize() int64
- func (x *FileEntry) GetSymlinkTarget() string
- func (x *FileEntry) GetType() FileType
- func (*FileEntry) ProtoMessage()
- func (x *FileEntry) ProtoReflect() protoreflect.Message
- func (x *FileEntry) Reset()
- func (x *FileEntry) String() string
- type FileEvent
- func (*FileEvent) Descriptor() ([]byte, []int)deprecated
- func (x *FileEvent) GetEntry() *FileEntry
- func (x *FileEvent) GetOldPath() string
- func (x *FileEvent) GetPath() string
- func (x *FileEvent) GetType() FileEventType
- func (*FileEvent) ProtoMessage()
- func (x *FileEvent) ProtoReflect() protoreflect.Message
- func (x *FileEvent) Reset()
- func (x *FileEvent) String() string
- type FileEventType
- func (FileEventType) Descriptor() protoreflect.EnumDescriptor
- func (x FileEventType) Enum() *FileEventType
- func (FileEventType) EnumDescriptor() ([]byte, []int)deprecated
- func (x FileEventType) Number() protoreflect.EnumNumber
- func (x FileEventType) String() string
- func (FileEventType) Type() protoreflect.EnumType
- type FileType
- type ForegroundState
- func (*ForegroundState) Descriptor() ([]byte, []int)deprecated
- func (x *ForegroundState) GetBackgroundWork() *structpb.Value
- func (x *ForegroundState) GetError() *AgentError
- func (x *ForegroundState) GetMeta() *structpb.Struct
- func (x *ForegroundState) GetState() ForegroundStateKind
- func (x *ForegroundState) GetStopReason() string
- func (x *ForegroundState) GetUpdatedAt() *timestamppb.Timestamp
- func (*ForegroundState) ProtoMessage()
- func (x *ForegroundState) ProtoReflect() protoreflect.Message
- func (x *ForegroundState) Reset()
- func (x *ForegroundState) String() string
- type ForegroundStateKind
- func (ForegroundStateKind) Descriptor() protoreflect.EnumDescriptor
- func (x ForegroundStateKind) Enum() *ForegroundStateKind
- func (ForegroundStateKind) EnumDescriptor() ([]byte, []int)deprecated
- func (x ForegroundStateKind) Number() protoreflect.EnumNumber
- func (x ForegroundStateKind) String() string
- func (ForegroundStateKind) Type() protoreflect.EnumType
- type ForkThreadRequest
- func (*ForkThreadRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ForkThreadRequest) GetNewThreadId() string
- func (x *ForkThreadRequest) GetRequestedBy() *Principal
- func (x *ForkThreadRequest) GetResumeIfSuspended() bool
- func (x *ForkThreadRequest) GetThread() *ThreadRef
- func (x *ForkThreadRequest) GetTitle() string
- func (*ForkThreadRequest) ProtoMessage()
- func (x *ForkThreadRequest) ProtoReflect() protoreflect.Message
- func (x *ForkThreadRequest) Reset()
- func (x *ForkThreadRequest) String() string
- type GatewayClient
- type GatewayServer
- type Gateway_ProxyStreamClient
- type Gateway_ProxyStreamServer
- type GcpIdentity
- func (*GcpIdentity) Descriptor() ([]byte, []int)deprecated
- func (x *GcpIdentity) GetServiceAccount() string
- func (x *GcpIdentity) GetWorkloadIdentityProvider() string
- func (*GcpIdentity) ProtoMessage()
- func (x *GcpIdentity) ProtoReflect() protoreflect.Message
- func (x *GcpIdentity) Reset()
- func (x *GcpIdentity) String() string
- type GetBrowserRequest
- func (*GetBrowserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBrowserRequest) GetInstanceId() string
- func (*GetBrowserRequest) ProtoMessage()
- func (x *GetBrowserRequest) ProtoReflect() protoreflect.Message
- func (x *GetBrowserRequest) Reset()
- func (x *GetBrowserRequest) String() string
- type GetChangesRequest
- func (*GetChangesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetChangesRequest) GetBase() ChangesBase
- func (x *GetChangesRequest) GetIncludeDiff() bool
- func (x *GetChangesRequest) GetInstanceId() string
- func (x *GetChangesRequest) GetMaxDiffBytes() int32
- func (x *GetChangesRequest) GetPath() string
- func (x *GetChangesRequest) GetRepositories() []string
- func (x *GetChangesRequest) GetThreadId() string
- func (*GetChangesRequest) ProtoMessage()
- func (x *GetChangesRequest) ProtoReflect() protoreflect.Message
- func (x *GetChangesRequest) Reset()
- func (x *GetChangesRequest) String() string
- type GetChangesResponse
- func (*GetChangesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetChangesResponse) GetRepositories() []*RepositoryChanges
- func (*GetChangesResponse) ProtoMessage()
- func (x *GetChangesResponse) ProtoReflect() protoreflect.Message
- func (x *GetChangesResponse) Reset()
- func (x *GetChangesResponse) String() string
- type GetIdleStateRequest
- type GetInfoRequest
- type GetInstanceCredentialsRequest
- func (*GetInstanceCredentialsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetInstanceCredentialsRequest) GetCredentials() []*CredentialSelector
- func (x *GetInstanceCredentialsRequest) GetInstanceId() string
- func (*GetInstanceCredentialsRequest) ProtoMessage()
- func (x *GetInstanceCredentialsRequest) ProtoReflect() protoreflect.Message
- func (x *GetInstanceCredentialsRequest) Reset()
- func (x *GetInstanceCredentialsRequest) String() string
- type GetInstanceCredentialsResponse
- func (*GetInstanceCredentialsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetInstanceCredentialsResponse) GetCredentials() []*InstanceCredential
- func (*GetInstanceCredentialsResponse) ProtoMessage()
- func (x *GetInstanceCredentialsResponse) ProtoReflect() protoreflect.Message
- func (x *GetInstanceCredentialsResponse) Reset()
- func (x *GetInstanceCredentialsResponse) String() string
- type GetSandboxCredentialRequest
- func (*GetSandboxCredentialRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSandboxCredentialRequest) GetSelector() *CredentialSelector
- func (*GetSandboxCredentialRequest) ProtoMessage()
- func (x *GetSandboxCredentialRequest) ProtoReflect() protoreflect.Message
- func (x *GetSandboxCredentialRequest) Reset()
- func (x *GetSandboxCredentialRequest) String() string
- type GetSandboxCredentialResponse
- func (*GetSandboxCredentialResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSandboxCredentialResponse) GetCredentials() []*InstanceCredential
- func (*GetSandboxCredentialResponse) ProtoMessage()
- func (x *GetSandboxCredentialResponse) ProtoReflect() protoreflect.Message
- func (x *GetSandboxCredentialResponse) Reset()
- func (x *GetSandboxCredentialResponse) String() string
- type GetSessionsRequest
- func (*GetSessionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSessionsRequest) GetInstanceId() string
- func (*GetSessionsRequest) ProtoMessage()
- func (x *GetSessionsRequest) ProtoReflect() protoreflect.Message
- func (x *GetSessionsRequest) Reset()
- func (x *GetSessionsRequest) String() string
- type GetSessionsResponse
- func (*GetSessionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSessionsResponse) GetConnections() []*AgentConnection
- func (x *GetSessionsResponse) GetSessions() []*Session
- func (*GetSessionsResponse) ProtoMessage()
- func (x *GetSessionsResponse) ProtoReflect() protoreflect.Message
- func (x *GetSessionsResponse) Reset()
- func (x *GetSessionsResponse) String() string
- type GetTimelineRequest
- func (*GetTimelineRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTimelineRequest) GetAfterPosition() uint64
- func (x *GetTimelineRequest) GetBeforePosition() uint64
- func (x *GetTimelineRequest) GetCursor() isGetTimelineRequest_Cursor
- func (x *GetTimelineRequest) GetInstanceId() string
- func (x *GetTimelineRequest) GetLimit() int32
- func (x *GetTimelineRequest) GetResumeIfSuspended() bool
- func (x *GetTimelineRequest) GetSessionId() string
- func (*GetTimelineRequest) ProtoMessage()
- func (x *GetTimelineRequest) ProtoReflect() protoreflect.Message
- func (x *GetTimelineRequest) Reset()
- func (x *GetTimelineRequest) String() string
- type GetTimelineRequest_AfterPosition
- type GetTimelineRequest_BeforePosition
- type GetTimelineResponse
- func (*GetTimelineResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetTimelineResponse) GetDeltaOffset() uint64
- func (x *GetTimelineResponse) GetEntities() []*AcpEntity
- func (x *GetTimelineResponse) GetHasMore() bool
- func (x *GetTimelineResponse) GetNextPosition() uint64
- func (x *GetTimelineResponse) GetSeq() uint64
- func (x *GetTimelineResponse) GetStream() string
- func (*GetTimelineResponse) ProtoMessage()
- func (x *GetTimelineResponse) ProtoReflect() protoreflect.Message
- func (x *GetTimelineResponse) Reset()
- func (x *GetTimelineResponse) String() string
- type HarnessEndpoints
- func (*HarnessEndpoints) Descriptor() ([]byte, []int)deprecated
- func (x *HarnessEndpoints) GetAiProxyUrl() string
- func (x *HarnessEndpoints) GetConsoleUrl() string
- func (x *HarnessEndpoints) GetDevboxMcpUrl() string
- func (x *HarnessEndpoints) GetSandboxCredentialsUrl() string
- func (x *HarnessEndpoints) GetWorkbenchMcpUrl() string
- func (*HarnessEndpoints) ProtoMessage()
- func (x *HarnessEndpoints) ProtoReflect() protoreflect.Message
- func (x *HarnessEndpoints) Reset()
- func (x *HarnessEndpoints) String() string
- type HealthRequest
- type HealthResponse
- func (*HealthResponse) Descriptor() ([]byte, []int)deprecated
- func (x *HealthResponse) GetBootId() string
- func (x *HealthResponse) GetReady() bool
- func (x *HealthResponse) GetRestored() bool
- func (x *HealthResponse) GetStatus() string
- func (x *HealthResponse) GetVersion() string
- func (x *HealthResponse) GetWorkspaceHydrated() bool
- func (*HealthResponse) ProtoMessage()
- func (x *HealthResponse) ProtoReflect() protoreflect.Message
- func (x *HealthResponse) Reset()
- func (x *HealthResponse) String() string
- type HeartbeatRequest
- func (*HeartbeatRequest) Descriptor() ([]byte, []int)deprecated
- func (x *HeartbeatRequest) GetGatewayId() string
- func (x *HeartbeatRequest) GetInstances() []*InstanceHeartbeat
- func (*HeartbeatRequest) ProtoMessage()
- func (x *HeartbeatRequest) ProtoReflect() protoreflect.Message
- func (x *HeartbeatRequest) Reset()
- func (x *HeartbeatRequest) String() string
- type HeartbeatResponse
- func (*HeartbeatResponse) Descriptor() ([]byte, []int)deprecated
- func (x *HeartbeatResponse) GetUnknownInstanceIds() []string
- func (*HeartbeatResponse) ProtoMessage()
- func (x *HeartbeatResponse) ProtoReflect() protoreflect.Message
- func (x *HeartbeatResponse) Reset()
- func (x *HeartbeatResponse) String() string
- type HttpRequest
- func (*HttpRequest) Descriptor() ([]byte, []int)deprecated
- func (x *HttpRequest) GetData() *HttpRequest_Data
- func (x *HttpRequest) GetHeader() *HttpRequest_Header
- func (x *HttpRequest) GetMessage() isHttpRequest_Message
- func (x *HttpRequest) GetTrailer() *HttpRequest_Trailer
- func (x *HttpRequest) GetUpgradeData() *HttpRequest_UpgradeData
- func (*HttpRequest) ProtoMessage()
- func (x *HttpRequest) ProtoReflect() protoreflect.Message
- func (x *HttpRequest) Reset()
- func (x *HttpRequest) String() string
- type HttpRequestLine
- func (*HttpRequestLine) Descriptor() ([]byte, []int)deprecated
- func (x *HttpRequestLine) GetHeader() map[string]*MetadataValues
- func (x *HttpRequestLine) GetMethod() string
- func (x *HttpRequestLine) GetQuery() map[string]*MetadataValues
- func (x *HttpRequestLine) GetUrlPath() string
- func (*HttpRequestLine) ProtoMessage()
- func (x *HttpRequestLine) ProtoReflect() protoreflect.Message
- func (x *HttpRequestLine) Reset()
- func (x *HttpRequestLine) String() string
- type HttpRequest_Data
- type HttpRequest_Data_
- type HttpRequest_Header
- func (*HttpRequest_Header) Descriptor() ([]byte, []int)deprecated
- func (x *HttpRequest_Header) GetContentLength() int64
- func (x *HttpRequest_Header) GetExtra() *anypb.Any
- func (x *HttpRequest_Header) GetRequest() *HttpRequestLine
- func (*HttpRequest_Header) ProtoMessage()
- func (x *HttpRequest_Header) ProtoReflect() protoreflect.Message
- func (x *HttpRequest_Header) Reset()
- func (x *HttpRequest_Header) String() string
- type HttpRequest_Header_
- type HttpRequest_Trailer
- type HttpRequest_Trailer_
- type HttpRequest_UpgradeData
- func (*HttpRequest_UpgradeData) Descriptor() ([]byte, []int)deprecated
- func (x *HttpRequest_UpgradeData) GetData() []byte
- func (*HttpRequest_UpgradeData) ProtoMessage()
- func (x *HttpRequest_UpgradeData) ProtoReflect() protoreflect.Message
- func (x *HttpRequest_UpgradeData) Reset()
- func (x *HttpRequest_UpgradeData) String() string
- type HttpRequest_UpgradeData_
- type HttpResponse
- func (*HttpResponse) Descriptor() ([]byte, []int)deprecated
- func (x *HttpResponse) GetData() *HttpResponse_Data
- func (x *HttpResponse) GetHeader() *HttpResponse_Header
- func (x *HttpResponse) GetMessage() isHttpResponse_Message
- func (x *HttpResponse) GetTrailer() *HttpResponse_Trailer
- func (x *HttpResponse) GetUpgradeData() *HttpResponse_UpgradeData
- func (*HttpResponse) ProtoMessage()
- func (x *HttpResponse) ProtoReflect() protoreflect.Message
- func (x *HttpResponse) Reset()
- func (x *HttpResponse) String() string
- type HttpResponseLine
- func (*HttpResponseLine) Descriptor() ([]byte, []int)deprecated
- func (x *HttpResponseLine) GetHeader() map[string]*MetadataValues
- func (x *HttpResponseLine) GetStatus() string
- func (x *HttpResponseLine) GetStatusCode() int32
- func (*HttpResponseLine) ProtoMessage()
- func (x *HttpResponseLine) ProtoReflect() protoreflect.Message
- func (x *HttpResponseLine) Reset()
- func (x *HttpResponseLine) String() string
- type HttpResponse_Data
- type HttpResponse_Data_
- type HttpResponse_Header
- func (*HttpResponse_Header) Descriptor() ([]byte, []int)deprecated
- func (x *HttpResponse_Header) GetResponse() *HttpResponseLine
- func (*HttpResponse_Header) ProtoMessage()
- func (x *HttpResponse_Header) ProtoReflect() protoreflect.Message
- func (x *HttpResponse_Header) Reset()
- func (x *HttpResponse_Header) String() string
- type HttpResponse_Header_
- type HttpResponse_Trailer
- type HttpResponse_Trailer_
- type HttpResponse_UpgradeData
- func (*HttpResponse_UpgradeData) Descriptor() ([]byte, []int)deprecated
- func (x *HttpResponse_UpgradeData) GetData() []byte
- func (*HttpResponse_UpgradeData) ProtoMessage()
- func (x *HttpResponse_UpgradeData) ProtoReflect() protoreflect.Message
- func (x *HttpResponse_UpgradeData) Reset()
- func (x *HttpResponse_UpgradeData) String() string
- type HttpResponse_UpgradeData_
- type IdlePolicy
- func (*IdlePolicy) Descriptor() ([]byte, []int)deprecated
- func (x *IdlePolicy) GetActivityWindow() *durationpb.Duration
- func (x *IdlePolicy) GetCompleteAfter() *durationpb.Duration
- func (x *IdlePolicy) GetCpuThresholdPercent() float64
- func (x *IdlePolicy) GetGracePeriod() *durationpb.Duration
- func (x *IdlePolicy) GetMaxContinuousAwake() *durationpb.Duration
- func (x *IdlePolicy) GetMaxDeferral() *durationpb.Duration
- func (*IdlePolicy) ProtoMessage()
- func (x *IdlePolicy) ProtoReflect() protoreflect.Message
- func (x *IdlePolicy) Reset()
- func (x *IdlePolicy) String() string
- type IdleState
- func (*IdleState) Descriptor() ([]byte, []int)deprecated
- func (x *IdleState) GetBusyReasons() []*BusyReason
- func (x *IdleState) GetEvaluatedAt() *timestamppb.Timestamp
- func (x *IdleState) GetIdle() bool
- func (x *IdleState) GetIdleSince() *timestamppb.Timestamp
- func (x *IdleState) GetSuspendAt() *timestamppb.Timestamp
- func (*IdleState) ProtoMessage()
- func (x *IdleState) ProtoReflect() protoreflect.Message
- func (x *IdleState) Reset()
- func (x *IdleState) String() string
- type ImageContent
- func (*ImageContent) Descriptor() ([]byte, []int)deprecated
- func (x *ImageContent) GetAnnotations() *Annotations
- func (x *ImageContent) GetData() string
- func (x *ImageContent) GetMeta() *structpb.Struct
- func (x *ImageContent) GetMimeType() string
- func (x *ImageContent) GetUri() string
- func (*ImageContent) ProtoMessage()
- func (x *ImageContent) ProtoReflect() protoreflect.Message
- func (x *ImageContent) Reset()
- func (x *ImageContent) String() string
- type ImportThreadRequest
- func (*ImportThreadRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ImportThreadRequest) GetAgent() AgentType
- func (x *ImportThreadRequest) GetAgentSessionId() string
- func (x *ImportThreadRequest) GetImportedBy() *Principal
- func (x *ImportThreadRequest) GetInstanceId() string
- func (x *ImportThreadRequest) GetResumeIfSuspended() bool
- func (x *ImportThreadRequest) GetThreadId() string
- func (*ImportThreadRequest) ProtoMessage()
- func (x *ImportThreadRequest) ProtoReflect() protoreflect.Message
- func (x *ImportThreadRequest) Reset()
- func (x *ImportThreadRequest) String() string
- type ImportableSession
- func (*ImportableSession) Descriptor() ([]byte, []int)deprecated
- func (x *ImportableSession) GetAgent() AgentType
- func (x *ImportableSession) GetCwd() string
- func (x *ImportableSession) GetMeta() *structpb.Struct
- func (x *ImportableSession) GetSessionId() string
- func (x *ImportableSession) GetTitle() string
- func (x *ImportableSession) GetUpdatedAt() *timestamppb.Timestamp
- func (*ImportableSession) ProtoMessage()
- func (x *ImportableSession) ProtoReflect() protoreflect.Message
- func (x *ImportableSession) Reset()
- func (x *ImportableSession) String() string
- type IngestClient
- type IngestServer
- type InitializeRequest
- func (*InitializeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InitializeRequest) GetAgent() AgentType
- func (x *InitializeRequest) GetAgents() []*AgentLaunch
- func (x *InitializeRequest) GetAutonomy() *AutonomyPolicy
- func (x *InitializeRequest) GetCloudIdentities() []*CloudIdentity
- func (x *InitializeRequest) GetConfigOptions() []*ConfigOptionSetting
- func (x *InitializeRequest) GetDecisionReview() bool
- func (x *InitializeRequest) GetDevboxId() string
- func (x *InitializeRequest) GetEndpoints() *HarnessEndpoints
- func (x *InitializeRequest) GetEnv() map[string]string
- func (x *InitializeRequest) GetFirstThreadId() string
- func (x *InitializeRequest) GetFirstThreadTitle() string
- func (x *InitializeRequest) GetIdlePolicy() *IdlePolicy
- func (x *InitializeRequest) GetInstanceId() string
- func (x *InitializeRequest) GetLeaseGeneration() uint64
- func (x *InitializeRequest) GetLeases() []*Lease
- func (x *InitializeRequest) GetMaxRunningThreads() int32
- func (x *InitializeRequest) GetModel() string
- func (x *InitializeRequest) GetOwner() *Principal
- func (x *InitializeRequest) GetRepositories() []*RepositorySpec
- func (x *InitializeRequest) GetRequestTokenJwks() []byte
- func (x *InitializeRequest) GetRestoreFidelity() SnapshotFidelity
- func (x *InitializeRequest) GetRestoredFromSnapshot() bool
- func (x *InitializeRequest) GetWorkbenchId() string
- func (*InitializeRequest) ProtoMessage()
- func (x *InitializeRequest) ProtoReflect() protoreflect.Message
- func (x *InitializeRequest) Reset()
- func (x *InitializeRequest) String() string
- type InitializeResponse
- func (*InitializeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InitializeResponse) GetAlreadyInitialized() bool
- func (x *InitializeResponse) GetInfo() *DaemonInfo
- func (*InitializeResponse) ProtoMessage()
- func (x *InitializeResponse) ProtoReflect() protoreflect.Message
- func (x *InitializeResponse) Reset()
- func (x *InitializeResponse) String() string
- type InstanceActionRequest
- func (*InstanceActionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InstanceActionRequest) GetInstanceId() string
- func (x *InstanceActionRequest) GetMessage() string
- func (x *InstanceActionRequest) GetReason() SuspendReason
- func (x *InstanceActionRequest) GetRequestedBy() *Principal
- func (*InstanceActionRequest) ProtoMessage()
- func (x *InstanceActionRequest) ProtoReflect() protoreflect.Message
- func (x *InstanceActionRequest) Reset()
- func (x *InstanceActionRequest) String() string
- type InstanceActionResponse
- func (*InstanceActionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InstanceActionResponse) GetInstanceId() string
- func (x *InstanceActionResponse) GetMessage() string
- func (x *InstanceActionResponse) GetStatus() InstanceStatus
- func (*InstanceActionResponse) ProtoMessage()
- func (x *InstanceActionResponse) ProtoReflect() protoreflect.Message
- func (x *InstanceActionResponse) Reset()
- func (x *InstanceActionResponse) String() string
- type InstanceAggregate
- func (*InstanceAggregate) Descriptor() ([]byte, []int)deprecated
- func (x *InstanceAggregate) GetCheckouts() []*Checkout
- func (x *InstanceAggregate) GetConnections() []*AgentConnection
- func (x *InstanceAggregate) GetForeground() ForegroundStateKind
- func (x *InstanceAggregate) GetRevision() uint64
- func (x *InstanceAggregate) GetRunningThreads() int32
- func (x *InstanceAggregate) GetWaitingThreads() int32
- func (*InstanceAggregate) ProtoMessage()
- func (x *InstanceAggregate) ProtoReflect() protoreflect.Message
- func (x *InstanceAggregate) Reset()
- func (x *InstanceAggregate) String() string
- type InstanceCredential
- func (*InstanceCredential) Descriptor() ([]byte, []int)deprecated
- func (x *InstanceCredential) GetBundleJson() []byte
- func (x *InstanceCredential) GetCodexMode() CodexCredentialMode
- func (x *InstanceCredential) GetCredentialId() string
- func (x *InstanceCredential) GetExpiresAt() *timestamppb.Timestamp
- func (x *InstanceCredential) GetHeaderFormat() string
- func (x *InstanceCredential) GetHeaderName() string
- func (x *InstanceCredential) GetHost() string
- func (x *InstanceCredential) GetIdentity() string
- func (x *InstanceCredential) GetKind() CredentialKind
- func (x *InstanceCredential) GetLeaseExpiresAt() *timestamppb.Timestamp
- func (x *InstanceCredential) GetMetadata() *structpb.Struct
- func (x *InstanceCredential) GetRefreshAfter() *timestamppb.Timestamp
- func (x *InstanceCredential) GetRefreshLeaseHolder() bool
- func (x *InstanceCredential) GetToken() string
- func (x *InstanceCredential) GetVersion() int64
- func (*InstanceCredential) ProtoMessage()
- func (x *InstanceCredential) ProtoReflect() protoreflect.Message
- func (x *InstanceCredential) Reset()
- func (x *InstanceCredential) String() string
- type InstanceHeartbeat
- func (*InstanceHeartbeat) Descriptor() ([]byte, []int)deprecated
- func (x *InstanceHeartbeat) GetAckedOffset() uint64
- func (x *InstanceHeartbeat) GetConditions() []*ErrorDetail
- func (x *InstanceHeartbeat) GetIdle() *IdleState
- func (x *InstanceHeartbeat) GetInstanceId() string
- func (x *InstanceHeartbeat) GetLastDaemonContact() *timestamppb.Timestamp
- func (x *InstanceHeartbeat) GetStatus() InstanceStatus
- func (*InstanceHeartbeat) ProtoMessage()
- func (x *InstanceHeartbeat) ProtoReflect() protoreflect.Message
- func (x *InstanceHeartbeat) Reset()
- func (x *InstanceHeartbeat) String() string
- type InstanceStatus
- func (InstanceStatus) Descriptor() protoreflect.EnumDescriptor
- func (x InstanceStatus) Enum() *InstanceStatus
- func (InstanceStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x InstanceStatus) Number() protoreflect.EnumNumber
- func (x InstanceStatus) String() string
- func (InstanceStatus) Type() protoreflect.EnumType
- type InstanceSummary
- func (*InstanceSummary) Descriptor() ([]byte, []int)deprecated
- func (x *InstanceSummary) GetDevboxId() string
- func (x *InstanceSummary) GetInstanceId() string
- func (x *InstanceSummary) GetLeaseGeneration() uint64
- func (x *InstanceSummary) GetLeases() []*Lease
- func (x *InstanceSummary) GetStatus() InstanceStatus
- func (*InstanceSummary) ProtoMessage()
- func (x *InstanceSummary) ProtoReflect() protoreflect.Message
- func (x *InstanceSummary) Reset()
- func (x *InstanceSummary) String() string
- type Interaction
- func (*Interaction) Descriptor() ([]byte, []int)deprecated
- func (x *Interaction) GetAnsweredAt() *timestamppb.Timestamp
- func (x *Interaction) GetAnsweredBy() *Principal
- func (x *Interaction) GetCreatedAt() *timestamppb.Timestamp
- func (x *Interaction) GetElicitation() *ElicitationRequest
- func (x *Interaction) GetInteractionId() string
- func (x *Interaction) GetJsonrpcId() string
- func (x *Interaction) GetKind() InteractionKind
- func (x *Interaction) GetPermission() *PermissionRequest
- func (x *Interaction) GetRawJson() []byte
- func (x *Interaction) GetRequest() isInteraction_Request
- func (x *Interaction) GetResponse() *InteractionResponse
- func (x *Interaction) GetReview() *Review
- func (x *Interaction) GetRevision() uint64
- func (x *Interaction) GetSessionId() string
- func (x *Interaction) GetState() InteractionState
- func (x *Interaction) GetThreadId() string
- func (x *Interaction) GetTitle() string
- func (x *Interaction) GetToolCallId() string
- func (*Interaction) ProtoMessage()
- func (x *Interaction) ProtoReflect() protoreflect.Message
- func (x *Interaction) Reset()
- func (x *Interaction) String() string
- type InteractionKind
- func (InteractionKind) Descriptor() protoreflect.EnumDescriptor
- func (x InteractionKind) Enum() *InteractionKind
- func (InteractionKind) EnumDescriptor() ([]byte, []int)deprecated
- func (x InteractionKind) Number() protoreflect.EnumNumber
- func (x InteractionKind) String() string
- func (InteractionKind) Type() protoreflect.EnumType
- type InteractionResponse
- func (*InteractionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InteractionResponse) GetElicitation() *ElicitationResponse
- func (x *InteractionResponse) GetPermission() *PermissionOutcome
- func (x *InteractionResponse) GetResponse() isInteractionResponse_Response
- func (*InteractionResponse) ProtoMessage()
- func (x *InteractionResponse) ProtoReflect() protoreflect.Message
- func (x *InteractionResponse) Reset()
- func (x *InteractionResponse) String() string
- type InteractionResponse_Elicitation
- type InteractionResponse_Permission
- type InteractionState
- func (InteractionState) Descriptor() protoreflect.EnumDescriptor
- func (x InteractionState) Enum() *InteractionState
- func (InteractionState) EnumDescriptor() ([]byte, []int)deprecated
- func (x InteractionState) Number() protoreflect.EnumNumber
- func (x InteractionState) String() string
- func (InteractionState) Type() protoreflect.EnumType
- type Interaction_Elicitation
- type Interaction_Permission
- type InvalidateAllowlistRequest
- func (*InvalidateAllowlistRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InvalidateAllowlistRequest) GetAllowedRepositories() []string
- func (x *InvalidateAllowlistRequest) GetDevboxId() string
- func (x *InvalidateAllowlistRequest) GetGeneration() uint64
- func (x *InvalidateAllowlistRequest) GetInstanceId() string
- func (*InvalidateAllowlistRequest) ProtoMessage()
- func (x *InvalidateAllowlistRequest) ProtoReflect() protoreflect.Message
- func (x *InvalidateAllowlistRequest) Reset()
- func (x *InvalidateAllowlistRequest) String() string
- type InvalidateAllowlistResponse
- func (*InvalidateAllowlistResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InvalidateAllowlistResponse) GetInstancesUpdated() int32
- func (*InvalidateAllowlistResponse) ProtoMessage()
- func (x *InvalidateAllowlistResponse) ProtoReflect() protoreflect.Message
- func (x *InvalidateAllowlistResponse) Reset()
- func (x *InvalidateAllowlistResponse) String() string
- type Lease
- func (*Lease) Descriptor() ([]byte, []int)deprecated
- func (x *Lease) GetExpiresAt() *timestamppb.Timestamp
- func (x *Lease) GetHolder() *Principal
- func (x *Lease) GetKind() LeaseKind
- func (x *Lease) GetRequestedUntil() *timestamppb.Timestamp
- func (*Lease) ProtoMessage()
- func (x *Lease) ProtoReflect() protoreflect.Message
- func (x *Lease) Reset()
- func (x *Lease) String() string
- type LeaseKind
- type LifecycleSupport
- func (*LifecycleSupport) Descriptor() ([]byte, []int)deprecated
- func (x *LifecycleSupport) GetClose() bool
- func (x *LifecycleSupport) GetDelete() bool
- func (x *LifecycleSupport) GetFork() bool
- func (x *LifecycleSupport) GetList() bool
- func (x *LifecycleSupport) GetLoad() bool
- func (x *LifecycleSupport) GetReplay() bool
- func (x *LifecycleSupport) GetResume() bool
- func (*LifecycleSupport) ProtoMessage()
- func (x *LifecycleSupport) ProtoReflect() protoreflect.Message
- func (x *LifecycleSupport) Reset()
- func (x *LifecycleSupport) String() string
- type ListCommandsRequest
- func (*ListCommandsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListCommandsRequest) GetSessionId() string
- func (x *ListCommandsRequest) GetThread() *ThreadRef
- func (*ListCommandsRequest) ProtoMessage()
- func (x *ListCommandsRequest) ProtoReflect() protoreflect.Message
- func (x *ListCommandsRequest) Reset()
- func (x *ListCommandsRequest) String() string
- type ListCommandsResponse
- func (*ListCommandsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListCommandsResponse) GetCommands() []*AvailableCommand
- func (*ListCommandsResponse) ProtoMessage()
- func (x *ListCommandsResponse) ProtoReflect() protoreflect.Message
- func (x *ListCommandsResponse) Reset()
- func (x *ListCommandsResponse) String() string
- type ListFilesRequest
- func (*ListFilesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListFilesRequest) GetDepth() int32
- func (x *ListFilesRequest) GetIncludeHidden() bool
- func (x *ListFilesRequest) GetInstanceId() string
- func (x *ListFilesRequest) GetLimit() int32
- func (x *ListFilesRequest) GetPath() string
- func (x *ListFilesRequest) GetRespectGitignore() bool
- func (*ListFilesRequest) ProtoMessage()
- func (x *ListFilesRequest) ProtoReflect() protoreflect.Message
- func (x *ListFilesRequest) Reset()
- func (x *ListFilesRequest) String() string
- type ListFilesResponse
- func (*ListFilesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListFilesResponse) GetEntries() []*FileEntry
- func (x *ListFilesResponse) GetTruncated() bool
- func (*ListFilesResponse) ProtoMessage()
- func (x *ListFilesResponse) ProtoReflect() protoreflect.Message
- func (x *ListFilesResponse) Reset()
- func (x *ListFilesResponse) String() string
- type ListRepositoriesRequest
- func (*ListRepositoriesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRepositoriesRequest) GetIncludeWorktrees() bool
- func (x *ListRepositoriesRequest) GetInstanceId() string
- func (*ListRepositoriesRequest) ProtoMessage()
- func (x *ListRepositoriesRequest) ProtoReflect() protoreflect.Message
- func (x *ListRepositoriesRequest) Reset()
- func (x *ListRepositoriesRequest) String() string
- type ListRepositoriesResponse
- func (*ListRepositoriesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListRepositoriesResponse) GetCheckouts() []*Checkout
- func (x *ListRepositoriesResponse) GetProjectMdPath() string
- func (*ListRepositoriesResponse) ProtoMessage()
- func (x *ListRepositoriesResponse) ProtoReflect() protoreflect.Message
- func (x *ListRepositoriesResponse) Reset()
- func (x *ListRepositoriesResponse) String() string
- type ListTerminalsRequest
- func (*ListTerminalsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListTerminalsRequest) GetInstanceId() string
- func (*ListTerminalsRequest) ProtoMessage()
- func (x *ListTerminalsRequest) ProtoReflect() protoreflect.Message
- func (x *ListTerminalsRequest) Reset()
- func (x *ListTerminalsRequest) String() string
- type ListTerminalsResponse
- func (*ListTerminalsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListTerminalsResponse) GetTerminals() []*TerminalInfo
- func (*ListTerminalsResponse) ProtoMessage()
- func (x *ListTerminalsResponse) ProtoReflect() protoreflect.Message
- func (x *ListTerminalsResponse) Reset()
- func (x *ListTerminalsResponse) String() string
- type ListThreadsRequest
- func (*ListThreadsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListThreadsRequest) GetIncludeImportable() bool
- func (x *ListThreadsRequest) GetInstanceId() string
- func (*ListThreadsRequest) ProtoMessage()
- func (x *ListThreadsRequest) ProtoReflect() protoreflect.Message
- func (x *ListThreadsRequest) Reset()
- func (x *ListThreadsRequest) String() string
- type ListThreadsResponse
- func (*ListThreadsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListThreadsResponse) GetImportable() []*ImportableSession
- func (x *ListThreadsResponse) GetThreads() []*Session
- func (*ListThreadsResponse) ProtoMessage()
- func (x *ListThreadsResponse) ProtoReflect() protoreflect.Message
- func (x *ListThreadsResponse) Reset()
- func (x *ListThreadsResponse) String() string
- type MessageEntity
- func (*MessageEntity) Descriptor() ([]byte, []int)deprecated
- func (x *MessageEntity) GetContent() []*ContentBlock
- func (x *MessageEntity) GetMessageId() string
- func (x *MessageEntity) GetMeta() *structpb.Struct
- func (x *MessageEntity) GetPromptId() string
- func (x *MessageEntity) GetSentBy() *Principal
- func (*MessageEntity) ProtoMessage()
- func (x *MessageEntity) ProtoReflect() protoreflect.Message
- func (x *MessageEntity) Reset()
- func (x *MessageEntity) String() string
- type MetadataValues
- type OpenStreamRequest
- func (*OpenStreamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *OpenStreamRequest) GetCreateTerminal() *CreateTerminalRequest
- func (x *OpenStreamRequest) GetInstanceId() string
- func (x *OpenStreamRequest) GetKind() StreamKind
- func (x *OpenStreamRequest) GetPort() int32
- func (x *OpenStreamRequest) GetRequestedBy() *Principal
- func (x *OpenStreamRequest) GetResumeIfSuspended() bool
- func (x *OpenStreamRequest) GetStartBrowser() *StartBrowserRequest
- func (x *OpenStreamRequest) GetTerminalId() string
- func (*OpenStreamRequest) ProtoMessage()
- func (x *OpenStreamRequest) ProtoReflect() protoreflect.Message
- func (x *OpenStreamRequest) Reset()
- func (x *OpenStreamRequest) String() string
- type OpenStreamResponse
- func (*OpenStreamResponse) Descriptor() ([]byte, []int)deprecated
- func (x *OpenStreamResponse) GetBrowser() *BrowserInfo
- func (x *OpenStreamResponse) GetDaemonPath() string
- func (x *OpenStreamResponse) GetExpiresAt() *timestamppb.Timestamp
- func (x *OpenStreamResponse) GetKind() StreamKind
- func (x *OpenStreamResponse) GetStreamId() string
- func (x *OpenStreamResponse) GetSubprotocols() []string
- func (x *OpenStreamResponse) GetTerminal() *TerminalInfo
- func (*OpenStreamResponse) ProtoMessage()
- func (x *OpenStreamResponse) ProtoReflect() protoreflect.Message
- func (x *OpenStreamResponse) Reset()
- func (x *OpenStreamResponse) String() string
- type PermissionOption
- func (*PermissionOption) Descriptor() ([]byte, []int)deprecated
- func (x *PermissionOption) GetKind() string
- func (x *PermissionOption) GetMeta() *structpb.Struct
- func (x *PermissionOption) GetName() string
- func (x *PermissionOption) GetOptionId() string
- func (*PermissionOption) ProtoMessage()
- func (x *PermissionOption) ProtoReflect() protoreflect.Message
- func (x *PermissionOption) Reset()
- func (x *PermissionOption) String() string
- type PermissionOutcome
- func (*PermissionOutcome) Descriptor() ([]byte, []int)deprecated
- func (x *PermissionOutcome) GetCancelled() bool
- func (x *PermissionOutcome) GetOutcome() isPermissionOutcome_Outcome
- func (x *PermissionOutcome) GetSelectedOptionId() string
- func (*PermissionOutcome) ProtoMessage()
- func (x *PermissionOutcome) ProtoReflect() protoreflect.Message
- func (x *PermissionOutcome) Reset()
- func (x *PermissionOutcome) String() string
- type PermissionOutcome_Cancelled
- type PermissionOutcome_SelectedOptionId
- type PermissionRequest
- func (*PermissionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PermissionRequest) GetMeta() *structpb.Struct
- func (x *PermissionRequest) GetOptions() []*PermissionOption
- func (x *PermissionRequest) GetToolCall() *ToolCall
- func (*PermissionRequest) ProtoMessage()
- func (x *PermissionRequest) ProtoReflect() protoreflect.Message
- func (x *PermissionRequest) Reset()
- func (x *PermissionRequest) String() string
- type PlanEntity
- func (*PlanEntity) Descriptor() ([]byte, []int)deprecated
- func (x *PlanEntity) GetEntries() []*PlanEntry
- func (x *PlanEntity) GetMeta() *structpb.Struct
- func (x *PlanEntity) GetPlanId() string
- func (*PlanEntity) ProtoMessage()
- func (x *PlanEntity) ProtoReflect() protoreflect.Message
- func (x *PlanEntity) Reset()
- func (x *PlanEntity) String() string
- type PlanEntry
- func (*PlanEntry) Descriptor() ([]byte, []int)deprecated
- func (x *PlanEntry) GetContent() string
- func (x *PlanEntry) GetMeta() *structpb.Struct
- func (x *PlanEntry) GetPriority() string
- func (x *PlanEntry) GetStatus() string
- func (*PlanEntry) ProtoMessage()
- func (x *PlanEntry) ProtoReflect() protoreflect.Message
- func (x *PlanEntry) Reset()
- func (x *PlanEntry) String() string
- type PreparePullRequestRequest
- func (*PreparePullRequestRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PreparePullRequestRequest) GetAgent() AgentType
- func (x *PreparePullRequestRequest) GetInstanceId() string
- func (x *PreparePullRequestRequest) GetModel() string
- func (x *PreparePullRequestRequest) GetRepository() string
- func (x *PreparePullRequestRequest) GetThreadId() string
- func (*PreparePullRequestRequest) ProtoMessage()
- func (x *PreparePullRequestRequest) ProtoReflect() protoreflect.Message
- func (x *PreparePullRequestRequest) Reset()
- func (x *PreparePullRequestRequest) String() string
- type PreparePullRequestResponse
- func (*PreparePullRequestResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PreparePullRequestResponse) GetAdditions() int32
- func (x *PreparePullRequestResponse) GetBaseBranch() string
- func (x *PreparePullRequestResponse) GetBaseSha() string
- func (x *PreparePullRequestResponse) GetBody() string
- func (x *PreparePullRequestResponse) GetCheckoutPath() string
- func (x *PreparePullRequestResponse) GetCommitted() bool
- func (x *PreparePullRequestResponse) GetDeletions() int32
- func (x *PreparePullRequestResponse) GetHeadBranch() string
- func (x *PreparePullRequestResponse) GetHeadSha() string
- func (x *PreparePullRequestResponse) GetRemoteUrl() string
- func (x *PreparePullRequestResponse) GetTitle() string
- func (x *PreparePullRequestResponse) GetWriter() string
- func (*PreparePullRequestResponse) ProtoMessage()
- func (x *PreparePullRequestResponse) ProtoReflect() protoreflect.Message
- func (x *PreparePullRequestResponse) Reset()
- func (x *PreparePullRequestResponse) String() string
- type PrepareSuspendRequest
- func (*PrepareSuspendRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PrepareSuspendRequest) GetReason() SuspendReason
- func (x *PrepareSuspendRequest) GetSharedSnapshot() bool
- func (*PrepareSuspendRequest) ProtoMessage()
- func (x *PrepareSuspendRequest) ProtoReflect() protoreflect.Message
- func (x *PrepareSuspendRequest) Reset()
- func (x *PrepareSuspendRequest) String() string
- type PrepareSuspendResponse
- func (*PrepareSuspendResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PrepareSuspendResponse) GetSettledOffset() uint64
- func (x *PrepareSuspendResponse) GetStoppedAgents() []AgentType
- func (*PrepareSuspendResponse) ProtoMessage()
- func (x *PrepareSuspendResponse) ProtoReflect() protoreflect.Message
- func (x *PrepareSuspendResponse) Reset()
- func (x *PrepareSuspendResponse) String() string
- type Principal
- func (*Principal) Descriptor() ([]byte, []int)deprecated
- func (x *Principal) GetEmail() string
- func (x *Principal) GetName() string
- func (x *Principal) GetPolicy() string
- func (x *Principal) GetUserId() string
- func (*Principal) ProtoMessage()
- func (x *Principal) ProtoReflect() protoreflect.Message
- func (x *Principal) Reset()
- func (x *Principal) String() string
- type ProbeAgentsRequest
- func (*ProbeAgentsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProbeAgentsRequest) GetAgents() []*AgentProbeSpec
- func (x *ProbeAgentsRequest) GetEndpoints() *HarnessEndpoints
- func (*ProbeAgentsRequest) ProtoMessage()
- func (x *ProbeAgentsRequest) ProtoReflect() protoreflect.Message
- func (x *ProbeAgentsRequest) Reset()
- func (x *ProbeAgentsRequest) String() string
- type ProbeAgentsResponse
- func (*ProbeAgentsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ProbeAgentsResponse) GetAgents() []*AgentCatalogEntry
- func (*ProbeAgentsResponse) ProtoMessage()
- func (x *ProbeAgentsResponse) ProtoReflect() protoreflect.Message
- func (x *ProbeAgentsResponse) Reset()
- func (x *ProbeAgentsResponse) String() string
- type ProbeStatus
- func (ProbeStatus) Descriptor() protoreflect.EnumDescriptor
- func (x ProbeStatus) Enum() *ProbeStatus
- func (ProbeStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x ProbeStatus) Number() protoreflect.EnumNumber
- func (x ProbeStatus) String() string
- func (ProbeStatus) Type() protoreflect.EnumType
- type PromptAttachment
- func (*PromptAttachment) Descriptor() ([]byte, []int)deprecated
- func (x *PromptAttachment) GetData() []byte
- func (x *PromptAttachment) GetMimeType() string
- func (x *PromptAttachment) GetName() string
- func (*PromptAttachment) ProtoMessage()
- func (x *PromptAttachment) ProtoReflect() protoreflect.Message
- func (x *PromptAttachment) Reset()
- func (x *PromptAttachment) String() string
- type PromptDisposition
- func (PromptDisposition) Descriptor() protoreflect.EnumDescriptor
- func (x PromptDisposition) Enum() *PromptDisposition
- func (PromptDisposition) EnumDescriptor() ([]byte, []int)deprecated
- func (x PromptDisposition) Number() protoreflect.EnumNumber
- func (x PromptDisposition) String() string
- func (PromptDisposition) Type() protoreflect.EnumType
- type PromptRequest
- func (*PromptRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PromptRequest) GetAttachments() []*PromptAttachment
- func (x *PromptRequest) GetContent() []*ContentBlock
- func (x *PromptRequest) GetPromptId() string
- func (x *PromptRequest) GetResumeIfSuspended() bool
- func (x *PromptRequest) GetSentBy() *Principal
- func (x *PromptRequest) GetThread() *ThreadRef
- func (*PromptRequest) ProtoMessage()
- func (x *PromptRequest) ProtoReflect() protoreflect.Message
- func (x *PromptRequest) Reset()
- func (x *PromptRequest) String() string
- type PromptResponse
- func (*PromptResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PromptResponse) GetDisposition() PromptDisposition
- func (x *PromptResponse) GetMessageId() string
- func (x *PromptResponse) GetPromptId() string
- func (*PromptResponse) ProtoMessage()
- func (x *PromptResponse) ProtoReflect() protoreflect.Message
- func (x *PromptResponse) Reset()
- func (x *PromptResponse) String() string
- type ProxyModels
- func (*ProxyModels) Descriptor() ([]byte, []int)deprecated
- func (x *ProxyModels) GetAliases() map[string]string
- func (x *ProxyModels) GetDefaultModel() string
- func (x *ProxyModels) GetModels() []string
- func (*ProxyModels) ProtoMessage()
- func (x *ProxyModels) ProtoReflect() protoreflect.Message
- func (x *ProxyModels) Reset()
- func (x *ProxyModels) String() string
- type PullRequestAttributes
- func (*PullRequestAttributes) Descriptor() ([]byte, []int)deprecated
- func (x *PullRequestAttributes) GetBaseBranch() string
- func (x *PullRequestAttributes) GetBody() string
- func (x *PullRequestAttributes) GetCommitShas() []*CommitSha
- func (x *PullRequestAttributes) GetDifficulty() *PullRequestDifficulty
- func (x *PullRequestAttributes) GetDraft() bool
- func (x *PullRequestAttributes) GetExtra() *structpb.Struct
- func (x *PullRequestAttributes) GetHeadBranch() string
- func (x *PullRequestAttributes) GetLabels() []string
- func (x *PullRequestAttributes) GetRelatedUrls() []string
- func (x *PullRequestAttributes) GetRepository() string
- func (x *PullRequestAttributes) GetTitle() string
- func (*PullRequestAttributes) ProtoMessage()
- func (x *PullRequestAttributes) ProtoReflect() protoreflect.Message
- func (x *PullRequestAttributes) Reset()
- func (x *PullRequestAttributes) String() string
- type PullRequestDifficulty
- func (*PullRequestDifficulty) Descriptor() ([]byte, []int)deprecated
- func (x *PullRequestDifficulty) GetChangeType() string
- func (x *PullRequestDifficulty) GetLines() int32
- func (*PullRequestDifficulty) ProtoMessage()
- func (x *PullRequestDifficulty) ProtoReflect() protoreflect.Message
- func (x *PullRequestDifficulty) Reset()
- func (x *PullRequestDifficulty) String() string
- type PushCredentialRequest
- func (*PushCredentialRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PushCredentialRequest) GetCredential() *InstanceCredential
- func (*PushCredentialRequest) ProtoMessage()
- func (x *PushCredentialRequest) ProtoReflect() protoreflect.Message
- func (x *PushCredentialRequest) Reset()
- func (x *PushCredentialRequest) String() string
- type PushCredentialResponse
- func (*PushCredentialResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PushCredentialResponse) GetApplied() bool
- func (*PushCredentialResponse) ProtoMessage()
- func (x *PushCredentialResponse) ProtoReflect() protoreflect.Message
- func (x *PushCredentialResponse) Reset()
- func (x *PushCredentialResponse) String() string
- type PushInstanceDeltasRequest
- func (*PushInstanceDeltasRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PushInstanceDeltasRequest) GetDeltas() []*Delta
- func (*PushInstanceDeltasRequest) ProtoMessage()
- func (x *PushInstanceDeltasRequest) ProtoReflect() protoreflect.Message
- func (x *PushInstanceDeltasRequest) Reset()
- func (x *PushInstanceDeltasRequest) String() string
- type PushInstanceDeltasResponse
- type QueuedPrompt
- func (*QueuedPrompt) Descriptor() ([]byte, []int)deprecated
- func (x *QueuedPrompt) GetContent() []*ContentBlock
- func (x *QueuedPrompt) GetPromptId() string
- func (x *QueuedPrompt) GetQueuedAt() *timestamppb.Timestamp
- func (x *QueuedPrompt) GetSentBy() *Principal
- func (*QueuedPrompt) ProtoMessage()
- func (x *QueuedPrompt) ProtoReflect() protoreflect.Message
- func (x *QueuedPrompt) Reset()
- func (x *QueuedPrompt) String() string
- type QueuedPromptAction
- func (QueuedPromptAction) Descriptor() protoreflect.EnumDescriptor
- func (x QueuedPromptAction) Enum() *QueuedPromptAction
- func (QueuedPromptAction) EnumDescriptor() ([]byte, []int)deprecated
- func (x QueuedPromptAction) Number() protoreflect.EnumNumber
- func (x QueuedPromptAction) String() string
- func (QueuedPromptAction) Type() protoreflect.EnumType
- type ReadFileRequest
- func (*ReadFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReadFileRequest) GetInstanceId() string
- func (x *ReadFileRequest) GetLimit() int64
- func (x *ReadFileRequest) GetOffset() int64
- func (x *ReadFileRequest) GetPath() string
- func (*ReadFileRequest) ProtoMessage()
- func (x *ReadFileRequest) ProtoReflect() protoreflect.Message
- func (x *ReadFileRequest) Reset()
- func (x *ReadFileRequest) String() string
- type ReadFileResponse
- func (*ReadFileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReadFileResponse) GetBinary() bool
- func (x *ReadFileResponse) GetContent() []byte
- func (x *ReadFileResponse) GetEntry() *FileEntry
- func (x *ReadFileResponse) GetMimeType() string
- func (x *ReadFileResponse) GetSha256() string
- func (x *ReadFileResponse) GetTruncated() bool
- func (*ReadFileResponse) ProtoMessage()
- func (x *ReadFileResponse) ProtoReflect() protoreflect.Message
- func (x *ReadFileResponse) Reset()
- func (x *ReadFileResponse) String() string
- type RegisterGatewayRequest
- func (*RegisterGatewayRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterGatewayRequest) GetCapabilities() []string
- func (x *RegisterGatewayRequest) GetCredentialProviderRegistered() bool
- func (x *RegisterGatewayRequest) GetEgressAuthzRegistered() bool
- func (x *RegisterGatewayRequest) GetGatewayId() string
- func (x *RegisterGatewayRequest) GetSubstrateVersion() string
- func (x *RegisterGatewayRequest) GetVersion() string
- func (*RegisterGatewayRequest) ProtoMessage()
- func (x *RegisterGatewayRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterGatewayRequest) Reset()
- func (x *RegisterGatewayRequest) String() string
- type RegisterGatewayResponse
- func (*RegisterGatewayResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterGatewayResponse) GetClusterId() string
- func (x *RegisterGatewayResponse) GetHeartbeatIntervalSeconds() int32
- func (x *RegisterGatewayResponse) GetInstances() []*InstanceSummary
- func (*RegisterGatewayResponse) ProtoMessage()
- func (x *RegisterGatewayResponse) ProtoReflect() protoreflect.Message
- func (x *RegisterGatewayResponse) Reset()
- func (x *RegisterGatewayResponse) String() string
- type ReportInstanceStatusRequest
- func (*ReportInstanceStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReportInstanceStatusRequest) GetActorId() string
- func (x *ReportInstanceStatusRequest) GetError() *ErrorDetail
- func (x *ReportInstanceStatusRequest) GetGeneration() uint64
- func (x *ReportInstanceStatusRequest) GetIdle() *IdleState
- func (x *ReportInstanceStatusRequest) GetImageDigest() string
- func (x *ReportInstanceStatusRequest) GetInstanceId() string
- func (x *ReportInstanceStatusRequest) GetMessage() string
- func (x *ReportInstanceStatusRequest) GetObservedAt() *timestamppb.Timestamp
- func (x *ReportInstanceStatusRequest) GetStatus() InstanceStatus
- func (x *ReportInstanceStatusRequest) GetSuspendReason() SuspendReason
- func (x *ReportInstanceStatusRequest) GetTemplateRevision() int64
- func (*ReportInstanceStatusRequest) ProtoMessage()
- func (x *ReportInstanceStatusRequest) ProtoReflect() protoreflect.Message
- func (x *ReportInstanceStatusRequest) Reset()
- func (x *ReportInstanceStatusRequest) String() string
- type ReportInstanceStatusResponse
- func (*ReportInstanceStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReportInstanceStatusResponse) GetStatus() InstanceStatus
- func (*ReportInstanceStatusResponse) ProtoMessage()
- func (x *ReportInstanceStatusResponse) ProtoReflect() protoreflect.Message
- func (x *ReportInstanceStatusResponse) Reset()
- func (x *ReportInstanceStatusResponse) String() string
- type ReportPullRequestRequest
- func (*ReportPullRequestRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReportPullRequestRequest) GetActorId() string
- func (x *ReportPullRequestRequest) GetBaseBranch() string
- func (x *ReportPullRequestRequest) GetHeadBranch() string
- func (x *ReportPullRequestRequest) GetInstanceId() string
- func (x *ReportPullRequestRequest) GetNumber() int64
- func (x *ReportPullRequestRequest) GetObservedAt() *timestamppb.Timestamp
- func (x *ReportPullRequestRequest) GetProvider() string
- func (x *ReportPullRequestRequest) GetRepository() string
- func (x *ReportPullRequestRequest) GetUrl() string
- func (*ReportPullRequestRequest) ProtoMessage()
- func (x *ReportPullRequestRequest) ProtoReflect() protoreflect.Message
- func (x *ReportPullRequestRequest) Reset()
- func (x *ReportPullRequestRequest) String() string
- type ReportPullRequestResponse
- func (*ReportPullRequestResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReportPullRequestResponse) GetCreated() bool
- func (x *ReportPullRequestResponse) GetPullRequestId() string
- func (*ReportPullRequestResponse) ProtoMessage()
- func (x *ReportPullRequestResponse) ProtoReflect() protoreflect.Message
- func (x *ReportPullRequestResponse) Reset()
- func (x *ReportPullRequestResponse) String() string
- type ReportSnapshotRequest
- func (*ReportSnapshotRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReportSnapshotRequest) GetCompletedAt() *timestamppb.Timestamp
- func (x *ReportSnapshotRequest) GetError() *ErrorDetail
- func (x *ReportSnapshotRequest) GetInstanceId() string
- func (x *ReportSnapshotRequest) GetSizeBytes() int64
- func (x *ReportSnapshotRequest) GetSnapshot() *SnapshotRef
- func (x *ReportSnapshotRequest) GetSnapshotId() string
- func (x *ReportSnapshotRequest) GetState() SnapshotState
- func (*ReportSnapshotRequest) ProtoMessage()
- func (x *ReportSnapshotRequest) ProtoReflect() protoreflect.Message
- func (x *ReportSnapshotRequest) Reset()
- func (x *ReportSnapshotRequest) String() string
- type ReportSnapshotResponse
- type RepositoryChanges
- func (*RepositoryChanges) Descriptor() ([]byte, []int)deprecated
- func (x *RepositoryChanges) GetAdditions() int32
- func (x *RepositoryChanges) GetBaseRef() string
- func (x *RepositoryChanges) GetBaseSha() string
- func (x *RepositoryChanges) GetCheckout() *Checkout
- func (x *RepositoryChanges) GetDeletions() int32
- func (x *RepositoryChanges) GetFiles() []*FileChange
- func (*RepositoryChanges) ProtoMessage()
- func (x *RepositoryChanges) ProtoReflect() protoreflect.Message
- func (x *RepositoryChanges) Reset()
- func (x *RepositoryChanges) String() string
- type RepositorySpec
- func (*RepositorySpec) Descriptor() ([]byte, []int)deprecated
- func (x *RepositorySpec) GetBranch() string
- func (x *RepositorySpec) GetDescription() string
- func (x *RepositorySpec) GetDirectory() string
- func (x *RepositorySpec) GetUrl() string
- func (*RepositorySpec) ProtoMessage()
- func (x *RepositorySpec) ProtoReflect() protoreflect.Message
- func (x *RepositorySpec) Reset()
- func (x *RepositorySpec) String() string
- type ResizeTerminalRequest
- func (*ResizeTerminalRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResizeTerminalRequest) GetCols() int32
- func (x *ResizeTerminalRequest) GetInstanceId() string
- func (x *ResizeTerminalRequest) GetRows() int32
- func (x *ResizeTerminalRequest) GetTerminalId() string
- func (*ResizeTerminalRequest) ProtoMessage()
- func (x *ResizeTerminalRequest) ProtoReflect() protoreflect.Message
- func (x *ResizeTerminalRequest) Reset()
- func (x *ResizeTerminalRequest) String() string
- type ResourceLink
- func (*ResourceLink) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceLink) GetAnnotations() *Annotations
- func (x *ResourceLink) GetDescription() string
- func (x *ResourceLink) GetMeta() *structpb.Struct
- func (x *ResourceLink) GetMimeType() string
- func (x *ResourceLink) GetName() string
- func (x *ResourceLink) GetSize() int64
- func (x *ResourceLink) GetTitle() string
- func (x *ResourceLink) GetUri() string
- func (*ResourceLink) ProtoMessage()
- func (x *ResourceLink) ProtoReflect() protoreflect.Message
- func (x *ResourceLink) Reset()
- func (x *ResourceLink) String() string
- type RespondInteractionRequest
- func (*RespondInteractionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RespondInteractionRequest) GetAnsweredBy() *Principal
- func (x *RespondInteractionRequest) GetInstanceId() string
- func (x *RespondInteractionRequest) GetInteractionId() string
- func (x *RespondInteractionRequest) GetResponse() *InteractionResponse
- func (x *RespondInteractionRequest) GetResumeIfSuspended() bool
- func (x *RespondInteractionRequest) GetSessionId() string
- func (*RespondInteractionRequest) ProtoMessage()
- func (x *RespondInteractionRequest) ProtoReflect() protoreflect.Message
- func (x *RespondInteractionRequest) Reset()
- func (x *RespondInteractionRequest) String() string
- type RespondInteractionResponse
- func (*RespondInteractionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RespondInteractionResponse) GetInteraction() *Interaction
- func (*RespondInteractionResponse) ProtoMessage()
- func (x *RespondInteractionResponse) ProtoReflect() protoreflect.Message
- func (x *RespondInteractionResponse) Reset()
- func (x *RespondInteractionResponse) String() string
- type ResumeThreadRequest
- func (*ResumeThreadRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResumeThreadRequest) GetReplay() bool
- func (x *ResumeThreadRequest) GetRequestedBy() *Principal
- func (x *ResumeThreadRequest) GetResumeIfSuspended() bool
- func (x *ResumeThreadRequest) GetThread() *ThreadRef
- func (*ResumeThreadRequest) ProtoMessage()
- func (x *ResumeThreadRequest) ProtoReflect() protoreflect.Message
- func (x *ResumeThreadRequest) Reset()
- func (x *ResumeThreadRequest) String() string
- type Review
- func (*Review) Descriptor() ([]byte, []int)deprecated
- func (x *Review) GetConfidence() float64
- func (x *Review) GetEscalation() string
- func (x *Review) GetModel() string
- func (x *Review) GetRisk() string
- func (x *Review) GetVerdict() string
- func (*Review) ProtoMessage()
- func (x *Review) ProtoReflect() protoreflect.Message
- func (x *Review) Reset()
- func (x *Review) String() string
- type SandboxCredentialsClient
- type SandboxCredentialsServer
- type Session
- func (*Session) Descriptor() ([]byte, []int)deprecated
- func (x *Session) GetAgent() AgentType
- func (x *Session) GetAvailableCommands() []*AvailableCommand
- func (x *Session) GetConfigOptions() []*ConfigOption
- func (x *Session) GetCreatedAt() *timestamppb.Timestamp
- func (x *Session) GetCreatedBy() *Principal
- func (x *Session) GetCwd() string
- func (x *Session) GetEntityCount() uint64
- func (x *Session) GetForeground() *ForegroundState
- func (x *Session) GetImported() bool
- func (x *Session) GetKind() SessionKind
- func (x *Session) GetLastActivityAt() *timestamppb.Timestamp
- func (x *Session) GetMeta() *structpb.Struct
- func (x *Session) GetParentSessionId() string
- func (x *Session) GetParentToolCallId() string
- func (x *Session) GetQueuedPrompts() []*QueuedPrompt
- func (x *Session) GetRevision() uint64
- func (x *Session) GetSessionId() string
- func (x *Session) GetStatus() ThreadStatus
- func (x *Session) GetThreadId() string
- func (x *Session) GetTitle() string
- func (x *Session) GetUsage() *Usage
- func (x *Session) GetWorktreeRepos() []string
- func (*Session) ProtoMessage()
- func (x *Session) ProtoReflect() protoreflect.Message
- func (x *Session) Reset()
- func (x *Session) String() string
- type SessionKind
- func (SessionKind) Descriptor() protoreflect.EnumDescriptor
- func (x SessionKind) Enum() *SessionKind
- func (SessionKind) EnumDescriptor() ([]byte, []int)deprecated
- func (x SessionKind) Number() protoreflect.EnumNumber
- func (x SessionKind) String() string
- func (SessionKind) Type() protoreflect.EnumType
- type SessionMessageEntity
- func (*SessionMessageEntity) Descriptor() ([]byte, []int)deprecated
- func (x *SessionMessageEntity) GetContent() []*ContentBlock
- func (x *SessionMessageEntity) GetFromSessionId() string
- func (x *SessionMessageEntity) GetMessageId() string
- func (x *SessionMessageEntity) GetMeta() *structpb.Struct
- func (x *SessionMessageEntity) GetToSessionId() string
- func (*SessionMessageEntity) ProtoMessage()
- func (x *SessionMessageEntity) ProtoReflect() protoreflect.Message
- func (x *SessionMessageEntity) Reset()
- func (x *SessionMessageEntity) String() string
- type SetAgentBillingRequest
- func (*SetAgentBillingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetAgentBillingRequest) GetAgent() *AgentLaunch
- func (x *SetAgentBillingRequest) GetInstanceId() string
- func (x *SetAgentBillingRequest) GetRequestedBy() *Principal
- func (*SetAgentBillingRequest) ProtoMessage()
- func (x *SetAgentBillingRequest) ProtoReflect() protoreflect.Message
- func (x *SetAgentBillingRequest) Reset()
- func (x *SetAgentBillingRequest) String() string
- type SetAgentBillingResponse
- func (*SetAgentBillingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SetAgentBillingResponse) GetConnection() *AgentConnection
- func (x *SetAgentBillingResponse) GetThreadIds() []string
- func (*SetAgentBillingResponse) ProtoMessage()
- func (x *SetAgentBillingResponse) ProtoReflect() protoreflect.Message
- func (x *SetAgentBillingResponse) Reset()
- func (x *SetAgentBillingResponse) String() string
- type SetInstanceLeasesRequest
- func (*SetInstanceLeasesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetInstanceLeasesRequest) GetGeneration() uint64
- func (x *SetInstanceLeasesRequest) GetInstanceId() string
- func (x *SetInstanceLeasesRequest) GetLeases() []*Lease
- func (*SetInstanceLeasesRequest) ProtoMessage()
- func (x *SetInstanceLeasesRequest) ProtoReflect() protoreflect.Message
- func (x *SetInstanceLeasesRequest) Reset()
- func (x *SetInstanceLeasesRequest) String() string
- type SetInstanceLeasesResponse
- func (*SetInstanceLeasesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SetInstanceLeasesResponse) GetIdle() *IdleState
- func (x *SetInstanceLeasesResponse) GetLeases() []*Lease
- func (*SetInstanceLeasesResponse) ProtoMessage()
- func (x *SetInstanceLeasesResponse) ProtoReflect() protoreflect.Message
- func (x *SetInstanceLeasesResponse) Reset()
- func (x *SetInstanceLeasesResponse) String() string
- type SetThreadConfigOptionRequest
- func (*SetThreadConfigOptionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetThreadConfigOptionRequest) GetOption() *ConfigOptionSetting
- func (x *SetThreadConfigOptionRequest) GetRequestedBy() *Principal
- func (x *SetThreadConfigOptionRequest) GetResumeIfSuspended() bool
- func (x *SetThreadConfigOptionRequest) GetThread() *ThreadRef
- func (*SetThreadConfigOptionRequest) ProtoMessage()
- func (x *SetThreadConfigOptionRequest) ProtoReflect() protoreflect.Message
- func (x *SetThreadConfigOptionRequest) Reset()
- func (x *SetThreadConfigOptionRequest) String() string
- type SetThreadConfigOptionResponse
- func (*SetThreadConfigOptionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SetThreadConfigOptionResponse) GetConfigOptions() []*ConfigOption
- func (*SetThreadConfigOptionResponse) ProtoMessage()
- func (x *SetThreadConfigOptionResponse) ProtoReflect() protoreflect.Message
- func (x *SetThreadConfigOptionResponse) Reset()
- func (x *SetThreadConfigOptionResponse) String() string
- type SnapshotFidelity
- func (SnapshotFidelity) Descriptor() protoreflect.EnumDescriptor
- func (x SnapshotFidelity) Enum() *SnapshotFidelity
- func (SnapshotFidelity) EnumDescriptor() ([]byte, []int)deprecated
- func (x SnapshotFidelity) Number() protoreflect.EnumNumber
- func (x SnapshotFidelity) String() string
- func (SnapshotFidelity) Type() protoreflect.EnumType
- type SnapshotInstanceRequest
- func (*SnapshotInstanceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SnapshotInstanceRequest) GetFidelity() SnapshotFidelity
- func (x *SnapshotInstanceRequest) GetInstanceId() string
- func (x *SnapshotInstanceRequest) GetName() string
- func (x *SnapshotInstanceRequest) GetRequestedBy() *Principal
- func (x *SnapshotInstanceRequest) GetShared() bool
- func (x *SnapshotInstanceRequest) GetSnapshotId() string
- func (*SnapshotInstanceRequest) ProtoMessage()
- func (x *SnapshotInstanceRequest) ProtoReflect() protoreflect.Message
- func (x *SnapshotInstanceRequest) Reset()
- func (x *SnapshotInstanceRequest) String() string
- type SnapshotInstanceResponse
- func (*SnapshotInstanceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SnapshotInstanceResponse) GetAccepted() bool
- func (x *SnapshotInstanceResponse) GetSnapshotId() string
- func (*SnapshotInstanceResponse) ProtoMessage()
- func (x *SnapshotInstanceResponse) ProtoReflect() protoreflect.Message
- func (x *SnapshotInstanceResponse) Reset()
- func (x *SnapshotInstanceResponse) String() string
- type SnapshotRef
- func (*SnapshotRef) Descriptor() ([]byte, []int)deprecated
- func (x *SnapshotRef) GetFidelity() SnapshotFidelity
- func (x *SnapshotRef) GetSnapshotId() string
- func (x *SnapshotRef) GetTag() string
- func (x *SnapshotRef) GetTemplateRevision() int64
- func (*SnapshotRef) ProtoMessage()
- func (x *SnapshotRef) ProtoReflect() protoreflect.Message
- func (x *SnapshotRef) Reset()
- func (x *SnapshotRef) String() string
- type SnapshotState
- func (SnapshotState) Descriptor() protoreflect.EnumDescriptor
- func (x SnapshotState) Enum() *SnapshotState
- func (SnapshotState) EnumDescriptor() ([]byte, []int)deprecated
- func (x SnapshotState) Number() protoreflect.EnumNumber
- func (x SnapshotState) String() string
- func (SnapshotState) Type() protoreflect.EnumType
- type StartBrowserRequest
- func (*StartBrowserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StartBrowserRequest) GetHeight() int32
- func (x *StartBrowserRequest) GetInstanceId() string
- func (x *StartBrowserRequest) GetUrl() string
- func (x *StartBrowserRequest) GetWidth() int32
- func (*StartBrowserRequest) ProtoMessage()
- func (x *StartBrowserRequest) ProtoReflect() protoreflect.Message
- func (x *StartBrowserRequest) Reset()
- func (x *StartBrowserRequest) String() string
- type StartFromSnapshotRequest
- func (*StartFromSnapshotRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StartFromSnapshotRequest) GetInstance() *CreateInstanceRequest
- func (x *StartFromSnapshotRequest) GetSnapshot() *SnapshotRef
- func (*StartFromSnapshotRequest) ProtoMessage()
- func (x *StartFromSnapshotRequest) ProtoReflect() protoreflect.Message
- func (x *StartFromSnapshotRequest) Reset()
- func (x *StartFromSnapshotRequest) String() string
- type StatFileRequest
- func (*StatFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StatFileRequest) GetInstanceId() string
- func (x *StatFileRequest) GetPath() string
- func (*StatFileRequest) ProtoMessage()
- func (x *StatFileRequest) ProtoReflect() protoreflect.Message
- func (x *StatFileRequest) Reset()
- func (x *StatFileRequest) String() string
- type StatFileResponse
- type StopBrowserRequest
- func (*StopBrowserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StopBrowserRequest) GetInstanceId() string
- func (*StopBrowserRequest) ProtoMessage()
- func (x *StopBrowserRequest) ProtoReflect() protoreflect.Message
- func (x *StopBrowserRequest) Reset()
- func (x *StopBrowserRequest) String() string
- type StreamKind
- type SubscribeEventsRequest
- func (*SubscribeEventsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribeEventsRequest) GetFromOffset() uint64
- func (*SubscribeEventsRequest) ProtoMessage()
- func (x *SubscribeEventsRequest) ProtoReflect() protoreflect.Message
- func (x *SubscribeEventsRequest) Reset()
- func (x *SubscribeEventsRequest) String() string
- type SuspendReason
- func (SuspendReason) Descriptor() protoreflect.EnumDescriptor
- func (x SuspendReason) Enum() *SuspendReason
- func (SuspendReason) EnumDescriptor() ([]byte, []int)deprecated
- func (x SuspendReason) Number() protoreflect.EnumNumber
- func (x SuspendReason) String() string
- func (SuspendReason) Type() protoreflect.EnumType
- type SuspendRequested
- func (*SuspendRequested) Descriptor() ([]byte, []int)deprecated
- func (x *SuspendRequested) GetIdleSince() *timestamppb.Timestamp
- func (x *SuspendRequested) GetReason() SuspendReason
- func (x *SuspendRequested) GetSettledOffset() uint64
- func (*SuspendRequested) ProtoMessage()
- func (x *SuspendRequested) ProtoReflect() protoreflect.Message
- func (x *SuspendRequested) Reset()
- func (x *SuspendRequested) String() string
- type TerminalAttach
- func (*TerminalAttach) Descriptor() ([]byte, []int)deprecated
- func (x *TerminalAttach) GetFromOffset() uint64
- func (x *TerminalAttach) GetTerminalId() string
- func (*TerminalAttach) ProtoMessage()
- func (x *TerminalAttach) ProtoReflect() protoreflect.Message
- func (x *TerminalAttach) Reset()
- func (x *TerminalAttach) String() string
- type TerminalData
- func (*TerminalData) Descriptor() ([]byte, []int)deprecated
- func (x *TerminalData) GetData() []byte
- func (x *TerminalData) GetOffset() uint64
- func (*TerminalData) ProtoMessage()
- func (x *TerminalData) ProtoReflect() protoreflect.Message
- func (x *TerminalData) Reset()
- func (x *TerminalData) String() string
- type TerminalEntity
- func (*TerminalEntity) Descriptor() ([]byte, []int)deprecated
- func (x *TerminalEntity) GetArgs() []string
- func (x *TerminalEntity) GetCommand() string
- func (x *TerminalEntity) GetCwd() string
- func (x *TerminalEntity) GetExitStatus() *TerminalExitStatus
- func (x *TerminalEntity) GetMeta() *structpb.Struct
- func (x *TerminalEntity) GetOutput() string
- func (x *TerminalEntity) GetTerminalId() string
- func (x *TerminalEntity) GetTruncated() bool
- func (*TerminalEntity) ProtoMessage()
- func (x *TerminalEntity) ProtoReflect() protoreflect.Message
- func (x *TerminalEntity) Reset()
- func (x *TerminalEntity) String() string
- type TerminalExit
- func (*TerminalExit) Descriptor() ([]byte, []int)deprecated
- func (x *TerminalExit) GetExitCode() int32
- func (x *TerminalExit) GetSignal() string
- func (*TerminalExit) ProtoMessage()
- func (x *TerminalExit) ProtoReflect() protoreflect.Message
- func (x *TerminalExit) Reset()
- func (x *TerminalExit) String() string
- type TerminalExitStatus
- func (*TerminalExitStatus) Descriptor() ([]byte, []int)deprecated
- func (x *TerminalExitStatus) GetExitCode() int32
- func (x *TerminalExitStatus) GetSignal() string
- func (*TerminalExitStatus) ProtoMessage()
- func (x *TerminalExitStatus) ProtoReflect() protoreflect.Message
- func (x *TerminalExitStatus) Reset()
- func (x *TerminalExitStatus) String() string
- type TerminalInfo
- func (*TerminalInfo) Descriptor() ([]byte, []int)deprecated
- func (x *TerminalInfo) GetCols() int32
- func (x *TerminalInfo) GetCommand() string
- func (x *TerminalInfo) GetCreatedAt() *timestamppb.Timestamp
- func (x *TerminalInfo) GetCreatedBy() *Principal
- func (x *TerminalInfo) GetCwd() string
- func (x *TerminalInfo) GetExitCode() int32
- func (x *TerminalInfo) GetExited() bool
- func (x *TerminalInfo) GetForegroundCommand() string
- func (x *TerminalInfo) GetOutputOffset() uint64
- func (x *TerminalInfo) GetRows() int32
- func (x *TerminalInfo) GetTerminalId() string
- func (*TerminalInfo) ProtoMessage()
- func (x *TerminalInfo) ProtoReflect() protoreflect.Message
- func (x *TerminalInfo) Reset()
- func (x *TerminalInfo) String() string
- type TerminalInput
- func (*TerminalInput) Descriptor() ([]byte, []int)deprecated
- func (x *TerminalInput) GetAttach() *TerminalAttach
- func (x *TerminalInput) GetData() []byte
- func (x *TerminalInput) GetInput() isTerminalInput_Input
- func (x *TerminalInput) GetResize() *TerminalSize
- func (*TerminalInput) ProtoMessage()
- func (x *TerminalInput) ProtoReflect() protoreflect.Message
- func (x *TerminalInput) Reset()
- func (x *TerminalInput) String() string
- type TerminalInput_Attach
- type TerminalInput_Data
- type TerminalInput_Resize
- type TerminalOutput
- func (*TerminalOutput) Descriptor() ([]byte, []int)deprecated
- func (x *TerminalOutput) GetData() *TerminalData
- func (x *TerminalOutput) GetExit() *TerminalExit
- func (x *TerminalOutput) GetInfo() *TerminalInfo
- func (x *TerminalOutput) GetOutput() isTerminalOutput_Output
- func (*TerminalOutput) ProtoMessage()
- func (x *TerminalOutput) ProtoReflect() protoreflect.Message
- func (x *TerminalOutput) Reset()
- func (x *TerminalOutput) String() string
- type TerminalOutput_Data
- type TerminalOutput_Exit
- type TerminalOutput_Info
- type TerminalRef
- func (*TerminalRef) Descriptor() ([]byte, []int)deprecated
- func (x *TerminalRef) GetMeta() *structpb.Struct
- func (x *TerminalRef) GetTerminalId() string
- func (*TerminalRef) ProtoMessage()
- func (x *TerminalRef) ProtoReflect() protoreflect.Message
- func (x *TerminalRef) Reset()
- func (x *TerminalRef) String() string
- type TerminalSize
- func (*TerminalSize) Descriptor() ([]byte, []int)deprecated
- func (x *TerminalSize) GetCols() int32
- func (x *TerminalSize) GetRows() int32
- func (*TerminalSize) ProtoMessage()
- func (x *TerminalSize) ProtoReflect() protoreflect.Message
- func (x *TerminalSize) Reset()
- func (x *TerminalSize) String() string
- type TextContent
- func (*TextContent) Descriptor() ([]byte, []int)deprecated
- func (x *TextContent) GetAnnotations() *Annotations
- func (x *TextContent) GetMeta() *structpb.Struct
- func (x *TextContent) GetText() string
- func (*TextContent) ProtoMessage()
- func (x *TextContent) ProtoReflect() protoreflect.Message
- func (x *TextContent) Reset()
- func (x *TextContent) String() string
- type TextResourceContents
- func (*TextResourceContents) Descriptor() ([]byte, []int)deprecated
- func (x *TextResourceContents) GetMeta() *structpb.Struct
- func (x *TextResourceContents) GetMimeType() string
- func (x *TextResourceContents) GetText() string
- func (x *TextResourceContents) GetUri() string
- func (*TextResourceContents) ProtoMessage()
- func (x *TextResourceContents) ProtoReflect() protoreflect.Message
- func (x *TextResourceContents) Reset()
- func (x *TextResourceContents) String() string
- type ThreadActionRequest
- func (*ThreadActionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ThreadActionRequest) GetRequestedBy() *Principal
- func (x *ThreadActionRequest) GetResumeIfSuspended() bool
- func (x *ThreadActionRequest) GetThread() *ThreadRef
- func (*ThreadActionRequest) ProtoMessage()
- func (x *ThreadActionRequest) ProtoReflect() protoreflect.Message
- func (x *ThreadActionRequest) Reset()
- func (x *ThreadActionRequest) String() string
- type ThreadRef
- func (*ThreadRef) Descriptor() ([]byte, []int)deprecated
- func (x *ThreadRef) GetInstanceId() string
- func (x *ThreadRef) GetSessionId() string
- func (x *ThreadRef) GetThreadId() string
- func (*ThreadRef) ProtoMessage()
- func (x *ThreadRef) ProtoReflect() protoreflect.Message
- func (x *ThreadRef) Reset()
- func (x *ThreadRef) String() string
- type ThreadResponse
- type ThreadStatus
- func (ThreadStatus) Descriptor() protoreflect.EnumDescriptor
- func (x ThreadStatus) Enum() *ThreadStatus
- func (ThreadStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x ThreadStatus) Number() protoreflect.EnumNumber
- func (x ThreadStatus) String() string
- func (ThreadStatus) Type() protoreflect.EnumType
- type ToolCall
- func (*ToolCall) Descriptor() ([]byte, []int)deprecated
- func (x *ToolCall) GetContent() []*ToolCallContent
- func (x *ToolCall) GetKind() string
- func (x *ToolCall) GetLocations() []*ToolCallLocation
- func (x *ToolCall) GetMeta() *structpb.Struct
- func (x *ToolCall) GetRawInput() *structpb.Value
- func (x *ToolCall) GetRawOutput() *structpb.Value
- func (x *ToolCall) GetStatus() string
- func (x *ToolCall) GetTitle() string
- func (x *ToolCall) GetToolCallId() string
- func (*ToolCall) ProtoMessage()
- func (x *ToolCall) ProtoReflect() protoreflect.Message
- func (x *ToolCall) Reset()
- func (x *ToolCall) String() string
- type ToolCallContent
- func (*ToolCallContent) Descriptor() ([]byte, []int)deprecated
- func (x *ToolCallContent) GetBlock() *ContentBlock
- func (x *ToolCallContent) GetContent() isToolCallContent_Content
- func (x *ToolCallContent) GetDiff() *Diff
- func (x *ToolCallContent) GetTerminal() *TerminalRef
- func (x *ToolCallContent) GetUnknown() *UnknownVariant
- func (*ToolCallContent) ProtoMessage()
- func (x *ToolCallContent) ProtoReflect() protoreflect.Message
- func (x *ToolCallContent) Reset()
- func (x *ToolCallContent) String() string
- type ToolCallContent_Block
- type ToolCallContent_Diff
- type ToolCallContent_Terminal
- type ToolCallContent_Unknown
- type ToolCallLocation
- func (*ToolCallLocation) Descriptor() ([]byte, []int)deprecated
- func (x *ToolCallLocation) GetLine() int64
- func (x *ToolCallLocation) GetMeta() *structpb.Struct
- func (x *ToolCallLocation) GetPath() string
- func (*ToolCallLocation) ProtoMessage()
- func (x *ToolCallLocation) ProtoReflect() protoreflect.Message
- func (x *ToolCallLocation) Reset()
- func (x *ToolCallLocation) String() string
- type TunnelAgentDescriptor
- func (*TunnelAgentDescriptor) Descriptor() ([]byte, []int)deprecated
- func (x *TunnelAgentDescriptor) GetServices() []*TunnelService
- func (*TunnelAgentDescriptor) ProtoMessage()
- func (x *TunnelAgentDescriptor) ProtoReflect() protoreflect.Message
- func (x *TunnelAgentDescriptor) Reset()
- func (x *TunnelAgentDescriptor) String() string
- type TunnelClient
- type TunnelCloseSend
- type TunnelConnectRequest
- func (*TunnelConnectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TunnelConnectRequest) GetDescriptor_() *TunnelDescriptor
- func (x *TunnelConnectRequest) GetError() *TunnelError
- func (x *TunnelConnectRequest) GetHeader() *TunnelHeader
- func (x *TunnelConnectRequest) GetMessage() *TunnelMessage
- func (x *TunnelConnectRequest) GetMsg() isTunnelConnectRequest_Msg
- func (x *TunnelConnectRequest) GetTrailer() *TunnelTrailer
- func (*TunnelConnectRequest) ProtoMessage()
- func (x *TunnelConnectRequest) ProtoReflect() protoreflect.Message
- func (x *TunnelConnectRequest) Reset()
- func (x *TunnelConnectRequest) String() string
- type TunnelConnectRequest_Descriptor_
- type TunnelConnectRequest_Error
- type TunnelConnectRequest_Header
- type TunnelConnectRequest_Message
- type TunnelConnectRequest_Trailer
- type TunnelConnectResponse
- func (*TunnelConnectResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TunnelConnectResponse) GetCloseSend() *TunnelCloseSend
- func (x *TunnelConnectResponse) GetMessage() *TunnelMessage
- func (x *TunnelConnectResponse) GetMsg() isTunnelConnectResponse_Msg
- func (x *TunnelConnectResponse) GetRequestInfo() *TunnelRequestInfo
- func (*TunnelConnectResponse) ProtoMessage()
- func (x *TunnelConnectResponse) ProtoReflect() protoreflect.Message
- func (x *TunnelConnectResponse) Reset()
- func (x *TunnelConnectResponse) String() string
- type TunnelConnectResponse_CloseSend
- type TunnelConnectResponse_Message
- type TunnelConnectResponse_RequestInfo
- type TunnelDescriptor
- func (*TunnelDescriptor) Descriptor() ([]byte, []int)deprecated
- func (x *TunnelDescriptor) GetAgentDescriptor() *TunnelAgentDescriptor
- func (*TunnelDescriptor) ProtoMessage()
- func (x *TunnelDescriptor) ProtoReflect() protoreflect.Message
- func (x *TunnelDescriptor) Reset()
- func (x *TunnelDescriptor) String() string
- type TunnelError
- type TunnelHeader
- type TunnelMessage
- type TunnelMethod
- type TunnelRequestInfo
- func (*TunnelRequestInfo) Descriptor() ([]byte, []int)deprecated
- func (x *TunnelRequestInfo) GetMeta() map[string]*MetadataValues
- func (x *TunnelRequestInfo) GetMethodName() string
- func (*TunnelRequestInfo) ProtoMessage()
- func (x *TunnelRequestInfo) ProtoReflect() protoreflect.Message
- func (x *TunnelRequestInfo) Reset()
- func (x *TunnelRequestInfo) String() string
- type TunnelServer
- type TunnelService
- func (*TunnelService) Descriptor() ([]byte, []int)deprecated
- func (x *TunnelService) GetMethods() []*TunnelMethod
- func (x *TunnelService) GetName() string
- func (*TunnelService) ProtoMessage()
- func (x *TunnelService) ProtoReflect() protoreflect.Message
- func (x *TunnelService) Reset()
- func (x *TunnelService) String() string
- type TunnelStatus
- func (*TunnelStatus) Descriptor() ([]byte, []int)deprecated
- func (x *TunnelStatus) GetCode() int32
- func (x *TunnelStatus) GetDetails() []*anypb.Any
- func (x *TunnelStatus) GetMessage() string
- func (*TunnelStatus) ProtoMessage()
- func (x *TunnelStatus) ProtoReflect() protoreflect.Message
- func (x *TunnelStatus) Reset()
- func (x *TunnelStatus) String() string
- type TunnelTrailer
- type Tunnel_ConnectClient
- type Tunnel_ConnectServer
- type UnimplementedControlServer
- func (UnimplementedControlServer) AddRepository(context.Context, *AddRepositoryRequest) (*AddRepositoryResponse, error)
- func (UnimplementedControlServer) CancelInstance(context.Context, *InstanceActionRequest) (*InstanceActionResponse, error)
- func (UnimplementedControlServer) CancelPrompt(context.Context, *CancelPromptRequest) (*CancelPromptResponse, error)
- func (UnimplementedControlServer) CloseThread(context.Context, *ThreadActionRequest) (*ThreadResponse, error)
- func (UnimplementedControlServer) CreateInstance(context.Context, *CreateInstanceRequest) (*CreateInstanceResponse, error)
- func (UnimplementedControlServer) CreateThread(context.Context, *CreateThreadRequest) (*ThreadResponse, error)
- func (UnimplementedControlServer) DeleteSnapshot(context.Context, *DeleteSnapshotRequest) (*DeleteSnapshotResponse, error)
- func (UnimplementedControlServer) DeleteThread(context.Context, *ThreadActionRequest) (*DeleteThreadResponse, error)
- func (UnimplementedControlServer) ForkThread(context.Context, *ForkThreadRequest) (*ThreadResponse, error)
- func (UnimplementedControlServer) GetChanges(context.Context, *GetChangesRequest) (*GetChangesResponse, error)
- func (UnimplementedControlServer) GetSessions(context.Context, *GetSessionsRequest) (*GetSessionsResponse, error)
- func (UnimplementedControlServer) GetTimeline(context.Context, *GetTimelineRequest) (*GetTimelineResponse, error)
- func (UnimplementedControlServer) ImportThread(context.Context, *ImportThreadRequest) (*ThreadResponse, error)
- func (UnimplementedControlServer) InvalidateAllowlist(context.Context, *InvalidateAllowlistRequest) (*InvalidateAllowlistResponse, error)
- func (UnimplementedControlServer) ListCommands(context.Context, *ListCommandsRequest) (*ListCommandsResponse, error)
- func (UnimplementedControlServer) ListFiles(context.Context, *ListFilesRequest) (*ListFilesResponse, error)
- func (UnimplementedControlServer) ListRepositories(context.Context, *ListRepositoriesRequest) (*ListRepositoriesResponse, error)
- func (UnimplementedControlServer) ListThreads(context.Context, *ListThreadsRequest) (*ListThreadsResponse, error)
- func (UnimplementedControlServer) OpenStream(context.Context, *OpenStreamRequest) (*OpenStreamResponse, error)
- func (UnimplementedControlServer) PreparePullRequest(context.Context, *PreparePullRequestRequest) (*PreparePullRequestResponse, error)
- func (UnimplementedControlServer) Prompt(context.Context, *PromptRequest) (*PromptResponse, error)
- func (UnimplementedControlServer) ReadFile(context.Context, *ReadFileRequest) (*ReadFileResponse, error)
- func (UnimplementedControlServer) RespondInteraction(context.Context, *RespondInteractionRequest) (*RespondInteractionResponse, error)
- func (UnimplementedControlServer) ResumeInstance(context.Context, *InstanceActionRequest) (*InstanceActionResponse, error)
- func (UnimplementedControlServer) ResumeThread(context.Context, *ResumeThreadRequest) (*ThreadResponse, error)
- func (UnimplementedControlServer) SetAgentBilling(context.Context, *SetAgentBillingRequest) (*SetAgentBillingResponse, error)
- func (UnimplementedControlServer) SetInstanceLeases(context.Context, *SetInstanceLeasesRequest) (*SetInstanceLeasesResponse, error)
- func (UnimplementedControlServer) SetThreadConfigOption(context.Context, *SetThreadConfigOptionRequest) (*SetThreadConfigOptionResponse, error)
- func (UnimplementedControlServer) SnapshotInstance(context.Context, *SnapshotInstanceRequest) (*SnapshotInstanceResponse, error)
- func (UnimplementedControlServer) StartFromSnapshot(context.Context, *StartFromSnapshotRequest) (*CreateInstanceResponse, error)
- func (UnimplementedControlServer) SuspendInstance(context.Context, *InstanceActionRequest) (*InstanceActionResponse, error)
- func (UnimplementedControlServer) UpdateQueuedPrompt(context.Context, *UpdateQueuedPromptRequest) (*UpdateQueuedPromptResponse, error)
- func (UnimplementedControlServer) WriteFile(context.Context, *WriteFileRequest) (*WriteFileResponse, error)
- type UnimplementedDaemonServer
- func (UnimplementedDaemonServer) AckEvents(context.Context, *AckEventsRequest) (*AckEventsResponse, error)
- func (UnimplementedDaemonServer) AddRepository(context.Context, *AddRepositoryRequest) (*AddRepositoryResponse, error)
- func (UnimplementedDaemonServer) AttachTerminal(grpc.BidiStreamingServer[TerminalInput, TerminalOutput]) error
- func (UnimplementedDaemonServer) CancelPrompt(context.Context, *CancelPromptRequest) (*CancelPromptResponse, error)
- func (UnimplementedDaemonServer) CloseTerminal(context.Context, *CloseTerminalRequest) (*TerminalInfo, error)
- func (UnimplementedDaemonServer) CloseThread(context.Context, *ThreadActionRequest) (*ThreadResponse, error)
- func (UnimplementedDaemonServer) CreateTerminal(context.Context, *CreateTerminalRequest) (*TerminalInfo, error)
- func (UnimplementedDaemonServer) CreateThread(context.Context, *CreateThreadRequest) (*ThreadResponse, error)
- func (UnimplementedDaemonServer) DeleteThread(context.Context, *ThreadActionRequest) (*DeleteThreadResponse, error)
- func (UnimplementedDaemonServer) ForkThread(context.Context, *ForkThreadRequest) (*ThreadResponse, error)
- func (UnimplementedDaemonServer) GetBranchDiffStat(context.Context, *BranchDiffStatRequest) (*BranchDiffStatResponse, error)
- func (UnimplementedDaemonServer) GetBrowser(context.Context, *GetBrowserRequest) (*BrowserInfo, error)
- func (UnimplementedDaemonServer) GetChanges(context.Context, *GetChangesRequest) (*GetChangesResponse, error)
- func (UnimplementedDaemonServer) GetIdleState(context.Context, *GetIdleStateRequest) (*IdleState, error)
- func (UnimplementedDaemonServer) GetInfo(context.Context, *GetInfoRequest) (*DaemonInfo, error)
- func (UnimplementedDaemonServer) GetSessions(context.Context, *GetSessionsRequest) (*GetSessionsResponse, error)
- func (UnimplementedDaemonServer) GetTimeline(context.Context, *GetTimelineRequest) (*GetTimelineResponse, error)
- func (UnimplementedDaemonServer) Health(context.Context, *HealthRequest) (*HealthResponse, error)
- func (UnimplementedDaemonServer) ImportThread(context.Context, *ImportThreadRequest) (*ThreadResponse, error)
- func (UnimplementedDaemonServer) Initialize(context.Context, *InitializeRequest) (*InitializeResponse, error)
- func (UnimplementedDaemonServer) ListCommands(context.Context, *ListCommandsRequest) (*ListCommandsResponse, error)
- func (UnimplementedDaemonServer) ListFiles(context.Context, *ListFilesRequest) (*ListFilesResponse, error)
- func (UnimplementedDaemonServer) ListRepositories(context.Context, *ListRepositoriesRequest) (*ListRepositoriesResponse, error)
- func (UnimplementedDaemonServer) ListTerminals(context.Context, *ListTerminalsRequest) (*ListTerminalsResponse, error)
- func (UnimplementedDaemonServer) ListThreads(context.Context, *ListThreadsRequest) (*ListThreadsResponse, error)
- func (UnimplementedDaemonServer) PreparePullRequest(context.Context, *PreparePullRequestRequest) (*PreparePullRequestResponse, error)
- func (UnimplementedDaemonServer) PrepareSuspend(context.Context, *PrepareSuspendRequest) (*PrepareSuspendResponse, error)
- func (UnimplementedDaemonServer) ProbeAgents(context.Context, *ProbeAgentsRequest) (*ProbeAgentsResponse, error)
- func (UnimplementedDaemonServer) Prompt(context.Context, *PromptRequest) (*PromptResponse, error)
- func (UnimplementedDaemonServer) PushCredential(context.Context, *PushCredentialRequest) (*PushCredentialResponse, error)
- func (UnimplementedDaemonServer) ReadFile(context.Context, *ReadFileRequest) (*ReadFileResponse, error)
- func (UnimplementedDaemonServer) ResizeTerminal(context.Context, *ResizeTerminalRequest) (*TerminalInfo, error)
- func (UnimplementedDaemonServer) RespondInteraction(context.Context, *RespondInteractionRequest) (*RespondInteractionResponse, error)
- func (UnimplementedDaemonServer) ResumeThread(context.Context, *ResumeThreadRequest) (*ThreadResponse, error)
- func (UnimplementedDaemonServer) SetAgentBilling(context.Context, *SetAgentBillingRequest) (*SetAgentBillingResponse, error)
- func (UnimplementedDaemonServer) SetLeases(context.Context, *SetInstanceLeasesRequest) (*SetInstanceLeasesResponse, error)
- func (UnimplementedDaemonServer) SetThreadConfigOption(context.Context, *SetThreadConfigOptionRequest) (*SetThreadConfigOptionResponse, error)
- func (UnimplementedDaemonServer) StartBrowser(context.Context, *StartBrowserRequest) (*BrowserInfo, error)
- func (UnimplementedDaemonServer) StatFile(context.Context, *StatFileRequest) (*StatFileResponse, error)
- func (UnimplementedDaemonServer) StopBrowser(context.Context, *StopBrowserRequest) (*BrowserInfo, error)
- func (UnimplementedDaemonServer) SubscribeEvents(*SubscribeEventsRequest, grpc.ServerStreamingServer[DaemonEvent]) error
- func (UnimplementedDaemonServer) UpdateQueuedPrompt(context.Context, *UpdateQueuedPromptRequest) (*UpdateQueuedPromptResponse, error)
- func (UnimplementedDaemonServer) WatchFiles(*WatchFilesRequest, grpc.ServerStreamingServer[FileEvent]) error
- func (UnimplementedDaemonServer) WriteFile(context.Context, *WriteFileRequest) (*WriteFileResponse, error)
- type UnimplementedGatewayServer
- func (UnimplementedGatewayServer) AddRepository(context.Context, *AddRepositoryRequest) (*AddRepositoryResponse, error)
- func (UnimplementedGatewayServer) CancelInstance(context.Context, *InstanceActionRequest) (*InstanceActionResponse, error)
- func (UnimplementedGatewayServer) CancelPrompt(context.Context, *CancelPromptRequest) (*CancelPromptResponse, error)
- func (UnimplementedGatewayServer) CloseThread(context.Context, *ThreadActionRequest) (*ThreadResponse, error)
- func (UnimplementedGatewayServer) CreateInstance(context.Context, *CreateInstanceRequest) (*CreateInstanceResponse, error)
- func (UnimplementedGatewayServer) CreateThread(context.Context, *CreateThreadRequest) (*ThreadResponse, error)
- func (UnimplementedGatewayServer) DeleteSnapshot(context.Context, *DeleteSnapshotRequest) (*DeleteSnapshotResponse, error)
- func (UnimplementedGatewayServer) DeleteThread(context.Context, *ThreadActionRequest) (*DeleteThreadResponse, error)
- func (UnimplementedGatewayServer) ForkThread(context.Context, *ForkThreadRequest) (*ThreadResponse, error)
- func (UnimplementedGatewayServer) GetChanges(context.Context, *GetChangesRequest) (*GetChangesResponse, error)
- func (UnimplementedGatewayServer) GetSessions(context.Context, *GetSessionsRequest) (*GetSessionsResponse, error)
- func (UnimplementedGatewayServer) GetTimeline(context.Context, *GetTimelineRequest) (*GetTimelineResponse, error)
- func (UnimplementedGatewayServer) ImportThread(context.Context, *ImportThreadRequest) (*ThreadResponse, error)
- func (UnimplementedGatewayServer) InvalidateAllowlist(context.Context, *InvalidateAllowlistRequest) (*InvalidateAllowlistResponse, error)
- func (UnimplementedGatewayServer) ListCommands(context.Context, *ListCommandsRequest) (*ListCommandsResponse, error)
- func (UnimplementedGatewayServer) ListFiles(context.Context, *ListFilesRequest) (*ListFilesResponse, error)
- func (UnimplementedGatewayServer) ListRepositories(context.Context, *ListRepositoriesRequest) (*ListRepositoriesResponse, error)
- func (UnimplementedGatewayServer) ListThreads(context.Context, *ListThreadsRequest) (*ListThreadsResponse, error)
- func (UnimplementedGatewayServer) OpenStream(context.Context, *OpenStreamRequest) (*OpenStreamResponse, error)
- func (UnimplementedGatewayServer) PreparePullRequest(context.Context, *PreparePullRequestRequest) (*PreparePullRequestResponse, error)
- func (UnimplementedGatewayServer) Prompt(context.Context, *PromptRequest) (*PromptResponse, error)
- func (UnimplementedGatewayServer) ProxyStream(grpc.BidiStreamingServer[HttpRequest, HttpResponse]) error
- func (UnimplementedGatewayServer) ReadFile(context.Context, *ReadFileRequest) (*ReadFileResponse, error)
- func (UnimplementedGatewayServer) RespondInteraction(context.Context, *RespondInteractionRequest) (*RespondInteractionResponse, error)
- func (UnimplementedGatewayServer) ResumeInstance(context.Context, *InstanceActionRequest) (*InstanceActionResponse, error)
- func (UnimplementedGatewayServer) ResumeThread(context.Context, *ResumeThreadRequest) (*ThreadResponse, error)
- func (UnimplementedGatewayServer) SetAgentBilling(context.Context, *SetAgentBillingRequest) (*SetAgentBillingResponse, error)
- func (UnimplementedGatewayServer) SetInstanceLeases(context.Context, *SetInstanceLeasesRequest) (*SetInstanceLeasesResponse, error)
- func (UnimplementedGatewayServer) SetThreadConfigOption(context.Context, *SetThreadConfigOptionRequest) (*SetThreadConfigOptionResponse, error)
- func (UnimplementedGatewayServer) SnapshotInstance(context.Context, *SnapshotInstanceRequest) (*SnapshotInstanceResponse, error)
- func (UnimplementedGatewayServer) StartFromSnapshot(context.Context, *StartFromSnapshotRequest) (*CreateInstanceResponse, error)
- func (UnimplementedGatewayServer) SuspendInstance(context.Context, *InstanceActionRequest) (*InstanceActionResponse, error)
- func (UnimplementedGatewayServer) UpdateQueuedPrompt(context.Context, *UpdateQueuedPromptRequest) (*UpdateQueuedPromptResponse, error)
- func (UnimplementedGatewayServer) WriteFile(context.Context, *WriteFileRequest) (*WriteFileResponse, error)
- type UnimplementedIngestServer
- func (UnimplementedIngestServer) DevboxPullRequest(context.Context, *DevboxPullRequestRequest) (*DevboxPullRequestResponse, error)
- func (UnimplementedIngestServer) GetInstanceCredentials(context.Context, *GetInstanceCredentialsRequest) (*GetInstanceCredentialsResponse, error)
- func (UnimplementedIngestServer) Heartbeat(context.Context, *HeartbeatRequest) (*HeartbeatResponse, error)
- func (UnimplementedIngestServer) PushInstanceDeltas(context.Context, *PushInstanceDeltasRequest) (*PushInstanceDeltasResponse, error)
- func (UnimplementedIngestServer) RegisterGateway(context.Context, *RegisterGatewayRequest) (*RegisterGatewayResponse, error)
- func (UnimplementedIngestServer) ReportInstanceStatus(context.Context, *ReportInstanceStatusRequest) (*ReportInstanceStatusResponse, error)
- func (UnimplementedIngestServer) ReportPullRequest(context.Context, *ReportPullRequestRequest) (*ReportPullRequestResponse, error)
- func (UnimplementedIngestServer) ReportSnapshot(context.Context, *ReportSnapshotRequest) (*ReportSnapshotResponse, error)
- func (UnimplementedIngestServer) UpdateAgentCredential(context.Context, *UpdateAgentCredentialRequest) (*UpdateAgentCredentialResponse, error)
- func (UnimplementedIngestServer) UpsertInstanceIndex(context.Context, *UpsertInstanceIndexRequest) (*UpsertInstanceIndexResponse, error)
- type UnimplementedSandboxCredentialsServer
- type UnimplementedTunnelServer
- type UnknownVariant
- func (*UnknownVariant) Descriptor() ([]byte, []int)deprecated
- func (x *UnknownVariant) GetRawJson() []byte
- func (x *UnknownVariant) GetType() string
- func (*UnknownVariant) ProtoMessage()
- func (x *UnknownVariant) ProtoReflect() protoreflect.Message
- func (x *UnknownVariant) Reset()
- func (x *UnknownVariant) String() string
- type UnsafeControlServer
- type UnsafeDaemonServer
- type UnsafeGatewayServer
- type UnsafeIngestServer
- type UnsafeSandboxCredentialsServer
- type UnsafeTunnelServer
- type UpdateAgentCredentialRequest
- func (*UpdateAgentCredentialRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAgentCredentialRequest) GetBundleJson() []byte
- func (x *UpdateAgentCredentialRequest) GetCredentialId() string
- func (x *UpdateAgentCredentialRequest) GetExpectedVersion() int64
- func (x *UpdateAgentCredentialRequest) GetInstanceId() string
- func (x *UpdateAgentCredentialRequest) GetRefreshedAt() *timestamppb.Timestamp
- func (*UpdateAgentCredentialRequest) ProtoMessage()
- func (x *UpdateAgentCredentialRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateAgentCredentialRequest) Reset()
- func (x *UpdateAgentCredentialRequest) String() string
- type UpdateAgentCredentialResponse
- func (*UpdateAgentCredentialResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAgentCredentialResponse) GetApplied() bool
- func (x *UpdateAgentCredentialResponse) GetCurrent() *InstanceCredential
- func (*UpdateAgentCredentialResponse) ProtoMessage()
- func (x *UpdateAgentCredentialResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateAgentCredentialResponse) Reset()
- func (x *UpdateAgentCredentialResponse) String() string
- type UpdateCodexBundleRequest
- func (*UpdateCodexBundleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCodexBundleRequest) GetBundleJson() []byte
- func (x *UpdateCodexBundleRequest) GetCredentialId() string
- func (x *UpdateCodexBundleRequest) GetExpectedVersion() int64
- func (x *UpdateCodexBundleRequest) GetRefreshedAt() *timestamppb.Timestamp
- func (*UpdateCodexBundleRequest) ProtoMessage()
- func (x *UpdateCodexBundleRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateCodexBundleRequest) Reset()
- func (x *UpdateCodexBundleRequest) String() string
- type UpdateCodexBundleResponse
- func (*UpdateCodexBundleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCodexBundleResponse) GetApplied() bool
- func (x *UpdateCodexBundleResponse) GetCurrent() *InstanceCredential
- func (*UpdateCodexBundleResponse) ProtoMessage()
- func (x *UpdateCodexBundleResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateCodexBundleResponse) Reset()
- func (x *UpdateCodexBundleResponse) String() string
- type UpdateQueuedPromptRequest
- func (*UpdateQueuedPromptRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateQueuedPromptRequest) GetAction() QueuedPromptAction
- func (x *UpdateQueuedPromptRequest) GetPromptId() string
- func (x *UpdateQueuedPromptRequest) GetRequestedBy() *Principal
- func (x *UpdateQueuedPromptRequest) GetText() string
- func (x *UpdateQueuedPromptRequest) GetThread() *ThreadRef
- func (*UpdateQueuedPromptRequest) ProtoMessage()
- func (x *UpdateQueuedPromptRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateQueuedPromptRequest) Reset()
- func (x *UpdateQueuedPromptRequest) String() string
- type UpdateQueuedPromptResponse
- func (*UpdateQueuedPromptResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateQueuedPromptResponse) GetQueuedPrompts() []*QueuedPrompt
- func (x *UpdateQueuedPromptResponse) GetUpdated() bool
- func (*UpdateQueuedPromptResponse) ProtoMessage()
- func (x *UpdateQueuedPromptResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateQueuedPromptResponse) Reset()
- func (x *UpdateQueuedPromptResponse) String() string
- type UpsertInstanceIndexRequest
- func (*UpsertInstanceIndexRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpsertInstanceIndexRequest) GetAggregate() *InstanceAggregate
- func (x *UpsertInstanceIndexRequest) GetInstanceId() string
- func (x *UpsertInstanceIndexRequest) GetInteractions() []*Interaction
- func (x *UpsertInstanceIndexRequest) GetOffset() uint64
- func (x *UpsertInstanceIndexRequest) GetSessions() []*Session
- func (*UpsertInstanceIndexRequest) ProtoMessage()
- func (x *UpsertInstanceIndexRequest) ProtoReflect() protoreflect.Message
- func (x *UpsertInstanceIndexRequest) Reset()
- func (x *UpsertInstanceIndexRequest) String() string
- type UpsertInstanceIndexResponse
- func (*UpsertInstanceIndexResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpsertInstanceIndexResponse) GetInteractionsApplied() int32
- func (x *UpsertInstanceIndexResponse) GetSessionsApplied() int32
- func (*UpsertInstanceIndexResponse) ProtoMessage()
- func (x *UpsertInstanceIndexResponse) ProtoReflect() protoreflect.Message
- func (x *UpsertInstanceIndexResponse) Reset()
- func (x *UpsertInstanceIndexResponse) String() string
- type Usage
- func (*Usage) Descriptor() ([]byte, []int)deprecated
- func (x *Usage) GetBilling() BillingMode
- func (x *Usage) GetCost() *Cost
- func (x *Usage) GetMeta() *structpb.Struct
- func (x *Usage) GetSize() int64
- func (x *Usage) GetUsed() int64
- func (*Usage) ProtoMessage()
- func (x *Usage) ProtoReflect() protoreflect.Message
- func (x *Usage) Reset()
- func (x *Usage) String() string
- type WatchFilesRequest
- func (*WatchFilesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WatchFilesRequest) GetInstanceId() string
- func (x *WatchFilesRequest) GetPath() string
- func (x *WatchFilesRequest) GetRecursive() bool
- func (*WatchFilesRequest) ProtoMessage()
- func (x *WatchFilesRequest) ProtoReflect() protoreflect.Message
- func (x *WatchFilesRequest) Reset()
- func (x *WatchFilesRequest) String() string
- type WriteFileRequest
- func (*WriteFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WriteFileRequest) GetContent() []byte
- func (x *WriteFileRequest) GetCreateParents() bool
- func (x *WriteFileRequest) GetExpectedSha256() string
- func (x *WriteFileRequest) GetInstanceId() string
- func (x *WriteFileRequest) GetMode() uint32
- func (x *WriteFileRequest) GetPath() string
- func (x *WriteFileRequest) GetWrittenBy() *Principal
- func (*WriteFileRequest) ProtoMessage()
- func (x *WriteFileRequest) ProtoReflect() protoreflect.Message
- func (x *WriteFileRequest) Reset()
- func (x *WriteFileRequest) String() string
- type WriteFileResponse
- func (*WriteFileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *WriteFileResponse) GetEntry() *FileEntry
- func (x *WriteFileResponse) GetSha256() string
- func (*WriteFileResponse) ProtoMessage()
- func (x *WriteFileResponse) ProtoReflect() protoreflect.Message
- func (x *WriteFileResponse) Reset()
- func (x *WriteFileResponse) String() string
Constants ¶
const ( Control_CreateInstance_FullMethodName = "/devbox.v1.Control/CreateInstance" Control_StartFromSnapshot_FullMethodName = "/devbox.v1.Control/StartFromSnapshot" Control_CancelInstance_FullMethodName = "/devbox.v1.Control/CancelInstance" Control_SuspendInstance_FullMethodName = "/devbox.v1.Control/SuspendInstance" Control_ResumeInstance_FullMethodName = "/devbox.v1.Control/ResumeInstance" Control_SnapshotInstance_FullMethodName = "/devbox.v1.Control/SnapshotInstance" Control_DeleteSnapshot_FullMethodName = "/devbox.v1.Control/DeleteSnapshot" Control_SetAgentBilling_FullMethodName = "/devbox.v1.Control/SetAgentBilling" Control_CreateThread_FullMethodName = "/devbox.v1.Control/CreateThread" Control_ListThreads_FullMethodName = "/devbox.v1.Control/ListThreads" Control_ImportThread_FullMethodName = "/devbox.v1.Control/ImportThread" Control_ResumeThread_FullMethodName = "/devbox.v1.Control/ResumeThread" Control_CloseThread_FullMethodName = "/devbox.v1.Control/CloseThread" Control_DeleteThread_FullMethodName = "/devbox.v1.Control/DeleteThread" Control_ForkThread_FullMethodName = "/devbox.v1.Control/ForkThread" Control_Prompt_FullMethodName = "/devbox.v1.Control/Prompt" Control_CancelPrompt_FullMethodName = "/devbox.v1.Control/CancelPrompt" Control_UpdateQueuedPrompt_FullMethodName = "/devbox.v1.Control/UpdateQueuedPrompt" Control_SetThreadConfigOption_FullMethodName = "/devbox.v1.Control/SetThreadConfigOption" Control_RespondInteraction_FullMethodName = "/devbox.v1.Control/RespondInteraction" Control_ListCommands_FullMethodName = "/devbox.v1.Control/ListCommands" Control_GetTimeline_FullMethodName = "/devbox.v1.Control/GetTimeline" Control_GetSessions_FullMethodName = "/devbox.v1.Control/GetSessions" Control_SetInstanceLeases_FullMethodName = "/devbox.v1.Control/SetInstanceLeases" Control_AddRepository_FullMethodName = "/devbox.v1.Control/AddRepository" Control_ListRepositories_FullMethodName = "/devbox.v1.Control/ListRepositories" Control_ListFiles_FullMethodName = "/devbox.v1.Control/ListFiles" Control_ReadFile_FullMethodName = "/devbox.v1.Control/ReadFile" Control_WriteFile_FullMethodName = "/devbox.v1.Control/WriteFile" Control_GetChanges_FullMethodName = "/devbox.v1.Control/GetChanges" Control_PreparePullRequest_FullMethodName = "/devbox.v1.Control/PreparePullRequest" Control_OpenStream_FullMethodName = "/devbox.v1.Control/OpenStream" Control_InvalidateAllowlist_FullMethodName = "/devbox.v1.Control/InvalidateAllowlist" )
const ( SandboxCredentials_GetSandboxCredential_FullMethodName = "/devbox.v1.SandboxCredentials/GetSandboxCredential" SandboxCredentials_UpdateCodexBundle_FullMethodName = "/devbox.v1.SandboxCredentials/UpdateCodexBundle" )
const ( Daemon_Health_FullMethodName = "/devbox.v1.Daemon/Health" Daemon_Initialize_FullMethodName = "/devbox.v1.Daemon/Initialize" Daemon_GetInfo_FullMethodName = "/devbox.v1.Daemon/GetInfo" Daemon_ProbeAgents_FullMethodName = "/devbox.v1.Daemon/ProbeAgents" Daemon_PrepareSuspend_FullMethodName = "/devbox.v1.Daemon/PrepareSuspend" Daemon_SubscribeEvents_FullMethodName = "/devbox.v1.Daemon/SubscribeEvents" Daemon_AckEvents_FullMethodName = "/devbox.v1.Daemon/AckEvents" Daemon_GetTimeline_FullMethodName = "/devbox.v1.Daemon/GetTimeline" Daemon_GetSessions_FullMethodName = "/devbox.v1.Daemon/GetSessions" Daemon_CreateThread_FullMethodName = "/devbox.v1.Daemon/CreateThread" Daemon_ListThreads_FullMethodName = "/devbox.v1.Daemon/ListThreads" Daemon_ImportThread_FullMethodName = "/devbox.v1.Daemon/ImportThread" Daemon_ResumeThread_FullMethodName = "/devbox.v1.Daemon/ResumeThread" Daemon_CloseThread_FullMethodName = "/devbox.v1.Daemon/CloseThread" Daemon_DeleteThread_FullMethodName = "/devbox.v1.Daemon/DeleteThread" Daemon_ForkThread_FullMethodName = "/devbox.v1.Daemon/ForkThread" Daemon_Prompt_FullMethodName = "/devbox.v1.Daemon/Prompt" Daemon_CancelPrompt_FullMethodName = "/devbox.v1.Daemon/CancelPrompt" Daemon_UpdateQueuedPrompt_FullMethodName = "/devbox.v1.Daemon/UpdateQueuedPrompt" Daemon_SetThreadConfigOption_FullMethodName = "/devbox.v1.Daemon/SetThreadConfigOption" Daemon_RespondInteraction_FullMethodName = "/devbox.v1.Daemon/RespondInteraction" Daemon_ListCommands_FullMethodName = "/devbox.v1.Daemon/ListCommands" Daemon_SetAgentBilling_FullMethodName = "/devbox.v1.Daemon/SetAgentBilling" Daemon_CreateTerminal_FullMethodName = "/devbox.v1.Daemon/CreateTerminal" Daemon_ListTerminals_FullMethodName = "/devbox.v1.Daemon/ListTerminals" Daemon_ResizeTerminal_FullMethodName = "/devbox.v1.Daemon/ResizeTerminal" Daemon_CloseTerminal_FullMethodName = "/devbox.v1.Daemon/CloseTerminal" Daemon_AttachTerminal_FullMethodName = "/devbox.v1.Daemon/AttachTerminal" Daemon_ListFiles_FullMethodName = "/devbox.v1.Daemon/ListFiles" Daemon_StatFile_FullMethodName = "/devbox.v1.Daemon/StatFile" Daemon_ReadFile_FullMethodName = "/devbox.v1.Daemon/ReadFile" Daemon_WriteFile_FullMethodName = "/devbox.v1.Daemon/WriteFile" Daemon_WatchFiles_FullMethodName = "/devbox.v1.Daemon/WatchFiles" Daemon_GetChanges_FullMethodName = "/devbox.v1.Daemon/GetChanges" Daemon_GetBranchDiffStat_FullMethodName = "/devbox.v1.Daemon/GetBranchDiffStat" Daemon_PreparePullRequest_FullMethodName = "/devbox.v1.Daemon/PreparePullRequest" Daemon_AddRepository_FullMethodName = "/devbox.v1.Daemon/AddRepository" Daemon_ListRepositories_FullMethodName = "/devbox.v1.Daemon/ListRepositories" Daemon_StartBrowser_FullMethodName = "/devbox.v1.Daemon/StartBrowser" Daemon_StopBrowser_FullMethodName = "/devbox.v1.Daemon/StopBrowser" Daemon_GetBrowser_FullMethodName = "/devbox.v1.Daemon/GetBrowser" Daemon_SetLeases_FullMethodName = "/devbox.v1.Daemon/SetLeases" Daemon_GetIdleState_FullMethodName = "/devbox.v1.Daemon/GetIdleState" Daemon_PushCredential_FullMethodName = "/devbox.v1.Daemon/PushCredential" )
const ( Gateway_CreateInstance_FullMethodName = "/devbox.v1.Gateway/CreateInstance" Gateway_StartFromSnapshot_FullMethodName = "/devbox.v1.Gateway/StartFromSnapshot" Gateway_CancelInstance_FullMethodName = "/devbox.v1.Gateway/CancelInstance" Gateway_SuspendInstance_FullMethodName = "/devbox.v1.Gateway/SuspendInstance" Gateway_ResumeInstance_FullMethodName = "/devbox.v1.Gateway/ResumeInstance" Gateway_SnapshotInstance_FullMethodName = "/devbox.v1.Gateway/SnapshotInstance" Gateway_DeleteSnapshot_FullMethodName = "/devbox.v1.Gateway/DeleteSnapshot" Gateway_SetAgentBilling_FullMethodName = "/devbox.v1.Gateway/SetAgentBilling" Gateway_CreateThread_FullMethodName = "/devbox.v1.Gateway/CreateThread" Gateway_ListThreads_FullMethodName = "/devbox.v1.Gateway/ListThreads" Gateway_ImportThread_FullMethodName = "/devbox.v1.Gateway/ImportThread" Gateway_ResumeThread_FullMethodName = "/devbox.v1.Gateway/ResumeThread" Gateway_CloseThread_FullMethodName = "/devbox.v1.Gateway/CloseThread" Gateway_DeleteThread_FullMethodName = "/devbox.v1.Gateway/DeleteThread" Gateway_ForkThread_FullMethodName = "/devbox.v1.Gateway/ForkThread" Gateway_Prompt_FullMethodName = "/devbox.v1.Gateway/Prompt" Gateway_CancelPrompt_FullMethodName = "/devbox.v1.Gateway/CancelPrompt" Gateway_UpdateQueuedPrompt_FullMethodName = "/devbox.v1.Gateway/UpdateQueuedPrompt" Gateway_SetThreadConfigOption_FullMethodName = "/devbox.v1.Gateway/SetThreadConfigOption" Gateway_RespondInteraction_FullMethodName = "/devbox.v1.Gateway/RespondInteraction" Gateway_ListCommands_FullMethodName = "/devbox.v1.Gateway/ListCommands" Gateway_GetTimeline_FullMethodName = "/devbox.v1.Gateway/GetTimeline" Gateway_GetSessions_FullMethodName = "/devbox.v1.Gateway/GetSessions" Gateway_SetInstanceLeases_FullMethodName = "/devbox.v1.Gateway/SetInstanceLeases" Gateway_AddRepository_FullMethodName = "/devbox.v1.Gateway/AddRepository" Gateway_ListRepositories_FullMethodName = "/devbox.v1.Gateway/ListRepositories" Gateway_ListFiles_FullMethodName = "/devbox.v1.Gateway/ListFiles" Gateway_ReadFile_FullMethodName = "/devbox.v1.Gateway/ReadFile" Gateway_WriteFile_FullMethodName = "/devbox.v1.Gateway/WriteFile" Gateway_GetChanges_FullMethodName = "/devbox.v1.Gateway/GetChanges" Gateway_PreparePullRequest_FullMethodName = "/devbox.v1.Gateway/PreparePullRequest" Gateway_OpenStream_FullMethodName = "/devbox.v1.Gateway/OpenStream" Gateway_InvalidateAllowlist_FullMethodName = "/devbox.v1.Gateway/InvalidateAllowlist" Gateway_ProxyStream_FullMethodName = "/devbox.v1.Gateway/ProxyStream" )
const ( Ingest_RegisterGateway_FullMethodName = "/devbox.v1.Ingest/RegisterGateway" Ingest_Heartbeat_FullMethodName = "/devbox.v1.Ingest/Heartbeat" Ingest_UpsertInstanceIndex_FullMethodName = "/devbox.v1.Ingest/UpsertInstanceIndex" Ingest_PushInstanceDeltas_FullMethodName = "/devbox.v1.Ingest/PushInstanceDeltas" Ingest_ReportInstanceStatus_FullMethodName = "/devbox.v1.Ingest/ReportInstanceStatus" Ingest_ReportSnapshot_FullMethodName = "/devbox.v1.Ingest/ReportSnapshot" Ingest_GetInstanceCredentials_FullMethodName = "/devbox.v1.Ingest/GetInstanceCredentials" Ingest_UpdateAgentCredential_FullMethodName = "/devbox.v1.Ingest/UpdateAgentCredential" Ingest_ReportPullRequest_FullMethodName = "/devbox.v1.Ingest/ReportPullRequest" Ingest_DevboxPullRequest_FullMethodName = "/devbox.v1.Ingest/DevboxPullRequest" )
const ( // ClusterIDMetadataKey routes Control calls to a cluster's gateway. On Ingest calls KAS overwrites it with // the cluster it verified from the gateway's deploy token. ClusterIDMetadataKey = "devbox-cluster-id" // InstanceIDMetadataKey and StreamIDMetadataKey are set by KAS on Gateway.ProxyStream from the validated // stream token. InstanceIDMetadataKey = "devbox-instance-id" StreamIDMetadataKey = "devbox-stream-id" // RequestTokenMetadataKey carries the console-signed per-request token the daemon validates. RequestTokenMetadataKey = "devbox-request-token" // ThreadHeader is the HTTP header the daemon adds to each thread's devbox MCP server entry. ThreadHeader = "X-Devbox-Thread" )
gRPC metadata keys. Keys are lowercase, as gRPC requires.
const (
Tunnel_Connect_FullMethodName = "/devbox.v1.Tunnel/Connect"
)
Variables ¶
var ( EntityType_name = map[int32]string{ 0: "ENTITY_TYPE_UNSPECIFIED", 1: "ENTITY_TYPE_USER_MESSAGE", 2: "ENTITY_TYPE_AGENT_MESSAGE", 3: "ENTITY_TYPE_AGENT_THOUGHT", 4: "ENTITY_TYPE_SESSION_MESSAGE", 5: "ENTITY_TYPE_TOOL_CALL", 6: "ENTITY_TYPE_PLAN", 7: "ENTITY_TYPE_TERMINAL", 8: "ENTITY_TYPE_COMPACTION", 15: "ENTITY_TYPE_UNKNOWN", } EntityType_value = map[string]int32{ "ENTITY_TYPE_UNSPECIFIED": 0, "ENTITY_TYPE_USER_MESSAGE": 1, "ENTITY_TYPE_AGENT_MESSAGE": 2, "ENTITY_TYPE_AGENT_THOUGHT": 3, "ENTITY_TYPE_SESSION_MESSAGE": 4, "ENTITY_TYPE_TOOL_CALL": 5, "ENTITY_TYPE_PLAN": 6, "ENTITY_TYPE_TERMINAL": 7, "ENTITY_TYPE_COMPACTION": 8, "ENTITY_TYPE_UNKNOWN": 15, } )
Enum value maps for EntityType.
var ( ForegroundStateKind_name = map[int32]string{ 0: "FOREGROUND_STATE_KIND_UNSPECIFIED", 1: "FOREGROUND_STATE_KIND_RUNNING", 2: "FOREGROUND_STATE_KIND_REQUIRES_ACTION", 3: "FOREGROUND_STATE_KIND_IDLE", } ForegroundStateKind_value = map[string]int32{ "FOREGROUND_STATE_KIND_UNSPECIFIED": 0, "FOREGROUND_STATE_KIND_RUNNING": 1, "FOREGROUND_STATE_KIND_REQUIRES_ACTION": 2, "FOREGROUND_STATE_KIND_IDLE": 3, } )
Enum value maps for ForegroundStateKind.
var ( SessionKind_name = map[int32]string{ 0: "SESSION_KIND_UNSPECIFIED", 1: "SESSION_KIND_THREAD", 2: "SESSION_KIND_SUBAGENT", } SessionKind_value = map[string]int32{ "SESSION_KIND_UNSPECIFIED": 0, "SESSION_KIND_THREAD": 1, "SESSION_KIND_SUBAGENT": 2, } )
Enum value maps for SessionKind.
var ( ThreadStatus_name = map[int32]string{ 0: "THREAD_STATUS_UNSPECIFIED", 1: "THREAD_STATUS_ACTIVE", 2: "THREAD_STATUS_WAITING", 3: "THREAD_STATUS_CLOSED", 4: "THREAD_STATUS_DELETED", } ThreadStatus_value = map[string]int32{ "THREAD_STATUS_UNSPECIFIED": 0, "THREAD_STATUS_ACTIVE": 1, "THREAD_STATUS_WAITING": 2, "THREAD_STATUS_CLOSED": 3, "THREAD_STATUS_DELETED": 4, } )
Enum value maps for ThreadStatus.
var ( InteractionKind_name = map[int32]string{ 0: "INTERACTION_KIND_UNSPECIFIED", 1: "INTERACTION_KIND_PERMISSION", 2: "INTERACTION_KIND_ELICITATION_FORM", 3: "INTERACTION_KIND_ELICITATION_URL", } InteractionKind_value = map[string]int32{ "INTERACTION_KIND_UNSPECIFIED": 0, "INTERACTION_KIND_PERMISSION": 1, "INTERACTION_KIND_ELICITATION_FORM": 2, "INTERACTION_KIND_ELICITATION_URL": 3, } )
Enum value maps for InteractionKind.
var ( InteractionState_name = map[int32]string{ 0: "INTERACTION_STATE_UNSPECIFIED", 1: "INTERACTION_STATE_PENDING", 2: "INTERACTION_STATE_ANSWERED", 3: "INTERACTION_STATE_CANCELLED", 4: "INTERACTION_STATE_EXPIRED", } InteractionState_value = map[string]int32{ "INTERACTION_STATE_UNSPECIFIED": 0, "INTERACTION_STATE_PENDING": 1, "INTERACTION_STATE_ANSWERED": 2, "INTERACTION_STATE_CANCELLED": 3, "INTERACTION_STATE_EXPIRED": 4, } )
Enum value maps for InteractionState.
var ( ProbeStatus_name = map[int32]string{ 0: "PROBE_STATUS_UNSPECIFIED", 1: "PROBE_STATUS_OK", 2: "PROBE_STATUS_FAILED", 3: "PROBE_STATUS_MISSING", } ProbeStatus_value = map[string]int32{ "PROBE_STATUS_UNSPECIFIED": 0, "PROBE_STATUS_OK": 1, "PROBE_STATUS_FAILED": 2, "PROBE_STATUS_MISSING": 3, } )
Enum value maps for ProbeStatus.
var ( AgentType_name = map[int32]string{ 0: "AGENT_TYPE_UNSPECIFIED", 1: "AGENT_TYPE_CLAUDE", 2: "AGENT_TYPE_CODEX", 3: "AGENT_TYPE_OPENCODE", 4: "AGENT_TYPE_GEMINI", 5: "AGENT_TYPE_PI", } AgentType_value = map[string]int32{ "AGENT_TYPE_UNSPECIFIED": 0, "AGENT_TYPE_CLAUDE": 1, "AGENT_TYPE_CODEX": 2, "AGENT_TYPE_OPENCODE": 3, "AGENT_TYPE_GEMINI": 4, "AGENT_TYPE_PI": 5, } )
Enum value maps for AgentType.
var ( InstanceStatus_name = map[int32]string{ 0: "INSTANCE_STATUS_UNSPECIFIED", 1: "INSTANCE_STATUS_PENDING", 2: "INSTANCE_STATUS_PROVISIONING", 3: "INSTANCE_STATUS_RUNNING", 4: "INSTANCE_STATUS_SUSPENDED", 5: "INSTANCE_STATUS_SNAPSHOTTING", 6: "INSTANCE_STATUS_COMPLETED", 7: "INSTANCE_STATUS_FAILED", 8: "INSTANCE_STATUS_CANCELLED", } InstanceStatus_value = map[string]int32{ "INSTANCE_STATUS_UNSPECIFIED": 0, "INSTANCE_STATUS_PENDING": 1, "INSTANCE_STATUS_PROVISIONING": 2, "INSTANCE_STATUS_RUNNING": 3, "INSTANCE_STATUS_SUSPENDED": 4, "INSTANCE_STATUS_SNAPSHOTTING": 5, "INSTANCE_STATUS_COMPLETED": 6, "INSTANCE_STATUS_FAILED": 7, "INSTANCE_STATUS_CANCELLED": 8, } )
Enum value maps for InstanceStatus.
var ( BillingMode_name = map[int32]string{ 0: "BILLING_MODE_UNSPECIFIED", 1: "BILLING_MODE_PROXY", 2: "BILLING_MODE_SUBSCRIPTION", } BillingMode_value = map[string]int32{ "BILLING_MODE_UNSPECIFIED": 0, "BILLING_MODE_PROXY": 1, "BILLING_MODE_SUBSCRIPTION": 2, } )
Enum value maps for BillingMode.
var ( Autonomy_name = map[int32]string{ 0: "AUTONOMY_UNSPECIFIED", 1: "AUTONOMY_MANUAL", 2: "AUTONOMY_AUTO", 3: "AUTONOMY_FULL", } Autonomy_value = map[string]int32{ "AUTONOMY_UNSPECIFIED": 0, "AUTONOMY_MANUAL": 1, "AUTONOMY_AUTO": 2, "AUTONOMY_FULL": 3, } )
Enum value maps for Autonomy.
var ( SnapshotFidelity_name = map[int32]string{ 0: "SNAPSHOT_FIDELITY_UNSPECIFIED", 1: "SNAPSHOT_FIDELITY_MEMORY", 2: "SNAPSHOT_FIDELITY_FILESYSTEM", } SnapshotFidelity_value = map[string]int32{ "SNAPSHOT_FIDELITY_UNSPECIFIED": 0, "SNAPSHOT_FIDELITY_MEMORY": 1, "SNAPSHOT_FIDELITY_FILESYSTEM": 2, } )
Enum value maps for SnapshotFidelity.
var ( ErrorReason_name = map[int32]string{ 0: "ERROR_REASON_UNSPECIFIED", 1: "ERROR_REASON_UNSUPPORTED", 2: "ERROR_REASON_CLUSTER_OFFLINE", 3: "ERROR_REASON_INSTANCE_SUSPENDED", 4: "ERROR_REASON_INSTANCE_NOT_FOUND", 5: "ERROR_REASON_THREAD_NOT_FOUND", 6: "ERROR_REASON_STALE_REVISION", 7: "ERROR_REASON_CREDENTIALS_UNAVAILABLE", 8: "ERROR_REASON_REPOSITORY_NOT_ALLOWED", 10: "ERROR_REASON_THREAD_LIMIT_REACHED", 11: "ERROR_REASON_AGENT_AUTH_FAILED", 12: "ERROR_REASON_PLAN_LIMIT_REACHED", 13: "ERROR_REASON_INVALID_AGENT_OR_MODEL", 14: "ERROR_REASON_FILE_CONFLICT", 15: "ERROR_REASON_INSTANCE_STARTING", } ErrorReason_value = map[string]int32{ "ERROR_REASON_UNSPECIFIED": 0, "ERROR_REASON_UNSUPPORTED": 1, "ERROR_REASON_CLUSTER_OFFLINE": 2, "ERROR_REASON_INSTANCE_SUSPENDED": 3, "ERROR_REASON_INSTANCE_NOT_FOUND": 4, "ERROR_REASON_THREAD_NOT_FOUND": 5, "ERROR_REASON_STALE_REVISION": 6, "ERROR_REASON_CREDENTIALS_UNAVAILABLE": 7, "ERROR_REASON_REPOSITORY_NOT_ALLOWED": 8, "ERROR_REASON_THREAD_LIMIT_REACHED": 10, "ERROR_REASON_AGENT_AUTH_FAILED": 11, "ERROR_REASON_PLAN_LIMIT_REACHED": 12, "ERROR_REASON_INVALID_AGENT_OR_MODEL": 13, "ERROR_REASON_FILE_CONFLICT": 14, "ERROR_REASON_INSTANCE_STARTING": 15, } )
Enum value maps for ErrorReason.
var ( LeaseKind_name = map[int32]string{ 0: "LEASE_KIND_UNSPECIFIED", 1: "LEASE_KIND_VIEWER", 2: "LEASE_KIND_DEFERRAL", } LeaseKind_value = map[string]int32{ "LEASE_KIND_UNSPECIFIED": 0, "LEASE_KIND_VIEWER": 1, "LEASE_KIND_DEFERRAL": 2, } )
Enum value maps for LeaseKind.
var ( BusyReasonKind_name = map[int32]string{ 0: "BUSY_REASON_KIND_UNSPECIFIED", 1: "BUSY_REASON_KIND_AGENT_TURN", 2: "BUSY_REASON_KIND_PROCESS_ACTIVITY", 3: "BUSY_REASON_KIND_TERMINAL_JOB", 4: "BUSY_REASON_KIND_INTERACTIVE_STREAM", 5: "BUSY_REASON_KIND_VIEWER_LEASE", 6: "BUSY_REASON_KIND_DEFERRAL_LEASE", 7: "BUSY_REASON_KIND_PENDING_INTERACTION", } BusyReasonKind_value = map[string]int32{ "BUSY_REASON_KIND_UNSPECIFIED": 0, "BUSY_REASON_KIND_AGENT_TURN": 1, "BUSY_REASON_KIND_PROCESS_ACTIVITY": 2, "BUSY_REASON_KIND_TERMINAL_JOB": 3, "BUSY_REASON_KIND_INTERACTIVE_STREAM": 4, "BUSY_REASON_KIND_VIEWER_LEASE": 5, "BUSY_REASON_KIND_DEFERRAL_LEASE": 6, "BUSY_REASON_KIND_PENDING_INTERACTION": 7, } )
Enum value maps for BusyReasonKind.
var ( SuspendReason_name = map[int32]string{ 0: "SUSPEND_REASON_UNSPECIFIED", 1: "SUSPEND_REASON_IDLE", 2: "SUSPEND_REASON_USER", 3: "SUSPEND_REASON_MAX_CONTINUOUS_AWAKE", 4: "SUSPEND_REASON_DAEMON_UNRESPONSIVE", 5: "SUSPEND_REASON_EVICTION", 6: "SUSPEND_REASON_SNAPSHOT", } SuspendReason_value = map[string]int32{ "SUSPEND_REASON_UNSPECIFIED": 0, "SUSPEND_REASON_IDLE": 1, "SUSPEND_REASON_USER": 2, "SUSPEND_REASON_MAX_CONTINUOUS_AWAKE": 3, "SUSPEND_REASON_DAEMON_UNRESPONSIVE": 4, "SUSPEND_REASON_EVICTION": 5, "SUSPEND_REASON_SNAPSHOT": 6, } )
Enum value maps for SuspendReason.
var ( PromptDisposition_name = map[int32]string{ 0: "PROMPT_DISPOSITION_UNSPECIFIED", 1: "PROMPT_DISPOSITION_SENT", 2: "PROMPT_DISPOSITION_QUEUED", 3: "PROMPT_DISPOSITION_DUPLICATE", } PromptDisposition_value = map[string]int32{ "PROMPT_DISPOSITION_UNSPECIFIED": 0, "PROMPT_DISPOSITION_SENT": 1, "PROMPT_DISPOSITION_QUEUED": 2, "PROMPT_DISPOSITION_DUPLICATE": 3, } )
Enum value maps for PromptDisposition.
var ( QueuedPromptAction_name = map[int32]string{ 0: "QUEUED_PROMPT_ACTION_UNSPECIFIED", 1: "QUEUED_PROMPT_ACTION_EDIT", 2: "QUEUED_PROMPT_ACTION_CANCEL", 3: "QUEUED_PROMPT_ACTION_SEND_NOW", } QueuedPromptAction_value = map[string]int32{ "QUEUED_PROMPT_ACTION_UNSPECIFIED": 0, "QUEUED_PROMPT_ACTION_EDIT": 1, "QUEUED_PROMPT_ACTION_CANCEL": 2, "QUEUED_PROMPT_ACTION_SEND_NOW": 3, } )
Enum value maps for QueuedPromptAction.
var ( StreamKind_name = map[int32]string{ 0: "STREAM_KIND_UNSPECIFIED", 1: "STREAM_KIND_TERMINAL", 2: "STREAM_KIND_VNC", 3: "STREAM_KIND_PREVIEW", } StreamKind_value = map[string]int32{ "STREAM_KIND_UNSPECIFIED": 0, "STREAM_KIND_TERMINAL": 1, "STREAM_KIND_VNC": 2, "STREAM_KIND_PREVIEW": 3, } )
Enum value maps for StreamKind.
var ( CredentialKind_name = map[int32]string{ 0: "CREDENTIAL_KIND_UNSPECIFIED", 1: "CREDENTIAL_KIND_SCM", 2: "CREDENTIAL_KIND_AI_PROXY", 3: "CREDENTIAL_KIND_CONSOLE", 4: "CREDENTIAL_KIND_OIDC", 5: "CREDENTIAL_KIND_CLAUDE_OAUTH", 6: "CREDENTIAL_KIND_CODEX", } CredentialKind_value = map[string]int32{ "CREDENTIAL_KIND_UNSPECIFIED": 0, "CREDENTIAL_KIND_SCM": 1, "CREDENTIAL_KIND_AI_PROXY": 2, "CREDENTIAL_KIND_CONSOLE": 3, "CREDENTIAL_KIND_OIDC": 4, "CREDENTIAL_KIND_CLAUDE_OAUTH": 5, "CREDENTIAL_KIND_CODEX": 6, } )
Enum value maps for CredentialKind.
var ( CodexCredentialMode_name = map[int32]string{ 0: "CODEX_CREDENTIAL_MODE_UNSPECIFIED", 1: "CODEX_CREDENTIAL_MODE_CHATGPT_AUTH", 2: "CODEX_CREDENTIAL_MODE_ACCESS_TOKEN", } CodexCredentialMode_value = map[string]int32{ "CODEX_CREDENTIAL_MODE_UNSPECIFIED": 0, "CODEX_CREDENTIAL_MODE_CHATGPT_AUTH": 1, "CODEX_CREDENTIAL_MODE_ACCESS_TOKEN": 2, } )
Enum value maps for CodexCredentialMode.
var ( DeltaOp_name = map[int32]string{ 0: "DELTA_OP_UNSPECIFIED", 1: "DELTA_OP_APPEND", 2: "DELTA_OP_PATCH", 3: "DELTA_OP_NOTICE", 4: "DELTA_OP_STATE", 5: "DELTA_OP_SETTLE", } DeltaOp_value = map[string]int32{ "DELTA_OP_UNSPECIFIED": 0, "DELTA_OP_APPEND": 1, "DELTA_OP_PATCH": 2, "DELTA_OP_NOTICE": 3, "DELTA_OP_STATE": 4, "DELTA_OP_SETTLE": 5, } )
Enum value maps for DeltaOp.
var ( SnapshotState_name = map[int32]string{ 0: "SNAPSHOT_STATE_UNSPECIFIED", 1: "SNAPSHOT_STATE_SUCCEEDED", 2: "SNAPSHOT_STATE_FAILED", } SnapshotState_value = map[string]int32{ "SNAPSHOT_STATE_UNSPECIFIED": 0, "SNAPSHOT_STATE_SUCCEEDED": 1, "SNAPSHOT_STATE_FAILED": 2, } )
Enum value maps for SnapshotState.
var ( FileType_name = map[int32]string{ 0: "FILE_TYPE_UNSPECIFIED", 1: "FILE_TYPE_FILE", 2: "FILE_TYPE_DIRECTORY", 3: "FILE_TYPE_SYMLINK", 4: "FILE_TYPE_OTHER", } FileType_value = map[string]int32{ "FILE_TYPE_UNSPECIFIED": 0, "FILE_TYPE_FILE": 1, "FILE_TYPE_DIRECTORY": 2, "FILE_TYPE_SYMLINK": 3, "FILE_TYPE_OTHER": 4, } )
Enum value maps for FileType.
var ( FileEventType_name = map[int32]string{ 0: "FILE_EVENT_TYPE_UNSPECIFIED", 1: "FILE_EVENT_TYPE_CREATED", 2: "FILE_EVENT_TYPE_MODIFIED", 3: "FILE_EVENT_TYPE_DELETED", 4: "FILE_EVENT_TYPE_RENAMED", } FileEventType_value = map[string]int32{ "FILE_EVENT_TYPE_UNSPECIFIED": 0, "FILE_EVENT_TYPE_CREATED": 1, "FILE_EVENT_TYPE_MODIFIED": 2, "FILE_EVENT_TYPE_DELETED": 3, "FILE_EVENT_TYPE_RENAMED": 4, } )
Enum value maps for FileEventType.
var ( ChangesBase_name = map[int32]string{ 0: "CHANGES_BASE_UNSPECIFIED", 1: "CHANGES_BASE_HEAD", 2: "CHANGES_BASE_DEFAULT_BRANCH", 3: "CHANGES_BASE_LAST_COMMIT", } ChangesBase_value = map[string]int32{ "CHANGES_BASE_UNSPECIFIED": 0, "CHANGES_BASE_HEAD": 1, "CHANGES_BASE_DEFAULT_BRANCH": 2, "CHANGES_BASE_LAST_COMMIT": 3, } )
Enum value maps for ChangesBase.
var ( ChangeStatus_name = map[int32]string{ 0: "CHANGE_STATUS_UNSPECIFIED", 1: "CHANGE_STATUS_ADDED", 2: "CHANGE_STATUS_MODIFIED", 3: "CHANGE_STATUS_DELETED", 4: "CHANGE_STATUS_RENAMED", 5: "CHANGE_STATUS_COPIED", 6: "CHANGE_STATUS_UNTRACKED", 7: "CHANGE_STATUS_CONFLICTED", 8: "CHANGE_STATUS_TYPE_CHANGED", } ChangeStatus_value = map[string]int32{ "CHANGE_STATUS_UNSPECIFIED": 0, "CHANGE_STATUS_ADDED": 1, "CHANGE_STATUS_MODIFIED": 2, "CHANGE_STATUS_DELETED": 3, "CHANGE_STATUS_RENAMED": 4, "CHANGE_STATUS_COPIED": 5, "CHANGE_STATUS_UNTRACKED": 6, "CHANGE_STATUS_CONFLICTED": 7, "CHANGE_STATUS_TYPE_CHANGED": 8, } )
Enum value maps for ChangeStatus.
var Control_ServiceDesc = grpc.ServiceDesc{ ServiceName: "devbox.v1.Control", HandlerType: (*ControlServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateInstance", Handler: _Control_CreateInstance_Handler, }, { MethodName: "StartFromSnapshot", Handler: _Control_StartFromSnapshot_Handler, }, { MethodName: "CancelInstance", Handler: _Control_CancelInstance_Handler, }, { MethodName: "SuspendInstance", Handler: _Control_SuspendInstance_Handler, }, { MethodName: "ResumeInstance", Handler: _Control_ResumeInstance_Handler, }, { MethodName: "SnapshotInstance", Handler: _Control_SnapshotInstance_Handler, }, { MethodName: "DeleteSnapshot", Handler: _Control_DeleteSnapshot_Handler, }, { MethodName: "SetAgentBilling", Handler: _Control_SetAgentBilling_Handler, }, { MethodName: "CreateThread", Handler: _Control_CreateThread_Handler, }, { MethodName: "ListThreads", Handler: _Control_ListThreads_Handler, }, { MethodName: "ImportThread", Handler: _Control_ImportThread_Handler, }, { MethodName: "ResumeThread", Handler: _Control_ResumeThread_Handler, }, { MethodName: "CloseThread", Handler: _Control_CloseThread_Handler, }, { MethodName: "DeleteThread", Handler: _Control_DeleteThread_Handler, }, { MethodName: "ForkThread", Handler: _Control_ForkThread_Handler, }, { MethodName: "Prompt", Handler: _Control_Prompt_Handler, }, { MethodName: "CancelPrompt", Handler: _Control_CancelPrompt_Handler, }, { MethodName: "UpdateQueuedPrompt", Handler: _Control_UpdateQueuedPrompt_Handler, }, { MethodName: "SetThreadConfigOption", Handler: _Control_SetThreadConfigOption_Handler, }, { MethodName: "RespondInteraction", Handler: _Control_RespondInteraction_Handler, }, { MethodName: "ListCommands", Handler: _Control_ListCommands_Handler, }, { MethodName: "GetTimeline", Handler: _Control_GetTimeline_Handler, }, { MethodName: "GetSessions", Handler: _Control_GetSessions_Handler, }, { MethodName: "SetInstanceLeases", Handler: _Control_SetInstanceLeases_Handler, }, { MethodName: "AddRepository", Handler: _Control_AddRepository_Handler, }, { MethodName: "ListRepositories", Handler: _Control_ListRepositories_Handler, }, { MethodName: "ListFiles", Handler: _Control_ListFiles_Handler, }, { MethodName: "ReadFile", Handler: _Control_ReadFile_Handler, }, { MethodName: "WriteFile", Handler: _Control_WriteFile_Handler, }, { MethodName: "GetChanges", Handler: _Control_GetChanges_Handler, }, { MethodName: "PreparePullRequest", Handler: _Control_PreparePullRequest_Handler, }, { MethodName: "OpenStream", Handler: _Control_OpenStream_Handler, }, { MethodName: "InvalidateAllowlist", Handler: _Control_InvalidateAllowlist_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "devbox/v1/control.proto", }
Control_ServiceDesc is the grpc.ServiceDesc for Control service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Daemon_ServiceDesc = grpc.ServiceDesc{ ServiceName: "devbox.v1.Daemon", HandlerType: (*DaemonServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Health", Handler: _Daemon_Health_Handler, }, { MethodName: "Initialize", Handler: _Daemon_Initialize_Handler, }, { MethodName: "GetInfo", Handler: _Daemon_GetInfo_Handler, }, { MethodName: "ProbeAgents", Handler: _Daemon_ProbeAgents_Handler, }, { MethodName: "PrepareSuspend", Handler: _Daemon_PrepareSuspend_Handler, }, { MethodName: "AckEvents", Handler: _Daemon_AckEvents_Handler, }, { MethodName: "GetTimeline", Handler: _Daemon_GetTimeline_Handler, }, { MethodName: "GetSessions", Handler: _Daemon_GetSessions_Handler, }, { MethodName: "CreateThread", Handler: _Daemon_CreateThread_Handler, }, { MethodName: "ListThreads", Handler: _Daemon_ListThreads_Handler, }, { MethodName: "ImportThread", Handler: _Daemon_ImportThread_Handler, }, { MethodName: "ResumeThread", Handler: _Daemon_ResumeThread_Handler, }, { MethodName: "CloseThread", Handler: _Daemon_CloseThread_Handler, }, { MethodName: "DeleteThread", Handler: _Daemon_DeleteThread_Handler, }, { MethodName: "ForkThread", Handler: _Daemon_ForkThread_Handler, }, { MethodName: "Prompt", Handler: _Daemon_Prompt_Handler, }, { MethodName: "CancelPrompt", Handler: _Daemon_CancelPrompt_Handler, }, { MethodName: "UpdateQueuedPrompt", Handler: _Daemon_UpdateQueuedPrompt_Handler, }, { MethodName: "SetThreadConfigOption", Handler: _Daemon_SetThreadConfigOption_Handler, }, { MethodName: "RespondInteraction", Handler: _Daemon_RespondInteraction_Handler, }, { MethodName: "ListCommands", Handler: _Daemon_ListCommands_Handler, }, { MethodName: "SetAgentBilling", Handler: _Daemon_SetAgentBilling_Handler, }, { MethodName: "CreateTerminal", Handler: _Daemon_CreateTerminal_Handler, }, { MethodName: "ListTerminals", Handler: _Daemon_ListTerminals_Handler, }, { MethodName: "ResizeTerminal", Handler: _Daemon_ResizeTerminal_Handler, }, { MethodName: "CloseTerminal", Handler: _Daemon_CloseTerminal_Handler, }, { MethodName: "ListFiles", Handler: _Daemon_ListFiles_Handler, }, { MethodName: "StatFile", Handler: _Daemon_StatFile_Handler, }, { MethodName: "ReadFile", Handler: _Daemon_ReadFile_Handler, }, { MethodName: "WriteFile", Handler: _Daemon_WriteFile_Handler, }, { MethodName: "GetChanges", Handler: _Daemon_GetChanges_Handler, }, { MethodName: "GetBranchDiffStat", Handler: _Daemon_GetBranchDiffStat_Handler, }, { MethodName: "PreparePullRequest", Handler: _Daemon_PreparePullRequest_Handler, }, { MethodName: "AddRepository", Handler: _Daemon_AddRepository_Handler, }, { MethodName: "ListRepositories", Handler: _Daemon_ListRepositories_Handler, }, { MethodName: "StartBrowser", Handler: _Daemon_StartBrowser_Handler, }, { MethodName: "StopBrowser", Handler: _Daemon_StopBrowser_Handler, }, { MethodName: "GetBrowser", Handler: _Daemon_GetBrowser_Handler, }, { MethodName: "SetLeases", Handler: _Daemon_SetLeases_Handler, }, { MethodName: "GetIdleState", Handler: _Daemon_GetIdleState_Handler, }, { MethodName: "PushCredential", Handler: _Daemon_PushCredential_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "SubscribeEvents", Handler: _Daemon_SubscribeEvents_Handler, ServerStreams: true, }, { StreamName: "AttachTerminal", Handler: _Daemon_AttachTerminal_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "WatchFiles", Handler: _Daemon_WatchFiles_Handler, ServerStreams: true, }, }, Metadata: "devbox/v1/daemon.proto", }
Daemon_ServiceDesc is the grpc.ServiceDesc for Daemon service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_devbox_v1_acp_proto protoreflect.FileDescriptor
var File_devbox_v1_common_proto protoreflect.FileDescriptor
var File_devbox_v1_control_proto protoreflect.FileDescriptor
var File_devbox_v1_credentials_proto protoreflect.FileDescriptor
var File_devbox_v1_daemon_proto protoreflect.FileDescriptor
var File_devbox_v1_gateway_proto protoreflect.FileDescriptor
var File_devbox_v1_ingest_proto protoreflect.FileDescriptor
var File_devbox_v1_workspace_proto protoreflect.FileDescriptor
var Gateway_ServiceDesc = grpc.ServiceDesc{ ServiceName: "devbox.v1.Gateway", HandlerType: (*GatewayServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateInstance", Handler: _Gateway_CreateInstance_Handler, }, { MethodName: "StartFromSnapshot", Handler: _Gateway_StartFromSnapshot_Handler, }, { MethodName: "CancelInstance", Handler: _Gateway_CancelInstance_Handler, }, { MethodName: "SuspendInstance", Handler: _Gateway_SuspendInstance_Handler, }, { MethodName: "ResumeInstance", Handler: _Gateway_ResumeInstance_Handler, }, { MethodName: "SnapshotInstance", Handler: _Gateway_SnapshotInstance_Handler, }, { MethodName: "DeleteSnapshot", Handler: _Gateway_DeleteSnapshot_Handler, }, { MethodName: "SetAgentBilling", Handler: _Gateway_SetAgentBilling_Handler, }, { MethodName: "CreateThread", Handler: _Gateway_CreateThread_Handler, }, { MethodName: "ListThreads", Handler: _Gateway_ListThreads_Handler, }, { MethodName: "ImportThread", Handler: _Gateway_ImportThread_Handler, }, { MethodName: "ResumeThread", Handler: _Gateway_ResumeThread_Handler, }, { MethodName: "CloseThread", Handler: _Gateway_CloseThread_Handler, }, { MethodName: "DeleteThread", Handler: _Gateway_DeleteThread_Handler, }, { MethodName: "ForkThread", Handler: _Gateway_ForkThread_Handler, }, { MethodName: "Prompt", Handler: _Gateway_Prompt_Handler, }, { MethodName: "CancelPrompt", Handler: _Gateway_CancelPrompt_Handler, }, { MethodName: "UpdateQueuedPrompt", Handler: _Gateway_UpdateQueuedPrompt_Handler, }, { MethodName: "SetThreadConfigOption", Handler: _Gateway_SetThreadConfigOption_Handler, }, { MethodName: "RespondInteraction", Handler: _Gateway_RespondInteraction_Handler, }, { MethodName: "ListCommands", Handler: _Gateway_ListCommands_Handler, }, { MethodName: "GetTimeline", Handler: _Gateway_GetTimeline_Handler, }, { MethodName: "GetSessions", Handler: _Gateway_GetSessions_Handler, }, { MethodName: "SetInstanceLeases", Handler: _Gateway_SetInstanceLeases_Handler, }, { MethodName: "AddRepository", Handler: _Gateway_AddRepository_Handler, }, { MethodName: "ListRepositories", Handler: _Gateway_ListRepositories_Handler, }, { MethodName: "ListFiles", Handler: _Gateway_ListFiles_Handler, }, { MethodName: "ReadFile", Handler: _Gateway_ReadFile_Handler, }, { MethodName: "WriteFile", Handler: _Gateway_WriteFile_Handler, }, { MethodName: "GetChanges", Handler: _Gateway_GetChanges_Handler, }, { MethodName: "PreparePullRequest", Handler: _Gateway_PreparePullRequest_Handler, }, { MethodName: "OpenStream", Handler: _Gateway_OpenStream_Handler, }, { MethodName: "InvalidateAllowlist", Handler: _Gateway_InvalidateAllowlist_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "ProxyStream", Handler: _Gateway_ProxyStream_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "devbox/v1/gateway.proto", }
Gateway_ServiceDesc is the grpc.ServiceDesc for Gateway service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Ingest_ServiceDesc = grpc.ServiceDesc{ ServiceName: "devbox.v1.Ingest", HandlerType: (*IngestServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "RegisterGateway", Handler: _Ingest_RegisterGateway_Handler, }, { MethodName: "Heartbeat", Handler: _Ingest_Heartbeat_Handler, }, { MethodName: "UpsertInstanceIndex", Handler: _Ingest_UpsertInstanceIndex_Handler, }, { MethodName: "PushInstanceDeltas", Handler: _Ingest_PushInstanceDeltas_Handler, }, { MethodName: "ReportInstanceStatus", Handler: _Ingest_ReportInstanceStatus_Handler, }, { MethodName: "ReportSnapshot", Handler: _Ingest_ReportSnapshot_Handler, }, { MethodName: "GetInstanceCredentials", Handler: _Ingest_GetInstanceCredentials_Handler, }, { MethodName: "UpdateAgentCredential", Handler: _Ingest_UpdateAgentCredential_Handler, }, { MethodName: "ReportPullRequest", Handler: _Ingest_ReportPullRequest_Handler, }, { MethodName: "DevboxPullRequest", Handler: _Ingest_DevboxPullRequest_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "devbox/v1/ingest.proto", }
Ingest_ServiceDesc is the grpc.ServiceDesc for Ingest service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var SandboxCredentials_ServiceDesc = grpc.ServiceDesc{ ServiceName: "devbox.v1.SandboxCredentials", HandlerType: (*SandboxCredentialsServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetSandboxCredential", Handler: _SandboxCredentials_GetSandboxCredential_Handler, }, { MethodName: "UpdateCodexBundle", Handler: _SandboxCredentials_UpdateCodexBundle_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "devbox/v1/credentials.proto", }
SandboxCredentials_ServiceDesc is the grpc.ServiceDesc for SandboxCredentials service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Tunnel_ServiceDesc = grpc.ServiceDesc{ ServiceName: "devbox.v1.Tunnel", HandlerType: (*TunnelServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "Connect", Handler: _Tunnel_Connect_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "devbox/v1/gateway.proto", }
Tunnel_ServiceDesc is the grpc.ServiceDesc for Tunnel service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func GatewayMethodForControl ¶
GatewayMethodForControl maps a full Control method name, e.g. "/devbox.v1.Control/GetTimeline", to the Gateway method KAS forwards it to through the tunnel. It returns false for anything that isn't a Control method the Gateway also serves.
func RegisterControlServer ¶
func RegisterControlServer(s grpc.ServiceRegistrar, srv ControlServer)
func RegisterDaemonServer ¶
func RegisterDaemonServer(s grpc.ServiceRegistrar, srv DaemonServer)
func RegisterGatewayServer ¶
func RegisterGatewayServer(s grpc.ServiceRegistrar, srv GatewayServer)
func RegisterIngestServer ¶
func RegisterIngestServer(s grpc.ServiceRegistrar, srv IngestServer)
func RegisterSandboxCredentialsServer ¶
func RegisterSandboxCredentialsServer(s grpc.ServiceRegistrar, srv SandboxCredentialsServer)
func RegisterTunnelServer ¶
func RegisterTunnelServer(s grpc.ServiceRegistrar, srv TunnelServer)
Types ¶
type AckEventsRequest ¶
type AckEventsRequest struct {
Offset uint64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
// contains filtered or unexported fields
}
func (*AckEventsRequest) Descriptor
deprecated
func (*AckEventsRequest) Descriptor() ([]byte, []int)
Deprecated: Use AckEventsRequest.ProtoReflect.Descriptor instead.
func (*AckEventsRequest) GetOffset ¶
func (x *AckEventsRequest) GetOffset() uint64
func (*AckEventsRequest) ProtoMessage ¶
func (*AckEventsRequest) ProtoMessage()
func (*AckEventsRequest) ProtoReflect ¶
func (x *AckEventsRequest) ProtoReflect() protoreflect.Message
func (*AckEventsRequest) Reset ¶
func (x *AckEventsRequest) Reset()
func (*AckEventsRequest) String ¶
func (x *AckEventsRequest) String() string
type AckEventsResponse ¶
type AckEventsResponse struct {
AckedOffset uint64 `protobuf:"varint,1,opt,name=acked_offset,json=ackedOffset,proto3" json:"acked_offset,omitempty"`
// contains filtered or unexported fields
}
func (*AckEventsResponse) Descriptor
deprecated
func (*AckEventsResponse) Descriptor() ([]byte, []int)
Deprecated: Use AckEventsResponse.ProtoReflect.Descriptor instead.
func (*AckEventsResponse) GetAckedOffset ¶
func (x *AckEventsResponse) GetAckedOffset() uint64
func (*AckEventsResponse) ProtoMessage ¶
func (*AckEventsResponse) ProtoMessage()
func (*AckEventsResponse) ProtoReflect ¶
func (x *AckEventsResponse) ProtoReflect() protoreflect.Message
func (*AckEventsResponse) Reset ¶
func (x *AckEventsResponse) Reset()
func (*AckEventsResponse) String ¶
func (x *AckEventsResponse) String() string
type AcpEntity ¶
type AcpEntity struct {
Key *EntityKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
// First-seen ordinal within the session; ACP's timeline position. Never changes once assigned.
Position uint64 `protobuf:"varint,2,opt,name=position,proto3" json:"position,omitempty"`
// Starts at 1 and increments every time the entity is (re)settled, including patches after `idle`.
Revision uint64 `protobuf:"varint,3,opt,name=revision,proto3" json:"revision,omitempty"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
// False for in-flight entities merged into a timeline read by the gateway.
Settled bool `protobuf:"varint,6,opt,name=settled,proto3" json:"settled,omitempty"`
// The verbatim ACP v2 entity JSON. This is authoritative; the typed `body` below is a decoded view that the
// daemon fills on a best-effort basis (and leaves as `unknown` when it can't decode the payload).
AcpJson []byte `protobuf:"bytes,7,opt,name=acp_json,json=acpJson,proto3" json:"acp_json,omitempty"`
// Types that are valid to be assigned to Body:
//
// *AcpEntity_Message
// *AcpEntity_SessionMessage
// *AcpEntity_ToolCall
// *AcpEntity_Plan
// *AcpEntity_Terminal
// *AcpEntity_Compaction
// *AcpEntity_Unknown
Body isAcpEntity_Body `protobuf_oneof:"body"`
// contains filtered or unexported fields
}
AcpEntity is one revision of an ACP entity: what the box's transcript stores and timelines return.
func (*AcpEntity) Descriptor
deprecated
func (*AcpEntity) GetAcpJson ¶
func (*AcpEntity) GetCompaction ¶
func (x *AcpEntity) GetCompaction() *CompactionEntity
func (*AcpEntity) GetCreatedAt ¶
func (x *AcpEntity) GetCreatedAt() *timestamppb.Timestamp
func (*AcpEntity) GetMessage ¶
func (x *AcpEntity) GetMessage() *MessageEntity
func (*AcpEntity) GetPlan ¶
func (x *AcpEntity) GetPlan() *PlanEntity
func (*AcpEntity) GetPosition ¶
func (*AcpEntity) GetRevision ¶
func (*AcpEntity) GetSessionMessage ¶
func (x *AcpEntity) GetSessionMessage() *SessionMessageEntity
func (*AcpEntity) GetSettled ¶
func (*AcpEntity) GetTerminal ¶
func (x *AcpEntity) GetTerminal() *TerminalEntity
func (*AcpEntity) GetToolCall ¶
func (*AcpEntity) GetUnknown ¶
func (x *AcpEntity) GetUnknown() *UnknownVariant
func (*AcpEntity) GetUpdatedAt ¶
func (x *AcpEntity) GetUpdatedAt() *timestamppb.Timestamp
func (*AcpEntity) ProtoMessage ¶
func (*AcpEntity) ProtoMessage()
func (*AcpEntity) ProtoReflect ¶
func (x *AcpEntity) ProtoReflect() protoreflect.Message
type AcpEntity_Compaction ¶
type AcpEntity_Compaction struct {
Compaction *CompactionEntity `protobuf:"bytes,15,opt,name=compaction,proto3,oneof"`
}
type AcpEntity_Message ¶
type AcpEntity_Message struct {
// USER_MESSAGE, AGENT_MESSAGE, AGENT_THOUGHT.
Message *MessageEntity `protobuf:"bytes,10,opt,name=message,proto3,oneof"`
}
type AcpEntity_Plan ¶
type AcpEntity_Plan struct {
Plan *PlanEntity `protobuf:"bytes,13,opt,name=plan,proto3,oneof"`
}
type AcpEntity_SessionMessage ¶
type AcpEntity_SessionMessage struct {
SessionMessage *SessionMessageEntity `protobuf:"bytes,11,opt,name=session_message,json=sessionMessage,proto3,oneof"`
}
type AcpEntity_Terminal ¶
type AcpEntity_Terminal struct {
Terminal *TerminalEntity `protobuf:"bytes,14,opt,name=terminal,proto3,oneof"`
}
type AcpEntity_ToolCall ¶
type AcpEntity_ToolCall struct {
ToolCall *ToolCall `protobuf:"bytes,12,opt,name=tool_call,json=toolCall,proto3,oneof"`
}
type AcpEntity_Unknown ¶
type AcpEntity_Unknown struct {
Unknown *UnknownVariant `protobuf:"bytes,20,opt,name=unknown,proto3,oneof"`
}
type AddRepositoryRequest ¶
type AddRepositoryRequest struct {
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
Repository *RepositorySpec `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"`
RequestedBy *Principal `protobuf:"bytes,3,opt,name=requested_by,json=requestedBy,proto3" json:"requested_by,omitempty"`
// Repeating a key returns the existing checkout.
IdempotencyKey string `protobuf:"bytes,4,opt,name=idempotency_key,json=idempotencyKey,proto3" json:"idempotency_key,omitempty"`
// contains filtered or unexported fields
}
func (*AddRepositoryRequest) Descriptor
deprecated
func (*AddRepositoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddRepositoryRequest.ProtoReflect.Descriptor instead.
func (*AddRepositoryRequest) GetIdempotencyKey ¶
func (x *AddRepositoryRequest) GetIdempotencyKey() string
func (*AddRepositoryRequest) GetInstanceId ¶
func (x *AddRepositoryRequest) GetInstanceId() string
func (*AddRepositoryRequest) GetRepository ¶
func (x *AddRepositoryRequest) GetRepository() *RepositorySpec
func (*AddRepositoryRequest) GetRequestedBy ¶
func (x *AddRepositoryRequest) GetRequestedBy() *Principal
func (*AddRepositoryRequest) ProtoMessage ¶
func (*AddRepositoryRequest) ProtoMessage()
func (*AddRepositoryRequest) ProtoReflect ¶
func (x *AddRepositoryRequest) ProtoReflect() protoreflect.Message
func (*AddRepositoryRequest) Reset ¶
func (x *AddRepositoryRequest) Reset()
func (*AddRepositoryRequest) String ¶
func (x *AddRepositoryRequest) String() string
type AddRepositoryResponse ¶
type AddRepositoryResponse struct {
Checkout *Checkout `protobuf:"bytes,1,opt,name=checkout,proto3" json:"checkout,omitempty"`
// contains filtered or unexported fields
}
func (*AddRepositoryResponse) Descriptor
deprecated
func (*AddRepositoryResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddRepositoryResponse.ProtoReflect.Descriptor instead.
func (*AddRepositoryResponse) GetCheckout ¶
func (x *AddRepositoryResponse) GetCheckout() *Checkout
func (*AddRepositoryResponse) ProtoMessage ¶
func (*AddRepositoryResponse) ProtoMessage()
func (*AddRepositoryResponse) ProtoReflect ¶
func (x *AddRepositoryResponse) ProtoReflect() protoreflect.Message
func (*AddRepositoryResponse) Reset ¶
func (x *AddRepositoryResponse) Reset()
func (*AddRepositoryResponse) String ¶
func (x *AddRepositoryResponse) String() string
type AgentCapabilities ¶
type AgentCapabilities struct {
Lifecycle *LifecycleSupport `protobuf:"bytes,1,opt,name=lifecycle,proto3" json:"lifecycle,omitempty"`
PromptImage bool `protobuf:"varint,2,opt,name=prompt_image,json=promptImage,proto3" json:"prompt_image,omitempty"`
PromptAudio bool `protobuf:"varint,3,opt,name=prompt_audio,json=promptAudio,proto3" json:"prompt_audio,omitempty"`
PromptEmbeddedContext bool `` /* 127-byte string literal not displayed */
McpHttp bool `protobuf:"varint,5,opt,name=mcp_http,json=mcpHttp,proto3" json:"mcp_http,omitempty"`
Subagents bool `protobuf:"varint,6,opt,name=subagents,proto3" json:"subagents,omitempty"`
Elicitation bool `protobuf:"varint,7,opt,name=elicitation,proto3" json:"elicitation,omitempty"`
// Verbatim `agentCapabilities` from `initialize`.
Raw *structpb.Struct `protobuf:"bytes,15,opt,name=raw,proto3" json:"raw,omitempty"`
// contains filtered or unexported fields
}
func (*AgentCapabilities) Descriptor
deprecated
func (*AgentCapabilities) Descriptor() ([]byte, []int)
Deprecated: Use AgentCapabilities.ProtoReflect.Descriptor instead.
func (*AgentCapabilities) GetElicitation ¶
func (x *AgentCapabilities) GetElicitation() bool
func (*AgentCapabilities) GetLifecycle ¶
func (x *AgentCapabilities) GetLifecycle() *LifecycleSupport
func (*AgentCapabilities) GetMcpHttp ¶
func (x *AgentCapabilities) GetMcpHttp() bool
func (*AgentCapabilities) GetPromptAudio ¶
func (x *AgentCapabilities) GetPromptAudio() bool
func (*AgentCapabilities) GetPromptEmbeddedContext ¶
func (x *AgentCapabilities) GetPromptEmbeddedContext() bool
func (*AgentCapabilities) GetPromptImage ¶
func (x *AgentCapabilities) GetPromptImage() bool
func (*AgentCapabilities) GetRaw ¶
func (x *AgentCapabilities) GetRaw() *structpb.Struct
func (*AgentCapabilities) GetSubagents ¶
func (x *AgentCapabilities) GetSubagents() bool
func (*AgentCapabilities) ProtoMessage ¶
func (*AgentCapabilities) ProtoMessage()
func (*AgentCapabilities) ProtoReflect ¶
func (x *AgentCapabilities) ProtoReflect() protoreflect.Message
func (*AgentCapabilities) Reset ¶
func (x *AgentCapabilities) Reset()
func (*AgentCapabilities) String ¶
func (x *AgentCapabilities) String() string
type AgentCatalogEntry ¶
type AgentCatalogEntry struct {
Type AgentType `protobuf:"varint,1,opt,name=type,proto3,enum=devbox.v1.AgentType" json:"type,omitempty"`
IsDefault bool `protobuf:"varint,2,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"`
AdapterName string `protobuf:"bytes,3,opt,name=adapter_name,json=adapterName,proto3" json:"adapter_name,omitempty"`
AdapterVersion string `protobuf:"bytes,4,opt,name=adapter_version,json=adapterVersion,proto3" json:"adapter_version,omitempty"`
ProtocolVersion int32 `protobuf:"varint,5,opt,name=protocol_version,json=protocolVersion,proto3" json:"protocol_version,omitempty"`
Capabilities *AgentCapabilities `protobuf:"bytes,6,opt,name=capabilities,proto3" json:"capabilities,omitempty"`
// Values of the model-category config option, before console narrows them by the CRD allowlist and the AI
// proxy's configured models.
Models []*ConfigOptionValue `protobuf:"bytes,7,rep,name=models,proto3" json:"models,omitempty"`
// The agent's current value for the model option in a fresh session.
CurrentModel string `protobuf:"bytes,8,opt,name=current_model,json=currentModel,proto3" json:"current_model,omitempty"`
// DevboxRunner.spec.agents[].defaultModel.
DefaultModel string `protobuf:"bytes,9,opt,name=default_model,json=defaultModel,proto3" json:"default_model,omitempty"`
// False when the adapter has no ACP model control (model set by boot flags; UI disables changes).
ModelSwitchable bool `protobuf:"varint,10,opt,name=model_switchable,json=modelSwitchable,proto3" json:"model_switchable,omitempty"`
ModelConfigOptionId string `protobuf:"bytes,11,opt,name=model_config_option_id,json=modelConfigOptionId,proto3" json:"model_config_option_id,omitempty"`
ConfigOptions []*ConfigOption `protobuf:"bytes,12,rep,name=config_options,json=configOptions,proto3" json:"config_options,omitempty"`
InitialCommands []*AvailableCommand `protobuf:"bytes,13,rep,name=initial_commands,json=initialCommands,proto3" json:"initial_commands,omitempty"`
ProbeStatus ProbeStatus `protobuf:"varint,14,opt,name=probe_status,json=probeStatus,proto3,enum=devbox.v1.ProbeStatus" json:"probe_status,omitempty"`
ProbeError string `protobuf:"bytes,15,opt,name=probe_error,json=probeError,proto3" json:"probe_error,omitempty"`
ProbedAt *timestamppb.Timestamp `protobuf:"bytes,16,opt,name=probed_at,json=probedAt,proto3" json:"probed_at,omitempty"`
// contains filtered or unexported fields
}
AgentCatalogEntry is one agent of a box, as probed during the golden boot.
func (*AgentCatalogEntry) Descriptor
deprecated
func (*AgentCatalogEntry) Descriptor() ([]byte, []int)
Deprecated: Use AgentCatalogEntry.ProtoReflect.Descriptor instead.
func (*AgentCatalogEntry) GetAdapterName ¶
func (x *AgentCatalogEntry) GetAdapterName() string
func (*AgentCatalogEntry) GetAdapterVersion ¶
func (x *AgentCatalogEntry) GetAdapterVersion() string
func (*AgentCatalogEntry) GetCapabilities ¶
func (x *AgentCatalogEntry) GetCapabilities() *AgentCapabilities
func (*AgentCatalogEntry) GetConfigOptions ¶
func (x *AgentCatalogEntry) GetConfigOptions() []*ConfigOption
func (*AgentCatalogEntry) GetCurrentModel ¶
func (x *AgentCatalogEntry) GetCurrentModel() string
func (*AgentCatalogEntry) GetDefaultModel ¶
func (x *AgentCatalogEntry) GetDefaultModel() string
func (*AgentCatalogEntry) GetInitialCommands ¶
func (x *AgentCatalogEntry) GetInitialCommands() []*AvailableCommand
func (*AgentCatalogEntry) GetIsDefault ¶
func (x *AgentCatalogEntry) GetIsDefault() bool
func (*AgentCatalogEntry) GetModelConfigOptionId ¶
func (x *AgentCatalogEntry) GetModelConfigOptionId() string
func (*AgentCatalogEntry) GetModelSwitchable ¶
func (x *AgentCatalogEntry) GetModelSwitchable() bool
func (*AgentCatalogEntry) GetModels ¶
func (x *AgentCatalogEntry) GetModels() []*ConfigOptionValue
func (*AgentCatalogEntry) GetProbeError ¶
func (x *AgentCatalogEntry) GetProbeError() string
func (*AgentCatalogEntry) GetProbeStatus ¶
func (x *AgentCatalogEntry) GetProbeStatus() ProbeStatus
func (*AgentCatalogEntry) GetProbedAt ¶
func (x *AgentCatalogEntry) GetProbedAt() *timestamppb.Timestamp
func (*AgentCatalogEntry) GetProtocolVersion ¶
func (x *AgentCatalogEntry) GetProtocolVersion() int32
func (*AgentCatalogEntry) GetType ¶
func (x *AgentCatalogEntry) GetType() AgentType
func (*AgentCatalogEntry) ProtoMessage ¶
func (*AgentCatalogEntry) ProtoMessage()
func (*AgentCatalogEntry) ProtoReflect ¶
func (x *AgentCatalogEntry) ProtoReflect() protoreflect.Message
func (*AgentCatalogEntry) Reset ¶
func (x *AgentCatalogEntry) Reset()
func (*AgentCatalogEntry) String ¶
func (x *AgentCatalogEntry) String() string
type AgentConnection ¶
type AgentConnection struct {
Agent AgentType `protobuf:"varint,1,opt,name=agent,proto3,enum=devbox.v1.AgentType" json:"agent,omitempty"`
ProtocolVersion int32 `protobuf:"varint,2,opt,name=protocol_version,json=protocolVersion,proto3" json:"protocol_version,omitempty"`
AdapterName string `protobuf:"bytes,3,opt,name=adapter_name,json=adapterName,proto3" json:"adapter_name,omitempty"`
AdapterVersion string `protobuf:"bytes,4,opt,name=adapter_version,json=adapterVersion,proto3" json:"adapter_version,omitempty"`
Capabilities *AgentCapabilities `protobuf:"bytes,5,opt,name=capabilities,proto3" json:"capabilities,omitempty"`
Billing BillingMode `protobuf:"varint,6,opt,name=billing,proto3,enum=devbox.v1.BillingMode" json:"billing,omitempty"`
// running, starting, stopped, failed.
State string `protobuf:"bytes,7,opt,name=state,proto3" json:"state,omitempty"`
Error *AgentError `protobuf:"bytes,8,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
AgentConnection is a live ACP connection inside an instance (one per agent type).
func (*AgentConnection) Descriptor
deprecated
func (*AgentConnection) Descriptor() ([]byte, []int)
Deprecated: Use AgentConnection.ProtoReflect.Descriptor instead.
func (*AgentConnection) GetAdapterName ¶
func (x *AgentConnection) GetAdapterName() string
func (*AgentConnection) GetAdapterVersion ¶
func (x *AgentConnection) GetAdapterVersion() string
func (*AgentConnection) GetAgent ¶
func (x *AgentConnection) GetAgent() AgentType
func (*AgentConnection) GetBilling ¶
func (x *AgentConnection) GetBilling() BillingMode
func (*AgentConnection) GetCapabilities ¶
func (x *AgentConnection) GetCapabilities() *AgentCapabilities
func (*AgentConnection) GetError ¶
func (x *AgentConnection) GetError() *AgentError
func (*AgentConnection) GetProtocolVersion ¶
func (x *AgentConnection) GetProtocolVersion() int32
func (*AgentConnection) GetState ¶
func (x *AgentConnection) GetState() string
func (*AgentConnection) ProtoMessage ¶
func (*AgentConnection) ProtoMessage()
func (*AgentConnection) ProtoReflect ¶
func (x *AgentConnection) ProtoReflect() protoreflect.Message
func (*AgentConnection) Reset ¶
func (x *AgentConnection) Reset()
func (*AgentConnection) String ¶
func (x *AgentConnection) String() string
type AgentError ¶
type AgentError struct {
Detail *ErrorDetail `protobuf:"bytes,1,opt,name=detail,proto3" json:"detail,omitempty"`
// JSON-RPC error code and data from the agent, if any.
Code int32 `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"`
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
Data *structpb.Value `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
func (*AgentError) Descriptor
deprecated
func (*AgentError) Descriptor() ([]byte, []int)
Deprecated: Use AgentError.ProtoReflect.Descriptor instead.
func (*AgentError) GetCode ¶
func (x *AgentError) GetCode() int32
func (*AgentError) GetData ¶
func (x *AgentError) GetData() *structpb.Value
func (*AgentError) GetDetail ¶
func (x *AgentError) GetDetail() *ErrorDetail
func (*AgentError) GetMessage ¶
func (x *AgentError) GetMessage() string
func (*AgentError) ProtoMessage ¶
func (*AgentError) ProtoMessage()
func (*AgentError) ProtoReflect ¶
func (x *AgentError) ProtoReflect() protoreflect.Message
func (*AgentError) Reset ¶
func (x *AgentError) Reset()
func (*AgentError) String ¶
func (x *AgentError) String() string
type AgentLaunch ¶
type AgentLaunch struct {
Agent AgentType `protobuf:"varint,1,opt,name=agent,proto3,enum=devbox.v1.AgentType" json:"agent,omitempty"`
Billing BillingMode `protobuf:"varint,2,opt,name=billing,proto3,enum=devbox.v1.BillingMode" json:"billing,omitempty"`
// AgentCredential ID when billing is SUBSCRIPTION. The secret is fetched with GetInstanceCredentials.
CredentialId string `protobuf:"bytes,3,opt,name=credential_id,json=credentialId,proto3" json:"credential_id,omitempty"`
// `claude_oauth_token`, `codex_chatgpt_auth` or `codex_access_token`.
CredentialKind string `protobuf:"bytes,4,opt,name=credential_kind,json=credentialKind,proto3" json:"credential_kind,omitempty"`
// Negotiate ACP v2 when the adapter serves it (DevboxRunner.spec.agents[].acpV2).
AcpV2 bool `protobuf:"varint,5,opt,name=acp_v2,json=acpV2,proto3" json:"acp_v2,omitempty"`
// Owner opted in to let collaborators prompt threads on this subscription-backed agent.
AllowCollaborators bool `protobuf:"varint,6,opt,name=allow_collaborators,json=allowCollaborators,proto3" json:"allow_collaborators,omitempty"`
// Models the console AI proxy serves this agent, set when billing is PROXY. Unset leaves the harness defaults.
ProxyModels *ProxyModels `protobuf:"bytes,7,opt,name=proxy_models,json=proxyModels,proto3" json:"proxy_models,omitempty"`
// contains filtered or unexported fields
}
AgentLaunch configures one agent connection in an instance. Billing is fixed per agent connection because the daemon runs one ACP process per agent type (section 4.6b).
func (*AgentLaunch) Descriptor
deprecated
func (*AgentLaunch) Descriptor() ([]byte, []int)
Deprecated: Use AgentLaunch.ProtoReflect.Descriptor instead.
func (*AgentLaunch) GetAcpV2 ¶
func (x *AgentLaunch) GetAcpV2() bool
func (*AgentLaunch) GetAgent ¶
func (x *AgentLaunch) GetAgent() AgentType
func (*AgentLaunch) GetAllowCollaborators ¶
func (x *AgentLaunch) GetAllowCollaborators() bool
func (*AgentLaunch) GetBilling ¶
func (x *AgentLaunch) GetBilling() BillingMode
func (*AgentLaunch) GetCredentialId ¶
func (x *AgentLaunch) GetCredentialId() string
func (*AgentLaunch) GetCredentialKind ¶
func (x *AgentLaunch) GetCredentialKind() string
func (*AgentLaunch) GetProxyModels ¶
func (x *AgentLaunch) GetProxyModels() *ProxyModels
func (*AgentLaunch) ProtoMessage ¶
func (*AgentLaunch) ProtoMessage()
func (*AgentLaunch) ProtoReflect ¶
func (x *AgentLaunch) ProtoReflect() protoreflect.Message
func (*AgentLaunch) Reset ¶
func (x *AgentLaunch) Reset()
func (*AgentLaunch) String ¶
func (x *AgentLaunch) String() string
type AgentProbeSpec ¶
type AgentProbeSpec struct {
Type AgentType `protobuf:"varint,1,opt,name=type,proto3,enum=devbox.v1.AgentType" json:"type,omitempty"`
IsDefault bool `protobuf:"varint,2,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"`
AdapterVersion string `protobuf:"bytes,3,opt,name=adapter_version,json=adapterVersion,proto3" json:"adapter_version,omitempty"`
// CRD allowlist; recorded, not applied (console narrows).
Models []string `protobuf:"bytes,4,rep,name=models,proto3" json:"models,omitempty"`
DefaultModel string `protobuf:"bytes,5,opt,name=default_model,json=defaultModel,proto3" json:"default_model,omitempty"`
AcpV2 bool `protobuf:"varint,6,opt,name=acp_v2,json=acpV2,proto3" json:"acp_v2,omitempty"`
// contains filtered or unexported fields
}
func (*AgentProbeSpec) Descriptor
deprecated
func (*AgentProbeSpec) Descriptor() ([]byte, []int)
Deprecated: Use AgentProbeSpec.ProtoReflect.Descriptor instead.
func (*AgentProbeSpec) GetAcpV2 ¶
func (x *AgentProbeSpec) GetAcpV2() bool
func (*AgentProbeSpec) GetAdapterVersion ¶
func (x *AgentProbeSpec) GetAdapterVersion() string
func (*AgentProbeSpec) GetDefaultModel ¶
func (x *AgentProbeSpec) GetDefaultModel() string
func (*AgentProbeSpec) GetIsDefault ¶
func (x *AgentProbeSpec) GetIsDefault() bool
func (*AgentProbeSpec) GetModels ¶
func (x *AgentProbeSpec) GetModels() []string
func (*AgentProbeSpec) GetType ¶
func (x *AgentProbeSpec) GetType() AgentType
func (*AgentProbeSpec) ProtoMessage ¶
func (*AgentProbeSpec) ProtoMessage()
func (*AgentProbeSpec) ProtoReflect ¶
func (x *AgentProbeSpec) ProtoReflect() protoreflect.Message
func (*AgentProbeSpec) Reset ¶
func (x *AgentProbeSpec) Reset()
func (*AgentProbeSpec) String ¶
func (x *AgentProbeSpec) String() string
type AgentType ¶
type AgentType int32
AgentType is a harness a box can run (DevboxRunner.spec.agents[].type).
func (AgentType) Descriptor ¶
func (AgentType) Descriptor() protoreflect.EnumDescriptor
func (AgentType) EnumDescriptor
deprecated
func (AgentType) Number ¶
func (x AgentType) Number() protoreflect.EnumNumber
func (AgentType) Type ¶
func (AgentType) Type() protoreflect.EnumType
type Annotations ¶
type Annotations struct {
// "user" and/or "assistant".
Audience []string `protobuf:"bytes,1,rep,name=audience,proto3" json:"audience,omitempty"`
Priority *float64 `protobuf:"fixed64,2,opt,name=priority,proto3,oneof" json:"priority,omitempty"`
// RFC 3339 timestamp, kept as the string the agent sent.
LastModified string `protobuf:"bytes,3,opt,name=last_modified,json=lastModified,proto3" json:"last_modified,omitempty"`
Meta *structpb.Struct `protobuf:"bytes,4,opt,name=meta,proto3" json:"meta,omitempty"`
// contains filtered or unexported fields
}
Annotations is ACP's (MCP-derived) content annotations object.
func (*Annotations) Descriptor
deprecated
func (*Annotations) Descriptor() ([]byte, []int)
Deprecated: Use Annotations.ProtoReflect.Descriptor instead.
func (*Annotations) GetAudience ¶
func (x *Annotations) GetAudience() []string
func (*Annotations) GetLastModified ¶
func (x *Annotations) GetLastModified() string
func (*Annotations) GetMeta ¶
func (x *Annotations) GetMeta() *structpb.Struct
func (*Annotations) GetPriority ¶
func (x *Annotations) GetPriority() float64
func (*Annotations) ProtoMessage ¶
func (*Annotations) ProtoMessage()
func (*Annotations) ProtoReflect ¶
func (x *Annotations) ProtoReflect() protoreflect.Message
func (*Annotations) Reset ¶
func (x *Annotations) Reset()
func (*Annotations) String ¶
func (x *Annotations) String() string
type AudioContent ¶
type AudioContent struct {
// Base64 data exactly as sent over ACP.
Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
Annotations *Annotations `protobuf:"bytes,3,opt,name=annotations,proto3" json:"annotations,omitempty"`
Meta *structpb.Struct `protobuf:"bytes,4,opt,name=meta,proto3" json:"meta,omitempty"`
// contains filtered or unexported fields
}
func (*AudioContent) Descriptor
deprecated
func (*AudioContent) Descriptor() ([]byte, []int)
Deprecated: Use AudioContent.ProtoReflect.Descriptor instead.
func (*AudioContent) GetAnnotations ¶
func (x *AudioContent) GetAnnotations() *Annotations
func (*AudioContent) GetData ¶
func (x *AudioContent) GetData() string
func (*AudioContent) GetMeta ¶
func (x *AudioContent) GetMeta() *structpb.Struct
func (*AudioContent) GetMimeType ¶
func (x *AudioContent) GetMimeType() string
func (*AudioContent) ProtoMessage ¶
func (*AudioContent) ProtoMessage()
func (*AudioContent) ProtoReflect ¶
func (x *AudioContent) ProtoReflect() protoreflect.Message
func (*AudioContent) Reset ¶
func (x *AudioContent) Reset()
func (*AudioContent) String ¶
func (x *AudioContent) String() string
type Autonomy ¶
type Autonomy int32
Autonomy is how a thread's permission requests are answered. The levels are ordered: a cap of AUTO allows MANUAL and AUTO.
const ( Autonomy_AUTONOMY_UNSPECIFIED Autonomy = 0 // Every permission request goes to a human. Autonomy_AUTONOMY_MANUAL Autonomy = 1 // A reviewer approves what it can and the rest goes to a human: the harness's own (Claude's auto mode, Codex's // guardian) where it runs, otherwise the daemon's, asking the AI proxy's decision model. Autonomy_AUTONOMY_AUTO Autonomy = 2 // Everything is approved without asking. Autonomy_AUTONOMY_FULL Autonomy = 3 )
func (Autonomy) Descriptor ¶
func (Autonomy) Descriptor() protoreflect.EnumDescriptor
func (Autonomy) EnumDescriptor
deprecated
func (Autonomy) Number ¶
func (x Autonomy) Number() protoreflect.EnumNumber
func (Autonomy) Type ¶
func (Autonomy) Type() protoreflect.EnumType
type AutonomyPolicy ¶
type AutonomyPolicy struct {
Default Autonomy `protobuf:"varint,1,opt,name=default,proto3,enum=devbox.v1.Autonomy" json:"default,omitempty"`
Max Autonomy `protobuf:"varint,2,opt,name=max,proto3,enum=devbox.v1.Autonomy" json:"max,omitempty"`
// contains filtered or unexported fields
}
AutonomyPolicy is a runner's autonomy setting for new threads and the highest level a thread may use.
func (*AutonomyPolicy) Descriptor
deprecated
func (*AutonomyPolicy) Descriptor() ([]byte, []int)
Deprecated: Use AutonomyPolicy.ProtoReflect.Descriptor instead.
func (*AutonomyPolicy) GetDefault ¶
func (x *AutonomyPolicy) GetDefault() Autonomy
func (*AutonomyPolicy) GetMax ¶
func (x *AutonomyPolicy) GetMax() Autonomy
func (*AutonomyPolicy) ProtoMessage ¶
func (*AutonomyPolicy) ProtoMessage()
func (*AutonomyPolicy) ProtoReflect ¶
func (x *AutonomyPolicy) ProtoReflect() protoreflect.Message
func (*AutonomyPolicy) Reset ¶
func (x *AutonomyPolicy) Reset()
func (*AutonomyPolicy) String ¶
func (x *AutonomyPolicy) String() string
type AvailableCommand ¶
type AvailableCommand struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
// v2 `input`: {type: "text", hint}. Unset when the command takes no input.
Input *CommandInput `protobuf:"bytes,3,opt,name=input,proto3" json:"input,omitempty"`
Meta *structpb.Struct `protobuf:"bytes,4,opt,name=meta,proto3" json:"meta,omitempty"`
// contains filtered or unexported fields
}
AvailableCommand is an ACP slash command (DBX-48), normalized to v2 shapes.
func (*AvailableCommand) Descriptor
deprecated
func (*AvailableCommand) Descriptor() ([]byte, []int)
Deprecated: Use AvailableCommand.ProtoReflect.Descriptor instead.
func (*AvailableCommand) GetDescription ¶
func (x *AvailableCommand) GetDescription() string
func (*AvailableCommand) GetInput ¶
func (x *AvailableCommand) GetInput() *CommandInput
func (*AvailableCommand) GetMeta ¶
func (x *AvailableCommand) GetMeta() *structpb.Struct
func (*AvailableCommand) GetName ¶
func (x *AvailableCommand) GetName() string
func (*AvailableCommand) ProtoMessage ¶
func (*AvailableCommand) ProtoMessage()
func (*AvailableCommand) ProtoReflect ¶
func (x *AvailableCommand) ProtoReflect() protoreflect.Message
func (*AvailableCommand) Reset ¶
func (x *AvailableCommand) Reset()
func (*AvailableCommand) String ¶
func (x *AvailableCommand) String() string
type AwsIdentity ¶
type AwsIdentity struct {
RoleArn string `protobuf:"bytes,1,opt,name=role_arn,json=roleArn,proto3" json:"role_arn,omitempty"`
DurationSeconds int32 `protobuf:"varint,2,opt,name=duration_seconds,json=durationSeconds,proto3" json:"duration_seconds,omitempty"`
SessionPolicy string `protobuf:"bytes,3,opt,name=session_policy,json=sessionPolicy,proto3" json:"session_policy,omitempty"`
// contains filtered or unexported fields
}
func (*AwsIdentity) Descriptor
deprecated
func (*AwsIdentity) Descriptor() ([]byte, []int)
Deprecated: Use AwsIdentity.ProtoReflect.Descriptor instead.
func (*AwsIdentity) GetDurationSeconds ¶
func (x *AwsIdentity) GetDurationSeconds() int32
func (*AwsIdentity) GetRoleArn ¶
func (x *AwsIdentity) GetRoleArn() string
func (*AwsIdentity) GetSessionPolicy ¶
func (x *AwsIdentity) GetSessionPolicy() string
func (*AwsIdentity) ProtoMessage ¶
func (*AwsIdentity) ProtoMessage()
func (*AwsIdentity) ProtoReflect ¶
func (x *AwsIdentity) ProtoReflect() protoreflect.Message
func (*AwsIdentity) Reset ¶
func (x *AwsIdentity) Reset()
func (*AwsIdentity) String ¶
func (x *AwsIdentity) String() string
type AzureIdentity ¶
type AzureIdentity struct {
TenantId string `protobuf:"bytes,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
ClientId string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
AuthorityHost string `protobuf:"bytes,3,opt,name=authority_host,json=authorityHost,proto3" json:"authority_host,omitempty"`
// contains filtered or unexported fields
}
func (*AzureIdentity) Descriptor
deprecated
func (*AzureIdentity) Descriptor() ([]byte, []int)
Deprecated: Use AzureIdentity.ProtoReflect.Descriptor instead.
func (*AzureIdentity) GetAuthorityHost ¶
func (x *AzureIdentity) GetAuthorityHost() string
func (*AzureIdentity) GetClientId ¶
func (x *AzureIdentity) GetClientId() string
func (*AzureIdentity) GetTenantId ¶
func (x *AzureIdentity) GetTenantId() string
func (*AzureIdentity) ProtoMessage ¶
func (*AzureIdentity) ProtoMessage()
func (*AzureIdentity) ProtoReflect ¶
func (x *AzureIdentity) ProtoReflect() protoreflect.Message
func (*AzureIdentity) Reset ¶
func (x *AzureIdentity) Reset()
func (*AzureIdentity) String ¶
func (x *AzureIdentity) String() string
type BillingMode ¶
type BillingMode int32
BillingMode selects how an agent connection pays for model traffic (section 4.11).
const ( BillingMode_BILLING_MODE_UNSPECIFIED BillingMode = 0 // Through the console AI proxy, with the instance's proxy token injected at egress. BillingMode_BILLING_MODE_PROXY BillingMode = 1 // On the instance owner's linked Claude or ChatGPT plan. BillingMode_BILLING_MODE_SUBSCRIPTION BillingMode = 2 )
func (BillingMode) Descriptor ¶
func (BillingMode) Descriptor() protoreflect.EnumDescriptor
func (BillingMode) Enum ¶
func (x BillingMode) Enum() *BillingMode
func (BillingMode) EnumDescriptor
deprecated
func (BillingMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use BillingMode.Descriptor instead.
func (BillingMode) Number ¶
func (x BillingMode) Number() protoreflect.EnumNumber
func (BillingMode) String ¶
func (x BillingMode) String() string
func (BillingMode) Type ¶
func (BillingMode) Type() protoreflect.EnumType
type BlobResourceContents ¶
type BlobResourceContents struct {
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
// Base64 data exactly as sent over ACP.
Blob string `protobuf:"bytes,3,opt,name=blob,proto3" json:"blob,omitempty"`
Meta *structpb.Struct `protobuf:"bytes,4,opt,name=meta,proto3" json:"meta,omitempty"`
// contains filtered or unexported fields
}
func (*BlobResourceContents) Descriptor
deprecated
func (*BlobResourceContents) Descriptor() ([]byte, []int)
Deprecated: Use BlobResourceContents.ProtoReflect.Descriptor instead.
func (*BlobResourceContents) GetBlob ¶
func (x *BlobResourceContents) GetBlob() string
func (*BlobResourceContents) GetMeta ¶
func (x *BlobResourceContents) GetMeta() *structpb.Struct
func (*BlobResourceContents) GetMimeType ¶
func (x *BlobResourceContents) GetMimeType() string
func (*BlobResourceContents) GetUri ¶
func (x *BlobResourceContents) GetUri() string
func (*BlobResourceContents) ProtoMessage ¶
func (*BlobResourceContents) ProtoMessage()
func (*BlobResourceContents) ProtoReflect ¶
func (x *BlobResourceContents) ProtoReflect() protoreflect.Message
func (*BlobResourceContents) Reset ¶
func (x *BlobResourceContents) Reset()
func (*BlobResourceContents) String ¶
func (x *BlobResourceContents) String() string
type BranchDiffStatRequest ¶
type BranchDiffStatRequest struct {
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
// A checkout's name or path, or its remote URL.
Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"`
Base string `protobuf:"bytes,3,opt,name=base,proto3" json:"base,omitempty"`
Head string `protobuf:"bytes,4,opt,name=head,proto3" json:"head,omitempty"`
// contains filtered or unexported fields
}
func (*BranchDiffStatRequest) Descriptor
deprecated
func (*BranchDiffStatRequest) Descriptor() ([]byte, []int)
Deprecated: Use BranchDiffStatRequest.ProtoReflect.Descriptor instead.
func (*BranchDiffStatRequest) GetBase ¶
func (x *BranchDiffStatRequest) GetBase() string
func (*BranchDiffStatRequest) GetHead ¶
func (x *BranchDiffStatRequest) GetHead() string
func (*BranchDiffStatRequest) GetInstanceId ¶
func (x *BranchDiffStatRequest) GetInstanceId() string
func (*BranchDiffStatRequest) GetRepository ¶
func (x *BranchDiffStatRequest) GetRepository() string
func (*BranchDiffStatRequest) ProtoMessage ¶
func (*BranchDiffStatRequest) ProtoMessage()
func (*BranchDiffStatRequest) ProtoReflect ¶
func (x *BranchDiffStatRequest) ProtoReflect() protoreflect.Message
func (*BranchDiffStatRequest) Reset ¶
func (x *BranchDiffStatRequest) Reset()
func (*BranchDiffStatRequest) String ¶
func (x *BranchDiffStatRequest) String() string
type BranchDiffStatResponse ¶
type BranchDiffStatResponse struct {
Additions int32 `protobuf:"varint,1,opt,name=additions,proto3" json:"additions,omitempty"`
Deletions int32 `protobuf:"varint,2,opt,name=deletions,proto3" json:"deletions,omitempty"`
Files int32 `protobuf:"varint,3,opt,name=files,proto3" json:"files,omitempty"`
BaseSha string `protobuf:"bytes,4,opt,name=base_sha,json=baseSha,proto3" json:"base_sha,omitempty"`
HeadSha string `protobuf:"bytes,5,opt,name=head_sha,json=headSha,proto3" json:"head_sha,omitempty"`
// contains filtered or unexported fields
}
func (*BranchDiffStatResponse) Descriptor
deprecated
func (*BranchDiffStatResponse) Descriptor() ([]byte, []int)
Deprecated: Use BranchDiffStatResponse.ProtoReflect.Descriptor instead.
func (*BranchDiffStatResponse) GetAdditions ¶
func (x *BranchDiffStatResponse) GetAdditions() int32
func (*BranchDiffStatResponse) GetBaseSha ¶
func (x *BranchDiffStatResponse) GetBaseSha() string
func (*BranchDiffStatResponse) GetDeletions ¶
func (x *BranchDiffStatResponse) GetDeletions() int32
func (*BranchDiffStatResponse) GetFiles ¶
func (x *BranchDiffStatResponse) GetFiles() int32
func (*BranchDiffStatResponse) GetHeadSha ¶
func (x *BranchDiffStatResponse) GetHeadSha() string
func (*BranchDiffStatResponse) ProtoMessage ¶
func (*BranchDiffStatResponse) ProtoMessage()
func (*BranchDiffStatResponse) ProtoReflect ¶
func (x *BranchDiffStatResponse) ProtoReflect() protoreflect.Message
func (*BranchDiffStatResponse) Reset ¶
func (x *BranchDiffStatResponse) Reset()
func (*BranchDiffStatResponse) String ¶
func (x *BranchDiffStatResponse) String() string
type BrowserInfo ¶
type BrowserInfo struct {
Running bool `protobuf:"varint,1,opt,name=running,proto3" json:"running,omitempty"`
// Daemon HTTP path of the VNC WebSocket bridge.
VncPath string `protobuf:"bytes,2,opt,name=vnc_path,json=vncPath,proto3" json:"vnc_path,omitempty"`
// Chromium --remote-debugging-port, on localhost inside the sandbox.
CdpPort int32 `protobuf:"varint,3,opt,name=cdp_port,json=cdpPort,proto3" json:"cdp_port,omitempty"`
StartedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
Width int32 `protobuf:"varint,5,opt,name=width,proto3" json:"width,omitempty"`
Height int32 `protobuf:"varint,6,opt,name=height,proto3" json:"height,omitempty"`
// contains filtered or unexported fields
}
func (*BrowserInfo) Descriptor
deprecated
func (*BrowserInfo) Descriptor() ([]byte, []int)
Deprecated: Use BrowserInfo.ProtoReflect.Descriptor instead.
func (*BrowserInfo) GetCdpPort ¶
func (x *BrowserInfo) GetCdpPort() int32
func (*BrowserInfo) GetHeight ¶
func (x *BrowserInfo) GetHeight() int32
func (*BrowserInfo) GetRunning ¶
func (x *BrowserInfo) GetRunning() bool
func (*BrowserInfo) GetStartedAt ¶
func (x *BrowserInfo) GetStartedAt() *timestamppb.Timestamp
func (*BrowserInfo) GetVncPath ¶
func (x *BrowserInfo) GetVncPath() string
func (*BrowserInfo) GetWidth ¶
func (x *BrowserInfo) GetWidth() int32
func (*BrowserInfo) ProtoMessage ¶
func (*BrowserInfo) ProtoMessage()
func (*BrowserInfo) ProtoReflect ¶
func (x *BrowserInfo) ProtoReflect() protoreflect.Message
func (*BrowserInfo) Reset ¶
func (x *BrowserInfo) Reset()
func (*BrowserInfo) String ¶
func (x *BrowserInfo) String() string
type BusyReason ¶
type BusyReason struct {
Kind BusyReasonKind `protobuf:"varint,1,opt,name=kind,proto3,enum=devbox.v1.BusyReasonKind" json:"kind,omitempty"`
// e.g. "go test ./..." or the thread title.
Detail string `protobuf:"bytes,2,opt,name=detail,proto3" json:"detail,omitempty"`
// When this signal stops counting as busy if nothing else happens.
Until *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=until,proto3" json:"until,omitempty"`
// Thread or terminal the signal belongs to, if any.
ThreadId string `protobuf:"bytes,4,opt,name=thread_id,json=threadId,proto3" json:"thread_id,omitempty"`
TerminalId string `protobuf:"bytes,5,opt,name=terminal_id,json=terminalId,proto3" json:"terminal_id,omitempty"`
// contains filtered or unexported fields
}
func (*BusyReason) Descriptor
deprecated
func (*BusyReason) Descriptor() ([]byte, []int)
Deprecated: Use BusyReason.ProtoReflect.Descriptor instead.
func (*BusyReason) GetDetail ¶
func (x *BusyReason) GetDetail() string
func (*BusyReason) GetKind ¶
func (x *BusyReason) GetKind() BusyReasonKind
func (*BusyReason) GetTerminalId ¶
func (x *BusyReason) GetTerminalId() string
func (*BusyReason) GetThreadId ¶
func (x *BusyReason) GetThreadId() string
func (*BusyReason) GetUntil ¶
func (x *BusyReason) GetUntil() *timestamppb.Timestamp
func (*BusyReason) ProtoMessage ¶
func (*BusyReason) ProtoMessage()
func (*BusyReason) ProtoReflect ¶
func (x *BusyReason) ProtoReflect() protoreflect.Message
func (*BusyReason) Reset ¶
func (x *BusyReason) Reset()
func (*BusyReason) String ¶
func (x *BusyReason) String() string
type BusyReasonKind ¶
type BusyReasonKind int32
BusyReasonKind is an activity signal from section 4.3a.
const ( BusyReasonKind_BUSY_REASON_KIND_UNSPECIFIED BusyReasonKind = 0 BusyReasonKind_BUSY_REASON_KIND_AGENT_TURN BusyReasonKind = 1 BusyReasonKind_BUSY_REASON_KIND_PROCESS_ACTIVITY BusyReasonKind = 2 BusyReasonKind_BUSY_REASON_KIND_TERMINAL_JOB BusyReasonKind = 3 BusyReasonKind_BUSY_REASON_KIND_INTERACTIVE_STREAM BusyReasonKind = 4 BusyReasonKind_BUSY_REASON_KIND_VIEWER_LEASE BusyReasonKind = 5 BusyReasonKind_BUSY_REASON_KIND_DEFERRAL_LEASE BusyReasonKind = 6 BusyReasonKind_BUSY_REASON_KIND_PENDING_INTERACTION BusyReasonKind = 7 )
func (BusyReasonKind) Descriptor ¶
func (BusyReasonKind) Descriptor() protoreflect.EnumDescriptor
func (BusyReasonKind) Enum ¶
func (x BusyReasonKind) Enum() *BusyReasonKind
func (BusyReasonKind) EnumDescriptor
deprecated
func (BusyReasonKind) EnumDescriptor() ([]byte, []int)
Deprecated: Use BusyReasonKind.Descriptor instead.
func (BusyReasonKind) Number ¶
func (x BusyReasonKind) Number() protoreflect.EnumNumber
func (BusyReasonKind) String ¶
func (x BusyReasonKind) String() string
func (BusyReasonKind) Type ¶
func (BusyReasonKind) Type() protoreflect.EnumType
type CancelPromptRequest ¶
type CancelPromptRequest struct {
Thread *ThreadRef `protobuf:"bytes,1,opt,name=thread,proto3" json:"thread,omitempty"`
RequestedBy *Principal `protobuf:"bytes,2,opt,name=requested_by,json=requestedBy,proto3" json:"requested_by,omitempty"`
// contains filtered or unexported fields
}
func (*CancelPromptRequest) Descriptor
deprecated
func (*CancelPromptRequest) Descriptor() ([]byte, []int)
Deprecated: Use CancelPromptRequest.ProtoReflect.Descriptor instead.
func (*CancelPromptRequest) GetRequestedBy ¶
func (x *CancelPromptRequest) GetRequestedBy() *Principal
func (*CancelPromptRequest) GetThread ¶
func (x *CancelPromptRequest) GetThread() *ThreadRef
func (*CancelPromptRequest) ProtoMessage ¶
func (*CancelPromptRequest) ProtoMessage()
func (*CancelPromptRequest) ProtoReflect ¶
func (x *CancelPromptRequest) ProtoReflect() protoreflect.Message
func (*CancelPromptRequest) Reset ¶
func (x *CancelPromptRequest) Reset()
func (*CancelPromptRequest) String ¶
func (x *CancelPromptRequest) String() string
type CancelPromptResponse ¶
type CancelPromptResponse struct {
Cancelled bool `protobuf:"varint,1,opt,name=cancelled,proto3" json:"cancelled,omitempty"`
// contains filtered or unexported fields
}
func (*CancelPromptResponse) Descriptor
deprecated
func (*CancelPromptResponse) Descriptor() ([]byte, []int)
Deprecated: Use CancelPromptResponse.ProtoReflect.Descriptor instead.
func (*CancelPromptResponse) GetCancelled ¶
func (x *CancelPromptResponse) GetCancelled() bool
func (*CancelPromptResponse) ProtoMessage ¶
func (*CancelPromptResponse) ProtoMessage()
func (*CancelPromptResponse) ProtoReflect ¶
func (x *CancelPromptResponse) ProtoReflect() protoreflect.Message
func (*CancelPromptResponse) Reset ¶
func (x *CancelPromptResponse) Reset()
func (*CancelPromptResponse) String ¶
func (x *CancelPromptResponse) String() string
type ChangeStatus ¶
type ChangeStatus int32
const ( ChangeStatus_CHANGE_STATUS_UNSPECIFIED ChangeStatus = 0 ChangeStatus_CHANGE_STATUS_ADDED ChangeStatus = 1 ChangeStatus_CHANGE_STATUS_MODIFIED ChangeStatus = 2 ChangeStatus_CHANGE_STATUS_DELETED ChangeStatus = 3 ChangeStatus_CHANGE_STATUS_RENAMED ChangeStatus = 4 ChangeStatus_CHANGE_STATUS_COPIED ChangeStatus = 5 ChangeStatus_CHANGE_STATUS_UNTRACKED ChangeStatus = 6 ChangeStatus_CHANGE_STATUS_CONFLICTED ChangeStatus = 7 ChangeStatus_CHANGE_STATUS_TYPE_CHANGED ChangeStatus = 8 )
func (ChangeStatus) Descriptor ¶
func (ChangeStatus) Descriptor() protoreflect.EnumDescriptor
func (ChangeStatus) Enum ¶
func (x ChangeStatus) Enum() *ChangeStatus
func (ChangeStatus) EnumDescriptor
deprecated
func (ChangeStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use ChangeStatus.Descriptor instead.
func (ChangeStatus) Number ¶
func (x ChangeStatus) Number() protoreflect.EnumNumber
func (ChangeStatus) String ¶
func (x ChangeStatus) String() string
func (ChangeStatus) Type ¶
func (ChangeStatus) Type() protoreflect.EnumType
type ChangesBase ¶
type ChangesBase int32
const ( ChangesBase_CHANGES_BASE_UNSPECIFIED ChangesBase = 0 // Uncommitted changes: working tree and index against HEAD (the default). ChangesBase_CHANGES_BASE_HEAD ChangesBase = 1 // Everything on the branch: working tree against the merge base with the remote default branch. ChangesBase_CHANGES_BASE_DEFAULT_BRANCH ChangesBase = 2 // Only the last commit. ChangesBase_CHANGES_BASE_LAST_COMMIT ChangesBase = 3 )
func (ChangesBase) Descriptor ¶
func (ChangesBase) Descriptor() protoreflect.EnumDescriptor
func (ChangesBase) Enum ¶
func (x ChangesBase) Enum() *ChangesBase
func (ChangesBase) EnumDescriptor
deprecated
func (ChangesBase) EnumDescriptor() ([]byte, []int)
Deprecated: Use ChangesBase.Descriptor instead.
func (ChangesBase) Number ¶
func (x ChangesBase) Number() protoreflect.EnumNumber
func (ChangesBase) String ¶
func (x ChangesBase) String() string
func (ChangesBase) Type ¶
func (ChangesBase) Type() protoreflect.EnumType
type Checkout ¶
type Checkout struct {
// Absolute path, e.g. /home/dev/console or /home/dev/.threads/<thread_id>/console.
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
// Directory name, e.g. "console".
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
RemoteUrl string `protobuf:"bytes,3,opt,name=remote_url,json=remoteUrl,proto3" json:"remote_url,omitempty"`
DefaultBranch string `protobuf:"bytes,4,opt,name=default_branch,json=defaultBranch,proto3" json:"default_branch,omitempty"`
Branch string `protobuf:"bytes,5,opt,name=branch,proto3" json:"branch,omitempty"`
HeadSha string `protobuf:"bytes,6,opt,name=head_sha,json=headSha,proto3" json:"head_sha,omitempty"`
Dirty bool `protobuf:"varint,7,opt,name=dirty,proto3" json:"dirty,omitempty"`
// Set when the checkout is a per-thread worktree.
WorktreeThreadId string `protobuf:"bytes,8,opt,name=worktree_thread_id,json=worktreeThreadId,proto3" json:"worktree_thread_id,omitempty"`
Ahead int32 `protobuf:"varint,9,opt,name=ahead,proto3" json:"ahead,omitempty"`
Behind int32 `protobuf:"varint,10,opt,name=behind,proto3" json:"behind,omitempty"`
// contains filtered or unexported fields
}
Checkout is a git checkout discovered under the home directory or a thread worktree.
func (*Checkout) Descriptor
deprecated
func (*Checkout) GetDefaultBranch ¶
func (*Checkout) GetHeadSha ¶
func (*Checkout) GetRemoteUrl ¶
func (*Checkout) GetWorktreeThreadId ¶
func (*Checkout) ProtoMessage ¶
func (*Checkout) ProtoMessage()
func (*Checkout) ProtoReflect ¶
func (x *Checkout) ProtoReflect() protoreflect.Message
type CloseTerminalRequest ¶
type CloseTerminalRequest struct {
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
TerminalId string `protobuf:"bytes,2,opt,name=terminal_id,json=terminalId,proto3" json:"terminal_id,omitempty"`
// Signal name to send before closing, default SIGHUP.
Signal string `protobuf:"bytes,3,opt,name=signal,proto3" json:"signal,omitempty"`
// contains filtered or unexported fields
}
func (*CloseTerminalRequest) Descriptor
deprecated
func (*CloseTerminalRequest) Descriptor() ([]byte, []int)
Deprecated: Use CloseTerminalRequest.ProtoReflect.Descriptor instead.
func (*CloseTerminalRequest) GetInstanceId ¶
func (x *CloseTerminalRequest) GetInstanceId() string
func (*CloseTerminalRequest) GetSignal ¶
func (x *CloseTerminalRequest) GetSignal() string
func (*CloseTerminalRequest) GetTerminalId ¶
func (x *CloseTerminalRequest) GetTerminalId() string
func (*CloseTerminalRequest) ProtoMessage ¶
func (*CloseTerminalRequest) ProtoMessage()
func (*CloseTerminalRequest) ProtoReflect ¶
func (x *CloseTerminalRequest) ProtoReflect() protoreflect.Message
func (*CloseTerminalRequest) Reset ¶
func (x *CloseTerminalRequest) Reset()
func (*CloseTerminalRequest) String ¶
func (x *CloseTerminalRequest) String() string
type CloudIdentity ¶
type CloudIdentity struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
IsDefault bool `protobuf:"varint,2,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"`
// Types that are valid to be assigned to Cloud:
//
// *CloudIdentity_Aws
// *CloudIdentity_Gcp
// *CloudIdentity_Azure
Cloud isCloudIdentity_Cloud `protobuf_oneof:"cloud"`
// contains filtered or unexported fields
}
CloudIdentity is a DevboxRunner.spec.cloudIdentities entry, given to the daemon so it can write SDK config.
func (*CloudIdentity) Descriptor
deprecated
func (*CloudIdentity) Descriptor() ([]byte, []int)
Deprecated: Use CloudIdentity.ProtoReflect.Descriptor instead.
func (*CloudIdentity) GetAws ¶
func (x *CloudIdentity) GetAws() *AwsIdentity
func (*CloudIdentity) GetAzure ¶
func (x *CloudIdentity) GetAzure() *AzureIdentity
func (*CloudIdentity) GetCloud ¶
func (x *CloudIdentity) GetCloud() isCloudIdentity_Cloud
func (*CloudIdentity) GetGcp ¶
func (x *CloudIdentity) GetGcp() *GcpIdentity
func (*CloudIdentity) GetIsDefault ¶
func (x *CloudIdentity) GetIsDefault() bool
func (*CloudIdentity) GetName ¶
func (x *CloudIdentity) GetName() string
func (*CloudIdentity) ProtoMessage ¶
func (*CloudIdentity) ProtoMessage()
func (*CloudIdentity) ProtoReflect ¶
func (x *CloudIdentity) ProtoReflect() protoreflect.Message
func (*CloudIdentity) Reset ¶
func (x *CloudIdentity) Reset()
func (*CloudIdentity) String ¶
func (x *CloudIdentity) String() string
type CloudIdentity_Aws ¶
type CloudIdentity_Aws struct {
Aws *AwsIdentity `protobuf:"bytes,3,opt,name=aws,proto3,oneof"`
}
type CloudIdentity_Azure ¶
type CloudIdentity_Azure struct {
Azure *AzureIdentity `protobuf:"bytes,5,opt,name=azure,proto3,oneof"`
}
type CloudIdentity_Gcp ¶
type CloudIdentity_Gcp struct {
Gcp *GcpIdentity `protobuf:"bytes,4,opt,name=gcp,proto3,oneof"`
}
type CodexCredentialMode ¶
type CodexCredentialMode int32
const ( CodexCredentialMode_CODEX_CREDENTIAL_MODE_UNSPECIFIED CodexCredentialMode = 0 // auth.json with a rotating refresh token. CodexCredentialMode_CODEX_CREDENTIAL_MODE_CHATGPT_AUTH CodexCredentialMode = 1 // Static Enterprise access token, loaded with `codex login --with-access-token`. CodexCredentialMode_CODEX_CREDENTIAL_MODE_ACCESS_TOKEN CodexCredentialMode = 2 )
func (CodexCredentialMode) Descriptor ¶
func (CodexCredentialMode) Descriptor() protoreflect.EnumDescriptor
func (CodexCredentialMode) Enum ¶
func (x CodexCredentialMode) Enum() *CodexCredentialMode
func (CodexCredentialMode) EnumDescriptor
deprecated
func (CodexCredentialMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use CodexCredentialMode.Descriptor instead.
func (CodexCredentialMode) Number ¶
func (x CodexCredentialMode) Number() protoreflect.EnumNumber
func (CodexCredentialMode) String ¶
func (x CodexCredentialMode) String() string
func (CodexCredentialMode) Type ¶
func (CodexCredentialMode) Type() protoreflect.EnumType
type CommandInput ¶
type CommandInput struct {
// "text".
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
Hint string `protobuf:"bytes,2,opt,name=hint,proto3" json:"hint,omitempty"`
// contains filtered or unexported fields
}
func (*CommandInput) Descriptor
deprecated
func (*CommandInput) Descriptor() ([]byte, []int)
Deprecated: Use CommandInput.ProtoReflect.Descriptor instead.
func (*CommandInput) GetHint ¶
func (x *CommandInput) GetHint() string
func (*CommandInput) GetType ¶
func (x *CommandInput) GetType() string
func (*CommandInput) ProtoMessage ¶
func (*CommandInput) ProtoMessage()
func (*CommandInput) ProtoReflect ¶
func (x *CommandInput) ProtoReflect() protoreflect.Message
func (*CommandInput) Reset ¶
func (x *CommandInput) Reset()
func (*CommandInput) String ¶
func (x *CommandInput) String() string
type CommitSha ¶
type CommitSha struct {
Branch string `protobuf:"bytes,1,opt,name=branch,proto3" json:"branch,omitempty"`
Sha string `protobuf:"bytes,2,opt,name=sha,proto3" json:"sha,omitempty"`
// contains filtered or unexported fields
}
func (*CommitSha) Descriptor
deprecated
func (*CommitSha) ProtoMessage ¶
func (*CommitSha) ProtoMessage()
func (*CommitSha) ProtoReflect ¶
func (x *CommitSha) ProtoReflect() protoreflect.Message
type CompactionEntity ¶
type CompactionEntity struct {
CompactionId string `protobuf:"bytes,1,opt,name=compaction_id,json=compactionId,proto3" json:"compaction_id,omitempty"`
// ACP compaction state, e.g. in_progress, completed.
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
Summary []*ContentBlock `protobuf:"bytes,3,rep,name=summary,proto3" json:"summary,omitempty"`
Meta *structpb.Struct `protobuf:"bytes,4,opt,name=meta,proto3" json:"meta,omitempty"`
// contains filtered or unexported fields
}
func (*CompactionEntity) Descriptor
deprecated
func (*CompactionEntity) Descriptor() ([]byte, []int)
Deprecated: Use CompactionEntity.ProtoReflect.Descriptor instead.
func (*CompactionEntity) GetCompactionId ¶
func (x *CompactionEntity) GetCompactionId() string
func (*CompactionEntity) GetMeta ¶
func (x *CompactionEntity) GetMeta() *structpb.Struct
func (*CompactionEntity) GetStatus ¶
func (x *CompactionEntity) GetStatus() string
func (*CompactionEntity) GetSummary ¶
func (x *CompactionEntity) GetSummary() []*ContentBlock
func (*CompactionEntity) ProtoMessage ¶
func (*CompactionEntity) ProtoMessage()
func (*CompactionEntity) ProtoReflect ¶
func (x *CompactionEntity) ProtoReflect() protoreflect.Message
func (*CompactionEntity) Reset ¶
func (x *CompactionEntity) Reset()
func (*CompactionEntity) String ¶
func (x *CompactionEntity) String() string
type ConfigOption ¶
type ConfigOption struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// model, mode, thought_level, other.
Category string `protobuf:"bytes,4,opt,name=category,proto3" json:"category,omitempty"`
// select (only type today).
Type string `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"`
// The agent's reported current value, not the last requested one.
CurrentValue string `protobuf:"bytes,6,opt,name=current_value,json=currentValue,proto3" json:"current_value,omitempty"`
Options []*ConfigOptionValue `protobuf:"bytes,7,rep,name=options,proto3" json:"options,omitempty"`
Meta *structpb.Struct `protobuf:"bytes,8,opt,name=meta,proto3" json:"meta,omitempty"`
// Verbatim ACP JSON for option types this contract does not model.
RawJson []byte `protobuf:"bytes,9,opt,name=raw_json,json=rawJson,proto3" json:"raw_json,omitempty"`
// contains filtered or unexported fields
}
ConfigOption is an ACP session config option. On v2 modes are config options; v1 `models` / `set_model` and `current_mode_update` are normalized into options with category `model` / `mode`.
func (*ConfigOption) Descriptor
deprecated
func (*ConfigOption) Descriptor() ([]byte, []int)
Deprecated: Use ConfigOption.ProtoReflect.Descriptor instead.
func (*ConfigOption) GetCategory ¶
func (x *ConfigOption) GetCategory() string
func (*ConfigOption) GetCurrentValue ¶
func (x *ConfigOption) GetCurrentValue() string
func (*ConfigOption) GetDescription ¶
func (x *ConfigOption) GetDescription() string
func (*ConfigOption) GetId ¶
func (x *ConfigOption) GetId() string
func (*ConfigOption) GetMeta ¶
func (x *ConfigOption) GetMeta() *structpb.Struct
func (*ConfigOption) GetName ¶
func (x *ConfigOption) GetName() string
func (*ConfigOption) GetOptions ¶
func (x *ConfigOption) GetOptions() []*ConfigOptionValue
func (*ConfigOption) GetRawJson ¶
func (x *ConfigOption) GetRawJson() []byte
func (*ConfigOption) GetType ¶
func (x *ConfigOption) GetType() string
func (*ConfigOption) ProtoMessage ¶
func (*ConfigOption) ProtoMessage()
func (*ConfigOption) ProtoReflect ¶
func (x *ConfigOption) ProtoReflect() protoreflect.Message
func (*ConfigOption) Reset ¶
func (x *ConfigOption) Reset()
func (*ConfigOption) String ¶
func (x *ConfigOption) String() string
type ConfigOptionSetting ¶
type ConfigOptionSetting struct {
// ACP config option ID. For the model the daemon also accepts the literal "model", resolved to the option with
// `category: model`.
ConfigId string `protobuf:"bytes,1,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"`
// ACP select value.
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
ConfigOptionSetting sets one ACP session config option (model, mode, thought level, ...).
func (*ConfigOptionSetting) Descriptor
deprecated
func (*ConfigOptionSetting) Descriptor() ([]byte, []int)
Deprecated: Use ConfigOptionSetting.ProtoReflect.Descriptor instead.
func (*ConfigOptionSetting) GetConfigId ¶
func (x *ConfigOptionSetting) GetConfigId() string
func (*ConfigOptionSetting) GetValue ¶
func (x *ConfigOptionSetting) GetValue() string
func (*ConfigOptionSetting) ProtoMessage ¶
func (*ConfigOptionSetting) ProtoMessage()
func (*ConfigOptionSetting) ProtoReflect ¶
func (x *ConfigOptionSetting) ProtoReflect() protoreflect.Message
func (*ConfigOptionSetting) Reset ¶
func (x *ConfigOptionSetting) Reset()
func (*ConfigOptionSetting) String ¶
func (x *ConfigOptionSetting) String() string
type ConfigOptionValue ¶
type ConfigOptionValue struct {
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// Group name for grouped select options.
Group string `protobuf:"bytes,4,opt,name=group,proto3" json:"group,omitempty"`
Meta *structpb.Struct `protobuf:"bytes,5,opt,name=meta,proto3" json:"meta,omitempty"`
// contains filtered or unexported fields
}
func (*ConfigOptionValue) Descriptor
deprecated
func (*ConfigOptionValue) Descriptor() ([]byte, []int)
Deprecated: Use ConfigOptionValue.ProtoReflect.Descriptor instead.
func (*ConfigOptionValue) GetDescription ¶
func (x *ConfigOptionValue) GetDescription() string
func (*ConfigOptionValue) GetGroup ¶
func (x *ConfigOptionValue) GetGroup() string
func (*ConfigOptionValue) GetMeta ¶
func (x *ConfigOptionValue) GetMeta() *structpb.Struct
func (*ConfigOptionValue) GetName ¶
func (x *ConfigOptionValue) GetName() string
func (*ConfigOptionValue) GetValue ¶
func (x *ConfigOptionValue) GetValue() string
func (*ConfigOptionValue) ProtoMessage ¶
func (*ConfigOptionValue) ProtoMessage()
func (*ConfigOptionValue) ProtoReflect ¶
func (x *ConfigOptionValue) ProtoReflect() protoreflect.Message
func (*ConfigOptionValue) Reset ¶
func (x *ConfigOptionValue) Reset()
func (*ConfigOptionValue) String ¶
func (x *ConfigOptionValue) String() string
type ContentBlock ¶
type ContentBlock struct {
// Types that are valid to be assigned to Block:
//
// *ContentBlock_Text
// *ContentBlock_Image
// *ContentBlock_Audio
// *ContentBlock_Resource
// *ContentBlock_ResourceLink
// *ContentBlock_Unknown
Block isContentBlock_Block `protobuf_oneof:"block"`
// contains filtered or unexported fields
}
ContentBlock is ACP's ContentBlock union.
func (*ContentBlock) Descriptor
deprecated
func (*ContentBlock) Descriptor() ([]byte, []int)
Deprecated: Use ContentBlock.ProtoReflect.Descriptor instead.
func (*ContentBlock) GetAudio ¶
func (x *ContentBlock) GetAudio() *AudioContent
func (*ContentBlock) GetBlock ¶
func (x *ContentBlock) GetBlock() isContentBlock_Block
func (*ContentBlock) GetImage ¶
func (x *ContentBlock) GetImage() *ImageContent
func (*ContentBlock) GetResource ¶
func (x *ContentBlock) GetResource() *EmbeddedResource
func (*ContentBlock) GetResourceLink ¶
func (x *ContentBlock) GetResourceLink() *ResourceLink
func (*ContentBlock) GetText ¶
func (x *ContentBlock) GetText() *TextContent
func (*ContentBlock) GetUnknown ¶
func (x *ContentBlock) GetUnknown() *UnknownVariant
func (*ContentBlock) ProtoMessage ¶
func (*ContentBlock) ProtoMessage()
func (*ContentBlock) ProtoReflect ¶
func (x *ContentBlock) ProtoReflect() protoreflect.Message
func (*ContentBlock) Reset ¶
func (x *ContentBlock) Reset()
func (*ContentBlock) String ¶
func (x *ContentBlock) String() string
type ContentBlock_Audio ¶
type ContentBlock_Audio struct {
Audio *AudioContent `protobuf:"bytes,3,opt,name=audio,proto3,oneof"`
}
type ContentBlock_Image ¶
type ContentBlock_Image struct {
Image *ImageContent `protobuf:"bytes,2,opt,name=image,proto3,oneof"`
}
type ContentBlock_Resource ¶
type ContentBlock_Resource struct {
// `type: resource` (embedded resource).
Resource *EmbeddedResource `protobuf:"bytes,4,opt,name=resource,proto3,oneof"`
}
type ContentBlock_ResourceLink ¶
type ContentBlock_ResourceLink struct {
// `type: resource_link`.
ResourceLink *ResourceLink `protobuf:"bytes,5,opt,name=resource_link,json=resourceLink,proto3,oneof"`
}
type ContentBlock_Text ¶
type ContentBlock_Text struct {
Text *TextContent `protobuf:"bytes,1,opt,name=text,proto3,oneof"`
}
type ContentBlock_Unknown ¶
type ContentBlock_Unknown struct {
// Any `type` this version of the contract does not know.
Unknown *UnknownVariant `protobuf:"bytes,15,opt,name=unknown,proto3,oneof"`
}
type ControlClient ¶
type ControlClient interface {
// CreateInstance creates the actor from the box's golden template tag, registers the instance with the
// credential provider, applies its EgressPolicy and resumes it. Idempotent on instance_id. Returns once the
// gateway has accepted the work; progress arrives through Ingest.ReportInstanceStatus.
CreateInstance(ctx context.Context, in *CreateInstanceRequest, opts ...grpc.CallOption) (*CreateInstanceResponse, error)
// StartFromSnapshot is CreateInstance from a snapshot's tag.
StartFromSnapshot(ctx context.Context, in *StartFromSnapshotRequest, opts ...grpc.CallOption) (*CreateInstanceResponse, error)
// CancelInstance stops the instance for good: deletes the actor (and with it the transcript on its workspace
// volume) and egress policy and revokes cached credentials. Snapshots are kept.
CancelInstance(ctx context.Context, in *InstanceActionRequest, opts ...grpc.CallOption) (*InstanceActionResponse, error)
// SuspendInstance settles in-flight entities, closes the event subscription and suspends the actor.
SuspendInstance(ctx context.Context, in *InstanceActionRequest, opts ...grpc.CallOption) (*InstanceActionResponse, error)
// ResumeInstance resumes a suspended actor and re-subscribes to its events (resume-on-open/prompt).
ResumeInstance(ctx context.Context, in *InstanceActionRequest, opts ...grpc.CallOption) (*InstanceActionResponse, error)
// SnapshotInstance runs prepare (settle, scrub credentials), synchronous suspend, CreateTag, resume. Returns
// when accepted; the result arrives through Ingest.ReportSnapshot.
SnapshotInstance(ctx context.Context, in *SnapshotInstanceRequest, opts ...grpc.CallOption) (*SnapshotInstanceResponse, error)
// DeleteSnapshot deletes the snapshot's Substrate tag.
DeleteSnapshot(ctx context.Context, in *DeleteSnapshotRequest, opts ...grpc.CallOption) (*DeleteSnapshotResponse, error)
// SetAgentBilling restarts one agent connection with different billing ("Switch to Plural AI proxy") and
// resumes its threads.
SetAgentBilling(ctx context.Context, in *SetAgentBillingRequest, opts ...grpc.CallOption) (*SetAgentBillingResponse, error)
// CreateThread: `session/new` (plus `session/set_config_option` for model and initial options).
CreateThread(ctx context.Context, in *CreateThreadRequest, opts ...grpc.CallOption) (*ThreadResponse, error)
// ListThreads: the daemon's threads plus, when requested, importable sessions from `session/list`.
ListThreads(ctx context.Context, in *ListThreadsRequest, opts ...grpc.CallOption) (*ListThreadsResponse, error)
// ImportThread: `session/resume` with `replayFrom: start` (or `session/load` on v1) for a listed session.
ImportThread(ctx context.Context, in *ImportThreadRequest, opts ...grpc.CallOption) (*ThreadResponse, error)
// ResumeThread: reopen a closed thread, `session/resume` (or `session/load`).
ResumeThread(ctx context.Context, in *ResumeThreadRequest, opts ...grpc.CallOption) (*ThreadResponse, error)
// CloseThread: `session/close` (or cancel + drop on agents without close).
CloseThread(ctx context.Context, in *ThreadActionRequest, opts ...grpc.CallOption) (*ThreadResponse, error)
// DeleteThread: `session/delete` when supported; `agent_side_deleted` says whether it was.
DeleteThread(ctx context.Context, in *ThreadActionRequest, opts ...grpc.CallOption) (*DeleteThreadResponse, error)
// ForkThread: `session/fork` or `unstable_forkSession`. UNSUPPORTED when not advertised.
ForkThread(ctx context.Context, in *ForkThreadRequest, opts ...grpc.CallOption) (*ThreadResponse, error)
// Prompt sends `session/prompt`. Returns once the daemon accepted (or queued) it; the turn's progress arrives
// as entities and `state_update`. Idempotent on prompt_id.
Prompt(ctx context.Context, in *PromptRequest, opts ...grpc.CallOption) (*PromptResponse, error)
// CancelPrompt sends `session/cancel` for the thread's current turn.
CancelPrompt(ctx context.Context, in *CancelPromptRequest, opts ...grpc.CallOption) (*CancelPromptResponse, error)
// UpdateQueuedPrompt edits, drops or promotes a prompt still held in the thread's queue.
UpdateQueuedPrompt(ctx context.Context, in *UpdateQueuedPromptRequest, opts ...grpc.CallOption) (*UpdateQueuedPromptResponse, error)
// SetThreadConfigOption: `session/set_config_option`. Returns the agent's reported options.
SetThreadConfigOption(ctx context.Context, in *SetThreadConfigOptionRequest, opts ...grpc.CallOption) (*SetThreadConfigOptionResponse, error)
// RespondInteraction answers a pending permission request or elicitation.
RespondInteraction(ctx context.Context, in *RespondInteractionRequest, opts ...grpc.CallOption) (*RespondInteractionResponse, error)
// ListCommands returns the session's live slash commands (running instances only).
ListCommands(ctx context.Context, in *ListCommandsRequest, opts ...grpc.CallOption) (*ListCommandsResponse, error)
// GetTimeline pages a session's settled entities by position, merged with in-flight state.
GetTimeline(ctx context.Context, in *GetTimelineRequest, opts ...grpc.CallOption) (*GetTimelineResponse, error)
// GetSessions returns the thread and subagent tree.
GetSessions(ctx context.Context, in *GetSessionsRequest, opts ...grpc.CallOption) (*GetSessionsResponse, error)
// SetInstanceLeases replaces the instance's viewer and deferral leases (section 4.3a).
SetInstanceLeases(ctx context.Context, in *SetInstanceLeasesRequest, opts ...grpc.CallOption) (*SetInstanceLeasesResponse, error)
AddRepository(ctx context.Context, in *AddRepositoryRequest, opts ...grpc.CallOption) (*AddRepositoryResponse, error)
ListRepositories(ctx context.Context, in *ListRepositoriesRequest, opts ...grpc.CallOption) (*ListRepositoriesResponse, error)
ListFiles(ctx context.Context, in *ListFilesRequest, opts ...grpc.CallOption) (*ListFilesResponse, error)
ReadFile(ctx context.Context, in *ReadFileRequest, opts ...grpc.CallOption) (*ReadFileResponse, error)
WriteFile(ctx context.Context, in *WriteFileRequest, opts ...grpc.CallOption) (*WriteFileResponse, error)
GetChanges(ctx context.Context, in *GetChangesRequest, opts ...grpc.CallOption) (*GetChangesResponse, error)
// PreparePullRequest readies a checkout for a pull request in the box (see PreparePullRequestRequest).
PreparePullRequest(ctx context.Context, in *PreparePullRequestRequest, opts ...grpc.CallOption) (*PreparePullRequestResponse, error)
// OpenStream prepares a terminal, VNC or preview target and returns a short-lived descriptor. Console mints
// the stream token around it; the browser then connects to KAS at /ext/devbox/streams/... (section 4.6).
OpenStream(ctx context.Context, in *OpenStreamRequest, opts ...grpc.CallOption) (*OpenStreamResponse, error)
// InvalidateAllowlist drops the gateway's cached repository allowlist for a box or instance, and re-applies
// egress policies, after console changes the runner or workbench repositories.
InvalidateAllowlist(ctx context.Context, in *InvalidateAllowlistRequest, opts ...grpc.CallOption) (*InvalidateAllowlistResponse, error)
}
ControlClient is the client API for Control service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewControlClient ¶
func NewControlClient(cc grpc.ClientConnInterface) ControlClient
type ControlServer ¶
type ControlServer interface {
// CreateInstance creates the actor from the box's golden template tag, registers the instance with the
// credential provider, applies its EgressPolicy and resumes it. Idempotent on instance_id. Returns once the
// gateway has accepted the work; progress arrives through Ingest.ReportInstanceStatus.
CreateInstance(context.Context, *CreateInstanceRequest) (*CreateInstanceResponse, error)
// StartFromSnapshot is CreateInstance from a snapshot's tag.
StartFromSnapshot(context.Context, *StartFromSnapshotRequest) (*CreateInstanceResponse, error)
// CancelInstance stops the instance for good: deletes the actor (and with it the transcript on its workspace
// volume) and egress policy and revokes cached credentials. Snapshots are kept.
CancelInstance(context.Context, *InstanceActionRequest) (*InstanceActionResponse, error)
// SuspendInstance settles in-flight entities, closes the event subscription and suspends the actor.
SuspendInstance(context.Context, *InstanceActionRequest) (*InstanceActionResponse, error)
// ResumeInstance resumes a suspended actor and re-subscribes to its events (resume-on-open/prompt).
ResumeInstance(context.Context, *InstanceActionRequest) (*InstanceActionResponse, error)
// SnapshotInstance runs prepare (settle, scrub credentials), synchronous suspend, CreateTag, resume. Returns
// when accepted; the result arrives through Ingest.ReportSnapshot.
SnapshotInstance(context.Context, *SnapshotInstanceRequest) (*SnapshotInstanceResponse, error)
// DeleteSnapshot deletes the snapshot's Substrate tag.
DeleteSnapshot(context.Context, *DeleteSnapshotRequest) (*DeleteSnapshotResponse, error)
// SetAgentBilling restarts one agent connection with different billing ("Switch to Plural AI proxy") and
// resumes its threads.
SetAgentBilling(context.Context, *SetAgentBillingRequest) (*SetAgentBillingResponse, error)
// CreateThread: `session/new` (plus `session/set_config_option` for model and initial options).
CreateThread(context.Context, *CreateThreadRequest) (*ThreadResponse, error)
// ListThreads: the daemon's threads plus, when requested, importable sessions from `session/list`.
ListThreads(context.Context, *ListThreadsRequest) (*ListThreadsResponse, error)
// ImportThread: `session/resume` with `replayFrom: start` (or `session/load` on v1) for a listed session.
ImportThread(context.Context, *ImportThreadRequest) (*ThreadResponse, error)
// ResumeThread: reopen a closed thread, `session/resume` (or `session/load`).
ResumeThread(context.Context, *ResumeThreadRequest) (*ThreadResponse, error)
// CloseThread: `session/close` (or cancel + drop on agents without close).
CloseThread(context.Context, *ThreadActionRequest) (*ThreadResponse, error)
// DeleteThread: `session/delete` when supported; `agent_side_deleted` says whether it was.
DeleteThread(context.Context, *ThreadActionRequest) (*DeleteThreadResponse, error)
// ForkThread: `session/fork` or `unstable_forkSession`. UNSUPPORTED when not advertised.
ForkThread(context.Context, *ForkThreadRequest) (*ThreadResponse, error)
// Prompt sends `session/prompt`. Returns once the daemon accepted (or queued) it; the turn's progress arrives
// as entities and `state_update`. Idempotent on prompt_id.
Prompt(context.Context, *PromptRequest) (*PromptResponse, error)
// CancelPrompt sends `session/cancel` for the thread's current turn.
CancelPrompt(context.Context, *CancelPromptRequest) (*CancelPromptResponse, error)
// UpdateQueuedPrompt edits, drops or promotes a prompt still held in the thread's queue.
UpdateQueuedPrompt(context.Context, *UpdateQueuedPromptRequest) (*UpdateQueuedPromptResponse, error)
// SetThreadConfigOption: `session/set_config_option`. Returns the agent's reported options.
SetThreadConfigOption(context.Context, *SetThreadConfigOptionRequest) (*SetThreadConfigOptionResponse, error)
// RespondInteraction answers a pending permission request or elicitation.
RespondInteraction(context.Context, *RespondInteractionRequest) (*RespondInteractionResponse, error)
// ListCommands returns the session's live slash commands (running instances only).
ListCommands(context.Context, *ListCommandsRequest) (*ListCommandsResponse, error)
// GetTimeline pages a session's settled entities by position, merged with in-flight state.
GetTimeline(context.Context, *GetTimelineRequest) (*GetTimelineResponse, error)
// GetSessions returns the thread and subagent tree.
GetSessions(context.Context, *GetSessionsRequest) (*GetSessionsResponse, error)
// SetInstanceLeases replaces the instance's viewer and deferral leases (section 4.3a).
SetInstanceLeases(context.Context, *SetInstanceLeasesRequest) (*SetInstanceLeasesResponse, error)
AddRepository(context.Context, *AddRepositoryRequest) (*AddRepositoryResponse, error)
ListRepositories(context.Context, *ListRepositoriesRequest) (*ListRepositoriesResponse, error)
ListFiles(context.Context, *ListFilesRequest) (*ListFilesResponse, error)
ReadFile(context.Context, *ReadFileRequest) (*ReadFileResponse, error)
WriteFile(context.Context, *WriteFileRequest) (*WriteFileResponse, error)
GetChanges(context.Context, *GetChangesRequest) (*GetChangesResponse, error)
// PreparePullRequest readies a checkout for a pull request in the box (see PreparePullRequestRequest).
PreparePullRequest(context.Context, *PreparePullRequestRequest) (*PreparePullRequestResponse, error)
// OpenStream prepares a terminal, VNC or preview target and returns a short-lived descriptor. Console mints
// the stream token around it; the browser then connects to KAS at /ext/devbox/streams/... (section 4.6).
OpenStream(context.Context, *OpenStreamRequest) (*OpenStreamResponse, error)
// InvalidateAllowlist drops the gateway's cached repository allowlist for a box or instance, and re-applies
// egress policies, after console changes the runner or workbench repositories.
InvalidateAllowlist(context.Context, *InvalidateAllowlistRequest) (*InvalidateAllowlistResponse, error)
// contains filtered or unexported methods
}
ControlServer is the server API for Control service. All implementations must embed UnimplementedControlServer for forward compatibility.
type Cost ¶
type Cost struct {
Amount float64 `protobuf:"fixed64,1,opt,name=amount,proto3" json:"amount,omitempty"`
Currency string `protobuf:"bytes,2,opt,name=currency,proto3" json:"currency,omitempty"`
// contains filtered or unexported fields
}
func (*Cost) Descriptor
deprecated
func (*Cost) GetCurrency ¶
func (*Cost) ProtoMessage ¶
func (*Cost) ProtoMessage()
func (*Cost) ProtoReflect ¶
func (x *Cost) ProtoReflect() protoreflect.Message
type CreateInstanceRequest ¶
type CreateInstanceRequest struct {
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
DevboxId string `protobuf:"bytes,2,opt,name=devbox_id,json=devboxId,proto3" json:"devbox_id,omitempty"`
WorkbenchId string `protobuf:"bytes,3,opt,name=workbench_id,json=workbenchId,proto3" json:"workbench_id,omitempty"`
// The instance owner, whose subscription credentials (if any) are used.
Owner *Principal `protobuf:"bytes,4,opt,name=owner,proto3" json:"owner,omitempty"`
// DevboxRunner the box was registered from (namespace/name in the workload cluster).
RunnerNamespace string `protobuf:"bytes,5,opt,name=runner_namespace,json=runnerNamespace,proto3" json:"runner_namespace,omitempty"`
RunnerName string `protobuf:"bytes,6,opt,name=runner_name,json=runnerName,proto3" json:"runner_name,omitempty"`
// Default agent and model for new threads.
Agent AgentType `protobuf:"varint,7,opt,name=agent,proto3,enum=devbox.v1.AgentType" json:"agent,omitempty"`
Model string `protobuf:"bytes,8,opt,name=model,proto3" json:"model,omitempty"`
// Initial values for other config options (mode, thought level, ...).
ConfigOptions []*ConfigOptionSetting `protobuf:"bytes,9,rep,name=config_options,json=configOptions,proto3" json:"config_options,omitempty"`
// One entry per agent the instance may use, with billing. Agents not listed use the AI proxy.
Agents []*AgentLaunch `protobuf:"bytes,10,rep,name=agents,proto3" json:"agents,omitempty"`
Repositories []*RepositorySpec `protobuf:"bytes,11,rep,name=repositories,proto3" json:"repositories,omitempty"`
// The effective repository allowlist (runner list narrowed by the workbench). Empty means the runner's list.
AllowedRepositories []string `protobuf:"bytes,12,rep,name=allowed_repositories,json=allowedRepositories,proto3" json:"allowed_repositories,omitempty"`
// Console thread ID and title for the instance's first thread.
FirstThreadId string `protobuf:"bytes,13,opt,name=first_thread_id,json=firstThreadId,proto3" json:"first_thread_id,omitempty"`
FirstThreadTitle string `protobuf:"bytes,14,opt,name=first_thread_title,json=firstThreadTitle,proto3" json:"first_thread_title,omitempty"`
// Effective idle policy and running-thread limit (default 4).
IdlePolicy *IdlePolicy `protobuf:"bytes,15,opt,name=idle_policy,json=idlePolicy,proto3" json:"idle_policy,omitempty"`
MaxRunningThreads int32 `protobuf:"varint,16,opt,name=max_running_threads,json=maxRunningThreads,proto3" json:"max_running_threads,omitempty"`
// Initial leases, typically the creator's viewer lease.
Leases []*Lease `protobuf:"bytes,17,rep,name=leases,proto3" json:"leases,omitempty"`
// Repeating a key returns the existing instance.
IdempotencyKey string `protobuf:"bytes,18,opt,name=idempotency_key,json=idempotencyKey,proto3" json:"idempotency_key,omitempty"`
// Console's AI proxy serves decision models, so threads can run at AUTO with the daemon reviewing permission
// requests where the agent's own reviewer isn't available.
DecisionReview bool `protobuf:"varint,19,opt,name=decision_review,json=decisionReview,proto3" json:"decision_review,omitempty"`
// contains filtered or unexported fields
}
func (*CreateInstanceRequest) Descriptor
deprecated
func (*CreateInstanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateInstanceRequest.ProtoReflect.Descriptor instead.
func (*CreateInstanceRequest) GetAgent ¶
func (x *CreateInstanceRequest) GetAgent() AgentType
func (*CreateInstanceRequest) GetAgents ¶
func (x *CreateInstanceRequest) GetAgents() []*AgentLaunch
func (*CreateInstanceRequest) GetAllowedRepositories ¶
func (x *CreateInstanceRequest) GetAllowedRepositories() []string
func (*CreateInstanceRequest) GetConfigOptions ¶
func (x *CreateInstanceRequest) GetConfigOptions() []*ConfigOptionSetting
func (*CreateInstanceRequest) GetDecisionReview ¶
func (x *CreateInstanceRequest) GetDecisionReview() bool
func (*CreateInstanceRequest) GetDevboxId ¶
func (x *CreateInstanceRequest) GetDevboxId() string
func (*CreateInstanceRequest) GetFirstThreadId ¶
func (x *CreateInstanceRequest) GetFirstThreadId() string
func (*CreateInstanceRequest) GetFirstThreadTitle ¶
func (x *CreateInstanceRequest) GetFirstThreadTitle() string
func (*CreateInstanceRequest) GetIdempotencyKey ¶
func (x *CreateInstanceRequest) GetIdempotencyKey() string
func (*CreateInstanceRequest) GetIdlePolicy ¶
func (x *CreateInstanceRequest) GetIdlePolicy() *IdlePolicy
func (*CreateInstanceRequest) GetInstanceId ¶
func (x *CreateInstanceRequest) GetInstanceId() string
func (*CreateInstanceRequest) GetLeases ¶
func (x *CreateInstanceRequest) GetLeases() []*Lease
func (*CreateInstanceRequest) GetMaxRunningThreads ¶
func (x *CreateInstanceRequest) GetMaxRunningThreads() int32
func (*CreateInstanceRequest) GetModel ¶
func (x *CreateInstanceRequest) GetModel() string
func (*CreateInstanceRequest) GetOwner ¶
func (x *CreateInstanceRequest) GetOwner() *Principal
func (*CreateInstanceRequest) GetRepositories ¶
func (x *CreateInstanceRequest) GetRepositories() []*RepositorySpec
func (*CreateInstanceRequest) GetRunnerName ¶
func (x *CreateInstanceRequest) GetRunnerName() string
func (*CreateInstanceRequest) GetRunnerNamespace ¶
func (x *CreateInstanceRequest) GetRunnerNamespace() string
func (*CreateInstanceRequest) GetWorkbenchId ¶
func (x *CreateInstanceRequest) GetWorkbenchId() string
func (*CreateInstanceRequest) ProtoMessage ¶
func (*CreateInstanceRequest) ProtoMessage()
func (*CreateInstanceRequest) ProtoReflect ¶
func (x *CreateInstanceRequest) ProtoReflect() protoreflect.Message
func (*CreateInstanceRequest) Reset ¶
func (x *CreateInstanceRequest) Reset()
func (*CreateInstanceRequest) String ¶
func (x *CreateInstanceRequest) String() string
type CreateInstanceResponse ¶
type CreateInstanceResponse struct {
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
Status InstanceStatus `protobuf:"varint,2,opt,name=status,proto3,enum=devbox.v1.InstanceStatus" json:"status,omitempty"`
// Substrate actor name.
ActorId string `protobuf:"bytes,3,opt,name=actor_id,json=actorId,proto3" json:"actor_id,omitempty"`
TemplateRevision int64 `protobuf:"varint,4,opt,name=template_revision,json=templateRevision,proto3" json:"template_revision,omitempty"`
// Image digest the instance runs.
ImageDigest string `protobuf:"bytes,5,opt,name=image_digest,json=imageDigest,proto3" json:"image_digest,omitempty"`
// For StartFromSnapshot: FILESYSTEM when the template changed and the restore cold-boots (the UI must say so).
RestoreFidelity SnapshotFidelity `` /* 139-byte string literal not displayed */
Message string `protobuf:"bytes,7,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
func (*CreateInstanceResponse) Descriptor
deprecated
func (*CreateInstanceResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateInstanceResponse.ProtoReflect.Descriptor instead.
func (*CreateInstanceResponse) GetActorId ¶
func (x *CreateInstanceResponse) GetActorId() string
func (*CreateInstanceResponse) GetImageDigest ¶
func (x *CreateInstanceResponse) GetImageDigest() string
func (*CreateInstanceResponse) GetInstanceId ¶
func (x *CreateInstanceResponse) GetInstanceId() string
func (*CreateInstanceResponse) GetMessage ¶
func (x *CreateInstanceResponse) GetMessage() string
func (*CreateInstanceResponse) GetRestoreFidelity ¶
func (x *CreateInstanceResponse) GetRestoreFidelity() SnapshotFidelity
func (*CreateInstanceResponse) GetStatus ¶
func (x *CreateInstanceResponse) GetStatus() InstanceStatus
func (*CreateInstanceResponse) GetTemplateRevision ¶
func (x *CreateInstanceResponse) GetTemplateRevision() int64
func (*CreateInstanceResponse) ProtoMessage ¶
func (*CreateInstanceResponse) ProtoMessage()
func (*CreateInstanceResponse) ProtoReflect ¶
func (x *CreateInstanceResponse) ProtoReflect() protoreflect.Message
func (*CreateInstanceResponse) Reset ¶
func (x *CreateInstanceResponse) Reset()
func (*CreateInstanceResponse) String ¶
func (x *CreateInstanceResponse) String() string
type CreateTerminalRequest ¶
type CreateTerminalRequest struct {
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
// Optional caller-chosen ID; repeating it returns the existing terminal.
TerminalId string `protobuf:"bytes,2,opt,name=terminal_id,json=terminalId,proto3" json:"terminal_id,omitempty"`
// Defaults to the home directory.
Cwd string `protobuf:"bytes,3,opt,name=cwd,proto3" json:"cwd,omitempty"`
// Defaults to the user's login shell.
Command string `protobuf:"bytes,4,opt,name=command,proto3" json:"command,omitempty"`
Args []string `protobuf:"bytes,5,rep,name=args,proto3" json:"args,omitempty"`
Env map[string]string `` /* 133-byte string literal not displayed */
Cols int32 `protobuf:"varint,7,opt,name=cols,proto3" json:"cols,omitempty"`
Rows int32 `protobuf:"varint,8,opt,name=rows,proto3" json:"rows,omitempty"`
CreatedBy *Principal `protobuf:"bytes,9,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
// contains filtered or unexported fields
}
func (*CreateTerminalRequest) Descriptor
deprecated
func (*CreateTerminalRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateTerminalRequest.ProtoReflect.Descriptor instead.
func (*CreateTerminalRequest) GetArgs ¶
func (x *CreateTerminalRequest) GetArgs() []string
func (*CreateTerminalRequest) GetCols ¶
func (x *CreateTerminalRequest) GetCols() int32
func (*CreateTerminalRequest) GetCommand ¶
func (x *CreateTerminalRequest) GetCommand() string
func (*CreateTerminalRequest) GetCreatedBy ¶
func (x *CreateTerminalRequest) GetCreatedBy() *Principal
func (*CreateTerminalRequest) GetCwd ¶
func (x *CreateTerminalRequest) GetCwd() string
func (*CreateTerminalRequest) GetEnv ¶
func (x *CreateTerminalRequest) GetEnv() map[string]string
func (*CreateTerminalRequest) GetInstanceId ¶
func (x *CreateTerminalRequest) GetInstanceId() string
func (*CreateTerminalRequest) GetRows ¶
func (x *CreateTerminalRequest) GetRows() int32
func (*CreateTerminalRequest) GetTerminalId ¶
func (x *CreateTerminalRequest) GetTerminalId() string
func (*CreateTerminalRequest) ProtoMessage ¶
func (*CreateTerminalRequest) ProtoMessage()
func (*CreateTerminalRequest) ProtoReflect ¶
func (x *CreateTerminalRequest) ProtoReflect() protoreflect.Message
func (*CreateTerminalRequest) Reset ¶
func (x *CreateTerminalRequest) Reset()
func (*CreateTerminalRequest) String ¶
func (x *CreateTerminalRequest) String() string
type CreateThreadRequest ¶
type CreateThreadRequest struct {
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
// Console-allocated before `session/new`, so the per-thread MCP entry can carry `X-Devbox-Thread`.
ThreadId string `protobuf:"bytes,2,opt,name=thread_id,json=threadId,proto3" json:"thread_id,omitempty"`
// Unset means the instance default.
Agent AgentType `protobuf:"varint,3,opt,name=agent,proto3,enum=devbox.v1.AgentType" json:"agent,omitempty"`
Model string `protobuf:"bytes,4,opt,name=model,proto3" json:"model,omitempty"`
ConfigOptions []*ConfigOptionSetting `protobuf:"bytes,5,rep,name=config_options,json=configOptions,proto3" json:"config_options,omitempty"`
Title string `protobuf:"bytes,6,opt,name=title,proto3" json:"title,omitempty"`
// "~" (default) or "~/<repo>".
Cwd string `protobuf:"bytes,7,opt,name=cwd,proto3" json:"cwd,omitempty"`
// Create ~/.threads/<thread_id>/<repo> worktrees for these checkouts and use them as the session cwd.
WorktreeRepos []string `protobuf:"bytes,8,rep,name=worktree_repos,json=worktreeRepos,proto3" json:"worktree_repos,omitempty"`
CreatedBy *Principal `protobuf:"bytes,9,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
ResumeIfSuspended bool `protobuf:"varint,10,opt,name=resume_if_suspended,json=resumeIfSuspended,proto3" json:"resume_if_suspended,omitempty"`
// contains filtered or unexported fields
}
func (*CreateThreadRequest) Descriptor
deprecated
func (*CreateThreadRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateThreadRequest.ProtoReflect.Descriptor instead.
func (*CreateThreadRequest) GetAgent ¶
func (x *CreateThreadRequest) GetAgent() AgentType
func (*CreateThreadRequest) GetConfigOptions ¶
func (x *CreateThreadRequest) GetConfigOptions() []*ConfigOptionSetting
func (*CreateThreadRequest) GetCreatedBy ¶
func (x *CreateThreadRequest) GetCreatedBy() *Principal
func (*CreateThreadRequest) GetCwd ¶
func (x *CreateThreadRequest) GetCwd() string
func (*CreateThreadRequest) GetInstanceId ¶
func (x *CreateThreadRequest) GetInstanceId() string
func (*CreateThreadRequest) GetModel ¶
func (x *CreateThreadRequest) GetModel() string
func (*CreateThreadRequest) GetResumeIfSuspended ¶
func (x *CreateThreadRequest) GetResumeIfSuspended() bool
func (*CreateThreadRequest) GetThreadId ¶
func (x *CreateThreadRequest) GetThreadId() string
func (*CreateThreadRequest) GetTitle ¶
func (x *CreateThreadRequest) GetTitle() string
func (*CreateThreadRequest) GetWorktreeRepos ¶
func (x *CreateThreadRequest) GetWorktreeRepos() []string
func (*CreateThreadRequest) ProtoMessage ¶
func (*CreateThreadRequest) ProtoMessage()
func (*CreateThreadRequest) ProtoReflect ¶
func (x *CreateThreadRequest) ProtoReflect() protoreflect.Message
func (*CreateThreadRequest) Reset ¶
func (x *CreateThreadRequest) Reset()
func (*CreateThreadRequest) String ¶
func (x *CreateThreadRequest) String() string
type CredentialKind ¶
type CredentialKind int32
const ( CredentialKind_CREDENTIAL_KIND_UNSPECIFIED CredentialKind = 0 // SCM token (e.g. a repository-scoped GitHub App installation token), one per SCM host. CredentialKind_CREDENTIAL_KIND_SCM CredentialKind = 1 // Instance-scoped console AI proxy token. CredentialKind_CREDENTIAL_KIND_AI_PROXY CredentialKind = 2 // Instance-scoped console token for the workbench MCP. CredentialKind_CREDENTIAL_KIND_CONSOLE CredentialKind = 3 // Workload identity federation JWT, one per cloud identity. CredentialKind_CREDENTIAL_KIND_OIDC CredentialKind = 4 // The owner's Claude setup-token, injected at egress for api.anthropic.com. CredentialKind_CREDENTIAL_KIND_CLAUDE_OAUTH CredentialKind = 5 // The owner's Codex auth.json bundle or Enterprise access token, delivered to the sandbox's tmpfs. CredentialKind_CREDENTIAL_KIND_CODEX CredentialKind = 6 )
func (CredentialKind) Descriptor ¶
func (CredentialKind) Descriptor() protoreflect.EnumDescriptor
func (CredentialKind) Enum ¶
func (x CredentialKind) Enum() *CredentialKind
func (CredentialKind) EnumDescriptor
deprecated
func (CredentialKind) EnumDescriptor() ([]byte, []int)
Deprecated: Use CredentialKind.Descriptor instead.
func (CredentialKind) Number ¶
func (x CredentialKind) Number() protoreflect.EnumNumber
func (CredentialKind) String ¶
func (x CredentialKind) String() string
func (CredentialKind) Type ¶
func (CredentialKind) Type() protoreflect.EnumType
type CredentialSelector ¶
type CredentialSelector struct {
Kind CredentialKind `protobuf:"varint,1,opt,name=kind,proto3,enum=devbox.v1.CredentialKind" json:"kind,omitempty"`
// SCM: the host, e.g. github.com. Empty returns one credential per SCM host of the box.
Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"`
// OIDC: the cloud identity name. Empty returns one token per configured identity.
Identity string `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"`
// contains filtered or unexported fields
}
CredentialSelector asks for one credential.
func (*CredentialSelector) Descriptor
deprecated
func (*CredentialSelector) Descriptor() ([]byte, []int)
Deprecated: Use CredentialSelector.ProtoReflect.Descriptor instead.
func (*CredentialSelector) GetHost ¶
func (x *CredentialSelector) GetHost() string
func (*CredentialSelector) GetIdentity ¶
func (x *CredentialSelector) GetIdentity() string
func (*CredentialSelector) GetKind ¶
func (x *CredentialSelector) GetKind() CredentialKind
func (*CredentialSelector) ProtoMessage ¶
func (*CredentialSelector) ProtoMessage()
func (*CredentialSelector) ProtoReflect ¶
func (x *CredentialSelector) ProtoReflect() protoreflect.Message
func (*CredentialSelector) Reset ¶
func (x *CredentialSelector) Reset()
func (*CredentialSelector) String ¶
func (x *CredentialSelector) String() string
type DaemonClient ¶
type DaemonClient interface {
// Health is the gRPC twin of /readyz.
Health(ctx context.Context, in *HealthRequest, opts ...grpc.CallOption) (*HealthResponse, error)
// Initialize hands the daemon its instance configuration after boot. Idempotent: a restored or restarted
// daemon returns `already_initialized` and keeps its workspace, applying only lease and endpoint changes.
Initialize(ctx context.Context, in *InitializeRequest, opts ...grpc.CallOption) (*InitializeResponse, error)
// GetInfo returns the daemon version, agent catalog and live connections.
GetInfo(ctx context.Context, in *GetInfoRequest, opts ...grpc.CallOption) (*DaemonInfo, error)
// ProbeAgents runs the section 4.2a probe (`initialize` + `session/new` in a scratch dir, no prompt) for the
// golden template build.
ProbeAgents(ctx context.Context, in *ProbeAgentsRequest, opts ...grpc.CallOption) (*ProbeAgentsResponse, error)
// PrepareSuspend settles every in-flight entity and, for snapshots, clears token files, tmpfs credentials and
// cloud SDK caches (and stops subscription-backed Codex processes for shared snapshots). The gateway calls it
// before SuspendActor and before snapshots, after reading the event stream up to `settled_offset`.
PrepareSuspend(ctx context.Context, in *PrepareSuspendRequest, opts ...grpc.CallOption) (*PrepareSuspendResponse, error)
// SubscribeEvents streams the event log from an offset, then follows it live. The gateway holds exactly one
// subscription per running instance, and closes it before suspending.
SubscribeEvents(ctx context.Context, in *SubscribeEventsRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[DaemonEvent], error)
// AckEvents acknowledges that everything up to an offset reached console; the daemon may trim its log.
AckEvents(ctx context.Context, in *AckEventsRequest, opts ...grpc.CallOption) (*AckEventsResponse, error)
// GetTimeline pages a session's transcript: settled entities from the workspace volume merged with in-flight
// ones, plus the event log head the page reflects.
GetTimeline(ctx context.Context, in *GetTimelineRequest, opts ...grpc.CallOption) (*GetTimelineResponse, error)
// GetSessions returns every thread and subagent row and the live agent connections.
GetSessions(ctx context.Context, in *GetSessionsRequest, opts ...grpc.CallOption) (*GetSessionsResponse, error)
CreateThread(ctx context.Context, in *CreateThreadRequest, opts ...grpc.CallOption) (*ThreadResponse, error)
ListThreads(ctx context.Context, in *ListThreadsRequest, opts ...grpc.CallOption) (*ListThreadsResponse, error)
ImportThread(ctx context.Context, in *ImportThreadRequest, opts ...grpc.CallOption) (*ThreadResponse, error)
ResumeThread(ctx context.Context, in *ResumeThreadRequest, opts ...grpc.CallOption) (*ThreadResponse, error)
CloseThread(ctx context.Context, in *ThreadActionRequest, opts ...grpc.CallOption) (*ThreadResponse, error)
DeleteThread(ctx context.Context, in *ThreadActionRequest, opts ...grpc.CallOption) (*DeleteThreadResponse, error)
ForkThread(ctx context.Context, in *ForkThreadRequest, opts ...grpc.CallOption) (*ThreadResponse, error)
Prompt(ctx context.Context, in *PromptRequest, opts ...grpc.CallOption) (*PromptResponse, error)
CancelPrompt(ctx context.Context, in *CancelPromptRequest, opts ...grpc.CallOption) (*CancelPromptResponse, error)
UpdateQueuedPrompt(ctx context.Context, in *UpdateQueuedPromptRequest, opts ...grpc.CallOption) (*UpdateQueuedPromptResponse, error)
SetThreadConfigOption(ctx context.Context, in *SetThreadConfigOptionRequest, opts ...grpc.CallOption) (*SetThreadConfigOptionResponse, error)
RespondInteraction(ctx context.Context, in *RespondInteractionRequest, opts ...grpc.CallOption) (*RespondInteractionResponse, error)
ListCommands(ctx context.Context, in *ListCommandsRequest, opts ...grpc.CallOption) (*ListCommandsResponse, error)
SetAgentBilling(ctx context.Context, in *SetAgentBillingRequest, opts ...grpc.CallOption) (*SetAgentBillingResponse, error)
CreateTerminal(ctx context.Context, in *CreateTerminalRequest, opts ...grpc.CallOption) (*TerminalInfo, error)
ListTerminals(ctx context.Context, in *ListTerminalsRequest, opts ...grpc.CallOption) (*ListTerminalsResponse, error)
ResizeTerminal(ctx context.Context, in *ResizeTerminalRequest, opts ...grpc.CallOption) (*TerminalInfo, error)
CloseTerminal(ctx context.Context, in *CloseTerminalRequest, opts ...grpc.CallOption) (*TerminalInfo, error)
// AttachTerminal is the gRPC form of /terminals/<id>/ws (used by the CLI path). First frame: `attach`.
AttachTerminal(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[TerminalInput, TerminalOutput], error)
ListFiles(ctx context.Context, in *ListFilesRequest, opts ...grpc.CallOption) (*ListFilesResponse, error)
StatFile(ctx context.Context, in *StatFileRequest, opts ...grpc.CallOption) (*StatFileResponse, error)
ReadFile(ctx context.Context, in *ReadFileRequest, opts ...grpc.CallOption) (*ReadFileResponse, error)
WriteFile(ctx context.Context, in *WriteFileRequest, opts ...grpc.CallOption) (*WriteFileResponse, error)
WatchFiles(ctx context.Context, in *WatchFilesRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[FileEvent], error)
GetChanges(ctx context.Context, in *GetChangesRequest, opts ...grpc.CallOption) (*GetChangesResponse, error)
// GetBranchDiffStat sizes a pull request: head against its merge base with base, for the devbox MCP.
GetBranchDiffStat(ctx context.Context, in *BranchDiffStatRequest, opts ...grpc.CallOption) (*BranchDiffStatResponse, error)
// PreparePullRequest writes, commits and pushes a checkout's changes for a pull request. It can take minutes.
PreparePullRequest(ctx context.Context, in *PreparePullRequestRequest, opts ...grpc.CallOption) (*PreparePullRequestResponse, error)
// AddRepository clones through egress into ~/<repo> and registers it in Project.md's managed table.
AddRepository(ctx context.Context, in *AddRepositoryRequest, opts ...grpc.CallOption) (*AddRepositoryResponse, error)
ListRepositories(ctx context.Context, in *ListRepositoriesRequest, opts ...grpc.CallOption) (*ListRepositoriesResponse, error)
StartBrowser(ctx context.Context, in *StartBrowserRequest, opts ...grpc.CallOption) (*BrowserInfo, error)
StopBrowser(ctx context.Context, in *StopBrowserRequest, opts ...grpc.CallOption) (*BrowserInfo, error)
GetBrowser(ctx context.Context, in *GetBrowserRequest, opts ...grpc.CallOption) (*BrowserInfo, error)
// SetLeases relays Control.SetInstanceLeases.
SetLeases(ctx context.Context, in *SetInstanceLeasesRequest, opts ...grpc.CallOption) (*SetInstanceLeasesResponse, error)
GetIdleState(ctx context.Context, in *GetIdleStateRequest, opts ...grpc.CallOption) (*IdleState, error)
// PushCredential installs a Codex bundle refreshed elsewhere (fan-out from the lease holder) or a changed
// refresh lease. Only kind CODEX is accepted.
PushCredential(ctx context.Context, in *PushCredentialRequest, opts ...grpc.CallOption) (*PushCredentialResponse, error)
}
DaemonClient is the client API for Daemon service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewDaemonClient ¶
func NewDaemonClient(cc grpc.ClientConnInterface) DaemonClient
type DaemonCondition ¶
type DaemonCondition struct {
// e.g. in_box_login_detected, workspace_hydration_failed, agent_missing.
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
// info, warning, error.
Severity string `protobuf:"bytes,2,opt,name=severity,proto3" json:"severity,omitempty"`
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
Error *ErrorDetail `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"`
Active bool `protobuf:"varint,5,opt,name=active,proto3" json:"active,omitempty"`
// contains filtered or unexported fields
}
DaemonCondition is a daemon-level warning, e.g. a vendor login made inside the box.
func (*DaemonCondition) Descriptor
deprecated
func (*DaemonCondition) Descriptor() ([]byte, []int)
Deprecated: Use DaemonCondition.ProtoReflect.Descriptor instead.
func (*DaemonCondition) GetActive ¶
func (x *DaemonCondition) GetActive() bool
func (*DaemonCondition) GetError ¶
func (x *DaemonCondition) GetError() *ErrorDetail
func (*DaemonCondition) GetMessage ¶
func (x *DaemonCondition) GetMessage() string
func (*DaemonCondition) GetSeverity ¶
func (x *DaemonCondition) GetSeverity() string
func (*DaemonCondition) GetType ¶
func (x *DaemonCondition) GetType() string
func (*DaemonCondition) ProtoMessage ¶
func (*DaemonCondition) ProtoMessage()
func (*DaemonCondition) ProtoReflect ¶
func (x *DaemonCondition) ProtoReflect() protoreflect.Message
func (*DaemonCondition) Reset ¶
func (x *DaemonCondition) Reset()
func (*DaemonCondition) String ¶
func (x *DaemonCondition) String() string
type DaemonEvent ¶
type DaemonEvent struct {
// Strictly increasing per instance and persisted across suspends and snapshots. Heartbeats carry the current
// head offset and are not log records.
Offset uint64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
EmittedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=emitted_at,json=emittedAt,proto3" json:"emitted_at,omitempty"`
// Types that are valid to be assigned to Event:
//
// *DaemonEvent_Delta
// *DaemonEvent_Session
// *DaemonEvent_Interaction
// *DaemonEvent_Aggregate
// *DaemonEvent_IdleState
// *DaemonEvent_SuspendRequested
// *DaemonEvent_Condition
// *DaemonEvent_Heartbeat
Event isDaemonEvent_Event `protobuf_oneof:"event"`
// contains filtered or unexported fields
}
DaemonEvent is one event-log record. Records are replayed after reconnects; index upserts are idempotent on revision, so duplicates are harmless.
func (*DaemonEvent) Descriptor
deprecated
func (*DaemonEvent) Descriptor() ([]byte, []int)
Deprecated: Use DaemonEvent.ProtoReflect.Descriptor instead.
func (*DaemonEvent) GetAggregate ¶
func (x *DaemonEvent) GetAggregate() *InstanceAggregate
func (*DaemonEvent) GetCondition ¶
func (x *DaemonEvent) GetCondition() *DaemonCondition
func (*DaemonEvent) GetDelta ¶
func (x *DaemonEvent) GetDelta() *Delta
func (*DaemonEvent) GetEmittedAt ¶
func (x *DaemonEvent) GetEmittedAt() *timestamppb.Timestamp
func (*DaemonEvent) GetEvent ¶
func (x *DaemonEvent) GetEvent() isDaemonEvent_Event
func (*DaemonEvent) GetHeartbeat ¶
func (x *DaemonEvent) GetHeartbeat() *DaemonHeartbeat
func (*DaemonEvent) GetIdleState ¶
func (x *DaemonEvent) GetIdleState() *IdleState
func (*DaemonEvent) GetInteraction ¶
func (x *DaemonEvent) GetInteraction() *Interaction
func (*DaemonEvent) GetOffset ¶
func (x *DaemonEvent) GetOffset() uint64
func (*DaemonEvent) GetSession ¶
func (x *DaemonEvent) GetSession() *Session
func (*DaemonEvent) GetSuspendRequested ¶
func (x *DaemonEvent) GetSuspendRequested() *SuspendRequested
func (*DaemonEvent) ProtoMessage ¶
func (*DaemonEvent) ProtoMessage()
func (*DaemonEvent) ProtoReflect ¶
func (x *DaemonEvent) ProtoReflect() protoreflect.Message
func (*DaemonEvent) Reset ¶
func (x *DaemonEvent) Reset()
func (*DaemonEvent) String ¶
func (x *DaemonEvent) String() string
type DaemonEvent_Aggregate ¶
type DaemonEvent_Aggregate struct {
Aggregate *InstanceAggregate `protobuf:"bytes,14,opt,name=aggregate,proto3,oneof"`
}
type DaemonEvent_Condition ¶
type DaemonEvent_Condition struct {
// Daemon-level conditions shown in the instance view.
Condition *DaemonCondition `protobuf:"bytes,17,opt,name=condition,proto3,oneof"`
}
type DaemonEvent_Delta ¶
type DaemonEvent_Delta struct {
// A live delta, to forward with Ingest.PushInstanceDeltas (including SETTLE).
Delta *Delta `protobuf:"bytes,11,opt,name=delta,proto3,oneof"`
}
type DaemonEvent_Heartbeat ¶
type DaemonEvent_Heartbeat struct {
Heartbeat *DaemonHeartbeat `protobuf:"bytes,18,opt,name=heartbeat,proto3,oneof"`
}
type DaemonEvent_IdleState ¶
type DaemonEvent_IdleState struct {
// Idle detection.
IdleState *IdleState `protobuf:"bytes,15,opt,name=idle_state,json=idleState,proto3,oneof"`
}
type DaemonEvent_Interaction ¶
type DaemonEvent_Interaction struct {
Interaction *Interaction `protobuf:"bytes,13,opt,name=interaction,proto3,oneof"`
}
type DaemonEvent_Session ¶
type DaemonEvent_Session struct {
// Index changes, to forward with Ingest.UpsertInstanceIndex.
Session *Session `protobuf:"bytes,12,opt,name=session,proto3,oneof"`
}
type DaemonEvent_SuspendRequested ¶
type DaemonEvent_SuspendRequested struct {
SuspendRequested *SuspendRequested `protobuf:"bytes,16,opt,name=suspend_requested,json=suspendRequested,proto3,oneof"`
}
type DaemonHeartbeat ¶
type DaemonHeartbeat struct {
HeadOffset uint64 `protobuf:"varint,1,opt,name=head_offset,json=headOffset,proto3" json:"head_offset,omitempty"`
Idle *IdleState `protobuf:"bytes,2,opt,name=idle,proto3" json:"idle,omitempty"`
// contains filtered or unexported fields
}
func (*DaemonHeartbeat) Descriptor
deprecated
func (*DaemonHeartbeat) Descriptor() ([]byte, []int)
Deprecated: Use DaemonHeartbeat.ProtoReflect.Descriptor instead.
func (*DaemonHeartbeat) GetHeadOffset ¶
func (x *DaemonHeartbeat) GetHeadOffset() uint64
func (*DaemonHeartbeat) GetIdle ¶
func (x *DaemonHeartbeat) GetIdle() *IdleState
func (*DaemonHeartbeat) ProtoMessage ¶
func (*DaemonHeartbeat) ProtoMessage()
func (*DaemonHeartbeat) ProtoReflect ¶
func (x *DaemonHeartbeat) ProtoReflect() protoreflect.Message
func (*DaemonHeartbeat) Reset ¶
func (x *DaemonHeartbeat) Reset()
func (*DaemonHeartbeat) String ¶
func (x *DaemonHeartbeat) String() string
type DaemonInfo ¶
type DaemonInfo struct {
Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
// Image contract (sh.plural.devbox/contract), "v1".
ContractVersion string `protobuf:"bytes,2,opt,name=contract_version,json=contractVersion,proto3" json:"contract_version,omitempty"`
BootId string `protobuf:"bytes,3,opt,name=boot_id,json=bootId,proto3" json:"boot_id,omitempty"`
StartedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
InstanceId string `protobuf:"bytes,5,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
Agents []*AgentCatalogEntry `protobuf:"bytes,6,rep,name=agents,proto3" json:"agents,omitempty"`
Connections []*AgentConnection `protobuf:"bytes,7,rep,name=connections,proto3" json:"connections,omitempty"`
// Latest offset written to the event log, and the latest the gateway acknowledged.
HeadOffset uint64 `protobuf:"varint,8,opt,name=head_offset,json=headOffset,proto3" json:"head_offset,omitempty"`
AckedOffset uint64 `protobuf:"varint,9,opt,name=acked_offset,json=ackedOffset,proto3" json:"acked_offset,omitempty"`
// contains filtered or unexported fields
}
func (*DaemonInfo) Descriptor
deprecated
func (*DaemonInfo) Descriptor() ([]byte, []int)
Deprecated: Use DaemonInfo.ProtoReflect.Descriptor instead.
func (*DaemonInfo) GetAckedOffset ¶
func (x *DaemonInfo) GetAckedOffset() uint64
func (*DaemonInfo) GetAgents ¶
func (x *DaemonInfo) GetAgents() []*AgentCatalogEntry
func (*DaemonInfo) GetBootId ¶
func (x *DaemonInfo) GetBootId() string
func (*DaemonInfo) GetConnections ¶
func (x *DaemonInfo) GetConnections() []*AgentConnection
func (*DaemonInfo) GetContractVersion ¶
func (x *DaemonInfo) GetContractVersion() string
func (*DaemonInfo) GetHeadOffset ¶
func (x *DaemonInfo) GetHeadOffset() uint64
func (*DaemonInfo) GetInstanceId ¶
func (x *DaemonInfo) GetInstanceId() string
func (*DaemonInfo) GetStartedAt ¶
func (x *DaemonInfo) GetStartedAt() *timestamppb.Timestamp
func (*DaemonInfo) GetVersion ¶
func (x *DaemonInfo) GetVersion() string
func (*DaemonInfo) ProtoMessage ¶
func (*DaemonInfo) ProtoMessage()
func (*DaemonInfo) ProtoReflect ¶
func (x *DaemonInfo) ProtoReflect() protoreflect.Message
func (*DaemonInfo) Reset ¶
func (x *DaemonInfo) Reset()
func (*DaemonInfo) String ¶
func (x *DaemonInfo) String() string
type DaemonServer ¶
type DaemonServer interface {
// Health is the gRPC twin of /readyz.
Health(context.Context, *HealthRequest) (*HealthResponse, error)
// Initialize hands the daemon its instance configuration after boot. Idempotent: a restored or restarted
// daemon returns `already_initialized` and keeps its workspace, applying only lease and endpoint changes.
Initialize(context.Context, *InitializeRequest) (*InitializeResponse, error)
// GetInfo returns the daemon version, agent catalog and live connections.
GetInfo(context.Context, *GetInfoRequest) (*DaemonInfo, error)
// ProbeAgents runs the section 4.2a probe (`initialize` + `session/new` in a scratch dir, no prompt) for the
// golden template build.
ProbeAgents(context.Context, *ProbeAgentsRequest) (*ProbeAgentsResponse, error)
// PrepareSuspend settles every in-flight entity and, for snapshots, clears token files, tmpfs credentials and
// cloud SDK caches (and stops subscription-backed Codex processes for shared snapshots). The gateway calls it
// before SuspendActor and before snapshots, after reading the event stream up to `settled_offset`.
PrepareSuspend(context.Context, *PrepareSuspendRequest) (*PrepareSuspendResponse, error)
// SubscribeEvents streams the event log from an offset, then follows it live. The gateway holds exactly one
// subscription per running instance, and closes it before suspending.
SubscribeEvents(*SubscribeEventsRequest, grpc.ServerStreamingServer[DaemonEvent]) error
// AckEvents acknowledges that everything up to an offset reached console; the daemon may trim its log.
AckEvents(context.Context, *AckEventsRequest) (*AckEventsResponse, error)
// GetTimeline pages a session's transcript: settled entities from the workspace volume merged with in-flight
// ones, plus the event log head the page reflects.
GetTimeline(context.Context, *GetTimelineRequest) (*GetTimelineResponse, error)
// GetSessions returns every thread and subagent row and the live agent connections.
GetSessions(context.Context, *GetSessionsRequest) (*GetSessionsResponse, error)
CreateThread(context.Context, *CreateThreadRequest) (*ThreadResponse, error)
ListThreads(context.Context, *ListThreadsRequest) (*ListThreadsResponse, error)
ImportThread(context.Context, *ImportThreadRequest) (*ThreadResponse, error)
ResumeThread(context.Context, *ResumeThreadRequest) (*ThreadResponse, error)
CloseThread(context.Context, *ThreadActionRequest) (*ThreadResponse, error)
DeleteThread(context.Context, *ThreadActionRequest) (*DeleteThreadResponse, error)
ForkThread(context.Context, *ForkThreadRequest) (*ThreadResponse, error)
Prompt(context.Context, *PromptRequest) (*PromptResponse, error)
CancelPrompt(context.Context, *CancelPromptRequest) (*CancelPromptResponse, error)
UpdateQueuedPrompt(context.Context, *UpdateQueuedPromptRequest) (*UpdateQueuedPromptResponse, error)
SetThreadConfigOption(context.Context, *SetThreadConfigOptionRequest) (*SetThreadConfigOptionResponse, error)
RespondInteraction(context.Context, *RespondInteractionRequest) (*RespondInteractionResponse, error)
ListCommands(context.Context, *ListCommandsRequest) (*ListCommandsResponse, error)
SetAgentBilling(context.Context, *SetAgentBillingRequest) (*SetAgentBillingResponse, error)
CreateTerminal(context.Context, *CreateTerminalRequest) (*TerminalInfo, error)
ListTerminals(context.Context, *ListTerminalsRequest) (*ListTerminalsResponse, error)
ResizeTerminal(context.Context, *ResizeTerminalRequest) (*TerminalInfo, error)
CloseTerminal(context.Context, *CloseTerminalRequest) (*TerminalInfo, error)
// AttachTerminal is the gRPC form of /terminals/<id>/ws (used by the CLI path). First frame: `attach`.
AttachTerminal(grpc.BidiStreamingServer[TerminalInput, TerminalOutput]) error
ListFiles(context.Context, *ListFilesRequest) (*ListFilesResponse, error)
StatFile(context.Context, *StatFileRequest) (*StatFileResponse, error)
ReadFile(context.Context, *ReadFileRequest) (*ReadFileResponse, error)
WriteFile(context.Context, *WriteFileRequest) (*WriteFileResponse, error)
WatchFiles(*WatchFilesRequest, grpc.ServerStreamingServer[FileEvent]) error
GetChanges(context.Context, *GetChangesRequest) (*GetChangesResponse, error)
// GetBranchDiffStat sizes a pull request: head against its merge base with base, for the devbox MCP.
GetBranchDiffStat(context.Context, *BranchDiffStatRequest) (*BranchDiffStatResponse, error)
// PreparePullRequest writes, commits and pushes a checkout's changes for a pull request. It can take minutes.
PreparePullRequest(context.Context, *PreparePullRequestRequest) (*PreparePullRequestResponse, error)
// AddRepository clones through egress into ~/<repo> and registers it in Project.md's managed table.
AddRepository(context.Context, *AddRepositoryRequest) (*AddRepositoryResponse, error)
ListRepositories(context.Context, *ListRepositoriesRequest) (*ListRepositoriesResponse, error)
StartBrowser(context.Context, *StartBrowserRequest) (*BrowserInfo, error)
StopBrowser(context.Context, *StopBrowserRequest) (*BrowserInfo, error)
GetBrowser(context.Context, *GetBrowserRequest) (*BrowserInfo, error)
// SetLeases relays Control.SetInstanceLeases.
SetLeases(context.Context, *SetInstanceLeasesRequest) (*SetInstanceLeasesResponse, error)
GetIdleState(context.Context, *GetIdleStateRequest) (*IdleState, error)
// PushCredential installs a Codex bundle refreshed elsewhere (fan-out from the lease holder) or a changed
// refresh lease. Only kind CODEX is accepted.
PushCredential(context.Context, *PushCredentialRequest) (*PushCredentialResponse, error)
// contains filtered or unexported methods
}
DaemonServer is the server API for Daemon service. All implementations must embed UnimplementedDaemonServer for forward compatibility.
type Daemon_AttachTerminalClient ¶
type Daemon_AttachTerminalClient = grpc.BidiStreamingClient[TerminalInput, TerminalOutput]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Daemon_AttachTerminalServer ¶
type Daemon_AttachTerminalServer = grpc.BidiStreamingServer[TerminalInput, TerminalOutput]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Daemon_SubscribeEventsClient ¶
type Daemon_SubscribeEventsClient = grpc.ServerStreamingClient[DaemonEvent]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Daemon_SubscribeEventsServer ¶
type Daemon_SubscribeEventsServer = grpc.ServerStreamingServer[DaemonEvent]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Daemon_WatchFilesClient ¶
type Daemon_WatchFilesClient = grpc.ServerStreamingClient[FileEvent]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Daemon_WatchFilesServer ¶
type Daemon_WatchFilesServer = grpc.ServerStreamingServer[FileEvent]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type DeleteSnapshotRequest ¶
type DeleteSnapshotRequest struct {
Snapshot *SnapshotRef `protobuf:"bytes,1,opt,name=snapshot,proto3" json:"snapshot,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteSnapshotRequest) Descriptor
deprecated
func (*DeleteSnapshotRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSnapshotRequest.ProtoReflect.Descriptor instead.
func (*DeleteSnapshotRequest) GetSnapshot ¶
func (x *DeleteSnapshotRequest) GetSnapshot() *SnapshotRef
func (*DeleteSnapshotRequest) ProtoMessage ¶
func (*DeleteSnapshotRequest) ProtoMessage()
func (*DeleteSnapshotRequest) ProtoReflect ¶
func (x *DeleteSnapshotRequest) ProtoReflect() protoreflect.Message
func (*DeleteSnapshotRequest) Reset ¶
func (x *DeleteSnapshotRequest) Reset()
func (*DeleteSnapshotRequest) String ¶
func (x *DeleteSnapshotRequest) String() string
type DeleteSnapshotResponse ¶
type DeleteSnapshotResponse struct {
Deleted bool `protobuf:"varint,1,opt,name=deleted,proto3" json:"deleted,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteSnapshotResponse) Descriptor
deprecated
func (*DeleteSnapshotResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSnapshotResponse.ProtoReflect.Descriptor instead.
func (*DeleteSnapshotResponse) GetDeleted ¶
func (x *DeleteSnapshotResponse) GetDeleted() bool
func (*DeleteSnapshotResponse) ProtoMessage ¶
func (*DeleteSnapshotResponse) ProtoMessage()
func (*DeleteSnapshotResponse) ProtoReflect ¶
func (x *DeleteSnapshotResponse) ProtoReflect() protoreflect.Message
func (*DeleteSnapshotResponse) Reset ¶
func (x *DeleteSnapshotResponse) Reset()
func (*DeleteSnapshotResponse) String ¶
func (x *DeleteSnapshotResponse) String() string
type DeleteThreadResponse ¶
type DeleteThreadResponse struct {
Session *Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
AgentSideDeleted bool `protobuf:"varint,2,opt,name=agent_side_deleted,json=agentSideDeleted,proto3" json:"agent_side_deleted,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteThreadResponse) Descriptor
deprecated
func (*DeleteThreadResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteThreadResponse.ProtoReflect.Descriptor instead.
func (*DeleteThreadResponse) GetAgentSideDeleted ¶
func (x *DeleteThreadResponse) GetAgentSideDeleted() bool
func (*DeleteThreadResponse) GetSession ¶
func (x *DeleteThreadResponse) GetSession() *Session
func (*DeleteThreadResponse) ProtoMessage ¶
func (*DeleteThreadResponse) ProtoMessage()
func (*DeleteThreadResponse) ProtoReflect ¶
func (x *DeleteThreadResponse) ProtoReflect() protoreflect.Message
func (*DeleteThreadResponse) Reset ¶
func (x *DeleteThreadResponse) Reset()
func (*DeleteThreadResponse) String ¶
func (x *DeleteThreadResponse) String() string
type Delta ¶
type Delta struct {
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
SessionId string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
// Unset for STATE and NOTICE.
EntityType EntityType `protobuf:"varint,3,opt,name=entity_type,json=entityType,proto3,enum=devbox.v1.EntityType" json:"entity_type,omitempty"`
EntityId string `protobuf:"bytes,4,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"`
Position uint64 `protobuf:"varint,5,opt,name=position,proto3" json:"position,omitempty"`
Op DeltaOp `protobuf:"varint,6,opt,name=op,proto3,enum=devbox.v1.DeltaOp" json:"op,omitempty"`
// For STATE: state_update, config_option_update, available_commands_update, session_info_update, usage_update.
StateKind string `protobuf:"bytes,7,opt,name=state_kind,json=stateKind,proto3" json:"state_kind,omitempty"`
// Verbatim ACP JSON of the chunk, patch, notice or state update.
PayloadJson []byte `protobuf:"bytes,8,opt,name=payload_json,json=payloadJson,proto3" json:"payload_json,omitempty"`
// SETTLE only.
Entity *AcpEntity `protobuf:"bytes,9,opt,name=entity,proto3" json:"entity,omitempty"`
// Daemon event-log offset; clients apply deltas with offset > the timeline page's delta_offset.
Offset uint64 `protobuf:"varint,10,opt,name=offset,proto3" json:"offset,omitempty"`
EmittedAt *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=emitted_at,json=emittedAt,proto3" json:"emitted_at,omitempty"`
// Dense per-session sequence (1, 2, ...) of the deltas that change a session's timeline (APPEND, PATCH, SETTLE,
// STATE), within `stream`. Delivery isn't ordered, so clients apply a session's deltas in seq order, starting
// after the timeline page's seq, and reload the page when a gap doesn't fill. 0 for NOTICE and console-made deltas.
Seq uint64 `protobuf:"varint,12,opt,name=seq,proto3" json:"seq,omitempty"`
// Identifies the daemon run that numbered `seq`; a new run restarts it, so a client seeing a new stream reloads.
Stream string `protobuf:"bytes,13,opt,name=stream,proto3" json:"stream,omitempty"`
// contains filtered or unexported fields
}
Delta is one live change. It is never stored.
func (*Delta) Descriptor
deprecated
func (*Delta) GetEmittedAt ¶
func (x *Delta) GetEmittedAt() *timestamppb.Timestamp
func (*Delta) GetEntityId ¶
func (*Delta) GetEntityType ¶
func (x *Delta) GetEntityType() EntityType
func (*Delta) GetInstanceId ¶
func (*Delta) GetPayloadJson ¶
func (*Delta) GetPosition ¶
func (*Delta) GetSessionId ¶
func (*Delta) GetStateKind ¶
func (*Delta) ProtoMessage ¶
func (*Delta) ProtoMessage()
func (*Delta) ProtoReflect ¶
func (x *Delta) ProtoReflect() protoreflect.Message
type DeltaOp ¶
type DeltaOp int32
const ( DeltaOp_DELTA_OP_UNSPECIFIED DeltaOp = 0 // A chunk appended to an entity (e.g. message text). payload_json is the ACP chunk. DeltaOp_DELTA_OP_APPEND DeltaOp = 1 // An ACP upsert patch: omitted fields unchanged, null clears, values replace. DeltaOp_DELTA_OP_PATCH DeltaOp = 2 // A live-only `notice` (shown as a toast, never archived). DeltaOp_DELTA_OP_NOTICE DeltaOp = 3 // Session state: state_update, config options, available commands, session info, usage. `state_kind` says // which; payload_json is the ACP update. DeltaOp_DELTA_OP_STATE DeltaOp = 4 // The entity settled; `entity` holds its final revision so clients drop their in-flight copy. DeltaOp_DELTA_OP_SETTLE DeltaOp = 5 )
func (DeltaOp) Descriptor ¶
func (DeltaOp) Descriptor() protoreflect.EnumDescriptor
func (DeltaOp) EnumDescriptor
deprecated
func (DeltaOp) Number ¶
func (x DeltaOp) Number() protoreflect.EnumNumber
func (DeltaOp) Type ¶
func (DeltaOp) Type() protoreflect.EnumType
type DevboxPullRequestRequest ¶
type DevboxPullRequestRequest struct {
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
// From the `X-Devbox-Thread` header. Empty for imported sessions (instance-only attribution).
ThreadId string `protobuf:"bytes,2,opt,name=thread_id,json=threadId,proto3" json:"thread_id,omitempty"`
// Set when the call came from a subagent; console stores it in the PR's metadata.
SubagentSessionId string `protobuf:"bytes,3,opt,name=subagent_session_id,json=subagentSessionId,proto3" json:"subagent_session_id,omitempty"`
Attributes *PullRequestAttributes `protobuf:"bytes,4,opt,name=attributes,proto3" json:"attributes,omitempty"`
// Archive position of the create_pull_request tool call, for deep links.
ToolCallId string `protobuf:"bytes,5,opt,name=tool_call_id,json=toolCallId,proto3" json:"tool_call_id,omitempty"`
Position uint64 `protobuf:"varint,6,opt,name=position,proto3" json:"position,omitempty"`
// contains filtered or unexported fields
}
func (*DevboxPullRequestRequest) Descriptor
deprecated
func (*DevboxPullRequestRequest) Descriptor() ([]byte, []int)
Deprecated: Use DevboxPullRequestRequest.ProtoReflect.Descriptor instead.
func (*DevboxPullRequestRequest) GetAttributes ¶
func (x *DevboxPullRequestRequest) GetAttributes() *PullRequestAttributes
func (*DevboxPullRequestRequest) GetInstanceId ¶
func (x *DevboxPullRequestRequest) GetInstanceId() string
func (*DevboxPullRequestRequest) GetPosition ¶
func (x *DevboxPullRequestRequest) GetPosition() uint64
func (*DevboxPullRequestRequest) GetSubagentSessionId ¶
func (x *DevboxPullRequestRequest) GetSubagentSessionId() string
func (*DevboxPullRequestRequest) GetThreadId ¶
func (x *DevboxPullRequestRequest) GetThreadId() string
func (*DevboxPullRequestRequest) GetToolCallId ¶
func (x *DevboxPullRequestRequest) GetToolCallId() string
func (*DevboxPullRequestRequest) ProtoMessage ¶
func (*DevboxPullRequestRequest) ProtoMessage()
func (*DevboxPullRequestRequest) ProtoReflect ¶
func (x *DevboxPullRequestRequest) ProtoReflect() protoreflect.Message
func (*DevboxPullRequestRequest) Reset ¶
func (x *DevboxPullRequestRequest) Reset()
func (*DevboxPullRequestRequest) String ¶
func (x *DevboxPullRequestRequest) String() string
type DevboxPullRequestResponse ¶
type DevboxPullRequestResponse struct {
PullRequestId string `protobuf:"bytes,1,opt,name=pull_request_id,json=pullRequestId,proto3" json:"pull_request_id,omitempty"`
Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
Number int64 `protobuf:"varint,3,opt,name=number,proto3" json:"number,omitempty"`
// contains filtered or unexported fields
}
func (*DevboxPullRequestResponse) Descriptor
deprecated
func (*DevboxPullRequestResponse) Descriptor() ([]byte, []int)
Deprecated: Use DevboxPullRequestResponse.ProtoReflect.Descriptor instead.
func (*DevboxPullRequestResponse) GetNumber ¶
func (x *DevboxPullRequestResponse) GetNumber() int64
func (*DevboxPullRequestResponse) GetPullRequestId ¶
func (x *DevboxPullRequestResponse) GetPullRequestId() string
func (*DevboxPullRequestResponse) GetUrl ¶
func (x *DevboxPullRequestResponse) GetUrl() string
func (*DevboxPullRequestResponse) ProtoMessage ¶
func (*DevboxPullRequestResponse) ProtoMessage()
func (*DevboxPullRequestResponse) ProtoReflect ¶
func (x *DevboxPullRequestResponse) ProtoReflect() protoreflect.Message
func (*DevboxPullRequestResponse) Reset ¶
func (x *DevboxPullRequestResponse) Reset()
func (*DevboxPullRequestResponse) String ¶
func (x *DevboxPullRequestResponse) String() string
type Diff ¶
type Diff struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
// Unset for a new file.
OldText *string `protobuf:"bytes,2,opt,name=old_text,json=oldText,proto3,oneof" json:"old_text,omitempty"`
NewText string `protobuf:"bytes,3,opt,name=new_text,json=newText,proto3" json:"new_text,omitempty"`
Meta *structpb.Struct `protobuf:"bytes,4,opt,name=meta,proto3" json:"meta,omitempty"`
// contains filtered or unexported fields
}
func (*Diff) Descriptor
deprecated
func (*Diff) GetNewText ¶
func (*Diff) GetOldText ¶
func (*Diff) ProtoMessage ¶
func (*Diff) ProtoMessage()
func (*Diff) ProtoReflect ¶
func (x *Diff) ProtoReflect() protoreflect.Message
type ElicitationRequest ¶
type ElicitationRequest struct {
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
// Form mode: JSON Schema for the response content.
RequestedSchema *structpb.Struct `protobuf:"bytes,2,opt,name=requested_schema,json=requestedSchema,proto3" json:"requested_schema,omitempty"`
// URL mode.
Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"`
ElicitationId string `protobuf:"bytes,4,opt,name=elicitation_id,json=elicitationId,proto3" json:"elicitation_id,omitempty"`
Meta *structpb.Struct `protobuf:"bytes,5,opt,name=meta,proto3" json:"meta,omitempty"`
// contains filtered or unexported fields
}
ElicitationRequest follows the MCP 2026-07-28 elicitation data model adopted by ACP.
func (*ElicitationRequest) Descriptor
deprecated
func (*ElicitationRequest) Descriptor() ([]byte, []int)
Deprecated: Use ElicitationRequest.ProtoReflect.Descriptor instead.
func (*ElicitationRequest) GetElicitationId ¶
func (x *ElicitationRequest) GetElicitationId() string
func (*ElicitationRequest) GetMessage ¶
func (x *ElicitationRequest) GetMessage() string
func (*ElicitationRequest) GetMeta ¶
func (x *ElicitationRequest) GetMeta() *structpb.Struct
func (*ElicitationRequest) GetRequestedSchema ¶
func (x *ElicitationRequest) GetRequestedSchema() *structpb.Struct
func (*ElicitationRequest) GetUrl ¶
func (x *ElicitationRequest) GetUrl() string
func (*ElicitationRequest) ProtoMessage ¶
func (*ElicitationRequest) ProtoMessage()
func (*ElicitationRequest) ProtoReflect ¶
func (x *ElicitationRequest) ProtoReflect() protoreflect.Message
func (*ElicitationRequest) Reset ¶
func (x *ElicitationRequest) Reset()
func (*ElicitationRequest) String ¶
func (x *ElicitationRequest) String() string
type ElicitationResponse ¶
type ElicitationResponse struct {
// accept, decline, cancel.
Action string `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"`
// Form content, validated by console against `requested_schema`.
Content *structpb.Struct `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
// contains filtered or unexported fields
}
func (*ElicitationResponse) Descriptor
deprecated
func (*ElicitationResponse) Descriptor() ([]byte, []int)
Deprecated: Use ElicitationResponse.ProtoReflect.Descriptor instead.
func (*ElicitationResponse) GetAction ¶
func (x *ElicitationResponse) GetAction() string
func (*ElicitationResponse) GetContent ¶
func (x *ElicitationResponse) GetContent() *structpb.Struct
func (*ElicitationResponse) ProtoMessage ¶
func (*ElicitationResponse) ProtoMessage()
func (*ElicitationResponse) ProtoReflect ¶
func (x *ElicitationResponse) ProtoReflect() protoreflect.Message
func (*ElicitationResponse) Reset ¶
func (x *ElicitationResponse) Reset()
func (*ElicitationResponse) String ¶
func (x *ElicitationResponse) String() string
type EmbeddedResource ¶
type EmbeddedResource struct {
// Types that are valid to be assigned to Resource:
//
// *EmbeddedResource_Text
// *EmbeddedResource_Blob
// *EmbeddedResource_Unknown
Resource isEmbeddedResource_Resource `protobuf_oneof:"resource"`
Annotations *Annotations `protobuf:"bytes,3,opt,name=annotations,proto3" json:"annotations,omitempty"`
Meta *structpb.Struct `protobuf:"bytes,4,opt,name=meta,proto3" json:"meta,omitempty"`
// contains filtered or unexported fields
}
func (*EmbeddedResource) Descriptor
deprecated
func (*EmbeddedResource) Descriptor() ([]byte, []int)
Deprecated: Use EmbeddedResource.ProtoReflect.Descriptor instead.
func (*EmbeddedResource) GetAnnotations ¶
func (x *EmbeddedResource) GetAnnotations() *Annotations
func (*EmbeddedResource) GetBlob ¶
func (x *EmbeddedResource) GetBlob() *BlobResourceContents
func (*EmbeddedResource) GetMeta ¶
func (x *EmbeddedResource) GetMeta() *structpb.Struct
func (*EmbeddedResource) GetResource ¶
func (x *EmbeddedResource) GetResource() isEmbeddedResource_Resource
func (*EmbeddedResource) GetText ¶
func (x *EmbeddedResource) GetText() *TextResourceContents
func (*EmbeddedResource) GetUnknown ¶
func (x *EmbeddedResource) GetUnknown() *UnknownVariant
func (*EmbeddedResource) ProtoMessage ¶
func (*EmbeddedResource) ProtoMessage()
func (*EmbeddedResource) ProtoReflect ¶
func (x *EmbeddedResource) ProtoReflect() protoreflect.Message
func (*EmbeddedResource) Reset ¶
func (x *EmbeddedResource) Reset()
func (*EmbeddedResource) String ¶
func (x *EmbeddedResource) String() string
type EmbeddedResource_Blob ¶
type EmbeddedResource_Blob struct {
Blob *BlobResourceContents `protobuf:"bytes,2,opt,name=blob,proto3,oneof"`
}
type EmbeddedResource_Text ¶
type EmbeddedResource_Text struct {
Text *TextResourceContents `protobuf:"bytes,1,opt,name=text,proto3,oneof"`
}
type EmbeddedResource_Unknown ¶
type EmbeddedResource_Unknown struct {
Unknown *UnknownVariant `protobuf:"bytes,15,opt,name=unknown,proto3,oneof"`
}
type EntityKey ¶
type EntityKey struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
Type EntityType `protobuf:"varint,2,opt,name=type,proto3,enum=devbox.v1.EntityType" json:"type,omitempty"`
// The ACP ID (messageId, toolCallId, planId, terminalId, compactionId), or a daemon-synthesized ID for v1
// chunks without a messageId and v1 plans.
Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
EntityKey identifies an entity within an instance. Transcript writes are idempotent on (key, revision).
func (*EntityKey) Descriptor
deprecated
func (*EntityKey) GetSessionId ¶
func (*EntityKey) GetType ¶
func (x *EntityKey) GetType() EntityType
func (*EntityKey) ProtoMessage ¶
func (*EntityKey) ProtoMessage()
func (*EntityKey) ProtoReflect ¶
func (x *EntityKey) ProtoReflect() protoreflect.Message
type EntityType ¶
type EntityType int32
EntityType is the transcript entity kind. UNKNOWN entities keep the raw `sessionUpdate`.
const ( EntityType_ENTITY_TYPE_UNSPECIFIED EntityType = 0 EntityType_ENTITY_TYPE_USER_MESSAGE EntityType = 1 EntityType_ENTITY_TYPE_AGENT_MESSAGE EntityType = 2 EntityType_ENTITY_TYPE_AGENT_THOUGHT EntityType = 3 // Subagent RFD: a message linking a parent and a child session. EntityType_ENTITY_TYPE_SESSION_MESSAGE EntityType = 4 EntityType_ENTITY_TYPE_TOOL_CALL EntityType = 5 EntityType_ENTITY_TYPE_PLAN EntityType = 6 // Display terminal (v2), with final state and output capped at 1 MB. EntityType_ENTITY_TYPE_TERMINAL EntityType = 7 EntityType_ENTITY_TYPE_COMPACTION EntityType = 8 EntityType_ENTITY_TYPE_UNKNOWN EntityType = 15 )
func (EntityType) Descriptor ¶
func (EntityType) Descriptor() protoreflect.EnumDescriptor
func (EntityType) Enum ¶
func (x EntityType) Enum() *EntityType
func (EntityType) EnumDescriptor
deprecated
func (EntityType) EnumDescriptor() ([]byte, []int)
Deprecated: Use EntityType.Descriptor instead.
func (EntityType) Number ¶
func (x EntityType) Number() protoreflect.EnumNumber
func (EntityType) String ¶
func (x EntityType) String() string
func (EntityType) Type ¶
func (EntityType) Type() protoreflect.EnumType
type ErrorDetail ¶
type ErrorDetail struct {
Reason ErrorReason `protobuf:"varint,1,opt,name=reason,proto3,enum=devbox.v1.ErrorReason" json:"reason,omitempty"`
// Human-readable message, safe to show to users.
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
// Extra structured context, e.g. {"action": "fork"} for UNSUPPORTED.
Metadata map[string]string `` /* 143-byte string literal not displayed */
// contains filtered or unexported fields
}
ErrorDetail is attached to gRPC status details, and embedded where errors are reported as data.
func (*ErrorDetail) Descriptor
deprecated
func (*ErrorDetail) Descriptor() ([]byte, []int)
Deprecated: Use ErrorDetail.ProtoReflect.Descriptor instead.
func (*ErrorDetail) GetMessage ¶
func (x *ErrorDetail) GetMessage() string
func (*ErrorDetail) GetMetadata ¶
func (x *ErrorDetail) GetMetadata() map[string]string
func (*ErrorDetail) GetReason ¶
func (x *ErrorDetail) GetReason() ErrorReason
func (*ErrorDetail) ProtoMessage ¶
func (*ErrorDetail) ProtoMessage()
func (*ErrorDetail) ProtoReflect ¶
func (x *ErrorDetail) ProtoReflect() protoreflect.Message
func (*ErrorDetail) Reset ¶
func (x *ErrorDetail) Reset()
func (*ErrorDetail) String ¶
func (x *ErrorDetail) String() string
type ErrorReason ¶
type ErrorReason int32
ErrorReason is attached to gRPC errors as an ErrorDetail status detail so callers can branch on it.
const ( ErrorReason_ERROR_REASON_UNSPECIFIED ErrorReason = 0 // The agent does not support the requested thread action (code UNIMPLEMENTED or FAILED_PRECONDITION). ErrorReason_ERROR_REASON_UNSUPPORTED ErrorReason = 1 // No gateway tunnel for the cluster (code UNAVAILABLE). The UI falls back to the console index. ErrorReason_ERROR_REASON_CLUSTER_OFFLINE ErrorReason = 2 // The call needs a running sandbox but the instance is suspended. Console resumes and retries where allowed. ErrorReason_ERROR_REASON_INSTANCE_SUSPENDED ErrorReason = 3 ErrorReason_ERROR_REASON_INSTANCE_NOT_FOUND ErrorReason = 4 ErrorReason_ERROR_REASON_THREAD_NOT_FOUND ErrorReason = 5 // A revision or compare-and-swap version was older than the stored one (code ABORTED). ErrorReason_ERROR_REASON_STALE_REVISION ErrorReason = 6 // Credentials could not be fetched or refreshed (code UNAVAILABLE). ErrorReason_ERROR_REASON_CREDENTIALS_UNAVAILABLE ErrorReason = 7 // The repository is outside the box's effective allowlist (code PERMISSION_DENIED). ErrorReason_ERROR_REASON_REPOSITORY_NOT_ALLOWED ErrorReason = 8 // The per-instance running-thread limit is reached; the thread is queued as `waiting`. ErrorReason_ERROR_REASON_THREAD_LIMIT_REACHED ErrorReason = 10 // The agent's subscription credential was rejected (401) by the vendor. ErrorReason_ERROR_REASON_AGENT_AUTH_FAILED ErrorReason = 11 // The agent's subscription plan rate limit was reached. ErrorReason_ERROR_REASON_PLAN_LIMIT_REACHED ErrorReason = 12 // The agent, model or config value is outside the box's catalog. ErrorReason_ERROR_REASON_INVALID_AGENT_OR_MODEL ErrorReason = 13 // A file write precondition (expected sha256) did not match (code FAILED_PRECONDITION). ErrorReason_ERROR_REASON_FILE_CONFLICT ErrorReason = 14 // The instance is waking (or otherwise starting) and the call gave up waiting; the operation continues in the // background, so retry shortly (code UNAVAILABLE). ErrorReason_ERROR_REASON_INSTANCE_STARTING ErrorReason = 15 )
func (ErrorReason) Descriptor ¶
func (ErrorReason) Descriptor() protoreflect.EnumDescriptor
func (ErrorReason) Enum ¶
func (x ErrorReason) Enum() *ErrorReason
func (ErrorReason) EnumDescriptor
deprecated
func (ErrorReason) EnumDescriptor() ([]byte, []int)
Deprecated: Use ErrorReason.Descriptor instead.
func (ErrorReason) Number ¶
func (x ErrorReason) Number() protoreflect.EnumNumber
func (ErrorReason) String ¶
func (x ErrorReason) String() string
func (ErrorReason) Type ¶
func (ErrorReason) Type() protoreflect.EnumType
type FileChange ¶
type FileChange struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
OldPath string `protobuf:"bytes,2,opt,name=old_path,json=oldPath,proto3" json:"old_path,omitempty"`
Status ChangeStatus `protobuf:"varint,3,opt,name=status,proto3,enum=devbox.v1.ChangeStatus" json:"status,omitempty"`
Staged bool `protobuf:"varint,4,opt,name=staged,proto3" json:"staged,omitempty"`
Additions int32 `protobuf:"varint,5,opt,name=additions,proto3" json:"additions,omitempty"`
Deletions int32 `protobuf:"varint,6,opt,name=deletions,proto3" json:"deletions,omitempty"`
Binary bool `protobuf:"varint,7,opt,name=binary,proto3" json:"binary,omitempty"`
// Unified diff, when requested.
Diff string `protobuf:"bytes,8,opt,name=diff,proto3" json:"diff,omitempty"`
DiffTruncated bool `protobuf:"varint,9,opt,name=diff_truncated,json=diffTruncated,proto3" json:"diff_truncated,omitempty"`
// contains filtered or unexported fields
}
func (*FileChange) Descriptor
deprecated
func (*FileChange) Descriptor() ([]byte, []int)
Deprecated: Use FileChange.ProtoReflect.Descriptor instead.
func (*FileChange) GetAdditions ¶
func (x *FileChange) GetAdditions() int32
func (*FileChange) GetBinary ¶
func (x *FileChange) GetBinary() bool
func (*FileChange) GetDeletions ¶
func (x *FileChange) GetDeletions() int32
func (*FileChange) GetDiff ¶
func (x *FileChange) GetDiff() string
func (*FileChange) GetDiffTruncated ¶
func (x *FileChange) GetDiffTruncated() bool
func (*FileChange) GetOldPath ¶
func (x *FileChange) GetOldPath() string
func (*FileChange) GetPath ¶
func (x *FileChange) GetPath() string
func (*FileChange) GetStaged ¶
func (x *FileChange) GetStaged() bool
func (*FileChange) GetStatus ¶
func (x *FileChange) GetStatus() ChangeStatus
func (*FileChange) ProtoMessage ¶
func (*FileChange) ProtoMessage()
func (*FileChange) ProtoReflect ¶
func (x *FileChange) ProtoReflect() protoreflect.Message
func (*FileChange) Reset ¶
func (x *FileChange) Reset()
func (*FileChange) String ¶
func (x *FileChange) String() string
type FileEntry ¶
type FileEntry struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Type FileType `protobuf:"varint,3,opt,name=type,proto3,enum=devbox.v1.FileType" json:"type,omitempty"`
Size int64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"`
Mode uint32 `protobuf:"varint,5,opt,name=mode,proto3" json:"mode,omitempty"`
ModifiedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=modified_at,json=modifiedAt,proto3" json:"modified_at,omitempty"`
SymlinkTarget string `protobuf:"bytes,7,opt,name=symlink_target,json=symlinkTarget,proto3" json:"symlink_target,omitempty"`
// Name of the checkout containing the file, if any.
Repository string `protobuf:"bytes,8,opt,name=repository,proto3" json:"repository,omitempty"`
// Git status letter pair from `git status --porcelain` (e.g. " M", "??"), empty when clean or untracked by git.
GitStatus string `protobuf:"bytes,9,opt,name=git_status,json=gitStatus,proto3" json:"git_status,omitempty"`
// contains filtered or unexported fields
}
func (*FileEntry) Descriptor
deprecated
func (*FileEntry) GetGitStatus ¶
func (*FileEntry) GetModifiedAt ¶
func (x *FileEntry) GetModifiedAt() *timestamppb.Timestamp
func (*FileEntry) GetRepository ¶
func (*FileEntry) GetSymlinkTarget ¶
func (*FileEntry) ProtoMessage ¶
func (*FileEntry) ProtoMessage()
func (*FileEntry) ProtoReflect ¶
func (x *FileEntry) ProtoReflect() protoreflect.Message
type FileEvent ¶
type FileEvent struct {
Type FileEventType `protobuf:"varint,1,opt,name=type,proto3,enum=devbox.v1.FileEventType" json:"type,omitempty"`
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
OldPath string `protobuf:"bytes,3,opt,name=old_path,json=oldPath,proto3" json:"old_path,omitempty"`
Entry *FileEntry `protobuf:"bytes,4,opt,name=entry,proto3" json:"entry,omitempty"`
// contains filtered or unexported fields
}
func (*FileEvent) Descriptor
deprecated
func (*FileEvent) GetOldPath ¶
func (*FileEvent) GetType ¶
func (x *FileEvent) GetType() FileEventType
func (*FileEvent) ProtoMessage ¶
func (*FileEvent) ProtoMessage()
func (*FileEvent) ProtoReflect ¶
func (x *FileEvent) ProtoReflect() protoreflect.Message
type FileEventType ¶
type FileEventType int32
const ( FileEventType_FILE_EVENT_TYPE_UNSPECIFIED FileEventType = 0 FileEventType_FILE_EVENT_TYPE_CREATED FileEventType = 1 FileEventType_FILE_EVENT_TYPE_MODIFIED FileEventType = 2 FileEventType_FILE_EVENT_TYPE_DELETED FileEventType = 3 FileEventType_FILE_EVENT_TYPE_RENAMED FileEventType = 4 )
func (FileEventType) Descriptor ¶
func (FileEventType) Descriptor() protoreflect.EnumDescriptor
func (FileEventType) Enum ¶
func (x FileEventType) Enum() *FileEventType
func (FileEventType) EnumDescriptor
deprecated
func (FileEventType) EnumDescriptor() ([]byte, []int)
Deprecated: Use FileEventType.Descriptor instead.
func (FileEventType) Number ¶
func (x FileEventType) Number() protoreflect.EnumNumber
func (FileEventType) String ¶
func (x FileEventType) String() string
func (FileEventType) Type ¶
func (FileEventType) Type() protoreflect.EnumType
type FileType ¶
type FileType int32
func (FileType) Descriptor ¶
func (FileType) Descriptor() protoreflect.EnumDescriptor
func (FileType) EnumDescriptor
deprecated
func (FileType) Number ¶
func (x FileType) Number() protoreflect.EnumNumber
func (FileType) Type ¶
func (FileType) Type() protoreflect.EnumType
type ForegroundState ¶
type ForegroundState struct {
State ForegroundStateKind `protobuf:"varint,1,opt,name=state,proto3,enum=devbox.v1.ForegroundStateKind" json:"state,omitempty"`
// end_turn, max_tokens, max_turn_requests, refusal, cancelled (set when idle).
StopReason string `protobuf:"bytes,2,opt,name=stop_reason,json=stopReason,proto3" json:"stop_reason,omitempty"`
// Typed thread error, e.g. AGENT_AUTH_FAILED or PLAN_LIMIT_REACHED, plus the agent's JSON-RPC error.
Error *AgentError `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
// Background work the agent reports while foreground is idle, verbatim.
BackgroundWork *structpb.Value `protobuf:"bytes,4,opt,name=background_work,json=backgroundWork,proto3" json:"background_work,omitempty"`
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
Meta *structpb.Struct `protobuf:"bytes,6,opt,name=meta,proto3" json:"meta,omitempty"`
// contains filtered or unexported fields
}
ForegroundState is the session's latest ACP `state_update`.
func (*ForegroundState) Descriptor
deprecated
func (*ForegroundState) Descriptor() ([]byte, []int)
Deprecated: Use ForegroundState.ProtoReflect.Descriptor instead.
func (*ForegroundState) GetBackgroundWork ¶
func (x *ForegroundState) GetBackgroundWork() *structpb.Value
func (*ForegroundState) GetError ¶
func (x *ForegroundState) GetError() *AgentError
func (*ForegroundState) GetMeta ¶
func (x *ForegroundState) GetMeta() *structpb.Struct
func (*ForegroundState) GetState ¶
func (x *ForegroundState) GetState() ForegroundStateKind
func (*ForegroundState) GetStopReason ¶
func (x *ForegroundState) GetStopReason() string
func (*ForegroundState) GetUpdatedAt ¶
func (x *ForegroundState) GetUpdatedAt() *timestamppb.Timestamp
func (*ForegroundState) ProtoMessage ¶
func (*ForegroundState) ProtoMessage()
func (*ForegroundState) ProtoReflect ¶
func (x *ForegroundState) ProtoReflect() protoreflect.Message
func (*ForegroundState) Reset ¶
func (x *ForegroundState) Reset()
func (*ForegroundState) String ¶
func (x *ForegroundState) String() string
type ForegroundStateKind ¶
type ForegroundStateKind int32
const ( ForegroundStateKind_FOREGROUND_STATE_KIND_UNSPECIFIED ForegroundStateKind = 0 ForegroundStateKind_FOREGROUND_STATE_KIND_RUNNING ForegroundStateKind = 1 // "Needs you": a permission or elicitation is pending. ForegroundStateKind_FOREGROUND_STATE_KIND_REQUIRES_ACTION ForegroundStateKind = 2 ForegroundStateKind_FOREGROUND_STATE_KIND_IDLE ForegroundStateKind = 3 )
func (ForegroundStateKind) Descriptor ¶
func (ForegroundStateKind) Descriptor() protoreflect.EnumDescriptor
func (ForegroundStateKind) Enum ¶
func (x ForegroundStateKind) Enum() *ForegroundStateKind
func (ForegroundStateKind) EnumDescriptor
deprecated
func (ForegroundStateKind) EnumDescriptor() ([]byte, []int)
Deprecated: Use ForegroundStateKind.Descriptor instead.
func (ForegroundStateKind) Number ¶
func (x ForegroundStateKind) Number() protoreflect.EnumNumber
func (ForegroundStateKind) String ¶
func (x ForegroundStateKind) String() string
func (ForegroundStateKind) Type ¶
func (ForegroundStateKind) Type() protoreflect.EnumType
type ForkThreadRequest ¶
type ForkThreadRequest struct {
Thread *ThreadRef `protobuf:"bytes,1,opt,name=thread,proto3" json:"thread,omitempty"`
NewThreadId string `protobuf:"bytes,2,opt,name=new_thread_id,json=newThreadId,proto3" json:"new_thread_id,omitempty"`
Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
RequestedBy *Principal `protobuf:"bytes,4,opt,name=requested_by,json=requestedBy,proto3" json:"requested_by,omitempty"`
ResumeIfSuspended bool `protobuf:"varint,5,opt,name=resume_if_suspended,json=resumeIfSuspended,proto3" json:"resume_if_suspended,omitempty"`
// contains filtered or unexported fields
}
func (*ForkThreadRequest) Descriptor
deprecated
func (*ForkThreadRequest) Descriptor() ([]byte, []int)
Deprecated: Use ForkThreadRequest.ProtoReflect.Descriptor instead.
func (*ForkThreadRequest) GetNewThreadId ¶
func (x *ForkThreadRequest) GetNewThreadId() string
func (*ForkThreadRequest) GetRequestedBy ¶
func (x *ForkThreadRequest) GetRequestedBy() *Principal
func (*ForkThreadRequest) GetResumeIfSuspended ¶
func (x *ForkThreadRequest) GetResumeIfSuspended() bool
func (*ForkThreadRequest) GetThread ¶
func (x *ForkThreadRequest) GetThread() *ThreadRef
func (*ForkThreadRequest) GetTitle ¶
func (x *ForkThreadRequest) GetTitle() string
func (*ForkThreadRequest) ProtoMessage ¶
func (*ForkThreadRequest) ProtoMessage()
func (*ForkThreadRequest) ProtoReflect ¶
func (x *ForkThreadRequest) ProtoReflect() protoreflect.Message
func (*ForkThreadRequest) Reset ¶
func (x *ForkThreadRequest) Reset()
func (*ForkThreadRequest) String ¶
func (x *ForkThreadRequest) String() string
type GatewayClient ¶
type GatewayClient interface {
CreateInstance(ctx context.Context, in *CreateInstanceRequest, opts ...grpc.CallOption) (*CreateInstanceResponse, error)
StartFromSnapshot(ctx context.Context, in *StartFromSnapshotRequest, opts ...grpc.CallOption) (*CreateInstanceResponse, error)
CancelInstance(ctx context.Context, in *InstanceActionRequest, opts ...grpc.CallOption) (*InstanceActionResponse, error)
SuspendInstance(ctx context.Context, in *InstanceActionRequest, opts ...grpc.CallOption) (*InstanceActionResponse, error)
ResumeInstance(ctx context.Context, in *InstanceActionRequest, opts ...grpc.CallOption) (*InstanceActionResponse, error)
SnapshotInstance(ctx context.Context, in *SnapshotInstanceRequest, opts ...grpc.CallOption) (*SnapshotInstanceResponse, error)
DeleteSnapshot(ctx context.Context, in *DeleteSnapshotRequest, opts ...grpc.CallOption) (*DeleteSnapshotResponse, error)
SetAgentBilling(ctx context.Context, in *SetAgentBillingRequest, opts ...grpc.CallOption) (*SetAgentBillingResponse, error)
CreateThread(ctx context.Context, in *CreateThreadRequest, opts ...grpc.CallOption) (*ThreadResponse, error)
ListThreads(ctx context.Context, in *ListThreadsRequest, opts ...grpc.CallOption) (*ListThreadsResponse, error)
ImportThread(ctx context.Context, in *ImportThreadRequest, opts ...grpc.CallOption) (*ThreadResponse, error)
ResumeThread(ctx context.Context, in *ResumeThreadRequest, opts ...grpc.CallOption) (*ThreadResponse, error)
CloseThread(ctx context.Context, in *ThreadActionRequest, opts ...grpc.CallOption) (*ThreadResponse, error)
DeleteThread(ctx context.Context, in *ThreadActionRequest, opts ...grpc.CallOption) (*DeleteThreadResponse, error)
ForkThread(ctx context.Context, in *ForkThreadRequest, opts ...grpc.CallOption) (*ThreadResponse, error)
Prompt(ctx context.Context, in *PromptRequest, opts ...grpc.CallOption) (*PromptResponse, error)
CancelPrompt(ctx context.Context, in *CancelPromptRequest, opts ...grpc.CallOption) (*CancelPromptResponse, error)
UpdateQueuedPrompt(ctx context.Context, in *UpdateQueuedPromptRequest, opts ...grpc.CallOption) (*UpdateQueuedPromptResponse, error)
SetThreadConfigOption(ctx context.Context, in *SetThreadConfigOptionRequest, opts ...grpc.CallOption) (*SetThreadConfigOptionResponse, error)
RespondInteraction(ctx context.Context, in *RespondInteractionRequest, opts ...grpc.CallOption) (*RespondInteractionResponse, error)
ListCommands(ctx context.Context, in *ListCommandsRequest, opts ...grpc.CallOption) (*ListCommandsResponse, error)
GetTimeline(ctx context.Context, in *GetTimelineRequest, opts ...grpc.CallOption) (*GetTimelineResponse, error)
GetSessions(ctx context.Context, in *GetSessionsRequest, opts ...grpc.CallOption) (*GetSessionsResponse, error)
SetInstanceLeases(ctx context.Context, in *SetInstanceLeasesRequest, opts ...grpc.CallOption) (*SetInstanceLeasesResponse, error)
AddRepository(ctx context.Context, in *AddRepositoryRequest, opts ...grpc.CallOption) (*AddRepositoryResponse, error)
ListRepositories(ctx context.Context, in *ListRepositoriesRequest, opts ...grpc.CallOption) (*ListRepositoriesResponse, error)
ListFiles(ctx context.Context, in *ListFilesRequest, opts ...grpc.CallOption) (*ListFilesResponse, error)
ReadFile(ctx context.Context, in *ReadFileRequest, opts ...grpc.CallOption) (*ReadFileResponse, error)
WriteFile(ctx context.Context, in *WriteFileRequest, opts ...grpc.CallOption) (*WriteFileResponse, error)
GetChanges(ctx context.Context, in *GetChangesRequest, opts ...grpc.CallOption) (*GetChangesResponse, error)
PreparePullRequest(ctx context.Context, in *PreparePullRequestRequest, opts ...grpc.CallOption) (*PreparePullRequestResponse, error)
OpenStream(ctx context.Context, in *OpenStreamRequest, opts ...grpc.CallOption) (*OpenStreamResponse, error)
InvalidateAllowlist(ctx context.Context, in *InvalidateAllowlistRequest, opts ...grpc.CallOption) (*InvalidateAllowlistResponse, error)
// ProxyStream carries one browser WebSocket (terminal, VNC or preview) from KAS to the sandbox, as
// HTTP-over-gRPC with upgrade support. Metadata: `devbox-instance-id` and `devbox-stream-id` (from the
// validated stream token). The gateway resolves the stream ID registered by OpenStream and forwards to the
// daemon's `daemon_path` through atenet-router; the request's own url_path is only used as a suffix for
// PREVIEW streams.
ProxyStream(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[HttpRequest, HttpResponse], error)
}
GatewayClient is the client API for Gateway service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Gateway is served by devbox-gateway, only through the reverse tunnel. Its methods are Control's (same names and messages, so KAS forwards by rewriting the method path), plus ProxyStream for interactive byte streams.
func NewGatewayClient ¶
func NewGatewayClient(cc grpc.ClientConnInterface) GatewayClient
type GatewayServer ¶
type GatewayServer interface {
CreateInstance(context.Context, *CreateInstanceRequest) (*CreateInstanceResponse, error)
StartFromSnapshot(context.Context, *StartFromSnapshotRequest) (*CreateInstanceResponse, error)
CancelInstance(context.Context, *InstanceActionRequest) (*InstanceActionResponse, error)
SuspendInstance(context.Context, *InstanceActionRequest) (*InstanceActionResponse, error)
ResumeInstance(context.Context, *InstanceActionRequest) (*InstanceActionResponse, error)
SnapshotInstance(context.Context, *SnapshotInstanceRequest) (*SnapshotInstanceResponse, error)
DeleteSnapshot(context.Context, *DeleteSnapshotRequest) (*DeleteSnapshotResponse, error)
SetAgentBilling(context.Context, *SetAgentBillingRequest) (*SetAgentBillingResponse, error)
CreateThread(context.Context, *CreateThreadRequest) (*ThreadResponse, error)
ListThreads(context.Context, *ListThreadsRequest) (*ListThreadsResponse, error)
ImportThread(context.Context, *ImportThreadRequest) (*ThreadResponse, error)
ResumeThread(context.Context, *ResumeThreadRequest) (*ThreadResponse, error)
CloseThread(context.Context, *ThreadActionRequest) (*ThreadResponse, error)
DeleteThread(context.Context, *ThreadActionRequest) (*DeleteThreadResponse, error)
ForkThread(context.Context, *ForkThreadRequest) (*ThreadResponse, error)
Prompt(context.Context, *PromptRequest) (*PromptResponse, error)
CancelPrompt(context.Context, *CancelPromptRequest) (*CancelPromptResponse, error)
UpdateQueuedPrompt(context.Context, *UpdateQueuedPromptRequest) (*UpdateQueuedPromptResponse, error)
SetThreadConfigOption(context.Context, *SetThreadConfigOptionRequest) (*SetThreadConfigOptionResponse, error)
RespondInteraction(context.Context, *RespondInteractionRequest) (*RespondInteractionResponse, error)
ListCommands(context.Context, *ListCommandsRequest) (*ListCommandsResponse, error)
GetTimeline(context.Context, *GetTimelineRequest) (*GetTimelineResponse, error)
GetSessions(context.Context, *GetSessionsRequest) (*GetSessionsResponse, error)
SetInstanceLeases(context.Context, *SetInstanceLeasesRequest) (*SetInstanceLeasesResponse, error)
AddRepository(context.Context, *AddRepositoryRequest) (*AddRepositoryResponse, error)
ListRepositories(context.Context, *ListRepositoriesRequest) (*ListRepositoriesResponse, error)
ListFiles(context.Context, *ListFilesRequest) (*ListFilesResponse, error)
ReadFile(context.Context, *ReadFileRequest) (*ReadFileResponse, error)
WriteFile(context.Context, *WriteFileRequest) (*WriteFileResponse, error)
GetChanges(context.Context, *GetChangesRequest) (*GetChangesResponse, error)
PreparePullRequest(context.Context, *PreparePullRequestRequest) (*PreparePullRequestResponse, error)
OpenStream(context.Context, *OpenStreamRequest) (*OpenStreamResponse, error)
InvalidateAllowlist(context.Context, *InvalidateAllowlistRequest) (*InvalidateAllowlistResponse, error)
// ProxyStream carries one browser WebSocket (terminal, VNC or preview) from KAS to the sandbox, as
// HTTP-over-gRPC with upgrade support. Metadata: `devbox-instance-id` and `devbox-stream-id` (from the
// validated stream token). The gateway resolves the stream ID registered by OpenStream and forwards to the
// daemon's `daemon_path` through atenet-router; the request's own url_path is only used as a suffix for
// PREVIEW streams.
ProxyStream(grpc.BidiStreamingServer[HttpRequest, HttpResponse]) error
// contains filtered or unexported methods
}
GatewayServer is the server API for Gateway service. All implementations must embed UnimplementedGatewayServer for forward compatibility.
Gateway is served by devbox-gateway, only through the reverse tunnel. Its methods are Control's (same names and messages, so KAS forwards by rewriting the method path), plus ProxyStream for interactive byte streams.
type Gateway_ProxyStreamClient ¶
type Gateway_ProxyStreamClient = grpc.BidiStreamingClient[HttpRequest, HttpResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Gateway_ProxyStreamServer ¶
type Gateway_ProxyStreamServer = grpc.BidiStreamingServer[HttpRequest, HttpResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type GcpIdentity ¶
type GcpIdentity struct {
// Full provider resource name; also the token audience.
WorkloadIdentityProvider string `` /* 135-byte string literal not displayed */
// Optional service account to impersonate.
ServiceAccount string `protobuf:"bytes,2,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
// contains filtered or unexported fields
}
func (*GcpIdentity) Descriptor
deprecated
func (*GcpIdentity) Descriptor() ([]byte, []int)
Deprecated: Use GcpIdentity.ProtoReflect.Descriptor instead.
func (*GcpIdentity) GetServiceAccount ¶
func (x *GcpIdentity) GetServiceAccount() string
func (*GcpIdentity) GetWorkloadIdentityProvider ¶
func (x *GcpIdentity) GetWorkloadIdentityProvider() string
func (*GcpIdentity) ProtoMessage ¶
func (*GcpIdentity) ProtoMessage()
func (*GcpIdentity) ProtoReflect ¶
func (x *GcpIdentity) ProtoReflect() protoreflect.Message
func (*GcpIdentity) Reset ¶
func (x *GcpIdentity) Reset()
func (*GcpIdentity) String ¶
func (x *GcpIdentity) String() string
type GetBrowserRequest ¶
type GetBrowserRequest struct {
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
// contains filtered or unexported fields
}
func (*GetBrowserRequest) Descriptor
deprecated
func (*GetBrowserRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBrowserRequest.ProtoReflect.Descriptor instead.
func (*GetBrowserRequest) GetInstanceId ¶
func (x *GetBrowserRequest) GetInstanceId() string
func (*GetBrowserRequest) ProtoMessage ¶
func (*GetBrowserRequest) ProtoMessage()
func (*GetBrowserRequest) ProtoReflect ¶
func (x *GetBrowserRequest) ProtoReflect() protoreflect.Message
func (*GetBrowserRequest) Reset ¶
func (x *GetBrowserRequest) Reset()
func (*GetBrowserRequest) String ¶
func (x *GetBrowserRequest) String() string
type GetChangesRequest ¶
type GetChangesRequest struct {
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
// Restrict to a thread's worktrees. Empty means the main checkouts under ~.
ThreadId string `protobuf:"bytes,2,opt,name=thread_id,json=threadId,proto3" json:"thread_id,omitempty"`
// Restrict to these checkout names. Empty means all.
Repositories []string `protobuf:"bytes,3,rep,name=repositories,proto3" json:"repositories,omitempty"`
Base ChangesBase `protobuf:"varint,4,opt,name=base,proto3,enum=devbox.v1.ChangesBase" json:"base,omitempty"`
IncludeDiff bool `protobuf:"varint,5,opt,name=include_diff,json=includeDiff,proto3" json:"include_diff,omitempty"`
// Cap per file diff; 0 means the daemon default (256 KiB).
MaxDiffBytes int32 `protobuf:"varint,6,opt,name=max_diff_bytes,json=maxDiffBytes,proto3" json:"max_diff_bytes,omitempty"`
// Restrict to one path (for a single-file diff view).
Path string `protobuf:"bytes,7,opt,name=path,proto3" json:"path,omitempty"`
// contains filtered or unexported fields
}
func (*GetChangesRequest) Descriptor
deprecated
func (*GetChangesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetChangesRequest.ProtoReflect.Descriptor instead.
func (*GetChangesRequest) GetBase ¶
func (x *GetChangesRequest) GetBase() ChangesBase
func (*GetChangesRequest) GetIncludeDiff ¶
func (x *GetChangesRequest) GetIncludeDiff() bool
func (*GetChangesRequest) GetInstanceId ¶
func (x *GetChangesRequest) GetInstanceId() string
func (*GetChangesRequest) GetMaxDiffBytes ¶
func (x *GetChangesRequest) GetMaxDiffBytes() int32
func (*GetChangesRequest) GetPath ¶
func (x *GetChangesRequest) GetPath() string
func (*GetChangesRequest) GetRepositories ¶
func (x *GetChangesRequest) GetRepositories() []string
func (*GetChangesRequest) GetThreadId ¶
func (x *GetChangesRequest) GetThreadId() string
func (*GetChangesRequest) ProtoMessage ¶
func (*GetChangesRequest) ProtoMessage()
func (*GetChangesRequest) ProtoReflect ¶
func (x *GetChangesRequest) ProtoReflect() protoreflect.Message
func (*GetChangesRequest) Reset ¶
func (x *GetChangesRequest) Reset()
func (*GetChangesRequest) String ¶
func (x *GetChangesRequest) String() string
type GetChangesResponse ¶
type GetChangesResponse struct {
Repositories []*RepositoryChanges `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"`
// contains filtered or unexported fields
}
func (*GetChangesResponse) Descriptor
deprecated
func (*GetChangesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetChangesResponse.ProtoReflect.Descriptor instead.
func (*GetChangesResponse) GetRepositories ¶
func (x *GetChangesResponse) GetRepositories() []*RepositoryChanges
func (*GetChangesResponse) ProtoMessage ¶
func (*GetChangesResponse) ProtoMessage()
func (*GetChangesResponse) ProtoReflect ¶
func (x *GetChangesResponse) ProtoReflect() protoreflect.Message
func (*GetChangesResponse) Reset ¶
func (x *GetChangesResponse) Reset()
func (*GetChangesResponse) String ¶
func (x *GetChangesResponse) String() string
type GetIdleStateRequest ¶
type GetIdleStateRequest struct {
// contains filtered or unexported fields
}
func (*GetIdleStateRequest) Descriptor
deprecated
func (*GetIdleStateRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetIdleStateRequest.ProtoReflect.Descriptor instead.
func (*GetIdleStateRequest) ProtoMessage ¶
func (*GetIdleStateRequest) ProtoMessage()
func (*GetIdleStateRequest) ProtoReflect ¶
func (x *GetIdleStateRequest) ProtoReflect() protoreflect.Message
func (*GetIdleStateRequest) Reset ¶
func (x *GetIdleStateRequest) Reset()
func (*GetIdleStateRequest) String ¶
func (x *GetIdleStateRequest) String() string
type GetInfoRequest ¶
type GetInfoRequest struct {
// contains filtered or unexported fields
}
func (*GetInfoRequest) Descriptor
deprecated
func (*GetInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetInfoRequest.ProtoReflect.Descriptor instead.
func (*GetInfoRequest) ProtoMessage ¶
func (*GetInfoRequest) ProtoMessage()
func (*GetInfoRequest) ProtoReflect ¶
func (x *GetInfoRequest) ProtoReflect() protoreflect.Message
func (*GetInfoRequest) Reset ¶
func (x *GetInfoRequest) Reset()
func (*GetInfoRequest) String ¶
func (x *GetInfoRequest) String() string
type GetInstanceCredentialsRequest ¶
type GetInstanceCredentialsRequest struct {
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
Credentials []*CredentialSelector `protobuf:"bytes,2,rep,name=credentials,proto3" json:"credentials,omitempty"`
// contains filtered or unexported fields
}
func (*GetInstanceCredentialsRequest) Descriptor
deprecated
func (*GetInstanceCredentialsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetInstanceCredentialsRequest.ProtoReflect.Descriptor instead.
func (*GetInstanceCredentialsRequest) GetCredentials ¶
func (x *GetInstanceCredentialsRequest) GetCredentials() []*CredentialSelector
func (*GetInstanceCredentialsRequest) GetInstanceId ¶
func (x *GetInstanceCredentialsRequest) GetInstanceId() string
func (*GetInstanceCredentialsRequest) ProtoMessage ¶
func (*GetInstanceCredentialsRequest) ProtoMessage()
func (*GetInstanceCredentialsRequest) ProtoReflect ¶
func (x *GetInstanceCredentialsRequest) ProtoReflect() protoreflect.Message
func (*GetInstanceCredentialsRequest) Reset ¶
func (x *GetInstanceCredentialsRequest) Reset()
func (*GetInstanceCredentialsRequest) String ¶
func (x *GetInstanceCredentialsRequest) String() string
type GetInstanceCredentialsResponse ¶
type GetInstanceCredentialsResponse struct {
Credentials []*InstanceCredential `protobuf:"bytes,1,rep,name=credentials,proto3" json:"credentials,omitempty"`
// contains filtered or unexported fields
}
func (*GetInstanceCredentialsResponse) Descriptor
deprecated
func (*GetInstanceCredentialsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetInstanceCredentialsResponse.ProtoReflect.Descriptor instead.
func (*GetInstanceCredentialsResponse) GetCredentials ¶
func (x *GetInstanceCredentialsResponse) GetCredentials() []*InstanceCredential
func (*GetInstanceCredentialsResponse) ProtoMessage ¶
func (*GetInstanceCredentialsResponse) ProtoMessage()
func (*GetInstanceCredentialsResponse) ProtoReflect ¶
func (x *GetInstanceCredentialsResponse) ProtoReflect() protoreflect.Message
func (*GetInstanceCredentialsResponse) Reset ¶
func (x *GetInstanceCredentialsResponse) Reset()
func (*GetInstanceCredentialsResponse) String ¶
func (x *GetInstanceCredentialsResponse) String() string
type GetSandboxCredentialRequest ¶
type GetSandboxCredentialRequest struct {
Selector *CredentialSelector `protobuf:"bytes,1,opt,name=selector,proto3" json:"selector,omitempty"`
// contains filtered or unexported fields
}
func (*GetSandboxCredentialRequest) Descriptor
deprecated
func (*GetSandboxCredentialRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSandboxCredentialRequest.ProtoReflect.Descriptor instead.
func (*GetSandboxCredentialRequest) GetSelector ¶
func (x *GetSandboxCredentialRequest) GetSelector() *CredentialSelector
func (*GetSandboxCredentialRequest) ProtoMessage ¶
func (*GetSandboxCredentialRequest) ProtoMessage()
func (*GetSandboxCredentialRequest) ProtoReflect ¶
func (x *GetSandboxCredentialRequest) ProtoReflect() protoreflect.Message
func (*GetSandboxCredentialRequest) Reset ¶
func (x *GetSandboxCredentialRequest) Reset()
func (*GetSandboxCredentialRequest) String ¶
func (x *GetSandboxCredentialRequest) String() string
type GetSandboxCredentialResponse ¶
type GetSandboxCredentialResponse struct {
Credentials []*InstanceCredential `protobuf:"bytes,1,rep,name=credentials,proto3" json:"credentials,omitempty"`
// contains filtered or unexported fields
}
func (*GetSandboxCredentialResponse) Descriptor
deprecated
func (*GetSandboxCredentialResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSandboxCredentialResponse.ProtoReflect.Descriptor instead.
func (*GetSandboxCredentialResponse) GetCredentials ¶
func (x *GetSandboxCredentialResponse) GetCredentials() []*InstanceCredential
func (*GetSandboxCredentialResponse) ProtoMessage ¶
func (*GetSandboxCredentialResponse) ProtoMessage()
func (*GetSandboxCredentialResponse) ProtoReflect ¶
func (x *GetSandboxCredentialResponse) ProtoReflect() protoreflect.Message
func (*GetSandboxCredentialResponse) Reset ¶
func (x *GetSandboxCredentialResponse) Reset()
func (*GetSandboxCredentialResponse) String ¶
func (x *GetSandboxCredentialResponse) String() string
type GetSessionsRequest ¶
type GetSessionsRequest struct {
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
// contains filtered or unexported fields
}
func (*GetSessionsRequest) Descriptor
deprecated
func (*GetSessionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSessionsRequest.ProtoReflect.Descriptor instead.
func (*GetSessionsRequest) GetInstanceId ¶
func (x *GetSessionsRequest) GetInstanceId() string
func (*GetSessionsRequest) ProtoMessage ¶
func (*GetSessionsRequest) ProtoMessage()
func (*GetSessionsRequest) ProtoReflect ¶
func (x *GetSessionsRequest) ProtoReflect() protoreflect.Message
func (*GetSessionsRequest) Reset ¶
func (x *GetSessionsRequest) Reset()
func (*GetSessionsRequest) String ¶
func (x *GetSessionsRequest) String() string
type GetSessionsResponse ¶
type GetSessionsResponse struct {
// Threads and subagents, flat; build the tree with parent_session_id.
Sessions []*Session `protobuf:"bytes,1,rep,name=sessions,proto3" json:"sessions,omitempty"`
Connections []*AgentConnection `protobuf:"bytes,2,rep,name=connections,proto3" json:"connections,omitempty"`
// contains filtered or unexported fields
}
func (*GetSessionsResponse) Descriptor
deprecated
func (*GetSessionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSessionsResponse.ProtoReflect.Descriptor instead.
func (*GetSessionsResponse) GetConnections ¶
func (x *GetSessionsResponse) GetConnections() []*AgentConnection
func (*GetSessionsResponse) GetSessions ¶
func (x *GetSessionsResponse) GetSessions() []*Session
func (*GetSessionsResponse) ProtoMessage ¶
func (*GetSessionsResponse) ProtoMessage()
func (*GetSessionsResponse) ProtoReflect ¶
func (x *GetSessionsResponse) ProtoReflect() protoreflect.Message
func (*GetSessionsResponse) Reset ¶
func (x *GetSessionsResponse) Reset()
func (*GetSessionsResponse) String ¶
func (x *GetSessionsResponse) String() string
type GetTimelineRequest ¶
type GetTimelineRequest struct {
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
SessionId string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
// Without a cursor the page is the newest `limit` entities, and has_more says older ones exist.
//
// Types that are valid to be assigned to Cursor:
//
// *GetTimelineRequest_AfterPosition
// *GetTimelineRequest_BeforePosition
Cursor isGetTimelineRequest_Cursor `protobuf_oneof:"cursor"`
// Page size; capped at 1000 (default 200).
Limit int32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
ResumeIfSuspended bool `protobuf:"varint,5,opt,name=resume_if_suspended,json=resumeIfSuspended,proto3" json:"resume_if_suspended,omitempty"`
// contains filtered or unexported fields
}
func (*GetTimelineRequest) Descriptor
deprecated
func (*GetTimelineRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTimelineRequest.ProtoReflect.Descriptor instead.
func (*GetTimelineRequest) GetAfterPosition ¶
func (x *GetTimelineRequest) GetAfterPosition() uint64
func (*GetTimelineRequest) GetBeforePosition ¶
func (x *GetTimelineRequest) GetBeforePosition() uint64
func (*GetTimelineRequest) GetCursor ¶
func (x *GetTimelineRequest) GetCursor() isGetTimelineRequest_Cursor
func (*GetTimelineRequest) GetInstanceId ¶
func (x *GetTimelineRequest) GetInstanceId() string
func (*GetTimelineRequest) GetLimit ¶
func (x *GetTimelineRequest) GetLimit() int32
func (*GetTimelineRequest) GetResumeIfSuspended ¶
func (x *GetTimelineRequest) GetResumeIfSuspended() bool
func (*GetTimelineRequest) GetSessionId ¶
func (x *GetTimelineRequest) GetSessionId() string
func (*GetTimelineRequest) ProtoMessage ¶
func (*GetTimelineRequest) ProtoMessage()
func (*GetTimelineRequest) ProtoReflect ¶
func (x *GetTimelineRequest) ProtoReflect() protoreflect.Message
func (*GetTimelineRequest) Reset ¶
func (x *GetTimelineRequest) Reset()
func (*GetTimelineRequest) String ¶
func (x *GetTimelineRequest) String() string
type GetTimelineRequest_AfterPosition ¶
type GetTimelineRequest_AfterPosition struct {
// The oldest `limit` entities with position > after_position. 0 starts from the beginning.
AfterPosition uint64 `protobuf:"varint,3,opt,name=after_position,json=afterPosition,proto3,oneof"`
}
type GetTimelineRequest_BeforePosition ¶
type GetTimelineRequest_BeforePosition struct {
// The newest `limit` entities with position < before_position.
BeforePosition uint64 `protobuf:"varint,6,opt,name=before_position,json=beforePosition,proto3,oneof"`
}
type GetTimelineResponse ¶
type GetTimelineResponse struct {
// Latest revision of each entity, ordered by position. In-flight entities have settled = false.
Entities []*AcpEntity `protobuf:"bytes,1,rep,name=entities,proto3" json:"entities,omitempty"`
// The cursor for the next page in the same direction: the last position when paging forwards, the first when
// paging backwards (or without a cursor).
NextPosition uint64 `protobuf:"varint,2,opt,name=next_position,json=nextPosition,proto3" json:"next_position,omitempty"`
// More entities exist in the paging direction.
HasMore bool `protobuf:"varint,3,opt,name=has_more,json=hasMore,proto3" json:"has_more,omitempty"`
// Apply live deltas with offset > delta_offset on top of this page.
DeltaOffset uint64 `protobuf:"varint,4,opt,name=delta_offset,json=deltaOffset,proto3" json:"delta_offset,omitempty"`
// The session's last Delta.seq (and its stream) this page reflects: apply live deltas from seq + 1, in order.
Seq uint64 `protobuf:"varint,6,opt,name=seq,proto3" json:"seq,omitempty"`
Stream string `protobuf:"bytes,7,opt,name=stream,proto3" json:"stream,omitempty"`
// contains filtered or unexported fields
}
func (*GetTimelineResponse) Descriptor
deprecated
func (*GetTimelineResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTimelineResponse.ProtoReflect.Descriptor instead.
func (*GetTimelineResponse) GetDeltaOffset ¶
func (x *GetTimelineResponse) GetDeltaOffset() uint64
func (*GetTimelineResponse) GetEntities ¶
func (x *GetTimelineResponse) GetEntities() []*AcpEntity
func (*GetTimelineResponse) GetHasMore ¶
func (x *GetTimelineResponse) GetHasMore() bool
func (*GetTimelineResponse) GetNextPosition ¶
func (x *GetTimelineResponse) GetNextPosition() uint64
func (*GetTimelineResponse) GetSeq ¶
func (x *GetTimelineResponse) GetSeq() uint64
func (*GetTimelineResponse) GetStream ¶
func (x *GetTimelineResponse) GetStream() string
func (*GetTimelineResponse) ProtoMessage ¶
func (*GetTimelineResponse) ProtoMessage()
func (*GetTimelineResponse) ProtoReflect ¶
func (x *GetTimelineResponse) ProtoReflect() protoreflect.Message
func (*GetTimelineResponse) Reset ¶
func (x *GetTimelineResponse) Reset()
func (*GetTimelineResponse) String ¶
func (x *GetTimelineResponse) String() string
type HarnessEndpoints ¶
type HarnessEndpoints struct {
ConsoleUrl string `protobuf:"bytes,1,opt,name=console_url,json=consoleUrl,proto3" json:"console_url,omitempty"`
AiProxyUrl string `protobuf:"bytes,2,opt,name=ai_proxy_url,json=aiProxyUrl,proto3" json:"ai_proxy_url,omitempty"`
WorkbenchMcpUrl string `protobuf:"bytes,3,opt,name=workbench_mcp_url,json=workbenchMcpUrl,proto3" json:"workbench_mcp_url,omitempty"`
// The gateway's devbox MCP; the daemon adds a per-thread `X-Devbox-Thread` header to each session's entry.
DevboxMcpUrl string `protobuf:"bytes,4,opt,name=devbox_mcp_url,json=devboxMcpUrl,proto3" json:"devbox_mcp_url,omitempty"`
// The gateway's SandboxCredentials service.
SandboxCredentialsUrl string `` /* 126-byte string literal not displayed */
// contains filtered or unexported fields
}
HarnessEndpoints are the URLs harnesses are configured with. All are reached through atenet-egress, which injects the real credentials.
func (*HarnessEndpoints) Descriptor
deprecated
func (*HarnessEndpoints) Descriptor() ([]byte, []int)
Deprecated: Use HarnessEndpoints.ProtoReflect.Descriptor instead.
func (*HarnessEndpoints) GetAiProxyUrl ¶
func (x *HarnessEndpoints) GetAiProxyUrl() string
func (*HarnessEndpoints) GetConsoleUrl ¶
func (x *HarnessEndpoints) GetConsoleUrl() string
func (*HarnessEndpoints) GetDevboxMcpUrl ¶
func (x *HarnessEndpoints) GetDevboxMcpUrl() string
func (*HarnessEndpoints) GetSandboxCredentialsUrl ¶
func (x *HarnessEndpoints) GetSandboxCredentialsUrl() string
func (*HarnessEndpoints) GetWorkbenchMcpUrl ¶
func (x *HarnessEndpoints) GetWorkbenchMcpUrl() string
func (*HarnessEndpoints) ProtoMessage ¶
func (*HarnessEndpoints) ProtoMessage()
func (*HarnessEndpoints) ProtoReflect ¶
func (x *HarnessEndpoints) ProtoReflect() protoreflect.Message
func (*HarnessEndpoints) Reset ¶
func (x *HarnessEndpoints) Reset()
func (*HarnessEndpoints) String ¶
func (x *HarnessEndpoints) String() string
type HealthRequest ¶
type HealthRequest struct {
// contains filtered or unexported fields
}
func (*HealthRequest) Descriptor
deprecated
func (*HealthRequest) Descriptor() ([]byte, []int)
Deprecated: Use HealthRequest.ProtoReflect.Descriptor instead.
func (*HealthRequest) ProtoMessage ¶
func (*HealthRequest) ProtoMessage()
func (*HealthRequest) ProtoReflect ¶
func (x *HealthRequest) ProtoReflect() protoreflect.Message
func (*HealthRequest) Reset ¶
func (x *HealthRequest) Reset()
func (*HealthRequest) String ¶
func (x *HealthRequest) String() string
type HealthResponse ¶
type HealthResponse struct {
Ready bool `protobuf:"varint,1,opt,name=ready,proto3" json:"ready,omitempty"`
// booting, hydrating, ready, degraded.
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
// Changes on every daemon process start (not on memory restore).
BootId string `protobuf:"bytes,4,opt,name=boot_id,json=bootId,proto3" json:"boot_id,omitempty"`
// A memory restore was detected since the previous probe; activity timers were reset.
Restored bool `protobuf:"varint,5,opt,name=restored,proto3" json:"restored,omitempty"`
WorkspaceHydrated bool `protobuf:"varint,6,opt,name=workspace_hydrated,json=workspaceHydrated,proto3" json:"workspace_hydrated,omitempty"`
// contains filtered or unexported fields
}
func (*HealthResponse) Descriptor
deprecated
func (*HealthResponse) Descriptor() ([]byte, []int)
Deprecated: Use HealthResponse.ProtoReflect.Descriptor instead.
func (*HealthResponse) GetBootId ¶
func (x *HealthResponse) GetBootId() string
func (*HealthResponse) GetReady ¶
func (x *HealthResponse) GetReady() bool
func (*HealthResponse) GetRestored ¶
func (x *HealthResponse) GetRestored() bool
func (*HealthResponse) GetStatus ¶
func (x *HealthResponse) GetStatus() string
func (*HealthResponse) GetVersion ¶
func (x *HealthResponse) GetVersion() string
func (*HealthResponse) GetWorkspaceHydrated ¶
func (x *HealthResponse) GetWorkspaceHydrated() bool
func (*HealthResponse) ProtoMessage ¶
func (*HealthResponse) ProtoMessage()
func (*HealthResponse) ProtoReflect ¶
func (x *HealthResponse) ProtoReflect() protoreflect.Message
func (*HealthResponse) Reset ¶
func (x *HealthResponse) Reset()
func (*HealthResponse) String ¶
func (x *HealthResponse) String() string
type HeartbeatRequest ¶
type HeartbeatRequest struct {
GatewayId string `protobuf:"bytes,1,opt,name=gateway_id,json=gatewayId,proto3" json:"gateway_id,omitempty"`
Instances []*InstanceHeartbeat `protobuf:"bytes,2,rep,name=instances,proto3" json:"instances,omitempty"`
// contains filtered or unexported fields
}
func (*HeartbeatRequest) Descriptor
deprecated
func (*HeartbeatRequest) Descriptor() ([]byte, []int)
Deprecated: Use HeartbeatRequest.ProtoReflect.Descriptor instead.
func (*HeartbeatRequest) GetGatewayId ¶
func (x *HeartbeatRequest) GetGatewayId() string
func (*HeartbeatRequest) GetInstances ¶
func (x *HeartbeatRequest) GetInstances() []*InstanceHeartbeat
func (*HeartbeatRequest) ProtoMessage ¶
func (*HeartbeatRequest) ProtoMessage()
func (*HeartbeatRequest) ProtoReflect ¶
func (x *HeartbeatRequest) ProtoReflect() protoreflect.Message
func (*HeartbeatRequest) Reset ¶
func (x *HeartbeatRequest) Reset()
func (*HeartbeatRequest) String ¶
func (x *HeartbeatRequest) String() string
type HeartbeatResponse ¶
type HeartbeatResponse struct {
// Instances the gateway reported that console doesn't know or has ended; the gateway garbage-collects them.
UnknownInstanceIds []string `protobuf:"bytes,1,rep,name=unknown_instance_ids,json=unknownInstanceIds,proto3" json:"unknown_instance_ids,omitempty"`
// contains filtered or unexported fields
}
func (*HeartbeatResponse) Descriptor
deprecated
func (*HeartbeatResponse) Descriptor() ([]byte, []int)
Deprecated: Use HeartbeatResponse.ProtoReflect.Descriptor instead.
func (*HeartbeatResponse) GetUnknownInstanceIds ¶
func (x *HeartbeatResponse) GetUnknownInstanceIds() []string
func (*HeartbeatResponse) ProtoMessage ¶
func (*HeartbeatResponse) ProtoMessage()
func (*HeartbeatResponse) ProtoReflect ¶
func (x *HeartbeatResponse) ProtoReflect() protoreflect.Message
func (*HeartbeatResponse) Reset ¶
func (x *HeartbeatResponse) Reset()
func (*HeartbeatResponse) String ¶
func (x *HeartbeatResponse) String() string
type HttpRequest ¶
type HttpRequest struct {
// Order: header, data*, trailer, upgrade_data*.
//
// Types that are valid to be assigned to Message:
//
// *HttpRequest_Header_
// *HttpRequest_Data_
// *HttpRequest_Trailer_
// *HttpRequest_UpgradeData_
Message isHttpRequest_Message `protobuf_oneof:"message"`
// contains filtered or unexported fields
}
func (*HttpRequest) Descriptor
deprecated
func (*HttpRequest) Descriptor() ([]byte, []int)
Deprecated: Use HttpRequest.ProtoReflect.Descriptor instead.
func (*HttpRequest) GetData ¶
func (x *HttpRequest) GetData() *HttpRequest_Data
func (*HttpRequest) GetHeader ¶
func (x *HttpRequest) GetHeader() *HttpRequest_Header
func (*HttpRequest) GetMessage ¶
func (x *HttpRequest) GetMessage() isHttpRequest_Message
func (*HttpRequest) GetTrailer ¶
func (x *HttpRequest) GetTrailer() *HttpRequest_Trailer
func (*HttpRequest) GetUpgradeData ¶
func (x *HttpRequest) GetUpgradeData() *HttpRequest_UpgradeData
func (*HttpRequest) ProtoMessage ¶
func (*HttpRequest) ProtoMessage()
func (*HttpRequest) ProtoReflect ¶
func (x *HttpRequest) ProtoReflect() protoreflect.Message
func (*HttpRequest) Reset ¶
func (x *HttpRequest) Reset()
func (*HttpRequest) String ¶
func (x *HttpRequest) String() string
type HttpRequestLine ¶
type HttpRequestLine struct {
Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
Header map[string]*MetadataValues `` /* 139-byte string literal not displayed */
// Should start with a slash.
UrlPath string `protobuf:"bytes,3,opt,name=url_path,json=urlPath,proto3" json:"url_path,omitempty"`
// Query without the leading '?', parsed.
Query map[string]*MetadataValues `` /* 137-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*HttpRequestLine) Descriptor
deprecated
func (*HttpRequestLine) Descriptor() ([]byte, []int)
Deprecated: Use HttpRequestLine.ProtoReflect.Descriptor instead.
func (*HttpRequestLine) GetHeader ¶
func (x *HttpRequestLine) GetHeader() map[string]*MetadataValues
func (*HttpRequestLine) GetMethod ¶
func (x *HttpRequestLine) GetMethod() string
func (*HttpRequestLine) GetQuery ¶
func (x *HttpRequestLine) GetQuery() map[string]*MetadataValues
func (*HttpRequestLine) GetUrlPath ¶
func (x *HttpRequestLine) GetUrlPath() string
func (*HttpRequestLine) ProtoMessage ¶
func (*HttpRequestLine) ProtoMessage()
func (*HttpRequestLine) ProtoReflect ¶
func (x *HttpRequestLine) ProtoReflect() protoreflect.Message
func (*HttpRequestLine) Reset ¶
func (x *HttpRequestLine) Reset()
func (*HttpRequestLine) String ¶
func (x *HttpRequestLine) String() string
type HttpRequest_Data ¶
type HttpRequest_Data struct {
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
func (*HttpRequest_Data) Descriptor
deprecated
func (*HttpRequest_Data) Descriptor() ([]byte, []int)
Deprecated: Use HttpRequest_Data.ProtoReflect.Descriptor instead.
func (*HttpRequest_Data) GetData ¶
func (x *HttpRequest_Data) GetData() []byte
func (*HttpRequest_Data) ProtoMessage ¶
func (*HttpRequest_Data) ProtoMessage()
func (*HttpRequest_Data) ProtoReflect ¶
func (x *HttpRequest_Data) ProtoReflect() protoreflect.Message
func (*HttpRequest_Data) Reset ¶
func (x *HttpRequest_Data) Reset()
func (*HttpRequest_Data) String ¶
func (x *HttpRequest_Data) String() string
type HttpRequest_Data_ ¶
type HttpRequest_Data_ struct {
Data *HttpRequest_Data `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
}
type HttpRequest_Header ¶
type HttpRequest_Header struct {
Request *HttpRequestLine `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"`
Extra *anypb.Any `protobuf:"bytes,2,opt,name=extra,proto3" json:"extra,omitempty"`
// -1 unknown (chunked), 0 no body, > 0 body size.
ContentLength *int64 `protobuf:"varint,3,opt,name=content_length,json=contentLength,proto3,oneof" json:"content_length,omitempty"`
// contains filtered or unexported fields
}
func (*HttpRequest_Header) Descriptor
deprecated
func (*HttpRequest_Header) Descriptor() ([]byte, []int)
Deprecated: Use HttpRequest_Header.ProtoReflect.Descriptor instead.
func (*HttpRequest_Header) GetContentLength ¶
func (x *HttpRequest_Header) GetContentLength() int64
func (*HttpRequest_Header) GetExtra ¶
func (x *HttpRequest_Header) GetExtra() *anypb.Any
func (*HttpRequest_Header) GetRequest ¶
func (x *HttpRequest_Header) GetRequest() *HttpRequestLine
func (*HttpRequest_Header) ProtoMessage ¶
func (*HttpRequest_Header) ProtoMessage()
func (*HttpRequest_Header) ProtoReflect ¶
func (x *HttpRequest_Header) ProtoReflect() protoreflect.Message
func (*HttpRequest_Header) Reset ¶
func (x *HttpRequest_Header) Reset()
func (*HttpRequest_Header) String ¶
func (x *HttpRequest_Header) String() string
type HttpRequest_Header_ ¶
type HttpRequest_Header_ struct {
Header *HttpRequest_Header `protobuf:"bytes,1,opt,name=header,proto3,oneof"`
}
type HttpRequest_Trailer ¶
type HttpRequest_Trailer struct {
// contains filtered or unexported fields
}
func (*HttpRequest_Trailer) Descriptor
deprecated
func (*HttpRequest_Trailer) Descriptor() ([]byte, []int)
Deprecated: Use HttpRequest_Trailer.ProtoReflect.Descriptor instead.
func (*HttpRequest_Trailer) ProtoMessage ¶
func (*HttpRequest_Trailer) ProtoMessage()
func (*HttpRequest_Trailer) ProtoReflect ¶
func (x *HttpRequest_Trailer) ProtoReflect() protoreflect.Message
func (*HttpRequest_Trailer) Reset ¶
func (x *HttpRequest_Trailer) Reset()
func (*HttpRequest_Trailer) String ¶
func (x *HttpRequest_Trailer) String() string
type HttpRequest_Trailer_ ¶
type HttpRequest_Trailer_ struct {
Trailer *HttpRequest_Trailer `protobuf:"bytes,3,opt,name=trailer,proto3,oneof"`
}
type HttpRequest_UpgradeData ¶
type HttpRequest_UpgradeData struct {
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
Data on the upgraded (WebSocket) connection, after the response header.
func (*HttpRequest_UpgradeData) Descriptor
deprecated
func (*HttpRequest_UpgradeData) Descriptor() ([]byte, []int)
Deprecated: Use HttpRequest_UpgradeData.ProtoReflect.Descriptor instead.
func (*HttpRequest_UpgradeData) GetData ¶
func (x *HttpRequest_UpgradeData) GetData() []byte
func (*HttpRequest_UpgradeData) ProtoMessage ¶
func (*HttpRequest_UpgradeData) ProtoMessage()
func (*HttpRequest_UpgradeData) ProtoReflect ¶
func (x *HttpRequest_UpgradeData) ProtoReflect() protoreflect.Message
func (*HttpRequest_UpgradeData) Reset ¶
func (x *HttpRequest_UpgradeData) Reset()
func (*HttpRequest_UpgradeData) String ¶
func (x *HttpRequest_UpgradeData) String() string
type HttpRequest_UpgradeData_ ¶
type HttpRequest_UpgradeData_ struct {
UpgradeData *HttpRequest_UpgradeData `protobuf:"bytes,4,opt,name=upgrade_data,json=upgradeData,proto3,oneof"`
}
type HttpResponse ¶
type HttpResponse struct {
// Order: header, data*, trailer, upgrade_data*.
//
// Types that are valid to be assigned to Message:
//
// *HttpResponse_Header_
// *HttpResponse_Data_
// *HttpResponse_Trailer_
// *HttpResponse_UpgradeData_
Message isHttpResponse_Message `protobuf_oneof:"message"`
// contains filtered or unexported fields
}
func (*HttpResponse) Descriptor
deprecated
func (*HttpResponse) Descriptor() ([]byte, []int)
Deprecated: Use HttpResponse.ProtoReflect.Descriptor instead.
func (*HttpResponse) GetData ¶
func (x *HttpResponse) GetData() *HttpResponse_Data
func (*HttpResponse) GetHeader ¶
func (x *HttpResponse) GetHeader() *HttpResponse_Header
func (*HttpResponse) GetMessage ¶
func (x *HttpResponse) GetMessage() isHttpResponse_Message
func (*HttpResponse) GetTrailer ¶
func (x *HttpResponse) GetTrailer() *HttpResponse_Trailer
func (*HttpResponse) GetUpgradeData ¶
func (x *HttpResponse) GetUpgradeData() *HttpResponse_UpgradeData
func (*HttpResponse) ProtoMessage ¶
func (*HttpResponse) ProtoMessage()
func (*HttpResponse) ProtoReflect ¶
func (x *HttpResponse) ProtoReflect() protoreflect.Message
func (*HttpResponse) Reset ¶
func (x *HttpResponse) Reset()
func (*HttpResponse) String ¶
func (x *HttpResponse) String() string
type HttpResponseLine ¶
type HttpResponseLine struct {
StatusCode int32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"`
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
Header map[string]*MetadataValues `` /* 139-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*HttpResponseLine) Descriptor
deprecated
func (*HttpResponseLine) Descriptor() ([]byte, []int)
Deprecated: Use HttpResponseLine.ProtoReflect.Descriptor instead.
func (*HttpResponseLine) GetHeader ¶
func (x *HttpResponseLine) GetHeader() map[string]*MetadataValues
func (*HttpResponseLine) GetStatus ¶
func (x *HttpResponseLine) GetStatus() string
func (*HttpResponseLine) GetStatusCode ¶
func (x *HttpResponseLine) GetStatusCode() int32
func (*HttpResponseLine) ProtoMessage ¶
func (*HttpResponseLine) ProtoMessage()
func (*HttpResponseLine) ProtoReflect ¶
func (x *HttpResponseLine) ProtoReflect() protoreflect.Message
func (*HttpResponseLine) Reset ¶
func (x *HttpResponseLine) Reset()
func (*HttpResponseLine) String ¶
func (x *HttpResponseLine) String() string
type HttpResponse_Data ¶
type HttpResponse_Data struct {
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
func (*HttpResponse_Data) Descriptor
deprecated
func (*HttpResponse_Data) Descriptor() ([]byte, []int)
Deprecated: Use HttpResponse_Data.ProtoReflect.Descriptor instead.
func (*HttpResponse_Data) GetData ¶
func (x *HttpResponse_Data) GetData() []byte
func (*HttpResponse_Data) ProtoMessage ¶
func (*HttpResponse_Data) ProtoMessage()
func (*HttpResponse_Data) ProtoReflect ¶
func (x *HttpResponse_Data) ProtoReflect() protoreflect.Message
func (*HttpResponse_Data) Reset ¶
func (x *HttpResponse_Data) Reset()
func (*HttpResponse_Data) String ¶
func (x *HttpResponse_Data) String() string
type HttpResponse_Data_ ¶
type HttpResponse_Data_ struct {
Data *HttpResponse_Data `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
}
type HttpResponse_Header ¶
type HttpResponse_Header struct {
Response *HttpResponseLine `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"`
// contains filtered or unexported fields
}
func (*HttpResponse_Header) Descriptor
deprecated
func (*HttpResponse_Header) Descriptor() ([]byte, []int)
Deprecated: Use HttpResponse_Header.ProtoReflect.Descriptor instead.
func (*HttpResponse_Header) GetResponse ¶
func (x *HttpResponse_Header) GetResponse() *HttpResponseLine
func (*HttpResponse_Header) ProtoMessage ¶
func (*HttpResponse_Header) ProtoMessage()
func (*HttpResponse_Header) ProtoReflect ¶
func (x *HttpResponse_Header) ProtoReflect() protoreflect.Message
func (*HttpResponse_Header) Reset ¶
func (x *HttpResponse_Header) Reset()
func (*HttpResponse_Header) String ¶
func (x *HttpResponse_Header) String() string
type HttpResponse_Header_ ¶
type HttpResponse_Header_ struct {
Header *HttpResponse_Header `protobuf:"bytes,1,opt,name=header,proto3,oneof"`
}
type HttpResponse_Trailer ¶
type HttpResponse_Trailer struct {
// contains filtered or unexported fields
}
func (*HttpResponse_Trailer) Descriptor
deprecated
func (*HttpResponse_Trailer) Descriptor() ([]byte, []int)
Deprecated: Use HttpResponse_Trailer.ProtoReflect.Descriptor instead.
func (*HttpResponse_Trailer) ProtoMessage ¶
func (*HttpResponse_Trailer) ProtoMessage()
func (*HttpResponse_Trailer) ProtoReflect ¶
func (x *HttpResponse_Trailer) ProtoReflect() protoreflect.Message
func (*HttpResponse_Trailer) Reset ¶
func (x *HttpResponse_Trailer) Reset()
func (*HttpResponse_Trailer) String ¶
func (x *HttpResponse_Trailer) String() string
type HttpResponse_Trailer_ ¶
type HttpResponse_Trailer_ struct {
Trailer *HttpResponse_Trailer `protobuf:"bytes,3,opt,name=trailer,proto3,oneof"`
}
type HttpResponse_UpgradeData ¶
type HttpResponse_UpgradeData struct {
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
func (*HttpResponse_UpgradeData) Descriptor
deprecated
func (*HttpResponse_UpgradeData) Descriptor() ([]byte, []int)
Deprecated: Use HttpResponse_UpgradeData.ProtoReflect.Descriptor instead.
func (*HttpResponse_UpgradeData) GetData ¶
func (x *HttpResponse_UpgradeData) GetData() []byte
func (*HttpResponse_UpgradeData) ProtoMessage ¶
func (*HttpResponse_UpgradeData) ProtoMessage()
func (*HttpResponse_UpgradeData) ProtoReflect ¶
func (x *HttpResponse_UpgradeData) ProtoReflect() protoreflect.Message
func (*HttpResponse_UpgradeData) Reset ¶
func (x *HttpResponse_UpgradeData) Reset()
func (*HttpResponse_UpgradeData) String ¶
func (x *HttpResponse_UpgradeData) String() string
type HttpResponse_UpgradeData_ ¶
type HttpResponse_UpgradeData_ struct {
UpgradeData *HttpResponse_UpgradeData `protobuf:"bytes,4,opt,name=upgrade_data,json=upgradeData,proto3,oneof"`
}
type IdlePolicy ¶
type IdlePolicy struct {
// Default 2m.
ActivityWindow *durationpb.Duration `protobuf:"bytes,1,opt,name=activity_window,json=activityWindow,proto3" json:"activity_window,omitempty"`
// Sustained CPU below this percentage of one core counts as idle. Default 5.
CpuThresholdPercent float64 `protobuf:"fixed64,2,opt,name=cpu_threshold_percent,json=cpuThresholdPercent,proto3" json:"cpu_threshold_percent,omitempty"`
// Default 5m.
GracePeriod *durationpb.Duration `protobuf:"bytes,3,opt,name=grace_period,json=gracePeriod,proto3" json:"grace_period,omitempty"`
// Default 12h.
MaxDeferral *durationpb.Duration `protobuf:"bytes,4,opt,name=max_deferral,json=maxDeferral,proto3" json:"max_deferral,omitempty"`
// Default 24h.
MaxContinuousAwake *durationpb.Duration `protobuf:"bytes,5,opt,name=max_continuous_awake,json=maxContinuousAwake,proto3" json:"max_continuous_awake,omitempty"`
// Default 14d.
CompleteAfter *durationpb.Duration `protobuf:"bytes,6,opt,name=complete_after,json=completeAfter,proto3" json:"complete_after,omitempty"`
// contains filtered or unexported fields
}
IdlePolicy mirrors DevboxRunner.spec.idlePolicy after workbench narrowing (section 4.3a).
func (*IdlePolicy) Descriptor
deprecated
func (*IdlePolicy) Descriptor() ([]byte, []int)
Deprecated: Use IdlePolicy.ProtoReflect.Descriptor instead.
func (*IdlePolicy) GetActivityWindow ¶
func (x *IdlePolicy) GetActivityWindow() *durationpb.Duration
func (*IdlePolicy) GetCompleteAfter ¶
func (x *IdlePolicy) GetCompleteAfter() *durationpb.Duration
func (*IdlePolicy) GetCpuThresholdPercent ¶
func (x *IdlePolicy) GetCpuThresholdPercent() float64
func (*IdlePolicy) GetGracePeriod ¶
func (x *IdlePolicy) GetGracePeriod() *durationpb.Duration
func (*IdlePolicy) GetMaxContinuousAwake ¶
func (x *IdlePolicy) GetMaxContinuousAwake() *durationpb.Duration
func (*IdlePolicy) GetMaxDeferral ¶
func (x *IdlePolicy) GetMaxDeferral() *durationpb.Duration
func (*IdlePolicy) ProtoMessage ¶
func (*IdlePolicy) ProtoMessage()
func (*IdlePolicy) ProtoReflect ¶
func (x *IdlePolicy) ProtoReflect() protoreflect.Message
func (*IdlePolicy) Reset ¶
func (x *IdlePolicy) Reset()
func (*IdlePolicy) String ¶
func (x *IdlePolicy) String() string
type IdleState ¶
type IdleState struct {
Idle bool `protobuf:"varint,1,opt,name=idle,proto3" json:"idle,omitempty"`
IdleSince *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=idle_since,json=idleSince,proto3" json:"idle_since,omitempty"`
BusyReasons []*BusyReason `protobuf:"bytes,3,rep,name=busy_reasons,json=busyReasons,proto3" json:"busy_reasons,omitempty"`
// When the daemon will emit SuspendRequested if nothing changes (idle_since + grace period).
SuspendAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=suspend_at,json=suspendAt,proto3" json:"suspend_at,omitempty"`
EvaluatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=evaluated_at,json=evaluatedAt,proto3" json:"evaluated_at,omitempty"`
// contains filtered or unexported fields
}
IdleState is what the daemon thinks about the box, shown in the instance status pill.
func (*IdleState) Descriptor
deprecated
func (*IdleState) GetBusyReasons ¶
func (x *IdleState) GetBusyReasons() []*BusyReason
func (*IdleState) GetEvaluatedAt ¶
func (x *IdleState) GetEvaluatedAt() *timestamppb.Timestamp
func (*IdleState) GetIdleSince ¶
func (x *IdleState) GetIdleSince() *timestamppb.Timestamp
func (*IdleState) GetSuspendAt ¶
func (x *IdleState) GetSuspendAt() *timestamppb.Timestamp
func (*IdleState) ProtoMessage ¶
func (*IdleState) ProtoMessage()
func (*IdleState) ProtoReflect ¶
func (x *IdleState) ProtoReflect() protoreflect.Message
type ImageContent ¶
type ImageContent struct {
// Base64 data exactly as sent over ACP.
Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
Uri string `protobuf:"bytes,3,opt,name=uri,proto3" json:"uri,omitempty"`
Annotations *Annotations `protobuf:"bytes,4,opt,name=annotations,proto3" json:"annotations,omitempty"`
Meta *structpb.Struct `protobuf:"bytes,5,opt,name=meta,proto3" json:"meta,omitempty"`
// contains filtered or unexported fields
}
func (*ImageContent) Descriptor
deprecated
func (*ImageContent) Descriptor() ([]byte, []int)
Deprecated: Use ImageContent.ProtoReflect.Descriptor instead.
func (*ImageContent) GetAnnotations ¶
func (x *ImageContent) GetAnnotations() *Annotations
func (*ImageContent) GetData ¶
func (x *ImageContent) GetData() string
func (*ImageContent) GetMeta ¶
func (x *ImageContent) GetMeta() *structpb.Struct
func (*ImageContent) GetMimeType ¶
func (x *ImageContent) GetMimeType() string
func (*ImageContent) GetUri ¶
func (x *ImageContent) GetUri() string
func (*ImageContent) ProtoMessage ¶
func (*ImageContent) ProtoMessage()
func (*ImageContent) ProtoReflect ¶
func (x *ImageContent) ProtoReflect() protoreflect.Message
func (*ImageContent) Reset ¶
func (x *ImageContent) Reset()
func (*ImageContent) String ¶
func (x *ImageContent) String() string
type ImportThreadRequest ¶
type ImportThreadRequest struct {
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
ThreadId string `protobuf:"bytes,2,opt,name=thread_id,json=threadId,proto3" json:"thread_id,omitempty"`
Agent AgentType `protobuf:"varint,3,opt,name=agent,proto3,enum=devbox.v1.AgentType" json:"agent,omitempty"`
AgentSessionId string `protobuf:"bytes,4,opt,name=agent_session_id,json=agentSessionId,proto3" json:"agent_session_id,omitempty"`
ImportedBy *Principal `protobuf:"bytes,5,opt,name=imported_by,json=importedBy,proto3" json:"imported_by,omitempty"`
ResumeIfSuspended bool `protobuf:"varint,6,opt,name=resume_if_suspended,json=resumeIfSuspended,proto3" json:"resume_if_suspended,omitempty"`
// contains filtered or unexported fields
}
func (*ImportThreadRequest) Descriptor
deprecated
func (*ImportThreadRequest) Descriptor() ([]byte, []int)
Deprecated: Use ImportThreadRequest.ProtoReflect.Descriptor instead.
func (*ImportThreadRequest) GetAgent ¶
func (x *ImportThreadRequest) GetAgent() AgentType
func (*ImportThreadRequest) GetAgentSessionId ¶
func (x *ImportThreadRequest) GetAgentSessionId() string
func (*ImportThreadRequest) GetImportedBy ¶
func (x *ImportThreadRequest) GetImportedBy() *Principal
func (*ImportThreadRequest) GetInstanceId ¶
func (x *ImportThreadRequest) GetInstanceId() string
func (*ImportThreadRequest) GetResumeIfSuspended ¶
func (x *ImportThreadRequest) GetResumeIfSuspended() bool
func (*ImportThreadRequest) GetThreadId ¶
func (x *ImportThreadRequest) GetThreadId() string
func (*ImportThreadRequest) ProtoMessage ¶
func (*ImportThreadRequest) ProtoMessage()
func (*ImportThreadRequest) ProtoReflect ¶
func (x *ImportThreadRequest) ProtoReflect() protoreflect.Message
func (*ImportThreadRequest) Reset ¶
func (x *ImportThreadRequest) Reset()
func (*ImportThreadRequest) String ¶
func (x *ImportThreadRequest) String() string
type ImportableSession ¶
type ImportableSession struct {
Agent AgentType `protobuf:"varint,1,opt,name=agent,proto3,enum=devbox.v1.AgentType" json:"agent,omitempty"`
SessionId string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
Cwd string `protobuf:"bytes,4,opt,name=cwd,proto3" json:"cwd,omitempty"`
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
Meta *structpb.Struct `protobuf:"bytes,6,opt,name=meta,proto3" json:"meta,omitempty"`
// contains filtered or unexported fields
}
ImportableSession is a session the agent lists (`session/list`) that console doesn't have a thread for.
func (*ImportableSession) Descriptor
deprecated
func (*ImportableSession) Descriptor() ([]byte, []int)
Deprecated: Use ImportableSession.ProtoReflect.Descriptor instead.
func (*ImportableSession) GetAgent ¶
func (x *ImportableSession) GetAgent() AgentType
func (*ImportableSession) GetCwd ¶
func (x *ImportableSession) GetCwd() string
func (*ImportableSession) GetMeta ¶
func (x *ImportableSession) GetMeta() *structpb.Struct
func (*ImportableSession) GetSessionId ¶
func (x *ImportableSession) GetSessionId() string
func (*ImportableSession) GetTitle ¶
func (x *ImportableSession) GetTitle() string
func (*ImportableSession) GetUpdatedAt ¶
func (x *ImportableSession) GetUpdatedAt() *timestamppb.Timestamp
func (*ImportableSession) ProtoMessage ¶
func (*ImportableSession) ProtoMessage()
func (*ImportableSession) ProtoReflect ¶
func (x *ImportableSession) ProtoReflect() protoreflect.Message
func (*ImportableSession) Reset ¶
func (x *ImportableSession) Reset()
func (*ImportableSession) String ¶
func (x *ImportableSession) String() string
type IngestClient ¶
type IngestClient interface {
// RegisterGateway announces a gateway replica after it connects, and returns what console expects it to run.
RegisterGateway(ctx context.Context, in *RegisterGatewayRequest, opts ...grpc.CallOption) (*RegisterGatewayResponse, error)
// Heartbeat reports gateway liveness and a summary of every instance it manages.
Heartbeat(ctx context.Context, in *HeartbeatRequest, opts ...grpc.CallOption) (*HeartbeatResponse, error)
// UpsertInstanceIndex writes the thin index in one transaction: sessions (threads and subagents) with their
// current-state columns, interactions, and instance-level aggregates. Rows are applied only when their revision
// is newer than the stored one, so retries and reordering are harmless. Publishes devboxInstanceIndexDelta.
UpsertInstanceIndex(ctx context.Context, in *UpsertInstanceIndexRequest, opts ...grpc.CallOption) (*UpsertInstanceIndexResponse, error)
// PushInstanceDeltas carries coalesced live deltas (about 50 ms windows) for one or more instances. Console
// wraps each in DevboxInstance.Delta, publishes it on devbox_instances:<id>:deltas and stores nothing. Fire and
// forget: the gateway drops batches under backpressure.
PushInstanceDeltas(ctx context.Context, in *PushInstanceDeltasRequest, opts ...grpc.CallOption) (*PushInstanceDeltasResponse, error)
// ReportInstanceStatus reports state machine transitions and idle state.
ReportInstanceStatus(ctx context.Context, in *ReportInstanceStatusRequest, opts ...grpc.CallOption) (*ReportInstanceStatusResponse, error)
// ReportSnapshot reports the outcome of SnapshotInstance.
ReportSnapshot(ctx context.Context, in *ReportSnapshotRequest, opts ...grpc.CallOption) (*ReportSnapshotResponse, error)
// GetInstanceCredentials mints or returns instance-scoped credentials for the credential provider cache
// (scm, ai-proxy, console, claude-oauth) and for daemon delivery (oidc, codex).
GetInstanceCredentials(ctx context.Context, in *GetInstanceCredentialsRequest, opts ...grpc.CallOption) (*GetInstanceCredentialsResponse, error)
// UpdateAgentCredential writes back a refreshed Codex auth.json, compare-and-swap on the credential version.
UpdateAgentCredential(ctx context.Context, in *UpdateAgentCredentialRequest, opts ...grpc.CallOption) (*UpdateAgentCredentialResponse, error)
// ReportPullRequest records a PR observed at egress (section 4.10 backstop). Upserts by URL with
// source: egress; never overrides an MCP-created record.
ReportPullRequest(ctx context.Context, in *ReportPullRequestRequest, opts ...grpc.CallOption) (*ReportPullRequestResponse, error)
// DevboxPullRequest creates a PR on behalf of the devbox MCP's create_pull_request tool (Dispatcher.pr), with
// instance and thread attribution.
DevboxPullRequest(ctx context.Context, in *DevboxPullRequestRequest, opts ...grpc.CallOption) (*DevboxPullRequestResponse, error)
}
IngestClient is the client API for Ingest service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewIngestClient ¶
func NewIngestClient(cc grpc.ClientConnInterface) IngestClient
type IngestServer ¶
type IngestServer interface {
// RegisterGateway announces a gateway replica after it connects, and returns what console expects it to run.
RegisterGateway(context.Context, *RegisterGatewayRequest) (*RegisterGatewayResponse, error)
// Heartbeat reports gateway liveness and a summary of every instance it manages.
Heartbeat(context.Context, *HeartbeatRequest) (*HeartbeatResponse, error)
// UpsertInstanceIndex writes the thin index in one transaction: sessions (threads and subagents) with their
// current-state columns, interactions, and instance-level aggregates. Rows are applied only when their revision
// is newer than the stored one, so retries and reordering are harmless. Publishes devboxInstanceIndexDelta.
UpsertInstanceIndex(context.Context, *UpsertInstanceIndexRequest) (*UpsertInstanceIndexResponse, error)
// PushInstanceDeltas carries coalesced live deltas (about 50 ms windows) for one or more instances. Console
// wraps each in DevboxInstance.Delta, publishes it on devbox_instances:<id>:deltas and stores nothing. Fire and
// forget: the gateway drops batches under backpressure.
PushInstanceDeltas(context.Context, *PushInstanceDeltasRequest) (*PushInstanceDeltasResponse, error)
// ReportInstanceStatus reports state machine transitions and idle state.
ReportInstanceStatus(context.Context, *ReportInstanceStatusRequest) (*ReportInstanceStatusResponse, error)
// ReportSnapshot reports the outcome of SnapshotInstance.
ReportSnapshot(context.Context, *ReportSnapshotRequest) (*ReportSnapshotResponse, error)
// GetInstanceCredentials mints or returns instance-scoped credentials for the credential provider cache
// (scm, ai-proxy, console, claude-oauth) and for daemon delivery (oidc, codex).
GetInstanceCredentials(context.Context, *GetInstanceCredentialsRequest) (*GetInstanceCredentialsResponse, error)
// UpdateAgentCredential writes back a refreshed Codex auth.json, compare-and-swap on the credential version.
UpdateAgentCredential(context.Context, *UpdateAgentCredentialRequest) (*UpdateAgentCredentialResponse, error)
// ReportPullRequest records a PR observed at egress (section 4.10 backstop). Upserts by URL with
// source: egress; never overrides an MCP-created record.
ReportPullRequest(context.Context, *ReportPullRequestRequest) (*ReportPullRequestResponse, error)
// DevboxPullRequest creates a PR on behalf of the devbox MCP's create_pull_request tool (Dispatcher.pr), with
// instance and thread attribution.
DevboxPullRequest(context.Context, *DevboxPullRequestRequest) (*DevboxPullRequestResponse, error)
// contains filtered or unexported methods
}
IngestServer is the server API for Ingest service. All implementations must embed UnimplementedIngestServer for forward compatibility.
type InitializeRequest ¶
type InitializeRequest struct {
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
DevboxId string `protobuf:"bytes,2,opt,name=devbox_id,json=devboxId,proto3" json:"devbox_id,omitempty"`
WorkbenchId string `protobuf:"bytes,3,opt,name=workbench_id,json=workbenchId,proto3" json:"workbench_id,omitempty"`
Owner *Principal `protobuf:"bytes,4,opt,name=owner,proto3" json:"owner,omitempty"`
Agent AgentType `protobuf:"varint,5,opt,name=agent,proto3,enum=devbox.v1.AgentType" json:"agent,omitempty"`
Model string `protobuf:"bytes,6,opt,name=model,proto3" json:"model,omitempty"`
ConfigOptions []*ConfigOptionSetting `protobuf:"bytes,7,rep,name=config_options,json=configOptions,proto3" json:"config_options,omitempty"`
Agents []*AgentLaunch `protobuf:"bytes,8,rep,name=agents,proto3" json:"agents,omitempty"`
Repositories []*RepositorySpec `protobuf:"bytes,9,rep,name=repositories,proto3" json:"repositories,omitempty"`
FirstThreadId string `protobuf:"bytes,10,opt,name=first_thread_id,json=firstThreadId,proto3" json:"first_thread_id,omitempty"`
FirstThreadTitle string `protobuf:"bytes,11,opt,name=first_thread_title,json=firstThreadTitle,proto3" json:"first_thread_title,omitempty"`
IdlePolicy *IdlePolicy `protobuf:"bytes,12,opt,name=idle_policy,json=idlePolicy,proto3" json:"idle_policy,omitempty"`
MaxRunningThreads int32 `protobuf:"varint,13,opt,name=max_running_threads,json=maxRunningThreads,proto3" json:"max_running_threads,omitempty"`
Leases []*Lease `protobuf:"bytes,14,rep,name=leases,proto3" json:"leases,omitempty"`
LeaseGeneration uint64 `protobuf:"varint,15,opt,name=lease_generation,json=leaseGeneration,proto3" json:"lease_generation,omitempty"`
CloudIdentities []*CloudIdentity `protobuf:"bytes,16,rep,name=cloud_identities,json=cloudIdentities,proto3" json:"cloud_identities,omitempty"`
Endpoints *HarnessEndpoints `protobuf:"bytes,17,opt,name=endpoints,proto3" json:"endpoints,omitempty"`
// The instance was created from a snapshot; FILESYSTEM means a cold boot over a restored workspace.
RestoredFromSnapshot bool `protobuf:"varint,18,opt,name=restored_from_snapshot,json=restoredFromSnapshot,proto3" json:"restored_from_snapshot,omitempty"`
RestoreFidelity SnapshotFidelity `` /* 140-byte string literal not displayed */
// JWKS (JSON) for validating `devbox-request-token`.
RequestTokenJwks []byte `protobuf:"bytes,20,opt,name=request_token_jwks,json=requestTokenJwks,proto3" json:"request_token_jwks,omitempty"`
// The runner's secret env vars. Kept in memory only, never written to disk; the gateway resends them on every
// Initialize, including after a daemon restart.
Env map[string]string `` /* 134-byte string literal not displayed */
// From the DevboxRunner, not console: the daemon enforces the cap on every thread.
Autonomy *AutonomyPolicy `protobuf:"bytes,22,opt,name=autonomy,proto3" json:"autonomy,omitempty"`
// From console (CreateInstanceRequest.decision_review): the AI proxy serves `POST /v1/decisions`.
DecisionReview bool `protobuf:"varint,23,opt,name=decision_review,json=decisionReview,proto3" json:"decision_review,omitempty"`
// contains filtered or unexported fields
}
func (*InitializeRequest) Descriptor
deprecated
func (*InitializeRequest) Descriptor() ([]byte, []int)
Deprecated: Use InitializeRequest.ProtoReflect.Descriptor instead.
func (*InitializeRequest) GetAgent ¶
func (x *InitializeRequest) GetAgent() AgentType
func (*InitializeRequest) GetAgents ¶
func (x *InitializeRequest) GetAgents() []*AgentLaunch
func (*InitializeRequest) GetAutonomy ¶
func (x *InitializeRequest) GetAutonomy() *AutonomyPolicy
func (*InitializeRequest) GetCloudIdentities ¶
func (x *InitializeRequest) GetCloudIdentities() []*CloudIdentity
func (*InitializeRequest) GetConfigOptions ¶
func (x *InitializeRequest) GetConfigOptions() []*ConfigOptionSetting
func (*InitializeRequest) GetDecisionReview ¶
func (x *InitializeRequest) GetDecisionReview() bool
func (*InitializeRequest) GetDevboxId ¶
func (x *InitializeRequest) GetDevboxId() string
func (*InitializeRequest) GetEndpoints ¶
func (x *InitializeRequest) GetEndpoints() *HarnessEndpoints
func (*InitializeRequest) GetEnv ¶
func (x *InitializeRequest) GetEnv() map[string]string
func (*InitializeRequest) GetFirstThreadId ¶
func (x *InitializeRequest) GetFirstThreadId() string
func (*InitializeRequest) GetFirstThreadTitle ¶
func (x *InitializeRequest) GetFirstThreadTitle() string
func (*InitializeRequest) GetIdlePolicy ¶
func (x *InitializeRequest) GetIdlePolicy() *IdlePolicy
func (*InitializeRequest) GetInstanceId ¶
func (x *InitializeRequest) GetInstanceId() string
func (*InitializeRequest) GetLeaseGeneration ¶
func (x *InitializeRequest) GetLeaseGeneration() uint64
func (*InitializeRequest) GetLeases ¶
func (x *InitializeRequest) GetLeases() []*Lease
func (*InitializeRequest) GetMaxRunningThreads ¶
func (x *InitializeRequest) GetMaxRunningThreads() int32
func (*InitializeRequest) GetModel ¶
func (x *InitializeRequest) GetModel() string
func (*InitializeRequest) GetOwner ¶
func (x *InitializeRequest) GetOwner() *Principal
func (*InitializeRequest) GetRepositories ¶
func (x *InitializeRequest) GetRepositories() []*RepositorySpec
func (*InitializeRequest) GetRequestTokenJwks ¶
func (x *InitializeRequest) GetRequestTokenJwks() []byte
func (*InitializeRequest) GetRestoreFidelity ¶
func (x *InitializeRequest) GetRestoreFidelity() SnapshotFidelity
func (*InitializeRequest) GetRestoredFromSnapshot ¶
func (x *InitializeRequest) GetRestoredFromSnapshot() bool
func (*InitializeRequest) GetWorkbenchId ¶
func (x *InitializeRequest) GetWorkbenchId() string
func (*InitializeRequest) ProtoMessage ¶
func (*InitializeRequest) ProtoMessage()
func (*InitializeRequest) ProtoReflect ¶
func (x *InitializeRequest) ProtoReflect() protoreflect.Message
func (*InitializeRequest) Reset ¶
func (x *InitializeRequest) Reset()
func (*InitializeRequest) String ¶
func (x *InitializeRequest) String() string
type InitializeResponse ¶
type InitializeResponse struct {
Info *DaemonInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
AlreadyInitialized bool `protobuf:"varint,2,opt,name=already_initialized,json=alreadyInitialized,proto3" json:"already_initialized,omitempty"`
// contains filtered or unexported fields
}
func (*InitializeResponse) Descriptor
deprecated
func (*InitializeResponse) Descriptor() ([]byte, []int)
Deprecated: Use InitializeResponse.ProtoReflect.Descriptor instead.
func (*InitializeResponse) GetAlreadyInitialized ¶
func (x *InitializeResponse) GetAlreadyInitialized() bool
func (*InitializeResponse) GetInfo ¶
func (x *InitializeResponse) GetInfo() *DaemonInfo
func (*InitializeResponse) ProtoMessage ¶
func (*InitializeResponse) ProtoMessage()
func (*InitializeResponse) ProtoReflect ¶
func (x *InitializeResponse) ProtoReflect() protoreflect.Message
func (*InitializeResponse) Reset ¶
func (x *InitializeResponse) Reset()
func (*InitializeResponse) String ¶
func (x *InitializeResponse) String() string
type InstanceActionRequest ¶
type InstanceActionRequest struct {
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
RequestedBy *Principal `protobuf:"bytes,2,opt,name=requested_by,json=requestedBy,proto3" json:"requested_by,omitempty"`
Reason SuspendReason `protobuf:"varint,3,opt,name=reason,proto3,enum=devbox.v1.SuspendReason" json:"reason,omitempty"`
Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
func (*InstanceActionRequest) Descriptor
deprecated
func (*InstanceActionRequest) Descriptor() ([]byte, []int)
Deprecated: Use InstanceActionRequest.ProtoReflect.Descriptor instead.
func (*InstanceActionRequest) GetInstanceId ¶
func (x *InstanceActionRequest) GetInstanceId() string
func (*InstanceActionRequest) GetMessage ¶
func (x *InstanceActionRequest) GetMessage() string
func (*InstanceActionRequest) GetReason ¶
func (x *InstanceActionRequest) GetReason() SuspendReason
func (*InstanceActionRequest) GetRequestedBy ¶
func (x *InstanceActionRequest) GetRequestedBy() *Principal
func (*InstanceActionRequest) ProtoMessage ¶
func (*InstanceActionRequest) ProtoMessage()
func (*InstanceActionRequest) ProtoReflect ¶
func (x *InstanceActionRequest) ProtoReflect() protoreflect.Message
func (*InstanceActionRequest) Reset ¶
func (x *InstanceActionRequest) Reset()
func (*InstanceActionRequest) String ¶
func (x *InstanceActionRequest) String() string
type InstanceActionResponse ¶
type InstanceActionResponse struct {
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
Status InstanceStatus `protobuf:"varint,2,opt,name=status,proto3,enum=devbox.v1.InstanceStatus" json:"status,omitempty"`
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
func (*InstanceActionResponse) Descriptor
deprecated
func (*InstanceActionResponse) Descriptor() ([]byte, []int)
Deprecated: Use InstanceActionResponse.ProtoReflect.Descriptor instead.
func (*InstanceActionResponse) GetInstanceId ¶
func (x *InstanceActionResponse) GetInstanceId() string
func (*InstanceActionResponse) GetMessage ¶
func (x *InstanceActionResponse) GetMessage() string
func (*InstanceActionResponse) GetStatus ¶
func (x *InstanceActionResponse) GetStatus() InstanceStatus
func (*InstanceActionResponse) ProtoMessage ¶
func (*InstanceActionResponse) ProtoMessage()
func (*InstanceActionResponse) ProtoReflect ¶
func (x *InstanceActionResponse) ProtoReflect() protoreflect.Message
func (*InstanceActionResponse) Reset ¶
func (x *InstanceActionResponse) Reset()
func (*InstanceActionResponse) String ¶
func (x *InstanceActionResponse) String() string
type InstanceAggregate ¶
type InstanceAggregate struct {
// RUNNING if any thread is running, REQUIRES_ACTION ("needs you") if any thread requires action.
Foreground ForegroundStateKind `protobuf:"varint,1,opt,name=foreground,proto3,enum=devbox.v1.ForegroundStateKind" json:"foreground,omitempty"`
RunningThreads int32 `protobuf:"varint,2,opt,name=running_threads,json=runningThreads,proto3" json:"running_threads,omitempty"`
WaitingThreads int32 `protobuf:"varint,3,opt,name=waiting_threads,json=waitingThreads,proto3" json:"waiting_threads,omitempty"`
Connections []*AgentConnection `protobuf:"bytes,4,rep,name=connections,proto3" json:"connections,omitempty"`
Checkouts []*Checkout `protobuf:"bytes,5,rep,name=checkouts,proto3" json:"checkouts,omitempty"`
// Monotonic per instance.
Revision uint64 `protobuf:"varint,6,opt,name=revision,proto3" json:"revision,omitempty"`
// contains filtered or unexported fields
}
InstanceAggregate holds instance-level current state (on DevboxInstance).
func (*InstanceAggregate) Descriptor
deprecated
func (*InstanceAggregate) Descriptor() ([]byte, []int)
Deprecated: Use InstanceAggregate.ProtoReflect.Descriptor instead.
func (*InstanceAggregate) GetCheckouts ¶
func (x *InstanceAggregate) GetCheckouts() []*Checkout
func (*InstanceAggregate) GetConnections ¶
func (x *InstanceAggregate) GetConnections() []*AgentConnection
func (*InstanceAggregate) GetForeground ¶
func (x *InstanceAggregate) GetForeground() ForegroundStateKind
func (*InstanceAggregate) GetRevision ¶
func (x *InstanceAggregate) GetRevision() uint64
func (*InstanceAggregate) GetRunningThreads ¶
func (x *InstanceAggregate) GetRunningThreads() int32
func (*InstanceAggregate) GetWaitingThreads ¶
func (x *InstanceAggregate) GetWaitingThreads() int32
func (*InstanceAggregate) ProtoMessage ¶
func (*InstanceAggregate) ProtoMessage()
func (*InstanceAggregate) ProtoReflect ¶
func (x *InstanceAggregate) ProtoReflect() protoreflect.Message
func (*InstanceAggregate) Reset ¶
func (x *InstanceAggregate) Reset()
func (*InstanceAggregate) String ¶
func (x *InstanceAggregate) String() string
type InstanceCredential ¶
type InstanceCredential struct {
Kind CredentialKind `protobuf:"varint,1,opt,name=kind,proto3,enum=devbox.v1.CredentialKind" json:"kind,omitempty"`
Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"`
Identity string `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"`
// Bearer token or JWT (empty for Codex chatgpt bundles).
Token string `protobuf:"bytes,4,opt,name=token,proto3" json:"token,omitempty"`
// Header the credential provider replaces, and the value format, e.g. "Authorization" / "Bearer %s".
HeaderName string `protobuf:"bytes,5,opt,name=header_name,json=headerName,proto3" json:"header_name,omitempty"`
HeaderFormat string `protobuf:"bytes,6,opt,name=header_format,json=headerFormat,proto3" json:"header_format,omitempty"`
ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
// Refresh ahead of expiry after this time (about 10 minutes before expiry).
RefreshAfter *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=refresh_after,json=refreshAfter,proto3" json:"refresh_after,omitempty"`
// Codex only.
CodexMode CodexCredentialMode `protobuf:"varint,10,opt,name=codex_mode,json=codexMode,proto3,enum=devbox.v1.CodexCredentialMode" json:"codex_mode,omitempty"`
CredentialId string `protobuf:"bytes,11,opt,name=credential_id,json=credentialId,proto3" json:"credential_id,omitempty"`
// Compare-and-swap version for UpdateAgentCredential.
Version int64 `protobuf:"varint,12,opt,name=version,proto3" json:"version,omitempty"`
// auth.json contents.
BundleJson []byte `protobuf:"bytes,13,opt,name=bundle_json,json=bundleJson,proto3" json:"bundle_json,omitempty"`
// This instance holds the per-credential refresh lease and may let Codex refresh. Others get a fresh
// `last_refresh` so they never refresh themselves.
RefreshLeaseHolder bool `protobuf:"varint,14,opt,name=refresh_lease_holder,json=refreshLeaseHolder,proto3" json:"refresh_lease_holder,omitempty"`
LeaseExpiresAt *timestamppb.Timestamp `protobuf:"bytes,15,opt,name=lease_expires_at,json=leaseExpiresAt,proto3" json:"lease_expires_at,omitempty"`
// Non-secret metadata (Codex plan, account ID, email; OIDC audience).
Metadata *structpb.Struct `protobuf:"bytes,20,opt,name=metadata,proto3" json:"metadata,omitempty"`
// contains filtered or unexported fields
}
InstanceCredential is a minted secret plus how to use it. Never log it.
func (*InstanceCredential) Descriptor
deprecated
func (*InstanceCredential) Descriptor() ([]byte, []int)
Deprecated: Use InstanceCredential.ProtoReflect.Descriptor instead.
func (*InstanceCredential) GetBundleJson ¶
func (x *InstanceCredential) GetBundleJson() []byte
func (*InstanceCredential) GetCodexMode ¶
func (x *InstanceCredential) GetCodexMode() CodexCredentialMode
func (*InstanceCredential) GetCredentialId ¶
func (x *InstanceCredential) GetCredentialId() string
func (*InstanceCredential) GetExpiresAt ¶
func (x *InstanceCredential) GetExpiresAt() *timestamppb.Timestamp
func (*InstanceCredential) GetHeaderFormat ¶
func (x *InstanceCredential) GetHeaderFormat() string
func (*InstanceCredential) GetHeaderName ¶
func (x *InstanceCredential) GetHeaderName() string
func (*InstanceCredential) GetHost ¶
func (x *InstanceCredential) GetHost() string
func (*InstanceCredential) GetIdentity ¶
func (x *InstanceCredential) GetIdentity() string
func (*InstanceCredential) GetKind ¶
func (x *InstanceCredential) GetKind() CredentialKind
func (*InstanceCredential) GetLeaseExpiresAt ¶
func (x *InstanceCredential) GetLeaseExpiresAt() *timestamppb.Timestamp
func (*InstanceCredential) GetMetadata ¶
func (x *InstanceCredential) GetMetadata() *structpb.Struct
func (*InstanceCredential) GetRefreshAfter ¶
func (x *InstanceCredential) GetRefreshAfter() *timestamppb.Timestamp
func (*InstanceCredential) GetRefreshLeaseHolder ¶
func (x *InstanceCredential) GetRefreshLeaseHolder() bool
func (*InstanceCredential) GetToken ¶
func (x *InstanceCredential) GetToken() string
func (*InstanceCredential) GetVersion ¶
func (x *InstanceCredential) GetVersion() int64
func (*InstanceCredential) ProtoMessage ¶
func (*InstanceCredential) ProtoMessage()
func (*InstanceCredential) ProtoReflect ¶
func (x *InstanceCredential) ProtoReflect() protoreflect.Message
func (*InstanceCredential) Reset ¶
func (x *InstanceCredential) Reset()
func (*InstanceCredential) String ¶
func (x *InstanceCredential) String() string
type InstanceHeartbeat ¶
type InstanceHeartbeat struct {
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
Status InstanceStatus `protobuf:"varint,2,opt,name=status,proto3,enum=devbox.v1.InstanceStatus" json:"status,omitempty"`
Idle *IdleState `protobuf:"bytes,3,opt,name=idle,proto3" json:"idle,omitempty"`
LastDaemonContact *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=last_daemon_contact,json=lastDaemonContact,proto3" json:"last_daemon_contact,omitempty"`
// Last daemon event offset forwarded to console.
AckedOffset uint64 `protobuf:"varint,5,opt,name=acked_offset,json=ackedOffset,proto3" json:"acked_offset,omitempty"`
// Credentials unavailable, agent missing, ...
Conditions []*ErrorDetail `protobuf:"bytes,6,rep,name=conditions,proto3" json:"conditions,omitempty"`
// contains filtered or unexported fields
}
func (*InstanceHeartbeat) Descriptor
deprecated
func (*InstanceHeartbeat) Descriptor() ([]byte, []int)
Deprecated: Use InstanceHeartbeat.ProtoReflect.Descriptor instead.
func (*InstanceHeartbeat) GetAckedOffset ¶
func (x *InstanceHeartbeat) GetAckedOffset() uint64
func (*InstanceHeartbeat) GetConditions ¶
func (x *InstanceHeartbeat) GetConditions() []*ErrorDetail
func (*InstanceHeartbeat) GetIdle ¶
func (x *InstanceHeartbeat) GetIdle() *IdleState
func (*InstanceHeartbeat) GetInstanceId ¶
func (x *InstanceHeartbeat) GetInstanceId() string
func (*InstanceHeartbeat) GetLastDaemonContact ¶
func (x *InstanceHeartbeat) GetLastDaemonContact() *timestamppb.Timestamp
func (*InstanceHeartbeat) GetStatus ¶
func (x *InstanceHeartbeat) GetStatus() InstanceStatus
func (*InstanceHeartbeat) ProtoMessage ¶
func (*InstanceHeartbeat) ProtoMessage()
func (*InstanceHeartbeat) ProtoReflect ¶
func (x *InstanceHeartbeat) ProtoReflect() protoreflect.Message
func (*InstanceHeartbeat) Reset ¶
func (x *InstanceHeartbeat) Reset()
func (*InstanceHeartbeat) String ¶
func (x *InstanceHeartbeat) String() string
type InstanceStatus ¶
type InstanceStatus int32
InstanceStatus is the DevboxInstance state machine (DBX-60), kept in sync between console and the gateway.
const ( InstanceStatus_INSTANCE_STATUS_UNSPECIFIED InstanceStatus = 0 // Created in console, not yet acknowledged by the gateway. InstanceStatus_INSTANCE_STATUS_PENDING InstanceStatus = 1 // The gateway is creating the actor, its egress policy, or the daemon is hydrating the workspace. InstanceStatus_INSTANCE_STATUS_PROVISIONING InstanceStatus = 2 InstanceStatus_INSTANCE_STATUS_RUNNING InstanceStatus = 3 InstanceStatus_INSTANCE_STATUS_SUSPENDED InstanceStatus = 4 InstanceStatus_INSTANCE_STATUS_SNAPSHOTTING InstanceStatus = 5 // Suspended for longer than `completeAfter`, or stopped explicitly. The actor is deleted, and with it the // transcript on its workspace volume; snapshots are kept. InstanceStatus_INSTANCE_STATUS_COMPLETED InstanceStatus = 6 InstanceStatus_INSTANCE_STATUS_FAILED InstanceStatus = 7 InstanceStatus_INSTANCE_STATUS_CANCELLED InstanceStatus = 8 )
func (InstanceStatus) Descriptor ¶
func (InstanceStatus) Descriptor() protoreflect.EnumDescriptor
func (InstanceStatus) Enum ¶
func (x InstanceStatus) Enum() *InstanceStatus
func (InstanceStatus) EnumDescriptor
deprecated
func (InstanceStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use InstanceStatus.Descriptor instead.
func (InstanceStatus) Number ¶
func (x InstanceStatus) Number() protoreflect.EnumNumber
func (InstanceStatus) String ¶
func (x InstanceStatus) String() string
func (InstanceStatus) Type ¶
func (InstanceStatus) Type() protoreflect.EnumType
type InstanceSummary ¶
type InstanceSummary struct {
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
DevboxId string `protobuf:"bytes,2,opt,name=devbox_id,json=devboxId,proto3" json:"devbox_id,omitempty"`
Status InstanceStatus `protobuf:"varint,3,opt,name=status,proto3,enum=devbox.v1.InstanceStatus" json:"status,omitempty"`
Leases []*Lease `protobuf:"bytes,4,rep,name=leases,proto3" json:"leases,omitempty"`
LeaseGeneration uint64 `protobuf:"varint,5,opt,name=lease_generation,json=leaseGeneration,proto3" json:"lease_generation,omitempty"`
// contains filtered or unexported fields
}
func (*InstanceSummary) Descriptor
deprecated
func (*InstanceSummary) Descriptor() ([]byte, []int)
Deprecated: Use InstanceSummary.ProtoReflect.Descriptor instead.
func (*InstanceSummary) GetDevboxId ¶
func (x *InstanceSummary) GetDevboxId() string
func (*InstanceSummary) GetInstanceId ¶
func (x *InstanceSummary) GetInstanceId() string
func (*InstanceSummary) GetLeaseGeneration ¶
func (x *InstanceSummary) GetLeaseGeneration() uint64
func (*InstanceSummary) GetLeases ¶
func (x *InstanceSummary) GetLeases() []*Lease
func (*InstanceSummary) GetStatus ¶
func (x *InstanceSummary) GetStatus() InstanceStatus
func (*InstanceSummary) ProtoMessage ¶
func (*InstanceSummary) ProtoMessage()
func (*InstanceSummary) ProtoReflect ¶
func (x *InstanceSummary) ProtoReflect() protoreflect.Message
func (*InstanceSummary) Reset ¶
func (x *InstanceSummary) Reset()
func (*InstanceSummary) String ¶
func (x *InstanceSummary) String() string
type Interaction ¶
type Interaction struct {
// Daemon-allocated UUID, stable across suspend/resume.
InteractionId string `protobuf:"bytes,1,opt,name=interaction_id,json=interactionId,proto3" json:"interaction_id,omitempty"`
SessionId string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
ThreadId string `protobuf:"bytes,3,opt,name=thread_id,json=threadId,proto3" json:"thread_id,omitempty"`
// JSON-RPC request ID from the agent, as a string.
JsonrpcId string `protobuf:"bytes,4,opt,name=jsonrpc_id,json=jsonrpcId,proto3" json:"jsonrpc_id,omitempty"`
// Set when the interaction is scoped to a tool call (render inline).
ToolCallId string `protobuf:"bytes,5,opt,name=tool_call_id,json=toolCallId,proto3" json:"tool_call_id,omitempty"`
Kind InteractionKind `protobuf:"varint,6,opt,name=kind,proto3,enum=devbox.v1.InteractionKind" json:"kind,omitempty"`
State InteractionState `protobuf:"varint,7,opt,name=state,proto3,enum=devbox.v1.InteractionState" json:"state,omitempty"`
Title string `protobuf:"bytes,8,opt,name=title,proto3" json:"title,omitempty"`
// Types that are valid to be assigned to Request:
//
// *Interaction_Permission
// *Interaction_Elicitation
Request isInteraction_Request `protobuf_oneof:"request"`
Response *InteractionResponse `protobuf:"bytes,12,opt,name=response,proto3" json:"response,omitempty"`
AnsweredBy *Principal `protobuf:"bytes,13,opt,name=answered_by,json=answeredBy,proto3" json:"answered_by,omitempty"`
AnsweredAt *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=answered_at,json=answeredAt,proto3" json:"answered_at,omitempty"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,15,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
// Monotonic per interaction.
Revision uint64 `protobuf:"varint,16,opt,name=revision,proto3" json:"revision,omitempty"`
// Verbatim JSON-RPC request params.
RawJson []byte `protobuf:"bytes,17,opt,name=raw_json,json=rawJson,proto3" json:"raw_json,omitempty"`
// Set when the daemon's reviewer judged a permission request at AUTO, whether it approved it or passed it on.
Review *Review `protobuf:"bytes,18,opt,name=review,proto3" json:"review,omitempty"`
// contains filtered or unexported fields
}
Interaction is one row of devbox_instance_interactions. Stored when pending and again when resolved.
func (*Interaction) Descriptor
deprecated
func (*Interaction) Descriptor() ([]byte, []int)
Deprecated: Use Interaction.ProtoReflect.Descriptor instead.
func (*Interaction) GetAnsweredAt ¶
func (x *Interaction) GetAnsweredAt() *timestamppb.Timestamp
func (*Interaction) GetAnsweredBy ¶
func (x *Interaction) GetAnsweredBy() *Principal
func (*Interaction) GetCreatedAt ¶
func (x *Interaction) GetCreatedAt() *timestamppb.Timestamp
func (*Interaction) GetElicitation ¶
func (x *Interaction) GetElicitation() *ElicitationRequest
func (*Interaction) GetInteractionId ¶
func (x *Interaction) GetInteractionId() string
func (*Interaction) GetJsonrpcId ¶
func (x *Interaction) GetJsonrpcId() string
func (*Interaction) GetKind ¶
func (x *Interaction) GetKind() InteractionKind
func (*Interaction) GetPermission ¶
func (x *Interaction) GetPermission() *PermissionRequest
func (*Interaction) GetRawJson ¶
func (x *Interaction) GetRawJson() []byte
func (*Interaction) GetRequest ¶
func (x *Interaction) GetRequest() isInteraction_Request
func (*Interaction) GetResponse ¶
func (x *Interaction) GetResponse() *InteractionResponse
func (*Interaction) GetReview ¶
func (x *Interaction) GetReview() *Review
func (*Interaction) GetRevision ¶
func (x *Interaction) GetRevision() uint64
func (*Interaction) GetSessionId ¶
func (x *Interaction) GetSessionId() string
func (*Interaction) GetState ¶
func (x *Interaction) GetState() InteractionState
func (*Interaction) GetThreadId ¶
func (x *Interaction) GetThreadId() string
func (*Interaction) GetTitle ¶
func (x *Interaction) GetTitle() string
func (*Interaction) GetToolCallId ¶
func (x *Interaction) GetToolCallId() string
func (*Interaction) ProtoMessage ¶
func (*Interaction) ProtoMessage()
func (*Interaction) ProtoReflect ¶
func (x *Interaction) ProtoReflect() protoreflect.Message
func (*Interaction) Reset ¶
func (x *Interaction) Reset()
func (*Interaction) String ¶
func (x *Interaction) String() string
type InteractionKind ¶
type InteractionKind int32
const ( InteractionKind_INTERACTION_KIND_UNSPECIFIED InteractionKind = 0 // `session/request_permission`. InteractionKind_INTERACTION_KIND_PERMISSION InteractionKind = 1 // `elicitation/create` in form mode. InteractionKind_INTERACTION_KIND_ELICITATION_FORM InteractionKind = 2 // `elicitation/create` in URL mode; completes on `elicitation/complete`. InteractionKind_INTERACTION_KIND_ELICITATION_URL InteractionKind = 3 )
func (InteractionKind) Descriptor ¶
func (InteractionKind) Descriptor() protoreflect.EnumDescriptor
func (InteractionKind) Enum ¶
func (x InteractionKind) Enum() *InteractionKind
func (InteractionKind) EnumDescriptor
deprecated
func (InteractionKind) EnumDescriptor() ([]byte, []int)
Deprecated: Use InteractionKind.Descriptor instead.
func (InteractionKind) Number ¶
func (x InteractionKind) Number() protoreflect.EnumNumber
func (InteractionKind) String ¶
func (x InteractionKind) String() string
func (InteractionKind) Type ¶
func (InteractionKind) Type() protoreflect.EnumType
type InteractionResponse ¶
type InteractionResponse struct {
// Types that are valid to be assigned to Response:
//
// *InteractionResponse_Permission
// *InteractionResponse_Elicitation
Response isInteractionResponse_Response `protobuf_oneof:"response"`
// contains filtered or unexported fields
}
func (*InteractionResponse) Descriptor
deprecated
func (*InteractionResponse) Descriptor() ([]byte, []int)
Deprecated: Use InteractionResponse.ProtoReflect.Descriptor instead.
func (*InteractionResponse) GetElicitation ¶
func (x *InteractionResponse) GetElicitation() *ElicitationResponse
func (*InteractionResponse) GetPermission ¶
func (x *InteractionResponse) GetPermission() *PermissionOutcome
func (*InteractionResponse) GetResponse ¶
func (x *InteractionResponse) GetResponse() isInteractionResponse_Response
func (*InteractionResponse) ProtoMessage ¶
func (*InteractionResponse) ProtoMessage()
func (*InteractionResponse) ProtoReflect ¶
func (x *InteractionResponse) ProtoReflect() protoreflect.Message
func (*InteractionResponse) Reset ¶
func (x *InteractionResponse) Reset()
func (*InteractionResponse) String ¶
func (x *InteractionResponse) String() string
type InteractionResponse_Elicitation ¶
type InteractionResponse_Elicitation struct {
Elicitation *ElicitationResponse `protobuf:"bytes,2,opt,name=elicitation,proto3,oneof"`
}
type InteractionResponse_Permission ¶
type InteractionResponse_Permission struct {
Permission *PermissionOutcome `protobuf:"bytes,1,opt,name=permission,proto3,oneof"`
}
type InteractionState ¶
type InteractionState int32
const ( InteractionState_INTERACTION_STATE_UNSPECIFIED InteractionState = 0 InteractionState_INTERACTION_STATE_PENDING InteractionState = 1 InteractionState_INTERACTION_STATE_ANSWERED InteractionState = 2 InteractionState_INTERACTION_STATE_CANCELLED InteractionState = 3 InteractionState_INTERACTION_STATE_EXPIRED InteractionState = 4 )
func (InteractionState) Descriptor ¶
func (InteractionState) Descriptor() protoreflect.EnumDescriptor
func (InteractionState) Enum ¶
func (x InteractionState) Enum() *InteractionState
func (InteractionState) EnumDescriptor
deprecated
func (InteractionState) EnumDescriptor() ([]byte, []int)
Deprecated: Use InteractionState.Descriptor instead.
func (InteractionState) Number ¶
func (x InteractionState) Number() protoreflect.EnumNumber
func (InteractionState) String ¶
func (x InteractionState) String() string
func (InteractionState) Type ¶
func (InteractionState) Type() protoreflect.EnumType
type Interaction_Elicitation ¶
type Interaction_Elicitation struct {
Elicitation *ElicitationRequest `protobuf:"bytes,11,opt,name=elicitation,proto3,oneof"`
}
type Interaction_Permission ¶
type Interaction_Permission struct {
Permission *PermissionRequest `protobuf:"bytes,10,opt,name=permission,proto3,oneof"`
}
type InvalidateAllowlistRequest ¶
type InvalidateAllowlistRequest struct {
// Invalidate every instance of the box, or only one instance.
DevboxId string `protobuf:"bytes,1,opt,name=devbox_id,json=devboxId,proto3" json:"devbox_id,omitempty"`
InstanceId string `protobuf:"bytes,2,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
// When set, the new effective allowlist; otherwise the gateway refetches lazily.
AllowedRepositories []string `protobuf:"bytes,3,rep,name=allowed_repositories,json=allowedRepositories,proto3" json:"allowed_repositories,omitempty"`
Generation uint64 `protobuf:"varint,4,opt,name=generation,proto3" json:"generation,omitempty"`
// contains filtered or unexported fields
}
func (*InvalidateAllowlistRequest) Descriptor
deprecated
func (*InvalidateAllowlistRequest) Descriptor() ([]byte, []int)
Deprecated: Use InvalidateAllowlistRequest.ProtoReflect.Descriptor instead.
func (*InvalidateAllowlistRequest) GetAllowedRepositories ¶
func (x *InvalidateAllowlistRequest) GetAllowedRepositories() []string
func (*InvalidateAllowlistRequest) GetDevboxId ¶
func (x *InvalidateAllowlistRequest) GetDevboxId() string
func (*InvalidateAllowlistRequest) GetGeneration ¶
func (x *InvalidateAllowlistRequest) GetGeneration() uint64
func (*InvalidateAllowlistRequest) GetInstanceId ¶
func (x *InvalidateAllowlistRequest) GetInstanceId() string
func (*InvalidateAllowlistRequest) ProtoMessage ¶
func (*InvalidateAllowlistRequest) ProtoMessage()
func (*InvalidateAllowlistRequest) ProtoReflect ¶
func (x *InvalidateAllowlistRequest) ProtoReflect() protoreflect.Message
func (*InvalidateAllowlistRequest) Reset ¶
func (x *InvalidateAllowlistRequest) Reset()
func (*InvalidateAllowlistRequest) String ¶
func (x *InvalidateAllowlistRequest) String() string
type InvalidateAllowlistResponse ¶
type InvalidateAllowlistResponse struct {
InstancesUpdated int32 `protobuf:"varint,1,opt,name=instances_updated,json=instancesUpdated,proto3" json:"instances_updated,omitempty"`
// contains filtered or unexported fields
}
func (*InvalidateAllowlistResponse) Descriptor
deprecated
func (*InvalidateAllowlistResponse) Descriptor() ([]byte, []int)
Deprecated: Use InvalidateAllowlistResponse.ProtoReflect.Descriptor instead.
func (*InvalidateAllowlistResponse) GetInstancesUpdated ¶
func (x *InvalidateAllowlistResponse) GetInstancesUpdated() int32
func (*InvalidateAllowlistResponse) ProtoMessage ¶
func (*InvalidateAllowlistResponse) ProtoMessage()
func (*InvalidateAllowlistResponse) ProtoReflect ¶
func (x *InvalidateAllowlistResponse) ProtoReflect() protoreflect.Message
func (*InvalidateAllowlistResponse) Reset ¶
func (x *InvalidateAllowlistResponse) Reset()
func (*InvalidateAllowlistResponse) String ¶
func (x *InvalidateAllowlistResponse) String() string
type Lease ¶
type Lease struct {
Kind LeaseKind `protobuf:"varint,1,opt,name=kind,proto3,enum=devbox.v1.LeaseKind" json:"kind,omitempty"`
// Who holds it, for status text ("Kept awake until 6:40 PM by Alice").
Holder *Principal `protobuf:"bytes,2,opt,name=holder,proto3" json:"holder,omitempty"`
ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
// For deferrals: what the user asked for before clamping.
RequestedUntil *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=requested_until,json=requestedUntil,proto3" json:"requested_until,omitempty"`
// contains filtered or unexported fields
}
Lease is an absolute-expiry keep-awake input pushed down by console. Expired leases are ignored, so an outage can never keep boxes running.
func (*Lease) Descriptor
deprecated
func (*Lease) GetExpiresAt ¶
func (x *Lease) GetExpiresAt() *timestamppb.Timestamp
func (*Lease) GetRequestedUntil ¶
func (x *Lease) GetRequestedUntil() *timestamppb.Timestamp
func (*Lease) ProtoMessage ¶
func (*Lease) ProtoMessage()
func (*Lease) ProtoReflect ¶
func (x *Lease) ProtoReflect() protoreflect.Message
type LeaseKind ¶
type LeaseKind int32
func (LeaseKind) Descriptor ¶
func (LeaseKind) Descriptor() protoreflect.EnumDescriptor
func (LeaseKind) EnumDescriptor
deprecated
func (LeaseKind) Number ¶
func (x LeaseKind) Number() protoreflect.EnumNumber
func (LeaseKind) Type ¶
func (LeaseKind) Type() protoreflect.EnumType
type LifecycleSupport ¶
type LifecycleSupport struct {
List bool `protobuf:"varint,1,opt,name=list,proto3" json:"list,omitempty"`
Resume bool `protobuf:"varint,2,opt,name=resume,proto3" json:"resume,omitempty"`
// v1 `loadSession`.
Load bool `protobuf:"varint,3,opt,name=load,proto3" json:"load,omitempty"`
Close bool `protobuf:"varint,4,opt,name=close,proto3" json:"close,omitempty"`
Delete bool `protobuf:"varint,5,opt,name=delete,proto3" json:"delete,omitempty"`
Fork bool `protobuf:"varint,6,opt,name=fork,proto3" json:"fork,omitempty"`
// v2 `session/resume` with `replayFrom`.
Replay bool `protobuf:"varint,7,opt,name=replay,proto3" json:"replay,omitempty"`
// contains filtered or unexported fields
}
LifecycleSupport says which thread actions the agent supports, from negotiated capabilities (section 4.6b).
func (*LifecycleSupport) Descriptor
deprecated
func (*LifecycleSupport) Descriptor() ([]byte, []int)
Deprecated: Use LifecycleSupport.ProtoReflect.Descriptor instead.
func (*LifecycleSupport) GetClose ¶
func (x *LifecycleSupport) GetClose() bool
func (*LifecycleSupport) GetDelete ¶
func (x *LifecycleSupport) GetDelete() bool
func (*LifecycleSupport) GetFork ¶
func (x *LifecycleSupport) GetFork() bool
func (*LifecycleSupport) GetList ¶
func (x *LifecycleSupport) GetList() bool
func (*LifecycleSupport) GetLoad ¶
func (x *LifecycleSupport) GetLoad() bool
func (*LifecycleSupport) GetReplay ¶
func (x *LifecycleSupport) GetReplay() bool
func (*LifecycleSupport) GetResume ¶
func (x *LifecycleSupport) GetResume() bool
func (*LifecycleSupport) ProtoMessage ¶
func (*LifecycleSupport) ProtoMessage()
func (*LifecycleSupport) ProtoReflect ¶
func (x *LifecycleSupport) ProtoReflect() protoreflect.Message
func (*LifecycleSupport) Reset ¶
func (x *LifecycleSupport) Reset()
func (*LifecycleSupport) String ¶
func (x *LifecycleSupport) String() string
type ListCommandsRequest ¶
type ListCommandsRequest struct {
Thread *ThreadRef `protobuf:"bytes,1,opt,name=thread,proto3" json:"thread,omitempty"`
// Address a subagent session directly instead of a thread.
SessionId string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
// contains filtered or unexported fields
}
func (*ListCommandsRequest) Descriptor
deprecated
func (*ListCommandsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListCommandsRequest.ProtoReflect.Descriptor instead.
func (*ListCommandsRequest) GetSessionId ¶
func (x *ListCommandsRequest) GetSessionId() string
func (*ListCommandsRequest) GetThread ¶
func (x *ListCommandsRequest) GetThread() *ThreadRef
func (*ListCommandsRequest) ProtoMessage ¶
func (*ListCommandsRequest) ProtoMessage()
func (*ListCommandsRequest) ProtoReflect ¶
func (x *ListCommandsRequest) ProtoReflect() protoreflect.Message
func (*ListCommandsRequest) Reset ¶
func (x *ListCommandsRequest) Reset()
func (*ListCommandsRequest) String ¶
func (x *ListCommandsRequest) String() string
type ListCommandsResponse ¶
type ListCommandsResponse struct {
Commands []*AvailableCommand `protobuf:"bytes,1,rep,name=commands,proto3" json:"commands,omitempty"`
// contains filtered or unexported fields
}
func (*ListCommandsResponse) Descriptor
deprecated
func (*ListCommandsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListCommandsResponse.ProtoReflect.Descriptor instead.
func (*ListCommandsResponse) GetCommands ¶
func (x *ListCommandsResponse) GetCommands() []*AvailableCommand
func (*ListCommandsResponse) ProtoMessage ¶
func (*ListCommandsResponse) ProtoMessage()
func (*ListCommandsResponse) ProtoReflect ¶
func (x *ListCommandsResponse) ProtoReflect() protoreflect.Message
func (*ListCommandsResponse) Reset ¶
func (x *ListCommandsResponse) Reset()
func (*ListCommandsResponse) String ¶
func (x *ListCommandsResponse) String() string
type ListFilesRequest ¶
type ListFilesRequest struct {
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
// Directory to list. Empty means the home directory.
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
// 1 lists direct children (the default when 0); larger values recurse.
Depth int32 `protobuf:"varint,3,opt,name=depth,proto3" json:"depth,omitempty"`
IncludeHidden bool `protobuf:"varint,4,opt,name=include_hidden,json=includeHidden,proto3" json:"include_hidden,omitempty"`
RespectGitignore bool `protobuf:"varint,5,opt,name=respect_gitignore,json=respectGitignore,proto3" json:"respect_gitignore,omitempty"`
// Maximum entries returned; the daemon caps it.
Limit int32 `protobuf:"varint,6,opt,name=limit,proto3" json:"limit,omitempty"`
// contains filtered or unexported fields
}
func (*ListFilesRequest) Descriptor
deprecated
func (*ListFilesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListFilesRequest.ProtoReflect.Descriptor instead.
func (*ListFilesRequest) GetDepth ¶
func (x *ListFilesRequest) GetDepth() int32
func (*ListFilesRequest) GetIncludeHidden ¶
func (x *ListFilesRequest) GetIncludeHidden() bool
func (*ListFilesRequest) GetInstanceId ¶
func (x *ListFilesRequest) GetInstanceId() string
func (*ListFilesRequest) GetLimit ¶
func (x *ListFilesRequest) GetLimit() int32
func (*ListFilesRequest) GetPath ¶
func (x *ListFilesRequest) GetPath() string
func (*ListFilesRequest) GetRespectGitignore ¶
func (x *ListFilesRequest) GetRespectGitignore() bool
func (*ListFilesRequest) ProtoMessage ¶
func (*ListFilesRequest) ProtoMessage()
func (*ListFilesRequest) ProtoReflect ¶
func (x *ListFilesRequest) ProtoReflect() protoreflect.Message
func (*ListFilesRequest) Reset ¶
func (x *ListFilesRequest) Reset()
func (*ListFilesRequest) String ¶
func (x *ListFilesRequest) String() string
type ListFilesResponse ¶
type ListFilesResponse struct {
Entries []*FileEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
Truncated bool `protobuf:"varint,2,opt,name=truncated,proto3" json:"truncated,omitempty"`
// contains filtered or unexported fields
}
func (*ListFilesResponse) Descriptor
deprecated
func (*ListFilesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListFilesResponse.ProtoReflect.Descriptor instead.
func (*ListFilesResponse) GetEntries ¶
func (x *ListFilesResponse) GetEntries() []*FileEntry
func (*ListFilesResponse) GetTruncated ¶
func (x *ListFilesResponse) GetTruncated() bool
func (*ListFilesResponse) ProtoMessage ¶
func (*ListFilesResponse) ProtoMessage()
func (*ListFilesResponse) ProtoReflect ¶
func (x *ListFilesResponse) ProtoReflect() protoreflect.Message
func (*ListFilesResponse) Reset ¶
func (x *ListFilesResponse) Reset()
func (*ListFilesResponse) String ¶
func (x *ListFilesResponse) String() string
type ListRepositoriesRequest ¶
type ListRepositoriesRequest struct {
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
// Include per-thread worktrees under ~/.threads.
IncludeWorktrees bool `protobuf:"varint,2,opt,name=include_worktrees,json=includeWorktrees,proto3" json:"include_worktrees,omitempty"`
// contains filtered or unexported fields
}
func (*ListRepositoriesRequest) Descriptor
deprecated
func (*ListRepositoriesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRepositoriesRequest.ProtoReflect.Descriptor instead.
func (*ListRepositoriesRequest) GetIncludeWorktrees ¶
func (x *ListRepositoriesRequest) GetIncludeWorktrees() bool
func (*ListRepositoriesRequest) GetInstanceId ¶
func (x *ListRepositoriesRequest) GetInstanceId() string
func (*ListRepositoriesRequest) ProtoMessage ¶
func (*ListRepositoriesRequest) ProtoMessage()
func (*ListRepositoriesRequest) ProtoReflect ¶
func (x *ListRepositoriesRequest) ProtoReflect() protoreflect.Message
func (*ListRepositoriesRequest) Reset ¶
func (x *ListRepositoriesRequest) Reset()
func (*ListRepositoriesRequest) String ¶
func (x *ListRepositoriesRequest) String() string
type ListRepositoriesResponse ¶
type ListRepositoriesResponse struct {
Checkouts []*Checkout `protobuf:"bytes,1,rep,name=checkouts,proto3" json:"checkouts,omitempty"`
// Absolute path of the instance's Project.md.
ProjectMdPath string `protobuf:"bytes,2,opt,name=project_md_path,json=projectMdPath,proto3" json:"project_md_path,omitempty"`
// contains filtered or unexported fields
}
func (*ListRepositoriesResponse) Descriptor
deprecated
func (*ListRepositoriesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRepositoriesResponse.ProtoReflect.Descriptor instead.
func (*ListRepositoriesResponse) GetCheckouts ¶
func (x *ListRepositoriesResponse) GetCheckouts() []*Checkout
func (*ListRepositoriesResponse) GetProjectMdPath ¶
func (x *ListRepositoriesResponse) GetProjectMdPath() string
func (*ListRepositoriesResponse) ProtoMessage ¶
func (*ListRepositoriesResponse) ProtoMessage()
func (*ListRepositoriesResponse) ProtoReflect ¶
func (x *ListRepositoriesResponse) ProtoReflect() protoreflect.Message
func (*ListRepositoriesResponse) Reset ¶
func (x *ListRepositoriesResponse) Reset()
func (*ListRepositoriesResponse) String ¶
func (x *ListRepositoriesResponse) String() string
type ListTerminalsRequest ¶
type ListTerminalsRequest struct {
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
// contains filtered or unexported fields
}
func (*ListTerminalsRequest) Descriptor
deprecated
func (*ListTerminalsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTerminalsRequest.ProtoReflect.Descriptor instead.
func (*ListTerminalsRequest) GetInstanceId ¶
func (x *ListTerminalsRequest) GetInstanceId() string
func (*ListTerminalsRequest) ProtoMessage ¶
func (*ListTerminalsRequest) ProtoMessage()
func (*ListTerminalsRequest) ProtoReflect ¶
func (x *ListTerminalsRequest) ProtoReflect() protoreflect.Message
func (*ListTerminalsRequest) Reset ¶
func (x *ListTerminalsRequest) Reset()
func (*ListTerminalsRequest) String ¶
func (x *ListTerminalsRequest) String() string
type ListTerminalsResponse ¶
type ListTerminalsResponse struct {
Terminals []*TerminalInfo `protobuf:"bytes,1,rep,name=terminals,proto3" json:"terminals,omitempty"`
// contains filtered or unexported fields
}
func (*ListTerminalsResponse) Descriptor
deprecated
func (*ListTerminalsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTerminalsResponse.ProtoReflect.Descriptor instead.
func (*ListTerminalsResponse) GetTerminals ¶
func (x *ListTerminalsResponse) GetTerminals() []*TerminalInfo
func (*ListTerminalsResponse) ProtoMessage ¶
func (*ListTerminalsResponse) ProtoMessage()
func (*ListTerminalsResponse) ProtoReflect ¶
func (x *ListTerminalsResponse) ProtoReflect() protoreflect.Message
func (*ListTerminalsResponse) Reset ¶
func (x *ListTerminalsResponse) Reset()
func (*ListTerminalsResponse) String ¶
func (x *ListTerminalsResponse) String() string
type ListThreadsRequest ¶
type ListThreadsRequest struct {
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
IncludeImportable bool `protobuf:"varint,2,opt,name=include_importable,json=includeImportable,proto3" json:"include_importable,omitempty"`
// contains filtered or unexported fields
}
func (*ListThreadsRequest) Descriptor
deprecated
func (*ListThreadsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListThreadsRequest.ProtoReflect.Descriptor instead.
func (*ListThreadsRequest) GetIncludeImportable ¶
func (x *ListThreadsRequest) GetIncludeImportable() bool
func (*ListThreadsRequest) GetInstanceId ¶
func (x *ListThreadsRequest) GetInstanceId() string
func (*ListThreadsRequest) ProtoMessage ¶
func (*ListThreadsRequest) ProtoMessage()
func (*ListThreadsRequest) ProtoReflect ¶
func (x *ListThreadsRequest) ProtoReflect() protoreflect.Message
func (*ListThreadsRequest) Reset ¶
func (x *ListThreadsRequest) Reset()
func (*ListThreadsRequest) String ¶
func (x *ListThreadsRequest) String() string
type ListThreadsResponse ¶
type ListThreadsResponse struct {
Threads []*Session `protobuf:"bytes,1,rep,name=threads,proto3" json:"threads,omitempty"`
Importable []*ImportableSession `protobuf:"bytes,2,rep,name=importable,proto3" json:"importable,omitempty"`
// contains filtered or unexported fields
}
func (*ListThreadsResponse) Descriptor
deprecated
func (*ListThreadsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListThreadsResponse.ProtoReflect.Descriptor instead.
func (*ListThreadsResponse) GetImportable ¶
func (x *ListThreadsResponse) GetImportable() []*ImportableSession
func (*ListThreadsResponse) GetThreads ¶
func (x *ListThreadsResponse) GetThreads() []*Session
func (*ListThreadsResponse) ProtoMessage ¶
func (*ListThreadsResponse) ProtoMessage()
func (*ListThreadsResponse) ProtoReflect ¶
func (x *ListThreadsResponse) ProtoReflect() protoreflect.Message
func (*ListThreadsResponse) Reset ¶
func (x *ListThreadsResponse) Reset()
func (*ListThreadsResponse) String ¶
func (x *ListThreadsResponse) String() string
type MessageEntity ¶
type MessageEntity struct {
MessageId string `protobuf:"bytes,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
Content []*ContentBlock `protobuf:"bytes,2,rep,name=content,proto3" json:"content,omitempty"`
// Console thread ID and principal when the message is a prompt sent through console (user messages only).
PromptId string `protobuf:"bytes,3,opt,name=prompt_id,json=promptId,proto3" json:"prompt_id,omitempty"`
SentBy *Principal `protobuf:"bytes,4,opt,name=sent_by,json=sentBy,proto3" json:"sent_by,omitempty"`
Meta *structpb.Struct `protobuf:"bytes,5,opt,name=meta,proto3" json:"meta,omitempty"`
// contains filtered or unexported fields
}
func (*MessageEntity) Descriptor
deprecated
func (*MessageEntity) Descriptor() ([]byte, []int)
Deprecated: Use MessageEntity.ProtoReflect.Descriptor instead.
func (*MessageEntity) GetContent ¶
func (x *MessageEntity) GetContent() []*ContentBlock
func (*MessageEntity) GetMessageId ¶
func (x *MessageEntity) GetMessageId() string
func (*MessageEntity) GetMeta ¶
func (x *MessageEntity) GetMeta() *structpb.Struct
func (*MessageEntity) GetPromptId ¶
func (x *MessageEntity) GetPromptId() string
func (*MessageEntity) GetSentBy ¶
func (x *MessageEntity) GetSentBy() *Principal
func (*MessageEntity) ProtoMessage ¶
func (*MessageEntity) ProtoMessage()
func (*MessageEntity) ProtoReflect ¶
func (x *MessageEntity) ProtoReflect() protoreflect.Message
func (*MessageEntity) Reset ¶
func (x *MessageEntity) Reset()
func (*MessageEntity) String ¶
func (x *MessageEntity) String() string
type MetadataValues ¶
type MetadataValues struct {
Value []string `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*MetadataValues) Descriptor
deprecated
func (*MetadataValues) Descriptor() ([]byte, []int)
Deprecated: Use MetadataValues.ProtoReflect.Descriptor instead.
func (*MetadataValues) GetValue ¶
func (x *MetadataValues) GetValue() []string
func (*MetadataValues) ProtoMessage ¶
func (*MetadataValues) ProtoMessage()
func (*MetadataValues) ProtoReflect ¶
func (x *MetadataValues) ProtoReflect() protoreflect.Message
func (*MetadataValues) Reset ¶
func (x *MetadataValues) Reset()
func (*MetadataValues) String ¶
func (x *MetadataValues) String() string
type OpenStreamRequest ¶
type OpenStreamRequest struct {
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
Kind StreamKind `protobuf:"varint,2,opt,name=kind,proto3,enum=devbox.v1.StreamKind" json:"kind,omitempty"`
// TERMINAL: attach to this terminal, or create one from `create_terminal` when empty.
TerminalId string `protobuf:"bytes,3,opt,name=terminal_id,json=terminalId,proto3" json:"terminal_id,omitempty"`
CreateTerminal *CreateTerminalRequest `protobuf:"bytes,4,opt,name=create_terminal,json=createTerminal,proto3" json:"create_terminal,omitempty"`
// PREVIEW: the sandbox port.
Port int32 `protobuf:"varint,5,opt,name=port,proto3" json:"port,omitempty"`
// VNC: start the browser if it isn't running.
StartBrowser *StartBrowserRequest `protobuf:"bytes,6,opt,name=start_browser,json=startBrowser,proto3" json:"start_browser,omitempty"`
RequestedBy *Principal `protobuf:"bytes,7,opt,name=requested_by,json=requestedBy,proto3" json:"requested_by,omitempty"`
ResumeIfSuspended bool `protobuf:"varint,8,opt,name=resume_if_suspended,json=resumeIfSuspended,proto3" json:"resume_if_suspended,omitempty"`
// contains filtered or unexported fields
}
func (*OpenStreamRequest) Descriptor
deprecated
func (*OpenStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use OpenStreamRequest.ProtoReflect.Descriptor instead.
func (*OpenStreamRequest) GetCreateTerminal ¶
func (x *OpenStreamRequest) GetCreateTerminal() *CreateTerminalRequest
func (*OpenStreamRequest) GetInstanceId ¶
func (x *OpenStreamRequest) GetInstanceId() string
func (*OpenStreamRequest) GetKind ¶
func (x *OpenStreamRequest) GetKind() StreamKind
func (*OpenStreamRequest) GetPort ¶
func (x *OpenStreamRequest) GetPort() int32
func (*OpenStreamRequest) GetRequestedBy ¶
func (x *OpenStreamRequest) GetRequestedBy() *Principal
func (*OpenStreamRequest) GetResumeIfSuspended ¶
func (x *OpenStreamRequest) GetResumeIfSuspended() bool
func (*OpenStreamRequest) GetStartBrowser ¶
func (x *OpenStreamRequest) GetStartBrowser() *StartBrowserRequest
func (*OpenStreamRequest) GetTerminalId ¶
func (x *OpenStreamRequest) GetTerminalId() string
func (*OpenStreamRequest) ProtoMessage ¶
func (*OpenStreamRequest) ProtoMessage()
func (*OpenStreamRequest) ProtoReflect ¶
func (x *OpenStreamRequest) ProtoReflect() protoreflect.Message
func (*OpenStreamRequest) Reset ¶
func (x *OpenStreamRequest) Reset()
func (*OpenStreamRequest) String ¶
func (x *OpenStreamRequest) String() string
type OpenStreamResponse ¶
type OpenStreamResponse struct {
StreamId string `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`
Kind StreamKind `protobuf:"varint,2,opt,name=kind,proto3,enum=devbox.v1.StreamKind" json:"kind,omitempty"`
// Daemon HTTP path the stream connects to, e.g. /terminals/<id>/ws, /browser/vnc or /preview/3000/.
DaemonPath string `protobuf:"bytes,3,opt,name=daemon_path,json=daemonPath,proto3" json:"daemon_path,omitempty"`
// Connect before this time. Established streams stay open.
ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
Subprotocols []string `protobuf:"bytes,5,rep,name=subprotocols,proto3" json:"subprotocols,omitempty"`
Terminal *TerminalInfo `protobuf:"bytes,6,opt,name=terminal,proto3" json:"terminal,omitempty"`
Browser *BrowserInfo `protobuf:"bytes,7,opt,name=browser,proto3" json:"browser,omitempty"`
// contains filtered or unexported fields
}
OpenStreamResponse describes a stream target the gateway registered for a short time. Console mints a stream token whose claims are {cluster_id, instance_id, stream_id, kind, sub, exp <= expires_at}; KAS validates it and forwards the WebSocket through Gateway.ProxyStream with `devbox-stream-id` metadata. The gateway maps the stream ID to `daemon_path` on that instance only, so callers can never name an actor or path themselves.
func (*OpenStreamResponse) Descriptor
deprecated
func (*OpenStreamResponse) Descriptor() ([]byte, []int)
Deprecated: Use OpenStreamResponse.ProtoReflect.Descriptor instead.
func (*OpenStreamResponse) GetBrowser ¶
func (x *OpenStreamResponse) GetBrowser() *BrowserInfo
func (*OpenStreamResponse) GetDaemonPath ¶
func (x *OpenStreamResponse) GetDaemonPath() string
func (*OpenStreamResponse) GetExpiresAt ¶
func (x *OpenStreamResponse) GetExpiresAt() *timestamppb.Timestamp
func (*OpenStreamResponse) GetKind ¶
func (x *OpenStreamResponse) GetKind() StreamKind
func (*OpenStreamResponse) GetStreamId ¶
func (x *OpenStreamResponse) GetStreamId() string
func (*OpenStreamResponse) GetSubprotocols ¶
func (x *OpenStreamResponse) GetSubprotocols() []string
func (*OpenStreamResponse) GetTerminal ¶
func (x *OpenStreamResponse) GetTerminal() *TerminalInfo
func (*OpenStreamResponse) ProtoMessage ¶
func (*OpenStreamResponse) ProtoMessage()
func (*OpenStreamResponse) ProtoReflect ¶
func (x *OpenStreamResponse) ProtoReflect() protoreflect.Message
func (*OpenStreamResponse) Reset ¶
func (x *OpenStreamResponse) Reset()
func (*OpenStreamResponse) String ¶
func (x *OpenStreamResponse) String() string
type PermissionOption ¶
type PermissionOption struct {
OptionId string `protobuf:"bytes,1,opt,name=option_id,json=optionId,proto3" json:"option_id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// allow_once, allow_always, reject_once, reject_always.
Kind string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"`
Meta *structpb.Struct `protobuf:"bytes,4,opt,name=meta,proto3" json:"meta,omitempty"`
// contains filtered or unexported fields
}
func (*PermissionOption) Descriptor
deprecated
func (*PermissionOption) Descriptor() ([]byte, []int)
Deprecated: Use PermissionOption.ProtoReflect.Descriptor instead.
func (*PermissionOption) GetKind ¶
func (x *PermissionOption) GetKind() string
func (*PermissionOption) GetMeta ¶
func (x *PermissionOption) GetMeta() *structpb.Struct
func (*PermissionOption) GetName ¶
func (x *PermissionOption) GetName() string
func (*PermissionOption) GetOptionId ¶
func (x *PermissionOption) GetOptionId() string
func (*PermissionOption) ProtoMessage ¶
func (*PermissionOption) ProtoMessage()
func (*PermissionOption) ProtoReflect ¶
func (x *PermissionOption) ProtoReflect() protoreflect.Message
func (*PermissionOption) Reset ¶
func (x *PermissionOption) Reset()
func (*PermissionOption) String ¶
func (x *PermissionOption) String() string
type PermissionOutcome ¶
type PermissionOutcome struct {
// Types that are valid to be assigned to Outcome:
//
// *PermissionOutcome_SelectedOptionId
// *PermissionOutcome_Cancelled
Outcome isPermissionOutcome_Outcome `protobuf_oneof:"outcome"`
// contains filtered or unexported fields
}
func (*PermissionOutcome) Descriptor
deprecated
func (*PermissionOutcome) Descriptor() ([]byte, []int)
Deprecated: Use PermissionOutcome.ProtoReflect.Descriptor instead.
func (*PermissionOutcome) GetCancelled ¶
func (x *PermissionOutcome) GetCancelled() bool
func (*PermissionOutcome) GetOutcome ¶
func (x *PermissionOutcome) GetOutcome() isPermissionOutcome_Outcome
func (*PermissionOutcome) GetSelectedOptionId ¶
func (x *PermissionOutcome) GetSelectedOptionId() string
func (*PermissionOutcome) ProtoMessage ¶
func (*PermissionOutcome) ProtoMessage()
func (*PermissionOutcome) ProtoReflect ¶
func (x *PermissionOutcome) ProtoReflect() protoreflect.Message
func (*PermissionOutcome) Reset ¶
func (x *PermissionOutcome) Reset()
func (*PermissionOutcome) String ¶
func (x *PermissionOutcome) String() string
type PermissionOutcome_Cancelled ¶
type PermissionOutcome_Cancelled struct {
// The request was cancelled (e.g. the prompt turn was cancelled).
Cancelled bool `protobuf:"varint,2,opt,name=cancelled,proto3,oneof"`
}
type PermissionOutcome_SelectedOptionId ¶
type PermissionOutcome_SelectedOptionId struct {
SelectedOptionId string `protobuf:"bytes,1,opt,name=selected_option_id,json=selectedOptionId,proto3,oneof"`
}
type PermissionRequest ¶
type PermissionRequest struct {
Options []*PermissionOption `protobuf:"bytes,1,rep,name=options,proto3" json:"options,omitempty"`
// The tool call update included in the request.
ToolCall *ToolCall `protobuf:"bytes,2,opt,name=tool_call,json=toolCall,proto3" json:"tool_call,omitempty"`
Meta *structpb.Struct `protobuf:"bytes,3,opt,name=meta,proto3" json:"meta,omitempty"`
// contains filtered or unexported fields
}
func (*PermissionRequest) Descriptor
deprecated
func (*PermissionRequest) Descriptor() ([]byte, []int)
Deprecated: Use PermissionRequest.ProtoReflect.Descriptor instead.
func (*PermissionRequest) GetMeta ¶
func (x *PermissionRequest) GetMeta() *structpb.Struct
func (*PermissionRequest) GetOptions ¶
func (x *PermissionRequest) GetOptions() []*PermissionOption
func (*PermissionRequest) GetToolCall ¶
func (x *PermissionRequest) GetToolCall() *ToolCall
func (*PermissionRequest) ProtoMessage ¶
func (*PermissionRequest) ProtoMessage()
func (*PermissionRequest) ProtoReflect ¶
func (x *PermissionRequest) ProtoReflect() protoreflect.Message
func (*PermissionRequest) Reset ¶
func (x *PermissionRequest) Reset()
func (*PermissionRequest) String ¶
func (x *PermissionRequest) String() string
type PlanEntity ¶
type PlanEntity struct {
PlanId string `protobuf:"bytes,1,opt,name=plan_id,json=planId,proto3" json:"plan_id,omitempty"`
Entries []*PlanEntry `protobuf:"bytes,2,rep,name=entries,proto3" json:"entries,omitempty"`
Meta *structpb.Struct `protobuf:"bytes,3,opt,name=meta,proto3" json:"meta,omitempty"`
// contains filtered or unexported fields
}
func (*PlanEntity) Descriptor
deprecated
func (*PlanEntity) Descriptor() ([]byte, []int)
Deprecated: Use PlanEntity.ProtoReflect.Descriptor instead.
func (*PlanEntity) GetEntries ¶
func (x *PlanEntity) GetEntries() []*PlanEntry
func (*PlanEntity) GetMeta ¶
func (x *PlanEntity) GetMeta() *structpb.Struct
func (*PlanEntity) GetPlanId ¶
func (x *PlanEntity) GetPlanId() string
func (*PlanEntity) ProtoMessage ¶
func (*PlanEntity) ProtoMessage()
func (*PlanEntity) ProtoReflect ¶
func (x *PlanEntity) ProtoReflect() protoreflect.Message
func (*PlanEntity) Reset ¶
func (x *PlanEntity) Reset()
func (*PlanEntity) String ¶
func (x *PlanEntity) String() string
type PlanEntry ¶
type PlanEntry struct {
Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
// high, medium, low.
Priority string `protobuf:"bytes,2,opt,name=priority,proto3" json:"priority,omitempty"`
// pending, in_progress, completed.
Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
Meta *structpb.Struct `protobuf:"bytes,4,opt,name=meta,proto3" json:"meta,omitempty"`
// contains filtered or unexported fields
}
func (*PlanEntry) Descriptor
deprecated
func (*PlanEntry) GetContent ¶
func (*PlanEntry) GetPriority ¶
func (*PlanEntry) ProtoMessage ¶
func (*PlanEntry) ProtoMessage()
func (*PlanEntry) ProtoReflect ¶
func (x *PlanEntry) ProtoReflect() protoreflect.Message
type PreparePullRequestRequest ¶
type PreparePullRequestRequest struct {
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
// A checkout's name or path; a thread worktree's path selects that worktree.
Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"`
// The AI proxy model (provider/model) that writes the text. Empty when console AI is off.
Model string `protobuf:"bytes,3,opt,name=model,proto3" json:"model,omitempty"`
// The subscription agent whose CLI writes the text when model is empty. Unspecified falls back to a template.
Agent AgentType `protobuf:"varint,4,opt,name=agent,proto3,enum=devbox.v1.AgentType" json:"agent,omitempty"`
// A thread whose recent prompts explain the change. The checkout's worktree thread, if any, wins.
ThreadId string `protobuf:"bytes,5,opt,name=thread_id,json=threadId,proto3" json:"thread_id,omitempty"`
// contains filtered or unexported fields
}
PreparePullRequestRequest readies one checkout for a pull request: the box writes the title, body and (for uncommitted changes) commit message from the changes it holds, branches off the default branch if needed, commits and pushes. Console then opens the pull request from the response.
func (*PreparePullRequestRequest) Descriptor
deprecated
func (*PreparePullRequestRequest) Descriptor() ([]byte, []int)
Deprecated: Use PreparePullRequestRequest.ProtoReflect.Descriptor instead.
func (*PreparePullRequestRequest) GetAgent ¶
func (x *PreparePullRequestRequest) GetAgent() AgentType
func (*PreparePullRequestRequest) GetInstanceId ¶
func (x *PreparePullRequestRequest) GetInstanceId() string
func (*PreparePullRequestRequest) GetModel ¶
func (x *PreparePullRequestRequest) GetModel() string
func (*PreparePullRequestRequest) GetRepository ¶
func (x *PreparePullRequestRequest) GetRepository() string
func (*PreparePullRequestRequest) GetThreadId ¶
func (x *PreparePullRequestRequest) GetThreadId() string
func (*PreparePullRequestRequest) ProtoMessage ¶
func (*PreparePullRequestRequest) ProtoMessage()
func (*PreparePullRequestRequest) ProtoReflect ¶
func (x *PreparePullRequestRequest) ProtoReflect() protoreflect.Message
func (*PreparePullRequestRequest) Reset ¶
func (x *PreparePullRequestRequest) Reset()
func (*PreparePullRequestRequest) String ¶
func (x *PreparePullRequestRequest) String() string
type PreparePullRequestResponse ¶
type PreparePullRequestResponse struct {
RemoteUrl string `protobuf:"bytes,1,opt,name=remote_url,json=remoteUrl,proto3" json:"remote_url,omitempty"`
CheckoutPath string `protobuf:"bytes,2,opt,name=checkout_path,json=checkoutPath,proto3" json:"checkout_path,omitempty"`
HeadBranch string `protobuf:"bytes,3,opt,name=head_branch,json=headBranch,proto3" json:"head_branch,omitempty"`
BaseBranch string `protobuf:"bytes,4,opt,name=base_branch,json=baseBranch,proto3" json:"base_branch,omitempty"`
Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"`
Body string `protobuf:"bytes,6,opt,name=body,proto3" json:"body,omitempty"`
BaseSha string `protobuf:"bytes,7,opt,name=base_sha,json=baseSha,proto3" json:"base_sha,omitempty"`
HeadSha string `protobuf:"bytes,8,opt,name=head_sha,json=headSha,proto3" json:"head_sha,omitempty"`
Additions int32 `protobuf:"varint,9,opt,name=additions,proto3" json:"additions,omitempty"`
Deletions int32 `protobuf:"varint,10,opt,name=deletions,proto3" json:"deletions,omitempty"`
// Whether the box committed uncommitted changes.
Committed bool `protobuf:"varint,11,opt,name=committed,proto3" json:"committed,omitempty"`
// Who wrote the text: ai_proxy, claude, codex or template.
Writer string `protobuf:"bytes,12,opt,name=writer,proto3" json:"writer,omitempty"`
// contains filtered or unexported fields
}
func (*PreparePullRequestResponse) Descriptor
deprecated
func (*PreparePullRequestResponse) Descriptor() ([]byte, []int)
Deprecated: Use PreparePullRequestResponse.ProtoReflect.Descriptor instead.
func (*PreparePullRequestResponse) GetAdditions ¶
func (x *PreparePullRequestResponse) GetAdditions() int32
func (*PreparePullRequestResponse) GetBaseBranch ¶
func (x *PreparePullRequestResponse) GetBaseBranch() string
func (*PreparePullRequestResponse) GetBaseSha ¶
func (x *PreparePullRequestResponse) GetBaseSha() string
func (*PreparePullRequestResponse) GetBody ¶
func (x *PreparePullRequestResponse) GetBody() string
func (*PreparePullRequestResponse) GetCheckoutPath ¶
func (x *PreparePullRequestResponse) GetCheckoutPath() string
func (*PreparePullRequestResponse) GetCommitted ¶
func (x *PreparePullRequestResponse) GetCommitted() bool
func (*PreparePullRequestResponse) GetDeletions ¶
func (x *PreparePullRequestResponse) GetDeletions() int32
func (*PreparePullRequestResponse) GetHeadBranch ¶
func (x *PreparePullRequestResponse) GetHeadBranch() string
func (*PreparePullRequestResponse) GetHeadSha ¶
func (x *PreparePullRequestResponse) GetHeadSha() string
func (*PreparePullRequestResponse) GetRemoteUrl ¶
func (x *PreparePullRequestResponse) GetRemoteUrl() string
func (*PreparePullRequestResponse) GetTitle ¶
func (x *PreparePullRequestResponse) GetTitle() string
func (*PreparePullRequestResponse) GetWriter ¶
func (x *PreparePullRequestResponse) GetWriter() string
func (*PreparePullRequestResponse) ProtoMessage ¶
func (*PreparePullRequestResponse) ProtoMessage()
func (*PreparePullRequestResponse) ProtoReflect ¶
func (x *PreparePullRequestResponse) ProtoReflect() protoreflect.Message
func (*PreparePullRequestResponse) Reset ¶
func (x *PreparePullRequestResponse) Reset()
func (*PreparePullRequestResponse) String ¶
func (x *PreparePullRequestResponse) String() string
type PrepareSuspendRequest ¶
type PrepareSuspendRequest struct {
Reason SuspendReason `protobuf:"varint,1,opt,name=reason,proto3,enum=devbox.v1.SuspendReason" json:"reason,omitempty"`
SharedSnapshot bool `protobuf:"varint,2,opt,name=shared_snapshot,json=sharedSnapshot,proto3" json:"shared_snapshot,omitempty"`
// contains filtered or unexported fields
}
func (*PrepareSuspendRequest) Descriptor
deprecated
func (*PrepareSuspendRequest) Descriptor() ([]byte, []int)
Deprecated: Use PrepareSuspendRequest.ProtoReflect.Descriptor instead.
func (*PrepareSuspendRequest) GetReason ¶
func (x *PrepareSuspendRequest) GetReason() SuspendReason
func (*PrepareSuspendRequest) GetSharedSnapshot ¶
func (x *PrepareSuspendRequest) GetSharedSnapshot() bool
func (*PrepareSuspendRequest) ProtoMessage ¶
func (*PrepareSuspendRequest) ProtoMessage()
func (*PrepareSuspendRequest) ProtoReflect ¶
func (x *PrepareSuspendRequest) ProtoReflect() protoreflect.Message
func (*PrepareSuspendRequest) Reset ¶
func (x *PrepareSuspendRequest) Reset()
func (*PrepareSuspendRequest) String ¶
func (x *PrepareSuspendRequest) String() string
type PrepareSuspendResponse ¶
type PrepareSuspendResponse struct {
// Every entity is settled up to here; the gateway forwards through this offset before suspending.
SettledOffset uint64 `protobuf:"varint,1,opt,name=settled_offset,json=settledOffset,proto3" json:"settled_offset,omitempty"`
StoppedAgents []AgentType `` /* 133-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*PrepareSuspendResponse) Descriptor
deprecated
func (*PrepareSuspendResponse) Descriptor() ([]byte, []int)
Deprecated: Use PrepareSuspendResponse.ProtoReflect.Descriptor instead.
func (*PrepareSuspendResponse) GetSettledOffset ¶
func (x *PrepareSuspendResponse) GetSettledOffset() uint64
func (*PrepareSuspendResponse) GetStoppedAgents ¶
func (x *PrepareSuspendResponse) GetStoppedAgents() []AgentType
func (*PrepareSuspendResponse) ProtoMessage ¶
func (*PrepareSuspendResponse) ProtoMessage()
func (*PrepareSuspendResponse) ProtoReflect ¶
func (x *PrepareSuspendResponse) ProtoReflect() protoreflect.Message
func (*PrepareSuspendResponse) Reset ¶
func (x *PrepareSuspendResponse) Reset()
func (*PrepareSuspendResponse) String ¶
func (x *PrepareSuspendResponse) String() string
type Principal ¶
type Principal struct {
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
// Set instead of a user when the daemon answered by policy, e.g. "autonomy:full".
Policy string `protobuf:"bytes,4,opt,name=policy,proto3" json:"policy,omitempty"`
// contains filtered or unexported fields
}
Principal identifies the console user on whose behalf a call is made, for attribution (thread `created_by`, interaction `answered_by`, lease holders).
func (*Principal) Descriptor
deprecated
func (*Principal) ProtoMessage ¶
func (*Principal) ProtoMessage()
func (*Principal) ProtoReflect ¶
func (x *Principal) ProtoReflect() protoreflect.Message
type ProbeAgentsRequest ¶
type ProbeAgentsRequest struct {
Agents []*AgentProbeSpec `protobuf:"bytes,1,rep,name=agents,proto3" json:"agents,omitempty"`
// Box-scoped AI proxy endpoints, so adapters that list models only when authenticated still work.
Endpoints *HarnessEndpoints `protobuf:"bytes,2,opt,name=endpoints,proto3" json:"endpoints,omitempty"`
// contains filtered or unexported fields
}
func (*ProbeAgentsRequest) Descriptor
deprecated
func (*ProbeAgentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProbeAgentsRequest.ProtoReflect.Descriptor instead.
func (*ProbeAgentsRequest) GetAgents ¶
func (x *ProbeAgentsRequest) GetAgents() []*AgentProbeSpec
func (*ProbeAgentsRequest) GetEndpoints ¶
func (x *ProbeAgentsRequest) GetEndpoints() *HarnessEndpoints
func (*ProbeAgentsRequest) ProtoMessage ¶
func (*ProbeAgentsRequest) ProtoMessage()
func (*ProbeAgentsRequest) ProtoReflect ¶
func (x *ProbeAgentsRequest) ProtoReflect() protoreflect.Message
func (*ProbeAgentsRequest) Reset ¶
func (x *ProbeAgentsRequest) Reset()
func (*ProbeAgentsRequest) String ¶
func (x *ProbeAgentsRequest) String() string
type ProbeAgentsResponse ¶
type ProbeAgentsResponse struct {
Agents []*AgentCatalogEntry `protobuf:"bytes,1,rep,name=agents,proto3" json:"agents,omitempty"`
// contains filtered or unexported fields
}
func (*ProbeAgentsResponse) Descriptor
deprecated
func (*ProbeAgentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ProbeAgentsResponse.ProtoReflect.Descriptor instead.
func (*ProbeAgentsResponse) GetAgents ¶
func (x *ProbeAgentsResponse) GetAgents() []*AgentCatalogEntry
func (*ProbeAgentsResponse) ProtoMessage ¶
func (*ProbeAgentsResponse) ProtoMessage()
func (*ProbeAgentsResponse) ProtoReflect ¶
func (x *ProbeAgentsResponse) ProtoReflect() protoreflect.Message
func (*ProbeAgentsResponse) Reset ¶
func (x *ProbeAgentsResponse) Reset()
func (*ProbeAgentsResponse) String ¶
func (x *ProbeAgentsResponse) String() string
type ProbeStatus ¶
type ProbeStatus int32
const ( ProbeStatus_PROBE_STATUS_UNSPECIFIED ProbeStatus = 0 ProbeStatus_PROBE_STATUS_OK ProbeStatus = 1 // The probe failed; models come from the CRD alone and the box shows a warning. ProbeStatus_PROBE_STATUS_FAILED ProbeStatus = 2 // The agent binary is not in the image; the template revision fails. ProbeStatus_PROBE_STATUS_MISSING ProbeStatus = 3 )
func (ProbeStatus) Descriptor ¶
func (ProbeStatus) Descriptor() protoreflect.EnumDescriptor
func (ProbeStatus) Enum ¶
func (x ProbeStatus) Enum() *ProbeStatus
func (ProbeStatus) EnumDescriptor
deprecated
func (ProbeStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProbeStatus.Descriptor instead.
func (ProbeStatus) Number ¶
func (x ProbeStatus) Number() protoreflect.EnumNumber
func (ProbeStatus) String ¶
func (x ProbeStatus) String() string
func (ProbeStatus) Type ¶
func (ProbeStatus) Type() protoreflect.EnumType
type PromptAttachment ¶
type PromptAttachment struct {
// File name; the daemon reduces it to a safe base name.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
func (*PromptAttachment) Descriptor
deprecated
func (*PromptAttachment) Descriptor() ([]byte, []int)
Deprecated: Use PromptAttachment.ProtoReflect.Descriptor instead.
func (*PromptAttachment) GetData ¶
func (x *PromptAttachment) GetData() []byte
func (*PromptAttachment) GetMimeType ¶
func (x *PromptAttachment) GetMimeType() string
func (*PromptAttachment) GetName ¶
func (x *PromptAttachment) GetName() string
func (*PromptAttachment) ProtoMessage ¶
func (*PromptAttachment) ProtoMessage()
func (*PromptAttachment) ProtoReflect ¶
func (x *PromptAttachment) ProtoReflect() protoreflect.Message
func (*PromptAttachment) Reset ¶
func (x *PromptAttachment) Reset()
func (*PromptAttachment) String ¶
func (x *PromptAttachment) String() string
type PromptDisposition ¶
type PromptDisposition int32
const ( PromptDisposition_PROMPT_DISPOSITION_UNSPECIFIED PromptDisposition = 0 // Sent to the agent. PromptDisposition_PROMPT_DISPOSITION_SENT PromptDisposition = 1 // Held because the thread is busy or waiting on the running-thread limit. PromptDisposition_PROMPT_DISPOSITION_QUEUED PromptDisposition = 2 // Repeated prompt_id; nothing sent. PromptDisposition_PROMPT_DISPOSITION_DUPLICATE PromptDisposition = 3 )
func (PromptDisposition) Descriptor ¶
func (PromptDisposition) Descriptor() protoreflect.EnumDescriptor
func (PromptDisposition) Enum ¶
func (x PromptDisposition) Enum() *PromptDisposition
func (PromptDisposition) EnumDescriptor
deprecated
func (PromptDisposition) EnumDescriptor() ([]byte, []int)
Deprecated: Use PromptDisposition.Descriptor instead.
func (PromptDisposition) Number ¶
func (x PromptDisposition) Number() protoreflect.EnumNumber
func (PromptDisposition) String ¶
func (x PromptDisposition) String() string
func (PromptDisposition) Type ¶
func (PromptDisposition) Type() protoreflect.EnumType
type PromptRequest ¶
type PromptRequest struct {
Thread *ThreadRef `protobuf:"bytes,1,opt,name=thread,proto3" json:"thread,omitempty"`
// Idempotency key; echoed on the resulting user_message entity.
PromptId string `protobuf:"bytes,2,opt,name=prompt_id,json=promptId,proto3" json:"prompt_id,omitempty"`
// A slash command is a prompt whose first text block starts with "/<name>".
Content []*ContentBlock `protobuf:"bytes,3,rep,name=content,proto3" json:"content,omitempty"`
SentBy *Principal `protobuf:"bytes,4,opt,name=sent_by,json=sentBy,proto3" json:"sent_by,omitempty"`
// Resume a suspended instance and deliver once ready (resume-on-prompt).
ResumeIfSuspended bool `protobuf:"varint,5,opt,name=resume_if_suspended,json=resumeIfSuspended,proto3" json:"resume_if_suspended,omitempty"`
// Files attached to the prompt. The daemon writes them into the box and appends a resource_link block per file
// to content; agents that accept images also get supported images inline.
Attachments []*PromptAttachment `protobuf:"bytes,6,rep,name=attachments,proto3" json:"attachments,omitempty"`
// contains filtered or unexported fields
}
func (*PromptRequest) Descriptor
deprecated
func (*PromptRequest) Descriptor() ([]byte, []int)
Deprecated: Use PromptRequest.ProtoReflect.Descriptor instead.
func (*PromptRequest) GetAttachments ¶
func (x *PromptRequest) GetAttachments() []*PromptAttachment
func (*PromptRequest) GetContent ¶
func (x *PromptRequest) GetContent() []*ContentBlock
func (*PromptRequest) GetPromptId ¶
func (x *PromptRequest) GetPromptId() string
func (*PromptRequest) GetResumeIfSuspended ¶
func (x *PromptRequest) GetResumeIfSuspended() bool
func (*PromptRequest) GetSentBy ¶
func (x *PromptRequest) GetSentBy() *Principal
func (*PromptRequest) GetThread ¶
func (x *PromptRequest) GetThread() *ThreadRef
func (*PromptRequest) ProtoMessage ¶
func (*PromptRequest) ProtoMessage()
func (*PromptRequest) ProtoReflect ¶
func (x *PromptRequest) ProtoReflect() protoreflect.Message
func (*PromptRequest) Reset ¶
func (x *PromptRequest) Reset()
func (*PromptRequest) String ¶
func (x *PromptRequest) String() string
type PromptResponse ¶
type PromptResponse struct {
PromptId string `protobuf:"bytes,1,opt,name=prompt_id,json=promptId,proto3" json:"prompt_id,omitempty"`
Disposition PromptDisposition `protobuf:"varint,2,opt,name=disposition,proto3,enum=devbox.v1.PromptDisposition" json:"disposition,omitempty"`
// The user_message entity ID, when known.
MessageId string `protobuf:"bytes,3,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
// contains filtered or unexported fields
}
func (*PromptResponse) Descriptor
deprecated
func (*PromptResponse) Descriptor() ([]byte, []int)
Deprecated: Use PromptResponse.ProtoReflect.Descriptor instead.
func (*PromptResponse) GetDisposition ¶
func (x *PromptResponse) GetDisposition() PromptDisposition
func (*PromptResponse) GetMessageId ¶
func (x *PromptResponse) GetMessageId() string
func (*PromptResponse) GetPromptId ¶
func (x *PromptResponse) GetPromptId() string
func (*PromptResponse) ProtoMessage ¶
func (*PromptResponse) ProtoMessage()
func (*PromptResponse) ProtoReflect ¶
func (x *PromptResponse) ProtoReflect() protoreflect.Message
func (*PromptResponse) Reset ¶
func (x *PromptResponse) Reset()
func (*PromptResponse) String ¶
func (x *PromptResponse) String() string
type ProxyModels ¶
type ProxyModels struct {
// Model used when neither the thread nor the box picks one.
DefaultModel string `protobuf:"bytes,1,opt,name=default_model,json=defaultModel,proto3" json:"default_model,omitempty"`
// Every model the agent may use, default first.
Models []string `protobuf:"bytes,2,rep,name=models,proto3" json:"models,omitempty"`
// Harness model aliases resolved to proxy models, e.g. Claude Code's `opus`, `sonnet` and `haiku`.
Aliases map[string]string `` /* 141-byte string literal not displayed */
// contains filtered or unexported fields
}
ProxyModels are the console AI proxy models one agent may use, as `provider/model` IDs the proxy routes on (`anthropic/claude-sonnet-4-5`, `bedrock/us.anthropic.claude-opus-4-1-v1:0`). Console derives them from the deployment settings' AI providers, the same list the proxy allows.
func (*ProxyModels) Descriptor
deprecated
func (*ProxyModels) Descriptor() ([]byte, []int)
Deprecated: Use ProxyModels.ProtoReflect.Descriptor instead.
func (*ProxyModels) GetAliases ¶
func (x *ProxyModels) GetAliases() map[string]string
func (*ProxyModels) GetDefaultModel ¶
func (x *ProxyModels) GetDefaultModel() string
func (*ProxyModels) GetModels ¶
func (x *ProxyModels) GetModels() []string
func (*ProxyModels) ProtoMessage ¶
func (*ProxyModels) ProtoMessage()
func (*ProxyModels) ProtoReflect ¶
func (x *ProxyModels) ProtoReflect() protoreflect.Message
func (*ProxyModels) Reset ¶
func (x *ProxyModels) Reset()
func (*ProxyModels) String ¶
func (x *ProxyModels) String() string
type PullRequestAttributes ¶
type PullRequestAttributes struct {
// Normalized repository URL, checked against the box allowlist.
Repository string `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
Body string `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"`
HeadBranch string `protobuf:"bytes,4,opt,name=head_branch,json=headBranch,proto3" json:"head_branch,omitempty"`
BaseBranch string `protobuf:"bytes,5,opt,name=base_branch,json=baseBranch,proto3" json:"base_branch,omitempty"`
Draft bool `protobuf:"varint,6,opt,name=draft,proto3" json:"draft,omitempty"`
Labels []string `protobuf:"bytes,7,rep,name=labels,proto3" json:"labels,omitempty"`
// Linked PRs from a multi-repo change.
RelatedUrls []string `protobuf:"bytes,8,rep,name=related_urls,json=relatedUrls,proto3" json:"related_urls,omitempty"`
Extra *structpb.Struct `protobuf:"bytes,9,opt,name=extra,proto3" json:"extra,omitempty"`
Difficulty *PullRequestDifficulty `protobuf:"bytes,10,opt,name=difficulty,proto3" json:"difficulty,omitempty"`
CommitShas []*CommitSha `protobuf:"bytes,11,rep,name=commit_shas,json=commitShas,proto3" json:"commit_shas,omitempty"`
// contains filtered or unexported fields
}
func (*PullRequestAttributes) Descriptor
deprecated
func (*PullRequestAttributes) Descriptor() ([]byte, []int)
Deprecated: Use PullRequestAttributes.ProtoReflect.Descriptor instead.
func (*PullRequestAttributes) GetBaseBranch ¶
func (x *PullRequestAttributes) GetBaseBranch() string
func (*PullRequestAttributes) GetBody ¶
func (x *PullRequestAttributes) GetBody() string
func (*PullRequestAttributes) GetCommitShas ¶
func (x *PullRequestAttributes) GetCommitShas() []*CommitSha
func (*PullRequestAttributes) GetDifficulty ¶
func (x *PullRequestAttributes) GetDifficulty() *PullRequestDifficulty
func (*PullRequestAttributes) GetDraft ¶
func (x *PullRequestAttributes) GetDraft() bool
func (*PullRequestAttributes) GetExtra ¶
func (x *PullRequestAttributes) GetExtra() *structpb.Struct
func (*PullRequestAttributes) GetHeadBranch ¶
func (x *PullRequestAttributes) GetHeadBranch() string
func (*PullRequestAttributes) GetLabels ¶
func (x *PullRequestAttributes) GetLabels() []string
func (*PullRequestAttributes) GetRelatedUrls ¶
func (x *PullRequestAttributes) GetRelatedUrls() []string
func (*PullRequestAttributes) GetRepository ¶
func (x *PullRequestAttributes) GetRepository() string
func (*PullRequestAttributes) GetTitle ¶
func (x *PullRequestAttributes) GetTitle() string
func (*PullRequestAttributes) ProtoMessage ¶
func (*PullRequestAttributes) ProtoMessage()
func (*PullRequestAttributes) ProtoReflect ¶
func (x *PullRequestAttributes) ProtoReflect() protoreflect.Message
func (*PullRequestAttributes) Reset ¶
func (x *PullRequestAttributes) Reset()
func (*PullRequestAttributes) String ¶
func (x *PullRequestAttributes) String() string
type PullRequestDifficulty ¶
type PullRequestDifficulty struct {
// GITOPS, APPLICATION or CONFIGURATION.
ChangeType string `protobuf:"bytes,1,opt,name=change_type,json=changeType,proto3" json:"change_type,omitempty"`
Lines int32 `protobuf:"varint,2,opt,name=lines,proto3" json:"lines,omitempty"`
// contains filtered or unexported fields
}
The classified kind and changed line count of a pull request, for workbench metrics.
func (*PullRequestDifficulty) Descriptor
deprecated
func (*PullRequestDifficulty) Descriptor() ([]byte, []int)
Deprecated: Use PullRequestDifficulty.ProtoReflect.Descriptor instead.
func (*PullRequestDifficulty) GetChangeType ¶
func (x *PullRequestDifficulty) GetChangeType() string
func (*PullRequestDifficulty) GetLines ¶
func (x *PullRequestDifficulty) GetLines() int32
func (*PullRequestDifficulty) ProtoMessage ¶
func (*PullRequestDifficulty) ProtoMessage()
func (*PullRequestDifficulty) ProtoReflect ¶
func (x *PullRequestDifficulty) ProtoReflect() protoreflect.Message
func (*PullRequestDifficulty) Reset ¶
func (x *PullRequestDifficulty) Reset()
func (*PullRequestDifficulty) String ¶
func (x *PullRequestDifficulty) String() string
type PushCredentialRequest ¶
type PushCredentialRequest struct {
Credential *InstanceCredential `protobuf:"bytes,1,opt,name=credential,proto3" json:"credential,omitempty"`
// contains filtered or unexported fields
}
func (*PushCredentialRequest) Descriptor
deprecated
func (*PushCredentialRequest) Descriptor() ([]byte, []int)
Deprecated: Use PushCredentialRequest.ProtoReflect.Descriptor instead.
func (*PushCredentialRequest) GetCredential ¶
func (x *PushCredentialRequest) GetCredential() *InstanceCredential
func (*PushCredentialRequest) ProtoMessage ¶
func (*PushCredentialRequest) ProtoMessage()
func (*PushCredentialRequest) ProtoReflect ¶
func (x *PushCredentialRequest) ProtoReflect() protoreflect.Message
func (*PushCredentialRequest) Reset ¶
func (x *PushCredentialRequest) Reset()
func (*PushCredentialRequest) String ¶
func (x *PushCredentialRequest) String() string
type PushCredentialResponse ¶
type PushCredentialResponse struct {
Applied bool `protobuf:"varint,1,opt,name=applied,proto3" json:"applied,omitempty"`
// contains filtered or unexported fields
}
func (*PushCredentialResponse) Descriptor
deprecated
func (*PushCredentialResponse) Descriptor() ([]byte, []int)
Deprecated: Use PushCredentialResponse.ProtoReflect.Descriptor instead.
func (*PushCredentialResponse) GetApplied ¶
func (x *PushCredentialResponse) GetApplied() bool
func (*PushCredentialResponse) ProtoMessage ¶
func (*PushCredentialResponse) ProtoMessage()
func (*PushCredentialResponse) ProtoReflect ¶
func (x *PushCredentialResponse) ProtoReflect() protoreflect.Message
func (*PushCredentialResponse) Reset ¶
func (x *PushCredentialResponse) Reset()
func (*PushCredentialResponse) String ¶
func (x *PushCredentialResponse) String() string
type PushInstanceDeltasRequest ¶
type PushInstanceDeltasRequest struct {
Deltas []*Delta `protobuf:"bytes,1,rep,name=deltas,proto3" json:"deltas,omitempty"`
// contains filtered or unexported fields
}
func (*PushInstanceDeltasRequest) Descriptor
deprecated
func (*PushInstanceDeltasRequest) Descriptor() ([]byte, []int)
Deprecated: Use PushInstanceDeltasRequest.ProtoReflect.Descriptor instead.
func (*PushInstanceDeltasRequest) GetDeltas ¶
func (x *PushInstanceDeltasRequest) GetDeltas() []*Delta
func (*PushInstanceDeltasRequest) ProtoMessage ¶
func (*PushInstanceDeltasRequest) ProtoMessage()
func (*PushInstanceDeltasRequest) ProtoReflect ¶
func (x *PushInstanceDeltasRequest) ProtoReflect() protoreflect.Message
func (*PushInstanceDeltasRequest) Reset ¶
func (x *PushInstanceDeltasRequest) Reset()
func (*PushInstanceDeltasRequest) String ¶
func (x *PushInstanceDeltasRequest) String() string
type PushInstanceDeltasResponse ¶
type PushInstanceDeltasResponse struct {
// contains filtered or unexported fields
}
func (*PushInstanceDeltasResponse) Descriptor
deprecated
func (*PushInstanceDeltasResponse) Descriptor() ([]byte, []int)
Deprecated: Use PushInstanceDeltasResponse.ProtoReflect.Descriptor instead.
func (*PushInstanceDeltasResponse) ProtoMessage ¶
func (*PushInstanceDeltasResponse) ProtoMessage()
func (*PushInstanceDeltasResponse) ProtoReflect ¶
func (x *PushInstanceDeltasResponse) ProtoReflect() protoreflect.Message
func (*PushInstanceDeltasResponse) Reset ¶
func (x *PushInstanceDeltasResponse) Reset()
func (*PushInstanceDeltasResponse) String ¶
func (x *PushInstanceDeltasResponse) String() string
type QueuedPrompt ¶
type QueuedPrompt struct {
PromptId string `protobuf:"bytes,1,opt,name=prompt_id,json=promptId,proto3" json:"prompt_id,omitempty"`
Content []*ContentBlock `protobuf:"bytes,2,rep,name=content,proto3" json:"content,omitempty"`
SentBy *Principal `protobuf:"bytes,3,opt,name=sent_by,json=sentBy,proto3" json:"sent_by,omitempty"`
QueuedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=queued_at,json=queuedAt,proto3" json:"queued_at,omitempty"`
// contains filtered or unexported fields
}
QueuedPrompt is a prompt accepted for a busy thread that hasn't started yet; it becomes a user_message entity when its turn starts.
func (*QueuedPrompt) Descriptor
deprecated
func (*QueuedPrompt) Descriptor() ([]byte, []int)
Deprecated: Use QueuedPrompt.ProtoReflect.Descriptor instead.
func (*QueuedPrompt) GetContent ¶
func (x *QueuedPrompt) GetContent() []*ContentBlock
func (*QueuedPrompt) GetPromptId ¶
func (x *QueuedPrompt) GetPromptId() string
func (*QueuedPrompt) GetQueuedAt ¶
func (x *QueuedPrompt) GetQueuedAt() *timestamppb.Timestamp
func (*QueuedPrompt) GetSentBy ¶
func (x *QueuedPrompt) GetSentBy() *Principal
func (*QueuedPrompt) ProtoMessage ¶
func (*QueuedPrompt) ProtoMessage()
func (*QueuedPrompt) ProtoReflect ¶
func (x *QueuedPrompt) ProtoReflect() protoreflect.Message
func (*QueuedPrompt) Reset ¶
func (x *QueuedPrompt) Reset()
func (*QueuedPrompt) String ¶
func (x *QueuedPrompt) String() string
type QueuedPromptAction ¶
type QueuedPromptAction int32
const ( QueuedPromptAction_QUEUED_PROMPT_ACTION_UNSPECIFIED QueuedPromptAction = 0 // Replace the prompt's text; its attachments stay. QueuedPromptAction_QUEUED_PROMPT_ACTION_EDIT QueuedPromptAction = 1 // Drop the prompt from the queue. QueuedPromptAction_QUEUED_PROMPT_ACTION_CANCEL QueuedPromptAction = 2 // Move the prompt to the front and cancel the current turn, so it runs next. QueuedPromptAction_QUEUED_PROMPT_ACTION_SEND_NOW QueuedPromptAction = 3 )
func (QueuedPromptAction) Descriptor ¶
func (QueuedPromptAction) Descriptor() protoreflect.EnumDescriptor
func (QueuedPromptAction) Enum ¶
func (x QueuedPromptAction) Enum() *QueuedPromptAction
func (QueuedPromptAction) EnumDescriptor
deprecated
func (QueuedPromptAction) EnumDescriptor() ([]byte, []int)
Deprecated: Use QueuedPromptAction.Descriptor instead.
func (QueuedPromptAction) Number ¶
func (x QueuedPromptAction) Number() protoreflect.EnumNumber
func (QueuedPromptAction) String ¶
func (x QueuedPromptAction) String() string
func (QueuedPromptAction) Type ¶
func (QueuedPromptAction) Type() protoreflect.EnumType
type ReadFileRequest ¶
type ReadFileRequest struct {
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
Offset int64 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
// Maximum bytes. 0 means the daemon default (1 MiB).
Limit int64 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
// contains filtered or unexported fields
}
func (*ReadFileRequest) Descriptor
deprecated
func (*ReadFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReadFileRequest.ProtoReflect.Descriptor instead.
func (*ReadFileRequest) GetInstanceId ¶
func (x *ReadFileRequest) GetInstanceId() string
func (*ReadFileRequest) GetLimit ¶
func (x *ReadFileRequest) GetLimit() int64
func (*ReadFileRequest) GetOffset ¶
func (x *ReadFileRequest) GetOffset() int64
func (*ReadFileRequest) GetPath ¶
func (x *ReadFileRequest) GetPath() string
func (*ReadFileRequest) ProtoMessage ¶
func (*ReadFileRequest) ProtoMessage()
func (*ReadFileRequest) ProtoReflect ¶
func (x *ReadFileRequest) ProtoReflect() protoreflect.Message
func (*ReadFileRequest) Reset ¶
func (x *ReadFileRequest) Reset()
func (*ReadFileRequest) String ¶
func (x *ReadFileRequest) String() string
type ReadFileResponse ¶
type ReadFileResponse struct {
Entry *FileEntry `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"`
Content []byte `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
// Hex sha256 of the whole file, for WriteFile's compare-and-swap.
Sha256 string `protobuf:"bytes,3,opt,name=sha256,proto3" json:"sha256,omitempty"`
Truncated bool `protobuf:"varint,4,opt,name=truncated,proto3" json:"truncated,omitempty"`
MimeType string `protobuf:"bytes,5,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
Binary bool `protobuf:"varint,6,opt,name=binary,proto3" json:"binary,omitempty"`
// contains filtered or unexported fields
}
func (*ReadFileResponse) Descriptor
deprecated
func (*ReadFileResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReadFileResponse.ProtoReflect.Descriptor instead.
func (*ReadFileResponse) GetBinary ¶
func (x *ReadFileResponse) GetBinary() bool
func (*ReadFileResponse) GetContent ¶
func (x *ReadFileResponse) GetContent() []byte
func (*ReadFileResponse) GetEntry ¶
func (x *ReadFileResponse) GetEntry() *FileEntry
func (*ReadFileResponse) GetMimeType ¶
func (x *ReadFileResponse) GetMimeType() string
func (*ReadFileResponse) GetSha256 ¶
func (x *ReadFileResponse) GetSha256() string
func (*ReadFileResponse) GetTruncated ¶
func (x *ReadFileResponse) GetTruncated() bool
func (*ReadFileResponse) ProtoMessage ¶
func (*ReadFileResponse) ProtoMessage()
func (*ReadFileResponse) ProtoReflect ¶
func (x *ReadFileResponse) ProtoReflect() protoreflect.Message
func (*ReadFileResponse) Reset ¶
func (x *ReadFileResponse) Reset()
func (*ReadFileResponse) String ¶
func (x *ReadFileResponse) String() string
type RegisterGatewayRequest ¶
type RegisterGatewayRequest struct {
// Pod name of the replica.
GatewayId string `protobuf:"bytes,1,opt,name=gateway_id,json=gatewayId,proto3" json:"gateway_id,omitempty"`
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
// Optional features the gateway supports, e.g. "acp-v2", "claude-oauth", "egress-pr-observation".
Capabilities []string `protobuf:"bytes,3,rep,name=capabilities,proto3" json:"capabilities,omitempty"`
SubstrateVersion string `protobuf:"bytes,4,opt,name=substrate_version,json=substrateVersion,proto3" json:"substrate_version,omitempty"`
// Install-time prerequisites the gateway checked (DBX-22).
CredentialProviderRegistered bool `` /* 148-byte string literal not displayed */
EgressAuthzRegistered bool `` /* 127-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*RegisterGatewayRequest) Descriptor
deprecated
func (*RegisterGatewayRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterGatewayRequest.ProtoReflect.Descriptor instead.
func (*RegisterGatewayRequest) GetCapabilities ¶
func (x *RegisterGatewayRequest) GetCapabilities() []string
func (*RegisterGatewayRequest) GetCredentialProviderRegistered ¶
func (x *RegisterGatewayRequest) GetCredentialProviderRegistered() bool
func (*RegisterGatewayRequest) GetEgressAuthzRegistered ¶
func (x *RegisterGatewayRequest) GetEgressAuthzRegistered() bool
func (*RegisterGatewayRequest) GetGatewayId ¶
func (x *RegisterGatewayRequest) GetGatewayId() string
func (*RegisterGatewayRequest) GetSubstrateVersion ¶
func (x *RegisterGatewayRequest) GetSubstrateVersion() string
func (*RegisterGatewayRequest) GetVersion ¶
func (x *RegisterGatewayRequest) GetVersion() string
func (*RegisterGatewayRequest) ProtoMessage ¶
func (*RegisterGatewayRequest) ProtoMessage()
func (*RegisterGatewayRequest) ProtoReflect ¶
func (x *RegisterGatewayRequest) ProtoReflect() protoreflect.Message
func (*RegisterGatewayRequest) Reset ¶
func (x *RegisterGatewayRequest) Reset()
func (*RegisterGatewayRequest) String ¶
func (x *RegisterGatewayRequest) String() string
type RegisterGatewayResponse ¶
type RegisterGatewayResponse struct {
// The cluster KAS verified.
ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
HeartbeatIntervalSeconds int32 `` /* 136-byte string literal not displayed */
// Instances console believes are live on this cluster, for reconciliation after a gateway restart.
Instances []*InstanceSummary `protobuf:"bytes,3,rep,name=instances,proto3" json:"instances,omitempty"`
// contains filtered or unexported fields
}
func (*RegisterGatewayResponse) Descriptor
deprecated
func (*RegisterGatewayResponse) Descriptor() ([]byte, []int)
Deprecated: Use RegisterGatewayResponse.ProtoReflect.Descriptor instead.
func (*RegisterGatewayResponse) GetClusterId ¶
func (x *RegisterGatewayResponse) GetClusterId() string
func (*RegisterGatewayResponse) GetHeartbeatIntervalSeconds ¶
func (x *RegisterGatewayResponse) GetHeartbeatIntervalSeconds() int32
func (*RegisterGatewayResponse) GetInstances ¶
func (x *RegisterGatewayResponse) GetInstances() []*InstanceSummary
func (*RegisterGatewayResponse) ProtoMessage ¶
func (*RegisterGatewayResponse) ProtoMessage()
func (*RegisterGatewayResponse) ProtoReflect ¶
func (x *RegisterGatewayResponse) ProtoReflect() protoreflect.Message
func (*RegisterGatewayResponse) Reset ¶
func (x *RegisterGatewayResponse) Reset()
func (*RegisterGatewayResponse) String ¶
func (x *RegisterGatewayResponse) String() string
type ReportInstanceStatusRequest ¶
type ReportInstanceStatusRequest struct {
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
Status InstanceStatus `protobuf:"varint,2,opt,name=status,proto3,enum=devbox.v1.InstanceStatus" json:"status,omitempty"`
SuspendReason SuspendReason `` /* 130-byte string literal not displayed */
Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
Error *ErrorDetail `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty"`
ActorId string `protobuf:"bytes,6,opt,name=actor_id,json=actorId,proto3" json:"actor_id,omitempty"`
ImageDigest string `protobuf:"bytes,7,opt,name=image_digest,json=imageDigest,proto3" json:"image_digest,omitempty"`
TemplateRevision int64 `protobuf:"varint,8,opt,name=template_revision,json=templateRevision,proto3" json:"template_revision,omitempty"`
Idle *IdleState `protobuf:"bytes,9,opt,name=idle,proto3" json:"idle,omitempty"`
ObservedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=observed_at,json=observedAt,proto3" json:"observed_at,omitempty"`
// Monotonic per instance; console ignores older reports.
Generation uint64 `protobuf:"varint,11,opt,name=generation,proto3" json:"generation,omitempty"`
// contains filtered or unexported fields
}
func (*ReportInstanceStatusRequest) Descriptor
deprecated
func (*ReportInstanceStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReportInstanceStatusRequest.ProtoReflect.Descriptor instead.
func (*ReportInstanceStatusRequest) GetActorId ¶
func (x *ReportInstanceStatusRequest) GetActorId() string
func (*ReportInstanceStatusRequest) GetError ¶
func (x *ReportInstanceStatusRequest) GetError() *ErrorDetail
func (*ReportInstanceStatusRequest) GetGeneration ¶
func (x *ReportInstanceStatusRequest) GetGeneration() uint64
func (*ReportInstanceStatusRequest) GetIdle ¶
func (x *ReportInstanceStatusRequest) GetIdle() *IdleState
func (*ReportInstanceStatusRequest) GetImageDigest ¶
func (x *ReportInstanceStatusRequest) GetImageDigest() string
func (*ReportInstanceStatusRequest) GetInstanceId ¶
func (x *ReportInstanceStatusRequest) GetInstanceId() string
func (*ReportInstanceStatusRequest) GetMessage ¶
func (x *ReportInstanceStatusRequest) GetMessage() string
func (*ReportInstanceStatusRequest) GetObservedAt ¶
func (x *ReportInstanceStatusRequest) GetObservedAt() *timestamppb.Timestamp
func (*ReportInstanceStatusRequest) GetStatus ¶
func (x *ReportInstanceStatusRequest) GetStatus() InstanceStatus
func (*ReportInstanceStatusRequest) GetSuspendReason ¶
func (x *ReportInstanceStatusRequest) GetSuspendReason() SuspendReason
func (*ReportInstanceStatusRequest) GetTemplateRevision ¶
func (x *ReportInstanceStatusRequest) GetTemplateRevision() int64
func (*ReportInstanceStatusRequest) ProtoMessage ¶
func (*ReportInstanceStatusRequest) ProtoMessage()
func (*ReportInstanceStatusRequest) ProtoReflect ¶
func (x *ReportInstanceStatusRequest) ProtoReflect() protoreflect.Message
func (*ReportInstanceStatusRequest) Reset ¶
func (x *ReportInstanceStatusRequest) Reset()
func (*ReportInstanceStatusRequest) String ¶
func (x *ReportInstanceStatusRequest) String() string
type ReportInstanceStatusResponse ¶
type ReportInstanceStatusResponse struct {
// Console's view after applying the report (e.g. CANCELLED wins over a late RUNNING).
Status InstanceStatus `protobuf:"varint,1,opt,name=status,proto3,enum=devbox.v1.InstanceStatus" json:"status,omitempty"`
// contains filtered or unexported fields
}
func (*ReportInstanceStatusResponse) Descriptor
deprecated
func (*ReportInstanceStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReportInstanceStatusResponse.ProtoReflect.Descriptor instead.
func (*ReportInstanceStatusResponse) GetStatus ¶
func (x *ReportInstanceStatusResponse) GetStatus() InstanceStatus
func (*ReportInstanceStatusResponse) ProtoMessage ¶
func (*ReportInstanceStatusResponse) ProtoMessage()
func (*ReportInstanceStatusResponse) ProtoReflect ¶
func (x *ReportInstanceStatusResponse) ProtoReflect() protoreflect.Message
func (*ReportInstanceStatusResponse) Reset ¶
func (x *ReportInstanceStatusResponse) Reset()
func (*ReportInstanceStatusResponse) String ¶
func (x *ReportInstanceStatusResponse) String() string
type ReportPullRequestRequest ¶
type ReportPullRequestRequest struct {
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
// Verified actor SPIFFE ID that made the request.
ActorId string `protobuf:"bytes,2,opt,name=actor_id,json=actorId,proto3" json:"actor_id,omitempty"`
Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"`
// github, gitlab, bitbucket, azure_devops.
Provider string `protobuf:"bytes,4,opt,name=provider,proto3" json:"provider,omitempty"`
// Normalized repository URL.
Repository string `protobuf:"bytes,5,opt,name=repository,proto3" json:"repository,omitempty"`
Number int64 `protobuf:"varint,6,opt,name=number,proto3" json:"number,omitempty"`
HeadBranch string `protobuf:"bytes,7,opt,name=head_branch,json=headBranch,proto3" json:"head_branch,omitempty"`
BaseBranch string `protobuf:"bytes,8,opt,name=base_branch,json=baseBranch,proto3" json:"base_branch,omitempty"`
ObservedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=observed_at,json=observedAt,proto3" json:"observed_at,omitempty"`
// contains filtered or unexported fields
}
func (*ReportPullRequestRequest) Descriptor
deprecated
func (*ReportPullRequestRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReportPullRequestRequest.ProtoReflect.Descriptor instead.
func (*ReportPullRequestRequest) GetActorId ¶
func (x *ReportPullRequestRequest) GetActorId() string
func (*ReportPullRequestRequest) GetBaseBranch ¶
func (x *ReportPullRequestRequest) GetBaseBranch() string
func (*ReportPullRequestRequest) GetHeadBranch ¶
func (x *ReportPullRequestRequest) GetHeadBranch() string
func (*ReportPullRequestRequest) GetInstanceId ¶
func (x *ReportPullRequestRequest) GetInstanceId() string
func (*ReportPullRequestRequest) GetNumber ¶
func (x *ReportPullRequestRequest) GetNumber() int64
func (*ReportPullRequestRequest) GetObservedAt ¶
func (x *ReportPullRequestRequest) GetObservedAt() *timestamppb.Timestamp
func (*ReportPullRequestRequest) GetProvider ¶
func (x *ReportPullRequestRequest) GetProvider() string
func (*ReportPullRequestRequest) GetRepository ¶
func (x *ReportPullRequestRequest) GetRepository() string
func (*ReportPullRequestRequest) GetUrl ¶
func (x *ReportPullRequestRequest) GetUrl() string
func (*ReportPullRequestRequest) ProtoMessage ¶
func (*ReportPullRequestRequest) ProtoMessage()
func (*ReportPullRequestRequest) ProtoReflect ¶
func (x *ReportPullRequestRequest) ProtoReflect() protoreflect.Message
func (*ReportPullRequestRequest) Reset ¶
func (x *ReportPullRequestRequest) Reset()
func (*ReportPullRequestRequest) String ¶
func (x *ReportPullRequestRequest) String() string
type ReportPullRequestResponse ¶
type ReportPullRequestResponse struct {
PullRequestId string `protobuf:"bytes,1,opt,name=pull_request_id,json=pullRequestId,proto3" json:"pull_request_id,omitempty"`
// False if a record for the URL already existed.
Created bool `protobuf:"varint,2,opt,name=created,proto3" json:"created,omitempty"`
// contains filtered or unexported fields
}
func (*ReportPullRequestResponse) Descriptor
deprecated
func (*ReportPullRequestResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReportPullRequestResponse.ProtoReflect.Descriptor instead.
func (*ReportPullRequestResponse) GetCreated ¶
func (x *ReportPullRequestResponse) GetCreated() bool
func (*ReportPullRequestResponse) GetPullRequestId ¶
func (x *ReportPullRequestResponse) GetPullRequestId() string
func (*ReportPullRequestResponse) ProtoMessage ¶
func (*ReportPullRequestResponse) ProtoMessage()
func (*ReportPullRequestResponse) ProtoReflect ¶
func (x *ReportPullRequestResponse) ProtoReflect() protoreflect.Message
func (*ReportPullRequestResponse) Reset ¶
func (x *ReportPullRequestResponse) Reset()
func (*ReportPullRequestResponse) String ¶
func (x *ReportPullRequestResponse) String() string
type ReportSnapshotRequest ¶
type ReportSnapshotRequest struct {
SnapshotId string `protobuf:"bytes,1,opt,name=snapshot_id,json=snapshotId,proto3" json:"snapshot_id,omitempty"`
InstanceId string `protobuf:"bytes,2,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
State SnapshotState `protobuf:"varint,3,opt,name=state,proto3,enum=devbox.v1.SnapshotState" json:"state,omitempty"`
Snapshot *SnapshotRef `protobuf:"bytes,4,opt,name=snapshot,proto3" json:"snapshot,omitempty"`
SizeBytes int64 `protobuf:"varint,5,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"`
Error *ErrorDetail `protobuf:"bytes,6,opt,name=error,proto3" json:"error,omitempty"`
CompletedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=completed_at,json=completedAt,proto3" json:"completed_at,omitempty"`
// contains filtered or unexported fields
}
func (*ReportSnapshotRequest) Descriptor
deprecated
func (*ReportSnapshotRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReportSnapshotRequest.ProtoReflect.Descriptor instead.
func (*ReportSnapshotRequest) GetCompletedAt ¶
func (x *ReportSnapshotRequest) GetCompletedAt() *timestamppb.Timestamp
func (*ReportSnapshotRequest) GetError ¶
func (x *ReportSnapshotRequest) GetError() *ErrorDetail
func (*ReportSnapshotRequest) GetInstanceId ¶
func (x *ReportSnapshotRequest) GetInstanceId() string
func (*ReportSnapshotRequest) GetSizeBytes ¶
func (x *ReportSnapshotRequest) GetSizeBytes() int64
func (*ReportSnapshotRequest) GetSnapshot ¶
func (x *ReportSnapshotRequest) GetSnapshot() *SnapshotRef
func (*ReportSnapshotRequest) GetSnapshotId ¶
func (x *ReportSnapshotRequest) GetSnapshotId() string
func (*ReportSnapshotRequest) GetState ¶
func (x *ReportSnapshotRequest) GetState() SnapshotState
func (*ReportSnapshotRequest) ProtoMessage ¶
func (*ReportSnapshotRequest) ProtoMessage()
func (*ReportSnapshotRequest) ProtoReflect ¶
func (x *ReportSnapshotRequest) ProtoReflect() protoreflect.Message
func (*ReportSnapshotRequest) Reset ¶
func (x *ReportSnapshotRequest) Reset()
func (*ReportSnapshotRequest) String ¶
func (x *ReportSnapshotRequest) String() string
type ReportSnapshotResponse ¶
type ReportSnapshotResponse struct {
// contains filtered or unexported fields
}
func (*ReportSnapshotResponse) Descriptor
deprecated
func (*ReportSnapshotResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReportSnapshotResponse.ProtoReflect.Descriptor instead.
func (*ReportSnapshotResponse) ProtoMessage ¶
func (*ReportSnapshotResponse) ProtoMessage()
func (*ReportSnapshotResponse) ProtoReflect ¶
func (x *ReportSnapshotResponse) ProtoReflect() protoreflect.Message
func (*ReportSnapshotResponse) Reset ¶
func (x *ReportSnapshotResponse) Reset()
func (*ReportSnapshotResponse) String ¶
func (x *ReportSnapshotResponse) String() string
type RepositoryChanges ¶
type RepositoryChanges struct {
Checkout *Checkout `protobuf:"bytes,1,opt,name=checkout,proto3" json:"checkout,omitempty"`
BaseRef string `protobuf:"bytes,2,opt,name=base_ref,json=baseRef,proto3" json:"base_ref,omitempty"`
BaseSha string `protobuf:"bytes,3,opt,name=base_sha,json=baseSha,proto3" json:"base_sha,omitempty"`
Files []*FileChange `protobuf:"bytes,4,rep,name=files,proto3" json:"files,omitempty"`
Additions int32 `protobuf:"varint,5,opt,name=additions,proto3" json:"additions,omitempty"`
Deletions int32 `protobuf:"varint,6,opt,name=deletions,proto3" json:"deletions,omitempty"`
// contains filtered or unexported fields
}
func (*RepositoryChanges) Descriptor
deprecated
func (*RepositoryChanges) Descriptor() ([]byte, []int)
Deprecated: Use RepositoryChanges.ProtoReflect.Descriptor instead.
func (*RepositoryChanges) GetAdditions ¶
func (x *RepositoryChanges) GetAdditions() int32
func (*RepositoryChanges) GetBaseRef ¶
func (x *RepositoryChanges) GetBaseRef() string
func (*RepositoryChanges) GetBaseSha ¶
func (x *RepositoryChanges) GetBaseSha() string
func (*RepositoryChanges) GetCheckout ¶
func (x *RepositoryChanges) GetCheckout() *Checkout
func (*RepositoryChanges) GetDeletions ¶
func (x *RepositoryChanges) GetDeletions() int32
func (*RepositoryChanges) GetFiles ¶
func (x *RepositoryChanges) GetFiles() []*FileChange
func (*RepositoryChanges) ProtoMessage ¶
func (*RepositoryChanges) ProtoMessage()
func (*RepositoryChanges) ProtoReflect ¶
func (x *RepositoryChanges) ProtoReflect() protoreflect.Message
func (*RepositoryChanges) Reset ¶
func (x *RepositoryChanges) Reset()
func (*RepositoryChanges) String ¶
func (x *RepositoryChanges) String() string
type RepositorySpec ¶
type RepositorySpec struct {
// Clone URL, normalized to https (as `Git.normalize_url`), e.g. https://github.com/pluralsh/console.git.
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
// Checkout directory name under `~`. Empty means the daemon applies the naming rule: `<repo>`, or
// `<owner>-<repo>` on a collision.
Directory string `protobuf:"bytes,2,opt,name=directory,proto3" json:"directory,omitempty"`
// Branch to check out. Empty means the remote's default branch.
Branch string `protobuf:"bytes,3,opt,name=branch,proto3" json:"branch,omitempty"`
// Human description from console's repository metadata, used to seed `Project.md`.
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
// contains filtered or unexported fields
}
RepositorySpec is a repository to check out at `~/<repo>` (section 4.2b).
func (*RepositorySpec) Descriptor
deprecated
func (*RepositorySpec) Descriptor() ([]byte, []int)
Deprecated: Use RepositorySpec.ProtoReflect.Descriptor instead.
func (*RepositorySpec) GetBranch ¶
func (x *RepositorySpec) GetBranch() string
func (*RepositorySpec) GetDescription ¶
func (x *RepositorySpec) GetDescription() string
func (*RepositorySpec) GetDirectory ¶
func (x *RepositorySpec) GetDirectory() string
func (*RepositorySpec) GetUrl ¶
func (x *RepositorySpec) GetUrl() string
func (*RepositorySpec) ProtoMessage ¶
func (*RepositorySpec) ProtoMessage()
func (*RepositorySpec) ProtoReflect ¶
func (x *RepositorySpec) ProtoReflect() protoreflect.Message
func (*RepositorySpec) Reset ¶
func (x *RepositorySpec) Reset()
func (*RepositorySpec) String ¶
func (x *RepositorySpec) String() string
type ResizeTerminalRequest ¶
type ResizeTerminalRequest struct {
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
TerminalId string `protobuf:"bytes,2,opt,name=terminal_id,json=terminalId,proto3" json:"terminal_id,omitempty"`
Cols int32 `protobuf:"varint,3,opt,name=cols,proto3" json:"cols,omitempty"`
Rows int32 `protobuf:"varint,4,opt,name=rows,proto3" json:"rows,omitempty"`
// contains filtered or unexported fields
}
func (*ResizeTerminalRequest) Descriptor
deprecated
func (*ResizeTerminalRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResizeTerminalRequest.ProtoReflect.Descriptor instead.
func (*ResizeTerminalRequest) GetCols ¶
func (x *ResizeTerminalRequest) GetCols() int32
func (*ResizeTerminalRequest) GetInstanceId ¶
func (x *ResizeTerminalRequest) GetInstanceId() string
func (*ResizeTerminalRequest) GetRows ¶
func (x *ResizeTerminalRequest) GetRows() int32
func (*ResizeTerminalRequest) GetTerminalId ¶
func (x *ResizeTerminalRequest) GetTerminalId() string
func (*ResizeTerminalRequest) ProtoMessage ¶
func (*ResizeTerminalRequest) ProtoMessage()
func (*ResizeTerminalRequest) ProtoReflect ¶
func (x *ResizeTerminalRequest) ProtoReflect() protoreflect.Message
func (*ResizeTerminalRequest) Reset ¶
func (x *ResizeTerminalRequest) Reset()
func (*ResizeTerminalRequest) String ¶
func (x *ResizeTerminalRequest) String() string
type ResourceLink ¶
type ResourceLink struct {
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
MimeType string `protobuf:"bytes,5,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
Size *int64 `protobuf:"varint,6,opt,name=size,proto3,oneof" json:"size,omitempty"`
Annotations *Annotations `protobuf:"bytes,7,opt,name=annotations,proto3" json:"annotations,omitempty"`
Meta *structpb.Struct `protobuf:"bytes,8,opt,name=meta,proto3" json:"meta,omitempty"`
// contains filtered or unexported fields
}
func (*ResourceLink) Descriptor
deprecated
func (*ResourceLink) Descriptor() ([]byte, []int)
Deprecated: Use ResourceLink.ProtoReflect.Descriptor instead.
func (*ResourceLink) GetAnnotations ¶
func (x *ResourceLink) GetAnnotations() *Annotations
func (*ResourceLink) GetDescription ¶
func (x *ResourceLink) GetDescription() string
func (*ResourceLink) GetMeta ¶
func (x *ResourceLink) GetMeta() *structpb.Struct
func (*ResourceLink) GetMimeType ¶
func (x *ResourceLink) GetMimeType() string
func (*ResourceLink) GetName ¶
func (x *ResourceLink) GetName() string
func (*ResourceLink) GetSize ¶
func (x *ResourceLink) GetSize() int64
func (*ResourceLink) GetTitle ¶
func (x *ResourceLink) GetTitle() string
func (*ResourceLink) GetUri ¶
func (x *ResourceLink) GetUri() string
func (*ResourceLink) ProtoMessage ¶
func (*ResourceLink) ProtoMessage()
func (*ResourceLink) ProtoReflect ¶
func (x *ResourceLink) ProtoReflect() protoreflect.Message
func (*ResourceLink) Reset ¶
func (x *ResourceLink) Reset()
func (*ResourceLink) String ¶
func (x *ResourceLink) String() string
type RespondInteractionRequest ¶
type RespondInteractionRequest struct {
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
InteractionId string `protobuf:"bytes,2,opt,name=interaction_id,json=interactionId,proto3" json:"interaction_id,omitempty"`
SessionId string `protobuf:"bytes,3,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
Response *InteractionResponse `protobuf:"bytes,4,opt,name=response,proto3" json:"response,omitempty"`
AnsweredBy *Principal `protobuf:"bytes,5,opt,name=answered_by,json=answeredBy,proto3" json:"answered_by,omitempty"`
ResumeIfSuspended bool `protobuf:"varint,6,opt,name=resume_if_suspended,json=resumeIfSuspended,proto3" json:"resume_if_suspended,omitempty"`
// contains filtered or unexported fields
}
func (*RespondInteractionRequest) Descriptor
deprecated
func (*RespondInteractionRequest) Descriptor() ([]byte, []int)
Deprecated: Use RespondInteractionRequest.ProtoReflect.Descriptor instead.
func (*RespondInteractionRequest) GetAnsweredBy ¶
func (x *RespondInteractionRequest) GetAnsweredBy() *Principal
func (*RespondInteractionRequest) GetInstanceId ¶
func (x *RespondInteractionRequest) GetInstanceId() string
func (*RespondInteractionRequest) GetInteractionId ¶
func (x *RespondInteractionRequest) GetInteractionId() string
func (*RespondInteractionRequest) GetResponse ¶
func (x *RespondInteractionRequest) GetResponse() *InteractionResponse
func (*RespondInteractionRequest) GetResumeIfSuspended ¶
func (x *RespondInteractionRequest) GetResumeIfSuspended() bool
func (*RespondInteractionRequest) GetSessionId ¶
func (x *RespondInteractionRequest) GetSessionId() string
func (*RespondInteractionRequest) ProtoMessage ¶
func (*RespondInteractionRequest) ProtoMessage()
func (*RespondInteractionRequest) ProtoReflect ¶
func (x *RespondInteractionRequest) ProtoReflect() protoreflect.Message
func (*RespondInteractionRequest) Reset ¶
func (x *RespondInteractionRequest) Reset()
func (*RespondInteractionRequest) String ¶
func (x *RespondInteractionRequest) String() string
type RespondInteractionResponse ¶
type RespondInteractionResponse struct {
Interaction *Interaction `protobuf:"bytes,1,opt,name=interaction,proto3" json:"interaction,omitempty"`
// contains filtered or unexported fields
}
func (*RespondInteractionResponse) Descriptor
deprecated
func (*RespondInteractionResponse) Descriptor() ([]byte, []int)
Deprecated: Use RespondInteractionResponse.ProtoReflect.Descriptor instead.
func (*RespondInteractionResponse) GetInteraction ¶
func (x *RespondInteractionResponse) GetInteraction() *Interaction
func (*RespondInteractionResponse) ProtoMessage ¶
func (*RespondInteractionResponse) ProtoMessage()
func (*RespondInteractionResponse) ProtoReflect ¶
func (x *RespondInteractionResponse) ProtoReflect() protoreflect.Message
func (*RespondInteractionResponse) Reset ¶
func (x *RespondInteractionResponse) Reset()
func (*RespondInteractionResponse) String ¶
func (x *RespondInteractionResponse) String() string
type ResumeThreadRequest ¶
type ResumeThreadRequest struct {
Thread *ThreadRef `protobuf:"bytes,1,opt,name=thread,proto3" json:"thread,omitempty"`
// Force `replayFrom: start` even if the transcript looks complete.
Replay bool `protobuf:"varint,2,opt,name=replay,proto3" json:"replay,omitempty"`
RequestedBy *Principal `protobuf:"bytes,3,opt,name=requested_by,json=requestedBy,proto3" json:"requested_by,omitempty"`
ResumeIfSuspended bool `protobuf:"varint,4,opt,name=resume_if_suspended,json=resumeIfSuspended,proto3" json:"resume_if_suspended,omitempty"`
// contains filtered or unexported fields
}
func (*ResumeThreadRequest) Descriptor
deprecated
func (*ResumeThreadRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResumeThreadRequest.ProtoReflect.Descriptor instead.
func (*ResumeThreadRequest) GetReplay ¶
func (x *ResumeThreadRequest) GetReplay() bool
func (*ResumeThreadRequest) GetRequestedBy ¶
func (x *ResumeThreadRequest) GetRequestedBy() *Principal
func (*ResumeThreadRequest) GetResumeIfSuspended ¶
func (x *ResumeThreadRequest) GetResumeIfSuspended() bool
func (*ResumeThreadRequest) GetThread ¶
func (x *ResumeThreadRequest) GetThread() *ThreadRef
func (*ResumeThreadRequest) ProtoMessage ¶
func (*ResumeThreadRequest) ProtoMessage()
func (*ResumeThreadRequest) ProtoReflect ¶
func (x *ResumeThreadRequest) ProtoReflect() protoreflect.Message
func (*ResumeThreadRequest) Reset ¶
func (x *ResumeThreadRequest) Reset()
func (*ResumeThreadRequest) String ¶
func (x *ResumeThreadRequest) String() string
type Review ¶
type Review struct {
// allow, deny or ask.
Verdict string `protobuf:"bytes,1,opt,name=verdict,proto3" json:"verdict,omitempty"`
// The verdict's probability, 0 to 1.
Confidence float64 `protobuf:"fixed64,2,opt,name=confidence,proto3" json:"confidence,omitempty"`
// The most likely risk: none, destructive, exfiltration, credentials, out_of_scope or external.
Risk string `protobuf:"bytes,3,opt,name=risk,proto3" json:"risk,omitempty"`
// The decision model that answered.
Model string `protobuf:"bytes,4,opt,name=model,proto3" json:"model,omitempty"`
// Why the request still went to a human: low confidence, a deny verdict, or the reviewer failing.
Escalation string `protobuf:"bytes,5,opt,name=escalation,proto3" json:"escalation,omitempty"`
// contains filtered or unexported fields
}
Review is the daemon reviewer's verdict on a permission request.
func (*Review) Descriptor
deprecated
func (*Review) GetConfidence ¶
func (*Review) GetEscalation ¶
func (*Review) GetVerdict ¶
func (*Review) ProtoMessage ¶
func (*Review) ProtoMessage()
func (*Review) ProtoReflect ¶
func (x *Review) ProtoReflect() protoreflect.Message
type SandboxCredentialsClient ¶
type SandboxCredentialsClient interface {
// GetSandboxCredential returns the current OIDC token or Codex credential (kinds OIDC and CODEX only).
GetSandboxCredential(ctx context.Context, in *GetSandboxCredentialRequest, opts ...grpc.CallOption) (*GetSandboxCredentialResponse, error)
// UpdateCodexBundle writes back a bundle Codex refreshed; relayed to Ingest.UpdateAgentCredential.
UpdateCodexBundle(ctx context.Context, in *UpdateCodexBundleRequest, opts ...grpc.CallOption) (*UpdateCodexBundleResponse, error)
}
SandboxCredentialsClient is the client API for SandboxCredentials service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
SandboxCredentials is served by devbox-gateway to devbox-daemon through atenet-egress. The caller's instance comes from the actor JWT that egress injects; requests never name an instance.
func NewSandboxCredentialsClient ¶
func NewSandboxCredentialsClient(cc grpc.ClientConnInterface) SandboxCredentialsClient
type SandboxCredentialsServer ¶
type SandboxCredentialsServer interface {
// GetSandboxCredential returns the current OIDC token or Codex credential (kinds OIDC and CODEX only).
GetSandboxCredential(context.Context, *GetSandboxCredentialRequest) (*GetSandboxCredentialResponse, error)
// UpdateCodexBundle writes back a bundle Codex refreshed; relayed to Ingest.UpdateAgentCredential.
UpdateCodexBundle(context.Context, *UpdateCodexBundleRequest) (*UpdateCodexBundleResponse, error)
// contains filtered or unexported methods
}
SandboxCredentialsServer is the server API for SandboxCredentials service. All implementations must embed UnimplementedSandboxCredentialsServer for forward compatibility.
SandboxCredentials is served by devbox-gateway to devbox-daemon through atenet-egress. The caller's instance comes from the actor JWT that egress injects; requests never name an instance.
type Session ¶
type Session struct {
// Console thread ID. Empty for subagents and for importable sessions not yet imported.
ThreadId string `protobuf:"bytes,1,opt,name=thread_id,json=threadId,proto3" json:"thread_id,omitempty"`
// ACP session ID. Empty while a WAITING thread hasn't reached `session/new`.
SessionId string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
Kind SessionKind `protobuf:"varint,3,opt,name=kind,proto3,enum=devbox.v1.SessionKind" json:"kind,omitempty"`
ParentSessionId string `protobuf:"bytes,4,opt,name=parent_session_id,json=parentSessionId,proto3" json:"parent_session_id,omitempty"`
Agent AgentType `protobuf:"varint,5,opt,name=agent,proto3,enum=devbox.v1.AgentType" json:"agent,omitempty"`
// Agent-owned title from `session_info_update`.
Title string `protobuf:"bytes,6,opt,name=title,proto3" json:"title,omitempty"`
// ~ or ~/<repo> or ~/.threads/<id>/<repo> (absolute path).
Cwd string `protobuf:"bytes,7,opt,name=cwd,proto3" json:"cwd,omitempty"`
WorktreeRepos []string `protobuf:"bytes,8,rep,name=worktree_repos,json=worktreeRepos,proto3" json:"worktree_repos,omitempty"`
Status ThreadStatus `protobuf:"varint,9,opt,name=status,proto3,enum=devbox.v1.ThreadStatus" json:"status,omitempty"`
CreatedBy *Principal `protobuf:"bytes,10,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
LastActivityAt *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=last_activity_at,json=lastActivityAt,proto3" json:"last_activity_at,omitempty"`
EntityCount uint64 `protobuf:"varint,13,opt,name=entity_count,json=entityCount,proto3" json:"entity_count,omitempty"`
Foreground *ForegroundState `protobuf:"bytes,14,opt,name=foreground,proto3" json:"foreground,omitempty"`
ConfigOptions []*ConfigOption `protobuf:"bytes,15,rep,name=config_options,json=configOptions,proto3" json:"config_options,omitempty"`
AvailableCommands []*AvailableCommand `protobuf:"bytes,16,rep,name=available_commands,json=availableCommands,proto3" json:"available_commands,omitempty"`
Usage *Usage `protobuf:"bytes,17,opt,name=usage,proto3" json:"usage,omitempty"`
// The session was started outside console (session/list) and imported.
Imported bool `protobuf:"varint,18,opt,name=imported,proto3" json:"imported,omitempty"`
// Monotonic per (instance, session); UpsertInstanceIndex applies a row only when newer than the stored one.
Revision uint64 `protobuf:"varint,19,opt,name=revision,proto3" json:"revision,omitempty"`
Meta *structpb.Struct `protobuf:"bytes,20,opt,name=meta,proto3" json:"meta,omitempty"`
// Prompts held for the thread, in the order they'll run. Threads only.
QueuedPrompts []*QueuedPrompt `protobuf:"bytes,21,rep,name=queued_prompts,json=queuedPrompts,proto3" json:"queued_prompts,omitempty"`
// For subagents, the parent's tool call that spawned it, when the agent says which.
ParentToolCallId string `protobuf:"bytes,22,opt,name=parent_tool_call_id,json=parentToolCallId,proto3" json:"parent_tool_call_id,omitempty"`
// contains filtered or unexported fields
}
Session is one row of devbox_instance_sessions. It never carries transcript content.
func (*Session) Descriptor
deprecated
func (*Session) GetAvailableCommands ¶
func (x *Session) GetAvailableCommands() []*AvailableCommand
func (*Session) GetConfigOptions ¶
func (x *Session) GetConfigOptions() []*ConfigOption
func (*Session) GetCreatedAt ¶
func (x *Session) GetCreatedAt() *timestamppb.Timestamp
func (*Session) GetCreatedBy ¶
func (*Session) GetEntityCount ¶
func (*Session) GetForeground ¶
func (x *Session) GetForeground() *ForegroundState
func (*Session) GetImported ¶
func (*Session) GetKind ¶
func (x *Session) GetKind() SessionKind
func (*Session) GetLastActivityAt ¶
func (x *Session) GetLastActivityAt() *timestamppb.Timestamp
func (*Session) GetParentSessionId ¶
func (*Session) GetParentToolCallId ¶
func (*Session) GetQueuedPrompts ¶
func (x *Session) GetQueuedPrompts() []*QueuedPrompt
func (*Session) GetRevision ¶
func (*Session) GetSessionId ¶
func (*Session) GetStatus ¶
func (x *Session) GetStatus() ThreadStatus
func (*Session) GetThreadId ¶
func (*Session) GetWorktreeRepos ¶
func (*Session) ProtoMessage ¶
func (*Session) ProtoMessage()
func (*Session) ProtoReflect ¶
func (x *Session) ProtoReflect() protoreflect.Message
type SessionKind ¶
type SessionKind int32
const ( SessionKind_SESSION_KIND_UNSPECIFIED SessionKind = 0 SessionKind_SESSION_KIND_THREAD SessionKind = 1 SessionKind_SESSION_KIND_SUBAGENT SessionKind = 2 )
func (SessionKind) Descriptor ¶
func (SessionKind) Descriptor() protoreflect.EnumDescriptor
func (SessionKind) Enum ¶
func (x SessionKind) Enum() *SessionKind
func (SessionKind) EnumDescriptor
deprecated
func (SessionKind) EnumDescriptor() ([]byte, []int)
Deprecated: Use SessionKind.Descriptor instead.
func (SessionKind) Number ¶
func (x SessionKind) Number() protoreflect.EnumNumber
func (SessionKind) String ¶
func (x SessionKind) String() string
func (SessionKind) Type ¶
func (SessionKind) Type() protoreflect.EnumType
type SessionMessageEntity ¶
type SessionMessageEntity struct {
MessageId string `protobuf:"bytes,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
FromSessionId string `protobuf:"bytes,2,opt,name=from_session_id,json=fromSessionId,proto3" json:"from_session_id,omitempty"`
ToSessionId string `protobuf:"bytes,3,opt,name=to_session_id,json=toSessionId,proto3" json:"to_session_id,omitempty"`
Content []*ContentBlock `protobuf:"bytes,4,rep,name=content,proto3" json:"content,omitempty"`
Meta *structpb.Struct `protobuf:"bytes,5,opt,name=meta,proto3" json:"meta,omitempty"`
// contains filtered or unexported fields
}
SessionMessageEntity links messages between a parent and a child session (subagent RFD `session_message`).
func (*SessionMessageEntity) Descriptor
deprecated
func (*SessionMessageEntity) Descriptor() ([]byte, []int)
Deprecated: Use SessionMessageEntity.ProtoReflect.Descriptor instead.
func (*SessionMessageEntity) GetContent ¶
func (x *SessionMessageEntity) GetContent() []*ContentBlock
func (*SessionMessageEntity) GetFromSessionId ¶
func (x *SessionMessageEntity) GetFromSessionId() string
func (*SessionMessageEntity) GetMessageId ¶
func (x *SessionMessageEntity) GetMessageId() string
func (*SessionMessageEntity) GetMeta ¶
func (x *SessionMessageEntity) GetMeta() *structpb.Struct
func (*SessionMessageEntity) GetToSessionId ¶
func (x *SessionMessageEntity) GetToSessionId() string
func (*SessionMessageEntity) ProtoMessage ¶
func (*SessionMessageEntity) ProtoMessage()
func (*SessionMessageEntity) ProtoReflect ¶
func (x *SessionMessageEntity) ProtoReflect() protoreflect.Message
func (*SessionMessageEntity) Reset ¶
func (x *SessionMessageEntity) Reset()
func (*SessionMessageEntity) String ¶
func (x *SessionMessageEntity) String() string
type SetAgentBillingRequest ¶
type SetAgentBillingRequest struct {
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
Agent *AgentLaunch `protobuf:"bytes,2,opt,name=agent,proto3" json:"agent,omitempty"`
RequestedBy *Principal `protobuf:"bytes,3,opt,name=requested_by,json=requestedBy,proto3" json:"requested_by,omitempty"`
// contains filtered or unexported fields
}
func (*SetAgentBillingRequest) Descriptor
deprecated
func (*SetAgentBillingRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetAgentBillingRequest.ProtoReflect.Descriptor instead.
func (*SetAgentBillingRequest) GetAgent ¶
func (x *SetAgentBillingRequest) GetAgent() *AgentLaunch
func (*SetAgentBillingRequest) GetInstanceId ¶
func (x *SetAgentBillingRequest) GetInstanceId() string
func (*SetAgentBillingRequest) GetRequestedBy ¶
func (x *SetAgentBillingRequest) GetRequestedBy() *Principal
func (*SetAgentBillingRequest) ProtoMessage ¶
func (*SetAgentBillingRequest) ProtoMessage()
func (*SetAgentBillingRequest) ProtoReflect ¶
func (x *SetAgentBillingRequest) ProtoReflect() protoreflect.Message
func (*SetAgentBillingRequest) Reset ¶
func (x *SetAgentBillingRequest) Reset()
func (*SetAgentBillingRequest) String ¶
func (x *SetAgentBillingRequest) String() string
type SetAgentBillingResponse ¶
type SetAgentBillingResponse struct {
Connection *AgentConnection `protobuf:"bytes,1,opt,name=connection,proto3" json:"connection,omitempty"`
// Threads resumed on the restarted connection.
ThreadIds []string `protobuf:"bytes,2,rep,name=thread_ids,json=threadIds,proto3" json:"thread_ids,omitempty"`
// contains filtered or unexported fields
}
func (*SetAgentBillingResponse) Descriptor
deprecated
func (*SetAgentBillingResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetAgentBillingResponse.ProtoReflect.Descriptor instead.
func (*SetAgentBillingResponse) GetConnection ¶
func (x *SetAgentBillingResponse) GetConnection() *AgentConnection
func (*SetAgentBillingResponse) GetThreadIds ¶
func (x *SetAgentBillingResponse) GetThreadIds() []string
func (*SetAgentBillingResponse) ProtoMessage ¶
func (*SetAgentBillingResponse) ProtoMessage()
func (*SetAgentBillingResponse) ProtoReflect ¶
func (x *SetAgentBillingResponse) ProtoReflect() protoreflect.Message
func (*SetAgentBillingResponse) Reset ¶
func (x *SetAgentBillingResponse) Reset()
func (*SetAgentBillingResponse) String ¶
func (x *SetAgentBillingResponse) String() string
type SetInstanceLeasesRequest ¶
type SetInstanceLeasesRequest struct {
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
// The full set, replacing any previous one.
Leases []*Lease `protobuf:"bytes,2,rep,name=leases,proto3" json:"leases,omitempty"`
// Monotonic per instance; older generations are ignored.
Generation uint64 `protobuf:"varint,3,opt,name=generation,proto3" json:"generation,omitempty"`
// contains filtered or unexported fields
}
func (*SetInstanceLeasesRequest) Descriptor
deprecated
func (*SetInstanceLeasesRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetInstanceLeasesRequest.ProtoReflect.Descriptor instead.
func (*SetInstanceLeasesRequest) GetGeneration ¶
func (x *SetInstanceLeasesRequest) GetGeneration() uint64
func (*SetInstanceLeasesRequest) GetInstanceId ¶
func (x *SetInstanceLeasesRequest) GetInstanceId() string
func (*SetInstanceLeasesRequest) GetLeases ¶
func (x *SetInstanceLeasesRequest) GetLeases() []*Lease
func (*SetInstanceLeasesRequest) ProtoMessage ¶
func (*SetInstanceLeasesRequest) ProtoMessage()
func (*SetInstanceLeasesRequest) ProtoReflect ¶
func (x *SetInstanceLeasesRequest) ProtoReflect() protoreflect.Message
func (*SetInstanceLeasesRequest) Reset ¶
func (x *SetInstanceLeasesRequest) Reset()
func (*SetInstanceLeasesRequest) String ¶
func (x *SetInstanceLeasesRequest) String() string
type SetInstanceLeasesResponse ¶
type SetInstanceLeasesResponse struct {
// Leases as applied, with deferrals clamped to maxDeferral.
Leases []*Lease `protobuf:"bytes,1,rep,name=leases,proto3" json:"leases,omitempty"`
Idle *IdleState `protobuf:"bytes,2,opt,name=idle,proto3" json:"idle,omitempty"`
// contains filtered or unexported fields
}
func (*SetInstanceLeasesResponse) Descriptor
deprecated
func (*SetInstanceLeasesResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetInstanceLeasesResponse.ProtoReflect.Descriptor instead.
func (*SetInstanceLeasesResponse) GetIdle ¶
func (x *SetInstanceLeasesResponse) GetIdle() *IdleState
func (*SetInstanceLeasesResponse) GetLeases ¶
func (x *SetInstanceLeasesResponse) GetLeases() []*Lease
func (*SetInstanceLeasesResponse) ProtoMessage ¶
func (*SetInstanceLeasesResponse) ProtoMessage()
func (*SetInstanceLeasesResponse) ProtoReflect ¶
func (x *SetInstanceLeasesResponse) ProtoReflect() protoreflect.Message
func (*SetInstanceLeasesResponse) Reset ¶
func (x *SetInstanceLeasesResponse) Reset()
func (*SetInstanceLeasesResponse) String ¶
func (x *SetInstanceLeasesResponse) String() string
type SetThreadConfigOptionRequest ¶
type SetThreadConfigOptionRequest struct {
Thread *ThreadRef `protobuf:"bytes,1,opt,name=thread,proto3" json:"thread,omitempty"`
Option *ConfigOptionSetting `protobuf:"bytes,2,opt,name=option,proto3" json:"option,omitempty"`
RequestedBy *Principal `protobuf:"bytes,3,opt,name=requested_by,json=requestedBy,proto3" json:"requested_by,omitempty"`
ResumeIfSuspended bool `protobuf:"varint,4,opt,name=resume_if_suspended,json=resumeIfSuspended,proto3" json:"resume_if_suspended,omitempty"`
// contains filtered or unexported fields
}
func (*SetThreadConfigOptionRequest) Descriptor
deprecated
func (*SetThreadConfigOptionRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetThreadConfigOptionRequest.ProtoReflect.Descriptor instead.
func (*SetThreadConfigOptionRequest) GetOption ¶
func (x *SetThreadConfigOptionRequest) GetOption() *ConfigOptionSetting
func (*SetThreadConfigOptionRequest) GetRequestedBy ¶
func (x *SetThreadConfigOptionRequest) GetRequestedBy() *Principal
func (*SetThreadConfigOptionRequest) GetResumeIfSuspended ¶
func (x *SetThreadConfigOptionRequest) GetResumeIfSuspended() bool
func (*SetThreadConfigOptionRequest) GetThread ¶
func (x *SetThreadConfigOptionRequest) GetThread() *ThreadRef
func (*SetThreadConfigOptionRequest) ProtoMessage ¶
func (*SetThreadConfigOptionRequest) ProtoMessage()
func (*SetThreadConfigOptionRequest) ProtoReflect ¶
func (x *SetThreadConfigOptionRequest) ProtoReflect() protoreflect.Message
func (*SetThreadConfigOptionRequest) Reset ¶
func (x *SetThreadConfigOptionRequest) Reset()
func (*SetThreadConfigOptionRequest) String ¶
func (x *SetThreadConfigOptionRequest) String() string
type SetThreadConfigOptionResponse ¶
type SetThreadConfigOptionResponse struct {
// The agent's reported options after the change (which may differ from the request).
ConfigOptions []*ConfigOption `protobuf:"bytes,1,rep,name=config_options,json=configOptions,proto3" json:"config_options,omitempty"`
// contains filtered or unexported fields
}
func (*SetThreadConfigOptionResponse) Descriptor
deprecated
func (*SetThreadConfigOptionResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetThreadConfigOptionResponse.ProtoReflect.Descriptor instead.
func (*SetThreadConfigOptionResponse) GetConfigOptions ¶
func (x *SetThreadConfigOptionResponse) GetConfigOptions() []*ConfigOption
func (*SetThreadConfigOptionResponse) ProtoMessage ¶
func (*SetThreadConfigOptionResponse) ProtoMessage()
func (*SetThreadConfigOptionResponse) ProtoReflect ¶
func (x *SetThreadConfigOptionResponse) ProtoReflect() protoreflect.Message
func (*SetThreadConfigOptionResponse) Reset ¶
func (x *SetThreadConfigOptionResponse) Reset()
func (*SetThreadConfigOptionResponse) String ¶
func (x *SetThreadConfigOptionResponse) String() string
type SnapshotFidelity ¶
type SnapshotFidelity int32
SnapshotFidelity says what a snapshot, or a restore from it, preserves.
const ( SnapshotFidelity_SNAPSHOT_FIDELITY_UNSPECIFIED SnapshotFidelity = 0 // Memory and filesystem: running processes are restored. SnapshotFidelity_SNAPSHOT_FIDELITY_MEMORY SnapshotFidelity = 1 // Filesystem only: the instance cold-boots (for example because the box's template changed since). SnapshotFidelity_SNAPSHOT_FIDELITY_FILESYSTEM SnapshotFidelity = 2 )
func (SnapshotFidelity) Descriptor ¶
func (SnapshotFidelity) Descriptor() protoreflect.EnumDescriptor
func (SnapshotFidelity) Enum ¶
func (x SnapshotFidelity) Enum() *SnapshotFidelity
func (SnapshotFidelity) EnumDescriptor
deprecated
func (SnapshotFidelity) EnumDescriptor() ([]byte, []int)
Deprecated: Use SnapshotFidelity.Descriptor instead.
func (SnapshotFidelity) Number ¶
func (x SnapshotFidelity) Number() protoreflect.EnumNumber
func (SnapshotFidelity) String ¶
func (x SnapshotFidelity) String() string
func (SnapshotFidelity) Type ¶
func (SnapshotFidelity) Type() protoreflect.EnumType
type SnapshotInstanceRequest ¶
type SnapshotInstanceRequest struct {
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
SnapshotId string `protobuf:"bytes,2,opt,name=snapshot_id,json=snapshotId,proto3" json:"snapshot_id,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
Fidelity SnapshotFidelity `protobuf:"varint,4,opt,name=fidelity,proto3,enum=devbox.v1.SnapshotFidelity" json:"fidelity,omitempty"`
// Named or workbench-shared snapshots outlive the owner's own suspend/resume: the daemon stops
// subscription-backed Codex processes before capturing memory (section 4.11).
RequestedBy *Principal `protobuf:"bytes,6,opt,name=requested_by,json=requestedBy,proto3" json:"requested_by,omitempty"`
// contains filtered or unexported fields
}
func (*SnapshotInstanceRequest) Descriptor
deprecated
func (*SnapshotInstanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use SnapshotInstanceRequest.ProtoReflect.Descriptor instead.
func (*SnapshotInstanceRequest) GetFidelity ¶
func (x *SnapshotInstanceRequest) GetFidelity() SnapshotFidelity
func (*SnapshotInstanceRequest) GetInstanceId ¶
func (x *SnapshotInstanceRequest) GetInstanceId() string
func (*SnapshotInstanceRequest) GetName ¶
func (x *SnapshotInstanceRequest) GetName() string
func (*SnapshotInstanceRequest) GetRequestedBy ¶
func (x *SnapshotInstanceRequest) GetRequestedBy() *Principal
func (*SnapshotInstanceRequest) GetShared ¶
func (x *SnapshotInstanceRequest) GetShared() bool
func (*SnapshotInstanceRequest) GetSnapshotId ¶
func (x *SnapshotInstanceRequest) GetSnapshotId() string
func (*SnapshotInstanceRequest) ProtoMessage ¶
func (*SnapshotInstanceRequest) ProtoMessage()
func (*SnapshotInstanceRequest) ProtoReflect ¶
func (x *SnapshotInstanceRequest) ProtoReflect() protoreflect.Message
func (*SnapshotInstanceRequest) Reset ¶
func (x *SnapshotInstanceRequest) Reset()
func (*SnapshotInstanceRequest) String ¶
func (x *SnapshotInstanceRequest) String() string
type SnapshotInstanceResponse ¶
type SnapshotInstanceResponse struct {
SnapshotId string `protobuf:"bytes,1,opt,name=snapshot_id,json=snapshotId,proto3" json:"snapshot_id,omitempty"`
Accepted bool `protobuf:"varint,2,opt,name=accepted,proto3" json:"accepted,omitempty"`
// contains filtered or unexported fields
}
func (*SnapshotInstanceResponse) Descriptor
deprecated
func (*SnapshotInstanceResponse) Descriptor() ([]byte, []int)
Deprecated: Use SnapshotInstanceResponse.ProtoReflect.Descriptor instead.
func (*SnapshotInstanceResponse) GetAccepted ¶
func (x *SnapshotInstanceResponse) GetAccepted() bool
func (*SnapshotInstanceResponse) GetSnapshotId ¶
func (x *SnapshotInstanceResponse) GetSnapshotId() string
func (*SnapshotInstanceResponse) ProtoMessage ¶
func (*SnapshotInstanceResponse) ProtoMessage()
func (*SnapshotInstanceResponse) ProtoReflect ¶
func (x *SnapshotInstanceResponse) ProtoReflect() protoreflect.Message
func (*SnapshotInstanceResponse) Reset ¶
func (x *SnapshotInstanceResponse) Reset()
func (*SnapshotInstanceResponse) String ¶
func (x *SnapshotInstanceResponse) String() string
type SnapshotRef ¶
type SnapshotRef struct {
SnapshotId string `protobuf:"bytes,1,opt,name=snapshot_id,json=snapshotId,proto3" json:"snapshot_id,omitempty"`
// Substrate tag reference.
Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"`
TemplateRevision int64 `protobuf:"varint,3,opt,name=template_revision,json=templateRevision,proto3" json:"template_revision,omitempty"`
Fidelity SnapshotFidelity `protobuf:"varint,4,opt,name=fidelity,proto3,enum=devbox.v1.SnapshotFidelity" json:"fidelity,omitempty"`
// contains filtered or unexported fields
}
func (*SnapshotRef) Descriptor
deprecated
func (*SnapshotRef) Descriptor() ([]byte, []int)
Deprecated: Use SnapshotRef.ProtoReflect.Descriptor instead.
func (*SnapshotRef) GetFidelity ¶
func (x *SnapshotRef) GetFidelity() SnapshotFidelity
func (*SnapshotRef) GetSnapshotId ¶
func (x *SnapshotRef) GetSnapshotId() string
func (*SnapshotRef) GetTag ¶
func (x *SnapshotRef) GetTag() string
func (*SnapshotRef) GetTemplateRevision ¶
func (x *SnapshotRef) GetTemplateRevision() int64
func (*SnapshotRef) ProtoMessage ¶
func (*SnapshotRef) ProtoMessage()
func (*SnapshotRef) ProtoReflect ¶
func (x *SnapshotRef) ProtoReflect() protoreflect.Message
func (*SnapshotRef) Reset ¶
func (x *SnapshotRef) Reset()
func (*SnapshotRef) String ¶
func (x *SnapshotRef) String() string
type SnapshotState ¶
type SnapshotState int32
const ( SnapshotState_SNAPSHOT_STATE_UNSPECIFIED SnapshotState = 0 SnapshotState_SNAPSHOT_STATE_SUCCEEDED SnapshotState = 1 SnapshotState_SNAPSHOT_STATE_FAILED SnapshotState = 2 )
func (SnapshotState) Descriptor ¶
func (SnapshotState) Descriptor() protoreflect.EnumDescriptor
func (SnapshotState) Enum ¶
func (x SnapshotState) Enum() *SnapshotState
func (SnapshotState) EnumDescriptor
deprecated
func (SnapshotState) EnumDescriptor() ([]byte, []int)
Deprecated: Use SnapshotState.Descriptor instead.
func (SnapshotState) Number ¶
func (x SnapshotState) Number() protoreflect.EnumNumber
func (SnapshotState) String ¶
func (x SnapshotState) String() string
func (SnapshotState) Type ¶
func (SnapshotState) Type() protoreflect.EnumType
type StartBrowserRequest ¶
type StartBrowserRequest struct {
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
Width int32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"`
Height int32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
// Optional URL to open.
Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"`
// contains filtered or unexported fields
}
func (*StartBrowserRequest) Descriptor
deprecated
func (*StartBrowserRequest) Descriptor() ([]byte, []int)
Deprecated: Use StartBrowserRequest.ProtoReflect.Descriptor instead.
func (*StartBrowserRequest) GetHeight ¶
func (x *StartBrowserRequest) GetHeight() int32
func (*StartBrowserRequest) GetInstanceId ¶
func (x *StartBrowserRequest) GetInstanceId() string
func (*StartBrowserRequest) GetUrl ¶
func (x *StartBrowserRequest) GetUrl() string
func (*StartBrowserRequest) GetWidth ¶
func (x *StartBrowserRequest) GetWidth() int32
func (*StartBrowserRequest) ProtoMessage ¶
func (*StartBrowserRequest) ProtoMessage()
func (*StartBrowserRequest) ProtoReflect ¶
func (x *StartBrowserRequest) ProtoReflect() protoreflect.Message
func (*StartBrowserRequest) Reset ¶
func (x *StartBrowserRequest) Reset()
func (*StartBrowserRequest) String ¶
func (x *StartBrowserRequest) String() string
type StartFromSnapshotRequest ¶
type StartFromSnapshotRequest struct {
Instance *CreateInstanceRequest `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
Snapshot *SnapshotRef `protobuf:"bytes,2,opt,name=snapshot,proto3" json:"snapshot,omitempty"`
// contains filtered or unexported fields
}
func (*StartFromSnapshotRequest) Descriptor
deprecated
func (*StartFromSnapshotRequest) Descriptor() ([]byte, []int)
Deprecated: Use StartFromSnapshotRequest.ProtoReflect.Descriptor instead.
func (*StartFromSnapshotRequest) GetInstance ¶
func (x *StartFromSnapshotRequest) GetInstance() *CreateInstanceRequest
func (*StartFromSnapshotRequest) GetSnapshot ¶
func (x *StartFromSnapshotRequest) GetSnapshot() *SnapshotRef
func (*StartFromSnapshotRequest) ProtoMessage ¶
func (*StartFromSnapshotRequest) ProtoMessage()
func (*StartFromSnapshotRequest) ProtoReflect ¶
func (x *StartFromSnapshotRequest) ProtoReflect() protoreflect.Message
func (*StartFromSnapshotRequest) Reset ¶
func (x *StartFromSnapshotRequest) Reset()
func (*StartFromSnapshotRequest) String ¶
func (x *StartFromSnapshotRequest) String() string
type StatFileRequest ¶
type StatFileRequest struct {
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
// contains filtered or unexported fields
}
func (*StatFileRequest) Descriptor
deprecated
func (*StatFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use StatFileRequest.ProtoReflect.Descriptor instead.
func (*StatFileRequest) GetInstanceId ¶
func (x *StatFileRequest) GetInstanceId() string
func (*StatFileRequest) GetPath ¶
func (x *StatFileRequest) GetPath() string
func (*StatFileRequest) ProtoMessage ¶
func (*StatFileRequest) ProtoMessage()
func (*StatFileRequest) ProtoReflect ¶
func (x *StatFileRequest) ProtoReflect() protoreflect.Message
func (*StatFileRequest) Reset ¶
func (x *StatFileRequest) Reset()
func (*StatFileRequest) String ¶
func (x *StatFileRequest) String() string
type StatFileResponse ¶
type StatFileResponse struct {
Entry *FileEntry `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"`
// contains filtered or unexported fields
}
func (*StatFileResponse) Descriptor
deprecated
func (*StatFileResponse) Descriptor() ([]byte, []int)
Deprecated: Use StatFileResponse.ProtoReflect.Descriptor instead.
func (*StatFileResponse) GetEntry ¶
func (x *StatFileResponse) GetEntry() *FileEntry
func (*StatFileResponse) ProtoMessage ¶
func (*StatFileResponse) ProtoMessage()
func (*StatFileResponse) ProtoReflect ¶
func (x *StatFileResponse) ProtoReflect() protoreflect.Message
func (*StatFileResponse) Reset ¶
func (x *StatFileResponse) Reset()
func (*StatFileResponse) String ¶
func (x *StatFileResponse) String() string
type StopBrowserRequest ¶
type StopBrowserRequest struct {
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
// contains filtered or unexported fields
}
func (*StopBrowserRequest) Descriptor
deprecated
func (*StopBrowserRequest) Descriptor() ([]byte, []int)
Deprecated: Use StopBrowserRequest.ProtoReflect.Descriptor instead.
func (*StopBrowserRequest) GetInstanceId ¶
func (x *StopBrowserRequest) GetInstanceId() string
func (*StopBrowserRequest) ProtoMessage ¶
func (*StopBrowserRequest) ProtoMessage()
func (*StopBrowserRequest) ProtoReflect ¶
func (x *StopBrowserRequest) ProtoReflect() protoreflect.Message
func (*StopBrowserRequest) Reset ¶
func (x *StopBrowserRequest) Reset()
func (*StopBrowserRequest) String ¶
func (x *StopBrowserRequest) String() string
type StreamKind ¶
type StreamKind int32
const ( StreamKind_STREAM_KIND_UNSPECIFIED StreamKind = 0 // PTY over WebSocket. StreamKind_STREAM_KIND_TERMINAL StreamKind = 1 // noVNC over WebSocket (/browser/vnc). StreamKind_STREAM_KIND_VNC StreamKind = 2 // HTTP(S)/WebSocket to a sandbox port (/preview/:port/*). StreamKind_STREAM_KIND_PREVIEW StreamKind = 3 )
func (StreamKind) Descriptor ¶
func (StreamKind) Descriptor() protoreflect.EnumDescriptor
func (StreamKind) Enum ¶
func (x StreamKind) Enum() *StreamKind
func (StreamKind) EnumDescriptor
deprecated
func (StreamKind) EnumDescriptor() ([]byte, []int)
Deprecated: Use StreamKind.Descriptor instead.
func (StreamKind) Number ¶
func (x StreamKind) Number() protoreflect.EnumNumber
func (StreamKind) String ¶
func (x StreamKind) String() string
func (StreamKind) Type ¶
func (StreamKind) Type() protoreflect.EnumType
type SubscribeEventsRequest ¶
type SubscribeEventsRequest struct {
// Deliver events with offset > from_offset (DaemonInfo.acked_offset when the gateway starts forwarding).
FromOffset uint64 `protobuf:"varint,1,opt,name=from_offset,json=fromOffset,proto3" json:"from_offset,omitempty"`
// contains filtered or unexported fields
}
func (*SubscribeEventsRequest) Descriptor
deprecated
func (*SubscribeEventsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeEventsRequest.ProtoReflect.Descriptor instead.
func (*SubscribeEventsRequest) GetFromOffset ¶
func (x *SubscribeEventsRequest) GetFromOffset() uint64
func (*SubscribeEventsRequest) ProtoMessage ¶
func (*SubscribeEventsRequest) ProtoMessage()
func (*SubscribeEventsRequest) ProtoReflect ¶
func (x *SubscribeEventsRequest) ProtoReflect() protoreflect.Message
func (*SubscribeEventsRequest) Reset ¶
func (x *SubscribeEventsRequest) Reset()
func (*SubscribeEventsRequest) String ¶
func (x *SubscribeEventsRequest) String() string
type SuspendReason ¶
type SuspendReason int32
SuspendReason says why an instance is (being) suspended.
const ( SuspendReason_SUSPEND_REASON_UNSPECIFIED SuspendReason = 0 SuspendReason_SUSPEND_REASON_IDLE SuspendReason = 1 SuspendReason_SUSPEND_REASON_USER SuspendReason = 2 SuspendReason_SUSPEND_REASON_MAX_CONTINUOUS_AWAKE SuspendReason = 3 SuspendReason_SUSPEND_REASON_DAEMON_UNRESPONSIVE SuspendReason = 4 SuspendReason_SUSPEND_REASON_EVICTION SuspendReason = 5 SuspendReason_SUSPEND_REASON_SNAPSHOT SuspendReason = 6 )
func (SuspendReason) Descriptor ¶
func (SuspendReason) Descriptor() protoreflect.EnumDescriptor
func (SuspendReason) Enum ¶
func (x SuspendReason) Enum() *SuspendReason
func (SuspendReason) EnumDescriptor
deprecated
func (SuspendReason) EnumDescriptor() ([]byte, []int)
Deprecated: Use SuspendReason.Descriptor instead.
func (SuspendReason) Number ¶
func (x SuspendReason) Number() protoreflect.EnumNumber
func (SuspendReason) String ¶
func (x SuspendReason) String() string
func (SuspendReason) Type ¶
func (SuspendReason) Type() protoreflect.EnumType
type SuspendRequested ¶
type SuspendRequested struct {
Reason SuspendReason `protobuf:"varint,1,opt,name=reason,proto3,enum=devbox.v1.SuspendReason" json:"reason,omitempty"`
IdleSince *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=idle_since,json=idleSince,proto3" json:"idle_since,omitempty"`
// Offset through which every entity is settled.
SettledOffset uint64 `protobuf:"varint,3,opt,name=settled_offset,json=settledOffset,proto3" json:"settled_offset,omitempty"`
// contains filtered or unexported fields
}
func (*SuspendRequested) Descriptor
deprecated
func (*SuspendRequested) Descriptor() ([]byte, []int)
Deprecated: Use SuspendRequested.ProtoReflect.Descriptor instead.
func (*SuspendRequested) GetIdleSince ¶
func (x *SuspendRequested) GetIdleSince() *timestamppb.Timestamp
func (*SuspendRequested) GetReason ¶
func (x *SuspendRequested) GetReason() SuspendReason
func (*SuspendRequested) GetSettledOffset ¶
func (x *SuspendRequested) GetSettledOffset() uint64
func (*SuspendRequested) ProtoMessage ¶
func (*SuspendRequested) ProtoMessage()
func (*SuspendRequested) ProtoReflect ¶
func (x *SuspendRequested) ProtoReflect() protoreflect.Message
func (*SuspendRequested) Reset ¶
func (x *SuspendRequested) Reset()
func (*SuspendRequested) String ¶
func (x *SuspendRequested) String() string
type TerminalAttach ¶
type TerminalAttach struct {
TerminalId string `protobuf:"bytes,1,opt,name=terminal_id,json=terminalId,proto3" json:"terminal_id,omitempty"`
// Replay output from this byte offset (0 replays the whole buffer that is still retained).
FromOffset uint64 `protobuf:"varint,2,opt,name=from_offset,json=fromOffset,proto3" json:"from_offset,omitempty"`
// contains filtered or unexported fields
}
func (*TerminalAttach) Descriptor
deprecated
func (*TerminalAttach) Descriptor() ([]byte, []int)
Deprecated: Use TerminalAttach.ProtoReflect.Descriptor instead.
func (*TerminalAttach) GetFromOffset ¶
func (x *TerminalAttach) GetFromOffset() uint64
func (*TerminalAttach) GetTerminalId ¶
func (x *TerminalAttach) GetTerminalId() string
func (*TerminalAttach) ProtoMessage ¶
func (*TerminalAttach) ProtoMessage()
func (*TerminalAttach) ProtoReflect ¶
func (x *TerminalAttach) ProtoReflect() protoreflect.Message
func (*TerminalAttach) Reset ¶
func (x *TerminalAttach) Reset()
func (*TerminalAttach) String ¶
func (x *TerminalAttach) String() string
type TerminalData ¶
type TerminalData struct {
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
// Offset of the first byte of `data`.
Offset uint64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
// contains filtered or unexported fields
}
func (*TerminalData) Descriptor
deprecated
func (*TerminalData) Descriptor() ([]byte, []int)
Deprecated: Use TerminalData.ProtoReflect.Descriptor instead.
func (*TerminalData) GetData ¶
func (x *TerminalData) GetData() []byte
func (*TerminalData) GetOffset ¶
func (x *TerminalData) GetOffset() uint64
func (*TerminalData) ProtoMessage ¶
func (*TerminalData) ProtoMessage()
func (*TerminalData) ProtoReflect ¶
func (x *TerminalData) ProtoReflect() protoreflect.Message
func (*TerminalData) Reset ¶
func (x *TerminalData) Reset()
func (*TerminalData) String ¶
func (x *TerminalData) String() string
type TerminalEntity ¶
type TerminalEntity struct {
TerminalId string `protobuf:"bytes,1,opt,name=terminal_id,json=terminalId,proto3" json:"terminal_id,omitempty"`
Command string `protobuf:"bytes,2,opt,name=command,proto3" json:"command,omitempty"`
Args []string `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"`
Cwd string `protobuf:"bytes,4,opt,name=cwd,proto3" json:"cwd,omitempty"`
Output string `protobuf:"bytes,5,opt,name=output,proto3" json:"output,omitempty"`
// Output was capped at 1 MB in the transcript.
Truncated bool `protobuf:"varint,6,opt,name=truncated,proto3" json:"truncated,omitempty"`
ExitStatus *TerminalExitStatus `protobuf:"bytes,7,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"`
Meta *structpb.Struct `protobuf:"bytes,8,opt,name=meta,proto3" json:"meta,omitempty"`
// contains filtered or unexported fields
}
func (*TerminalEntity) Descriptor
deprecated
func (*TerminalEntity) Descriptor() ([]byte, []int)
Deprecated: Use TerminalEntity.ProtoReflect.Descriptor instead.
func (*TerminalEntity) GetArgs ¶
func (x *TerminalEntity) GetArgs() []string
func (*TerminalEntity) GetCommand ¶
func (x *TerminalEntity) GetCommand() string
func (*TerminalEntity) GetCwd ¶
func (x *TerminalEntity) GetCwd() string
func (*TerminalEntity) GetExitStatus ¶
func (x *TerminalEntity) GetExitStatus() *TerminalExitStatus
func (*TerminalEntity) GetMeta ¶
func (x *TerminalEntity) GetMeta() *structpb.Struct
func (*TerminalEntity) GetOutput ¶
func (x *TerminalEntity) GetOutput() string
func (*TerminalEntity) GetTerminalId ¶
func (x *TerminalEntity) GetTerminalId() string
func (*TerminalEntity) GetTruncated ¶
func (x *TerminalEntity) GetTruncated() bool
func (*TerminalEntity) ProtoMessage ¶
func (*TerminalEntity) ProtoMessage()
func (*TerminalEntity) ProtoReflect ¶
func (x *TerminalEntity) ProtoReflect() protoreflect.Message
func (*TerminalEntity) Reset ¶
func (x *TerminalEntity) Reset()
func (*TerminalEntity) String ¶
func (x *TerminalEntity) String() string
type TerminalExit ¶
type TerminalExit struct {
ExitCode *int32 `protobuf:"varint,1,opt,name=exit_code,json=exitCode,proto3,oneof" json:"exit_code,omitempty"`
Signal string `protobuf:"bytes,2,opt,name=signal,proto3" json:"signal,omitempty"`
// contains filtered or unexported fields
}
func (*TerminalExit) Descriptor
deprecated
func (*TerminalExit) Descriptor() ([]byte, []int)
Deprecated: Use TerminalExit.ProtoReflect.Descriptor instead.
func (*TerminalExit) GetExitCode ¶
func (x *TerminalExit) GetExitCode() int32
func (*TerminalExit) GetSignal ¶
func (x *TerminalExit) GetSignal() string
func (*TerminalExit) ProtoMessage ¶
func (*TerminalExit) ProtoMessage()
func (*TerminalExit) ProtoReflect ¶
func (x *TerminalExit) ProtoReflect() protoreflect.Message
func (*TerminalExit) Reset ¶
func (x *TerminalExit) Reset()
func (*TerminalExit) String ¶
func (x *TerminalExit) String() string
type TerminalExitStatus ¶
type TerminalExitStatus struct {
ExitCode *int32 `protobuf:"varint,1,opt,name=exit_code,json=exitCode,proto3,oneof" json:"exit_code,omitempty"`
Signal string `protobuf:"bytes,2,opt,name=signal,proto3" json:"signal,omitempty"`
// contains filtered or unexported fields
}
func (*TerminalExitStatus) Descriptor
deprecated
func (*TerminalExitStatus) Descriptor() ([]byte, []int)
Deprecated: Use TerminalExitStatus.ProtoReflect.Descriptor instead.
func (*TerminalExitStatus) GetExitCode ¶
func (x *TerminalExitStatus) GetExitCode() int32
func (*TerminalExitStatus) GetSignal ¶
func (x *TerminalExitStatus) GetSignal() string
func (*TerminalExitStatus) ProtoMessage ¶
func (*TerminalExitStatus) ProtoMessage()
func (*TerminalExitStatus) ProtoReflect ¶
func (x *TerminalExitStatus) ProtoReflect() protoreflect.Message
func (*TerminalExitStatus) Reset ¶
func (x *TerminalExitStatus) Reset()
func (*TerminalExitStatus) String ¶
func (x *TerminalExitStatus) String() string
type TerminalInfo ¶
type TerminalInfo struct {
TerminalId string `protobuf:"bytes,1,opt,name=terminal_id,json=terminalId,proto3" json:"terminal_id,omitempty"`
Cwd string `protobuf:"bytes,2,opt,name=cwd,proto3" json:"cwd,omitempty"`
Command string `protobuf:"bytes,3,opt,name=command,proto3" json:"command,omitempty"`
Cols int32 `protobuf:"varint,4,opt,name=cols,proto3" json:"cols,omitempty"`
Rows int32 `protobuf:"varint,5,opt,name=rows,proto3" json:"rows,omitempty"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
// Foreground process group's command, when it isn't the login shell.
ForegroundCommand string `protobuf:"bytes,7,opt,name=foreground_command,json=foregroundCommand,proto3" json:"foreground_command,omitempty"`
Exited bool `protobuf:"varint,8,opt,name=exited,proto3" json:"exited,omitempty"`
ExitCode *int32 `protobuf:"varint,9,opt,name=exit_code,json=exitCode,proto3,oneof" json:"exit_code,omitempty"`
// Byte offset of the end of the replay buffer; attach with from_offset to replay.
OutputOffset uint64 `protobuf:"varint,10,opt,name=output_offset,json=outputOffset,proto3" json:"output_offset,omitempty"`
CreatedBy *Principal `protobuf:"bytes,11,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
// contains filtered or unexported fields
}
func (*TerminalInfo) Descriptor
deprecated
func (*TerminalInfo) Descriptor() ([]byte, []int)
Deprecated: Use TerminalInfo.ProtoReflect.Descriptor instead.
func (*TerminalInfo) GetCols ¶
func (x *TerminalInfo) GetCols() int32
func (*TerminalInfo) GetCommand ¶
func (x *TerminalInfo) GetCommand() string
func (*TerminalInfo) GetCreatedAt ¶
func (x *TerminalInfo) GetCreatedAt() *timestamppb.Timestamp
func (*TerminalInfo) GetCreatedBy ¶
func (x *TerminalInfo) GetCreatedBy() *Principal
func (*TerminalInfo) GetCwd ¶
func (x *TerminalInfo) GetCwd() string
func (*TerminalInfo) GetExitCode ¶
func (x *TerminalInfo) GetExitCode() int32
func (*TerminalInfo) GetExited ¶
func (x *TerminalInfo) GetExited() bool
func (*TerminalInfo) GetForegroundCommand ¶
func (x *TerminalInfo) GetForegroundCommand() string
func (*TerminalInfo) GetOutputOffset ¶
func (x *TerminalInfo) GetOutputOffset() uint64
func (*TerminalInfo) GetRows ¶
func (x *TerminalInfo) GetRows() int32
func (*TerminalInfo) GetTerminalId ¶
func (x *TerminalInfo) GetTerminalId() string
func (*TerminalInfo) ProtoMessage ¶
func (*TerminalInfo) ProtoMessage()
func (*TerminalInfo) ProtoReflect ¶
func (x *TerminalInfo) ProtoReflect() protoreflect.Message
func (*TerminalInfo) Reset ¶
func (x *TerminalInfo) Reset()
func (*TerminalInfo) String ¶
func (x *TerminalInfo) String() string
type TerminalInput ¶
type TerminalInput struct {
// Types that are valid to be assigned to Input:
//
// *TerminalInput_Attach
// *TerminalInput_Data
// *TerminalInput_Resize
Input isTerminalInput_Input `protobuf_oneof:"input"`
// contains filtered or unexported fields
}
TerminalInput is a client frame on Daemon.AttachTerminal. The first frame must be `attach`.
func (*TerminalInput) Descriptor
deprecated
func (*TerminalInput) Descriptor() ([]byte, []int)
Deprecated: Use TerminalInput.ProtoReflect.Descriptor instead.
func (*TerminalInput) GetAttach ¶
func (x *TerminalInput) GetAttach() *TerminalAttach
func (*TerminalInput) GetData ¶
func (x *TerminalInput) GetData() []byte
func (*TerminalInput) GetInput ¶
func (x *TerminalInput) GetInput() isTerminalInput_Input
func (*TerminalInput) GetResize ¶
func (x *TerminalInput) GetResize() *TerminalSize
func (*TerminalInput) ProtoMessage ¶
func (*TerminalInput) ProtoMessage()
func (*TerminalInput) ProtoReflect ¶
func (x *TerminalInput) ProtoReflect() protoreflect.Message
func (*TerminalInput) Reset ¶
func (x *TerminalInput) Reset()
func (*TerminalInput) String ¶
func (x *TerminalInput) String() string
type TerminalInput_Attach ¶
type TerminalInput_Attach struct {
Attach *TerminalAttach `protobuf:"bytes,1,opt,name=attach,proto3,oneof"`
}
type TerminalInput_Data ¶
type TerminalInput_Data struct {
Data []byte `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
}
type TerminalInput_Resize ¶
type TerminalInput_Resize struct {
Resize *TerminalSize `protobuf:"bytes,3,opt,name=resize,proto3,oneof"`
}
type TerminalOutput ¶
type TerminalOutput struct {
// Types that are valid to be assigned to Output:
//
// *TerminalOutput_Data
// *TerminalOutput_Info
// *TerminalOutput_Exit
Output isTerminalOutput_Output `protobuf_oneof:"output"`
// contains filtered or unexported fields
}
func (*TerminalOutput) Descriptor
deprecated
func (*TerminalOutput) Descriptor() ([]byte, []int)
Deprecated: Use TerminalOutput.ProtoReflect.Descriptor instead.
func (*TerminalOutput) GetData ¶
func (x *TerminalOutput) GetData() *TerminalData
func (*TerminalOutput) GetExit ¶
func (x *TerminalOutput) GetExit() *TerminalExit
func (*TerminalOutput) GetInfo ¶
func (x *TerminalOutput) GetInfo() *TerminalInfo
func (*TerminalOutput) GetOutput ¶
func (x *TerminalOutput) GetOutput() isTerminalOutput_Output
func (*TerminalOutput) ProtoMessage ¶
func (*TerminalOutput) ProtoMessage()
func (*TerminalOutput) ProtoReflect ¶
func (x *TerminalOutput) ProtoReflect() protoreflect.Message
func (*TerminalOutput) Reset ¶
func (x *TerminalOutput) Reset()
func (*TerminalOutput) String ¶
func (x *TerminalOutput) String() string
type TerminalOutput_Data ¶
type TerminalOutput_Data struct {
Data *TerminalData `protobuf:"bytes,1,opt,name=data,proto3,oneof"`
}
type TerminalOutput_Exit ¶
type TerminalOutput_Exit struct {
Exit *TerminalExit `protobuf:"bytes,3,opt,name=exit,proto3,oneof"`
}
type TerminalOutput_Info ¶
type TerminalOutput_Info struct {
Info *TerminalInfo `protobuf:"bytes,2,opt,name=info,proto3,oneof"`
}
type TerminalRef ¶
type TerminalRef struct {
TerminalId string `protobuf:"bytes,1,opt,name=terminal_id,json=terminalId,proto3" json:"terminal_id,omitempty"`
Meta *structpb.Struct `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
// contains filtered or unexported fields
}
func (*TerminalRef) Descriptor
deprecated
func (*TerminalRef) Descriptor() ([]byte, []int)
Deprecated: Use TerminalRef.ProtoReflect.Descriptor instead.
func (*TerminalRef) GetMeta ¶
func (x *TerminalRef) GetMeta() *structpb.Struct
func (*TerminalRef) GetTerminalId ¶
func (x *TerminalRef) GetTerminalId() string
func (*TerminalRef) ProtoMessage ¶
func (*TerminalRef) ProtoMessage()
func (*TerminalRef) ProtoReflect ¶
func (x *TerminalRef) ProtoReflect() protoreflect.Message
func (*TerminalRef) Reset ¶
func (x *TerminalRef) Reset()
func (*TerminalRef) String ¶
func (x *TerminalRef) String() string
type TerminalSize ¶
type TerminalSize struct {
Cols int32 `protobuf:"varint,1,opt,name=cols,proto3" json:"cols,omitempty"`
Rows int32 `protobuf:"varint,2,opt,name=rows,proto3" json:"rows,omitempty"`
// contains filtered or unexported fields
}
func (*TerminalSize) Descriptor
deprecated
func (*TerminalSize) Descriptor() ([]byte, []int)
Deprecated: Use TerminalSize.ProtoReflect.Descriptor instead.
func (*TerminalSize) GetCols ¶
func (x *TerminalSize) GetCols() int32
func (*TerminalSize) GetRows ¶
func (x *TerminalSize) GetRows() int32
func (*TerminalSize) ProtoMessage ¶
func (*TerminalSize) ProtoMessage()
func (*TerminalSize) ProtoReflect ¶
func (x *TerminalSize) ProtoReflect() protoreflect.Message
func (*TerminalSize) Reset ¶
func (x *TerminalSize) Reset()
func (*TerminalSize) String ¶
func (x *TerminalSize) String() string
type TextContent ¶
type TextContent struct {
Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
Annotations *Annotations `protobuf:"bytes,2,opt,name=annotations,proto3" json:"annotations,omitempty"`
Meta *structpb.Struct `protobuf:"bytes,3,opt,name=meta,proto3" json:"meta,omitempty"`
// contains filtered or unexported fields
}
func (*TextContent) Descriptor
deprecated
func (*TextContent) Descriptor() ([]byte, []int)
Deprecated: Use TextContent.ProtoReflect.Descriptor instead.
func (*TextContent) GetAnnotations ¶
func (x *TextContent) GetAnnotations() *Annotations
func (*TextContent) GetMeta ¶
func (x *TextContent) GetMeta() *structpb.Struct
func (*TextContent) GetText ¶
func (x *TextContent) GetText() string
func (*TextContent) ProtoMessage ¶
func (*TextContent) ProtoMessage()
func (*TextContent) ProtoReflect ¶
func (x *TextContent) ProtoReflect() protoreflect.Message
func (*TextContent) Reset ¶
func (x *TextContent) Reset()
func (*TextContent) String ¶
func (x *TextContent) String() string
type TextResourceContents ¶
type TextResourceContents struct {
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
Text string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"`
Meta *structpb.Struct `protobuf:"bytes,4,opt,name=meta,proto3" json:"meta,omitempty"`
// contains filtered or unexported fields
}
func (*TextResourceContents) Descriptor
deprecated
func (*TextResourceContents) Descriptor() ([]byte, []int)
Deprecated: Use TextResourceContents.ProtoReflect.Descriptor instead.
func (*TextResourceContents) GetMeta ¶
func (x *TextResourceContents) GetMeta() *structpb.Struct
func (*TextResourceContents) GetMimeType ¶
func (x *TextResourceContents) GetMimeType() string
func (*TextResourceContents) GetText ¶
func (x *TextResourceContents) GetText() string
func (*TextResourceContents) GetUri ¶
func (x *TextResourceContents) GetUri() string
func (*TextResourceContents) ProtoMessage ¶
func (*TextResourceContents) ProtoMessage()
func (*TextResourceContents) ProtoReflect ¶
func (x *TextResourceContents) ProtoReflect() protoreflect.Message
func (*TextResourceContents) Reset ¶
func (x *TextResourceContents) Reset()
func (*TextResourceContents) String ¶
func (x *TextResourceContents) String() string
type ThreadActionRequest ¶
type ThreadActionRequest struct {
Thread *ThreadRef `protobuf:"bytes,1,opt,name=thread,proto3" json:"thread,omitempty"`
RequestedBy *Principal `protobuf:"bytes,2,opt,name=requested_by,json=requestedBy,proto3" json:"requested_by,omitempty"`
ResumeIfSuspended bool `protobuf:"varint,3,opt,name=resume_if_suspended,json=resumeIfSuspended,proto3" json:"resume_if_suspended,omitempty"`
// contains filtered or unexported fields
}
func (*ThreadActionRequest) Descriptor
deprecated
func (*ThreadActionRequest) Descriptor() ([]byte, []int)
Deprecated: Use ThreadActionRequest.ProtoReflect.Descriptor instead.
func (*ThreadActionRequest) GetRequestedBy ¶
func (x *ThreadActionRequest) GetRequestedBy() *Principal
func (*ThreadActionRequest) GetResumeIfSuspended ¶
func (x *ThreadActionRequest) GetResumeIfSuspended() bool
func (*ThreadActionRequest) GetThread ¶
func (x *ThreadActionRequest) GetThread() *ThreadRef
func (*ThreadActionRequest) ProtoMessage ¶
func (*ThreadActionRequest) ProtoMessage()
func (*ThreadActionRequest) ProtoReflect ¶
func (x *ThreadActionRequest) ProtoReflect() protoreflect.Message
func (*ThreadActionRequest) Reset ¶
func (x *ThreadActionRequest) Reset()
func (*ThreadActionRequest) String ¶
func (x *ThreadActionRequest) String() string
type ThreadRef ¶
type ThreadRef struct {
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
ThreadId string `protobuf:"bytes,2,opt,name=thread_id,json=threadId,proto3" json:"thread_id,omitempty"`
SessionId string `protobuf:"bytes,3,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
// contains filtered or unexported fields
}
ThreadRef addresses a thread. `session_id` may be empty when the caller only knows the thread ID.
func (*ThreadRef) Descriptor
deprecated
func (*ThreadRef) GetInstanceId ¶
func (*ThreadRef) GetSessionId ¶
func (*ThreadRef) GetThreadId ¶
func (*ThreadRef) ProtoMessage ¶
func (*ThreadRef) ProtoMessage()
func (*ThreadRef) ProtoReflect ¶
func (x *ThreadRef) ProtoReflect() protoreflect.Message
type ThreadResponse ¶
type ThreadResponse struct {
Session *Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
// contains filtered or unexported fields
}
func (*ThreadResponse) Descriptor
deprecated
func (*ThreadResponse) Descriptor() ([]byte, []int)
Deprecated: Use ThreadResponse.ProtoReflect.Descriptor instead.
func (*ThreadResponse) GetSession ¶
func (x *ThreadResponse) GetSession() *Session
func (*ThreadResponse) ProtoMessage ¶
func (*ThreadResponse) ProtoMessage()
func (*ThreadResponse) ProtoReflect ¶
func (x *ThreadResponse) ProtoReflect() protoreflect.Message
func (*ThreadResponse) Reset ¶
func (x *ThreadResponse) Reset()
func (*ThreadResponse) String ¶
func (x *ThreadResponse) String() string
type ThreadStatus ¶
type ThreadStatus int32
const ( ThreadStatus_THREAD_STATUS_UNSPECIFIED ThreadStatus = 0 ThreadStatus_THREAD_STATUS_ACTIVE ThreadStatus = 1 // Queued behind the per-instance running-thread limit. ThreadStatus_THREAD_STATUS_WAITING ThreadStatus = 2 ThreadStatus_THREAD_STATUS_CLOSED ThreadStatus = 3 ThreadStatus_THREAD_STATUS_DELETED ThreadStatus = 4 )
func (ThreadStatus) Descriptor ¶
func (ThreadStatus) Descriptor() protoreflect.EnumDescriptor
func (ThreadStatus) Enum ¶
func (x ThreadStatus) Enum() *ThreadStatus
func (ThreadStatus) EnumDescriptor
deprecated
func (ThreadStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use ThreadStatus.Descriptor instead.
func (ThreadStatus) Number ¶
func (x ThreadStatus) Number() protoreflect.EnumNumber
func (ThreadStatus) String ¶
func (x ThreadStatus) String() string
func (ThreadStatus) Type ¶
func (ThreadStatus) Type() protoreflect.EnumType
type ToolCall ¶
type ToolCall struct {
ToolCallId string `protobuf:"bytes,1,opt,name=tool_call_id,json=toolCallId,proto3" json:"tool_call_id,omitempty"`
Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
// read, edit, delete, move, search, execute, think, fetch, switch_mode, other.
Kind string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"`
// pending, in_progress, completed, failed.
Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
Content []*ToolCallContent `protobuf:"bytes,5,rep,name=content,proto3" json:"content,omitempty"`
Locations []*ToolCallLocation `protobuf:"bytes,6,rep,name=locations,proto3" json:"locations,omitempty"`
RawInput *structpb.Value `protobuf:"bytes,7,opt,name=raw_input,json=rawInput,proto3" json:"raw_input,omitempty"`
RawOutput *structpb.Value `protobuf:"bytes,8,opt,name=raw_output,json=rawOutput,proto3" json:"raw_output,omitempty"`
Meta *structpb.Struct `protobuf:"bytes,9,opt,name=meta,proto3" json:"meta,omitempty"`
// contains filtered or unexported fields
}
func (*ToolCall) Descriptor
deprecated
func (*ToolCall) GetContent ¶
func (x *ToolCall) GetContent() []*ToolCallContent
func (*ToolCall) GetLocations ¶
func (x *ToolCall) GetLocations() []*ToolCallLocation
func (*ToolCall) GetRawInput ¶
func (*ToolCall) GetRawOutput ¶
func (*ToolCall) GetToolCallId ¶
func (*ToolCall) ProtoMessage ¶
func (*ToolCall) ProtoMessage()
func (*ToolCall) ProtoReflect ¶
func (x *ToolCall) ProtoReflect() protoreflect.Message
type ToolCallContent ¶
type ToolCallContent struct {
// Types that are valid to be assigned to Content:
//
// *ToolCallContent_Block
// *ToolCallContent_Diff
// *ToolCallContent_Terminal
// *ToolCallContent_Unknown
Content isToolCallContent_Content `protobuf_oneof:"content"`
// contains filtered or unexported fields
}
ToolCallContent is ACP's tool call content union.
func (*ToolCallContent) Descriptor
deprecated
func (*ToolCallContent) Descriptor() ([]byte, []int)
Deprecated: Use ToolCallContent.ProtoReflect.Descriptor instead.
func (*ToolCallContent) GetBlock ¶
func (x *ToolCallContent) GetBlock() *ContentBlock
func (*ToolCallContent) GetContent ¶
func (x *ToolCallContent) GetContent() isToolCallContent_Content
func (*ToolCallContent) GetDiff ¶
func (x *ToolCallContent) GetDiff() *Diff
func (*ToolCallContent) GetTerminal ¶
func (x *ToolCallContent) GetTerminal() *TerminalRef
func (*ToolCallContent) GetUnknown ¶
func (x *ToolCallContent) GetUnknown() *UnknownVariant
func (*ToolCallContent) ProtoMessage ¶
func (*ToolCallContent) ProtoMessage()
func (*ToolCallContent) ProtoReflect ¶
func (x *ToolCallContent) ProtoReflect() protoreflect.Message
func (*ToolCallContent) Reset ¶
func (x *ToolCallContent) Reset()
func (*ToolCallContent) String ¶
func (x *ToolCallContent) String() string
type ToolCallContent_Block ¶
type ToolCallContent_Block struct {
// `type: content`.
Block *ContentBlock `protobuf:"bytes,1,opt,name=block,proto3,oneof"`
}
type ToolCallContent_Diff ¶
type ToolCallContent_Diff struct {
// `type: diff`.
Diff *Diff `protobuf:"bytes,2,opt,name=diff,proto3,oneof"`
}
type ToolCallContent_Terminal ¶
type ToolCallContent_Terminal struct {
// `type: terminal`: a reference to a display terminal entity.
Terminal *TerminalRef `protobuf:"bytes,3,opt,name=terminal,proto3,oneof"`
}
type ToolCallContent_Unknown ¶
type ToolCallContent_Unknown struct {
Unknown *UnknownVariant `protobuf:"bytes,15,opt,name=unknown,proto3,oneof"`
}
type ToolCallLocation ¶
type ToolCallLocation struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
Line *int64 `protobuf:"varint,2,opt,name=line,proto3,oneof" json:"line,omitempty"`
Meta *structpb.Struct `protobuf:"bytes,3,opt,name=meta,proto3" json:"meta,omitempty"`
// contains filtered or unexported fields
}
func (*ToolCallLocation) Descriptor
deprecated
func (*ToolCallLocation) Descriptor() ([]byte, []int)
Deprecated: Use ToolCallLocation.ProtoReflect.Descriptor instead.
func (*ToolCallLocation) GetLine ¶
func (x *ToolCallLocation) GetLine() int64
func (*ToolCallLocation) GetMeta ¶
func (x *ToolCallLocation) GetMeta() *structpb.Struct
func (*ToolCallLocation) GetPath ¶
func (x *ToolCallLocation) GetPath() string
func (*ToolCallLocation) ProtoMessage ¶
func (*ToolCallLocation) ProtoMessage()
func (*ToolCallLocation) ProtoReflect ¶
func (x *ToolCallLocation) ProtoReflect() protoreflect.Message
func (*ToolCallLocation) Reset ¶
func (x *ToolCallLocation) Reset()
func (*ToolCallLocation) String ¶
func (x *ToolCallLocation) String() string
type TunnelAgentDescriptor ¶
type TunnelAgentDescriptor struct {
Services []*TunnelService `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"`
// contains filtered or unexported fields
}
func (*TunnelAgentDescriptor) Descriptor
deprecated
func (*TunnelAgentDescriptor) Descriptor() ([]byte, []int)
Deprecated: Use TunnelAgentDescriptor.ProtoReflect.Descriptor instead.
func (*TunnelAgentDescriptor) GetServices ¶
func (x *TunnelAgentDescriptor) GetServices() []*TunnelService
func (*TunnelAgentDescriptor) ProtoMessage ¶
func (*TunnelAgentDescriptor) ProtoMessage()
func (*TunnelAgentDescriptor) ProtoReflect ¶
func (x *TunnelAgentDescriptor) ProtoReflect() protoreflect.Message
func (*TunnelAgentDescriptor) Reset ¶
func (x *TunnelAgentDescriptor) Reset()
func (*TunnelAgentDescriptor) String ¶
func (x *TunnelAgentDescriptor) String() string
type TunnelClient ¶
type TunnelClient interface {
// Connect establishes one reverse tunnel. Frames follow the reverse_tunnel automaton: the gateway sends
// `descriptor` first; KAS then sends `request_info`, `message`* and optionally `close_send` for one call, and
// the gateway answers with `header`, `message`*, `trailer` or `error`. One tunnel carries one call at a time;
// the gateway keeps a pool of idle tunnels open.
Connect(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[TunnelConnectRequest, TunnelConnectResponse], error)
}
TunnelClient is the client API for Tunnel service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Tunnel is served by KAS on the devbox listener.
func NewTunnelClient ¶
func NewTunnelClient(cc grpc.ClientConnInterface) TunnelClient
type TunnelCloseSend ¶
type TunnelCloseSend struct {
// contains filtered or unexported fields
}
func (*TunnelCloseSend) Descriptor
deprecated
func (*TunnelCloseSend) Descriptor() ([]byte, []int)
Deprecated: Use TunnelCloseSend.ProtoReflect.Descriptor instead.
func (*TunnelCloseSend) ProtoMessage ¶
func (*TunnelCloseSend) ProtoMessage()
func (*TunnelCloseSend) ProtoReflect ¶
func (x *TunnelCloseSend) ProtoReflect() protoreflect.Message
func (*TunnelCloseSend) Reset ¶
func (x *TunnelCloseSend) Reset()
func (*TunnelCloseSend) String ¶
func (x *TunnelCloseSend) String() string
type TunnelConnectRequest ¶
type TunnelConnectRequest struct {
// Types that are valid to be assigned to Msg:
//
// *TunnelConnectRequest_Descriptor_
// *TunnelConnectRequest_Header
// *TunnelConnectRequest_Message
// *TunnelConnectRequest_Trailer
// *TunnelConnectRequest_Error
Msg isTunnelConnectRequest_Msg `protobuf_oneof:"msg"`
// contains filtered or unexported fields
}
func (*TunnelConnectRequest) Descriptor
deprecated
func (*TunnelConnectRequest) Descriptor() ([]byte, []int)
Deprecated: Use TunnelConnectRequest.ProtoReflect.Descriptor instead.
func (*TunnelConnectRequest) GetDescriptor_ ¶
func (x *TunnelConnectRequest) GetDescriptor_() *TunnelDescriptor
func (*TunnelConnectRequest) GetError ¶
func (x *TunnelConnectRequest) GetError() *TunnelError
func (*TunnelConnectRequest) GetHeader ¶
func (x *TunnelConnectRequest) GetHeader() *TunnelHeader
func (*TunnelConnectRequest) GetMessage ¶
func (x *TunnelConnectRequest) GetMessage() *TunnelMessage
func (*TunnelConnectRequest) GetMsg ¶
func (x *TunnelConnectRequest) GetMsg() isTunnelConnectRequest_Msg
func (*TunnelConnectRequest) GetTrailer ¶
func (x *TunnelConnectRequest) GetTrailer() *TunnelTrailer
func (*TunnelConnectRequest) ProtoMessage ¶
func (*TunnelConnectRequest) ProtoMessage()
func (*TunnelConnectRequest) ProtoReflect ¶
func (x *TunnelConnectRequest) ProtoReflect() protoreflect.Message
func (*TunnelConnectRequest) Reset ¶
func (x *TunnelConnectRequest) Reset()
func (*TunnelConnectRequest) String ¶
func (x *TunnelConnectRequest) String() string
type TunnelConnectRequest_Descriptor_ ¶
type TunnelConnectRequest_Descriptor_ struct {
Descriptor_ *TunnelDescriptor `protobuf:"bytes,1,opt,name=descriptor,proto3,oneof"`
}
type TunnelConnectRequest_Error ¶
type TunnelConnectRequest_Error struct {
Error *TunnelError `protobuf:"bytes,5,opt,name=error,proto3,oneof"`
}
type TunnelConnectRequest_Header ¶
type TunnelConnectRequest_Header struct {
Header *TunnelHeader `protobuf:"bytes,2,opt,name=header,proto3,oneof"`
}
type TunnelConnectRequest_Message ¶
type TunnelConnectRequest_Message struct {
Message *TunnelMessage `protobuf:"bytes,3,opt,name=message,proto3,oneof"`
}
type TunnelConnectRequest_Trailer ¶
type TunnelConnectRequest_Trailer struct {
Trailer *TunnelTrailer `protobuf:"bytes,4,opt,name=trailer,proto3,oneof"`
}
type TunnelConnectResponse ¶
type TunnelConnectResponse struct {
// Types that are valid to be assigned to Msg:
//
// *TunnelConnectResponse_RequestInfo
// *TunnelConnectResponse_Message
// *TunnelConnectResponse_CloseSend
Msg isTunnelConnectResponse_Msg `protobuf_oneof:"msg"`
// contains filtered or unexported fields
}
func (*TunnelConnectResponse) Descriptor
deprecated
func (*TunnelConnectResponse) Descriptor() ([]byte, []int)
Deprecated: Use TunnelConnectResponse.ProtoReflect.Descriptor instead.
func (*TunnelConnectResponse) GetCloseSend ¶
func (x *TunnelConnectResponse) GetCloseSend() *TunnelCloseSend
func (*TunnelConnectResponse) GetMessage ¶
func (x *TunnelConnectResponse) GetMessage() *TunnelMessage
func (*TunnelConnectResponse) GetMsg ¶
func (x *TunnelConnectResponse) GetMsg() isTunnelConnectResponse_Msg
func (*TunnelConnectResponse) GetRequestInfo ¶
func (x *TunnelConnectResponse) GetRequestInfo() *TunnelRequestInfo
func (*TunnelConnectResponse) ProtoMessage ¶
func (*TunnelConnectResponse) ProtoMessage()
func (*TunnelConnectResponse) ProtoReflect ¶
func (x *TunnelConnectResponse) ProtoReflect() protoreflect.Message
func (*TunnelConnectResponse) Reset ¶
func (x *TunnelConnectResponse) Reset()
func (*TunnelConnectResponse) String ¶
func (x *TunnelConnectResponse) String() string
type TunnelConnectResponse_CloseSend ¶
type TunnelConnectResponse_CloseSend struct {
CloseSend *TunnelCloseSend `protobuf:"bytes,3,opt,name=close_send,json=closeSend,proto3,oneof"`
}
type TunnelConnectResponse_Message ¶
type TunnelConnectResponse_Message struct {
Message *TunnelMessage `protobuf:"bytes,2,opt,name=message,proto3,oneof"`
}
type TunnelConnectResponse_RequestInfo ¶
type TunnelConnectResponse_RequestInfo struct {
RequestInfo *TunnelRequestInfo `protobuf:"bytes,1,opt,name=request_info,json=requestInfo,proto3,oneof"`
}
type TunnelDescriptor ¶
type TunnelDescriptor struct {
AgentDescriptor *TunnelAgentDescriptor `protobuf:"bytes,1,opt,name=agent_descriptor,json=agentDescriptor,proto3" json:"agent_descriptor,omitempty"`
// contains filtered or unexported fields
}
func (*TunnelDescriptor) Descriptor
deprecated
func (*TunnelDescriptor) Descriptor() ([]byte, []int)
Deprecated: Use TunnelDescriptor.ProtoReflect.Descriptor instead.
func (*TunnelDescriptor) GetAgentDescriptor ¶
func (x *TunnelDescriptor) GetAgentDescriptor() *TunnelAgentDescriptor
func (*TunnelDescriptor) ProtoMessage ¶
func (*TunnelDescriptor) ProtoMessage()
func (*TunnelDescriptor) ProtoReflect ¶
func (x *TunnelDescriptor) ProtoReflect() protoreflect.Message
func (*TunnelDescriptor) Reset ¶
func (x *TunnelDescriptor) Reset()
func (*TunnelDescriptor) String ¶
func (x *TunnelDescriptor) String() string
type TunnelError ¶
type TunnelError struct {
Status *TunnelStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
// contains filtered or unexported fields
}
func (*TunnelError) Descriptor
deprecated
func (*TunnelError) Descriptor() ([]byte, []int)
Deprecated: Use TunnelError.ProtoReflect.Descriptor instead.
func (*TunnelError) GetStatus ¶
func (x *TunnelError) GetStatus() *TunnelStatus
func (*TunnelError) ProtoMessage ¶
func (*TunnelError) ProtoMessage()
func (*TunnelError) ProtoReflect ¶
func (x *TunnelError) ProtoReflect() protoreflect.Message
func (*TunnelError) Reset ¶
func (x *TunnelError) Reset()
func (*TunnelError) String ¶
func (x *TunnelError) String() string
type TunnelHeader ¶
type TunnelHeader struct {
Meta map[string]*MetadataValues `` /* 135-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*TunnelHeader) Descriptor
deprecated
func (*TunnelHeader) Descriptor() ([]byte, []int)
Deprecated: Use TunnelHeader.ProtoReflect.Descriptor instead.
func (*TunnelHeader) GetMeta ¶
func (x *TunnelHeader) GetMeta() map[string]*MetadataValues
func (*TunnelHeader) ProtoMessage ¶
func (*TunnelHeader) ProtoMessage()
func (*TunnelHeader) ProtoReflect ¶
func (x *TunnelHeader) ProtoReflect() protoreflect.Message
func (*TunnelHeader) Reset ¶
func (x *TunnelHeader) Reset()
func (*TunnelHeader) String ¶
func (x *TunnelHeader) String() string
type TunnelMessage ¶
type TunnelMessage struct {
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
func (*TunnelMessage) Descriptor
deprecated
func (*TunnelMessage) Descriptor() ([]byte, []int)
Deprecated: Use TunnelMessage.ProtoReflect.Descriptor instead.
func (*TunnelMessage) GetData ¶
func (x *TunnelMessage) GetData() []byte
func (*TunnelMessage) ProtoMessage ¶
func (*TunnelMessage) ProtoMessage()
func (*TunnelMessage) ProtoReflect ¶
func (x *TunnelMessage) ProtoReflect() protoreflect.Message
func (*TunnelMessage) Reset ¶
func (x *TunnelMessage) Reset()
func (*TunnelMessage) String ¶
func (x *TunnelMessage) String() string
type TunnelMethod ¶
type TunnelMethod struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*TunnelMethod) Descriptor
deprecated
func (*TunnelMethod) Descriptor() ([]byte, []int)
Deprecated: Use TunnelMethod.ProtoReflect.Descriptor instead.
func (*TunnelMethod) GetName ¶
func (x *TunnelMethod) GetName() string
func (*TunnelMethod) ProtoMessage ¶
func (*TunnelMethod) ProtoMessage()
func (*TunnelMethod) ProtoReflect ¶
func (x *TunnelMethod) ProtoReflect() protoreflect.Message
func (*TunnelMethod) Reset ¶
func (x *TunnelMethod) Reset()
func (*TunnelMethod) String ¶
func (x *TunnelMethod) String() string
type TunnelRequestInfo ¶
type TunnelRequestInfo struct {
// Full method, e.g. "/devbox.v1.Gateway/GetTimeline".
MethodName string `protobuf:"bytes,1,opt,name=method_name,json=methodName,proto3" json:"method_name,omitempty"`
Meta map[string]*MetadataValues `` /* 135-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*TunnelRequestInfo) Descriptor
deprecated
func (*TunnelRequestInfo) Descriptor() ([]byte, []int)
Deprecated: Use TunnelRequestInfo.ProtoReflect.Descriptor instead.
func (*TunnelRequestInfo) GetMeta ¶
func (x *TunnelRequestInfo) GetMeta() map[string]*MetadataValues
func (*TunnelRequestInfo) GetMethodName ¶
func (x *TunnelRequestInfo) GetMethodName() string
func (*TunnelRequestInfo) ProtoMessage ¶
func (*TunnelRequestInfo) ProtoMessage()
func (*TunnelRequestInfo) ProtoReflect ¶
func (x *TunnelRequestInfo) ProtoReflect() protoreflect.Message
func (*TunnelRequestInfo) Reset ¶
func (x *TunnelRequestInfo) Reset()
func (*TunnelRequestInfo) String ¶
func (x *TunnelRequestInfo) String() string
type TunnelServer ¶
type TunnelServer interface {
// Connect establishes one reverse tunnel. Frames follow the reverse_tunnel automaton: the gateway sends
// `descriptor` first; KAS then sends `request_info`, `message`* and optionally `close_send` for one call, and
// the gateway answers with `header`, `message`*, `trailer` or `error`. One tunnel carries one call at a time;
// the gateway keeps a pool of idle tunnels open.
Connect(grpc.BidiStreamingServer[TunnelConnectRequest, TunnelConnectResponse]) error
// contains filtered or unexported methods
}
TunnelServer is the server API for Tunnel service. All implementations must embed UnimplementedTunnelServer for forward compatibility.
Tunnel is served by KAS on the devbox listener.
type TunnelService ¶
type TunnelService struct {
// Fully qualified, i.e. "devbox.v1.Gateway".
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Methods []*TunnelMethod `protobuf:"bytes,2,rep,name=methods,proto3" json:"methods,omitempty"`
// contains filtered or unexported fields
}
func (*TunnelService) Descriptor
deprecated
func (*TunnelService) Descriptor() ([]byte, []int)
Deprecated: Use TunnelService.ProtoReflect.Descriptor instead.
func (*TunnelService) GetMethods ¶
func (x *TunnelService) GetMethods() []*TunnelMethod
func (*TunnelService) GetName ¶
func (x *TunnelService) GetName() string
func (*TunnelService) ProtoMessage ¶
func (*TunnelService) ProtoMessage()
func (*TunnelService) ProtoReflect ¶
func (x *TunnelService) ProtoReflect() protoreflect.Message
func (*TunnelService) Reset ¶
func (x *TunnelService) Reset()
func (*TunnelService) String ¶
func (x *TunnelService) String() string
type TunnelStatus ¶
type TunnelStatus struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Details []*anypb.Any `protobuf:"bytes,3,rep,name=details,proto3" json:"details,omitempty"`
// contains filtered or unexported fields
}
TunnelStatus is wire-compatible with google.rpc.Status.
func (*TunnelStatus) Descriptor
deprecated
func (*TunnelStatus) Descriptor() ([]byte, []int)
Deprecated: Use TunnelStatus.ProtoReflect.Descriptor instead.
func (*TunnelStatus) GetCode ¶
func (x *TunnelStatus) GetCode() int32
func (*TunnelStatus) GetDetails ¶
func (x *TunnelStatus) GetDetails() []*anypb.Any
func (*TunnelStatus) GetMessage ¶
func (x *TunnelStatus) GetMessage() string
func (*TunnelStatus) ProtoMessage ¶
func (*TunnelStatus) ProtoMessage()
func (*TunnelStatus) ProtoReflect ¶
func (x *TunnelStatus) ProtoReflect() protoreflect.Message
func (*TunnelStatus) Reset ¶
func (x *TunnelStatus) Reset()
func (*TunnelStatus) String ¶
func (x *TunnelStatus) String() string
type TunnelTrailer ¶
type TunnelTrailer struct {
Meta map[string]*MetadataValues `` /* 135-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*TunnelTrailer) Descriptor
deprecated
func (*TunnelTrailer) Descriptor() ([]byte, []int)
Deprecated: Use TunnelTrailer.ProtoReflect.Descriptor instead.
func (*TunnelTrailer) GetMeta ¶
func (x *TunnelTrailer) GetMeta() map[string]*MetadataValues
func (*TunnelTrailer) ProtoMessage ¶
func (*TunnelTrailer) ProtoMessage()
func (*TunnelTrailer) ProtoReflect ¶
func (x *TunnelTrailer) ProtoReflect() protoreflect.Message
func (*TunnelTrailer) Reset ¶
func (x *TunnelTrailer) Reset()
func (*TunnelTrailer) String ¶
func (x *TunnelTrailer) String() string
type Tunnel_ConnectClient ¶
type Tunnel_ConnectClient = grpc.BidiStreamingClient[TunnelConnectRequest, TunnelConnectResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Tunnel_ConnectServer ¶
type Tunnel_ConnectServer = grpc.BidiStreamingServer[TunnelConnectRequest, TunnelConnectResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type UnimplementedControlServer ¶
type UnimplementedControlServer struct{}
UnimplementedControlServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedControlServer) AddRepository ¶
func (UnimplementedControlServer) AddRepository(context.Context, *AddRepositoryRequest) (*AddRepositoryResponse, error)
func (UnimplementedControlServer) CancelInstance ¶
func (UnimplementedControlServer) CancelInstance(context.Context, *InstanceActionRequest) (*InstanceActionResponse, error)
func (UnimplementedControlServer) CancelPrompt ¶
func (UnimplementedControlServer) CancelPrompt(context.Context, *CancelPromptRequest) (*CancelPromptResponse, error)
func (UnimplementedControlServer) CloseThread ¶
func (UnimplementedControlServer) CloseThread(context.Context, *ThreadActionRequest) (*ThreadResponse, error)
func (UnimplementedControlServer) CreateInstance ¶
func (UnimplementedControlServer) CreateInstance(context.Context, *CreateInstanceRequest) (*CreateInstanceResponse, error)
func (UnimplementedControlServer) CreateThread ¶
func (UnimplementedControlServer) CreateThread(context.Context, *CreateThreadRequest) (*ThreadResponse, error)
func (UnimplementedControlServer) DeleteSnapshot ¶
func (UnimplementedControlServer) DeleteSnapshot(context.Context, *DeleteSnapshotRequest) (*DeleteSnapshotResponse, error)
func (UnimplementedControlServer) DeleteThread ¶
func (UnimplementedControlServer) DeleteThread(context.Context, *ThreadActionRequest) (*DeleteThreadResponse, error)
func (UnimplementedControlServer) ForkThread ¶
func (UnimplementedControlServer) ForkThread(context.Context, *ForkThreadRequest) (*ThreadResponse, error)
func (UnimplementedControlServer) GetChanges ¶
func (UnimplementedControlServer) GetChanges(context.Context, *GetChangesRequest) (*GetChangesResponse, error)
func (UnimplementedControlServer) GetSessions ¶
func (UnimplementedControlServer) GetSessions(context.Context, *GetSessionsRequest) (*GetSessionsResponse, error)
func (UnimplementedControlServer) GetTimeline ¶
func (UnimplementedControlServer) GetTimeline(context.Context, *GetTimelineRequest) (*GetTimelineResponse, error)
func (UnimplementedControlServer) ImportThread ¶
func (UnimplementedControlServer) ImportThread(context.Context, *ImportThreadRequest) (*ThreadResponse, error)
func (UnimplementedControlServer) InvalidateAllowlist ¶
func (UnimplementedControlServer) InvalidateAllowlist(context.Context, *InvalidateAllowlistRequest) (*InvalidateAllowlistResponse, error)
func (UnimplementedControlServer) ListCommands ¶
func (UnimplementedControlServer) ListCommands(context.Context, *ListCommandsRequest) (*ListCommandsResponse, error)
func (UnimplementedControlServer) ListFiles ¶
func (UnimplementedControlServer) ListFiles(context.Context, *ListFilesRequest) (*ListFilesResponse, error)
func (UnimplementedControlServer) ListRepositories ¶
func (UnimplementedControlServer) ListRepositories(context.Context, *ListRepositoriesRequest) (*ListRepositoriesResponse, error)
func (UnimplementedControlServer) ListThreads ¶
func (UnimplementedControlServer) ListThreads(context.Context, *ListThreadsRequest) (*ListThreadsResponse, error)
func (UnimplementedControlServer) OpenStream ¶
func (UnimplementedControlServer) OpenStream(context.Context, *OpenStreamRequest) (*OpenStreamResponse, error)
func (UnimplementedControlServer) PreparePullRequest ¶
func (UnimplementedControlServer) PreparePullRequest(context.Context, *PreparePullRequestRequest) (*PreparePullRequestResponse, error)
func (UnimplementedControlServer) Prompt ¶
func (UnimplementedControlServer) Prompt(context.Context, *PromptRequest) (*PromptResponse, error)
func (UnimplementedControlServer) ReadFile ¶
func (UnimplementedControlServer) ReadFile(context.Context, *ReadFileRequest) (*ReadFileResponse, error)
func (UnimplementedControlServer) RespondInteraction ¶
func (UnimplementedControlServer) RespondInteraction(context.Context, *RespondInteractionRequest) (*RespondInteractionResponse, error)
func (UnimplementedControlServer) ResumeInstance ¶
func (UnimplementedControlServer) ResumeInstance(context.Context, *InstanceActionRequest) (*InstanceActionResponse, error)
func (UnimplementedControlServer) ResumeThread ¶
func (UnimplementedControlServer) ResumeThread(context.Context, *ResumeThreadRequest) (*ThreadResponse, error)
func (UnimplementedControlServer) SetAgentBilling ¶
func (UnimplementedControlServer) SetAgentBilling(context.Context, *SetAgentBillingRequest) (*SetAgentBillingResponse, error)
func (UnimplementedControlServer) SetInstanceLeases ¶
func (UnimplementedControlServer) SetInstanceLeases(context.Context, *SetInstanceLeasesRequest) (*SetInstanceLeasesResponse, error)
func (UnimplementedControlServer) SetThreadConfigOption ¶
func (UnimplementedControlServer) SetThreadConfigOption(context.Context, *SetThreadConfigOptionRequest) (*SetThreadConfigOptionResponse, error)
func (UnimplementedControlServer) SnapshotInstance ¶
func (UnimplementedControlServer) SnapshotInstance(context.Context, *SnapshotInstanceRequest) (*SnapshotInstanceResponse, error)
func (UnimplementedControlServer) StartFromSnapshot ¶
func (UnimplementedControlServer) StartFromSnapshot(context.Context, *StartFromSnapshotRequest) (*CreateInstanceResponse, error)
func (UnimplementedControlServer) SuspendInstance ¶
func (UnimplementedControlServer) SuspendInstance(context.Context, *InstanceActionRequest) (*InstanceActionResponse, error)
func (UnimplementedControlServer) UpdateQueuedPrompt ¶
func (UnimplementedControlServer) UpdateQueuedPrompt(context.Context, *UpdateQueuedPromptRequest) (*UpdateQueuedPromptResponse, error)
func (UnimplementedControlServer) WriteFile ¶
func (UnimplementedControlServer) WriteFile(context.Context, *WriteFileRequest) (*WriteFileResponse, error)
type UnimplementedDaemonServer ¶
type UnimplementedDaemonServer struct{}
UnimplementedDaemonServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedDaemonServer) AckEvents ¶
func (UnimplementedDaemonServer) AckEvents(context.Context, *AckEventsRequest) (*AckEventsResponse, error)
func (UnimplementedDaemonServer) AddRepository ¶
func (UnimplementedDaemonServer) AddRepository(context.Context, *AddRepositoryRequest) (*AddRepositoryResponse, error)
func (UnimplementedDaemonServer) AttachTerminal ¶
func (UnimplementedDaemonServer) AttachTerminal(grpc.BidiStreamingServer[TerminalInput, TerminalOutput]) error
func (UnimplementedDaemonServer) CancelPrompt ¶
func (UnimplementedDaemonServer) CancelPrompt(context.Context, *CancelPromptRequest) (*CancelPromptResponse, error)
func (UnimplementedDaemonServer) CloseTerminal ¶
func (UnimplementedDaemonServer) CloseTerminal(context.Context, *CloseTerminalRequest) (*TerminalInfo, error)
func (UnimplementedDaemonServer) CloseThread ¶
func (UnimplementedDaemonServer) CloseThread(context.Context, *ThreadActionRequest) (*ThreadResponse, error)
func (UnimplementedDaemonServer) CreateTerminal ¶
func (UnimplementedDaemonServer) CreateTerminal(context.Context, *CreateTerminalRequest) (*TerminalInfo, error)
func (UnimplementedDaemonServer) CreateThread ¶
func (UnimplementedDaemonServer) CreateThread(context.Context, *CreateThreadRequest) (*ThreadResponse, error)
func (UnimplementedDaemonServer) DeleteThread ¶
func (UnimplementedDaemonServer) DeleteThread(context.Context, *ThreadActionRequest) (*DeleteThreadResponse, error)
func (UnimplementedDaemonServer) ForkThread ¶
func (UnimplementedDaemonServer) ForkThread(context.Context, *ForkThreadRequest) (*ThreadResponse, error)
func (UnimplementedDaemonServer) GetBranchDiffStat ¶
func (UnimplementedDaemonServer) GetBranchDiffStat(context.Context, *BranchDiffStatRequest) (*BranchDiffStatResponse, error)
func (UnimplementedDaemonServer) GetBrowser ¶
func (UnimplementedDaemonServer) GetBrowser(context.Context, *GetBrowserRequest) (*BrowserInfo, error)
func (UnimplementedDaemonServer) GetChanges ¶
func (UnimplementedDaemonServer) GetChanges(context.Context, *GetChangesRequest) (*GetChangesResponse, error)
func (UnimplementedDaemonServer) GetIdleState ¶
func (UnimplementedDaemonServer) GetIdleState(context.Context, *GetIdleStateRequest) (*IdleState, error)
func (UnimplementedDaemonServer) GetInfo ¶
func (UnimplementedDaemonServer) GetInfo(context.Context, *GetInfoRequest) (*DaemonInfo, error)
func (UnimplementedDaemonServer) GetSessions ¶
func (UnimplementedDaemonServer) GetSessions(context.Context, *GetSessionsRequest) (*GetSessionsResponse, error)
func (UnimplementedDaemonServer) GetTimeline ¶
func (UnimplementedDaemonServer) GetTimeline(context.Context, *GetTimelineRequest) (*GetTimelineResponse, error)
func (UnimplementedDaemonServer) Health ¶
func (UnimplementedDaemonServer) Health(context.Context, *HealthRequest) (*HealthResponse, error)
func (UnimplementedDaemonServer) ImportThread ¶
func (UnimplementedDaemonServer) ImportThread(context.Context, *ImportThreadRequest) (*ThreadResponse, error)
func (UnimplementedDaemonServer) Initialize ¶
func (UnimplementedDaemonServer) Initialize(context.Context, *InitializeRequest) (*InitializeResponse, error)
func (UnimplementedDaemonServer) ListCommands ¶
func (UnimplementedDaemonServer) ListCommands(context.Context, *ListCommandsRequest) (*ListCommandsResponse, error)
func (UnimplementedDaemonServer) ListFiles ¶
func (UnimplementedDaemonServer) ListFiles(context.Context, *ListFilesRequest) (*ListFilesResponse, error)
func (UnimplementedDaemonServer) ListRepositories ¶
func (UnimplementedDaemonServer) ListRepositories(context.Context, *ListRepositoriesRequest) (*ListRepositoriesResponse, error)
func (UnimplementedDaemonServer) ListTerminals ¶
func (UnimplementedDaemonServer) ListTerminals(context.Context, *ListTerminalsRequest) (*ListTerminalsResponse, error)
func (UnimplementedDaemonServer) ListThreads ¶
func (UnimplementedDaemonServer) ListThreads(context.Context, *ListThreadsRequest) (*ListThreadsResponse, error)
func (UnimplementedDaemonServer) PreparePullRequest ¶
func (UnimplementedDaemonServer) PreparePullRequest(context.Context, *PreparePullRequestRequest) (*PreparePullRequestResponse, error)
func (UnimplementedDaemonServer) PrepareSuspend ¶
func (UnimplementedDaemonServer) PrepareSuspend(context.Context, *PrepareSuspendRequest) (*PrepareSuspendResponse, error)
func (UnimplementedDaemonServer) ProbeAgents ¶
func (UnimplementedDaemonServer) ProbeAgents(context.Context, *ProbeAgentsRequest) (*ProbeAgentsResponse, error)
func (UnimplementedDaemonServer) Prompt ¶
func (UnimplementedDaemonServer) Prompt(context.Context, *PromptRequest) (*PromptResponse, error)
func (UnimplementedDaemonServer) PushCredential ¶
func (UnimplementedDaemonServer) PushCredential(context.Context, *PushCredentialRequest) (*PushCredentialResponse, error)
func (UnimplementedDaemonServer) ReadFile ¶
func (UnimplementedDaemonServer) ReadFile(context.Context, *ReadFileRequest) (*ReadFileResponse, error)
func (UnimplementedDaemonServer) ResizeTerminal ¶
func (UnimplementedDaemonServer) ResizeTerminal(context.Context, *ResizeTerminalRequest) (*TerminalInfo, error)
func (UnimplementedDaemonServer) RespondInteraction ¶
func (UnimplementedDaemonServer) RespondInteraction(context.Context, *RespondInteractionRequest) (*RespondInteractionResponse, error)
func (UnimplementedDaemonServer) ResumeThread ¶
func (UnimplementedDaemonServer) ResumeThread(context.Context, *ResumeThreadRequest) (*ThreadResponse, error)
func (UnimplementedDaemonServer) SetAgentBilling ¶
func (UnimplementedDaemonServer) SetAgentBilling(context.Context, *SetAgentBillingRequest) (*SetAgentBillingResponse, error)
func (UnimplementedDaemonServer) SetLeases ¶
func (UnimplementedDaemonServer) SetLeases(context.Context, *SetInstanceLeasesRequest) (*SetInstanceLeasesResponse, error)
func (UnimplementedDaemonServer) SetThreadConfigOption ¶
func (UnimplementedDaemonServer) SetThreadConfigOption(context.Context, *SetThreadConfigOptionRequest) (*SetThreadConfigOptionResponse, error)
func (UnimplementedDaemonServer) StartBrowser ¶
func (UnimplementedDaemonServer) StartBrowser(context.Context, *StartBrowserRequest) (*BrowserInfo, error)
func (UnimplementedDaemonServer) StatFile ¶
func (UnimplementedDaemonServer) StatFile(context.Context, *StatFileRequest) (*StatFileResponse, error)
func (UnimplementedDaemonServer) StopBrowser ¶
func (UnimplementedDaemonServer) StopBrowser(context.Context, *StopBrowserRequest) (*BrowserInfo, error)
func (UnimplementedDaemonServer) SubscribeEvents ¶
func (UnimplementedDaemonServer) SubscribeEvents(*SubscribeEventsRequest, grpc.ServerStreamingServer[DaemonEvent]) error
func (UnimplementedDaemonServer) UpdateQueuedPrompt ¶
func (UnimplementedDaemonServer) UpdateQueuedPrompt(context.Context, *UpdateQueuedPromptRequest) (*UpdateQueuedPromptResponse, error)
func (UnimplementedDaemonServer) WatchFiles ¶
func (UnimplementedDaemonServer) WatchFiles(*WatchFilesRequest, grpc.ServerStreamingServer[FileEvent]) error
func (UnimplementedDaemonServer) WriteFile ¶
func (UnimplementedDaemonServer) WriteFile(context.Context, *WriteFileRequest) (*WriteFileResponse, error)
type UnimplementedGatewayServer ¶
type UnimplementedGatewayServer struct{}
UnimplementedGatewayServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedGatewayServer) AddRepository ¶
func (UnimplementedGatewayServer) AddRepository(context.Context, *AddRepositoryRequest) (*AddRepositoryResponse, error)
func (UnimplementedGatewayServer) CancelInstance ¶
func (UnimplementedGatewayServer) CancelInstance(context.Context, *InstanceActionRequest) (*InstanceActionResponse, error)
func (UnimplementedGatewayServer) CancelPrompt ¶
func (UnimplementedGatewayServer) CancelPrompt(context.Context, *CancelPromptRequest) (*CancelPromptResponse, error)
func (UnimplementedGatewayServer) CloseThread ¶
func (UnimplementedGatewayServer) CloseThread(context.Context, *ThreadActionRequest) (*ThreadResponse, error)
func (UnimplementedGatewayServer) CreateInstance ¶
func (UnimplementedGatewayServer) CreateInstance(context.Context, *CreateInstanceRequest) (*CreateInstanceResponse, error)
func (UnimplementedGatewayServer) CreateThread ¶
func (UnimplementedGatewayServer) CreateThread(context.Context, *CreateThreadRequest) (*ThreadResponse, error)
func (UnimplementedGatewayServer) DeleteSnapshot ¶
func (UnimplementedGatewayServer) DeleteSnapshot(context.Context, *DeleteSnapshotRequest) (*DeleteSnapshotResponse, error)
func (UnimplementedGatewayServer) DeleteThread ¶
func (UnimplementedGatewayServer) DeleteThread(context.Context, *ThreadActionRequest) (*DeleteThreadResponse, error)
func (UnimplementedGatewayServer) ForkThread ¶
func (UnimplementedGatewayServer) ForkThread(context.Context, *ForkThreadRequest) (*ThreadResponse, error)
func (UnimplementedGatewayServer) GetChanges ¶
func (UnimplementedGatewayServer) GetChanges(context.Context, *GetChangesRequest) (*GetChangesResponse, error)
func (UnimplementedGatewayServer) GetSessions ¶
func (UnimplementedGatewayServer) GetSessions(context.Context, *GetSessionsRequest) (*GetSessionsResponse, error)
func (UnimplementedGatewayServer) GetTimeline ¶
func (UnimplementedGatewayServer) GetTimeline(context.Context, *GetTimelineRequest) (*GetTimelineResponse, error)
func (UnimplementedGatewayServer) ImportThread ¶
func (UnimplementedGatewayServer) ImportThread(context.Context, *ImportThreadRequest) (*ThreadResponse, error)
func (UnimplementedGatewayServer) InvalidateAllowlist ¶
func (UnimplementedGatewayServer) InvalidateAllowlist(context.Context, *InvalidateAllowlistRequest) (*InvalidateAllowlistResponse, error)
func (UnimplementedGatewayServer) ListCommands ¶
func (UnimplementedGatewayServer) ListCommands(context.Context, *ListCommandsRequest) (*ListCommandsResponse, error)
func (UnimplementedGatewayServer) ListFiles ¶
func (UnimplementedGatewayServer) ListFiles(context.Context, *ListFilesRequest) (*ListFilesResponse, error)
func (UnimplementedGatewayServer) ListRepositories ¶
func (UnimplementedGatewayServer) ListRepositories(context.Context, *ListRepositoriesRequest) (*ListRepositoriesResponse, error)
func (UnimplementedGatewayServer) ListThreads ¶
func (UnimplementedGatewayServer) ListThreads(context.Context, *ListThreadsRequest) (*ListThreadsResponse, error)
func (UnimplementedGatewayServer) OpenStream ¶
func (UnimplementedGatewayServer) OpenStream(context.Context, *OpenStreamRequest) (*OpenStreamResponse, error)
func (UnimplementedGatewayServer) PreparePullRequest ¶
func (UnimplementedGatewayServer) PreparePullRequest(context.Context, *PreparePullRequestRequest) (*PreparePullRequestResponse, error)
func (UnimplementedGatewayServer) Prompt ¶
func (UnimplementedGatewayServer) Prompt(context.Context, *PromptRequest) (*PromptResponse, error)
func (UnimplementedGatewayServer) ProxyStream ¶
func (UnimplementedGatewayServer) ProxyStream(grpc.BidiStreamingServer[HttpRequest, HttpResponse]) error
func (UnimplementedGatewayServer) ReadFile ¶
func (UnimplementedGatewayServer) ReadFile(context.Context, *ReadFileRequest) (*ReadFileResponse, error)
func (UnimplementedGatewayServer) RespondInteraction ¶
func (UnimplementedGatewayServer) RespondInteraction(context.Context, *RespondInteractionRequest) (*RespondInteractionResponse, error)
func (UnimplementedGatewayServer) ResumeInstance ¶
func (UnimplementedGatewayServer) ResumeInstance(context.Context, *InstanceActionRequest) (*InstanceActionResponse, error)
func (UnimplementedGatewayServer) ResumeThread ¶
func (UnimplementedGatewayServer) ResumeThread(context.Context, *ResumeThreadRequest) (*ThreadResponse, error)
func (UnimplementedGatewayServer) SetAgentBilling ¶
func (UnimplementedGatewayServer) SetAgentBilling(context.Context, *SetAgentBillingRequest) (*SetAgentBillingResponse, error)
func (UnimplementedGatewayServer) SetInstanceLeases ¶
func (UnimplementedGatewayServer) SetInstanceLeases(context.Context, *SetInstanceLeasesRequest) (*SetInstanceLeasesResponse, error)
func (UnimplementedGatewayServer) SetThreadConfigOption ¶
func (UnimplementedGatewayServer) SetThreadConfigOption(context.Context, *SetThreadConfigOptionRequest) (*SetThreadConfigOptionResponse, error)
func (UnimplementedGatewayServer) SnapshotInstance ¶
func (UnimplementedGatewayServer) SnapshotInstance(context.Context, *SnapshotInstanceRequest) (*SnapshotInstanceResponse, error)
func (UnimplementedGatewayServer) StartFromSnapshot ¶
func (UnimplementedGatewayServer) StartFromSnapshot(context.Context, *StartFromSnapshotRequest) (*CreateInstanceResponse, error)
func (UnimplementedGatewayServer) SuspendInstance ¶
func (UnimplementedGatewayServer) SuspendInstance(context.Context, *InstanceActionRequest) (*InstanceActionResponse, error)
func (UnimplementedGatewayServer) UpdateQueuedPrompt ¶
func (UnimplementedGatewayServer) UpdateQueuedPrompt(context.Context, *UpdateQueuedPromptRequest) (*UpdateQueuedPromptResponse, error)
func (UnimplementedGatewayServer) WriteFile ¶
func (UnimplementedGatewayServer) WriteFile(context.Context, *WriteFileRequest) (*WriteFileResponse, error)
type UnimplementedIngestServer ¶
type UnimplementedIngestServer struct{}
UnimplementedIngestServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedIngestServer) DevboxPullRequest ¶
func (UnimplementedIngestServer) DevboxPullRequest(context.Context, *DevboxPullRequestRequest) (*DevboxPullRequestResponse, error)
func (UnimplementedIngestServer) GetInstanceCredentials ¶
func (UnimplementedIngestServer) GetInstanceCredentials(context.Context, *GetInstanceCredentialsRequest) (*GetInstanceCredentialsResponse, error)
func (UnimplementedIngestServer) Heartbeat ¶
func (UnimplementedIngestServer) Heartbeat(context.Context, *HeartbeatRequest) (*HeartbeatResponse, error)
func (UnimplementedIngestServer) PushInstanceDeltas ¶
func (UnimplementedIngestServer) PushInstanceDeltas(context.Context, *PushInstanceDeltasRequest) (*PushInstanceDeltasResponse, error)
func (UnimplementedIngestServer) RegisterGateway ¶
func (UnimplementedIngestServer) RegisterGateway(context.Context, *RegisterGatewayRequest) (*RegisterGatewayResponse, error)
func (UnimplementedIngestServer) ReportInstanceStatus ¶
func (UnimplementedIngestServer) ReportInstanceStatus(context.Context, *ReportInstanceStatusRequest) (*ReportInstanceStatusResponse, error)
func (UnimplementedIngestServer) ReportPullRequest ¶
func (UnimplementedIngestServer) ReportPullRequest(context.Context, *ReportPullRequestRequest) (*ReportPullRequestResponse, error)
func (UnimplementedIngestServer) ReportSnapshot ¶
func (UnimplementedIngestServer) ReportSnapshot(context.Context, *ReportSnapshotRequest) (*ReportSnapshotResponse, error)
func (UnimplementedIngestServer) UpdateAgentCredential ¶
func (UnimplementedIngestServer) UpdateAgentCredential(context.Context, *UpdateAgentCredentialRequest) (*UpdateAgentCredentialResponse, error)
func (UnimplementedIngestServer) UpsertInstanceIndex ¶
func (UnimplementedIngestServer) UpsertInstanceIndex(context.Context, *UpsertInstanceIndexRequest) (*UpsertInstanceIndexResponse, error)
type UnimplementedSandboxCredentialsServer ¶
type UnimplementedSandboxCredentialsServer struct{}
UnimplementedSandboxCredentialsServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedSandboxCredentialsServer) GetSandboxCredential ¶
func (UnimplementedSandboxCredentialsServer) GetSandboxCredential(context.Context, *GetSandboxCredentialRequest) (*GetSandboxCredentialResponse, error)
func (UnimplementedSandboxCredentialsServer) UpdateCodexBundle ¶
func (UnimplementedSandboxCredentialsServer) UpdateCodexBundle(context.Context, *UpdateCodexBundleRequest) (*UpdateCodexBundleResponse, error)
type UnimplementedTunnelServer ¶
type UnimplementedTunnelServer struct{}
UnimplementedTunnelServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
type UnknownVariant ¶
type UnknownVariant struct {
// The discriminator value, e.g. the unrecognized `type` or `sessionUpdate`.
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
// The verbatim JSON object.
RawJson []byte `protobuf:"bytes,2,opt,name=raw_json,json=rawJson,proto3" json:"raw_json,omitempty"`
// contains filtered or unexported fields
}
UnknownVariant preserves a union member, or an entire update, that this contract has no typed message for.
func (*UnknownVariant) Descriptor
deprecated
func (*UnknownVariant) Descriptor() ([]byte, []int)
Deprecated: Use UnknownVariant.ProtoReflect.Descriptor instead.
func (*UnknownVariant) GetRawJson ¶
func (x *UnknownVariant) GetRawJson() []byte
func (*UnknownVariant) GetType ¶
func (x *UnknownVariant) GetType() string
func (*UnknownVariant) ProtoMessage ¶
func (*UnknownVariant) ProtoMessage()
func (*UnknownVariant) ProtoReflect ¶
func (x *UnknownVariant) ProtoReflect() protoreflect.Message
func (*UnknownVariant) Reset ¶
func (x *UnknownVariant) Reset()
func (*UnknownVariant) String ¶
func (x *UnknownVariant) String() string
type UnsafeControlServer ¶
type UnsafeControlServer interface {
// contains filtered or unexported methods
}
UnsafeControlServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ControlServer will result in compilation errors.
type UnsafeDaemonServer ¶
type UnsafeDaemonServer interface {
// contains filtered or unexported methods
}
UnsafeDaemonServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DaemonServer will result in compilation errors.
type UnsafeGatewayServer ¶
type UnsafeGatewayServer interface {
// contains filtered or unexported methods
}
UnsafeGatewayServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GatewayServer will result in compilation errors.
type UnsafeIngestServer ¶
type UnsafeIngestServer interface {
// contains filtered or unexported methods
}
UnsafeIngestServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to IngestServer will result in compilation errors.
type UnsafeSandboxCredentialsServer ¶
type UnsafeSandboxCredentialsServer interface {
// contains filtered or unexported methods
}
UnsafeSandboxCredentialsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SandboxCredentialsServer will result in compilation errors.
type UnsafeTunnelServer ¶
type UnsafeTunnelServer interface {
// contains filtered or unexported methods
}
UnsafeTunnelServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TunnelServer will result in compilation errors.
type UpdateAgentCredentialRequest ¶
type UpdateAgentCredentialRequest struct {
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
CredentialId string `protobuf:"bytes,2,opt,name=credential_id,json=credentialId,proto3" json:"credential_id,omitempty"`
// The version the bundle was derived from.
ExpectedVersion int64 `protobuf:"varint,3,opt,name=expected_version,json=expectedVersion,proto3" json:"expected_version,omitempty"`
// The refreshed auth.json.
BundleJson []byte `protobuf:"bytes,4,opt,name=bundle_json,json=bundleJson,proto3" json:"bundle_json,omitempty"`
RefreshedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=refreshed_at,json=refreshedAt,proto3" json:"refreshed_at,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateAgentCredentialRequest) Descriptor
deprecated
func (*UpdateAgentCredentialRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAgentCredentialRequest.ProtoReflect.Descriptor instead.
func (*UpdateAgentCredentialRequest) GetBundleJson ¶
func (x *UpdateAgentCredentialRequest) GetBundleJson() []byte
func (*UpdateAgentCredentialRequest) GetCredentialId ¶
func (x *UpdateAgentCredentialRequest) GetCredentialId() string
func (*UpdateAgentCredentialRequest) GetExpectedVersion ¶
func (x *UpdateAgentCredentialRequest) GetExpectedVersion() int64
func (*UpdateAgentCredentialRequest) GetInstanceId ¶
func (x *UpdateAgentCredentialRequest) GetInstanceId() string
func (*UpdateAgentCredentialRequest) GetRefreshedAt ¶
func (x *UpdateAgentCredentialRequest) GetRefreshedAt() *timestamppb.Timestamp
func (*UpdateAgentCredentialRequest) ProtoMessage ¶
func (*UpdateAgentCredentialRequest) ProtoMessage()
func (*UpdateAgentCredentialRequest) ProtoReflect ¶
func (x *UpdateAgentCredentialRequest) ProtoReflect() protoreflect.Message
func (*UpdateAgentCredentialRequest) Reset ¶
func (x *UpdateAgentCredentialRequest) Reset()
func (*UpdateAgentCredentialRequest) String ¶
func (x *UpdateAgentCredentialRequest) String() string
type UpdateAgentCredentialResponse ¶
type UpdateAgentCredentialResponse struct {
// False when expected_version was stale; `current` holds the newer bundle to install instead.
Applied bool `protobuf:"varint,1,opt,name=applied,proto3" json:"applied,omitempty"`
Current *InstanceCredential `protobuf:"bytes,2,opt,name=current,proto3" json:"current,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateAgentCredentialResponse) Descriptor
deprecated
func (*UpdateAgentCredentialResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAgentCredentialResponse.ProtoReflect.Descriptor instead.
func (*UpdateAgentCredentialResponse) GetApplied ¶
func (x *UpdateAgentCredentialResponse) GetApplied() bool
func (*UpdateAgentCredentialResponse) GetCurrent ¶
func (x *UpdateAgentCredentialResponse) GetCurrent() *InstanceCredential
func (*UpdateAgentCredentialResponse) ProtoMessage ¶
func (*UpdateAgentCredentialResponse) ProtoMessage()
func (*UpdateAgentCredentialResponse) ProtoReflect ¶
func (x *UpdateAgentCredentialResponse) ProtoReflect() protoreflect.Message
func (*UpdateAgentCredentialResponse) Reset ¶
func (x *UpdateAgentCredentialResponse) Reset()
func (*UpdateAgentCredentialResponse) String ¶
func (x *UpdateAgentCredentialResponse) String() string
type UpdateCodexBundleRequest ¶
type UpdateCodexBundleRequest struct {
CredentialId string `protobuf:"bytes,1,opt,name=credential_id,json=credentialId,proto3" json:"credential_id,omitempty"`
ExpectedVersion int64 `protobuf:"varint,2,opt,name=expected_version,json=expectedVersion,proto3" json:"expected_version,omitempty"`
BundleJson []byte `protobuf:"bytes,3,opt,name=bundle_json,json=bundleJson,proto3" json:"bundle_json,omitempty"`
RefreshedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=refreshed_at,json=refreshedAt,proto3" json:"refreshed_at,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateCodexBundleRequest) Descriptor
deprecated
func (*UpdateCodexBundleRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCodexBundleRequest.ProtoReflect.Descriptor instead.
func (*UpdateCodexBundleRequest) GetBundleJson ¶
func (x *UpdateCodexBundleRequest) GetBundleJson() []byte
func (*UpdateCodexBundleRequest) GetCredentialId ¶
func (x *UpdateCodexBundleRequest) GetCredentialId() string
func (*UpdateCodexBundleRequest) GetExpectedVersion ¶
func (x *UpdateCodexBundleRequest) GetExpectedVersion() int64
func (*UpdateCodexBundleRequest) GetRefreshedAt ¶
func (x *UpdateCodexBundleRequest) GetRefreshedAt() *timestamppb.Timestamp
func (*UpdateCodexBundleRequest) ProtoMessage ¶
func (*UpdateCodexBundleRequest) ProtoMessage()
func (*UpdateCodexBundleRequest) ProtoReflect ¶
func (x *UpdateCodexBundleRequest) ProtoReflect() protoreflect.Message
func (*UpdateCodexBundleRequest) Reset ¶
func (x *UpdateCodexBundleRequest) Reset()
func (*UpdateCodexBundleRequest) String ¶
func (x *UpdateCodexBundleRequest) String() string
type UpdateCodexBundleResponse ¶
type UpdateCodexBundleResponse struct {
Applied bool `protobuf:"varint,1,opt,name=applied,proto3" json:"applied,omitempty"`
// On a stale write, the newer bundle to install.
Current *InstanceCredential `protobuf:"bytes,2,opt,name=current,proto3" json:"current,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateCodexBundleResponse) Descriptor
deprecated
func (*UpdateCodexBundleResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCodexBundleResponse.ProtoReflect.Descriptor instead.
func (*UpdateCodexBundleResponse) GetApplied ¶
func (x *UpdateCodexBundleResponse) GetApplied() bool
func (*UpdateCodexBundleResponse) GetCurrent ¶
func (x *UpdateCodexBundleResponse) GetCurrent() *InstanceCredential
func (*UpdateCodexBundleResponse) ProtoMessage ¶
func (*UpdateCodexBundleResponse) ProtoMessage()
func (*UpdateCodexBundleResponse) ProtoReflect ¶
func (x *UpdateCodexBundleResponse) ProtoReflect() protoreflect.Message
func (*UpdateCodexBundleResponse) Reset ¶
func (x *UpdateCodexBundleResponse) Reset()
func (*UpdateCodexBundleResponse) String ¶
func (x *UpdateCodexBundleResponse) String() string
type UpdateQueuedPromptRequest ¶
type UpdateQueuedPromptRequest struct {
Thread *ThreadRef `protobuf:"bytes,1,opt,name=thread,proto3" json:"thread,omitempty"`
PromptId string `protobuf:"bytes,2,opt,name=prompt_id,json=promptId,proto3" json:"prompt_id,omitempty"`
Action QueuedPromptAction `protobuf:"varint,3,opt,name=action,proto3,enum=devbox.v1.QueuedPromptAction" json:"action,omitempty"`
// The new text, for EDIT.
Text string `protobuf:"bytes,4,opt,name=text,proto3" json:"text,omitempty"`
RequestedBy *Principal `protobuf:"bytes,5,opt,name=requested_by,json=requestedBy,proto3" json:"requested_by,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateQueuedPromptRequest) Descriptor
deprecated
func (*UpdateQueuedPromptRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateQueuedPromptRequest.ProtoReflect.Descriptor instead.
func (*UpdateQueuedPromptRequest) GetAction ¶
func (x *UpdateQueuedPromptRequest) GetAction() QueuedPromptAction
func (*UpdateQueuedPromptRequest) GetPromptId ¶
func (x *UpdateQueuedPromptRequest) GetPromptId() string
func (*UpdateQueuedPromptRequest) GetRequestedBy ¶
func (x *UpdateQueuedPromptRequest) GetRequestedBy() *Principal
func (*UpdateQueuedPromptRequest) GetText ¶
func (x *UpdateQueuedPromptRequest) GetText() string
func (*UpdateQueuedPromptRequest) GetThread ¶
func (x *UpdateQueuedPromptRequest) GetThread() *ThreadRef
func (*UpdateQueuedPromptRequest) ProtoMessage ¶
func (*UpdateQueuedPromptRequest) ProtoMessage()
func (*UpdateQueuedPromptRequest) ProtoReflect ¶
func (x *UpdateQueuedPromptRequest) ProtoReflect() protoreflect.Message
func (*UpdateQueuedPromptRequest) Reset ¶
func (x *UpdateQueuedPromptRequest) Reset()
func (*UpdateQueuedPromptRequest) String ¶
func (x *UpdateQueuedPromptRequest) String() string
type UpdateQueuedPromptResponse ¶
type UpdateQueuedPromptResponse struct {
// False when the prompt had already left the queue (started or dropped).
Updated bool `protobuf:"varint,1,opt,name=updated,proto3" json:"updated,omitempty"`
QueuedPrompts []*QueuedPrompt `protobuf:"bytes,2,rep,name=queued_prompts,json=queuedPrompts,proto3" json:"queued_prompts,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateQueuedPromptResponse) Descriptor
deprecated
func (*UpdateQueuedPromptResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateQueuedPromptResponse.ProtoReflect.Descriptor instead.
func (*UpdateQueuedPromptResponse) GetQueuedPrompts ¶
func (x *UpdateQueuedPromptResponse) GetQueuedPrompts() []*QueuedPrompt
func (*UpdateQueuedPromptResponse) GetUpdated ¶
func (x *UpdateQueuedPromptResponse) GetUpdated() bool
func (*UpdateQueuedPromptResponse) ProtoMessage ¶
func (*UpdateQueuedPromptResponse) ProtoMessage()
func (*UpdateQueuedPromptResponse) ProtoReflect ¶
func (x *UpdateQueuedPromptResponse) ProtoReflect() protoreflect.Message
func (*UpdateQueuedPromptResponse) Reset ¶
func (x *UpdateQueuedPromptResponse) Reset()
func (*UpdateQueuedPromptResponse) String ¶
func (x *UpdateQueuedPromptResponse) String() string
type UpsertInstanceIndexRequest ¶
type UpsertInstanceIndexRequest struct {
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
Sessions []*Session `protobuf:"bytes,2,rep,name=sessions,proto3" json:"sessions,omitempty"`
Interactions []*Interaction `protobuf:"bytes,3,rep,name=interactions,proto3" json:"interactions,omitempty"`
Aggregate *InstanceAggregate `protobuf:"bytes,4,opt,name=aggregate,proto3" json:"aggregate,omitempty"`
// Daemon event offset this index reflects, for diagnostics.
Offset uint64 `protobuf:"varint,5,opt,name=offset,proto3" json:"offset,omitempty"`
// contains filtered or unexported fields
}
func (*UpsertInstanceIndexRequest) Descriptor
deprecated
func (*UpsertInstanceIndexRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpsertInstanceIndexRequest.ProtoReflect.Descriptor instead.
func (*UpsertInstanceIndexRequest) GetAggregate ¶
func (x *UpsertInstanceIndexRequest) GetAggregate() *InstanceAggregate
func (*UpsertInstanceIndexRequest) GetInstanceId ¶
func (x *UpsertInstanceIndexRequest) GetInstanceId() string
func (*UpsertInstanceIndexRequest) GetInteractions ¶
func (x *UpsertInstanceIndexRequest) GetInteractions() []*Interaction
func (*UpsertInstanceIndexRequest) GetOffset ¶
func (x *UpsertInstanceIndexRequest) GetOffset() uint64
func (*UpsertInstanceIndexRequest) GetSessions ¶
func (x *UpsertInstanceIndexRequest) GetSessions() []*Session
func (*UpsertInstanceIndexRequest) ProtoMessage ¶
func (*UpsertInstanceIndexRequest) ProtoMessage()
func (*UpsertInstanceIndexRequest) ProtoReflect ¶
func (x *UpsertInstanceIndexRequest) ProtoReflect() protoreflect.Message
func (*UpsertInstanceIndexRequest) Reset ¶
func (x *UpsertInstanceIndexRequest) Reset()
func (*UpsertInstanceIndexRequest) String ¶
func (x *UpsertInstanceIndexRequest) String() string
type UpsertInstanceIndexResponse ¶
type UpsertInstanceIndexResponse struct {
// Rows applied (stale revisions are skipped silently).
SessionsApplied int32 `protobuf:"varint,1,opt,name=sessions_applied,json=sessionsApplied,proto3" json:"sessions_applied,omitempty"`
InteractionsApplied int32 `protobuf:"varint,2,opt,name=interactions_applied,json=interactionsApplied,proto3" json:"interactions_applied,omitempty"`
// contains filtered or unexported fields
}
func (*UpsertInstanceIndexResponse) Descriptor
deprecated
func (*UpsertInstanceIndexResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpsertInstanceIndexResponse.ProtoReflect.Descriptor instead.
func (*UpsertInstanceIndexResponse) GetInteractionsApplied ¶
func (x *UpsertInstanceIndexResponse) GetInteractionsApplied() int32
func (*UpsertInstanceIndexResponse) GetSessionsApplied ¶
func (x *UpsertInstanceIndexResponse) GetSessionsApplied() int32
func (*UpsertInstanceIndexResponse) ProtoMessage ¶
func (*UpsertInstanceIndexResponse) ProtoMessage()
func (*UpsertInstanceIndexResponse) ProtoReflect ¶
func (x *UpsertInstanceIndexResponse) ProtoReflect() protoreflect.Message
func (*UpsertInstanceIndexResponse) Reset ¶
func (x *UpsertInstanceIndexResponse) Reset()
func (*UpsertInstanceIndexResponse) String ¶
func (x *UpsertInstanceIndexResponse) String() string
type Usage ¶
type Usage struct {
// Tokens used in the context window and its size.
Used int64 `protobuf:"varint,1,opt,name=used,proto3" json:"used,omitempty"`
Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
Cost *Cost `protobuf:"bytes,3,opt,name=cost,proto3" json:"cost,omitempty"`
Billing BillingMode `protobuf:"varint,4,opt,name=billing,proto3,enum=devbox.v1.BillingMode" json:"billing,omitempty"`
Meta *structpb.Struct `protobuf:"bytes,5,opt,name=meta,proto3" json:"meta,omitempty"`
// contains filtered or unexported fields
}
Usage is the session's latest ACP `usage_update`.
func (*Usage) Descriptor
deprecated
func (*Usage) GetBilling ¶
func (x *Usage) GetBilling() BillingMode
func (*Usage) ProtoMessage ¶
func (*Usage) ProtoMessage()
func (*Usage) ProtoReflect ¶
func (x *Usage) ProtoReflect() protoreflect.Message
type WatchFilesRequest ¶
type WatchFilesRequest struct {
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
Recursive bool `protobuf:"varint,3,opt,name=recursive,proto3" json:"recursive,omitempty"`
// contains filtered or unexported fields
}
func (*WatchFilesRequest) Descriptor
deprecated
func (*WatchFilesRequest) Descriptor() ([]byte, []int)
Deprecated: Use WatchFilesRequest.ProtoReflect.Descriptor instead.
func (*WatchFilesRequest) GetInstanceId ¶
func (x *WatchFilesRequest) GetInstanceId() string
func (*WatchFilesRequest) GetPath ¶
func (x *WatchFilesRequest) GetPath() string
func (*WatchFilesRequest) GetRecursive ¶
func (x *WatchFilesRequest) GetRecursive() bool
func (*WatchFilesRequest) ProtoMessage ¶
func (*WatchFilesRequest) ProtoMessage()
func (*WatchFilesRequest) ProtoReflect ¶
func (x *WatchFilesRequest) ProtoReflect() protoreflect.Message
func (*WatchFilesRequest) Reset ¶
func (x *WatchFilesRequest) Reset()
func (*WatchFilesRequest) String ¶
func (x *WatchFilesRequest) String() string
type WriteFileRequest ¶
type WriteFileRequest struct {
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
Content []byte `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`
// When set, the write fails with FILE_CONFLICT unless the current file's sha256 matches. Set to "" to require
// that the file doesn't exist.
ExpectedSha256 *string `protobuf:"bytes,4,opt,name=expected_sha256,json=expectedSha256,proto3,oneof" json:"expected_sha256,omitempty"`
CreateParents bool `protobuf:"varint,5,opt,name=create_parents,json=createParents,proto3" json:"create_parents,omitempty"`
// 0 keeps the existing mode, or 0644 for new files.
Mode uint32 `protobuf:"varint,6,opt,name=mode,proto3" json:"mode,omitempty"`
WrittenBy *Principal `protobuf:"bytes,7,opt,name=written_by,json=writtenBy,proto3" json:"written_by,omitempty"`
// contains filtered or unexported fields
}
func (*WriteFileRequest) Descriptor
deprecated
func (*WriteFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use WriteFileRequest.ProtoReflect.Descriptor instead.
func (*WriteFileRequest) GetContent ¶
func (x *WriteFileRequest) GetContent() []byte
func (*WriteFileRequest) GetCreateParents ¶
func (x *WriteFileRequest) GetCreateParents() bool
func (*WriteFileRequest) GetExpectedSha256 ¶
func (x *WriteFileRequest) GetExpectedSha256() string
func (*WriteFileRequest) GetInstanceId ¶
func (x *WriteFileRequest) GetInstanceId() string
func (*WriteFileRequest) GetMode ¶
func (x *WriteFileRequest) GetMode() uint32
func (*WriteFileRequest) GetPath ¶
func (x *WriteFileRequest) GetPath() string
func (*WriteFileRequest) GetWrittenBy ¶
func (x *WriteFileRequest) GetWrittenBy() *Principal
func (*WriteFileRequest) ProtoMessage ¶
func (*WriteFileRequest) ProtoMessage()
func (*WriteFileRequest) ProtoReflect ¶
func (x *WriteFileRequest) ProtoReflect() protoreflect.Message
func (*WriteFileRequest) Reset ¶
func (x *WriteFileRequest) Reset()
func (*WriteFileRequest) String ¶
func (x *WriteFileRequest) String() string
type WriteFileResponse ¶
type WriteFileResponse struct {
Entry *FileEntry `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"`
Sha256 string `protobuf:"bytes,2,opt,name=sha256,proto3" json:"sha256,omitempty"`
// contains filtered or unexported fields
}
func (*WriteFileResponse) Descriptor
deprecated
func (*WriteFileResponse) Descriptor() ([]byte, []int)
Deprecated: Use WriteFileResponse.ProtoReflect.Descriptor instead.
func (*WriteFileResponse) GetEntry ¶
func (x *WriteFileResponse) GetEntry() *FileEntry
func (*WriteFileResponse) GetSha256 ¶
func (x *WriteFileResponse) GetSha256() string
func (*WriteFileResponse) ProtoMessage ¶
func (*WriteFileResponse) ProtoMessage()
func (*WriteFileResponse) ProtoReflect ¶
func (x *WriteFileResponse) ProtoReflect() protoreflect.Message
func (*WriteFileResponse) Reset ¶
func (x *WriteFileResponse) Reset()
func (*WriteFileResponse) String ¶
func (x *WriteFileResponse) String() string