devboxv1

package
v0.6.76 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2026 License: AGPL-3.0, Apache-2.0, MIT Imports: 14 Imported by: 0

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

View Source
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"
)
View Source
const (
	SandboxCredentials_GetSandboxCredential_FullMethodName = "/devbox.v1.SandboxCredentials/GetSandboxCredential"
	SandboxCredentials_UpdateCodexBundle_FullMethodName    = "/devbox.v1.SandboxCredentials/UpdateCodexBundle"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
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.

View Source
const (
	Tunnel_Connect_FullMethodName = "/devbox.v1.Tunnel/Connect"
)

Variables

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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)

View Source
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)

View Source
var File_devbox_v1_acp_proto protoreflect.FileDescriptor
View Source
var File_devbox_v1_common_proto protoreflect.FileDescriptor
View Source
var File_devbox_v1_control_proto protoreflect.FileDescriptor
View Source
var File_devbox_v1_credentials_proto protoreflect.FileDescriptor
View Source
var File_devbox_v1_daemon_proto protoreflect.FileDescriptor
View Source
var File_devbox_v1_gateway_proto protoreflect.FileDescriptor
View Source
var File_devbox_v1_ingest_proto protoreflect.FileDescriptor
View Source
var File_devbox_v1_workspace_proto protoreflect.FileDescriptor
View Source
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)

View Source
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)

View Source
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)

View Source
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

func GatewayMethodForControl(fullMethod string) (string, bool)

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) Descriptor() ([]byte, []int)

Deprecated: Use AcpEntity.ProtoReflect.Descriptor instead.

func (*AcpEntity) GetAcpJson

func (x *AcpEntity) GetAcpJson() []byte

func (*AcpEntity) GetBody

func (x *AcpEntity) GetBody() isAcpEntity_Body

func (*AcpEntity) GetCompaction

func (x *AcpEntity) GetCompaction() *CompactionEntity

func (*AcpEntity) GetCreatedAt

func (x *AcpEntity) GetCreatedAt() *timestamppb.Timestamp

func (*AcpEntity) GetKey

func (x *AcpEntity) GetKey() *EntityKey

func (*AcpEntity) GetMessage

func (x *AcpEntity) GetMessage() *MessageEntity

func (*AcpEntity) GetPlan

func (x *AcpEntity) GetPlan() *PlanEntity

func (*AcpEntity) GetPosition

func (x *AcpEntity) GetPosition() uint64

func (*AcpEntity) GetRevision

func (x *AcpEntity) GetRevision() uint64

func (*AcpEntity) GetSessionMessage

func (x *AcpEntity) GetSessionMessage() *SessionMessageEntity

func (*AcpEntity) GetSettled

func (x *AcpEntity) GetSettled() bool

func (*AcpEntity) GetTerminal

func (x *AcpEntity) GetTerminal() *TerminalEntity

func (*AcpEntity) GetToolCall

func (x *AcpEntity) GetToolCall() *ToolCall

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

func (*AcpEntity) Reset

func (x *AcpEntity) Reset()

func (*AcpEntity) String

func (x *AcpEntity) String() string

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).

const (
	AgentType_AGENT_TYPE_UNSPECIFIED AgentType = 0
	AgentType_AGENT_TYPE_CLAUDE      AgentType = 1
	AgentType_AGENT_TYPE_CODEX       AgentType = 2
	AgentType_AGENT_TYPE_OPENCODE    AgentType = 3
	AgentType_AGENT_TYPE_GEMINI      AgentType = 4
	AgentType_AGENT_TYPE_PI          AgentType = 5
)

func (AgentType) Descriptor

func (AgentType) Descriptor() protoreflect.EnumDescriptor

func (AgentType) Enum

func (x AgentType) Enum() *AgentType

func (AgentType) EnumDescriptor deprecated

func (AgentType) EnumDescriptor() ([]byte, []int)

Deprecated: Use AgentType.Descriptor instead.

func (AgentType) Number

func (x AgentType) Number() protoreflect.EnumNumber

func (AgentType) String

func (x AgentType) String() string

func (AgentType) Type

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) Enum

func (x Autonomy) Enum() *Autonomy

func (Autonomy) EnumDescriptor deprecated

func (Autonomy) EnumDescriptor() ([]byte, []int)

Deprecated: Use Autonomy.Descriptor instead.

func (Autonomy) Number

func (x Autonomy) Number() protoreflect.EnumNumber

