// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.10
// 	protoc        v3.21.12
// source: kodex/agents/v1/agent_manager.proto

package agentsv1

import (
	v11 "github.com/codex-k8s/kodex/proto/gen/go/kodex/providers/v1"
	v1 "github.com/codex-k8s/kodex/proto/gen/go/kodex/runtime/v1"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	reflect "reflect"
	sync "sync"
	unsafe "unsafe"
)

const (
	// Verify that this generated code is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
	// Verify that runtime/protoimpl is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)

// AgentScopeType classifies scope ownership.
type AgentScopeType int32

const (
	AgentScopeType_AGENT_SCOPE_TYPE_UNSPECIFIED  AgentScopeType = 0
	AgentScopeType_AGENT_SCOPE_TYPE_PLATFORM     AgentScopeType = 1
	AgentScopeType_AGENT_SCOPE_TYPE_ORGANIZATION AgentScopeType = 2
	AgentScopeType_AGENT_SCOPE_TYPE_PROJECT      AgentScopeType = 3
	AgentScopeType_AGENT_SCOPE_TYPE_REPOSITORY   AgentScopeType = 4
)

// Enum value maps for AgentScopeType.
var (
	AgentScopeType_name = map[int32]string{
		0: "AGENT_SCOPE_TYPE_UNSPECIFIED",
		1: "AGENT_SCOPE_TYPE_PLATFORM",
		2: "AGENT_SCOPE_TYPE_ORGANIZATION",
		3: "AGENT_SCOPE_TYPE_PROJECT",
		4: "AGENT_SCOPE_TYPE_REPOSITORY",
	}
	AgentScopeType_value = map[string]int32{
		"AGENT_SCOPE_TYPE_UNSPECIFIED":  0,
		"AGENT_SCOPE_TYPE_PLATFORM":     1,
		"AGENT_SCOPE_TYPE_ORGANIZATION": 2,
		"AGENT_SCOPE_TYPE_PROJECT":      3,
		"AGENT_SCOPE_TYPE_REPOSITORY":   4,
	}
)

func (x AgentScopeType) Enum() *AgentScopeType {
	p := new(AgentScopeType)
	*p = x
	return p
}

func (x AgentScopeType) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (AgentScopeType) Descriptor() protoreflect.EnumDescriptor {
	return file_kodex_agents_v1_agent_manager_proto_enumTypes[0].Descriptor()
}

func (AgentScopeType) Type() protoreflect.EnumType {
	return &file_kodex_agents_v1_agent_manager_proto_enumTypes[0]
}

func (x AgentScopeType) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use AgentScopeType.Descriptor instead.
func (AgentScopeType) EnumDescriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{0}
}

// FlowStatus is the flow lifecycle status.
type FlowStatus int32

const (
	FlowStatus_FLOW_STATUS_UNSPECIFIED FlowStatus = 0
	FlowStatus_FLOW_STATUS_DRAFT       FlowStatus = 1
	FlowStatus_FLOW_STATUS_ACTIVE      FlowStatus = 2
	FlowStatus_FLOW_STATUS_DISABLED    FlowStatus = 3
	FlowStatus_FLOW_STATUS_ARCHIVED    FlowStatus = 4
)

// Enum value maps for FlowStatus.
var (
	FlowStatus_name = map[int32]string{
		0: "FLOW_STATUS_UNSPECIFIED",
		1: "FLOW_STATUS_DRAFT",
		2: "FLOW_STATUS_ACTIVE",
		3: "FLOW_STATUS_DISABLED",
		4: "FLOW_STATUS_ARCHIVED",
	}
	FlowStatus_value = map[string]int32{
		"FLOW_STATUS_UNSPECIFIED": 0,
		"FLOW_STATUS_DRAFT":       1,
		"FLOW_STATUS_ACTIVE":      2,
		"FLOW_STATUS_DISABLED":    3,
		"FLOW_STATUS_ARCHIVED":    4,
	}
)

func (x FlowStatus) Enum() *FlowStatus {
	p := new(FlowStatus)
	*p = x
	return p
}

func (x FlowStatus) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (FlowStatus) Descriptor() protoreflect.EnumDescriptor {
	return file_kodex_agents_v1_agent_manager_proto_enumTypes[1].Descriptor()
}

func (FlowStatus) Type() protoreflect.EnumType {
	return &file_kodex_agents_v1_agent_manager_proto_enumTypes[1]
}

func (x FlowStatus) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use FlowStatus.Descriptor instead.
func (FlowStatus) EnumDescriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{1}
}

// FlowVersionStatus is the immutable flow version lifecycle status.
type FlowVersionStatus int32

const (
	FlowVersionStatus_FLOW_VERSION_STATUS_UNSPECIFIED FlowVersionStatus = 0
	FlowVersionStatus_FLOW_VERSION_STATUS_DRAFT       FlowVersionStatus = 1
	FlowVersionStatus_FLOW_VERSION_STATUS_ACTIVE      FlowVersionStatus = 2
	FlowVersionStatus_FLOW_VERSION_STATUS_SUPERSEDED  FlowVersionStatus = 3
	FlowVersionStatus_FLOW_VERSION_STATUS_REJECTED    FlowVersionStatus = 4
)

// Enum value maps for FlowVersionStatus.
var (
	FlowVersionStatus_name = map[int32]string{
		0: "FLOW_VERSION_STATUS_UNSPECIFIED",
		1: "FLOW_VERSION_STATUS_DRAFT",
		2: "FLOW_VERSION_STATUS_ACTIVE",
		3: "FLOW_VERSION_STATUS_SUPERSEDED",
		4: "FLOW_VERSION_STATUS_REJECTED",
	}
	FlowVersionStatus_value = map[string]int32{
		"FLOW_VERSION_STATUS_UNSPECIFIED": 0,
		"FLOW_VERSION_STATUS_DRAFT":       1,
		"FLOW_VERSION_STATUS_ACTIVE":      2,
		"FLOW_VERSION_STATUS_SUPERSEDED":  3,
		"FLOW_VERSION_STATUS_REJECTED":    4,
	}
)

func (x FlowVersionStatus) Enum() *FlowVersionStatus {
	p := new(FlowVersionStatus)
	*p = x
	return p
}

func (x FlowVersionStatus) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (FlowVersionStatus) Descriptor() protoreflect.EnumDescriptor {
	return file_kodex_agents_v1_agent_manager_proto_enumTypes[2].Descriptor()
}

func (FlowVersionStatus) Type() protoreflect.EnumType {
	return &file_kodex_agents_v1_agent_manager_proto_enumTypes[2]
}

func (x FlowVersionStatus) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use FlowVersionStatus.Descriptor instead.
func (FlowVersionStatus) EnumDescriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{2}
}

// StageType classifies stage behavior inside a flow.
type StageType int32

const (
	StageType_STAGE_TYPE_UNSPECIFIED StageType = 0
	StageType_STAGE_TYPE_WORK        StageType = 1
	StageType_STAGE_TYPE_REVIEW      StageType = 2
	StageType_STAGE_TYPE_GATE        StageType = 3
	StageType_STAGE_TYPE_RELEASE     StageType = 4
	StageType_STAGE_TYPE_OPS         StageType = 5
	StageType_STAGE_TYPE_CUSTOM      StageType = 6
)

// Enum value maps for StageType.
var (
	StageType_name = map[int32]string{
		0: "STAGE_TYPE_UNSPECIFIED",
		1: "STAGE_TYPE_WORK",
		2: "STAGE_TYPE_REVIEW",
		3: "STAGE_TYPE_GATE",
		4: "STAGE_TYPE_RELEASE",
		5: "STAGE_TYPE_OPS",
		6: "STAGE_TYPE_CUSTOM",
	}
	StageType_value = map[string]int32{
		"STAGE_TYPE_UNSPECIFIED": 0,
		"STAGE_TYPE_WORK":        1,
		"STAGE_TYPE_REVIEW":      2,
		"STAGE_TYPE_GATE":        3,
		"STAGE_TYPE_RELEASE":     4,
		"STAGE_TYPE_OPS":         5,
		"STAGE_TYPE_CUSTOM":      6,
	}
)

func (x StageType) Enum() *StageType {
	p := new(StageType)
	*p = x
	return p
}

func (x StageType) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (StageType) Descriptor() protoreflect.EnumDescriptor {
	return file_kodex_agents_v1_agent_manager_proto_enumTypes[3].Descriptor()
}

func (StageType) Type() protoreflect.EnumType {
	return &file_kodex_agents_v1_agent_manager_proto_enumTypes[3]
}

func (x StageType) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use StageType.Descriptor instead.
func (StageType) EnumDescriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{3}
}

// RoleKind classifies agent role behavior.
type RoleKind int32

const (
	RoleKind_ROLE_KIND_UNSPECIFIED RoleKind = 0
	RoleKind_ROLE_KIND_WORKER      RoleKind = 1
	RoleKind_ROLE_KIND_REVIEWER    RoleKind = 2
	RoleKind_ROLE_KIND_GATEKEEPER  RoleKind = 3
	RoleKind_ROLE_KIND_MANAGER     RoleKind = 4
	RoleKind_ROLE_KIND_QA          RoleKind = 5
	RoleKind_ROLE_KIND_OPS         RoleKind = 6
	RoleKind_ROLE_KIND_CUSTOM      RoleKind = 7
)

// Enum value maps for RoleKind.
var (
	RoleKind_name = map[int32]string{
		0: "ROLE_KIND_UNSPECIFIED",
		1: "ROLE_KIND_WORKER",
		2: "ROLE_KIND_REVIEWER",
		3: "ROLE_KIND_GATEKEEPER",
		4: "ROLE_KIND_MANAGER",
		5: "ROLE_KIND_QA",
		6: "ROLE_KIND_OPS",
		7: "ROLE_KIND_CUSTOM",
	}
	RoleKind_value = map[string]int32{
		"ROLE_KIND_UNSPECIFIED": 0,
		"ROLE_KIND_WORKER":      1,
		"ROLE_KIND_REVIEWER":    2,
		"ROLE_KIND_GATEKEEPER":  3,
		"ROLE_KIND_MANAGER":     4,
		"ROLE_KIND_QA":          5,
		"ROLE_KIND_OPS":         6,
		"ROLE_KIND_CUSTOM":      7,
	}
)

func (x RoleKind) Enum() *RoleKind {
	p := new(RoleKind)
	*p = x
	return p
}

func (x RoleKind) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (RoleKind) Descriptor() protoreflect.EnumDescriptor {
	return file_kodex_agents_v1_agent_manager_proto_enumTypes[4].Descriptor()
}

func (RoleKind) Type() protoreflect.EnumType {
	return &file_kodex_agents_v1_agent_manager_proto_enumTypes[4]
}

func (x RoleKind) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use RoleKind.Descriptor instead.
func (RoleKind) EnumDescriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{4}
}

// RoleStatus is the role lifecycle status.
type RoleStatus int32

const (
	RoleStatus_ROLE_STATUS_UNSPECIFIED RoleStatus = 0
	RoleStatus_ROLE_STATUS_DRAFT       RoleStatus = 1
	RoleStatus_ROLE_STATUS_ACTIVE      RoleStatus = 2
	RoleStatus_ROLE_STATUS_DISABLED    RoleStatus = 3
	RoleStatus_ROLE_STATUS_ARCHIVED    RoleStatus = 4
)

// Enum value maps for RoleStatus.
var (
	RoleStatus_name = map[int32]string{
		0: "ROLE_STATUS_UNSPECIFIED",
		1: "ROLE_STATUS_DRAFT",
		2: "ROLE_STATUS_ACTIVE",
		3: "ROLE_STATUS_DISABLED",
		4: "ROLE_STATUS_ARCHIVED",
	}
	RoleStatus_value = map[string]int32{
		"ROLE_STATUS_UNSPECIFIED": 0,
		"ROLE_STATUS_DRAFT":       1,
		"ROLE_STATUS_ACTIVE":      2,
		"ROLE_STATUS_DISABLED":    3,
		"ROLE_STATUS_ARCHIVED":    4,
	}
)

func (x RoleStatus) Enum() *RoleStatus {
	p := new(RoleStatus)
	*p = x
	return p
}

func (x RoleStatus) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (RoleStatus) Descriptor() protoreflect.EnumDescriptor {
	return file_kodex_agents_v1_agent_manager_proto_enumTypes[5].Descriptor()
}

func (RoleStatus) Type() protoreflect.EnumType {
	return &file_kodex_agents_v1_agent_manager_proto_enumTypes[5]
}

func (x RoleStatus) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use RoleStatus.Descriptor instead.
func (RoleStatus) EnumDescriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{5}
}

// PromptKind classifies prompt template purpose.
type PromptKind int32

const (
	PromptKind_PROMPT_KIND_UNSPECIFIED PromptKind = 0
	PromptKind_PROMPT_KIND_WORK        PromptKind = 1
	PromptKind_PROMPT_KIND_REVISE      PromptKind = 2
	PromptKind_PROMPT_KIND_REVIEW      PromptKind = 3
	PromptKind_PROMPT_KIND_MANAGER     PromptKind = 4
	PromptKind_PROMPT_KIND_CUSTOM      PromptKind = 5
)

// Enum value maps for PromptKind.
var (
	PromptKind_name = map[int32]string{
		0: "PROMPT_KIND_UNSPECIFIED",
		1: "PROMPT_KIND_WORK",
		2: "PROMPT_KIND_REVISE",
		3: "PROMPT_KIND_REVIEW",
		4: "PROMPT_KIND_MANAGER",
		5: "PROMPT_KIND_CUSTOM",
	}
	PromptKind_value = map[string]int32{
		"PROMPT_KIND_UNSPECIFIED": 0,
		"PROMPT_KIND_WORK":        1,
		"PROMPT_KIND_REVISE":      2,
		"PROMPT_KIND_REVIEW":      3,
		"PROMPT_KIND_MANAGER":     4,
		"PROMPT_KIND_CUSTOM":      5,
	}
)

func (x PromptKind) Enum() *PromptKind {
	p := new(PromptKind)
	*p = x
	return p
}

func (x PromptKind) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (PromptKind) Descriptor() protoreflect.EnumDescriptor {
	return file_kodex_agents_v1_agent_manager_proto_enumTypes[6].Descriptor()
}

func (PromptKind) Type() protoreflect.EnumType {
	return &file_kodex_agents_v1_agent_manager_proto_enumTypes[6]
}

func (x PromptKind) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use PromptKind.Descriptor instead.
func (PromptKind) EnumDescriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{6}
}

// PromptVersionStatus is the prompt template version lifecycle status.
type PromptVersionStatus int32

const (
	PromptVersionStatus_PROMPT_VERSION_STATUS_UNSPECIFIED PromptVersionStatus = 0
	PromptVersionStatus_PROMPT_VERSION_STATUS_DRAFT       PromptVersionStatus = 1
	PromptVersionStatus_PROMPT_VERSION_STATUS_ACTIVE      PromptVersionStatus = 2
	PromptVersionStatus_PROMPT_VERSION_STATUS_SUPERSEDED  PromptVersionStatus = 3
	PromptVersionStatus_PROMPT_VERSION_STATUS_REJECTED    PromptVersionStatus = 4
)

// Enum value maps for PromptVersionStatus.
var (
	PromptVersionStatus_name = map[int32]string{
		0: "PROMPT_VERSION_STATUS_UNSPECIFIED",
		1: "PROMPT_VERSION_STATUS_DRAFT",
		2: "PROMPT_VERSION_STATUS_ACTIVE",
		3: "PROMPT_VERSION_STATUS_SUPERSEDED",
		4: "PROMPT_VERSION_STATUS_REJECTED",
	}
	PromptVersionStatus_value = map[string]int32{
		"PROMPT_VERSION_STATUS_UNSPECIFIED": 0,
		"PROMPT_VERSION_STATUS_DRAFT":       1,
		"PROMPT_VERSION_STATUS_ACTIVE":      2,
		"PROMPT_VERSION_STATUS_SUPERSEDED":  3,
		"PROMPT_VERSION_STATUS_REJECTED":    4,
	}
)

func (x PromptVersionStatus) Enum() *PromptVersionStatus {
	p := new(PromptVersionStatus)
	*p = x
	return p
}

func (x PromptVersionStatus) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (PromptVersionStatus) Descriptor() protoreflect.EnumDescriptor {
	return file_kodex_agents_v1_agent_manager_proto_enumTypes[7].Descriptor()
}

func (PromptVersionStatus) Type() protoreflect.EnumType {
	return &file_kodex_agents_v1_agent_manager_proto_enumTypes[7]
}

func (x PromptVersionStatus) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use PromptVersionStatus.Descriptor instead.
func (PromptVersionStatus) EnumDescriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{7}
}

// StageRoleBindingKind describes how a role participates in a stage.
type StageRoleBindingKind int32

const (
	StageRoleBindingKind_STAGE_ROLE_BINDING_KIND_UNSPECIFIED StageRoleBindingKind = 0
	StageRoleBindingKind_STAGE_ROLE_BINDING_KIND_EXECUTOR    StageRoleBindingKind = 1
	StageRoleBindingKind_STAGE_ROLE_BINDING_KIND_REVIEWER    StageRoleBindingKind = 2
	StageRoleBindingKind_STAGE_ROLE_BINDING_KIND_GATEKEEPER  StageRoleBindingKind = 3
	StageRoleBindingKind_STAGE_ROLE_BINDING_KIND_QA          StageRoleBindingKind = 4
	StageRoleBindingKind_STAGE_ROLE_BINDING_KIND_OBSERVER    StageRoleBindingKind = 5
	StageRoleBindingKind_STAGE_ROLE_BINDING_KIND_CUSTOM      StageRoleBindingKind = 6
)

// Enum value maps for StageRoleBindingKind.
var (
	StageRoleBindingKind_name = map[int32]string{
		0: "STAGE_ROLE_BINDING_KIND_UNSPECIFIED",
		1: "STAGE_ROLE_BINDING_KIND_EXECUTOR",
		2: "STAGE_ROLE_BINDING_KIND_REVIEWER",
		3: "STAGE_ROLE_BINDING_KIND_GATEKEEPER",
		4: "STAGE_ROLE_BINDING_KIND_QA",
		5: "STAGE_ROLE_BINDING_KIND_OBSERVER",
		6: "STAGE_ROLE_BINDING_KIND_CUSTOM",
	}
	StageRoleBindingKind_value = map[string]int32{
		"STAGE_ROLE_BINDING_KIND_UNSPECIFIED": 0,
		"STAGE_ROLE_BINDING_KIND_EXECUTOR":    1,
		"STAGE_ROLE_BINDING_KIND_REVIEWER":    2,
		"STAGE_ROLE_BINDING_KIND_GATEKEEPER":  3,
		"STAGE_ROLE_BINDING_KIND_QA":          4,
		"STAGE_ROLE_BINDING_KIND_OBSERVER":    5,
		"STAGE_ROLE_BINDING_KIND_CUSTOM":      6,
	}
)

func (x StageRoleBindingKind) Enum() *StageRoleBindingKind {
	p := new(StageRoleBindingKind)
	*p = x
	return p
}

func (x StageRoleBindingKind) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (StageRoleBindingKind) Descriptor() protoreflect.EnumDescriptor {
	return file_kodex_agents_v1_agent_manager_proto_enumTypes[8].Descriptor()
}

func (StageRoleBindingKind) Type() protoreflect.EnumType {
	return &file_kodex_agents_v1_agent_manager_proto_enumTypes[8]
}

func (x StageRoleBindingKind) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use StageRoleBindingKind.Descriptor instead.
func (StageRoleBindingKind) EnumDescriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{8}
}

// AgentSessionStatus is the lifecycle status of a logical agent session.
type AgentSessionStatus int32

const (
	AgentSessionStatus_AGENT_SESSION_STATUS_UNSPECIFIED AgentSessionStatus = 0
	AgentSessionStatus_AGENT_SESSION_STATUS_OPEN        AgentSessionStatus = 1
	AgentSessionStatus_AGENT_SESSION_STATUS_WAITING     AgentSessionStatus = 2
	AgentSessionStatus_AGENT_SESSION_STATUS_COMPLETED   AgentSessionStatus = 3
	AgentSessionStatus_AGENT_SESSION_STATUS_FAILED      AgentSessionStatus = 4
	AgentSessionStatus_AGENT_SESSION_STATUS_CANCELLED   AgentSessionStatus = 5
)

// Enum value maps for AgentSessionStatus.
var (
	AgentSessionStatus_name = map[int32]string{
		0: "AGENT_SESSION_STATUS_UNSPECIFIED",
		1: "AGENT_SESSION_STATUS_OPEN",
		2: "AGENT_SESSION_STATUS_WAITING",
		3: "AGENT_SESSION_STATUS_COMPLETED",
		4: "AGENT_SESSION_STATUS_FAILED",
		5: "AGENT_SESSION_STATUS_CANCELLED",
	}
	AgentSessionStatus_value = map[string]int32{
		"AGENT_SESSION_STATUS_UNSPECIFIED": 0,
		"AGENT_SESSION_STATUS_OPEN":        1,
		"AGENT_SESSION_STATUS_WAITING":     2,
		"AGENT_SESSION_STATUS_COMPLETED":   3,
		"AGENT_SESSION_STATUS_FAILED":      4,
		"AGENT_SESSION_STATUS_CANCELLED":   5,
	}
)

func (x AgentSessionStatus) Enum() *AgentSessionStatus {
	p := new(AgentSessionStatus)
	*p = x
	return p
}

func (x AgentSessionStatus) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (AgentSessionStatus) Descriptor() protoreflect.EnumDescriptor {
	return file_kodex_agents_v1_agent_manager_proto_enumTypes[9].Descriptor()
}

func (AgentSessionStatus) Type() protoreflect.EnumType {
	return &file_kodex_agents_v1_agent_manager_proto_enumTypes[9]
}

func (x AgentSessionStatus) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use AgentSessionStatus.Descriptor instead.
func (AgentSessionStatus) EnumDescriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{9}
}

// AgentRunStatus is the lifecycle status of one role run.
type AgentRunStatus int32

const (
	AgentRunStatus_AGENT_RUN_STATUS_UNSPECIFIED AgentRunStatus = 0
	AgentRunStatus_AGENT_RUN_STATUS_REQUESTED   AgentRunStatus = 1
	AgentRunStatus_AGENT_RUN_STATUS_STARTING    AgentRunStatus = 2
	AgentRunStatus_AGENT_RUN_STATUS_RUNNING     AgentRunStatus = 3
	AgentRunStatus_AGENT_RUN_STATUS_WAITING     AgentRunStatus = 4
	AgentRunStatus_AGENT_RUN_STATUS_COMPLETED   AgentRunStatus = 5
	AgentRunStatus_AGENT_RUN_STATUS_FAILED      AgentRunStatus = 6
	AgentRunStatus_AGENT_RUN_STATUS_CANCELLED   AgentRunStatus = 7
)

// Enum value maps for AgentRunStatus.
var (
	AgentRunStatus_name = map[int32]string{
		0: "AGENT_RUN_STATUS_UNSPECIFIED",
		1: "AGENT_RUN_STATUS_REQUESTED",
		2: "AGENT_RUN_STATUS_STARTING",
		3: "AGENT_RUN_STATUS_RUNNING",
		4: "AGENT_RUN_STATUS_WAITING",
		5: "AGENT_RUN_STATUS_COMPLETED",
		6: "AGENT_RUN_STATUS_FAILED",
		7: "AGENT_RUN_STATUS_CANCELLED",
	}
	AgentRunStatus_value = map[string]int32{
		"AGENT_RUN_STATUS_UNSPECIFIED": 0,
		"AGENT_RUN_STATUS_REQUESTED":   1,
		"AGENT_RUN_STATUS_STARTING":    2,
		"AGENT_RUN_STATUS_RUNNING":     3,
		"AGENT_RUN_STATUS_WAITING":     4,
		"AGENT_RUN_STATUS_COMPLETED":   5,
		"AGENT_RUN_STATUS_FAILED":      6,
		"AGENT_RUN_STATUS_CANCELLED":   7,
	}
)

func (x AgentRunStatus) Enum() *AgentRunStatus {
	p := new(AgentRunStatus)
	*p = x
	return p
}

func (x AgentRunStatus) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (AgentRunStatus) Descriptor() protoreflect.EnumDescriptor {
	return file_kodex_agents_v1_agent_manager_proto_enumTypes[10].Descriptor()
}

func (AgentRunStatus) Type() protoreflect.EnumType {
	return &file_kodex_agents_v1_agent_manager_proto_enumTypes[10]
}

func (x AgentRunStatus) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use AgentRunStatus.Descriptor instead.
func (AgentRunStatus) EnumDescriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{10}
}

// AgentRunnerRunState is the bounded status vocabulary accepted from agent-runner.
type AgentRunnerRunState int32

const (
	AgentRunnerRunState_AGENT_RUNNER_RUN_STATE_UNSPECIFIED AgentRunnerRunState = 0
	AgentRunnerRunState_AGENT_RUNNER_RUN_STATE_QUEUED      AgentRunnerRunState = 1
	AgentRunnerRunState_AGENT_RUNNER_RUN_STATE_RUNNING     AgentRunnerRunState = 2
	AgentRunnerRunState_AGENT_RUNNER_RUN_STATE_COMPLETED   AgentRunnerRunState = 3
	AgentRunnerRunState_AGENT_RUNNER_RUN_STATE_FAILED      AgentRunnerRunState = 4
	AgentRunnerRunState_AGENT_RUNNER_RUN_STATE_STARTED     AgentRunnerRunState = 5
	AgentRunnerRunState_AGENT_RUNNER_RUN_STATE_CANCELLED   AgentRunnerRunState = 6
	AgentRunnerRunState_AGENT_RUNNER_RUN_STATE_TIMED_OUT   AgentRunnerRunState = 7
)

// Enum value maps for AgentRunnerRunState.
var (
	AgentRunnerRunState_name = map[int32]string{
		0: "AGENT_RUNNER_RUN_STATE_UNSPECIFIED",
		1: "AGENT_RUNNER_RUN_STATE_QUEUED",
		2: "AGENT_RUNNER_RUN_STATE_RUNNING",
		3: "AGENT_RUNNER_RUN_STATE_COMPLETED",
		4: "AGENT_RUNNER_RUN_STATE_FAILED",
		5: "AGENT_RUNNER_RUN_STATE_STARTED",
		6: "AGENT_RUNNER_RUN_STATE_CANCELLED",
		7: "AGENT_RUNNER_RUN_STATE_TIMED_OUT",
	}
	AgentRunnerRunState_value = map[string]int32{
		"AGENT_RUNNER_RUN_STATE_UNSPECIFIED": 0,
		"AGENT_RUNNER_RUN_STATE_QUEUED":      1,
		"AGENT_RUNNER_RUN_STATE_RUNNING":     2,
		"AGENT_RUNNER_RUN_STATE_COMPLETED":   3,
		"AGENT_RUNNER_RUN_STATE_FAILED":      4,
		"AGENT_RUNNER_RUN_STATE_STARTED":     5,
		"AGENT_RUNNER_RUN_STATE_CANCELLED":   6,
		"AGENT_RUNNER_RUN_STATE_TIMED_OUT":   7,
	}
)

func (x AgentRunnerRunState) Enum() *AgentRunnerRunState {
	p := new(AgentRunnerRunState)
	*p = x
	return p
}

func (x AgentRunnerRunState) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (AgentRunnerRunState) Descriptor() protoreflect.EnumDescriptor {
	return file_kodex_agents_v1_agent_manager_proto_enumTypes[11].Descriptor()
}

func (AgentRunnerRunState) Type() protoreflect.EnumType {
	return &file_kodex_agents_v1_agent_manager_proto_enumTypes[11]
}

func (x AgentRunnerRunState) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use AgentRunnerRunState.Descriptor instead.
func (AgentRunnerRunState) EnumDescriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{11}
}

// AgentRunRuntimeObservationState описывает, удалось ли прочитать актуальное состояние runtime.
type AgentRunRuntimeObservationState int32

const (
	AgentRunRuntimeObservationState_AGENT_RUN_RUNTIME_OBSERVATION_STATE_UNSPECIFIED AgentRunRuntimeObservationState = 0
	AgentRunRuntimeObservationState_AGENT_RUN_RUNTIME_OBSERVATION_STATE_NOT_CREATED AgentRunRuntimeObservationState = 1
	AgentRunRuntimeObservationState_AGENT_RUN_RUNTIME_OBSERVATION_STATE_STORED_REF  AgentRunRuntimeObservationState = 2
	AgentRunRuntimeObservationState_AGENT_RUN_RUNTIME_OBSERVATION_STATE_LIVE        AgentRunRuntimeObservationState = 3
	AgentRunRuntimeObservationState_AGENT_RUN_RUNTIME_OBSERVATION_STATE_UNAVAILABLE AgentRunRuntimeObservationState = 4
	AgentRunRuntimeObservationState_AGENT_RUN_RUNTIME_OBSERVATION_STATE_CONFLICT    AgentRunRuntimeObservationState = 5
)

// Enum value maps for AgentRunRuntimeObservationState.
var (
	AgentRunRuntimeObservationState_name = map[int32]string{
		0: "AGENT_RUN_RUNTIME_OBSERVATION_STATE_UNSPECIFIED",
		1: "AGENT_RUN_RUNTIME_OBSERVATION_STATE_NOT_CREATED",
		2: "AGENT_RUN_RUNTIME_OBSERVATION_STATE_STORED_REF",
		3: "AGENT_RUN_RUNTIME_OBSERVATION_STATE_LIVE",
		4: "AGENT_RUN_RUNTIME_OBSERVATION_STATE_UNAVAILABLE",
		5: "AGENT_RUN_RUNTIME_OBSERVATION_STATE_CONFLICT",
	}
	AgentRunRuntimeObservationState_value = map[string]int32{
		"AGENT_RUN_RUNTIME_OBSERVATION_STATE_UNSPECIFIED": 0,
		"AGENT_RUN_RUNTIME_OBSERVATION_STATE_NOT_CREATED": 1,
		"AGENT_RUN_RUNTIME_OBSERVATION_STATE_STORED_REF":  2,
		"AGENT_RUN_RUNTIME_OBSERVATION_STATE_LIVE":        3,
		"AGENT_RUN_RUNTIME_OBSERVATION_STATE_UNAVAILABLE": 4,
		"AGENT_RUN_RUNTIME_OBSERVATION_STATE_CONFLICT":    5,
	}
)

func (x AgentRunRuntimeObservationState) Enum() *AgentRunRuntimeObservationState {
	p := new(AgentRunRuntimeObservationState)
	*p = x
	return p
}

func (x AgentRunRuntimeObservationState) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (AgentRunRuntimeObservationState) Descriptor() protoreflect.EnumDescriptor {
	return file_kodex_agents_v1_agent_manager_proto_enumTypes[12].Descriptor()
}

func (AgentRunRuntimeObservationState) Type() protoreflect.EnumType {
	return &file_kodex_agents_v1_agent_manager_proto_enumTypes[12]
}

func (x AgentRunRuntimeObservationState) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use AgentRunRuntimeObservationState.Descriptor instead.
func (AgentRunRuntimeObservationState) EnumDescriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{12}
}

// AgentRuntimeJobStatus отражает безопасный жизненный цикл runtime job для чтения UI/MCP.
type AgentRuntimeJobStatus int32

const (
	AgentRuntimeJobStatus_AGENT_RUNTIME_JOB_STATUS_UNSPECIFIED AgentRuntimeJobStatus = 0
	AgentRuntimeJobStatus_AGENT_RUNTIME_JOB_STATUS_PENDING     AgentRuntimeJobStatus = 1
	AgentRuntimeJobStatus_AGENT_RUNTIME_JOB_STATUS_CLAIMED     AgentRuntimeJobStatus = 2
	AgentRuntimeJobStatus_AGENT_RUNTIME_JOB_STATUS_RUNNING     AgentRuntimeJobStatus = 3
	AgentRuntimeJobStatus_AGENT_RUNTIME_JOB_STATUS_SUCCEEDED   AgentRuntimeJobStatus = 4
	AgentRuntimeJobStatus_AGENT_RUNTIME_JOB_STATUS_FAILED      AgentRuntimeJobStatus = 5
	AgentRuntimeJobStatus_AGENT_RUNTIME_JOB_STATUS_CANCELLED   AgentRuntimeJobStatus = 6
	AgentRuntimeJobStatus_AGENT_RUNTIME_JOB_STATUS_TIMED_OUT   AgentRuntimeJobStatus = 7
)

// Enum value maps for AgentRuntimeJobStatus.
var (
	AgentRuntimeJobStatus_name = map[int32]string{
		0: "AGENT_RUNTIME_JOB_STATUS_UNSPECIFIED",
		1: "AGENT_RUNTIME_JOB_STATUS_PENDING",
		2: "AGENT_RUNTIME_JOB_STATUS_CLAIMED",
		3: "AGENT_RUNTIME_JOB_STATUS_RUNNING",
		4: "AGENT_RUNTIME_JOB_STATUS_SUCCEEDED",
		5: "AGENT_RUNTIME_JOB_STATUS_FAILED",
		6: "AGENT_RUNTIME_JOB_STATUS_CANCELLED",
		7: "AGENT_RUNTIME_JOB_STATUS_TIMED_OUT",
	}
	AgentRuntimeJobStatus_value = map[string]int32{
		"AGENT_RUNTIME_JOB_STATUS_UNSPECIFIED": 0,
		"AGENT_RUNTIME_JOB_STATUS_PENDING":     1,
		"AGENT_RUNTIME_JOB_STATUS_CLAIMED":     2,
		"AGENT_RUNTIME_JOB_STATUS_RUNNING":     3,
		"AGENT_RUNTIME_JOB_STATUS_SUCCEEDED":   4,
		"AGENT_RUNTIME_JOB_STATUS_FAILED":      5,
		"AGENT_RUNTIME_JOB_STATUS_CANCELLED":   6,
		"AGENT_RUNTIME_JOB_STATUS_TIMED_OUT":   7,
	}
)

func (x AgentRuntimeJobStatus) Enum() *AgentRuntimeJobStatus {
	p := new(AgentRuntimeJobStatus)
	*p = x
	return p
}

func (x AgentRuntimeJobStatus) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (AgentRuntimeJobStatus) Descriptor() protoreflect.EnumDescriptor {
	return file_kodex_agents_v1_agent_manager_proto_enumTypes[13].Descriptor()
}

func (AgentRuntimeJobStatus) Type() protoreflect.EnumType {
	return &file_kodex_agents_v1_agent_manager_proto_enumTypes[13]
}

func (x AgentRuntimeJobStatus) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use AgentRuntimeJobStatus.Descriptor instead.
func (AgentRuntimeJobStatus) EnumDescriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{13}
}

// AgentSessionSnapshotKind classifies Codex session state snapshots.
type AgentSessionSnapshotKind int32

const (
	AgentSessionSnapshotKind_AGENT_SESSION_SNAPSHOT_KIND_UNSPECIFIED         AgentSessionSnapshotKind = 0
	AgentSessionSnapshotKind_AGENT_SESSION_SNAPSHOT_KIND_TURN_CHECKPOINT     AgentSessionSnapshotKind = 1
	AgentSessionSnapshotKind_AGENT_SESSION_SNAPSHOT_KIND_RUN_COMPLETION      AgentSessionSnapshotKind = 2
	AgentSessionSnapshotKind_AGENT_SESSION_SNAPSHOT_KIND_MANUAL_CHECKPOINT   AgentSessionSnapshotKind = 3
	AgentSessionSnapshotKind_AGENT_SESSION_SNAPSHOT_KIND_RECOVERY_CHECKPOINT AgentSessionSnapshotKind = 4
)

// Enum value maps for AgentSessionSnapshotKind.
var (
	AgentSessionSnapshotKind_name = map[int32]string{
		0: "AGENT_SESSION_SNAPSHOT_KIND_UNSPECIFIED",
		1: "AGENT_SESSION_SNAPSHOT_KIND_TURN_CHECKPOINT",
		2: "AGENT_SESSION_SNAPSHOT_KIND_RUN_COMPLETION",
		3: "AGENT_SESSION_SNAPSHOT_KIND_MANUAL_CHECKPOINT",
		4: "AGENT_SESSION_SNAPSHOT_KIND_RECOVERY_CHECKPOINT",
	}
	AgentSessionSnapshotKind_value = map[string]int32{
		"AGENT_SESSION_SNAPSHOT_KIND_UNSPECIFIED":         0,
		"AGENT_SESSION_SNAPSHOT_KIND_TURN_CHECKPOINT":     1,
		"AGENT_SESSION_SNAPSHOT_KIND_RUN_COMPLETION":      2,
		"AGENT_SESSION_SNAPSHOT_KIND_MANUAL_CHECKPOINT":   3,
		"AGENT_SESSION_SNAPSHOT_KIND_RECOVERY_CHECKPOINT": 4,
	}
)

func (x AgentSessionSnapshotKind) Enum() *AgentSessionSnapshotKind {
	p := new(AgentSessionSnapshotKind)
	*p = x
	return p
}

func (x AgentSessionSnapshotKind) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (AgentSessionSnapshotKind) Descriptor() protoreflect.EnumDescriptor {
	return file_kodex_agents_v1_agent_manager_proto_enumTypes[14].Descriptor()
}

func (AgentSessionSnapshotKind) Type() protoreflect.EnumType {
	return &file_kodex_agents_v1_agent_manager_proto_enumTypes[14]
}

func (x AgentSessionSnapshotKind) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use AgentSessionSnapshotKind.Descriptor instead.
func (AgentSessionSnapshotKind) EnumDescriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{14}
}

// AcceptanceCheckKind classifies acceptance logic.
type AcceptanceCheckKind int32

const (
	AcceptanceCheckKind_ACCEPTANCE_CHECK_KIND_UNSPECIFIED AcceptanceCheckKind = 0
	AcceptanceCheckKind_ACCEPTANCE_CHECK_KIND_ARTIFACT    AcceptanceCheckKind = 1
	AcceptanceCheckKind_ACCEPTANCE_CHECK_KIND_WATERMARK   AcceptanceCheckKind = 2
	AcceptanceCheckKind_ACCEPTANCE_CHECK_KIND_POLICY      AcceptanceCheckKind = 3
	AcceptanceCheckKind_ACCEPTANCE_CHECK_KIND_ROLE_RESULT AcceptanceCheckKind = 4
	AcceptanceCheckKind_ACCEPTANCE_CHECK_KIND_HUMAN_GATE  AcceptanceCheckKind = 5
	AcceptanceCheckKind_ACCEPTANCE_CHECK_KIND_FOLLOW_UP   AcceptanceCheckKind = 6
)

// Enum value maps for AcceptanceCheckKind.
var (
	AcceptanceCheckKind_name = map[int32]string{
		0: "ACCEPTANCE_CHECK_KIND_UNSPECIFIED",
		1: "ACCEPTANCE_CHECK_KIND_ARTIFACT",
		2: "ACCEPTANCE_CHECK_KIND_WATERMARK",
		3: "ACCEPTANCE_CHECK_KIND_POLICY",
		4: "ACCEPTANCE_CHECK_KIND_ROLE_RESULT",
		5: "ACCEPTANCE_CHECK_KIND_HUMAN_GATE",
		6: "ACCEPTANCE_CHECK_KIND_FOLLOW_UP",
	}
	AcceptanceCheckKind_value = map[string]int32{
		"ACCEPTANCE_CHECK_KIND_UNSPECIFIED": 0,
		"ACCEPTANCE_CHECK_KIND_ARTIFACT":    1,
		"ACCEPTANCE_CHECK_KIND_WATERMARK":   2,
		"ACCEPTANCE_CHECK_KIND_POLICY":      3,
		"ACCEPTANCE_CHECK_KIND_ROLE_RESULT": 4,
		"ACCEPTANCE_CHECK_KIND_HUMAN_GATE":  5,
		"ACCEPTANCE_CHECK_KIND_FOLLOW_UP":   6,
	}
)

func (x AcceptanceCheckKind) Enum() *AcceptanceCheckKind {
	p := new(AcceptanceCheckKind)
	*p = x
	return p
}

func (x AcceptanceCheckKind) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (AcceptanceCheckKind) Descriptor() protoreflect.EnumDescriptor {
	return file_kodex_agents_v1_agent_manager_proto_enumTypes[15].Descriptor()
}

func (AcceptanceCheckKind) Type() protoreflect.EnumType {
	return &file_kodex_agents_v1_agent_manager_proto_enumTypes[15]
}

func (x AcceptanceCheckKind) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use AcceptanceCheckKind.Descriptor instead.
func (AcceptanceCheckKind) EnumDescriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{15}
}

// AcceptanceStatus is the lifecycle status of an acceptance result.
type AcceptanceStatus int32

const (
	AcceptanceStatus_ACCEPTANCE_STATUS_UNSPECIFIED AcceptanceStatus = 0
	AcceptanceStatus_ACCEPTANCE_STATUS_PENDING     AcceptanceStatus = 1
	AcceptanceStatus_ACCEPTANCE_STATUS_PASSED      AcceptanceStatus = 2
	AcceptanceStatus_ACCEPTANCE_STATUS_FAILED      AcceptanceStatus = 3
	AcceptanceStatus_ACCEPTANCE_STATUS_WAITING     AcceptanceStatus = 4
	AcceptanceStatus_ACCEPTANCE_STATUS_SKIPPED     AcceptanceStatus = 5
)

// Enum value maps for AcceptanceStatus.
var (
	AcceptanceStatus_name = map[int32]string{
		0: "ACCEPTANCE_STATUS_UNSPECIFIED",
		1: "ACCEPTANCE_STATUS_PENDING",
		2: "ACCEPTANCE_STATUS_PASSED",
		3: "ACCEPTANCE_STATUS_FAILED",
		4: "ACCEPTANCE_STATUS_WAITING",
		5: "ACCEPTANCE_STATUS_SKIPPED",
	}
	AcceptanceStatus_value = map[string]int32{
		"ACCEPTANCE_STATUS_UNSPECIFIED": 0,
		"ACCEPTANCE_STATUS_PENDING":     1,
		"ACCEPTANCE_STATUS_PASSED":      2,
		"ACCEPTANCE_STATUS_FAILED":      3,
		"ACCEPTANCE_STATUS_WAITING":     4,
		"ACCEPTANCE_STATUS_SKIPPED":     5,
	}
)

func (x AcceptanceStatus) Enum() *AcceptanceStatus {
	p := new(AcceptanceStatus)
	*p = x
	return p
}

func (x AcceptanceStatus) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (AcceptanceStatus) Descriptor() protoreflect.EnumDescriptor {
	return file_kodex_agents_v1_agent_manager_proto_enumTypes[16].Descriptor()
}

func (AcceptanceStatus) Type() protoreflect.EnumType {
	return &file_kodex_agents_v1_agent_manager_proto_enumTypes[16]
}

func (x AcceptanceStatus) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use AcceptanceStatus.Descriptor instead.
func (AcceptanceStatus) EnumDescriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{16}
}

// FollowUpIntentStatus is the lifecycle status of a follow-up intent.
type FollowUpIntentStatus int32

const (
	FollowUpIntentStatus_FOLLOW_UP_INTENT_STATUS_UNSPECIFIED     FollowUpIntentStatus = 0
	FollowUpIntentStatus_FOLLOW_UP_INTENT_STATUS_PLANNED         FollowUpIntentStatus = 1
	FollowUpIntentStatus_FOLLOW_UP_INTENT_STATUS_REQUESTED       FollowUpIntentStatus = 2
	FollowUpIntentStatus_FOLLOW_UP_INTENT_STATUS_CREATED         FollowUpIntentStatus = 3
	FollowUpIntentStatus_FOLLOW_UP_INTENT_STATUS_FAILED          FollowUpIntentStatus = 4
	FollowUpIntentStatus_FOLLOW_UP_INTENT_STATUS_CANCELLED       FollowUpIntentStatus = 5
	FollowUpIntentStatus_FOLLOW_UP_INTENT_STATUS_UPDATED         FollowUpIntentStatus = 6
	FollowUpIntentStatus_FOLLOW_UP_INTENT_STATUS_COMMENTED       FollowUpIntentStatus = 7
	FollowUpIntentStatus_FOLLOW_UP_INTENT_STATUS_REVIEW_SIGNALED FollowUpIntentStatus = 8
)

// Enum value maps for FollowUpIntentStatus.
var (
	FollowUpIntentStatus_name = map[int32]string{
		0: "FOLLOW_UP_INTENT_STATUS_UNSPECIFIED",
		1: "FOLLOW_UP_INTENT_STATUS_PLANNED",
		2: "FOLLOW_UP_INTENT_STATUS_REQUESTED",
		3: "FOLLOW_UP_INTENT_STATUS_CREATED",
		4: "FOLLOW_UP_INTENT_STATUS_FAILED",
		5: "FOLLOW_UP_INTENT_STATUS_CANCELLED",
		6: "FOLLOW_UP_INTENT_STATUS_UPDATED",
		7: "FOLLOW_UP_INTENT_STATUS_COMMENTED",
		8: "FOLLOW_UP_INTENT_STATUS_REVIEW_SIGNALED",
	}
	FollowUpIntentStatus_value = map[string]int32{
		"FOLLOW_UP_INTENT_STATUS_UNSPECIFIED":     0,
		"FOLLOW_UP_INTENT_STATUS_PLANNED":         1,
		"FOLLOW_UP_INTENT_STATUS_REQUESTED":       2,
		"FOLLOW_UP_INTENT_STATUS_CREATED":         3,
		"FOLLOW_UP_INTENT_STATUS_FAILED":          4,
		"FOLLOW_UP_INTENT_STATUS_CANCELLED":       5,
		"FOLLOW_UP_INTENT_STATUS_UPDATED":         6,
		"FOLLOW_UP_INTENT_STATUS_COMMENTED":       7,
		"FOLLOW_UP_INTENT_STATUS_REVIEW_SIGNALED": 8,
	}
)

func (x FollowUpIntentStatus) Enum() *FollowUpIntentStatus {
	p := new(FollowUpIntentStatus)
	*p = x
	return p
}

func (x FollowUpIntentStatus) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (FollowUpIntentStatus) Descriptor() protoreflect.EnumDescriptor {
	return file_kodex_agents_v1_agent_manager_proto_enumTypes[17].Descriptor()
}

func (FollowUpIntentStatus) Type() protoreflect.EnumType {
	return &file_kodex_agents_v1_agent_manager_proto_enumTypes[17]
}

func (x FollowUpIntentStatus) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use FollowUpIntentStatus.Descriptor instead.
func (FollowUpIntentStatus) EnumDescriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{17}
}

// FollowUpDispatchKind selects the typed provider command for a follow-up intent.
type FollowUpDispatchKind int32

const (
	FollowUpDispatchKind_FOLLOW_UP_DISPATCH_KIND_UNSPECIFIED          FollowUpDispatchKind = 0
	FollowUpDispatchKind_FOLLOW_UP_DISPATCH_KIND_CREATE_ISSUE         FollowUpDispatchKind = 1
	FollowUpDispatchKind_FOLLOW_UP_DISPATCH_KIND_UPDATE_ISSUE         FollowUpDispatchKind = 2
	FollowUpDispatchKind_FOLLOW_UP_DISPATCH_KIND_CREATE_COMMENT       FollowUpDispatchKind = 3
	FollowUpDispatchKind_FOLLOW_UP_DISPATCH_KIND_UPDATE_COMMENT       FollowUpDispatchKind = 4
	FollowUpDispatchKind_FOLLOW_UP_DISPATCH_KIND_UPDATE_PULL_REQUEST  FollowUpDispatchKind = 5
	FollowUpDispatchKind_FOLLOW_UP_DISPATCH_KIND_CREATE_REVIEW_SIGNAL FollowUpDispatchKind = 6
)

// Enum value maps for FollowUpDispatchKind.
var (
	FollowUpDispatchKind_name = map[int32]string{
		0: "FOLLOW_UP_DISPATCH_KIND_UNSPECIFIED",
		1: "FOLLOW_UP_DISPATCH_KIND_CREATE_ISSUE",
		2: "FOLLOW_UP_DISPATCH_KIND_UPDATE_ISSUE",
		3: "FOLLOW_UP_DISPATCH_KIND_CREATE_COMMENT",
		4: "FOLLOW_UP_DISPATCH_KIND_UPDATE_COMMENT",
		5: "FOLLOW_UP_DISPATCH_KIND_UPDATE_PULL_REQUEST",
		6: "FOLLOW_UP_DISPATCH_KIND_CREATE_REVIEW_SIGNAL",
	}
	FollowUpDispatchKind_value = map[string]int32{
		"FOLLOW_UP_DISPATCH_KIND_UNSPECIFIED":          0,
		"FOLLOW_UP_DISPATCH_KIND_CREATE_ISSUE":         1,
		"FOLLOW_UP_DISPATCH_KIND_UPDATE_ISSUE":         2,
		"FOLLOW_UP_DISPATCH_KIND_CREATE_COMMENT":       3,
		"FOLLOW_UP_DISPATCH_KIND_UPDATE_COMMENT":       4,
		"FOLLOW_UP_DISPATCH_KIND_UPDATE_PULL_REQUEST":  5,
		"FOLLOW_UP_DISPATCH_KIND_CREATE_REVIEW_SIGNAL": 6,
	}
)

func (x FollowUpDispatchKind) Enum() *FollowUpDispatchKind {
	p := new(FollowUpDispatchKind)
	*p = x
	return p
}

func (x FollowUpDispatchKind) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (FollowUpDispatchKind) Descriptor() protoreflect.EnumDescriptor {
	return file_kodex_agents_v1_agent_manager_proto_enumTypes[18].Descriptor()
}

func (FollowUpDispatchKind) Type() protoreflect.EnumType {
	return &file_kodex_agents_v1_agent_manager_proto_enumTypes[18]
}

func (x FollowUpDispatchKind) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use FollowUpDispatchKind.Descriptor instead.
func (FollowUpDispatchKind) EnumDescriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{18}
}

// AgentActivityKind classifies a safe timeline entry.
type AgentActivityKind int32

const (
	AgentActivityKind_AGENT_ACTIVITY_KIND_UNSPECIFIED     AgentActivityKind = 0
	AgentActivityKind_AGENT_ACTIVITY_KIND_LIFECYCLE       AgentActivityKind = 1
	AgentActivityKind_AGENT_ACTIVITY_KIND_TOOL_USE        AgentActivityKind = 2
	AgentActivityKind_AGENT_ACTIVITY_KIND_TOOL_RESULT     AgentActivityKind = 3
	AgentActivityKind_AGENT_ACTIVITY_KIND_PERMISSION      AgentActivityKind = 4
	AgentActivityKind_AGENT_ACTIVITY_KIND_PROVIDER_SIGNAL AgentActivityKind = 5
	AgentActivityKind_AGENT_ACTIVITY_KIND_RUNTIME_SIGNAL  AgentActivityKind = 6
	AgentActivityKind_AGENT_ACTIVITY_KIND_CHECKPOINT      AgentActivityKind = 7
	AgentActivityKind_AGENT_ACTIVITY_KIND_OTHER           AgentActivityKind = 8
)

// Enum value maps for AgentActivityKind.
var (
	AgentActivityKind_name = map[int32]string{
		0: "AGENT_ACTIVITY_KIND_UNSPECIFIED",
		1: "AGENT_ACTIVITY_KIND_LIFECYCLE",
		2: "AGENT_ACTIVITY_KIND_TOOL_USE",
		3: "AGENT_ACTIVITY_KIND_TOOL_RESULT",
		4: "AGENT_ACTIVITY_KIND_PERMISSION",
		5: "AGENT_ACTIVITY_KIND_PROVIDER_SIGNAL",
		6: "AGENT_ACTIVITY_KIND_RUNTIME_SIGNAL",
		7: "AGENT_ACTIVITY_KIND_CHECKPOINT",
		8: "AGENT_ACTIVITY_KIND_OTHER",
	}
	AgentActivityKind_value = map[string]int32{
		"AGENT_ACTIVITY_KIND_UNSPECIFIED":     0,
		"AGENT_ACTIVITY_KIND_LIFECYCLE":       1,
		"AGENT_ACTIVITY_KIND_TOOL_USE":        2,
		"AGENT_ACTIVITY_KIND_TOOL_RESULT":     3,
		"AGENT_ACTIVITY_KIND_PERMISSION":      4,
		"AGENT_ACTIVITY_KIND_PROVIDER_SIGNAL": 5,
		"AGENT_ACTIVITY_KIND_RUNTIME_SIGNAL":  6,
		"AGENT_ACTIVITY_KIND_CHECKPOINT":      7,
		"AGENT_ACTIVITY_KIND_OTHER":           8,
	}
)

func (x AgentActivityKind) Enum() *AgentActivityKind {
	p := new(AgentActivityKind)
	*p = x
	return p
}

func (x AgentActivityKind) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (AgentActivityKind) Descriptor() protoreflect.EnumDescriptor {
	return file_kodex_agents_v1_agent_manager_proto_enumTypes[19].Descriptor()
}

func (AgentActivityKind) Type() protoreflect.EnumType {
	return &file_kodex_agents_v1_agent_manager_proto_enumTypes[19]
}

func (x AgentActivityKind) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use AgentActivityKind.Descriptor instead.
func (AgentActivityKind) EnumDescriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{19}
}

// AgentActivityStatus is the lifecycle status of one timeline entry.
type AgentActivityStatus int32

const (
	AgentActivityStatus_AGENT_ACTIVITY_STATUS_UNSPECIFIED AgentActivityStatus = 0
	AgentActivityStatus_AGENT_ACTIVITY_STATUS_PLANNED     AgentActivityStatus = 1
	AgentActivityStatus_AGENT_ACTIVITY_STATUS_STARTED     AgentActivityStatus = 2
	AgentActivityStatus_AGENT_ACTIVITY_STATUS_SUCCEEDED   AgentActivityStatus = 3
	AgentActivityStatus_AGENT_ACTIVITY_STATUS_FAILED      AgentActivityStatus = 4
	AgentActivityStatus_AGENT_ACTIVITY_STATUS_DENIED      AgentActivityStatus = 5
	AgentActivityStatus_AGENT_ACTIVITY_STATUS_WAITING     AgentActivityStatus = 6
	AgentActivityStatus_AGENT_ACTIVITY_STATUS_CANCELLED   AgentActivityStatus = 7
	AgentActivityStatus_AGENT_ACTIVITY_STATUS_SKIPPED     AgentActivityStatus = 8
)

// Enum value maps for AgentActivityStatus.
var (
	AgentActivityStatus_name = map[int32]string{
		0: "AGENT_ACTIVITY_STATUS_UNSPECIFIED",
		1: "AGENT_ACTIVITY_STATUS_PLANNED",
		2: "AGENT_ACTIVITY_STATUS_STARTED",
		3: "AGENT_ACTIVITY_STATUS_SUCCEEDED",
		4: "AGENT_ACTIVITY_STATUS_FAILED",
		5: "AGENT_ACTIVITY_STATUS_DENIED",
		6: "AGENT_ACTIVITY_STATUS_WAITING",
		7: "AGENT_ACTIVITY_STATUS_CANCELLED",
		8: "AGENT_ACTIVITY_STATUS_SKIPPED",
	}
	AgentActivityStatus_value = map[string]int32{
		"AGENT_ACTIVITY_STATUS_UNSPECIFIED": 0,
		"AGENT_ACTIVITY_STATUS_PLANNED":     1,
		"AGENT_ACTIVITY_STATUS_STARTED":     2,
		"AGENT_ACTIVITY_STATUS_SUCCEEDED":   3,
		"AGENT_ACTIVITY_STATUS_FAILED":      4,
		"AGENT_ACTIVITY_STATUS_DENIED":      5,
		"AGENT_ACTIVITY_STATUS_WAITING":     6,
		"AGENT_ACTIVITY_STATUS_CANCELLED":   7,
		"AGENT_ACTIVITY_STATUS_SKIPPED":     8,
	}
)

func (x AgentActivityStatus) Enum() *AgentActivityStatus {
	p := new(AgentActivityStatus)
	*p = x
	return p
}

func (x AgentActivityStatus) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (AgentActivityStatus) Descriptor() protoreflect.EnumDescriptor {
	return file_kodex_agents_v1_agent_manager_proto_enumTypes[20].Descriptor()
}

func (AgentActivityStatus) Type() protoreflect.EnumType {
	return &file_kodex_agents_v1_agent_manager_proto_enumTypes[20]
}

func (x AgentActivityStatus) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use AgentActivityStatus.Descriptor instead.
func (AgentActivityStatus) EnumDescriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{20}
}

// HumanGateStatus is the lifecycle status of a human gate request.
type HumanGateStatus int32

const (
	HumanGateStatus_HUMAN_GATE_STATUS_UNSPECIFIED HumanGateStatus = 0
	HumanGateStatus_HUMAN_GATE_STATUS_REQUESTED   HumanGateStatus = 1
	HumanGateStatus_HUMAN_GATE_STATUS_WAITING     HumanGateStatus = 2
	HumanGateStatus_HUMAN_GATE_STATUS_RESOLVED    HumanGateStatus = 3
	HumanGateStatus_HUMAN_GATE_STATUS_FAILED      HumanGateStatus = 4
	HumanGateStatus_HUMAN_GATE_STATUS_CANCELLED   HumanGateStatus = 5
)

// Enum value maps for HumanGateStatus.
var (
	HumanGateStatus_name = map[int32]string{
		0: "HUMAN_GATE_STATUS_UNSPECIFIED",
		1: "HUMAN_GATE_STATUS_REQUESTED",
		2: "HUMAN_GATE_STATUS_WAITING",
		3: "HUMAN_GATE_STATUS_RESOLVED",
		4: "HUMAN_GATE_STATUS_FAILED",
		5: "HUMAN_GATE_STATUS_CANCELLED",
	}
	HumanGateStatus_value = map[string]int32{
		"HUMAN_GATE_STATUS_UNSPECIFIED": 0,
		"HUMAN_GATE_STATUS_REQUESTED":   1,
		"HUMAN_GATE_STATUS_WAITING":     2,
		"HUMAN_GATE_STATUS_RESOLVED":    3,
		"HUMAN_GATE_STATUS_FAILED":      4,
		"HUMAN_GATE_STATUS_CANCELLED":   5,
	}
)

func (x HumanGateStatus) Enum() *HumanGateStatus {
	p := new(HumanGateStatus)
	*p = x
	return p
}

func (x HumanGateStatus) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (HumanGateStatus) Descriptor() protoreflect.EnumDescriptor {
	return file_kodex_agents_v1_agent_manager_proto_enumTypes[21].Descriptor()
}

func (HumanGateStatus) Type() protoreflect.EnumType {
	return &file_kodex_agents_v1_agent_manager_proto_enumTypes[21]
}

func (x HumanGateStatus) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use HumanGateStatus.Descriptor instead.
func (HumanGateStatus) EnumDescriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{21}
}

// HumanGateOutcome is the normalized owner decision used by agent-manager flow state.
type HumanGateOutcome int32

const (
	HumanGateOutcome_HUMAN_GATE_OUTCOME_UNSPECIFIED     HumanGateOutcome = 0
	HumanGateOutcome_HUMAN_GATE_OUTCOME_NONE            HumanGateOutcome = 1
	HumanGateOutcome_HUMAN_GATE_OUTCOME_APPROVE         HumanGateOutcome = 2
	HumanGateOutcome_HUMAN_GATE_OUTCOME_REJECT          HumanGateOutcome = 3
	HumanGateOutcome_HUMAN_GATE_OUTCOME_REQUEST_CHANGES HumanGateOutcome = 4
	HumanGateOutcome_HUMAN_GATE_OUTCOME_ANSWER          HumanGateOutcome = 5
)

// Enum value maps for HumanGateOutcome.
var (
	HumanGateOutcome_name = map[int32]string{
		0: "HUMAN_GATE_OUTCOME_UNSPECIFIED",
		1: "HUMAN_GATE_OUTCOME_NONE",
		2: "HUMAN_GATE_OUTCOME_APPROVE",
		3: "HUMAN_GATE_OUTCOME_REJECT",
		4: "HUMAN_GATE_OUTCOME_REQUEST_CHANGES",
		5: "HUMAN_GATE_OUTCOME_ANSWER",
	}
	HumanGateOutcome_value = map[string]int32{
		"HUMAN_GATE_OUTCOME_UNSPECIFIED":     0,
		"HUMAN_GATE_OUTCOME_NONE":            1,
		"HUMAN_GATE_OUTCOME_APPROVE":         2,
		"HUMAN_GATE_OUTCOME_REJECT":          3,
		"HUMAN_GATE_OUTCOME_REQUEST_CHANGES": 4,
		"HUMAN_GATE_OUTCOME_ANSWER":          5,
	}
)

func (x HumanGateOutcome) Enum() *HumanGateOutcome {
	p := new(HumanGateOutcome)
	*p = x
	return p
}

func (x HumanGateOutcome) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (HumanGateOutcome) Descriptor() protoreflect.EnumDescriptor {
	return file_kodex_agents_v1_agent_manager_proto_enumTypes[22].Descriptor()
}

func (HumanGateOutcome) Type() protoreflect.EnumType {
	return &file_kodex_agents_v1_agent_manager_proto_enumTypes[22]
}

func (x HumanGateOutcome) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use HumanGateOutcome.Descriptor instead.
func (HumanGateOutcome) EnumDescriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{22}
}

// SelfDeployPlanStatus is the lifecycle status of a self-deploy orchestration plan.
type SelfDeployPlanStatus int32

const (
	SelfDeployPlanStatus_SELF_DEPLOY_PLAN_STATUS_UNSPECIFIED      SelfDeployPlanStatus = 0
	SelfDeployPlanStatus_SELF_DEPLOY_PLAN_STATUS_PENDING_APPROVAL SelfDeployPlanStatus = 1
	SelfDeployPlanStatus_SELF_DEPLOY_PLAN_STATUS_APPROVED         SelfDeployPlanStatus = 2
	SelfDeployPlanStatus_SELF_DEPLOY_PLAN_STATUS_REJECTED         SelfDeployPlanStatus = 3
	SelfDeployPlanStatus_SELF_DEPLOY_PLAN_STATUS_CANCELLED        SelfDeployPlanStatus = 4
	SelfDeployPlanStatus_SELF_DEPLOY_PLAN_STATUS_FAILED           SelfDeployPlanStatus = 5
)

// Enum value maps for SelfDeployPlanStatus.
var (
	SelfDeployPlanStatus_name = map[int32]string{
		0: "SELF_DEPLOY_PLAN_STATUS_UNSPECIFIED",
		1: "SELF_DEPLOY_PLAN_STATUS_PENDING_APPROVAL",
		2: "SELF_DEPLOY_PLAN_STATUS_APPROVED",
		3: "SELF_DEPLOY_PLAN_STATUS_REJECTED",
		4: "SELF_DEPLOY_PLAN_STATUS_CANCELLED",
		5: "SELF_DEPLOY_PLAN_STATUS_FAILED",
	}
	SelfDeployPlanStatus_value = map[string]int32{
		"SELF_DEPLOY_PLAN_STATUS_UNSPECIFIED":      0,
		"SELF_DEPLOY_PLAN_STATUS_PENDING_APPROVAL": 1,
		"SELF_DEPLOY_PLAN_STATUS_APPROVED":         2,
		"SELF_DEPLOY_PLAN_STATUS_REJECTED":         3,
		"SELF_DEPLOY_PLAN_STATUS_CANCELLED":        4,
		"SELF_DEPLOY_PLAN_STATUS_FAILED":           5,
	}
)

func (x SelfDeployPlanStatus) Enum() *SelfDeployPlanStatus {
	p := new(SelfDeployPlanStatus)
	*p = x
	return p
}

func (x SelfDeployPlanStatus) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (SelfDeployPlanStatus) Descriptor() protoreflect.EnumDescriptor {
	return file_kodex_agents_v1_agent_manager_proto_enumTypes[23].Descriptor()
}

func (SelfDeployPlanStatus) Type() protoreflect.EnumType {
	return &file_kodex_agents_v1_agent_manager_proto_enumTypes[23]
}

func (x SelfDeployPlanStatus) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use SelfDeployPlanStatus.Descriptor instead.
func (SelfDeployPlanStatus) EnumDescriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{23}
}

// SelfDeployRuntimeBuildStatus describes build job dispatch state for an approved self-deploy plan.
type SelfDeployRuntimeBuildStatus int32

const (
	SelfDeployRuntimeBuildStatus_SELF_DEPLOY_RUNTIME_BUILD_STATUS_UNSPECIFIED   SelfDeployRuntimeBuildStatus = 0
	SelfDeployRuntimeBuildStatus_SELF_DEPLOY_RUNTIME_BUILD_STATUS_NOT_REQUESTED SelfDeployRuntimeBuildStatus = 1
	SelfDeployRuntimeBuildStatus_SELF_DEPLOY_RUNTIME_BUILD_STATUS_BLOCKED       SelfDeployRuntimeBuildStatus = 2
	SelfDeployRuntimeBuildStatus_SELF_DEPLOY_RUNTIME_BUILD_STATUS_REQUESTED     SelfDeployRuntimeBuildStatus = 3
	SelfDeployRuntimeBuildStatus_SELF_DEPLOY_RUNTIME_BUILD_STATUS_FAILED        SelfDeployRuntimeBuildStatus = 4
	// PREPARING_CONTEXT means governance approved the plan, but runtime-owned build context refs are not ready yet.
	SelfDeployRuntimeBuildStatus_SELF_DEPLOY_RUNTIME_BUILD_STATUS_PREPARING_CONTEXT SelfDeployRuntimeBuildStatus = 5
	SelfDeployRuntimeBuildStatus_SELF_DEPLOY_RUNTIME_BUILD_STATUS_SUCCEEDED         SelfDeployRuntimeBuildStatus = 6
)

// Enum value maps for SelfDeployRuntimeBuildStatus.
var (
	SelfDeployRuntimeBuildStatus_name = map[int32]string{
		0: "SELF_DEPLOY_RUNTIME_BUILD_STATUS_UNSPECIFIED",
		1: "SELF_DEPLOY_RUNTIME_BUILD_STATUS_NOT_REQUESTED",
		2: "SELF_DEPLOY_RUNTIME_BUILD_STATUS_BLOCKED",
		3: "SELF_DEPLOY_RUNTIME_BUILD_STATUS_REQUESTED",
		4: "SELF_DEPLOY_RUNTIME_BUILD_STATUS_FAILED",
		5: "SELF_DEPLOY_RUNTIME_BUILD_STATUS_PREPARING_CONTEXT",
		6: "SELF_DEPLOY_RUNTIME_BUILD_STATUS_SUCCEEDED",
	}
	SelfDeployRuntimeBuildStatus_value = map[string]int32{
		"SELF_DEPLOY_RUNTIME_BUILD_STATUS_UNSPECIFIED":       0,
		"SELF_DEPLOY_RUNTIME_BUILD_STATUS_NOT_REQUESTED":     1,
		"SELF_DEPLOY_RUNTIME_BUILD_STATUS_BLOCKED":           2,
		"SELF_DEPLOY_RUNTIME_BUILD_STATUS_REQUESTED":         3,
		"SELF_DEPLOY_RUNTIME_BUILD_STATUS_FAILED":            4,
		"SELF_DEPLOY_RUNTIME_BUILD_STATUS_PREPARING_CONTEXT": 5,
		"SELF_DEPLOY_RUNTIME_BUILD_STATUS_SUCCEEDED":         6,
	}
)

func (x SelfDeployRuntimeBuildStatus) Enum() *SelfDeployRuntimeBuildStatus {
	p := new(SelfDeployRuntimeBuildStatus)
	*p = x
	return p
}

func (x SelfDeployRuntimeBuildStatus) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (SelfDeployRuntimeBuildStatus) Descriptor() protoreflect.EnumDescriptor {
	return file_kodex_agents_v1_agent_manager_proto_enumTypes[24].Descriptor()
}

func (SelfDeployRuntimeBuildStatus) Type() protoreflect.EnumType {
	return &file_kodex_agents_v1_agent_manager_proto_enumTypes[24]
}

func (x SelfDeployRuntimeBuildStatus) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use SelfDeployRuntimeBuildStatus.Descriptor instead.
func (SelfDeployRuntimeBuildStatus) EnumDescriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{24}
}

// SelfDeployRuntimeDeployStatus describes deploy job dispatch state for an approved self-deploy plan.
type SelfDeployRuntimeDeployStatus int32

const (
	SelfDeployRuntimeDeployStatus_SELF_DEPLOY_RUNTIME_DEPLOY_STATUS_UNSPECIFIED   SelfDeployRuntimeDeployStatus = 0
	SelfDeployRuntimeDeployStatus_SELF_DEPLOY_RUNTIME_DEPLOY_STATUS_NOT_REQUESTED SelfDeployRuntimeDeployStatus = 1
	SelfDeployRuntimeDeployStatus_SELF_DEPLOY_RUNTIME_DEPLOY_STATUS_BLOCKED       SelfDeployRuntimeDeployStatus = 2
	SelfDeployRuntimeDeployStatus_SELF_DEPLOY_RUNTIME_DEPLOY_STATUS_REQUESTED     SelfDeployRuntimeDeployStatus = 3
	SelfDeployRuntimeDeployStatus_SELF_DEPLOY_RUNTIME_DEPLOY_STATUS_FAILED        SelfDeployRuntimeDeployStatus = 4
	SelfDeployRuntimeDeployStatus_SELF_DEPLOY_RUNTIME_DEPLOY_STATUS_SUCCEEDED     SelfDeployRuntimeDeployStatus = 5
)

// Enum value maps for SelfDeployRuntimeDeployStatus.
var (
	SelfDeployRuntimeDeployStatus_name = map[int32]string{
		0: "SELF_DEPLOY_RUNTIME_DEPLOY_STATUS_UNSPECIFIED",
		1: "SELF_DEPLOY_RUNTIME_DEPLOY_STATUS_NOT_REQUESTED",
		2: "SELF_DEPLOY_RUNTIME_DEPLOY_STATUS_BLOCKED",
		3: "SELF_DEPLOY_RUNTIME_DEPLOY_STATUS_REQUESTED",
		4: "SELF_DEPLOY_RUNTIME_DEPLOY_STATUS_FAILED",
		5: "SELF_DEPLOY_RUNTIME_DEPLOY_STATUS_SUCCEEDED",
	}
	SelfDeployRuntimeDeployStatus_value = map[string]int32{
		"SELF_DEPLOY_RUNTIME_DEPLOY_STATUS_UNSPECIFIED":   0,
		"SELF_DEPLOY_RUNTIME_DEPLOY_STATUS_NOT_REQUESTED": 1,
		"SELF_DEPLOY_RUNTIME_DEPLOY_STATUS_BLOCKED":       2,
		"SELF_DEPLOY_RUNTIME_DEPLOY_STATUS_REQUESTED":     3,
		"SELF_DEPLOY_RUNTIME_DEPLOY_STATUS_FAILED":        4,
		"SELF_DEPLOY_RUNTIME_DEPLOY_STATUS_SUCCEEDED":     5,
	}
)

func (x SelfDeployRuntimeDeployStatus) Enum() *SelfDeployRuntimeDeployStatus {
	p := new(SelfDeployRuntimeDeployStatus)
	*p = x
	return p
}

func (x SelfDeployRuntimeDeployStatus) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (SelfDeployRuntimeDeployStatus) Descriptor() protoreflect.EnumDescriptor {
	return file_kodex_agents_v1_agent_manager_proto_enumTypes[25].Descriptor()
}

func (SelfDeployRuntimeDeployStatus) Type() protoreflect.EnumType {
	return &file_kodex_agents_v1_agent_manager_proto_enumTypes[25]
}

func (x SelfDeployRuntimeDeployStatus) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use SelfDeployRuntimeDeployStatus.Descriptor instead.
func (SelfDeployRuntimeDeployStatus) EnumDescriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{25}
}

// SelfDeployPathCategory classifies affected paths without storing a raw diff.
type SelfDeployPathCategory int32

const (
	SelfDeployPathCategory_SELF_DEPLOY_PATH_CATEGORY_UNSPECIFIED     SelfDeployPathCategory = 0
	SelfDeployPathCategory_SELF_DEPLOY_PATH_CATEGORY_SERVICE_SOURCE  SelfDeployPathCategory = 1
	SelfDeployPathCategory_SELF_DEPLOY_PATH_CATEGORY_SERVICE_CONFIG  SelfDeployPathCategory = 2
	SelfDeployPathCategory_SELF_DEPLOY_PATH_CATEGORY_DEPLOY_MANIFEST SelfDeployPathCategory = 3
	SelfDeployPathCategory_SELF_DEPLOY_PATH_CATEGORY_RUNTIME_CONFIG  SelfDeployPathCategory = 4
	SelfDeployPathCategory_SELF_DEPLOY_PATH_CATEGORY_DOCUMENTATION   SelfDeployPathCategory = 5
	SelfDeployPathCategory_SELF_DEPLOY_PATH_CATEGORY_TEST            SelfDeployPathCategory = 6
	SelfDeployPathCategory_SELF_DEPLOY_PATH_CATEGORY_PLATFORM_POLICY SelfDeployPathCategory = 7
	SelfDeployPathCategory_SELF_DEPLOY_PATH_CATEGORY_OTHER           SelfDeployPathCategory = 8
	SelfDeployPathCategory_SELF_DEPLOY_PATH_CATEGORY_SERVICES_POLICY SelfDeployPathCategory = 9
)

// Enum value maps for SelfDeployPathCategory.
var (
	SelfDeployPathCategory_name = map[int32]string{
		0: "SELF_DEPLOY_PATH_CATEGORY_UNSPECIFIED",
		1: "SELF_DEPLOY_PATH_CATEGORY_SERVICE_SOURCE",
		2: "SELF_DEPLOY_PATH_CATEGORY_SERVICE_CONFIG",
		3: "SELF_DEPLOY_PATH_CATEGORY_DEPLOY_MANIFEST",
		4: "SELF_DEPLOY_PATH_CATEGORY_RUNTIME_CONFIG",
		5: "SELF_DEPLOY_PATH_CATEGORY_DOCUMENTATION",
		6: "SELF_DEPLOY_PATH_CATEGORY_TEST",
		7: "SELF_DEPLOY_PATH_CATEGORY_PLATFORM_POLICY",
		8: "SELF_DEPLOY_PATH_CATEGORY_OTHER",
		9: "SELF_DEPLOY_PATH_CATEGORY_SERVICES_POLICY",
	}
	SelfDeployPathCategory_value = map[string]int32{
		"SELF_DEPLOY_PATH_CATEGORY_UNSPECIFIED":     0,
		"SELF_DEPLOY_PATH_CATEGORY_SERVICE_SOURCE":  1,
		"SELF_DEPLOY_PATH_CATEGORY_SERVICE_CONFIG":  2,
		"SELF_DEPLOY_PATH_CATEGORY_DEPLOY_MANIFEST": 3,
		"SELF_DEPLOY_PATH_CATEGORY_RUNTIME_CONFIG":  4,
		"SELF_DEPLOY_PATH_CATEGORY_DOCUMENTATION":   5,
		"SELF_DEPLOY_PATH_CATEGORY_TEST":            6,
		"SELF_DEPLOY_PATH_CATEGORY_PLATFORM_POLICY": 7,
		"SELF_DEPLOY_PATH_CATEGORY_OTHER":           8,
		"SELF_DEPLOY_PATH_CATEGORY_SERVICES_POLICY": 9,
	}
)

func (x SelfDeployPathCategory) Enum() *SelfDeployPathCategory {
	p := new(SelfDeployPathCategory)
	*p = x
	return p
}

func (x SelfDeployPathCategory) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (SelfDeployPathCategory) Descriptor() protoreflect.EnumDescriptor {
	return file_kodex_agents_v1_agent_manager_proto_enumTypes[26].Descriptor()
}

func (SelfDeployPathCategory) Type() protoreflect.EnumType {
	return &file_kodex_agents_v1_agent_manager_proto_enumTypes[26]
}

func (x SelfDeployPathCategory) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use SelfDeployPathCategory.Descriptor instead.
func (SelfDeployPathCategory) EnumDescriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{26}
}

// AutomationTriggerKind classifies automation input.
type AutomationTriggerKind int32

const (
	AutomationTriggerKind_AUTOMATION_TRIGGER_KIND_UNSPECIFIED       AutomationTriggerKind = 0
	AutomationTriggerKind_AUTOMATION_TRIGGER_KIND_SCHEDULE          AutomationTriggerKind = 1
	AutomationTriggerKind_AUTOMATION_TRIGGER_KIND_DOMAIN_EVENT      AutomationTriggerKind = 2
	AutomationTriggerKind_AUTOMATION_TRIGGER_KIND_PROVIDER_SIGNAL   AutomationTriggerKind = 3
	AutomationTriggerKind_AUTOMATION_TRIGGER_KIND_MANUAL            AutomationTriggerKind = 4
	AutomationTriggerKind_AUTOMATION_TRIGGER_KIND_EXTERNAL_CALLBACK AutomationTriggerKind = 5
)

// Enum value maps for AutomationTriggerKind.
var (
	AutomationTriggerKind_name = map[int32]string{
		0: "AUTOMATION_TRIGGER_KIND_UNSPECIFIED",
		1: "AUTOMATION_TRIGGER_KIND_SCHEDULE",
		2: "AUTOMATION_TRIGGER_KIND_DOMAIN_EVENT",
		3: "AUTOMATION_TRIGGER_KIND_PROVIDER_SIGNAL",
		4: "AUTOMATION_TRIGGER_KIND_MANUAL",
		5: "AUTOMATION_TRIGGER_KIND_EXTERNAL_CALLBACK",
	}
	AutomationTriggerKind_value = map[string]int32{
		"AUTOMATION_TRIGGER_KIND_UNSPECIFIED":       0,
		"AUTOMATION_TRIGGER_KIND_SCHEDULE":          1,
		"AUTOMATION_TRIGGER_KIND_DOMAIN_EVENT":      2,
		"AUTOMATION_TRIGGER_KIND_PROVIDER_SIGNAL":   3,
		"AUTOMATION_TRIGGER_KIND_MANUAL":            4,
		"AUTOMATION_TRIGGER_KIND_EXTERNAL_CALLBACK": 5,
	}
)

func (x AutomationTriggerKind) Enum() *AutomationTriggerKind {
	p := new(AutomationTriggerKind)
	*p = x
	return p
}

func (x AutomationTriggerKind) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (AutomationTriggerKind) Descriptor() protoreflect.EnumDescriptor {
	return file_kodex_agents_v1_agent_manager_proto_enumTypes[27].Descriptor()
}

func (AutomationTriggerKind) Type() protoreflect.EnumType {
	return &file_kodex_agents_v1_agent_manager_proto_enumTypes[27]
}

func (x AutomationTriggerKind) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use AutomationTriggerKind.Descriptor instead.
func (AutomationTriggerKind) EnumDescriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{27}
}

// AutomationStatus is the automation binding lifecycle status.
type AutomationStatus int32

const (
	AutomationStatus_AUTOMATION_STATUS_UNSPECIFIED AutomationStatus = 0
	AutomationStatus_AUTOMATION_STATUS_ACTIVE      AutomationStatus = 1
	AutomationStatus_AUTOMATION_STATUS_DISABLED    AutomationStatus = 2
	AutomationStatus_AUTOMATION_STATUS_PAUSED      AutomationStatus = 3
)

// Enum value maps for AutomationStatus.
var (
	AutomationStatus_name = map[int32]string{
		0: "AUTOMATION_STATUS_UNSPECIFIED",
		1: "AUTOMATION_STATUS_ACTIVE",
		2: "AUTOMATION_STATUS_DISABLED",
		3: "AUTOMATION_STATUS_PAUSED",
	}
	AutomationStatus_value = map[string]int32{
		"AUTOMATION_STATUS_UNSPECIFIED": 0,
		"AUTOMATION_STATUS_ACTIVE":      1,
		"AUTOMATION_STATUS_DISABLED":    2,
		"AUTOMATION_STATUS_PAUSED":      3,
	}
)

func (x AutomationStatus) Enum() *AutomationStatus {
	p := new(AutomationStatus)
	*p = x
	return p
}

func (x AutomationStatus) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (AutomationStatus) Descriptor() protoreflect.EnumDescriptor {
	return file_kodex_agents_v1_agent_manager_proto_enumTypes[28].Descriptor()
}

func (AutomationStatus) Type() protoreflect.EnumType {
	return &file_kodex_agents_v1_agent_manager_proto_enumTypes[28]
}

func (x AutomationStatus) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use AutomationStatus.Descriptor instead.
func (AutomationStatus) EnumDescriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{28}
}

// CommandMeta is required for every mutating command.
type CommandMeta struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// command_id is a unique command identifier. Either command_id or idempotency_key is required.
	CommandId *string `protobuf:"bytes,1,opt,name=command_id,json=commandId,proto3,oneof" json:"command_id,omitempty"`
	// idempotency_key is an idempotency key scoped by operation and actor.
	IdempotencyKey *string `protobuf:"bytes,2,opt,name=idempotency_key,json=idempotencyKey,proto3,oneof" json:"idempotency_key,omitempty"`
	// expected_version is present only for existing aggregate mutations.
	ExpectedVersion *int64 `protobuf:"varint,3,opt,name=expected_version,json=expectedVersion,proto3,oneof" json:"expected_version,omitempty"`
	// actor is the authenticated caller.
	Actor *Actor `protobuf:"bytes,4,opt,name=actor,proto3" json:"actor,omitempty"`
	// reason is a machine or operator reason for audit and domain events.
	Reason string `protobuf:"bytes,5,opt,name=reason,proto3" json:"reason,omitempty"`
	// request_id links the command to logs, traces and audit.
	RequestId string `protobuf:"bytes,6,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// request_context carries safe request metadata; no tokens, secrets, email or names.
	RequestContext *RequestContext `protobuf:"bytes,7,opt,name=request_context,json=requestContext,proto3" json:"request_context,omitempty"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

func (x *CommandMeta) Reset() {
	*x = CommandMeta{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[0]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *CommandMeta) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*CommandMeta) ProtoMessage() {}

func (x *CommandMeta) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[0]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use CommandMeta.ProtoReflect.Descriptor instead.
func (*CommandMeta) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{0}
}

func (x *CommandMeta) GetCommandId() string {
	if x != nil && x.CommandId != nil {
		return *x.CommandId
	}
	return ""
}

func (x *CommandMeta) GetIdempotencyKey() string {
	if x != nil && x.IdempotencyKey != nil {
		return *x.IdempotencyKey
	}
	return ""
}

func (x *CommandMeta) GetExpectedVersion() int64 {
	if x != nil && x.ExpectedVersion != nil {
		return *x.ExpectedVersion
	}
	return 0
}

func (x *CommandMeta) GetActor() *Actor {
	if x != nil {
		return x.Actor
	}
	return nil
}

func (x *CommandMeta) GetReason() string {
	if x != nil {
		return x.Reason
	}
	return ""
}

func (x *CommandMeta) GetRequestId() string {
	if x != nil {
		return x.RequestId
	}
	return ""
}

func (x *CommandMeta) GetRequestContext() *RequestContext {
	if x != nil {
		return x.RequestContext
	}
	return nil
}

// QueryMeta carries safe metadata for authoritative reads.
type QueryMeta struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// actor is the authenticated caller.
	Actor *Actor `protobuf:"bytes,1,opt,name=actor,proto3" json:"actor,omitempty"`
	// request_id links the read to logs and traces.
	RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// request_context carries safe request metadata.
	RequestContext *RequestContext `protobuf:"bytes,3,opt,name=request_context,json=requestContext,proto3" json:"request_context,omitempty"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

func (x *QueryMeta) Reset() {
	*x = QueryMeta{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[1]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *QueryMeta) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*QueryMeta) ProtoMessage() {}

func (x *QueryMeta) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[1]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use QueryMeta.ProtoReflect.Descriptor instead.
func (*QueryMeta) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{1}
}

func (x *QueryMeta) GetActor() *Actor {
	if x != nil {
		return x.Actor
	}
	return nil
}

func (x *QueryMeta) GetRequestId() string {
	if x != nil {
		return x.RequestId
	}
	return ""
}

func (x *QueryMeta) GetRequestContext() *RequestContext {
	if x != nil {
		return x.RequestContext
	}
	return nil
}

// RequestContext is safe request metadata used for audit and diagnostics.
type RequestContext struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// source identifies caller surface, for example staff-gateway, platform-mcp-server or service.
	Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
	// trace_id links platform traces.
	TraceId *string `protobuf:"bytes,2,opt,name=trace_id,json=traceId,proto3,oneof" json:"trace_id,omitempty"`
	// session_id links a user session when available.
	SessionId *string `protobuf:"bytes,3,opt,name=session_id,json=sessionId,proto3,oneof" json:"session_id,omitempty"`
	// client_ip_hash is an optional hashed client address.
	ClientIpHash  *string `protobuf:"bytes,4,opt,name=client_ip_hash,json=clientIpHash,proto3,oneof" json:"client_ip_hash,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *RequestContext) Reset() {
	*x = RequestContext{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[2]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *RequestContext) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*RequestContext) ProtoMessage() {}

func (x *RequestContext) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[2]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use RequestContext.ProtoReflect.Descriptor instead.
func (*RequestContext) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{2}
}

func (x *RequestContext) GetSource() string {
	if x != nil {
		return x.Source
	}
	return ""
}

func (x *RequestContext) GetTraceId() string {
	if x != nil && x.TraceId != nil {
		return *x.TraceId
	}
	return ""
}

func (x *RequestContext) GetSessionId() string {
	if x != nil && x.SessionId != nil {
		return *x.SessionId
	}
	return ""
}

func (x *RequestContext) GetClientIpHash() string {
	if x != nil && x.ClientIpHash != nil {
		return *x.ClientIpHash
	}
	return ""
}

// Actor identifies a user, service, agent or external account.
type Actor struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// type is a subject type such as user, service, agent or external_account.
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// id is the subject identifier in its owner domain.
	Id            string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *Actor) Reset() {
	*x = Actor{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[3]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Actor) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Actor) ProtoMessage() {}

func (x *Actor) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[3]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Actor.ProtoReflect.Descriptor instead.
func (*Actor) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{3}
}

func (x *Actor) GetType() string {
	if x != nil {
		return x.Type
	}
	return ""
}

func (x *Actor) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

// PageRequest limits list responses.
type PageRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// page_size is the maximum item count requested by caller.
	PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// page_token is an opaque continuation token returned by a previous call.
	PageToken     *string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3,oneof" json:"page_token,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *PageRequest) Reset() {
	*x = PageRequest{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[4]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *PageRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*PageRequest) ProtoMessage() {}

func (x *PageRequest) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[4]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use PageRequest.ProtoReflect.Descriptor instead.
func (*PageRequest) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{4}
}

func (x *PageRequest) GetPageSize() int32 {
	if x != nil {
		return x.PageSize
	}
	return 0
}

func (x *PageRequest) GetPageToken() string {
	if x != nil && x.PageToken != nil {
		return *x.PageToken
	}
	return ""
}

// PageResponse describes list continuation state.
type PageResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// next_page_token is empty when there are no more items.
	NextPageToken *string `protobuf:"bytes,1,opt,name=next_page_token,json=nextPageToken,proto3,oneof" json:"next_page_token,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *PageResponse) Reset() {
	*x = PageResponse{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[5]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *PageResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*PageResponse) ProtoMessage() {}

func (x *PageResponse) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[5]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use PageResponse.ProtoReflect.Descriptor instead.
func (*PageResponse) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{5}
}

func (x *PageResponse) GetNextPageToken() string {
	if x != nil && x.NextPageToken != nil {
		return *x.NextPageToken
	}
	return ""
}

// LocalizedText carries text for one locale.
type LocalizedText struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// locale is a BCP 47 locale code, for example ru or en-US.
	Locale string `protobuf:"bytes,1,opt,name=locale,proto3" json:"locale,omitempty"`
	// text is localized display text.
	Text          string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *LocalizedText) Reset() {
	*x = LocalizedText{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[6]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *LocalizedText) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*LocalizedText) ProtoMessage() {}

func (x *LocalizedText) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[6]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use LocalizedText.ProtoReflect.Descriptor instead.
func (*LocalizedText) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{6}
}

func (x *LocalizedText) GetLocale() string {
	if x != nil {
		return x.Locale
	}
	return ""
}

func (x *LocalizedText) GetText() string {
	if x != nil {
		return x.Text
	}
	return ""
}

// ScopeRef identifies where a flow, role, session or automation applies.
type ScopeRef struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// type classifies the scope.
	Type AgentScopeType `protobuf:"varint,1,opt,name=type,proto3,enum=kodex.agents.v1.AgentScopeType" json:"type,omitempty"`
	// ref is an external scope identifier owned by another domain.
	Ref           string `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ScopeRef) Reset() {
	*x = ScopeRef{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[7]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ScopeRef) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ScopeRef) ProtoMessage() {}

func (x *ScopeRef) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[7]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ScopeRef.ProtoReflect.Descriptor instead.
func (*ScopeRef) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{7}
}

func (x *ScopeRef) GetType() AgentScopeType {
	if x != nil {
		return x.Type
	}
	return AgentScopeType_AGENT_SCOPE_TYPE_UNSPECIFIED
}

func (x *ScopeRef) GetRef() string {
	if x != nil {
		return x.Ref
	}
	return ""
}

// ProviderTargetRef points to provider-native artifacts without copying their state.
type ProviderTargetRef struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// work_item_ref points to Issue or another provider-native work item projection.
	WorkItemRef *string `protobuf:"bytes,1,opt,name=work_item_ref,json=workItemRef,proto3,oneof" json:"work_item_ref,omitempty"`
	// pull_request_ref points to PR/MR projection when available.
	PullRequestRef *string `protobuf:"bytes,2,opt,name=pull_request_ref,json=pullRequestRef,proto3,oneof" json:"pull_request_ref,omitempty"`
	// comment_ref points to a provider comment projection when available.
	CommentRef *string `protobuf:"bytes,3,opt,name=comment_ref,json=commentRef,proto3,oneof" json:"comment_ref,omitempty"`
	// review_signal_ref points to a provider review signal when available.
	ReviewSignalRef *string `protobuf:"bytes,4,opt,name=review_signal_ref,json=reviewSignalRef,proto3,oneof" json:"review_signal_ref,omitempty"`
	unknownFields   protoimpl.UnknownFields
	sizeCache       protoimpl.SizeCache
}

func (x *ProviderTargetRef) Reset() {
	*x = ProviderTargetRef{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[8]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ProviderTargetRef) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ProviderTargetRef) ProtoMessage() {}

func (x *ProviderTargetRef) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[8]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ProviderTargetRef.ProtoReflect.Descriptor instead.
func (*ProviderTargetRef) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{8}
}

func (x *ProviderTargetRef) GetWorkItemRef() string {
	if x != nil && x.WorkItemRef != nil {
		return *x.WorkItemRef
	}
	return ""
}

func (x *ProviderTargetRef) GetPullRequestRef() string {
	if x != nil && x.PullRequestRef != nil {
		return *x.PullRequestRef
	}
	return ""
}

func (x *ProviderTargetRef) GetCommentRef() string {
	if x != nil && x.CommentRef != nil {
		return *x.CommentRef
	}
	return ""
}

func (x *ProviderTargetRef) GetReviewSignalRef() string {
	if x != nil && x.ReviewSignalRef != nil {
		return *x.ReviewSignalRef
	}
	return ""
}

// GovernanceContextRef указывает на факты governance-manager без копирования тела решений.
type GovernanceContextRef struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// risk_assessment_ref указывает на состояние оценки риска.
	RiskAssessmentRef *string `protobuf:"bytes,1,opt,name=risk_assessment_ref,json=riskAssessmentRef,proto3,oneof" json:"risk_assessment_ref,omitempty"`
	// gate_request_ref указывает на состояние запроса gate.
	GateRequestRef *string `protobuf:"bytes,2,opt,name=gate_request_ref,json=gateRequestRef,proto3,oneof" json:"gate_request_ref,omitempty"`
	// gate_decision_ref указывает на состояние решения gate.
	GateDecisionRef *string `protobuf:"bytes,3,opt,name=gate_decision_ref,json=gateDecisionRef,proto3,oneof" json:"gate_decision_ref,omitempty"`
	// release_decision_package_ref указывает на пакет evidence для release decision.
	ReleaseDecisionPackageRef *string `protobuf:"bytes,4,opt,name=release_decision_package_ref,json=releaseDecisionPackageRef,proto3,oneof" json:"release_decision_package_ref,omitempty"`
	// release_decision_ref указывает на состояние release decision.
	ReleaseDecisionRef *string `protobuf:"bytes,5,opt,name=release_decision_ref,json=releaseDecisionRef,proto3,oneof" json:"release_decision_ref,omitempty"`
	// risk_profile_ref указывает на risk policy profile, применённый к факту.
	RiskProfileRef *string `protobuf:"bytes,6,opt,name=risk_profile_ref,json=riskProfileRef,proto3,oneof" json:"risk_profile_ref,omitempty"`
	// gate_policy_ref указывает на gate policy, потребовавшую решение владельца.
	GatePolicyRef *string `protobuf:"bytes,7,opt,name=gate_policy_ref,json=gatePolicyRef,proto3,oneof" json:"gate_policy_ref,omitempty"`
	// release_policy_ref указывает на release policy из project-catalog.
	ReleasePolicyRef *string `protobuf:"bytes,8,opt,name=release_policy_ref,json=releasePolicyRef,proto3,oneof" json:"release_policy_ref,omitempty"`
	unknownFields    protoimpl.UnknownFields
	sizeCache        protoimpl.SizeCache
}

func (x *GovernanceContextRef) Reset() {
	*x = GovernanceContextRef{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[9]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *GovernanceContextRef) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*GovernanceContextRef) ProtoMessage() {}

func (x *GovernanceContextRef) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[9]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use GovernanceContextRef.ProtoReflect.Descriptor instead.
func (*GovernanceContextRef) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{9}
}

func (x *GovernanceContextRef) GetRiskAssessmentRef() string {
	if x != nil && x.RiskAssessmentRef != nil {
		return *x.RiskAssessmentRef
	}
	return ""
}

func (x *GovernanceContextRef) GetGateRequestRef() string {
	if x != nil && x.GateRequestRef != nil {
		return *x.GateRequestRef
	}
	return ""
}

func (x *GovernanceContextRef) GetGateDecisionRef() string {
	if x != nil && x.GateDecisionRef != nil {
		return *x.GateDecisionRef
	}
	return ""
}

func (x *GovernanceContextRef) GetReleaseDecisionPackageRef() string {
	if x != nil && x.ReleaseDecisionPackageRef != nil {
		return *x.ReleaseDecisionPackageRef
	}
	return ""
}

func (x *GovernanceContextRef) GetReleaseDecisionRef() string {
	if x != nil && x.ReleaseDecisionRef != nil {
		return *x.ReleaseDecisionRef
	}
	return ""
}

func (x *GovernanceContextRef) GetRiskProfileRef() string {
	if x != nil && x.RiskProfileRef != nil {
		return *x.RiskProfileRef
	}
	return ""
}

func (x *GovernanceContextRef) GetGatePolicyRef() string {
	if x != nil && x.GatePolicyRef != nil {
		return *x.GatePolicyRef
	}
	return ""
}

func (x *GovernanceContextRef) GetReleasePolicyRef() string {
	if x != nil && x.ReleasePolicyRef != nil {
		return *x.ReleasePolicyRef
	}
	return ""
}

// RuntimeContextRef points to runtime state owned by runtime-manager.
type RuntimeContextRef struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// slot_ref points to runtime slot state.
	SlotRef *string `protobuf:"bytes,1,opt,name=slot_ref,json=slotRef,proto3,oneof" json:"slot_ref,omitempty"`
	// job_ref points to platform job state.
	JobRef *string `protobuf:"bytes,2,opt,name=job_ref,json=jobRef,proto3,oneof" json:"job_ref,omitempty"`
	// workspace_ref points to workspace materialization state.
	WorkspaceRef *string `protobuf:"bytes,3,opt,name=workspace_ref,json=workspaceRef,proto3,oneof" json:"workspace_ref,omitempty"`
	// context_ref is an opaque runtime context reference.
	ContextRef    *string `protobuf:"bytes,4,opt,name=context_ref,json=contextRef,proto3,oneof" json:"context_ref,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *RuntimeContextRef) Reset() {
	*x = RuntimeContextRef{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[10]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *RuntimeContextRef) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*RuntimeContextRef) ProtoMessage() {}

func (x *RuntimeContextRef) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[10]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use RuntimeContextRef.ProtoReflect.Descriptor instead.
func (*RuntimeContextRef) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{10}
}

func (x *RuntimeContextRef) GetSlotRef() string {
	if x != nil && x.SlotRef != nil {
		return *x.SlotRef
	}
	return ""
}

func (x *RuntimeContextRef) GetJobRef() string {
	if x != nil && x.JobRef != nil {
		return *x.JobRef
	}
	return ""
}

func (x *RuntimeContextRef) GetWorkspaceRef() string {
	if x != nil && x.WorkspaceRef != nil {
		return *x.WorkspaceRef
	}
	return ""
}

func (x *RuntimeContextRef) GetContextRef() string {
	if x != nil && x.ContextRef != nil {
		return *x.ContextRef
	}
	return ""
}

// GuidanceRef fixes one guidance package used in an agent run.
type GuidanceRef struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// package_installation_ref points to package-hub installation state.
	PackageInstallationRef string `protobuf:"bytes,1,opt,name=package_installation_ref,json=packageInstallationRef,proto3" json:"package_installation_ref,omitempty"`
	// package_version_ref points to package-hub version state.
	PackageVersionRef string `protobuf:"bytes,2,opt,name=package_version_ref,json=packageVersionRef,proto3" json:"package_version_ref,omitempty"`
	// manifest_digest identifies the manifest used for the run.
	ManifestDigest string `protobuf:"bytes,3,opt,name=manifest_digest,json=manifestDigest,proto3" json:"manifest_digest,omitempty"`
	// source_ref optionally identifies a materialized source in runtime workspace.
	SourceRef *string `protobuf:"bytes,4,opt,name=source_ref,json=sourceRef,proto3,oneof" json:"source_ref,omitempty"`
	// capability_ref is a stable safe ref for realtime hooks and runtime materialization.
	CapabilityRef *string `protobuf:"bytes,5,opt,name=capability_ref,json=capabilityRef,proto3,oneof" json:"capability_ref,omitempty"`
	// capability_kind classifies the selected capability context, for example guidance.
	CapabilityKind *string `protobuf:"bytes,6,opt,name=capability_kind,json=capabilityKind,proto3,oneof" json:"capability_kind,omitempty"`
	// package_ref points to package-hub package state.
	PackageRef *string `protobuf:"bytes,7,opt,name=package_ref,json=packageRef,proto3,oneof" json:"package_ref,omitempty"`
	// package_slug is a safe package slug captured for policy/debug displays.
	PackageSlug *string `protobuf:"bytes,8,opt,name=package_slug,json=packageSlug,proto3,oneof" json:"package_slug,omitempty"`
	// package_version_label is a safe human-readable package version label.
	PackageVersionLabel *string `protobuf:"bytes,9,opt,name=package_version_label,json=packageVersionLabel,proto3,oneof" json:"package_version_label,omitempty"`
	// policy_summary_json carries a bounded safe status summary without manifest payload.
	PolicySummaryJson *string `protobuf:"bytes,10,opt,name=policy_summary_json,json=policySummaryJson,proto3,oneof" json:"policy_summary_json,omitempty"`
	unknownFields     protoimpl.UnknownFields
	sizeCache         protoimpl.SizeCache
}

func (x *GuidanceRef) Reset() {
	*x = GuidanceRef{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[11]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *GuidanceRef) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*GuidanceRef) ProtoMessage() {}

func (x *GuidanceRef) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[11]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use GuidanceRef.ProtoReflect.Descriptor instead.
func (*GuidanceRef) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{11}
}

func (x *GuidanceRef) GetPackageInstallationRef() string {
	if x != nil {
		return x.PackageInstallationRef
	}
	return ""
}

func (x *GuidanceRef) GetPackageVersionRef() string {
	if x != nil {
		return x.PackageVersionRef
	}
	return ""
}

func (x *GuidanceRef) GetManifestDigest() string {
	if x != nil {
		return x.ManifestDigest
	}
	return ""
}

func (x *GuidanceRef) GetSourceRef() string {
	if x != nil && x.SourceRef != nil {
		return *x.SourceRef
	}
	return ""
}

func (x *GuidanceRef) GetCapabilityRef() string {
	if x != nil && x.CapabilityRef != nil {
		return *x.CapabilityRef
	}
	return ""
}

func (x *GuidanceRef) GetCapabilityKind() string {
	if x != nil && x.CapabilityKind != nil {
		return *x.CapabilityKind
	}
	return ""
}

func (x *GuidanceRef) GetPackageRef() string {
	if x != nil && x.PackageRef != nil {
		return *x.PackageRef
	}
	return ""
}

func (x *GuidanceRef) GetPackageSlug() string {
	if x != nil && x.PackageSlug != nil {
		return *x.PackageSlug
	}
	return ""
}

func (x *GuidanceRef) GetPackageVersionLabel() string {
	if x != nil && x.PackageVersionLabel != nil {
		return *x.PackageVersionLabel
	}
	return ""
}

func (x *GuidanceRef) GetPolicySummaryJson() string {
	if x != nil && x.PolicySummaryJson != nil {
		return *x.PolicySummaryJson
	}
	return ""
}

// GuidanceSelectionHint is an untrusted caller hint resolved by agent-manager
// through package-hub before creating immutable GuidanceRef records on a run.
type GuidanceSelectionHint struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// package_installation_ref optionally narrows selection to an installed guidance package.
	PackageInstallationRef *string `protobuf:"bytes,1,opt,name=package_installation_ref,json=packageInstallationRef,proto3,oneof" json:"package_installation_ref,omitempty"`
	// package_slug optionally narrows selection by package slug inside the run scope.
	PackageSlug   *string `protobuf:"bytes,2,opt,name=package_slug,json=packageSlug,proto3,oneof" json:"package_slug,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *GuidanceSelectionHint) Reset() {
	*x = GuidanceSelectionHint{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[12]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *GuidanceSelectionHint) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*GuidanceSelectionHint) ProtoMessage() {}

func (x *GuidanceSelectionHint) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[12]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use GuidanceSelectionHint.ProtoReflect.Descriptor instead.
func (*GuidanceSelectionHint) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{12}
}

func (x *GuidanceSelectionHint) GetPackageInstallationRef() string {
	if x != nil && x.PackageInstallationRef != nil {
		return *x.PackageInstallationRef
	}
	return ""
}

func (x *GuidanceSelectionHint) GetPackageSlug() string {
	if x != nil && x.PackageSlug != nil {
		return *x.PackageSlug
	}
	return ""
}

// ObjectRef points to object storage without embedding object content.
type ObjectRef struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// object_uri points to S3-compatible object storage.
	ObjectUri string `protobuf:"bytes,1,opt,name=object_uri,json=objectUri,proto3" json:"object_uri,omitempty"`
	// object_digest is a digest used for integrity checks.
	ObjectDigest string `protobuf:"bytes,2,opt,name=object_digest,json=objectDigest,proto3" json:"object_digest,omitempty"`
	// object_size_bytes is optional object size for limits and retention.
	ObjectSizeBytes *int64 `protobuf:"varint,3,opt,name=object_size_bytes,json=objectSizeBytes,proto3,oneof" json:"object_size_bytes,omitempty"`
	unknownFields   protoimpl.UnknownFields
	sizeCache       protoimpl.SizeCache
}

func (x *ObjectRef) Reset() {
	*x = ObjectRef{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[13]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ObjectRef) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ObjectRef) ProtoMessage() {}

func (x *ObjectRef) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[13]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ObjectRef.ProtoReflect.Descriptor instead.
func (*ObjectRef) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{13}
}

func (x *ObjectRef) GetObjectUri() string {
	if x != nil {
		return x.ObjectUri
	}
	return ""
}

func (x *ObjectRef) GetObjectDigest() string {
	if x != nil {
		return x.ObjectDigest
	}
	return ""
}

func (x *ObjectRef) GetObjectSizeBytes() int64 {
	if x != nil && x.ObjectSizeBytes != nil {
		return *x.ObjectSizeBytes
	}
	return 0
}

// Flow is a logical process template in a scope.
type Flow struct {
	state           protoimpl.MessageState `protogen:"open.v1"`
	Id              string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Scope           *ScopeRef              `protobuf:"bytes,2,opt,name=scope,proto3" json:"scope,omitempty"`
	Slug            string                 `protobuf:"bytes,3,opt,name=slug,proto3" json:"slug,omitempty"`
	DisplayName     []*LocalizedText       `protobuf:"bytes,4,rep,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	Description     []*LocalizedText       `protobuf:"bytes,5,rep,name=description,proto3" json:"description,omitempty"`
	IconObjectUri   *string                `protobuf:"bytes,6,opt,name=icon_object_uri,json=iconObjectUri,proto3,oneof" json:"icon_object_uri,omitempty"`
	Status          FlowStatus             `protobuf:"varint,7,opt,name=status,proto3,enum=kodex.agents.v1.FlowStatus" json:"status,omitempty"`
	ActiveVersionId *string                `protobuf:"bytes,8,opt,name=active_version_id,json=activeVersionId,proto3,oneof" json:"active_version_id,omitempty"`
	Version         int64                  `protobuf:"varint,9,opt,name=version,proto3" json:"version,omitempty"`
	CreatedAt       string                 `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt       string                 `protobuf:"bytes,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	unknownFields   protoimpl.UnknownFields
	sizeCache       protoimpl.SizeCache
}

func (x *Flow) Reset() {
	*x = Flow{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[14]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Flow) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Flow) ProtoMessage() {}

func (x *Flow) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[14]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Flow.ProtoReflect.Descriptor instead.
func (*Flow) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{14}
}

func (x *Flow) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

func (x *Flow) GetScope() *ScopeRef {
	if x != nil {
		return x.Scope
	}
	return nil
}

func (x *Flow) GetSlug() string {
	if x != nil {
		return x.Slug
	}
	return ""
}

func (x *Flow) GetDisplayName() []*LocalizedText {
	if x != nil {
		return x.DisplayName
	}
	return nil
}

func (x *Flow) GetDescription() []*LocalizedText {
	if x != nil {
		return x.Description
	}
	return nil
}

func (x *Flow) GetIconObjectUri() string {
	if x != nil && x.IconObjectUri != nil {
		return *x.IconObjectUri
	}
	return ""
}

func (x *Flow) GetStatus() FlowStatus {
	if x != nil {
		return x.Status
	}
	return FlowStatus_FLOW_STATUS_UNSPECIFIED
}

func (x *Flow) GetActiveVersionId() string {
	if x != nil && x.ActiveVersionId != nil {
		return *x.ActiveVersionId
	}
	return ""
}

func (x *Flow) GetVersion() int64 {
	if x != nil {
		return x.Version
	}
	return 0
}

func (x *Flow) GetCreatedAt() string {
	if x != nil {
		return x.CreatedAt
	}
	return ""
}

func (x *Flow) GetUpdatedAt() string {
	if x != nil {
		return x.UpdatedAt
	}
	return ""
}

// FlowVersion is an immutable flow definition snapshot.
type FlowVersion struct {
	state             protoimpl.MessageState `protogen:"open.v1"`
	Id                string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	FlowId            string                 `protobuf:"bytes,2,opt,name=flow_id,json=flowId,proto3" json:"flow_id,omitempty"`
	Version           int64                  `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
	SourceRef         *string                `protobuf:"bytes,4,opt,name=source_ref,json=sourceRef,proto3,oneof" json:"source_ref,omitempty"`
	DefinitionDigest  string                 `protobuf:"bytes,5,opt,name=definition_digest,json=definitionDigest,proto3" json:"definition_digest,omitempty"`
	Status            FlowVersionStatus      `protobuf:"varint,6,opt,name=status,proto3,enum=kodex.agents.v1.FlowVersionStatus" json:"status,omitempty"`
	Stages            []*Stage               `protobuf:"bytes,7,rep,name=stages,proto3" json:"stages,omitempty"`
	Transitions       []*StageTransition     `protobuf:"bytes,8,rep,name=transitions,proto3" json:"transitions,omitempty"`
	StageRoleBindings []*StageRoleBinding    `protobuf:"bytes,9,rep,name=stage_role_bindings,json=stageRoleBindings,proto3" json:"stage_role_bindings,omitempty"`
	ActivatedAt       *string                `protobuf:"bytes,10,opt,name=activated_at,json=activatedAt,proto3,oneof" json:"activated_at,omitempty"`
	CreatedAt         string                 `protobuf:"bytes,11,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	unknownFields     protoimpl.UnknownFields
	sizeCache         protoimpl.SizeCache
}

func (x *FlowVersion) Reset() {
	*x = FlowVersion{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[15]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *FlowVersion) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*FlowVersion) ProtoMessage() {}

func (x *FlowVersion) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[15]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use FlowVersion.ProtoReflect.Descriptor instead.
func (*FlowVersion) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{15}
}

func (x *FlowVersion) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

func (x *FlowVersion) GetFlowId() string {
	if x != nil {
		return x.FlowId
	}
	return ""
}

func (x *FlowVersion) GetVersion() int64 {
	if x != nil {
		return x.Version
	}
	return 0
}

func (x *FlowVersion) GetSourceRef() string {
	if x != nil && x.SourceRef != nil {
		return *x.SourceRef
	}
	return ""
}

func (x *FlowVersion) GetDefinitionDigest() string {
	if x != nil {
		return x.DefinitionDigest
	}
	return ""
}

func (x *FlowVersion) GetStatus() FlowVersionStatus {
	if x != nil {
		return x.Status
	}
	return FlowVersionStatus_FLOW_VERSION_STATUS_UNSPECIFIED
}

func (x *FlowVersion) GetStages() []*Stage {
	if x != nil {
		return x.Stages
	}
	return nil
}

func (x *FlowVersion) GetTransitions() []*StageTransition {
	if x != nil {
		return x.Transitions
	}
	return nil
}

func (x *FlowVersion) GetStageRoleBindings() []*StageRoleBinding {
	if x != nil {
		return x.StageRoleBindings
	}
	return nil
}

func (x *FlowVersion) GetActivatedAt() string {
	if x != nil && x.ActivatedAt != nil {
		return *x.ActivatedAt
	}
	return ""
}

func (x *FlowVersion) GetCreatedAt() string {
	if x != nil {
		return x.CreatedAt
	}
	return ""
}

// Stage is one flow stage.
type Stage struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Id            string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	FlowVersionId string                 `protobuf:"bytes,2,opt,name=flow_version_id,json=flowVersionId,proto3" json:"flow_version_id,omitempty"`
	Slug          string                 `protobuf:"bytes,3,opt,name=slug,proto3" json:"slug,omitempty"`
	StageType     StageType              `protobuf:"varint,4,opt,name=stage_type,json=stageType,proto3,enum=kodex.agents.v1.StageType" json:"stage_type,omitempty"`
	DisplayName   []*LocalizedText       `protobuf:"bytes,5,rep,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	IconObjectUri *string                `protobuf:"bytes,6,opt,name=icon_object_uri,json=iconObjectUri,proto3,oneof" json:"icon_object_uri,omitempty"`
	// required_artifacts_json is bounded policy JSON for expected provider/runtime/package artifacts.
	RequiredArtifactsJson string `protobuf:"bytes,7,opt,name=required_artifacts_json,json=requiredArtifactsJson,proto3" json:"required_artifacts_json,omitempty"`
	// acceptance_policy_json is bounded policy JSON for checks, watermarks, gates and transitions.
	AcceptancePolicyJson string `protobuf:"bytes,8,opt,name=acceptance_policy_json,json=acceptancePolicyJson,proto3" json:"acceptance_policy_json,omitempty"`
	Position             int32  `protobuf:"varint,9,opt,name=position,proto3" json:"position,omitempty"`
	unknownFields        protoimpl.UnknownFields
	sizeCache            protoimpl.SizeCache
}

func (x *Stage) Reset() {
	*x = Stage{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[16]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Stage) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Stage) ProtoMessage() {}

func (x *Stage) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[16]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Stage.ProtoReflect.Descriptor instead.
func (*Stage) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{16}
}

func (x *Stage) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

func (x *Stage) GetFlowVersionId() string {
	if x != nil {
		return x.FlowVersionId
	}
	return ""
}

func (x *Stage) GetSlug() string {
	if x != nil {
		return x.Slug
	}
	return ""
}

func (x *Stage) GetStageType() StageType {
	if x != nil {
		return x.StageType
	}
	return StageType_STAGE_TYPE_UNSPECIFIED
}

func (x *Stage) GetDisplayName() []*LocalizedText {
	if x != nil {
		return x.DisplayName
	}
	return nil
}

func (x *Stage) GetIconObjectUri() string {
	if x != nil && x.IconObjectUri != nil {
		return *x.IconObjectUri
	}
	return ""
}

func (x *Stage) GetRequiredArtifactsJson() string {
	if x != nil {
		return x.RequiredArtifactsJson
	}
	return ""
}

func (x *Stage) GetAcceptancePolicyJson() string {
	if x != nil {
		return x.AcceptancePolicyJson
	}
	return ""
}

func (x *Stage) GetPosition() int32 {
	if x != nil {
		return x.Position
	}
	return 0
}

// StageTransition is an allowed transition between stages.
type StageTransition struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Id            string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	FlowVersionId string                 `protobuf:"bytes,2,opt,name=flow_version_id,json=flowVersionId,proto3" json:"flow_version_id,omitempty"`
	FromStageId   *string                `protobuf:"bytes,3,opt,name=from_stage_id,json=fromStageId,proto3,oneof" json:"from_stage_id,omitempty"`
	ToStageId     string                 `protobuf:"bytes,4,opt,name=to_stage_id,json=toStageId,proto3" json:"to_stage_id,omitempty"`
	// condition_json is bounded policy JSON for acceptance, gate, branch or manual choices.
	ConditionJson string  `protobuf:"bytes,5,opt,name=condition_json,json=conditionJson,proto3" json:"condition_json,omitempty"`
	FollowUpType  *string `protobuf:"bytes,6,opt,name=follow_up_type,json=followUpType,proto3,oneof" json:"follow_up_type,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *StageTransition) Reset() {
	*x = StageTransition{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[17]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *StageTransition) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*StageTransition) ProtoMessage() {}

func (x *StageTransition) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[17]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use StageTransition.ProtoReflect.Descriptor instead.
func (*StageTransition) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{17}
}

func (x *StageTransition) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

func (x *StageTransition) GetFlowVersionId() string {
	if x != nil {
		return x.FlowVersionId
	}
	return ""
}

func (x *StageTransition) GetFromStageId() string {
	if x != nil && x.FromStageId != nil {
		return *x.FromStageId
	}
	return ""
}

func (x *StageTransition) GetToStageId() string {
	if x != nil {
		return x.ToStageId
	}
	return ""
}

func (x *StageTransition) GetConditionJson() string {
	if x != nil {
		return x.ConditionJson
	}
	return ""
}

func (x *StageTransition) GetFollowUpType() string {
	if x != nil && x.FollowUpType != nil {
		return *x.FollowUpType
	}
	return ""
}

// RoleProfile is an agent role profile.
type RoleProfile struct {
	state                    protoimpl.MessageState `protogen:"open.v1"`
	Id                       string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Scope                    *ScopeRef              `protobuf:"bytes,2,opt,name=scope,proto3" json:"scope,omitempty"`
	Slug                     string                 `protobuf:"bytes,3,opt,name=slug,proto3" json:"slug,omitempty"`
	DisplayName              []*LocalizedText       `protobuf:"bytes,4,rep,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	IconObjectUri            *string                `protobuf:"bytes,5,opt,name=icon_object_uri,json=iconObjectUri,proto3,oneof" json:"icon_object_uri,omitempty"`
	RoleKind                 RoleKind               `protobuf:"varint,6,opt,name=role_kind,json=roleKind,proto3,enum=kodex.agents.v1.RoleKind" json:"role_kind,omitempty"`
	RuntimeProfile           string                 `protobuf:"bytes,7,opt,name=runtime_profile,json=runtimeProfile,proto3" json:"runtime_profile,omitempty"`
	AllowedMcpTools          []string               `protobuf:"bytes,8,rep,name=allowed_mcp_tools,json=allowedMcpTools,proto3" json:"allowed_mcp_tools,omitempty"`
	ProviderAccountPolicyRef *string                `protobuf:"bytes,9,opt,name=provider_account_policy_ref,json=providerAccountPolicyRef,proto3,oneof" json:"provider_account_policy_ref,omitempty"`
	Status                   RoleStatus             `protobuf:"varint,10,opt,name=status,proto3,enum=kodex.agents.v1.RoleStatus" json:"status,omitempty"`
	Version                  int64                  `protobuf:"varint,11,opt,name=version,proto3" json:"version,omitempty"`
	CreatedAt                string                 `protobuf:"bytes,12,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt                string                 `protobuf:"bytes,13,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	unknownFields            protoimpl.UnknownFields
	sizeCache                protoimpl.SizeCache
}

func (x *RoleProfile) Reset() {
	*x = RoleProfile{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[18]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *RoleProfile) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*RoleProfile) ProtoMessage() {}

func (x *RoleProfile) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[18]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use RoleProfile.ProtoReflect.Descriptor instead.
func (*RoleProfile) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{18}
}

func (x *RoleProfile) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

func (x *RoleProfile) GetScope() *ScopeRef {
	if x != nil {
		return x.Scope
	}
	return nil
}

func (x *RoleProfile) GetSlug() string {
	if x != nil {
		return x.Slug
	}
	return ""
}

func (x *RoleProfile) GetDisplayName() []*LocalizedText {
	if x != nil {
		return x.DisplayName
	}
	return nil
}

func (x *RoleProfile) GetIconObjectUri() string {
	if x != nil && x.IconObjectUri != nil {
		return *x.IconObjectUri
	}
	return ""
}

func (x *RoleProfile) GetRoleKind() RoleKind {
	if x != nil {
		return x.RoleKind
	}
	return RoleKind_ROLE_KIND_UNSPECIFIED
}

func (x *RoleProfile) GetRuntimeProfile() string {
	if x != nil {
		return x.RuntimeProfile
	}
	return ""
}

func (x *RoleProfile) GetAllowedMcpTools() []string {
	if x != nil {
		return x.AllowedMcpTools
	}
	return nil
}

func (x *RoleProfile) GetProviderAccountPolicyRef() string {
	if x != nil && x.ProviderAccountPolicyRef != nil {
		return *x.ProviderAccountPolicyRef
	}
	return ""
}

func (x *RoleProfile) GetStatus() RoleStatus {
	if x != nil {
		return x.Status
	}
	return RoleStatus_ROLE_STATUS_UNSPECIFIED
}

func (x *RoleProfile) GetVersion() int64 {
	if x != nil {
		return x.Version
	}
	return 0
}

func (x *RoleProfile) GetCreatedAt() string {
	if x != nil {
		return x.CreatedAt
	}
	return ""
}

func (x *RoleProfile) GetUpdatedAt() string {
	if x != nil {
		return x.UpdatedAt
	}
	return ""
}

// PromptTemplate groups prompt versions for one role and purpose.
type PromptTemplate struct {
	state           protoimpl.MessageState `protogen:"open.v1"`
	Id              string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	RoleProfileId   string                 `protobuf:"bytes,2,opt,name=role_profile_id,json=roleProfileId,proto3" json:"role_profile_id,omitempty"`
	PromptKind      PromptKind             `protobuf:"varint,3,opt,name=prompt_kind,json=promptKind,proto3,enum=kodex.agents.v1.PromptKind" json:"prompt_kind,omitempty"`
	ActiveVersionId *string                `protobuf:"bytes,4,opt,name=active_version_id,json=activeVersionId,proto3,oneof" json:"active_version_id,omitempty"`
	Version         int64                  `protobuf:"varint,5,opt,name=version,proto3" json:"version,omitempty"`
	CreatedAt       string                 `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt       string                 `protobuf:"bytes,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	unknownFields   protoimpl.UnknownFields
	sizeCache       protoimpl.SizeCache
}

func (x *PromptTemplate) Reset() {
	*x = PromptTemplate{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[19]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *PromptTemplate) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*PromptTemplate) ProtoMessage() {}

func (x *PromptTemplate) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[19]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use PromptTemplate.ProtoReflect.Descriptor instead.
func (*PromptTemplate) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{19}
}

func (x *PromptTemplate) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

func (x *PromptTemplate) GetRoleProfileId() string {
	if x != nil {
		return x.RoleProfileId
	}
	return ""
}

func (x *PromptTemplate) GetPromptKind() PromptKind {
	if x != nil {
		return x.PromptKind
	}
	return PromptKind_PROMPT_KIND_UNSPECIFIED
}

func (x *PromptTemplate) GetActiveVersionId() string {
	if x != nil && x.ActiveVersionId != nil {
		return *x.ActiveVersionId
	}
	return ""
}

func (x *PromptTemplate) GetVersion() int64 {
	if x != nil {
		return x.Version
	}
	return 0
}

func (x *PromptTemplate) GetCreatedAt() string {
	if x != nil {
		return x.CreatedAt
	}
	return ""
}

func (x *PromptTemplate) GetUpdatedAt() string {
	if x != nil {
		return x.UpdatedAt
	}
	return ""
}

// PromptTemplateVersion fixes prompt template content and its source.
type PromptTemplateVersion struct {
	state            protoimpl.MessageState `protogen:"open.v1"`
	Id               string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	PromptTemplateId string                 `protobuf:"bytes,2,opt,name=prompt_template_id,json=promptTemplateId,proto3" json:"prompt_template_id,omitempty"`
	RoleProfileId    string                 `protobuf:"bytes,3,opt,name=role_profile_id,json=roleProfileId,proto3" json:"role_profile_id,omitempty"`
	PromptKind       PromptKind             `protobuf:"varint,4,opt,name=prompt_kind,json=promptKind,proto3,enum=kodex.agents.v1.PromptKind" json:"prompt_kind,omitempty"`
	Version          int64                  `protobuf:"varint,5,opt,name=version,proto3" json:"version,omitempty"`
	SourceRef        *string                `protobuf:"bytes,6,opt,name=source_ref,json=sourceRef,proto3,oneof" json:"source_ref,omitempty"`
	TemplateObject   *ObjectRef             `protobuf:"bytes,7,opt,name=template_object,json=templateObject,proto3,oneof" json:"template_object,omitempty"`
	TemplateDigest   string                 `protobuf:"bytes,8,opt,name=template_digest,json=templateDigest,proto3" json:"template_digest,omitempty"`
	Status           PromptVersionStatus    `protobuf:"varint,9,opt,name=status,proto3,enum=kodex.agents.v1.PromptVersionStatus" json:"status,omitempty"`
	CreatedAt        string                 `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	ActivatedAt      *string                `protobuf:"bytes,11,opt,name=activated_at,json=activatedAt,proto3,oneof" json:"activated_at,omitempty"`
	unknownFields    protoimpl.UnknownFields
	sizeCache        protoimpl.SizeCache
}

func (x *PromptTemplateVersion) Reset() {
	*x = PromptTemplateVersion{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[20]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *PromptTemplateVersion) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*PromptTemplateVersion) ProtoMessage() {}

func (x *PromptTemplateVersion) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[20]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use PromptTemplateVersion.ProtoReflect.Descriptor instead.
func (*PromptTemplateVersion) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{20}
}

func (x *PromptTemplateVersion) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

func (x *PromptTemplateVersion) GetPromptTemplateId() string {
	if x != nil {
		return x.PromptTemplateId
	}
	return ""
}

func (x *PromptTemplateVersion) GetRoleProfileId() string {
	if x != nil {
		return x.RoleProfileId
	}
	return ""
}

func (x *PromptTemplateVersion) GetPromptKind() PromptKind {
	if x != nil {
		return x.PromptKind
	}
	return PromptKind_PROMPT_KIND_UNSPECIFIED
}

func (x *PromptTemplateVersion) GetVersion() int64 {
	if x != nil {
		return x.Version
	}
	return 0
}

func (x *PromptTemplateVersion) GetSourceRef() string {
	if x != nil && x.SourceRef != nil {
		return *x.SourceRef
	}
	return ""
}

func (x *PromptTemplateVersion) GetTemplateObject() *ObjectRef {
	if x != nil {
		return x.TemplateObject
	}
	return nil
}

func (x *PromptTemplateVersion) GetTemplateDigest() string {
	if x != nil {
		return x.TemplateDigest
	}
	return ""
}

func (x *PromptTemplateVersion) GetStatus() PromptVersionStatus {
	if x != nil {
		return x.Status
	}
	return PromptVersionStatus_PROMPT_VERSION_STATUS_UNSPECIFIED
}

func (x *PromptTemplateVersion) GetCreatedAt() string {
	if x != nil {
		return x.CreatedAt
	}
	return ""
}

func (x *PromptTemplateVersion) GetActivatedAt() string {
	if x != nil && x.ActivatedAt != nil {
		return *x.ActivatedAt
	}
	return ""
}

// StageRoleBinding links a stage to a role.
type StageRoleBinding struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Id            string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	StageId       string                 `protobuf:"bytes,2,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"`
	RoleProfileId string                 `protobuf:"bytes,3,opt,name=role_profile_id,json=roleProfileId,proto3" json:"role_profile_id,omitempty"`
	BindingKind   StageRoleBindingKind   `protobuf:"varint,4,opt,name=binding_kind,json=bindingKind,proto3,enum=kodex.agents.v1.StageRoleBindingKind" json:"binding_kind,omitempty"`
	// launch_policy_json is bounded policy JSON for manual, automatic, parallel and retry launches.
	LaunchPolicyJson      string `protobuf:"bytes,5,opt,name=launch_policy_json,json=launchPolicyJson,proto3" json:"launch_policy_json,omitempty"`
	RequiredForAcceptance bool   `protobuf:"varint,6,opt,name=required_for_acceptance,json=requiredForAcceptance,proto3" json:"required_for_acceptance,omitempty"`
	unknownFields         protoimpl.UnknownFields
	sizeCache             protoimpl.SizeCache
}

func (x *StageRoleBinding) Reset() {
	*x = StageRoleBinding{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[21]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *StageRoleBinding) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*StageRoleBinding) ProtoMessage() {}

func (x *StageRoleBinding) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[21]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use StageRoleBinding.ProtoReflect.Descriptor instead.
func (*StageRoleBinding) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{21}
}

func (x *StageRoleBinding) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

func (x *StageRoleBinding) GetStageId() string {
	if x != nil {
		return x.StageId
	}
	return ""
}

func (x *StageRoleBinding) GetRoleProfileId() string {
	if x != nil {
		return x.RoleProfileId
	}
	return ""
}

func (x *StageRoleBinding) GetBindingKind() StageRoleBindingKind {
	if x != nil {
		return x.BindingKind
	}
	return StageRoleBindingKind_STAGE_ROLE_BINDING_KIND_UNSPECIFIED
}

func (x *StageRoleBinding) GetLaunchPolicyJson() string {
	if x != nil {
		return x.LaunchPolicyJson
	}
	return ""
}

func (x *StageRoleBinding) GetRequiredForAcceptance() bool {
	if x != nil {
		return x.RequiredForAcceptance
	}
	return false
}

// AgentSession is a resumable logical agent context.
type AgentSession struct {
	state                 protoimpl.MessageState `protogen:"open.v1"`
	Id                    string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Scope                 *ScopeRef              `protobuf:"bytes,2,opt,name=scope,proto3" json:"scope,omitempty"`
	ProviderWorkItemRef   *string                `protobuf:"bytes,3,opt,name=provider_work_item_ref,json=providerWorkItemRef,proto3,oneof" json:"provider_work_item_ref,omitempty"`
	FlowVersionId         *string                `protobuf:"bytes,4,opt,name=flow_version_id,json=flowVersionId,proto3,oneof" json:"flow_version_id,omitempty"`
	CurrentStageId        *string                `protobuf:"bytes,5,opt,name=current_stage_id,json=currentStageId,proto3,oneof" json:"current_stage_id,omitempty"`
	LatestStateSnapshotId *string                `protobuf:"bytes,6,opt,name=latest_state_snapshot_id,json=latestStateSnapshotId,proto3,oneof" json:"latest_state_snapshot_id,omitempty"`
	Status                AgentSessionStatus     `protobuf:"varint,7,opt,name=status,proto3,enum=kodex.agents.v1.AgentSessionStatus" json:"status,omitempty"`
	CreatedByActorRef     string                 `protobuf:"bytes,8,opt,name=created_by_actor_ref,json=createdByActorRef,proto3" json:"created_by_actor_ref,omitempty"`
	Version               int64                  `protobuf:"varint,9,opt,name=version,proto3" json:"version,omitempty"`
	CreatedAt             string                 `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt             string                 `protobuf:"bytes,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	unknownFields         protoimpl.UnknownFields
	sizeCache             protoimpl.SizeCache
}

func (x *AgentSession) Reset() {
	*x = AgentSession{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[22]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *AgentSession) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*AgentSession) ProtoMessage() {}

func (x *AgentSession) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[22]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use AgentSession.ProtoReflect.Descriptor instead.
func (*AgentSession) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{22}
}

func (x *AgentSession) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

func (x *AgentSession) GetScope() *ScopeRef {
	if x != nil {
		return x.Scope
	}
	return nil
}

func (x *AgentSession) GetProviderWorkItemRef() string {
	if x != nil && x.ProviderWorkItemRef != nil {
		return *x.ProviderWorkItemRef
	}
	return ""
}

func (x *AgentSession) GetFlowVersionId() string {
	if x != nil && x.FlowVersionId != nil {
		return *x.FlowVersionId
	}
	return ""
}

func (x *AgentSession) GetCurrentStageId() string {
	if x != nil && x.CurrentStageId != nil {
		return *x.CurrentStageId
	}
	return ""
}

func (x *AgentSession) GetLatestStateSnapshotId() string {
	if x != nil && x.LatestStateSnapshotId != nil {
		return *x.LatestStateSnapshotId
	}
	return ""
}

func (x *AgentSession) GetStatus() AgentSessionStatus {
	if x != nil {
		return x.Status
	}
	return AgentSessionStatus_AGENT_SESSION_STATUS_UNSPECIFIED
}

func (x *AgentSession) GetCreatedByActorRef() string {
	if x != nil {
		return x.CreatedByActorRef
	}
	return ""
}

func (x *AgentSession) GetVersion() int64 {
	if x != nil {
		return x.Version
	}
	return 0
}

func (x *AgentSession) GetCreatedAt() string {
	if x != nil {
		return x.CreatedAt
	}
	return ""
}

func (x *AgentSession) GetUpdatedAt() string {
	if x != nil {
		return x.UpdatedAt
	}
	return ""
}

// AgentRun is one role run inside an agent session.
type AgentRun struct {
	state                   protoimpl.MessageState `protogen:"open.v1"`
	Id                      string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	SessionId               string                 `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	FlowVersionId           *string                `protobuf:"bytes,3,opt,name=flow_version_id,json=flowVersionId,proto3,oneof" json:"flow_version_id,omitempty"`
	StageId                 *string                `protobuf:"bytes,4,opt,name=stage_id,json=stageId,proto3,oneof" json:"stage_id,omitempty"`
	RoleProfileId           string                 `protobuf:"bytes,5,opt,name=role_profile_id,json=roleProfileId,proto3" json:"role_profile_id,omitempty"`
	RoleProfileVersion      int64                  `protobuf:"varint,6,opt,name=role_profile_version,json=roleProfileVersion,proto3" json:"role_profile_version,omitempty"`
	RoleProfileDigest       string                 `protobuf:"bytes,7,opt,name=role_profile_digest,json=roleProfileDigest,proto3" json:"role_profile_digest,omitempty"`
	PromptTemplateVersionId string                 `protobuf:"bytes,8,opt,name=prompt_template_version_id,json=promptTemplateVersionId,proto3" json:"prompt_template_version_id,omitempty"`
	PromptTemplateDigest    string                 `protobuf:"bytes,9,opt,name=prompt_template_digest,json=promptTemplateDigest,proto3" json:"prompt_template_digest,omitempty"`
	RuntimeContext          *RuntimeContextRef     `protobuf:"bytes,10,opt,name=runtime_context,json=runtimeContext,proto3" json:"runtime_context,omitempty"`
	ProviderTarget          *ProviderTargetRef     `protobuf:"bytes,11,opt,name=provider_target,json=providerTarget,proto3" json:"provider_target,omitempty"`
	GuidanceRefs            []*GuidanceRef         `protobuf:"bytes,12,rep,name=guidance_refs,json=guidanceRefs,proto3" json:"guidance_refs,omitempty"`
	Status                  AgentRunStatus         `protobuf:"varint,13,opt,name=status,proto3,enum=kodex.agents.v1.AgentRunStatus" json:"status,omitempty"`
	ResultSummary           *string                `protobuf:"bytes,14,opt,name=result_summary,json=resultSummary,proto3,oneof" json:"result_summary,omitempty"`
	FailureCode             *string                `protobuf:"bytes,15,opt,name=failure_code,json=failureCode,proto3,oneof" json:"failure_code,omitempty"`
	Version                 int64                  `protobuf:"varint,16,opt,name=version,proto3" json:"version,omitempty"`
	StartedAt               *string                `protobuf:"bytes,17,opt,name=started_at,json=startedAt,proto3,oneof" json:"started_at,omitempty"`
	FinishedAt              *string                `protobuf:"bytes,18,opt,name=finished_at,json=finishedAt,proto3,oneof" json:"finished_at,omitempty"`
	CreatedAt               string                 `protobuf:"bytes,19,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt               string                 `protobuf:"bytes,20,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	unknownFields           protoimpl.UnknownFields
	sizeCache               protoimpl.SizeCache
}

func (x *AgentRun) Reset() {
	*x = AgentRun{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[23]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *AgentRun) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*AgentRun) ProtoMessage() {}

func (x *AgentRun) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[23]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use AgentRun.ProtoReflect.Descriptor instead.
func (*AgentRun) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{23}
}

func (x *AgentRun) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

func (x *AgentRun) GetSessionId() string {
	if x != nil {
		return x.SessionId
	}
	return ""
}

func (x *AgentRun) GetFlowVersionId() string {
	if x != nil && x.FlowVersionId != nil {
		return *x.FlowVersionId
	}
	return ""
}

func (x *AgentRun) GetStageId() string {
	if x != nil && x.StageId != nil {
		return *x.StageId
	}
	return ""
}

func (x *AgentRun) GetRoleProfileId() string {
	if x != nil {
		return x.RoleProfileId
	}
	return ""
}

func (x *AgentRun) GetRoleProfileVersion() int64 {
	if x != nil {
		return x.RoleProfileVersion
	}
	return 0
}

func (x *AgentRun) GetRoleProfileDigest() string {
	if x != nil {
		return x.RoleProfileDigest
	}
	return ""
}

func (x *AgentRun) GetPromptTemplateVersionId() string {
	if x != nil {
		return x.PromptTemplateVersionId
	}
	return ""
}

func (x *AgentRun) GetPromptTemplateDigest() string {
	if x != nil {
		return x.PromptTemplateDigest
	}
	return ""
}

func (x *AgentRun) GetRuntimeContext() *RuntimeContextRef {
	if x != nil {
		return x.RuntimeContext
	}
	return nil
}

func (x *AgentRun) GetProviderTarget() *ProviderTargetRef {
	if x != nil {
		return x.ProviderTarget
	}
	return nil
}

func (x *AgentRun) GetGuidanceRefs() []*GuidanceRef {
	if x != nil {
		return x.GuidanceRefs
	}
	return nil
}

func (x *AgentRun) GetStatus() AgentRunStatus {
	if x != nil {
		return x.Status
	}
	return AgentRunStatus_AGENT_RUN_STATUS_UNSPECIFIED
}

func (x *AgentRun) GetResultSummary() string {
	if x != nil && x.ResultSummary != nil {
		return *x.ResultSummary
	}
	return ""
}

func (x *AgentRun) GetFailureCode() string {
	if x != nil && x.FailureCode != nil {
		return *x.FailureCode
	}
	return ""
}

func (x *AgentRun) GetVersion() int64 {
	if x != nil {
		return x.Version
	}
	return 0
}

func (x *AgentRun) GetStartedAt() string {
	if x != nil && x.StartedAt != nil {
		return *x.StartedAt
	}
	return ""
}

func (x *AgentRun) GetFinishedAt() string {
	if x != nil && x.FinishedAt != nil {
		return *x.FinishedAt
	}
	return ""
}

func (x *AgentRun) GetCreatedAt() string {
	if x != nil {
		return x.CreatedAt
	}
	return ""
}

func (x *AgentRun) GetUpdatedAt() string {
	if x != nil {
		return x.UpdatedAt
	}
	return ""
}

// AgentSessionStateSnapshot is metadata for an object-store Codex session state.
type AgentSessionStateSnapshot struct {
	state         protoimpl.MessageState   `protogen:"open.v1"`
	Id            string                   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	SessionId     string                   `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	RunId         *string                  `protobuf:"bytes,3,opt,name=run_id,json=runId,proto3,oneof" json:"run_id,omitempty"`
	SnapshotKind  AgentSessionSnapshotKind `protobuf:"varint,4,opt,name=snapshot_kind,json=snapshotKind,proto3,enum=kodex.agents.v1.AgentSessionSnapshotKind" json:"snapshot_kind,omitempty"`
	TurnIndex     *int64                   `protobuf:"varint,5,opt,name=turn_index,json=turnIndex,proto3,oneof" json:"turn_index,omitempty"`
	Object        *ObjectRef               `protobuf:"bytes,6,opt,name=object,proto3" json:"object,omitempty"`
	CapturedAt    string                   `protobuf:"bytes,7,opt,name=captured_at,json=capturedAt,proto3" json:"captured_at,omitempty"`
	CreatedAt     string                   `protobuf:"bytes,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *AgentSessionStateSnapshot) Reset() {
	*x = AgentSessionStateSnapshot{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[24]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *AgentSessionStateSnapshot) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*AgentSessionStateSnapshot) ProtoMessage() {}

func (x *AgentSessionStateSnapshot) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[24]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use AgentSessionStateSnapshot.ProtoReflect.Descriptor instead.
func (*AgentSessionStateSnapshot) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{24}
}

func (x *AgentSessionStateSnapshot) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

func (x *AgentSessionStateSnapshot) GetSessionId() string {
	if x != nil {
		return x.SessionId
	}
	return ""
}

func (x *AgentSessionStateSnapshot) GetRunId() string {
	if x != nil && x.RunId != nil {
		return *x.RunId
	}
	return ""
}

func (x *AgentSessionStateSnapshot) GetSnapshotKind() AgentSessionSnapshotKind {
	if x != nil {
		return x.SnapshotKind
	}
	return AgentSessionSnapshotKind_AGENT_SESSION_SNAPSHOT_KIND_UNSPECIFIED
}

func (x *AgentSessionStateSnapshot) GetTurnIndex() int64 {
	if x != nil && x.TurnIndex != nil {
		return *x.TurnIndex
	}
	return 0
}

func (x *AgentSessionStateSnapshot) GetObject() *ObjectRef {
	if x != nil {
		return x.Object
	}
	return nil
}

func (x *AgentSessionStateSnapshot) GetCapturedAt() string {
	if x != nil {
		return x.CapturedAt
	}
	return ""
}

func (x *AgentSessionStateSnapshot) GetCreatedAt() string {
	if x != nil {
		return x.CreatedAt
	}
	return ""
}

// AcceptanceResult records machine, role or human-gate acceptance state.
type AcceptanceResult struct {
	state     protoimpl.MessageState `protogen:"open.v1"`
	Id        string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	SessionId string                 `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	RunId     *string                `protobuf:"bytes,3,opt,name=run_id,json=runId,proto3,oneof" json:"run_id,omitempty"`
	StageId   *string                `protobuf:"bytes,4,opt,name=stage_id,json=stageId,proto3,oneof" json:"stage_id,omitempty"`
	CheckKind AcceptanceCheckKind    `protobuf:"varint,5,opt,name=check_kind,json=checkKind,proto3,enum=kodex.agents.v1.AcceptanceCheckKind" json:"check_kind,omitempty"`
	Status    AcceptanceStatus       `protobuf:"varint,6,opt,name=status,proto3,enum=kodex.agents.v1.AcceptanceStatus" json:"status,omitempty"`
	TargetRef *string                `protobuf:"bytes,7,opt,name=target_ref,json=targetRef,proto3,oneof" json:"target_ref,omitempty"`
	// details_json is bounded diagnostic JSON without secrets, tokens, email or provider payloads.
	DetailsJson       string                `protobuf:"bytes,8,opt,name=details_json,json=detailsJson,proto3" json:"details_json,omitempty"`
	Version           int64                 `protobuf:"varint,9,opt,name=version,proto3" json:"version,omitempty"`
	CreatedAt         string                `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt         string                `protobuf:"bytes,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	GovernanceContext *GovernanceContextRef `protobuf:"bytes,12,opt,name=governance_context,json=governanceContext,proto3" json:"governance_context,omitempty"`
	unknownFields     protoimpl.UnknownFields
	sizeCache         protoimpl.SizeCache
}

func (x *AcceptanceResult) Reset() {
	*x = AcceptanceResult{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[25]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *AcceptanceResult) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*AcceptanceResult) ProtoMessage() {}

func (x *AcceptanceResult) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[25]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use AcceptanceResult.ProtoReflect.Descriptor instead.
func (*AcceptanceResult) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{25}
}

func (x *AcceptanceResult) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

func (x *AcceptanceResult) GetSessionId() string {
	if x != nil {
		return x.SessionId
	}
	return ""
}

func (x *AcceptanceResult) GetRunId() string {
	if x != nil && x.RunId != nil {
		return *x.RunId
	}
	return ""
}

func (x *AcceptanceResult) GetStageId() string {
	if x != nil && x.StageId != nil {
		return *x.StageId
	}
	return ""
}

func (x *AcceptanceResult) GetCheckKind() AcceptanceCheckKind {
	if x != nil {
		return x.CheckKind
	}
	return AcceptanceCheckKind_ACCEPTANCE_CHECK_KIND_UNSPECIFIED
}

func (x *AcceptanceResult) GetStatus() AcceptanceStatus {
	if x != nil {
		return x.Status
	}
	return AcceptanceStatus_ACCEPTANCE_STATUS_UNSPECIFIED
}

func (x *AcceptanceResult) GetTargetRef() string {
	if x != nil && x.TargetRef != nil {
		return *x.TargetRef
	}
	return ""
}

func (x *AcceptanceResult) GetDetailsJson() string {
	if x != nil {
		return x.DetailsJson
	}
	return ""
}

func (x *AcceptanceResult) GetVersion() int64 {
	if x != nil {
		return x.Version
	}
	return 0
}

func (x *AcceptanceResult) GetCreatedAt() string {
	if x != nil {
		return x.CreatedAt
	}
	return ""
}

func (x *AcceptanceResult) GetUpdatedAt() string {
	if x != nil {
		return x.UpdatedAt
	}
	return ""
}

func (x *AcceptanceResult) GetGovernanceContext() *GovernanceContextRef {
	if x != nil {
		return x.GovernanceContext
	}
	return nil
}

// FollowUpIntent is an intent to create or update a provider-native work item.
type FollowUpIntent struct {
	state                 protoimpl.MessageState `protogen:"open.v1"`
	Id                    string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	SessionId             string                 `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	FromStageId           *string                `protobuf:"bytes,3,opt,name=from_stage_id,json=fromStageId,proto3,oneof" json:"from_stage_id,omitempty"`
	ToStageId             *string                `protobuf:"bytes,4,opt,name=to_stage_id,json=toStageId,proto3,oneof" json:"to_stage_id,omitempty"`
	ProviderWorkItemType  string                 `protobuf:"bytes,5,opt,name=provider_work_item_type,json=providerWorkItemType,proto3" json:"provider_work_item_type,omitempty"`
	ProviderOperationRef  *string                `protobuf:"bytes,6,opt,name=provider_operation_ref,json=providerOperationRef,proto3,oneof" json:"provider_operation_ref,omitempty"`
	Status                FollowUpIntentStatus   `protobuf:"varint,7,opt,name=status,proto3,enum=kodex.agents.v1.FollowUpIntentStatus" json:"status,omitempty"`
	InstructionBodyDigest *string                `protobuf:"bytes,8,opt,name=instruction_body_digest,json=instructionBodyDigest,proto3,oneof" json:"instruction_body_digest,omitempty"`
	Version               int64                  `protobuf:"varint,9,opt,name=version,proto3" json:"version,omitempty"`
	CreatedAt             string                 `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt             string                 `protobuf:"bytes,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// run_id points to the run that produced the follow-up evidence.
	RunId *string `protobuf:"bytes,12,opt,name=run_id,json=runId,proto3,oneof" json:"run_id,omitempty"`
	// acceptance_result_id points to the positive machine acceptance result when one exists.
	AcceptanceResultId *string `protobuf:"bytes,13,opt,name=acceptance_result_id,json=acceptanceResultId,proto3,oneof" json:"acceptance_result_id,omitempty"`
	// provider_target contains safe refs to provider-native artifacts.
	ProviderTarget *ProviderTargetRef `protobuf:"bytes,14,opt,name=provider_target,json=providerTarget,proto3" json:"provider_target,omitempty"`
	// safe_title is a bounded title for the next provider-native work item.
	SafeTitle *string `protobuf:"bytes,15,opt,name=safe_title,json=safeTitle,proto3,oneof" json:"safe_title,omitempty"`
	// safe_summary is a bounded summary for the next provider-native work item.
	SafeSummary *string `protobuf:"bytes,16,opt,name=safe_summary,json=safeSummary,proto3,oneof" json:"safe_summary,omitempty"`
	// role_hint is a bounded role hint for the next flow step.
	RoleHint *string `protobuf:"bytes,17,opt,name=role_hint,json=roleHint,proto3,oneof" json:"role_hint,omitempty"`
	// stage_hint is a bounded stage hint for the next flow step.
	StageHint *string `protobuf:"bytes,18,opt,name=stage_hint,json=stageHint,proto3,oneof" json:"stage_hint,omitempty"`
	// idempotency_key is the command idempotency key stored with this intent.
	IdempotencyKey    string                `protobuf:"bytes,19,opt,name=idempotency_key,json=idempotencyKey,proto3" json:"idempotency_key,omitempty"`
	GovernanceContext *GovernanceContextRef `protobuf:"bytes,20,opt,name=governance_context,json=governanceContext,proto3" json:"governance_context,omitempty"`
	unknownFields     protoimpl.UnknownFields
	sizeCache         protoimpl.SizeCache
}

func (x *FollowUpIntent) Reset() {
	*x = FollowUpIntent{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[26]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *FollowUpIntent) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*FollowUpIntent) ProtoMessage() {}

func (x *FollowUpIntent) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[26]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use FollowUpIntent.ProtoReflect.Descriptor instead.
func (*FollowUpIntent) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{26}
}

func (x *FollowUpIntent) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

func (x *FollowUpIntent) GetSessionId() string {
	if x != nil {
		return x.SessionId
	}
	return ""
}

func (x *FollowUpIntent) GetFromStageId() string {
	if x != nil && x.FromStageId != nil {
		return *x.FromStageId
	}
	return ""
}

func (x *FollowUpIntent) GetToStageId() string {
	if x != nil && x.ToStageId != nil {
		return *x.ToStageId
	}
	return ""
}

func (x *FollowUpIntent) GetProviderWorkItemType() string {
	if x != nil {
		return x.ProviderWorkItemType
	}
	return ""
}

func (x *FollowUpIntent) GetProviderOperationRef() string {
	if x != nil && x.ProviderOperationRef != nil {
		return *x.ProviderOperationRef
	}
	return ""
}

func (x *FollowUpIntent) GetStatus() FollowUpIntentStatus {
	if x != nil {
		return x.Status
	}
	return FollowUpIntentStatus_FOLLOW_UP_INTENT_STATUS_UNSPECIFIED
}

func (x *FollowUpIntent) GetInstructionBodyDigest() string {
	if x != nil && x.InstructionBodyDigest != nil {
		return *x.InstructionBodyDigest
	}
	return ""
}

func (x *FollowUpIntent) GetVersion() int64 {
	if x != nil {
		return x.Version
	}
	return 0
}

func (x *FollowUpIntent) GetCreatedAt() string {
	if x != nil {
		return x.CreatedAt
	}
	return ""
}

func (x *FollowUpIntent) GetUpdatedAt() string {
	if x != nil {
		return x.UpdatedAt
	}
	return ""
}

func (x *FollowUpIntent) GetRunId() string {
	if x != nil && x.RunId != nil {
		return *x.RunId
	}
	return ""
}

func (x *FollowUpIntent) GetAcceptanceResultId() string {
	if x != nil && x.AcceptanceResultId != nil {
		return *x.AcceptanceResultId
	}
	return ""
}

func (x *FollowUpIntent) GetProviderTarget() *ProviderTargetRef {
	if x != nil {
		return x.ProviderTarget
	}
	return nil
}

func (x *FollowUpIntent) GetSafeTitle() string {
	if x != nil && x.SafeTitle != nil {
		return *x.SafeTitle
	}
	return ""
}

func (x *FollowUpIntent) GetSafeSummary() string {
	if x != nil && x.SafeSummary != nil {
		return *x.SafeSummary
	}
	return ""
}

func (x *FollowUpIntent) GetRoleHint() string {
	if x != nil && x.RoleHint != nil {
		return *x.RoleHint
	}
	return ""
}

func (x *FollowUpIntent) GetStageHint() string {
	if x != nil && x.StageHint != nil {
		return *x.StageHint
	}
	return ""
}

func (x *FollowUpIntent) GetIdempotencyKey() string {
	if x != nil {
		return x.IdempotencyKey
	}
	return ""
}

func (x *FollowUpIntent) GetGovernanceContext() *GovernanceContextRef {
	if x != nil {
		return x.GovernanceContext
	}
	return nil
}

// AgentActivity is a safe persistent timeline entry owned by agent-manager.
type AgentActivity struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Id            string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	SessionId     string                 `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	RunId         *string                `protobuf:"bytes,3,opt,name=run_id,json=runId,proto3,oneof" json:"run_id,omitempty"`
	TurnId        *string                `protobuf:"bytes,4,opt,name=turn_id,json=turnId,proto3,oneof" json:"turn_id,omitempty"`
	ToolUseId     *string                `protobuf:"bytes,5,opt,name=tool_use_id,json=toolUseId,proto3,oneof" json:"tool_use_id,omitempty"`
	ActivityKind  AgentActivityKind      `protobuf:"varint,6,opt,name=activity_kind,json=activityKind,proto3,enum=kodex.agents.v1.AgentActivityKind" json:"activity_kind,omitempty"`
	ToolName      *string                `protobuf:"bytes,7,opt,name=tool_name,json=toolName,proto3,oneof" json:"tool_name,omitempty"`
	ToolCategory  *string                `protobuf:"bytes,8,opt,name=tool_category,json=toolCategory,proto3,oneof" json:"tool_category,omitempty"`
	Status        AgentActivityStatus    `protobuf:"varint,9,opt,name=status,proto3,enum=kodex.agents.v1.AgentActivityStatus" json:"status,omitempty"`
	StartedAt     *string                `protobuf:"bytes,10,opt,name=started_at,json=startedAt,proto3,oneof" json:"started_at,omitempty"`
	FinishedAt    *string                `protobuf:"bytes,11,opt,name=finished_at,json=finishedAt,proto3,oneof" json:"finished_at,omitempty"`
	DurationMs    *int64                 `protobuf:"varint,12,opt,name=duration_ms,json=durationMs,proto3,oneof" json:"duration_ms,omitempty"`
	SafeSummary   *string                `protobuf:"bytes,13,opt,name=safe_summary,json=safeSummary,proto3,oneof" json:"safe_summary,omitempty"`
	PayloadDigest *string                `protobuf:"bytes,14,opt,name=payload_digest,json=payloadDigest,proto3,oneof" json:"payload_digest,omitempty"`
	BoundedError  *string                `protobuf:"bytes,15,opt,name=bounded_error,json=boundedError,proto3,oneof" json:"bounded_error,omitempty"`
	// safe_refs_json is bounded JSON object with refs only, never raw payload.
	SafeRefsJson string `protobuf:"bytes,16,opt,name=safe_refs_json,json=safeRefsJson,proto3" json:"safe_refs_json,omitempty"`
	// safe_details_json is bounded JSON object with safe display details only.
	SafeDetailsJson string  `protobuf:"bytes,17,opt,name=safe_details_json,json=safeDetailsJson,proto3" json:"safe_details_json,omitempty"`
	CorrelationId   *string `protobuf:"bytes,18,opt,name=correlation_id,json=correlationId,proto3,oneof" json:"correlation_id,omitempty"`
	IdempotencyKey  string  `protobuf:"bytes,19,opt,name=idempotency_key,json=idempotencyKey,proto3" json:"idempotency_key,omitempty"`
	Version         int64   `protobuf:"varint,20,opt,name=version,proto3" json:"version,omitempty"`
	CreatedAt       string  `protobuf:"bytes,21,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt       string  `protobuf:"bytes,22,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	unknownFields   protoimpl.UnknownFields
	sizeCache       protoimpl.SizeCache
}

func (x *AgentActivity) Reset() {
	*x = AgentActivity{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[27]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *AgentActivity) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*AgentActivity) ProtoMessage() {}

func (x *AgentActivity) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[27]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use AgentActivity.ProtoReflect.Descriptor instead.
func (*AgentActivity) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{27}
}

func (x *AgentActivity) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

func (x *AgentActivity) GetSessionId() string {
	if x != nil {
		return x.SessionId
	}
	return ""
}

func (x *AgentActivity) GetRunId() string {
	if x != nil && x.RunId != nil {
		return *x.RunId
	}
	return ""
}

func (x *AgentActivity) GetTurnId() string {
	if x != nil && x.TurnId != nil {
		return *x.TurnId
	}
	return ""
}

func (x *AgentActivity) GetToolUseId() string {
	if x != nil && x.ToolUseId != nil {
		return *x.ToolUseId
	}
	return ""
}

func (x *AgentActivity) GetActivityKind() AgentActivityKind {
	if x != nil {
		return x.ActivityKind
	}
	return AgentActivityKind_AGENT_ACTIVITY_KIND_UNSPECIFIED
}

func (x *AgentActivity) GetToolName() string {
	if x != nil && x.ToolName != nil {
		return *x.ToolName
	}
	return ""
}

func (x *AgentActivity) GetToolCategory() string {
	if x != nil && x.ToolCategory != nil {
		return *x.ToolCategory
	}
	return ""
}

func (x *AgentActivity) GetStatus() AgentActivityStatus {
	if x != nil {
		return x.Status
	}
	return AgentActivityStatus_AGENT_ACTIVITY_STATUS_UNSPECIFIED
}

func (x *AgentActivity) GetStartedAt() string {
	if x != nil && x.StartedAt != nil {
		return *x.StartedAt
	}
	return ""
}

func (x *AgentActivity) GetFinishedAt() string {
	if x != nil && x.FinishedAt != nil {
		return *x.FinishedAt
	}
	return ""
}

func (x *AgentActivity) GetDurationMs() int64 {
	if x != nil && x.DurationMs != nil {
		return *x.DurationMs
	}
	return 0
}

func (x *AgentActivity) GetSafeSummary() string {
	if x != nil && x.SafeSummary != nil {
		return *x.SafeSummary
	}
	return ""
}

func (x *AgentActivity) GetPayloadDigest() string {
	if x != nil && x.PayloadDigest != nil {
		return *x.PayloadDigest
	}
	return ""
}

func (x *AgentActivity) GetBoundedError() string {
	if x != nil && x.BoundedError != nil {
		return *x.BoundedError
	}
	return ""
}

func (x *AgentActivity) GetSafeRefsJson() string {
	if x != nil {
		return x.SafeRefsJson
	}
	return ""
}

func (x *AgentActivity) GetSafeDetailsJson() string {
	if x != nil {
		return x.SafeDetailsJson
	}
	return ""
}

func (x *AgentActivity) GetCorrelationId() string {
	if x != nil && x.CorrelationId != nil {
		return *x.CorrelationId
	}
	return ""
}

func (x *AgentActivity) GetIdempotencyKey() string {
	if x != nil {
		return x.IdempotencyKey
	}
	return ""
}

func (x *AgentActivity) GetVersion() int64 {
	if x != nil {
		return x.Version
	}
	return 0
}

func (x *AgentActivity) GetCreatedAt() string {
	if x != nil {
		return x.CreatedAt
	}
	return ""
}

func (x *AgentActivity) GetUpdatedAt() string {
	if x != nil {
		return x.UpdatedAt
	}
	return ""
}

// HumanGateRequest is the authoritative agent-manager wait/result state for an owner decision.
type HumanGateRequest struct {
	state                    protoimpl.MessageState `protogen:"open.v1"`
	Id                       string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	SessionId                string                 `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	RunId                    *string                `protobuf:"bytes,3,opt,name=run_id,json=runId,proto3,oneof" json:"run_id,omitempty"`
	StageId                  *string                `protobuf:"bytes,4,opt,name=stage_id,json=stageId,proto3,oneof" json:"stage_id,omitempty"`
	AcceptanceResultId       *string                `protobuf:"bytes,5,opt,name=acceptance_result_id,json=acceptanceResultId,proto3,oneof" json:"acceptance_result_id,omitempty"`
	ProviderTarget           *ProviderTargetRef     `protobuf:"bytes,6,opt,name=provider_target,json=providerTarget,proto3" json:"provider_target,omitempty"`
	TargetRef                *string                `protobuf:"bytes,7,opt,name=target_ref,json=targetRef,proto3,oneof" json:"target_ref,omitempty"`
	RequestKind              string                 `protobuf:"bytes,8,opt,name=request_kind,json=requestKind,proto3" json:"request_kind,omitempty"`
	ReasonCode               string                 `protobuf:"bytes,9,opt,name=reason_code,json=reasonCode,proto3" json:"reason_code,omitempty"`
	SafeSummary              *string                `protobuf:"bytes,10,opt,name=safe_summary,json=safeSummary,proto3,oneof" json:"safe_summary,omitempty"`
	InteractionRequestRef    *string                `protobuf:"bytes,11,opt,name=interaction_request_ref,json=interactionRequestRef,proto3,oneof" json:"interaction_request_ref,omitempty"`
	InteractionResponseRef   *string                `protobuf:"bytes,12,opt,name=interaction_response_ref,json=interactionResponseRef,proto3,oneof" json:"interaction_response_ref,omitempty"`
	GovernanceGateRequestRef *string                `protobuf:"bytes,13,opt,name=governance_gate_request_ref,json=governanceGateRequestRef,proto3,oneof" json:"governance_gate_request_ref,omitempty"`
	GovernanceDecisionRef    *string                `protobuf:"bytes,14,opt,name=governance_decision_ref,json=governanceDecisionRef,proto3,oneof" json:"governance_decision_ref,omitempty"`
	Status                   HumanGateStatus        `protobuf:"varint,15,opt,name=status,proto3,enum=kodex.agents.v1.HumanGateStatus" json:"status,omitempty"`
	Outcome                  HumanGateOutcome       `protobuf:"varint,16,opt,name=outcome,proto3,enum=kodex.agents.v1.HumanGateOutcome" json:"outcome,omitempty"`
	IdempotencyKey           string                 `protobuf:"bytes,17,opt,name=idempotency_key,json=idempotencyKey,proto3" json:"idempotency_key,omitempty"`
	Version                  int64                  `protobuf:"varint,18,opt,name=version,proto3" json:"version,omitempty"`
	CreatedAt                string                 `protobuf:"bytes,19,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt                string                 `protobuf:"bytes,20,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	ResolvedAt               *string                `protobuf:"bytes,21,opt,name=resolved_at,json=resolvedAt,proto3,oneof" json:"resolved_at,omitempty"`
	GovernanceContext        *GovernanceContextRef  `protobuf:"bytes,22,opt,name=governance_context,json=governanceContext,proto3" json:"governance_context,omitempty"`
	unknownFields            protoimpl.UnknownFields
	sizeCache                protoimpl.SizeCache
}

func (x *HumanGateRequest) Reset() {
	*x = HumanGateRequest{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[28]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *HumanGateRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*HumanGateRequest) ProtoMessage() {}

func (x *HumanGateRequest) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[28]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use HumanGateRequest.ProtoReflect.Descriptor instead.
func (*HumanGateRequest) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{28}
}

func (x *HumanGateRequest) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

func (x *HumanGateRequest) GetSessionId() string {
	if x != nil {
		return x.SessionId
	}
	return ""
}

func (x *HumanGateRequest) GetRunId() string {
	if x != nil && x.RunId != nil {
		return *x.RunId
	}
	return ""
}

func (x *HumanGateRequest) GetStageId() string {
	if x != nil && x.StageId != nil {
		return *x.StageId
	}
	return ""
}

func (x *HumanGateRequest) GetAcceptanceResultId() string {
	if x != nil && x.AcceptanceResultId != nil {
		return *x.AcceptanceResultId
	}
	return ""
}

func (x *HumanGateRequest) GetProviderTarget() *ProviderTargetRef {
	if x != nil {
		return x.ProviderTarget
	}
	return nil
}

func (x *HumanGateRequest) GetTargetRef() string {
	if x != nil && x.TargetRef != nil {
		return *x.TargetRef
	}
	return ""
}

func (x *HumanGateRequest) GetRequestKind() string {
	if x != nil {
		return x.RequestKind
	}
	return ""
}

func (x *HumanGateRequest) GetReasonCode() string {
	if x != nil {
		return x.ReasonCode
	}
	return ""
}

func (x *HumanGateRequest) GetSafeSummary() string {
	if x != nil && x.SafeSummary != nil {
		return *x.SafeSummary
	}
	return ""
}

func (x *HumanGateRequest) GetInteractionRequestRef() string {
	if x != nil && x.InteractionRequestRef != nil {
		return *x.InteractionRequestRef
	}
	return ""
}

func (x *HumanGateRequest) GetInteractionResponseRef() string {
	if x != nil && x.InteractionResponseRef != nil {
		return *x.InteractionResponseRef
	}
	return ""
}

func (x *HumanGateRequest) GetGovernanceGateRequestRef() string {
	if x != nil && x.GovernanceGateRequestRef != nil {
		return *x.GovernanceGateRequestRef
	}
	return ""
}

func (x *HumanGateRequest) GetGovernanceDecisionRef() string {
	if x != nil && x.GovernanceDecisionRef != nil {
		return *x.GovernanceDecisionRef
	}
	return ""
}

func (x *HumanGateRequest) GetStatus() HumanGateStatus {
	if x != nil {
		return x.Status
	}
	return HumanGateStatus_HUMAN_GATE_STATUS_UNSPECIFIED
}

func (x *HumanGateRequest) GetOutcome() HumanGateOutcome {
	if x != nil {
		return x.Outcome
	}
	return HumanGateOutcome_HUMAN_GATE_OUTCOME_UNSPECIFIED
}

func (x *HumanGateRequest) GetIdempotencyKey() string {
	if x != nil {
		return x.IdempotencyKey
	}
	return ""
}

func (x *HumanGateRequest) GetVersion() int64 {
	if x != nil {
		return x.Version
	}
	return 0
}

func (x *HumanGateRequest) GetCreatedAt() string {
	if x != nil {
		return x.CreatedAt
	}
	return ""
}

func (x *HumanGateRequest) GetUpdatedAt() string {
	if x != nil {
		return x.UpdatedAt
	}
	return ""
}

func (x *HumanGateRequest) GetResolvedAt() string {
	if x != nil && x.ResolvedAt != nil {
		return *x.ResolvedAt
	}
	return ""
}

func (x *HumanGateRequest) GetGovernanceContext() *GovernanceContextRef {
	if x != nil {
		return x.GovernanceContext
	}
	return nil
}

// SelfDeployPlan is a pending safe plan for building or deploying this platform.
type SelfDeployPlan struct {
	state                        protoimpl.MessageState              `protogen:"open.v1"`
	Id                           string                              `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Scope                        *ScopeRef                           `protobuf:"bytes,2,opt,name=scope,proto3" json:"scope,omitempty"`
	ProjectRef                   string                              `protobuf:"bytes,3,opt,name=project_ref,json=projectRef,proto3" json:"project_ref,omitempty"`
	RepositoryRef                string                              `protobuf:"bytes,4,opt,name=repository_ref,json=repositoryRef,proto3" json:"repository_ref,omitempty"`
	ProviderSignalRef            *string                             `protobuf:"bytes,5,opt,name=provider_signal_ref,json=providerSignalRef,proto3,oneof" json:"provider_signal_ref,omitempty"`
	SourceRef                    string                              `protobuf:"bytes,6,opt,name=source_ref,json=sourceRef,proto3" json:"source_ref,omitempty"`
	MergeCommitSha               string                              `protobuf:"bytes,7,opt,name=merge_commit_sha,json=mergeCommitSha,proto3" json:"merge_commit_sha,omitempty"`
	ServicesYamlRef              *string                             `protobuf:"bytes,8,opt,name=services_yaml_ref,json=servicesYamlRef,proto3,oneof" json:"services_yaml_ref,omitempty"`
	ServicesYamlDigest           string                              `protobuf:"bytes,9,opt,name=services_yaml_digest,json=servicesYamlDigest,proto3" json:"services_yaml_digest,omitempty"`
	AffectedServiceKeys          []string                            `protobuf:"bytes,10,rep,name=affected_service_keys,json=affectedServiceKeys,proto3" json:"affected_service_keys,omitempty"`
	PathCategories               []SelfDeployPathCategory            `protobuf:"varint,11,rep,packed,name=path_categories,json=pathCategories,proto3,enum=kodex.agents.v1.SelfDeployPathCategory" json:"path_categories,omitempty"`
	ExpectedRuntimeJobTypes      []v1.JobType                        `protobuf:"varint,12,rep,packed,name=expected_runtime_job_types,json=expectedRuntimeJobTypes,proto3,enum=kodex.runtime.v1.JobType" json:"expected_runtime_job_types,omitempty"`
	GovernanceContext            *GovernanceContextRef               `protobuf:"bytes,13,opt,name=governance_context,json=governanceContext,proto3" json:"governance_context,omitempty"`
	SafeSummary                  *string                             `protobuf:"bytes,14,opt,name=safe_summary,json=safeSummary,proto3,oneof" json:"safe_summary,omitempty"`
	PlanFingerprint              string                              `protobuf:"bytes,15,opt,name=plan_fingerprint,json=planFingerprint,proto3" json:"plan_fingerprint,omitempty"`
	IdempotencyKey               string                              `protobuf:"bytes,16,opt,name=idempotency_key,json=idempotencyKey,proto3" json:"idempotency_key,omitempty"`
	Status                       SelfDeployPlanStatus                `protobuf:"varint,17,opt,name=status,proto3,enum=kodex.agents.v1.SelfDeployPlanStatus" json:"status,omitempty"`
	Version                      int64                               `protobuf:"varint,18,opt,name=version,proto3" json:"version,omitempty"`
	CreatedAt                    string                              `protobuf:"bytes,19,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt                    string                              `protobuf:"bytes,20,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	RuntimeBuildJobs             []*SelfDeployRuntimeBuildJobRef     `protobuf:"bytes,21,rep,name=runtime_build_jobs,json=runtimeBuildJobs,proto3" json:"runtime_build_jobs,omitempty"`
	RuntimeBuildStatus           SelfDeployRuntimeBuildStatus        `protobuf:"varint,22,opt,name=runtime_build_status,json=runtimeBuildStatus,proto3,enum=kodex.agents.v1.SelfDeployRuntimeBuildStatus" json:"runtime_build_status,omitempty"`
	RuntimeBuildPlanFingerprint  *string                             `protobuf:"bytes,23,opt,name=runtime_build_plan_fingerprint,json=runtimeBuildPlanFingerprint,proto3,oneof" json:"runtime_build_plan_fingerprint,omitempty"`
	RuntimeBuildErrorCode        *string                             `protobuf:"bytes,24,opt,name=runtime_build_error_code,json=runtimeBuildErrorCode,proto3,oneof" json:"runtime_build_error_code,omitempty"`
	RuntimeBuildSummary          *string                             `protobuf:"bytes,25,opt,name=runtime_build_summary,json=runtimeBuildSummary,proto3,oneof" json:"runtime_build_summary,omitempty"`
	ProviderSlug                 *string                             `protobuf:"bytes,26,opt,name=provider_slug,json=providerSlug,proto3,oneof" json:"provider_slug,omitempty"`
	RepositoryFullName           *string                             `protobuf:"bytes,27,opt,name=repository_full_name,json=repositoryFullName,proto3,oneof" json:"repository_full_name,omitempty"`
	ProviderRepositoryId         *string                             `protobuf:"bytes,28,opt,name=provider_repository_id,json=providerRepositoryId,proto3,oneof" json:"provider_repository_id,omitempty"`
	RuntimeBuildContexts         []*SelfDeployRuntimeBuildContextRef `protobuf:"bytes,29,rep,name=runtime_build_contexts,json=runtimeBuildContexts,proto3" json:"runtime_build_contexts,omitempty"`
	RuntimeDeployJobs            []*SelfDeployRuntimeDeployJobRef    `protobuf:"bytes,30,rep,name=runtime_deploy_jobs,json=runtimeDeployJobs,proto3" json:"runtime_deploy_jobs,omitempty"`
	RuntimeDeployStatus          SelfDeployRuntimeDeployStatus       `protobuf:"varint,31,opt,name=runtime_deploy_status,json=runtimeDeployStatus,proto3,enum=kodex.agents.v1.SelfDeployRuntimeDeployStatus" json:"runtime_deploy_status,omitempty"`
	RuntimeDeployPlanFingerprint *string                             `protobuf:"bytes,32,opt,name=runtime_deploy_plan_fingerprint,json=runtimeDeployPlanFingerprint,proto3,oneof" json:"runtime_deploy_plan_fingerprint,omitempty"`
	RuntimeDeployErrorCode       *string                             `protobuf:"bytes,33,opt,name=runtime_deploy_error_code,json=runtimeDeployErrorCode,proto3,oneof" json:"runtime_deploy_error_code,omitempty"`
	RuntimeDeploySummary         *string                             `protobuf:"bytes,34,opt,name=runtime_deploy_summary,json=runtimeDeploySummary,proto3,oneof" json:"runtime_deploy_summary,omitempty"`
	unknownFields                protoimpl.UnknownFields
	sizeCache                    protoimpl.SizeCache
}

func (x *SelfDeployPlan) Reset() {
	*x = SelfDeployPlan{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[29]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *SelfDeployPlan) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*SelfDeployPlan) ProtoMessage() {}

func (x *SelfDeployPlan) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[29]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use SelfDeployPlan.ProtoReflect.Descriptor instead.
func (*SelfDeployPlan) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{29}
}

func (x *SelfDeployPlan) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

func (x *SelfDeployPlan) GetScope() *ScopeRef {
	if x != nil {
		return x.Scope
	}
	return nil
}

func (x *SelfDeployPlan) GetProjectRef() string {
	if x != nil {
		return x.ProjectRef
	}
	return ""
}

func (x *SelfDeployPlan) GetRepositoryRef() string {
	if x != nil {
		return x.RepositoryRef
	}
	return ""
}

func (x *SelfDeployPlan) GetProviderSignalRef() string {
	if x != nil && x.ProviderSignalRef != nil {
		return *x.ProviderSignalRef
	}
	return ""
}

func (x *SelfDeployPlan) GetSourceRef() string {
	if x != nil {
		return x.SourceRef
	}
	return ""
}

func (x *SelfDeployPlan) GetMergeCommitSha() string {
	if x != nil {
		return x.MergeCommitSha
	}
	return ""
}

func (x *SelfDeployPlan) GetServicesYamlRef() string {
	if x != nil && x.ServicesYamlRef != nil {
		return *x.ServicesYamlRef
	}
	return ""
}

func (x *SelfDeployPlan) GetServicesYamlDigest() string {
	if x != nil {
		return x.ServicesYamlDigest
	}
	return ""
}

func (x *SelfDeployPlan) GetAffectedServiceKeys() []string {
	if x != nil {
		return x.AffectedServiceKeys
	}
	return nil
}

func (x *SelfDeployPlan) GetPathCategories() []SelfDeployPathCategory {
	if x != nil {
		return x.PathCategories
	}
	return nil
}

func (x *SelfDeployPlan) GetExpectedRuntimeJobTypes() []v1.JobType {
	if x != nil {
		return x.ExpectedRuntimeJobTypes
	}
	return nil
}

func (x *SelfDeployPlan) GetGovernanceContext() *GovernanceContextRef {
	if x != nil {
		return x.GovernanceContext
	}
	return nil
}

func (x *SelfDeployPlan) GetSafeSummary() string {
	if x != nil && x.SafeSummary != nil {
		return *x.SafeSummary
	}
	return ""
}

func (x *SelfDeployPlan) GetPlanFingerprint() string {
	if x != nil {
		return x.PlanFingerprint
	}
	return ""
}

func (x *SelfDeployPlan) GetIdempotencyKey() string {
	if x != nil {
		return x.IdempotencyKey
	}
	return ""
}

func (x *SelfDeployPlan) GetStatus() SelfDeployPlanStatus {
	if x != nil {
		return x.Status
	}
	return SelfDeployPlanStatus_SELF_DEPLOY_PLAN_STATUS_UNSPECIFIED
}

func (x *SelfDeployPlan) GetVersion() int64 {
	if x != nil {
		return x.Version
	}
	return 0
}

func (x *SelfDeployPlan) GetCreatedAt() string {
	if x != nil {
		return x.CreatedAt
	}
	return ""
}

func (x *SelfDeployPlan) GetUpdatedAt() string {
	if x != nil {
		return x.UpdatedAt
	}
	return ""
}

func (x *SelfDeployPlan) GetRuntimeBuildJobs() []*SelfDeployRuntimeBuildJobRef {
	if x != nil {
		return x.RuntimeBuildJobs
	}
	return nil
}

func (x *SelfDeployPlan) GetRuntimeBuildStatus() SelfDeployRuntimeBuildStatus {
	if x != nil {
		return x.RuntimeBuildStatus
	}
	return SelfDeployRuntimeBuildStatus_SELF_DEPLOY_RUNTIME_BUILD_STATUS_UNSPECIFIED
}

func (x *SelfDeployPlan) GetRuntimeBuildPlanFingerprint() string {
	if x != nil && x.RuntimeBuildPlanFingerprint != nil {
		return *x.RuntimeBuildPlanFingerprint
	}
	return ""
}

func (x *SelfDeployPlan) GetRuntimeBuildErrorCode() string {
	if x != nil && x.RuntimeBuildErrorCode != nil {
		return *x.RuntimeBuildErrorCode
	}
	return ""
}

func (x *SelfDeployPlan) GetRuntimeBuildSummary() string {
	if x != nil && x.RuntimeBuildSummary != nil {
		return *x.RuntimeBuildSummary
	}
	return ""
}

func (x *SelfDeployPlan) GetProviderSlug() string {
	if x != nil && x.ProviderSlug != nil {
		return *x.ProviderSlug
	}
	return ""
}

func (x *SelfDeployPlan) GetRepositoryFullName() string {
	if x != nil && x.RepositoryFullName != nil {
		return *x.RepositoryFullName
	}
	return ""
}

func (x *SelfDeployPlan) GetProviderRepositoryId() string {
	if x != nil && x.ProviderRepositoryId != nil {
		return *x.ProviderRepositoryId
	}
	return ""
}

func (x *SelfDeployPlan) GetRuntimeBuildContexts() []*SelfDeployRuntimeBuildContextRef {
	if x != nil {
		return x.RuntimeBuildContexts
	}
	return nil
}

func (x *SelfDeployPlan) GetRuntimeDeployJobs() []*SelfDeployRuntimeDeployJobRef {
	if x != nil {
		return x.RuntimeDeployJobs
	}
	return nil
}

func (x *SelfDeployPlan) GetRuntimeDeployStatus() SelfDeployRuntimeDeployStatus {
	if x != nil {
		return x.RuntimeDeployStatus
	}
	return SelfDeployRuntimeDeployStatus_SELF_DEPLOY_RUNTIME_DEPLOY_STATUS_UNSPECIFIED
}

func (x *SelfDeployPlan) GetRuntimeDeployPlanFingerprint() string {
	if x != nil && x.RuntimeDeployPlanFingerprint != nil {
		return *x.RuntimeDeployPlanFingerprint
	}
	return ""
}

func (x *SelfDeployPlan) GetRuntimeDeployErrorCode() string {
	if x != nil && x.RuntimeDeployErrorCode != nil {
		return *x.RuntimeDeployErrorCode
	}
	return ""
}

func (x *SelfDeployPlan) GetRuntimeDeploySummary() string {
	if x != nil && x.RuntimeDeploySummary != nil {
		return *x.RuntimeDeploySummary
	}
	return ""
}

// SelfDeployRuntimeBuildJobRef stores safe runtime-manager refs for one build job.
type SelfDeployRuntimeBuildJobRef struct {
	state                    protoimpl.MessageState `protogen:"open.v1"`
	ServiceKey               string                 `protobuf:"bytes,1,opt,name=service_key,json=serviceKey,proto3" json:"service_key,omitempty"`
	ServiceRef               *string                `protobuf:"bytes,2,opt,name=service_ref,json=serviceRef,proto3,oneof" json:"service_ref,omitempty"`
	RuntimeJobRef            string                 `protobuf:"bytes,3,opt,name=runtime_job_ref,json=runtimeJobRef,proto3" json:"runtime_job_ref,omitempty"`
	RuntimeJobStatus         *string                `protobuf:"bytes,4,opt,name=runtime_job_status,json=runtimeJobStatus,proto3,oneof" json:"runtime_job_status,omitempty"`
	BuildPlanItemFingerprint *string                `protobuf:"bytes,5,opt,name=build_plan_item_fingerprint,json=buildPlanItemFingerprint,proto3,oneof" json:"build_plan_item_fingerprint,omitempty"`
	unknownFields            protoimpl.UnknownFields
	sizeCache                protoimpl.SizeCache
}

func (x *SelfDeployRuntimeBuildJobRef) Reset() {
	*x = SelfDeployRuntimeBuildJobRef{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[30]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *SelfDeployRuntimeBuildJobRef) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*SelfDeployRuntimeBuildJobRef) ProtoMessage() {}

func (x *SelfDeployRuntimeBuildJobRef) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[30]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use SelfDeployRuntimeBuildJobRef.ProtoReflect.Descriptor instead.
func (*SelfDeployRuntimeBuildJobRef) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{30}
}

func (x *SelfDeployRuntimeBuildJobRef) GetServiceKey() string {
	if x != nil {
		return x.ServiceKey
	}
	return ""
}

func (x *SelfDeployRuntimeBuildJobRef) GetServiceRef() string {
	if x != nil && x.ServiceRef != nil {
		return *x.ServiceRef
	}
	return ""
}

func (x *SelfDeployRuntimeBuildJobRef) GetRuntimeJobRef() string {
	if x != nil {
		return x.RuntimeJobRef
	}
	return ""
}

func (x *SelfDeployRuntimeBuildJobRef) GetRuntimeJobStatus() string {
	if x != nil && x.RuntimeJobStatus != nil {
		return *x.RuntimeJobStatus
	}
	return ""
}

func (x *SelfDeployRuntimeBuildJobRef) GetBuildPlanItemFingerprint() string {
	if x != nil && x.BuildPlanItemFingerprint != nil {
		return *x.BuildPlanItemFingerprint
	}
	return ""
}

// SelfDeployRuntimeBuildContextRef stores safe runtime-manager refs for one materialized build context.
type SelfDeployRuntimeBuildContextRef struct {
	state                      protoimpl.MessageState `protogen:"open.v1"`
	ServiceKey                 string                 `protobuf:"bytes,1,opt,name=service_key,json=serviceKey,proto3" json:"service_key,omitempty"`
	RuntimeBuildContextRef     *string                `protobuf:"bytes,2,opt,name=runtime_build_context_ref,json=runtimeBuildContextRef,proto3,oneof" json:"runtime_build_context_ref,omitempty"`
	RuntimeBuildContextStatus  *string                `protobuf:"bytes,3,opt,name=runtime_build_context_status,json=runtimeBuildContextStatus,proto3,oneof" json:"runtime_build_context_status,omitempty"`
	BuildContextRef            *string                `protobuf:"bytes,4,opt,name=build_context_ref,json=buildContextRef,proto3,oneof" json:"build_context_ref,omitempty"`
	BuildContextDigest         *string                `protobuf:"bytes,5,opt,name=build_context_digest,json=buildContextDigest,proto3,oneof" json:"build_context_digest,omitempty"`
	DockerfileDigest           *string                `protobuf:"bytes,6,opt,name=dockerfile_digest,json=dockerfileDigest,proto3,oneof" json:"dockerfile_digest,omitempty"`
	MaterializationFingerprint *string                `protobuf:"bytes,7,opt,name=materialization_fingerprint,json=materializationFingerprint,proto3,oneof" json:"materialization_fingerprint,omitempty"`
	BuildPlanItemFingerprint   *string                `protobuf:"bytes,8,opt,name=build_plan_item_fingerprint,json=buildPlanItemFingerprint,proto3,oneof" json:"build_plan_item_fingerprint,omitempty"`
	ManifestBundleDigest       *string                `protobuf:"bytes,9,opt,name=manifest_bundle_digest,json=manifestBundleDigest,proto3,oneof" json:"manifest_bundle_digest,omitempty"`
	unknownFields              protoimpl.UnknownFields
	sizeCache                  protoimpl.SizeCache
}

func (x *SelfDeployRuntimeBuildContextRef) Reset() {
	*x = SelfDeployRuntimeBuildContextRef{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[31]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *SelfDeployRuntimeBuildContextRef) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*SelfDeployRuntimeBuildContextRef) ProtoMessage() {}

func (x *SelfDeployRuntimeBuildContextRef) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[31]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use SelfDeployRuntimeBuildContextRef.ProtoReflect.Descriptor instead.
func (*SelfDeployRuntimeBuildContextRef) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{31}
}

func (x *SelfDeployRuntimeBuildContextRef) GetServiceKey() string {
	if x != nil {
		return x.ServiceKey
	}
	return ""
}

func (x *SelfDeployRuntimeBuildContextRef) GetRuntimeBuildContextRef() string {
	if x != nil && x.RuntimeBuildContextRef != nil {
		return *x.RuntimeBuildContextRef
	}
	return ""
}

func (x *SelfDeployRuntimeBuildContextRef) GetRuntimeBuildContextStatus() string {
	if x != nil && x.RuntimeBuildContextStatus != nil {
		return *x.RuntimeBuildContextStatus
	}
	return ""
}

func (x *SelfDeployRuntimeBuildContextRef) GetBuildContextRef() string {
	if x != nil && x.BuildContextRef != nil {
		return *x.BuildContextRef
	}
	return ""
}

func (x *SelfDeployRuntimeBuildContextRef) GetBuildContextDigest() string {
	if x != nil && x.BuildContextDigest != nil {
		return *x.BuildContextDigest
	}
	return ""
}

func (x *SelfDeployRuntimeBuildContextRef) GetDockerfileDigest() string {
	if x != nil && x.DockerfileDigest != nil {
		return *x.DockerfileDigest
	}
	return ""
}

func (x *SelfDeployRuntimeBuildContextRef) GetMaterializationFingerprint() string {
	if x != nil && x.MaterializationFingerprint != nil {
		return *x.MaterializationFingerprint
	}
	return ""
}

func (x *SelfDeployRuntimeBuildContextRef) GetBuildPlanItemFingerprint() string {
	if x != nil && x.BuildPlanItemFingerprint != nil {
		return *x.BuildPlanItemFingerprint
	}
	return ""
}

func (x *SelfDeployRuntimeBuildContextRef) GetManifestBundleDigest() string {
	if x != nil && x.ManifestBundleDigest != nil {
		return *x.ManifestBundleDigest
	}
	return ""
}

// SelfDeployRuntimeDeployJobRef stores safe runtime-manager refs for one deploy job.
type SelfDeployRuntimeDeployJobRef struct {
	state                     protoimpl.MessageState `protogen:"open.v1"`
	ServiceKey                string                 `protobuf:"bytes,1,opt,name=service_key,json=serviceKey,proto3" json:"service_key,omitempty"`
	ServiceRef                *string                `protobuf:"bytes,2,opt,name=service_ref,json=serviceRef,proto3,oneof" json:"service_ref,omitempty"`
	RuntimeJobRef             string                 `protobuf:"bytes,3,opt,name=runtime_job_ref,json=runtimeJobRef,proto3" json:"runtime_job_ref,omitempty"`
	RuntimeJobStatus          *string                `protobuf:"bytes,4,opt,name=runtime_job_status,json=runtimeJobStatus,proto3,oneof" json:"runtime_job_status,omitempty"`
	DeployPlanItemFingerprint *string                `protobuf:"bytes,5,opt,name=deploy_plan_item_fingerprint,json=deployPlanItemFingerprint,proto3,oneof" json:"deploy_plan_item_fingerprint,omitempty"`
	unknownFields             protoimpl.UnknownFields
	sizeCache                 protoimpl.SizeCache
}

func (x *SelfDeployRuntimeDeployJobRef) Reset() {
	*x = SelfDeployRuntimeDeployJobRef{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[32]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *SelfDeployRuntimeDeployJobRef) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*SelfDeployRuntimeDeployJobRef) ProtoMessage() {}

func (x *SelfDeployRuntimeDeployJobRef) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[32]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use SelfDeployRuntimeDeployJobRef.ProtoReflect.Descriptor instead.
func (*SelfDeployRuntimeDeployJobRef) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{32}
}

func (x *SelfDeployRuntimeDeployJobRef) GetServiceKey() string {
	if x != nil {
		return x.ServiceKey
	}
	return ""
}

func (x *SelfDeployRuntimeDeployJobRef) GetServiceRef() string {
	if x != nil && x.ServiceRef != nil {
		return *x.ServiceRef
	}
	return ""
}

func (x *SelfDeployRuntimeDeployJobRef) GetRuntimeJobRef() string {
	if x != nil {
		return x.RuntimeJobRef
	}
	return ""
}

func (x *SelfDeployRuntimeDeployJobRef) GetRuntimeJobStatus() string {
	if x != nil && x.RuntimeJobStatus != nil {
		return *x.RuntimeJobStatus
	}
	return ""
}

func (x *SelfDeployRuntimeDeployJobRef) GetDeployPlanItemFingerprint() string {
	if x != nil && x.DeployPlanItemFingerprint != nil {
		return *x.DeployPlanItemFingerprint
	}
	return ""
}

// FlowDefinitionInput is the typed input for immutable flow version creation.
type FlowDefinitionInput struct {
	state             protoimpl.MessageState   `protogen:"open.v1"`
	Stages            []*StageInput            `protobuf:"bytes,1,rep,name=stages,proto3" json:"stages,omitempty"`
	Transitions       []*StageTransitionInput  `protobuf:"bytes,2,rep,name=transitions,proto3" json:"transitions,omitempty"`
	StageRoleBindings []*StageRoleBindingInput `protobuf:"bytes,3,rep,name=stage_role_bindings,json=stageRoleBindings,proto3" json:"stage_role_bindings,omitempty"`
	DefinitionDigest  string                   `protobuf:"bytes,4,opt,name=definition_digest,json=definitionDigest,proto3" json:"definition_digest,omitempty"`
	unknownFields     protoimpl.UnknownFields
	sizeCache         protoimpl.SizeCache
}

func (x *FlowDefinitionInput) Reset() {
	*x = FlowDefinitionInput{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[33]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *FlowDefinitionInput) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*FlowDefinitionInput) ProtoMessage() {}

func (x *FlowDefinitionInput) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[33]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use FlowDefinitionInput.ProtoReflect.Descriptor instead.
func (*FlowDefinitionInput) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{33}
}

func (x *FlowDefinitionInput) GetStages() []*StageInput {
	if x != nil {
		return x.Stages
	}
	return nil
}

func (x *FlowDefinitionInput) GetTransitions() []*StageTransitionInput {
	if x != nil {
		return x.Transitions
	}
	return nil
}

func (x *FlowDefinitionInput) GetStageRoleBindings() []*StageRoleBindingInput {
	if x != nil {
		return x.StageRoleBindings
	}
	return nil
}

func (x *FlowDefinitionInput) GetDefinitionDigest() string {
	if x != nil {
		return x.DefinitionDigest
	}
	return ""
}

type StageInput struct {
	state                 protoimpl.MessageState `protogen:"open.v1"`
	Slug                  string                 `protobuf:"bytes,1,opt,name=slug,proto3" json:"slug,omitempty"`
	StageType             StageType              `protobuf:"varint,2,opt,name=stage_type,json=stageType,proto3,enum=kodex.agents.v1.StageType" json:"stage_type,omitempty"`
	DisplayName           []*LocalizedText       `protobuf:"bytes,3,rep,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	IconObjectUri         *string                `protobuf:"bytes,4,opt,name=icon_object_uri,json=iconObjectUri,proto3,oneof" json:"icon_object_uri,omitempty"`
	RequiredArtifactsJson string                 `protobuf:"bytes,5,opt,name=required_artifacts_json,json=requiredArtifactsJson,proto3" json:"required_artifacts_json,omitempty"`
	AcceptancePolicyJson  string                 `protobuf:"bytes,6,opt,name=acceptance_policy_json,json=acceptancePolicyJson,proto3" json:"acceptance_policy_json,omitempty"`
	Position              int32                  `protobuf:"varint,7,opt,name=position,proto3" json:"position,omitempty"`
	unknownFields         protoimpl.UnknownFields
	sizeCache             protoimpl.SizeCache
}

func (x *StageInput) Reset() {
	*x = StageInput{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[34]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *StageInput) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*StageInput) ProtoMessage() {}

func (x *StageInput) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[34]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use StageInput.ProtoReflect.Descriptor instead.
func (*StageInput) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{34}
}

func (x *StageInput) GetSlug() string {
	if x != nil {
		return x.Slug
	}
	return ""
}

func (x *StageInput) GetStageType() StageType {
	if x != nil {
		return x.StageType
	}
	return StageType_STAGE_TYPE_UNSPECIFIED
}

func (x *StageInput) GetDisplayName() []*LocalizedText {
	if x != nil {
		return x.DisplayName
	}
	return nil
}

func (x *StageInput) GetIconObjectUri() string {
	if x != nil && x.IconObjectUri != nil {
		return *x.IconObjectUri
	}
	return ""
}

func (x *StageInput) GetRequiredArtifactsJson() string {
	if x != nil {
		return x.RequiredArtifactsJson
	}
	return ""
}

func (x *StageInput) GetAcceptancePolicyJson() string {
	if x != nil {
		return x.AcceptancePolicyJson
	}
	return ""
}

func (x *StageInput) GetPosition() int32 {
	if x != nil {
		return x.Position
	}
	return 0
}

type StageTransitionInput struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	FromStageSlug *string                `protobuf:"bytes,1,opt,name=from_stage_slug,json=fromStageSlug,proto3,oneof" json:"from_stage_slug,omitempty"`
	ToStageSlug   string                 `protobuf:"bytes,2,opt,name=to_stage_slug,json=toStageSlug,proto3" json:"to_stage_slug,omitempty"`
	ConditionJson string                 `protobuf:"bytes,3,opt,name=condition_json,json=conditionJson,proto3" json:"condition_json,omitempty"`
	FollowUpType  *string                `protobuf:"bytes,4,opt,name=follow_up_type,json=followUpType,proto3,oneof" json:"follow_up_type,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *StageTransitionInput) Reset() {
	*x = StageTransitionInput{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[35]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *StageTransitionInput) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*StageTransitionInput) ProtoMessage() {}

func (x *StageTransitionInput) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[35]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use StageTransitionInput.ProtoReflect.Descriptor instead.
func (*StageTransitionInput) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{35}
}

func (x *StageTransitionInput) GetFromStageSlug() string {
	if x != nil && x.FromStageSlug != nil {
		return *x.FromStageSlug
	}
	return ""
}

func (x *StageTransitionInput) GetToStageSlug() string {
	if x != nil {
		return x.ToStageSlug
	}
	return ""
}

func (x *StageTransitionInput) GetConditionJson() string {
	if x != nil {
		return x.ConditionJson
	}
	return ""
}

func (x *StageTransitionInput) GetFollowUpType() string {
	if x != nil && x.FollowUpType != nil {
		return *x.FollowUpType
	}
	return ""
}

type StageRoleBindingInput struct {
	state                 protoimpl.MessageState `protogen:"open.v1"`
	StageSlug             string                 `protobuf:"bytes,1,opt,name=stage_slug,json=stageSlug,proto3" json:"stage_slug,omitempty"`
	RoleProfileId         string                 `protobuf:"bytes,2,opt,name=role_profile_id,json=roleProfileId,proto3" json:"role_profile_id,omitempty"`
	BindingKind           StageRoleBindingKind   `protobuf:"varint,3,opt,name=binding_kind,json=bindingKind,proto3,enum=kodex.agents.v1.StageRoleBindingKind" json:"binding_kind,omitempty"`
	LaunchPolicyJson      string                 `protobuf:"bytes,4,opt,name=launch_policy_json,json=launchPolicyJson,proto3" json:"launch_policy_json,omitempty"`
	RequiredForAcceptance bool                   `protobuf:"varint,5,opt,name=required_for_acceptance,json=requiredForAcceptance,proto3" json:"required_for_acceptance,omitempty"`
	unknownFields         protoimpl.UnknownFields
	sizeCache             protoimpl.SizeCache
}

func (x *StageRoleBindingInput) Reset() {
	*x = StageRoleBindingInput{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[36]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *StageRoleBindingInput) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*StageRoleBindingInput) ProtoMessage() {}

func (x *StageRoleBindingInput) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[36]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use StageRoleBindingInput.ProtoReflect.Descriptor instead.
func (*StageRoleBindingInput) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{36}
}

func (x *StageRoleBindingInput) GetStageSlug() string {
	if x != nil {
		return x.StageSlug
	}
	return ""
}

func (x *StageRoleBindingInput) GetRoleProfileId() string {
	if x != nil {
		return x.RoleProfileId
	}
	return ""
}

func (x *StageRoleBindingInput) GetBindingKind() StageRoleBindingKind {
	if x != nil {
		return x.BindingKind
	}
	return StageRoleBindingKind_STAGE_ROLE_BINDING_KIND_UNSPECIFIED
}

func (x *StageRoleBindingInput) GetLaunchPolicyJson() string {
	if x != nil {
		return x.LaunchPolicyJson
	}
	return ""
}

func (x *StageRoleBindingInput) GetRequiredForAcceptance() bool {
	if x != nil {
		return x.RequiredForAcceptance
	}
	return false
}

type CreateFlowRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Meta          *CommandMeta           `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	Scope         *ScopeRef              `protobuf:"bytes,2,opt,name=scope,proto3" json:"scope,omitempty"`
	Slug          string                 `protobuf:"bytes,3,opt,name=slug,proto3" json:"slug,omitempty"`
	DisplayName   []*LocalizedText       `protobuf:"bytes,4,rep,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	Description   []*LocalizedText       `protobuf:"bytes,5,rep,name=description,proto3" json:"description,omitempty"`
	IconObjectUri *string                `protobuf:"bytes,6,opt,name=icon_object_uri,json=iconObjectUri,proto3,oneof" json:"icon_object_uri,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *CreateFlowRequest) Reset() {
	*x = CreateFlowRequest{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[37]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *CreateFlowRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*CreateFlowRequest) ProtoMessage() {}

func (x *CreateFlowRequest) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[37]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use CreateFlowRequest.ProtoReflect.Descriptor instead.
func (*CreateFlowRequest) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{37}
}

func (x *CreateFlowRequest) GetMeta() *CommandMeta {
	if x != nil {
		return x.Meta
	}
	return nil
}

func (x *CreateFlowRequest) GetScope() *ScopeRef {
	if x != nil {
		return x.Scope
	}
	return nil
}

func (x *CreateFlowRequest) GetSlug() string {
	if x != nil {
		return x.Slug
	}
	return ""
}

func (x *CreateFlowRequest) GetDisplayName() []*LocalizedText {
	if x != nil {
		return x.DisplayName
	}
	return nil
}

func (x *CreateFlowRequest) GetDescription() []*LocalizedText {
	if x != nil {
		return x.Description
	}
	return nil
}

func (x *CreateFlowRequest) GetIconObjectUri() string {
	if x != nil && x.IconObjectUri != nil {
		return *x.IconObjectUri
	}
	return ""
}

type UpdateFlowRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Meta          *CommandMeta           `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	FlowId        string                 `protobuf:"bytes,2,opt,name=flow_id,json=flowId,proto3" json:"flow_id,omitempty"`
	DisplayName   []*LocalizedText       `protobuf:"bytes,3,rep,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	Description   []*LocalizedText       `protobuf:"bytes,4,rep,name=description,proto3" json:"description,omitempty"`
	IconObjectUri *string                `protobuf:"bytes,5,opt,name=icon_object_uri,json=iconObjectUri,proto3,oneof" json:"icon_object_uri,omitempty"`
	Status        *FlowStatus            `protobuf:"varint,6,opt,name=status,proto3,enum=kodex.agents.v1.FlowStatus,oneof" json:"status,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *UpdateFlowRequest) Reset() {
	*x = UpdateFlowRequest{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[38]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *UpdateFlowRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*UpdateFlowRequest) ProtoMessage() {}

func (x *UpdateFlowRequest) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[38]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use UpdateFlowRequest.ProtoReflect.Descriptor instead.
func (*UpdateFlowRequest) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{38}
}

func (x *UpdateFlowRequest) GetMeta() *CommandMeta {
	if x != nil {
		return x.Meta
	}
	return nil
}

func (x *UpdateFlowRequest) GetFlowId() string {
	if x != nil {
		return x.FlowId
	}
	return ""
}

func (x *UpdateFlowRequest) GetDisplayName() []*LocalizedText {
	if x != nil {
		return x.DisplayName
	}
	return nil
}

func (x *UpdateFlowRequest) GetDescription() []*LocalizedText {
	if x != nil {
		return x.Description
	}
	return nil
}

func (x *UpdateFlowRequest) GetIconObjectUri() string {
	if x != nil && x.IconObjectUri != nil {
		return *x.IconObjectUri
	}
	return ""
}

func (x *UpdateFlowRequest) GetStatus() FlowStatus {
	if x != nil && x.Status != nil {
		return *x.Status
	}
	return FlowStatus_FLOW_STATUS_UNSPECIFIED
}

type CreateFlowVersionRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Meta          *CommandMeta           `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	FlowId        string                 `protobuf:"bytes,2,opt,name=flow_id,json=flowId,proto3" json:"flow_id,omitempty"`
	SourceRef     *string                `protobuf:"bytes,3,opt,name=source_ref,json=sourceRef,proto3,oneof" json:"source_ref,omitempty"`
	Definition    *FlowDefinitionInput   `protobuf:"bytes,4,opt,name=definition,proto3" json:"definition,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *CreateFlowVersionRequest) Reset() {
	*x = CreateFlowVersionRequest{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[39]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *CreateFlowVersionRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*CreateFlowVersionRequest) ProtoMessage() {}

func (x *CreateFlowVersionRequest) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[39]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use CreateFlowVersionRequest.ProtoReflect.Descriptor instead.
func (*CreateFlowVersionRequest) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{39}
}

func (x *CreateFlowVersionRequest) GetMeta() *CommandMeta {
	if x != nil {
		return x.Meta
	}
	return nil
}

func (x *CreateFlowVersionRequest) GetFlowId() string {
	if x != nil {
		return x.FlowId
	}
	return ""
}

func (x *CreateFlowVersionRequest) GetSourceRef() string {
	if x != nil && x.SourceRef != nil {
		return *x.SourceRef
	}
	return ""
}

func (x *CreateFlowVersionRequest) GetDefinition() *FlowDefinitionInput {
	if x != nil {
		return x.Definition
	}
	return nil
}

type ActivateFlowVersionRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Meta          *CommandMeta           `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	FlowVersionId string                 `protobuf:"bytes,2,opt,name=flow_version_id,json=flowVersionId,proto3" json:"flow_version_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ActivateFlowVersionRequest) Reset() {
	*x = ActivateFlowVersionRequest{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[40]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ActivateFlowVersionRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ActivateFlowVersionRequest) ProtoMessage() {}

func (x *ActivateFlowVersionRequest) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[40]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ActivateFlowVersionRequest.ProtoReflect.Descriptor instead.
func (*ActivateFlowVersionRequest) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{40}
}

func (x *ActivateFlowVersionRequest) GetMeta() *CommandMeta {
	if x != nil {
		return x.Meta
	}
	return nil
}

func (x *ActivateFlowVersionRequest) GetFlowVersionId() string {
	if x != nil {
		return x.FlowVersionId
	}
	return ""
}

type GetFlowRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Meta          *QueryMeta             `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	FlowId        string                 `protobuf:"bytes,2,opt,name=flow_id,json=flowId,proto3" json:"flow_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *GetFlowRequest) Reset() {
	*x = GetFlowRequest{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[41]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *GetFlowRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*GetFlowRequest) ProtoMessage() {}

func (x *GetFlowRequest) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[41]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use GetFlowRequest.ProtoReflect.Descriptor instead.
func (*GetFlowRequest) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{41}
}

func (x *GetFlowRequest) GetMeta() *QueryMeta {
	if x != nil {
		return x.Meta
	}
	return nil
}

func (x *GetFlowRequest) GetFlowId() string {
	if x != nil {
		return x.FlowId
	}
	return ""
}

type ListFlowsRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Meta          *QueryMeta             `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	Scope         *ScopeRef              `protobuf:"bytes,2,opt,name=scope,proto3" json:"scope,omitempty"`
	Status        *FlowStatus            `protobuf:"varint,3,opt,name=status,proto3,enum=kodex.agents.v1.FlowStatus,oneof" json:"status,omitempty"`
	Page          *PageRequest           `protobuf:"bytes,4,opt,name=page,proto3" json:"page,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListFlowsRequest) Reset() {
	*x = ListFlowsRequest{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[42]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListFlowsRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListFlowsRequest) ProtoMessage() {}

func (x *ListFlowsRequest) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[42]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListFlowsRequest.ProtoReflect.Descriptor instead.
func (*ListFlowsRequest) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{42}
}

func (x *ListFlowsRequest) GetMeta() *QueryMeta {
	if x != nil {
		return x.Meta
	}
	return nil
}

func (x *ListFlowsRequest) GetScope() *ScopeRef {
	if x != nil {
		return x.Scope
	}
	return nil
}

func (x *ListFlowsRequest) GetStatus() FlowStatus {
	if x != nil && x.Status != nil {
		return *x.Status
	}
	return FlowStatus_FLOW_STATUS_UNSPECIFIED
}

func (x *ListFlowsRequest) GetPage() *PageRequest {
	if x != nil {
		return x.Page
	}
	return nil
}

type FlowResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Flow          *Flow                  `protobuf:"bytes,1,opt,name=flow,proto3" json:"flow,omitempty"`
	ActiveVersion *FlowVersion           `protobuf:"bytes,2,opt,name=active_version,json=activeVersion,proto3,oneof" json:"active_version,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *FlowResponse) Reset() {
	*x = FlowResponse{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[43]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *FlowResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*FlowResponse) ProtoMessage() {}

func (x *FlowResponse) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[43]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use FlowResponse.ProtoReflect.Descriptor instead.
func (*FlowResponse) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{43}
}

func (x *FlowResponse) GetFlow() *Flow {
	if x != nil {
		return x.Flow
	}
	return nil
}

func (x *FlowResponse) GetActiveVersion() *FlowVersion {
	if x != nil {
		return x.ActiveVersion
	}
	return nil
}

type FlowVersionResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	FlowVersion   *FlowVersion           `protobuf:"bytes,1,opt,name=flow_version,json=flowVersion,proto3" json:"flow_version,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *FlowVersionResponse) Reset() {
	*x = FlowVersionResponse{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[44]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *FlowVersionResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*FlowVersionResponse) ProtoMessage() {}

func (x *FlowVersionResponse) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[44]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use FlowVersionResponse.ProtoReflect.Descriptor instead.
func (*FlowVersionResponse) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{44}
}

func (x *FlowVersionResponse) GetFlowVersion() *FlowVersion {
	if x != nil {
		return x.FlowVersion
	}
	return nil
}

type ListFlowsResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Flows         []*Flow                `protobuf:"bytes,1,rep,name=flows,proto3" json:"flows,omitempty"`
	Page          *PageResponse          `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListFlowsResponse) Reset() {
	*x = ListFlowsResponse{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[45]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListFlowsResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListFlowsResponse) ProtoMessage() {}

func (x *ListFlowsResponse) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[45]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListFlowsResponse.ProtoReflect.Descriptor instead.
func (*ListFlowsResponse) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{45}
}

func (x *ListFlowsResponse) GetFlows() []*Flow {
	if x != nil {
		return x.Flows
	}
	return nil
}

func (x *ListFlowsResponse) GetPage() *PageResponse {
	if x != nil {
		return x.Page
	}
	return nil
}

type CreateRoleProfileRequest struct {
	state                    protoimpl.MessageState `protogen:"open.v1"`
	Meta                     *CommandMeta           `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	Scope                    *ScopeRef              `protobuf:"bytes,2,opt,name=scope,proto3" json:"scope,omitempty"`
	Slug                     string                 `protobuf:"bytes,3,opt,name=slug,proto3" json:"slug,omitempty"`
	DisplayName              []*LocalizedText       `protobuf:"bytes,4,rep,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	IconObjectUri            *string                `protobuf:"bytes,5,opt,name=icon_object_uri,json=iconObjectUri,proto3,oneof" json:"icon_object_uri,omitempty"`
	RoleKind                 RoleKind               `protobuf:"varint,6,opt,name=role_kind,json=roleKind,proto3,enum=kodex.agents.v1.RoleKind" json:"role_kind,omitempty"`
	RuntimeProfile           string                 `protobuf:"bytes,7,opt,name=runtime_profile,json=runtimeProfile,proto3" json:"runtime_profile,omitempty"`
	AllowedMcpTools          []string               `protobuf:"bytes,8,rep,name=allowed_mcp_tools,json=allowedMcpTools,proto3" json:"allowed_mcp_tools,omitempty"`
	ProviderAccountPolicyRef *string                `protobuf:"bytes,9,opt,name=provider_account_policy_ref,json=providerAccountPolicyRef,proto3,oneof" json:"provider_account_policy_ref,omitempty"`
	unknownFields            protoimpl.UnknownFields
	sizeCache                protoimpl.SizeCache
}

func (x *CreateRoleProfileRequest) Reset() {
	*x = CreateRoleProfileRequest{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[46]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *CreateRoleProfileRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*CreateRoleProfileRequest) ProtoMessage() {}

func (x *CreateRoleProfileRequest) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[46]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use CreateRoleProfileRequest.ProtoReflect.Descriptor instead.
func (*CreateRoleProfileRequest) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{46}
}

func (x *CreateRoleProfileRequest) GetMeta() *CommandMeta {
	if x != nil {
		return x.Meta
	}
	return nil
}

func (x *CreateRoleProfileRequest) GetScope() *ScopeRef {
	if x != nil {
		return x.Scope
	}
	return nil
}

func (x *CreateRoleProfileRequest) GetSlug() string {
	if x != nil {
		return x.Slug
	}
	return ""
}

func (x *CreateRoleProfileRequest) GetDisplayName() []*LocalizedText {
	if x != nil {
		return x.DisplayName
	}
	return nil
}

func (x *CreateRoleProfileRequest) GetIconObjectUri() string {
	if x != nil && x.IconObjectUri != nil {
		return *x.IconObjectUri
	}
	return ""
}

func (x *CreateRoleProfileRequest) GetRoleKind() RoleKind {
	if x != nil {
		return x.RoleKind
	}
	return RoleKind_ROLE_KIND_UNSPECIFIED
}

func (x *CreateRoleProfileRequest) GetRuntimeProfile() string {
	if x != nil {
		return x.RuntimeProfile
	}
	return ""
}

func (x *CreateRoleProfileRequest) GetAllowedMcpTools() []string {
	if x != nil {
		return x.AllowedMcpTools
	}
	return nil
}

func (x *CreateRoleProfileRequest) GetProviderAccountPolicyRef() string {
	if x != nil && x.ProviderAccountPolicyRef != nil {
		return *x.ProviderAccountPolicyRef
	}
	return ""
}

type UpdateRoleProfileRequest struct {
	state                    protoimpl.MessageState `protogen:"open.v1"`
	Meta                     *CommandMeta           `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	RoleProfileId            string                 `protobuf:"bytes,2,opt,name=role_profile_id,json=roleProfileId,proto3" json:"role_profile_id,omitempty"`
	DisplayName              []*LocalizedText       `protobuf:"bytes,3,rep,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	IconObjectUri            *string                `protobuf:"bytes,4,opt,name=icon_object_uri,json=iconObjectUri,proto3,oneof" json:"icon_object_uri,omitempty"`
	RoleKind                 *RoleKind              `protobuf:"varint,5,opt,name=role_kind,json=roleKind,proto3,enum=kodex.agents.v1.RoleKind,oneof" json:"role_kind,omitempty"`
	RuntimeProfile           *string                `protobuf:"bytes,6,opt,name=runtime_profile,json=runtimeProfile,proto3,oneof" json:"runtime_profile,omitempty"`
	AllowedMcpTools          []string               `protobuf:"bytes,7,rep,name=allowed_mcp_tools,json=allowedMcpTools,proto3" json:"allowed_mcp_tools,omitempty"`
	ProviderAccountPolicyRef *string                `protobuf:"bytes,8,opt,name=provider_account_policy_ref,json=providerAccountPolicyRef,proto3,oneof" json:"provider_account_policy_ref,omitempty"`
	Status                   *RoleStatus            `protobuf:"varint,9,opt,name=status,proto3,enum=kodex.agents.v1.RoleStatus,oneof" json:"status,omitempty"`
	unknownFields            protoimpl.UnknownFields
	sizeCache                protoimpl.SizeCache
}

func (x *UpdateRoleProfileRequest) Reset() {
	*x = UpdateRoleProfileRequest{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[47]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *UpdateRoleProfileRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*UpdateRoleProfileRequest) ProtoMessage() {}

func (x *UpdateRoleProfileRequest) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[47]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use UpdateRoleProfileRequest.ProtoReflect.Descriptor instead.
func (*UpdateRoleProfileRequest) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{47}
}

func (x *UpdateRoleProfileRequest) GetMeta() *CommandMeta {
	if x != nil {
		return x.Meta
	}
	return nil
}

func (x *UpdateRoleProfileRequest) GetRoleProfileId() string {
	if x != nil {
		return x.RoleProfileId
	}
	return ""
}

func (x *UpdateRoleProfileRequest) GetDisplayName() []*LocalizedText {
	if x != nil {
		return x.DisplayName
	}
	return nil
}

func (x *UpdateRoleProfileRequest) GetIconObjectUri() string {
	if x != nil && x.IconObjectUri != nil {
		return *x.IconObjectUri
	}
	return ""
}

func (x *UpdateRoleProfileRequest) GetRoleKind() RoleKind {
	if x != nil && x.RoleKind != nil {
		return *x.RoleKind
	}
	return RoleKind_ROLE_KIND_UNSPECIFIED
}

func (x *UpdateRoleProfileRequest) GetRuntimeProfile() string {
	if x != nil && x.RuntimeProfile != nil {
		return *x.RuntimeProfile
	}
	return ""
}

func (x *UpdateRoleProfileRequest) GetAllowedMcpTools() []string {
	if x != nil {
		return x.AllowedMcpTools
	}
	return nil
}

func (x *UpdateRoleProfileRequest) GetProviderAccountPolicyRef() string {
	if x != nil && x.ProviderAccountPolicyRef != nil {
		return *x.ProviderAccountPolicyRef
	}
	return ""
}

func (x *UpdateRoleProfileRequest) GetStatus() RoleStatus {
	if x != nil && x.Status != nil {
		return *x.Status
	}
	return RoleStatus_ROLE_STATUS_UNSPECIFIED
}

type GetRoleProfileRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Meta          *QueryMeta             `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	RoleProfileId string                 `protobuf:"bytes,2,opt,name=role_profile_id,json=roleProfileId,proto3" json:"role_profile_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *GetRoleProfileRequest) Reset() {
	*x = GetRoleProfileRequest{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[48]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *GetRoleProfileRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*GetRoleProfileRequest) ProtoMessage() {}

func (x *GetRoleProfileRequest) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[48]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use GetRoleProfileRequest.ProtoReflect.Descriptor instead.
func (*GetRoleProfileRequest) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{48}
}

func (x *GetRoleProfileRequest) GetMeta() *QueryMeta {
	if x != nil {
		return x.Meta
	}
	return nil
}

func (x *GetRoleProfileRequest) GetRoleProfileId() string {
	if x != nil {
		return x.RoleProfileId
	}
	return ""
}

type ListRoleProfilesRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Meta          *QueryMeta             `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	Scope         *ScopeRef              `protobuf:"bytes,2,opt,name=scope,proto3" json:"scope,omitempty"`
	RoleKind      *RoleKind              `protobuf:"varint,3,opt,name=role_kind,json=roleKind,proto3,enum=kodex.agents.v1.RoleKind,oneof" json:"role_kind,omitempty"`
	Status        *RoleStatus            `protobuf:"varint,4,opt,name=status,proto3,enum=kodex.agents.v1.RoleStatus,oneof" json:"status,omitempty"`
	Page          *PageRequest           `protobuf:"bytes,5,opt,name=page,proto3" json:"page,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListRoleProfilesRequest) Reset() {
	*x = ListRoleProfilesRequest{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[49]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListRoleProfilesRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListRoleProfilesRequest) ProtoMessage() {}

func (x *ListRoleProfilesRequest) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[49]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListRoleProfilesRequest.ProtoReflect.Descriptor instead.
func (*ListRoleProfilesRequest) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{49}
}

func (x *ListRoleProfilesRequest) GetMeta() *QueryMeta {
	if x != nil {
		return x.Meta
	}
	return nil
}

func (x *ListRoleProfilesRequest) GetScope() *ScopeRef {
	if x != nil {
		return x.Scope
	}
	return nil
}

func (x *ListRoleProfilesRequest) GetRoleKind() RoleKind {
	if x != nil && x.RoleKind != nil {
		return *x.RoleKind
	}
	return RoleKind_ROLE_KIND_UNSPECIFIED
}

func (x *ListRoleProfilesRequest) GetStatus() RoleStatus {
	if x != nil && x.Status != nil {
		return *x.Status
	}
	return RoleStatus_ROLE_STATUS_UNSPECIFIED
}

func (x *ListRoleProfilesRequest) GetPage() *PageRequest {
	if x != nil {
		return x.Page
	}
	return nil
}

type RoleProfileResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	RoleProfile   *RoleProfile           `protobuf:"bytes,1,opt,name=role_profile,json=roleProfile,proto3" json:"role_profile,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *RoleProfileResponse) Reset() {
	*x = RoleProfileResponse{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[50]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *RoleProfileResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*RoleProfileResponse) ProtoMessage() {}

func (x *RoleProfileResponse) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[50]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use RoleProfileResponse.ProtoReflect.Descriptor instead.
func (*RoleProfileResponse) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{50}
}

func (x *RoleProfileResponse) GetRoleProfile() *RoleProfile {
	if x != nil {
		return x.RoleProfile
	}
	return nil
}

type ListRoleProfilesResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	RoleProfiles  []*RoleProfile         `protobuf:"bytes,1,rep,name=role_profiles,json=roleProfiles,proto3" json:"role_profiles,omitempty"`
	Page          *PageResponse          `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListRoleProfilesResponse) Reset() {
	*x = ListRoleProfilesResponse{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[51]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListRoleProfilesResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListRoleProfilesResponse) ProtoMessage() {}

func (x *ListRoleProfilesResponse) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[51]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListRoleProfilesResponse.ProtoReflect.Descriptor instead.
func (*ListRoleProfilesResponse) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{51}
}

func (x *ListRoleProfilesResponse) GetRoleProfiles() []*RoleProfile {
	if x != nil {
		return x.RoleProfiles
	}
	return nil
}

func (x *ListRoleProfilesResponse) GetPage() *PageResponse {
	if x != nil {
		return x.Page
	}
	return nil
}

type GetPromptTemplateRequest struct {
	state            protoimpl.MessageState `protogen:"open.v1"`
	Meta             *QueryMeta             `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	PromptTemplateId string                 `protobuf:"bytes,2,opt,name=prompt_template_id,json=promptTemplateId,proto3" json:"prompt_template_id,omitempty"`
	unknownFields    protoimpl.UnknownFields
	sizeCache        protoimpl.SizeCache
}

func (x *GetPromptTemplateRequest) Reset() {
	*x = GetPromptTemplateRequest{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[52]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *GetPromptTemplateRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*GetPromptTemplateRequest) ProtoMessage() {}

func (x *GetPromptTemplateRequest) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[52]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use GetPromptTemplateRequest.ProtoReflect.Descriptor instead.
func (*GetPromptTemplateRequest) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{52}
}

func (x *GetPromptTemplateRequest) GetMeta() *QueryMeta {
	if x != nil {
		return x.Meta
	}
	return nil
}

func (x *GetPromptTemplateRequest) GetPromptTemplateId() string {
	if x != nil {
		return x.PromptTemplateId
	}
	return ""
}

type ListPromptTemplatesRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Meta          *QueryMeta             `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	RoleProfileId string                 `protobuf:"bytes,2,opt,name=role_profile_id,json=roleProfileId,proto3" json:"role_profile_id,omitempty"`
	PromptKind    *PromptKind            `protobuf:"varint,3,opt,name=prompt_kind,json=promptKind,proto3,enum=kodex.agents.v1.PromptKind,oneof" json:"prompt_kind,omitempty"`
	Page          *PageRequest           `protobuf:"bytes,4,opt,name=page,proto3" json:"page,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListPromptTemplatesRequest) Reset() {
	*x = ListPromptTemplatesRequest{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[53]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListPromptTemplatesRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListPromptTemplatesRequest) ProtoMessage() {}

func (x *ListPromptTemplatesRequest) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[53]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListPromptTemplatesRequest.ProtoReflect.Descriptor instead.
func (*ListPromptTemplatesRequest) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{53}
}

func (x *ListPromptTemplatesRequest) GetMeta() *QueryMeta {
	if x != nil {
		return x.Meta
	}
	return nil
}

func (x *ListPromptTemplatesRequest) GetRoleProfileId() string {
	if x != nil {
		return x.RoleProfileId
	}
	return ""
}

func (x *ListPromptTemplatesRequest) GetPromptKind() PromptKind {
	if x != nil && x.PromptKind != nil {
		return *x.PromptKind
	}
	return PromptKind_PROMPT_KIND_UNSPECIFIED
}

func (x *ListPromptTemplatesRequest) GetPage() *PageRequest {
	if x != nil {
		return x.Page
	}
	return nil
}

type PromptTemplateResponse struct {
	state          protoimpl.MessageState `protogen:"open.v1"`
	PromptTemplate *PromptTemplate        `protobuf:"bytes,1,opt,name=prompt_template,json=promptTemplate,proto3" json:"prompt_template,omitempty"`
	ActiveVersion  *PromptTemplateVersion `protobuf:"bytes,2,opt,name=active_version,json=activeVersion,proto3,oneof" json:"active_version,omitempty"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

func (x *PromptTemplateResponse) Reset() {
	*x = PromptTemplateResponse{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[54]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *PromptTemplateResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*PromptTemplateResponse) ProtoMessage() {}

func (x *PromptTemplateResponse) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[54]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use PromptTemplateResponse.ProtoReflect.Descriptor instead.
func (*PromptTemplateResponse) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{54}
}

func (x *PromptTemplateResponse) GetPromptTemplate() *PromptTemplate {
	if x != nil {
		return x.PromptTemplate
	}
	return nil
}

func (x *PromptTemplateResponse) GetActiveVersion() *PromptTemplateVersion {
	if x != nil {
		return x.ActiveVersion
	}
	return nil
}

type ListPromptTemplatesResponse struct {
	state           protoimpl.MessageState `protogen:"open.v1"`
	PromptTemplates []*PromptTemplate      `protobuf:"bytes,1,rep,name=prompt_templates,json=promptTemplates,proto3" json:"prompt_templates,omitempty"`
	Page            *PageResponse          `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"`
	unknownFields   protoimpl.UnknownFields
	sizeCache       protoimpl.SizeCache
}

func (x *ListPromptTemplatesResponse) Reset() {
	*x = ListPromptTemplatesResponse{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[55]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListPromptTemplatesResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListPromptTemplatesResponse) ProtoMessage() {}

func (x *ListPromptTemplatesResponse) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[55]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListPromptTemplatesResponse.ProtoReflect.Descriptor instead.
func (*ListPromptTemplatesResponse) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{55}
}

func (x *ListPromptTemplatesResponse) GetPromptTemplates() []*PromptTemplate {
	if x != nil {
		return x.PromptTemplates
	}
	return nil
}

func (x *ListPromptTemplatesResponse) GetPage() *PageResponse {
	if x != nil {
		return x.Page
	}
	return nil
}

type CreatePromptTemplateVersionRequest struct {
	state          protoimpl.MessageState `protogen:"open.v1"`
	Meta           *CommandMeta           `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	RoleProfileId  string                 `protobuf:"bytes,2,opt,name=role_profile_id,json=roleProfileId,proto3" json:"role_profile_id,omitempty"`
	PromptKind     PromptKind             `protobuf:"varint,3,opt,name=prompt_kind,json=promptKind,proto3,enum=kodex.agents.v1.PromptKind" json:"prompt_kind,omitempty"`
	SourceRef      *string                `protobuf:"bytes,4,opt,name=source_ref,json=sourceRef,proto3,oneof" json:"source_ref,omitempty"`
	TemplateObject *ObjectRef             `protobuf:"bytes,5,opt,name=template_object,json=templateObject,proto3,oneof" json:"template_object,omitempty"`
	TemplateDigest string                 `protobuf:"bytes,6,opt,name=template_digest,json=templateDigest,proto3" json:"template_digest,omitempty"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

func (x *CreatePromptTemplateVersionRequest) Reset() {
	*x = CreatePromptTemplateVersionRequest{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[56]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *CreatePromptTemplateVersionRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*CreatePromptTemplateVersionRequest) ProtoMessage() {}

func (x *CreatePromptTemplateVersionRequest) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[56]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use CreatePromptTemplateVersionRequest.ProtoReflect.Descriptor instead.
func (*CreatePromptTemplateVersionRequest) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{56}
}

func (x *CreatePromptTemplateVersionRequest) GetMeta() *CommandMeta {
	if x != nil {
		return x.Meta
	}
	return nil
}

func (x *CreatePromptTemplateVersionRequest) GetRoleProfileId() string {
	if x != nil {
		return x.RoleProfileId
	}
	return ""
}

func (x *CreatePromptTemplateVersionRequest) GetPromptKind() PromptKind {
	if x != nil {
		return x.PromptKind
	}
	return PromptKind_PROMPT_KIND_UNSPECIFIED
}

func (x *CreatePromptTemplateVersionRequest) GetSourceRef() string {
	if x != nil && x.SourceRef != nil {
		return *x.SourceRef
	}
	return ""
}

func (x *CreatePromptTemplateVersionRequest) GetTemplateObject() *ObjectRef {
	if x != nil {
		return x.TemplateObject
	}
	return nil
}

func (x *CreatePromptTemplateVersionRequest) GetTemplateDigest() string {
	if x != nil {
		return x.TemplateDigest
	}
	return ""
}

type ActivatePromptTemplateVersionRequest struct {
	state                   protoimpl.MessageState `protogen:"open.v1"`
	Meta                    *CommandMeta           `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	PromptTemplateVersionId string                 `protobuf:"bytes,2,opt,name=prompt_template_version_id,json=promptTemplateVersionId,proto3" json:"prompt_template_version_id,omitempty"`
	unknownFields           protoimpl.UnknownFields
	sizeCache               protoimpl.SizeCache
}

func (x *ActivatePromptTemplateVersionRequest) Reset() {
	*x = ActivatePromptTemplateVersionRequest{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[57]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ActivatePromptTemplateVersionRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ActivatePromptTemplateVersionRequest) ProtoMessage() {}

func (x *ActivatePromptTemplateVersionRequest) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[57]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ActivatePromptTemplateVersionRequest.ProtoReflect.Descriptor instead.
func (*ActivatePromptTemplateVersionRequest) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{57}
}

func (x *ActivatePromptTemplateVersionRequest) GetMeta() *CommandMeta {
	if x != nil {
		return x.Meta
	}
	return nil
}

func (x *ActivatePromptTemplateVersionRequest) GetPromptTemplateVersionId() string {
	if x != nil {
		return x.PromptTemplateVersionId
	}
	return ""
}

type GetPromptTemplateVersionRequest struct {
	state                   protoimpl.MessageState `protogen:"open.v1"`
	Meta                    *QueryMeta             `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	PromptTemplateVersionId string                 `protobuf:"bytes,2,opt,name=prompt_template_version_id,json=promptTemplateVersionId,proto3" json:"prompt_template_version_id,omitempty"`
	unknownFields           protoimpl.UnknownFields
	sizeCache               protoimpl.SizeCache
}

func (x *GetPromptTemplateVersionRequest) Reset() {
	*x = GetPromptTemplateVersionRequest{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[58]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *GetPromptTemplateVersionRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*GetPromptTemplateVersionRequest) ProtoMessage() {}

func (x *GetPromptTemplateVersionRequest) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[58]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use GetPromptTemplateVersionRequest.ProtoReflect.Descriptor instead.
func (*GetPromptTemplateVersionRequest) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{58}
}

func (x *GetPromptTemplateVersionRequest) GetMeta() *QueryMeta {
	if x != nil {
		return x.Meta
	}
	return nil
}

func (x *GetPromptTemplateVersionRequest) GetPromptTemplateVersionId() string {
	if x != nil {
		return x.PromptTemplateVersionId
	}
	return ""
}

type ListPromptTemplateVersionsRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Meta          *QueryMeta             `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	RoleProfileId string                 `protobuf:"bytes,2,opt,name=role_profile_id,json=roleProfileId,proto3" json:"role_profile_id,omitempty"`
	PromptKind    *PromptKind            `protobuf:"varint,3,opt,name=prompt_kind,json=promptKind,proto3,enum=kodex.agents.v1.PromptKind,oneof" json:"prompt_kind,omitempty"`
	Status        *PromptVersionStatus   `protobuf:"varint,4,opt,name=status,proto3,enum=kodex.agents.v1.PromptVersionStatus,oneof" json:"status,omitempty"`
	Page          *PageRequest           `protobuf:"bytes,5,opt,name=page,proto3" json:"page,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListPromptTemplateVersionsRequest) Reset() {
	*x = ListPromptTemplateVersionsRequest{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[59]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListPromptTemplateVersionsRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListPromptTemplateVersionsRequest) ProtoMessage() {}

func (x *ListPromptTemplateVersionsRequest) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[59]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListPromptTemplateVersionsRequest.ProtoReflect.Descriptor instead.
func (*ListPromptTemplateVersionsRequest) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{59}
}

func (x *ListPromptTemplateVersionsRequest) GetMeta() *QueryMeta {
	if x != nil {
		return x.Meta
	}
	return nil
}

func (x *ListPromptTemplateVersionsRequest) GetRoleProfileId() string {
	if x != nil {
		return x.RoleProfileId
	}
	return ""
}

func (x *ListPromptTemplateVersionsRequest) GetPromptKind() PromptKind {
	if x != nil && x.PromptKind != nil {
		return *x.PromptKind
	}
	return PromptKind_PROMPT_KIND_UNSPECIFIED
}

func (x *ListPromptTemplateVersionsRequest) GetStatus() PromptVersionStatus {
	if x != nil && x.Status != nil {
		return *x.Status
	}
	return PromptVersionStatus_PROMPT_VERSION_STATUS_UNSPECIFIED
}

func (x *ListPromptTemplateVersionsRequest) GetPage() *PageRequest {
	if x != nil {
		return x.Page
	}
	return nil
}

type PromptTemplateVersionResponse struct {
	state                 protoimpl.MessageState `protogen:"open.v1"`
	PromptTemplateVersion *PromptTemplateVersion `protobuf:"bytes,1,opt,name=prompt_template_version,json=promptTemplateVersion,proto3" json:"prompt_template_version,omitempty"`
	unknownFields         protoimpl.UnknownFields
	sizeCache             protoimpl.SizeCache
}

func (x *PromptTemplateVersionResponse) Reset() {
	*x = PromptTemplateVersionResponse{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[60]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *PromptTemplateVersionResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*PromptTemplateVersionResponse) ProtoMessage() {}

func (x *PromptTemplateVersionResponse) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[60]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use PromptTemplateVersionResponse.ProtoReflect.Descriptor instead.
func (*PromptTemplateVersionResponse) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{60}
}

func (x *PromptTemplateVersionResponse) GetPromptTemplateVersion() *PromptTemplateVersion {
	if x != nil {
		return x.PromptTemplateVersion
	}
	return nil
}

type ListPromptTemplateVersionsResponse struct {
	state                  protoimpl.MessageState   `protogen:"open.v1"`
	PromptTemplateVersions []*PromptTemplateVersion `protobuf:"bytes,1,rep,name=prompt_template_versions,json=promptTemplateVersions,proto3" json:"prompt_template_versions,omitempty"`
	Page                   *PageResponse            `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"`
	unknownFields          protoimpl.UnknownFields
	sizeCache              protoimpl.SizeCache
}

func (x *ListPromptTemplateVersionsResponse) Reset() {
	*x = ListPromptTemplateVersionsResponse{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[61]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListPromptTemplateVersionsResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListPromptTemplateVersionsResponse) ProtoMessage() {}

func (x *ListPromptTemplateVersionsResponse) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[61]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListPromptTemplateVersionsResponse.ProtoReflect.Descriptor instead.
func (*ListPromptTemplateVersionsResponse) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{61}
}

func (x *ListPromptTemplateVersionsResponse) GetPromptTemplateVersions() []*PromptTemplateVersion {
	if x != nil {
		return x.PromptTemplateVersions
	}
	return nil
}

func (x *ListPromptTemplateVersionsResponse) GetPage() *PageResponse {
	if x != nil {
		return x.Page
	}
	return nil
}

type StartAgentSessionRequest struct {
	state               protoimpl.MessageState `protogen:"open.v1"`
	Meta                *CommandMeta           `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	Scope               *ScopeRef              `protobuf:"bytes,2,opt,name=scope,proto3" json:"scope,omitempty"`
	ProviderWorkItemRef *string                `protobuf:"bytes,3,opt,name=provider_work_item_ref,json=providerWorkItemRef,proto3,oneof" json:"provider_work_item_ref,omitempty"`
	FlowVersionId       *string                `protobuf:"bytes,4,opt,name=flow_version_id,json=flowVersionId,proto3,oneof" json:"flow_version_id,omitempty"`
	CurrentStageId      *string                `protobuf:"bytes,5,opt,name=current_stage_id,json=currentStageId,proto3,oneof" json:"current_stage_id,omitempty"`
	CreatedByActorRef   string                 `protobuf:"bytes,6,opt,name=created_by_actor_ref,json=createdByActorRef,proto3" json:"created_by_actor_ref,omitempty"`
	unknownFields       protoimpl.UnknownFields
	sizeCache           protoimpl.SizeCache
}

func (x *StartAgentSessionRequest) Reset() {
	*x = StartAgentSessionRequest{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[62]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *StartAgentSessionRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*StartAgentSessionRequest) ProtoMessage() {}

func (x *StartAgentSessionRequest) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[62]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use StartAgentSessionRequest.ProtoReflect.Descriptor instead.
func (*StartAgentSessionRequest) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{62}
}

func (x *StartAgentSessionRequest) GetMeta() *CommandMeta {
	if x != nil {
		return x.Meta
	}
	return nil
}

func (x *StartAgentSessionRequest) GetScope() *ScopeRef {
	if x != nil {
		return x.Scope
	}
	return nil
}

func (x *StartAgentSessionRequest) GetProviderWorkItemRef() string {
	if x != nil && x.ProviderWorkItemRef != nil {
		return *x.ProviderWorkItemRef
	}
	return ""
}

func (x *StartAgentSessionRequest) GetFlowVersionId() string {
	if x != nil && x.FlowVersionId != nil {
		return *x.FlowVersionId
	}
	return ""
}

func (x *StartAgentSessionRequest) GetCurrentStageId() string {
	if x != nil && x.CurrentStageId != nil {
		return *x.CurrentStageId
	}
	return ""
}

func (x *StartAgentSessionRequest) GetCreatedByActorRef() string {
	if x != nil {
		return x.CreatedByActorRef
	}
	return ""
}

type StartAgentRunRequest struct {
	state                   protoimpl.MessageState   `protogen:"open.v1"`
	Meta                    *CommandMeta             `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	SessionId               string                   `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	FlowVersionId           *string                  `protobuf:"bytes,3,opt,name=flow_version_id,json=flowVersionId,proto3,oneof" json:"flow_version_id,omitempty"`
	StageId                 *string                  `protobuf:"bytes,4,opt,name=stage_id,json=stageId,proto3,oneof" json:"stage_id,omitempty"`
	RoleProfileId           string                   `protobuf:"bytes,5,opt,name=role_profile_id,json=roleProfileId,proto3" json:"role_profile_id,omitempty"`
	PromptTemplateVersionId string                   `protobuf:"bytes,6,opt,name=prompt_template_version_id,json=promptTemplateVersionId,proto3" json:"prompt_template_version_id,omitempty"`
	ProviderTarget          *ProviderTargetRef       `protobuf:"bytes,7,opt,name=provider_target,json=providerTarget,proto3" json:"provider_target,omitempty"`
	GuidanceSelectionHints  []*GuidanceSelectionHint `protobuf:"bytes,8,rep,name=guidance_selection_hints,json=guidanceSelectionHints,proto3" json:"guidance_selection_hints,omitempty"`
	unknownFields           protoimpl.UnknownFields
	sizeCache               protoimpl.SizeCache
}

func (x *StartAgentRunRequest) Reset() {
	*x = StartAgentRunRequest{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[63]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *StartAgentRunRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*StartAgentRunRequest) ProtoMessage() {}

func (x *StartAgentRunRequest) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[63]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use StartAgentRunRequest.ProtoReflect.Descriptor instead.
func (*StartAgentRunRequest) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{63}
}

func (x *StartAgentRunRequest) GetMeta() *CommandMeta {
	if x != nil {
		return x.Meta
	}
	return nil
}

func (x *StartAgentRunRequest) GetSessionId() string {
	if x != nil {
		return x.SessionId
	}
	return ""
}

func (x *StartAgentRunRequest) GetFlowVersionId() string {
	if x != nil && x.FlowVersionId != nil {
		return *x.FlowVersionId
	}
	return ""
}

func (x *StartAgentRunRequest) GetStageId() string {
	if x != nil && x.StageId != nil {
		return *x.StageId
	}
	return ""
}

func (x *StartAgentRunRequest) GetRoleProfileId() string {
	if x != nil {
		return x.RoleProfileId
	}
	return ""
}

func (x *StartAgentRunRequest) GetPromptTemplateVersionId() string {
	if x != nil {
		return x.PromptTemplateVersionId
	}
	return ""
}

func (x *StartAgentRunRequest) GetProviderTarget() *ProviderTargetRef {
	if x != nil {
		return x.ProviderTarget
	}
	return nil
}

func (x *StartAgentRunRequest) GetGuidanceSelectionHints() []*GuidanceSelectionHint {
	if x != nil {
		return x.GuidanceSelectionHints
	}
	return nil
}

type RecordRunStateRequest struct {
	state          protoimpl.MessageState `protogen:"open.v1"`
	Meta           *CommandMeta           `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	RunId          string                 `protobuf:"bytes,2,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"`
	Status         AgentRunStatus         `protobuf:"varint,3,opt,name=status,proto3,enum=kodex.agents.v1.AgentRunStatus" json:"status,omitempty"`
	RuntimeContext *RuntimeContextRef     `protobuf:"bytes,4,opt,name=runtime_context,json=runtimeContext,proto3" json:"runtime_context,omitempty"`
	ProviderTarget *ProviderTargetRef     `protobuf:"bytes,5,opt,name=provider_target,json=providerTarget,proto3" json:"provider_target,omitempty"`
	ResultSummary  *string                `protobuf:"bytes,6,opt,name=result_summary,json=resultSummary,proto3,oneof" json:"result_summary,omitempty"`
	FailureCode    *string                `protobuf:"bytes,7,opt,name=failure_code,json=failureCode,proto3,oneof" json:"failure_code,omitempty"`
	StartedAt      *string                `protobuf:"bytes,8,opt,name=started_at,json=startedAt,proto3,oneof" json:"started_at,omitempty"`
	FinishedAt     *string                `protobuf:"bytes,9,opt,name=finished_at,json=finishedAt,proto3,oneof" json:"finished_at,omitempty"`
	ReasonCode     *string                `protobuf:"bytes,10,opt,name=reason_code,json=reasonCode,proto3,oneof" json:"reason_code,omitempty"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

func (x *RecordRunStateRequest) Reset() {
	*x = RecordRunStateRequest{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[64]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *RecordRunStateRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*RecordRunStateRequest) ProtoMessage() {}

func (x *RecordRunStateRequest) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[64]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use RecordRunStateRequest.ProtoReflect.Descriptor instead.
func (*RecordRunStateRequest) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{64}
}

func (x *RecordRunStateRequest) GetMeta() *CommandMeta {
	if x != nil {
		return x.Meta
	}
	return nil
}

func (x *RecordRunStateRequest) GetRunId() string {
	if x != nil {
		return x.RunId
	}
	return ""
}

func (x *RecordRunStateRequest) GetStatus() AgentRunStatus {
	if x != nil {
		return x.Status
	}
	return AgentRunStatus_AGENT_RUN_STATUS_UNSPECIFIED
}

func (x *RecordRunStateRequest) GetRuntimeContext() *RuntimeContextRef {
	if x != nil {
		return x.RuntimeContext
	}
	return nil
}

func (x *RecordRunStateRequest) GetProviderTarget() *ProviderTargetRef {
	if x != nil {
		return x.ProviderTarget
	}
	return nil
}

func (x *RecordRunStateRequest) GetResultSummary() string {
	if x != nil && x.ResultSummary != nil {
		return *x.ResultSummary
	}
	return ""
}

func (x *RecordRunStateRequest) GetFailureCode() string {
	if x != nil && x.FailureCode != nil {
		return *x.FailureCode
	}
	return ""
}

func (x *RecordRunStateRequest) GetStartedAt() string {
	if x != nil && x.StartedAt != nil {
		return *x.StartedAt
	}
	return ""
}

func (x *RecordRunStateRequest) GetFinishedAt() string {
	if x != nil && x.FinishedAt != nil {
		return *x.FinishedAt
	}
	return ""
}

func (x *RecordRunStateRequest) GetReasonCode() string {
	if x != nil && x.ReasonCode != nil {
		return *x.ReasonCode
	}
	return ""
}

type ReportAgentRunStateRequest struct {
	state            protoimpl.MessageState `protogen:"open.v1"`
	Meta             *CommandMeta           `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	RunId            string                 `protobuf:"bytes,2,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"`
	SessionId        string                 `protobuf:"bytes,3,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	RuntimeSlotRef   string                 `protobuf:"bytes,4,opt,name=runtime_slot_ref,json=runtimeSlotRef,proto3" json:"runtime_slot_ref,omitempty"`
	RuntimeJobRef    string                 `protobuf:"bytes,5,opt,name=runtime_job_ref,json=runtimeJobRef,proto3" json:"runtime_job_ref,omitempty"`
	State            AgentRunnerRunState    `protobuf:"varint,6,opt,name=state,proto3,enum=kodex.agents.v1.AgentRunnerRunState" json:"state,omitempty"`
	SafeSummary      *string                `protobuf:"bytes,7,opt,name=safe_summary,json=safeSummary,proto3,oneof" json:"safe_summary,omitempty"`
	FailureCode      *string                `protobuf:"bytes,8,opt,name=failure_code,json=failureCode,proto3,oneof" json:"failure_code,omitempty"`
	DiagnosticDigest *string                `protobuf:"bytes,9,opt,name=diagnostic_digest,json=diagnosticDigest,proto3,oneof" json:"diagnostic_digest,omitempty"`
	StartedAt        *string                `protobuf:"bytes,10,opt,name=started_at,json=startedAt,proto3,oneof" json:"started_at,omitempty"`
	FinishedAt       *string                `protobuf:"bytes,11,opt,name=finished_at,json=finishedAt,proto3,oneof" json:"finished_at,omitempty"`
	unknownFields    protoimpl.UnknownFields
	sizeCache        protoimpl.SizeCache
}

func (x *ReportAgentRunStateRequest) Reset() {
	*x = ReportAgentRunStateRequest{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[65]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ReportAgentRunStateRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ReportAgentRunStateRequest) ProtoMessage() {}

func (x *ReportAgentRunStateRequest) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[65]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ReportAgentRunStateRequest.ProtoReflect.Descriptor instead.
func (*ReportAgentRunStateRequest) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{65}
}

func (x *ReportAgentRunStateRequest) GetMeta() *CommandMeta {
	if x != nil {
		return x.Meta
	}
	return nil
}

func (x *ReportAgentRunStateRequest) GetRunId() string {
	if x != nil {
		return x.RunId
	}
	return ""
}

func (x *ReportAgentRunStateRequest) GetSessionId() string {
	if x != nil {
		return x.SessionId
	}
	return ""
}

func (x *ReportAgentRunStateRequest) GetRuntimeSlotRef() string {
	if x != nil {
		return x.RuntimeSlotRef
	}
	return ""
}

func (x *ReportAgentRunStateRequest) GetRuntimeJobRef() string {
	if x != nil {
		return x.RuntimeJobRef
	}
	return ""
}

func (x *ReportAgentRunStateRequest) GetState() AgentRunnerRunState {
	if x != nil {
		return x.State
	}
	return AgentRunnerRunState_AGENT_RUNNER_RUN_STATE_UNSPECIFIED
}

func (x *ReportAgentRunStateRequest) GetSafeSummary() string {
	if x != nil && x.SafeSummary != nil {
		return *x.SafeSummary
	}
	return ""
}

func (x *ReportAgentRunStateRequest) GetFailureCode() string {
	if x != nil && x.FailureCode != nil {
		return *x.FailureCode
	}
	return ""
}

func (x *ReportAgentRunStateRequest) GetDiagnosticDigest() string {
	if x != nil && x.DiagnosticDigest != nil {
		return *x.DiagnosticDigest
	}
	return ""
}

func (x *ReportAgentRunStateRequest) GetStartedAt() string {
	if x != nil && x.StartedAt != nil {
		return *x.StartedAt
	}
	return ""
}

func (x *ReportAgentRunStateRequest) GetFinishedAt() string {
	if x != nil && x.FinishedAt != nil {
		return *x.FinishedAt
	}
	return ""
}

type RecordSessionStateSnapshotRequest struct {
	state         protoimpl.MessageState   `protogen:"open.v1"`
	Meta          *CommandMeta             `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	SessionId     string                   `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	RunId         *string                  `protobuf:"bytes,3,opt,name=run_id,json=runId,proto3,oneof" json:"run_id,omitempty"`
	SnapshotKind  AgentSessionSnapshotKind `protobuf:"varint,4,opt,name=snapshot_kind,json=snapshotKind,proto3,enum=kodex.agents.v1.AgentSessionSnapshotKind" json:"snapshot_kind,omitempty"`
	TurnIndex     *int64                   `protobuf:"varint,5,opt,name=turn_index,json=turnIndex,proto3,oneof" json:"turn_index,omitempty"`
	Object        *ObjectRef               `protobuf:"bytes,6,opt,name=object,proto3" json:"object,omitempty"`
	CapturedAt    string                   `protobuf:"bytes,7,opt,name=captured_at,json=capturedAt,proto3" json:"captured_at,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *RecordSessionStateSnapshotRequest) Reset() {
	*x = RecordSessionStateSnapshotRequest{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[66]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *RecordSessionStateSnapshotRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*RecordSessionStateSnapshotRequest) ProtoMessage() {}

func (x *RecordSessionStateSnapshotRequest) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[66]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use RecordSessionStateSnapshotRequest.ProtoReflect.Descriptor instead.
func (*RecordSessionStateSnapshotRequest) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{66}
}

func (x *RecordSessionStateSnapshotRequest) GetMeta() *CommandMeta {
	if x != nil {
		return x.Meta
	}
	return nil
}

func (x *RecordSessionStateSnapshotRequest) GetSessionId() string {
	if x != nil {
		return x.SessionId
	}
	return ""
}

func (x *RecordSessionStateSnapshotRequest) GetRunId() string {
	if x != nil && x.RunId != nil {
		return *x.RunId
	}
	return ""
}

func (x *RecordSessionStateSnapshotRequest) GetSnapshotKind() AgentSessionSnapshotKind {
	if x != nil {
		return x.SnapshotKind
	}
	return AgentSessionSnapshotKind_AGENT_SESSION_SNAPSHOT_KIND_UNSPECIFIED
}

func (x *RecordSessionStateSnapshotRequest) GetTurnIndex() int64 {
	if x != nil && x.TurnIndex != nil {
		return *x.TurnIndex
	}
	return 0
}

func (x *RecordSessionStateSnapshotRequest) GetObject() *ObjectRef {
	if x != nil {
		return x.Object
	}
	return nil
}

func (x *RecordSessionStateSnapshotRequest) GetCapturedAt() string {
	if x != nil {
		return x.CapturedAt
	}
	return ""
}

type RequestAcceptanceRequest struct {
	state             protoimpl.MessageState `protogen:"open.v1"`
	Meta              *CommandMeta           `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	SessionId         string                 `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	RunId             *string                `protobuf:"bytes,3,opt,name=run_id,json=runId,proto3,oneof" json:"run_id,omitempty"`
	StageId           *string                `protobuf:"bytes,4,opt,name=stage_id,json=stageId,proto3,oneof" json:"stage_id,omitempty"`
	CheckKinds        []AcceptanceCheckKind  `protobuf:"varint,5,rep,packed,name=check_kinds,json=checkKinds,proto3,enum=kodex.agents.v1.AcceptanceCheckKind" json:"check_kinds,omitempty"`
	TargetRef         *string                `protobuf:"bytes,6,opt,name=target_ref,json=targetRef,proto3,oneof" json:"target_ref,omitempty"`
	GovernanceContext *GovernanceContextRef  `protobuf:"bytes,7,opt,name=governance_context,json=governanceContext,proto3" json:"governance_context,omitempty"`
	unknownFields     protoimpl.UnknownFields
	sizeCache         protoimpl.SizeCache
}

func (x *RequestAcceptanceRequest) Reset() {
	*x = RequestAcceptanceRequest{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[67]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *RequestAcceptanceRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*RequestAcceptanceRequest) ProtoMessage() {}

func (x *RequestAcceptanceRequest) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[67]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use RequestAcceptanceRequest.ProtoReflect.Descriptor instead.
func (*RequestAcceptanceRequest) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{67}
}

func (x *RequestAcceptanceRequest) GetMeta() *CommandMeta {
	if x != nil {
		return x.Meta
	}
	return nil
}

func (x *RequestAcceptanceRequest) GetSessionId() string {
	if x != nil {
		return x.SessionId
	}
	return ""
}

func (x *RequestAcceptanceRequest) GetRunId() string {
	if x != nil && x.RunId != nil {
		return *x.RunId
	}
	return ""
}

func (x *RequestAcceptanceRequest) GetStageId() string {
	if x != nil && x.StageId != nil {
		return *x.StageId
	}
	return ""
}

func (x *RequestAcceptanceRequest) GetCheckKinds() []AcceptanceCheckKind {
	if x != nil {
		return x.CheckKinds
	}
	return nil
}

func (x *RequestAcceptanceRequest) GetTargetRef() string {
	if x != nil && x.TargetRef != nil {
		return *x.TargetRef
	}
	return ""
}

func (x *RequestAcceptanceRequest) GetGovernanceContext() *GovernanceContextRef {
	if x != nil {
		return x.GovernanceContext
	}
	return nil
}

type RecordAcceptanceResultRequest struct {
	state              protoimpl.MessageState `protogen:"open.v1"`
	Meta               *CommandMeta           `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	AcceptanceResultId string                 `protobuf:"bytes,2,opt,name=acceptance_result_id,json=acceptanceResultId,proto3" json:"acceptance_result_id,omitempty"`
	Status             AcceptanceStatus       `protobuf:"varint,3,opt,name=status,proto3,enum=kodex.agents.v1.AcceptanceStatus" json:"status,omitempty"`
	TargetRef          *string                `protobuf:"bytes,4,opt,name=target_ref,json=targetRef,proto3,oneof" json:"target_ref,omitempty"`
	DetailsJson        string                 `protobuf:"bytes,5,opt,name=details_json,json=detailsJson,proto3" json:"details_json,omitempty"`
	GovernanceContext  *GovernanceContextRef  `protobuf:"bytes,6,opt,name=governance_context,json=governanceContext,proto3" json:"governance_context,omitempty"`
	unknownFields      protoimpl.UnknownFields
	sizeCache          protoimpl.SizeCache
}

func (x *RecordAcceptanceResultRequest) Reset() {
	*x = RecordAcceptanceResultRequest{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[68]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *RecordAcceptanceResultRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*RecordAcceptanceResultRequest) ProtoMessage() {}

func (x *RecordAcceptanceResultRequest) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[68]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use RecordAcceptanceResultRequest.ProtoReflect.Descriptor instead.
func (*RecordAcceptanceResultRequest) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{68}
}

func (x *RecordAcceptanceResultRequest) GetMeta() *CommandMeta {
	if x != nil {
		return x.Meta
	}
	return nil
}

func (x *RecordAcceptanceResultRequest) GetAcceptanceResultId() string {
	if x != nil {
		return x.AcceptanceResultId
	}
	return ""
}

func (x *RecordAcceptanceResultRequest) GetStatus() AcceptanceStatus {
	if x != nil {
		return x.Status
	}
	return AcceptanceStatus_ACCEPTANCE_STATUS_UNSPECIFIED
}

func (x *RecordAcceptanceResultRequest) GetTargetRef() string {
	if x != nil && x.TargetRef != nil {
		return *x.TargetRef
	}
	return ""
}

func (x *RecordAcceptanceResultRequest) GetDetailsJson() string {
	if x != nil {
		return x.DetailsJson
	}
	return ""
}

func (x *RecordAcceptanceResultRequest) GetGovernanceContext() *GovernanceContextRef {
	if x != nil {
		return x.GovernanceContext
	}
	return nil
}

type GetAcceptanceResultRequest struct {
	state              protoimpl.MessageState `protogen:"open.v1"`
	Meta               *QueryMeta             `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	AcceptanceResultId string                 `protobuf:"bytes,2,opt,name=acceptance_result_id,json=acceptanceResultId,proto3" json:"acceptance_result_id,omitempty"`
	unknownFields      protoimpl.UnknownFields
	sizeCache          protoimpl.SizeCache
}

func (x *GetAcceptanceResultRequest) Reset() {
	*x = GetAcceptanceResultRequest{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[69]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *GetAcceptanceResultRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*GetAcceptanceResultRequest) ProtoMessage() {}

func (x *GetAcceptanceResultRequest) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[69]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use GetAcceptanceResultRequest.ProtoReflect.Descriptor instead.
func (*GetAcceptanceResultRequest) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{69}
}

func (x *GetAcceptanceResultRequest) GetMeta() *QueryMeta {
	if x != nil {
		return x.Meta
	}
	return nil
}

func (x *GetAcceptanceResultRequest) GetAcceptanceResultId() string {
	if x != nil {
		return x.AcceptanceResultId
	}
	return ""
}

type ListAcceptanceResultsRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Meta          *QueryMeta             `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	SessionId     *string                `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3,oneof" json:"session_id,omitempty"`
	RunId         *string                `protobuf:"bytes,3,opt,name=run_id,json=runId,proto3,oneof" json:"run_id,omitempty"`
	StageId       *string                `protobuf:"bytes,4,opt,name=stage_id,json=stageId,proto3,oneof" json:"stage_id,omitempty"`
	Status        *AcceptanceStatus      `protobuf:"varint,5,opt,name=status,proto3,enum=kodex.agents.v1.AcceptanceStatus,oneof" json:"status,omitempty"`
	Page          *PageRequest           `protobuf:"bytes,6,opt,name=page,proto3" json:"page,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListAcceptanceResultsRequest) Reset() {
	*x = ListAcceptanceResultsRequest{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[70]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListAcceptanceResultsRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListAcceptanceResultsRequest) ProtoMessage() {}

func (x *ListAcceptanceResultsRequest) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[70]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListAcceptanceResultsRequest.ProtoReflect.Descriptor instead.
func (*ListAcceptanceResultsRequest) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{70}
}

func (x *ListAcceptanceResultsRequest) GetMeta() *QueryMeta {
	if x != nil {
		return x.Meta
	}
	return nil
}

func (x *ListAcceptanceResultsRequest) GetSessionId() string {
	if x != nil && x.SessionId != nil {
		return *x.SessionId
	}
	return ""
}

func (x *ListAcceptanceResultsRequest) GetRunId() string {
	if x != nil && x.RunId != nil {
		return *x.RunId
	}
	return ""
}

func (x *ListAcceptanceResultsRequest) GetStageId() string {
	if x != nil && x.StageId != nil {
		return *x.StageId
	}
	return ""
}

func (x *ListAcceptanceResultsRequest) GetStatus() AcceptanceStatus {
	if x != nil && x.Status != nil {
		return *x.Status
	}
	return AcceptanceStatus_ACCEPTANCE_STATUS_UNSPECIFIED
}

func (x *ListAcceptanceResultsRequest) GetPage() *PageRequest {
	if x != nil {
		return x.Page
	}
	return nil
}

type CreateFollowUpIntentRequest struct {
	state                 protoimpl.MessageState `protogen:"open.v1"`
	Meta                  *CommandMeta           `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	SessionId             string                 `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	FromStageId           *string                `protobuf:"bytes,3,opt,name=from_stage_id,json=fromStageId,proto3,oneof" json:"from_stage_id,omitempty"`
	ToStageId             *string                `protobuf:"bytes,4,opt,name=to_stage_id,json=toStageId,proto3,oneof" json:"to_stage_id,omitempty"`
	ProviderWorkItemType  string                 `protobuf:"bytes,5,opt,name=provider_work_item_type,json=providerWorkItemType,proto3" json:"provider_work_item_type,omitempty"`
	ProviderOperationRef  *string                `protobuf:"bytes,6,opt,name=provider_operation_ref,json=providerOperationRef,proto3,oneof" json:"provider_operation_ref,omitempty"`
	InstructionBodyDigest *string                `protobuf:"bytes,7,opt,name=instruction_body_digest,json=instructionBodyDigest,proto3,oneof" json:"instruction_body_digest,omitempty"`
	RunId                 *string                `protobuf:"bytes,8,opt,name=run_id,json=runId,proto3,oneof" json:"run_id,omitempty"`
	AcceptanceResultId    *string                `protobuf:"bytes,9,opt,name=acceptance_result_id,json=acceptanceResultId,proto3,oneof" json:"acceptance_result_id,omitempty"`
	ProviderTarget        *ProviderTargetRef     `protobuf:"bytes,10,opt,name=provider_target,json=providerTarget,proto3" json:"provider_target,omitempty"`
	SafeTitle             *string                `protobuf:"bytes,11,opt,name=safe_title,json=safeTitle,proto3,oneof" json:"safe_title,omitempty"`
	SafeSummary           *string                `protobuf:"bytes,12,opt,name=safe_summary,json=safeSummary,proto3,oneof" json:"safe_summary,omitempty"`
	RoleHint              *string                `protobuf:"bytes,13,opt,name=role_hint,json=roleHint,proto3,oneof" json:"role_hint,omitempty"`
	StageHint             *string                `protobuf:"bytes,14,opt,name=stage_hint,json=stageHint,proto3,oneof" json:"stage_hint,omitempty"`
	GovernanceContext     *GovernanceContextRef  `protobuf:"bytes,15,opt,name=governance_context,json=governanceContext,proto3" json:"governance_context,omitempty"`
	unknownFields         protoimpl.UnknownFields
	sizeCache             protoimpl.SizeCache
}

func (x *CreateFollowUpIntentRequest) Reset() {
	*x = CreateFollowUpIntentRequest{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[71]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *CreateFollowUpIntentRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*CreateFollowUpIntentRequest) ProtoMessage() {}

func (x *CreateFollowUpIntentRequest) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[71]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use CreateFollowUpIntentRequest.ProtoReflect.Descriptor instead.
func (*CreateFollowUpIntentRequest) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{71}
}

func (x *CreateFollowUpIntentRequest) GetMeta() *CommandMeta {
	if x != nil {
		return x.Meta
	}
	return nil
}

func (x *CreateFollowUpIntentRequest) GetSessionId() string {
	if x != nil {
		return x.SessionId
	}
	return ""
}

func (x *CreateFollowUpIntentRequest) GetFromStageId() string {
	if x != nil && x.FromStageId != nil {
		return *x.FromStageId
	}
	return ""
}

func (x *CreateFollowUpIntentRequest) GetToStageId() string {
	if x != nil && x.ToStageId != nil {
		return *x.ToStageId
	}
	return ""
}

func (x *CreateFollowUpIntentRequest) GetProviderWorkItemType() string {
	if x != nil {
		return x.ProviderWorkItemType
	}
	return ""
}

func (x *CreateFollowUpIntentRequest) GetProviderOperationRef() string {
	if x != nil && x.ProviderOperationRef != nil {
		return *x.ProviderOperationRef
	}
	return ""
}

func (x *CreateFollowUpIntentRequest) GetInstructionBodyDigest() string {
	if x != nil && x.InstructionBodyDigest != nil {
		return *x.InstructionBodyDigest
	}
	return ""
}

func (x *CreateFollowUpIntentRequest) GetRunId() string {
	if x != nil && x.RunId != nil {
		return *x.RunId
	}
	return ""
}

func (x *CreateFollowUpIntentRequest) GetAcceptanceResultId() string {
	if x != nil && x.AcceptanceResultId != nil {
		return *x.AcceptanceResultId
	}
	return ""
}

func (x *CreateFollowUpIntentRequest) GetProviderTarget() *ProviderTargetRef {
	if x != nil {
		return x.ProviderTarget
	}
	return nil
}

func (x *CreateFollowUpIntentRequest) GetSafeTitle() string {
	if x != nil && x.SafeTitle != nil {
		return *x.SafeTitle
	}
	return ""
}

func (x *CreateFollowUpIntentRequest) GetSafeSummary() string {
	if x != nil && x.SafeSummary != nil {
		return *x.SafeSummary
	}
	return ""
}

func (x *CreateFollowUpIntentRequest) GetRoleHint() string {
	if x != nil && x.RoleHint != nil {
		return *x.RoleHint
	}
	return ""
}

func (x *CreateFollowUpIntentRequest) GetStageHint() string {
	if x != nil && x.StageHint != nil {
		return *x.StageHint
	}
	return ""
}

func (x *CreateFollowUpIntentRequest) GetGovernanceContext() *GovernanceContextRef {
	if x != nil {
		return x.GovernanceContext
	}
	return nil
}

type DispatchFollowUpIntentRequest struct {
	state                  protoimpl.MessageState              `protogen:"open.v1"`
	Meta                   *CommandMeta                        `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	FollowUpIntentId       string                              `protobuf:"bytes,2,opt,name=follow_up_intent_id,json=followUpIntentId,proto3" json:"follow_up_intent_id,omitempty"`
	DispatchKind           FollowUpDispatchKind                `protobuf:"varint,3,opt,name=dispatch_kind,json=dispatchKind,proto3,enum=kodex.agents.v1.FollowUpDispatchKind" json:"dispatch_kind,omitempty"`
	OperationPolicyContext *v11.ProviderOperationPolicyContext `protobuf:"bytes,4,opt,name=operation_policy_context,json=operationPolicyContext,proto3" json:"operation_policy_context,omitempty"`
	ApprovalGateRef        *v11.ApprovalGateReference          `protobuf:"bytes,5,opt,name=approval_gate_ref,json=approvalGateRef,proto3" json:"approval_gate_ref,omitempty"`
	// Types that are valid to be assigned to Command:
	//
	//	*DispatchFollowUpIntentRequest_CreateIssue
	//	*DispatchFollowUpIntentRequest_UpdateIssue
	//	*DispatchFollowUpIntentRequest_CreateComment
	//	*DispatchFollowUpIntentRequest_UpdateComment
	//	*DispatchFollowUpIntentRequest_UpdatePullRequest
	//	*DispatchFollowUpIntentRequest_CreateReviewSignal
	Command       isDispatchFollowUpIntentRequest_Command `protobuf_oneof:"command"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *DispatchFollowUpIntentRequest) Reset() {
	*x = DispatchFollowUpIntentRequest{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[72]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *DispatchFollowUpIntentRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*DispatchFollowUpIntentRequest) ProtoMessage() {}

func (x *DispatchFollowUpIntentRequest) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[72]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use DispatchFollowUpIntentRequest.ProtoReflect.Descriptor instead.
func (*DispatchFollowUpIntentRequest) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{72}
}

func (x *DispatchFollowUpIntentRequest) GetMeta() *CommandMeta {
	if x != nil {
		return x.Meta
	}
	return nil
}

func (x *DispatchFollowUpIntentRequest) GetFollowUpIntentId() string {
	if x != nil {
		return x.FollowUpIntentId
	}
	return ""
}

func (x *DispatchFollowUpIntentRequest) GetDispatchKind() FollowUpDispatchKind {
	if x != nil {
		return x.DispatchKind
	}
	return FollowUpDispatchKind_FOLLOW_UP_DISPATCH_KIND_UNSPECIFIED
}

func (x *DispatchFollowUpIntentRequest) GetOperationPolicyContext() *v11.ProviderOperationPolicyContext {
	if x != nil {
		return x.OperationPolicyContext
	}
	return nil
}

func (x *DispatchFollowUpIntentRequest) GetApprovalGateRef() *v11.ApprovalGateReference {
	if x != nil {
		return x.ApprovalGateRef
	}
	return nil
}

func (x *DispatchFollowUpIntentRequest) GetCommand() isDispatchFollowUpIntentRequest_Command {
	if x != nil {
		return x.Command
	}
	return nil
}

func (x *DispatchFollowUpIntentRequest) GetCreateIssue() *FollowUpCreateIssueCommand {
	if x != nil {
		if x, ok := x.Command.(*DispatchFollowUpIntentRequest_CreateIssue); ok {
			return x.CreateIssue
		}
	}
	return nil
}

func (x *DispatchFollowUpIntentRequest) GetUpdateIssue() *FollowUpUpdateIssueCommand {
	if x != nil {
		if x, ok := x.Command.(*DispatchFollowUpIntentRequest_UpdateIssue); ok {
			return x.UpdateIssue
		}
	}
	return nil
}

func (x *DispatchFollowUpIntentRequest) GetCreateComment() *FollowUpCreateCommentCommand {
	if x != nil {
		if x, ok := x.Command.(*DispatchFollowUpIntentRequest_CreateComment); ok {
			return x.CreateComment
		}
	}
	return nil
}

func (x *DispatchFollowUpIntentRequest) GetUpdateComment() *FollowUpUpdateCommentCommand {
	if x != nil {
		if x, ok := x.Command.(*DispatchFollowUpIntentRequest_UpdateComment); ok {
			return x.UpdateComment
		}
	}
	return nil
}

func (x *DispatchFollowUpIntentRequest) GetUpdatePullRequest() *FollowUpUpdatePullRequestCommand {
	if x != nil {
		if x, ok := x.Command.(*DispatchFollowUpIntentRequest_UpdatePullRequest); ok {
			return x.UpdatePullRequest
		}
	}
	return nil
}

func (x *DispatchFollowUpIntentRequest) GetCreateReviewSignal() *FollowUpCreateReviewSignalCommand {
	if x != nil {
		if x, ok := x.Command.(*DispatchFollowUpIntentRequest_CreateReviewSignal); ok {
			return x.CreateReviewSignal
		}
	}
	return nil
}

type isDispatchFollowUpIntentRequest_Command interface {
	isDispatchFollowUpIntentRequest_Command()
}

type DispatchFollowUpIntentRequest_CreateIssue struct {
	CreateIssue *FollowUpCreateIssueCommand `protobuf:"bytes,10,opt,name=create_issue,json=createIssue,proto3,oneof"`
}

type DispatchFollowUpIntentRequest_UpdateIssue struct {
	UpdateIssue *FollowUpUpdateIssueCommand `protobuf:"bytes,11,opt,name=update_issue,json=updateIssue,proto3,oneof"`
}

type DispatchFollowUpIntentRequest_CreateComment struct {
	CreateComment *FollowUpCreateCommentCommand `protobuf:"bytes,12,opt,name=create_comment,json=createComment,proto3,oneof"`
}

type DispatchFollowUpIntentRequest_UpdateComment struct {
	UpdateComment *FollowUpUpdateCommentCommand `protobuf:"bytes,13,opt,name=update_comment,json=updateComment,proto3,oneof"`
}

type DispatchFollowUpIntentRequest_UpdatePullRequest struct {
	UpdatePullRequest *FollowUpUpdatePullRequestCommand `protobuf:"bytes,14,opt,name=update_pull_request,json=updatePullRequest,proto3,oneof"`
}

type DispatchFollowUpIntentRequest_CreateReviewSignal struct {
	CreateReviewSignal *FollowUpCreateReviewSignalCommand `protobuf:"bytes,15,opt,name=create_review_signal,json=createReviewSignal,proto3,oneof"`
}

func (*DispatchFollowUpIntentRequest_CreateIssue) isDispatchFollowUpIntentRequest_Command() {}

func (*DispatchFollowUpIntentRequest_UpdateIssue) isDispatchFollowUpIntentRequest_Command() {}

func (*DispatchFollowUpIntentRequest_CreateComment) isDispatchFollowUpIntentRequest_Command() {}

func (*DispatchFollowUpIntentRequest_UpdateComment) isDispatchFollowUpIntentRequest_Command() {}

func (*DispatchFollowUpIntentRequest_UpdatePullRequest) isDispatchFollowUpIntentRequest_Command() {}

func (*DispatchFollowUpIntentRequest_CreateReviewSignal) isDispatchFollowUpIntentRequest_Command() {}

type FollowUpCreateIssueCommand struct {
	state                  protoimpl.MessageState `protogen:"open.v1"`
	ProjectId              string                 `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	RepositoryId           string                 `protobuf:"bytes,2,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"`
	ProviderSlug           string                 `protobuf:"bytes,3,opt,name=provider_slug,json=providerSlug,proto3" json:"provider_slug,omitempty"`
	ExternalAccountId      string                 `protobuf:"bytes,4,opt,name=external_account_id,json=externalAccountId,proto3" json:"external_account_id,omitempty"`
	RepositoryTarget       *v11.ProviderTarget    `protobuf:"bytes,5,opt,name=repository_target,json=repositoryTarget,proto3" json:"repository_target,omitempty"`
	SafeBodyHint           *string                `protobuf:"bytes,6,opt,name=safe_body_hint,json=safeBodyHint,proto3,oneof" json:"safe_body_hint,omitempty"`
	Labels                 []string               `protobuf:"bytes,7,rep,name=labels,proto3" json:"labels,omitempty"`
	AssigneeProviderLogins []string               `protobuf:"bytes,8,rep,name=assignee_provider_logins,json=assigneeProviderLogins,proto3" json:"assignee_provider_logins,omitempty"`
	Milestone              *string                `protobuf:"bytes,9,opt,name=milestone,proto3,oneof" json:"milestone,omitempty"`
	WatermarkJson          *string                `protobuf:"bytes,10,opt,name=watermark_json,json=watermarkJson,proto3,oneof" json:"watermark_json,omitempty"`
	unknownFields          protoimpl.UnknownFields
	sizeCache              protoimpl.SizeCache
}

func (x *FollowUpCreateIssueCommand) Reset() {
	*x = FollowUpCreateIssueCommand{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[73]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *FollowUpCreateIssueCommand) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*FollowUpCreateIssueCommand) ProtoMessage() {}

func (x *FollowUpCreateIssueCommand) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[73]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use FollowUpCreateIssueCommand.ProtoReflect.Descriptor instead.
func (*FollowUpCreateIssueCommand) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{73}
}

func (x *FollowUpCreateIssueCommand) GetProjectId() string {
	if x != nil {
		return x.ProjectId
	}
	return ""
}

func (x *FollowUpCreateIssueCommand) GetRepositoryId() string {
	if x != nil {
		return x.RepositoryId
	}
	return ""
}

func (x *FollowUpCreateIssueCommand) GetProviderSlug() string {
	if x != nil {
		return x.ProviderSlug
	}
	return ""
}

func (x *FollowUpCreateIssueCommand) GetExternalAccountId() string {
	if x != nil {
		return x.ExternalAccountId
	}
	return ""
}

func (x *FollowUpCreateIssueCommand) GetRepositoryTarget() *v11.ProviderTarget {
	if x != nil {
		return x.RepositoryTarget
	}
	return nil
}

func (x *FollowUpCreateIssueCommand) GetSafeBodyHint() string {
	if x != nil && x.SafeBodyHint != nil {
		return *x.SafeBodyHint
	}
	return ""
}

func (x *FollowUpCreateIssueCommand) GetLabels() []string {
	if x != nil {
		return x.Labels
	}
	return nil
}

func (x *FollowUpCreateIssueCommand) GetAssigneeProviderLogins() []string {
	if x != nil {
		return x.AssigneeProviderLogins
	}
	return nil
}

func (x *FollowUpCreateIssueCommand) GetMilestone() string {
	if x != nil && x.Milestone != nil {
		return *x.Milestone
	}
	return ""
}

func (x *FollowUpCreateIssueCommand) GetWatermarkJson() string {
	if x != nil && x.WatermarkJson != nil {
		return *x.WatermarkJson
	}
	return ""
}

type FollowUpUpdateIssueCommand struct {
	state                   protoimpl.MessageState `protogen:"open.v1"`
	ExternalAccountId       string                 `protobuf:"bytes,1,opt,name=external_account_id,json=externalAccountId,proto3" json:"external_account_id,omitempty"`
	Target                  *v11.ProviderTarget    `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
	SafeTitle               *string                `protobuf:"bytes,3,opt,name=safe_title,json=safeTitle,proto3,oneof" json:"safe_title,omitempty"`
	SafeBodyHint            *string                `protobuf:"bytes,4,opt,name=safe_body_hint,json=safeBodyHint,proto3,oneof" json:"safe_body_hint,omitempty"`
	Labels                  *v11.StringListPatch   `protobuf:"bytes,5,opt,name=labels,proto3" json:"labels,omitempty"`
	AssigneeProviderLogins  *v11.StringListPatch   `protobuf:"bytes,6,opt,name=assignee_provider_logins,json=assigneeProviderLogins,proto3" json:"assignee_provider_logins,omitempty"`
	Milestone               *string                `protobuf:"bytes,7,opt,name=milestone,proto3,oneof" json:"milestone,omitempty"`
	State                   *string                `protobuf:"bytes,8,opt,name=state,proto3,oneof" json:"state,omitempty"`
	ProviderWorkItemType    *string                `protobuf:"bytes,9,opt,name=provider_work_item_type,json=providerWorkItemType,proto3,oneof" json:"provider_work_item_type,omitempty"`
	WatermarkJson           *string                `protobuf:"bytes,10,opt,name=watermark_json,json=watermarkJson,proto3,oneof" json:"watermark_json,omitempty"`
	ExpectedProviderVersion *string                `protobuf:"bytes,11,opt,name=expected_provider_version,json=expectedProviderVersion,proto3,oneof" json:"expected_provider_version,omitempty"`
	unknownFields           protoimpl.UnknownFields
	sizeCache               protoimpl.SizeCache
}

func (x *FollowUpUpdateIssueCommand) Reset() {
	*x = FollowUpUpdateIssueCommand{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[74]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *FollowUpUpdateIssueCommand) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*FollowUpUpdateIssueCommand) ProtoMessage() {}

func (x *FollowUpUpdateIssueCommand) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[74]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use FollowUpUpdateIssueCommand.ProtoReflect.Descriptor instead.
func (*FollowUpUpdateIssueCommand) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{74}
}

func (x *FollowUpUpdateIssueCommand) GetExternalAccountId() string {
	if x != nil {
		return x.ExternalAccountId
	}
	return ""
}

func (x *FollowUpUpdateIssueCommand) GetTarget() *v11.ProviderTarget {
	if x != nil {
		return x.Target
	}
	return nil
}

func (x *FollowUpUpdateIssueCommand) GetSafeTitle() string {
	if x != nil && x.SafeTitle != nil {
		return *x.SafeTitle
	}
	return ""
}

func (x *FollowUpUpdateIssueCommand) GetSafeBodyHint() string {
	if x != nil && x.SafeBodyHint != nil {
		return *x.SafeBodyHint
	}
	return ""
}

func (x *FollowUpUpdateIssueCommand) GetLabels() *v11.StringListPatch {
	if x != nil {
		return x.Labels
	}
	return nil
}

func (x *FollowUpUpdateIssueCommand) GetAssigneeProviderLogins() *v11.StringListPatch {
	if x != nil {
		return x.AssigneeProviderLogins
	}
	return nil
}

func (x *FollowUpUpdateIssueCommand) GetMilestone() string {
	if x != nil && x.Milestone != nil {
		return *x.Milestone
	}
	return ""
}

func (x *FollowUpUpdateIssueCommand) GetState() string {
	if x != nil && x.State != nil {
		return *x.State
	}
	return ""
}

func (x *FollowUpUpdateIssueCommand) GetProviderWorkItemType() string {
	if x != nil && x.ProviderWorkItemType != nil {
		return *x.ProviderWorkItemType
	}
	return ""
}

func (x *FollowUpUpdateIssueCommand) GetWatermarkJson() string {
	if x != nil && x.WatermarkJson != nil {
		return *x.WatermarkJson
	}
	return ""
}

func (x *FollowUpUpdateIssueCommand) GetExpectedProviderVersion() string {
	if x != nil && x.ExpectedProviderVersion != nil {
		return *x.ExpectedProviderVersion
	}
	return ""
}

type FollowUpCreateCommentCommand struct {
	state             protoimpl.MessageState `protogen:"open.v1"`
	ExternalAccountId string                 `protobuf:"bytes,1,opt,name=external_account_id,json=externalAccountId,proto3" json:"external_account_id,omitempty"`
	Target            *v11.ProviderTarget    `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
	SafeBodyHint      string                 `protobuf:"bytes,3,opt,name=safe_body_hint,json=safeBodyHint,proto3" json:"safe_body_hint,omitempty"`
	unknownFields     protoimpl.UnknownFields
	sizeCache         protoimpl.SizeCache
}

func (x *FollowUpCreateCommentCommand) Reset() {
	*x = FollowUpCreateCommentCommand{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[75]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *FollowUpCreateCommentCommand) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*FollowUpCreateCommentCommand) ProtoMessage() {}

func (x *FollowUpCreateCommentCommand) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[75]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use FollowUpCreateCommentCommand.ProtoReflect.Descriptor instead.
func (*FollowUpCreateCommentCommand) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{75}
}

func (x *FollowUpCreateCommentCommand) GetExternalAccountId() string {
	if x != nil {
		return x.ExternalAccountId
	}
	return ""
}

func (x *FollowUpCreateCommentCommand) GetTarget() *v11.ProviderTarget {
	if x != nil {
		return x.Target
	}
	return nil
}

func (x *FollowUpCreateCommentCommand) GetSafeBodyHint() string {
	if x != nil {
		return x.SafeBodyHint
	}
	return ""
}

type FollowUpUpdateCommentCommand struct {
	state                   protoimpl.MessageState `protogen:"open.v1"`
	ExternalAccountId       string                 `protobuf:"bytes,1,opt,name=external_account_id,json=externalAccountId,proto3" json:"external_account_id,omitempty"`
	Target                  *v11.ProviderTarget    `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
	ProviderCommentId       string                 `protobuf:"bytes,3,opt,name=provider_comment_id,json=providerCommentId,proto3" json:"provider_comment_id,omitempty"`
	SafeBodyHint            string                 `protobuf:"bytes,4,opt,name=safe_body_hint,json=safeBodyHint,proto3" json:"safe_body_hint,omitempty"`
	ExpectedProviderVersion *string                `protobuf:"bytes,5,opt,name=expected_provider_version,json=expectedProviderVersion,proto3,oneof" json:"expected_provider_version,omitempty"`
	unknownFields           protoimpl.UnknownFields
	sizeCache               protoimpl.SizeCache
}

func (x *FollowUpUpdateCommentCommand) Reset() {
	*x = FollowUpUpdateCommentCommand{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[76]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *FollowUpUpdateCommentCommand) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*FollowUpUpdateCommentCommand) ProtoMessage() {}

func (x *FollowUpUpdateCommentCommand) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[76]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use FollowUpUpdateCommentCommand.ProtoReflect.Descriptor instead.
func (*FollowUpUpdateCommentCommand) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{76}
}

func (x *FollowUpUpdateCommentCommand) GetExternalAccountId() string {
	if x != nil {
		return x.ExternalAccountId
	}
	return ""
}

func (x *FollowUpUpdateCommentCommand) GetTarget() *v11.ProviderTarget {
	if x != nil {
		return x.Target
	}
	return nil
}

func (x *FollowUpUpdateCommentCommand) GetProviderCommentId() string {
	if x != nil {
		return x.ProviderCommentId
	}
	return ""
}

func (x *FollowUpUpdateCommentCommand) GetSafeBodyHint() string {
	if x != nil {
		return x.SafeBodyHint
	}
	return ""
}

func (x *FollowUpUpdateCommentCommand) GetExpectedProviderVersion() string {
	if x != nil && x.ExpectedProviderVersion != nil {
		return *x.ExpectedProviderVersion
	}
	return ""
}

type FollowUpUpdatePullRequestCommand struct {
	state                   protoimpl.MessageState `protogen:"open.v1"`
	ExternalAccountId       string                 `protobuf:"bytes,1,opt,name=external_account_id,json=externalAccountId,proto3" json:"external_account_id,omitempty"`
	Target                  *v11.ProviderTarget    `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
	SafeTitle               *string                `protobuf:"bytes,3,opt,name=safe_title,json=safeTitle,proto3,oneof" json:"safe_title,omitempty"`
	SafeBodyHint            *string                `protobuf:"bytes,4,opt,name=safe_body_hint,json=safeBodyHint,proto3,oneof" json:"safe_body_hint,omitempty"`
	Labels                  *v11.StringListPatch   `protobuf:"bytes,5,opt,name=labels,proto3" json:"labels,omitempty"`
	AssigneeProviderLogins  *v11.StringListPatch   `protobuf:"bytes,6,opt,name=assignee_provider_logins,json=assigneeProviderLogins,proto3" json:"assignee_provider_logins,omitempty"`
	Milestone               *string                `protobuf:"bytes,7,opt,name=milestone,proto3,oneof" json:"milestone,omitempty"`
	State                   *string                `protobuf:"bytes,8,opt,name=state,proto3,oneof" json:"state,omitempty"`
	BaseBranch              *string                `protobuf:"bytes,9,opt,name=base_branch,json=baseBranch,proto3,oneof" json:"base_branch,omitempty"`
	MaintainerCanModify     *bool                  `protobuf:"varint,10,opt,name=maintainer_can_modify,json=maintainerCanModify,proto3,oneof" json:"maintainer_can_modify,omitempty"`
	WatermarkJson           *string                `protobuf:"bytes,11,opt,name=watermark_json,json=watermarkJson,proto3,oneof" json:"watermark_json,omitempty"`
	ExpectedProviderVersion string                 `protobuf:"bytes,12,opt,name=expected_provider_version,json=expectedProviderVersion,proto3" json:"expected_provider_version,omitempty"`
	unknownFields           protoimpl.UnknownFields
	sizeCache               protoimpl.SizeCache
}

func (x *FollowUpUpdatePullRequestCommand) Reset() {
	*x = FollowUpUpdatePullRequestCommand{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[77]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *FollowUpUpdatePullRequestCommand) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*FollowUpUpdatePullRequestCommand) ProtoMessage() {}

func (x *FollowUpUpdatePullRequestCommand) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[77]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use FollowUpUpdatePullRequestCommand.ProtoReflect.Descriptor instead.
func (*FollowUpUpdatePullRequestCommand) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{77}
}

func (x *FollowUpUpdatePullRequestCommand) GetExternalAccountId() string {
	if x != nil {
		return x.ExternalAccountId
	}
	return ""
}

func (x *FollowUpUpdatePullRequestCommand) GetTarget() *v11.ProviderTarget {
	if x != nil {
		return x.Target
	}
	return nil
}

func (x *FollowUpUpdatePullRequestCommand) GetSafeTitle() string {
	if x != nil && x.SafeTitle != nil {
		return *x.SafeTitle
	}
	return ""
}

func (x *FollowUpUpdatePullRequestCommand) GetSafeBodyHint() string {
	if x != nil && x.SafeBodyHint != nil {
		return *x.SafeBodyHint
	}
	return ""
}

func (x *FollowUpUpdatePullRequestCommand) GetLabels() *v11.StringListPatch {
	if x != nil {
		return x.Labels
	}
	return nil
}

func (x *FollowUpUpdatePullRequestCommand) GetAssigneeProviderLogins() *v11.StringListPatch {
	if x != nil {
		return x.AssigneeProviderLogins
	}
	return nil
}

func (x *FollowUpUpdatePullRequestCommand) GetMilestone() string {
	if x != nil && x.Milestone != nil {
		return *x.Milestone
	}
	return ""
}

func (x *FollowUpUpdatePullRequestCommand) GetState() string {
	if x != nil && x.State != nil {
		return *x.State
	}
	return ""
}

func (x *FollowUpUpdatePullRequestCommand) GetBaseBranch() string {
	if x != nil && x.BaseBranch != nil {
		return *x.BaseBranch
	}
	return ""
}

func (x *FollowUpUpdatePullRequestCommand) GetMaintainerCanModify() bool {
	if x != nil && x.MaintainerCanModify != nil {
		return *x.MaintainerCanModify
	}
	return false
}

func (x *FollowUpUpdatePullRequestCommand) GetWatermarkJson() string {
	if x != nil && x.WatermarkJson != nil {
		return *x.WatermarkJson
	}
	return ""
}

func (x *FollowUpUpdatePullRequestCommand) GetExpectedProviderVersion() string {
	if x != nil {
		return x.ExpectedProviderVersion
	}
	return ""
}

type FollowUpCreateReviewSignalCommand struct {
	state             protoimpl.MessageState     `protogen:"open.v1"`
	ExternalAccountId string                     `protobuf:"bytes,1,opt,name=external_account_id,json=externalAccountId,proto3" json:"external_account_id,omitempty"`
	Target            *v11.ProviderTarget        `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
	Kind              v11.ReviewSignalKind       `protobuf:"varint,3,opt,name=kind,proto3,enum=kodex.providers.v1.ReviewSignalKind" json:"kind,omitempty"`
	SafeBodyHint      *string                    `protobuf:"bytes,4,opt,name=safe_body_hint,json=safeBodyHint,proto3,oneof" json:"safe_body_hint,omitempty"`
	InlineComments    []*v11.ReviewInlineComment `protobuf:"bytes,5,rep,name=inline_comments,json=inlineComments,proto3" json:"inline_comments,omitempty"`
	unknownFields     protoimpl.UnknownFields
	sizeCache         protoimpl.SizeCache
}

func (x *FollowUpCreateReviewSignalCommand) Reset() {
	*x = FollowUpCreateReviewSignalCommand{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[78]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *FollowUpCreateReviewSignalCommand) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*FollowUpCreateReviewSignalCommand) ProtoMessage() {}

func (x *FollowUpCreateReviewSignalCommand) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[78]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use FollowUpCreateReviewSignalCommand.ProtoReflect.Descriptor instead.
func (*FollowUpCreateReviewSignalCommand) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{78}
}

func (x *FollowUpCreateReviewSignalCommand) GetExternalAccountId() string {
	if x != nil {
		return x.ExternalAccountId
	}
	return ""
}

func (x *FollowUpCreateReviewSignalCommand) GetTarget() *v11.ProviderTarget {
	if x != nil {
		return x.Target
	}
	return nil
}

func (x *FollowUpCreateReviewSignalCommand) GetKind() v11.ReviewSignalKind {
	if x != nil {
		return x.Kind
	}
	return v11.ReviewSignalKind(0)
}

func (x *FollowUpCreateReviewSignalCommand) GetSafeBodyHint() string {
	if x != nil && x.SafeBodyHint != nil {
		return *x.SafeBodyHint
	}
	return ""
}

func (x *FollowUpCreateReviewSignalCommand) GetInlineComments() []*v11.ReviewInlineComment {
	if x != nil {
		return x.InlineComments
	}
	return nil
}

type RecordAgentActivityRequest struct {
	state           protoimpl.MessageState `protogen:"open.v1"`
	Meta            *CommandMeta           `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	SessionId       string                 `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	RunId           *string                `protobuf:"bytes,3,opt,name=run_id,json=runId,proto3,oneof" json:"run_id,omitempty"`
	TurnId          *string                `protobuf:"bytes,4,opt,name=turn_id,json=turnId,proto3,oneof" json:"turn_id,omitempty"`
	ToolUseId       *string                `protobuf:"bytes,5,opt,name=tool_use_id,json=toolUseId,proto3,oneof" json:"tool_use_id,omitempty"`
	ActivityKind    AgentActivityKind      `protobuf:"varint,6,opt,name=activity_kind,json=activityKind,proto3,enum=kodex.agents.v1.AgentActivityKind" json:"activity_kind,omitempty"`
	ToolName        *string                `protobuf:"bytes,7,opt,name=tool_name,json=toolName,proto3,oneof" json:"tool_name,omitempty"`
	ToolCategory    *string                `protobuf:"bytes,8,opt,name=tool_category,json=toolCategory,proto3,oneof" json:"tool_category,omitempty"`
	Status          AgentActivityStatus    `protobuf:"varint,9,opt,name=status,proto3,enum=kodex.agents.v1.AgentActivityStatus" json:"status,omitempty"`
	StartedAt       *string                `protobuf:"bytes,10,opt,name=started_at,json=startedAt,proto3,oneof" json:"started_at,omitempty"`
	FinishedAt      *string                `protobuf:"bytes,11,opt,name=finished_at,json=finishedAt,proto3,oneof" json:"finished_at,omitempty"`
	DurationMs      *int64                 `protobuf:"varint,12,opt,name=duration_ms,json=durationMs,proto3,oneof" json:"duration_ms,omitempty"`
	SafeSummary     *string                `protobuf:"bytes,13,opt,name=safe_summary,json=safeSummary,proto3,oneof" json:"safe_summary,omitempty"`
	PayloadDigest   *string                `protobuf:"bytes,14,opt,name=payload_digest,json=payloadDigest,proto3,oneof" json:"payload_digest,omitempty"`
	BoundedError    *string                `protobuf:"bytes,15,opt,name=bounded_error,json=boundedError,proto3,oneof" json:"bounded_error,omitempty"`
	SafeRefsJson    string                 `protobuf:"bytes,16,opt,name=safe_refs_json,json=safeRefsJson,proto3" json:"safe_refs_json,omitempty"`
	SafeDetailsJson string                 `protobuf:"bytes,17,opt,name=safe_details_json,json=safeDetailsJson,proto3" json:"safe_details_json,omitempty"`
	CorrelationId   *string                `protobuf:"bytes,18,opt,name=correlation_id,json=correlationId,proto3,oneof" json:"correlation_id,omitempty"`
	unknownFields   protoimpl.UnknownFields
	sizeCache       protoimpl.SizeCache
}

func (x *RecordAgentActivityRequest) Reset() {
	*x = RecordAgentActivityRequest{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[79]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *RecordAgentActivityRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*RecordAgentActivityRequest) ProtoMessage() {}

func (x *RecordAgentActivityRequest) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[79]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use RecordAgentActivityRequest.ProtoReflect.Descriptor instead.
func (*RecordAgentActivityRequest) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{79}
}

func (x *RecordAgentActivityRequest) GetMeta() *CommandMeta {
	if x != nil {
		return x.Meta
	}
	return nil
}

func (x *RecordAgentActivityRequest) GetSessionId() string {
	if x != nil {
		return x.SessionId
	}
	return ""
}

func (x *RecordAgentActivityRequest) GetRunId() string {
	if x != nil && x.RunId != nil {
		return *x.RunId
	}
	return ""
}

func (x *RecordAgentActivityRequest) GetTurnId() string {
	if x != nil && x.TurnId != nil {
		return *x.TurnId
	}
	return ""
}

func (x *RecordAgentActivityRequest) GetToolUseId() string {
	if x != nil && x.ToolUseId != nil {
		return *x.ToolUseId
	}
	return ""
}

func (x *RecordAgentActivityRequest) GetActivityKind() AgentActivityKind {
	if x != nil {
		return x.ActivityKind
	}
	return AgentActivityKind_AGENT_ACTIVITY_KIND_UNSPECIFIED
}

func (x *RecordAgentActivityRequest) GetToolName() string {
	if x != nil && x.ToolName != nil {
		return *x.ToolName
	}
	return ""
}

func (x *RecordAgentActivityRequest) GetToolCategory() string {
	if x != nil && x.ToolCategory != nil {
		return *x.ToolCategory
	}
	return ""
}

func (x *RecordAgentActivityRequest) GetStatus() AgentActivityStatus {
	if x != nil {
		return x.Status
	}
	return AgentActivityStatus_AGENT_ACTIVITY_STATUS_UNSPECIFIED
}

func (x *RecordAgentActivityRequest) GetStartedAt() string {
	if x != nil && x.StartedAt != nil {
		return *x.StartedAt
	}
	return ""
}

func (x *RecordAgentActivityRequest) GetFinishedAt() string {
	if x != nil && x.FinishedAt != nil {
		return *x.FinishedAt
	}
	return ""
}

func (x *RecordAgentActivityRequest) GetDurationMs() int64 {
	if x != nil && x.DurationMs != nil {
		return *x.DurationMs
	}
	return 0
}

func (x *RecordAgentActivityRequest) GetSafeSummary() string {
	if x != nil && x.SafeSummary != nil {
		return *x.SafeSummary
	}
	return ""
}

func (x *RecordAgentActivityRequest) GetPayloadDigest() string {
	if x != nil && x.PayloadDigest != nil {
		return *x.PayloadDigest
	}
	return ""
}

func (x *RecordAgentActivityRequest) GetBoundedError() string {
	if x != nil && x.BoundedError != nil {
		return *x.BoundedError
	}
	return ""
}

func (x *RecordAgentActivityRequest) GetSafeRefsJson() string {
	if x != nil {
		return x.SafeRefsJson
	}
	return ""
}

func (x *RecordAgentActivityRequest) GetSafeDetailsJson() string {
	if x != nil {
		return x.SafeDetailsJson
	}
	return ""
}

func (x *RecordAgentActivityRequest) GetCorrelationId() string {
	if x != nil && x.CorrelationId != nil {
		return *x.CorrelationId
	}
	return ""
}

type ListAgentActivitiesRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Meta          *QueryMeta             `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	SessionId     *string                `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3,oneof" json:"session_id,omitempty"`
	RunId         *string                `protobuf:"bytes,3,opt,name=run_id,json=runId,proto3,oneof" json:"run_id,omitempty"`
	ActivityKind  *AgentActivityKind     `protobuf:"varint,4,opt,name=activity_kind,json=activityKind,proto3,enum=kodex.agents.v1.AgentActivityKind,oneof" json:"activity_kind,omitempty"`
	Status        *AgentActivityStatus   `protobuf:"varint,5,opt,name=status,proto3,enum=kodex.agents.v1.AgentActivityStatus,oneof" json:"status,omitempty"`
	Page          *PageRequest           `protobuf:"bytes,6,opt,name=page,proto3" json:"page,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListAgentActivitiesRequest) Reset() {
	*x = ListAgentActivitiesRequest{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[80]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListAgentActivitiesRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListAgentActivitiesRequest) ProtoMessage() {}

func (x *ListAgentActivitiesRequest) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[80]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListAgentActivitiesRequest.ProtoReflect.Descriptor instead.
func (*ListAgentActivitiesRequest) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{80}
}

func (x *ListAgentActivitiesRequest) GetMeta() *QueryMeta {
	if x != nil {
		return x.Meta
	}
	return nil
}

func (x *ListAgentActivitiesRequest) GetSessionId() string {
	if x != nil && x.SessionId != nil {
		return *x.SessionId
	}
	return ""
}

func (x *ListAgentActivitiesRequest) GetRunId() string {
	if x != nil && x.RunId != nil {
		return *x.RunId
	}
	return ""
}

func (x *ListAgentActivitiesRequest) GetActivityKind() AgentActivityKind {
	if x != nil && x.ActivityKind != nil {
		return *x.ActivityKind
	}
	return AgentActivityKind_AGENT_ACTIVITY_KIND_UNSPECIFIED
}

func (x *ListAgentActivitiesRequest) GetStatus() AgentActivityStatus {
	if x != nil && x.Status != nil {
		return *x.Status
	}
	return AgentActivityStatus_AGENT_ACTIVITY_STATUS_UNSPECIFIED
}

func (x *ListAgentActivitiesRequest) GetPage() *PageRequest {
	if x != nil {
		return x.Page
	}
	return nil
}

type RequestHumanGateRequest struct {
	state                    protoimpl.MessageState `protogen:"open.v1"`
	Meta                     *CommandMeta           `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	SessionId                string                 `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	RunId                    *string                `protobuf:"bytes,3,opt,name=run_id,json=runId,proto3,oneof" json:"run_id,omitempty"`
	StageId                  *string                `protobuf:"bytes,4,opt,name=stage_id,json=stageId,proto3,oneof" json:"stage_id,omitempty"`
	AcceptanceResultId       *string                `protobuf:"bytes,5,opt,name=acceptance_result_id,json=acceptanceResultId,proto3,oneof" json:"acceptance_result_id,omitempty"`
	ProviderTarget           *ProviderTargetRef     `protobuf:"bytes,6,opt,name=provider_target,json=providerTarget,proto3" json:"provider_target,omitempty"`
	TargetRef                *string                `protobuf:"bytes,7,opt,name=target_ref,json=targetRef,proto3,oneof" json:"target_ref,omitempty"`
	RequestKind              string                 `protobuf:"bytes,8,opt,name=request_kind,json=requestKind,proto3" json:"request_kind,omitempty"`
	ReasonCode               string                 `protobuf:"bytes,9,opt,name=reason_code,json=reasonCode,proto3" json:"reason_code,omitempty"`
	SafeSummary              *string                `protobuf:"bytes,10,opt,name=safe_summary,json=safeSummary,proto3,oneof" json:"safe_summary,omitempty"`
	InteractionRequestRef    *string                `protobuf:"bytes,11,opt,name=interaction_request_ref,json=interactionRequestRef,proto3,oneof" json:"interaction_request_ref,omitempty"`
	GovernanceGateRequestRef *string                `protobuf:"bytes,12,opt,name=governance_gate_request_ref,json=governanceGateRequestRef,proto3,oneof" json:"governance_gate_request_ref,omitempty"`
	GovernanceContext        *GovernanceContextRef  `protobuf:"bytes,13,opt,name=governance_context,json=governanceContext,proto3" json:"governance_context,omitempty"`
	unknownFields            protoimpl.UnknownFields
	sizeCache                protoimpl.SizeCache
}

func (x *RequestHumanGateRequest) Reset() {
	*x = RequestHumanGateRequest{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[81]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *RequestHumanGateRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*RequestHumanGateRequest) ProtoMessage() {}

func (x *RequestHumanGateRequest) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[81]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use RequestHumanGateRequest.ProtoReflect.Descriptor instead.
func (*RequestHumanGateRequest) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{81}
}

func (x *RequestHumanGateRequest) GetMeta() *CommandMeta {
	if x != nil {
		return x.Meta
	}
	return nil
}

func (x *RequestHumanGateRequest) GetSessionId() string {
	if x != nil {
		return x.SessionId
	}
	return ""
}

func (x *RequestHumanGateRequest) GetRunId() string {
	if x != nil && x.RunId != nil {
		return *x.RunId
	}
	return ""
}

func (x *RequestHumanGateRequest) GetStageId() string {
	if x != nil && x.StageId != nil {
		return *x.StageId
	}
	return ""
}

func (x *RequestHumanGateRequest) GetAcceptanceResultId() string {
	if x != nil && x.AcceptanceResultId != nil {
		return *x.AcceptanceResultId
	}
	return ""
}

func (x *RequestHumanGateRequest) GetProviderTarget() *ProviderTargetRef {
	if x != nil {
		return x.ProviderTarget
	}
	return nil
}

func (x *RequestHumanGateRequest) GetTargetRef() string {
	if x != nil && x.TargetRef != nil {
		return *x.TargetRef
	}
	return ""
}

func (x *RequestHumanGateRequest) GetRequestKind() string {
	if x != nil {
		return x.RequestKind
	}
	return ""
}

func (x *RequestHumanGateRequest) GetReasonCode() string {
	if x != nil {
		return x.ReasonCode
	}
	return ""
}

func (x *RequestHumanGateRequest) GetSafeSummary() string {
	if x != nil && x.SafeSummary != nil {
		return *x.SafeSummary
	}
	return ""
}

func (x *RequestHumanGateRequest) GetInteractionRequestRef() string {
	if x != nil && x.InteractionRequestRef != nil {
		return *x.InteractionRequestRef
	}
	return ""
}

func (x *RequestHumanGateRequest) GetGovernanceGateRequestRef() string {
	if x != nil && x.GovernanceGateRequestRef != nil {
		return *x.GovernanceGateRequestRef
	}
	return ""
}

func (x *RequestHumanGateRequest) GetGovernanceContext() *GovernanceContextRef {
	if x != nil {
		return x.GovernanceContext
	}
	return nil
}

type RecordHumanGateDecisionRequest struct {
	state                    protoimpl.MessageState `protogen:"open.v1"`
	Meta                     *CommandMeta           `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	HumanGateRequestId       string                 `protobuf:"bytes,2,opt,name=human_gate_request_id,json=humanGateRequestId,proto3" json:"human_gate_request_id,omitempty"`
	Status                   HumanGateStatus        `protobuf:"varint,3,opt,name=status,proto3,enum=kodex.agents.v1.HumanGateStatus" json:"status,omitempty"`
	Outcome                  HumanGateOutcome       `protobuf:"varint,4,opt,name=outcome,proto3,enum=kodex.agents.v1.HumanGateOutcome" json:"outcome,omitempty"`
	SafeSummary              *string                `protobuf:"bytes,5,opt,name=safe_summary,json=safeSummary,proto3,oneof" json:"safe_summary,omitempty"`
	InteractionRequestRef    *string                `protobuf:"bytes,6,opt,name=interaction_request_ref,json=interactionRequestRef,proto3,oneof" json:"interaction_request_ref,omitempty"`
	InteractionResponseRef   *string                `protobuf:"bytes,7,opt,name=interaction_response_ref,json=interactionResponseRef,proto3,oneof" json:"interaction_response_ref,omitempty"`
	GovernanceGateRequestRef *string                `protobuf:"bytes,8,opt,name=governance_gate_request_ref,json=governanceGateRequestRef,proto3,oneof" json:"governance_gate_request_ref,omitempty"`
	GovernanceDecisionRef    *string                `protobuf:"bytes,9,opt,name=governance_decision_ref,json=governanceDecisionRef,proto3,oneof" json:"governance_decision_ref,omitempty"`
	GovernanceContext        *GovernanceContextRef  `protobuf:"bytes,10,opt,name=governance_context,json=governanceContext,proto3" json:"governance_context,omitempty"`
	unknownFields            protoimpl.UnknownFields
	sizeCache                protoimpl.SizeCache
}

func (x *RecordHumanGateDecisionRequest) Reset() {
	*x = RecordHumanGateDecisionRequest{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[82]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *RecordHumanGateDecisionRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*RecordHumanGateDecisionRequest) ProtoMessage() {}

func (x *RecordHumanGateDecisionRequest) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[82]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use RecordHumanGateDecisionRequest.ProtoReflect.Descriptor instead.
func (*RecordHumanGateDecisionRequest) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{82}
}

func (x *RecordHumanGateDecisionRequest) GetMeta() *CommandMeta {
	if x != nil {
		return x.Meta
	}
	return nil
}

func (x *RecordHumanGateDecisionRequest) GetHumanGateRequestId() string {
	if x != nil {
		return x.HumanGateRequestId
	}
	return ""
}

func (x *RecordHumanGateDecisionRequest) GetStatus() HumanGateStatus {
	if x != nil {
		return x.Status
	}
	return HumanGateStatus_HUMAN_GATE_STATUS_UNSPECIFIED
}

func (x *RecordHumanGateDecisionRequest) GetOutcome() HumanGateOutcome {
	if x != nil {
		return x.Outcome
	}
	return HumanGateOutcome_HUMAN_GATE_OUTCOME_UNSPECIFIED
}

func (x *RecordHumanGateDecisionRequest) GetSafeSummary() string {
	if x != nil && x.SafeSummary != nil {
		return *x.SafeSummary
	}
	return ""
}

func (x *RecordHumanGateDecisionRequest) GetInteractionRequestRef() string {
	if x != nil && x.InteractionRequestRef != nil {
		return *x.InteractionRequestRef
	}
	return ""
}

func (x *RecordHumanGateDecisionRequest) GetInteractionResponseRef() string {
	if x != nil && x.InteractionResponseRef != nil {
		return *x.InteractionResponseRef
	}
	return ""
}

func (x *RecordHumanGateDecisionRequest) GetGovernanceGateRequestRef() string {
	if x != nil && x.GovernanceGateRequestRef != nil {
		return *x.GovernanceGateRequestRef
	}
	return ""
}

func (x *RecordHumanGateDecisionRequest) GetGovernanceDecisionRef() string {
	if x != nil && x.GovernanceDecisionRef != nil {
		return *x.GovernanceDecisionRef
	}
	return ""
}

func (x *RecordHumanGateDecisionRequest) GetGovernanceContext() *GovernanceContextRef {
	if x != nil {
		return x.GovernanceContext
	}
	return nil
}

type GetHumanGateRequestRequest struct {
	state              protoimpl.MessageState `protogen:"open.v1"`
	Meta               *QueryMeta             `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	HumanGateRequestId string                 `protobuf:"bytes,2,opt,name=human_gate_request_id,json=humanGateRequestId,proto3" json:"human_gate_request_id,omitempty"`
	unknownFields      protoimpl.UnknownFields
	sizeCache          protoimpl.SizeCache
}

func (x *GetHumanGateRequestRequest) Reset() {
	*x = GetHumanGateRequestRequest{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[83]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *GetHumanGateRequestRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*GetHumanGateRequestRequest) ProtoMessage() {}

func (x *GetHumanGateRequestRequest) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[83]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use GetHumanGateRequestRequest.ProtoReflect.Descriptor instead.
func (*GetHumanGateRequestRequest) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{83}
}

func (x *GetHumanGateRequestRequest) GetMeta() *QueryMeta {
	if x != nil {
		return x.Meta
	}
	return nil
}

func (x *GetHumanGateRequestRequest) GetHumanGateRequestId() string {
	if x != nil {
		return x.HumanGateRequestId
	}
	return ""
}

type ListHumanGateRequestsRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Meta          *QueryMeta             `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	SessionId     *string                `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3,oneof" json:"session_id,omitempty"`
	RunId         *string                `protobuf:"bytes,3,opt,name=run_id,json=runId,proto3,oneof" json:"run_id,omitempty"`
	StageId       *string                `protobuf:"bytes,4,opt,name=stage_id,json=stageId,proto3,oneof" json:"stage_id,omitempty"`
	Status        *HumanGateStatus       `protobuf:"varint,5,opt,name=status,proto3,enum=kodex.agents.v1.HumanGateStatus,oneof" json:"status,omitempty"`
	Outcome       *HumanGateOutcome      `protobuf:"varint,6,opt,name=outcome,proto3,enum=kodex.agents.v1.HumanGateOutcome,oneof" json:"outcome,omitempty"`
	Page          *PageRequest           `protobuf:"bytes,7,opt,name=page,proto3" json:"page,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListHumanGateRequestsRequest) Reset() {
	*x = ListHumanGateRequestsRequest{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[84]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListHumanGateRequestsRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListHumanGateRequestsRequest) ProtoMessage() {}

func (x *ListHumanGateRequestsRequest) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[84]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListHumanGateRequestsRequest.ProtoReflect.Descriptor instead.
func (*ListHumanGateRequestsRequest) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{84}
}

func (x *ListHumanGateRequestsRequest) GetMeta() *QueryMeta {
	if x != nil {
		return x.Meta
	}
	return nil
}

func (x *ListHumanGateRequestsRequest) GetSessionId() string {
	if x != nil && x.SessionId != nil {
		return *x.SessionId
	}
	return ""
}

func (x *ListHumanGateRequestsRequest) GetRunId() string {
	if x != nil && x.RunId != nil {
		return *x.RunId
	}
	return ""
}

func (x *ListHumanGateRequestsRequest) GetStageId() string {
	if x != nil && x.StageId != nil {
		return *x.StageId
	}
	return ""
}

func (x *ListHumanGateRequestsRequest) GetStatus() HumanGateStatus {
	if x != nil && x.Status != nil {
		return *x.Status
	}
	return HumanGateStatus_HUMAN_GATE_STATUS_UNSPECIFIED
}

func (x *ListHumanGateRequestsRequest) GetOutcome() HumanGateOutcome {
	if x != nil && x.Outcome != nil {
		return *x.Outcome
	}
	return HumanGateOutcome_HUMAN_GATE_OUTCOME_UNSPECIFIED
}

func (x *ListHumanGateRequestsRequest) GetPage() *PageRequest {
	if x != nil {
		return x.Page
	}
	return nil
}

type GetAgentSessionRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Meta          *QueryMeta             `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	SessionId     string                 `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *GetAgentSessionRequest) Reset() {
	*x = GetAgentSessionRequest{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[85]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *GetAgentSessionRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*GetAgentSessionRequest) ProtoMessage() {}

func (x *GetAgentSessionRequest) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[85]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use GetAgentSessionRequest.ProtoReflect.Descriptor instead.
func (*GetAgentSessionRequest) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{85}
}

func (x *GetAgentSessionRequest) GetMeta() *QueryMeta {
	if x != nil {
		return x.Meta
	}
	return nil
}

func (x *GetAgentSessionRequest) GetSessionId() string {
	if x != nil {
		return x.SessionId
	}
	return ""
}

type ListAgentRunsRequest struct {
	state               protoimpl.MessageState `protogen:"open.v1"`
	Meta                *QueryMeta             `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	SessionId           *string                `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3,oneof" json:"session_id,omitempty"`
	RoleProfileId       *string                `protobuf:"bytes,3,opt,name=role_profile_id,json=roleProfileId,proto3,oneof" json:"role_profile_id,omitempty"`
	Status              *AgentRunStatus        `protobuf:"varint,4,opt,name=status,proto3,enum=kodex.agents.v1.AgentRunStatus,oneof" json:"status,omitempty"`
	ProviderWorkItemRef *string                `protobuf:"bytes,5,opt,name=provider_work_item_ref,json=providerWorkItemRef,proto3,oneof" json:"provider_work_item_ref,omitempty"`
	Page                *PageRequest           `protobuf:"bytes,6,opt,name=page,proto3" json:"page,omitempty"`
	unknownFields       protoimpl.UnknownFields
	sizeCache           protoimpl.SizeCache
}

func (x *ListAgentRunsRequest) Reset() {
	*x = ListAgentRunsRequest{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[86]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListAgentRunsRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListAgentRunsRequest) ProtoMessage() {}

func (x *ListAgentRunsRequest) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[86]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListAgentRunsRequest.ProtoReflect.Descriptor instead.
func (*ListAgentRunsRequest) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{86}
}

func (x *ListAgentRunsRequest) GetMeta() *QueryMeta {
	if x != nil {
		return x.Meta
	}
	return nil
}

func (x *ListAgentRunsRequest) GetSessionId() string {
	if x != nil && x.SessionId != nil {
		return *x.SessionId
	}
	return ""
}

func (x *ListAgentRunsRequest) GetRoleProfileId() string {
	if x != nil && x.RoleProfileId != nil {
		return *x.RoleProfileId
	}
	return ""
}

func (x *ListAgentRunsRequest) GetStatus() AgentRunStatus {
	if x != nil && x.Status != nil {
		return *x.Status
	}
	return AgentRunStatus_AGENT_RUN_STATUS_UNSPECIFIED
}

func (x *ListAgentRunsRequest) GetProviderWorkItemRef() string {
	if x != nil && x.ProviderWorkItemRef != nil {
		return *x.ProviderWorkItemRef
	}
	return ""
}

func (x *ListAgentRunsRequest) GetPage() *PageRequest {
	if x != nil {
		return x.Page
	}
	return nil
}

type ListAgentSessionsRequest struct {
	state               protoimpl.MessageState `protogen:"open.v1"`
	Meta                *QueryMeta             `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	Scope               *ScopeRef              `protobuf:"bytes,2,opt,name=scope,proto3,oneof" json:"scope,omitempty"`
	Status              *AgentSessionStatus    `protobuf:"varint,3,opt,name=status,proto3,enum=kodex.agents.v1.AgentSessionStatus,oneof" json:"status,omitempty"`
	ProviderWorkItemRef *string                `protobuf:"bytes,4,opt,name=provider_work_item_ref,json=providerWorkItemRef,proto3,oneof" json:"provider_work_item_ref,omitempty"`
	CreatedByActorRef   *string                `protobuf:"bytes,5,opt,name=created_by_actor_ref,json=createdByActorRef,proto3,oneof" json:"created_by_actor_ref,omitempty"`
	CreatedAfter        *string                `protobuf:"bytes,6,opt,name=created_after,json=createdAfter,proto3,oneof" json:"created_after,omitempty"`
	CreatedBefore       *string                `protobuf:"bytes,7,opt,name=created_before,json=createdBefore,proto3,oneof" json:"created_before,omitempty"`
	Page                *PageRequest           `protobuf:"bytes,8,opt,name=page,proto3" json:"page,omitempty"`
	unknownFields       protoimpl.UnknownFields
	sizeCache           protoimpl.SizeCache
}

func (x *ListAgentSessionsRequest) Reset() {
	*x = ListAgentSessionsRequest{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[87]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListAgentSessionsRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListAgentSessionsRequest) ProtoMessage() {}

func (x *ListAgentSessionsRequest) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[87]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListAgentSessionsRequest.ProtoReflect.Descriptor instead.
func (*ListAgentSessionsRequest) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{87}
}

func (x *ListAgentSessionsRequest) GetMeta() *QueryMeta {
	if x != nil {
		return x.Meta
	}
	return nil
}

func (x *ListAgentSessionsRequest) GetScope() *ScopeRef {
	if x != nil {
		return x.Scope
	}
	return nil
}

func (x *ListAgentSessionsRequest) GetStatus() AgentSessionStatus {
	if x != nil && x.Status != nil {
		return *x.Status
	}
	return AgentSessionStatus_AGENT_SESSION_STATUS_UNSPECIFIED
}

func (x *ListAgentSessionsRequest) GetProviderWorkItemRef() string {
	if x != nil && x.ProviderWorkItemRef != nil {
		return *x.ProviderWorkItemRef
	}
	return ""
}

func (x *ListAgentSessionsRequest) GetCreatedByActorRef() string {
	if x != nil && x.CreatedByActorRef != nil {
		return *x.CreatedByActorRef
	}
	return ""
}

func (x *ListAgentSessionsRequest) GetCreatedAfter() string {
	if x != nil && x.CreatedAfter != nil {
		return *x.CreatedAfter
	}
	return ""
}

func (x *ListAgentSessionsRequest) GetCreatedBefore() string {
	if x != nil && x.CreatedBefore != nil {
		return *x.CreatedBefore
	}
	return ""
}

func (x *ListAgentSessionsRequest) GetPage() *PageRequest {
	if x != nil {
		return x.Page
	}
	return nil
}

type ListAgentRunSummariesRequest struct {
	state                  protoimpl.MessageState `protogen:"open.v1"`
	Meta                   *QueryMeta             `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	Scope                  *ScopeRef              `protobuf:"bytes,2,opt,name=scope,proto3,oneof" json:"scope,omitempty"`
	SessionId              *string                `protobuf:"bytes,3,opt,name=session_id,json=sessionId,proto3,oneof" json:"session_id,omitempty"`
	RoleProfileId          *string                `protobuf:"bytes,4,opt,name=role_profile_id,json=roleProfileId,proto3,oneof" json:"role_profile_id,omitempty"`
	Status                 *AgentRunStatus        `protobuf:"varint,5,opt,name=status,proto3,enum=kodex.agents.v1.AgentRunStatus,oneof" json:"status,omitempty"`
	ProviderWorkItemRef    *string                `protobuf:"bytes,6,opt,name=provider_work_item_ref,json=providerWorkItemRef,proto3,oneof" json:"provider_work_item_ref,omitempty"`
	ProviderPullRequestRef *string                `protobuf:"bytes,7,opt,name=provider_pull_request_ref,json=providerPullRequestRef,proto3,oneof" json:"provider_pull_request_ref,omitempty"`
	CreatedAfter           *string                `protobuf:"bytes,8,opt,name=created_after,json=createdAfter,proto3,oneof" json:"created_after,omitempty"`
	CreatedBefore          *string                `protobuf:"bytes,9,opt,name=created_before,json=createdBefore,proto3,oneof" json:"created_before,omitempty"`
	Page                   *PageRequest           `protobuf:"bytes,10,opt,name=page,proto3" json:"page,omitempty"`
	unknownFields          protoimpl.UnknownFields
	sizeCache              protoimpl.SizeCache
}

func (x *ListAgentRunSummariesRequest) Reset() {
	*x = ListAgentRunSummariesRequest{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[88]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListAgentRunSummariesRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListAgentRunSummariesRequest) ProtoMessage() {}

func (x *ListAgentRunSummariesRequest) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[88]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListAgentRunSummariesRequest.ProtoReflect.Descriptor instead.
func (*ListAgentRunSummariesRequest) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{88}
}

func (x *ListAgentRunSummariesRequest) GetMeta() *QueryMeta {
	if x != nil {
		return x.Meta
	}
	return nil
}

func (x *ListAgentRunSummariesRequest) GetScope() *ScopeRef {
	if x != nil {
		return x.Scope
	}
	return nil
}

func (x *ListAgentRunSummariesRequest) GetSessionId() string {
	if x != nil && x.SessionId != nil {
		return *x.SessionId
	}
	return ""
}

func (x *ListAgentRunSummariesRequest) GetRoleProfileId() string {
	if x != nil && x.RoleProfileId != nil {
		return *x.RoleProfileId
	}
	return ""
}

func (x *ListAgentRunSummariesRequest) GetStatus() AgentRunStatus {
	if x != nil && x.Status != nil {
		return *x.Status
	}
	return AgentRunStatus_AGENT_RUN_STATUS_UNSPECIFIED
}

func (x *ListAgentRunSummariesRequest) GetProviderWorkItemRef() string {
	if x != nil && x.ProviderWorkItemRef != nil {
		return *x.ProviderWorkItemRef
	}
	return ""
}

func (x *ListAgentRunSummariesRequest) GetProviderPullRequestRef() string {
	if x != nil && x.ProviderPullRequestRef != nil {
		return *x.ProviderPullRequestRef
	}
	return ""
}

func (x *ListAgentRunSummariesRequest) GetCreatedAfter() string {
	if x != nil && x.CreatedAfter != nil {
		return *x.CreatedAfter
	}
	return ""
}

func (x *ListAgentRunSummariesRequest) GetCreatedBefore() string {
	if x != nil && x.CreatedBefore != nil {
		return *x.CreatedBefore
	}
	return ""
}

func (x *ListAgentRunSummariesRequest) GetPage() *PageRequest {
	if x != nil {
		return x.Page
	}
	return nil
}

type CreateSelfDeployPlanRequest struct {
	state                   protoimpl.MessageState   `protogen:"open.v1"`
	Meta                    *CommandMeta             `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	Scope                   *ScopeRef                `protobuf:"bytes,2,opt,name=scope,proto3" json:"scope,omitempty"`
	ProjectRef              string                   `protobuf:"bytes,3,opt,name=project_ref,json=projectRef,proto3" json:"project_ref,omitempty"`
	RepositoryRef           string                   `protobuf:"bytes,4,opt,name=repository_ref,json=repositoryRef,proto3" json:"repository_ref,omitempty"`
	ProviderSignalRef       *string                  `protobuf:"bytes,5,opt,name=provider_signal_ref,json=providerSignalRef,proto3,oneof" json:"provider_signal_ref,omitempty"`
	SourceRef               string                   `protobuf:"bytes,6,opt,name=source_ref,json=sourceRef,proto3" json:"source_ref,omitempty"`
	MergeCommitSha          string                   `protobuf:"bytes,7,opt,name=merge_commit_sha,json=mergeCommitSha,proto3" json:"merge_commit_sha,omitempty"`
	ServicesYamlRef         *string                  `protobuf:"bytes,8,opt,name=services_yaml_ref,json=servicesYamlRef,proto3,oneof" json:"services_yaml_ref,omitempty"`
	ServicesYamlDigest      string                   `protobuf:"bytes,9,opt,name=services_yaml_digest,json=servicesYamlDigest,proto3" json:"services_yaml_digest,omitempty"`
	AffectedServiceKeys     []string                 `protobuf:"bytes,10,rep,name=affected_service_keys,json=affectedServiceKeys,proto3" json:"affected_service_keys,omitempty"`
	PathCategories          []SelfDeployPathCategory `protobuf:"varint,11,rep,packed,name=path_categories,json=pathCategories,proto3,enum=kodex.agents.v1.SelfDeployPathCategory" json:"path_categories,omitempty"`
	ExpectedRuntimeJobTypes []v1.JobType             `protobuf:"varint,12,rep,packed,name=expected_runtime_job_types,json=expectedRuntimeJobTypes,proto3,enum=kodex.runtime.v1.JobType" json:"expected_runtime_job_types,omitempty"`
	GovernanceContext       *GovernanceContextRef    `protobuf:"bytes,13,opt,name=governance_context,json=governanceContext,proto3" json:"governance_context,omitempty"`
	SafeSummary             *string                  `protobuf:"bytes,14,opt,name=safe_summary,json=safeSummary,proto3,oneof" json:"safe_summary,omitempty"`
	ProviderSlug            *string                  `protobuf:"bytes,15,opt,name=provider_slug,json=providerSlug,proto3,oneof" json:"provider_slug,omitempty"`
	RepositoryFullName      *string                  `protobuf:"bytes,16,opt,name=repository_full_name,json=repositoryFullName,proto3,oneof" json:"repository_full_name,omitempty"`
	ProviderRepositoryId    *string                  `protobuf:"bytes,17,opt,name=provider_repository_id,json=providerRepositoryId,proto3,oneof" json:"provider_repository_id,omitempty"`
	unknownFields           protoimpl.UnknownFields
	sizeCache               protoimpl.SizeCache
}

func (x *CreateSelfDeployPlanRequest) Reset() {
	*x = CreateSelfDeployPlanRequest{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[89]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *CreateSelfDeployPlanRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*CreateSelfDeployPlanRequest) ProtoMessage() {}

func (x *CreateSelfDeployPlanRequest) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[89]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use CreateSelfDeployPlanRequest.ProtoReflect.Descriptor instead.
func (*CreateSelfDeployPlanRequest) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{89}
}

func (x *CreateSelfDeployPlanRequest) GetMeta() *CommandMeta {
	if x != nil {
		return x.Meta
	}
	return nil
}

func (x *CreateSelfDeployPlanRequest) GetScope() *ScopeRef {
	if x != nil {
		return x.Scope
	}
	return nil
}

func (x *CreateSelfDeployPlanRequest) GetProjectRef() string {
	if x != nil {
		return x.ProjectRef
	}
	return ""
}

func (x *CreateSelfDeployPlanRequest) GetRepositoryRef() string {
	if x != nil {
		return x.RepositoryRef
	}
	return ""
}

func (x *CreateSelfDeployPlanRequest) GetProviderSignalRef() string {
	if x != nil && x.ProviderSignalRef != nil {
		return *x.ProviderSignalRef
	}
	return ""
}

func (x *CreateSelfDeployPlanRequest) GetSourceRef() string {
	if x != nil {
		return x.SourceRef
	}
	return ""
}

func (x *CreateSelfDeployPlanRequest) GetMergeCommitSha() string {
	if x != nil {
		return x.MergeCommitSha
	}
	return ""
}

func (x *CreateSelfDeployPlanRequest) GetServicesYamlRef() string {
	if x != nil && x.ServicesYamlRef != nil {
		return *x.ServicesYamlRef
	}
	return ""
}

func (x *CreateSelfDeployPlanRequest) GetServicesYamlDigest() string {
	if x != nil {
		return x.ServicesYamlDigest
	}
	return ""
}

func (x *CreateSelfDeployPlanRequest) GetAffectedServiceKeys() []string {
	if x != nil {
		return x.AffectedServiceKeys
	}
	return nil
}

func (x *CreateSelfDeployPlanRequest) GetPathCategories() []SelfDeployPathCategory {
	if x != nil {
		return x.PathCategories
	}
	return nil
}

func (x *CreateSelfDeployPlanRequest) GetExpectedRuntimeJobTypes() []v1.JobType {
	if x != nil {
		return x.ExpectedRuntimeJobTypes
	}
	return nil
}

func (x *CreateSelfDeployPlanRequest) GetGovernanceContext() *GovernanceContextRef {
	if x != nil {
		return x.GovernanceContext
	}
	return nil
}

func (x *CreateSelfDeployPlanRequest) GetSafeSummary() string {
	if x != nil && x.SafeSummary != nil {
		return *x.SafeSummary
	}
	return ""
}

func (x *CreateSelfDeployPlanRequest) GetProviderSlug() string {
	if x != nil && x.ProviderSlug != nil {
		return *x.ProviderSlug
	}
	return ""
}

func (x *CreateSelfDeployPlanRequest) GetRepositoryFullName() string {
	if x != nil && x.RepositoryFullName != nil {
		return *x.RepositoryFullName
	}
	return ""
}

func (x *CreateSelfDeployPlanRequest) GetProviderRepositoryId() string {
	if x != nil && x.ProviderRepositoryId != nil {
		return *x.ProviderRepositoryId
	}
	return ""
}

type CreateSelfDeployPlanFromSignalRequest struct {
	state                   protoimpl.MessageState   `protogen:"open.v1"`
	Meta                    *CommandMeta             `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	Scope                   *ScopeRef                `protobuf:"bytes,2,opt,name=scope,proto3" json:"scope,omitempty"`
	ProjectRef              string                   `protobuf:"bytes,3,opt,name=project_ref,json=projectRef,proto3" json:"project_ref,omitempty"`
	RepositoryRef           string                   `protobuf:"bytes,4,opt,name=repository_ref,json=repositoryRef,proto3" json:"repository_ref,omitempty"`
	ProviderSignalRef       string                   `protobuf:"bytes,5,opt,name=provider_signal_ref,json=providerSignalRef,proto3" json:"provider_signal_ref,omitempty"`
	SourceRef               string                   `protobuf:"bytes,6,opt,name=source_ref,json=sourceRef,proto3" json:"source_ref,omitempty"`
	MergeCommitSha          string                   `protobuf:"bytes,7,opt,name=merge_commit_sha,json=mergeCommitSha,proto3" json:"merge_commit_sha,omitempty"`
	ServicesYamlRef         *string                  `protobuf:"bytes,8,opt,name=services_yaml_ref,json=servicesYamlRef,proto3,oneof" json:"services_yaml_ref,omitempty"`
	ServicesYamlDigest      string                   `protobuf:"bytes,9,opt,name=services_yaml_digest,json=servicesYamlDigest,proto3" json:"services_yaml_digest,omitempty"`
	AffectedServiceKeys     []string                 `protobuf:"bytes,10,rep,name=affected_service_keys,json=affectedServiceKeys,proto3" json:"affected_service_keys,omitempty"`
	PathCategories          []SelfDeployPathCategory `protobuf:"varint,11,rep,packed,name=path_categories,json=pathCategories,proto3,enum=kodex.agents.v1.SelfDeployPathCategory" json:"path_categories,omitempty"`
	ExpectedRuntimeJobTypes []v1.JobType             `protobuf:"varint,12,rep,packed,name=expected_runtime_job_types,json=expectedRuntimeJobTypes,proto3,enum=kodex.runtime.v1.JobType" json:"expected_runtime_job_types,omitempty"`
	GovernanceContext       *GovernanceContextRef    `protobuf:"bytes,13,opt,name=governance_context,json=governanceContext,proto3" json:"governance_context,omitempty"`
	SafeSummary             *string                  `protobuf:"bytes,14,opt,name=safe_summary,json=safeSummary,proto3,oneof" json:"safe_summary,omitempty"`
	ProviderSlug            *string                  `protobuf:"bytes,15,opt,name=provider_slug,json=providerSlug,proto3,oneof" json:"provider_slug,omitempty"`
	RepositoryFullName      *string                  `protobuf:"bytes,16,opt,name=repository_full_name,json=repositoryFullName,proto3,oneof" json:"repository_full_name,omitempty"`
	ProviderRepositoryId    *string                  `protobuf:"bytes,17,opt,name=provider_repository_id,json=providerRepositoryId,proto3,oneof" json:"provider_repository_id,omitempty"`
	unknownFields           protoimpl.UnknownFields
	sizeCache               protoimpl.SizeCache
}

func (x *CreateSelfDeployPlanFromSignalRequest) Reset() {
	*x = CreateSelfDeployPlanFromSignalRequest{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[90]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *CreateSelfDeployPlanFromSignalRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*CreateSelfDeployPlanFromSignalRequest) ProtoMessage() {}

func (x *CreateSelfDeployPlanFromSignalRequest) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[90]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use CreateSelfDeployPlanFromSignalRequest.ProtoReflect.Descriptor instead.
func (*CreateSelfDeployPlanFromSignalRequest) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{90}
}

func (x *CreateSelfDeployPlanFromSignalRequest) GetMeta() *CommandMeta {
	if x != nil {
		return x.Meta
	}
	return nil
}

func (x *CreateSelfDeployPlanFromSignalRequest) GetScope() *ScopeRef {
	if x != nil {
		return x.Scope
	}
	return nil
}

func (x *CreateSelfDeployPlanFromSignalRequest) GetProjectRef() string {
	if x != nil {
		return x.ProjectRef
	}
	return ""
}

func (x *CreateSelfDeployPlanFromSignalRequest) GetRepositoryRef() string {
	if x != nil {
		return x.RepositoryRef
	}
	return ""
}

func (x *CreateSelfDeployPlanFromSignalRequest) GetProviderSignalRef() string {
	if x != nil {
		return x.ProviderSignalRef
	}
	return ""
}

func (x *CreateSelfDeployPlanFromSignalRequest) GetSourceRef() string {
	if x != nil {
		return x.SourceRef
	}
	return ""
}

func (x *CreateSelfDeployPlanFromSignalRequest) GetMergeCommitSha() string {
	if x != nil {
		return x.MergeCommitSha
	}
	return ""
}

func (x *CreateSelfDeployPlanFromSignalRequest) GetServicesYamlRef() string {
	if x != nil && x.ServicesYamlRef != nil {
		return *x.ServicesYamlRef
	}
	return ""
}

func (x *CreateSelfDeployPlanFromSignalRequest) GetServicesYamlDigest() string {
	if x != nil {
		return x.ServicesYamlDigest
	}
	return ""
}

func (x *CreateSelfDeployPlanFromSignalRequest) GetAffectedServiceKeys() []string {
	if x != nil {
		return x.AffectedServiceKeys
	}
	return nil
}

func (x *CreateSelfDeployPlanFromSignalRequest) GetPathCategories() []SelfDeployPathCategory {
	if x != nil {
		return x.PathCategories
	}
	return nil
}

func (x *CreateSelfDeployPlanFromSignalRequest) GetExpectedRuntimeJobTypes() []v1.JobType {
	if x != nil {
		return x.ExpectedRuntimeJobTypes
	}
	return nil
}

func (x *CreateSelfDeployPlanFromSignalRequest) GetGovernanceContext() *GovernanceContextRef {
	if x != nil {
		return x.GovernanceContext
	}
	return nil
}

func (x *CreateSelfDeployPlanFromSignalRequest) GetSafeSummary() string {
	if x != nil && x.SafeSummary != nil {
		return *x.SafeSummary
	}
	return ""
}

func (x *CreateSelfDeployPlanFromSignalRequest) GetProviderSlug() string {
	if x != nil && x.ProviderSlug != nil {
		return *x.ProviderSlug
	}
	return ""
}

func (x *CreateSelfDeployPlanFromSignalRequest) GetRepositoryFullName() string {
	if x != nil && x.RepositoryFullName != nil {
		return *x.RepositoryFullName
	}
	return ""
}

func (x *CreateSelfDeployPlanFromSignalRequest) GetProviderRepositoryId() string {
	if x != nil && x.ProviderRepositoryId != nil {
		return *x.ProviderRepositoryId
	}
	return ""
}

type GetSelfDeployPlanRequest struct {
	state            protoimpl.MessageState `protogen:"open.v1"`
	Meta             *QueryMeta             `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	SelfDeployPlanId string                 `protobuf:"bytes,2,opt,name=self_deploy_plan_id,json=selfDeployPlanId,proto3" json:"self_deploy_plan_id,omitempty"`
	unknownFields    protoimpl.UnknownFields
	sizeCache        protoimpl.SizeCache
}

func (x *GetSelfDeployPlanRequest) Reset() {
	*x = GetSelfDeployPlanRequest{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[91]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *GetSelfDeployPlanRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*GetSelfDeployPlanRequest) ProtoMessage() {}

func (x *GetSelfDeployPlanRequest) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[91]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use GetSelfDeployPlanRequest.ProtoReflect.Descriptor instead.
func (*GetSelfDeployPlanRequest) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{91}
}

func (x *GetSelfDeployPlanRequest) GetMeta() *QueryMeta {
	if x != nil {
		return x.Meta
	}
	return nil
}

func (x *GetSelfDeployPlanRequest) GetSelfDeployPlanId() string {
	if x != nil {
		return x.SelfDeployPlanId
	}
	return ""
}

type ListSelfDeployPlansRequest struct {
	state             protoimpl.MessageState `protogen:"open.v1"`
	Meta              *QueryMeta             `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	Scope             *ScopeRef              `protobuf:"bytes,2,opt,name=scope,proto3,oneof" json:"scope,omitempty"`
	ProjectRef        *string                `protobuf:"bytes,3,opt,name=project_ref,json=projectRef,proto3,oneof" json:"project_ref,omitempty"`
	RepositoryRef     *string                `protobuf:"bytes,4,opt,name=repository_ref,json=repositoryRef,proto3,oneof" json:"repository_ref,omitempty"`
	ProviderSignalRef *string                `protobuf:"bytes,5,opt,name=provider_signal_ref,json=providerSignalRef,proto3,oneof" json:"provider_signal_ref,omitempty"`
	Status            *SelfDeployPlanStatus  `protobuf:"varint,6,opt,name=status,proto3,enum=kodex.agents.v1.SelfDeployPlanStatus,oneof" json:"status,omitempty"`
	Page              *PageRequest           `protobuf:"bytes,7,opt,name=page,proto3" json:"page,omitempty"`
	unknownFields     protoimpl.UnknownFields
	sizeCache         protoimpl.SizeCache
}

func (x *ListSelfDeployPlansRequest) Reset() {
	*x = ListSelfDeployPlansRequest{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[92]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListSelfDeployPlansRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListSelfDeployPlansRequest) ProtoMessage() {}

func (x *ListSelfDeployPlansRequest) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[92]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListSelfDeployPlansRequest.ProtoReflect.Descriptor instead.
func (*ListSelfDeployPlansRequest) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{92}
}

func (x *ListSelfDeployPlansRequest) GetMeta() *QueryMeta {
	if x != nil {
		return x.Meta
	}
	return nil
}

func (x *ListSelfDeployPlansRequest) GetScope() *ScopeRef {
	if x != nil {
		return x.Scope
	}
	return nil
}

func (x *ListSelfDeployPlansRequest) GetProjectRef() string {
	if x != nil && x.ProjectRef != nil {
		return *x.ProjectRef
	}
	return ""
}

func (x *ListSelfDeployPlansRequest) GetRepositoryRef() string {
	if x != nil && x.RepositoryRef != nil {
		return *x.RepositoryRef
	}
	return ""
}

func (x *ListSelfDeployPlansRequest) GetProviderSignalRef() string {
	if x != nil && x.ProviderSignalRef != nil {
		return *x.ProviderSignalRef
	}
	return ""
}

func (x *ListSelfDeployPlansRequest) GetStatus() SelfDeployPlanStatus {
	if x != nil && x.Status != nil {
		return *x.Status
	}
	return SelfDeployPlanStatus_SELF_DEPLOY_PLAN_STATUS_UNSPECIFIED
}

func (x *ListSelfDeployPlansRequest) GetPage() *PageRequest {
	if x != nil {
		return x.Page
	}
	return nil
}

type GetAgentRunRuntimeStatusRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Meta          *QueryMeta             `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	RunId         string                 `protobuf:"bytes,2,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *GetAgentRunRuntimeStatusRequest) Reset() {
	*x = GetAgentRunRuntimeStatusRequest{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[93]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *GetAgentRunRuntimeStatusRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*GetAgentRunRuntimeStatusRequest) ProtoMessage() {}

func (x *GetAgentRunRuntimeStatusRequest) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[93]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use GetAgentRunRuntimeStatusRequest.ProtoReflect.Descriptor instead.
func (*GetAgentRunRuntimeStatusRequest) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{93}
}

func (x *GetAgentRunRuntimeStatusRequest) GetMeta() *QueryMeta {
	if x != nil {
		return x.Meta
	}
	return nil
}

func (x *GetAgentRunRuntimeStatusRequest) GetRunId() string {
	if x != nil {
		return x.RunId
	}
	return ""
}

type AgentSessionResponse struct {
	state               protoimpl.MessageState     `protogen:"open.v1"`
	Session             *AgentSession              `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
	LatestStateSnapshot *AgentSessionStateSnapshot `protobuf:"bytes,2,opt,name=latest_state_snapshot,json=latestStateSnapshot,proto3,oneof" json:"latest_state_snapshot,omitempty"`
	unknownFields       protoimpl.UnknownFields
	sizeCache           protoimpl.SizeCache
}

func (x *AgentSessionResponse) Reset() {
	*x = AgentSessionResponse{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[94]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *AgentSessionResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*AgentSessionResponse) ProtoMessage() {}

func (x *AgentSessionResponse) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[94]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use AgentSessionResponse.ProtoReflect.Descriptor instead.
func (*AgentSessionResponse) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{94}
}

func (x *AgentSessionResponse) GetSession() *AgentSession {
	if x != nil {
		return x.Session
	}
	return nil
}

func (x *AgentSessionResponse) GetLatestStateSnapshot() *AgentSessionStateSnapshot {
	if x != nil {
		return x.LatestStateSnapshot
	}
	return nil
}

type AgentRunResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Run           *AgentRun              `protobuf:"bytes,1,opt,name=run,proto3" json:"run,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *AgentRunResponse) Reset() {
	*x = AgentRunResponse{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[95]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *AgentRunResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*AgentRunResponse) ProtoMessage() {}

func (x *AgentRunResponse) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[95]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use AgentRunResponse.ProtoReflect.Descriptor instead.
func (*AgentRunResponse) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{95}
}

func (x *AgentRunResponse) GetRun() *AgentRun {
	if x != nil {
		return x.Run
	}
	return nil
}

type AgentRunRuntimeStatusResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Run           *AgentRun              `protobuf:"bytes,1,opt,name=run,proto3" json:"run,omitempty"`
	RuntimeStatus *AgentRunRuntimeStatus `protobuf:"bytes,2,opt,name=runtime_status,json=runtimeStatus,proto3" json:"runtime_status,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *AgentRunRuntimeStatusResponse) Reset() {
	*x = AgentRunRuntimeStatusResponse{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[96]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *AgentRunRuntimeStatusResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*AgentRunRuntimeStatusResponse) ProtoMessage() {}

func (x *AgentRunRuntimeStatusResponse) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[96]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use AgentRunRuntimeStatusResponse.ProtoReflect.Descriptor instead.
func (*AgentRunRuntimeStatusResponse) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{96}
}

func (x *AgentRunRuntimeStatusResponse) GetRun() *AgentRun {
	if x != nil {
		return x.Run
	}
	return nil
}

func (x *AgentRunRuntimeStatusResponse) GetRuntimeStatus() *AgentRunRuntimeStatus {
	if x != nil {
		return x.RuntimeStatus
	}
	return nil
}

type AgentRunRuntimeStatus struct {
	state                protoimpl.MessageState          `protogen:"open.v1"`
	RunId                string                          `protobuf:"bytes,1,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"`
	RunStatus            AgentRunStatus                  `protobuf:"varint,2,opt,name=run_status,json=runStatus,proto3,enum=kodex.agents.v1.AgentRunStatus" json:"run_status,omitempty"`
	RuntimeContext       *RuntimeContextRef              `protobuf:"bytes,3,opt,name=runtime_context,json=runtimeContext,proto3" json:"runtime_context,omitempty"`
	ObservationState     AgentRunRuntimeObservationState `protobuf:"varint,4,opt,name=observation_state,json=observationState,proto3,enum=kodex.agents.v1.AgentRunRuntimeObservationState" json:"observation_state,omitempty"`
	RuntimeJobRef        *string                         `protobuf:"bytes,5,opt,name=runtime_job_ref,json=runtimeJobRef,proto3,oneof" json:"runtime_job_ref,omitempty"`
	RuntimeJobStatus     AgentRuntimeJobStatus           `protobuf:"varint,6,opt,name=runtime_job_status,json=runtimeJobStatus,proto3,enum=kodex.agents.v1.AgentRuntimeJobStatus" json:"runtime_job_status,omitempty"`
	RuntimeJobCommandRef *string                         `protobuf:"bytes,7,opt,name=runtime_job_command_ref,json=runtimeJobCommandRef,proto3,oneof" json:"runtime_job_command_ref,omitempty"`
	RuntimeJobVersion    *int64                          `protobuf:"varint,8,opt,name=runtime_job_version,json=runtimeJobVersion,proto3,oneof" json:"runtime_job_version,omitempty"`
	RuntimeJobCreatedAt  *string                         `protobuf:"bytes,9,opt,name=runtime_job_created_at,json=runtimeJobCreatedAt,proto3,oneof" json:"runtime_job_created_at,omitempty"`
	RuntimeJobStartedAt  *string                         `protobuf:"bytes,10,opt,name=runtime_job_started_at,json=runtimeJobStartedAt,proto3,oneof" json:"runtime_job_started_at,omitempty"`
	RuntimeJobFinishedAt *string                         `protobuf:"bytes,11,opt,name=runtime_job_finished_at,json=runtimeJobFinishedAt,proto3,oneof" json:"runtime_job_finished_at,omitempty"`
	RuntimeJobUpdatedAt  *string                         `protobuf:"bytes,12,opt,name=runtime_job_updated_at,json=runtimeJobUpdatedAt,proto3,oneof" json:"runtime_job_updated_at,omitempty"`
	SafeErrorCode        *string                         `protobuf:"bytes,13,opt,name=safe_error_code,json=safeErrorCode,proto3,oneof" json:"safe_error_code,omitempty"`
	SafeSummary          *string                         `protobuf:"bytes,14,opt,name=safe_summary,json=safeSummary,proto3,oneof" json:"safe_summary,omitempty"`
	RunStartedAt         *string                         `protobuf:"bytes,15,opt,name=run_started_at,json=runStartedAt,proto3,oneof" json:"run_started_at,omitempty"`
	RunFinishedAt        *string                         `protobuf:"bytes,16,opt,name=run_finished_at,json=runFinishedAt,proto3,oneof" json:"run_finished_at,omitempty"`
	RunUpdatedAt         string                          `protobuf:"bytes,17,opt,name=run_updated_at,json=runUpdatedAt,proto3" json:"run_updated_at,omitempty"`
	RunVersion           int64                           `protobuf:"varint,18,opt,name=run_version,json=runVersion,proto3" json:"run_version,omitempty"`
	HumanGateWaiting     bool                            `protobuf:"varint,19,opt,name=human_gate_waiting,json=humanGateWaiting,proto3" json:"human_gate_waiting,omitempty"`
	HumanGateRequestRef  *string                         `protobuf:"bytes,20,opt,name=human_gate_request_ref,json=humanGateRequestRef,proto3,oneof" json:"human_gate_request_ref,omitempty"`
	HumanGateReasonCode  *string                         `protobuf:"bytes,21,opt,name=human_gate_reason_code,json=humanGateReasonCode,proto3,oneof" json:"human_gate_reason_code,omitempty"`
	FollowUpWaiting      bool                            `protobuf:"varint,22,opt,name=follow_up_waiting,json=followUpWaiting,proto3" json:"follow_up_waiting,omitempty"`
	unknownFields        protoimpl.UnknownFields
	sizeCache            protoimpl.SizeCache
}

func (x *AgentRunRuntimeStatus) Reset() {
	*x = AgentRunRuntimeStatus{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[97]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *AgentRunRuntimeStatus) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*AgentRunRuntimeStatus) ProtoMessage() {}

func (x *AgentRunRuntimeStatus) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[97]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use AgentRunRuntimeStatus.ProtoReflect.Descriptor instead.
func (*AgentRunRuntimeStatus) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{97}
}

func (x *AgentRunRuntimeStatus) GetRunId() string {
	if x != nil {
		return x.RunId
	}
	return ""
}

func (x *AgentRunRuntimeStatus) GetRunStatus() AgentRunStatus {
	if x != nil {
		return x.RunStatus
	}
	return AgentRunStatus_AGENT_RUN_STATUS_UNSPECIFIED
}

func (x *AgentRunRuntimeStatus) GetRuntimeContext() *RuntimeContextRef {
	if x != nil {
		return x.RuntimeContext
	}
	return nil
}

func (x *AgentRunRuntimeStatus) GetObservationState() AgentRunRuntimeObservationState {
	if x != nil {
		return x.ObservationState
	}
	return AgentRunRuntimeObservationState_AGENT_RUN_RUNTIME_OBSERVATION_STATE_UNSPECIFIED
}

func (x *AgentRunRuntimeStatus) GetRuntimeJobRef() string {
	if x != nil && x.RuntimeJobRef != nil {
		return *x.RuntimeJobRef
	}
	return ""
}

func (x *AgentRunRuntimeStatus) GetRuntimeJobStatus() AgentRuntimeJobStatus {
	if x != nil {
		return x.RuntimeJobStatus
	}
	return AgentRuntimeJobStatus_AGENT_RUNTIME_JOB_STATUS_UNSPECIFIED
}

func (x *AgentRunRuntimeStatus) GetRuntimeJobCommandRef() string {
	if x != nil && x.RuntimeJobCommandRef != nil {
		return *x.RuntimeJobCommandRef
	}
	return ""
}

func (x *AgentRunRuntimeStatus) GetRuntimeJobVersion() int64 {
	if x != nil && x.RuntimeJobVersion != nil {
		return *x.RuntimeJobVersion
	}
	return 0
}

func (x *AgentRunRuntimeStatus) GetRuntimeJobCreatedAt() string {
	if x != nil && x.RuntimeJobCreatedAt != nil {
		return *x.RuntimeJobCreatedAt
	}
	return ""
}

func (x *AgentRunRuntimeStatus) GetRuntimeJobStartedAt() string {
	if x != nil && x.RuntimeJobStartedAt != nil {
		return *x.RuntimeJobStartedAt
	}
	return ""
}

func (x *AgentRunRuntimeStatus) GetRuntimeJobFinishedAt() string {
	if x != nil && x.RuntimeJobFinishedAt != nil {
		return *x.RuntimeJobFinishedAt
	}
	return ""
}

func (x *AgentRunRuntimeStatus) GetRuntimeJobUpdatedAt() string {
	if x != nil && x.RuntimeJobUpdatedAt != nil {
		return *x.RuntimeJobUpdatedAt
	}
	return ""
}

func (x *AgentRunRuntimeStatus) GetSafeErrorCode() string {
	if x != nil && x.SafeErrorCode != nil {
		return *x.SafeErrorCode
	}
	return ""
}

func (x *AgentRunRuntimeStatus) GetSafeSummary() string {
	if x != nil && x.SafeSummary != nil {
		return *x.SafeSummary
	}
	return ""
}

func (x *AgentRunRuntimeStatus) GetRunStartedAt() string {
	if x != nil && x.RunStartedAt != nil {
		return *x.RunStartedAt
	}
	return ""
}

func (x *AgentRunRuntimeStatus) GetRunFinishedAt() string {
	if x != nil && x.RunFinishedAt != nil {
		return *x.RunFinishedAt
	}
	return ""
}

func (x *AgentRunRuntimeStatus) GetRunUpdatedAt() string {
	if x != nil {
		return x.RunUpdatedAt
	}
	return ""
}

func (x *AgentRunRuntimeStatus) GetRunVersion() int64 {
	if x != nil {
		return x.RunVersion
	}
	return 0
}

func (x *AgentRunRuntimeStatus) GetHumanGateWaiting() bool {
	if x != nil {
		return x.HumanGateWaiting
	}
	return false
}

func (x *AgentRunRuntimeStatus) GetHumanGateRequestRef() string {
	if x != nil && x.HumanGateRequestRef != nil {
		return *x.HumanGateRequestRef
	}
	return ""
}

func (x *AgentRunRuntimeStatus) GetHumanGateReasonCode() string {
	if x != nil && x.HumanGateReasonCode != nil {
		return *x.HumanGateReasonCode
	}
	return ""
}

func (x *AgentRunRuntimeStatus) GetFollowUpWaiting() bool {
	if x != nil {
		return x.FollowUpWaiting
	}
	return false
}

type AgentActivitySummary struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	ActivityId    string                 `protobuf:"bytes,1,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"`
	ActivityKind  AgentActivityKind      `protobuf:"varint,2,opt,name=activity_kind,json=activityKind,proto3,enum=kodex.agents.v1.AgentActivityKind" json:"activity_kind,omitempty"`
	Status        AgentActivityStatus    `protobuf:"varint,3,opt,name=status,proto3,enum=kodex.agents.v1.AgentActivityStatus" json:"status,omitempty"`
	ToolName      *string                `protobuf:"bytes,4,opt,name=tool_name,json=toolName,proto3,oneof" json:"tool_name,omitempty"`
	ToolCategory  *string                `protobuf:"bytes,5,opt,name=tool_category,json=toolCategory,proto3,oneof" json:"tool_category,omitempty"`
	SafeSummary   *string                `protobuf:"bytes,6,opt,name=safe_summary,json=safeSummary,proto3,oneof" json:"safe_summary,omitempty"`
	PayloadDigest *string                `protobuf:"bytes,7,opt,name=payload_digest,json=payloadDigest,proto3,oneof" json:"payload_digest,omitempty"`
	BoundedError  *string                `protobuf:"bytes,8,opt,name=bounded_error,json=boundedError,proto3,oneof" json:"bounded_error,omitempty"`
	StartedAt     *string                `protobuf:"bytes,9,opt,name=started_at,json=startedAt,proto3,oneof" json:"started_at,omitempty"`
	FinishedAt    *string                `protobuf:"bytes,10,opt,name=finished_at,json=finishedAt,proto3,oneof" json:"finished_at,omitempty"`
	UpdatedAt     string                 `protobuf:"bytes,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	Version       int64                  `protobuf:"varint,12,opt,name=version,proto3" json:"version,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *AgentActivitySummary) Reset() {
	*x = AgentActivitySummary{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[98]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *AgentActivitySummary) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*AgentActivitySummary) ProtoMessage() {}

func (x *AgentActivitySummary) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[98]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use AgentActivitySummary.ProtoReflect.Descriptor instead.
func (*AgentActivitySummary) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{98}
}

func (x *AgentActivitySummary) GetActivityId() string {
	if x != nil {
		return x.ActivityId
	}
	return ""
}

func (x *AgentActivitySummary) GetActivityKind() AgentActivityKind {
	if x != nil {
		return x.ActivityKind
	}
	return AgentActivityKind_AGENT_ACTIVITY_KIND_UNSPECIFIED
}

func (x *AgentActivitySummary) GetStatus() AgentActivityStatus {
	if x != nil {
		return x.Status
	}
	return AgentActivityStatus_AGENT_ACTIVITY_STATUS_UNSPECIFIED
}

func (x *AgentActivitySummary) GetToolName() string {
	if x != nil && x.ToolName != nil {
		return *x.ToolName
	}
	return ""
}

func (x *AgentActivitySummary) GetToolCategory() string {
	if x != nil && x.ToolCategory != nil {
		return *x.ToolCategory
	}
	return ""
}

func (x *AgentActivitySummary) GetSafeSummary() string {
	if x != nil && x.SafeSummary != nil {
		return *x.SafeSummary
	}
	return ""
}

func (x *AgentActivitySummary) GetPayloadDigest() string {
	if x != nil && x.PayloadDigest != nil {
		return *x.PayloadDigest
	}
	return ""
}

func (x *AgentActivitySummary) GetBoundedError() string {
	if x != nil && x.BoundedError != nil {
		return *x.BoundedError
	}
	return ""
}

func (x *AgentActivitySummary) GetStartedAt() string {
	if x != nil && x.StartedAt != nil {
		return *x.StartedAt
	}
	return ""
}

func (x *AgentActivitySummary) GetFinishedAt() string {
	if x != nil && x.FinishedAt != nil {
		return *x.FinishedAt
	}
	return ""
}

func (x *AgentActivitySummary) GetUpdatedAt() string {
	if x != nil {
		return x.UpdatedAt
	}
	return ""
}

func (x *AgentActivitySummary) GetVersion() int64 {
	if x != nil {
		return x.Version
	}
	return 0
}

type AgentRunListItem struct {
	state                   protoimpl.MessageState          `protogen:"open.v1"`
	Run                     *AgentRun                       `protobuf:"bytes,1,opt,name=run,proto3" json:"run,omitempty"`
	RuntimeJobRef           *string                         `protobuf:"bytes,2,opt,name=runtime_job_ref,json=runtimeJobRef,proto3,oneof" json:"runtime_job_ref,omitempty"`
	RuntimeObservationState AgentRunRuntimeObservationState `protobuf:"varint,3,opt,name=runtime_observation_state,json=runtimeObservationState,proto3,enum=kodex.agents.v1.AgentRunRuntimeObservationState" json:"runtime_observation_state,omitempty"`
	RuntimeSafeErrorCode    *string                         `protobuf:"bytes,4,opt,name=runtime_safe_error_code,json=runtimeSafeErrorCode,proto3,oneof" json:"runtime_safe_error_code,omitempty"`
	RuntimeSafeSummary      *string                         `protobuf:"bytes,5,opt,name=runtime_safe_summary,json=runtimeSafeSummary,proto3,oneof" json:"runtime_safe_summary,omitempty"`
	HumanGateWaiting        bool                            `protobuf:"varint,6,opt,name=human_gate_waiting,json=humanGateWaiting,proto3" json:"human_gate_waiting,omitempty"`
	HumanGateRequestRef     *string                         `protobuf:"bytes,7,opt,name=human_gate_request_ref,json=humanGateRequestRef,proto3,oneof" json:"human_gate_request_ref,omitempty"`
	HumanGateReasonCode     *string                         `protobuf:"bytes,8,opt,name=human_gate_reason_code,json=humanGateReasonCode,proto3,oneof" json:"human_gate_reason_code,omitempty"`
	FollowUpWaiting         bool                            `protobuf:"varint,9,opt,name=follow_up_waiting,json=followUpWaiting,proto3" json:"follow_up_waiting,omitempty"`
	LatestActivity          *AgentActivitySummary           `protobuf:"bytes,10,opt,name=latest_activity,json=latestActivity,proto3,oneof" json:"latest_activity,omitempty"`
	unknownFields           protoimpl.UnknownFields
	sizeCache               protoimpl.SizeCache
}

func (x *AgentRunListItem) Reset() {
	*x = AgentRunListItem{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[99]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *AgentRunListItem) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*AgentRunListItem) ProtoMessage() {}

func (x *AgentRunListItem) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[99]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use AgentRunListItem.ProtoReflect.Descriptor instead.
func (*AgentRunListItem) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{99}
}

func (x *AgentRunListItem) GetRun() *AgentRun {
	if x != nil {
		return x.Run
	}
	return nil
}

func (x *AgentRunListItem) GetRuntimeJobRef() string {
	if x != nil && x.RuntimeJobRef != nil {
		return *x.RuntimeJobRef
	}
	return ""
}

func (x *AgentRunListItem) GetRuntimeObservationState() AgentRunRuntimeObservationState {
	if x != nil {
		return x.RuntimeObservationState
	}
	return AgentRunRuntimeObservationState_AGENT_RUN_RUNTIME_OBSERVATION_STATE_UNSPECIFIED
}

func (x *AgentRunListItem) GetRuntimeSafeErrorCode() string {
	if x != nil && x.RuntimeSafeErrorCode != nil {
		return *x.RuntimeSafeErrorCode
	}
	return ""
}

func (x *AgentRunListItem) GetRuntimeSafeSummary() string {
	if x != nil && x.RuntimeSafeSummary != nil {
		return *x.RuntimeSafeSummary
	}
	return ""
}

func (x *AgentRunListItem) GetHumanGateWaiting() bool {
	if x != nil {
		return x.HumanGateWaiting
	}
	return false
}

func (x *AgentRunListItem) GetHumanGateRequestRef() string {
	if x != nil && x.HumanGateRequestRef != nil {
		return *x.HumanGateRequestRef
	}
	return ""
}

func (x *AgentRunListItem) GetHumanGateReasonCode() string {
	if x != nil && x.HumanGateReasonCode != nil {
		return *x.HumanGateReasonCode
	}
	return ""
}

func (x *AgentRunListItem) GetFollowUpWaiting() bool {
	if x != nil {
		return x.FollowUpWaiting
	}
	return false
}

func (x *AgentRunListItem) GetLatestActivity() *AgentActivitySummary {
	if x != nil {
		return x.LatestActivity
	}
	return nil
}

type AgentSessionListItem struct {
	state                protoimpl.MessageState `protogen:"open.v1"`
	Session              *AgentSession          `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
	LatestRunId          *string                `protobuf:"bytes,2,opt,name=latest_run_id,json=latestRunId,proto3,oneof" json:"latest_run_id,omitempty"`
	LatestRunStatus      *AgentRunStatus        `protobuf:"varint,3,opt,name=latest_run_status,json=latestRunStatus,proto3,enum=kodex.agents.v1.AgentRunStatus,oneof" json:"latest_run_status,omitempty"`
	LatestRuntimeJobRef  *string                `protobuf:"bytes,4,opt,name=latest_runtime_job_ref,json=latestRuntimeJobRef,proto3,oneof" json:"latest_runtime_job_ref,omitempty"`
	LatestRunSafeSummary *string                `protobuf:"bytes,5,opt,name=latest_run_safe_summary,json=latestRunSafeSummary,proto3,oneof" json:"latest_run_safe_summary,omitempty"`
	ActiveRunCount       int32                  `protobuf:"varint,6,opt,name=active_run_count,json=activeRunCount,proto3" json:"active_run_count,omitempty"`
	HumanGateWaiting     bool                   `protobuf:"varint,7,opt,name=human_gate_waiting,json=humanGateWaiting,proto3" json:"human_gate_waiting,omitempty"`
	HumanGateRequestRef  *string                `protobuf:"bytes,8,opt,name=human_gate_request_ref,json=humanGateRequestRef,proto3,oneof" json:"human_gate_request_ref,omitempty"`
	HumanGateReasonCode  *string                `protobuf:"bytes,9,opt,name=human_gate_reason_code,json=humanGateReasonCode,proto3,oneof" json:"human_gate_reason_code,omitempty"`
	LatestActivity       *AgentActivitySummary  `protobuf:"bytes,10,opt,name=latest_activity,json=latestActivity,proto3,oneof" json:"latest_activity,omitempty"`
	FollowUpWaiting      bool                   `protobuf:"varint,11,opt,name=follow_up_waiting,json=followUpWaiting,proto3" json:"follow_up_waiting,omitempty"`
	FollowUpRef          *string                `protobuf:"bytes,12,opt,name=follow_up_ref,json=followUpRef,proto3,oneof" json:"follow_up_ref,omitempty"`
	unknownFields        protoimpl.UnknownFields
	sizeCache            protoimpl.SizeCache
}

func (x *AgentSessionListItem) Reset() {
	*x = AgentSessionListItem{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[100]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *AgentSessionListItem) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*AgentSessionListItem) ProtoMessage() {}

func (x *AgentSessionListItem) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[100]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use AgentSessionListItem.ProtoReflect.Descriptor instead.
func (*AgentSessionListItem) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{100}
}

func (x *AgentSessionListItem) GetSession() *AgentSession {
	if x != nil {
		return x.Session
	}
	return nil
}

func (x *AgentSessionListItem) GetLatestRunId() string {
	if x != nil && x.LatestRunId != nil {
		return *x.LatestRunId
	}
	return ""
}

func (x *AgentSessionListItem) GetLatestRunStatus() AgentRunStatus {
	if x != nil && x.LatestRunStatus != nil {
		return *x.LatestRunStatus
	}
	return AgentRunStatus_AGENT_RUN_STATUS_UNSPECIFIED
}

func (x *AgentSessionListItem) GetLatestRuntimeJobRef() string {
	if x != nil && x.LatestRuntimeJobRef != nil {
		return *x.LatestRuntimeJobRef
	}
	return ""
}

func (x *AgentSessionListItem) GetLatestRunSafeSummary() string {
	if x != nil && x.LatestRunSafeSummary != nil {
		return *x.LatestRunSafeSummary
	}
	return ""
}

func (x *AgentSessionListItem) GetActiveRunCount() int32 {
	if x != nil {
		return x.ActiveRunCount
	}
	return 0
}

func (x *AgentSessionListItem) GetHumanGateWaiting() bool {
	if x != nil {
		return x.HumanGateWaiting
	}
	return false
}

func (x *AgentSessionListItem) GetHumanGateRequestRef() string {
	if x != nil && x.HumanGateRequestRef != nil {
		return *x.HumanGateRequestRef
	}
	return ""
}

func (x *AgentSessionListItem) GetHumanGateReasonCode() string {
	if x != nil && x.HumanGateReasonCode != nil {
		return *x.HumanGateReasonCode
	}
	return ""
}

func (x *AgentSessionListItem) GetLatestActivity() *AgentActivitySummary {
	if x != nil {
		return x.LatestActivity
	}
	return nil
}

func (x *AgentSessionListItem) GetFollowUpWaiting() bool {
	if x != nil {
		return x.FollowUpWaiting
	}
	return false
}

func (x *AgentSessionListItem) GetFollowUpRef() string {
	if x != nil && x.FollowUpRef != nil {
		return *x.FollowUpRef
	}
	return ""
}

type AgentSessionStateSnapshotResponse struct {
	state         protoimpl.MessageState     `protogen:"open.v1"`
	Snapshot      *AgentSessionStateSnapshot `protobuf:"bytes,1,opt,name=snapshot,proto3" json:"snapshot,omitempty"`
	Session       *AgentSession              `protobuf:"bytes,2,opt,name=session,proto3" json:"session,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *AgentSessionStateSnapshotResponse) Reset() {
	*x = AgentSessionStateSnapshotResponse{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[101]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *AgentSessionStateSnapshotResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*AgentSessionStateSnapshotResponse) ProtoMessage() {}

func (x *AgentSessionStateSnapshotResponse) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[101]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use AgentSessionStateSnapshotResponse.ProtoReflect.Descriptor instead.
func (*AgentSessionStateSnapshotResponse) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{101}
}

func (x *AgentSessionStateSnapshotResponse) GetSnapshot() *AgentSessionStateSnapshot {
	if x != nil {
		return x.Snapshot
	}
	return nil
}

func (x *AgentSessionStateSnapshotResponse) GetSession() *AgentSession {
	if x != nil {
		return x.Session
	}
	return nil
}

type AcceptanceResultResponse struct {
	state            protoimpl.MessageState `protogen:"open.v1"`
	AcceptanceResult *AcceptanceResult      `protobuf:"bytes,1,opt,name=acceptance_result,json=acceptanceResult,proto3" json:"acceptance_result,omitempty"`
	unknownFields    protoimpl.UnknownFields
	sizeCache        protoimpl.SizeCache
}

func (x *AcceptanceResultResponse) Reset() {
	*x = AcceptanceResultResponse{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[102]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *AcceptanceResultResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*AcceptanceResultResponse) ProtoMessage() {}

func (x *AcceptanceResultResponse) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[102]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use AcceptanceResultResponse.ProtoReflect.Descriptor instead.
func (*AcceptanceResultResponse) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{102}
}

func (x *AcceptanceResultResponse) GetAcceptanceResult() *AcceptanceResult {
	if x != nil {
		return x.AcceptanceResult
	}
	return nil
}

type ListAcceptanceResultsResponse struct {
	state             protoimpl.MessageState `protogen:"open.v1"`
	AcceptanceResults []*AcceptanceResult    `protobuf:"bytes,1,rep,name=acceptance_results,json=acceptanceResults,proto3" json:"acceptance_results,omitempty"`
	Page              *PageResponse          `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"`
	unknownFields     protoimpl.UnknownFields
	sizeCache         protoimpl.SizeCache
}

func (x *ListAcceptanceResultsResponse) Reset() {
	*x = ListAcceptanceResultsResponse{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[103]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListAcceptanceResultsResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListAcceptanceResultsResponse) ProtoMessage() {}

func (x *ListAcceptanceResultsResponse) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[103]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListAcceptanceResultsResponse.ProtoReflect.Descriptor instead.
func (*ListAcceptanceResultsResponse) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{103}
}

func (x *ListAcceptanceResultsResponse) GetAcceptanceResults() []*AcceptanceResult {
	if x != nil {
		return x.AcceptanceResults
	}
	return nil
}

func (x *ListAcceptanceResultsResponse) GetPage() *PageResponse {
	if x != nil {
		return x.Page
	}
	return nil
}

type FollowUpIntentResponse struct {
	state          protoimpl.MessageState `protogen:"open.v1"`
	FollowUpIntent *FollowUpIntent        `protobuf:"bytes,1,opt,name=follow_up_intent,json=followUpIntent,proto3" json:"follow_up_intent,omitempty"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

func (x *FollowUpIntentResponse) Reset() {
	*x = FollowUpIntentResponse{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[104]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *FollowUpIntentResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*FollowUpIntentResponse) ProtoMessage() {}

func (x *FollowUpIntentResponse) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[104]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use FollowUpIntentResponse.ProtoReflect.Descriptor instead.
func (*FollowUpIntentResponse) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{104}
}

func (x *FollowUpIntentResponse) GetFollowUpIntent() *FollowUpIntent {
	if x != nil {
		return x.FollowUpIntent
	}
	return nil
}

type AgentActivityResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Activity      *AgentActivity         `protobuf:"bytes,1,opt,name=activity,proto3" json:"activity,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *AgentActivityResponse) Reset() {
	*x = AgentActivityResponse{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[105]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *AgentActivityResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*AgentActivityResponse) ProtoMessage() {}

func (x *AgentActivityResponse) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[105]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use AgentActivityResponse.ProtoReflect.Descriptor instead.
func (*AgentActivityResponse) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{105}
}

func (x *AgentActivityResponse) GetActivity() *AgentActivity {
	if x != nil {
		return x.Activity
	}
	return nil
}

type ListAgentActivitiesResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Activities    []*AgentActivity       `protobuf:"bytes,1,rep,name=activities,proto3" json:"activities,omitempty"`
	Page          *PageResponse          `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListAgentActivitiesResponse) Reset() {
	*x = ListAgentActivitiesResponse{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[106]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListAgentActivitiesResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListAgentActivitiesResponse) ProtoMessage() {}

func (x *ListAgentActivitiesResponse) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[106]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListAgentActivitiesResponse.ProtoReflect.Descriptor instead.
func (*ListAgentActivitiesResponse) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{106}
}

func (x *ListAgentActivitiesResponse) GetActivities() []*AgentActivity {
	if x != nil {
		return x.Activities
	}
	return nil
}

func (x *ListAgentActivitiesResponse) GetPage() *PageResponse {
	if x != nil {
		return x.Page
	}
	return nil
}

type HumanGateRequestResponse struct {
	state            protoimpl.MessageState `protogen:"open.v1"`
	HumanGateRequest *HumanGateRequest      `protobuf:"bytes,1,opt,name=human_gate_request,json=humanGateRequest,proto3" json:"human_gate_request,omitempty"`
	unknownFields    protoimpl.UnknownFields
	sizeCache        protoimpl.SizeCache
}

func (x *HumanGateRequestResponse) Reset() {
	*x = HumanGateRequestResponse{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[107]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *HumanGateRequestResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*HumanGateRequestResponse) ProtoMessage() {}

func (x *HumanGateRequestResponse) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[107]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use HumanGateRequestResponse.ProtoReflect.Descriptor instead.
func (*HumanGateRequestResponse) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{107}
}

func (x *HumanGateRequestResponse) GetHumanGateRequest() *HumanGateRequest {
	if x != nil {
		return x.HumanGateRequest
	}
	return nil
}

type ListHumanGateRequestsResponse struct {
	state             protoimpl.MessageState `protogen:"open.v1"`
	HumanGateRequests []*HumanGateRequest    `protobuf:"bytes,1,rep,name=human_gate_requests,json=humanGateRequests,proto3" json:"human_gate_requests,omitempty"`
	Page              *PageResponse          `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"`
	unknownFields     protoimpl.UnknownFields
	sizeCache         protoimpl.SizeCache
}

func (x *ListHumanGateRequestsResponse) Reset() {
	*x = ListHumanGateRequestsResponse{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[108]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListHumanGateRequestsResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListHumanGateRequestsResponse) ProtoMessage() {}

func (x *ListHumanGateRequestsResponse) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[108]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListHumanGateRequestsResponse.ProtoReflect.Descriptor instead.
func (*ListHumanGateRequestsResponse) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{108}
}

func (x *ListHumanGateRequestsResponse) GetHumanGateRequests() []*HumanGateRequest {
	if x != nil {
		return x.HumanGateRequests
	}
	return nil
}

func (x *ListHumanGateRequestsResponse) GetPage() *PageResponse {
	if x != nil {
		return x.Page
	}
	return nil
}

type SelfDeployPlanResponse struct {
	state          protoimpl.MessageState `protogen:"open.v1"`
	SelfDeployPlan *SelfDeployPlan        `protobuf:"bytes,1,opt,name=self_deploy_plan,json=selfDeployPlan,proto3" json:"self_deploy_plan,omitempty"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

func (x *SelfDeployPlanResponse) Reset() {
	*x = SelfDeployPlanResponse{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[109]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *SelfDeployPlanResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*SelfDeployPlanResponse) ProtoMessage() {}

func (x *SelfDeployPlanResponse) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[109]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use SelfDeployPlanResponse.ProtoReflect.Descriptor instead.
func (*SelfDeployPlanResponse) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{109}
}

func (x *SelfDeployPlanResponse) GetSelfDeployPlan() *SelfDeployPlan {
	if x != nil {
		return x.SelfDeployPlan
	}
	return nil
}

type ListSelfDeployPlansResponse struct {
	state           protoimpl.MessageState `protogen:"open.v1"`
	SelfDeployPlans []*SelfDeployPlan      `protobuf:"bytes,1,rep,name=self_deploy_plans,json=selfDeployPlans,proto3" json:"self_deploy_plans,omitempty"`
	Page            *PageResponse          `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"`
	unknownFields   protoimpl.UnknownFields
	sizeCache       protoimpl.SizeCache
}

func (x *ListSelfDeployPlansResponse) Reset() {
	*x = ListSelfDeployPlansResponse{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[110]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListSelfDeployPlansResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListSelfDeployPlansResponse) ProtoMessage() {}

func (x *ListSelfDeployPlansResponse) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[110]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListSelfDeployPlansResponse.ProtoReflect.Descriptor instead.
func (*ListSelfDeployPlansResponse) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{110}
}

func (x *ListSelfDeployPlansResponse) GetSelfDeployPlans() []*SelfDeployPlan {
	if x != nil {
		return x.SelfDeployPlans
	}
	return nil
}

func (x *ListSelfDeployPlansResponse) GetPage() *PageResponse {
	if x != nil {
		return x.Page
	}
	return nil
}

type ListAgentRunsResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Runs          []*AgentRun            `protobuf:"bytes,1,rep,name=runs,proto3" json:"runs,omitempty"`
	Page          *PageResponse          `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListAgentRunsResponse) Reset() {
	*x = ListAgentRunsResponse{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[111]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListAgentRunsResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListAgentRunsResponse) ProtoMessage() {}

func (x *ListAgentRunsResponse) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[111]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListAgentRunsResponse.ProtoReflect.Descriptor instead.
func (*ListAgentRunsResponse) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{111}
}

func (x *ListAgentRunsResponse) GetRuns() []*AgentRun {
	if x != nil {
		return x.Runs
	}
	return nil
}

func (x *ListAgentRunsResponse) GetPage() *PageResponse {
	if x != nil {
		return x.Page
	}
	return nil
}

type ListAgentSessionsResponse struct {
	state         protoimpl.MessageState  `protogen:"open.v1"`
	Sessions      []*AgentSessionListItem `protobuf:"bytes,1,rep,name=sessions,proto3" json:"sessions,omitempty"`
	Page          *PageResponse           `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListAgentSessionsResponse) Reset() {
	*x = ListAgentSessionsResponse{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[112]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListAgentSessionsResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListAgentSessionsResponse) ProtoMessage() {}

func (x *ListAgentSessionsResponse) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[112]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListAgentSessionsResponse.ProtoReflect.Descriptor instead.
func (*ListAgentSessionsResponse) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{112}
}

func (x *ListAgentSessionsResponse) GetSessions() []*AgentSessionListItem {
	if x != nil {
		return x.Sessions
	}
	return nil
}

func (x *ListAgentSessionsResponse) GetPage() *PageResponse {
	if x != nil {
		return x.Page
	}
	return nil
}

type ListAgentRunSummariesResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Runs          []*AgentRunListItem    `protobuf:"bytes,1,rep,name=runs,proto3" json:"runs,omitempty"`
	Page          *PageResponse          `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListAgentRunSummariesResponse) Reset() {
	*x = ListAgentRunSummariesResponse{}
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[113]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListAgentRunSummariesResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListAgentRunSummariesResponse) ProtoMessage() {}

func (x *ListAgentRunSummariesResponse) ProtoReflect() protoreflect.Message {
	mi := &file_kodex_agents_v1_agent_manager_proto_msgTypes[113]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListAgentRunSummariesResponse.ProtoReflect.Descriptor instead.
func (*ListAgentRunSummariesResponse) Descriptor() ([]byte, []int) {
	return file_kodex_agents_v1_agent_manager_proto_rawDescGZIP(), []int{113}
}

func (x *ListAgentRunSummariesResponse) GetRuns() []*AgentRunListItem {
	if x != nil {
		return x.Runs
	}
	return nil
}

func (x *ListAgentRunSummariesResponse) GetPage() *PageResponse {
	if x != nil {
		return x.Page
	}
	return nil
}

var File_kodex_agents_v1_agent_manager_proto protoreflect.FileDescriptor

const file_kodex_agents_v1_agent_manager_proto_rawDesc = "" +
	"\n" +
	"#kodex/agents/v1/agent_manager.proto\x12\x0fkodex.agents.v1\x1a%kodex/providers/v1/provider_hub.proto\x1a&kodex/runtime/v1/runtime_manager.proto\"\xf6\x02\n" +
	"\vCommandMeta\x12\"\n" +
	"\n" +
	"command_id\x18\x01 \x01(\tH\x00R\tcommandId\x88\x01\x01\x12,\n" +
	"\x0fidempotency_key\x18\x02 \x01(\tH\x01R\x0eidempotencyKey\x88\x01\x01\x12.\n" +
	"\x10expected_version\x18\x03 \x01(\x03H\x02R\x0fexpectedVersion\x88\x01\x01\x12,\n" +
	"\x05actor\x18\x04 \x01(\v2\x16.kodex.agents.v1.ActorR\x05actor\x12\x16\n" +
	"\x06reason\x18\x05 \x01(\tR\x06reason\x12\x1d\n" +
	"\n" +
	"request_id\x18\x06 \x01(\tR\trequestId\x12H\n" +
	"\x0frequest_context\x18\a \x01(\v2\x1f.kodex.agents.v1.RequestContextR\x0erequestContextB\r\n" +
	"\v_command_idB\x12\n" +
	"\x10_idempotency_keyB\x13\n" +
	"\x11_expected_version\"\xa2\x01\n" +
	"\tQueryMeta\x12,\n" +
	"\x05actor\x18\x01 \x01(\v2\x16.kodex.agents.v1.ActorR\x05actor\x12\x1d\n" +
	"\n" +
	"request_id\x18\x02 \x01(\tR\trequestId\x12H\n" +
	"\x0frequest_context\x18\x03 \x01(\v2\x1f.kodex.agents.v1.RequestContextR\x0erequestContext\"\xc6\x01\n" +
	"\x0eRequestContext\x12\x16\n" +
	"\x06source\x18\x01 \x01(\tR\x06source\x12\x1e\n" +
	"\btrace_id\x18\x02 \x01(\tH\x00R\atraceId\x88\x01\x01\x12\"\n" +
	"\n" +
	"session_id\x18\x03 \x01(\tH\x01R\tsessionId\x88\x01\x01\x12)\n" +
	"\x0eclient_ip_hash\x18\x04 \x01(\tH\x02R\fclientIpHash\x88\x01\x01B\v\n" +
	"\t_trace_idB\r\n" +
	"\v_session_idB\x11\n" +
	"\x0f_client_ip_hash\"+\n" +
	"\x05Actor\x12\x12\n" +
	"\x04type\x18\x01 \x01(\tR\x04type\x12\x0e\n" +
	"\x02id\x18\x02 \x01(\tR\x02id\"]\n" +
	"\vPageRequest\x12\x1b\n" +
	"\tpage_size\x18\x01 \x01(\x05R\bpageSize\x12\"\n" +
	"\n" +
	"page_token\x18\x02 \x01(\tH\x00R\tpageToken\x88\x01\x01B\r\n" +
	"\v_page_token\"O\n" +
	"\fPageResponse\x12+\n" +
	"\x0fnext_page_token\x18\x01 \x01(\tH\x00R\rnextPageToken\x88\x01\x01B\x12\n" +
	"\x10_next_page_token\";\n" +
	"\rLocalizedText\x12\x16\n" +
	"\x06locale\x18\x01 \x01(\tR\x06locale\x12\x12\n" +
	"\x04text\x18\x02 \x01(\tR\x04text\"Q\n" +
	"\bScopeRef\x123\n" +
	"\x04type\x18\x01 \x01(\x0e2\x1f.kodex.agents.v1.AgentScopeTypeR\x04type\x12\x10\n" +
	"\x03ref\x18\x02 \x01(\tR\x03ref\"\x8f\x02\n" +
	"\x11ProviderTargetRef\x12'\n" +
	"\rwork_item_ref\x18\x01 \x01(\tH\x00R\vworkItemRef\x88\x01\x01\x12-\n" +
	"\x10pull_request_ref\x18\x02 \x01(\tH\x01R\x0epullRequestRef\x88\x01\x01\x12$\n" +
	"\vcomment_ref\x18\x03 \x01(\tH\x02R\n" +
	"commentRef\x88\x01\x01\x12/\n" +
	"\x11review_signal_ref\x18\x04 \x01(\tH\x03R\x0freviewSignalRef\x88\x01\x01B\x10\n" +
	"\x0e_work_item_refB\x13\n" +
	"\x11_pull_request_refB\x0e\n" +
	"\f_comment_refB\x14\n" +
	"\x12_review_signal_ref\"\xf4\x04\n" +
	"\x14GovernanceContextRef\x123\n" +
	"\x13risk_assessment_ref\x18\x01 \x01(\tH\x00R\x11riskAssessmentRef\x88\x01\x01\x12-\n" +
	"\x10gate_request_ref\x18\x02 \x01(\tH\x01R\x0egateRequestRef\x88\x01\x01\x12/\n" +
	"\x11gate_decision_ref\x18\x03 \x01(\tH\x02R\x0fgateDecisionRef\x88\x01\x01\x12D\n" +
	"\x1crelease_decision_package_ref\x18\x04 \x01(\tH\x03R\x19releaseDecisionPackageRef\x88\x01\x01\x125\n" +
	"\x14release_decision_ref\x18\x05 \x01(\tH\x04R\x12releaseDecisionRef\x88\x01\x01\x12-\n" +
	"\x10risk_profile_ref\x18\x06 \x01(\tH\x05R\x0eriskProfileRef\x88\x01\x01\x12+\n" +
	"\x0fgate_policy_ref\x18\a \x01(\tH\x06R\rgatePolicyRef\x88\x01\x01\x121\n" +
	"\x12release_policy_ref\x18\b \x01(\tH\aR\x10releasePolicyRef\x88\x01\x01B\x16\n" +
	"\x14_risk_assessment_refB\x13\n" +
	"\x11_gate_request_refB\x14\n" +
	"\x12_gate_decision_refB\x1f\n" +
	"\x1d_release_decision_package_refB\x17\n" +
	"\x15_release_decision_refB\x13\n" +
	"\x11_risk_profile_refB\x12\n" +
	"\x10_gate_policy_refB\x15\n" +
	"\x13_release_policy_ref\"\xdc\x01\n" +
	"\x11RuntimeContextRef\x12\x1e\n" +
	"\bslot_ref\x18\x01 \x01(\tH\x00R\aslotRef\x88\x01\x01\x12\x1c\n" +
	"\ajob_ref\x18\x02 \x01(\tH\x01R\x06jobRef\x88\x01\x01\x12(\n" +
	"\rworkspace_ref\x18\x03 \x01(\tH\x02R\fworkspaceRef\x88\x01\x01\x12$\n" +
	"\vcontext_ref\x18\x04 \x01(\tH\x03R\n" +
	"contextRef\x88\x01\x01B\v\n" +
	"\t_slot_refB\n" +
	"\n" +
	"\b_job_refB\x10\n" +
	"\x0e_workspace_refB\x0e\n" +
	"\f_context_ref\"\xe3\x04\n" +
	"\vGuidanceRef\x128\n" +
	"\x18package_installation_ref\x18\x01 \x01(\tR\x16packageInstallationRef\x12.\n" +
	"\x13package_version_ref\x18\x02 \x01(\tR\x11packageVersionRef\x12'\n" +
	"\x0fmanifest_digest\x18\x03 \x01(\tR\x0emanifestDigest\x12\"\n" +
	"\n" +
	"source_ref\x18\x04 \x01(\tH\x00R\tsourceRef\x88\x01\x01\x12*\n" +
	"\x0ecapability_ref\x18\x05 \x01(\tH\x01R\rcapabilityRef\x88\x01\x01\x12,\n" +
	"\x0fcapability_kind\x18\x06 \x01(\tH\x02R\x0ecapabilityKind\x88\x01\x01\x12$\n" +
	"\vpackage_ref\x18\a \x01(\tH\x03R\n" +
	"packageRef\x88\x01\x01\x12&\n" +
	"\fpackage_slug\x18\b \x01(\tH\x04R\vpackageSlug\x88\x01\x01\x127\n" +
	"\x15package_version_label\x18\t \x01(\tH\x05R\x13packageVersionLabel\x88\x01\x01\x123\n" +
	"\x13policy_summary_json\x18\n" +
	" \x01(\tH\x06R\x11policySummaryJson\x88\x01\x01B\r\n" +
	"\v_source_refB\x11\n" +
	"\x0f_capability_refB\x12\n" +
	"\x10_capability_kindB\x0e\n" +
	"\f_package_refB\x0f\n" +
	"\r_package_slugB\x18\n" +
	"\x16_package_version_labelB\x16\n" +
	"\x14_policy_summary_json\"\xac\x01\n" +
	"\x15GuidanceSelectionHint\x12=\n" +
	"\x18package_installation_ref\x18\x01 \x01(\tH\x00R\x16packageInstallationRef\x88\x01\x01\x12&\n" +
	"\fpackage_slug\x18\x02 \x01(\tH\x01R\vpackageSlug\x88\x01\x01B\x1b\n" +
	"\x19_package_installation_refB\x0f\n" +
	"\r_package_slug\"\x96\x01\n" +
	"\tObjectRef\x12\x1d\n" +
	"\n" +
	"object_uri\x18\x01 \x01(\tR\tobjectUri\x12#\n" +
	"\robject_digest\x18\x02 \x01(\tR\fobjectDigest\x12/\n" +
	"\x11object_size_bytes\x18\x03 \x01(\x03H\x00R\x0fobjectSizeBytes\x88\x01\x01B\x14\n" +
	"\x12_object_size_bytes\"\xf5\x03\n" +
	"\x04Flow\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12/\n" +
	"\x05scope\x18\x02 \x01(\v2\x19.kodex.agents.v1.ScopeRefR\x05scope\x12\x12\n" +
	"\x04slug\x18\x03 \x01(\tR\x04slug\x12A\n" +
	"\fdisplay_name\x18\x04 \x03(\v2\x1e.kodex.agents.v1.LocalizedTextR\vdisplayName\x12@\n" +
	"\vdescription\x18\x05 \x03(\v2\x1e.kodex.agents.v1.LocalizedTextR\vdescription\x12+\n" +
	"\x0ficon_object_uri\x18\x06 \x01(\tH\x00R\riconObjectUri\x88\x01\x01\x123\n" +
	"\x06status\x18\a \x01(\x0e2\x1b.kodex.agents.v1.FlowStatusR\x06status\x12/\n" +
	"\x11active_version_id\x18\b \x01(\tH\x01R\x0factiveVersionId\x88\x01\x01\x12\x18\n" +
	"\aversion\x18\t \x01(\x03R\aversion\x12\x1d\n" +
	"\n" +
	"created_at\x18\n" +
	" \x01(\tR\tcreatedAt\x12\x1d\n" +
	"\n" +
	"updated_at\x18\v \x01(\tR\tupdatedAtB\x12\n" +
	"\x10_icon_object_uriB\x14\n" +
	"\x12_active_version_id\"\x8b\x04\n" +
	"\vFlowVersion\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n" +
	"\aflow_id\x18\x02 \x01(\tR\x06flowId\x12\x18\n" +
	"\aversion\x18\x03 \x01(\x03R\aversion\x12\"\n" +
	"\n" +
	"source_ref\x18\x04 \x01(\tH\x00R\tsourceRef\x88\x01\x01\x12+\n" +
	"\x11definition_digest\x18\x05 \x01(\tR\x10definitionDigest\x12:\n" +
	"\x06status\x18\x06 \x01(\x0e2\".kodex.agents.v1.FlowVersionStatusR\x06status\x12.\n" +
	"\x06stages\x18\a \x03(\v2\x16.kodex.agents.v1.StageR\x06stages\x12B\n" +
	"\vtransitions\x18\b \x03(\v2 .kodex.agents.v1.StageTransitionR\vtransitions\x12Q\n" +
	"\x13stage_role_bindings\x18\t \x03(\v2!.kodex.agents.v1.StageRoleBindingR\x11stageRoleBindings\x12&\n" +
	"\factivated_at\x18\n" +
	" \x01(\tH\x01R\vactivatedAt\x88\x01\x01\x12\x1d\n" +
	"\n" +
	"created_at\x18\v \x01(\tR\tcreatedAtB\r\n" +
	"\v_source_refB\x0f\n" +
	"\r_activated_at\"\x9c\x03\n" +
	"\x05Stage\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12&\n" +
	"\x0fflow_version_id\x18\x02 \x01(\tR\rflowVersionId\x12\x12\n" +
	"\x04slug\x18\x03 \x01(\tR\x04slug\x129\n" +
	"\n" +
	"stage_type\x18\x04 \x01(\x0e2\x1a.kodex.agents.v1.StageTypeR\tstageType\x12A\n" +
	"\fdisplay_name\x18\x05 \x03(\v2\x1e.kodex.agents.v1.LocalizedTextR\vdisplayName\x12+\n" +
	"\x0ficon_object_uri\x18\x06 \x01(\tH\x00R\riconObjectUri\x88\x01\x01\x126\n" +
	"\x17required_artifacts_json\x18\a \x01(\tR\x15requiredArtifactsJson\x124\n" +
	"\x16acceptance_policy_json\x18\b \x01(\tR\x14acceptancePolicyJson\x12\x1a\n" +
	"\bposition\x18\t \x01(\x05R\bpositionB\x12\n" +
	"\x10_icon_object_uri\"\x89\x02\n" +
	"\x0fStageTransition\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12&\n" +
	"\x0fflow_version_id\x18\x02 \x01(\tR\rflowVersionId\x12'\n" +
	"\rfrom_stage_id\x18\x03 \x01(\tH\x00R\vfromStageId\x88\x01\x01\x12\x1e\n" +
	"\vto_stage_id\x18\x04 \x01(\tR\ttoStageId\x12%\n" +
	"\x0econdition_json\x18\x05 \x01(\tR\rconditionJson\x12)\n" +
	"\x0efollow_up_type\x18\x06 \x01(\tH\x01R\ffollowUpType\x88\x01\x01B\x10\n" +
	"\x0e_from_stage_idB\x11\n" +
	"\x0f_follow_up_type\"\xe4\x04\n" +
	"\vRoleProfile\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12/\n" +
	"\x05scope\x18\x02 \x01(\v2\x19.kodex.agents.v1.ScopeRefR\x05scope\x12\x12\n" +
	"\x04slug\x18\x03 \x01(\tR\x04slug\x12A\n" +
	"\fdisplay_name\x18\x04 \x03(\v2\x1e.kodex.agents.v1.LocalizedTextR\vdisplayName\x12+\n" +
	"\x0ficon_object_uri\x18\x05 \x01(\tH\x00R\riconObjectUri\x88\x01\x01\x126\n" +
	"\trole_kind\x18\x06 \x01(\x0e2\x19.kodex.agents.v1.RoleKindR\broleKind\x12'\n" +
	"\x0fruntime_profile\x18\a \x01(\tR\x0eruntimeProfile\x12*\n" +
	"\x11allowed_mcp_tools\x18\b \x03(\tR\x0fallowedMcpTools\x12B\n" +
	"\x1bprovider_account_policy_ref\x18\t \x01(\tH\x01R\x18providerAccountPolicyRef\x88\x01\x01\x123\n" +
	"\x06status\x18\n" +
	" \x01(\x0e2\x1b.kodex.agents.v1.RoleStatusR\x06status\x12\x18\n" +
	"\aversion\x18\v \x01(\x03R\aversion\x12\x1d\n" +
	"\n" +
	"created_at\x18\f \x01(\tR\tcreatedAt\x12\x1d\n" +
	"\n" +
	"updated_at\x18\r \x01(\tR\tupdatedAtB\x12\n" +
	"\x10_icon_object_uriB\x1e\n" +
	"\x1c_provider_account_policy_ref\"\xa5\x02\n" +
	"\x0ePromptTemplate\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12&\n" +
	"\x0frole_profile_id\x18\x02 \x01(\tR\rroleProfileId\x12<\n" +
	"\vprompt_kind\x18\x03 \x01(\x0e2\x1b.kodex.agents.v1.PromptKindR\n" +
	"promptKind\x12/\n" +
	"\x11active_version_id\x18\x04 \x01(\tH\x00R\x0factiveVersionId\x88\x01\x01\x12\x18\n" +
	"\aversion\x18\x05 \x01(\x03R\aversion\x12\x1d\n" +
	"\n" +
	"created_at\x18\x06 \x01(\tR\tcreatedAt\x12\x1d\n" +
	"\n" +
	"updated_at\x18\a \x01(\tR\tupdatedAtB\x14\n" +
	"\x12_active_version_id\"\xa5\x04\n" +
	"\x15PromptTemplateVersion\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12,\n" +
	"\x12prompt_template_id\x18\x02 \x01(\tR\x10promptTemplateId\x12&\n" +
	"\x0frole_profile_id\x18\x03 \x01(\tR\rroleProfileId\x12<\n" +
	"\vprompt_kind\x18\x04 \x01(\x0e2\x1b.kodex.agents.v1.PromptKindR\n" +
	"promptKind\x12\x18\n" +
	"\aversion\x18\x05 \x01(\x03R\aversion\x12\"\n" +
	"\n" +
	"source_ref\x18\x06 \x01(\tH\x00R\tsourceRef\x88\x01\x01\x12H\n" +
	"\x0ftemplate_object\x18\a \x01(\v2\x1a.kodex.agents.v1.ObjectRefH\x01R\x0etemplateObject\x88\x01\x01\x12'\n" +
	"\x0ftemplate_digest\x18\b \x01(\tR\x0etemplateDigest\x12<\n" +
	"\x06status\x18\t \x01(\x0e2$.kodex.agents.v1.PromptVersionStatusR\x06status\x12\x1d\n" +
	"\n" +
	"created_at\x18\n" +
	" \x01(\tR\tcreatedAt\x12&\n" +
	"\factivated_at\x18\v \x01(\tH\x02R\vactivatedAt\x88\x01\x01B\r\n" +
	"\v_source_refB\x12\n" +
	"\x10_template_objectB\x0f\n" +
	"\r_activated_at\"\x95\x02\n" +
	"\x10StageRoleBinding\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12\x19\n" +
	"\bstage_id\x18\x02 \x01(\tR\astageId\x12&\n" +
	"\x0frole_profile_id\x18\x03 \x01(\tR\rroleProfileId\x12H\n" +
	"\fbinding_kind\x18\x04 \x01(\x0e2%.kodex.agents.v1.StageRoleBindingKindR\vbindingKind\x12,\n" +
	"\x12launch_policy_json\x18\x05 \x01(\tR\x10launchPolicyJson\x126\n" +
	"\x17required_for_acceptance\x18\x06 \x01(\bR\x15requiredForAcceptance\"\xca\x04\n" +
	"\fAgentSession\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12/\n" +
	"\x05scope\x18\x02 \x01(\v2\x19.kodex.agents.v1.ScopeRefR\x05scope\x128\n" +
	"\x16provider_work_item_ref\x18\x03 \x01(\tH\x00R\x13providerWorkItemRef\x88\x01\x01\x12+\n" +
	"\x0fflow_version_id\x18\x04 \x01(\tH\x01R\rflowVersionId\x88\x01\x01\x12-\n" +
	"\x10current_stage_id\x18\x05 \x01(\tH\x02R\x0ecurrentStageId\x88\x01\x01\x12<\n" +
	"\x18latest_state_snapshot_id\x18\x06 \x01(\tH\x03R\x15latestStateSnapshotId\x88\x01\x01\x12;\n" +
	"\x06status\x18\a \x01(\x0e2#.kodex.agents.v1.AgentSessionStatusR\x06status\x12/\n" +
	"\x14created_by_actor_ref\x18\b \x01(\tR\x11createdByActorRef\x12\x18\n" +
	"\aversion\x18\t \x01(\x03R\aversion\x12\x1d\n" +
	"\n" +
	"created_at\x18\n" +
	" \x01(\tR\tcreatedAt\x12\x1d\n" +
	"\n" +
	"updated_at\x18\v \x01(\tR\tupdatedAtB\x19\n" +
	"\x17_provider_work_item_refB\x12\n" +
	"\x10_flow_version_idB\x13\n" +
	"\x11_current_stage_idB\x1b\n" +
	"\x19_latest_state_snapshot_id\"\xf3\a\n" +
	"\bAgentRun\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12\x1d\n" +
	"\n" +
	"session_id\x18\x02 \x01(\tR\tsessionId\x12+\n" +
	"\x0fflow_version_id\x18\x03 \x01(\tH\x00R\rflowVersionId\x88\x01\x01\x12\x1e\n" +
	"\bstage_id\x18\x04 \x01(\tH\x01R\astageId\x88\x01\x01\x12&\n" +
	"\x0frole_profile_id\x18\x05 \x01(\tR\rroleProfileId\x120\n" +
	"\x14role_profile_version\x18\x06 \x01(\x03R\x12roleProfileVersion\x12.\n" +
	"\x13role_profile_digest\x18\a \x01(\tR\x11roleProfileDigest\x12;\n" +
	"\x1aprompt_template_version_id\x18\b \x01(\tR\x17promptTemplateVersionId\x124\n" +
	"\x16prompt_template_digest\x18\t \x01(\tR\x14promptTemplateDigest\x12K\n" +
	"\x0fruntime_context\x18\n" +
	" \x01(\v2\".kodex.agents.v1.RuntimeContextRefR\x0eruntimeContext\x12K\n" +
	"\x0fprovider_target\x18\v \x01(\v2\".kodex.agents.v1.ProviderTargetRefR\x0eproviderTarget\x12A\n" +
	"\rguidance_refs\x18\f \x03(\v2\x1c.kodex.agents.v1.GuidanceRefR\fguidanceRefs\x127\n" +
	"\x06status\x18\r \x01(\x0e2\x1f.kodex.agents.v1.AgentRunStatusR\x06status\x12*\n" +
	"\x0eresult_summary\x18\x0e \x01(\tH\x02R\rresultSummary\x88\x01\x01\x12&\n" +
	"\ffailure_code\x18\x0f \x01(\tH\x03R\vfailureCode\x88\x01\x01\x12\x18\n" +
	"\aversion\x18\x10 \x01(\x03R\aversion\x12\"\n" +
	"\n" +
	"started_at\x18\x11 \x01(\tH\x04R\tstartedAt\x88\x01\x01\x12$\n" +
	"\vfinished_at\x18\x12 \x01(\tH\x05R\n" +
	"finishedAt\x88\x01\x01\x12\x1d\n" +
	"\n" +
	"created_at\x18\x13 \x01(\tR\tcreatedAt\x12\x1d\n" +
	"\n" +
	"updated_at\x18\x14 \x01(\tR\tupdatedAtB\x12\n" +
	"\x10_flow_version_idB\v\n" +
	"\t_stage_idB\x11\n" +
	"\x0f_result_summaryB\x0f\n" +
	"\r_failure_codeB\r\n" +
	"\v_started_atB\x0e\n" +
	"\f_finished_at\"\xe8\x02\n" +
	"\x19AgentSessionStateSnapshot\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12\x1d\n" +
	"\n" +
	"session_id\x18\x02 \x01(\tR\tsessionId\x12\x1a\n" +
	"\x06run_id\x18\x03 \x01(\tH\x00R\x05runId\x88\x01\x01\x12N\n" +
	"\rsnapshot_kind\x18\x04 \x01(\x0e2).kodex.agents.v1.AgentSessionSnapshotKindR\fsnapshotKind\x12\"\n" +
	"\n" +
	"turn_index\x18\x05 \x01(\x03H\x01R\tturnIndex\x88\x01\x01\x122\n" +
	"\x06object\x18\x06 \x01(\v2\x1a.kodex.agents.v1.ObjectRefR\x06object\x12\x1f\n" +
	"\vcaptured_at\x18\a \x01(\tR\n" +
	"capturedAt\x12\x1d\n" +
	"\n" +
	"created_at\x18\b \x01(\tR\tcreatedAtB\t\n" +
	"\a_run_idB\r\n" +
	"\v_turn_index\"\x99\x04\n" +
	"\x10AcceptanceResult\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12\x1d\n" +
	"\n" +
	"session_id\x18\x02 \x01(\tR\tsessionId\x12\x1a\n" +
	"\x06run_id\x18\x03 \x01(\tH\x00R\x05runId\x88\x01\x01\x12\x1e\n" +
	"\bstage_id\x18\x04 \x01(\tH\x01R\astageId\x88\x01\x01\x12C\n" +
	"\n" +
	"check_kind\x18\x05 \x01(\x0e2$.kodex.agents.v1.AcceptanceCheckKindR\tcheckKind\x129\n" +
	"\x06status\x18\x06 \x01(\x0e2!.kodex.agents.v1.AcceptanceStatusR\x06status\x12\"\n" +
	"\n" +
	"target_ref\x18\a \x01(\tH\x02R\ttargetRef\x88\x01\x01\x12!\n" +
	"\fdetails_json\x18\b \x01(\tR\vdetailsJson\x12\x18\n" +
	"\aversion\x18\t \x01(\x03R\aversion\x12\x1d\n" +
	"\n" +
	"created_at\x18\n" +
	" \x01(\tR\tcreatedAt\x12\x1d\n" +
	"\n" +
	"updated_at\x18\v \x01(\tR\tupdatedAt\x12T\n" +
	"\x12governance_context\x18\f \x01(\v2%.kodex.agents.v1.GovernanceContextRefR\x11governanceContextB\t\n" +
	"\a_run_idB\v\n" +
	"\t_stage_idB\r\n" +
	"\v_target_ref\"\xbe\b\n" +
	"\x0eFollowUpIntent\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12\x1d\n" +
	"\n" +
	"session_id\x18\x02 \x01(\tR\tsessionId\x12'\n" +
	"\rfrom_stage_id\x18\x03 \x01(\tH\x00R\vfromStageId\x88\x01\x01\x12#\n" +
	"\vto_stage_id\x18\x04 \x01(\tH\x01R\ttoStageId\x88\x01\x01\x125\n" +
	"\x17provider_work_item_type\x18\x05 \x01(\tR\x14providerWorkItemType\x129\n" +
	"\x16provider_operation_ref\x18\x06 \x01(\tH\x02R\x14providerOperationRef\x88\x01\x01\x12=\n" +
	"\x06status\x18\a \x01(\x0e2%.kodex.agents.v1.FollowUpIntentStatusR\x06status\x12;\n" +
	"\x17instruction_body_digest\x18\b \x01(\tH\x03R\x15instructionBodyDigest\x88\x01\x01\x12\x18\n" +
	"\aversion\x18\t \x01(\x03R\aversion\x12\x1d\n" +
	"\n" +
	"created_at\x18\n" +
	" \x01(\tR\tcreatedAt\x12\x1d\n" +
	"\n" +
	"updated_at\x18\v \x01(\tR\tupdatedAt\x12\x1a\n" +
	"\x06run_id\x18\f \x01(\tH\x04R\x05runId\x88\x01\x01\x125\n" +
	"\x14acceptance_result_id\x18\r \x01(\tH\x05R\x12acceptanceResultId\x88\x01\x01\x12K\n" +
	"\x0fprovider_target\x18\x0e \x01(\v2\".kodex.agents.v1.ProviderTargetRefR\x0eproviderTarget\x12\"\n" +
	"\n" +
	"safe_title\x18\x0f \x01(\tH\x06R\tsafeTitle\x88\x01\x01\x12&\n" +
	"\fsafe_summary\x18\x10 \x01(\tH\aR\vsafeSummary\x88\x01\x01\x12 \n" +
	"\trole_hint\x18\x11 \x01(\tH\bR\broleHint\x88\x01\x01\x12\"\n" +
	"\n" +
	"stage_hint\x18\x12 \x01(\tH\tR\tstageHint\x88\x01\x01\x12'\n" +
	"\x0fidempotency_key\x18\x13 \x01(\tR\x0eidempotencyKey\x12T\n" +
	"\x12governance_context\x18\x14 \x01(\v2%.kodex.agents.v1.GovernanceContextRefR\x11governanceContextB\x10\n" +
	"\x0e_from_stage_idB\x0e\n" +
	"\f_to_stage_idB\x19\n" +
	"\x17_provider_operation_refB\x1a\n" +
	"\x18_instruction_body_digestB\t\n" +
	"\a_run_idB\x17\n" +
	"\x15_acceptance_result_idB\r\n" +
	"\v_safe_titleB\x0f\n" +
	"\r_safe_summaryB\f\n" +
	"\n" +
	"_role_hintB\r\n" +
	"\v_stage_hint\"\x9c\b\n" +
	"\rAgentActivity\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12\x1d\n" +
	"\n" +
	"session_id\x18\x02 \x01(\tR\tsessionId\x12\x1a\n" +
	"\x06run_id\x18\x03 \x01(\tH\x00R\x05runId\x88\x01\x01\x12\x1c\n" +
	"\aturn_id\x18\x04 \x01(\tH\x01R\x06turnId\x88\x01\x01\x12#\n" +
	"\vtool_use_id\x18\x05 \x01(\tH\x02R\ttoolUseId\x88\x01\x01\x12G\n" +
	"\ractivity_kind\x18\x06 \x01(\x0e2\".kodex.agents.v1.AgentActivityKindR\factivityKind\x12 \n" +
	"\ttool_name\x18\a \x01(\tH\x03R\btoolName\x88\x01\x01\x12(\n" +
	"\rtool_category\x18\b \x01(\tH\x04R\ftoolCategory\x88\x01\x01\x12<\n" +
	"\x06status\x18\t \x01(\x0e2$.kodex.agents.v1.AgentActivityStatusR\x06status\x12\"\n" +
	"\n" +
	"started_at\x18\n" +
	" \x01(\tH\x05R\tstartedAt\x88\x01\x01\x12$\n" +
	"\vfinished_at\x18\v \x01(\tH\x06R\n" +
	"finishedAt\x88\x01\x01\x12$\n" +
	"\vduration_ms\x18\f \x01(\x03H\aR\n" +
	"durationMs\x88\x01\x01\x12&\n" +
	"\fsafe_summary\x18\r \x01(\tH\bR\vsafeSummary\x88\x01\x01\x12*\n" +
	"\x0epayload_digest\x18\x0e \x01(\tH\tR\rpayloadDigest\x88\x01\x01\x12(\n" +
	"\rbounded_error\x18\x0f \x01(\tH\n" +
	"R\fboundedError\x88\x01\x01\x12$\n" +
	"\x0esafe_refs_json\x18\x10 \x01(\tR\fsafeRefsJson\x12*\n" +
	"\x11safe_details_json\x18\x11 \x01(\tR\x0fsafeDetailsJson\x12*\n" +
	"\x0ecorrelation_id\x18\x12 \x01(\tH\vR\rcorrelationId\x88\x01\x01\x12'\n" +
	"\x0fidempotency_key\x18\x13 \x01(\tR\x0eidempotencyKey\x12\x18\n" +
	"\aversion\x18\x14 \x01(\x03R\aversion\x12\x1d\n" +
	"\n" +
	"created_at\x18\x15 \x01(\tR\tcreatedAt\x12\x1d\n" +
	"\n" +
	"updated_at\x18\x16 \x01(\tR\tupdatedAtB\t\n" +
	"\a_run_idB\n" +
	"\n" +
	"\b_turn_idB\x0e\n" +
	"\f_tool_use_idB\f\n" +
	"\n" +
	"_tool_nameB\x10\n" +
	"\x0e_tool_categoryB\r\n" +
	"\v_started_atB\x0e\n" +
	"\f_finished_atB\x0e\n" +
	"\f_duration_msB\x0f\n" +
	"\r_safe_summaryB\x11\n" +
	"\x0f_payload_digestB\x10\n" +
	"\x0e_bounded_errorB\x11\n" +
	"\x0f_correlation_id\"\xd8\t\n" +
	"\x10HumanGateRequest\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12\x1d\n" +
	"\n" +
	"session_id\x18\x02 \x01(\tR\tsessionId\x12\x1a\n" +
	"\x06run_id\x18\x03 \x01(\tH\x00R\x05runId\x88\x01\x01\x12\x1e\n" +
	"\bstage_id\x18\x04 \x01(\tH\x01R\astageId\x88\x01\x01\x125\n" +
	"\x14acceptance_result_id\x18\x05 \x01(\tH\x02R\x12acceptanceResultId\x88\x01\x01\x12K\n" +
	"\x0fprovider_target\x18\x06 \x01(\v2\".kodex.agents.v1.ProviderTargetRefR\x0eproviderTarget\x12\"\n" +
	"\n" +
	"target_ref\x18\a \x01(\tH\x03R\ttargetRef\x88\x01\x01\x12!\n" +
	"\frequest_kind\x18\b \x01(\tR\vrequestKind\x12\x1f\n" +
	"\vreason_code\x18\t \x01(\tR\n" +
	"reasonCode\x12&\n" +
	"\fsafe_summary\x18\n" +
	" \x01(\tH\x04R\vsafeSummary\x88\x01\x01\x12;\n" +
	"\x17interaction_request_ref\x18\v \x01(\tH\x05R\x15interactionRequestRef\x88\x01\x01\x12=\n" +
	"\x18interaction_response_ref\x18\f \x01(\tH\x06R\x16interactionResponseRef\x88\x01\x01\x12B\n" +
	"\x1bgovernance_gate_request_ref\x18\r \x01(\tH\aR\x18governanceGateRequestRef\x88\x01\x01\x12;\n" +
	"\x17governance_decision_ref\x18\x0e \x01(\tH\bR\x15governanceDecisionRef\x88\x01\x01\x128\n" +
	"\x06status\x18\x0f \x01(\x0e2 .kodex.agents.v1.HumanGateStatusR\x06status\x12;\n" +
	"\aoutcome\x18\x10 \x01(\x0e2!.kodex.agents.v1.HumanGateOutcomeR\aoutcome\x12'\n" +
	"\x0fidempotency_key\x18\x11 \x01(\tR\x0eidempotencyKey\x12\x18\n" +
	"\aversion\x18\x12 \x01(\x03R\aversion\x12\x1d\n" +
	"\n" +
	"created_at\x18\x13 \x01(\tR\tcreatedAt\x12\x1d\n" +
	"\n" +
	"updated_at\x18\x14 \x01(\tR\tupdatedAt\x12$\n" +
	"\vresolved_at\x18\x15 \x01(\tH\tR\n" +
	"resolvedAt\x88\x01\x01\x12T\n" +
	"\x12governance_context\x18\x16 \x01(\v2%.kodex.agents.v1.GovernanceContextRefR\x11governanceContextB\t\n" +
	"\a_run_idB\v\n" +
	"\t_stage_idB\x17\n" +
	"\x15_acceptance_result_idB\r\n" +
	"\v_target_refB\x0f\n" +
	"\r_safe_summaryB\x1a\n" +
	"\x18_interaction_request_refB\x1b\n" +
	"\x19_interaction_response_refB\x1e\n" +
	"\x1c_governance_gate_request_refB\x1a\n" +
	"\x18_governance_decision_refB\x0e\n" +
	"\f_resolved_at\"\x8c\x12\n" +
	"\x0eSelfDeployPlan\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12/\n" +
	"\x05scope\x18\x02 \x01(\v2\x19.kodex.agents.v1.ScopeRefR\x05scope\x12\x1f\n" +
	"\vproject_ref\x18\x03 \x01(\tR\n" +
	"projectRef\x12%\n" +
	"\x0erepository_ref\x18\x04 \x01(\tR\rrepositoryRef\x123\n" +
	"\x13provider_signal_ref\x18\x05 \x01(\tH\x00R\x11providerSignalRef\x88\x01\x01\x12\x1d\n" +
	"\n" +
	"source_ref\x18\x06 \x01(\tR\tsourceRef\x12(\n" +
	"\x10merge_commit_sha\x18\a \x01(\tR\x0emergeCommitSha\x12/\n" +
	"\x11services_yaml_ref\x18\b \x01(\tH\x01R\x0fservicesYamlRef\x88\x01\x01\x120\n" +
	"\x14services_yaml_digest\x18\t \x01(\tR\x12servicesYamlDigest\x122\n" +
	"\x15affected_service_keys\x18\n" +
	" \x03(\tR\x13affectedServiceKeys\x12P\n" +
	"\x0fpath_categories\x18\v \x03(\x0e2'.kodex.agents.v1.SelfDeployPathCategoryR\x0epathCategories\x12V\n" +
	"\x1aexpected_runtime_job_types\x18\f \x03(\x0e2\x19.kodex.runtime.v1.JobTypeR\x17expectedRuntimeJobTypes\x12T\n" +
	"\x12governance_context\x18\r \x01(\v2%.kodex.agents.v1.GovernanceContextRefR\x11governanceContext\x12&\n" +
	"\fsafe_summary\x18\x0e \x01(\tH\x02R\vsafeSummary\x88\x01\x01\x12)\n" +
	"\x10plan_fingerprint\x18\x0f \x01(\tR\x0fplanFingerprint\x12'\n" +
	"\x0fidempotency_key\x18\x10 \x01(\tR\x0eidempotencyKey\x12=\n" +
	"\x06status\x18\x11 \x01(\x0e2%.kodex.agents.v1.SelfDeployPlanStatusR\x06status\x12\x18\n" +
	"\aversion\x18\x12 \x01(\x03R\aversion\x12\x1d\n" +
	"\n" +
	"created_at\x18\x13 \x01(\tR\tcreatedAt\x12\x1d\n" +
	"\n" +
	"updated_at\x18\x14 \x01(\tR\tupdatedAt\x12[\n" +
	"\x12runtime_build_jobs\x18\x15 \x03(\v2-.kodex.agents.v1.SelfDeployRuntimeBuildJobRefR\x10runtimeBuildJobs\x12_\n" +
	"\x14runtime_build_status\x18\x16 \x01(\x0e2-.kodex.agents.v1.SelfDeployRuntimeBuildStatusR\x12runtimeBuildStatus\x12H\n" +
	"\x1eruntime_build_plan_fingerprint\x18\x17 \x01(\tH\x03R\x1bruntimeBuildPlanFingerprint\x88\x01\x01\x12<\n" +
	"\x18runtime_build_error_code\x18\x18 \x01(\tH\x04R\x15runtimeBuildErrorCode\x88\x01\x01\x127\n" +
	"\x15runtime_build_summary\x18\x19 \x01(\tH\x05R\x13runtimeBuildSummary\x88\x01\x01\x12(\n" +
	"\rprovider_slug\x18\x1a \x01(\tH\x06R\fproviderSlug\x88\x01\x01\x125\n" +
	"\x14repository_full_name\x18\x1b \x01(\tH\aR\x12repositoryFullName\x88\x01\x01\x129\n" +
	"\x16provider_repository_id\x18\x1c \x01(\tH\bR\x14providerRepositoryId\x88\x01\x01\x12g\n" +
	"\x16runtime_build_contexts\x18\x1d \x03(\v21.kodex.agents.v1.SelfDeployRuntimeBuildContextRefR\x14runtimeBuildContexts\x12^\n" +
	"\x13runtime_deploy_jobs\x18\x1e \x03(\v2..kodex.agents.v1.SelfDeployRuntimeDeployJobRefR\x11runtimeDeployJobs\x12b\n" +
	"\x15runtime_deploy_status\x18\x1f \x01(\x0e2..kodex.agents.v1.SelfDeployRuntimeDeployStatusR\x13runtimeDeployStatus\x12J\n" +
	"\x1fruntime_deploy_plan_fingerprint\x18  \x01(\tH\tR\x1cruntimeDeployPlanFingerprint\x88\x01\x01\x12>\n" +
	"\x19runtime_deploy_error_code\x18! \x01(\tH\n" +
	"R\x16runtimeDeployErrorCode\x88\x01\x01\x129\n" +
	"\x16runtime_deploy_summary\x18\" \x01(\tH\vR\x14runtimeDeploySummary\x88\x01\x01B\x16\n" +
	"\x14_provider_signal_refB\x14\n" +
	"\x12_services_yaml_refB\x0f\n" +
	"\r_safe_summaryB!\n" +
	"\x1f_runtime_build_plan_fingerprintB\x1b\n" +
	"\x19_runtime_build_error_codeB\x18\n" +
	"\x16_runtime_build_summaryB\x10\n" +
	"\x0e_provider_slugB\x17\n" +
	"\x15_repository_full_nameB\x19\n" +
	"\x17_provider_repository_idB\"\n" +
	" _runtime_deploy_plan_fingerprintB\x1c\n" +
	"\x1a_runtime_deploy_error_codeB\x19\n" +
	"\x17_runtime_deploy_summary\"\xcb\x02\n" +
	"\x1cSelfDeployRuntimeBuildJobRef\x12\x1f\n" +
	"\vservice_key\x18\x01 \x01(\tR\n" +
	"serviceKey\x12$\n" +
	"\vservice_ref\x18\x02 \x01(\tH\x00R\n" +
	"serviceRef\x88\x01\x01\x12&\n" +
	"\x0fruntime_job_ref\x18\x03 \x01(\tR\rruntimeJobRef\x121\n" +
	"\x12runtime_job_status\x18\x04 \x01(\tH\x01R\x10runtimeJobStatus\x88\x01\x01\x12B\n" +
	"\x1bbuild_plan_item_fingerprint\x18\x05 \x01(\tH\x02R\x18buildPlanItemFingerprint\x88\x01\x01B\x0e\n" +
	"\f_service_refB\x15\n" +
	"\x13_runtime_job_statusB\x1e\n" +
	"\x1c_build_plan_item_fingerprint\"\x87\x06\n" +
	" SelfDeployRuntimeBuildContextRef\x12\x1f\n" +
	"\vservice_key\x18\x01 \x01(\tR\n" +
	"serviceKey\x12>\n" +
	"\x19runtime_build_context_ref\x18\x02 \x01(\tH\x00R\x16runtimeBuildContextRef\x88\x01\x01\x12D\n" +
	"\x1cruntime_build_context_status\x18\x03 \x01(\tH\x01R\x19runtimeBuildContextStatus\x88\x01\x01\x12/\n" +
	"\x11build_context_ref\x18\x04 \x01(\tH\x02R\x0fbuildContextRef\x88\x01\x01\x125\n" +
	"\x14build_context_digest\x18\x05 \x01(\tH\x03R\x12buildContextDigest\x88\x01\x01\x120\n" +
	"\x11dockerfile_digest\x18\x06 \x01(\tH\x04R\x10dockerfileDigest\x88\x01\x01\x12D\n" +
	"\x1bmaterialization_fingerprint\x18\a \x01(\tH\x05R\x1amaterializationFingerprint\x88\x01\x01\x12B\n" +
	"\x1bbuild_plan_item_fingerprint\x18\b \x01(\tH\x06R\x18buildPlanItemFingerprint\x88\x01\x01\x129\n" +
	"\x16manifest_bundle_digest\x18\t \x01(\tH\aR\x14manifestBundleDigest\x88\x01\x01B\x1c\n" +
	"\x1a_runtime_build_context_refB\x1f\n" +
	"\x1d_runtime_build_context_statusB\x14\n" +
	"\x12_build_context_refB\x17\n" +
	"\x15_build_context_digestB\x14\n" +
	"\x12_dockerfile_digestB\x1e\n" +
	"\x1c_materialization_fingerprintB\x1e\n" +
	"\x1c_build_plan_item_fingerprintB\x19\n" +
	"\x17_manifest_bundle_digest\"\xcf\x02\n" +
	"\x1dSelfDeployRuntimeDeployJobRef\x12\x1f\n" +
	"\vservice_key\x18\x01 \x01(\tR\n" +
	"serviceKey\x12$\n" +
	"\vservice_ref\x18\x02 \x01(\tH\x00R\n" +
	"serviceRef\x88\x01\x01\x12&\n" +
	"\x0fruntime_job_ref\x18\x03 \x01(\tR\rruntimeJobRef\x121\n" +
	"\x12runtime_job_status\x18\x04 \x01(\tH\x01R\x10runtimeJobStatus\x88\x01\x01\x12D\n" +
	"\x1cdeploy_plan_item_fingerprint\x18\x05 \x01(\tH\x02R\x19deployPlanItemFingerprint\x88\x01\x01B\x0e\n" +
	"\f_service_refB\x15\n" +
	"\x13_runtime_job_statusB\x1f\n" +
	"\x1d_deploy_plan_item_fingerprint\"\x98\x02\n" +
	"\x13FlowDefinitionInput\x123\n" +
	"\x06stages\x18\x01 \x03(\v2\x1b.kodex.agents.v1.StageInputR\x06stages\x12G\n" +
	"\vtransitions\x18\x02 \x03(\v2%.kodex.agents.v1.StageTransitionInputR\vtransitions\x12V\n" +
	"\x13stage_role_bindings\x18\x03 \x03(\v2&.kodex.agents.v1.StageRoleBindingInputR\x11stageRoleBindings\x12+\n" +
	"\x11definition_digest\x18\x04 \x01(\tR\x10definitionDigest\"\xe9\x02\n" +
	"\n" +
	"StageInput\x12\x12\n" +
	"\x04slug\x18\x01 \x01(\tR\x04slug\x129\n" +
	"\n" +
	"stage_type\x18\x02 \x01(\x0e2\x1a.kodex.agents.v1.StageTypeR\tstageType\x12A\n" +
	"\fdisplay_name\x18\x03 \x03(\v2\x1e.kodex.agents.v1.LocalizedTextR\vdisplayName\x12+\n" +
	"\x0ficon_object_uri\x18\x04 \x01(\tH\x00R\riconObjectUri\x88\x01\x01\x126\n" +
	"\x17required_artifacts_json\x18\x05 \x01(\tR\x15requiredArtifactsJson\x124\n" +
	"\x16acceptance_policy_json\x18\x06 \x01(\tR\x14acceptancePolicyJson\x12\x1a\n" +
	"\bposition\x18\a \x01(\x05R\bpositionB\x12\n" +
	"\x10_icon_object_uri\"\xe0\x01\n" +
	"\x14StageTransitionInput\x12+\n" +
	"\x0ffrom_stage_slug\x18\x01 \x01(\tH\x00R\rfromStageSlug\x88\x01\x01\x12\"\n" +
	"\rto_stage_slug\x18\x02 \x01(\tR\vtoStageSlug\x12%\n" +
	"\x0econdition_json\x18\x03 \x01(\tR\rconditionJson\x12)\n" +
	"\x0efollow_up_type\x18\x04 \x01(\tH\x01R\ffollowUpType\x88\x01\x01B\x12\n" +
	"\x10_from_stage_slugB\x11\n" +
	"\x0f_follow_up_type\"\x8e\x02\n" +
	"\x15StageRoleBindingInput\x12\x1d\n" +
	"\n" +
	"stage_slug\x18\x01 \x01(\tR\tstageSlug\x12&\n" +
	"\x0frole_profile_id\x18\x02 \x01(\tR\rroleProfileId\x12H\n" +
	"\fbinding_kind\x18\x03 \x01(\x0e2%.kodex.agents.v1.StageRoleBindingKindR\vbindingKind\x12,\n" +
	"\x12launch_policy_json\x18\x04 \x01(\tR\x10launchPolicyJson\x126\n" +
	"\x17required_for_acceptance\x18\x05 \x01(\bR\x15requiredForAcceptance\"\xd0\x02\n" +
	"\x11CreateFlowRequest\x120\n" +
	"\x04meta\x18\x01 \x01(\v2\x1c.kodex.agents.v1.CommandMetaR\x04meta\x12/\n" +
	"\x05scope\x18\x02 \x01(\v2\x19.kodex.agents.v1.ScopeRefR\x05scope\x12\x12\n" +
	"\x04slug\x18\x03 \x01(\tR\x04slug\x12A\n" +
	"\fdisplay_name\x18\x04 \x03(\v2\x1e.kodex.agents.v1.LocalizedTextR\vdisplayName\x12@\n" +
	"\vdescription\x18\x05 \x03(\v2\x1e.kodex.agents.v1.LocalizedTextR\vdescription\x12+\n" +
	"\x0ficon_object_uri\x18\x06 \x01(\tH\x00R\riconObjectUri\x88\x01\x01B\x12\n" +
	"\x10_icon_object_uri\"\xe9\x02\n" +
	"\x11UpdateFlowRequest\x120\n" +
	"\x04meta\x18\x01 \x01(\v2\x1c.kodex.agents.v1.CommandMetaR\x04meta\x12\x17\n" +
	"\aflow_id\x18\x02 \x01(\tR\x06flowId\x12A\n" +
	"\fdisplay_name\x18\x03 \x03(\v2\x1e.kodex.agents.v1.LocalizedTextR\vdisplayName\x12@\n" +
	"\vdescription\x18\x04 \x03(\v2\x1e.kodex.agents.v1.LocalizedTextR\vdescription\x12+\n" +
	"\x0ficon_object_uri\x18\x05 \x01(\tH\x00R\riconObjectUri\x88\x01\x01\x128\n" +
	"\x06status\x18\x06 \x01(\x0e2\x1b.kodex.agents.v1.FlowStatusH\x01R\x06status\x88\x01\x01B\x12\n" +
	"\x10_icon_object_uriB\t\n" +
	"\a_status\"\xde\x01\n" +
	"\x18CreateFlowVersionRequest\x120\n" +
	"\x04meta\x18\x01 \x01(\v2\x1c.kodex.agents.v1.CommandMetaR\x04meta\x12\x17\n" +
	"\aflow_id\x18\x02 \x01(\tR\x06flowId\x12\"\n" +
	"\n" +
	"source_ref\x18\x03 \x01(\tH\x00R\tsourceRef\x88\x01\x01\x12D\n" +
	"\n" +
	"definition\x18\x04 \x01(\v2$.kodex.agents.v1.FlowDefinitionInputR\n" +
	"definitionB\r\n" +
	"\v_source_ref\"v\n" +
	"\x1aActivateFlowVersionRequest\x120\n" +
	"\x04meta\x18\x01 \x01(\v2\x1c.kodex.agents.v1.CommandMetaR\x04meta\x12&\n" +
	"\x0fflow_version_id\x18\x02 \x01(\tR\rflowVersionId\"Y\n" +
	"\x0eGetFlowRequest\x12.\n" +
	"\x04meta\x18\x01 \x01(\v2\x1a.kodex.agents.v1.QueryMetaR\x04meta\x12\x17\n" +
	"\aflow_id\x18\x02 \x01(\tR\x06flowId\"\xea\x01\n" +
	"\x10ListFlowsRequest\x12.\n" +
	"\x04meta\x18\x01 \x01(\v2\x1a.kodex.agents.v1.QueryMetaR\x04meta\x12/\n" +
	"\x05scope\x18\x02 \x01(\v2\x19.kodex.agents.v1.ScopeRefR\x05scope\x128\n" +
	"\x06status\x18\x03 \x01(\x0e2\x1b.kodex.agents.v1.FlowStatusH\x00R\x06status\x88\x01\x01\x120\n" +
	"\x04page\x18\x04 \x01(\v2\x1c.kodex.agents.v1.PageRequestR\x04pageB\t\n" +
	"\a_status\"\x96\x01\n" +
	"\fFlowResponse\x12)\n" +
	"\x04flow\x18\x01 \x01(\v2\x15.kodex.agents.v1.FlowR\x04flow\x12H\n" +
	"\x0eactive_version\x18\x02 \x01(\v2\x1c.kodex.agents.v1.FlowVersionH\x00R\ractiveVersion\x88\x01\x01B\x11\n" +
	"\x0f_active_version\"V\n" +
	"\x13FlowVersionResponse\x12?\n" +
	"\fflow_version\x18\x01 \x01(\v2\x1c.kodex.agents.v1.FlowVersionR\vflowVersion\"s\n" +
	"\x11ListFlowsResponse\x12+\n" +
	"\x05flows\x18\x01 \x03(\v2\x15.kodex.agents.v1.FlowR\x05flows\x121\n" +
	"\x04page\x18\x02 \x01(\v2\x1d.kodex.agents.v1.PageResponseR\x04page\"\x86\x04\n" +
	"\x18CreateRoleProfileRequest\x120\n" +
	"\x04meta\x18\x01 \x01(\v2\x1c.kodex.agents.v1.CommandMetaR\x04meta\x12/\n" +
	"\x05scope\x18\x02 \x01(\v2\x19.kodex.agents.v1.ScopeRefR\x05scope\x12\x12\n" +
	"\x04slug\x18\x03 \x01(\tR\x04slug\x12A\n" +
	"\fdisplay_name\x18\x04 \x03(\v2\x1e.kodex.agents.v1.LocalizedTextR\vdisplayName\x12+\n" +
	"\x0ficon_object_uri\x18\x05 \x01(\tH\x00R\riconObjectUri\x88\x01\x01\x126\n" +
	"\trole_kind\x18\x06 \x01(\x0e2\x19.kodex.agents.v1.RoleKindR\broleKind\x12'\n" +
	"\x0fruntime_profile\x18\a \x01(\tR\x0eruntimeProfile\x12*\n" +
	"\x11allowed_mcp_tools\x18\b \x03(\tR\x0fallowedMcpTools\x12B\n" +
	"\x1bprovider_account_policy_ref\x18\t \x01(\tH\x01R\x18providerAccountPolicyRef\x88\x01\x01B\x12\n" +
	"\x10_icon_object_uriB\x1e\n" +
	"\x1c_provider_account_policy_ref\"\xda\x04\n" +
	"\x18UpdateRoleProfileRequest\x120\n" +
	"\x04meta\x18\x01 \x01(\v2\x1c.kodex.agents.v1.CommandMetaR\x04meta\x12&\n" +
	"\x0frole_profile_id\x18\x02 \x01(\tR\rroleProfileId\x12A\n" +
	"\fdisplay_name\x18\x03 \x03(\v2\x1e.kodex.agents.v1.LocalizedTextR\vdisplayName\x12+\n" +
	"\x0ficon_object_uri\x18\x04 \x01(\tH\x00R\riconObjectUri\x88\x01\x01\x12;\n" +
	"\trole_kind\x18\x05 \x01(\x0e2\x19.kodex.agents.v1.RoleKindH\x01R\broleKind\x88\x01\x01\x12,\n" +
	"\x0fruntime_profile\x18\x06 \x01(\tH\x02R\x0eruntimeProfile\x88\x01\x01\x12*\n" +
	"\x11allowed_mcp_tools\x18\a \x03(\tR\x0fallowedMcpTools\x12B\n" +
	"\x1bprovider_account_policy_ref\x18\b \x01(\tH\x03R\x18providerAccountPolicyRef\x88\x01\x01\x128\n" +
	"\x06status\x18\t \x01(\x0e2\x1b.kodex.agents.v1.RoleStatusH\x04R\x06status\x88\x01\x01B\x12\n" +
	"\x10_icon_object_uriB\f\n" +
	"\n" +
	"_role_kindB\x12\n" +
	"\x10_runtime_profileB\x1e\n" +
	"\x1c_provider_account_policy_refB\t\n" +
	"\a_status\"o\n" +
	"\x15GetRoleProfileRequest\x12.\n" +
	"\x04meta\x18\x01 \x01(\v2\x1a.kodex.agents.v1.QueryMetaR\x04meta\x12&\n" +
	"\x0frole_profile_id\x18\x02 \x01(\tR\rroleProfileId\"\xbc\x02\n" +
	"\x17ListRoleProfilesRequest\x12.\n" +
	"\x04meta\x18\x01 \x01(\v2\x1a.kodex.agents.v1.QueryMetaR\x04meta\x12/\n" +
	"\x05scope\x18\x02 \x01(\v2\x19.kodex.agents.v1.ScopeRefR\x05scope\x12;\n" +
	"\trole_kind\x18\x03 \x01(\x0e2\x19.kodex.agents.v1.RoleKindH\x00R\broleKind\x88\x01\x01\x128\n" +
	"\x06status\x18\x04 \x01(\x0e2\x1b.kodex.agents.v1.RoleStatusH\x01R\x06status\x88\x01\x01\x120\n" +
	"\x04page\x18\x05 \x01(\v2\x1c.kodex.agents.v1.PageRequestR\x04pageB\f\n" +
	"\n" +
	"_role_kindB\t\n" +
	"\a_status\"V\n" +
	"\x13RoleProfileResponse\x12?\n" +
	"\frole_profile\x18\x01 \x01(\v2\x1c.kodex.agents.v1.RoleProfileR\vroleProfile\"\x90\x01\n" +
	"\x18ListRoleProfilesResponse\x12A\n" +
	"\rrole_profiles\x18\x01 \x03(\v2\x1c.kodex.agents.v1.RoleProfileR\froleProfiles\x121\n" +
	"\x04page\x18\x02 \x01(\v2\x1d.kodex.agents.v1.PageResponseR\x04page\"x\n" +
	"\x18GetPromptTemplateRequest\x12.\n" +
	"\x04meta\x18\x01 \x01(\v2\x1a.kodex.agents.v1.QueryMetaR\x04meta\x12,\n" +
	"\x12prompt_template_id\x18\x02 \x01(\tR\x10promptTemplateId\"\xf9\x01\n" +
	"\x1aListPromptTemplatesRequest\x12.\n" +
	"\x04meta\x18\x01 \x01(\v2\x1a.kodex.agents.v1.QueryMetaR\x04meta\x12&\n" +
	"\x0frole_profile_id\x18\x02 \x01(\tR\rroleProfileId\x12A\n" +
	"\vprompt_kind\x18\x03 \x01(\x0e2\x1b.kodex.agents.v1.PromptKindH\x00R\n" +
	"promptKind\x88\x01\x01\x120\n" +
	"\x04page\x18\x04 \x01(\v2\x1c.kodex.agents.v1.PageRequestR\x04pageB\x0e\n" +
	"\f_prompt_kind\"\xc9\x01\n" +
	"\x16PromptTemplateResponse\x12H\n" +
	"\x0fprompt_template\x18\x01 \x01(\v2\x1f.kodex.agents.v1.PromptTemplateR\x0epromptTemplate\x12R\n" +
	"\x0eactive_version\x18\x02 \x01(\v2&.kodex.agents.v1.PromptTemplateVersionH\x00R\ractiveVersion\x88\x01\x01B\x11\n" +
	"\x0f_active_version\"\x9c\x01\n" +
	"\x1bListPromptTemplatesResponse\x12J\n" +
	"\x10prompt_templates\x18\x01 \x03(\v2\x1f.kodex.agents.v1.PromptTemplateR\x0fpromptTemplates\x121\n" +
	"\x04page\x18\x02 \x01(\v2\x1d.kodex.agents.v1.PageResponseR\x04page\"\xf6\x02\n" +
	"\"CreatePromptTemplateVersionRequest\x120\n" +
	"\x04meta\x18\x01 \x01(\v2\x1c.kodex.agents.v1.CommandMetaR\x04meta\x12&\n" +
	"\x0frole_profile_id\x18\x02 \x01(\tR\rroleProfileId\x12<\n" +
	"\vprompt_kind\x18\x03 \x01(\x0e2\x1b.kodex.agents.v1.PromptKindR\n" +
	"promptKind\x12\"\n" +
	"\n" +
	"source_ref\x18\x04 \x01(\tH\x00R\tsourceRef\x88\x01\x01\x12H\n" +
	"\x0ftemplate_object\x18\x05 \x01(\v2\x1a.kodex.agents.v1.ObjectRefH\x01R\x0etemplateObject\x88\x01\x01\x12'\n" +
	"\x0ftemplate_digest\x18\x06 \x01(\tR\x0etemplateDigestB\r\n" +
	"\v_source_refB\x12\n" +
	"\x10_template_object\"\x95\x01\n" +
	"$ActivatePromptTemplateVersionRequest\x120\n" +
	"\x04meta\x18\x01 \x01(\v2\x1c.kodex.agents.v1.CommandMetaR\x04meta\x12;\n" +
	"\x1aprompt_template_version_id\x18\x02 \x01(\tR\x17promptTemplateVersionId\"\x8e\x01\n" +
	"\x1fGetPromptTemplateVersionRequest\x12.\n" +
	"\x04meta\x18\x01 \x01(\v2\x1a.kodex.agents.v1.QueryMetaR\x04meta\x12;\n" +
	"\x1aprompt_template_version_id\x18\x02 \x01(\tR\x17promptTemplateVersionId\"\xce\x02\n" +
	"!ListPromptTemplateVersionsRequest\x12.\n" +
	"\x04meta\x18\x01 \x01(\v2\x1a.kodex.agents.v1.QueryMetaR\x04meta\x12&\n" +
	"\x0frole_profile_id\x18\x02 \x01(\tR\rroleProfileId\x12A\n" +
	"\vprompt_kind\x18\x03 \x01(\x0e2\x1b.kodex.agents.v1.PromptKindH\x00R\n" +
	"promptKind\x88\x01\x01\x12A\n" +
	"\x06status\x18\x04 \x01(\x0e2$.kodex.agents.v1.PromptVersionStatusH\x01R\x06status\x88\x01\x01\x120\n" +
	"\x04page\x18\x05 \x01(\v2\x1c.kodex.agents.v1.PageRequestR\x04pageB\x0e\n" +
	"\f_prompt_kindB\t\n" +
	"\a_status\"\x7f\n" +
	"\x1dPromptTemplateVersionResponse\x12^\n" +
	"\x17prompt_template_version\x18\x01 \x01(\v2&.kodex.agents.v1.PromptTemplateVersionR\x15promptTemplateVersion\"\xb9\x01\n" +
	"\"ListPromptTemplateVersionsResponse\x12`\n" +
	"\x18prompt_template_versions\x18\x01 \x03(\v2&.kodex.agents.v1.PromptTemplateVersionR\x16promptTemplateVersions\x121\n" +
	"\x04page\x18\x02 \x01(\v2\x1d.kodex.agents.v1.PageResponseR\x04page\"\x88\x03\n" +
	"\x18StartAgentSessionRequest\x120\n" +
	"\x04meta\x18\x01 \x01(\v2\x1c.kodex.agents.v1.CommandMetaR\x04meta\x12/\n" +
	"\x05scope\x18\x02 \x01(\v2\x19.kodex.agents.v1.ScopeRefR\x05scope\x128\n" +
	"\x16provider_work_item_ref\x18\x03 \x01(\tH\x00R\x13providerWorkItemRef\x88\x01\x01\x12+\n" +
	"\x0fflow_version_id\x18\x04 \x01(\tH\x01R\rflowVersionId\x88\x01\x01\x12-\n" +
	"\x10current_stage_id\x18\x05 \x01(\tH\x02R\x0ecurrentStageId\x88\x01\x01\x12/\n" +
	"\x14created_by_actor_ref\x18\x06 \x01(\tR\x11createdByActorRefB\x19\n" +
	"\x17_provider_work_item_refB\x12\n" +
	"\x10_flow_version_idB\x13\n" +
	"\x11_current_stage_id\"\xe9\x03\n" +
	"\x14StartAgentRunRequest\x120\n" +
	"\x04meta\x18\x01 \x01(\v2\x1c.kodex.agents.v1.CommandMetaR\x04meta\x12\x1d\n" +
	"\n" +
	"session_id\x18\x02 \x01(\tR\tsessionId\x12+\n" +
	"\x0fflow_version_id\x18\x03 \x01(\tH\x00R\rflowVersionId\x88\x01\x01\x12\x1e\n" +
	"\bstage_id\x18\x04 \x01(\tH\x01R\astageId\x88\x01\x01\x12&\n" +
	"\x0frole_profile_id\x18\x05 \x01(\tR\rroleProfileId\x12;\n" +
	"\x1aprompt_template_version_id\x18\x06 \x01(\tR\x17promptTemplateVersionId\x12K\n" +
	"\x0fprovider_target\x18\a \x01(\v2\".kodex.agents.v1.ProviderTargetRefR\x0eproviderTarget\x12`\n" +
	"\x18guidance_selection_hints\x18\b \x03(\v2&.kodex.agents.v1.GuidanceSelectionHintR\x16guidanceSelectionHintsB\x12\n" +
	"\x10_flow_version_idB\v\n" +
	"\t_stage_id\"\xca\x04\n" +
	"\x15RecordRunStateRequest\x120\n" +
	"\x04meta\x18\x01 \x01(\v2\x1c.kodex.agents.v1.CommandMetaR\x04meta\x12\x15\n" +
	"\x06run_id\x18\x02 \x01(\tR\x05runId\x127\n" +
	"\x06status\x18\x03 \x01(\x0e2\x1f.kodex.agents.v1.AgentRunStatusR\x06status\x12K\n" +
	"\x0fruntime_context\x18\x04 \x01(\v2\".kodex.agents.v1.RuntimeContextRefR\x0eruntimeContext\x12K\n" +
	"\x0fprovider_target\x18\x05 \x01(\v2\".kodex.agents.v1.ProviderTargetRefR\x0eproviderTarget\x12*\n" +
	"\x0eresult_summary\x18\x06 \x01(\tH\x00R\rresultSummary\x88\x01\x01\x12&\n" +
	"\ffailure_code\x18\a \x01(\tH\x01R\vfailureCode\x88\x01\x01\x12\"\n" +
	"\n" +
	"started_at\x18\b \x01(\tH\x02R\tstartedAt\x88\x01\x01\x12$\n" +
	"\vfinished_at\x18\t \x01(\tH\x03R\n" +
	"finishedAt\x88\x01\x01\x12$\n" +
	"\vreason_code\x18\n" +
	" \x01(\tH\x04R\n" +
	"reasonCode\x88\x01\x01B\x11\n" +
	"\x0f_result_summaryB\x0f\n" +
	"\r_failure_codeB\r\n" +
	"\v_started_atB\x0e\n" +
	"\f_finished_atB\x0e\n" +
	"\f_reason_code\"\xb5\x04\n" +
	"\x1aReportAgentRunStateRequest\x120\n" +
	"\x04meta\x18\x01 \x01(\v2\x1c.kodex.agents.v1.CommandMetaR\x04meta\x12\x15\n" +
	"\x06run_id\x18\x02 \x01(\tR\x05runId\x12\x1d\n" +
	"\n" +
	"session_id\x18\x03 \x01(\tR\tsessionId\x12(\n" +
	"\x10runtime_slot_ref\x18\x04 \x01(\tR\x0eruntimeSlotRef\x12&\n" +
	"\x0fruntime_job_ref\x18\x05 \x01(\tR\rruntimeJobRef\x12:\n" +
	"\x05state\x18\x06 \x01(\x0e2$.kodex.agents.v1.AgentRunnerRunStateR\x05state\x12&\n" +
	"\fsafe_summary\x18\a \x01(\tH\x00R\vsafeSummary\x88\x01\x01\x12&\n" +
	"\ffailure_code\x18\b \x01(\tH\x01R\vfailureCode\x88\x01\x01\x120\n" +
	"\x11diagnostic_digest\x18\t \x01(\tH\x02R\x10diagnosticDigest\x88\x01\x01\x12\"\n" +
	"\n" +
	"started_at\x18\n" +
	" \x01(\tH\x03R\tstartedAt\x88\x01\x01\x12$\n" +
	"\vfinished_at\x18\v \x01(\tH\x04R\n" +
	"finishedAt\x88\x01\x01B\x0f\n" +
	"\r_safe_summaryB\x0f\n" +
	"\r_failure_codeB\x14\n" +
	"\x12_diagnostic_digestB\r\n" +
	"\v_started_atB\x0e\n" +
	"\f_finished_at\"\xf3\x02\n" +
	"!RecordSessionStateSnapshotRequest\x120\n" +
	"\x04meta\x18\x01 \x01(\v2\x1c.kodex.agents.v1.CommandMetaR\x04meta\x12\x1d\n" +
	"\n" +
	"session_id\x18\x02 \x01(\tR\tsessionId\x12\x1a\n" +
	"\x06run_id\x18\x03 \x01(\tH\x00R\x05runId\x88\x01\x01\x12N\n" +
	"\rsnapshot_kind\x18\x04 \x01(\x0e2).kodex.agents.v1.AgentSessionSnapshotKindR\fsnapshotKind\x12\"\n" +
	"\n" +
	"turn_index\x18\x05 \x01(\x03H\x01R\tturnIndex\x88\x01\x01\x122\n" +
	"\x06object\x18\x06 \x01(\v2\x1a.kodex.agents.v1.ObjectRefR\x06object\x12\x1f\n" +
	"\vcaptured_at\x18\a \x01(\tR\n" +
	"capturedAtB\t\n" +
	"\a_run_idB\r\n" +
	"\v_turn_index\"\x8f\x03\n" +
	"\x18RequestAcceptanceRequest\x120\n" +
	"\x04meta\x18\x01 \x01(\v2\x1c.kodex.agents.v1.CommandMetaR\x04meta\x12\x1d\n" +
	"\n" +
	"session_id\x18\x02 \x01(\tR\tsessionId\x12\x1a\n" +
	"\x06run_id\x18\x03 \x01(\tH\x00R\x05runId\x88\x01\x01\x12\x1e\n" +
	"\bstage_id\x18\x04 \x01(\tH\x01R\astageId\x88\x01\x01\x12E\n" +
	"\vcheck_kinds\x18\x05 \x03(\x0e2$.kodex.agents.v1.AcceptanceCheckKindR\n" +
	"checkKinds\x12\"\n" +
	"\n" +
	"target_ref\x18\x06 \x01(\tH\x02R\ttargetRef\x88\x01\x01\x12T\n" +
	"\x12governance_context\x18\a \x01(\v2%.kodex.agents.v1.GovernanceContextRefR\x11governanceContextB\t\n" +
	"\a_run_idB\v\n" +
	"\t_stage_idB\r\n" +
	"\v_target_ref\"\xea\x02\n" +
	"\x1dRecordAcceptanceResultRequest\x120\n" +
	"\x04meta\x18\x01 \x01(\v2\x1c.kodex.agents.v1.CommandMetaR\x04meta\x120\n" +
	"\x14acceptance_result_id\x18\x02 \x01(\tR\x12acceptanceResultId\x129\n" +
	"\x06status\x18\x03 \x01(\x0e2!.kodex.agents.v1.AcceptanceStatusR\x06status\x12\"\n" +
	"\n" +
	"target_ref\x18\x04 \x01(\tH\x00R\ttargetRef\x88\x01\x01\x12!\n" +
	"\fdetails_json\x18\x05 \x01(\tR\vdetailsJson\x12T\n" +
	"\x12governance_context\x18\x06 \x01(\v2%.kodex.agents.v1.GovernanceContextRefR\x11governanceContextB\r\n" +
	"\v_target_ref\"~\n" +
	"\x1aGetAcceptanceResultRequest\x12.\n" +
	"\x04meta\x18\x01 \x01(\v2\x1a.kodex.agents.v1.QueryMetaR\x04meta\x120\n" +
	"\x14acceptance_result_id\x18\x02 \x01(\tR\x12acceptanceResultId\"\xd2\x02\n" +
	"\x1cListAcceptanceResultsRequest\x12.\n" +
	"\x04meta\x18\x01 \x01(\v2\x1a.kodex.agents.v1.QueryMetaR\x04meta\x12\"\n" +
	"\n" +
	"session_id\x18\x02 \x01(\tH\x00R\tsessionId\x88\x01\x01\x12\x1a\n" +
	"\x06run_id\x18\x03 \x01(\tH\x01R\x05runId\x88\x01\x01\x12\x1e\n" +
	"\bstage_id\x18\x04 \x01(\tH\x02R\astageId\x88\x01\x01\x12>\n" +
	"\x06status\x18\x05 \x01(\x0e2!.kodex.agents.v1.AcceptanceStatusH\x03R\x06status\x88\x01\x01\x120\n" +
	"\x04page\x18\x06 \x01(\v2\x1c.kodex.agents.v1.PageRequestR\x04pageB\r\n" +
	"\v_session_idB\t\n" +
	"\a_run_idB\v\n" +
	"\t_stage_idB\t\n" +
	"\a_status\"\xad\a\n" +
	"\x1bCreateFollowUpIntentRequest\x120\n" +
	"\x04meta\x18\x01 \x01(\v2\x1c.kodex.agents.v1.CommandMetaR\x04meta\x12\x1d\n" +
	"\n" +
	"session_id\x18\x02 \x01(\tR\tsessionId\x12'\n" +
	"\rfrom_stage_id\x18\x03 \x01(\tH\x00R\vfromStageId\x88\x01\x01\x12#\n" +
	"\vto_stage_id\x18\x04 \x01(\tH\x01R\ttoStageId\x88\x01\x01\x125\n" +
	"\x17provider_work_item_type\x18\x05 \x01(\tR\x14providerWorkItemType\x129\n" +
	"\x16provider_operation_ref\x18\x06 \x01(\tH\x02R\x14providerOperationRef\x88\x01\x01\x12;\n" +
	"\x17instruction_body_digest\x18\a \x01(\tH\x03R\x15instructionBodyDigest\x88\x01\x01\x12\x1a\n" +
	"\x06run_id\x18\b \x01(\tH\x04R\x05runId\x88\x01\x01\x125\n" +
	"\x14acceptance_result_id\x18\t \x01(\tH\x05R\x12acceptanceResultId\x88\x01\x01\x12K\n" +
	"\x0fprovider_target\x18\n" +
	" \x01(\v2\".kodex.agents.v1.ProviderTargetRefR\x0eproviderTarget\x12\"\n" +
	"\n" +
	"safe_title\x18\v \x01(\tH\x06R\tsafeTitle\x88\x01\x01\x12&\n" +
	"\fsafe_summary\x18\f \x01(\tH\aR\vsafeSummary\x88\x01\x01\x12 \n" +
	"\trole_hint\x18\r \x01(\tH\bR\broleHint\x88\x01\x01\x12\"\n" +
	"\n" +
	"stage_hint\x18\x0e \x01(\tH\tR\tstageHint\x88\x01\x01\x12T\n" +
	"\x12governance_context\x18\x0f \x01(\v2%.kodex.agents.v1.GovernanceContextRefR\x11governanceContextB\x10\n" +
	"\x0e_from_stage_idB\x0e\n" +
	"\f_to_stage_idB\x19\n" +
	"\x17_provider_operation_refB\x1a\n" +
	"\x18_instruction_body_digestB\t\n" +
	"\a_run_idB\x17\n" +
	"\x15_acceptance_result_idB\r\n" +
	"\v_safe_titleB\x0f\n" +
	"\r_safe_summaryB\f\n" +
	"\n" +
	"_role_hintB\r\n" +
	"\v_stage_hint\"\xbd\a\n" +
	"\x1dDispatchFollowUpIntentRequest\x120\n" +
	"\x04meta\x18\x01 \x01(\v2\x1c.kodex.agents.v1.CommandMetaR\x04meta\x12-\n" +
	"\x13follow_up_intent_id\x18\x02 \x01(\tR\x10followUpIntentId\x12J\n" +
	"\rdispatch_kind\x18\x03 \x01(\x0e2%.kodex.agents.v1.FollowUpDispatchKindR\fdispatchKind\x12l\n" +
	"\x18operation_policy_context\x18\x04 \x01(\v22.kodex.providers.v1.ProviderOperationPolicyContextR\x16operationPolicyContext\x12U\n" +
	"\x11approval_gate_ref\x18\x05 \x01(\v2).kodex.providers.v1.ApprovalGateReferenceR\x0fapprovalGateRef\x12P\n" +
	"\fcreate_issue\x18\n" +
	" \x01(\v2+.kodex.agents.v1.FollowUpCreateIssueCommandH\x00R\vcreateIssue\x12P\n" +
	"\fupdate_issue\x18\v \x01(\v2+.kodex.agents.v1.FollowUpUpdateIssueCommandH\x00R\vupdateIssue\x12V\n" +
	"\x0ecreate_comment\x18\f \x01(\v2-.kodex.agents.v1.FollowUpCreateCommentCommandH\x00R\rcreateComment\x12V\n" +
	"\x0eupdate_comment\x18\r \x01(\v2-.kodex.agents.v1.FollowUpUpdateCommentCommandH\x00R\rupdateComment\x12c\n" +
	"\x13update_pull_request\x18\x0e \x01(\v21.kodex.agents.v1.FollowUpUpdatePullRequestCommandH\x00R\x11updatePullRequest\x12f\n" +
	"\x14create_review_signal\x18\x0f \x01(\v22.kodex.agents.v1.FollowUpCreateReviewSignalCommandH\x00R\x12createReviewSignalB\t\n" +
	"\acommand\"\x86\x04\n" +
	"\x1aFollowUpCreateIssueCommand\x12\x1d\n" +
	"\n" +
	"project_id\x18\x01 \x01(\tR\tprojectId\x12#\n" +
	"\rrepository_id\x18\x02 \x01(\tR\frepositoryId\x12#\n" +
	"\rprovider_slug\x18\x03 \x01(\tR\fproviderSlug\x12.\n" +
	"\x13external_account_id\x18\x04 \x01(\tR\x11externalAccountId\x12O\n" +
	"\x11repository_target\x18\x05 \x01(\v2\".kodex.providers.v1.ProviderTargetR\x10repositoryTarget\x12)\n" +
	"\x0esafe_body_hint\x18\x06 \x01(\tH\x00R\fsafeBodyHint\x88\x01\x01\x12\x16\n" +
	"\x06labels\x18\a \x03(\tR\x06labels\x128\n" +
	"\x18assignee_provider_logins\x18\b \x03(\tR\x16assigneeProviderLogins\x12!\n" +
	"\tmilestone\x18\t \x01(\tH\x01R\tmilestone\x88\x01\x01\x12*\n" +
	"\x0ewatermark_json\x18\n" +
	" \x01(\tH\x02R\rwatermarkJson\x88\x01\x01B\x11\n" +
	"\x0f_safe_body_hintB\f\n" +
	"\n" +
	"_milestoneB\x11\n" +
	"\x0f_watermark_json\"\xe1\x05\n" +
	"\x1aFollowUpUpdateIssueCommand\x12.\n" +
	"\x13external_account_id\x18\x01 \x01(\tR\x11externalAccountId\x12:\n" +
	"\x06target\x18\x02 \x01(\v2\".kodex.providers.v1.ProviderTargetR\x06target\x12\"\n" +
	"\n" +
	"safe_title\x18\x03 \x01(\tH\x00R\tsafeTitle\x88\x01\x01\x12)\n" +
	"\x0esafe_body_hint\x18\x04 \x01(\tH\x01R\fsafeBodyHint\x88\x01\x01\x12;\n" +
	"\x06labels\x18\x05 \x01(\v2#.kodex.providers.v1.StringListPatchR\x06labels\x12]\n" +
	"\x18assignee_provider_logins\x18\x06 \x01(\v2#.kodex.providers.v1.StringListPatchR\x16assigneeProviderLogins\x12!\n" +
	"\tmilestone\x18\a \x01(\tH\x02R\tmilestone\x88\x01\x01\x12\x19\n" +
	"\x05state\x18\b \x01(\tH\x03R\x05state\x88\x01\x01\x12:\n" +
	"\x17provider_work_item_type\x18\t \x01(\tH\x04R\x14providerWorkItemType\x88\x01\x01\x12*\n" +
	"\x0ewatermark_json\x18\n" +
	" \x01(\tH\x05R\rwatermarkJson\x88\x01\x01\x12?\n" +
	"\x19expected_provider_version\x18\v \x01(\tH\x06R\x17expectedProviderVersion\x88\x01\x01B\r\n" +
	"\v_safe_titleB\x11\n" +
	"\x0f_safe_body_hintB\f\n" +
	"\n" +
	"_milestoneB\b\n" +
	"\x06_stateB\x1a\n" +
	"\x18_provider_work_item_typeB\x11\n" +
	"\x0f_watermark_jsonB\x1c\n" +
	"\x1a_expected_provider_version\"\xb0\x01\n" +
	"\x1cFollowUpCreateCommentCommand\x12.\n" +
	"\x13external_account_id\x18\x01 \x01(\tR\x11externalAccountId\x12:\n" +
	"\x06target\x18\x02 \x01(\v2\".kodex.providers.v1.ProviderTargetR\x06target\x12$\n" +
	"\x0esafe_body_hint\x18\x03 \x01(\tR\fsafeBodyHint\"\xbf\x02\n" +
	"\x1cFollowUpUpdateCommentCommand\x12.\n" +
	"\x13external_account_id\x18\x01 \x01(\tR\x11externalAccountId\x12:\n" +
	"\x06target\x18\x02 \x01(\v2\".kodex.providers.v1.ProviderTargetR\x06target\x12.\n" +
	"\x13provider_comment_id\x18\x03 \x01(\tR\x11providerCommentId\x12$\n" +
	"\x0esafe_body_hint\x18\x04 \x01(\tR\fsafeBodyHint\x12?\n" +
	"\x19expected_provider_version\x18\x05 \x01(\tH\x00R\x17expectedProviderVersion\x88\x01\x01B\x1c\n" +
	"\x1a_expected_provider_version\"\xf5\x05\n" +
	" FollowUpUpdatePullRequestCommand\x12.\n" +
	"\x13external_account_id\x18\x01 \x01(\tR\x11externalAccountId\x12:\n" +
	"\x06target\x18\x02 \x01(\v2\".kodex.providers.v1.ProviderTargetR\x06target\x12\"\n" +
	"\n" +
	"safe_title\x18\x03 \x01(\tH\x00R\tsafeTitle\x88\x01\x01\x12)\n" +
	"\x0esafe_body_hint\x18\x04 \x01(\tH\x01R\fsafeBodyHint\x88\x01\x01\x12;\n" +
	"\x06labels\x18\x05 \x01(\v2#.kodex.providers.v1.StringListPatchR\x06labels\x12]\n" +
	"\x18assignee_provider_logins\x18\x06 \x01(\v2#.kodex.providers.v1.StringListPatchR\x16assigneeProviderLogins\x12!\n" +
	"\tmilestone\x18\a \x01(\tH\x02R\tmilestone\x88\x01\x01\x12\x19\n" +
	"\x05state\x18\b \x01(\tH\x03R\x05state\x88\x01\x01\x12$\n" +
	"\vbase_branch\x18\t \x01(\tH\x04R\n" +
	"baseBranch\x88\x01\x01\x127\n" +
	"\x15maintainer_can_modify\x18\n" +
	" \x01(\bH\x05R\x13maintainerCanModify\x88\x01\x01\x12*\n" +
	"\x0ewatermark_json\x18\v \x01(\tH\x06R\rwatermarkJson\x88\x01\x01\x12:\n" +
	"\x19expected_provider_version\x18\f \x01(\tR\x17expectedProviderVersionB\r\n" +
	"\v_safe_titleB\x11\n" +
	"\x0f_safe_body_hintB\f\n" +
	"\n" +
	"_milestoneB\b\n" +
	"\x06_stateB\x0e\n" +
	"\f_base_branchB\x18\n" +
	"\x16_maintainer_can_modifyB\x11\n" +
	"\x0f_watermark_json\"\xd9\x02\n" +
	"!FollowUpCreateReviewSignalCommand\x12.\n" +
	"\x13external_account_id\x18\x01 \x01(\tR\x11externalAccountId\x12:\n" +
	"\x06target\x18\x02 \x01(\v2\".kodex.providers.v1.ProviderTargetR\x06target\x128\n" +
	"\x04kind\x18\x03 \x01(\x0e2$.kodex.providers.v1.ReviewSignalKindR\x04kind\x12)\n" +
	"\x0esafe_body_hint\x18\x04 \x01(\tH\x00R\fsafeBodyHint\x88\x01\x01\x12P\n" +
	"\x0finline_comments\x18\x05 \x03(\v2'.kodex.providers.v1.ReviewInlineCommentR\x0einlineCommentsB\x11\n" +
	"\x0f_safe_body_hint\"\xca\a\n" +
	"\x1aRecordAgentActivityRequest\x120\n" +
	"\x04meta\x18\x01 \x01(\v2\x1c.kodex.agents.v1.CommandMetaR\x04meta\x12\x1d\n" +
	"\n" +
	"session_id\x18\x02 \x01(\tR\tsessionId\x12\x1a\n" +
	"\x06run_id\x18\x03 \x01(\tH\x00R\x05runId\x88\x01\x01\x12\x1c\n" +
	"\aturn_id\x18\x04 \x01(\tH\x01R\x06turnId\x88\x01\x01\x12#\n" +
	"\vtool_use_id\x18\x05 \x01(\tH\x02R\ttoolUseId\x88\x01\x01\x12G\n" +
	"\ractivity_kind\x18\x06 \x01(\x0e2\".kodex.agents.v1.AgentActivityKindR\factivityKind\x12 \n" +
	"\ttool_name\x18\a \x01(\tH\x03R\btoolName\x88\x01\x01\x12(\n" +
	"\rtool_category\x18\b \x01(\tH\x04R\ftoolCategory\x88\x01\x01\x12<\n" +
	"\x06status\x18\t \x01(\x0e2$.kodex.agents.v1.AgentActivityStatusR\x06status\x12\"\n" +
	"\n" +
	"started_at\x18\n" +
	" \x01(\tH\x05R\tstartedAt\x88\x01\x01\x12$\n" +
	"\vfinished_at\x18\v \x01(\tH\x06R\n" +
	"finishedAt\x88\x01\x01\x12$\n" +
	"\vduration_ms\x18\f \x01(\x03H\aR\n" +
	"durationMs\x88\x01\x01\x12&\n" +
	"\fsafe_summary\x18\r \x01(\tH\bR\vsafeSummary\x88\x01\x01\x12*\n" +
	"\x0epayload_digest\x18\x0e \x01(\tH\tR\rpayloadDigest\x88\x01\x01\x12(\n" +
	"\rbounded_error\x18\x0f \x01(\tH\n" +
	"R\fboundedError\x88\x01\x01\x12$\n" +
	"\x0esafe_refs_json\x18\x10 \x01(\tR\fsafeRefsJson\x12*\n" +
	"\x11safe_details_json\x18\x11 \x01(\tR\x0fsafeDetailsJson\x12*\n" +
	"\x0ecorrelation_id\x18\x12 \x01(\tH\vR\rcorrelationId\x88\x01\x01B\t\n" +
	"\a_run_idB\n" +
	"\n" +
	"\b_turn_idB\x0e\n" +
	"\f_tool_use_idB\f\n" +
	"\n" +
	"_tool_nameB\x10\n" +
	"\x0e_tool_categoryB\r\n" +
	"\v_started_atB\x0e\n" +
	"\f_finished_atB\x0e\n" +
	"\f_duration_msB\x0f\n" +
	"\r_safe_summaryB\x11\n" +
	"\x0f_payload_digestB\x10\n" +
	"\x0e_bounded_errorB\x11\n" +
	"\x0f_correlation_id\"\x86\x03\n" +
	"\x1aListAgentActivitiesRequest\x12.\n" +
	"\x04meta\x18\x01 \x01(\v2\x1a.kodex.agents.v1.QueryMetaR\x04meta\x12\"\n" +
	"\n" +
	"session_id\x18\x02 \x01(\tH\x00R\tsessionId\x88\x01\x01\x12\x1a\n" +
	"\x06run_id\x18\x03 \x01(\tH\x01R\x05runId\x88\x01\x01\x12L\n" +
	"\ractivity_kind\x18\x04 \x01(\x0e2\".kodex.agents.v1.AgentActivityKindH\x02R\factivityKind\x88\x01\x01\x12A\n" +
	"\x06status\x18\x05 \x01(\x0e2$.kodex.agents.v1.AgentActivityStatusH\x03R\x06status\x88\x01\x01\x120\n" +
	"\x04page\x18\x06 \x01(\v2\x1c.kodex.agents.v1.PageRequestR\x04pageB\r\n" +
	"\v_session_idB\t\n" +
	"\a_run_idB\x10\n" +
	"\x0e_activity_kindB\t\n" +
	"\a_status\"\x9e\x06\n" +
	"\x17RequestHumanGateRequest\x120\n" +
	"\x04meta\x18\x01 \x01(\v2\x1c.kodex.agents.v1.CommandMetaR\x04meta\x12\x1d\n" +
	"\n" +
	"session_id\x18\x02 \x01(\tR\tsessionId\x12\x1a\n" +
	"\x06run_id\x18\x03 \x01(\tH\x00R\x05runId\x88\x01\x01\x12\x1e\n" +
	"\bstage_id\x18\x04 \x01(\tH\x01R\astageId\x88\x01\x01\x125\n" +
	"\x14acceptance_result_id\x18\x05 \x01(\tH\x02R\x12acceptanceResultId\x88\x01\x01\x12K\n" +
	"\x0fprovider_target\x18\x06 \x01(\v2\".kodex.agents.v1.ProviderTargetRefR\x0eproviderTarget\x12\"\n" +
	"\n" +
	"target_ref\x18\a \x01(\tH\x03R\ttargetRef\x88\x01\x01\x12!\n" +
	"\frequest_kind\x18\b \x01(\tR\vrequestKind\x12\x1f\n" +
	"\vreason_code\x18\t \x01(\tR\n" +
	"reasonCode\x12&\n" +
	"\fsafe_summary\x18\n" +
	" \x01(\tH\x04R\vsafeSummary\x88\x01\x01\x12;\n" +
	"\x17interaction_request_ref\x18\v \x01(\tH\x05R\x15interactionRequestRef\x88\x01\x01\x12B\n" +
	"\x1bgovernance_gate_request_ref\x18\f \x01(\tH\x06R\x18governanceGateRequestRef\x88\x01\x01\x12T\n" +
	"\x12governance_context\x18\r \x01(\v2%.kodex.agents.v1.GovernanceContextRefR\x11governanceContextB\t\n" +
	"\a_run_idB\v\n" +
	"\t_stage_idB\x17\n" +
	"\x15_acceptance_result_idB\r\n" +
	"\v_target_refB\x0f\n" +
	"\r_safe_summaryB\x1a\n" +
	"\x18_interaction_request_refB\x1e\n" +
	"\x1c_governance_gate_request_ref\"\xfd\x05\n" +
	"\x1eRecordHumanGateDecisionRequest\x120\n" +
	"\x04meta\x18\x01 \x01(\v2\x1c.kodex.agents.v1.CommandMetaR\x04meta\x121\n" +
	"\x15human_gate_request_id\x18\x02 \x01(\tR\x12humanGateRequestId\x128\n" +
	"\x06status\x18\x03 \x01(\x0e2 .kodex.agents.v1.HumanGateStatusR\x06status\x12;\n" +
	"\aoutcome\x18\x04 \x01(\x0e2!.kodex.agents.v1.HumanGateOutcomeR\aoutcome\x12&\n" +
	"\fsafe_summary\x18\x05 \x01(\tH\x00R\vsafeSummary\x88\x01\x01\x12;\n" +
	"\x17interaction_request_ref\x18\x06 \x01(\tH\x01R\x15interactionRequestRef\x88\x01\x01\x12=\n" +
	"\x18interaction_response_ref\x18\a \x01(\tH\x02R\x16interactionResponseRef\x88\x01\x01\x12B\n" +
	"\x1bgovernance_gate_request_ref\x18\b \x01(\tH\x03R\x18governanceGateRequestRef\x88\x01\x01\x12;\n" +
	"\x17governance_decision_ref\x18\t \x01(\tH\x04R\x15governanceDecisionRef\x88\x01\x01\x12T\n" +
	"\x12governance_context\x18\n" +
	" \x01(\v2%.kodex.agents.v1.GovernanceContextRefR\x11governanceContextB\x0f\n" +
	"\r_safe_summaryB\x1a\n" +
	"\x18_interaction_request_refB\x1b\n" +
	"\x19_interaction_response_refB\x1e\n" +
	"\x1c_governance_gate_request_refB\x1a\n" +
	"\x18_governance_decision_ref\"\x7f\n" +
	"\x1aGetHumanGateRequestRequest\x12.\n" +
	"\x04meta\x18\x01 \x01(\v2\x1a.kodex.agents.v1.QueryMetaR\x04meta\x121\n" +
	"\x15human_gate_request_id\x18\x02 \x01(\tR\x12humanGateRequestId\"\x9f\x03\n" +
	"\x1cListHumanGateRequestsRequest\x12.\n" +
	"\x04meta\x18\x01 \x01(\v2\x1a.kodex.agents.v1.QueryMetaR\x04meta\x12\"\n" +
	"\n" +
	"session_id\x18\x02 \x01(\tH\x00R\tsessionId\x88\x01\x01\x12\x1a\n" +
	"\x06run_id\x18\x03 \x01(\tH\x01R\x05runId\x88\x01\x01\x12\x1e\n" +
	"\bstage_id\x18\x04 \x01(\tH\x02R\astageId\x88\x01\x01\x12=\n" +
	"\x06status\x18\x05 \x01(\x0e2 .kodex.agents.v1.HumanGateStatusH\x03R\x06status\x88\x01\x01\x12@\n" +
	"\aoutcome\x18\x06 \x01(\x0e2!.kodex.agents.v1.HumanGateOutcomeH\x04R\aoutcome\x88\x01\x01\x120\n" +
	"\x04page\x18\a \x01(\v2\x1c.kodex.agents.v1.PageRequestR\x04pageB\r\n" +
	"\v_session_idB\t\n" +
	"\a_run_idB\v\n" +
	"\t_stage_idB\t\n" +
	"\a_statusB\n" +
	"\n" +
	"\b_outcome\"g\n" +
	"\x16GetAgentSessionRequest\x12.\n" +
	"\x04meta\x18\x01 \x01(\v2\x1a.kodex.agents.v1.QueryMetaR\x04meta\x12\x1d\n" +
	"\n" +
	"session_id\x18\x02 \x01(\tR\tsessionId\"\x8a\x03\n" +
	"\x14ListAgentRunsRequest\x12.\n" +
	"\x04meta\x18\x01 \x01(\v2\x1a.kodex.agents.v1.QueryMetaR\x04meta\x12\"\n" +
	"\n" +
	"session_id\x18\x02 \x01(\tH\x00R\tsessionId\x88\x01\x01\x12+\n" +
	"\x0frole_profile_id\x18\x03 \x01(\tH\x01R\rroleProfileId\x88\x01\x01\x12<\n" +
	"\x06status\x18\x04 \x01(\x0e2\x1f.kodex.agents.v1.AgentRunStatusH\x02R\x06status\x88\x01\x01\x128\n" +
	"\x16provider_work_item_ref\x18\x05 \x01(\tH\x03R\x13providerWorkItemRef\x88\x01\x01\x120\n" +
	"\x04page\x18\x06 \x01(\v2\x1c.kodex.agents.v1.PageRequestR\x04pageB\r\n" +
	"\v_session_idB\x12\n" +
	"\x10_role_profile_idB\t\n" +
	"\a_statusB\x19\n" +
	"\x17_provider_work_item_ref\"\xa8\x04\n" +
	"\x18ListAgentSessionsRequest\x12.\n" +
	"\x04meta\x18\x01 \x01(\v2\x1a.kodex.agents.v1.QueryMetaR\x04meta\x124\n" +
	"\x05scope\x18\x02 \x01(\v2\x19.kodex.agents.v1.ScopeRefH\x00R\x05scope\x88\x01\x01\x12@\n" +
	"\x06status\x18\x03 \x01(\x0e2#.kodex.agents.v1.AgentSessionStatusH\x01R\x06status\x88\x01\x01\x128\n" +
	"\x16provider_work_item_ref\x18\x04 \x01(\tH\x02R\x13providerWorkItemRef\x88\x01\x01\x124\n" +
	"\x14created_by_actor_ref\x18\x05 \x01(\tH\x03R\x11createdByActorRef\x88\x01\x01\x12(\n" +
	"\rcreated_after\x18\x06 \x01(\tH\x04R\fcreatedAfter\x88\x01\x01\x12*\n" +
	"\x0ecreated_before\x18\a \x01(\tH\x05R\rcreatedBefore\x88\x01\x01\x120\n" +
	"\x04page\x18\b \x01(\v2\x1c.kodex.agents.v1.PageRequestR\x04pageB\b\n" +
	"\x06_scopeB\t\n" +
	"\a_statusB\x19\n" +
	"\x17_provider_work_item_refB\x17\n" +
	"\x15_created_by_actor_refB\x10\n" +
	"\x0e_created_afterB\x11\n" +
	"\x0f_created_before\"\xab\x05\n" +
	"\x1cListAgentRunSummariesRequest\x12.\n" +
	"\x04meta\x18\x01 \x01(\v2\x1a.kodex.agents.v1.QueryMetaR\x04meta\x124\n" +
	"\x05scope\x18\x02 \x01(\v2\x19.kodex.agents.v1.ScopeRefH\x00R\x05scope\x88\x01\x01\x12\"\n" +
	"\n" +
	"session_id\x18\x03 \x01(\tH\x01R\tsessionId\x88\x01\x01\x12+\n" +
	"\x0frole_profile_id\x18\x04 \x01(\tH\x02R\rroleProfileId\x88\x01\x01\x12<\n" +
	"\x06status\x18\x05 \x01(\x0e2\x1f.kodex.agents.v1.AgentRunStatusH\x03R\x06status\x88\x01\x01\x128\n" +
	"\x16provider_work_item_ref\x18\x06 \x01(\tH\x04R\x13providerWorkItemRef\x88\x01\x01\x12>\n" +
	"\x19provider_pull_request_ref\x18\a \x01(\tH\x05R\x16providerPullRequestRef\x88\x01\x01\x12(\n" +
	"\rcreated_after\x18\b \x01(\tH\x06R\fcreatedAfter\x88\x01\x01\x12*\n" +
	"\x0ecreated_before\x18\t \x01(\tH\aR\rcreatedBefore\x88\x01\x01\x120\n" +
	"\x04page\x18\n" +
	" \x01(\v2\x1c.kodex.agents.v1.PageRequestR\x04pageB\b\n" +
	"\x06_scopeB\r\n" +
	"\v_session_idB\x12\n" +
	"\x10_role_profile_idB\t\n" +
	"\a_statusB\x19\n" +
	"\x17_provider_work_item_refB\x1c\n" +
	"\x1a_provider_pull_request_refB\x10\n" +
	"\x0e_created_afterB\x11\n" +
	"\x0f_created_before\"\xa6\b\n" +
	"\x1bCreateSelfDeployPlanRequest\x120\n" +
	"\x04meta\x18\x01 \x01(\v2\x1c.kodex.agents.v1.CommandMetaR\x04meta\x12/\n" +
	"\x05scope\x18\x02 \x01(\v2\x19.kodex.agents.v1.ScopeRefR\x05scope\x12\x1f\n" +
	"\vproject_ref\x18\x03 \x01(\tR\n" +
	"projectRef\x12%\n" +
	"\x0erepository_ref\x18\x04 \x01(\tR\rrepositoryRef\x123\n" +
	"\x13provider_signal_ref\x18\x05 \x01(\tH\x00R\x11providerSignalRef\x88\x01\x01\x12\x1d\n" +
	"\n" +
	"source_ref\x18\x06 \x01(\tR\tsourceRef\x12(\n" +
	"\x10merge_commit_sha\x18\a \x01(\tR\x0emergeCommitSha\x12/\n" +
	"\x11services_yaml_ref\x18\b \x01(\tH\x01R\x0fservicesYamlRef\x88\x01\x01\x120\n" +
	"\x14services_yaml_digest\x18\t \x01(\tR\x12servicesYamlDigest\x122\n" +
	"\x15affected_service_keys\x18\n" +
	" \x03(\tR\x13affectedServiceKeys\x12P\n" +
	"\x0fpath_categories\x18\v \x03(\x0e2'.kodex.agents.v1.SelfDeployPathCategoryR\x0epathCategories\x12V\n" +
	"\x1aexpected_runtime_job_types\x18\f \x03(\x0e2\x19.kodex.runtime.v1.JobTypeR\x17expectedRuntimeJobTypes\x12T\n" +
	"\x12governance_context\x18\r \x01(\v2%.kodex.agents.v1.GovernanceContextRefR\x11governanceContext\x12&\n" +
	"\fsafe_summary\x18\x0e \x01(\tH\x02R\vsafeSummary\x88\x01\x01\x12(\n" +
	"\rprovider_slug\x18\x0f \x01(\tH\x03R\fproviderSlug\x88\x01\x01\x125\n" +
	"\x14repository_full_name\x18\x10 \x01(\tH\x04R\x12repositoryFullName\x88\x01\x01\x129\n" +
	"\x16provider_repository_id\x18\x11 \x01(\tH\x05R\x14providerRepositoryId\x88\x01\x01B\x16\n" +
	"\x14_provider_signal_refB\x14\n" +
	"\x12_services_yaml_refB\x0f\n" +
	"\r_safe_summaryB\x10\n" +
	"\x0e_provider_slugB\x17\n" +
	"\x15_repository_full_nameB\x19\n" +
	"\x17_provider_repository_id\"\x93\b\n" +
	"%CreateSelfDeployPlanFromSignalRequest\x120\n" +
	"\x04meta\x18\x01 \x01(\v2\x1c.kodex.agents.v1.CommandMetaR\x04meta\x12/\n" +
	"\x05scope\x18\x02 \x01(\v2\x19.kodex.agents.v1.ScopeRefR\x05scope\x12\x1f\n" +
	"\vproject_ref\x18\x03 \x01(\tR\n" +
	"projectRef\x12%\n" +
	"\x0erepository_ref\x18\x04 \x01(\tR\rrepositoryRef\x12.\n" +
	"\x13provider_signal_ref\x18\x05 \x01(\tR\x11providerSignalRef\x12\x1d\n" +
	"\n" +
	"source_ref\x18\x06 \x01(\tR\tsourceRef\x12(\n" +
	"\x10merge_commit_sha\x18\a \x01(\tR\x0emergeCommitSha\x12/\n" +
	"\x11services_yaml_ref\x18\b \x01(\tH\x00R\x0fservicesYamlRef\x88\x01\x01\x120\n" +
	"\x14services_yaml_digest\x18\t \x01(\tR\x12servicesYamlDigest\x122\n" +
	"\x15affected_service_keys\x18\n" +
	" \x03(\tR\x13affectedServiceKeys\x12P\n" +
	"\x0fpath_categories\x18\v \x03(\x0e2'.kodex.agents.v1.SelfDeployPathCategoryR\x0epathCategories\x12V\n" +
	"\x1aexpected_runtime_job_types\x18\f \x03(\x0e2\x19.kodex.runtime.v1.JobTypeR\x17expectedRuntimeJobTypes\x12T\n" +
	"\x12governance_context\x18\r \x01(\v2%.kodex.agents.v1.GovernanceContextRefR\x11governanceContext\x12&\n" +
	"\fsafe_summary\x18\x0e \x01(\tH\x01R\vsafeSummary\x88\x01\x01\x12(\n" +
	"\rprovider_slug\x18\x0f \x01(\tH\x02R\fproviderSlug\x88\x01\x01\x125\n" +
	"\x14repository_full_name\x18\x10 \x01(\tH\x03R\x12repositoryFullName\x88\x01\x01\x129\n" +
	"\x16provider_repository_id\x18\x11 \x01(\tH\x04R\x14providerRepositoryId\x88\x01\x01B\x14\n" +
	"\x12_services_yaml_refB\x0f\n" +
	"\r_safe_summaryB\x10\n" +
	"\x0e_provider_slugB\x17\n" +
	"\x15_repository_full_nameB\x19\n" +
	"\x17_provider_repository_id\"y\n" +
	"\x18GetSelfDeployPlanRequest\x12.\n" +
	"\x04meta\x18\x01 \x01(\v2\x1a.kodex.agents.v1.QueryMetaR\x04meta\x12-\n" +
	"\x13self_deploy_plan_id\x18\x02 \x01(\tR\x10selfDeployPlanId\"\xcf\x03\n" +
	"\x1aListSelfDeployPlansRequest\x12.\n" +
	"\x04meta\x18\x01 \x01(\v2\x1a.kodex.agents.v1.QueryMetaR\x04meta\x124\n" +
	"\x05scope\x18\x02 \x01(\v2\x19.kodex.agents.v1.ScopeRefH\x00R\x05scope\x88\x01\x01\x12$\n" +
	"\vproject_ref\x18\x03 \x01(\tH\x01R\n" +
	"projectRef\x88\x01\x01\x12*\n" +
	"\x0erepository_ref\x18\x04 \x01(\tH\x02R\rrepositoryRef\x88\x01\x01\x123\n" +
	"\x13provider_signal_ref\x18\x05 \x01(\tH\x03R\x11providerSignalRef\x88\x01\x01\x12B\n" +
	"\x06status\x18\x06 \x01(\x0e2%.kodex.agents.v1.SelfDeployPlanStatusH\x04R\x06status\x88\x01\x01\x120\n" +
	"\x04page\x18\a \x01(\v2\x1c.kodex.agents.v1.PageRequestR\x04pageB\b\n" +
	"\x06_scopeB\x0e\n" +
	"\f_project_refB\x11\n" +
	"\x0f_repository_refB\x16\n" +
	"\x14_provider_signal_refB\t\n" +
	"\a_status\"h\n" +
	"\x1fGetAgentRunRuntimeStatusRequest\x12.\n" +
	"\x04meta\x18\x01 \x01(\v2\x1a.kodex.agents.v1.QueryMetaR\x04meta\x12\x15\n" +
	"\x06run_id\x18\x02 \x01(\tR\x05runId\"\xce\x01\n" +
	"\x14AgentSessionResponse\x127\n" +
	"\asession\x18\x01 \x01(\v2\x1d.kodex.agents.v1.AgentSessionR\asession\x12c\n" +
	"\x15latest_state_snapshot\x18\x02 \x01(\v2*.kodex.agents.v1.AgentSessionStateSnapshotH\x00R\x13latestStateSnapshot\x88\x01\x01B\x18\n" +
	"\x16_latest_state_snapshot\"?\n" +
	"\x10AgentRunResponse\x12+\n" +
	"\x03run\x18\x01 \x01(\v2\x19.kodex.agents.v1.AgentRunR\x03run\"\x9b\x01\n" +
	"\x1dAgentRunRuntimeStatusResponse\x12+\n" +
	"\x03run\x18\x01 \x01(\v2\x19.kodex.agents.v1.AgentRunR\x03run\x12M\n" +
	"\x0eruntime_status\x18\x02 \x01(\v2&.kodex.agents.v1.AgentRunRuntimeStatusR\rruntimeStatus\"\xf1\v\n" +
	"\x15AgentRunRuntimeStatus\x12\x15\n" +
	"\x06run_id\x18\x01 \x01(\tR\x05runId\x12>\n" +
	"\n" +
	"run_status\x18\x02 \x01(\x0e2\x1f.kodex.agents.v1.AgentRunStatusR\trunStatus\x12K\n" +
	"\x0fruntime_context\x18\x03 \x01(\v2\".kodex.agents.v1.RuntimeContextRefR\x0eruntimeContext\x12]\n" +
	"\x11observation_state\x18\x04 \x01(\x0e20.kodex.agents.v1.AgentRunRuntimeObservationStateR\x10observationState\x12+\n" +
	"\x0fruntime_job_ref\x18\x05 \x01(\tH\x00R\rruntimeJobRef\x88\x01\x01\x12T\n" +
	"\x12runtime_job_status\x18\x06 \x01(\x0e2&.kodex.agents.v1.AgentRuntimeJobStatusR\x10runtimeJobStatus\x12:\n" +
	"\x17runtime_job_command_ref\x18\a \x01(\tH\x01R\x14runtimeJobCommandRef\x88\x01\x01\x123\n" +
	"\x13runtime_job_version\x18\b \x01(\x03H\x02R\x11runtimeJobVersion\x88\x01\x01\x128\n" +
	"\x16runtime_job_created_at\x18\t \x01(\tH\x03R\x13runtimeJobCreatedAt\x88\x01\x01\x128\n" +
	"\x16runtime_job_started_at\x18\n" +
	" \x01(\tH\x04R\x13runtimeJobStartedAt\x88\x01\x01\x12:\n" +
	"\x17runtime_job_finished_at\x18\v \x01(\tH\x05R\x14runtimeJobFinishedAt\x88\x01\x01\x128\n" +
	"\x16runtime_job_updated_at\x18\f \x01(\tH\x06R\x13runtimeJobUpdatedAt\x88\x01\x01\x12+\n" +
	"\x0fsafe_error_code\x18\r \x01(\tH\aR\rsafeErrorCode\x88\x01\x01\x12&\n" +
	"\fsafe_summary\x18\x0e \x01(\tH\bR\vsafeSummary\x88\x01\x01\x12)\n" +
	"\x0erun_started_at\x18\x0f \x01(\tH\tR\frunStartedAt\x88\x01\x01\x12+\n" +
	"\x0frun_finished_at\x18\x10 \x01(\tH\n" +
	"R\rrunFinishedAt\x88\x01\x01\x12$\n" +
	"\x0erun_updated_at\x18\x11 \x01(\tR\frunUpdatedAt\x12\x1f\n" +
	"\vrun_version\x18\x12 \x01(\x03R\n" +
	"runVersion\x12,\n" +
	"\x12human_gate_waiting\x18\x13 \x01(\bR\x10humanGateWaiting\x128\n" +
	"\x16human_gate_request_ref\x18\x14 \x01(\tH\vR\x13humanGateRequestRef\x88\x01\x01\x128\n" +
	"\x16human_gate_reason_code\x18\x15 \x01(\tH\fR\x13humanGateReasonCode\x88\x01\x01\x12*\n" +
	"\x11follow_up_waiting\x18\x16 \x01(\bR\x0ffollowUpWaitingB\x12\n" +
	"\x10_runtime_job_refB\x1a\n" +
	"\x18_runtime_job_command_refB\x16\n" +
	"\x14_runtime_job_versionB\x19\n" +
	"\x17_runtime_job_created_atB\x19\n" +
	"\x17_runtime_job_started_atB\x1a\n" +
	"\x18_runtime_job_finished_atB\x19\n" +
	"\x17_runtime_job_updated_atB\x12\n" +
	"\x10_safe_error_codeB\x0f\n" +
	"\r_safe_summaryB\x11\n" +
	"\x0f_run_started_atB\x12\n" +
	"\x10_run_finished_atB\x19\n" +
	"\x17_human_gate_request_refB\x19\n" +
	"\x17_human_gate_reason_code\"\x80\x05\n" +
	"\x14AgentActivitySummary\x12\x1f\n" +
	"\vactivity_id\x18\x01 \x01(\tR\n" +
	"activityId\x12G\n" +
	"\ractivity_kind\x18\x02 \x01(\x0e2\".kodex.agents.v1.AgentActivityKindR\factivityKind\x12<\n" +
	"\x06status\x18\x03 \x01(\x0e2$.kodex.agents.v1.AgentActivityStatusR\x06status\x12 \n" +
	"\ttool_name\x18\x04 \x01(\tH\x00R\btoolName\x88\x01\x01\x12(\n" +
	"\rtool_category\x18\x05 \x01(\tH\x01R\ftoolCategory\x88\x01\x01\x12&\n" +
	"\fsafe_summary\x18\x06 \x01(\tH\x02R\vsafeSummary\x88\x01\x01\x12*\n" +
	"\x0epayload_digest\x18\a \x01(\tH\x03R\rpayloadDigest\x88\x01\x01\x12(\n" +
	"\rbounded_error\x18\b \x01(\tH\x04R\fboundedError\x88\x01\x01\x12\"\n" +
	"\n" +
	"started_at\x18\t \x01(\tH\x05R\tstartedAt\x88\x01\x01\x12$\n" +
	"\vfinished_at\x18\n" +
	" \x01(\tH\x06R\n" +
	"finishedAt\x88\x01\x01\x12\x1d\n" +
	"\n" +
	"updated_at\x18\v \x01(\tR\tupdatedAt\x12\x18\n" +
	"\aversion\x18\f \x01(\x03R\aversionB\f\n" +
	"\n" +
	"_tool_nameB\x10\n" +
	"\x0e_tool_categoryB\x0f\n" +
	"\r_safe_summaryB\x11\n" +
	"\x0f_payload_digestB\x10\n" +
	"\x0e_bounded_errorB\r\n" +
	"\v_started_atB\x0e\n" +
	"\f_finished_at\"\x83\x06\n" +
	"\x10AgentRunListItem\x12+\n" +
	"\x03run\x18\x01 \x01(\v2\x19.kodex.agents.v1.AgentRunR\x03run\x12+\n" +
	"\x0fruntime_job_ref\x18\x02 \x01(\tH\x00R\rruntimeJobRef\x88\x01\x01\x12l\n" +
	"\x19runtime_observation_state\x18\x03 \x01(\x0e20.kodex.agents.v1.AgentRunRuntimeObservationStateR\x17runtimeObservationState\x12:\n" +
	"\x17runtime_safe_error_code\x18\x04 \x01(\tH\x01R\x14runtimeSafeErrorCode\x88\x01\x01\x125\n" +
	"\x14runtime_safe_summary\x18\x05 \x01(\tH\x02R\x12runtimeSafeSummary\x88\x01\x01\x12,\n" +
	"\x12human_gate_waiting\x18\x06 \x01(\bR\x10humanGateWaiting\x128\n" +
	"\x16human_gate_request_ref\x18\a \x01(\tH\x03R\x13humanGateRequestRef\x88\x01\x01\x128\n" +
	"\x16human_gate_reason_code\x18\b \x01(\tH\x04R\x13humanGateReasonCode\x88\x01\x01\x12*\n" +
	"\x11follow_up_waiting\x18\t \x01(\bR\x0ffollowUpWaiting\x12S\n" +
	"\x0flatest_activity\x18\n" +
	" \x01(\v2%.kodex.agents.v1.AgentActivitySummaryH\x05R\x0elatestActivity\x88\x01\x01B\x12\n" +
	"\x10_runtime_job_refB\x1a\n" +
	"\x18_runtime_safe_error_codeB\x17\n" +
	"\x15_runtime_safe_summaryB\x19\n" +
	"\x17_human_gate_request_refB\x19\n" +
	"\x17_human_gate_reason_codeB\x12\n" +
	"\x10_latest_activity\"\xf1\x06\n" +
	"\x14AgentSessionListItem\x127\n" +
	"\asession\x18\x01 \x01(\v2\x1d.kodex.agents.v1.AgentSessionR\asession\x12'\n" +
	"\rlatest_run_id\x18\x02 \x01(\tH\x00R\vlatestRunId\x88\x01\x01\x12P\n" +
	"\x11latest_run_status\x18\x03 \x01(\x0e2\x1f.kodex.agents.v1.AgentRunStatusH\x01R\x0flatestRunStatus\x88\x01\x01\x128\n" +
	"\x16latest_runtime_job_ref\x18\x04 \x01(\tH\x02R\x13latestRuntimeJobRef\x88\x01\x01\x12:\n" +
	"\x17latest_run_safe_summary\x18\x05 \x01(\tH\x03R\x14latestRunSafeSummary\x88\x01\x01\x12(\n" +
	"\x10active_run_count\x18\x06 \x01(\x05R\x0eactiveRunCount\x12,\n" +
	"\x12human_gate_waiting\x18\a \x01(\bR\x10humanGateWaiting\x128\n" +
	"\x16human_gate_request_ref\x18\b \x01(\tH\x04R\x13humanGateRequestRef\x88\x01\x01\x128\n" +
	"\x16human_gate_reason_code\x18\t \x01(\tH\x05R\x13humanGateReasonCode\x88\x01\x01\x12S\n" +
	"\x0flatest_activity\x18\n" +
	" \x01(\v2%.kodex.agents.v1.AgentActivitySummaryH\x06R\x0elatestActivity\x88\x01\x01\x12*\n" +
	"\x11follow_up_waiting\x18\v \x01(\bR\x0ffollowUpWaiting\x12'\n" +
	"\rfollow_up_ref\x18\f \x01(\tH\aR\vfollowUpRef\x88\x01\x01B\x10\n" +
	"\x0e_latest_run_idB\x14\n" +
	"\x12_latest_run_statusB\x19\n" +
	"\x17_latest_runtime_job_refB\x1a\n" +
	"\x18_latest_run_safe_summaryB\x19\n" +
	"\x17_human_gate_request_refB\x19\n" +
	"\x17_human_gate_reason_codeB\x12\n" +
	"\x10_latest_activityB\x10\n" +
	"\x0e_follow_up_ref\"\xa4\x01\n" +
	"!AgentSessionStateSnapshotResponse\x12F\n" +
	"\bsnapshot\x18\x01 \x01(\v2*.kodex.agents.v1.AgentSessionStateSnapshotR\bsnapshot\x127\n" +
	"\asession\x18\x02 \x01(\v2\x1d.kodex.agents.v1.AgentSessionR\asession\"j\n" +
	"\x18AcceptanceResultResponse\x12N\n" +
	"\x11acceptance_result\x18\x01 \x01(\v2!.kodex.agents.v1.AcceptanceResultR\x10acceptanceResult\"\xa4\x01\n" +
	"\x1dListAcceptanceResultsResponse\x12P\n" +
	"\x12acceptance_results\x18\x01 \x03(\v2!.kodex.agents.v1.AcceptanceResultR\x11acceptanceResults\x121\n" +
	"\x04page\x18\x02 \x01(\v2\x1d.kodex.agents.v1.PageResponseR\x04page\"c\n" +
	"\x16FollowUpIntentResponse\x12I\n" +
	"\x10follow_up_intent\x18\x01 \x01(\v2\x1f.kodex.agents.v1.FollowUpIntentR\x0efollowUpIntent\"S\n" +
	"\x15AgentActivityResponse\x12:\n" +
	"\bactivity\x18\x01 \x01(\v2\x1e.kodex.agents.v1.AgentActivityR\bactivity\"\x90\x01\n" +
	"\x1bListAgentActivitiesResponse\x12>\n" +
	"\n" +
	"activities\x18\x01 \x03(\v2\x1e.kodex.agents.v1.AgentActivityR\n" +
	"activities\x121\n" +
	"\x04page\x18\x02 \x01(\v2\x1d.kodex.agents.v1.PageResponseR\x04page\"k\n" +
	"\x18HumanGateRequestResponse\x12O\n" +
	"\x12human_gate_request\x18\x01 \x01(\v2!.kodex.agents.v1.HumanGateRequestR\x10humanGateRequest\"\xa5\x01\n" +
	"\x1dListHumanGateRequestsResponse\x12Q\n" +
	"\x13human_gate_requests\x18\x01 \x03(\v2!.kodex.agents.v1.HumanGateRequestR\x11humanGateRequests\x121\n" +
	"\x04page\x18\x02 \x01(\v2\x1d.kodex.agents.v1.PageResponseR\x04page\"c\n" +
	"\x16SelfDeployPlanResponse\x12I\n" +
	"\x10self_deploy_plan\x18\x01 \x01(\v2\x1f.kodex.agents.v1.SelfDeployPlanR\x0eselfDeployPlan\"\x9d\x01\n" +
	"\x1bListSelfDeployPlansResponse\x12K\n" +
	"\x11self_deploy_plans\x18\x01 \x03(\v2\x1f.kodex.agents.v1.SelfDeployPlanR\x0fselfDeployPlans\x121\n" +
	"\x04page\x18\x02 \x01(\v2\x1d.kodex.agents.v1.PageResponseR\x04page\"y\n" +
	"\x15ListAgentRunsResponse\x12-\n" +
	"\x04runs\x18\x01 \x03(\v2\x19.kodex.agents.v1.AgentRunR\x04runs\x121\n" +
	"\x04page\x18\x02 \x01(\v2\x1d.kodex.agents.v1.PageResponseR\x04page\"\x91\x01\n" +
	"\x19ListAgentSessionsResponse\x12A\n" +
	"\bsessions\x18\x01 \x03(\v2%.kodex.agents.v1.AgentSessionListItemR\bsessions\x121\n" +
	"\x04page\x18\x02 \x01(\v2\x1d.kodex.agents.v1.PageResponseR\x04page\"\x89\x01\n" +
	"\x1dListAgentRunSummariesResponse\x125\n" +
	"\x04runs\x18\x01 \x03(\v2!.kodex.agents.v1.AgentRunListItemR\x04runs\x121\n" +
	"\x04page\x18\x02 \x01(\v2\x1d.kodex.agents.v1.PageResponseR\x04page*\xb3\x01\n" +
	"\x0eAgentScopeType\x12 \n" +
	"\x1cAGENT_SCOPE_TYPE_UNSPECIFIED\x10\x00\x12\x1d\n" +
	"\x19AGENT_SCOPE_TYPE_PLATFORM\x10\x01\x12!\n" +
	"\x1dAGENT_SCOPE_TYPE_ORGANIZATION\x10\x02\x12\x1c\n" +
	"\x18AGENT_SCOPE_TYPE_PROJECT\x10\x03\x12\x1f\n" +
	"\x1bAGENT_SCOPE_TYPE_REPOSITORY\x10\x04*\x8c\x01\n" +
	"\n" +
	"FlowStatus\x12\x1b\n" +
	"\x17FLOW_STATUS_UNSPECIFIED\x10\x00\x12\x15\n" +
	"\x11FLOW_STATUS_DRAFT\x10\x01\x12\x16\n" +
	"\x12FLOW_STATUS_ACTIVE\x10\x02\x12\x18\n" +
	"\x14FLOW_STATUS_DISABLED\x10\x03\x12\x18\n" +
	"\x14FLOW_STATUS_ARCHIVED\x10\x04*\xbd\x01\n" +
	"\x11FlowVersionStatus\x12#\n" +
	"\x1fFLOW_VERSION_STATUS_UNSPECIFIED\x10\x00\x12\x1d\n" +
	"\x19FLOW_VERSION_STATUS_DRAFT\x10\x01\x12\x1e\n" +
	"\x1aFLOW_VERSION_STATUS_ACTIVE\x10\x02\x12\"\n" +
	"\x1eFLOW_VERSION_STATUS_SUPERSEDED\x10\x03\x12 \n" +
	"\x1cFLOW_VERSION_STATUS_REJECTED\x10\x04*\xab\x01\n" +
	"\tStageType\x12\x1a\n" +
	"\x16STAGE_TYPE_UNSPECIFIED\x10\x00\x12\x13\n" +
	"\x0fSTAGE_TYPE_WORK\x10\x01\x12\x15\n" +
	"\x11STAGE_TYPE_REVIEW\x10\x02\x12\x13\n" +
	"\x0fSTAGE_TYPE_GATE\x10\x03\x12\x16\n" +
	"\x12STAGE_TYPE_RELEASE\x10\x04\x12\x12\n" +
	"\x0eSTAGE_TYPE_OPS\x10\x05\x12\x15\n" +
	"\x11STAGE_TYPE_CUSTOM\x10\x06*\xbf\x01\n" +
	"\bRoleKind\x12\x19\n" +
	"\x15ROLE_KIND_UNSPECIFIED\x10\x00\x12\x14\n" +
	"\x10ROLE_KIND_WORKER\x10\x01\x12\x16\n" +
	"\x12ROLE_KIND_REVIEWER\x10\x02\x12\x18\n" +
	"\x14ROLE_KIND_GATEKEEPER\x10\x03\x12\x15\n" +
	"\x11ROLE_KIND_MANAGER\x10\x04\x12\x10\n" +
	"\fROLE_KIND_QA\x10\x05\x12\x11\n" +
	"\rROLE_KIND_OPS\x10\x06\x12\x14\n" +
	"\x10ROLE_KIND_CUSTOM\x10\a*\x8c\x01\n" +
	"\n" +
	"RoleStatus\x12\x1b\n" +
	"\x17ROLE_STATUS_UNSPECIFIED\x10\x00\x12\x15\n" +
	"\x11ROLE_STATUS_DRAFT\x10\x01\x12\x16\n" +
	"\x12ROLE_STATUS_ACTIVE\x10\x02\x12\x18\n" +
	"\x14ROLE_STATUS_DISABLED\x10\x03\x12\x18\n" +
	"\x14ROLE_STATUS_ARCHIVED\x10\x04*\xa0\x01\n" +
	"\n" +
	"PromptKind\x12\x1b\n" +
	"\x17PROMPT_KIND_UNSPECIFIED\x10\x00\x12\x14\n" +
	"\x10PROMPT_KIND_WORK\x10\x01\x12\x16\n" +
	"\x12PROMPT_KIND_REVISE\x10\x02\x12\x16\n" +
	"\x12PROMPT_KIND_REVIEW\x10\x03\x12\x17\n" +
	"\x13PROMPT_KIND_MANAGER\x10\x04\x12\x16\n" +
	"\x12PROMPT_KIND_CUSTOM\x10\x05*\xc9\x01\n" +
	"\x13PromptVersionStatus\x12%\n" +
	"!PROMPT_VERSION_STATUS_UNSPECIFIED\x10\x00\x12\x1f\n" +
	"\x1bPROMPT_VERSION_STATUS_DRAFT\x10\x01\x12 \n" +
	"\x1cPROMPT_VERSION_STATUS_ACTIVE\x10\x02\x12$\n" +
	" PROMPT_VERSION_STATUS_SUPERSEDED\x10\x03\x12\"\n" +
	"\x1ePROMPT_VERSION_STATUS_REJECTED\x10\x04*\x9d\x02\n" +
	"\x14StageRoleBindingKind\x12'\n" +
	"#STAGE_ROLE_BINDING_KIND_UNSPECIFIED\x10\x00\x12$\n" +
	" STAGE_ROLE_BINDING_KIND_EXECUTOR\x10\x01\x12$\n" +
	" STAGE_ROLE_BINDING_KIND_REVIEWER\x10\x02\x12&\n" +
	"\"STAGE_ROLE_BINDING_KIND_GATEKEEPER\x10\x03\x12\x1e\n" +
	"\x1aSTAGE_ROLE_BINDING_KIND_QA\x10\x04\x12$\n" +
	" STAGE_ROLE_BINDING_KIND_OBSERVER\x10\x05\x12\"\n" +
	"\x1eSTAGE_ROLE_BINDING_KIND_CUSTOM\x10\x06*\xe4\x01\n" +
	"\x12AgentSessionStatus\x12$\n" +
	" AGENT_SESSION_STATUS_UNSPECIFIED\x10\x00\x12\x1d\n" +
	"\x19AGENT_SESSION_STATUS_OPEN\x10\x01\x12 \n" +
	"\x1cAGENT_SESSION_STATUS_WAITING\x10\x02\x12\"\n" +
	"\x1eAGENT_SESSION_STATUS_COMPLETED\x10\x03\x12\x1f\n" +
	"\x1bAGENT_SESSION_STATUS_FAILED\x10\x04\x12\"\n" +
	"\x1eAGENT_SESSION_STATUS_CANCELLED\x10\x05*\x8a\x02\n" +
	"\x0eAgentRunStatus\x12 \n" +
	"\x1cAGENT_RUN_STATUS_UNSPECIFIED\x10\x00\x12\x1e\n" +
	"\x1aAGENT_RUN_STATUS_REQUESTED\x10\x01\x12\x1d\n" +
	"\x19AGENT_RUN_STATUS_STARTING\x10\x02\x12\x1c\n" +
	"\x18AGENT_RUN_STATUS_RUNNING\x10\x03\x12\x1c\n" +
	"\x18AGENT_RUN_STATUS_WAITING\x10\x04\x12\x1e\n" +
	"\x1aAGENT_RUN_STATUS_COMPLETED\x10\x05\x12\x1b\n" +
	"\x17AGENT_RUN_STATUS_FAILED\x10\x06\x12\x1e\n" +
	"\x1aAGENT_RUN_STATUS_CANCELLED\x10\a*\xbd\x02\n" +
	"\x13AgentRunnerRunState\x12&\n" +
	"\"AGENT_RUNNER_RUN_STATE_UNSPECIFIED\x10\x00\x12!\n" +
	"\x1dAGENT_RUNNER_RUN_STATE_QUEUED\x10\x01\x12\"\n" +
	"\x1eAGENT_RUNNER_RUN_STATE_RUNNING\x10\x02\x12$\n" +
	" AGENT_RUNNER_RUN_STATE_COMPLETED\x10\x03\x12!\n" +
	"\x1dAGENT_RUNNER_RUN_STATE_FAILED\x10\x04\x12\"\n" +
	"\x1eAGENT_RUNNER_RUN_STATE_STARTED\x10\x05\x12$\n" +
	" AGENT_RUNNER_RUN_STATE_CANCELLED\x10\x06\x12$\n" +
	" AGENT_RUNNER_RUN_STATE_TIMED_OUT\x10\a*\xd4\x02\n" +
	"\x1fAgentRunRuntimeObservationState\x123\n" +
	"/AGENT_RUN_RUNTIME_OBSERVATION_STATE_UNSPECIFIED\x10\x00\x123\n" +
	"/AGENT_RUN_RUNTIME_OBSERVATION_STATE_NOT_CREATED\x10\x01\x122\n" +
	".AGENT_RUN_RUNTIME_OBSERVATION_STATE_STORED_REF\x10\x02\x12,\n" +
	"(AGENT_RUN_RUNTIME_OBSERVATION_STATE_LIVE\x10\x03\x123\n" +
	"/AGENT_RUN_RUNTIME_OBSERVATION_STATE_UNAVAILABLE\x10\x04\x120\n" +
	",AGENT_RUN_RUNTIME_OBSERVATION_STATE_CONFLICT\x10\x05*\xd0\x02\n" +
	"\x15AgentRuntimeJobStatus\x12(\n" +
	"$AGENT_RUNTIME_JOB_STATUS_UNSPECIFIED\x10\x00\x12$\n" +
	" AGENT_RUNTIME_JOB_STATUS_PENDING\x10\x01\x12$\n" +
	" AGENT_RUNTIME_JOB_STATUS_CLAIMED\x10\x02\x12$\n" +
	" AGENT_RUNTIME_JOB_STATUS_RUNNING\x10\x03\x12&\n" +
	"\"AGENT_RUNTIME_JOB_STATUS_SUCCEEDED\x10\x04\x12#\n" +
	"\x1fAGENT_RUNTIME_JOB_STATUS_FAILED\x10\x05\x12&\n" +
	"\"AGENT_RUNTIME_JOB_STATUS_CANCELLED\x10\x06\x12&\n" +
	"\"AGENT_RUNTIME_JOB_STATUS_TIMED_OUT\x10\a*\x90\x02\n" +
	"\x18AgentSessionSnapshotKind\x12+\n" +
	"'AGENT_SESSION_SNAPSHOT_KIND_UNSPECIFIED\x10\x00\x12/\n" +
	"+AGENT_SESSION_SNAPSHOT_KIND_TURN_CHECKPOINT\x10\x01\x12.\n" +
	"*AGENT_SESSION_SNAPSHOT_KIND_RUN_COMPLETION\x10\x02\x121\n" +
	"-AGENT_SESSION_SNAPSHOT_KIND_MANUAL_CHECKPOINT\x10\x03\x123\n" +
	"/AGENT_SESSION_SNAPSHOT_KIND_RECOVERY_CHECKPOINT\x10\x04*\x99\x02\n" +
	"\x13AcceptanceCheckKind\x12%\n" +
	"!ACCEPTANCE_CHECK_KIND_UNSPECIFIED\x10\x00\x12\"\n" +
	"\x1eACCEPTANCE_CHECK_KIND_ARTIFACT\x10\x01\x12#\n" +
	"\x1fACCEPTANCE_CHECK_KIND_WATERMARK\x10\x02\x12 \n" +
	"\x1cACCEPTANCE_CHECK_KIND_POLICY\x10\x03\x12%\n" +
	"!ACCEPTANCE_CHECK_KIND_ROLE_RESULT\x10\x04\x12$\n" +
	" ACCEPTANCE_CHECK_KIND_HUMAN_GATE\x10\x05\x12#\n" +
	"\x1fACCEPTANCE_CHECK_KIND_FOLLOW_UP\x10\x06*\xce\x01\n" +
	"\x10AcceptanceStatus\x12!\n" +
	"\x1dACCEPTANCE_STATUS_UNSPECIFIED\x10\x00\x12\x1d\n" +
	"\x19ACCEPTANCE_STATUS_PENDING\x10\x01\x12\x1c\n" +
	"\x18ACCEPTANCE_STATUS_PASSED\x10\x02\x12\x1c\n" +
	"\x18ACCEPTANCE_STATUS_FAILED\x10\x03\x12\x1d\n" +
	"\x19ACCEPTANCE_STATUS_WAITING\x10\x04\x12\x1d\n" +
	"\x19ACCEPTANCE_STATUS_SKIPPED\x10\x05*\xf4\x02\n" +
	"\x14FollowUpIntentStatus\x12'\n" +
	"#FOLLOW_UP_INTENT_STATUS_UNSPECIFIED\x10\x00\x12#\n" +
	"\x1fFOLLOW_UP_INTENT_STATUS_PLANNED\x10\x01\x12%\n" +
	"!FOLLOW_UP_INTENT_STATUS_REQUESTED\x10\x02\x12#\n" +
	"\x1fFOLLOW_UP_INTENT_STATUS_CREATED\x10\x03\x12\"\n" +
	"\x1eFOLLOW_UP_INTENT_STATUS_FAILED\x10\x04\x12%\n" +
	"!FOLLOW_UP_INTENT_STATUS_CANCELLED\x10\x05\x12#\n" +
	"\x1fFOLLOW_UP_INTENT_STATUS_UPDATED\x10\x06\x12%\n" +
	"!FOLLOW_UP_INTENT_STATUS_COMMENTED\x10\a\x12+\n" +
	"'FOLLOW_UP_INTENT_STATUS_REVIEW_SIGNALED\x10\b*\xce\x02\n" +
	"\x14FollowUpDispatchKind\x12'\n" +
	"#FOLLOW_UP_DISPATCH_KIND_UNSPECIFIED\x10\x00\x12(\n" +
	"$FOLLOW_UP_DISPATCH_KIND_CREATE_ISSUE\x10\x01\x12(\n" +
	"$FOLLOW_UP_DISPATCH_KIND_UPDATE_ISSUE\x10\x02\x12*\n" +
	"&FOLLOW_UP_DISPATCH_KIND_CREATE_COMMENT\x10\x03\x12*\n" +
	"&FOLLOW_UP_DISPATCH_KIND_UPDATE_COMMENT\x10\x04\x12/\n" +
	"+FOLLOW_UP_DISPATCH_KIND_UPDATE_PULL_REQUEST\x10\x05\x120\n" +
	",FOLLOW_UP_DISPATCH_KIND_CREATE_REVIEW_SIGNAL\x10\x06*\xda\x02\n" +
	"\x11AgentActivityKind\x12#\n" +
	"\x1fAGENT_ACTIVITY_KIND_UNSPECIFIED\x10\x00\x12!\n" +
	"\x1dAGENT_ACTIVITY_KIND_LIFECYCLE\x10\x01\x12 \n" +
	"\x1cAGENT_ACTIVITY_KIND_TOOL_USE\x10\x02\x12#\n" +
	"\x1fAGENT_ACTIVITY_KIND_TOOL_RESULT\x10\x03\x12\"\n" +
	"\x1eAGENT_ACTIVITY_KIND_PERMISSION\x10\x04\x12'\n" +
	"#AGENT_ACTIVITY_KIND_PROVIDER_SIGNAL\x10\x05\x12&\n" +
	"\"AGENT_ACTIVITY_KIND_RUNTIME_SIGNAL\x10\x06\x12\"\n" +
	"\x1eAGENT_ACTIVITY_KIND_CHECKPOINT\x10\a\x12\x1d\n" +
	"\x19AGENT_ACTIVITY_KIND_OTHER\x10\b*\xd6\x02\n" +
	"\x13AgentActivityStatus\x12%\n" +
	"!AGENT_ACTIVITY_STATUS_UNSPECIFIED\x10\x00\x12!\n" +
	"\x1dAGENT_ACTIVITY_STATUS_PLANNED\x10\x01\x12!\n" +
	"\x1dAGENT_ACTIVITY_STATUS_STARTED\x10\x02\x12#\n" +
	"\x1fAGENT_ACTIVITY_STATUS_SUCCEEDED\x10\x03\x12 \n" +
	"\x1cAGENT_ACTIVITY_STATUS_FAILED\x10\x04\x12 \n" +
	"\x1cAGENT_ACTIVITY_STATUS_DENIED\x10\x05\x12!\n" +
	"\x1dAGENT_ACTIVITY_STATUS_WAITING\x10\x06\x12#\n" +
	"\x1fAGENT_ACTIVITY_STATUS_CANCELLED\x10\a\x12!\n" +
	"\x1dAGENT_ACTIVITY_STATUS_SKIPPED\x10\b*\xd3\x01\n" +
	"\x0fHumanGateStatus\x12!\n" +
	"\x1dHUMAN_GATE_STATUS_UNSPECIFIED\x10\x00\x12\x1f\n" +
	"\x1bHUMAN_GATE_STATUS_REQUESTED\x10\x01\x12\x1d\n" +
	"\x19HUMAN_GATE_STATUS_WAITING\x10\x02\x12\x1e\n" +
	"\x1aHUMAN_GATE_STATUS_RESOLVED\x10\x03\x12\x1c\n" +
	"\x18HUMAN_GATE_STATUS_FAILED\x10\x04\x12\x1f\n" +
	"\x1bHUMAN_GATE_STATUS_CANCELLED\x10\x05*\xd9\x01\n" +
	"\x10HumanGateOutcome\x12\"\n" +
	"\x1eHUMAN_GATE_OUTCOME_UNSPECIFIED\x10\x00\x12\x1b\n" +
	"\x17HUMAN_GATE_OUTCOME_NONE\x10\x01\x12\x1e\n" +
	"\x1aHUMAN_GATE_OUTCOME_APPROVE\x10\x02\x12\x1d\n" +
	"\x19HUMAN_GATE_OUTCOME_REJECT\x10\x03\x12&\n" +
	"\"HUMAN_GATE_OUTCOME_REQUEST_CHANGES\x10\x04\x12\x1d\n" +
	"\x19HUMAN_GATE_OUTCOME_ANSWER\x10\x05*\x84\x02\n" +
	"\x14SelfDeployPlanStatus\x12'\n" +
	"#SELF_DEPLOY_PLAN_STATUS_UNSPECIFIED\x10\x00\x12,\n" +
	"(SELF_DEPLOY_PLAN_STATUS_PENDING_APPROVAL\x10\x01\x12$\n" +
	" SELF_DEPLOY_PLAN_STATUS_APPROVED\x10\x02\x12$\n" +
	" SELF_DEPLOY_PLAN_STATUS_REJECTED\x10\x03\x12%\n" +
	"!SELF_DEPLOY_PLAN_STATUS_CANCELLED\x10\x04\x12\"\n" +
	"\x1eSELF_DEPLOY_PLAN_STATUS_FAILED\x10\x05*\xf7\x02\n" +
	"\x1cSelfDeployRuntimeBuildStatus\x120\n" +
	",SELF_DEPLOY_RUNTIME_BUILD_STATUS_UNSPECIFIED\x10\x00\x122\n" +
	".SELF_DEPLOY_RUNTIME_BUILD_STATUS_NOT_REQUESTED\x10\x01\x12,\n" +
	"(SELF_DEPLOY_RUNTIME_BUILD_STATUS_BLOCKED\x10\x02\x12.\n" +
	"*SELF_DEPLOY_RUNTIME_BUILD_STATUS_REQUESTED\x10\x03\x12+\n" +
	"'SELF_DEPLOY_RUNTIME_BUILD_STATUS_FAILED\x10\x04\x126\n" +
	"2SELF_DEPLOY_RUNTIME_BUILD_STATUS_PREPARING_CONTEXT\x10\x05\x12.\n" +
	"*SELF_DEPLOY_RUNTIME_BUILD_STATUS_SUCCEEDED\x10\x06*\xc6\x02\n" +
	"\x1dSelfDeployRuntimeDeployStatus\x121\n" +
	"-SELF_DEPLOY_RUNTIME_DEPLOY_STATUS_UNSPECIFIED\x10\x00\x123\n" +
	"/SELF_DEPLOY_RUNTIME_DEPLOY_STATUS_NOT_REQUESTED\x10\x01\x12-\n" +
	")SELF_DEPLOY_RUNTIME_DEPLOY_STATUS_BLOCKED\x10\x02\x12/\n" +
	"+SELF_DEPLOY_RUNTIME_DEPLOY_STATUS_REQUESTED\x10\x03\x12,\n" +
	"(SELF_DEPLOY_RUNTIME_DEPLOY_STATUS_FAILED\x10\x04\x12/\n" +
	"+SELF_DEPLOY_RUNTIME_DEPLOY_STATUS_SUCCEEDED\x10\x05*\xd0\x03\n" +
	"\x16SelfDeployPathCategory\x12)\n" +
	"%SELF_DEPLOY_PATH_CATEGORY_UNSPECIFIED\x10\x00\x12,\n" +
	"(SELF_DEPLOY_PATH_CATEGORY_SERVICE_SOURCE\x10\x01\x12,\n" +
	"(SELF_DEPLOY_PATH_CATEGORY_SERVICE_CONFIG\x10\x02\x12-\n" +
	")SELF_DEPLOY_PATH_CATEGORY_DEPLOY_MANIFEST\x10\x03\x12,\n" +
	"(SELF_DEPLOY_PATH_CATEGORY_RUNTIME_CONFIG\x10\x04\x12+\n" +
	"'SELF_DEPLOY_PATH_CATEGORY_DOCUMENTATION\x10\x05\x12\"\n" +
	"\x1eSELF_DEPLOY_PATH_CATEGORY_TEST\x10\x06\x12-\n" +
	")SELF_DEPLOY_PATH_CATEGORY_PLATFORM_POLICY\x10\a\x12#\n" +
	"\x1fSELF_DEPLOY_PATH_CATEGORY_OTHER\x10\b\x12-\n" +
	")SELF_DEPLOY_PATH_CATEGORY_SERVICES_POLICY\x10\t*\x90\x02\n" +
	"\x15AutomationTriggerKind\x12'\n" +
	"#AUTOMATION_TRIGGER_KIND_UNSPECIFIED\x10\x00\x12$\n" +
	" AUTOMATION_TRIGGER_KIND_SCHEDULE\x10\x01\x12(\n" +
	"$AUTOMATION_TRIGGER_KIND_DOMAIN_EVENT\x10\x02\x12+\n" +
	"'AUTOMATION_TRIGGER_KIND_PROVIDER_SIGNAL\x10\x03\x12\"\n" +
	"\x1eAUTOMATION_TRIGGER_KIND_MANUAL\x10\x04\x12-\n" +
	")AUTOMATION_TRIGGER_KIND_EXTERNAL_CALLBACK\x10\x05*\x91\x01\n" +
	"\x10AutomationStatus\x12!\n" +
	"\x1dAUTOMATION_STATUS_UNSPECIFIED\x10\x00\x12\x1c\n" +
	"\x18AUTOMATION_STATUS_ACTIVE\x10\x01\x12\x1e\n" +
	"\x1aAUTOMATION_STATUS_DISABLED\x10\x02\x12\x1c\n" +
	"\x18AUTOMATION_STATUS_PAUSED\x10\x032\xf8#\n" +
	"\x13AgentManagerService\x12O\n" +
	"\n" +
	"CreateFlow\x12\".kodex.agents.v1.CreateFlowRequest\x1a\x1d.kodex.agents.v1.FlowResponse\x12O\n" +
	"\n" +
	"UpdateFlow\x12\".kodex.agents.v1.UpdateFlowRequest\x1a\x1d.kodex.agents.v1.FlowResponse\x12d\n" +
	"\x11CreateFlowVersion\x12).kodex.agents.v1.CreateFlowVersionRequest\x1a$.kodex.agents.v1.FlowVersionResponse\x12h\n" +
	"\x13ActivateFlowVersion\x12+.kodex.agents.v1.ActivateFlowVersionRequest\x1a$.kodex.agents.v1.FlowVersionResponse\x12I\n" +
	"\aGetFlow\x12\x1f.kodex.agents.v1.GetFlowRequest\x1a\x1d.kodex.agents.v1.FlowResponse\x12R\n" +
	"\tListFlows\x12!.kodex.agents.v1.ListFlowsRequest\x1a\".kodex.agents.v1.ListFlowsResponse\x12d\n" +
	"\x11CreateRoleProfile\x12).kodex.agents.v1.CreateRoleProfileRequest\x1a$.kodex.agents.v1.RoleProfileResponse\x12d\n" +
	"\x11UpdateRoleProfile\x12).kodex.agents.v1.UpdateRoleProfileRequest\x1a$.kodex.agents.v1.RoleProfileResponse\x12^\n" +
	"\x0eGetRoleProfile\x12&.kodex.agents.v1.GetRoleProfileRequest\x1a$.kodex.agents.v1.RoleProfileResponse\x12g\n" +
	"\x10ListRoleProfiles\x12(.kodex.agents.v1.ListRoleProfilesRequest\x1a).kodex.agents.v1.ListRoleProfilesResponse\x12g\n" +
	"\x11GetPromptTemplate\x12).kodex.agents.v1.GetPromptTemplateRequest\x1a'.kodex.agents.v1.PromptTemplateResponse\x12p\n" +
	"\x13ListPromptTemplates\x12+.kodex.agents.v1.ListPromptTemplatesRequest\x1a,.kodex.agents.v1.ListPromptTemplatesResponse\x12\x82\x01\n" +
	"\x1bCreatePromptTemplateVersion\x123.kodex.agents.v1.CreatePromptTemplateVersionRequest\x1a..kodex.agents.v1.PromptTemplateVersionResponse\x12\x86\x01\n" +
	"\x1dActivatePromptTemplateVersion\x125.kodex.agents.v1.ActivatePromptTemplateVersionRequest\x1a..kodex.agents.v1.PromptTemplateVersionResponse\x12|\n" +
	"\x18GetPromptTemplateVersion\x120.kodex.agents.v1.GetPromptTemplateVersionRequest\x1a..kodex.agents.v1.PromptTemplateVersionResponse\x12\x85\x01\n" +
	"\x1aListPromptTemplateVersions\x122.kodex.agents.v1.ListPromptTemplateVersionsRequest\x1a3.kodex.agents.v1.ListPromptTemplateVersionsResponse\x12e\n" +
	"\x11StartAgentSession\x12).kodex.agents.v1.StartAgentSessionRequest\x1a%.kodex.agents.v1.AgentSessionResponse\x12Y\n" +
	"\rStartAgentRun\x12%.kodex.agents.v1.StartAgentRunRequest\x1a!.kodex.agents.v1.AgentRunResponse\x12[\n" +
	"\x0eRecordRunState\x12&.kodex.agents.v1.RecordRunStateRequest\x1a!.kodex.agents.v1.AgentRunResponse\x12e\n" +
	"\x13ReportAgentRunState\x12+.kodex.agents.v1.ReportAgentRunStateRequest\x1a!.kodex.agents.v1.AgentRunResponse\x12|\n" +
	"\x18GetAgentRunRuntimeStatus\x120.kodex.agents.v1.GetAgentRunRuntimeStatusRequest\x1a..kodex.agents.v1.AgentRunRuntimeStatusResponse\x12\x84\x01\n" +
	"\x1aRecordSessionStateSnapshot\x122.kodex.agents.v1.RecordSessionStateSnapshotRequest\x1a2.kodex.agents.v1.AgentSessionStateSnapshotResponse\x12i\n" +
	"\x11RequestAcceptance\x12).kodex.agents.v1.RequestAcceptanceRequest\x1a).kodex.agents.v1.AcceptanceResultResponse\x12s\n" +
	"\x16RecordAcceptanceResult\x12..kodex.agents.v1.RecordAcceptanceResultRequest\x1a).kodex.agents.v1.AcceptanceResultResponse\x12m\n" +
	"\x13GetAcceptanceResult\x12+.kodex.agents.v1.GetAcceptanceResultRequest\x1a).kodex.agents.v1.AcceptanceResultResponse\x12v\n" +
	"\x15ListAcceptanceResults\x12-.kodex.agents.v1.ListAcceptanceResultsRequest\x1a..kodex.agents.v1.ListAcceptanceResultsResponse\x12m\n" +
	"\x14CreateFollowUpIntent\x12,.kodex.agents.v1.CreateFollowUpIntentRequest\x1a'.kodex.agents.v1.FollowUpIntentResponse\x12q\n" +
	"\x16DispatchFollowUpIntent\x12..kodex.agents.v1.DispatchFollowUpIntentRequest\x1a'.kodex.agents.v1.FollowUpIntentResponse\x12j\n" +
	"\x13RecordAgentActivity\x12+.kodex.agents.v1.RecordAgentActivityRequest\x1a&.kodex.agents.v1.AgentActivityResponse\x12p\n" +
	"\x13ListAgentActivities\x12+.kodex.agents.v1.ListAgentActivitiesRequest\x1a,.kodex.agents.v1.ListAgentActivitiesResponse\x12g\n" +
	"\x10RequestHumanGate\x12(.kodex.agents.v1.RequestHumanGateRequest\x1a).kodex.agents.v1.HumanGateRequestResponse\x12u\n" +
	"\x17RecordHumanGateDecision\x12/.kodex.agents.v1.RecordHumanGateDecisionRequest\x1a).kodex.agents.v1.HumanGateRequestResponse\x12m\n" +
	"\x13GetHumanGateRequest\x12+.kodex.agents.v1.GetHumanGateRequestRequest\x1a).kodex.agents.v1.HumanGateRequestResponse\x12v\n" +
	"\x15ListHumanGateRequests\x12-.kodex.agents.v1.ListHumanGateRequestsRequest\x1a..kodex.agents.v1.ListHumanGateRequestsResponse\x12a\n" +
	"\x0fGetAgentSession\x12'.kodex.agents.v1.GetAgentSessionRequest\x1a%.kodex.agents.v1.AgentSessionResponse\x12j\n" +
	"\x11ListAgentSessions\x12).kodex.agents.v1.ListAgentSessionsRequest\x1a*.kodex.agents.v1.ListAgentSessionsResponse\x12^\n" +
	"\rListAgentRuns\x12%.kodex.agents.v1.ListAgentRunsRequest\x1a&.kodex.agents.v1.ListAgentRunsResponse\x12v\n" +
	"\x15ListAgentRunSummaries\x12-.kodex.agents.v1.ListAgentRunSummariesRequest\x1a..kodex.agents.v1.ListAgentRunSummariesResponse\x12m\n" +
	"\x14CreateSelfDeployPlan\x12,.kodex.agents.v1.CreateSelfDeployPlanRequest\x1a'.kodex.agents.v1.SelfDeployPlanResponse\x12\x81\x01\n" +
	"\x1eCreateSelfDeployPlanFromSignal\x126.kodex.agents.v1.CreateSelfDeployPlanFromSignalRequest\x1a'.kodex.agents.v1.SelfDeployPlanResponse\x12g\n" +
	"\x11GetSelfDeployPlan\x12).kodex.agents.v1.GetSelfDeployPlanRequest\x1a'.kodex.agents.v1.SelfDeployPlanResponse\x12p\n" +
	"\x13ListSelfDeployPlans\x12+.kodex.agents.v1.ListSelfDeployPlansRequest\x1a,.kodex.agents.v1.ListSelfDeployPlansResponseBBZ@github.com/codex-k8s/kodex/proto/gen/go/kodex/agents/v1;agentsv1b\x06proto3"

var (
	file_kodex_agents_v1_agent_manager_proto_rawDescOnce sync.Once
	file_kodex_agents_v1_agent_manager_proto_rawDescData []byte
)

func file_kodex_agents_v1_agent_manager_proto_rawDescGZIP() []byte {
	file_kodex_agents_v1_agent_manager_proto_rawDescOnce.Do(func() {
		file_kodex_agents_v1_agent_manager_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_kodex_agents_v1_agent_manager_proto_rawDesc), len(file_kodex_agents_v1_agent_manager_proto_rawDesc)))
	})
	return file_kodex_agents_v1_agent_manager_proto_rawDescData
}

var file_kodex_agents_v1_agent_manager_proto_enumTypes = make([]protoimpl.EnumInfo, 29)
var file_kodex_agents_v1_agent_manager_proto_msgTypes = make([]protoimpl.MessageInfo, 114)
var file_kodex_agents_v1_agent_manager_proto_goTypes = []any{
	(AgentScopeType)(0),                           // 0: kodex.agents.v1.AgentScopeType
	(FlowStatus)(0),                               // 1: kodex.agents.v1.FlowStatus
	(FlowVersionStatus)(0),                        // 2: kodex.agents.v1.FlowVersionStatus
	(StageType)(0),                                // 3: kodex.agents.v1.StageType
	(RoleKind)(0),                                 // 4: kodex.agents.v1.RoleKind
	(RoleStatus)(0),                               // 5: kodex.agents.v1.RoleStatus
	(PromptKind)(0),                               // 6: kodex.agents.v1.PromptKind
	(PromptVersionStatus)(0),                      // 7: kodex.agents.v1.PromptVersionStatus
	(StageRoleBindingKind)(0),                     // 8: kodex.agents.v1.StageRoleBindingKind
	(AgentSessionStatus)(0),                       // 9: kodex.agents.v1.AgentSessionStatus
	(AgentRunStatus)(0),                           // 10: kodex.agents.v1.AgentRunStatus
	(AgentRunnerRunState)(0),                      // 11: kodex.agents.v1.AgentRunnerRunState
	(AgentRunRuntimeObservationState)(0),          // 12: kodex.agents.v1.AgentRunRuntimeObservationState
	(AgentRuntimeJobStatus)(0),                    // 13: kodex.agents.v1.AgentRuntimeJobStatus
	(AgentSessionSnapshotKind)(0),                 // 14: kodex.agents.v1.AgentSessionSnapshotKind
	(AcceptanceCheckKind)(0),                      // 15: kodex.agents.v1.AcceptanceCheckKind
	(AcceptanceStatus)(0),                         // 16: kodex.agents.v1.AcceptanceStatus
	(FollowUpIntentStatus)(0),                     // 17: kodex.agents.v1.FollowUpIntentStatus
	(FollowUpDispatchKind)(0),                     // 18: kodex.agents.v1.FollowUpDispatchKind
	(AgentActivityKind)(0),                        // 19: kodex.agents.v1.AgentActivityKind
	(AgentActivityStatus)(0),                      // 20: kodex.agents.v1.AgentActivityStatus
	(HumanGateStatus)(0),                          // 21: kodex.agents.v1.HumanGateStatus
	(HumanGateOutcome)(0),                         // 22: kodex.agents.v1.HumanGateOutcome
	(SelfDeployPlanStatus)(0),                     // 23: kodex.agents.v1.SelfDeployPlanStatus
	(SelfDeployRuntimeBuildStatus)(0),             // 24: kodex.agents.v1.SelfDeployRuntimeBuildStatus
	(SelfDeployRuntimeDeployStatus)(0),            // 25: kodex.agents.v1.SelfDeployRuntimeDeployStatus
	(SelfDeployPathCategory)(0),                   // 26: kodex.agents.v1.SelfDeployPathCategory
	(AutomationTriggerKind)(0),                    // 27: kodex.agents.v1.AutomationTriggerKind
	(AutomationStatus)(0),                         // 28: kodex.agents.v1.AutomationStatus
	(*CommandMeta)(nil),                           // 29: kodex.agents.v1.CommandMeta
	(*QueryMeta)(nil),                             // 30: kodex.agents.v1.QueryMeta
	(*RequestContext)(nil),                        // 31: kodex.agents.v1.RequestContext
	(*Actor)(nil),                                 // 32: kodex.agents.v1.Actor
	(*PageRequest)(nil),                           // 33: kodex.agents.v1.PageRequest
	(*PageResponse)(nil),                          // 34: kodex.agents.v1.PageResponse
	(*LocalizedText)(nil),                         // 35: kodex.agents.v1.LocalizedText
	(*ScopeRef)(nil),                              // 36: kodex.agents.v1.ScopeRef
	(*ProviderTargetRef)(nil),                     // 37: kodex.agents.v1.ProviderTargetRef
	(*GovernanceContextRef)(nil),                  // 38: kodex.agents.v1.GovernanceContextRef
	(*RuntimeContextRef)(nil),                     // 39: kodex.agents.v1.RuntimeContextRef
	(*GuidanceRef)(nil),                           // 40: kodex.agents.v1.GuidanceRef
	(*GuidanceSelectionHint)(nil),                 // 41: kodex.agents.v1.GuidanceSelectionHint
	(*ObjectRef)(nil),                             // 42: kodex.agents.v1.ObjectRef
	(*Flow)(nil),                                  // 43: kodex.agents.v1.Flow
	(*FlowVersion)(nil),                           // 44: kodex.agents.v1.FlowVersion
	(*Stage)(nil),                                 // 45: kodex.agents.v1.Stage
	(*StageTransition)(nil),                       // 46: kodex.agents.v1.StageTransition
	(*RoleProfile)(nil),                           // 47: kodex.agents.v1.RoleProfile
	(*PromptTemplate)(nil),                        // 48: kodex.agents.v1.PromptTemplate
	(*PromptTemplateVersion)(nil),                 // 49: kodex.agents.v1.PromptTemplateVersion
	(*StageRoleBinding)(nil),                      // 50: kodex.agents.v1.StageRoleBinding
	(*AgentSession)(nil),                          // 51: kodex.agents.v1.AgentSession
	(*AgentRun)(nil),                              // 52: kodex.agents.v1.AgentRun
	(*AgentSessionStateSnapshot)(nil),             // 53: kodex.agents.v1.AgentSessionStateSnapshot
	(*AcceptanceResult)(nil),                      // 54: kodex.agents.v1.AcceptanceResult
	(*FollowUpIntent)(nil),                        // 55: kodex.agents.v1.FollowUpIntent
	(*AgentActivity)(nil),                         // 56: kodex.agents.v1.AgentActivity
	(*HumanGateRequest)(nil),                      // 57: kodex.agents.v1.HumanGateRequest
	(*SelfDeployPlan)(nil),                        // 58: kodex.agents.v1.SelfDeployPlan
	(*SelfDeployRuntimeBuildJobRef)(nil),          // 59: kodex.agents.v1.SelfDeployRuntimeBuildJobRef
	(*SelfDeployRuntimeBuildContextRef)(nil),      // 60: kodex.agents.v1.SelfDeployRuntimeBuildContextRef
	(*SelfDeployRuntimeDeployJobRef)(nil),         // 61: kodex.agents.v1.SelfDeployRuntimeDeployJobRef
	(*FlowDefinitionInput)(nil),                   // 62: kodex.agents.v1.FlowDefinitionInput
	(*StageInput)(nil),                            // 63: kodex.agents.v1.StageInput
	(*StageTransitionInput)(nil),                  // 64: kodex.agents.v1.StageTransitionInput
	(*StageRoleBindingInput)(nil),                 // 65: kodex.agents.v1.StageRoleBindingInput
	(*CreateFlowRequest)(nil),                     // 66: kodex.agents.v1.CreateFlowRequest
	(*UpdateFlowRequest)(nil),                     // 67: kodex.agents.v1.UpdateFlowRequest
	(*CreateFlowVersionRequest)(nil),              // 68: kodex.agents.v1.CreateFlowVersionRequest
	(*ActivateFlowVersionRequest)(nil),            // 69: kodex.agents.v1.ActivateFlowVersionRequest
	(*GetFlowRequest)(nil),                        // 70: kodex.agents.v1.GetFlowRequest
	(*ListFlowsRequest)(nil),                      // 71: kodex.agents.v1.ListFlowsRequest
	(*FlowResponse)(nil),                          // 72: kodex.agents.v1.FlowResponse
	(*FlowVersionResponse)(nil),                   // 73: kodex.agents.v1.FlowVersionResponse
	(*ListFlowsResponse)(nil),                     // 74: kodex.agents.v1.ListFlowsResponse
	(*CreateRoleProfileRequest)(nil),              // 75: kodex.agents.v1.CreateRoleProfileRequest
	(*UpdateRoleProfileRequest)(nil),              // 76: kodex.agents.v1.UpdateRoleProfileRequest
	(*GetRoleProfileRequest)(nil),                 // 77: kodex.agents.v1.GetRoleProfileRequest
	(*ListRoleProfilesRequest)(nil),               // 78: kodex.agents.v1.ListRoleProfilesRequest
	(*RoleProfileResponse)(nil),                   // 79: kodex.agents.v1.RoleProfileResponse
	(*ListRoleProfilesResponse)(nil),              // 80: kodex.agents.v1.ListRoleProfilesResponse
	(*GetPromptTemplateRequest)(nil),              // 81: kodex.agents.v1.GetPromptTemplateRequest
	(*ListPromptTemplatesRequest)(nil),            // 82: kodex.agents.v1.ListPromptTemplatesRequest
	(*PromptTemplateResponse)(nil),                // 83: kodex.agents.v1.PromptTemplateResponse
	(*ListPromptTemplatesResponse)(nil),           // 84: kodex.agents.v1.ListPromptTemplatesResponse
	(*CreatePromptTemplateVersionRequest)(nil),    // 85: kodex.agents.v1.CreatePromptTemplateVersionRequest
	(*ActivatePromptTemplateVersionRequest)(nil),  // 86: kodex.agents.v1.ActivatePromptTemplateVersionRequest
	(*GetPromptTemplateVersionRequest)(nil),       // 87: kodex.agents.v1.GetPromptTemplateVersionRequest
	(*ListPromptTemplateVersionsRequest)(nil),     // 88: kodex.agents.v1.ListPromptTemplateVersionsRequest
	(*PromptTemplateVersionResponse)(nil),         // 89: kodex.agents.v1.PromptTemplateVersionResponse
	(*ListPromptTemplateVersionsResponse)(nil),    // 90: kodex.agents.v1.ListPromptTemplateVersionsResponse
	(*StartAgentSessionRequest)(nil),              // 91: kodex.agents.v1.StartAgentSessionRequest
	(*StartAgentRunRequest)(nil),                  // 92: kodex.agents.v1.StartAgentRunRequest
	(*RecordRunStateRequest)(nil),                 // 93: kodex.agents.v1.RecordRunStateRequest
	(*ReportAgentRunStateRequest)(nil),            // 94: kodex.agents.v1.ReportAgentRunStateRequest
	(*RecordSessionStateSnapshotRequest)(nil),     // 95: kodex.agents.v1.RecordSessionStateSnapshotRequest
	(*RequestAcceptanceRequest)(nil),              // 96: kodex.agents.v1.RequestAcceptanceRequest
	(*RecordAcceptanceResultRequest)(nil),         // 97: kodex.agents.v1.RecordAcceptanceResultRequest
	(*GetAcceptanceResultRequest)(nil),            // 98: kodex.agents.v1.GetAcceptanceResultRequest
	(*ListAcceptanceResultsRequest)(nil),          // 99: kodex.agents.v1.ListAcceptanceResultsRequest
	(*CreateFollowUpIntentRequest)(nil),           // 100: kodex.agents.v1.CreateFollowUpIntentRequest
	(*DispatchFollowUpIntentRequest)(nil),         // 101: kodex.agents.v1.DispatchFollowUpIntentRequest
	(*FollowUpCreateIssueCommand)(nil),            // 102: kodex.agents.v1.FollowUpCreateIssueCommand
	(*FollowUpUpdateIssueCommand)(nil),            // 103: kodex.agents.v1.FollowUpUpdateIssueCommand
	(*FollowUpCreateCommentCommand)(nil),          // 104: kodex.agents.v1.FollowUpCreateCommentCommand
	(*FollowUpUpdateCommentCommand)(nil),          // 105: kodex.agents.v1.FollowUpUpdateCommentCommand
	(*FollowUpUpdatePullRequestCommand)(nil),      // 106: kodex.agents.v1.FollowUpUpdatePullRequestCommand
	(*FollowUpCreateReviewSignalCommand)(nil),     // 107: kodex.agents.v1.FollowUpCreateReviewSignalCommand
	(*RecordAgentActivityRequest)(nil),            // 108: kodex.agents.v1.RecordAgentActivityRequest
	(*ListAgentActivitiesRequest)(nil),            // 109: kodex.agents.v1.ListAgentActivitiesRequest
	(*RequestHumanGateRequest)(nil),               // 110: kodex.agents.v1.RequestHumanGateRequest
	(*RecordHumanGateDecisionRequest)(nil),        // 111: kodex.agents.v1.RecordHumanGateDecisionRequest
	(*GetHumanGateRequestRequest)(nil),            // 112: kodex.agents.v1.GetHumanGateRequestRequest
	(*ListHumanGateRequestsRequest)(nil),          // 113: kodex.agents.v1.ListHumanGateRequestsRequest
	(*GetAgentSessionRequest)(nil),                // 114: kodex.agents.v1.GetAgentSessionRequest
	(*ListAgentRunsRequest)(nil),                  // 115: kodex.agents.v1.ListAgentRunsRequest
	(*ListAgentSessionsRequest)(nil),              // 116: kodex.agents.v1.ListAgentSessionsRequest
	(*ListAgentRunSummariesRequest)(nil),          // 117: kodex.agents.v1.ListAgentRunSummariesRequest
	(*CreateSelfDeployPlanRequest)(nil),           // 118: kodex.agents.v1.CreateSelfDeployPlanRequest
	(*CreateSelfDeployPlanFromSignalRequest)(nil), // 119: kodex.agents.v1.CreateSelfDeployPlanFromSignalRequest
	(*GetSelfDeployPlanRequest)(nil),              // 120: kodex.agents.v1.GetSelfDeployPlanRequest
	(*ListSelfDeployPlansRequest)(nil),            // 121: kodex.agents.v1.ListSelfDeployPlansRequest
	(*GetAgentRunRuntimeStatusRequest)(nil),       // 122: kodex.agents.v1.GetAgentRunRuntimeStatusRequest
	(*AgentSessionResponse)(nil),                  // 123: kodex.agents.v1.AgentSessionResponse
	(*AgentRunResponse)(nil),                      // 124: kodex.agents.v1.AgentRunResponse
	(*AgentRunRuntimeStatusResponse)(nil),         // 125: kodex.agents.v1.AgentRunRuntimeStatusResponse
	(*AgentRunRuntimeStatus)(nil),                 // 126: kodex.agents.v1.AgentRunRuntimeStatus
	(*AgentActivitySummary)(nil),                  // 127: kodex.agents.v1.AgentActivitySummary
	(*AgentRunListItem)(nil),                      // 128: kodex.agents.v1.AgentRunListItem
	(*AgentSessionListItem)(nil),                  // 129: kodex.agents.v1.AgentSessionListItem
	(*AgentSessionStateSnapshotResponse)(nil),     // 130: kodex.agents.v1.AgentSessionStateSnapshotResponse
	(*AcceptanceResultResponse)(nil),              // 131: kodex.agents.v1.AcceptanceResultResponse
	(*ListAcceptanceResultsResponse)(nil),         // 132: kodex.agents.v1.ListAcceptanceResultsResponse
	(*FollowUpIntentResponse)(nil),                // 133: kodex.agents.v1.FollowUpIntentResponse
	(*AgentActivityResponse)(nil),                 // 134: kodex.agents.v1.AgentActivityResponse
	(*ListAgentActivitiesResponse)(nil),           // 135: kodex.agents.v1.ListAgentActivitiesResponse
	(*HumanGateRequestResponse)(nil),              // 136: kodex.agents.v1.HumanGateRequestResponse
	(*ListHumanGateRequestsResponse)(nil),         // 137: kodex.agents.v1.ListHumanGateRequestsResponse
	(*SelfDeployPlanResponse)(nil),                // 138: kodex.agents.v1.SelfDeployPlanResponse
	(*ListSelfDeployPlansResponse)(nil),           // 139: kodex.agents.v1.ListSelfDeployPlansResponse
	(*ListAgentRunsResponse)(nil),                 // 140: kodex.agents.v1.ListAgentRunsResponse
	(*ListAgentSessionsResponse)(nil),             // 141: kodex.agents.v1.ListAgentSessionsResponse
	(*ListAgentRunSummariesResponse)(nil),         // 142: kodex.agents.v1.ListAgentRunSummariesResponse
	(v1.JobType)(0),                               // 143: kodex.runtime.v1.JobType
	(*v11.ProviderOperationPolicyContext)(nil),    // 144: kodex.providers.v1.ProviderOperationPolicyContext
	(*v11.ApprovalGateReference)(nil),             // 145: kodex.providers.v1.ApprovalGateReference
	(*v11.ProviderTarget)(nil),                    // 146: kodex.providers.v1.ProviderTarget
	(*v11.StringListPatch)(nil),                   // 147: kodex.providers.v1.StringListPatch
	(v11.ReviewSignalKind)(0),                     // 148: kodex.providers.v1.ReviewSignalKind
	(*v11.ReviewInlineComment)(nil),               // 149: kodex.providers.v1.ReviewInlineComment
}
var file_kodex_agents_v1_agent_manager_proto_depIdxs = []int32{
	32,  // 0: kodex.agents.v1.CommandMeta.actor:type_name -> kodex.agents.v1.Actor
	31,  // 1: kodex.agents.v1.CommandMeta.request_context:type_name -> kodex.agents.v1.RequestContext
	32,  // 2: kodex.agents.v1.QueryMeta.actor:type_name -> kodex.agents.v1.Actor
	31,  // 3: kodex.agents.v1.QueryMeta.request_context:type_name -> kodex.agents.v1.RequestContext
	0,   // 4: kodex.agents.v1.ScopeRef.type:type_name -> kodex.agents.v1.AgentScopeType
	36,  // 5: kodex.agents.v1.Flow.scope:type_name -> kodex.agents.v1.ScopeRef
	35,  // 6: kodex.agents.v1.Flow.display_name:type_name -> kodex.agents.v1.LocalizedText
	35,  // 7: kodex.agents.v1.Flow.description:type_name -> kodex.agents.v1.LocalizedText
	1,   // 8: kodex.agents.v1.Flow.status:type_name -> kodex.agents.v1.FlowStatus
	2,   // 9: kodex.agents.v1.FlowVersion.status:type_name -> kodex.agents.v1.FlowVersionStatus
	45,  // 10: kodex.agents.v1.FlowVersion.stages:type_name -> kodex.agents.v1.Stage
	46,  // 11: kodex.agents.v1.FlowVersion.transitions:type_name -> kodex.agents.v1.StageTransition
	50,  // 12: kodex.agents.v1.FlowVersion.stage_role_bindings:type_name -> kodex.agents.v1.StageRoleBinding
	3,   // 13: kodex.agents.v1.Stage.stage_type:type_name -> kodex.agents.v1.StageType
	35,  // 14: kodex.agents.v1.Stage.display_name:type_name -> kodex.agents.v1.LocalizedText
	36,  // 15: kodex.agents.v1.RoleProfile.scope:type_name -> kodex.agents.v1.ScopeRef
	35,  // 16: kodex.agents.v1.RoleProfile.display_name:type_name -> kodex.agents.v1.LocalizedText
	4,   // 17: kodex.agents.v1.RoleProfile.role_kind:type_name -> kodex.agents.v1.RoleKind
	5,   // 18: kodex.agents.v1.RoleProfile.status:type_name -> kodex.agents.v1.RoleStatus
	6,   // 19: kodex.agents.v1.PromptTemplate.prompt_kind:type_name -> kodex.agents.v1.PromptKind
	6,   // 20: kodex.agents.v1.PromptTemplateVersion.prompt_kind:type_name -> kodex.agents.v1.PromptKind
	42,  // 21: kodex.agents.v1.PromptTemplateVersion.template_object:type_name -> kodex.agents.v1.ObjectRef
	7,   // 22: kodex.agents.v1.PromptTemplateVersion.status:type_name -> kodex.agents.v1.PromptVersionStatus
	8,   // 23: kodex.agents.v1.StageRoleBinding.binding_kind:type_name -> kodex.agents.v1.StageRoleBindingKind
	36,  // 24: kodex.agents.v1.AgentSession.scope:type_name -> kodex.agents.v1.ScopeRef
	9,   // 25: kodex.agents.v1.AgentSession.status:type_name -> kodex.agents.v1.AgentSessionStatus
	39,  // 26: kodex.agents.v1.AgentRun.runtime_context:type_name -> kodex.agents.v1.RuntimeContextRef
	37,  // 27: kodex.agents.v1.AgentRun.provider_target:type_name -> kodex.agents.v1.ProviderTargetRef
	40,  // 28: kodex.agents.v1.AgentRun.guidance_refs:type_name -> kodex.agents.v1.GuidanceRef
	10,  // 29: kodex.agents.v1.AgentRun.status:type_name -> kodex.agents.v1.AgentRunStatus
	14,  // 30: kodex.agents.v1.AgentSessionStateSnapshot.snapshot_kind:type_name -> kodex.agents.v1.AgentSessionSnapshotKind
	42,  // 31: kodex.agents.v1.AgentSessionStateSnapshot.object:type_name -> kodex.agents.v1.ObjectRef
	15,  // 32: kodex.agents.v1.AcceptanceResult.check_kind:type_name -> kodex.agents.v1.AcceptanceCheckKind
	16,  // 33: kodex.agents.v1.AcceptanceResult.status:type_name -> kodex.agents.v1.AcceptanceStatus
	38,  // 34: kodex.agents.v1.AcceptanceResult.governance_context:type_name -> kodex.agents.v1.GovernanceContextRef
	17,  // 35: kodex.agents.v1.FollowUpIntent.status:type_name -> kodex.agents.v1.FollowUpIntentStatus
	37,  // 36: kodex.agents.v1.FollowUpIntent.provider_target:type_name -> kodex.agents.v1.ProviderTargetRef
	38,  // 37: kodex.agents.v1.FollowUpIntent.governance_context:type_name -> kodex.agents.v1.GovernanceContextRef
	19,  // 38: kodex.agents.v1.AgentActivity.activity_kind:type_name -> kodex.agents.v1.AgentActivityKind
	20,  // 39: kodex.agents.v1.AgentActivity.status:type_name -> kodex.agents.v1.AgentActivityStatus
	37,  // 40: kodex.agents.v1.HumanGateRequest.provider_target:type_name -> kodex.agents.v1.ProviderTargetRef
	21,  // 41: kodex.agents.v1.HumanGateRequest.status:type_name -> kodex.agents.v1.HumanGateStatus
	22,  // 42: kodex.agents.v1.HumanGateRequest.outcome:type_name -> kodex.agents.v1.HumanGateOutcome
	38,  // 43: kodex.agents.v1.HumanGateRequest.governance_context:type_name -> kodex.agents.v1.GovernanceContextRef
	36,  // 44: kodex.agents.v1.SelfDeployPlan.scope:type_name -> kodex.agents.v1.ScopeRef
	26,  // 45: kodex.agents.v1.SelfDeployPlan.path_categories:type_name -> kodex.agents.v1.SelfDeployPathCategory
	143, // 46: kodex.agents.v1.SelfDeployPlan.expected_runtime_job_types:type_name -> kodex.runtime.v1.JobType
	38,  // 47: kodex.agents.v1.SelfDeployPlan.governance_context:type_name -> kodex.agents.v1.GovernanceContextRef
	23,  // 48: kodex.agents.v1.SelfDeployPlan.status:type_name -> kodex.agents.v1.SelfDeployPlanStatus
	59,  // 49: kodex.agents.v1.SelfDeployPlan.runtime_build_jobs:type_name -> kodex.agents.v1.SelfDeployRuntimeBuildJobRef
	24,  // 50: kodex.agents.v1.SelfDeployPlan.runtime_build_status:type_name -> kodex.agents.v1.SelfDeployRuntimeBuildStatus
	60,  // 51: kodex.agents.v1.SelfDeployPlan.runtime_build_contexts:type_name -> kodex.agents.v1.SelfDeployRuntimeBuildContextRef
	61,  // 52: kodex.agents.v1.SelfDeployPlan.runtime_deploy_jobs:type_name -> kodex.agents.v1.SelfDeployRuntimeDeployJobRef
	25,  // 53: kodex.agents.v1.SelfDeployPlan.runtime_deploy_status:type_name -> kodex.agents.v1.SelfDeployRuntimeDeployStatus
	63,  // 54: kodex.agents.v1.FlowDefinitionInput.stages:type_name -> kodex.agents.v1.StageInput
	64,  // 55: kodex.agents.v1.FlowDefinitionInput.transitions:type_name -> kodex.agents.v1.StageTransitionInput
	65,  // 56: kodex.agents.v1.FlowDefinitionInput.stage_role_bindings:type_name -> kodex.agents.v1.StageRoleBindingInput
	3,   // 57: kodex.agents.v1.StageInput.stage_type:type_name -> kodex.agents.v1.StageType
	35,  // 58: kodex.agents.v1.StageInput.display_name:type_name -> kodex.agents.v1.LocalizedText
	8,   // 59: kodex.agents.v1.StageRoleBindingInput.binding_kind:type_name -> kodex.agents.v1.StageRoleBindingKind
	29,  // 60: kodex.agents.v1.CreateFlowRequest.meta:type_name -> kodex.agents.v1.CommandMeta
	36,  // 61: kodex.agents.v1.CreateFlowRequest.scope:type_name -> kodex.agents.v1.ScopeRef
	35,  // 62: kodex.agents.v1.CreateFlowRequest.display_name:type_name -> kodex.agents.v1.LocalizedText
	35,  // 63: kodex.agents.v1.CreateFlowRequest.description:type_name -> kodex.agents.v1.LocalizedText
	29,  // 64: kodex.agents.v1.UpdateFlowRequest.meta:type_name -> kodex.agents.v1.CommandMeta
	35,  // 65: kodex.agents.v1.UpdateFlowRequest.display_name:type_name -> kodex.agents.v1.LocalizedText
	35,  // 66: kodex.agents.v1.UpdateFlowRequest.description:type_name -> kodex.agents.v1.LocalizedText
	1,   // 67: kodex.agents.v1.UpdateFlowRequest.status:type_name -> kodex.agents.v1.FlowStatus
	29,  // 68: kodex.agents.v1.CreateFlowVersionRequest.meta:type_name -> kodex.agents.v1.CommandMeta
	62,  // 69: kodex.agents.v1.CreateFlowVersionRequest.definition:type_name -> kodex.agents.v1.FlowDefinitionInput
	29,  // 70: kodex.agents.v1.ActivateFlowVersionRequest.meta:type_name -> kodex.agents.v1.CommandMeta
	30,  // 71: kodex.agents.v1.GetFlowRequest.meta:type_name -> kodex.agents.v1.QueryMeta
	30,  // 72: kodex.agents.v1.ListFlowsRequest.meta:type_name -> kodex.agents.v1.QueryMeta
	36,  // 73: kodex.agents.v1.ListFlowsRequest.scope:type_name -> kodex.agents.v1.ScopeRef
	1,   // 74: kodex.agents.v1.ListFlowsRequest.status:type_name -> kodex.agents.v1.FlowStatus
	33,  // 75: kodex.agents.v1.ListFlowsRequest.page:type_name -> kodex.agents.v1.PageRequest
	43,  // 76: kodex.agents.v1.FlowResponse.flow:type_name -> kodex.agents.v1.Flow
	44,  // 77: kodex.agents.v1.FlowResponse.active_version:type_name -> kodex.agents.v1.FlowVersion
	44,  // 78: kodex.agents.v1.FlowVersionResponse.flow_version:type_name -> kodex.agents.v1.FlowVersion
	43,  // 79: kodex.agents.v1.ListFlowsResponse.flows:type_name -> kodex.agents.v1.Flow
	34,  // 80: kodex.agents.v1.ListFlowsResponse.page:type_name -> kodex.agents.v1.PageResponse
	29,  // 81: kodex.agents.v1.CreateRoleProfileRequest.meta:type_name -> kodex.agents.v1.CommandMeta
	36,  // 82: kodex.agents.v1.CreateRoleProfileRequest.scope:type_name -> kodex.agents.v1.ScopeRef
	35,  // 83: kodex.agents.v1.CreateRoleProfileRequest.display_name:type_name -> kodex.agents.v1.LocalizedText
	4,   // 84: kodex.agents.v1.CreateRoleProfileRequest.role_kind:type_name -> kodex.agents.v1.RoleKind
	29,  // 85: kodex.agents.v1.UpdateRoleProfileRequest.meta:type_name -> kodex.agents.v1.CommandMeta
	35,  // 86: kodex.agents.v1.UpdateRoleProfileRequest.display_name:type_name -> kodex.agents.v1.LocalizedText
	4,   // 87: kodex.agents.v1.UpdateRoleProfileRequest.role_kind:type_name -> kodex.agents.v1.RoleKind
	5,   // 88: kodex.agents.v1.UpdateRoleProfileRequest.status:type_name -> kodex.agents.v1.RoleStatus
	30,  // 89: kodex.agents.v1.GetRoleProfileRequest.meta:type_name -> kodex.agents.v1.QueryMeta
	30,  // 90: kodex.agents.v1.ListRoleProfilesRequest.meta:type_name -> kodex.agents.v1.QueryMeta
	36,  // 91: kodex.agents.v1.ListRoleProfilesRequest.scope:type_name -> kodex.agents.v1.ScopeRef
	4,   // 92: kodex.agents.v1.ListRoleProfilesRequest.role_kind:type_name -> kodex.agents.v1.RoleKind
	5,   // 93: kodex.agents.v1.ListRoleProfilesRequest.status:type_name -> kodex.agents.v1.RoleStatus
	33,  // 94: kodex.agents.v1.ListRoleProfilesRequest.page:type_name -> kodex.agents.v1.PageRequest
	47,  // 95: kodex.agents.v1.RoleProfileResponse.role_profile:type_name -> kodex.agents.v1.RoleProfile
	47,  // 96: kodex.agents.v1.ListRoleProfilesResponse.role_profiles:type_name -> kodex.agents.v1.RoleProfile
	34,  // 97: kodex.agents.v1.ListRoleProfilesResponse.page:type_name -> kodex.agents.v1.PageResponse
	30,  // 98: kodex.agents.v1.GetPromptTemplateRequest.meta:type_name -> kodex.agents.v1.QueryMeta
	30,  // 99: kodex.agents.v1.ListPromptTemplatesRequest.meta:type_name -> kodex.agents.v1.QueryMeta
	6,   // 100: kodex.agents.v1.ListPromptTemplatesRequest.prompt_kind:type_name -> kodex.agents.v1.PromptKind
	33,  // 101: kodex.agents.v1.ListPromptTemplatesRequest.page:type_name -> kodex.agents.v1.PageRequest
	48,  // 102: kodex.agents.v1.PromptTemplateResponse.prompt_template:type_name -> kodex.agents.v1.PromptTemplate
	49,  // 103: kodex.agents.v1.PromptTemplateResponse.active_version:type_name -> kodex.agents.v1.PromptTemplateVersion
	48,  // 104: kodex.agents.v1.ListPromptTemplatesResponse.prompt_templates:type_name -> kodex.agents.v1.PromptTemplate
	34,  // 105: kodex.agents.v1.ListPromptTemplatesResponse.page:type_name -> kodex.agents.v1.PageResponse
	29,  // 106: kodex.agents.v1.CreatePromptTemplateVersionRequest.meta:type_name -> kodex.agents.v1.CommandMeta
	6,   // 107: kodex.agents.v1.CreatePromptTemplateVersionRequest.prompt_kind:type_name -> kodex.agents.v1.PromptKind
	42,  // 108: kodex.agents.v1.CreatePromptTemplateVersionRequest.template_object:type_name -> kodex.agents.v1.ObjectRef
	29,  // 109: kodex.agents.v1.ActivatePromptTemplateVersionRequest.meta:type_name -> kodex.agents.v1.CommandMeta
	30,  // 110: kodex.agents.v1.GetPromptTemplateVersionRequest.meta:type_name -> kodex.agents.v1.QueryMeta
	30,  // 111: kodex.agents.v1.ListPromptTemplateVersionsRequest.meta:type_name -> kodex.agents.v1.QueryMeta
	6,   // 112: kodex.agents.v1.ListPromptTemplateVersionsRequest.prompt_kind:type_name -> kodex.agents.v1.PromptKind
	7,   // 113: kodex.agents.v1.ListPromptTemplateVersionsRequest.status:type_name -> kodex.agents.v1.PromptVersionStatus
	33,  // 114: kodex.agents.v1.ListPromptTemplateVersionsRequest.page:type_name -> kodex.agents.v1.PageRequest
	49,  // 115: kodex.agents.v1.PromptTemplateVersionResponse.prompt_template_version:type_name -> kodex.agents.v1.PromptTemplateVersion
	49,  // 116: kodex.agents.v1.ListPromptTemplateVersionsResponse.prompt_template_versions:type_name -> kodex.agents.v1.PromptTemplateVersion
	34,  // 117: kodex.agents.v1.ListPromptTemplateVersionsResponse.page:type_name -> kodex.agents.v1.PageResponse
	29,  // 118: kodex.agents.v1.StartAgentSessionRequest.meta:type_name -> kodex.agents.v1.CommandMeta
	36,  // 119: kodex.agents.v1.StartAgentSessionRequest.scope:type_name -> kodex.agents.v1.ScopeRef
	29,  // 120: kodex.agents.v1.StartAgentRunRequest.meta:type_name -> kodex.agents.v1.CommandMeta
	37,  // 121: kodex.agents.v1.StartAgentRunRequest.provider_target:type_name -> kodex.agents.v1.ProviderTargetRef
	41,  // 122: kodex.agents.v1.StartAgentRunRequest.guidance_selection_hints:type_name -> kodex.agents.v1.GuidanceSelectionHint
	29,  // 123: kodex.agents.v1.RecordRunStateRequest.meta:type_name -> kodex.agents.v1.CommandMeta
	10,  // 124: kodex.agents.v1.RecordRunStateRequest.status:type_name -> kodex.agents.v1.AgentRunStatus
	39,  // 125: kodex.agents.v1.RecordRunStateRequest.runtime_context:type_name -> kodex.agents.v1.RuntimeContextRef
	37,  // 126: kodex.agents.v1.RecordRunStateRequest.provider_target:type_name -> kodex.agents.v1.ProviderTargetRef
	29,  // 127: kodex.agents.v1.ReportAgentRunStateRequest.meta:type_name -> kodex.agents.v1.CommandMeta
	11,  // 128: kodex.agents.v1.ReportAgentRunStateRequest.state:type_name -> kodex.agents.v1.AgentRunnerRunState
	29,  // 129: kodex.agents.v1.RecordSessionStateSnapshotRequest.meta:type_name -> kodex.agents.v1.CommandMeta
	14,  // 130: kodex.agents.v1.RecordSessionStateSnapshotRequest.snapshot_kind:type_name -> kodex.agents.v1.AgentSessionSnapshotKind
	42,  // 131: kodex.agents.v1.RecordSessionStateSnapshotRequest.object:type_name -> kodex.agents.v1.ObjectRef
	29,  // 132: kodex.agents.v1.RequestAcceptanceRequest.meta:type_name -> kodex.agents.v1.CommandMeta
	15,  // 133: kodex.agents.v1.RequestAcceptanceRequest.check_kinds:type_name -> kodex.agents.v1.AcceptanceCheckKind
	38,  // 134: kodex.agents.v1.RequestAcceptanceRequest.governance_context:type_name -> kodex.agents.v1.GovernanceContextRef
	29,  // 135: kodex.agents.v1.RecordAcceptanceResultRequest.meta:type_name -> kodex.agents.v1.CommandMeta
	16,  // 136: kodex.agents.v1.RecordAcceptanceResultRequest.status:type_name -> kodex.agents.v1.AcceptanceStatus
	38,  // 137: kodex.agents.v1.RecordAcceptanceResultRequest.governance_context:type_name -> kodex.agents.v1.GovernanceContextRef
	30,  // 138: kodex.agents.v1.GetAcceptanceResultRequest.meta:type_name -> kodex.agents.v1.QueryMeta
	30,  // 139: kodex.agents.v1.ListAcceptanceResultsRequest.meta:type_name -> kodex.agents.v1.QueryMeta
	16,  // 140: kodex.agents.v1.ListAcceptanceResultsRequest.status:type_name -> kodex.agents.v1.AcceptanceStatus
	33,  // 141: kodex.agents.v1.ListAcceptanceResultsRequest.page:type_name -> kodex.agents.v1.PageRequest
	29,  // 142: kodex.agents.v1.CreateFollowUpIntentRequest.meta:type_name -> kodex.agents.v1.CommandMeta
	37,  // 143: kodex.agents.v1.CreateFollowUpIntentRequest.provider_target:type_name -> kodex.agents.v1.ProviderTargetRef
	38,  // 144: kodex.agents.v1.CreateFollowUpIntentRequest.governance_context:type_name -> kodex.agents.v1.GovernanceContextRef
	29,  // 145: kodex.agents.v1.DispatchFollowUpIntentRequest.meta:type_name -> kodex.agents.v1.CommandMeta
	18,  // 146: kodex.agents.v1.DispatchFollowUpIntentRequest.dispatch_kind:type_name -> kodex.agents.v1.FollowUpDispatchKind
	144, // 147: kodex.agents.v1.DispatchFollowUpIntentRequest.operation_policy_context:type_name -> kodex.providers.v1.ProviderOperationPolicyContext
	145, // 148: kodex.agents.v1.DispatchFollowUpIntentRequest.approval_gate_ref:type_name -> kodex.providers.v1.ApprovalGateReference
	102, // 149: kodex.agents.v1.DispatchFollowUpIntentRequest.create_issue:type_name -> kodex.agents.v1.FollowUpCreateIssueCommand
	103, // 150: kodex.agents.v1.DispatchFollowUpIntentRequest.update_issue:type_name -> kodex.agents.v1.FollowUpUpdateIssueCommand
	104, // 151: kodex.agents.v1.DispatchFollowUpIntentRequest.create_comment:type_name -> kodex.agents.v1.FollowUpCreateCommentCommand
	105, // 152: kodex.agents.v1.DispatchFollowUpIntentRequest.update_comment:type_name -> kodex.agents.v1.FollowUpUpdateCommentCommand
	106, // 153: kodex.agents.v1.DispatchFollowUpIntentRequest.update_pull_request:type_name -> kodex.agents.v1.FollowUpUpdatePullRequestCommand
	107, // 154: kodex.agents.v1.DispatchFollowUpIntentRequest.create_review_signal:type_name -> kodex.agents.v1.FollowUpCreateReviewSignalCommand
	146, // 155: kodex.agents.v1.FollowUpCreateIssueCommand.repository_target:type_name -> kodex.providers.v1.ProviderTarget
	146, // 156: kodex.agents.v1.FollowUpUpdateIssueCommand.target:type_name -> kodex.providers.v1.ProviderTarget
	147, // 157: kodex.agents.v1.FollowUpUpdateIssueCommand.labels:type_name -> kodex.providers.v1.StringListPatch
	147, // 158: kodex.agents.v1.FollowUpUpdateIssueCommand.assignee_provider_logins:type_name -> kodex.providers.v1.StringListPatch
	146, // 159: kodex.agents.v1.FollowUpCreateCommentCommand.target:type_name -> kodex.providers.v1.ProviderTarget
	146, // 160: kodex.agents.v1.FollowUpUpdateCommentCommand.target:type_name -> kodex.providers.v1.ProviderTarget
	146, // 161: kodex.agents.v1.FollowUpUpdatePullRequestCommand.target:type_name -> kodex.providers.v1.ProviderTarget
	147, // 162: kodex.agents.v1.FollowUpUpdatePullRequestCommand.labels:type_name -> kodex.providers.v1.StringListPatch
	147, // 163: kodex.agents.v1.FollowUpUpdatePullRequestCommand.assignee_provider_logins:type_name -> kodex.providers.v1.StringListPatch
	146, // 164: kodex.agents.v1.FollowUpCreateReviewSignalCommand.target:type_name -> kodex.providers.v1.ProviderTarget
	148, // 165: kodex.agents.v1.FollowUpCreateReviewSignalCommand.kind:type_name -> kodex.providers.v1.ReviewSignalKind
	149, // 166: kodex.agents.v1.FollowUpCreateReviewSignalCommand.inline_comments:type_name -> kodex.providers.v1.ReviewInlineComment
	29,  // 167: kodex.agents.v1.RecordAgentActivityRequest.meta:type_name -> kodex.agents.v1.CommandMeta
	19,  // 168: kodex.agents.v1.RecordAgentActivityRequest.activity_kind:type_name -> kodex.agents.v1.AgentActivityKind
	20,  // 169: kodex.agents.v1.RecordAgentActivityRequest.status:type_name -> kodex.agents.v1.AgentActivityStatus
	30,  // 170: kodex.agents.v1.ListAgentActivitiesRequest.meta:type_name -> kodex.agents.v1.QueryMeta
	19,  // 171: kodex.agents.v1.ListAgentActivitiesRequest.activity_kind:type_name -> kodex.agents.v1.AgentActivityKind
	20,  // 172: kodex.agents.v1.ListAgentActivitiesRequest.status:type_name -> kodex.agents.v1.AgentActivityStatus
	33,  // 173: kodex.agents.v1.ListAgentActivitiesRequest.page:type_name -> kodex.agents.v1.PageRequest
	29,  // 174: kodex.agents.v1.RequestHumanGateRequest.meta:type_name -> kodex.agents.v1.CommandMeta
	37,  // 175: kodex.agents.v1.RequestHumanGateRequest.provider_target:type_name -> kodex.agents.v1.ProviderTargetRef
	38,  // 176: kodex.agents.v1.RequestHumanGateRequest.governance_context:type_name -> kodex.agents.v1.GovernanceContextRef
	29,  // 177: kodex.agents.v1.RecordHumanGateDecisionRequest.meta:type_name -> kodex.agents.v1.CommandMeta
	21,  // 178: kodex.agents.v1.RecordHumanGateDecisionRequest.status:type_name -> kodex.agents.v1.HumanGateStatus
	22,  // 179: kodex.agents.v1.RecordHumanGateDecisionRequest.outcome:type_name -> kodex.agents.v1.HumanGateOutcome
	38,  // 180: kodex.agents.v1.RecordHumanGateDecisionRequest.governance_context:type_name -> kodex.agents.v1.GovernanceContextRef
	30,  // 181: kodex.agents.v1.GetHumanGateRequestRequest.meta:type_name -> kodex.agents.v1.QueryMeta
	30,  // 182: kodex.agents.v1.ListHumanGateRequestsRequest.meta:type_name -> kodex.agents.v1.QueryMeta
	21,  // 183: kodex.agents.v1.ListHumanGateRequestsRequest.status:type_name -> kodex.agents.v1.HumanGateStatus
	22,  // 184: kodex.agents.v1.ListHumanGateRequestsRequest.outcome:type_name -> kodex.agents.v1.HumanGateOutcome
	33,  // 185: kodex.agents.v1.ListHumanGateRequestsRequest.page:type_name -> kodex.agents.v1.PageRequest
	30,  // 186: kodex.agents.v1.GetAgentSessionRequest.meta:type_name -> kodex.agents.v1.QueryMeta
	30,  // 187: kodex.agents.v1.ListAgentRunsRequest.meta:type_name -> kodex.agents.v1.QueryMeta
	10,  // 188: kodex.agents.v1.ListAgentRunsRequest.status:type_name -> kodex.agents.v1.AgentRunStatus
	33,  // 189: kodex.agents.v1.ListAgentRunsRequest.page:type_name -> kodex.agents.v1.PageRequest
	30,  // 190: kodex.agents.v1.ListAgentSessionsRequest.meta:type_name -> kodex.agents.v1.QueryMeta
	36,  // 191: kodex.agents.v1.ListAgentSessionsRequest.scope:type_name -> kodex.agents.v1.ScopeRef
	9,   // 192: kodex.agents.v1.ListAgentSessionsRequest.status:type_name -> kodex.agents.v1.AgentSessionStatus
	33,  // 193: kodex.agents.v1.ListAgentSessionsRequest.page:type_name -> kodex.agents.v1.PageRequest
	30,  // 194: kodex.agents.v1.ListAgentRunSummariesRequest.meta:type_name -> kodex.agents.v1.QueryMeta
	36,  // 195: kodex.agents.v1.ListAgentRunSummariesRequest.scope:type_name -> kodex.agents.v1.ScopeRef
	10,  // 196: kodex.agents.v1.ListAgentRunSummariesRequest.status:type_name -> kodex.agents.v1.AgentRunStatus
	33,  // 197: kodex.agents.v1.ListAgentRunSummariesRequest.page:type_name -> kodex.agents.v1.PageRequest
	29,  // 198: kodex.agents.v1.CreateSelfDeployPlanRequest.meta:type_name -> kodex.agents.v1.CommandMeta
	36,  // 199: kodex.agents.v1.CreateSelfDeployPlanRequest.scope:type_name -> kodex.agents.v1.ScopeRef
	26,  // 200: kodex.agents.v1.CreateSelfDeployPlanRequest.path_categories:type_name -> kodex.agents.v1.SelfDeployPathCategory
	143, // 201: kodex.agents.v1.CreateSelfDeployPlanRequest.expected_runtime_job_types:type_name -> kodex.runtime.v1.JobType
	38,  // 202: kodex.agents.v1.CreateSelfDeployPlanRequest.governance_context:type_name -> kodex.agents.v1.GovernanceContextRef
	29,  // 203: kodex.agents.v1.CreateSelfDeployPlanFromSignalRequest.meta:type_name -> kodex.agents.v1.CommandMeta
	36,  // 204: kodex.agents.v1.CreateSelfDeployPlanFromSignalRequest.scope:type_name -> kodex.agents.v1.ScopeRef
	26,  // 205: kodex.agents.v1.CreateSelfDeployPlanFromSignalRequest.path_categories:type_name -> kodex.agents.v1.SelfDeployPathCategory
	143, // 206: kodex.agents.v1.CreateSelfDeployPlanFromSignalRequest.expected_runtime_job_types:type_name -> kodex.runtime.v1.JobType
	38,  // 207: kodex.agents.v1.CreateSelfDeployPlanFromSignalRequest.governance_context:type_name -> kodex.agents.v1.GovernanceContextRef
	30,  // 208: kodex.agents.v1.GetSelfDeployPlanRequest.meta:type_name -> kodex.agents.v1.QueryMeta
	30,  // 209: kodex.agents.v1.ListSelfDeployPlansRequest.meta:type_name -> kodex.agents.v1.QueryMeta
	36,  // 210: kodex.agents.v1.ListSelfDeployPlansRequest.scope:type_name -> kodex.agents.v1.ScopeRef
	23,  // 211: kodex.agents.v1.ListSelfDeployPlansRequest.status:type_name -> kodex.agents.v1.SelfDeployPlanStatus
	33,  // 212: kodex.agents.v1.ListSelfDeployPlansRequest.page:type_name -> kodex.agents.v1.PageRequest
	30,  // 213: kodex.agents.v1.GetAgentRunRuntimeStatusRequest.meta:type_name -> kodex.agents.v1.QueryMeta
	51,  // 214: kodex.agents.v1.AgentSessionResponse.session:type_name -> kodex.agents.v1.AgentSession
	53,  // 215: kodex.agents.v1.AgentSessionResponse.latest_state_snapshot:type_name -> kodex.agents.v1.AgentSessionStateSnapshot
	52,  // 216: kodex.agents.v1.AgentRunResponse.run:type_name -> kodex.agents.v1.AgentRun
	52,  // 217: kodex.agents.v1.AgentRunRuntimeStatusResponse.run:type_name -> kodex.agents.v1.AgentRun
	126, // 218: kodex.agents.v1.AgentRunRuntimeStatusResponse.runtime_status:type_name -> kodex.agents.v1.AgentRunRuntimeStatus
	10,  // 219: kodex.agents.v1.AgentRunRuntimeStatus.run_status:type_name -> kodex.agents.v1.AgentRunStatus
	39,  // 220: kodex.agents.v1.AgentRunRuntimeStatus.runtime_context:type_name -> kodex.agents.v1.RuntimeContextRef
	12,  // 221: kodex.agents.v1.AgentRunRuntimeStatus.observation_state:type_name -> kodex.agents.v1.AgentRunRuntimeObservationState
	13,  // 222: kodex.agents.v1.AgentRunRuntimeStatus.runtime_job_status:type_name -> kodex.agents.v1.AgentRuntimeJobStatus
	19,  // 223: kodex.agents.v1.AgentActivitySummary.activity_kind:type_name -> kodex.agents.v1.AgentActivityKind
	20,  // 224: kodex.agents.v1.AgentActivitySummary.status:type_name -> kodex.agents.v1.AgentActivityStatus
	52,  // 225: kodex.agents.v1.AgentRunListItem.run:type_name -> kodex.agents.v1.AgentRun
	12,  // 226: kodex.agents.v1.AgentRunListItem.runtime_observation_state:type_name -> kodex.agents.v1.AgentRunRuntimeObservationState
	127, // 227: kodex.agents.v1.AgentRunListItem.latest_activity:type_name -> kodex.agents.v1.AgentActivitySummary
	51,  // 228: kodex.agents.v1.AgentSessionListItem.session:type_name -> kodex.agents.v1.AgentSession
	10,  // 229: kodex.agents.v1.AgentSessionListItem.latest_run_status:type_name -> kodex.agents.v1.AgentRunStatus
	127, // 230: kodex.agents.v1.AgentSessionListItem.latest_activity:type_name -> kodex.agents.v1.AgentActivitySummary
	53,  // 231: kodex.agents.v1.AgentSessionStateSnapshotResponse.snapshot:type_name -> kodex.agents.v1.AgentSessionStateSnapshot
	51,  // 232: kodex.agents.v1.AgentSessionStateSnapshotResponse.session:type_name -> kodex.agents.v1.AgentSession
	54,  // 233: kodex.agents.v1.AcceptanceResultResponse.acceptance_result:type_name -> kodex.agents.v1.AcceptanceResult
	54,  // 234: kodex.agents.v1.ListAcceptanceResultsResponse.acceptance_results:type_name -> kodex.agents.v1.AcceptanceResult
	34,  // 235: kodex.agents.v1.ListAcceptanceResultsResponse.page:type_name -> kodex.agents.v1.PageResponse
	55,  // 236: kodex.agents.v1.FollowUpIntentResponse.follow_up_intent:type_name -> kodex.agents.v1.FollowUpIntent
	56,  // 237: kodex.agents.v1.AgentActivityResponse.activity:type_name -> kodex.agents.v1.AgentActivity
	56,  // 238: kodex.agents.v1.ListAgentActivitiesResponse.activities:type_name -> kodex.agents.v1.AgentActivity
	34,  // 239: kodex.agents.v1.ListAgentActivitiesResponse.page:type_name -> kodex.agents.v1.PageResponse
	57,  // 240: kodex.agents.v1.HumanGateRequestResponse.human_gate_request:type_name -> kodex.agents.v1.HumanGateRequest
	57,  // 241: kodex.agents.v1.ListHumanGateRequestsResponse.human_gate_requests:type_name -> kodex.agents.v1.HumanGateRequest
	34,  // 242: kodex.agents.v1.ListHumanGateRequestsResponse.page:type_name -> kodex.agents.v1.PageResponse
	58,  // 243: kodex.agents.v1.SelfDeployPlanResponse.self_deploy_plan:type_name -> kodex.agents.v1.SelfDeployPlan
	58,  // 244: kodex.agents.v1.ListSelfDeployPlansResponse.self_deploy_plans:type_name -> kodex.agents.v1.SelfDeployPlan
	34,  // 245: kodex.agents.v1.ListSelfDeployPlansResponse.page:type_name -> kodex.agents.v1.PageResponse
	52,  // 246: kodex.agents.v1.ListAgentRunsResponse.runs:type_name -> kodex.agents.v1.AgentRun
	34,  // 247: kodex.agents.v1.ListAgentRunsResponse.page:type_name -> kodex.agents.v1.PageResponse
	129, // 248: kodex.agents.v1.ListAgentSessionsResponse.sessions:type_name -> kodex.agents.v1.AgentSessionListItem
	34,  // 249: kodex.agents.v1.ListAgentSessionsResponse.page:type_name -> kodex.agents.v1.PageResponse
	128, // 250: kodex.agents.v1.ListAgentRunSummariesResponse.runs:type_name -> kodex.agents.v1.AgentRunListItem
	34,  // 251: kodex.agents.v1.ListAgentRunSummariesResponse.page:type_name -> kodex.agents.v1.PageResponse
	66,  // 252: kodex.agents.v1.AgentManagerService.CreateFlow:input_type -> kodex.agents.v1.CreateFlowRequest
	67,  // 253: kodex.agents.v1.AgentManagerService.UpdateFlow:input_type -> kodex.agents.v1.UpdateFlowRequest
	68,  // 254: kodex.agents.v1.AgentManagerService.CreateFlowVersion:input_type -> kodex.agents.v1.CreateFlowVersionRequest
	69,  // 255: kodex.agents.v1.AgentManagerService.ActivateFlowVersion:input_type -> kodex.agents.v1.ActivateFlowVersionRequest
	70,  // 256: kodex.agents.v1.AgentManagerService.GetFlow:input_type -> kodex.agents.v1.GetFlowRequest
	71,  // 257: kodex.agents.v1.AgentManagerService.ListFlows:input_type -> kodex.agents.v1.ListFlowsRequest
	75,  // 258: kodex.agents.v1.AgentManagerService.CreateRoleProfile:input_type -> kodex.agents.v1.CreateRoleProfileRequest
	76,  // 259: kodex.agents.v1.AgentManagerService.UpdateRoleProfile:input_type -> kodex.agents.v1.UpdateRoleProfileRequest
	77,  // 260: kodex.agents.v1.AgentManagerService.GetRoleProfile:input_type -> kodex.agents.v1.GetRoleProfileRequest
	78,  // 261: kodex.agents.v1.AgentManagerService.ListRoleProfiles:input_type -> kodex.agents.v1.ListRoleProfilesRequest
	81,  // 262: kodex.agents.v1.AgentManagerService.GetPromptTemplate:input_type -> kodex.agents.v1.GetPromptTemplateRequest
	82,  // 263: kodex.agents.v1.AgentManagerService.ListPromptTemplates:input_type -> kodex.agents.v1.ListPromptTemplatesRequest
	85,  // 264: kodex.agents.v1.AgentManagerService.CreatePromptTemplateVersion:input_type -> kodex.agents.v1.CreatePromptTemplateVersionRequest
	86,  // 265: kodex.agents.v1.AgentManagerService.ActivatePromptTemplateVersion:input_type -> kodex.agents.v1.ActivatePromptTemplateVersionRequest
	87,  // 266: kodex.agents.v1.AgentManagerService.GetPromptTemplateVersion:input_type -> kodex.agents.v1.GetPromptTemplateVersionRequest
	88,  // 267: kodex.agents.v1.AgentManagerService.ListPromptTemplateVersions:input_type -> kodex.agents.v1.ListPromptTemplateVersionsRequest
	91,  // 268: kodex.agents.v1.AgentManagerService.StartAgentSession:input_type -> kodex.agents.v1.StartAgentSessionRequest
	92,  // 269: kodex.agents.v1.AgentManagerService.StartAgentRun:input_type -> kodex.agents.v1.StartAgentRunRequest
	93,  // 270: kodex.agents.v1.AgentManagerService.RecordRunState:input_type -> kodex.agents.v1.RecordRunStateRequest
	94,  // 271: kodex.agents.v1.AgentManagerService.ReportAgentRunState:input_type -> kodex.agents.v1.ReportAgentRunStateRequest
	122, // 272: kodex.agents.v1.AgentManagerService.GetAgentRunRuntimeStatus:input_type -> kodex.agents.v1.GetAgentRunRuntimeStatusRequest
	95,  // 273: kodex.agents.v1.AgentManagerService.RecordSessionStateSnapshot:input_type -> kodex.agents.v1.RecordSessionStateSnapshotRequest
	96,  // 274: kodex.agents.v1.AgentManagerService.RequestAcceptance:input_type -> kodex.agents.v1.RequestAcceptanceRequest
	97,  // 275: kodex.agents.v1.AgentManagerService.RecordAcceptanceResult:input_type -> kodex.agents.v1.RecordAcceptanceResultRequest
	98,  // 276: kodex.agents.v1.AgentManagerService.GetAcceptanceResult:input_type -> kodex.agents.v1.GetAcceptanceResultRequest
	99,  // 277: kodex.agents.v1.AgentManagerService.ListAcceptanceResults:input_type -> kodex.agents.v1.ListAcceptanceResultsRequest
	100, // 278: kodex.agents.v1.AgentManagerService.CreateFollowUpIntent:input_type -> kodex.agents.v1.CreateFollowUpIntentRequest
	101, // 279: kodex.agents.v1.AgentManagerService.DispatchFollowUpIntent:input_type -> kodex.agents.v1.DispatchFollowUpIntentRequest
	108, // 280: kodex.agents.v1.AgentManagerService.RecordAgentActivity:input_type -> kodex.agents.v1.RecordAgentActivityRequest
	109, // 281: kodex.agents.v1.AgentManagerService.ListAgentActivities:input_type -> kodex.agents.v1.ListAgentActivitiesRequest
	110, // 282: kodex.agents.v1.AgentManagerService.RequestHumanGate:input_type -> kodex.agents.v1.RequestHumanGateRequest
	111, // 283: kodex.agents.v1.AgentManagerService.RecordHumanGateDecision:input_type -> kodex.agents.v1.RecordHumanGateDecisionRequest
	112, // 284: kodex.agents.v1.AgentManagerService.GetHumanGateRequest:input_type -> kodex.agents.v1.GetHumanGateRequestRequest
	113, // 285: kodex.agents.v1.AgentManagerService.ListHumanGateRequests:input_type -> kodex.agents.v1.ListHumanGateRequestsRequest
	114, // 286: kodex.agents.v1.AgentManagerService.GetAgentSession:input_type -> kodex.agents.v1.GetAgentSessionRequest
	116, // 287: kodex.agents.v1.AgentManagerService.ListAgentSessions:input_type -> kodex.agents.v1.ListAgentSessionsRequest
	115, // 288: kodex.agents.v1.AgentManagerService.ListAgentRuns:input_type -> kodex.agents.v1.ListAgentRunsRequest
	117, // 289: kodex.agents.v1.AgentManagerService.ListAgentRunSummaries:input_type -> kodex.agents.v1.ListAgentRunSummariesRequest
	118, // 290: kodex.agents.v1.AgentManagerService.CreateSelfDeployPlan:input_type -> kodex.agents.v1.CreateSelfDeployPlanRequest
	119, // 291: kodex.agents.v1.AgentManagerService.CreateSelfDeployPlanFromSignal:input_type -> kodex.agents.v1.CreateSelfDeployPlanFromSignalRequest
	120, // 292: kodex.agents.v1.AgentManagerService.GetSelfDeployPlan:input_type -> kodex.agents.v1.GetSelfDeployPlanRequest
	121, // 293: kodex.agents.v1.AgentManagerService.ListSelfDeployPlans:input_type -> kodex.agents.v1.ListSelfDeployPlansRequest
	72,  // 294: kodex.agents.v1.AgentManagerService.CreateFlow:output_type -> kodex.agents.v1.FlowResponse
	72,  // 295: kodex.agents.v1.AgentManagerService.UpdateFlow:output_type -> kodex.agents.v1.FlowResponse
	73,  // 296: kodex.agents.v1.AgentManagerService.CreateFlowVersion:output_type -> kodex.agents.v1.FlowVersionResponse
	73,  // 297: kodex.agents.v1.AgentManagerService.ActivateFlowVersion:output_type -> kodex.agents.v1.FlowVersionResponse
	72,  // 298: kodex.agents.v1.AgentManagerService.GetFlow:output_type -> kodex.agents.v1.FlowResponse
	74,  // 299: kodex.agents.v1.AgentManagerService.ListFlows:output_type -> kodex.agents.v1.ListFlowsResponse
	79,  // 300: kodex.agents.v1.AgentManagerService.CreateRoleProfile:output_type -> kodex.agents.v1.RoleProfileResponse
	79,  // 301: kodex.agents.v1.AgentManagerService.UpdateRoleProfile:output_type -> kodex.agents.v1.RoleProfileResponse
	79,  // 302: kodex.agents.v1.AgentManagerService.GetRoleProfile:output_type -> kodex.agents.v1.RoleProfileResponse
	80,  // 303: kodex.agents.v1.AgentManagerService.ListRoleProfiles:output_type -> kodex.agents.v1.ListRoleProfilesResponse
	83,  // 304: kodex.agents.v1.AgentManagerService.GetPromptTemplate:output_type -> kodex.agents.v1.PromptTemplateResponse
	84,  // 305: kodex.agents.v1.AgentManagerService.ListPromptTemplates:output_type -> kodex.agents.v1.ListPromptTemplatesResponse
	89,  // 306: kodex.agents.v1.AgentManagerService.CreatePromptTemplateVersion:output_type -> kodex.agents.v1.PromptTemplateVersionResponse
	89,  // 307: kodex.agents.v1.AgentManagerService.ActivatePromptTemplateVersion:output_type -> kodex.agents.v1.PromptTemplateVersionResponse
	89,  // 308: kodex.agents.v1.AgentManagerService.GetPromptTemplateVersion:output_type -> kodex.agents.v1.PromptTemplateVersionResponse
	90,  // 309: kodex.agents.v1.AgentManagerService.ListPromptTemplateVersions:output_type -> kodex.agents.v1.ListPromptTemplateVersionsResponse
	123, // 310: kodex.agents.v1.AgentManagerService.StartAgentSession:output_type -> kodex.agents.v1.AgentSessionResponse
	124, // 311: kodex.agents.v1.AgentManagerService.StartAgentRun:output_type -> kodex.agents.v1.AgentRunResponse
	124, // 312: kodex.agents.v1.AgentManagerService.RecordRunState:output_type -> kodex.agents.v1.AgentRunResponse
	124, // 313: kodex.agents.v1.AgentManagerService.ReportAgentRunState:output_type -> kodex.agents.v1.AgentRunResponse
	125, // 314: kodex.agents.v1.AgentManagerService.GetAgentRunRuntimeStatus:output_type -> kodex.agents.v1.AgentRunRuntimeStatusResponse
	130, // 315: kodex.agents.v1.AgentManagerService.RecordSessionStateSnapshot:output_type -> kodex.agents.v1.AgentSessionStateSnapshotResponse
	131, // 316: kodex.agents.v1.AgentManagerService.RequestAcceptance:output_type -> kodex.agents.v1.AcceptanceResultResponse
	131, // 317: kodex.agents.v1.AgentManagerService.RecordAcceptanceResult:output_type -> kodex.agents.v1.AcceptanceResultResponse
	131, // 318: kodex.agents.v1.AgentManagerService.GetAcceptanceResult:output_type -> kodex.agents.v1.AcceptanceResultResponse
	132, // 319: kodex.agents.v1.AgentManagerService.ListAcceptanceResults:output_type -> kodex.agents.v1.ListAcceptanceResultsResponse
	133, // 320: kodex.agents.v1.AgentManagerService.CreateFollowUpIntent:output_type -> kodex.agents.v1.FollowUpIntentResponse
	133, // 321: kodex.agents.v1.AgentManagerService.DispatchFollowUpIntent:output_type -> kodex.agents.v1.FollowUpIntentResponse
	134, // 322: kodex.agents.v1.AgentManagerService.RecordAgentActivity:output_type -> kodex.agents.v1.AgentActivityResponse
	135, // 323: kodex.agents.v1.AgentManagerService.ListAgentActivities:output_type -> kodex.agents.v1.ListAgentActivitiesResponse
	136, // 324: kodex.agents.v1.AgentManagerService.RequestHumanGate:output_type -> kodex.agents.v1.HumanGateRequestResponse
	136, // 325: kodex.agents.v1.AgentManagerService.RecordHumanGateDecision:output_type -> kodex.agents.v1.HumanGateRequestResponse
	136, // 326: kodex.agents.v1.AgentManagerService.GetHumanGateRequest:output_type -> kodex.agents.v1.HumanGateRequestResponse
	137, // 327: kodex.agents.v1.AgentManagerService.ListHumanGateRequests:output_type -> kodex.agents.v1.ListHumanGateRequestsResponse
	123, // 328: kodex.agents.v1.AgentManagerService.GetAgentSession:output_type -> kodex.agents.v1.AgentSessionResponse
	141, // 329: kodex.agents.v1.AgentManagerService.ListAgentSessions:output_type -> kodex.agents.v1.ListAgentSessionsResponse
	140, // 330: kodex.agents.v1.AgentManagerService.ListAgentRuns:output_type -> kodex.agents.v1.ListAgentRunsResponse
	142, // 331: kodex.agents.v1.AgentManagerService.ListAgentRunSummaries:output_type -> kodex.agents.v1.ListAgentRunSummariesResponse
	138, // 332: kodex.agents.v1.AgentManagerService.CreateSelfDeployPlan:output_type -> kodex.agents.v1.SelfDeployPlanResponse
	138, // 333: kodex.agents.v1.AgentManagerService.CreateSelfDeployPlanFromSignal:output_type -> kodex.agents.v1.SelfDeployPlanResponse
	138, // 334: kodex.agents.v1.AgentManagerService.GetSelfDeployPlan:output_type -> kodex.agents.v1.SelfDeployPlanResponse
	139, // 335: kodex.agents.v1.AgentManagerService.ListSelfDeployPlans:output_type -> kodex.agents.v1.ListSelfDeployPlansResponse
	294, // [294:336] is the sub-list for method output_type
	252, // [252:294] is the sub-list for method input_type
	252, // [252:252] is the sub-list for extension type_name
	252, // [252:252] is the sub-list for extension extendee
	0,   // [0:252] is the sub-list for field type_name
}

func init() { file_kodex_agents_v1_agent_manager_proto_init() }
func file_kodex_agents_v1_agent_manager_proto_init() {
	if File_kodex_agents_v1_agent_manager_proto != nil {
		return
	}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[0].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[2].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[4].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[5].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[8].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[9].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[10].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[11].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[12].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[13].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[14].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[15].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[16].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[17].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[18].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[19].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[20].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[22].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[23].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[24].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[25].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[26].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[27].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[28].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[29].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[30].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[31].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[32].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[34].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[35].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[37].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[38].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[39].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[42].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[43].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[46].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[47].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[49].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[53].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[54].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[56].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[59].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[62].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[63].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[64].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[65].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[66].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[67].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[68].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[70].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[71].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[72].OneofWrappers = []any{
		(*DispatchFollowUpIntentRequest_CreateIssue)(nil),
		(*DispatchFollowUpIntentRequest_UpdateIssue)(nil),
		(*DispatchFollowUpIntentRequest_CreateComment)(nil),
		(*DispatchFollowUpIntentRequest_UpdateComment)(nil),
		(*DispatchFollowUpIntentRequest_UpdatePullRequest)(nil),
		(*DispatchFollowUpIntentRequest_CreateReviewSignal)(nil),
	}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[73].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[74].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[76].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[77].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[78].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[79].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[80].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[81].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[82].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[84].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[86].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[87].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[88].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[89].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[90].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[92].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[94].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[97].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[98].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[99].OneofWrappers = []any{}
	file_kodex_agents_v1_agent_manager_proto_msgTypes[100].OneofWrappers = []any{}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_kodex_agents_v1_agent_manager_proto_rawDesc), len(file_kodex_agents_v1_agent_manager_proto_rawDesc)),
			NumEnums:      29,
			NumMessages:   114,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_kodex_agents_v1_agent_manager_proto_goTypes,
		DependencyIndexes: file_kodex_agents_v1_agent_manager_proto_depIdxs,
		EnumInfos:         file_kodex_agents_v1_agent_manager_proto_enumTypes,
		MessageInfos:      file_kodex_agents_v1_agent_manager_proto_msgTypes,
	}.Build()
	File_kodex_agents_v1_agent_manager_proto = out.File
	file_kodex_agents_v1_agent_manager_proto_goTypes = nil
	file_kodex_agents_v1_agent_manager_proto_depIdxs = nil
}