func (Autonomy) String

func (x Autonomy) String() string

func (Autonomy) Type

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) 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

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) Enum

func (x BusyReasonKind) Enum() *BusyReasonKind

func (BusyReasonKind) EnumDescriptor deprecated

func (BusyReasonKind) EnumDescriptor() ([]byte, []int)

Deprecated: Use BusyReasonKind.Descriptor instead.

func (BusyReasonKind) Number

func (BusyReasonKind) String

func (x BusyReasonKind) String() string

func (BusyReasonKind) Type

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) Enum

func (x ChangeStatus) Enum() *ChangeStatus

func (ChangeStatus) EnumDescriptor deprecated

func (ChangeStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use ChangeStatus.Descriptor instead.

func (ChangeStatus) Number

func (ChangeStatus) String

func (x ChangeStatus) String() string

func (ChangeStatus) Type

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) 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

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) Descriptor() ([]byte, []int)

Deprecated: Use Checkout.ProtoReflect.Descriptor instead.

func (*Checkout) GetAhead

func (x *Checkout) GetAhead() int32

func (*Checkout) GetBehind

func (x *Checkout) GetBehind() int32

func (*Checkout) GetBranch

func (x *Checkout) GetBranch() string

func (*Checkout) GetDefaultBranch

func (x *Checkout) GetDefaultBranch() string

func (*Checkout) GetDirty

func (x *Checkout) GetDirty() bool

func (*Checkout) GetHeadSha

func (x *Checkout) GetHeadSha() string

func (*Checkout) GetName

func (x *Checkout) GetName() string

func (*Checkout) GetPath

func (x *Checkout) GetPath() string

func (*Checkout) GetRemoteUrl

func (x *Checkout) GetRemoteUrl() string

func (*Checkout) GetWorktreeThreadId

func (x *Checkout) GetWorktreeThreadId() string

func (*Checkout) ProtoMessage

func (*Checkout) ProtoMessage()

func (*Checkout) ProtoReflect

func (x *Checkout) ProtoReflect() protoreflect.Message

func (*Checkout) Reset

func (x *Checkout) Reset()

func (*Checkout) String

func (x *Checkout) String() string

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) Enum

func (CodexCredentialMode) EnumDescriptor deprecated

func (CodexCredentialMode) EnumDescriptor() ([]byte, []int)

Deprecated: Use CodexCredentialMode.Descriptor instead.

func (CodexCredentialMode) Number

func (CodexCredentialMode) String

func (x CodexCredentialMode) String() string

func (CodexCredentialMode) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use CommitSha.ProtoReflect.Descriptor instead.

func (*CommitSha) GetBranch

func (x *CommitSha) GetBranch() string

func (*CommitSha) GetSha

func (x *CommitSha) GetSha() string

func (*CommitSha) ProtoMessage

func (*CommitSha) ProtoMessage()

func (*CommitSha) ProtoReflect

func (x *CommitSha) ProtoReflect() protoreflect.Message

func (*CommitSha) Reset

func (x *CommitSha) Reset()

func (*CommitSha) String

func (x *CommitSha) String() string

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 (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 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) Descriptor() ([]byte, []int)

Deprecated: Use Cost.ProtoReflect.Descriptor instead.

func (*Cost) GetAmount

func (x *Cost) GetAmount() float64

func (*Cost) GetCurrency

func (x *Cost) GetCurrency() string

func (*Cost) ProtoMessage

func (*Cost) ProtoMessage()

func (*Cost) ProtoReflect

func (x *Cost) ProtoReflect() protoreflect.Message

func (*Cost) Reset

func (x *Cost) Reset()

func (*Cost) String

func (x *Cost) String() string

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) Enum

func (x CredentialKind) Enum() *CredentialKind

func (CredentialKind) EnumDescriptor deprecated

func (CredentialKind) EnumDescriptor() ([]byte, []int)

Deprecated: Use CredentialKind.Descriptor instead.

func (CredentialKind) Number

func (CredentialKind) String

func (x CredentialKind) String() string

func (CredentialKind) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use Delta.ProtoReflect.Descriptor instead.

func (*Delta) GetEmittedAt

func (x *Delta) GetEmittedAt() *timestamppb.Timestamp

func (*Delta) GetEntity

func (x *Delta) GetEntity() *AcpEntity

func (*Delta) GetEntityId

func (x *Delta) GetEntityId() string

func (*Delta) GetEntityType

func (x *Delta) GetEntityType() EntityType

func (*Delta) GetInstanceId

func (x *Delta) GetInstanceId() string

func (*Delta) GetOffset

func (x *Delta) GetOffset() uint64

func (*Delta) GetOp

func (x *Delta) GetOp() DeltaOp

func (*Delta) GetPayloadJson

func (x *Delta) GetPayloadJson() []byte

func (*Delta) GetPosition

func (x *Delta) GetPosition() uint64

func (*Delta) GetSeq

func (x *Delta) GetSeq() uint64

func (*Delta) GetSessionId

func (x *Delta) GetSessionId() string

func (*Delta) GetStateKind

func (x *Delta) GetStateKind() string

func (*Delta) GetStream

func (x *Delta) GetStream() string

func (*Delta) ProtoMessage

func (*Delta) ProtoMessage()

func (*Delta) ProtoReflect

func (x *Delta) ProtoReflect() protoreflect.Message

func (*Delta) Reset

func (x *Delta) Reset()

func (*Delta) String

func (x *Delta) String() string

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) Enum

func (x DeltaOp) Enum() *DeltaOp

func (DeltaOp) EnumDescriptor deprecated

func (DeltaOp) EnumDescriptor() ([]byte, []int)

Deprecated: Use DeltaOp.Descriptor instead.

func (DeltaOp) Number

func (x DeltaOp) Number() protoreflect.EnumNumber

func (DeltaOp) String

func (x DeltaOp) String() string

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 (*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) Descriptor() ([]byte, []int)

Deprecated: Use Diff.ProtoReflect.Descriptor instead.

func (*Diff) GetMeta

func (x *Diff) GetMeta() *structpb.Struct

func (*Diff) GetNewText

func (x *Diff) GetNewText() string

func (*Diff) GetOldText

func (x *Diff) GetOldText() string

func (*Diff) GetPath

func (x *Diff) GetPath() string

func (*Diff) ProtoMessage

func (*Diff) ProtoMessage()

func (*Diff) ProtoReflect

func (x *Diff) ProtoReflect() protoreflect.Message

func (*Diff) Reset

func (x *Diff) Reset()

func (*Diff) String

func (x *Diff) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use EntityKey.ProtoReflect.Descriptor instead.

func (*EntityKey) GetId

func (x *EntityKey) GetId() string

func (*EntityKey) GetSessionId

func (x *EntityKey) GetSessionId() string

func (*EntityKey) GetType

func (x *EntityKey) GetType() EntityType

func (*EntityKey) ProtoMessage

func (*EntityKey) ProtoMessage()

func (*EntityKey) ProtoReflect

func (x *EntityKey) ProtoReflect() protoreflect.Message

func (*EntityKey) Reset

func (x *EntityKey) Reset()

func (*EntityKey) String

func (x *EntityKey) String() string

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

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) 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

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) Descriptor() ([]byte, []int)

Deprecated: Use FileEntry.ProtoReflect.Descriptor instead.

func (*FileEntry) GetGitStatus

func (x *FileEntry) GetGitStatus() string

func (*FileEntry) GetMode

func (x *FileEntry) GetMode() uint32

func (*FileEntry) GetModifiedAt

func (x *FileEntry) GetModifiedAt() *timestamppb.Timestamp

func (*FileEntry) GetName

func (x *FileEntry) GetName() string

func (*FileEntry) GetPath

func (x *FileEntry) GetPath() string

func (*FileEntry) GetRepository

func (x *FileEntry) GetRepository() string

func (*FileEntry) GetSize

func (x *FileEntry) GetSize() int64

func (*FileEntry) GetSymlinkTarget

func (x *FileEntry) GetSymlinkTarget() string

func (*FileEntry) GetType

func (x *FileEntry) GetType() FileType

func (*FileEntry) ProtoMessage

func (*FileEntry) ProtoMessage()

func (*FileEntry) ProtoReflect

func (x *FileEntry) ProtoReflect() protoreflect.Message

func (*FileEntry) Reset

func (x *FileEntry) Reset()

func (*FileEntry) String

func (x *FileEntry) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use FileEvent.ProtoReflect.Descriptor instead.

func (*FileEvent) GetEntry

func (x *FileEvent) GetEntry() *FileEntry

func (*FileEvent) GetOldPath

func (x *FileEvent) GetOldPath() string

func (*FileEvent) GetPath

func (x *FileEvent) GetPath() string

func (*FileEvent) GetType

func (x *FileEvent) GetType() FileEventType

func (*FileEvent) ProtoMessage

func (*FileEvent) ProtoMessage()

func (*FileEvent) ProtoReflect

func (x *FileEvent) ProtoReflect() protoreflect.Message

func (*FileEvent) Reset

func (x *FileEvent) Reset()

func (*FileEvent) String

func (x *FileEvent) String() string

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) Enum

func (x FileEventType) Enum() *FileEventType

func (FileEventType) EnumDescriptor deprecated

func (FileEventType) EnumDescriptor() ([]byte, []int)

Deprecated: Use FileEventType.Descriptor instead.

func (FileEventType) Number

func (FileEventType) String

func (x FileEventType) String() string

func (FileEventType) Type

type FileType

type FileType int32
const (
	FileType_FILE_TYPE_UNSPECIFIED FileType = 0
	FileType_FILE_TYPE_FILE        FileType = 1
	FileType_FILE_TYPE_DIRECTORY   FileType = 2
	FileType_FILE_TYPE_SYMLINK     FileType = 3
	FileType_FILE_TYPE_OTHER       FileType = 4
)

func (FileType) Descriptor

func (FileType) Descriptor() protoreflect.EnumDescriptor

func (FileType) Enum

func (x FileType) Enum() *FileType

func (FileType) EnumDescriptor deprecated

func (FileType) EnumDescriptor() ([]byte, []int)

Deprecated: Use FileType.Descriptor instead.

func (FileType) Number

func (x FileType) Number() protoreflect.EnumNumber

func (FileType) String

func (x FileType) String() string

func (FileType) Type

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) Enum

func (ForegroundStateKind) EnumDescriptor deprecated

func (ForegroundStateKind) EnumDescriptor() ([]byte, []int)

Deprecated: Use ForegroundStateKind.Descriptor instead.

func (ForegroundStateKind) Number

func (ForegroundStateKind) String

func (x ForegroundStateKind) String() string

func (ForegroundStateKind) Type

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 (*GetInstanceCredentialsRequest) Reset

func (x *GetInstanceCredentialsRequest) Reset()

func (*GetInstanceCredentialsRequest) 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 (*GetInstanceCredentialsResponse) Reset

func (x *GetInstanceCredentialsResponse) Reset()

func (*GetInstanceCredentialsResponse) 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 (*GetSandboxCredentialRequest) ProtoMessage

func (*GetSandboxCredentialRequest) ProtoMessage()

func (*GetSandboxCredentialRequest) ProtoReflect

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 (*GetSandboxCredentialResponse) Reset

func (x *GetSandboxCredentialResponse) Reset()

func (*GetSandboxCredentialResponse) 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) Descriptor() ([]byte, []int)

Deprecated: Use IdleState.ProtoReflect.Descriptor instead.

func (*IdleState) GetBusyReasons

func (x *IdleState) GetBusyReasons() []*BusyReason

func (*IdleState) GetEvaluatedAt

func (x *IdleState) GetEvaluatedAt() *timestamppb.Timestamp

func (*IdleState) GetIdle

func (x *IdleState) GetIdle() bool

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

func (*IdleState) Reset

func (x *IdleState) Reset()

func (*IdleState) String

func (x *IdleState) String() string

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) Enum

func (x InstanceStatus) Enum() *InstanceStatus

func (InstanceStatus) EnumDescriptor deprecated

func (InstanceStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use InstanceStatus.Descriptor instead.

func (InstanceStatus) Number

func (InstanceStatus) String

func (x InstanceStatus) String() string

func (InstanceStatus) Type

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) Enum

func (x InteractionKind) Enum() *InteractionKind

func (InteractionKind) EnumDescriptor deprecated

func (InteractionKind) EnumDescriptor() ([]byte, []int)

Deprecated: Use InteractionKind.Descriptor instead.

func (InteractionKind) Number

func (InteractionKind) String

func (x InteractionKind) String() string

func (InteractionKind) Type

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) Enum

func (InteractionState) EnumDescriptor deprecated

func (InteractionState) EnumDescriptor() ([]byte, []int)

Deprecated: Use InteractionState.Descriptor instead.

func (InteractionState) Number

func (InteractionState) String

func (x InteractionState) String() string

func (InteractionState) Type

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 (*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 (*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) Descriptor() ([]byte, []int)

Deprecated: Use Lease.ProtoReflect.Descriptor instead.

func (*Lease) GetExpiresAt

func (x *Lease) GetExpiresAt() *timestamppb.Timestamp

func (*Lease) GetHolder

func (x *Lease) GetHolder() *Principal

func (*Lease) GetKind

func (x *Lease) GetKind() LeaseKind

func (*Lease) GetRequestedUntil

func (x *Lease) GetRequestedUntil() *timestamppb.Timestamp

func (*Lease) ProtoMessage

func (*Lease) ProtoMessage()

func (*Lease) ProtoReflect

func (x *Lease) ProtoReflect() protoreflect.Message

func (*Lease) Reset

func (x *Lease) Reset()

func (*Lease) String

func (x *Lease) String() string

type LeaseKind

type LeaseKind int32
const (
	LeaseKind_LEASE_KIND_UNSPECIFIED LeaseKind = 0
	// A visible workbench tab, or a CLI attach/port-forward session. Always keeps the box awake.
	LeaseKind_LEASE_KIND_VIEWER LeaseKind = 1
	// "Keep awake until T", clamped to maxDeferral.
	LeaseKind_LEASE_KIND_DEFERRAL LeaseKind = 2
)

func (LeaseKind) Descriptor

func (LeaseKind) Descriptor() protoreflect.EnumDescriptor

func (LeaseKind) Enum

func (x LeaseKind) Enum() *LeaseKind

func (LeaseKind) EnumDescriptor deprecated

func (LeaseKind) EnumDescriptor() ([]byte, []int)

Deprecated: Use LeaseKind.Descriptor instead.

func (LeaseKind) Number

func (x LeaseKind) Number() protoreflect.EnumNumber

func (LeaseKind) String

func (x LeaseKind) String() string

func (LeaseKind) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use PlanEntry.ProtoReflect.Descriptor instead.

func (*PlanEntry) GetContent

func (x *PlanEntry) GetContent() string

func (*PlanEntry) GetMeta

func (x *PlanEntry) GetMeta() *structpb.Struct

func (*PlanEntry) GetPriority

func (x *PlanEntry) GetPriority() string

func (*PlanEntry) GetStatus

func (x *PlanEntry) GetStatus() string

func (*PlanEntry) ProtoMessage

func (*PlanEntry) ProtoMessage()

func (*PlanEntry) ProtoReflect

func (x *PlanEntry) ProtoReflect() protoreflect.Message

func (*PlanEntry) Reset

func (x *PlanEntry) Reset()

func (*PlanEntry) String

func (x *PlanEntry) String() string

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 (*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 (*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"`
	// Snapshot only: the snapshot will be named or shared (stop subscription-backed Codex processes).
	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) Descriptor() ([]byte, []int)

Deprecated: Use Principal.ProtoReflect.Descriptor instead.

func (*Principal) GetEmail

func (x *Principal) GetEmail() string

func (*Principal) GetName

func (x *Principal) GetName() string

func (*Principal) GetPolicy

func (x *Principal) GetPolicy() string

func (*Principal) GetUserId

func (x *Principal) GetUserId() string

func (*Principal) ProtoMessage

func (*Principal) ProtoMessage()

func (*Principal) ProtoReflect

func (x *Principal) ProtoReflect() protoreflect.Message

func (*Principal) Reset

func (x *Principal) Reset()

func (*Principal) String

func (x *Principal) String() string

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) 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

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) Enum

func (PromptDisposition) EnumDescriptor deprecated

func (PromptDisposition) EnumDescriptor() ([]byte, []int)

Deprecated: Use PromptDisposition.Descriptor instead.

func (PromptDisposition) Number

func (PromptDisposition) String

func (x PromptDisposition) String() string

func (PromptDisposition) Type

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 (*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 (*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) Enum

func (QueuedPromptAction) EnumDescriptor deprecated

func (QueuedPromptAction) EnumDescriptor() ([]byte, []int)

Deprecated: Use QueuedPromptAction.Descriptor instead.

func (QueuedPromptAction) Number

func (QueuedPromptAction) String

func (x QueuedPromptAction) String() string

func (QueuedPromptAction) Type

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 (*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 (*ReportInstanceStatusRequest) GetStatus

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 (*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 (*ReportInstanceStatusResponse) ProtoMessage

func (*ReportInstanceStatusResponse) ProtoMessage()

func (*ReportInstanceStatusResponse) ProtoReflect

func (*ReportInstanceStatusResponse) Reset

func (x *ReportInstanceStatusResponse) Reset()

func (*ReportInstanceStatusResponse) 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 (*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 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 (*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 (*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 (*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) Descriptor() ([]byte, []int)

Deprecated: Use Review.ProtoReflect.Descriptor instead.

func (*Review) GetConfidence

func (x *Review) GetConfidence() float64

func (*Review) GetEscalation

func (x *Review) GetEscalation() string

func (*Review) GetModel

func (x *Review) GetModel() string

func (*Review) GetRisk

func (x *Review) GetRisk() string

func (*Review) GetVerdict

func (x *Review) GetVerdict() string

func (*Review) ProtoMessage

func (*Review) ProtoMessage()

func (*Review) ProtoReflect

func (x *Review) ProtoReflect() protoreflect.Message

func (*Review) Reset

func (x *Review) Reset()

func (*Review) String

func (x *Review) String() string

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.

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) Descriptor() ([]byte, []int)

Deprecated: Use Session.ProtoReflect.Descriptor instead.

func (*Session) GetAgent

func (x *Session) GetAgent() AgentType

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 (x *Session) GetCreatedBy() *Principal

func (*Session) GetCwd

func (x *Session) GetCwd() string

func (*Session) GetEntityCount

func (x *Session) GetEntityCount() uint64

func (*Session) GetForeground

func (x *Session) GetForeground() *ForegroundState

func (*Session) GetImported

func (x *Session) GetImported() bool

func (*Session) GetKind

func (x *Session) GetKind() SessionKind

func (*Session) GetLastActivityAt

func (x *Session) GetLastActivityAt() *timestamppb.Timestamp

func (*Session) GetMeta

func (x *Session) GetMeta() *structpb.Struct

func (*Session) GetParentSessionId

func (x *Session) GetParentSessionId() string

func (*Session) GetParentToolCallId

func (x *Session) GetParentToolCallId() string

func (*Session) GetQueuedPrompts

func (x *Session) GetQueuedPrompts() []*QueuedPrompt

func (*Session) GetRevision

func (x *Session) GetRevision() uint64

func (*Session) GetSessionId

func (x *Session) GetSessionId() string

func (*Session) GetStatus

func (x *Session) GetStatus() ThreadStatus

func (*Session) GetThreadId

func (x *Session) GetThreadId() string

func (*Session) GetTitle

func (x *Session) GetTitle() string

func (*Session) GetUsage

func (x *Session) GetUsage() *Usage

func (*Session) GetWorktreeRepos

func (x *Session) GetWorktreeRepos() []string

func (*Session) ProtoMessage

func (*Session) ProtoMessage()

func (*Session) ProtoReflect

func (x *Session) ProtoReflect() protoreflect.Message

func (*Session) Reset

func (x *Session) Reset()

func (*Session) String

func (x *Session) String() string

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) 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

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 (*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 (*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 (*SetThreadConfigOptionRequest) Reset

func (x *SetThreadConfigOptionRequest) Reset()

func (*SetThreadConfigOptionRequest) 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 (*SetThreadConfigOptionResponse) Reset

func (x *SetThreadConfigOptionResponse) Reset()

func (*SetThreadConfigOptionResponse) 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) Enum

func (SnapshotFidelity) EnumDescriptor deprecated

func (SnapshotFidelity) EnumDescriptor() ([]byte, []int)

Deprecated: Use SnapshotFidelity.Descriptor instead.

func (SnapshotFidelity) Number

func (SnapshotFidelity) String

func (x SnapshotFidelity) String() string

func (SnapshotFidelity) Type

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).
	Shared      bool       `protobuf:"varint,5,opt,name=shared,proto3" json:"shared,omitempty"`
	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) Enum

func (x SnapshotState) Enum() *SnapshotState

func (SnapshotState) EnumDescriptor deprecated

func (SnapshotState) EnumDescriptor() ([]byte, []int)

Deprecated: Use SnapshotState.Descriptor instead.

func (SnapshotState) Number

func (SnapshotState) String

func (x SnapshotState) String() string

func (SnapshotState) Type

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 (*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

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) Enum

func (x SuspendReason) Enum() *SuspendReason

func (SuspendReason) EnumDescriptor deprecated

func (SuspendReason) EnumDescriptor() ([]byte, []int)

Deprecated: Use SuspendReason.Descriptor instead.

func (SuspendReason) Number

func (SuspendReason) String

func (x SuspendReason) String() string

func (SuspendReason) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use ThreadRef.ProtoReflect.Descriptor instead.

func (*ThreadRef) GetInstanceId

func (x *ThreadRef) GetInstanceId() string

func (*ThreadRef) GetSessionId

func (x *ThreadRef) GetSessionId() string

func (*ThreadRef) GetThreadId

func (x *ThreadRef) GetThreadId() string

func (*ThreadRef) ProtoMessage

func (*ThreadRef) ProtoMessage()

func (*ThreadRef) ProtoReflect

func (x *ThreadRef) ProtoReflect() protoreflect.Message

func (*ThreadRef) Reset

func (x *ThreadRef) Reset()

func (*ThreadRef) String

func (x *ThreadRef) String() string

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) Enum

func (x ThreadStatus) Enum() *ThreadStatus

func (ThreadStatus) EnumDescriptor deprecated

func (ThreadStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use ThreadStatus.Descriptor instead.

func (ThreadStatus) Number

func (ThreadStatus) String

func (x ThreadStatus) String() string

func (ThreadStatus) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use ToolCall.ProtoReflect.Descriptor instead.

func (*ToolCall) GetContent

func (x *ToolCall) GetContent() []*ToolCallContent

func (*ToolCall) GetKind

func (x *ToolCall) GetKind() string

func (*ToolCall) GetLocations

func (x *ToolCall) GetLocations() []*ToolCallLocation

func (*ToolCall) GetMeta

func (x *ToolCall) GetMeta() *structpb.Struct

func (*ToolCall) GetRawInput

func (x *ToolCall) GetRawInput() *structpb.Value

func (*ToolCall) GetRawOutput

func (x *ToolCall) GetRawOutput() *structpb.Value

func (*ToolCall) GetStatus

func (x *ToolCall) GetStatus() string

func (*ToolCall) GetTitle

func (x *ToolCall) GetTitle() string

func (*ToolCall) GetToolCallId

func (x *ToolCall) GetToolCallId() string

func (*ToolCall) ProtoMessage

func (*ToolCall) ProtoMessage()

func (*ToolCall) ProtoReflect

func (x *ToolCall) ProtoReflect() protoreflect.Message

func (*ToolCall) Reset

func (x *ToolCall) Reset()

func (*ToolCall) String

func (x *ToolCall) String() string

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

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Tunnel_ConnectServer

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) CancelInstance

func (UnimplementedControlServer) CancelPrompt

func (UnimplementedControlServer) CloseThread

func (UnimplementedControlServer) CreateInstance

func (UnimplementedControlServer) CreateThread

func (UnimplementedControlServer) DeleteSnapshot

func (UnimplementedControlServer) DeleteThread

func (UnimplementedControlServer) ForkThread

func (UnimplementedControlServer) GetChanges

func (UnimplementedControlServer) GetSessions

func (UnimplementedControlServer) GetTimeline

func (UnimplementedControlServer) ImportThread

func (UnimplementedControlServer) ListCommands

func (UnimplementedControlServer) ListFiles

func (UnimplementedControlServer) ListRepositories

func (UnimplementedControlServer) ListThreads

func (UnimplementedControlServer) OpenStream

func (UnimplementedControlServer) Prompt

func (UnimplementedControlServer) ReadFile

func (UnimplementedControlServer) ResumeInstance

func (UnimplementedControlServer) ResumeThread

func (UnimplementedControlServer) SetAgentBilling

func (UnimplementedControlServer) SnapshotInstance

func (UnimplementedControlServer) StartFromSnapshot

func (UnimplementedControlServer) SuspendInstance

func (UnimplementedControlServer) WriteFile

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) AddRepository

func (UnimplementedDaemonServer) AttachTerminal

func (UnimplementedDaemonServer) CancelPrompt

func (UnimplementedDaemonServer) CloseTerminal

func (UnimplementedDaemonServer) CloseThread

func (UnimplementedDaemonServer) CreateTerminal

func (UnimplementedDaemonServer) CreateThread

func (UnimplementedDaemonServer) DeleteThread

func (UnimplementedDaemonServer) ForkThread

func (UnimplementedDaemonServer) GetBranchDiffStat

func (UnimplementedDaemonServer) GetBrowser

func (UnimplementedDaemonServer) GetChanges

func (UnimplementedDaemonServer) GetIdleState

func (UnimplementedDaemonServer) GetInfo

func (UnimplementedDaemonServer) GetSessions

func (UnimplementedDaemonServer) GetTimeline

func (UnimplementedDaemonServer) Health

func (UnimplementedDaemonServer) ImportThread

func (UnimplementedDaemonServer) Initialize

func (UnimplementedDaemonServer) ListCommands

func (UnimplementedDaemonServer) ListFiles

func (UnimplementedDaemonServer) ListRepositories

func (UnimplementedDaemonServer) ListTerminals

func (UnimplementedDaemonServer) ListThreads

func (UnimplementedDaemonServer) PrepareSuspend

func (UnimplementedDaemonServer) ProbeAgents

func (UnimplementedDaemonServer) Prompt

func (UnimplementedDaemonServer) PushCredential

func (UnimplementedDaemonServer) ReadFile

func (UnimplementedDaemonServer) ResizeTerminal

func (UnimplementedDaemonServer) ResumeThread

func (UnimplementedDaemonServer) SetAgentBilling

func (UnimplementedDaemonServer) StartBrowser

func (UnimplementedDaemonServer) StatFile

func (UnimplementedDaemonServer) StopBrowser

func (UnimplementedDaemonServer) WatchFiles

func (UnimplementedDaemonServer) WriteFile

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) CancelInstance

func (UnimplementedGatewayServer) CancelPrompt

func (UnimplementedGatewayServer) CloseThread

func (UnimplementedGatewayServer) CreateInstance

func (UnimplementedGatewayServer) CreateThread

func (UnimplementedGatewayServer) DeleteSnapshot

func (UnimplementedGatewayServer) DeleteThread

func (UnimplementedGatewayServer) ForkThread

func (UnimplementedGatewayServer) GetChanges

func (UnimplementedGatewayServer) GetSessions

func (UnimplementedGatewayServer) GetTimeline

func (UnimplementedGatewayServer) ImportThread

func (UnimplementedGatewayServer) ListCommands

func (UnimplementedGatewayServer) ListFiles

func (UnimplementedGatewayServer) ListRepositories

func (UnimplementedGatewayServer) ListThreads

func (UnimplementedGatewayServer) OpenStream

func (UnimplementedGatewayServer) Prompt

func (UnimplementedGatewayServer) ProxyStream

func (UnimplementedGatewayServer) ReadFile

func (UnimplementedGatewayServer) ResumeInstance

func (UnimplementedGatewayServer) ResumeThread

func (UnimplementedGatewayServer) SetAgentBilling

func (UnimplementedGatewayServer) SnapshotInstance

func (UnimplementedGatewayServer) StartFromSnapshot

func (UnimplementedGatewayServer) SuspendInstance

func (UnimplementedGatewayServer) WriteFile

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) Heartbeat

func (UnimplementedIngestServer) RegisterGateway

func (UnimplementedIngestServer) ReportSnapshot

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) UpdateCodexBundle

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 (*UpdateAgentCredentialRequest) Reset

func (x *UpdateAgentCredentialRequest) Reset()

func (*UpdateAgentCredentialRequest) 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 (*UpdateAgentCredentialResponse) ProtoMessage

func (*UpdateAgentCredentialResponse) ProtoMessage()

func (*UpdateAgentCredentialResponse) ProtoReflect

func (*UpdateAgentCredentialResponse) Reset

func (x *UpdateAgentCredentialResponse) Reset()

func (*UpdateAgentCredentialResponse) 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 (*UpdateCodexBundleResponse) ProtoMessage

func (*UpdateCodexBundleResponse) ProtoMessage()

func (*UpdateCodexBundleResponse) ProtoReflect

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 (*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 (*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 (*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 (*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 (*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) Descriptor() ([]byte, []int)

Deprecated: Use Usage.ProtoReflect.Descriptor instead.

func (*Usage) GetBilling

func (x *Usage) GetBilling() BillingMode

func (*Usage) GetCost

func (x *Usage) GetCost() *Cost

func (*Usage) GetMeta

func (x *Usage) GetMeta() *structpb.Struct

func (*Usage) GetSize

func (x *Usage) GetSize() int64

func (*Usage) GetUsed

func (x *Usage) GetUsed() int64

func (*Usage) ProtoMessage

func (*Usage) ProtoMessage()

func (*Usage) ProtoReflect

func (x *Usage) ProtoReflect() protoreflect.Message

func (*Usage) Reset

func (x *Usage) Reset()

func (*Usage) String

func (x *Usage) String() string

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL